@cloudflare/style-container
Advanced tools
Comparing version 1.1.1 to 2.0.0
200
CHANGELOG.md
@@ -6,2 +6,18 @@ # Change Log | ||
<a name="2.0.0"></a> | ||
# [2.0.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@1.1.1...@cloudflare/style-container@2.0.0) (2018-06-21) | ||
### Features | ||
* **component-text:** UI-634: apply design system to component-text ([8d549df](http://stash.cfops.it:7999/fe/stratus/commits/8d549df)) | ||
### BREAKING CHANGES | ||
* **component-text:** removed TextTheme and TextUnstyled | ||
<a name="1.1.1"></a> | ||
@@ -15,3 +31,3 @@ ## [1.1.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@1.1.0...@cloudflare/style-container@1.1.1) (2018-06-14) | ||
<a name="1.1.0"></a> | ||
<a name="1.1.0"></a> | ||
# [1.1.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@1.0.11...@cloudflare/style-container@1.1.0) (2018-06-08) | ||
@@ -32,3 +48,3 @@ | ||
<a name="1.0.11"></a> | ||
<a name="1.0.11"></a> | ||
@@ -39,3 +55,3 @@ ## [1.0.11](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@1.0.8...@cloudflare/style-container@1.0.11) (2018-06-07) | ||
<a name="1.0.10"></a> | ||
<a name="1.0.10"></a> | ||
## [1.0.10](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@1.0.8...@cloudflare/style-container@1.0.10) (2018-06-07) | ||
@@ -49,3 +65,3 @@ | ||
<a name="1.0.8"></a> | ||
<a name="1.0.8"></a> | ||
## [1.0.8](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@1.0.6...@cloudflare/style-container@1.0.8) (2018-06-07) | ||
@@ -58,6 +74,6 @@ | ||
* UI-836 fix babelrc and republish all packages | ||
([ee0c90d](http://stash.cfops.it:7999/fe/stratus/commits/ee0c90d)) | ||
([ee0c90d](http://stash.cfops.it:7999/fe/stratus/commits/ee0c90d)) | ||
<a name="1.0.6"></a> | ||
<a name="1.0.6"></a> | ||
## [1.0.6](http://stash.cfops.it:7999/www/cf-ux/compare/@cloudflare/style-container@1.0.5...@cloudflare/style-container@1.0.6) (2018-05-25) | ||
@@ -70,6 +86,6 @@ | ||
* **style-container:** UI-771 Make selector-only rules work | ||
([504e0c3](http://stash.cfops.it:7999/www/cf-ux/commits/504e0c3)) | ||
([504e0c3](http://stash.cfops.it:7999/www/cf-ux/commits/504e0c3)) | ||
<a name="1.0.5"></a> | ||
<a name="1.0.5"></a> | ||
## [1.0.5](http://stash.cfops.it:7999/www/cf-ux/compare/@cloudflare/style-container@1.0.4...@cloudflare/style-container@1.0.5) (2018-05-24) | ||
@@ -83,3 +99,3 @@ | ||
<a name="1.0.4"></a> | ||
<a name="1.0.4"></a> | ||
## [1.0.4](http://stash.cfops.it:7999/www/cf-ux/compare/@cloudflare/style-container@1.0.3...@cloudflare/style-container@1.0.4) (2018-05-24) | ||
@@ -92,5 +108,5 @@ | ||
* **component-logo:** UI-752: Fix colors and remove R | ||
([09c46d1](http://stash.cfops.it:7999/www/cf-ux/commits/09c46d1)) | ||
([09c46d1](http://stash.cfops.it:7999/www/cf-ux/commits/09c46d1)) | ||
* **component-logo:** UI-752: Update colors | ||
([dc527d0](http://stash.cfops.it:7999/www/cf-ux/commits/dc527d0)) | ||
([dc527d0](http://stash.cfops.it:7999/www/cf-ux/commits/dc527d0)) | ||
@@ -106,3 +122,3 @@ <a name="1.0.3"></a> | ||
* **component-header:** UI-701: 📸 | ||
([61e9200](http://stash.cfops.it:7999/www/cf-ux/commits/61e9200)) | ||
([61e9200](http://stash.cfops.it:7999/www/cf-ux/commits/61e9200)) | ||
@@ -118,3 +134,3 @@ <a name="1.0.2"></a> | ||
* **style-const:** UI-718 Fix type definitions | ||
([a00d687](http://stash.cfops.it:7999/www/cf-ux/commits/a00d687)) | ||
([a00d687](http://stash.cfops.it:7999/www/cf-ux/commits/a00d687)) | ||
@@ -134,5 +150,5 @@ <a name="1.0.1"></a> | ||
* **all:** UI-585: update snaps | ||
([599bbce](http://stash.cfops.it:7999/www/cf-ux/commits/599bbce)) | ||
([599bbce](http://stash.cfops.it:7999/www/cf-ux/commits/599bbce)) | ||
* **cf-style-container:** UI-585: remove 'seamless-immutable' dependency | ||
([5a45c7d](http://stash.cfops.it:7999/www/cf-ux/commits/5a45c7d)) | ||
([5a45c7d](http://stash.cfops.it:7999/www/cf-ux/commits/5a45c7d)) | ||
@@ -142,7 +158,7 @@ ### Features | ||
* **all:** UI-585: | ||
([00a5bf1](http://stash.cfops.it:7999/www/cf-ux/commits/00a5bf1)) | ||
([00a5bf1](http://stash.cfops.it:7999/www/cf-ux/commits/00a5bf1)) | ||
* **all:** UI-585: update color usage to access theme.colors | ||
([3f76f3b](http://stash.cfops.it:7999/www/cf-ux/commits/3f76f3b)) | ||
([3f76f3b](http://stash.cfops.it:7999/www/cf-ux/commits/3f76f3b)) | ||
* **cf-style-const:** UI-585: added deprecation warnings to theme | ||
([ce5a85c](http://stash.cfops.it:7999/www/cf-ux/commits/ce5a85c)) | ||
([ce5a85c](http://stash.cfops.it:7999/www/cf-ux/commits/ce5a85c)) | ||
@@ -178,3 +194,3 @@ ### BREAKING CHANGES | ||
* **cf-component-header:** UI-661: snapshots | ||
([468cb7e](http://stash.cfops.it:7999/www/cf-ux/commits/468cb7e)) | ||
([468cb7e](http://stash.cfops.it:7999/www/cf-ux/commits/468cb7e)) | ||
@@ -188,5 +204,5 @@ <a name="8.1.0"></a> | ||
* **cf-style-container:** UI-583: snapshots 📸 | ||
([94f7c2a](http://stash.cfops.it:7999/www/cf-ux/commits/94f7c2a)) | ||
([94f7c2a](http://stash.cfops.it:7999/www/cf-ux/commits/94f7c2a)) | ||
* **cf-style-container:** UI-584: remove unneeded variable | ||
([2152b94](http://stash.cfops.it:7999/www/cf-ux/commits/2152b94)) | ||
([2152b94](http://stash.cfops.it:7999/www/cf-ux/commits/2152b94)) | ||
@@ -196,6 +212,6 @@ ### Features | ||
* **cf-style-const:** UI-583: UI-584: add color scales to theme | ||
([93f5329](http://stash.cfops.it:7999/www/cf-ux/commits/93f5329)) | ||
([93f5329](http://stash.cfops.it:7999/www/cf-ux/commits/93f5329)) | ||
* **cf-style-container:** UI-584: update createStyledComponent to support color | ||
scale accessors | ||
([80d5871](http://stash.cfops.it:7999/www/cf-ux/commits/80d5871)) | ||
scale accessors | ||
([80d5871](http://stash.cfops.it:7999/www/cf-ux/commits/80d5871)) | ||
@@ -209,3 +225,3 @@ <a name="8.0.6"></a> | ||
* **propTypes:** UI-594 Fix proptype warnings on component-library | ||
([d427649](http://stash.cfops.it:7999/www/cf-ux/commits/d427649)) | ||
([d427649](http://stash.cfops.it:7999/www/cf-ux/commits/d427649)) | ||
@@ -231,5 +247,5 @@ <a name="8.0.5"></a> | ||
* **cf-style-container:** UI-203: Updated createStyledComponent to use named | ||
breakpoints ([89d90ce](http://stash.cfops.it:7999/www/cf-ux/commits/89d90ce)) | ||
breakpoints ([89d90ce](http://stash.cfops.it:7999/www/cf-ux/commits/89d90ce)) | ||
* **cf-style-container:** UI-203: updated snapshots | ||
([7f017f8](http://stash.cfops.it:7999/www/cf-ux/commits/7f017f8)) | ||
([7f017f8](http://stash.cfops.it:7999/www/cf-ux/commits/7f017f8)) | ||
@@ -243,3 +259,3 @@ <a name="8.0.1"></a> | ||
* **cf-style-container:** UI-434 add display name to anywhere we Fela wrappers | ||
([1f7afeb](http://stash.cfops.it:7999/www/cf-ux/commits/1f7afeb)) | ||
([1f7afeb](http://stash.cfops.it:7999/www/cf-ux/commits/1f7afeb)) | ||
@@ -253,3 +269,3 @@ <a name="8.0.0"></a> | ||
* **cf-style-container:** UI-434 updated HOCs to use displayName | ||
([de1a95d](http://stash.cfops.it:7999/www/cf-ux/commits/de1a95d)) | ||
([de1a95d](http://stash.cfops.it:7999/www/cf-ux/commits/de1a95d)) | ||
@@ -267,25 +283,25 @@ ### BREAKING CHANGES | ||
* **cf-style-const:** use modern linear-gradient form | ||
([57a2ebc](http://stash.cfops.it:7999/www/cf-ux/commits/57a2ebc)) | ||
([57a2ebc](http://stash.cfops.it:7999/www/cf-ux/commits/57a2ebc)) | ||
* **cf-style-container:** RM-2418 Don't overwrite existing props when expanding | ||
margin/padding | ||
([5e9b843](http://stash.cfops.it:7999/www/cf-ux/commits/5e9b843)) | ||
margin/padding | ||
([5e9b843](http://stash.cfops.it:7999/www/cf-ux/commits/5e9b843)) | ||
* **cf-style-container:** RM-2418 Get snapshot tests running again | ||
([149650a](http://stash.cfops.it:7999/www/cf-ux/commits/149650a)) | ||
([149650a](http://stash.cfops.it:7999/www/cf-ux/commits/149650a)) | ||
* **cf-style-container:** RM-2418 Minor fix to readme | ||
([033bb56](http://stash.cfops.it:7999/www/cf-ux/commits/033bb56)) | ||
([033bb56](http://stash.cfops.it:7999/www/cf-ux/commits/033bb56)) | ||
* **cf-style-container:** RM-2418 Rename style attribute to styles, ensure all | ||
tests pass (woohoo) | ||
([fee4202](http://stash.cfops.it:7999/www/cf-ux/commits/fee4202)) | ||
tests pass (woohoo) | ||
([fee4202](http://stash.cfops.it:7999/www/cf-ux/commits/fee4202)) | ||
* **cf-style-container:** UI-259 Make test names more explicity, pass correct | ||
values ([fce8414](http://stash.cfops.it:7999/www/cf-ux/commits/fce8414)) | ||
values ([fce8414](http://stash.cfops.it:7999/www/cf-ux/commits/fce8414)) | ||
* **cf-style-container:** UI-263: fixed breakpoint mapping and updated snapshots | ||
([5dcf9ce](http://stash.cfops.it:7999/www/cf-ux/commits/5dcf9ce)) | ||
([5dcf9ce](http://stash.cfops.it:7999/www/cf-ux/commits/5dcf9ce)) | ||
* **cf-style-container:** UI-263: refactored and simplified functional data | ||
mapping ([78e6965](http://stash.cfops.it:7999/www/cf-ux/commits/78e6965)) | ||
mapping ([78e6965](http://stash.cfops.it:7999/www/cf-ux/commits/78e6965)) | ||
* **cf-style-container:** UI-263: removed unneeded devDependency | ||
([944e1ba](http://stash.cfops.it:7999/www/cf-ux/commits/944e1ba)) | ||
([944e1ba](http://stash.cfops.it:7999/www/cf-ux/commits/944e1ba)) | ||
* **cf-style-container:** UI-263: update snapshots | ||
([9a5c2f2](http://stash.cfops.it:7999/www/cf-ux/commits/9a5c2f2)) | ||
([9a5c2f2](http://stash.cfops.it:7999/www/cf-ux/commits/9a5c2f2)) | ||
* **cf-style-container:** UI-263: update test comment | ||
([688e811](http://stash.cfops.it:7999/www/cf-ux/commits/688e811)) | ||
([688e811](http://stash.cfops.it:7999/www/cf-ux/commits/688e811)) | ||
@@ -295,26 +311,26 @@ ### Features | ||
* **cf-style-container:** RM-2418 Use combineRules to merge rules | ||
([ea63fc1](http://stash.cfops.it:7999/www/cf-ux/commits/ea63fc1)) | ||
([ea63fc1](http://stash.cfops.it:7999/www/cf-ux/commits/ea63fc1)) | ||
* **cf-style-container:** UI-202: added readme | ||
([7ffa6ed](http://stash.cfops.it:7999/www/cf-ux/commits/7ffa6ed)) | ||
([7ffa6ed](http://stash.cfops.it:7999/www/cf-ux/commits/7ffa6ed)) | ||
* **cf-style-container:** UI-259 Snapshot tests for createStyleComponent | ||
([cca3989](http://stash.cfops.it:7999/www/cf-ux/commits/cca3989)) | ||
([cca3989](http://stash.cfops.it:7999/www/cf-ux/commits/cca3989)) | ||
* **cf-style-container:** UI-260: add experimental bp support | ||
([676457c](http://stash.cfops.it:7999/www/cf-ux/commits/676457c)) | ||
([676457c](http://stash.cfops.it:7999/www/cf-ux/commits/676457c)) | ||
* **cf-style-container:** UI-260: First pass at processRules function | ||
([b05da4e](http://stash.cfops.it:7999/www/cf-ux/commits/b05da4e)) | ||
([b05da4e](http://stash.cfops.it:7999/www/cf-ux/commits/b05da4e)) | ||
* **cf-style-container:** UI-260: Fixed breakpoint parsing logic | ||
([0d7637d](http://stash.cfops.it:7999/www/cf-ux/commits/0d7637d)) | ||
([0d7637d](http://stash.cfops.it:7999/www/cf-ux/commits/0d7637d)) | ||
* **cf-style-container:** UI-260: Fixed prop type application. Added responsive | ||
scale for font-size. | ||
([d83749c](http://stash.cfops.it:7999/www/cf-ux/commits/d83749c)) | ||
scale for font-size. | ||
([d83749c](http://stash.cfops.it:7999/www/cf-ux/commits/d83749c)) | ||
* **cf-style-container:** UI-262 Formattng | ||
([69d784e](http://stash.cfops.it:7999/www/cf-ux/commits/69d784e)) | ||
([69d784e](http://stash.cfops.it:7999/www/cf-ux/commits/69d784e)) | ||
* **cf-style-container:** UI-262 Gather style rules from props | ||
([eac5c5b](http://stash.cfops.it:7999/www/cf-ux/commits/eac5c5b)) | ||
([eac5c5b](http://stash.cfops.it:7999/www/cf-ux/commits/eac5c5b)) | ||
* **cf-style-container:** UI-263: Added support for responsive 'display' | ||
override ([054b03c](http://stash.cfops.it:7999/www/cf-ux/commits/054b03c)) | ||
override ([054b03c](http://stash.cfops.it:7999/www/cf-ux/commits/054b03c)) | ||
* **cf-style-container:** UI-263: cleaned up function usage | ||
([17169d6](http://stash.cfops.it:7999/www/cf-ux/commits/17169d6)) | ||
([17169d6](http://stash.cfops.it:7999/www/cf-ux/commits/17169d6)) | ||
* **cf-style-container:** UI-263: removed usage of 'style' prop | ||
([55c17ae](http://stash.cfops.it:7999/www/cf-ux/commits/55c17ae)) | ||
([55c17ae](http://stash.cfops.it:7999/www/cf-ux/commits/55c17ae)) | ||
@@ -324,3 +340,3 @@ ### BREAKING CHANGES | ||
* **cf-style-container:** Commit to ensure package is published as a major | ||
version when merged | ||
version when merged | ||
@@ -334,3 +350,3 @@ <a name="6.0.2"></a> | ||
* **cf-style-container:** UI-331: Typings allow createComponent to decorate | ||
components ([fc3f33f](http://stash.cfops.it:7999/www/cf-ux/commits/fc3f33f)) | ||
components ([fc3f33f](http://stash.cfops.it:7999/www/cf-ux/commits/fc3f33f)) | ||
@@ -344,5 +360,5 @@ <a name="6.0.1"></a> | ||
* **cf-style-provider:** UI-143: Migrate cf-ux to React16 BREAKING CHANGE | ||
([fbb24e8](http://stash.cfops.it:7999/www/cf-ux/commits/fbb24e8)) | ||
([fbb24e8](http://stash.cfops.it:7999/www/cf-ux/commits/fbb24e8)) | ||
* **cf-style-provider:** WWW-13170: Add a breakpoint | ||
([4078f86](http://stash.cfops.it:7999/www/cf-ux/commits/4078f86)) | ||
([4078f86](http://stash.cfops.it:7999/www/cf-ux/commits/4078f86)) | ||
@@ -356,5 +372,5 @@ <a name="6.0.0"></a> | ||
* **cf-component-modal:** UI-7 Update modal to Fela | ||
([0fede61](http://stash.cfops.it:7999/www/cf-ux/commits/0fede61)) | ||
([0fede61](http://stash.cfops.it:7999/www/cf-ux/commits/0fede61)) | ||
* **cf-style-container:** UI-186: BREAKING CHANGE: Remove unused stuff, split | ||
main file ([37c7f2e](http://stash.cfops.it:7999/www/cf-ux/commits/37c7f2e)) | ||
main file ([37c7f2e](http://stash.cfops.it:7999/www/cf-ux/commits/37c7f2e)) | ||
@@ -364,4 +380,4 @@ ### BREAKING CHANGES | ||
* **cf-component-modal:** - Added ModalInfo from react/common/ModalInfo - Update | ||
to Fela styles - Removed animations because of restrictions - Removed unused | ||
confirm prop | ||
to Fela styles - Removed animations because of restrictions - Removed unused | ||
confirm prop | ||
@@ -387,3 +403,3 @@ <a name="5.3.2"></a> | ||
* **cf-component-calendar:** WWW-13497 Add cf-component-calendar | ||
([2012b46](http://stash.cfops.it:7999/www/cf-ux/commits/2012b46)) | ||
([2012b46](http://stash.cfops.it:7999/www/cf-ux/commits/2012b46)) | ||
@@ -403,3 +419,3 @@ <a name="5.2.1"></a> | ||
* **cf-style-const:** WWW-13479 rename lineHeight to lineHeights due to name | ||
collision ([26edac6](http://stash.cfops.it:7999/www/cf-ux/commits/26edac6)) | ||
collision ([26edac6](http://stash.cfops.it:7999/www/cf-ux/commits/26edac6)) | ||
@@ -409,3 +425,3 @@ ### Features | ||
* **cf-page-account-selector:** WWW-12499: Adds the AccountSelector page | ||
([74fa05e](http://stash.cfops.it:7999/www/cf-ux/commits/74fa05e)) | ||
([74fa05e](http://stash.cfops.it:7999/www/cf-ux/commits/74fa05e)) | ||
@@ -419,3 +435,3 @@ <a name="5.1.0"></a> | ||
* **cf-style-const:** UI-72 fixing name collision and missing comma | ||
([493d8df](http://stash.cfops.it:7999/www/cf-ux/commits/493d8df)) | ||
([493d8df](http://stash.cfops.it:7999/www/cf-ux/commits/493d8df)) | ||
@@ -425,3 +441,3 @@ ### Features | ||
* **cf-component-signup:** WWW-13426 signup button redesign | ||
([3c51532](http://stash.cfops.it:7999/www/cf-ux/commits/3c51532)) | ||
([3c51532](http://stash.cfops.it:7999/www/cf-ux/commits/3c51532)) | ||
@@ -447,3 +463,3 @@ <a name="5.0.3"></a> | ||
* **cf-style-const:** rename gradient keys in theme (#317) | ||
([4d37d26](https://github.com/cloudflare/cf-ui/commit/4d37d26)) | ||
([4d37d26](https://github.com/cloudflare/cf-ui/commit/4d37d26)) | ||
@@ -453,13 +469,13 @@ ### Features | ||
* **cf-component-input:** Added height to input for search label (#352) | ||
([530a7fe](https://github.com/cloudflare/cf-ui/commit/530a7fe)) | ||
([530a7fe](https://github.com/cloudflare/cf-ui/commit/530a7fe)) | ||
* **cf-component-toast:** Initial commit of basic toast | ||
([2f8272e](https://github.com/cloudflare/cf-ui/commit/2f8272e)) | ||
([2f8272e](https://github.com/cloudflare/cf-ui/commit/2f8272e)) | ||
* **cf-style-const:** Add a new color | ||
([d23c0ad](https://github.com/cloudflare/cf-ui/commit/d23c0ad)) | ||
([d23c0ad](https://github.com/cloudflare/cf-ui/commit/d23c0ad)) | ||
* **cf-style-container:** add applyStaticStyles method | ||
([87c7913](https://github.com/cloudflare/cf-ui/commit/87c7913)) | ||
([87c7913](https://github.com/cloudflare/cf-ui/commit/87c7913)) | ||
* **cf-style-provider:** Add [@media](https://github.com/media)(hover) | ||
([80fb1eb](https://github.com/cloudflare/cf-ui/commit/80fb1eb)) | ||
([80fb1eb](https://github.com/cloudflare/cf-ui/commit/80fb1eb)) | ||
* **cf-style-provider:** Add two new breakpoints to support new navigation | ||
([f00199c](https://github.com/cloudflare/cf-ui/commit/f00199c)) | ||
([f00199c](https://github.com/cloudflare/cf-ui/commit/f00199c)) | ||
@@ -469,3 +485,3 @@ ### BREAKING CHANGES | ||
* **cf-style-const:** This change will break all places that use gradients from | ||
theme | ||
theme | ||
@@ -481,5 +497,5 @@ * chore(cf-style-const): Update snapshots | ||
* **cf-style-container:** Change fela wrapper names (#300) | ||
([4230f0a](https://github.com/sejoker/cf-ui/commit/4230f0a)) | ||
([4230f0a](https://github.com/sejoker/cf-ui/commit/4230f0a)) | ||
* **cf-style-container:** set themed component name (#303) | ||
([4497094](https://github.com/sejoker/cf-ui/commit/4497094)) | ||
([4497094](https://github.com/sejoker/cf-ui/commit/4497094)) | ||
@@ -489,3 +505,3 @@ ### Features | ||
* **cf-style-provider:** Update snapshots - they use atomic classNames now | ||
([1a42284](https://github.com/sejoker/cf-ui/commit/1a42284)) | ||
([1a42284](https://github.com/sejoker/cf-ui/commit/1a42284)) | ||
@@ -495,5 +511,5 @@ ### BREAKING CHANGES | ||
* **cf-style-container:** The display name of themed components now have a | ||
`Themed` prefix to their display names. So if you had a themed component that | ||
has the name `Button` it will now be `ThemedButton` instead of | ||
`ThemedComponent`. | ||
`Themed` prefix to their display names. So if you had a themed component that | ||
has the name `Button` it will now be `ThemedButton` instead of | ||
`ThemedComponent`. | ||
@@ -503,4 +519,4 @@ Related-to: #300 | ||
* **cf-style-container:** If you are targeting components in your tests you are | ||
going to need to make some changes. Previously others have selected the second | ||
one in the node list after querying for the display name. | ||
going to need to make some changes. Previously others have selected the second | ||
one in the node list after querying for the display name. | ||
@@ -514,3 +530,3 @@ <a name="3.0.0"></a> | ||
* **cf-style-container:** set themed component name (#303) | ||
([4497094](https://github.com/koddsson/cf-ui/commit/4497094)) | ||
([4497094](https://github.com/koddsson/cf-ui/commit/4497094)) | ||
@@ -520,5 +536,5 @@ ### BREAKING CHANGES | ||
* **cf-style-container:** The display name of themed components now have a | ||
`Themed` prefix to their display names. So if you had a themed component that | ||
has the name `Button` it will now be `ThemedButton` instead of | ||
`ThemedComponent`. | ||
`Themed` prefix to their display names. So if you had a themed component that | ||
has the name `Button` it will now be `ThemedButton` instead of | ||
`ThemedComponent`. | ||
@@ -534,3 +550,3 @@ Related-to: #300 | ||
* **cf-style-container:** Change fela wrapper names (#300) | ||
([4230f0a](https://github.com/koddsson/cf-ui/commit/4230f0a)) | ||
([4230f0a](https://github.com/koddsson/cf-ui/commit/4230f0a)) | ||
@@ -540,3 +556,3 @@ ### Features | ||
* **cf-style-provider:** Update snapshots - they use atomic classNames now | ||
([1a42284](https://github.com/koddsson/cf-ui/commit/1a42284)) | ||
([1a42284](https://github.com/koddsson/cf-ui/commit/1a42284)) | ||
@@ -546,3 +562,3 @@ ### BREAKING CHANGES | ||
* **cf-style-container:** If you are targeting components in your tests you are | ||
going to need to make some changes. Previously others have selected the second | ||
one in the node list after querying for the display name. | ||
going to need to make some changes. Previously others have selected the second | ||
one in the node list after querying for the display name. |
@@ -224,3 +224,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
// Handle nested '.' syntax | ||
if (val.includes('.')) { | ||
if (val && val.includes('.')) { | ||
// Attempt to access nested values, otherwise return what was passed | ||
@@ -227,0 +227,0 @@ try { |
@@ -143,3 +143,3 @@ 'use strict'; | ||
// Handle nested '.' syntax | ||
if (val.includes('.')) { | ||
if (val && val.includes('.')) { | ||
// Attempt to access nested values, otherwise return what was passed | ||
@@ -146,0 +146,0 @@ try { |
{ | ||
"name": "@cloudflare/style-container", | ||
"description": "Cloudflare Style Container", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "module": "es/index.js", |
@@ -223,3 +223,3 @@ import PropTypes from 'prop-types'; | ||
// Handle nested '.' syntax | ||
if (val.includes('.')) { | ||
if (val && val.includes('.')) { | ||
// Attempt to access nested values, otherwise return what was passed | ||
@@ -226,0 +226,0 @@ try { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85448