@slotted/react 0.1.0-beta.3 → 0.1.0-beta.31
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/README.md +20 -3
- package/dist/accordion-n5D6mcmS.js +144 -0
- package/dist/accordion.js +1 -1
- package/dist/action-bar-CAtXzym2.js +285 -0
- package/dist/action-bar.js +1 -1
- package/dist/action-sheet-dNnB26br.js +360 -0
- package/dist/action-sheet.js +1 -1
- package/dist/alert-Bi9s1cjV.js +174 -0
- package/dist/alert.js +1 -1
- package/dist/app-shell-ClwskWBN.js +921 -0
- package/dist/app-shell.js +2 -2
- package/dist/aspect-ratio-CLxOFJVH.js +41 -0
- package/dist/aspect-ratio.js +1 -1
- package/dist/attachment-AAjprQyU.js +292 -0
- package/dist/attachment-kinds-x-DEOvCy.js +17 -0
- package/dist/attachment.js +3 -2
- package/dist/avatar-DLWElrgg.js +104 -0
- package/dist/avatar-group-DshHqe8B.js +50 -0
- package/dist/avatar-group.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge-pgYVOnZO.js +98 -0
- package/dist/badge.js +1 -1
- package/dist/bin/slotted-agent-docs.mjs +297 -0
- package/dist/breadcrumb-DWbUEBpm.js +222 -0
- package/dist/breadcrumb.js +1 -1
- package/dist/button-BxgjXAos.js +118 -0
- package/dist/button-group-C-m4aSqu.js +51 -0
- package/dist/button-group.js +1 -1
- package/dist/button.js +3 -3
- package/dist/calendar-wqDIW4Z8.js +469 -0
- package/dist/calendar.js +1 -1
- package/dist/card-DRmq8_5e.js +103 -0
- package/dist/card.js +1 -1
- package/dist/carousel-B9nMK7Yf.js +499 -0
- package/dist/carousel.js +1 -1
- package/dist/cascader-DUiUVxBt.js +1157 -0
- package/dist/cascader.js +1 -1
- package/dist/chart-CbOswR3s.js +1010 -0
- package/dist/chart.js +1 -1
- package/dist/checkbox-group-Ben6o9Ze.js +109 -0
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox-ruvmi9cK.js +144 -0
- package/dist/checkbox.js +1 -1
- package/dist/code-block-Cy548yk7.js +282 -0
- package/dist/code-block.js +1 -1
- package/dist/collapsible-BuUBeNDg.js +222 -0
- package/dist/collapsible.js +1 -1
- package/dist/color-picker-DP8MjvXk.js +506 -0
- package/dist/color-picker.js +1 -1
- package/dist/column-manager-NN-ZCcy9.js +586 -0
- package/dist/column-manager.js +1 -1
- package/dist/combobox-BIi7grOR.js +904 -0
- package/dist/combobox.js +1 -1
- package/dist/command-palette-BxbhO044.js +744 -0
- package/dist/command-palette.js +1 -1
- package/dist/container-WoYiHo50.js +47 -0
- package/dist/container.js +1 -1
- package/dist/context-menu-BJyDD17g.js +151 -0
- package/dist/context-menu.js +1 -1
- package/dist/currency-field-CAO2ZolW.js +469 -0
- package/dist/currency-field.js +1 -1
- package/dist/dashboard-grid-YMoSW5C1.js +1178 -0
- package/dist/dashboard-grid.js +1 -1
- package/dist/data-grid-DSI_LFmJ.js +3848 -0
- package/dist/data-grid.js +1 -1
- package/dist/data-list-fAeBMZZT.js +587 -0
- package/dist/data-list.js +1 -1
- package/dist/date-field-BEdt1xDF.js +299 -0
- package/dist/date-field.js +1 -1
- package/dist/date-picker-CB3pyJob.js +337 -0
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-Dyp5_teF.js +522 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/datetime-field-2tsqzWVH.js +424 -0
- package/dist/datetime-field.js +1 -1
- package/dist/datetime-picker-D-fhwe8l.js +683 -0
- package/dist/datetime-picker.js +1 -1
- package/dist/datetime-range-picker-Bh3mAEsM.js +1050 -0
- package/dist/datetime-range-picker.js +1 -1
- package/dist/description-list-BbWLehw0.js +242 -0
- package/dist/description-list.js +1 -1
- package/dist/{detail-panel-qOJiNuzr.js → detail-panel-DYe_D46K.js} +121 -113
- package/dist/detail-panel.js +1 -1
- package/dist/dialog-CjOBjHrL.js +537 -0
- package/dist/dialog.js +1 -1
- package/dist/divider-ryFeK0Pi.js +35 -0
- package/dist/divider.js +1 -1
- package/dist/docs/AGENTS.snippet.md +4 -2
- package/dist/docs/accordion.json +5 -5
- package/dist/docs/accordion.md +11 -11
- package/dist/docs/action-bar.json +23 -22
- package/dist/docs/action-bar.md +32 -32
- package/dist/docs/action-sheet.json +399 -64
- package/dist/docs/action-sheet.md +291 -0
- package/dist/docs/alert.json +32 -15
- package/dist/docs/alert.md +30 -23
- package/dist/docs/app-shell.examples.md +9 -9
- package/dist/docs/app-shell.json +36 -19
- package/dist/docs/app-shell.md +8 -6
- 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 +32 -11
- package/dist/docs/avatar.md +13 -11
- package/dist/docs/badge.json +12 -6
- package/dist/docs/badge.md +7 -7
- package/dist/docs/breadcrumb.json +2 -2
- package/dist/docs/breadcrumb.md +2 -2
- package/dist/docs/button-group.json +2 -1
- package/dist/docs/button-group.md +2 -2
- package/dist/docs/button.examples.md +20 -0
- package/dist/docs/button.json +139 -14
- package/dist/docs/button.md +30 -8
- package/dist/docs/calendar.json +31 -6
- package/dist/docs/calendar.md +9 -6
- package/dist/docs/card.json +3 -2
- package/dist/docs/card.md +3 -3
- package/dist/docs/carousel.json +11 -11
- package/dist/docs/carousel.md +12 -12
- package/dist/docs/cascader.json +2 -0
- package/dist/docs/cascader.md +1 -1
- package/dist/docs/chart.examples.md +51 -40
- package/dist/docs/chart.json +35 -30
- package/dist/docs/chart.md +7 -7
- 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 +94 -94
- package/dist/docs/code-block.md +72 -72
- package/dist/docs/collapsible.json +14 -13
- package/dist/docs/collapsible.md +23 -23
- 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 +5 -1
- package/dist/docs/combobox.md +2 -2
- package/dist/docs/command-palette.json +2 -0
- package/dist/docs/command-palette.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 +13 -5
- package/dist/docs/currency-field.md +6 -5
- package/dist/docs/dashboard-grid.json +52 -9
- package/dist/docs/dashboard-grid.md +11 -5
- package/dist/docs/data-grid.examples.md +10 -4
- package/dist/docs/data-grid.json +39 -12
- package/dist/docs/data-grid.md +3 -1
- package/dist/docs/data-grid.props.md +7 -5
- package/dist/docs/data-list.json +2 -1
- package/dist/docs/data-list.md +1 -1
- package/dist/docs/date-field.json +13 -5
- package/dist/docs/date-field.md +12 -11
- package/dist/docs/date-picker.examples.md +29 -0
- package/dist/docs/date-picker.json +28 -1
- package/dist/docs/date-picker.md +4 -2
- package/dist/docs/date-range-picker.json +11 -0
- package/dist/docs/date-range-picker.md +2 -1
- package/dist/docs/datetime-field.json +4 -3
- package/dist/docs/datetime-field.md +8 -8
- package/dist/docs/datetime-picker.json +11 -1
- package/dist/docs/datetime-picker.md +2 -1
- package/dist/docs/datetime-range-picker.examples.md +2 -2
- package/dist/docs/datetime-range-picker.json +13 -2
- package/dist/docs/datetime-range-picker.md +4 -3
- package/dist/docs/description-list.json +17 -8
- package/dist/docs/description-list.md +8 -7
- package/dist/docs/detail-panel.json +13 -11
- package/dist/docs/detail-panel.md +26 -16
- package/dist/docs/dialog.examples.md +123 -121
- package/dist/docs/dialog.json +60 -26
- package/dist/docs/dialog.md +9 -65
- package/dist/docs/dialog.props.md +68 -0
- package/dist/docs/drawer.examples.md +15 -15
- package/dist/docs/drawer.json +46 -19
- package/dist/docs/drawer.md +11 -9
- package/dist/docs/entity-picker.json +21 -3
- package/dist/docs/entity-picker.md +13 -6
- package/dist/docs/event-calendar.examples.md +3 -3
- package/dist/docs/event-calendar.json +5 -5
- package/dist/docs/event-calendar.md +4 -4
- package/dist/docs/field-group.json +20 -5
- package/dist/docs/field-group.md +12 -10
- package/dist/docs/field.examples.md +3 -3
- package/dist/docs/field.json +20 -5
- package/dist/docs/field.md +4 -2
- package/dist/docs/filter-bar.json +115 -115
- package/dist/docs/filter-bar.md +78 -78
- package/dist/docs/form.json +22 -10
- package/dist/docs/form.md +13 -12
- package/dist/docs/fullscreen.json +3 -3
- package/dist/docs/fullscreen.md +6 -6
- package/dist/docs/guidelines/README.md +2 -2
- package/dist/docs/guidelines/async-feedback.md +25 -4
- package/dist/docs/guidelines/builders.md +1 -1
- package/dist/docs/guidelines/composition.md +37 -11
- package/dist/docs/guidelines/conversations.md +1 -1
- package/dist/docs/guidelines/errors-and-conflicts.md +7 -6
- package/dist/docs/guidelines/forms.md +111 -1
- package/dist/docs/guidelines/index.md +27 -7
- package/dist/docs/guidelines/layout-alignment.md +24 -14
- package/dist/docs/guidelines/list-pages.md +44 -3
- package/dist/docs/guidelines/overviews.md +39 -9
- package/dist/docs/guidelines/own-elements.md +8 -8
- package/dist/docs/guidelines/reading-permissions.md +2 -2
- package/dist/docs/guidelines/record-pages.md +1 -1
- package/dist/docs/guidelines/reports.md +1 -1
- package/dist/docs/highlight.json +11 -11
- package/dist/docs/highlight.md +18 -18
- package/dist/docs/icon.json +5 -3
- package/dist/docs/icon.md +4 -4
- package/dist/docs/image.json +3 -3
- package/dist/docs/image.md +3 -3
- package/dist/docs/import-export-center.json +26 -25
- package/dist/docs/import-export-center.md +22 -22
- package/dist/docs/index.md +3 -2
- package/dist/docs/inline-message.json +34 -21
- package/dist/docs/inline-message.md +31 -28
- package/dist/docs/inline.json +1 -1
- package/dist/docs/inline.md +1 -1
- package/dist/docs/kbd.json +5 -2
- package/dist/docs/kbd.md +3 -3
- package/dist/docs/link.json +23 -7
- package/dist/docs/link.md +10 -8
- package/dist/docs/list-item.json +20 -4
- package/dist/docs/list-item.md +24 -17
- package/dist/docs/list.examples.md +721 -0
- package/dist/docs/list.json +120 -32
- package/dist/docs/list.md +58 -140
- package/dist/docs/listbox.json +1 -2
- package/dist/docs/listbox.md +2 -2
- package/dist/docs/loading-overlay.json +2 -2
- package/dist/docs/loading-overlay.md +2 -2
- package/dist/docs/markdown.json +82 -75
- package/dist/docs/markdown.md +64 -63
- package/dist/docs/media-viewer.json +575 -0
- package/dist/docs/media-viewer.md +235 -0
- package/dist/docs/menu.json +17 -3
- package/dist/docs/menu.md +4 -2
- package/dist/docs/message-scroller.json +2 -2
- package/dist/docs/message-scroller.md +1 -1
- package/dist/docs/message.json +18 -12
- package/dist/docs/message.md +20 -20
- package/dist/docs/multi-select.json +4 -1
- package/dist/docs/multi-select.md +1 -1
- package/dist/docs/navigation-menu.json +1 -0
- package/dist/docs/navigation-menu.md +1 -1
- package/dist/docs/notification-center.json +23 -18
- package/dist/docs/notification-center.md +27 -24
- package/dist/docs/number-field.examples.md +4 -4
- package/dist/docs/number-field.json +4 -3
- package/dist/docs/number-field.md +1 -1
- package/dist/docs/otp-input.json +10 -9
- package/dist/docs/otp-input.md +13 -13
- package/dist/docs/page-header.json +30 -13
- package/dist/docs/page-header.md +28 -26
- package/dist/docs/page.json +4 -2
- package/dist/docs/page.md +3 -2
- 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 +5 -3
- package/dist/docs/popover.md +2 -2
- package/dist/docs/progress-indicator.json +7 -5
- package/dist/docs/progress-indicator.md +7 -7
- package/dist/docs/prompt-composer.json +52 -5
- package/dist/docs/prompt-composer.md +11 -5
- 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 +23 -21
- package/dist/docs/rating.md +22 -26
- package/dist/docs/result-state.json +14 -13
- package/dist/docs/result-state.md +19 -21
- package/dist/docs/saved-views.json +1 -1
- package/dist/docs/scroll-area.json +278 -64
- package/dist/docs/scroll-area.md +198 -0
- package/dist/docs/section.json +43 -21
- package/dist/docs/section.md +36 -29
- package/dist/docs/segmented-control.json +22 -26
- package/dist/docs/segmented-control.md +40 -40
- package/dist/docs/select.json +5 -1
- package/dist/docs/select.md +2 -2
- package/dist/docs/side-navigation.json +1 -0
- package/dist/docs/side-navigation.md +1 -1
- package/dist/docs/skeleton.json +1 -1
- package/dist/docs/skeleton.md +1 -1
- package/dist/docs/skills/build-own-element/SKILL.md +9 -9
- package/dist/docs/skills/compose-screen/SKILL.md +59 -18
- package/dist/docs/skills/index.md +2 -2
- package/dist/docs/skills/review-screen/SKILL.md +29 -17
- package/dist/docs/skills/theme-app/SKILL.md +66 -20
- package/dist/docs/skills/waiting-states/SKILL.md +15 -11
- package/dist/docs/slider.json +9 -9
- package/dist/docs/slider.md +19 -19
- package/dist/docs/sparkline.json +12 -9
- package/dist/docs/sparkline.md +9 -9
- package/dist/docs/split-button.json +14 -12
- package/dist/docs/split-button.md +30 -30
- package/dist/docs/splitter.json +293 -64
- package/dist/docs/splitter.md +222 -0
- package/dist/docs/stack.json +1 -1
- package/dist/docs/stack.md +1 -1
- package/dist/docs/stat-card.json +36 -9
- package/dist/docs/stat-card.md +11 -8
- package/dist/docs/status-indicator.json +22 -11
- package/dist/docs/status-indicator.md +8 -6
- 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 +11 -10
- package/dist/docs/table-of-contents.md +15 -15
- package/dist/docs/table.examples.md +14 -18
- package/dist/docs/table.json +18 -4
- package/dist/docs/table.md +3 -1
- package/dist/docs/tabs.json +25 -4
- package/dist/docs/tabs.md +6 -3
- package/dist/docs/tag.json +42 -30
- package/dist/docs/tag.md +21 -21
- package/dist/docs/tags-input.json +30 -3
- package/dist/docs/tags-input.md +5 -2
- package/dist/docs/text-field.examples.md +5 -5
- package/dist/docs/text-field.json +7 -6
- package/dist/docs/text-field.md +3 -3
- package/dist/docs/textarea.examples.md +504 -0
- package/dist/docs/textarea.json +3 -2
- package/dist/docs/textarea.md +2 -498
- package/dist/docs/time-field.json +4 -3
- package/dist/docs/time-field.md +8 -8
- package/dist/docs/time-picker.json +14 -4
- package/dist/docs/time-picker.md +9 -8
- package/dist/docs/time-range-picker.json +14 -3
- package/dist/docs/time-range-picker.md +7 -6
- package/dist/docs/timeline.json +136 -130
- package/dist/docs/timeline.md +122 -122
- package/dist/docs/toast.json +14 -6
- package/dist/docs/toast.md +7 -7
- 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 +53 -26
- package/dist/docs/toolbar.json +11 -11
- package/dist/docs/toolbar.md +28 -28
- package/dist/docs/tooltip.json +4 -3
- package/dist/docs/tooltip.md +4 -4
- 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 +9 -8
- package/dist/docs/tour.md +6 -6
- package/dist/docs/typography.json +6 -4
- package/dist/docs/typography.md +5 -5
- package/dist/docs/upload.examples.md +5 -5
- package/dist/docs/upload.json +10 -10
- package/dist/docs/upload.md +3 -3
- package/dist/drawer-Du1aC1px.js +830 -0
- package/dist/drawer.js +2 -2
- package/dist/entity-picker-DfoAxqaa.js +1283 -0
- package/dist/entity-picker.js +2 -2
- package/dist/event-calendar-BiGeWzAG.js +1469 -0
- package/dist/event-calendar.js +1 -1
- package/dist/field-BjF0c0U9.js +368 -0
- package/dist/field-group-DQI8pfDT.js +140 -0
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/filter-bar-Bb_8T3nU.js +1342 -0
- package/dist/filter-bar.js +1 -1
- package/dist/{form-vTCQhZM-.js → form-DnV8ndwm.js} +107 -88
- package/dist/form.js +2 -2
- package/dist/fullscreen-CaEg6U-M.js +190 -0
- package/dist/fullscreen.js +1 -1
- package/dist/grid-l7xi6DUg.js +26 -0
- package/dist/grid.js +1 -1
- package/dist/highlight-9lRPIZ9O.js +59 -0
- package/dist/highlight.js +1 -1
- package/dist/hover-card-D8OyhmEG.js +215 -0
- package/dist/hover-card.js +1 -1
- package/dist/{i18n-DpW8lqJ1.js → i18n-D7xXDd8-.js} +11 -4
- package/dist/i18n.js +1 -1
- package/dist/icon-D04-_QFA.js +134 -0
- package/dist/icon-button-DERKFHX1.js +251 -0
- package/dist/icon.js +1 -1
- package/dist/{image-DpDFrrXL.js → image-cyX9-F0x.js} +24 -20
- package/dist/image.js +1 -1
- package/dist/import-export-center-Do0zrdSV.js +867 -0
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +131 -128
- package/dist/inline-CqF8iT4m.js +17 -0
- package/dist/inline-message-DgEAUjar.js +119 -0
- package/dist/inline-message.js +2 -2
- package/dist/inline.js +1 -1
- package/dist/kbd-dNz8QHfL.js +105 -0
- package/dist/kbd.js +1 -1
- package/dist/link-YvD_Wov8.js +92 -0
- package/dist/link.js +1 -1
- package/dist/list-B7gaPH1U.js +95 -0
- package/dist/list-item-2z75VYyp.js +160 -0
- package/dist/list-item.js +1 -1
- package/dist/list.js +1 -1
- package/dist/listbox-Df177k5C.js +626 -0
- package/dist/listbox.js +1 -1
- package/dist/loading-overlay-BLIrcaoj.js +218 -0
- package/dist/loading-overlay.js +1 -1
- package/dist/markdown-B_niyRIl.js +311 -0
- package/dist/markdown.js +1 -1
- package/dist/media-viewer-zEXcwfEY.js +629 -0
- package/dist/media-viewer.js +2 -0
- package/dist/menu-parts-DNQDoJnd.js +814 -0
- package/dist/menu.js +1 -1
- package/dist/menubar-CY8oxV0V.js +157 -0
- package/dist/menubar.js +1 -1
- package/dist/message-C1O3jr31.js +436 -0
- package/dist/message-scroller-BSpE5DHM.js +218 -0
- package/dist/message-scroller.js +1 -1
- package/dist/message.js +1 -1
- package/dist/multi-select-DSSDlWVZ.js +1259 -0
- package/dist/multi-select.js +1 -1
- package/dist/navigation-menu-parts-CRLmigjy.js +492 -0
- package/dist/navigation-menu.js +1 -1
- package/dist/notification-center-CQqPcJr4.js +516 -0
- package/dist/notification-center.js +1 -1
- package/dist/number-field-DzOcs9uG.js +345 -0
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-BNQhuKaT.js → otp-input-ult9fNdj.js} +75 -72
- package/dist/otp-input.js +1 -1
- package/dist/page-CzqbnTnU.js +179 -0
- package/dist/page-header-TejJ-BTC.js +372 -0
- package/dist/page-header.js +1 -1
- package/dist/page.js +2 -2
- package/dist/pagination-D0PUAFYm.js +299 -0
- package/dist/pagination.js +1 -1
- package/dist/popover-BfEn2wdZ.js +500 -0
- package/dist/popover.js +1 -1
- package/dist/progress-indicator-D0acshNn.js +292 -0
- package/dist/progress-indicator.js +1 -1
- package/dist/prompt-composer-D9oaFXDU.js +308 -0
- package/dist/prompt-composer.js +2 -2
- package/dist/prose-CQN4Bqqh.js +92 -0
- package/dist/prose.js +1 -1
- package/dist/radio-group-doL7tde1.js +143 -0
- package/dist/radio-group.js +1 -1
- package/dist/rating-BtrkTAi0.js +501 -0
- package/dist/rating.js +1 -1
- package/dist/result-state-BMYhelu1.js +128 -0
- package/dist/result-state.js +1 -1
- package/dist/roving-focus-C5-rVFzI.js +89 -0
- package/dist/roving-focus.js +2 -0
- package/dist/saved-views-BKOHI-Od.js +456 -0
- package/dist/saved-views.js +1 -1
- package/dist/scroll-area-Fr0PmnRS.js +112 -0
- package/dist/scroll-area.js +1 -1
- package/dist/section-CjlMOyZE.js +195 -0
- package/dist/section.js +2 -2
- package/dist/segmented-control-Dl-nryCN.js +156 -0
- package/dist/segmented-control.js +1 -1
- package/dist/select-jdqT8lFi.js +1022 -0
- package/dist/{select-tags-CQMcHIQN.js → select-tags-3792weoq.js} +11 -1
- package/dist/select.js +1 -1
- package/dist/side-navigation-DNMpckRs.js +747 -0
- package/dist/side-navigation.js +1 -1
- package/dist/skeleton-DeEOmm1y.js +149 -0
- package/dist/skeleton.js +1 -1
- package/dist/slider-CU89H3i0.js +264 -0
- package/dist/slider.js +1 -1
- package/dist/sparkline-CYU4_lCD.js +152 -0
- package/dist/sparkline.js +1 -1
- package/dist/spinner-ring-DyfaYloA.js +19 -0
- package/dist/split-button-CgfY606Z.js +136 -0
- package/dist/split-button.js +1 -1
- package/dist/splitter-CspZHJz4.js +293 -0
- package/dist/splitter.js +1 -1
- package/dist/stack-BbgvuQ7m.js +16 -0
- package/dist/stack.js +1 -1
- package/dist/stat-card-BGtnZpnK.js +259 -0
- package/dist/stat-card.js +1 -1
- package/dist/status-indicator-DkV95RZc.js +82 -0
- package/dist/status-indicator.js +1 -1
- package/dist/stepper-DHdrANZI.js +261 -0
- package/dist/stepper.js +1 -1
- package/dist/styles/accordion.css +2 -0
- package/dist/styles/action-bar.css +8 -0
- package/dist/styles/action-sheet.css +8 -0
- package/dist/styles/alert.css +4 -0
- package/dist/styles/app-shell.css +8 -0
- package/dist/styles/aspect-ratio.css +2 -0
- package/dist/styles/attachment.css +8 -0
- package/dist/styles/avatar-group.css +6 -0
- package/dist/styles/avatar.css +4 -0
- package/dist/styles/badge.css +2 -0
- package/dist/styles/breadcrumb.css +4 -0
- package/dist/styles/button-group.css +2 -0
- package/dist/styles/button.css +4 -0
- package/dist/styles/calendar.css +6 -0
- package/dist/styles/card.css +2 -0
- package/dist/styles/carousel.css +4 -0
- package/dist/styles/cascader.css +20 -0
- package/dist/styles/chart.css +10 -0
- package/dist/styles/checkbox-group.css +12 -0
- package/dist/styles/checkbox.css +14 -0
- package/dist/styles/code-block.css +10 -0
- package/dist/styles/collapsible.css +6 -0
- package/dist/styles/color-picker.css +18 -0
- package/dist/styles/column-manager.css +32 -0
- package/dist/styles/combobox.css +12 -0
- package/dist/styles/command-palette.css +14 -0
- package/dist/styles/container.css +2 -0
- package/dist/styles/context-menu.css +8 -0
- package/dist/styles/currency-field.css +10 -0
- package/dist/styles/dashboard-grid.css +24 -0
- package/dist/styles/data-grid.css +64 -0
- package/dist/styles/data-list.css +34 -0
- package/dist/styles/date-field.css +10 -0
- package/dist/styles/date-picker.css +16 -0
- package/dist/styles/date-range-picker.css +16 -0
- package/dist/styles/datetime-field.css +10 -0
- package/dist/styles/datetime-picker.css +16 -0
- package/dist/styles/datetime-range-picker.css +16 -0
- package/dist/styles/description-list.css +6 -0
- package/dist/styles/detail-panel.css +24 -0
- package/dist/styles/dialog.css +4 -0
- package/dist/styles/divider.css +2 -0
- package/dist/styles/drawer.css +4 -0
- package/dist/styles/entity-picker.css +22 -0
- package/dist/styles/event-calendar.css +28 -0
- package/dist/styles/field-group.css +10 -0
- package/dist/styles/field.css +8 -0
- package/dist/styles/filter-bar.css +56 -0
- package/dist/styles/form.css +2 -0
- package/dist/styles/fullscreen.css +4 -0
- package/dist/styles/grid.css +2 -0
- package/dist/styles/highlight.css +2 -0
- package/dist/styles/hover-card.css +6 -0
- package/dist/styles/i18n.css +1 -0
- package/dist/styles/icon.css +2 -0
- package/dist/styles/image.css +6 -0
- package/dist/styles/import-export-center.css +70 -0
- package/dist/styles/index.css +250 -0
- package/dist/styles/inline-message.css +4 -0
- package/dist/styles/inline.css +2 -0
- package/dist/styles/kbd.css +2 -0
- package/dist/styles/link.css +6 -0
- package/dist/styles/list-item.css +6 -0
- package/dist/styles/list.css +2 -0
- package/dist/styles/listbox.css +10 -0
- package/dist/styles/loading-overlay.css +6 -0
- package/dist/styles/markdown.css +34 -0
- package/dist/styles/media-viewer.css +6 -0
- package/dist/styles/menu.css +6 -0
- package/dist/styles/menubar.css +8 -0
- package/dist/styles/message-scroller.css +4 -0
- package/dist/styles/message.css +4 -0
- package/dist/styles/multi-select.css +18 -0
- package/dist/styles/navigation-menu.css +4 -0
- package/dist/styles/notification-center.css +16 -0
- package/dist/styles/number-field.css +10 -0
- package/dist/styles/otp-input.css +10 -0
- package/dist/styles/page-header.css +16 -0
- package/dist/styles/page.css +6 -0
- package/dist/styles/pagination.css +4 -0
- package/dist/styles/popover.css +4 -0
- package/dist/styles/press-selection.css +1 -0
- package/dist/styles/progress-indicator.css +4 -0
- package/dist/styles/prompt-composer.css +12 -0
- package/dist/styles/prose.css +2 -0
- package/dist/styles/radio-group.css +12 -0
- package/dist/styles/rating.css +10 -0
- package/dist/styles/result-state.css +2 -0
- package/dist/styles/roving-focus.css +1 -0
- package/dist/styles/saved-views.css +20 -0
- package/dist/styles/scroll-area.css +2 -0
- package/dist/styles/section.css +4 -0
- package/dist/styles/segmented-control.css +12 -0
- package/dist/styles/select.css +14 -0
- package/dist/styles/side-navigation.css +14 -0
- package/dist/styles/skeleton.css +4 -0
- package/dist/styles/slider.css +10 -0
- package/dist/styles/sparkline.css +2 -0
- package/dist/styles/split-button.css +12 -0
- package/dist/styles/splitter.css +2 -0
- package/dist/styles/stack.css +2 -0
- package/dist/styles/stat-card.css +10 -0
- package/dist/styles/status-indicator.css +6 -0
- package/dist/styles/stepper.css +6 -0
- package/dist/styles/switch.css +12 -0
- package/dist/styles/table-of-contents.css +8 -0
- package/dist/styles/table.css +60 -0
- package/dist/styles/tabs.css +4 -0
- package/dist/styles/tag.css +4 -0
- package/dist/styles/tags-input.css +12 -0
- package/dist/styles/text-field.css +10 -0
- package/dist/styles/textarea.css +10 -0
- package/dist/styles/theme.css +1 -0
- package/dist/styles/time-field.css +10 -0
- package/dist/styles/time-picker.css +12 -0
- package/dist/styles/time-range-picker.css +12 -0
- package/dist/styles/timeline.css +8 -0
- package/dist/styles/toast.css +8 -0
- package/dist/styles/toggle-group.css +10 -0
- package/dist/styles/toggle.css +2 -0
- package/dist/styles/toolbar.css +8 -0
- package/dist/styles/tooltip.css +2 -0
- package/dist/styles/top-navigation.css +14 -0
- package/dist/styles/tour.css +8 -0
- package/dist/styles/transfer.css +26 -0
- package/dist/styles/tree.css +6 -0
- package/dist/styles/typography.css +2 -0
- package/dist/styles/upload.css +16 -0
- package/dist/styles/visually-hidden.css +2 -0
- package/dist/styles/wizard.css +22 -0
- package/dist/styles.css +1 -1
- package/dist/switch-Tr3blHWc.js +144 -0
- package/dist/switch.js +1 -1
- package/dist/{table-Cipi2c5X.js → table-Bm-PAtCn.js} +353 -337
- package/dist/table-of-contents-kFr_3Dzs.js +471 -0
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs-C-Bc7WmQ.js +361 -0
- package/dist/tabs.js +1 -1
- package/dist/tag-BYzDYvM_.js +374 -0
- package/dist/tag.js +1 -1
- package/dist/tags-input-_cYR2JSK.js +729 -0
- package/dist/tags-input.js +1 -1
- package/dist/text-field-DEm3MEe2.js +205 -0
- package/dist/text-field.js +1 -1
- package/dist/textarea-BRRn55L2.js +100 -0
- package/dist/textarea.js +1 -1
- package/dist/theme.js +10 -9
- package/dist/time-field-C9dFaZOx.js +366 -0
- package/dist/time-field.js +1 -1
- package/dist/time-picker-Cw9NezUE.js +436 -0
- package/dist/time-picker.js +1 -1
- package/dist/time-range-picker-DmmUqGjV.js +800 -0
- package/dist/time-range-picker.js +1 -1
- package/dist/timeline-BiL2CXfn.js +449 -0
- package/dist/timeline.js +1 -1
- package/dist/toast-DHDVXIew.js +470 -0
- package/dist/toast.js +1 -1
- package/dist/toggle-group-DiKxYOwh.js +145 -0
- package/dist/toggle-group.js +1 -1
- package/dist/toggle-zDTD5G3H.js +67 -0
- package/dist/toggle.js +1 -1
- package/dist/toolbar-CSiDqC8L.js +243 -0
- package/dist/toolbar.js +1 -1
- package/dist/tooltip-DrFiRlH8.js +411 -0
- package/dist/tooltip.js +1 -1
- package/dist/top-navigation-C73WDqLg.js +744 -0
- package/dist/top-navigation.js +1 -1
- package/dist/tour-BYNqu1dL.js +809 -0
- package/dist/tour.js +1 -1
- package/dist/transfer-CmPxesyZ.js +606 -0
- package/dist/transfer.js +1 -1
- package/dist/{tree-C6fYJqT9.js → tree-D-y-0TrL.js} +298 -287
- package/dist/tree.js +1 -1
- package/dist/types/accordion/accordion.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar-overflow.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar-parts.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar.types.d.ts +2 -2
- package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
- package/dist/types/alert/alert-parts.d.ts +5 -3
- package/dist/types/alert/alert-parts.d.ts.map +1 -1
- package/dist/types/alert/alert.d.ts +1 -1
- package/dist/types/alert/alert.d.ts.map +1 -1
- package/dist/types/alert/alert.types.d.ts +11 -3
- package/dist/types/alert/alert.types.d.ts.map +1 -1
- package/dist/types/alert/index.d.ts +1 -1
- package/dist/types/alert/index.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 +8 -6
- package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.types.d.ts +22 -15
- package/dist/types/app-shell/app-shell.types.d.ts.map +1 -1
- package/dist/types/app-shell/index.d.ts +2 -2
- package/dist/types/app-shell/index.d.ts.map +1 -1
- package/dist/types/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
- package/dist/types/attachment/attachment.d.ts.map +1 -1
- package/dist/types/avatar/avatar.d.ts +1 -1
- package/dist/types/avatar/avatar.d.ts.map +1 -1
- package/dist/types/avatar/avatar.types.d.ts +18 -9
- package/dist/types/avatar/avatar.types.d.ts.map +1 -1
- package/dist/types/avatar/index.d.ts +1 -1
- package/dist/types/avatar/index.d.ts.map +1 -1
- package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/types/badge/badge-anchor.d.ts.map +1 -1
- package/dist/types/badge/badge.d.ts.map +1 -1
- package/dist/types/badge/badge.types.d.ts +5 -5
- package/dist/types/badge/badge.types.d.ts.map +1 -1
- package/dist/types/breadcrumb/breadcrumb-parts.d.ts +1 -1
- package/dist/types/breadcrumb/breadcrumb-parts.d.ts.map +1 -1
- package/dist/types/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/types/breadcrumb/breadcrumb.types.d.ts +2 -1
- package/dist/types/breadcrumb/breadcrumb.types.d.ts.map +1 -1
- package/dist/types/button/button-content.d.ts.map +1 -1
- package/dist/types/button/button-indicator.d.ts.map +1 -1
- package/dist/types/button/button-link.d.ts.map +1 -1
- package/dist/types/button/button-root.d.ts +25 -5
- package/dist/types/button/button-root.d.ts.map +1 -1
- package/dist/types/button/button.constants.d.ts +2 -2
- package/dist/types/button/button.constants.d.ts.map +1 -1
- package/dist/types/button/button.d.ts.map +1 -1
- package/dist/types/button/button.types.d.ts +21 -1
- package/dist/types/button/button.types.d.ts.map +1 -1
- package/dist/types/button/icon-button-link.d.ts +9 -0
- package/dist/types/button/icon-button-link.d.ts.map +1 -0
- package/dist/types/button/icon-button.d.ts.map +1 -1
- package/dist/types/button/index.d.ts +2 -1
- package/dist/types/button/index.d.ts.map +1 -1
- package/dist/types/button/spinner-ring.d.ts +8 -0
- package/dist/types/button/spinner-ring.d.ts.map +1 -0
- package/dist/types/button/toggle-button.d.ts.map +1 -1
- package/dist/types/button-group/button-group-separator.d.ts +1 -1
- package/dist/types/button-group/button-group-separator.d.ts.map +1 -1
- package/dist/types/button-group/button-group.d.ts.map +1 -1
- package/dist/types/calendar/calendar.d.ts +2 -1
- package/dist/types/calendar/calendar.d.ts.map +1 -1
- package/dist/types/calendar/calendar.types.d.ts +20 -0
- package/dist/types/calendar/calendar.types.d.ts.map +1 -1
- package/dist/types/calendar/index.d.ts +1 -1
- package/dist/types/calendar/index.d.ts.map +1 -1
- package/dist/types/card/card-actions.d.ts.map +1 -1
- package/dist/types/card/card-body.d.ts.map +1 -1
- package/dist/types/card/card-footer.d.ts.map +1 -1
- package/dist/types/card/card-header.d.ts.map +1 -1
- package/dist/types/card/card-link.d.ts.map +1 -1
- package/dist/types/card/card-media.d.ts.map +1 -1
- package/dist/types/card/card-selection.d.ts +1 -1
- package/dist/types/card/card-selection.d.ts.map +1 -1
- package/dist/types/card/card.d.ts.map +1 -1
- package/dist/types/card/card.types.d.ts +2 -1
- package/dist/types/card/card.types.d.ts.map +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/carousel/carousel-parts.d.ts.map +1 -1
- package/dist/types/carousel/carousel.d.ts.map +1 -1
- package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
- package/dist/types/cascader/cascader.d.ts.map +1 -1
- package/dist/types/chart/chart.d.ts +2 -2
- package/dist/types/chart/chart.d.ts.map +1 -1
- package/dist/types/chart/chart.types.d.ts +10 -6
- package/dist/types/chart/chart.types.d.ts.map +1 -1
- package/dist/types/checkbox/checkbox.d.ts.map +1 -1
- package/dist/types/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/types/code-block/code-block.d.ts.map +1 -1
- package/dist/types/code-block/code-block.types.d.ts +1 -1
- package/dist/types/collapsible/collapsible-parts.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible.d.ts.map +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/combobox/combobox-items.d.ts.map +1 -1
- package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
- package/dist/types/command-palette/command-palette-defaults.d.ts +1 -1
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/container/container-breakout.d.ts.map +1 -1
- package/dist/types/container/container.d.ts.map +1 -1
- package/dist/types/context-menu/context-menu.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field-defaults.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.d.ts +1 -1
- package/dist/types/currency-field/currency-field.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.types.d.ts +14 -5
- package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid-context.d.ts +14 -1
- package/dist/types/dashboard-grid/dashboard-grid-context.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.d.ts +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +32 -3
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget-help.d.ts +12 -0
- package/dist/types/dashboard-grid/dashboard-widget-help.d.ts.map +1 -0
- package/dist/types/dashboard-grid/dashboard-widget.d.ts +1 -1
- package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
- package/dist/types/dashboard-grid/index.d.ts +1 -1
- package/dist/types/dashboard-grid/index.d.ts.map +1 -1
- package/dist/types/dashboard-grid/use-persisted-dashboard-layout.d.ts +2 -1
- package/dist/types/dashboard-grid/use-persisted-dashboard-layout.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-body.d.ts +7 -2
- package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +29 -0
- package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-filter.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.d.ts +1 -1
- package/dist/types/data-grid/data-grid.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.types.d.ts +24 -1
- package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
- package/dist/types/data-grid/index.d.ts +1 -1
- package/dist/types/data-grid/index.d.ts.map +1 -1
- package/dist/types/data-list/data-list.d.ts.map +1 -1
- package/dist/types/date-field/date-field.d.ts +1 -1
- package/dist/types/date-field/date-field.d.ts.map +1 -1
- package/dist/types/date-field/date-field.types.d.ts +7 -0
- package/dist/types/date-field/date-field.types.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.d.ts +5 -1
- package/dist/types/date-picker/date-picker.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.types.d.ts +20 -2
- package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
- package/dist/types/date-picker/index.d.ts +1 -1
- package/dist/types/date-picker/index.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-field/datetime-field.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
- package/dist/types/description-list/description-list-clipboard.d.ts +1 -1
- package/dist/types/description-list/description-list-defaults.d.ts.map +1 -1
- package/dist/types/description-list/description-list-parts.d.ts.map +1 -1
- package/dist/types/description-list/description-list.d.ts +1 -1
- package/dist/types/description-list/description-list.d.ts.map +1 -1
- package/dist/types/description-list/description-list.types.d.ts +7 -0
- package/dist/types/description-list/description-list.types.d.ts.map +1 -1
- package/dist/types/description-list/index.d.ts +1 -1
- package/dist/types/description-list/index.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-demo.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts +2 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel.d.ts.map +1 -1
- package/dist/types/dialog/dialog-parts.d.ts.map +1 -1
- package/dist/types/dialog/dialog.d.ts.map +1 -1
- package/dist/types/dialog/dialog.types.d.ts +19 -5
- package/dist/types/dialog/dialog.types.d.ts.map +1 -1
- package/dist/types/divider/divider.d.ts.map +1 -1
- package/dist/types/drawer/drawer-parts.d.ts +3 -1
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/drawer/drawer.d.ts +1 -1
- package/dist/types/drawer/drawer.d.ts.map +1 -1
- package/dist/types/drawer/drawer.types.d.ts +15 -3
- package/dist/types/drawer/drawer.types.d.ts.map +1 -1
- package/dist/types/drawer/index.d.ts +2 -2
- package/dist/types/drawer/index.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-control.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-option-parts.d.ts +13 -0
- package/dist/types/entity-picker/entity-picker-option-parts.d.ts.map +1 -0
- package/dist/types/entity-picker/entity-picker-popup.d.ts +0 -7
- package/dist/types/entity-picker/entity-picker-popup.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker.d.ts +1 -1
- package/dist/types/entity-picker/entity-picker.types.d.ts +8 -0
- package/dist/types/entity-picker/entity-picker.types.d.ts.map +1 -1
- package/dist/types/entity-picker/index.d.ts +1 -0
- package/dist/types/entity-picker/index.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-event.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-list.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-month.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-time-grid.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/types/field/field-parts.d.ts +1 -1
- package/dist/types/field/field-parts.d.ts.map +1 -1
- package/dist/types/field/field.d.ts +2 -2
- package/dist/types/field/field.d.ts.map +1 -1
- package/dist/types/field/field.types.d.ts +11 -1
- package/dist/types/field/field.types.d.ts.map +1 -1
- package/dist/types/field/index.d.ts +1 -1
- package/dist/types/field/index.d.ts.map +1 -1
- package/dist/types/field-group/field-group-parts.d.ts.map +1 -1
- package/dist/types/field-group/field-group.d.ts +1 -1
- package/dist/types/field-group/field-group.d.ts.map +1 -1
- package/dist/types/field-group/field-group.types.d.ts +9 -0
- package/dist/types/field-group/field-group.types.d.ts.map +1 -1
- package/dist/types/field-group/index.d.ts +1 -1
- package/dist/types/field-group/index.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
- package/dist/types/form/form-parts.d.ts +7 -1
- package/dist/types/form/form-parts.d.ts.map +1 -1
- package/dist/types/form/form.d.ts +1 -1
- package/dist/types/form/form.d.ts.map +1 -1
- package/dist/types/form/form.types.d.ts +4 -1
- package/dist/types/form/form.types.d.ts.map +1 -1
- package/dist/types/form/index.d.ts +2 -2
- package/dist/types/form/index.d.ts.map +1 -1
- package/dist/types/fullscreen/fullscreen.d.ts.map +1 -1
- package/dist/types/grid/grid.d.ts.map +1 -1
- package/dist/types/highlight/highlight.d.ts.map +1 -1
- package/dist/types/highlight/highlight.types.d.ts +1 -1
- package/dist/types/hover-card/hover-card.d.ts.map +1 -1
- package/dist/types/i18n/slotted-provider.d.ts +6 -0
- package/dist/types/i18n/slotted-provider.d.ts.map +1 -1
- package/dist/types/icon/glyph.d.ts +4 -1
- package/dist/types/icon/glyph.d.ts.map +1 -1
- package/dist/types/icon/icon.d.ts +2 -2
- package/dist/types/icon/icon.d.ts.map +1 -1
- package/dist/types/icon/icon.types.d.ts +2 -2
- package/dist/types/icon/icon.types.d.ts.map +1 -1
- package/dist/types/image/image.d.ts +1 -1
- package/dist/types/image/image.d.ts.map +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.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/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/inline/inline.d.ts +1 -1
- package/dist/types/inline/inline.d.ts.map +1 -1
- package/dist/types/inline-message/index.d.ts +2 -2
- package/dist/types/inline-message/index.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message-defaults.d.ts +2 -2
- package/dist/types/inline-message/inline-message-defaults.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message.d.ts +15 -7
- package/dist/types/inline-message/inline-message.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message.types.d.ts +7 -5
- 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/kbd/key-element.d.ts.map +1 -1
- package/dist/types/kbd/shortcut.d.ts.map +1 -1
- package/dist/types/link/index.d.ts +1 -1
- package/dist/types/link/index.d.ts.map +1 -1
- package/dist/types/link/link.d.ts +1 -1
- package/dist/types/link/link.d.ts.map +1 -1
- package/dist/types/link/link.types.d.ts +9 -1
- package/dist/types/link/link.types.d.ts.map +1 -1
- package/dist/types/list/list-parts.d.ts.map +1 -1
- package/dist/types/list/list.d.ts.map +1 -1
- package/dist/types/list/list.types.d.ts +1 -1
- package/dist/types/list-item/list-item-content.d.ts +3 -3
- package/dist/types/list-item/list-item-content.d.ts.map +1 -1
- package/dist/types/list-item/list-item-nesting.d.ts +15 -0
- package/dist/types/list-item/list-item-nesting.d.ts.map +1 -0
- package/dist/types/list-item/list-item-parts.d.ts +3 -3
- package/dist/types/list-item/list-item-parts.d.ts.map +1 -1
- package/dist/types/list-item/list-item.d.ts.map +1 -1
- package/dist/types/list-item/list-item.types.d.ts +3 -2
- package/dist/types/list-item/list-item.types.d.ts.map +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/listbox/listbox-parts.d.ts.map +1 -1
- package/dist/types/listbox/listbox.d.ts.map +1 -1
- package/dist/types/loading-overlay/loading-overlay.d.ts.map +1 -1
- package/dist/types/markdown/markdown.d.ts +1 -1
- package/dist/types/markdown/markdown.d.ts.map +1 -1
- package/dist/types/markdown/markdown.types.d.ts +6 -1
- package/dist/types/markdown/markdown.types.d.ts.map +1 -1
- package/dist/types/media-viewer/index.d.ts +9 -0
- package/dist/types/media-viewer/index.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-anatomy.d.ts +3 -0
- package/dist/types/media-viewer/media-viewer-anatomy.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-bar.d.ts +16 -0
- package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-context.d.ts +25 -0
- package/dist/types/media-viewer/media-viewer-context.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-controls.d.ts +14 -0
- package/dist/types/media-viewer/media-viewer-controls.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-defaults.d.ts +15 -0
- package/dist/types/media-viewer/media-viewer-defaults.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-fallback.d.ts +5 -0
- package/dist/types/media-viewer/media-viewer-fallback.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-media.d.ts +3 -0
- package/dist/types/media-viewer/media-viewer-media.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-stage.d.ts +9 -0
- package/dist/types/media-viewer/media-viewer-stage.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer.d.ts +10 -0
- package/dist/types/media-viewer/media-viewer.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer.types.d.ts +75 -0
- package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -0
- package/dist/types/media-viewer/use-media-viewer-state.d.ts +29 -0
- package/dist/types/media-viewer/use-media-viewer-state.d.ts.map +1 -0
- package/dist/types/menu/index.d.ts +1 -1
- package/dist/types/menu/index.d.ts.map +1 -1
- package/dist/types/menu/menu-defaults.d.ts +1 -1
- package/dist/types/menu/menu-defaults.d.ts.map +1 -1
- package/dist/types/menu/menu-items.d.ts.map +1 -1
- package/dist/types/menu/menu-parts.d.ts +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/types/menu/menu.d.ts +1 -1
- package/dist/types/menu/menu.d.ts.map +1 -1
- package/dist/types/menu/menu.types.d.ts +10 -0
- package/dist/types/menu/menu.types.d.ts.map +1 -1
- package/dist/types/menubar/menubar.d.ts.map +1 -1
- package/dist/types/message/bubble.d.ts.map +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/message-parts.d.ts.map +1 -1
- package/dist/types/message/message.d.ts.map +1 -1
- package/dist/types/message/message.types.d.ts +1 -1
- package/dist/types/message/message.types.d.ts.map +1 -1
- package/dist/types/message-scroller/message-scroller.d.ts +1 -1
- package/dist/types/message-scroller/message-scroller.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-chips.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-items.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu-parts.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu.types.d.ts +2 -1
- package/dist/types/navigation-menu/navigation-menu.types.d.ts.map +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.d.ts.map +1 -1
- package/dist/types/notification-center/notification-center.types.d.ts +3 -3
- package/dist/types/notification-center/notification-center.types.d.ts.map +1 -1
- package/dist/types/number-field/number-field.d.ts.map +1 -1
- package/dist/types/otp-input/otp-input.d.ts +1 -1
- package/dist/types/otp-input/otp-input.d.ts.map +1 -1
- package/dist/types/page/index.d.ts +1 -1
- package/dist/types/page/index.d.ts.map +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/page/page.d.ts +6 -0
- package/dist/types/page/page.d.ts.map +1 -1
- package/dist/types/page-header/page-header-defaults.d.ts +1 -1
- package/dist/types/page-header/page-header-defaults.d.ts.map +1 -1
- package/dist/types/page-header/page-header-parts.d.ts +3 -3
- package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
- package/dist/types/page-header/page-header.d.ts +1 -1
- package/dist/types/page-header/page-header.d.ts.map +1 -1
- package/dist/types/page-header/page-header.types.d.ts +11 -1
- package/dist/types/page-header/page-header.types.d.ts.map +1 -1
- package/dist/types/pagination/pagination-parts.d.ts.map +1 -1
- package/dist/types/pagination/pagination.d.ts.map +1 -1
- package/dist/types/popover/popover-parts.d.ts.map +1 -1
- package/dist/types/progress-indicator/loader.d.ts +1 -1
- package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-circle.d.ts +1 -1
- package/dist/types/progress-indicator/progress-circle.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-indicator.types.d.ts +2 -2
- package/dist/types/progress-indicator/progress-indicator.types.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-parts.d.ts.map +1 -1
- package/dist/types/progress-indicator/use-progress-indicator.d.ts +6 -0
- package/dist/types/progress-indicator/use-progress-indicator.d.ts.map +1 -1
- package/dist/types/prompt-composer/index.d.ts +2 -2
- package/dist/types/prompt-composer/index.d.ts.map +1 -1
- package/dist/types/prompt-composer/prompt-composer-defaults.d.ts.map +1 -1
- package/dist/types/prompt-composer/prompt-composer.d.ts +9 -2
- package/dist/types/prompt-composer/prompt-composer.d.ts.map +1 -1
- package/dist/types/prompt-composer/prompt-composer.types.d.ts +16 -1
- package/dist/types/prompt-composer/prompt-composer.types.d.ts.map +1 -1
- package/dist/types/prose/prose-parts.d.ts.map +1 -1
- package/dist/types/prose/prose-scroll.d.ts.map +1 -1
- package/dist/types/prose/prose.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group-parts.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group.d.ts.map +1 -1
- package/dist/types/rating/rating-display.d.ts.map +1 -1
- package/dist/types/rating/rating-summary.d.ts +1 -1
- package/dist/types/rating/rating-summary.d.ts.map +1 -1
- package/dist/types/rating/rating.d.ts.map +1 -1
- package/dist/types/rating/rating.types.d.ts +2 -2
- package/dist/types/rating/rating.types.d.ts.map +1 -1
- package/dist/types/result-state/result-state-demo.d.ts +1 -1
- package/dist/types/result-state/result-state-parts.d.ts.map +1 -1
- package/dist/types/result-state/result-state.d.ts.map +1 -1
- package/dist/types/result-state/result-state.types.d.ts +1 -1
- package/dist/types/roving-focus/index.d.ts +3 -0
- package/dist/types/roving-focus/index.d.ts.map +1 -0
- package/dist/types/roving-focus/roving-focus.d.ts +48 -0
- package/dist/types/roving-focus/roving-focus.d.ts.map +1 -0
- package/dist/types/saved-views/saved-views.d.ts.map +1 -1
- package/dist/types/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/types/section/index.d.ts +1 -1
- package/dist/types/section/index.d.ts.map +1 -1
- package/dist/types/section/section-parts.d.ts +7 -2
- package/dist/types/section/section-parts.d.ts.map +1 -1
- package/dist/types/section/section.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control-parts.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control.types.d.ts +1 -1
- package/dist/types/select/select-items.d.ts.map +1 -1
- package/dist/types/select/select-parts.d.ts +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/select/select-tags.d.ts.map +1 -1
- package/dist/types/select/select.d.ts.map +1 -1
- package/dist/types/select/select.types.d.ts +6 -2
- package/dist/types/select/select.types.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation.d.ts +1 -1
- package/dist/types/side-navigation/side-navigation.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation.types.d.ts +2 -1
- package/dist/types/side-navigation/side-navigation.types.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-region.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton.d.ts.map +1 -1
- package/dist/types/slider/slider.d.ts.map +1 -1
- package/dist/types/sparkline/sparkline.d.ts.map +1 -1
- package/dist/types/sparkline/sparkline.types.d.ts +3 -1
- package/dist/types/sparkline/sparkline.types.d.ts.map +1 -1
- package/dist/types/split-button/split-button-parts.d.ts.map +1 -1
- package/dist/types/split-button/split-button.d.ts.map +1 -1
- package/dist/types/splitter/splitter.d.ts.map +1 -1
- package/dist/types/stack/stack.d.ts.map +1 -1
- package/dist/types/stat-card/index.d.ts +1 -1
- package/dist/types/stat-card/index.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-parts.d.ts +7 -3
- package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-value.d.ts +3 -2
- package/dist/types/stat-card/stat-card-value.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.d.ts +2 -2
- package/dist/types/stat-card/stat-card.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.types.d.ts +18 -3
- package/dist/types/stat-card/stat-card.types.d.ts.map +1 -1
- package/dist/types/status-indicator/status-indicator.d.ts +1 -1
- package/dist/types/status-indicator/status-indicator.d.ts.map +1 -1
- package/dist/types/status-indicator/status-indicator.types.d.ts +9 -3
- package/dist/types/status-indicator/status-indicator.types.d.ts.map +1 -1
- package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
- package/dist/types/stepper/stepper.d.ts.map +1 -1
- package/dist/types/switch/switch.d.ts.map +1 -1
- package/dist/types/switch/switch.types.d.ts +1 -1
- package/dist/types/table/index.d.ts +1 -1
- package/dist/types/table/index.d.ts.map +1 -1
- package/dist/types/table/table-content.d.ts.map +1 -1
- package/dist/types/table/table-defaults.d.ts.map +1 -1
- package/dist/types/table/table-filter.d.ts.map +1 -1
- package/dist/types/table/table-parts.d.ts +5 -1
- package/dist/types/table/table-parts.d.ts.map +1 -1
- package/dist/types/table/table.d.ts +1 -1
- package/dist/types/table/table.d.ts.map +1 -1
- package/dist/types/table/table.types.d.ts +16 -1
- package/dist/types/table/table.types.d.ts.map +1 -1
- package/dist/types/table-of-contents/table-of-contents-demo.d.ts.map +1 -1
- package/dist/types/table-of-contents/table-of-contents-parts.d.ts.map +1 -1
- package/dist/types/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/dist/types/table-of-contents/table-of-contents.types.d.ts +2 -1
- package/dist/types/table-of-contents/table-of-contents.types.d.ts.map +1 -1
- package/dist/types/tabs/tabs-parts.d.ts +2 -4
- package/dist/types/tabs/tabs-parts.d.ts.map +1 -1
- package/dist/types/tabs/tabs.d.ts +1 -1
- package/dist/types/tabs/tabs.d.ts.map +1 -1
- package/dist/types/tabs/tabs.types.d.ts +20 -2
- package/dist/types/tabs/tabs.types.d.ts.map +1 -1
- package/dist/types/tag/tag-button.d.ts.map +1 -1
- package/dist/types/tag/tag-chip.d.ts +2 -2
- package/dist/types/tag/tag-chip.d.ts.map +1 -1
- package/dist/types/tag/tag-group.d.ts.map +1 -1
- package/dist/types/tag/tag-link.d.ts.map +1 -1
- package/dist/types/tag/tag-toggle.d.ts.map +1 -1
- package/dist/types/tag/tag.types.d.ts +7 -6
- package/dist/types/tag/tag.types.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input-chips.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.d.ts +8 -2
- package/dist/types/tags-input/tags-input.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.types.d.ts +10 -0
- package/dist/types/tags-input/tags-input.types.d.ts.map +1 -1
- package/dist/types/text-field/text-field.d.ts.map +1 -1
- package/dist/types/textarea/textarea.d.ts.map +1 -1
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/index.d.ts.map +1 -1
- package/dist/types/theme/theme-scope.d.ts +8 -5
- package/dist/types/theme/theme-scope.d.ts.map +1 -1
- package/dist/types/time-field/time-field.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
- package/dist/types/timeline/timeline.d.ts.map +1 -1
- package/dist/types/timeline/timeline.types.d.ts +1 -1
- package/dist/types/timeline/timeline.types.d.ts.map +1 -1
- package/dist/types/toast/toast-defaults.d.ts +1 -1
- package/dist/types/toast/toast-parts.d.ts.map +1 -1
- package/dist/types/toast/toast.d.ts.map +1 -1
- package/dist/types/toast/toast.types.d.ts +3 -3
- package/dist/types/toast/toast.types.d.ts.map +1 -1
- package/dist/types/toggle/toggle.d.ts.map +1 -1
- package/dist/types/toggle/toggle.types.d.ts +1 -1
- package/dist/types/toggle-group/toggle-group-parts.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts +1 -1
- package/dist/types/toolbar/toolbar-overflow.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar-parts.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts +2 -2
- package/dist/types/tooltip/tooltip-defaults.d.ts +1 -1
- package/dist/types/tooltip/tooltip-parts.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation-parts.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation.types.d.ts +8 -7
- package/dist/types/top-navigation/top-navigation.types.d.ts.map +1 -1
- package/dist/types/tour/tour-parts.d.ts.map +1 -1
- package/dist/types/tour/tour.d.ts.map +1 -1
- package/dist/types/tour/tour.types.d.ts +2 -2
- package/dist/types/transfer/transfer.d.ts.map +1 -1
- package/dist/types/tree/tree-parts.d.ts.map +1 -1
- package/dist/types/tree/tree.d.ts.map +1 -1
- package/dist/types/typography/heading.d.ts +2 -2
- package/dist/types/typography/heading.d.ts.map +1 -1
- package/dist/types/typography/text.d.ts +1 -1
- package/dist/types/typography/text.d.ts.map +1 -1
- package/dist/types/typography/typography.attributes.d.ts +1 -1
- package/dist/types/typography/typography.types.d.ts +2 -2
- package/dist/types/typography/typography.types.d.ts.map +1 -1
- package/dist/types/upload/upload-viewer.d.ts.map +1 -1
- package/dist/types/upload/upload.d.ts.map +1 -1
- package/dist/types/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/types/wizard/wizard-parts.d.ts.map +1 -1
- package/dist/types/wizard/wizard.d.ts.map +1 -1
- package/dist/typography-BESqb4C0.js +93 -0
- package/dist/typography.js +1 -1
- package/dist/upload-BmRZHySQ.js +648 -0
- package/dist/upload.js +1 -1
- package/dist/visually-hidden-BUSrFZ1_.js +15 -0
- package/dist/visually-hidden.js +1 -1
- package/dist/wizard-CmEJK55_.js +838 -0
- package/dist/wizard.js +1 -1
- package/package.json +38 -10
- package/dist/accordion-D-YuMJzk.js +0 -143
- package/dist/action-bar-OACchRZw.js +0 -282
- package/dist/action-sheet-C60BWUW8.js +0 -347
- package/dist/alert-CP62p9Ul.js +0 -159
- package/dist/app-shell-CmYvnu_7.js +0 -836
- package/dist/aspect-ratio-C76l-aoY.js +0 -40
- package/dist/attachment-DdBbQcEB.js +0 -302
- package/dist/avatar-BnlE5jjr.js +0 -100
- package/dist/avatar-group-4rBj99tz.js +0 -47
- package/dist/badge-C6rbwVpu.js +0 -94
- package/dist/breadcrumb-Bf01N4wK.js +0 -218
- package/dist/button-Db9f3Bxn.js +0 -99
- package/dist/button-group-Det_nYor.js +0 -50
- package/dist/calendar-B3mio8iQ.js +0 -387
- package/dist/card-CpVu8PyZ.js +0 -102
- package/dist/carousel-BPi-Y5yF.js +0 -498
- package/dist/cascader-D1AhTyBL.js +0 -1097
- package/dist/chart-O0ZhkzJe.js +0 -966
- package/dist/checkbox-DfxFHZaU.js +0 -139
- package/dist/checkbox-group-9sDgrV5Z.js +0 -108
- package/dist/code-block-CFHf8uTm.js +0 -269
- package/dist/collapsible-CGo49NNW.js +0 -217
- package/dist/color-picker-CwbWzCKg.js +0 -504
- package/dist/column-manager-CTtizVhm.js +0 -585
- package/dist/combobox-BVMI9lg8.js +0 -856
- package/dist/command-palette-DFLbSOiv.js +0 -707
- package/dist/container-CjxY6rYv.js +0 -46
- package/dist/context-menu-BuST6W94.js +0 -150
- package/dist/currency-field-DD9A5U3D.js +0 -455
- package/dist/dashboard-grid-CBMP_-JV.js +0 -1043
- package/dist/data-grid-BKaGMqIm.js +0 -3648
- package/dist/data-list-oICmxGkA.js +0 -561
- package/dist/date-field-CYcN6diW.js +0 -279
- package/dist/date-picker-4X-_2ltN.js +0 -264
- package/dist/date-range-picker-CNOAtHwU.js +0 -471
- package/dist/datetime-field-B8TrmsDK.js +0 -411
- package/dist/datetime-picker-HDVlUhzy.js +0 -629
- package/dist/datetime-range-picker-IqOFJtdW.js +0 -994
- package/dist/description-list-IYLnFgHT.js +0 -232
- package/dist/dialog-BHYDDj1S.js +0 -498
- package/dist/divider-D36Jqo0J.js +0 -33
- package/dist/drawer-LXM44eso.js +0 -757
- package/dist/entity-picker-CPDd73JR.js +0 -1110
- package/dist/event-calendar-CnF3iIZD.js +0 -1400
- package/dist/field-NJaCxl2h.js +0 -365
- package/dist/field-group-hAzVa2O9.js +0 -138
- package/dist/filter-bar-D_xDcAp2.js +0 -1335
- package/dist/fullscreen-CF0UN4mv.js +0 -187
- package/dist/grid-CIkG_2IQ.js +0 -25
- package/dist/highlight-0Qw23QPp.js +0 -57
- package/dist/hover-card-BJE5dtaQ.js +0 -214
- package/dist/icon-T9Yt4tnm.js +0 -73
- package/dist/icon-button-CCWkCDMs.js +0 -213
- package/dist/import-export-center-DpY2DGBZ.js +0 -813
- package/dist/inline-D_IjcJ1n.js +0 -16
- package/dist/inline-message-C4a-A2mw.js +0 -91
- package/dist/kbd-eFSWTKxN.js +0 -100
- package/dist/link-TjvRl2VQ.js +0 -87
- package/dist/list-WsQ6ZzCa.js +0 -91
- package/dist/list-item-DpCwZIrd.js +0 -123
- package/dist/listbox-Dv856z9I.js +0 -615
- package/dist/loading-overlay-COfnckse.js +0 -208
- package/dist/markdown-CeG8mUbI.js +0 -295
- package/dist/menu-parts-W58pVNUt.js +0 -786
- package/dist/menubar-b2CruimJ.js +0 -156
- package/dist/message-Cp0rLCyW.js +0 -430
- package/dist/message-scroller-UZjFpflz.js +0 -214
- package/dist/multi-select-DQ5ds0fX.js +0 -1188
- package/dist/navigation-menu-parts-D8qFAwHX.js +0 -492
- package/dist/notification-center-Sz54IziY.js +0 -485
- package/dist/number-field-BFIAmv-z.js +0 -342
- package/dist/page-header-CWEBfMGq.js +0 -367
- package/dist/page-kQgLctsA.js +0 -167
- package/dist/pagination-DWJc521r.js +0 -292
- package/dist/popover-Be7JWbGJ.js +0 -475
- package/dist/progress-indicator-DwvUSFFs.js +0 -269
- package/dist/prompt-composer-BxpdkTpZ.js +0 -259
- package/dist/prose-CkeNYS0X.js +0 -91
- package/dist/radio-group-BaVIP9UH.js +0 -140
- package/dist/rating-DYBQBzwB.js +0 -459
- package/dist/result-state-CZsQfdN4.js +0 -126
- package/dist/saved-views-DlE_--Z9.js +0 -446
- package/dist/scroll-area-BriwmvYY.js +0 -111
- package/dist/section-Be7dX9MC.js +0 -176
- package/dist/segmented-control-DmuOGiu6.js +0 -153
- package/dist/select-DOFqPy26.js +0 -944
- package/dist/side-navigation-CBLtCzuJ.js +0 -728
- package/dist/skeleton-2LSpg84Z.js +0 -143
- package/dist/slider-DTes4HLF.js +0 -256
- package/dist/sparkline-rY7HIFE4.js +0 -131
- package/dist/split-button-CPgHiy9G.js +0 -135
- package/dist/splitter-Bg3UgmbV.js +0 -289
- package/dist/stack-BEFavbRs.js +0 -15
- package/dist/stat-card-BG7uLytP.js +0 -244
- package/dist/status-indicator-BOjpXkU5.js +0 -73
- package/dist/stepper-DQJuRWqR.js +0 -253
- package/dist/switch-DQzuIhPX.js +0 -138
- package/dist/table-of-contents-DfAeYtFJ.js +0 -461
- package/dist/tabs-DQ36APY-.js +0 -343
- package/dist/tag-DjtW53xN.js +0 -365
- package/dist/tags-input-CcOkm0AW.js +0 -625
- package/dist/text-field-DLfIZ0fk.js +0 -195
- package/dist/textarea-CBJBJBi6.js +0 -99
- package/dist/time-field-DrhiCtUl.js +0 -355
- package/dist/time-picker-CRQsMJbQ.js +0 -396
- package/dist/time-range-picker-DlZJsj1e.js +0 -745
- package/dist/timeline-DH_02ysz.js +0 -421
- package/dist/toast-Bf3e0AgC.js +0 -468
- package/dist/toggle-CBFhM4Jh.js +0 -64
- package/dist/toggle-group-7iBR9Rn1.js +0 -142
- package/dist/toolbar-DDZpEftQ.js +0 -240
- package/dist/tooltip-DbKTPe_i.js +0 -392
- package/dist/top-navigation-e-tWMGNr.js +0 -739
- package/dist/tour-BTdt716T.js +0 -799
- package/dist/transfer-CqZOTLMP.js +0 -596
- package/dist/typography-B2iaigEC.js +0 -92
- package/dist/upload-DjnlVR8y.js +0 -613
- package/dist/visually-hidden-CE6u5JLW.js +0 -14
- package/dist/wizard-BxA08vXt.js +0 -815
|
@@ -3,6 +3,95 @@
|
|
|
3
3
|
|
|
4
4
|
`data-ui="action-sheet"` · Bottom sheet of short actions for touch.
|
|
5
5
|
|
|
6
|
+
## Import
|
|
7
|
+
|
|
8
|
+
```tsx
|
|
9
|
+
import { ActionSheet, ActionSheetCancel, ActionSheetContent, ActionSheetDefaultsProvider, ActionSheetGroup, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetMessage, ActionSheetSeparator, ActionSheetTitle, ActionSheetTrigger } from '@slotted/react';
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Minimal example
|
|
13
|
+
|
|
14
|
+
Excerpt — not a complete module
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
<ActionSheet onOpenChange={(open, request) => run(request.result)}>
|
|
18
|
+
<ActionSheetTrigger>Partilhar</ActionSheetTrigger>
|
|
19
|
+
<ActionSheetContent>
|
|
20
|
+
<ActionSheetHeader>
|
|
21
|
+
<ActionSheetTitle>Share report</ActionSheetTitle>
|
|
22
|
+
<ActionSheetMessage>Anyone who receives the link sees today's version.</ActionSheetMessage>
|
|
23
|
+
</ActionSheetHeader>
|
|
24
|
+
<ActionSheetList>
|
|
25
|
+
<ActionSheetItem value="copy" icon={<Copy />}>
|
|
26
|
+
Copy link
|
|
27
|
+
</ActionSheetItem>
|
|
28
|
+
<ActionSheetItem value="pdf" icon={<FileText />}>
|
|
29
|
+
Descarregar PDF
|
|
30
|
+
</ActionSheetItem>
|
|
31
|
+
</ActionSheetList>
|
|
32
|
+
<ActionSheetCancel>Cancelar</ActionSheetCancel>
|
|
33
|
+
</ActionSheetContent>
|
|
34
|
+
</ActionSheet>;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Anatomy
|
|
38
|
+
|
|
39
|
+
| Part | Element | Required |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| `root` | div, inside drawer’s panel | yes |
|
|
42
|
+
| `trigger` | button, or the element render returns | no |
|
|
43
|
+
| `header` | header | no |
|
|
44
|
+
| `title` | h2, or the element render returns | no |
|
|
45
|
+
| `message` | p, or the element render returns | no |
|
|
46
|
+
| `list` | div with role="menu" | yes |
|
|
47
|
+
| `group` | div with role="group" | no |
|
|
48
|
+
| `group-label` | div | no |
|
|
49
|
+
| `item` | button with role="menuitem", or the element render returns | yes |
|
|
50
|
+
| `icon` | span[aria-hidden] | no |
|
|
51
|
+
| `label` | span | yes |
|
|
52
|
+
| `description` | span | no |
|
|
53
|
+
| `separator` | hr with role="separator" | no |
|
|
54
|
+
| `footer` | div, rendered by ActionSheetCancel | no |
|
|
55
|
+
| `cancel` | button, or the element render returns | no |
|
|
56
|
+
|
|
57
|
+
## Props
|
|
58
|
+
|
|
59
|
+
| Name | Type | Default | Applies to | Description |
|
|
60
|
+
| --- | --- | --- | --- | --- |
|
|
61
|
+
| `open` | `boolean` | — | ActionSheet | Present at all means the consumer owns the state, for the life of the component. The family then asks and waits |
|
|
62
|
+
| `defaultOpen` | `boolean` | — | ActionSheet | The value an uncontrolled sheet starts from, read once |
|
|
63
|
+
| `modal` | `boolean` | true | ActionSheet, ActionSheetDefaultsProvider | Whether the page is inert, the scroll locked, focus contained and the scrim painted. false keeps the page operable and paints no scrim |
|
|
64
|
+
| `mount` | `'active' \| 'lazy' \| 'eager'` | active | ActionSheet, ActionSheetDefaultsProvider | When the layer exists. active drops it once the exit is over, lazy builds it on the first open and keeps it, eager builds it up front and makes it inert |
|
|
65
|
+
| `escape` | `'close' \| 'none'` | close | ActionSheet, ActionSheetDefaultsProvider | Whether Escape asks to close. It reaches the topmost layer only |
|
|
66
|
+
| `outsidePress` | `'close' \| 'none'` | close | ActionSheet, ActionSheetDefaultsProvider | Whether a press outside the panel — on the scrim, or on the page behind a non-modal sheet — asks to close |
|
|
67
|
+
| `back` | `'close' \| 'none'` | close | ActionSheet, ActionSheetDefaultsProvider | The platform’s way back — a phone’s gesture, a browser’s button — closes the sheet instead of leaving the page, while it is modal |
|
|
68
|
+
| `closeOnSelect` | `boolean` | true | ActionSheet, ActionSheetDefaultsProvider | Whether choosing an action closes the sheet with the reason select |
|
|
69
|
+
| `messages` | `Partial<ActionSheetMessages>` | — | ActionSheet | Words laid over the language in force, key by key: the cancel’s words when it is given no children (cancel) |
|
|
70
|
+
| `initialFocus` | `RefObject<HTMLElement> \| false` | — | ActionSheet | Where focus goes on opening. Unstated, the first action that can run, or the least destructive one when that action is danger. false moves nothing |
|
|
71
|
+
| `finalFocus` | `RefObject<HTMLElement> \| false` | — | ActionSheet | Where focus goes on closing. Unstated, the element that held it on opening |
|
|
72
|
+
| `value` | `string` | — | ActionSheetItem | What the close request carries as result when this action is chosen |
|
|
73
|
+
| `textValue` | `string` | — | ActionSheetItem | What typeahead matches when the label is not plain text |
|
|
74
|
+
| `icon` | `ReactNode` | — | ActionSheetItem | The action’s visual, drawn in the mark column |
|
|
75
|
+
| `description` | `ReactNode` | — | ActionSheetItem | The second line, which aria-describedby points at |
|
|
76
|
+
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | — | ActionSheetItem | Paints the words, the mark and the highlight. danger is the destructive action |
|
|
77
|
+
| `disabled` | `boolean` | false | ActionSheetItem | The action cannot run. It stays focusable and takes aria-disabled |
|
|
78
|
+
| `loading` | `boolean` | false | ActionSheetItem | The action is running: the ring takes the mark’s box, aria-busy is written, a second press is refused and the sheet stays open |
|
|
79
|
+
| `closeOnSelect` | `boolean` | — | ActionSheetItem | Overrides the sheet’s closeOnSelect for this action |
|
|
80
|
+
| `label` | `ReactNode` | — | ActionSheetGroup | Rendered as the group-label part, and the group’s accessible name |
|
|
81
|
+
| `render` | `(props) => ReactNode` | — | ActionSheetTrigger, ActionSheetContent, ActionSheetTitle, ActionSheetMessage, ActionSheetItem, ActionSheetCancel | Substitutes the element. An item that navigates renders an anchor and keeps its role and keyboard; the trigger becomes the application’s own Button. The list, the groups and the separator are fixed, because their role is what they are |
|
|
82
|
+
| `ref` | `Ref<ActionSheetHandle> on ActionSheet, Ref<HTMLElement> on every part` | — | ActionSheet, every part | On a part it reaches the element. On the family it is a handle with open(), close() and focus() — the actions a consumer cannot express declaratively |
|
|
83
|
+
| `container` | `Element \| null` | — | ActionSheet | A parent for this layer alone instead of the shared portal root, passed to drawer |
|
|
84
|
+
| `useActionSheet()` | `() => ActionSheetContextValue` | — | inside ActionSheet | What the parts read: the open state, the identifiers, the axes and close(reason, result). It throws outside a sheet |
|
|
85
|
+
| `ActionSheetDefaultsProvider` | `{ modal, mount, escape, outsidePress, back, closeOnSelect }` | — | a subtree | The decisions an application takes once. A sheet that states any of them itself still wins |
|
|
86
|
+
|
|
87
|
+
## Events
|
|
88
|
+
|
|
89
|
+
| Name | Payload | When |
|
|
90
|
+
| --- | --- | --- |
|
|
91
|
+
| `onOpenChange` | `(open: boolean, request: ActionSheetChangeRequest)` | Before the sheet moves, for every way it can: reason is pointer or keyboard from the trigger, pointer from a drag of the sheet that asks to close, select from an item, dismiss from the cancel, escape, outsidePress, back, or programmatic from the handle. result carries the chosen item’s value when the reason is select, and cancel() refuses the move before anything commits. |
|
|
92
|
+
| `onSelect` | `(event: ActionSheetSelectEvent)` | On ActionSheetItem, when an item that can run is activated, before the sheet asks to close. The event carries reason, value and the originating event; preventDefault() keeps the sheet open. |
|
|
93
|
+
| `onClick, onKeyDown, onPointerMove, on every part` | `the element’s own events` | Whenever the element fires them. The consumer’s handler runs first, and preventDefault() refuses the family’s own behavior. |
|
|
94
|
+
|
|
6
95
|
## Axes and defaults
|
|
7
96
|
|
|
8
97
|
| Axis | Values | Default |
|
|
@@ -14,6 +103,208 @@
|
|
|
14
103
|
| `back` | `close`, `none` | `close` |
|
|
15
104
|
| `closeOnSelect` | `true`, `false` | `true` |
|
|
16
105
|
|
|
106
|
+
## Rules
|
|
107
|
+
|
|
108
|
+
- No WAI-ARIA APG pattern describes an action sheet, so the layer answers Dialog (Modal) — w3.org/WAI/ARIA/apg/patterns/dialog-modal/ — and the list answers Menu — w3.org/WAI/ARIA/apg/patterns/menubar/. The panel is role="dialog", aria-modal while modal, named by the title and described by the message; the list is role="menu", named by the same title, and every action is a native button with role="menuitem".
|
|
109
|
+
- The list is one tab stop. ArrowDown and ArrowUp move between actions and wrap, Home and End reach the ends, and a printable character moves to the next action whose label, or textValue, begins with it. Tab moves between the list and the cancel and does not close — the one departure from the menu pattern, because the menu is the content of a dialog and the dialog contains focus. A reader leaves with Escape or the cancel.
|
|
110
|
+
- A screen reader hears the title twice on entry, once for the dialog and once for the menu. Without a name the menu would be anonymous to a reader moving by widget, and the repetition is the cheaper cost.
|
|
111
|
+
- Focus enters on the first action that can run. When that action is destructive it enters on the cancel, which is the least destructive action the dialog pattern’s first note recommends; with no cancel, on the first action that is not danger. It returns to the element that held it on close, except after a press outside a non-modal sheet, where the reader was going somewhere else.
|
|
112
|
+
- A disabled or loading action keeps its place in the ring and takes aria-disabled, as the menu pattern requires; a loading one also carries aria-busy. The cancel is never disabled, because a sheet that cannot be left is a trap. Every action is a control’s height tall, which the theme raises to the 44-pixel comfortable target under a coarse pointer; on a phone the label grows from 14 to 16 pixels with it.
|
|
113
|
+
- The layer is drawer’s, so the sheet answers everything a drawer from the bottom answers: a touch on its body drags it and a release toward the edge asks to close with the reason pointer, which cancel() refuses like any other close; with the virtual keyboard open the sheet lands above the keys. Nothing of that needs a key: Escape and the cancel are the keyboard’s way out.
|
|
114
|
+
- A mouse or a pen moving over an action focuses it, so one row is lit whichever device drives; a finger does not, because focus moving under a touch that is about to scroll would light rows at random.
|
|
115
|
+
|
|
17
116
|
## Tokens
|
|
18
117
|
|
|
19
118
|
`--slotted-action-sheet-footer-surface`, `--slotted-action-sheet-highlight`, `--slotted-action-sheet-highlight-active`, `--slotted-action-sheet-inline-size`, `--slotted-action-sheet-rule-color`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-gap-lg`, `--slotted-control-height-lg`, `--slotted-control-padding-inline-lg`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--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-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
119
|
+
|
|
120
|
+
## Examples
|
|
121
|
+
|
|
122
|
+
### The destructive choice, at the top
|
|
123
|
+
|
|
124
|
+
tone="danger" paints the words, the mark and the highlight red, and the destructive action goes first, where it is noticed. Opened, this sheet puts focus on Cancelar rather than on the danger.
|
|
125
|
+
|
|
126
|
+
Excerpt — not a complete module
|
|
127
|
+
|
|
128
|
+
```tsx
|
|
129
|
+
<ActionSheetList>
|
|
130
|
+
<ActionSheetItem value="delete" tone="danger">
|
|
131
|
+
Delete draft
|
|
132
|
+
</ActionSheetItem>
|
|
133
|
+
<ActionSheetItem value="save">Save draft</ActionSheetItem>
|
|
134
|
+
</ActionSheetList>;
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Groups, a rule, a second line and an action that is not available
|
|
138
|
+
|
|
139
|
+
A group is named by its label, a separator draws the rule between two runs, and a disabled action keeps its place and says in its second line why it cannot run — it stays in the arrow ring and refuses the press.
|
|
140
|
+
|
|
141
|
+
Excerpt — not a complete module
|
|
142
|
+
|
|
143
|
+
```tsx
|
|
144
|
+
<ActionSheetList>
|
|
145
|
+
<ActionSheetGroup label="Send">
|
|
146
|
+
<ActionSheetItem value="remind">Remind the customer</ActionSheetItem>
|
|
147
|
+
<ActionSheetItem value="accounting" disabled description="Available after approval">
|
|
148
|
+
Send to accounting
|
|
149
|
+
</ActionSheetItem>
|
|
150
|
+
</ActionSheetGroup>
|
|
151
|
+
<ActionSheetSeparator />
|
|
152
|
+
<ActionSheetGroup label="Estado">
|
|
153
|
+
<ActionSheetItem value="paid" tone="success">
|
|
154
|
+
Marcar como paga
|
|
155
|
+
</ActionSheetItem>
|
|
156
|
+
</ActionSheetGroup>
|
|
157
|
+
</ActionSheetList>;
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Content the family did not choose
|
|
161
|
+
|
|
162
|
+
A title of two lines, a long message, labels that wrap and a reference with no spaces: nothing truncates, the list is the one row that scrolls, and the title and the cancel stay on screen.
|
|
163
|
+
|
|
164
|
+
Excerpt — not a complete module
|
|
165
|
+
|
|
166
|
+
```tsx
|
|
167
|
+
<ActionSheetItem value="copy-ref">
|
|
168
|
+
Copiar ENC-2026-0000088213-ATLANTICA-PT-LISBOA-NORTE
|
|
169
|
+
</ActionSheetItem>;
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### An action that takes time
|
|
173
|
+
|
|
174
|
+
Press Descarregar PDF: the ring takes the mark’s box and the label stays, so nothing moves; the item carries aria-busy, refuses a second press, and the sheet stays open until the consumer clears loading.
|
|
175
|
+
|
|
176
|
+
Excerpt — not a complete module
|
|
177
|
+
|
|
178
|
+
```tsx
|
|
179
|
+
<ActionSheetItem
|
|
180
|
+
value="pdf"
|
|
181
|
+
loading={exporting}
|
|
182
|
+
onSelect={(event) => {
|
|
183
|
+
event.preventDefault();
|
|
184
|
+
setExporting(true);
|
|
185
|
+
exportPdf().then(() => {
|
|
186
|
+
setExporting(false);
|
|
187
|
+
setOpen(false);
|
|
188
|
+
});
|
|
189
|
+
}}
|
|
190
|
+
>
|
|
191
|
+
Descarregar PDF
|
|
192
|
+
</ActionSheetItem>;
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Modal, or beside the page
|
|
196
|
+
|
|
197
|
+
modal is the default: the page is inert, the scroll is locked and the scrim is painted. modal={false} paints no scrim and leaves the page operable — the map behind stays live — while a press outside still closes the sheet.
|
|
198
|
+
|
|
199
|
+
Excerpt — not a complete module
|
|
200
|
+
|
|
201
|
+
```tsx
|
|
202
|
+
<ActionSheet modal={false}>…</ActionSheet>;
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### What may close it
|
|
206
|
+
|
|
207
|
+
escape, outsidePress and back each take close or none, and every close is a request the consumer can cancel. Here only Cancelar closes the sheet; the line under the trigger names each request that arrived and whether it was refused.
|
|
208
|
+
|
|
209
|
+
Excerpt — not a complete module
|
|
210
|
+
|
|
211
|
+
```tsx
|
|
212
|
+
<ActionSheet escape="none" outsidePress="none" back="none">
|
|
213
|
+
…
|
|
214
|
+
</ActionSheet>;
|
|
215
|
+
|
|
216
|
+
<ActionSheet
|
|
217
|
+
onOpenChange={(open, request) => {
|
|
218
|
+
if (!open && saving) request.cancel();
|
|
219
|
+
}}
|
|
220
|
+
>
|
|
221
|
+
…
|
|
222
|
+
</ActionSheet>;
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Where focus enters, and where it goes back
|
|
226
|
+
|
|
227
|
+
Focus enters on the first action that can run; when that action is destructive it enters on Cancelar, the least destructive one the dialog pattern asks for. On close it returns to the trigger; initialFocus and finalFocus name other elements.
|
|
228
|
+
|
|
229
|
+
Excerpt — not a complete module
|
|
230
|
+
|
|
231
|
+
```tsx
|
|
232
|
+
<ActionSheet initialFocus={saveRef} finalFocus={composerRef}>
|
|
233
|
+
…
|
|
234
|
+
</ActionSheet>;
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Which action was chosen, and why it closed
|
|
238
|
+
|
|
239
|
+
The close request carries reason and, when the reason is select, result — the value of the item chosen. There is no controller that returns a promise: the request already says what the promise would.
|
|
240
|
+
|
|
241
|
+
Excerpt — not a complete module
|
|
242
|
+
|
|
243
|
+
```tsx
|
|
244
|
+
<ActionSheet
|
|
245
|
+
open={open}
|
|
246
|
+
onOpenChange={(next, request) => {
|
|
247
|
+
setOpen(next);
|
|
248
|
+
if (request.reason === 'select') archive(request.result);
|
|
249
|
+
}}
|
|
250
|
+
>
|
|
251
|
+
…
|
|
252
|
+
</ActionSheet>;
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### One list of actions, a menu on a pointer and a sheet on a phone
|
|
256
|
+
|
|
257
|
+
The item vocabulary is menu’s, word for word — value, icon, description, tone, disabled, onSelect — so one array renders as either family, and the breakpoint that picks between them is the application’s.
|
|
258
|
+
|
|
259
|
+
Excerpt — not a complete module
|
|
260
|
+
|
|
261
|
+
```tsx
|
|
262
|
+
const coarse = useMediaQuery('(pointer: coarse)');
|
|
263
|
+
|
|
264
|
+
coarse ? (
|
|
265
|
+
<ActionSheet>
|
|
266
|
+
<ActionSheetTrigger>More</ActionSheetTrigger>
|
|
267
|
+
<ActionSheetContent aria-label="Actions">
|
|
268
|
+
<ActionSheetList aria-label="Actions">
|
|
269
|
+
{actions.map((action) => (
|
|
270
|
+
<ActionSheetItem key={action.value} {...action} />
|
|
271
|
+
))}
|
|
272
|
+
</ActionSheetList>
|
|
273
|
+
<ActionSheetCancel />
|
|
274
|
+
</ActionSheetContent>
|
|
275
|
+
</ActionSheet>
|
|
276
|
+
) : (
|
|
277
|
+
<Menu>
|
|
278
|
+
<MenuTrigger>More</MenuTrigger>
|
|
279
|
+
<MenuContent aria-label="Actions">
|
|
280
|
+
{actions.map((action) => (
|
|
281
|
+
<MenuItem key={action.value} {...action} />
|
|
282
|
+
))}
|
|
283
|
+
</MenuContent>
|
|
284
|
+
</Menu>
|
|
285
|
+
);
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Decided once for the application
|
|
289
|
+
|
|
290
|
+
ActionSheetDefaultsProvider sets modal, mount, escape, outsidePress, back and closeOnSelect for every sheet below it, and a sheet that states a value itself still wins. The cancel’s words come from the language in force (SlottedProvider).
|
|
291
|
+
|
|
292
|
+
Excerpt — not a complete module
|
|
293
|
+
|
|
294
|
+
```tsx
|
|
295
|
+
<ActionSheetDefaultsProvider closeOnSelect={false} back="close">
|
|
296
|
+
<App />
|
|
297
|
+
</ActionSheetDefaultsProvider>;
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### The keyboard
|
|
301
|
+
|
|
302
|
+
Open it and use the keys: the arrows move between actions and wrap, Home and End reach the ends, a letter moves to the next action that starts with it, Tab moves between the list and Cancelar, and Escape closes and returns focus.
|
|
303
|
+
|
|
304
|
+
Excerpt — not a complete module
|
|
305
|
+
|
|
306
|
+
```tsx
|
|
307
|
+
<ActionSheetItem value="flag" textValue="Sinalizar">
|
|
308
|
+
<FlagBadge /> Sinalizar
|
|
309
|
+
</ActionSheetItem>;
|
|
310
|
+
```
|
package/dist/docs/alert.json
CHANGED
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
"binding": "react",
|
|
5
5
|
"catalog": {
|
|
6
6
|
"group": "Feedback",
|
|
7
|
-
"summary": "
|
|
7
|
+
"summary": "Framed notice heading a section, a form or a page."
|
|
8
8
|
},
|
|
9
9
|
"axes": {
|
|
10
10
|
"tone": [
|
|
11
11
|
"accent",
|
|
12
12
|
"secondary",
|
|
13
|
+
"info",
|
|
13
14
|
"success",
|
|
14
15
|
"warning",
|
|
15
16
|
"danger"
|
|
@@ -28,6 +29,10 @@
|
|
|
28
29
|
"off",
|
|
29
30
|
"polite",
|
|
30
31
|
"assertive"
|
|
32
|
+
],
|
|
33
|
+
"actionsPlacement": [
|
|
34
|
+
"below",
|
|
35
|
+
"end"
|
|
31
36
|
]
|
|
32
37
|
},
|
|
33
38
|
"members": {
|
|
@@ -118,17 +123,17 @@
|
|
|
118
123
|
"api": [
|
|
119
124
|
{
|
|
120
125
|
"name": "tone",
|
|
121
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
126
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
122
127
|
"defaultValue": "accent",
|
|
123
128
|
"appliesTo": "Alert",
|
|
124
|
-
"description": "Which of the five semantic
|
|
129
|
+
"description": "Which of the five semantic colors the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger"
|
|
125
130
|
},
|
|
126
131
|
{
|
|
127
132
|
"name": "variant",
|
|
128
133
|
"type": "'soft' | 'outline' | 'solid'",
|
|
129
134
|
"defaultValue": "soft",
|
|
130
135
|
"appliesTo": "Alert",
|
|
131
|
-
"description": "How that
|
|
136
|
+
"description": "How that color is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it"
|
|
132
137
|
},
|
|
133
138
|
{
|
|
134
139
|
"name": "reach",
|
|
@@ -144,6 +149,13 @@
|
|
|
144
149
|
"appliesTo": "Alert",
|
|
145
150
|
"description": "Whether the text announces itself. polite writes role=\"status\" on the content part and assertive writes role=\"alert\"; both imply aria-live and aria-atomic, and neither is written on the box"
|
|
146
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"name": "actionsPlacement",
|
|
154
|
+
"type": "'below' | 'end'",
|
|
155
|
+
"defaultValue": "end for reach='page', below otherwise",
|
|
156
|
+
"appliesTo": "Alert",
|
|
157
|
+
"description": "Where the actions stand. below puts them on a row under the words; end puts them at the end of the words’ line, before the dismiss control, once the box is 40rem wide, and under the words below that width"
|
|
158
|
+
},
|
|
147
159
|
{
|
|
148
160
|
"name": "hideIcon",
|
|
149
161
|
"type": "boolean",
|
|
@@ -235,7 +247,7 @@
|
|
|
235
247
|
"The applicable pattern is the WAI-ARIA APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/). It declares one role and no keyboard interaction: an alert is not a widget, so it holds no keys. Its two prose requirements — that an alert must not affect keyboard focus, and must not disappear on its own — are what this family declines automatic focus and automatic dismissal for.",
|
|
236
248
|
"The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and every alert worth shipping has a dismiss control. The root renders a section named by its own title through aria-labelledby, and the region that announces is the content part, which holds the title and the description alone.",
|
|
237
249
|
"live defaults to off because the APG records that “screen readers do not inform users of alerts that are present on the page before page load completes”. An alert already on the page announces nothing whatever role it carries; polite and assertive are for a message that arrives while the reader is working, and both are written as a role that already implies aria-live and aria-atomic.",
|
|
238
|
-
"Every tone with a severity carries a mark as well as a
|
|
250
|
+
"Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.",
|
|
239
251
|
"The dismiss control is a real button with a real name and an inner control rather than a Button (R2): its box is the glyph plus a step of air on each side, floored at --slotted-target-min, which is the WCAG 2.2 2.5.8 minimum of 24 CSS pixels; at rest it has no frame and no ground, and hover moves only the ground.",
|
|
240
252
|
"When the message closes with focus inside it, the keyboard goes back to the element it came from. None of the ten surveyed implementations answers this, and the failure it prevents is the one a real product hits first: the dismiss control is destroyed, focus falls to the document body, and the next Tab starts again at the top of the page.",
|
|
241
253
|
"Closing hides rather than unmounts, so the live region is still in the document if the message comes back and data-open is a state a consumer can style. An application that must not pay for the hidden subtree renders the alert conditionally and never passes defaultOpen.",
|
|
@@ -244,6 +256,7 @@
|
|
|
244
256
|
}
|
|
245
257
|
},
|
|
246
258
|
"tokens": [
|
|
259
|
+
"--slotted-action-gap",
|
|
247
260
|
"--slotted-alert-actions-gap",
|
|
248
261
|
"--slotted-alert-border-width",
|
|
249
262
|
"--slotted-alert-column-gap",
|
|
@@ -287,7 +300,6 @@
|
|
|
287
300
|
"--slotted-radius-md",
|
|
288
301
|
"--slotted-radius-sm",
|
|
289
302
|
"--slotted-space-2",
|
|
290
|
-
"--slotted-space-3",
|
|
291
303
|
"--slotted-space-4",
|
|
292
304
|
"--slotted-space-5",
|
|
293
305
|
"--slotted-space-6",
|
|
@@ -304,6 +316,11 @@
|
|
|
304
316
|
"--slotted-tone-danger-solid",
|
|
305
317
|
"--slotted-tone-danger-surface",
|
|
306
318
|
"--slotted-tone-danger-text",
|
|
319
|
+
"--slotted-tone-info-border",
|
|
320
|
+
"--slotted-tone-info-on-solid",
|
|
321
|
+
"--slotted-tone-info-solid",
|
|
322
|
+
"--slotted-tone-info-surface",
|
|
323
|
+
"--slotted-tone-info-text",
|
|
307
324
|
"--slotted-tone-secondary-border",
|
|
308
325
|
"--slotted-tone-secondary-on-solid",
|
|
309
326
|
"--slotted-tone-secondary-solid",
|
|
@@ -324,17 +341,17 @@
|
|
|
324
341
|
{
|
|
325
342
|
"id": "playground",
|
|
326
343
|
"title": "Playground",
|
|
327
|
-
"note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and the mark changes with it, which is what makes the five distinguishable in
|
|
344
|
+
"note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and the mark changes with it, which is what makes the five distinguishable in grayscale.",
|
|
328
345
|
"language": "tsx",
|
|
329
|
-
"source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>
|
|
346
|
+
"source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Your subscription expires in three days</AlertTitle>\n <AlertDescription>Renew to keep access for your team.</AlertDescription>\n </AlertContent>\n</Alert>;\n",
|
|
330
347
|
"verdict": "excerpt"
|
|
331
348
|
},
|
|
332
349
|
{
|
|
333
350
|
"id": "tones",
|
|
334
351
|
"title": "What the message is about",
|
|
335
|
-
"note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in
|
|
352
|
+
"note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left.",
|
|
336
353
|
"language": "tsx",
|
|
337
|
-
"source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\n<Alert tone=\"danger\">\n <AlertContent>\n <AlertTitle>
|
|
354
|
+
"source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\n<Alert tone=\"danger\">\n <AlertContent>\n <AlertTitle>Could not save</AlertTitle>\n </AlertContent>\n</Alert>;\n",
|
|
338
355
|
"verdict": "excerpt"
|
|
339
356
|
},
|
|
340
357
|
{
|
|
@@ -350,7 +367,7 @@
|
|
|
350
367
|
"title": "How far the message reaches",
|
|
351
368
|
"note": "The guide’s three recipes as one axis: inline beside the thing it is about, section inside a page section, page across an application. A page banner loses its corners because it runs to both edges.",
|
|
352
369
|
"language": "tsx",
|
|
353
|
-
"source": "<Alert reach=\"inline\" tone=\"danger\">\n <AlertContent>\n <AlertDescription>
|
|
370
|
+
"source": "<Alert reach=\"inline\" tone=\"danger\">\n <AlertContent>\n <AlertDescription>Enter a valid EIN.</AlertDescription>\n </AlertContent>\n</Alert>;\n\n<Alert reach=\"page\" tone=\"warning\" />;\n",
|
|
354
371
|
"verdict": "excerpt"
|
|
355
372
|
},
|
|
356
373
|
{
|
|
@@ -364,9 +381,9 @@
|
|
|
364
381
|
{
|
|
365
382
|
"id": "actions",
|
|
366
383
|
"title": "What the message asks for",
|
|
367
|
-
"note": "The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow.",
|
|
384
|
+
"note": "The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow. actionsPlacement=\"end\" puts them at the end of the message’s own line once the box is 40rem wide, which a page banner does by default. Each Button in the part takes the alert’s tone and the sm size; a Button that states its own tone or size keeps it. The first action is solid and every other one ghost; outline draws no fill over the alert’s ground and is not used here.",
|
|
368
385
|
"language": "tsx",
|
|
369
|
-
"source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>
|
|
386
|
+
"source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Your subscription expires in three days</AlertTitle>\n </AlertContent>\n <AlertActions>\n <Button>Renew</Button>\n <Button variant=\"ghost\">View plans</Button>\n </AlertActions>\n</Alert>;\n\n<Alert actionsPlacement=\"end\">\n <AlertContent>\n <AlertDescription>The suggestion changes three lines of the plan.</AlertDescription>\n </AlertContent>\n <AlertActions>\n <Button>Apply</Button>\n </AlertActions>\n</Alert>;\n",
|
|
370
387
|
"verdict": "excerpt"
|
|
371
388
|
},
|
|
372
389
|
{
|
|
@@ -390,7 +407,7 @@
|
|
|
390
407
|
"title": "Composition and escape hatches",
|
|
391
408
|
"note": "The provider sets the defaults once, render substitutes the element of any part, icon replaces the mark, and ref reaches the section so a page that must move focus to the message can.",
|
|
392
409
|
"language": "tsx",
|
|
393
|
-
"source": "<AlertDefaultsProvider reach=\"page\">\n <App />\n</AlertDefaultsProvider>;\n\n<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>\n <AlertContent>\n <AlertTitle render={(props) => <h3 {...props} />}>
|
|
410
|
+
"source": "<AlertDefaultsProvider reach=\"page\">\n <App />\n</AlertDefaultsProvider>;\n\n<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>\n <AlertContent>\n <AlertTitle render={(props) => <h3 {...props} />}>Maintenance</AlertTitle>\n </AlertContent>\n</Alert>;\n",
|
|
394
411
|
"verdict": "excerpt"
|
|
395
412
|
},
|
|
396
413
|
{
|
|
@@ -398,7 +415,7 @@
|
|
|
398
415
|
"title": "The landmark, the region and the keyboard",
|
|
399
416
|
"note": "Tab into the message and out of it: the box is a region a reader can jump to, the text is the only thing that announces, and closing the message puts the keyboard back where it came from.",
|
|
400
417
|
"language": "tsx",
|
|
401
|
-
"source": "// A region landmark named \"
|
|
418
|
+
"source": "// A region landmark named \"Maintenance\", holding a polite status region.\n<Alert live=\"polite\">\n <AlertContent>\n <AlertTitle>Maintenance</AlertTitle>\n </AlertContent>\n</Alert>;\n\n// No title: a plain grouping element, and no landmark to jump to.\n<Alert>\n <AlertContent>Done.</AlertContent>\n</Alert>;\n",
|
|
402
419
|
"verdict": "excerpt"
|
|
403
420
|
}
|
|
404
421
|
]
|
package/dist/docs/alert.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- index: ./index.md -->
|
|
2
2
|
# alert
|
|
3
3
|
|
|
4
|
-
`data-ui="alert"` ·
|
|
4
|
+
`data-ui="alert"` · Framed notice heading a section, a form or a page.
|
|
5
5
|
|
|
6
6
|
## Import
|
|
7
7
|
|
|
@@ -23,8 +23,8 @@ Excerpt — not a complete module
|
|
|
23
23
|
```tsx
|
|
24
24
|
<Alert tone="warning">
|
|
25
25
|
<AlertContent>
|
|
26
|
-
<AlertTitle>
|
|
27
|
-
<AlertDescription>
|
|
26
|
+
<AlertTitle>Your subscription expires in three days</AlertTitle>
|
|
27
|
+
<AlertDescription>Renew to keep access for your team.</AlertDescription>
|
|
28
28
|
</AlertContent>
|
|
29
29
|
</Alert>;
|
|
30
30
|
```
|
|
@@ -45,10 +45,11 @@ Excerpt — not a complete module
|
|
|
45
45
|
|
|
46
46
|
| Name | Type | Default | Applies to | Description |
|
|
47
47
|
| --- | --- | --- | --- | --- |
|
|
48
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | accent | Alert | Which of the five semantic
|
|
49
|
-
| `variant` | `'soft' \| 'outline' \| 'solid'` | soft | Alert | How that
|
|
48
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | Alert | Which of the five semantic colors the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger |
|
|
49
|
+
| `variant` | `'soft' \| 'outline' \| 'solid'` | soft | Alert | How that color is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it |
|
|
50
50
|
| `reach` | `'inline' \| 'section' \| 'page'` | section | Alert | The scope the message applies to. inline is tightest and sits beside a field group; page loses its corners and its inline edges because it runs to both edges of what holds it |
|
|
51
51
|
| `live` | `'off' \| 'polite' \| 'assertive'` | off | Alert | Whether the text announces itself. polite writes role="status" on the content part and assertive writes role="alert"; both imply aria-live and aria-atomic, and neither is written on the box |
|
|
52
|
+
| `actionsPlacement` | `'below' \| 'end'` | end for reach='page', below otherwise | Alert | Where the actions stand. below puts them on a row under the words; end puts them at the end of the words’ line, before the dismiss control, once the box is 40rem wide, and under the words below that width |
|
|
52
53
|
| `hideIcon` | `boolean` | false | Alert | Draws no mark at all, for a callout that carries its own artwork in the body |
|
|
53
54
|
| `icon` | `ReactNode` | — | Alert | Replaces the tone’s mark, keeping the box, the size and the place on the message’s first line. Angular projects an element carrying slAlertIcon instead |
|
|
54
55
|
| `dismissible` | `boolean` | false | Alert | Renders the control that closes the message. A critical banner should not have one: the guide’s rule is that it does not go away on its own |
|
|
@@ -71,17 +72,18 @@ Excerpt — not a complete module
|
|
|
71
72
|
|
|
72
73
|
| Axis | Values | Default |
|
|
73
74
|
| --- | --- | --- |
|
|
74
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `accent` |
|
|
75
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `accent` |
|
|
75
76
|
| `variant` | `soft`, `outline`, `solid` | `soft` |
|
|
76
77
|
| `reach` | `inline`, `section`, `page` | `section` |
|
|
77
78
|
| `live` | `off`, `polite`, `assertive` | `off` |
|
|
79
|
+
| `actionsPlacement` | `below`, `end` | — |
|
|
78
80
|
|
|
79
81
|
## Rules
|
|
80
82
|
|
|
81
83
|
- The applicable pattern is the WAI-ARIA APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/). It declares one role and no keyboard interaction: an alert is not a widget, so it holds no keys. Its two prose requirements — that an alert must not affect keyboard focus, and must not disappear on its own — are what this family declines automatic focus and automatic dismissal for.
|
|
82
84
|
- The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and every alert worth shipping has a dismiss control. The root renders a section named by its own title through aria-labelledby, and the region that announces is the content part, which holds the title and the description alone.
|
|
83
85
|
- live defaults to off because the APG records that “screen readers do not inform users of alerts that are present on the page before page load completes”. An alert already on the page announces nothing whatever role it carries; polite and assertive are for a message that arrives while the reader is working, and both are written as a role that already implies aria-live and aria-atomic.
|
|
84
|
-
- Every tone with a severity carries a mark as well as a
|
|
86
|
+
- Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.
|
|
85
87
|
- The dismiss control is a real button with a real name and an inner control rather than a Button (R2): its box is the glyph plus a step of air on each side, floored at --slotted-target-min, which is the WCAG 2.2 2.5.8 minimum of 24 CSS pixels; at rest it has no frame and no ground, and hover moves only the ground.
|
|
86
88
|
- When the message closes with focus inside it, the keyboard goes back to the element it came from. None of the ten surveyed implementations answers this, and the failure it prevents is the one a real product hits first: the dismiss control is destroyed, focus falls to the document body, and the next Tab starts again at the top of the page.
|
|
87
89
|
- Closing hides rather than unmounts, so the live region is still in the document if the message comes back and data-open is a state a consumer can style. An application that must not pay for the hidden subtree renders the alert conditionally and never passes defaultOpen.
|
|
@@ -89,13 +91,13 @@ Excerpt — not a complete module
|
|
|
89
91
|
|
|
90
92
|
## Tokens
|
|
91
93
|
|
|
92
|
-
`--slotted-alert-actions-gap`, `--slotted-alert-border-width`, `--slotted-alert-column-gap`, `--slotted-alert-dismiss-radius`, `--slotted-alert-dismiss-size`, `--slotted-alert-font-family`, `--slotted-alert-padding-block`, `--slotted-alert-padding-inline`, `--slotted-alert-radius`, `--slotted-alert-row-gap`, `--slotted-alert-state-layer-active`, `--slotted-alert-state-layer-hover`, `--slotted-alert-text-gap`, `--slotted-alert-title-font-family`, `--slotted-alert-title-font-weight`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-space-
|
|
94
|
+
`--slotted-action-gap`, `--slotted-alert-actions-gap`, `--slotted-alert-border-width`, `--slotted-alert-column-gap`, `--slotted-alert-dismiss-radius`, `--slotted-alert-dismiss-size`, `--slotted-alert-font-family`, `--slotted-alert-padding-block`, `--slotted-alert-padding-inline`, `--slotted-alert-radius`, `--slotted-alert-row-gap`, `--slotted-alert-state-layer-active`, `--slotted-alert-state-layer-hover`, `--slotted-alert-text-gap`, `--slotted-alert-title-font-family`, `--slotted-alert-title-font-weight`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
93
95
|
|
|
94
96
|
## Examples
|
|
95
97
|
|
|
96
98
|
### What the message is about
|
|
97
99
|
|
|
98
|
-
Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in
|
|
100
|
+
Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left.
|
|
99
101
|
|
|
100
102
|
Excerpt — not a complete module
|
|
101
103
|
|
|
@@ -104,7 +106,7 @@ Excerpt — not a complete module
|
|
|
104
106
|
// finished, warning something that needs attention, danger something failed.
|
|
105
107
|
<Alert tone="danger">
|
|
106
108
|
<AlertContent>
|
|
107
|
-
<AlertTitle>
|
|
109
|
+
<AlertTitle>Could not save</AlertTitle>
|
|
108
110
|
</AlertContent>
|
|
109
111
|
</Alert>;
|
|
110
112
|
```
|
|
@@ -135,7 +137,7 @@ Excerpt — not a complete module
|
|
|
135
137
|
```tsx
|
|
136
138
|
<Alert reach="inline" tone="danger">
|
|
137
139
|
<AlertContent>
|
|
138
|
-
<AlertDescription>
|
|
140
|
+
<AlertDescription>Enter a valid EIN.</AlertDescription>
|
|
139
141
|
</AlertContent>
|
|
140
142
|
</Alert>;
|
|
141
143
|
|
|
@@ -163,22 +165,27 @@ Excerpt — not a complete module
|
|
|
163
165
|
|
|
164
166
|
### What the message asks for
|
|
165
167
|
|
|
166
|
-
The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow.
|
|
168
|
+
The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow. actionsPlacement="end" puts them at the end of the message’s own line once the box is 40rem wide, which a page banner does by default. Each Button in the part takes the alert’s tone and the sm size; a Button that states its own tone or size keeps it. The first action is solid and every other one ghost; outline draws no fill over the alert’s ground and is not used here.
|
|
167
169
|
|
|
168
170
|
Excerpt — not a complete module
|
|
169
171
|
|
|
170
172
|
```tsx
|
|
171
173
|
<Alert tone="warning">
|
|
172
174
|
<AlertContent>
|
|
173
|
-
<AlertTitle>
|
|
175
|
+
<AlertTitle>Your subscription expires in three days</AlertTitle>
|
|
174
176
|
</AlertContent>
|
|
175
177
|
<AlertActions>
|
|
176
|
-
<Button
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
<Button>Renew</Button>
|
|
179
|
+
<Button variant="ghost">View plans</Button>
|
|
180
|
+
</AlertActions>
|
|
181
|
+
</Alert>;
|
|
182
|
+
|
|
183
|
+
<Alert actionsPlacement="end">
|
|
184
|
+
<AlertContent>
|
|
185
|
+
<AlertDescription>The suggestion changes three lines of the plan.</AlertDescription>
|
|
186
|
+
</AlertContent>
|
|
187
|
+
<AlertActions>
|
|
188
|
+
<Button>Apply</Button>
|
|
182
189
|
</AlertActions>
|
|
183
190
|
</Alert>;
|
|
184
191
|
```
|
|
@@ -225,7 +232,7 @@ Excerpt — not a complete module
|
|
|
225
232
|
|
|
226
233
|
<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>
|
|
227
234
|
<AlertContent>
|
|
228
|
-
<AlertTitle render={(props) => <h3 {...props} />}>
|
|
235
|
+
<AlertTitle render={(props) => <h3 {...props} />}>Maintenance</AlertTitle>
|
|
229
236
|
</AlertContent>
|
|
230
237
|
</Alert>;
|
|
231
238
|
```
|
|
@@ -237,15 +244,15 @@ Tab into the message and out of it: the box is a region a reader can jump to, th
|
|
|
237
244
|
Excerpt — not a complete module
|
|
238
245
|
|
|
239
246
|
```tsx
|
|
240
|
-
// A region landmark named "
|
|
247
|
+
// A region landmark named "Maintenance", holding a polite status region.
|
|
241
248
|
<Alert live="polite">
|
|
242
249
|
<AlertContent>
|
|
243
|
-
<AlertTitle>
|
|
250
|
+
<AlertTitle>Maintenance</AlertTitle>
|
|
244
251
|
</AlertContent>
|
|
245
252
|
</Alert>;
|
|
246
253
|
|
|
247
254
|
// No title: a plain grouping element, and no landmark to jump to.
|
|
248
255
|
<Alert>
|
|
249
|
-
<AlertContent>
|
|
256
|
+
<AlertContent>Done.</AlertContent>
|
|
250
257
|
</Alert>;
|
|
251
258
|
```
|