@slotted/react 0.1.0-beta.23 → 0.1.0-beta.25
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-D-V2uWjA.js → action-bar-DckD0Sug.js} +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/{cascader-DO1HiJT6.js → cascader-47GYpojH.js} +1 -1
- package/dist/cascader.js +1 -1
- package/dist/{checkbox-Hq1PXk04.js → checkbox-Dw9R1CGR.js} +3 -3
- package/dist/{checkbox-group-Ckoh-2GJ.js → checkbox-group-DDlz-UF4.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{color-picker-BsDplfdK.js → color-picker-BbyW5ALf.js} +3 -3
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-Dm5ZLz6p.js → column-manager-Bz0bb4mq.js} +3 -3
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-vE8dmv4K.js → combobox-BA2nvbnA.js} +1 -1
- package/dist/combobox.js +1 -1
- package/dist/{context-menu-BxbGq4bu.js → context-menu-CfEEqDKr.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field-ZvfrfM0z.js → currency-field-CTzBMH8g.js} +1 -1
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-Bx4J-aC7.js → dashboard-grid-WinSY-q3.js} +1 -1
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-Dez5RojO.js → data-grid-Dh-oaGY7.js} +16 -16
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-B18kLC9Q.js → data-list-iw9K_oiz.js} +2 -2
- package/dist/data-list.js +1 -1
- package/dist/{date-field-EBPrQL6A.js → date-field-B2WG_m4C.js} +1 -1
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-B5V8NZCT.js → date-picker-B2wqU3Mw.js} +2 -2
- package/dist/date-picker.js +1 -1
- package/dist/{date-range-picker-B89Q973N.js → date-range-picker-BhQwOKkE.js} +2 -2
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-DavJbR0H.js → datetime-field-CvKPkvaE.js} +1 -1
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-Cx6Z52Ka.js → datetime-picker-C-PwlBW5.js} +2 -2
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-DYshAlgq.js → datetime-range-picker-0xs12Cf1.js} +2 -2
- package/dist/datetime-range-picker.js +1 -1
- package/dist/docs/data-grid.json +1 -1
- package/dist/docs/data-grid.md +1 -1
- package/dist/docs/datetime-picker.json +0 -1
- package/dist/docs/datetime-picker.md +1 -1
- package/dist/docs/field.json +16 -1
- package/dist/docs/field.md +3 -1
- package/dist/docs/form.json +14 -3
- package/dist/docs/form.md +3 -2
- package/dist/docs/guidelines/forms.md +89 -1
- package/dist/docs/guidelines/index.md +7 -0
- package/dist/docs/listbox.json +0 -1
- package/dist/docs/listbox.md +1 -1
- package/dist/docs/menu.json +2 -3
- package/dist/docs/menu.md +2 -2
- package/dist/docs/table.json +1 -0
- package/dist/docs/table.md +1 -1
- package/dist/docs/time-picker.json +0 -1
- package/dist/docs/time-picker.md +1 -1
- package/dist/{entity-picker-DB1HeuvJ.js → entity-picker-BFoKN50H.js} +2 -2
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-CEIyV-fW.js → event-calendar-BaPllnNk.js} +3 -3
- package/dist/event-calendar.js +1 -1
- package/dist/{field-CnSMUZw6.js → field-CSSHwGq_.js} +106 -105
- package/dist/{field-group-RACkEXPp.js → field-group-DeBTueJW.js} +1 -1
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-CzuAJsSf.js → filter-bar-CPBr_n2c.js} +9 -9
- package/dist/filter-bar.js +1 -1
- package/dist/{form-DEcJ7tHf.js → form-Im9lGi45.js} +13 -3
- package/dist/form.js +2 -2
- package/dist/{import-export-center-tbHmRTGb.js → import-export-center-CzyIlQB_.js} +1 -1
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +82 -82
- package/dist/{listbox-DvwUa0yH.js → listbox-B9cBuitS.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{markdown-Bw6L0Ifo.js → markdown-DX-mBYVT.js} +1 -1
- package/dist/markdown.js +1 -1
- package/dist/menu-parts-7F8syoFE.js +815 -0
- package/dist/menu.js +1 -1
- package/dist/{menubar-hazvXRYd.js → menubar-DzVGFn_I.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/{multi-select-C1GNk4e0.js → multi-select-DnOAXeuF.js} +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/{number-field-BPYe9kLB.js → number-field-C20-8yda.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-CYtF30Q-.js → otp-input-YI-Emc5k.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{prompt-composer-C57BzYrn.js → prompt-composer-DsnPcKa4.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-CLX8D2Ew.js → radio-group-DA8_LbEz.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-BB2k-Fay.js → rating-DSSqi85N.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{saved-views-B54F_Bk4.js → saved-views-CsVRZTwK.js} +3 -3
- package/dist/saved-views.js +1 -1
- package/dist/{segmented-control-B1U-s58C.js → segmented-control-Dae5wU9X.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/{select-OUGNxyS5.js → select-BTncjDuM.js} +38 -38
- package/dist/select.js +1 -1
- package/dist/{slider-Bp1QjJKu.js → slider-DNRphJot.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-Dg67gBMP.js → split-button-DA1wcDJB.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/styles/action-bar.css +1 -1
- package/dist/styles/cascader.css +1 -1
- package/dist/styles/checkbox-group.css +1 -1
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/color-picker.css +2 -2
- package/dist/styles/column-manager.css +2 -2
- package/dist/styles/combobox.css +2 -2
- package/dist/styles/command-palette.css +1 -1
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/currency-field.css +1 -1
- package/dist/styles/dashboard-grid.css +1 -1
- package/dist/styles/data-grid.css +7 -7
- package/dist/styles/data-list.css +2 -2
- package/dist/styles/date-field.css +1 -1
- package/dist/styles/date-picker.css +1 -1
- package/dist/styles/date-range-picker.css +1 -1
- package/dist/styles/datetime-field.css +1 -1
- package/dist/styles/datetime-picker.css +2 -2
- package/dist/styles/datetime-range-picker.css +1 -1
- package/dist/styles/entity-picker.css +2 -2
- package/dist/styles/event-calendar.css +2 -2
- package/dist/styles/field-group.css +1 -1
- package/dist/styles/field.css +1 -1
- package/dist/styles/filter-bar.css +6 -6
- package/dist/styles/form.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 +1 -1
- package/dist/styles/menu.css +1 -1
- package/dist/styles/menubar.css +1 -1
- package/dist/styles/multi-select.css +2 -2
- package/dist/styles/number-field.css +1 -1
- package/dist/styles/otp-input.css +1 -1
- package/dist/styles/prompt-composer.css +1 -1
- package/dist/styles/radio-group.css +1 -1
- package/dist/styles/rating.css +1 -1
- package/dist/styles/saved-views.css +2 -2
- package/dist/styles/segmented-control.css +1 -1
- package/dist/styles/select.css +2 -2
- package/dist/styles/slider.css +1 -1
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/switch.css +1 -1
- package/dist/styles/table.css +5 -5
- package/dist/styles/tags-input.css +1 -1
- package/dist/styles/text-field.css +1 -1
- package/dist/styles/textarea.css +1 -1
- package/dist/styles/time-field.css +1 -1
- package/dist/styles/time-picker.css +2 -2
- package/dist/styles/time-range-picker.css +1 -1
- package/dist/styles/toggle-group.css +1 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/transfer.css +2 -2
- package/dist/styles/upload.css +1 -1
- package/dist/styles/wizard.css +2 -2
- package/dist/styles.css +1 -1
- package/dist/{switch-DmLzDbTb.js → switch-gR_OvGG8.js} +1 -1
- package/dist/switch.js +1 -1
- package/dist/{table-Cz9YpgLT.js → table-Boy-0cjy.js} +12 -12
- package/dist/table.js +1 -1
- package/dist/{tags-input-CAmXKSeZ.js → tags-input-DEhtpizX.js} +1 -1
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-CHYoral_.js → text-field-RGXN7zNu.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-47JGOZKv.js → textarea-AhpUmnMk.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-D1-rNBsB.js → time-field-xkxX8JF6.js} +1 -1
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-mwCULYh7.js → time-picker-Da_UhP9X.js} +2 -2
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-BKgsEHmd.js → time-range-picker-CfVzD53N.js} +2 -2
- package/dist/time-range-picker.js +1 -1
- package/dist/{toggle-group-Bnig_MWl.js → toggle-group-DoxPLYJ3.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/{toolbar-EdmEn_ph.js → toolbar-CtSZ88HI.js} +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/{transfer-CEHIa2XD.js → transfer-BMRyopEw.js} +5 -5
- package/dist/transfer.js +1 -1
- package/dist/types/field/field.d.ts +1 -1
- package/dist/types/field/field.d.ts.map +1 -1
- package/dist/types/field/field.types.d.ts +10 -0
- package/dist/types/field/field.types.d.ts.map +1 -1
- package/dist/types/field/index.d.ts +1 -1
- package/dist/types/field/index.d.ts.map +1 -1
- package/dist/types/form/form-parts.d.ts +7 -1
- package/dist/types/form/form-parts.d.ts.map +1 -1
- package/dist/types/form/form.types.d.ts +3 -0
- package/dist/types/form/form.types.d.ts.map +1 -1
- package/dist/types/form/index.d.ts +2 -2
- package/dist/types/form/index.d.ts.map +1 -1
- package/dist/types/menu/menu-items.d.ts.map +1 -1
- package/dist/{upload-S3d3tUt-.js → upload-BqVBpYaZ.js} +1 -1
- package/dist/upload.js +1 -1
- package/dist/{wizard-gZyH8HIo.js → wizard-CpYwQGQ-.js} +1 -1
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/menu-parts-BDdCTmko.js +0 -805
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./button-defaults-DNq_DDJh.js";
|
|
2
2
|
import { r as t } from "./i18n-D7xXDd8-.js";
|
|
3
3
|
import { n, t as r } from "./icon-D04-_QFA.js";
|
|
4
|
-
import { _ as i, g as a, n as o, t as s } from "./menu-parts-
|
|
4
|
+
import { _ as i, g as a, n as o, t as s } from "./menu-parts-7F8syoFE.js";
|
|
5
5
|
import { keyedProps as c } from "@slotted/core/selector-key";
|
|
6
6
|
import { Fragment as l, createContext as u, useCallback as d, useContext as f, useEffect as p, useId as m, useMemo as h, useRef as g, useState as _ } from "react";
|
|
7
7
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
package/dist/action-bar.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 } from "./action-bar-
|
|
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 } from "./action-bar-DckD0Sug.js";
|
|
2
2
|
export { a as ActionBar, c as ActionBarAction, i as ActionBarActions, s as ActionBarDefaultsProvider, e as ActionBarOverflow, o as ActionBarSeparator, n as ActionBarStatus, t as useActionBarDefaults, r as useActionBarOverflow };
|
|
@@ -4,7 +4,7 @@ import { n, t as r } from "./icon-D04-_QFA.js";
|
|
|
4
4
|
import { t as i } from "./spinner-ring-DyfaYloA.js";
|
|
5
5
|
import { n as a } from "./icon-button-DERKFHX1.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { b as o } from "./field-
|
|
7
|
+
import { b as o } from "./field-CSSHwGq_.js";
|
|
8
8
|
import { t as s } from "./select-tags-3792weoq.js";
|
|
9
9
|
import { t as c } from "./highlight-9lRPIZ9O.js";
|
|
10
10
|
import { withSelectorKey as l } from "@slotted/core/selector-key";
|
package/dist/cascader.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./cascader-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./cascader-47GYpojH.js";
|
|
2
2
|
export { r as CASCADER_FALLBACK, i as Cascader, t as CascaderDefaultsProvider, n as CascaderPanel, e as useCascaderDefaults };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-D04-_QFA.js";
|
|
2
|
-
import { b as n, f as r } from "./field-
|
|
3
|
-
import { n as i } from "./checkbox-group-
|
|
4
|
-
import { r as ee } from "./field-group-
|
|
2
|
+
import { b as n, f as r } from "./field-CSSHwGq_.js";
|
|
3
|
+
import { n as i } from "./checkbox-group-DDlz-UF4.js";
|
|
4
|
+
import { r as ee } from "./field-group-DeBTueJW.js";
|
|
5
5
|
import { keyedProps as a } from "@slotted/core/selector-key";
|
|
6
6
|
import { createControllable as o } from "@slotted/core/state";
|
|
7
7
|
import { createContext as s, useContext as c, useEffect as l, useId as u, useLayoutEffect as te, useRef as d, useState as f } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as e, f as t, h as n } from "./field-
|
|
2
|
-
import { r } from "./field-group-
|
|
1
|
+
import { b as e, f as t, h as n } from "./field-CSSHwGq_.js";
|
|
2
|
+
import { r } from "./field-group-DeBTueJW.js";
|
|
3
3
|
import { keyedProps as i } from "@slotted/core/selector-key";
|
|
4
4
|
import { createControllable as a } from "@slotted/core/state";
|
|
5
5
|
import { createContext as o, useContext as s, useEffect as c, useState as l } from "react";
|
package/dist/checkbox-group.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./checkbox-group-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./checkbox-group-DDlz-UF4.js";
|
|
2
2
|
export { r as CheckboxGroup, n as CheckboxGroupDefaultsProvider, t as useCheckboxGroup, e as useCheckboxGroupDefaults };
|
package/dist/checkbox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./checkbox-
|
|
1
|
+
import { n as e, r as t, t as n } from "./checkbox-Dw9R1CGR.js";
|
|
2
2
|
export { n as Checkbox, e as CheckboxDefaultsProvider, t as useCheckboxDefaults };
|
|
@@ -1,8 +1,8 @@
|
|
|
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, h as i, m as a, n as o, t as s } from "./menu-parts-
|
|
4
|
-
import { b as c } from "./field-
|
|
5
|
-
import { t as l } from "./text-field-
|
|
3
|
+
import { _ as r, h as i, m as a, n as o, t as s } from "./menu-parts-7F8syoFE.js";
|
|
4
|
+
import { b as c } from "./field-CSSHwGq_.js";
|
|
5
|
+
import { t as l } from "./text-field-RGXN7zNu.js";
|
|
6
6
|
import { a as u, d, f, l as p, r as m, t as h } from "./popover-BfEn2wdZ.js";
|
|
7
7
|
import { withSelectorKey as g } from "@slotted/core/selector-key";
|
|
8
8
|
import { createControllable as _ } from "@slotted/core/state";
|
package/dist/color-picker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./color-picker-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./color-picker-BbyW5ALf.js";
|
|
2
2
|
export { f as ColorField, s as ColorPicker, u as ColorPickerArea, i as ColorPickerChannel, e as ColorPickerContrast, l as ColorPickerDefaultsProvider, c as ColorPickerEyedropper, d as ColorPickerFormat, t as ColorPickerGamut, a as ColorPickerInput, p as ColorPickerPresets, n as ColorPickerRow, r as ColorPickerSwatch, o as useColorPickerDefaults };
|
|
@@ -1,10 +1,10 @@
|
|
|
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 o } from "./menu-parts-
|
|
3
|
+
import { _ as r, c as i, n as a, t as o } from "./menu-parts-7F8syoFE.js";
|
|
4
4
|
import { d as s, f as c, s as l } from "./drawer-Du1aC1px.js";
|
|
5
5
|
import { n as u } from "./icon-button-DERKFHX1.js";
|
|
6
|
-
import { t as d } from "./checkbox-
|
|
7
|
-
import { t as f } from "./text-field-
|
|
6
|
+
import { t as d } from "./checkbox-Dw9R1CGR.js";
|
|
7
|
+
import { t as f } from "./text-field-RGXN7zNu.js";
|
|
8
8
|
import { a as p, f as m, l as h, p as g } from "./popover-BfEn2wdZ.js";
|
|
9
9
|
import { t as _ } from "./visually-hidden-BUSrFZ1_.js";
|
|
10
10
|
import { keyedProps as ee, withSelectorKey as v } from "@slotted/core/selector-key";
|
package/dist/column-manager.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./column-manager-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./column-manager-Bz0bb4mq.js";
|
|
2
2
|
export { i as ColumnManager, t as ColumnManagerProvider, n as ColumnManagerRoot, r as ColumnManagerTrigger, e as useColumnManagerDefaults };
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { t as i } from "./spinner-ring-DyfaYloA.js";
|
|
4
|
-
import { b as a } from "./field-
|
|
4
|
+
import { b as a } from "./field-CSSHwGq_.js";
|
|
5
5
|
import { t as o } from "./highlight-9lRPIZ9O.js";
|
|
6
6
|
import { keyedProps as s, selectorKeyProps as c, withSelectorKey as l } from "@slotted/core/selector-key";
|
|
7
7
|
import { createControllable as u } from "@slotted/core/state";
|
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-BA2nvbnA.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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, b as t } from "./menu-parts-
|
|
1
|
+
import { _ as e, b as t } from "./menu-parts-7F8syoFE.js";
|
|
2
2
|
import { keyedProps as n } from "@slotted/core/selector-key";
|
|
3
3
|
import { createContext as r, useCallback as i, useContext as a, useEffect as o, useImperativeHandle as s, useRef as c, useState as l } from "react";
|
|
4
4
|
import { jsx as u } from "react/jsx-runtime";
|
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-CfEEqDKr.js";
|
|
2
2
|
export { t as CONTEXT_MENU_FALLBACK, a as ContextMenu, e as ContextMenuDefaultsProvider, n as ContextMenuTrigger, i as useContextMenu, r as useContextMenuDefaults };
|
|
@@ -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-CSSHwGq_.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 ne, useCallback as c, useContext as re, useEffect as l, useImperativeHandle as ie, useLayoutEffect as ae, useMemo as oe, useRef as u, useState as d } from "react";
|
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-CTzBMH8g.js";
|
|
2
2
|
export { r as CurrencyField, n as CurrencyFieldDefaultsProvider, t as CurrencyFieldScrub, e as useCurrencyFieldDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { _ as r, c as i, d as a, g as o, n as s, p as c, t as l } from "./menu-parts-
|
|
3
|
+
import { _ as r, c as i, d as a, g as o, n as s, p as c, t as l } from "./menu-parts-7F8syoFE.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { n as u, t as d } from "./icon-button-DERKFHX1.js";
|
|
6
6
|
import { a as f, c as p, i as m, o as ee, s as h } from "./card-DRmq8_5e.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-WinSY-q3.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, r as t } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n, t as r } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { _ as i, c as a, g as o, n as s, t as c } from "./menu-parts-
|
|
3
|
+
import { _ as i, c as a, g as o, n as s, t as c } from "./menu-parts-7F8syoFE.js";
|
|
4
4
|
import { n as l } from "./icon-button-DERKFHX1.js";
|
|
5
5
|
import { a as u, i as d, n as f, r as p } from "./tooltip-DrFiRlH8.js";
|
|
6
|
-
import { t as m } from "./checkbox-
|
|
6
|
+
import { t as m } from "./checkbox-Dw9R1CGR.js";
|
|
7
7
|
import { i as h } from "./skeleton-DeEOmm1y.js";
|
|
8
|
-
import { t as g } from "./text-field-
|
|
8
|
+
import { t as g } from "./text-field-RGXN7zNu.js";
|
|
9
9
|
import { a as _, d as ee, f as te, l as ne, r as re, t as ie } from "./popover-BfEn2wdZ.js";
|
|
10
10
|
import { t as v } from "./visually-hidden-BUSrFZ1_.js";
|
|
11
11
|
import { i as ae, n as oe, o as se, r as ce, t as le } from "./result-state-BMYhelu1.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-B2wqU3Mw.js";
|
|
13
|
+
import { t as de } from "./date-field-B2WG_m4C.js";
|
|
14
|
+
import { t as fe } from "./date-range-picker-BhQwOKkE.js";
|
|
15
|
+
import { t as pe } from "./datetime-picker-C-PwlBW5.js";
|
|
16
|
+
import { t as me } from "./datetime-field-CvKPkvaE.js";
|
|
17
|
+
import { t as he } from "./datetime-range-picker-0xs12Cf1.js";
|
|
18
|
+
import { a as ge, i as _e, n as ve, s as ye } from "./multi-select-DnOAXeuF.js";
|
|
19
|
+
import { t as be } from "./number-field-C20-8yda.js";
|
|
20
|
+
import { a as xe, t as Se } from "./segmented-control-Dae5wU9X.js";
|
|
21
|
+
import { c as Ce, i as we, n as Te, o as Ee, s as De } from "./select-BTncjDuM.js";
|
|
22
|
+
import { t as Oe } from "./time-picker-Da_UhP9X.js";
|
|
23
|
+
import { t as ke } from "./time-field-xkxX8JF6.js";
|
|
24
|
+
import { t as Ae } from "./time-range-picker-CfVzD53N.js";
|
|
25
25
|
import { selectorKeyProps as je, withSelectorKey as Me } from "@slotted/core/selector-key";
|
|
26
26
|
import { createControllable as Ne } from "@slotted/core/state";
|
|
27
27
|
import { createContext as Pe, createElement as Fe, memo as Ie, useCallback as y, useContext as Le, useEffect as b, useId as Re, useImperativeHandle as ze, useLayoutEffect as Be, useMemo as x, useRef as S, useState as C, useSyncExternalStore as Ve } from "react";
|
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-Dh-oaGY7.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,8 +1,8 @@
|
|
|
1
1
|
import { n as e, r as t } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n, t as r } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { _ as i, g as a, h as o, m as s, n as c, o as l, t as ee } from "./menu-parts-
|
|
3
|
+
import { _ as i, g as a, h as o, m as s, n as c, o as l, t as ee } from "./menu-parts-7F8syoFE.js";
|
|
4
4
|
import { n as u } from "./icon-button-DERKFHX1.js";
|
|
5
|
-
import { t as te } from "./checkbox-
|
|
5
|
+
import { t as te } from "./checkbox-Dw9R1CGR.js";
|
|
6
6
|
import { i as d, n as f } from "./skeleton-DeEOmm1y.js";
|
|
7
7
|
import { t as p } from "./visually-hidden-BUSrFZ1_.js";
|
|
8
8
|
import { n as m, o as ne, r as h, t as re } from "./result-state-BMYhelu1.js";
|
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-iw9K_oiz.js";
|
|
2
2
|
export { n as DataList, e as DataListDefaultsProvider, t as useDataListDefaults };
|
|
@@ -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-CSSHwGq_.js";
|
|
4
4
|
import { keyedProps as a } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as o } from "@slotted/core/state";
|
|
6
6
|
import { createContext as s, useCallback as c, useContext as l, useEffect as u, useId as d, useImperativeHandle as f, useMemo as p, useRef as m, useState as h } from "react";
|
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-B2WG_m4C.js";
|
|
2
2
|
export { t as DATE_FIELD_YEAR_PIVOT, r as DateField, n as DateFieldDefaultsProvider, e as useDateFieldDefaults };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
3
|
import { n as i, r as a, t as ee } from "./calendar-wqDIW4Z8.js";
|
|
4
|
-
import { b as o } from "./field-
|
|
5
|
-
import { t as te } from "./date-field-
|
|
4
|
+
import { b as o } from "./field-CSSHwGq_.js";
|
|
5
|
+
import { t as te } from "./date-field-B2WG_m4C.js";
|
|
6
6
|
import { keyedProps as ne } from "@slotted/core/selector-key";
|
|
7
7
|
import { tabbables as re } from "@slotted/core/focus";
|
|
8
8
|
import { createControllable as s } from "@slotted/core/state";
|
package/dist/date-picker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./date-picker-
|
|
1
|
+
import { n as e, r as t, t as n } from "./date-picker-B2wqU3Mw.js";
|
|
2
2
|
export { n as DatePicker, e as DatePickerDefaultsProvider, t as useDatePickerDefaults };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
3
|
import { i, t as a } from "./calendar-wqDIW4Z8.js";
|
|
4
|
-
import { b as ee } from "./field-
|
|
5
|
-
import { t as o } from "./date-field-
|
|
4
|
+
import { b as ee } from "./field-CSSHwGq_.js";
|
|
5
|
+
import { t as o } from "./date-field-B2WG_m4C.js";
|
|
6
6
|
import { keyedProps as te } from "@slotted/core/selector-key";
|
|
7
7
|
import { tabbables as ne } from "@slotted/core/focus";
|
|
8
8
|
import { createControllable as s } from "@slotted/core/state";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./date-range-picker-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./date-range-picker-BhQwOKkE.js";
|
|
2
2
|
export { r as DateRangePicker, n as DateRangePickerDefaultsProvider, t as DateRangePickerPreset, e as useDateRangePickerDefaults };
|
|
@@ -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-CSSHwGq_.js";
|
|
4
4
|
import { keyedProps as ee } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as te } from "@slotted/core/state";
|
|
6
6
|
import { createContext as a, useCallback as o, useContext as s, useEffect as c, useId as l, useImperativeHandle as u, useMemo as d, useRef as f, useState as p } from "react";
|
package/dist/datetime-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./datetime-field-
|
|
1
|
+
import { n as e, r as t, t as n } from "./datetime-field-CvKPkvaE.js";
|
|
2
2
|
export { n as DateTimeField, e as DateTimeFieldDefaultsProvider, t as useDateTimeFieldDefaults };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
3
|
import { t as i } from "./calendar-wqDIW4Z8.js";
|
|
4
|
-
import { b as ee } from "./field-
|
|
5
|
-
import { t as te } from "./datetime-field-
|
|
4
|
+
import { b as ee } from "./field-CSSHwGq_.js";
|
|
5
|
+
import { t as te } from "./datetime-field-CvKPkvaE.js";
|
|
6
6
|
import { keyedProps as ne } from "@slotted/core/selector-key";
|
|
7
7
|
import { tabbables as re } from "@slotted/core/focus";
|
|
8
8
|
import { createControllable as ie } from "@slotted/core/state";
|
package/dist/datetime-picker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./datetime-picker-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./datetime-picker-C-PwlBW5.js";
|
|
2
2
|
export { t as DATE_TIME_PICKER_MAX_OPTIONS, r as DateTimePicker, n as DateTimePickerDefaultsProvider, e as useDateTimePickerDefaults };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
3
|
import { t as i } from "./calendar-wqDIW4Z8.js";
|
|
4
|
-
import { b as a } from "./field-
|
|
5
|
-
import { t as o } from "./datetime-field-
|
|
4
|
+
import { b as a } from "./field-CSSHwGq_.js";
|
|
5
|
+
import { t as o } from "./datetime-field-CvKPkvaE.js";
|
|
6
6
|
import { keyedProps as s } from "@slotted/core/selector-key";
|
|
7
7
|
import { createControllable as c } from "@slotted/core/state";
|
|
8
8
|
import { createContext as l, useCallback as u, useContext as ee, useEffect as d, useId as te, useImperativeHandle as ne, useLayoutEffect as re, useMemo as f, useRef as p, useState as m } from "react";
|
|
@@ -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 } from "./datetime-range-picker-
|
|
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 } from "./datetime-range-picker-0xs12Cf1.js";
|
|
2
2
|
export { n as DATETIME_RANGE_PICKER_MAX_OPTIONS, e as DATETIME_RANGE_PICKER_MONTHS, a as DATETIME_RANGE_PICKER_STEP, c as DateTimeRangePicker, s as DateTimeRangePickerDefaultsProvider, i as DateTimeRangePickerPreset, t as dateTimeRangePickerLengthLabel, o as isSameDateTimeRange, r as useDateTimeRangePickerDefaults };
|
package/dist/docs/data-grid.json
CHANGED
|
@@ -1271,6 +1271,7 @@
|
|
|
1271
1271
|
"--slotted-data-grid-resize-guide-color",
|
|
1272
1272
|
"--slotted-data-grid-resize-guide-width",
|
|
1273
1273
|
"--slotted-data-grid-row-block-size",
|
|
1274
|
+
"--slotted-data-grid-row-border-color-selected",
|
|
1274
1275
|
"--slotted-data-grid-row-color-selected",
|
|
1275
1276
|
"--slotted-data-grid-row-max-block-size",
|
|
1276
1277
|
"--slotted-data-grid-row-surface-hover",
|
|
@@ -1318,7 +1319,6 @@
|
|
|
1318
1319
|
"--slotted-text-muted",
|
|
1319
1320
|
"--slotted-tone-accent-border",
|
|
1320
1321
|
"--slotted-tone-accent-solid",
|
|
1321
|
-
"--slotted-tone-accent-subtle-hover",
|
|
1322
1322
|
"--slotted-tone-accent-surface",
|
|
1323
1323
|
"--slotted-tone-accent-text",
|
|
1324
1324
|
"--slotted-tone-danger-border",
|
package/dist/docs/data-grid.md
CHANGED
|
@@ -210,7 +210,7 @@ See [data-grid.props.md](./data-grid.props.md).
|
|
|
210
210
|
|
|
211
211
|
## Tokens
|
|
212
212
|
|
|
213
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-resize-guide-color`, `--slotted-data-grid-resize-guide-width`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-
|
|
213
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-resize-guide-color`, `--slotted-data-grid-resize-guide-width`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-border-color-selected`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
214
214
|
|
|
215
215
|
## Examples
|
|
216
216
|
|
|
@@ -137,7 +137,7 @@ export default function DateTimePickerBasic() {
|
|
|
137
137
|
|
|
138
138
|
## Tokens
|
|
139
139
|
|
|
140
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-picker-content-border-color`, `--slotted-datetime-picker-content-color`, `--slotted-datetime-picker-content-padding`, `--slotted-datetime-picker-content-radius`, `--slotted-datetime-picker-content-shadow`, `--slotted-datetime-picker-invalid-focus-ring-color`, `--slotted-datetime-picker-label-color`, `--slotted-datetime-picker-list-block-size`, `--slotted-datetime-picker-now-active-background`, `--slotted-datetime-picker-now-background`, `--slotted-datetime-picker-now-border-color`, `--slotted-datetime-picker-now-color`, `--slotted-datetime-picker-now-hover-background`, `--slotted-datetime-picker-now-hover-border-color`, `--slotted-datetime-picker-now-icon-color`, `--slotted-datetime-picker-option-current-background`, `--slotted-datetime-picker-option-hover-background`, `--slotted-datetime-picker-option-radius`, `--slotted-datetime-picker-option-selected-background`, `--slotted-datetime-picker-option-selected-color`, `--slotted-datetime-picker-option-selected-hover-background`, `--slotted-datetime-picker-radius`, `--slotted-datetime-picker-sheet-inline-size`, `--slotted-datetime-picker-surface`, `--slotted-datetime-picker-time-panel-inline-size`, `--slotted-datetime-picker-trigger-active-background`, `--slotted-datetime-picker-trigger-color`, `--slotted-datetime-picker-trigger-hover-background`, `--slotted-datetime-picker-trigger-size`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-radius-lg`, `--slotted-
|
|
140
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-picker-content-border-color`, `--slotted-datetime-picker-content-color`, `--slotted-datetime-picker-content-padding`, `--slotted-datetime-picker-content-radius`, `--slotted-datetime-picker-content-shadow`, `--slotted-datetime-picker-invalid-focus-ring-color`, `--slotted-datetime-picker-label-color`, `--slotted-datetime-picker-list-block-size`, `--slotted-datetime-picker-now-active-background`, `--slotted-datetime-picker-now-background`, `--slotted-datetime-picker-now-border-color`, `--slotted-datetime-picker-now-color`, `--slotted-datetime-picker-now-hover-background`, `--slotted-datetime-picker-now-hover-border-color`, `--slotted-datetime-picker-now-icon-color`, `--slotted-datetime-picker-option-current-background`, `--slotted-datetime-picker-option-hover-background`, `--slotted-datetime-picker-option-radius`, `--slotted-datetime-picker-option-selected-background`, `--slotted-datetime-picker-option-selected-color`, `--slotted-datetime-picker-option-selected-hover-background`, `--slotted-datetime-picker-radius`, `--slotted-datetime-picker-sheet-inline-size`, `--slotted-datetime-picker-surface`, `--slotted-datetime-picker-time-panel-inline-size`, `--slotted-datetime-picker-trigger-active-background`, `--slotted-datetime-picker-trigger-color`, `--slotted-datetime-picker-trigger-hover-background`, `--slotted-datetime-picker-trigger-size`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
141
141
|
|
|
142
142
|
## Examples
|
|
143
143
|
|
package/dist/docs/field.json
CHANGED
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"optional",
|
|
22
22
|
"words",
|
|
23
23
|
"none"
|
|
24
|
+
],
|
|
25
|
+
"width": [
|
|
26
|
+
"full",
|
|
27
|
+
"medium",
|
|
28
|
+
"short"
|
|
24
29
|
]
|
|
25
30
|
},
|
|
26
31
|
"members": {
|
|
@@ -29,7 +34,8 @@
|
|
|
29
34
|
"defaults": {
|
|
30
35
|
"size": "md",
|
|
31
36
|
"labelPlacement": "top",
|
|
32
|
-
"necessity": "mark"
|
|
37
|
+
"necessity": "mark",
|
|
38
|
+
"width": "full"
|
|
33
39
|
},
|
|
34
40
|
"capabilities": [
|
|
35
41
|
"appearance",
|
|
@@ -150,6 +156,13 @@
|
|
|
150
156
|
"appliesTo": "Field",
|
|
151
157
|
"description": "How necessity is written: an asterisk on a required field, (optional) on a field a reader may skip, both words, or nothing, for a form that says once that every field is required."
|
|
152
158
|
},
|
|
159
|
+
{
|
|
160
|
+
"name": "width",
|
|
161
|
+
"type": "'short' | 'medium' | 'full'",
|
|
162
|
+
"defaultValue": "full",
|
|
163
|
+
"appliesTo": "Field",
|
|
164
|
+
"description": "The longest the control stands, as a cue to the length of its answer: short (--slotted-field-width-short, 6rem) for an integer of up to four digits, medium (--slotted-field-width-medium, 15rem) for an amount, a code or a short word, full for free text, a name or a picker of records. The control still shrinks below the bound in a narrower field."
|
|
165
|
+
},
|
|
153
166
|
{
|
|
154
167
|
"name": "messages",
|
|
155
168
|
"type": "Partial<FieldMessages>",
|
|
@@ -359,6 +372,8 @@
|
|
|
359
372
|
"--slotted-field-mark-gap",
|
|
360
373
|
"--slotted-field-mark-text-color",
|
|
361
374
|
"--slotted-field-row-gap",
|
|
375
|
+
"--slotted-field-width-medium",
|
|
376
|
+
"--slotted-field-width-short",
|
|
362
377
|
"--slotted-focus-ring-color",
|
|
363
378
|
"--slotted-focus-ring-offset",
|
|
364
379
|
"--slotted-focus-ring-width",
|
package/dist/docs/field.md
CHANGED
|
@@ -61,6 +61,7 @@ export default function FieldBasic() {
|
|
|
61
61
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | Field | The type step, matching the control the field wraps. The label, the messages and the counter read the control type scale, which the theme restates per density. |
|
|
62
62
|
| `labelPlacement` | `'top' \| 'side'` | top | Field | Where the label sits. side reflows to top when the field’s own inline size is below 320 pixels; the query is a container query, not a viewport query. |
|
|
63
63
|
| `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | Field | How necessity is written: an asterisk on a required field, (optional) on a field a reader may skip, both words, or nothing, for a form that says once that every field is required. |
|
|
64
|
+
| `width` | `'short' \| 'medium' \| 'full'` | full | Field | The longest the control stands, as a cue to the length of its answer: short (--slotted-field-width-short, 6rem) for an integer of up to four digits, medium (--slotted-field-width-medium, 15rem) for an amount, a code or a short word, full for free text, a name or a picker of records. The control still shrinks below the bound in a narrower field. |
|
|
64
65
|
| `messages` | `Partial<FieldMessages>` | — | Field | Words that replace the active language’s, key by key: the necessity words (optional, required) and the help button’s name (help). |
|
|
65
66
|
| `required` | `boolean` | — | Field | Unset rather than false. Writes aria-required on the control, never the native required, which would turn on browser constraint validation and change how the form submits. |
|
|
66
67
|
| `invalid` | `boolean` | — | Field, FieldCounter | On Field: unset rather than false; writes aria-invalid on the control and data-invalid on the field, and leaves the label’s colour unchanged. On FieldCounter: the count has passed its limit, which can happen before validation runs, so it is the counter’s own state and defaults to false. |
|
|
@@ -96,6 +97,7 @@ export default function FieldBasic() {
|
|
|
96
97
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
97
98
|
| `labelPlacement` | `top`, `side` | `top` |
|
|
98
99
|
| `necessity` | `mark`, `optional`, `words`, `none` | `mark` |
|
|
100
|
+
| `width` | `full`, `medium`, `short` | `full` |
|
|
99
101
|
|
|
100
102
|
## Rules
|
|
101
103
|
|
|
@@ -112,7 +114,7 @@ export default function FieldBasic() {
|
|
|
112
114
|
|
|
113
115
|
## Tokens
|
|
114
116
|
|
|
115
|
-
`--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-action-color`, `--slotted-field-action-color-active`, `--slotted-field-action-color-hover`, `--slotted-field-action-radius`, `--slotted-field-column-gap`, `--slotted-field-counter-color`, `--slotted-field-counter-invalid-color`, `--slotted-field-font-family`, `--slotted-field-header-gap`, `--slotted-field-help-color`, `--slotted-field-help-radius`, `--slotted-field-help-surface-active`, `--slotted-field-help-surface-hover`, `--slotted-field-icon-size-min`, `--slotted-field-label-color`, `--slotted-field-label-font-weight`, `--slotted-field-label-inline-size`, `--slotted-field-line-height`, `--slotted-field-mark-color`, `--slotted-field-mark-gap`, `--slotted-field-mark-text-color`, `--slotted-field-row-gap`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
117
|
+
`--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-action-color`, `--slotted-field-action-color-active`, `--slotted-field-action-color-hover`, `--slotted-field-action-radius`, `--slotted-field-column-gap`, `--slotted-field-counter-color`, `--slotted-field-counter-invalid-color`, `--slotted-field-font-family`, `--slotted-field-header-gap`, `--slotted-field-help-color`, `--slotted-field-help-radius`, `--slotted-field-help-surface-active`, `--slotted-field-help-surface-hover`, `--slotted-field-icon-size-min`, `--slotted-field-label-color`, `--slotted-field-label-font-weight`, `--slotted-field-label-inline-size`, `--slotted-field-line-height`, `--slotted-field-mark-color`, `--slotted-field-mark-gap`, `--slotted-field-mark-text-color`, `--slotted-field-row-gap`, `--slotted-field-width-medium`, `--slotted-field-width-short`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
116
118
|
|
|
117
119
|
## Examples
|
|
118
120
|
|
package/dist/docs/form.json
CHANGED
|
@@ -60,14 +60,15 @@
|
|
|
60
60
|
"summary-title",
|
|
61
61
|
"summary-list",
|
|
62
62
|
"summary-item",
|
|
63
|
-
"actions"
|
|
63
|
+
"actions",
|
|
64
|
+
"aside"
|
|
64
65
|
]
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
"docs": {
|
|
68
69
|
"form": {
|
|
69
70
|
"imports": {
|
|
70
|
-
"source": "import { Form, FormActions, FormDefaultsProvider, FormSummary, useFormState } from '@slotted/react';"
|
|
71
|
+
"source": "import { Form, FormActions, FormAside, FormDefaultsProvider, FormSummary, useFormState } from '@slotted/react';"
|
|
71
72
|
},
|
|
72
73
|
"anatomy": [
|
|
73
74
|
{
|
|
@@ -105,6 +106,12 @@
|
|
|
105
106
|
"element": "div",
|
|
106
107
|
"required": false,
|
|
107
108
|
"purpose": "The row a form’s actions stand in, aligned to the reading end. Below 360 container pixels it becomes a column of full-width actions with the primary one first — a reader’s thumb is at the bottom of a phone and their eye at the end of a row. It carries data-ui=\"form\" beside its data-part, so a nested family’s actions — a section’s — keep their own row."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"part": "aside",
|
|
112
|
+
"element": "div",
|
|
113
|
+
"required": false,
|
|
114
|
+
"purpose": "What the form says about the whole record — a live preview, a summary in words, a help panel. From a form 75rem wide it stands beside the column of fields, --slotted-form-aside-size (20rem) wide at the end, and sticks under --slotted-page-sticky-top while the fields scroll; below that it follows in source order, so write it after the last field. With or without it, the fields, the summary and the actions stand at most --slotted-form-measure (40rem) wide."
|
|
108
115
|
}
|
|
109
116
|
],
|
|
110
117
|
"api": [
|
|
@@ -277,8 +284,11 @@
|
|
|
277
284
|
"--slotted-font-family-heading",
|
|
278
285
|
"--slotted-font-family-sans",
|
|
279
286
|
"--slotted-font-weight-semibold",
|
|
287
|
+
"--slotted-form-aside-size",
|
|
280
288
|
"--slotted-form-color",
|
|
281
289
|
"--slotted-form-field-gap",
|
|
290
|
+
"--slotted-form-measure",
|
|
291
|
+
"--slotted-form-section-gap",
|
|
282
292
|
"--slotted-form-summary-background",
|
|
283
293
|
"--slotted-form-summary-border-color",
|
|
284
294
|
"--slotted-form-summary-color",
|
|
@@ -294,6 +304,7 @@
|
|
|
294
304
|
"--slotted-space-5",
|
|
295
305
|
"--slotted-space-6",
|
|
296
306
|
"--slotted-space-8",
|
|
307
|
+
"--slotted-space-9",
|
|
297
308
|
"--slotted-text",
|
|
298
309
|
"--slotted-tone-danger-border",
|
|
299
310
|
"--slotted-tone-danger-surface",
|
|
@@ -303,7 +314,7 @@
|
|
|
303
314
|
{
|
|
304
315
|
"id": "playground",
|
|
305
316
|
"title": "Playground",
|
|
306
|
-
"note": "A form of two fields with the family’s whole lifecycle on it. Submit it empty: the platform’s own messages appear in the summary, focus moves there, and each link jumps to the field it names. Two fields written one after the other inside the form stand apart by --slotted-form-field-gap (space-6 by default); a layout the page draws itself — a Grid, a Stack — keeps its own gap.",
|
|
317
|
+
"note": "A form of two fields with the family’s whole lifecycle on it. Submit it empty: the platform’s own messages appear in the summary, focus moves there, and each link jumps to the field it names. Two fields written one after the other inside the form stand apart by --slotted-form-field-gap (space-6 by default), and two field groups by --slotted-form-section-gap (space-9 by default); a layout the page draws itself — a Grid, a Stack — keeps its own gap.",
|
|
307
318
|
"language": "tsx",
|
|
308
319
|
"source": "<Form onSubmit={(values) => save(values)}>\n <Field>\n <FieldLabel>Nome completo</FieldLabel>\n <TextField name=\"nome\" required />\n </Field>\n <FormActions>\n <Button type=\"submit\">Salvar</Button>\n </FormActions>\n</Form>;\n",
|
|
309
320
|
"verdict": "excerpt"
|
package/dist/docs/form.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
## Import
|
|
7
7
|
|
|
8
8
|
```tsx
|
|
9
|
-
import { Form, FormActions, FormDefaultsProvider, FormSummary, useFormState } from '@slotted/react';
|
|
9
|
+
import { Form, FormActions, FormAside, FormDefaultsProvider, FormSummary, useFormState } from '@slotted/react';
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
## Minimal example
|
|
@@ -35,6 +35,7 @@ Excerpt — not a complete module
|
|
|
35
35
|
| `summary-list` | ul | no |
|
|
36
36
|
| `summary-item` | a[href], or span | no |
|
|
37
37
|
| `actions` | div | no |
|
|
38
|
+
| `aside` | div | no |
|
|
38
39
|
|
|
39
40
|
## Props
|
|
40
41
|
|
|
@@ -87,7 +88,7 @@ Excerpt — not a complete module
|
|
|
87
88
|
|
|
88
89
|
## Tokens
|
|
89
90
|
|
|
90
|
-
`--slotted-border-width-thick`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-form-color`, `--slotted-form-field-gap`, `--slotted-form-summary-background`, `--slotted-form-summary-border-color`, `--slotted-form-summary-color`, `--slotted-form-summary-radius`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`
|
|
91
|
+
`--slotted-border-width-thick`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-form-aside-size`, `--slotted-form-color`, `--slotted-form-field-gap`, `--slotted-form-measure`, `--slotted-form-section-gap`, `--slotted-form-summary-background`, `--slotted-form-summary-border-color`, `--slotted-form-summary-color`, `--slotted-form-summary-radius`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`
|
|
91
92
|
|
|
92
93
|
## Examples
|
|
93
94
|
|