@slotted/react 0.1.0-beta.25 → 0.1.0-beta.27
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/dist/{action-bar-DckD0Sug.js → action-bar-CAtXzym2.js} +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/{cascader-47GYpojH.js → cascader-CwwtJs3W.js} +189 -189
- package/dist/cascader.js +1 -1
- package/dist/{color-picker-BbyW5ALf.js → color-picker-2i3A60vD.js} +1 -1
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-Bz0bb4mq.js → column-manager-D4HIwXPi.js} +1 -1
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-BA2nvbnA.js → combobox-BpZ8i-61.js} +86 -86
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-DEKWsUFR.js → command-palette-BxbhO044.js} +11 -11
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-CfEEqDKr.js → context-menu-BJyDD17g.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{dashboard-grid-WinSY-q3.js → dashboard-grid-De6al1Mj.js} +1 -1
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-Dh-oaGY7.js → data-grid-CuHnCT01.js} +33 -33
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-iw9K_oiz.js → data-list-CuzWmmGp.js} +5 -5
- package/dist/data-list.js +1 -1
- package/dist/docs/app-shell.json +1 -1
- package/dist/docs/app-shell.md +1 -1
- package/dist/docs/chart.json +2 -0
- package/dist/docs/chart.md +1 -1
- package/dist/docs/combobox.json +1 -0
- package/dist/docs/combobox.md +1 -1
- package/dist/docs/dialog.json +24 -5
- package/dist/docs/dialog.md +2 -60
- package/dist/docs/dialog.props.md +68 -0
- package/dist/docs/drawer.json +3 -1
- package/dist/docs/drawer.md +2 -2
- package/dist/docs/menu.json +1 -0
- package/dist/docs/menu.md +1 -1
- package/dist/docs/multi-select.json +1 -0
- package/dist/docs/multi-select.md +1 -1
- package/dist/docs/select.json +1 -0
- package/dist/docs/select.md +1 -1
- package/dist/docs/skills/theme-app/SKILL.md +4 -1
- package/dist/{entity-picker-BFoKN50H.js → entity-picker-BYAlDJL-.js} +25 -25
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-BaPllnNk.js → event-calendar-BuZg4ghj.js} +2 -2
- package/dist/event-calendar.js +1 -1
- package/dist/{filter-bar-CPBr_n2c.js → filter-bar-DeBYLpbg.js} +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/{import-export-center-CzyIlQB_.js → import-export-center-CTliNoT9.js} +1 -1
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +26 -26
- package/dist/{listbox-B9cBuitS.js → listbox-BSx90S2g.js} +10 -10
- package/dist/listbox.js +1 -1
- package/dist/{menu-parts-7F8syoFE.js → menu-parts-DNQDoJnd.js} +203 -204
- package/dist/menu.js +1 -1
- package/dist/{menubar-DzVGFn_I.js → menubar-CY8oxV0V.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/{multi-select-DnOAXeuF.js → multi-select-Dh2gOp42.js} +68 -68
- package/dist/multi-select.js +1 -1
- package/dist/{saved-views-CsVRZTwK.js → saved-views-BKhAqvhI.js} +1 -1
- package/dist/saved-views.js +1 -1
- package/dist/{select-BTncjDuM.js → select-BcTau8q3.js} +194 -192
- package/dist/select.js +1 -1
- package/dist/{split-button-DA1wcDJB.js → split-button-CgfY606Z.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/styles/action-bar.css +1 -1
- package/dist/styles/action-sheet.css +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/cascader.css +1 -1
- package/dist/styles/chart.css +1 -1
- package/dist/styles/checkbox-group.css +1 -1
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/color-picker.css +3 -3
- package/dist/styles/column-manager.css +4 -4
- package/dist/styles/combobox.css +2 -2
- package/dist/styles/command-palette.css +1 -1
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/currency-field.css +1 -1
- package/dist/styles/dashboard-grid.css +2 -2
- package/dist/styles/data-grid.css +5 -5
- package/dist/styles/data-list.css +2 -2
- package/dist/styles/date-field.css +1 -1
- package/dist/styles/date-picker.css +1 -1
- package/dist/styles/date-range-picker.css +1 -1
- package/dist/styles/datetime-field.css +1 -1
- package/dist/styles/datetime-picker.css +1 -1
- package/dist/styles/datetime-range-picker.css +1 -1
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/entity-picker.css +2 -2
- package/dist/styles/event-calendar.css +4 -4
- package/dist/styles/field-group.css +1 -1
- package/dist/styles/field.css +1 -1
- package/dist/styles/filter-bar.css +6 -6
- package/dist/styles/hover-card.css +1 -1
- package/dist/styles/import-export-center.css +3 -3
- package/dist/styles/index.css +10 -10
- package/dist/styles/listbox.css +1 -1
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/menu.css +1 -1
- package/dist/styles/menubar.css +1 -1
- package/dist/styles/multi-select.css +2 -2
- package/dist/styles/notification-center.css +1 -1
- package/dist/styles/number-field.css +1 -1
- package/dist/styles/otp-input.css +1 -1
- package/dist/styles/popover.css +1 -1
- package/dist/styles/prompt-composer.css +1 -1
- package/dist/styles/radio-group.css +1 -1
- package/dist/styles/rating.css +1 -1
- package/dist/styles/saved-views.css +3 -3
- package/dist/styles/segmented-control.css +1 -1
- package/dist/styles/select.css +2 -2
- package/dist/styles/side-navigation.css +1 -1
- package/dist/styles/slider.css +1 -1
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/switch.css +1 -1
- package/dist/styles/table.css +3 -3
- package/dist/styles/tags-input.css +1 -1
- package/dist/styles/text-field.css +1 -1
- package/dist/styles/textarea.css +1 -1
- package/dist/styles/time-field.css +1 -1
- package/dist/styles/time-picker.css +1 -1
- package/dist/styles/time-range-picker.css +1 -1
- package/dist/styles/toggle-group.css +1 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/top-navigation.css +1 -1
- package/dist/styles/transfer.css +1 -1
- package/dist/styles/upload.css +2 -2
- package/dist/styles.css +1 -1
- package/dist/{table-Boy-0cjy.js → table-Dx-RQ64i.js} +208 -208
- package/dist/table.js +1 -1
- package/dist/{tags-input-DEhtpizX.js → tags-input-hZs5oaT1.js} +9 -9
- package/dist/tags-input.js +1 -1
- package/dist/{toolbar-CtSZ88HI.js → toolbar-CSiDqC8L.js} +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/{transfer-BMRyopEw.js → transfer-DHjPhRlH.js} +5 -5
- package/dist/transfer.js +1 -1
- package/dist/{tree-DBirM2v9.js → tree-D-y-0TrL.js} +14 -14
- package/dist/tree.js +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/types/select/select-parts.d.ts +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/select/select.types.d.ts +5 -1
- package/dist/types/select/select.types.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<!-- index: ./index.md -->
|
|
2
|
+
# dialog
|
|
3
|
+
|
|
4
|
+
`data-ui="dialog"` · Modal dialog and alert dialog.
|
|
5
|
+
|
|
6
|
+
## Props
|
|
7
|
+
|
|
8
|
+
### dialog
|
|
9
|
+
|
|
10
|
+
| Name | Type | Default | Applies to | Description |
|
|
11
|
+
| --- | --- | --- | --- | --- |
|
|
12
|
+
| `open` | `boolean` | — | Dialog, AlertDialog | Whether the dialog is open. Passing it makes the state controlled: the dialog asks through onOpenChange and waits for the new value. |
|
|
13
|
+
| `defaultOpen` | `boolean` | — | Dialog, AlertDialog | Whether an uncontrolled dialog starts open. Read once. |
|
|
14
|
+
| `size` | `'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` | md | Dialog, DialogDefaultsProvider | The maximum width of the panel: 32rem, the form measure plus the panel padding (43rem by default), 48rem, 56rem, or the whole layer less its padding. For another width, set --slotted-dialog-measure, or --slotted-dialog-measure-sm, -md, -lg or -xl for one step. |
|
|
15
|
+
| `placement` | `'center' \| 'top'` | center | Dialog, AlertDialog, DialogDefaultsProvider | Where the panel sits in the layer. Use top for content that grows while the reader types, so the panel does not move with each new line. |
|
|
16
|
+
| `scroll` | `'content' \| 'viewport'` | content | Dialog, AlertDialog, DialogDefaultsProvider | What scrolls when the content is long. content keeps the panel inside the layer and scrolls the body, so the actions stay on screen; viewport lets the panel grow and scrolls the layer. With content, the layer still scrolls when the header and footer alone are taller than it. |
|
|
17
|
+
| `mount` | `'active' \| 'lazy' \| 'eager'` | active | Dialog, AlertDialog, DialogDefaultsProvider | When the layer is in the document. active renders it while open and removes it after the closing animation, lazy renders it on the first open and keeps it, eager renders it from the start and hides it with content-visibility and inert while closed. |
|
|
18
|
+
| `escape` | `'close' \| 'none'` | close | Dialog, AlertDialog, DialogDefaultsProvider | Whether Escape asks the dialog to close. Escape reaches the topmost dialog only. |
|
|
19
|
+
| `loading` | `boolean` | false | Dialog, AlertDialog | Marks the body with aria-busy and gives it a minimum height while the content is on its way. The header, the close button and Escape stay available. |
|
|
20
|
+
| `messages` | `Partial<DialogMessages>` | — | Dialog, AlertDialog | Replaces words of the language in force, key by key: the accessible names of the close and full-screen buttons (close, fullScreen). An aria-label on DialogClose takes precedence. |
|
|
21
|
+
| `initialFocus` | `'first' \| 'container' \| 'cancel' \| RefObject \| false` | first | Dialog | Where focus goes when the dialog opens: the first focusable element, the panel itself (container), the cancel part, the element of a ref, or nowhere (false). Use container for content that is read before it is used, such as a list or a table. |
|
|
22
|
+
| `finalFocus` | `RefObject \| false` | — | Dialog, AlertDialog | Where focus goes when the dialog closes. Unset, focus returns to the element that had it when the dialog opened, usually the trigger. false leaves focus where it is. |
|
|
23
|
+
| `value` | `string` | — | DialogClose, AlertDialogCancel, AlertDialogAction | The result this button closes the dialog with, read from request.result in onOpenChange. AlertDialogCancel defaults to "cancel" and AlertDialogAction to "confirm". |
|
|
24
|
+
| `modal` | `boolean` | true | Dialog, DialogDefaultsProvider | Whether the page behind is inert, its scroll locked and focus kept inside the panel. false does none of this, paints no scrim, lets the pointer reach the page and writes no aria-modal. |
|
|
25
|
+
| `outsidePress` | `'close' \| 'none'` | close | Dialog, DialogDefaultsProvider | Whether a press outside the panel asks the dialog to close. AlertDialog fixes it at none. |
|
|
26
|
+
| `back` | `'close' \| 'none'` | close | Dialog, DialogDefaultsProvider | Whether the browser’s way back, a back button or a phone’s back gesture, closes a modal dialog instead of leaving the page. Each open modal dialog holds one close watcher where the browser has CloseWatcher, and adds one history entry elsewhere; the close request carries the reason back. A dialog opened without a press shares the way back with the layer opened before it. |
|
|
27
|
+
| `surface` | `'panel' \| 'plain'` | panel | Dialog, DialogDefaultsProvider | Whether Dialog paints the panel. plain removes the background, border, radius, shadow, rows and padding, and keeps the portal, the scrim, focus handling and the dismissal policy, for a panel of your own such as a Card or an image viewer. A plain panel does not keep its footer on screen for a long body. |
|
|
28
|
+
| `fullScreen` | `'never' \| 'narrow' \| 'always'` | narrow | Dialog, DialogDefaultsProvider | When the panel fills the whole layer, without margins or radius. narrow does so while the layer is narrower than 480 pixels, measured with a container query on the layer. |
|
|
29
|
+
| `fullscreenToggle` | `boolean` | false | Dialog | Adds a button to the header that expands the panel to the whole layer and restores it, for content the reader wants more room for. |
|
|
30
|
+
| `fullscreen` | `boolean` | — | Dialog | Whether the panel is expanded by the toggle. Passing it makes the state controlled, with onFullscreenChange. |
|
|
31
|
+
| `defaultFullscreen` | `boolean` | false | Dialog | Whether an uncontrolled panel opens expanded. Read once. |
|
|
32
|
+
| `render` | `(props) => ReactNode` | — | every part | Replaces the element a part renders and passes it every attribute the part writes. Use it to make the trigger, the cancel and the action a Button. |
|
|
33
|
+
| `ref` | `Ref<DialogHandle> on Dialog, Ref<HTMLElement> on every part` | — | Dialog, AlertDialog, every part | On a part, the element. On Dialog and AlertDialog, a handle with open(), close(result), focus() and content, the panel element once it is rendered. |
|
|
34
|
+
| `--slotted-dialog-measure` | `length` | from size | the root part | The maximum width of the panel, for a width the five sizes do not hold, such as a two-column form at 46rem. Set it with a style attribute on one dialog, with a rule for a region, or once in the theme. It takes precedence over size, and a step token takes precedence over it. |
|
|
35
|
+
| `--slotted-dialog-measure-sm, -md, -lg, -xl` | `length` | from size | the root part | The maximum width of one size step, read before --slotted-dialog-measure, so a theme widens one step and keeps the others. |
|
|
36
|
+
| `container` | `Element \| null` | — | Dialog, AlertDialog | The element this dialog is rendered into, instead of the shared portal root. To change the portal root for the whole document, call setPortalContainer from @slotted/core/portal. |
|
|
37
|
+
| `useDialog()` | `() => DialogContextValue` | — | inside Dialog or AlertDialog | What the parts read: the open state, the ids, the resolved axes and close(reason, result). It throws outside Dialog and AlertDialog. |
|
|
38
|
+
| `DialogDefaultsProvider` | `{ size, placement, scroll, surface, mount, fullScreen, modal, escape, outsidePress, back }` | — | a subtree | Sets these ten values once for every dialog under it. A value set on one dialog takes precedence. |
|
|
39
|
+
|
|
40
|
+
### alertDialog
|
|
41
|
+
|
|
42
|
+
| Name | Type | Default | Applies to | Description |
|
|
43
|
+
| --- | --- | --- | --- | --- |
|
|
44
|
+
| `open` | `boolean` | — | Dialog, AlertDialog | Whether the dialog is open. Passing it makes the state controlled: the dialog asks through onOpenChange and waits for the new value. |
|
|
45
|
+
| `defaultOpen` | `boolean` | — | Dialog, AlertDialog | Whether an uncontrolled dialog starts open. Read once. |
|
|
46
|
+
| `size` | `'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` | sm | AlertDialog | The maximum width of the panel. AlertDialog defaults to sm, 32rem. |
|
|
47
|
+
| `placement` | `'center' \| 'top'` | center | Dialog, AlertDialog, DialogDefaultsProvider | Where the panel sits in the layer. Use top for content that grows while the reader types, so the panel does not move with each new line. |
|
|
48
|
+
| `scroll` | `'content' \| 'viewport'` | content | Dialog, AlertDialog, DialogDefaultsProvider | What scrolls when the content is long. content keeps the panel inside the layer and scrolls the body, so the actions stay on screen; viewport lets the panel grow and scrolls the layer. With content, the layer still scrolls when the header and footer alone are taller than it. |
|
|
49
|
+
| `mount` | `'active' \| 'lazy' \| 'eager'` | active | Dialog, AlertDialog, DialogDefaultsProvider | When the layer is in the document. active renders it while open and removes it after the closing animation, lazy renders it on the first open and keeps it, eager renders it from the start and hides it with content-visibility and inert while closed. |
|
|
50
|
+
| `escape` | `'close' \| 'none'` | close | Dialog, AlertDialog, DialogDefaultsProvider | Whether Escape asks the dialog to close. Escape reaches the topmost dialog only. |
|
|
51
|
+
| `loading` | `boolean` | false | Dialog, AlertDialog | Marks the body with aria-busy and gives it a minimum height while the content is on its way. The header, the close button and Escape stay available. |
|
|
52
|
+
| `messages` | `Partial<DialogMessages>` | — | Dialog, AlertDialog | Replaces words of the language in force, key by key: the accessible names of the close and full-screen buttons (close, fullScreen). An aria-label on DialogClose takes precedence. |
|
|
53
|
+
| `initialFocus` | `'first' \| 'container' \| 'cancel' \| RefObject \| false` | cancel | AlertDialog | Where focus goes when the dialog opens. The default, cancel, is the least destructive answer. |
|
|
54
|
+
| `finalFocus` | `RefObject \| false` | — | Dialog, AlertDialog | Where focus goes when the dialog closes. Unset, focus returns to the element that had it when the dialog opened, usually the trigger. false leaves focus where it is. |
|
|
55
|
+
| `value` | `string` | — | DialogClose, AlertDialogCancel, AlertDialogAction | The result this button closes the dialog with, read from request.result in onOpenChange. AlertDialogCancel defaults to "cancel" and AlertDialogAction to "confirm". |
|
|
56
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | danger | AlertDialog | The kind of decision. It sets the mark AlertDialogIcon draws and its colour. |
|
|
57
|
+
| `modal` | `boolean` | true | AlertDialog | Fixed: an alert dialog is always modal. |
|
|
58
|
+
| `outsidePress` | `'close' \| 'none'` | none | AlertDialog | Fixed: a press outside never closes an alert dialog. |
|
|
59
|
+
| `back` | `'close' \| 'none'` | close | AlertDialog | Whether the browser’s way back cancels the confirmation, as Escape does. The close request carries the reason back. |
|
|
60
|
+
| `surface` | `'panel' \| 'plain'` | panel | AlertDialog | Whether AlertDialog paints the panel. plain removes the paint and keeps the behaviour. |
|
|
61
|
+
| `fullScreen` | `'never' \| 'narrow' \| 'always'` | never | AlertDialog | When the panel fills the whole layer. AlertDialog keeps its margins at every width by default. |
|
|
62
|
+
| `render` | `(props) => ReactNode` | — | every part | Replaces the element a part renders and passes it every attribute the part writes. Use it to make the trigger, the cancel and the action a Button. |
|
|
63
|
+
| `ref` | `Ref<DialogHandle> on Dialog, Ref<HTMLElement> on every part` | — | Dialog, AlertDialog, every part | On a part, the element. On Dialog and AlertDialog, a handle with open(), close(result), focus() and content, the panel element once it is rendered. |
|
|
64
|
+
| `--slotted-dialog-measure` | `length` | from size | the root part | The maximum width of the panel, for a width the five sizes do not hold, such as a two-column form at 46rem. Set it with a style attribute on one dialog, with a rule for a region, or once in the theme. It takes precedence over size, and a step token takes precedence over it. |
|
|
65
|
+
| `--slotted-dialog-measure-sm, -md, -lg, -xl` | `length` | from size | the root part | The maximum width of one size step, read before --slotted-dialog-measure, so a theme widens one step and keeps the others. |
|
|
66
|
+
| `container` | `Element \| null` | — | Dialog, AlertDialog | The element this dialog is rendered into, instead of the shared portal root. To change the portal root for the whole document, call setPortalContainer from @slotted/core/portal. |
|
|
67
|
+
| `useDialog()` | `() => DialogContextValue` | — | inside Dialog or AlertDialog | What the parts read: the open state, the ids, the resolved axes and close(reason, result). It throws outside Dialog and AlertDialog. |
|
|
68
|
+
| `DialogDefaultsProvider` | `{ size, placement, scroll, surface, mount, fullScreen, modal, escape, outsidePress, back }` | — | a subtree | Sets these ten values once for every dialog under it. A value set on one dialog takes precedence. |
|
package/dist/docs/drawer.json
CHANGED
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"type": "'close' | 'none'",
|
|
306
306
|
"defaultValue": "close",
|
|
307
307
|
"appliesTo": "Drawer, DrawerDefaultsProvider",
|
|
308
|
-
"description": "Whether the browser’s back button or a phone’s back gesture closes a modal drawer instead of leaving the page. The drawer holds one
|
|
308
|
+
"description": "Whether the browser’s back button or a phone’s back gesture closes a modal drawer instead of leaving the page. The drawer holds one close watcher while it is open where the browser has CloseWatcher, and one history entry elsewhere; a drawer opened without a press shares the way back with the layer opened before it. It has no effect under mode=\"inline\"."
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
"name": "drag",
|
|
@@ -481,9 +481,11 @@
|
|
|
481
481
|
"--slotted-drawer-resizer-line-color",
|
|
482
482
|
"--slotted-drawer-rule-color",
|
|
483
483
|
"--slotted-drawer-scrim",
|
|
484
|
+
"--slotted-drawer-sheet-dim",
|
|
484
485
|
"--slotted-drawer-sheet-floor",
|
|
485
486
|
"--slotted-drawer-sheet-height",
|
|
486
487
|
"--slotted-drawer-sheet-inline-size",
|
|
488
|
+
"--slotted-drawer-sheet-travel",
|
|
487
489
|
"--slotted-drawer-slide-duration",
|
|
488
490
|
"--slotted-drawer-slide-easing",
|
|
489
491
|
"--slotted-drawer-slide-exit-duration",
|
package/dist/docs/drawer.md
CHANGED
|
@@ -128,7 +128,7 @@ export default function DrawerBasic() {
|
|
|
128
128
|
| `modal` | `boolean` | true | Drawer, DrawerDefaultsProvider | Whether the page behind is inert, its scroll is locked and focus is contained in the panel, and whether the panel carries aria-modal. The scrim is painted either way. Always false under mode="inline". |
|
|
129
129
|
| `escape` | `'close' \| 'none'` | close | Drawer, DrawerDefaultsProvider | Whether Escape asks to close the drawer. Escape reaches only the topmost layer, and a layer that refuses it does not pass it to the one below. |
|
|
130
130
|
| `outsidePress` | `'close' \| 'none'` | close | Drawer, DrawerDefaultsProvider | Whether a press outside the layer, the scrim included, asks to close the drawer. It has no effect under mode="inline". |
|
|
131
|
-
| `back` | `'close' \| 'none'` | close | Drawer, DrawerDefaultsProvider | Whether the browser’s back button or a phone’s back gesture closes a modal drawer instead of leaving the page. The drawer holds one
|
|
131
|
+
| `back` | `'close' \| 'none'` | close | Drawer, DrawerDefaultsProvider | Whether the browser’s back button or a phone’s back gesture closes a modal drawer instead of leaving the page. The drawer holds one close watcher while it is open where the browser has CloseWatcher, and one history entry elsewhere; a drawer opened without a press shares the way back with the layer opened before it. It has no effect under mode="inline". |
|
|
132
132
|
| `drag` | `'panel' \| 'resizer'` | panel | Drawer, DrawerDefaultsProvider | What a touch moves a bottom sheet by: panel, anywhere on the panel, the sheet and its content scrolling as one; or resizer, the separator only, the body scrolling on its own at the highest stop. A mouse drags the separator, and the sheet settles on the nearest stop. |
|
|
133
133
|
| `scrimFrom` | `number` | 0 | Drawer | While the measure is below this fraction, the scrim is not painted, a press reaches the page, and the root carries data-undimmed. Use it with modal={false} and outsidePress="none". |
|
|
134
134
|
| `loading` | `boolean` | false | Drawer | Marks the body as busy with aria-busy and gives it a minimum height, so the panel does not jump when the content arrives. The header, the ✕, Escape and the separator stay available. |
|
|
@@ -181,7 +181,7 @@ export default function DrawerBasic() {
|
|
|
181
181
|
|
|
182
182
|
## Tokens
|
|
183
183
|
|
|
184
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-backdrop-filter`, `--slotted-drawer-body-color`, `--slotted-drawer-border-color`, `--slotted-drawer-close-active-background`, `--slotted-drawer-close-color`, `--slotted-drawer-close-hover-background`, `--slotted-drawer-color`, `--slotted-drawer-description-color`, `--slotted-drawer-extent`, `--slotted-drawer-extent-lg`, `--slotted-drawer-extent-md`, `--slotted-drawer-extent-sm`, `--slotted-drawer-extent-xl`, `--slotted-drawer-footer-backdrop-filter`, `--slotted-drawer-footer-surface`, `--slotted-drawer-radius`, `--slotted-drawer-radius-expanded`, `--slotted-drawer-resizer-line-active-color`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-rule-color`, `--slotted-drawer-scrim`, `--slotted-drawer-sheet-floor`, `--slotted-drawer-sheet-height`, `--slotted-drawer-sheet-inline-size`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-drawer-title-color`, `--slotted-drawer-title-font-family`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-overlay`
|
|
184
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-backdrop-filter`, `--slotted-drawer-body-color`, `--slotted-drawer-border-color`, `--slotted-drawer-close-active-background`, `--slotted-drawer-close-color`, `--slotted-drawer-close-hover-background`, `--slotted-drawer-color`, `--slotted-drawer-description-color`, `--slotted-drawer-extent`, `--slotted-drawer-extent-lg`, `--slotted-drawer-extent-md`, `--slotted-drawer-extent-sm`, `--slotted-drawer-extent-xl`, `--slotted-drawer-footer-backdrop-filter`, `--slotted-drawer-footer-surface`, `--slotted-drawer-radius`, `--slotted-drawer-radius-expanded`, `--slotted-drawer-resizer-line-active-color`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-rule-color`, `--slotted-drawer-scrim`, `--slotted-drawer-sheet-dim`, `--slotted-drawer-sheet-floor`, `--slotted-drawer-sheet-height`, `--slotted-drawer-sheet-inline-size`, `--slotted-drawer-sheet-travel`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-drawer-title-color`, `--slotted-drawer-title-font-family`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-overlay`
|
|
185
185
|
|
|
186
186
|
## Examples
|
|
187
187
|
|
package/dist/docs/menu.json
CHANGED
package/dist/docs/menu.md
CHANGED
|
@@ -158,7 +158,7 @@ export default function MenuBasic() {
|
|
|
158
158
|
|
|
159
159
|
## Tokens
|
|
160
160
|
|
|
161
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-menu-backdrop-filter`, `--slotted-menu-border-color`, `--slotted-menu-gap`, `--slotted-menu-highlight`, `--slotted-menu-highlight-active`, `--slotted-menu-item-radius`, `--slotted-menu-measure`, `--slotted-menu-measure-lg`, `--slotted-menu-measure-sm`, `--slotted-menu-min-measure`, `--slotted-menu-padding-block`, `--slotted-menu-padding-inline`, `--slotted-menu-radius`, `--slotted-menu-separator-color`, `--slotted-menu-shadow`, `--slotted-menu-surface`, `--slotted-menu-text`, `--slotted-menu-text-muted`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`, `--slotted-z-index-popover`
|
|
161
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-menu-backdrop-filter`, `--slotted-menu-border-color`, `--slotted-menu-gap`, `--slotted-menu-group-label-height`, `--slotted-menu-highlight`, `--slotted-menu-highlight-active`, `--slotted-menu-item-radius`, `--slotted-menu-measure`, `--slotted-menu-measure-lg`, `--slotted-menu-measure-sm`, `--slotted-menu-min-measure`, `--slotted-menu-padding-block`, `--slotted-menu-padding-inline`, `--slotted-menu-radius`, `--slotted-menu-separator-color`, `--slotted-menu-shadow`, `--slotted-menu-surface`, `--slotted-menu-text`, `--slotted-menu-text-muted`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`, `--slotted-z-index-popover`
|
|
162
162
|
|
|
163
163
|
## Examples
|
|
164
164
|
|
|
@@ -1008,6 +1008,7 @@
|
|
|
1008
1008
|
"--slotted-multi-select-disabled-color",
|
|
1009
1009
|
"--slotted-multi-select-field-basis",
|
|
1010
1010
|
"--slotted-multi-select-field-min",
|
|
1011
|
+
"--slotted-multi-select-group-label-height",
|
|
1011
1012
|
"--slotted-multi-select-highlight",
|
|
1012
1013
|
"--slotted-multi-select-highlight-active",
|
|
1013
1014
|
"--slotted-multi-select-highlight-ring",
|
|
@@ -214,7 +214,7 @@ export default function MultiSelectBasic() {
|
|
|
214
214
|
|
|
215
215
|
## Tokens
|
|
216
216
|
|
|
217
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-multi-select-action-active-background`, `--slotted-multi-select-action-color`, `--slotted-multi-select-action-hover-background`, `--slotted-multi-select-action-size`, `--slotted-multi-select-arrow-color`, `--slotted-multi-select-autofill-background`, `--slotted-multi-select-background`, `--slotted-multi-select-border-color`, `--slotted-multi-select-color`, `--slotted-multi-select-content-border-color`, `--slotted-multi-select-content-padding-block`, `--slotted-multi-select-content-padding-inline`, `--slotted-multi-select-content-radius`, `--slotted-multi-select-content-shadow`, `--slotted-multi-select-content-text`, `--slotted-multi-select-content-text-muted`, `--slotted-multi-select-counter-color`, `--slotted-multi-select-counter-complete-color`, `--slotted-multi-select-disabled-background`, `--slotted-multi-select-disabled-border-color`, `--slotted-multi-select-disabled-color`, `--slotted-multi-select-field-basis`, `--slotted-multi-select-field-min`, `--slotted-multi-select-highlight`, `--slotted-multi-select-highlight-active`, `--slotted-multi-select-highlight-ring`, `--slotted-multi-select-hover-border-color`, `--slotted-multi-select-icon-size-min`, `--slotted-multi-select-invalid-border-color`, `--slotted-multi-select-invalid-edge-width`, `--slotted-multi-select-invalid-focus-ring-color`, `--slotted-multi-select-item-radius`, `--slotted-multi-select-measure`, `--slotted-multi-select-open-border-color`, `--slotted-multi-select-placeholder-color`, `--slotted-multi-select-plain-hover-background`, `--slotted-multi-select-radius`, `--slotted-multi-select-readonly-background`, `--slotted-multi-select-selected-color`, `--slotted-multi-select-separator-color`, `--slotted-multi-select-shadow`, `--slotted-multi-select-subtle-background`, `--slotted-multi-select-subtle-border-color`, `--slotted-multi-select-subtle-hover-background`, `--slotted-multi-select-surface`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
217
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-multi-select-action-active-background`, `--slotted-multi-select-action-color`, `--slotted-multi-select-action-hover-background`, `--slotted-multi-select-action-size`, `--slotted-multi-select-arrow-color`, `--slotted-multi-select-autofill-background`, `--slotted-multi-select-background`, `--slotted-multi-select-border-color`, `--slotted-multi-select-color`, `--slotted-multi-select-content-border-color`, `--slotted-multi-select-content-padding-block`, `--slotted-multi-select-content-padding-inline`, `--slotted-multi-select-content-radius`, `--slotted-multi-select-content-shadow`, `--slotted-multi-select-content-text`, `--slotted-multi-select-content-text-muted`, `--slotted-multi-select-counter-color`, `--slotted-multi-select-counter-complete-color`, `--slotted-multi-select-disabled-background`, `--slotted-multi-select-disabled-border-color`, `--slotted-multi-select-disabled-color`, `--slotted-multi-select-field-basis`, `--slotted-multi-select-field-min`, `--slotted-multi-select-group-label-height`, `--slotted-multi-select-highlight`, `--slotted-multi-select-highlight-active`, `--slotted-multi-select-highlight-ring`, `--slotted-multi-select-hover-border-color`, `--slotted-multi-select-icon-size-min`, `--slotted-multi-select-invalid-border-color`, `--slotted-multi-select-invalid-edge-width`, `--slotted-multi-select-invalid-focus-ring-color`, `--slotted-multi-select-item-radius`, `--slotted-multi-select-measure`, `--slotted-multi-select-open-border-color`, `--slotted-multi-select-placeholder-color`, `--slotted-multi-select-plain-hover-background`, `--slotted-multi-select-radius`, `--slotted-multi-select-readonly-background`, `--slotted-multi-select-selected-color`, `--slotted-multi-select-separator-color`, `--slotted-multi-select-shadow`, `--slotted-multi-select-subtle-background`, `--slotted-multi-select-subtle-border-color`, `--slotted-multi-select-subtle-hover-background`, `--slotted-multi-select-surface`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
218
218
|
|
|
219
219
|
## Examples
|
|
220
220
|
|
package/dist/docs/select.json
CHANGED
|
@@ -927,6 +927,7 @@
|
|
|
927
927
|
"--slotted-select-disabled-background",
|
|
928
928
|
"--slotted-select-disabled-border-color",
|
|
929
929
|
"--slotted-select-disabled-color",
|
|
930
|
+
"--slotted-select-group-label-height",
|
|
930
931
|
"--slotted-select-highlight",
|
|
931
932
|
"--slotted-select-highlight-active",
|
|
932
933
|
"--slotted-select-highlight-ring",
|
package/dist/docs/select.md
CHANGED
|
@@ -201,7 +201,7 @@ export default function SelectBasic() {
|
|
|
201
201
|
|
|
202
202
|
## Tokens
|
|
203
203
|
|
|
204
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-select-action-active-background`, `--slotted-select-action-color`, `--slotted-select-action-hover-background`, `--slotted-select-action-size`, `--slotted-select-arrow-color`, `--slotted-select-background`, `--slotted-select-border-color`, `--slotted-select-color`, `--slotted-select-content-backdrop-filter`, `--slotted-select-content-border-color`, `--slotted-select-content-padding-block`, `--slotted-select-content-padding-inline`, `--slotted-select-content-radius`, `--slotted-select-content-shadow`, `--slotted-select-content-text`, `--slotted-select-content-text-muted`, `--slotted-select-disabled-background`, `--slotted-select-disabled-border-color`, `--slotted-select-disabled-color`, `--slotted-select-highlight`, `--slotted-select-highlight-active`, `--slotted-select-highlight-ring`, `--slotted-select-hover-border-color`, `--slotted-select-icon-size-min`, `--slotted-select-invalid-border-color`, `--slotted-select-invalid-edge-width`, `--slotted-select-invalid-focus-ring-color`, `--slotted-select-item-radius`, `--slotted-select-measure`, `--slotted-select-open-border-color`, `--slotted-select-placeholder-color`, `--slotted-select-plain-hover-background`, `--slotted-select-radius`, `--slotted-select-readonly-background`, `--slotted-select-search-icon-color`, `--slotted-select-selected-color`, `--slotted-select-separator-color`, `--slotted-select-shadow`, `--slotted-select-subtle-background`, `--slotted-select-subtle-border-color`, `--slotted-select-subtle-hover-background`, `--slotted-select-surface`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
204
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-select-action-active-background`, `--slotted-select-action-color`, `--slotted-select-action-hover-background`, `--slotted-select-action-size`, `--slotted-select-arrow-color`, `--slotted-select-background`, `--slotted-select-border-color`, `--slotted-select-color`, `--slotted-select-content-backdrop-filter`, `--slotted-select-content-border-color`, `--slotted-select-content-padding-block`, `--slotted-select-content-padding-inline`, `--slotted-select-content-radius`, `--slotted-select-content-shadow`, `--slotted-select-content-text`, `--slotted-select-content-text-muted`, `--slotted-select-disabled-background`, `--slotted-select-disabled-border-color`, `--slotted-select-disabled-color`, `--slotted-select-group-label-height`, `--slotted-select-highlight`, `--slotted-select-highlight-active`, `--slotted-select-highlight-ring`, `--slotted-select-hover-border-color`, `--slotted-select-icon-size-min`, `--slotted-select-invalid-border-color`, `--slotted-select-invalid-edge-width`, `--slotted-select-invalid-focus-ring-color`, `--slotted-select-item-radius`, `--slotted-select-measure`, `--slotted-select-open-border-color`, `--slotted-select-placeholder-color`, `--slotted-select-plain-hover-background`, `--slotted-select-radius`, `--slotted-select-readonly-background`, `--slotted-select-search-icon-color`, `--slotted-select-selected-color`, `--slotted-select-separator-color`, `--slotted-select-shadow`, `--slotted-select-subtle-background`, `--slotted-select-subtle-border-color`, `--slotted-select-subtle-hover-background`, `--slotted-select-surface`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
205
205
|
|
|
206
206
|
## Examples
|
|
207
207
|
|
|
@@ -84,7 +84,10 @@ has.
|
|
|
84
84
|
`--slotted-drawer-footer-backdrop-filter`, and a dialog's panel
|
|
85
85
|
`--slotted-dialog-surface` with `--slotted-dialog-backdrop-filter`. The
|
|
86
86
|
chart's tooltip, menu and help read one filter,
|
|
87
|
-
`--slotted-chart-overlay-backdrop-filter`.
|
|
87
|
+
`--slotted-chart-overlay-backdrop-filter`. A chart's table view takes
|
|
88
|
+
`--slotted-chart-table-surface` and its sticky header
|
|
89
|
+
`--slotted-chart-table-header-surface`; `--slotted-chart-surface` stays
|
|
90
|
+
opaque, because the series colours mix with it.
|
|
88
91
|
|
|
89
92
|
## 4. Restyle a control
|
|
90
93
|
|
|
@@ -7,7 +7,7 @@ import { t as a } from "./avatar-DLWElrgg.js";
|
|
|
7
7
|
import { b as o } from "./field-CSSHwGq_.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { t as s } from "./highlight-9lRPIZ9O.js";
|
|
10
|
-
import { c, i as l, n as ee, o as u, s as te } from "./select-
|
|
10
|
+
import { c, i as l, n as ee, o as u, s as te } from "./select-BcTau8q3.js";
|
|
11
11
|
import { keyedProps as d, selectorKeyProps as ne } from "@slotted/core/selector-key";
|
|
12
12
|
import { createArrowNavigation as re, createRemovalFocus as ie } from "@slotted/core/focus";
|
|
13
13
|
import { createControllable as f } from "@slotted/core/state";
|
|
@@ -17,11 +17,11 @@ import { createCollapse as ue } from "@slotted/core/overflow";
|
|
|
17
17
|
import { createPresence as de } from "@slotted/core/presence";
|
|
18
18
|
import { entityPickerMessages as fe } from "@slotted/core/i18n";
|
|
19
19
|
import { createPortalRoot as pe } from "@slotted/core/portal";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
20
|
+
import { createRowMetrics as me, moveIndex as he, offsetForIndex as ge, virtualWindow as _e } from "@slotted/core/collection";
|
|
21
|
+
import { createDismissableLayer as ve, pressOrigin as ye } from "@slotted/core/dismissable-layer";
|
|
22
|
+
import { createPositioner as be } from "@slotted/core/positioner";
|
|
23
|
+
import { createPortal as xe } from "react-dom";
|
|
24
|
+
import { getLiveAnnouncer as x } from "@slotted/core/live-announcer";
|
|
25
25
|
import { CREATE_OPTION as S, CREATE_OPTION as C, RETRY_OPTION as Se, RETRY_OPTION as w, createEntityCache as Ce, createEntityResolver as we, createEntitySearch as Te, entityInitials as T, entityName as Ee, entityOptions as De, entityPickerKey as E, entitySections as Oe, localEntitySource as ke, localEntitySource as Ae, offersCreation as je, rememberRecent as D } from "@slotted/core/entity-picker";
|
|
26
26
|
//#region src/entity-picker/entity-picker-defaults.tsx
|
|
27
27
|
var O = {
|
|
@@ -91,12 +91,12 @@ function Pe({ entity: e, locale: t }) {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
function Fe() {
|
|
94
|
-
let e = Ue(), t = o(), { props: a } = e, { "aria-describedby": s, "aria-label": d, form: f, id: ae, name: m, onBlur: oe, onClick: se, onFocus: ce, onKeyDown: de, placeholder: fe, ref: pe, render: me, source: ge, items: _e, entities: ve, favorites:
|
|
94
|
+
let e = Ue(), t = o(), { props: a } = e, { "aria-describedby": s, "aria-label": d, form: f, id: ae, name: m, onBlur: oe, onClick: se, onFocus: ce, onKeyDown: de, placeholder: fe, ref: pe, render: me, source: ge, items: _e, entities: ve, favorites: be, recent: xe, scopes: x, scope: S, defaultScope: C, onScopeChange: Se, inputValue: w, defaultInputValue: Ce, onInputValueChange: we, open: Te, defaultOpen: T, onOpenChange: Ee, highlightedValue: De, defaultHighlightedValue: Oe, onHighlightedValueChange: ke, onCreate: Ae, renderOption: je, renderChip: D, handleRef: O, locale: k, max: A, clearable: j, disabled: Fe, fullWidth: P, highlightMatch: Le, invalid: Re, messages: ze, loop: Be, media: Ve, minQueryLength: He, openOn: F, overflow: We, portal: Ge, readOnly: Ke, required: qe, searchDelay: Je, side: Ye, size: Xe, strategy: I, variant: Ze, width: Qe, selectionMode: $e, value: et, defaultValue: tt, onValueChange: nt, ...rt } = a, { t: L, multiple: R } = e, z = e.chosen, B = _(null), it = _(null), [at, ot] = v(0), st = p((t) => {
|
|
95
95
|
e.setInputNode(t), Me(t, pe);
|
|
96
96
|
}, [pe]), ct = (t, n) => {
|
|
97
97
|
e.entry.current = t, e.setOpen(!0, "keyboard", n);
|
|
98
98
|
}, lt = (t, n) => {
|
|
99
|
-
let r = e.options, i = r.findIndex((t) => t.key === e.highlighted), a =
|
|
99
|
+
let r = e.options, i = r.findIndex((t) => t.key === e.highlighted), a = he({
|
|
100
100
|
enabled: r.map((e) => !e.disabled),
|
|
101
101
|
from: i,
|
|
102
102
|
intent: t,
|
|
@@ -158,7 +158,7 @@ function Fe() {
|
|
|
158
158
|
}, V = (t) => {
|
|
159
159
|
let n = t.relatedTarget, r = e.inputNode?.ownerDocument.getElementById(e.contentId) ?? null;
|
|
160
160
|
if (e.controlNode?.parentElement, n instanceof Node && (r?.contains(n) || e.controlNode?.contains(n))) return;
|
|
161
|
-
let i =
|
|
161
|
+
let i = ye(e.inputNode?.ownerDocument);
|
|
162
162
|
i instanceof Node && r?.contains(i) === !0 || (e.settle(t), e.open && e.setOpen(!1, "blur"));
|
|
163
163
|
}, mt = (t) => {
|
|
164
164
|
e.disabled || e.readOnly || (e.entry.current = R ? "keep" : "selected", e.setOpen(!e.open, "pointer", t.nativeEvent), e.inputNode?.focus({ preventScroll: !0 }));
|
|
@@ -545,20 +545,20 @@ function Ve() {
|
|
|
545
545
|
e.inputNode,
|
|
546
546
|
e.portal
|
|
547
547
|
]);
|
|
548
|
-
let { side: fe, strategy: he, width:
|
|
548
|
+
let { side: fe, strategy: he, width: ye, controlNode: C } = e, w = _(null), Ce = p((e, t) => {
|
|
549
549
|
e.update().then(() => {
|
|
550
550
|
w.current === e && m.current.open && t.setAttribute("data-open", "");
|
|
551
551
|
});
|
|
552
552
|
}, []);
|
|
553
553
|
g(() => {
|
|
554
554
|
if (o === null || C === null) return;
|
|
555
|
-
let e =
|
|
555
|
+
let e = be(C, o, {
|
|
556
556
|
align: "start",
|
|
557
557
|
alignOffset: 0,
|
|
558
558
|
boundaryPadding: 8,
|
|
559
559
|
flip: !0,
|
|
560
560
|
hideWhenDetached: !0,
|
|
561
|
-
matchWidth:
|
|
561
|
+
matchWidth: ye === "anchor",
|
|
562
562
|
shift: !0,
|
|
563
563
|
side: fe,
|
|
564
564
|
sideOffset: 4,
|
|
@@ -573,7 +573,7 @@ function Ve() {
|
|
|
573
573
|
Ce,
|
|
574
574
|
fe,
|
|
575
575
|
he,
|
|
576
|
-
|
|
576
|
+
ye
|
|
577
577
|
]), g(() => {
|
|
578
578
|
let t = w.current;
|
|
579
579
|
t !== null && o !== null && (e.open ? Ce(t, o) : o.removeAttribute("data-open"));
|
|
@@ -583,7 +583,7 @@ function Ve() {
|
|
|
583
583
|
Ce
|
|
584
584
|
]), h(() => {
|
|
585
585
|
if (o === null || !e.open || C === null) return;
|
|
586
|
-
let t =
|
|
586
|
+
let t = ve(o, {
|
|
587
587
|
branches: [C],
|
|
588
588
|
escape: !0,
|
|
589
589
|
focusOutside: !1,
|
|
@@ -622,7 +622,7 @@ function Ve() {
|
|
|
622
622
|
]);
|
|
623
623
|
let Te = i.status === "error";
|
|
624
624
|
h(() => {
|
|
625
|
-
Te && m.current.open &&
|
|
625
|
+
Te && m.current.open && x(m.current.inputNode?.ownerDocument).announce(m.current.t("error"), { repeat: !0 });
|
|
626
626
|
}, [Te]), h(() => {
|
|
627
627
|
let e = ae.current, t = l;
|
|
628
628
|
if (e === null || t === null || !i.hasMore || typeof IntersectionObserver != "function") return;
|
|
@@ -662,13 +662,13 @@ function Ve() {
|
|
|
662
662
|
l,
|
|
663
663
|
Ee
|
|
664
664
|
]);
|
|
665
|
-
let O = ce(() => Ee && T !== null ?
|
|
665
|
+
let O = ce(() => Ee && T !== null ? me(T.map((e) => E.get(e.id) ?? De)) : void 0, [
|
|
666
666
|
De,
|
|
667
667
|
T,
|
|
668
668
|
E,
|
|
669
669
|
Oe,
|
|
670
670
|
Ee
|
|
671
|
-
]), k = O === void 0 || T === null ? null :
|
|
671
|
+
]), k = O === void 0 || T === null ? null : _e({
|
|
672
672
|
itemCount: T.length,
|
|
673
673
|
metrics: O,
|
|
674
674
|
overscan: Be,
|
|
@@ -676,7 +676,7 @@ function Ve() {
|
|
|
676
676
|
viewportSize: Ae.size
|
|
677
677
|
}), A = T === null || e.highlighted === null ? -1 : T.findIndex((t) => t.id === e.highlighted);
|
|
678
678
|
g(() => {
|
|
679
|
-
k === null || l === null || A < 0 || O === void 0 || A >= k.startIndex && A < k.endIndex || (l.scrollTop =
|
|
679
|
+
k === null || l === null || A < 0 || O === void 0 || A >= k.startIndex && A < k.endIndex || (l.scrollTop = ge({
|
|
680
680
|
index: A,
|
|
681
681
|
itemCount: T?.length ?? 0,
|
|
682
682
|
metrics: O,
|
|
@@ -878,7 +878,7 @@ function Ve() {
|
|
|
878
878
|
]
|
|
879
879
|
})
|
|
880
880
|
});
|
|
881
|
-
return u === null ? Ke :
|
|
881
|
+
return u === null ? Ke : xe(Ke, u);
|
|
882
882
|
}
|
|
883
883
|
//#endregion
|
|
884
884
|
//#region src/entity-picker/entity-picker.tsx
|
|
@@ -917,10 +917,10 @@ function Ke(e) {
|
|
|
917
917
|
return Array.isArray(e) ? e : typeof e == "string" ? [e] : [];
|
|
918
918
|
}
|
|
919
919
|
function qe(n) {
|
|
920
|
-
let { clearable: r, defaultHighlightedValue: i = null, defaultInputValue: a, defaultOpen: s = !1, defaultScope: c = null, disabled: l, entities: ee = F, favorites: u = F, fullWidth: te, handleRef: d, highlightMatch: ne, highlightedValue: re, inputValue: ie, invalid: ae, items: m, locale: g, messages: le, loop: ue, max: de, media: pe, minQueryLength: me, onCreate: he, open: ge, openOn: _e, overflow:
|
|
920
|
+
let { clearable: r, defaultHighlightedValue: i = null, defaultInputValue: a, defaultOpen: s = !1, defaultScope: c = null, disabled: l, entities: ee = F, favorites: u = F, fullWidth: te, handleRef: d, highlightMatch: ne, highlightedValue: re, inputValue: ie, invalid: ae, items: m, locale: g, messages: le, loop: ue, max: de, media: pe, minQueryLength: me, onCreate: he, open: ge, openOn: _e, overflow: ve, portal: ye, readOnly: be, recent: xe = F, required: C, scope: w, searchDelay: T, side: Ee, size: E, source: Ae, strategy: D, variant: O, width: k } = n, j = n.selectionMode === "multiple", M = A(), N = o(), Me = oe(), Ne = `${Me}listbox`, Pe = `${Me}input`, Ie = p((e) => `${Me}option-${encodeURIComponent(e)}`, [Me]), P = t(fe, le), Le = e(), Re = g ?? Le, ze = l ?? N?.disabled ?? M.disabled, Be = be ?? N?.readOnly ?? M.readOnly, Ue = me ?? M.minQueryLength, [qe, Je] = v(0), Ye = p(() => Je((e) => e + 1), []), Xe = _(null);
|
|
921
921
|
Xe.current === null && (Xe.current = Ce());
|
|
922
922
|
let I = Xe.current;
|
|
923
|
-
I.remember(ee), I.remember(u), I.remember(
|
|
923
|
+
I.remember(ee), I.remember(u), I.remember(xe);
|
|
924
924
|
let Ze = ce(() => Ae ?? ke(m ?? F, { locale: Re }), [
|
|
925
925
|
m,
|
|
926
926
|
Re,
|
|
@@ -984,7 +984,7 @@ function qe(n) {
|
|
|
984
984
|
typed: W
|
|
985
985
|
};
|
|
986
986
|
let Y = p((e) => {
|
|
987
|
-
|
|
987
|
+
x(q?.ownerDocument).announce(e, { repeat: !0 });
|
|
988
988
|
}, [q]), X = p((e, t, n) => {
|
|
989
989
|
let r = J.current, i = r.currentIds;
|
|
990
990
|
if (e.length === i.length && e.every((e, t) => e === i[t])) return !1;
|
|
@@ -1174,7 +1174,7 @@ function qe(n) {
|
|
|
1174
1174
|
scope: H,
|
|
1175
1175
|
chosen: j ? I.pick(V) : F,
|
|
1176
1176
|
favorites: u,
|
|
1177
|
-
recent:
|
|
1177
|
+
recent: xe,
|
|
1178
1178
|
results: $.status === "error" || $.status === "short" ? $.items : zt,
|
|
1179
1179
|
searchedEmpty: Ue === 0,
|
|
1180
1180
|
labels: {
|
|
@@ -1234,8 +1234,8 @@ function qe(n) {
|
|
|
1234
1234
|
openOn: _e ?? M.openOn,
|
|
1235
1235
|
optionId: Ie,
|
|
1236
1236
|
options: Wt,
|
|
1237
|
-
overflow:
|
|
1238
|
-
portal:
|
|
1237
|
+
overflow: ve ?? M.overflow,
|
|
1238
|
+
portal: ye ?? M.portal,
|
|
1239
1239
|
props: n,
|
|
1240
1240
|
query: K,
|
|
1241
1241
|
readOnly: Be,
|
package/dist/entity-picker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./entity-picker-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./entity-picker-BYAlDJL-.js";
|
|
2
2
|
export { u as CREATE_OPTION, d as ENTITY_PICKER_FALLBACK, a as EntityPicker, n as EntityPickerDefaultsProvider, e as EntityPickerOptionDescription, s as EntityPickerOptionLabel, l as EntityPickerOptionMedia, t as EntityPickerOptionMeta, o as RETRY_OPTION, c as localEntitySource, i as rememberRecent, r as useEntityPickerDefaults };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as e, r as t } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n, t as r } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { _ as i, n as a, r as o, t as s } from "./menu-parts-
|
|
3
|
+
import { _ as i, n as a, r as o, t as s } from "./menu-parts-DNQDoJnd.js";
|
|
4
4
|
import { c, d as l, i as u, l as d, n as f, o as p, r as m, s as h } from "./drawer-Du1aC1px.js";
|
|
5
5
|
import { n as g } from "./progress-indicator-D0acshNn.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { a as _, c as v, f as ee, i as te, l as ne, o as re, p as ie, r as ae, u as oe } from "./popover-BfEn2wdZ.js";
|
|
8
|
-
import { n as se, r as y, t as ce } from "./context-menu-
|
|
8
|
+
import { n as se, r as y, t as ce } from "./context-menu-BJyDD17g.js";
|
|
9
9
|
import { a as le, t as ue } from "./segmented-control-Dae5wU9X.js";
|
|
10
10
|
import { keyedProps as de, selectorKeyProps as fe, withSelectorKey as pe } from "@slotted/core/selector-key";
|
|
11
11
|
import { createContext as me, createElement as he, useCallback as b, useContext as ge, useEffect as _e, useId as ve, useImperativeHandle as ye, useLayoutEffect as be, useMemo as xe, useRef as x, useState as S } from "react";
|
package/dist/event-calendar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./event-calendar-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./event-calendar-BuZg4ghj.js";
|
|
2
2
|
export { t as EVENT_CALENDAR_FALLBACK, r as EventCalendar, n as EventCalendarDefaultsProvider, e as useEventCalendarDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { _ as r, a as i, c as a, d as o, h as s, m as c, n as l, t as u, u as d } from "./menu-parts-
|
|
3
|
+
import { _ as r, a as i, c as a, d as o, h as s, m as c, n as l, t as u, u as d } from "./menu-parts-DNQDoJnd.js";
|
|
4
4
|
import { a as f, d as p, l as m, n as h, o as g, r as ee, s as te } from "./drawer-Du1aC1px.js";
|
|
5
5
|
import { t as ne } from "./spinner-ring-DyfaYloA.js";
|
|
6
6
|
import { n as _, t as re } from "./icon-button-DERKFHX1.js";
|
|
@@ -9,10 +9,10 @@ import { a as ae, d as oe, f as se, l as ce, p as le, r as ue } from "./popover-
|
|
|
9
9
|
import { n as de } from "./kbd-dNz8QHfL.js";
|
|
10
10
|
import { t as fe } from "./date-picker-B2wqU3Mw.js";
|
|
11
11
|
import { t as pe } from "./datetime-picker-C-PwlBW5.js";
|
|
12
|
-
import { a as me, i as he, n as ge, s as _e } from "./multi-select-
|
|
12
|
+
import { a as me, i as he, n as ge, s as _e } from "./multi-select-Dh2gOp42.js";
|
|
13
13
|
import { t as ve } from "./number-field-C20-8yda.js";
|
|
14
14
|
import { a as ye, t as v } from "./segmented-control-Dae5wU9X.js";
|
|
15
|
-
import { c as be, i as xe, n as Se, o as Ce, s as we } from "./select-
|
|
15
|
+
import { c as be, i as xe, n as Se, o as Ce, s as we } from "./select-BcTau8q3.js";
|
|
16
16
|
import { t as y } from "./time-picker-Da_UhP9X.js";
|
|
17
17
|
import { withSelectorKey as b } from "@slotted/core/selector-key";
|
|
18
18
|
import { createRemovalFocus as Te, createRovingTabindex as Ee } from "@slotted/core/focus";
|
package/dist/filter-bar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./filter-bar-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./filter-bar-DeBYLpbg.js";
|
|
2
2
|
export { r as FILTER_BAR_FALLBACK, t as FilterBar, n as FilterBarDefaultsProvider, e as useFilterBarDefaults };
|
|
@@ -8,7 +8,7 @@ import { a as c, i as l, n as u, r as d } from "./tooltip-DrFiRlH8.js";
|
|
|
8
8
|
import { i as f, t as p } from "./skeleton-DeEOmm1y.js";
|
|
9
9
|
import { i as m, n as h, o as g, r as _, t as v } from "./result-state-BMYhelu1.js";
|
|
10
10
|
import { a as ee, r as te, t as y } from "./tabs-C-Bc7WmQ.js";
|
|
11
|
-
import { A as b, O as ne, b as x, c as S, f as C, l as re, u as w, v as T } from "./table-
|
|
11
|
+
import { A as b, O as ne, b as x, c as S, f as C, l as re, u as w, v as T } from "./table-Dx-RQ64i.js";
|
|
12
12
|
import { v as ie } from "./toast-DHDVXIew.js";
|
|
13
13
|
import { keyedProps as ae, selectorKeyProps as oe } from "@slotted/core/selector-key";
|
|
14
14
|
import { createControllable as se } from "@slotted/core/state";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./import-export-center-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./import-export-center-CTliNoT9.js";
|
|
2
2
|
export { t as ImportExportCenter, n as ImportExportCenterDefaultsProvider, e as useImportExportCenterDefaults, r as useJobToasts };
|