@slotted/react 0.1.0-beta.11 → 0.1.0-beta.13
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-z2DPc1Wy.js → action-bar-D-V2uWjA.js} +2 -2
- package/dist/action-bar.js +1 -1
- package/dist/{action-sheet-BnedGewu.js → action-sheet-CYwRLOKq.js} +1 -1
- package/dist/action-sheet.js +1 -1
- package/dist/{alert-BTAXJ69M.js → alert-DPSZUCRn.js} +6 -6
- package/dist/alert.js +1 -1
- package/dist/{app-shell-Cb_kDBeV.js → app-shell-CJwXBvE5.js} +1 -1
- package/dist/app-shell.js +1 -1
- package/dist/{attachment-D1O4qS8H.js → attachment-DKKiNUKe.js} +1 -1
- package/dist/attachment.js +1 -1
- package/dist/{avatar-C1mYlU05.js → avatar-DLWElrgg.js} +1 -1
- package/dist/{avatar-group-DhbHJlMx.js → avatar-group-DshHqe8B.js} +1 -1
- package/dist/avatar-group.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/{breadcrumb-CnFjxxI2.js → breadcrumb-DWbUEBpm.js} +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/{calendar-DZyC1gAT.js → calendar-DZx00W81.js} +1 -1
- package/dist/calendar.js +1 -1
- package/dist/{carousel-Dso3gcYd.js → carousel-B9nMK7Yf.js} +1 -1
- package/dist/carousel.js +1 -1
- package/dist/{cascader-BbajBwsX.js → cascader-neDJl-we.js} +3 -3
- package/dist/cascader.js +1 -1
- package/dist/{chart-Bb6ctahn.js → chart-CbOswR3s.js} +1 -1
- package/dist/chart.js +1 -1
- package/dist/{checkbox-C_8GVtjD.js → checkbox-Hq1PXk04.js} +4 -4
- package/dist/{checkbox-group-DXCcusol.js → checkbox-group-Ckoh-2GJ.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{code-block-C4mtsROE.js → code-block-Cy548yk7.js} +1 -1
- package/dist/code-block.js +1 -1
- package/dist/{collapsible-B_UjYE2f.js → collapsible-BuUBeNDg.js} +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/{color-picker-JZPnPb7s.js → color-picker-BsDplfdK.js} +5 -5
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-BDUj-WIs.js → column-manager-CIf2SAzx.js} +6 -6
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-Dn69QwGX.js → combobox-vE8dmv4K.js} +2 -2
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-Dh1HKz_F.js → command-palette-DEKWsUFR.js} +2 -2
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-uJjEmAN3.js → context-menu-BxbGq4bu.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field-lHcrNJ7X.js → currency-field-ZvfrfM0z.js} +2 -2
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-z-SOm9H0.js → dashboard-grid-B9-_lwn6.js} +2 -2
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-DQCvXMJA.js → data-grid-B5feiNsE.js} +846 -854
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-BgdkA3bD.js → data-list-CUvUS2AX.js} +4 -4
- package/dist/data-list.js +1 -1
- package/dist/{date-field-B2lQzE3p.js → date-field-EBPrQL6A.js} +2 -2
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-DpTRb-Y1.js → date-picker-Dys-z9mZ.js} +4 -4
- package/dist/date-picker.js +1 -1
- package/dist/{date-range-picker-CBUPJep5.js → date-range-picker-Cu95hHyO.js} +4 -4
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-BZ44uJ_B.js → datetime-field-DavJbR0H.js} +2 -2
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-BK_bV3Yr.js → datetime-picker-B7eWKoN3.js} +4 -4
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-ChdbRgzQ.js → datetime-range-picker-Cm42pY3M.js} +4 -4
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{description-list-CYlfHDwx.js → description-list-KjUs1muC.js} +1 -1
- package/dist/description-list.js +1 -1
- package/dist/{detail-panel-DimjnPI8.js → detail-panel-BNfYQJfv.js} +3 -3
- package/dist/detail-panel.js +1 -1
- package/dist/{dialog-BB5MdJex.js → dialog-CjOBjHrL.js} +8 -8
- package/dist/dialog.js +1 -1
- package/dist/docs/action-bar.json +1 -0
- package/dist/docs/action-bar.md +1 -1
- package/dist/docs/action-sheet.json +399 -64
- package/dist/docs/action-sheet.md +291 -0
- package/dist/docs/alert.json +1 -1
- package/dist/docs/alert.md +1 -1
- package/dist/docs/combobox.json +1 -0
- package/dist/docs/combobox.md +1 -1
- package/dist/docs/data-grid.json +3 -15
- package/dist/docs/data-grid.md +0 -1
- package/dist/docs/data-grid.props.md +1 -2
- package/dist/docs/date-picker.json +1 -0
- package/dist/docs/date-picker.md +1 -1
- package/dist/docs/drawer.json +1 -0
- package/dist/docs/drawer.md +1 -1
- package/dist/docs/entity-picker.json +1 -0
- package/dist/docs/entity-picker.md +1 -1
- package/dist/docs/inline-message.json +1 -1
- package/dist/docs/inline-message.md +1 -1
- package/dist/docs/kbd.json +3 -0
- package/dist/docs/kbd.md +1 -1
- package/dist/docs/menu.json +1 -0
- package/dist/docs/menu.md +1 -1
- package/dist/docs/popover.json +1 -0
- package/dist/docs/popover.md +1 -1
- package/dist/docs/scroll-area.json +278 -64
- package/dist/docs/scroll-area.md +198 -0
- package/dist/docs/section.json +11 -1
- package/dist/docs/section.md +13 -12
- package/dist/docs/select.json +1 -0
- package/dist/docs/select.md +1 -1
- package/dist/docs/skills/theme-app/SKILL.md +18 -4
- package/dist/docs/splitter.json +293 -64
- package/dist/docs/splitter.md +222 -0
- package/dist/docs/status-indicator.json +16 -5
- package/dist/docs/status-indicator.md +3 -1
- package/dist/docs/table-of-contents.json +2 -1
- package/dist/docs/table-of-contents.md +2 -2
- package/dist/docs/tooltip.json +1 -0
- package/dist/docs/tooltip.md +1 -1
- package/dist/drawer-CIsrtQcM.js +816 -0
- package/dist/drawer.js +1 -1
- package/dist/{entity-picker-ClyhBTyK.js → entity-picker-DB1HeuvJ.js} +4 -4
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-COgC24UG.js → event-calendar-DKwvcNF_.js} +6 -6
- package/dist/event-calendar.js +1 -1
- package/dist/{field-tnEZiRLg.js → field-CnSMUZw6.js} +2 -2
- package/dist/{field-group-Bj-EbPIU.js → field-group-RACkEXPp.js} +2 -2
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-BRuCz79-.js → filter-bar-NipgBi5v.js} +12 -12
- package/dist/filter-bar.js +1 -1
- package/dist/{fullscreen-BwweNj3-.js → fullscreen-CaEg6U-M.js} +1 -1
- package/dist/fullscreen.js +1 -1
- package/dist/{hover-card-BWcU37Yp.js → hover-card-D8OyhmEG.js} +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/icon-D04-_QFA.js +134 -0
- package/dist/icon.js +1 -1
- package/dist/{image-Ajqo38Uz.js → image-cyX9-F0x.js} +1 -1
- package/dist/image.js +1 -1
- package/dist/{import-export-center-CYf0Qxl_.js → import-export-center-BIB7sRCl.js} +4 -4
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +102 -101
- package/dist/{inline-message-DM7mf2cM.js → inline-message-DgEAUjar.js} +6 -6
- package/dist/inline-message.js +1 -1
- package/dist/{link-DLPyg54C.js → link-rGL3Lr2t.js} +1 -1
- package/dist/link.js +1 -1
- package/dist/{list-item-DMeNfokY.js → list-item-CHaJYl5r.js} +1 -1
- package/dist/list-item.js +1 -1
- package/dist/{listbox-BSqx_ARf.js → listbox-DvwUa0yH.js} +2 -2
- package/dist/listbox.js +1 -1
- package/dist/{markdown-DccRb1xf.js → markdown-B_lMpWz0.js} +6 -6
- package/dist/markdown.js +1 -1
- package/dist/{menu-parts-CNNHRduK.js → menu-parts-BDdCTmko.js} +1 -1
- package/dist/menu.js +1 -1
- package/dist/{menubar-Bdr6zigi.js → menubar-hazvXRYd.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/{message-BkTiWsUp.js → message-C1O3jr31.js} +1 -1
- package/dist/{message-scroller-akQEtQLn.js → message-scroller-BSpE5DHM.js} +1 -1
- package/dist/message-scroller.js +1 -1
- package/dist/message.js +1 -1
- package/dist/{multi-select-BvlJIEtz.js → multi-select-C1GNk4e0.js} +2 -2
- package/dist/multi-select.js +1 -1
- package/dist/{navigation-menu-parts-CEW4fgCo.js → navigation-menu-parts-CRLmigjy.js} +1 -1
- package/dist/navigation-menu.js +1 -1
- package/dist/{notification-center-BQO0Ey3h.js → notification-center-CAbkHDlC.js} +2 -2
- package/dist/notification-center.js +1 -1
- package/dist/{number-field-D1MqT8_A.js → number-field-BPYe9kLB.js} +2 -2
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-Cub9H9Di.js → otp-input-CYtF30Q-.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{page-header-CMxCQqu_.js → page-header-BgYXPEbd.js} +1 -1
- package/dist/page-header.js +1 -1
- package/dist/{pagination-IEuos7H1.js → pagination-D0PUAFYm.js} +1 -1
- package/dist/pagination.js +1 -1
- package/dist/{popover-C7NpEzq6.js → popover-BfEn2wdZ.js} +1 -1
- package/dist/popover.js +1 -1
- package/dist/{prompt-composer-Cu8bj1Vb.js → prompt-composer-BDOi4rVK.js} +2 -2
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-BHlDgCLk.js → radio-group-CLX8D2Ew.js} +3 -3
- package/dist/radio-group.js +1 -1
- package/dist/{rating-Cr0lXaAV.js → rating-BB2k-Fay.js} +2 -2
- package/dist/rating.js +1 -1
- package/dist/roving-focus-C5-rVFzI.js +89 -0
- package/dist/roving-focus.js +2 -0
- package/dist/{saved-views-CyLSn8a2.js → saved-views-CmsTqrCY.js} +5 -5
- package/dist/saved-views.js +1 -1
- package/dist/section-CjlMOyZE.js +195 -0
- package/dist/section.js +1 -1
- package/dist/{segmented-control-uPnQYklX.js → segmented-control-B1U-s58C.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/{select-C0JYHwBy.js → select-OUGNxyS5.js} +3 -3
- package/dist/{select-tags-CMe5rzql.js → select-tags-3792weoq.js} +1 -1
- package/dist/select.js +1 -1
- package/dist/{side-navigation-D8lRpHwj.js → side-navigation-DRLWTlJ4.js} +2 -2
- package/dist/side-navigation.js +1 -1
- package/dist/{slider-BSI1xvjw.js → slider-Bp1QjJKu.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-CkbylOMN.js → split-button-BhKdDspN.js} +2 -2
- package/dist/split-button.js +1 -1
- package/dist/{stat-card-CAh4SdeY.js → stat-card-CUISfM36.js} +1 -1
- package/dist/stat-card.js +1 -1
- package/dist/{status-indicator-BVMnpcm8.js → status-indicator-DkV95RZc.js} +30 -26
- package/dist/status-indicator.js +1 -1
- package/dist/{stepper-BLfvMz04.js → stepper-DHdrANZI.js} +1 -1
- package/dist/stepper.js +1 -1
- package/dist/styles/action-bar.css +3 -3
- package/dist/styles/action-sheet.css +2 -2
- package/dist/styles/alert.css +2 -2
- package/dist/styles/app-shell.css +1 -1
- package/dist/styles/attachment.css +1 -1
- package/dist/styles/avatar-group.css +1 -1
- package/dist/styles/avatar.css +1 -1
- package/dist/styles/breadcrumb.css +1 -1
- package/dist/styles/calendar.css +1 -1
- package/dist/styles/carousel.css +1 -1
- package/dist/styles/cascader.css +3 -3
- package/dist/styles/chart.css +2 -2
- package/dist/styles/checkbox-group.css +3 -3
- package/dist/styles/checkbox.css +3 -3
- package/dist/styles/code-block.css +1 -1
- package/dist/styles/collapsible.css +1 -1
- package/dist/styles/color-picker.css +5 -5
- package/dist/styles/column-manager.css +6 -6
- package/dist/styles/combobox.css +4 -4
- package/dist/styles/command-palette.css +2 -2
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/currency-field.css +3 -3
- package/dist/styles/dashboard-grid.css +2 -2
- package/dist/styles/data-grid.css +8 -8
- package/dist/styles/data-list.css +4 -4
- package/dist/styles/date-field.css +3 -3
- package/dist/styles/date-picker.css +4 -4
- package/dist/styles/date-range-picker.css +3 -3
- package/dist/styles/datetime-field.css +3 -3
- package/dist/styles/datetime-picker.css +3 -3
- package/dist/styles/datetime-range-picker.css +3 -3
- package/dist/styles/description-list.css +1 -1
- package/dist/styles/detail-panel.css +2 -2
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/drawer.css +2 -2
- package/dist/styles/entity-picker.css +5 -5
- package/dist/styles/event-calendar.css +6 -6
- package/dist/styles/field-group.css +3 -3
- package/dist/styles/field.css +3 -3
- package/dist/styles/filter-bar.css +10 -10
- package/dist/styles/fullscreen.css +1 -1
- package/dist/styles/hover-card.css +2 -2
- package/dist/styles/icon.css +1 -1
- package/dist/styles/image.css +1 -1
- package/dist/styles/import-export-center.css +7 -7
- package/dist/styles/index.css +19 -19
- package/dist/styles/inline-message.css +2 -2
- package/dist/styles/kbd.css +1 -1
- package/dist/styles/link.css +1 -1
- package/dist/styles/list-item.css +1 -1
- package/dist/styles/listbox.css +3 -3
- package/dist/styles/markdown.css +4 -4
- package/dist/styles/menu.css +2 -2
- 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 +4 -4
- package/dist/styles/navigation-menu.css +1 -1
- package/dist/styles/notification-center.css +2 -2
- package/dist/styles/number-field.css +3 -3
- package/dist/styles/otp-input.css +3 -3
- package/dist/styles/page-header.css +1 -1
- package/dist/styles/pagination.css +1 -1
- package/dist/styles/popover.css +2 -2
- package/dist/styles/prompt-composer.css +3 -3
- package/dist/styles/radio-group.css +3 -3
- package/dist/styles/rating.css +3 -3
- package/dist/styles/roving-focus.css +1 -0
- package/dist/styles/saved-views.css +5 -5
- package/dist/styles/section.css +1 -1
- package/dist/styles/segmented-control.css +3 -3
- package/dist/styles/select.css +4 -4
- package/dist/styles/side-navigation.css +2 -2
- package/dist/styles/slider.css +3 -3
- package/dist/styles/split-button.css +2 -2
- package/dist/styles/stat-card.css +1 -1
- package/dist/styles/status-indicator.css +2 -2
- package/dist/styles/stepper.css +1 -1
- package/dist/styles/switch.css +3 -3
- package/dist/styles/table-of-contents.css +2 -2
- package/dist/styles/table.css +6 -6
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/tag.css +1 -1
- package/dist/styles/tags-input.css +3 -3
- package/dist/styles/text-field.css +3 -3
- package/dist/styles/textarea.css +3 -3
- package/dist/styles/time-field.css +3 -3
- package/dist/styles/time-picker.css +3 -3
- package/dist/styles/time-range-picker.css +3 -3
- package/dist/styles/timeline.css +1 -1
- package/dist/styles/toast.css +2 -2
- package/dist/styles/toggle-group.css +3 -3
- package/dist/styles/toolbar.css +2 -2
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/top-navigation.css +2 -2
- package/dist/styles/tour.css +1 -1
- package/dist/styles/transfer.css +3 -3
- package/dist/styles/tree.css +1 -1
- package/dist/styles/upload.css +3 -3
- package/dist/styles/wizard.css +2 -2
- package/dist/styles.css +1 -1
- package/dist/{switch-BHyKHqeI.js → switch-DmLzDbTb.js} +2 -2
- package/dist/switch.js +1 -1
- package/dist/{table-C8zOHDcY.js → table-_xX87qua.js} +14 -14
- package/dist/{table-of-contents-BAIuPCdy.js → table-of-contents-kFr_3Dzs.js} +1 -1
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-DjEpS9uq.js → tabs-C-Bc7WmQ.js} +1 -1
- package/dist/tabs.js +1 -1
- package/dist/{tag-XYGEPUHR.js → tag-BYzDYvM_.js} +1 -1
- package/dist/tag.js +1 -1
- package/dist/{tags-input-ClYSd-No.js → tags-input-CAmXKSeZ.js} +2 -2
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-Cguj75tn.js → text-field-CHYoral_.js} +2 -2
- package/dist/text-field.js +1 -1
- package/dist/{textarea-BKsh_jAo.js → textarea-47JGOZKv.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/theme.js +10 -9
- package/dist/{time-field-BIE4WMpS.js → time-field-D1-rNBsB.js} +2 -2
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-CNfafRDF.js → time-picker-mwCULYh7.js} +3 -3
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-D7gM_Wno.js → time-range-picker-BKgsEHmd.js} +3 -3
- package/dist/time-range-picker.js +1 -1
- package/dist/{timeline-BLadNUkS.js → timeline-BiL2CXfn.js} +1 -1
- package/dist/timeline.js +1 -1
- package/dist/{toast-CjbiXiza.js → toast-DHDVXIew.js} +6 -6
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-BZmghKac.js → toggle-group-Bnig_MWl.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/{toolbar-BI4ZepBs.js → toolbar-EdmEn_ph.js} +2 -2
- package/dist/toolbar.js +1 -1
- package/dist/{top-navigation-BTZpx5VA.js → top-navigation-B_oQgy56.js} +3 -3
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-_CQ1kYov.js → tour-6ai_6m2y.js} +1 -1
- package/dist/tour.js +1 -1
- package/dist/{transfer-BVhBdIGp.js → transfer-4Vo11sGY.js} +6 -6
- package/dist/transfer.js +1 -1
- package/dist/{tree-DfI9UWLA.js → tree-DBirM2v9.js} +1 -1
- package/dist/tree.js +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +1 -2
- package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.d.ts +1 -1
- package/dist/types/data-grid/data-grid.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.types.d.ts +0 -12
- package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
- package/dist/types/data-grid/index.d.ts +1 -1
- package/dist/types/data-grid/index.d.ts.map +1 -1
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/icon/glyph.d.ts +3 -0
- package/dist/types/icon/glyph.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message.types.d.ts +1 -1
- package/dist/types/roving-focus/index.d.ts +3 -0
- package/dist/types/roving-focus/index.d.ts.map +1 -0
- package/dist/types/roving-focus/roving-focus.d.ts +48 -0
- package/dist/types/roving-focus/roving-focus.d.ts.map +1 -0
- package/dist/types/section/section-parts.d.ts +1 -4
- package/dist/types/section/section-parts.d.ts.map +1 -1
- package/dist/types/section/section.d.ts.map +1 -1
- package/dist/types/status-indicator/status-indicator.d.ts +1 -1
- package/dist/types/status-indicator/status-indicator.d.ts.map +1 -1
- package/dist/types/status-indicator/status-indicator.types.d.ts +6 -0
- package/dist/types/status-indicator/status-indicator.types.d.ts.map +1 -1
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/index.d.ts.map +1 -1
- package/dist/types/theme/theme-scope.d.ts +6 -3
- package/dist/types/theme/theme-scope.d.ts.map +1 -1
- package/dist/{upload-N2-nyO8x.js → upload-S3d3tUt-.js} +3 -3
- package/dist/upload.js +1 -1
- package/dist/{wizard-CK1x2fs3.js → wizard-ijqGsc5t.js} +4 -4
- package/dist/wizard.js +1 -1
- package/package.json +10 -6
- package/dist/drawer-fyPyxnYQ.js +0 -782
- package/dist/icon-DjqSEQ-o.js +0 -75
- package/dist/section-DY8yPm11.js +0 -177
package/dist/docs/splitter.md
CHANGED
|
@@ -3,12 +3,234 @@
|
|
|
3
3
|
|
|
4
4
|
`data-ui="splitter"` · Resizable panes divided by a handle.
|
|
5
5
|
|
|
6
|
+
## Import
|
|
7
|
+
|
|
8
|
+
```tsx
|
|
9
|
+
import { Splitter, SplitterDefaultsProvider } from '@slotted/react/splitter';
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Minimal example
|
|
13
|
+
|
|
14
|
+
Excerpt — not a complete module
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
<div className="workspace">
|
|
18
|
+
<aside>…</aside>
|
|
19
|
+
<Splitter defaultValue={0.34} />
|
|
20
|
+
<main>…</main>
|
|
21
|
+
</div>;
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Anatomy
|
|
25
|
+
|
|
26
|
+
| Part | Element | Required |
|
|
27
|
+
| --- | --- | --- |
|
|
28
|
+
| `root` | div[role=separator][tabindex=0] | yes |
|
|
29
|
+
| `line` | span | yes |
|
|
30
|
+
| `grip` | span[aria-hidden] | yes |
|
|
31
|
+
|
|
32
|
+
## Props
|
|
33
|
+
|
|
34
|
+
| Name | Type | Default | Applies to | Description |
|
|
35
|
+
| --- | --- | --- | --- | --- |
|
|
36
|
+
| `orientation` | `'vertical' \| 'horizontal'` | vertical | Splitter | Which way the bar’s own line runs. A vertical line divides two regions side by side |
|
|
37
|
+
| `for` | `RefObject<HTMLElement \| null>` | the previous element sibling | Splitter | The element the bar sizes, announces, and writes the fraction on |
|
|
38
|
+
| `value` | `number` | — | Splitter | The fraction of the container taken by the region before the bar, in [0, 1] |
|
|
39
|
+
| `defaultValue` | `number` | 0.5 | Splitter | Where an uncontrolled bar starts, and where a double click and reset() return it, brought inside min and max |
|
|
40
|
+
| `min` | `number \| string` | 0 | Splitter | A fraction, or any CSS length resolved against the container — "200px", "18rem", "25%" |
|
|
41
|
+
| `max` | `number \| string` | 1 | Splitter | The ceiling, in either unit |
|
|
42
|
+
| `snapPoints` | `readonly number[]` | | Splitter | Stops a released drag lands on and an arrow steps between. Empty is a continuous range |
|
|
43
|
+
| `collapsible` | `boolean` | false | Splitter | Whether Enter collapses the region before the bar |
|
|
44
|
+
| `collapsedValue` | `number` | 0 | Splitter | Where a collapse lands |
|
|
45
|
+
| `collapsed` | `boolean` | — | Splitter | Whether the region is collapsed, when the consumer owns it |
|
|
46
|
+
| `defaultCollapsed` | `boolean` | false | Splitter | Where an uncontrolled collapse starts |
|
|
47
|
+
| `disabled` | `boolean` | false | Splitter | Stops the bar moving. It keeps the tab stop, so the value stays readable |
|
|
48
|
+
| `render` | `(props) => ReactNode` | — | Splitter | Renders a different root element, keeping the picture |
|
|
49
|
+
| `SplitterDefaultsProvider` | `orientation \| min \| max \| collapsedValue` | — | Provider | An application states its floor once rather than on every bar in it |
|
|
50
|
+
| `ref` | `RefObject<SplitterHandle>` | — | Splitter | collapse(), expand(), reset(), focus() and the bar itself |
|
|
51
|
+
| `render` | `(props) => ReactNode` | — | Splitter | Substitutes the element; the two lines and the grip travel with it, so the element must accept children |
|
|
52
|
+
| `onKeyDown, onPointerDown, onDoubleClick` | `(event) => void` | — | Splitter | Composed, never replaced: the consumer’s handler runs first, and preventDefault() refuses the family’s |
|
|
53
|
+
| `--slotted-splitter-value` | `number` | — | the element `for` names | The fraction, published where CSS can read it, so the common case needs no state at all |
|
|
54
|
+
|
|
55
|
+
## Events
|
|
56
|
+
|
|
57
|
+
| Name | Payload | When |
|
|
58
|
+
| --- | --- | --- |
|
|
59
|
+
| `onValueChange` | `(value: number, request: SplitterValueRequest)` | Before the position moves, on every step of a drag and on every key press. Call request.cancel() to refuse it; request.reason is pointer, keyboard or programmatic. |
|
|
60
|
+
| `onCollapsedChange` | `(collapsed: boolean, request: SplitterCollapsedRequest)` | Before Enter collapses the region or brings it back. Refusing it leaves both the state and the measure where they were. |
|
|
61
|
+
| `onResizeEnd` | `(value: number)` | Once, when a drag settles. onValueChange fires throughout one, so a consumer saving a layout saves here rather than sixty times there. |
|
|
62
|
+
|
|
6
63
|
## Axes and defaults
|
|
7
64
|
|
|
8
65
|
| Axis | Values | Default |
|
|
9
66
|
| --- | --- | --- |
|
|
10
67
|
| `orientation` | `vertical`, `horizontal` | `vertical` |
|
|
11
68
|
|
|
69
|
+
## Rules
|
|
70
|
+
|
|
71
|
+
- The bar has no default accessible name: the family cannot know which region it sizes. Name it with aria-labelledby pointing at the heading of the element `for` names, or with aria-label.
|
|
72
|
+
- The bar is role="separator" with tabindex="0", which is the focusable widget form the role takes in the WAI-ARIA Window Splitter pattern; aria-valuenow, aria-valuemin and aria-valuemax are the fraction times a hundred, and the value reported is the clamped one, so the announcement and the layout cannot disagree.
|
|
73
|
+
- aria-orientation is written only for the vertical bar, because horizontal is the attribute’s own default on role="separator" and a family writes the departure from an element’s semantics rather than the agreement with it.
|
|
74
|
+
- aria-controls names the element `for` hands the bar — the same element that carries --slotted-splitter-value and the same one the bar sizes, so what a reader hears and what a reader sees are one region rather than two that can drift; the family writes that element an id when it has none.
|
|
75
|
+
- A disabled bar keeps its tab stop and its announcement. A reader who cannot move a separator can still read the value it holds, and taking the stop away would take the value with it.
|
|
76
|
+
- Both lines and the grip are aria-hidden: they are the bar’s own picture, and the bar around them is already named and already valued.
|
|
77
|
+
|
|
12
78
|
## Tokens
|
|
13
79
|
|
|
14
80
|
`--slotted-border-strong`, `--slotted-border-width-thin`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-border`, `--slotted-duration-instant`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-sm`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-9`, `--slotted-splitter-disabled-line-color`, `--slotted-splitter-line-active-color`, `--slotted-splitter-line-color`, `--slotted-target-min`, `--slotted-text-muted`
|
|
81
|
+
|
|
82
|
+
## Examples
|
|
83
|
+
|
|
84
|
+
### Both axes, and the arrows each one answers
|
|
85
|
+
|
|
86
|
+
A vertical bar divides two regions side by side and answers Left and Right; a horizontal bar divides two stacked regions and answers Up and Down. The other pair is left to the page, so a document that scrolls still scrolls.
|
|
87
|
+
|
|
88
|
+
Excerpt — not a complete module
|
|
89
|
+
|
|
90
|
+
```tsx
|
|
91
|
+
<Splitter orientation="vertical" />;
|
|
92
|
+
<Splitter orientation="horizontal" />;
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Controlled, and the fraction published to CSS
|
|
96
|
+
|
|
97
|
+
The left pair is uncontrolled and writes --slotted-splitter-value on the region; the right pair is controlled and the number is in React state. Both regions are sized by one CSS rule, never by a style attribute.
|
|
98
|
+
|
|
99
|
+
Excerpt — not a complete module
|
|
100
|
+
|
|
101
|
+
```tsx
|
|
102
|
+
/* aside { inline-size: calc(var(--slotted-splitter-value, 0.34) * 100%) } */
|
|
103
|
+
<Splitter defaultValue={0.34} />;
|
|
104
|
+
|
|
105
|
+
<Splitter onValueChange={setValue} value={value} />;
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### A floor in pixels beside a ceiling in per cent
|
|
109
|
+
|
|
110
|
+
Drag both bars to their ends. The first stops at two hundred pixels however narrow the window gets; the second stops at sixty per cent of it. Not one of the seven surveyed implementations can state the first — Zag says outright that it takes percentages only.
|
|
111
|
+
|
|
112
|
+
Excerpt — not a complete module
|
|
113
|
+
|
|
114
|
+
```tsx
|
|
115
|
+
<Splitter max={0.6} min="200px" />;
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Enter collapses the region, and Enter brings it back
|
|
119
|
+
|
|
120
|
+
The pattern’s own key. Collapsing stores the fraction the region had and expanding returns it, so a restored region comes back where it was rather than at some small size indistinguishable from a collapse.
|
|
121
|
+
|
|
122
|
+
Excerpt — not a complete module
|
|
123
|
+
|
|
124
|
+
```tsx
|
|
125
|
+
<Splitter collapsedValue={0.06} collapsible defaultValue={0.34} />;
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Three stops a released drag lands on
|
|
129
|
+
|
|
130
|
+
Drag past a stop and let go: the bar takes the nearest one. It snaps on release and never during the drag, because a bar that snapped on every move would fight the hand rather than help it. The arrows step between the same stops.
|
|
131
|
+
|
|
132
|
+
Excerpt — not a complete module
|
|
133
|
+
|
|
134
|
+
```tsx
|
|
135
|
+
<Splitter snapPoints={[0.2, 0.34, 0.5]} />;
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Double click puts it back at defaultValue
|
|
139
|
+
|
|
140
|
+
Move the bar anywhere, then double click it: it returns to defaultValue, inside min and max. The pattern assigns double click nothing, and every surveyed implementation that ships a reset puts it there; the same action is on the handle as reset().
|
|
141
|
+
|
|
142
|
+
Excerpt — not a complete module
|
|
143
|
+
|
|
144
|
+
```tsx
|
|
145
|
+
<Splitter defaultValue={0.34} />; /* double click returns to 0.34 */
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Frozen, and still readable
|
|
149
|
+
|
|
150
|
+
The bar keeps its tab stop and its three ARIA values, and the lines drop to the disabled step. Hover and press are held back for it. A reader who cannot move a separator can still be told where it is.
|
|
151
|
+
|
|
152
|
+
Excerpt — not a complete module
|
|
153
|
+
|
|
154
|
+
```tsx
|
|
155
|
+
<Splitter disabled value={0.34} />;
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Every key the pattern lists
|
|
159
|
+
|
|
160
|
+
Tab to the bar: arrows move sixteen pixels and sixty-four with Shift, Home and End go to the limits, Enter collapses and restores. Watch aria-valuenow in the row beneath as each one lands.
|
|
161
|
+
|
|
162
|
+
Excerpt — not a complete module
|
|
163
|
+
|
|
164
|
+
```tsx
|
|
165
|
+
<Splitter collapsible max={0.75} min={0.15} onValueChange={(value) => setAnnounced(value)} />;
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Two bars in series, each clamping alone
|
|
169
|
+
|
|
170
|
+
The shape the SAP Help Portal uses. The family holds no panels, so the consumer owns the layout and therefore the policy: each bar clamps against its own limits and neither negotiates with the other.
|
|
171
|
+
|
|
172
|
+
Excerpt — not a complete module
|
|
173
|
+
|
|
174
|
+
```tsx
|
|
175
|
+
<div className="workspace">
|
|
176
|
+
<aside ref={toc}>…</aside>
|
|
177
|
+
<Splitter for={toc} max={0.4} min="180px" />
|
|
178
|
+
<main ref={doc}>…</main>
|
|
179
|
+
<Splitter for={doc} max={0.85} min={0.4} />
|
|
180
|
+
<aside>…</aside>
|
|
181
|
+
</div>;
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### A layout that survives a reload
|
|
185
|
+
|
|
186
|
+
Move the bar and press Reload: the position comes back. onResizeEnd fires once when a drag settles, so the write happens once rather than on every frame of it. The family never touches storage — which storage, and whether a layout crosses a login, are the application’s decisions.
|
|
187
|
+
|
|
188
|
+
Excerpt — not a complete module
|
|
189
|
+
|
|
190
|
+
```tsx
|
|
191
|
+
<Splitter
|
|
192
|
+
defaultValue={load() ?? 0.34}
|
|
193
|
+
onResizeEnd={(value) => localStorage.setItem('workspace', String(value))}
|
|
194
|
+
/>;
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### A different element, a ref, and a handler that refuses
|
|
198
|
+
|
|
199
|
+
The bar is rendered as the consumer’s own element with render, and the two lines and the grip travel with it. The buttons drive the handle; the third bar refuses every keyboard move from its own onKeyDown.
|
|
200
|
+
|
|
201
|
+
Excerpt — not a complete module
|
|
202
|
+
|
|
203
|
+
```tsx
|
|
204
|
+
<Splitter ref={handle} render={(props) => <section {...props} />} />;
|
|
205
|
+
|
|
206
|
+
handle.current?.collapse();
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### One floor, stated once for the application
|
|
210
|
+
|
|
211
|
+
Both bars inside the provider inherit a two-hundred-pixel floor; the second states its own and wins, because an explicit consumer value always does. None of the seven surveyed implementations has an equivalent.
|
|
212
|
+
|
|
213
|
+
Excerpt — not a complete module
|
|
214
|
+
|
|
215
|
+
```tsx
|
|
216
|
+
<SplitterDefaultsProvider min="200px">
|
|
217
|
+
<Splitter />
|
|
218
|
+
<Splitter min={0.05} />
|
|
219
|
+
</SplitterDefaultsProvider>;
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### What a screen reader is told
|
|
223
|
+
|
|
224
|
+
The bar names the region through aria-controls and takes its name from that region’s own heading, which is the pattern’s rule: a separator is named for the region it sizes. The row beneath prints the four attributes as they stand in the DOM.
|
|
225
|
+
|
|
226
|
+
Excerpt — not a complete module
|
|
227
|
+
|
|
228
|
+
```tsx
|
|
229
|
+
<div className="workspace">
|
|
230
|
+
<aside ref={region}>
|
|
231
|
+
<h3 id="contas-heading">Contas a receber</h3>
|
|
232
|
+
</aside>
|
|
233
|
+
<Splitter aria-labelledby="contas-heading" for={region} />
|
|
234
|
+
<main>…</main>
|
|
235
|
+
</div>;
|
|
236
|
+
```
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"root",
|
|
55
55
|
"mark",
|
|
56
56
|
"label",
|
|
57
|
+
"detail",
|
|
57
58
|
"announcement"
|
|
58
59
|
]
|
|
59
60
|
}
|
|
@@ -74,13 +75,19 @@
|
|
|
74
75
|
"part": "mark",
|
|
75
76
|
"element": "span",
|
|
76
77
|
"required": true,
|
|
77
|
-
"purpose": "The disc or the glyph
|
|
78
|
+
"purpose": "The disc or the glyph, inside the first line and centred on its capitals, so the mark stays on that line however far the label wraps. Hidden from assistive technology: it says nothing the label does not."
|
|
78
79
|
},
|
|
79
80
|
{
|
|
80
81
|
"part": "label",
|
|
81
82
|
"element": "span",
|
|
82
83
|
"required": true,
|
|
83
|
-
"purpose": "The words. It wraps rather than truncating, and breaks an unbroken token, so a deployment id does not widen the column it sits in."
|
|
84
|
+
"purpose": "The words. It wraps rather than truncating, with the lines after the first under the first word, and breaks an unbroken token, so a deployment id does not widen the column it sits in. A table row aligns on its first line."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"part": "detail",
|
|
88
|
+
"element": "span",
|
|
89
|
+
"required": false,
|
|
90
|
+
"purpose": "A second, quieter line under the words — a progress, a time — set in the muted text colour and hanging under the first word. Rendered from the detail prop, inside the label, so it is read with the words."
|
|
84
91
|
},
|
|
85
92
|
{
|
|
86
93
|
"part": "announcement",
|
|
@@ -148,6 +155,13 @@
|
|
|
148
155
|
"appliesTo": "StatusIndicator",
|
|
149
156
|
"description": "The visible words, which are also the accessible name — a status that shows its words needs no second copy of them"
|
|
150
157
|
},
|
|
158
|
+
{
|
|
159
|
+
"name": "detail",
|
|
160
|
+
"type": "ReactNode",
|
|
161
|
+
"defaultValue": "—",
|
|
162
|
+
"appliesTo": "StatusIndicator",
|
|
163
|
+
"description": "A second, quieter line under the words, rendered inside the label as the detail part"
|
|
164
|
+
},
|
|
151
165
|
{
|
|
152
166
|
"name": "render",
|
|
153
167
|
"type": "(props: StatusIndicatorRootProps) => ReactNode",
|
|
@@ -197,9 +211,6 @@
|
|
|
197
211
|
"--slotted-control-font-size-lg",
|
|
198
212
|
"--slotted-control-font-size-md",
|
|
199
213
|
"--slotted-control-font-size-sm",
|
|
200
|
-
"--slotted-control-icon-size-lg",
|
|
201
|
-
"--slotted-control-icon-size-md",
|
|
202
|
-
"--slotted-control-icon-size-sm",
|
|
203
214
|
"--slotted-duration-loop-slow",
|
|
204
215
|
"--slotted-duration-short",
|
|
205
216
|
"--slotted-easing-enter",
|
|
@@ -27,6 +27,7 @@ Excerpt — not a complete module
|
|
|
27
27
|
| `root` | span | yes |
|
|
28
28
|
| `mark` | span | yes |
|
|
29
29
|
| `label` | span | yes |
|
|
30
|
+
| `detail` | span | no |
|
|
30
31
|
| `announcement` | span | no |
|
|
31
32
|
|
|
32
33
|
## Props
|
|
@@ -41,6 +42,7 @@ Excerpt — not a complete module
|
|
|
41
42
|
| `label` | `string` | — | StatusIndicator | What a reader hears when there are no visible words. Ignored when there are. Falls back to the status’s word in the catalog |
|
|
42
43
|
| `messages` | `Partial<StatusIndicatorMessages>` | — | StatusIndicator | Words laid over the language in force, key by key: the word each status is heard as when there are no visible words (neutral, info, success, warning, danger, unknown) |
|
|
43
44
|
| `children` | `ReactNode` | — | StatusIndicator | The visible words, which are also the accessible name — a status that shows its words needs no second copy of them |
|
|
45
|
+
| `detail` | `ReactNode` | — | StatusIndicator | A second, quieter line under the words, rendered inside the label as the detail part |
|
|
44
46
|
| `render` | `(props: StatusIndicatorRootProps) => ReactNode` | — | StatusIndicator | Substitutes the rendered element. Every data attribute and both inner parts are handed to it, so a status can become a link without losing its mark |
|
|
45
47
|
| `ref` | `Ref<HTMLSpanElement>` | — | StatusIndicator | Reaches the root element. There is no imperative handle beyond it: the family has no action a page cannot express declaratively |
|
|
46
48
|
| `StatusIndicatorDefaultsProvider` | `{ mark, size, live }` | — | a subtree | Sets the three once for everything below it. An explicit prop still wins |
|
|
@@ -67,7 +69,7 @@ Excerpt — not a complete module
|
|
|
67
69
|
|
|
68
70
|
## Tokens
|
|
69
71
|
|
|
70
|
-
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-
|
|
72
|
+
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-duration-loop-slow`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-status-indicator-font-family`, `--slotted-status-indicator-mark-border-color`, `--slotted-status-indicator-mark-border-width`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-solid`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-text`
|
|
71
73
|
|
|
72
74
|
## Examples
|
|
73
75
|
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"type": "boolean",
|
|
264
264
|
"defaultValue": "false",
|
|
265
265
|
"appliesTo": "TableOfContents",
|
|
266
|
-
"description": "Pins the column under the page’s chrome and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout"
|
|
266
|
+
"description": "Pins the column under the page’s chrome, clear of it by --slotted-table-of-contents-sticky-inset, and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout"
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
"name": "history",
|
|
@@ -430,6 +430,7 @@
|
|
|
430
430
|
"--slotted-table-of-contents-color-hover",
|
|
431
431
|
"--slotted-table-of-contents-indent",
|
|
432
432
|
"--slotted-table-of-contents-marker-color",
|
|
433
|
+
"--slotted-table-of-contents-sticky-inset",
|
|
433
434
|
"--slotted-table-of-contents-track-color",
|
|
434
435
|
"--slotted-table-of-contents-track-width",
|
|
435
436
|
"--slotted-text",
|
|
@@ -50,7 +50,7 @@ Excerpt — not a complete module
|
|
|
50
50
|
| `defaultOpen` | `boolean` | false | TableOfContents | What an uncontrolled collapsed list starts from |
|
|
51
51
|
| `layout` | `'vertical' \| 'horizontal' \| 'collapsed'` | vertical | TableOfContents | The column, the bar, or the trigger with the list under it. The consumer’s breakpoint decides; the family never decides by width |
|
|
52
52
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | TableOfContents | The row step, on the control scale: height, type and inset |
|
|
53
|
-
| `sticky` | `boolean` | false | TableOfContents | Pins the column under the page’s chrome and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout |
|
|
53
|
+
| `sticky` | `boolean` | false | TableOfContents | Pins the column under the page’s chrome, clear of it by --slotted-table-of-contents-sticky-inset, and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout |
|
|
54
54
|
| `history` | `'push' \| 'replace' \| 'none'` | push | TableOfContents | What a press does to the URL: pushState, replaceState, or nothing. scrollTo() never writes it |
|
|
55
55
|
| `numbered` | `boolean` | false | TableOfContents | Counters per level before each link |
|
|
56
56
|
| `landmark` | `boolean` | true | TableOfContents | Whether the root is a nav with a name. false renders a div, for a list inside a landmark that already has one |
|
|
@@ -96,7 +96,7 @@ Excerpt — not a complete module
|
|
|
96
96
|
|
|
97
97
|
## Tokens
|
|
98
98
|
|
|
99
|
-
`--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-table-of-contents-color`, `--slotted-table-of-contents-color-current`, `--slotted-table-of-contents-color-hover`, `--slotted-table-of-contents-indent`, `--slotted-table-of-contents-marker-color`, `--slotted-table-of-contents-track-color`, `--slotted-table-of-contents-track-width`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-z-index-popover`
|
|
99
|
+
`--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-table-of-contents-color`, `--slotted-table-of-contents-color-current`, `--slotted-table-of-contents-color-hover`, `--slotted-table-of-contents-indent`, `--slotted-table-of-contents-marker-color`, `--slotted-table-of-contents-sticky-inset`, `--slotted-table-of-contents-track-color`, `--slotted-table-of-contents-track-width`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-z-index-popover`
|
|
100
100
|
|
|
101
101
|
## Examples
|
|
102
102
|
|
package/dist/docs/tooltip.json
CHANGED
package/dist/docs/tooltip.md
CHANGED
|
@@ -131,7 +131,7 @@ export default function TooltipBasic() {
|
|
|
131
131
|
|
|
132
132
|
## Tokens
|
|
133
133
|
|
|
134
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-font-family-sans`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-surface-inverse`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-tooltip-arrow-size`, `--slotted-tooltip-arrow-tip-radius`, `--slotted-tooltip-border-color`, `--slotted-tooltip-gap`, `--slotted-tooltip-measure`, `--slotted-tooltip-measure-sm`, `--slotted-tooltip-radius`, `--slotted-tooltip-shadow`, `--slotted-tooltip-surface`, `--slotted-tooltip-surface-raised`, `--slotted-tooltip-text`, `--slotted-tooltip-text-raised`, `--slotted-z-index-popover`
|
|
134
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-font-family-sans`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-surface-inverse`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-tooltip-arrow-size`, `--slotted-tooltip-arrow-tip-radius`, `--slotted-tooltip-backdrop-filter`, `--slotted-tooltip-border-color`, `--slotted-tooltip-gap`, `--slotted-tooltip-measure`, `--slotted-tooltip-measure-sm`, `--slotted-tooltip-radius`, `--slotted-tooltip-shadow`, `--slotted-tooltip-surface`, `--slotted-tooltip-surface-raised`, `--slotted-tooltip-text`, `--slotted-tooltip-text-raised`, `--slotted-z-index-popover`
|
|
135
135
|
|
|
136
136
|
## Examples
|
|
137
137
|
|