@slotted/react 0.1.0-beta.2 → 0.1.0-beta.21
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-D-V2uWjA.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-BGox6hzF.js +164 -0
- package/dist/alert.js +1 -1
- package/dist/app-shell-CXlO6z0w.js +921 -0
- package/dist/app-shell.js +1 -1
- package/dist/aspect-ratio-CLxOFJVH.js +41 -0
- package/dist/aspect-ratio.js +1 -1
- package/dist/attachment-C1wBuup6.js +307 -0
- package/dist/attachment.js +1 -1
- 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-DO1HiJT6.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-Hq1PXk04.js +144 -0
- package/dist/checkbox-group-Ckoh-2GJ.js +109 -0
- package/dist/checkbox-group.js +1 -1
- 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-BsDplfdK.js +506 -0
- package/dist/color-picker.js +1 -1
- package/dist/column-manager-Dm5ZLz6p.js +586 -0
- package/dist/column-manager.js +1 -1
- package/dist/combobox-vE8dmv4K.js +904 -0
- package/dist/combobox.js +1 -1
- package/dist/command-palette-DEKWsUFR.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-BxbGq4bu.js +151 -0
- package/dist/context-menu.js +1 -1
- package/dist/currency-field-ZvfrfM0z.js +469 -0
- package/dist/currency-field.js +1 -1
- package/dist/dashboard-grid-Bx4J-aC7.js +1149 -0
- package/dist/dashboard-grid.js +1 -1
- package/dist/data-grid-Dez5RojO.js +3848 -0
- package/dist/data-grid.js +1 -1
- package/dist/data-list-B18kLC9Q.js +587 -0
- package/dist/data-list.js +1 -1
- package/dist/date-field-EBPrQL6A.js +299 -0
- package/dist/date-field.js +1 -1
- package/dist/date-picker-B5V8NZCT.js +316 -0
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-B89Q973N.js +501 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/datetime-field-DavJbR0H.js +424 -0
- package/dist/datetime-field.js +1 -1
- package/dist/datetime-picker-Cx6Z52Ka.js +662 -0
- package/dist/datetime-picker.js +1 -1
- package/dist/datetime-range-picker-DYshAlgq.js +1029 -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 +3 -1
- package/dist/docs/action-bar.json +5 -4
- package/dist/docs/action-bar.md +4 -4
- package/dist/docs/action-sheet.json +399 -64
- package/dist/docs/action-sheet.md +291 -0
- package/dist/docs/alert.json +22 -5
- package/dist/docs/alert.md +16 -5
- package/dist/docs/app-shell.examples.md +1 -1
- package/dist/docs/app-shell.json +24 -7
- package/dist/docs/app-shell.md +5 -3
- package/dist/docs/avatar.json +22 -1
- package/dist/docs/avatar.md +5 -3
- package/dist/docs/badge.json +7 -1
- package/dist/docs/badge.md +3 -3
- package/dist/docs/button-group.json +2 -0
- package/dist/docs/button-group.md +1 -1
- package/dist/docs/button.examples.md +20 -0
- package/dist/docs/button.json +170 -11
- package/dist/docs/button.md +32 -6
- package/dist/docs/calendar.json +27 -2
- package/dist/docs/calendar.md +6 -3
- package/dist/docs/cascader.json +1 -0
- package/dist/docs/cascader.md +1 -1
- package/dist/docs/chart.examples.md +13 -2
- package/dist/docs/chart.json +13 -4
- package/dist/docs/chart.md +4 -3
- package/dist/docs/code-block.json +93 -93
- package/dist/docs/code-block.md +71 -71
- package/dist/docs/collapsible.json +1 -1
- package/dist/docs/collapsible.md +1 -1
- package/dist/docs/combobox.json +2 -0
- package/dist/docs/combobox.md +1 -1
- package/dist/docs/command-palette.json +1 -0
- package/dist/docs/command-palette.md +1 -1
- package/dist/docs/currency-field.json +40 -1
- package/dist/docs/currency-field.md +5 -1
- package/dist/docs/dashboard-grid.json +30 -8
- package/dist/docs/dashboard-grid.md +8 -5
- package/dist/docs/data-grid.examples.md +10 -4
- package/dist/docs/data-grid.json +37 -10
- package/dist/docs/data-grid.md +3 -1
- package/dist/docs/data-grid.props.md +6 -4
- package/dist/docs/data-list.json +2 -1
- package/dist/docs/data-list.md +1 -1
- package/dist/docs/date-field.json +9 -1
- package/dist/docs/date-field.md +3 -2
- package/dist/docs/date-picker.examples.md +29 -0
- package/dist/docs/date-picker.json +17 -1
- package/dist/docs/date-picker.md +3 -2
- package/dist/docs/datetime-field.json +1 -0
- package/dist/docs/datetime-field.md +1 -1
- package/dist/docs/description-list.json +10 -2
- package/dist/docs/description-list.md +2 -1
- package/dist/docs/detail-panel.json +4 -2
- package/dist/docs/detail-panel.md +15 -5
- package/dist/docs/dialog.examples.md +144 -116
- package/dist/docs/dialog.json +36 -11
- package/dist/docs/dialog.md +5 -3
- package/dist/docs/drawer.examples.md +1 -1
- package/dist/docs/drawer.json +29 -10
- package/dist/docs/drawer.md +9 -7
- package/dist/docs/entity-picker.json +19 -3
- package/dist/docs/entity-picker.md +11 -4
- package/dist/docs/event-calendar.md +2 -2
- package/dist/docs/filter-bar.json +115 -115
- package/dist/docs/filter-bar.md +78 -78
- package/dist/docs/form.json +2 -1
- package/dist/docs/form.md +1 -1
- package/dist/docs/guidelines/README.md +2 -2
- package/dist/docs/guidelines/async-feedback.md +25 -4
- package/dist/docs/guidelines/composition.md +33 -7
- package/dist/docs/guidelines/errors-and-conflicts.md +7 -6
- package/dist/docs/guidelines/forms.md +10 -0
- package/dist/docs/guidelines/index.md +16 -4
- package/dist/docs/guidelines/layout-alignment.md +19 -9
- package/dist/docs/guidelines/list-pages.md +44 -3
- package/dist/docs/guidelines/overviews.md +31 -1
- package/dist/docs/guidelines/own-elements.md +1 -1
- package/dist/docs/guidelines/reading-permissions.md +2 -2
- package/dist/docs/guidelines/reports.md +1 -1
- package/dist/docs/icon.json +3 -1
- package/dist/docs/icon.md +3 -3
- package/dist/docs/index.md +2 -2
- package/dist/docs/inline-message.json +21 -8
- package/dist/docs/inline-message.md +12 -9
- package/dist/docs/kbd.json +3 -0
- package/dist/docs/kbd.md +1 -1
- package/dist/docs/link.json +16 -0
- package/dist/docs/link.md +3 -1
- package/dist/docs/list-item.json +19 -3
- package/dist/docs/list-item.md +23 -16
- package/dist/docs/list.json +26 -1
- package/dist/docs/list.md +4 -1
- package/dist/docs/markdown.json +82 -75
- package/dist/docs/markdown.md +64 -63
- package/dist/docs/menu.json +13 -0
- package/dist/docs/menu.md +3 -1
- package/dist/docs/message-scroller.json +1 -1
- package/dist/docs/message.json +7 -1
- package/dist/docs/message.md +3 -3
- package/dist/docs/multi-select.json +1 -0
- package/dist/docs/multi-select.md +1 -1
- package/dist/docs/notification-center.json +4 -0
- package/dist/docs/notification-center.md +2 -2
- package/dist/docs/number-field.json +1 -0
- package/dist/docs/number-field.md +1 -1
- package/dist/docs/otp-input.json +1 -0
- package/dist/docs/otp-input.md +1 -1
- package/dist/docs/page-header.json +21 -4
- package/dist/docs/page-header.md +6 -4
- package/dist/docs/page.json +4 -2
- package/dist/docs/page.md +3 -2
- package/dist/docs/popover.json +2 -1
- package/dist/docs/popover.md +1 -1
- package/dist/docs/progress-indicator.json +3 -1
- package/dist/docs/progress-indicator.md +3 -3
- package/dist/docs/prompt-composer.json +50 -3
- package/dist/docs/prompt-composer.md +8 -2
- package/dist/docs/rating.json +5 -3
- package/dist/docs/rating.md +6 -6
- package/dist/docs/scroll-area.json +278 -64
- package/dist/docs/scroll-area.md +198 -0
- package/dist/docs/section.json +37 -15
- package/dist/docs/section.md +26 -19
- package/dist/docs/segmented-control.json +36 -12
- package/dist/docs/segmented-control.md +17 -1
- package/dist/docs/select.json +3 -1
- package/dist/docs/select.md +2 -2
- package/dist/docs/side-navigation.json +3 -2
- package/dist/docs/side-navigation.md +20 -5
- package/dist/docs/skills/build-own-element/SKILL.md +6 -6
- package/dist/docs/skills/compose-screen/SKILL.md +53 -17
- package/dist/docs/skills/review-screen/SKILL.md +28 -17
- package/dist/docs/skills/theme-app/SKILL.md +53 -15
- package/dist/docs/skills/waiting-states/SKILL.md +14 -10
- package/dist/docs/sparkline.json +5 -2
- package/dist/docs/sparkline.md +4 -4
- package/dist/docs/split-button.json +4 -1
- package/dist/docs/split-button.md +3 -3
- package/dist/docs/splitter.json +293 -64
- package/dist/docs/splitter.md +222 -0
- package/dist/docs/stat-card.json +11 -5
- package/dist/docs/stat-card.md +6 -6
- package/dist/docs/status-indicator.json +16 -5
- package/dist/docs/status-indicator.md +3 -1
- package/dist/docs/table-of-contents.json +2 -1
- package/dist/docs/table-of-contents.md +2 -2
- package/dist/docs/table.examples.md +14 -18
- package/dist/docs/table.json +94 -5
- package/dist/docs/table.md +14 -1
- package/dist/docs/tabs.examples.md +1 -1
- package/dist/docs/tabs.json +26 -5
- package/dist/docs/tabs.md +6 -3
- package/dist/docs/tag.json +24 -13
- package/dist/docs/tag.md +11 -11
- package/dist/docs/tags-input.json +29 -2
- package/dist/docs/tags-input.md +4 -1
- package/dist/docs/text-field.json +2 -1
- package/dist/docs/text-field.md +2 -2
- package/dist/docs/textarea.examples.md +504 -0
- package/dist/docs/textarea.json +1 -0
- package/dist/docs/textarea.md +2 -498
- package/dist/docs/time-field.json +1 -0
- package/dist/docs/time-field.md +1 -1
- package/dist/docs/timeline.json +136 -130
- package/dist/docs/timeline.md +122 -122
- package/dist/docs/toast.json +8 -1
- package/dist/docs/toast.md +3 -3
- package/dist/docs/toggle-group.json +14 -3
- package/dist/docs/toggle-group.md +3 -3
- package/dist/docs/toggle.json +12 -3
- package/dist/docs/toggle.md +3 -3
- package/dist/docs/tokens.md +54 -11
- package/dist/docs/toolbar.json +1 -1
- package/dist/docs/toolbar.md +1 -1
- package/dist/docs/tooltip.json +1 -0
- package/dist/docs/tooltip.md +1 -1
- package/dist/docs/top-navigation.examples.md +23 -5
- package/dist/docs/top-navigation.json +2 -2
- package/dist/docs/tour.json +1 -1
- package/dist/docs/typography.json +4 -2
- package/dist/docs/typography.md +5 -5
- package/dist/drawer-Du1aC1px.js +830 -0
- package/dist/drawer.js +2 -2
- package/dist/entity-picker-DB1HeuvJ.js +1283 -0
- package/dist/entity-picker.js +2 -2
- package/dist/event-calendar-CEIyV-fW.js +1469 -0
- package/dist/event-calendar.js +1 -1
- package/dist/field-CnSMUZw6.js +367 -0
- package/dist/field-group-RACkEXPp.js +138 -0
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/filter-bar-CzuAJsSf.js +1342 -0
- package/dist/filter-bar.js +1 -1
- package/dist/{form-vTCQhZM-.js → form-DEcJ7tHf.js} +97 -88
- package/dist/form.js +1 -1
- 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-tbHmRTGb.js +867 -0
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +129 -127
- 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-DvwUa0yH.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-BEQ1uEqm.js +311 -0
- package/dist/markdown.js +1 -1
- package/dist/menu-parts-BDdCTmko.js +805 -0
- package/dist/menu.js +1 -1
- package/dist/menubar-hazvXRYd.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-C1GNk4e0.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-BPYe9kLB.js +345 -0
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-Bf8JUiVR.js → otp-input-CYtF30Q-.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/press-selection-DjOllE2B.js +29 -0
- package/dist/press-selection.js +2 -0
- package/dist/progress-indicator-D0acshNn.js +292 -0
- package/dist/progress-indicator.js +1 -1
- package/dist/prompt-composer-C57BzYrn.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-CLX8D2Ew.js +143 -0
- package/dist/radio-group.js +1 -1
- package/dist/rating-BB2k-Fay.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-B54F_Bk4.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-B1U-s58C.js +156 -0
- package/dist/segmented-control.js +1 -1
- package/dist/select-OUGNxyS5.js +1020 -0
- package/dist/{select-tags-CQMcHIQN.js → select-tags-3792weoq.js} +11 -1
- package/dist/select.js +1 -1
- package/dist/side-navigation-CvIGfGjZ.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-Bp1QjJKu.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-Dg67gBMP.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-Dv9oJAbF.js +252 -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 +22 -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 +248 -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/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-DmLzDbTb.js +144 -0
- package/dist/switch.js +1 -1
- package/dist/table-Cz9YpgLT.js +1019 -0
- package/dist/table-of-contents-kFr_3Dzs.js +471 -0
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +2 -2
- 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-CAmXKSeZ.js +729 -0
- package/dist/tags-input.js +1 -1
- package/dist/text-field-CHYoral_.js +205 -0
- package/dist/text-field.js +1 -1
- package/dist/textarea-47JGOZKv.js +100 -0
- package/dist/textarea.js +1 -1
- package/dist/theme.js +10 -9
- package/dist/time-field-D1-rNBsB.js +366 -0
- package/dist/time-field.js +1 -1
- package/dist/time-picker-mwCULYh7.js +415 -0
- package/dist/time-picker.js +1 -1
- package/dist/time-range-picker-BKgsEHmd.js +779 -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-wI8BtPY5.js → toast-DHDVXIew.js} +118 -116
- package/dist/toast.js +1 -1
- package/dist/toggle-group-Bnig_MWl.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-EdmEn_ph.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-D_Jt0jNw.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-CEHIa2XD.js +606 -0
- package/dist/transfer.js +1 -1
- package/dist/tree-DBirM2v9.js +794 -0
- 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.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 +9 -1
- 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-parts.d.ts +6 -4
- 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 +21 -14
- package/dist/types/app-shell/app-shell.types.d.ts.map +1 -1
- package/dist/types/app-shell/index.d.ts +1 -1
- 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 +10 -1
- 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 +1 -1
- package/dist/types/badge/badge.types.d.ts.map +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 +1 -1
- package/dist/types/button/button-link.d.ts.map +1 -1
- package/dist/types/button/button-root.d.ts +28 -6
- package/dist/types/button/button-root.d.ts.map +1 -1
- package/dist/types/button/button.constants.d.ts +2 -1
- package/dist/types/button/button.constants.d.ts.map +1 -1
- package/dist/types/button/button.d.ts +1 -1
- package/dist/types/button/button.d.ts.map +1 -1
- package/dist/types/button/button.types.d.ts +30 -3
- 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 +1 -1
- package/dist/types/button/toggle-button.d.ts.map +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.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-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/collapsible/collapsible-parts.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible.d.ts.map +1 -1
- package/dist/types/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/column-manager/column-manager.d.ts.map +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.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 +28 -5
- package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
- package/dist/types/currency-field/index.d.ts +1 -1
- package/dist/types/currency-field/index.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 +27 -3
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
- 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-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-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-demo.d.ts +8 -0
- package/dist/types/dialog/dialog-demo.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 +12 -2
- 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 +8 -0
- 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.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.map +1 -1
- package/dist/types/field/field.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.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.map +1 -1
- package/dist/types/form/form.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/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 +3 -0
- package/dist/types/icon/glyph.d.ts.map +1 -1
- package/dist/types/icon/icon.d.ts.map +1 -1
- package/dist/types/icon/icon.types.d.ts +1 -1
- package/dist/types/icon/icon.types.d.ts.map +1 -1
- package/dist/types/image/image.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +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 +1 -1
- package/dist/types/inline-message/inline-message-defaults.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message.d.ts +13 -5
- package/dist/types/inline-message/inline-message.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message.types.d.ts +6 -4
- package/dist/types/inline-message/inline-message.types.d.ts.map +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/index.d.ts +1 -1
- package/dist/types/list/index.d.ts.map +1 -1
- package/dist/types/list/list-parts.d.ts +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 +12 -0
- package/dist/types/list/list.types.d.ts.map +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-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/menu/index.d.ts +1 -1
- package/dist/types/menu/index.d.ts.map +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.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-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.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.d.ts.map +1 -1
- package/dist/types/notification-center/notification-center.types.d.ts +1 -1
- 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.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.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/press-selection/index.d.ts +3 -0
- package/dist/types/press-selection/index.d.ts.map +1 -0
- package/dist/types/press-selection/press-selection.d.ts +23 -0
- package/dist/types/press-selection/press-selection.d.ts.map +1 -0
- package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-circle.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-indicator.types.d.ts +1 -1
- 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.map +1 -1
- package/dist/types/rating/rating.d.ts.map +1 -1
- package/dist/types/rating/rating.types.d.ts +1 -1
- package/dist/types/rating/rating.types.d.ts.map +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/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/index.d.ts +1 -1
- package/dist/types/segmented-control/index.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control-defaults.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 +1 -1
- package/dist/types/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control.types.d.ts +10 -0
- package/dist/types/segmented-control/segmented-control.types.d.ts.map +1 -1
- package/dist/types/select/select-items.d.ts.map +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/side-navigation/side-navigation-parts.d.ts.map +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/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.map +1 -1
- package/dist/types/stat-card/stat-card.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.types.d.ts +3 -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 +6 -0
- 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/table/index.d.ts +2 -2
- 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 +12 -2
- 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 +43 -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 +18 -0
- 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 +4 -3
- 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 +7 -1
- 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 +6 -3
- 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-parts.d.ts.map +1 -1
- package/dist/types/toast/toast.d.ts.map +1 -1
- package/dist/types/toast/toast.types.d.ts +1 -1
- 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/toggle.types.d.ts.map +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 +6 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts.map +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-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/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.map +1 -1
- package/dist/types/typography/typography.types.d.ts +1 -1
- package/dist/types/typography/typography.types.d.ts.map +1 -1
- package/dist/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-S3d3tUt-.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-DCS6BaK8.js +838 -0
- package/dist/wizard.js +1 -1
- package/package.json +28 -11
- package/dist/accordion-D-YuMJzk.js +0 -143
- package/dist/action-bar-C7cGnEyJ.js +0 -282
- package/dist/action-sheet-DgwzC3iY.js +0 -347
- package/dist/alert-CP62p9Ul.js +0 -159
- package/dist/app-shell-CXwma4XA.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-DakQ-7Tm.js +0 -97
- 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-CARCYdHh.js +0 -1097
- package/dist/chart-Gb_P3Kdq.js +0 -959
- package/dist/checkbox-CwUOc-3u.js +0 -139
- package/dist/checkbox-group-BYTjgAcX.js +0 -108
- package/dist/code-block-CFHf8uTm.js +0 -269
- package/dist/collapsible-CGo49NNW.js +0 -217
- package/dist/color-picker-BlPR4g4H.js +0 -504
- package/dist/column-manager-B7_a_jDK.js +0 -585
- package/dist/combobox-C66dNlMR.js +0 -856
- package/dist/command-palette-BqRyNR9Y.js +0 -707
- package/dist/container-CjxY6rYv.js +0 -46
- package/dist/context-menu-DMiHdggw.js +0 -150
- package/dist/currency-field-B7OZ0hk7.js +0 -436
- package/dist/dashboard-grid-CKdyO4j6.js +0 -1043
- package/dist/data-grid-rWMDNl-6.js +0 -3648
- package/dist/data-list-2xfDpHVC.js +0 -561
- package/dist/date-field-D_kLLTfL.js +0 -279
- package/dist/date-picker-DQ5SIhdA.js +0 -264
- package/dist/date-range-picker-lpB08hK_.js +0 -471
- package/dist/datetime-field-T1gNdJ7t.js +0 -411
- package/dist/datetime-picker-0F0kDW-8.js +0 -629
- package/dist/datetime-range-picker-ClnEleth.js +0 -994
- package/dist/description-list-IYLnFgHT.js +0 -232
- package/dist/dialog-Dmy-m_pe.js +0 -499
- package/dist/divider-D36Jqo0J.js +0 -33
- package/dist/drawer-Dtospdqk.js +0 -758
- package/dist/entity-picker-Dm-y0RNE.js +0 -1111
- package/dist/event-calendar-DYjVwTI6.js +0 -1400
- package/dist/field-BJh5HI7w.js +0 -365
- package/dist/field-group-BDaspQPh.js +0 -138
- package/dist/filter-bar-Bh7cbqDE.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-CSDbA6zd.js +0 -214
- package/dist/icon-T9Yt4tnm.js +0 -73
- package/dist/icon-button-TnvMhK4o.js +0 -211
- package/dist/import-export-center-CkZ_Ar9w.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-C1Y8MWp2.js +0 -87
- package/dist/list-item-DN_mcouU.js +0 -123
- package/dist/listbox-4WvqR0JF.js +0 -615
- package/dist/loading-overlay-B83XFctM.js +0 -208
- package/dist/markdown-CpfDn1LF.js +0 -295
- package/dist/menu-parts-BQej6eU9.js +0 -787
- package/dist/menubar-CtGavUTO.js +0 -156
- package/dist/message-Cp0rLCyW.js +0 -430
- package/dist/message-scroller-UZjFpflz.js +0 -214
- package/dist/multi-select-B-tuIwAu.js +0 -1188
- package/dist/navigation-menu-parts-D8qFAwHX.js +0 -492
- package/dist/notification-center-C4pEHJ3h.js +0 -485
- package/dist/number-field-J_koud1r.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-DE22lSpV.js +0 -476
- package/dist/progress-indicator-DwvUSFFs.js +0 -269
- package/dist/prompt-composer-B7MMcER0.js +0 -259
- package/dist/prose-CkeNYS0X.js +0 -91
- package/dist/radio-group-BFpjhDkV.js +0 -140
- package/dist/rating-D1EsADFM.js +0 -459
- package/dist/react-dom-DzrKNxo6.js +0 -273
- package/dist/result-state-CZsQfdN4.js +0 -126
- package/dist/saved-views-BueW-Lyb.js +0 -446
- package/dist/scroll-area-BriwmvYY.js +0 -111
- package/dist/section-Be7dX9MC.js +0 -176
- package/dist/segmented-control-Cy_5D3Nj.js +0 -149
- package/dist/select-hRFp8nCj.js +0 -944
- package/dist/side-navigation-YUiJRpng.js +0 -729
- package/dist/skeleton-2LSpg84Z.js +0 -143
- package/dist/slider-B432T6nD.js +0 -256
- package/dist/sparkline-rY7HIFE4.js +0 -131
- package/dist/split-button-DHF3v3PJ.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-4MHwKmkz.js +0 -138
- package/dist/table-Bd79IwDC.js +0 -970
- 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-DLdHLWrH.js +0 -625
- package/dist/text-field-BktZbmzD.js +0 -195
- package/dist/textarea-JAK2RJl0.js +0 -99
- package/dist/time-field-DCG_VtGO.js +0 -355
- package/dist/time-picker-DuT1tf5-.js +0 -396
- package/dist/time-range-picker-HwBvrrXN.js +0 -745
- package/dist/timeline-DH_02ysz.js +0 -421
- package/dist/toggle-CBFhM4Jh.js +0 -64
- package/dist/toggle-group-DQBlI1TV.js +0 -140
- package/dist/toolbar-CDQTydDx.js +0 -240
- package/dist/tooltip-BggqPDcW.js +0 -393
- package/dist/top-navigation-COQZsNqW.js +0 -740
- package/dist/tour-C11DmYTC.js +0 -799
- package/dist/transfer-JA9TWjAw.js +0 -596
- package/dist/tree-C6fYJqT9.js +0 -783
- package/dist/typography-B2iaigEC.js +0 -92
- package/dist/upload-Bq_UiyMr.js +0 -613
- package/dist/visually-hidden-CE6u5JLW.js +0 -14
- package/dist/wizard-B4GrlEqh.js +0 -815
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"plain",
|
|
13
13
|
"floating"
|
|
14
14
|
],
|
|
15
|
+
"material": [
|
|
16
|
+
false,
|
|
17
|
+
true
|
|
18
|
+
],
|
|
15
19
|
"size": [
|
|
16
20
|
"sm",
|
|
17
21
|
"md",
|
|
@@ -35,6 +39,7 @@
|
|
|
35
39
|
"level": "1",
|
|
36
40
|
"collapse": "scroll",
|
|
37
41
|
"variant": "band",
|
|
42
|
+
"material": false,
|
|
38
43
|
"expanded": true,
|
|
39
44
|
"pinned": false,
|
|
40
45
|
"loading": false
|
|
@@ -93,7 +98,7 @@
|
|
|
93
98
|
"part": "root",
|
|
94
99
|
"element": "header, or the element render returns",
|
|
95
100
|
"required": true,
|
|
96
|
-
"purpose": "The family: sticky with a negative offset the size of the header area, carrying data-ui=\"page-header\", the four axes, data-expanded, data-revealed, data-loading and the measured facts data-scrolled, data-stuck and data-compact.
|
|
101
|
+
"purpose": "The family: sticky with a negative offset the size of the header area, carrying data-ui=\"page-header\", the four axes, data-expanded, data-revealed, data-loading and the measured facts data-scrolled, data-stuck and data-compact. In a frame narrower than 600 pixels — a phone — it carries data-compact, is not sticky and scrolls away with the page. It is its own container, so the rows reflow on its own inline size."
|
|
97
102
|
},
|
|
98
103
|
{
|
|
99
104
|
"part": "title-area",
|
|
@@ -256,7 +261,14 @@
|
|
|
256
261
|
"type": "'band' | 'plain' | 'floating'",
|
|
257
262
|
"defaultValue": "band",
|
|
258
263
|
"appliesTo": "PageHeader, PageHeaderDefaultsProvider",
|
|
259
|
-
"description": "band is a strip of the surface with a hairline under it, the page’s own header; plain paints no ground at rest and takes the surface back once content passes under the chrome (data-stuck), for a header inside a region with a ground of its own; floating is a box with the hairline all round and rounded corners that, once stuck, slides to an inset below the scroller’s edge and lifts by a shadow, for a header that stands inside padding"
|
|
264
|
+
"description": "band is a strip of the surface with a hairline under it, the page’s own header; plain paints no ground at rest and takes the surface back once content passes under the chrome (data-stuck), for a header inside a region with a ground of its own; floating is a box with the hairline all round and rounded corners that, once stuck, slides to an inset below the scroller’s edge and lifts by a shadow, for a header that stands inside padding. The ground changes over --slotted-page-header-ground-duration (the medium duration) with --slotted-page-header-ground-easing (the standard easing); a duration of 0s makes the change instant"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "material",
|
|
268
|
+
"type": "boolean",
|
|
269
|
+
"defaultValue": "false",
|
|
270
|
+
"appliesTo": "PageHeader, PageHeaderDefaultsProvider",
|
|
271
|
+
"description": "Once content passes under the chrome (data-stuck), its ground is the theme’s --slotted-surface-material and its backdrop filter --slotted-material-backdrop, in every variant; at rest each variant keeps its ground. --slotted-page-header-background and --slotted-page-header-backdrop-filter still win. The theme makes both opaque under prefers-reduced-transparency and forced colours"
|
|
260
272
|
},
|
|
261
273
|
{
|
|
262
274
|
"name": "size",
|
|
@@ -412,11 +424,15 @@
|
|
|
412
424
|
"--slotted-line-height-md",
|
|
413
425
|
"--slotted-line-height-sm",
|
|
414
426
|
"--slotted-line-height-xl",
|
|
427
|
+
"--slotted-material-backdrop",
|
|
428
|
+
"--slotted-page-header-backdrop-filter",
|
|
415
429
|
"--slotted-page-header-background",
|
|
416
430
|
"--slotted-page-header-border",
|
|
417
431
|
"--slotted-page-header-control-size",
|
|
418
432
|
"--slotted-page-header-description-measure",
|
|
419
433
|
"--slotted-page-header-gap",
|
|
434
|
+
"--slotted-page-header-ground-duration",
|
|
435
|
+
"--slotted-page-header-ground-easing",
|
|
420
436
|
"--slotted-page-header-heading-size-lg",
|
|
421
437
|
"--slotted-page-header-heading-size-md",
|
|
422
438
|
"--slotted-page-header-heading-size-sm",
|
|
@@ -438,6 +454,7 @@
|
|
|
438
454
|
"--slotted-space-5",
|
|
439
455
|
"--slotted-space-6",
|
|
440
456
|
"--slotted-surface",
|
|
457
|
+
"--slotted-surface-material",
|
|
441
458
|
"--slotted-target-comfortable",
|
|
442
459
|
"--slotted-target-min",
|
|
443
460
|
"--slotted-text",
|
|
@@ -534,7 +551,7 @@
|
|
|
534
551
|
{
|
|
535
552
|
"id": "progress",
|
|
536
553
|
"title": "A refresh of what is on screen",
|
|
537
|
-
"note": "PageHeaderProgress draws an indeterminate bar over the line where the chrome ends, after 200 ms and for at least 400 ms. With tabs that line is the one the pill straddles, never the tab strip’s edge;
|
|
554
|
+
"note": "PageHeaderProgress draws an indeterminate bar over the line where the chrome ends, after 200 ms and for at least 400 ms, wherever it is written among the parts. With a pill over the tabs that line is the one the pill straddles, never the tab strip’s edge; otherwise it is the root’s hairline. The header writes no aria-busy: the region that waits — the page body — is the consumer’s to mark.",
|
|
538
555
|
"language": "tsx",
|
|
539
556
|
"source": "<PageHeader>\n <PageHeaderTitleArea>…</PageHeaderTitleArea>\n <PageHeaderControls>…</PageHeaderControls>\n <PageHeaderProgress loading={isRefetching} />\n <PageHeaderTabs>…</PageHeaderTabs>\n</PageHeader>;\n",
|
|
540
557
|
"verdict": "excerpt"
|
|
@@ -550,7 +567,7 @@
|
|
|
550
567
|
{
|
|
551
568
|
"id": "narrow",
|
|
552
569
|
"title": "Below 600 pixels",
|
|
553
|
-
"note": "The family answers its own inline size: the header is not sticky and scrolls away with the page, nothing collapses it on scroll and the toggle still folds the area in place; the breadcrumbs go and the way back stays, the title steps down, the subheading takes one line, and the figure takes a row above the content. Actions written as Toolbar overflow=\"menu\", each item with its counterpart, stay on the title row and fold what does not fit into the menu, where every action is still reachable; loose actions and the navigation take the row under the title.",
|
|
570
|
+
"note": "The family answers its own inline size: the header is not sticky and scrolls away with the page, nothing collapses it on scroll and the toggle still folds the area in place; the breadcrumbs go and the way back stays, the title steps down, the subheading takes one line, and the figure takes a row above the content. Actions written as Toolbar overflow=\"menu\", each item with its counterpart, stay on the title row beside a plain title, and take a full row of their own under a rich one (a visual, marks or a subheading); either way they fold what does not fit into the menu, where every action is still reachable; loose actions and the navigation take the row under the title.",
|
|
554
571
|
"language": "tsx",
|
|
555
572
|
"source": "<PageHeader>…</PageHeader>;\n",
|
|
556
573
|
"verdict": "excerpt"
|
package/dist/docs/page-header.md
CHANGED
|
@@ -62,7 +62,8 @@ Excerpt — not a complete module
|
|
|
62
62
|
| `defaultExpanded` | `boolean` | — | PageHeader | The value an uncontrolled header area starts from, read once |
|
|
63
63
|
| `pinned` | `boolean` | false | PageHeader | Present means the consumer owns the pin’s state. Pinned, the whole header stays while the page scrolls |
|
|
64
64
|
| `defaultPinned` | `boolean` | — | PageHeader | The value an uncontrolled pin starts from, read once |
|
|
65
|
-
| `variant` | `'band' \| 'plain' \| 'floating'` | band | PageHeader, PageHeaderDefaultsProvider | band is a strip of the surface with a hairline under it, the page’s own header; plain paints no ground at rest and takes the surface back once content passes under the chrome (data-stuck), for a header inside a region with a ground of its own; floating is a box with the hairline all round and rounded corners that, once stuck, slides to an inset below the scroller’s edge and lifts by a shadow, for a header that stands inside padding |
|
|
65
|
+
| `variant` | `'band' \| 'plain' \| 'floating'` | band | PageHeader, PageHeaderDefaultsProvider | band is a strip of the surface with a hairline under it, the page’s own header; plain paints no ground at rest and takes the surface back once content passes under the chrome (data-stuck), for a header inside a region with a ground of its own; floating is a box with the hairline all round and rounded corners that, once stuck, slides to an inset below the scroller’s edge and lifts by a shadow, for a header that stands inside padding. The ground changes over --slotted-page-header-ground-duration (the medium duration) with --slotted-page-header-ground-easing (the standard easing); a duration of 0s makes the change instant |
|
|
66
|
+
| `material` | `boolean` | false | PageHeader, PageHeaderDefaultsProvider | Once content passes under the chrome (data-stuck), its ground is the theme’s --slotted-surface-material and its backdrop filter --slotted-material-backdrop, in every variant; at rest each variant keeps its ground. --slotted-page-header-background and --slotted-page-header-backdrop-filter still win. The theme makes both opaque under prefers-reduced-transparency and forced colours |
|
|
66
67
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | PageHeader, PageHeaderDefaultsProvider | The step the title sits at, on the type scale. The snapped title takes the step below |
|
|
67
68
|
| `level` | `'1' \| '2' \| '3'` | 1 | PageHeader, PageHeaderDefaultsProvider | The rank of the heading, which decides its element. A page’s own header is 1 |
|
|
68
69
|
| `collapse` | `'scroll' \| 'manual'` | scroll | PageHeader, PageHeaderDefaultsProvider | scroll collapses the area when it leaves the scrollport and re-opens it when it returns; manual leaves it to the toggle, the pin and the application, and the whole header stays while the page scrolls |
|
|
@@ -90,6 +91,7 @@ Excerpt — not a complete module
|
|
|
90
91
|
| Axis | Values | Default |
|
|
91
92
|
| --- | --- | --- |
|
|
92
93
|
| `variant` | `band`, `plain`, `floating` | `band` |
|
|
94
|
+
| `material` | `false`, `true` | `false` |
|
|
93
95
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
94
96
|
| `level` | `1`, `2`, `3` | `1` |
|
|
95
97
|
| `collapse` | `scroll`, `manual` | `scroll` |
|
|
@@ -105,7 +107,7 @@ Excerpt — not a complete module
|
|
|
105
107
|
|
|
106
108
|
## Tokens
|
|
107
109
|
|
|
108
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-page-header-background`, `--slotted-page-header-border`, `--slotted-page-header-control-size`, `--slotted-page-header-description-measure`, `--slotted-page-header-gap`, `--slotted-page-header-heading-size-lg`, `--slotted-page-header-heading-size-md`, `--slotted-page-header-heading-size-sm`, `--slotted-page-header-inset`, `--slotted-page-header-padding-block`, `--slotted-page-header-radius`, `--slotted-page-header-shadow`, `--slotted-page-header-snapped-heading-size-lg`, `--slotted-page-header-snapped-heading-size-md`, `--slotted-page-header-snapped-heading-size-sm`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-toolbar-inset`, `--slotted-z-index-sticky`
|
|
110
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-material-backdrop`, `--slotted-page-header-backdrop-filter`, `--slotted-page-header-background`, `--slotted-page-header-border`, `--slotted-page-header-control-size`, `--slotted-page-header-description-measure`, `--slotted-page-header-gap`, `--slotted-page-header-ground-duration`, `--slotted-page-header-ground-easing`, `--slotted-page-header-heading-size-lg`, `--slotted-page-header-heading-size-md`, `--slotted-page-header-heading-size-sm`, `--slotted-page-header-inset`, `--slotted-page-header-padding-block`, `--slotted-page-header-radius`, `--slotted-page-header-shadow`, `--slotted-page-header-snapped-heading-size-lg`, `--slotted-page-header-snapped-heading-size-md`, `--slotted-page-header-snapped-heading-size-sm`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface`, `--slotted-surface-material`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-toolbar-inset`, `--slotted-z-index-sticky`
|
|
109
111
|
|
|
110
112
|
## Examples
|
|
111
113
|
|
|
@@ -287,7 +289,7 @@ Excerpt — not a complete module
|
|
|
287
289
|
|
|
288
290
|
### A refresh of what is on screen
|
|
289
291
|
|
|
290
|
-
PageHeaderProgress draws an indeterminate bar over the line where the chrome ends, after 200 ms and for at least 400 ms. With tabs that line is the one the pill straddles, never the tab strip’s edge;
|
|
292
|
+
PageHeaderProgress draws an indeterminate bar over the line where the chrome ends, after 200 ms and for at least 400 ms, wherever it is written among the parts. With a pill over the tabs that line is the one the pill straddles, never the tab strip’s edge; otherwise it is the root’s hairline. The header writes no aria-busy: the region that waits — the page body — is the consumer’s to mark.
|
|
291
293
|
|
|
292
294
|
Excerpt — not a complete module
|
|
293
295
|
|
|
@@ -315,7 +317,7 @@ Excerpt — not a complete module
|
|
|
315
317
|
|
|
316
318
|
### Below 600 pixels
|
|
317
319
|
|
|
318
|
-
The family answers its own inline size: the header is not sticky and scrolls away with the page, nothing collapses it on scroll and the toggle still folds the area in place; the breadcrumbs go and the way back stays, the title steps down, the subheading takes one line, and the figure takes a row above the content. Actions written as Toolbar overflow="menu", each item with its counterpart, stay on the title row and fold what does not fit into the menu, where every action is still reachable; loose actions and the navigation take the row under the title.
|
|
320
|
+
The family answers its own inline size: the header is not sticky and scrolls away with the page, nothing collapses it on scroll and the toggle still folds the area in place; the breadcrumbs go and the way back stays, the title steps down, the subheading takes one line, and the figure takes a row above the content. Actions written as Toolbar overflow="menu", each item with its counterpart, stay on the title row beside a plain title, and take a full row of their own under a rich one (a visual, marks or a subheading); either way they fold what does not fit into the menu, where every action is still reachable; loose actions and the navigation take the row under the title.
|
|
319
321
|
|
|
320
322
|
Excerpt — not a complete module
|
|
321
323
|
|
package/dist/docs/page.json
CHANGED
|
@@ -208,17 +208,18 @@
|
|
|
208
208
|
"description": "The five decisions an application takes once. A page that states any of them itself still wins"
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
|
-
"name": "--slotted-page-sticky-top, --slotted-page-sticky-bottom",
|
|
211
|
+
"name": "--slotted-page-sticky-top, --slotted-page-sticky-bottom, --slotted-page-scrollport-block-size",
|
|
212
212
|
"type": "runtime properties on the scroller",
|
|
213
213
|
"defaultValue": "—",
|
|
214
214
|
"appliesTo": "every family under the page, and the consumer’s own sticky elements inside it",
|
|
215
|
-
"description": "The height of the chrome that stays at the top, written by the header, and of the
|
|
215
|
+
"description": "The height of the chrome that stays at the top, written by the header, of the footer, and of the scroller itself, written by the page. A section’s sticky header reads the first; a table with stickyTo=\"page\" reads both through the bridge the page writes on its root. A consumer’s own position: sticky element reads the first as well: inset-block-start: calc(var(--slotted-page-sticky-top, 0px) + gap) stops it under the chrome instead of behind the stuck header, and max-block-size: calc(var(--slotted-page-scrollport-block-size, 100dvh) - var(--slotted-page-sticky-top, 0px) - var(--slotted-page-sticky-bottom, 0px) - 2 * gap) bounds one that may be taller than the scroller. The third is the scroller’s visible height, written by the page; under an inset canvas the scroller is shorter than the viewport"
|
|
216
216
|
}
|
|
217
217
|
],
|
|
218
218
|
"events": [],
|
|
219
219
|
"accessibility": [
|
|
220
220
|
"The practice is the WAI-ARIA APG’s Landmark Regions (w3.org/WAI/ARIA/apg/practices/landmark-regions/): each page should have one main landmark, and the page is it. landmark=\"none\" is for the page that is not the document’s — inside a drawer, a dialog or the detail pane of a master–detail layout — and it renders a div so the document keeps one main.",
|
|
221
221
|
"The footer is a footer element inside main, which is not a contentinfo landmark, so it is named: the catalog’s footer message by default, an aria-label the consumer writes otherwise. A reader walking the page’s controls finds “Page actions” before the buttons in it.",
|
|
222
|
+
"Content outside PageBody receives no inset: the inset lives on the body, so content written straight into Page is drawn against the viewport edges. In development, Page warns once when it holds content and no PageBody.",
|
|
222
223
|
"The outline is typography’s. The body is one HeadingLevel deeper than the header, so a Section written directly in it takes h2 under the header’s h1, and a section inside that takes h3 — without either family reading the other, and without a skip the HTML Standard forbids.",
|
|
223
224
|
"The body carries aria-busy while loading, which is what tells a screen reader the region is not ready. The page draws no placeholder: the header stands skeleton text of the title’s own width, and each family inside stands its own.",
|
|
224
225
|
"Scrolling is the platform’s. The page never writes a scroll position, and under scroll=\"self\" the scroll part is an ordinary scrolling box a keyboard reaches with the arrow keys once something inside it has focus."
|
|
@@ -234,6 +235,7 @@
|
|
|
234
235
|
"--slotted-font-family-sans",
|
|
235
236
|
"--slotted-page-background-sunken",
|
|
236
237
|
"--slotted-page-background-surface",
|
|
238
|
+
"--slotted-page-footer-backdrop-filter",
|
|
237
239
|
"--slotted-page-footer-background",
|
|
238
240
|
"--slotted-page-footer-border",
|
|
239
241
|
"--slotted-page-footer-padding-block",
|
package/dist/docs/page.md
CHANGED
|
@@ -47,7 +47,7 @@ Excerpt — not a complete module
|
|
|
47
47
|
| `ref` | `Ref<HTMLElement>` | — | Page, PageBody, PageFooter | Reaches the element itself. Under scroll="self" the scroller is the scroll part inside it: root.querySelector("[data-part=scroll]") |
|
|
48
48
|
| `usePage()` | `() => PageContextValue \| undefined` | — | inside Page | What the header and the footer read: width, inset, scroll, ground, loading and the translator t. Undefined outside a page, so a header standing alone is complete |
|
|
49
49
|
| `PageDefaultsProvider` | `{ width, inset, scroll, ground, landmark }` | — | a subtree | The five decisions an application takes once. A page that states any of them itself still wins |
|
|
50
|
-
| `--slotted-page-sticky-top, --slotted-page-sticky-bottom` | `runtime properties on the scroller` | — | every family under the page, and the consumer’s own sticky elements inside it | The height of the chrome that stays at the top, written by the header, and of the
|
|
50
|
+
| `--slotted-page-sticky-top, --slotted-page-sticky-bottom, --slotted-page-scrollport-block-size` | `runtime properties on the scroller` | — | every family under the page, and the consumer’s own sticky elements inside it | The height of the chrome that stays at the top, written by the header, of the footer, and of the scroller itself, written by the page. A section’s sticky header reads the first; a table with stickyTo="page" reads both through the bridge the page writes on its root. A consumer’s own position: sticky element reads the first as well: inset-block-start: calc(var(--slotted-page-sticky-top, 0px) + gap) stops it under the chrome instead of behind the stuck header, and max-block-size: calc(var(--slotted-page-scrollport-block-size, 100dvh) - var(--slotted-page-sticky-top, 0px) - var(--slotted-page-sticky-bottom, 0px) - 2 * gap) bounds one that may be taller than the scroller. The third is the scroller’s visible height, written by the page; under an inset canvas the scroller is shorter than the viewport |
|
|
51
51
|
|
|
52
52
|
## Axes and defaults
|
|
53
53
|
|
|
@@ -64,13 +64,14 @@ Excerpt — not a complete module
|
|
|
64
64
|
|
|
65
65
|
- The practice is the WAI-ARIA APG’s Landmark Regions (w3.org/WAI/ARIA/apg/practices/landmark-regions/): each page should have one main landmark, and the page is it. landmark="none" is for the page that is not the document’s — inside a drawer, a dialog or the detail pane of a master–detail layout — and it renders a div so the document keeps one main.
|
|
66
66
|
- The footer is a footer element inside main, which is not a contentinfo landmark, so it is named: the catalog’s footer message by default, an aria-label the consumer writes otherwise. A reader walking the page’s controls finds “Page actions” before the buttons in it.
|
|
67
|
+
- Content outside PageBody receives no inset: the inset lives on the body, so content written straight into Page is drawn against the viewport edges. In development, Page warns once when it holds content and no PageBody.
|
|
67
68
|
- The outline is typography’s. The body is one HeadingLevel deeper than the header, so a Section written directly in it takes h2 under the header’s h1, and a section inside that takes h3 — without either family reading the other, and without a skip the HTML Standard forbids.
|
|
68
69
|
- The body carries aria-busy while loading, which is what tells a screen reader the region is not ready. The page draws no placeholder: the header stands skeleton text of the title’s own width, and each family inside stands its own.
|
|
69
70
|
- Scrolling is the platform’s. The page never writes a scroll position, and under scroll="self" the scroll part is an ordinary scrolling box a keyboard reaches with the arrow keys once something inside it has focus.
|
|
70
71
|
|
|
71
72
|
## Tokens
|
|
72
73
|
|
|
73
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-duration-medium`, `--slotted-easing-standard`, `--slotted-font-family-sans`, `--slotted-page-background-sunken`, `--slotted-page-background-surface`, `--slotted-page-footer-background`, `--slotted-page-footer-border`, `--slotted-page-footer-padding-block`, `--slotted-page-padding-block`, `--slotted-space-4`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-z-index-sticky`
|
|
74
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-duration-medium`, `--slotted-easing-standard`, `--slotted-font-family-sans`, `--slotted-page-background-sunken`, `--slotted-page-background-surface`, `--slotted-page-footer-backdrop-filter`, `--slotted-page-footer-background`, `--slotted-page-footer-border`, `--slotted-page-footer-padding-block`, `--slotted-page-padding-block`, `--slotted-space-4`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-z-index-sticky`
|
|
74
75
|
|
|
75
76
|
## Examples
|
|
76
77
|
|
package/dist/docs/popover.json
CHANGED
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"part": "content",
|
|
145
145
|
"element": "div",
|
|
146
146
|
"required": true,
|
|
147
|
-
"purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal."
|
|
147
|
+
"purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal. It draws no padding: PopoverHeader, PopoverBody and PopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
"part": "header",
|
|
@@ -452,6 +452,7 @@
|
|
|
452
452
|
"--slotted-line-height-sm",
|
|
453
453
|
"--slotted-popover-arrow-size",
|
|
454
454
|
"--slotted-popover-arrow-tip-radius",
|
|
455
|
+
"--slotted-popover-backdrop-filter",
|
|
455
456
|
"--slotted-popover-border-color",
|
|
456
457
|
"--slotted-popover-gap",
|
|
457
458
|
"--slotted-popover-measure",
|
package/dist/docs/popover.md
CHANGED
|
@@ -175,7 +175,7 @@ export default function PopoverBasic() {
|
|
|
175
175
|
|
|
176
176
|
## Tokens
|
|
177
177
|
|
|
178
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-medium`, `--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-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
178
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-medium`, `--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-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
179
179
|
|
|
180
180
|
## Examples
|
|
181
181
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"tone": [
|
|
16
16
|
"accent",
|
|
17
17
|
"secondary",
|
|
18
|
+
"info",
|
|
18
19
|
"success",
|
|
19
20
|
"warning",
|
|
20
21
|
"danger"
|
|
@@ -141,7 +142,7 @@
|
|
|
141
142
|
},
|
|
142
143
|
{
|
|
143
144
|
"name": "tone",
|
|
144
|
-
"type": "accent | secondary | success | warning | danger",
|
|
145
|
+
"type": "accent | secondary | info | success | warning | danger",
|
|
145
146
|
"defaultValue": "accent",
|
|
146
147
|
"appliesTo": "all three",
|
|
147
148
|
"description": "The five the theme owns. The indicator is the tone’s text role and the track is a computed tint of it"
|
|
@@ -338,6 +339,7 @@
|
|
|
338
339
|
"--slotted-text-muted",
|
|
339
340
|
"--slotted-tone-accent-text",
|
|
340
341
|
"--slotted-tone-danger-text",
|
|
342
|
+
"--slotted-tone-info-text",
|
|
341
343
|
"--slotted-tone-success-text",
|
|
342
344
|
"--slotted-tone-warning-text",
|
|
343
345
|
"--slotted-z-index-sticky"
|
|
@@ -36,7 +36,7 @@ Excerpt — not a complete module
|
|
|
36
36
|
| `max` | `number` | 100 | ProgressBar, ProgressCircle | The top of the range, and what aria-valuemax reports. Reaching it writes data-complete |
|
|
37
37
|
| `buffer` | `number \| null` | — | ProgressBar | A second, further quantity: received but not yet processed. Never painted behind the value |
|
|
38
38
|
| `size` | `sm \| md \| lg` | md | all three | The bar’s thickness, the ring’s diameter, the loader’s box. Rings and loaders read the control height scale, so they match a control of the same step |
|
|
39
|
-
| `tone` | `accent \| secondary \| success \| warning \| danger` | accent | all three | The five the theme owns. The indicator is the tone’s text role and the track is a computed tint of it |
|
|
39
|
+
| `tone` | `accent \| secondary \| info \| success \| warning \| danger` | accent | all three | The five the theme owns. The indicator is the tone’s text role and the track is a computed tint of it |
|
|
40
40
|
| `label` | `string` | — | all three | The rendered accessible name. Without it, or aria-label, or decorative, a development warning names the component |
|
|
41
41
|
| `hideLabel` | `boolean` | false | all three | Clips the label with visually-hidden and keeps it as the name. A page-level bar sets it by itself |
|
|
42
42
|
| `showValue` | `boolean` | false | ProgressBar, ProgressCircle | Whether the formatted number is rendered beside the name. A wait needs no number to be understood |
|
|
@@ -67,7 +67,7 @@ Excerpt — not a complete module
|
|
|
67
67
|
| Axis | Values | Default |
|
|
68
68
|
| --- | --- | --- |
|
|
69
69
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
70
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `accent` |
|
|
70
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `accent` |
|
|
71
71
|
| `placement` | `inline`, `page`, `edge-start`, `edge-end` | `inline` |
|
|
72
72
|
|
|
73
73
|
## Rules
|
|
@@ -82,7 +82,7 @@ Excerpt — not a complete module
|
|
|
82
82
|
|
|
83
83
|
## Tokens
|
|
84
84
|
|
|
85
|
-
`--slotted-border-strong`, `--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-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-line-height-md`, `--slotted-progress-indicator-buffer-color`, `--slotted-progress-indicator-buffer-percent`, `--slotted-progress-indicator-gap`, `--slotted-progress-indicator-indicator-color`, `--slotted-progress-indicator-percent`, `--slotted-progress-indicator-position`, `--slotted-progress-indicator-radius`, `--slotted-progress-indicator-size`, `--slotted-progress-indicator-stroke`, `--slotted-progress-indicator-thickness`, `--slotted-progress-indicator-track-color`, `--slotted-progress-indicator-travel-size`, `--slotted-progress-indicator-travel-start`, `--slotted-progress-indicator-wave-amplitude`, `--slotted-progress-indicator-wave-phase`, `--slotted-radius-full`, `--slotted-radius-none`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-sticky`
|
|
85
|
+
`--slotted-border-strong`, `--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-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-line-height-md`, `--slotted-progress-indicator-buffer-color`, `--slotted-progress-indicator-buffer-percent`, `--slotted-progress-indicator-gap`, `--slotted-progress-indicator-indicator-color`, `--slotted-progress-indicator-percent`, `--slotted-progress-indicator-position`, `--slotted-progress-indicator-radius`, `--slotted-progress-indicator-size`, `--slotted-progress-indicator-stroke`, `--slotted-progress-indicator-thickness`, `--slotted-progress-indicator-track-color`, `--slotted-progress-indicator-travel-size`, `--slotted-progress-indicator-travel-start`, `--slotted-progress-indicator-wave-amplitude`, `--slotted-progress-indicator-wave-phase`, `--slotted-radius-full`, `--slotted-radius-none`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-sticky`
|
|
86
86
|
|
|
87
87
|
## Examples
|
|
88
88
|
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"submitted",
|
|
27
27
|
"streaming",
|
|
28
28
|
"error"
|
|
29
|
+
],
|
|
30
|
+
"emphasis": [
|
|
31
|
+
"none",
|
|
32
|
+
"ring"
|
|
29
33
|
]
|
|
30
34
|
},
|
|
31
35
|
"members": {
|
|
@@ -71,14 +75,17 @@
|
|
|
71
75
|
"footer",
|
|
72
76
|
"action",
|
|
73
77
|
"attach",
|
|
74
|
-
"
|
|
78
|
+
"dictate",
|
|
79
|
+
"submit",
|
|
80
|
+
"ring",
|
|
81
|
+
"glow"
|
|
75
82
|
]
|
|
76
83
|
}
|
|
77
84
|
},
|
|
78
85
|
"docs": {
|
|
79
86
|
"promptComposer": {
|
|
80
87
|
"imports": {
|
|
81
|
-
"source": "import {\n PromptComposer,\n PromptComposerAction,\n PromptComposerAttach,\n PromptComposerFooter,\n PromptComposerHeader,\n PromptComposerInput,\n PromptComposerSubmit,\n} from '@slotted/react';"
|
|
88
|
+
"source": "import {\n PromptComposer,\n PromptComposerAction,\n PromptComposerAttach,\n PromptComposerDictate,\n PromptComposerFooter,\n PromptComposerHeader,\n PromptComposerInput,\n PromptComposerSubmit,\n} from '@slotted/react';"
|
|
82
89
|
},
|
|
83
90
|
"anatomy": [
|
|
84
91
|
{
|
|
@@ -117,11 +124,29 @@
|
|
|
117
124
|
"required": false,
|
|
118
125
|
"purpose": "Opens the file chooser with the composer’s accept and multiple, and hands the choice to onAttach with reason \"pointer\"."
|
|
119
126
|
},
|
|
127
|
+
{
|
|
128
|
+
"part": "dictate",
|
|
129
|
+
"element": "button (PromptComposerDictate)",
|
|
130
|
+
"required": false,
|
|
131
|
+
"purpose": "The microphone: dictation through the platform’s SpeechRecognition, in the lang input or the nearest lang attribute. Each final phrase is written at the end of the value through onValueChange with reason \"dictation\"; the button is aria-pressed while the engine listens, a second press stops it, and “Listening” is announced as it starts. Without a recognition engine the button renders nothing."
|
|
132
|
+
},
|
|
120
133
|
{
|
|
121
134
|
"part": "submit",
|
|
122
135
|
"element": "button (PromptComposerSubmit)",
|
|
123
136
|
"required": false,
|
|
124
137
|
"purpose": "The send: a round accent disc named by the label for its status — Send, Sending, Stop, Retry — or a pill named by the words given to it. A busy ring while submitted, a stop square inside the ring while streaming, a retry turn after an error."
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"part": "ring",
|
|
141
|
+
"element": "span, aria-hidden",
|
|
142
|
+
"required": false,
|
|
143
|
+
"purpose": "With emphasis=\"ring\": the frame's edge, a band cut from a turning conic gradient of --slotted-prompt-composer-ring-colors. It replaces the border, the focus outline and the raised shadow; the buttons keep their own focus rings."
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"part": "glow",
|
|
147
|
+
"element": "span, aria-hidden",
|
|
148
|
+
"required": false,
|
|
149
|
+
"purpose": "With emphasis=\"ring\": the same gradient blurred outside the frame, at --slotted-prompt-composer-ring-glow-opacity at rest, -focus while the input holds focus, -busy while loading, submitted or streaming."
|
|
125
150
|
}
|
|
126
151
|
],
|
|
127
152
|
"api": [
|
|
@@ -167,6 +192,13 @@
|
|
|
167
192
|
"appliesTo": "PromptComposer, PromptComposerDefaultsProvider",
|
|
168
193
|
"description": "raised is the chat surface; outline and subtle sit inside a form"
|
|
169
194
|
},
|
|
195
|
+
{
|
|
196
|
+
"name": "emphasis",
|
|
197
|
+
"type": "'none' | 'ring'",
|
|
198
|
+
"defaultValue": "none",
|
|
199
|
+
"appliesTo": "PromptComposer",
|
|
200
|
+
"description": "A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colours bring the border back"
|
|
201
|
+
},
|
|
170
202
|
{
|
|
171
203
|
"name": "canSubmit",
|
|
172
204
|
"type": "boolean",
|
|
@@ -279,7 +311,7 @@
|
|
|
279
311
|
{
|
|
280
312
|
"name": "onValueChange",
|
|
281
313
|
"payload": "(value: string, request: ChangeRequest<string>)",
|
|
282
|
-
"when": "Before the value moves: reason \"keyboard\" for an edit, \"submit\" for the clearing after an accepted send. cancel() refuses the move."
|
|
314
|
+
"when": "Before the value moves: reason \"keyboard\" for an edit, \"dictation\" for a phrase PromptComposerDictate wrote, \"submit\" for the clearing after an accepted send. cancel() refuses the move."
|
|
283
315
|
},
|
|
284
316
|
{
|
|
285
317
|
"name": "onValueSubmit",
|
|
@@ -316,9 +348,11 @@
|
|
|
316
348
|
"--slotted-border-strong",
|
|
317
349
|
"--slotted-border-subtle",
|
|
318
350
|
"--slotted-border-width-medium",
|
|
351
|
+
"--slotted-border-width-thick",
|
|
319
352
|
"--slotted-border-width-thin",
|
|
320
353
|
"--slotted-control-border-color",
|
|
321
354
|
"--slotted-control-border-width",
|
|
355
|
+
"--slotted-control-focus-ring-offset",
|
|
322
356
|
"--slotted-control-font-family",
|
|
323
357
|
"--slotted-control-font-size-lg",
|
|
324
358
|
"--slotted-control-font-size-md",
|
|
@@ -338,9 +372,14 @@
|
|
|
338
372
|
"--slotted-control-surface",
|
|
339
373
|
"--slotted-control-transition-duration",
|
|
340
374
|
"--slotted-control-transition-easing",
|
|
375
|
+
"--slotted-data-1",
|
|
376
|
+
"--slotted-data-2",
|
|
377
|
+
"--slotted-data-3",
|
|
378
|
+
"--slotted-data-5",
|
|
341
379
|
"--slotted-disabled-background",
|
|
342
380
|
"--slotted-disabled-border",
|
|
343
381
|
"--slotted-disabled-foreground",
|
|
382
|
+
"--slotted-duration-loop-slow",
|
|
344
383
|
"--slotted-duration-medium",
|
|
345
384
|
"--slotted-duration-short",
|
|
346
385
|
"--slotted-easing-enter",
|
|
@@ -376,6 +415,13 @@
|
|
|
376
415
|
"--slotted-prompt-composer-raised-focus-shadow",
|
|
377
416
|
"--slotted-prompt-composer-raised-shadow",
|
|
378
417
|
"--slotted-prompt-composer-readonly-background",
|
|
418
|
+
"--slotted-prompt-composer-ring-colors",
|
|
419
|
+
"--slotted-prompt-composer-ring-duration",
|
|
420
|
+
"--slotted-prompt-composer-ring-glow-opacity",
|
|
421
|
+
"--slotted-prompt-composer-ring-glow-opacity-busy",
|
|
422
|
+
"--slotted-prompt-composer-ring-glow-opacity-focus",
|
|
423
|
+
"--slotted-prompt-composer-ring-glow-reach",
|
|
424
|
+
"--slotted-prompt-composer-ring-width",
|
|
379
425
|
"--slotted-prompt-composer-rows",
|
|
380
426
|
"--slotted-prompt-composer-selection-background",
|
|
381
427
|
"--slotted-prompt-composer-shadow",
|
|
@@ -396,6 +442,7 @@
|
|
|
396
442
|
"--slotted-space-3",
|
|
397
443
|
"--slotted-space-4",
|
|
398
444
|
"--slotted-space-5",
|
|
445
|
+
"--slotted-space-8",
|
|
399
446
|
"--slotted-surface-sunken",
|
|
400
447
|
"--slotted-target-comfortable",
|
|
401
448
|
"--slotted-target-min",
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
PromptComposer,
|
|
11
11
|
PromptComposerAction,
|
|
12
12
|
PromptComposerAttach,
|
|
13
|
+
PromptComposerDictate,
|
|
13
14
|
PromptComposerFooter,
|
|
14
15
|
PromptComposerHeader,
|
|
15
16
|
PromptComposerInput,
|
|
@@ -41,7 +42,10 @@ Excerpt — not a complete module
|
|
|
41
42
|
| `footer` | div (PromptComposerFooter) | no |
|
|
42
43
|
| `action` | button (PromptComposerAction) | no |
|
|
43
44
|
| `attach` | button (PromptComposerAttach), with a hidden file input beside it | no |
|
|
45
|
+
| `dictate` | button (PromptComposerDictate) | no |
|
|
44
46
|
| `submit` | button (PromptComposerSubmit) | no |
|
|
47
|
+
| `ring` | span, aria-hidden | no |
|
|
48
|
+
| `glow` | span, aria-hidden | no |
|
|
45
49
|
|
|
46
50
|
## Props
|
|
47
51
|
|
|
@@ -53,6 +57,7 @@ Excerpt — not a complete module
|
|
|
53
57
|
| `submitOn` | `'enter' \| 'mod-enter'` | enter | PromptComposer, PromptComposerDefaultsProvider | Which key sends. Shift+Enter always breaks a line; Mod+Enter always sends |
|
|
54
58
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | PromptComposer, PromptComposerDefaultsProvider | The control step, read from the field first |
|
|
55
59
|
| `variant` | `'raised' \| 'outline' \| 'subtle'` | raised | PromptComposer, PromptComposerDefaultsProvider | raised is the chat surface; outline and subtle sit inside a form |
|
|
60
|
+
| `emphasis` | `'none' \| 'ring'` | none | PromptComposer | A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colours bring the border back |
|
|
56
61
|
| `canSubmit` | `boolean` | the value is not blank | PromptComposer | Whether the send is available; an application with attachments ready says true |
|
|
57
62
|
| `accept / maxSize / maxFiles / multiple` | `string / number / number / boolean` | — / — / — / true | PromptComposer | The selection rules upload applies, for the paperclip, a paste and a drop |
|
|
58
63
|
| `disabled` | `boolean` | from the field, or false | PromptComposer | Unstated rather than false, so the composer defers to its field. The native attribute on the textarea; the paperclip and the send leave the tab order with it |
|
|
@@ -73,7 +78,7 @@ Excerpt — not a complete module
|
|
|
73
78
|
|
|
74
79
|
| Name | Payload | When |
|
|
75
80
|
| --- | --- | --- |
|
|
76
|
-
| `onValueChange` | `(value: string, request: ChangeRequest<string>)` | Before the value moves: reason "keyboard" for an edit, "submit" for the clearing after an accepted send. cancel() refuses the move. |
|
|
81
|
+
| `onValueChange` | `(value: string, request: ChangeRequest<string>)` | Before the value moves: reason "keyboard" for an edit, "dictation" for a phrase PromptComposerDictate wrote, "submit" for the clearing after an accepted send. cancel() refuses the move. |
|
|
77
82
|
| `onValueSubmit` | `(value: string, request: ChangeRequest<string>)` | Before the message is sent, from Enter, Mod+Enter or the send button — reason "keyboard" or "pointer". cancel() keeps the value where it is; otherwise an uncontrolled composer clears it. |
|
|
78
83
|
| `onStop` | `({ reason, source })` | The stop button, while status is "streaming". “Stopped” is announced. |
|
|
79
84
|
| `onAttach` | `(files: File[], { reason, rejected, source })` | Files from the paperclip ("pointer"), a paste ("paste") or a drop ("drop"), after accept, maxSize, maxFiles and multiple. rejected lists what the rules refused, with the reason. |
|
|
@@ -87,6 +92,7 @@ Excerpt — not a complete module
|
|
|
87
92
|
| `variant` | `raised`, `outline`, `subtle` | `raised` |
|
|
88
93
|
| `submitOn` | `enter`, `mod-enter` | `enter` |
|
|
89
94
|
| `status` | `ready`, `submitted`, `streaming`, `error` | `ready` |
|
|
95
|
+
| `emphasis` | `none`, `ring` | — |
|
|
90
96
|
|
|
91
97
|
## Rules
|
|
92
98
|
|
|
@@ -99,7 +105,7 @@ Excerpt — not a complete module
|
|
|
99
105
|
|
|
100
106
|
## Tokens
|
|
101
107
|
|
|
102
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-md`, `--slotted-prompt-composer-action-active-background`, `--slotted-prompt-composer-action-color`, `--slotted-prompt-composer-action-hover-background`, `--slotted-prompt-composer-action-label-color`, `--slotted-prompt-composer-background`, `--slotted-prompt-composer-border-color`, `--slotted-prompt-composer-caret-color`, `--slotted-prompt-composer-color`, `--slotted-prompt-composer-disabled-background`, `--slotted-prompt-composer-disabled-border-color`, `--slotted-prompt-composer-disabled-color`, `--slotted-prompt-composer-drop-background`, `--slotted-prompt-composer-drop-border-color`, `--slotted-prompt-composer-hover-border-color`, `--slotted-prompt-composer-invalid-border-color`, `--slotted-prompt-composer-invalid-edge-width`, `--slotted-prompt-composer-invalid-focus-ring-color`, `--slotted-prompt-composer-line-height`, `--slotted-prompt-composer-max-rows`, `--slotted-prompt-composer-placeholder-color`, `--slotted-prompt-composer-radius`, `--slotted-prompt-composer-raised-focus-shadow`, `--slotted-prompt-composer-raised-shadow`, `--slotted-prompt-composer-readonly-background`, `--slotted-prompt-composer-rows`, `--slotted-prompt-composer-selection-background`, `--slotted-prompt-composer-shadow`, `--slotted-prompt-composer-submit-active-background`, `--slotted-prompt-composer-submit-background`, `--slotted-prompt-composer-submit-color`, `--slotted-prompt-composer-submit-disabled-background`, `--slotted-prompt-composer-submit-hover-background`, `--slotted-prompt-composer-subtle-background`, `--slotted-prompt-composer-subtle-border-color`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-xs`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
108
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-5`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-md`, `--slotted-prompt-composer-action-active-background`, `--slotted-prompt-composer-action-color`, `--slotted-prompt-composer-action-hover-background`, `--slotted-prompt-composer-action-label-color`, `--slotted-prompt-composer-background`, `--slotted-prompt-composer-border-color`, `--slotted-prompt-composer-caret-color`, `--slotted-prompt-composer-color`, `--slotted-prompt-composer-disabled-background`, `--slotted-prompt-composer-disabled-border-color`, `--slotted-prompt-composer-disabled-color`, `--slotted-prompt-composer-drop-background`, `--slotted-prompt-composer-drop-border-color`, `--slotted-prompt-composer-hover-border-color`, `--slotted-prompt-composer-invalid-border-color`, `--slotted-prompt-composer-invalid-edge-width`, `--slotted-prompt-composer-invalid-focus-ring-color`, `--slotted-prompt-composer-line-height`, `--slotted-prompt-composer-max-rows`, `--slotted-prompt-composer-placeholder-color`, `--slotted-prompt-composer-radius`, `--slotted-prompt-composer-raised-focus-shadow`, `--slotted-prompt-composer-raised-shadow`, `--slotted-prompt-composer-readonly-background`, `--slotted-prompt-composer-ring-colors`, `--slotted-prompt-composer-ring-duration`, `--slotted-prompt-composer-ring-glow-opacity`, `--slotted-prompt-composer-ring-glow-opacity-busy`, `--slotted-prompt-composer-ring-glow-opacity-focus`, `--slotted-prompt-composer-ring-glow-reach`, `--slotted-prompt-composer-ring-width`, `--slotted-prompt-composer-rows`, `--slotted-prompt-composer-selection-background`, `--slotted-prompt-composer-shadow`, `--slotted-prompt-composer-submit-active-background`, `--slotted-prompt-composer-submit-background`, `--slotted-prompt-composer-submit-color`, `--slotted-prompt-composer-submit-disabled-background`, `--slotted-prompt-composer-submit-hover-background`, `--slotted-prompt-composer-subtle-background`, `--slotted-prompt-composer-subtle-border-color`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-xs`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-8`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
103
109
|
|
|
104
110
|
## Examples
|
|
105
111
|
|
package/dist/docs/rating.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"tone": [
|
|
16
16
|
"accent",
|
|
17
|
+
"info",
|
|
17
18
|
"success",
|
|
18
19
|
"warning",
|
|
19
20
|
"danger"
|
|
@@ -246,7 +247,7 @@
|
|
|
246
247
|
},
|
|
247
248
|
{
|
|
248
249
|
"name": "tone",
|
|
249
|
-
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
250
|
+
"type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
250
251
|
"defaultValue": "warning",
|
|
251
252
|
"appliesTo": "all members, RatingProvider",
|
|
252
253
|
"description": "The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit"
|
|
@@ -461,7 +462,7 @@
|
|
|
461
462
|
},
|
|
462
463
|
{
|
|
463
464
|
"name": "tone",
|
|
464
|
-
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
465
|
+
"type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
465
466
|
"defaultValue": "warning",
|
|
466
467
|
"appliesTo": "all members, RatingProvider",
|
|
467
468
|
"description": "The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit"
|
|
@@ -780,7 +781,7 @@
|
|
|
780
781
|
},
|
|
781
782
|
{
|
|
782
783
|
"name": "tone",
|
|
783
|
-
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
784
|
+
"type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
784
785
|
"defaultValue": "warning",
|
|
785
786
|
"appliesTo": "all members, RatingProvider",
|
|
786
787
|
"description": "The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit"
|
|
@@ -912,6 +913,7 @@
|
|
|
912
913
|
"--slotted-tone-danger-solid",
|
|
913
914
|
"--slotted-tone-danger-surface",
|
|
914
915
|
"--slotted-tone-danger-text",
|
|
916
|
+
"--slotted-tone-info-solid",
|
|
915
917
|
"--slotted-tone-secondary-border",
|
|
916
918
|
"--slotted-tone-secondary-subtle-active",
|
|
917
919
|
"--slotted-tone-secondary-subtle-hover",
|
package/dist/docs/rating.md
CHANGED
|
@@ -89,7 +89,7 @@ Excerpt — not a complete module
|
|
|
89
89
|
| `step` | `1 \| 0.5` | 1 | Rating | A whole symbol or half of one. Finer fractions are declined: a third of a 20-pixel star is below the minimum target |
|
|
90
90
|
| `clearable` | `boolean` | true | Rating, RatingProvider | Whether a press on the checked star, Backspace and Delete empty the value |
|
|
91
91
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | all members, RatingProvider | The step the symbols and the text sit at. The symbol does not follow density; the text does |
|
|
92
|
-
| `tone` | `'accent' \| 'success' \| 'warning' \| 'danger'` | warning | all members, RatingProvider | The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit |
|
|
92
|
+
| `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | all members, RatingProvider | The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit |
|
|
93
93
|
| `disabled` | `boolean` | from the field, or false | Rating | Unstated rather than false. Every radio is disabled natively; the value stays readable |
|
|
94
94
|
| `readOnly` | `boolean` | from the field, or false | Rating | Unstated rather than false. Every change is refused, every radio keeps its tab stop, and aria-readonly is written |
|
|
95
95
|
| `required` | `boolean` | from the field, or false | Rating | Unstated rather than false. Writes aria-required on the group, never the native attribute |
|
|
@@ -112,7 +112,7 @@ Excerpt — not a complete module
|
|
|
112
112
|
| `value` | `number` | — | RatingDisplay | The value reported, any fraction, clamped to the scale |
|
|
113
113
|
| `max` | `number` | 5 | all members, RatingProvider | How many symbols, or how many levels a summary reads from counts |
|
|
114
114
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | all members, RatingProvider | The step the symbols and the text sit at. The symbol does not follow density; the text does |
|
|
115
|
-
| `tone` | `'accent' \| 'success' \| 'warning' \| 'danger'` | warning | all members, RatingProvider | The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit |
|
|
115
|
+
| `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | all members, RatingProvider | The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit |
|
|
116
116
|
| `variant` | `'full' \| 'compact' \| 'histogram'` | full | RatingDisplay | Every symbol, or one star beside the number, or one star and a bar per level |
|
|
117
117
|
| `count` | `number` | — | RatingDisplay | How many ratings. Written beside the number and added to the accessible name |
|
|
118
118
|
| `distribution` | `readonly number[]` | — | RatingDisplay | Counts per level, lowest first, drawn by the histogram variant |
|
|
@@ -137,7 +137,7 @@ Excerpt — not a complete module
|
|
|
137
137
|
| `showInsight` | `boolean` | true | RatingSummary | Whether the spectrum writes its conclusion |
|
|
138
138
|
| `insightThresholds` | `Partial<RatingInsightThresholds>` | { divided: 0.25, few: 30, margin: 0.5, consensus: 0.8 } | RatingSummary, RatingProvider | Where the conclusions are drawn, merged over the provider’s |
|
|
139
139
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | all members, RatingProvider | The step the symbols and the text sit at. The symbol does not follow density; the text does |
|
|
140
|
-
| `tone` | `'accent' \| 'success' \| 'warning' \| 'danger'` | warning | all members, RatingProvider | The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit |
|
|
140
|
+
| `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | all members, RatingProvider | The colour a lit symbol takes. secondary is declined: its solid step is a ground, and a star lit in it reads as unlit |
|
|
141
141
|
| `locale` | `string` | the language in force | all members | The locale every number is written in: 4,6 and 1.284 in pt-BR |
|
|
142
142
|
| `messages` | `Partial<RatingMessages>` | — | all members | Words laid over the language in force, key by key: every string the family writes |
|
|
143
143
|
| `render` | `(props: RatingRootProps) => ReactNode` | — | RatingSummary | Substitutes the section root and hands it every attribute and handler |
|
|
@@ -165,8 +165,8 @@ Excerpt — not a complete module
|
|
|
165
165
|
| Axis | Values | Default |
|
|
166
166
|
| --- | --- | --- |
|
|
167
167
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
168
|
-
| `tone` | `accent`, `success`, `warning`, `danger` | `warning` |
|
|
169
|
-
| `variant` | `full`, `compact`, `histogram` | `full`,
|
|
168
|
+
| `tone` | `accent`, `info`, `success`, `warning`, `danger` | `warning` |
|
|
169
|
+
| `variant` | `full`, `compact`, `histogram` | `full`, bars |
|
|
170
170
|
| `summaryVariant` | `bars`, `spectrum` | — |
|
|
171
171
|
|
|
172
172
|
## Rules
|
|
@@ -185,7 +185,7 @@ Excerpt — not a complete module
|
|
|
185
185
|
|
|
186
186
|
## Tokens
|
|
187
187
|
|
|
188
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--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-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-4xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-highlight-tint-opacity`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-rating-active-background`, `--slotted-rating-bar-color`, `--slotted-rating-bar-size`, `--slotted-rating-edge`, `--slotted-rating-empty-color`, `--slotted-rating-gap`, `--slotted-rating-hover-background`, `--slotted-rating-invalid-color`, `--slotted-rating-invalid-edge-width`, `--slotted-rating-lit-color`, `--slotted-rating-symbol-size`, `--slotted-space-1`, `--slotted-space-10`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-inverse`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
188
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--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-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-4xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-highlight-tint-opacity`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-rating-active-background`, `--slotted-rating-bar-color`, `--slotted-rating-bar-size`, `--slotted-rating-edge`, `--slotted-rating-empty-color`, `--slotted-rating-gap`, `--slotted-rating-hover-background`, `--slotted-rating-invalid-color`, `--slotted-rating-invalid-edge-width`, `--slotted-rating-lit-color`, `--slotted-rating-symbol-size`, `--slotted-space-1`, `--slotted-space-10`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-inverse`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-solid`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
189
189
|
|
|
190
190
|
## Examples
|
|
191
191
|
|