@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/entity-picker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./entity-picker-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./entity-picker-CPDd73JR.js";
|
|
2
2
|
export { s as CREATE_OPTION, i as ENTITY_PICKER_FALLBACK, e as EntityPicker, o as EntityPickerDefaultsProvider, r as RETRY_OPTION, a as localEntitySource, n as rememberRecent, t as useEntityPickerDefaults };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
|
-
import { _ as n, n as r, r as i, t as a } from "./menu-parts-
|
|
2
|
+
import { _ as n, n as r, r as i, t as a } from "./menu-parts-W58pVNUt.js";
|
|
3
3
|
import { n as o, r as s } from "./i18n-DpW8lqJ1.js";
|
|
4
|
-
import { a as c, c as l, n as u, o as d, r as f, s as p, t as m, u as h } from "./drawer-
|
|
4
|
+
import { a as c, c as l, n as u, o as d, r as f, s as p, t as m, u as h } from "./drawer-LXM44eso.js";
|
|
5
5
|
import { n as g } from "./progress-indicator-DwvUSFFs.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { a as _, c as v, f as ee, i as te, l as ne, o as re, p as ie, r as ae, u as oe } from "./popover-
|
|
8
|
-
import { n as se, r as y, t as ce } from "./context-menu-
|
|
9
|
-
import { a as le, t as ue } from "./segmented-control-
|
|
7
|
+
import { a as _, c as v, f as ee, i as te, l as ne, o as re, p as ie, r as ae, u as oe } from "./popover-Be7JWbGJ.js";
|
|
8
|
+
import { n as se, r as y, t as ce } from "./context-menu-BuST6W94.js";
|
|
9
|
+
import { a as le, t as ue } from "./segmented-control-DmuOGiu6.js";
|
|
10
10
|
import { createContext as de, createElement as fe, useCallback as b, useContext as pe, useEffect as me, useId as he, useImperativeHandle as ge, useLayoutEffect as _e, useMemo as x, useRef as S, useState as C } from "react";
|
|
11
11
|
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
12
12
|
import { eventCalendarMessages as ve } from "@slotted/core/i18n";
|
package/dist/event-calendar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./event-calendar-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./event-calendar-CnF3iIZD.js";
|
|
2
2
|
export { t as EVENT_CALENDAR_FALLBACK, r as EventCalendar, n as EventCalendarDefaultsProvider, e as useEventCalendarDefaults };
|
|
@@ -2,7 +2,7 @@ import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
|
2
2
|
import { r as n } from "./i18n-DpW8lqJ1.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { t as r } from "./inline-message-C4a-A2mw.js";
|
|
5
|
-
import { a as i, i as a, n as o, o as s, r as c, t as l } from "./tooltip-
|
|
5
|
+
import { a as i, i as a, n as o, o as s, r as c, t as l } from "./tooltip-DbKTPe_i.js";
|
|
6
6
|
import { Children as u, createContext as d, isValidElement as f, useCallback as p, useContext as m, useEffect as h, useId as g, useMemo as _, useRef as v, useState as y } from "react";
|
|
7
7
|
import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
8
8
|
import { fieldMessages as C } from "@slotted/core/i18n";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./i18n-DpW8lqJ1.js";
|
|
2
|
-
import { d as t, f as n, y as r } from "./field-
|
|
2
|
+
import { d as t, f as n, y as r } from "./field-NJaCxl2h.js";
|
|
3
3
|
import { t as i } from "./inline-message-C4a-A2mw.js";
|
|
4
4
|
import { createContext as a, isValidElement as o, useCallback as s, useContext as c, useEffect as l, useId as u, useMemo as d, useState as f } from "react";
|
|
5
5
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
package/dist/field-group.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 "./field-group-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./field-group-hAzVa2O9.js";
|
|
2
2
|
export { o as FieldGroup, t as FieldGroupContent, e as FieldGroupDescription, r as FieldGroupError, a as FieldGroupLegend, n as deriveFieldGroupIds, i as useFieldGroup };
|
package/dist/field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, i as s, l as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h, v as g, y as _ } from "./field-
|
|
1
|
+
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, i as s, l as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h, v as g, y as _ } from "./field-NJaCxl2h.js";
|
|
2
2
|
export { d as FIELD_DESCRIBED_ORDER, m as Field, l as FieldAction, f as FieldControl, s as FieldCounter, i as FieldDefaultsProvider, t as FieldDescription, u as FieldError, p as FieldHeader, r as FieldHelp, c as FieldIndicator, h as FieldLabel, o as deriveFieldIds, e as formatFieldCount, g as isFieldCountOver, _ as necessityMark, n as useField, a as useFieldDefaults };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-T9Yt4tnm.js";
|
|
2
|
-
import { _ as n, a as r, c as i, d as a, h as o, m as s, n as c, t as l, u } from "./menu-parts-
|
|
2
|
+
import { _ as n, a as r, c as i, d as a, h as o, m as s, n as c, t as l, u } from "./menu-parts-W58pVNUt.js";
|
|
3
3
|
import { r as d } from "./i18n-DpW8lqJ1.js";
|
|
4
|
-
import { a as f, c as p, i as m, n as h, o as g, t as ee, u as te } from "./drawer-
|
|
5
|
-
import { n as _, t as v } from "./icon-button-
|
|
6
|
-
import { t as ne } from "./text-field-
|
|
7
|
-
import { a as re, d as ie, f as ae, l as oe, p as se, r as ce } from "./popover-
|
|
4
|
+
import { a as f, c as p, i as m, n as h, o as g, t as ee, u as te } from "./drawer-LXM44eso.js";
|
|
5
|
+
import { n as _, t as v } from "./icon-button-CCWkCDMs.js";
|
|
6
|
+
import { t as ne } from "./text-field-DLfIZ0fk.js";
|
|
7
|
+
import { a as re, d as ie, f as ae, l as oe, p as se, r as ce } from "./popover-Be7JWbGJ.js";
|
|
8
8
|
import { n as le } from "./kbd-eFSWTKxN.js";
|
|
9
|
-
import { t as ue } from "./date-picker-
|
|
10
|
-
import { t as de } from "./datetime-picker-
|
|
11
|
-
import { a as fe, i as pe, n as me, s as he } from "./multi-select-
|
|
12
|
-
import { t as ge } from "./number-field-
|
|
13
|
-
import { a as _e, t as y } from "./segmented-control-
|
|
14
|
-
import { c as ve, i as ye, n as be, o as xe, s as Se } from "./select-
|
|
15
|
-
import { t as b } from "./time-picker-
|
|
9
|
+
import { t as ue } from "./date-picker-4X-_2ltN.js";
|
|
10
|
+
import { t as de } from "./datetime-picker-HDVlUhzy.js";
|
|
11
|
+
import { a as fe, i as pe, n as me, s as he } from "./multi-select-DQ5ds0fX.js";
|
|
12
|
+
import { t as ge } from "./number-field-BFIAmv-z.js";
|
|
13
|
+
import { a as _e, t as y } from "./segmented-control-DmuOGiu6.js";
|
|
14
|
+
import { c as ve, i as ye, n as be, o as xe, s as Se } from "./select-DOFqPy26.js";
|
|
15
|
+
import { t as b } from "./time-picker-CRQsMJbQ.js";
|
|
16
16
|
import { createRemovalFocus as Ce, createRovingTabindex as we } from "@slotted/core/focus";
|
|
17
17
|
import { createControllable as Te } from "@slotted/core/state";
|
|
18
18
|
import { Fragment as x, createContext as Ee, useCallback as De, useContext as Oe, useEffect as S, useId as ke, useImperativeHandle as Ae, useLayoutEffect as je, useMemo as Me, useRef as C, useState as w } from "react";
|
|
@@ -506,14 +506,14 @@ function xt(e) {
|
|
|
506
506
|
var B = "--slotted-page-sticky-top", St = typeof document > "u" ? S : je;
|
|
507
507
|
function Ct(e) {
|
|
508
508
|
let [t, n] = w(!1);
|
|
509
|
-
return
|
|
509
|
+
return S(() => {
|
|
510
510
|
let t = e.current;
|
|
511
511
|
if (!t || typeof ResizeObserver > "u") return;
|
|
512
|
-
let r = () => {
|
|
512
|
+
let r = new ResizeObserver(() => {
|
|
513
513
|
let e = t.getBoundingClientRect().width;
|
|
514
514
|
n(e > 0 && e < yt(t, z));
|
|
515
|
-
}
|
|
516
|
-
return
|
|
515
|
+
});
|
|
516
|
+
return r.observe(t), () => r.disconnect();
|
|
517
517
|
}, []), t;
|
|
518
518
|
}
|
|
519
519
|
function wt() {
|
|
@@ -711,13 +711,13 @@ function V({ apply: se, children: ue, chipLimit: de, count: fe, defaultOpen: pe,
|
|
|
711
711
|
if (!nt || !e || typeof ResizeObserver > "u") return;
|
|
712
712
|
let t = e.parentElement, n = e.ownerDocument.defaultView;
|
|
713
713
|
if (!t || !n) return;
|
|
714
|
-
let r = t.style.getPropertyValue(B), i = () => r ? t.style.setProperty(B, r) : t.style.removeProperty(B), a = () => {
|
|
714
|
+
let r = t.style.getPropertyValue(B), i = () => r ? t.style.setProperty(B, r) : t.style.removeProperty(B), a = new ResizeObserver(() => {
|
|
715
715
|
i();
|
|
716
716
|
let r = n.getComputedStyle(t).getPropertyValue(B).trim() || "0px", a = e.getBoundingClientRect().height;
|
|
717
717
|
e.style.setProperty(B, r), t.style.setProperty(B, `calc(${r} + ${a}px)`);
|
|
718
|
-
}
|
|
719
|
-
return
|
|
720
|
-
|
|
718
|
+
});
|
|
719
|
+
return a.observe(e), () => {
|
|
720
|
+
a.disconnect(), e.style.removeProperty(B), i();
|
|
721
721
|
};
|
|
722
722
|
}, [nt]);
|
|
723
723
|
let bn = fe === void 0 ? null : st === void 0 ? L("countOnly", { count: fe }) : L("count", {
|
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-D_xDcAp2.js";
|
|
2
2
|
export { r as FILTER_BAR_FALLBACK, t as FilterBar, n as FilterBarDefaultsProvider, e as useFilterBarDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, f as t, l as n, n as r, p as i } from "./popover-
|
|
1
|
+
import { a as e, f as t, l as n, n as r, p as i } from "./popover-Be7JWbGJ.js";
|
|
2
2
|
import { tabbables as a } from "@slotted/core/focus";
|
|
3
3
|
import { createControllable as o } from "@slotted/core/state";
|
|
4
4
|
import { createContext as s, useCallback as c, useContext as l, useEffect as u, useRef as d, useState as f } from "react";
|
package/dist/hover-card.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 "./hover-card-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./hover-card-BJE5dtaQ.js";
|
|
2
2
|
export { e as HOVER_CARD_FALLBACK, o as HoverCard, n as HoverCardContent, r as HoverCardDefaultsProvider, i as HoverCardTrigger, t as useHoverCard, a as useHoverCardDefaults };
|
|
@@ -52,6 +52,7 @@ function m(e) {
|
|
|
52
52
|
"data-size": e.size,
|
|
53
53
|
"data-shape": e.shape,
|
|
54
54
|
"data-full-width": e.fullWidth ? "" : void 0,
|
|
55
|
+
"data-justify": e.justify,
|
|
55
56
|
"data-disabled": e.disabled ? "" : void 0,
|
|
56
57
|
"data-loading": e.loading ? "" : void 0,
|
|
57
58
|
"data-pressed": e.pressed ? "" : void 0
|
|
@@ -118,45 +119,46 @@ function S({ label: e }) {
|
|
|
118
119
|
}
|
|
119
120
|
//#endregion
|
|
120
121
|
//#region src/button/button.tsx
|
|
121
|
-
function C({ children: e, disabled: n = !1, end: r, focusableWhenDisabled: i = !1, fullWidth: a = !1,
|
|
122
|
-
let
|
|
123
|
-
size:
|
|
124
|
-
tone:
|
|
125
|
-
variant:
|
|
126
|
-
}, u),
|
|
122
|
+
function C({ children: e, disabled: n = !1, end: r, focusableWhenDisabled: i = !1, fullWidth: a = !1, justify: s = "center", loading: d = !1, loadingDelay: f = 0, messages: p, onClick: v, onClickCapture: b, render: x, size: C, start: w, tone: T, type: E = "button", variant: D, ...O }) {
|
|
123
|
+
let k = h({
|
|
124
|
+
size: C,
|
|
125
|
+
tone: T,
|
|
126
|
+
variant: D
|
|
127
|
+
}, u), A = _({
|
|
127
128
|
disabled: n,
|
|
128
129
|
focusableWhenDisabled: i,
|
|
129
|
-
loading:
|
|
130
|
-
}),
|
|
131
|
-
loading:
|
|
132
|
-
loadingDelay:
|
|
133
|
-
}),
|
|
134
|
-
...
|
|
130
|
+
loading: d
|
|
131
|
+
}), j = y({
|
|
132
|
+
loading: d,
|
|
133
|
+
loadingDelay: f
|
|
134
|
+
}), M = t(c, p), N = {
|
|
135
|
+
...O,
|
|
135
136
|
...m({
|
|
136
137
|
disabled: n,
|
|
137
138
|
fullWidth: a,
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
justify: s,
|
|
140
|
+
loading: d,
|
|
141
|
+
...k
|
|
140
142
|
}),
|
|
141
|
-
"aria-disabled":
|
|
143
|
+
"aria-disabled": A.ariaDisabled,
|
|
142
144
|
children: /* @__PURE__ */ o(l, {
|
|
143
145
|
end: r,
|
|
144
|
-
indicator:
|
|
145
|
-
start:
|
|
146
|
+
indicator: j ? /* @__PURE__ */ o(S, { label: M("loading") }) : null,
|
|
147
|
+
start: w,
|
|
146
148
|
children: e
|
|
147
149
|
}),
|
|
148
|
-
disabled:
|
|
150
|
+
disabled: A.nativelyDisabled,
|
|
149
151
|
onClick: (e) => {
|
|
150
|
-
if (
|
|
151
|
-
|
|
152
|
+
if (A.refuses) return g(e);
|
|
153
|
+
v?.(e);
|
|
152
154
|
},
|
|
153
155
|
onClickCapture: (e) => {
|
|
154
|
-
if (
|
|
155
|
-
|
|
156
|
+
if (A.refuses) return g(e);
|
|
157
|
+
b?.(e);
|
|
156
158
|
},
|
|
157
|
-
type:
|
|
159
|
+
type: E
|
|
158
160
|
};
|
|
159
|
-
return
|
|
161
|
+
return x === void 0 ? /* @__PURE__ */ o("button", { ...N }) : x(N);
|
|
160
162
|
}
|
|
161
163
|
//#endregion
|
|
162
164
|
//#region src/button/icon-button.tsx
|