@slotted/react 0.1.0-beta.26 → 0.1.0-beta.28
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-DUiUVxBt.js} +190 -190
- package/dist/cascader.js +1 -1
- package/dist/{checkbox-Dw9R1CGR.js → checkbox-D67PWyL0.js} +3 -3
- package/dist/{checkbox-group-DDlz-UF4.js → checkbox-group-DZZbowG-.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{color-picker-BbyW5ALf.js → color-picker-DP8MjvXk.js} +3 -3
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-Bz0bb4mq.js → column-manager-C3iL_I5T.js} +3 -3
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-BA2nvbnA.js → combobox-BIi7grOR.js} +87 -87
- 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/{currency-field-CTzBMH8g.js → currency-field-CAO2ZolW.js} +1 -1
- package/dist/currency-field.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-BWWvixwB.js → data-grid-BKOFLdSD.js} +46 -46
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-iw9K_oiz.js → data-list-BDYbrO3V.js} +6 -6
- package/dist/data-list.js +1 -1
- package/dist/{date-field-B2WG_m4C.js → date-field-BEdt1xDF.js} +1 -1
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-B2wqU3Mw.js → date-picker-DJMET62H.js} +2 -2
- package/dist/date-picker.js +1 -1
- package/dist/{date-range-picker-BhQwOKkE.js → date-range-picker-CinTpTme.js} +2 -2
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-CvKPkvaE.js → datetime-field-2tsqzWVH.js} +1 -1
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-C-PwlBW5.js → datetime-picker-COew4Y_B.js} +2 -2
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-0xs12Cf1.js → datetime-range-picker-DTT_CvkE.js} +2 -2
- package/dist/datetime-range-picker.js +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 +23 -4
- package/dist/docs/dialog.md +2 -60
- package/dist/docs/dialog.props.md +68 -0
- package/dist/docs/drawer.json +2 -0
- package/dist/docs/drawer.md +1 -1
- package/dist/docs/field-group.json +8 -0
- package/dist/docs/field-group.md +1 -0
- package/dist/docs/guidelines/forms.md +1 -1
- 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-WkBLvR2T.js → entity-picker-DfoAxqaa.js} +26 -26
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-BaPllnNk.js → event-calendar-CFw9KKAm.js} +3 -3
- package/dist/event-calendar.js +1 -1
- package/dist/{field-CSSHwGq_.js → field-BjF0c0U9.js} +2 -2
- package/dist/{field-group-DeBTueJW.js → field-group-Ctwd3EUR.js} +38 -37
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-DRQEl4-J.js → filter-bar-BJGqeIKl.js} +9 -9
- package/dist/filter-bar.js +1 -1
- package/dist/{import-export-center-C1t2tkzg.js → import-export-center-yxNcKfQX.js} +1 -1
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +53 -53
- package/dist/{listbox-B9cBuitS.js → listbox-Df177k5C.js} +11 -11
- package/dist/listbox.js +1 -1
- package/dist/{markdown-DX-mBYVT.js → markdown-D2EB46zY.js} +1 -1
- package/dist/markdown.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-DSSDlWVZ.js} +69 -69
- package/dist/multi-select.js +1 -1
- package/dist/{number-field-C20-8yda.js → number-field-DzOcs9uG.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-YI-Emc5k.js → otp-input-ult9fNdj.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{prompt-composer-DsnPcKa4.js → prompt-composer-D9oaFXDU.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-DA8_LbEz.js → radio-group-Dct1Kkuf.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-DSSqi85N.js → rating-Cjrwmxyw.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{saved-views-CsVRZTwK.js → saved-views-BKOHI-Od.js} +3 -3
- package/dist/saved-views.js +1 -1
- package/dist/{segmented-control-Dae5wU9X.js → segmented-control-BINpaKhI.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/{select-De77allF.js → select-jdqT8lFi.js} +264 -264
- package/dist/select.js +1 -1
- package/dist/{slider-DNRphJot.js → slider-DuJGh0pf.js} +1 -1
- package/dist/slider.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 +2 -2
- package/dist/styles/chart.css +1 -1
- package/dist/styles/checkbox-group.css +3 -3
- package/dist/styles/checkbox.css +3 -3
- package/dist/styles/color-picker.css +4 -4
- package/dist/styles/column-manager.css +6 -6
- package/dist/styles/combobox.css +3 -3
- package/dist/styles/command-palette.css +1 -1
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/currency-field.css +2 -2
- package/dist/styles/dashboard-grid.css +2 -2
- package/dist/styles/data-grid.css +7 -7
- package/dist/styles/data-list.css +4 -4
- package/dist/styles/date-field.css +2 -2
- package/dist/styles/date-picker.css +2 -2
- package/dist/styles/date-range-picker.css +2 -2
- package/dist/styles/datetime-field.css +2 -2
- package/dist/styles/datetime-picker.css +2 -2
- package/dist/styles/datetime-range-picker.css +2 -2
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/entity-picker.css +3 -3
- package/dist/styles/event-calendar.css +6 -6
- package/dist/styles/field-group.css +3 -3
- package/dist/styles/field.css +2 -2
- package/dist/styles/filter-bar.css +8 -8
- package/dist/styles/hover-card.css +1 -1
- package/dist/styles/import-export-center.css +5 -5
- package/dist/styles/index.css +12 -12
- package/dist/styles/listbox.css +2 -2
- package/dist/styles/markdown.css +3 -3
- package/dist/styles/menu.css +1 -1
- package/dist/styles/menubar.css +1 -1
- package/dist/styles/multi-select.css +3 -3
- package/dist/styles/notification-center.css +1 -1
- package/dist/styles/number-field.css +2 -2
- package/dist/styles/otp-input.css +2 -2
- package/dist/styles/popover.css +1 -1
- package/dist/styles/prompt-composer.css +2 -2
- package/dist/styles/radio-group.css +3 -3
- package/dist/styles/rating.css +2 -2
- package/dist/styles/saved-views.css +4 -4
- package/dist/styles/segmented-control.css +3 -3
- package/dist/styles/select.css +3 -3
- package/dist/styles/side-navigation.css +1 -1
- package/dist/styles/slider.css +2 -2
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/switch.css +2 -2
- package/dist/styles/table.css +5 -5
- package/dist/styles/tags-input.css +2 -2
- package/dist/styles/text-field.css +2 -2
- package/dist/styles/textarea.css +2 -2
- package/dist/styles/time-field.css +2 -2
- package/dist/styles/time-picker.css +2 -2
- package/dist/styles/time-range-picker.css +2 -2
- package/dist/styles/toggle-group.css +2 -2
- 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 +3 -3
- package/dist/styles/upload.css +3 -3
- package/dist/styles/wizard.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{switch-gR_OvGG8.js → switch-Tr3blHWc.js} +1 -1
- package/dist/switch.js +1 -1
- package/dist/{table-C3cjkzps.js → table-b7Wt5A88.js} +217 -217
- package/dist/table.js +1 -1
- package/dist/{tags-input-DEhtpizX.js → tags-input-_cYR2JSK.js} +10 -10
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-RGXN7zNu.js → text-field-DEm3MEe2.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-AhpUmnMk.js → textarea-BRRn55L2.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-xkxX8JF6.js → time-field-C9dFaZOx.js} +1 -1
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-Da_UhP9X.js → time-picker-VJegeX4j.js} +2 -2
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-CfVzD53N.js → time-range-picker-DFOxymH_.js} +2 -2
- package/dist/time-range-picker.js +1 -1
- package/dist/{toggle-group-DoxPLYJ3.js → toggle-group-DiKxYOwh.js} +1 -1
- package/dist/toggle-group.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-BrYBBjaG.js} +9 -9
- 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/field/field-parts.d.ts.map +1 -1
- package/dist/types/field-group/field-group-parts.d.ts.map +1 -1
- package/dist/types/field-group/field-group.d.ts +1 -1
- package/dist/types/field-group/field-group.d.ts.map +1 -1
- package/dist/types/field-group/field-group.types.d.ts +9 -0
- package/dist/types/field-group/field-group.types.d.ts.map +1 -1
- package/dist/types/field-group/index.d.ts +1 -1
- package/dist/types/field-group/index.d.ts.map +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/{upload-BqVBpYaZ.js → upload-BmRZHySQ.js} +1 -1
- package/dist/upload.js +1 -1
- package/package.json +6 -6
package/dist/menu.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./menu-parts-
|
|
1
|
+
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./menu-parts-DNQDoJnd.js";
|
|
2
2
|
export { e as MENU_FALLBACK, r as Menu, _ as MenuCheckboxItem, y as MenuContent, S as MenuDefaultsProvider, d as MenuEmpty, i as MenuGroup, h as MenuGroupLabel, v as MenuHeader, o as MenuItem, f as MenuItemDescription, b as MenuItemIcon, s as MenuItemLabel, c as MenuItemMeta, g as MenuItemShortcut, p as MenuRadioGroup, u as MenuRadioItem, l as MenuSeparator, x as MenuSurfaceProvider, m as MenuTrigger, w as MenubarSurfaceProvider, a as useMenu, n as useMenuDefaults, C as useMenuSurface, t as useMenubarSurface };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as e } from "./menu-parts-
|
|
1
|
+
import { y as e } from "./menu-parts-DNQDoJnd.js";
|
|
2
2
|
import { keyedProps as t } from "@slotted/core/selector-key";
|
|
3
3
|
import { createRovingTabindex as n } from "@slotted/core/focus";
|
|
4
4
|
import { createControllable as r } from "@slotted/core/state";
|
package/dist/menubar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./menubar-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./menubar-CY8oxV0V.js";
|
|
2
2
|
export { t as MENUBAR_FALLBACK, r as Menubar, n as MenubarDefaultsProvider, e as useMenubarDefaults };
|
|
@@ -3,7 +3,7 @@ import { n, t as r } from "./icon-D04-_QFA.js";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { t as i } from "./spinner-ring-DyfaYloA.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { b as a } from "./field-
|
|
6
|
+
import { b as a } from "./field-BjF0c0U9.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { t as o } from "./highlight-9lRPIZ9O.js";
|
|
9
9
|
import { keyedProps as s, selectorKeyProps as c, withSelectorKey as l } from "@slotted/core/selector-key";
|
|
@@ -12,15 +12,15 @@ import { createControllable as f } from "@slotted/core/state";
|
|
|
12
12
|
import { createContext as p, useCallback as m, useContext as h, useEffect as g, useId as _, useImperativeHandle as v, useLayoutEffect as y, useMemo as b, useRef as x, useState as S } from "react";
|
|
13
13
|
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
14
14
|
import { createCollapse as E } from "@slotted/core/overflow";
|
|
15
|
-
import { createPresence as
|
|
16
|
-
import { multiSelectMessages as
|
|
17
|
-
import { createPortalRoot as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
15
|
+
import { createPresence as ee } from "@slotted/core/presence";
|
|
16
|
+
import { multiSelectMessages as D } from "@slotted/core/i18n";
|
|
17
|
+
import { createPortalRoot as O, setPortalContainer as k } from "@slotted/core/portal";
|
|
18
|
+
import { createFilter as A, moveIndex as j, revealWithin as M } from "@slotted/core/collection";
|
|
19
|
+
import { createDismissableLayer as te, pressOrigin as ne } from "@slotted/core/dismissable-layer";
|
|
20
|
+
import { createPositioner as re } from "@slotted/core/positioner";
|
|
21
|
+
import { createPortal as ie } from "react-dom";
|
|
22
|
+
import { createWidthGate as N } from "@slotted/core/measure";
|
|
23
|
+
import { getLiveAnnouncer as ae } from "@slotted/core/live-announcer";
|
|
24
24
|
import { matchRanges as P } from "@slotted/core/highlight";
|
|
25
25
|
//#region src/multi-select/multi-select-defaults.tsx
|
|
26
26
|
var F = {
|
|
@@ -127,8 +127,8 @@ function oe(e) {
|
|
|
127
127
|
return e === void 0 ? [] : e.flatMap((e) => V(e) ? e.options : [e]);
|
|
128
128
|
}
|
|
129
129
|
var H = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
|
|
130
|
-
function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue: i = "", defaultOpen: o = !1, defaultValue: s = [], filter: c, form: l, highlightedValue: u, inputValue: d, items: p, locale: h, messages: g, name: y, onHighlightedValueChange: C, onInputValueChange: T, onLoadMore: E, onOpenChange:
|
|
131
|
-
let P = L(), F = a(), I = t(
|
|
130
|
+
function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue: i = "", defaultOpen: o = !1, defaultValue: s = [], filter: c, form: l, highlightedValue: u, inputValue: d, items: p, locale: h, messages: g, name: y, onHighlightedValueChange: C, onInputValueChange: T, onLoadMore: E, onOpenChange: ee, onValueChange: O, onValueRefuse: k, open: j, ref: te, total: ne, validateValue: re, value: ie, ...N }) {
|
|
131
|
+
let P = L(), F = a(), I = t(D, g), R = e(), B = h ?? R, V = _(), se = `${V}listbox`, ce = `${V}input`, [U, W] = S(o), [G, K] = S(s), [q] = S(s), [le, ue] = S(i), [J, de] = S(r), [Y, fe] = S(null), [X, Z] = S(null), [pe, me] = S(null), [he, ge] = S(!1), _e = N.disabled ?? F?.disabled ?? P.disabled, ve = N.readOnly ?? F?.readOnly ?? P.readOnly, ye = N.max ?? P.max, be = N.allowDuplicates ?? P.allowDuplicates, xe = (j ?? U) && !_e, Se = ie ?? G, Ce = d ?? le, we = u === void 0 ? J : u, Te = x(xe);
|
|
132
132
|
xe && (Te.current = !0);
|
|
133
133
|
let Ee = x("none"), De = x(/* @__PURE__ */ new Map()), [Oe, ke] = S(0), Ae = b(() => {
|
|
134
134
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -136,12 +136,12 @@ function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue:
|
|
|
136
136
|
return e;
|
|
137
137
|
}, [p]), je = m((e, t) => {
|
|
138
138
|
De.current.get(e) !== t && (De.current.set(e, t), ke((e) => e + 1));
|
|
139
|
-
}, []), Me = m((e) => Ae.get(e) ?? De.current.get(e), [Ae, Oe]), Ne = m((e) => `${V}option-${encodeURIComponent(e)}`, [V]), Pe = Ce, Fe = b(() =>
|
|
139
|
+
}, []), Me = m((e) => Ae.get(e) ?? De.current.get(e), [Ae, Oe]), Ne = m((e) => `${V}option-${encodeURIComponent(e)}`, [V]), Pe = Ce, Fe = b(() => A({ locale: B }), [B]), Ie = m((e) => Pe === "" || c === null ? !0 : c === void 0 ? Fe.contains(e, Pe) : c(e, Pe), [
|
|
140
140
|
Fe,
|
|
141
141
|
c,
|
|
142
142
|
Pe
|
|
143
143
|
]), Le = m((e) => {
|
|
144
|
-
e !== "" &&
|
|
144
|
+
e !== "" && ae(Y?.ownerDocument).announce(e, { repeat: !0 });
|
|
145
145
|
}, [Y]), Q = x({
|
|
146
146
|
allowDuplicates: be,
|
|
147
147
|
announcer: Le,
|
|
@@ -157,13 +157,13 @@ function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue:
|
|
|
157
157
|
max: ye,
|
|
158
158
|
onHighlightedValueChange: C,
|
|
159
159
|
onInputValueChange: T,
|
|
160
|
-
onOpenChange:
|
|
161
|
-
onValueChange:
|
|
160
|
+
onOpenChange: ee,
|
|
161
|
+
onValueChange: O,
|
|
162
162
|
onValueRefuse: k,
|
|
163
|
-
open:
|
|
163
|
+
open: j,
|
|
164
164
|
t: I,
|
|
165
|
-
validateValue:
|
|
166
|
-
value:
|
|
165
|
+
validateValue: re,
|
|
166
|
+
value: ie
|
|
167
167
|
});
|
|
168
168
|
Q.current = {
|
|
169
169
|
allowDuplicates: be,
|
|
@@ -180,13 +180,13 @@ function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue:
|
|
|
180
180
|
max: ye,
|
|
181
181
|
onHighlightedValueChange: C,
|
|
182
182
|
onInputValueChange: T,
|
|
183
|
-
onOpenChange:
|
|
184
|
-
onValueChange:
|
|
183
|
+
onOpenChange: ee,
|
|
184
|
+
onValueChange: O,
|
|
185
185
|
onValueRefuse: k,
|
|
186
|
-
open:
|
|
186
|
+
open: j,
|
|
187
187
|
t: I,
|
|
188
|
-
validateValue:
|
|
189
|
-
value:
|
|
188
|
+
validateValue: re,
|
|
189
|
+
value: ie
|
|
190
190
|
};
|
|
191
191
|
let Re = m((e, t, n) => {
|
|
192
192
|
let r = Q.current;
|
|
@@ -307,13 +307,13 @@ function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue:
|
|
|
307
307
|
let o = [...i], [s] = o.splice(e, 1);
|
|
308
308
|
o.splice(a, 0, s), $(o, "keyboard", n) && r.announcer(`${r.labelFor(s) ?? s}, ${a + 1}, ${o.length}`);
|
|
309
309
|
}, [$]);
|
|
310
|
-
v(
|
|
310
|
+
v(te, () => ({
|
|
311
311
|
close: () => Re(!1, "programmatic"),
|
|
312
312
|
focus: () => Q.current.inputNode?.focus({ preventScroll: !0 }),
|
|
313
313
|
open: () => Re(!0, "programmatic"),
|
|
314
314
|
scrollToKey: (e) => {
|
|
315
315
|
let t = X?.querySelector(`[data-part='item'][data-value="${CSS.escape(e)}"]`);
|
|
316
|
-
t != null && X !== null &&
|
|
316
|
+
t != null && X !== null && M(t, X);
|
|
317
317
|
},
|
|
318
318
|
setValue: (e, t = "programmatic") => $([...e], t)
|
|
319
319
|
}), [
|
|
@@ -393,7 +393,7 @@ function se({ children: n, defaultHighlightedValue: r = null, defaultInputValue:
|
|
|
393
393
|
strategy: N.strategy ?? P.strategy,
|
|
394
394
|
toggle: Ke,
|
|
395
395
|
t: I,
|
|
396
|
-
total:
|
|
396
|
+
total: ne,
|
|
397
397
|
value: Se,
|
|
398
398
|
variant: N.variant ?? P.variant,
|
|
399
399
|
width: N.width ?? P.width
|
|
@@ -416,7 +416,7 @@ function K(e, t) {
|
|
|
416
416
|
function q(e, t, n, r) {
|
|
417
417
|
let i = U(e);
|
|
418
418
|
if (i.length === 0) return null;
|
|
419
|
-
let a =
|
|
419
|
+
let a = j({
|
|
420
420
|
enabled: i.map(G),
|
|
421
421
|
from: t === null ? -1 : i.findIndex((e) => W(e) === t),
|
|
422
422
|
intent: n,
|
|
@@ -430,7 +430,7 @@ function le(e, t, n) {
|
|
|
430
430
|
function ue(e, t) {
|
|
431
431
|
if (e === null || t === null) return;
|
|
432
432
|
let n = U(e).find((e) => W(e) === t);
|
|
433
|
-
n !== void 0 &&
|
|
433
|
+
n !== void 0 && M(n, e);
|
|
434
434
|
}
|
|
435
435
|
var J = "[data-part='chips'] > [role='gridcell']:not([data-part='field'])";
|
|
436
436
|
//#endregion
|
|
@@ -648,7 +648,7 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
648
648
|
g(() => {
|
|
649
649
|
let e = p.current;
|
|
650
650
|
if (e === null) return;
|
|
651
|
-
let t =
|
|
651
|
+
let t = N(e, {
|
|
652
652
|
at: 120,
|
|
653
653
|
onChange: h
|
|
654
654
|
});
|
|
@@ -682,12 +682,12 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
682
682
|
if (!s.creatable) return !1;
|
|
683
683
|
let t = s.inputValue;
|
|
684
684
|
return t.trim() !== "" && (s.admit(b(t), "submit", e), s.setInputValue("", "submit", e), !0);
|
|
685
|
-
},
|
|
685
|
+
}, ee = (e) => {
|
|
686
686
|
let t = s.highlighted;
|
|
687
687
|
return t === null ? !1 : K(s.contentNode, t) ? (E(e), !0) : (s.toggle(t, "select", e), s.setInputValue("", "select", e), s.closeOnSelect && s.setOpen(!1, "select", e), !0);
|
|
688
|
-
},
|
|
688
|
+
}, D = (e, t) => {
|
|
689
689
|
s.entry.current = e, s.setOpen(!0, "keyboard", t);
|
|
690
|
-
},
|
|
690
|
+
}, O = (e) => {
|
|
691
691
|
if (s.disabled) return;
|
|
692
692
|
let t = e.altKey;
|
|
693
693
|
if (s.delimiters.includes(e.key) && !t) {
|
|
@@ -697,11 +697,11 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
697
697
|
switch (e.key) {
|
|
698
698
|
case "ArrowDown":
|
|
699
699
|
if (s.readOnly) return;
|
|
700
|
-
e.preventDefault(), s.open ? t || y("next", e.nativeEvent) :
|
|
700
|
+
e.preventDefault(), s.open ? t || y("next", e.nativeEvent) : D(t ? "none" : "first", e.nativeEvent);
|
|
701
701
|
return;
|
|
702
702
|
case "ArrowUp":
|
|
703
703
|
if (s.readOnly) return;
|
|
704
|
-
e.preventDefault(), t ? s.setOpen(!1, "keyboard", e.nativeEvent) : s.open ? y("previous", e.nativeEvent) :
|
|
704
|
+
e.preventDefault(), t ? s.setOpen(!1, "keyboard", e.nativeEvent) : s.open ? y("previous", e.nativeEvent) : D("last", e.nativeEvent);
|
|
705
705
|
return;
|
|
706
706
|
case "PageDown":
|
|
707
707
|
if (!s.open) return;
|
|
@@ -712,7 +712,7 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
712
712
|
e.preventDefault(), y("pageUp", e.nativeEvent);
|
|
713
713
|
return;
|
|
714
714
|
case "Enter":
|
|
715
|
-
if (
|
|
715
|
+
if (ee(e.nativeEvent)) {
|
|
716
716
|
e.preventDefault();
|
|
717
717
|
return;
|
|
718
718
|
}
|
|
@@ -742,20 +742,20 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
742
742
|
s.setInputValue(t, "keyboard", e.nativeEvent), s.openOn !== "manual" && !s.open && !s.readOnly && t !== "" && (s.entry.current = "none", s.setOpen(!0, "keyboard", e.nativeEvent));
|
|
743
743
|
}, A = () => {
|
|
744
744
|
s.openOn !== "focus" || s.open || s.disabled || s.readOnly || (s.entry.current = "none", s.setOpen(!0, "keyboard"));
|
|
745
|
-
},
|
|
745
|
+
}, j = (e) => {
|
|
746
746
|
s.openOn === "manual" || s.open || s.disabled || s.readOnly || (s.entry.current = "none", s.setOpen(!0, "pointer", e.nativeEvent));
|
|
747
|
-
},
|
|
747
|
+
}, M = (e) => {
|
|
748
748
|
if (!s.addOnPaste || !s.creatable || s.readOnly) return;
|
|
749
749
|
let t = e.clipboardData.getData("text"), n = b(t).filter((e) => e.trim() !== "");
|
|
750
750
|
n.length < 2 || (e.preventDefault(), s.admit(n, "submit", e.nativeEvent), s.setInputValue("", "submit", e.nativeEvent));
|
|
751
|
-
},
|
|
751
|
+
}, te = (e) => {
|
|
752
752
|
let t = e.relatedTarget;
|
|
753
753
|
if (t instanceof Node && s.contentNode?.contains(t) === !0 || t instanceof Node && p.current?.contains(t) === !0) return;
|
|
754
|
-
let n =
|
|
754
|
+
let n = ne(d?.ownerDocument);
|
|
755
755
|
n instanceof Node && s.contentNode?.contains(n) === !0 || (s.commitOnBlur && E(e), s.open && s.setOpen(!1, "blur"));
|
|
756
|
-
},
|
|
756
|
+
}, re = (e) => {
|
|
757
757
|
s.clear(e.nativeEvent), d?.focus({ preventScroll: !0 });
|
|
758
|
-
},
|
|
758
|
+
}, ie = (e) => {
|
|
759
759
|
s.disabled || s.readOnly || (s.entry.current = "none", s.setOpen(!s.open, "pointer", e.nativeEvent), d?.focus({ preventScroll: !0 }));
|
|
760
760
|
}, ae = m((t) => {
|
|
761
761
|
f(t), pe(t, e);
|
|
@@ -804,12 +804,12 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
804
804
|
"aria-readonly": s.readOnly ? !0 : void 0,
|
|
805
805
|
disabled: s.disabled,
|
|
806
806
|
id: o.id ?? u?.ids.control ?? s.inputId,
|
|
807
|
-
onBlur: Z(o.onBlur,
|
|
807
|
+
onBlur: Z(o.onBlur, te),
|
|
808
808
|
onChange: Z(o.onChange, k),
|
|
809
|
-
onClick: Z(o.onClick,
|
|
809
|
+
onClick: Z(o.onClick, j),
|
|
810
810
|
onFocus: Z(o.onFocus, A),
|
|
811
|
-
onKeyDown: Z(o.onKeyDown,
|
|
812
|
-
onPaste: Z(o.onPaste,
|
|
811
|
+
onKeyDown: Z(o.onKeyDown, O),
|
|
812
|
+
onPaste: Z(o.onPaste, M),
|
|
813
813
|
placeholder: s.value.length === 0 ? o.placeholder : void 0,
|
|
814
814
|
readOnly: s.readOnly,
|
|
815
815
|
ref: ae,
|
|
@@ -830,7 +830,7 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
830
830
|
"aria-label": s.t("clear"),
|
|
831
831
|
"data-part": "clear",
|
|
832
832
|
"data-part-clear": "",
|
|
833
|
-
onClick:
|
|
833
|
+
onClick: re,
|
|
834
834
|
type: "button",
|
|
835
835
|
children: /* @__PURE__ */ w(r, { children: /* @__PURE__ */ w(n, { name: "x" }) })
|
|
836
836
|
}) : null,
|
|
@@ -846,7 +846,7 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
846
846
|
"data-part": "trigger",
|
|
847
847
|
"data-part-trigger": "",
|
|
848
848
|
disabled: s.disabled,
|
|
849
|
-
onClick:
|
|
849
|
+
onClick: ie,
|
|
850
850
|
tabIndex: -1,
|
|
851
851
|
type: "button",
|
|
852
852
|
children: /* @__PURE__ */ w("span", {
|
|
@@ -885,9 +885,9 @@ function me({ ref: e, render: t, ...o }) {
|
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
887
|
function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status: c, ...u }) {
|
|
888
|
-
let d = B(), [f, p] = S(null), [h, _] = S(null), [v, b] = S(null), [C, E] = S("unmounted"), [
|
|
888
|
+
let d = B(), [f, p] = S(null), [h, _] = S(null), [v, b] = S(null), [C, E] = S("unmounted"), [D, k] = S(!1), [A, j] = S(0), M = x(null), ne = x(null), N = x(d);
|
|
889
889
|
N.current = d, g(() => {
|
|
890
|
-
let e =
|
|
890
|
+
let e = ee({
|
|
891
891
|
present: N.current.open,
|
|
892
892
|
onStatusChange: E
|
|
893
893
|
});
|
|
@@ -898,19 +898,19 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
898
898
|
let ae = d.mount === "eager" || d.mount === "lazy" && d.seen || d.open || C !== "unmounted";
|
|
899
899
|
g(() => {
|
|
900
900
|
let e = d.inputNode;
|
|
901
|
-
if (e === null ||
|
|
901
|
+
if (e === null || D) return;
|
|
902
902
|
let t = () => k(!0);
|
|
903
903
|
return e.addEventListener("focusin", t), e.addEventListener("pointerdown", t), () => {
|
|
904
904
|
e.removeEventListener("focusin", t), e.removeEventListener("pointerdown", t);
|
|
905
905
|
};
|
|
906
|
-
}, [d.inputNode,
|
|
907
|
-
let P = ae ||
|
|
906
|
+
}, [d.inputNode, D]);
|
|
907
|
+
let P = ae || D;
|
|
908
908
|
y(() => {
|
|
909
909
|
if (!P) {
|
|
910
910
|
b(null);
|
|
911
911
|
return;
|
|
912
912
|
}
|
|
913
|
-
let e =
|
|
913
|
+
let e = O({
|
|
914
914
|
origin: d.inputNode,
|
|
915
915
|
disabled: !d.portal
|
|
916
916
|
});
|
|
@@ -932,7 +932,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
932
932
|
}, []);
|
|
933
933
|
if (y(() => {
|
|
934
934
|
if (f === null || d.inputNode === null) return;
|
|
935
|
-
let e = d.inputNode.closest("[data-part='root']") ?? d.inputNode, t =
|
|
935
|
+
let e = d.inputNode.closest("[data-part='root']") ?? d.inputNode, t = re(e, f, {
|
|
936
936
|
align: F,
|
|
937
937
|
alignOffset: I,
|
|
938
938
|
boundaryPadding: L,
|
|
@@ -976,7 +976,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
976
976
|
d.open
|
|
977
977
|
]), g(() => {
|
|
978
978
|
if (f === null || !d.open) return;
|
|
979
|
-
let e = [d.inputNode?.closest("[data-part='root']") ?? null].filter((e) => e !== null), t =
|
|
979
|
+
let e = [d.inputNode?.closest("[data-part='root']") ?? null].filter((e) => e !== null), t = te(f, {
|
|
980
980
|
branches: e,
|
|
981
981
|
escape: d.closeOnEscape,
|
|
982
982
|
focusOutside: !1,
|
|
@@ -996,7 +996,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
996
996
|
f
|
|
997
997
|
]), y(() => {
|
|
998
998
|
let e = U(h).filter((e) => e.dataset.create === void 0).length;
|
|
999
|
-
|
|
999
|
+
j((t) => t === e ? t : e);
|
|
1000
1000
|
}), y(() => {
|
|
1001
1001
|
let e = N.current;
|
|
1002
1002
|
if (e.open && h !== null) {
|
|
@@ -1009,7 +1009,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1009
1009
|
}
|
|
1010
1010
|
}, [
|
|
1011
1011
|
d.open,
|
|
1012
|
-
|
|
1012
|
+
A,
|
|
1013
1013
|
h
|
|
1014
1014
|
]), g(() => {
|
|
1015
1015
|
f?.hasAttribute("data-open") === !0 && ue(h, d.highlighted);
|
|
@@ -1018,7 +1018,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1018
1018
|
d.highlighted,
|
|
1019
1019
|
h
|
|
1020
1020
|
]), g(() => {
|
|
1021
|
-
let e =
|
|
1021
|
+
let e = ne.current, t = h, n = d.onLoadMore;
|
|
1022
1022
|
if (e === null || t === null || n === void 0 || typeof IntersectionObserver != "function") return;
|
|
1023
1023
|
let r = new IntersectionObserver((e) => {
|
|
1024
1024
|
e.some((e) => e.isIntersecting) && n();
|
|
@@ -1026,7 +1026,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1026
1026
|
return r.observe(e), () => r.disconnect();
|
|
1027
1027
|
}, [
|
|
1028
1028
|
d.onLoadMore,
|
|
1029
|
-
|
|
1029
|
+
A,
|
|
1030
1030
|
h
|
|
1031
1031
|
]), !ae) return null;
|
|
1032
1032
|
let J = s({
|
|
@@ -1036,7 +1036,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1036
1036
|
"data-size": d.size,
|
|
1037
1037
|
"data-ui": "multi-select",
|
|
1038
1038
|
"data-width": d.width
|
|
1039
|
-
}), de = c === void 0 ? d.loading ? d.t("loading") :
|
|
1039
|
+
}), de = c === void 0 ? d.loading ? d.t("loading") : A === 0 ? null : d.t("count", { count: A }) : c, Y = !d.loading && A === 0 && d.creatable && !d.full && d.query.trim() !== "", fe = /* @__PURE__ */ w("div", {
|
|
1040
1040
|
...J,
|
|
1041
1041
|
ref: (e) => {
|
|
1042
1042
|
p(e), pe(e, a);
|
|
@@ -1072,7 +1072,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1072
1072
|
}, e))
|
|
1073
1073
|
}) : null,
|
|
1074
1074
|
e,
|
|
1075
|
-
/* @__PURE__ */ w("div", { ref:
|
|
1075
|
+
/* @__PURE__ */ w("div", { ref: ne }),
|
|
1076
1076
|
Y ? /* @__PURE__ */ T("div", {
|
|
1077
1077
|
"data-create": "",
|
|
1078
1078
|
"data-part": "item",
|
|
@@ -1106,7 +1106,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1106
1106
|
})
|
|
1107
1107
|
]
|
|
1108
1108
|
}) : null,
|
|
1109
|
-
!d.loading &&
|
|
1109
|
+
!d.loading && A === 0 && !Y ? /* @__PURE__ */ w("div", {
|
|
1110
1110
|
"data-part": "empty",
|
|
1111
1111
|
"data-part-empty": "",
|
|
1112
1112
|
children: i ?? d.t("empty")
|
|
@@ -1142,7 +1142,7 @@ function he({ children: e, chosen: t = !0, empty: i, ref: a, render: o, status:
|
|
|
1142
1142
|
...J,
|
|
1143
1143
|
children: e
|
|
1144
1144
|
});
|
|
1145
|
-
return v === null ? X :
|
|
1145
|
+
return v === null ? X : ie(X, v);
|
|
1146
1146
|
}
|
|
1147
1147
|
//#endregion
|
|
1148
1148
|
//#region src/multi-select/multi-select-items.tsx
|
|
@@ -1175,16 +1175,16 @@ function ge({ children: e, description: t, disabled: i = !1, icon: a, position:
|
|
|
1175
1175
|
if (v !== void 0 && !p.matches(v)) return null;
|
|
1176
1176
|
let C = p.value.includes(d);
|
|
1177
1177
|
if (C && p.chosenOptions === "hide") return null;
|
|
1178
|
-
let E = p.highlighted === d,
|
|
1179
|
-
|
|
1178
|
+
let E = p.highlighted === d, ee = p.full && !C, D = i || ee, O = (e) => {
|
|
1179
|
+
D || p.setHighlighted(d, "pointer", e.nativeEvent);
|
|
1180
1180
|
}, k = (e) => {
|
|
1181
1181
|
f.onPointerDown?.(e), !e.defaultPrevented && e.preventDefault();
|
|
1182
1182
|
}, A = (e) => {
|
|
1183
|
-
|
|
1183
|
+
D || (p.toggle(d, "select", e.nativeEvent), p.setInputValue("", "select", e.nativeEvent), p.closeOnSelect && p.setOpen(!1, "select", e.nativeEvent), p.inputNode?.focus({ preventScroll: !0 }));
|
|
1184
1184
|
};
|
|
1185
1185
|
return /* @__PURE__ */ T("div", {
|
|
1186
1186
|
...l(f, "part", "item"),
|
|
1187
|
-
"aria-disabled":
|
|
1187
|
+
"aria-disabled": D ? !0 : void 0,
|
|
1188
1188
|
"aria-posinset": s,
|
|
1189
1189
|
"aria-selected": C,
|
|
1190
1190
|
"aria-setsize": s === void 0 ? void 0 : p.total,
|
|
@@ -1196,7 +1196,7 @@ function ge({ children: e, description: t, disabled: i = !1, icon: a, position:
|
|
|
1196
1196
|
id: f.id ?? p.optionId(d),
|
|
1197
1197
|
onClick: A,
|
|
1198
1198
|
onPointerDown: k,
|
|
1199
|
-
onPointerEnter:
|
|
1199
|
+
onPointerEnter: O,
|
|
1200
1200
|
ref: (e) => {
|
|
1201
1201
|
h(e), typeof c == "function" ? c(e) : c != null && (c.current = e);
|
|
1202
1202
|
},
|
package/dist/multi-select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./multi-select-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./multi-select-DSSDlWVZ.js";
|
|
2
2
|
export { i as MULTI_SELECT_FALLBACK, c as MultiSelect, r as MultiSelectContent, e as MultiSelectControl, u as MultiSelectDefaultsProvider, l as MultiSelectGroup, a as MultiSelectItem, s as MultiSelectSeparator, o as NARROW_WIDTH, t as useMultiSelect, n as useMultiSelectDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { b as i } from "./field-
|
|
3
|
+
import { b as i } from "./field-BjF0c0U9.js";
|
|
4
4
|
import { keyedProps as a, selectorKeyProps as o, withSelectorKey as ee } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as te } from "@slotted/core/state";
|
|
6
6
|
import { createContext as s, createElement as c, useCallback as l, useContext as u, useEffect as d, useImperativeHandle as ne, useLayoutEffect as re, useMemo as ie, useRef as f, useState as p } from "react";
|
package/dist/number-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./number-field-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./number-field-DzOcs9uG.js";
|
|
2
2
|
export { r as NumberField, n as NumberFieldDefaultsProvider, t as NumberFieldScrub, e as useNumberFieldDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as e } from "./field-
|
|
1
|
+
import { b as e } from "./field-BjF0c0U9.js";
|
|
2
2
|
import { keyedProps as t, withSelectorKey as n } from "@slotted/core/selector-key";
|
|
3
3
|
import { createControllable as r } from "@slotted/core/state";
|
|
4
4
|
import { createContext as i, useContext as a, useEffect as o, useRef as s, useState as c } from "react";
|
package/dist/otp-input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./otp-input-
|
|
1
|
+
import { n as e, r as t, t as n } from "./otp-input-ult9fNdj.js";
|
|
2
2
|
export { n as OtpInput, e as OtpInputDefaultsProvider, t as useOtpInputDefaults };
|
|
@@ -2,7 +2,7 @@ import { r as e } from "./i18n-D7xXDd8-.js";
|
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { t as r } from "./spinner-ring-DyfaYloA.js";
|
|
5
|
-
import { b as i } from "./field-
|
|
5
|
+
import { b as i } from "./field-BjF0c0U9.js";
|
|
6
6
|
import { keyedProps as a, withSelectorKey as o } from "@slotted/core/selector-key";
|
|
7
7
|
import { createControllable as s } from "@slotted/core/state";
|
|
8
8
|
import { createContext as c, useContext as l, useEffect as u, useRef as d, useState as f } from "react";
|
package/dist/prompt-composer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./prompt-composer-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./prompt-composer-D9oaFXDU.js";
|
|
2
2
|
export { c as PromptComposer, i as PromptComposerAction, o as PromptComposerAttach, r as PromptComposerDefaultsProvider, n as PromptComposerDictate, e as PromptComposerFooter, a as PromptComposerHeader, s as PromptComposerInput, t as PromptComposerSubmit, l as usePromptComposerDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-D04-_QFA.js";
|
|
2
|
-
import { b as n, f as r } from "./field-
|
|
3
|
-
import { r as i } from "./field-group-
|
|
2
|
+
import { b as n, f as r } from "./field-BjF0c0U9.js";
|
|
3
|
+
import { r as i } from "./field-group-Ctwd3EUR.js";
|
|
4
4
|
import { keyedProps as a, withSelectorKey as o } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as s } from "@slotted/core/state";
|
|
6
6
|
import { createContext as c, useContext as l, useEffect as u, useId as d, useState as f } from "react";
|
package/dist/radio-group.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./radio-group-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./radio-group-Dct1Kkuf.js";
|
|
2
2
|
export { i as Radio, n as RadioGroup, t as RadioGroupDefaultsProvider, r as useRadioGroup, e as useRadioGroupDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { b as i, f as a } from "./field-
|
|
3
|
+
import { b as i, f as a } from "./field-BjF0c0U9.js";
|
|
4
4
|
import { keyedProps as o, selectorKeyProps as s } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as ee } from "@slotted/core/state";
|
|
6
6
|
import { createContext as c, createElement as l, useContext as u, useEffect as te, useId as d, useImperativeHandle as ne, useRef as f, useState as p } from "react";
|
package/dist/rating.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./rating-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./rating-Cjrwmxyw.js";
|
|
2
2
|
export { n as Rating, r as RatingDisplay, t as RatingProvider, i as RatingSummary, e as useRatingDefaults };
|
|
@@ -1,9 +1,9 @@
|
|
|
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, c as i, n as a, t as ee } from "./menu-parts-
|
|
3
|
+
import { _ as r, c as i, n as a, t as ee } from "./menu-parts-DNQDoJnd.js";
|
|
4
4
|
import { n as o } from "./icon-button-DERKFHX1.js";
|
|
5
|
-
import { o as s, t as c, u as l } from "./field-
|
|
6
|
-
import { t as u } from "./text-field-
|
|
5
|
+
import { o as s, t as c, u as l } from "./field-BjF0c0U9.js";
|
|
6
|
+
import { t as u } from "./text-field-DEm3MEe2.js";
|
|
7
7
|
import { a as d, d as f, f as te, l as ne } from "./popover-BfEn2wdZ.js";
|
|
8
8
|
import { withSelectorKey as p } from "@slotted/core/selector-key";
|
|
9
9
|
import { useCallback as m, useEffect as h, useId as re, useImperativeHandle as ie, useMemo as g, useRef as _, useState as v } from "react";
|
package/dist/saved-views.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./saved-views-
|
|
1
|
+
import { n as e, r as t, t as n } from "./saved-views-BKOHI-Od.js";
|
|
2
2
|
export { e as SavedViews, t as newSavedViewId, n as usePersistedSavedViews };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as e, f as t } from "./field-
|
|
2
|
-
import { r as n } from "./field-group-
|
|
1
|
+
import { b as e, f as t } from "./field-BjF0c0U9.js";
|
|
2
|
+
import { r as n } from "./field-group-Ctwd3EUR.js";
|
|
3
3
|
import { keyedProps as r, withSelectorKey as i } from "@slotted/core/selector-key";
|
|
4
4
|
import { createControllable as a } from "@slotted/core/state";
|
|
5
5
|
import { Children as o, createContext as s, isValidElement as c, useContext as l, useEffect as u, useId as d, useState as f } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./segmented-control-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./segmented-control-BINpaKhI.js";
|
|
2
2
|
export { e as Segment, i as SegmentedControl, r as SegmentedControlDefaultsProvider, n as useSegmentedControl, t as useSegmentedControlDefaults };
|