Releases: getPopsure/dirty-swan
v0.6.3
What’s new?
added p-notice--info
v0.6.2
What’s new?
DateSelector
props have been updated:
values
is now string | undefined
onChange
now return a string
as part of their completion handler.
Migration from 0.6.x
You will need to switch from DateObject
to string
when using DateSelector
v0.6.1
What’s new?
Better sass files import, in your .scss
file you can import dirtyswan simply by doing @import '@popsure/dirty-swan';
Migration from 0.6.0
Dirty Swan 0.6.1 should be compatible with 0.6.0 out of the box, although you can update the import on your
.scss
files
from
@import '@popsure/dirty-swan/dist/index.scss';
to
@import '@popsure/dirty-swan';
happy upgrading
v0.6.0
What's new?
- Dirty swan now include some JSX elements! Check out the Date selector component!
- Dirty swan is now using storybook as part of its documentation
Migration from 0.5.x
Now that Dirty swan bundle scss
and javaScript
you need to update your import.
JavaScript
From
import '@popsure/dirty-swan';
To
import '@popsure/dirty-swan/dist/index.scss';
Sass
From
@import '@popsure/dirty-swan';
To
@import '@popsure/dirty-swan/dist/index.scss';
v0.5.1
What's new?
You can now define a max width.
wmx1
60px
wmx2
136px
wmx3
212px
...
The width are computed using the following formula: wmx(x) = 60 * x + 16 * (x-1)
v0.5.0
What's new?
DirtySwan is now available on npm! 🎉
Migration from 0.4.x
Update your package.json
from
"dependencies": {
"dirtySwan": "github:getPopsure/dirtySwan#semver:^0.4.0"
}
to
"dependencies": {
"@popsure/dirty-swan": "^0.5.0",
}
You will also need to update all your import in both javascript files and scss files.
Respectively
javascript
import '@popsure/dirty-swan';
scss
@import '@popsure/dirty-swan';
v0.4.3
Changes
p-notice p-notice--warning
now uses grey 900 for color
v0.4.2
What's new?
You can now define a static width.
ws1
60px
ws2
136px
ws3
212px
...
The width are computed using the following formula: ws(x) = 60 * x + 16 * (x-1)
v0.4.1
Bug fix
p-btn
text is now centered
v0.4.0
What's new?
The project is now wrapped inside a create react app.
Migration from 3.x.x
You don't have to do anything to migrate from 3.x.x. Everything is backward compatible.