@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
|
@@ -109,6 +109,7 @@ export default function EventCalendarBasicExample() {
|
|
|
109
109
|
| `next` | button | yes |
|
|
110
110
|
| `views` | div holding a SegmentedControl | no |
|
|
111
111
|
| `filter` | button, the Menu trigger | no |
|
|
112
|
+
| `label` | span, inside the filter | no |
|
|
112
113
|
| `actions` | div | no |
|
|
113
114
|
| `body` | div | yes |
|
|
114
115
|
| `loader` | div holding a ProgressBar | yes |
|
package/dist/docs/filter-bar.md
CHANGED
|
@@ -162,7 +162,7 @@ export default function FilterBarBasicExample() {
|
|
|
162
162
|
|
|
163
163
|
## Tokens
|
|
164
164
|
|
|
165
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-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-invalid-edge-width`, `--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-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-filter-bar-chip-seam`, `--slotted-filter-bar-color`, `--slotted-filter-bar-color-muted`, `--slotted-filter-bar-editor-size`, `--slotted-filter-bar-font-family`, `--slotted-filter-bar-gap`, `--slotted-filter-bar-group-border`, `--slotted-filter-bar-group-surface`, `--slotted-filter-bar-join-size`, `--slotted-filter-bar-pill-border`, `--slotted-filter-bar-pill-radius`, `--slotted-filter-bar-search-max`, `--slotted-filter-bar-surface`, `--slotted-filter-bar-value-max`, `--slotted-filter-bar-value-max-narrow`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
165
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-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-invalid-edge-width`, `--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-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-filter-bar-chip-seam`, `--slotted-filter-bar-color`, `--slotted-filter-bar-color-muted`, `--slotted-filter-bar-editor-size`, `--slotted-filter-bar-font-family`, `--slotted-filter-bar-gap`, `--slotted-filter-bar-group-border`, `--slotted-filter-bar-group-surface`, `--slotted-filter-bar-join-size`, `--slotted-filter-bar-pill-border`, `--slotted-filter-bar-pill-radius`, `--slotted-filter-bar-search-max`, `--slotted-filter-bar-surface`, `--slotted-filter-bar-value-max`, `--slotted-filter-bar-value-max-narrow`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
166
166
|
|
|
167
167
|
## Examples
|
|
168
168
|
|
|
@@ -152,13 +152,16 @@
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"tokens": [
|
|
155
|
-
"--slotted-border-strong",
|
|
156
155
|
"--slotted-border-subtle",
|
|
157
156
|
"--slotted-border-width-thin",
|
|
157
|
+
"--slotted-control-height-lg",
|
|
158
|
+
"--slotted-control-icon-size-md",
|
|
158
159
|
"--slotted-control-inner-size-md",
|
|
159
160
|
"--slotted-floating-panel-backdrop-filter",
|
|
160
161
|
"--slotted-floating-panel-border-color",
|
|
161
162
|
"--slotted-floating-panel-inset",
|
|
163
|
+
"--slotted-floating-panel-min-inline-size",
|
|
164
|
+
"--slotted-floating-panel-padding",
|
|
162
165
|
"--slotted-floating-panel-radius",
|
|
163
166
|
"--slotted-floating-panel-rule-color",
|
|
164
167
|
"--slotted-floating-panel-shadow",
|
|
@@ -168,14 +171,15 @@
|
|
|
168
171
|
"--slotted-focus-ring-width",
|
|
169
172
|
"--slotted-font-family-heading",
|
|
170
173
|
"--slotted-font-family-sans",
|
|
174
|
+
"--slotted-font-size-md",
|
|
171
175
|
"--slotted-font-size-sm",
|
|
172
176
|
"--slotted-font-weight-semibold",
|
|
177
|
+
"--slotted-line-height-md",
|
|
173
178
|
"--slotted-radius-lg",
|
|
174
179
|
"--slotted-radius-sm",
|
|
175
180
|
"--slotted-shadow-lg",
|
|
176
181
|
"--slotted-space-2",
|
|
177
182
|
"--slotted-space-3",
|
|
178
|
-
"--slotted-space-5",
|
|
179
183
|
"--slotted-space-6",
|
|
180
184
|
"--slotted-surface-raised",
|
|
181
185
|
"--slotted-text",
|
|
@@ -213,7 +217,7 @@
|
|
|
213
217
|
"title": "basic.tsx",
|
|
214
218
|
"note": null,
|
|
215
219
|
"language": "tsx",
|
|
216
|
-
"source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelBasic() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open shipping estimate</Button>\n\n <FloatingPanel onOpenChange={setOpen} open={open}>\n <FloatingPanelHandle>\n <FloatingPanelTitle>Shipping estimate</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Stack gap={
|
|
220
|
+
"source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport { Inline } from '@slotted/react/inline';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelBasic() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open shipping estimate</Button>\n\n <FloatingPanel onOpenChange={setOpen} open={open}>\n <FloatingPanelHandle>\n <FloatingPanelTitle>Shipping estimate</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Stack gap={3}>\n <Inline justify=\"between\">\n <Text size=\"sm\" tone=\"muted\">\n Order 48213\n </Text>\n <Text size=\"sm\">14 cases</Text>\n </Inline>\n <Inline justify=\"between\">\n <Text size=\"sm\" tone=\"muted\">\n Freight\n </Text>\n <Text size=\"sm\">$86.40</Text>\n </Inline>\n <Inline justify=\"between\">\n <Text size=\"sm\" weight=\"semibold\">\n Total\n </Text>\n <Text size=\"sm\" weight=\"semibold\">\n $1,326.40\n </Text>\n </Inline>\n </Stack>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
|
|
217
221
|
"verdict": "example"
|
|
218
222
|
},
|
|
219
223
|
{
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
FloatingPanelHandle,
|
|
31
31
|
FloatingPanelTitle,
|
|
32
32
|
} from '@slotted/react/floating-panel';
|
|
33
|
+
import { Inline } from '@slotted/react/inline';
|
|
33
34
|
import { Stack } from '@slotted/react/stack';
|
|
34
35
|
import { Text } from '@slotted/react/typography';
|
|
35
36
|
|
|
@@ -46,10 +47,27 @@ export default function FloatingPanelBasic() {
|
|
|
46
47
|
<FloatingPanelClose />
|
|
47
48
|
</FloatingPanelHandle>
|
|
48
49
|
<FloatingPanelBody>
|
|
49
|
-
<Stack gap={
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
<Stack gap={3}>
|
|
51
|
+
<Inline justify="between">
|
|
52
|
+
<Text size="sm" tone="muted">
|
|
53
|
+
Order 48213
|
|
54
|
+
</Text>
|
|
55
|
+
<Text size="sm">14 cases</Text>
|
|
56
|
+
</Inline>
|
|
57
|
+
<Inline justify="between">
|
|
58
|
+
<Text size="sm" tone="muted">
|
|
59
|
+
Freight
|
|
60
|
+
</Text>
|
|
61
|
+
<Text size="sm">$86.40</Text>
|
|
62
|
+
</Inline>
|
|
63
|
+
<Inline justify="between">
|
|
64
|
+
<Text size="sm" weight="semibold">
|
|
65
|
+
Total
|
|
66
|
+
</Text>
|
|
67
|
+
<Text size="sm" weight="semibold">
|
|
68
|
+
$1,326.40
|
|
69
|
+
</Text>
|
|
70
|
+
</Inline>
|
|
53
71
|
</Stack>
|
|
54
72
|
</FloatingPanelBody>
|
|
55
73
|
</FloatingPanel>
|
|
@@ -92,7 +110,7 @@ export default function FloatingPanelBasic() {
|
|
|
92
110
|
|
|
93
111
|
## Tokens
|
|
94
112
|
|
|
95
|
-
`--slotted-border-
|
|
113
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-height-lg`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-md`, `--slotted-floating-panel-backdrop-filter`, `--slotted-floating-panel-border-color`, `--slotted-floating-panel-inset`, `--slotted-floating-panel-min-inline-size`, `--slotted-floating-panel-padding`, `--slotted-floating-panel-radius`, `--slotted-floating-panel-rule-color`, `--slotted-floating-panel-shadow`, `--slotted-floating-panel-surface`, `--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-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
96
114
|
|
|
97
115
|
## Examples
|
|
98
116
|
|
|
@@ -105,6 +105,13 @@
|
|
|
105
105
|
"appliesTo": "HoverCard",
|
|
106
106
|
"description": "The card never opens. The link keeps working, and carries no disabled state."
|
|
107
107
|
},
|
|
108
|
+
{
|
|
109
|
+
"name": "followPointer",
|
|
110
|
+
"type": "boolean | 'x' | 'y' | 'entry'",
|
|
111
|
+
"defaultValue": "false",
|
|
112
|
+
"appliesTo": "HoverCard",
|
|
113
|
+
"description": "Whether the card stands against the pointer over the link instead of the link's box, for a wide target such as a row or a route. true follows the pointer; x takes its horizontal position on the target's edge; y the converse; entry holds the point the pointer entered at. Once the pointer leaves for the card, the card stays where it stood. Opened from the keyboard, it stands against the link."
|
|
114
|
+
},
|
|
108
115
|
{
|
|
109
116
|
"name": "sideOffset",
|
|
110
117
|
"type": "number",
|
|
@@ -274,7 +281,7 @@
|
|
|
274
281
|
"title": "basic.tsx",
|
|
275
282
|
"note": null,
|
|
276
283
|
"language": "tsx",
|
|
277
|
-
"source": "import { Avatar } from '@slotted/react/avatar';\nimport { HoverCard, HoverCardContent, HoverCardTrigger } from '@slotted/react/hover-card';\nimport { Inline } from '@slotted/react/inline';\nimport { PopoverBody } from '@slotted/react/popover';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function HoverCardBasic() {\n return (\n <Text>\n The pricing table is ready for review. Ask{' '}\n <HoverCard>\n <HoverCardTrigger href=\"/people/nancy.davolio\">@nancy.davolio</HoverCardTrigger>\n <HoverCardContent>\n <PopoverBody>\n <Inline align=\"center\" gap={3}>\n <Avatar
|
|
284
|
+
"source": "import { Avatar } from '@slotted/react/avatar';\nimport { HoverCard, HoverCardContent, HoverCardTrigger } from '@slotted/react/hover-card';\nimport { Inline } from '@slotted/react/inline';\nimport { PopoverBody } from '@slotted/react/popover';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function HoverCardBasic() {\n return (\n <Text>\n The pricing table is ready for review. Ask{' '}\n <HoverCard>\n <HoverCardTrigger href=\"/people/nancy.davolio\">@nancy.davolio</HoverCardTrigger>\n <HoverCardContent>\n <PopoverBody>\n <Inline align=\"center\" gap={3}>\n <Avatar\n name=\"Nancy Davolio\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Nancy%20Davolio&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n />\n <Stack gap={1}>\n <Text weight=\"semibold\">Nancy Davolio</Text>\n <Text size=\"sm\" tone=\"muted\">\n Sales Representative, Seattle\n </Text>\n </Stack>\n </Inline>\n </PopoverBody>\n </HoverCardContent>\n </HoverCard>{' '}\n about the carrier rates.\n </Text>\n );\n}\n",
|
|
278
285
|
"verdict": "example"
|
|
279
286
|
},
|
|
280
287
|
{
|
package/dist/docs/hover-card.md
CHANGED
|
@@ -31,7 +31,10 @@ export default function HoverCardBasic() {
|
|
|
31
31
|
<HoverCardContent>
|
|
32
32
|
<PopoverBody>
|
|
33
33
|
<Inline align="center" gap={3}>
|
|
34
|
-
<Avatar
|
|
34
|
+
<Avatar
|
|
35
|
+
name="Nancy Davolio"
|
|
36
|
+
src="https://api.dicebear.com/11.x/lorelei/svg?seed=Nancy%20Davolio&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf"
|
|
37
|
+
/>
|
|
35
38
|
<Stack gap={1}>
|
|
36
39
|
<Text weight="semibold">Nancy Davolio</Text>
|
|
37
40
|
<Text size="sm" tone="muted">
|
|
@@ -65,6 +68,7 @@ export default function HoverCardBasic() {
|
|
|
65
68
|
| `closeDelay` | `number` | 300 | HoverCard | Milliseconds after the pointer has left trigger and card before it closes; a pointer on its way to the card is not counted as gone. |
|
|
66
69
|
| `navigable` | `boolean` | false | HoverCard | Whether the card holds controls a keyboard reader can reach. On, the panel is a dialog, the link announces it and Tab enters it; off, the panel is presentation. |
|
|
67
70
|
| `disabled` | `boolean` | false | HoverCard | The card never opens. The link keeps working, and carries no disabled state. |
|
|
71
|
+
| `followPointer` | `boolean \| 'x' \| 'y' \| 'entry'` | false | HoverCard | Whether the card stands against the pointer over the link instead of the link's box, for a wide target such as a row or a route. true follows the pointer; x takes its horizontal position on the target's edge; y the converse; entry holds the point the pointer entered at. Once the pointer leaves for the card, the card stays where it stood. Opened from the keyboard, it stands against the link. |
|
|
68
72
|
| `sideOffset` | `number` | 4 | HoverCard | The popover’s own axis, with the hover card’s default: the halo the open mark draws plus the same again of air, so the arrow’s tip stands off the word. |
|
|
69
73
|
| `side, align, size, width, arrow, mount, …` | `PopoverProps` | — | HoverCard | Every prop of Popover except autoFocus, which the hover card forces off, reaches the popover it renders. |
|
|
70
74
|
| `render` | `(props) => ReactNode` | — | HoverCardTrigger | Renders the consumer's own element as the trigger — a Link, an avatar button — with the identity, the state and the listeners on it. |
|
|
@@ -39,7 +39,7 @@ Excerpt — not a complete module
|
|
|
39
39
|
|
|
40
40
|
### Five statuses, four outcomes
|
|
41
41
|
|
|
42
|
-
Queued, running, succeeded, succeeded with failed rows, failed and cancelled, each with its word
|
|
42
|
+
Queued, running, succeeded, succeeded with failed rows, failed and cancelled, each with its word and its tone. The partial row is derived: the store wrote succeeded and counts.failed 12, and the family refused to paint it green.
|
|
43
43
|
|
|
44
44
|
Example
|
|
45
45
|
|
|
@@ -98,7 +98,6 @@
|
|
|
98
98
|
"extension",
|
|
99
99
|
"time",
|
|
100
100
|
"status",
|
|
101
|
-
"mark",
|
|
102
101
|
"status-label",
|
|
103
102
|
"stage",
|
|
104
103
|
"progress",
|
|
@@ -250,13 +249,7 @@
|
|
|
250
249
|
"part": "status",
|
|
251
250
|
"element": "div",
|
|
252
251
|
"required": false,
|
|
253
|
-
"purpose": "
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"part": "mark",
|
|
257
|
-
"element": "span, aria-hidden",
|
|
258
|
-
"required": false,
|
|
259
|
-
"purpose": "An Icon with the status glyph — clock, circle-check, circle-alert, circle-x, circle — or spinner while running, the line’s own size, centered on the band between the cap height and the x-height."
|
|
252
|
+
"purpose": "The word for the job’s state, in the outcome’s tone, and the stage. Its id describes every control of the job."
|
|
260
253
|
},
|
|
261
254
|
{
|
|
262
255
|
"part": "status-label",
|
|
@@ -610,7 +603,7 @@
|
|
|
610
603
|
"Every control of a job is named by its own words and the job title — aria-labelledby holds both ids, so a reader hears Download Q3 Invoices and not five Download in a row — and described by the job’s status line. The remove control is an icon, so its name is aria-label and a tooltip shows the same words on hover, on keyboard focus and on a press held on touch.",
|
|
611
604
|
"A job reaching another state is announced once, politely, through the shared live announcer — Import CRM Contacts completed with 12 errors — and nothing is said on the first render or while the bar moves; the bar is a progressbar named by the job title with the progress text as aria-valuetext for a reader who asks. A toast from useJobToasts carries the same sentence, which the announcer does not repeat.",
|
|
612
605
|
"Focus never falls to the body. A job that finishes while focus is on Cancel keeps focus in the job, on its first remaining control or on its title; a removed job hands focus to the same control of the job now in its place, then of the one before, then to the list — focusDestination in @slotted/core/import-export-center decides it for both bindings.",
|
|
613
|
-
"Color never says a state alone: the outcome
|
|
606
|
+
"Color never says a state alone: the outcome is a word as well as a tone, and partial is a warning with its failed-row count in the words. Under forced colors the tile keeps its square as an edge, and the bar still says how far a running job is."
|
|
614
607
|
]
|
|
615
608
|
}
|
|
616
609
|
},
|
|
@@ -659,7 +652,6 @@
|
|
|
659
652
|
"--slotted-line-height-xs",
|
|
660
653
|
"--slotted-radius-full",
|
|
661
654
|
"--slotted-radius-md",
|
|
662
|
-
"--slotted-radius-sm",
|
|
663
655
|
"--slotted-radius-xs",
|
|
664
656
|
"--slotted-space-1",
|
|
665
657
|
"--slotted-space-2",
|
|
@@ -671,7 +663,6 @@
|
|
|
671
663
|
"--slotted-space-8",
|
|
672
664
|
"--slotted-space-9",
|
|
673
665
|
"--slotted-surface",
|
|
674
|
-
"--slotted-surface-sunken",
|
|
675
666
|
"--slotted-target-min",
|
|
676
667
|
"--slotted-text",
|
|
677
668
|
"--slotted-text-muted",
|
|
@@ -691,7 +682,6 @@
|
|
|
691
682
|
"--slotted-upload-kind-archive",
|
|
692
683
|
"--slotted-upload-kind-audio",
|
|
693
684
|
"--slotted-upload-kind-document",
|
|
694
|
-
"--slotted-upload-kind-foreground",
|
|
695
685
|
"--slotted-upload-kind-image",
|
|
696
686
|
"--slotted-upload-kind-other",
|
|
697
687
|
"--slotted-upload-kind-pdf",
|
|
@@ -719,7 +709,7 @@
|
|
|
719
709
|
{
|
|
720
710
|
"id": "statuses",
|
|
721
711
|
"title": "Five statuses, four outcomes",
|
|
722
|
-
"note": "Queued, running, succeeded, succeeded with failed rows, failed and cancelled, each with its word
|
|
712
|
+
"note": "Queued, running, succeeded, succeeded with failed rows, failed and cancelled, each with its word and its tone. The partial row is derived: the store wrote succeeded and counts.failed 12, and the family refused to paint it green.",
|
|
723
713
|
"language": "tsx",
|
|
724
714
|
"source": "import { ImportExportCenter } from '@slotted/react/import-export-center';\nimport type { ImportExportJob } from '@slotted/react/import-export-center';\n\nconst NOW = 1790344800000;\n\nconst VIEWS = [{ value: 'all', label: 'All' }];\n\nconst JOBS: ImportExportJob[] = [\n {\n key: 'stock-september',\n direction: 'export',\n title: 'Stock movements, September',\n status: 'queued',\n format: 'XLSX',\n actor: 'Marina Duarte',\n createdAt: '2026-09-25T13:59:00Z',\n stage: 'Starts after the customer import',\n },\n {\n key: 'customers',\n direction: 'import',\n title: 'Customer contacts',\n status: 'running',\n format: 'CSV',\n actor: 'Marina Duarte',\n createdAt: '2026-09-25T13:58:00Z',\n source: {\n name: 'customers-2026-09-24.csv',\n size: 4200000,\n },\n stage: 'Writing records',\n progress: {\n value: 1204,\n max: 5000,\n },\n eta: '2026-09-25T14:03:00Z',\n },\n {\n key: 'suppliers',\n direction: 'import',\n title: 'Supplier list',\n status: 'succeeded',\n format: 'XLSX',\n actor: 'Rui Tavares',\n createdAt: '2026-09-25T10:40:00Z',\n finishedAt: '2026-09-25T10:42:00Z',\n counts: {\n total: 420,\n processed: 420,\n created: 36,\n updated: 384,\n },\n source: {\n name: 'suppliers-2026.xlsx',\n size: 96000,\n href: '#suppliers',\n },\n },\n {\n key: 'catalog-autumn',\n direction: 'import',\n title: 'Product catalog',\n status: 'succeeded',\n format: 'XLSX',\n actor: 'Marina Duarte',\n createdAt: '2026-09-25T10:50:00Z',\n finishedAt: '2026-09-25T11:00:00Z',\n counts: {\n total: 3000,\n processed: 2988,\n created: 2210,\n updated: 778,\n failed: 12,\n },\n errorCount: 12,\n errors: [\n {\n row: 14,\n column: 'SKU',\n value: '',\n message: 'Required field is empty',\n },\n {\n row: 208,\n column: 'Price',\n value: '12.5O',\n message: 'Not a number',\n },\n {\n row: 391,\n column: 'HS code',\n value: '8471.3',\n message: 'Code with 8 digits expected',\n },\n ],\n source: {\n name: 'catalog-autumn-2026.xlsx',\n size: 1800000,\n href: '#catalog',\n },\n errorsFile: {\n name: 'catalog-autumn-2026-errors.csv',\n size: 2048,\n href: '#catalog-errors',\n },\n },\n {\n key: 'statement',\n direction: 'export',\n title: 'Overdue customer statement',\n status: 'failed',\n format: 'PDF',\n actor: 'Marina Duarte',\n createdAt: '2026-09-25T07:40:00Z',\n finishedAt: '2026-09-25T07:50:00Z',\n message: 'The reporting service did not respond within 10 minutes.',\n },\n {\n key: 'freight',\n direction: 'import',\n title: 'Freight table',\n status: 'canceled',\n format: 'JSON',\n actor: 'Rui Tavares',\n createdAt: '2026-09-24T17:30:00Z',\n finishedAt: '2026-09-24T17:31:00Z',\n stage: 'No records written',\n },\n];\n\nexport default function ImportExportCenterStatusesExample() {\n return <ImportExportCenter jobs={JOBS} now={NOW} timeZone=\"UTC\" views={VIEWS} />;\n}\n",
|
|
725
715
|
"verdict": "example"
|
|
@@ -157,7 +157,6 @@ export default function ImportExportCenterBasicExample() {
|
|
|
157
157
|
| `extension` | span | no |
|
|
158
158
|
| `time` | time | no |
|
|
159
159
|
| `status` | div | no |
|
|
160
|
-
| `mark` | span, aria-hidden | no |
|
|
161
160
|
| `status-label` | span | no |
|
|
162
161
|
| `stage` | span | no |
|
|
163
162
|
| `progress` | div | no |
|
|
@@ -243,11 +242,11 @@ export default function ImportExportCenterBasicExample() {
|
|
|
243
242
|
- Every control of a job is named by its own words and the job title — aria-labelledby holds both ids, so a reader hears Download Q3 Invoices and not five Download in a row — and described by the job’s status line. The remove control is an icon, so its name is aria-label and a tooltip shows the same words on hover, on keyboard focus and on a press held on touch.
|
|
244
243
|
- A job reaching another state is announced once, politely, through the shared live announcer — Import CRM Contacts completed with 12 errors — and nothing is said on the first render or while the bar moves; the bar is a progressbar named by the job title with the progress text as aria-valuetext for a reader who asks. A toast from useJobToasts carries the same sentence, which the announcer does not repeat.
|
|
245
244
|
- Focus never falls to the body. A job that finishes while focus is on Cancel keeps focus in the job, on its first remaining control or on its title; a removed job hands focus to the same control of the job now in its place, then of the one before, then to the list — focusDestination in @slotted/core/import-export-center decides it for both bindings.
|
|
246
|
-
- Color never says a state alone: the outcome
|
|
245
|
+
- Color never says a state alone: the outcome is a word as well as a tone, and partial is a warning with its failed-row count in the words. Under forced colors the tile keeps its square as an edge, and the bar still says how far a running job is.
|
|
247
246
|
|
|
248
247
|
## Tokens
|
|
249
248
|
|
|
250
|
-
`--slotted-action-gap`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-line-height`, `--slotted-control-padding-inline-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-import-export-center-background`, `--slotted-import-export-center-border`, `--slotted-import-export-center-errors-max-block-size`, `--slotted-import-export-center-gap-md`, `--slotted-import-export-center-gap-sm`, `--slotted-import-export-center-inset-block-md`, `--slotted-import-export-center-inset-block-sm`, `--slotted-import-export-center-inset-inline-md`, `--slotted-import-export-center-inset-inline-sm`, `--slotted-import-export-center-min-inline-size-sm`, `--slotted-import-export-center-status-column`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-
|
|
249
|
+
`--slotted-action-gap`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-line-height`, `--slotted-control-padding-inline-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-import-export-center-background`, `--slotted-import-export-center-border`, `--slotted-import-export-center-errors-max-block-size`, `--slotted-import-export-center-gap-md`, `--slotted-import-export-center-gap-sm`, `--slotted-import-export-center-inset-block-md`, `--slotted-import-export-center-inset-block-sm`, `--slotted-import-export-center-inset-inline-md`, `--slotted-import-export-center-inset-inline-sm`, `--slotted-import-export-center-min-inline-size-sm`, `--slotted-import-export-center-status-column`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-text`, `--slotted-tone-success-solid`, `--slotted-tone-success-text`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-text`, `--slotted-upload-kind-archive`, `--slotted-upload-kind-audio`, `--slotted-upload-kind-document`, `--slotted-upload-kind-image`, `--slotted-upload-kind-other`, `--slotted-upload-kind-pdf`, `--slotted-upload-kind-presentation`, `--slotted-upload-kind-spreadsheet`, `--slotted-upload-kind-video`
|
|
251
250
|
|
|
252
251
|
## Examples
|
|
253
252
|
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
"title": "What the message is about",
|
|
268
268
|
"note": "Three severities, two tones for information, and help. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label color.",
|
|
269
269
|
"language": "tsx",
|
|
270
|
-
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageTones() {\n return (\n <Stack gap={
|
|
270
|
+
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageTones() {\n return (\n <Stack gap={5}>\n <InlineMessage tone=\"secondary\">Use the SKU printed on the shelf label.</InlineMessage>\n <InlineMessage tone=\"accent\">Prices are shown in euros.</InlineMessage>\n <InlineMessage tone=\"info\">Carrier rates were updated on Monday.</InlineMessage>\n <InlineMessage tone=\"success\">Pickup scheduled for 09:30.</InlineMessage>\n <InlineMessage tone=\"warning\">Only 4 units are left at this location.</InlineMessage>\n <InlineMessage tone=\"danger\">This SKU is already registered.</InlineMessage>\n </Stack>\n );\n}\n",
|
|
271
271
|
"verdict": "example"
|
|
272
272
|
},
|
|
273
273
|
{
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"title": "The step the message sits at",
|
|
276
276
|
"note": "sm sits beside a compact field and md beside a large field. Both read the control scales, so switching the toolbar to dense shrinks them with the rows around them.",
|
|
277
277
|
"language": "tsx",
|
|
278
|
-
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageSizes() {\n return (\n <Stack gap={
|
|
278
|
+
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageSizes() {\n return (\n <Stack gap={5}>\n <InlineMessage size=\"sm\" tone=\"danger\">\n The reorder point must be a whole number.\n </InlineMessage>\n <InlineMessage size=\"md\" tone=\"danger\">\n The reorder point must be lower than the stock ceiling.\n </InlineMessage>\n </Stack>\n );\n}\n",
|
|
279
279
|
"verdict": "example"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"title": "Pointing a control at the message",
|
|
292
292
|
"note": "The three attributes that make an error reach a reader: aria-invalid on the control, aria-errormessage at the message’s id, and an id InlineMessage generates when the page states none.",
|
|
293
293
|
"language": "tsx",
|
|
294
|
-
"source": "import { useId } from 'react';\n\nimport {
|
|
294
|
+
"source": "import { useId } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageWiring() {\n const messageId = useId();\n\n return (\n <Stack align=\"start\" gap={3}>\n <Button aria-describedby={messageId}>Publish catalog</Button>\n <InlineMessage id={messageId} tone=\"warning\">\n 3 products have no price and stay hidden.\n </InlineMessage>\n </Stack>\n );\n}\n",
|
|
295
295
|
"verdict": "example"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"title": "What a reader hears, and when",
|
|
300
300
|
"note": "off by default, because a message already on the page when it loads is announced by nothing. Press the button and the message arrives while the reader is elsewhere, which is what polite is for.",
|
|
301
301
|
"language": "tsx",
|
|
302
|
-
"source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {
|
|
302
|
+
"source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\ntype Status = 'failed' | 'idle' | 'saved';\n\nexport default function InlineMessageLive() {\n const [status, setStatus] = useState<Status>('idle');\n\n return (\n <Stack gap={6}>\n <Stack align=\"start\" gap={3}>\n <Button onClick={() => setStatus('saved')} variant=\"outline\">\n Save prices\n </Button>\n <InlineMessage live=\"polite\" reserve tone=\"success\">\n {status === 'saved' ? 'Changes to 214 products are live.' : ''}\n </InlineMessage>\n </Stack>\n <Stack align=\"start\" gap={3}>\n <Button onClick={() => setStatus('failed')} variant=\"outline\">\n Lose connection\n </Button>\n <InlineMessage live=\"assertive\" reserve tone=\"danger\">\n {status === 'failed' ? 'Price changes are not being saved.' : ''}\n </InlineMessage>\n </Stack>\n </Stack>\n );\n}\n",
|
|
303
303
|
"verdict": "example"
|
|
304
304
|
},
|
|
305
305
|
{
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"title": "Holding the line open",
|
|
308
308
|
"note": "Both columns render the message unconditionally; only the right one has something to say. The two second fields sit at the same height, because the empty message keeps its line and draws nothing in it.",
|
|
309
309
|
"language": "tsx",
|
|
310
|
-
"source": "import { Inline } from '@slotted/react/inline';\nimport { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\nimport {
|
|
310
|
+
"source": "import { Button } from '@slotted/react/button';\nimport { Inline } from '@slotted/react/inline';\nimport { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function InlineMessageReserve() {\n return (\n <Inline align=\"start\" gap={8}>\n <Stack align=\"start\" gap={3}>\n <Button variant=\"outline\">Check Rotterdam</Button>\n <InlineMessage reserve tone=\"warning\" />\n <Text size=\"sm\" tone=\"muted\">\n Counted at 06:00\n </Text>\n </Stack>\n <Stack align=\"start\" gap={3}>\n <Button variant=\"outline\">Check Antwerp</Button>\n <InlineMessage reserve tone=\"warning\">\n 12 units, 28 short.\n </InlineMessage>\n <Text size=\"sm\" tone=\"muted\">\n Counted at 06:00\n </Text>\n </Stack>\n </Inline>\n );\n}\n",
|
|
311
311
|
"verdict": "example"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"title": "marks.tsx",
|
|
356
356
|
"note": null,
|
|
357
357
|
"language": "tsx",
|
|
358
|
-
"source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageMarks() {\n return (\n <Stack gap={
|
|
358
|
+
"source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageMarks() {\n return (\n <Stack gap={5}>\n <InlineMessage mark=\"glyph\" tone=\"warning\">\n Carrier pickup moved to 14:00.\n </InlineMessage>\n <InlineMessage mark=\"dot\" tone=\"warning\">\n Pallet 118 is missing a label.\n </InlineMessage>\n <InlineMessage mark=\"none\" tone=\"warning\">\n Dock 3 closes at 18:00.\n </InlineMessage>\n <InlineMessage hideIcon tone=\"warning\">\n Two orders share one delivery slot.\n </InlineMessage>\n <InlineMessage\n icon={\n <Icon>\n <Glyph name=\"clock\" />\n </Icon>\n }\n tone=\"warning\"\n >\n Orders placed after 16:00 ship tomorrow.\n </InlineMessage>\n </Stack>\n );\n}\n",
|
|
359
359
|
"verdict": "example"
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
"title": "prefix.tsx",
|
|
364
364
|
"note": null,
|
|
365
365
|
"language": "tsx",
|
|
366
|
-
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessagePrefix() {\n return (\n <Stack gap={
|
|
366
|
+
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessagePrefix() {\n return (\n <Stack gap={5}>\n <InlineMessage tone=\"danger\">Enter a valid tax ID.</InlineMessage>\n <InlineMessage prefix=\"Overdue:\" tone=\"danger\">\n Invoice 4822 was due on March 3.\n </InlineMessage>\n <InlineMessage prefix=\"\" tone=\"danger\">\n Error: the tax ID needs 9 digits.\n </InlineMessage>\n </Stack>\n );\n}\n",
|
|
367
367
|
"verdict": "example"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"title": "states.tsx",
|
|
372
372
|
"note": null,
|
|
373
373
|
"language": "tsx",
|
|
374
|
-
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageStates() {\n return (\n <Stack gap={
|
|
374
|
+
"source": "import { InlineMessage } from '@slotted/react/inline-message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function InlineMessageStates() {\n return (\n <Stack gap={5}>\n <InlineMessage loading>Checking the carrier rates…</InlineMessage>\n <InlineMessage disabled tone=\"danger\">\n The address cannot be edited while the order ships.\n </InlineMessage>\n <InlineMessage disabled loading>\n Syncing stock counts…\n </InlineMessage>\n </Stack>\n );\n}\n",
|
|
375
375
|
"verdict": "example"
|
|
376
376
|
}
|
|
377
377
|
]
|
|
@@ -104,7 +104,7 @@ import { Stack } from '@slotted/react/stack';
|
|
|
104
104
|
|
|
105
105
|
export default function InlineMessageTones() {
|
|
106
106
|
return (
|
|
107
|
-
<Stack gap={
|
|
107
|
+
<Stack gap={5}>
|
|
108
108
|
<InlineMessage tone="secondary">Use the SKU printed on the shelf label.</InlineMessage>
|
|
109
109
|
<InlineMessage tone="accent">Prices are shown in euros.</InlineMessage>
|
|
110
110
|
<InlineMessage tone="info">Carrier rates were updated on Monday.</InlineMessage>
|
|
@@ -128,7 +128,7 @@ import { Stack } from '@slotted/react/stack';
|
|
|
128
128
|
|
|
129
129
|
export default function InlineMessageSizes() {
|
|
130
130
|
return (
|
|
131
|
-
<Stack gap={
|
|
131
|
+
<Stack gap={5}>
|
|
132
132
|
<InlineMessage size="sm" tone="danger">
|
|
133
133
|
The reorder point must be a whole number.
|
|
134
134
|
</InlineMessage>
|
|
@@ -199,18 +199,18 @@ Example
|
|
|
199
199
|
```tsx
|
|
200
200
|
import { useId } from 'react';
|
|
201
201
|
|
|
202
|
+
import { Button } from '@slotted/react/button';
|
|
202
203
|
import { InlineMessage } from '@slotted/react/inline-message';
|
|
203
204
|
import { Stack } from '@slotted/react/stack';
|
|
204
|
-
import { TextField } from '@slotted/react/text-field';
|
|
205
205
|
|
|
206
206
|
export default function InlineMessageWiring() {
|
|
207
207
|
const messageId = useId();
|
|
208
208
|
|
|
209
209
|
return (
|
|
210
|
-
<Stack gap={
|
|
211
|
-
<
|
|
212
|
-
<InlineMessage id={messageId} tone="
|
|
213
|
-
|
|
210
|
+
<Stack align="start" gap={3}>
|
|
211
|
+
<Button aria-describedby={messageId}>Publish catalog</Button>
|
|
212
|
+
<InlineMessage id={messageId} tone="warning">
|
|
213
|
+
3 products have no price and stay hidden.
|
|
214
214
|
</InlineMessage>
|
|
215
215
|
</Stack>
|
|
216
216
|
);
|
|
@@ -227,7 +227,6 @@ Example
|
|
|
227
227
|
import { useState } from 'react';
|
|
228
228
|
|
|
229
229
|
import { Button } from '@slotted/react/button';
|
|
230
|
-
import { Inline } from '@slotted/react/inline';
|
|
231
230
|
import { InlineMessage } from '@slotted/react/inline-message';
|
|
232
231
|
import { Stack } from '@slotted/react/stack';
|
|
233
232
|
|
|
@@ -237,21 +236,23 @@ export default function InlineMessageLive() {
|
|
|
237
236
|
const [status, setStatus] = useState<Status>('idle');
|
|
238
237
|
|
|
239
238
|
return (
|
|
240
|
-
<Stack gap={
|
|
241
|
-
<
|
|
239
|
+
<Stack gap={6}>
|
|
240
|
+
<Stack align="start" gap={3}>
|
|
242
241
|
<Button onClick={() => setStatus('saved')} variant="outline">
|
|
243
242
|
Save prices
|
|
244
243
|
</Button>
|
|
244
|
+
<InlineMessage live="polite" reserve tone="success">
|
|
245
|
+
{status === 'saved' ? 'Changes to 214 products are live.' : ''}
|
|
246
|
+
</InlineMessage>
|
|
247
|
+
</Stack>
|
|
248
|
+
<Stack align="start" gap={3}>
|
|
245
249
|
<Button onClick={() => setStatus('failed')} variant="outline">
|
|
246
250
|
Lose connection
|
|
247
251
|
</Button>
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
</
|
|
252
|
-
<InlineMessage live="assertive" reserve tone="danger">
|
|
253
|
-
{status === 'failed' ? 'Price changes are not being saved.' : ''}
|
|
254
|
-
</InlineMessage>
|
|
252
|
+
<InlineMessage live="assertive" reserve tone="danger">
|
|
253
|
+
{status === 'failed' ? 'Price changes are not being saved.' : ''}
|
|
254
|
+
</InlineMessage>
|
|
255
|
+
</Stack>
|
|
255
256
|
</Stack>
|
|
256
257
|
);
|
|
257
258
|
}
|
|
@@ -264,25 +265,30 @@ Both columns render the message unconditionally; only the right one has somethin
|
|
|
264
265
|
Example
|
|
265
266
|
|
|
266
267
|
```tsx
|
|
268
|
+
import { Button } from '@slotted/react/button';
|
|
267
269
|
import { Inline } from '@slotted/react/inline';
|
|
268
270
|
import { InlineMessage } from '@slotted/react/inline-message';
|
|
269
271
|
import { Stack } from '@slotted/react/stack';
|
|
270
|
-
import {
|
|
272
|
+
import { Text } from '@slotted/react/typography';
|
|
271
273
|
|
|
272
274
|
export default function InlineMessageReserve() {
|
|
273
275
|
return (
|
|
274
|
-
<Inline gap={
|
|
275
|
-
<Stack gap={
|
|
276
|
-
<
|
|
277
|
-
<InlineMessage reserve tone="
|
|
278
|
-
<
|
|
276
|
+
<Inline align="start" gap={8}>
|
|
277
|
+
<Stack align="start" gap={3}>
|
|
278
|
+
<Button variant="outline">Check Rotterdam</Button>
|
|
279
|
+
<InlineMessage reserve tone="warning" />
|
|
280
|
+
<Text size="sm" tone="muted">
|
|
281
|
+
Counted at 06:00
|
|
282
|
+
</Text>
|
|
279
283
|
</Stack>
|
|
280
|
-
<Stack gap={
|
|
281
|
-
<
|
|
282
|
-
<InlineMessage reserve tone="
|
|
283
|
-
|
|
284
|
+
<Stack align="start" gap={3}>
|
|
285
|
+
<Button variant="outline">Check Antwerp</Button>
|
|
286
|
+
<InlineMessage reserve tone="warning">
|
|
287
|
+
12 units, 28 short.
|
|
284
288
|
</InlineMessage>
|
|
285
|
-
<
|
|
289
|
+
<Text size="sm" tone="muted">
|
|
290
|
+
Counted at 06:00
|
|
291
|
+
</Text>
|
|
286
292
|
</Stack>
|
|
287
293
|
</Inline>
|
|
288
294
|
);
|
|
@@ -380,7 +386,7 @@ import { Stack } from '@slotted/react/stack';
|
|
|
380
386
|
|
|
381
387
|
export default function InlineMessageMarks() {
|
|
382
388
|
return (
|
|
383
|
-
<Stack gap={
|
|
389
|
+
<Stack gap={5}>
|
|
384
390
|
<InlineMessage mark="glyph" tone="warning">
|
|
385
391
|
Carrier pickup moved to 14:00.
|
|
386
392
|
</InlineMessage>
|
|
@@ -418,7 +424,7 @@ import { Stack } from '@slotted/react/stack';
|
|
|
418
424
|
|
|
419
425
|
export default function InlineMessagePrefix() {
|
|
420
426
|
return (
|
|
421
|
-
<Stack gap={
|
|
427
|
+
<Stack gap={5}>
|
|
422
428
|
<InlineMessage tone="danger">Enter a valid tax ID.</InlineMessage>
|
|
423
429
|
<InlineMessage prefix="Overdue:" tone="danger">
|
|
424
430
|
Invoice 4822 was due on March 3.
|
|
@@ -441,7 +447,7 @@ import { Stack } from '@slotted/react/stack';
|
|
|
441
447
|
|
|
442
448
|
export default function InlineMessageStates() {
|
|
443
449
|
return (
|
|
444
|
-
<Stack gap={
|
|
450
|
+
<Stack gap={5}>
|
|
445
451
|
<InlineMessage loading>Checking the carrier rates…</InlineMessage>
|
|
446
452
|
<InlineMessage disabled tone="danger">
|
|
447
453
|
The address cannot be edited while the order ships.
|
package/dist/docs/inline.json
CHANGED
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"title": "basic.tsx",
|
|
174
174
|
"note": null,
|
|
175
175
|
"language": "tsx",
|
|
176
|
-
"source": "import { Avatar } from '@slotted/react/avatar';\nimport { Badge } from '@slotted/react/badge';\nimport { Inline } from '@slotted/react/inline';\nimport { Text } from '@slotted/react/typography';\n\nexport default function InlineBasic() {\n return (\n <Inline>\n <Avatar
|
|
176
|
+
"source": "import { Avatar } from '@slotted/react/avatar';\nimport { Badge } from '@slotted/react/badge';\nimport { Inline } from '@slotted/react/inline';\nimport { Text } from '@slotted/react/typography';\n\nexport default function InlineBasic() {\n return (\n <Inline>\n <Avatar\n name=\"Maria Chen\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Maria%20Chen&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n />\n <Text weight=\"semibold\">Maria Chen</Text>\n <Badge tone=\"success\">Approver</Badge>\n <Badge tone=\"info\">Finance</Badge>\n </Inline>\n );\n}\n",
|
|
177
177
|
"verdict": "example"
|
|
178
178
|
},
|
|
179
179
|
{
|
package/dist/docs/inline.md
CHANGED
|
@@ -16,7 +16,10 @@ import { Text } from '@slotted/react/typography';
|
|
|
16
16
|
export default function InlineBasic() {
|
|
17
17
|
return (
|
|
18
18
|
<Inline>
|
|
19
|
-
<Avatar
|
|
19
|
+
<Avatar
|
|
20
|
+
name="Maria Chen"
|
|
21
|
+
src="https://api.dicebear.com/11.x/lorelei/svg?seed=Maria%20Chen&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf"
|
|
22
|
+
/>
|
|
20
23
|
<Text weight="semibold">Maria Chen</Text>
|
|
21
24
|
<Badge tone="success">Approver</Badge>
|
|
22
25
|
<Badge tone="info">Finance</Badge>
|
package/dist/docs/list-item.json
CHANGED
|
@@ -300,6 +300,9 @@
|
|
|
300
300
|
"tokens": [
|
|
301
301
|
"--slotted-border-subtle",
|
|
302
302
|
"--slotted-border-width-thin",
|
|
303
|
+
"--slotted-control-fine-height-lg",
|
|
304
|
+
"--slotted-control-fine-height-md",
|
|
305
|
+
"--slotted-control-fine-height-sm",
|
|
303
306
|
"--slotted-control-font-size-lg",
|
|
304
307
|
"--slotted-control-font-size-md",
|
|
305
308
|
"--slotted-control-font-size-sm",
|