You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 618453c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
30
30
- already set `id` values and connections are never overwritten
31
31
- ID references created by the field item are removed again if their part is removed from the field item
32
32
- `preventAriaAttribution` property: prevents this automatic connection of the field item parts
33
+
-`<Modal />`
34
+
-`role`, `aria-label`, `aria-labelledby` and `aria-describedby` properties: they are set on the dialog element inside the modal overlay
35
+
- `role` is `dialog` by default, but it is removed again if neither a label nor a description is available; a console warning points this out when the modal is opened
36
+
-`aria-modal` is set together with the `role`, so it is left out as well if the `role` was removed
37
+
- it is `true` for the modal that was opened last according to the `ModalContext`, otherwise it is `false`
38
+
- if no `ModalContext` is provided, then the modals cannot know about each other, so each of them claims modality
39
+
-`<SimpleDialog />`
40
+
-`role` and the aria attributes are set automatically now if they are not given
41
+
-`role` is `alertdialog` if an `intent` state is set that describes an alert (`success`, `warning`, `danger` or `info`), otherwise it is `dialog`
42
+
- for those alert intent states the content area gets an `id` and is referred by the dialog via `aria-describedby`
43
+
- explicitly given values are never overwritten
44
+
- if neither `title`, `aria-label` nor `aria-labelledby` is given for an alert, then the `intent` level is used as fallback for `aria-label`, so the alert dialog always has an accessible name
33
45
- new `utils` methods:
34
46
-`truncateMarkdownDisplay`: helper function to iterate over `Markdown` renderings to improve the experienced `cutOff` value
35
47
- new icons:
@@ -44,6 +56,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
44
56
- the build of the ESM distribution needs a synchronous `import.meta.resolve`, which is only available since this version
45
57
-`<FieldItem />`
46
58
- the used `Label` element gets the `eccgui-fielditem__label` class now
59
+
-`<AlertDialog />`
60
+
- always uses `role="alertdialog"` now
61
+
- the `role` property is not accepted anymore
62
+
-`ModalContext`
63
+
- a change of the stack of open modals re-renders the consumers of the context now, this way modals can react on modals that are opened on top of them, e.g. to hand over `aria-modal`
64
+
- before only an internal reference was updated, which never triggered any re-render
65
+
- the component that provides the context via `useModalContext` is re-rendered on every change of the stack, but not if a change does not affect it, e.g. when a modal is closed that was never registered as open
66
+
- `openModalStack()` still returns the current stack synchronously, also directly after `setModalOpen()` was called
67
+
-`<CodeEditor />`
68
+
-`enableTab` overrides the Tab behaviour derived from `mode` and `tabIntentStyle` now, if it is set
69
+
- `enableTab={false}` lets Tab always move the focus, even for modes with tab indentation
70
+
- if it is not set, Tab is still handled as indentation for modes with `tabIntentStyle="tab"`
71
+
-`<AutoSuggestion />`
72
+
- Tab is only handled in the editor if `useTabForCompletions` is enabled, as side effect it currently also enables tab indentation
47
73
-`<StringPreviewContentBlobToggler />`
48
74
-`allowedHtmlElementsInPreview` option is set to inline elements on default
49
75
- uses now the `Markdown.cutOff` property
@@ -61,6 +87,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
61
87
-`show={"print"}` and `hide={"screen"}` content is still accessible by screen readers
62
88
-`<Label />`
63
89
-`tooltip` content is accessible via keyboard navigation
90
+
-`<Card />`
91
+
- fix color of first action button in info card
64
92
- BOM issue on compressed stylesheet
65
93
- first rule `selector` becomes `BOM:selector` that is valid but will never apply
66
94
- we fixed this problem by adding a dummy rule as first rule
0 commit comments