@byok-ui/ui-components 0.0.0-stage → 2.32.0
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/LICENSE +21 -0
- package/README.md +34 -2
- package/dist/a11y/focus-targets.d.ts +14 -0
- package/dist/a11y/focus-targets.d.ts.map +1 -0
- package/dist/a11y/focus-targets.js +4 -0
- package/dist/accordion-DWlYaOG8.d.ts +39 -0
- package/dist/accordion-DWlYaOG8.d.ts.map +1 -0
- package/dist/accordion-DkJfnDHi.js +150 -0
- package/dist/accordion-DkJfnDHi.js.map +1 -0
- package/dist/activity-bar-B5ZfXKno.js +85 -0
- package/dist/activity-bar-B5ZfXKno.js.map +1 -0
- package/dist/activity-bar-DpW5ixsO.d.ts +24 -0
- package/dist/activity-bar-DpW5ixsO.d.ts.map +1 -0
- package/dist/activity-calendar-Czaa2trT.d.ts +57 -0
- package/dist/activity-calendar-Czaa2trT.d.ts.map +1 -0
- package/dist/activity-calendar-DvjvkPrr.js +286 -0
- package/dist/activity-calendar-DvjvkPrr.js.map +1 -0
- package/dist/activity-calendar-math-C4cq-tAV.js +177 -0
- package/dist/activity-calendar-math-C4cq-tAV.js.map +1 -0
- package/dist/activity-calendar-math-CrZ3gnsd.d.ts +111 -0
- package/dist/activity-calendar-math-CrZ3gnsd.d.ts.map +1 -0
- package/dist/activity-colors-Cnmi4KbP.js +27 -0
- package/dist/activity-colors-Cnmi4KbP.js.map +1 -0
- package/dist/activity-indicator-C4AIxVxs.js +54 -0
- package/dist/activity-indicator-C4AIxVxs.js.map +1 -0
- package/dist/activity-indicator-DUL77qzb.d.ts +23 -0
- package/dist/activity-indicator-DUL77qzb.d.ts.map +1 -0
- package/dist/activity-log-Cga_c3GQ.js +208 -0
- package/dist/activity-log-Cga_c3GQ.js.map +1 -0
- package/dist/activity-log-X7pcQh2W.d.ts +29 -0
- package/dist/activity-log-X7pcQh2W.d.ts.map +1 -0
- package/dist/activity-panel-BY5ZbOMM.d.ts +38 -0
- package/dist/activity-panel-BY5ZbOMM.d.ts.map +1 -0
- package/dist/activity-panel-n_nulywa.js +59 -0
- package/dist/activity-panel-n_nulywa.js.map +1 -0
- package/dist/activity-task-row-BJhpd92X.js +253 -0
- package/dist/activity-task-row-BJhpd92X.js.map +1 -0
- package/dist/activity-task-row-BzoFPIi-.d.ts +25 -0
- package/dist/activity-task-row-BzoFPIi-.d.ts.map +1 -0
- package/dist/agent/assumption-banner.d.ts +2 -0
- package/dist/agent/assumption-banner.js +7 -0
- package/dist/agent/attachment-strip.d.ts +3 -0
- package/dist/agent/attachment-strip.js +6 -0
- package/dist/agent/composer.d.ts +2 -0
- package/dist/agent/composer.js +12 -0
- package/dist/agent/inbox-actions.d.ts +3 -0
- package/dist/agent/inbox-actions.js +7 -0
- package/dist/agent/inbox-types.d.ts +2 -0
- package/dist/agent/inbox-types.js +0 -0
- package/dist/agent/inspector-content.d.ts +5 -0
- package/dist/agent/inspector-content.js +8 -0
- package/dist/agent/option-list.d.ts +3 -0
- package/dist/agent/option-list.js +6 -0
- package/dist/agent/question-card.d.ts +3 -0
- package/dist/agent/question-card.js +6 -0
- package/dist/agent/rollup-line.d.ts +2 -0
- package/dist/agent/rollup-line.js +3 -0
- package/dist/agent/timeline-turn-row.d.ts +2 -0
- package/dist/agent/timeline-turn-row.js +3 -0
- package/dist/agent/tool-call-card.d.ts +3 -0
- package/dist/agent/tool-call-card.js +5 -0
- package/dist/agent/transcript-row.d.ts +3 -0
- package/dist/agent/transcript-row.js +8 -0
- package/dist/agent/types.d.ts +2 -0
- package/dist/agent/types.js +3 -0
- package/dist/app/app-shell.d.ts +3 -0
- package/dist/app/app-shell.js +14 -0
- package/dist/app/bottom-nav-item.d.ts +2 -0
- package/dist/app/bottom-nav-item.js +3 -0
- package/dist/app/bottom-nav.d.ts +2 -0
- package/dist/app/bottom-nav.js +4 -0
- package/dist/app/card.d.ts +3 -0
- package/dist/app/card.js +4 -0
- package/dist/app/filter-bar.d.ts +4 -0
- package/dist/app/filter-bar.js +9 -0
- package/dist/app/frames.d.ts +2 -0
- package/dist/app/frames.js +3 -0
- package/dist/app/group-bar.d.ts +2 -0
- package/dist/app/group-bar.js +7 -0
- package/dist/app/icon-tile.d.ts +3 -0
- package/dist/app/icon-tile.js +4 -0
- package/dist/app/inspector-panel.d.ts +2 -0
- package/dist/app/inspector-panel.js +7 -0
- package/dist/app/link-card.d.ts +2 -0
- package/dist/app/link-card.js +5 -0
- package/dist/app/list-row-tone.d.ts +2 -0
- package/dist/app/list-row-tone.js +3 -0
- package/dist/app/list-row.d.ts +3 -0
- package/dist/app/list-row.js +4 -0
- package/dist/app/menu.d.ts +2 -0
- package/dist/app/menu.js +3 -0
- package/dist/app/metadata-chip.d.ts +2 -0
- package/dist/app/metadata-chip.js +4 -0
- package/dist/app/nav-item.d.ts +2 -0
- package/dist/app/nav-item.js +4 -0
- package/dist/app/nav-tree.d.ts +3 -0
- package/dist/app/nav-tree.js +7 -0
- package/dist/app/page-header.d.ts +2 -0
- package/dist/app/page-header.js +3 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/app/page.js +3 -0
- package/dist/app/panes.d.ts +2 -0
- package/dist/app/panes.js +3 -0
- package/dist/app/section.d.ts +2 -0
- package/dist/app/section.js +3 -0
- package/dist/app/session-bar.d.ts +3 -0
- package/dist/app/session-bar.js +11 -0
- package/dist/app/session-clock.d.ts +12 -0
- package/dist/app/session-clock.d.ts.map +1 -0
- package/dist/app/session-clock.js +3 -0
- package/dist/app/sidebar.d.ts +4 -0
- package/dist/app/sidebar.js +13 -0
- package/dist/app/stat-tile.d.ts +3 -0
- package/dist/app/stat-tile.js +10 -0
- package/dist/app/status-bar.d.ts +2 -0
- package/dist/app/status-bar.js +3 -0
- package/dist/app/tag.d.ts +2 -0
- package/dist/app/tag.js +3 -0
- package/dist/app/task-row.d.ts +3 -0
- package/dist/app/task-row.js +4 -0
- package/dist/app/toolbar.d.ts +2 -0
- package/dist/app/toolbar.js +3 -0
- package/dist/app/top-bar.d.ts +2 -0
- package/dist/app/top-bar.js +7 -0
- package/dist/app/use-window-width.d.ts +17 -0
- package/dist/app/use-window-width.d.ts.map +1 -0
- package/dist/app/use-window-width.js +3 -0
- package/dist/app-shell-CS1dRfRR.d.ts +66 -0
- package/dist/app-shell-CS1dRfRR.d.ts.map +1 -0
- package/dist/app-shell-CivlCOv2.js +131 -0
- package/dist/app-shell-CivlCOv2.js.map +1 -0
- package/dist/assumption-banner-Aj36P3GA.js +61 -0
- package/dist/assumption-banner-Aj36P3GA.js.map +1 -0
- package/dist/assumption-banner-BrnxiHx8.d.ts +40 -0
- package/dist/assumption-banner-BrnxiHx8.d.ts.map +1 -0
- package/dist/async-action-DMoWnav2.d.ts +24 -0
- package/dist/async-action-DMoWnav2.d.ts.map +1 -0
- package/dist/async-action-note-D9u3ngeI.js +45 -0
- package/dist/async-action-note-D9u3ngeI.js.map +1 -0
- package/dist/async-action-note-DV7F1X3e.d.ts +20 -0
- package/dist/async-action-note-DV7F1X3e.d.ts.map +1 -0
- package/dist/async-button-bWxRyy7m.d.ts +45 -0
- package/dist/async-button-bWxRyy7m.d.ts.map +1 -0
- package/dist/async-button-o-k3n2Tt.js +75 -0
- package/dist/async-button-o-k3n2Tt.js.map +1 -0
- package/dist/async-content-Bwq2gYV3.d.ts +62 -0
- package/dist/async-content-Bwq2gYV3.d.ts.map +1 -0
- package/dist/async-content-CTgUmztV.js +52 -0
- package/dist/async-content-CTgUmztV.js.map +1 -0
- package/dist/attachment-strip-6ZXifkUZ.js +69 -0
- package/dist/attachment-strip-6ZXifkUZ.js.map +1 -0
- package/dist/attachment-strip-BbLL5blp.d.ts +49 -0
- package/dist/attachment-strip-BbLL5blp.d.ts.map +1 -0
- package/dist/auto-size-B0-UkOiA.d.ts +15 -0
- package/dist/auto-size-B0-UkOiA.d.ts.map +1 -0
- package/dist/auto-size-C1Nlh-Cb.js +12 -0
- package/dist/auto-size-C1Nlh-Cb.js.map +1 -0
- package/dist/avatar-BYKn3rhp.js +45 -0
- package/dist/avatar-BYKn3rhp.js.map +1 -0
- package/dist/avatar-_8i1rwjJ.d.ts +20 -0
- package/dist/avatar-_8i1rwjJ.d.ts.map +1 -0
- package/dist/badge-CuWb8-nn.d.ts +22 -0
- package/dist/badge-CuWb8-nn.d.ts.map +1 -0
- package/dist/badge-gudFBRKH.js +35 -0
- package/dist/badge-gudFBRKH.js.map +1 -0
- package/dist/banner-B827FSGt.js +113 -0
- package/dist/banner-B827FSGt.js.map +1 -0
- package/dist/banner-D-MYl0iK.d.ts +82 -0
- package/dist/banner-D-MYl0iK.d.ts.map +1 -0
- package/dist/bar-chart-FquwWyyW.d.ts +39 -0
- package/dist/bar-chart-FquwWyyW.d.ts.map +1 -0
- package/dist/bar-chart-iGLvNuBn.js +152 -0
- package/dist/bar-chart-iGLvNuBn.js.map +1 -0
- package/dist/bottom-nav-DsUNaJns.d.ts +69 -0
- package/dist/bottom-nav-DsUNaJns.d.ts.map +1 -0
- package/dist/bottom-nav-Dtroi4Vq.js +42 -0
- package/dist/bottom-nav-Dtroi4Vq.js.map +1 -0
- package/dist/bottom-nav-item-DVwfQ2YU.js +84 -0
- package/dist/bottom-nav-item-DVwfQ2YU.js.map +1 -0
- package/dist/bottom-sheet-CjMwvZIS.d.ts +65 -0
- package/dist/bottom-sheet-CjMwvZIS.d.ts.map +1 -0
- package/dist/bottom-sheet-math-DoMU4u6i.js +67 -0
- package/dist/bottom-sheet-math-DoMU4u6i.js.map +1 -0
- package/dist/bottom-sheet-pYwqz0p1.js +258 -0
- package/dist/bottom-sheet-pYwqz0p1.js.map +1 -0
- package/dist/breadcrumb-BpxjEpcd.d.ts +40 -0
- package/dist/breadcrumb-BpxjEpcd.d.ts.map +1 -0
- package/dist/breadcrumb-DZgalNl6.js +172 -0
- package/dist/breadcrumb-DZgalNl6.js.map +1 -0
- package/dist/breadcrumb-items-BbvoSrG_.js +39 -0
- package/dist/breadcrumb-items-BbvoSrG_.js.map +1 -0
- package/dist/breadcrumb-items-BcYZqNXf.d.ts +49 -0
- package/dist/breadcrumb-items-BcYZqNXf.d.ts.map +1 -0
- package/dist/button-Dl-7Q7-S.js +133 -0
- package/dist/button-Dl-7Q7-S.js.map +1 -0
- package/dist/button-zVnMKPd8.d.ts +85 -0
- package/dist/button-zVnMKPd8.d.ts.map +1 -0
- package/dist/calendar-BeXKpspH.d.ts +50 -0
- package/dist/calendar-BeXKpspH.d.ts.map +1 -0
- package/dist/calendar-DWJGhBvv.js +236 -0
- package/dist/calendar-DWJGhBvv.js.map +1 -0
- package/dist/callout-BCOEO_oX.js +126 -0
- package/dist/callout-BCOEO_oX.js.map +1 -0
- package/dist/callout-Bee2Zh4E.d.ts +69 -0
- package/dist/callout-Bee2Zh4E.d.ts.map +1 -0
- package/dist/canvas/canvas.d.ts +2 -0
- package/dist/canvas/canvas.js +7 -0
- package/dist/canvas/git-dot-node.d.ts +24 -0
- package/dist/canvas/git-dot-node.d.ts.map +1 -0
- package/dist/canvas/git-dot-node.js +3 -0
- package/dist/canvas/git-graph.d.ts +2 -0
- package/dist/canvas/git-graph.js +4 -0
- package/dist/canvas/layer-row.d.ts +2 -0
- package/dist/canvas/layer-row.js +3 -0
- package/dist/canvas/metro-map.d.ts +2 -0
- package/dist/canvas/metro-map.js +3 -0
- package/dist/canvas/state-diagram.d.ts +2 -0
- package/dist/canvas/state-diagram.js +3 -0
- package/dist/canvas/vector-map-geometry.d.ts +2 -0
- package/dist/canvas/vector-map-geometry.js +3 -0
- package/dist/canvas/vector-map.d.ts +4 -0
- package/dist/canvas/vector-map.js +9 -0
- package/dist/canvas-BZMr1GPl.js +93 -0
- package/dist/canvas-BZMr1GPl.js.map +1 -0
- package/dist/canvas-Dos-ktDd.d.ts +24 -0
- package/dist/canvas-Dos-ktDd.d.ts.map +1 -0
- package/dist/card-CQP7cq2o.d.ts +64 -0
- package/dist/card-CQP7cq2o.d.ts.map +1 -0
- package/dist/card-CxrhGBbG.js +62 -0
- package/dist/card-CxrhGBbG.js.map +1 -0
- package/dist/chart-math-CNanof1A.js +198 -0
- package/dist/chart-math-CNanof1A.js.map +1 -0
- package/dist/chart-math-_UK1h-oX.d.ts +100 -0
- package/dist/chart-math-_UK1h-oX.d.ts.map +1 -0
- package/dist/chart-parts-60YII6Wa.d.ts +102 -0
- package/dist/chart-parts-60YII6Wa.d.ts.map +1 -0
- package/dist/chart-parts-CiJyaw2M.js +243 -0
- package/dist/chart-parts-CiJyaw2M.js.map +1 -0
- package/dist/check-circle-BAAMrisG.js +50 -0
- package/dist/check-circle-BAAMrisG.js.map +1 -0
- package/dist/check-circle-CYJnQObN.d.ts +23 -0
- package/dist/check-circle-CYJnQObN.d.ts.map +1 -0
- package/dist/checkbox--HynToKS.d.ts +23 -0
- package/dist/checkbox--HynToKS.d.ts.map +1 -0
- package/dist/checkbox-k9iQJKZf.js +93 -0
- package/dist/checkbox-k9iQJKZf.js.map +1 -0
- package/dist/chip-CvsLggOO.js +42 -0
- package/dist/chip-CvsLggOO.js.map +1 -0
- package/dist/chip-f0gxdGA7.d.ts +32 -0
- package/dist/chip-f0gxdGA7.d.ts.map +1 -0
- package/dist/chrome-CYNhalhX.d.ts +1 -0
- package/dist/chrome-DkeBrdY-.js +0 -0
- package/dist/click-modifiers-aQYWncwJ.d.ts +26 -0
- package/dist/click-modifiers-aQYWncwJ.d.ts.map +1 -0
- package/dist/click-modifiers-pcX0R8pX.js +30 -0
- package/dist/click-modifiers-pcX0R8pX.js.map +1 -0
- package/dist/code-block-C_GmQl5I.d.ts +108 -0
- package/dist/code-block-C_GmQl5I.d.ts.map +1 -0
- package/dist/code-block-D0mKgMM8.js +96 -0
- package/dist/code-block-D0mKgMM8.js.map +1 -0
- package/dist/code-view-BTGwAQrz.d.ts +36 -0
- package/dist/code-view-BTGwAQrz.d.ts.map +1 -0
- package/dist/code-view-CAHkie-D.js +54 -0
- package/dist/code-view-CAHkie-D.js.map +1 -0
- package/dist/collapsible-CXHNm4Nh.js +65 -0
- package/dist/collapsible-CXHNm4Nh.js.map +1 -0
- package/dist/collapsible-DhusPI6z.d.ts +68 -0
- package/dist/collapsible-DhusPI6z.d.ts.map +1 -0
- package/dist/collapsible-section-BKXUb0cP.js +134 -0
- package/dist/collapsible-section-BKXUb0cP.js.map +1 -0
- package/dist/collapsible-section-DUSpBf7K.d.ts +35 -0
- package/dist/collapsible-section-DUSpBf7K.d.ts.map +1 -0
- package/dist/color-channel-field-BdbpBUSW.js +56 -0
- package/dist/color-channel-field-BdbpBUSW.js.map +1 -0
- package/dist/color-field-BurP_4tG.d.ts +33 -0
- package/dist/color-field-BurP_4tG.d.ts.map +1 -0
- package/dist/color-field-C2kMscxs.js +156 -0
- package/dist/color-field-C2kMscxs.js.map +1 -0
- package/dist/color-well-CQIdZtUd.d.ts +21 -0
- package/dist/color-well-CQIdZtUd.d.ts.map +1 -0
- package/dist/color-well-Dss4O30H.js +78 -0
- package/dist/color-well-Dss4O30H.js.map +1 -0
- package/dist/combobox-BuTbjd-o.js +290 -0
- package/dist/combobox-BuTbjd-o.js.map +1 -0
- package/dist/combobox-D6dzHl2-.d.ts +63 -0
- package/dist/combobox-D6dzHl2-.d.ts.map +1 -0
- package/dist/combobox-math-D4SpMIYd.js +74 -0
- package/dist/combobox-math-D4SpMIYd.js.map +1 -0
- package/dist/combobox-math-DNdphGf0.d.ts +92 -0
- package/dist/combobox-math-DNdphGf0.d.ts.map +1 -0
- package/dist/composer-C4wTxfby.d.ts +53 -0
- package/dist/composer-C4wTxfby.d.ts.map +1 -0
- package/dist/composer-DccKzLoe.js +104 -0
- package/dist/composer-DccKzLoe.js.map +1 -0
- package/dist/context-bar-Bq5Pil2d.d.ts +18 -0
- package/dist/context-bar-Bq5Pil2d.d.ts.map +1 -0
- package/dist/context-bar-CvXmTAa1.js +45 -0
- package/dist/context-bar-CvXmTAa1.js.map +1 -0
- package/dist/context-menu-area-CZl-88bp.d.ts +24 -0
- package/dist/context-menu-area-CZl-88bp.d.ts.map +1 -0
- package/dist/context-menu-area-eNjUxIzd.js +86 -0
- package/dist/context-menu-area-eNjUxIzd.js.map +1 -0
- package/dist/copy-button-CyySNqn9.js +151 -0
- package/dist/copy-button-CyySNqn9.js.map +1 -0
- package/dist/copy-button-DvDKcYk-.d.ts +67 -0
- package/dist/copy-button-DvDKcYk-.d.ts.map +1 -0
- package/dist/core/accordion.d.ts +2 -0
- package/dist/core/accordion.js +8 -0
- package/dist/core/async-action-note.d.ts +3 -0
- package/dist/core/async-action-note.js +3 -0
- package/dist/core/async-action.d.ts +2 -0
- package/dist/core/async-action.js +0 -0
- package/dist/core/async-button.d.ts +5 -0
- package/dist/core/async-button.js +7 -0
- package/dist/core/async-content.d.ts +2 -0
- package/dist/core/async-content.js +10 -0
- package/dist/core/auto-size.d.ts +2 -0
- package/dist/core/auto-size.js +3 -0
- package/dist/core/avatar.d.ts +2 -0
- package/dist/core/avatar.js +3 -0
- package/dist/core/badge.d.ts +3 -0
- package/dist/core/badge.js +4 -0
- package/dist/core/banner.d.ts +2 -0
- package/dist/core/banner.js +9 -0
- package/dist/core/breadcrumb-items.d.ts +2 -0
- package/dist/core/breadcrumb-items.js +3 -0
- package/dist/core/breadcrumb.d.ts +3 -0
- package/dist/core/breadcrumb.js +5 -0
- package/dist/core/button.d.ts +3 -0
- package/dist/core/button.js +6 -0
- package/dist/core/calendar.d.ts +4 -0
- package/dist/core/calendar.js +12 -0
- package/dist/core/check-circle.d.ts +2 -0
- package/dist/core/check-circle.js +3 -0
- package/dist/core/checkbox.d.ts +2 -0
- package/dist/core/checkbox.js +5 -0
- package/dist/core/chip.d.ts +3 -0
- package/dist/core/chip.js +4 -0
- package/dist/core/copy-button.d.ts +4 -0
- package/dist/core/copy-button.js +8 -0
- package/dist/core/date-field.d.ts +5 -0
- package/dist/core/date-field.js +20 -0
- package/dist/core/date-math.d.ts +2 -0
- package/dist/core/date-math.js +3 -0
- package/dist/core/empty-state.d.ts +2 -0
- package/dist/core/empty-state.js +7 -0
- package/dist/core/fab.d.ts +2 -0
- package/dist/core/fab.js +3 -0
- package/dist/core/field-a11y.d.ts +44 -0
- package/dist/core/field-a11y.d.ts.map +1 -0
- package/dist/core/field-a11y.js +3 -0
- package/dist/core/file-dom.d.ts +56 -0
- package/dist/core/file-dom.d.ts.map +1 -0
- package/dist/core/file-dom.js +3 -0
- package/dist/core/file-field-model.d.ts +4 -0
- package/dist/core/file-field-model.js +3 -0
- package/dist/core/file-field-row.d.ts +24 -0
- package/dist/core/file-field-row.d.ts.map +1 -0
- package/dist/core/file-field-row.js +10 -0
- package/dist/core/file-field.d.ts +5 -0
- package/dist/core/file-field.js +17 -0
- package/dist/core/filter-chip.d.ts +2 -0
- package/dist/core/filter-chip.js +5 -0
- package/dist/core/focus-visible.d.ts +16 -0
- package/dist/core/focus-visible.d.ts.map +1 -0
- package/dist/core/focus-visible.js +3 -0
- package/dist/core/form-field-context.d.ts +2 -0
- package/dist/core/form-field-context.js +3 -0
- package/dist/core/form-field.d.ts +2 -0
- package/dist/core/form-field.js +4 -0
- package/dist/core/hold-repeat.d.ts +2 -0
- package/dist/core/hold-repeat.js +3 -0
- package/dist/core/icon-button.d.ts +3 -0
- package/dist/core/icon-button.js +6 -0
- package/dist/core/inline-edit-model.d.ts +45 -0
- package/dist/core/inline-edit-model.d.ts.map +1 -0
- package/dist/core/inline-edit-model.js +3 -0
- package/dist/core/inline-edit-text.d.ts +2 -0
- package/dist/core/inline-edit-text.js +14 -0
- package/dist/core/input.d.ts +2 -0
- package/dist/core/input.js +6 -0
- package/dist/core/instant.d.ts +25 -0
- package/dist/core/instant.d.ts.map +1 -0
- package/dist/core/instant.js +3 -0
- package/dist/core/key-hint.d.ts +2 -0
- package/dist/core/key-hint.js +3 -0
- package/dist/core/link.d.ts +2 -0
- package/dist/core/link.js +3 -0
- package/dist/core/native-select.d.ts +2 -0
- package/dist/core/native-select.js +4 -0
- package/dist/core/number-field-math.d.ts +50 -0
- package/dist/core/number-field-math.d.ts.map +1 -0
- package/dist/core/number-field-math.js +3 -0
- package/dist/core/number-field.d.ts +2 -0
- package/dist/core/number-field.js +12 -0
- package/dist/core/observed-value.d.ts +2 -0
- package/dist/core/observed-value.js +6 -0
- package/dist/core/pagination-items.d.ts +2 -0
- package/dist/core/pagination-items.js +3 -0
- package/dist/core/pagination.d.ts +2 -0
- package/dist/core/pagination.js +5 -0
- package/dist/core/progress-bar.d.ts +3 -0
- package/dist/core/progress-bar.js +5 -0
- package/dist/core/prose.d.ts +2 -0
- package/dist/core/prose.js +3 -0
- package/dist/core/quota-bar.d.ts +3 -0
- package/dist/core/quota-bar.js +4 -0
- package/dist/core/radio-group.d.ts +2 -0
- package/dist/core/radio-group.js +6 -0
- package/dist/core/range-slider-math.d.ts +2 -0
- package/dist/core/range-slider-math.js +4 -0
- package/dist/core/range-slider-thumb.d.ts +34 -0
- package/dist/core/range-slider-thumb.d.ts.map +1 -0
- package/dist/core/range-slider-thumb.js +4 -0
- package/dist/core/range-slider.d.ts +3 -0
- package/dist/core/range-slider.js +8 -0
- package/dist/core/search-field.d.ts +2 -0
- package/dist/core/search-field.js +8 -0
- package/dist/core/segmented.d.ts +3 -0
- package/dist/core/segmented.js +6 -0
- package/dist/core/show-when.d.ts +2 -0
- package/dist/core/show-when.js +3 -0
- package/dist/core/skeleton.d.ts +2 -0
- package/dist/core/skeleton.js +3 -0
- package/dist/core/social-links.d.ts +2 -0
- package/dist/core/social-links.js +3 -0
- package/dist/core/space-key.d.ts +15 -0
- package/dist/core/space-key.d.ts.map +1 -0
- package/dist/core/space-key.js +3 -0
- package/dist/core/spinner.d.ts +3 -0
- package/dist/core/spinner.js +4 -0
- package/dist/core/star-rating.d.ts +3 -0
- package/dist/core/star-rating.js +4 -0
- package/dist/core/status-badge.d.ts +3 -0
- package/dist/core/status-badge.js +5 -0
- package/dist/core/stepper.d.ts +3 -0
- package/dist/core/stepper.js +11 -0
- package/dist/core/swatch-ink.d.ts +15 -0
- package/dist/core/swatch-ink.d.ts.map +1 -0
- package/dist/core/swatch-ink.js +3 -0
- package/dist/core/swatch-picker.d.ts +2 -0
- package/dist/core/swatch-picker.js +7 -0
- package/dist/core/switch.d.ts +2 -0
- package/dist/core/switch.js +4 -0
- package/dist/core/tabs.d.ts +2 -0
- package/dist/core/tabs.js +5 -0
- package/dist/core/tag-input-math.d.ts +2 -0
- package/dist/core/tag-input-math.js +3 -0
- package/dist/core/tag-input.d.ts +3 -0
- package/dist/core/tag-input.js +9 -0
- package/dist/core/text-area.d.ts +2 -0
- package/dist/core/text-area.js +6 -0
- package/dist/core/time-field.d.ts +3 -0
- package/dist/core/time-field.js +18 -0
- package/dist/core/time-math.d.ts +52 -0
- package/dist/core/time-math.d.ts.map +1 -0
- package/dist/core/time-math.js +3 -0
- package/dist/core/time-segment.d.ts +32 -0
- package/dist/core/time-segment.d.ts.map +1 -0
- package/dist/core/time-segment.js +11 -0
- package/dist/core/tones.d.ts +2 -0
- package/dist/core/tones.js +3 -0
- package/dist/core/touch-target.d.ts +10 -0
- package/dist/core/touch-target.d.ts.map +1 -0
- package/dist/core/touch-target.js +3 -0
- package/dist/core/type-to-confirm.d.ts +2 -0
- package/dist/core/type-to-confirm.js +11 -0
- package/dist/core/use-can-hover.d.ts +14 -0
- package/dist/core/use-can-hover.d.ts.map +1 -0
- package/dist/core/use-can-hover.js +3 -0
- package/dist/core/virtual-list.d.ts +3 -0
- package/dist/core/virtual-list.js +4 -0
- package/dist/core/virtual-window.d.ts +2 -0
- package/dist/core/virtual-window.js +3 -0
- package/dist/core/web-field-reset.d.ts +47 -0
- package/dist/core/web-field-reset.d.ts.map +1 -0
- package/dist/core/web-field-reset.js +3 -0
- package/dist/core/with-tooltip.d.ts +22 -0
- package/dist/core/with-tooltip.d.ts.map +1 -0
- package/dist/core/with-tooltip.js +3 -0
- package/dist/custom-row-M4DYzLiZ.js +43 -0
- package/dist/custom-row-M4DYzLiZ.js.map +1 -0
- package/dist/data/activity-bar.d.ts +2 -0
- package/dist/data/activity-bar.js +3 -0
- package/dist/data/activity-calendar-math.d.ts +2 -0
- package/dist/data/activity-calendar-math.js +3 -0
- package/dist/data/activity-calendar.d.ts +3 -0
- package/dist/data/activity-calendar.js +7 -0
- package/dist/data/activity-colors.d.ts +13 -0
- package/dist/data/activity-colors.d.ts.map +1 -0
- package/dist/data/activity-colors.js +3 -0
- package/dist/data/bar-chart.d.ts +6 -0
- package/dist/data/bar-chart.js +20 -0
- package/dist/data/chart-math.d.ts +2 -0
- package/dist/data/chart-math.js +3 -0
- package/dist/data/chart-parts.d.ts +5 -0
- package/dist/data/chart-parts.js +18 -0
- package/dist/data/code-view.d.ts +2 -0
- package/dist/data/code-view.js +3 -0
- package/dist/data/data-table.d.ts +4 -0
- package/dist/data/data-table.js +15 -0
- package/dist/data/diff-view.d.ts +2 -0
- package/dist/data/diff-view.js +3 -0
- package/dist/data/event-timeline.d.ts +3 -0
- package/dist/data/event-timeline.js +6 -0
- package/dist/data/heatmap-math.d.ts +2 -0
- package/dist/data/heatmap-math.js +4 -0
- package/dist/data/heatmap.d.ts +4 -0
- package/dist/data/heatmap.js +8 -0
- package/dist/data/http-inspector-math.d.ts +17 -0
- package/dist/data/http-inspector-math.d.ts.map +1 -0
- package/dist/data/http-inspector-math.js +3 -0
- package/dist/data/http-inspector.d.ts +2 -0
- package/dist/data/http-inspector.js +17 -0
- package/dist/data/line-chart.d.ts +6 -0
- package/dist/data/line-chart.js +20 -0
- package/dist/data/log-list.d.ts +2 -0
- package/dist/data/log-list.js +4 -0
- package/dist/data/message-preview/message-block-view.d.ts +16 -0
- package/dist/data/message-preview/message-block-view.d.ts.map +1 -0
- package/dist/data/message-preview/message-block-view.js +6 -0
- package/dist/data/message-preview/message-blocks.d.ts +3 -0
- package/dist/data/message-preview/message-blocks.js +3 -0
- package/dist/data/message-preview/message-bubble.d.ts +18 -0
- package/dist/data/message-preview/message-bubble.d.ts.map +1 -0
- package/dist/data/message-preview/message-bubble.js +8 -0
- package/dist/data/message-preview/message-preview.d.ts +3 -0
- package/dist/data/message-preview/message-preview.js +9 -0
- package/dist/data/message-preview/message-run-text.d.ts +17 -0
- package/dist/data/message-preview/message-run-text.d.ts.map +1 -0
- package/dist/data/message-preview/message-run-text.js +4 -0
- package/dist/data/message-preview/types.d.ts +2 -0
- package/dist/data/message-preview/types.js +0 -0
- package/dist/data/object-inspector.d.ts +2 -0
- package/dist/data/object-inspector.js +3 -0
- package/dist/data/route-chain.d.ts +2 -0
- package/dist/data/route-chain.js +4 -0
- package/dist/data/sparkline-math.d.ts +2 -0
- package/dist/data/sparkline-math.js +3 -0
- package/dist/data/sparkline.d.ts +4 -0
- package/dist/data/sparkline.js +5 -0
- package/dist/data/step-list-math.d.ts +2 -0
- package/dist/data/step-list-math.js +3 -0
- package/dist/data/step-list.d.ts +3 -0
- package/dist/data/step-list.js +8 -0
- package/dist/data/syntax-code.d.ts +3 -0
- package/dist/data/syntax-code.js +4 -0
- package/dist/data/syntax.d.ts +2 -0
- package/dist/data/syntax.js +3 -0
- package/dist/data/terminal-ink.d.ts +23 -0
- package/dist/data/terminal-ink.d.ts.map +1 -0
- package/dist/data/terminal-ink.js +3 -0
- package/dist/data/text-diff-math.d.ts +2 -0
- package/dist/data/text-diff-math.js +3 -0
- package/dist/data/text-diff.d.ts +3 -0
- package/dist/data/text-diff.js +5 -0
- package/dist/data/trace-span-row.d.ts +23 -0
- package/dist/data/trace-span-row.d.ts.map +1 -0
- package/dist/data/trace-span-row.js +5 -0
- package/dist/data/trace-tree-math.d.ts +2 -0
- package/dist/data/trace-tree-math.js +3 -0
- package/dist/data/trace-tree.d.ts +3 -0
- package/dist/data/trace-tree.js +12 -0
- package/dist/data/tree/custom-row.d.ts +32 -0
- package/dist/data/tree/custom-row.d.ts.map +1 -0
- package/dist/data/tree/custom-row.js +7 -0
- package/dist/data/tree/folder-row.d.ts +20 -0
- package/dist/data/tree/folder-row.d.ts.map +1 -0
- package/dist/data/tree/folder-row.js +8 -0
- package/dist/data/tree/leaf-row.d.ts +18 -0
- package/dist/data/tree/leaf-row.d.ts.map +1 -0
- package/dist/data/tree/leaf-row.js +8 -0
- package/dist/data/tree/row-style.d.ts +30 -0
- package/dist/data/tree/row-style.d.ts.map +1 -0
- package/dist/data/tree/row-style.js +4 -0
- package/dist/data/tree/tree-a11y.d.ts +53 -0
- package/dist/data/tree/tree-a11y.d.ts.map +1 -0
- package/dist/data/tree/tree-a11y.js +5 -0
- package/dist/data/tree/tree-row.d.ts +19 -0
- package/dist/data/tree/tree-row.d.ts.map +1 -0
- package/dist/data/tree/tree-row.js +11 -0
- package/dist/data/tree/tree.d.ts +3 -0
- package/dist/data/tree/tree.js +12 -0
- package/dist/data/tree/types.d.ts +2 -0
- package/dist/data/tree/types.js +3 -0
- package/dist/data-table-B98jpE4u.js +603 -0
- package/dist/data-table-B98jpE4u.js.map +1 -0
- package/dist/data-table-CcDwPz90.d.ts +252 -0
- package/dist/data-table-CcDwPz90.d.ts.map +1 -0
- package/dist/dataflow-diagram-BmSIclVW.js +157 -0
- package/dist/dataflow-diagram-BmSIclVW.js.map +1 -0
- package/dist/dataflow-diagram-rQ10Fnoq.d.ts +88 -0
- package/dist/dataflow-diagram-rQ10Fnoq.d.ts.map +1 -0
- package/dist/date-field-BSLZc9Tl.d.ts +52 -0
- package/dist/date-field-BSLZc9Tl.d.ts.map +1 -0
- package/dist/date-field-Cvs0EJTe.js +148 -0
- package/dist/date-field-Cvs0EJTe.js.map +1 -0
- package/dist/date-math-DLrOIdsL.js +310 -0
- package/dist/date-math-DLrOIdsL.js.map +1 -0
- package/dist/date-math-D_CbmHgL.d.ts +98 -0
- package/dist/date-math-D_CbmHgL.d.ts.map +1 -0
- package/dist/devtools-panel-BbVrSnxy.js +216 -0
- package/dist/devtools-panel-BbVrSnxy.js.map +1 -0
- package/dist/devtools-panel-CsntCfbt.d.ts +46 -0
- package/dist/devtools-panel-CsntCfbt.d.ts.map +1 -0
- package/dist/diagram-fence-CJcPp6z3.d.ts +105 -0
- package/dist/diagram-fence-CJcPp6z3.d.ts.map +1 -0
- package/dist/diagram-fence-DsSdWf5m.js +131 -0
- package/dist/diagram-fence-DsSdWf5m.js.map +1 -0
- package/dist/diagrams/dataflow-diagram.d.ts +2 -0
- package/dist/diagrams/dataflow-diagram.js +5 -0
- package/dist/diagrams/layers-diagram.d.ts +2 -0
- package/dist/diagrams/layers-diagram.js +5 -0
- package/dist/diagrams/lifecycle-diagram.d.ts +2 -0
- package/dist/diagrams/lifecycle-diagram.js +5 -0
- package/dist/diagrams/loop-diagram.d.ts +2 -0
- package/dist/diagrams/loop-diagram.js +5 -0
- package/dist/diagrams/palette.d.ts +2 -0
- package/dist/diagrams/palette.js +3 -0
- package/dist/diagrams/parts.d.ts +3 -0
- package/dist/diagrams/parts.js +4 -0
- package/dist/diagrams/quadrant-diagram.d.ts +2 -0
- package/dist/diagrams/quadrant-diagram.js +5 -0
- package/dist/diagrams/sequence-diagram.d.ts +4 -0
- package/dist/diagrams/sequence-diagram.js +5 -0
- package/dist/diagrams/timeline-diagram.d.ts +2 -0
- package/dist/diagrams/timeline-diagram.js +5 -0
- package/dist/diagrams/workflow-diagram.d.ts +2 -0
- package/dist/diagrams/workflow-diagram.js +5 -0
- package/dist/diff-view-D3u3rugJ.js +94 -0
- package/dist/diff-view-D3u3rugJ.js.map +1 -0
- package/dist/diff-view-lKFO9nkS.d.ts +60 -0
- package/dist/diff-view-lKFO9nkS.d.ts.map +1 -0
- package/dist/doc-reader-72HMKOzD.d.ts +79 -0
- package/dist/doc-reader-72HMKOzD.d.ts.map +1 -0
- package/dist/doc-reader-BKKYqg9T.js +152 -0
- package/dist/doc-reader-BKKYqg9T.js.map +1 -0
- package/dist/dock-layout-006hpAU2.js +851 -0
- package/dist/dock-layout-006hpAU2.js.map +1 -0
- package/dist/dock-layout-ClHN-Kip.d.ts +92 -0
- package/dist/dock-layout-ClHN-Kip.d.ts.map +1 -0
- package/dist/dom-event-Bp8Scfh_.js +18 -0
- package/dist/dom-event-Bp8Scfh_.js.map +1 -0
- package/dist/drawer-BxatsGtv.js +80 -0
- package/dist/drawer-BxatsGtv.js.map +1 -0
- package/dist/drawer-CHRne9wI.d.ts +44 -0
- package/dist/drawer-CHRne9wI.d.ts.map +1 -0
- package/dist/dropdown-menu-CDqmTC2b.js +52 -0
- package/dist/dropdown-menu-CDqmTC2b.js.map +1 -0
- package/dist/dropdown-menu-Cue5ajaB.d.ts +41 -0
- package/dist/dropdown-menu-Cue5ajaB.d.ts.map +1 -0
- package/dist/editor/chrome/context-bar.d.ts +2 -0
- package/dist/editor/chrome/context-bar.js +3 -0
- package/dist/editor/chrome/context-menu-area.d.ts +3 -0
- package/dist/editor/chrome/context-menu-area.js +10 -0
- package/dist/editor/chrome/editor-command-palette.d.ts +3 -0
- package/dist/editor/chrome/editor-command-palette.js +17 -0
- package/dist/editor/chrome/editor-frame.d.ts +2 -0
- package/dist/editor/chrome/editor-frame.js +7 -0
- package/dist/editor/chrome/editor-menu-bar.d.ts +5 -0
- package/dist/editor/chrome/editor-menu-bar.js +11 -0
- package/dist/editor/chrome/editor-panel-tab.d.ts +2 -0
- package/dist/editor/chrome/editor-panel-tab.js +6 -0
- package/dist/editor/chrome/editor-panel.d.ts +2 -0
- package/dist/editor/chrome/editor-panel.js +8 -0
- package/dist/editor/chrome/editor-status-bar.d.ts +2 -0
- package/dist/editor/chrome/editor-status-bar.js +4 -0
- package/dist/editor/chrome/empty-hint.d.ts +2 -0
- package/dist/editor/chrome/empty-hint.js +5 -0
- package/dist/editor/chrome/modal-dialog.d.ts +3 -0
- package/dist/editor/chrome/modal-dialog.js +20 -0
- package/dist/editor/chrome/number-input.d.ts +2 -0
- package/dist/editor/chrome/number-input.js +8 -0
- package/dist/editor/chrome/panel-inset.d.ts +20 -0
- package/dist/editor/chrome/panel-inset.d.ts.map +1 -0
- package/dist/editor/chrome/panel-inset.js +3 -0
- package/dist/editor/chrome/property-group.d.ts +2 -0
- package/dist/editor/chrome/property-group.js +6 -0
- package/dist/editor/chrome/property-header.d.ts +2 -0
- package/dist/editor/chrome/property-header.js +7 -0
- package/dist/editor/chrome/property-problem.d.ts +2 -0
- package/dist/editor/chrome/property-problem.js +3 -0
- package/dist/editor/chrome/property-section.d.ts +2 -0
- package/dist/editor/chrome/property-section.js +5 -0
- package/dist/editor/chrome/select-field.d.ts +2 -0
- package/dist/editor/chrome/select-field.js +10 -0
- package/dist/editor/chrome/toggle-button.d.ts +2 -0
- package/dist/editor/chrome/toggle-button.js +5 -0
- package/dist/editor/chrome/tool-strip.d.ts +2 -0
- package/dist/editor/chrome/tool-strip.js +10 -0
- package/dist/editor/chrome/tree-row-trailing.d.ts +2 -0
- package/dist/editor/chrome/tree-row-trailing.js +4 -0
- package/dist/editor/chrome/tree-row.d.ts +3 -0
- package/dist/editor/chrome/tree-row.js +8 -0
- package/dist/editor/chrome/zoom-slider.d.ts +2 -0
- package/dist/editor/chrome/zoom-slider.js +12 -0
- package/dist/editor/chrome.d.ts +27 -0
- package/dist/editor/chrome.js +50 -0
- package/dist/editor/feedback/activity-indicator.d.ts +2 -0
- package/dist/editor/feedback/activity-indicator.js +5 -0
- package/dist/editor/feedback/activity-log.d.ts +2 -0
- package/dist/editor/feedback/activity-log.js +8 -0
- package/dist/editor/feedback/activity-panel.d.ts +3 -0
- package/dist/editor/feedback/activity-panel.js +14 -0
- package/dist/editor/feedback/activity-task-row.d.ts +2 -0
- package/dist/editor/feedback/activity-task-row.js +7 -0
- package/dist/editor/feedback/help-sheet.d.ts +2 -0
- package/dist/editor/feedback/help-sheet.js +15 -0
- package/dist/editor/feedback/key-event.d.ts +13 -0
- package/dist/editor/feedback/key-event.d.ts.map +1 -0
- package/dist/editor/feedback/key-event.js +3 -0
- package/dist/editor/feedback/listed.d.ts +19 -0
- package/dist/editor/feedback/listed.d.ts.map +1 -0
- package/dist/editor/feedback/listed.js +3 -0
- package/dist/editor/feedback/shortcuts-sheet.d.ts +2 -0
- package/dist/editor/feedback/shortcuts-sheet.js +20 -0
- package/dist/editor/feedback/toast-stack.d.ts +2 -0
- package/dist/editor/feedback/toast-stack.js +8 -0
- package/dist/editor/feedback/unit-select.d.ts +2 -0
- package/dist/editor/feedback/unit-select.js +8 -0
- package/dist/editor/feedback.d.ts +10 -0
- package/dist/editor/feedback.js +31 -0
- package/dist/editor/lists/click-modifiers.d.ts +2 -0
- package/dist/editor/lists/click-modifiers.js +3 -0
- package/dist/editor/lists/collapsible-section.d.ts +2 -0
- package/dist/editor/lists/collapsible-section.js +4 -0
- package/dist/editor/lists/dock-layout.d.ts +2 -0
- package/dist/editor/lists/dock-layout.js +8 -0
- package/dist/editor/lists/dom-event.d.ts +16 -0
- package/dist/editor/lists/dom-event.d.ts.map +1 -0
- package/dist/editor/lists/dom-event.js +3 -0
- package/dist/editor/lists/history-list.d.ts +2 -0
- package/dist/editor/lists/history-list.js +8 -0
- package/dist/editor/lists/panel-group-edges.d.ts +2 -0
- package/dist/editor/lists/panel-group-edges.js +4 -0
- package/dist/editor/lists/section-column.d.ts +2 -0
- package/dist/editor/lists/section-column.js +10 -0
- package/dist/editor/lists/undo-redo-buttons.d.ts +2 -0
- package/dist/editor/lists/undo-redo-buttons.js +7 -0
- package/dist/editor/lists.d.ts +11 -0
- package/dist/editor/lists.js +21 -0
- package/dist/editor/slider-row.d.ts +2 -0
- package/dist/editor/slider-row.js +11 -0
- package/dist/editor/tool-rail.d.ts +2 -0
- package/dist/editor/tool-rail.js +3 -0
- package/dist/editor/viewport/devtools-panel.d.ts +2 -0
- package/dist/editor/viewport/devtools-panel.js +13 -0
- package/dist/editor/viewport.d.ts +3 -0
- package/dist/editor/viewport.js +14 -0
- package/dist/editor/visual/color-channel-field.d.ts +27 -0
- package/dist/editor/visual/color-channel-field.d.ts.map +1 -0
- package/dist/editor/visual/color-channel-field.js +7 -0
- package/dist/editor/visual/color-field.d.ts +2 -0
- package/dist/editor/visual/color-field.js +21 -0
- package/dist/editor/visual/color-well.d.ts +2 -0
- package/dist/editor/visual/color-well.js +3 -0
- package/dist/editor/visual/hsb-color-picker.d.ts +2 -0
- package/dist/editor/visual/hsb-color-picker.js +17 -0
- package/dist/editor/visual/line-swatch.d.ts +2 -0
- package/dist/editor/visual/line-swatch.js +3 -0
- package/dist/editor/visual/pointer-drag.d.ts +2 -0
- package/dist/editor/visual/pointer-drag.js +3 -0
- package/dist/editor/visual/swatch-grid.d.ts +2 -0
- package/dist/editor/visual/swatch-grid.js +4 -0
- package/dist/editor/visual.d.ts +4 -0
- package/dist/editor/visual.js +6 -0
- package/dist/editor-command-palette-B3AfW-z5.js +65 -0
- package/dist/editor-command-palette-B3AfW-z5.js.map +1 -0
- package/dist/editor-command-palette-DRMQnzUE.d.ts +41 -0
- package/dist/editor-command-palette-DRMQnzUE.d.ts.map +1 -0
- package/dist/editor-frame-CPhfDyhl.d.ts +21 -0
- package/dist/editor-frame-CPhfDyhl.d.ts.map +1 -0
- package/dist/editor-frame-lb_AaX8d.js +41 -0
- package/dist/editor-frame-lb_AaX8d.js.map +1 -0
- package/dist/editor-menu-bar-BhSGA2mb.d.ts +36 -0
- package/dist/editor-menu-bar-BhSGA2mb.d.ts.map +1 -0
- package/dist/editor-menu-bar-Cz4Jrvnx.js +168 -0
- package/dist/editor-menu-bar-Cz4Jrvnx.js.map +1 -0
- package/dist/editor-panel-BnpjsRuf.js +88 -0
- package/dist/editor-panel-BnpjsRuf.js.map +1 -0
- package/dist/editor-panel-DSoQihM4.d.ts +61 -0
- package/dist/editor-panel-DSoQihM4.d.ts.map +1 -0
- package/dist/editor-panel-tab-BffFIH19.js +85 -0
- package/dist/editor-panel-tab-BffFIH19.js.map +1 -0
- package/dist/editor-status-bar-DZ9K7o-z.d.ts +34 -0
- package/dist/editor-status-bar-DZ9K7o-z.d.ts.map +1 -0
- package/dist/editor-status-bar-DgKqfDNs.js +102 -0
- package/dist/editor-status-bar-DgKqfDNs.js.map +1 -0
- package/dist/editor-tabs-Bww8_yWr.js +232 -0
- package/dist/editor-tabs-Bww8_yWr.js.map +1 -0
- package/dist/editor-tabs-DtZZ2gkN.d.ts +99 -0
- package/dist/editor-tabs-DtZZ2gkN.d.ts.map +1 -0
- package/dist/empty-hint-C1wtMenU.d.ts +19 -0
- package/dist/empty-hint-C1wtMenU.d.ts.map +1 -0
- package/dist/empty-hint-Dz2-82Rh.js +52 -0
- package/dist/empty-hint-Dz2-82Rh.js.map +1 -0
- package/dist/empty-state-CEP13pZ6.d.ts +27 -0
- package/dist/empty-state-CEP13pZ6.d.ts.map +1 -0
- package/dist/empty-state-Db-tCJNc.js +69 -0
- package/dist/empty-state-Db-tCJNc.js.map +1 -0
- package/dist/event-timeline-CIdJQf_k.js +100 -0
- package/dist/event-timeline-CIdJQf_k.js.map +1 -0
- package/dist/event-timeline-D4jTOCpg.d.ts +45 -0
- package/dist/event-timeline-D4jTOCpg.d.ts.map +1 -0
- package/dist/fab-Cl-uOW3T.d.ts +21 -0
- package/dist/fab-Cl-uOW3T.d.ts.map +1 -0
- package/dist/fab-XtZzXOmr.js +36 -0
- package/dist/fab-XtZzXOmr.js.map +1 -0
- package/dist/feedback-JO1QBz1f.d.ts +1 -0
- package/dist/feedback-u0PS8cGc.js +0 -0
- package/dist/field-a11y-DU8jKQwu.js +35 -0
- package/dist/field-a11y-DU8jKQwu.js.map +1 -0
- package/dist/file-dom-DMl4JFyU.js +153 -0
- package/dist/file-dom-DMl4JFyU.js.map +1 -0
- package/dist/file-field-B64r3nLB.d.ts +53 -0
- package/dist/file-field-B64r3nLB.d.ts.map +1 -0
- package/dist/file-field-Ce_75wCh.js +244 -0
- package/dist/file-field-Ce_75wCh.js.map +1 -0
- package/dist/file-field-model-Dr4lRzaS.js +96 -0
- package/dist/file-field-model-Dr4lRzaS.js.map +1 -0
- package/dist/file-field-model-y2U8CRUM.d.ts +112 -0
- package/dist/file-field-model-y2U8CRUM.d.ts.map +1 -0
- package/dist/file-field-row-Cc8Twpgm.js +98 -0
- package/dist/file-field-row-Cc8Twpgm.js.map +1 -0
- package/dist/filter-bar-26idu21C.js +89 -0
- package/dist/filter-bar-26idu21C.js.map +1 -0
- package/dist/filter-bar-CabQ84Zw.d.ts +63 -0
- package/dist/filter-bar-CabQ84Zw.d.ts.map +1 -0
- package/dist/filter-chip-DdUiGOZo.d.ts +32 -0
- package/dist/filter-chip-DdUiGOZo.d.ts.map +1 -0
- package/dist/filter-chip-DptlgjGg.js +72 -0
- package/dist/filter-chip-DptlgjGg.js.map +1 -0
- package/dist/focus-targets-D3WKD8vL.js +31 -0
- package/dist/focus-targets-D3WKD8vL.js.map +1 -0
- package/dist/focus-visible-Cx3Qwi47.js +28 -0
- package/dist/focus-visible-Cx3Qwi47.js.map +1 -0
- package/dist/folder-row-DqllTOnF.js +60 -0
- package/dist/folder-row-DqllTOnF.js.map +1 -0
- package/dist/footnote-BPBrwGKm.d.ts +83 -0
- package/dist/footnote-BPBrwGKm.d.ts.map +1 -0
- package/dist/footnote-C4mdCg8J.js +71 -0
- package/dist/footnote-C4mdCg8J.js.map +1 -0
- package/dist/form-field-BuVqs3sk.d.ts +45 -0
- package/dist/form-field-BuVqs3sk.d.ts.map +1 -0
- package/dist/form-field-Cq7IRylZ.js +78 -0
- package/dist/form-field-Cq7IRylZ.js.map +1 -0
- package/dist/form-field-context-CSfPYFlu.d.ts +66 -0
- package/dist/form-field-context-CSfPYFlu.d.ts.map +1 -0
- package/dist/form-field-context-KnG4-6VA.js +81 -0
- package/dist/form-field-context-KnG4-6VA.js.map +1 -0
- package/dist/frames-hGnewAjm.d.ts +22 -0
- package/dist/frames-hGnewAjm.d.ts.map +1 -0
- package/dist/frames-pE6OtSeI.js +46 -0
- package/dist/frames-pE6OtSeI.js.map +1 -0
- package/dist/git-dot-node-EyxqPNBk.js +48 -0
- package/dist/git-dot-node-EyxqPNBk.js.map +1 -0
- package/dist/git-graph-BA8wPuyZ.js +209 -0
- package/dist/git-graph-BA8wPuyZ.js.map +1 -0
- package/dist/git-graph-Bb-N-pTM.d.ts +142 -0
- package/dist/git-graph-Bb-N-pTM.d.ts.map +1 -0
- package/dist/git-history-BAuLaKDZ.js +190 -0
- package/dist/git-history-BAuLaKDZ.js.map +1 -0
- package/dist/git-history-BIz3qCOz.d.ts +89 -0
- package/dist/git-history-BIz3qCOz.d.ts.map +1 -0
- package/dist/glyphs/priority-bars.d.ts +2 -0
- package/dist/glyphs/priority-bars.js +3 -0
- package/dist/glyphs/status-dot.d.ts +3 -0
- package/dist/glyphs/status-dot.js +4 -0
- package/dist/glyphs/status-icon.d.ts +2 -0
- package/dist/glyphs/status-icon.js +3 -0
- package/dist/group-bar-BExhR_YP.js +56 -0
- package/dist/group-bar-BExhR_YP.js.map +1 -0
- package/dist/group-bar-BtH6malX.d.ts +35 -0
- package/dist/group-bar-BtH6malX.d.ts.map +1 -0
- package/dist/heatmap-DqkTXom6.d.ts +79 -0
- package/dist/heatmap-DqkTXom6.d.ts.map +1 -0
- package/dist/heatmap-EYEesM5B.js +283 -0
- package/dist/heatmap-EYEesM5B.js.map +1 -0
- package/dist/heatmap-math-CL6GN-H1.js +145 -0
- package/dist/heatmap-math-CL6GN-H1.js.map +1 -0
- package/dist/heatmap-math-CNvj2hcv.d.ts +85 -0
- package/dist/heatmap-math-CNvj2hcv.d.ts.map +1 -0
- package/dist/help-sheet-7msc6n_q.js +182 -0
- package/dist/help-sheet-7msc6n_q.js.map +1 -0
- package/dist/help-sheet-DNfmkY4i.d.ts +43 -0
- package/dist/help-sheet-DNfmkY4i.d.ts.map +1 -0
- package/dist/history-list-2Cxs-SUO.d.ts +32 -0
- package/dist/history-list-2Cxs-SUO.d.ts.map +1 -0
- package/dist/history-list-D8Au5i2k.js +113 -0
- package/dist/history-list-D8Au5i2k.js.map +1 -0
- package/dist/hold-repeat-3ICoEQn2.js +79 -0
- package/dist/hold-repeat-3ICoEQn2.js.map +1 -0
- package/dist/hold-repeat-Jv3ikuD1.d.ts +46 -0
- package/dist/hold-repeat-Jv3ikuD1.d.ts.map +1 -0
- package/dist/hsb-color-picker-Bz9oogcC.js +442 -0
- package/dist/hsb-color-picker-Bz9oogcC.js.map +1 -0
- package/dist/hsb-color-picker-D1A-Sal8.d.ts +49 -0
- package/dist/hsb-color-picker-D1A-Sal8.d.ts.map +1 -0
- package/dist/http-inspector-Cx1fCJ8d.js +104 -0
- package/dist/http-inspector-Cx1fCJ8d.js.map +1 -0
- package/dist/http-inspector-DxRrK0qG.d.ts +46 -0
- package/dist/http-inspector-DxRrK0qG.d.ts.map +1 -0
- package/dist/http-inspector-math-DsK4NR-R.js +27 -0
- package/dist/http-inspector-math-DsK4NR-R.js.map +1 -0
- package/dist/icon-button-CEMbzTEu.js +86 -0
- package/dist/icon-button-CEMbzTEu.js.map +1 -0
- package/dist/icon-button-CbwFnt-4.d.ts +77 -0
- package/dist/icon-button-CbwFnt-4.d.ts.map +1 -0
- package/dist/icon-tile-B6R_914C.js +53 -0
- package/dist/icon-tile-B6R_914C.js.map +1 -0
- package/dist/icon-tile-CruXZ0Gh.d.ts +25 -0
- package/dist/icon-tile-CruXZ0Gh.d.ts.map +1 -0
- package/dist/ide/editor-tabs.d.ts +2 -0
- package/dist/ide/editor-tabs.js +5 -0
- package/dist/ide/git-history.d.ts +2 -0
- package/dist/ide/git-history.js +3 -0
- package/dist/ide/panels.d.ts +4 -0
- package/dist/ide/panels.js +15 -0
- package/dist/ide/resizable.d.ts +2 -0
- package/dist/ide/resizable.js +3 -0
- package/dist/ide/source-control.d.ts +4 -0
- package/dist/ide/source-control.js +14 -0
- package/dist/ide/types.d.ts +3 -0
- package/dist/ide/types.js +3 -0
- package/dist/inbox-actions-BFApsvqn.js +119 -0
- package/dist/inbox-actions-BFApsvqn.js.map +1 -0
- package/dist/inbox-actions-BvmKb0Ue.d.ts +42 -0
- package/dist/inbox-actions-BvmKb0Ue.d.ts.map +1 -0
- package/dist/inbox-types-CxPg7gLD.d.ts +111 -0
- package/dist/inbox-types-CxPg7gLD.d.ts.map +1 -0
- package/dist/index.d.ts +240 -0
- package/dist/index.js +280 -0
- package/dist/inline-badge-B-bCkILc.js +63 -0
- package/dist/inline-badge-B-bCkILc.js.map +1 -0
- package/dist/inline-badge-CpYFrOTa.d.ts +84 -0
- package/dist/inline-badge-CpYFrOTa.d.ts.map +1 -0
- package/dist/inline-edit-model-DlUtNJfx.js +49 -0
- package/dist/inline-edit-model-DlUtNJfx.js.map +1 -0
- package/dist/inline-edit-text-C_SYCNUK.d.ts +52 -0
- package/dist/inline-edit-text-C_SYCNUK.d.ts.map +1 -0
- package/dist/inline-edit-text-DlLpImhM.js +154 -0
- package/dist/inline-edit-text-DlLpImhM.js.map +1 -0
- package/dist/input-B4u3Kbu2.js +121 -0
- package/dist/input-B4u3Kbu2.js.map +1 -0
- package/dist/input-CNiL0c7j.d.ts +101 -0
- package/dist/input-CNiL0c7j.d.ts.map +1 -0
- package/dist/inspector-content-GRIT8Y_V.d.ts +56 -0
- package/dist/inspector-content-GRIT8Y_V.d.ts.map +1 -0
- package/dist/inspector-content-UtQJfKgr.js +175 -0
- package/dist/inspector-content-UtQJfKgr.js.map +1 -0
- package/dist/inspector-panel-BjQfETSs.d.ts +36 -0
- package/dist/inspector-panel-BjQfETSs.d.ts.map +1 -0
- package/dist/inspector-panel-BzUO9V1U.js +72 -0
- package/dist/inspector-panel-BzUO9V1U.js.map +1 -0
- package/dist/instant-CyE6B92n.js +43 -0
- package/dist/instant-CyE6B92n.js.map +1 -0
- package/dist/key-event-HbEu7EUm.js +42 -0
- package/dist/key-event-HbEu7EUm.js.map +1 -0
- package/dist/key-hint-DJqdks_w.d.ts +23 -0
- package/dist/key-hint-DJqdks_w.d.ts.map +1 -0
- package/dist/key-hint-DlH3PaQN.js +50 -0
- package/dist/key-hint-DlH3PaQN.js.map +1 -0
- package/dist/layer-row-8dIQv2oN.d.ts +20 -0
- package/dist/layer-row-8dIQv2oN.d.ts.map +1 -0
- package/dist/layer-row-Bz2jEx_V.js +48 -0
- package/dist/layer-row-Bz2jEx_V.js.map +1 -0
- package/dist/layers-diagram-BBqTeTM8.d.ts +52 -0
- package/dist/layers-diagram-BBqTeTM8.d.ts.map +1 -0
- package/dist/layers-diagram-BNzU3S1O.js +119 -0
- package/dist/layers-diagram-BNzU3S1O.js.map +1 -0
- package/dist/leaf-row-CC9Y8Esn.js +58 -0
- package/dist/leaf-row-CC9Y8Esn.js.map +1 -0
- package/dist/lifecycle-diagram-BmWlmdgP.d.ts +81 -0
- package/dist/lifecycle-diagram-BmWlmdgP.d.ts.map +1 -0
- package/dist/lifecycle-diagram-D8kovZ8O.js +190 -0
- package/dist/lifecycle-diagram-D8kovZ8O.js.map +1 -0
- package/dist/line-chart-BqbDdv0h.d.ts +44 -0
- package/dist/line-chart-BqbDdv0h.d.ts.map +1 -0
- package/dist/line-chart-C9KGUiQB.js +198 -0
- package/dist/line-chart-C9KGUiQB.js.map +1 -0
- package/dist/line-swatch-BvSpUSZ1.d.ts +18 -0
- package/dist/line-swatch-BvSpUSZ1.d.ts.map +1 -0
- package/dist/line-swatch-i3M2o8Lo.js +35 -0
- package/dist/line-swatch-i3M2o8Lo.js.map +1 -0
- package/dist/link-C-JD95kG.js +41 -0
- package/dist/link-C-JD95kG.js.map +1 -0
- package/dist/link-DS748YzB.d.ts +50 -0
- package/dist/link-DS748YzB.d.ts.map +1 -0
- package/dist/link-card-B4A9c7jl.js +67 -0
- package/dist/link-card-B4A9c7jl.js.map +1 -0
- package/dist/link-card-BEOLsG8m.d.ts +42 -0
- package/dist/link-card-BEOLsG8m.d.ts.map +1 -0
- package/dist/list-row-C_KpW57w.js +65 -0
- package/dist/list-row-C_KpW57w.js.map +1 -0
- package/dist/list-row-Cj0-AxQn.d.ts +56 -0
- package/dist/list-row-Cj0-AxQn.d.ts.map +1 -0
- package/dist/list-row-tone-D0yS5lV4.d.ts +29 -0
- package/dist/list-row-tone-D0yS5lV4.d.ts.map +1 -0
- package/dist/list-row-tone-DLxg0o7h.js +28 -0
- package/dist/list-row-tone-DLxg0o7h.js.map +1 -0
- package/dist/listed-BbIXRYSS.js +11 -0
- package/dist/listed-BbIXRYSS.js.map +1 -0
- package/dist/lists-BeRWmjtT.d.ts +1 -0
- package/dist/lists-CXOhGyAK.js +0 -0
- package/dist/log-list-C5aQPxCM.d.ts +54 -0
- package/dist/log-list-C5aQPxCM.d.ts.map +1 -0
- package/dist/log-list-Cl6IV__z.js +106 -0
- package/dist/log-list-Cl6IV__z.js.map +1 -0
- package/dist/loop-diagram-B0OUZ0qj.d.ts +67 -0
- package/dist/loop-diagram-B0OUZ0qj.d.ts.map +1 -0
- package/dist/loop-diagram-BaTLmVWu.js +215 -0
- package/dist/loop-diagram-BaTLmVWu.js.map +1 -0
- package/dist/mark-B5zZeaYf.d.ts +59 -0
- package/dist/mark-B5zZeaYf.d.ts.map +1 -0
- package/dist/mark-CcW8rz1c.js +40 -0
- package/dist/mark-CcW8rz1c.js.map +1 -0
- package/dist/markdown/callout.d.ts +3 -0
- package/dist/markdown/callout.js +4 -0
- package/dist/markdown/code-block.d.ts +4 -0
- package/dist/markdown/code-block.js +5 -0
- package/dist/markdown/collapsible.d.ts +3 -0
- package/dist/markdown/collapsible.js +5 -0
- package/dist/markdown/diagram-fence.d.ts +2 -0
- package/dist/markdown/diagram-fence.js +4 -0
- package/dist/markdown/doc-reader.d.ts +2 -0
- package/dist/markdown/doc-reader.js +3 -0
- package/dist/markdown/footnote.d.ts +2 -0
- package/dist/markdown/footnote.js +3 -0
- package/dist/markdown/inline-badge.d.ts +2 -0
- package/dist/markdown/inline-badge.js +3 -0
- package/dist/markdown/mark.d.ts +2 -0
- package/dist/markdown/mark.js +4 -0
- package/dist/markdown/paragraph.d.ts +2 -0
- package/dist/markdown/paragraph.js +3 -0
- package/dist/markdown/status-table-cell.d.ts +3 -0
- package/dist/markdown/status-table-cell.js +6 -0
- package/dist/markdown/task-list.d.ts +2 -0
- package/dist/markdown/task-list.js +3 -0
- package/dist/markdown/tints.d.ts +2 -0
- package/dist/markdown/tints.js +3 -0
- package/dist/media/media-tile.d.ts +2 -0
- package/dist/media/media-tile.js +3 -0
- package/dist/media/media-timeline-math.d.ts +2 -0
- package/dist/media/media-timeline-math.js +3 -0
- package/dist/media/media-timeline.d.ts +3 -0
- package/dist/media/media-timeline.js +6 -0
- package/dist/media/record-chip.d.ts +2 -0
- package/dist/media/record-chip.js +4 -0
- package/dist/media/select-pill.d.ts +2 -0
- package/dist/media/select-pill.js +3 -0
- package/dist/media-tile-BXkBx1JW.d.ts +34 -0
- package/dist/media-tile-BXkBx1JW.d.ts.map +1 -0
- package/dist/media-tile-DzfBhl6L.js +98 -0
- package/dist/media-tile-DzfBhl6L.js.map +1 -0
- package/dist/media-timeline-CLjYVpV2.js +311 -0
- package/dist/media-timeline-CLjYVpV2.js.map +1 -0
- package/dist/media-timeline-D4pKKlAE.d.ts +49 -0
- package/dist/media-timeline-D4pKKlAE.d.ts.map +1 -0
- package/dist/media-timeline-math-CXUQY_xU.js +99 -0
- package/dist/media-timeline-math-CXUQY_xU.js.map +1 -0
- package/dist/media-timeline-math-DEsnLSFv.d.ts +67 -0
- package/dist/media-timeline-math-DEsnLSFv.d.ts.map +1 -0
- package/dist/menu-BE27Trm_.d.ts +62 -0
- package/dist/menu-BE27Trm_.d.ts.map +1 -0
- package/dist/menu-DbLTxLe-.d.ts +123 -0
- package/dist/menu-DbLTxLe-.d.ts.map +1 -0
- package/dist/menu-J6ZvwQhR.js +119 -0
- package/dist/menu-J6ZvwQhR.js.map +1 -0
- package/dist/menu-nyHSlpqT.js +295 -0
- package/dist/menu-nyHSlpqT.js.map +1 -0
- package/dist/message-block-view-CYoGKQ00.js +55 -0
- package/dist/message-block-view-CYoGKQ00.js.map +1 -0
- package/dist/message-blocks-Cy37xVUL.js +52 -0
- package/dist/message-blocks-Cy37xVUL.js.map +1 -0
- package/dist/message-blocks-D9rDe5oh.d.ts +20 -0
- package/dist/message-blocks-D9rDe5oh.d.ts.map +1 -0
- package/dist/message-bubble-BBWrP6iE.js +76 -0
- package/dist/message-bubble-BBWrP6iE.js.map +1 -0
- package/dist/message-preview-CJxcFTS2.js +35 -0
- package/dist/message-preview-CJxcFTS2.js.map +1 -0
- package/dist/message-preview-DlZFMb4A.d.ts +25 -0
- package/dist/message-preview-DlZFMb4A.d.ts.map +1 -0
- package/dist/message-run-text-CoqPKATP.js +57 -0
- package/dist/message-run-text-CoqPKATP.js.map +1 -0
- package/dist/metadata-chip-CKG2maln.js +42 -0
- package/dist/metadata-chip-CKG2maln.js.map +1 -0
- package/dist/metadata-chip-D8fyiObl.d.ts +38 -0
- package/dist/metadata-chip-D8fyiObl.d.ts.map +1 -0
- package/dist/metro-map-CHCvh98O.d.ts +53 -0
- package/dist/metro-map-CHCvh98O.d.ts.map +1 -0
- package/dist/metro-map-DvlzUqmW.js +88 -0
- package/dist/metro-map-DvlzUqmW.js.map +1 -0
- package/dist/modal-dialog-Dx92GVo0.js +68 -0
- package/dist/modal-dialog-Dx92GVo0.js.map +1 -0
- package/dist/modal-dialog-fE4a3sOL.d.ts +55 -0
- package/dist/modal-dialog-fE4a3sOL.d.ts.map +1 -0
- package/dist/native-select-BwjLB6-W.d.ts +37 -0
- package/dist/native-select-BwjLB6-W.d.ts.map +1 -0
- package/dist/native-select-DAR3zAIL.js +59 -0
- package/dist/native-select-DAR3zAIL.js.map +1 -0
- package/dist/nav-item-DNjebp4R.js +167 -0
- package/dist/nav-item-DNjebp4R.js.map +1 -0
- package/dist/nav-item-Dv0fDReQ.d.ts +84 -0
- package/dist/nav-item-Dv0fDReQ.d.ts.map +1 -0
- package/dist/nav-tree-BUU5mZRe.js +155 -0
- package/dist/nav-tree-BUU5mZRe.js.map +1 -0
- package/dist/nav-tree-CO6pBQ97.d.ts +58 -0
- package/dist/nav-tree-CO6pBQ97.d.ts.map +1 -0
- package/dist/number-field-B6KC8yI6.js +142 -0
- package/dist/number-field-B6KC8yI6.js.map +1 -0
- package/dist/number-field-DF8y6bnY.d.ts +40 -0
- package/dist/number-field-DF8y6bnY.d.ts.map +1 -0
- package/dist/number-field-math-BbzrCT49.js +80 -0
- package/dist/number-field-math-BbzrCT49.js.map +1 -0
- package/dist/number-input-CYBBlG6M.d.ts +39 -0
- package/dist/number-input-CYBBlG6M.d.ts.map +1 -0
- package/dist/number-input-D_DENJrt.js +155 -0
- package/dist/number-input-D_DENJrt.js.map +1 -0
- package/dist/object-inspector-BGz9glEG.js +107 -0
- package/dist/object-inspector-BGz9glEG.js.map +1 -0
- package/dist/object-inspector-Bt9aTz0r.d.ts +68 -0
- package/dist/object-inspector-Bt9aTz0r.d.ts.map +1 -0
- package/dist/observed-value-Clb8CFot.js +123 -0
- package/dist/observed-value-Clb8CFot.js.map +1 -0
- package/dist/observed-value-R02Nfstm.d.ts +69 -0
- package/dist/observed-value-R02Nfstm.d.ts.map +1 -0
- package/dist/option-list-BaqWFSAq.d.ts +46 -0
- package/dist/option-list-BaqWFSAq.d.ts.map +1 -0
- package/dist/option-list-CWX9CSTU.js +88 -0
- package/dist/option-list-CWX9CSTU.js.map +1 -0
- package/dist/overlay/bottom-sheet-math.d.ts +66 -0
- package/dist/overlay/bottom-sheet-math.d.ts.map +1 -0
- package/dist/overlay/bottom-sheet-math.js +3 -0
- package/dist/overlay/bottom-sheet.d.ts +2 -0
- package/dist/overlay/bottom-sheet.js +8 -0
- package/dist/overlay/combobox-math.d.ts +2 -0
- package/dist/overlay/combobox-math.js +3 -0
- package/dist/overlay/combobox.d.ts +3 -0
- package/dist/overlay/combobox.js +26 -0
- package/dist/overlay/drawer.d.ts +2 -0
- package/dist/overlay/drawer.js +5 -0
- package/dist/overlay/dropdown-menu.d.ts +6 -0
- package/dist/overlay/dropdown-menu.js +12 -0
- package/dist/overlay/menu.d.ts +4 -0
- package/dist/overlay/menu.js +9 -0
- package/dist/overlay/popover.d.ts +6 -0
- package/dist/overlay/popover.js +8 -0
- package/dist/overlay/popup-layer.d.ts +2 -0
- package/dist/overlay/popup-layer.js +6 -0
- package/dist/overlay/popup-resize.d.ts +27 -0
- package/dist/overlay/popup-resize.d.ts.map +1 -0
- package/dist/overlay/popup-resize.js +3 -0
- package/dist/overlay/popup-trigger.d.ts +5 -0
- package/dist/overlay/popup-trigger.js +7 -0
- package/dist/overlay/surfaces.d.ts +2 -0
- package/dist/overlay/surfaces.js +14 -0
- package/dist/overlay/tooltip.d.ts +2 -0
- package/dist/overlay/tooltip.js +6 -0
- package/dist/overlay/use-drawer-focus.d.ts +25 -0
- package/dist/overlay/use-drawer-focus.d.ts.map +1 -0
- package/dist/overlay/use-drawer-focus.js +4 -0
- package/dist/overlay/web-dom.d.ts +2 -0
- package/dist/overlay/web-dom.js +3 -0
- package/dist/page-DX2cLfvr.d.ts +19 -0
- package/dist/page-DX2cLfvr.d.ts.map +1 -0
- package/dist/page-Dtx246O0.js +36 -0
- package/dist/page-Dtx246O0.js.map +1 -0
- package/dist/page-header-9j6DSbwr.js +53 -0
- package/dist/page-header-9j6DSbwr.js.map +1 -0
- package/dist/page-header-BrBKrrPv.d.ts +33 -0
- package/dist/page-header-BrBKrrPv.d.ts.map +1 -0
- package/dist/pagination-CH7LxhCZ.js +254 -0
- package/dist/pagination-CH7LxhCZ.js.map +1 -0
- package/dist/pagination-DmcGdXUK.d.ts +65 -0
- package/dist/pagination-DmcGdXUK.d.ts.map +1 -0
- package/dist/pagination-items-Bm4DdmvD.js +60 -0
- package/dist/pagination-items-Bm4DdmvD.js.map +1 -0
- package/dist/pagination-items-DDlaKCcA.d.ts +36 -0
- package/dist/pagination-items-DDlaKCcA.d.ts.map +1 -0
- package/dist/palette-e682Imft.js +48 -0
- package/dist/palette-e682Imft.js.map +1 -0
- package/dist/palette-pxZK5Txi.d.ts +101 -0
- package/dist/palette-pxZK5Txi.d.ts.map +1 -0
- package/dist/panel-group-edges-B-rbvYhb.d.ts +23 -0
- package/dist/panel-group-edges-B-rbvYhb.d.ts.map +1 -0
- package/dist/panel-group-edges-BDENg4ym.js +135 -0
- package/dist/panel-group-edges-BDENg4ym.js.map +1 -0
- package/dist/panel-inset-CFVNmJyo.js +16 -0
- package/dist/panel-inset-CFVNmJyo.js.map +1 -0
- package/dist/panels-CM2aywi2.d.ts +115 -0
- package/dist/panels-CM2aywi2.d.ts.map +1 -0
- package/dist/panels-CpCXAPvB.js +436 -0
- package/dist/panels-CpCXAPvB.js.map +1 -0
- package/dist/panes-Cu23w3Fc.d.ts +22 -0
- package/dist/panes-Cu23w3Fc.d.ts.map +1 -0
- package/dist/panes-wLMI87gJ.js +33 -0
- package/dist/panes-wLMI87gJ.js.map +1 -0
- package/dist/paragraph-D3M_hsMK.js +53 -0
- package/dist/paragraph-D3M_hsMK.js.map +1 -0
- package/dist/paragraph-D4ESwx7N.d.ts +21 -0
- package/dist/paragraph-D4ESwx7N.d.ts.map +1 -0
- package/dist/parts-BJnweGSV.js +243 -0
- package/dist/parts-BJnweGSV.js.map +1 -0
- package/dist/parts-CGh-XfDU.d.ts +145 -0
- package/dist/parts-CGh-XfDU.d.ts.map +1 -0
- package/dist/pointer-drag-CdvmmItV.d.ts +50 -0
- package/dist/pointer-drag-CdvmmItV.d.ts.map +1 -0
- package/dist/pointer-drag-Dg9MMOiH.js +66 -0
- package/dist/pointer-drag-Dg9MMOiH.js.map +1 -0
- package/dist/popover-CC0ggv9D.js +50 -0
- package/dist/popover-CC0ggv9D.js.map +1 -0
- package/dist/popover-YlAIqtY-.d.ts +38 -0
- package/dist/popover-YlAIqtY-.d.ts.map +1 -0
- package/dist/popup-layer-BdDt3Yt1.d.ts +102 -0
- package/dist/popup-layer-BdDt3Yt1.d.ts.map +1 -0
- package/dist/popup-layer-CzRIJTju.js +636 -0
- package/dist/popup-layer-CzRIJTju.js.map +1 -0
- package/dist/popup-resize-DEyyeFrU.js +13 -0
- package/dist/popup-resize-DEyyeFrU.js.map +1 -0
- package/dist/popup-trigger-BcbCejvb.d.ts +57 -0
- package/dist/popup-trigger-BcbCejvb.d.ts.map +1 -0
- package/dist/popup-trigger-NCa4Dp9A.js +100 -0
- package/dist/popup-trigger-NCa4Dp9A.js.map +1 -0
- package/dist/priority-bars-CZWqYC3p.d.ts +18 -0
- package/dist/priority-bars-CZWqYC3p.d.ts.map +1 -0
- package/dist/priority-bars-DJ9vxwtL.js +85 -0
- package/dist/priority-bars-DJ9vxwtL.js.map +1 -0
- package/dist/progress-bar-BJGJC1Zr.d.ts +49 -0
- package/dist/progress-bar-BJGJC1Zr.d.ts.map +1 -0
- package/dist/progress-bar-DjOdgCLF.js +153 -0
- package/dist/progress-bar-DjOdgCLF.js.map +1 -0
- package/dist/property-group-D3ENqRVT.js +82 -0
- package/dist/property-group-D3ENqRVT.js.map +1 -0
- package/dist/property-group-pBINVCC_.d.ts +30 -0
- package/dist/property-group-pBINVCC_.d.ts.map +1 -0
- package/dist/property-header-B-HI_KOw.js +51 -0
- package/dist/property-header-B-HI_KOw.js.map +1 -0
- package/dist/property-header-lycrvvPH.d.ts +21 -0
- package/dist/property-header-lycrvvPH.d.ts.map +1 -0
- package/dist/property-problem-CVKSY_1h.js +26 -0
- package/dist/property-problem-CVKSY_1h.js.map +1 -0
- package/dist/property-problem-C_0hPvu7.d.ts +15 -0
- package/dist/property-problem-C_0hPvu7.d.ts.map +1 -0
- package/dist/property-section-B4BLx5zH.js +95 -0
- package/dist/property-section-B4BLx5zH.js.map +1 -0
- package/dist/property-section-DJgRhN2E.d.ts +30 -0
- package/dist/property-section-DJgRhN2E.d.ts.map +1 -0
- package/dist/prose-B_CPxUFe.d.ts +35 -0
- package/dist/prose-B_CPxUFe.d.ts.map +1 -0
- package/dist/prose-Cv2qabAg.js +40 -0
- package/dist/prose-Cv2qabAg.js.map +1 -0
- package/dist/quadrant-diagram-CJqbmYvZ.d.ts +65 -0
- package/dist/quadrant-diagram-CJqbmYvZ.d.ts.map +1 -0
- package/dist/quadrant-diagram-CftnvuaK.js +170 -0
- package/dist/quadrant-diagram-CftnvuaK.js.map +1 -0
- package/dist/question-card-OGHOBRvy.d.ts +34 -0
- package/dist/question-card-OGHOBRvy.d.ts.map +1 -0
- package/dist/question-card-ycGWNElG.js +116 -0
- package/dist/question-card-ycGWNElG.js.map +1 -0
- package/dist/quota-bar--6pahwOM.d.ts +24 -0
- package/dist/quota-bar--6pahwOM.d.ts.map +1 -0
- package/dist/quota-bar-CJ0VVele.js +38 -0
- package/dist/quota-bar-CJ0VVele.js.map +1 -0
- package/dist/radio-group-9YVgr09Z.d.ts +34 -0
- package/dist/radio-group-9YVgr09Z.d.ts.map +1 -0
- package/dist/radio-group-BnVdldu9.js +155 -0
- package/dist/radio-group-BnVdldu9.js.map +1 -0
- package/dist/range-slider-CZ8DMBYm.js +252 -0
- package/dist/range-slider-CZ8DMBYm.js.map +1 -0
- package/dist/range-slider-CoCg9m2v.d.ts +36 -0
- package/dist/range-slider-CoCg9m2v.d.ts.map +1 -0
- package/dist/range-slider-math-BEbeT6x4.js +92 -0
- package/dist/range-slider-math-BEbeT6x4.js.map +1 -0
- package/dist/range-slider-math-C2X_zMqe.d.ts +60 -0
- package/dist/range-slider-math-C2X_zMqe.d.ts.map +1 -0
- package/dist/range-slider-thumb-BZbOZXVy.js +57 -0
- package/dist/range-slider-thumb-BZbOZXVy.js.map +1 -0
- package/dist/record-chip-AIKd67o6.js +35 -0
- package/dist/record-chip-AIKd67o6.js.map +1 -0
- package/dist/record-chip-Cu20GtDg.d.ts +16 -0
- package/dist/record-chip-Cu20GtDg.d.ts.map +1 -0
- package/dist/resizable-BEZxyP1e.js +240 -0
- package/dist/resizable-BEZxyP1e.js.map +1 -0
- package/dist/resizable-BluY2mN1.d.ts +120 -0
- package/dist/resizable-BluY2mN1.d.ts.map +1 -0
- package/dist/rollup-line-DRgVg8Ue.js +57 -0
- package/dist/rollup-line-DRgVg8Ue.js.map +1 -0
- package/dist/rollup-line-DeQdwSPC.d.ts +41 -0
- package/dist/rollup-line-DeQdwSPC.d.ts.map +1 -0
- package/dist/route-chain-CQUG367n.js +103 -0
- package/dist/route-chain-CQUG367n.js.map +1 -0
- package/dist/route-chain-U3AsbdZM.d.ts +34 -0
- package/dist/route-chain-U3AsbdZM.d.ts.map +1 -0
- package/dist/row-style-AM_Bhhwd.js +44 -0
- package/dist/row-style-AM_Bhhwd.js.map +1 -0
- package/dist/search-field-DPVLURzD.js +105 -0
- package/dist/search-field-DPVLURzD.js.map +1 -0
- package/dist/search-field-DReW8T-g.d.ts +80 -0
- package/dist/search-field-DReW8T-g.d.ts.map +1 -0
- package/dist/section-C_rt46TX.js +60 -0
- package/dist/section-C_rt46TX.js.map +1 -0
- package/dist/section-Dm6-1bwC.d.ts +25 -0
- package/dist/section-Dm6-1bwC.d.ts.map +1 -0
- package/dist/section-column-B7Iilg76.d.ts +32 -0
- package/dist/section-column-B7Iilg76.d.ts.map +1 -0
- package/dist/section-column-DUW3FHHy.js +67 -0
- package/dist/section-column-DUW3FHHy.js.map +1 -0
- package/dist/segmented-CQAkmumP.d.ts +99 -0
- package/dist/segmented-CQAkmumP.d.ts.map +1 -0
- package/dist/segmented-DJZLaYQe.js +265 -0
- package/dist/segmented-DJZLaYQe.js.map +1 -0
- package/dist/select-field-Cfr9Y-i0.js +155 -0
- package/dist/select-field-Cfr9Y-i0.js.map +1 -0
- package/dist/select-field-DvBO5nNL.d.ts +45 -0
- package/dist/select-field-DvBO5nNL.d.ts.map +1 -0
- package/dist/select-pill-C4MbKQfZ.js +27 -0
- package/dist/select-pill-C4MbKQfZ.js.map +1 -0
- package/dist/select-pill-Ds6fYkkU.d.ts +18 -0
- package/dist/select-pill-Ds6fYkkU.d.ts.map +1 -0
- package/dist/sequence-diagram-BHVEtrgy.js +218 -0
- package/dist/sequence-diagram-BHVEtrgy.js.map +1 -0
- package/dist/sequence-diagram-BZc1wpQZ.d.ts +65 -0
- package/dist/sequence-diagram-BZc1wpQZ.d.ts.map +1 -0
- package/dist/session-bar-DPGr7Uuv.d.ts +63 -0
- package/dist/session-bar-DPGr7Uuv.d.ts.map +1 -0
- package/dist/session-bar-DVaHJF_f.js +131 -0
- package/dist/session-bar-DVaHJF_f.js.map +1 -0
- package/dist/session-clock-JnByj-vi.js +21 -0
- package/dist/session-clock-JnByj-vi.js.map +1 -0
- package/dist/shortcuts-sheet-Bxu807ko.d.ts +39 -0
- package/dist/shortcuts-sheet-Bxu807ko.d.ts.map +1 -0
- package/dist/shortcuts-sheet-ObeQhRnq.js +260 -0
- package/dist/shortcuts-sheet-ObeQhRnq.js.map +1 -0
- package/dist/show-when-DE5Z4F47.js +10 -0
- package/dist/show-when-DE5Z4F47.js.map +1 -0
- package/dist/show-when-DSvorl4m.d.ts +11 -0
- package/dist/show-when-DSvorl4m.d.ts.map +1 -0
- package/dist/sidebar-BlriYk8z.d.ts +60 -0
- package/dist/sidebar-BlriYk8z.d.ts.map +1 -0
- package/dist/sidebar-DEMYhI97.js +156 -0
- package/dist/sidebar-DEMYhI97.js.map +1 -0
- package/dist/skeleton-C5Qj5Sz7.js +56 -0
- package/dist/skeleton-C5Qj5Sz7.js.map +1 -0
- package/dist/skeleton-CwlVco_x.d.ts +25 -0
- package/dist/skeleton-CwlVco_x.d.ts.map +1 -0
- package/dist/slider-row-BcgQFuzP.js +365 -0
- package/dist/slider-row-BcgQFuzP.js.map +1 -0
- package/dist/slider-row-i2tOMKUN.d.ts +72 -0
- package/dist/slider-row-i2tOMKUN.d.ts.map +1 -0
- package/dist/social-links-Ci7BdTnF.js +84 -0
- package/dist/social-links-Ci7BdTnF.js.map +1 -0
- package/dist/social-links-W11yKk3y.d.ts +43 -0
- package/dist/social-links-W11yKk3y.d.ts.map +1 -0
- package/dist/source-control-BEIvviXc.d.ts +39 -0
- package/dist/source-control-BEIvviXc.d.ts.map +1 -0
- package/dist/source-control-C4ElfyOT.js +153 -0
- package/dist/source-control-C4ElfyOT.js.map +1 -0
- package/dist/space-key-BFn5sbG8.js +19 -0
- package/dist/space-key-BFn5sbG8.js.map +1 -0
- package/dist/sparkline-D17CMGFC.d.ts +45 -0
- package/dist/sparkline-D17CMGFC.d.ts.map +1 -0
- package/dist/sparkline-DwkFeXHt.js +69 -0
- package/dist/sparkline-DwkFeXHt.js.map +1 -0
- package/dist/sparkline-math-BJCcKXff.d.ts +40 -0
- package/dist/sparkline-math-BJCcKXff.d.ts.map +1 -0
- package/dist/sparkline-math-BLN5Wvms.js +69 -0
- package/dist/sparkline-math-BLN5Wvms.js.map +1 -0
- package/dist/spinner-DPczYFdS.d.ts +64 -0
- package/dist/spinner-DPczYFdS.d.ts.map +1 -0
- package/dist/spinner-Dv0q3cZM.js +56 -0
- package/dist/spinner-Dv0q3cZM.js.map +1 -0
- package/dist/star-rating-BgCVLWdA.d.ts +27 -0
- package/dist/star-rating-BgCVLWdA.d.ts.map +1 -0
- package/dist/star-rating-C6e7vITv.js +45 -0
- package/dist/star-rating-C6e7vITv.js.map +1 -0
- package/dist/stat-tile-CkeAUZu3.js +132 -0
- package/dist/stat-tile-CkeAUZu3.js.map +1 -0
- package/dist/stat-tile-DOXW-0xv.d.ts +96 -0
- package/dist/stat-tile-DOXW-0xv.d.ts.map +1 -0
- package/dist/state-diagram-CGeSGiPY.js +342 -0
- package/dist/state-diagram-CGeSGiPY.js.map +1 -0
- package/dist/state-diagram-CO_RuxQL.d.ts +133 -0
- package/dist/state-diagram-CO_RuxQL.d.ts.map +1 -0
- package/dist/status-badge-8xsGPFHx.d.ts +24 -0
- package/dist/status-badge-8xsGPFHx.d.ts.map +1 -0
- package/dist/status-badge-DNYTW8pv.js +44 -0
- package/dist/status-badge-DNYTW8pv.js.map +1 -0
- package/dist/status-bar-BaY80L86.d.ts +56 -0
- package/dist/status-bar-BaY80L86.d.ts.map +1 -0
- package/dist/status-bar-Cbua0Fnd.js +71 -0
- package/dist/status-bar-Cbua0Fnd.js.map +1 -0
- package/dist/status-dot-BiztEZ_Q.js +46 -0
- package/dist/status-dot-BiztEZ_Q.js.map +1 -0
- package/dist/status-dot-BjASyAFM.d.ts +33 -0
- package/dist/status-dot-BjASyAFM.d.ts.map +1 -0
- package/dist/status-icon-DXblJz6x.d.ts +21 -0
- package/dist/status-icon-DXblJz6x.d.ts.map +1 -0
- package/dist/status-icon-q-1Detmt.js +96 -0
- package/dist/status-icon-q-1Detmt.js.map +1 -0
- package/dist/status-table-cell-Cq9B622S.d.ts +61 -0
- package/dist/status-table-cell-Cq9B622S.d.ts.map +1 -0
- package/dist/status-table-cell-YBhVWCEy.js +55 -0
- package/dist/status-table-cell-YBhVWCEy.js.map +1 -0
- package/dist/step-list-DwpqXgGQ.d.ts +39 -0
- package/dist/step-list-DwpqXgGQ.d.ts.map +1 -0
- package/dist/step-list-fJTGHyly.js +128 -0
- package/dist/step-list-fJTGHyly.js.map +1 -0
- package/dist/step-list-math-BTnK8w6T.d.ts +44 -0
- package/dist/step-list-math-BTnK8w6T.d.ts.map +1 -0
- package/dist/step-list-math-kyX2dOjk.js +44 -0
- package/dist/step-list-math-kyX2dOjk.js.map +1 -0
- package/dist/stepper-B8t01ksb.js +220 -0
- package/dist/stepper-B8t01ksb.js.map +1 -0
- package/dist/stepper-BRbYOaTq.d.ts +38 -0
- package/dist/stepper-BRbYOaTq.d.ts.map +1 -0
- package/dist/surfaces-BTFlgl14.js +625 -0
- package/dist/surfaces-BTFlgl14.js.map +1 -0
- package/dist/surfaces-Dm9JQW4-.d.ts +221 -0
- package/dist/surfaces-Dm9JQW4-.d.ts.map +1 -0
- package/dist/swatch-grid-1Mj_IqUa.d.ts +30 -0
- package/dist/swatch-grid-1Mj_IqUa.d.ts.map +1 -0
- package/dist/swatch-grid-B1xJHfui.js +98 -0
- package/dist/swatch-grid-B1xJHfui.js.map +1 -0
- package/dist/swatch-ink-C4S9EARW.js +28 -0
- package/dist/swatch-ink-C4S9EARW.js.map +1 -0
- package/dist/swatch-picker-B5JNupXS.d.ts +45 -0
- package/dist/swatch-picker-B5JNupXS.d.ts.map +1 -0
- package/dist/swatch-picker-nJrQaFjV.js +136 -0
- package/dist/swatch-picker-nJrQaFjV.js.map +1 -0
- package/dist/switch-CI4xG60w.d.ts +28 -0
- package/dist/switch-CI4xG60w.d.ts.map +1 -0
- package/dist/switch-DEFb05Yn.js +91 -0
- package/dist/switch-DEFb05Yn.js.map +1 -0
- package/dist/syntax-BmFNVGLA.js +147 -0
- package/dist/syntax-BmFNVGLA.js.map +1 -0
- package/dist/syntax-CCuXOAm3.d.ts +38 -0
- package/dist/syntax-CCuXOAm3.d.ts.map +1 -0
- package/dist/syntax-code-C4oDhL8A.d.ts +105 -0
- package/dist/syntax-code-C4oDhL8A.d.ts.map +1 -0
- package/dist/syntax-code-C9LnjOR1.js +193 -0
- package/dist/syntax-code-C9LnjOR1.js.map +1 -0
- package/dist/tabs-CNF9d4Ju.js +105 -0
- package/dist/tabs-CNF9d4Ju.js.map +1 -0
- package/dist/tabs-Du2mgWzI.d.ts +82 -0
- package/dist/tabs-Du2mgWzI.d.ts.map +1 -0
- package/dist/tag-BiH1blvD.d.ts +32 -0
- package/dist/tag-BiH1blvD.d.ts.map +1 -0
- package/dist/tag-DHf0CeWL.js +77 -0
- package/dist/tag-DHf0CeWL.js.map +1 -0
- package/dist/tag-input-DkoIH5JR.js +311 -0
- package/dist/tag-input-DkoIH5JR.js.map +1 -0
- package/dist/tag-input-iEqFcqsX.d.ts +32 -0
- package/dist/tag-input-iEqFcqsX.d.ts.map +1 -0
- package/dist/tag-input-math-BZ9rTbeG.js +116 -0
- package/dist/tag-input-math-BZ9rTbeG.js.map +1 -0
- package/dist/tag-input-math-Cu1GSml8.d.ts +93 -0
- package/dist/tag-input-math-Cu1GSml8.d.ts.map +1 -0
- package/dist/task-list-U6Hz_PLP.d.ts +75 -0
- package/dist/task-list-U6Hz_PLP.d.ts.map +1 -0
- package/dist/task-list-WbDSdfoy.js +75 -0
- package/dist/task-list-WbDSdfoy.js.map +1 -0
- package/dist/task-row-BDmeXQDA.d.ts +48 -0
- package/dist/task-row-BDmeXQDA.d.ts.map +1 -0
- package/dist/task-row-DLc6tEJa.js +90 -0
- package/dist/task-row-DLc6tEJa.js.map +1 -0
- package/dist/terminal-ink-BdX-2VYv.js +22 -0
- package/dist/terminal-ink-BdX-2VYv.js.map +1 -0
- package/dist/text-area-BTbdrW1F.d.ts +58 -0
- package/dist/text-area-BTbdrW1F.d.ts.map +1 -0
- package/dist/text-area-CNoT8U3L.js +123 -0
- package/dist/text-area-CNoT8U3L.js.map +1 -0
- package/dist/text-diff-BUXUdvmW.js +62 -0
- package/dist/text-diff-BUXUdvmW.js.map +1 -0
- package/dist/text-diff-Dc61_7GP.d.ts +34 -0
- package/dist/text-diff-Dc61_7GP.d.ts.map +1 -0
- package/dist/text-diff-math-CaxQ-8HP.js +139 -0
- package/dist/text-diff-math-CaxQ-8HP.js.map +1 -0
- package/dist/text-diff-math-CrDbUTkr.d.ts +38 -0
- package/dist/text-diff-math-CrDbUTkr.d.ts.map +1 -0
- package/dist/time-field-CEOyq5Ft.d.ts +45 -0
- package/dist/time-field-CEOyq5Ft.d.ts.map +1 -0
- package/dist/time-field-DVPFU8Vb.js +191 -0
- package/dist/time-field-DVPFU8Vb.js.map +1 -0
- package/dist/time-math-UUFzNwZZ.js +89 -0
- package/dist/time-math-UUFzNwZZ.js.map +1 -0
- package/dist/time-segment-Cyhd1Y63.js +79 -0
- package/dist/time-segment-Cyhd1Y63.js.map +1 -0
- package/dist/timeline-diagram-C1K8mEAT.d.ts +47 -0
- package/dist/timeline-diagram-C1K8mEAT.d.ts.map +1 -0
- package/dist/timeline-diagram-Dpo9_gCD.js +176 -0
- package/dist/timeline-diagram-Dpo9_gCD.js.map +1 -0
- package/dist/timeline-turn-row-BeEpVw5Y.d.ts +54 -0
- package/dist/timeline-turn-row-BeEpVw5Y.d.ts.map +1 -0
- package/dist/timeline-turn-row-DDuHQNNE.js +135 -0
- package/dist/timeline-turn-row-DDuHQNNE.js.map +1 -0
- package/dist/tints-D0ad5643.d.ts +76 -0
- package/dist/tints-D0ad5643.d.ts.map +1 -0
- package/dist/tints-DpXZ_gmH.js +85 -0
- package/dist/tints-DpXZ_gmH.js.map +1 -0
- package/dist/toast-stack-BO_5Gdaq.d.ts +36 -0
- package/dist/toast-stack-BO_5Gdaq.d.ts.map +1 -0
- package/dist/toast-stack-DoHl5Vq6.js +181 -0
- package/dist/toast-stack-DoHl5Vq6.js.map +1 -0
- package/dist/toggle-button-BWMsogTh.js +61 -0
- package/dist/toggle-button-BWMsogTh.js.map +1 -0
- package/dist/toggle-button-nNgqcsBb.d.ts +20 -0
- package/dist/toggle-button-nNgqcsBb.d.ts.map +1 -0
- package/dist/tones-BqHf9Eon.d.ts +36 -0
- package/dist/tones-BqHf9Eon.d.ts.map +1 -0
- package/dist/tones-jkVPOStl.js +93 -0
- package/dist/tones-jkVPOStl.js.map +1 -0
- package/dist/tool-call-card-9MAgSqpa.js +248 -0
- package/dist/tool-call-card-9MAgSqpa.js.map +1 -0
- package/dist/tool-call-card-DG74Jg2G.d.ts +75 -0
- package/dist/tool-call-card-DG74Jg2G.d.ts.map +1 -0
- package/dist/tool-rail-BPx7S8SG.d.ts +32 -0
- package/dist/tool-rail-BPx7S8SG.d.ts.map +1 -0
- package/dist/tool-rail-GZC_uk8t.js +57 -0
- package/dist/tool-rail-GZC_uk8t.js.map +1 -0
- package/dist/tool-strip-C0PifVip.js +283 -0
- package/dist/tool-strip-C0PifVip.js.map +1 -0
- package/dist/tool-strip-F9puO8kB.d.ts +77 -0
- package/dist/tool-strip-F9puO8kB.d.ts.map +1 -0
- package/dist/toolbar-C2huVRjq.js +98 -0
- package/dist/toolbar-C2huVRjq.js.map +1 -0
- package/dist/toolbar-DsAPdVwi.d.ts +47 -0
- package/dist/toolbar-DsAPdVwi.d.ts.map +1 -0
- package/dist/tooltip-ClPU4PQ_.d.ts +30 -0
- package/dist/tooltip-ClPU4PQ_.d.ts.map +1 -0
- package/dist/top-bar-DPl8qgFl.d.ts +40 -0
- package/dist/top-bar-DPl8qgFl.d.ts.map +1 -0
- package/dist/top-bar-Wp-ex2m2.js +84 -0
- package/dist/top-bar-Wp-ex2m2.js.map +1 -0
- package/dist/touch-target-JEV3qL9M.js +8 -0
- package/dist/touch-target-JEV3qL9M.js.map +1 -0
- package/dist/trace-span-row-9WDnmSKe.js +107 -0
- package/dist/trace-span-row-9WDnmSKe.js.map +1 -0
- package/dist/trace-tree-BSPtE5LO.js +97 -0
- package/dist/trace-tree-BSPtE5LO.js.map +1 -0
- package/dist/trace-tree-C4SR9AgF.d.ts +45 -0
- package/dist/trace-tree-C4SR9AgF.d.ts.map +1 -0
- package/dist/trace-tree-math-BfRGT7Lv.d.ts +53 -0
- package/dist/trace-tree-math-BfRGT7Lv.d.ts.map +1 -0
- package/dist/trace-tree-math-DeMXc3ll.js +77 -0
- package/dist/trace-tree-math-DeMXc3ll.js.map +1 -0
- package/dist/transcript-row-56rru-0u.js +311 -0
- package/dist/transcript-row-56rru-0u.js.map +1 -0
- package/dist/transcript-row-iLGPC831.d.ts +66 -0
- package/dist/transcript-row-iLGPC831.d.ts.map +1 -0
- package/dist/tree-6Pg8ITzd.d.ts +49 -0
- package/dist/tree-6Pg8ITzd.d.ts.map +1 -0
- package/dist/tree-GoRsnBCD.js +137 -0
- package/dist/tree-GoRsnBCD.js.map +1 -0
- package/dist/tree-a11y-DA-m-uuE.js +53 -0
- package/dist/tree-a11y-DA-m-uuE.js.map +1 -0
- package/dist/tree-row-B6ek9uNF.js +62 -0
- package/dist/tree-row-B6ek9uNF.js.map +1 -0
- package/dist/tree-row-CgHHCw27.d.ts +75 -0
- package/dist/tree-row-CgHHCw27.d.ts.map +1 -0
- package/dist/tree-row-DP16Ox3g.js +296 -0
- package/dist/tree-row-DP16Ox3g.js.map +1 -0
- package/dist/tree-row-trailing-C5RggA2B.d.ts +27 -0
- package/dist/tree-row-trailing-C5RggA2B.d.ts.map +1 -0
- package/dist/tree-row-trailing-DOJIN041.js +30 -0
- package/dist/tree-row-trailing-DOJIN041.js.map +1 -0
- package/dist/type-to-confirm-CmbwsWow.js +65 -0
- package/dist/type-to-confirm-CmbwsWow.js.map +1 -0
- package/dist/type-to-confirm-KfAXRqfb.d.ts +31 -0
- package/dist/type-to-confirm-KfAXRqfb.d.ts.map +1 -0
- package/dist/types-B_slwt2T.d.ts +111 -0
- package/dist/types-B_slwt2T.d.ts.map +1 -0
- package/dist/types-CfwNcIHG.d.ts +37 -0
- package/dist/types-CfwNcIHG.d.ts.map +1 -0
- package/dist/types-CzpjCGgO.d.ts +55 -0
- package/dist/types-CzpjCGgO.d.ts.map +1 -0
- package/dist/types-DRel_-xO.d.ts +161 -0
- package/dist/types-DRel_-xO.d.ts.map +1 -0
- package/dist/types-Dt4-3wCV.js +13 -0
- package/dist/types-Dt4-3wCV.js.map +1 -0
- package/dist/types-E6wtsISA.js +15 -0
- package/dist/types-E6wtsISA.js.map +1 -0
- package/dist/types-qcCMVYua.js +15 -0
- package/dist/types-qcCMVYua.js.map +1 -0
- package/dist/undo-redo-buttons-B5nmo7Pi.d.ts +23 -0
- package/dist/undo-redo-buttons-B5nmo7Pi.d.ts.map +1 -0
- package/dist/undo-redo-buttons-ChXuFqJy.js +30 -0
- package/dist/undo-redo-buttons-ChXuFqJy.js.map +1 -0
- package/dist/unit-select-DiiCc9Pv.d.ts +23 -0
- package/dist/unit-select-DiiCc9Pv.d.ts.map +1 -0
- package/dist/unit-select-xdXC_VLD.js +39 -0
- package/dist/unit-select-xdXC_VLD.js.map +1 -0
- package/dist/use-can-hover-DHWTZLqz.js +43 -0
- package/dist/use-can-hover-DHWTZLqz.js.map +1 -0
- package/dist/use-drawer-focus-Ctz4WMeF.js +77 -0
- package/dist/use-drawer-focus-Ctz4WMeF.js.map +1 -0
- package/dist/use-window-width-BxgfcFgc.js +37 -0
- package/dist/use-window-width-BxgfcFgc.js.map +1 -0
- package/dist/vector-map-Be_jZXdu.d.ts +75 -0
- package/dist/vector-map-Be_jZXdu.d.ts.map +1 -0
- package/dist/vector-map-DQ_ZZcfJ.js +433 -0
- package/dist/vector-map-DQ_ZZcfJ.js.map +1 -0
- package/dist/vector-map-geometry-Ch84V7qN.js +263 -0
- package/dist/vector-map-geometry-Ch84V7qN.js.map +1 -0
- package/dist/vector-map-geometry-cT6wCVKm.d.ts +148 -0
- package/dist/vector-map-geometry-cT6wCVKm.d.ts.map +1 -0
- package/dist/viewport-DSOS1eRp.d.ts +1 -0
- package/dist/viewport-cYL4NRL6.js +0 -0
- package/dist/virtual-list-CoVUm6aJ.js +64 -0
- package/dist/virtual-list-CoVUm6aJ.js.map +1 -0
- package/dist/virtual-list-DXEpTyDe.d.ts +32 -0
- package/dist/virtual-list-DXEpTyDe.d.ts.map +1 -0
- package/dist/virtual-window-8_oHQJ2x.js +84 -0
- package/dist/virtual-window-8_oHQJ2x.js.map +1 -0
- package/dist/virtual-window-DSUTdvf7.d.ts +43 -0
- package/dist/virtual-window-DSUTdvf7.d.ts.map +1 -0
- package/dist/visual-BEBYkijx.js +0 -0
- package/dist/visual-BkcFKD1x.d.ts +1 -0
- package/dist/web-dom-D6pMXQKD.js +196 -0
- package/dist/web-dom-D6pMXQKD.js.map +1 -0
- package/dist/web-dom-DUqwCTQl.d.ts +92 -0
- package/dist/web-dom-DUqwCTQl.d.ts.map +1 -0
- package/dist/web-field-reset-CbXi4qip.js +37 -0
- package/dist/web-field-reset-CbXi4qip.js.map +1 -0
- package/dist/with-tooltip-CrV6iRY9.js +14 -0
- package/dist/with-tooltip-CrV6iRY9.js.map +1 -0
- package/dist/workflow-diagram-Cwb7aBU_.js +162 -0
- package/dist/workflow-diagram-Cwb7aBU_.js.map +1 -0
- package/dist/workflow-diagram-Rf-0v3tU.d.ts +75 -0
- package/dist/workflow-diagram-Rf-0v3tU.d.ts.map +1 -0
- package/dist/zoom-slider-9fEz2qFI.js +27 -0
- package/dist/zoom-slider-9fEz2qFI.js.map +1 -0
- package/dist/zoom-slider-b08kEyDV.d.ts +17 -0
- package/dist/zoom-slider-b08kEyDV.d.ts.map +1 -0
- package/package.json +67 -3
- package/src/a11y/focus-targets.ts +47 -0
- package/src/agent/assumption-banner.tsx +56 -0
- package/src/agent/attachment-strip.tsx +90 -0
- package/src/agent/composer.tsx +146 -0
- package/src/agent/inbox-actions.tsx +116 -0
- package/src/agent/inbox-types.ts +67 -0
- package/src/agent/inspector-content.tsx +177 -0
- package/src/agent/option-list.tsx +115 -0
- package/src/agent/question-card.tsx +107 -0
- package/src/agent/rollup-line.tsx +75 -0
- package/src/agent/timeline-turn-row.tsx +144 -0
- package/src/agent/tool-call-card.tsx +267 -0
- package/src/agent/transcript-row.tsx +271 -0
- package/src/agent/types.ts +93 -0
- package/src/app/app-shell.tsx +157 -0
- package/src/app/bottom-nav-item.tsx +96 -0
- package/src/app/bottom-nav.tsx +94 -0
- package/src/app/card.tsx +127 -0
- package/src/app/filter-bar.tsx +139 -0
- package/src/app/frames.tsx +60 -0
- package/src/app/group-bar.tsx +82 -0
- package/src/app/icon-tile.tsx +56 -0
- package/src/app/inspector-panel.tsx +99 -0
- package/src/app/link-card.tsx +89 -0
- package/src/app/list-row-tone.ts +44 -0
- package/src/app/list-row.tsx +119 -0
- package/src/app/menu.tsx +239 -0
- package/src/app/metadata-chip.tsx +71 -0
- package/src/app/nav-item.tsx +268 -0
- package/src/app/nav-tree.tsx +201 -0
- package/src/app/page-header.tsx +69 -0
- package/src/app/page.tsx +39 -0
- package/src/app/panes.tsx +39 -0
- package/src/app/section.tsx +65 -0
- package/src/app/session-bar.tsx +171 -0
- package/src/app/session-clock.ts +20 -0
- package/src/app/sidebar.tsx +195 -0
- package/src/app/stat-tile.tsx +216 -0
- package/src/app/status-bar.tsx +117 -0
- package/src/app/tag.tsx +112 -0
- package/src/app/task-row.tsx +118 -0
- package/src/app/toolbar.tsx +157 -0
- package/src/app/top-bar.tsx +113 -0
- package/src/app/use-window-width.ts +36 -0
- package/src/canvas/canvas.tsx +83 -0
- package/src/canvas/git-dot-node.tsx +50 -0
- package/src/canvas/git-graph.tsx +355 -0
- package/src/canvas/layer-row.tsx +56 -0
- package/src/canvas/metro-map.tsx +146 -0
- package/src/canvas/state-diagram.tsx +447 -0
- package/src/canvas/vector-map-geometry.ts +372 -0
- package/src/canvas/vector-map.tsx +467 -0
- package/src/core/accordion.tsx +220 -0
- package/src/core/async-action-note.tsx +39 -0
- package/src/core/async-action.ts +13 -0
- package/src/core/async-button.tsx +116 -0
- package/src/core/async-content.tsx +89 -0
- package/src/core/auto-size.ts +19 -0
- package/src/core/avatar.tsx +57 -0
- package/src/core/badge.tsx +46 -0
- package/src/core/banner.tsx +156 -0
- package/src/core/breadcrumb-items.ts +55 -0
- package/src/core/breadcrumb.tsx +220 -0
- package/src/core/button.tsx +206 -0
- package/src/core/calendar.tsx +317 -0
- package/src/core/check-circle.tsx +61 -0
- package/src/core/checkbox.tsx +120 -0
- package/src/core/chip.tsx +52 -0
- package/src/core/copy-button.tsx +225 -0
- package/src/core/date-field.tsx +223 -0
- package/src/core/date-math.ts +295 -0
- package/src/core/empty-state.tsx +75 -0
- package/src/core/fab.tsx +42 -0
- package/src/core/field-a11y.ts +49 -0
- package/src/core/file-dom.ts +162 -0
- package/src/core/file-field-model.ts +188 -0
- package/src/core/file-field-row.tsx +109 -0
- package/src/core/file-field.tsx +346 -0
- package/src/core/filter-chip.tsx +84 -0
- package/src/core/focus-visible.ts +23 -0
- package/src/core/form-field-context.ts +126 -0
- package/src/core/form-field.tsx +98 -0
- package/src/core/hold-repeat.ts +102 -0
- package/src/core/icon-button.tsx +155 -0
- package/src/core/inline-edit-model.ts +63 -0
- package/src/core/inline-edit-text.tsx +166 -0
- package/src/core/input.tsx +210 -0
- package/src/core/instant.ts +67 -0
- package/src/core/key-hint.tsx +66 -0
- package/src/core/link.tsx +68 -0
- package/src/core/native-select.tsx +86 -0
- package/src/core/number-field-math.ts +97 -0
- package/src/core/number-field.tsx +238 -0
- package/src/core/observed-value.tsx +156 -0
- package/src/core/pagination-items.ts +91 -0
- package/src/core/pagination.tsx +356 -0
- package/src/core/progress-bar.tsx +187 -0
- package/src/core/prose.tsx +56 -0
- package/src/core/quota-bar.tsx +47 -0
- package/src/core/radio-group.tsx +209 -0
- package/src/core/range-slider-math.ts +122 -0
- package/src/core/range-slider-thumb.tsx +86 -0
- package/src/core/range-slider.tsx +332 -0
- package/src/core/search-field.tsx +163 -0
- package/src/core/segmented.tsx +304 -0
- package/src/core/show-when.tsx +11 -0
- package/src/core/skeleton.tsx +66 -0
- package/src/core/social-links.tsx +167 -0
- package/src/core/space-key.ts +14 -0
- package/src/core/spinner.tsx +93 -0
- package/src/core/star-rating.tsx +73 -0
- package/src/core/status-badge.tsx +45 -0
- package/src/core/stepper.tsx +273 -0
- package/src/core/swatch-ink.ts +30 -0
- package/src/core/swatch-picker.tsx +183 -0
- package/src/core/switch.tsx +122 -0
- package/src/core/tabs.tsx +193 -0
- package/src/core/tag-input-math.ts +166 -0
- package/src/core/tag-input.tsx +403 -0
- package/src/core/text-area.tsx +159 -0
- package/src/core/time-field.tsx +304 -0
- package/src/core/time-math.ts +93 -0
- package/src/core/time-segment.tsx +114 -0
- package/src/core/tones.ts +131 -0
- package/src/core/touch-target.ts +3 -0
- package/src/core/type-to-confirm.tsx +60 -0
- package/src/core/use-can-hover.ts +41 -0
- package/src/core/virtual-list.tsx +89 -0
- package/src/core/virtual-window.ts +104 -0
- package/src/core/web-field-reset.ts +41 -0
- package/src/core/with-tooltip.tsx +36 -0
- package/src/data/activity-bar.tsx +110 -0
- package/src/data/activity-calendar-math.ts +250 -0
- package/src/data/activity-calendar.tsx +255 -0
- package/src/data/activity-colors.ts +24 -0
- package/src/data/bar-chart.tsx +225 -0
- package/src/data/chart-math.ts +264 -0
- package/src/data/chart-parts.tsx +276 -0
- package/src/data/code-view.tsx +91 -0
- package/src/data/data-table.tsx +893 -0
- package/src/data/diff-view.tsx +130 -0
- package/src/data/event-timeline.tsx +128 -0
- package/src/data/heatmap-math.ts +197 -0
- package/src/data/heatmap.tsx +390 -0
- package/src/data/http-inspector-math.ts +29 -0
- package/src/data/http-inspector.tsx +107 -0
- package/src/data/line-chart.tsx +262 -0
- package/src/data/log-list.tsx +126 -0
- package/src/data/message-preview/message-block-view.tsx +40 -0
- package/src/data/message-preview/message-blocks.ts +43 -0
- package/src/data/message-preview/message-bubble.tsx +76 -0
- package/src/data/message-preview/message-preview.tsx +39 -0
- package/src/data/message-preview/message-run-text.tsx +46 -0
- package/src/data/message-preview/types.ts +38 -0
- package/src/data/object-inspector.tsx +172 -0
- package/src/data/route-chain.tsx +149 -0
- package/src/data/sparkline-math.ts +92 -0
- package/src/data/sparkline.tsx +89 -0
- package/src/data/step-list-math.ts +69 -0
- package/src/data/step-list.tsx +137 -0
- package/src/data/syntax-code.tsx +359 -0
- package/src/data/syntax.ts +189 -0
- package/src/data/terminal-ink.ts +27 -0
- package/src/data/text-diff-math.ts +157 -0
- package/src/data/text-diff.tsx +71 -0
- package/src/data/trace-span-row.tsx +102 -0
- package/src/data/trace-tree-math.ts +140 -0
- package/src/data/trace-tree.tsx +116 -0
- package/src/data/tree/custom-row.tsx +64 -0
- package/src/data/tree/folder-row.tsx +71 -0
- package/src/data/tree/leaf-row.tsx +71 -0
- package/src/data/tree/row-style.ts +45 -0
- package/src/data/tree/tree-a11y.ts +94 -0
- package/src/data/tree/tree-row.tsx +89 -0
- package/src/data/tree/tree.tsx +192 -0
- package/src/data/tree/types.ts +163 -0
- package/src/diagrams/dataflow-diagram.tsx +226 -0
- package/src/diagrams/layers-diagram.tsx +140 -0
- package/src/diagrams/lifecycle-diagram.tsx +256 -0
- package/src/diagrams/loop-diagram.tsx +273 -0
- package/src/diagrams/palette.ts +97 -0
- package/src/diagrams/parts.tsx +349 -0
- package/src/diagrams/quadrant-diagram.tsx +183 -0
- package/src/diagrams/sequence-diagram.tsx +252 -0
- package/src/diagrams/timeline-diagram.tsx +189 -0
- package/src/diagrams/workflow-diagram.tsx +215 -0
- package/src/editor/chrome/context-bar.tsx +53 -0
- package/src/editor/chrome/context-menu-area.tsx +104 -0
- package/src/editor/chrome/editor-command-palette.tsx +100 -0
- package/src/editor/chrome/editor-frame.tsx +45 -0
- package/src/editor/chrome/editor-menu-bar.tsx +231 -0
- package/src/editor/chrome/editor-panel-tab.tsx +85 -0
- package/src/editor/chrome/editor-panel.tsx +135 -0
- package/src/editor/chrome/editor-status-bar.tsx +123 -0
- package/src/editor/chrome/empty-hint.tsx +56 -0
- package/src/editor/chrome/modal-dialog.tsx +137 -0
- package/src/editor/chrome/number-input.tsx +190 -0
- package/src/editor/chrome/panel-inset.ts +12 -0
- package/src/editor/chrome/property-group.tsx +90 -0
- package/src/editor/chrome/property-header.tsx +56 -0
- package/src/editor/chrome/property-problem.tsx +24 -0
- package/src/editor/chrome/property-section.tsx +101 -0
- package/src/editor/chrome/select-field.tsx +204 -0
- package/src/editor/chrome/toggle-button.tsx +66 -0
- package/src/editor/chrome/tool-strip.tsx +352 -0
- package/src/editor/chrome/tree-row-trailing.tsx +42 -0
- package/src/editor/chrome/tree-row.tsx +422 -0
- package/src/editor/chrome/zoom-slider.tsx +53 -0
- package/src/editor/chrome.ts +105 -0
- package/src/editor/feedback/activity-indicator.tsx +67 -0
- package/src/editor/feedback/activity-log.tsx +248 -0
- package/src/editor/feedback/activity-panel.tsx +89 -0
- package/src/editor/feedback/activity-task-row.tsx +270 -0
- package/src/editor/feedback/help-sheet.tsx +203 -0
- package/src/editor/feedback/key-event.ts +49 -0
- package/src/editor/feedback/listed.ts +12 -0
- package/src/editor/feedback/shortcuts-sheet.tsx +332 -0
- package/src/editor/feedback/toast-stack.tsx +225 -0
- package/src/editor/feedback/unit-select.tsx +59 -0
- package/src/editor/feedback.ts +23 -0
- package/src/editor/lists/click-modifiers.ts +36 -0
- package/src/editor/lists/collapsible-section.tsx +183 -0
- package/src/editor/lists/dock-layout.tsx +947 -0
- package/src/editor/lists/dom-event.ts +14 -0
- package/src/editor/lists/history-list.tsx +130 -0
- package/src/editor/lists/panel-group-edges.tsx +143 -0
- package/src/editor/lists/section-column.tsx +100 -0
- package/src/editor/lists/undo-redo-buttons.tsx +55 -0
- package/src/editor/lists.ts +29 -0
- package/src/editor/slider-row.tsx +409 -0
- package/src/editor/tool-rail.tsx +100 -0
- package/src/editor/viewport/devtools-panel.tsx +233 -0
- package/src/editor/viewport.ts +11 -0
- package/src/editor/visual/color-channel-field.tsx +67 -0
- package/src/editor/visual/color-field.tsx +188 -0
- package/src/editor/visual/color-well.tsx +98 -0
- package/src/editor/visual/hsb-color-picker.tsx +331 -0
- package/src/editor/visual/line-swatch.tsx +45 -0
- package/src/editor/visual/pointer-drag.ts +98 -0
- package/src/editor/visual/swatch-grid.tsx +147 -0
- package/src/editor/visual.ts +7 -0
- package/src/glyphs/priority-bars.tsx +65 -0
- package/src/glyphs/status-dot.tsx +56 -0
- package/src/glyphs/status-icon.tsx +101 -0
- package/src/ide/editor-tabs.tsx +327 -0
- package/src/ide/git-history.tsx +218 -0
- package/src/ide/panels.tsx +490 -0
- package/src/ide/resizable.tsx +402 -0
- package/src/ide/source-control.tsx +171 -0
- package/src/ide/types.ts +63 -0
- package/src/index.ts +845 -0
- package/src/markdown/callout.tsx +153 -0
- package/src/markdown/code-block.tsx +165 -0
- package/src/markdown/collapsible.tsx +121 -0
- package/src/markdown/diagram-fence.tsx +201 -0
- package/src/markdown/doc-reader.tsx +227 -0
- package/src/markdown/footnote.tsx +104 -0
- package/src/markdown/inline-badge.tsx +117 -0
- package/src/markdown/mark.tsx +81 -0
- package/src/markdown/paragraph.tsx +61 -0
- package/src/markdown/status-table-cell.tsx +87 -0
- package/src/markdown/task-list.tsx +135 -0
- package/src/markdown/tints.ts +103 -0
- package/src/media/media-tile.tsx +110 -0
- package/src/media/media-timeline-math.ts +132 -0
- package/src/media/media-timeline.tsx +411 -0
- package/src/media/record-chip.tsx +36 -0
- package/src/media/select-pill.tsx +27 -0
- package/src/overlay/bottom-sheet-math.ts +80 -0
- package/src/overlay/bottom-sheet.tsx +352 -0
- package/src/overlay/combobox-math.ts +142 -0
- package/src/overlay/combobox.tsx +449 -0
- package/src/overlay/drawer.tsx +94 -0
- package/src/overlay/dropdown-menu.tsx +83 -0
- package/src/overlay/menu.tsx +439 -0
- package/src/overlay/popover.tsx +80 -0
- package/src/overlay/popup-layer.tsx +591 -0
- package/src/overlay/popup-resize.ts +27 -0
- package/src/overlay/popup-trigger.ts +167 -0
- package/src/overlay/surfaces.tsx +767 -0
- package/src/overlay/tooltip.tsx +268 -0
- package/src/overlay/use-drawer-focus.ts +95 -0
- package/src/overlay/web-dom.ts +246 -0
|
@@ -0,0 +1,893 @@
|
|
|
1
|
+
import { gridKey, type GridCell } from "@byok-ui/editor-core/keys";
|
|
2
|
+
import type { IconName } from "@byok-ui/ui-icons";
|
|
3
|
+
import {
|
|
4
|
+
Box,
|
|
5
|
+
HStack,
|
|
6
|
+
Icon,
|
|
7
|
+
Pressable,
|
|
8
|
+
ScrollArea,
|
|
9
|
+
Text,
|
|
10
|
+
VStack,
|
|
11
|
+
type DomProps
|
|
12
|
+
} from "@byok-ui/ui-primitives";
|
|
13
|
+
import { useIsTouchLayout, useTheme } from "@byok-ui/ui-theme";
|
|
14
|
+
import {
|
|
15
|
+
flexRender,
|
|
16
|
+
getCoreRowModel,
|
|
17
|
+
getSortedRowModel,
|
|
18
|
+
useReactTable,
|
|
19
|
+
type ColumnDef,
|
|
20
|
+
type Row,
|
|
21
|
+
type SortDirection,
|
|
22
|
+
type SortingState
|
|
23
|
+
} from "@tanstack/react-table";
|
|
24
|
+
import { Fragment, useMemo, useState, type ReactElement, type ReactNode } from "react";
|
|
25
|
+
import { Platform, type TextStyle, type ViewStyle } from "react-native";
|
|
26
|
+
import { match, P } from "ts-pattern";
|
|
27
|
+
|
|
28
|
+
import { tabStopIndex, useFocusTargets } from "../a11y/focus-targets";
|
|
29
|
+
import { GroupBar } from "../app/group-bar";
|
|
30
|
+
import { Banner } from "../core/banner";
|
|
31
|
+
import { Button } from "../core/button";
|
|
32
|
+
import { EmptyState, type EmptyStateProps } from "../core/empty-state";
|
|
33
|
+
import { Skeleton } from "../core/skeleton";
|
|
34
|
+
import { domKeyOf } from "../overlay/web-dom";
|
|
35
|
+
import { toneTokens, type Tone } from "../core/tones";
|
|
36
|
+
import { PHONE_EDGE_GUTTER, TOUCH_TARGET_MIN } from "../core/touch-target";
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* DataTable — the GENERIC, React-Native-PORTABLE sortable data table. It drives
|
|
40
|
+
* its column model, sorted row model, and header/cell rendering from the
|
|
41
|
+
* HEADLESS `@tanstack/react-table` core (pure TypeScript, zero DOM) via
|
|
42
|
+
* `useReactTable` + `getCoreRowModel` + `getSortedRowModel` + `flexRender`, and
|
|
43
|
+
* renders the result with **flexbox only** over Box/Stack/Text/Pressable —
|
|
44
|
+
* never a DOM `<table>`/`<tr>`/`<td>` and never CSS `display: grid`. Flexbox is
|
|
45
|
+
* the one layout primitive shared by React Native and the web, so the single
|
|
46
|
+
* code path renders identically on iOS, Android, and react-native-web.
|
|
47
|
+
*
|
|
48
|
+
* Generic over the row type `T`: the table owns the sort MACHINERY; the
|
|
49
|
+
* consumer owns what a column SORTS BY (`sortValue`, a value not a row id) and
|
|
50
|
+
* what a cell RENDERS (`cell`). A plain string/number cell is wrapped in a
|
|
51
|
+
* styled {@link Text} (right-aligned numerics use tabular figures); a rich cell
|
|
52
|
+
* (chip, avatar, glyph) renders as-is. Sortable headers cycle asc → desc → none.
|
|
53
|
+
*
|
|
54
|
+
* The table fills its parent's height (place it in a bounded-height container,
|
|
55
|
+
* e.g. an AppShell content slot): the header stays put while the body scrolls
|
|
56
|
+
* vertically. By default, when the columns are wider than the viewport it
|
|
57
|
+
* scrolls horizontally instead of collapsing — header and body move together, so
|
|
58
|
+
* a fixed column never shrinks below its width and a flexible column never below
|
|
59
|
+
* `minColumnWidth`. Pass `fit` to instead REFLOW to the content area: text
|
|
60
|
+
* columns shrink with ellipsis to a legible floor while right-aligned value
|
|
61
|
+
* columns hold their width — the table fits its container rather than scrolling
|
|
62
|
+
* sideways (horizontal scroll remains only as a last resort below every floor).
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
/** Cell alignment — `end` right-aligns (counts, values, dates) with tabular numerals. */
|
|
66
|
+
export type TableAlign = "start" | "end";
|
|
67
|
+
|
|
68
|
+
/** One column over a row of type `T`. */
|
|
69
|
+
export interface DataTableColumn<T> {
|
|
70
|
+
/** Stable column id (also the React key for header/body cells). */
|
|
71
|
+
key: string;
|
|
72
|
+
/** Header content — a plain string is styled; a node renders as-is. */
|
|
73
|
+
header: ReactNode;
|
|
74
|
+
/** Render the cell body for a row. */
|
|
75
|
+
cell: (row: T) => ReactNode;
|
|
76
|
+
/** Fixed track width in px; omit → the flexible (name) column. */
|
|
77
|
+
width?: number | undefined;
|
|
78
|
+
/** `end` right-aligns the cell with tabular numerals. */
|
|
79
|
+
align?: TableAlign | undefined;
|
|
80
|
+
/** Show the sort affordance; the header then cycles asc → desc → none. */
|
|
81
|
+
sortable?: boolean | undefined;
|
|
82
|
+
/** The value this column SORTS BY (the consumer owns its meaning). */
|
|
83
|
+
sortValue?: ((row: T) => string | number) | undefined;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** A lifecycle/status group; a tinted {@link GroupBar} is emitted when the id changes. */
|
|
87
|
+
export interface DataTableGroup {
|
|
88
|
+
/** Group identity — a GroupBar is emitted whenever this changes between rows. */
|
|
89
|
+
id: string;
|
|
90
|
+
/** Tone for the group bar tint (resolved to its soft fill via {@link toneTokens}). */
|
|
91
|
+
tone: Tone;
|
|
92
|
+
label: string;
|
|
93
|
+
count?: number | undefined;
|
|
94
|
+
/** Leading glyph for the group bar (status icon, swatch). */
|
|
95
|
+
leading?: ReactNode | undefined;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** Sort direction of a column. */
|
|
99
|
+
export type DataTableSortDirection = "asc" | "desc";
|
|
100
|
+
|
|
101
|
+
/** The table's sort: no column, or one column in one direction. Absence is a named variant. */
|
|
102
|
+
export type DataTableSort =
|
|
103
|
+
| { readonly kind: "none" }
|
|
104
|
+
| { readonly kind: "by"; readonly column: string; readonly direction: DataTableSortDirection };
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* What the table is doing. `ready` draws `rows`; every other kind replaces the
|
|
108
|
+
* body (the header stays, so the columns and the sort stay in view) and `rows`
|
|
109
|
+
* is not drawn.
|
|
110
|
+
*/
|
|
111
|
+
export type DataTableState =
|
|
112
|
+
| { readonly kind: "ready" }
|
|
113
|
+
/** Skeleton rows (default 5). The table is `aria-busy`. */
|
|
114
|
+
| { readonly kind: "loading"; readonly skeletonRows?: number | undefined }
|
|
115
|
+
/** One line saying why there is nothing to show. */
|
|
116
|
+
| { readonly kind: "empty"; readonly message: string }
|
|
117
|
+
/** The same, as an {@link EmptyState}: icon, title, description and an optional action. */
|
|
118
|
+
| { readonly kind: "empty-state"; readonly emptyState: EmptyStateProps }
|
|
119
|
+
/** The load failed: a danger banner with the message and a Retry button. */
|
|
120
|
+
| {
|
|
121
|
+
readonly kind: "error";
|
|
122
|
+
readonly message: string;
|
|
123
|
+
readonly onRetry: () => void;
|
|
124
|
+
/** Retry button text (default "Retry"). */
|
|
125
|
+
readonly retryLabel?: string | undefined;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export interface DataTableProps<T> {
|
|
129
|
+
columns: ReadonlyArray<DataTableColumn<T>>;
|
|
130
|
+
rows: ReadonlyArray<T>;
|
|
131
|
+
/** Stable key for a row. */
|
|
132
|
+
rowKey: (row: T) => string;
|
|
133
|
+
/** Optional leading cell (status glyph) before the first column. */
|
|
134
|
+
rowLeading?: ((row: T) => ReactNode) | undefined;
|
|
135
|
+
/** Fixed width of the leading track in px (default 28). */
|
|
136
|
+
leadingWidth?: number | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Group a row; a GroupBar is emitted whenever the returned `id` changes. Rows
|
|
139
|
+
* must arrive pre-bucketed (same-group rows contiguous). Grouping shows ONLY
|
|
140
|
+
* while no column sort is active — activating a sort flattens to one sorted
|
|
141
|
+
* list (no group bars), avoiding ambiguous "sort inside groups" semantics.
|
|
142
|
+
*/
|
|
143
|
+
groupOf?: ((row: T) => DataTableGroup) | undefined;
|
|
144
|
+
/** Mark a row selected (accent left bar + soft tint). */
|
|
145
|
+
rowSelected?: ((row: T) => boolean) | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Select a row: the whole row becomes pressable, and the table becomes a
|
|
148
|
+
* WAI-ARIA grid you move through with the arrow keys (Enter or Space on a
|
|
149
|
+
* cell presses its row).
|
|
150
|
+
*/
|
|
151
|
+
onRowPress?: ((row: T) => void) | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* Minimum px width a flexible (no-`width`) column may shrink to before the
|
|
154
|
+
* table scrolls horizontally rather than collapsing the column (default 160).
|
|
155
|
+
* Below this the header and body scroll together inside a horizontal track.
|
|
156
|
+
*/
|
|
157
|
+
minColumnWidth?: number | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* Collapsible groups (opt-in): the set of {@link DataTableGroup} ids currently
|
|
160
|
+
* collapsed — their GroupBar still renders (with a ▸ chevron) but their rows are
|
|
161
|
+
* hidden. Pair with `onToggleGroup`. Omit (the default) for non-collapsible groups.
|
|
162
|
+
*/
|
|
163
|
+
collapsedGroups?: ReadonlySet<string> | undefined;
|
|
164
|
+
/** Toggle a group's collapsed state (makes each GroupBar a button). */
|
|
165
|
+
onToggleGroup?: ((groupId: string) => void) | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Reflow to FIT the container instead of scrolling horizontally: text columns
|
|
168
|
+
* shrink with ellipsis to a legible floor, right-aligned value columns hold
|
|
169
|
+
* their width, and the table no longer pins itself to its natural width. Opt-in
|
|
170
|
+
* — the default (false) keeps the horizontal-scroll behavior, so existing
|
|
171
|
+
* consumers are unaffected.
|
|
172
|
+
*/
|
|
173
|
+
fit?: boolean | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Let a row grow with its cells (opt-in, default false). By default every row is one fixed-height line
|
|
176
|
+
* (the theme's `rowH`), so a long value is cut and a cell's own `numberOfLines` does not add height. With
|
|
177
|
+
* `growRows` a row is at least `rowH` tall and as tall as its tallest cell, with a little vertical padding,
|
|
178
|
+
* so a column whose cells set `numberOfLines={2}` (or more) shows that many lines. The cell, not the table,
|
|
179
|
+
* says how many lines it may take; the table only stops clamping the height.
|
|
180
|
+
*/
|
|
181
|
+
growRows?: boolean | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* The header row's height in px (default 36). A sortable header is one button that fills its cell,
|
|
184
|
+
* so this is also its touch target: pass 44 where a finger is the pointer.
|
|
185
|
+
*/
|
|
186
|
+
headerHeight?: number | undefined;
|
|
187
|
+
/** The table's name for a screen reader ("Deployments"). */
|
|
188
|
+
accessibilityLabel?: string | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* CONTROLLED sort: the caller owns which column is sorted and how (a sort
|
|
191
|
+
* kept in the URL, a sort done by the server). Needs `onSortChange`, which
|
|
192
|
+
* receives the next sort when a header is pressed. Without `sort` the table
|
|
193
|
+
* keeps the sort itself, as before (and still calls `onSortChange`).
|
|
194
|
+
*
|
|
195
|
+
* Rows are sorted here by the column's `sortValue`. A sortable column
|
|
196
|
+
* WITHOUT `sortValue` is only possible in a controlled table: the table
|
|
197
|
+
* draws the sort state and reports presses, and leaves the order of `rows`
|
|
198
|
+
* to the caller (rows the server has already sorted).
|
|
199
|
+
*/
|
|
200
|
+
sort?: DataTableSort | undefined;
|
|
201
|
+
onSortChange?: ((sort: DataTableSort) => void) | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* Loading, empty and error in place of the rows (see {@link DataTableState}).
|
|
204
|
+
* Absent means `{ kind: "ready" }`.
|
|
205
|
+
*/
|
|
206
|
+
state?: DataTableState | undefined;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The accessible name of a sortable header's button. The web states the sort as
|
|
211
|
+
* `aria-sort` on the column header, so the name stays "Sort by Name" there; iOS
|
|
212
|
+
* and Android have no `aria-sort`, so the name carries it ("Sort by Name,
|
|
213
|
+
* sorted ascending"). Both start with the visible words.
|
|
214
|
+
*/
|
|
215
|
+
export function sortHeaderLabel(
|
|
216
|
+
text: string,
|
|
217
|
+
sorted: SortDirection | false,
|
|
218
|
+
platform: "web" | "native"
|
|
219
|
+
): string {
|
|
220
|
+
return match(platform)
|
|
221
|
+
.with("web", () => `Sort by ${text}`)
|
|
222
|
+
.with("native", () =>
|
|
223
|
+
match(sorted)
|
|
224
|
+
.with("asc", () => `Sort by ${text}, sorted ascending`)
|
|
225
|
+
.with("desc", () => `Sort by ${text}, sorted descending`)
|
|
226
|
+
.with(false, () => `Sort by ${text}, not sorted`)
|
|
227
|
+
.exhaustive()
|
|
228
|
+
)
|
|
229
|
+
.exhaustive();
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/** The table's sort as TanStack's state. */
|
|
233
|
+
function sortingOf(sort: DataTableSort): SortingState {
|
|
234
|
+
return match(sort)
|
|
235
|
+
.with({ kind: "none" }, (): SortingState => [])
|
|
236
|
+
.with({ kind: "by" }, (by): SortingState => [{ id: by.column, desc: by.direction === "desc" }])
|
|
237
|
+
.exhaustive();
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** TanStack's sort state as the table's sort (a single column: multi-sort is off). */
|
|
241
|
+
function sortOf(sorting: SortingState): DataTableSort {
|
|
242
|
+
const first = sorting[0];
|
|
243
|
+
return first === undefined
|
|
244
|
+
? { kind: "none" }
|
|
245
|
+
: { kind: "by", column: first.id, direction: first.desc ? "desc" : "asc" };
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/** Px floor a shrinkable fixed TEXT column may collapse to (with cell ellipsis) in fit mode. */
|
|
249
|
+
const FIT_TEXT_FLOOR = 64;
|
|
250
|
+
/** The flexible (name/title) column's preferred basis + floor in fit mode — it is the
|
|
251
|
+
* PRIORITY column, so it holds a readable width while fixed text columns ellipsize first. */
|
|
252
|
+
const FIT_NAME_BASIS = 200;
|
|
253
|
+
const FIT_NAME_FLOOR = 120;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Width → the flex track style. The flexible (name) column grows/shrinks from a
|
|
257
|
+
* zero basis. A fixed column holds its `width` — UNLESS `fit` is set AND the
|
|
258
|
+
* column is text (not `end`-aligned): then it shrinks with ellipsis to fit the
|
|
259
|
+
* container, never below {@link FIT_TEXT_FLOOR}, so the table reflows to the
|
|
260
|
+
* content area instead of scrolling sideways. Right-aligned value columns
|
|
261
|
+
* (counts, status, progress) always hold their width even in fit mode.
|
|
262
|
+
*/
|
|
263
|
+
export function tableTrackStyle(
|
|
264
|
+
width: number | undefined,
|
|
265
|
+
fit = false,
|
|
266
|
+
align: TableAlign | undefined = undefined
|
|
267
|
+
): ViewStyle {
|
|
268
|
+
if (width === undefined) {
|
|
269
|
+
// The flexible (name/title) column. In fit mode it is the PRIORITY column: a
|
|
270
|
+
// healthy basis + floor keeps the title readable while the fixed text columns
|
|
271
|
+
// shrink around it. Otherwise it grows/shrinks from a zero basis (the
|
|
272
|
+
// minContentWidth pin already reserves its `minColumnWidth`).
|
|
273
|
+
return fit
|
|
274
|
+
? { flexGrow: 1, flexShrink: 1, flexBasis: FIT_NAME_BASIS, minWidth: FIT_NAME_FLOOR }
|
|
275
|
+
: { flexGrow: 1, flexShrink: 1, flexBasis: 0, minWidth: 0 };
|
|
276
|
+
}
|
|
277
|
+
if (fit && align !== "end") {
|
|
278
|
+
return { width, flexGrow: 0, flexShrink: 1, minWidth: Math.min(width, FIT_TEXT_FLOOR) };
|
|
279
|
+
}
|
|
280
|
+
return { width, flexGrow: 0, flexShrink: 0 };
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* The height rules of a body row and its cells. A fixed row is exactly `rowH` and its cells fill it; a growing row
|
|
285
|
+
* is at least `rowH` and its cells stretch to the tallest one, with 3 px above and below so wrapped lines do
|
|
286
|
+
* not touch the row lines.
|
|
287
|
+
*/
|
|
288
|
+
export function rowSizing(grow: boolean, rowH: number): { row: ViewStyle; cell: ViewStyle } {
|
|
289
|
+
return grow
|
|
290
|
+
? { row: { minHeight: rowH }, cell: { alignSelf: "stretch", paddingVertical: 3 } }
|
|
291
|
+
: { row: { height: rowH }, cell: { height: "100%" } };
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/** Align → the cell's flex justification (numeric columns right-align). */
|
|
295
|
+
export function cellAlignStyle(align: TableAlign | undefined): ViewStyle {
|
|
296
|
+
return match(align)
|
|
297
|
+
.with("end", (): ViewStyle => ({ justifyContent: "flex-end" }))
|
|
298
|
+
.with("start", undefined, (): ViewStyle => ({ justifyContent: "flex-start" }))
|
|
299
|
+
.exhaustive();
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** Plain value cells right-align text with tabular figures in `end` columns. */
|
|
303
|
+
function numericTextStyle(align: TableAlign | undefined): TextStyle | undefined {
|
|
304
|
+
return match(align)
|
|
305
|
+
.with("end", (): TextStyle => ({ textAlign: "right", fontVariant: ["tabular-nums"] }))
|
|
306
|
+
.with("start", undefined, () => undefined)
|
|
307
|
+
.exhaustive();
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* The sort affordance for a header: `null` for a non-sortable column; otherwise an
|
|
312
|
+
* icon (`arrow-up` asc, `arrow-down` desc) plus whether it is the ACTIVE sort (an
|
|
313
|
+
* inactive sortable column shows a dimmed `arrow-up-down` placeholder). Exported
|
|
314
|
+
* as a pure render seam so the affordance is unit-testable without a renderer.
|
|
315
|
+
*/
|
|
316
|
+
export function sortIndicator(
|
|
317
|
+
canSort: boolean,
|
|
318
|
+
dir: SortDirection | false
|
|
319
|
+
): { name: IconName; active: boolean } | null {
|
|
320
|
+
if (!canSort) return null;
|
|
321
|
+
return match<SortDirection | false, { name: IconName; active: boolean }>(dir)
|
|
322
|
+
.with("asc", () => ({ name: "arrow-up", active: true }))
|
|
323
|
+
.with("desc", () => ({ name: "arrow-down", active: true }))
|
|
324
|
+
.with(false, () => ({ name: "arrow-up-down", active: false }))
|
|
325
|
+
.exhaustive();
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/** A group break — the row starts a new group run (a GroupBar is emitted). */
|
|
329
|
+
export function isGroupBreak(prevGroupId: string | undefined, groupId: string): boolean {
|
|
330
|
+
return groupId !== prevGroupId;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/** A sort the table cannot draw is a bug in the caller; say which, instead of drawing nothing. */
|
|
334
|
+
function assertSortUsable<T>(
|
|
335
|
+
sort: DataTableSort,
|
|
336
|
+
columns: ReadonlyArray<DataTableColumn<T>>,
|
|
337
|
+
controlled: boolean,
|
|
338
|
+
hasHandler: boolean
|
|
339
|
+
): void {
|
|
340
|
+
if (controlled && !hasHandler) {
|
|
341
|
+
throw new Error(
|
|
342
|
+
"DataTable: `sort` makes the sort controlled, so the table also needs `onSortChange` to report a header press. Pass both, or neither."
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
match(sort)
|
|
346
|
+
.with({ kind: "none" }, () => undefined)
|
|
347
|
+
.with({ kind: "by" }, (by) => {
|
|
348
|
+
const target = columns.find((c) => c.key === by.column);
|
|
349
|
+
const problem = match(target)
|
|
350
|
+
.with(undefined, () => "is not one of the columns")
|
|
351
|
+
.with(P.when((c: DataTableColumn<T>) => !isSortable(c, controlled)), () => "is not sortable (set `sortable`, and `sortValue` unless the sort is controlled)")
|
|
352
|
+
.otherwise(() => null);
|
|
353
|
+
if (problem !== null) throw new Error(`DataTable: sort names column "${by.column}", which ${problem}.`);
|
|
354
|
+
})
|
|
355
|
+
.exhaustive();
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* A column the header can sort. Needs `sortable`; in a table that sorts by
|
|
360
|
+
* itself it also needs `sortValue`, in a controlled one the caller may order
|
|
361
|
+
* the rows instead.
|
|
362
|
+
*/
|
|
363
|
+
function isSortable<T>(column: DataTableColumn<T>, controlled: boolean): boolean {
|
|
364
|
+
return column.sortable === true && (column.sortValue !== undefined || controlled);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/** Wrap a plain string/number cell in styled Text; pass rich nodes through. */
|
|
368
|
+
function renderCellValue(content: ReactNode, align: TableAlign | undefined): ReactNode {
|
|
369
|
+
if (typeof content === "string" || typeof content === "number") {
|
|
370
|
+
return (
|
|
371
|
+
<Text variant="bodySm" numberOfLines={1} style={numericTextStyle(align)}>
|
|
372
|
+
{content}
|
|
373
|
+
</Text>
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
return content;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/** Wrap a plain string header in styled Text; pass rich nodes through. */
|
|
380
|
+
function renderHeaderLabel(content: ReactNode): ReactNode {
|
|
381
|
+
if (typeof content === "string" || typeof content === "number") {
|
|
382
|
+
return (
|
|
383
|
+
<Text variant="caption" tone="secondary" weight="medium" numberOfLines={1}>
|
|
384
|
+
{content}
|
|
385
|
+
</Text>
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
return content;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The words a column header shows, for the sort button's accessible name: the
|
|
393
|
+
* header string when it is one, the column id otherwise. A name that does not
|
|
394
|
+
* contain the visible words ("Sort by env" over "Environment") fails voice
|
|
395
|
+
* control, where the user says what they see. Callers pass the caller's
|
|
396
|
+
* column header: the TanStack def holds a render function instead.
|
|
397
|
+
*/
|
|
398
|
+
function headerText(header: unknown, id: string): string {
|
|
399
|
+
return typeof header === "string" ? header : id;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export function DataTable<T>(props: DataTableProps<T>): ReactElement {
|
|
403
|
+
const touch = useIsTouchLayout();
|
|
404
|
+
const theme = useTheme();
|
|
405
|
+
const { columns, rows, rowKey, rowLeading, groupOf, rowSelected, onRowPress } = props;
|
|
406
|
+
const { collapsedGroups, onToggleGroup } = props;
|
|
407
|
+
const fit = props.fit ?? false;
|
|
408
|
+
// A sort header is one button that fills the header row, so on a phone the row is 44 px tall.
|
|
409
|
+
const baseHeaderHeight = props.headerHeight ?? theme.metrics.tableHeaderH;
|
|
410
|
+
const headerHeight =
|
|
411
|
+
touch && columns.some((c) => c.sortable === true) ? Math.max(baseHeaderHeight, TOUCH_TARGET_MIN) : baseHeaderHeight;
|
|
412
|
+
// On a phone the header and every row sit 16 px from the screen edge (their backgrounds and lines still run edge to edge), and the first and last
|
|
413
|
+
// cells drop their own 8 px so the text keeps the page's 16 px gutter. A pointer keeps the dense frame.
|
|
414
|
+
const edgeStyle: ViewStyle | undefined = touch ? { paddingHorizontal: PHONE_EDGE_GUTTER } : undefined;
|
|
415
|
+
const cellPad = (first: boolean, last: boolean): { readonly px: 2 } | { readonly pl: 0 | 2; readonly pr: 0 | 2 } =>
|
|
416
|
+
touch ? { pl: first ? 0 : 2, pr: last ? 0 : 2 } : { px: 2 };
|
|
417
|
+
const leadingWidth = props.leadingWidth ?? 28;
|
|
418
|
+
const minColumnWidth = props.minColumnWidth ?? 160;
|
|
419
|
+
const hasLeading = rowLeading !== undefined;
|
|
420
|
+
const rowH = theme.metrics.rowH;
|
|
421
|
+
const sizing = rowSizing(props.growRows === true, rowH);
|
|
422
|
+
const platform = match(Platform.OS)
|
|
423
|
+
.with("web", () => "web" as const)
|
|
424
|
+
.otherwise(() => "native" as const);
|
|
425
|
+
|
|
426
|
+
const controlled = props.sort !== undefined;
|
|
427
|
+
const [ownSort, setOwnSort] = useState<DataTableSort>({ kind: "none" });
|
|
428
|
+
const sort = props.sort ?? ownSort;
|
|
429
|
+
assertSortUsable(sort, columns, controlled, props.onSortChange !== undefined);
|
|
430
|
+
const sorting = useMemo(() => sortingOf(sort), [sort]);
|
|
431
|
+
const state: DataTableState = props.state ?? { kind: "ready" };
|
|
432
|
+
const { onSortChange } = props;
|
|
433
|
+
|
|
434
|
+
// The narrowest the table may render before it scrolls horizontally instead of
|
|
435
|
+
// collapsing columns: every fixed track at its width, every flexible track at
|
|
436
|
+
// `minColumnWidth`, plus the leading track. The header and body both carry this
|
|
437
|
+
// as `minWidth` so a horizontal scroll moves them together, columns aligned.
|
|
438
|
+
const minContentWidth = useMemo(() => {
|
|
439
|
+
const fixed = columns.reduce((sum, c) => sum + (c.width ?? 0), 0);
|
|
440
|
+
const flexCount = columns.filter((c) => c.width === undefined).length;
|
|
441
|
+
return (hasLeading ? leadingWidth : 0) + fixed + flexCount * minColumnWidth;
|
|
442
|
+
}, [columns, hasLeading, leadingWidth, minColumnWidth]);
|
|
443
|
+
|
|
444
|
+
// Per-column layout (flex track + align), keyed by column id — looked up while
|
|
445
|
+
// rendering header/body cells so columns line up across grouped runs.
|
|
446
|
+
const layout = useMemo(() => {
|
|
447
|
+
const map = new Map<string, { track: ViewStyle; align: TableAlign | undefined }>();
|
|
448
|
+
for (const column of columns) {
|
|
449
|
+
map.set(column.key, { track: tableTrackStyle(column.width, fit, column.align), align: column.align });
|
|
450
|
+
}
|
|
451
|
+
return map;
|
|
452
|
+
}, [columns, fit]);
|
|
453
|
+
|
|
454
|
+
const tanColumns = useMemo<Array<ColumnDef<T>>>(() => {
|
|
455
|
+
return columns.map((column) => {
|
|
456
|
+
const sortable = isSortable(column, controlled);
|
|
457
|
+
const base: ColumnDef<T> = {
|
|
458
|
+
id: column.key,
|
|
459
|
+
header: () => renderHeaderLabel(column.header),
|
|
460
|
+
cell: (ctx) => renderCellValue(column.cell(ctx.row.original), column.align),
|
|
461
|
+
enableSorting: sortable
|
|
462
|
+
};
|
|
463
|
+
// A sortable column carries an accessor so the headless sorted row model has
|
|
464
|
+
// a value to compare; the visible cell still renders `column.cell`.
|
|
465
|
+
if (sortable && column.sortValue !== undefined) {
|
|
466
|
+
const sortValue = column.sortValue;
|
|
467
|
+
return { ...base, accessorFn: (row: T) => sortValue(row) };
|
|
468
|
+
}
|
|
469
|
+
// Sortable with no `sortValue` (controlled only): the caller orders `rows`.
|
|
470
|
+
// Every row ties, ties keep the order they arrived in, and the first press asks for "asc".
|
|
471
|
+
if (sortable) return { ...base, accessorFn: () => 0, sortingFn: () => 0, sortDescFirst: false };
|
|
472
|
+
return base;
|
|
473
|
+
});
|
|
474
|
+
}, [columns, controlled]);
|
|
475
|
+
|
|
476
|
+
const table = useReactTable<T>({
|
|
477
|
+
data: rows as Array<T>,
|
|
478
|
+
columns: tanColumns,
|
|
479
|
+
state: { sorting },
|
|
480
|
+
onSortingChange: (updater) => {
|
|
481
|
+
const next = sortOf(typeof updater === "function" ? updater(sorting) : updater);
|
|
482
|
+
if (!controlled) setOwnSort(next);
|
|
483
|
+
onSortChange?.(next);
|
|
484
|
+
},
|
|
485
|
+
enableMultiSort: false,
|
|
486
|
+
getCoreRowModel: getCoreRowModel(),
|
|
487
|
+
getSortedRowModel: getSortedRowModel(),
|
|
488
|
+
getRowId: (row) => rowKey(row)
|
|
489
|
+
});
|
|
490
|
+
|
|
491
|
+
const isSorted = sorting.length > 0;
|
|
492
|
+
const headers = table.getHeaderGroups()[0]?.headers ?? [];
|
|
493
|
+
const bodyRows = table.getRowModel().rows;
|
|
494
|
+
|
|
495
|
+
// The table as rows, top to bottom: the header row, then a group bar row at
|
|
496
|
+
// every group break, then the data rows (none for a collapsed group). The
|
|
497
|
+
// index into this list is the row a keyboard user is on in a grid.
|
|
498
|
+
// A state other than `ready` replaces the data rows: empty and error are one row
|
|
499
|
+
// of their own (a cell across the table), loading is skeleton rows that are not
|
|
500
|
+
// part of the keyboard model.
|
|
501
|
+
const gridRows: Array<GridRow<T>> = [{ kind: "header" }];
|
|
502
|
+
let lastGroup: string | undefined;
|
|
503
|
+
match(state)
|
|
504
|
+
.with({ kind: "ready" }, () => {
|
|
505
|
+
for (const row of bodyRows) {
|
|
506
|
+
const group = !isSorted && groupOf !== undefined ? groupOf(row.original) : undefined;
|
|
507
|
+
const collapsed = group !== undefined && collapsedGroups?.has(group.id) === true;
|
|
508
|
+
if (group !== undefined && isGroupBreak(lastGroup, group.id)) gridRows.push({ kind: "group", group, collapsed });
|
|
509
|
+
if (group !== undefined) lastGroup = group.id;
|
|
510
|
+
if (!collapsed) gridRows.push({ kind: "data", row, selected: rowSelected !== undefined && rowSelected(row.original) });
|
|
511
|
+
}
|
|
512
|
+
})
|
|
513
|
+
.with({ kind: "loading" }, () => undefined)
|
|
514
|
+
.with({ kind: P.union("empty", "empty-state", "error") }, () => {
|
|
515
|
+
gridRows.push({ kind: "state" });
|
|
516
|
+
})
|
|
517
|
+
.exhaustive();
|
|
518
|
+
|
|
519
|
+
// A table you act on (`onRowPress`) is a WAI-ARIA data grid: one tab stop,
|
|
520
|
+
// the arrows move between cells (`gridKey` from @byok-ui/editor-core), Enter
|
|
521
|
+
// and Space press the row, sort the column or fold the group. A read-only
|
|
522
|
+
// table is a plain `table`, whose sort buttons stay ordinary tab stops.
|
|
523
|
+
const grid = onRowPress !== undefined;
|
|
524
|
+
const cellRole = grid ? "gridcell" : "cell";
|
|
525
|
+
const lead = hasLeading ? 1 : 0;
|
|
526
|
+
const cols = lead + headers.length;
|
|
527
|
+
const targets = useFocusTargets();
|
|
528
|
+
// Until the keyboard or a pointer has put the focus in the grid, the tab stop is the selected data
|
|
529
|
+
// row, else the first data row: the body is what scrolls, and a scrolling region with nothing
|
|
530
|
+
// focusable in it cannot be reached by Tab (axe `scrollable-region-focusable`). The header cells
|
|
531
|
+
// stay reachable with the arrows. With no data row (loading, empty, error) the stop is the header.
|
|
532
|
+
const [focused, setFocused] = useState<GridCell | undefined>(undefined);
|
|
533
|
+
const firstData = gridRows.findIndex((entry) => entry.kind === "data");
|
|
534
|
+
const selectedData = gridRows.findIndex((entry) => entry.kind === "data" && entry.selected);
|
|
535
|
+
const initialRow = selectedData >= 0 ? selectedData : Math.max(0, firstData);
|
|
536
|
+
const stop: GridCell = {
|
|
537
|
+
row: Math.min(focused?.row ?? initialRow, gridRows.length - 1),
|
|
538
|
+
col: Math.min(focused?.col ?? 0, Math.max(0, cols - 1))
|
|
539
|
+
};
|
|
540
|
+
// A group bar or state row is one cell across the table: every column of it is that cell.
|
|
541
|
+
const spansTable = (row: number): boolean => {
|
|
542
|
+
const at = gridRows[row];
|
|
543
|
+
return at !== undefined && (at.kind === "group" || at.kind === "state");
|
|
544
|
+
};
|
|
545
|
+
const cellId = (row: number, col: number): string => (spansTable(row) ? `${row}:0` : `${row}:${col}`);
|
|
546
|
+
|
|
547
|
+
const activate = (cell: GridCell): void => {
|
|
548
|
+
const at = gridRows[cell.row];
|
|
549
|
+
if (at === undefined) return;
|
|
550
|
+
match(at)
|
|
551
|
+
.with({ kind: "header" }, () => {
|
|
552
|
+
const header = headers[cell.col - lead];
|
|
553
|
+
if (header?.column.getCanSort() === true) header.column.toggleSorting();
|
|
554
|
+
})
|
|
555
|
+
.with({ kind: "group" }, (g) => onToggleGroup?.(g.group.id))
|
|
556
|
+
.with({ kind: "data" }, (d) => onRowPress?.(d.row.original))
|
|
557
|
+
// Enter on the error row retries; on an empty row there is nothing to do.
|
|
558
|
+
.with({ kind: "state" }, () => {
|
|
559
|
+
if (state.kind === "error") state.onRetry();
|
|
560
|
+
})
|
|
561
|
+
.exhaustive();
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
const onKey = (cell: GridCell, event: unknown): void => {
|
|
565
|
+
const k = domKeyOf(event);
|
|
566
|
+
if (k === null || k.alt || k.meta) return;
|
|
567
|
+
match(gridKey({ key: k.key, ctrl: k.ctrl, at: cell, rows: gridRows.length, cols, pageRows: PAGE_ROWS }))
|
|
568
|
+
.with({ kind: "focus" }, (move) => {
|
|
569
|
+
k.consume();
|
|
570
|
+
setFocused(move.cell);
|
|
571
|
+
targets.focus(cellId(move.cell.row, move.cell.col));
|
|
572
|
+
})
|
|
573
|
+
.with({ kind: "stay" }, () => k.consume())
|
|
574
|
+
.with({ kind: "activate" }, (hit) => {
|
|
575
|
+
k.consume();
|
|
576
|
+
activate(hit.cell);
|
|
577
|
+
})
|
|
578
|
+
.with({ kind: "ignored" }, () => undefined)
|
|
579
|
+
.exhaustive();
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
/** The role, and in a grid the tab stop and keys, of the cell at `row`, `col`. */
|
|
583
|
+
const cellProps = (row: number, col: number, role: string, extra: DomProps = {}): { ref?: (node: unknown) => void; domProps: DomProps } => {
|
|
584
|
+
if (!grid) return { domProps: { role, ...extra } };
|
|
585
|
+
const id = cellId(row, col);
|
|
586
|
+
return {
|
|
587
|
+
ref: targets.ref(id),
|
|
588
|
+
domProps: {
|
|
589
|
+
role,
|
|
590
|
+
...extra,
|
|
591
|
+
tabIndex: tabStopIndex(cellId(stop.row, stop.col) === id),
|
|
592
|
+
onFocus: () => setFocused((was) => ({ row, col: spansTable(row) ? (was ?? stop).col : col })),
|
|
593
|
+
onKeyDownCapture: (event: unknown) => onKey({ row, col: spansTable(row) ? stop.col : col }, event)
|
|
594
|
+
}
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
const renderCells = (rowIndex: number, row: Row<T>, selected: boolean, background: string, asRow: boolean): ReactElement => (
|
|
599
|
+
<HStack
|
|
600
|
+
borderBottomW={1}
|
|
601
|
+
borderColor="border"
|
|
602
|
+
borderLeftW={2}
|
|
603
|
+
style={[
|
|
604
|
+
sizing.row,
|
|
605
|
+
{
|
|
606
|
+
backgroundColor: background,
|
|
607
|
+
borderLeftColor: selected ? theme.color.accent : "transparent"
|
|
608
|
+
},
|
|
609
|
+
edgeStyle
|
|
610
|
+
]}
|
|
611
|
+
{...(asRow ? { domProps: { role: "row" } } : {})}
|
|
612
|
+
>
|
|
613
|
+
{hasLeading && rowLeading !== undefined ? (
|
|
614
|
+
<HStack
|
|
615
|
+
align="center"
|
|
616
|
+
justify="center"
|
|
617
|
+
style={[sizing.cell, tableTrackStyle(leadingWidth)]}
|
|
618
|
+
{...cellProps(rowIndex, 0, cellRole)}
|
|
619
|
+
>
|
|
620
|
+
{rowLeading(row.original)}
|
|
621
|
+
</HStack>
|
|
622
|
+
) : null}
|
|
623
|
+
{row.getVisibleCells().map((cell, cellIndex) => {
|
|
624
|
+
const lay = layout.get(cell.column.id);
|
|
625
|
+
return (
|
|
626
|
+
<HStack
|
|
627
|
+
key={cell.id}
|
|
628
|
+
align="center"
|
|
629
|
+
{...cellPad(!hasLeading && cellIndex === 0, cellIndex === row.getVisibleCells().length - 1)}
|
|
630
|
+
style={[sizing.cell, lay?.track, cellAlignStyle(lay?.align)]}
|
|
631
|
+
{...cellProps(rowIndex, lead + cellIndex, cellRole)}
|
|
632
|
+
>
|
|
633
|
+
{flexRender(cell.column.columnDef.cell, cell.getContext())}
|
|
634
|
+
</HStack>
|
|
635
|
+
);
|
|
636
|
+
})}
|
|
637
|
+
</HStack>
|
|
638
|
+
);
|
|
639
|
+
|
|
640
|
+
/** The skeleton rows of the loading state: one row and cell across the table, named "Loading". */
|
|
641
|
+
const loadingRows = (): ReactElement | null =>
|
|
642
|
+
match(state)
|
|
643
|
+
.with({ kind: "loading" }, ({ skeletonRows }) => (
|
|
644
|
+
<Box key="loading" domProps={{ role: "row" }}>
|
|
645
|
+
<Box accessibilityLabel="Loading" domProps={{ role: cellRole, "aria-colspan": cols }}>
|
|
646
|
+
{Array.from({ length: skeletonRows ?? DEFAULT_SKELETON_ROWS }, (_, rowIndex) => (
|
|
647
|
+
<HStack key={rowIndex} h={rowH} borderBottomW={1} borderColor="border" borderLeftW={2} style={[{ borderLeftColor: "transparent" }, edgeStyle]}>
|
|
648
|
+
{hasLeading ? (
|
|
649
|
+
<HStack align="center" justify="center" h="100%" style={tableTrackStyle(leadingWidth)}>
|
|
650
|
+
<Skeleton width={14} height={14} radius="full" />
|
|
651
|
+
</HStack>
|
|
652
|
+
) : null}
|
|
653
|
+
{columns.map((column, columnIndex) => (
|
|
654
|
+
<HStack
|
|
655
|
+
key={column.key}
|
|
656
|
+
align="center"
|
|
657
|
+
{...cellPad(!hasLeading && columnIndex === 0, columnIndex === columns.length - 1)}
|
|
658
|
+
h="100%"
|
|
659
|
+
style={[layout.get(column.key)?.track, cellAlignStyle(column.align)]}
|
|
660
|
+
>
|
|
661
|
+
<Skeleton width={skeletonWidth(rowIndex, columnIndex)} height={12} />
|
|
662
|
+
</HStack>
|
|
663
|
+
))}
|
|
664
|
+
</HStack>
|
|
665
|
+
))}
|
|
666
|
+
</Box>
|
|
667
|
+
</Box>
|
|
668
|
+
))
|
|
669
|
+
.otherwise(() => null);
|
|
670
|
+
|
|
671
|
+
/** What the body says when it has no rows to draw. */
|
|
672
|
+
const stateBody = (): ReactElement | null =>
|
|
673
|
+
match(state)
|
|
674
|
+
.with({ kind: "ready" }, { kind: "loading" }, () => null)
|
|
675
|
+
.with({ kind: "empty" }, ({ message }) => (
|
|
676
|
+
<Box p={6} align="center">
|
|
677
|
+
<Text variant="bodySm" tone="secondary" align="center">
|
|
678
|
+
{message}
|
|
679
|
+
</Text>
|
|
680
|
+
</Box>
|
|
681
|
+
))
|
|
682
|
+
.with({ kind: "empty-state" }, ({ emptyState }) => <EmptyState {...emptyState} />)
|
|
683
|
+
.with({ kind: "error" }, ({ message, onRetry, retryLabel }) => (
|
|
684
|
+
<Box p={3}>
|
|
685
|
+
<Banner
|
|
686
|
+
tone="danger"
|
|
687
|
+
trailing={
|
|
688
|
+
<Button
|
|
689
|
+
size="sm"
|
|
690
|
+
variant="outline"
|
|
691
|
+
onPress={onRetry}
|
|
692
|
+
// In a grid Enter on the row retries; the button is not a second tab stop.
|
|
693
|
+
{...(grid ? { domProps: { tabIndex: -1 } } : {})}
|
|
694
|
+
>
|
|
695
|
+
{retryLabel ?? "Retry"}
|
|
696
|
+
</Button>
|
|
697
|
+
}
|
|
698
|
+
>
|
|
699
|
+
{message}
|
|
700
|
+
</Banner>
|
|
701
|
+
</Box>
|
|
702
|
+
))
|
|
703
|
+
.exhaustive();
|
|
704
|
+
|
|
705
|
+
const renderRow = (entry: GridRow<T>, rowIndex: number): ReactElement | null =>
|
|
706
|
+
match(entry)
|
|
707
|
+
.with({ kind: "header" }, () => null)
|
|
708
|
+
.with({ kind: "state" }, () => (
|
|
709
|
+
<Box key="state" domProps={{ role: "row" }}>
|
|
710
|
+
<Box {...cellProps(rowIndex, 0, cellRole, { "aria-colspan": cols, "aria-live": "polite" })}>{stateBody()}</Box>
|
|
711
|
+
</Box>
|
|
712
|
+
))
|
|
713
|
+
.with({ kind: "group" }, ({ group, collapsed }) => (
|
|
714
|
+
<Box key={`group:${group.id}`} domProps={{ role: "row" }}>
|
|
715
|
+
<Box {...cellProps(rowIndex, 0, cellRole, { "aria-colspan": cols })}>
|
|
716
|
+
<GroupBar
|
|
717
|
+
label={group.label}
|
|
718
|
+
count={group.count}
|
|
719
|
+
leading={group.leading}
|
|
720
|
+
tint={toneTokens(theme, group.tone).soft}
|
|
721
|
+
collapsed={collapsed}
|
|
722
|
+
onToggle={onToggleGroup !== undefined ? () => onToggleGroup(group.id) : undefined}
|
|
723
|
+
domProps={grid ? { tabIndex: -1 } : undefined}
|
|
724
|
+
/>
|
|
725
|
+
</Box>
|
|
726
|
+
</Box>
|
|
727
|
+
))
|
|
728
|
+
.with({ kind: "data" }, ({ row, selected }) =>
|
|
729
|
+
match(onRowPress)
|
|
730
|
+
.with(P.nullish, () => (
|
|
731
|
+
<Fragment key={row.id}>
|
|
732
|
+
{renderCells(rowIndex, row, selected, selected ? theme.color.accentSoft : "transparent", true)}
|
|
733
|
+
</Fragment>
|
|
734
|
+
))
|
|
735
|
+
.with(P.nonNullable, (press) => (
|
|
736
|
+
<Pressable
|
|
737
|
+
key={row.id}
|
|
738
|
+
onPress={() => press(row.original)}
|
|
739
|
+
style={{ alignSelf: "stretch" }}
|
|
740
|
+
focusRing={false}
|
|
741
|
+
// The row is the grid's `row`; the keyboard works on its cells.
|
|
742
|
+
domProps={{ role: "row", tabIndex: -1, "aria-selected": selected }}
|
|
743
|
+
>
|
|
744
|
+
{({ hover }) =>
|
|
745
|
+
renderCells(
|
|
746
|
+
rowIndex,
|
|
747
|
+
row,
|
|
748
|
+
selected,
|
|
749
|
+
selected ? theme.color.accentSoft : hover ? theme.color.surfaceHover : "transparent",
|
|
750
|
+
false
|
|
751
|
+
)
|
|
752
|
+
}
|
|
753
|
+
</Pressable>
|
|
754
|
+
))
|
|
755
|
+
.exhaustive()
|
|
756
|
+
)
|
|
757
|
+
.exhaustive();
|
|
758
|
+
|
|
759
|
+
// In FIT mode the table reflows to its container (no horizontal scroll) so text
|
|
760
|
+
// columns shrink with ellipsis to fit; otherwise it scrolls sideways inside a
|
|
761
|
+
// horizontal ScrollArea, preserving every column's width. The horizontal
|
|
762
|
+
// ScrollArea would let content grow to its natural width (no shrink pressure),
|
|
763
|
+
// which is exactly why fit drops it.
|
|
764
|
+
const body = (
|
|
765
|
+
<VStack
|
|
766
|
+
style={
|
|
767
|
+
fit
|
|
768
|
+
? { flex: 1, minHeight: 0, width: "100%", minWidth: 0, overflow: "hidden" }
|
|
769
|
+
: { flexGrow: 1, minWidth: minContentWidth }
|
|
770
|
+
}
|
|
771
|
+
domProps={{
|
|
772
|
+
role: grid ? "grid" : "table",
|
|
773
|
+
...(state.kind === "loading" ? { "aria-busy": true } : {}),
|
|
774
|
+
...(props.accessibilityLabel === undefined ? {} : { "aria-label": props.accessibilityLabel })
|
|
775
|
+
}}
|
|
776
|
+
>
|
|
777
|
+
<HStack h={headerHeight} bg="surfaceSubtle" {...(edgeStyle === undefined ? {} : { style: edgeStyle })} domProps={{ role: "row" }}>
|
|
778
|
+
{hasLeading ? <Box style={tableTrackStyle(leadingWidth)} {...cellProps(0, 0, cellRole)} /> : null}
|
|
779
|
+
{headers.map((header, headerIndex) => {
|
|
780
|
+
const lay = layout.get(header.column.id);
|
|
781
|
+
const canSort = header.column.getCanSort();
|
|
782
|
+
const sorted = header.column.getIsSorted();
|
|
783
|
+
const indicator = sortIndicator(canSort, sorted);
|
|
784
|
+
const inner = (
|
|
785
|
+
<>
|
|
786
|
+
{flexRender(header.column.columnDef.header, header.getContext())}
|
|
787
|
+
{indicator === null ? null : (
|
|
788
|
+
<Icon
|
|
789
|
+
name={indicator.name}
|
|
790
|
+
size={13}
|
|
791
|
+
color={indicator.active ? "accent" : "textTertiary"}
|
|
792
|
+
/>
|
|
793
|
+
)}
|
|
794
|
+
</>
|
|
795
|
+
);
|
|
796
|
+
const col = lead + headerIndex;
|
|
797
|
+
return canSort ? (
|
|
798
|
+
<Box
|
|
799
|
+
key={header.id}
|
|
800
|
+
h="100%"
|
|
801
|
+
style={lay?.track}
|
|
802
|
+
{...cellProps(0, col, "columnheader", { "aria-sort": ariaSort(sorted) })}
|
|
803
|
+
>
|
|
804
|
+
<Pressable
|
|
805
|
+
label={sortHeaderLabel(
|
|
806
|
+
headerText(columns.find((c) => c.key === header.column.id)?.header, header.column.id),
|
|
807
|
+
sorted,
|
|
808
|
+
platform
|
|
809
|
+
)}
|
|
810
|
+
onPress={() => header.column.toggleSorting()}
|
|
811
|
+
style={{ flexGrow: 1, alignSelf: "stretch" }}
|
|
812
|
+
// In a grid the header cell holds the focus and Enter sorts.
|
|
813
|
+
{...(grid ? { domProps: { tabIndex: -1 } } : {})}
|
|
814
|
+
>
|
|
815
|
+
<HStack
|
|
816
|
+
gap={1}
|
|
817
|
+
align="center"
|
|
818
|
+
{...cellPad(!hasLeading && headerIndex === 0, headerIndex === headers.length - 1)}
|
|
819
|
+
h="100%"
|
|
820
|
+
grow={1}
|
|
821
|
+
style={cellAlignStyle(lay?.align)}
|
|
822
|
+
>
|
|
823
|
+
{inner}
|
|
824
|
+
</HStack>
|
|
825
|
+
</Pressable>
|
|
826
|
+
</Box>
|
|
827
|
+
) : (
|
|
828
|
+
<HStack
|
|
829
|
+
key={header.id}
|
|
830
|
+
gap={1}
|
|
831
|
+
align="center"
|
|
832
|
+
{...cellPad(!hasLeading && headerIndex === 0, headerIndex === headers.length - 1)}
|
|
833
|
+
h="100%"
|
|
834
|
+
style={[lay?.track, cellAlignStyle(lay?.align)]}
|
|
835
|
+
{...cellProps(0, col, "columnheader")}
|
|
836
|
+
>
|
|
837
|
+
{inner}
|
|
838
|
+
</HStack>
|
|
839
|
+
);
|
|
840
|
+
})}
|
|
841
|
+
{/* The line under the header is drawn over its last pixel, not as a border that would take a pixel from the cells: a sort button is then exactly headerHeight tall. */}
|
|
842
|
+
<Box
|
|
843
|
+
position="absolute"
|
|
844
|
+
left={0}
|
|
845
|
+
right={0}
|
|
846
|
+
bottom={0}
|
|
847
|
+
h={1}
|
|
848
|
+
bg="border"
|
|
849
|
+
pointerEvents="none"
|
|
850
|
+
domProps={{ "aria-hidden": true }}
|
|
851
|
+
/>
|
|
852
|
+
</HStack>
|
|
853
|
+
<ScrollArea style={{ flexGrow: 1, minHeight: 0 }}>
|
|
854
|
+
{gridRows.map(renderRow)}
|
|
855
|
+
{loadingRows()}
|
|
856
|
+
</ScrollArea>
|
|
857
|
+
</VStack>
|
|
858
|
+
);
|
|
859
|
+
return fit ? (
|
|
860
|
+
body
|
|
861
|
+
) : (
|
|
862
|
+
<ScrollArea horizontal style={{ flex: 1, minHeight: 0 }} contentStyle={{ flexGrow: 1 }}>
|
|
863
|
+
{body}
|
|
864
|
+
</ScrollArea>
|
|
865
|
+
);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/** One row of the table as drawn: the header, a group bar, a data row, or the empty/error message. */
|
|
869
|
+
type GridRow<T> =
|
|
870
|
+
| { readonly kind: "header" }
|
|
871
|
+
| { readonly kind: "state" }
|
|
872
|
+
| { readonly kind: "group"; readonly group: DataTableGroup; readonly collapsed: boolean }
|
|
873
|
+
| { readonly kind: "data"; readonly row: Row<T>; readonly selected: boolean };
|
|
874
|
+
|
|
875
|
+
/** Skeleton rows drawn by `{ kind: "loading" }` without `skeletonRows`. */
|
|
876
|
+
const DEFAULT_SKELETON_ROWS = 5;
|
|
877
|
+
|
|
878
|
+
/** A skeleton bar's width: varied by row and column, the same on every render. */
|
|
879
|
+
function skeletonWidth(row: number, column: number): `${number}%` {
|
|
880
|
+
return `${50 + ((row * 7 + column * 13) % 4) * 12}%`;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/** How far Page Up and Page Down move in a grid. */
|
|
884
|
+
const PAGE_ROWS = 10;
|
|
885
|
+
|
|
886
|
+
/** A column's sort state as `aria-sort`. */
|
|
887
|
+
function ariaSort(sorted: SortDirection | false): "ascending" | "descending" | "none" {
|
|
888
|
+
return match(sorted)
|
|
889
|
+
.with("asc", () => "ascending" as const)
|
|
890
|
+
.with("desc", () => "descending" as const)
|
|
891
|
+
.with(false, () => "none" as const)
|
|
892
|
+
.exhaustive();
|
|
893
|
+
}
|