@slotted/react 0.1.0-beta.45 → 0.1.0-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{action-bar-BSUuY6pJ.js → action-bar-CZAowvra.js} +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/action-sheet-D5XBXFe2.js +359 -0
- package/dist/action-sheet.js +1 -1
- package/dist/{calendar-BO5teotM.js → calendar-MztDEqAz.js} +13 -12
- package/dist/calendar.js +1 -1
- package/dist/cascader-Bf0CzPu-.js +1305 -0
- package/dist/cascader.js +1 -1
- package/dist/{chart-C4uPgUW8.js → chart-C6NdybXy.js} +387 -385
- package/dist/chart.js +1 -1
- package/dist/{checkbox-D8HZG0be.js → checkbox-Bv1b6qh_.js} +3 -3
- package/dist/{checkbox-group-5zuE2Kd1.js → checkbox-group-BnxPixJG.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{color-picker-fiLSUBjj.js → color-picker-B66gG2WU.js} +12 -11
- package/dist/color-picker.js +1 -1
- package/dist/column-manager-BtzX-KIk.js +589 -0
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-DMtXrMYE.js → combobox-BpBFn5wM.js} +2 -2
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-DwjkexvN.js → command-palette-Bk94SEuy.js} +2 -1
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-CRRp-PhP.js → context-menu-DoH2mtbN.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field-Cxr8MT75.js → currency-field-D7LKgNcS.js} +1 -1
- package/dist/currency-field.js +1 -1
- package/dist/dashboard-grid-C3XZRM2i.js +1238 -0
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-BlElqHOU.js → data-grid-udreCRZy.js} +1352 -1355
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-5zvM-DUz.js → data-list-BMIQwNKA.js} +13 -13
- package/dist/data-list.js +1 -1
- package/dist/date-field-BTbbf38h.js +313 -0
- package/dist/date-field.js +1 -1
- package/dist/date-picker-ClZMRCJ1.js +347 -0
- package/dist/date-picker.js +2 -2
- package/dist/{date-range-picker-DzuuvudX.js → date-range-picker-DN2It6LA.js} +75 -71
- package/dist/date-range-picker.js +1 -1
- package/dist/datetime-field-DmgZDYhb.js +438 -0
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-BUhSr8yp.js → datetime-picker-vVXAefqf.js} +158 -154
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-DXllehEN.js → datetime-range-picker-B4GYh_jU.js} +149 -145
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{detail-panel-Czs05E_D.js → detail-panel-WW2-BwEP.js} +2 -2
- package/dist/detail-panel.js +1 -1
- package/dist/dialog-lceAPWMr.js +591 -0
- package/dist/dialog.js +1 -1
- package/dist/docs/action-sheet.json +1 -3
- package/dist/docs/action-sheet.md +1 -1
- package/dist/docs/calendar.json +1 -1
- package/dist/docs/calendar.md +1 -1
- package/dist/docs/cascader.json +73 -2
- package/dist/docs/cascader.md +10 -1
- package/dist/docs/chart.json +15 -1
- package/dist/docs/chart.md +4 -2
- package/dist/docs/collapsible.examples.md +1 -1
- package/dist/docs/collapsible.json +2 -2
- package/dist/docs/collapsible.md +1 -1
- package/dist/docs/color-picker.json +1 -1
- package/dist/docs/column-manager.json +6 -4
- package/dist/docs/column-manager.md +3 -3
- package/dist/docs/combobox.json +1 -0
- package/dist/docs/combobox.md +1 -1
- package/dist/docs/dashboard-grid.json +9 -2
- package/dist/docs/dashboard-grid.md +2 -1
- package/dist/docs/data-grid.json +2 -1
- package/dist/docs/data-grid.md +1 -1
- package/dist/docs/date-picker.json +10 -2
- package/dist/docs/date-picker.md +3 -2
- package/dist/docs/date-range-picker.json +10 -1
- package/dist/docs/date-range-picker.md +3 -2
- package/dist/docs/datetime-picker.json +9 -1
- package/dist/docs/datetime-picker.md +2 -1
- package/dist/docs/datetime-range-picker.json +10 -1
- package/dist/docs/datetime-range-picker.md +3 -2
- package/dist/docs/dialog.json +56 -8
- package/dist/docs/dialog.md +3 -0
- package/dist/docs/dialog.props.md +6 -2
- package/dist/docs/drawer.examples.md +108 -1
- package/dist/docs/drawer.json +70 -13
- package/dist/docs/drawer.md +31 -21
- package/dist/docs/entity-picker.examples.md +1 -1
- package/dist/docs/entity-picker.json +112 -4
- package/dist/docs/entity-picker.md +16 -2
- package/dist/docs/field.json +1 -1
- package/dist/docs/field.md +1 -1
- package/dist/docs/filter-bar.examples.md +215 -0
- package/dist/docs/filter-bar.json +232 -6
- package/dist/docs/filter-bar.md +32 -4
- package/dist/docs/guidelines/index.md +2 -1
- package/dist/docs/guidelines/overviews.md +1 -1
- package/dist/docs/guidelines/record-pages.md +3 -3
- package/dist/docs/guidelines/shell-composition.md +13 -0
- package/dist/docs/list-item.examples.md +50 -0
- package/dist/docs/list-item.json +20 -3
- package/dist/docs/list-item.md +4 -3
- package/dist/docs/list.examples.md +93 -0
- package/dist/docs/list.json +41 -1
- package/dist/docs/list.md +4 -0
- package/dist/docs/menu.examples.md +39 -0
- package/dist/docs/menu.json +25 -12
- package/dist/docs/menu.md +3 -2
- package/dist/docs/multi-select.json +89 -3
- package/dist/docs/multi-select.md +14 -2
- package/dist/docs/page-header.examples.md +120 -76
- package/dist/docs/page-header.json +57 -5
- package/dist/docs/page-header.md +14 -1
- package/dist/docs/popover.json +31 -14
- package/dist/docs/popover.md +5 -2
- package/dist/docs/saved-views.json +3 -3
- package/dist/docs/saved-views.md +1 -1
- package/dist/docs/select.examples.md +51 -0
- package/dist/docs/select.json +37 -15
- package/dist/docs/select.md +5 -3
- package/dist/docs/stat-card.examples.md +121 -0
- package/dist/docs/stat-card.json +205 -0
- package/dist/docs/stat-card.md +51 -1
- package/dist/docs/table.json +2 -1
- package/dist/docs/table.md +1 -1
- package/dist/docs/time-picker.json +9 -1
- package/dist/docs/time-picker.md +2 -1
- package/dist/docs/time-range-picker.json +10 -1
- package/dist/docs/time-range-picker.md +3 -2
- package/dist/docs/toast.examples.md +57 -1
- package/dist/docs/toast.json +15 -6
- package/dist/docs/toast.md +3 -3
- package/dist/drawer-Bx08Xyos.js +923 -0
- package/dist/drawer.js +2 -2
- package/dist/entity-picker-DFQxelpt.js +1499 -0
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-Bxx8eoGK.js → event-calendar-BkGLOaea.js} +527 -527
- package/dist/event-calendar.js +1 -1
- package/dist/{field-N0TiMbaI.js → field-C85R0vVs.js} +6 -6
- package/dist/{field-group-BrnE6FvP.js → field-group-QR1buowc.js} +1 -1
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/filter-bar-CQ0CjZCJ.js +1881 -0
- package/dist/filter-bar.js +1 -1
- package/dist/{hover-card-D9-rb9ts.js → hover-card-DCgVwHxC.js} +25 -25
- package/dist/hover-card.js +1 -1
- package/dist/{import-export-center-BpGga5jr.js → import-export-center-DycVct7z.js} +2 -2
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +132 -132
- package/dist/{list-CvwJXjA0.js → list-DBKKu3Ql.js} +26 -19
- package/dist/{list-item-DHKlkY65.js → list-item-B4W0cAQZ.js} +18 -9
- package/dist/list-item.js +2 -2
- package/dist/list.js +1 -1
- package/dist/{listbox-3XVusnCr.js → listbox-CHa-ekIV.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{markdown-BMda5ino.js → markdown-QdcPI0nq.js} +1 -1
- package/dist/markdown.js +1 -1
- package/dist/{media-viewer-C_cbuAq-.js → media-viewer-_hsM_dLR.js} +1 -1
- package/dist/media-viewer.js +1 -1
- package/dist/menu-parts-KmGR46Np.js +940 -0
- package/dist/menu.js +1 -1
- package/dist/{menubar-CVoAFc6r.js → menubar-3ij92kyN.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/multi-select-kY7LFJqS.js +1489 -0
- package/dist/multi-select.js +1 -1
- package/dist/{number-field-Cp33JMGB.js → number-field-D65B-uRs.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-CEP60HOi.js → otp-input-DN8jHJnY.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/page-header-nMgl8RZu.js +395 -0
- package/dist/page-header.js +2 -2
- package/dist/page.js +1 -1
- package/dist/{picker-frame-C3Fhjfaj.js → picker-frame--0zIvoSA.js} +1 -1
- package/dist/{picker-range-head-B4tsDOc5.js → picker-range-head-BLoTsTRu.js} +13 -5
- package/dist/popover-CUsTCP0m.js +632 -0
- package/dist/popover.js +2 -2
- package/dist/{prompt-composer-CwjvdgBR.js → prompt-composer-i5y3qaDA.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-D6bOV_ea.js → radio-group-DLr2C-XS.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-D8BvDdjM.js → rating-Bb5srSz4.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/saved-views-w9GpSo76.js +526 -0
- package/dist/saved-views.js +1 -1
- package/dist/{segmented-control-BLcGhQ4J.js → segmented-control-Cpx_RYQ6.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/select-CAUuknw3.js +1160 -0
- package/dist/select.js +1 -1
- package/dist/{slider-COLWTaxi.js → slider-CAd6tQlw.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-Czr2D3HP.js → split-button-CNNYK9zU.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/stat-card-Bt92l0qa.js +344 -0
- package/dist/stat-card.js +2 -2
- package/dist/styles/action-bar.css +3 -1
- package/dist/styles/action-sheet.css +4 -2
- package/dist/styles/calendar.css +1 -1
- package/dist/styles/cascader.css +4 -2
- package/dist/styles/chart.css +4 -2
- package/dist/styles/checkbox-group.css +3 -1
- package/dist/styles/checkbox.css +3 -1
- package/dist/styles/collapsible.css +1 -1
- package/dist/styles/color-picker.css +5 -3
- package/dist/styles/column-manager.css +6 -4
- package/dist/styles/combobox.css +4 -2
- package/dist/styles/command-palette.css +8 -4
- package/dist/styles/context-menu.css +3 -1
- package/dist/styles/currency-field.css +3 -1
- package/dist/styles/dashboard-grid.css +5 -3
- package/dist/styles/data-grid.css +15 -13
- package/dist/styles/data-list.css +6 -4
- package/dist/styles/date-field.css +4 -2
- package/dist/styles/date-picker.css +6 -4
- package/dist/styles/date-range-picker.css +7 -5
- package/dist/styles/datetime-field.css +4 -2
- package/dist/styles/datetime-picker.css +7 -5
- package/dist/styles/datetime-range-picker.css +7 -5
- package/dist/styles/detail-panel.css +1 -1
- package/dist/styles/dialog.css +7 -1
- package/dist/styles/drawer.css +3 -1
- package/dist/styles/entity-picker.css +8 -6
- package/dist/styles/event-calendar.css +5 -3
- package/dist/styles/field-group.css +3 -1
- package/dist/styles/field.css +3 -1
- package/dist/styles/filter-bar.css +18 -16
- package/dist/styles/hover-card.css +3 -1
- package/dist/styles/import-export-center.css +14 -12
- package/dist/styles/index.css +35 -33
- package/dist/styles/list-item.css +2 -2
- package/dist/styles/list.css +1 -1
- package/dist/styles/listbox.css +3 -1
- package/dist/styles/markdown.css +3 -1
- package/dist/styles/media-viewer.css +7 -1
- package/dist/styles/menu.css +3 -1
- package/dist/styles/menubar.css +3 -1
- package/dist/styles/multi-select.css +7 -5
- package/dist/styles/number-field.css +3 -1
- package/dist/styles/otp-input.css +3 -1
- package/dist/styles/page-header.css +1 -1
- package/dist/styles/popover.css +3 -1
- package/dist/styles/prompt-composer.css +3 -1
- package/dist/styles/radio-group.css +3 -1
- package/dist/styles/rating.css +3 -1
- package/dist/styles/saved-views.css +7 -3
- package/dist/styles/segmented-control.css +3 -1
- package/dist/styles/select.css +7 -5
- package/dist/styles/slider.css +3 -1
- package/dist/styles/split-button.css +3 -1
- package/dist/styles/stat-card.css +7 -1
- package/dist/styles/switch.css +3 -1
- package/dist/styles/table.css +13 -11
- package/dist/styles/tags-input.css +3 -1
- package/dist/styles/text-field.css +3 -1
- package/dist/styles/textarea.css +3 -1
- package/dist/styles/time-field.css +4 -2
- package/dist/styles/time-picker.css +5 -3
- package/dist/styles/time-range-picker.css +6 -4
- package/dist/styles/toast.css +1 -1
- package/dist/styles/toggle-group.css +3 -1
- package/dist/styles/toolbar.css +3 -1
- package/dist/styles/transfer.css +3 -1
- package/dist/styles/upload.css +4 -2
- package/dist/styles.css +1 -1
- package/dist/{switch-CEbZkLlX.js → switch-DQF6Qg4y.js} +1 -1
- package/dist/switch.js +1 -1
- package/dist/{table-BU7XsbQX.js → table-BHTF9AZK.js} +302 -290
- package/dist/table.js +1 -1
- package/dist/{tags-input-BdjkB19P.js → tags-input-Dp_9HJjh.js} +1 -1
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-QJnu-rln.js → text-field-CEBNOMlK.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-DsrXI3xB.js → textarea-B9hyx3D3.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/time-field-B8KPjZBf.js +380 -0
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-WmeCIySv.js → time-picker-aw-WIlPe.js} +35 -31
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-CwSbsJPt.js → time-range-picker-BN5speYJ.js} +106 -102
- package/dist/time-range-picker.js +1 -1
- package/dist/toast-D7G0-9nW.js +467 -0
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-SP_W-yeh.js → toggle-group-K1U5TQ5h.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/{toolbar-BniP4i1C.js → toolbar-B6ijf51c.js} +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/{transfer-DX6umI2M.js → transfer-A6dqhEGq.js} +5 -5
- package/dist/transfer.js +1 -1
- package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
- package/dist/types/calendar/calendar.d.ts.map +1 -1
- package/dist/types/calendar/calendar.types.d.ts +6 -3
- package/dist/types/calendar/calendar.types.d.ts.map +1 -1
- package/dist/types/cascader/cascader-defaults.d.ts.map +1 -1
- package/dist/types/cascader/cascader-sheet-panel.d.ts +29 -0
- package/dist/types/cascader/cascader-sheet-panel.d.ts.map +1 -0
- package/dist/types/cascader/cascader.d.ts +1 -0
- package/dist/types/cascader/cascader.d.ts.map +1 -1
- package/dist/types/cascader/cascader.types.d.ts +8 -0
- package/dist/types/cascader/cascader.types.d.ts.map +1 -1
- package/dist/types/cascader/index.d.ts +1 -1
- package/dist/types/cascader/index.d.ts.map +1 -1
- package/dist/types/cascader/use-cascader-sheet.d.ts +25 -0
- package/dist/types/cascader/use-cascader-sheet.d.ts.map +1 -0
- package/dist/types/chart/chart.d.ts.map +1 -1
- package/dist/types/chart/chart.types.d.ts +8 -0
- package/dist/types/chart/chart.types.d.ts.map +1 -1
- package/dist/types/chart/index.d.ts +1 -1
- package/dist/types/chart/index.d.ts.map +1 -1
- package/dist/types/color-picker/color-picker.d.ts +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/column-manager/column-manager.types.d.ts +5 -2
- package/dist/types/column-manager/column-manager.types.d.ts.map +1 -1
- package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid-context.d.ts +6 -0
- package/dist/types/dashboard-grid/dashboard-grid-context.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.d.ts +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +8 -0
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/index.d.ts +1 -1
- package/dist/types/dashboard-grid/index.d.ts.map +1 -1
- package/dist/types/dashboard-grid/use-edit-status.d.ts +8 -0
- package/dist/types/dashboard-grid/use-edit-status.d.ts.map +1 -0
- package/dist/types/data-grid/data-grid-filter.d.ts.map +1 -1
- package/dist/types/date-field/date-field.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker-defaults.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.types.d.ts +5 -0
- package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
- package/dist/types/date-picker/index.d.ts +1 -1
- package/dist/types/date-picker/index.d.ts.map +1 -1
- package/dist/types/date-picker/use-date-picker.d.ts +2 -1
- package/dist/types/date-picker/use-date-picker.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker-defaults.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.types.d.ts +5 -0
- package/dist/types/date-range-picker/date-range-picker.types.d.ts.map +1 -1
- package/dist/types/date-range-picker/index.d.ts +1 -1
- package/dist/types/date-range-picker/index.d.ts.map +1 -1
- package/dist/types/date-range-picker/use-date-range-picker.d.ts +1 -0
- package/dist/types/date-range-picker/use-date-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-field/datetime-field.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker-defaults.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.types.d.ts +5 -0
- package/dist/types/datetime-picker/datetime-picker.types.d.ts.map +1 -1
- package/dist/types/datetime-picker/index.d.ts +1 -1
- package/dist/types/datetime-picker/index.d.ts.map +1 -1
- package/dist/types/datetime-picker/use-datetime-picker.d.ts +1 -0
- package/dist/types/datetime-picker/use-datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +5 -0
- package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/index.d.ts +1 -1
- package/dist/types/datetime-range-picker/index.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts +1 -0
- package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts.map +1 -1
- package/dist/types/dialog/dialog-defaults.d.ts.map +1 -1
- package/dist/types/dialog/dialog-parts.d.ts +1 -1
- package/dist/types/dialog/dialog-parts.d.ts.map +1 -1
- package/dist/types/dialog/dialog-sheet-footer.d.ts +7 -0
- package/dist/types/dialog/dialog-sheet-footer.d.ts.map +1 -0
- package/dist/types/dialog/dialog.d.ts +1 -0
- package/dist/types/dialog/dialog.d.ts.map +1 -1
- package/dist/types/dialog/dialog.types.d.ts +25 -0
- package/dist/types/dialog/dialog.types.d.ts.map +1 -1
- package/dist/types/dialog/index.d.ts +1 -1
- package/dist/types/dialog/index.d.ts.map +1 -1
- package/dist/types/dialog/use-dialog-sheet.d.ts +8 -0
- package/dist/types/dialog/use-dialog-sheet.d.ts.map +1 -0
- package/dist/types/drawer/drawer-parts.d.ts +10 -2
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/drawer/drawer.d.ts +2 -1
- package/dist/types/drawer/drawer.d.ts.map +1 -1
- package/dist/types/drawer/drawer.types.d.ts +21 -0
- package/dist/types/drawer/drawer.types.d.ts.map +1 -1
- package/dist/types/drawer/index.d.ts +2 -2
- package/dist/types/drawer/index.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-defaults.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-popup.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-sheet-panel.d.ts +17 -0
- package/dist/types/entity-picker/entity-picker-sheet-panel.d.ts.map +1 -0
- package/dist/types/entity-picker/entity-picker.d.ts +3 -0
- package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker.types.d.ts +8 -0
- package/dist/types/entity-picker/entity-picker.types.d.ts.map +1 -1
- package/dist/types/entity-picker/index.d.ts +1 -1
- package/dist/types/entity-picker/index.d.ts.map +1 -1
- package/dist/types/entity-picker/sheet-keys.d.ts +9 -0
- package/dist/types/entity-picker/sheet-keys.d.ts.map +1 -0
- package/dist/types/entity-picker/use-entity-picker-sheet.d.ts +16 -0
- package/dist/types/entity-picker/use-entity-picker-sheet.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-editor.d.ts +21 -0
- package/dist/types/filter-bar/filter-bar-sheet-editor.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-list.d.ts +19 -0
- package/dist/types/filter-bar/filter-bar-sheet-list.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-notice.d.ts +17 -0
- package/dist/types/filter-bar/filter-bar-sheet-notice.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-operands.d.ts +22 -0
- package/dist/types/filter-bar/filter-bar-sheet-operands.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-option.d.ts +12 -0
- package/dist/types/filter-bar/filter-bar-sheet-option.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-row.d.ts +15 -0
- package/dist/types/filter-bar/filter-bar-sheet-row.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet-words.d.ts +11 -0
- package/dist/types/filter-bar/filter-bar-sheet-words.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar-sheet.d.ts +36 -0
- package/dist/types/filter-bar/filter-bar-sheet.d.ts.map +1 -0
- package/dist/types/filter-bar/filter-bar.d.ts +1 -1
- package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar.types.d.ts +59 -1
- package/dist/types/filter-bar/filter-bar.types.d.ts.map +1 -1
- package/dist/types/filter-bar/index.d.ts +1 -1
- package/dist/types/filter-bar/index.d.ts.map +1 -1
- package/dist/types/filter-bar/use-sheet-draft.d.ts +12 -0
- package/dist/types/filter-bar/use-sheet-draft.d.ts.map +1 -0
- package/dist/types/list/index.d.ts +1 -1
- package/dist/types/list/index.d.ts.map +1 -1
- package/dist/types/list/list-defaults.d.ts.map +1 -1
- package/dist/types/list/list.d.ts +1 -1
- package/dist/types/list/list.d.ts.map +1 -1
- package/dist/types/list/list.types.d.ts +28 -0
- package/dist/types/list/list.types.d.ts.map +1 -1
- package/dist/types/list-item/index.d.ts +1 -1
- package/dist/types/list-item/index.d.ts.map +1 -1
- package/dist/types/list-item/list-item-parts.d.ts +7 -0
- package/dist/types/list-item/list-item-parts.d.ts.map +1 -1
- package/dist/types/list-item/list-item.d.ts.map +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/types/menu/menu.d.ts +1 -0
- package/dist/types/menu/menu.d.ts.map +1 -1
- package/dist/types/menu/menu.types.d.ts +6 -2
- package/dist/types/menu/menu.types.d.ts.map +1 -1
- package/dist/types/menu/use-menu-sheet.d.ts +7 -5
- package/dist/types/menu/use-menu-sheet.d.ts.map +1 -1
- package/dist/types/multi-select/index.d.ts +1 -1
- package/dist/types/multi-select/index.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-chips.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-defaults.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-items.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-sheet-panel.d.ts +21 -0
- package/dist/types/multi-select/multi-select-sheet-panel.d.ts.map +1 -0
- package/dist/types/multi-select/multi-select.d.ts +5 -0
- package/dist/types/multi-select/multi-select.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select.types.d.ts +7 -0
- package/dist/types/multi-select/multi-select.types.d.ts.map +1 -1
- package/dist/types/multi-select/use-multi-select-sheet.d.ts +16 -0
- package/dist/types/multi-select/use-multi-select-sheet.d.ts.map +1 -0
- package/dist/types/page-header/index.d.ts +2 -1
- package/dist/types/page-header/index.d.ts.map +1 -1
- package/dist/types/page-header/page-header-notice.d.ts +10 -0
- package/dist/types/page-header/page-header-notice.d.ts.map +1 -0
- package/dist/types/page-header/page-header.types.d.ts +17 -0
- package/dist/types/page-header/page-header.types.d.ts.map +1 -1
- package/dist/types/picker-panel/picker-layer.d.ts +1 -0
- package/dist/types/picker-panel/picker-layer.d.ts.map +1 -1
- package/dist/types/picker-panel/use-picker-layer.d.ts +2 -0
- package/dist/types/picker-panel/use-picker-layer.d.ts.map +1 -1
- package/dist/types/popover/index.d.ts +2 -2
- package/dist/types/popover/index.d.ts.map +1 -1
- package/dist/types/popover/popover-parts.d.ts +4 -2
- package/dist/types/popover/popover-parts.d.ts.map +1 -1
- package/dist/types/popover/popover.d.ts +1 -0
- package/dist/types/popover/popover.d.ts.map +1 -1
- package/dist/types/popover/popover.types.d.ts +10 -0
- package/dist/types/popover/popover.types.d.ts.map +1 -1
- package/dist/types/saved-views/saved-views-name-field.d.ts +11 -0
- package/dist/types/saved-views/saved-views-name-field.d.ts.map +1 -0
- package/dist/types/saved-views/saved-views-name-sheet.d.ts +23 -0
- package/dist/types/saved-views/saved-views-name-sheet.d.ts.map +1 -0
- package/dist/types/saved-views/saved-views.d.ts.map +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/select/select-sheet-panel.d.ts +21 -0
- package/dist/types/select/select-sheet-panel.d.ts.map +1 -0
- package/dist/types/select/select.d.ts +2 -1
- package/dist/types/select/select.d.ts.map +1 -1
- package/dist/types/select/select.types.d.ts +3 -3
- package/dist/types/select/use-select-sheet.d.ts +7 -3
- package/dist/types/select/use-select-sheet.d.ts.map +1 -1
- package/dist/types/sheet/use-sheet.d.ts +22 -0
- package/dist/types/sheet/use-sheet.d.ts.map +1 -0
- package/dist/types/stat-card/delta-run.d.ts +15 -0
- package/dist/types/stat-card/delta-run.d.ts.map +1 -0
- package/dist/types/stat-card/index.d.ts +3 -1
- package/dist/types/stat-card/index.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-group.d.ts +10 -0
- package/dist/types/stat-card/stat-card-group.d.ts.map +1 -0
- package/dist/types/stat-card/stat-card.types.d.ts +38 -0
- package/dist/types/stat-card/stat-card.types.d.ts.map +1 -1
- package/dist/types/stat-card/stat-delta.d.ts +9 -0
- package/dist/types/stat-card/stat-delta.d.ts.map +1 -0
- package/dist/types/table/table-filter.d.ts.map +1 -1
- package/dist/types/time-field/time-field.d.ts.map +1 -1
- package/dist/types/time-picker/index.d.ts +1 -1
- package/dist/types/time-picker/index.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker-defaults.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker.types.d.ts +5 -0
- package/dist/types/time-picker/time-picker.types.d.ts.map +1 -1
- package/dist/types/time-picker/use-time-picker.d.ts +1 -0
- package/dist/types/time-picker/use-time-picker.d.ts.map +1 -1
- package/dist/types/time-range-picker/index.d.ts +1 -1
- package/dist/types/time-range-picker/index.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker-defaults.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.types.d.ts +5 -0
- package/dist/types/time-range-picker/time-range-picker.types.d.ts.map +1 -1
- package/dist/types/time-range-picker/use-time-range-picker.d.ts +1 -0
- package/dist/types/time-range-picker/use-time-range-picker.d.ts.map +1 -1
- package/dist/types/toast/toast-parts.d.ts.map +1 -1
- package/dist/types/toast/toast.d.ts.map +1 -1
- package/dist/types/toast/toast.types.d.ts +6 -2
- package/dist/types/toast/toast.types.d.ts.map +1 -1
- package/dist/types/toast/use-toast-keyboard-inset.d.ts +7 -0
- package/dist/types/toast/use-toast-keyboard-inset.d.ts.map +1 -0
- package/dist/types/toast/use-toast-reach.d.ts +28 -0
- package/dist/types/toast/use-toast-reach.d.ts.map +1 -0
- package/dist/types/toast/use-toast-swipe.d.ts +6 -0
- package/dist/types/toast/use-toast-swipe.d.ts.map +1 -0
- package/dist/{upload-BtD1nLHa.js → upload-BUNMpgbU.js} +2 -2
- package/dist/upload.js +1 -1
- package/dist/{use-date-picker-CwH791Jm.js → use-date-picker-CXtGSr7_.js} +5 -2
- package/dist/{use-picker-draft-BnLS4lDY.js → use-picker-draft-DBzDfMwd.js} +110 -109
- package/dist/use-sheet-DFy3znDR.js +44 -0
- package/package.json +13 -8
- package/dist/action-sheet-q1UXXruJ.js +0 -360
- package/dist/cascader-BbhADVGt.js +0 -1160
- package/dist/column-manager-Cc72e1j-.js +0 -586
- package/dist/dashboard-grid-_3H4G0dP.js +0 -1207
- package/dist/date-field-CjlOWVRA.js +0 -299
- package/dist/date-picker-BoIHK8_U.js +0 -346
- package/dist/datetime-field-PSEOgzfN.js +0 -424
- package/dist/dialog-CjOBjHrL.js +0 -537
- package/dist/drawer-JP3p-QZB.js +0 -879
- package/dist/entity-picker-BWpuo-mp.js +0 -1292
- package/dist/filter-bar-nQH58RVl.js +0 -1358
- package/dist/menu-parts-DXs5YuUA.js +0 -932
- package/dist/multi-select-IpsZvoQ2.js +0 -1259
- package/dist/page-header-DK896DGD.js +0 -367
- package/dist/popover-DED1MTi-.js +0 -615
- package/dist/saved-views-D-CP7JIE.js +0 -459
- package/dist/select-Dbc3ng0M.js +0 -1124
- package/dist/stat-card-D6NMjkZM.js +0 -295
- package/dist/time-field-DlZdMsNw.js +0 -366
- package/dist/toast-C3xLEFDE.js +0 -474
- /package/dist/{page-DT8L0iRT.js → use-page-size-class-Cv1DbtKx.js} +0 -0
package/dist/docs/cascader.json
CHANGED
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
true,
|
|
52
52
|
false
|
|
53
53
|
],
|
|
54
|
+
"presentation": [
|
|
55
|
+
"popover",
|
|
56
|
+
"auto"
|
|
57
|
+
],
|
|
54
58
|
"disabled": [
|
|
55
59
|
true,
|
|
56
60
|
false
|
|
@@ -91,6 +95,7 @@
|
|
|
91
95
|
"search": false,
|
|
92
96
|
"clearable": true,
|
|
93
97
|
"portal": true,
|
|
98
|
+
"presentation": "auto",
|
|
94
99
|
"disabled": false,
|
|
95
100
|
"readOnly": false,
|
|
96
101
|
"required": false,
|
|
@@ -148,7 +153,13 @@
|
|
|
148
153
|
"busy",
|
|
149
154
|
"arrow",
|
|
150
155
|
"positioner",
|
|
156
|
+
"backdrop",
|
|
151
157
|
"content",
|
|
158
|
+
"grip",
|
|
159
|
+
"header",
|
|
160
|
+
"bar",
|
|
161
|
+
"back",
|
|
162
|
+
"title",
|
|
152
163
|
"search",
|
|
153
164
|
"search-input",
|
|
154
165
|
"breadcrumb",
|
|
@@ -165,7 +176,8 @@
|
|
|
165
176
|
"expander",
|
|
166
177
|
"loader",
|
|
167
178
|
"status",
|
|
168
|
-
"empty"
|
|
179
|
+
"empty",
|
|
180
|
+
"footer"
|
|
169
181
|
]
|
|
170
182
|
}
|
|
171
183
|
},
|
|
@@ -247,11 +259,47 @@
|
|
|
247
259
|
"required": true,
|
|
248
260
|
"purpose": "The layer the positioner places. It carries data-layout and reserves the widest width the window of columns can reach, so a growing path never moves it."
|
|
249
261
|
},
|
|
262
|
+
{
|
|
263
|
+
"part": "backdrop",
|
|
264
|
+
"element": "div",
|
|
265
|
+
"required": false,
|
|
266
|
+
"purpose": "The scrim over the page while the tree is a sheet (presentation=\"auto\" on a phone), aria-hidden. A press on it closes the sheet."
|
|
267
|
+
},
|
|
250
268
|
{
|
|
251
269
|
"part": "content",
|
|
252
270
|
"element": "div",
|
|
253
271
|
"required": true,
|
|
254
|
-
"purpose": "The surface. role=\"dialog\" with search; on its own, with data-ui, it is the panel on the page."
|
|
272
|
+
"purpose": "The surface. role=\"dialog\" with search; on its own, with data-ui, it is the panel on the page. In the sheet it is a dialog, aria-modal and named by the title, that holds the header, the breadcrumb, one level of the tree and the footer."
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"part": "grip",
|
|
276
|
+
"element": "span",
|
|
277
|
+
"required": false,
|
|
278
|
+
"purpose": "The bar at the top of the sheet, aria-hidden. A mouse pulls the sheet by it; a touch moves the sheet anywhere on it."
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"part": "header",
|
|
282
|
+
"element": "div",
|
|
283
|
+
"required": false,
|
|
284
|
+
"purpose": "The head of the sheet, sticking to the top of the screen: the bar, then the search row under search."
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"part": "bar",
|
|
288
|
+
"element": "div",
|
|
289
|
+
"required": false,
|
|
290
|
+
"purpose": "The row of the header holding the way back and the title."
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"part": "back",
|
|
294
|
+
"element": "button",
|
|
295
|
+
"required": false,
|
|
296
|
+
"purpose": "The way up one level, before the title, named “Back to” the level above. Drawn below the roots, and not while a query is shown."
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"part": "title",
|
|
300
|
+
"element": "div",
|
|
301
|
+
"required": false,
|
|
302
|
+
"purpose": "The heading of the sheet: the label of the control, as a reader hears it."
|
|
255
303
|
},
|
|
256
304
|
{
|
|
257
305
|
"part": "search",
|
|
@@ -354,6 +402,12 @@
|
|
|
354
402
|
"element": "div",
|
|
355
403
|
"required": false,
|
|
356
404
|
"purpose": "A level with nothing in it, or a query with no answer."
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"part": "footer",
|
|
408
|
+
"element": "footer",
|
|
409
|
+
"required": false,
|
|
410
|
+
"purpose": "Drawn only in the sheet of a multiple cascader: a full-width Done that closes it with the choices as they were made."
|
|
357
411
|
}
|
|
358
412
|
],
|
|
359
413
|
"api": [
|
|
@@ -602,6 +656,13 @@
|
|
|
602
656
|
"appliesTo": "Cascader",
|
|
603
657
|
"description": "Whether the layer is rendered at the end of the document."
|
|
604
658
|
},
|
|
659
|
+
{
|
|
660
|
+
"name": "presentation",
|
|
661
|
+
"type": "'popover' | 'auto'",
|
|
662
|
+
"defaultValue": "auto",
|
|
663
|
+
"appliesTo": "Cascader",
|
|
664
|
+
"description": "auto, the default, draws the tree in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, one level per screen with a way back before its title, headed by the field’s label and, under search, a search field of its own, at the full height of the screen less a strip of scrim, moved as every bottom sheet is. A single cascader closes on a choice; a multiple one stays open and ends in Done. A release past the threshold, the scrim, Escape and the platform’s way back close it, each by one slide down in the --slotted-sheet-* tokens, and focus goes back to the trigger. popover keeps the anchored layer on every screen."
|
|
665
|
+
},
|
|
605
666
|
{
|
|
606
667
|
"name": "disabled",
|
|
607
668
|
"type": "boolean",
|
|
@@ -820,6 +881,8 @@
|
|
|
820
881
|
"--slotted-disabled-background",
|
|
821
882
|
"--slotted-disabled-border",
|
|
822
883
|
"--slotted-disabled-foreground",
|
|
884
|
+
"--slotted-duration-instant",
|
|
885
|
+
"--slotted-duration-long",
|
|
823
886
|
"--slotted-duration-medium",
|
|
824
887
|
"--slotted-duration-short",
|
|
825
888
|
"--slotted-easing-enter",
|
|
@@ -829,7 +892,9 @@
|
|
|
829
892
|
"--slotted-focus-ring-color-invalid",
|
|
830
893
|
"--slotted-focus-ring-offset",
|
|
831
894
|
"--slotted-focus-ring-width",
|
|
895
|
+
"--slotted-font-family-heading",
|
|
832
896
|
"--slotted-font-family-sans",
|
|
897
|
+
"--slotted-font-size-md",
|
|
833
898
|
"--slotted-font-size-xs",
|
|
834
899
|
"--slotted-font-weight-medium",
|
|
835
900
|
"--slotted-font-weight-semibold",
|
|
@@ -840,14 +905,20 @@
|
|
|
840
905
|
"--slotted-radius-none",
|
|
841
906
|
"--slotted-radius-sm",
|
|
842
907
|
"--slotted-radius-xs",
|
|
908
|
+
"--slotted-scrim",
|
|
843
909
|
"--slotted-selection-size-lg",
|
|
844
910
|
"--slotted-selection-size-md",
|
|
845
911
|
"--slotted-selection-size-sm",
|
|
846
912
|
"--slotted-shadow-md",
|
|
913
|
+
"--slotted-sheet-scrim",
|
|
847
914
|
"--slotted-space-1",
|
|
915
|
+
"--slotted-space-12",
|
|
848
916
|
"--slotted-space-2",
|
|
917
|
+
"--slotted-space-3",
|
|
918
|
+
"--slotted-space-4",
|
|
849
919
|
"--slotted-space-5",
|
|
850
920
|
"--slotted-space-6",
|
|
921
|
+
"--slotted-space-7",
|
|
851
922
|
"--slotted-surface-raised",
|
|
852
923
|
"--slotted-surface-sunken",
|
|
853
924
|
"--slotted-target-comfortable",
|
package/dist/docs/cascader.md
CHANGED
|
@@ -104,7 +104,13 @@ export default function CascaderBasicExample() {
|
|
|
104
104
|
| `busy` | span | no |
|
|
105
105
|
| `arrow` | span | no |
|
|
106
106
|
| `positioner` | div | yes |
|
|
107
|
+
| `backdrop` | div | no |
|
|
107
108
|
| `content` | div | yes |
|
|
109
|
+
| `grip` | span | no |
|
|
110
|
+
| `header` | div | no |
|
|
111
|
+
| `bar` | div | no |
|
|
112
|
+
| `back` | button | no |
|
|
113
|
+
| `title` | div | no |
|
|
108
114
|
| `search` | div | no |
|
|
109
115
|
| `search-input` | input | no |
|
|
110
116
|
| `breadcrumb` | nav | no |
|
|
@@ -122,6 +128,7 @@ export default function CascaderBasicExample() {
|
|
|
122
128
|
| `loader` | div | no |
|
|
123
129
|
| `status` | div | no |
|
|
124
130
|
| `empty` | div | no |
|
|
131
|
+
| `footer` | footer | no |
|
|
125
132
|
|
|
126
133
|
## Props
|
|
127
134
|
|
|
@@ -162,6 +169,7 @@ export default function CascaderBasicExample() {
|
|
|
162
169
|
| `search` | `boolean` | false | Cascader, CascaderPanel | A field that finds nodes at any depth. |
|
|
163
170
|
| `clearable` | `boolean` | true | Cascader | Whether a clear button stands in the control while it holds a value. |
|
|
164
171
|
| `portal` | `boolean` | true | Cascader | Whether the layer is rendered at the end of the document. |
|
|
172
|
+
| `presentation` | `'popover' \| 'auto'` | auto | Cascader | auto, the default, draws the tree in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, one level per screen with a way back before its title, headed by the field’s label and, under search, a search field of its own, at the full height of the screen less a strip of scrim, moved as every bottom sheet is. A single cascader closes on a choice; a multiple one stays open and ends in Done. A release past the threshold, the scrim, Escape and the platform’s way back close it, each by one slide down in the --slotted-sheet-* tokens, and focus goes back to the trigger. popover keeps the anchored layer on every screen. |
|
|
165
173
|
| `disabled` | `boolean` | false | Cascader, CascaderPanel | Never opens and answers nothing. |
|
|
166
174
|
| `readOnly` | `boolean` | false | Cascader, CascaderPanel | Opens and walks, and refuses every change. |
|
|
167
175
|
| `required` | `boolean` | false | Cascader | Says aria-required. |
|
|
@@ -205,6 +213,7 @@ export default function CascaderBasicExample() {
|
|
|
205
213
|
| `search` | `true`, `false` | `false` |
|
|
206
214
|
| `clearable` | `true`, `false` | `true` |
|
|
207
215
|
| `portal` | `true`, `false` | `true` |
|
|
216
|
+
| `presentation` | `popover`, `auto` | `auto` |
|
|
208
217
|
| `disabled` | `true`, `false` | `false` |
|
|
209
218
|
| `readOnly` | `true`, `false` | `false` |
|
|
210
219
|
| `required` | `true`, `false` | `false` |
|
|
@@ -221,7 +230,7 @@ export default function CascaderBasicExample() {
|
|
|
221
230
|
|
|
222
231
|
## Tokens
|
|
223
232
|
|
|
224
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-cascader-arrow-color`, `--slotted-cascader-background`, `--slotted-cascader-border-color`, `--slotted-cascader-border-subtle`, `--slotted-cascader-column-measure`, `--slotted-cascader-content-radius`, `--slotted-cascader-content-shadow`, `--slotted-cascader-highlight`, `--slotted-cascader-highlight-active`, `--slotted-cascader-highlight-ring`, `--slotted-cascader-hover-border-color`, `--slotted-cascader-icon-size-min`, `--slotted-cascader-indent`, `--slotted-cascader-invalid-border-color`, `--slotted-cascader-invalid-edge-width`, `--slotted-cascader-mark-inset`, `--slotted-cascader-open-border-color`, `--slotted-cascader-path`, `--slotted-cascader-placeholder-color`, `--slotted-cascader-radius`, `--slotted-cascader-selected-color`, `--slotted-cascader-separator-color`, `--slotted-cascader-surface`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-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-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-selection-size-lg`, `--slotted-selection-size-md`, `--slotted-selection-size-sm`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-z-index-popover`
|
|
233
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-cascader-arrow-color`, `--slotted-cascader-background`, `--slotted-cascader-border-color`, `--slotted-cascader-border-subtle`, `--slotted-cascader-column-measure`, `--slotted-cascader-content-radius`, `--slotted-cascader-content-shadow`, `--slotted-cascader-highlight`, `--slotted-cascader-highlight-active`, `--slotted-cascader-highlight-ring`, `--slotted-cascader-hover-border-color`, `--slotted-cascader-icon-size-min`, `--slotted-cascader-indent`, `--slotted-cascader-invalid-border-color`, `--slotted-cascader-invalid-edge-width`, `--slotted-cascader-mark-inset`, `--slotted-cascader-open-border-color`, `--slotted-cascader-path`, `--slotted-cascader-placeholder-color`, `--slotted-cascader-radius`, `--slotted-cascader-selected-color`, `--slotted-cascader-separator-color`, `--slotted-cascader-surface`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-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-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-scrim`, `--slotted-selection-size-lg`, `--slotted-selection-size-md`, `--slotted-selection-size-sm`, `--slotted-shadow-md`, `--slotted-sheet-scrim`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-z-index-popover`
|
|
225
234
|
|
|
226
235
|
## Examples
|
|
227
236
|
|
package/dist/docs/chart.json
CHANGED
|
@@ -118,6 +118,11 @@
|
|
|
118
118
|
"legendOverflow": [
|
|
119
119
|
"collapse",
|
|
120
120
|
"wrap"
|
|
121
|
+
],
|
|
122
|
+
"actionsPlacement": [
|
|
123
|
+
"inline",
|
|
124
|
+
"below",
|
|
125
|
+
"auto"
|
|
121
126
|
]
|
|
122
127
|
},
|
|
123
128
|
"members": {
|
|
@@ -147,6 +152,7 @@
|
|
|
147
152
|
"toolbar": "visible",
|
|
148
153
|
"palette": "categorical",
|
|
149
154
|
"legendOverflow": "collapse",
|
|
155
|
+
"actionsPlacement": "inline",
|
|
150
156
|
"fullscreen": false
|
|
151
157
|
},
|
|
152
158
|
"capabilities": [
|
|
@@ -755,6 +761,13 @@
|
|
|
755
761
|
"appliesTo": "Chart",
|
|
756
762
|
"description": "Each item’s value at the active point, or its last"
|
|
757
763
|
},
|
|
764
|
+
{
|
|
765
|
+
"name": "actionsPlacement",
|
|
766
|
+
"type": "'inline' | 'below' | 'auto'",
|
|
767
|
+
"defaultValue": "inline",
|
|
768
|
+
"appliesTo": "Chart",
|
|
769
|
+
"description": "Where the header draws actions: on the title’s line; below, on a row of their own under the title and the toolbar across the header’s width, where a fullWidth control spans the card; auto, below in a chart 480 pixels wide or less and inline otherwise"
|
|
770
|
+
},
|
|
758
771
|
{
|
|
759
772
|
"name": "legendOverflow",
|
|
760
773
|
"type": "'collapse' | 'wrap'",
|
|
@@ -993,7 +1006,7 @@
|
|
|
993
1006
|
"type": "ChartDefaults",
|
|
994
1007
|
"defaultValue": "—",
|
|
995
1008
|
"appliesTo": "Application",
|
|
996
|
-
"description": "size, variant, palette, toolbar, renderer, grid, legendOverflow, tooltip and animate, once; a prop still wins"
|
|
1009
|
+
"description": "size, variant, palette, toolbar, renderer, grid, legendOverflow, actionsPlacement, tooltip and animate, once; a prop still wins"
|
|
997
1010
|
},
|
|
998
1011
|
{
|
|
999
1012
|
"name": "preloadChartEngine",
|
|
@@ -1099,6 +1112,7 @@
|
|
|
1099
1112
|
"--slotted-chart-table-surface",
|
|
1100
1113
|
"--slotted-chart-tooltip-surface",
|
|
1101
1114
|
"--slotted-control-border-color",
|
|
1115
|
+
"--slotted-control-fine-height-sm",
|
|
1102
1116
|
"--slotted-control-font-size-sm",
|
|
1103
1117
|
"--slotted-control-gap-md",
|
|
1104
1118
|
"--slotted-control-gap-sm",
|
package/dist/docs/chart.md
CHANGED
|
@@ -133,6 +133,7 @@ export default function ChartBasicExample() {
|
|
|
133
133
|
| `legend` | `boolean` | true | Chart | Whether the legend is drawn |
|
|
134
134
|
| `legendInteractive` | `boolean` | true | Chart | Legend items as toggles, or as a static key |
|
|
135
135
|
| `legendValues` | `boolean` | false | Chart | Each item’s value at the active point, or its last |
|
|
136
|
+
| `actionsPlacement` | `'inline' \| 'below' \| 'auto'` | inline | Chart | Where the header draws actions: on the title’s line; below, on a row of their own under the title and the toolbar across the header’s width, where a fullWidth control spans the card; auto, below in a chart 480 pixels wide or less and inline otherwise |
|
|
136
137
|
| `legendOverflow` | `'collapse' \| 'wrap'` | collapse | Chart | One line and +N, or as many lines as it takes |
|
|
137
138
|
| `trigger` | `'axis' \| 'item' \| 'none'` | axis | Chart | What the tooltip reads: the category, the point, or nothing. item for pie and scatter |
|
|
138
139
|
| `tooltip` | `ChartTooltipSettings` | — | Chart | sort, total and indicator for the default tooltip |
|
|
@@ -166,7 +167,7 @@ export default function ChartBasicExample() {
|
|
|
166
167
|
| `extendOption` | `(option) => option` | — | Chart | The engine’s option before it is drawn: the escape hatch for what the contract does not say |
|
|
167
168
|
| `handleRef` | `Ref<ChartHandle>` | — | Chart | focus(), resetZoom(), toDataURL() and toCsv() |
|
|
168
169
|
| `ref` | `Ref<HTMLElement>` | — | Chart | The figure. Native attributes pass through |
|
|
169
|
-
| `ChartDefaultsProvider` | `ChartDefaults` | — | Application | size, variant, palette, toolbar, renderer, grid, legendOverflow, tooltip and animate, once; a prop still wins |
|
|
170
|
+
| `ChartDefaultsProvider` | `ChartDefaults` | — | Application | size, variant, palette, toolbar, renderer, grid, legendOverflow, actionsPlacement, tooltip and animate, once; a prop still wins |
|
|
170
171
|
| `preloadChartEngine` | `(kinds?: ChartKind[]) => Promise<void>` | — | Application | Fetches the engine chunks ahead of the first chart, on a route’s loader |
|
|
171
172
|
|
|
172
173
|
## Events
|
|
@@ -207,6 +208,7 @@ export default function ChartBasicExample() {
|
|
|
207
208
|
| `toolbar` | `visible`, `hover`, `none` | `visible` |
|
|
208
209
|
| `palette` | `categorical`, `sequential`, `focus` | `categorical` |
|
|
209
210
|
| `legendOverflow` | `collapse`, `wrap` | `collapse` |
|
|
211
|
+
| `actionsPlacement` | `inline`, `below`, `auto` | `inline` |
|
|
210
212
|
|
|
211
213
|
## Rules
|
|
212
214
|
|
|
@@ -219,7 +221,7 @@ export default function ChartBasicExample() {
|
|
|
219
221
|
|
|
220
222
|
## Tokens
|
|
221
223
|
|
|
222
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-chart-area-opacity`, `--slotted-chart-axis-color`, `--slotted-chart-band-color`, `--slotted-chart-bar-radius`, `--slotted-chart-card-padding-block`, `--slotted-chart-card-padding-inline`, `--slotted-chart-card-radius`, `--slotted-chart-color-1`, `--slotted-chart-color-2`, `--slotted-chart-color-3`, `--slotted-chart-color-4`, `--slotted-chart-color-5`, `--slotted-chart-color-6`, `--slotted-chart-color-7`, `--slotted-chart-color-8`, `--slotted-chart-crosshair-color`, `--slotted-chart-focus-color`, `--slotted-chart-gap`, `--slotted-chart-grid-color`, `--slotted-chart-header-gap`, `--slotted-chart-inset`, `--slotted-chart-label-color`, `--slotted-chart-label-size`, `--slotted-chart-line-width`, `--slotted-chart-marker-size`, `--slotted-chart-overlay-backdrop-filter`, `--slotted-chart-plot-block-size`, `--slotted-chart-plot-block-size-lg`, `--slotted-chart-plot-block-size-sm`, `--slotted-chart-radius`, `--slotted-chart-reference-color`, `--slotted-chart-sequential-color`, `--slotted-chart-skeleton-hole`, `--slotted-chart-surface`, `--slotted-chart-table-header-surface`, `--slotted-chart-table-surface`, `--slotted-chart-tooltip-surface`, `--slotted-control-border-color`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-4`, `--slotted-data-5`, `--slotted-data-6`, `--slotted-data-7`, `--slotted-data-8`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-overlay`, `--slotted-z-index-popover`
|
|
224
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-chart-area-opacity`, `--slotted-chart-axis-color`, `--slotted-chart-band-color`, `--slotted-chart-bar-radius`, `--slotted-chart-card-padding-block`, `--slotted-chart-card-padding-inline`, `--slotted-chart-card-radius`, `--slotted-chart-color-1`, `--slotted-chart-color-2`, `--slotted-chart-color-3`, `--slotted-chart-color-4`, `--slotted-chart-color-5`, `--slotted-chart-color-6`, `--slotted-chart-color-7`, `--slotted-chart-color-8`, `--slotted-chart-crosshair-color`, `--slotted-chart-focus-color`, `--slotted-chart-gap`, `--slotted-chart-grid-color`, `--slotted-chart-header-gap`, `--slotted-chart-inset`, `--slotted-chart-label-color`, `--slotted-chart-label-size`, `--slotted-chart-line-width`, `--slotted-chart-marker-size`, `--slotted-chart-overlay-backdrop-filter`, `--slotted-chart-plot-block-size`, `--slotted-chart-plot-block-size-lg`, `--slotted-chart-plot-block-size-sm`, `--slotted-chart-radius`, `--slotted-chart-reference-color`, `--slotted-chart-sequential-color`, `--slotted-chart-skeleton-hole`, `--slotted-chart-surface`, `--slotted-chart-table-header-surface`, `--slotted-chart-table-surface`, `--slotted-chart-tooltip-surface`, `--slotted-control-border-color`, `--slotted-control-fine-height-sm`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-4`, `--slotted-data-5`, `--slotted-data-6`, `--slotted-data-7`, `--slotted-data-8`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-overlay`, `--slotted-z-index-popover`
|
|
223
225
|
|
|
224
226
|
## Examples
|
|
225
227
|
|
|
@@ -22,7 +22,7 @@ Excerpt — not a complete module
|
|
|
22
22
|
|
|
23
23
|
### The three ways it is drawn
|
|
24
24
|
|
|
25
|
-
plain paints no chrome, ruled puts a hairline above the header so a stack reads as one list, and framed is a card.
|
|
25
|
+
plain paints no chrome, ruled puts a hairline above the header so a stack reads as one list, and framed is a card. The header is the same in all three; plain sets its panel content on the edges of its column, and the other two inset it by the control padding.
|
|
26
26
|
|
|
27
27
|
Example
|
|
28
28
|
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"type": "'plain' | 'ruled' | 'framed'",
|
|
190
190
|
"defaultValue": "plain",
|
|
191
191
|
"appliesTo": "Collapsible, CollapsibleDefaultsProvider",
|
|
192
|
-
"description": "plain paints no chrome, ruled draws a hairline above the header so a stack reads as one list, and framed is its own card. An Accordion hands its items the one its own variant maps onto."
|
|
192
|
+
"description": "plain paints no chrome and sets its panel content on the edges of its column, ruled draws a hairline above the header so a stack reads as one list, and framed is its own card. ruled and framed inset the panel content by the control padding. An Accordion hands its items the one its own variant maps onto."
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"name": "indicator",
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
{
|
|
412
412
|
"id": "variant",
|
|
413
413
|
"title": "The three ways it is drawn",
|
|
414
|
-
"note": "plain paints no chrome, ruled puts a hairline above the header so a stack reads as one list, and framed is a card.
|
|
414
|
+
"note": "plain paints no chrome, ruled puts a hairline above the header so a stack reads as one list, and framed is a card. The header is the same in all three; plain sets its panel content on the edges of its column, and the other two inset it by the control padding.",
|
|
415
415
|
"language": "tsx",
|
|
416
416
|
"source": "import {\n Collapsible,\n CollapsibleHeader,\n CollapsiblePanel,\n CollapsibleTrigger,\n} from '@slotted/react/collapsible';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function CollapsibleVariant() {\n return (\n <Stack gap={4}>\n <Collapsible defaultOpen variant=\"plain\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Payment terms</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Net 30 from the invoice date.</CollapsiblePanel>\n </Collapsible>\n\n <Collapsible defaultOpen variant=\"ruled\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Shipping terms</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>FOB origin. Freight is billed at cost.</CollapsiblePanel>\n </Collapsible>\n\n <Collapsible defaultOpen variant=\"framed\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Return terms</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Thirty calendar days, unopened pallets only.</CollapsiblePanel>\n </Collapsible>\n </Stack>\n );\n}\n",
|
|
417
417
|
"verdict": "example"
|
package/dist/docs/collapsible.md
CHANGED
|
@@ -59,7 +59,7 @@ export default function CollapsibleBasic() {
|
|
|
59
59
|
| `open` | `boolean` | — | Collapsible | Present means the consumer owns the state, for the life of the component. Inside an Accordion the set owns it instead, and an explicit open still wins over both. |
|
|
60
60
|
| `defaultOpen` | `boolean` | — | Collapsible | The value an uncontrolled disclosure starts from, read once. A later change to it does not silently become new state. |
|
|
61
61
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | Collapsible, Accordion, CollapsibleDefaultsProvider | The step the header sits at. The title comes from the type scale and everything geometric from the control scales, so a density changes the rhythm rather than the reading size. |
|
|
62
|
-
| `variant` | `'plain' \| 'ruled' \| 'framed'` | plain | Collapsible, CollapsibleDefaultsProvider | plain paints no chrome, ruled draws a hairline above the header so a stack reads as one list, and framed is its own card. An Accordion hands its items the one its own variant maps onto. |
|
|
62
|
+
| `variant` | `'plain' \| 'ruled' \| 'framed'` | plain | Collapsible, CollapsibleDefaultsProvider | plain paints no chrome and sets its panel content on the edges of its column, ruled draws a hairline above the header so a stack reads as one list, and framed is its own card. ruled and framed inset the panel content by the control padding. An Accordion hands its items the one its own variant maps onto. |
|
|
63
63
|
| `indicator` | `'chevron' \| 'plus-minus' \| 'none'` | chevron | Collapsible, Accordion, CollapsibleDefaultsProvider | The mark, drawn from a glyph token. The chevron turns between down and up rather than pointing along the inline axis, so nothing is mirrored for a right-to-left document. |
|
|
64
64
|
| `togglePlacement` | `'end' \| 'start'` | end | Collapsible, Accordion, CollapsibleDefaultsProvider | Which side of the words the mark stands on. With it at the start the panel’s content is indented to line up with the title rather than with the mark. |
|
|
65
65
|
| `level` | `'none' \| '1' \| '2' \| '3' \| '4' \| '5' \| '6'` | none | Collapsible, CollapsibleDefaultsProvider | The heading element the trigger is wrapped in. none renders a div and writes no heading semantics; an Accordion sets it for a whole set through headingLevel. |
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"part": "row",
|
|
156
156
|
"element": "div (ColorPickerRow)",
|
|
157
157
|
"required": false,
|
|
158
|
-
"purpose": "The preview, the value as text
|
|
158
|
+
"purpose": "The preview with the notation and the eyedropper at its end, then the value as text on a line of its own, whole at the panel width."
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"part": "swatch",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"axes": {
|
|
10
10
|
"presentation": [
|
|
11
|
+
"auto",
|
|
11
12
|
"popover",
|
|
12
13
|
"drawer",
|
|
13
14
|
"inline"
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"columnManager": {
|
|
22
23
|
"nativeElement": "div",
|
|
23
24
|
"defaults": {
|
|
24
|
-
"presentation": "
|
|
25
|
+
"presentation": "auto",
|
|
25
26
|
"apply": "live",
|
|
26
27
|
"open": false
|
|
27
28
|
},
|
|
@@ -245,10 +246,10 @@
|
|
|
245
246
|
},
|
|
246
247
|
{
|
|
247
248
|
"name": "presentation",
|
|
248
|
-
"type": "'popover' | 'drawer' | 'inline'",
|
|
249
|
-
"defaultValue": "
|
|
249
|
+
"type": "'auto' | 'popover' | 'drawer' | 'inline'",
|
|
250
|
+
"defaultValue": "auto",
|
|
250
251
|
"appliesTo": "ColumnManager, ColumnManagerProvider",
|
|
251
|
-
"description": "
|
|
252
|
+
"description": "auto, the default, is a popover on the trigger and a bottom sheet under (max-width: 480px) and (pointer: coarse), its footer at the foot of the screen; popover keeps the popover on every screen; drawer stands at the end; inline draws the panel in place."
|
|
252
253
|
},
|
|
253
254
|
{
|
|
254
255
|
"name": "apply",
|
|
@@ -382,6 +383,7 @@
|
|
|
382
383
|
"--slotted-space-3",
|
|
383
384
|
"--slotted-space-4",
|
|
384
385
|
"--slotted-space-8",
|
|
386
|
+
"--slotted-target-comfortable",
|
|
385
387
|
"--slotted-text",
|
|
386
388
|
"--slotted-text-muted",
|
|
387
389
|
"--slotted-tone-accent-solid",
|
|
@@ -93,7 +93,7 @@ export default function ColumnManagerBasicExample() {
|
|
|
93
93
|
| `columnState` | `GridColumnState` | — | ColumnManager | Present means the consumer owns the state, for the life of the component; normalized against columns |
|
|
94
94
|
| `defaultColumnState` | `Partial<GridColumnState>` | — | ColumnManager | The uncontrolled start, read once, and the target of Restore defaults in both modes |
|
|
95
95
|
| `outOfSpace` | `GridOutOfSpace` | { popin: [], hidden: [] } | ColumnManager | The columns the grid took out for room — onOutOfSpaceChange or handle.getOutOfSpace() — listed with Shown in row for popin and Hidden for space for hidden, never written to the state |
|
|
96
|
-
| `presentation` | `'popover' \| 'drawer' \| 'inline'` |
|
|
96
|
+
| `presentation` | `'auto' \| 'popover' \| 'drawer' \| 'inline'` | auto | ColumnManager, ColumnManagerProvider | auto, the default, is a popover on the trigger and a bottom sheet under (max-width: 480px) and (pointer: coarse), its footer at the foot of the screen; popover keeps the popover on every screen; drawer stands at the end; inline draws the panel in place. |
|
|
97
97
|
| `apply` | `'live' \| 'confirm'` | live | ColumnManager, ColumnManagerProvider | live asks for every action; confirm edits a draft that Apply asks for once |
|
|
98
98
|
| `open` | `boolean` | false | ColumnManager | Present means the consumer owns whether the layer is open |
|
|
99
99
|
| `defaultOpen` | `boolean` | false | ColumnManager | Whether an uncontrolled layer starts open, read once |
|
|
@@ -117,7 +117,7 @@ export default function ColumnManagerBasicExample() {
|
|
|
117
117
|
|
|
118
118
|
| Axis | Values | Default |
|
|
119
119
|
| --- | --- | --- |
|
|
120
|
-
| `presentation` | `popover`, `drawer`, `inline` | `
|
|
120
|
+
| `presentation` | `auto`, `popover`, `drawer`, `inline` | `auto` |
|
|
121
121
|
| `apply` | `live`, `confirm` | `live` |
|
|
122
122
|
|
|
123
123
|
## Rules
|
|
@@ -130,7 +130,7 @@ export default function ColumnManagerBasicExample() {
|
|
|
130
130
|
|
|
131
131
|
## Tokens
|
|
132
132
|
|
|
133
|
-
`--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-column-manager-inline-size`, `--slotted-column-manager-list-max-block-size`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-8`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-warning-text`
|
|
133
|
+
`--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-column-manager-inline-size`, `--slotted-column-manager-list-max-block-size`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-8`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-warning-text`
|
|
134
134
|
|
|
135
135
|
## Examples
|
|
136
136
|
|
package/dist/docs/combobox.json
CHANGED
package/dist/docs/combobox.md
CHANGED
|
@@ -190,7 +190,7 @@ export default function ComboboxBasic() {
|
|
|
190
190
|
|
|
191
191
|
## Tokens
|
|
192
192
|
|
|
193
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-combobox-action-active-background`, `--slotted-combobox-action-color`, `--slotted-combobox-action-hover-background`, `--slotted-combobox-action-size`, `--slotted-combobox-arrow-color`, `--slotted-combobox-autofill-background`, `--slotted-combobox-background`, `--slotted-combobox-border-color`, `--slotted-combobox-color`, `--slotted-combobox-completion-background`, `--slotted-combobox-completion-color`, `--slotted-combobox-content-backdrop-filter`, `--slotted-combobox-content-border-color`, `--slotted-combobox-content-padding-block`, `--slotted-combobox-content-padding-inline`, `--slotted-combobox-content-radius`, `--slotted-combobox-content-shadow`, `--slotted-combobox-content-text`, `--slotted-combobox-content-text-muted`, `--slotted-combobox-disabled-background`, `--slotted-combobox-disabled-border-color`, `--slotted-combobox-disabled-color`, `--slotted-combobox-group-label-height`, `--slotted-combobox-highlight`, `--slotted-combobox-highlight-active`, `--slotted-combobox-highlight-ring`, `--slotted-combobox-hover-border-color`, `--slotted-combobox-icon-size-min`, `--slotted-combobox-invalid-border-color`, `--slotted-combobox-invalid-edge-width`, `--slotted-combobox-invalid-focus-ring-color`, `--slotted-combobox-item-radius`, `--slotted-combobox-measure`, `--slotted-combobox-open-border-color`, `--slotted-combobox-placeholder-color`, `--slotted-combobox-plain-hover-background`, `--slotted-combobox-radius`, `--slotted-combobox-readonly-background`, `--slotted-combobox-selected-color`, `--slotted-combobox-separator-color`, `--slotted-combobox-shadow`, `--slotted-combobox-subtle-background`, `--slotted-combobox-subtle-border-color`, `--slotted-combobox-subtle-hover-background`, `--slotted-combobox-surface`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-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-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
193
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-combobox-action-active-background`, `--slotted-combobox-action-color`, `--slotted-combobox-action-hover-background`, `--slotted-combobox-action-size`, `--slotted-combobox-arrow-color`, `--slotted-combobox-autofill-background`, `--slotted-combobox-background`, `--slotted-combobox-border-color`, `--slotted-combobox-color`, `--slotted-combobox-completion-background`, `--slotted-combobox-completion-color`, `--slotted-combobox-content-backdrop-filter`, `--slotted-combobox-content-border-color`, `--slotted-combobox-content-padding-block`, `--slotted-combobox-content-padding-inline`, `--slotted-combobox-content-radius`, `--slotted-combobox-content-shadow`, `--slotted-combobox-content-text`, `--slotted-combobox-content-text-muted`, `--slotted-combobox-disabled-background`, `--slotted-combobox-disabled-border-color`, `--slotted-combobox-disabled-color`, `--slotted-combobox-group-label-height`, `--slotted-combobox-highlight`, `--slotted-combobox-highlight-active`, `--slotted-combobox-highlight-ring`, `--slotted-combobox-hover-border-color`, `--slotted-combobox-icon-size-min`, `--slotted-combobox-invalid-border-color`, `--slotted-combobox-invalid-edge-width`, `--slotted-combobox-invalid-focus-ring-color`, `--slotted-combobox-item-radius`, `--slotted-combobox-measure`, `--slotted-combobox-open-border-color`, `--slotted-combobox-placeholder-color`, `--slotted-combobox-plain-hover-background`, `--slotted-combobox-radius`, `--slotted-combobox-readonly-background`, `--slotted-combobox-selected-color`, `--slotted-combobox-separator-color`, `--slotted-combobox-shadow`, `--slotted-combobox-subtle-background`, `--slotted-combobox-subtle-border-color`, `--slotted-combobox-subtle-hover-background`, `--slotted-combobox-surface`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-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-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
194
194
|
|
|
195
195
|
## Examples
|
|
196
196
|
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"part": "edit-status",
|
|
115
115
|
"element": "p",
|
|
116
116
|
"required": false,
|
|
117
|
-
"purpose": "The instructions every handle is described by. Visually hidden, and still referenced, when editBar is false."
|
|
117
|
+
"purpose": "The instructions every handle is described by: one sentence per gesture the grid offers in its size class, on its pointers and for its widgets. Under a finger alone it names the handle and no keys; in the compact class it names no edges. Visually hidden, and still referenced, when editBar is false."
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"part": "edit-actions",
|
|
@@ -306,12 +306,19 @@
|
|
|
306
306
|
"appliesTo": "DashboardGrid",
|
|
307
307
|
"description": "The grid’s own width, in pixels, from which the expanded class applies; a grid beside a navigation rail keeps its layout with a lower value"
|
|
308
308
|
},
|
|
309
|
+
{
|
|
310
|
+
"name": "narrowOrder",
|
|
311
|
+
"type": "'layout' | 'children'",
|
|
312
|
+
"defaultValue": "'layout'",
|
|
313
|
+
"appliesTo": "DashboardGrid",
|
|
314
|
+
"description": "What the medium and compact classes flow: layout, the expanded layout’s rows and columns; children, the visible widgets in the order they are written, where a widget can be hidden and not moved or resized, and a hide or a show changes its own entry alone; a widget the layout does not hold is stored only while hidden, its entry marked auto: true"
|
|
315
|
+
},
|
|
309
316
|
{
|
|
310
317
|
"name": "messages",
|
|
311
318
|
"type": "Partial<DashboardGridMessages>",
|
|
312
319
|
"defaultValue": "—",
|
|
313
320
|
"appliesTo": "DashboardGrid",
|
|
314
|
-
"description": "Words laid over the language in force, key by key: editBar, editStatus, add, reset, cancel, done, handle, detail, retry, emptyTitle, errorTitle, empty, emptyEditing, the eight menu items, hide, size, moved, movedInOrder, resized, hidden, shown, resetDone, cancelled"
|
|
321
|
+
"description": "Words laid over the language in force, key by key: editBar, editStatusMove, editStatusResize, editStatusHandle, editStatusKeys, editStatus (empty by default; written, it replaces those four sentences whole), add, reset, cancel, done, handle, detail, retry, emptyTitle, errorTitle, empty, emptyEditing, the eight menu items, hide, size, moved, movedInOrder, resized, hidden, shown, resetDone, cancelled"
|
|
315
322
|
},
|
|
316
323
|
{
|
|
317
324
|
"name": "ref",
|
|
@@ -92,7 +92,8 @@ export default function DashboardGridBasicExample() {
|
|
|
92
92
|
| `editBar` | `boolean` | true | DashboardGrid, DashboardGridDefaultsProvider | Whether the grid draws Add, Reset, Cancel and Done while editing |
|
|
93
93
|
| `headingLevel` | `'auto' \| 2 \| 3 \| 4 \| 5 \| 6` | auto | DashboardGrid, DashboardWidget, DashboardGridDefaultsProvider | The level of each widget’s title; auto is one rank under the heading around the grid — h2 in a page body, one deeper inside a section — and never above h2 |
|
|
94
94
|
| `expandedFrom` | `number` | 1024 | DashboardGrid | The grid’s own width, in pixels, from which the expanded class applies; a grid beside a navigation rail keeps its layout with a lower value |
|
|
95
|
-
| `
|
|
95
|
+
| `narrowOrder` | `'layout' \| 'children'` | 'layout' | DashboardGrid | What the medium and compact classes flow: layout, the expanded layout’s rows and columns; children, the visible widgets in the order they are written, where a widget can be hidden and not moved or resized, and a hide or a show changes its own entry alone; a widget the layout does not hold is stored only while hidden, its entry marked auto: true |
|
|
96
|
+
| `messages` | `Partial<DashboardGridMessages>` | — | DashboardGrid | Words laid over the language in force, key by key: editBar, editStatusMove, editStatusResize, editStatusHandle, editStatusKeys, editStatus (empty by default; written, it replaces those four sentences whole), add, reset, cancel, done, handle, detail, retry, emptyTitle, errorTitle, empty, emptyEditing, the eight menu items, hide, size, moved, movedInOrder, resized, hidden, shown, resetDone, cancelled |
|
|
96
97
|
| `ref` | `Ref<DashboardGridHandle>` | — | DashboardGrid | element, focusWidget(key), commitEditing(), cancelEditing() |
|
|
97
98
|
| `render` | `(props: DashboardGridRootProps) => ReactElement` | a div | DashboardGrid | Substitutes the root element |
|
|
98
99
|
| `native props` | `ComponentPropsWithRef<"div">` | — | DashboardGrid | id, className, style, data-* and handlers reach the root; aria-label and aria-labelledby name the list |
|
package/dist/docs/data-grid.json
CHANGED
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
"part": "filter-actions",
|
|
338
338
|
"element": "div",
|
|
339
339
|
"required": false,
|
|
340
|
-
"purpose": "Clear and Apply."
|
|
340
|
+
"purpose": "Clear and Apply, in the popover's footer: a sheet ends in them and draws no Close."
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
"part": "body",
|
|
@@ -1324,6 +1324,7 @@
|
|
|
1324
1324
|
"--slotted-space-4",
|
|
1325
1325
|
"--slotted-space-5",
|
|
1326
1326
|
"--slotted-space-6",
|
|
1327
|
+
"--slotted-space-7",
|
|
1327
1328
|
"--slotted-space-8",
|
|
1328
1329
|
"--slotted-surface",
|
|
1329
1330
|
"--slotted-surface-sunken",
|
package/dist/docs/data-grid.md
CHANGED
|
@@ -210,7 +210,7 @@ See [data-grid.props.md](./data-grid.props.md).
|
|
|
210
210
|
|
|
211
211
|
## Tokens
|
|
212
212
|
|
|
213
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-resize-guide-color`, `--slotted-data-grid-resize-guide-width`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-border-color-selected`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--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-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
213
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-resize-guide-color`, `--slotted-data-grid-resize-guide-width`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-border-color-selected`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--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-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-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-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
214
214
|
|
|
215
215
|
## Examples
|
|
216
216
|
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"size": "md",
|
|
41
41
|
"variant": "outline",
|
|
42
42
|
"placement": "bottom-start",
|
|
43
|
+
"presentation": "auto",
|
|
43
44
|
"calendar": "gregory",
|
|
44
45
|
"clearable": false
|
|
45
46
|
},
|
|
@@ -175,7 +176,7 @@
|
|
|
175
176
|
"type": "boolean",
|
|
176
177
|
"defaultValue": "off for one date",
|
|
177
178
|
"appliesTo": "DatePicker",
|
|
178
|
-
"description": "Whether the panel keeps a draft until Apply."
|
|
179
|
+
"description": "Whether the panel keeps a draft until Apply. Without it, the bottom sheet a finger opens closes on the press that writes the value and draws no Close."
|
|
179
180
|
},
|
|
180
181
|
{
|
|
181
182
|
"name": "weekNumbers",
|
|
@@ -247,6 +248,13 @@
|
|
|
247
248
|
"appliesTo": "DatePicker",
|
|
248
249
|
"description": "Where the panel opens, before the positioner has read the room."
|
|
249
250
|
},
|
|
251
|
+
{
|
|
252
|
+
"name": "presentation",
|
|
253
|
+
"type": "'auto' | 'popover'",
|
|
254
|
+
"defaultValue": "auto",
|
|
255
|
+
"appliesTo": "DatePicker",
|
|
256
|
+
"description": "auto, the default, draws the panel in a modal bottom sheet under (max-width: 480px) and (pointer: coarse), headed by the field’s label and taking the screen’s width. popover keeps the anchored panel on every screen. The defaults provider sets it once for the application."
|
|
257
|
+
},
|
|
250
258
|
{
|
|
251
259
|
"name": "size",
|
|
252
260
|
"type": "'sm' | 'md' | 'lg'",
|
|
@@ -324,7 +332,7 @@
|
|
|
324
332
|
"type": "component",
|
|
325
333
|
"defaultValue": "—",
|
|
326
334
|
"appliesTo": "application",
|
|
327
|
-
"description": "Sets calendar, confirm, placement, size, timeZone, today and variant once."
|
|
335
|
+
"description": "Sets calendar, confirm, placement, presentation, size, timeZone, today and variant once."
|
|
328
336
|
},
|
|
329
337
|
{
|
|
330
338
|
"name": "footer",
|