Releases: seb-oss/green
Releases · seb-oss/green
@sebgroup/green-core@1.67.1
@sebgroup/green-core@1.67.0
Minor Changes
- 9180a71: Popover:
gds-ui-state
events can now be cancelled to gain more control over popover behavior - 9180a71: Dropdown:
gds-ui-state
event is now cancellable, and only fires on user-initiated changes - 5fc4d2e: Localisation: Add translations for
no
,nl
,it
,fr
,fi
,de
andda
Patch Changes
@sebgroup/green-core@1.66.1
Patch Changes
- a715edc: Declarative Layout: Fix an incorrect import path the
styleExpressionProperty
decorator, fix default border props of gds-flex, add missingorder
property.
@sebgroup/green-core@1.66.0
Minor Changes
- 4cdaf5f:
gds-grid
:auto-columns
now support any CSS units. If no unit is specified,px
is assumed. - 4cdaf5f: Divider: Add propagation of role attribute
4cdaf5f: Declarative Layout updates
- Add
gds-div
as the base container for declarative layout - Refactor implementation for easier reuse of properties in various components. Several component now support style expression properties for common things like margin, width and flex item properties.
- Colors now only support tokens from Green, no custom values except
transparent
andcurrentColor
. This simplifies implementation and makes color properties more consistent. - Color properties now always use
tokenName/transparency
, where transparency is optional. - Set
box-sizing
toborder-box
by default - Set
border-color
toprimary
by default border
property now works like css shorthand border property, ie.size style color
border-style
property added for completeness
Removed
The following style expression properties have been removed:
pointer-events
user-select
cursor
transform-style
transition
transition-behavior
animation
Deprecated
The followind elements have been deprecated
gds-container
is deprecated in favor ofgds-div
gds-spacer
is deprecated in favor ofgds-div
Migration steps:
- Do a search-replace of
gds-container
->gds-div
- Update all the places you've used the
border
property. As mentioned above, the border related properties now mimic CSS more closely. If you have for exampleborder="4xs/primary 0"
to set a top and bottom border with primary color, you need to change it toborder-width="4xs 0" border-color="primary"
after this update. gds-card
supports (and defaults to)display="flex"
now, so there is usually no need to wrap card content in an extragds-flex
. It has a default gap set as well. If that breaks your layout, you can setgap="0"
Patch Changes
- 4cdaf5f: Calendar: Fix missing focus outline in 2023 style
@sebgroup/green-angular@5.3.2
Patch Changes
@sebgroup/chlorophyll@3.6.15
Patch Changes
- 0babf00: Chlorophyll: Checkbox & Radio Button hover styles not to hint selected icon
@sebgroup/green-react@3.24.0
Minor Changes
-
34bf172: Dependencies: Include React 19 in peer dependency constraint
This update makes it possible to use @sebgroup/green-react with React 19 without complaints from NPM.
Note, however, that the library is still not thoroughly tested with React 19, and all our unit tests still run against React 18. So proceed with caution.
@sebgroup/green-core@1.65.2
Patch Changes
- d800fd8: Field Base: Add on main wrap gap to add space in select
@sebgroup/green-core@1.65.1
@sebgroup/green-angular@5.3.1
Patch Changes
- e93b640: CoreControlModule: Fix condition for when field errors are displayed