@flyingrobots/bijou-tui 7.2.0 → 8.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animate-constants.d.ts +3 -0
- package/dist/animate-constants.d.ts.map +1 -0
- package/dist/animate-constants.js +3 -0
- package/dist/animate-constants.js.map +1 -0
- package/dist/animate.d.ts +3 -91
- package/dist/animate.d.ts.map +1 -1
- package/dist/animate.js +2 -158
- package/dist/animate.js.map +1 -1
- package/dist/animate.part01.d.ts +83 -0
- package/dist/animate.part01.d.ts.map +1 -0
- package/dist/animate.part01.js +40 -0
- package/dist/animate.part01.js.map +1 -0
- package/dist/animate.part02.d.ts +44 -0
- package/dist/animate.part02.d.ts.map +1 -0
- package/dist/animate.part02.js +61 -0
- package/dist/animate.part02.js.map +1 -0
- package/dist/animate.part03.d.ts +43 -0
- package/dist/animate.part03.d.ts.map +1 -0
- package/dist/animate.part03.js +52 -0
- package/dist/animate.part03.js.map +1 -0
- package/dist/app-frame-action-types.d.ts +177 -0
- package/dist/app-frame-action-types.d.ts.map +1 -0
- package/dist/app-frame-action-types.js +2 -0
- package/dist/app-frame-action-types.js.map +1 -0
- package/dist/app-frame-actions-dispatch.d.ts +5 -0
- package/dist/app-frame-actions-dispatch.d.ts.map +1 -0
- package/dist/app-frame-actions-dispatch.js +67 -0
- package/dist/app-frame-actions-dispatch.js.map +1 -0
- package/dist/app-frame-actions-footer.d.ts +13 -0
- package/dist/app-frame-actions-footer.d.ts.map +1 -0
- package/dist/app-frame-actions-footer.js +57 -0
- package/dist/app-frame-actions-footer.js.map +1 -0
- package/dist/app-frame-actions-measure.d.ts +4 -0
- package/dist/app-frame-actions-measure.d.ts.map +1 -0
- package/dist/app-frame-actions-measure.js +11 -0
- package/dist/app-frame-actions-measure.js.map +1 -0
- package/dist/app-frame-actions-overlays.d.ts +5 -0
- package/dist/app-frame-actions-overlays.d.ts.map +1 -0
- package/dist/app-frame-actions-overlays.js +66 -0
- package/dist/app-frame-actions-overlays.js.map +1 -0
- package/dist/app-frame-actions-pane.d.ts +5 -0
- package/dist/app-frame-actions-pane.d.ts.map +1 -0
- package/dist/app-frame-actions-pane.js +48 -0
- package/dist/app-frame-actions-pane.js.map +1 -0
- package/dist/app-frame-actions-panel.d.ts +7 -0
- package/dist/app-frame-actions-panel.d.ts.map +1 -0
- package/dist/app-frame-actions-panel.js +68 -0
- package/dist/app-frame-actions-panel.js.map +1 -0
- package/dist/app-frame-actions-scroll.d.ts +8 -0
- package/dist/app-frame-actions-scroll.d.ts.map +1 -0
- package/dist/app-frame-actions-scroll.js +79 -0
- package/dist/app-frame-actions-scroll.js.map +1 -0
- package/dist/app-frame-actions-tabs.d.ts +6 -0
- package/dist/app-frame-actions-tabs.d.ts.map +1 -0
- package/dist/app-frame-actions-tabs.js +81 -0
- package/dist/app-frame-actions-tabs.js.map +1 -0
- package/dist/app-frame-actions.d.ts +6 -15
- package/dist/app-frame-actions.d.ts.map +1 -1
- package/dist/app-frame-actions.js +6 -443
- package/dist/app-frame-actions.js.map +1 -1
- package/dist/app-frame-app-init.d.ts +14 -0
- package/dist/app-frame-app-init.d.ts.map +1 -0
- package/dist/app-frame-app-init.js +81 -0
- package/dist/app-frame-app-init.js.map +1 -0
- package/dist/app-frame-app-update.d.ts +29 -0
- package/dist/app-frame-app-update.d.ts.map +1 -0
- package/dist/app-frame-app-update.js +28 -0
- package/dist/app-frame-app-update.js.map +1 -0
- package/dist/app-frame-app-view.d.ts +6 -0
- package/dist/app-frame-app-view.d.ts.map +1 -0
- package/dist/app-frame-app-view.js +14 -0
- package/dist/app-frame-app-view.js.map +1 -0
- package/dist/app-frame-contracts.d.ts +32 -0
- package/dist/app-frame-contracts.d.ts.map +1 -0
- package/dist/app-frame-contracts.js +3 -0
- package/dist/app-frame-contracts.js.map +1 -0
- package/dist/app-frame-controls-runtime.d.ts +32 -0
- package/dist/app-frame-controls-runtime.d.ts.map +1 -0
- package/dist/app-frame-controls-runtime.js +86 -0
- package/dist/app-frame-controls-runtime.js.map +1 -0
- package/dist/app-frame-create.d.ts +14 -0
- package/dist/app-frame-create.d.ts.map +1 -0
- package/dist/app-frame-create.js +64 -0
- package/dist/app-frame-create.js.map +1 -0
- package/dist/app-frame-frame-action-update.d.ts +21 -0
- package/dist/app-frame-frame-action-update.d.ts.map +1 -0
- package/dist/app-frame-frame-action-update.js +51 -0
- package/dist/app-frame-frame-action-update.js.map +1 -0
- package/dist/app-frame-geometry.d.ts +8 -0
- package/dist/app-frame-geometry.d.ts.map +1 -0
- package/dist/app-frame-geometry.js +27 -0
- package/dist/app-frame-geometry.js.map +1 -0
- package/dist/app-frame-help-keys.d.ts +8 -0
- package/dist/app-frame-help-keys.d.ts.map +1 -0
- package/dist/app-frame-help-keys.js +72 -0
- package/dist/app-frame-help-keys.js.map +1 -0
- package/dist/app-frame-help-scroll.d.ts +8 -0
- package/dist/app-frame-help-scroll.d.ts.map +1 -0
- package/dist/app-frame-help-scroll.js +25 -0
- package/dist/app-frame-help-scroll.js.map +1 -0
- package/dist/app-frame-hint-sources.d.ts +14 -0
- package/dist/app-frame-hint-sources.d.ts.map +1 -0
- package/dist/app-frame-hint-sources.js +17 -0
- package/dist/app-frame-hint-sources.js.map +1 -0
- package/dist/app-frame-host.d.ts +5 -0
- package/dist/app-frame-host.d.ts.map +1 -0
- package/dist/app-frame-host.js +51 -0
- package/dist/app-frame-host.js.map +1 -0
- package/dist/app-frame-i18n-catalog.d.ts +4 -0
- package/dist/app-frame-i18n-catalog.d.ts.map +1 -0
- package/dist/app-frame-i18n-catalog.js +97 -0
- package/dist/app-frame-i18n-catalog.js.map +1 -0
- package/dist/app-frame-i18n.d.ts +2 -2
- package/dist/app-frame-i18n.d.ts.map +1 -1
- package/dist/app-frame-i18n.js +2 -95
- package/dist/app-frame-i18n.js.map +1 -1
- package/dist/app-frame-key-collision.d.ts +5 -0
- package/dist/app-frame-key-collision.d.ts.map +1 -0
- package/dist/app-frame-key-collision.js +54 -0
- package/dist/app-frame-key-collision.js.map +1 -0
- package/dist/app-frame-key-route-contract.d.ts +20 -0
- package/dist/app-frame-key-route-contract.d.ts.map +1 -0
- package/dist/app-frame-key-route-contract.js +2 -0
- package/dist/app-frame-key-route-contract.js.map +1 -0
- package/dist/app-frame-key-route-layers.d.ts +8 -0
- package/dist/app-frame-key-route-layers.d.ts.map +1 -0
- package/dist/app-frame-key-route-layers.js +38 -0
- package/dist/app-frame-key-route-layers.js.map +1 -0
- package/dist/app-frame-key-route-notifications.d.ts +5 -0
- package/dist/app-frame-key-route-notifications.d.ts.map +1 -0
- package/dist/app-frame-key-route-notifications.js +92 -0
- package/dist/app-frame-key-route-notifications.js.map +1 -0
- package/dist/app-frame-key-route-palette-help.d.ts +6 -0
- package/dist/app-frame-key-route-palette-help.d.ts.map +1 -0
- package/dist/app-frame-key-route-palette-help.js +67 -0
- package/dist/app-frame-key-route-palette-help.js.map +1 -0
- package/dist/app-frame-key-route-settings.d.ts +5 -0
- package/dist/app-frame-key-route-settings.d.ts.map +1 -0
- package/dist/app-frame-key-route-settings.js +88 -0
- package/dist/app-frame-key-route-settings.js.map +1 -0
- package/dist/app-frame-key-route-shared.d.ts +3 -0
- package/dist/app-frame-key-route-shared.d.ts.map +1 -0
- package/dist/app-frame-key-route-shared.js +35 -0
- package/dist/app-frame-key-route-shared.js.map +1 -0
- package/dist/app-frame-key-route-workspace.d.ts +5 -0
- package/dist/app-frame-key-route-workspace.d.ts.map +1 -0
- package/dist/app-frame-key-route-workspace.js +76 -0
- package/dist/app-frame-key-route-workspace.js.map +1 -0
- package/dist/app-frame-key-route.d.ts +9 -0
- package/dist/app-frame-key-route.d.ts.map +1 -0
- package/dist/app-frame-key-route.js +67 -0
- package/dist/app-frame-key-route.js.map +1 -0
- package/dist/app-frame-keymap.d.ts +12 -0
- package/dist/app-frame-keymap.d.ts.map +1 -0
- package/dist/app-frame-keymap.js +77 -0
- package/dist/app-frame-keymap.js.map +1 -0
- package/dist/app-frame-layer-context.d.ts +15 -0
- package/dist/app-frame-layer-context.d.ts.map +1 -0
- package/dist/app-frame-layer-context.js +23 -0
- package/dist/app-frame-layer-context.js.map +1 -0
- package/dist/app-frame-layer-metadata.d.ts +18 -0
- package/dist/app-frame-layer-metadata.d.ts.map +1 -0
- package/dist/app-frame-layer-metadata.js +67 -0
- package/dist/app-frame-layer-metadata.js.map +1 -0
- package/dist/app-frame-layers.d.ts +3 -42
- package/dist/app-frame-layers.d.ts.map +1 -1
- package/dist/app-frame-layers.js +2 -154
- package/dist/app-frame-layers.js.map +1 -1
- package/dist/app-frame-layers.part01.d.ts +37 -0
- package/dist/app-frame-layers.part01.d.ts.map +1 -0
- package/dist/app-frame-layers.part01.js +2 -0
- package/dist/app-frame-layers.part01.js.map +1 -0
- package/dist/app-frame-layers.part02.d.ts +7 -0
- package/dist/app-frame-layers.part02.d.ts.map +1 -0
- package/dist/app-frame-layers.part02.js +91 -0
- package/dist/app-frame-layers.part02.js.map +1 -0
- package/dist/app-frame-layers.part03.d.ts +7 -0
- package/dist/app-frame-layers.part03.d.ts.map +1 -0
- package/dist/app-frame-layers.part03.js +47 -0
- package/dist/app-frame-layers.part03.js.map +1 -0
- package/dist/app-frame-layers.part04.d.ts +4 -0
- package/dist/app-frame-layers.part04.d.ts.map +1 -0
- package/dist/app-frame-layers.part04.js +21 -0
- package/dist/app-frame-layers.part04.js.map +1 -0
- package/dist/app-frame-layout-contract.d.ts +46 -0
- package/dist/app-frame-layout-contract.d.ts.map +1 -0
- package/dist/app-frame-layout-contract.js +2 -0
- package/dist/app-frame-layout-contract.js.map +1 -0
- package/dist/app-frame-layout-runtime.d.ts +27 -0
- package/dist/app-frame-layout-runtime.d.ts.map +1 -0
- package/dist/app-frame-layout-runtime.js +37 -0
- package/dist/app-frame-layout-runtime.js.map +1 -0
- package/dist/app-frame-messages.d.ts +31 -0
- package/dist/app-frame-messages.d.ts.map +1 -0
- package/dist/app-frame-messages.js +86 -0
- package/dist/app-frame-messages.js.map +1 -0
- package/dist/app-frame-model-helpers.d.ts +6 -0
- package/dist/app-frame-model-helpers.d.ts.map +1 -0
- package/dist/app-frame-model-helpers.js +17 -0
- package/dist/app-frame-model-helpers.js.map +1 -0
- package/dist/app-frame-model-types.d.ts +88 -0
- package/dist/app-frame-model-types.d.ts.map +1 -0
- package/dist/app-frame-model-types.js +2 -0
- package/dist/app-frame-model-types.js.map +1 -0
- package/dist/app-frame-mouse-layout.d.ts +16 -0
- package/dist/app-frame-mouse-layout.d.ts.map +1 -0
- package/dist/app-frame-mouse-layout.js +63 -0
- package/dist/app-frame-mouse-layout.js.map +1 -0
- package/dist/app-frame-mouse-route.d.ts +17 -0
- package/dist/app-frame-mouse-route.d.ts.map +1 -0
- package/dist/app-frame-mouse-route.js +67 -0
- package/dist/app-frame-mouse-route.js.map +1 -0
- package/dist/app-frame-mouse-workspace.d.ts +14 -0
- package/dist/app-frame-mouse-workspace.d.ts.map +1 -0
- package/dist/app-frame-mouse-workspace.js +73 -0
- package/dist/app-frame-mouse-workspace.js.map +1 -0
- package/dist/app-frame-notification-contract.d.ts +18 -0
- package/dist/app-frame-notification-contract.d.ts.map +1 -0
- package/dist/app-frame-notification-contract.js +2 -0
- package/dist/app-frame-notification-contract.js.map +1 -0
- package/dist/app-frame-notification-runtime.d.ts +16 -0
- package/dist/app-frame-notification-runtime.d.ts.map +1 -0
- package/dist/app-frame-notification-runtime.js +40 -0
- package/dist/app-frame-notification-runtime.js.map +1 -0
- package/dist/app-frame-notification-state.d.ts +13 -0
- package/dist/app-frame-notification-state.d.ts.map +1 -0
- package/dist/app-frame-notification-state.js +64 -0
- package/dist/app-frame-notification-state.js.map +1 -0
- package/dist/app-frame-options.d.ts +112 -0
- package/dist/app-frame-options.d.ts.map +1 -0
- package/dist/app-frame-options.js +2 -0
- package/dist/app-frame-options.js.map +1 -0
- package/dist/app-frame-overlay-contract.d.ts +55 -0
- package/dist/app-frame-overlay-contract.d.ts.map +1 -0
- package/dist/app-frame-overlay-contract.js +3 -0
- package/dist/app-frame-overlay-contract.js.map +1 -0
- package/dist/app-frame-overlay-help.d.ts +13 -0
- package/dist/app-frame-overlay-help.d.ts.map +1 -0
- package/dist/app-frame-overlay-help.js +39 -0
- package/dist/app-frame-overlay-help.js.map +1 -0
- package/dist/app-frame-overlay-layout.d.ts +7 -0
- package/dist/app-frame-overlay-layout.d.ts.map +1 -0
- package/dist/app-frame-overlay-layout.js +90 -0
- package/dist/app-frame-overlay-layout.js.map +1 -0
- package/dist/app-frame-overlay-navigation.d.ts +11 -0
- package/dist/app-frame-overlay-navigation.d.ts.map +1 -0
- package/dist/app-frame-overlay-navigation.js +72 -0
- package/dist/app-frame-overlay-navigation.js.map +1 -0
- package/dist/app-frame-overlay-notifications.d.ts +10 -0
- package/dist/app-frame-overlay-notifications.d.ts.map +1 -0
- package/dist/app-frame-overlay-notifications.js +107 -0
- package/dist/app-frame-overlay-notifications.js.map +1 -0
- package/dist/app-frame-overlay-render-notifications.d.ts +5 -0
- package/dist/app-frame-overlay-render-notifications.d.ts.map +1 -0
- package/dist/app-frame-overlay-render-notifications.js +57 -0
- package/dist/app-frame-overlay-render-notifications.js.map +1 -0
- package/dist/app-frame-overlay-render-settings.d.ts +7 -0
- package/dist/app-frame-overlay-render-settings.d.ts.map +1 -0
- package/dist/app-frame-overlay-render-settings.js +44 -0
- package/dist/app-frame-overlay-render-settings.js.map +1 -0
- package/dist/app-frame-overlay-settings.d.ts +8 -0
- package/dist/app-frame-overlay-settings.d.ts.map +1 -0
- package/dist/app-frame-overlay-settings.js +63 -0
- package/dist/app-frame-overlay-settings.js.map +1 -0
- package/dist/app-frame-overlay-shell-theme.d.ts +10 -0
- package/dist/app-frame-overlay-shell-theme.d.ts.map +1 -0
- package/dist/app-frame-overlay-shell-theme.js +97 -0
- package/dist/app-frame-overlay-shell-theme.js.map +1 -0
- package/dist/app-frame-overlays.d.ts +9 -89
- package/dist/app-frame-overlays.d.ts.map +1 -1
- package/dist/app-frame-overlays.js +9 -571
- package/dist/app-frame-overlays.js.map +1 -1
- package/dist/app-frame-page-contract.d.ts +60 -0
- package/dist/app-frame-page-contract.d.ts.map +1 -0
- package/dist/app-frame-page-contract.js +2 -0
- package/dist/app-frame-page-contract.js.map +1 -0
- package/dist/app-frame-page-registry.d.ts +9 -0
- package/dist/app-frame-page-registry.d.ts.map +1 -0
- package/dist/app-frame-page-registry.js +19 -0
- package/dist/app-frame-page-registry.js.map +1 -0
- package/dist/app-frame-page-update.d.ts +5 -0
- package/dist/app-frame-page-update.d.ts.map +1 -0
- package/dist/app-frame-page-update.js +19 -0
- package/dist/app-frame-page-update.js.map +1 -0
- package/dist/app-frame-palette-selection.d.ts +10 -0
- package/dist/app-frame-palette-selection.d.ts.map +1 -0
- package/dist/app-frame-palette-selection.js +39 -0
- package/dist/app-frame-palette-selection.js.map +1 -0
- package/dist/app-frame-palette.d.ts +4 -9
- package/dist/app-frame-palette.d.ts.map +1 -1
- package/dist/app-frame-palette.js +4 -210
- package/dist/app-frame-palette.js.map +1 -1
- package/dist/app-frame-palette.part01.d.ts +10 -0
- package/dist/app-frame-palette.part01.d.ts.map +1 -0
- package/dist/app-frame-palette.part01.js +44 -0
- package/dist/app-frame-palette.part01.js.map +1 -0
- package/dist/app-frame-palette.part02.d.ts +6 -0
- package/dist/app-frame-palette.part02.d.ts.map +1 -0
- package/dist/app-frame-palette.part02.js +25 -0
- package/dist/app-frame-palette.part02.js.map +1 -0
- package/dist/app-frame-palette.part03.d.ts +5 -0
- package/dist/app-frame-palette.part03.d.ts.map +1 -0
- package/dist/app-frame-palette.part03.js +89 -0
- package/dist/app-frame-palette.part03.js.map +1 -0
- package/dist/app-frame-palette.part04.d.ts +5 -0
- package/dist/app-frame-palette.part04.d.ts.map +1 -0
- package/dist/app-frame-palette.part04.js +20 -0
- package/dist/app-frame-palette.part04.js.map +1 -0
- package/dist/app-frame-performance-runtime.d.ts +6 -0
- package/dist/app-frame-performance-runtime.d.ts.map +1 -0
- package/dist/app-frame-performance-runtime.js +30 -0
- package/dist/app-frame-performance-runtime.js.map +1 -0
- package/dist/app-frame-performance.d.ts +26 -0
- package/dist/app-frame-performance.d.ts.map +1 -0
- package/dist/app-frame-performance.js +44 -0
- package/dist/app-frame-performance.js.map +1 -0
- package/dist/app-frame-presentation.d.ts +20 -0
- package/dist/app-frame-presentation.d.ts.map +1 -0
- package/dist/app-frame-presentation.js +20 -0
- package/dist/app-frame-presentation.js.map +1 -0
- package/dist/app-frame-render-colors.d.ts +5 -0
- package/dist/app-frame-render-colors.d.ts.map +1 -0
- package/dist/app-frame-render-colors.js +117 -0
- package/dist/app-frame-render-colors.js.map +1 -0
- package/dist/app-frame-render-content.d.ts +11 -0
- package/dist/app-frame-render-content.d.ts.map +1 -0
- package/dist/app-frame-render-content.js +42 -0
- package/dist/app-frame-render-content.js.map +1 -0
- package/dist/app-frame-render-contract.d.ts +33 -0
- package/dist/app-frame-render-contract.d.ts.map +1 -0
- package/dist/app-frame-render-contract.js +2 -0
- package/dist/app-frame-render-contract.js.map +1 -0
- package/dist/app-frame-render-grid.d.ts +10 -0
- package/dist/app-frame-render-grid.d.ts.map +1 -0
- package/dist/app-frame-render-grid.js +51 -0
- package/dist/app-frame-render-grid.js.map +1 -0
- package/dist/app-frame-render-header.d.ts +10 -0
- package/dist/app-frame-render-header.d.ts.map +1 -0
- package/dist/app-frame-render-header.js +96 -0
- package/dist/app-frame-render-header.js.map +1 -0
- package/dist/app-frame-render-maximized.d.ts +11 -0
- package/dist/app-frame-render-maximized.d.ts.map +1 -0
- package/dist/app-frame-render-maximized.js +51 -0
- package/dist/app-frame-render-maximized.js.map +1 -0
- package/dist/app-frame-render-node.d.ts +9 -0
- package/dist/app-frame-render-node.d.ts.map +1 -0
- package/dist/app-frame-render-node.js +35 -0
- package/dist/app-frame-render-node.js.map +1 -0
- package/dist/app-frame-render-pane.d.ts +7 -0
- package/dist/app-frame-render-pane.d.ts.map +1 -0
- package/dist/app-frame-render-pane.js +36 -0
- package/dist/app-frame-render-pane.js.map +1 -0
- package/dist/app-frame-render-scratch.d.ts +7 -0
- package/dist/app-frame-render-scratch.d.ts.map +1 -0
- package/dist/app-frame-render-scratch.js +20 -0
- package/dist/app-frame-render-scratch.js.map +1 -0
- package/dist/app-frame-render-split.d.ts +7 -0
- package/dist/app-frame-render-split.d.ts.map +1 -0
- package/dist/app-frame-render-split.js +46 -0
- package/dist/app-frame-render-split.js.map +1 -0
- package/dist/app-frame-render-surface.d.ts +11 -0
- package/dist/app-frame-render-surface.d.ts.map +1 -0
- package/dist/app-frame-render-surface.js +80 -0
- package/dist/app-frame-render-surface.js.map +1 -0
- package/dist/app-frame-render-transition.d.ts +9 -0
- package/dist/app-frame-render-transition.d.ts.map +1 -0
- package/dist/app-frame-render-transition.js +46 -0
- package/dist/app-frame-render-transition.js.map +1 -0
- package/dist/app-frame-render.d.ts +9 -47
- package/dist/app-frame-render.d.ts.map +1 -1
- package/dist/app-frame-render.js +8 -533
- package/dist/app-frame-render.js.map +1 -1
- package/dist/app-frame-runtime.d.ts +22 -0
- package/dist/app-frame-runtime.d.ts.map +1 -0
- package/dist/app-frame-runtime.js +12 -0
- package/dist/app-frame-runtime.js.map +1 -0
- package/dist/app-frame-settings-contract.d.ts +44 -0
- package/dist/app-frame-settings-contract.d.ts.map +1 -0
- package/dist/app-frame-settings-contract.js +2 -0
- package/dist/app-frame-settings-contract.js.map +1 -0
- package/dist/app-frame-shell-command-contract.d.ts +28 -0
- package/dist/app-frame-shell-command-contract.d.ts.map +1 -0
- package/dist/app-frame-shell-command-contract.js +2 -0
- package/dist/app-frame-shell-command-contract.js.map +1 -0
- package/dist/app-frame-shell-command-interaction.d.ts +5 -0
- package/dist/app-frame-shell-command-interaction.d.ts.map +1 -0
- package/dist/app-frame-shell-command-interaction.js +70 -0
- package/dist/app-frame-shell-command-interaction.js.map +1 -0
- package/dist/app-frame-shell-command-ui.d.ts +5 -0
- package/dist/app-frame-shell-command-ui.d.ts.map +1 -0
- package/dist/app-frame-shell-command-ui.js +103 -0
- package/dist/app-frame-shell-command-ui.js.map +1 -0
- package/dist/app-frame-shell-command.d.ts +9 -0
- package/dist/app-frame-shell-command.d.ts.map +1 -0
- package/dist/app-frame-shell-command.js +48 -0
- package/dist/app-frame-shell-command.js.map +1 -0
- package/dist/app-frame-theme-contract.d.ts +74 -0
- package/dist/app-frame-theme-contract.d.ts.map +1 -0
- package/dist/app-frame-theme-contract.js +6 -0
- package/dist/app-frame-theme-contract.js.map +1 -0
- package/dist/app-frame-theme-mode.d.ts +28 -0
- package/dist/app-frame-theme-mode.d.ts.map +1 -0
- package/dist/app-frame-theme-mode.js +50 -0
- package/dist/app-frame-theme-mode.js.map +1 -0
- package/dist/app-frame-theme-run-contract.d.ts +9 -0
- package/dist/app-frame-theme-run-contract.d.ts.map +1 -0
- package/dist/app-frame-theme-run-contract.js +2 -0
- package/dist/app-frame-theme-run-contract.js.map +1 -0
- package/dist/app-frame-theme-runtime.d.ts +24 -0
- package/dist/app-frame-theme-runtime.d.ts.map +1 -0
- package/dist/app-frame-theme-runtime.js +109 -0
- package/dist/app-frame-theme-runtime.js.map +1 -0
- package/dist/app-frame-transition-contract.d.ts +5 -0
- package/dist/app-frame-transition-contract.d.ts.map +1 -0
- package/dist/app-frame-transition-contract.js +2 -0
- package/dist/app-frame-transition-contract.js.map +1 -0
- package/dist/app-frame-transition-update.d.ts +12 -0
- package/dist/app-frame-transition-update.d.ts.map +1 -0
- package/dist/app-frame-transition-update.js +46 -0
- package/dist/app-frame-transition-update.js.map +1 -0
- package/dist/app-frame-types.d.ts +5 -386
- package/dist/app-frame-types.d.ts.map +1 -1
- package/dist/app-frame-types.js +2 -89
- package/dist/app-frame-types.js.map +1 -1
- package/dist/app-frame-utils.d.ts +4 -17
- package/dist/app-frame-utils.d.ts.map +1 -1
- package/dist/app-frame-utils.js +3 -75
- package/dist/app-frame-utils.js.map +1 -1
- package/dist/app-frame-view-base.d.ts +22 -0
- package/dist/app-frame-view-base.d.ts.map +1 -0
- package/dist/app-frame-view-base.js +47 -0
- package/dist/app-frame-view-base.js.map +1 -0
- package/dist/app-frame-view-body.d.ts +12 -0
- package/dist/app-frame-view-body.d.ts.map +1 -0
- package/dist/app-frame-view-body.js +27 -0
- package/dist/app-frame-view-body.js.map +1 -0
- package/dist/app-frame-view-contract.d.ts +24 -0
- package/dist/app-frame-view-contract.d.ts.map +1 -0
- package/dist/app-frame-view-contract.js +2 -0
- package/dist/app-frame-view-contract.js.map +1 -0
- package/dist/app-frame-view-modals.d.ts +6 -0
- package/dist/app-frame-view-modals.d.ts.map +1 -0
- package/dist/app-frame-view-modals.js +59 -0
- package/dist/app-frame-view-modals.js.map +1 -0
- package/dist/app-frame-view-overlays.d.ts +6 -0
- package/dist/app-frame-view-overlays.d.ts.map +1 -0
- package/dist/app-frame-view-overlays.js +64 -0
- package/dist/app-frame-view-overlays.js.map +1 -0
- package/dist/app-frame-workspace-layout.d.ts +33 -0
- package/dist/app-frame-workspace-layout.d.ts.map +1 -0
- package/dist/app-frame-workspace-layout.js +58 -0
- package/dist/app-frame-workspace-layout.js.map +1 -0
- package/dist/app-frame-workspace-tree.d.ts +11 -0
- package/dist/app-frame-workspace-tree.d.ts.map +1 -0
- package/dist/app-frame-workspace-tree.js +29 -0
- package/dist/app-frame-workspace-tree.js.map +1 -0
- package/dist/app-frame.d.ts +3 -375
- package/dist/app-frame.d.ts.map +1 -1
- package/dist/app-frame.js +2 -1806
- package/dist/app-frame.js.map +1 -1
- package/dist/browsable-list.d.ts +4 -158
- package/dist/browsable-list.d.ts.map +1 -1
- package/dist/browsable-list.js +3 -214
- package/dist/browsable-list.js.map +1 -1
- package/dist/browsable-list.part01.d.ts +86 -0
- package/dist/browsable-list.part01.d.ts.map +1 -0
- package/dist/browsable-list.part01.js +45 -0
- package/dist/browsable-list.part01.js.map +1 -0
- package/dist/browsable-list.part02.d.ts +49 -0
- package/dist/browsable-list.part02.d.ts.map +1 -0
- package/dist/browsable-list.part02.js +100 -0
- package/dist/browsable-list.part02.js.map +1 -0
- package/dist/browsable-list.part03.d.ts +43 -0
- package/dist/browsable-list.part03.d.ts.map +1 -0
- package/dist/browsable-list.part03.js +77 -0
- package/dist/browsable-list.part03.js.map +1 -0
- package/dist/canvas.d.ts +2 -29
- package/dist/canvas.d.ts.map +1 -1
- package/dist/canvas.js +1 -276
- package/dist/canvas.js.map +1 -1
- package/dist/canvas.part01.d.ts +45 -0
- package/dist/canvas.part01.d.ts.map +1 -0
- package/dist/canvas.part01.js +80 -0
- package/dist/canvas.part01.js.map +1 -0
- package/dist/canvas.part02.d.ts +7 -0
- package/dist/canvas.part02.d.ts.map +1 -0
- package/dist/canvas.part02.js +86 -0
- package/dist/canvas.part02.js.map +1 -0
- package/dist/canvas.part03.d.ts +8 -0
- package/dist/canvas.part03.d.ts.map +1 -0
- package/dist/canvas.part03.js +121 -0
- package/dist/canvas.part03.js.map +1 -0
- package/dist/command-palette.d.ts +5 -160
- package/dist/command-palette.d.ts.map +1 -1
- package/dist/command-palette.js +4 -301
- package/dist/command-palette.js.map +1 -1
- package/dist/command-palette.part01.d.ts +59 -0
- package/dist/command-palette.part01.d.ts.map +1 -0
- package/dist/command-palette.part01.js +65 -0
- package/dist/command-palette.part01.js.map +1 -0
- package/dist/command-palette.part02.d.ts +45 -0
- package/dist/command-palette.part02.d.ts.map +1 -0
- package/dist/command-palette.part02.js +111 -0
- package/dist/command-palette.part02.js.map +1 -0
- package/dist/command-palette.part03.d.ts +31 -0
- package/dist/command-palette.part03.d.ts.map +1 -0
- package/dist/command-palette.part03.js +88 -0
- package/dist/command-palette.part03.js.map +1 -0
- package/dist/command-palette.part04.d.ts +34 -0
- package/dist/command-palette.part04.d.ts.map +1 -0
- package/dist/command-palette.part04.js +43 -0
- package/dist/command-palette.part04.js.map +1 -0
- package/dist/css/text-style-token.d.ts +20 -0
- package/dist/css/text-style-token.d.ts.map +1 -0
- package/dist/css/text-style-token.js +83 -0
- package/dist/css/text-style-token.js.map +1 -0
- package/dist/css/text-style.d.ts +4 -19
- package/dist/css/text-style.d.ts.map +1 -1
- package/dist/css/text-style.js +6 -74
- package/dist/css/text-style.js.map +1 -1
- package/dist/driver-contract.d.ts +38 -0
- package/dist/driver-contract.d.ts.map +1 -0
- package/dist/driver-contract.js +2 -0
- package/dist/driver-contract.js.map +1 -0
- package/dist/driver-harness-api.d.ts +4 -0
- package/dist/driver-harness-api.d.ts.map +1 -0
- package/dist/driver-harness-api.js +34 -0
- package/dist/driver-harness-api.js.map +1 -0
- package/dist/driver-harness-command.d.ts +5 -0
- package/dist/driver-harness-command.d.ts.map +1 -0
- package/dist/driver-harness-command.js +60 -0
- package/dist/driver-harness-command.js.map +1 -0
- package/dist/driver-harness-contract.d.ts +87 -0
- package/dist/driver-harness-contract.d.ts.map +1 -0
- package/dist/driver-harness-contract.js +2 -0
- package/dist/driver-harness-contract.js.map +1 -0
- package/dist/driver-harness-state.d.ts +8 -0
- package/dist/driver-harness-state.d.ts.map +1 -0
- package/dist/driver-harness-state.js +42 -0
- package/dist/driver-harness-state.js.map +1 -0
- package/dist/driver-harness.d.ts +11 -0
- package/dist/driver-harness.d.ts.map +1 -0
- package/dist/driver-harness.js +91 -0
- package/dist/driver-harness.js.map +1 -0
- package/dist/driver-mouse.d.ts +13 -0
- package/dist/driver-mouse.d.ts.map +1 -0
- package/dist/driver-mouse.js +42 -0
- package/dist/driver-mouse.js.map +1 -0
- package/dist/driver-runtime.d.ts +16 -0
- package/dist/driver-runtime.d.ts.map +1 -0
- package/dist/driver-runtime.js +53 -0
- package/dist/driver-runtime.js.map +1 -0
- package/dist/driver-script-contract.d.ts +73 -0
- package/dist/driver-script-contract.d.ts.map +1 -0
- package/dist/driver-script-contract.js +2 -0
- package/dist/driver-script-contract.js.map +1 -0
- package/dist/driver-script.d.ts +12 -0
- package/dist/driver-script.d.ts.map +1 -0
- package/dist/driver-script.js +71 -0
- package/dist/driver-script.js.map +1 -0
- package/dist/driver.d.ts +5 -209
- package/dist/driver.d.ts.map +1 -1
- package/dist/driver.js +4 -418
- package/dist/driver.js.map +1 -1
- package/dist/eventbus-command.d.ts +6 -0
- package/dist/eventbus-command.d.ts.map +1 -0
- package/dist/eventbus-command.js +94 -0
- package/dist/eventbus-command.js.map +1 -0
- package/dist/eventbus-contract.d.ts +41 -0
- package/dist/eventbus-contract.d.ts.map +1 -0
- package/dist/eventbus-contract.js +2 -0
- package/dist/eventbus-contract.js.map +1 -0
- package/dist/eventbus-create.d.ts +5 -0
- package/dist/eventbus-create.d.ts.map +1 -0
- package/dist/eventbus-create.js +75 -0
- package/dist/eventbus-create.js.map +1 -0
- package/dist/eventbus-io.d.ts +5 -0
- package/dist/eventbus-io.d.ts.map +1 -0
- package/dist/eventbus-io.js +31 -0
- package/dist/eventbus-io.js.map +1 -0
- package/dist/eventbus-options.d.ts +20 -0
- package/dist/eventbus-options.d.ts.map +1 -0
- package/dist/eventbus-options.js +2 -0
- package/dist/eventbus-options.js.map +1 -0
- package/dist/eventbus-pulse.d.ts +6 -0
- package/dist/eventbus-pulse.d.ts.map +1 -0
- package/dist/eventbus-pulse.js +34 -0
- package/dist/eventbus-pulse.js.map +1 -0
- package/dist/eventbus-report.d.ts +4 -0
- package/dist/eventbus-report.d.ts.map +1 -0
- package/dist/eventbus-report.js +19 -0
- package/dist/eventbus-report.js.map +1 -0
- package/dist/eventbus-state.d.ts +26 -0
- package/dist/eventbus-state.d.ts.map +1 -0
- package/dist/eventbus-state.js +97 -0
- package/dist/eventbus-state.js.map +1 -0
- package/dist/eventbus.d.ts +7 -174
- package/dist/eventbus.d.ts.map +1 -1
- package/dist/eventbus.js +5 -343
- package/dist/eventbus.js.map +1 -1
- package/dist/flex.d.ts +2 -53
- package/dist/flex.d.ts.map +1 -1
- package/dist/flex.js +1 -328
- package/dist/flex.js.map +1 -1
- package/dist/flex.part01.d.ts +79 -0
- package/dist/flex.part01.d.ts.map +1 -0
- package/dist/flex.part01.js +30 -0
- package/dist/flex.part01.js.map +1 -0
- package/dist/flex.part02.d.ts +8 -0
- package/dist/flex.part02.d.ts.map +1 -0
- package/dist/flex.part02.js +80 -0
- package/dist/flex.part02.js.map +1 -0
- package/dist/flex.part03.d.ts +9 -0
- package/dist/flex.part03.d.ts.map +1 -0
- package/dist/flex.part03.js +105 -0
- package/dist/flex.part03.js.map +1 -0
- package/dist/flex.part04.d.ts +7 -0
- package/dist/flex.part04.d.ts.map +1 -0
- package/dist/flex.part04.js +81 -0
- package/dist/flex.part04.js.map +1 -0
- package/dist/flex.part05.d.ts +5 -0
- package/dist/flex.part05.d.ts.map +1 -0
- package/dist/flex.part05.js +52 -0
- package/dist/flex.part05.js.map +1 -0
- package/dist/focus-map-inspection.d.ts +30 -0
- package/dist/focus-map-inspection.d.ts.map +1 -0
- package/dist/focus-map-inspection.js +64 -0
- package/dist/focus-map-inspection.js.map +1 -0
- package/dist/focus-map.d.ts +3 -29
- package/dist/focus-map.d.ts.map +1 -1
- package/dist/focus-map.js +5 -73
- package/dist/focus-map.js.map +1 -1
- package/dist/help-surface.d.ts +15 -0
- package/dist/help-surface.d.ts.map +1 -0
- package/dist/help-surface.js +31 -0
- package/dist/help-surface.js.map +1 -0
- package/dist/help-text.d.ts +27 -0
- package/dist/help-text.d.ts.map +1 -0
- package/dist/help-text.js +78 -0
- package/dist/help-text.js.map +1 -0
- package/dist/help-types.d.ts +27 -0
- package/dist/help-types.d.ts.map +1 -0
- package/dist/help-types.js +2 -0
- package/dist/help-types.js.map +1 -0
- package/dist/help.d.ts +6 -112
- package/dist/help.d.ts.map +1 -1
- package/dist/help.js +5 -165
- package/dist/help.js.map +1 -1
- package/dist/input-map.d.ts +4 -67
- package/dist/input-map.d.ts.map +1 -1
- package/dist/input-map.js +3 -160
- package/dist/input-map.js.map +1 -1
- package/dist/input-map.part01.d.ts +68 -0
- package/dist/input-map.part01.d.ts.map +1 -0
- package/dist/input-map.part01.js +36 -0
- package/dist/input-map.part01.js.map +1 -0
- package/dist/input-map.part02.d.ts +5 -0
- package/dist/input-map.part02.d.ts.map +1 -0
- package/dist/input-map.part02.js +85 -0
- package/dist/input-map.part02.js.map +1 -0
- package/dist/input-map.part03.d.ts +15 -0
- package/dist/input-map.part03.d.ts.map +1 -0
- package/dist/input-map.part03.js +33 -0
- package/dist/input-map.part03.js.map +1 -0
- package/dist/input-map.part04.d.ts +3 -0
- package/dist/input-map.part04.d.ts.map +1 -0
- package/dist/input-map.part04.js +7 -0
- package/dist/input-map.part04.js.map +1 -0
- package/dist/inputstack-types.d.ts +86 -0
- package/dist/inputstack-types.d.ts.map +1 -0
- package/dist/inputstack-types.js +3 -0
- package/dist/inputstack-types.js.map +1 -0
- package/dist/inputstack.d.ts +2 -59
- package/dist/inputstack.d.ts.map +1 -1
- package/dist/inputstack.js.map +1 -1
- package/dist/keybindings.d.ts +4 -152
- package/dist/keybindings.d.ts.map +1 -1
- package/dist/keybindings.js +2 -199
- package/dist/keybindings.js.map +1 -1
- package/dist/keybindings.part01.d.ts +56 -0
- package/dist/keybindings.part01.d.ts.map +1 -0
- package/dist/keybindings.part01.js +5 -0
- package/dist/keybindings.part01.js.map +1 -0
- package/dist/keybindings.part02.d.ts +68 -0
- package/dist/keybindings.part02.d.ts.map +1 -0
- package/dist/keybindings.part02.js +2 -0
- package/dist/keybindings.part02.js.map +1 -0
- package/dist/keybindings.part03.d.ts +34 -0
- package/dist/keybindings.part03.d.ts.map +1 -0
- package/dist/keybindings.part03.js +101 -0
- package/dist/keybindings.part03.js.map +1 -0
- package/dist/keybindings.part04.d.ts +13 -0
- package/dist/keybindings.part04.d.ts.map +1 -0
- package/dist/keybindings.part04.js +102 -0
- package/dist/keybindings.part04.js.map +1 -0
- package/dist/layout-preset-factories.d.ts +8 -0
- package/dist/layout-preset-factories.d.ts.map +1 -0
- package/dist/layout-preset-factories.js +28 -0
- package/dist/layout-preset-factories.js.map +1 -0
- package/dist/layout-preset.d.ts +1 -6
- package/dist/layout-preset.d.ts.map +1 -1
- package/dist/layout-preset.js +1 -30
- package/dist/layout-preset.js.map +1 -1
- package/dist/layout-stack.d.ts +5 -0
- package/dist/layout-stack.d.ts.map +1 -0
- package/dist/layout-stack.js +37 -0
- package/dist/layout-stack.js.map +1 -0
- package/dist/layout.d.ts +1 -16
- package/dist/layout.d.ts.map +1 -1
- package/dist/layout.js +1 -59
- package/dist/layout.js.map +1 -1
- package/dist/motion/reconciler-geometry.d.ts +12 -0
- package/dist/motion/reconciler-geometry.d.ts.map +1 -0
- package/dist/motion/reconciler-geometry.js +39 -0
- package/dist/motion/reconciler-geometry.js.map +1 -0
- package/dist/motion/reconciler.d.ts.map +1 -1
- package/dist/motion/reconciler.js +1 -35
- package/dist/motion/reconciler.js.map +1 -1
- package/dist/notification-card-content.d.ts +12 -0
- package/dist/notification-card-content.d.ts.map +1 -0
- package/dist/notification-card-content.js +76 -0
- package/dist/notification-card-content.js.map +1 -0
- package/dist/notification-card-metrics.d.ts +5 -0
- package/dist/notification-card-metrics.d.ts.map +1 -0
- package/dist/notification-card-metrics.js +33 -0
- package/dist/notification-card-metrics.js.map +1 -0
- package/dist/notification-card.d.ts.map +1 -1
- package/dist/notification-card.js +16 -96
- package/dist/notification-card.js.map +1 -1
- package/dist/pager.d.ts +4 -164
- package/dist/pager.d.ts.map +1 -1
- package/dist/pager.js +3 -253
- package/dist/pager.js.map +1 -1
- package/dist/pager.part01.d.ts +75 -0
- package/dist/pager.part01.d.ts.map +1 -0
- package/dist/pager.part01.js +60 -0
- package/dist/pager.part01.js.map +1 -0
- package/dist/pager.part02.d.ts +54 -0
- package/dist/pager.part02.d.ts.map +1 -0
- package/dist/pager.part02.js +101 -0
- package/dist/pager.part02.js.map +1 -0
- package/dist/pager.part03.d.ts +59 -0
- package/dist/pager.part03.d.ts.map +1 -0
- package/dist/pager.part03.js +98 -0
- package/dist/pager.part03.js.map +1 -0
- package/dist/panel-label.d.ts +4 -0
- package/dist/panel-label.d.ts.map +1 -0
- package/dist/panel-label.js +11 -0
- package/dist/panel-label.js.map +1 -0
- package/dist/panel-types.d.ts +23 -0
- package/dist/panel-types.d.ts.map +1 -0
- package/dist/panel-types.js +2 -0
- package/dist/panel-types.js.map +1 -0
- package/dist/panels.d.ts +2 -66
- package/dist/panels.d.ts.map +1 -1
- package/dist/panels.js +3 -12
- package/dist/panels.js.map +1 -1
- package/dist/pipeline/middleware/surface-shaders.d.ts +3 -36
- package/dist/pipeline/middleware/surface-shaders.d.ts.map +1 -1
- package/dist/pipeline/middleware/surface-shaders.js +2 -165
- package/dist/pipeline/middleware/surface-shaders.js.map +1 -1
- package/dist/pipeline/middleware/surface-shaders.part01.d.ts +36 -0
- package/dist/pipeline/middleware/surface-shaders.part01.d.ts.map +1 -0
- package/dist/pipeline/middleware/surface-shaders.part01.js +51 -0
- package/dist/pipeline/middleware/surface-shaders.part01.js.map +1 -0
- package/dist/pipeline/middleware/surface-shaders.part02.d.ts +8 -0
- package/dist/pipeline/middleware/surface-shaders.part02.d.ts.map +1 -0
- package/dist/pipeline/middleware/surface-shaders.part02.js +63 -0
- package/dist/pipeline/middleware/surface-shaders.part02.js.map +1 -0
- package/dist/pipeline/middleware/surface-shaders.part03.d.ts +12 -0
- package/dist/pipeline/middleware/surface-shaders.part03.d.ts.map +1 -0
- package/dist/pipeline/middleware/surface-shaders.part03.js +57 -0
- package/dist/pipeline/middleware/surface-shaders.part03.js.map +1 -0
- package/dist/runtime-binding.d.ts +4 -57
- package/dist/runtime-binding.d.ts.map +1 -1
- package/dist/runtime-binding.js +3 -281
- package/dist/runtime-binding.js.map +1 -1
- package/dist/runtime-binding.part01.d.ts +51 -0
- package/dist/runtime-binding.part01.d.ts.map +1 -0
- package/dist/runtime-binding.part01.js +52 -0
- package/dist/runtime-binding.part01.js.map +1 -0
- package/dist/runtime-binding.part02.d.ts +9 -0
- package/dist/runtime-binding.part02.d.ts.map +1 -0
- package/dist/runtime-binding.part02.js +47 -0
- package/dist/runtime-binding.part02.js.map +1 -0
- package/dist/runtime-binding.part03.d.ts +4 -0
- package/dist/runtime-binding.part03.d.ts.map +1 -0
- package/dist/runtime-binding.part03.js +65 -0
- package/dist/runtime-binding.part03.js.map +1 -0
- package/dist/runtime-binding.part04.d.ts +13 -0
- package/dist/runtime-binding.part04.d.ts.map +1 -0
- package/dist/runtime-binding.part04.js +55 -0
- package/dist/runtime-binding.part04.js.map +1 -0
- package/dist/runtime-binding.part05.d.ts +8 -0
- package/dist/runtime-binding.part05.d.ts.map +1 -0
- package/dist/runtime-binding.part05.js +79 -0
- package/dist/runtime-binding.part05.js.map +1 -0
- package/dist/runtime-buffers.d.ts +13 -0
- package/dist/runtime-buffers.d.ts.map +1 -0
- package/dist/runtime-buffers.js +55 -0
- package/dist/runtime-buffers.js.map +1 -0
- package/dist/runtime-bus.d.ts +6 -0
- package/dist/runtime-bus.d.ts.map +1 -0
- package/dist/runtime-bus.js +47 -0
- package/dist/runtime-bus.js.map +1 -0
- package/dist/runtime-commands.d.ts +31 -0
- package/dist/runtime-commands.d.ts.map +1 -0
- package/dist/runtime-commands.js +12 -0
- package/dist/runtime-commands.js.map +1 -0
- package/dist/runtime-contract.d.ts +54 -0
- package/dist/runtime-contract.d.ts.map +1 -0
- package/dist/runtime-contract.js +2 -0
- package/dist/runtime-contract.js.map +1 -0
- package/dist/runtime-crash.d.ts +10 -0
- package/dist/runtime-crash.d.ts.map +1 -0
- package/dist/runtime-crash.js +46 -0
- package/dist/runtime-crash.js.map +1 -0
- package/dist/runtime-engine-buffers.d.ts +32 -0
- package/dist/runtime-engine-buffers.d.ts.map +1 -0
- package/dist/runtime-engine-buffers.js +48 -0
- package/dist/runtime-engine-buffers.js.map +1 -0
- package/dist/runtime-engine-component-contract.d.ts +45 -0
- package/dist/runtime-engine-component-contract.d.ts.map +1 -0
- package/dist/runtime-engine-component-contract.js +2 -0
- package/dist/runtime-engine-component-contract.js.map +1 -0
- package/dist/runtime-engine-component-create.d.ts +4 -0
- package/dist/runtime-engine-component-create.d.ts.map +1 -0
- package/dist/runtime-engine-component-create.js +39 -0
- package/dist/runtime-engine-component-create.js.map +1 -0
- package/dist/runtime-engine-component-input.d.ts +7 -0
- package/dist/runtime-engine-component-input.d.ts.map +1 -0
- package/dist/runtime-engine-component-input.js +39 -0
- package/dist/runtime-engine-component-input.js.map +1 -0
- package/dist/runtime-engine-component-layout.d.ts +25 -0
- package/dist/runtime-engine-component-layout.d.ts.map +1 -0
- package/dist/runtime-engine-component-layout.js +23 -0
- package/dist/runtime-engine-component-layout.js.map +1 -0
- package/dist/runtime-engine-hit-test.d.ts +4 -0
- package/dist/runtime-engine-hit-test.d.ts.map +1 -0
- package/dist/runtime-engine-hit-test.js +40 -0
- package/dist/runtime-engine-hit-test.js.map +1 -0
- package/dist/runtime-engine-input.d.ts +53 -0
- package/dist/runtime-engine-input.d.ts.map +1 -0
- package/dist/runtime-engine-input.js +9 -0
- package/dist/runtime-engine-input.js.map +1 -0
- package/dist/runtime-engine-layouts.d.ts +25 -0
- package/dist/runtime-engine-layouts.d.ts.map +1 -0
- package/dist/runtime-engine-layouts.js +72 -0
- package/dist/runtime-engine-layouts.js.map +1 -0
- package/dist/runtime-engine-route.d.ts +6 -0
- package/dist/runtime-engine-route.d.ts.map +1 -0
- package/dist/runtime-engine-route.js +54 -0
- package/dist/runtime-engine-route.js.map +1 -0
- package/dist/runtime-engine-state.d.ts +11 -0
- package/dist/runtime-engine-state.d.ts.map +1 -0
- package/dist/runtime-engine-state.js +15 -0
- package/dist/runtime-engine-state.js.map +1 -0
- package/dist/runtime-engine-view-stack.d.ts +25 -0
- package/dist/runtime-engine-view-stack.d.ts.map +1 -0
- package/dist/runtime-engine-view-stack.js +70 -0
- package/dist/runtime-engine-view-stack.js.map +1 -0
- package/dist/runtime-engine.d.ts +11 -222
- package/dist/runtime-engine.d.ts.map +1 -1
- package/dist/runtime-engine.js +10 -467
- package/dist/runtime-engine.js.map +1 -1
- package/dist/runtime-format.d.ts +7 -0
- package/dist/runtime-format.d.ts.map +1 -0
- package/dist/runtime-format.js +35 -0
- package/dist/runtime-format.js.map +1 -0
- package/dist/runtime-input.d.ts +8 -0
- package/dist/runtime-input.d.ts.map +1 -0
- package/dist/runtime-input.js +52 -0
- package/dist/runtime-input.js.map +1 -0
- package/dist/runtime-loop.d.ts +5 -0
- package/dist/runtime-loop.d.ts.map +1 -0
- package/dist/runtime-loop.js +90 -0
- package/dist/runtime-loop.js.map +1 -0
- package/dist/runtime-messages.d.ts +38 -0
- package/dist/runtime-messages.d.ts.map +1 -0
- package/dist/runtime-messages.js +19 -0
- package/dist/runtime-messages.js.map +1 -0
- package/dist/runtime-pipeline.d.ts +11 -0
- package/dist/runtime-pipeline.d.ts.map +1 -0
- package/dist/runtime-pipeline.js +37 -0
- package/dist/runtime-pipeline.js.map +1 -0
- package/dist/runtime-render.d.ts +5 -0
- package/dist/runtime-render.d.ts.map +1 -0
- package/dist/runtime-render.js +115 -0
- package/dist/runtime-render.js.map +1 -0
- package/dist/runtime-shutdown.d.ts +9 -0
- package/dist/runtime-shutdown.d.ts.map +1 -0
- package/dist/runtime-shutdown.js +65 -0
- package/dist/runtime-shutdown.js.map +1 -0
- package/dist/runtime-startup.d.ts +10 -0
- package/dist/runtime-startup.d.ts.map +1 -0
- package/dist/runtime-startup.js +35 -0
- package/dist/runtime-startup.js.map +1 -0
- package/dist/runtime.d.ts +3 -21
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +2 -531
- package/dist/runtime.js.map +1 -1
- package/dist/status-bar-layout.d.ts +19 -0
- package/dist/status-bar-layout.d.ts.map +1 -0
- package/dist/status-bar-layout.js +71 -0
- package/dist/status-bar-layout.js.map +1 -0
- package/dist/status-bar.d.ts +2 -13
- package/dist/status-bar.d.ts.map +1 -1
- package/dist/status-bar.js +2 -83
- package/dist/status-bar.js.map +1 -1
- package/dist/subapp/adapter.d.ts +12 -0
- package/dist/subapp/adapter.d.ts.map +1 -0
- package/dist/subapp/adapter.js +17 -0
- package/dist/subapp/adapter.js.map +1 -0
- package/dist/subapp/mount.d.ts +1 -17
- package/dist/subapp/mount.d.ts.map +1 -1
- package/dist/subapp/mount.js +1 -22
- package/dist/subapp/mount.js.map +1 -1
- package/dist/surface-diff-engine.d.ts +5 -0
- package/dist/surface-diff-engine.d.ts.map +1 -0
- package/dist/surface-diff-engine.js +72 -0
- package/dist/surface-diff-engine.js.map +1 -0
- package/dist/surface-diff.d.ts +4 -35
- package/dist/surface-diff.d.ts.map +1 -1
- package/dist/surface-diff.js +3 -199
- package/dist/surface-diff.js.map +1 -1
- package/dist/surface-diff.part01.d.ts +34 -0
- package/dist/surface-diff.part01.d.ts.map +1 -0
- package/dist/surface-diff.part01.js +11 -0
- package/dist/surface-diff.part01.js.map +1 -0
- package/dist/surface-diff.part02.d.ts +8 -0
- package/dist/surface-diff.part02.d.ts.map +1 -0
- package/dist/surface-diff.part02.js +73 -0
- package/dist/surface-diff.part02.js.map +1 -0
- package/dist/surface-diff.part03.d.ts +12 -0
- package/dist/surface-diff.part03.d.ts.map +1 -0
- package/dist/surface-diff.part03.js +63 -0
- package/dist/surface-diff.part03.js.map +1 -0
- package/dist/timeline-builder.d.ts +3 -0
- package/dist/timeline-builder.d.ts.map +1 -0
- package/dist/timeline-builder.js +23 -0
- package/dist/timeline-builder.js.map +1 -0
- package/dist/timeline-compile.d.ts +3 -0
- package/dist/timeline-compile.d.ts.map +1 -0
- package/dist/timeline-compile.js +60 -0
- package/dist/timeline-compile.js.map +1 -0
- package/dist/timeline-contract.d.ts +102 -0
- package/dist/timeline-contract.d.ts.map +1 -0
- package/dist/timeline-contract.js +2 -0
- package/dist/timeline-contract.js.map +1 -0
- package/dist/timeline-position.d.ts +10 -0
- package/dist/timeline-position.d.ts.map +1 -0
- package/dist/timeline-position.js +55 -0
- package/dist/timeline-position.js.map +1 -0
- package/dist/timeline-runtime.d.ts +3 -0
- package/dist/timeline-runtime.d.ts.map +1 -0
- package/dist/timeline-runtime.js +63 -0
- package/dist/timeline-runtime.js.map +1 -0
- package/dist/timeline-track-step.d.ts +3 -0
- package/dist/timeline-track-step.d.ts.map +1 -0
- package/dist/timeline-track-step.js +58 -0
- package/dist/timeline-track-step.js.map +1 -0
- package/dist/timeline-utils.d.ts +2 -0
- package/dist/timeline-utils.d.ts.map +1 -0
- package/dist/timeline-utils.js +6 -0
- package/dist/timeline-utils.js.map +1 -0
- package/dist/timeline.d.ts +5 -186
- package/dist/timeline.d.ts.map +1 -1
- package/dist/timeline.js +4 -329
- package/dist/timeline.js.map +1 -1
- package/dist/types.d.ts +4 -118
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -32
- package/dist/types.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { BijouContext } from '@flyingrobots/bijou';
|
|
2
|
+
/** A single item in the command palette. */
|
|
3
|
+
export interface CommandPaletteItem {
|
|
4
|
+
/** Unique identifier for the command. */
|
|
5
|
+
readonly id: string;
|
|
6
|
+
/** Display label shown in the list. */
|
|
7
|
+
readonly label: string;
|
|
8
|
+
/** Optional description displayed after the label. */
|
|
9
|
+
readonly description?: string;
|
|
10
|
+
/** Optional category shown in brackets before the label. */
|
|
11
|
+
readonly category?: string;
|
|
12
|
+
/** Optional keyboard shortcut hint displayed at the end. */
|
|
13
|
+
readonly shortcut?: string;
|
|
14
|
+
/** Optional hidden text included in filtering but not rendered. */
|
|
15
|
+
readonly searchText?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Immutable state for the command palette widget. */
|
|
18
|
+
export interface CommandPaletteState {
|
|
19
|
+
/** All registered command items (unfiltered). */
|
|
20
|
+
readonly items: readonly CommandPaletteItem[];
|
|
21
|
+
/** Items matching the current query. */
|
|
22
|
+
readonly filteredItems: readonly CommandPaletteItem[];
|
|
23
|
+
/** Current filter query string. */
|
|
24
|
+
readonly query: string;
|
|
25
|
+
/** Index of the focused item within `filteredItems`. */
|
|
26
|
+
readonly focusIndex: number;
|
|
27
|
+
/** Vertical scroll offset (first visible item index). */
|
|
28
|
+
readonly scrollY: number;
|
|
29
|
+
/** Maximum number of visible items. */
|
|
30
|
+
readonly height: number;
|
|
31
|
+
}
|
|
32
|
+
/** Options for rendering the command palette view. */
|
|
33
|
+
export interface CommandPaletteOptions {
|
|
34
|
+
/** Total width in columns. */
|
|
35
|
+
readonly width: number;
|
|
36
|
+
/** Show item categories in brackets (default: true). */
|
|
37
|
+
readonly showCategory?: boolean;
|
|
38
|
+
/** Show shortcut hints (default: true). */
|
|
39
|
+
readonly showShortcut?: boolean;
|
|
40
|
+
/** Bijou context for theming and styling. */
|
|
41
|
+
readonly ctx?: BijouContext;
|
|
42
|
+
}
|
|
43
|
+
/** Options for rendering the command palette into a `Surface`. */
|
|
44
|
+
export interface CommandPaletteSurfaceOptions extends CommandPaletteOptions {
|
|
45
|
+
/** Show a scrollbar track on the results viewport. Default: false. */
|
|
46
|
+
readonly showScrollbar?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Create initial command palette state from items and optional height.
|
|
50
|
+
* Focus starts at index 0 with empty query showing all items.
|
|
51
|
+
*
|
|
52
|
+
* @param items - Command items to populate the palette.
|
|
53
|
+
* @param height - Maximum number of visible items (default: 10).
|
|
54
|
+
* @returns Fresh command palette state with all items visible.
|
|
55
|
+
*/
|
|
56
|
+
export declare function createCommandPaletteState(items: readonly CommandPaletteItem[], height?: number): CommandPaletteState;
|
|
57
|
+
declare function queryScore(item: CommandPaletteItem, query: string): number | undefined;
|
|
58
|
+
export { queryScore };
|
|
59
|
+
//# sourceMappingURL=command-palette.part01.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part01.d.ts","sourceRoot":"","sources":["../src/command-palette.part01.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAMxD,4CAA4C;AAC5C,MAAM,WAAW,kBAAkB;IACjC,yCAAyC;IACzC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,s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wBD,iBAAS,UAAU,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAa/E;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// ---------------------------------------------------------------------------
|
|
2
|
+
// State creation
|
|
3
|
+
// ---------------------------------------------------------------------------
|
|
4
|
+
/**
|
|
5
|
+
* Create initial command palette state from items and optional height.
|
|
6
|
+
* Focus starts at index 0 with empty query showing all items.
|
|
7
|
+
*
|
|
8
|
+
* @param items - Command items to populate the palette.
|
|
9
|
+
* @param height - Maximum number of visible items (default: 10).
|
|
10
|
+
* @returns Fresh command palette state with all items visible.
|
|
11
|
+
*/
|
|
12
|
+
export function createCommandPaletteState(items, height = 10) {
|
|
13
|
+
const h = Math.max(1, height);
|
|
14
|
+
const copied = [...items];
|
|
15
|
+
return {
|
|
16
|
+
items: copied,
|
|
17
|
+
filteredItems: copied,
|
|
18
|
+
query: '',
|
|
19
|
+
focusIndex: 0,
|
|
20
|
+
scrollY: 0,
|
|
21
|
+
height: h,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
// ---------------------------------------------------------------------------
|
|
25
|
+
// Filtering
|
|
26
|
+
// ---------------------------------------------------------------------------
|
|
27
|
+
/**
|
|
28
|
+
* Score an item field for ranked, case-insensitive substring matching.
|
|
29
|
+
*
|
|
30
|
+
* Earlier fields and stronger positions rank first; hidden search text still
|
|
31
|
+
* participates without being rendered.
|
|
32
|
+
*/
|
|
33
|
+
function fieldScore(value, query, baseScore) {
|
|
34
|
+
if (value == null)
|
|
35
|
+
return undefined;
|
|
36
|
+
const haystack = value.toLowerCase();
|
|
37
|
+
const index = haystack.indexOf(query);
|
|
38
|
+
if (index < 0)
|
|
39
|
+
return undefined;
|
|
40
|
+
if (haystack === query)
|
|
41
|
+
return baseScore;
|
|
42
|
+
if (index === 0)
|
|
43
|
+
return baseScore + 1;
|
|
44
|
+
const previous = haystack[index - 1];
|
|
45
|
+
if (previous !== undefined && /\W/.test(previous))
|
|
46
|
+
return baseScore + 2;
|
|
47
|
+
return baseScore + 3 + Math.min(index, 100);
|
|
48
|
+
}
|
|
49
|
+
function queryScore(item, query) {
|
|
50
|
+
const q = query.toLowerCase();
|
|
51
|
+
return [
|
|
52
|
+
fieldScore(item.label, q, 0),
|
|
53
|
+
fieldScore(item.category, q, 20),
|
|
54
|
+
fieldScore(item.description, q, 40),
|
|
55
|
+
fieldScore(item.searchText, q, 60),
|
|
56
|
+
fieldScore(item.id, q, 80),
|
|
57
|
+
fieldScore(item.shortcut, q, 100),
|
|
58
|
+
].reduce((best, score) => {
|
|
59
|
+
if (score == null)
|
|
60
|
+
return best;
|
|
61
|
+
return best == null ? score : Math.min(best, score);
|
|
62
|
+
}, undefined);
|
|
63
|
+
}
|
|
64
|
+
export { queryScore };
|
|
65
|
+
//# sourceMappingURL=command-palette.part01.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part01.js","sourceRoot":"","sources":["../src/command-palette.part01.ts"],"names":[],"mappings":"AAwDA,8EAA8E;AAC9E,iBAAiB;AACjB,8EAA8E;AAE9E;;;;;;;GAOG;AACH,MAAM,UAAU,yBAAyB,CACvC,KAAoC,EACpC,MAAM,GAAG,EAAE;IAEX,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAC9B,MAAM,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;IAC1B,OAAO;QACL,KAAK,EAAE,MAAM;QACb,aAAa,EAAE,MAAM;QACrB,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,CAAC;QACb,OAAO,EAAE,CAAC;QACV,MAAM,EAAE,CAAC;KACV,CAAC;AACJ,CAAC;AAED,8EAA8E;AAC9E,YAAY;AACZ,8EAA8E;AAE9E;;;;;GAKG;AACH,SAAS,UAAU,CAAC,KAAyB,EAAE,KAAa,EA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KAAK,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC;QAC/B,OAAO,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACtD,CAAC,EAAE,SAAS,CAAC,CAAC;AAChB,CAAC;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { CommandPaletteItem, CommandPaletteState } from './command-palette.part01.js';
|
|
2
|
+
/**
|
|
3
|
+
* Filter items by case-insensitive substring match. Resets focus to 0.
|
|
4
|
+
*
|
|
5
|
+
* @param state - Current command palette state.
|
|
6
|
+
* @param query - Search query (empty string shows all items).
|
|
7
|
+
* @returns Updated state with filtered items and focus reset.
|
|
8
|
+
*/
|
|
9
|
+
export declare function cpFilter(state: CommandPaletteState, query: string): CommandPaletteState;
|
|
10
|
+
/**
|
|
11
|
+
* Move focus to the next item (wraps around on filteredItems).
|
|
12
|
+
*
|
|
13
|
+
* @param state - Current command palette state.
|
|
14
|
+
* @returns Updated state with focus on the next item.
|
|
15
|
+
*/
|
|
16
|
+
export declare function cpFocusNext(state: CommandPaletteState): CommandPaletteState;
|
|
17
|
+
/**
|
|
18
|
+
* Move focus to the previous item (wraps around on filteredItems).
|
|
19
|
+
*
|
|
20
|
+
* @param state - Current command palette state.
|
|
21
|
+
* @returns Updated state with focus on the previous item.
|
|
22
|
+
*/
|
|
23
|
+
export declare function cpFocusPrev(state: CommandPaletteState): CommandPaletteState;
|
|
24
|
+
/**
|
|
25
|
+
* Move focus down by half a page (vim Ctrl+D convention, clamps to last item).
|
|
26
|
+
*
|
|
27
|
+
* @param state - Current command palette state.
|
|
28
|
+
* @returns Updated state with focus advanced by half a page.
|
|
29
|
+
*/
|
|
30
|
+
export declare function cpPageDown(state: CommandPaletteState): CommandPaletteState;
|
|
31
|
+
/**
|
|
32
|
+
* Move focus up by half a page (vim Ctrl+U convention, clamps to first item).
|
|
33
|
+
*
|
|
34
|
+
* @param state - Current command palette state.
|
|
35
|
+
* @returns Updated state with focus moved back by half a page.
|
|
36
|
+
*/
|
|
37
|
+
export declare function cpPageUp(state: CommandPaletteState): CommandPaletteState;
|
|
38
|
+
/**
|
|
39
|
+
* Get the currently focused item, or undefined if no items match.
|
|
40
|
+
*
|
|
41
|
+
* @param state - Current command palette state.
|
|
42
|
+
* @returns The focused `CommandPaletteItem`, or `undefined` if empty.
|
|
43
|
+
*/
|
|
44
|
+
export declare function cpSelectedItem(state: CommandPaletteState): CommandPaletteItem | undefined;
|
|
45
|
+
//# sourceMappingURL=command-palette.part02.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part02.d.ts","sourceRoot":"","sources":["../src/command-palette.part02.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAE3F;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,mBAAmB,CAuBvF;AAsBD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,mBAAmB,GAAG,mBAAmB,CAI3E;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,mBAAmB,GAAG,mBAAmB,CAI3E;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,mBAAmB,GAAG,mBAAmB,CAK1E;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,GAAG,mBAAmB,CAKxE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,kBAAkB,GAAG,SAAS,CAEzF"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { queryScore } from './command-palette.part01.js';
|
|
2
|
+
/**
|
|
3
|
+
* Filter items by case-insensitive substring match. Resets focus to 0.
|
|
4
|
+
*
|
|
5
|
+
* @param state - Current command palette state.
|
|
6
|
+
* @param query - Search query (empty string shows all items).
|
|
7
|
+
* @returns Updated state with filtered items and focus reset.
|
|
8
|
+
*/
|
|
9
|
+
export function cpFilter(state, query) {
|
|
10
|
+
if (query === '') {
|
|
11
|
+
return {
|
|
12
|
+
...state,
|
|
13
|
+
query: '',
|
|
14
|
+
filteredItems: [...state.items],
|
|
15
|
+
focusIndex: 0,
|
|
16
|
+
scrollY: 0,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
const filtered = state.items
|
|
20
|
+
.map((item, index) => ({ item, index, score: queryScore(item, query) }))
|
|
21
|
+
.filter((entry) => entry.score != null)
|
|
22
|
+
.sort((left, right) => left.score - right.score || left.index - right.index)
|
|
23
|
+
.map(entry => entry.item);
|
|
24
|
+
return {
|
|
25
|
+
...state,
|
|
26
|
+
query,
|
|
27
|
+
filteredItems: filtered,
|
|
28
|
+
focusIndex: 0,
|
|
29
|
+
scrollY: 0,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
// ---------------------------------------------------------------------------
|
|
33
|
+
// Focus navigation
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
/**
|
|
36
|
+
* Clamp scroll position so the focused item stays within the visible window.
|
|
37
|
+
*
|
|
38
|
+
* @param focusIndex - Index of the focused item.
|
|
39
|
+
* @param scrollY - Current scroll offset.
|
|
40
|
+
* @param height - Viewport height in items.
|
|
41
|
+
* @param total - Total number of items.
|
|
42
|
+
* @returns Adjusted scroll offset.
|
|
43
|
+
*/
|
|
44
|
+
function adjustScroll(focusIndex, scrollY, height, total) {
|
|
45
|
+
let s = scrollY;
|
|
46
|
+
if (focusIndex < s)
|
|
47
|
+
s = focusIndex;
|
|
48
|
+
else if (focusIndex >= s + height)
|
|
49
|
+
s = focusIndex - height + 1;
|
|
50
|
+
return Math.min(s, Math.max(0, total - height));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Move focus to the next item (wraps around on filteredItems).
|
|
54
|
+
*
|
|
55
|
+
* @param state - Current command palette state.
|
|
56
|
+
* @returns Updated state with focus on the next item.
|
|
57
|
+
*/
|
|
58
|
+
export function cpFocusNext(state) {
|
|
59
|
+
if (state.filteredItems.length === 0)
|
|
60
|
+
return state;
|
|
61
|
+
const focusIndex = (state.focusIndex + 1) % state.filteredItems.length;
|
|
62
|
+
return { ...state, focusIndex, scrollY: adjustScroll(focusIndex, state.scrollY, state.height, state.filteredItems.length) };
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Move focus to the previous item (wraps around on filteredItems).
|
|
66
|
+
*
|
|
67
|
+
* @param state - Current command palette state.
|
|
68
|
+
* @returns Updated state with focus on the previous item.
|
|
69
|
+
*/
|
|
70
|
+
export function cpFocusPrev(state) {
|
|
71
|
+
if (state.filteredItems.length === 0)
|
|
72
|
+
return state;
|
|
73
|
+
const focusIndex = (state.focusIndex - 1 + state.filteredItems.length) % state.filteredItems.length;
|
|
74
|
+
return { ...state, focusIndex, scrollY: adjustScroll(focusIndex, state.scrollY, state.height, state.filteredItems.length) };
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Move focus down by half a page (vim Ctrl+D convention, clamps to last item).
|
|
78
|
+
*
|
|
79
|
+
* @param state - Current command palette state.
|
|
80
|
+
* @returns Updated state with focus advanced by half a page.
|
|
81
|
+
*/
|
|
82
|
+
export function cpPageDown(state) {
|
|
83
|
+
if (state.filteredItems.length === 0)
|
|
84
|
+
return state;
|
|
85
|
+
const half = Math.max(1, Math.floor(state.height / 2));
|
|
86
|
+
const focusIndex = Math.min(state.focusIndex + half, state.filteredItems.length - 1);
|
|
87
|
+
return { ...state, focusIndex, scrollY: adjustScroll(focusIndex, state.scrollY, state.height, state.filteredItems.length) };
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Move focus up by half a page (vim Ctrl+U convention, clamps to first item).
|
|
91
|
+
*
|
|
92
|
+
* @param state - Current command palette state.
|
|
93
|
+
* @returns Updated state with focus moved back by half a page.
|
|
94
|
+
*/
|
|
95
|
+
export function cpPageUp(state) {
|
|
96
|
+
if (state.filteredItems.length === 0)
|
|
97
|
+
return state;
|
|
98
|
+
const half = Math.max(1, Math.floor(state.height / 2));
|
|
99
|
+
const focusIndex = Math.max(state.focusIndex - half, 0);
|
|
100
|
+
return { ...state, focusIndex, scrollY: adjustScroll(focusIndex, state.scrollY, state.height, state.filteredItems.length) };
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Get the currently focused item, or undefined if no items match.
|
|
104
|
+
*
|
|
105
|
+
* @param state - Current command palette state.
|
|
106
|
+
* @returns The focused `CommandPaletteItem`, or `undefined` if empty.
|
|
107
|
+
*/
|
|
108
|
+
export function cpSelectedItem(state) {
|
|
109
|
+
return state.filteredItems[state.focusIndex];
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=command-palette.part02.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part02.js","sourceRoot":"","sources":["../src/command-palette.part02.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGzD;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CAAC,KAA0B,EAAE,KAAa;IAChE,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACjB,OAAO;YACL,GAAG,KAAK;YACR,KAAK,EAAE,EAAE;YACT,aAAa,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;YAC/B,UAAU,EAAE,CAAC;YACb,OAAO,EAAE,CAAC;SACX,CAAC;IACJ,CAAC;IACD,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK;SACzB,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE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U,QAAQ,CAAC,KAA0B;IACjD,IAAI,KAAK,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACnD,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;IACvD,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;IACxD,OAAO,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;AAC9H,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,KAA0B;IACvD,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Surface } from '@flyingrobots/bijou';
|
|
2
|
+
import type { CommandPaletteOptions, CommandPaletteState, CommandPaletteSurfaceOptions } from './command-palette.part01.js';
|
|
3
|
+
/**
|
|
4
|
+
* Render the command palette to a plain string boundary.
|
|
5
|
+
*
|
|
6
|
+
* Prefer {@link commandPaletteSurface} for in-app TUI rendering so the
|
|
7
|
+
* palette stays on the Surface path end-to-end.
|
|
8
|
+
*
|
|
9
|
+
* Layout:
|
|
10
|
+
* - Line 1: `> {query}` search input
|
|
11
|
+
* - Lines 2+: filtered items in viewport
|
|
12
|
+
* - Each item: `[category] label description shortcut`
|
|
13
|
+
* - Focus indicator: `▸` on focused item
|
|
14
|
+
*
|
|
15
|
+
* @param state - Current command palette state.
|
|
16
|
+
* @param options - Width, display flags, and context for rendering.
|
|
17
|
+
* @returns Rendered command palette string with search line and item list.
|
|
18
|
+
*/
|
|
19
|
+
export declare function commandPalette(state: CommandPaletteState, options: CommandPaletteOptions): string;
|
|
20
|
+
/**
|
|
21
|
+
* Render the command palette into a `Surface`.
|
|
22
|
+
*
|
|
23
|
+
* The search prompt stays fixed while results are masked by the shared
|
|
24
|
+
* `viewportSurface()` primitive rather than carrying bespoke slice logic.
|
|
25
|
+
*
|
|
26
|
+
* @param state - Current command palette state.
|
|
27
|
+
* @param options - Width, display flags, and context for rendering.
|
|
28
|
+
* @returns Surface containing the search line and scrollable result list.
|
|
29
|
+
*/
|
|
30
|
+
export declare function commandPaletteSurface(state: CommandPaletteState, options: CommandPaletteSurfaceOptions): Surface;
|
|
31
|
+
//# sourceMappingURL=command-palette.part03.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part03.d.ts","sourceRoot":"","sources":["../src/command-palette.part03.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAInD,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AA2C5H;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,qBAAqB,GAC7B,MAAM,CAcR;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAkBT"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { clipToWidth, viewportSurface } from './viewport.js';
|
|
2
|
+
import { vstackSurface } from './surface-layout.js';
|
|
3
|
+
import { collectionRowsSurface, insetLineSurface } from './collection-surface.js';
|
|
4
|
+
function renderCommandPaletteLines(state, options) {
|
|
5
|
+
const { showCategory = true, showShortcut = true, ctx } = options;
|
|
6
|
+
if (state.filteredItems.length === 0) {
|
|
7
|
+
return [' No matches'];
|
|
8
|
+
}
|
|
9
|
+
const indicator = '\u25b8';
|
|
10
|
+
const pad = ' ';
|
|
11
|
+
const muted = (text) => ctx ? ctx.style.styled(ctx.semantic('muted'), text) : text;
|
|
12
|
+
return state.filteredItems.map((item, index) => {
|
|
13
|
+
const prefix = index === state.focusIndex ? indicator : pad;
|
|
14
|
+
const parts = [];
|
|
15
|
+
if (showCategory && item.category) {
|
|
16
|
+
parts.push(muted(`[${item.category}]`));
|
|
17
|
+
}
|
|
18
|
+
parts.push(item.label);
|
|
19
|
+
if (item.description) {
|
|
20
|
+
parts.push(muted(item.description));
|
|
21
|
+
}
|
|
22
|
+
if (showShortcut && item.shortcut) {
|
|
23
|
+
parts.push(muted(item.shortcut));
|
|
24
|
+
}
|
|
25
|
+
return `${prefix} ${parts.join(' ')}`;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
// ---------------------------------------------------------------------------
|
|
29
|
+
// Render
|
|
30
|
+
// ---------------------------------------------------------------------------
|
|
31
|
+
/**
|
|
32
|
+
* Render the command palette to a plain string boundary.
|
|
33
|
+
*
|
|
34
|
+
* Prefer {@link commandPaletteSurface} for in-app TUI rendering so the
|
|
35
|
+
* palette stays on the Surface path end-to-end.
|
|
36
|
+
*
|
|
37
|
+
* Layout:
|
|
38
|
+
* - Line 1: `> {query}` search input
|
|
39
|
+
* - Lines 2+: filtered items in viewport
|
|
40
|
+
* - Each item: `[category] label description shortcut`
|
|
41
|
+
* - Focus indicator: `▸` on focused item
|
|
42
|
+
*
|
|
43
|
+
* @param state - Current command palette state.
|
|
44
|
+
* @param options - Width, display flags, and context for rendering.
|
|
45
|
+
* @returns Rendered command palette string with search line and item list.
|
|
46
|
+
*/
|
|
47
|
+
export function commandPalette(state, options) {
|
|
48
|
+
const { width, showCategory = true, showShortcut = true, ctx } = options;
|
|
49
|
+
const lines = [clipToWidth(`> ${state.query}`, width)];
|
|
50
|
+
const itemLines = renderCommandPaletteLines(state, {
|
|
51
|
+
showCategory,
|
|
52
|
+
showShortcut,
|
|
53
|
+
ctx,
|
|
54
|
+
});
|
|
55
|
+
lines.push(...itemLines
|
|
56
|
+
.slice(state.scrollY, state.scrollY + state.height)
|
|
57
|
+
.map((line) => clipToWidth(line, width)));
|
|
58
|
+
return lines.join('\n');
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Render the command palette into a `Surface`.
|
|
62
|
+
*
|
|
63
|
+
* The search prompt stays fixed while results are masked by the shared
|
|
64
|
+
* `viewportSurface()` primitive rather than carrying bespoke slice logic.
|
|
65
|
+
*
|
|
66
|
+
* @param state - Current command palette state.
|
|
67
|
+
* @param options - Width, display flags, and context for rendering.
|
|
68
|
+
* @returns Surface containing the search line and scrollable result list.
|
|
69
|
+
*/
|
|
70
|
+
export function commandPaletteSurface(state, options) {
|
|
71
|
+
const width = Math.max(1, options.width);
|
|
72
|
+
const itemLines = renderCommandPaletteLines(state, options);
|
|
73
|
+
const searchSurface = insetLineSurface(clipToWidth(`> ${state.query}`, width), width);
|
|
74
|
+
const content = collectionRowsSurface(itemLines, {
|
|
75
|
+
width,
|
|
76
|
+
selectedRowIndex: state.filteredItems.length === 0 ? undefined : state.focusIndex,
|
|
77
|
+
ctx: options.ctx,
|
|
78
|
+
});
|
|
79
|
+
const listSurface = viewportSurface({
|
|
80
|
+
width,
|
|
81
|
+
height: Math.max(1, state.height),
|
|
82
|
+
content,
|
|
83
|
+
scrollY: state.scrollY,
|
|
84
|
+
showScrollbar: options.showScrollbar ?? false,
|
|
85
|
+
});
|
|
86
|
+
return vstackSurface(searchSurface, listSurface);
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=command-palette.part03.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part03.js","sourceRoot":"","sources":["../src/command-palette.part03.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,aAAa,EAA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BAAgB,CAAC,WAAW,CAAC,KAAK,KAAK,CAAC,KAAK,EAAE,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;IACtF,MAAM,OAAO,GAAG,qBAAqB,CAAC,SAAS,EAAE;QAC/C,KAAK;QACL,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU;QACjF,GAAG,EAAE,OAAO,CAAC,GAAG;KACjB,CAAC,CAAC;IACH,MAAM,WAAW,GAAG,eAAe,CAAC;QAClC,KAAK;QACL,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;QACjC,OAAO;QACP,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,aAAa,EAAE,OAAO,CAAC,aAAa,IAAI,KAAK;KAC9C,CAAC,CAAC;IAEH,OAAO,aAAa,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type KeyMap } from './keybindings.js';
|
|
2
|
+
/**
|
|
3
|
+
* Create a preconfigured KeyMap for command palette navigation.
|
|
4
|
+
*
|
|
5
|
+
* Bindings: Ctrl+N/Down (next), Ctrl+P/Up (prev), Ctrl+D/PageDown (page down),
|
|
6
|
+
* Ctrl+U/PageUp (page up), Enter (select), Escape (close).
|
|
7
|
+
*
|
|
8
|
+
* Ctrl+D and Ctrl+U follow vim half-page scroll conventions. In raw-mode TUIs
|
|
9
|
+
* these do not conflict with shell behavior (EOF / line-clear).
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* const keys = commandPaletteKeyMap({
|
|
13
|
+
* focusNext: { type: 'cp-next' },
|
|
14
|
+
* focusPrev: { type: 'cp-prev' },
|
|
15
|
+
* pageDown: { type: 'cp-page-down' },
|
|
16
|
+
* pageUp: { type: 'cp-page-up' },
|
|
17
|
+
* select: { type: 'cp-select' },
|
|
18
|
+
* close: { type: 'cp-close' },
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @template Msg - Application message type dispatched by key bindings.
|
|
23
|
+
* @param actions - Map of navigation and selection actions to message values.
|
|
24
|
+
* @returns Preconfigured key map with Ctrl+N/P, arrow, and page navigation bindings.
|
|
25
|
+
*/
|
|
26
|
+
export declare function commandPaletteKeyMap<Msg>(actions: {
|
|
27
|
+
focusNext: Msg;
|
|
28
|
+
focusPrev: Msg;
|
|
29
|
+
pageDown: Msg;
|
|
30
|
+
pageUp: Msg;
|
|
31
|
+
select: Msg;
|
|
32
|
+
close: Msg;
|
|
33
|
+
}): KeyMap<Msg>;
|
|
34
|
+
//# sourceMappingURL=command-palette.part04.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part04.d.ts","sourceRoot":"","sources":["../src/command-palette.part04.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAM7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,EAAE;IACjD,SAAS,EAAE,GAAG,CAAC;IACf,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC;CACZ,GAAG,MAAM,CAAC,GAAG,CAAC,CAcd"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createKeyMap } from './keybindings.js';
|
|
2
|
+
// ---------------------------------------------------------------------------
|
|
3
|
+
// Convenience keymap
|
|
4
|
+
// ---------------------------------------------------------------------------
|
|
5
|
+
/**
|
|
6
|
+
* Create a preconfigured KeyMap for command palette navigation.
|
|
7
|
+
*
|
|
8
|
+
* Bindings: Ctrl+N/Down (next), Ctrl+P/Up (prev), Ctrl+D/PageDown (page down),
|
|
9
|
+
* Ctrl+U/PageUp (page up), Enter (select), Escape (close).
|
|
10
|
+
*
|
|
11
|
+
* Ctrl+D and Ctrl+U follow vim half-page scroll conventions. In raw-mode TUIs
|
|
12
|
+
* these do not conflict with shell behavior (EOF / line-clear).
|
|
13
|
+
*
|
|
14
|
+
* ```ts
|
|
15
|
+
* const keys = commandPaletteKeyMap({
|
|
16
|
+
* focusNext: { type: 'cp-next' },
|
|
17
|
+
* focusPrev: { type: 'cp-prev' },
|
|
18
|
+
* pageDown: { type: 'cp-page-down' },
|
|
19
|
+
* pageUp: { type: 'cp-page-up' },
|
|
20
|
+
* select: { type: 'cp-select' },
|
|
21
|
+
* close: { type: 'cp-close' },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @template Msg - Application message type dispatched by key bindings.
|
|
26
|
+
* @param actions - Map of navigation and selection actions to message values.
|
|
27
|
+
* @returns Preconfigured key map with Ctrl+N/P, arrow, and page navigation bindings.
|
|
28
|
+
*/
|
|
29
|
+
export function commandPaletteKeyMap(actions) {
|
|
30
|
+
return createKeyMap()
|
|
31
|
+
.group('Navigation', (g) => g
|
|
32
|
+
.bind('ctrl+n', 'Next item', actions.focusNext)
|
|
33
|
+
.bind('down', 'Next item', actions.focusNext)
|
|
34
|
+
.bind('ctrl+p', 'Previous item', actions.focusPrev)
|
|
35
|
+
.bind('up', 'Previous item', actions.focusPrev)
|
|
36
|
+
.bind('ctrl+d', 'Half page down', actions.pageDown)
|
|
37
|
+
.bind('pagedown', 'Half page down', actions.pageDown)
|
|
38
|
+
.bind('ctrl+u', 'Half page up', actions.pageUp)
|
|
39
|
+
.bind('pageup', 'Half page up', actions.pageUp))
|
|
40
|
+
.bind('enter', 'Select', actions.select)
|
|
41
|
+
.bind('escape', 'Close', actions.close);
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=command-palette.part04.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-palette.part04.js","sourceRoot":"","sources":["../src/command-palette.part04.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,MAAM,kBAAkB,CAAC;AAE7D,8EAA8E;AAC9E,qBAAqB;AACrB,8EAA8E;AAE9E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,oBAAoB,CAAM,OAOzC;IACC,OAAO,YAAY,EAAO;SACvB,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;SAC1B,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC;SAC9C,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC;SAC5C,IAAI,CAAC,QAAQ,EAAE,eAAe,EAAE,OAAO,CAAC,SAAS,CAAC;SAClD,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,SAAS,CAAC;SAC9C,IAAI,CAAC,QAAQ,EAAE,gBAAgB,EAAE,OAAO,CAAC,QAAQ,CAAC;SAClD,IAAI,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,QAAQ,CAAC;SACpD,IAAI,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC;SAC9C,IAAI,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC,CAChD;SACA,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC;SACvC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { BijouContext, TokenValue } from '@flyingrobots/bijou';
|
|
2
|
+
export interface StyledTextToken {
|
|
3
|
+
hex?: string;
|
|
4
|
+
bg?: string;
|
|
5
|
+
fgRGB?: [number, number, number];
|
|
6
|
+
bgRGB?: [number, number, number];
|
|
7
|
+
modifiers?: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface BCSSIdentity {
|
|
10
|
+
type: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
classes?: string[];
|
|
13
|
+
}
|
|
14
|
+
type BCSSStyles = Readonly<Record<string, string>>;
|
|
15
|
+
export declare function mergeBCSSModifiers(base: readonly string[] | undefined, styles: BCSSStyles): string[] | undefined;
|
|
16
|
+
export declare function toStyleToken(token: StyledTextToken): TokenValue;
|
|
17
|
+
export declare function resolveBCSSTextToken(context: BijouContext, identity: BCSSIdentity, base?: StyledTextToken): StyledTextToken;
|
|
18
|
+
export declare function styleTextWithBCSS(text: string, context: BijouContext | undefined, identity: BCSSIdentity, base?: StyledTextToken): string;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=text-style-token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-style-token.d.ts","sourceRoot":"","sources":["../../src/css/text-style-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EAEZ,UAAU,EACX,MAAM,qBAAqB,CAAC;AAG7B,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,KAAK,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEnD,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACnC,MAAM,EAAE,UAAU,GACjB,MAAM,EAAE,GAAG,SAAS,CAyCtB;AAYD,wBAAgB,YAAY,CAAC,KAAK,EAAE,eAAe,GAAG,UAAU,CAQ/D;AAED,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,YAAY,EACtB,IAAI,GAAE,eAAoB,GACzB,eAAe,CAiBjB;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,YAAY,GAAG,SAAS,EACjC,QAAQ,EAAE,YAAY,EACtB,IAAI,GAAE,eAAoB,GACzB,MAAM,CAWR"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { parseHex } from '@flyingrobots/bijou/perf';
|
|
2
|
+
export function mergeBCSSModifiers(base, styles) {
|
|
3
|
+
const modifiers = new Set(base ?? []);
|
|
4
|
+
const fontWeight = styles['font-weight']?.trim().toLowerCase();
|
|
5
|
+
if (fontWeight === 'bold' ||
|
|
6
|
+
fontWeight === '700' ||
|
|
7
|
+
fontWeight === '800' ||
|
|
8
|
+
fontWeight === '900') {
|
|
9
|
+
modifiers.add('bold');
|
|
10
|
+
}
|
|
11
|
+
else if (fontWeight === 'normal' || fontWeight === '400') {
|
|
12
|
+
modifiers.delete('bold');
|
|
13
|
+
}
|
|
14
|
+
const fontStyle = styles['font-style']?.trim().toLowerCase();
|
|
15
|
+
if (fontStyle === 'italic') {
|
|
16
|
+
modifiers.add('italic');
|
|
17
|
+
}
|
|
18
|
+
else if (fontStyle === 'normal') {
|
|
19
|
+
modifiers.delete('italic');
|
|
20
|
+
}
|
|
21
|
+
const decoration = styles['text-decoration']?.trim().toLowerCase();
|
|
22
|
+
if (decoration === 'none') {
|
|
23
|
+
for (const modifier of [
|
|
24
|
+
'underline',
|
|
25
|
+
'curly-underline',
|
|
26
|
+
'dotted-underline',
|
|
27
|
+
'dashed-underline',
|
|
28
|
+
'strikethrough',
|
|
29
|
+
'strike',
|
|
30
|
+
]) {
|
|
31
|
+
modifiers.delete(modifier);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
else if (decoration) {
|
|
35
|
+
if (decoration.includes('underline'))
|
|
36
|
+
modifiers.add('underline');
|
|
37
|
+
if (decoration.includes('line-through')) {
|
|
38
|
+
modifiers.add('strikethrough');
|
|
39
|
+
modifiers.delete('strike');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return modifiers.size > 0 ? Array.from(modifiers) : undefined;
|
|
43
|
+
}
|
|
44
|
+
function styleModifiers(modifiers) {
|
|
45
|
+
return modifiers?.filter((modifier) => /^(?:bold|dim|strikethrough|inverse|(?:curly-|dotted-|dashed-)?underline)$/u.test(modifier));
|
|
46
|
+
}
|
|
47
|
+
export function toStyleToken(token) {
|
|
48
|
+
return {
|
|
49
|
+
hex: token.hex ?? '',
|
|
50
|
+
bg: token.bg,
|
|
51
|
+
fgRGB: token.fgRGB,
|
|
52
|
+
bgRGB: token.bgRGB,
|
|
53
|
+
modifiers: styleModifiers(token.modifiers),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function resolveBCSSTextToken(context, identity, base = {}) {
|
|
57
|
+
const styles = context.resolveBCSS(identity);
|
|
58
|
+
const hex = styles['color'] ?? base.hex;
|
|
59
|
+
const background = styles['background'] ?? base.bg;
|
|
60
|
+
return {
|
|
61
|
+
hex,
|
|
62
|
+
bg: background,
|
|
63
|
+
fgRGB: styles['color'] != null ? (hex ? parseHex(hex) : undefined) : base.fgRGB,
|
|
64
|
+
bgRGB: styles['background'] != null
|
|
65
|
+
? background
|
|
66
|
+
? parseHex(background)
|
|
67
|
+
: undefined
|
|
68
|
+
: base.bgRGB,
|
|
69
|
+
modifiers: mergeBCSSModifiers(base.modifiers, styles),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
export function styleTextWithBCSS(text, context, identity, base = {}) {
|
|
73
|
+
if (context === undefined)
|
|
74
|
+
return text;
|
|
75
|
+
const token = resolveBCSSTextToken(context, identity, base);
|
|
76
|
+
if (token.hex == null &&
|
|
77
|
+
token.bg == null &&
|
|
78
|
+
(token.modifiers == null || token.modifiers.length === 0)) {
|
|
79
|
+
return text;
|
|
80
|
+
}
|
|
81
|
+
return context.style.styled(toStyleToken(token), text);
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=text-style-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-style-token.js","sourceRoot":"","sources":["../../src/css/text-style-token.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAkBpD,MAAM,UAAU,kBAAkB,CAChC,IAAmC,EACnC,MAAkB;IAElB,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACtC,MAAM,UAAU,GAAG,MAAM,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC/D,IACE,UAAU,KAAK,MAAM;QACrB,UAAU,KAAK,KAAK;QACpB,UAAU,KAAK,KAAK;QACpB,UAAU,KAAK,KAAK,EACpB,CAAC;QACD,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;SAAM,IAAI,UAAU,KAAK,QAAQ,IAAI,UAAU,KAAK,KAAK,EAAE,CAAC;QAC3D,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC7D,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAC3B,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAClC,SAAS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