Giter Club home page Giter Club logo

icons's People

Contributors

amauryperez avatar apalaniuk avatar awikkerink avatar capajon avatar catwomey avatar chriskraljevicd2l avatar dbatiste avatar dlockhart avatar grant-cleary avatar ianmclean2011 avatar jlai-d2l avatar kieranderson avatar margaree avatar mdgbayly avatar mdulat avatar njostonehouse avatar omsmith avatar rcausey avatar rowansilver avatar ryantmer avatar rylan avatar sarahbracewell avatar stevenao avatar surekh avatar svanherk avatar technizor avatar tinglisd2l avatar trevorjonesd2l avatar tylergee avatar wongvincent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

icons's Issues

Create d2l-icon-button and d2l-icon-link

There has been a growing use of d2l-image-action without text to have an "icon-button". So, create a WC for this purpose, so there isn't any difficulty with or text that doesn't need to be displayed.

Only build PRs once

Both push/pr builds are being run for PR commits. This can make the tests run longer, since SauceLabs only allows 6 concurrent sessions, so one build is blocked when the other runs.

Solution: Either turn off PR builds, or push builds.
https://travis-ci.org/BrightspaceUI/icons/settings

Alternatively, only open PRs from forks. (Currently, forked PR builds won't work because the SAUCE_USERNAME is encrypted)

Add offscreen-description?

Often we'll want a screen-reader friendly description to go along with an icon.

For example recently I was using the dot icon in the recent grades widget to indicate if a grade item is new or not. I created a sibling d2l-offscreen element to d2l-icon with shows/hide logic that matches the d2l-icon. It is fine, but it would have been nicer to do something like <d2l-icon offscreen-text="New item" ... >. Beyond being simpler as a consumer, in this case I actually also want the off screen text and icon to be tightly coupled.

I'm happy to add this and will do so, but I wanted to confirm if this is a good thing to add or not before doing the work (which is not a lot of course).

let size be customizable

Currently the size of the icon is based off the d2l tiers, and it will default to 18px otherwise. But sometimes a custom icon needs to be used or a different size for the D2L icons is needed.

Question: Should d2l-icon-button support aria-label attribute on the nested button?

Looking to upgrade some of our components to v4 of d2l-icons, specifically for d2l-icon-button.

We currently set an aria-label on our v3 d2l-icon-buttons. When I upgrade to v4 we no longer get a announcements in NVDA for these labels.

It looks like d2l-icon-button sets a title attribute on the nested button but this is not exposed as a property and I don't think it is used by screen readers anyway.

Let me know if we should allow and aria-label attribute to be passed through to the nested button and if so I'll create a PR.

Remove "grabber" icons

The grabber and grabber-small tier-1 icons have been replaced by dragger. We should remove the old ones in the next major release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.