@omerdlw/base-framework 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -72
- package/dist/ambient/index.js +10 -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 +9 -9
- package/dist/chunk-2E6OASVV.js +17 -0
- package/dist/{chunk-AZ2ZDFNP.js.map → chunk-2E6OASVV.js.map} +1 -1
- package/dist/{chunk-ESD5EQ5H.js → chunk-3JLG24KI.js} +11 -22
- package/dist/chunk-3JLG24KI.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-7VU2OAJB.js → chunk-6LWCTP2Y.js} +21 -37
- package/dist/chunk-6LWCTP2Y.js.map +1 -0
- package/dist/{chunk-YZS2B6YE.js → chunk-7A47AXKI.js} +9 -11
- package/dist/chunk-7A47AXKI.js.map +1 -0
- package/dist/{chunk-LKYW4LH6.js → chunk-BLWJZHRL.js} +36 -43
- package/dist/chunk-BLWJZHRL.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-KOYTJW5E.js → chunk-DC4XZPDK.js} +7 -7
- package/dist/chunk-DC4XZPDK.js.map +1 -0
- package/dist/{chunk-HFR6YROB.js → chunk-DGVRHX3C.js} +1160 -1171
- package/dist/chunk-DGVRHX3C.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-67MOKJFZ.js → chunk-E2QQJZYY.js} +16 -16
- package/dist/chunk-E2QQJZYY.js.map +1 -0
- package/dist/{chunk-WZ5T2NXH.js → chunk-EBNZXYLT.js} +17 -15
- package/dist/chunk-EBNZXYLT.js.map +1 -0
- package/dist/{chunk-IH3STE7W.js → chunk-ED32WLAD.js} +1168 -1215
- package/dist/chunk-ED32WLAD.js.map +1 -0
- package/dist/{chunk-RGC2VFQO.js → chunk-FLYL76ZT.js} +6 -6
- package/dist/{chunk-RGC2VFQO.js.map → chunk-FLYL76ZT.js.map} +1 -1
- package/dist/{chunk-UQLTP3XB.js → chunk-GTJMM32W.js} +144 -144
- package/dist/chunk-GTJMM32W.js.map +1 -0
- package/dist/{chunk-FFJWJ4OB.js → chunk-HPJWMBUS.js} +12333 -12368
- package/dist/chunk-HPJWMBUS.js.map +1 -0
- package/dist/{chunk-TAWTGCWJ.js → chunk-ICFPSAJZ.js} +7 -8
- package/dist/chunk-ICFPSAJZ.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-QRXDXAQI.js → chunk-KN4KOTC7.js} +161 -165
- package/dist/chunk-KN4KOTC7.js.map +1 -0
- package/dist/{chunk-QGPRTUED.js → chunk-KRHH3UQ6.js} +34 -37
- package/dist/chunk-KRHH3UQ6.js.map +1 -0
- package/dist/{chunk-R4K6VAOK.js → chunk-M36DFIJ6.js} +11 -18
- package/dist/chunk-M36DFIJ6.js.map +1 -0
- package/dist/{chunk-UDJ7ARCH.js → chunk-S2ZOLTTS.js} +3 -3
- package/dist/{chunk-UDJ7ARCH.js.map → chunk-S2ZOLTTS.js.map} +1 -1
- package/dist/{chunk-D222OCTV.js → chunk-S67HGKJ2.js} +49 -55
- package/dist/chunk-S67HGKJ2.js.map +1 -0
- package/dist/chunk-ST7QOM4O.js +29 -0
- package/dist/chunk-ST7QOM4O.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-6IP6YFQX.js → chunk-VMR7ZKIF.js} +21 -31
- package/dist/chunk-VMR7ZKIF.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-GKAJ4EM2.js → chunk-ZQI4ZCVU.js} +83 -83
- package/dist/chunk-ZQI4ZCVU.js.map +1 -0
- package/dist/context-menu/index.js +16 -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 +1 -1
- package/dist/core/provider/index.d.ts.map +1 -1
- package/dist/dock/index.js +15 -14
- package/dist/error/index.js +7 -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/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 +25 -24
- package/dist/kernel/index.js +4 -4
- package/dist/loading/index.js +8 -8
- package/dist/media/index.js +5 -5
- package/dist/modal/index.js +155 -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} +6 -5
- 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 +3 -4
- 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} +8 -4
- 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 +23 -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-YMLS3SAQ.js +14 -0
- package/dist/{overlay-7QLGWHCH.js.map → overlay-YMLS3SAQ.js.map} +1 -1
- package/dist/provider/index.js +12 -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.map +1 -1
- package/dist/react/ui/components/avatar.d.ts +4 -0
- package/dist/react/ui/components/avatar.d.ts.map +1 -1
- package/dist/react/ui/components/carousel.d.ts +22 -1
- package/dist/react/ui/components/carousel.d.ts.map +1 -1
- package/dist/react/ui/components/image.d.ts.map +1 -1
- package/dist/react/ui/components/indicator.d.ts +18 -8
- package/dist/react/ui/components/indicator.d.ts.map +1 -1
- package/dist/react/ui/components/segmented.d.ts.map +1 -1
- package/dist/react/ui/components/{select-parts.d.ts → select/options.d.ts} +2 -2
- package/dist/react/ui/components/{select-parts.d.ts.map → select/options.d.ts.map} +1 -1
- package/dist/react/ui/components/{select.d.ts → select/select.d.ts} +1 -1
- package/dist/react/ui/components/select/select.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip-group.d.ts → tooltip/group.d.ts} +3 -2
- package/dist/react/ui/components/tooltip/group.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip-placement.d.ts → tooltip/placement.d.ts} +2 -3
- package/dist/react/ui/components/tooltip/placement.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip-slot.d.ts → tooltip/slot.d.ts} +1 -1
- package/dist/react/ui/components/tooltip/slot.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip.d.ts → tooltip/tooltip.d.ts} +2 -2
- package/dist/react/ui/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/react/ui/index.d.ts +5 -4
- package/dist/react/ui/index.d.ts.map +1 -1
- package/dist/react/ui/provider.d.ts.map +1 -1
- package/dist/react/ui/types.d.ts +131 -3
- package/dist/react/ui/types.d.ts.map +1 -1
- package/dist/recipes/index.js +5 -6
- 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/ui/index.js +849 -858
- package/dist/ui/index.js.map +1 -1
- package/dist/utils/index.js +31 -34
- package/dist/utils/index.js.map +1 -1
- package/docs/README.md +1 -1
- package/docs/architecture-and-rules.md +35 -24
- package/docs/modules/README.md +15 -15
- package/docs/modules/ambient.md +23 -23
- package/docs/modules/background.md +23 -18
- package/docs/modules/dock.md +24 -20
- package/docs/modules/error-boundary.md +1 -2
- package/docs/modules/kernel.md +28 -30
- package/docs/modules/modal.md +16 -15
- package/docs/modules/navigation.md +14 -14
- package/docs/testing.md +1 -1
- package/package.json +1 -2
- package/dist/chunk-67MOKJFZ.js.map +0 -1
- package/dist/chunk-6IP6YFQX.js.map +0 -1
- 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.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-TAWTGCWJ.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.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/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/select.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-group.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-placement.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-slot.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip.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/utils.d.ts +0 -65
- package/dist/react/ui/utils.d.ts.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,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;AASf,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,oBAAoB,EACpB,2BAA2B,EAC3B,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EAEjB,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,EAClB,aAAa,EACb,YAAY,EAEZ,aAAa,EACb,WAAW,EACX,eAAe,EAChB,MAAM,UAAU,CAAC;AAgBlB,gFAAgF;AAChF,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,YAAY,GAAG,OAAO,EAC7B,MAAM,GAAE,kBAAuB,GAC9B,2BAA2B,GAAG,IAAI,CAEpC;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,GAAE,wBAA6B,GACxC,qBAAqB,CAsCvB;AAED,8EAA8E;AAC9E,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,YAAY,GAAG,OAAO,GAC9B,2BAA2B,GAAG,IAAI,CAMpC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,iBAAiB,CAAC,EAAE,eAAe,GAAG,IAAI,GACzC,aAAa,GAAG,oBAAoB,CA8DtC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,UAAU,GAAE,wBAA6B,GACxC,mBAAmB,CAOrB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,GAAE,wBAA6B;;;;YA6B/D,wBAAwB;QAC5B,MAAM;SACL,MAAM,aAAa;EAkB3B;AAED;;;GAGG;AACH,wBAAgB,cAAc;;;gBA0BpB,MAAM;;;;;iBAQL,WAAW;;;;EAmBrB;AAED,2DAA2D;AAC3D,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,KAAK,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAI1B;AAED,wEAAwE;AACxE,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,0BAA0B,GAAG,qBAAqB,GAAG,IAAI,GAAG,SAAS,GAC3E,qBAAqB,GAAG,IAAI,CAc9B;AAED,wEAAwE;AACxE,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { DockIconSource, DockTheme } from "
|
|
1
|
+
import { type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
import type { DockIconSource, DockTheme } from "../types";
|
|
3
3
|
export declare function getControlRadiusClass(slots: DockTheme["slots"], key: string, activeKeys: string[]): string;
|
|
4
4
|
export declare function applyControlRadius(className: unknown, radiusClass: string): string;
|
|
5
5
|
/** Button styled for the surface header controls, matching their shared corner radius. */
|
|
@@ -7,7 +7,7 @@ export declare function DockSurfaceHeaderButton({ children, className, disabled,
|
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
-
onClick?: (event:
|
|
10
|
+
onClick?: (event: MouseEvent) => void;
|
|
11
11
|
ariaLabel?: string;
|
|
12
12
|
icon?: DockIconSource;
|
|
13
13
|
}): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-button.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/header-button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAO,MAAM,OAAO,CAAC;AAQ7D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAK1D,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,EACzB,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,EAAE,GACnB,MAAM,CAMR;AAED,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,OAAO,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,CAOR;AAED,0FAA0F;AAC1F,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,SAAc,EACd,QAAgB,EAChB,OAAO,EACP,SAAS,EACT,IAAW,GACZ,EAAE;IACD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,+BAoCA"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
import type { NormalizedSurfaceExtension, SurfaceDescriptor, SurfaceFlowDefinition, SurfaceReturnHandshake, SurfaceReturnHandshakeInput } from "../types";
|
|
1
|
+
import type { NormalizedSurfaceExtension, SurfaceDescriptor, SurfaceFlowDefinition, SurfaceFlowSession, SurfaceResult, SurfaceReturnHandshake, SurfaceReturnHandshakeInput } from "../types";
|
|
2
2
|
export declare function isSurfaceDescriptor(value: unknown): value is SurfaceDescriptor;
|
|
3
3
|
/** Normalizes an element or extension descriptor, or null when unusable. */
|
|
4
4
|
export declare function normalizeSurfaceExtension(input: unknown): NormalizedSurfaceExtension | null;
|
|
5
5
|
export declare function normalizeSurfaceFlowSnapshot(value: unknown): Record<string, unknown> | null;
|
|
6
6
|
export declare function createSurfaceReturnHandshake(input: SurfaceReturnHandshakeInput): SurfaceReturnHandshake | null;
|
|
7
7
|
export declare function resolveSurfaceFlowReturnHandshake(definition: Pick<SurfaceFlowDefinition, "returnHandshake"> | null | undefined, input: unknown): SurfaceReturnHandshake | null;
|
|
8
|
+
/** What the dock should hand back to a page once a surface flow settles. */
|
|
9
|
+
export interface SurfaceFlowReturn {
|
|
10
|
+
data: unknown;
|
|
11
|
+
handshake: SurfaceReturnHandshake;
|
|
12
|
+
status: "completed" | "cancelled";
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Decides whether a settled surface flow returns to its page; null when it
|
|
16
|
+
* has no return target, the dock itself cancelled it, or it was cancelled
|
|
17
|
+
* without asking to return.
|
|
18
|
+
*/
|
|
19
|
+
export declare function resolveSurfaceFlowReturn(flow: SurfaceFlowSession | null | undefined, rawResult: SurfaceResult): SurfaceFlowReturn | null;
|
|
8
20
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/helpers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EAEjB,qBAAqB,EAErB,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/helpers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EAEjB,qBAAqB,EAErB,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAGlB,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,iBAAiB,CAO5B;AAsBD,4EAA4E;AAC5E,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GACb,0BAA0B,GAAG,IAAI,CAqCnC;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,OAAO,GACb,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAGhC;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,2BAA2B,GACjC,sBAAsB,GAAG,IAAI,CAgB/B;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,GAAG,IAAI,GAAG,SAAS,EAC7E,KAAK,EAAE,OAAO,GACb,sBAAsB,GAAG,IAAI,CAkB/B;AAED,4EAA4E;AAC5E,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,WAAW,GAAG,WAAW,CAAC;CACnC;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,EAC3C,SAAS,EAAE,aAAa,GACvB,iBAAiB,GAAG,IAAI,CAuB1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NormalizedSurfaceDefinition, NormalizedSurfaceExtension, OpenSurfaceOptions, SurfaceDescriptor } from "
|
|
1
|
+
import type { NormalizedSurfaceDefinition, NormalizedSurfaceExtension, OpenSurfaceOptions, SurfaceDescriptor } from "../types";
|
|
2
2
|
/** Normalizes one or many raw extension inputs, dropping invalid ones. */
|
|
3
3
|
export declare function normalizeExtensions(raw: SurfaceDescriptor["extensions"]): NormalizedSurfaceExtension[];
|
|
4
4
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/normalize.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,2BAA2B,EAC3B,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,UAAU,CAAC;AAYlB,0EAA0E;AAC1E,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,iBAAiB,CAAC,YAAY,CAAC,GACnC,0BAA0B,EAAE,CAK9B;AAqID;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,OAAO,EACd,MAAM,GAAE,kBAAuB,EAC/B,EACE,qBAA6B,EAC7B,iBAAyB,GAC1B,GAAE;IACD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B,GACL,2BAA2B,GAAG,IAAI,CAkCpC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import type { DockScheduledTaskId, DockScheduler, DockSurfaceTimings, SurfaceFlowSession, SurfaceId, SurfaceLifecycleState, SurfaceResult, SurfaceStackEntry, SurfaceTransitionEvent } from "../../types";
|
|
3
|
+
import { createSurfaceState, type SurfaceRuntimeRefs } from "./records";
|
|
3
4
|
/**
|
|
4
5
|
* Drives the surface open/close transitions and keeps the stack, phase and
|
|
5
6
|
* lifecycle state in sync with them.
|
|
@@ -19,4 +20,29 @@ export declare function createSurfaceChoreography(ctx: SurfaceRuntimeContext, fi
|
|
|
19
20
|
syncSurfaceStack: (nextStack: SurfaceStackEntry[], nextPhase?: string | null) => void;
|
|
20
21
|
};
|
|
21
22
|
export type SurfaceChoreography = ReturnType<typeof createSurfaceChoreography>;
|
|
23
|
+
/** Inputs that may change between renders; the stack hook keeps them current. */
|
|
24
|
+
export interface SurfaceRuntimeLive {
|
|
25
|
+
onSurfaceFlowSettled: ((settled: {
|
|
26
|
+
flow: SurfaceFlowSession;
|
|
27
|
+
result: SurfaceResult;
|
|
28
|
+
}) => boolean) | null;
|
|
29
|
+
setExpanded: (expanded: boolean) => void;
|
|
30
|
+
setSearchQuery: (query: string) => void;
|
|
31
|
+
timings: DockSurfaceTimings;
|
|
32
|
+
}
|
|
33
|
+
/** Shared state of one surface stack runtime, built once per provider. */
|
|
34
|
+
export interface SurfaceRuntimeContext {
|
|
35
|
+
focusRestoreFrame: {
|
|
36
|
+
current: DockScheduledTaskId | null;
|
|
37
|
+
};
|
|
38
|
+
live: SurfaceRuntimeLive;
|
|
39
|
+
refs: SurfaceRuntimeRefs;
|
|
40
|
+
scheduler: DockScheduler;
|
|
41
|
+
setSurfaceLifecycleState: Dispatch<SetStateAction<SurfaceLifecycleState>>;
|
|
42
|
+
setSurfacePhase: Dispatch<SetStateAction<string>>;
|
|
43
|
+
setSurfaceState: Dispatch<SetStateAction<ReturnType<typeof createSurfaceState>>>;
|
|
44
|
+
surfacePhase: {
|
|
45
|
+
current: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
22
48
|
//# sourceMappingURL=choreography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choreography.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/choreography.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"choreography.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/choreography.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAMxE;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,qBAAqB,EAC1B,oBAAoB,EAAE,CACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,aAAa,EACrB,SAAS,CAAC,EAAE,iBAAiB,EAAE,KAC5B,IAAI;;;oCAuCA,sBAAsB,mCAI1B;QACD,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QACvC,MAAM,CAAC,EAAE,aAAa,CAAC;KACxB;;;;;;kCAtBU,iBAAiB,EAAE,cACnB,MAAM,GAAG,IAAI;EAmE3B;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE/E,iFAAiF;AACjF,MAAM,WAAW,kBAAkB;IACjC,oBAAoB,EAChB,CAAC,CAAC,OAAO,EAAE;QACT,IAAI,EAAE,kBAAkB,CAAC;QACzB,MAAM,EAAE,aAAa,CAAC;KACvB,KAAK,OAAO,CAAC,GACd,IAAI,CAAC;IACT,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,kBAAkB,CAAC;CAC7B;AAED,0EAA0E;AAC1E,MAAM,WAAW,qBAAqB;IACpC,iBAAiB,EAAE;QAAE,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAA;KAAE,CAAC;IAC3D,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,EAAE,aAAa,CAAC;IACzB,wBAAwB,EAAE,QAAQ,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC1E,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAClD,eAAe,EAAE,QAAQ,CACvB,cAAc,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CACtD,CAAC;IACF,YAAY,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CACnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DockSurfaceActions, SurfaceFlowDefinition, SurfaceFlowDefinitionInput, SurfaceFlowHandle, SurfaceResult } from "../../types";
|
|
2
|
-
import { type SurfaceRuntimeRefs } from "../model/records";
|
|
3
2
|
import type { SurfaceChoreography } from "./choreography";
|
|
3
|
+
import { type SurfaceRuntimeRefs } from "./records";
|
|
4
4
|
/** Builds the surface flow actions on top of `openSurface` and `closeSurface`. */
|
|
5
5
|
export declare function createSurfaceFlows({ closeSurface, openSurface, refs, syncSurfaceStack, }: {
|
|
6
6
|
closeSurface: DockSurfaceActions["closeSurface"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/flows.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACjB,aAAa,EACd,MAAM,aAAa,CAAC;AAOrB,OAAO,
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/flows.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACjB,aAAa,EACd,MAAM,aAAa,CAAC;AAOrB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAEL,KAAK,kBAAkB,EAGxB,MAAM,WAAW,CAAC;AAGnB,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,WAAW,EACX,IAAI,EACJ,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;IACjD,WAAW,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IAC/C,IAAI,EAAE,kBAAkB,CAAC;IACzB,gBAAgB,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;CAC3D;gCA2CoC,MAAM,SAAQ,OAAO,KAAU,OAAO;kCAf/D,MAAM,SACR,OAAO,KACZ,OAAO;6BA6BsB,MAAM,KAAG,iBAAiB,GAAG,IAAI;6BAgBxD,0BAA0B,GAAG,qBAAqB,cAC9C,OAAO,+BAIf;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAC/C,OAAO,CAAC,aAAa,CAAC;gCA0ChB,0BAA0B,GAAG,qBAAqB,KACxD,OAAO,CAAC,aAAa,CAAC;gCA3HU,MAAM,YAAY,OAAO,KAAG,OAAO;EA0IvE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DockScheduler, DockSurfaceTimings, SurfaceTransitionEffect, SurfaceTransitionEvent, SurfaceTransitionResult, SurfaceTransitionState } from "
|
|
1
|
+
import type { DockScheduler, DockSurfaceTimings, SurfaceTransitionEffect, SurfaceTransitionEvent, SurfaceTransitionResult, SurfaceTransitionState } from "../../types";
|
|
2
2
|
/**
|
|
3
3
|
* Pure transition function of the surface choreography: given the current
|
|
4
4
|
* state and an event, returns the next state and the effects to run.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/machine.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AA0NrB;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAI,EACpD,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,EACtC,OAAO,EAAE,kBAAkB,GAC1B,uBAAuB,CAczB;AASD,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,CACR,MAAM,EAAE,uBAAuB,EAC/B,KAAK,EAAE,sBAAsB,KAC1B,IAAI,CAAC;IACV,YAAY,EAAE,CACZ,KAAK,EAAE,sBAAsB,EAC7B,KAAK,EAAE,sBAAsB,KAC1B,IAAI,CAAC;IACV,SAAS,EAAE,aAAa,CAAC;IACzB,OAAO,EAAE,kBAAkB,CAAC;CAC7B;AAgED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAmB,EACnB,YAAuB,EACvB,SAAiC,EACjC,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,CAAC,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;IAC/C,OAAO,EAAE,kBAAkB,CAAC;CAC7B;;wBAwBuB,sBAAsB;;;GAS7C"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { OpenSurfaceOptions, SurfaceInput, SurfaceResult } from "../../types";
|
|
2
|
-
import type { SurfaceChoreography } from "./choreography";
|
|
3
|
-
import type { SurfaceRuntimeContext } from "./context";
|
|
2
|
+
import type { SurfaceChoreography, SurfaceRuntimeContext } from "./choreography";
|
|
4
3
|
/** Builds `openSurface`: opens a surface and returns a promise that settles with its close result. */
|
|
5
4
|
export declare function createSurfaceOpen(ctx: SurfaceRuntimeContext, { finishSurfaceTransition, runSurfaceChoreography, }: Pick<SurfaceChoreography, "finishSurfaceTransition" | "runSurfaceChoreography">): (input: SurfaceInput, config?: OpenSurfaceOptions) => Promise<SurfaceResult>;
|
|
6
5
|
//# sourceMappingURL=open.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/open.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/open.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,kBAAkB,EAIlB,YAAY,EACZ,aAAa,EAEd,MAAM,aAAa,CAAC;AAMrB,OAAO,KAAK,EACV,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAcxB,sGAAsG;AACtG,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,qBAAqB,EAC1B,EACE,uBAAuB,EACvB,sBAAsB,GACvB,EAAE,IAAI,CACL,mBAAmB,EACnB,yBAAyB,GAAG,wBAAwB,CACrD,IAOC,OAAO,YAAY,EACnB,SAAQ,kBAAuB,KAC9B,OAAO,CAAC,aAAa,CAAC,CAgE1B"}
|
|
@@ -16,6 +16,7 @@ export interface SurfaceRuntimeRefs {
|
|
|
16
16
|
current: SurfaceStackEntry[];
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
+
export declare const EMPTY_SURFACE_STACK: GeneralSurfaceHandle["surfaceStack"];
|
|
19
20
|
export declare function createSurfaceMaps(): Omit<SurfaceRuntimeRefs, "stackRef">;
|
|
20
21
|
export declare function createSurfaceRecord(entry: SurfaceStackEntry, flow?: SurfaceFlowSession | null): SurfaceRecord;
|
|
21
22
|
export declare function toSurfaceFlowState(session: SurfaceFlowSession | null | undefined): SurfaceFlowState | null;
|
|
@@ -41,5 +42,4 @@ export declare function createSurfaceRuntimeEntry(surfaceId: SurfaceId, definiti
|
|
|
41
42
|
};
|
|
42
43
|
export declare const initialSurfaceState: SurfaceState;
|
|
43
44
|
export declare function createSurfaceLifecycleState(): SurfaceLifecycleState;
|
|
44
|
-
export declare const EMPTY_SURFACE_STACK: GeneralSurfaceHandle["surfaceStack"];
|
|
45
45
|
//# sourceMappingURL=records.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/records.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DockScheduler, SurfaceId, SurfaceResult } from "
|
|
2
|
-
import type
|
|
1
|
+
import type { DockScheduler, SurfaceId, SurfaceResult } from "../../types";
|
|
2
|
+
import { type SurfaceRuntimeLive } from "./choreography";
|
|
3
3
|
/**
|
|
4
4
|
* Owns the dock's surface stack: state, runtime and the actions that open,
|
|
5
5
|
* close and navigate surfaces. The runtime is built once; inputs that may
|
|
@@ -16,32 +16,32 @@ export declare function useSurfaceStack({ onSurfaceFlowSettled, scheduler, setEx
|
|
|
16
16
|
closeSurface: (result?: SurfaceResult, targetSurfaceId?: SurfaceId | null) => void;
|
|
17
17
|
goBackSurface: () => void;
|
|
18
18
|
goToStep: (index: number, targetSurfaceId?: SurfaceId | null) => void;
|
|
19
|
-
openSurface: (input: import("
|
|
19
|
+
openSurface: (input: import("../..").SurfaceInput, config?: import("../..").OpenSurfaceOptions) => Promise<SurfaceResult>;
|
|
20
20
|
popStep: (targetSurfaceId?: SurfaceId | null) => void;
|
|
21
|
-
pushStep: (stepInput: import("
|
|
21
|
+
pushStep: (stepInput: import("../..").SurfaceStep, targetSurfaceId?: SurfaceId | null) => void;
|
|
22
22
|
cancelSurfaceFlow: (flowId: string, data?: unknown) => boolean;
|
|
23
23
|
completeSurfaceFlow: (flowId: string, data?: unknown) => boolean;
|
|
24
|
-
getSurfaceFlow: (flowId: string) => import("
|
|
25
|
-
openSurfaceFlow: (input: import("
|
|
24
|
+
getSurfaceFlow: (flowId: string) => import("../..").SurfaceFlowHandle | null;
|
|
25
|
+
openSurfaceFlow: (input: import("../..").SurfaceFlowDefinitionInput | import("../..").SurfaceFlowDefinition, flowInput?: unknown, { preserveUrl, snapshot, }?: {
|
|
26
26
|
preserveUrl?: boolean;
|
|
27
27
|
snapshot?: unknown;
|
|
28
28
|
}) => Promise<SurfaceResult>;
|
|
29
|
-
restoreSurfaceFlow: (input: import("
|
|
29
|
+
restoreSurfaceFlow: (input: import("../..").SurfaceFlowDefinitionInput | import("../..").SurfaceFlowDefinition) => Promise<SurfaceResult>;
|
|
30
30
|
updateSurfaceFlow: (flowId: string, snapshot: unknown) => boolean;
|
|
31
31
|
};
|
|
32
32
|
/** The parts of `surfaceState`, each stable until it changes. */
|
|
33
33
|
surfaceParts: {
|
|
34
34
|
surfaceLifecycle: string;
|
|
35
35
|
surfacePhase: string;
|
|
36
|
-
surfaceState: import("
|
|
36
|
+
surfaceState: import("../..").SurfaceState;
|
|
37
37
|
};
|
|
38
38
|
surfaceState: {
|
|
39
39
|
surfacePhase: string;
|
|
40
40
|
surfaceLifecycle: string;
|
|
41
|
-
activeSurfaceEntry: import("
|
|
41
|
+
activeSurfaceEntry: import("../..").ResolvedSurfaceEntry | null;
|
|
42
42
|
activeSurfaceId: SurfaceId | null;
|
|
43
43
|
isSurfaceOpen: boolean;
|
|
44
|
-
surfaceStack: import("
|
|
44
|
+
surfaceStack: import("../..").ResolvedSurfaceEntry[];
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/stack.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,aAAa,EACb,SAAS,EAET,aAAa,EAEd,MAAM,aAAa,CAAC;AAErB,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AA6JxB;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAC9B,oBAA2B,EAC3B,SAAgB,EAChB,WAAW,EACX,cAAc,GACf,EAAE;IACD,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAClE,SAAS,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;;oCAvFmC,aAAa;gCAvBrC,aAAa,oBACJ,SAAS,GAAG,IAAI;;;;;;;;;;uBA4BtB,CAAC;oBAIZ,CAAC;;;;;IAiHD,iEAAiE;;;;;;;;;;;;;;EAIpE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SurfaceId, SurfaceStep } from "../../types";
|
|
2
|
-
import { type SurfaceRuntimeRefs } from "../model/records";
|
|
3
2
|
import type { SurfaceChoreography } from "./choreography";
|
|
3
|
+
import { type SurfaceRuntimeRefs } from "./records";
|
|
4
4
|
/** Step navigation (push, pop, jump) inside the targeted or topmost surface. */
|
|
5
5
|
export declare function createSurfaceSteps({ payloads, stackRef }: SurfaceRuntimeRefs, syncSurfaceStack: SurfaceChoreography["syncSurfaceStack"]): {
|
|
6
6
|
goToStep: (index: number, targetSurfaceId?: SurfaceId | null) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/steps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/steps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAwB,SAAS,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,WAAW,CAAC;AAEnB,gFAAgF;AAChF,wBAAgB,kBAAkB,CAChC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,EAC1C,gBAAgB,EAAE,mBAAmB,CAAC,kBAAkB,CAAC;sBAqDhD,MAAM,oBACI,SAAS,GAAG,IAAI;gCA1BD,SAAS,GAAG,IAAI;0BAzBrC,WAAW,oBACL,SAAS,GAAG,IAAI;EA6EpC"}
|
|
@@ -20,4 +20,4 @@ export declare function createReleaseEffect(surfaceIds: readonly SurfaceId[]): S
|
|
|
20
20
|
* phase and lifecycle derived from the remaining surfaces.
|
|
21
21
|
*/
|
|
22
22
|
export declare function createSurfaceTransitionState(input?: Partial<SurfaceTransitionState> | null): SurfaceTransitionState;
|
|
23
|
-
//# sourceMappingURL=transition
|
|
23
|
+
//# sourceMappingURL=transition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/transition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAQrB,eAAO,MAAM,yBAAyB;;;;;EAK3B,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;EAI5B,CAAC;AAEZ,eAAO,MAAM,gCAAgC,EAAE,SAAS,uBAAuB,EAC5D,CAAC;AAEpB,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,sBAAsB,GAC5B,sBAAsB,CAOxB;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,sBAAsB,EAC7B,OAAO,GAAE,SAAS,uBAAuB,EAAqC,GAC7E,uBAAuB,CAEzB;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,GACZ,uBAAuB,CAOzB;AAED,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,SAAS,SAAS,EAAE,GAC/B,uBAAuB,CAKzB;AAQD;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAS,GACjD,sBAAsB,CA4BxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/url.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,KAAK,gBAAgB,GAAG,IAAI,CAC1B,iBAAiB,EACjB,MAAM,GAAG,aAAa,GAAG,QAAQ,CAClC,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAG3C,eAAO,MAAM,UAAU,SAAgC,CAAC;AAExD,mEAAmE;AACnE,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAChD,MAAM,CAIR;AAiBD,yEAAyE;AACzE,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,gBAAgB,WAKnE;AAmBD,+EAA+E;AAC/E,wBAAgB,cAAc,CAC5B,YAAY,EAAE,gBAAgB,EAC9B,SAAS,EAAE,OAAO,EAClB,QAAQ,GAAE,eAAe,GAAG,IAAW,QAwBxC;AAED,oFAAoF;AACpF,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,gBAAgB,EAC9B,QAAQ,GAAE,eAAe,GAAG,IAAW,QAsBxC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { type PanInfo } from "motion/react";
|
|
2
|
-
import type
|
|
2
|
+
import { type PointerEvent } from "react";
|
|
3
|
+
import type { DockSurfaceShellProps } from "../types";
|
|
4
|
+
export declare function DockSurfaceShell({ ref, title, onClose, onBack, allowSwipeDismiss, closeLabel, backLabel, showControls, className, contentClassName, children, onAnimationComplete, isActive, surfaceId, surfacePhase, surfaceWidth, }: DockSurfaceShellProps): import("react").JSX.Element;
|
|
5
|
+
/**
|
|
6
|
+
* State and handlers for a surface shell: focus trap, swipe-to-dismiss drag
|
|
7
|
+
* and body motion variants.
|
|
8
|
+
*/
|
|
3
9
|
export declare function useDockSurfaceShellModel({ ref, onClose, allowSwipeDismiss, isActive, surfaceId, surfacePhase, surfaceWidth, }: DockSurfaceShellProps): {
|
|
4
10
|
setSurfaceElementRef: (node: HTMLElement | null) => void;
|
|
5
11
|
titleId: string | undefined;
|
|
@@ -9,7 +15,7 @@ export declare function useDockSurfaceShellModel({ ref, onClose, allowSwipeDismi
|
|
|
9
15
|
handleDragEnd: (_event: unknown, info: PanInfo) => void;
|
|
10
16
|
dragControls: import("framer-motion").DragControls;
|
|
11
17
|
canDragDismiss: boolean;
|
|
12
|
-
handleSurfacePointerDown: (event:
|
|
18
|
+
handleSurfacePointerDown: (event: PointerEvent<HTMLElement>) => void;
|
|
13
19
|
isBodyVisible: boolean;
|
|
14
20
|
bodyVariants: {
|
|
15
21
|
hidden: import("motion-dom").Variant;
|
|
@@ -25,4 +31,4 @@ export declare function useDockSurfaceShellModel({ ref, onClose, allowSwipeDismi
|
|
|
25
31
|
width: string | number | null;
|
|
26
32
|
};
|
|
27
33
|
};
|
|
28
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/shell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,OAAO,EAIb,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,YAAY,EAAgC,MAAM,OAAO,CAAC;AAcxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAoBtD,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,KAAU,EACV,OAAc,EACd,MAAa,EACb,iBAAwB,EACxB,UAA4B,EAC5B,SAA2B,EAC3B,YAAoB,EACpB,SAAc,EACd,gBAAqB,EACrB,QAAQ,EACR,mBAA0B,EAC1B,QAAe,EACf,SAAgB,EAChB,YAAsC,EACtC,YAAmB,GACpB,EAAE,qBAAqB,+BAiGvB;AAcD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,GAAG,EACH,OAAc,EACd,iBAAwB,EACxB,QAAe,EACf,SAAgB,EAChB,YAAsC,EACtC,YAAmB,GACpB,EAAE,qBAAqB;iCAIb,WAAW,GAAG,IAAI;;;;;4BA2BI,OAAO,QAAQ,OAAO;;;sCAkBZ,YAAY,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;EA2CnE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SurfaceFlowDefinitionInput, SurfaceFlowState, SurfaceResult } from "
|
|
1
|
+
import type { SurfaceFlowDefinitionInput, SurfaceFlowState, SurfaceResult } from "../types";
|
|
2
2
|
/**
|
|
3
3
|
* Binds a component to a named surface flow: tracks its state and exposes
|
|
4
4
|
* open, update, complete and cancel controls. Restores the flow from the URL
|
|
@@ -17,4 +17,4 @@ export declare function useSurfaceFlow(input: SurfaceFlowDefinitionInput): {
|
|
|
17
17
|
snapshot: {} | null;
|
|
18
18
|
update: (snapshot: unknown) => boolean | undefined;
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=use-
|
|
20
|
+
//# sourceMappingURL=use-flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-flow.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/use-flow.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,0BAA0B,EAC1B,gBAAgB,EAChB,aAAa,EACd,MAAM,UAAU,CAAC;AAOlB;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,0BAA0B;;sBA8CzC,aAAa;wBAEX,aAAa;;;uBArBtB,OAAO,KAAU,OAAO,CAAC,aAAa,CAAC;;uBA2B9B,OAAO;EAK/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/view-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/view-model.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEV,QAAQ,EACR,sBAAsB,EAItB,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAgNlB;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,QAAQ,GAAG,IAAI,EACrB,eAAe,EAAE,sBAAsB,GAAG,IAAI,EAC9C,OAAO,GAAE,uBAA4B,GACpC,QAAQ,GAAG,IAAI,CA2BjB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { cn } from "
|
|
3
|
-
import type { DockItemCardPropsOptions, DockTheme as DockThemeType, DockVisualStyle, DockVisualStyleInput, DockVisualStyleSection } from "
|
|
1
|
+
import { type CSSProperties } from "react";
|
|
2
|
+
import { cn } from "../../foundation/recipes/cn";
|
|
3
|
+
import type { DockItemCardPropsOptions, DockTheme as DockThemeType, DockVisualStyle, DockVisualStyleInput, DockVisualStyleSection } from "./types";
|
|
4
4
|
export type DockStyleInput = DockVisualStyleSection;
|
|
5
5
|
/** True for banner URLs that are http(s), root-relative or image data URIs. */
|
|
6
6
|
export declare function isValidBannerUrl(banner: unknown): boolean;
|
|
@@ -899,4 +899,8 @@ export declare function resolveDockVisualStyle(style?: DockVisualStyleInput | nu
|
|
|
899
899
|
isActive?: boolean;
|
|
900
900
|
isHovered?: boolean;
|
|
901
901
|
}): DockVisualStyle;
|
|
902
|
-
|
|
902
|
+
/** Returns the active dock theme (slots, styles and motion). */
|
|
903
|
+
export declare function useDockTheme(): import("../../react/theme").ResolvedTheme<import("./types").DockThemeSlot>;
|
|
904
|
+
/** Returns a function that resolves class names for dock action buttons. */
|
|
905
|
+
export declare function useDockActionClass(): (options?: Parameters<typeof resolveDockActionClass>[1]) => string;
|
|
906
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/modules/dock/theme.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { ComponentType, ReactNode, SyntheticEvent } from "react";
|
|
1
|
+
import type { ComponentType, ReactNode, Ref, SyntheticEvent } from "react";
|
|
2
2
|
import type { RegistryMetadata } from "../../../core/kernel";
|
|
3
3
|
import type { createScheduler, ExternalStore } from "../../../foundation/utils";
|
|
4
|
-
import type { DockCompactProps } from "./compact";
|
|
5
4
|
import type { DockHudDescriptor, DockOperation, DockOperationActions } from "./hud";
|
|
6
5
|
import type { DockBannerSource, DockIconOverlayConfig, DockIconSource } from "./media";
|
|
7
6
|
import type { BreadcrumbConfig, BreadcrumbOverride, DockContinuityEntry, DockGuardConfirmation, DockGuardRegistry, DockItemRouteFields, DockPageGuard, DockReturnHandoff, DockRouteActions, DockRouteSnapshot } from "./routing";
|
|
@@ -246,7 +245,7 @@ export interface DockCardHeaderProps {
|
|
|
246
245
|
}
|
|
247
246
|
/** Props of a single dock card. */
|
|
248
247
|
export interface DockCardItemProps {
|
|
249
|
-
ref?:
|
|
248
|
+
ref?: Ref<HTMLDivElement>;
|
|
250
249
|
activeItem?: DockItem | null;
|
|
251
250
|
onContentHeightChange?: ((height: number) => void) | null;
|
|
252
251
|
isStackHovered?: boolean;
|
|
@@ -311,4 +310,14 @@ export interface UseDockHeightControllerOptions {
|
|
|
311
310
|
export type DockScheduler = ReturnType<typeof createScheduler>;
|
|
312
311
|
/** Identifier of a task queued on the dock scheduler. */
|
|
313
312
|
export type DockScheduledTaskId = ReturnType<DockScheduler["schedule"]>;
|
|
313
|
+
/** What the front card needs to draw the compact layout. */
|
|
314
|
+
export interface DockCompactProps {
|
|
315
|
+
/** The card's action, drawn small beside the commands. */
|
|
316
|
+
action?: ReactNode;
|
|
317
|
+
activeItem: DockItem | null;
|
|
318
|
+
contextCommands: DockActionDescriptor[];
|
|
319
|
+
/** Reports the compact row's own width in px, so the dock can fit it. */
|
|
320
|
+
onWidthChange: (width: number) => void;
|
|
321
|
+
setCompact: (compact: boolean) => void;
|
|
322
|
+
}
|
|
314
323
|
//# sourceMappingURL=card.d.ts.map
|