Skip to content

Commit

Permalink
fix(Notification): refactor component, refactor Icon element (#650)
Browse files Browse the repository at this point in the history
* chore: add publish task

* chore: inline repo uri

* chore: try relative path

* chore: update file path

* chore: revert file uri

* chore: rename task

* chore: add input mapping for publish task

* chore: add git username and email before publish

* chore: use no-ci flag

* chore: add ssh key to publish step

* chore: add repo url

* chore: add env vars for semantic release

* chore: use the git release plugin instead of github

* chore: add semantic-release/git to dev deps

* chore: npm install so plugins get picked up

* chore: add scoped registry auth info

* chore(release): 1.0.0-beta.1 [skip ci]

# 1.0.0-beta.1 (2020-10-16)

### Bug Fixes

* font paths and loading styles ([#174](https://github.comcast.com/Lightning/lightning-ui/issues/174)) ([4c07733](https://github.comcast.com/Lightning/lightning-ui/commit/4c0773367be365d607f737541e0f9cbeeecb17d8))
* **Button:** properly render icon-only buttons ([#144](https://github.comcast.com/Lightning/lightning-ui/issues/144)) ([a6cc870](https://github.comcast.com/Lightning/lightning-ui/commit/a6cc870960bebd9fb514c60e8235bbaa43030338))
* **Button:** render issues when adding/removing icon ([#139](https://github.comcast.com/Lightning/lightning-ui/issues/139)) ([7842ebe](https://github.comcast.com/Lightning/lightning-ui/commit/7842ebe7991feb51c5913a5c82ba47bb5865e3f8))
* **Button:** updating properties when focused should not break ([#158](https://github.comcast.com/Lightning/lightning-ui/issues/158)) ([84b4887](https://github.comcast.com/Lightning/lightning-ui/commit/84b4887c9a2db2be2fde87006a0db358309120fb))
* **ListItem:** update all list item fonts to Brown ([#160](https://github.comcast.com/Lightning/lightning-ui/issues/160)) ([e1d7917](https://github.comcast.com/Lightning/lightning-ui/commit/e1d791704ebb65291619e29283e1bcc86537cc33))
* **Progress:** changing progress value transitions without a flash ([#163](https://github.comcast.com/Lightning/lightning-ui/issues/163)) ([dbf64ab](https://github.comcast.com/Lightning/lightning-ui/commit/dbf64abd52eb0c32081d0e7a93f392be2677d450))
* add _handleEnter to prototype of actionable components ([12909a5](https://github.comcast.com/Lightning/lightning-ui/commit/12909a51611d48dd6384032c9ef1c03a6b55c107))
* button title updates no longer rely on recursion ([#133](https://github.comcast.com/Lightning/lightning-ui/issues/133)) ([cc61a39](https://github.comcast.com/Lightning/lightning-ui/commit/cc61a390116de8c7bfbfd4e112921dddd451f715))
* cleanup props ([eb7c8c9](https://github.comcast.com/Lightning/lightning-ui/commit/eb7c8c9c5de023a841219baa75795b16f70f5d9c))
* clear canvas on navigation ([#57](https://github.comcast.com/Lightning/lightning-ui/issues/57)) ([45b655a](https://github.comcast.com/Lightning/lightning-ui/commit/45b655a1819c886e8c551ac4937c286c23ab09f1))
* column bugs [#22](https://github.comcast.com/Lightning/lightning-ui/issues/22) ([#91](https://github.comcast.com/Lightning/lightning-ui/issues/91)) ([bdfdc0d](https://github.comcast.com/Lightning/lightning-ui/commit/bdfdc0d9901d7708cc1f8860bb2563e14c4c99a7))
* inspector clearing ([#95](https://github.comcast.com/Lightning/lightning-ui/issues/95)) ([2f56a5a](https://github.comcast.com/Lightning/lightning-ui/commit/2f56a5acea96de6a46830b7a35f2c159a7aadec1))
* refactor Column plinko logic ([3c42c91](https://github.comcast.com/Lightning/lightning-ui/commit/3c42c911d91545375b61cdd81efc4036534b5500))
* stroke should not disappear on unfocus ([#152](https://github.comcast.com/Lightning/lightning-ui/issues/152)) ([8b587b5](https://github.comcast.com/Lightning/lightning-ui/commit/8b587b5dea031d4e4a0b6768cf3d8d5f9c2999c5))
* **ListItemImage:** icon flex positioning ([#134](https://github.comcast.com/Lightning/lightning-ui/issues/134)) ([943d86c](https://github.comcast.com/Lightning/lightning-ui/commit/943d86cca7d2f18908048fbacb75fe520d9931c0))
* **Tooltip:** add title getter ([#141](https://github.comcast.com/Lightning/lightning-ui/issues/141)) ([5870afc](https://github.comcast.com/Lightning/lightning-ui/commit/5870afc5321e79504878299477e99a5b0c78289d))
* maximum call stack when skipFocus=true ([#58](https://github.comcast.com/Lightning/lightning-ui/issues/58)) ([a4285fb](https://github.comcast.com/Lightning/lightning-ui/commit/a4285fb96ff07c41190fd949aadd714c79a3b579))
* patch on unfocus and default background for Pivot and ActionButton ([#112](https://github.comcast.com/Lightning/lightning-ui/issues/112)) ([4c4005c](https://github.comcast.com/Lightning/lightning-ui/commit/4c4005ccf52af64983da0b00bccfe0c1cbbeb1e8))
* pivot in row rendering ([37d556a](https://github.comcast.com/Lightning/lightning-ui/commit/37d556a21e4b3c6dbd1dd5bf90ed7318115e4b1e))
* random comp issues ([#82](https://github.comcast.com/Lightning/lightning-ui/issues/82)) ([2a65872](https://github.comcast.com/Lightning/lightning-ui/commit/2a658727428568382f6371216a09d38729c44d7b))
* remove $shiftRow ([2b03960](https://github.comcast.com/Lightning/lightning-ui/commit/2b03960abb7723b5c1fd55a650fe338254842494))
* remove flat - not supported wpe ([#119](https://github.comcast.com/Lightning/lightning-ui/issues/119)) ([0b88ca6](https://github.comcast.com/Lightning/lightning-ui/commit/0b88ca64137adc863edc5c444ad0c26a9f3e5217))
* try a different way of exporting styles ([#105](https://github.comcast.com/Lightning/lightning-ui/issues/105)) ([64d1e5c](https://github.comcast.com/Lightning/lightning-ui/commit/64d1e5c9b47c0fb0600eaf57548de74db2404bfc))
* **mixins:** add mixins to package files ([#100](https://github.comcast.com/Lightning/lightning-ui/issues/100)) ([b6268af](https://github.comcast.com/Lightning/lightning-ui/commit/b6268afd578e794ae7464550903d11895e2ab188))

### Features

* add announcer component ([#54](https://github.comcast.com/Lightning/lightning-ui/issues/54)) ([5512572](https://github.comcast.com/Lightning/lightning-ui/commit/551257245d71929f9105ebd6f44c9e589adf2958))
* add focus ring to tile ([#111](https://github.comcast.com/Lightning/lightning-ui/issues/111)) ([5226d6a](https://github.comcast.com/Lightning/lightning-ui/commit/5226d6a2c082a3db9c31f0ecb1a0aa5563738e61))
* add Icon component ([#88](https://github.comcast.com/Lightning/lightning-ui/issues/88)) ([ee1d2b4](https://github.comcast.com/Lightning/lightning-ui/commit/ee1d2b4ad0cf5fb4d4a43f1b82514cc8befe1166))
* add initial Input component ([#110](https://github.comcast.com/Lightning/lightning-ui/issues/110)) ([16ec461](https://github.comcast.com/Lightning/lightning-ui/commit/16ec461c5ece0e81a0b50e48f1d230d876dc159d))
* add label support to Buttons for announceContext ([#155](https://github.comcast.com/Lightning/lightning-ui/issues/155)) ([8f2e186](https://github.comcast.com/Lightning/lightning-ui/commit/8f2e18632619821b0b7ac1ed61f8cf34233afec6))
* add ListItemImage ([#71](https://github.comcast.com/Lightning/lightning-ui/issues/71)) ([0b7bfc6](https://github.comcast.com/Lightning/lightning-ui/commit/0b7bfc6e30e5f70d8857b9ff43ff5d3e355173ab))
* add ListItemToggle component ([#56](https://github.comcast.com/Lightning/lightning-ui/issues/56)) ([a9c9355](https://github.comcast.com/Lightning/lightning-ui/commit/a9c93558f235e105fd58083a488b16033357d560))
* add RoundRect utils ([34c94a9](https://github.comcast.com/Lightning/lightning-ui/commit/34c94a932ee49818ce21e4650af559e4eebe750c))
* add RoundRect utils ([dd4c2b6](https://github.comcast.com/Lightning/lightning-ui/commit/dd4c2b6cf995d2a12fc522f01191a7fce6a72744))
* add RoundRect utils ([4e30cb5](https://github.comcast.com/Lightning/lightning-ui/commit/4e30cb58a8027451aa9ef758544e2bfd43f3fd7e))
* add selection manager ([#180](https://github.comcast.com/Lightning/lightning-ui/issues/180)) ([4b89be4](https://github.comcast.com/Lightning/lightning-ui/commit/4b89be442b98f06c55cb1a00e1fdd44491056d3b))
* add Slider component ([#66](https://github.comcast.com/Lightning/lightning-ui/issues/66)) ([6c867f5](https://github.comcast.com/Lightning/lightning-ui/commit/6c867f5620cf4e0fc882350f33e520c95c66c467))
* add Tabs component ([#153](https://github.comcast.com/Lightning/lightning-ui/issues/153)) ([95a2e61](https://github.comcast.com/Lightning/lightning-ui/commit/95a2e6147e4c7d11e918a347d187e986988049c2))
* add tests for tile ([241db3b](https://github.comcast.com/Lightning/lightning-ui/commit/241db3bace593f34468bfbe51a43eb0494e41e15))
* add tile component ([e4cb8f0](https://github.comcast.com/Lightning/lightning-ui/commit/e4cb8f0072670f2e17b2dcfcebd406791b56077c))
* announce method ([#76](https://github.comcast.com/Lightning/lightning-ui/issues/76)) ([50fad06](https://github.comcast.com/Lightning/lightning-ui/commit/50fad06222915b683ee66771ee91eaec218f3b41))
* announcer with pause ([#108](https://github.comcast.com/Lightning/lightning-ui/issues/108)) ([1c015dd](https://github.comcast.com/Lightning/lightning-ui/commit/1c015ddca4a0f7798635104a56de8e10677c9c50))
* break out stroke attr into stroke, strokeColor and strokeWeight ([#149](https://github.comcast.com/Lightning/lightning-ui/issues/149)) ([8900640](https://github.comcast.com/Lightning/lightning-ui/commit/89006405bbb9f4ff34acb29feb4372a5e90c553a))
* export top-level components ([4fe45a8](https://github.comcast.com/Lightning/lightning-ui/commit/4fe45a82efb9420a0938a42bafab149a7293bda3))
* expose ListItem and ListItemToggle in index ([#59](https://github.comcast.com/Lightning/lightning-ui/issues/59)) ([1060e20](https://github.comcast.com/Lightning/lightning-ui/commit/1060e20d867b1a52a3c58c957dc2b160a9a69136))
* expose new components, rename Tooltip ([#92](https://github.comcast.com/Lightning/lightning-ui/issues/92)) ([1536ae3](https://github.comcast.com/Lightning/lightning-ui/commit/1536ae399b239b35019550ec52eaab85ca66b419))
* expose public-facing utils ([59fd02d](https://github.comcast.com/Lightning/lightning-ui/commit/59fd02d2f0528dbd05809e9e5af9786351363583))
* expose readied components ([#77](https://github.comcast.com/Lightning/lightning-ui/issues/77)) ([d8d2b13](https://github.comcast.com/Lightning/lightning-ui/commit/d8d2b133b9133b58d39f30fc7021450b5a11d7b4))
* replace properties for ListItem components, use withStyles ([#175](https://github.comcast.com/Lightning/lightning-ui/issues/175)) ([5526bfd](https://github.comcast.com/Lightning/lightning-ui/commit/5526bfd89d5dc2ff8dd50e678930c74bf6cb1310))
* **ListItemSlider:** add ListItemSlider component ([#114](https://github.comcast.com/Lightning/lightning-ui/issues/114)) ([7cb542c](https://github.comcast.com/Lightning/lightning-ui/commit/7cb542c3b9b0aad62bc1116fce158a570ee6edac))
* **Slider:** add setters and getters for properties ([#140](https://github.comcast.com/Lightning/lightning-ui/issues/140)) ([c7d0aad](https://github.comcast.com/Lightning/lightning-ui/commit/c7d0aadcd10496d6ac5065241d35b95c2cae1934))
* loading state, updated icons, updated docs ([f34d217](https://github.comcast.com/Lightning/lightning-ui/commit/f34d2179ada2c11521320e8e900668006d51a834))
* marquee text ([#121](https://github.comcast.com/Lightning/lightning-ui/issues/121)) ([2c94e58](https://github.comcast.com/Lightning/lightning-ui/commit/2c94e58ef32fc9cca77ebc85a5ccbfd784e93fe3))
* move ActionItemButton and dependencies from FUI ([6f4900c](https://github.comcast.com/Lightning/lightning-ui/commit/6f4900c2e29666cdf428df3de12b4660be67dd19))
* refactor ActionItemButton to ActionButton ([5503f59](https://github.comcast.com/Lightning/lightning-ui/commit/5503f594969323e9beb5c6ffadd6457da21d3aac))
* remove alpha on items ([f5f1aa6](https://github.comcast.com/Lightning/lightning-ui/commit/f5f1aa64a74f6e1d5122ce9b1c136a0221519f5d))
* remove updateItems ([ea3a250](https://github.comcast.com/Lightning/lightning-ui/commit/ea3a250899e8411576d8edcb7bdd0159effe5154))
* update ListItemBase.stories.js to be ignored in production builds ([365b6a6](https://github.comcast.com/Lightning/lightning-ui/commit/365b6a6c99202aec120201eb2120c3b2a83b5128))
* upgrade storybook 6 ([#84](https://github.comcast.com/Lightning/lightning-ui/issues/84)) ([5b50bb8](https://github.comcast.com/Lightning/lightning-ui/commit/5b50bb8ea37866419d720456b70813df976a09b9))
* use Icon component  as prop for buttons and list items ([#104](https://github.comcast.com/Lightning/lightning-ui/issues/104)) ([c2be75d](https://github.comcast.com/Lightning/lightning-ui/commit/c2be75dbb5df80051f2dd6ffcda789e1d17b8454))
* use onEnter for key handling ([#93](https://github.comcast.com/Lightning/lightning-ui/issues/93)) ([9da1283](https://github.comcast.com/Lightning/lightning-ui/commit/9da128398935f5cef92782ddde1a48587e583896))
* use withStyles for Button [ci skip] ([#96](https://github.comcast.com/Lightning/lightning-ui/issues/96)) ([f801cce](https://github.comcast.com/Lightning/lightning-ui/commit/f801ccea9982d36b0d35a0870d6f2a469aee0daa))
* **actionbuton:** add default height and width ([1fe33f4](https://github.comcast.com/Lightning/lightning-ui/commit/1fe33f42e0f7dd28f0cf15fb7fe6690953080be4))
* **createFonts:** add xfinity fonts and create fonts func ([#52](https://github.comcast.com/Lightning/lightning-ui/issues/52)) ([532aeff](https://github.comcast.com/Lightning/lightning-ui/commit/532aeff76e46d989b6dbdf9a6256c6c5007df8d1))
* **ListItem:** add initial ListItem component ([6015fae](https://github.comcast.com/Lightning/lightning-ui/commit/6015fae6936774d8a39d7188a9ae5c7d1ddf8676))
* **ListItem:** add initial ListItem component ([7c3e7af](https://github.comcast.com/Lightning/lightning-ui/commit/7c3e7afd599754b82bf503108850e3e819131e49))
* **ListItem:** support multiple icons ([#80](https://github.comcast.com/Lightning/lightning-ui/issues/80)) ([b6d5b28](https://github.comcast.com/Lightning/lightning-ui/commit/b6d5b28a5e58230abd6560847b4e0f5e84d4585a))
* **ListItemBase:** add ListItemBase component (wip) ([0135a2a](https://github.comcast.com/Lightning/lightning-ui/commit/0135a2a85e0a496b0335fafc0ec729a5dd2e2832))
* **ListItemBase:** add ListItemBase component (wip) ([2ac323b](https://github.comcast.com/Lightning/lightning-ui/commit/2ac323b699be96283b755336313e48aae37fd1ab))
* **pivot:** pivot component ([69da0f8](https://github.comcast.com/Lightning/lightning-ui/commit/69da0f8a21d2364c57e9d86378fa7e8072c88b8c))
* **Toggle:** add Toggle component ([b89ff04](https://github.comcast.com/Lightning/lightning-ui/commit/b89ff0405e79408738cdcc32f56f0c1e6c006bf2))

* chore: use correct vars for npm plugin

* docs: add fly CLI command

* chore(release): 1.0.0-beta.1 [skip ci]

# 1.0.0-beta.1 (2020-10-20)

### Bug Fixes

* **Button:** properly render icon-only buttons ([#144](https://github.comcast.com/Lightning/lightning-ui/issues/144)) ([a6cc870](https://github.comcast.com/Lightning/lightning-ui/commit/a6cc870960bebd9fb514c60e8235bbaa43030338))
* **Button:** render issues when adding/removing icon ([#139](https://github.comcast.com/Lightning/lightning-ui/issues/139)) ([7842ebe](https://github.comcast.com/Lightning/lightning-ui/commit/7842ebe7991feb51c5913a5c82ba47bb5865e3f8))
* **Button:** updating properties when focused should not break ([#158](https://github.comcast.com/Lightning/lightning-ui/issues/158)) ([84b4887](https://github.comcast.com/Lightning/lightning-ui/commit/84b4887c9a2db2be2fde87006a0db358309120fb))
* **ListItem:** update all list item fonts to Brown ([#160](https://github.comcast.com/Lightning/lightning-ui/issues/160)) ([e1d7917](https://github.comcast.com/Lightning/lightning-ui/commit/e1d791704ebb65291619e29283e1bcc86537cc33))
* **ListItemImage:** icon flex positioning ([#134](https://github.comcast.com/Lightning/lightning-ui/issues/134)) ([943d86c](https://github.comcast.com/Lightning/lightning-ui/commit/943d86cca7d2f18908048fbacb75fe520d9931c0))
* **mixins:** add mixins to package files ([#100](https://github.comcast.com/Lightning/lightning-ui/issues/100)) ([b6268af](https://github.comcast.com/Lightning/lightning-ui/commit/b6268afd578e794ae7464550903d11895e2ab188))
* **Progress:** changing progress value transitions without a flash ([#163](https://github.comcast.com/Lightning/lightning-ui/issues/163)) ([dbf64ab](https://github.comcast.com/Lightning/lightning-ui/commit/dbf64abd52eb0c32081d0e7a93f392be2677d450))
* **theme:** remove png from theme object ([#188](https://github.comcast.com/Lightning/lightning-ui/issues/188)) ([342cf20](https://github.comcast.com/Lightning/lightning-ui/commit/342cf20c3eff457a891a5c63d9142f00b45d7936))
* **Tile:** use jpg data URI instead of png for background ([#192](https://github.comcast.com/Lightning/lightning-ui/issues/192)) ([824f310](https://github.comcast.com/Lightning/lightning-ui/commit/824f31059d38e3753969b89356a3ea3ef7721426))
* add _handleEnter to prototype of actionable components ([12909a5](https://github.comcast.com/Lightning/lightning-ui/commit/12909a51611d48dd6384032c9ef1c03a6b55c107))
* button title updates no longer rely on recursion ([#133](https://github.comcast.com/Lightning/lightning-ui/issues/133)) ([cc61a39](https://github.comcast.com/Lightning/lightning-ui/commit/cc61a390116de8c7bfbfd4e112921dddd451f715))
* cleanup props ([eb7c8c9](https://github.comcast.com/Lightning/lightning-ui/commit/eb7c8c9c5de023a841219baa75795b16f70f5d9c))
* clear canvas on navigation ([#57](https://github.comcast.com/Lightning/lightning-ui/issues/57)) ([45b655a](https://github.comcast.com/Lightning/lightning-ui/commit/45b655a1819c886e8c551ac4937c286c23ab09f1))
* column bugs [#22](https://github.comcast.com/Lightning/lightning-ui/issues/22) ([#91](https://github.comcast.com/Lightning/lightning-ui/issues/91)) ([bdfdc0d](https://github.comcast.com/Lightning/lightning-ui/commit/bdfdc0d9901d7708cc1f8860bb2563e14c4c99a7))
* font paths and loading styles ([#174](https://github.comcast.com/Lightning/lightning-ui/issues/174)) ([4c07733](https://github.comcast.com/Lightning/lightning-ui/commit/4c0773367be365d607f737541e0f9cbeeecb17d8))
* inspector clearing ([#95](https://github.comcast.com/Lightning/lightning-ui/issues/95)) ([2f56a5a](https://github.comcast.com/Lightning/lightning-ui/commit/2f56a5acea96de6a46830b7a35f2c159a7aadec1))
* maximum call stack when skipFocus=true ([#58](https://github.comcast.com/Lightning/lightning-ui/issues/58)) ([a4285fb](https://github.comcast.com/Lightning/lightning-ui/commit/a4285fb96ff07c41190fd949aadd714c79a3b579))
* patch on unfocus and default background for Pivot and ActionButton ([#112](https://github.comcast.com/Lightning/lightning-ui/issues/112)) ([4c4005c](https://github.comcast.com/Lightning/lightning-ui/commit/4c4005ccf52af64983da0b00bccfe0c1cbbeb1e8))
* pivot in row rendering ([37d556a](https://github.comcast.com/Lightning/lightning-ui/commit/37d556a21e4b3c6dbd1dd5bf90ed7318115e4b1e))
* random comp issues ([#82](https://github.comcast.com/Lightning/lightning-ui/issues/82)) ([2a65872](https://github.comcast.com/Lightning/lightning-ui/commit/2a658727428568382f6371216a09d38729c44d7b))
* stroke should not disappear on unfocus ([#152](https://github.comcast.com/Lightning/lightning-ui/issues/152)) ([8b587b5](https://github.comcast.com/Lightning/lightning-ui/commit/8b587b5dea031d4e4a0b6768cf3d8d5f9c2999c5))
* **Tooltip:** add title getter ([#141](https://github.comcast.com/Lightning/lightning-ui/issues/141)) ([5870afc](https://github.comcast.com/Lightning/lightning-ui/commit/5870afc5321e79504878299477e99a5b0c78289d))
* refactor Column plinko logic ([3c42c91](https://github.comcast.com/Lightning/lightning-ui/commit/3c42c911d91545375b61cdd81efc4036534b5500))
* remove $shiftRow ([2b03960](https://github.comcast.com/Lightning/lightning-ui/commit/2b03960abb7723b5c1fd55a650fe338254842494))
* remove flat - not supported wpe ([#119](https://github.comcast.com/Lightning/lightning-ui/issues/119)) ([0b88ca6](https://github.comcast.com/Lightning/lightning-ui/commit/0b88ca64137adc863edc5c444ad0c26a9f3e5217))
* try a different way of exporting styles ([#105](https://github.comcast.com/Lightning/lightning-ui/issues/105)) ([64d1e5c](https://github.comcast.com/Lightning/lightning-ui/commit/64d1e5c9b47c0fb0600eaf57548de74db2404bfc))

### Features

* add announcer component ([#54](https://github.comcast.com/Lightning/lightning-ui/issues/54)) ([5512572](https://github.comcast.com/Lightning/lightning-ui/commit/551257245d71929f9105ebd6f44c9e589adf2958))
* add focus ring to tile ([#111](https://github.comcast.com/Lightning/lightning-ui/issues/111)) ([5226d6a](https://github.comcast.com/Lightning/lightning-ui/commit/5226d6a2c082a3db9c31f0ecb1a0aa5563738e61))
* add Icon component ([#88](https://github.comcast.com/Lightning/lightning-ui/issues/88)) ([ee1d2b4](https://github.comcast.com/Lightning/lightning-ui/commit/ee1d2b4ad0cf5fb4d4a43f1b82514cc8befe1166))
* add initial Input component ([#110](https://github.comcast.com/Lightning/lightning-ui/issues/110)) ([16ec461](https://github.comcast.com/Lightning/lightning-ui/commit/16ec461c5ece0e81a0b50e48f1d230d876dc159d))
* add label support to Buttons for announceContext ([#155](https://github.comcast.com/Lightning/lightning-ui/issues/155)) ([8f2e186](https://github.comcast.com/Lightning/lightning-ui/commit/8f2e18632619821b0b7ac1ed61f8cf34233afec6))
* add ListItemImage ([#71](https://github.comcast.com/Lightning/lightning-ui/issues/71)) ([0b7bfc6](https://github.comcast.com/Lightning/lightning-ui/commit/0b7bfc6e30e5f70d8857b9ff43ff5d3e355173ab))
* add ListItemToggle component ([#56](https://github.comcast.com/Lightning/lightning-ui/issues/56)) ([a9c9355](https://github.comcast.com/Lightning/lightning-ui/commit/a9c93558f235e105fd58083a488b16033357d560))
* add RoundRect utils ([34c94a9](https://github.comcast.com/Lightning/lightning-ui/commit/34c94a932ee49818ce21e4650af559e4eebe750c))
* add RoundRect utils ([dd4c2b6](https://github.comcast.com/Lightning/lightning-ui/commit/dd4c2b6cf995d2a12fc522f01191a7fce6a72744))
* add RoundRect utils ([4e30cb5](https://github.comcast.com/Lightning/lightning-ui/commit/4e30cb58a8027451aa9ef758544e2bfd43f3fd7e))
* add selection manager ([#180](https://github.comcast.com/Lightning/lightning-ui/issues/180)) ([4b89be4](https://github.comcast.com/Lightning/lightning-ui/commit/4b89be442b98f06c55cb1a00e1fdd44491056d3b))
* add Slider component ([#66](https://github.comcast.com/Lightning/lightning-ui/issues/66)) ([6c867f5](https://github.comcast.com/Lightning/lightning-ui/commit/6c867f5620cf4e0fc882350f33e520c95c66c467))
* add Tabs component ([#153](https://github.comcast.com/Lightning/lightning-ui/issues/153)) ([95a2e61](https://github.comcast.com/Lightning/lightning-ui/commit/95a2e6147e4c7d11e918a347d187e986988049c2))
* add tests for tile ([241db3b](https://github.comcast.com/Lightning/lightning-ui/commit/241db3bace593f34468bfbe51a43eb0494e41e15))
* add tile component ([e4cb8f0](https://github.comcast.com/Lightning/lightning-ui/commit/e4cb8f0072670f2e17b2dcfcebd406791b56077c))
* announce method ([#76](https://github.comcast.com/Lightning/lightning-ui/issues/76)) ([50fad06](https://github.comcast.com/Lightning/lightning-ui/commit/50fad06222915b683ee66771ee91eaec218f3b41))
* announcer with pause ([#108](https://github.comcast.com/Lightning/lightning-ui/issues/108)) ([1c015dd](https://github.comcast.com/Lightning/lightning-ui/commit/1c015ddca4a0f7798635104a56de8e10677c9c50))
* break out stroke attr into stroke, strokeColor and strokeWeight ([#149](https://github.comcast.com/Lightning/lightning-ui/issues/149)) ([8900640](https://github.comcast.com/Lightning/lightning-ui/commit/89006405bbb9f4ff34acb29feb4372a5e90c553a))
* export top-level components ([4fe45a8](https://github.comcast.com/Lightning/lightning-ui/commit/4fe45a82efb9420a0938a42bafab149a7293bda3))
* expose ListItem and ListItemToggle in index ([#59](https://github.comcast.com/Lightning/lightning-ui/issues/59)) ([1060e20](https://github.comcast.com/Lightning/lightning-ui/commit/1060e20d867b1a52a3c58c957dc2b160a9a69136))
* expose new components, rename Tooltip ([#92](https://github.comcast.com/Lightning/lightning-ui/issues/92)) ([1536ae3](https://github.comcast.com/Lightning/lightning-ui/commit/1536ae399b239b35019550ec52eaab85ca66b419))
* expose public-facing utils ([59fd02d](https://github.comcast.com/Lightning/lightning-ui/commit/59fd02d2f0528dbd05809e9e5af9786351363583))
* expose readied components ([#77](https://github.comcast.com/Lightning/lightning-ui/issues/77)) ([d8d2b13](https://github.comcast.com/Lightning/lightning-ui/commit/d8d2b133b9133b58d39f30fc7021450b5a11d7b4))
* replace properties for ListItem components, use withStyles ([#175](https://github.comcast.com/Lightning/lightning-ui/issues/175)) ([5526bfd](https://github.comcast.com/Lightning/lightning-ui/commit/5526bfd89d5dc2ff8dd50e678930c74bf6cb1310))
* **ListItemSlider:** add ListItemSlider component ([#114](https://github.comcast.com/Lightning/lightning-ui/issues/114)) ([7cb542c](https://github.comcast.com/Lightning/lightning-ui/commit/7cb542c3b9b0aad62bc1116fce158a570ee6edac))
* **Slider:** add setters and getters for properties ([#140](https://github.comcast.com/Lightning/lightning-ui/issues/140)) ([c7d0aad](https://github.comcast.com/Lightning/lightning-ui/commit/c7d0aadcd10496d6ac5065241d35b95c2cae1934))
* loading state, updated icons, updated docs ([f34d217](https://github.comcast.com/Lightning/lightning-ui/commit/f34d2179ada2c11521320e8e900668006d51a834))
* marquee text ([#121](https://github.comcast.com/Lightning/lightning-ui/issues/121)) ([2c94e58](https://github.comcast.com/Lightning/lightning-ui/commit/2c94e58ef32fc9cca77ebc85a5ccbfd784e93fe3))
* move ActionItemButton and dependencies from FUI ([6f4900c](https://github.comcast.com/Lightning/lightning-ui/commit/6f4900c2e29666cdf428df3de12b4660be67dd19))
* refactor ActionItemButton to ActionButton ([5503f59](https://github.comcast.com/Lightning/lightning-ui/commit/5503f594969323e9beb5c6ffadd6457da21d3aac))
* remove alpha on items ([f5f1aa6](https://github.comcast.com/Lightning/lightning-ui/commit/f5f1aa64a74f6e1d5122ce9b1c136a0221519f5d))
* remove updateItems ([ea3a250](https://github.comcast.com/Lightning/lightning-ui/commit/ea3a250899e8411576d8edcb7bdd0159effe5154))
* update ListItemBase.stories.js to be ignored in production builds ([365b6a6](https://github.comcast.com/Lightning/lightning-ui/commit/365b6a6c99202aec120201eb2120c3b2a83b5128))
* upgrade storybook 6 ([#84](https://github.comcast.com/Lightning/lightning-ui/issues/84)) ([5b50bb8](https://github.comcast.com/Lightning/lightning-ui/commit/5b50bb8ea37866419d720456b70813df976a09b9))
* use Icon component  as prop for buttons and list items ([#104](https://github.comcast.com/Lightning/lightning-ui/issues/104)) ([c2be75d](https://github.comcast.com/Lightning/lightning-ui/commit/c2be75dbb5df80051f2dd6ffcda789e1d17b8454))
* use onEnter for key handling ([#93](https://github.comcast.com/Lightning/lightning-ui/issues/93)) ([9da1283](https://github.comcast.com/Lightning/lightning-ui/commit/9da128398935f5cef92782ddde1a48587e583896))
* use withStyles for Button [ci skip] ([#96](https://github.comcast.com/Lightning/lightning-ui/issues/96)) ([f801cce](https://github.comcast.com/Lightning/lightning-ui/commit/f801ccea9982d36b0d35a0870d6f2a469aee0daa))
* **actionbuton:** add default height and width ([1fe33f4](https://github.comcast.com/Lightning/lightning-ui/commit/1fe33f42e0f7dd28f0cf15fb7fe6690953080be4))
* **createFonts:** add xfinity fonts and create fonts func ([#52](https://github.comcast.com/Lightning/lightning-ui/issues/52)) ([532aeff](https://github.comcast.com/Lightning/lightning-ui/commit/532aeff76e46d989b6dbdf9a6256c6c5007df8d1))
* **ListItem:** add initial ListItem component ([6015fae](https://github.comcast.com/Lightning/lightning-ui/commit/6015fae6936774d8a39d7188a9ae5c7d1ddf8676))
* **ListItem:** add initial ListItem component ([7c3e7af](https://github.comcast.com/Lightning/lightning-ui/commit/7c3e7afd599754b82bf503108850e3e819131e49))
* **ListItem:** support multiple icons ([#80](https://github.comcast.com/Lightning/lightning-ui/issues/80)) ([b6d5b28](https://github.comcast.com/Lightning/lightning-ui/commit/b6d5b28a5e58230abd6560847b4e0f5e84d4585a))
* **ListItemBase:** add ListItemBase component (wip) ([0135a2a](https://github.comcast.com/Lightning/lightning-ui/commit/0135a2a85e0a496b0335fafc0ec729a5dd2e2832))
* **ListItemBase:** add ListItemBase component (wip) ([2ac323b](https://github.comcast.com/Lightning/lightning-ui/commit/2ac323b699be96283b755336313e48aae37fd1ab))
* **pivot:** pivot component ([69da0f8](https://github.comcast.com/Lightning/lightning-ui/commit/69da0f8a21d2364c57e9d86378fa7e8072c88b8c))
* **Toggle:** add Toggle component ([b89ff04](https://github.comcast.com/Lightning/lightning-ui/commit/b89ff0405e79408738cdcc32f56f0c1e6c006bf2))

* chore: add always-auth to npmrc

* chore: use npm username

* feat: triggering a release hopefully

* chore(release): 1.0.0-beta.2 [skip ci]

# [1.0.0-beta.2](https://github.comcast.com/Lightning/lightning-ui/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2020-10-20)

### Features

* triggering a release hopefully ([42e60db](https://github.comcast.com/Lightning/lightning-ui/commit/42e60db21ccc2eb800adaeace44651faeeaeac38))

* fix(Notification): fix potential race condition in component

* Fix/lui 186 notification error (#646)

* test(card): add card tests (#564)

* test(card): add tests for cards

* test(card): update card snapshots

* test(card): remove unnecessary tests

* test(card): fix image use in tests

* fix(TextBox): resize when content updates (#568)

* chore(release): 4.9.0-develop.10 [skip ci]

# [4.9.0-develop.10](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.9...v4.9.0-develop.10) (2021-07-14)

### Bug Fixes

* **TextBox:** resize when content updates ([#568](https://github.comcast.com/Lightning/lightning-ui/issues/568)) ([873edef](https://github.comcast.com/Lightning/lightning-ui/commit/873edefd1605520cd601edf76d919463f6cdf24c))

* fix(Tile): dont use item x value for Gradient x

* chore(release): 4.9.0-develop.11 [skip ci]

# [4.9.0-develop.11](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.10...v4.9.0-develop.11) (2021-07-14)

### Bug Fixes

* **Tile:** dont use item x value for Gradient x ([31938d4](https://github.comcast.com/Lightning/lightning-ui/commit/31938d43484d7fbc39da3ffe86f1e47113fa6f5f))

* fix(Tile): focus ring dimensions and radius should update if tile does (#569)

* chore(release): 4.9.0-develop.12 [skip ci]

# [4.9.0-develop.12](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.11...v4.9.0-develop.12) (2021-07-15)

### Bug Fixes

* **Tile:** focus ring dimensions and radius should update if tile does ([#569](https://github.comcast.com/Lightning/lightning-ui/issues/569)) ([60eedce](https://github.comcast.com/Lightning/lightning-ui/commit/60eedce91a3c886f35544c0db7edb94059fd869b))

* feat(Card): add Program and Launchpad versions (#565)

* feat(ProgramCard): wip add program card pattern

* feat(ProgramCard): wip more progress

* feat(card): wip update width or height on collapse

* feat(ProgramCard): wip working on card sizing

* feat(Card): fix focus ring sizing issue

* feat(ProgramCard): round artwork corners on collapse

- imgRadius is now set as a number instead of an array
- imgRadius array is calculated internally by _getArtRadius()

* feat(Card): resolve collapsed metadata sizing issues

* feat(Card): complete collapse art/data implementation

* feat(Card): add launchpad card, finish program card

* feat(Card): add launchpad card story

* refactor(Card): split cards out to their own files and stories

* refactor(Card): rename BasicCard and HorizontalCard to CardBasic and CardHorizontal

* chore(BoardRow): remove unused imports, linting

* refactor(Card): rename VerticalCard to CardVertical

* refactor(Card): rename VerticalCardDynamic to CardVerticalDynamic

* refactor(Card): rename LaunchpadCard to CardLaunchpad

* refactor(Card): rename ProgramCard to CardProgram

* fix(Card): fix Card default export to work with unit tests

* fix(Card): fix cardbasic naming

* refactor(Card): cleanup imports and exports

* test(Card): add Program and Launchpad test coverage

* docs(Card): updates code sample, adds collapses to API table

* feat(Card): update tests to match new naming conventions

* feat(BoardRows): update card imports to match new naming conventions

* feat(Card): use collapse flag to track when to update fullW/H props

* feat(Card): fix metadata sizing

* feat(Card): stories - add argAction for focus control

* test(Card): update snapshot

* test(BoardRow): update snapshot

* feat(Card): clean up setCardDimensions

* Trigger Concourse

* chore(release): 4.9.0-develop.13 [skip ci]

# [4.9.0-develop.13](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.12...v4.9.0-develop.13) (2021-07-15)

### Features

* **Card:** add Program and Launchpad versions ([#565](https://github.comcast.com/Lightning/lightning-ui/issues/565)) ([7331ae9](https://github.comcast.com/Lightning/lightning-ui/commit/7331ae9f9c0c072573dc6fceaa1a31c2d0822e53))

* fix(focusManager): fix focus manager losing focus if first or last item has skipFocus (#571)

* fix(focusManager): fix focus manager losing focus if first or last item has skipFocus

* fix(focusManager): refactor select methods and add helper methods

* fix(focusManager): add parentheses

* fix(focusManager): add row and column story controls for wrapSelected

* fix(focusManager): add logic to show skipFocus elements at start and end of rows and columns

* fix(focusManager): break out ternaries

* fix(focusManager): switch to reducing items and break out ternaries

* fix(focusManager): refactor selectPrevious

* chore(release): 4.9.0-develop.14 [skip ci]

# [4.9.0-develop.14](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.13...v4.9.0-develop.14) (2021-07-19)

### Bug Fixes

* **focusManager:** fix focus manager losing focus if first or last item has skipFocus ([#571](https://github.comcast.com/Lightning/lightning-ui/issues/571)) ([cd50dec](https://github.comcast.com/Lightning/lightning-ui/commit/cd50dec88d8ede532607302f8204631ccd98d4c2))

* feat(notificationCollection): add notification collection (#570)

* feat(notificationCollection): add notification collection

* feat(notificationCollection): remove unnecessary style

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.9.0-develop.15 [skip ci]

# [4.9.0-develop.15](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.14...v4.9.0-develop.15) (2021-07-19)

### Features

* **notificationCollection:** add notification collection ([#570](https://github.comcast.com/Lightning/lightning-ui/issues/570)) ([6e7518e](https://github.comcast.com/Lightning/lightning-ui/commit/6e7518ef05eae41908913d9120a80807edd7d43c))

* refactor(BoardRows): boardRow cleanup, docs, & tests (#562)

* fix(BoardRow): update aspect ratio to align with other layout types

* fix(BoardRows): update tests and refactor

* fix(BoardRow): standard layout test

* fix(BoardRow): add hero layout test

* fix(BoardRow): refactor BoardRows to make code more readable

* fix(BoardRow): move getAspectRatioH / getAspectRatioH out of Base

* docs(BoardRow): add documentation

* refactor(BoardRows): update how layouts are organized

* fix(BoardRow): tile gradient, jest test config, tests

* test(BoardRow): add test for srcCallback

* docs(BoardRow): fix typos

* fix(BoardRow): code cleanup. Optimizations per feedback

* fix(BoardRow): change menuCard api. update tests. fix edge case in row

* fix(BoardRow): merge latest develop. Update tiles to use MetadataSmall

* feat(textures): add FadeShader to textures

* chore: remove old FadeShader from MarqueeText element

* feat(MetadataSmall): fade description text out before logo overlap

* docs(MetadataSmall): add story example of truncated text

* chore(MetadataSmall): clean up commented code

* feat(MetadataSmall): data truncate width now chages if logo is present

* docs(MetadataSmall): update story to show data trunaction

* docs(withMetadata): update inset metadata story to show truncating data

* feat(MetadataSmall): hide shader if shouldClipData becomes false

* test(MetadataSmall): add test coverage, update snapshot

* fix(withMetadata): remove unused import

* fix(MetadataSmall): wait for inline content to load before updating shader

* feat: wip getting metadata small and the board rows working

* fix: fix data and logo not rendering when logo is present

* fix: fix shader loading, dont destructure styles in updates

* feat(MetadataSmall): add height to styles, add logo dimension props, fix shader update issue

* fix(withMetadata): we no longer need to wait for finalH

* chore(withMetadata): code cleanup

* feat(MetadataSmall): pull in latest from wip branch

* fix(BoardRow): updates per PR feedback

* docs(BoardRow): update to match new menuCard properties

* fix(BoardRow): cleanup MenuCard code

* fix(BoardRow): remove actions object from menuCard

* test(BoardRow): update tests to match new menuCard props

Co-authored-by: Richards, David (Contractor) <David_Richards3@comcast.com>
Co-authored-by: Anthony <anthony.gallo@thinkcompany.com>

* refactor(Card): change Actions to CTAs (#576)

* refactor(Card): rename action to CTA (call to action)

* test(Card): update snapshots to match new param name

* fix(MetadataSmall): fix text spacing and alignment (#577)

* feat(MetadataSmall): update MetadataSmall text spacing and alignment

* docs(InlineContent): fix missing apostrophe in docs example

* feat(MetadataSmall): move title offset to styles

* fix(Metadata): add font spacing fix to Description

* Trigger Concourse

* test(Metadata): update snapshots

* Trigger Concourse

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* fix(Card): set exact logo height/width (#579)

* fix(Card): logo size refactor WIP

* fix(Card): if height or width is set to undefined, use last value

* fix(Card): switch to non-underscored value

* chore(release): 4.9.0-develop.16 [skip ci]

# [4.9.0-develop.16](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0-develop.15...v4.9.0-develop.16) (2021-07-21)

### Bug Fixes

* **Card:** set exact logo height/width ([#579](https://github.comcast.com/Lightning/lightning-ui/issues/579)) ([e511bde](https://github.comcast.com/Lightning/lightning-ui/commit/e511bde42c78b975babd7b5f767263f2c185f84a))
* **MetadataSmall:** fix text spacing and alignment ([#577](https://github.comcast.com/Lightning/lightning-ui/issues/577)) ([72cc343](https://github.comcast.com/Lightning/lightning-ui/commit/72cc343f2e1f29848f51c133a6cb8ef4e5ef79ba))

* docs(Metadata): updates metadata stories and docs (#580)

* chore(release): 4.9.0 [skip ci]

# [4.9.0](https://github.comcast.com/Lightning/lightning-ui/compare/v4.8.2...v4.9.0) (2021-07-21)

### Bug Fixes

* **BoardRow:** check for tile prototype, add support for gradientColor ([#550](https://github.comcast.com/Lightning/lightning-ui/issues/550)) ([9aa5abb](https://github.comcast.com/Lightning/lightning-ui/commit/9aa5abb173675e60a19dd19bdc5d4ede80fd91bf))
* **BoardRow:** render bug. ItemSpacing prop. Row lazyScroll update ([#542](https://github.comcast.com/Lightning/lightning-ui/issues/542)) ([027c930](https://github.comcast.com/Lightning/lightning-ui/commit/027c930c334a601f71a0181ddb870a66af8615a7))
* **BoardRow:** update aspect ratio to align with other layout types ([#544](https://github.comcast.com/Lightning/lightning-ui/issues/544)) ([3143bd6](https://github.comcast.com/Lightning/lightning-ui/commit/3143bd6154082aa080d52a3bf514a59c7d52065e))
* **BoardRow:** update BoardRows path ([c7f94b2](https://github.comcast.com/Lightning/lightning-ui/commit/c7f94b242f12edb01fd99a6e9dbfc7f52bb31eba))
* **Card:** correct card styles ([#541](https://github.comcast.com/Lightning/lightning-ui/issues/541)) ([7a64145](https://github.comcast.com/Lightning/lightning-ui/commit/7a64145518df844ee9d093a6266fff849fc079f1))
* **Card:** set exact logo height/width ([#579](https://github.comcast.com/Lightning/lightning-ui/issues/579)) ([e511bde](https://github.comcast.com/Lightning/lightning-ui/commit/e511bde42c78b975babd7b5f767263f2c185f84a))
* **Card:** styles ([#546](https://github.comcast.com/Lightning/lightning-ui/issues/546)) ([4ee3bfe](https://github.comcast.com/Lightning/lightning-ui/commit/4ee3bfe068804a33e2bbc06ced2dc7e05722d5fc))
* **Card:** update Card path ([377557d](https://github.comcast.com/Lightning/lightning-ui/commit/377557dcc006dda25da04606e01caf1ef0e79fa1))
* **Column:** remove itemsChangeable preventing column scrolling ([#557](https://github.comcast.com/Lightning/lightning-ui/issues/557)) ([b2743a6](https://github.comcast.com/Lightning/lightning-ui/commit/b2743a67c4a8db8a77bcdbaf222a61987781c21b))
* **focusManager:** fix focus manager losing focus if first or last item has skipFocus ([#571](https://github.comcast.com/Lightning/lightning-ui/issues/571)) ([cd50dec](https://github.comcast.com/Lightning/lightning-ui/commit/cd50dec88d8ede532607302f8204631ccd98d4c2))
* **FocusManager:** patch Items in template instead ([#467](https://github.comcast.com/Lightning/lightning-ui/issues/467)) ([06fa13f](https://github.comcast.com/Lightning/lightning-ui/commit/06fa13ff00cc7b8925d6b5234287a85c07da98da))
* **FocusScale:** if item is smaller than 260, gradually make focus scale amount smaller ([#547](https://github.comcast.com/Lightning/lightning-ui/issues/547)) ([3c847f4](https://github.comcast.com/Lightning/lightning-ui/commit/3c847f429019ed2eb1b5151d1d209ca0d4c9f228))
* **MetadataSmall:** fix text spacing and alignment ([#577](https://github.comcast.com/Lightning/lightning-ui/issues/577)) ([72cc343](https://github.comcast.com/Lightning/lightning-ui/commit/72cc343f2e1f29848f51c133a6cb8ef4e5ef79ba))
* **Stage:** set width and height to match precision scaling ([#543](https://github.comcast.com/Lightning/lightning-ui/issues/543)) ([6c25005](https://github.comcast.com/Lightning/lightning-ui/commit/6c2500549a15988f55c6afe3145bf02bb943d5ee))
* **Tabs:** allow all flexItem params for icon to be styled ([#563](https://github.comcast.com/Lightning/lightning-ui/issues/563)) ([569d7e5](https://github.comcast.com/Lightning/lightning-ui/commit/569d7e5d4376f98139092640ae170066db9c519a))
* **TextBox:** resize when content updates ([#568](https://github.comcast.com/Lightning/lightning-ui/issues/568)) ([873edef](https://github.comcast.com/Lightning/lightning-ui/commit/873edefd1605520cd601edf76d919463f6cdf24c))
* **tile:** hide gradient on unfocus ([#551](https://github.comcast.com/Lightning/lightning-ui/issues/551)) ([fba145d](https://github.comcast.com/Lightning/lightning-ui/commit/fba145d74a2c25ad1d2c26424bb916338a2c55dd))
* **Tile:** dont use item x value for Gradient x ([31938d4](https://github.comcast.com/Lightning/lightning-ui/commit/31938d43484d7fbc39da3ffe86f1e47113fa6f5f))
* **Tile:** focus ring dimensions and radius should update if tile does ([#569](https://github.comcast.com/Lightning/lightning-ui/issues/569)) ([60eedce](https://github.comcast.com/Lightning/lightning-ui/commit/60eedce91a3c886f35544c0db7edb94059fd869b))
* prevent Data and Action being rendered simultaneously  ([#556](https://github.comcast.com/Lightning/lightning-ui/issues/556)) ([7016b87](https://github.comcast.com/Lightning/lightning-ui/commit/7016b8724bbfd1949d72bd7427fc738cd7dadbcd))
* **Vibrant:** disable vibrant in base class ([#535](https://github.comcast.com/Lightning/lightning-ui/issues/535)) ([020b7e8](https://github.comcast.com/Lightning/lightning-ui/commit/020b7e82ba87762f9817fae97177608be9b3da24))
* **withAnnouncer:** signal announce ended after delay ([#536](https://github.comcast.com/Lightning/lightning-ui/issues/536)) ([d90fc2e](https://github.comcast.com/Lightning/lightning-ui/commit/d90fc2e76272e6dd8332377b3600c9b2fad97554))

### Features

* **BoardRows:** created new Metadata, Cards, and BoardRow patterns ([#533](https://github.comcast.com/Lightning/lightning-ui/issues/533)) ([5ca912a](https://github.comcast.com/Lightning/lightning-ui/commit/5ca912afaa942135781166184fbe9aa237f3de15)), closes [#522](https://github.comcast.com/Lightning/lightning-ui/issues/522) [#523](https://github.comcast.com/Lightning/lightning-ui/issues/523) [#529](https://github.comcast.com/Lightning/lightning-ui/issues/529) [#532](https://github.comcast.com/Lightning/lightning-ui/issues/532)
* **Card:** add Program and Launchpad versions ([#565](https://github.comcast.com/Lightning/lightning-ui/issues/565)) ([7331ae9](https://github.comcast.com/Lightning/lightning-ui/commit/7331ae9f9c0c072573dc6fceaa1a31c2d0822e53))
* **cardGradient:** add gradient to vertical card dynamic ([#548](https://github.comcast.com/Lightning/lightning-ui/issues/548)) ([9e1de07](https://github.comcast.com/Lightning/lightning-ui/commit/9e1de07324b42a51c2dac6a413cc277baa79c825))
* **gradient:** add gradient element ([#549](https://github.comcast.com/Lightning/lightning-ui/issues/549)) ([9782011](https://github.comcast.com/Lightning/lightning-ui/commit/9782011e7f9166b3bbad3dee5ecd8f5d37340d15))
* **InlineContent:** add newline property support ([#560](https://github.comcast.com/Lightning/lightning-ui/issues/560)) ([85be901](https://github.comcast.com/Lightning/lightning-ui/commit/85be901473083e9f5342b34b2a4f950e8c69c110))
* **notificationCollection:** add notification collection ([#570](https://github.comcast.com/Lightning/lightning-ui/issues/570)) ([6e7518e](https://github.comcast.com/Lightning/lightning-ui/commit/6e7518ef05eae41908913d9120a80807edd7d43c))

* refactor(Radio): extend base component. Move styles to own file (#578)

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* fix(SideKick): import lng and remove double type on texture (#584)

* fix(SideKick): import lng and remove double type on texture

* fix(SideKick): import lng in components with shaders

Co-authored-by: Richards, David (Contractor) <David_Richards3@comcast.com>

* chore(release): 4.9.1-develop.1 [skip ci]

## [4.9.1-develop.1](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0...v4.9.1-develop.1) (2021-07-23)

### Bug Fixes

* **SideKick:** import lng and remove double type on texture ([#584](https://github.comcast.com/Lightning/lightning-ui/issues/584)) ([9b4b47d](https://github.comcast.com/Lightning/lightning-ui/commit/9b4b47d754a133e9c98902205de60ad1993d5a66))

* fix(bashScripts): add directory to story title (#586)

* chore(release): 4.9.1-develop.2 [skip ci]

## [4.9.1-develop.2](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.1-develop.1...v4.9.1-develop.2) (2021-07-27)

### Bug Fixes

* **bashScripts:** add directory to story title ([#586](https://github.comcast.com/Lightning/lightning-ui/issues/586)) ([139c8fe](https://github.comcast.com/Lightning/lightning-ui/commit/139c8fec8f17e2b26d564fad6295c38112259adb))

* refactor(ScrollWrapper): refactor to extend off of Base and pull out styles (#581)

* refactor(scrollWrapper): refactor ScrolLWrapper to extend Base and pull out styles

* refactor(scrollWrapper): remove scrollStep setter and showScrollBar prop

* refactor(scrollWrapper): fix tests

* refactor(scrollWrapper): update Column snapshot

* test(ScrollWrapper): update Column snapshot

* refactor(scrollWrapper): fix setters for props

* Trigger Concourse

Co-authored-by: eraute200 <emily_rautenberg@comcast.com>

* refactor(ProgressBar): refactor to extend off of Base and pull out styles (#582)

* refactor(progressBar): refactor to extend off of base and pull out styles

* refactor(progressBar): update tests

* refactor(progressBar): add setters and update tests

* test(ProgressBar): update Column snapshot

* refactor(progressBar): fix color setters

* test(progressBar): update column snapshot

Co-authored-by: eraute200 <emily_rautenberg@comcast.com>

* feat(withHandleKey): handle key release support (#583)

* feat(withHandleKey): add keyRelease support

* feat(withHandleKey): need to return true or false, not just undefined from handle functions

* test: update snapshots

Co-authored-by: eraute200 <emily_rautenberg@comcast.com>
Co-authored-by: Richards, David (Contractor) <David_Richards3@comcast.com>

* feat(Tag): create tag element (#585)

* feat(tag): add tag element

* feat(tag): add minimum width

* feat(tag): pull padding into styles

* feat(tag): add color setters and tag tests

* test(tag): update text color patching and snapshot

* docs(tag): add docs

* test(tag): update snapshot

* feat(tag): update styles to use theme spacing

* feat(tag): add fallback background color

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.10.0-develop.1 [skip ci]

# [4.10.0-develop.1](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.1-develop.2...v4.10.0-develop.1) (2021-07-27)

### Features

* **Tag:** create tag element ([#585](https://github.comcast.com/Lightning/lightning-ui/issues/585)) ([7e96e02](https://github.comcast.com/Lightning/lightning-ui/commit/7e96e0232ff8c48636acfa750565472530724d77))
* **withHandleKey:** handle key release support ([#583](https://github.comcast.com/Lightning/lightning-ui/issues/583)) ([1eb5a1f](https://github.comcast.com/Lightning/lightning-ui/commit/1eb5a1f79b7658455a0ea3524cd3dbad53859f7a))

* refactor(Exports): add util and textures exports (#588)

* refactor(LUI-157): add util and textures exports

* refactor(LUI-357): remove yarn.lock

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* style(Key): increase keyboard key font size (#589)

* style(Key): increase keyboard key font size

* Trigger Concourse

* feat(announcer): timeout config (#590)

* feat(announcer): ability to pass voice out delay options to announcer

* docs(announcer): fix typo

* Trigger Concourse

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.10.0-develop.2 [skip ci]

# [4.10.0-develop.2](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0-develop.1...v4.10.0-develop.2) (2021-07-27)

### Features

* **announcer:** timeout config ([#590](https://github.comcast.com/Lightning/lightning-ui/issues/590)) ([dcabec0](https://github.comcast.com/Lightning/lightning-ui/commit/dcabec0d80ac9afdbec68527ef5426c268e57be9))

* feat(IndicatorCollection): add indicator collection (#591)

* feat(indicatorCollection): add indicator collection

* feat(indicatorCollecttion): add badge icons

* feat(indicatorCollection): add tag elements

* docs(indicators): add docs

* feat(indicatorCollection): switch tag colors to use theme

* test(IndicatorsCollection): update column snapshot

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.10.0-develop.3 [skip ci]

# [4.10.0-develop.3](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0-develop.2...v4.10.0-develop.3) (2021-07-27)

### Features

* **IndicatorCollection:** add indicator collection ([#591](https://github.comcast.com/Lightning/lightning-ui/issues/591)) ([d30c557](https://github.comcast.com/Lightning/lightning-ui/commit/d30c557789d833292de10722201ec716dcd7557b))

* fix(Notification): notification wrap next line (#587)

* fix(Notification): add Base class. refactor to support multiline title

* fix(Notification): update animation. center title if no description

* fix(Notification): refactor animation code to be more readable

* fix(Notification): update to match design  specifications. Fix tests

* fix(Notification): set default icon. Update story

* fix(Notification): fix icon when updated to undefined. Fix tests

* fix(Notification): add lng import and remove double line

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.10.0-develop.4 [skip ci]

# [4.10.0-develop.4](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0-develop.3...v4.10.0-develop.4) (2021-07-27)

### Bug Fixes

* **Notification:** notification wrap next line ([#587](https://github.comcast.com/Lightning/lightning-ui/issues/587)) ([766931b](https://github.comcast.com/Lightning/lightning-ui/commit/766931b41d1acc24561d0feeabc24b26e5da49c7))

* fix(Notification): default image needed to be properly bundled (#593)

* chore(release): 4.10.0-develop.5 [skip ci]

# [4.10.0-develop.5](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0-develop.4...v4.10.0-develop.5) (2021-07-28)

### Bug Fixes

* **Notification:** default image needed to be properly bundled ([#593](https://github.comcast.com/Lightning/lightning-ui/issues/593)) ([3f8b87b](https://github.comcast.com/Lightning/lightning-ui/commit/3f8b87b2b2d6fd2eac5e00a25d00fb3b4f6dc348))

* fix(Notification): export base 64 fallback image (#594)

* fix(Notification): add base64 image of notification default icon

* fix(Notification): add data:image prefix to base64 text

* Trigger Concourse

* Trigger Concourse

* test: update Column snapshot

* chore(release): 4.10.0-develop.6 [skip ci]

# [4.10.0-develop.6](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0-develop.5...v4.10.0-develop.6) (2021-07-28)

### Bug Fixes

* **Notification:** export base 64 fallback image ([#594](https://github.comcast.com/Lightning/lightning-ui/issues/594)) ([1f9b3a5](https://github.comcast.com/Lightning/lightning-ui/commit/1f9b3a57b1b799d9e358d70b3fb77073b2318f3b))

* fix(Column): fix race condition in column snapshot test (#595)

* fix(Column): fix race condition in column snapshot test

* fix(Column): remove only from test

* chore(release): 4.10.0-develop.7 [skip ci]

# [4.10.0-develop.7](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0-develop.6...v4.10.0-develop.7) (2021-07-29)

### Bug Fixes

* **Column:** fix race condition in column snapshot test ([#595](https://github.comcast.com/Lightning/lightning-ui/issues/595)) ([e15b11c](https://github.comcast.com/Lightning/lightning-ui/commit/e15b11c0f470f1448b251fef59906f8114ee7306))

* chore: pipeline remove deprecated tags (#601)

* chore: pipeline remove deprecated tags

* Trigger Concourse

Co-authored-by: Anthony <anthony.gallo@thinkcompany.com>
Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.10.0 [skip ci]

# [4.10.0](https://github.comcast.com/Lightning/lightning-ui/compare/v4.9.0...v4.10.0) (2021-07-29)

### Bug Fixes

* **bashScripts:** add directory to story title ([#586](https://github.comcast.com/Lightning/lightning-ui/issues/586)) ([139c8fe](https://github.comcast.com/Lightning/lightning-ui/commit/139c8fec8f17e2b26d564fad6295c38112259adb))
* **Column:** fix race condition in column snapshot test ([#595](https://github.comcast.com/Lightning/lightning-ui/issues/595)) ([e15b11c](https://github.comcast.com/Lightning/lightning-ui/commit/e15b11c0f470f1448b251fef59906f8114ee7306))
* **Notification:** default image needed to be properly bundled ([#593](https://github.comcast.com/Lightning/lightning-ui/issues/593)) ([3f8b87b](https://github.comcast.com/Lightning/lightning-ui/commit/3f8b87b2b2d6fd2eac5e00a25d00fb3b4f6dc348))
* **Notification:** export base 64 fallback image ([#594](https://github.comcast.com/Lightning/lightning-ui/issues/594)) ([1f9b3a5](https://github.comcast.com/Lightning/lightning-ui/commit/1f9b3a57b1b799d9e358d70b3fb77073b2318f3b))
* **Notification:** notification wrap next line ([#587](https://github.comcast.com/Lightning/lightning-ui/issues/587)) ([766931b](https://github.comcast.com/Lightning/lightning-ui/commit/766931b41d1acc24561d0feeabc24b26e5da49c7))
* **SideKick:** import lng and remove double type on texture ([#584](https://github.comcast.com/Lightning/lightning-ui/issues/584)) ([9b4b47d](https://github.comcast.com/Lightning/lightning-ui/commit/9b4b47d754a133e9c98902205de60ad1993d5a66))

### Features

* **announcer:** timeout config ([#590](https://github.comcast.com/Lightning/lightning-ui/issues/590)) ([dcabec0](https://github.comcast.com/Lightning/lightning-ui/commit/dcabec0d80ac9afdbec68527ef5426c268e57be9))
* **IndicatorCollection:** add indicator collection ([#591](https://github.comcast.com/Lightning/lightning-ui/issues/591)) ([d30c557](https://github.comcast.com/Lightning/lightning-ui/commit/d30c557789d833292de10722201ec716dcd7557b))
* **Tag:** create tag element ([#585](https://github.comcast.com/Lightning/lightning-ui/issues/585)) ([7e96e02](https://github.comcast.com/Lightning/lightning-ui/commit/7e96e0232ff8c48636acfa750565472530724d77))
* **withHandleKey:** handle key release support ([#583](https://github.comcast.com/Lightning/lightning-ui/issues/583)) ([1eb5a1f](https://github.comcast.com/Lightning/lightning-ui/commit/1eb5a1f79b7658455a0ea3524cd3dbad53859f7a))

* refactor(Badge): refactor to extend Base (#599)

* refactor(Checkbox): refactor to extend Base and pull out styles (#600)

* refactor(Slider): refactor to extend Base and add styles (#598)

* refactor(Slider): refactor to extend Base

* refactor(Slider): set up styles

* test(Slider): update snapshots

* refactor(InlineContent): refactor to extend off of Base and pull out styles (#592)

* refactor(InlineContent): extend Base component and use withUpdates

* refactor(inlineContent): pull out styles

* test(inlineContent): update tests

* test(InlineContent): update MetadataCard and MetadataTile tests to pass after InlineContent refactor

Co-authored-by: eraute200 <emily_rautenberg@comcast.com>

* fix(Info): add default anounce override (#610)

* fix(Info): add default anounce override

* fix(Info): fix docs

* chore(release): 4.10.1-develop.1 [skip ci]

## [4.10.1-develop.1](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0...v4.10.1-develop.1) (2021-08-04)

### Bug Fixes

* **Info:** add default anounce override ([#610](https://github.comcast.com/Lightning/lightning-ui/issues/610)) ([23898be](https://github.comcast.com/Lightning/lightning-ui/commit/23898bee6ce32df9f24912da597c59e834c7d030))

* fix(Husky): never throw an error on footer-max-line-length (#603)

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>
Co-authored-by: Anthony <anthony.gallo@thinkcompany.com>

* chore(release): 4.10.1-develop.2 [skip ci]

## [4.10.1-develop.2](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.1-develop.1...v4.10.1-develop.2) (2021-08-04)

### Bug Fixes

* **Husky:** never throw an error on footer-max-line-length ([#603](https://github.comcast.com/Lightning/lightning-ui/issues/603)) ([20b2e0d](https://github.comcast.com/Lightning/lightning-ui/commit/20b2e0d869ad3db9b2cdde1643e438df46749e38))

* Trigger Concourse

* chore(release): 4.10.1 [skip ci]

## [4.10.1](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.0...v4.10.1) (2021-08-04)

### Bug Fixes

* **Husky:** never throw an error on footer-max-line-length ([#603](https://github.comcast.com/Lightning/lightning-ui/issues/603)) ([20b2e0d](https://github.comcast.com/Lightning/lightning-ui/commit/20b2e0d869ad3db9b2cdde1643e438df46749e38))
* **Info:** add default anounce override ([#610](https://github.comcast.com/Lightning/lightning-ui/issues/610)) ([23898be](https://github.comcast.com/Lightning/lightning-ui/commit/23898bee6ce32df9f24912da597c59e834c7d030))

* feat(CardHero): create new CardHero and MetadataHero

* feat(LUI-153): add cardHero metadataHero

* fix(): npm audit

* feat(LUI-153): add cardHero metadataHero

* fix(): fix package-lock other fixes

* fix(heroCard): clean up CardHero import and setup

* fix(CardHero): general updates and fixes

* fix(MetadataHero): refactor styles and template

* fix(MetaDataHero): update snapshot

* fix(MetadataHero): refactor and cleanup

* fix(Card): remove metadata from styles

* fix(Card): push for tests

Co-authored-by: Richards, David (Contractor) <David_Richards3@comcast.com>

* chore(release): 4.11.0-develop.1 [skip ci]

# [4.11.0-develop.1](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.1...v4.11.0-develop.1) (2021-08-06)

### Features

* **CardHero:** create new CardHero and MetadataHero ([02fe09c](https://github.comcast.com/Lightning/lightning-ui/commit/02fe09c4f473c2c81a3e67b84a29e3d3be910b11))

* build: trigger concourse

* chore(release): 4.11.0 [skip ci]

# [4.11.0](https://github.comcast.com/Lightning/lightning-ui/compare/v4.10.1...v4.11.0) (2021-08-06)

### Features

* **CardHero:** create new CardHero and MetadataHero ([02fe09c](https://github.comcast.com/Lightning/lightning-ui/commit/02fe09c4f473c2c81a3e67b84a29e3d3be910b11))

* fix(ci): disable footer-max-line-length. Force release branch env var (#615)

* chore(release): 4.11.0-develop.2 [skip ci]

# [4.11.0-develop.2](https://github.comcast.com/Lightning/lightning-ui/compare/v4.11.0-develop.1...v4.11.0-develop.2) (2021-08-09)

### Bug Fixes

* **ci:** disable footer-max-line-length. Force release branch env var ([#615](https://github.comcast.com/Lightning/lightning-ui/issues/615)) ([da82d3e](https://github.comcast.com/Lightning/lightning-ui/commit/da82d3e5627d6bf97272cacdb693958b06fe2361))

* chore(release): 4.11.1 [skip ci]

## [4.11.1](https://github.comcast.com/Lightning/lightning-ui/compare/v4.11.0...v4.11.1) (2021-08-09)

### Bug Fixes

* **ci:** disable footer-max-line-length. Force release branch env var ([#615](https://github.comcast.com/Lightning/lightning-ui/issues/615)) ([da82d3e](https://github.comcast.com/Lightning/lightning-ui/commit/da82d3e5627d6bf97272cacdb693958b06fe2361))

* chore: back merge release into develop (#616)

* chore: back merge release into develop

* Trigger Concourse

* Trigger Concourse

* Trigger Concourse

* fix(withAnnouncer): timeoutDelay should be length times param or set value (#617)

Co-authored-by: Gallo, Anthony (Business Partner) <anthony.gallo@thinkcompany.com>

* chore(release): 4.11.0-develop.3 [skip ci]

# [4.11.0-develop.3](https://github.comcast.com/Lightning/lightning-ui/compare/v4.11.0-develop.2...v4.11.0-develop.3) (2021-08-10)

### Bug Fixes

* **withAnnouncer:** timeoutDelay should be length times param or set value ([#617](https://github.comcast.com/Lightning/lightning-ui/issues/617)) ([4355235](https://github.comcast.com/Lightning/lightning-ui/commit/435523556098aabcc3545af8909123f7a91ab6ad))

* fix(Notification): smooth out animations (#607)

Co-authored-by: Simek, Chelsea <Chelsea_Simek@comcast.com>
Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.11.0-develop.4 [skip ci]

# [4.11.0-develop.4](https://github.comcast.com/Lightning/lightning-ui/compare/v4.11.0-develop.3...v4.11.0-develop.4) (2021-08-10)

### Bug Fixes

* **Notification:** smooth out animations ([#607](https://github.comcast.com/Lightning/lightning-ui/issues/607)) ([2d888b9](https://github.comcast.com/Lightning/lightning-ui/commit/2d888b9d64ee41566d80fda65e2c837f24f9d6f6))

* refactor(Toggle): refactor to extend off of Base and pull out styles (#597)

* refactor(Toggle): refactor to extend off of Base and pull out styles

* fix(Toggle): fix typo

* fix(Toggle): fix typo

Co-authored-by: Simek, Chelsea <Chelsea_Simek@comcast.com>
Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(CI): restore beta and next pipelines (#611)

* feat(ci): add beta pipeline config

* feat(ci): restore beta prerelease, remove main

Co-authored-by: Rautenberg, Emily <Emily_Rautenberg@comcast.com>

* chore(release): 4.11.2 [skip ci]

## [4.11.2](https://github.comcast.com/Lightning/lightning-ui/compare/v4.11.1...v4.11.2) (2021-08-11)

### Bug Fixes

* **Notification:** smooth out animations ([#607](https://github.comcast.com/Lightning/lightning-ui/issues/607)) ([2d888b9](https://github.comcast.com/Lightning/lightning-ui/commit/2d888b9d64ee41566d80fda65e2c837f24f9d6f6))
* **withAnnouncer:** timeoutDelay should be length times param or set value ([#617](https://github.comcast.com/Lightning/lightning-ui/issues/617)) ([4355235](https://github.comcast.com/Lightning/lightning-ui/commit/435523556098aabcc3545af8909123f7a91ab6ad))

* feat(MetadataSmall): add inset metadata animation (#608)

* feat(withMetadata): wip add inset metadata animation

* feat(withMetadata): clean up positioning methods

* feat(withMetadata): prefer getters/setters when available

* feat(withMetadata): prevent inset metadata animation from escaping tile bounds

* fix(MetadataSmall): persistent inset metadata now has proper size and position

* fix(withBadgeProgress): fix progress bar positioning on focus

* feat(withMetadata): simplify y positioning logic

* feat(MetadataSmall): add clip container for animations

* feat(MetadataSmall): wait for first inline content load before running initial update

* fix(MetadataSmall): fix logo positioning

* feat(MetadataSmall): fix issue with shifting logo

* feat(MetadataSmall): only clip vertically

* test(Meta…
  • Loading branch information
10 people authored and GitHub Enterprise committed Sep 3, 2021
1 parent 26c3876 commit 65b8403
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 72 deletions.
44 changes: 44 additions & 0 deletions assets/images/success.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 17 additions & 13 deletions elements/Icon/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import lng from '@lightningjs/core';

export default class Icon extends lng.Component {
import Base from '../Base';
export default class Icon extends Base {
static _template() {
return {
color: 0xffffffff,
Expand All @@ -9,25 +10,28 @@ export default class Icon extends lng.Component {
};
}

get icon() {
return this._icon;
static get properties() {
return ['icon'];
}

set icon(icon) {
if (!icon) {
this.texture = undefined;
return;
}
this._icon = icon;
this._update();
_init() {
this.on('txError', this._handleTxtError.bind(this));
}

_init() {
this.on('txError', () => (this.icon = null));
this._update();
_detach() {
this.off('txError', this._handleTxtError.bind(this));
}

_handleTxtError(error) {
this._icon = null;
this.texture = null;
}

_update() {
if (!this._icon) {
this.texture = null;
return;
}
const { icon, w, h } = this;
const template = getIconTemplate(icon, w, h);
this.patch(template);
Expand Down
30 changes: 0 additions & 30 deletions elements/Tabs/__snapshots__/Tabs.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -171,9 +168,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -967,9 +961,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -1129,9 +1120,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -1415,9 +1403,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -1577,9 +1562,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -1858,9 +1840,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -2020,9 +1999,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -2301,9 +2277,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down Expand Up @@ -2463,9 +2436,6 @@ Object {
"tags": Array [
"Icon",
],
"texture": Object {
"type": "ImageTexture",
},
"type": "Icon",
"visible": true,
"w": 0,
Expand Down
14 changes: 13 additions & 1 deletion patterns/Notification/Notification.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import lng from '@lightningjs/core';
import Notification from '.';
import icon from '../../assets/images/ic_lightning_white_32.png';
import mdx from './Notification.mdx';

import iconSvg from '../../assets/images/success.svg';
export default {
title: 'Patterns/Notification',
parameters: {
Expand All @@ -19,6 +19,7 @@ export const Basic = args =>
return {
Notification: {
type: Notification,
icon: iconSvg,
title:
'Notification: Lorem ipsum dolor sit amet, consectetur adipiscing elit',
description:
Expand All @@ -27,6 +28,9 @@ export const Basic = args =>
text:
'Action Area: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt',
icon
},
onEnter() {
this.dismiss();
}
}
};
Expand All @@ -38,6 +42,14 @@ export const Basic = args =>
}, 1e3);
}

$notificationEntered() {
console.log('Notification entered');
}

$notificationDismissed() {
console.log('Notification dismissed');
}

_getFocused() {
return this.tag('Notification');
}
Expand Down
Loading

0 comments on commit 65b8403

Please sign in to comment.