@slotted/react 0.1.0-beta.33 → 0.1.0-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{action-bar-CAtXzym2.js → action-bar-Cq4dt4hP.js} +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/{app-shell-ClwskWBN.js → app-shell-DzgUaTI_.js} +1 -1
- package/dist/app-shell.js +1 -1
- package/dist/{attachment-AAjprQyU.js → attachment-BMVfyrfb.js} +1 -1
- package/dist/attachment.js +1 -1
- package/dist/{button-BxgjXAos.js → button-DWqgjdVT.js} +27 -25
- package/dist/button.js +2 -2
- package/dist/calendar-CjVx7amB.js +511 -0
- package/dist/calendar.js +2 -2
- package/dist/{card-DRmq8_5e.js → card-DO3Kfl_t.js} +5 -4
- package/dist/card.js +1 -1
- package/dist/{cascader-DUiUVxBt.js → cascader-DuHG1xmi.js} +1 -1
- package/dist/cascader.js +1 -1
- package/dist/{chart-BXwHG9tX.js → chart-BaNN4AQj.js} +373 -357
- package/dist/chart.js +1 -1
- package/dist/{collapsible-BuUBeNDg.js → collapsible-D97FQrzs.js} +96 -67
- package/dist/collapsible.js +2 -2
- package/dist/{color-picker-DP8MjvXk.js → color-picker-DhKW6Uyc.js} +1 -1
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-NN-ZCcy9.js → column-manager-qJX80g4n.js} +2 -2
- package/dist/column-manager.js +1 -1
- package/dist/{command-palette-BxbhO044.js → command-palette-C90CzfQi.js} +174 -169
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-BJyDD17g.js → context-menu-WiKS4Zwv.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{dashboard-grid-YMoSW5C1.js → dashboard-grid-CLRtbO05.js} +144 -131
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-DSI_LFmJ.js → data-grid-B1AhnXmo.js} +374 -374
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-fAeBMZZT.js → data-list-BWseCMYO.js} +12 -12
- package/dist/data-list.js +1 -1
- package/dist/{date-picker-CB3pyJob.js → date-picker-CQDvE1nB.js} +3 -3
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-B28tj1yV.js +522 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-picker-D-fhwe8l.js → datetime-picker-CXLvcFxV.js} +1 -1
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-Bh3mAEsM.js → datetime-range-picker-BAXiRa2S.js} +1 -1
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{description-list-BbWLehw0.js → description-list-D8iTzgC0.js} +18 -16
- package/dist/description-list.js +1 -1
- package/dist/{detail-panel-DYe_D46K.js → detail-panel-D3AT1upM.js} +3 -3
- package/dist/detail-panel.js +1 -1
- package/dist/docs/accordion.json +2 -0
- package/dist/docs/accordion.md +1 -1
- package/dist/docs/avatar.json +1 -0
- package/dist/docs/avatar.md +1 -1
- package/dist/docs/badge.json +1 -0
- package/dist/docs/badge.md +1 -1
- package/dist/docs/button.json +56 -2
- package/dist/docs/button.md +8 -1
- package/dist/docs/calendar.json +59 -0
- package/dist/docs/calendar.md +8 -1
- package/dist/docs/card.json +7 -0
- package/dist/docs/card.md +1 -0
- package/dist/docs/chart.json +39 -4
- package/dist/docs/chart.md +10 -5
- package/dist/docs/checkbox.json +8 -3
- package/dist/docs/checkbox.md +3 -3
- package/dist/docs/collapsible.json +33 -1
- package/dist/docs/collapsible.md +5 -1
- package/dist/docs/command-palette.json +2 -1
- package/dist/docs/command-palette.md +1 -1
- package/dist/docs/dashboard-grid.json +11 -3
- package/dist/docs/dashboard-grid.md +3 -2
- package/dist/docs/description-list.json +10 -2
- package/dist/docs/description-list.md +2 -1
- package/dist/docs/drawer.examples.md +153 -151
- package/dist/docs/drawer.json +8 -8
- package/dist/docs/entity-picker.json +3 -2
- package/dist/docs/entity-picker.md +2 -2
- package/dist/docs/floating-panel.json +194 -0
- package/dist/docs/floating-panel.md +90 -0
- package/dist/docs/form.json +1 -1
- package/dist/docs/index.md +3 -1
- package/dist/docs/inline-message.json +1 -0
- package/dist/docs/inline-message.md +1 -1
- package/dist/docs/kbd.json +1 -0
- package/dist/docs/kbd.md +1 -1
- package/dist/docs/link.json +1 -1
- package/dist/docs/link.md +1 -1
- package/dist/docs/list-item.json +29 -6
- package/dist/docs/list-item.md +32 -17
- package/dist/docs/list.json +13 -0
- package/dist/docs/list.md +3 -1
- package/dist/docs/listbox.json +13 -0
- package/dist/docs/listbox.md +2 -1
- package/dist/docs/markdown.json +1 -1
- package/dist/docs/markdown.md +1 -1
- package/dist/docs/message.json +15 -0
- package/dist/docs/message.md +3 -1
- package/dist/docs/meter.json +246 -0
- package/dist/docs/meter.md +119 -0
- package/dist/docs/page.json +21 -0
- package/dist/docs/page.md +3 -1
- package/dist/docs/progress-indicator.json +39 -1
- package/dist/docs/progress-indicator.md +6 -1
- package/dist/docs/prompt-composer.json +1 -1
- package/dist/docs/radio-group.json +18 -1
- package/dist/docs/radio-group.md +3 -1
- package/dist/docs/rating.json +1 -0
- package/dist/docs/rating.md +1 -1
- package/dist/docs/section.json +28 -3
- package/dist/docs/section.md +6 -3
- package/dist/docs/segmented-control.json +5 -4
- package/dist/docs/segmented-control.md +3 -3
- package/dist/docs/side-navigation.json +8 -0
- package/dist/docs/side-navigation.md +2 -1
- package/dist/docs/slider.json +8 -0
- package/dist/docs/slider.md +2 -1
- package/dist/docs/sparkline.json +412 -1
- package/dist/docs/sparkline.md +177 -2
- package/dist/docs/stat-card.json +14 -0
- package/dist/docs/stat-card.md +2 -0
- package/dist/docs/switch.json +16 -0
- package/dist/docs/switch.md +3 -1
- package/dist/docs/table.json +39 -1
- package/dist/docs/table.md +6 -1
- package/dist/docs/tag.json +1 -0
- package/dist/docs/tag.md +1 -1
- package/dist/docs/tokens.md +1 -1
- package/dist/docs/toolbar.json +2 -1
- package/dist/docs/toolbar.md +1 -1
- package/dist/docs/top-navigation.json +1 -0
- package/dist/docs/top-navigation.md +1 -1
- package/dist/docs/typography.json +15 -0
- package/dist/docs/typography.md +3 -1
- package/dist/{entity-picker-DfoAxqaa.js → entity-picker-D1MwJyvr.js} +501 -499
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-BiGeWzAG.js → event-calendar-l17xA1Uw.js} +4 -4
- package/dist/event-calendar.js +1 -1
- package/dist/{filter-bar-Bb_8T3nU.js → filter-bar-CYPaGUt2.js} +6 -6
- package/dist/filter-bar.js +1 -1
- package/dist/floating-panel-84VLZdhL.js +166 -0
- package/dist/floating-panel.js +2 -0
- package/dist/{icon-button-DERKFHX1.js → icon-button-CSjgX1pQ.js} +77 -63
- package/dist/{import-export-center-CV11dYvN.js → import-export-center-Da8o-xT6.js} +5 -5
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +127 -125
- package/dist/{list-B7gaPH1U.js → list-CvwJXjA0.js} +21 -17
- package/dist/{list-item-2z75VYyp.js → list-item-DHKlkY65.js} +25 -21
- package/dist/list-item.js +2 -2
- package/dist/list.js +1 -1
- package/dist/{listbox-Df177k5C.js → listbox-BGJ2fEDO.js} +231 -188
- package/dist/listbox.js +1 -1
- package/dist/{loading-overlay-BLIrcaoj.js → loading-overlay-CjUmvxqX.js} +1 -1
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-B_niyRIl.js → markdown-JPxAdShq.js} +1 -1
- package/dist/markdown.js +1 -1
- package/dist/{menu-parts-DNQDoJnd.js → menu-parts-DgL617_H.js} +23 -23
- package/dist/menu.js +1 -1
- package/dist/{menubar-CY8oxV0V.js → menubar-k8Q4_p9l.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/{message-C1O3jr31.js → message-j4-apGnW.js} +60 -46
- package/dist/message.js +1 -1
- package/dist/meter-L3LD3rSM.js +60 -0
- package/dist/meter.js +2 -0
- package/dist/{notification-center-CQqPcJr4.js → notification-center-B9rX_ZOu.js} +1 -1
- package/dist/notification-center.js +1 -1
- package/dist/page-Tesi7Z_n.js +203 -0
- package/dist/{page-header-TejJ-BTC.js → page-header-ByhInJv-.js} +2 -2
- package/dist/page-header.js +1 -1
- package/dist/page.js +2 -2
- package/dist/progress-indicator-iIoarHsj.js +329 -0
- package/dist/progress-indicator.js +2 -2
- package/dist/prompt-composer-CUuAuR4h.js +312 -0
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-doL7tde1.js → radio-group-C59cfjry.js} +49 -42
- package/dist/radio-group.js +1 -1
- package/dist/{saved-views-BKOHI-Od.js → saved-views-D1h4jRTs.js} +2 -2
- package/dist/saved-views.js +1 -1
- package/dist/{section-CjlMOyZE.js → section-OdQoVBnl.js} +46 -42
- package/dist/section.js +1 -1
- package/dist/segmented-control-CuwEdrZS.js +181 -0
- package/dist/segmented-control.js +1 -1
- package/dist/{select-jdqT8lFi.js → select-C85IKiKk.js} +6 -11
- package/dist/select.js +1 -1
- package/dist/{side-navigation-DNMpckRs.js → side-navigation-fTRK3wuI.js} +136 -129
- package/dist/side-navigation.js +1 -1
- package/dist/slider-yhqotDtS.js +264 -0
- package/dist/slider.js +1 -1
- package/dist/sparkline-SVDPBBav.js +307 -0
- package/dist/sparkline.js +2 -2
- package/dist/{split-button-CgfY606Z.js → split-button-ugark7Xc.js} +2 -2
- package/dist/split-button.js +1 -1
- package/dist/stat-card-DjuW65lA.js +294 -0
- package/dist/stat-card.js +2 -2
- package/dist/styles/accordion.css +1 -1
- package/dist/styles/action-sheet.css +1 -1
- package/dist/styles/app-shell.css +1 -1
- package/dist/styles/attachment.css +1 -1
- package/dist/styles/avatar-group.css +1 -1
- package/dist/styles/avatar.css +1 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/button.css +1 -1
- package/dist/styles/calendar.css +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/cascader.css +4 -4
- package/dist/styles/chart.css +2 -2
- package/dist/styles/checkbox-group.css +1 -1
- package/dist/styles/checkbox.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-picker.css +1 -1
- package/dist/styles/column-manager.css +4 -4
- package/dist/styles/combobox.css +2 -2
- package/dist/styles/command-palette.css +2 -2
- package/dist/styles/currency-field.css +1 -1
- package/dist/styles/dashboard-grid.css +4 -4
- package/dist/styles/data-grid.css +9 -9
- package/dist/styles/data-list.css +6 -6
- package/dist/styles/date-field.css +1 -1
- package/dist/styles/date-picker.css +2 -2
- package/dist/styles/date-range-picker.css +2 -2
- package/dist/styles/datetime-field.css +1 -1
- package/dist/styles/datetime-picker.css +2 -2
- package/dist/styles/datetime-range-picker.css +2 -2
- package/dist/styles/description-list.css +1 -1
- package/dist/styles/detail-panel.css +5 -5
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/entity-picker.css +5 -5
- package/dist/styles/event-calendar.css +4 -4
- package/dist/styles/field-group.css +1 -1
- package/dist/styles/field.css +1 -1
- package/dist/styles/filter-bar.css +10 -10
- package/dist/styles/floating-panel.css +4 -0
- package/dist/styles/form.css +1 -1
- package/dist/styles/import-export-center.css +9 -9
- package/dist/styles/index.css +50 -46
- package/dist/styles/inline-message.css +1 -1
- package/dist/styles/kbd.css +1 -1
- package/dist/styles/list-item.css +2 -2
- package/dist/styles/list.css +1 -1
- package/dist/styles/listbox.css +2 -2
- package/dist/styles/loading-overlay.css +1 -1
- package/dist/styles/markdown.css +3 -3
- package/dist/styles/message.css +1 -1
- package/dist/styles/meter.css +2 -0
- package/dist/styles/multi-select.css +3 -3
- package/dist/styles/notification-center.css +1 -1
- package/dist/styles/number-field.css +1 -1
- package/dist/styles/otp-input.css +1 -1
- package/dist/styles/page-header.css +3 -3
- package/dist/styles/page.css +2 -2
- package/dist/styles/progress-indicator.css +1 -1
- package/dist/styles/prompt-composer.css +2 -2
- package/dist/styles/radio-group.css +2 -2
- package/dist/styles/rating.css +2 -2
- package/dist/styles/saved-views.css +2 -2
- package/dist/styles/section.css +2 -2
- package/dist/styles/segmented-control.css +2 -2
- package/dist/styles/select.css +3 -3
- package/dist/styles/side-navigation.css +2 -2
- package/dist/styles/slider.css +2 -2
- package/dist/styles/sparkline.css +1 -1
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/stat-card.css +2 -2
- package/dist/styles/status-indicator.css +1 -1
- package/dist/styles/switch.css +2 -2
- package/dist/styles/table.css +8 -8
- package/dist/styles/tag.css +1 -1
- package/dist/styles/tags-input.css +2 -2
- package/dist/styles/text-field.css +1 -1
- package/dist/styles/textarea.css +1 -1
- package/dist/styles/time-field.css +1 -1
- package/dist/styles/time-picker.css +1 -1
- package/dist/styles/time-range-picker.css +1 -1
- package/dist/styles/toast.css +1 -1
- package/dist/styles/toggle-group.css +1 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/top-navigation.css +2 -2
- package/dist/styles/tour.css +1 -1
- package/dist/styles/transfer.css +5 -5
- package/dist/styles/typography.css +1 -1
- package/dist/styles/upload.css +2 -2
- package/dist/styles/wizard.css +3 -3
- package/dist/styles.css +1 -1
- package/dist/{switch-Tr3blHWc.js → switch-C5WjteaS.js} +29 -26
- package/dist/switch.js +1 -1
- package/dist/{table-CAhIaFxs.js → table-BsdRSKob.js} +340 -305
- package/dist/table.js +1 -1
- package/dist/{toast-DHDVXIew.js → toast-D0xdff1C.js} +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toolbar-CSiDqC8L.js → toolbar-DOV4BKY8.js} +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/{top-navigation-C73WDqLg.js → top-navigation-B8jVv3rJ.js} +1 -1
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-BYNqu1dL.js → tour-CuM6SrwJ.js} +1 -1
- package/dist/tour.js +1 -1
- package/dist/{transfer-CmPxesyZ.js → transfer-CJLJumb8.js} +3 -3
- package/dist/transfer.js +1 -1
- package/dist/types/accordion/accordion-defaults.d.ts +1 -1
- package/dist/types/accordion/accordion.d.ts +1 -1
- package/dist/types/accordion/index.d.ts +3 -3
- package/dist/types/action-bar/action-bar-context.d.ts +1 -1
- package/dist/types/action-bar/action-bar-defaults.d.ts +1 -1
- package/dist/types/action-bar/action-bar-overflow.d.ts +1 -1
- package/dist/types/action-bar/action-bar-parts.d.ts +1 -1
- package/dist/types/action-bar/action-bar.d.ts +1 -1
- package/dist/types/action-bar/action-bar.types.d.ts +1 -1
- package/dist/types/action-bar/index.d.ts +7 -7
- package/dist/types/action-sheet/action-sheet-defaults.d.ts +1 -1
- package/dist/types/action-sheet/action-sheet-parts.d.ts +2 -2
- package/dist/types/action-sheet/action-sheet.d.ts +1 -1
- package/dist/types/action-sheet/index.d.ts +4 -4
- package/dist/types/alert/alert-defaults.d.ts +1 -1
- package/dist/types/alert/alert-parts.d.ts +1 -1
- package/dist/types/alert/alert.d.ts +1 -1
- package/dist/types/alert/index.d.ts +4 -4
- package/dist/types/app-shell/app-shell-defaults.d.ts +1 -1
- package/dist/types/app-shell/app-shell-demo/atrio.d.ts +1 -1
- package/dist/types/app-shell/app-shell-demo/aurora.d.ts +2 -2
- package/dist/types/app-shell/app-shell-demo/cadence.d.ts +1 -1
- package/dist/types/app-shell/app-shell-demo/index.d.ts +6 -6
- package/dist/types/app-shell/app-shell-demo/rail.d.ts +1 -1
- package/dist/types/app-shell/app-shell-parts.d.ts +1 -1
- package/dist/types/app-shell/app-shell.d.ts +1 -1
- package/dist/types/app-shell/app-shell.types.d.ts +1 -1
- package/dist/types/app-shell/index.d.ts +4 -4
- package/dist/types/aspect-ratio/aspect-ratio.d.ts +1 -1
- package/dist/types/aspect-ratio/index.d.ts +2 -2
- package/dist/types/attachment/attachment-defaults.d.ts +1 -1
- package/dist/types/attachment/attachment-parts.d.ts +1 -1
- package/dist/types/attachment/attachment.d.ts +1 -1
- package/dist/types/attachment/index.d.ts +5 -5
- package/dist/types/avatar/avatar-defaults.d.ts +1 -1
- package/dist/types/avatar/avatar.d.ts +1 -1
- package/dist/types/avatar/index.d.ts +3 -3
- package/dist/types/avatar-group/avatar-group.d.ts +1 -1
- package/dist/types/avatar-group/index.d.ts +2 -2
- package/dist/types/badge/badge-anchor.d.ts +1 -1
- package/dist/types/badge/badge-defaults.d.ts +1 -1
- package/dist/types/badge/badge.d.ts +1 -1
- package/dist/types/badge/index.d.ts +4 -4
- package/dist/types/breadcrumb/breadcrumb-defaults.d.ts +1 -1
- package/dist/types/breadcrumb/breadcrumb-parts.d.ts +1 -1
- package/dist/types/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/types/breadcrumb/index.d.ts +4 -4
- package/dist/types/button/button-content.d.ts +3 -1
- package/dist/types/button/button-content.d.ts.map +1 -1
- package/dist/types/button/button-defaults.d.ts +1 -1
- package/dist/types/button/button-link.d.ts +2 -2
- package/dist/types/button/button-link.d.ts.map +1 -1
- package/dist/types/button/button-root.d.ts +5 -1
- package/dist/types/button/button-root.d.ts.map +1 -1
- package/dist/types/button/button.d.ts +2 -2
- package/dist/types/button/button.d.ts.map +1 -1
- package/dist/types/button/button.types.d.ts +26 -1
- package/dist/types/button/button.types.d.ts.map +1 -1
- package/dist/types/button/icon-button-link.d.ts +1 -1
- package/dist/types/button/icon-button.d.ts +2 -2
- package/dist/types/button/icon-button.d.ts.map +1 -1
- package/dist/types/button/index.d.ts +7 -7
- package/dist/types/button/index.d.ts.map +1 -1
- package/dist/types/button/toggle-button.d.ts +2 -2
- package/dist/types/button/toggle-button.d.ts.map +1 -1
- package/dist/types/button-group/button-group-separator.d.ts +1 -1
- package/dist/types/button-group/button-group-shape.d.ts +1 -1
- package/dist/types/button-group/button-group.d.ts +1 -1
- package/dist/types/button-group/button-group.types.d.ts +1 -1
- package/dist/types/button-group/index.d.ts +3 -3
- package/dist/types/calendar/calendar-day.d.ts +15 -0
- package/dist/types/calendar/calendar-day.d.ts.map +1 -0
- package/dist/types/calendar/calendar-defaults.d.ts +1 -1
- package/dist/types/calendar/calendar-selection.d.ts +1 -1
- package/dist/types/calendar/calendar.d.ts +2 -2
- package/dist/types/calendar/calendar.d.ts.map +1 -1
- package/dist/types/calendar/calendar.types.d.ts +32 -1
- package/dist/types/calendar/calendar.types.d.ts.map +1 -1
- package/dist/types/calendar/index.d.ts +5 -4
- package/dist/types/calendar/index.d.ts.map +1 -1
- package/dist/types/card/card-actions.d.ts +1 -1
- package/dist/types/card/card-body.d.ts +2 -2
- package/dist/types/card/card-body.d.ts.map +1 -1
- package/dist/types/card/card-defaults.d.ts +1 -1
- package/dist/types/card/card-footer.d.ts +1 -1
- package/dist/types/card/card-header.d.ts +1 -1
- package/dist/types/card/card-link.d.ts +1 -1
- package/dist/types/card/card-media.d.ts +1 -1
- package/dist/types/card/card-selection.d.ts +1 -1
- package/dist/types/card/card.d.ts +1 -1
- package/dist/types/card/card.types.d.ts +9 -0
- package/dist/types/card/card.types.d.ts.map +1 -1
- package/dist/types/card/index.d.ts +10 -10
- package/dist/types/card/index.d.ts.map +1 -1
- package/dist/types/carousel/carousel-defaults.d.ts +1 -1
- package/dist/types/carousel/carousel-demo.d.ts +1 -1
- package/dist/types/carousel/carousel-parts.d.ts +1 -1
- package/dist/types/carousel/carousel.d.ts +1 -1
- package/dist/types/carousel/index.d.ts +4 -4
- package/dist/types/cascader/cascader-defaults.d.ts +1 -1
- package/dist/types/cascader/cascader-state.d.ts +1 -1
- package/dist/types/cascader/cascader-surface.d.ts +2 -2
- package/dist/types/cascader/cascader.d.ts +1 -1
- package/dist/types/cascader/index.d.ts +3 -3
- package/dist/types/chart/chart-defaults.d.ts +1 -1
- package/dist/types/chart/chart.d.ts +1 -1
- package/dist/types/chart/chart.d.ts.map +1 -1
- package/dist/types/chart/chart.types.d.ts +6 -1
- package/dist/types/chart/chart.types.d.ts.map +1 -1
- package/dist/types/chart/index.d.ts +5 -5
- package/dist/types/chart/index.d.ts.map +1 -1
- package/dist/types/checkbox/checkbox-defaults.d.ts +1 -1
- package/dist/types/checkbox/checkbox.d.ts +1 -1
- package/dist/types/checkbox/checkbox.types.d.ts +3 -1
- package/dist/types/checkbox/checkbox.types.d.ts.map +1 -1
- package/dist/types/checkbox/index.d.ts +3 -3
- package/dist/types/checkbox-group/checkbox-group-defaults.d.ts +1 -1
- package/dist/types/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/types/checkbox-group/index.d.ts +3 -3
- package/dist/types/code-block/code-block-defaults.d.ts +1 -1
- package/dist/types/code-block/code-block.d.ts +1 -1
- package/dist/types/code-block/index.d.ts +3 -3
- package/dist/types/collapsible/collapsible-defaults.d.ts +1 -1
- package/dist/types/collapsible/collapsible-defaults.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible-parts.d.ts +8 -2
- package/dist/types/collapsible/collapsible-parts.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible.d.ts +2 -2
- package/dist/types/collapsible/collapsible.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible.types.d.ts +28 -0
- package/dist/types/collapsible/collapsible.types.d.ts.map +1 -1
- package/dist/types/collapsible/index.d.ts +4 -4
- package/dist/types/collapsible/index.d.ts.map +1 -1
- package/dist/types/color-picker/color-picker-defaults.d.ts +1 -1
- package/dist/types/color-picker/color-picker.d.ts +1 -1
- package/dist/types/color-picker/color-picker.types.d.ts +1 -1
- package/dist/types/color-picker/index.d.ts +3 -3
- package/dist/types/column-manager/column-manager-defaults.d.ts +1 -1
- package/dist/types/column-manager/column-manager.d.ts +1 -1
- package/dist/types/column-manager/index.d.ts +3 -3
- package/dist/types/combobox/combobox-collection.d.ts +1 -1
- package/dist/types/combobox/combobox-defaults.d.ts +1 -1
- package/dist/types/combobox/combobox-items.d.ts +1 -1
- package/dist/types/combobox/combobox-parts.d.ts +1 -1
- package/dist/types/combobox/combobox.d.ts +1 -1
- package/dist/types/combobox/index.d.ts +6 -6
- package/dist/types/command-palette/command-palette-defaults.d.ts +1 -1
- package/dist/types/command-palette/command-palette.d.ts +1 -1
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/command-palette/command-palette.types.d.ts +1 -1
- package/dist/types/command-palette/index.d.ts +3 -3
- package/dist/types/container/container-breakout.d.ts +1 -1
- package/dist/types/container/container-defaults.d.ts +1 -1
- package/dist/types/container/container.d.ts +1 -1
- package/dist/types/container/index.d.ts +4 -4
- package/dist/types/context-menu/context-menu-defaults.d.ts +1 -1
- package/dist/types/context-menu/context-menu.d.ts +1 -1
- package/dist/types/context-menu/context-menu.types.d.ts +1 -1
- package/dist/types/context-menu/index.d.ts +3 -3
- package/dist/types/currency-field/currency-field-defaults.d.ts +1 -1
- package/dist/types/currency-field/currency-field.d.ts +1 -1
- package/dist/types/currency-field/index.d.ts +3 -3
- package/dist/types/dashboard-grid/dashboard-grid-context.d.ts +1 -1
- package/dist/types/dashboard-grid/dashboard-grid-defaults.d.ts +1 -1
- package/dist/types/dashboard-grid/dashboard-grid-demo.d.ts +2 -2
- package/dist/types/dashboard-grid/dashboard-grid.d.ts +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +8 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget-help.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget.d.ts +1 -1
- package/dist/types/dashboard-grid/index.d.ts +5 -5
- package/dist/types/dashboard-grid/use-persisted-dashboard-layout.d.ts +2 -2
- package/dist/types/dashboard-grid/use-persisted-dashboard-layout.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +1 -1
- package/dist/types/data-grid/data-grid-defaults.d.ts +1 -1
- package/dist/types/data-grid/data-grid-editors.d.ts +1 -1
- package/dist/types/data-grid/data-grid.d.ts +1 -1
- package/dist/types/data-grid/index.d.ts +6 -6
- package/dist/types/data-grid/use-data-source.d.ts +1 -1
- package/dist/types/data-grid/use-persisted-grid-view.d.ts +1 -1
- package/dist/types/data-list/data-list-defaults.d.ts +1 -1
- package/dist/types/data-list/data-list.d.ts +1 -1
- package/dist/types/data-list/data-list.types.d.ts +1 -1
- package/dist/types/data-list/index.d.ts +3 -3
- package/dist/types/date-field/date-field-defaults.d.ts +1 -1
- package/dist/types/date-field/date-field.d.ts +1 -1
- package/dist/types/date-field/index.d.ts +3 -3
- package/dist/types/date-picker/date-picker-defaults.d.ts +1 -1
- package/dist/types/date-picker/date-picker.d.ts +1 -1
- package/dist/types/date-picker/date-picker.types.d.ts +1 -1
- package/dist/types/date-picker/index.d.ts +3 -3
- package/dist/types/date-range-picker/date-range-picker-defaults.d.ts +1 -1
- package/dist/types/date-range-picker/date-range-picker.d.ts +1 -1
- package/dist/types/date-range-picker/date-range-picker.types.d.ts +2 -2
- package/dist/types/date-range-picker/index.d.ts +3 -3
- package/dist/types/datetime-field/datetime-field-defaults.d.ts +1 -1
- package/dist/types/datetime-field/datetime-field.d.ts +1 -1
- package/dist/types/datetime-field/index.d.ts +3 -3
- package/dist/types/datetime-picker/datetime-picker-defaults.d.ts +1 -1
- package/dist/types/datetime-picker/datetime-picker.d.ts +1 -1
- package/dist/types/datetime-picker/datetime-picker.types.d.ts +1 -1
- package/dist/types/datetime-picker/index.d.ts +3 -3
- package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.d.ts +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +1 -1
- package/dist/types/datetime-range-picker/index.d.ts +3 -3
- package/dist/types/description-list/description-list-defaults.d.ts +1 -1
- package/dist/types/description-list/description-list-defaults.d.ts.map +1 -1
- package/dist/types/description-list/description-list-parts.d.ts +1 -1
- package/dist/types/description-list/description-list.d.ts +2 -2
- 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 +5 -5
- package/dist/types/description-list/index.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-defaults.d.ts +1 -1
- package/dist/types/detail-panel/detail-panel-demo.d.ts +2 -2
- package/dist/types/detail-panel/detail-panel-parts.d.ts +1 -1
- package/dist/types/detail-panel/detail-panel.d.ts +1 -1
- package/dist/types/detail-panel/index.d.ts +4 -4
- package/dist/types/dialog/dialog-defaults.d.ts +1 -1
- package/dist/types/dialog/dialog-parts.d.ts +1 -1
- package/dist/types/dialog/dialog.d.ts +1 -1
- package/dist/types/dialog/index.d.ts +4 -4
- package/dist/types/divider/divider.d.ts +1 -1
- package/dist/types/divider/index.d.ts +2 -2
- package/dist/types/drawer/drawer-defaults.d.ts +1 -1
- package/dist/types/drawer/drawer-parts.d.ts +1 -1
- package/dist/types/drawer/drawer.d.ts +1 -1
- package/dist/types/drawer/drawer.types.d.ts +1 -3
- package/dist/types/drawer/drawer.types.d.ts.map +1 -1
- package/dist/types/drawer/index.d.ts +4 -4
- package/dist/types/entity-picker/entity-picker-defaults.d.ts +1 -1
- package/dist/types/entity-picker/entity-picker-popup.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker.d.ts +1 -1
- package/dist/types/entity-picker/index.d.ts +4 -4
- package/dist/types/event-calendar/event-calendar-context.d.ts +1 -1
- package/dist/types/event-calendar/event-calendar-defaults.d.ts +1 -1
- package/dist/types/event-calendar/event-calendar-demo.d.ts +1 -1
- package/dist/types/event-calendar/event-calendar-event.d.ts +2 -2
- package/dist/types/event-calendar/event-calendar-month.d.ts +2 -2
- package/dist/types/event-calendar/event-calendar.d.ts +1 -1
- package/dist/types/event-calendar/index.d.ts +3 -3
- package/dist/types/field/field-context.d.ts +1 -1
- package/dist/types/field/field-defaults.d.ts +1 -1
- package/dist/types/field/field-parts.d.ts +1 -1
- package/dist/types/field/field.d.ts +1 -1
- package/dist/types/field/field.types.d.ts +2 -2
- package/dist/types/field/index.d.ts +5 -5
- package/dist/types/field-group/field-group-parts.d.ts +1 -1
- package/dist/types/field-group/field-group.d.ts +1 -1
- package/dist/types/field-group/field-group.types.d.ts +1 -1
- package/dist/types/field-group/index.d.ts +3 -3
- package/dist/types/filter-bar/filter-bar-defaults.d.ts +1 -1
- package/dist/types/filter-bar/filter-bar-rules.d.ts +1 -1
- package/dist/types/filter-bar/filter-bar.d.ts +1 -1
- package/dist/types/filter-bar/index.d.ts +3 -3
- package/dist/types/floating-panel/floating-panel-parts.d.ts +14 -0
- package/dist/types/floating-panel/floating-panel-parts.d.ts.map +1 -0
- package/dist/types/floating-panel/floating-panel.d.ts +15 -0
- package/dist/types/floating-panel/floating-panel.d.ts.map +1 -0
- package/dist/types/floating-panel/floating-panel.types.d.ts +32 -0
- package/dist/types/floating-panel/floating-panel.types.d.ts.map +1 -0
- package/dist/types/floating-panel/index.d.ts +4 -0
- package/dist/types/floating-panel/index.d.ts.map +1 -0
- package/dist/types/form/form-context.d.ts +1 -1
- package/dist/types/form/form-defaults.d.ts +1 -1
- package/dist/types/form/form-parts.d.ts +1 -1
- package/dist/types/form/form.d.ts +1 -1
- package/dist/types/form/index.d.ts +5 -5
- package/dist/types/fullscreen/fullscreen-defaults.d.ts +1 -1
- package/dist/types/fullscreen/fullscreen.d.ts +1 -1
- package/dist/types/fullscreen/index.d.ts +4 -4
- package/dist/types/fullscreen/use-fullscreen.d.ts +1 -1
- package/dist/types/grid/grid.d.ts +1 -1
- package/dist/types/grid/index.d.ts +2 -2
- package/dist/types/highlight/highlight-defaults.d.ts +1 -1
- package/dist/types/highlight/highlight.d.ts +1 -1
- package/dist/types/highlight/index.d.ts +3 -3
- package/dist/types/hover-card/hover-card-defaults.d.ts +1 -1
- package/dist/types/hover-card/hover-card.d.ts +1 -1
- package/dist/types/hover-card/hover-card.types.d.ts +1 -1
- package/dist/types/hover-card/index.d.ts +3 -3
- package/dist/types/i18n/index.d.ts +2 -2
- package/dist/types/icon/glyph.d.ts +1 -1
- package/dist/types/icon/icon.d.ts +1 -1
- package/dist/types/icon/index.d.ts +3 -3
- package/dist/types/image/image-defaults.d.ts +1 -1
- package/dist/types/image/image.d.ts +1 -1
- package/dist/types/image/image.types.d.ts +1 -1
- package/dist/types/image/index.d.ts +3 -3
- package/dist/types/import-export-center/import-export-center-defaults.d.ts +1 -1
- package/dist/types/import-export-center/import-export-center-demo.d.ts +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts +1 -1
- package/dist/types/import-export-center/import-export-center.types.d.ts +1 -1
- package/dist/types/import-export-center/index.d.ts +4 -4
- package/dist/types/import-export-center/use-job-toasts.d.ts +1 -1
- package/dist/types/index.d.ts +130 -128
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/inline/index.d.ts +2 -2
- package/dist/types/inline/inline.d.ts +1 -1
- package/dist/types/inline-message/index.d.ts +3 -3
- package/dist/types/inline-message/inline-message-defaults.d.ts +1 -1
- package/dist/types/inline-message/inline-message.d.ts +1 -1
- package/dist/types/kbd/index.d.ts +4 -4
- package/dist/types/kbd/kbd-defaults.d.ts +1 -1
- package/dist/types/kbd/kbd.d.ts +1 -1
- package/dist/types/kbd/key-element.d.ts +1 -1
- package/dist/types/kbd/shortcut.d.ts +1 -1
- package/dist/types/link/index.d.ts +3 -3
- package/dist/types/link/link-defaults.d.ts +1 -1
- package/dist/types/link/link.d.ts +1 -1
- package/dist/types/list/index.d.ts +4 -4
- package/dist/types/list/index.d.ts.map +1 -1
- package/dist/types/list/list-defaults.d.ts +1 -1
- package/dist/types/list/list-defaults.d.ts.map +1 -1
- package/dist/types/list/list-parts.d.ts +1 -1
- package/dist/types/list/list.d.ts +2 -2
- package/dist/types/list/list.d.ts.map +1 -1
- package/dist/types/list/list.types.d.ts +15 -0
- package/dist/types/list/list.types.d.ts.map +1 -1
- package/dist/types/list-item/index.d.ts +5 -5
- package/dist/types/list-item/index.d.ts.map +1 -1
- package/dist/types/list-item/list-item-content.d.ts +1 -1
- package/dist/types/list-item/list-item-defaults.d.ts +1 -1
- package/dist/types/list-item/list-item-defaults.d.ts.map +1 -1
- package/dist/types/list-item/list-item-parts.d.ts +8 -1
- package/dist/types/list-item/list-item-parts.d.ts.map +1 -1
- package/dist/types/list-item/list-item.d.ts +2 -2
- package/dist/types/list-item/list-item.d.ts.map +1 -1
- package/dist/types/list-item/list-item.types.d.ts +20 -2
- package/dist/types/list-item/list-item.types.d.ts.map +1 -1
- package/dist/types/listbox/index.d.ts +5 -5
- package/dist/types/listbox/listbox-context.d.ts +1 -1
- package/dist/types/listbox/listbox-defaults.d.ts +1 -1
- package/dist/types/listbox/listbox-group-spans.d.ts +9 -0
- package/dist/types/listbox/listbox-group-spans.d.ts.map +1 -0
- package/dist/types/listbox/listbox-parts.d.ts +2 -2
- package/dist/types/listbox/listbox-parts.d.ts.map +1 -1
- package/dist/types/listbox/listbox.d.ts +1 -1
- package/dist/types/listbox/listbox.d.ts.map +1 -1
- package/dist/types/listbox/listbox.types.d.ts +6 -0
- package/dist/types/listbox/listbox.types.d.ts.map +1 -1
- package/dist/types/loading-overlay/index.d.ts +3 -3
- package/dist/types/loading-overlay/loading-overlay-defaults.d.ts +1 -1
- package/dist/types/loading-overlay/loading-overlay.d.ts +1 -1
- package/dist/types/markdown/index.d.ts +3 -3
- package/dist/types/markdown/markdown-defaults.d.ts +1 -1
- package/dist/types/markdown/markdown.d.ts +1 -1
- package/dist/types/markdown/markdown.types.d.ts +1 -1
- package/dist/types/media-viewer/index.d.ts +8 -8
- package/dist/types/media-viewer/media-viewer-bar.d.ts +1 -1
- package/dist/types/media-viewer/media-viewer-context.d.ts +2 -2
- package/dist/types/media-viewer/media-viewer-controls.d.ts +1 -1
- package/dist/types/media-viewer/media-viewer-defaults.d.ts +1 -1
- package/dist/types/media-viewer/media-viewer-stage.d.ts +1 -1
- package/dist/types/media-viewer/media-viewer.d.ts +1 -1
- package/dist/types/media-viewer/use-media-viewer-state.d.ts +1 -1
- package/dist/types/menu/index.d.ts +5 -5
- package/dist/types/menu/menu-defaults.d.ts +1 -1
- package/dist/types/menu/menu-items.d.ts +1 -1
- package/dist/types/menu/menu-parts.d.ts +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/types/menu/menu.d.ts +1 -1
- package/dist/types/menubar/index.d.ts +3 -3
- package/dist/types/menubar/menubar-defaults.d.ts +1 -1
- package/dist/types/menubar/menubar.d.ts +1 -1
- package/dist/types/menubar/menubar.types.d.ts +1 -1
- package/dist/types/message/bubble-context.d.ts +1 -1
- package/dist/types/message/bubble.d.ts +1 -1
- package/dist/types/message/index.d.ts +6 -6
- package/dist/types/message/message-activity-mark.d.ts +15 -0
- package/dist/types/message/message-activity-mark.d.ts.map +1 -0
- package/dist/types/message/message-defaults.d.ts +1 -1
- package/dist/types/message/message-demo.d.ts +1 -1
- package/dist/types/message/message-parts.d.ts +2 -2
- package/dist/types/message/message-parts.d.ts.map +1 -1
- package/dist/types/message/message.d.ts +1 -1
- package/dist/types/message/message.types.d.ts +6 -0
- package/dist/types/message/message.types.d.ts.map +1 -1
- package/dist/types/message-scroller/index.d.ts +3 -3
- package/dist/types/message-scroller/message-scroller-defaults.d.ts +1 -1
- package/dist/types/message-scroller/message-scroller.d.ts +1 -1
- package/dist/types/meter/index.d.ts +4 -0
- package/dist/types/meter/index.d.ts.map +1 -0
- package/dist/types/meter/meter-defaults.d.ts +9 -0
- package/dist/types/meter/meter-defaults.d.ts.map +1 -0
- package/dist/types/meter/meter.d.ts +10 -0
- package/dist/types/meter/meter.d.ts.map +1 -0
- package/dist/types/meter/meter.types.d.ts +49 -0
- package/dist/types/meter/meter.types.d.ts.map +1 -0
- package/dist/types/multi-select/index.d.ts +6 -6
- package/dist/types/multi-select/multi-select-collection.d.ts +1 -1
- package/dist/types/multi-select/multi-select-defaults.d.ts +1 -1
- package/dist/types/multi-select/multi-select-items.d.ts +1 -1
- package/dist/types/multi-select/multi-select-parts.d.ts +1 -1
- package/dist/types/multi-select/multi-select.d.ts +1 -1
- package/dist/types/navigation-menu/index.d.ts +4 -4
- package/dist/types/navigation-menu/navigation-menu-defaults.d.ts +1 -1
- package/dist/types/navigation-menu/navigation-menu-parts.d.ts +1 -1
- package/dist/types/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/types/notification-center/index.d.ts +3 -3
- package/dist/types/notification-center/notification-center-defaults.d.ts +1 -1
- package/dist/types/notification-center/notification-center-demo.d.ts +1 -1
- package/dist/types/notification-center/notification-center.d.ts +1 -1
- package/dist/types/number-field/index.d.ts +3 -3
- package/dist/types/number-field/number-field-defaults.d.ts +1 -1
- package/dist/types/number-field/number-field.d.ts +1 -1
- package/dist/types/otp-input/index.d.ts +3 -3
- package/dist/types/otp-input/otp-input-defaults.d.ts +1 -1
- package/dist/types/otp-input/otp-input.d.ts +1 -1
- package/dist/types/page/index.d.ts +4 -3
- package/dist/types/page/index.d.ts.map +1 -1
- package/dist/types/page/page-defaults.d.ts +1 -1
- package/dist/types/page/page-demo.d.ts +2 -2
- package/dist/types/page/page.d.ts +2 -2
- package/dist/types/page/page.d.ts.map +1 -1
- package/dist/types/page/page.types.d.ts +11 -1
- package/dist/types/page/page.types.d.ts.map +1 -1
- package/dist/types/page/use-page-size-class.d.ts +11 -0
- package/dist/types/page/use-page-size-class.d.ts.map +1 -0
- package/dist/types/page-header/index.d.ts +4 -4
- package/dist/types/page-header/page-header-defaults.d.ts +1 -1
- package/dist/types/page-header/page-header-parts.d.ts +1 -1
- package/dist/types/page-header/page-header.d.ts +1 -1
- package/dist/types/page-header/page-header.types.d.ts +1 -1
- package/dist/types/pagination/index.d.ts +4 -4
- package/dist/types/pagination/pagination-defaults.d.ts +1 -1
- package/dist/types/pagination/pagination-parts.d.ts +1 -1
- package/dist/types/pagination/pagination.d.ts +1 -1
- package/dist/types/popover/index.d.ts +4 -4
- package/dist/types/popover/popover-defaults.d.ts +1 -1
- package/dist/types/popover/popover-parts.d.ts +1 -1
- package/dist/types/popover/popover.d.ts +1 -1
- package/dist/types/press-selection/index.d.ts +2 -2
- package/dist/types/progress-indicator/index.d.ts +6 -5
- package/dist/types/progress-indicator/index.d.ts.map +1 -1
- package/dist/types/progress-indicator/loader.d.ts +1 -1
- package/dist/types/progress-indicator/progress-bar.d.ts +1 -1
- package/dist/types/progress-indicator/progress-circle.d.ts +1 -1
- package/dist/types/progress-indicator/progress-indicator-defaults.d.ts +1 -1
- package/dist/types/progress-indicator/progress-indicator.types.d.ts +26 -1
- package/dist/types/progress-indicator/progress-indicator.types.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-parts.d.ts +1 -1
- package/dist/types/progress-indicator/segmented-bar.d.ts +12 -0
- package/dist/types/progress-indicator/segmented-bar.d.ts.map +1 -0
- package/dist/types/progress-indicator/use-progress-indicator.d.ts +1 -1
- package/dist/types/prompt-composer/index.d.ts +3 -3
- package/dist/types/prompt-composer/prompt-composer-defaults.d.ts +1 -1
- package/dist/types/prompt-composer/prompt-composer.d.ts +6 -5
- package/dist/types/prompt-composer/prompt-composer.d.ts.map +1 -1
- package/dist/types/prose/index.d.ts +5 -5
- package/dist/types/prose/prose-defaults.d.ts +1 -1
- package/dist/types/prose/prose-parts.d.ts +1 -1
- package/dist/types/prose/prose-scroll.d.ts +1 -1
- package/dist/types/prose/prose.d.ts +1 -1
- package/dist/types/radio-group/index.d.ts +4 -4
- package/dist/types/radio-group/index.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group-defaults.d.ts +1 -1
- package/dist/types/radio-group/radio-group-parts.d.ts +2 -2
- package/dist/types/radio-group/radio-group-parts.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group.d.ts +2 -2
- package/dist/types/radio-group/radio-group.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group.types.d.ts +16 -0
- package/dist/types/radio-group/radio-group.types.d.ts.map +1 -1
- package/dist/types/rating/index.d.ts +5 -5
- package/dist/types/rating/rating-defaults.d.ts +1 -1
- package/dist/types/rating/rating-display.d.ts +1 -1
- package/dist/types/rating/rating-summary.d.ts +1 -1
- package/dist/types/rating/rating.d.ts +1 -1
- package/dist/types/result-state/index.d.ts +4 -4
- package/dist/types/result-state/result-state-defaults.d.ts +1 -1
- package/dist/types/result-state/result-state-parts.d.ts +1 -1
- package/dist/types/result-state/result-state.d.ts +1 -1
- package/dist/types/roving-focus/index.d.ts +2 -2
- package/dist/types/saved-views/index.d.ts +3 -3
- package/dist/types/saved-views/saved-views-demo.d.ts +1 -1
- package/dist/types/saved-views/saved-views.d.ts +1 -1
- package/dist/types/saved-views/use-persisted-saved-views.d.ts +1 -1
- package/dist/types/scroll-area/index.d.ts +3 -3
- package/dist/types/scroll-area/scroll-area-defaults.d.ts +1 -1
- package/dist/types/scroll-area/scroll-area.d.ts +1 -1
- package/dist/types/section/index.d.ts +4 -4
- package/dist/types/section/index.d.ts.map +1 -1
- package/dist/types/section/section-defaults.d.ts +1 -1
- package/dist/types/section/section-defaults.d.ts.map +1 -1
- package/dist/types/section/section-parts.d.ts +2 -2
- package/dist/types/section/section-parts.d.ts.map +1 -1
- package/dist/types/section/section.d.ts +2 -2
- package/dist/types/section/section.d.ts.map +1 -1
- package/dist/types/section/section.types.d.ts +20 -1
- package/dist/types/section/section.types.d.ts.map +1 -1
- package/dist/types/segmented-control/index.d.ts +4 -4
- package/dist/types/segmented-control/segmented-control-defaults.d.ts +1 -1
- package/dist/types/segmented-control/segmented-control-parts.d.ts +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 +6 -2
- package/dist/types/segmented-control/segmented-control.types.d.ts.map +1 -1
- package/dist/types/segmented-control/use-condense.d.ts +10 -0
- package/dist/types/segmented-control/use-condense.d.ts.map +1 -0
- package/dist/types/select/index.d.ts +6 -6
- package/dist/types/select/select-collection.d.ts +1 -1
- package/dist/types/select/select-defaults.d.ts +1 -1
- package/dist/types/select/select-items.d.ts +1 -1
- package/dist/types/select/select-parts.d.ts +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/select/select-tags.d.ts +1 -1
- package/dist/types/select/select.d.ts +1 -1
- package/dist/types/side-navigation/index.d.ts +4 -4
- package/dist/types/side-navigation/side-navigation-defaults.d.ts +1 -1
- package/dist/types/side-navigation/side-navigation-parts.d.ts +2 -2
- package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation.d.ts +1 -1
- package/dist/types/side-navigation/side-navigation.types.d.ts +8 -0
- package/dist/types/side-navigation/side-navigation.types.d.ts.map +1 -1
- package/dist/types/skeleton/index.d.ts +5 -5
- package/dist/types/skeleton/skeleton-defaults.d.ts +1 -1
- package/dist/types/skeleton/skeleton-region-context.d.ts +1 -1
- package/dist/types/skeleton/skeleton-region.d.ts +1 -1
- package/dist/types/skeleton/skeleton-text.d.ts +1 -1
- package/dist/types/skeleton/skeleton.d.ts +1 -1
- package/dist/types/slider/index.d.ts +3 -3
- package/dist/types/slider/slider-defaults.d.ts +1 -1
- package/dist/types/slider/slider.d.ts +2 -2
- package/dist/types/slider/slider.d.ts.map +1 -1
- package/dist/types/slider/slider.types.d.ts +6 -0
- package/dist/types/slider/slider.types.d.ts.map +1 -1
- package/dist/types/sparkline/bar-compare.d.ts +11 -0
- package/dist/types/sparkline/bar-compare.d.ts.map +1 -0
- package/dist/types/sparkline/index.d.ts +5 -3
- package/dist/types/sparkline/index.d.ts.map +1 -1
- package/dist/types/sparkline/position-strip.d.ts +12 -0
- package/dist/types/sparkline/position-strip.d.ts.map +1 -0
- package/dist/types/sparkline/sparkline-defaults.d.ts +1 -1
- package/dist/types/sparkline/sparkline.d.ts +1 -1
- package/dist/types/sparkline/sparkline.types.d.ts +70 -0
- package/dist/types/sparkline/sparkline.types.d.ts.map +1 -1
- package/dist/types/sparkline/use-sparkline-format.d.ts +3 -0
- package/dist/types/sparkline/use-sparkline-format.d.ts.map +1 -0
- package/dist/types/split-button/index.d.ts +4 -4
- package/dist/types/split-button/split-button-defaults.d.ts +1 -1
- package/dist/types/split-button/split-button-parts.d.ts +1 -1
- package/dist/types/split-button/split-button.d.ts +1 -1
- package/dist/types/split-button/split-button.types.d.ts +2 -2
- package/dist/types/splitter/index.d.ts +3 -3
- package/dist/types/splitter/splitter-defaults.d.ts +1 -1
- package/dist/types/splitter/splitter.d.ts +1 -1
- package/dist/types/stack/index.d.ts +2 -2
- package/dist/types/stack/stack.d.ts +1 -1
- package/dist/types/stat-card/index.d.ts +9 -7
- package/dist/types/stat-card/index.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-context.d.ts +1 -1
- package/dist/types/stat-card/stat-card-defaults.d.ts +1 -1
- package/dist/types/stat-card/stat-card-delta.d.ts +1 -1
- package/dist/types/stat-card/stat-card-parts.d.ts +1 -1
- package/dist/types/stat-card/stat-card-value.d.ts +8 -2
- package/dist/types/stat-card/stat-card-value.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.d.ts +1 -1
- package/dist/types/stat-card/stat-card.types.d.ts +8 -0
- package/dist/types/stat-card/stat-card.types.d.ts.map +1 -1
- package/dist/types/stat-card/use-count-transition.d.ts +14 -0
- package/dist/types/stat-card/use-count-transition.d.ts.map +1 -0
- package/dist/types/status-indicator/index.d.ts +4 -4
- package/dist/types/status-indicator/status-indicator-defaults.d.ts +1 -1
- package/dist/types/status-indicator/status-indicator.constants.d.ts +2 -2
- package/dist/types/status-indicator/status-indicator.d.ts +1 -1
- package/dist/types/stepper/index.d.ts +5 -5
- package/dist/types/stepper/stepper-defaults.d.ts +1 -1
- package/dist/types/stepper/stepper-parts.d.ts +1 -1
- package/dist/types/stepper/stepper.d.ts +1 -1
- package/dist/types/switch/index.d.ts +3 -3
- package/dist/types/switch/index.d.ts.map +1 -1
- package/dist/types/switch/switch-defaults.d.ts +1 -1
- package/dist/types/switch/switch-defaults.d.ts.map +1 -1
- package/dist/types/switch/switch.d.ts +2 -2
- package/dist/types/switch/switch.d.ts.map +1 -1
- package/dist/types/switch/switch.types.d.ts +15 -0
- package/dist/types/switch/switch.types.d.ts.map +1 -1
- package/dist/types/table/index.d.ts +6 -6
- package/dist/types/table/table-content.d.ts +1 -1
- package/dist/types/table/table-defaults.d.ts +1 -1
- package/dist/types/table/table-defaults.d.ts.map +1 -1
- package/dist/types/table/table-filter.d.ts +1 -1
- package/dist/types/table/table-parts.d.ts +3 -3
- package/dist/types/table/table-parts.d.ts.map +1 -1
- package/dist/types/table/table.d.ts +2 -2
- package/dist/types/table/table.d.ts.map +1 -1
- package/dist/types/table/table.types.d.ts +30 -3
- package/dist/types/table/table.types.d.ts.map +1 -1
- package/dist/types/table-of-contents/index.d.ts +5 -5
- package/dist/types/table-of-contents/table-of-contents-context.d.ts +1 -1
- package/dist/types/table-of-contents/table-of-contents-defaults.d.ts +1 -1
- package/dist/types/table-of-contents/table-of-contents-demo.d.ts +1 -1
- package/dist/types/table-of-contents/table-of-contents-parts.d.ts +1 -1
- package/dist/types/table-of-contents/table-of-contents.d.ts +1 -1
- package/dist/types/tabs/index.d.ts +4 -4
- package/dist/types/tabs/tabs-defaults.d.ts +1 -1
- package/dist/types/tabs/tabs-parts.d.ts +1 -1
- package/dist/types/tabs/tabs.d.ts +1 -1
- package/dist/types/tag/index.d.ts +7 -7
- package/dist/types/tag/tag-button.d.ts +1 -1
- package/dist/types/tag/tag-chip.d.ts +1 -1
- package/dist/types/tag/tag-defaults.d.ts +1 -1
- package/dist/types/tag/tag-group.d.ts +1 -1
- package/dist/types/tag/tag-link.d.ts +1 -1
- package/dist/types/tag/tag-toggle.d.ts +1 -1
- package/dist/types/tag/tag.d.ts +1 -1
- package/dist/types/tags-input/index.d.ts +3 -3
- package/dist/types/tags-input/tags-input-defaults.d.ts +1 -1
- package/dist/types/tags-input/tags-input.d.ts +1 -1
- package/dist/types/text-field/index.d.ts +3 -3
- package/dist/types/text-field/text-field-defaults.d.ts +1 -1
- package/dist/types/text-field/text-field.d.ts +1 -1
- package/dist/types/textarea/index.d.ts +3 -3
- package/dist/types/textarea/textarea-defaults.d.ts +1 -1
- package/dist/types/textarea/textarea.d.ts +1 -1
- package/dist/types/theme/index.d.ts +2 -2
- package/dist/types/time-field/index.d.ts +3 -3
- package/dist/types/time-field/time-field-defaults.d.ts +1 -1
- package/dist/types/time-field/time-field.d.ts +1 -1
- package/dist/types/time-picker/index.d.ts +3 -3
- package/dist/types/time-picker/time-picker-defaults.d.ts +1 -1
- package/dist/types/time-picker/time-picker.d.ts +1 -1
- package/dist/types/time-picker/time-picker.types.d.ts +1 -1
- package/dist/types/time-range-picker/index.d.ts +3 -3
- package/dist/types/time-range-picker/time-range-picker-defaults.d.ts +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts +1 -1
- package/dist/types/time-range-picker/time-range-picker.types.d.ts +1 -1
- package/dist/types/timeline/index.d.ts +5 -5
- package/dist/types/timeline/timeline-context.d.ts +1 -1
- package/dist/types/timeline/timeline-defaults.d.ts +1 -1
- package/dist/types/timeline/timeline-parts.d.ts +1 -1
- package/dist/types/timeline/timeline.d.ts +1 -1
- package/dist/types/toast/index.d.ts +4 -4
- package/dist/types/toast/toast-defaults.d.ts +1 -1
- package/dist/types/toast/toast-demo.d.ts +1 -1
- package/dist/types/toast/toast-parts.d.ts +1 -1
- package/dist/types/toast/toast.d.ts +1 -1
- package/dist/types/toggle/index.d.ts +3 -3
- package/dist/types/toggle/toggle-defaults.d.ts +1 -1
- package/dist/types/toggle/toggle.d.ts +1 -1
- package/dist/types/toggle-group/index.d.ts +4 -4
- package/dist/types/toggle-group/toggle-group-defaults.d.ts +1 -1
- package/dist/types/toggle-group/toggle-group-parts.d.ts +1 -1
- package/dist/types/toggle-group/toggle-group.d.ts +1 -1
- package/dist/types/toolbar/index.d.ts +7 -7
- package/dist/types/toolbar/toolbar-defaults.d.ts +1 -1
- package/dist/types/toolbar/toolbar-overflow.d.ts +1 -1
- package/dist/types/toolbar/toolbar-parts.d.ts +1 -1
- package/dist/types/toolbar/toolbar.d.ts +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts +1 -1
- package/dist/types/tooltip/index.d.ts +4 -4
- package/dist/types/tooltip/tooltip-defaults.d.ts +1 -1
- package/dist/types/tooltip/tooltip-parts.d.ts +1 -1
- package/dist/types/tooltip/tooltip.d.ts +1 -1
- package/dist/types/top-navigation/index.d.ts +4 -4
- package/dist/types/top-navigation/top-navigation-defaults.d.ts +1 -1
- package/dist/types/top-navigation/top-navigation-parts.d.ts +1 -1
- package/dist/types/top-navigation/top-navigation.d.ts +1 -1
- package/dist/types/top-navigation/top-navigation.types.d.ts +1 -1
- package/dist/types/tour/index.d.ts +4 -4
- package/dist/types/tour/tour-defaults.d.ts +1 -1
- package/dist/types/tour/tour-parts.d.ts +1 -1
- package/dist/types/tour/tour.d.ts +1 -1
- package/dist/types/transfer/index.d.ts +3 -3
- package/dist/types/transfer/transfer-defaults.d.ts +1 -1
- package/dist/types/transfer/transfer.d.ts +1 -1
- package/dist/types/tree/index.d.ts +5 -5
- package/dist/types/tree/tree-context.d.ts +1 -1
- package/dist/types/tree/tree-defaults.d.ts +1 -1
- package/dist/types/tree/tree-parts.d.ts +1 -1
- package/dist/types/tree/tree.d.ts +1 -1
- package/dist/types/typography/heading-level.d.ts +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/index.d.ts +5 -4
- package/dist/types/typography/index.d.ts.map +1 -1
- package/dist/types/typography/text.d.ts +2 -2
- package/dist/types/typography/text.d.ts.map +1 -1
- package/dist/types/typography/typography.attributes.d.ts +5 -4
- package/dist/types/typography/typography.attributes.d.ts.map +1 -1
- package/dist/types/typography/typography.types.d.ts +11 -0
- package/dist/types/typography/typography.types.d.ts.map +1 -1
- package/dist/types/upload/index.d.ts +3 -3
- package/dist/types/upload/upload-defaults.d.ts +1 -1
- package/dist/types/upload/upload-demo.d.ts +1 -1
- package/dist/types/upload/upload-viewer.d.ts +2 -2
- package/dist/types/upload/upload.d.ts +1 -1
- package/dist/types/visually-hidden/index.d.ts +2 -2
- package/dist/types/visually-hidden/visually-hidden.d.ts +1 -1
- package/dist/types/wizard/index.d.ts +5 -5
- package/dist/types/wizard/wizard-context.d.ts +1 -1
- package/dist/types/wizard/wizard-defaults.d.ts +1 -1
- package/dist/types/wizard/wizard-parts.d.ts +1 -1
- package/dist/types/wizard/wizard.d.ts +1 -1
- package/dist/types/wizard/wizard.types.d.ts +1 -1
- package/dist/typography-77WM-zPA.js +98 -0
- package/dist/typography.js +1 -1
- package/dist/{upload-Bpjlax3i.js → upload-Jx3gJJ2f.js} +1 -1
- package/dist/upload.js +1 -1
- package/dist/{wizard-CmEJK55_.js → wizard-CxtTDlWR.js} +1 -1
- package/dist/wizard.js +1 -1
- package/package.json +15 -7
- package/dist/calendar-wqDIW4Z8.js +0 -469
- package/dist/date-range-picker-Dyp5_teF.js +0 -522
- package/dist/page-CzqbnTnU.js +0 -179
- package/dist/progress-indicator-D0acshNn.js +0 -292
- package/dist/prompt-composer-D9oaFXDU.js +0 -308
- package/dist/segmented-control-Dl-nryCN.js +0 -156
- package/dist/slider-CU89H3i0.js +0 -264
- package/dist/sparkline-CYU4_lCD.js +0 -152
- package/dist/stat-card-BGtnZpnK.js +0 -259
- package/dist/typography-BESqb4C0.js +0 -93
package/dist/docs/chart.json
CHANGED
|
@@ -138,6 +138,7 @@
|
|
|
138
138
|
"texture": false,
|
|
139
139
|
"zoomable": false,
|
|
140
140
|
"selectable": false,
|
|
141
|
+
"rangeSelectable": false,
|
|
141
142
|
"legendInteractive": true,
|
|
142
143
|
"legendValues": false,
|
|
143
144
|
"tableOpen": false,
|
|
@@ -499,7 +500,7 @@
|
|
|
499
500
|
"type": "ChartYAxis | [ChartYAxis, ChartYAxis]",
|
|
500
501
|
"defaultValue": "—",
|
|
501
502
|
"appliesTo": "Chart",
|
|
502
|
-
"description": "The value axis, or the start and end axes: label, format, scale, extent"
|
|
503
|
+
"description": "The value axis, or the start and end axes: label, format, scale, extent, labelWidth"
|
|
503
504
|
},
|
|
504
505
|
{
|
|
505
506
|
"name": "min",
|
|
@@ -529,6 +530,13 @@
|
|
|
529
530
|
"appliesTo": "y",
|
|
530
531
|
"description": "What the axis holds besides the data: zero, for a bar, or the data alone, for a line"
|
|
531
532
|
},
|
|
533
|
+
{
|
|
534
|
+
"name": "labelWidth",
|
|
535
|
+
"type": "number",
|
|
536
|
+
"defaultValue": "—",
|
|
537
|
+
"appliesTo": "y",
|
|
538
|
+
"description": "The pixels the axis labels take beside an upright plot. Two charts stacked on the same categories with one width start their plots at one place; a longer label is cut with an ellipsis"
|
|
539
|
+
},
|
|
532
540
|
{
|
|
533
541
|
"name": "orientation",
|
|
534
542
|
"type": "'vertical' | 'horizontal'",
|
|
@@ -758,7 +766,7 @@
|
|
|
758
766
|
"type": "boolean",
|
|
759
767
|
"defaultValue": "false",
|
|
760
768
|
"appliesTo": "Chart",
|
|
761
|
-
"description": "
|
|
769
|
+
"description": "Ctrl+wheel and + − 0 zoom the x axis; a drag pans a zoomed chart, Shift and a drag with rangeSelectable"
|
|
762
770
|
},
|
|
763
771
|
{
|
|
764
772
|
"name": "selectable",
|
|
@@ -767,6 +775,13 @@
|
|
|
767
775
|
"appliesTo": "Chart",
|
|
768
776
|
"description": "A click or Enter selects a point"
|
|
769
777
|
},
|
|
778
|
+
{
|
|
779
|
+
"name": "rangeSelectable",
|
|
780
|
+
"type": "boolean",
|
|
781
|
+
"defaultValue": "false",
|
|
782
|
+
"appliesTo": "Chart",
|
|
783
|
+
"description": "A drag, or Shift and an arrow, selects a span of the x axis, drawn as a band; a click clears it"
|
|
784
|
+
},
|
|
770
785
|
{
|
|
771
786
|
"name": "loading",
|
|
772
787
|
"type": "boolean",
|
|
@@ -823,6 +838,20 @@
|
|
|
823
838
|
"appliesTo": "Chart",
|
|
824
839
|
"description": "The point selected at first"
|
|
825
840
|
},
|
|
841
|
+
{
|
|
842
|
+
"name": "range",
|
|
843
|
+
"type": "ChartRange | null",
|
|
844
|
+
"defaultValue": "—",
|
|
845
|
+
"appliesTo": "Chart",
|
|
846
|
+
"description": "The selected span, by the keys of its two ends in axis order, controlled"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "defaultRange",
|
|
850
|
+
"type": "ChartRange | null",
|
|
851
|
+
"defaultValue": "null",
|
|
852
|
+
"appliesTo": "Chart",
|
|
853
|
+
"description": "The span selected at first"
|
|
854
|
+
},
|
|
826
855
|
{
|
|
827
856
|
"name": "zoom",
|
|
828
857
|
"type": "ChartZoom",
|
|
@@ -961,10 +990,15 @@
|
|
|
961
990
|
"payload": "(point: ChartPoint | null, request: ChangeRequest<ChartPoint | null>)",
|
|
962
991
|
"when": "With selectable, on a click or Enter on a point, and on Escape: pointer, keyboard, escape, programmatic."
|
|
963
992
|
},
|
|
993
|
+
{
|
|
994
|
+
"name": "onRangeChange",
|
|
995
|
+
"payload": "(range: ChartRange | null, request: ChangeRequest<ChartRange | null>)",
|
|
996
|
+
"when": "With rangeSelectable, at each point a drag reaches, on Shift and an arrow, on a click without a drag and on Escape: pointer, keyboard, escape, programmatic."
|
|
997
|
+
},
|
|
964
998
|
{
|
|
965
999
|
"name": "onZoomChange",
|
|
966
1000
|
"payload": "(zoom: ChartZoom, request: ChangeRequest<ChartZoom>)",
|
|
967
|
-
"when": "With zoomable, on a
|
|
1001
|
+
"when": "With zoomable, on a wheel with Ctrl, + or −, 0, the reset control or a drag that pans a zoomed chart: pointer, keyboard, clear, escape, programmatic. start and end are fractions of the domain."
|
|
968
1002
|
},
|
|
969
1003
|
{
|
|
970
1004
|
"name": "onTableOpenChange",
|
|
@@ -984,7 +1018,7 @@
|
|
|
984
1018
|
],
|
|
985
1019
|
"accessibility": [
|
|
986
1020
|
"The figure is named by its caption, and the plot is one tab stop with role=\"group\", aria-roledescription=\"chart\", the title as its name and a generated summary as its description: kind, series, points, and the range, minimum and maximum of each series.",
|
|
987
|
-
"Inside the plot the keyboard follows an adaptation of the APG Grid pattern: Left and Right move along the categories, Up and Down between series, Home and End to the ends, Page keys by a tenth; Enter selects, + − and 0 zoom, Escape clears. The tooltip is aria-hidden, and a polite live region says the point reached — only the last one, so holding an arrow does not queue twelve sentences.",
|
|
1021
|
+
"Inside the plot the keyboard follows an adaptation of the APG Grid pattern: Left and Right move along the categories, Up and Down between series, Home and End to the ends, Page keys by a tenth; Enter selects, Shift with Left or Right extends a range, + − and 0 zoom, Escape clears. The tooltip is aria-hidden, and a polite live region says the point reached — only the last one, so holding an arrow does not queue twelve sentences.",
|
|
988
1022
|
"The legend is a toolbar of toggle buttons with a roving tab stop: aria-pressed says whether a series is drawn, Enter hides it, Shift+Enter shows it alone, and the live region confirms the change.",
|
|
989
1023
|
"Every chart has a table view with the same numbers in their formats, reachable from the toolbar or the menu; it is the complete reading for anyone the drawing does not serve.",
|
|
990
1024
|
"Color is never the only channel: series differ in stroke and marker shape, texture adds a pattern per slot, and under forced colors the drawing is redrawn in system colors with the legend markers kept by mask.",
|
|
@@ -1017,6 +1051,7 @@
|
|
|
1017
1051
|
"--slotted-chart-focus-color",
|
|
1018
1052
|
"--slotted-chart-gap",
|
|
1019
1053
|
"--slotted-chart-grid-color",
|
|
1054
|
+
"--slotted-chart-header-gap",
|
|
1020
1055
|
"--slotted-chart-inset",
|
|
1021
1056
|
"--slotted-chart-label-color",
|
|
1022
1057
|
"--slotted-chart-label-size",
|
package/dist/docs/chart.md
CHANGED
|
@@ -75,11 +75,12 @@ Excerpt — not a complete module
|
|
|
75
75
|
| `data` | `readonly ChartRecord[]` | — | Chart | One record per category or per point. Fields are named by x and by each series |
|
|
76
76
|
| `series` | `readonly ChartSeries[]` | — | Chart | What is drawn: kind (line, area, bar, pie, scatter, range), field, label, and how. Order is legend order and color order |
|
|
77
77
|
| `x` | `ChartXAxis` | — | Chart | The category field, and its type (category, time, value), label, format and extent |
|
|
78
|
-
| `y` | `ChartYAxis \| [ChartYAxis, ChartYAxis]` | — | Chart | The value axis, or the start and end axes: label, format, scale, extent |
|
|
78
|
+
| `y` | `ChartYAxis \| [ChartYAxis, ChartYAxis]` | — | Chart | The value axis, or the start and end axes: label, format, scale, extent, labelWidth |
|
|
79
79
|
| `min` | `number` | — | x, y | The lowest value the axis must hold. The data widens the extent, never narrows it |
|
|
80
80
|
| `max` | `number` | — | x, y | The highest value the axis must hold |
|
|
81
81
|
| `scale` | `'linear' \| 'log'` | linear | y | A logarithmic value axis |
|
|
82
82
|
| `extent` | `'zero' \| 'data'` | zero with a bar or stacked series, else data | y | What the axis holds besides the data: zero, for a bar, or the data alone, for a line |
|
|
83
|
+
| `labelWidth` | `number` | — | y | The pixels the axis labels take beside an upright plot. Two charts stacked on the same categories with one width start their plots at one place; a longer label is cut with an ellipsis |
|
|
83
84
|
| `orientation` | `'vertical' \| 'horizontal'` | vertical | Chart | Which way categories run. Horizontal bars for a ranking with long names |
|
|
84
85
|
| `stackMode` | `'normal' \| 'percent'` | normal | Chart | How series that share a stack add up: to a total, or to 100 % |
|
|
85
86
|
| `curve` | `'linear' \| 'monotone' \| 'step'` | linear | series | How a line or an area passes through its points |
|
|
@@ -112,8 +113,9 @@ Excerpt — not a complete module
|
|
|
112
113
|
| `tooltip` | `ChartTooltipSettings` | — | Chart | sort, total and indicator for the default tooltip |
|
|
113
114
|
| `indicator` | `'dot' \| 'line' \| 'none'` | dot | tooltip | The mark beside each tooltip row |
|
|
114
115
|
| `sort` | `'none' \| 'asc' \| 'desc'` | none | tooltip | Tooltip rows in series order, or by value |
|
|
115
|
-
| `zoomable` | `boolean` | false | Chart |
|
|
116
|
+
| `zoomable` | `boolean` | false | Chart | Ctrl+wheel and + − 0 zoom the x axis; a drag pans a zoomed chart, Shift and a drag with rangeSelectable |
|
|
116
117
|
| `selectable` | `boolean` | false | Chart | A click or Enter selects a point |
|
|
118
|
+
| `rangeSelectable` | `boolean` | false | Chart | A drag, or Shift and an arrow, selects a span of the x axis, drawn as a band; a click clears it |
|
|
117
119
|
| `loading` | `boolean` | false | Chart | The skeleton of the kind being loaded, in the plot’s box |
|
|
118
120
|
| `error` | `boolean` | false | Chart | The data did not arrive |
|
|
119
121
|
| `hidden` | `readonly string[]` | — | Chart | The series ids the legend hides, controlled |
|
|
@@ -122,6 +124,8 @@ Excerpt — not a complete module
|
|
|
122
124
|
| `defaultActivePoint` | `ChartPoint \| null` | null | Chart | The point read at first |
|
|
123
125
|
| `selection` | `ChartPoint \| null` | — | Chart | The selected point, controlled |
|
|
124
126
|
| `defaultSelection` | `ChartPoint \| null` | null | Chart | The point selected at first |
|
|
127
|
+
| `range` | `ChartRange \| null` | — | Chart | The selected span, by the keys of its two ends in axis order, controlled |
|
|
128
|
+
| `defaultRange` | `ChartRange \| null` | null | Chart | The span selected at first |
|
|
125
129
|
| `zoom` | `ChartZoom` | — | Chart | The visible fraction of the x domain, controlled |
|
|
126
130
|
| `defaultZoom` | `ChartZoom` | { start: 0, end: 1 } | Chart | The zoom at first |
|
|
127
131
|
| `tableOpen` | `boolean` | false | Chart | Whether the plot shows the table, controlled |
|
|
@@ -147,7 +151,8 @@ Excerpt — not a complete module
|
|
|
147
151
|
| `onHiddenChange` | `(hidden: readonly string[], request: ChangeRequest<readonly string[]>)` | Before a series is hidden or shown from the legend, from “Show all”, or isolated with Shift. Reasons: pointer, keyboard, programmatic. cancel() refuses it. |
|
|
148
152
|
| `onActivePointChange` | `(point: ChartPoint \| null, request: ChangeRequest<ChartPoint \| null>)` | When the pointer or the arrows reach a point, and when it leaves: pointer, keyboard, blur, escape. The value two charts share to move together. |
|
|
149
153
|
| `onSelectionChange` | `(point: ChartPoint \| null, request: ChangeRequest<ChartPoint \| null>)` | With selectable, on a click or Enter on a point, and on Escape: pointer, keyboard, escape, programmatic. |
|
|
150
|
-
| `
|
|
154
|
+
| `onRangeChange` | `(range: ChartRange \| null, request: ChangeRequest<ChartRange \| null>)` | With rangeSelectable, at each point a drag reaches, on Shift and an arrow, on a click without a drag and on Escape: pointer, keyboard, escape, programmatic. |
|
|
155
|
+
| `onZoomChange` | `(zoom: ChartZoom, request: ChangeRequest<ChartZoom>)` | With zoomable, on a wheel with Ctrl, + or −, 0, the reset control or a drag that pans a zoomed chart: pointer, keyboard, clear, escape, programmatic. start and end are fractions of the domain. |
|
|
151
156
|
| `onTableOpenChange` | `(open: boolean, request: ChangeRequest<boolean>)` | Before the plot switches between the drawing and the table: pointer, keyboard, escape, programmatic. |
|
|
152
157
|
| `onFullscreenChange` | `(fullscreen: boolean, request: ChangeRequest<boolean>)` | Before the chart takes or gives back the screen, and when the browser leaves full screen on its own: pointer, keyboard, escape, programmatic. |
|
|
153
158
|
| `onRetry` | `()` | On the retry action of the error state. |
|
|
@@ -181,7 +186,7 @@ Excerpt — not a complete module
|
|
|
181
186
|
## Rules
|
|
182
187
|
|
|
183
188
|
- The figure is named by its caption, and the plot is one tab stop with role="group", aria-roledescription="chart", the title as its name and a generated summary as its description: kind, series, points, and the range, minimum and maximum of each series.
|
|
184
|
-
- Inside the plot the keyboard follows an adaptation of the APG Grid pattern: Left and Right move along the categories, Up and Down between series, Home and End to the ends, Page keys by a tenth; Enter selects, + − and 0 zoom, Escape clears. The tooltip is aria-hidden, and a polite live region says the point reached — only the last one, so holding an arrow does not queue twelve sentences.
|
|
189
|
+
- Inside the plot the keyboard follows an adaptation of the APG Grid pattern: Left and Right move along the categories, Up and Down between series, Home and End to the ends, Page keys by a tenth; Enter selects, Shift with Left or Right extends a range, + − and 0 zoom, Escape clears. The tooltip is aria-hidden, and a polite live region says the point reached — only the last one, so holding an arrow does not queue twelve sentences.
|
|
185
190
|
- The legend is a toolbar of toggle buttons with a roving tab stop: aria-pressed says whether a series is drawn, Enter hides it, Shift+Enter shows it alone, and the live region confirms the change.
|
|
186
191
|
- Every chart has a table view with the same numbers in their formats, reachable from the toolbar or the menu; it is the complete reading for anyone the drawing does not serve.
|
|
187
192
|
- Color is never the only channel: series differ in stroke and marker shape, texture adds a pattern per slot, and under forced colors the drawing is redrawn in system colors with the legend markers kept by mask.
|
|
@@ -189,7 +194,7 @@ Excerpt — not a complete module
|
|
|
189
194
|
|
|
190
195
|
## Tokens
|
|
191
196
|
|
|
192
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-chart-area-opacity`, `--slotted-chart-axis-color`, `--slotted-chart-band-color`, `--slotted-chart-bar-radius`, `--slotted-chart-card-padding-block`, `--slotted-chart-card-padding-inline`, `--slotted-chart-card-radius`, `--slotted-chart-color-1`, `--slotted-chart-color-2`, `--slotted-chart-color-3`, `--slotted-chart-color-4`, `--slotted-chart-color-5`, `--slotted-chart-color-6`, `--slotted-chart-color-7`, `--slotted-chart-color-8`, `--slotted-chart-crosshair-color`, `--slotted-chart-focus-color`, `--slotted-chart-gap`, `--slotted-chart-grid-color`, `--slotted-chart-inset`, `--slotted-chart-label-color`, `--slotted-chart-label-size`, `--slotted-chart-line-width`, `--slotted-chart-marker-size`, `--slotted-chart-overlay-backdrop-filter`, `--slotted-chart-plot-block-size`, `--slotted-chart-plot-block-size-lg`, `--slotted-chart-plot-block-size-sm`, `--slotted-chart-radius`, `--slotted-chart-reference-color`, `--slotted-chart-sequential-color`, `--slotted-chart-skeleton-hole`, `--slotted-chart-surface`, `--slotted-chart-table-header-surface`, `--slotted-chart-table-surface`, `--slotted-chart-tooltip-surface`, `--slotted-control-border-color`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-4`, `--slotted-data-5`, `--slotted-data-6`, `--slotted-data-7`, `--slotted-data-8`, `--slotted-duration-instant`, `--slotted-duration-long`, `--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-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-overlay`, `--slotted-z-index-popover`
|
|
197
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-chart-area-opacity`, `--slotted-chart-axis-color`, `--slotted-chart-band-color`, `--slotted-chart-bar-radius`, `--slotted-chart-card-padding-block`, `--slotted-chart-card-padding-inline`, `--slotted-chart-card-radius`, `--slotted-chart-color-1`, `--slotted-chart-color-2`, `--slotted-chart-color-3`, `--slotted-chart-color-4`, `--slotted-chart-color-5`, `--slotted-chart-color-6`, `--slotted-chart-color-7`, `--slotted-chart-color-8`, `--slotted-chart-crosshair-color`, `--slotted-chart-focus-color`, `--slotted-chart-gap`, `--slotted-chart-grid-color`, `--slotted-chart-header-gap`, `--slotted-chart-inset`, `--slotted-chart-label-color`, `--slotted-chart-label-size`, `--slotted-chart-line-width`, `--slotted-chart-marker-size`, `--slotted-chart-overlay-backdrop-filter`, `--slotted-chart-plot-block-size`, `--slotted-chart-plot-block-size-lg`, `--slotted-chart-plot-block-size-sm`, `--slotted-chart-radius`, `--slotted-chart-reference-color`, `--slotted-chart-sequential-color`, `--slotted-chart-skeleton-hole`, `--slotted-chart-surface`, `--slotted-chart-table-header-surface`, `--slotted-chart-table-surface`, `--slotted-chart-tooltip-surface`, `--slotted-control-border-color`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-4`, `--slotted-data-5`, `--slotted-data-6`, `--slotted-data-7`, `--slotted-data-8`, `--slotted-duration-instant`, `--slotted-duration-long`, `--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-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-overlay`, `--slotted-z-index-popover`
|
|
193
198
|
|
|
194
199
|
## Examples
|
|
195
200
|
|
package/dist/docs/checkbox.json
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"variant": [
|
|
16
16
|
"plain",
|
|
17
|
-
"tile"
|
|
17
|
+
"tile",
|
|
18
|
+
"control"
|
|
18
19
|
],
|
|
19
20
|
"labelPlacement": [
|
|
20
21
|
"end",
|
|
@@ -137,10 +138,10 @@
|
|
|
137
138
|
},
|
|
138
139
|
{
|
|
139
140
|
"name": "variant",
|
|
140
|
-
"type": "'plain' | 'tile'",
|
|
141
|
+
"type": "'plain' | 'tile' | 'control'",
|
|
141
142
|
"defaultValue": "plain",
|
|
142
143
|
"appliesTo": "Checkbox, CheckboxDefaultsProvider",
|
|
143
|
-
"description": "How the choice is drawn. tile frames it and makes the whole surface the target; the label still names the control, so the keyboard and the accessible name are unchanged. When unset, the box takes the variant of its checkbox group, then of the provider."
|
|
144
|
+
"description": "How the choice is drawn. tile frames it and makes the whole surface the target; the label still names the control, so the keyboard and the accessible name are unchanged. control is for a row of fields and buttons: the root is one control tall and holds the hover halo inside its own box, where the plain halo stands outside the root and is shorter than a control. When unset, the box takes the variant of its checkbox group, then of the provider."
|
|
144
145
|
},
|
|
145
146
|
{
|
|
146
147
|
"name": "labelPlacement",
|
|
@@ -307,6 +308,9 @@
|
|
|
307
308
|
"--slotted-control-font-size-lg",
|
|
308
309
|
"--slotted-control-font-size-md",
|
|
309
310
|
"--slotted-control-font-size-sm",
|
|
311
|
+
"--slotted-control-height-lg",
|
|
312
|
+
"--slotted-control-height-md",
|
|
313
|
+
"--slotted-control-height-sm",
|
|
310
314
|
"--slotted-control-invalid-edge-width",
|
|
311
315
|
"--slotted-control-label-gap-lg",
|
|
312
316
|
"--slotted-control-label-gap-md",
|
|
@@ -314,6 +318,7 @@
|
|
|
314
318
|
"--slotted-control-padding-inline-lg",
|
|
315
319
|
"--slotted-control-padding-inline-md",
|
|
316
320
|
"--slotted-control-padding-inline-sm",
|
|
321
|
+
"--slotted-control-radius",
|
|
317
322
|
"--slotted-control-shadow",
|
|
318
323
|
"--slotted-control-transition-duration",
|
|
319
324
|
"--slotted-control-transition-easing",
|
package/dist/docs/checkbox.md
CHANGED
|
@@ -47,7 +47,7 @@ export default function CheckboxBasic() {
|
|
|
47
47
|
| `indeterminate` | `boolean` | false | Checkbox | The mixed state, drawn as a dash and announced as mixed. It is a state, not a third value of checked: the submitted value stays boolean, because indeterminate is a DOM property that leaves checked unchanged. |
|
|
48
48
|
| `parent` | `boolean` | false | Checkbox | Makes the box command the set its checkbox group lists in allValues. It is checked when every value is selected and mixed when some are, and a press selects or clears the whole set. Outside a group with allValues it has no effect. |
|
|
49
49
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | Checkbox, CheckboxDefaultsProvider | The step of the control scale. When unset, the box takes the size of its checkbox group, then of its field or field group, then of the provider. The theme restates the scale per density. |
|
|
50
|
-
| `variant` | `'plain' \| 'tile'` | plain | Checkbox, CheckboxDefaultsProvider | How the choice is drawn. tile frames it and makes the whole surface the target; the label still names the control, so the keyboard and the accessible name are unchanged. When unset, the box takes the variant of its checkbox group, then of the provider. |
|
|
50
|
+
| `variant` | `'plain' \| 'tile' \| 'control'` | plain | Checkbox, CheckboxDefaultsProvider | How the choice is drawn. tile frames it and makes the whole surface the target; the label still names the control, so the keyboard and the accessible name are unchanged. control is for a row of fields and buttons: the root is one control tall and holds the hover halo inside its own box, where the plain halo stands outside the root and is shorter than a control. When unset, the box takes the variant of its checkbox group, then of the provider. |
|
|
51
51
|
| `labelPlacement` | `'end' \| 'start'` | end | Checkbox, CheckboxDefaultsProvider | Which side of its label the box sits on. When unset, the box takes the placement of its checkbox group, then of the provider. It is never read from a field, whose labelPlacement places the field’s own label. |
|
|
52
52
|
| `disabled` | `boolean` | from the group or field, or false | Checkbox | Unset rather than false, so the box follows its checkbox group or field. Written as the native attribute, which removes the box from the tab order and from form submission. |
|
|
53
53
|
| `readOnly` | `boolean` | from the group or field, or false | Checkbox | Unset rather than false. A native checkbox has no readonly, so Checkbox refuses every change and writes aria-readonly. The box keeps its tab stop, its focus ring and its contrast, and its value is still submitted. |
|
|
@@ -73,7 +73,7 @@ export default function CheckboxBasic() {
|
|
|
73
73
|
| Axis | Values | Default |
|
|
74
74
|
| --- | --- | --- |
|
|
75
75
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
76
|
-
| `variant` | `plain`, `tile` | `plain` |
|
|
76
|
+
| `variant` | `plain`, `tile`, `control` | `plain` |
|
|
77
77
|
| `labelPlacement` | `end`, `start` | `end` |
|
|
78
78
|
|
|
79
79
|
## Rules
|
|
@@ -88,7 +88,7 @@ export default function CheckboxBasic() {
|
|
|
88
88
|
|
|
89
89
|
## Tokens
|
|
90
90
|
|
|
91
|
-
`--slotted-border-strong`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-checkbox-active-background`, `--slotted-checkbox-background`, `--slotted-checkbox-border-color`, `--slotted-checkbox-border-width`, `--slotted-checkbox-checked-active-background`, `--slotted-checkbox-checked-background`, `--slotted-checkbox-checked-border-color`, `--slotted-checkbox-checked-hover-background`, `--slotted-checkbox-color`, `--slotted-checkbox-description-color`, `--slotted-checkbox-description-font-size`, `--slotted-checkbox-disabled-background`, `--slotted-checkbox-disabled-border-color`, `--slotted-checkbox-disabled-color`, `--slotted-checkbox-disabled-mark-color`, `--slotted-checkbox-halo-color`, `--slotted-checkbox-hover-border-color`, `--slotted-checkbox-invalid-border-color`, `--slotted-checkbox-invalid-checked-background`, `--slotted-checkbox-invalid-edge-width`, `--slotted-checkbox-invalid-focus-ring-color`, `--slotted-checkbox-line-height`, `--slotted-checkbox-mark-color`, `--slotted-checkbox-mark-inset`, `--slotted-checkbox-radius`, `--slotted-checkbox-readonly-background`, `--slotted-checkbox-size`, `--slotted-checkbox-tile-active-background`, `--slotted-checkbox-tile-background`, `--slotted-checkbox-tile-border-color`, `--slotted-checkbox-tile-checked-background`, `--slotted-checkbox-tile-checked-border-color`, `--slotted-checkbox-tile-checked-hover-border-color`, `--slotted-checkbox-tile-description-gap`, `--slotted-checkbox-tile-disabled-background`, `--slotted-checkbox-tile-disabled-border-color`, `--slotted-checkbox-tile-hover-background`, `--slotted-checkbox-tile-hover-border-color`, `--slotted-checkbox-tile-inset`, `--slotted-checkbox-tile-invalid-border-color`, `--slotted-checkbox-tile-invalid-checked-background`, `--slotted-checkbox-tile-invalid-checked-border-color`, `--slotted-checkbox-tile-radius`, `--slotted-checkbox-tile-readonly-background`, `--slotted-checkbox-tile-readonly-border-color`, `--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-invalid-edge-width`, `--slotted-control-label-gap-lg`, `--slotted-control-label-gap-md`, `--slotted-control-label-gap-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-selection-halo-opacity`, `--slotted-selection-size-lg`, `--slotted-selection-size-md`, `--slotted-selection-size-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-surface`, `--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-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-secondary-subtle-hover`
|
|
91
|
+
`--slotted-border-strong`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-checkbox-active-background`, `--slotted-checkbox-background`, `--slotted-checkbox-border-color`, `--slotted-checkbox-border-width`, `--slotted-checkbox-checked-active-background`, `--slotted-checkbox-checked-background`, `--slotted-checkbox-checked-border-color`, `--slotted-checkbox-checked-hover-background`, `--slotted-checkbox-color`, `--slotted-checkbox-description-color`, `--slotted-checkbox-description-font-size`, `--slotted-checkbox-disabled-background`, `--slotted-checkbox-disabled-border-color`, `--slotted-checkbox-disabled-color`, `--slotted-checkbox-disabled-mark-color`, `--slotted-checkbox-halo-color`, `--slotted-checkbox-hover-border-color`, `--slotted-checkbox-invalid-border-color`, `--slotted-checkbox-invalid-checked-background`, `--slotted-checkbox-invalid-edge-width`, `--slotted-checkbox-invalid-focus-ring-color`, `--slotted-checkbox-line-height`, `--slotted-checkbox-mark-color`, `--slotted-checkbox-mark-inset`, `--slotted-checkbox-radius`, `--slotted-checkbox-readonly-background`, `--slotted-checkbox-size`, `--slotted-checkbox-tile-active-background`, `--slotted-checkbox-tile-background`, `--slotted-checkbox-tile-border-color`, `--slotted-checkbox-tile-checked-background`, `--slotted-checkbox-tile-checked-border-color`, `--slotted-checkbox-tile-checked-hover-border-color`, `--slotted-checkbox-tile-description-gap`, `--slotted-checkbox-tile-disabled-background`, `--slotted-checkbox-tile-disabled-border-color`, `--slotted-checkbox-tile-hover-background`, `--slotted-checkbox-tile-hover-border-color`, `--slotted-checkbox-tile-inset`, `--slotted-checkbox-tile-invalid-border-color`, `--slotted-checkbox-tile-invalid-checked-background`, `--slotted-checkbox-tile-invalid-checked-border-color`, `--slotted-checkbox-tile-radius`, `--slotted-checkbox-tile-readonly-background`, `--slotted-checkbox-tile-readonly-border-color`, `--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-invalid-edge-width`, `--slotted-control-label-gap-lg`, `--slotted-control-label-gap-md`, `--slotted-control-label-gap-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-selection-halo-opacity`, `--slotted-selection-size-lg`, `--slotted-selection-size-md`, `--slotted-selection-size-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-surface`, `--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-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-secondary-subtle-hover`
|
|
92
92
|
|
|
93
93
|
## Examples
|
|
94
94
|
|
|
@@ -80,10 +80,12 @@
|
|
|
80
80
|
"trigger",
|
|
81
81
|
"indicator",
|
|
82
82
|
"label",
|
|
83
|
+
"summary",
|
|
83
84
|
"description",
|
|
84
85
|
"actions",
|
|
85
86
|
"panel",
|
|
86
|
-
"content"
|
|
87
|
+
"content",
|
|
88
|
+
"more"
|
|
87
89
|
]
|
|
88
90
|
}
|
|
89
91
|
},
|
|
@@ -123,6 +125,12 @@
|
|
|
123
125
|
"required": true,
|
|
124
126
|
"purpose": "The title. A box of its own, so text-overflow has something to clip under truncate and so a title in another script reads its own way without reordering the row around it."
|
|
125
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"part": "summary",
|
|
130
|
+
"element": "span",
|
|
131
|
+
"required": false,
|
|
132
|
+
"purpose": "What the disclosure holds, at the end of the title line and before the mark: one line, cut with an ellipsis, in the description ink. It is inside the trigger, so it is part of the accessible name."
|
|
133
|
+
},
|
|
126
134
|
{
|
|
127
135
|
"part": "description",
|
|
128
136
|
"element": "span",
|
|
@@ -146,6 +154,12 @@
|
|
|
146
154
|
"element": "div",
|
|
147
155
|
"required": true,
|
|
148
156
|
"purpose": "What the panel’s grid track clips. Its content-visibility is what takes closed content out of the tab sequence, out of the accessibility tree and out of the browser’s page search. mount decides whether it is built at all."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"part": "more",
|
|
160
|
+
"element": "button",
|
|
161
|
+
"required": false,
|
|
162
|
+
"purpose": "The control a peeking panel draws over its fade, present only while the panel is closed and peek is set: it opens the panel and names it through aria-controls, as the header trigger does."
|
|
149
163
|
}
|
|
150
164
|
],
|
|
151
165
|
"api": [
|
|
@@ -205,6 +219,13 @@
|
|
|
205
219
|
"appliesTo": "Collapsible, Accordion, CollapsibleDefaultsProvider",
|
|
206
220
|
"description": "When the panel’s content exists. The box always does, so aria-controls never names an element that is gone. until-found writes hidden=\"until-found\" and answers beforematch by opening"
|
|
207
221
|
},
|
|
222
|
+
{
|
|
223
|
+
"name": "peek",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"defaultValue": "—",
|
|
226
|
+
"appliesTo": "Collapsible, CollapsibleDefaultsProvider",
|
|
227
|
+
"description": "A length (9rem): a closed panel keeps that block size of its content in view under a fade, stays inert, and animates to its full size with the same durations; forced colors drop the fade and keep the clip. The panel carries data-state=\"peek\", and mount is forced to eager"
|
|
228
|
+
},
|
|
208
229
|
{
|
|
209
230
|
"name": "truncate",
|
|
210
231
|
"type": "boolean",
|
|
@@ -240,6 +261,13 @@
|
|
|
240
261
|
"appliesTo": "Collapsible",
|
|
241
262
|
"description": "What this disclosure is called inside an Accordion. It is identity rather than state, and it reaches the DOM as data-value"
|
|
242
263
|
},
|
|
264
|
+
{
|
|
265
|
+
"name": "summary",
|
|
266
|
+
"type": "ReactNode",
|
|
267
|
+
"defaultValue": "—",
|
|
268
|
+
"appliesTo": "CollapsibleTrigger",
|
|
269
|
+
"description": "What the disclosure holds, at the end of the title line and before the mark, cut with an ellipsis; inside the trigger and therefore inside its accessible name"
|
|
270
|
+
},
|
|
243
271
|
{
|
|
244
272
|
"name": "description",
|
|
245
273
|
"type": "ReactNode",
|
|
@@ -306,6 +334,7 @@
|
|
|
306
334
|
"--slotted-border-width-thin",
|
|
307
335
|
"--slotted-collapsible-active-background",
|
|
308
336
|
"--slotted-collapsible-background",
|
|
337
|
+
"--slotted-collapsible-border-color",
|
|
309
338
|
"--slotted-collapsible-color",
|
|
310
339
|
"--slotted-collapsible-description-color",
|
|
311
340
|
"--slotted-collapsible-hover-background",
|
|
@@ -314,8 +343,10 @@
|
|
|
314
343
|
"--slotted-collapsible-padding-inline",
|
|
315
344
|
"--slotted-collapsible-panel-color",
|
|
316
345
|
"--slotted-collapsible-panel-padding-block-start",
|
|
346
|
+
"--slotted-collapsible-peek-fade",
|
|
317
347
|
"--slotted-collapsible-radius",
|
|
318
348
|
"--slotted-collapsible-rule-color",
|
|
349
|
+
"--slotted-collapsible-shadow",
|
|
319
350
|
"--slotted-collapsible-surface",
|
|
320
351
|
"--slotted-control-font-family",
|
|
321
352
|
"--slotted-control-gap-lg",
|
|
@@ -331,6 +362,7 @@
|
|
|
331
362
|
"--slotted-control-padding-inline-lg",
|
|
332
363
|
"--slotted-control-padding-inline-md",
|
|
333
364
|
"--slotted-control-padding-inline-sm",
|
|
365
|
+
"--slotted-control-radius",
|
|
334
366
|
"--slotted-control-transition-duration",
|
|
335
367
|
"--slotted-control-transition-easing",
|
|
336
368
|
"--slotted-disabled-foreground",
|
package/dist/docs/collapsible.md
CHANGED
|
@@ -31,10 +31,12 @@ Excerpt — not a complete module
|
|
|
31
31
|
| `trigger` | button | yes |
|
|
32
32
|
| `indicator` | span | no |
|
|
33
33
|
| `label` | span | yes |
|
|
34
|
+
| `summary` | span | no |
|
|
34
35
|
| `description` | span | no |
|
|
35
36
|
| `actions` | div, or the element render returns | no |
|
|
36
37
|
| `panel` | div, optionally role="region" | yes |
|
|
37
38
|
| `content` | div | yes |
|
|
39
|
+
| `more` | button | no |
|
|
38
40
|
|
|
39
41
|
## Props
|
|
40
42
|
|
|
@@ -48,11 +50,13 @@ Excerpt — not a complete module
|
|
|
48
50
|
| `togglePlacement` | `'end' \| 'start'` | end | Collapsible, Accordion, CollapsibleDefaultsProvider | Which side of the words the mark stands on. With it at the start the panel’s content is indented to line up with the title rather than with the mark |
|
|
49
51
|
| `level` | `'none' \| '1' \| '2' \| '3' \| '4' \| '5' \| '6'` | none | Collapsible, CollapsibleDefaultsProvider | The heading element the trigger is wrapped in. none renders a div and writes no heading semantics; an Accordion sets it for a whole set through headingLevel |
|
|
50
52
|
| `mount` | `'active' \| 'lazy' \| 'eager' \| 'until-found'` | eager | Collapsible, Accordion, CollapsibleDefaultsProvider | When the panel’s content exists. The box always does, so aria-controls never names an element that is gone. until-found writes hidden="until-found" and answers beforematch by opening |
|
|
53
|
+
| `peek` | `string` | — | Collapsible, CollapsibleDefaultsProvider | A length (9rem): a closed panel keeps that block size of its content in view under a fade, stays inert, and animates to its full size with the same durations; forced colors drop the fade and keep the clip. The panel carries data-state="peek", and mount is forced to eager |
|
|
51
54
|
| `truncate` | `boolean` | false | Collapsible, Accordion, CollapsibleDefaultsProvider | Clips the title to one line instead of letting the row grow. The whole string stays in the DOM, which the library decided once for every family |
|
|
52
55
|
| `region` | `boolean` | false | Collapsible | Makes the panel a region landmark. Off by default, because the pattern’s own example warns that a landmark per panel fills the landmark list |
|
|
53
56
|
| `disabled` | `boolean` | false | Collapsible | Reaches the trigger as the native attribute, which is also what stops the press. Unstated rather than false, so the disclosure defers to the Accordion around it |
|
|
54
57
|
| `loading` | `boolean` | false | Collapsible | The panel keeps a line’s height and carries aria-busy; what stands in for the content is Skeleton, composed by the consumer |
|
|
55
58
|
| `value` | `string` | from useId | Collapsible | What this disclosure is called inside an Accordion. It is identity rather than state, and it reaches the DOM as data-value |
|
|
59
|
+
| `summary` | `ReactNode` | — | CollapsibleTrigger | What the disclosure holds, at the end of the title line and before the mark, cut with an ellipsis; inside the trigger and therefore inside its accessible name |
|
|
56
60
|
| `description` | `ReactNode` | — | CollapsibleTrigger | A second line under the title, inside the trigger and therefore inside its accessible name |
|
|
57
61
|
| `render` | `(props) => ReactNode` | — | Collapsible, CollapsibleHeader, CollapsibleTrigger, CollapsibleActions, CollapsiblePanel | Substitutes any of the five roots and hands it every attribute — a disclosure can be a section, a panel an article. The heading may become another element, but the trigger has to stay its only child |
|
|
58
62
|
| `ref` | `Ref<HTMLElement>` | — | every part | Reaches the element itself, so focus() and click() are the platform’s and no imperative handle is invented for what it already ships |
|
|
@@ -89,7 +93,7 @@ Excerpt — not a complete module
|
|
|
89
93
|
|
|
90
94
|
## Tokens
|
|
91
95
|
|
|
92
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-collapsible-active-background`, `--slotted-collapsible-background`, `--slotted-collapsible-color`, `--slotted-collapsible-description-color`, `--slotted-collapsible-hover-background`, `--slotted-collapsible-hover-color`, `--slotted-collapsible-indicator-color`, `--slotted-collapsible-padding-inline`, `--slotted-collapsible-panel-color`, `--slotted-collapsible-panel-padding-block-start`, `--slotted-collapsible-radius`, `--slotted-collapsible-rule-color`, `--slotted-collapsible-surface`, `--slotted-control-font-family`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-letter-spacing`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--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-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
96
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-collapsible-active-background`, `--slotted-collapsible-background`, `--slotted-collapsible-border-color`, `--slotted-collapsible-color`, `--slotted-collapsible-description-color`, `--slotted-collapsible-hover-background`, `--slotted-collapsible-hover-color`, `--slotted-collapsible-indicator-color`, `--slotted-collapsible-padding-inline`, `--slotted-collapsible-panel-color`, `--slotted-collapsible-panel-padding-block-start`, `--slotted-collapsible-peek-fade`, `--slotted-collapsible-radius`, `--slotted-collapsible-rule-color`, `--slotted-collapsible-shadow`, `--slotted-collapsible-surface`, `--slotted-control-font-family`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-letter-spacing`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
93
97
|
|
|
94
98
|
## Examples
|
|
95
99
|
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"part": "group-label",
|
|
202
202
|
"element": "div",
|
|
203
203
|
"required": false,
|
|
204
|
-
"purpose": "The heading of a group."
|
|
204
|
+
"purpose": "The heading of a group. It carries data-stuck while rows pass under it, and only then paints the surface of the panel."
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
"part": "item",
|
|
@@ -601,6 +601,7 @@
|
|
|
601
601
|
"--slotted-command-palette-border-color",
|
|
602
602
|
"--slotted-command-palette-footer-surface",
|
|
603
603
|
"--slotted-command-palette-group-label-height",
|
|
604
|
+
"--slotted-command-palette-group-label-stuck-surface",
|
|
604
605
|
"--slotted-command-palette-highlight",
|
|
605
606
|
"--slotted-command-palette-highlight-ring",
|
|
606
607
|
"--slotted-command-palette-hover",
|
|
@@ -130,7 +130,7 @@ Excerpt — not a complete module
|
|
|
130
130
|
|
|
131
131
|
## Tokens
|
|
132
132
|
|
|
133
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-command-palette-active`, `--slotted-command-palette-backdrop-filter`, `--slotted-command-palette-border-color`, `--slotted-command-palette-footer-surface`, `--slotted-command-palette-group-label-height`, `--slotted-command-palette-highlight`, `--slotted-command-palette-highlight-ring`, `--slotted-command-palette-hover`, `--slotted-command-palette-item-radius`, `--slotted-command-palette-list-max-block-size`, `--slotted-command-palette-list-padding`, `--slotted-command-palette-measure`, `--slotted-command-palette-page-surface`, `--slotted-command-palette-placeholder-fade`, `--slotted-command-palette-radius`, `--slotted-command-palette-separator-color`, `--slotted-command-palette-shadow`, `--slotted-command-palette-surface`, `--slotted-command-palette-text`, `--slotted-command-palette-text-muted`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
133
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-command-palette-active`, `--slotted-command-palette-backdrop-filter`, `--slotted-command-palette-border-color`, `--slotted-command-palette-footer-surface`, `--slotted-command-palette-group-label-height`, `--slotted-command-palette-group-label-stuck-surface`, `--slotted-command-palette-highlight`, `--slotted-command-palette-highlight-ring`, `--slotted-command-palette-hover`, `--slotted-command-palette-item-radius`, `--slotted-command-palette-list-max-block-size`, `--slotted-command-palette-list-padding`, `--slotted-command-palette-measure`, `--slotted-command-palette-page-surface`, `--slotted-command-palette-placeholder-fade`, `--slotted-command-palette-radius`, `--slotted-command-palette-separator-color`, `--slotted-command-palette-shadow`, `--slotted-command-palette-surface`, `--slotted-command-palette-text`, `--slotted-command-palette-text-muted`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
134
134
|
|
|
135
135
|
## Examples
|
|
136
136
|
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
"title",
|
|
78
78
|
"title-row",
|
|
79
79
|
"help",
|
|
80
|
+
"help-note",
|
|
80
81
|
"description",
|
|
81
82
|
"detail",
|
|
82
83
|
"handle",
|
|
@@ -173,7 +174,13 @@
|
|
|
173
174
|
"part": "help",
|
|
174
175
|
"element": "button, a Popover trigger",
|
|
175
176
|
"required": false,
|
|
176
|
-
"purpose": "The information control after the title, named “About {title}”; opens the note, and Escape closes it and returns focus. Present with help."
|
|
177
|
+
"purpose": "The information control after the title, one line of the title tall and muted, named “About {title}”; opens the note, and Escape closes it and returns focus. Present with help."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"part": "help-note",
|
|
181
|
+
"element": "div, inside the popover body",
|
|
182
|
+
"required": false,
|
|
183
|
+
"purpose": "The note the help control opens. The popover that holds it takes --slotted-dashboard-grid-help-measure (20rem) as its width. Present with help."
|
|
177
184
|
},
|
|
178
185
|
{
|
|
179
186
|
"part": "description",
|
|
@@ -518,10 +525,10 @@
|
|
|
518
525
|
},
|
|
519
526
|
{
|
|
520
527
|
"name": "usePersistedDashboardLayout",
|
|
521
|
-
"type": "({ key, storage?, defaultLayout? }) => { layout, defaultLayout, onLayoutChange, clear }",
|
|
528
|
+
"type": "({ key, storage?, defaultLayout?, subscribe? }) => { layout, defaultLayout, onLayoutChange, clear }",
|
|
522
529
|
"defaultValue": "localStorage",
|
|
523
530
|
"appliesTo": "a component",
|
|
524
|
-
"description": "Reads the stored layout
|
|
531
|
+
"description": "Reads the stored layout at mount, and again each time subscribe calls back (a server copy written to the store after mount), and writes every change; a store that throws reads as empty. Spread on the grid, its defaultLayout is what Reset asks for"
|
|
525
532
|
}
|
|
526
533
|
],
|
|
527
534
|
"composition": [],
|
|
@@ -583,6 +590,7 @@
|
|
|
583
590
|
"--slotted-dashboard-grid-handle-glyph-size",
|
|
584
591
|
"--slotted-dashboard-grid-handle-inline-size",
|
|
585
592
|
"--slotted-dashboard-grid-handle-inline-size-coarse",
|
|
593
|
+
"--slotted-dashboard-grid-help-measure",
|
|
586
594
|
"--slotted-dashboard-grid-lattice-color",
|
|
587
595
|
"--slotted-dashboard-grid-lattice-dot",
|
|
588
596
|
"--slotted-dashboard-grid-resize-hit",
|
|
@@ -55,6 +55,7 @@ const [editing, setEditing] = useState(false);
|
|
|
55
55
|
| `title` | h2 to h6 | yes |
|
|
56
56
|
| `title-row` | div | no |
|
|
57
57
|
| `help` | button, a Popover trigger | no |
|
|
58
|
+
| `help-note` | div, inside the popover body | no |
|
|
58
59
|
| `description` | p | no |
|
|
59
60
|
| `detail` | a, or button | no |
|
|
60
61
|
| `handle` | button, a Menu trigger | no |
|
|
@@ -110,7 +111,7 @@ const [editing, setEditing] = useState(false);
|
|
|
110
111
|
| `fill / size` | `CardFill / CardSize` | outline / md | DashboardWidget | The card’s own axes |
|
|
111
112
|
| `render` | `(props: DashboardWidgetRootProps) => ReactElement` | an li | DashboardWidget | Substitutes the li; keep props.ref, the grid measures against it |
|
|
112
113
|
| `DashboardGridDefaultsProvider` | `{ columns, editBar, headingLevel }` | — | a subtree | The decisions an application takes once; an instance that states any of them wins. The words come from the language in force (SlottedProvider) |
|
|
113
|
-
| `usePersistedDashboardLayout` | `({ key, storage?, defaultLayout? }) => { layout, defaultLayout, onLayoutChange, clear }` | localStorage | a component | Reads the stored layout
|
|
114
|
+
| `usePersistedDashboardLayout` | `({ key, storage?, defaultLayout?, subscribe? }) => { layout, defaultLayout, onLayoutChange, clear }` | localStorage | a component | Reads the stored layout at mount, and again each time subscribe calls back (a server copy written to the store after mount), and writes every change; a store that throws reads as empty. Spread on the grid, its defaultLayout is what Reset asks for |
|
|
114
115
|
|
|
115
116
|
## Events
|
|
116
117
|
|
|
@@ -141,7 +142,7 @@ const [editing, setEditing] = useState(false);
|
|
|
141
142
|
|
|
142
143
|
## Tokens
|
|
143
144
|
|
|
144
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-card-radius`, `--slotted-control-border-color`, `--slotted-control-height-sm`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-dashboard-grid-accent`, `--slotted-dashboard-grid-description-color`, `--slotted-dashboard-grid-edit-bar-background`, `--slotted-dashboard-grid-edit-bar-border`, `--slotted-dashboard-grid-gap`, `--slotted-dashboard-grid-handle-block-size`, `--slotted-dashboard-grid-handle-block-size-coarse`, `--slotted-dashboard-grid-handle-glyph-size`, `--slotted-dashboard-grid-handle-inline-size`, `--slotted-dashboard-grid-handle-inline-size-coarse`, `--slotted-dashboard-grid-lattice-color`, `--slotted-dashboard-grid-lattice-dot`, `--slotted-dashboard-grid-resize-hit`, `--slotted-dashboard-grid-resize-pill`, `--slotted-dashboard-grid-resize-pill-active`, `--slotted-dashboard-grid-row-size`, `--slotted-dashboard-grid-title-color`, `--slotted-dashboard-grid-title-font-family`, `--slotted-dashboard-grid-title-font-size`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`
|
|
145
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-card-radius`, `--slotted-control-border-color`, `--slotted-control-height-sm`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-dashboard-grid-accent`, `--slotted-dashboard-grid-description-color`, `--slotted-dashboard-grid-edit-bar-background`, `--slotted-dashboard-grid-edit-bar-border`, `--slotted-dashboard-grid-gap`, `--slotted-dashboard-grid-handle-block-size`, `--slotted-dashboard-grid-handle-block-size-coarse`, `--slotted-dashboard-grid-handle-glyph-size`, `--slotted-dashboard-grid-handle-inline-size`, `--slotted-dashboard-grid-handle-inline-size-coarse`, `--slotted-dashboard-grid-help-measure`, `--slotted-dashboard-grid-lattice-color`, `--slotted-dashboard-grid-lattice-dot`, `--slotted-dashboard-grid-resize-hit`, `--slotted-dashboard-grid-resize-pill`, `--slotted-dashboard-grid-resize-pill-active`, `--slotted-dashboard-grid-row-size`, `--slotted-dashboard-grid-title-color`, `--slotted-dashboard-grid-title-font-family`, `--slotted-dashboard-grid-title-font-size`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`
|
|
145
146
|
|
|
146
147
|
## Examples
|
|
147
148
|
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"variant": "plain",
|
|
32
32
|
"termWidth": "14rem",
|
|
33
33
|
"minColumnWidth": "md",
|
|
34
|
+
"valueAlign": "start",
|
|
34
35
|
"span": 1,
|
|
35
36
|
"clamp": 0,
|
|
36
37
|
"copy": false,
|
|
@@ -176,6 +177,13 @@
|
|
|
176
177
|
"appliesTo": "DescriptionList",
|
|
177
178
|
"description": "The maximum width of the term column, as a length (not a percentage); the terms share one track sized to the widest of them, up to this. A row list narrower than this width plus --slotted-description-list-value-min (12rem) stacks each term over its value"
|
|
178
179
|
},
|
|
180
|
+
{
|
|
181
|
+
"name": "valueAlign",
|
|
182
|
+
"type": "'start' | 'end'",
|
|
183
|
+
"defaultValue": "start",
|
|
184
|
+
"appliesTo": "DescriptionList",
|
|
185
|
+
"description": "Where a value sits in a row list: after the term, or ended at the row so values compared down the list end on one line. A stacked list, and a row list folded to a stack, keep the value at the start"
|
|
186
|
+
},
|
|
179
187
|
{
|
|
180
188
|
"name": "messages",
|
|
181
189
|
"type": "PartialMessages<DescriptionListMessages>",
|
|
@@ -264,10 +272,10 @@
|
|
|
264
272
|
},
|
|
265
273
|
{
|
|
266
274
|
"name": "DescriptionListDefaultsProvider",
|
|
267
|
-
"type": "layout | columns | variant | termWidth | minColumnWidth",
|
|
275
|
+
"type": "layout | columns | variant | termWidth | minColumnWidth | valueAlign",
|
|
268
276
|
"defaultValue": "—",
|
|
269
277
|
"appliesTo": "Application",
|
|
270
|
-
"description": "Sets those
|
|
278
|
+
"description": "Sets those six once for everything below it; a prop on the list still wins"
|
|
271
279
|
},
|
|
272
280
|
{
|
|
273
281
|
"name": "children",
|
|
@@ -55,6 +55,7 @@ Excerpt — not a complete module
|
|
|
55
55
|
| `variant` | `'plain' \| 'ruled' \| 'framed'` | plain | DescriptionList | Nothing between pairs, a rule between them, or a framed table |
|
|
56
56
|
| `minColumnWidth` | `'sm' \| 'md'` | md | DescriptionList | The narrowest column before the count folds: md holds two columns to 34rem of the list and three to 48rem; sm holds two to 25rem and three to 37.5rem |
|
|
57
57
|
| `termWidth` | `string` | 14rem | DescriptionList | The maximum width of the term column, as a length (not a percentage); the terms share one track sized to the widest of them, up to this. A row list narrower than this width plus --slotted-description-list-value-min (12rem) stacks each term over its value |
|
|
58
|
+
| `valueAlign` | `'start' \| 'end'` | start | DescriptionList | Where a value sits in a row list: after the term, or ended at the row so values compared down the list end on one line. A stacked list, and a row list folded to a stack, keep the value at the start |
|
|
58
59
|
| `messages` | `PartialMessages<DescriptionListMessages>` | — | DescriptionList | Words laid over the language in force, key by key: copy, copied, copyBlocked, reveal, collapse, placeholder |
|
|
59
60
|
| `span` | `1 \| 2 \| 3` | 1 | DescriptionListItem | How many columns the pair takes, clamped to the count the list has |
|
|
60
61
|
| `clamp` | `number` | 0 | DescriptionListDescription | Lines the value is held to before it is revealed; 0 never clamps |
|
|
@@ -67,7 +68,7 @@ Excerpt — not a complete module
|
|
|
67
68
|
| `render` | `(props) => ReactNode` | — | every part but the list | Substitutes the rendered element. Every data attribute is handed to it, so another component keeps them. The dl is fixed: it has no option of its own, and substituting it would take away the element every semantic here rests on. |
|
|
68
69
|
| `ref` | `Ref<HTMLElement>` | — | every part | Reaches the element, and focus() with it |
|
|
69
70
|
| `useDescriptionList()` | `() => DescriptionListContextValue` | — | inside a DescriptionList | The arrangement and the translator t, for a part of your own |
|
|
70
|
-
| `DescriptionListDefaultsProvider` | `layout \| columns \| variant \| termWidth \| minColumnWidth` | — | Application | Sets those
|
|
71
|
+
| `DescriptionListDefaultsProvider` | `layout \| columns \| variant \| termWidth \| minColumnWidth \| valueAlign` | — | Application | Sets those six once for everything below it; a prop on the list still wins |
|
|
71
72
|
| `children` | `ReactNode` | — | DescriptionListDescription | A tag, a status indicator, a link or a skeleton — the value slot takes what the row needs |
|
|
72
73
|
|
|
73
74
|
## Events
|