@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
package/dist/docs/avatar.md
CHANGED
|
@@ -15,14 +15,15 @@ Excerpt — not a complete module
|
|
|
15
15
|
|
|
16
16
|
| Name | Type | Default | Applies to | Description |
|
|
17
17
|
| --- | --- | --- | --- | --- |
|
|
18
|
-
| `name` | `string` | — | Avatar | The person or entity. It is the accessible name in every status, the source of the initials, and the seed of the
|
|
18
|
+
| `name` | `string` | — | Avatar | The person or entity. It is the accessible name in every status, the source of the initials, and the seed of the color |
|
|
19
19
|
| `src` | `string` | — | Avatar | The picture. Absent, the avatar is its fallback and nothing is requested |
|
|
20
20
|
| `initials` | `string` | — | Avatar | The letters to draw, in place of the ones derived from the name |
|
|
21
|
-
| `tone` | `'auto' \| 'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | auto | Avatar | Which of the five semantic
|
|
22
|
-
| `idFor` | `string` | — | Avatar | A stable identifier to derive the
|
|
23
|
-
| `variant` | `'soft' \| 'solid'` | soft | Avatar | How that
|
|
21
|
+
| `tone` | `'auto' \| 'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | auto | Avatar | Which of the five semantic colors the fallback is painted in. auto derives it from the name |
|
|
22
|
+
| `idFor` | `string` | — | Avatar | A stable identifier to derive the color from, when the name is not stable or two people share one |
|
|
23
|
+
| `variant` | `'soft' \| 'solid'` | soft | Avatar | How that color is painted: tinted, or filled |
|
|
24
|
+
| `surface` | `'tone' \| 'none' \| 'plate'` | tone | Avatar | The ground behind the avatar: the tone behind the fallback and nothing behind a loaded picture; nothing at all; or a light plate in every scheme, for a logo made for a white ground (--slotted-avatar-plate-surface) |
|
|
24
25
|
| `size` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | md | Avatar | Five steps, each of which answers density. --slotted-avatar-size states a size no step holds |
|
|
25
|
-
| `shape` | `'circle' \| 'square'` | circle | Avatar | A circle is a person; a square is a team, an
|
|
26
|
+
| `shape` | `'circle' \| 'square'` | circle | Avatar | A circle is a person; a square is a team, an organization or a bot |
|
|
26
27
|
| `status` | `'idle' \| 'loading' \| 'loaded' \| 'error'` | — | Avatar | Where the picture is. Supplied, it wins over what the family derives from the element |
|
|
27
28
|
| `onStatusChange` | `(status) => void` | — | Avatar | Reports the derived status. Never called for a status passed in |
|
|
28
29
|
| `disabled` | `boolean` | false | Avatar | A deactivated account, or an avatar inside a control the page has turned off |
|
|
@@ -40,8 +41,9 @@ Excerpt — not a complete module
|
|
|
40
41
|
| --- | --- | --- |
|
|
41
42
|
| `size` | `xs`, `sm`, `md`, `lg`, `xl` | `md` |
|
|
42
43
|
| `shape` | `circle`, `square` | `circle` |
|
|
43
|
-
| `tone` | `auto`, `accent`, `secondary`, `success`, `warning`, `danger` | `auto` |
|
|
44
|
+
| `tone` | `auto`, `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `auto` |
|
|
44
45
|
| `variant` | `soft`, `solid` | `soft` |
|
|
46
|
+
| `surface` | `tone`, `none`, `plate` | `tone` |
|
|
45
47
|
| `status` | `idle`, `loading`, `loaded`, `error` | — |
|
|
46
48
|
|
|
47
49
|
## Rules
|
|
@@ -49,17 +51,17 @@ Excerpt — not a complete module
|
|
|
49
51
|
- There is no avatar pattern in the WAI-ARIA Authoring Practices — the pattern index carries no entry, and the string does not occur on the page. The applicable guidance is the platform’s own: the img element and the img role in WAI-ARIA 1.2, the W3C WAI alt decision tree, and WCAG 2.2 1.1.1 Non-text Content, 1.4.11 Non-text Contrast and 2.5.8 Target Size (Minimum).
|
|
50
52
|
- The name is on the root, as aria-label with role="img", and the picture takes an empty alt. The avatar therefore announces the same thing in all four statuses: every surveyed implementation names the image instead, which makes the same avatar “Ada Lovelace” once the photograph loads and “AL” before it.
|
|
51
53
|
- An avatar with no name is aria-hidden, which is the rule Icon already takes: a name present decides role="img", an absent one decides that there is nothing to announce.
|
|
52
|
-
- decorative is the third case — a name that is written beside the avatar, where announcing it would read the person twice. The name still drives the initials and the
|
|
53
|
-
- The
|
|
54
|
+
- decorative is the third case — a name that is written beside the avatar, where announcing it would read the person twice. The name still drives the initials and the color.
|
|
55
|
+
- The color derived from a name is an aid to scanning a list, never the identifier: five tones mean collisions are certain, and color alone is not a signal. The name is what identifies the person, and it is present in every state.
|
|
54
56
|
- An avatar is not focusable and not a command. render can make the root an anchor or a button, and the family paints the focus ring and the hover edge for exactly that case — and holds both back when the avatar is disabled.
|
|
55
|
-
- An interactive avatar smaller than 24 by 24 CSS pixels grows a
|
|
57
|
+
- An interactive avatar smaller than 24 by 24 CSS pixels grows a centerd overlay to --slotted-target-min, so WCAG 2.2 2.5.8 is met at the two tighter densities without changing any layout. Inside a stack the overlay can reach under a neighbour; the raised member wins the pointer.
|
|
56
58
|
- The fallback glyph is the person Glyph in an aria-hidden Icon, not a character: no font can be relied on to carry a silhouette, and a character would be read out.
|
|
57
|
-
- Under forced
|
|
59
|
+
- Under forced colors the family draws its edge in currentColor, because the theme maps every tone ground to one system color. The photograph is left alone: a portrait reduced to two system colors is not a portrait.
|
|
58
60
|
- The picture crosses over the initials on --slotted-duration-short, which prefers-reduced-motion collapses to 1ms in the theme. Nothing here loops.
|
|
59
61
|
|
|
60
62
|
## Tokens
|
|
61
63
|
|
|
62
|
-
`--slotted-avatar-border-width`, `--slotted-avatar-disabled-image-filter`, `--slotted-avatar-elevation`, `--slotted-avatar-font-family`, `--slotted-avatar-font-weight`, `--slotted-avatar-glyph-size`, `--slotted-avatar-initials-size`, `--slotted-avatar-radius`, `--slotted-avatar-ring-color`, `--slotted-avatar-ring-width`, `--slotted-avatar-size`, `--slotted-avatar-size-lg`, `--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xl`, `--slotted-avatar-size-xs`, `--slotted-avatar-state-layer-active`, `--slotted-avatar-state-layer-hover`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-full`, `--slotted-surface`, `--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-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-hover`, `--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`
|
|
64
|
+
`--slotted-avatar-border-width`, `--slotted-avatar-disabled-image-filter`, `--slotted-avatar-elevation`, `--slotted-avatar-font-family`, `--slotted-avatar-font-weight`, `--slotted-avatar-glyph-size`, `--slotted-avatar-initials-size`, `--slotted-avatar-plate-color`, `--slotted-avatar-plate-surface`, `--slotted-avatar-radius`, `--slotted-avatar-ring-color`, `--slotted-avatar-ring-width`, `--slotted-avatar-size`, `--slotted-avatar-size-lg`, `--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xl`, `--slotted-avatar-size-xs`, `--slotted-avatar-state-layer-active`, `--slotted-avatar-state-layer-hover`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-full`, `--slotted-surface`, `--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-hover`, `--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`
|
|
63
65
|
|
|
64
66
|
## Examples
|
|
65
67
|
|
package/dist/docs/badge.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"tone": [
|
|
11
11
|
"accent",
|
|
12
12
|
"secondary",
|
|
13
|
+
"info",
|
|
13
14
|
"success",
|
|
14
15
|
"warning",
|
|
15
16
|
"danger"
|
|
@@ -88,17 +89,17 @@
|
|
|
88
89
|
"api": [
|
|
89
90
|
{
|
|
90
91
|
"name": "tone",
|
|
91
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
92
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
92
93
|
"defaultValue": "secondary",
|
|
93
94
|
"appliesTo": "Badge",
|
|
94
|
-
"description": "Which of the five semantic
|
|
95
|
+
"description": "Which of the five semantic colors the badge speaks in"
|
|
95
96
|
},
|
|
96
97
|
{
|
|
97
98
|
"name": "variant",
|
|
98
99
|
"type": "'solid' | 'soft' | 'outline'",
|
|
99
100
|
"defaultValue": "soft",
|
|
100
101
|
"appliesTo": "Badge",
|
|
101
|
-
"description": "How that
|
|
102
|
+
"description": "How that color is painted: filled, tinted, or an edge alone. All three draw the same tone edge"
|
|
102
103
|
},
|
|
103
104
|
{
|
|
104
105
|
"name": "size",
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
"type": "ReactNode",
|
|
148
149
|
"defaultValue": "—",
|
|
149
150
|
"appliesTo": "Badge",
|
|
150
|
-
"description": "A glyph before the words, wrapped in the start part, which sizes and
|
|
151
|
+
"description": "A glyph before the words, wrapped in the start part, which sizes and centers it"
|
|
151
152
|
},
|
|
152
153
|
{
|
|
153
154
|
"name": "end",
|
|
@@ -212,11 +213,11 @@
|
|
|
212
213
|
"There is no badge pattern in the WAI-ARIA Authoring Practices — the pattern index carries no entry — and there is no badge role. The applicable guidance is the status role in WAI-ARIA 1.2, and WCAG 2.2 1.4.1 Use of Color, 1.4.11 Non-text Contrast and 4.1.3 Status Messages.",
|
|
213
214
|
"The root is a span with no role. What a badge means comes from where it sits, and a role invented here would be wrong more often than right.",
|
|
214
215
|
"live is the announcement policy for a badge whose value changes: polite writes role=\"status\", whose implicit aria-live and aria-atomic are what a changing count needs; assertive writes role=\"alert\". It is off by default, because a page of twenty badges that all announce is a page no screen reader user can read.",
|
|
215
|
-
"A dot says nothing a screen reader can read. Put the words beside it — a VisuallyHidden inside the badge — because
|
|
216
|
+
"A dot says nothing a screen reader can read. Put the words beside it — a VisuallyHidden inside the badge — because color alone is not a signal. Inside a badge that element is out of flow, so it costs no space and the gap reserves nothing for it.",
|
|
216
217
|
"The dot is the only badge whose whole meaning is a graphic, so its rim is --slotted-border-strong: the one border token the theme holds to 3:1 against the surface. A pill or a square carries text, so its edge is decoration.",
|
|
217
218
|
"BadgeAnchor wraps its host rather than rewriting it. The badge is read after the host in document order. When the host is interactive and its name must carry the count, either wire aria-describedby from the host to the badge’s own id, or name the count in the host’s aria-label — “Inbox, 4 unread messages”.",
|
|
218
219
|
"A badge is not focusable and is never a command: it answers no hover and gives no press feedback. render can make the root an anchor, and the family paints the focus ring for exactly that case.",
|
|
219
|
-
"Under forced
|
|
220
|
+
"Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there. It is the only rule the family writes for that mode.",
|
|
220
221
|
"A count of nought removes the badge from the page entirely rather than leaving an empty circle, so nothing announces a value that is no longer there.",
|
|
221
222
|
"A badge is one line. A string too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it. A value that routinely needs more room is a Tag, not a Badge.",
|
|
222
223
|
"The count is formatted with Intl.NumberFormat, so a total reads 1.234 in de-DE and ١٬٢٣٤ in ar-EG. Set locale on the provider when the application server-renders counts above its grouping threshold."
|
|
@@ -265,6 +266,11 @@
|
|
|
265
266
|
"--slotted-tone-danger-solid",
|
|
266
267
|
"--slotted-tone-danger-surface",
|
|
267
268
|
"--slotted-tone-danger-text",
|
|
269
|
+
"--slotted-tone-info-border",
|
|
270
|
+
"--slotted-tone-info-on-solid",
|
|
271
|
+
"--slotted-tone-info-solid",
|
|
272
|
+
"--slotted-tone-info-surface",
|
|
273
|
+
"--slotted-tone-info-text",
|
|
268
274
|
"--slotted-tone-secondary-border",
|
|
269
275
|
"--slotted-tone-secondary-on-solid",
|
|
270
276
|
"--slotted-tone-secondary-solid-hover",
|
package/dist/docs/badge.md
CHANGED
|
@@ -17,15 +17,15 @@ Excerpt — not a complete module
|
|
|
17
17
|
|
|
18
18
|
| Name | Type | Default | Applies to | Description |
|
|
19
19
|
| --- | --- | --- | --- | --- |
|
|
20
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | Badge | Which of the five semantic
|
|
21
|
-
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | Badge | How that
|
|
20
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | Badge | Which of the five semantic colors the badge speaks in |
|
|
21
|
+
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | Badge | How that color is painted: filled, tinted, or an edge alone. All three draw the same tone edge |
|
|
22
22
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | Badge | Type and glyph come from the control scale, so a badge shrinks with density beside the controls it sits with |
|
|
23
23
|
| `shape` | `'pill' \| 'square' \| 'dot'` | pill | Badge | A dot is the same badge, tone and hidden text, drawn without a value |
|
|
24
24
|
| `count` | `number` | — | Badge | The number the badge shows, written before any children and formatted for the locale |
|
|
25
25
|
| `max` | `number \| false` | 99 | Badge | The largest count written in full; above it the badge shows the ceiling and a plus. false removes the ceiling |
|
|
26
26
|
| `showZero` | `boolean` | false | Badge | Whether a count of nought is a value worth showing or an absence that removes the badge |
|
|
27
27
|
| `locale` | `string` | — | Badge | BCP 47, for the digits of count. Falls back to the provider, then to the runtime |
|
|
28
|
-
| `start` | `ReactNode` | — | Badge | A glyph before the words, wrapped in the start part, which sizes and
|
|
28
|
+
| `start` | `ReactNode` | — | Badge | A glyph before the words, wrapped in the start part, which sizes and centers it |
|
|
29
29
|
| `end` | `ReactNode` | — | Badge | A glyph after the words, wrapped in the end part |
|
|
30
30
|
| `live` | `'off' \| 'polite' \| 'assertive'` | off | Badge | Whether a change to this badge is announced, and how urgently |
|
|
31
31
|
| `placement` | `'top-end' \| 'top-start' \| 'bottom-end' \| 'bottom-start'` | top-end | BadgeAnchor | Which corner of the host the badge sits on. Mirrors in a right-to-left document |
|
|
@@ -39,7 +39,7 @@ Excerpt — not a complete module
|
|
|
39
39
|
|
|
40
40
|
| Axis | Values | Default |
|
|
41
41
|
| --- | --- | --- |
|
|
42
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `secondary` |
|
|
42
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
43
43
|
| `variant` | `solid`, `soft`, `outline` | `soft` |
|
|
44
44
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
45
45
|
| `shape` | `pill`, `square`, `dot` | `pill` |
|
|
@@ -52,18 +52,18 @@ Excerpt — not a complete module
|
|
|
52
52
|
- There is no badge pattern in the WAI-ARIA Authoring Practices — the pattern index carries no entry — and there is no badge role. The applicable guidance is the status role in WAI-ARIA 1.2, and WCAG 2.2 1.4.1 Use of Color, 1.4.11 Non-text Contrast and 4.1.3 Status Messages.
|
|
53
53
|
- The root is a span with no role. What a badge means comes from where it sits, and a role invented here would be wrong more often than right.
|
|
54
54
|
- live is the announcement policy for a badge whose value changes: polite writes role="status", whose implicit aria-live and aria-atomic are what a changing count needs; assertive writes role="alert". It is off by default, because a page of twenty badges that all announce is a page no screen reader user can read.
|
|
55
|
-
- A dot says nothing a screen reader can read. Put the words beside it — a VisuallyHidden inside the badge — because
|
|
55
|
+
- A dot says nothing a screen reader can read. Put the words beside it — a VisuallyHidden inside the badge — because color alone is not a signal. Inside a badge that element is out of flow, so it costs no space and the gap reserves nothing for it.
|
|
56
56
|
- The dot is the only badge whose whole meaning is a graphic, so its rim is --slotted-border-strong: the one border token the theme holds to 3:1 against the surface. A pill or a square carries text, so its edge is decoration.
|
|
57
57
|
- BadgeAnchor wraps its host rather than rewriting it. The badge is read after the host in document order. When the host is interactive and its name must carry the count, either wire aria-describedby from the host to the badge’s own id, or name the count in the host’s aria-label — “Inbox, 4 unread messages”.
|
|
58
58
|
- A badge is not focusable and is never a command: it answers no hover and gives no press feedback. render can make the root an anchor, and the family paints the focus ring for exactly that case.
|
|
59
|
-
- Under forced
|
|
59
|
+
- Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there. It is the only rule the family writes for that mode.
|
|
60
60
|
- A count of nought removes the badge from the page entirely rather than leaving an empty circle, so nothing announces a value that is no longer there.
|
|
61
61
|
- A badge is one line. A string too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it. A value that routinely needs more room is a Tag, not a Badge.
|
|
62
62
|
- The count is formatted with Intl.NumberFormat, so a total reads 1.234 in de-DE and ١٬٢٣٤ in ar-EG. Set locale on the provider when the application server-renders counts above its grouping threshold.
|
|
63
63
|
|
|
64
64
|
## Tokens
|
|
65
65
|
|
|
66
|
-
`--slotted-badge-anchor-offset-x`, `--slotted-badge-anchor-offset-y`, `--slotted-badge-border-width`, `--slotted-badge-dot-border-color`, `--slotted-badge-font-family`, `--slotted-badge-font-weight`, `--slotted-badge-radius`, `--slotted-badge-ring-color`, `--slotted-badge-ring-width`, `--slotted-border-strong`, `--slotted-border-width-thick`, `--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-md`, `--slotted-control-icon-size-sm`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface`, `--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-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-hover`, `--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`
|
|
66
|
+
`--slotted-badge-anchor-offset-x`, `--slotted-badge-anchor-offset-y`, `--slotted-badge-border-width`, `--slotted-badge-dot-border-color`, `--slotted-badge-font-family`, `--slotted-badge-font-weight`, `--slotted-badge-radius`, `--slotted-badge-ring-color`, `--slotted-badge-ring-width`, `--slotted-border-strong`, `--slotted-border-width-thick`, `--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-md`, `--slotted-control-icon-size-sm`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface`, `--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-hover`, `--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`
|
|
67
67
|
|
|
68
68
|
## Examples
|
|
69
69
|
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
{
|
|
302
302
|
"id": "current",
|
|
303
303
|
"title": "The page you are on",
|
|
304
|
-
"note": "The last crumb is a span carrying aria-current=\"page\", which is the value the ARIA specification names for a link inside a set of pages. It gains weight rather than
|
|
304
|
+
"note": "The last crumb is a span carrying aria-current=\"page\", which is the value the ARIA specification names for a link inside a set of pages. It gains weight rather than color alone.",
|
|
305
305
|
"language": "tsx",
|
|
306
306
|
"source": "<BreadcrumbItem>\n <BreadcrumbPage>INV-2026-08-0041</BreadcrumbPage>\n</BreadcrumbItem>;\n",
|
|
307
307
|
"verdict": "excerpt"
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
{
|
|
334
334
|
"id": "switcher",
|
|
335
335
|
"title": "Crumbs that switch between siblings",
|
|
336
|
-
"note": "
|
|
336
|
+
"note": "Organization, project and environment each open a menu of their siblings. The open one keeps its underline and turns its chevron, and the environment the reader is on still says it is this page.",
|
|
337
337
|
"language": "tsx",
|
|
338
338
|
"source": "<BreadcrumbItem>\n <Menu>\n <MenuTrigger\n render={(props) => (\n <BreadcrumbTrigger {...props} current>\n Production\n </BreadcrumbTrigger>\n )}\n />\n <MenuContent>\n <MenuItem>Preview</MenuItem>\n <MenuItem>Development</MenuItem>\n </MenuContent>\n </Menu>\n</BreadcrumbItem>;\n",
|
|
339
339
|
"verdict": "excerpt"
|
package/dist/docs/breadcrumb.md
CHANGED
|
@@ -126,7 +126,7 @@ Excerpt — not a complete module
|
|
|
126
126
|
|
|
127
127
|
### The page you are on
|
|
128
128
|
|
|
129
|
-
The last crumb is a span carrying aria-current="page", which is the value the ARIA specification names for a link inside a set of pages. It gains weight rather than
|
|
129
|
+
The last crumb is a span carrying aria-current="page", which is the value the ARIA specification names for a link inside a set of pages. It gains weight rather than color alone.
|
|
130
130
|
|
|
131
131
|
Excerpt — not a complete module
|
|
132
132
|
|
|
@@ -179,7 +179,7 @@ Excerpt — not a complete module
|
|
|
179
179
|
|
|
180
180
|
### Crumbs that switch between siblings
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
Organization, project and environment each open a menu of their siblings. The open one keeps its underline and turns its chevron, and the environment the reader is on still says it is this page.
|
|
183
183
|
|
|
184
184
|
Excerpt — not a complete module
|
|
185
185
|
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"A boundary that carries meaning is better said by a nested group with a name of its own than by a rule: an announced separator says a boundary exists, while a named group says what is on either side of it.",
|
|
129
129
|
"The separator takes its axis from the group, mirrored: a rule across a row is vertical.",
|
|
130
130
|
"Nothing here depends on hover, and nothing is decided by script. The buttons are joined by the stylesheet alone, so the bar is the same shape before hydration and with JavaScript disabled.",
|
|
131
|
-
"The buttons keep the accessible names, disabled
|
|
131
|
+
"The buttons keep the accessible names, disabled behavior and loading announcements the button family gives them. The group adds nothing to them and removes nothing from them.",
|
|
132
132
|
"A toggle button belongs in a bar of actions, and the group keeps its frame whole around one — but an exclusive set of them is toggle-group, not this family. Built here by hand the set has no exclusivity, no shared keyboard and one tab stop per control where the pattern gives one for the set; toggle-group owns the value, the roving focus and the group semantics over it."
|
|
133
133
|
]
|
|
134
134
|
}
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
"--slotted-text-muted",
|
|
141
141
|
"--slotted-tone-accent-solid-active",
|
|
142
142
|
"--slotted-tone-danger-solid-active",
|
|
143
|
+
"--slotted-tone-info-solid-active",
|
|
143
144
|
"--slotted-tone-neutral-solid-active",
|
|
144
145
|
"--slotted-tone-secondary-solid-active",
|
|
145
146
|
"--slotted-tone-success-solid-active",
|
|
@@ -46,12 +46,12 @@ Excerpt — not a complete module
|
|
|
46
46
|
- A boundary that carries meaning is better said by a nested group with a name of its own than by a rule: an announced separator says a boundary exists, while a named group says what is on either side of it.
|
|
47
47
|
- The separator takes its axis from the group, mirrored: a rule across a row is vertical.
|
|
48
48
|
- Nothing here depends on hover, and nothing is decided by script. The buttons are joined by the stylesheet alone, so the bar is the same shape before hydration and with JavaScript disabled.
|
|
49
|
-
- The buttons keep the accessible names, disabled
|
|
49
|
+
- The buttons keep the accessible names, disabled behavior and loading announcements the button family gives them. The group adds nothing to them and removes nothing from them.
|
|
50
50
|
- A toggle button belongs in a bar of actions, and the group keeps its frame whole around one — but an exclusive set of them is toggle-group, not this family. Built here by hand the set has no exclusivity, no shared keyboard and one tab stop per control where the pattern gives one for the set; toggle-group owns the value, the roving focus and the group semantics over it.
|
|
51
51
|
|
|
52
52
|
## Tokens
|
|
53
53
|
|
|
54
|
-
`--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-radius`, `--slotted-text-muted`, `--slotted-tone-accent-solid-active`, `--slotted-tone-danger-solid-active`, `--slotted-tone-neutral-solid-active`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-success-solid-active`, `--slotted-tone-warning-solid-active`
|
|
54
|
+
`--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-radius`, `--slotted-text-muted`, `--slotted-tone-accent-solid-active`, `--slotted-tone-danger-solid-active`, `--slotted-tone-info-solid-active`, `--slotted-tone-neutral-solid-active`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-success-solid-active`, `--slotted-tone-warning-solid-active`
|
|
55
55
|
|
|
56
56
|
## Examples
|
|
57
57
|
|
|
@@ -104,6 +104,26 @@ import { Bold } from 'lucide-react';
|
|
|
104
104
|
</IconButton>;
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
+
### Previous and next record
|
|
108
|
+
|
|
109
|
+
Excerpt — not a complete module
|
|
110
|
+
|
|
111
|
+
```tsx
|
|
112
|
+
import { ChevronLeft, ChevronRight } from 'lucide-react';
|
|
113
|
+
|
|
114
|
+
<ButtonGroup aria-label="Records">
|
|
115
|
+
<IconButtonLink
|
|
116
|
+
aria-label="Previous record"
|
|
117
|
+
render={(props) => <RouterLink to="/records/1" {...props} />}
|
|
118
|
+
>
|
|
119
|
+
<ChevronLeft aria-hidden="true" />
|
|
120
|
+
</IconButtonLink>
|
|
121
|
+
<IconButtonLink aria-label="Next record" href="/records/3">
|
|
122
|
+
<ChevronRight aria-hidden="true" />
|
|
123
|
+
</IconButtonLink>
|
|
124
|
+
</ButtonGroup>;
|
|
125
|
+
```
|
|
126
|
+
|
|
107
127
|
### A toggle that owns its own state
|
|
108
128
|
|
|
109
129
|
Excerpt — not a complete module
|
package/dist/docs/button.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"accent",
|
|
12
12
|
"secondary",
|
|
13
13
|
"neutral",
|
|
14
|
+
"info",
|
|
14
15
|
"success",
|
|
15
16
|
"warning",
|
|
16
17
|
"danger"
|
|
@@ -137,6 +138,32 @@
|
|
|
137
138
|
"indicator"
|
|
138
139
|
]
|
|
139
140
|
},
|
|
141
|
+
"iconButtonLink": {
|
|
142
|
+
"nativeElement": "a",
|
|
143
|
+
"defaults": {
|
|
144
|
+
"tone": "secondary",
|
|
145
|
+
"variant": "ghost",
|
|
146
|
+
"size": "md",
|
|
147
|
+
"shape": "square",
|
|
148
|
+
"disabled": false
|
|
149
|
+
},
|
|
150
|
+
"capabilities": [
|
|
151
|
+
"appearance",
|
|
152
|
+
"shape",
|
|
153
|
+
"disabled"
|
|
154
|
+
],
|
|
155
|
+
"states": [
|
|
156
|
+
"default",
|
|
157
|
+
"hover",
|
|
158
|
+
"active",
|
|
159
|
+
"focus-visible",
|
|
160
|
+
"disabled"
|
|
161
|
+
],
|
|
162
|
+
"parts": [
|
|
163
|
+
"root",
|
|
164
|
+
"icon"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
140
167
|
"toggleButton": {
|
|
141
168
|
"nativeElement": "button",
|
|
142
169
|
"defaults": {
|
|
@@ -200,7 +227,7 @@
|
|
|
200
227
|
"part": "label",
|
|
201
228
|
"element": "span",
|
|
202
229
|
"required": true,
|
|
203
|
-
"purpose": "Wraps the children. Always rendered, because the accessible name is computed from it. With reduced motion or forced
|
|
230
|
+
"purpose": "Wraps the children. Always rendered, because the accessible name is computed from it. With reduced motion or forced colors, a loading button with no icon fades it in place, and it keeps its size."
|
|
204
231
|
},
|
|
205
232
|
{
|
|
206
233
|
"part": "end",
|
|
@@ -212,16 +239,16 @@
|
|
|
212
239
|
"part": "indicator",
|
|
213
240
|
"element": "span with role=\"progressbar\"",
|
|
214
241
|
"required": false,
|
|
215
|
-
"purpose": "The loading indicator. Carries data-ui=\"spinner\", is named by messages.loading, and has no value, so it reads as indeterminate. Rendered in the start box, else in the end box, else
|
|
242
|
+
"purpose": "The loading indicator. Carries data-ui=\"spinner\", is named by messages.loading, and has no value, so it reads as indeterminate. Rendered in the start box, else in the end box, else centerd over the label, once loadingDelay has passed."
|
|
216
243
|
}
|
|
217
244
|
],
|
|
218
245
|
"api": [
|
|
219
246
|
{
|
|
220
247
|
"name": "tone",
|
|
221
|
-
"type": "accent | secondary | neutral | success | warning | danger",
|
|
248
|
+
"type": "accent | secondary | neutral | info | success | warning | danger",
|
|
222
249
|
"defaultValue": "accent",
|
|
223
250
|
"appliesTo": "Button",
|
|
224
|
-
"description": "The semantic
|
|
251
|
+
"description": "The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does."
|
|
225
252
|
},
|
|
226
253
|
{
|
|
227
254
|
"name": "variant",
|
|
@@ -328,7 +355,7 @@
|
|
|
328
355
|
"accessibility": [
|
|
329
356
|
"Button renders a native button element, so Space, Enter, focus and the disabled state come from the platform. The visible label supplies the accessible name.",
|
|
330
357
|
"While loading, the indicator is a progress bar named by messages.loading, and the button announces aria-disabled while it keeps focus. React Aria’s pending button and Primer’s loading button use the same pattern. aria-busy is not set: screen readers do not announce it reliably on a button, and one mechanism already carries the state.",
|
|
331
|
-
"Where motion is allowed, the indicator is not drawn: once loadingDelay has passed, a band in the button’s own ink sweeps behind the label and the icon, which stay visible. With reduced motion or forced
|
|
358
|
+
"Where motion is allowed, the indicator is not drawn: once loadingDelay has passed, a band in the button’s own ink sweeps behind the label and the icon, which stay visible. With reduced motion or forced colors, the indicator is a ring drawn in the start or end icon’s box; a button with neither draws it over the label, which drops to zero opacity but stays in the accessibility tree and in the layout, so the accessible name survives the wait and the button keeps its size.",
|
|
332
359
|
"loading refuses activation in the capture phase, before any click handler you attach, so a submit button cannot submit its form twice.",
|
|
333
360
|
"focusableWhenDisabled keeps a disabled button reachable. Use it when the button has a tooltip or an explanation a keyboard user needs, such as inside a toolbar. A reachable disabled button uses muted text on the subtle neutral background, at a contrast of 4.5:1 or more; a natively disabled button keeps the disabled grey.",
|
|
334
361
|
"An icon in start or end repeats the label, so mark it aria-hidden. Glyph sets aria-hidden itself.",
|
|
@@ -382,10 +409,10 @@
|
|
|
382
409
|
},
|
|
383
410
|
{
|
|
384
411
|
"name": "tone",
|
|
385
|
-
"type": "accent | secondary | neutral | success | warning | danger",
|
|
412
|
+
"type": "accent | secondary | neutral | info | success | warning | danger",
|
|
386
413
|
"defaultValue": "accent",
|
|
387
414
|
"appliesTo": "ButtonLink",
|
|
388
|
-
"description": "The semantic
|
|
415
|
+
"description": "The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does."
|
|
389
416
|
},
|
|
390
417
|
{
|
|
391
418
|
"name": "variant",
|
|
@@ -481,10 +508,10 @@
|
|
|
481
508
|
},
|
|
482
509
|
{
|
|
483
510
|
"name": "tone",
|
|
484
|
-
"type": "accent | secondary | neutral | success | warning | danger",
|
|
511
|
+
"type": "accent | secondary | neutral | info | success | warning | danger",
|
|
485
512
|
"defaultValue": "secondary",
|
|
486
513
|
"appliesTo": "IconButton",
|
|
487
|
-
"description": "The semantic
|
|
514
|
+
"description": "The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does."
|
|
488
515
|
},
|
|
489
516
|
{
|
|
490
517
|
"name": "variant",
|
|
@@ -584,11 +611,96 @@
|
|
|
584
611
|
"The type requires an accessible name: pass aria-label or aria-labelledby. An icon supplies no text the name could be computed from.",
|
|
585
612
|
"aria-pressed is rendered only when pressed or defaultPressed is passed, so a plain icon button does not announce a toggle state it does not have.",
|
|
586
613
|
"Keep the name the same in both pressed states. The APG toggle button pattern announces the state beside an unchanging label.",
|
|
587
|
-
"A pressed icon button uses the selected
|
|
614
|
+
"A pressed icon button uses the selected colors of the theme — accent text on the accent selection background, inside the accent edge — whatever its tone and variant. On hover it uses the hover step of that background, not the neutral hover of an unpressed button.",
|
|
588
615
|
"The control is as wide as it is tall, at the control height, and never smaller than the WCAG 2.2 minimum target of 24 by 24 CSS pixels at any density.",
|
|
589
616
|
"Add a tooltip when the icon alone does not say what the action does. The accessible name does not replace a visible label."
|
|
590
617
|
]
|
|
591
618
|
},
|
|
619
|
+
"iconButtonLink": {
|
|
620
|
+
"imports": {
|
|
621
|
+
"source": "import {\n Button,\n ButtonDefaultsProvider,\n ButtonLink,\n IconButton,\n ToggleButton,\n} from '@slotted/react';"
|
|
622
|
+
},
|
|
623
|
+
"anatomy": [
|
|
624
|
+
{
|
|
625
|
+
"part": "root",
|
|
626
|
+
"element": "a, or the element render returns",
|
|
627
|
+
"required": true,
|
|
628
|
+
"purpose": "The control. Carries data-ui=\"button\", data-tone, data-variant and data-size. It also carries data-shape, and data-disabled when it applies."
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"part": "icon",
|
|
632
|
+
"element": "span",
|
|
633
|
+
"required": true,
|
|
634
|
+
"purpose": "Wraps the children."
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"api": [
|
|
638
|
+
{
|
|
639
|
+
"name": "aria-label | aria-labelledby",
|
|
640
|
+
"type": "string",
|
|
641
|
+
"defaultValue": "required",
|
|
642
|
+
"appliesTo": "IconButtonLink",
|
|
643
|
+
"description": "The accessible name. Required, because an icon supplies no text. When both are present, aria-labelledby names the link."
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "href",
|
|
647
|
+
"type": "string",
|
|
648
|
+
"defaultValue": "required without render",
|
|
649
|
+
"appliesTo": "IconButtonLink",
|
|
650
|
+
"description": "The destination. A disabled IconButtonLink does not render it."
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "render",
|
|
654
|
+
"type": "(rootProps) => ReactElement",
|
|
655
|
+
"defaultValue": "—",
|
|
656
|
+
"appliesTo": "IconButtonLink",
|
|
657
|
+
"description": "Renders the root through a router’s link component. The function receives anchor props — every root prop — and must pass all of them on."
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "tone",
|
|
661
|
+
"type": "accent | secondary | neutral | info | success | warning | danger",
|
|
662
|
+
"defaultValue": "secondary",
|
|
663
|
+
"appliesTo": "IconButtonLink",
|
|
664
|
+
"description": "The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does."
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "variant",
|
|
668
|
+
"type": "solid | outline | ghost",
|
|
669
|
+
"defaultValue": "ghost",
|
|
670
|
+
"appliesTo": "IconButtonLink",
|
|
671
|
+
"description": "How the tone is painted: solid, outline or ghost."
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "size",
|
|
675
|
+
"type": "sm | md | lg",
|
|
676
|
+
"defaultValue": "md",
|
|
677
|
+
"appliesTo": "IconButtonLink",
|
|
678
|
+
"description": "The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "shape",
|
|
682
|
+
"type": "square | circle",
|
|
683
|
+
"defaultValue": "square",
|
|
684
|
+
"appliesTo": "IconButtonLink",
|
|
685
|
+
"description": "The corners of the control: square keeps the radius of the control scale, circle rounds it fully. Both are as wide as they are tall."
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "disabled",
|
|
689
|
+
"type": "boolean",
|
|
690
|
+
"defaultValue": "false",
|
|
691
|
+
"appliesTo": "IconButtonLink",
|
|
692
|
+
"description": "Removes the href and refuses activation. The link stays focusable with role=\"link\" and aria-disabled."
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"composition": [],
|
|
696
|
+
"events": [],
|
|
697
|
+
"accessibility": [
|
|
698
|
+
"IconButtonLink renders an anchor, so it is announced as a link and activates on Enter. Use it for an icon-only control that navigates, such as the previous and next record; an icon-only action is an IconButton.",
|
|
699
|
+
"The type requires an accessible name: pass aria-label or aria-labelledby. An icon supplies no text the name could be computed from.",
|
|
700
|
+
"A disabled IconButtonLink renders no href and stays in the tab sequence with role=\"link\" and aria-disabled.",
|
|
701
|
+
"The render function receives every root prop, including the accessible name and the data attributes, and must pass all of them to the element it renders."
|
|
702
|
+
]
|
|
703
|
+
},
|
|
592
704
|
"toggleButton": {
|
|
593
705
|
"imports": {
|
|
594
706
|
"source": "import {\n Button,\n ButtonDefaultsProvider,\n ButtonLink,\n IconButton,\n ToggleButton,\n} from '@slotted/react';"
|
|
@@ -610,7 +722,7 @@
|
|
|
610
722
|
"part": "label",
|
|
611
723
|
"element": "span",
|
|
612
724
|
"required": true,
|
|
613
|
-
"purpose": "Wraps the children. Always rendered, because the accessible name is computed from it. With reduced motion or forced
|
|
725
|
+
"purpose": "Wraps the children. Always rendered, because the accessible name is computed from it. With reduced motion or forced colors, a loading button with no icon fades it in place, and it keeps its size."
|
|
614
726
|
},
|
|
615
727
|
{
|
|
616
728
|
"part": "end",
|
|
@@ -622,16 +734,16 @@
|
|
|
622
734
|
"part": "indicator",
|
|
623
735
|
"element": "span with role=\"progressbar\"",
|
|
624
736
|
"required": false,
|
|
625
|
-
"purpose": "The loading indicator. Carries data-ui=\"spinner\", is named by messages.loading, and has no value, so it reads as indeterminate. Rendered in the start box, else in the end box, else
|
|
737
|
+
"purpose": "The loading indicator. Carries data-ui=\"spinner\", is named by messages.loading, and has no value, so it reads as indeterminate. Rendered in the start box, else in the end box, else centerd over the label, once loadingDelay has passed."
|
|
626
738
|
}
|
|
627
739
|
],
|
|
628
740
|
"api": [
|
|
629
741
|
{
|
|
630
742
|
"name": "tone",
|
|
631
|
-
"type": "accent | secondary | neutral | success | warning | danger",
|
|
743
|
+
"type": "accent | secondary | neutral | info | success | warning | danger",
|
|
632
744
|
"defaultValue": "secondary",
|
|
633
745
|
"appliesTo": "ToggleButton",
|
|
634
|
-
"description": "The semantic
|
|
746
|
+
"description": "The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does."
|
|
635
747
|
},
|
|
636
748
|
{
|
|
637
749
|
"name": "variant",
|
|
@@ -812,6 +924,11 @@
|
|
|
812
924
|
"--slotted-tone-danger-solid-active",
|
|
813
925
|
"--slotted-tone-danger-solid-hover",
|
|
814
926
|
"--slotted-tone-danger-text",
|
|
927
|
+
"--slotted-tone-info-on-solid",
|
|
928
|
+
"--slotted-tone-info-solid",
|
|
929
|
+
"--slotted-tone-info-solid-active",
|
|
930
|
+
"--slotted-tone-info-solid-hover",
|
|
931
|
+
"--slotted-tone-info-text",
|
|
815
932
|
"--slotted-tone-neutral-on-solid",
|
|
816
933
|
"--slotted-tone-neutral-solid",
|
|
817
934
|
"--slotted-tone-neutral-solid-active",
|
|
@@ -900,6 +1017,14 @@
|
|
|
900
1017
|
"source": "import { Bold } from 'lucide-react';\n\n<IconButton\n aria-label=\"Bold\"\n pressed={bold}\n onPressedChange={(bold) => setBold(bold)}\n tone=\"secondary\"\n>\n <Bold aria-hidden=\"true\" />\n</IconButton>;\n",
|
|
901
1018
|
"verdict": "excerpt"
|
|
902
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"id": "react-icon-button-link-router",
|
|
1022
|
+
"title": "Previous and next record",
|
|
1023
|
+
"note": null,
|
|
1024
|
+
"language": "tsx",
|
|
1025
|
+
"source": "import { ChevronLeft, ChevronRight } from 'lucide-react';\n\n<ButtonGroup aria-label=\"Records\">\n <IconButtonLink\n aria-label=\"Previous record\"\n render={(props) => <RouterLink to=\"/records/1\" {...props} />}\n >\n <ChevronLeft aria-hidden=\"true\" />\n </IconButtonLink>\n <IconButtonLink aria-label=\"Next record\" href=\"/records/3\">\n <ChevronRight aria-hidden=\"true\" />\n </IconButtonLink>\n</ButtonGroup>;\n",
|
|
1026
|
+
"verdict": "excerpt"
|
|
1027
|
+
},
|
|
903
1028
|
{
|
|
904
1029
|
"id": "react-toggle-button-uncontrolled",
|
|
905
1030
|
"title": "A toggle that owns its own state",
|