@slotted/react 0.1.0-beta.2 → 0.1.0-beta.3
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-C7cGnEyJ.js → action-bar-OACchRZw.js} +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/{action-sheet-DgwzC3iY.js → action-sheet-C60BWUW8.js} +1 -1
- package/dist/action-sheet.js +1 -1
- package/dist/{app-shell-CXwma4XA.js → app-shell-CmYvnu_7.js} +310 -310
- package/dist/app-shell.js +1 -1
- package/dist/button-Db9f3Bxn.js +99 -0
- package/dist/button.js +2 -2
- package/dist/cascader-D1AhTyBL.js +1097 -0
- package/dist/cascader.js +1 -1
- package/dist/{chart-Gb_P3Kdq.js → chart-O0ZhkzJe.js} +381 -374
- package/dist/chart.js +1 -1
- package/dist/{checkbox-CwUOc-3u.js → checkbox-DfxFHZaU.js} +3 -3
- package/dist/{checkbox-group-BYTjgAcX.js → checkbox-group-9sDgrV5Z.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{color-picker-BlPR4g4H.js → color-picker-CwbWzCKg.js} +4 -4
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-B7_a_jDK.js → column-manager-CTtizVhm.js} +6 -6
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-C66dNlMR.js → combobox-BVMI9lg8.js} +266 -266
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-BqRyNR9Y.js → command-palette-DFLbSOiv.js} +1 -1
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-DMiHdggw.js → context-menu-BuST6W94.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/currency-field-DD9A5U3D.js +455 -0
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-CKdyO4j6.js → dashboard-grid-CBMP_-JV.js} +2 -2
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-rWMDNl-6.js → data-grid-BKaGMqIm.js} +19 -19
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-2xfDpHVC.js → data-list-oICmxGkA.js} +5 -5
- package/dist/data-list.js +1 -1
- package/dist/{date-field-D_kLLTfL.js → date-field-CYcN6diW.js} +1 -1
- package/dist/date-field.js +1 -1
- package/dist/date-picker-4X-_2ltN.js +264 -0
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-CNOAtHwU.js +471 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-T1gNdJ7t.js → datetime-field-B8TrmsDK.js} +1 -1
- package/dist/datetime-field.js +1 -1
- package/dist/datetime-picker-HDVlUhzy.js +629 -0
- package/dist/datetime-picker.js +1 -1
- package/dist/datetime-range-picker-IqOFJtdW.js +994 -0
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{dialog-Dmy-m_pe.js → dialog-BHYDDj1S.js} +112 -113
- package/dist/dialog.js +1 -1
- package/dist/docs/app-shell.json +1 -1
- package/dist/docs/button-group.json +1 -0
- package/dist/docs/button-group.md +1 -1
- package/dist/docs/button.json +45 -11
- package/dist/docs/button.md +10 -6
- package/dist/docs/chart.json +7 -0
- package/dist/docs/chart.md +1 -0
- package/dist/docs/currency-field.json +32 -1
- package/dist/docs/currency-field.md +4 -1
- package/dist/docs/dialog.examples.md +26 -0
- package/dist/docs/dialog.json +14 -2
- package/dist/docs/dialog.md +1 -1
- package/dist/docs/list.json +26 -1
- package/dist/docs/list.md +4 -1
- package/dist/docs/popover.json +1 -1
- package/dist/docs/segmented-control.json +29 -1
- package/dist/docs/segmented-control.md +17 -1
- package/dist/docs/side-navigation.json +2 -2
- package/dist/docs/side-navigation.md +19 -4
- package/dist/docs/skills/theme-app/SKILL.md +5 -0
- package/dist/docs/split-button.json +1 -0
- package/dist/docs/split-button.md +1 -1
- package/dist/docs/stat-card.json +1 -0
- package/dist/docs/stat-card.md +1 -1
- package/dist/docs/table.examples.md +1 -1
- package/dist/docs/table.json +78 -2
- package/dist/docs/table.md +12 -1
- package/dist/docs/tabs.examples.md +1 -1
- package/dist/docs/tabs.json +1 -1
- package/dist/docs/toggle-group.json +14 -3
- package/dist/docs/toggle-group.md +3 -3
- package/dist/docs/toggle.json +12 -3
- package/dist/docs/toggle.md +3 -3
- package/dist/docs/tokens.md +25 -1
- package/dist/docs/top-navigation.examples.md +23 -5
- package/dist/docs/top-navigation.json +2 -2
- package/dist/docs/tour.json +1 -1
- package/dist/drawer-LXM44eso.js +757 -0
- package/dist/drawer.js +1 -1
- package/dist/entity-picker-CPDd73JR.js +1110 -0
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-DYjVwTI6.js → event-calendar-CnF3iIZD.js} +5 -5
- package/dist/event-calendar.js +1 -1
- package/dist/{field-BJh5HI7w.js → field-NJaCxl2h.js} +1 -1
- package/dist/{field-group-BDaspQPh.js → field-group-hAzVa2O9.js} +1 -1
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-Bh7cbqDE.js → filter-bar-D_xDcAp2.js} +20 -20
- package/dist/filter-bar.js +1 -1
- package/dist/{hover-card-CSDbA6zd.js → hover-card-BJE5dtaQ.js} +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/{icon-button-TnvMhK4o.js → icon-button-CCWkCDMs.js} +26 -24
- package/dist/import-export-center-DpY2DGBZ.js +813 -0
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +85 -84
- package/dist/{list-C1Y8MWp2.js → list-WsQ6ZzCa.js} +16 -12
- package/dist/{list-item-DN_mcouU.js → list-item-DpCwZIrd.js} +1 -1
- package/dist/list-item.js +1 -1
- package/dist/list.js +1 -1
- package/dist/{listbox-4WvqR0JF.js → listbox-Dv856z9I.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{loading-overlay-B83XFctM.js → loading-overlay-COfnckse.js} +73 -73
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-CpfDn1LF.js → markdown-CeG8mUbI.js} +2 -2
- package/dist/markdown.js +1 -1
- package/dist/menu-parts-W58pVNUt.js +786 -0
- package/dist/menu.js +1 -1
- package/dist/{menubar-CtGavUTO.js → menubar-b2CruimJ.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/{multi-select-B-tuIwAu.js → multi-select-DQ5ds0fX.js} +390 -390
- package/dist/multi-select.js +1 -1
- package/dist/{notification-center-C4pEHJ3h.js → notification-center-Sz54IziY.js} +2 -2
- package/dist/notification-center.js +1 -1
- package/dist/{number-field-J_koud1r.js → number-field-BFIAmv-z.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-Bf8JUiVR.js → otp-input-BNQhuKaT.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/popover-Be7JWbGJ.js +475 -0
- package/dist/popover.js +1 -1
- package/dist/press-selection-DjOllE2B.js +29 -0
- package/dist/press-selection.js +2 -0
- package/dist/{prompt-composer-B7MMcER0.js → prompt-composer-BxpdkTpZ.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-BFpjhDkV.js → radio-group-BaVIP9UH.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-D1EsADFM.js → rating-DYBQBzwB.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{saved-views-BueW-Lyb.js → saved-views-DlE_--Z9.js} +5 -5
- package/dist/saved-views.js +1 -1
- package/dist/{segmented-control-Cy_5D3Nj.js → segmented-control-DmuOGiu6.js} +28 -24
- package/dist/segmented-control.js +1 -1
- package/dist/{select-hRFp8nCj.js → select-DOFqPy26.js} +273 -273
- package/dist/select.js +1 -1
- package/dist/{side-navigation-YUiJRpng.js → side-navigation-CBLtCzuJ.js} +186 -187
- package/dist/side-navigation.js +1 -1
- package/dist/{slider-B432T6nD.js → slider-DTes4HLF.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-DHF3v3PJ.js → split-button-CPgHiy9G.js} +2 -2
- package/dist/split-button.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/{switch-4MHwKmkz.js → switch-DQzuIhPX.js} +1 -1
- package/dist/switch.js +1 -1
- package/dist/{table-Bd79IwDC.js → table-Cipi2c5X.js} +206 -173
- package/dist/table.js +2 -2
- package/dist/{tags-input-DLdHLWrH.js → tags-input-CcOkm0AW.js} +1 -1
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-BktZbmzD.js → text-field-DLfIZ0fk.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-JAK2RJl0.js → textarea-CBJBJBi6.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-DCG_VtGO.js → time-field-DrhiCtUl.js} +1 -1
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-DuT1tf5-.js → time-picker-CRQsMJbQ.js} +102 -102
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-HwBvrrXN.js → time-range-picker-DlZJsj1e.js} +202 -202
- package/dist/time-range-picker.js +1 -1
- package/dist/{toast-wI8BtPY5.js → toast-Bf3e0AgC.js} +157 -157
- package/dist/toast.js +1 -1
- package/dist/toggle-group-7iBR9Rn1.js +142 -0
- package/dist/toggle-group.js +1 -1
- package/dist/{toolbar-CDQTydDx.js → toolbar-DDZpEftQ.js} +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/{tooltip-BggqPDcW.js → tooltip-DbKTPe_i.js} +108 -109
- package/dist/tooltip.js +1 -1
- package/dist/{top-navigation-COQZsNqW.js → top-navigation-e-tWMGNr.js} +255 -256
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-C11DmYTC.js → tour-BTdt716T.js} +180 -180
- package/dist/tour.js +1 -1
- package/dist/{transfer-JA9TWjAw.js → transfer-CqZOTLMP.js} +6 -6
- package/dist/transfer.js +1 -1
- package/dist/types/app-shell/app-shell.d.ts.map +1 -1
- package/dist/types/button/button-link.d.ts +1 -1
- package/dist/types/button/button-link.d.ts.map +1 -1
- package/dist/types/button/button-root.d.ts +5 -3
- package/dist/types/button/button-root.d.ts.map +1 -1
- package/dist/types/button/button.constants.d.ts +2 -1
- package/dist/types/button/button.constants.d.ts.map +1 -1
- package/dist/types/button/button.d.ts +1 -1
- package/dist/types/button/button.d.ts.map +1 -1
- package/dist/types/button/button.types.d.ts +9 -2
- package/dist/types/button/button.types.d.ts.map +1 -1
- package/dist/types/button/index.d.ts +1 -1
- package/dist/types/button/index.d.ts.map +1 -1
- package/dist/types/button/toggle-button.d.ts +1 -1
- package/dist/types/button/toggle-button.d.ts.map +1 -1
- package/dist/types/chart/chart.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.d.ts +1 -1
- package/dist/types/currency-field/currency-field.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.types.d.ts +14 -0
- package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
- package/dist/types/currency-field/index.d.ts +1 -1
- package/dist/types/currency-field/index.d.ts.map +1 -1
- package/dist/types/dialog/dialog-demo.d.ts +8 -0
- package/dist/types/dialog/dialog-demo.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/list/index.d.ts +1 -1
- package/dist/types/list/index.d.ts.map +1 -1
- package/dist/types/list/list-parts.d.ts +1 -1
- package/dist/types/list/list-parts.d.ts.map +1 -1
- package/dist/types/list/list.types.d.ts +12 -0
- package/dist/types/list/list.types.d.ts.map +1 -1
- package/dist/types/press-selection/index.d.ts +3 -0
- package/dist/types/press-selection/index.d.ts.map +1 -0
- package/dist/types/press-selection/press-selection.d.ts +23 -0
- package/dist/types/press-selection/press-selection.d.ts.map +1 -0
- package/dist/types/segmented-control/index.d.ts +1 -1
- package/dist/types/segmented-control/index.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control-defaults.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control.d.ts +1 -1
- package/dist/types/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control.types.d.ts +10 -0
- package/dist/types/segmented-control/segmented-control.types.d.ts.map +1 -1
- package/dist/types/table/index.d.ts +2 -2
- package/dist/types/table/index.d.ts.map +1 -1
- package/dist/types/table/table-parts.d.ts +8 -2
- package/dist/types/table/table-parts.d.ts.map +1 -1
- package/dist/types/table/table.types.d.ts +28 -1
- package/dist/types/table/table.types.d.ts.map +1 -1
- package/dist/types/toggle/toggle.types.d.ts +1 -1
- package/dist/types/toggle/toggle.types.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts +6 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts.map +1 -1
- package/dist/{upload-Bq_UiyMr.js → upload-DjnlVR8y.js} +2 -2
- package/dist/upload.js +1 -1
- package/dist/{wizard-B4GrlEqh.js → wizard-BxA08vXt.js} +1 -1
- package/dist/wizard.js +1 -1
- package/package.json +12 -7
- package/dist/button-DakQ-7Tm.js +0 -97
- package/dist/cascader-CARCYdHh.js +0 -1097
- package/dist/currency-field-B7OZ0hk7.js +0 -436
- package/dist/date-picker-DQ5SIhdA.js +0 -264
- package/dist/date-range-picker-lpB08hK_.js +0 -471
- package/dist/datetime-picker-0F0kDW-8.js +0 -629
- package/dist/datetime-range-picker-ClnEleth.js +0 -994
- package/dist/drawer-Dtospdqk.js +0 -758
- package/dist/entity-picker-Dm-y0RNE.js +0 -1111
- package/dist/import-export-center-CkZ_Ar9w.js +0 -813
- package/dist/menu-parts-BQej6eU9.js +0 -787
- package/dist/popover-DE22lSpV.js +0 -476
- package/dist/react-dom-DzrKNxo6.js +0 -273
- package/dist/toggle-group-DQBlI1TV.js +0 -140
package/dist/combobox.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 "./combobox-
|
|
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 "./combobox-BVMI9lg8.js";
|
|
2
2
|
export { t as COMBOBOX_FALLBACK, a as Combobox, n as ComboboxContent, r as ComboboxDefaultsProvider, c as ComboboxGroup, e as ComboboxInput, i as ComboboxItem, o as ComboboxSeparator, s as useCombobox, l as useComboboxDefaults };
|
|
@@ -4,7 +4,7 @@ import { a as i } from "./kbd-defaults-CDgRhiep.js";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { t as a } from "./highlight-0Qw23QPp.js";
|
|
7
|
-
import { d as o, o as s, p as c } from "./dialog-
|
|
7
|
+
import { d as o, o as s, p as c } from "./dialog-BHYDDj1S.js";
|
|
8
8
|
import { t as l } from "./kbd-eFSWTKxN.js";
|
|
9
9
|
import { createControllable as u } from "@slotted/core/state";
|
|
10
10
|
import { createContext as d, useCallback as f, useContext as p, useEffect as m, useId as ee, useImperativeHandle as te, useMemo as h, useRef as g, useState as _ } from "react";
|
package/dist/command-palette.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./command-palette-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./command-palette-DFLbSOiv.js";
|
|
2
2
|
export { r as COMMAND_PALETTE_FALLBACK, i as CommandPalette, t as CommandPaletteDefaultsProvider, n as CommandPaletteTrigger, e as useCommandPaletteDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, b as t } from "./menu-parts-
|
|
1
|
+
import { _ as e, b as t } from "./menu-parts-W58pVNUt.js";
|
|
2
2
|
import { createContext as n, useCallback as r, useContext as i, useEffect as a, useImperativeHandle as o, useRef as s, useState as c } from "react";
|
|
3
3
|
import { jsx as l } from "react/jsx-runtime";
|
|
4
4
|
//#region src/context-menu/context-menu-defaults.tsx
|
package/dist/context-menu.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./context-menu-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./context-menu-BuST6W94.js";
|
|
2
2
|
export { t as CONTEXT_MENU_FALLBACK, a as ContextMenu, e as ContextMenuDefaultsProvider, n as ContextMenuTrigger, i as useContextMenu, r as useContextMenuDefaults };
|
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
|
+
import { n, r } from "./i18n-DpW8lqJ1.js";
|
|
3
|
+
import { b as i } from "./field-NJaCxl2h.js";
|
|
4
|
+
import { createControllable as a } from "@slotted/core/state";
|
|
5
|
+
import { createContext as o, useCallback as s, useContext as ee, useEffect as c, useImperativeHandle as te, useLayoutEffect as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
6
|
+
import { jsx as p, jsxs as ne } from "react/jsx-runtime";
|
|
7
|
+
import { currencyFieldMessages as re } from "@slotted/core/i18n";
|
|
8
|
+
import { clamp as ie } from "@slotted/core/measure";
|
|
9
|
+
import { MAX_AMOUNT_DIGITS as ae, createCurrencyFormat as oe, currencyAffix as se, withAmount as ce } from "@slotted/core/currency";
|
|
10
|
+
import { STEP_REPEAT_DELAY as le, STEP_REPEAT_DELAY_COARSE as ue, STEP_REPEAT_INTERVAL as de, createScrub as fe, stepNumber as pe } from "@slotted/core/number";
|
|
11
|
+
//#region src/currency-field/currency-field-defaults.tsx
|
|
12
|
+
var me = o({
|
|
13
|
+
align: "end",
|
|
14
|
+
clamp: "blur",
|
|
15
|
+
currency: void 0,
|
|
16
|
+
currencyDisplay: "symbol",
|
|
17
|
+
entry: "cents",
|
|
18
|
+
formatOn: "change",
|
|
19
|
+
size: "md",
|
|
20
|
+
stepper: "none",
|
|
21
|
+
variant: "outline"
|
|
22
|
+
});
|
|
23
|
+
function m() {
|
|
24
|
+
return ee(me);
|
|
25
|
+
}
|
|
26
|
+
function he({ children: e, ...t }) {
|
|
27
|
+
let n = m();
|
|
28
|
+
return /* @__PURE__ */ p(me.Provider, {
|
|
29
|
+
value: {
|
|
30
|
+
align: t.align ?? n.align,
|
|
31
|
+
clamp: t.clamp ?? n.clamp,
|
|
32
|
+
currency: t.currency ?? n.currency,
|
|
33
|
+
currencyDisplay: t.currencyDisplay ?? n.currencyDisplay,
|
|
34
|
+
entry: t.entry ?? n.entry,
|
|
35
|
+
formatOn: t.formatOn ?? n.formatOn,
|
|
36
|
+
size: t.size ?? n.size,
|
|
37
|
+
stepper: t.stepper ?? n.stepper,
|
|
38
|
+
variant: t.variant ?? n.variant
|
|
39
|
+
},
|
|
40
|
+
children: e
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/currency-field/currency-field.tsx
|
|
45
|
+
var ge = o(null);
|
|
46
|
+
function _e(e) {
|
|
47
|
+
return e === 0 ? "keyboard" : "pointer";
|
|
48
|
+
}
|
|
49
|
+
var ve = /* @__PURE__ */ new Set([
|
|
50
|
+
"-",
|
|
51
|
+
"−",
|
|
52
|
+
"+",
|
|
53
|
+
"("
|
|
54
|
+
]);
|
|
55
|
+
function ye({ "aria-describedby": o, "aria-invalid": ee, "aria-required": me, align: he, appearance: ye, allowEmpty: h = !1, className: be, clamp: xe, currency: Se, currencyDisplay: Ce, defaultValue: g = null, disabled: we, end: Te, entry: Ee, form: De, format: _, formatOn: Oe, fractionDigits: ke, handle: Ae, id: je, inputMode: Me, invalid: Ne, largeStep: Pe, locale: Fe, max: v, messages: Ie, min: y, name: Le, onBlur: Re, onChange: ze, onKeyDown: Be, onValueChange: Ve, readOnly: He, ref: b, render: Ue, size: We, smallStep: Ge, start: Ke, step: x = 1, stepFrom: qe, stepper: Je, style: Ye, value: S, variant: Xe, wheel: Ze = !1, ...Qe }) {
|
|
56
|
+
let C = i(), w = m(), $e = r(re, Ie), et = n(), T = d(null), tt = We ?? C?.size ?? w.size, nt = Xe ?? w.variant, rt = he ?? w.align, E = ye ?? "control", it = Ee ?? w.entry, at = Oe ?? w.formatOn, D = Je ?? w.stepper, O = xe ?? w.clamp, k = Fe ?? et, A = Ce ?? w.currencyDisplay, j = Se ?? w.currency, M = we ?? C?.disabled, N = He ?? C?.readOnly, ot = Ne ?? C?.invalid;
|
|
57
|
+
if (j === void 0) throw Error("CurrencyField needs a currency: pass `currency`, or set one on CurrencyFieldDefaultsProvider.");
|
|
58
|
+
let st = _ === void 0 ? "" : JSON.stringify(_), P = u(() => E === "display" ? se({
|
|
59
|
+
currency: j,
|
|
60
|
+
currencyDisplay: A,
|
|
61
|
+
locale: k
|
|
62
|
+
}) : null, [
|
|
63
|
+
E,
|
|
64
|
+
j,
|
|
65
|
+
A,
|
|
66
|
+
k
|
|
67
|
+
]), F = u(() => oe({
|
|
68
|
+
currency: j,
|
|
69
|
+
currencyDisplay: P === null ? A : "none",
|
|
70
|
+
locale: k,
|
|
71
|
+
...ke === void 0 ? {} : { fractionDigits: ke },
|
|
72
|
+
..._ === void 0 ? {} : { options: _ }
|
|
73
|
+
}), [
|
|
74
|
+
j,
|
|
75
|
+
A,
|
|
76
|
+
k,
|
|
77
|
+
ke,
|
|
78
|
+
st,
|
|
79
|
+
_,
|
|
80
|
+
P
|
|
81
|
+
]), I = s((e) => h ? e : e ?? 0, [h]), [ct, lt] = f(g), L = I(S === void 0 ? ct : S), [R, z] = f(() => F.format(I(L))), B = Pe ?? x * 10, ut = Ge ?? x / 10, V = it === "cents", H = y === void 0 || y < 0, U = d(!1), dt = () => L === null || L === 0 ? U.current : L < 0, ft = C?.registerControl;
|
|
82
|
+
c(() => ft?.(), [ft]);
|
|
83
|
+
let W = s((e, t, n, r) => {
|
|
84
|
+
let i = a({
|
|
85
|
+
controlled: S,
|
|
86
|
+
initial: L,
|
|
87
|
+
onRequest: (t) => Ve?.(t.value, ce(t, F.currency, r ?? F.toMinorUnits(e)))
|
|
88
|
+
}).request(e, t, n);
|
|
89
|
+
return i && lt(e), i;
|
|
90
|
+
}, [
|
|
91
|
+
L,
|
|
92
|
+
F,
|
|
93
|
+
Ve,
|
|
94
|
+
S
|
|
95
|
+
]), G = s((e, t) => {
|
|
96
|
+
z(F.format(I(t ? e : L)));
|
|
97
|
+
}, [
|
|
98
|
+
L,
|
|
99
|
+
F,
|
|
100
|
+
I
|
|
101
|
+
]), pt = s((e, t) => {
|
|
102
|
+
let n = F.parse(R);
|
|
103
|
+
n === null && !h && (n = 0), n !== null && O !== "none" && (n = ie(n, y ?? -Infinity, v ?? Infinity)), G(n, W(n, e, t));
|
|
104
|
+
}, [
|
|
105
|
+
h,
|
|
106
|
+
F,
|
|
107
|
+
v,
|
|
108
|
+
y,
|
|
109
|
+
W,
|
|
110
|
+
O,
|
|
111
|
+
G,
|
|
112
|
+
R
|
|
113
|
+
]), K = s((e, t, n, r, i = F.parse(R)) => {
|
|
114
|
+
let a = pe({
|
|
115
|
+
value: i,
|
|
116
|
+
direction: e,
|
|
117
|
+
step: t,
|
|
118
|
+
...y === void 0 ? {} : { min: y },
|
|
119
|
+
...v === void 0 ? {} : { max: v },
|
|
120
|
+
...qe === void 0 ? {} : { stepFrom: qe }
|
|
121
|
+
});
|
|
122
|
+
return G(a, W(a, n, r)), a;
|
|
123
|
+
}, [
|
|
124
|
+
F,
|
|
125
|
+
v,
|
|
126
|
+
y,
|
|
127
|
+
W,
|
|
128
|
+
G,
|
|
129
|
+
qe,
|
|
130
|
+
R
|
|
131
|
+
]);
|
|
132
|
+
te(Ae, () => ({
|
|
133
|
+
increment: () => K(1, x, "programmatic", void 0),
|
|
134
|
+
decrement: () => K(-1, x, "programmatic", void 0)
|
|
135
|
+
}), [K, x]), c(() => {
|
|
136
|
+
let e = T.current?.form;
|
|
137
|
+
if (e == null) return;
|
|
138
|
+
let t = () => {
|
|
139
|
+
lt(g), z(F.format(I(g)));
|
|
140
|
+
};
|
|
141
|
+
return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
|
|
142
|
+
}, [
|
|
143
|
+
g,
|
|
144
|
+
F,
|
|
145
|
+
I
|
|
146
|
+
]);
|
|
147
|
+
let mt = d(R);
|
|
148
|
+
mt.current = R, c(() => {
|
|
149
|
+
S !== void 0 && (Object.is(S, F.parse(mt.current)) || z(F.format(I(S))));
|
|
150
|
+
}, [
|
|
151
|
+
F,
|
|
152
|
+
I,
|
|
153
|
+
S
|
|
154
|
+
]);
|
|
155
|
+
let ht = d(null);
|
|
156
|
+
l(() => {
|
|
157
|
+
let e = ht.current;
|
|
158
|
+
if (e === null) return;
|
|
159
|
+
ht.current = null;
|
|
160
|
+
let t = T.current;
|
|
161
|
+
t !== null && t.ownerDocument.activeElement === t && t.setSelectionRange(e, e);
|
|
162
|
+
});
|
|
163
|
+
let q = d(!1);
|
|
164
|
+
l(() => {
|
|
165
|
+
let e = T.current;
|
|
166
|
+
if (!q.current || e === null || (q.current = !1, e.ownerDocument.activeElement !== e)) return;
|
|
167
|
+
let t = e.value.length;
|
|
168
|
+
for (let n = e.value.length; n > 0; --n) if (F.digitsOf(e.value[n - 1] ?? "") !== "") {
|
|
169
|
+
t = n;
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
e.setSelectionRange(t, t);
|
|
173
|
+
}), c(() => {
|
|
174
|
+
let e = T.current;
|
|
175
|
+
if (e === null) return;
|
|
176
|
+
let t = (t) => {
|
|
177
|
+
if (t.defaultPrevented || t.isComposing || t.inputType.startsWith("delete") || t.inputType === "insertFromPaste" || t.inputType === "insertFromDrop") return;
|
|
178
|
+
let n = e.selectionStart ?? e.value.length, r = e.selectionEnd ?? e.value.length, i = t.data ?? "", a = e.value.slice(0, n) + i + e.value.slice(r);
|
|
179
|
+
if (!V) {
|
|
180
|
+
if (!F.isPartial(a)) {
|
|
181
|
+
t.preventDefault();
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
if (O !== "strict") return;
|
|
185
|
+
let e = F.parse(a);
|
|
186
|
+
if (e === null) return;
|
|
187
|
+
(y !== void 0 && e < y || v !== void 0 && e > v) && t.preventDefault();
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
if (ve.has(i)) {
|
|
191
|
+
if (t.preventDefault(), !H) return;
|
|
192
|
+
let e = i !== "+";
|
|
193
|
+
if (U.current = e, L === null || L === 0 || L < 0 === e) return;
|
|
194
|
+
let n = -L;
|
|
195
|
+
G(n, W(n, "keyboard", t, F.toMinorUnits(n))), q.current = !0;
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
if (F.digitsOf(i).length !== [...i].length) {
|
|
199
|
+
t.preventDefault();
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
if (F.digitsOf(a).length > ae) {
|
|
203
|
+
t.preventDefault();
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
if (O !== "strict") return;
|
|
207
|
+
let o = F.editFromText({
|
|
208
|
+
text: a,
|
|
209
|
+
previous: e.value,
|
|
210
|
+
negative: dt(),
|
|
211
|
+
allowNegative: H,
|
|
212
|
+
allowEmpty: h
|
|
213
|
+
});
|
|
214
|
+
o.value !== null && (y !== void 0 && o.value < y || v !== void 0 && o.value > v) && t.preventDefault();
|
|
215
|
+
};
|
|
216
|
+
return e.addEventListener("beforeinput", t), () => e.removeEventListener("beforeinput", t);
|
|
217
|
+
}, [
|
|
218
|
+
h,
|
|
219
|
+
H,
|
|
220
|
+
V,
|
|
221
|
+
L,
|
|
222
|
+
F,
|
|
223
|
+
v,
|
|
224
|
+
y,
|
|
225
|
+
W,
|
|
226
|
+
O,
|
|
227
|
+
G
|
|
228
|
+
]), c(() => {
|
|
229
|
+
let e = T.current;
|
|
230
|
+
if (e === null || !Ze || M === !0 || N === !0) return;
|
|
231
|
+
let t = (t) => {
|
|
232
|
+
e.ownerDocument.activeElement === e && t.deltaY !== 0 && (t.preventDefault(), K(t.deltaY < 0 ? 1 : -1, x, "pointer", t));
|
|
233
|
+
};
|
|
234
|
+
return e.addEventListener("wheel", t, { passive: !1 }), () => e.removeEventListener("wheel", t);
|
|
235
|
+
}, [
|
|
236
|
+
K,
|
|
237
|
+
M,
|
|
238
|
+
N,
|
|
239
|
+
x,
|
|
240
|
+
Ze
|
|
241
|
+
]);
|
|
242
|
+
let J = d({}), Y = s(() => {
|
|
243
|
+
window.clearTimeout(J.current.delay), window.clearInterval(J.current.interval), J.current = {};
|
|
244
|
+
}, []);
|
|
245
|
+
c(() => Y, [Y]);
|
|
246
|
+
let X = F.parse(R), gt = v !== void 0 && X !== null && X >= v, _t = y !== void 0 && X !== null && X <= y, Z = M === !0 || N === !0, vt = (e) => (t) => {
|
|
247
|
+
if (t.button !== 0) return;
|
|
248
|
+
t.preventDefault(), T.current?.focus(), K(e, x, _e(t.detail), t), Y();
|
|
249
|
+
let n = t.pointerType === "touch" ? ue : le;
|
|
250
|
+
J.current.delay = window.setTimeout(() => {
|
|
251
|
+
J.current.interval = window.setInterval(() => {
|
|
252
|
+
K(e, x, "pointer", void 0);
|
|
253
|
+
}, de);
|
|
254
|
+
}, n);
|
|
255
|
+
}, [yt, bt] = f(!1), Q = d(null), xt = {
|
|
256
|
+
inert: Z,
|
|
257
|
+
begin: (e, t) => {
|
|
258
|
+
if (e.button !== 0 || Z) return;
|
|
259
|
+
e.preventDefault(), T.current?.focus(), e.currentTarget.setPointerCapture?.(e.pointerId);
|
|
260
|
+
let n = T.current;
|
|
261
|
+
Q.current = {
|
|
262
|
+
travel: fe({
|
|
263
|
+
clientX: e.clientX,
|
|
264
|
+
...t === void 0 ? {} : { sensitivity: t },
|
|
265
|
+
rtl: n !== null && getComputedStyle(n).direction === "rtl"
|
|
266
|
+
}),
|
|
267
|
+
from: F.parse(R)
|
|
268
|
+
}, bt(!0);
|
|
269
|
+
},
|
|
270
|
+
drag: (e) => {
|
|
271
|
+
let t = Q.current;
|
|
272
|
+
if (t === null) return;
|
|
273
|
+
let n = t.travel.steps(e.clientX);
|
|
274
|
+
if (n === 0) return;
|
|
275
|
+
let r = e.shiftKey ? B : e.altKey ? ut : x;
|
|
276
|
+
t.from = K(n > 0 ? 1 : -1, r * Math.abs(n), "pointer", e, t.from);
|
|
277
|
+
},
|
|
278
|
+
end: () => {
|
|
279
|
+
Q.current !== null && (Q.current = null, bt(!1));
|
|
280
|
+
}
|
|
281
|
+
}, St = (e) => {
|
|
282
|
+
if (Be?.(e), e.defaultPrevented || Z) return;
|
|
283
|
+
let t = e.shiftKey ? B : e.altKey ? ut : x;
|
|
284
|
+
switch (e.key) {
|
|
285
|
+
case "ArrowUp":
|
|
286
|
+
e.preventDefault(), K(1, t, "keyboard", e);
|
|
287
|
+
return;
|
|
288
|
+
case "ArrowDown":
|
|
289
|
+
e.preventDefault(), K(-1, t, "keyboard", e);
|
|
290
|
+
return;
|
|
291
|
+
case "PageUp":
|
|
292
|
+
e.preventDefault(), K(1, B, "keyboard", e);
|
|
293
|
+
return;
|
|
294
|
+
case "PageDown":
|
|
295
|
+
e.preventDefault(), K(-1, B, "keyboard", e);
|
|
296
|
+
return;
|
|
297
|
+
case "Home":
|
|
298
|
+
if (y === void 0 || e.ctrlKey || e.metaKey) return;
|
|
299
|
+
e.preventDefault(), G(y, W(y, "keyboard", e));
|
|
300
|
+
return;
|
|
301
|
+
case "End":
|
|
302
|
+
if (v === void 0 || e.ctrlKey || e.metaKey) return;
|
|
303
|
+
e.preventDefault(), G(v, W(v, "keyboard", e));
|
|
304
|
+
return;
|
|
305
|
+
case "Enter":
|
|
306
|
+
pt("keyboard", e);
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
}, Ct = V ? "numeric" : H ? "text" : F.maximumFractionDigits > 0 ? "decimal" : "numeric", $ = (n) => {
|
|
310
|
+
let r = n === 1 ? "increment" : "decrement";
|
|
311
|
+
return /* @__PURE__ */ p("button", {
|
|
312
|
+
"aria-controls": je ?? C?.ids.control,
|
|
313
|
+
"aria-label": $e(r),
|
|
314
|
+
"data-part": r,
|
|
315
|
+
disabled: Z || (n === 1 ? gt : _t),
|
|
316
|
+
onLostPointerCapture: Y,
|
|
317
|
+
onPointerCancel: Y,
|
|
318
|
+
onPointerDown: vt(n),
|
|
319
|
+
onPointerLeave: Y,
|
|
320
|
+
onPointerUp: Y,
|
|
321
|
+
tabIndex: -1,
|
|
322
|
+
type: "button",
|
|
323
|
+
children: /* @__PURE__ */ p(t, { children: /* @__PURE__ */ p(e, { name: D === "split" ? n === 1 ? "plus" : "minus" : "chevron-down" }) })
|
|
324
|
+
}, r);
|
|
325
|
+
}, wt = /* @__PURE__ */ p("input", {
|
|
326
|
+
autoComplete: "off",
|
|
327
|
+
autoCorrect: "off",
|
|
328
|
+
spellCheck: !1,
|
|
329
|
+
...Qe,
|
|
330
|
+
"aria-describedby": [o, C?.describedBy].filter(Boolean).join(" ") || void 0,
|
|
331
|
+
"aria-invalid": ee ?? (ot === !0 || void 0),
|
|
332
|
+
"aria-required": me ?? (C?.required === !0 || void 0),
|
|
333
|
+
"aria-valuemax": v,
|
|
334
|
+
"aria-valuemin": y,
|
|
335
|
+
"aria-valuenow": X ?? void 0,
|
|
336
|
+
"aria-valuetext": R === "" ? void 0 : P === null ? R : P.position === "start" ? `${P.text} ${R}` : `${R} ${P.text}`,
|
|
337
|
+
"data-part": "input",
|
|
338
|
+
disabled: M,
|
|
339
|
+
id: je ?? C?.ids.control,
|
|
340
|
+
inputMode: Me ?? Ct,
|
|
341
|
+
onBlur: (e) => {
|
|
342
|
+
Re?.(e), pt("blur", e);
|
|
343
|
+
},
|
|
344
|
+
onChange: (e) => {
|
|
345
|
+
ze?.(e);
|
|
346
|
+
let t = e.currentTarget.value;
|
|
347
|
+
if (!V) {
|
|
348
|
+
let n = e.nativeEvent;
|
|
349
|
+
if (at !== "change" || n.isComposing) {
|
|
350
|
+
z(t), W(I(F.parse(t)), "keyboard", e);
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
353
|
+
let r = e.currentTarget, i = r.selectionStart ?? t.length, a = n.inputType?.startsWith("delete") === !0 ? F.deleteAcrossSeparator(R, {
|
|
354
|
+
text: t,
|
|
355
|
+
caret: i
|
|
356
|
+
}, n.inputType === "deleteContentForward" ? 1 : -1) : {
|
|
357
|
+
text: t,
|
|
358
|
+
caret: i
|
|
359
|
+
}, o = F.formatWhileTyping(a);
|
|
360
|
+
r.value !== o.text && (r.value = o.text), r.ownerDocument.activeElement === r && r.setSelectionRange(o.caret, o.caret), z(o.text), ht.current = o.caret, W(I(F.parse(o.text)), "keyboard", e);
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
let n = e.nativeEvent.inputType, r = F.editFromText({
|
|
364
|
+
text: t,
|
|
365
|
+
previous: R,
|
|
366
|
+
negative: dt(),
|
|
367
|
+
allowNegative: H,
|
|
368
|
+
allowEmpty: h,
|
|
369
|
+
...n === void 0 ? {} : { inputType: n }
|
|
370
|
+
});
|
|
371
|
+
r.value === null ? U.current = !1 : U.current = r.value < 0, q.current = !0, G(r.value, W(r.value, "keyboard", e, r.minorUnits));
|
|
372
|
+
},
|
|
373
|
+
onKeyDown: St,
|
|
374
|
+
readOnly: N,
|
|
375
|
+
ref: (e) => {
|
|
376
|
+
T.current = e, typeof b == "function" ? b(e) : b != null && (b.current = e);
|
|
377
|
+
},
|
|
378
|
+
role: "spinbutton",
|
|
379
|
+
type: "text",
|
|
380
|
+
value: R
|
|
381
|
+
}), Tt = D === "none" ? null : D === "split" ? [$(-1), $(1)] : [/* @__PURE__ */ ne("span", {
|
|
382
|
+
"data-part": "stepper",
|
|
383
|
+
children: [$(1), $(-1)]
|
|
384
|
+
}, "stepper")], Et = {
|
|
385
|
+
children: /* @__PURE__ */ ne(ge.Provider, {
|
|
386
|
+
value: xt,
|
|
387
|
+
children: [
|
|
388
|
+
D === "split" ? Tt?.[0] : null,
|
|
389
|
+
Ke === void 0 ? null : /* @__PURE__ */ p("span", {
|
|
390
|
+
"data-part": "start",
|
|
391
|
+
children: Ke
|
|
392
|
+
}),
|
|
393
|
+
P?.position === "start" ? /* @__PURE__ */ p("span", {
|
|
394
|
+
"data-part": "symbol",
|
|
395
|
+
children: P.text
|
|
396
|
+
}) : null,
|
|
397
|
+
wt,
|
|
398
|
+
P?.position === "end" ? /* @__PURE__ */ p("span", {
|
|
399
|
+
"data-part": "symbol",
|
|
400
|
+
children: P.text
|
|
401
|
+
}) : null,
|
|
402
|
+
Te === void 0 ? null : /* @__PURE__ */ p("span", {
|
|
403
|
+
"data-part": "end",
|
|
404
|
+
children: Te
|
|
405
|
+
}),
|
|
406
|
+
D === "split" ? Tt?.[1] : Tt,
|
|
407
|
+
Le === void 0 ? null : /* @__PURE__ */ p("input", {
|
|
408
|
+
form: De,
|
|
409
|
+
name: Le,
|
|
410
|
+
type: "hidden",
|
|
411
|
+
value: I(L) === null ? "" : String(I(L))
|
|
412
|
+
})
|
|
413
|
+
]
|
|
414
|
+
}),
|
|
415
|
+
className: be,
|
|
416
|
+
style: Ye,
|
|
417
|
+
...M === !0 ? { "data-disabled": "" } : {},
|
|
418
|
+
...ot === !0 ? { "data-invalid": "" } : {},
|
|
419
|
+
...N === !0 ? { "data-readonly": "" } : {},
|
|
420
|
+
...yt ? { "data-scrubbing": "" } : {},
|
|
421
|
+
"data-align": rt,
|
|
422
|
+
"data-appearance": E,
|
|
423
|
+
"data-entry": it,
|
|
424
|
+
"data-part": "root",
|
|
425
|
+
"data-size": tt,
|
|
426
|
+
"data-stepper": D,
|
|
427
|
+
"data-ui": "currency-field",
|
|
428
|
+
"data-variant": nt
|
|
429
|
+
};
|
|
430
|
+
return Ue === void 0 ? /* @__PURE__ */ p("div", { ...Et }) : Ue(Et);
|
|
431
|
+
}
|
|
432
|
+
function h({ "aria-hidden": e = !0, onLostPointerCapture: t, onPointerCancel: n, onPointerDown: r, onPointerMove: i, onPointerUp: a, sensitivity: o, ...s }) {
|
|
433
|
+
let c = ee(ge);
|
|
434
|
+
if (c === null) throw Error("CurrencyFieldScrub belongs in the start or end of a CurrencyField.");
|
|
435
|
+
let [te, l] = f(!1), u = (e) => (t) => {
|
|
436
|
+
e?.(t), l(!1), c.end();
|
|
437
|
+
};
|
|
438
|
+
return /* @__PURE__ */ p("span", {
|
|
439
|
+
...s,
|
|
440
|
+
"aria-hidden": e,
|
|
441
|
+
"data-part": "scrub",
|
|
442
|
+
"data-scrubbing": te ? "" : void 0,
|
|
443
|
+
onLostPointerCapture: u(t),
|
|
444
|
+
onPointerCancel: u(n),
|
|
445
|
+
onPointerDown: (e) => {
|
|
446
|
+
r?.(e), !(e.defaultPrevented || c.inert || e.button !== 0) && (c.begin(e, o), l(!0));
|
|
447
|
+
},
|
|
448
|
+
onPointerMove: (e) => {
|
|
449
|
+
i?.(e), c.drag(e);
|
|
450
|
+
},
|
|
451
|
+
onPointerUp: u(a)
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
//#endregion
|
|
455
|
+
export { m as i, h as n, he as r, ye as t };
|
package/dist/currency-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./currency-field-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./currency-field-DD9A5U3D.js";
|
|
2
2
|
export { r as CurrencyField, n as CurrencyFieldDefaultsProvider, t as CurrencyFieldScrub, e as useCurrencyFieldDefaults };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
|
-
import { _ as n, c as r, d as i, g as a, n as o, p as s, t as c } from "./menu-parts-
|
|
2
|
+
import { _ as n, c as r, d as i, g as a, n as o, p as s, t as c } from "./menu-parts-W58pVNUt.js";
|
|
3
3
|
import { r as l } from "./i18n-DpW8lqJ1.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { n as u, t as d } from "./icon-button-
|
|
5
|
+
import { n as u, t as d } from "./icon-button-CCWkCDMs.js";
|
|
6
6
|
import { a as f, c as p, i as m, o as ee, s as h } from "./card-CpVu8PyZ.js";
|
|
7
7
|
import { i as g, o as _, r as v } from "./skeleton-2LSpg84Z.js";
|
|
8
8
|
import { i as y, n as b, o as x, r as S, t as C } from "./result-state-CZsQfdN4.js";
|
package/dist/dashboard-grid.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./dashboard-grid-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./dashboard-grid-CBMP_-JV.js";
|
|
2
2
|
export { t as DASHBOARD_GRID_FALLBACK, i as DashboardGrid, e as DashboardGridDefaultsProvider, n as DashboardWidget, r as useDashboardGridDefaults, a as usePersistedDashboardLayout };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
|
-
import { _ as n, c as r, g as i, n as a, t as o } from "./menu-parts-
|
|
2
|
+
import { _ as n, c as r, g as i, n as a, t as o } from "./menu-parts-W58pVNUt.js";
|
|
3
3
|
import { n as s, r as c } from "./i18n-DpW8lqJ1.js";
|
|
4
|
-
import { n as l } from "./icon-button-
|
|
5
|
-
import { a as u, i as d, n as f, r as p } from "./tooltip-
|
|
6
|
-
import { t as m } from "./checkbox-
|
|
4
|
+
import { n as l } from "./icon-button-CCWkCDMs.js";
|
|
5
|
+
import { a as u, i as d, n as f, r as p } from "./tooltip-DbKTPe_i.js";
|
|
6
|
+
import { t as m } from "./checkbox-DfxFHZaU.js";
|
|
7
7
|
import { i as h } from "./skeleton-2LSpg84Z.js";
|
|
8
|
-
import { t as g } from "./text-field-
|
|
9
|
-
import { a as _, d as ee, f as te, l as ne, r as re, t as ie } from "./popover-
|
|
8
|
+
import { t as g } from "./text-field-DLfIZ0fk.js";
|
|
9
|
+
import { a as _, d as ee, f as te, l as ne, r as re, t as ie } from "./popover-Be7JWbGJ.js";
|
|
10
10
|
import { t as v } from "./visually-hidden-CE6u5JLW.js";
|
|
11
11
|
import { i as ae, n as oe, o as se, r as ce, t as le } from "./result-state-CZsQfdN4.js";
|
|
12
|
-
import { t as ue } from "./date-picker-
|
|
13
|
-
import { t as de } from "./date-field-
|
|
14
|
-
import { t as fe } from "./date-range-picker-
|
|
15
|
-
import { t as pe } from "./datetime-picker-
|
|
16
|
-
import { t as me } from "./datetime-field-
|
|
17
|
-
import { t as he } from "./datetime-range-picker-
|
|
18
|
-
import { a as ge, i as _e, n as ve, s as ye } from "./multi-select-
|
|
19
|
-
import { t as be } from "./number-field-
|
|
20
|
-
import { a as xe, t as Se } from "./segmented-control-
|
|
21
|
-
import { c as Ce, i as we, n as Te, o as Ee, s as De } from "./select-
|
|
22
|
-
import { t as Oe } from "./time-picker-
|
|
23
|
-
import { t as ke } from "./time-field-
|
|
24
|
-
import { t as Ae } from "./time-range-picker-
|
|
12
|
+
import { t as ue } from "./date-picker-4X-_2ltN.js";
|
|
13
|
+
import { t as de } from "./date-field-CYcN6diW.js";
|
|
14
|
+
import { t as fe } from "./date-range-picker-CNOAtHwU.js";
|
|
15
|
+
import { t as pe } from "./datetime-picker-HDVlUhzy.js";
|
|
16
|
+
import { t as me } from "./datetime-field-B8TrmsDK.js";
|
|
17
|
+
import { t as he } from "./datetime-range-picker-IqOFJtdW.js";
|
|
18
|
+
import { a as ge, i as _e, n as ve, s as ye } from "./multi-select-DQ5ds0fX.js";
|
|
19
|
+
import { t as be } from "./number-field-BFIAmv-z.js";
|
|
20
|
+
import { a as xe, t as Se } from "./segmented-control-DmuOGiu6.js";
|
|
21
|
+
import { c as Ce, i as we, n as Te, o as Ee, s as De } from "./select-DOFqPy26.js";
|
|
22
|
+
import { t as Oe } from "./time-picker-CRQsMJbQ.js";
|
|
23
|
+
import { t as ke } from "./time-field-DrhiCtUl.js";
|
|
24
|
+
import { t as Ae } from "./time-range-picker-DlZJsj1e.js";
|
|
25
25
|
import { createControllable as je } from "@slotted/core/state";
|
|
26
26
|
import { createContext as Me, createElement as Ne, memo as Pe, useCallback as y, useContext as Fe, useEffect as b, useId as Ie, useImperativeHandle as Le, useLayoutEffect as Re, useMemo as x, useRef as S, useState as C } from "react";
|
|
27
27
|
import { Fragment as ze, jsx as w, jsxs as T } from "react/jsx-runtime";
|
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-BKaGMqIm.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 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
|
-
import { _ as n, g as r, h as i, m as a, n as o, o as s, t as c } from "./menu-parts-
|
|
2
|
+
import { _ as n, g as r, h as i, m as a, n as o, o as s, t as c } from "./menu-parts-W58pVNUt.js";
|
|
3
3
|
import { n as ee, r as te } from "./i18n-DpW8lqJ1.js";
|
|
4
|
-
import { n as l } from "./icon-button-
|
|
5
|
-
import { t as ne } from "./checkbox-
|
|
4
|
+
import { n as l } from "./icon-button-CCWkCDMs.js";
|
|
5
|
+
import { t as ne } from "./checkbox-DfxFHZaU.js";
|
|
6
6
|
import { i as u, n as d } from "./skeleton-2LSpg84Z.js";
|
|
7
7
|
import { t as f } from "./visually-hidden-CE6u5JLW.js";
|
|
8
8
|
import { n as p, o as re, r as m, t as ie } from "./result-state-CZsQfdN4.js";
|
|
9
|
-
import { n as ae, r as oe } from "./list-
|
|
10
|
-
import { a as se, c as ce, i as le, n as ue, o as de, r as fe, t as pe, u as me } from "./list-item-
|
|
9
|
+
import { n as ae, r as oe } from "./list-WsQ6ZzCa.js";
|
|
10
|
+
import { a as se, c as ce, i as le, n as ue, o as de, r as fe, t as pe, u as me } from "./list-item-DpCwZIrd.js";
|
|
11
11
|
import { Fragment as he, createContext as ge, useContext as _e, useEffect as ve, useId as ye, useImperativeHandle as be, useLayoutEffect as xe, useMemo as Se, useRef as h, useState as g } from "react";
|
|
12
12
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
13
13
|
import { dataListMessages as Ce } from "@slotted/core/i18n";
|
package/dist/data-list.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./data-list-
|
|
1
|
+
import { n as e, r as t, t as n } from "./data-list-oICmxGkA.js";
|
|
2
2
|
export { n as DataList, e as DataListDefaultsProvider, t as useDataListDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
2
|
import { n, r } from "./i18n-DpW8lqJ1.js";
|
|
3
|
-
import { b as i } from "./field-
|
|
3
|
+
import { b as i } from "./field-NJaCxl2h.js";
|
|
4
4
|
import { createControllable as a } from "@slotted/core/state";
|
|
5
5
|
import { createContext as o, useCallback as s, useContext as c, useEffect as l, useId as u, useImperativeHandle as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
6
6
|
import { Fragment as ee, jsx as h, jsxs as te } from "react/jsx-runtime";
|
package/dist/date-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./date-field-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./date-field-CYcN6diW.js";
|
|
2
2
|
export { t as DATE_FIELD_YEAR_PIVOT, r as DateField, n as DateFieldDefaultsProvider, e as useDateFieldDefaults };
|