@slotted/react 0.1.0-beta.25 → 0.1.0-beta.26
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/{data-grid-Dh-oaGY7.js → data-grid-BWWvixwB.js} +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/docs/app-shell.json +1 -1
- package/dist/docs/app-shell.md +1 -1
- package/dist/docs/dialog.json +1 -1
- package/dist/docs/dialog.md +1 -1
- package/dist/docs/drawer.json +1 -1
- package/dist/docs/drawer.md +1 -1
- package/dist/{entity-picker-BFoKN50H.js → entity-picker-WkBLvR2T.js} +1 -1
- package/dist/entity-picker.js +1 -1
- package/dist/{filter-bar-CPBr_n2c.js → filter-bar-DRQEl4-J.js} +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/{import-export-center-CzyIlQB_.js → import-export-center-C1t2tkzg.js} +1 -1
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +6 -6
- package/dist/{select-BTncjDuM.js → select-De77allF.js} +316 -314
- package/dist/select.js +1 -1
- package/dist/{table-Boy-0cjy.js → table-C3cjkzps.js} +1 -1
- package/dist/table.js +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
|
@@ -18,7 +18,7 @@ import { t as he } from "./datetime-range-picker-0xs12Cf1.js";
|
|
|
18
18
|
import { a as ge, i as _e, n as ve, s as ye } from "./multi-select-DnOAXeuF.js";
|
|
19
19
|
import { t as be } from "./number-field-C20-8yda.js";
|
|
20
20
|
import { a as xe, t as Se } from "./segmented-control-Dae5wU9X.js";
|
|
21
|
-
import { c as Ce, i as we, n as Te, o as Ee, s as De } from "./select-
|
|
21
|
+
import { c as Ce, i as we, n as Te, o as Ee, s as De } from "./select-De77allF.js";
|
|
22
22
|
import { t as Oe } from "./time-picker-Da_UhP9X.js";
|
|
23
23
|
import { t as ke } from "./time-field-xkxX8JF6.js";
|
|
24
24
|
import { t as Ae } from "./time-range-picker-CfVzD53N.js";
|
package/dist/data-grid.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./data-grid-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./data-grid-BWWvixwB.js";
|
|
2
2
|
export { e as DRAG_COLUMN, n as DataGrid, i as DataGridDefaultsProvider, r as EXPANDER_COLUMN, a as SELECTION_COLUMN, t as useDataGridDefaults, o as usePersistedGridView };
|
package/dist/docs/app-shell.json
CHANGED
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
"type": "'close' | 'none'",
|
|
462
462
|
"defaultValue": "close",
|
|
463
463
|
"appliesTo": "AppShell, AppShellDefaultsProvider",
|
|
464
|
-
"description": "The platform's way back — a phone's gesture, a browser's button — closes the layer instead of leaving the page, while it is modal: @slotted/core/dismissable-layer holds one
|
|
464
|
+
"description": "The platform's way back — a phone's gesture, a browser's button — closes the layer instead of leaving the page, while it is modal: @slotted/core/dismissable-layer holds one close watcher per modal layer where the browser has CloseWatcher, and one history entry elsewhere, and answers the way back with the reason back"
|
|
465
465
|
},
|
|
466
466
|
{
|
|
467
467
|
"name": "closeOnNavigate",
|
package/dist/docs/app-shell.md
CHANGED
|
@@ -139,7 +139,7 @@ export default function AppShellBasic() {
|
|
|
139
139
|
| `modal` | `boolean` | true | AppShell, AppShellDefaultsProvider | Whether an overlaid region contains focus and makes every other region inert. Only the overlaid modes read it, and it applies to whichever layer is open |
|
|
140
140
|
| `escape` | `'close' \| 'none'` | close | AppShell, AppShellDefaultsProvider | Whether Escape closes an overlaid region. Registered in the capture phase by @slotted/core/dismissable-layer, so a handler inside the panel runs after the layer has already asked |
|
|
141
141
|
| `outsidePress` | `'close' \| 'none'` | close | AppShell, AppShellDefaultsProvider | Whether a press outside an overlaid panel closes it |
|
|
142
|
-
| `back` | `'close' \| 'none'` | close | AppShell, AppShellDefaultsProvider | The platform's way back — a phone's gesture, a browser's button — closes the layer instead of leaving the page, while it is modal: @slotted/core/dismissable-layer holds one
|
|
142
|
+
| `back` | `'close' \| 'none'` | close | AppShell, AppShellDefaultsProvider | The platform's way back — a phone's gesture, a browser's button — closes the layer instead of leaving the page, while it is modal: @slotted/core/dismissable-layer holds one close watcher per modal layer where the browser has CloseWatcher, and one history entry elsewhere, and answers the way back with the reason back |
|
|
143
143
|
| `closeOnNavigate` | `boolean` | true | AppShell, AppShellDefaultsProvider | Whether a click on an a[href] inside the overlaid navigation closes it, with the reason select — a router’s preventDefault included, an aria-disabled link excluded. Without it a phone costs two taps per destination |
|
|
144
144
|
| `messages` | `Partial<AppShellMessages>` | — | AppShell | Words laid over the language in force, key by key — aside, close, closeAside, nav, open, openAside, progress, resizeAside, skipToAside, skipToMain, skipToNav: the two regions’ accessible names, the two controls’ labels in each state, the wait’s name, the pane edge’s name, and the three skip links. An aria-label written on the part itself still wins |
|
|
145
145
|
| `loading` | `boolean` | true | AppShellProgress | Whether the next page is on its way. The bar appears once it has lasted delay (200 ms), stays at least minDuration (400 ms), and main carries aria-busy for exactly that long. Every other ProgressBar prop but placement passes through — value for a wait that reports its fraction, tone, label, size (sm by default) — and a value set through ProgressIndicatorDefaultsProvider wins over the shell’s timing |
|
package/dist/docs/dialog.json
CHANGED
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
"type": "'close' | 'none'",
|
|
357
357
|
"defaultValue": "close",
|
|
358
358
|
"appliesTo": "Dialog, DialogDefaultsProvider",
|
|
359
|
-
"description": "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 adds one history entry
|
|
359
|
+
"description": "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."
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
362
|
"name": "surface",
|
package/dist/docs/dialog.md
CHANGED
|
@@ -150,7 +150,7 @@ export default function DialogBasic() {
|
|
|
150
150
|
| `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". |
|
|
151
151
|
| `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. |
|
|
152
152
|
| `outsidePress` | `'close' \| 'none'` | close | Dialog, DialogDefaultsProvider | Whether a press outside the panel asks the dialog to close. AlertDialog fixes it at none. |
|
|
153
|
-
| `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 adds one history entry
|
|
153
|
+
| `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. |
|
|
154
154
|
| `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. |
|
|
155
155
|
| `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. |
|
|
156
156
|
| `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. |
|
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",
|
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. |
|
|
@@ -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-De77allF.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";
|
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-WkBLvR2T.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 };
|
|
@@ -12,7 +12,7 @@ import { t as pe } from "./datetime-picker-C-PwlBW5.js";
|
|
|
12
12
|
import { a as me, i as he, n as ge, s as _e } from "./multi-select-DnOAXeuF.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-De77allF.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-DRQEl4-J.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-C3cjkzps.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-C1t2tkzg.js";
|
|
2
2
|
export { t as ImportExportCenter, n as ImportExportCenterDefaultsProvider, e as useImportExportCenterDefaults, r as useJobToasts };
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ import { n as no, t as ro } from "./kbd-dNz8QHfL.js";
|
|
|
50
50
|
import { i as io, n as ao, r as oo, t as so } from "./container-WoYiHo50.js";
|
|
51
51
|
import { a as co, i as lo, n as uo, o as fo, r as po, t as mo } from "./context-menu-CfEEqDKr.js";
|
|
52
52
|
import { i as ho, n as go, r as _o, t as vo } from "./currency-field-CTzBMH8g.js";
|
|
53
|
-
import { a as yo, i as bo, n as xo, o as So, r as Co, s as wo, t as To } from "./data-grid-
|
|
53
|
+
import { a as yo, i as bo, n as xo, o as So, r as Co, s as wo, t as To } from "./data-grid-BWWvixwB.js";
|
|
54
54
|
import { a as Eo, c as Do, i as Oo, n as ko, o as Ao, r as jo, s as Mo, t as No } from "./result-state-BMYhelu1.js";
|
|
55
55
|
import { n as Po, r as Fo, t as Io } from "./date-picker-B2wqU3Mw.js";
|
|
56
56
|
import { i as Lo, n as Ro, r as zo, t as Bo } from "./date-field-B2WG_m4C.js";
|
|
@@ -61,7 +61,7 @@ import { a as Qo, c as $o, i as es, l as ts, n as ns, o as rs, r as is, s as as,
|
|
|
61
61
|
import { a as ss, c as cs, d as ls, i as us, l as ds, n as fs, o as ps, r as ms, s as hs, t as gs, u as _s } from "./multi-select-DnOAXeuF.js";
|
|
62
62
|
import { i as vs, n as ys, r as bs, t as xs } from "./number-field-C20-8yda.js";
|
|
63
63
|
import { a as Ss, i as Cs, n as ws, r as Ts, t as Es } from "./segmented-control-Dae5wU9X.js";
|
|
64
|
-
import { a as Ds, c as Os, d as ks, f as As, i as js, l as Ms, n as Ns, o as Ps, r as Fs, s as Is, t as Ls, u as Rs } from "./select-
|
|
64
|
+
import { a as Ds, c as Os, d as ks, f as As, i as js, l as Ms, n as Ns, o as Ps, r as Fs, s as Is, t as Ls, u as Rs } from "./select-De77allF.js";
|
|
65
65
|
import { a as zs, i as Bs, n as Vs, r as Hs, t as Us } from "./time-picker-Da_UhP9X.js";
|
|
66
66
|
import { n as Ws, r as Gs, t as Ks } from "./time-field-xkxX8JF6.js";
|
|
67
67
|
import { a as qs, c as Js, i as Ys, n as Xs, o as Zs, r as Qs, s as $s, t as ec } from "./time-range-picker-CfVzD53N.js";
|
|
@@ -76,9 +76,9 @@ import { C as rl, S as il, T as al, _ as ol, a as sl, b as cl, c as ll, d as ul,
|
|
|
76
76
|
import { a as Ol, c as kl, d as Al, f as jl, i as Ml, l as Nl, n as Pl, o as Fl, p as Il, r as Ll, s as Rl, t as zl, u as Bl } from "./section-CjlMOyZE.js";
|
|
77
77
|
import { a as Vl, c as Hl, i as Ul, n as Wl, o as Gl, r as Kl, s as ql, t as Jl } from "./tabs-C-Bc7WmQ.js";
|
|
78
78
|
import { t as Yl } from "./divider-ryFeK0Pi.js";
|
|
79
|
-
import { a as Xl, c as Zl, d as Ql, f as $l, i as eu, l as tu, n as nu, o as ru, r as iu, s as au, t as ou, u as su } from "./entity-picker-
|
|
79
|
+
import { a as Xl, c as Zl, d as Ql, f as $l, i as eu, l as tu, n as nu, o as ru, r as iu, s as au, t as ou, u as su } from "./entity-picker-WkBLvR2T.js";
|
|
80
80
|
import { i as cu, n as lu, r as uu, t as du } from "./event-calendar-BaPllnNk.js";
|
|
81
|
-
import { i as fu, n as pu, r as mu, t as hu } from "./filter-bar-
|
|
81
|
+
import { i as fu, n as pu, r as mu, t as hu } from "./filter-bar-DRQEl4-J.js";
|
|
82
82
|
import { a as gu, i as _u, n as vu, o as yu, r as bu, s as xu, t as Su } from "./form-Im9lGi45.js";
|
|
83
83
|
import { a as Cu, i as wu, n as Tu, o as Eu, r as Du, s as Ou, t as ku } from "./fullscreen-CaEg6U-M.js";
|
|
84
84
|
import { t as Au } from "./grid-l7xi6DUg.js";
|
|
@@ -93,8 +93,8 @@ import { a as ud, c as dd, i as fd, n as pd, o as md, r as hd, s as gd, t as _d
|
|
|
93
93
|
import { i as vd, n as yd, r as bd, t as xd } from "./menubar-DzVGFn_I.js";
|
|
94
94
|
import { _ as Sd, a as Cd, c as wd, d as Td, f as Ed, g as Dd, h as Od, i as kd, l as Ad, m as jd, n as Md, o as Nd, p as Pd, r as Fd, s as Id, t as Ld, u as Rd, v as zd } from "./navigation-menu-parts-CRLmigjy.js";
|
|
95
95
|
import "./navigation-menu.js";
|
|
96
|
-
import { i as Bd, n as Vd, r as Hd, t as Ud } from "./import-export-center-
|
|
97
|
-
import { A as Wd, C as Gd, D as Kd, E as qd, M as Jd, N as Yd, O as Xd, P as Zd, S as Qd, T as $d, _ as ef, a as tf, b as nf, c as rf, d as af, f as of, g as sf, h as cf, i as lf, j as uf, k as df, l as ff, m as pf, n as mf, o as hf, p as gf, r as _f, s as vf, t as yf, u as bf, v as xf, w as Sf, x as Cf, y as wf } from "./table-
|
|
96
|
+
import { i as Bd, n as Vd, r as Hd, t as Ud } from "./import-export-center-C1t2tkzg.js";
|
|
97
|
+
import { A as Wd, C as Gd, D as Kd, E as qd, M as Jd, N as Yd, O as Xd, P as Zd, S as Qd, T as $d, _ as ef, a as tf, b as nf, c as rf, d as af, f as of, g as sf, h as cf, i as lf, j as uf, k as df, l as ff, m as pf, n as mf, o as hf, p as gf, r as _f, s as vf, t as yf, u as bf, v as xf, w as Sf, x as Cf, y as wf } from "./table-C3cjkzps.js";
|
|
98
98
|
import { a as Tf, i as Ef, n as Df, r as Of, t as kf } from "./radio-group-DA8_LbEz.js";
|
|
99
99
|
import { i as Af, n as jf, r as Mf, t as Nf } from "./tags-input-DEhtpizX.js";
|
|
100
100
|
import { _ as Pf, a as Ff, c as If, d as Lf, f as Rf, g as zf, h as Bf, i as Vf, l as Hf, m as Uf, n as Wf, o as Gf, p as Kf, r as qf, s as Jf, t as Yf, u as Xf, v as Zf } from "./toast-DHDVXIew.js";
|