@slotted/react 0.1.0-beta.35 → 0.1.0-beta.36
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/{app-shell-DzgUaTI_.js → app-shell-ClwskWBN.js} +1 -1
- package/dist/app-shell.js +1 -1
- package/dist/{attachment-BMVfyrfb.js → attachment-AAjprQyU.js} +1 -1
- package/dist/attachment.js +1 -1
- package/dist/{button-DWqgjdVT.js → button-BMRInd-t.js} +3 -3
- package/dist/button.js +2 -2
- package/dist/{cascader-DuHG1xmi.js → cascader-DqrFX3Ob.js} +1 -1
- package/dist/cascader.js +1 -1
- package/dist/{column-manager-qJX80g4n.js → column-manager-D2PXs80l.js} +1 -1
- package/dist/column-manager.js +1 -1
- package/dist/{dashboard-grid-CLRtbO05.js → dashboard-grid-B6jxBz4j.js} +1 -1
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-B1AhnXmo.js → data-grid-DOMm7-ew.js} +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-BWseCMYO.js → data-list-DgXGmRQx.js} +1 -1
- package/dist/data-list.js +1 -1
- package/dist/{detail-panel-D3AT1upM.js → detail-panel-DEZewVVV.js} +2 -2
- package/dist/detail-panel.js +1 -1
- package/dist/docs/button.json +10 -7
- package/dist/docs/button.md +6 -6
- package/dist/docs/command-palette.json +2 -1
- package/dist/docs/command-palette.md +1 -1
- package/dist/docs/dashboard-grid.json +2 -1
- package/dist/docs/dashboard-grid.md +1 -1
- package/dist/docs/entity-picker.json +2 -1
- package/dist/docs/entity-picker.md +1 -1
- package/dist/docs/field-group.json +1 -1
- package/dist/docs/field-group.md +1 -1
- package/dist/docs/guidelines/index.md +2 -0
- package/dist/docs/guidelines/own-elements.md +20 -0
- package/dist/docs/index.md +1 -1
- package/dist/docs/list.json +2 -1
- package/dist/docs/list.md +2 -2
- package/dist/docs/page.json +1 -1
- package/dist/docs/page.md +1 -1
- package/dist/docs/progress-indicator.json +1 -39
- package/dist/docs/progress-indicator.md +1 -6
- package/dist/docs/radio-group.json +1 -18
- package/dist/docs/radio-group.md +1 -3
- package/dist/docs/skills/build-own-element/SKILL.md +42 -2
- package/dist/docs/sparkline.json +1 -412
- package/dist/docs/sparkline.md +2 -177
- package/dist/docs/tokens.md +12 -0
- package/dist/{event-calendar-l17xA1Uw.js → event-calendar-CM302ec0.js} +1 -1
- package/dist/event-calendar.js +1 -1
- package/dist/{filter-bar-CYPaGUt2.js → filter-bar-CDEpYvq4.js} +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/{icon-button-CSjgX1pQ.js → icon-button-N8Madx6i.js} +11 -17
- package/dist/{import-export-center-Da8o-xT6.js → import-export-center-DdANj0_T.js} +5 -5
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +125 -125
- package/dist/{loading-overlay-CjUmvxqX.js → loading-overlay-BLIrcaoj.js} +1 -1
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-JPxAdShq.js → markdown-CfPMPahy.js} +1 -1
- package/dist/markdown.js +1 -1
- package/dist/{notification-center-B9rX_ZOu.js → notification-center-BngAw_kt.js} +1 -1
- package/dist/notification-center.js +1 -1
- package/dist/{page-Tesi7Z_n.js → page-DT8L0iRT.js} +5 -4
- package/dist/{page-header-ByhInJv-.js → page-header-NN3Jq5vb.js} +2 -2
- package/dist/page-header.js +1 -1
- package/dist/page.js +1 -1
- package/dist/progress-indicator-D0acshNn.js +292 -0
- package/dist/progress-indicator.js +2 -2
- package/dist/{radio-group-C59cfjry.js → radio-group-doL7tde1.js} +42 -49
- package/dist/radio-group.js +1 -1
- package/dist/{saved-views-D1h4jRTs.js → saved-views-fg5PoMgv.js} +1 -1
- package/dist/saved-views.js +1 -1
- package/dist/{side-navigation-fTRK3wuI.js → side-navigation-Cwi2FHOz.js} +1 -1
- package/dist/side-navigation.js +1 -1
- package/dist/sparkline-CYU4_lCD.js +152 -0
- package/dist/sparkline.js +2 -2
- package/dist/{split-button-ugark7Xc.js → split-button-BYowsA6Q.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/{stat-card-DjuW65lA.js → stat-card-CmpabaTc.js} +3 -3
- package/dist/stat-card.js +1 -1
- package/dist/styles/app-shell.css +1 -1
- package/dist/styles/attachment.css +1 -1
- package/dist/styles/button.css +1 -1
- package/dist/styles/cascader.css +2 -2
- package/dist/styles/chart.css +1 -1
- package/dist/styles/checkbox-group.css +2 -2
- package/dist/styles/checkbox.css +2 -2
- package/dist/styles/color-picker.css +1 -1
- package/dist/styles/column-manager.css +3 -3
- package/dist/styles/combobox.css +1 -1
- package/dist/styles/command-palette.css +1 -1
- package/dist/styles/currency-field.css +1 -1
- package/dist/styles/dashboard-grid.css +2 -2
- package/dist/styles/data-grid.css +3 -3
- package/dist/styles/data-list.css +5 -5
- 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 +1 -1
- package/dist/styles/datetime-range-picker.css +1 -1
- package/dist/styles/detail-panel.css +1 -1
- package/dist/styles/entity-picker.css +2 -2
- package/dist/styles/event-calendar.css +3 -3
- package/dist/styles/field-group.css +2 -2
- package/dist/styles/field.css +1 -1
- package/dist/styles/filter-bar.css +3 -3
- package/dist/styles/import-export-center.css +5 -5
- package/dist/styles/index.css +11 -11
- package/dist/styles/list-item.css +2 -2
- package/dist/styles/list.css +1 -1
- package/dist/styles/listbox.css +1 -1
- package/dist/styles/loading-overlay.css +1 -1
- package/dist/styles/markdown.css +3 -3
- package/dist/styles/multi-select.css +1 -1
- package/dist/styles/notification-center.css +2 -2
- package/dist/styles/number-field.css +1 -1
- package/dist/styles/otp-input.css +1 -1
- package/dist/styles/page-header.css +1 -1
- package/dist/styles/progress-indicator.css +1 -1
- package/dist/styles/prompt-composer.css +1 -1
- package/dist/styles/radio-group.css +3 -3
- package/dist/styles/rating.css +1 -1
- package/dist/styles/saved-views.css +2 -2
- package/dist/styles/segmented-control.css +2 -2
- package/dist/styles/select.css +1 -1
- package/dist/styles/side-navigation.css +2 -2
- package/dist/styles/slider.css +1 -1
- package/dist/styles/sparkline.css +1 -1
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/stat-card.css +1 -1
- package/dist/styles/switch.css +1 -1
- package/dist/styles/table.css +4 -4
- 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 +1 -1
- package/dist/styles/time-range-picker.css +1 -1
- package/dist/styles/toast.css +1 -1
- package/dist/styles/toggle-group.css +1 -1
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/top-navigation.css +2 -2
- package/dist/styles/tour.css +1 -1
- package/dist/styles/transfer.css +3 -3
- package/dist/styles/upload.css +2 -2
- package/dist/styles/wizard.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{table-BsdRSKob.js → table-D8-WlkFz.js} +2 -2
- package/dist/table.js +1 -1
- package/dist/{toast-D0xdff1C.js → toast-DHDVXIew.js} +1 -1
- package/dist/toast.js +1 -1
- package/dist/{top-navigation-B8jVv3rJ.js → top-navigation-C73WDqLg.js} +1 -1
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-CuM6SrwJ.js → tour-ALH5CYMY.js} +1 -1
- package/dist/tour.js +1 -1
- package/dist/{transfer-CJLJumb8.js → transfer-CuNCXEoR.js} +1 -1
- package/dist/transfer.js +1 -1
- package/dist/types/button/button-content.d.ts +1 -3
- package/dist/types/button/button-content.d.ts.map +1 -1
- package/dist/types/button/button-root.d.ts +5 -2
- package/dist/types/button/button-root.d.ts.map +1 -1
- package/dist/types/button/button.d.ts.map +1 -1
- package/dist/types/button/button.types.d.ts +8 -4
- package/dist/types/button/button.types.d.ts.map +1 -1
- package/dist/types/button/toggle-button.d.ts.map +1 -1
- package/dist/types/list/list.types.d.ts +6 -4
- package/dist/types/list/list.types.d.ts.map +1 -1
- package/dist/types/page/page.d.ts.map +1 -1
- package/dist/types/progress-indicator/index.d.ts +1 -2
- package/dist/types/progress-indicator/index.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-indicator.types.d.ts +1 -26
- package/dist/types/progress-indicator/progress-indicator.types.d.ts.map +1 -1
- package/dist/types/radio-group/index.d.ts +1 -1
- package/dist/types/radio-group/index.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group-parts.d.ts +1 -1
- package/dist/types/radio-group/radio-group-parts.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group.d.ts +1 -1
- package/dist/types/radio-group/radio-group.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group.types.d.ts +0 -16
- package/dist/types/radio-group/radio-group.types.d.ts.map +1 -1
- package/dist/types/sparkline/index.d.ts +1 -3
- package/dist/types/sparkline/index.d.ts.map +1 -1
- package/dist/types/sparkline/sparkline.types.d.ts +0 -70
- package/dist/types/sparkline/sparkline.types.d.ts.map +1 -1
- package/dist/{upload-Jx3gJJ2f.js → upload-Bpjlax3i.js} +1 -1
- package/dist/upload.js +1 -1
- package/dist/{wizard-CxtTDlWR.js → wizard-CL6u1aJb.js} +1 -1
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/progress-indicator-iIoarHsj.js +0 -329
- package/dist/sparkline-SVDPBBav.js +0 -307
- package/dist/types/progress-indicator/segmented-bar.d.ts +0 -12
- package/dist/types/progress-indicator/segmented-bar.d.ts.map +0 -1
- package/dist/types/sparkline/bar-compare.d.ts +0 -11
- package/dist/types/sparkline/bar-compare.d.ts.map +0 -1
- package/dist/types/sparkline/position-strip.d.ts +0 -12
- package/dist/types/sparkline/position-strip.d.ts.map +0 -1
|
@@ -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 {
|
|
3
|
+
import { i as r, n as i, o as a } from "./progress-indicator-D0acshNn.js";
|
|
4
4
|
import { keyedProps as o } from "@slotted/core/selector-key";
|
|
5
5
|
import { createFocusScope as s, focusTarget as c } from "@slotted/core/focus";
|
|
6
6
|
import { createControllable as l } from "@slotted/core/state";
|
package/dist/app-shell.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./app-shell-
|
|
1
|
+
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./app-shell-ClwskWBN.js";
|
|
2
2
|
export { y as APP_SHELL_OVERLAY_AT, m as AppShell, i as AppShellActions, h as AppShellAside, v as AppShellAsideBody, o as AppShellAsideFooter, f as AppShellAsideHeader, b as AppShellAsideResizer, s as AppShellAsideToggle, c as AppShellBanner, g as AppShellBrand, p as AppShellCenter, S as AppShellDefaultsProvider, u as AppShellFooter, l as AppShellMain, r as AppShellNav, x as AppShellNavBody, w as AppShellNavFooter, a as AppShellNavHeader, C as AppShellNavRail, t as AppShellNavToggle, e as AppShellProgress, _ as useAppShell, n as useAppShellDefaults, d as useAppShellIfPresent };
|
|
@@ -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 {
|
|
3
|
+
import { n as i } from "./progress-indicator-D0acshNn.js";
|
|
4
4
|
import { n as a, r as o, t as s } from "./attachment-kinds-x-DEOvCy.js";
|
|
5
5
|
import { keyedProps as c } from "@slotted/core/selector-key";
|
|
6
6
|
import { createRemovalFocus as l } from "@slotted/core/focus";
|
package/dist/attachment.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./attachment-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./attachment-AAjprQyU.js";
|
|
2
2
|
import { n as g } from "./attachment-kinds-x-DEOvCy.js";
|
|
3
3
|
export { g as ATTACHMENT_KIND_GLYPH, r as Attachment, m as AttachmentAction, l as AttachmentActions, f as AttachmentBody, a as AttachmentDefaultsProvider, o as AttachmentDetail, e as AttachmentFilename, d as AttachmentGroup, u as AttachmentLink, p as AttachmentMessage, t as AttachmentPreview, s as AttachmentProgress, h as AttachmentRemove, n as AttachmentTrigger, c as useAttachment, i as useAttachmentDefaults };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
|
-
import { a as t, c as n, d as r, f as i, i as a, l as o, m as s, o as c, p as l, r as u, s as d, u as f } from "./icon-button-
|
|
2
|
+
import { a as t, c as n, d as r, f as i, i as a, l as o, m as s, o as c, p as l, r as u, s as d, u as f } from "./icon-button-N8Madx6i.js";
|
|
3
3
|
import { definedProps as p, keyedProps as m } from "@slotted/core/selector-key";
|
|
4
4
|
import { jsx as h } from "react/jsx-runtime";
|
|
5
5
|
import { buttonMessages as g } from "@slotted/core/i18n";
|
|
@@ -15,12 +15,12 @@ function _({ children: e, disabled: t = !1, end: i, fullWidth: a = !1, href: o,
|
|
|
15
15
|
disabled: t,
|
|
16
16
|
fullWidth: a,
|
|
17
17
|
justify: l,
|
|
18
|
+
widest: T,
|
|
18
19
|
...D
|
|
19
20
|
}),
|
|
20
21
|
children: /* @__PURE__ */ h(s, {
|
|
21
22
|
end: i,
|
|
22
23
|
start: S,
|
|
23
|
-
widest: T,
|
|
24
24
|
children: e
|
|
25
25
|
}),
|
|
26
26
|
...c(t, o, b !== void 0, {
|
|
@@ -92,6 +92,7 @@ function y({ children: r, defaultPressed: i, disabled: c = !1, end: p, focusable
|
|
|
92
92
|
justify: y,
|
|
93
93
|
loading: b,
|
|
94
94
|
pressed: z.pressed,
|
|
95
|
+
widest: N,
|
|
95
96
|
...F
|
|
96
97
|
}),
|
|
97
98
|
"aria-disabled": I.ariaDisabled,
|
|
@@ -100,7 +101,6 @@ function y({ children: r, defaultPressed: i, disabled: c = !1, end: p, focusable
|
|
|
100
101
|
end: p,
|
|
101
102
|
indicator: L ? /* @__PURE__ */ h(u, { label: R("loading") }) : null,
|
|
102
103
|
start: k,
|
|
103
|
-
widest: N,
|
|
104
104
|
children: r
|
|
105
105
|
}),
|
|
106
106
|
disabled: I.nativelyDisabled,
|
package/dist/button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as e, t } from "./button-defaults-DNq_DDJh.js";
|
|
2
|
-
import { n, t as r } from "./icon-button-
|
|
3
|
-
import { n as i, r as a, t as o } from "./button-
|
|
2
|
+
import { n, t as r } from "./icon-button-N8Madx6i.js";
|
|
3
|
+
import { n as i, r as a, t as o } from "./button-BMRInd-t.js";
|
|
4
4
|
export { n as Button, t as ButtonDefaultsProvider, a as ButtonLink, r as IconButton, i as IconButtonLink, o as ToggleButton, e as useButtonDefaults };
|
|
@@ -2,7 +2,7 @@ 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
|
/* empty css */
|
|
4
4
|
import { t as i } from "./spinner-ring-DyfaYloA.js";
|
|
5
|
-
import { n as a } from "./icon-button-
|
|
5
|
+
import { n as a } from "./icon-button-N8Madx6i.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { b as o } from "./field-BjF0c0U9.js";
|
|
8
8
|
import { t as s } from "./select-tags-3792weoq.js";
|
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-DqrFX3Ob.js";
|
|
2
2
|
export { r as CASCADER_FALLBACK, i as Cascader, t as CascaderDefaultsProvider, n as CascaderPanel, e as useCascaderDefaults };
|
|
@@ -2,7 +2,7 @@ import { r as e } from "./i18n-D7xXDd8-.js";
|
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
3
|
import { _ as r, c as i, n as a, t as o } from "./menu-parts-DgL617_H.js";
|
|
4
4
|
import { d as s, f as c, s as l } from "./drawer-Du1aC1px.js";
|
|
5
|
-
import { n as u } from "./icon-button-
|
|
5
|
+
import { n as u } from "./icon-button-N8Madx6i.js";
|
|
6
6
|
import { t as d } from "./checkbox-ruvmi9cK.js";
|
|
7
7
|
import { t as f } from "./text-field-DEm3MEe2.js";
|
|
8
8
|
import { a as p, f as m, l as h, p as g } from "./popover-BfEn2wdZ.js";
|
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-D2PXs80l.js";
|
|
2
2
|
export { i as ColumnManager, t as ColumnManagerProvider, n as ColumnManagerRoot, r as ColumnManagerTrigger, e as useColumnManagerDefaults };
|
|
@@ -2,7 +2,7 @@ import { r as e } from "./i18n-D7xXDd8-.js";
|
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
3
|
import { _ as r, c as i, d as a, g as o, n as s, p as c, t as l } from "./menu-parts-DgL617_H.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-N8Madx6i.js";
|
|
6
6
|
import { a as f, c as p, i as m, o as ee, s as h } from "./card-DO3Kfl_t.js";
|
|
7
7
|
import { i as g, o as _, r as v } from "./skeleton-DeEOmm1y.js";
|
|
8
8
|
import { a as y, d as b, f as x, l as S, r as C } from "./popover-BfEn2wdZ.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-B6jxBz4j.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,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 { _ as i, c as a, g as o, n as s, t as c } from "./menu-parts-DgL617_H.js";
|
|
4
|
-
import { n as l } from "./icon-button-
|
|
4
|
+
import { n as l } from "./icon-button-N8Madx6i.js";
|
|
5
5
|
import { a as u, i as d, n as f, r as p } from "./tooltip-DrFiRlH8.js";
|
|
6
6
|
import { t as m } from "./checkbox-ruvmi9cK.js";
|
|
7
7
|
import { i as h } from "./skeleton-DeEOmm1y.js";
|
package/dist/data-grid.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./data-grid-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./data-grid-DOMm7-ew.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,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 { _ as i, g as a, h as o, m as s, n as c, o as l, t as ee } from "./menu-parts-DgL617_H.js";
|
|
4
|
-
import { n as u } from "./icon-button-
|
|
4
|
+
import { n as u } from "./icon-button-N8Madx6i.js";
|
|
5
5
|
import { t as te } from "./checkbox-ruvmi9cK.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";
|
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-DgXGmRQx.js";
|
|
2
2
|
export { n as DataList, e as DataListDefaultsProvider, t as useDataListDefaults };
|
|
@@ -2,8 +2,8 @@ import { r as e } from "./i18n-D7xXDd8-.js";
|
|
|
2
2
|
import { n as t } from "./badge-pgYVOnZO.js";
|
|
3
3
|
import { t as n } from "./skeleton-DeEOmm1y.js";
|
|
4
4
|
import { n as r } from "./container-WoYiHo50.js";
|
|
5
|
-
import { s as i } from "./page-
|
|
6
|
-
import { w as a } from "./page-header-
|
|
5
|
+
import { s as i } from "./page-DT8L0iRT.js";
|
|
6
|
+
import { w as a } from "./page-header-NN3Jq5vb.js";
|
|
7
7
|
import { a as o, c as s, n as c, o as l, s as u, t as d, u as f } from "./section-OdQoVBnl.js";
|
|
8
8
|
import { a as p, n as m, o as h, r as g, t as _ } from "./tabs-C-Bc7WmQ.js";
|
|
9
9
|
import { keyedProps as v } from "@slotted/core/selector-key";
|
package/dist/detail-panel.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 "./detail-panel-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./detail-panel-DEZewVVV.js";
|
|
2
2
|
export { t as DetailPanel, o as DetailPanelBody, r as DetailPanelDefaultsProvider, n as DetailPanelSection, i as DetailPanelTabs, e as useDetailPanel, a as useDetailPanelDefaults };
|
package/dist/docs/button.json
CHANGED
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
"type": "boolean",
|
|
305
305
|
"defaultValue": "false",
|
|
306
306
|
"appliesTo": "Button",
|
|
307
|
-
"description": "A word of the surrounding text, for an action inside a sentence or a dense cell: no box in any variant, the font, line height and baseline of the text around it, underlined in the tone. A row of small text keeps its height."
|
|
307
|
+
"description": "A word of the surrounding text, for an action inside a sentence or a dense cell: no box in any variant, the font, line height and baseline of the text around it, underlined in the tone. A stated size sets the step of the text scale (--slotted-font-size-sm, -md, -lg); without one the font is the one around it, whatever a provider states. A row of small text keeps its height."
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"name": "justify",
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"type": "readonly string[]",
|
|
319
319
|
"defaultValue": "—",
|
|
320
320
|
"appliesTo": "Button",
|
|
321
|
-
"description": "Every text the label can take, for a label that changes under the pointer (the month of a stepper): the
|
|
321
|
+
"description": "Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth."
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
"name": "disabled",
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
"type": "readonly string[]",
|
|
490
490
|
"defaultValue": "—",
|
|
491
491
|
"appliesTo": "ButtonLink",
|
|
492
|
-
"description": "Every text the label can take, for a label that changes under the pointer (the month of a stepper): the
|
|
492
|
+
"description": "Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth."
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
495
|
"name": "disabled",
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
"type": "boolean",
|
|
575
575
|
"defaultValue": "false",
|
|
576
576
|
"appliesTo": "IconButton",
|
|
577
|
-
"description": "One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, the control takes the text's font size, and a 24px target stays around it."
|
|
577
|
+
"description": "One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, the control takes the text's font size, and a 24px target stays around it. In ghost it draws no ground under the pointer; in the secondary tone it is muted at rest and takes the text color on hover, on keyboard focus and while its tooltip or popover is open."
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
580
|
"name": "disabled",
|
|
@@ -834,7 +834,7 @@
|
|
|
834
834
|
"type": "readonly string[]",
|
|
835
835
|
"defaultValue": "—",
|
|
836
836
|
"appliesTo": "ToggleButton",
|
|
837
|
-
"description": "Every text the label can take, for a label that changes under the pointer (the month of a stepper): the
|
|
837
|
+
"description": "Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth."
|
|
838
838
|
},
|
|
839
839
|
{
|
|
840
840
|
"name": "disabled",
|
|
@@ -922,6 +922,7 @@
|
|
|
922
922
|
"tokens": [
|
|
923
923
|
"--slotted-border-subtle",
|
|
924
924
|
"--slotted-border-width-thin",
|
|
925
|
+
"--slotted-button-widest-start",
|
|
925
926
|
"--slotted-control-border-color",
|
|
926
927
|
"--slotted-control-border-width",
|
|
927
928
|
"--slotted-control-font-family",
|
|
@@ -955,11 +956,15 @@
|
|
|
955
956
|
"--slotted-focus-ring-color",
|
|
956
957
|
"--slotted-focus-ring-offset",
|
|
957
958
|
"--slotted-focus-ring-width",
|
|
959
|
+
"--slotted-font-size-lg",
|
|
960
|
+
"--slotted-font-size-md",
|
|
961
|
+
"--slotted-font-size-sm",
|
|
958
962
|
"--slotted-line-height-sm",
|
|
959
963
|
"--slotted-radius-full",
|
|
960
964
|
"--slotted-radius-sm",
|
|
961
965
|
"--slotted-space-2",
|
|
962
966
|
"--slotted-target-min",
|
|
967
|
+
"--slotted-text",
|
|
963
968
|
"--slotted-text-box-edge",
|
|
964
969
|
"--slotted-text-muted",
|
|
965
970
|
"--slotted-tone-accent-border",
|
|
@@ -975,8 +980,6 @@
|
|
|
975
980
|
"--slotted-tone-danger-solid",
|
|
976
981
|
"--slotted-tone-danger-solid-active",
|
|
977
982
|
"--slotted-tone-danger-solid-hover",
|
|
978
|
-
"--slotted-tone-danger-subtle-active",
|
|
979
|
-
"--slotted-tone-danger-subtle-hover",
|
|
980
983
|
"--slotted-tone-danger-text",
|
|
981
984
|
"--slotted-tone-info-on-solid",
|
|
982
985
|
"--slotted-tone-info-solid",
|
package/dist/docs/button.md
CHANGED
|
@@ -86,9 +86,9 @@ export default function ButtonBasic() {
|
|
|
86
86
|
| `end` | `ReactNode` | — | Button | Content after the label, such as an icon. It mirrors in a right-to-left document. |
|
|
87
87
|
| `fullWidth` | `boolean` | false | Button | Fills the inline size of the container. |
|
|
88
88
|
| `flush` | `'start' \| 'end' \| 'both'` | — | Button | Stands the label on the edge of the text around it: the button is pulled out by its own inset on the stated side, and the hover ground, the target and the focus ring extend past that edge. For a ghost button as the first line of a stacked cell. It has no effect on an inline button, which has no inset. |
|
|
89
|
-
| `inline` | `boolean` | false | Button | A word of the surrounding text, for an action inside a sentence or a dense cell: no box in any variant, the font, line height and baseline of the text around it, underlined in the tone. A row of small text keeps its height. |
|
|
89
|
+
| `inline` | `boolean` | false | Button | A word of the surrounding text, for an action inside a sentence or a dense cell: no box in any variant, the font, line height and baseline of the text around it, underlined in the tone. A stated size sets the step of the text scale (--slotted-font-size-sm, -md, -lg); without one the font is the one around it, whatever a provider states. A row of small text keeps its height. |
|
|
90
90
|
| `justify` | `center \| between` | center | Button | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
|
|
91
|
-
| `widest` | `readonly string[]` | — | Button | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the
|
|
91
|
+
| `widest` | `readonly string[]` | — | Button | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
|
|
92
92
|
| `disabled` | `boolean` | false | Button | Refuses the action and marks the control unavailable. On its own, it sets the native disabled attribute, which also removes the control from the tab sequence. |
|
|
93
93
|
| `focusableWhenDisabled` | `boolean` | false | Button | Keeps a disabled control in the tab sequence: aria-disabled replaces the native attribute, and activation is still refused. |
|
|
94
94
|
| `loading` | `boolean` | false | Button | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
|
|
@@ -111,7 +111,7 @@ export default function ButtonBasic() {
|
|
|
111
111
|
| `end` | `ReactNode` | — | ButtonLink | Content after the label, such as an icon. It mirrors in a right-to-left document. |
|
|
112
112
|
| `fullWidth` | `boolean` | false | ButtonLink | Fills the inline size of the container. |
|
|
113
113
|
| `justify` | `center \| between` | center | ButtonLink | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
|
|
114
|
-
| `widest` | `readonly string[]` | — | ButtonLink | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the
|
|
114
|
+
| `widest` | `readonly string[]` | — | ButtonLink | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
|
|
115
115
|
| `disabled` | `boolean` | false | ButtonLink | Removes the href and refuses activation. The link stays focusable with role="link" and aria-disabled. |
|
|
116
116
|
|
|
117
117
|
### iconButton
|
|
@@ -123,7 +123,7 @@ export default function ButtonBasic() {
|
|
|
123
123
|
| `variant` | `solid \| outline \| ghost` | ghost | IconButton | How the tone is painted: solid, outline or ghost. |
|
|
124
124
|
| `size` | `sm \| md \| lg` | md | IconButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
|
|
125
125
|
| `shape` | `square \| circle` | square | IconButton | The corners of the control: square keeps the radius of the control scale, circle rounds it fully. Both are as wide as they are tall. |
|
|
126
|
-
| `inline` | `boolean` | false | IconButton | One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, the control takes the text's font size, and a 24px target stays around it. |
|
|
126
|
+
| `inline` | `boolean` | false | IconButton | One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, the control takes the text's font size, and a 24px target stays around it. In ghost it draws no ground under the pointer; in the secondary tone it is muted at rest and takes the text color on hover, on keyboard focus and while its tooltip or popover is open. |
|
|
127
127
|
| `disabled` | `boolean` | false | IconButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled attribute, which also removes the control from the tab sequence. |
|
|
128
128
|
| `focusableWhenDisabled` | `boolean` | false | IconButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native attribute, and activation is still refused. |
|
|
129
129
|
| `loading` | `boolean` | false | IconButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
|
|
@@ -159,7 +159,7 @@ export default function ButtonBasic() {
|
|
|
159
159
|
| `end` | `ReactNode` | — | ToggleButton | Content after the label, such as an icon. It mirrors in a right-to-left document. |
|
|
160
160
|
| `fullWidth` | `boolean` | false | ToggleButton | Fills the inline size of the container. |
|
|
161
161
|
| `justify` | `center \| between` | center | ToggleButton | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
|
|
162
|
-
| `widest` | `readonly string[]` | — | ToggleButton | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the
|
|
162
|
+
| `widest` | `readonly string[]` | — | ToggleButton | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
|
|
163
163
|
| `disabled` | `boolean` | false | ToggleButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled attribute, which also removes the control from the tab sequence. |
|
|
164
164
|
| `focusableWhenDisabled` | `boolean` | false | ToggleButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native attribute, and activation is still refused. |
|
|
165
165
|
| `loading` | `boolean` | false | ToggleButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
|
|
@@ -213,7 +213,7 @@ export default function ButtonBasic() {
|
|
|
213
213
|
|
|
214
214
|
## Tokens
|
|
215
215
|
|
|
216
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-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-letter-spacing`, `--slotted-control-line-height`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-loop`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-target-min`, `--slotted-text-box-edge`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-
|
|
216
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-button-widest-start`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-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-letter-spacing`, `--slotted-control-line-height`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-loop`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-box-edge`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-text`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-solid-active`, `--slotted-tone-info-solid-hover`, `--slotted-tone-info-text`, `--slotted-tone-neutral-on-solid`, `--slotted-tone-neutral-solid`, `--slotted-tone-neutral-solid-active`, `--slotted-tone-neutral-solid-hover`, `--slotted-tone-neutral-text`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-text`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-text`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-text`
|
|
217
217
|
|
|
218
218
|
## Examples
|
|
219
219
|
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"part": "group-label",
|
|
202
202
|
"element": "div",
|
|
203
203
|
"required": false,
|
|
204
|
-
"purpose": "The heading of a group. It carries data-stuck while rows pass under it, and
|
|
204
|
+
"purpose": "The heading of a group. It carries data-stuck while rows pass under it. Where the engine times an animation by the scroll, the rows end at the label and it paints no ground of its own, so a material panel stays whole; elsewhere it paints --slotted-command-palette-group-label-stuck-surface, the panel surface by default, with --slotted-command-palette-group-label-stuck-backdrop-filter, the panel filter by default."
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
"part": "item",
|
|
@@ -601,6 +601,7 @@
|
|
|
601
601
|
"--slotted-command-palette-border-color",
|
|
602
602
|
"--slotted-command-palette-footer-surface",
|
|
603
603
|
"--slotted-command-palette-group-label-height",
|
|
604
|
+
"--slotted-command-palette-group-label-stuck-backdrop-filter",
|
|
604
605
|
"--slotted-command-palette-group-label-stuck-surface",
|
|
605
606
|
"--slotted-command-palette-highlight",
|
|
606
607
|
"--slotted-command-palette-highlight-ring",
|
|
@@ -130,7 +130,7 @@ Excerpt — not a complete module
|
|
|
130
130
|
|
|
131
131
|
## Tokens
|
|
132
132
|
|
|
133
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-command-palette-active`, `--slotted-command-palette-backdrop-filter`, `--slotted-command-palette-border-color`, `--slotted-command-palette-footer-surface`, `--slotted-command-palette-group-label-height`, `--slotted-command-palette-group-label-stuck-surface`, `--slotted-command-palette-highlight`, `--slotted-command-palette-highlight-ring`, `--slotted-command-palette-hover`, `--slotted-command-palette-item-radius`, `--slotted-command-palette-list-max-block-size`, `--slotted-command-palette-list-padding`, `--slotted-command-palette-measure`, `--slotted-command-palette-page-surface`, `--slotted-command-palette-placeholder-fade`, `--slotted-command-palette-radius`, `--slotted-command-palette-separator-color`, `--slotted-command-palette-shadow`, `--slotted-command-palette-surface`, `--slotted-command-palette-text`, `--slotted-command-palette-text-muted`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
133
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-command-palette-active`, `--slotted-command-palette-backdrop-filter`, `--slotted-command-palette-border-color`, `--slotted-command-palette-footer-surface`, `--slotted-command-palette-group-label-height`, `--slotted-command-palette-group-label-stuck-backdrop-filter`, `--slotted-command-palette-group-label-stuck-surface`, `--slotted-command-palette-highlight`, `--slotted-command-palette-highlight-ring`, `--slotted-command-palette-hover`, `--slotted-command-palette-item-radius`, `--slotted-command-palette-list-max-block-size`, `--slotted-command-palette-list-padding`, `--slotted-command-palette-measure`, `--slotted-command-palette-page-surface`, `--slotted-command-palette-placeholder-fade`, `--slotted-command-palette-radius`, `--slotted-command-palette-separator-color`, `--slotted-command-palette-shadow`, `--slotted-command-palette-surface`, `--slotted-command-palette-text`, `--slotted-command-palette-text-muted`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
134
134
|
|
|
135
135
|
## Examples
|
|
136
136
|
|
|
@@ -142,7 +142,7 @@ const [editing, setEditing] = useState(false);
|
|
|
142
142
|
|
|
143
143
|
## Tokens
|
|
144
144
|
|
|
145
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-card-radius`, `--slotted-control-border-color`, `--slotted-control-height-sm`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-dashboard-grid-accent`, `--slotted-dashboard-grid-description-color`, `--slotted-dashboard-grid-edit-bar-background`, `--slotted-dashboard-grid-edit-bar-border`, `--slotted-dashboard-grid-gap`, `--slotted-dashboard-grid-handle-block-size`, `--slotted-dashboard-grid-handle-block-size-coarse`, `--slotted-dashboard-grid-handle-glyph-size`, `--slotted-dashboard-grid-handle-inline-size`, `--slotted-dashboard-grid-handle-inline-size-coarse`, `--slotted-dashboard-grid-help-measure`, `--slotted-dashboard-grid-lattice-color`, `--slotted-dashboard-grid-lattice-dot`, `--slotted-dashboard-grid-resize-hit`, `--slotted-dashboard-grid-resize-pill`, `--slotted-dashboard-grid-resize-pill-active`, `--slotted-dashboard-grid-row-size`, `--slotted-dashboard-grid-title-color`, `--slotted-dashboard-grid-title-font-family`, `--slotted-dashboard-grid-title-font-size`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`
|
|
145
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-card-radius`, `--slotted-control-border-color`, `--slotted-control-height-sm`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-dashboard-grid-accent`, `--slotted-dashboard-grid-description-color`, `--slotted-dashboard-grid-edit-bar-background`, `--slotted-dashboard-grid-edit-bar-border`, `--slotted-dashboard-grid-gap`, `--slotted-dashboard-grid-handle-block-size`, `--slotted-dashboard-grid-handle-block-size-coarse`, `--slotted-dashboard-grid-handle-glyph-size`, `--slotted-dashboard-grid-handle-inline-size`, `--slotted-dashboard-grid-handle-inline-size-coarse`, `--slotted-dashboard-grid-help-measure`, `--slotted-dashboard-grid-lattice-color`, `--slotted-dashboard-grid-lattice-dot`, `--slotted-dashboard-grid-resize-hit`, `--slotted-dashboard-grid-resize-pill`, `--slotted-dashboard-grid-resize-pill-active`, `--slotted-dashboard-grid-row-size`, `--slotted-dashboard-grid-title-color`, `--slotted-dashboard-grid-title-font-family`, `--slotted-dashboard-grid-title-font-size`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-secondary-subtle-hover`
|
|
146
146
|
|
|
147
147
|
## Examples
|
|
148
148
|
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"part": "group-label",
|
|
274
274
|
"element": "div",
|
|
275
275
|
"required": false,
|
|
276
|
-
"purpose": "The heading of a group. It carries data-stuck while rows pass under it, and
|
|
276
|
+
"purpose": "The heading of a group. It carries data-stuck while rows pass under it. Where the engine times an animation by the scroll, the rows end at the label and it paints no ground of its own, so a material panel stays whole; elsewhere it paints --slotted-entity-picker-group-label-stuck-surface, the panel surface by default, with --slotted-entity-picker-group-label-stuck-backdrop-filter, the panel filter by default."
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
279
|
"part": "item",
|
|
@@ -809,6 +809,7 @@
|
|
|
809
809
|
"--slotted-entity-picker-field-basis",
|
|
810
810
|
"--slotted-entity-picker-field-min",
|
|
811
811
|
"--slotted-entity-picker-group-label-height",
|
|
812
|
+
"--slotted-entity-picker-group-label-stuck-backdrop-filter",
|
|
812
813
|
"--slotted-entity-picker-group-label-stuck-surface",
|
|
813
814
|
"--slotted-entity-picker-highlight",
|
|
814
815
|
"--slotted-entity-picker-highlight-active",
|
|
@@ -160,7 +160,7 @@ const directory: EntitySource = {
|
|
|
160
160
|
|
|
161
161
|
## Tokens
|
|
162
162
|
|
|
163
|
-
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xs`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-entity-picker-action-active-background`, `--slotted-entity-picker-action-color`, `--slotted-entity-picker-action-hover-background`, `--slotted-entity-picker-action-size`, `--slotted-entity-picker-autofill-background`, `--slotted-entity-picker-background`, `--slotted-entity-picker-border-color`, `--slotted-entity-picker-color`, `--slotted-entity-picker-content-backdrop-filter`, `--slotted-entity-picker-content-border-color`, `--slotted-entity-picker-content-radius`, `--slotted-entity-picker-content-shadow`, `--slotted-entity-picker-content-text`, `--slotted-entity-picker-content-text-muted`, `--slotted-entity-picker-disabled-background`, `--slotted-entity-picker-disabled-border-color`, `--slotted-entity-picker-disabled-color`, `--slotted-entity-picker-error-color`, `--slotted-entity-picker-field-basis`, `--slotted-entity-picker-field-min`, `--slotted-entity-picker-group-label-height`, `--slotted-entity-picker-group-label-stuck-surface`, `--slotted-entity-picker-highlight`, `--slotted-entity-picker-highlight-active`, `--slotted-entity-picker-highlight-ring`, `--slotted-entity-picker-hover-border-color`, `--slotted-entity-picker-icon-size-min`, `--slotted-entity-picker-invalid-border-color`, `--slotted-entity-picker-invalid-edge-width`, `--slotted-entity-picker-invalid-focus-ring-color`, `--slotted-entity-picker-item-radius`, `--slotted-entity-picker-measure`, `--slotted-entity-picker-meta-measure`, `--slotted-entity-picker-offer-color`, `--slotted-entity-picker-open-border-color`, `--slotted-entity-picker-placeholder-color`, `--slotted-entity-picker-plain-hover-background`, `--slotted-entity-picker-radius`, `--slotted-entity-picker-readonly-background`, `--slotted-entity-picker-scope-inline-size`, `--slotted-entity-picker-selected-color`, `--slotted-entity-picker-shadow`, `--slotted-entity-picker-subtle-background`, `--slotted-entity-picker-subtle-border-color`, `--slotted-entity-picker-subtle-hover-background`, `--slotted-entity-picker-surface`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
163
|
+
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xs`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-entity-picker-action-active-background`, `--slotted-entity-picker-action-color`, `--slotted-entity-picker-action-hover-background`, `--slotted-entity-picker-action-size`, `--slotted-entity-picker-autofill-background`, `--slotted-entity-picker-background`, `--slotted-entity-picker-border-color`, `--slotted-entity-picker-color`, `--slotted-entity-picker-content-backdrop-filter`, `--slotted-entity-picker-content-border-color`, `--slotted-entity-picker-content-radius`, `--slotted-entity-picker-content-shadow`, `--slotted-entity-picker-content-text`, `--slotted-entity-picker-content-text-muted`, `--slotted-entity-picker-disabled-background`, `--slotted-entity-picker-disabled-border-color`, `--slotted-entity-picker-disabled-color`, `--slotted-entity-picker-error-color`, `--slotted-entity-picker-field-basis`, `--slotted-entity-picker-field-min`, `--slotted-entity-picker-group-label-height`, `--slotted-entity-picker-group-label-stuck-backdrop-filter`, `--slotted-entity-picker-group-label-stuck-surface`, `--slotted-entity-picker-highlight`, `--slotted-entity-picker-highlight-active`, `--slotted-entity-picker-highlight-ring`, `--slotted-entity-picker-hover-border-color`, `--slotted-entity-picker-icon-size-min`, `--slotted-entity-picker-invalid-border-color`, `--slotted-entity-picker-invalid-edge-width`, `--slotted-entity-picker-invalid-focus-ring-color`, `--slotted-entity-picker-item-radius`, `--slotted-entity-picker-measure`, `--slotted-entity-picker-meta-measure`, `--slotted-entity-picker-offer-color`, `--slotted-entity-picker-open-border-color`, `--slotted-entity-picker-placeholder-color`, `--slotted-entity-picker-plain-hover-background`, `--slotted-entity-picker-radius`, `--slotted-entity-picker-readonly-background`, `--slotted-entity-picker-scope-inline-size`, `--slotted-entity-picker-selected-color`, `--slotted-entity-picker-shadow`, `--slotted-entity-picker-subtle-background`, `--slotted-entity-picker-subtle-border-color`, `--slotted-entity-picker-subtle-hover-background`, `--slotted-entity-picker-surface`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
164
164
|
|
|
165
165
|
## Examples
|
|
166
166
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"type": "'sm' | 'md' | 'lg'",
|
|
100
100
|
"defaultValue": "md",
|
|
101
101
|
"appliesTo": "FieldGroup",
|
|
102
|
-
"description": "The type step of the legend, and the step provided to every field inside. The legend
|
|
102
|
+
"description": "The type step of the legend, and the step provided to every field inside. The legend of a question takes the type of a field label; the legend of a section stands one step above the labels under it, so a group in a dense table shrinks with them"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"name": "orientation",
|
package/dist/docs/field-group.md
CHANGED
|
@@ -45,7 +45,7 @@ Excerpt — not a complete module
|
|
|
45
45
|
|
|
46
46
|
| Name | Type | Default | Applies to | Description |
|
|
47
47
|
| --- | --- | --- | --- | --- |
|
|
48
|
-
| `size` | `'sm' \| 'md' \| 'lg'` | md | FieldGroup | The type step of the legend, and the step provided to every field inside. The legend
|
|
48
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | md | FieldGroup | The type step of the legend, and the step provided to every field inside. The legend of a question takes the type of a field label; the legend of a section stands one step above the labels under it, so a group in a dense table shrinks with them |
|
|
49
49
|
| `orientation` | `'vertical' \| 'horizontal'` | vertical | FieldGroup | How the fields inside flow. A row wraps rather than squeezing, so a field keeps enough width to hold what is being typed into it |
|
|
50
50
|
| `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | FieldGroup | How the set’s necessity is said on its legend — an asterisk, (optional) on an optional set only, both words, or nothing — and the style provided to every field inside |
|
|
51
51
|
| `kind` | `'question' \| 'section'` | question | FieldGroup | A section names a topic rather than asking something, so its legend draws no necessity, its fields keep the style the application set, and its first field stands --slotted-field-group-section-content-gap (1.25rem) below the legend; a question's choices stand --slotted-field-group-content-gap (the field row gap) below it |
|
|
@@ -107,6 +107,8 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
107
107
|
| OE-08 | SHOULD | The element's rules stand in a layer of the application ordered after the library's, and never select or set `data-ui` or `data-part`. | `own-elements.md` |
|
|
108
108
|
| OE-09 | SHOULD | The element reflows by a container query on a `container-name` of its own; a change that follows the page uses the size classes, at 600 and 1024 pixels. | `own-elements.md` |
|
|
109
109
|
| OE-10 | SHOULD | A surface above another takes `--slotted-surface-raised` with one step of the `shadow` group, and a layer that floats over the page takes its stacking order from the `z-index` group. | `own-elements.md` |
|
|
110
|
+
| OE-11 | SHOULD | The mark places every value, tick and zero line by one `linearScale` of `@slotted/core/sparkline`, and marks read against each other state the same min and max. | `own-elements.md` |
|
|
111
|
+
| OE-12 | MUST | The gallery is one tab stop that the arrows move through, across every section, and Enter submits: native radio inputs that share a name, or `createRovingRadio` of `@slotted/core/focus`. | `own-elements.md` |
|
|
110
112
|
| PM-01 | MUST | The column, the figure and the section that would carry the value are not built for that reader; nothing is drawn for the value, and nothing is hidden in a place the reader can bring back. | `reading-permissions.md` |
|
|
111
113
|
| PM-02 | SHOULD | One statement names the permission the value needs and the roles that hold it; two missing permissions are one statement, not two. | `reading-permissions.md` |
|
|
112
114
|
| RP-01 | SHOULD | The title row holds the record's visual, its name as the heading, its lifecycle state and its health as two `tag` marks at the small size, and one subheading line with the identifier, the owner and the place; the way back to the list is the header's `back` part. | `record-pages.md` |
|
|
@@ -113,3 +113,23 @@ Why: The theme pairs each elevation with a ground per scheme and drops shadows u
|
|
|
113
113
|
Do: A day's detail card floats with `--slotted-surface-raised`, `--slotted-shadow-md` and `--slotted-z-index-popover`.
|
|
114
114
|
Don't: A shadow written as a literal and a stacking order of 9999.
|
|
115
115
|
Check: Every shadow and every stacking order of the element's own CSS reads a token of these two groups.
|
|
116
|
+
|
|
117
|
+
### OE-11 · Comparison marks share a scale
|
|
118
|
+
|
|
119
|
+
Level: SHOULD
|
|
120
|
+
Applies to: a comparison bar, a position strip or a split bar of the application's own
|
|
121
|
+
Rule: The mark places every value, tick and zero line by one `linearScale` of `@slotted/core/sparkline`, and marks read against each other state the same min and max.
|
|
122
|
+
Why: A mark sized by its own data draws its own axis, and two marks with two axes cannot be compared.
|
|
123
|
+
Do: Two bars and the tick row under them take one scale, the track reads `--slotted-mark-track-thickness` and `--slotted-mark-track-color`, the dot reads `--slotted-mark-dot-size`, and the benchmark is drawn in `--slotted-text-muted`.
|
|
124
|
+
Don't: Each row computes its width from the largest value of that row, and the tick row under them computes another.
|
|
125
|
+
Check: Set one value to zero and one to an extreme of the domain: the first ends on the zero tick and the second on the last tick, to the pixel.
|
|
126
|
+
|
|
127
|
+
### OE-12 · A picture gallery is one radio group
|
|
128
|
+
|
|
129
|
+
Level: MUST
|
|
130
|
+
Applies to: a gallery of illustrated choices of the application's own, where one is chosen
|
|
131
|
+
Rule: The gallery is one tab stop that the arrows move through, across every section, and Enter submits: native radio inputs that share a name, or `createRovingRadio` of `@slotted/core/focus`.
|
|
132
|
+
Why: A tile that is a plain button puts every choice in the tab order and announces no set, so the reader cannot tell which is chosen or how many there are.
|
|
133
|
+
Do: Two sections of tiles share one name; the tile that is hovered or chosen moves its own illustration.
|
|
134
|
+
Don't: A grid of toggle buttons, each a tab stop, with the chosen one told by its border alone.
|
|
135
|
+
Check: Tab into the gallery and out of it in two presses; from the last tile of one section an arrow reaches the first tile of the next, and Enter submits the form.
|
package/dist/docs/index.md
CHANGED
|
@@ -77,7 +77,7 @@ Each family is documented in `./<family>.md`.
|
|
|
77
77
|
- meter: A static value within a known range, drawn as a length.
|
|
78
78
|
- prose: Styles long-form HTML text.
|
|
79
79
|
- saved-views: Named, saved sets of filters for a list.
|
|
80
|
-
- sparkline: Word-sized graphics: a trend
|
|
80
|
+
- sparkline: Word-sized graphics: a trend in a line or bars.
|
|
81
81
|
- stat-card: Key figure with label, change and trend.
|
|
82
82
|
- status-indicator: Colored mark and label for a status.
|
|
83
83
|
- table: Semantic table with sorting, filters and selection.
|
package/dist/docs/list.json
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"type": "'row' | 'inset'",
|
|
147
147
|
"defaultValue": "row",
|
|
148
148
|
"appliesTo": "List",
|
|
149
|
-
"description": "How a row draws its hover, pressed, selected and current grounds: edge to edge, or as a tile with the row radius
|
|
149
|
+
"description": "How a row draws its hover, pressed, selected and current grounds. row: edge to edge of the list. inset, for a plain or ruled list inside a container that pads its content: as a tile with the row radius that reaches past the content by --slotted-list-fill-inset on each side, while the content keeps the inline edge of the container. A framed or separated list keeps row."
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "loading",
|
|
@@ -256,6 +256,7 @@
|
|
|
256
256
|
"--slotted-list-empty-padding",
|
|
257
257
|
"--slotted-list-empty-padding-lg",
|
|
258
258
|
"--slotted-list-empty-padding-sm",
|
|
259
|
+
"--slotted-list-fill-inset",
|
|
259
260
|
"--slotted-list-gap",
|
|
260
261
|
"--slotted-list-gap-lg",
|
|
261
262
|
"--slotted-list-gap-sm",
|
package/dist/docs/list.md
CHANGED
|
@@ -69,7 +69,7 @@ export default function ListBasic() {
|
|
|
69
69
|
| `marker` | `'none' \| 'bullet' \| 'number'` | none | List | What is painted in the marker column. List draws the marker itself, so removing it never removes the list semantics. |
|
|
70
70
|
| `ordered` | `boolean` | false | List | Renders an ol, so the reading order of the rows is part of the markup rather than only of the look. |
|
|
71
71
|
| `inset` | `boolean` | false | List | Removes the rows' inline padding, for a list inside a box that already pads its content. Rules and hover fills still run edge to edge. |
|
|
72
|
-
| `fill` | `'row' \| 'inset'` | row | List | How a row draws its hover, pressed, selected and current grounds: edge to edge, or as a tile with the row radius
|
|
72
|
+
| `fill` | `'row' \| 'inset'` | row | List | How a row draws its hover, pressed, selected and current grounds. row: edge to edge of the list. inset, for a plain or ruled list inside a container that pads its content: as a tile with the row radius that reaches past the content by --slotted-list-fill-inset on each side, while the content keeps the inline edge of the container. A framed or separated list keeps row. |
|
|
73
73
|
| `loading` | `boolean` | false | List | Writes aria-busy on the list and draws nothing. Skeleton, composed inside the rows, stands in for their content. |
|
|
74
74
|
| `level` | `'none' \| '1' \| '2' \| '3' \| '4' \| '5' \| '6'` | 3 | ListSection | The heading element a group name renders as. none renders a div, which is not announced as a heading. |
|
|
75
75
|
| `sticky` | `boolean` | false | ListSection | Keeps a group name in place while its own rows scroll past it, above the rows and on the list surface. |
|
|
@@ -103,7 +103,7 @@ export default function ListBasic() {
|
|
|
103
103
|
|
|
104
104
|
## Tokens
|
|
105
105
|
|
|
106
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-list-background`, `--slotted-list-border-color`, `--slotted-list-border-width`, `--slotted-list-empty-color`, `--slotted-list-empty-padding`, `--slotted-list-empty-padding-lg`, `--slotted-list-empty-padding-sm`, `--slotted-list-gap`, `--slotted-list-gap-lg`, `--slotted-list-gap-sm`, `--slotted-list-padding-inline`, `--slotted-list-padding-inline-lg`, `--slotted-list-padding-inline-sm`, `--slotted-list-radius`, `--slotted-list-section-background`, `--slotted-list-section-color`, `--slotted-list-section-font-size`, `--slotted-list-section-font-weight`, `--slotted-list-section-letter-spacing`, `--slotted-list-section-padding-block`, `--slotted-list-section-padding-block-lg`, `--slotted-list-section-padding-block-sm`, `--slotted-list-section-rule-color`, `--slotted-list-section-ruled-color`, `--slotted-radius-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-z-index-sticky`
|
|
106
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-list-background`, `--slotted-list-border-color`, `--slotted-list-border-width`, `--slotted-list-empty-color`, `--slotted-list-empty-padding`, `--slotted-list-empty-padding-lg`, `--slotted-list-empty-padding-sm`, `--slotted-list-fill-inset`, `--slotted-list-gap`, `--slotted-list-gap-lg`, `--slotted-list-gap-sm`, `--slotted-list-padding-inline`, `--slotted-list-padding-inline-lg`, `--slotted-list-padding-inline-sm`, `--slotted-list-radius`, `--slotted-list-section-background`, `--slotted-list-section-color`, `--slotted-list-section-font-size`, `--slotted-list-section-font-weight`, `--slotted-list-section-letter-spacing`, `--slotted-list-section-padding-block`, `--slotted-list-section-padding-block-lg`, `--slotted-list-section-padding-block-sm`, `--slotted-list-section-rule-color`, `--slotted-list-section-ruled-color`, `--slotted-radius-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-z-index-sticky`
|
|
107
107
|
|
|
108
108
|
## Examples
|
|
109
109
|
|
package/dist/docs/page.json
CHANGED
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"type": "() => SizeClass",
|
|
155
155
|
"defaultValue": "—",
|
|
156
156
|
"appliesTo": "inside a page",
|
|
157
|
-
"description": "The size class to compose by from the page’s own width: compact under 600 pixels, medium under 1024, expanded from there, the thresholds of the page’s container queries, so code that chooses what to render agrees with the stylesheet inside a split view. Outside a page it reads the viewport"
|
|
157
|
+
"description": "The size class to compose by from the page’s own width: compact under 600 pixels, medium under 1024, expanded from there, the thresholds of the page’s container queries, so code that chooses what to render agrees with the stylesheet inside a split view. Outside a page, until the page reports a size and while that size is 0, it reads the viewport"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"name": "ground",
|
package/dist/docs/page.md
CHANGED
|
@@ -39,7 +39,7 @@ Excerpt — not a complete module
|
|
|
39
39
|
| `scroll` | `'ancestor' \| 'self'` | ancestor | Page, PageDefaultsProvider | Who scrolls. ancestor makes the page at least as tall as what scrolls it and sticks the footer to the root’s bottom; self makes the scroll part the scroller and puts the footer below it |
|
|
40
40
|
| `fill` | `boolean` | false | Page | The body stops growing with its content and its child stretches to what is left, for a master–detail, a splitter or a canvas that scroll their own panes. The body’s principal scroller snaps the header’s area. From 600 pixels of the page’s width up; below it the page scrolls as without fill |
|
|
41
41
|
| `flow` | `'blocks' \| 'none'` | blocks | PageBody | blocks stacks what is written in the body at --slotted-page-block-gap, and a section without a surface at --slotted-page-section-gap, both a step smaller below 600 pixels of the page’s width; none leaves a body that is not a list of blocks (a workspace, a split) to its own layout |
|
|
42
|
-
| `usePageSizeClass` | `() => SizeClass` | — | inside a page | The size class to compose by from the page’s own width: compact under 600 pixels, medium under 1024, expanded from there, the thresholds of the page’s container queries, so code that chooses what to render agrees with the stylesheet inside a split view. Outside a page it reads the viewport |
|
|
42
|
+
| `usePageSizeClass` | `() => SizeClass` | — | inside a page | The size class to compose by from the page’s own width: compact under 600 pixels, medium under 1024, expanded from there, the thresholds of the page’s container queries, so code that chooses what to render agrees with the stylesheet inside a split view. Outside a page, until the page reports a size and while that size is 0, it reads the viewport |
|
|
43
43
|
| `ground` | `'sunken' \| 'surface'` | sunken | Page, PageDefaultsProvider | The canvas of an application, or the plain surface of a document. Written as --slotted-page-ground for a sticky section header to paint |
|
|
44
44
|
| `landmark` | `'main' \| 'none'` | main | Page, PageDefaultsProvider | Whether the root is the document’s main. none renders a div, for a page inside a drawer, a dialog or a detail pane where the document already has one |
|
|
45
45
|
| `loading` | `boolean` | false | Page | The body carries aria-busy and the root data-loading. Each family inside draws its own placeholder |
|