@axa-ch/icon
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -1,18 +0,17 @@ | ||
### Migration to version 2 | ||
## Migration to version 2 | ||
The implementation of the wrapper to make a component React-ready has | ||
fundamentally changed. In particular, unknown Boolean- or | ||
string-valued properties are now accepted and converted to HTML | ||
attributes. E.g. `data-seleniumid="my-id"` is now supported. | ||
- The implementation of the wrapper to make a component React-ready has | ||
fundamentally changed. In particular, unknown Boolean- or | ||
string-valued properties are now accepted and converted to HTML | ||
attributes. E.g. `data-seleniumid="my-id"` is now supported. | ||
- All defined attributes attached to a component _before_ component | ||
construction time are now taken into account. Conversely, all undefined | ||
component attributes are initialized with type-appropriate default | ||
values at this time. This may amount to a breaking change if the | ||
component consumer had previously assumed undefined or uninitialized | ||
behaviour. | ||
All defined attributes attached to a component *before* component | ||
construction time are now taken into account. Conversely, all undefined | ||
component attributes are initialized with type-appropriate default | ||
values at this time. This may amount to a breaking change if the | ||
component consumer had previously assumed undefined or uninitialized | ||
behaviour. | ||
## Version 1.3.0 | ||
### Version 1.3.0 | ||
- add the possibility to set svg as a string | ||
- add property `size` to React interface |
{ | ||
"name": "@axa-ch/icon", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "The icon component for the AXA Pattern Library", | ||
@@ -36,3 +36,3 @@ "author": "Pattern Warriors", | ||
}, | ||
"gitHead": "f131d19b1d5d45e6477974d173cefca245b76692" | ||
"gitHead": "ac394b330abb2f585d4dc810f607a08513a35bfe" | ||
} |
68361