@slotted/react 0.1.0-beta.43 → 0.1.0-beta.45
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-sheet-q1UXXruJ.js +360 -0
- package/dist/action-sheet.js +1 -1
- package/dist/{app-shell-DsWhsSMU.js → app-shell-BBPY0_KK.js} +215 -194
- package/dist/app-shell.js +1 -1
- package/dist/{attachment-TZykYNu5.js → attachment-DJDXJrCx.js} +1 -1
- package/dist/attachment.js +1 -1
- package/dist/{button-BMRInd-t.js → button-DS_HpPy0.js} +1 -1
- package/dist/button.js +2 -2
- package/dist/{calendar-YQ784o4d.js → calendar-BO5teotM.js} +1 -1
- package/dist/calendar.js +1 -1
- package/dist/{cascader-fq8fNWSr.js → cascader-BbhADVGt.js} +134 -131
- package/dist/cascader.js +1 -1
- package/dist/{chart-vedR0BDN.js → chart-C4uPgUW8.js} +2 -2
- package/dist/chart.js +1 -1
- package/dist/{checkbox-DsJhlB5c.js → checkbox-D8HZG0be.js} +3 -3
- package/dist/{checkbox-group-pvX9R_yS.js → checkbox-group-5zuE2Kd1.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{clock-DzkQa57Q.js → clock-DeJgwYbZ.js} +1 -1
- package/dist/clock.js +1 -1
- package/dist/{code-block-Cy548yk7.js → code-block-H0lmVVnY.js} +1 -1
- package/dist/code-block.js +1 -1
- package/dist/{color-picker-i-MJ5VVs.js → color-picker-fiLSUBjj.js} +23 -18
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-D028QbfO.js → column-manager-Cc72e1j-.js} +143 -143
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-599heRN_.js → combobox-DMtXrMYE.js} +1 -1
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-Bgf5tfCI.js → command-palette-DwjkexvN.js} +15 -7
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-WM_tT9hz.js → context-menu-CRRp-PhP.js} +12 -6
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field-rS36pjCO.js → currency-field-Cxr8MT75.js} +1 -1
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-Dh2Q3IQv.js → dashboard-grid-_3H4G0dP.js} +339 -333
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-DUft3rJb.js → data-grid-BlElqHOU.js} +19 -19
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-Dv3orBtf.js → data-list-5zvM-DUz.js} +4 -3
- package/dist/data-list.js +1 -1
- package/dist/{date-field-BZ5JcvXJ.js → date-field-CjlOWVRA.js} +1 -1
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-BvEbsbJC.js → date-picker-BoIHK8_U.js} +4 -4
- package/dist/date-picker.js +2 -2
- package/dist/{date-range-picker-uIr-yReE.js → date-range-picker-DzuuvudX.js} +5 -5
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-DDs3mV9Z.js → datetime-field-PSEOgzfN.js} +1 -1
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-DDYXqrjm.js → datetime-picker-BUhSr8yp.js} +7 -7
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-CFTHW771.js → datetime-range-picker-DXllehEN.js} +7 -7
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{description-list-D8iTzgC0.js → description-list-1USVlDj3.js} +5 -1
- package/dist/description-list.js +1 -1
- package/dist/{detail-panel-Cke3ZFU3.js → detail-panel-Czs05E_D.js} +52 -50
- package/dist/detail-panel.js +1 -1
- package/dist/docs/action-sheet.examples.md +1 -1
- package/dist/docs/action-sheet.json +3 -3
- package/dist/docs/action-sheet.md +2 -2
- package/dist/docs/app-shell.examples.md +353 -301
- package/dist/docs/app-shell.json +14 -13
- package/dist/docs/app-shell.md +13 -8
- package/dist/docs/avatar-group.examples.md +790 -0
- package/dist/docs/avatar-group.json +9 -9
- package/dist/docs/avatar-group.md +17 -516
- package/dist/docs/avatar.json +6 -6
- package/dist/docs/avatar.md +43 -10
- package/dist/docs/badge.json +1 -1
- package/dist/docs/badge.md +15 -3
- package/dist/docs/button.json +2 -0
- package/dist/docs/button.md +1 -1
- package/dist/docs/calendar.json +0 -1
- package/dist/docs/calendar.md +1 -1
- package/dist/docs/carousel.json +2 -0
- package/dist/docs/carousel.md +1 -1
- package/dist/docs/clock.json +4 -4
- package/dist/docs/clock.md +2 -2
- package/dist/docs/collapsible.json +10 -1
- package/dist/docs/collapsible.md +1 -1
- package/dist/docs/color-picker.json +14 -1
- package/dist/docs/color-picker.md +2 -1
- package/dist/docs/description-list.json +7 -0
- package/dist/docs/description-list.md +1 -0
- package/dist/docs/drawer.examples.md +1 -1
- package/dist/docs/drawer.json +4 -4
- package/dist/docs/entity-picker.examples.md +123 -0
- package/dist/docs/entity-picker.json +9 -9
- package/dist/docs/entity-picker.md +15 -0
- package/dist/docs/event-calendar.json +7 -0
- package/dist/docs/event-calendar.md +1 -0
- package/dist/docs/filter-bar.json +1 -0
- package/dist/docs/filter-bar.md +1 -1
- package/dist/docs/floating-panel.json +7 -3
- package/dist/docs/floating-panel.md +23 -5
- package/dist/docs/hover-card.json +8 -1
- package/dist/docs/hover-card.md +5 -1
- package/dist/docs/import-export-center.examples.md +1 -1
- package/dist/docs/import-export-center.json +3 -13
- package/dist/docs/import-export-center.md +2 -3
- package/dist/docs/inline-message.json +8 -8
- package/dist/docs/inline-message.md +37 -31
- package/dist/docs/inline.json +1 -1
- package/dist/docs/inline.md +4 -1
- package/dist/docs/list-item.json +3 -0
- package/dist/docs/list-item.md +1 -1
- package/dist/docs/markdown.json +1 -1
- package/dist/docs/markdown.md +5 -1
- package/dist/docs/media-viewer.examples.md +1 -1
- package/dist/docs/media-viewer.json +1 -1
- package/dist/docs/menu.examples.md +14 -2
- package/dist/docs/menu.json +1 -1
- package/dist/docs/message-scroller.examples.md +230 -64
- package/dist/docs/message-scroller.json +11 -11
- package/dist/docs/message-scroller.md +18 -5
- package/dist/docs/message.examples.md +14 -4
- package/dist/docs/message.json +7 -5
- package/dist/docs/message.md +6 -2
- package/dist/docs/navigation-menu.examples.md +16 -7
- package/dist/docs/navigation-menu.json +6 -6
- package/dist/docs/navigation-menu.md +1 -1
- package/dist/docs/page-header.examples.md +79 -58
- package/dist/docs/page-header.json +10 -2
- package/dist/docs/page-header.md +1 -1
- package/dist/docs/page.examples.md +31 -13
- package/dist/docs/page.json +1 -1
- package/dist/docs/popover.json +17 -2
- package/dist/docs/popover.md +2 -0
- package/dist/docs/progress-indicator.json +10 -1
- package/dist/docs/progress-indicator.md +2 -1
- package/dist/docs/saved-views.examples.md +2 -13
- package/dist/docs/saved-views.json +8 -8
- package/dist/docs/saved-views.md +0 -1
- package/dist/docs/section.examples.md +25 -22
- package/dist/docs/section.json +1 -1
- package/dist/docs/segmented-control.json +2 -0
- package/dist/docs/segmented-control.md +1 -1
- package/dist/docs/side-navigation.examples.md +6 -1
- package/dist/docs/side-navigation.json +1 -1
- package/dist/docs/skeleton.json +2 -2
- package/dist/docs/skeleton.md +2 -2
- package/dist/docs/stat-card.examples.md +4 -4
- package/dist/docs/stat-card.json +4 -4
- package/dist/docs/status-indicator.json +0 -1
- package/dist/docs/status-indicator.md +1 -1
- package/dist/docs/stepper.json +1 -1
- package/dist/docs/stepper.md +2 -8
- package/dist/docs/table.json +2 -1
- package/dist/docs/table.md +2 -2
- package/dist/docs/tabs.examples.md +6 -4
- package/dist/docs/tabs.json +7 -5
- package/dist/docs/tabs.md +2 -2
- package/dist/docs/timeline.examples.md +6 -1
- package/dist/docs/timeline.json +1 -1
- package/dist/docs/toggle-group.json +2 -0
- package/dist/docs/toggle-group.md +1 -1
- package/dist/docs/toggle.json +2 -0
- package/dist/docs/toggle.md +1 -1
- package/dist/docs/tokens.md +8 -0
- package/dist/docs/toolbar.examples.md +529 -0
- package/dist/docs/toolbar.json +14 -14
- package/dist/docs/toolbar.md +29 -458
- package/dist/docs/tooltip.examples.md +46 -0
- package/dist/docs/tooltip.json +23 -0
- package/dist/docs/tooltip.md +2 -0
- package/dist/docs/top-navigation.examples.md +200 -98
- package/dist/docs/top-navigation.json +12 -12
- package/dist/docs/top-navigation.md +6 -1
- package/dist/docs/tree.examples.md +5 -2
- package/dist/docs/tree.json +2 -2
- package/dist/docs/typography.json +1 -1
- package/dist/docs/typography.md +33 -20
- package/dist/docs/visually-hidden.json +3 -3
- package/dist/docs/visually-hidden.md +68 -41
- package/dist/docs/wizard.json +1 -0
- package/dist/docs/wizard.md +1 -1
- package/dist/drawer-JP3p-QZB.js +879 -0
- package/dist/drawer.js +1 -1
- package/dist/{entity-picker-C78f3Z0o.js → entity-picker-BWpuo-mp.js} +334 -330
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-DJPoCi-O.js → event-calendar-Bxx8eoGK.js} +10 -6
- package/dist/event-calendar.js +1 -1
- package/dist/{field-C-HRhke0.js → field-N0TiMbaI.js} +2 -2
- package/dist/{field-group-CU0PasvW.js → field-group-BrnE6FvP.js} +1 -1
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-D61wiQFP.js → filter-bar-nQH58RVl.js} +361 -347
- package/dist/filter-bar.js +1 -1
- package/dist/{hover-card-CTItbEfH.js → hover-card-D9-rb9ts.js} +67 -63
- package/dist/hover-card.js +1 -1
- package/dist/{icon-button-N8Madx6i.js → icon-button-DzPkQamc.js} +0 -1
- package/dist/import-export-center-BpGga5jr.js +869 -0
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +88 -88
- package/dist/{listbox-ZqiJ2yer.js → listbox-3XVusnCr.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{loading-overlay-BxIktMtQ.js → loading-overlay-BzycGqQA.js} +1 -1
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-8CtV4k44.js → markdown-BMda5ino.js} +13 -13
- package/dist/markdown.js +1 -1
- package/dist/{multi-select-Dc2d6dDB.js → multi-select-IpsZvoQ2.js} +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/{navigation-menu-parts-CRLmigjy.js → navigation-menu-parts-D-vsDdEF.js} +5 -1
- package/dist/navigation-menu.js +1 -1
- package/dist/{notification-center-BngAw_kt.js → notification-center-CTSfrh9K.js} +3 -3
- package/dist/notification-center.js +1 -1
- package/dist/{number-field-BQ54hXmk.js → number-field-Cp33JMGB.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-DRooqa3f.js → otp-input-CEP60HOi.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{page-header-jeAIQSZM.js → page-header-DK896DGD.js} +2 -2
- package/dist/page-header.js +1 -1
- package/dist/{picker-frame-B6sPCP5Y.js → picker-frame-C3Fhjfaj.js} +1 -1
- package/dist/popover-DED1MTi-.js +615 -0
- package/dist/popover.js +1 -1
- package/dist/{progress-indicator-DRr0Gj6w.js → progress-indicator-Co8e7M5K.js} +6 -3
- package/dist/progress-indicator.js +1 -1
- package/dist/{prompt-composer-tYIs39rn.js → prompt-composer-CwjvdgBR.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-AW3xcYYh.js → radio-group-D6bOV_ea.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-h3qdHLNi.js → rating-D8BvDdjM.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{saved-views-nqn0SDXn.js → saved-views-D-CP7JIE.js} +8 -5
- package/dist/saved-views.js +1 -1
- package/dist/{segmented-control-BSMVjukr.js → segmented-control-BLcGhQ4J.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/{select-d448Wkzb.js → select-Dbc3ng0M.js} +2 -2
- package/dist/{select-tags-3792weoq.js → select-tags-D0SMDPBX.js} +25 -24
- package/dist/select.js +1 -1
- package/dist/{side-navigation-BQzBxz2B.js → side-navigation-Dw3-P12f.js} +3 -3
- package/dist/side-navigation.js +1 -1
- package/dist/{skeleton-DeEOmm1y.js → skeleton-DTqt2GEv.js} +27 -20
- package/dist/skeleton.js +1 -1
- package/dist/{slider-DQ2CnxTO.js → slider-COLWTaxi.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-D4MPKSB2.js → split-button-Czr2D3HP.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/{stat-card-BpGZiFbG.js → stat-card-D6NMjkZM.js} +1 -1
- package/dist/stat-card.js +1 -1
- package/dist/styles/accordion.css +1 -1
- package/dist/styles/action-bar.css +2 -2
- package/dist/styles/action-sheet.css +5 -3
- package/dist/styles/app-shell.css +3 -3
- package/dist/styles/attachment.css +3 -3
- package/dist/styles/avatar-group.css +1 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/breadcrumb.css +1 -1
- package/dist/styles/button.css +2 -2
- package/dist/styles/calendar.css +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/carousel.css +1 -1
- package/dist/styles/cascader.css +7 -7
- package/dist/styles/chart.css +6 -4
- package/dist/styles/checkbox-group.css +6 -2
- package/dist/styles/checkbox.css +7 -3
- package/dist/styles/clock.css +1 -1
- package/dist/styles/code-block.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-picker.css +9 -5
- package/dist/styles/column-manager.css +9 -9
- package/dist/styles/combobox.css +7 -3
- package/dist/styles/command-palette.css +5 -5
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/currency-field.css +7 -3
- package/dist/styles/dashboard-grid.css +7 -7
- package/dist/styles/data-grid.css +19 -19
- package/dist/styles/data-list.css +9 -9
- package/dist/styles/date-field.css +7 -3
- package/dist/styles/date-picker.css +8 -4
- package/dist/styles/date-range-picker.css +8 -4
- package/dist/styles/datetime-field.css +7 -3
- package/dist/styles/datetime-picker.css +10 -6
- package/dist/styles/datetime-range-picker.css +9 -5
- package/dist/styles/description-list.css +1 -1
- package/dist/styles/detail-panel.css +7 -7
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/divider.css +1 -1
- package/dist/styles/drawer.css +5 -1
- package/dist/styles/entity-picker.css +10 -8
- package/dist/styles/event-calendar.css +12 -8
- package/dist/styles/field-group.css +6 -2
- package/dist/styles/field.css +6 -2
- package/dist/styles/filter-bar.css +20 -20
- package/dist/styles/floating-panel.css +1 -1
- package/dist/styles/hover-card.css +5 -1
- package/dist/styles/import-export-center.css +24 -24
- package/dist/styles/index.css +89 -87
- package/dist/styles/inline.css +1 -1
- package/dist/styles/kbd.css +1 -1
- package/dist/styles/list-item.css +1 -1
- package/dist/styles/listbox.css +7 -3
- package/dist/styles/loading-overlay.css +3 -3
- package/dist/styles/markdown.css +8 -8
- package/dist/styles/media-viewer.css +2 -2
- package/dist/styles/menu.css +1 -1
- package/dist/styles/menubar.css +2 -2
- package/dist/styles/message-scroller.css +1 -1
- package/dist/styles/message.css +1 -1
- package/dist/styles/multi-select.css +9 -7
- package/dist/styles/navigation-menu.css +1 -1
- package/dist/styles/notification-center.css +5 -5
- package/dist/styles/number-field.css +7 -3
- package/dist/styles/otp-input.css +7 -3
- package/dist/styles/page-header.css +4 -4
- package/dist/styles/pagination.css +1 -1
- package/dist/styles/popover.css +5 -1
- package/dist/styles/progress-indicator.css +2 -2
- package/dist/styles/prompt-composer.css +6 -4
- package/dist/styles/radio-group.css +7 -3
- package/dist/styles/rating.css +7 -3
- package/dist/styles/saved-views.css +8 -6
- package/dist/styles/section.css +1 -1
- package/dist/styles/segmented-control.css +7 -3
- package/dist/styles/select.css +8 -4
- package/dist/styles/side-navigation.css +4 -4
- package/dist/styles/skeleton.css +1 -1
- package/dist/styles/slider.css +6 -2
- package/dist/styles/split-button.css +3 -3
- package/dist/styles/stat-card.css +2 -2
- package/dist/styles/status-indicator.css +1 -1
- package/dist/styles/stepper.css +1 -1
- package/dist/styles/switch.css +6 -6
- package/dist/styles/table-of-contents.css +1 -1
- package/dist/styles/table.css +18 -18
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/tag.css +1 -1
- package/dist/styles/tags-input.css +8 -4
- package/dist/styles/text-field.css +7 -3
- package/dist/styles/textarea.css +7 -3
- package/dist/styles/time-field.css +7 -3
- package/dist/styles/time-picker.css +8 -4
- package/dist/styles/time-range-picker.css +8 -4
- package/dist/styles/timeline.css +2 -2
- package/dist/styles/toast.css +3 -3
- package/dist/styles/toggle-group.css +7 -3
- package/dist/styles/toggle.css +1 -1
- package/dist/styles/toolbar.css +2 -2
- package/dist/styles/top-navigation.css +5 -5
- package/dist/styles/tour.css +3 -3
- package/dist/styles/transfer.css +9 -9
- package/dist/styles/tree.css +1 -1
- package/dist/styles/upload.css +10 -6
- package/dist/styles/wizard.css +8 -8
- package/dist/styles.css +1 -1
- package/dist/{switch-DxMukg7F.js → switch-CEbZkLlX.js} +2 -2
- package/dist/switch.js +1 -1
- package/dist/{table-BecApjeD.js → table-BU7XsbQX.js} +169 -162
- package/dist/{table-of-contents-kFr_3Dzs.js → table-of-contents-C410GoEC.js} +1 -1
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +1 -1
- package/dist/{tags-input-CqCeLtk-.js → tags-input-BdjkB19P.js} +260 -257
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-CMOkJ9Z6.js → text-field-QJnu-rln.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-DfqPfXTr.js → textarea-DsrXI3xB.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-GyLQsxcc.js → time-field-DlZdMsNw.js} +1 -1
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-CGHPnust.js → time-picker-WmeCIySv.js} +5 -5
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-BMRtAqPy.js → time-range-picker-CwSbsJPt.js} +6 -6
- package/dist/time-range-picker.js +1 -1
- package/dist/{toast-aM_ga1mc.js → toast-C3xLEFDE.js} +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-DZEWkVRo.js → toggle-group-SP_W-yeh.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toolbar-BniP4i1C.js +249 -0
- package/dist/toolbar.js +1 -1
- package/dist/tooltip-UPICnTij.js +418 -0
- package/dist/tooltip.js +1 -1
- package/dist/{top-navigation-YSEQzBhD.js → top-navigation--OcOpGCy.js} +3 -3
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-ALH5CYMY.js → tour-7-TXdrMv.js} +2 -2
- package/dist/tour.js +1 -1
- package/dist/{transfer-Cv5yQuTN.js → transfer-DX6umI2M.js} +6 -6
- package/dist/transfer.js +1 -1
- package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.d.ts.map +1 -1
- package/dist/types/cascader/cascader-surface.d.ts +6 -1
- package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
- package/dist/types/cascader/cascader.d.ts.map +1 -1
- package/dist/types/clock/clock.types.d.ts +5 -2
- package/dist/types/clock/clock.types.d.ts.map +1 -1
- package/dist/types/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/column-manager/column-manager.d.ts.map +1 -1
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/context-menu/context-menu.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +2 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
- package/dist/types/data-list/data-list.d.ts.map +1 -1
- package/dist/types/description-list/description-list-parts.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
- package/dist/types/drawer/drawer-parts.d.ts +8 -3
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/drawer/drawer.types.d.ts +2 -1
- package/dist/types/drawer/drawer.types.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
- package/dist/types/hover-card/hover-card.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu-parts.d.ts.map +1 -1
- package/dist/types/popover/index.d.ts +1 -1
- package/dist/types/popover/index.d.ts.map +1 -1
- package/dist/types/popover/popover-defaults.d.ts.map +1 -1
- package/dist/types/popover/popover-parts.d.ts +2 -1
- package/dist/types/popover/popover-parts.d.ts.map +1 -1
- package/dist/types/popover/popover.d.ts +1 -1
- package/dist/types/popover/popover.d.ts.map +1 -1
- package/dist/types/popover/popover.types.d.ts +20 -0
- package/dist/types/popover/popover.types.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
- package/dist/types/saved-views/saved-views.d.ts +1 -0
- package/dist/types/saved-views/saved-views.d.ts.map +1 -1
- package/dist/types/select/select-tags.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-region-context.d.ts +2 -0
- package/dist/types/skeleton/skeleton-region-context.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-region.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton.d.ts.map +1 -1
- package/dist/types/table/table-parts.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip-defaults.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip-parts.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip.d.ts +1 -1
- package/dist/types/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip.types.d.ts +17 -0
- package/dist/types/tooltip/tooltip.types.d.ts.map +1 -1
- package/dist/types/tour/tour.d.ts.map +1 -1
- package/dist/{upload-CuMOaPK3.js → upload-BtD1nLHa.js} +2 -2
- package/dist/upload.js +1 -1
- package/dist/{use-date-picker-DdSX3RE4.js → use-date-picker-CwH791Jm.js} +2 -2
- package/dist/{use-picker-draft-I_pxqYsc.js → use-picker-draft-BnLS4lDY.js} +1 -1
- package/dist/wizard-6PTtBoi4.js +838 -0
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/action-sheet-BouG2qh_.js +0 -360
- package/dist/drawer-CQagePr_.js +0 -830
- package/dist/import-export-center-mqvmlzwB.js +0 -875
- package/dist/popover-1DlOu95x.js +0 -576
- package/dist/toolbar-BP7ka6lN.js +0 -243
- package/dist/tooltip-DrFiRlH8.js +0 -411
- package/dist/wizard-Dfryz1id.js +0 -838
|
@@ -70,7 +70,7 @@ export default function StatusIndicatorBasic() {
|
|
|
70
70
|
|
|
71
71
|
## Tokens
|
|
72
72
|
|
|
73
|
-
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-duration-loop-slow`, `--slotted-duration-short`, `--slotted-easing-
|
|
73
|
+
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-duration-loop-slow`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-status-indicator-font-family`, `--slotted-status-indicator-mark-border-color`, `--slotted-status-indicator-mark-border-width`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-solid`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-text`
|
|
74
74
|
|
|
75
75
|
## Examples
|
|
76
76
|
|
package/dist/docs/stepper.json
CHANGED
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
"title": "Names the flow did not choose",
|
|
434
434
|
"note": "Six steps, a German compound and a phrase of four words. The label wraps inside its own column, the marker never does, and the connector takes whatever is left.",
|
|
435
435
|
"language": "tsx",
|
|
436
|
-
"source": "import { Stepper, StepperList, StepperStep } from '@slotted/react/stepper';\n\nexport default function StepperContent() {\n return (\n <Stepper defaultStep={
|
|
436
|
+
"source": "import { Stepper, StepperList, StepperStep } from '@slotted/react/stepper';\n\nexport default function StepperContent() {\n return (\n <Stepper defaultStep={1} messages={{ label: 'Quarter close' }}>\n <StepperList>\n <StepperStep complete description=\"Signed 3 April\" label=\"Intercompany reconciliation\" />\n <StepperStep description=\"14 open items\" label=\"Foreign currency revaluation\" />\n <StepperStep description=\"Due 21 April\" label=\"Consolidation and group reporting\" />\n <StepperStep label=\"Sign-off\" />\n </StepperList>\n </Stepper>\n );\n}\n",
|
|
437
437
|
"verdict": "example"
|
|
438
438
|
},
|
|
439
439
|
{
|
package/dist/docs/stepper.md
CHANGED
|
@@ -390,16 +390,10 @@ import { Stepper, StepperList, StepperStep } from '@slotted/react/stepper';
|
|
|
390
390
|
|
|
391
391
|
export default function StepperContent() {
|
|
392
392
|
return (
|
|
393
|
-
<Stepper defaultStep={
|
|
393
|
+
<Stepper defaultStep={1} messages={{ label: 'Quarter close' }}>
|
|
394
394
|
<StepperList>
|
|
395
|
-
<StepperStep
|
|
396
|
-
complete
|
|
397
|
-
description="Signed 3 April"
|
|
398
|
-
label="Intercompany reconciliation and eliminations"
|
|
399
|
-
/>
|
|
400
|
-
<StepperStep complete label="Accruals" />
|
|
395
|
+
<StepperStep complete description="Signed 3 April" label="Intercompany reconciliation" />
|
|
401
396
|
<StepperStep description="14 open items" label="Foreign currency revaluation" />
|
|
402
|
-
<StepperStep label="Tax" />
|
|
403
397
|
<StepperStep description="Due 21 April" label="Consolidation and group reporting" />
|
|
404
398
|
<StepperStep label="Sign-off" />
|
|
405
399
|
</StepperList>
|
package/dist/docs/table.json
CHANGED
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
"type": "'wrap' | 'truncate' | 'nowrap'",
|
|
727
727
|
"defaultValue": "wrap",
|
|
728
728
|
"appliesTo": "the three cell parts",
|
|
729
|
-
"description": "What a value longer than its column does"
|
|
729
|
+
"description": "What a value longer than its column does. A cell cut by truncate shows its whole text in the browser hint under the pointer."
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
732
|
"name": "sticky",
|
|
@@ -839,6 +839,7 @@
|
|
|
839
839
|
"--slotted-control-font-size-md",
|
|
840
840
|
"--slotted-control-gap-md",
|
|
841
841
|
"--slotted-control-height-md",
|
|
842
|
+
"--slotted-control-height-sm",
|
|
842
843
|
"--slotted-control-icon-size-md",
|
|
843
844
|
"--slotted-control-padding-inline-md",
|
|
844
845
|
"--slotted-control-transition-duration",
|
package/dist/docs/table.md
CHANGED
|
@@ -222,7 +222,7 @@ export default function TableBasic() {
|
|
|
222
222
|
| `align` | `'start' \| 'center' \| 'end'` | start | the three cell parts | Which edge the value stands on, resolved logically |
|
|
223
223
|
| `numeric` | `boolean` | false | the three cell parts | Tabular figures, and the end edge unless align says otherwise |
|
|
224
224
|
| `blockAlign` | `'start' \| 'center' \| 'end'` | center | the three cell parts and both selection cells | Where this cell content sits in its row, overriding the table own cellAlign |
|
|
225
|
-
| `text` | `'wrap' \| 'truncate' \| 'nowrap'` | wrap | the three cell parts | What a value longer than its column does |
|
|
225
|
+
| `text` | `'wrap' \| 'truncate' \| 'nowrap'` | wrap | the three cell parts | What a value longer than its column does. A cell cut by truncate shows its whole text in the browser hint under the pointer. |
|
|
226
226
|
| `sticky` | `'start' \| 'end'` | start | the three cell parts and both selection cells | Which edge the column is pinned to while the table scrolls past it |
|
|
227
227
|
| `sticky` | `boolean` | false | TableGroupRow | Holds the band under the header while its rows scroll past |
|
|
228
228
|
| `stickyOffset` | `string` | 0 | the three cell parts and both selection cells | Where the pinned column stops, as a CSS length. Two columns pinned to the same edge need the second to state how wide the first is — beside a selection column that is --slotted-table-selection-size, which is 3rem. |
|
|
@@ -277,7 +277,7 @@ export default function TableBasic() {
|
|
|
277
277
|
|
|
278
278
|
## Tokens
|
|
279
279
|
|
|
280
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-branch-size`, `--slotted-table-caption-surface`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-guide-color`, `--slotted-table-header-backdrop-filter`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-mark-child-size`, `--slotted-table-mark-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-table-tree-indent`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
280
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-branch-size`, `--slotted-table-caption-surface`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-guide-color`, `--slotted-table-header-backdrop-filter`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-mark-child-size`, `--slotted-table-mark-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-table-tree-indent`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
281
281
|
|
|
282
282
|
## Examples
|
|
283
283
|
|
|
@@ -743,7 +743,7 @@ export default function TabsFilter() {
|
|
|
743
743
|
<Tab
|
|
744
744
|
key={item.value}
|
|
745
745
|
controls={tableId}
|
|
746
|
-
end={<Badge count={matching(item.value).length} showZero size="sm" />}
|
|
746
|
+
end={<Badge count={matching(item.value).length} inline showZero size="sm" />}
|
|
747
747
|
value={item.value}
|
|
748
748
|
>
|
|
749
749
|
{item.label}
|
|
@@ -830,7 +830,9 @@ export default function TabsIcons() {
|
|
|
830
830
|
<Glyph name={view.icon} />
|
|
831
831
|
</Icon>
|
|
832
832
|
}
|
|
833
|
-
end={
|
|
833
|
+
end={
|
|
834
|
+
view.count === undefined ? undefined : <Badge count={view.count} inline size="sm" />
|
|
835
|
+
}
|
|
834
836
|
>
|
|
835
837
|
{view.label}
|
|
836
838
|
</Tab>
|
|
@@ -931,7 +933,7 @@ export default function TabsRecordHeader() {
|
|
|
931
933
|
Overview
|
|
932
934
|
</Tab>
|
|
933
935
|
<Tab
|
|
934
|
-
end={<Badge count={LINES.length} size="sm" />}
|
|
936
|
+
end={<Badge count={LINES.length} inline size="sm" />}
|
|
935
937
|
start={
|
|
936
938
|
<Icon>
|
|
937
939
|
<Glyph name="inbox" />
|
|
@@ -942,7 +944,7 @@ export default function TabsRecordHeader() {
|
|
|
942
944
|
Items
|
|
943
945
|
</Tab>
|
|
944
946
|
<Tab
|
|
945
|
-
end={<Badge count={ACTIVITY.length} size="sm" />}
|
|
947
|
+
end={<Badge count={ACTIVITY.length} inline size="sm" />}
|
|
946
948
|
start={
|
|
947
949
|
<Icon>
|
|
948
950
|
<Glyph name="clock" />
|
package/dist/docs/tabs.json
CHANGED
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"part": "actions",
|
|
162
162
|
"element": "div, or the element render returns",
|
|
163
163
|
"required": false,
|
|
164
|
-
"purpose": "A slot at the end of the tab row, for controls that act on what the tabs show. Put a Toolbar in it: one Tab stop however many buttons it holds."
|
|
164
|
+
"purpose": "A slot at the end of the tab row, for controls that act on what the tabs show. Put a Toolbar in it: one Tab stop however many buttons it holds, and its own inset keeps them off the edges of the row. A bare control keeps `--slotted-tabs-actions-inset` above and below it, and the row grows to hold that."
|
|
165
165
|
}
|
|
166
166
|
],
|
|
167
167
|
"api": [
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"type": "ReactNode",
|
|
290
290
|
"defaultValue": "—",
|
|
291
291
|
"appliesTo": "Tab",
|
|
292
|
-
"description": "Content after the label, such as
|
|
292
|
+
"description": "Content after the label, such as an inline Badge with a count, placed in the end part beside the words, whose line is the band of the tab clear of the marker."
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
295
|
"name": "controls",
|
|
@@ -430,6 +430,7 @@
|
|
|
430
430
|
"--slotted-surface",
|
|
431
431
|
"--slotted-surface-sunken",
|
|
432
432
|
"--slotted-tabs-actions-gap",
|
|
433
|
+
"--slotted-tabs-actions-inset",
|
|
433
434
|
"--slotted-tabs-active-background",
|
|
434
435
|
"--slotted-tabs-active-marker-color",
|
|
435
436
|
"--slotted-tabs-color",
|
|
@@ -449,6 +450,7 @@
|
|
|
449
450
|
"--slotted-tabs-list-gap",
|
|
450
451
|
"--slotted-tabs-marker-color",
|
|
451
452
|
"--slotted-tabs-marker-easing",
|
|
453
|
+
"--slotted-tabs-marker-gap",
|
|
452
454
|
"--slotted-tabs-marker-inset",
|
|
453
455
|
"--slotted-tabs-marker-offset",
|
|
454
456
|
"--slotted-tabs-marker-radius",
|
|
@@ -623,7 +625,7 @@
|
|
|
623
625
|
"title": "filter.tsx",
|
|
624
626
|
"note": null,
|
|
625
627
|
"language": "tsx",
|
|
626
|
-
"source": "import { useId, useState } from 'react';\nimport { Badge } from '@slotted/react/badge';\nimport { Stack } from '@slotted/react/stack';\nimport {\n Table,\n TableBody,\n TableCell,\n TableColumnHeader,\n TableContent,\n TableHead,\n TableRow,\n TableRowHeader,\n} from '@slotted/react/table';\nimport { Tab, TabList, Tabs } from '@slotted/react/tabs';\n\nconst ORDERS = [\n { id: 'SO-1187', customer: 'Harbor & Pine', status: 'open', total: '$1,240.00' },\n { id: 'SO-1188', customer: 'Brightline Studio', status: 'shipped', total: '$318.50' },\n { id: 'SO-1190', customer: 'Northgate Labs', status: 'open', total: '$2,906.10' },\n { id: 'SO-1191', customer: 'Verde Kitchen', status: 'delayed', total: '$86.00' },\n { id: 'SO-1193', customer: 'Quill & Co.', status: 'shipped', total: '$540.25' },\n];\n\nconst FILTERS = [\n { value: 'all', label: 'All' },\n { value: 'open', label: 'Open' },\n { value: 'delayed', label: 'Delayed' },\n { value: 'shipped', label: 'Shipped' },\n];\n\nconst STATUS: Record<string, string> = { open: 'Open', delayed: 'Delayed', shipped: 'Shipped' };\n\nconst matching = (filter: string) =>\n filter === 'all' ? ORDERS : ORDERS.filter((order) => order.status === filter);\n\nexport default function TabsFilter() {\n const tableId = useId();\n const [filter, setFilter] = useState('all');\n\n return (\n <Stack gap={4}>\n <Tabs size=\"sm\" value={filter} onValueChange={setFilter}>\n <TabList aria-label=\"Orders by status\">\n {FILTERS.map((item) => (\n <Tab\n key={item.value}\n controls={tableId}\n end={<Badge count={matching(item.value).length} showZero size=\"sm\" />}\n value={item.value}\n >\n {item.label}\n </Tab>\n ))}\n </TabList>\n </Tabs>\n <Table columns={4} id={tableId}>\n <TableContent aria-label=\"Orders\">\n <TableHead>\n <TableRow>\n <TableColumnHeader>Order</TableColumnHeader>\n <TableColumnHeader>Customer</TableColumnHeader>\n <TableColumnHeader>Status</TableColumnHeader>\n <TableColumnHeader numeric>Total</TableColumnHeader>\n </TableRow>\n </TableHead>\n <TableBody>\n {matching(filter).map((order) => (\n <TableRow key={order.id} value={order.id}>\n <TableRowHeader>{order.id}</TableRowHeader>\n <TableCell>{order.customer}</TableCell>\n <TableCell>{STATUS[order.status]}</TableCell>\n <TableCell numeric>{order.total}</TableCell>\n </TableRow>\n ))}\n </TableBody>\n </TableContent>\n </Table>\n </Stack>\n );\n}\n",
|
|
628
|
+
"source": "import { useId, useState } from 'react';\nimport { Badge } from '@slotted/react/badge';\nimport { Stack } from '@slotted/react/stack';\nimport {\n Table,\n TableBody,\n TableCell,\n TableColumnHeader,\n TableContent,\n TableHead,\n TableRow,\n TableRowHeader,\n} from '@slotted/react/table';\nimport { Tab, TabList, Tabs } from '@slotted/react/tabs';\n\nconst ORDERS = [\n { id: 'SO-1187', customer: 'Harbor & Pine', status: 'open', total: '$1,240.00' },\n { id: 'SO-1188', customer: 'Brightline Studio', status: 'shipped', total: '$318.50' },\n { id: 'SO-1190', customer: 'Northgate Labs', status: 'open', total: '$2,906.10' },\n { id: 'SO-1191', customer: 'Verde Kitchen', status: 'delayed', total: '$86.00' },\n { id: 'SO-1193', customer: 'Quill & Co.', status: 'shipped', total: '$540.25' },\n];\n\nconst FILTERS = [\n { value: 'all', label: 'All' },\n { value: 'open', label: 'Open' },\n { value: 'delayed', label: 'Delayed' },\n { value: 'shipped', label: 'Shipped' },\n];\n\nconst STATUS: Record<string, string> = { open: 'Open', delayed: 'Delayed', shipped: 'Shipped' };\n\nconst matching = (filter: string) =>\n filter === 'all' ? ORDERS : ORDERS.filter((order) => order.status === filter);\n\nexport default function TabsFilter() {\n const tableId = useId();\n const [filter, setFilter] = useState('all');\n\n return (\n <Stack gap={4}>\n <Tabs size=\"sm\" value={filter} onValueChange={setFilter}>\n <TabList aria-label=\"Orders by status\">\n {FILTERS.map((item) => (\n <Tab\n key={item.value}\n controls={tableId}\n end={<Badge count={matching(item.value).length} inline showZero size=\"sm\" />}\n value={item.value}\n >\n {item.label}\n </Tab>\n ))}\n </TabList>\n </Tabs>\n <Table columns={4} id={tableId}>\n <TableContent aria-label=\"Orders\">\n <TableHead>\n <TableRow>\n <TableColumnHeader>Order</TableColumnHeader>\n <TableColumnHeader>Customer</TableColumnHeader>\n <TableColumnHeader>Status</TableColumnHeader>\n <TableColumnHeader numeric>Total</TableColumnHeader>\n </TableRow>\n </TableHead>\n <TableBody>\n {matching(filter).map((order) => (\n <TableRow key={order.id} value={order.id}>\n <TableRowHeader>{order.id}</TableRowHeader>\n <TableCell>{order.customer}</TableCell>\n <TableCell>{STATUS[order.status]}</TableCell>\n <TableCell numeric>{order.total}</TableCell>\n </TableRow>\n ))}\n </TableBody>\n </TableContent>\n </Table>\n </Stack>\n );\n}\n",
|
|
627
629
|
"verdict": "example"
|
|
628
630
|
},
|
|
629
631
|
{
|
|
@@ -631,7 +633,7 @@
|
|
|
631
633
|
"title": "icons.tsx",
|
|
632
634
|
"note": null,
|
|
633
635
|
"language": "tsx",
|
|
634
|
-
"source": "import { Badge } from '@slotted/react/badge';\nimport { Glyph, type GlyphName, Icon } from '@slotted/react/icon';\nimport { Tab, TabList, TabPanel, Tabs } from '@slotted/react/tabs';\nimport { Text } from '@slotted/react/typography';\n\nconst VIEWS: { value: string; label: string; icon: GlyphName; count?: number; panel: string }[] = [\n {\n value: 'overview',\n label: 'Overview',\n icon: 'file-text',\n panel: 'Harbor & Pine, customer since 2021. Net 30 terms.',\n },\n {\n value: 'orders',\n label: 'Orders',\n icon: 'inbox',\n count: 12,\n panel: '12 open orders, $14,380.00 in total.',\n },\n {\n value: 'contacts',\n label: 'Contacts',\n icon: 'person',\n count: 3,\n panel: 'Dana Whitfield, Marco Ilić and Priya Raman.',\n },\n {\n value: 'files',\n label: 'Files',\n icon: 'paperclip',\n panel: 'Signed credit application and a W-9 form.',\n },\n];\n\nexport default function TabsIcons() {\n return (\n <Tabs defaultValue=\"orders\">\n <TabList aria-label=\"Customer Harbor & Pine\">\n {VIEWS.map((view) => (\n <Tab\n key={view.value}\n value={view.value}\n start={\n <Icon>\n <Glyph name={view.icon} />\n </Icon>\n }\n end={view.count === undefined ? undefined : <Badge count={view.count} size=\"sm\"
|
|
636
|
+
"source": "import { Badge } from '@slotted/react/badge';\nimport { Glyph, type GlyphName, Icon } from '@slotted/react/icon';\nimport { Tab, TabList, TabPanel, Tabs } from '@slotted/react/tabs';\nimport { Text } from '@slotted/react/typography';\n\nconst VIEWS: { value: string; label: string; icon: GlyphName; count?: number; panel: string }[] = [\n {\n value: 'overview',\n label: 'Overview',\n icon: 'file-text',\n panel: 'Harbor & Pine, customer since 2021. Net 30 terms.',\n },\n {\n value: 'orders',\n label: 'Orders',\n icon: 'inbox',\n count: 12,\n panel: '12 open orders, $14,380.00 in total.',\n },\n {\n value: 'contacts',\n label: 'Contacts',\n icon: 'person',\n count: 3,\n panel: 'Dana Whitfield, Marco Ilić and Priya Raman.',\n },\n {\n value: 'files',\n label: 'Files',\n icon: 'paperclip',\n panel: 'Signed credit application and a W-9 form.',\n },\n];\n\nexport default function TabsIcons() {\n return (\n <Tabs defaultValue=\"orders\">\n <TabList aria-label=\"Customer Harbor & Pine\">\n {VIEWS.map((view) => (\n <Tab\n key={view.value}\n value={view.value}\n start={\n <Icon>\n <Glyph name={view.icon} />\n </Icon>\n }\n end={\n view.count === undefined ? undefined : <Badge count={view.count} inline size=\"sm\" />\n }\n >\n {view.label}\n </Tab>\n ))}\n </TabList>\n {VIEWS.map((view) => (\n <TabPanel key={view.value} value={view.value}>\n <Text size=\"sm\">{view.panel}</Text>\n </TabPanel>\n ))}\n </Tabs>\n );\n}\n",
|
|
635
637
|
"verdict": "example"
|
|
636
638
|
},
|
|
637
639
|
{
|
|
@@ -639,7 +641,7 @@
|
|
|
639
641
|
"title": "record-header.tsx",
|
|
640
642
|
"note": null,
|
|
641
643
|
"language": "tsx",
|
|
642
|
-
"source": "import { Badge } from '@slotted/react/badge';\nimport { Button } from '@slotted/react/button';\nimport {\n DescriptionList,\n DescriptionListDescription,\n DescriptionListItem,\n DescriptionListTerm,\n} from '@slotted/react/description-list';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport { Inline } from '@slotted/react/inline';\nimport { Stack } from '@slotted/react/stack';\nimport {\n Table,\n TableBody,\n TableCell,\n TableColumnHeader,\n TableContent,\n TableHead,\n TableRow,\n TableRowHeader,\n} from '@slotted/react/table';\nimport { Tab, TabList, TabPanel, Tabs } from '@slotted/react/tabs';\nimport { Heading, Text } from '@slotted/react/typography';\n\nconst FACTS = [\n ['Customer', 'Harbor & Pine'],\n ['Placed', 'September 8, 2026'],\n ['Payment terms', 'Net 30'],\n ['Ship to', '88 Dock Street, Portland, OR'],\n ['Carrier', 'Atlas Freight'],\n ['Total', '$1,240.00'],\n];\n\nconst LINES = [\n { sku: 'OAK-90', item: 'Oak shelf, 90 cm', quantity: 4, amount: '$720.00' },\n { sku: 'BRK-ST', item: 'Wall bracket, steel', quantity: 8, amount: '$192.00' },\n { sku: 'KIT-AS', item: 'Assembly kit', quantity: 1, amount: '$328.00' },\n];\n\nconst ACTIVITY = [\n 'Sep 9, 14:02 — Picked at Reno, NV by Luis Ortega',\n 'Sep 8, 16:45 — Payment approved',\n 'Sep 8, 16:41 — Order placed by Dana Whitfield',\n];\n\nexport default function TabsRecordHeader() {\n return (\n <Stack gap={6}>\n <Inline gap={4} align=\"start\" justify=\"between\" wrap=\"wrap\">\n <Stack gap={1}>\n <Inline gap={3} align=\"center\">\n <Heading level={2} size=\"xl\">\n Order SO-1187\n </Heading>\n <Badge tone=\"warning\">Awaiting pickup</Badge>\n </Inline>\n <Text size=\"sm\" tone=\"muted\">\n Harbor & Pine · Placed September 8, 2026\n </Text>\n </Stack>\n <Inline gap={2}>\n <Button size=\"sm\" start={<Glyph name=\"file-text\" />} tone=\"secondary\" variant=\"outline\">\n Packing slip\n </Button>\n <Button size=\"sm\">Mark shipped</Button>\n </Inline>\n </Inline>\n <Tabs defaultValue=\"overview\">\n <TabList aria-label=\"Order SO-1187\">\n <Tab\n start={\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n }\n value=\"overview\"\n >\n Overview\n </Tab>\n <Tab\n end={<Badge count={LINES.length} size=\"sm\" />}\n start={\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n }\n value=\"items\"\n >\n Items\n </Tab>\n <Tab\n end={<Badge count={ACTIVITY.length} size=\"sm\" />}\n start={\n <Icon>\n <Glyph name=\"clock\" />\n </Icon>\n }\n value=\"activity\"\n >\n Activity\n </Tab>\n </TabList>\n <TabPanel value=\"overview\">\n <DescriptionList columns={2}>\n {FACTS.map(([term, description]) => (\n <DescriptionListItem key={term}>\n <DescriptionListTerm>{term}</DescriptionListTerm>\n <DescriptionListDescription>{description}</DescriptionListDescription>\n </DescriptionListItem>\n ))}\n </DescriptionList>\n </TabPanel>\n <TabPanel value=\"items\">\n <Table columns={4}>\n <TableContent aria-label=\"Order lines\">\n <TableHead>\n <TableRow>\n <TableColumnHeader>SKU</TableColumnHeader>\n <TableColumnHeader>Item</TableColumnHeader>\n <TableColumnHeader numeric>Quantity</TableColumnHeader>\n <TableColumnHeader numeric>Amount</TableColumnHeader>\n </TableRow>\n </TableHead>\n <TableBody>\n {LINES.map((line) => (\n <TableRow key={line.sku} value={line.sku}>\n <TableRowHeader>{line.sku}</TableRowHeader>\n <TableCell>{line.item}</TableCell>\n <TableCell numeric>{line.quantity}</TableCell>\n <TableCell numeric>{line.amount}</TableCell>\n </TableRow>\n ))}\n </TableBody>\n </TableContent>\n </Table>\n </TabPanel>\n <TabPanel value=\"activity\">\n <Stack gap={2}>\n {ACTIVITY.map((entry) => (\n <Text key={entry} size=\"sm\">\n {entry}\n </Text>\n ))}\n </Stack>\n </TabPanel>\n </Tabs>\n </Stack>\n );\n}\n",
|
|
644
|
+
"source": "import { Badge } from '@slotted/react/badge';\nimport { Button } from '@slotted/react/button';\nimport {\n DescriptionList,\n DescriptionListDescription,\n DescriptionListItem,\n DescriptionListTerm,\n} from '@slotted/react/description-list';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport { Inline } from '@slotted/react/inline';\nimport { Stack } from '@slotted/react/stack';\nimport {\n Table,\n TableBody,\n TableCell,\n TableColumnHeader,\n TableContent,\n TableHead,\n TableRow,\n TableRowHeader,\n} from '@slotted/react/table';\nimport { Tab, TabList, TabPanel, Tabs } from '@slotted/react/tabs';\nimport { Heading, Text } from '@slotted/react/typography';\n\nconst FACTS = [\n ['Customer', 'Harbor & Pine'],\n ['Placed', 'September 8, 2026'],\n ['Payment terms', 'Net 30'],\n ['Ship to', '88 Dock Street, Portland, OR'],\n ['Carrier', 'Atlas Freight'],\n ['Total', '$1,240.00'],\n];\n\nconst LINES = [\n { sku: 'OAK-90', item: 'Oak shelf, 90 cm', quantity: 4, amount: '$720.00' },\n { sku: 'BRK-ST', item: 'Wall bracket, steel', quantity: 8, amount: '$192.00' },\n { sku: 'KIT-AS', item: 'Assembly kit', quantity: 1, amount: '$328.00' },\n];\n\nconst ACTIVITY = [\n 'Sep 9, 14:02 — Picked at Reno, NV by Luis Ortega',\n 'Sep 8, 16:45 — Payment approved',\n 'Sep 8, 16:41 — Order placed by Dana Whitfield',\n];\n\nexport default function TabsRecordHeader() {\n return (\n <Stack gap={6}>\n <Inline gap={4} align=\"start\" justify=\"between\" wrap=\"wrap\">\n <Stack gap={1}>\n <Inline gap={3} align=\"center\">\n <Heading level={2} size=\"xl\">\n Order SO-1187\n </Heading>\n <Badge tone=\"warning\">Awaiting pickup</Badge>\n </Inline>\n <Text size=\"sm\" tone=\"muted\">\n Harbor & Pine · Placed September 8, 2026\n </Text>\n </Stack>\n <Inline gap={2}>\n <Button size=\"sm\" start={<Glyph name=\"file-text\" />} tone=\"secondary\" variant=\"outline\">\n Packing slip\n </Button>\n <Button size=\"sm\">Mark shipped</Button>\n </Inline>\n </Inline>\n <Tabs defaultValue=\"overview\">\n <TabList aria-label=\"Order SO-1187\">\n <Tab\n start={\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n }\n value=\"overview\"\n >\n Overview\n </Tab>\n <Tab\n end={<Badge count={LINES.length} inline size=\"sm\" />}\n start={\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n }\n value=\"items\"\n >\n Items\n </Tab>\n <Tab\n end={<Badge count={ACTIVITY.length} inline size=\"sm\" />}\n start={\n <Icon>\n <Glyph name=\"clock\" />\n </Icon>\n }\n value=\"activity\"\n >\n Activity\n </Tab>\n </TabList>\n <TabPanel value=\"overview\">\n <DescriptionList columns={2}>\n {FACTS.map(([term, description]) => (\n <DescriptionListItem key={term}>\n <DescriptionListTerm>{term}</DescriptionListTerm>\n <DescriptionListDescription>{description}</DescriptionListDescription>\n </DescriptionListItem>\n ))}\n </DescriptionList>\n </TabPanel>\n <TabPanel value=\"items\">\n <Table columns={4}>\n <TableContent aria-label=\"Order lines\">\n <TableHead>\n <TableRow>\n <TableColumnHeader>SKU</TableColumnHeader>\n <TableColumnHeader>Item</TableColumnHeader>\n <TableColumnHeader numeric>Quantity</TableColumnHeader>\n <TableColumnHeader numeric>Amount</TableColumnHeader>\n </TableRow>\n </TableHead>\n <TableBody>\n {LINES.map((line) => (\n <TableRow key={line.sku} value={line.sku}>\n <TableRowHeader>{line.sku}</TableRowHeader>\n <TableCell>{line.item}</TableCell>\n <TableCell numeric>{line.quantity}</TableCell>\n <TableCell numeric>{line.amount}</TableCell>\n </TableRow>\n ))}\n </TableBody>\n </TableContent>\n </Table>\n </TabPanel>\n <TabPanel value=\"activity\">\n <Stack gap={2}>\n {ACTIVITY.map((entry) => (\n <Text key={entry} size=\"sm\">\n {entry}\n </Text>\n ))}\n </Stack>\n </TabPanel>\n </Tabs>\n </Stack>\n );\n}\n",
|
|
643
645
|
"verdict": "example"
|
|
644
646
|
},
|
|
645
647
|
{
|
package/dist/docs/tabs.md
CHANGED
|
@@ -136,7 +136,7 @@ export default function TabsBasic() {
|
|
|
136
136
|
| `dismissible` | `boolean` | false | Tab | Draws the close button and binds Delete on the tab, announced through aria-keyshortcuts. |
|
|
137
137
|
| `dismissLabel` | `string` | — | Tab | The accessible name of the close button, required whenever it is drawn. Name what closes: “Close customers.sql” rather than “Close”. |
|
|
138
138
|
| `start` | `ReactNode` | — | Tab | Content before the label, such as an Icon, placed in the start part beside the words. |
|
|
139
|
-
| `end` | `ReactNode` | — | Tab | Content after the label, such as
|
|
139
|
+
| `end` | `ReactNode` | — | Tab | Content after the label, such as an inline Badge with a count, placed in the end part beside the words, whose line is the band of the tab clear of the marker. |
|
|
140
140
|
| `controls` | `string` | — | Tab | The id of the region this tab controls when it is not a TabPanel, such as a table the selected value filters. aria-controls names that region. |
|
|
141
141
|
| `href` | `string` | — | Tab | Renders the tab as a link. A plain click selects the tab without navigating; a click with a modifier key is left to the browser, which opens the address in a new browser tab or window. |
|
|
142
142
|
| `value, on TabPanel` | `string` | — | TabPanel | The tab this panel belongs to. Tabs wires the pair with ids generated from the value. |
|
|
@@ -180,7 +180,7 @@ export default function TabsBasic() {
|
|
|
180
180
|
|
|
181
181
|
## Tokens
|
|
182
182
|
|
|
183
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--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-letter-spacing`, `--slotted-control-line-height`, `--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-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-tabs-actions-gap`, `--slotted-tabs-active-background`, `--slotted-tabs-active-marker-color`, `--slotted-tabs-color`, `--slotted-tabs-contained-background`, `--slotted-tabs-contained-selected-background`, `--slotted-tabs-dismiss-active-background`, `--slotted-tabs-dismiss-active-color`, `--slotted-tabs-dismiss-color`, `--slotted-tabs-dismiss-hover-background`, `--slotted-tabs-dismiss-hover-color`, `--slotted-tabs-fade-size`, `--slotted-tabs-gap`, `--slotted-tabs-hover-background`, `--slotted-tabs-hover-color`, `--slotted-tabs-hover-marker-color`, `--slotted-tabs-hover-marker-opacity`, `--slotted-tabs-list-gap`, `--slotted-tabs-marker-color`, `--slotted-tabs-marker-easing`, `--slotted-tabs-marker-inset`, `--slotted-tabs-marker-offset`, `--slotted-tabs-marker-radius`, `--slotted-tabs-marker-size`, `--slotted-tabs-scroll-color`, `--slotted-tabs-selected-color`, `--slotted-tabs-track-color`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
183
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--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-letter-spacing`, `--slotted-control-line-height`, `--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-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-tabs-actions-gap`, `--slotted-tabs-actions-inset`, `--slotted-tabs-active-background`, `--slotted-tabs-active-marker-color`, `--slotted-tabs-color`, `--slotted-tabs-contained-background`, `--slotted-tabs-contained-selected-background`, `--slotted-tabs-dismiss-active-background`, `--slotted-tabs-dismiss-active-color`, `--slotted-tabs-dismiss-color`, `--slotted-tabs-dismiss-hover-background`, `--slotted-tabs-dismiss-hover-color`, `--slotted-tabs-fade-size`, `--slotted-tabs-gap`, `--slotted-tabs-hover-background`, `--slotted-tabs-hover-color`, `--slotted-tabs-hover-marker-color`, `--slotted-tabs-hover-marker-opacity`, `--slotted-tabs-list-gap`, `--slotted-tabs-marker-color`, `--slotted-tabs-marker-easing`, `--slotted-tabs-marker-gap`, `--slotted-tabs-marker-inset`, `--slotted-tabs-marker-offset`, `--slotted-tabs-marker-radius`, `--slotted-tabs-marker-size`, `--slotted-tabs-scroll-color`, `--slotted-tabs-selected-color`, `--slotted-tabs-track-color`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
184
184
|
|
|
185
185
|
## Examples
|
|
186
186
|
|
|
@@ -474,7 +474,12 @@ export default function TimelineContent() {
|
|
|
474
474
|
<TimelineItem
|
|
475
475
|
actor="Ana Ribeiro"
|
|
476
476
|
description="Total changed from $4,200.00 to $3,860.00."
|
|
477
|
-
marker={
|
|
477
|
+
marker={
|
|
478
|
+
<Avatar
|
|
479
|
+
name="Ana Ribeiro"
|
|
480
|
+
src="https://api.dicebear.com/11.x/lorelei/svg?seed=Ana%20Ribeiro&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf"
|
|
481
|
+
/>
|
|
482
|
+
}
|
|
478
483
|
time="2026-09-12T10:15:00"
|
|
479
484
|
title="Approved the revised quote for the shipment program"
|
|
480
485
|
/>
|
package/dist/docs/timeline.json
CHANGED
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"title": "Content of any shape",
|
|
827
827
|
"note": "A nine-word title, an unbreakable reference, an Arabic title, an avatar in the marker, an event without a title. The marker never leaves the first line and the line never leaves the center.",
|
|
828
828
|
"language": "tsx",
|
|
829
|
-
"source": "import { Avatar } from '@slotted/react/avatar';\nimport { Button } from '@slotted/react/button';\nimport {\n Collapsible,\n CollapsibleHeader,\n CollapsiblePanel,\n CollapsibleTrigger,\n} from '@slotted/react/collapsible';\nimport { Link } from '@slotted/react/link';\nimport { Timeline, TimelineItem } from '@slotted/react/timeline';\n\nexport default function TimelineContent() {\n return (\n <Timeline autoComplete label=\"Order SO-7714 activity\">\n <TimelineItem\n actor=\"Ana Ribeiro\"\n description=\"Total changed from $4,200.00 to $3,860.00.\"\n marker={<Avatar
|
|
829
|
+
"source": "import { Avatar } from '@slotted/react/avatar';\nimport { Button } from '@slotted/react/button';\nimport {\n Collapsible,\n CollapsibleHeader,\n CollapsiblePanel,\n CollapsibleTrigger,\n} from '@slotted/react/collapsible';\nimport { Link } from '@slotted/react/link';\nimport { Timeline, TimelineItem } from '@slotted/react/timeline';\n\nexport default function TimelineContent() {\n return (\n <Timeline autoComplete label=\"Order SO-7714 activity\">\n <TimelineItem\n actor=\"Ana Ribeiro\"\n description=\"Total changed from $4,200.00 to $3,860.00.\"\n marker={\n <Avatar\n name=\"Ana Ribeiro\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Ana%20Ribeiro&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n />\n }\n time=\"2026-09-12T10:15:00\"\n title=\"Approved the revised quote for the shipment program\"\n />\n <TimelineItem\n actions={\n <Button size=\"sm\" variant=\"outline\">\n Retry payment\n </Button>\n }\n current\n description=\"The card ending 4402 was declined.\"\n time=\"2026-09-14T08:50:00\"\n title={<Link href=\"#invoice-4821\">Payment failed</Link>}\n tone=\"danger\"\n >\n <Collapsible>\n <CollapsibleHeader>\n <CollapsibleTrigger>View the issuer response</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Code 05: do not honor.</CollapsiblePanel>\n </Collapsible>\n </TimelineItem>\n </Timeline>\n );\n}\n",
|
|
830
830
|
"verdict": "example"
|
|
831
831
|
},
|
|
832
832
|
{
|
|
@@ -263,6 +263,7 @@
|
|
|
263
263
|
"tokens": [
|
|
264
264
|
"--slotted-control-border-color",
|
|
265
265
|
"--slotted-control-border-width",
|
|
266
|
+
"--slotted-control-fine-height-sm",
|
|
266
267
|
"--slotted-control-font-family",
|
|
267
268
|
"--slotted-control-font-size-lg",
|
|
268
269
|
"--slotted-control-font-size-md",
|
|
@@ -296,6 +297,7 @@
|
|
|
296
297
|
"--slotted-font-weight-medium",
|
|
297
298
|
"--slotted-radius-full",
|
|
298
299
|
"--slotted-space-3",
|
|
300
|
+
"--slotted-target-comfortable",
|
|
299
301
|
"--slotted-text",
|
|
300
302
|
"--slotted-toggle-group-active-background",
|
|
301
303
|
"--slotted-toggle-group-border-color",
|
|
@@ -88,7 +88,7 @@ export default function ToggleGroupBasic() {
|
|
|
88
88
|
|
|
89
89
|
## Tokens
|
|
90
90
|
|
|
91
|
-
`--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-font-weight`, `--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-line-height`, `--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-instant`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-full`, `--slotted-space-3`, `--slotted-text`, `--slotted-toggle-group-active-background`, `--slotted-toggle-group-border-color`, `--slotted-toggle-group-chips-gap`, `--slotted-toggle-group-chips-pressed-background`, `--slotted-toggle-group-chips-pressed-color`, `--slotted-toggle-group-chips-radius`, `--slotted-toggle-group-color`, `--slotted-toggle-group-disabled-border-color`, `--slotted-toggle-group-disabled-color`, `--slotted-toggle-group-disabled-pressed-background`, `--slotted-toggle-group-hover-background`, `--slotted-toggle-group-pressed-background`, `--slotted-toggle-group-pressed-border-color`, `--slotted-toggle-group-pressed-color`, `--slotted-toggle-group-pressed-hover-background`, `--slotted-toggle-group-radius`, `--slotted-toggle-group-shadow`, `--slotted-tone-accent-border`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-neutral-on-solid`, `--slotted-tone-neutral-solid`, `--slotted-tone-neutral-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
91
|
+
`--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-fine-height-sm`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--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-line-height`, `--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-instant`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-full`, `--slotted-space-3`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-toggle-group-active-background`, `--slotted-toggle-group-border-color`, `--slotted-toggle-group-chips-gap`, `--slotted-toggle-group-chips-pressed-background`, `--slotted-toggle-group-chips-pressed-color`, `--slotted-toggle-group-chips-radius`, `--slotted-toggle-group-color`, `--slotted-toggle-group-disabled-border-color`, `--slotted-toggle-group-disabled-color`, `--slotted-toggle-group-disabled-pressed-background`, `--slotted-toggle-group-hover-background`, `--slotted-toggle-group-pressed-background`, `--slotted-toggle-group-pressed-border-color`, `--slotted-toggle-group-pressed-color`, `--slotted-toggle-group-pressed-hover-background`, `--slotted-toggle-group-radius`, `--slotted-toggle-group-shadow`, `--slotted-tone-accent-border`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-neutral-on-solid`, `--slotted-tone-neutral-solid`, `--slotted-tone-neutral-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
92
92
|
|
|
93
93
|
## Examples
|
|
94
94
|
|
package/dist/docs/toggle.json
CHANGED
|
@@ -188,6 +188,7 @@
|
|
|
188
188
|
"tokens": [
|
|
189
189
|
"--slotted-control-border-color",
|
|
190
190
|
"--slotted-control-border-width",
|
|
191
|
+
"--slotted-control-fine-height-sm",
|
|
191
192
|
"--slotted-control-font-family",
|
|
192
193
|
"--slotted-control-font-size-lg",
|
|
193
194
|
"--slotted-control-font-size-md",
|
|
@@ -220,6 +221,7 @@
|
|
|
220
221
|
"--slotted-focus-ring-width",
|
|
221
222
|
"--slotted-font-weight-medium",
|
|
222
223
|
"--slotted-radius-full",
|
|
224
|
+
"--slotted-target-comfortable",
|
|
223
225
|
"--slotted-text",
|
|
224
226
|
"--slotted-toggle-active-background",
|
|
225
227
|
"--slotted-toggle-border-color",
|
package/dist/docs/toggle.md
CHANGED
|
@@ -71,7 +71,7 @@ export default function ToggleBasic() {
|
|
|
71
71
|
|
|
72
72
|
## Tokens
|
|
73
73
|
|
|
74
|
-
`--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-font-weight`, `--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-line-height`, `--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-instant`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-full`, `--slotted-text`, `--slotted-toggle-active-background`, `--slotted-toggle-border-color`, `--slotted-toggle-chips-pressed-background`, `--slotted-toggle-chips-pressed-color`, `--slotted-toggle-chips-radius`, `--slotted-toggle-color`, `--slotted-toggle-disabled-border-color`, `--slotted-toggle-disabled-color`, `--slotted-toggle-disabled-pressed-background`, `--slotted-toggle-hover-background`, `--slotted-toggle-pressed-background`, `--slotted-toggle-pressed-border-color`, `--slotted-toggle-pressed-color`, `--slotted-toggle-pressed-hover-background`, `--slotted-toggle-radius`, `--slotted-toggle-shadow`, `--slotted-tone-accent-border`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-neutral-on-solid`, `--slotted-tone-neutral-solid`, `--slotted-tone-neutral-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
74
|
+
`--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-fine-height-sm`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--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-line-height`, `--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-instant`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-full`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-toggle-active-background`, `--slotted-toggle-border-color`, `--slotted-toggle-chips-pressed-background`, `--slotted-toggle-chips-pressed-color`, `--slotted-toggle-chips-radius`, `--slotted-toggle-color`, `--slotted-toggle-disabled-border-color`, `--slotted-toggle-disabled-color`, `--slotted-toggle-disabled-pressed-background`, `--slotted-toggle-hover-background`, `--slotted-toggle-pressed-background`, `--slotted-toggle-pressed-border-color`, `--slotted-toggle-pressed-color`, `--slotted-toggle-pressed-hover-background`, `--slotted-toggle-radius`, `--slotted-toggle-shadow`, `--slotted-tone-accent-border`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-neutral-on-solid`, `--slotted-tone-neutral-solid`, `--slotted-tone-neutral-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
75
75
|
|
|
76
76
|
## Examples
|
|
77
77
|
|
package/dist/docs/tokens.md
CHANGED
|
@@ -149,6 +149,7 @@ Names: --slotted-duration-{step}
|
|
|
149
149
|
| short | A control changing state: a ground, a border, a mark. |
|
|
150
150
|
| medium | A part appearing or leaving: a popover, a menu, a tooltip. |
|
|
151
151
|
| long | A surface entering or leaving over a larger distance: a drawer, a dialog. |
|
|
152
|
+
| spring | The time `--slotted-easing-spring` is tuned for. |
|
|
152
153
|
| loop-fast | One cycle of a fast repeating animation. |
|
|
153
154
|
| loop | One cycle of a repeating animation. |
|
|
154
155
|
| loop-slow | One cycle of a slow repeating animation. |
|
|
@@ -162,6 +163,7 @@ Names: --slotted-duration-{step}
|
|
|
162
163
|
| `--slotted-duration-short` | A control changing state: a ground, a border, a mark. | 120ms; 1ms under reduced motion |
|
|
163
164
|
| `--slotted-duration-medium` | A part appearing or leaving: a popover, a menu, a tooltip. | 200ms; 1ms under reduced motion |
|
|
164
165
|
| `--slotted-duration-long` | A surface entering or leaving over a larger distance: a drawer, a dialog. | 320ms; 1ms under reduced motion |
|
|
166
|
+
| `--slotted-duration-spring` | The time `--slotted-easing-spring` is tuned for. | 700ms; 1ms under reduced motion |
|
|
165
167
|
|
|
166
168
|
## easing
|
|
167
169
|
|
|
@@ -175,6 +177,7 @@ Names: --slotted-easing-{curve}
|
|
|
175
177
|
| enter | A part arriving. |
|
|
176
178
|
| exit | A part leaving. |
|
|
177
179
|
| emphasized | A change meant to be noticed; it overshoots its end. |
|
|
180
|
+
| spring | A movement that lands with weight: a damped spring, about 2% past its end and settled by 85% of `--slotted-duration-spring`. |
|
|
178
181
|
|
|
179
182
|
| Token | Meaning | Default value |
|
|
180
183
|
| --- | --- | --- |
|
|
@@ -182,6 +185,7 @@ Names: --slotted-easing-{curve}
|
|
|
182
185
|
| `--slotted-easing-enter` | A part arriving. | cubic-bezier(0.05, 0.7, 0.1, 1) |
|
|
183
186
|
| `--slotted-easing-exit` | A part leaving. | cubic-bezier(0.3, 0, 0.8, 0.15) |
|
|
184
187
|
| `--slotted-easing-emphasized` | A change meant to be noticed; it overshoots its end. | cubic-bezier(0.3, 0, 0, 1.3) |
|
|
188
|
+
| `--slotted-easing-spring` | A movement that lands with weight: a damped spring, about 2% past its end and settled by 85% of `--slotted-duration-spring`. | linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1) |
|
|
185
189
|
|
|
186
190
|
## z-index
|
|
187
191
|
|
|
@@ -374,6 +378,7 @@ Names: --slotted-control-{part}-{size}
|
|
|
374
378
|
| part | Meaning |
|
|
375
379
|
| --- | --- |
|
|
376
380
|
| height | The block size of the control. |
|
|
381
|
+
| fine-height | The block size of the control under a fine pointer: the density's own step, which a coarse pointer does not raise. The renderer writes it from the height of the same step; a theme does not set it. |
|
|
377
382
|
| padding-inline | The inline space between the control's edge and its content. |
|
|
378
383
|
| font-size | The size of the control's text. |
|
|
379
384
|
| icon-size | The size of an icon inside the control. |
|
|
@@ -392,6 +397,9 @@ Names: --slotted-control-{part}-{size}
|
|
|
392
397
|
| `--slotted-control-height-sm` | The block size of the control. The small step. | comfortable 30px, compact 26px, dense 24px |
|
|
393
398
|
| `--slotted-control-height-md` | The block size of the control. The medium step. | comfortable 34px, compact 28px, dense 26px |
|
|
394
399
|
| `--slotted-control-height-lg` | The block size of the control. The large step. | comfortable 38px, compact 32px, dense 30px |
|
|
400
|
+
| `--slotted-control-fine-height-sm` | The block size of the control under a fine pointer: the density's own step, which a coarse pointer does not raise. The renderer writes it from the height of the same step; a theme does not set it. The small step. | comfortable —, compact —, dense — |
|
|
401
|
+
| `--slotted-control-fine-height-md` | The block size of the control under a fine pointer: the density's own step, which a coarse pointer does not raise. The renderer writes it from the height of the same step; a theme does not set it. The medium step. | comfortable —, compact —, dense — |
|
|
402
|
+
| `--slotted-control-fine-height-lg` | The block size of the control under a fine pointer: the density's own step, which a coarse pointer does not raise. The renderer writes it from the height of the same step; a theme does not set it. The large step. | comfortable —, compact —, dense — |
|
|
395
403
|
| `--slotted-control-padding-inline-sm` | The inline space between the control's edge and its content. The small step. | comfortable 10px, compact 8px, dense 6px |
|
|
396
404
|
| `--slotted-control-padding-inline-md` | The inline space between the control's edge and its content. The medium step. | comfortable 13px, compact 10px, dense 8px |
|
|
397
405
|
| `--slotted-control-padding-inline-lg` | The inline space between the control's edge and its content. The large step. | comfortable 16px, compact 12px, dense 10px |
|