@leabankab/component-library 8.3.0 → 8.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/component-library.es.js +1293 -1190
- package/dist/component-library.es.js.map +1 -1
- package/dist/component-library.umd.js +2 -2
- package/dist/component-library.umd.js.map +1 -1
- package/dist/components/feedback/alert-parts.d.ts +7 -0
- package/dist/components/feedback/index.d.ts +1 -0
- package/dist/components/feedback/toast.d.ts +117 -0
- package/dist/dev-panel/dev-panel-payload.d.ts +30 -6
- package/dist/dev-panel/dev-panel.d.ts +22 -6
- package/dist/dev-panel/parts.d.ts +1 -1
- package/dist/dev-panel/use-dev-panel-labels.d.ts +1 -1
- package/dist/dev-panel.cjs +2 -2
- package/dist/dev-panel.cjs.map +1 -1
- package/dist/dev-panel.css +1 -1
- package/dist/dev-panel.mjs +488 -358
- package/dist/dev-panel.mjs.map +1 -1
- package/dist/index.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 8.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0685d67: DevPanel: two panels, one on each side of the page, and an editable payload.
|
|
8
|
+
|
|
9
|
+
- `DevPanel.Root` takes `position` (`"bottom-left"` or `"bottom-right"`), which fixes it to that corner of the window. While hidden, its handle sits on the same side.
|
|
10
|
+
- `DevPanel.Payload` takes `placement="panel"`: no toggle, and the payload fills a panel of its own.
|
|
11
|
+
- `DevPanel.Payload` can be edited: with `onApply`, an edit button swaps the JSON for a text box, and Apply hands the parsed JSON to the app. Invalid JSON is not applied, and the error is shown and announced. `onReset` adds a reset button.
|
|
12
|
+
- The strip at the top of the panel is a `div` instead of a `header`, so the panel no longer adds a `banner` landmark to the page.
|
|
13
|
+
|
|
14
|
+
## 8.4.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 628beee: Add toasts, on Base UI's `Toast`: short messages that float at the bottom of the screen and close by themselves, with the statuses and colours of `Alert` (`severity` and `color`). Render `ToastProvider` once around the app and call `add` on `useToastManager()`, or on a manager from `createToastManager()` outside React. Each toast takes a required `title`, a `description`, an optional `action` and a `timeout`; errors and warnings are announced at once.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 92f301b: The list of `Select`, `MultiSelect`, `Autocomplete` and `EmailInput` is now as wide as the field. A long option wraps instead of making the list wider than the field.
|
|
23
|
+
|
|
3
24
|
## 8.3.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|