@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,252 @@
|
|
|
1
|
+
import { domKeyOf, focusNode } from "./web-dom-D6pMXQKD.js";
|
|
2
|
+
import { formatNumber } from "./number-field-math-BbzrCT49.js";
|
|
3
|
+
import { assertRange, fractionOf, grabAt, limitsOf, moveThumb, sameRange, snapToGrid, thumbForTap, thumbForTie, valueAt } from "./range-slider-math-BEbeT6x4.js";
|
|
4
|
+
import { RangeSliderThumb, THUMB_SIZE, TRACK_HEIGHT } from "./range-slider-thumb-BZbOZXVy.js";
|
|
5
|
+
import { P, match } from "ts-pattern";
|
|
6
|
+
import { Box, HStack, Text, VStack } from "@byok-ui/ui-primitives";
|
|
7
|
+
import { useTheme } from "@byok-ui/ui-theme";
|
|
8
|
+
import { useMemo, useRef, useState } from "react";
|
|
9
|
+
import { PanResponder } from "react-native";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { defaultKeySteps, keyStepSize } from "@byok-ui/editor-core/slider";
|
|
12
|
+
|
|
13
|
+
//#region src/core/range-slider.tsx
|
|
14
|
+
const RAIL_HEIGHT = 4;
|
|
15
|
+
/** A move shorter than this (px) is still a tap. */
|
|
16
|
+
const SLOP = 4;
|
|
17
|
+
function RangeSlider(props) {
|
|
18
|
+
const theme = useTheme();
|
|
19
|
+
const bounds = {
|
|
20
|
+
min: props.min,
|
|
21
|
+
max: props.max,
|
|
22
|
+
step: props.step ?? 1
|
|
23
|
+
};
|
|
24
|
+
assertRange(props.label, bounds, props.value);
|
|
25
|
+
const inert = props.onChange === void 0 || props.disabled !== void 0;
|
|
26
|
+
const print = props.format ?? formatNumber;
|
|
27
|
+
const [trackWidth, setTrackWidth] = useState(0);
|
|
28
|
+
const [raised, setRaised] = useState("to");
|
|
29
|
+
const fromRef = useRef(null);
|
|
30
|
+
const toRef = useRef(null);
|
|
31
|
+
const gesture = useRef({ kind: "idle" });
|
|
32
|
+
const live = useRef({
|
|
33
|
+
props,
|
|
34
|
+
bounds,
|
|
35
|
+
inert,
|
|
36
|
+
usable: 0
|
|
37
|
+
});
|
|
38
|
+
const usable = Math.max(0, trackWidth - THUMB_SIZE);
|
|
39
|
+
live.current = {
|
|
40
|
+
props,
|
|
41
|
+
bounds,
|
|
42
|
+
inert,
|
|
43
|
+
usable
|
|
44
|
+
};
|
|
45
|
+
const emit = (next, settled) => {
|
|
46
|
+
const l = live.current;
|
|
47
|
+
if (!sameRange(next, l.props.value)) l.props.onChange?.(next);
|
|
48
|
+
if (settled) l.props.onChangeEnd?.(next);
|
|
49
|
+
};
|
|
50
|
+
/** The thumb in use goes on top and, on the web, takes the keyboard focus. Not at the press itself: the browser's own focus handling of that mousedown would undo it. */
|
|
51
|
+
const raise = (thumb) => {
|
|
52
|
+
setRaised(thumb);
|
|
53
|
+
focusNode((thumb === "from" ? fromRef : toRef).current);
|
|
54
|
+
};
|
|
55
|
+
const pan = useMemo(
|
|
56
|
+
() => PanResponder.create({
|
|
57
|
+
onStartShouldSetPanResponder: () => !live.current.inert,
|
|
58
|
+
onPanResponderTerminationRequest: () => gesture.current.kind !== "dragging",
|
|
59
|
+
onPanResponderGrant: (event) => {
|
|
60
|
+
const l = live.current;
|
|
61
|
+
const x0 = event.nativeEvent.locationX - THUMB_SIZE / 2;
|
|
62
|
+
gesture.current = {
|
|
63
|
+
kind: "pressed",
|
|
64
|
+
x0,
|
|
65
|
+
start: l.props.value
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
onPanResponderMove: (_event, move) => {
|
|
69
|
+
const l = live.current;
|
|
70
|
+
const g = gesture.current;
|
|
71
|
+
match(g).with({ kind: "idle" }, () => void 0).with({ kind: "pressed" }, (pressed) => {
|
|
72
|
+
if (Math.abs(move.dx) < SLOP || Math.abs(move.dx) <= Math.abs(move.dy)) return;
|
|
73
|
+
const thumb = match(grabAt(pressed.x0, l.usable, pressed.start, l.bounds)).with({ kind: "thumb" }, (grab) => grab.thumb).with({ kind: "tie" }, () => thumbForTie(move.dx, pressed.start, l.bounds)).exhaustive();
|
|
74
|
+
raise(thumb);
|
|
75
|
+
gesture.current = {
|
|
76
|
+
kind: "dragging",
|
|
77
|
+
thumb,
|
|
78
|
+
start: pressed.start,
|
|
79
|
+
last: pressed.start
|
|
80
|
+
};
|
|
81
|
+
dragTo(move.dx);
|
|
82
|
+
}).with({ kind: "dragging" }, () => dragTo(move.dx)).exhaustive();
|
|
83
|
+
},
|
|
84
|
+
onPanResponderRelease: (_event, move) => {
|
|
85
|
+
const l = live.current;
|
|
86
|
+
const g = gesture.current;
|
|
87
|
+
gesture.current = { kind: "idle" };
|
|
88
|
+
match(g).with({ kind: "idle" }, () => void 0).with({ kind: "pressed" }, (pressed) => {
|
|
89
|
+
if (Math.abs(move.dy) >= SLOP || Math.abs(move.dx) >= SLOP) return;
|
|
90
|
+
const thumb = thumbForTap(pressed.x0, l.usable, l.props.value, l.bounds);
|
|
91
|
+
const next = moveThumb(l.props.value, thumb, valueAt(pressed.x0, l.usable, l.bounds), l.bounds);
|
|
92
|
+
raise(thumb);
|
|
93
|
+
emit(next, true);
|
|
94
|
+
}).with({ kind: "dragging" }, (drag) => {
|
|
95
|
+
raise(drag.thumb);
|
|
96
|
+
emit(drag.last, true);
|
|
97
|
+
}).exhaustive();
|
|
98
|
+
},
|
|
99
|
+
onPanResponderTerminate: () => {
|
|
100
|
+
const g = gesture.current;
|
|
101
|
+
gesture.current = { kind: "idle" };
|
|
102
|
+
match(g).with({ kind: "idle" }, { kind: "pressed" }, () => void 0).with({ kind: "dragging" }, (drag) => emit(drag.last, true)).exhaustive();
|
|
103
|
+
}
|
|
104
|
+
}),
|
|
105
|
+
// Created once; it reads the latest values through refs.
|
|
106
|
+
[]
|
|
107
|
+
);
|
|
108
|
+
/** The dragging thumb follows the finger by `dx` px from where the drag began. */
|
|
109
|
+
function dragTo(dx) {
|
|
110
|
+
const l = live.current;
|
|
111
|
+
const g = gesture.current;
|
|
112
|
+
if (g.kind !== "dragging" || l.usable <= 0) return;
|
|
113
|
+
const at = g.thumb === "from" ? g.start.from : g.start.to;
|
|
114
|
+
const target = at + dx / l.usable * (l.bounds.max - l.bounds.min);
|
|
115
|
+
const next = moveThumb(g.start, g.thumb, target, l.bounds);
|
|
116
|
+
gesture.current = {
|
|
117
|
+
...g,
|
|
118
|
+
last: next
|
|
119
|
+
};
|
|
120
|
+
emit(next, false);
|
|
121
|
+
}
|
|
122
|
+
const stepThumb = (thumb, delta) => {
|
|
123
|
+
const current = thumb === "from" ? props.value.from : props.value.to;
|
|
124
|
+
const next = moveThumb(props.value, thumb, snapToGrid(current + delta, bounds), bounds);
|
|
125
|
+
setRaised(thumb);
|
|
126
|
+
emit(next, true);
|
|
127
|
+
};
|
|
128
|
+
const jumpThumb = (thumb, target) => {
|
|
129
|
+
setRaised(thumb);
|
|
130
|
+
emit(moveThumb(props.value, thumb, target, bounds), true);
|
|
131
|
+
};
|
|
132
|
+
const keys = defaultKeySteps(bounds.step);
|
|
133
|
+
const limits = limitsOf(props.value, bounds);
|
|
134
|
+
const onKeyDown = (thumb) => (event) => {
|
|
135
|
+
const k = domKeyOf(event);
|
|
136
|
+
if (k === null || inert) return;
|
|
137
|
+
const small = keys[keyStepSize(false, k.shift)];
|
|
138
|
+
const move = (delta) => {
|
|
139
|
+
k.consume();
|
|
140
|
+
stepThumb(thumb, delta);
|
|
141
|
+
};
|
|
142
|
+
const to = (target) => {
|
|
143
|
+
k.consume();
|
|
144
|
+
jumpThumb(thumb, target);
|
|
145
|
+
};
|
|
146
|
+
match(k.key).with("ArrowRight", "ArrowUp", () => move(small)).with("ArrowLeft", "ArrowDown", () => move(-small)).with("PageUp", () => move(keys.large)).with("PageDown", () => move(-keys.large)).with("Home", () => to(limits[thumb].min)).with("End", () => to(limits[thumb].max)).with(P.string, () => void 0).exhaustive();
|
|
147
|
+
};
|
|
148
|
+
const onAction = (thumb) => (event) => {
|
|
149
|
+
match(event.nativeEvent.actionName).with("increment", () => stepThumb(thumb, keys.normal)).with("decrement", () => stepThumb(thumb, -keys.normal)).with(P.string, () => void 0).exhaustive();
|
|
150
|
+
};
|
|
151
|
+
const nameOf = (thumb) => {
|
|
152
|
+
const own = thumb === "from" ? props.fromLabel : props.toLabel;
|
|
153
|
+
const base = own ?? `${props.label} ${thumb}`;
|
|
154
|
+
return match(props.disabled).with(void 0, () => base).with(P.string, (why) => `${base} — ${why}`).exhaustive();
|
|
155
|
+
};
|
|
156
|
+
const measured = trackWidth > 0;
|
|
157
|
+
const xOf = (value) => fractionOf(value, bounds) * usable;
|
|
158
|
+
const fromX = xOf(props.value.from);
|
|
159
|
+
const toX = xOf(props.value.to);
|
|
160
|
+
const readout = `${print(props.value.from)} – ${print(props.value.to)}`;
|
|
161
|
+
return /* @__PURE__ */ jsxs(VStack, {
|
|
162
|
+
testID: props.testID,
|
|
163
|
+
domProps: {
|
|
164
|
+
role: "group",
|
|
165
|
+
"aria-label": props.label
|
|
166
|
+
},
|
|
167
|
+
children: [
|
|
168
|
+
match(props.showLabel === true).with(true, () => /* @__PURE__ */ jsxs(HStack, {
|
|
169
|
+
justify: "space-between",
|
|
170
|
+
align: "baseline",
|
|
171
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
172
|
+
variant: "caption",
|
|
173
|
+
tone: "tertiary",
|
|
174
|
+
weight: "medium",
|
|
175
|
+
children: props.label
|
|
176
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
177
|
+
mono: true,
|
|
178
|
+
variant: "meta",
|
|
179
|
+
children: readout
|
|
180
|
+
})]
|
|
181
|
+
})).with(false, () => null).exhaustive(),
|
|
182
|
+
/* @__PURE__ */ jsxs(Box, {
|
|
183
|
+
h: TRACK_HEIGHT,
|
|
184
|
+
justify: "center",
|
|
185
|
+
panHandlers: pan.panHandlers,
|
|
186
|
+
touchAction: "pan-y",
|
|
187
|
+
userSelect: "none",
|
|
188
|
+
opacity: props.disabled === void 0 ? 1 : .45,
|
|
189
|
+
onLayout: (event) => setTrackWidth(event.nativeEvent.layout.width),
|
|
190
|
+
children: [
|
|
191
|
+
/* @__PURE__ */ jsx(Box, {
|
|
192
|
+
h: RAIL_HEIGHT,
|
|
193
|
+
radius: RAIL_HEIGHT / 2,
|
|
194
|
+
bg: "borderStrong"
|
|
195
|
+
}),
|
|
196
|
+
/* @__PURE__ */ jsx(Box, {
|
|
197
|
+
position: "absolute",
|
|
198
|
+
h: RAIL_HEIGHT,
|
|
199
|
+
radius: RAIL_HEIGHT / 2,
|
|
200
|
+
bg: "accent",
|
|
201
|
+
top: (TRACK_HEIGHT - RAIL_HEIGHT) / 2,
|
|
202
|
+
left: THUMB_SIZE / 2 + fromX,
|
|
203
|
+
w: Math.max(0, toX - fromX),
|
|
204
|
+
opacity: measured ? 1 : 0,
|
|
205
|
+
pointerEvents: "none"
|
|
206
|
+
}),
|
|
207
|
+
/* @__PURE__ */ jsx(RangeSliderThumb, {
|
|
208
|
+
ref: fromRef,
|
|
209
|
+
name: nameOf("from"),
|
|
210
|
+
hint: props.accessibilityHint,
|
|
211
|
+
min: limits.from.min,
|
|
212
|
+
max: limits.from.max,
|
|
213
|
+
now: props.value.from,
|
|
214
|
+
text: print(props.value.from),
|
|
215
|
+
left: fromX,
|
|
216
|
+
measured,
|
|
217
|
+
inert,
|
|
218
|
+
raised: raised === "from",
|
|
219
|
+
onKeyDown: onKeyDown("from"),
|
|
220
|
+
onAccessibilityAction: onAction("from"),
|
|
221
|
+
onFocused: () => setRaised("from")
|
|
222
|
+
}),
|
|
223
|
+
/* @__PURE__ */ jsx(RangeSliderThumb, {
|
|
224
|
+
ref: toRef,
|
|
225
|
+
name: nameOf("to"),
|
|
226
|
+
hint: props.accessibilityHint,
|
|
227
|
+
min: limits.to.min,
|
|
228
|
+
max: limits.to.max,
|
|
229
|
+
now: props.value.to,
|
|
230
|
+
text: print(props.value.to),
|
|
231
|
+
left: toX,
|
|
232
|
+
measured,
|
|
233
|
+
inert,
|
|
234
|
+
raised: raised === "to",
|
|
235
|
+
onKeyDown: onKeyDown("to"),
|
|
236
|
+
onAccessibilityAction: onAction("to"),
|
|
237
|
+
onFocused: () => setRaised("to")
|
|
238
|
+
})
|
|
239
|
+
]
|
|
240
|
+
}),
|
|
241
|
+
match(props.disabled).with(void 0, () => null).with(P.string, (why) => /* @__PURE__ */ jsx(Text, {
|
|
242
|
+
variant: "caption",
|
|
243
|
+
tone: "tertiary",
|
|
244
|
+
children: why
|
|
245
|
+
})).exhaustive()
|
|
246
|
+
]
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
//#endregion
|
|
251
|
+
export { RangeSlider };
|
|
252
|
+
//# sourceMappingURL=range-slider-CZ8DMBYm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-slider-CZ8DMBYm.js","names":["props: RangeSliderProps","bounds: RangeBounds","next: RangeValue","settled: boolean","thumb: Thumb","dx: number","delta: number","target: number","event: unknown","event: AccessibilityActionEvent","value: number"],"sources":["../src/core/range-slider.tsx"],"sourcesContent":["/**\n * A range slider: two thumbs on one track choose a \"from\" and a \"to\" (a price\n * filter, a size range, a time window). It holds a `{ from, to }` value, and the\n * thumbs cannot cross: `from` stops at `to`, `to` stops at `from`.\n *\n * Drag, on every platform, is `PanResponder`: a press on the track takes the\n * nearer thumb (two on one spot: the drag direction decides) and the thumb\n * follows the finger by the distance moved, so it does not jump under it. A tap\n * moves the nearer thumb there. The whole 44 px high track is the touch target,\n * wherever the thumbs are. A mostly vertical move is not taken, so the page\n * still scrolls under a finger that starts on the slider (on the web the track\n * says `touch-action: pan-y`; on iOS and Android the responder lets go to the\n * scroll view until the move turns horizontal).\n *\n * Each thumb is a `slider` with its own name (\"Price from\", \"Price to\"; set\n * `fromLabel` and `toLabel` to change them), its value, and a range that ends\n * at the other thumb. On the web each is a tab stop and answers ← → ↑ ↓ (one\n * `step`), Shift and PageUp PageDown (ten), Home End (the furthest it can go);\n * screen readers' increment and decrement work on every platform.\n * `onChange` is told every new value while dragging; `onChangeEnd` once when a\n * drag ends, a tap lands or a key moves a thumb (one history step).\n */\nimport { Box, HStack, Text, VStack } from \"@byok-ui/ui-primitives\";\nimport { defaultKeySteps, keyStepSize } from \"@byok-ui/editor-core/slider\";\nimport { useTheme } from \"@byok-ui/ui-theme\";\nimport { useMemo, useRef, useState, type ReactElement } from \"react\";\nimport { PanResponder, View, type AccessibilityActionEvent } from \"react-native\";\nimport { match, P } from \"ts-pattern\";\n\nimport { domKeyOf, focusNode } from \"../overlay/web-dom\";\nimport { formatNumber } from \"./number-field-math\";\nimport {\n assertRange,\n fractionOf,\n grabAt,\n limitsOf,\n moveThumb,\n sameRange,\n snapToGrid,\n thumbForTap,\n thumbForTie,\n valueAt,\n type RangeBounds,\n type RangeValue,\n type Thumb\n} from \"./range-slider-math\";\nimport { RangeSliderThumb, THUMB_SIZE, TRACK_HEIGHT } from \"./range-slider-thumb\";\n\nexport type { RangeValue } from \"./range-slider-math\";\n\nexport interface RangeSliderProps {\n /** The accessible name (\"Price\"). Drawn above the track, with the range, only with `showLabel`. */\n readonly label: string;\n /** Draw the label and the chosen range above the track. Default false: the name is still spoken. */\n readonly showLabel?: boolean | undefined;\n readonly min: number;\n readonly max: number;\n /** The distance between two values; may be fractional (0.5). Values sit on `min, min + step, …`. Default 1. */\n readonly step?: number | undefined;\n /** The chosen range: `from <= to`, both inside `min..max`. */\n readonly value: RangeValue;\n /** Every new value, while a thumb is dragged and when it settles. Absent: shows the range, does not change it. */\n readonly onChange?: ((value: RangeValue) => void) | undefined;\n /** Once per gesture: a drag released, a tap, a key press. Called after the last `onChange` of it. */\n readonly onChangeEnd?: ((value: RangeValue) => void) | undefined;\n /** Print a value (\"$40\", \"2 km\"). Default: the plain number. */\n readonly format?: ((value: number) => string) | undefined;\n /** The `from` thumb's accessible name. Default \"<label> from\". */\n readonly fromLabel?: string | undefined;\n /** The `to` thumb's accessible name. Default \"<label> to\". */\n readonly toLabel?: string | undefined;\n /** Why the slider cannot be changed right now. Shown under it and read with each thumb's name. */\n readonly disabled?: string | undefined;\n /** What the range is for, read after each thumb's name. */\n readonly accessibilityHint?: string | undefined;\n readonly testID?: string | undefined;\n}\n\nconst RAIL_HEIGHT = 4;\n/** A move shorter than this (px) is still a tap. */\nconst SLOP = 4;\n\n/** What a press on the track is doing. */\ntype Gesture =\n | { readonly kind: \"idle\" }\n /** Down, and not moved far enough to be a drag or a scroll. */\n | { readonly kind: \"pressed\"; readonly x0: number; readonly start: RangeValue }\n | { readonly kind: \"dragging\"; readonly thumb: Thumb; readonly start: RangeValue; readonly last: RangeValue };\n\nexport function RangeSlider(props: RangeSliderProps): ReactElement {\n const theme = useTheme();\n const bounds: RangeBounds = { min: props.min, max: props.max, step: props.step ?? 1 };\n assertRange(props.label, bounds, props.value);\n const inert = props.onChange === undefined || props.disabled !== undefined;\n const print = props.format ?? formatNumber;\n const [trackWidth, setTrackWidth] = useState(0);\n const [raised, setRaised] = useState<Thumb>(\"to\");\n const fromRef = useRef<View | null>(null);\n const toRef = useRef<View | null>(null);\n const gesture = useRef<Gesture>({ kind: \"idle\" });\n\n // The latest props, for handlers created once.\n const live = useRef({ props, bounds, inert, usable: 0 });\n const usable = Math.max(0, trackWidth - THUMB_SIZE);\n live.current = { props, bounds, inert, usable };\n\n const emit = (next: RangeValue, settled: boolean): void => {\n const l = live.current;\n if (!sameRange(next, l.props.value)) l.props.onChange?.(next);\n if (settled) l.props.onChangeEnd?.(next);\n };\n /** The thumb in use goes on top and, on the web, takes the keyboard focus. Not at the press itself: the browser's own focus handling of that mousedown would undo it. */\n const raise = (thumb: Thumb): void => {\n setRaised(thumb);\n focusNode((thumb === \"from\" ? fromRef : toRef).current);\n };\n\n const pan = useMemo(\n () =>\n PanResponder.create({\n onStartShouldSetPanResponder: () => !live.current.inert,\n onPanResponderTerminationRequest: () => gesture.current.kind !== \"dragging\",\n onPanResponderGrant: (event) => {\n const l = live.current;\n const x0 = event.nativeEvent.locationX - THUMB_SIZE / 2;\n gesture.current = { kind: \"pressed\", x0, start: l.props.value };\n },\n onPanResponderMove: (_event, move) => {\n const l = live.current;\n const g = gesture.current;\n match(g)\n .with({ kind: \"idle\" }, () => undefined)\n .with({ kind: \"pressed\" }, (pressed) => {\n // Mostly vertical, or too short to tell: not ours yet, the page may scroll.\n if (Math.abs(move.dx) < SLOP || Math.abs(move.dx) <= Math.abs(move.dy)) return;\n const thumb = match(grabAt(pressed.x0, l.usable, pressed.start, l.bounds))\n .with({ kind: \"thumb\" }, (grab) => grab.thumb)\n .with({ kind: \"tie\" }, () => thumbForTie(move.dx, pressed.start, l.bounds))\n .exhaustive();\n raise(thumb);\n gesture.current = { kind: \"dragging\", thumb, start: pressed.start, last: pressed.start };\n dragTo(move.dx);\n })\n .with({ kind: \"dragging\" }, () => dragTo(move.dx))\n .exhaustive();\n },\n onPanResponderRelease: (_event, move) => {\n const l = live.current;\n const g = gesture.current;\n gesture.current = { kind: \"idle\" };\n match(g)\n .with({ kind: \"idle\" }, () => undefined)\n .with({ kind: \"pressed\" }, (pressed) => {\n // A tap, not a move: the nearer thumb goes there. A scroll that began here does not tap.\n if (Math.abs(move.dy) >= SLOP || Math.abs(move.dx) >= SLOP) return;\n const thumb = thumbForTap(pressed.x0, l.usable, l.props.value, l.bounds);\n const next = moveThumb(l.props.value, thumb, valueAt(pressed.x0, l.usable, l.bounds), l.bounds);\n raise(thumb);\n emit(next, true);\n })\n .with({ kind: \"dragging\" }, (drag) => {\n raise(drag.thumb);\n emit(drag.last, true);\n })\n .exhaustive();\n },\n onPanResponderTerminate: () => {\n const g = gesture.current;\n gesture.current = { kind: \"idle\" };\n match(g)\n .with({ kind: \"idle\" }, { kind: \"pressed\" }, () => undefined)\n .with({ kind: \"dragging\" }, (drag) => emit(drag.last, true))\n .exhaustive();\n }\n }),\n // Created once; it reads the latest values through refs.\n []\n );\n\n /** The dragging thumb follows the finger by `dx` px from where the drag began. */\n function dragTo(dx: number): void {\n const l = live.current;\n const g = gesture.current;\n if (g.kind !== \"dragging\" || l.usable <= 0) return;\n const at = g.thumb === \"from\" ? g.start.from : g.start.to;\n const target = at + (dx / l.usable) * (l.bounds.max - l.bounds.min);\n const next = moveThumb(g.start, g.thumb, target, l.bounds);\n gesture.current = { ...g, last: next };\n emit(next, false);\n }\n\n const stepThumb = (thumb: Thumb, delta: number): void => {\n const current = thumb === \"from\" ? props.value.from : props.value.to;\n const next = moveThumb(props.value, thumb, snapToGrid(current + delta, bounds), bounds);\n setRaised(thumb);\n emit(next, true);\n };\n const jumpThumb = (thumb: Thumb, target: number): void => {\n setRaised(thumb);\n emit(moveThumb(props.value, thumb, target, bounds), true);\n };\n const keys = defaultKeySteps(bounds.step);\n const limits = limitsOf(props.value, bounds);\n const onKeyDown =\n (thumb: Thumb) =>\n (event: unknown): void => {\n const k = domKeyOf(event);\n if (k === null || inert) return;\n const small = keys[keyStepSize(false, k.shift)];\n const move = (delta: number): void => {\n k.consume();\n stepThumb(thumb, delta);\n };\n const to = (target: number): void => {\n k.consume();\n jumpThumb(thumb, target);\n };\n match(k.key)\n .with(\"ArrowRight\", \"ArrowUp\", () => move(small))\n .with(\"ArrowLeft\", \"ArrowDown\", () => move(-small))\n .with(\"PageUp\", () => move(keys.large))\n .with(\"PageDown\", () => move(-keys.large))\n .with(\"Home\", () => to(limits[thumb].min))\n .with(\"End\", () => to(limits[thumb].max))\n .with(P.string, () => undefined)\n .exhaustive();\n };\n const onAction =\n (thumb: Thumb) =>\n (event: AccessibilityActionEvent): void => {\n match(event.nativeEvent.actionName)\n .with(\"increment\", () => stepThumb(thumb, keys.normal))\n .with(\"decrement\", () => stepThumb(thumb, -keys.normal))\n .with(P.string, () => undefined)\n .exhaustive();\n };\n\n const nameOf = (thumb: Thumb): string => {\n const own = thumb === \"from\" ? props.fromLabel : props.toLabel;\n const base = own ?? `${props.label} ${thumb}`;\n return match(props.disabled)\n .with(undefined, () => base)\n .with(P.string, (why) => `${base} — ${why}`)\n .exhaustive();\n };\n // Until the track has been measured the thumbs have no place to be: they are in the tree (a screen reader finds them) but not drawn.\n const measured = trackWidth > 0;\n const xOf = (value: number): number => fractionOf(value, bounds) * usable;\n const fromX = xOf(props.value.from);\n const toX = xOf(props.value.to);\n const readout = `${print(props.value.from)} – ${print(props.value.to)}`;\n\n return (\n <VStack testID={props.testID} domProps={{ role: \"group\", \"aria-label\": props.label }}>\n {match(props.showLabel === true)\n .with(true, () => (\n <HStack justify=\"space-between\" align=\"baseline\">\n <Text variant=\"caption\" tone=\"tertiary\" weight=\"medium\">\n {props.label}\n </Text>\n <Text mono variant=\"meta\">\n {readout}\n </Text>\n </HStack>\n ))\n .with(false, () => null)\n .exhaustive()}\n <Box\n h={TRACK_HEIGHT}\n justify=\"center\"\n panHandlers={pan.panHandlers}\n touchAction=\"pan-y\"\n userSelect=\"none\"\n opacity={props.disabled === undefined ? 1 : 0.45}\n onLayout={(event) => setTrackWidth(event.nativeEvent.layout.width)}\n >\n <Box h={RAIL_HEIGHT} radius={RAIL_HEIGHT / 2} bg=\"borderStrong\" />\n <Box\n position=\"absolute\"\n h={RAIL_HEIGHT}\n radius={RAIL_HEIGHT / 2}\n bg=\"accent\"\n top={(TRACK_HEIGHT - RAIL_HEIGHT) / 2}\n left={THUMB_SIZE / 2 + fromX}\n w={Math.max(0, toX - fromX)}\n opacity={measured ? 1 : 0}\n pointerEvents=\"none\"\n />\n <RangeSliderThumb\n ref={fromRef}\n name={nameOf(\"from\")}\n hint={props.accessibilityHint}\n min={limits.from.min}\n max={limits.from.max}\n now={props.value.from}\n text={print(props.value.from)}\n left={fromX}\n measured={measured}\n inert={inert}\n raised={raised === \"from\"}\n onKeyDown={onKeyDown(\"from\")}\n onAccessibilityAction={onAction(\"from\")}\n onFocused={() => setRaised(\"from\")}\n />\n <RangeSliderThumb\n ref={toRef}\n name={nameOf(\"to\")}\n hint={props.accessibilityHint}\n min={limits.to.min}\n max={limits.to.max}\n now={props.value.to}\n text={print(props.value.to)}\n left={toX}\n measured={measured}\n inert={inert}\n raised={raised === \"to\"}\n onKeyDown={onKeyDown(\"to\")}\n onAccessibilityAction={onAction(\"to\")}\n onFocused={() => setRaised(\"to\")}\n />\n </Box>\n {match(props.disabled)\n .with(undefined, () => null)\n .with(P.string, (why) => (\n <Text variant=\"caption\" tone=\"tertiary\">\n {why}\n </Text>\n ))\n .exhaustive()}\n </VStack>\n );\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { RangeValue } from "./range-slider-math-C2X_zMqe.js";
|
|
2
|
+
import { ReactElement } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/core/range-slider.d.ts
|
|
5
|
+
interface RangeSliderProps {
|
|
6
|
+
/** The accessible name ("Price"). Drawn above the track, with the range, only with `showLabel`. */
|
|
7
|
+
readonly label: string;
|
|
8
|
+
/** Draw the label and the chosen range above the track. Default false: the name is still spoken. */
|
|
9
|
+
readonly showLabel?: boolean | undefined;
|
|
10
|
+
readonly min: number;
|
|
11
|
+
readonly max: number;
|
|
12
|
+
/** The distance between two values; may be fractional (0.5). Values sit on `min, min + step, …`. Default 1. */
|
|
13
|
+
readonly step?: number | undefined;
|
|
14
|
+
/** The chosen range: `from <= to`, both inside `min..max`. */
|
|
15
|
+
readonly value: RangeValue;
|
|
16
|
+
/** Every new value, while a thumb is dragged and when it settles. Absent: shows the range, does not change it. */
|
|
17
|
+
readonly onChange?: ((value: RangeValue) => void) | undefined;
|
|
18
|
+
/** Once per gesture: a drag released, a tap, a key press. Called after the last `onChange` of it. */
|
|
19
|
+
readonly onChangeEnd?: ((value: RangeValue) => void) | undefined;
|
|
20
|
+
/** Print a value ("$40", "2 km"). Default: the plain number. */
|
|
21
|
+
readonly format?: ((value: number) => string) | undefined;
|
|
22
|
+
/** The `from` thumb's accessible name. Default "<label> from". */
|
|
23
|
+
readonly fromLabel?: string | undefined;
|
|
24
|
+
/** The `to` thumb's accessible name. Default "<label> to". */
|
|
25
|
+
readonly toLabel?: string | undefined;
|
|
26
|
+
/** Why the slider cannot be changed right now. Shown under it and read with each thumb's name. */
|
|
27
|
+
readonly disabled?: string | undefined;
|
|
28
|
+
/** What the range is for, read after each thumb's name. */
|
|
29
|
+
readonly accessibilityHint?: string | undefined;
|
|
30
|
+
readonly testID?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
declare function RangeSlider(props: RangeSliderProps): ReactElement; //#endregion
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=range-slider.d.ts.map
|
|
35
|
+
export { RangeSlider as RangeSlider$1, RangeSliderProps };
|
|
36
|
+
//# sourceMappingURL=range-slider-CoCg9m2v.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-slider-CoCg9m2v.d.ts","names":[],"sources":["../src/core/range-slider.tsx"],"sourcesContent":null,"mappings":";;;;UAkDiB,gBAAA;EAAA;EAAgB,SAAA,KAAA,EAAA,MAAA;EAAA;EAUL,SAEG,SAAA,CAAA,EAAA,OAAA,GAAA,SAAA;EAAU,SAEP,GAAA,EAAA,MAAA;EAAU,SAAA,GAAA,EAAA,MAAA;EAyB5B;EAAW,SAAA,IAAA,CAAA,EAAA,MAAA,GAAA,SAAA;EAAA;EAAwB,SAAG,KAAA,EA7BpC,UA6BoC;EAAY;+BA3BnC;;kCAEG;;;;;;;;;;;;;iBAyBlB,WAAA,QAAmB,mBAAmB"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { decimalsOf, roundTo } from "./number-field-math-BbzrCT49.js";
|
|
2
|
+
import { clampTo } from "@byok-ui/editor-core/slider";
|
|
3
|
+
|
|
4
|
+
//#region src/core/range-slider-math.ts
|
|
5
|
+
/** Throws for bounds or a value no slider can be built on, naming `label`. */
|
|
6
|
+
function assertRange(label, bounds, value) {
|
|
7
|
+
const who = `RangeSlider "${label}"`;
|
|
8
|
+
if (!Number.isFinite(bounds.min) || !Number.isFinite(bounds.max)) throw new Error(`${who}: min and max must be finite numbers, got ${bounds.min} and ${bounds.max}.`);
|
|
9
|
+
if (!(bounds.step > 0) || !Number.isFinite(bounds.step)) throw new Error(`${who}: step must be a positive number, got ${bounds.step}.`);
|
|
10
|
+
if (bounds.min >= bounds.max) throw new Error(`${who}: min ${bounds.min} must be below max ${bounds.max}.`);
|
|
11
|
+
if (!Number.isFinite(value.from) || !Number.isFinite(value.to)) throw new Error(`${who}: value.from and value.to must be finite numbers, got ${value.from} and ${value.to}.`);
|
|
12
|
+
if (value.from > value.to) throw new Error(`${who}: value.from ${value.from} is above value.to ${value.to}; the thumbs cannot cross.`);
|
|
13
|
+
if (value.from < bounds.min || value.to > bounds.max) throw new Error(`${who}: value ${value.from}–${value.to} lies outside ${bounds.min}–${bounds.max}.`);
|
|
14
|
+
}
|
|
15
|
+
/** `value` on the grid `min, min + step, …`, held inside the limits, free of float noise. */
|
|
16
|
+
function snapToGrid(value, bounds) {
|
|
17
|
+
const decimals = Math.max(decimalsOf(bounds.step), decimalsOf(bounds.min));
|
|
18
|
+
const onGrid = bounds.min + Math.round((value - bounds.min) / bounds.step) * bounds.step;
|
|
19
|
+
return clampTo(roundTo(onGrid, decimals), bounds.min, bounds.max);
|
|
20
|
+
}
|
|
21
|
+
/** How far along the track `value` is, 0..1. */
|
|
22
|
+
function fractionOf(value, bounds) {
|
|
23
|
+
return clampTo((value - bounds.min) / (bounds.max - bounds.min), 0, 1);
|
|
24
|
+
}
|
|
25
|
+
/** The value at `x` px along a track `width` px wide, not yet on the grid. */
|
|
26
|
+
function valueAt(x, width, bounds) {
|
|
27
|
+
if (width <= 0) return bounds.min;
|
|
28
|
+
return bounds.min + clampTo(x / width, 0, 1) * (bounds.max - bounds.min);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Move one thumb to `target`: on the grid, inside the limits, and not past the
|
|
32
|
+
* other thumb (`from` stops at `to`, `to` stops at `from`). The other thumb never moves.
|
|
33
|
+
*/
|
|
34
|
+
function moveThumb(value, thumb, target, bounds) {
|
|
35
|
+
const snapped = snapToGrid(target, bounds);
|
|
36
|
+
return thumb === "from" ? {
|
|
37
|
+
from: Math.min(snapped, value.to),
|
|
38
|
+
to: value.to
|
|
39
|
+
} : {
|
|
40
|
+
from: value.from,
|
|
41
|
+
to: Math.max(snapped, value.from)
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/** Whether two ranges are the same. */
|
|
45
|
+
const sameRange = (a, b) => a.from === b.from && a.to === b.to;
|
|
46
|
+
function grabAt(x, width, value, bounds) {
|
|
47
|
+
const fromX = fractionOf(value.from, bounds) * width;
|
|
48
|
+
const toX = fractionOf(value.to, bounds) * width;
|
|
49
|
+
const dFrom = Math.abs(x - fromX);
|
|
50
|
+
const dTo = Math.abs(x - toX);
|
|
51
|
+
if (dFrom === dTo) return { kind: "tie" };
|
|
52
|
+
return {
|
|
53
|
+
kind: "thumb",
|
|
54
|
+
thumb: dFrom < dTo ? "from" : "to"
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Two thumbs on the same spot and a drag begins: the direction picks one. Left
|
|
59
|
+
* takes `from` and right takes `to`, except at an end of the track, where the
|
|
60
|
+
* only thumb that can move away from the end is taken.
|
|
61
|
+
*/
|
|
62
|
+
function thumbForTie(dx, value, bounds) {
|
|
63
|
+
if (value.from <= bounds.min && value.to <= bounds.min) return "to";
|
|
64
|
+
if (value.from >= bounds.max && value.to >= bounds.max) return "from";
|
|
65
|
+
return dx < 0 ? "from" : "to";
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A tap (no drag) at `x` px: the nearer thumb jumps there. With both thumbs on
|
|
69
|
+
* one spot, a tap left of them takes `from` and one right of them takes `to`.
|
|
70
|
+
*/
|
|
71
|
+
function thumbForTap(x, width, value, bounds) {
|
|
72
|
+
const grab = grabAt(x, width, value, bounds);
|
|
73
|
+
if (grab.kind === "thumb") return grab.thumb;
|
|
74
|
+
return x < fractionOf(value.from, bounds) * width ? "from" : "to";
|
|
75
|
+
}
|
|
76
|
+
/** What each thumb is allowed to reach right now: the other thumb is its limit. */
|
|
77
|
+
function limitsOf(value, bounds) {
|
|
78
|
+
return {
|
|
79
|
+
from: {
|
|
80
|
+
min: bounds.min,
|
|
81
|
+
max: value.to
|
|
82
|
+
},
|
|
83
|
+
to: {
|
|
84
|
+
min: value.from,
|
|
85
|
+
max: bounds.max
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
//#endregion
|
|
91
|
+
export { assertRange, fractionOf, grabAt, limitsOf, moveThumb, sameRange, snapToGrid, thumbForTap, thumbForTie, valueAt };
|
|
92
|
+
//# sourceMappingURL=range-slider-math-BEbeT6x4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-slider-math-BEbeT6x4.js","names":["label: string","bounds: RangeBounds","value: RangeValue","value: number","x: number","width: number","thumb: Thumb","target: number","a: RangeValue","b: RangeValue","dx: number"],"sources":["../src/core/range-slider-math.ts"],"sourcesContent":["/**\n * The arithmetic of `RangeSlider`, apart from the drawing: where a touch lands,\n * which thumb it takes, and where a thumb may go. Pure, so it is tested without\n * a renderer.\n *\n * Positions are in px along the track (0 at `min`, `width` at `max`); values\n * are in the slider's units. A thumb moves on the grid `min, min + step, …` and\n * never past the other thumb.\n */\nimport { clampTo } from \"@byok-ui/editor-core/slider\";\n\nimport { decimalsOf, roundTo } from \"./number-field-math\";\n\n/** The two ends of a chosen range: `from <= to`, both inside `min..max`. */\nexport interface RangeValue {\n readonly from: number;\n readonly to: number;\n}\n\n/** Which end of the range a thumb is. */\nexport type Thumb = \"from\" | \"to\";\n\n/** The limits and grid of a range slider. */\nexport interface RangeBounds {\n readonly min: number;\n readonly max: number;\n /** The distance between two grid values; positive and finite, may be fractional. */\n readonly step: number;\n}\n\n/** Throws for bounds or a value no slider can be built on, naming `label`. */\nexport function assertRange(label: string, bounds: RangeBounds, value: RangeValue): void {\n const who = `RangeSlider \"${label}\"`;\n if (!Number.isFinite(bounds.min) || !Number.isFinite(bounds.max)) {\n throw new Error(`${who}: min and max must be finite numbers, got ${bounds.min} and ${bounds.max}.`);\n }\n if (!(bounds.step > 0) || !Number.isFinite(bounds.step)) {\n throw new Error(`${who}: step must be a positive number, got ${bounds.step}.`);\n }\n if (bounds.min >= bounds.max) {\n throw new Error(`${who}: min ${bounds.min} must be below max ${bounds.max}.`);\n }\n if (!Number.isFinite(value.from) || !Number.isFinite(value.to)) {\n throw new Error(`${who}: value.from and value.to must be finite numbers, got ${value.from} and ${value.to}.`);\n }\n if (value.from > value.to) {\n throw new Error(`${who}: value.from ${value.from} is above value.to ${value.to}; the thumbs cannot cross.`);\n }\n if (value.from < bounds.min || value.to > bounds.max) {\n throw new Error(`${who}: value ${value.from}–${value.to} lies outside ${bounds.min}–${bounds.max}.`);\n }\n}\n\n/** `value` on the grid `min, min + step, …`, held inside the limits, free of float noise. */\nexport function snapToGrid(value: number, bounds: RangeBounds): number {\n const decimals = Math.max(decimalsOf(bounds.step), decimalsOf(bounds.min));\n const onGrid = bounds.min + Math.round((value - bounds.min) / bounds.step) * bounds.step;\n return clampTo(roundTo(onGrid, decimals), bounds.min, bounds.max);\n}\n\n/** How far along the track `value` is, 0..1. */\nexport function fractionOf(value: number, bounds: RangeBounds): number {\n return clampTo((value - bounds.min) / (bounds.max - bounds.min), 0, 1);\n}\n\n/** The value at `x` px along a track `width` px wide, not yet on the grid. */\nexport function valueAt(x: number, width: number, bounds: RangeBounds): number {\n if (width <= 0) return bounds.min;\n return bounds.min + clampTo(x / width, 0, 1) * (bounds.max - bounds.min);\n}\n\n/**\n * Move one thumb to `target`: on the grid, inside the limits, and not past the\n * other thumb (`from` stops at `to`, `to` stops at `from`). The other thumb never moves.\n */\nexport function moveThumb(value: RangeValue, thumb: Thumb, target: number, bounds: RangeBounds): RangeValue {\n const snapped = snapToGrid(target, bounds);\n return thumb === \"from\"\n ? { from: Math.min(snapped, value.to), to: value.to }\n : { from: value.from, to: Math.max(snapped, value.from) };\n}\n\n/** Whether two ranges are the same. */\nexport const sameRange = (a: RangeValue, b: RangeValue): boolean => a.from === b.from && a.to === b.to;\n\n/** The thumb a touch at `x` px takes, or `tie` when both are as near (they sit together). */\nexport type Grab = { readonly kind: \"thumb\"; readonly thumb: Thumb } | { readonly kind: \"tie\" };\n\nexport function grabAt(x: number, width: number, value: RangeValue, bounds: RangeBounds): Grab {\n const fromX = fractionOf(value.from, bounds) * width;\n const toX = fractionOf(value.to, bounds) * width;\n const dFrom = Math.abs(x - fromX);\n const dTo = Math.abs(x - toX);\n if (dFrom === dTo) return { kind: \"tie\" };\n return { kind: \"thumb\", thumb: dFrom < dTo ? \"from\" : \"to\" };\n}\n\n/**\n * Two thumbs on the same spot and a drag begins: the direction picks one. Left\n * takes `from` and right takes `to`, except at an end of the track, where the\n * only thumb that can move away from the end is taken.\n */\nexport function thumbForTie(dx: number, value: RangeValue, bounds: RangeBounds): Thumb {\n if (value.from <= bounds.min && value.to <= bounds.min) return \"to\";\n if (value.from >= bounds.max && value.to >= bounds.max) return \"from\";\n return dx < 0 ? \"from\" : \"to\";\n}\n\n/**\n * A tap (no drag) at `x` px: the nearer thumb jumps there. With both thumbs on\n * one spot, a tap left of them takes `from` and one right of them takes `to`.\n */\nexport function thumbForTap(x: number, width: number, value: RangeValue, bounds: RangeBounds): Thumb {\n const grab = grabAt(x, width, value, bounds);\n if (grab.kind === \"thumb\") return grab.thumb;\n return x < fractionOf(value.from, bounds) * width ? \"from\" : \"to\";\n}\n\n/** What each thumb is allowed to reach right now: the other thumb is its limit. */\nexport function limitsOf(value: RangeValue, bounds: RangeBounds): Readonly<Record<Thumb, { readonly min: number; readonly max: number }>> {\n return { from: { min: bounds.min, max: value.to }, to: { min: value.from, max: bounds.max } };\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
//#region src/core/range-slider-math.d.ts
|
|
2
|
+
/** The two ends of a chosen range: `from <= to`, both inside `min..max`. */
|
|
3
|
+
interface RangeValue {
|
|
4
|
+
readonly from: number;
|
|
5
|
+
readonly to: number;
|
|
6
|
+
}
|
|
7
|
+
/** Which end of the range a thumb is. */
|
|
8
|
+
type Thumb = "from" | "to";
|
|
9
|
+
/** The limits and grid of a range slider. */
|
|
10
|
+
interface RangeBounds {
|
|
11
|
+
readonly min: number;
|
|
12
|
+
readonly max: number;
|
|
13
|
+
/** The distance between two grid values; positive and finite, may be fractional. */
|
|
14
|
+
readonly step: number;
|
|
15
|
+
}
|
|
16
|
+
/** Throws for bounds or a value no slider can be built on, naming `label`. */
|
|
17
|
+
declare function assertRange(label: string, bounds: RangeBounds, value: RangeValue): void;
|
|
18
|
+
/** `value` on the grid `min, min + step, …`, held inside the limits, free of float noise. */
|
|
19
|
+
declare function snapToGrid(value: number, bounds: RangeBounds): number;
|
|
20
|
+
/** How far along the track `value` is, 0..1. */
|
|
21
|
+
declare function fractionOf(value: number, bounds: RangeBounds): number;
|
|
22
|
+
/** The value at `x` px along a track `width` px wide, not yet on the grid. */
|
|
23
|
+
declare function valueAt(x: number, width: number, bounds: RangeBounds): number;
|
|
24
|
+
/**
|
|
25
|
+
* Move one thumb to `target`: on the grid, inside the limits, and not past the
|
|
26
|
+
* other thumb (`from` stops at `to`, `to` stops at `from`). The other thumb never moves.
|
|
27
|
+
*/
|
|
28
|
+
declare function moveThumb(value: RangeValue, thumb: Thumb, target: number, bounds: RangeBounds): RangeValue;
|
|
29
|
+
/** Whether two ranges are the same. */
|
|
30
|
+
declare const sameRange: (a: RangeValue, b: RangeValue) => boolean;
|
|
31
|
+
/** The thumb a touch at `x` px takes, or `tie` when both are as near (they sit together). */
|
|
32
|
+
type Grab = {
|
|
33
|
+
readonly kind: "thumb";
|
|
34
|
+
readonly thumb: Thumb;
|
|
35
|
+
} | {
|
|
36
|
+
readonly kind: "tie";
|
|
37
|
+
};
|
|
38
|
+
declare function grabAt(x: number, width: number, value: RangeValue, bounds: RangeBounds): Grab;
|
|
39
|
+
/**
|
|
40
|
+
* Two thumbs on the same spot and a drag begins: the direction picks one. Left
|
|
41
|
+
* takes `from` and right takes `to`, except at an end of the track, where the
|
|
42
|
+
* only thumb that can move away from the end is taken.
|
|
43
|
+
*/
|
|
44
|
+
declare function thumbForTie(dx: number, value: RangeValue, bounds: RangeBounds): Thumb;
|
|
45
|
+
/**
|
|
46
|
+
* A tap (no drag) at `x` px: the nearer thumb jumps there. With both thumbs on
|
|
47
|
+
* one spot, a tap left of them takes `from` and one right of them takes `to`.
|
|
48
|
+
*/
|
|
49
|
+
declare function thumbForTap(x: number, width: number, value: RangeValue, bounds: RangeBounds): Thumb;
|
|
50
|
+
/** What each thumb is allowed to reach right now: the other thumb is its limit. */
|
|
51
|
+
declare function limitsOf(value: RangeValue, bounds: RangeBounds): Readonly<Record<Thumb, {
|
|
52
|
+
readonly min: number;
|
|
53
|
+
readonly max: number;
|
|
54
|
+
}>>;
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
//# sourceMappingURL=range-slider-math.d.ts.map
|
|
58
|
+
|
|
59
|
+
export { Grab, RangeBounds, RangeValue, Thumb, assertRange as assertRange$1, fractionOf as fractionOf$1, grabAt as grabAt$1, limitsOf as limitsOf$1, moveThumb as moveThumb$1, sameRange as sameRange$1, snapToGrid as snapToGrid$1, thumbForTap as thumbForTap$1, thumbForTie as thumbForTie$1, valueAt as valueAt$1 };
|
|
60
|
+
//# sourceMappingURL=range-slider-math-C2X_zMqe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-slider-math-C2X_zMqe.d.ts","names":[],"sources":["../src/core/range-slider-math.ts"],"sourcesContent":null,"mappings":";;UAciB,UAAA;EAAA,SAAA,IAAU,EAAA,MAAA;;AAM3B;;AAGiB,KAHL,KAAA,GAGgB,MAAA,GAAA,IAAA;;AAQZ,UARC,WAAA,CAQU;EAAA,SAAA,GAAA,EAAA,MAAA;EAAA,SAAwB,GAAA,EAAA,MAAA;EAAW;EAAmB,SAAA,IAAA,EAAA,MAAA;;AAuBjF;iBAvBgB,WAAA,wBAAmC,oBAAoB;AA8BvE;iBAPgB,UAAA,wBAAkC;AAYlD;iBALgB,UAAA,wBAAkC;;iBAKlC,OAAA,mCAA0C;;AAS1D;;;AAAoD,iBAApC,SAAA,CAAoC,KAAA,EAAnB,UAAmB,EAAA,KAAA,EAAA,KAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAA+B,WAA/B,CAAA,EAA6C,UAA7C;;AAA6C,cAQpF,SARoF,EAAA,CAAA,CAAA,EAQpE,UARoE,EAAA,CAAA,EAQrD,UARqD,EAAA,GAAA,OAAA;AAAU;KAW/F,IAAA;EAHC,SAAA,IAAyF,EAAA,OAAA;EAAA,SAAA,KAAA,EAGzC,KAHyC;CAAA,GAAA;EAA/D,SAAK,IAAA,EAAA,KAAA;AAAU,CAAA;iBAKtC,MAAA,kCAAwC,oBAAoB,cAAc;AAF1F;AAEA;;;;AAA0F,iBAc1E,WAAA,CAd0E,EAAA,EAAA,MAAA,EAAA,KAAA,EAc3C,UAd2C,EAAA,MAAA,EAcvB,WAduB,CAAA,EAcT,KAdS;AAAI;;;;iBAwB9E,WAAA,kCAA6C,oBAAoB,cAAc;;AAV/E,iBAiBA,QAAA,CAjBW,KAAA,EAiBK,UAjBL,EAAA,MAAA,EAiByB,WAjBzB,CAAA,EAiBuC,QAjBvC,CAiBgD,MAjBhD,CAiBuD,KAjBvD,EAAA;EAAA,SAAA,GAAA,EAAA,MAAA;EAAA,SAAoB,GAAA,EAAA,MAAA;CAAU,CAAA,CAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { useFocusVisible } from "./focus-visible-Cx3Qwi47.js";
|
|
2
|
+
import { useTheme } from "@byok-ui/ui-theme";
|
|
3
|
+
import { Platform, View } from "react-native";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/core/range-slider-thumb.tsx
|
|
7
|
+
/** The dot's diameter in px: the visible thumb. 24 px so its own box passes WCAG 2.5.8 even where two thumbs sit on one spot; the touch target is the whole 44 px track. */
|
|
8
|
+
const THUMB_SIZE = 24;
|
|
9
|
+
/** The track is this tall: the touch target, 44 px. The rail is drawn in its middle. */
|
|
10
|
+
const TRACK_HEIGHT = 44;
|
|
11
|
+
function RangeSliderThumb(props) {
|
|
12
|
+
const theme = useTheme();
|
|
13
|
+
const focus = useFocusVisible();
|
|
14
|
+
const web = Platform.OS === "web" ? {
|
|
15
|
+
tabIndex: props.inert ? -1 : 0,
|
|
16
|
+
onKeyDown: props.onKeyDown,
|
|
17
|
+
onFocus: (event) => {
|
|
18
|
+
focus.onFocus(event);
|
|
19
|
+
props.onFocused();
|
|
20
|
+
},
|
|
21
|
+
onBlur: focus.onBlur
|
|
22
|
+
} : {};
|
|
23
|
+
return /* @__PURE__ */ jsx(View, {
|
|
24
|
+
ref: props.ref,
|
|
25
|
+
accessible: true,
|
|
26
|
+
accessibilityRole: "adjustable",
|
|
27
|
+
accessibilityLabel: props.name,
|
|
28
|
+
accessibilityHint: props.hint,
|
|
29
|
+
accessibilityActions: props.inert ? [] : [{ name: "increment" }, { name: "decrement" }],
|
|
30
|
+
onAccessibilityAction: props.onAccessibilityAction,
|
|
31
|
+
"aria-valuemin": props.min,
|
|
32
|
+
"aria-valuemax": props.max,
|
|
33
|
+
"aria-valuenow": props.now,
|
|
34
|
+
"aria-valuetext": props.text,
|
|
35
|
+
"aria-disabled": props.inert,
|
|
36
|
+
pointerEvents: "none",
|
|
37
|
+
style: {
|
|
38
|
+
position: "absolute",
|
|
39
|
+
top: (TRACK_HEIGHT - THUMB_SIZE) / 2,
|
|
40
|
+
left: props.left,
|
|
41
|
+
width: THUMB_SIZE,
|
|
42
|
+
height: THUMB_SIZE,
|
|
43
|
+
borderRadius: theme.radius.full,
|
|
44
|
+
backgroundColor: theme.color.surface,
|
|
45
|
+
borderWidth: 2,
|
|
46
|
+
borderColor: theme.color.accent,
|
|
47
|
+
opacity: props.measured ? 1 : 0,
|
|
48
|
+
zIndex: props.raised ? 2 : 1,
|
|
49
|
+
boxShadow: focus.visible ? `0 0 0 3px ${theme.color.focusRing}` : "none"
|
|
50
|
+
},
|
|
51
|
+
...web
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
export { RangeSliderThumb, THUMB_SIZE, TRACK_HEIGHT };
|
|
57
|
+
//# sourceMappingURL=range-slider-thumb-BZbOZXVy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-slider-thumb-BZbOZXVy.js","names":["props: RangeSliderThumbProps","web: Record<string, unknown>","event: unknown"],"sources":["../src/core/range-slider-thumb.tsx"],"sourcesContent":["/**\n * One thumb of a `RangeSlider`: the draggable dot and the slider the screen\n * reader and the keyboard find. Internal to `RangeSlider`, not exported from\n * the package: the track owns the drag, so this view takes no touches itself\n * (`pointerEvents=\"none\"`, and the track puts the keyboard focus here on a press).\n */\nimport { useTheme } from \"@byok-ui/ui-theme\";\nimport type { ReactElement, Ref } from \"react\";\nimport { Platform, View, type AccessibilityActionEvent } from \"react-native\";\n\nimport { useFocusVisible } from \"./focus-visible\";\n\n/** The dot's diameter in px: the visible thumb. 24 px so its own box passes WCAG 2.5.8 even where two thumbs sit on one spot; the touch target is the whole 44 px track. */\nexport const THUMB_SIZE = 24;\n/** The track is this tall: the touch target, 44 px. The rail is drawn in its middle. */\nexport const TRACK_HEIGHT = 44;\n\nexport interface RangeSliderThumbProps {\n readonly ref: Ref<View>;\n readonly name: string;\n readonly hint: string | undefined;\n /** What this thumb can reach now: the other thumb is its limit on one side. */\n readonly min: number;\n readonly max: number;\n readonly now: number;\n readonly text: string;\n /** Left edge of the dot in px, in the track's coordinates. */\n readonly left: number;\n /** False until the track has been measured: in the tree, not drawn. */\n readonly measured: boolean;\n readonly inert: boolean;\n /** Drawn above its twin (the one last used or focused), so two thumbs on one spot stay reachable. */\n readonly raised: boolean;\n readonly onKeyDown: (event: unknown) => void;\n readonly onAccessibilityAction: (event: AccessibilityActionEvent) => void;\n readonly onFocused: () => void;\n}\n\nexport function RangeSliderThumb(props: RangeSliderThumbProps): ReactElement {\n const theme = useTheme();\n const focus = useFocusVisible();\n const web: Record<string, unknown> =\n Platform.OS === \"web\"\n ? {\n tabIndex: props.inert ? -1 : 0,\n onKeyDown: props.onKeyDown,\n onFocus: (event: unknown) => {\n focus.onFocus(event);\n props.onFocused();\n },\n onBlur: focus.onBlur\n }\n : {};\n return (\n <View\n ref={props.ref}\n accessible\n accessibilityRole=\"adjustable\"\n accessibilityLabel={props.name}\n accessibilityHint={props.hint}\n accessibilityActions={props.inert ? [] : [{ name: \"increment\" }, { name: \"decrement\" }]}\n onAccessibilityAction={props.onAccessibilityAction}\n aria-valuemin={props.min}\n aria-valuemax={props.max}\n aria-valuenow={props.now}\n aria-valuetext={props.text}\n aria-disabled={props.inert}\n pointerEvents=\"none\"\n style={{\n position: \"absolute\",\n top: (TRACK_HEIGHT - THUMB_SIZE) / 2,\n left: props.left,\n width: THUMB_SIZE,\n height: THUMB_SIZE,\n borderRadius: theme.radius.full,\n backgroundColor: theme.color.surface,\n borderWidth: 2,\n borderColor: theme.color.accent,\n opacity: props.measured ? 1 : 0,\n zIndex: props.raised ? 2 : 1,\n boxShadow: focus.visible ? `0 0 0 3px ${theme.color.focusRing}` : \"none\"\n }}\n {...web}\n />\n );\n}\n"],"mappings":";;;;;;;AAaA,MAAa,aAAa;;AAE1B,MAAa,eAAe;AAuB5B,SAAgB,iBAAiBA,OAA4C;CAC3E,MAAM,QAAQ,UAAU;CACxB,MAAM,QAAQ,iBAAiB;CAC/B,MAAMC,MACJ,SAAS,OAAO,QACZ;EACE,UAAU,MAAM,QAAA,KAAa;EAC7B,WAAW,MAAM;EACjB,SAAS,CAACC,UAAmB;AAC3B,SAAM,QAAQ,MAAM;AACpB,SAAM,WAAW;EAClB;EACD,QAAQ,MAAM;CACf,IACD,CAAE;AACR,wBACE,IAAC,MAAA;EACC,KAAK,MAAM;EACX,YAAA;EACA,mBAAkB;EAClB,oBAAoB,MAAM;EAC1B,mBAAmB,MAAM;EACzB,sBAAsB,MAAM,QAAQ,CAAE,IAAG,CAAC,EAAE,MAAM,YAAa,GAAE,EAAE,MAAM,YAAc,CAAA;EACvF,uBAAuB,MAAM;EAC7B,iBAAe,MAAM;EACrB,iBAAe,MAAM;EACrB,iBAAe,MAAM;EACrB,kBAAgB,MAAM;EACtB,iBAAe,MAAM;EACrB,eAAc;EACd,OAAO;GACL,UAAU;GACV,MAAM,eAAe,cAAc;GACnC,MAAM,MAAM;GACZ,OAAO;GACP,QAAQ;GACR,cAAc,MAAM,OAAO;GAC3B,iBAAiB,MAAM,MAAM;GAC7B,aAAa;GACb,aAAa,MAAM,MAAM;GACzB,SAAS,MAAM,WAAW,IAAI;GAC9B,QAAQ,MAAM,SAAS,IAAI;GAC3B,WAAW,MAAM,WAAW,YAAY,MAAM,MAAM,UAAU,IAAI;EACnE;EACD,GAAI;GACJ;AAEL"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Avatar } from "./avatar-BYKn3rhp.js";
|
|
2
|
+
import { HStack, Text } from "@byok-ui/ui-primitives";
|
|
3
|
+
import { useTheme } from "@byok-ui/ui-theme";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/media/record-chip.tsx
|
|
7
|
+
/** Linked-record chip for grid cells (Airtable-style). */
|
|
8
|
+
function RecordChip(props) {
|
|
9
|
+
const theme = useTheme();
|
|
10
|
+
return /* @__PURE__ */ jsxs(HStack, {
|
|
11
|
+
gap: 1,
|
|
12
|
+
align: "center",
|
|
13
|
+
style: {
|
|
14
|
+
height: 22,
|
|
15
|
+
paddingHorizontal: 9,
|
|
16
|
+
borderRadius: theme.radius.sm,
|
|
17
|
+
backgroundColor: theme.color.surfaceSubtle,
|
|
18
|
+
borderWidth: 1,
|
|
19
|
+
borderColor: theme.color.border
|
|
20
|
+
},
|
|
21
|
+
children: [props.avatarColor !== void 0 ? /* @__PURE__ */ jsx(Avatar, {
|
|
22
|
+
name: props.label,
|
|
23
|
+
color: props.avatarColor,
|
|
24
|
+
size: 18
|
|
25
|
+
}) : null, /* @__PURE__ */ jsx(Text, {
|
|
26
|
+
variant: "bodySm",
|
|
27
|
+
numberOfLines: 1,
|
|
28
|
+
children: props.label
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { RecordChip };
|
|
35
|
+
//# sourceMappingURL=record-chip-AIKd67o6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-chip-AIKd67o6.js","names":["props: RecordChipProps"],"sources":["../src/media/record-chip.tsx"],"sourcesContent":["import { HStack, Text } from \"@byok-ui/ui-primitives\";\nimport { useTheme } from \"@byok-ui/ui-theme\";\nimport type { ReactElement } from \"react\";\nimport { Avatar } from \"../core/avatar\";\n\nexport interface RecordChipProps {\n label: string;\n /** Show a tiny avatar with this color (linked-person records). */\n avatarColor?: string | undefined;\n}\n\n/** Linked-record chip for grid cells (Airtable-style). */\nexport function RecordChip(props: RecordChipProps): ReactElement {\n const theme = useTheme();\n return (\n <HStack\n gap={1}\n align=\"center\"\n style={{\n height: 22,\n paddingHorizontal: 9,\n borderRadius: theme.radius.sm,\n backgroundColor: theme.color.surfaceSubtle,\n borderWidth: 1,\n borderColor: theme.color.border\n }}\n >\n {props.avatarColor !== undefined ? (\n <Avatar name={props.label} color={props.avatarColor} size={18} />\n ) : null}\n <Text variant=\"bodySm\" numberOfLines={1}>\n {props.label}\n </Text>\n </HStack>\n );\n}\n"],"mappings":";;;;;;;AAYA,SAAgB,WAAWA,OAAsC;CAC/D,MAAM,QAAQ,UAAU;AACxB,wBACE,KAAC,QAAA;EACC,KAAK;EACL,OAAM;EACN,OAAO;GACL,QAAQ;GACR,mBAAmB;GACnB,cAAc,MAAM,OAAO;GAC3B,iBAAiB,MAAM,MAAM;GAC7B,aAAa;GACb,aAAa,MAAM,MAAM;EAC1B;aAEA,MAAM,yCACL,IAAC,QAAA;GAAO,MAAM,MAAM;GAAO,OAAO,MAAM;GAAa,MAAM;IAAM,GAC/D,sBACJ,IAAC,MAAA;GAAK,SAAQ;GAAS,eAAe;aACnC,MAAM;IACF;GACA;AAEZ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/media/record-chip.d.ts
|
|
4
|
+
interface RecordChipProps {
|
|
5
|
+
label: string;
|
|
6
|
+
/** Show a tiny avatar with this color (linked-person records). */
|
|
7
|
+
avatarColor?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/** Linked-record chip for grid cells (Airtable-style). */
|
|
10
|
+
declare function RecordChip(props: RecordChipProps): ReactElement;
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
//# sourceMappingURL=record-chip.d.ts.map
|
|
14
|
+
|
|
15
|
+
export { RecordChip as RecordChip$1, RecordChipProps };
|
|
16
|
+
//# sourceMappingURL=record-chip-Cu20GtDg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-chip-Cu20GtDg.d.ts","names":[],"sources":["../src/media/record-chip.tsx"],"sourcesContent":null,"mappings":";;;UAKiB,eAAA;;EAAA;;AAOjB;;AAAkC,iBAAlB,UAAA,CAAkB,KAAA,EAAA,eAAA,CAAA,EAAkB,YAAlB"}
|