@slotted/react 0.1.0-beta.29 → 0.1.0-beta.30
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-CXlO6z0w.js → app-shell-ClwskWBN.js} +1 -1
- package/dist/app-shell.js +2 -2
- package/dist/docs/AGENTS.snippet.md +1 -1
- package/dist/docs/accordion.json +5 -5
- package/dist/docs/accordion.md +11 -11
- package/dist/docs/action-bar.json +19 -19
- package/dist/docs/action-bar.md +29 -29
- package/dist/docs/action-sheet.json +5 -5
- package/dist/docs/action-sheet.md +15 -15
- package/dist/docs/alert.json +11 -11
- package/dist/docs/alert.md +17 -17
- package/dist/docs/app-shell.examples.md +8 -8
- package/dist/docs/app-shell.json +11 -11
- package/dist/docs/app-shell.md +2 -2
- package/dist/docs/attachment.json +1 -1
- package/dist/docs/attachment.md +1 -1
- package/dist/docs/avatar-group.json +1 -1
- package/dist/docs/avatar-group.md +1 -1
- package/dist/docs/avatar.json +10 -10
- package/dist/docs/avatar.md +9 -9
- package/dist/docs/badge.json +5 -5
- package/dist/docs/badge.md +5 -5
- package/dist/docs/breadcrumb.json +2 -2
- package/dist/docs/breadcrumb.md +2 -2
- package/dist/docs/button-group.json +1 -1
- package/dist/docs/button-group.md +1 -1
- package/dist/docs/button.json +11 -11
- package/dist/docs/button.md +7 -7
- package/dist/docs/calendar.json +4 -4
- package/dist/docs/calendar.md +3 -3
- package/dist/docs/card.json +2 -2
- package/dist/docs/card.md +2 -2
- package/dist/docs/carousel.json +11 -11
- package/dist/docs/carousel.md +12 -12
- package/dist/docs/chart.examples.md +41 -41
- package/dist/docs/chart.json +28 -28
- package/dist/docs/chart.md +4 -4
- package/dist/docs/checkbox-group.examples.md +12 -12
- package/dist/docs/checkbox-group.json +6 -6
- package/dist/docs/checkbox-group.md +1 -1
- package/dist/docs/checkbox.examples.md +8 -8
- package/dist/docs/checkbox.json +7 -7
- package/dist/docs/checkbox.md +4 -4
- package/dist/docs/code-block.json +1 -1
- package/dist/docs/code-block.md +1 -1
- package/dist/docs/collapsible.json +12 -12
- package/dist/docs/collapsible.md +21 -21
- package/dist/docs/color-picker.json +25 -25
- package/dist/docs/color-picker.md +15 -15
- package/dist/docs/column-manager.json +1 -1
- package/dist/docs/column-manager.md +1 -1
- package/dist/docs/combobox.json +1 -1
- package/dist/docs/combobox.md +1 -1
- package/dist/docs/context-menu.json +1 -1
- package/dist/docs/context-menu.md +1 -1
- package/dist/docs/currency-field.examples.md +1 -1
- package/dist/docs/currency-field.json +5 -5
- package/dist/docs/currency-field.md +4 -4
- package/dist/docs/dashboard-grid.json +1 -1
- package/dist/docs/data-grid.json +2 -2
- package/dist/docs/data-grid.md +1 -1
- package/dist/docs/data-grid.props.md +1 -1
- package/dist/docs/date-field.json +4 -4
- package/dist/docs/date-field.md +9 -9
- package/dist/docs/date-picker.json +1 -1
- package/dist/docs/date-range-picker.json +1 -1
- package/dist/docs/datetime-field.json +3 -3
- package/dist/docs/datetime-field.md +7 -7
- package/dist/docs/datetime-picker.json +1 -1
- package/dist/docs/datetime-range-picker.examples.md +2 -2
- package/dist/docs/datetime-range-picker.json +3 -3
- package/dist/docs/datetime-range-picker.md +2 -2
- package/dist/docs/description-list.json +5 -5
- package/dist/docs/description-list.md +4 -4
- package/dist/docs/detail-panel.json +9 -9
- package/dist/docs/detail-panel.md +11 -11
- package/dist/docs/dialog.examples.md +5 -5
- package/dist/docs/dialog.json +12 -12
- package/dist/docs/dialog.md +4 -4
- package/dist/docs/dialog.props.md +2 -2
- package/dist/docs/drawer.examples.md +14 -14
- package/dist/docs/drawer.json +8 -8
- package/dist/docs/drawer.md +1 -1
- package/dist/docs/entity-picker.json +1 -1
- package/dist/docs/entity-picker.md +2 -2
- package/dist/docs/event-calendar.examples.md +3 -3
- package/dist/docs/event-calendar.json +5 -5
- package/dist/docs/event-calendar.md +2 -2
- package/dist/docs/field-group.json +5 -5
- package/dist/docs/field-group.md +9 -9
- package/dist/docs/field.examples.md +3 -3
- package/dist/docs/field.json +4 -4
- package/dist/docs/field.md +1 -1
- package/dist/docs/form.json +6 -6
- package/dist/docs/form.md +10 -10
- package/dist/docs/fullscreen.json +3 -3
- package/dist/docs/fullscreen.md +6 -6
- package/dist/docs/guidelines/async-feedback.md +2 -2
- package/dist/docs/guidelines/builders.md +1 -1
- package/dist/docs/guidelines/composition.md +4 -4
- package/dist/docs/guidelines/conversations.md +1 -1
- package/dist/docs/guidelines/index.md +2 -2
- package/dist/docs/guidelines/layout-alignment.md +5 -5
- package/dist/docs/guidelines/overviews.md +3 -3
- package/dist/docs/guidelines/own-elements.md +7 -7
- package/dist/docs/guidelines/record-pages.md +1 -1
- package/dist/docs/highlight.json +11 -11
- package/dist/docs/highlight.md +18 -18
- package/dist/docs/icon.json +2 -2
- package/dist/docs/icon.md +2 -2
- package/dist/docs/image.json +3 -3
- package/dist/docs/image.md +3 -3
- package/dist/docs/import-export-center.json +25 -25
- package/dist/docs/import-export-center.md +21 -21
- package/dist/docs/inline-message.json +14 -14
- package/dist/docs/inline-message.md +20 -20
- package/dist/docs/inline.json +1 -1
- package/dist/docs/inline.md +1 -1
- package/dist/docs/kbd.json +2 -2
- package/dist/docs/kbd.md +2 -2
- package/dist/docs/link.json +7 -7
- package/dist/docs/link.md +7 -7
- package/dist/docs/list-item.json +1 -1
- package/dist/docs/list-item.md +1 -1
- package/dist/docs/list.json +2 -2
- package/dist/docs/list.md +1 -1
- package/dist/docs/listbox.json +1 -1
- package/dist/docs/listbox.md +1 -1
- package/dist/docs/loading-overlay.json +2 -2
- package/dist/docs/loading-overlay.md +2 -2
- package/dist/docs/media-viewer.json +1 -1
- package/dist/docs/media-viewer.md +1 -1
- package/dist/docs/message-scroller.json +1 -1
- package/dist/docs/message-scroller.md +1 -1
- package/dist/docs/message.json +11 -11
- package/dist/docs/message.md +17 -17
- package/dist/docs/multi-select.json +1 -1
- package/dist/docs/notification-center.json +18 -18
- package/dist/docs/notification-center.md +25 -22
- package/dist/docs/number-field.examples.md +4 -4
- package/dist/docs/number-field.json +3 -3
- package/dist/docs/otp-input.json +9 -9
- package/dist/docs/otp-input.md +12 -12
- package/dist/docs/page-header.json +9 -9
- package/dist/docs/page-header.md +23 -23
- package/dist/docs/pagination.json +2 -2
- package/dist/docs/pagination.md +1 -1
- package/dist/docs/popover.examples.md +1 -1
- package/dist/docs/popover.json +3 -3
- package/dist/docs/popover.md +1 -1
- package/dist/docs/progress-indicator.json +4 -4
- package/dist/docs/progress-indicator.md +4 -4
- package/dist/docs/prompt-composer.json +3 -3
- package/dist/docs/prompt-composer.md +4 -4
- package/dist/docs/prose.json +1 -1
- package/dist/docs/prose.md +1 -1
- package/dist/docs/radio-group.examples.md +16 -16
- package/dist/docs/radio-group.json +9 -9
- package/dist/docs/radio-group.md +2 -2
- package/dist/docs/rating.json +18 -18
- package/dist/docs/rating.md +19 -23
- package/dist/docs/result-state.json +13 -13
- package/dist/docs/result-state.md +18 -20
- package/dist/docs/saved-views.json +1 -1
- package/dist/docs/scroll-area.json +5 -5
- package/dist/docs/scroll-area.md +6 -6
- package/dist/docs/section.json +6 -6
- package/dist/docs/section.md +11 -11
- package/dist/docs/segmented-control.json +15 -15
- package/dist/docs/segmented-control.md +39 -39
- package/dist/docs/skeleton.json +1 -1
- package/dist/docs/skeleton.md +1 -1
- package/dist/docs/skills/build-own-element/SKILL.md +3 -3
- package/dist/docs/skills/compose-screen/SKILL.md +2 -2
- package/dist/docs/skills/index.md +2 -2
- package/dist/docs/skills/review-screen/SKILL.md +3 -3
- package/dist/docs/skills/theme-app/SKILL.md +9 -9
- package/dist/docs/skills/waiting-states/SKILL.md +1 -1
- package/dist/docs/slider.json +9 -9
- package/dist/docs/slider.md +19 -19
- package/dist/docs/sparkline.json +8 -8
- package/dist/docs/sparkline.md +6 -6
- package/dist/docs/split-button.json +11 -11
- package/dist/docs/split-button.md +27 -27
- package/dist/docs/stack.json +1 -1
- package/dist/docs/stack.md +1 -1
- package/dist/docs/stat-card.json +3 -3
- package/dist/docs/stat-card.md +2 -2
- package/dist/docs/status-indicator.json +8 -8
- package/dist/docs/status-indicator.md +5 -5
- package/dist/docs/stepper.json +4 -4
- package/dist/docs/stepper.md +4 -4
- package/dist/docs/switch.json +5 -5
- package/dist/docs/switch.md +11 -7
- package/dist/docs/table-of-contents.json +9 -9
- package/dist/docs/table-of-contents.md +13 -13
- package/dist/docs/table.examples.md +1 -1
- package/dist/docs/table.json +1 -1
- package/dist/docs/tabs.json +1 -1
- package/dist/docs/tabs.md +1 -1
- package/dist/docs/tag.json +21 -21
- package/dist/docs/tag.md +18 -18
- package/dist/docs/tags-input.json +1 -1
- package/dist/docs/tags-input.md +1 -1
- package/dist/docs/text-field.examples.md +5 -5
- package/dist/docs/text-field.json +5 -5
- package/dist/docs/text-field.md +1 -1
- package/dist/docs/textarea.examples.md +4 -4
- package/dist/docs/textarea.json +2 -2
- package/dist/docs/time-field.json +3 -3
- package/dist/docs/time-field.md +7 -7
- package/dist/docs/time-picker.json +4 -4
- package/dist/docs/time-picker.md +7 -7
- package/dist/docs/time-range-picker.json +4 -4
- package/dist/docs/time-range-picker.md +5 -5
- package/dist/docs/toast.json +5 -5
- package/dist/docs/toast.md +5 -5
- package/dist/docs/toggle-group.json +13 -13
- package/dist/docs/toggle-group.md +38 -38
- package/dist/docs/toggle.json +8 -8
- package/dist/docs/toggle.md +8 -8
- package/dist/docs/tokens.md +15 -15
- package/dist/docs/toolbar.json +11 -11
- package/dist/docs/toolbar.md +28 -28
- package/dist/docs/tooltip.json +3 -3
- package/dist/docs/tooltip.md +3 -3
- package/dist/docs/top-navigation.examples.md +13 -13
- package/dist/docs/top-navigation.json +10 -10
- package/dist/docs/top-navigation.md +7 -7
- package/dist/docs/tour.json +8 -8
- package/dist/docs/tour.md +5 -5
- package/dist/docs/typography.json +2 -2
- package/dist/docs/typography.md +2 -2
- package/dist/docs/upload.examples.md +5 -5
- package/dist/docs/upload.json +10 -10
- package/dist/docs/upload.md +3 -3
- package/dist/{form-Im9lGi45.js → form-DnV8ndwm.js} +1 -1
- package/dist/form.js +1 -1
- package/dist/index.js +8 -8
- package/dist/{rating-Cjrwmxyw.js → rating-BtrkTAi0.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{side-navigation-CvIGfGjZ.js → side-navigation-DNMpckRs.js} +1 -1
- package/dist/side-navigation.js +1 -1
- package/dist/{slider-DuJGh0pf.js → slider-CU89H3i0.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/styles/app-shell.css +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles/side-navigation.css +1 -1
- package/dist/styles/top-navigation.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{top-navigation-D_Jt0jNw.js → top-navigation-C73WDqLg.js} +1 -1
- package/dist/top-navigation.js +1 -1
- package/dist/types/alert/alert.types.d.ts +2 -2
- package/dist/types/alert/alert.types.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell-demo/atrio.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell-demo/aurora.d.ts +6 -6
- package/dist/types/app-shell/app-shell-demo/aurora.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell-demo/cadence.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell-parts.d.ts +2 -2
- package/dist/types/app-shell/app-shell.types.d.ts +1 -1
- package/dist/types/app-shell/index.d.ts +2 -2
- package/dist/types/avatar/avatar.types.d.ts +8 -8
- package/dist/types/avatar/avatar.types.d.ts.map +1 -1
- package/dist/types/badge/badge.types.d.ts +4 -4
- package/dist/types/badge/badge.types.d.ts.map +1 -1
- package/dist/types/breadcrumb/breadcrumb-parts.d.ts +1 -1
- package/dist/types/button/button.constants.d.ts +1 -1
- package/dist/types/button-group/button-group-separator.d.ts +1 -1
- package/dist/types/card/card-selection.d.ts +1 -1
- package/dist/types/carousel/carousel-catalogue.d.ts +6 -6
- package/dist/types/carousel/carousel-parts.d.ts +2 -2
- package/dist/types/code-block/code-block.types.d.ts +1 -1
- package/dist/types/collapsible/collapsible.types.d.ts +1 -1
- package/dist/types/color-picker/color-picker.d.ts +7 -7
- package/dist/types/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/color-picker/color-picker.types.d.ts +5 -5
- package/dist/types/color-picker/color-picker.types.d.ts.map +1 -1
- package/dist/types/column-manager/column-manager.d.ts +2 -2
- package/dist/types/column-manager/column-manager.d.ts.map +1 -1
- package/dist/types/combobox/combobox-collection.d.ts +1 -1
- package/dist/types/combobox/combobox-defaults.d.ts +1 -1
- package/dist/types/command-palette/command-palette-defaults.d.ts +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +2 -2
- package/dist/types/description-list/description-list-clipboard.d.ts +1 -1
- package/dist/types/detail-panel/detail-panel-demo.d.ts.map +1 -1
- package/dist/types/dialog/dialog.types.d.ts +1 -1
- package/dist/types/drawer/drawer.types.d.ts +1 -1
- package/dist/types/entity-picker/entity-picker.d.ts +1 -1
- package/dist/types/field/field-parts.d.ts +1 -1
- package/dist/types/field/field.d.ts +1 -1
- package/dist/types/field/field.types.d.ts +1 -1
- package/dist/types/form/form.d.ts +1 -1
- package/dist/types/form/form.types.d.ts +1 -1
- package/dist/types/highlight/highlight.types.d.ts +1 -1
- package/dist/types/icon/glyph.d.ts +1 -1
- package/dist/types/icon/icon.d.ts +2 -2
- package/dist/types/icon/icon.types.d.ts +1 -1
- package/dist/types/icon/icon.types.d.ts.map +1 -1
- package/dist/types/image/image.d.ts +1 -1
- package/dist/types/import-export-center/import-export-center-defaults.d.ts +3 -3
- package/dist/types/import-export-center/import-export-center-demo.d.ts +2 -2
- package/dist/types/import-export-center/import-export-center-demo.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.types.d.ts +3 -3
- package/dist/types/import-export-center/use-job-toasts.d.ts +3 -3
- package/dist/types/inline/inline.d.ts +1 -1
- package/dist/types/inline-message/inline-message-defaults.d.ts +1 -1
- package/dist/types/inline-message/inline-message.d.ts +2 -2
- package/dist/types/inline-message/inline-message.types.d.ts +1 -1
- package/dist/types/inline-message/inline-message.types.d.ts.map +1 -1
- package/dist/types/kbd/kbd.types.d.ts +1 -1
- package/dist/types/list/list.types.d.ts +1 -1
- package/dist/types/listbox/listbox-defaults.d.ts +1 -1
- package/dist/types/listbox/listbox-parts.d.ts +2 -2
- package/dist/types/menu/menu-defaults.d.ts +1 -1
- package/dist/types/menu/menu-parts.d.ts +1 -1
- package/dist/types/message/message-demo.d.ts +2 -2
- package/dist/types/message/message-demo.d.ts.map +1 -1
- package/dist/types/message-scroller/message-scroller.d.ts +1 -1
- package/dist/types/notification-center/notification-center-defaults.d.ts +2 -2
- package/dist/types/notification-center/notification-center-demo.d.ts +1 -1
- package/dist/types/notification-center/notification-center-demo.d.ts.map +1 -1
- package/dist/types/notification-center/notification-center.types.d.ts +2 -2
- package/dist/types/otp-input/otp-input.d.ts +1 -1
- package/dist/types/page/page-demo.d.ts +2 -2
- package/dist/types/page/page-demo.d.ts.map +1 -1
- package/dist/types/progress-indicator/loader.d.ts +1 -1
- package/dist/types/progress-indicator/progress-circle.d.ts +1 -1
- package/dist/types/progress-indicator/progress-indicator.types.d.ts +1 -1
- package/dist/types/rating/rating-summary.d.ts +1 -1
- package/dist/types/rating/rating.types.d.ts +1 -1
- package/dist/types/result-state/result-state-demo.d.ts +1 -1
- package/dist/types/result-state/result-state.types.d.ts +1 -1
- package/dist/types/segmented-control/segmented-control.types.d.ts +1 -1
- package/dist/types/select/select.types.d.ts +1 -1
- package/dist/types/side-navigation/side-navigation.d.ts +1 -1
- package/dist/types/stat-card/stat-card.d.ts +1 -1
- package/dist/types/status-indicator/status-indicator.types.d.ts +3 -3
- package/dist/types/status-indicator/status-indicator.types.d.ts.map +1 -1
- package/dist/types/switch/switch.types.d.ts +1 -1
- package/dist/types/table/table-parts.d.ts +1 -1
- package/dist/types/table/table.types.d.ts +1 -1
- package/dist/types/table-of-contents/table-of-contents-demo.d.ts.map +1 -1
- package/dist/types/tabs/tabs.types.d.ts +2 -2
- package/dist/types/tag/tag.types.d.ts +3 -3
- package/dist/types/tag/tag.types.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.d.ts +1 -1
- package/dist/types/theme/theme-scope.d.ts +2 -2
- package/dist/types/theme/theme-scope.d.ts.map +1 -1
- package/dist/types/toast/toast-defaults.d.ts +1 -1
- package/dist/types/toast/toast.types.d.ts +2 -2
- package/dist/types/toast/toast.types.d.ts.map +1 -1
- package/dist/types/toggle/toggle.types.d.ts +1 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts +1 -1
- package/dist/types/tooltip/tooltip-defaults.d.ts +1 -1
- package/dist/types/tour/tour.types.d.ts +2 -2
- package/dist/types/typography/text.d.ts +1 -1
- package/dist/types/typography/typography.attributes.d.ts +1 -1
- package/dist/types/typography/typography.types.d.ts +1 -1
- package/dist/types/typography/typography.types.d.ts.map +1 -1
- package/dist/{wizard-CpYwQGQ-.js → wizard-CmEJK55_.js} +2 -2
- package/dist/wizard.js +1 -1
- package/package.json +18 -6
|
@@ -77,7 +77,7 @@ export declare function useEntityPicker(): EntityPickerContextValue;
|
|
|
77
77
|
*
|
|
78
78
|
* The value is an id — or, with `selectionMode="multiple"`, an array of ids —
|
|
79
79
|
* and every request to change it carries the records the family knows for
|
|
80
|
-
* the new value (`request.entities`), so the
|
|
80
|
+
* the new value (`request.entities`), so the normalized object reaches the
|
|
81
81
|
* consumer without a second API. The search, the page after it and the
|
|
82
82
|
* resolution of an id nobody has shown the family are `source`'s; the
|
|
83
83
|
* delay, the abort and the cache are the family's, in
|
|
@@ -37,7 +37,7 @@ export declare function FieldControl({ 'aria-describedby': describedBy, 'aria-in
|
|
|
37
37
|
export declare function FieldDescription({ children, mark, tone, ...rest }: FieldMessageProps): import("react").JSX.Element;
|
|
38
38
|
/**
|
|
39
39
|
* What is wrong with the value, in words — which is what WCAG 2.2 SC 3.3.1
|
|
40
|
-
* requires and what
|
|
40
|
+
* requires and what color and a mark alone do not satisfy.
|
|
41
41
|
*
|
|
42
42
|
* `tone` defaults to `danger` and accepts the other four, so a warning that
|
|
43
43
|
* does not block submission is the same part in another tone rather than a
|
|
@@ -15,7 +15,7 @@ import type { FieldProps } from './field.types';
|
|
|
15
15
|
* dependency between siblings and nothing to coordinate during hydration.
|
|
16
16
|
*
|
|
17
17
|
* **`aria-required`, never the native `required`.** The native attribute
|
|
18
|
-
* engages browser constraint validation and changes submit
|
|
18
|
+
* engages browser constraint validation and changes submit behavior, which the
|
|
19
19
|
* library must not impose as a side effect of describing a field. A consumer
|
|
20
20
|
* who wants it writes it on the control, and it survives: an explicit value on
|
|
21
21
|
* the control always wins.
|
|
@@ -158,7 +158,7 @@ export interface FieldProps extends Omit<ComponentPropsWithRef<'div'>, 'children
|
|
|
158
158
|
/**
|
|
159
159
|
* Unstated rather than `false`. Writes `aria-required` on the control and
|
|
160
160
|
* never the native `required`, which would engage browser constraint
|
|
161
|
-
* validation and change submit
|
|
161
|
+
* validation and change submit behavior.
|
|
162
162
|
*/
|
|
163
163
|
required?: boolean | undefined;
|
|
164
164
|
/** Renders the field into another element. */
|
|
@@ -5,7 +5,7 @@ import type { FormErrorInput, FormProps } from './form.types';
|
|
|
5
5
|
*
|
|
6
6
|
* **It owns the errors and nothing else.** `docs/component-features.md` § 6 puts
|
|
7
7
|
* the boundary there: the family coordinates submission, validation, global
|
|
8
|
-
* messages and focus "
|
|
8
|
+
* messages and focus "without owning the state of each framework". Values come from
|
|
9
9
|
* `FormData`, validity from `checkValidity()`, dirtiness from the controls' own
|
|
10
10
|
* `input` events, and the values themselves stay with the consumer.
|
|
11
11
|
*
|
|
@@ -7,7 +7,7 @@ export type { FormErrorEntry, FormErrorInput, FormErrors };
|
|
|
7
7
|
* When the form checks its own controls.
|
|
8
8
|
*
|
|
9
9
|
* `submit` is the default and re-validates on every change afterwards, which is
|
|
10
|
-
* the
|
|
10
|
+
* the behavior the surveyed field converged on: telling a reader an answer is
|
|
11
11
|
* wrong before they have finished writing it is noise, and telling them nothing
|
|
12
12
|
* after they have fixed it is worse.
|
|
13
13
|
*/
|
|
@@ -36,7 +36,7 @@ export interface HighlightProps extends Omit<ComponentPropsWithRef<'span'>, 'chi
|
|
|
36
36
|
query?: string | readonly string[] | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* Spans already found — by a server, by a fuzzy engine — in the text's own
|
|
39
|
-
* code units. Wins over `query` and `matcher`;
|
|
39
|
+
* code units. Wins over `query` and `matcher`; normalized like either.
|
|
40
40
|
*/
|
|
41
41
|
ranges?: readonly HighlightRange[] | undefined;
|
|
42
42
|
/** Replaces the default matcher. Loses to `ranges`. */
|
|
@@ -2,7 +2,7 @@ import type { GlyphProps } from './icon.types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Glyph is the library's own artwork, drawn as a real `<svg>`: the Lucide
|
|
4
4
|
* geometry `@slotted/core/glyph` holds, stroked or filled with `currentColor`.
|
|
5
|
-
* It goes inside an `Icon`, which owns the size, the
|
|
5
|
+
* It goes inside an `Icon`, which owns the size, the color, the alignment and
|
|
6
6
|
* the name; the glyph owns only the drawing. Every family draws its own icons
|
|
7
7
|
* — a close button's cross, a pager's chevrons — with this element, and never
|
|
8
8
|
* with a pseudo-element or a mask of its own.
|
|
@@ -4,12 +4,12 @@ import type { IconProps } from './icon.types';
|
|
|
4
4
|
* Icon is the box a glyph is drawn in, not the glyph. The library ships no
|
|
5
5
|
* catalogue: the artwork is the consumer's — a Lucide component, an inline
|
|
6
6
|
* `svg`, anything that renders one — and this family owns the size it is drawn
|
|
7
|
-
* at, the
|
|
7
|
+
* at, the color it inherits, where it sits against a line of text, and
|
|
8
8
|
* whether it mirrors where reading runs the other way.
|
|
9
9
|
*
|
|
10
10
|
* An axis reaches the stylesheet only when someone decided it; the base rule
|
|
11
11
|
* already paints the default size, and `tone: 'inherit'` is the absence of a
|
|
12
|
-
*
|
|
12
|
+
* color rather than a color of its own.
|
|
13
13
|
*/
|
|
14
14
|
export declare function Icon({ directional, label, size, tone, ...nativeProps }: IconProps): import("react").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -21,7 +21,7 @@ export interface IconProps extends ComponentPropsWithRef<'span'> {
|
|
|
21
21
|
*/
|
|
22
22
|
label?: string | undefined;
|
|
23
23
|
size?: IconSize | undefined;
|
|
24
|
-
/** `inherit` takes the
|
|
24
|
+
/** `inherit` takes the color of whatever contains the icon. */
|
|
25
25
|
tone?: IconTone | undefined;
|
|
26
26
|
}
|
|
27
27
|
export interface GlyphProps extends Omit<ComponentPropsWithRef<'svg'>, 'children'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.types.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnD,MAAM,MAAM,QAAQ,GAChB,SAAS,GACT,SAAS,GACT,OAAO,GACP,QAAQ,GACR,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,WAAW,SAAU,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IAC9D;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B
|
|
1
|
+
{"version":3,"file":"icon.types.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnD,MAAM,MAAM,QAAQ,GAChB,SAAS,GACT,SAAS,GACT,OAAO,GACP,QAAQ,GACR,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,WAAW,SAAU,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IAC9D;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,+DAA+D;IAC/D,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAChF,iFAAiF;IACjF,IAAI,EAAE,SAAS,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B"}
|
|
@@ -11,7 +11,7 @@ import type { ImageProps } from './image.types';
|
|
|
11
11
|
* Nothing is reserved without a decision: `width` and `height` on the
|
|
12
12
|
* element, or `ratio` on the root, are the two ways to decide, and both hold
|
|
13
13
|
* the box before the first byte. A root with neither has no height until the
|
|
14
|
-
* picture reports, which is the platform's own
|
|
14
|
+
* picture reports, which is the platform's own behavior.
|
|
15
15
|
*
|
|
16
16
|
* `status` is the one value the family derives, and a load event is a fact
|
|
17
17
|
* rather than a request: there is nothing to cancel, and the closed reason
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ImportExportCenterDefaults, ImportExportCenterDefaultsProviderProps } from './import-export-center.types';
|
|
2
|
-
/** What a job
|
|
2
|
+
/** What a job center renders as here, before it states anything of its own. */
|
|
3
3
|
export declare function useImportExportCenterDefaults(): ImportExportCenterDefaults;
|
|
4
4
|
/**
|
|
5
|
-
* An application decides once how its job
|
|
5
|
+
* An application decides once how its job center reads — the size, the rank,
|
|
6
6
|
* how history loads, how time is written and in which zone — rather than on
|
|
7
|
-
* every screen. A
|
|
7
|
+
* every screen. A center that states any of them still wins. Its words and the
|
|
8
8
|
* locale come from the language in force (`SlottedProvider`).
|
|
9
9
|
*/
|
|
10
10
|
export declare function ImportExportCenterDefaultsProvider({ children, ...defaults }: ImportExportCenterDefaultsProviderProps): import("react").JSX.Element;
|
|
@@ -17,14 +17,14 @@ export interface JobStore {
|
|
|
17
17
|
update: (key: string, patch: Partial<ImportExportJob>) => void;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* A store that answers every request the
|
|
20
|
+
* A store that answers every request the center makes, and a server that
|
|
21
21
|
* moves the running job forward: a real application's store answers the
|
|
22
22
|
* same requests against its own API.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useJobStore(seed?: readonly ImportExportJob[], { live }?: {
|
|
25
25
|
live?: boolean;
|
|
26
26
|
}): JobStore;
|
|
27
|
-
/** The
|
|
27
|
+
/** The center over a store: every request answered, the way an application wires it. */
|
|
28
28
|
export declare function Jobs({ seed, live, ...props }: Partial<ImportExportCenterProps> & {
|
|
29
29
|
seed?: readonly ImportExportJob[];
|
|
30
30
|
live?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-export-center-demo.d.ts","sourceRoot":"","sources":["../../../src/import-export-center/import-export-center-demo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAI1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,GAAG,QAAqC,CAAC;AAItD,eAAO,MAAM,IAAI,EAAE,SAAS,eAAe,EAoF1C,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,SAAS,EAAE,SAAS,eAAe,
|
|
1
|
+
{"version":3,"file":"import-export-center-demo.d.ts","sourceRoot":"","sources":["../../../src/import-export-center/import-export-center-demo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAI1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,GAAG,QAAqC,CAAC;AAItD,eAAO,MAAM,IAAI,EAAE,SAAS,eAAe,EAoF1C,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,SAAS,EAAE,SAAS,eAAe,EAgD/C,CAAC;AAEF,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,eAAe,EAAE,CAAC;IACjC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C,GAAG,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IACpC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;CAChE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,IAAI,GAAE,SAAS,eAAe,EAAS,EACvC,EAAE,IAAW,EAAE,GAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,QAAQ,CAoEV;AAED,wFAAwF;AACxF,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,+BAc1F"}
|
|
@@ -77,12 +77,12 @@ export interface ImportExportCenterProps extends Omit<ComponentPropsWithRef<'sec
|
|
|
77
77
|
views?: readonly ImportExportView[] | undefined;
|
|
78
78
|
/** The view in use, controlled. */
|
|
79
79
|
view?: string | undefined;
|
|
80
|
-
/** The view an uncontrolled
|
|
80
|
+
/** The view an uncontrolled center starts on, read once. */
|
|
81
81
|
defaultView?: string | undefined;
|
|
82
82
|
onViewChange?: ((view: string, request: ChangeRequest<string>) => void) | undefined;
|
|
83
83
|
/** The keys whose details are shown, controlled. */
|
|
84
84
|
expanded?: readonly string[] | undefined;
|
|
85
|
-
/** The keys an uncontrolled
|
|
85
|
+
/** The keys an uncontrolled center starts with shown, read once. */
|
|
86
86
|
defaultExpanded?: readonly string[] | undefined;
|
|
87
87
|
onExpandedChange?: ((keys: readonly string[], request: ChangeRequest<readonly string[]>) => void) | undefined;
|
|
88
88
|
onCancel?: ((key: string, request: ImportExportRequest<ImportExportPressReason>) => void) | undefined;
|
|
@@ -122,7 +122,7 @@ export interface ImportExportCenterProps extends Omit<ComponentPropsWithRef<'sec
|
|
|
122
122
|
export interface UseJobToastsOptions {
|
|
123
123
|
/** The toaster the notices go to; the shared `toast` when absent. */
|
|
124
124
|
toaster?: Toaster | undefined;
|
|
125
|
-
/** What View does: navigate to the
|
|
125
|
+
/** What View does: navigate to the center, then call its `reveal(key)`. */
|
|
126
126
|
onView?: ((key: string) => void) | undefined;
|
|
127
127
|
/** Words laid over the catalog of the language in force: the announcement and View. */
|
|
128
128
|
messages?: PartialMessages<ImportExportCenterMessages> | undefined;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { ImportExportJob } from '@slotted/core/import-export-center';
|
|
2
2
|
import type { UseJobToastsOptions } from './import-export-center.types';
|
|
3
3
|
/**
|
|
4
|
-
* A toast that points at a job, for a page that is not the
|
|
4
|
+
* A toast that points at a job, for a page that is not the center: the job
|
|
5
5
|
* started, finished, finished with failed rows, failed. It is mounted once,
|
|
6
6
|
* where the application keeps its jobs — the shell — so the reader hears of a
|
|
7
7
|
* job that finishes while they work elsewhere.
|
|
8
8
|
*
|
|
9
9
|
* The toast only points. It carries no progress, no cancel and no download;
|
|
10
10
|
* its one action is View, which calls `onView(key)`, and the consumer takes
|
|
11
|
-
* the reader to the
|
|
11
|
+
* the reader to the center and calls its `reveal(key)`. Its id is the job's
|
|
12
12
|
* key under `import-export-center:`, so the finishing notice replaces the
|
|
13
13
|
* starting one in place rather than stacking beside it. Its announcement is
|
|
14
|
-
* the sentence the
|
|
14
|
+
* the sentence the center says for the same transition, which the shared
|
|
15
15
|
* announcer does not repeat when both are mounted.
|
|
16
16
|
*
|
|
17
17
|
* The jobs present on the first render made no move the reader saw, and get
|
|
@@ -7,7 +7,7 @@ import type { InlineProps } from './inline.types';
|
|
|
7
7
|
* consumer makes through `render`.
|
|
8
8
|
*
|
|
9
9
|
* An axis reaches the stylesheet only when someone decided it. The base rule
|
|
10
|
-
* already carries the family defaults — wrapping,
|
|
10
|
+
* already carries the family defaults — wrapping, centerd, separated by half a
|
|
11
11
|
* rem — and a layout is the most numerous element in a document.
|
|
12
12
|
*
|
|
13
13
|
* There is no axis that reverses the children. The order they are written in is
|
|
@@ -3,7 +3,7 @@ import type { InlineMessageDefaults, InlineMessageDefaultsProviderProps, InlineM
|
|
|
3
3
|
* The word a reader hears before the message, per tone.
|
|
4
4
|
*
|
|
5
5
|
* GOV.UK's Error message component publishes the idea and hard-codes the word;
|
|
6
|
-
* this table
|
|
6
|
+
* this table generalizes it to every tone that is a severity and puts it behind
|
|
7
7
|
* the provider below, which is the only translation surface this library has
|
|
8
8
|
* today. `accent`, `secondary` and `info` carry none: information and help announce
|
|
9
9
|
* themselves by their sentence, and a reader told “Information:” before every
|
|
@@ -10,11 +10,11 @@ export declare function InlineMessageActions({ children, ...nativeProps }: Inlin
|
|
|
10
10
|
* One sentence about one field or one control; a message about a section is
|
|
11
11
|
* an alert. Help, an error, a warning, a confirmation, or a wait.
|
|
12
12
|
*
|
|
13
|
-
* **The severity is a word as well as a
|
|
13
|
+
* **The severity is a word as well as a color.** A reader who cannot see the
|
|
14
14
|
* message hears the sentence and nothing else — neither the red ink nor the
|
|
15
15
|
* crossed circle reaches the accessibility tree — so the family writes the
|
|
16
16
|
* severity in clipped text before the message, which is GOV.UK's answer
|
|
17
|
-
*
|
|
17
|
+
* generalized to every tone and to a table an application replaces once.
|
|
18
18
|
*
|
|
19
19
|
* **The role goes on this element, not on an inner one.** `Alert` puts its live
|
|
20
20
|
* role on the text part because it has a dismiss button beside the text, and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
/** Which of the five semantic
|
|
2
|
+
/** Which of the five semantic colors the message speaks in. */
|
|
3
3
|
export type InlineMessageTone = 'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
4
4
|
/**
|
|
5
5
|
* The type step the message sits at. `sm` sits beside a compact field; `md`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-message.types.d.ts","sourceRoot":"","sources":["../../../src/inline-message/inline-message.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D
|
|
1
|
+
{"version":3,"file":"inline-message.types.d.ts","sourceRoot":"","sources":["../../../src/inline-message/inline-message.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,+DAA+D;AAC/D,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEnG;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;AAEzD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;AAE7E,gEAAgE;AAChE,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,MAAM,WAAW,kCAAmC,SAAQ,OAAO,CACjE,IAAI,CAAC,qBAAqB,EAAE,UAAU,CAAC,CACxC;IACC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;CACvD;AAED,wDAAwD;AACxD,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAErE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB,CAAC,GAAG,CAAC;IACxE,WAAW,EAAE,iBAAiB,CAAC;IAC/B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAC9C,qBAAqB,CAAC,GAAG,CAAC,EAC1B,UAAU,GAAG,QAAQ,CACtB;IACC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,iEAAiE;IACjE,IAAI,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACrC,8CAA8C;IAC9C,IAAI,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACrC,+CAA+C;IAC/C,IAAI,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,yEAAyE;IACzE,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,8EAA8E;IAC9E,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,sBAAsB,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC;CACrE"}
|
|
@@ -11,7 +11,7 @@ export type KbdSize = 'xs' | 'sm' | 'md' | 'lg' | 'inherit';
|
|
|
11
11
|
/**
|
|
12
12
|
* `raised` is the only value that looks like a key. `outline` owns no ground,
|
|
13
13
|
* so it carries over any surface. `soft` is the tinted chip. `plain` is the
|
|
14
|
-
* menu-row form, and it takes the
|
|
14
|
+
* menu-row form, and it takes the color of the text it sits in.
|
|
15
15
|
*/
|
|
16
16
|
export type KbdVariant = 'raised' | 'outline' | 'soft' | 'plain';
|
|
17
17
|
/** What an application sets once for every key under it. */
|
|
@@ -84,7 +84,7 @@ export interface ListSectionProps extends Omit<ComponentPropsWithRef<'li'>, 'chi
|
|
|
84
84
|
label: ReactNode;
|
|
85
85
|
/**
|
|
86
86
|
* How the heading is drawn. `caption` is the small muted name; `ruled` is the
|
|
87
|
-
* name in the text
|
|
87
|
+
* name in the text color over a rule, with no ground behind it. Defaults to
|
|
88
88
|
* `caption`.
|
|
89
89
|
*/
|
|
90
90
|
labelVariant?: ListSectionLabelVariant | undefined;
|
|
@@ -8,7 +8,7 @@ export declare function useListboxDefaults(): ListboxDefaults;
|
|
|
8
8
|
*
|
|
9
9
|
* Two of the four surveyed component implementations have no answer to this at
|
|
10
10
|
* all, so an application using them repeats `shouldFocusWrap` and
|
|
11
|
-
* `disallowEmptySelection` at every call site or lives with two
|
|
11
|
+
* `disallowEmptySelection` at every call site or lives with two behaviors.
|
|
12
12
|
*/
|
|
13
13
|
export declare function ListboxDefaultsProvider({ children, ...defaults }: ListboxDefaultsProviderProps): import("react").JSX.Element;
|
|
14
14
|
//# sourceMappingURL=listbox-defaults.d.ts.map
|
|
@@ -20,7 +20,7 @@ export declare function ListboxOption({ children, disabled, onClick, onPointerDo
|
|
|
20
20
|
* A group of options, named by its own label. The pattern requires the name —
|
|
21
21
|
* "each option group has an accessible name provided via aria-label or
|
|
22
22
|
* aria-labelledby" — and requires the group to hold at least one option, which
|
|
23
|
-
* is the consumer's to
|
|
23
|
+
* is the consumer's to honor.
|
|
24
24
|
*/
|
|
25
25
|
export declare function ListboxGroup({ children, label, labelProps, render, ...nativeProps }: ListboxGroupProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
26
26
|
/**
|
|
@@ -50,7 +50,7 @@ export declare function ListboxIndicator({ children, ...nativeProps }: ListboxPa
|
|
|
50
50
|
/**
|
|
51
51
|
* The option's own artwork, in the same column the mark uses and never beside
|
|
52
52
|
* it: an `Icon` holding a `Glyph`, or an element of the consumer's own. The
|
|
53
|
-
* column sizes and
|
|
53
|
+
* column sizes and centers it; no stylesheet fills it.
|
|
54
54
|
*/
|
|
55
55
|
export declare function ListboxIcon({ children, ...nativeProps }: ListboxPartProps): import("react").JSX.Element;
|
|
56
56
|
/** The option's primary text, and the only column that gives way. */
|
|
@@ -4,7 +4,7 @@ import type { MenuDefaults, MenuDefaultsProviderProps } from './menu.types';
|
|
|
4
4
|
*
|
|
5
5
|
* `side` and `align` put the surface under the start edge of its own button,
|
|
6
6
|
* where the button's text and the items' labels share one edge; `popover`
|
|
7
|
-
*
|
|
7
|
+
* centers, because it points at something instead of hanging from it.
|
|
8
8
|
*
|
|
9
9
|
* `submenuOpenDelay` is a hundred and fifty milliseconds (M2): short enough
|
|
10
10
|
* that a deliberate hover is answered before the reader presses, long enough
|
|
@@ -4,7 +4,7 @@ export declare const ITEM_SELECTOR = "[data-part='item']";
|
|
|
4
4
|
/**
|
|
5
5
|
* The control that opens the surface.
|
|
6
6
|
*
|
|
7
|
-
* It renders three different elements and holds one
|
|
7
|
+
* It renders three different elements and holds one behavior. On its own it is
|
|
8
8
|
* the consumer's control, given through `render`; on a bar it is the bar's own
|
|
9
9
|
* `menuitem`; inside another menu's surface it is an item of that surface, with
|
|
10
10
|
* `aria-haspopup` and a chevron at the end that points along the reading
|
|
@@ -6,7 +6,7 @@ import type { MessageProps, MessageStatus } from './index';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const MARTA = "Marta Silva";
|
|
8
8
|
export declare const ASSISTANT = "Assistente";
|
|
9
|
-
export declare const LONG_ANSWER = "
|
|
9
|
+
export declare const LONG_ANSWER = "Checkout slowed down at 21:40 because the connection pool hit its ceiling and every new request queued behind one that was already running. The payments worker had replayed a batch of 1200 webhooks after a processor timeout, and each replay opened its own connection. We raised the pool to 60 and capped the worker at 8 simultaneous deliveries; p95 went back below 400 ms four minutes later.";
|
|
10
10
|
export declare const DRAFTS: string[];
|
|
11
11
|
/** Rows of a conversation take the whole width of the column they stand in. */
|
|
12
12
|
export declare function Stack({ children }: {
|
|
@@ -26,7 +26,7 @@ export declare function Mine({ children, status, time, ...props }: Omit<MessageP
|
|
|
26
26
|
}): import("react").JSX.Element;
|
|
27
27
|
/** The actions an assistant's reply carries. */
|
|
28
28
|
export declare function ReplyActions(): import("react").JSX.Element;
|
|
29
|
-
export declare const STREAM = "
|
|
29
|
+
export declare const STREAM = "The tax service started repeating every confirmation at 14:05, twice at 400 ms each, so the p95 of POST /api/checkout/confirm went from 240 ms to 3.1 s.\n\nThe database was never the bottleneck: connections stayed below 40% throughout the incident. I turned off the retries in the service client and p95 went back to 260 ms within two minutes.";
|
|
30
30
|
/** The text of `STREAM` received so far, arriving in bursts, and a way to start again. */
|
|
31
31
|
export declare function useSimulatedStream(text?: string): {
|
|
32
32
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-demo.d.ts","sourceRoot":"","sources":["../../../src/message/message-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBvC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,KAAK,gBAAgB,CAAC;AACnC,eAAO,MAAM,SAAS,eAAe,CAAC;AAEtC,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"message-demo.d.ts","sourceRoot":"","sources":["../../../src/message/message-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBvC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,KAAK,gBAAgB,CAAC;AACnC,eAAO,MAAM,SAAS,eAAe,CAAC;AAEtC,eAAO,MAAM,WAAW,4YACmX,CAAC;AAE5Y,eAAO,MAAM,MAAM,UAIlB,CAAC;AAEF,+EAA+E;AAC/E,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAM1D;AAED,gEAAgE;AAChE,wBAAgB,MAAM,CAAC,EACrB,MAAa,EACb,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BAsB3F;AAED,iFAAiF;AACjF,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,MAAe,EACf,IAAc,EACd,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,GAAG,QAAQ,CAAC,GAAG;IAC7C,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,+BAkBA;AAED,gDAAgD;AAChD,wBAAgB,YAAY,gCAe3B;AAED,eAAO,MAAM,MAAM,4VACwU,CAAC;AAU5V,0FAA0F;AAC1F,wBAAgB,kBAAkB,CAAC,IAAI,GAAE,MAAe;;;;EAuBvD"}
|
|
@@ -11,7 +11,7 @@ export declare function useMessageScroller(): MessageScrollerContextValue;
|
|
|
11
11
|
* bounded; the viewport inside it scrolls and the jump control stands over
|
|
12
12
|
* it.
|
|
13
13
|
*
|
|
14
|
-
* The
|
|
14
|
+
* The behavior is `@slotted/core/message-scroller`: where a saved
|
|
15
15
|
* conversation opens (`defaultPosition`), whether new words pull the view
|
|
16
16
|
* (`follow`), where a turn the reader sends stands (`anchor` on the item,
|
|
17
17
|
* `peek`, `scrollMargin`), older rows arriving above without moving the
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { NotificationCenterDefaults, NotificationCenterDefaultsProviderProps } from './notification-center.types';
|
|
2
|
-
/** What a notification
|
|
2
|
+
/** What a notification center renders as here, before it states anything of its own. */
|
|
3
3
|
export declare function useNotificationCenterDefaults(): NotificationCenterDefaults;
|
|
4
4
|
/**
|
|
5
5
|
* An application decides once how its notifications read — the size, the
|
|
6
6
|
* rank, how more loads, whether arrivals are held, how time is written, the
|
|
7
|
-
* time zone — rather than repeating them on every screen. A
|
|
7
|
+
* time zone — rather than repeating them on every screen. A center that states
|
|
8
8
|
* any of them itself still wins. Its words and locale come from the language
|
|
9
9
|
* in force (`SlottedProvider`).
|
|
10
10
|
*/
|
|
@@ -21,7 +21,7 @@ export declare function useNotificationStore(initial?: readonly NotificationItem
|
|
|
21
21
|
reset: () => void;
|
|
22
22
|
setItems: import("react").Dispatch<import("react").SetStateAction<readonly NotificationItem[]>>;
|
|
23
23
|
};
|
|
24
|
-
/** The
|
|
24
|
+
/** The center over the store, for the pages that vary one axis. */
|
|
25
25
|
export declare function Inbox({ initial, ...props }: Partial<NotificationCenterProps> & {
|
|
26
26
|
initial?: readonly NotificationItem[];
|
|
27
27
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-center-demo.d.ts","sourceRoot":"","sources":["../../../src/notification-center/notification-center-demo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EACV,uBAAuB,EACvB,4BAA4B,EAC5B,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC,qEAAqE;AACrE,eAAO,MAAM,GAAG,QAAqC,CAAC;AAMtD,mEAAmE;AACnE,eAAO,MAAM,aAAa,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"notification-center-demo.d.ts","sourceRoot":"","sources":["../../../src/notification-center/notification-center-demo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EACV,uBAAuB,EACvB,4BAA4B,EAC5B,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC,qEAAqE;AACrE,eAAO,MAAM,GAAG,QAAqC,CAAC;AAMtD,mEAAmE;AACnE,eAAO,MAAM,aAAa,EAAE,gBAAgB,EAmD3C,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,KAAK,EAAE,gBAAgB,EAenC,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,QAAQ,EAAE,gBAAgB,EAiBtC,CAAC;AAEF,6DAA6D;AAC7D,wBAAgB,KAAK,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAEpD;AAED,wEAAwE;AACxE,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,SAAS,gBAAgB,EAAkB;;;;;mCAKrC,4BAA4B;oBAK3C,MAAM;;;EAwB1C;AAED,mEAAmE;AACnE,wBAAgB,KAAK,CAAC,EACpB,OAAO,EACP,GAAG,KAAK,EACT,EAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAA;CAAE,+BAc9E;AAED,gEAAgE;AAChE,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAE1D"}
|
|
@@ -67,7 +67,7 @@ export interface NotificationView {
|
|
|
67
67
|
/** A count drawn as a chip after the label. */
|
|
68
68
|
count?: number | undefined;
|
|
69
69
|
}
|
|
70
|
-
/** What an application sets once for every
|
|
70
|
+
/** What an application sets once for every center under it. */
|
|
71
71
|
export interface NotificationCenterDefaults {
|
|
72
72
|
arrivals: NotificationCenterArrivals;
|
|
73
73
|
controls: NotificationCenterControls;
|
|
@@ -135,7 +135,7 @@ export interface NotificationCenterProps extends Omit<ComponentPropsWithRef<'sec
|
|
|
135
135
|
* number under `growing="none"` and `-1` while more may come.
|
|
136
136
|
*/
|
|
137
137
|
count?: number | undefined;
|
|
138
|
-
/** The view an uncontrolled
|
|
138
|
+
/** The view an uncontrolled center starts on, read once. */
|
|
139
139
|
defaultView?: string | undefined;
|
|
140
140
|
/** In place of the feed when it holds nothing: a `ResultState`. Unstated, the family's words. */
|
|
141
141
|
empty?: ReactNode | undefined;
|
|
@@ -17,7 +17,7 @@ import type { OtpInputProps } from './otp-input.types';
|
|
|
17
17
|
* `defaultValue` reaches it as the native attribute, `form.reset()` restores
|
|
18
18
|
* it, and the copy follows.
|
|
19
19
|
*
|
|
20
|
-
* **The selection is
|
|
20
|
+
* **The selection is normalized, not the keys.** Every key is the browser's.
|
|
21
21
|
* After each change the family makes sure a cursor inside the value has one
|
|
22
22
|
* character selected, so typing replaces it instead of being refused by
|
|
23
23
|
* `maxlength` — the rule `@slotted/core/otp` holds and input-otp wrote.
|
|
@@ -27,7 +27,7 @@ export declare const ORDER: {
|
|
|
27
27
|
supplier: string;
|
|
28
28
|
document: string;
|
|
29
29
|
buyer: string;
|
|
30
|
-
|
|
30
|
+
costCenter: string;
|
|
31
31
|
delivery: string;
|
|
32
32
|
terms: string;
|
|
33
33
|
status: string;
|
|
@@ -35,7 +35,7 @@ export declare const ORDER: {
|
|
|
35
35
|
description: string;
|
|
36
36
|
};
|
|
37
37
|
export declare const LINES: OrderLine[];
|
|
38
|
-
export declare const HISTORY: readonly [readonly ["02/
|
|
38
|
+
export declare const HISTORY: readonly [readonly ["09/02/2026 09:14", "Maria Duncan", "Requested approval with three quotes attached."], readonly ["09/03/2026 11:02", "Charles Prescott", "Approved the budget within the management approval limit."], readonly ["09/04/2026 16:40", "Legal", "Returned with reservations about the price adjustment clause."], readonly ["09/05/2026 10:21", "Maria Duncan", "Resubmitted with the clause corrected by the supplier."], readonly ["09/08/2026 08:55", "Charles Prescott", "Approved the corrected version."], readonly ["09/09/2026 14:30", "Finance", "Reserved the amount in the cost center budget."], readonly ["09/10/2026 09:00", "System", "Awaiting issuance of the purchase order."]];
|
|
39
39
|
export declare const RECORDS: string[];
|
|
40
40
|
/** The header of the order, with every part written, in the state the story asks for. */
|
|
41
41
|
export declare function OrderHeader({ actions, breadcrumbs, controls, figure, marks, navigation, pin, progress, record, tabs, visual, ...props }: Partial<PageHeaderProps> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-demo.d.ts","sourceRoot":"","sources":["../../../src/page/page-demo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyCvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA4BtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,IAAe,GAChB,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;CACtC,+BAMA;AAID,6FAA6F;AAC7F,eAAO,MAAM,IAAI,qVACmU,CAAC;AAErV,eAAO,MAAM,KAAK,mBAAyE,CAAC;AAE5F,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;CAYjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,SAAS,EAiB3B,CAAC;AAEH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"page-demo.d.ts","sourceRoot":"","sources":["../../../src/page/page-demo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyCvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA4BtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,IAAe,GAChB,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;CACtC,+BAMA;AAID,6FAA6F;AAC7F,eAAO,MAAM,IAAI,qVACmU,CAAC;AAErV,eAAO,MAAM,KAAK,mBAAyE,CAAC;AAE5F,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;CAYjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,SAAS,EAiB3B,CAAC;AAEH,eAAO,MAAM,OAAO,qrBAYV,CAAC;AAEX,eAAO,MAAM,OAAO,UAA2E,CAAC;AAEhG,yFAAyF;AACzF,wBAAgB,WAAW,CAAC,EAC1B,OAAgB,EAChB,WAAkB,EAClB,QAAe,EACf,MAAc,EACd,KAAY,EACZ,UAAiB,EACjB,GAAU,EACV,QAAQ,EACR,MAAiB,EACjB,IAAW,EACX,MAAe,EACf,GAAG,KAAK,EACT,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,iGAAiG;IACjG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,iHAAiH;IACjH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,CAAC;CAChD,+BA6HA;AAED,uDAAuD;AACvD,wBAAgB,UAAU,gCAqBzB;AAED,+EAA+E;AAC/E;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAe,EACf,IAAY,EACZ,MAAc,GACf,EAAE;IACD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,+BAqCA;AAED,0DAA0D;AAC1D,wBAAgB,aAAa,CAAC,EAC5B,OAAe,EACf,MAAe,EACf,MAAc,GACf,EAAE;IACD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,+BAiFA;AAED,iEAAiE;AACjE,wBAAgB,WAAW,gCAQ1B;AAED,sGAAsG;AACtG,wBAAgB,WAAW,CAAC,EAC1B,MAAa,EACb,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,MAAc,GACf,EAAE;IACD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,+BAWA;AAED,kEAAkE;AAClE,wBAAgB,SAAS,gCAyBxB"}
|
|
@@ -16,7 +16,7 @@ import type { LoaderProps } from './progress-indicator.types';
|
|
|
16
16
|
* already has two shapes that report a number.
|
|
17
17
|
*
|
|
18
18
|
* `contained` draws M3's fully rounded container behind the shape, at M3's own
|
|
19
|
-
* 38:48 ratio. It is the form to reach for on a photograph or a
|
|
19
|
+
* 38:48 ratio. It is the form to reach for on a photograph or a colored
|
|
20
20
|
* surface, where a bare shape has no ground to be seen against.
|
|
21
21
|
*/
|
|
22
22
|
export declare function Loader({ 'aria-hidden': ariaHidden, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, contained, decorative, delay, hideLabel, label, loading, minDuration, onWithdraw, render, size, tone, ...nativeProps }: LoaderProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
@@ -14,7 +14,7 @@ import type { ProgressCircleProps } from './progress-indicator.types';
|
|
|
14
14
|
*
|
|
15
15
|
* The number sits beside the ring rather than inside it: the largest ring this
|
|
16
16
|
* family draws is 38 pixels across with a 4.75-pixel stroke, which leaves 28
|
|
17
|
-
* pixels of hole, and a percentage
|
|
17
|
+
* pixels of hole, and a percentage centerd in it would be four-pixel type. Ant
|
|
18
18
|
* Design and MUI both put it inside because both draw rings twice this size.
|
|
19
19
|
*
|
|
20
20
|
* With `wave` the indicator is M3's wavy ring from `@slotted/core/progress`
|
|
@@ -28,7 +28,7 @@ export interface ProgressIndicatorDefaultsProviderProps extends ProgressIndicato
|
|
|
28
28
|
/** What all three components share. */
|
|
29
29
|
interface ProgressCommonProps {
|
|
30
30
|
/**
|
|
31
|
-
* Whether the wait is still on. `false` withdraws the indicator,
|
|
31
|
+
* Whether the wait is still on. `false` withdraws the indicator, honoring
|
|
32
32
|
* `minDuration`.
|
|
33
33
|
*/
|
|
34
34
|
loading?: boolean;
|
|
@@ -8,7 +8,7 @@ import type { RatingSummaryProps } from './rating.types';
|
|
|
8
8
|
* scale beside it, the stars that draw it and the count, then one bar per
|
|
9
9
|
* level, highest first, each the level's share of the total. `spectrum` reads
|
|
10
10
|
* the same counts as a histogram on the axis of the scale, lowest first, with
|
|
11
|
-
* the mean, its 95% interval and the one conclusion `
|
|
11
|
+
* the mean, its 95% interval and the one conclusion `summarizeRatings` draws:
|
|
12
12
|
* divided, too few, a consensus, or mixed.
|
|
13
13
|
*
|
|
14
14
|
* With `filterable`, each level is a `button` with `aria-pressed`, disabled
|
|
@@ -5,7 +5,7 @@ import type { ComponentPropsWithRef, HTMLAttributes, ReactNode, Ref } from 'reac
|
|
|
5
5
|
/** The step the symbols and the text beside them sit at. */
|
|
6
6
|
export type RatingSize = 'sm' | 'md' | 'lg';
|
|
7
7
|
/**
|
|
8
|
-
* The
|
|
8
|
+
* The color a lit symbol takes. `secondary` is not among them: its solid step
|
|
9
9
|
* is a ground, and a star lit in it reads as an unlit one.
|
|
10
10
|
*/
|
|
11
11
|
export type RatingTone = 'accent' | 'info' | 'success' | 'warning' | 'danger';
|
|
@@ -30,7 +30,7 @@ export declare function Panel({ children }: {
|
|
|
30
30
|
}): import("react").JSX.Element;
|
|
31
31
|
/**
|
|
32
32
|
* Artwork a page might supply instead of the status's own mark, for the one
|
|
33
|
-
* demonstration about that. Every
|
|
33
|
+
* demonstration about that. Every color in it is a foundation token, so it
|
|
34
34
|
* follows the scheme the way the family does.
|
|
35
35
|
*/
|
|
36
36
|
export declare function BoardIllustration(): import("react").JSX.Element;
|
|
@@ -17,7 +17,7 @@ export type ResultStateStatus = 'empty' | 'no-results' | 'not-found' | 'error' |
|
|
|
17
17
|
* be drawn large or small, which is not the choice a consumer is making.
|
|
18
18
|
*/
|
|
19
19
|
export type ResultStateReach = 'inline' | 'section' | 'page';
|
|
20
|
-
/** Whether the region reads
|
|
20
|
+
/** Whether the region reads centerd or from the inline edge. */
|
|
21
21
|
export type ResultStateAlign = 'center' | 'start';
|
|
22
22
|
/**
|
|
23
23
|
* The picture the family draws around the page's glyph: a framed tile, three
|
|
@@ -12,7 +12,7 @@ export type SegmentedControlOrientation = 'horizontal' | 'vertical';
|
|
|
12
12
|
export type SegmentedControlCondense = 'none' | 'icons';
|
|
13
13
|
/**
|
|
14
14
|
* How the choice is drawn. `track` is a box with a thumb behind the chosen
|
|
15
|
-
* segment; `underline` is the words alone, the chosen one in the text
|
|
15
|
+
* segment; `underline` is the words alone, the chosen one in the text color
|
|
16
16
|
* and underlined. The semantics are the same radio group in both.
|
|
17
17
|
*/
|
|
18
18
|
export type SegmentedControlVariant = 'track' | 'underline';
|
|
@@ -39,7 +39,7 @@ export type SelectSearchReason = 'keyboard' | 'select' | 'clear' | 'programmatic
|
|
|
39
39
|
* was given and decides nothing. The default is `createFilter` from
|
|
40
40
|
* `@slotted/core/collection`, which is an adapter like any other —
|
|
41
41
|
* `docs/component-features.md` §6 refuses a family that assumes `contains` and
|
|
42
|
-
* English
|
|
42
|
+
* English normalization, and `combobox` takes the same prop with the same
|
|
43
43
|
* default for the same reason.
|
|
44
44
|
*/
|
|
45
45
|
export type SelectFilter = ((label: string, query: string) => boolean) | null;
|
|
@@ -21,7 +21,7 @@ export declare function useSideNavigation(): SideNavigationContextValue;
|
|
|
21
21
|
* **The rail is a width.** The stylesheet decides the picture from the root's
|
|
22
22
|
* own inline size, before any script; the `ResizeObserver` here writes
|
|
23
23
|
* `data-compact` afterwards, and that is what turns on the tooltip and the
|
|
24
|
-
* flyout, the two
|
|
24
|
+
* flyout, the two behaviors that need a script anyway.
|
|
25
25
|
*
|
|
26
26
|
* **The keyboard is the pattern's.** Tab reaches every row; the arrow keys,
|
|
27
27
|
* Home and End walk the visible rows — into the flyout, when it is open — and
|