@omerdlw/base-framework 3.4.0 → 4.0.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/README.md +56 -72
- package/dist/ambient/index.js +9 -10
- package/dist/ambient/server/index.js +3 -3
- package/dist/ambient/server/index.js.map +1 -1
- package/dist/ambient/worker/index.js +7 -4
- package/dist/ambient/worker/index.js.map +1 -1
- package/dist/background/index.js +8 -9
- package/dist/{chunk-KOYTJW5E.js → chunk-3FSDBJ7V.js} +7 -7
- package/dist/chunk-3FSDBJ7V.js.map +1 -0
- package/dist/{chunk-CRKJAACG.js → chunk-4QQ3QVY7.js} +10 -10
- package/dist/{chunk-CRKJAACG.js.map → chunk-4QQ3QVY7.js.map} +1 -1
- package/dist/{chunk-UQLTP3XB.js → chunk-5TQSH6KE.js} +143 -144
- package/dist/chunk-5TQSH6KE.js.map +1 -0
- package/dist/{chunk-HFR6YROB.js → chunk-6P3F4JU3.js} +1160 -1172
- package/dist/chunk-6P3F4JU3.js.map +1 -0
- package/dist/chunk-AKPH5CEJ.js +357 -0
- package/dist/chunk-AKPH5CEJ.js.map +1 -0
- package/dist/{chunk-QGPRTUED.js → chunk-AWLK2I56.js} +35 -39
- package/dist/chunk-AWLK2I56.js.map +1 -0
- package/dist/{chunk-ZXRE2KZO.js → chunk-C3SEBNF5.js} +11 -15
- package/dist/chunk-C3SEBNF5.js.map +1 -0
- package/dist/{chunk-R4K6VAOK.js → chunk-C527JOJQ.js} +11 -18
- package/dist/chunk-C527JOJQ.js.map +1 -0
- package/dist/{chunk-VNSMNGWP.js → chunk-DMQKXBWO.js} +5 -5
- package/dist/{chunk-VNSMNGWP.js.map → chunk-DMQKXBWO.js.map} +1 -1
- package/dist/{chunk-IH3STE7W.js → chunk-ED32WLAD.js} +1168 -1215
- package/dist/chunk-ED32WLAD.js.map +1 -0
- package/dist/{chunk-67MOKJFZ.js → chunk-EXB7VFD3.js} +16 -16
- package/dist/chunk-EXB7VFD3.js.map +1 -0
- package/dist/chunk-FG2AKFXP.js +108 -0
- package/dist/chunk-FG2AKFXP.js.map +1 -0
- package/dist/chunk-GA5SZ6E2.js +17 -0
- package/dist/{chunk-AZ2ZDFNP.js.map → chunk-GA5SZ6E2.js.map} +1 -1
- package/dist/chunk-GG2ILNK2.js +44 -0
- package/dist/chunk-GG2ILNK2.js.map +1 -0
- package/dist/{chunk-6IP6YFQX.js → chunk-JA75E4BG.js} +21 -31
- package/dist/chunk-JA75E4BG.js.map +1 -0
- package/dist/{chunk-WQTMOUCA.js → chunk-JWUKAZ3A.js} +45 -67
- package/dist/chunk-JWUKAZ3A.js.map +1 -0
- package/dist/{chunk-LKYW4LH6.js → chunk-QZA5AIT6.js} +37 -47
- package/dist/chunk-QZA5AIT6.js.map +1 -0
- package/dist/{chunk-D222OCTV.js → chunk-S67HGKJ2.js} +49 -55
- package/dist/chunk-S67HGKJ2.js.map +1 -0
- package/dist/chunk-T53WFIZN.js +29 -0
- package/dist/chunk-T53WFIZN.js.map +1 -0
- package/dist/{chunk-RDYYP36I.js → chunk-TMKA5ZHO.js} +7 -6
- package/dist/chunk-TMKA5ZHO.js.map +1 -0
- package/dist/{chunk-XGAYTDSI.js → chunk-UWX7GCNX.js} +23 -26
- package/dist/chunk-UWX7GCNX.js.map +1 -0
- package/dist/{chunk-QRXDXAQI.js → chunk-WVED7PDH.js} +161 -165
- package/dist/chunk-WVED7PDH.js.map +1 -0
- package/dist/{chunk-FFJWJ4OB.js → chunk-XIFQMK2Z.js} +12317 -12355
- package/dist/chunk-XIFQMK2Z.js.map +1 -0
- package/dist/{chunk-BMFHS3GV.js → chunk-YHWA7FXX.js} +22 -12
- package/dist/chunk-YHWA7FXX.js.map +1 -0
- package/dist/{chunk-YZS2B6YE.js → chunk-YKHAFHB7.js} +9 -12
- package/dist/chunk-YKHAFHB7.js.map +1 -0
- package/dist/{chunk-GKAJ4EM2.js → chunk-ZQI4ZCVU.js} +83 -83
- package/dist/chunk-ZQI4ZCVU.js.map +1 -0
- package/dist/context-menu/index.js +13 -15
- package/dist/controls/index.js +7 -6
- package/dist/core/error/boundary.d.ts.map +1 -1
- package/dist/core/error/constants.d.ts +9 -0
- package/dist/core/error/constants.d.ts.map +1 -1
- package/dist/core/error/index.d.ts +2 -3
- package/dist/core/error/index.d.ts.map +1 -1
- package/dist/core/error/listener.d.ts.map +1 -1
- package/dist/core/error/reporter.d.ts +7 -6
- package/dist/core/error/reporter.d.ts.map +1 -1
- package/dist/core/error/utils.d.ts.map +1 -1
- package/dist/core/kernel/constants.d.ts +1 -1
- package/dist/core/kernel/constants.d.ts.map +1 -1
- package/dist/core/kernel/{compose.d.ts → host/compose.d.ts} +0 -4
- package/dist/core/kernel/host/compose.d.ts.map +1 -0
- package/dist/core/kernel/{installed.d.ts → host/installed.d.ts} +1 -1
- package/dist/core/kernel/host/installed.d.ts.map +1 -0
- package/dist/core/kernel/{module.d.ts → host/module.d.ts} +2 -5
- package/dist/core/kernel/host/module.d.ts.map +1 -0
- package/dist/core/kernel/{adapters.d.ts → host/registration.d.ts} +2 -2
- package/dist/core/kernel/host/registration.d.ts.map +1 -0
- package/dist/core/kernel/index.d.ts +12 -12
- package/dist/core/kernel/index.d.ts.map +1 -1
- package/dist/core/kernel/{page-controller.d.ts → page.d.ts} +2 -2
- package/dist/core/kernel/page.d.ts.map +1 -0
- package/dist/core/kernel/{handlers.d.ts → registry/apply.d.ts} +2 -2
- package/dist/core/kernel/registry/apply.d.ts.map +1 -0
- package/dist/core/kernel/{hooks.d.ts → registry/hooks.d.ts} +1 -1
- package/dist/core/kernel/registry/hooks.d.ts.map +1 -0
- package/dist/core/kernel/{operations.d.ts → registry/operations.d.ts} +2 -2
- package/dist/core/kernel/registry/operations.d.ts.map +1 -0
- package/dist/core/kernel/{provider.d.ts → registry/provider.d.ts} +2 -2
- package/dist/core/kernel/registry/provider.d.ts.map +1 -0
- package/dist/core/kernel/{operations-records.d.ts → registry/records.d.ts} +2 -2
- package/dist/core/kernel/registry/records.d.ts.map +1 -0
- package/dist/core/kernel/registry/registration.d.ts +13 -0
- package/dist/core/kernel/registry/registration.d.ts.map +1 -0
- package/dist/core/kernel/{schema.d.ts → registry/schema.d.ts} +1 -1
- package/dist/core/kernel/registry/schema.d.ts.map +1 -0
- package/dist/core/kernel/{store-snapshots.d.ts → registry/snapshots.d.ts} +3 -3
- package/dist/core/kernel/registry/snapshots.d.ts.map +1 -0
- package/dist/core/kernel/{stabilize.d.ts → registry/stabilize.d.ts} +1 -1
- package/dist/core/kernel/registry/stabilize.d.ts.map +1 -0
- package/dist/core/kernel/{store.d.ts → registry/store.d.ts} +2 -2
- package/dist/core/kernel/registry/store.d.ts.map +1 -0
- package/dist/core/kernel/{store-subscriptions.d.ts → registry/subscriptions.d.ts} +2 -6
- package/dist/core/kernel/registry/subscriptions.d.ts.map +1 -0
- package/dist/core/kernel/{runtime.d.ts → registry/transaction.d.ts} +2 -2
- package/dist/core/kernel/registry/transaction.d.ts.map +1 -0
- package/dist/core/kernel/{types-modules.d.ts → types/modules.d.ts} +4 -4
- package/dist/core/kernel/types/modules.d.ts.map +1 -0
- package/dist/core/kernel/{types-page.d.ts → types/page.d.ts} +3 -3
- package/dist/core/kernel/types/page.d.ts.map +1 -0
- package/dist/core/kernel/{types.d.ts → types/registry.d.ts} +4 -4
- package/dist/core/kernel/types/registry.d.ts.map +1 -0
- package/dist/core/kernel/{types-store.d.ts → types/store.d.ts} +3 -3
- package/dist/core/kernel/types/store.d.ts.map +1 -0
- package/dist/core/kernel/utils.d.ts +1 -1
- package/dist/core/kernel/utils.d.ts.map +1 -1
- package/dist/core/navigation/{navigator-holds.d.ts → holds.d.ts} +2 -1
- package/dist/core/navigation/holds.d.ts.map +1 -0
- package/dist/core/navigation/navigator.d.ts.map +1 -1
- package/dist/core/navigation/{navigator-patience.d.ts → patience.d.ts} +1 -1
- package/dist/core/navigation/patience.d.ts.map +1 -0
- package/dist/core/navigation/{navigator-payload.d.ts → payload.d.ts} +2 -1
- package/dist/core/navigation/payload.d.ts.map +1 -0
- package/dist/core/navigation/{navigator-prefetch.d.ts → prefetch.d.ts} +2 -1
- package/dist/core/navigation/prefetch.d.ts.map +1 -0
- package/dist/core/navigation/settings.d.ts.map +1 -1
- package/dist/core/navigation/state.d.ts.map +1 -1
- package/dist/core/navigation/utils.d.ts +3 -0
- package/dist/core/navigation/utils.d.ts.map +1 -1
- package/dist/core/provider/index.d.ts +4 -9
- package/dist/core/provider/index.d.ts.map +1 -1
- package/dist/dock/index.js +12 -14
- package/dist/error/index.js +4 -7
- package/dist/events/index.js +24 -20
- package/dist/events/index.js.map +1 -1
- package/dist/foundation/events/index.d.ts.map +1 -1
- package/dist/foundation/recipes/index.d.ts +0 -7
- package/dist/foundation/recipes/index.d.ts.map +1 -1
- package/dist/foundation/recipes/recipe.d.ts.map +1 -1
- package/dist/foundation/result/index.d.ts.map +1 -1
- package/dist/foundation/utils/collections.d.ts +11 -0
- package/dist/foundation/utils/collections.d.ts.map +1 -0
- package/dist/foundation/utils/dom.d.ts.map +1 -1
- package/dist/foundation/utils/report.d.ts.map +1 -1
- package/dist/foundation/utils/scheduler.d.ts.map +1 -1
- package/dist/foundation/utils/store.d.ts.map +1 -1
- package/dist/foundation/utils/string.d.ts.map +1 -1
- package/dist/foundation/utils/tempo.d.ts.map +1 -1
- package/dist/foundation/utils/timing.d.ts.map +1 -1
- package/dist/foundation/utils/user-message.d.ts.map +1 -1
- package/dist/hooks/index.js +3 -3
- package/dist/index.js +22 -24
- package/dist/kernel/index.js +4 -4
- package/dist/loading/index.js +6 -8
- package/dist/media/index.js +5 -5
- package/dist/modal/index.js +153 -166
- package/dist/modal/index.js.map +1 -1
- package/dist/modules/ambient/{analyze.d.ts → analysis/analyze.d.ts} +3 -3
- package/dist/modules/ambient/analysis/analyze.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-bounds.d.ts → analysis/bounds.d.ts} +2 -2
- package/dist/modules/ambient/analysis/bounds.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-clusters.d.ts → analysis/clusters.d.ts} +3 -3
- package/dist/modules/ambient/analysis/clusters.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-ground.d.ts → analysis/ground.d.ts} +3 -3
- package/dist/modules/ambient/analysis/ground.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-measures.d.ts → analysis/measures.d.ts} +2 -2
- package/dist/modules/ambient/analysis/measures.d.ts.map +1 -0
- package/dist/modules/ambient/{oklab.d.ts → analysis/oklab.d.ts} +1 -3
- package/dist/modules/ambient/analysis/oklab.d.ts.map +1 -0
- package/dist/modules/ambient/analysis/quantize.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-swatches.d.ts → analysis/swatches.d.ts} +3 -3
- package/dist/modules/ambient/analysis/swatches.d.ts.map +1 -0
- package/dist/modules/ambient/hooks.d.ts +0 -1
- package/dist/modules/ambient/hooks.d.ts.map +1 -1
- package/dist/modules/ambient/index.d.ts +2 -2
- package/dist/modules/ambient/index.d.ts.map +1 -1
- package/dist/modules/ambient/module.d.ts +0 -3
- package/dist/modules/ambient/module.d.ts.map +1 -1
- package/dist/modules/ambient/pipeline.d.ts +6 -5
- package/dist/modules/ambient/pipeline.d.ts.map +1 -1
- package/dist/modules/ambient/server/index.d.ts +2 -2
- package/dist/modules/ambient/server/index.d.ts.map +1 -1
- package/dist/modules/ambient/settings.d.ts +0 -2
- package/dist/modules/ambient/settings.d.ts.map +1 -1
- package/dist/modules/ambient/worker/index.d.ts.map +1 -1
- package/dist/modules/background/constants.d.ts +3 -1
- package/dist/modules/background/constants.d.ts.map +1 -1
- package/dist/modules/background/context.d.ts +1 -1
- package/dist/modules/background/context.d.ts.map +1 -1
- package/dist/modules/background/hooks.d.ts +929 -0
- package/dist/modules/background/hooks.d.ts.map +1 -1
- package/dist/modules/background/index.d.ts +6 -6
- package/dist/modules/background/index.d.ts.map +1 -1
- package/dist/modules/background/module.d.ts +1 -1
- package/dist/modules/background/module.d.ts.map +1 -1
- package/dist/modules/background/{hooks/use-native-video-model.d.ts → native-video.d.ts} +4 -8
- package/dist/modules/background/native-video.d.ts.map +1 -0
- package/dist/modules/background/overlay.d.ts.map +1 -0
- package/dist/modules/background/playback.d.ts.map +1 -0
- package/dist/modules/background/{model/state.d.ts → state.d.ts} +11 -1
- package/dist/modules/background/state.d.ts.map +1 -0
- package/dist/modules/background/{model/visual.d.ts → visual.d.ts} +43 -6
- package/dist/modules/background/visual.d.ts.map +1 -0
- package/dist/modules/background/youtube/audio.d.ts.map +1 -0
- package/dist/modules/background/youtube/iframe.d.ts +92 -0
- package/dist/modules/background/youtube/iframe.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/parse.d.ts → parse.d.ts} +1 -1
- package/dist/modules/background/youtube/parse.d.ts.map +1 -0
- package/dist/modules/background/youtube/{components/player.d.ts → player.d.ts} +1 -1
- package/dist/modules/background/youtube/player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/timing.d.ts → timing.d.ts} +0 -2
- package/dist/modules/background/youtube/timing.d.ts.map +1 -0
- package/dist/modules/background/youtube/use-iframe-player.d.ts +37 -0
- package/dist/modules/background/youtube/use-iframe-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{hooks/use-youtube-background-player-model.d.ts → use-player.d.ts} +2 -2
- package/dist/modules/background/youtube/use-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{hooks/use-youtube-video-sync.d.ts → use-video-sync.d.ts} +8 -4
- package/dist/modules/background/youtube/use-video-sync.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/video-events.d.ts → video-events.d.ts} +8 -8
- package/dist/modules/background/youtube/video-events.d.ts.map +1 -0
- package/dist/modules/context-menu/dom.d.ts.map +1 -1
- package/dist/modules/context-menu/items.d.ts.map +1 -1
- package/dist/modules/context-menu/overlay.d.ts +3 -10
- package/dist/modules/context-menu/overlay.d.ts.map +1 -1
- package/dist/modules/context-menu/resolver.d.ts.map +1 -1
- package/dist/modules/controls/overlay.d.ts +0 -10
- package/dist/modules/controls/overlay.d.ts.map +1 -1
- package/dist/modules/dock/{lib → card}/banner.d.ts +3 -16
- package/dist/modules/dock/card/banner.d.ts.map +1 -0
- package/dist/modules/dock/{components/card-item.d.ts → card/card.d.ts} +5 -2
- package/dist/modules/dock/card/card.d.ts.map +1 -0
- package/dist/modules/dock/card/compact.d.ts.map +1 -0
- package/dist/modules/dock/{components/item-content.d.ts → card/content.d.ts} +1 -1
- package/dist/modules/dock/card/content.d.ts.map +1 -0
- package/dist/modules/dock/card/header.d.ts +8 -0
- package/dist/modules/dock/card/header.d.ts.map +1 -0
- package/dist/modules/dock/{components → card}/icon.d.ts +1 -1
- package/dist/modules/dock/card/icon.d.ts.map +1 -0
- package/dist/modules/dock/{lib/card-item.d.ts → card/model.d.ts} +20 -2
- package/dist/modules/dock/card/model.d.ts.map +1 -0
- package/dist/modules/dock/{hooks/use-card-item-model.d.ts → card/use-card.d.ts} +44 -43
- package/dist/modules/dock/{hooks/use-card-item-model.d.ts.map → card/use-card.d.ts.map} +1 -1
- package/dist/modules/dock/commands/command-bar.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/commands.d.ts → commands/registry.d.ts} +1 -1
- package/dist/modules/dock/commands/registry.d.ts.map +1 -0
- package/dist/modules/dock/constants.d.ts +4 -7
- package/dist/modules/dock/constants.d.ts.map +1 -1
- package/dist/modules/dock/context.d.ts +1 -1
- package/dist/modules/dock/context.d.ts.map +1 -1
- package/dist/modules/dock/hooks.d.ts +47 -0
- package/dist/modules/dock/hooks.d.ts.map +1 -0
- package/dist/modules/dock/{hud.d.ts → hud/hud.d.ts} +14 -7
- package/dist/modules/dock/hud/hud.d.ts.map +1 -0
- package/dist/modules/dock/{model/hud-definition.d.ts → hud/model.d.ts} +7 -1
- package/dist/modules/dock/hud/model.d.ts.map +1 -0
- package/dist/modules/dock/{components/hud-view.d.ts → hud/view.d.ts} +1 -1
- package/dist/modules/dock/hud/view.d.ts.map +1 -0
- package/dist/modules/dock/index.d.ts +22 -22
- package/dist/modules/dock/index.d.ts.map +1 -1
- package/dist/modules/dock/items/attention.d.ts +43 -0
- package/dist/modules/dock/items/attention.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/model/items.d.ts → items/build.d.ts} +2 -2
- package/dist/modules/dock/items/build.d.ts.map +1 -0
- package/dist/modules/dock/{runtime → items}/display.d.ts +2 -5
- package/dist/modules/dock/items/display.d.ts.map +1 -0
- package/dist/modules/dock/items/operations.d.ts +22 -0
- package/dist/modules/dock/items/operations.d.ts.map +1 -0
- package/dist/modules/dock/{runtime → items}/pipeline.d.ts +1 -1
- package/dist/modules/dock/items/pipeline.d.ts.map +1 -0
- package/dist/modules/dock/{components/media-action.d.ts → media/controls.d.ts} +5 -2
- package/dist/modules/dock/media/controls.d.ts.map +1 -0
- package/dist/modules/dock/{lib/media.d.ts → media/model.d.ts} +1 -3
- package/dist/modules/dock/media/model.d.ts.map +1 -0
- package/dist/modules/dock/{components/media-scrubber.d.ts → media/scrubber.d.ts} +1 -1
- package/dist/modules/dock/media/scrubber.d.ts.map +1 -0
- package/dist/modules/dock/{hooks/use-media-controls-model.d.ts → media/use-controls.d.ts} +8 -8
- package/dist/modules/dock/media/use-controls.d.ts.map +1 -0
- package/dist/modules/dock/module.d.ts.map +1 -1
- package/dist/modules/dock/motion.d.ts +27 -28
- package/dist/modules/dock/motion.d.ts.map +1 -1
- package/dist/modules/dock/provider.d.ts.map +1 -1
- package/dist/modules/dock/routing/breadcrumbs-card.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/continuity.d.ts → continuity-state.d.ts} +2 -2
- package/dist/modules/dock/routing/continuity-state.d.ts.map +1 -0
- package/dist/modules/dock/routing/continuity.d.ts +8 -8
- package/dist/modules/dock/routing/continuity.d.ts.map +1 -1
- package/dist/modules/dock/routing/navigation.d.ts +0 -10
- package/dist/modules/dock/routing/navigation.d.ts.map +1 -1
- package/dist/modules/dock/routing/paths.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/policy.d.ts → policy.d.ts} +1 -1
- package/dist/modules/dock/routing/policy.d.ts.map +1 -0
- package/dist/modules/dock/routing/{hooks/use-route-prefetch.d.ts → prefetch.d.ts} +3 -3
- package/dist/modules/dock/routing/prefetch.d.ts.map +1 -0
- package/dist/modules/dock/routing/route-bridge.d.ts +8 -0
- package/dist/modules/dock/routing/route-bridge.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/topology.d.ts → topology.d.ts} +1 -1
- package/dist/modules/dock/routing/topology.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/model → stack}/cards.d.ts +8 -5
- package/dist/modules/dock/stack/cards.d.ts.map +1 -0
- package/dist/modules/dock/stack/dock.d.ts.map +1 -0
- package/dist/modules/dock/stack/focus.d.ts +22 -0
- package/dist/modules/dock/stack/focus.d.ts.map +1 -0
- package/dist/modules/dock/{model → stack}/layout.d.ts +8 -2
- package/dist/modules/dock/stack/layout.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/dock.d.ts → stack/use-dock-model.d.ts} +2 -1
- package/dist/modules/dock/stack/use-dock-model.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/hooks → stack}/use-dock.d.ts +9 -9
- package/dist/modules/dock/stack/use-dock.d.ts.map +1 -0
- package/dist/modules/dock/stack/use-height.d.ts +12 -0
- package/dist/modules/dock/stack/use-height.d.ts.map +1 -0
- package/dist/modules/dock/{components/status-actions.d.ts → status/actions.d.ts} +1 -1
- package/dist/modules/dock/status/actions.d.ts.map +1 -0
- package/dist/modules/dock/status/events.d.ts +4 -4
- package/dist/modules/dock/status/events.d.ts.map +1 -1
- package/dist/modules/dock/status/hooks.d.ts.map +1 -1
- package/dist/modules/dock/status/model.d.ts +34 -4
- package/dist/modules/dock/status/model.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/builder.d.ts → builder.d.ts} +13 -7
- package/dist/modules/dock/surface/builder.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface/item-content.d.ts → surface/content.d.ts} +2 -2
- package/dist/modules/dock/surface/content.d.ts.map +1 -0
- package/dist/modules/dock/surface/context.d.ts +12 -3
- package/dist/modules/dock/surface/context.d.ts.map +1 -1
- package/dist/modules/dock/surface/controls.d.ts +26 -0
- package/dist/modules/dock/surface/controls.d.ts.map +1 -0
- package/dist/modules/dock/surface/definition.d.ts.map +1 -1
- package/dist/modules/dock/{components/surface → surface}/extensions-bar.d.ts +1 -1
- package/dist/modules/dock/surface/extensions-bar.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface/action.d.ts → surface/extensions.d.ts} +4 -2
- package/dist/modules/dock/surface/extensions.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface → surface}/header-button.d.ts +3 -3
- package/dist/modules/dock/surface/header-button.d.ts.map +1 -0
- package/dist/modules/dock/surface/helpers.d.ts +13 -1
- package/dist/modules/dock/surface/helpers.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/normalize.d.ts → normalize.d.ts} +1 -1
- package/dist/modules/dock/surface/normalize.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/choreography.d.ts +28 -2
- package/dist/modules/dock/surface/runtime/choreography.d.ts.map +1 -1
- package/dist/modules/dock/surface/runtime/flows.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/flows.d.ts.map +1 -1
- package/dist/modules/dock/surface/{machine.d.ts → runtime/machine.d.ts} +1 -1
- package/dist/modules/dock/surface/runtime/machine.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/open.d.ts +1 -2
- package/dist/modules/dock/surface/runtime/open.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model → runtime}/records.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/records.d.ts.map +1 -0
- package/dist/modules/dock/surface/{stack.d.ts → runtime/stack.d.ts} +10 -10
- package/dist/modules/dock/surface/runtime/stack.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/steps.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/steps.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/transition-state.d.ts → runtime/transition.d.ts} +1 -1
- package/dist/modules/dock/surface/runtime/transition.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/url.d.ts.map +1 -0
- package/dist/modules/dock/surface/{hooks/use-surface-shell-model.d.ts → shell.d.ts} +9 -3
- package/dist/modules/dock/surface/shell.d.ts.map +1 -0
- package/dist/modules/dock/surface/{hooks/use-surface-flow.d.ts → use-flow.d.ts} +2 -2
- package/dist/modules/dock/surface/use-flow.d.ts.map +1 -0
- package/dist/modules/dock/surface/view-model.d.ts.map +1 -1
- package/dist/modules/dock/{lib/styles.d.ts → theme.d.ts} +22 -18
- package/dist/modules/dock/theme.d.ts.map +1 -0
- package/dist/modules/dock/types/card.d.ts +12 -3
- package/dist/modules/dock/types/card.d.ts.map +1 -1
- package/dist/modules/dock/types/index.d.ts +1 -1
- package/dist/modules/dock/types/index.d.ts.map +1 -1
- package/dist/modules/dock/types/surface.d.ts +2 -2
- package/dist/modules/dock/types/surface.d.ts.map +1 -1
- package/dist/modules/dock/{lib/helpers.d.ts → utils.d.ts} +10 -3
- package/dist/modules/dock/utils.d.ts.map +1 -0
- package/dist/modules/index.js +20 -22
- package/dist/modules/loading/hooks.d.ts +2 -1
- package/dist/modules/loading/hooks.d.ts.map +1 -1
- package/dist/modules/loading/state.d.ts.map +1 -1
- package/dist/modules/media/hooks.d.ts.map +1 -1
- package/dist/modules/media/playback.d.ts.map +1 -1
- package/dist/modules/modal/constants.d.ts +3 -1
- package/dist/modules/modal/constants.d.ts.map +1 -1
- package/dist/modules/modal/{components/modal-container.d.ts → container.d.ts} +2 -2
- package/dist/modules/modal/container.d.ts.map +1 -0
- package/dist/modules/modal/context.d.ts +5 -1
- package/dist/modules/modal/context.d.ts.map +1 -1
- package/dist/modules/modal/dom.d.ts.map +1 -0
- package/dist/modules/modal/hooks.d.ts +3 -2
- package/dist/modules/modal/hooks.d.ts.map +1 -1
- package/dist/modules/modal/index.d.ts +7 -7
- package/dist/modules/modal/index.d.ts.map +1 -1
- package/dist/modules/modal/{model/layout.d.ts → layout.d.ts} +1 -1
- package/dist/modules/modal/layout.d.ts.map +1 -0
- package/dist/modules/modal/module.d.ts +1 -1
- package/dist/modules/modal/module.d.ts.map +1 -1
- package/dist/modules/modal/overlay.d.ts.map +1 -0
- package/dist/modules/modal/state.d.ts +52 -0
- package/dist/modules/modal/state.d.ts.map +1 -0
- package/dist/modules/navigation/hooks.d.ts.map +1 -1
- package/dist/modules/notification/hooks.d.ts.map +1 -1
- package/dist/modules/notification/overlay.d.ts +0 -1
- package/dist/modules/notification/overlay.d.ts.map +1 -1
- package/dist/navigation/index.js +33 -41
- package/dist/navigation/index.js.map +1 -1
- package/dist/notification/index.js +8 -7
- package/dist/overlay-ZCMQVNYT.js +12 -0
- package/dist/{overlay-7QLGWHCH.js.map → overlay-ZCMQVNYT.js.map} +1 -1
- package/dist/provider/index.js +7 -11
- package/dist/react/hooks/index.d.ts +3 -1
- package/dist/react/hooks/index.d.ts.map +1 -1
- package/dist/react/hooks/use-client-value.d.ts +15 -0
- package/dist/react/hooks/use-client-value.d.ts.map +1 -0
- package/dist/react/hooks/use-controllable-state.d.ts +8 -1
- package/dist/react/hooks/use-controllable-state.d.ts.map +1 -1
- package/dist/react/hooks/use-fullscreen-state.d.ts +0 -2
- package/dist/react/hooks/use-fullscreen-state.d.ts.map +1 -1
- package/dist/react/hooks/use-global-event.d.ts +7 -1
- package/dist/react/hooks/use-global-event.d.ts.map +1 -1
- package/dist/react/hooks/use-hotkey.d.ts +9 -1
- package/dist/react/hooks/use-hotkey.d.ts.map +1 -1
- package/dist/react/hooks/use-scroll-lock.d.ts.map +1 -1
- package/dist/react/hooks/use-store.d.ts +3 -0
- package/dist/react/hooks/use-store.d.ts.map +1 -1
- package/dist/react/theme/index.d.ts +7 -2
- package/dist/react/theme/index.d.ts.map +1 -1
- package/dist/react/theme/parts.d.ts +89 -0
- package/dist/react/theme/parts.d.ts.map +1 -0
- package/dist/recipes/index.js +6 -121
- package/dist/recipes/index.js.map +1 -1
- package/dist/result/index.js +12 -15
- package/dist/result/index.js.map +1 -1
- package/dist/theme/index.js +2 -2
- package/dist/utils/index.js +31 -34
- package/dist/utils/index.js.map +1 -1
- package/docs/README.md +11 -12
- package/docs/architecture-and-rules.md +43 -32
- package/docs/core-engine.md +11 -13
- package/docs/custom-modules.md +1 -1
- package/docs/design.md +60 -153
- package/docs/getting-started.md +3 -5
- package/docs/modules/README.md +16 -16
- package/docs/modules/ambient.md +23 -23
- package/docs/modules/background.md +24 -19
- package/docs/modules/context-menu.md +1 -1
- package/docs/modules/dock.md +47 -43
- package/docs/modules/error-boundary.md +2 -3
- package/docs/modules/kernel.md +28 -30
- package/docs/modules/loading.md +1 -1
- package/docs/modules/modal.md +17 -16
- package/docs/modules/navigation.md +14 -14
- package/docs/testing.md +1 -1
- package/package.json +1 -8
- package/templates/AGENTS.md +4 -3
- package/MIGRATION.md +0 -99
- package/dist/chunk-67MOKJFZ.js.map +0 -1
- package/dist/chunk-6IP6YFQX.js.map +0 -1
- package/dist/chunk-7VU2OAJB.js +0 -464
- package/dist/chunk-7VU2OAJB.js.map +0 -1
- package/dist/chunk-AZ2ZDFNP.js +0 -17
- package/dist/chunk-BMFHS3GV.js.map +0 -1
- package/dist/chunk-D222OCTV.js.map +0 -1
- package/dist/chunk-ESD5EQ5H.js +0 -178
- package/dist/chunk-ESD5EQ5H.js.map +0 -1
- package/dist/chunk-FFJWJ4OB.js.map +0 -1
- package/dist/chunk-GKAJ4EM2.js.map +0 -1
- package/dist/chunk-HFR6YROB.js.map +0 -1
- package/dist/chunk-IH3STE7W.js.map +0 -1
- package/dist/chunk-KOYTJW5E.js.map +0 -1
- package/dist/chunk-LKYW4LH6.js.map +0 -1
- package/dist/chunk-QGPRTUED.js.map +0 -1
- package/dist/chunk-QRXDXAQI.js.map +0 -1
- package/dist/chunk-R4K6VAOK.js.map +0 -1
- package/dist/chunk-RDYYP36I.js.map +0 -1
- package/dist/chunk-RGC2VFQO.js +0 -139
- package/dist/chunk-RGC2VFQO.js.map +0 -1
- package/dist/chunk-TAWTGCWJ.js +0 -113
- package/dist/chunk-TAWTGCWJ.js.map +0 -1
- package/dist/chunk-UDJ7ARCH.js +0 -140
- package/dist/chunk-UDJ7ARCH.js.map +0 -1
- package/dist/chunk-UQLTP3XB.js.map +0 -1
- package/dist/chunk-WQTMOUCA.js.map +0 -1
- package/dist/chunk-WZ5T2NXH.js +0 -702
- package/dist/chunk-WZ5T2NXH.js.map +0 -1
- package/dist/chunk-XGAYTDSI.js.map +0 -1
- package/dist/chunk-YZS2B6YE.js.map +0 -1
- package/dist/chunk-ZXRE2KZO.js.map +0 -1
- package/dist/core/error/theme.d.ts +0 -10
- package/dist/core/error/theme.d.ts.map +0 -1
- package/dist/core/kernel/adapters.d.ts.map +0 -1
- package/dist/core/kernel/compose.d.ts.map +0 -1
- package/dist/core/kernel/handlers.d.ts.map +0 -1
- package/dist/core/kernel/hooks.d.ts.map +0 -1
- package/dist/core/kernel/installed.d.ts.map +0 -1
- package/dist/core/kernel/module.d.ts.map +0 -1
- package/dist/core/kernel/operations-records.d.ts.map +0 -1
- package/dist/core/kernel/operations-resolve.d.ts +0 -5
- package/dist/core/kernel/operations-resolve.d.ts.map +0 -1
- package/dist/core/kernel/operations.d.ts.map +0 -1
- package/dist/core/kernel/page-controller.d.ts.map +0 -1
- package/dist/core/kernel/provider.d.ts.map +0 -1
- package/dist/core/kernel/runtime.d.ts.map +0 -1
- package/dist/core/kernel/schema.d.ts.map +0 -1
- package/dist/core/kernel/stabilize.d.ts.map +0 -1
- package/dist/core/kernel/store-batch.d.ts +0 -17
- package/dist/core/kernel/store-batch.d.ts.map +0 -1
- package/dist/core/kernel/store-entries.d.ts +0 -6
- package/dist/core/kernel/store-entries.d.ts.map +0 -1
- package/dist/core/kernel/store-handles.d.ts +0 -4
- package/dist/core/kernel/store-handles.d.ts.map +0 -1
- package/dist/core/kernel/store-registration.d.ts +0 -14
- package/dist/core/kernel/store-registration.d.ts.map +0 -1
- package/dist/core/kernel/store-snapshots.d.ts.map +0 -1
- package/dist/core/kernel/store-subscriptions.d.ts.map +0 -1
- package/dist/core/kernel/store.d.ts.map +0 -1
- package/dist/core/kernel/types-modules.d.ts.map +0 -1
- package/dist/core/kernel/types-page.d.ts.map +0 -1
- package/dist/core/kernel/types-store.d.ts.map +0 -1
- package/dist/core/kernel/types.d.ts.map +0 -1
- package/dist/core/navigation/navigator-defaults.d.ts +0 -4
- package/dist/core/navigation/navigator-defaults.d.ts.map +0 -1
- package/dist/core/navigation/navigator-holds.d.ts.map +0 -1
- package/dist/core/navigation/navigator-patience.d.ts.map +0 -1
- package/dist/core/navigation/navigator-payload.d.ts.map +0 -1
- package/dist/core/navigation/navigator-prefetch.d.ts.map +0 -1
- package/dist/foundation/recipes/anatomy.d.ts +0 -139
- package/dist/foundation/recipes/anatomy.d.ts.map +0 -1
- package/dist/foundation/recipes/define.d.ts +0 -133
- package/dist/foundation/recipes/define.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-bounds.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-clusters.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-ground.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-measures.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-swatches.d.ts.map +0 -1
- package/dist/modules/ambient/analyze.d.ts.map +0 -1
- package/dist/modules/ambient/oklab.d.ts.map +0 -1
- package/dist/modules/ambient/quantize.d.ts.map +0 -1
- package/dist/modules/background/components/background-gradients.d.ts +0 -8
- package/dist/modules/background/components/background-gradients.d.ts.map +0 -1
- package/dist/modules/background/components/edge-gradient.d.ts +0 -9
- package/dist/modules/background/components/edge-gradient.d.ts.map +0 -1
- package/dist/modules/background/components/native-video.d.ts +0 -4
- package/dist/modules/background/components/native-video.d.ts.map +0 -1
- package/dist/modules/background/components/noise-overlay.d.ts +0 -11
- package/dist/modules/background/components/noise-overlay.d.ts.map +0 -1
- package/dist/modules/background/components/overlay.d.ts.map +0 -1
- package/dist/modules/background/components/solid-overlay.d.ts +0 -10
- package/dist/modules/background/components/solid-overlay.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-media-source.d.ts +0 -4
- package/dist/modules/background/hooks/use-background-media-source.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-motion-model.d.ts +0 -15
- package/dist/modules/background/hooks/use-background-motion-model.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts +0 -929
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-native-video-model.d.ts.map +0 -1
- package/dist/modules/background/lib/theme.d.ts +0 -4
- package/dist/modules/background/lib/theme.d.ts.map +0 -1
- package/dist/modules/background/model/override.d.ts +0 -14
- package/dist/modules/background/model/override.d.ts.map +0 -1
- package/dist/modules/background/model/playback.d.ts.map +0 -1
- package/dist/modules/background/model/state.d.ts.map +0 -1
- package/dist/modules/background/model/video-frame.d.ts +0 -31
- package/dist/modules/background/model/video-frame.d.ts.map +0 -1
- package/dist/modules/background/model/visual.d.ts.map +0 -1
- package/dist/modules/background/youtube/components/player.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-background-player-model.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts +0 -20
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts +0 -8
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-video-sync.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/audio.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts +0 -29
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts +0 -47
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe.d.ts +0 -47
- package/dist/modules/background/youtube/lib/iframe.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/parse.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/timing.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/video-events.d.ts.map +0 -1
- package/dist/modules/dock/components/badge.d.ts +0 -5
- package/dist/modules/dock/components/badge.d.ts.map +0 -1
- package/dist/modules/dock/components/breadcrumbs-card.d.ts.map +0 -1
- package/dist/modules/dock/components/card-banner.d.ts +0 -4
- package/dist/modules/dock/components/card-banner.d.ts.map +0 -1
- package/dist/modules/dock/components/card-header.d.ts +0 -4
- package/dist/modules/dock/components/card-header.d.ts.map +0 -1
- package/dist/modules/dock/components/card-item.d.ts.map +0 -1
- package/dist/modules/dock/components/command-bar.d.ts.map +0 -1
- package/dist/modules/dock/components/compact.d.ts.map +0 -1
- package/dist/modules/dock/components/description.d.ts +0 -4
- package/dist/modules/dock/components/description.d.ts.map +0 -1
- package/dist/modules/dock/components/dock.d.ts.map +0 -1
- package/dist/modules/dock/components/hud-view.d.ts.map +0 -1
- package/dist/modules/dock/components/icon.d.ts.map +0 -1
- package/dist/modules/dock/components/item-content.d.ts.map +0 -1
- package/dist/modules/dock/components/media-action.d.ts.map +0 -1
- package/dist/modules/dock/components/media-controls.d.ts +0 -4
- package/dist/modules/dock/components/media-controls.d.ts.map +0 -1
- package/dist/modules/dock/components/media-scrubber.d.ts.map +0 -1
- package/dist/modules/dock/components/status-actions.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/action.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/controls.d.ts +0 -12
- package/dist/modules/dock/components/surface/controls.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/extensions-bar.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/header-button.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/item-content.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/shell.d.ts +0 -3
- package/dist/modules/dock/components/surface/shell.d.ts.map +0 -1
- package/dist/modules/dock/components/title.d.ts +0 -4
- package/dist/modules/dock/components/title.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-action-slot.d.ts +0 -6
- package/dist/modules/dock/hooks/use-action-slot.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-badge.d.ts +0 -4
- package/dist/modules/dock/hooks/use-badge.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts +0 -18
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-card-header-model.d.ts +0 -7
- package/dist/modules/dock/hooks/use-card-header-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts +0 -12
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-banner.d.ts +0 -11
- package/dist/modules/dock/hooks/use-dock-banner.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-config.d.ts +0 -19
- package/dist/modules/dock/hooks/use-dock-config.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts +0 -7
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts +0 -7
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts +0 -11
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-registration.d.ts +0 -8
- package/dist/modules/dock/hooks/use-dock-registration.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts +0 -2
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-theme.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-theme.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-element-height.d.ts +0 -3
- package/dist/modules/dock/hooks/use-element-height.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-hud-registry.d.ts +0 -16
- package/dist/modules/dock/hooks/use-hud-registry.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts +0 -9
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-media-controls-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts +0 -27
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-pending-skeleton.d.ts +0 -7
- package/dist/modules/dock/hooks/use-pending-skeleton.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts +0 -12
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-surface-return.d.ts +0 -8
- package/dist/modules/dock/hooks/use-surface-return.d.ts.map +0 -1
- package/dist/modules/dock/hud.d.ts.map +0 -1
- package/dist/modules/dock/lib/banner.d.ts.map +0 -1
- package/dist/modules/dock/lib/card-item.d.ts.map +0 -1
- package/dist/modules/dock/lib/card.d.ts +0 -20
- package/dist/modules/dock/lib/card.d.ts.map +0 -1
- package/dist/modules/dock/lib/command-bar.d.ts +0 -8
- package/dist/modules/dock/lib/command-bar.d.ts.map +0 -1
- package/dist/modules/dock/lib/dom.d.ts +0 -7
- package/dist/modules/dock/lib/dom.d.ts.map +0 -1
- package/dist/modules/dock/lib/element-helpers.d.ts +0 -8
- package/dist/modules/dock/lib/element-helpers.d.ts.map +0 -1
- package/dist/modules/dock/lib/helpers.d.ts.map +0 -1
- package/dist/modules/dock/lib/media.d.ts.map +0 -1
- package/dist/modules/dock/lib/styles.d.ts.map +0 -1
- package/dist/modules/dock/model/hud-definition.d.ts.map +0 -1
- package/dist/modules/dock/model/hud.d.ts +0 -10
- package/dist/modules/dock/model/hud.d.ts.map +0 -1
- package/dist/modules/dock/model/layout.d.ts.map +0 -1
- package/dist/modules/dock/model/page-entry.d.ts +0 -11
- package/dist/modules/dock/model/page-entry.d.ts.map +0 -1
- package/dist/modules/dock/model/page-surface.d.ts +0 -4
- package/dist/modules/dock/model/page-surface.d.ts.map +0 -1
- package/dist/modules/dock/model/paths.d.ts.map +0 -1
- package/dist/modules/dock/model/state.d.ts +0 -28
- package/dist/modules/dock/model/state.d.ts.map +0 -1
- package/dist/modules/dock/model/surface-return.d.ts +0 -14
- package/dist/modules/dock/model/surface-return.d.ts.map +0 -1
- package/dist/modules/dock/routing/hooks/use-route-prefetch.d.ts.map +0 -1
- package/dist/modules/dock/routing/lib/restore.d.ts +0 -7
- package/dist/modules/dock/routing/lib/restore.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/continuity.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/policy.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/topology.d.ts.map +0 -1
- package/dist/modules/dock/runtime/commands.d.ts.map +0 -1
- package/dist/modules/dock/runtime/display.d.ts.map +0 -1
- package/dist/modules/dock/runtime/dock.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts +0 -10
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts +0 -10
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts +0 -14
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts +0 -7
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/attention.d.ts +0 -25
- package/dist/modules/dock/runtime/model/attention.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/cards.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/items.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/layout.d.ts +0 -10
- package/dist/modules/dock/runtime/model/layout.d.ts.map +0 -1
- package/dist/modules/dock/runtime/pipeline.d.ts.map +0 -1
- package/dist/modules/dock/runtime/provider-actions.d.ts +0 -38
- package/dist/modules/dock/runtime/provider-actions.d.ts.map +0 -1
- package/dist/modules/dock/status/action-options.d.ts +0 -35
- package/dist/modules/dock/status/action-options.d.ts.map +0 -1
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts +0 -5
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts.map +0 -1
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts +0 -7
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts.map +0 -1
- package/dist/modules/dock/surface/constants.d.ts +0 -5
- package/dist/modules/dock/surface/constants.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts +0 -15
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts +0 -7
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts +0 -14
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-flow.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts +0 -13
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-shell-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/lib/drag.d.ts +0 -9
- package/dist/modules/dock/surface/lib/drag.d.ts.map +0 -1
- package/dist/modules/dock/surface/lib/target.d.ts +0 -8
- package/dist/modules/dock/surface/lib/target.d.ts.map +0 -1
- package/dist/modules/dock/surface/machine.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/builder.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/normalize.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/open.d.ts +0 -26
- package/dist/modules/dock/surface/model/open.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/records.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/steps.d.ts +0 -9
- package/dist/modules/dock/surface/model/steps.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/transition-state.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/url.d.ts.map +0 -1
- package/dist/modules/dock/surface/runtime/context.d.ts +0 -29
- package/dist/modules/dock/surface/runtime/context.d.ts.map +0 -1
- package/dist/modules/dock/surface/runtime/release.d.ts +0 -9
- package/dist/modules/dock/surface/runtime/release.d.ts.map +0 -1
- package/dist/modules/dock/surface/stack.d.ts.map +0 -1
- package/dist/modules/dock/types/compact.d.ts +0 -13
- package/dist/modules/dock/types/compact.d.ts.map +0 -1
- package/dist/modules/modal/components/close-button.d.ts +0 -6
- package/dist/modules/modal/components/close-button.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-container.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-layer-switcher.d.ts +0 -9
- package/dist/modules/modal/components/modal-layer-switcher.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-layer.d.ts +0 -17
- package/dist/modules/modal/components/modal-layer.d.ts.map +0 -1
- package/dist/modules/modal/components/overlay.d.ts.map +0 -1
- package/dist/modules/modal/components/resolve-header.d.ts +0 -10
- package/dist/modules/modal/components/resolve-header.d.ts.map +0 -1
- package/dist/modules/modal/components/slot-row.d.ts +0 -12
- package/dist/modules/modal/components/slot-row.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts +0 -3
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts +0 -12
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts +0 -3
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts.map +0 -1
- package/dist/modules/modal/lib/dom.d.ts.map +0 -1
- package/dist/modules/modal/lib/theme.d.ts +0 -4
- package/dist/modules/modal/lib/theme.d.ts.map +0 -1
- package/dist/modules/modal/model/entry.d.ts +0 -18
- package/dist/modules/modal/model/entry.d.ts.map +0 -1
- package/dist/modules/modal/model/header.d.ts +0 -16
- package/dist/modules/modal/model/header.d.ts.map +0 -1
- package/dist/modules/modal/model/identity.d.ts +0 -13
- package/dist/modules/modal/model/identity.d.ts.map +0 -1
- package/dist/modules/modal/model/layout.d.ts.map +0 -1
- package/dist/modules/modal/model/state.d.ts +0 -10
- package/dist/modules/modal/model/state.d.ts.map +0 -1
- package/dist/overlay-7QLGWHCH.js +0 -13
- package/dist/react/hooks/types.d.ts +0 -25
- package/dist/react/hooks/types.d.ts.map +0 -1
- package/dist/react/ui/components/avatar.d.ts +0 -6
- package/dist/react/ui/components/avatar.d.ts.map +0 -1
- package/dist/react/ui/components/button.d.ts +0 -6
- package/dist/react/ui/components/button.d.ts.map +0 -1
- package/dist/react/ui/components/carousel.d.ts +0 -6
- package/dist/react/ui/components/carousel.d.ts.map +0 -1
- package/dist/react/ui/components/checkbox.d.ts +0 -10
- package/dist/react/ui/components/checkbox.d.ts.map +0 -1
- package/dist/react/ui/components/icon.d.ts +0 -6
- package/dist/react/ui/components/icon.d.ts.map +0 -1
- package/dist/react/ui/components/image.d.ts +0 -6
- package/dist/react/ui/components/image.d.ts.map +0 -1
- package/dist/react/ui/components/indicator.d.ts +0 -45
- package/dist/react/ui/components/indicator.d.ts.map +0 -1
- package/dist/react/ui/components/input.d.ts +0 -10
- package/dist/react/ui/components/input.d.ts.map +0 -1
- package/dist/react/ui/components/loader.d.ts +0 -10
- package/dist/react/ui/components/loader.d.ts.map +0 -1
- package/dist/react/ui/components/segmented.d.ts +0 -6
- package/dist/react/ui/components/segmented.d.ts.map +0 -1
- package/dist/react/ui/components/select-parts.d.ts +0 -22
- package/dist/react/ui/components/select-parts.d.ts.map +0 -1
- package/dist/react/ui/components/select.d.ts +0 -6
- package/dist/react/ui/components/select.d.ts.map +0 -1
- package/dist/react/ui/components/skeleton.d.ts +0 -10
- package/dist/react/ui/components/skeleton.d.ts.map +0 -1
- package/dist/react/ui/components/switch.d.ts +0 -6
- package/dist/react/ui/components/switch.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-group.d.ts +0 -34
- package/dist/react/ui/components/tooltip-group.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-placement.d.ts +0 -43
- package/dist/react/ui/components/tooltip-placement.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-slot.d.ts +0 -23
- package/dist/react/ui/components/tooltip-slot.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip.d.ts +0 -13
- package/dist/react/ui/components/tooltip.d.ts.map +0 -1
- package/dist/react/ui/index.d.ts +0 -19
- package/dist/react/ui/index.d.ts.map +0 -1
- package/dist/react/ui/provider.d.ts +0 -22
- package/dist/react/ui/provider.d.ts.map +0 -1
- package/dist/react/ui/types-controls.d.ts +0 -133
- package/dist/react/ui/types-controls.d.ts.map +0 -1
- package/dist/react/ui/types.d.ts +0 -213
- package/dist/react/ui/types.d.ts.map +0 -1
- package/dist/react/ui/utils.d.ts +0 -65
- package/dist/react/ui/utils.d.ts.map +0 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.js +0 -2268
- package/dist/ui/index.js.map +0 -1
- package/docs/proposals/navigation.md +0 -210
- /package/dist/modules/ambient/{quantize.d.ts → analysis/quantize.d.ts} +0 -0
- /package/dist/modules/background/{components/overlay.d.ts → overlay.d.ts} +0 -0
- /package/dist/modules/background/{model/playback.d.ts → playback.d.ts} +0 -0
- /package/dist/modules/background/youtube/{lib/audio.d.ts → audio.d.ts} +0 -0
- /package/dist/modules/dock/{components → card}/compact.d.ts +0 -0
- /package/dist/modules/dock/{components → commands}/command-bar.d.ts +0 -0
- /package/dist/modules/dock/{components → routing}/breadcrumbs-card.d.ts +0 -0
- /package/dist/modules/dock/{model → routing}/paths.d.ts +0 -0
- /package/dist/modules/dock/{components → stack}/dock.d.ts +0 -0
- /package/dist/modules/dock/surface/{model → runtime}/url.d.ts +0 -0
- /package/dist/modules/modal/{lib/dom.d.ts → dom.d.ts} +0 -0
- /package/dist/modules/modal/{components/overlay.d.ts → overlay.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continuity.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/continuity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,OAAO,CAAC;AAOvE,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"continuity.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/continuity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,OAAO,CAAC;AAOvE,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAYlB,iBAAS,uBAAuB,CAC9B,QAAQ,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACxC,OAAO,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,mBAAmB,CAAA;CAAE;;;kCAM/B,MAAM,cAAa,MAAM,GAAG,IAAI;kCAahC,MAAM,UAAS,sBAAsB;wBAU/C,MAAM;+BACC,MAAM;6BAGjB,MAAM,YACP,6BAA6B;2BAiBrB,MAAM;4BAGb,MAAM,iCAIb;YAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE;;iBAa7C;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,mBAAmB,CAAA;KAAE;EAIlE;AAED,oFAAoF;AACpF,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAC5C,OAAO,uBAAuB,CAC/B,CAAC,SAAS,CAAC,CAAC;AAEb;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAwC,GACzC,GAAE;IACD,UAAU,CAAC,EAAE,MAAM,CAAC;CAChB;;;kCApFwB,MAAM,cAAa,MAAM,GAAG,IAAI;kCAahC,MAAM,UAAS,sBAAsB;wBAU/C,MAAM;+BACC,MAAM;6BAGjB,MAAM,YACP,6BAA6B;2BAiBrB,MAAM;4BAGb,MAAM,iCAIb;YAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE;;;;EAmD7D"}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import type { DockActions, DockItem, DockRouteSnapshot } from "../types";
|
|
2
|
-
export declare function useDockLocationKey(): {
|
|
3
|
-
locationKey: string;
|
|
4
|
-
syncLocationKey: typeof syncLocationKey;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Makes useSyncExternalStore re-read the location key. Module level, so it is
|
|
8
|
-
* a stable effect dep in useDockNavigation.
|
|
9
|
-
*/
|
|
10
|
-
declare function syncLocationKey(): void;
|
|
11
2
|
export declare function useDockViewConnection({ activeItem, locationKey, navigate, pathname, }: DockRouteSnapshot & {
|
|
12
3
|
navigate: DockActions["navigate"];
|
|
13
4
|
}): void;
|
|
@@ -23,5 +14,4 @@ export declare function useDockNavigation(): {
|
|
|
23
14
|
}) => Promise<boolean>;
|
|
24
15
|
pathname: string;
|
|
25
16
|
};
|
|
26
|
-
export {};
|
|
27
17
|
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/navigation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/navigation.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EACV,WAAW,EACX,QAAQ,EAER,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAwDlB,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,iBAAiB,GAAG;IAAE,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;CAAE,QAa3D;AAwCD,wBAAgB,iBAAiB;;;;;qBA0GrB,MAAM,6BAKT;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;EA0CpE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/paths.ts"],"names":[],"mappings":"AAGA,yDAAyD;AACzD,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAMjE;AAED,0EAA0E;AAC1E,wBAAgB,YAAY,CAC1B,aAAa,EAAE,OAAO,EACtB,QAAQ,EAAE,OAAO,GAChB,OAAO,CAOT;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAC3B,MAAM,CAER;AAED,uEAAuE;AACvE,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,GAChB,OAAO,CAIT;AAED,iEAAiE;AACjE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAG1D;AAOD,+DAA+D;AAC/D,wBAAgB,kBAAkB,CAAC,EACjC,IAAS,EACT,QAAc,EACd,MAAW,GACZ,GAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,CAOd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,eAAe,EAEhB,MAAM,UAAU,CAAC;AAelB,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,IAAW,GACZ,GAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAA;CAAO,GAAG,eAAe,CAoBlE;AAED,wBAAgB,eAAe,CAAC,IAAI,SAAK,GAAG,MAAM,CASjD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { NavigationActions } from "
|
|
2
|
-
import type { PrefetchingRouter } from "
|
|
1
|
+
import type { NavigationActions } from "../../../core/navigation/types";
|
|
2
|
+
import type { PrefetchingRouter } from "../types";
|
|
3
3
|
export declare function useRoutePrefetch(router: PrefetchingRouter | null | undefined, { intentDelayMs, navigator, }?: {
|
|
4
4
|
intentDelayMs?: number;
|
|
5
5
|
navigator?: Pick<NavigationActions, "prefetch"> | null;
|
|
@@ -9,4 +9,4 @@ export declare function useRoutePrefetch(router: PrefetchingRouter | null | unde
|
|
|
9
9
|
immediate?: boolean;
|
|
10
10
|
}) => boolean;
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=prefetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefetch.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/prefetch.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,UAAU,CAAC;AAGtE,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,EAC5C,EACE,aAA6C,EAC7C,SAAgB,GACjB,GAAE;IACD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC;CACnD;gCAM6B,MAAM;0BASjC,MAAM,kBACW;QAAE,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE;EA+DjD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DockRouteSnapshot, DockViewBridge } from "../types";
|
|
2
|
+
export declare function useDockRouteBridge(): {
|
|
3
|
+
navigate: (href: string, options?: import("..").DockNavigateOptions) => Promise<boolean>;
|
|
4
|
+
routeState: DockRouteSnapshot;
|
|
5
|
+
viewBridge: DockViewBridge;
|
|
6
|
+
};
|
|
7
|
+
export declare function useDockRouteReset(pathname: string | null, onRouteChange?: (path: string | null) => void): void;
|
|
8
|
+
//# sourceMappingURL=route-bridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-bridge.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/route-bridge.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAe,iBAAiB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AA+C/E,wBAAgB,kBAAkB;;;;EAYjC;AAED,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,QAY9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topology.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/routing/topology.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAoB,MAAM,UAAU,CAAC;AAqDzE,wBAAgB,kBAAkB,CAChC,KAAK,GAAE,QAAQ,EAAO,EACtB,EAAE,QAAa,EAAE,GAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAO,GAC5C,YAAY,CAWd"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Dispatch, SetStateAction } from "react";
|
|
2
|
-
import type { DockCardItemProps, DockCompactProps, DockItem } from "
|
|
2
|
+
import type { DockCardItemProps, DockCompactProps, DockItem } from "../types";
|
|
3
3
|
/** Focus index meaning that no card is focused. */
|
|
4
4
|
export declare const NO_FOCUSED_INDEX = -1;
|
|
5
5
|
/** Result of `dismissSurfaceFromOutside` when it closed or blocked a surface. */
|
|
@@ -22,6 +22,8 @@ interface DockCardPropsInput {
|
|
|
22
22
|
hud: DockCardItemProps["hud"];
|
|
23
23
|
/** Set while the dock shows the compact layout: only the front card stays. */
|
|
24
24
|
compact: DockCompactProps | null;
|
|
25
|
+
/** Inner width of the full card, for the front card's standard content. */
|
|
26
|
+
contentWidth: number | null;
|
|
25
27
|
isExtensionsVisible: boolean;
|
|
26
28
|
isHudActive: boolean;
|
|
27
29
|
isStackHovered: boolean;
|
|
@@ -39,7 +41,7 @@ interface DockCardPropsInput {
|
|
|
39
41
|
* Builds the props of every dock card, ordered by key, with the hover, focus
|
|
40
42
|
* and click handlers wired to the given setters.
|
|
41
43
|
*/
|
|
42
|
-
export declare function createDockCardProps({ activeItem, clearHoverState, clearHud, contextActions, dockItems, expanded, handleContentHeightChange, hud, compact, isExtensionsVisible, isHudActive, isStackHovered, isStatusActive, navigate, setExpanded, setFocusedIndex, setIsHovered, setIsStackHovered, statusStyle, }: DockCardPropsInput): {
|
|
44
|
+
export declare function createDockCardProps({ activeItem, clearHoverState, clearHud, contextActions, dockItems, expanded, handleContentHeightChange, hud, compact, contentWidth, isExtensionsVisible, isHudActive, isStackHovered, isStatusActive, navigate, setExpanded, setFocusedIndex, setIsHovered, setIsStackHovered, statusStyle, }: DockCardPropsInput): {
|
|
43
45
|
key: string;
|
|
44
46
|
item: DockItem;
|
|
45
47
|
link: DockItem;
|
|
@@ -51,13 +53,14 @@ export declare function createDockCardProps({ activeItem, clearHoverState, clear
|
|
|
51
53
|
isStackHovered: boolean;
|
|
52
54
|
hasExtensions: boolean;
|
|
53
55
|
isSurfaceActive: boolean;
|
|
54
|
-
statusStyle: import("
|
|
56
|
+
statusStyle: import("..").DockVisualStyleInput | null | undefined;
|
|
55
57
|
isStatusActive: boolean;
|
|
56
58
|
isHudActive: boolean;
|
|
57
|
-
hud: import("
|
|
59
|
+
hud: import("..").DockHudDescriptor | null | undefined;
|
|
58
60
|
clearHud: ((id?: string) => void) | null | undefined;
|
|
59
|
-
contextCommands: import("
|
|
61
|
+
contextCommands: import("..").DockActionDescriptor[] | undefined;
|
|
60
62
|
compact: DockCompactProps | null;
|
|
63
|
+
contentWidth: number | null;
|
|
61
64
|
onMouseEnter: () => void;
|
|
62
65
|
onMouseLeave: () => void;
|
|
63
66
|
onClick: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/cards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAItD,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE9E,mDAAmD;AACnD,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,iFAAiF;AACjF,eAAO,MAAM,uBAAuB,Y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AO,KAAK,IAAI,CAAC;IACzC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACrD,WAAW,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;CAC/C;AAwED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,eAAe,EACf,QAAQ,EACR,cAAc,EACd,SAAS,EACT,QAAQ,EACR,yBAAyB,EACzB,GAAG,EACH,OAAO,EACP,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,EACX,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,WAAW,GACZ,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;IA+DpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dock.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/dock.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAgBzC,6FAA6F;AAC7F,wBAAgB,IAAI,IAAI,WAAW,GAAG,IAAI,CA8FzC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
import type { DockActions, DockItem } from "../types";
|
|
3
|
+
export declare function blurActiveElement(): void;
|
|
4
|
+
export declare function isInteractiveTarget(target: unknown): boolean;
|
|
5
|
+
export declare function isEditableDockTarget(target: unknown): boolean;
|
|
6
|
+
export declare function focusDockElement(element: HTMLElement | null): boolean;
|
|
7
|
+
export declare function shouldRestoreDockFocus(result: unknown): boolean;
|
|
8
|
+
export declare function useDockKeyboard({ expanded, focusedIndex, isOverlayActive, navigate, dockItems, setExpanded, setFocusedIndex, }: {
|
|
9
|
+
expanded: boolean;
|
|
10
|
+
focusedIndex: number;
|
|
11
|
+
isOverlayActive: boolean;
|
|
12
|
+
navigate: DockActions["navigate"];
|
|
13
|
+
dockItems: DockItem[];
|
|
14
|
+
setExpanded: (expanded: boolean) => void;
|
|
15
|
+
setFocusedIndex: (update: number | ((current: number) => number)) => void;
|
|
16
|
+
}): void;
|
|
17
|
+
export declare function useDockFocusTrap({ containerRef, enabled, onDismiss, }: {
|
|
18
|
+
containerRef: RefObject<HTMLElement | null>;
|
|
19
|
+
enabled?: boolean;
|
|
20
|
+
onDismiss?: (() => void) | null;
|
|
21
|
+
}): void;
|
|
22
|
+
//# sourceMappingURL=focus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/focus.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAqC,MAAM,OAAO,CAAC;AAM1E,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAItD,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAWD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAK5D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAK7D;AAqBD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,CAQrE;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAS/D;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAClC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC,KAAK,IAAI,CAAC;CAC3E,QAkDA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EACZ,OAAc,EACd,SAAgB,GACjB,EAAE;IACD,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;CACjC,QAiFA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ContainerHeightOptions, DockItem } from "../types";
|
|
2
|
-
/** Tallest height the dock may take, leaving a margin inside the viewport. */
|
|
3
|
-
export declare function getViewportMaxHeight(): number;
|
|
4
2
|
/**
|
|
5
3
|
* The card's vertical padding (one side) in px: the theme's `deck.padding`,
|
|
6
4
|
* else 10. The card's height is its content plus this above and below.
|
|
@@ -40,4 +38,12 @@ export declare function getItemMeasurementKey({ link, expanded, isHud, }: {
|
|
|
40
38
|
}): string;
|
|
41
39
|
/** Measurement key scoped to a route. */
|
|
42
40
|
export declare function getRouteMeasurementKey(pathname: string | null, key: string): string;
|
|
41
|
+
export declare function useDockLayout({ dockItems, activeItem, pathname: overridePathname, }?: {
|
|
42
|
+
dockItems?: DockItem[];
|
|
43
|
+
activeItem?: DockItem | null;
|
|
44
|
+
pathname?: string;
|
|
45
|
+
}): {
|
|
46
|
+
displayItems: DockItem[];
|
|
47
|
+
activeIndex: number;
|
|
48
|
+
};
|
|
43
49
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/layout.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAkBjE;;;GAGG;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AAC,EAAE,OAAO,CAAC;CAC1B,GAAG,MAAM,CAGT;AAED,yCAAyC;AACzC,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,GAAG,EAAE,MAAM,GACV,MAAM,CAER;AA2DD,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,UAAU,EACV,QAAQ,EAAE,gBAAgB,GAC3B,GAAE;IACD,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACd;;;EAcL"}
|
|
@@ -33,6 +33,7 @@ export declare function useDockModel(): {
|
|
|
33
33
|
clearHud: ((id?: string) => void) | null | undefined;
|
|
34
34
|
contextCommands: import("..").DockActionDescriptor[] | undefined;
|
|
35
35
|
compact: DockCompactProps | null;
|
|
36
|
+
contentWidth: number | null;
|
|
36
37
|
onMouseEnter: () => void;
|
|
37
38
|
onMouseLeave: () => void;
|
|
38
39
|
onClick: () => void;
|
|
@@ -40,4 +41,4 @@ export declare function useDockModel(): {
|
|
|
40
41
|
}[];
|
|
41
42
|
dockStackTransition: import("motion-dom").Transition;
|
|
42
43
|
};
|
|
43
|
-
//# sourceMappingURL=dock.d.ts.map
|
|
44
|
+
//# sourceMappingURL=use-dock-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dock-model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/use-dock-model.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAejD,wBAAgB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6M3B"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import type { DockNavigateOptions } from "
|
|
1
|
+
import type { DockNavigateOptions } from "../types";
|
|
2
2
|
/**
|
|
3
3
|
* Main dock hook: the resolved dock items, active item, expansion and search
|
|
4
4
|
* state, and a guarded `navigate`. Used by the dock UI and custom docks.
|
|
5
5
|
*/
|
|
6
6
|
export declare function useDock(): {
|
|
7
|
-
dockItems: import("
|
|
8
|
-
activeItem: import("
|
|
7
|
+
dockItems: import("..").DockItem[];
|
|
8
|
+
activeItem: import("..").DockItem | null;
|
|
9
9
|
activeIndex: number;
|
|
10
|
-
statusState: import("
|
|
11
|
-
attention: import("
|
|
12
|
-
topology: import("
|
|
13
|
-
dockTransaction: import("
|
|
14
|
-
lastDockTransaction: import("
|
|
10
|
+
statusState: import("..").StatusState;
|
|
11
|
+
attention: import("..").DockAttention;
|
|
12
|
+
topology: import("..").DockTopology;
|
|
13
|
+
dockTransaction: import("../../navigation").NavigationTrip | null;
|
|
14
|
+
lastDockTransaction: import("../../navigation").NavigationTrip | null;
|
|
15
15
|
navigate: (href: string, options?: DockNavigateOptions) => Promise<boolean>;
|
|
16
16
|
locationKey: string;
|
|
17
17
|
pathname: string;
|
|
18
18
|
cancelDock: (reason?: string) => void;
|
|
19
|
-
closeSurface: (result?: import("
|
|
19
|
+
closeSurface: (result?: import("..").SurfaceResult, surfaceId?: import("..").SurfaceId | null) => void;
|
|
20
20
|
expanded: boolean;
|
|
21
21
|
setExpanded: (nextValue: boolean | ((prev: boolean) => boolean)) => void;
|
|
22
22
|
setDockHeight: (height: number) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dock.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/use-dock.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD;;;GAGG;AACH,wBAAgB,OAAO;;;;;;;;;qBAuEN,MAAM,YAAY,mBAAmB;;;;;;6BA3BtC,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;;;;;;;;EAoFrD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
import type { DockItem, UseDockHeightControllerOptions } from "../types";
|
|
3
|
+
export declare function useDockHeightController({ contentKey, heightVar, fitContent, isHud, padding, setDockHeight, surfacePhase, }: UseDockHeightControllerOptions): {
|
|
4
|
+
containerHeight: number;
|
|
5
|
+
handleContentHeightChange: (height: number | string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function useElementHeight(onHeightChange?: ((height: number) => void) | null, elementRef?: RefObject<HTMLElement | null>, shouldMeasure?: boolean, dependencyKey?: unknown): void;
|
|
8
|
+
export declare function useDockViewport(activeItem?: DockItem | null): {
|
|
9
|
+
portalTarget: HTMLElement | null;
|
|
10
|
+
stackWidth: number;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=use-height.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-height.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/stack/use-height.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAAE,QAAQ,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAmFzE,wBAAgB,uBAAuB,CAAC,EACtC,UAAiB,EACjB,SAAS,EACT,UAAkB,EAClB,KAAa,EACb,OAAO,EACP,aAAa,EACb,YAAsC,GACvC,EAAE,8BAA8B;;wCArBO,MAAM,GAAG,MAAM;EA+CtD;AAED,wBAAgB,gBAAgB,CAC9B,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,EAClD,UAAU,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAC1C,aAAa,CAAC,EAAE,OAAO,EACvB,aAAa,GAAE,OAAc,QA6E9B;AAED,wBAAgB,eAAe,CAAC,UAAU,GAAE,QAAQ,GAAG,IAAW;;;EAgCjE"}
|
|
@@ -7,4 +7,4 @@ export declare function GuardActions({ onCancel, onConfirm, cancelLabel, confirm
|
|
|
7
7
|
export declare function NotFoundActions({ className }: {
|
|
8
8
|
className?: string;
|
|
9
9
|
}): import("react").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/status/actions.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AA2BrE,0DAA0D;AAC1D,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,SAAS,EACT,UAAoB,EACpB,YAAwB,EACxB,SAAS,EACT,WAAW,EACX,SAAc,GACf,EAAE,iBAAiB,+BA6BnB;AAED,qEAAqE;AACrE,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,WAAoB,EACpB,YAAsB,EACtB,UAAU,EACV,WAAW,EACX,SAAc,GACf,EAAE,iBAAiB,+BA6BnB;AAED,4DAA4D;AAC5D,wBAAgB,eAAe,CAAC,EAAE,SAAc,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BA6BzE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentType, RefObject } from "react";
|
|
2
2
|
import type { QueuedApiError, ScheduleStatusClearOptions } from "../types";
|
|
3
|
-
import type
|
|
3
|
+
import { type StatusSetter, type StatusUpdate, type TimerRef } from "./model";
|
|
4
4
|
export declare function subscribeToApiErrorStatusEvents({ apiErrorQueueRef, batchTimerRef, clearStatus, clearTimer, updateStatus, }: {
|
|
5
|
-
apiErrorQueueRef:
|
|
5
|
+
apiErrorQueueRef: RefObject<QueuedApiError[]>;
|
|
6
6
|
batchTimerRef: TimerRef;
|
|
7
7
|
clearStatus: () => void;
|
|
8
8
|
clearTimer: (ref: TimerRef) => void;
|
|
@@ -21,7 +21,7 @@ export declare function subscribeToGenericStatusEvents({ clearTimer, scheduleSta
|
|
|
21
21
|
updateStatus: (status: StatusUpdate) => void;
|
|
22
22
|
}): () => void;
|
|
23
23
|
export declare function subscribeToNotFoundStatusEvents({ notFoundActionRef, setStatus, updateStatus, }: {
|
|
24
|
-
notFoundActionRef:
|
|
24
|
+
notFoundActionRef: RefObject<ComponentType | null>;
|
|
25
25
|
setStatus: StatusSetter;
|
|
26
26
|
updateStatus: (status: StatusUpdate) => void;
|
|
27
27
|
}): () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/status/events.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/status/events.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AActD,OAAO,KAAK,EACV,cAAc,EACd,0BAA0B,EAE3B,MAAM,UAAU,CAAC;AAElB,OAAO,EAOL,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACd,MAAM,SAAS,CAAC;AASjB,wBAAgB,+BAA+B,CAAC,EAC9C,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,UAAU,EACV,YAAY,GACb,EAAE;IACD,gBAAgB,EAAE,SAAS,CAAC,cAAc,EAAE,CAAC,CAAC;IAC9C,aAAa,EAAE,QAAQ,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,CAAC,GAAG,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;CAC9C,cAgCA;AAED,wBAAgB,uCAAuC,CAAC,EACtD,WAAW,EACX,oBAAoB,EACpB,YAAY,GACb,EAAE;IACD,WAAW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AGA,OAAO,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/status/hooks.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAGV,WAAW,EACZ,MAAM,UAAU,CAAC;AAkMlB,wBAAgB,aAAa,CAC3B,OAAO,GAAE;IAAE,cAAc,CAAC,EAAE,aAAa,GAAG,IAAI,CAAA;CAAO,eA6FxD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
export type StatusSetter =
|
|
1
|
+
import type { ComponentType, Dispatch, RefObject, SetStateAction } from "react";
|
|
2
|
+
import type { DockIconSource, DockItem, DockSlotContent, DockStatusDescriptor, DockStatusTheme, ErrorActionsProps, GuardActionsProps, StatusState } from "../types";
|
|
3
|
+
export type StatusSetter = Dispatch<SetStateAction<StatusState>>;
|
|
4
4
|
export type StatusUpdate = StatusState | ((current: StatusState) => StatusState);
|
|
5
|
-
export type TimerRef =
|
|
5
|
+
export type TimerRef = RefObject<ReturnType<typeof setTimeout> | null>;
|
|
6
6
|
export declare function isErrorStatus(type: string): boolean;
|
|
7
7
|
export declare function resolveStatusPriority(status: StatusState): number;
|
|
8
8
|
export declare function getStatusTheme(_type?: string): {
|
|
@@ -42,4 +42,34 @@ export declare function restorePersistedOverlayStatus(): {
|
|
|
42
42
|
} | null;
|
|
43
43
|
export declare function isPersistableOverlayStatus(status: StatusState): boolean;
|
|
44
44
|
export declare function applyStatusOverlay(item: DockItem | null, statusState: StatusState): DockItem | null;
|
|
45
|
+
export interface ErrorStatusOptions {
|
|
46
|
+
type: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description: string;
|
|
49
|
+
icon?: DockIconSource;
|
|
50
|
+
style?: DockStatusTheme;
|
|
51
|
+
onRetry?: () => void;
|
|
52
|
+
clearStatus?: () => void;
|
|
53
|
+
action?: ComponentType<ErrorActionsProps> | null;
|
|
54
|
+
errorAction?: ComponentType<ErrorActionsProps> | null;
|
|
55
|
+
retryLabel?: string;
|
|
56
|
+
refreshLabel?: string;
|
|
57
|
+
retryText?: string;
|
|
58
|
+
refreshText?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface GuardStatusOptions {
|
|
61
|
+
action?: ComponentType<GuardActionsProps> | null;
|
|
62
|
+
guardAction?: ComponentType<GuardActionsProps> | null;
|
|
63
|
+
title?: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
icon?: DockIconSource;
|
|
66
|
+
style?: DockStatusTheme;
|
|
67
|
+
onConfirm?: () => void;
|
|
68
|
+
onCancel?: () => void;
|
|
69
|
+
cancelLabel?: string;
|
|
70
|
+
confirmLabel?: string;
|
|
71
|
+
cancelText?: string;
|
|
72
|
+
confirmText?: string;
|
|
73
|
+
clearStatus?: () => void;
|
|
74
|
+
}
|
|
45
75
|
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/status/model.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/status/model.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAUhF,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EACR,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EAEjB,WAAW,EACZ,MAAM,UAAU,CAAC;AAWlB,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,YAAY,GACtB,WAAW,GAAG,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,WAAW,CAAC,CAAC;AAExD,MAAM,MAAM,QAAQ,GAAG,S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AAI,CAAC;IACjD,WAAW,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import type { DockComponentProps, SurfaceBuilderDefinition, SurfaceDescriptor } from "
|
|
1
|
+
import type { DockComponentProps, SurfaceBuilderDefinition, SurfaceDescriptor, UseSurfaceInput } from "../types";
|
|
2
2
|
export declare function resolveBuilderSettings(definition: SurfaceBuilderDefinition): {
|
|
3
3
|
action: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
4
4
|
allowSwipeDismiss: boolean;
|
|
5
5
|
badge: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null;
|
|
6
6
|
closeLabel: string | null;
|
|
7
|
-
component: import("
|
|
7
|
+
component: import("..").DockComponent | null;
|
|
8
8
|
defaultProps: DockComponentProps;
|
|
9
9
|
description: string | ((props: DockComponentProps) => string | null) | null;
|
|
10
10
|
descriptionMaxLines: number;
|
|
11
11
|
dismissible: boolean;
|
|
12
|
-
extensions: import("
|
|
12
|
+
extensions: import("..").SurfaceExtensionInput | import("..").SurfaceExtensionInput[];
|
|
13
13
|
extraConfig: {
|
|
14
|
-
header?: import("
|
|
14
|
+
header?: import("..").SurfaceHeaderConfig | undefined;
|
|
15
15
|
content?: import("react").ReactNode;
|
|
16
16
|
element?: import("react").ReactNode;
|
|
17
17
|
node?: import("react").ReactNode;
|
|
18
18
|
currentStepIndex?: number | undefined;
|
|
19
19
|
skipActionDismiss?: boolean | undefined;
|
|
20
|
-
steps?: import("
|
|
20
|
+
steps?: import("..").SurfaceStep[] | null | undefined;
|
|
21
21
|
};
|
|
22
22
|
headerAction: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
23
23
|
icon: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | ((props: DockComponentProps) => import("react").ReactNode) | null;
|
|
24
24
|
id: string | null;
|
|
25
25
|
loader: (() => Promise<{
|
|
26
|
-
default: import("
|
|
26
|
+
default: import("..").DockComponent;
|
|
27
27
|
}>) | undefined;
|
|
28
|
-
onClose: ((result?: import("
|
|
28
|
+
onClose: ((result?: import("..").SurfaceResult) => void) | null;
|
|
29
29
|
showAction: boolean | null;
|
|
30
30
|
syncWithUrl: string | boolean;
|
|
31
31
|
title: string | ((props: DockComponentProps) => string | null) | null;
|
|
@@ -35,5 +35,11 @@ export declare function resolveBuilderSettings(definition: SurfaceBuilderDefinit
|
|
|
35
35
|
};
|
|
36
36
|
type BuilderSettings = ReturnType<typeof resolveBuilderSettings>;
|
|
37
37
|
export declare function buildBuilderDescriptor(settings: BuilderSettings, resolvedComponent: SurfaceDescriptor["component"], props: DockComponentProps, overrides: Partial<SurfaceDescriptor>): SurfaceDescriptor;
|
|
38
|
+
/** Component a `useSurface` argument refers to, or null when it has none. */
|
|
39
|
+
export declare function resolveSurfaceTargetComponent(surfaceDefinition: UseSurfaceInput): unknown;
|
|
40
|
+
/** Builds the descriptor to open for a `useSurface` argument. */
|
|
41
|
+
export declare function createSurfaceOpenEntry(surfaceDefinition: UseSurfaceInput, props: DockComponentProps | undefined, overrides: Partial<SurfaceDescriptor> | undefined): SurfaceDescriptor;
|
|
42
|
+
/** Resolves a value that may be given directly or derived from props. */
|
|
43
|
+
export declare function resolveFromProps<T>(value: T | ((props: DockComponentProps) => T), props: DockComponentProps): T;
|
|
38
44
|
export {};
|
|
39
45
|
//# sourceMappingURL=builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/builder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkD1E;AAED,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEjE,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,iBAAiB,EAAE,iBAAiB,CAAC,WAAW,CAAC,EACjD,KAAK,EAAE,kBAAkB,EACzB,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,GACpC,iBAAiB,CA6BnB;AAED,6EAA6E;AAC7E,wBAAgB,6BAA6B,CAC3C,iBAAiB,EAAE,eAAe,GACjC,OAAO,CAKT;AAED,iEAAiE;AACjE,wBAAgB,sBAAsB,CACpC,iBAAiB,EAAE,eAAe,EAClC,KAAK,EAAE,kBAAkB,GAAG,SAAS,EACrC,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAChD,iBAAiB,CAUnB;AAED,yEAAyE;AACzE,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,kBAAkB,KAAK,CAAC,CAAC,EAC7C,KAAK,EAAE,kBAAkB,GACxB,CAAC,CAIH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { DockItem } from "
|
|
1
|
+
import type { DockItem } from "../types";
|
|
2
2
|
export declare function SurfaceItemContent({ item: propItem, link, }: {
|
|
3
3
|
item?: DockItem;
|
|
4
4
|
link?: DockItem;
|
|
5
5
|
}): import("react").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=
|
|
6
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/content.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAyB,MAAM,UAAU,CAAC;AAyFhE,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EAAE,QAAQ,EACd,IAAI,GACL,EAAE;IACD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,+BAiBA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
1
2
|
import type { DockSlotContent, NormalizedSurfaceExtension, SurfaceFlowContextValue, SurfaceId } from "../types";
|
|
2
3
|
export type SurfaceKey = SurfaceId | string | null | undefined;
|
|
3
4
|
export declare const ACTIVE_SURFACE_KEY = "active";
|
|
@@ -26,17 +27,17 @@ export declare function useSurfaceHeader(): (patch: {
|
|
|
26
27
|
/** Shows `action` as the current surface's header action while mounted. */
|
|
27
28
|
export declare function useSurfaceAction(action: DockSlotContent | undefined): void;
|
|
28
29
|
/** Per-surface store of header actions, observable by subscription. */
|
|
29
|
-
|
|
30
|
+
declare class SurfaceHeaderActionStore {
|
|
30
31
|
private store;
|
|
31
32
|
get version(): number;
|
|
32
33
|
subscribe: (listener: () => void) => () => void;
|
|
33
|
-
getAction: (surfaceId: SurfaceKey) => string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<
|
|
34
|
+
getAction: (surfaceId: SurfaceKey) => string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
34
35
|
setAction: (surfaceId: SurfaceKey, action: DockSlotContent) => void;
|
|
35
36
|
removeAction: (surfaceId: SurfaceKey) => void;
|
|
36
37
|
clearSurface: (surfaceId: SurfaceKey) => void;
|
|
37
38
|
}
|
|
38
39
|
/** Per-surface store of extensions, observable by subscription. */
|
|
39
|
-
|
|
40
|
+
declare class SurfaceExtensionsStore {
|
|
40
41
|
private extensionsBySurface;
|
|
41
42
|
private cachedListBySurface;
|
|
42
43
|
private store;
|
|
@@ -52,4 +53,12 @@ export declare class SurfaceExtensionsStore {
|
|
|
52
53
|
export declare const SurfaceFlowContext: import("react").Context<SurfaceFlowContextValue | null>;
|
|
53
54
|
/** Context carrying the header border radius of the current surface. */
|
|
54
55
|
export declare const DockSurfaceHeaderRadiusContext: import("react").Context<string | null>;
|
|
56
|
+
export declare function SurfaceExtensionsProvider({ children, }: {
|
|
57
|
+
children: ReactNode;
|
|
58
|
+
}): import("react").JSX.Element;
|
|
59
|
+
export declare function SurfaceFlowProvider({ children, value, }: {
|
|
60
|
+
children?: ReactNode;
|
|
61
|
+
value: SurfaceFlowContextValue;
|
|
62
|
+
}): import("react").JSX.Element;
|
|
63
|
+
export {};
|
|
55
64
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/context.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,EACvB,SAAS,EACV,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAE/D,eAAO,MAAM,kBAAkB,WAAW,CAAC;AA+B3C,4EAA4E;AAC5E,eAAO,MAAM,wBAAwB;gBACvB,sBAAsB;mBACnB,wBAAwB;SACE,CAAC;AAE5C,8DAA8D;AAC9D,eAAO,MAAM,kBAAkB;QACzB,UAAU;WACP,MAAM,GAAG,MAAM,GAAG,IAAI;EAI7B,CAAC;AAEH,sEAAsE;AACtE,wBAAgB,oBAAoB;;EAInC;AAED,8DAA8D;AAC9D,wBAAgB,YAAY,eAE3B;AAED,yEAAyE;AACzE,wBAAgB,gBAAgB,YAOtB;IAAE,YAAY,CAAC,EAAE,eAAe,CAAA;CAAE,GAClC,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK;IAAE,YAAY,CAAC,EAAE,eAAe,CAAA;CAAE,CAAC,UASlE;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,QAQnE;AAED,uEAAuE;AACvE,cAAM,wBAAwB;IAC5B,OAAO,CAAC,KAAK,CAMV;IAEH,IAAI,OAAO,WAEV;IAED,SAAS,GAAI,UAAU,MAAM,IAAI,gBAAoC;IAErE,SAAS,GAAI,WAAW,UAAU,wcAShC;IAEF,SAAS,GAAI,WAAW,UAAU,EAAE,QAAQ,eAAe,UAWzD;IAEF,YAAY,GAAI,WAAW,UAAU,UASnC;IAEF,YAAY,GAAI,WAAW,UAAU,UAAkC;CACxE;AAED,mEAAmE;AACnE,cAAM,sBAAsB;IAC1B,OAAO,CAAC,mBAAmB,CAGvB;IACJ,OAAO,CAAC,mBAAmB,CAAmD;IAC9E,OAAO,CAAC,KAAK,CAAoD;IAEjE,IAAI,OAAO,WAEV;IAED,SAAS,GAAI,UAAU,MAAM,IAAI,gBAAoC;IAErE,OAAO,CAAC,MAAM,CAGZ;IAEF,uBAAuB,GACrB,WAAW,UAAU,KACpB,0BAA0B,EAAE,CAmC7B;IAEF,YAAY,GAAI,WAAW,UAAU,EAAE,WAAW,OAAO,UAiBvD;IAEF,eAAe,GAAI,WAAW,UAAU,EAAE,aAAa,MAAM,UAkB3D;IAEF,YAAY,GAAI,WAAW,UAAU,UAKnC;CACH;AAED,2DAA2D;AAC3D,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,8BAA8B,wCAE1C,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAWA;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,uBAAuB,CAAC;CAChC,+BAEA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import type { DockItem } from "../types";
|
|
3
|
+
export declare function DockSurfaceControls({ activeItem, hasExtensions, onClose, onBack, closeLabel, backLabel, className, surfacePhase: propSurfacePhase, }: {
|
|
4
|
+
activeItem?: DockItem | null;
|
|
5
|
+
hasExtensions?: boolean;
|
|
6
|
+
onClose?: (() => void) | null;
|
|
7
|
+
onBack?: (() => void) | null;
|
|
8
|
+
closeLabel?: string | null;
|
|
9
|
+
backLabel?: string | null;
|
|
10
|
+
className?: string;
|
|
11
|
+
surfacePhase?: string;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
export declare function useDockSurfaceControlsModel({ activeItem, surfacePhase: propSurfacePhase, }: {
|
|
14
|
+
activeItem?: DockItem | null;
|
|
15
|
+
hasExtensions?: boolean;
|
|
16
|
+
onClose?: (() => void) | null;
|
|
17
|
+
onBack?: (() => void) | null;
|
|
18
|
+
closeLabel?: string | null;
|
|
19
|
+
backLabel?: string | null;
|
|
20
|
+
className?: string;
|
|
21
|
+
surfacePhase?: string;
|
|
22
|
+
}): {
|
|
23
|
+
isBodyVisible: boolean;
|
|
24
|
+
dynamicAction: string | number | bigint | boolean | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/controls.tsx"],"names":[],"mappings":"AAGA,OAAO,EAML,KAAK,YAAY,EACjB,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAQf,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAUzC,wBAAgB,mBAAmB,CAAC,EAClC,UAAiB,EACjB,aAAqB,EACrB,OAAc,EACd,MAAa,EACb,UAAiB,EACjB,SAAgB,EAChB,SAAc,EACd,YAAY,EAAE,gBAAgB,GAC/B,EAAE;IACD,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,+BA0JA;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,UAAiB,EACjB,YAAY,EAAE,gBAAgB,GAC/B,EAAE;IACD,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;;EAmBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/definition.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/definition.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,oB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xE,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,qBAAqB,GAAG,IAAI,EACxC,EAAE,KAAY,EAAE,QAAQ,EAAE,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAO,GACvE,kBAAkB,GAAG,IAAI,CAY3B;AAED,0EAA0E;AAC1E,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,EAC9C,QAAQ,EAAE,OAAO,GAChB,kBAAkB,GAAG,IAAI,CAG3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions-bar.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/extensions-bar.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAA8B,MAAM,UAAU,CAAC;AA4CrE,wBAAgB,wBAAwB,CAAC,EACvC,UAAU,GACX,EAAE;IACD,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC9B,sCAmEA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import type { DockActionSlot } from "
|
|
2
|
+
import type { DockActionSlot } from "../card/model";
|
|
3
|
+
import type { DockItem } from "../types";
|
|
4
|
+
export declare function useIsSurfaceExtensionsVisible(activeItem: DockItem | null | undefined): boolean;
|
|
3
5
|
/** Declares the action a surface contributes to its dock card. */
|
|
4
6
|
export declare function DockSurfaceAction({ children }: {
|
|
5
7
|
children: ReactNode;
|
|
@@ -14,4 +16,4 @@ export declare function DockSurfaceExtension(props: {
|
|
|
14
16
|
unstyled?: boolean;
|
|
15
17
|
}): null;
|
|
16
18
|
export declare function renderActionSlot(slot: DockActionSlot): ReactNode;
|
|
17
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/extensions.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,KAAK,EAAsB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAiE7D,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,GACtC,OAAO,CAqBT;AAED,kEAAkE;AAClE,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,QAGtE;AAED,2EAA2E;AAC3E,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,QAGA;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAOhE"}
|