Green is an open-source design system built by SEB.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Stepper: Should act as a block level element like the other inputs.
Datepicker has been refactored to a web component. The Angular component remains as a mostly backwards-compatible wrapper for the web component, but there are some changes:
locale
option has been removed. Localization is handled@lit/localize
currentDate
is deprecated. Use value
instead.selectedDate
is deprecated. Use value
instead.useCurrentTime
is removedcloseOnSelect
is removed (popover will now always close when a value is selected)DatepickerOptions
moved from Extract and can be imported from React or Angular package instead.Datepicker has been refactored to a web component. The React component remains as a mostly backwards-compatible wrapper for the web components, but there are some changes:
locale
option has been removed. Localization is handled@lit/localize
currentDate
is deprecated. Use value
instead.selectedDate
is deprecated. Use value
instead.useCurrentTime
is removedcloseOnSelect
is removed (popover will now always close when a value is selected)DatepickerOptions
moved from Extract and can be imported from React or Angular package instead.The Stepper component have been refactored as a pure controlled component.
onIncrease
and onDecrease
have to be implemented for the stepper to work.onChange
now takes a ChangeEvent as param.step
, min
, max
The new Datepicker solves various a11y issues and other bugs the old implementation had. It also adds some new features:
<input type="date">
as implemented in Chromium browsers. It allows users to either enter dates using number keys, or stepping the year/month/day values up and down using the arrow keys.dateformat
attribute.Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago