Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
347 commits
Select commit Hold shift + click to select a range
2fbf113
Merge pull request #302 from eccenca/fix/codeMirror-CMEM-6728
robertisele Jul 18, 2025
a93947f
Fix disable hotkey feature for react-flow V12 support
andreas-schultz Jul 28, 2025
6d9859a
Fix CodeEditor Enter key handling using wrong offset; Fix first drop …
andreas-schultz Jul 29, 2025
8ec3a90
Fix compile issue
andreas-schultz Jul 29, 2025
8533c49
Merge branch 'next' into fix/codeEditor-MT-53
andreas-schultz Jul 30, 2025
10a42d3
Merge branch 'next' into fix/disableHotKeysReactFlowV12-MT-44
robertisele Jul 30, 2025
060ef43
Merge pull request #305 from eccenca/fix/disableHotKeysReactFlowV12-M…
robertisele Jul 30, 2025
b0a8bae
Merge branch 'next' into fix/codeEditor-MT-53
haschek Jul 30, 2025
cf8f29a
Merge pull request #306 from eccenca/fix/codeEditor-MT-53
haschek Jul 30, 2025
5d5e3e8
Add 'nopan' and 'nodrag' classes to Modal's overlay classes in order …
andreas-schultz Jul 31, 2025
5a8d36d
Also add nowheel class
andreas-schultz Jul 31, 2025
6f97793
Merge pull request #308 from eccenca/fix/preventReactFlowDragAndPanIn…
haschek Jul 31, 2025
6a29db2
Add initial visual tour component
andreas-schultz Aug 1, 2025
8289d23
Add prev button; fix class names; Refactor to support popover
andreas-schultz Aug 4, 2025
3741cf8
Merge branch 'next' into feature/keyValueParameterType-CMEM-6277
robertisele Aug 4, 2025
8876305
Implement initial element highlighting
andreas-schultz Aug 4, 2025
141d407
fix story components and expand test case
haschek Aug 5, 2025
9109f5f
Add texts property for text copy of custom components; Show how to us…
andreas-schultz Aug 6, 2025
47489ac
Remove need of container element for tour
andreas-schultz Aug 6, 2025
c07c195
Scroll highlighted element into view
andreas-schultz Aug 6, 2025
aa762f5
Auto-position tooltip
andreas-schultz Aug 6, 2025
506812c
Place kind of pointer element between tooltip and highlighted element
andreas-schultz Aug 6, 2025
1d11c32
add missing styles for react flow 12 attribution
haschek Aug 6, 2025
a230b0c
remove support for react flow v10
haschek Aug 6, 2025
396e01b
Add image to tour step
andreas-schultz Aug 7, 2025
7e57c3d
Use arrows as pointer for the tour tooltip
andreas-schultz Aug 8, 2025
7daeeb9
Several improvements for tour step
andreas-schultz Aug 8, 2025
083dc90
Fix step display
andreas-schultz Aug 8, 2025
009ca81
Merge remote-tracking branch 'origin/develop' into feature/forwardUpg…
haschek Aug 11, 2025
bd8f403
Merge pull request #316 from eccenca/feature/forwardUpgradesFromDevel…
robertisele Aug 13, 2025
f043a50
include version splitter for react flow edges
haschek Aug 13, 2025
eeb6753
added v6 codemirror pkg support for html
arausly Aug 13, 2025
7dd9e24
fix edge markers and add colors of intent states for v12 support
haschek Aug 14, 2025
7f393d8
add property to v12 edge that can used to define the arrow marker, or…
haschek Aug 14, 2025
a8873a4
add ability to use different path layous for v12 edges, provide strai…
haschek Aug 14, 2025
4660ae8
Merge remote-tracking branch 'origin/next' into fix/useCorrectEdgesAn…
haschek Aug 14, 2025
ff44c99
update changelog
haschek Aug 14, 2025
c193934
export bezier edge and use straigh edge for default react flow config…
haschek Aug 14, 2025
2736da6
adjust minimap and attribution position
haschek Aug 14, 2025
d2eee18
Merge branch 'next' into feature/htmlFormattedEmail-CMEM-6763
robertisele Aug 18, 2025
d56f33f
Merge pull request #317 from eccenca/feature/htmlFormattedEmail-CMEM-…
robertisele Aug 18, 2025
dbe3b59
minimal fix for the offset problem of new connection lines when edito…
haschek Aug 19, 2025
76745a2
provide component that is used as default element for new connection …
haschek Aug 19, 2025
749a08d
Merge remote-tracking branch 'origin/next' into fix/useCorrectEdgesAn…
haschek Aug 19, 2025
bc2bafa
Added missed styles from the original package
fiorsaoirse Aug 19, 2025
5612b32
include some v12 base styles
haschek Aug 19, 2025
4d293a3
Merge branch 'next' into feature/keyValueParameterType-CMEM-6277
andreas-schultz Aug 20, 2025
1ded734
Merge pull request #300 from eccenca/feature/keyValueParameterType-CM…
andreas-schultz Aug 20, 2025
df1f21a
update package lock
haschek Aug 20, 2025
370d9c7
Fix typo
haschek Aug 21, 2025
54091d4
Merge branch 'next' into fix/useCorrectEdgesAndArrows-CMEM-6721
haschek Aug 21, 2025
ada0b2a
Merge pull request #314 from eccenca/fix/useCorrectEdgesAndArrows-CME…
haschek Aug 25, 2025
0d37bec
Merge remote-tracking branch 'origin/develop' into feature/includeDev…
haschek Aug 26, 2025
fd4e22c
Merge pull request #328 from eccenca/feature/includeDevelopToNext-CME…
haschek Sep 2, 2025
8d7ebd3
Merge branch 'next' into feature/tourComponent-CMEM-6790
haschek Sep 2, 2025
e915346
fix compile issue
haschek Sep 2, 2025
89f98dd
adjust navigation buttons
haschek Sep 2, 2025
c272193
use smoother scrolling and place target to the center
haschek Sep 2, 2025
2e9641e
improve visual focus for tour target
haschek Sep 3, 2025
4dab32b
simplify tour overlay markup/styles
haschek Sep 3, 2025
72b0e97
align focus padding and border radius
haschek Sep 3, 2025
52d7fcc
improve dislay of text content and image
haschek Sep 3, 2025
f46f939
move image examples to english tour example
haschek Sep 3, 2025
96bec84
fix stacking and image sizing
haschek Sep 3, 2025
e34081d
Merge remote-tracking branch 'origin/next' into feature/colorPalette-…
haschek Sep 8, 2025
2869265
add check for transparent color
haschek Sep 8, 2025
d320cb8
adjust minimap background for non visible parts
haschek Sep 9, 2025
c971625
Observe changes to highlighted element and re-new highlighting if needed
andreas-schultz Sep 9, 2025
ab2042c
if text is color then look directly for nearest palette neighbour
haschek Sep 9, 2025
a39a440
demonstrate hash calculation for color strings
haschek Sep 9, 2025
75913ae
use only css properties for react flow color configs
haschek Sep 9, 2025
93f454d
apply suggested palette
haschek Sep 9, 2025
5d5335c
move color functions to own file
haschek Sep 10, 2025
c6eadd9
do not include 500 weights into contrast difference calculation
haschek Sep 10, 2025
80a5a1e
adjust visible odds in palette by eye
haschek Sep 10, 2025
54f4df1
Added icon for SQL query operators.
robertisele Sep 10, 2025
c40acfb
fix setting of library prefix
haschek Sep 10, 2025
fcdc5d9
add return types
haschek Sep 11, 2025
9c99f9a
includecheck for colors defined by other css custom property relations
haschek Sep 11, 2025
17275de
update changelog
haschek Sep 11, 2025
72e5ca4
align scss output with stylelinter rules
haschek Sep 15, 2025
33a08c3
update palette
haschek Sep 15, 2025
a5f39dc
update readme regarding usage of the new color palette configuration
haschek Sep 15, 2025
f637cc8
fix step overlay height
haschek Sep 15, 2025
e9474a2
add usableStepTarget property
haschek Sep 15, 2025
200d916
relocate target highlighting when window is resized
haschek Sep 16, 2025
c8e0bee
add property to prevent direct rendering and extend story to document…
haschek Sep 16, 2025
d1eeab5
remove german example from story because we would need to maintain it…
haschek Sep 16, 2025
0b93492
add shutdown process for a tour when closed
haschek Sep 16, 2025
a472c24
fix typo
haschek Sep 16, 2025
c66a26b
fix card height in tour modals
haschek Sep 16, 2025
5508a99
Merge remote-tracking branch 'origin/feature/tourComponent-CMEM-6790'…
haschek Sep 17, 2025
47811f6
Merge remote-tracking branch 'origin/feature/colorPalette-ECC-6637-CM…
haschek Sep 17, 2025
58cd5c9
Merge remote-tracking branch 'origin/develop' into festure/prepareFin…
haschek Sep 17, 2025
0d27bf4
update palette
haschek Sep 17, 2025
adaba86
update palette
haschek Sep 18, 2025
2642321
remove unused legacy replacements
haschek Sep 22, 2025
44b89fe
remove deprecated comment as the code changed already
haschek Sep 22, 2025
0ebd5cd
remove deprecated intent state properties
haschek Sep 22, 2025
5d0bf6f
remove deprecated intent state properties
haschek Sep 22, 2025
2e40d5b
fix usage of intent property
haschek Sep 22, 2025
6f68472
remove interface exports that were marked as deprecated before
haschek Sep 23, 2025
7b2a7ff
fix type import
haschek Sep 23, 2025
b68160a
update changelog
haschek Sep 23, 2025
72e027e
change name and behaviour of property
haschek Sep 23, 2025
b9fd1c0
Merge pull request #310 from eccenca/feature/tourComponent-CMEM-6790
haschek Sep 23, 2025
e873f97
Merge remote-tracking branch 'origin/next' into feature/prepareFinalN…
haschek Sep 23, 2025
731e04a
remove unsupported scss variables from configuration
haschek Sep 23, 2025
36b562a
Merge branch 'next' into feature/sqlUpdate-CMEM-4031
haschek Sep 24, 2025
350c33d
fix height of inline spinner
haschek Sep 24, 2025
f5f49a6
remove properties that were marked as depreciated before
haschek Sep 24, 2025
f8e1d74
fix react flow background visibility
haschek Sep 25, 2025
e3f1f81
remove old type definitions for edges and nodes
haschek Sep 25, 2025
186d252
update palette
haschek Sep 25, 2025
45d0763
update configuration re palette usage
haschek Sep 25, 2025
84564a6
apply new react flow color configurations
haschek Sep 29, 2025
204a3b0
do not use blueish colors for class/instance
haschek Sep 29, 2025
81d4ca0
remove deprecated replacements for legacy components
haschek Sep 30, 2025
92115bb
make MiniMap compatible with react flow v9 and v12
haschek Sep 30, 2025
0603d6d
postpone ofType removement to v26, keep it as deprecated in v25
haschek Sep 30, 2025
c545767
finalize color configs for react flow editors
haschek Sep 30, 2025
7b568fe
Merge remote-tracking branch 'origin/next' into feature/colorPalette-…
haschek Sep 30, 2025
f204dab
Merge pull request #246 from eccenca/feature/colorPalette-ECC-6637-CM…
haschek Oct 2, 2025
ffaff29
Merge branch 'next' into feature/sqlUpdate-CMEM-4031
haschek Oct 2, 2025
4ddad6a
update changelog
haschek Oct 2, 2025
416dbaf
Merge pull request #332 from eccenca/feature/sqlUpdate-CMEM-4031
haschek Oct 2, 2025
a90c2a3
Merge remote-tracking branch 'origin/next' into feature/prepareFinalN…
haschek Oct 2, 2025
a20dfa0
Merge remote-tracking branch 'origin/feature/nextWithoutLegacyReplace…
haschek Oct 2, 2025
eab7825
Do not calculate relative offset for highlighting ranges received fro…
andreas-schultz Oct 10, 2025
70ade27
Merge branch 'next' into feature/keyValueParameterType-CMEM-6277
andreas-schultz Oct 10, 2025
e346f1b
Merge branch 'next' into feature/nextWithoutLegacyReplacements-CMEM-6943
haschek Oct 13, 2025
583652b
Merge pull request #334 from eccenca/feature/nextWithoutLegacyReplace…
haschek Oct 13, 2025
ddc05f9
Merge branch 'next' into feature/prepareFinalNext-CMEM-6943
haschek Oct 13, 2025
ebb81b9
bugfix: react-flow bidirectional edge (CMEM-7005)
fiorsaoirse Oct 13, 2025
9e3f67f
remove static test ids that have been deprecated so far
haschek Oct 13, 2025
d63253b
remove usage of old PluggableList type
haschek Oct 13, 2025
1824ca1
Add changelog entry
andreas-schultz Oct 14, 2025
f977e3c
Merge branch 'next' into feature/keyValueParameterType-CMEM-6277
haschek Oct 14, 2025
f5ee0e1
Update the changelog entry, removed outdated prop from stories
fiorsaoirse Oct 14, 2025
8192a7e
Merge pull request #339 from eccenca/bugfix/react-flow-bidirectional-…
haschek Oct 14, 2025
f955b60
Merge branch 'next' into feature/keyValueParameterType-CMEM-6277
haschek Oct 14, 2025
e512cc9
Merge remote-tracking branch 'origin/next' into feature/prepareFinalN…
haschek Oct 14, 2025
454c99e
bugfix: fixed a typo
fiorsaoirse Oct 15, 2025
59cbd95
Merge pull request #340 from eccenca/bugfix/typo-CMEM-6943
haschek Oct 15, 2025
faae1b7
Merge branch 'next' into feature/keyValueParameterType-CMEM-6277
haschek Oct 15, 2025
b1d446a
Merge pull request #337 from eccenca/feature/keyValueParameterType-CM…
haschek Oct 15, 2025
f144fab
Merge branch 'next' into feature/prepareFinalNext-CMEM-6943
haschek Oct 15, 2025
4d9913b
Merge remote-tracking branch 'origin/develop' into feature/mergeLates…
haschek Oct 15, 2025
1195f6c
Merge pull request #341 from eccenca/feature/mergeLatestDevelopIntoNe…
robertisele Oct 15, 2025
1ce7205
Merge remote-tracking branch 'origin/next' into feature/prepareFinalN…
haschek Oct 15, 2025
f0d24f1
Always add class 'nodrag' to SuggestField's popover content element
andreas-schultz Oct 15, 2025
fa9d629
Merge branch 'next' into fix/mappingCreatorUndoRedo-CMEM-6850
haschek Oct 16, 2025
d207cfb
harden rgba() replacement re value signature and use warning to see f…
haschek Oct 16, 2025
f49171b
fix rgba signature splitting
haschek Oct 16, 2025
d1d524c
set outerDivAttributes as deprecated on CodeEditor
haschek Oct 20, 2025
6d28a84
improve comments
haschek Oct 20, 2025
1640305
add workaround to prevent some CSS minifiers from reducing 0% color-m…
haschek Oct 21, 2025
9a3c484
remove TODO comment
haschek Oct 21, 2025
8b74014
remove unsupported description roperty
haschek Oct 21, 2025
0775022
do not use description property because it was removed
haschek Oct 21, 2025
786046c
Merge pull request #333 from eccenca/feature/prepareFinalNext-CMEM-6943
andreas-schultz Oct 21, 2025
a6a3479
Merge branch 'next' into fix/mappingCreatorUndoRedo-CMEM-6850
haschek Oct 21, 2025
e22a093
Merge pull request #342 from eccenca/fix/mappingCreatorUndoRedo-CMEM-…
haschek Oct 21, 2025
e6f74ca
Prepare release v25.0.0
haschek Oct 21, 2025
8d365d8
improve changelog messages
haschek Oct 21, 2025
b737d88
fix vertical alignment of icon buttons and context menu in chat field
haschek Oct 22, 2025
f69a573
use color var for textfield bg color
haschek Oct 22, 2025
4999562
swap colors for linking and transform node in workflow editor
haschek Oct 22, 2025
1177cc0
add missing styles for icon intent states
haschek Oct 22, 2025
8451e50
make icon overview at least searchable by browser text search functio…
haschek Oct 22, 2025
0e7f782
add taggle icons for caret arrows and microphone states
haschek Oct 22, 2025
6c286d5
Support tracking of Modal open/close states
andreas-schultz Oct 24, 2025
9003cf4
Change modal open property in modal context to open modal stack
andreas-schultz Oct 24, 2025
8196012
fix display of markdown generated code snippet in notification body
haschek Oct 27, 2025
b48de34
add petrol to color palette
haschek Oct 28, 2025
bf22d7f
fix tag color weights and improve calculation process for intent stat…
haschek Oct 28, 2025
0a6f453
fix color of default nodes on minimap
haschek Oct 28, 2025
a665e99
improve color configurations to keep it closer to the former colors
haschek Oct 28, 2025
3dcd54c
adjust visibility of react flow background patterns
haschek Oct 28, 2025
590a9ca
fix css custom property name of replaceable input color
haschek Oct 28, 2025
5587ff3
added the right dependencies
arausly Oct 28, 2025
836a88a
Make react-flow prevent-event classes configurable in Modal (default …
andreas-schultz Oct 29, 2025
f727ac1
Add story for modal context and open/closed state tracking with neste…
andreas-schultz Oct 29, 2025
b8b965f
Merge branch 'release/v25.0.0' into fix/reactFlowModal-MT-30
andreas-schultz Oct 29, 2025
17a0bd1
align Button intent states visually with intent states of other compo…
haschek Oct 29, 2025
d2ba0b1
extend info re Button intent change
haschek Oct 30, 2025
dc4235c
fix button usage in storybook
haschek Oct 30, 2025
abf9c05
fix property descriptions
haschek Oct 30, 2025
a0bac96
align Spinner intent display with other components
haschek Oct 30, 2025
90d145d
Merge branch 'release/v25.0.0' into fix/hotkeysDuringDialog-CMEM-6851
andreas-schultz Oct 30, 2025
054e91d
make tag borders more visible
haschek Oct 30, 2025
2dee28e
Align preventReactFlowEvents default value (true) in Modal and Simple…
andreas-schultz Oct 30, 2025
a5949e8
Merge pull request #346 from eccenca/fix/resizingValueFormularEditorBug
haschek Oct 30, 2025
0359afb
Merge pull request #348 from eccenca/fix/reactFlowModal-MT-30
haschek Oct 30, 2025
3ab0078
Merge remote-tracking branch 'origin/release/v25.0.0' into fix/hotkey…
haschek Oct 30, 2025
d435281
update changelog
haschek Oct 30, 2025
c0b6276
fix button colors on active, disabled, hovered states combined with t…
haschek Oct 30, 2025
bbdea91
make intent available easily on ProgressBar storybook example
haschek Oct 30, 2025
8976ff8
Use explicit portal element under body element for nested modals
andreas-schultz Oct 30, 2025
c3525ec
fix export of ModalContext
haschek Oct 30, 2025
1d4f034
improve display of ModalContext example
haschek Oct 30, 2025
96f58c4
add simple example as comment
haschek Nov 3, 2025
9ec51f2
Merge remote-tracking branch 'origin/release/v25.0.0' into fix/hotkey…
haschek Nov 3, 2025
3a74d9f
swap colors
haschek Nov 3, 2025
e091987
Merge pull request #345 from eccenca/fix/hotkeysDuringDialog-CMEM-6851
haschek Nov 3, 2025
1467348
display icons in custom edge labels
haschek Nov 3, 2025
1c92ece
do not use random id to prevent changes in the visual storybook tests
haschek Nov 3, 2025
f5f381f
add text reducer to replace extra characters
arausly Nov 4, 2025
4487c8e
modified textreducer
arausly Nov 4, 2025
b497b1d
moved utility and made refactors
arausly Nov 5, 2025
40d263c
Refactor modal context
andreas-schultz Nov 5, 2025
9437f60
Merge pull request #350 from eccenca/fix/modalContext
haschek Nov 6, 2025
4a0ee46
Merge remote-tracking branch 'origin/release/v25.0.0' into fix/taskPa…
haschek Nov 6, 2025
bcc7def
improve changelog info
haschek Nov 6, 2025
16de95b
define properties only 1 time and reuse them
haschek Nov 6, 2025
375c832
Merge pull request #349 from eccenca/fix/taskParameterDescNotRendered…
haschek Nov 6, 2025
7e73b03
Fix simpleDialogProps parameter in StickyNoteModal
andreas-schultz Nov 7, 2025
0daef82
Merge pull request #352 from eccenca/fix/stickyNoteModal
arausly Nov 7, 2025
1a729b8
add short delay before the context overlay placeholder is replaced by…
haschek Nov 10, 2025
2956b38
lighten success color a bit to make it more distinct from text color …
haschek Nov 11, 2025
b16dd3b
use variables for edge rules and allow anti-aliasing
haschek Nov 11, 2025
f816978
added more icons
arausly Nov 12, 2025
9494496
added change log
arausly Nov 12, 2025
adf561e
Merge pull request #353 from eccenca/feature/createMissingIconsForBui…
andreas-schultz Nov 13, 2025
22223c5
fix auto-coloring of buttons in notifications
haschek Nov 13, 2025
0117685
add new icons for togglers and states
haschek Nov 17, 2025
35a0eed
add more icons
haschek Nov 17, 2025
3504352
removed plugin to allow md expectations
arausly Nov 18, 2025
a76f626
switch arrow direction for asc/desc sort icon
haschek Nov 18, 2025
1b14a61
update jest package
haschek Nov 18, 2025
2db3b63
improve changelog, add section about migration to new major version
haschek Nov 18, 2025
703e665
fix test id usage
haschek Nov 20, 2025
0b388f9
improve placeholder replacement for click events on context overlays
haschek Nov 20, 2025
55f0a35
fix test for click on ContexMenu with active placeholder
haschek Nov 20, 2025
bc26ab9
add suggested code improvements
haschek Nov 24, 2025
77cbccc
add suggested code improvements
haschek Nov 24, 2025
9e02e77
stop click event because it is triggered again after replacement
haschek Nov 24, 2025
bced125
correct typos and clarify some information
haschek Nov 25, 2025
14f4cf6
improve ModalContext example
haschek Nov 25, 2025
14eb384
remove wrong example string
haschek Nov 25, 2025
d6a63d3
add library to en/decode HTML entities
haschek Nov 26, 2025
329461b
add decode utility method and use it as an option for the reduceToTex…
haschek Nov 26, 2025
2ee960f
fix overwriting default options for decoding and add tests
haschek Nov 26, 2025
4f9c67b
fix some typos
haschek Nov 26, 2025
4125ac2
Merge pull request #355 from eccenca/feature/contextOverlayImprovePla…
haschek Nov 26, 2025
be337c3
Clean up test
andreas-schultz Nov 27, 2025
2ccdec0
Merge pull request #358 from eccenca/feature/provideHtmlEntitiesDecod…
andreas-schultz Nov 27, 2025
3956280
Merge pull request #344 from eccenca/release/v25.0.0
haschek Dec 1, 2025
7d1d5db
Update changelog section to 25.0.0
haschek Dec 1, 2025
71088f6
Merge pull request #359 from eccenca/maintain/mergeReleaseTag-v25.0.0
haschek Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/deployment-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
- uses: actions/checkout@main
with:
fetch-depth: 0
- name: Workflow git state
run: |
echo github.ref: ${{ github.ref }}
echo github.event_name: ${{ github.event_name }}
echo github.actor: ${{ github.actor }}
git status
git log --oneline -1
- uses: actions/setup-node@main
with:
node-version: "18"
Expand All @@ -32,7 +39,7 @@ jobs:
- name: Create jest results
run: yarn test:generate-output
- name: Publish to Chromatic
uses: chromaui/action@v11
uses: chromaui/action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand Down
7 changes: 6 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ module.exports = {
},
webpackFinal: async (config, { configType }) => {
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION'

if (configType === "PRODUCTION") {
// remove source maps from production storybook
// this may lead to errors when it is created via github workers
// reason is currently not known
config.devtool = false;
}
config.module.rules = [
{
test: /\.(png|jpg|gif|svg)(\\?.*)?$/,
Expand Down
142 changes: 140 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

## [25.0.0] - 2025-12-01

This is a major release, and it might be not compatible with your current usage of our library. Please read about the necessary changes in the section about how to migrate.

### Migration from v24 to v25

- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in **Deprecated** sections of the past changelogs
- in case you set your own colors before importing GUI elements you need to update your configuration to the new color palette structure, see `README.md`
- change `intent="primary"` to `intent="accent"` for `<Button />`, `<IconButton />` and `<Spinner />`, if supported you may check if it is better to use `affirmative={true}` or `elevated={true}` instead of `intent`

### Added

- `<ChatContent />`
Expand All @@ -20,6 +30,115 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- reduces HTML to simple text and can display it as one ellipsed line
- `<Tooltip />`
- prove useage of `usePlaceholder` by jest test coverage
- `<EdgeStraight />`
- it's basically `<EdgeDefault />` without any special configs
- `<EdgeBezier />`
- only supported for v12, in v9 as straight edge is used
- use `curvature` property in the edge `data` object to define the bezier layout (0..1, default: 0.25)
- `<EdgeDefaultV12 />`
- the `data` object provides `markerAppearance` to set and remove the edge arrows
- `<EdgeDefault />`
- introduced the new `arrowDirection` property, including support for bidirectional edges - supported only for `<EdgeDefaultV12 />`
- `<EdgeNew />`
- component for React Flow v12, displaying new connection lines
- `<VisualTour />`
- component to display a visual tour multi-step tour of the current view
- `<Button />`
- `accent` value for `intent` was added to align property with other components
- `<Spinner />`
- `accent` value for `intent` was added to align property with other components
- `elevated` property can be used to highlight the spinner, currently the `intent="accent"` display is used
- `<Modal />`:
- Add `ModalContext` to track open/close state of all used application modals.
- Add `modalId` property to give a modal a unique ID for tracking purposes.
- `preventReactFlowEvents`: adds 'nopan', 'nowheel' and 'nodrag' classes to overlay classes in order to prevent react-flow to react to drag and pan actions in modals.
- new `utils` methods
- `colorCalculateDistance()`: calculates the difference between 2 colors using the simple CIE76 formula
- `textToColorHash()`: calculates a color from a text string
- `reduceToText`: shrinks HTML content and React elements to plain text, used for `<TextReducer />`
- `decodeHtmlEntities`: decode a string of HTML text, map HTML entities back to UTF-8 chars
- SCSS color functions
- `eccgui-color-var`: returns a var of a custom property used for palette color
- `eccgui-color-mix`: mix 2 colors in `srgb`, works with all types of color values and CSS custom properties
- `eccgui-color-rgba`: like `rgba()` but it works also for CSS custom properties
- Color palette: includes 4 sections with 20+ color tints in 5 weights each
- indentity, semantic, layout, extra
- managed via CSS custom properties
- see `README.md` for more information about usage
- New icons
- `artefact-task-sqlupdatequeryoperator`
- `artefact-task-customsqlexecution`
- `item-legend`
- `operation-tour`
- `toggler-carettop`
- `toggler-caretleft`
- `toggler-micon`
- `toggler-micoff`
- `toggler-radio`
- `toggler-radio-checked`
- `state-flagged`
- `state-progress`
- `state-progress-error`
- `state-progress-warning`
- more icons for build tasks

### Removed

- support for React Flow v10 was completely removed
- removed direct replacements for legacy components (imported via `@eccenca/gui-elements/src/legacy-replacements` or `LegacyReplacements`)
- `<AffirmativeButton />`, `<Button />`, `<DismissiveButton />`, `<DisruptiveButton />`, `<Checkbox />`, `<RadioButton />`, `<Tabs />`, `<TextField />`
- `<Button />`, `<FieldItem />`, `<FieldSet />`, `<MultiSuggestField />`
- removed support for old state properties `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger`
- `<Notification />`
- removed support for old state properties `neutral`, `success`, `warning` and `danger`
- `<Icon />`
- removed `description` and `iconTitle` properties
- `<OverviewItemList />`
- `densityHigh` property was removed
- `<CodeEditor />`
- static fallback for test id `codemirror-wrapper` was removed, add `data-test-id` (or your test id data attribute) always directly to `CodeEditor`.
- `<EdgeDefault />`
- removed `inversePath` property, can be replaced with `arrowDirection: "inversed"` property
- `<Spinner />`
- `description` property was removed because it was defined but not implemented for a very long time, but we plan to add that type of caption later
- `nodeTypes` and `edgeTypes` exports were removed
- use `<ReactFlow />` with `configuration`, or define it yourself
- SCSS variables `$eccgui-color-application-text` and `$eccgui-color-application-background` were removed
- use `$eccgui-color-workspace-text` and `$eccgui-color-workspace-background`
- Removed `remark-typograf` plugin from `<Markdown />` rendering to maintain display expectation

### Fixed

- `<CodeAutocompleteField />`:
- In multiline mode, validation errors might be highlighted incorrectly (relative line offset added).

### Changed

- `<EdgeDefault />` and `<EdgeStep />`
- support now v9 and v12 of react flow
- `<ReactFlowExtended />`
- use `<EdgeNew />` by default for new connection lines, you can overwrite it by setting `connectionLineComponent` to `undefined`
- `<Spinner />`
- `color` property does not accept `intent` values anymore
- `<OverflowText />`
- beside explicitly specified properties it allows only basic HTML element properties and testing IDs
- overrite the native SCSS `rgba()` function, so it now works for SCSS color values and CSS custom properties
- `<SuggestField />`
- Always add class 'nodrag' to popover content element to always prevent dragging of react-flow and dnd-kit elements when interacting with the component.
- `utils.getColorConfiguration()` works with CSS custom properties
- property names returned by `getColorConfiguration` were changed to kebab case because they are originally defined via CSS custom properties
- e.g. `graphNode` is now `eccgui-graph-node` and `graphNodeBright` is `eccgui-graph-node-bright`
- `<Button />` and `<IconButton />`
- `intent` display was aligned with other components, `intent="primary"` is now `intent="accent"`, in most cases it may be better to use `affirmative={true}` or `elevated={true}` instead of primary/accent intent
- `<Spinner />`
- `intent` display was aligned with other components, `intent="primary"` is now `intent="accent"`, in most cases it may be better to use `elevated={true}` instead of using intent
- icons: arrow directions for `list-sortasc` and `list-sortdesc` were switched, up arrow is now used for ascending sort

### Deprecated

- support for React Flow v9 will be removed in v26
- `<EdgeDefs />`
- use `<ReactFlowMarkers />` or build it on single `<ReactFlowMarker />`

## [24.4.1] - 2025-08-25

Expand Down Expand Up @@ -129,6 +248,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

### Changed

- `eslint` libraries were upgraded to v9, so `node` v18.18 or higher is required
- react flow integration by renaming their resources from `legacy` and `next` to more precise `v9` and `v10`:
- `HandleProps`: renamed to `HandleV9Props`
- `HandleNextProps`: renamed to `HandleV10Props`
- if provided then the `flowVersion` property do not accept `legacy` and `next` as values anymore, use `v9` and `v10`
- some more interfaces are exposed:
- `IntentBlueprint`: BlueprintJS intent types, also available by `DefinitionsBlueprint`
- `TableDataContainerProps`, `TableSimpleContainerProps`, `TableHeadProps`, `TableBodyProps`, `TableExpandedRowProps`, `TableHeaderProps` and `DataTableRenderProps` as interfaces for diverse table components
Expand All @@ -151,6 +275,18 @@ Old bundlers like webpack4 do not support the `exports` field from `package.json

If you use Jest then you can use the same aliases for the `moduleNameMapper` config, if necessary.

### Deprecated

- `HandleV9Props` and `HandleV10Props` export will be removed, use only `HandleDefaultProps`
- `<NodeContent />`
- `businessDate`: will be removed because it is already not used
- `<ReactFlow />`: use `<ReactFlowExtended />`

### Migration from v24 to v25

- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in **Deprecated** sections of the v24.\* changelogs.
- we changed the integration of the supported react flow versions, formerly names `legacy` and `next` resources were renamed to more precise `v9` and `v10`, please see all info in the section about changes

## [24.1.0] - 2025-04-16

### Added
Expand Down Expand Up @@ -223,6 +359,8 @@ If you use Jest then you can use the same aliases for the `moduleNameMapper` con
- use always `<Label/>` component for `label` value
- `<StickyNoteNode />`
- Refactored data structure position and dimension (breaking change)
- `<MiniMap />`
- component supports now React Flow v9 and v12

### Deprecated

Expand Down Expand Up @@ -422,8 +560,6 @@ This is a major release, and it might be not compatible with your current usage
- `<MultiSuggestField />`
- Updated the interface with the ability to use either `selectedItems` or `prePopulateWithItems` properties, which is more logical.
- Fixed deferred `selectedItems` setting.
- `<StickyNoteModal/>`
- static test id `data-test-id="sticky-note-modal"` will be removed with next major version
- `<BreadcrumbsList />`
- `onItemClick` handler is only executed if breadcrumb has `href` set because this is one callback parameter and the handler would not have any information otherwise
- `<Depiction />`
Expand All @@ -450,6 +586,8 @@ This is a major release, and it might be not compatible with your current usage

- `<TextArea />`
- `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties: use the `intent` property instead.
- `<StickyNoteModal/>`
- static test id `data-test-id="sticky-note-modal"` will be removed with next major version

## [23.6.0] - 2024-04-17

Expand Down
79 changes: 63 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,69 @@ yarn add --dev @types/carbon-components-react

### Configuration

All [configuration variables](https://github.com/eccenca/gui-elements/blob/develop/src/configuration/_variables.scss) can be set before importing the full library or the default configuration but for the main changes you should need to change only a few parameters:

- Basic colors
- `$eccgui-color-primary`: color for very important buttons and switches
- `$eccgui-color-primary-contrast`: readable text color used on primary color areas
- `$eccgui-color-accent`: color for most conformation buttons, links, etc
- `$eccgui-color-accent-contrast`: readable text color used on accent color areas
- `$eccgui-color-applicationheader-text`
- `$eccgui-color-applicationheader-background`
- `$eccgui-color-workspace-text`
- `$eccgui-color-workspace-background`
- Basic sizes
- `$eccgui-size-typo-base`: size including absolute unit, currently only `px` is supported
- `$eccgui-size-typo-base-lineheight`: only ratio to font size, no unit!
- `$eccgui-size-type-levelratio`: ratio without unit! used to calculate different text sizes based on `$eccgui-size-typo-base`
- `$eccgui-size-block-whitespace`: white space between block level elements, currently only `px` is supported
All [configuration variables](https://github.com/eccenca/gui-elements/blob/develop/src/configuration/_variables.scss) can be set before importing the full library or the default configuration but for the main properties you should need to change only a few parameters

#### Colors

Since v25 we use a color palette as basic foundation for color configurations. The palette is defined in 4 sections containing various color tints, each tint includes 5 different weights from 100 (light color) to 900 (dark color).

The default palette can be overwritten if it is defined before the configuration or full library is imported to your Sass styles. The palette need to be defined entirely, we currently don't support overwriting it partly.

```
$eccgui-color-palette-light: (
"identity": (
"brand": #fae1cc #f8cd99 #f6b966 #f4a533 #f29100,
"accent": #e5f4fb #aecfe3 #77abca #4186b2 #0a6199,
"text": #f8f8f8 #bcbcbc #818181 #434343 #090909,
"background": #fff #e8e8e8 #d6d6d6 #d4d4d4 #d3d3d3,
),
"semantic": (
"info": #e5f4fb #aecfe3 #77aaca #4086b2 #096199,
"success": #e8f5e9 #b2c6b4 #7c967e #466749 #103713,
"warning": #fff3e0 #fad2b3 #f5b287 #f0915a #eb702d,
"danger": #fff5f6 #edbfc0 #db8989 #c95253 #b71c1c,
),
"layout": (
"yellow": #fff6d5 #f1ecb5 #e3db79 #d4c93c #c1a500,
"purple": #f4ddf3 #c8a2d1 #9d6eb8 #71378f #480e75,
"magenta": #ffd8e8 #f5a6c3 #e276a4 #be4c80 #59122d,
"pink": #fde4f1 #e6b4ce #d08aae #bb5f8e #711c4d,
"violet": #f4e3f4 #d8b0d8 #b377b3 #904490 #570057,
"indigo": #efe4fb #b89ee0 #8f72c5 #6547aa #3b1e8f,
"cyan": #dff9fc #86d6e5 #5abfd4 #2da9c4 #0092b3,
"teal": #d4f2ec #a3ddd3 #6dc0b2 #479d8d #104c42,
"lime": #cde0d6 #bce3c2 #9dcd99 #7ba66c #87b347,
"amber": #ffe7b8 #ffe9c4 #f9cd8d #eeb757 #ef8f00,
"vermilion": #ffd8cc #e4c4ba #b27a6b #8c4b3a #651c09,
"grey": #f5f6f7 #b7b7b7 #808080 #484848 #1c2329,
),
"extra": (
"gold": #fff7d5 #ebd893 #dfc670 #d3b44e #c7a22b,
"silver": #f0f0f0 #dedede #ccc #bababa #a8a8a8,
"bronze": #fbe9db #f2d6bc #eac29d #e1af7e #d89b5f,
),
);
```

All palette colors will be transformed into CSS custom properties automatically and can be referenced by name scheme `--eccgui-color-palette-{groupname}-{colortint}-{colorweight}`, e.g. `--eccgui-color-palette-identity-brand-100`.

All other colors are based on the palette but it is still possible to set them before the default values are used by importing the configuration or the full library.

- `$eccgui-color-primary`: color for very important buttons and switches
- `$eccgui-color-primary-contrast`: readable text color used on primary color areas
- `$eccgui-color-accent`: color for most conformation buttons, links, etc
- `$eccgui-color-accent-contrast`: readable text color used on accent color areas
- `$eccgui-color-applicationheader-text`
- `$eccgui-color-applicationheader-background`
- `$eccgui-color-workspace-text`
- `$eccgui-color-workspace-background`

#### Sizes

- `$eccgui-size-typo-base`: size including absolute unit, currently only `px` is supported
- `$eccgui-size-typo-base-lineheight`: only ratio to font size, no unit!
- `$eccgui-size-type-levelratio`: ratio without unit! used to calculate different text sizes based on `$eccgui-size-typo-base`
- `$eccgui-size-block-whitespace`: white space between block level elements, currently only `px` is supported

## Development

Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@eccenca/gui-elements",
"description": "GUI elements based on other libraries, usable in React application, written in Typescript.",
"version": "24.4.1",
"version": "25.0.0",
"license": "Apache-2.0",
"homepage": "https://github.com/eccenca/gui-elements",
"bugs": "https://github.com/eccenca/gui-elements/issues",
Expand Down Expand Up @@ -73,6 +73,7 @@
"@blueprintjs/select": "^5.3.19",
"@carbon/icons": "^11.58.0",
"@carbon/react": "^1.80.1",
"@codemirror/lang-html": "^6.4.9",
"@codemirror/lang-javascript": "^6.2.3",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-markdown": "^6.3.2",
Expand All @@ -86,18 +87,17 @@
"codemirror": "^6.0.1",
"color": "^4.2.3",
"compute-scroll-into-view": "^3.1.1",
"he": "^1.2.0",
"jshint": "^2.13.6",
"lodash": "^4.17.21",
"n3": "^1.25.1",
"re-resizable": "^6.10.3",
"react": "^16.13.1",
"react-dom": "^16.14.0",
"react-flow-renderer": "9.7.4",
"react-flow-renderer-lts": "npm:react-flow-renderer@^10.3.17",
"react-inlinesvg": "^3.0.3",
"react-is": "^16.13.1",
"react-markdown": "^10.1.0",
"react-markdown-deprecated": "npm:react-markdown@^8.0.7",
"react-syntax-highlighter": "^15.6.1",
"rehype-external-links": "^3.0.0",
"rehype-raw": "^7.0.0",
Expand Down Expand Up @@ -135,6 +135,7 @@
"@testing-library/react": "^12.1.5",
"@types/codemirror": "^5.60.15",
"@types/color": "^3.0.6",
"@types/he": "^1.2.3",
"@types/jest": "^29.5.14",
"@types/jshint": "^2.12.4",
"@types/lodash": "^4.17.16",
Expand All @@ -151,8 +152,8 @@
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "4",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-pnp-resolver": "^1.2.3",
"lint-staged": "^15.5.1",
"node-sass-package-importer": "^5.3.3",
Expand Down
2 changes: 1 addition & 1 deletion src/_shame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ textarea:focus-visible {
}

:focus-visible {
outline: rgba($eccgui-color-accent, $eccgui-opacity-muted) solid 2px;
outline: eccgui-color-rgba($eccgui-color-accent, $eccgui-opacity-muted) solid 2px;
outline-offset: 1px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ function firstNonEmptyLine(preview: string) {

export const stringPreviewContentBlobTogglerUtils = {
firstNonEmptyLine,
};
};
1 change: 0 additions & 1 deletion src/cmem/markdown/Markdown.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import { Blockquote } from "@blueprintjs/core";
import { Meta, StoryFn } from "@storybook/react";

import { Markdown } from "./../../../index";
Expand Down
Loading