Skip to content

Commit 17275de

Browse files
committed
update changelog
1 parent 9c99f9a commit 17275de

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ This is a major release, and it might be not compatible with your current usage
1919
- the `data` object provides `markerAppearance` to set and remove the edge arrows
2020
- `<EdgeNew />`
2121
- component for React Flow v12, displaying new connection lines
22+
- new color palette that includes 4 sections with 20+ color tints in 5 weights each
23+
- indentity, semantic, layout, extra
24+
- managed via CSS custom properties
25+
- see `README.md` for inf about usage
26+
- SCSS color functions
27+
- `eccgui-color-var`: returns a var of a custom property used for palette color
28+
- `eccgui-color-mix`: mix 2 colors in `srgb`, works with all types of color values and CSS custom properties
29+
- `eccgui-color-rgba`: like `rgba()` but it works also for CSS custom properties
30+
- `colorCalculateDistance()`
31+
- function to calculate the difference between 2 colors using the simple CIE76 formula
32+
- `textToColorHash()`
33+
- function to calculate a color from a text string
2234

2335
### Removed
2436

@@ -35,12 +47,16 @@ This is a major release, and it might be not compatible with your current usage
3547
- support now v9 and v12 of react flow
3648
- `<ReactFlowExtended />`
3749
- use `<EdgeNew />` by default for new connection lines, you can overwrite it by setting `connectionLineComponent` to `undefined`
50+
- overrite the native SCSS `rgba()` function, so it now works for SCSS color values and CSS custom properties
51+
- `getColorConfiguration()` works with CSS custom properties
3852

3953
### Deprecated
4054

4155
- support for React Flow v9 will be removed in v26
4256
- `<EdgeDefs />`
4357
- use `<ReactFlowMarkers />` or build it on single `<ReactFlowMarker />`
58+
- property names returned by `getCOlorConfiguration` were changed to kebab case because they are originally defined via CSS custom properties
59+
- e.g. `graphNode` is now `eccgui-graph-node` and `graphNodeBright` is `eccgui-graph-node-bright`
4460

4561
## [24.4.1] - 2025-08-25
4662

0 commit comments

Comments
 (0)