@omerdlw/base-framework 3.4.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -72
- package/dist/ambient/index.js +9 -10
- package/dist/ambient/server/index.js +3 -3
- package/dist/ambient/server/index.js.map +1 -1
- package/dist/ambient/worker/index.js +7 -4
- package/dist/ambient/worker/index.js.map +1 -1
- package/dist/background/index.js +8 -9
- package/dist/{chunk-KOYTJW5E.js → chunk-3FSDBJ7V.js} +7 -7
- package/dist/chunk-3FSDBJ7V.js.map +1 -0
- package/dist/{chunk-CRKJAACG.js → chunk-4QQ3QVY7.js} +10 -10
- package/dist/{chunk-CRKJAACG.js.map → chunk-4QQ3QVY7.js.map} +1 -1
- package/dist/{chunk-UQLTP3XB.js → chunk-5TQSH6KE.js} +143 -144
- package/dist/chunk-5TQSH6KE.js.map +1 -0
- package/dist/{chunk-HFR6YROB.js → chunk-6P3F4JU3.js} +1160 -1172
- package/dist/chunk-6P3F4JU3.js.map +1 -0
- package/dist/chunk-AKPH5CEJ.js +357 -0
- package/dist/chunk-AKPH5CEJ.js.map +1 -0
- package/dist/{chunk-QGPRTUED.js → chunk-AWLK2I56.js} +35 -39
- package/dist/chunk-AWLK2I56.js.map +1 -0
- package/dist/{chunk-ZXRE2KZO.js → chunk-C3SEBNF5.js} +11 -15
- package/dist/chunk-C3SEBNF5.js.map +1 -0
- package/dist/{chunk-R4K6VAOK.js → chunk-C527JOJQ.js} +11 -18
- package/dist/chunk-C527JOJQ.js.map +1 -0
- package/dist/{chunk-VNSMNGWP.js → chunk-DMQKXBWO.js} +5 -5
- package/dist/{chunk-VNSMNGWP.js.map → chunk-DMQKXBWO.js.map} +1 -1
- package/dist/{chunk-IH3STE7W.js → chunk-ED32WLAD.js} +1168 -1215
- package/dist/chunk-ED32WLAD.js.map +1 -0
- package/dist/{chunk-67MOKJFZ.js → chunk-EXB7VFD3.js} +16 -16
- package/dist/chunk-EXB7VFD3.js.map +1 -0
- package/dist/chunk-FG2AKFXP.js +108 -0
- package/dist/chunk-FG2AKFXP.js.map +1 -0
- package/dist/chunk-GA5SZ6E2.js +17 -0
- package/dist/{chunk-AZ2ZDFNP.js.map → chunk-GA5SZ6E2.js.map} +1 -1
- package/dist/chunk-GG2ILNK2.js +44 -0
- package/dist/chunk-GG2ILNK2.js.map +1 -0
- package/dist/{chunk-6IP6YFQX.js → chunk-JA75E4BG.js} +21 -31
- package/dist/chunk-JA75E4BG.js.map +1 -0
- package/dist/{chunk-WQTMOUCA.js → chunk-JWUKAZ3A.js} +45 -67
- package/dist/chunk-JWUKAZ3A.js.map +1 -0
- package/dist/{chunk-LKYW4LH6.js → chunk-QZA5AIT6.js} +37 -47
- package/dist/chunk-QZA5AIT6.js.map +1 -0
- package/dist/{chunk-D222OCTV.js → chunk-S67HGKJ2.js} +49 -55
- package/dist/chunk-S67HGKJ2.js.map +1 -0
- package/dist/chunk-T53WFIZN.js +29 -0
- package/dist/chunk-T53WFIZN.js.map +1 -0
- package/dist/{chunk-RDYYP36I.js → chunk-TMKA5ZHO.js} +7 -6
- package/dist/chunk-TMKA5ZHO.js.map +1 -0
- package/dist/{chunk-XGAYTDSI.js → chunk-UWX7GCNX.js} +23 -26
- package/dist/chunk-UWX7GCNX.js.map +1 -0
- package/dist/{chunk-QRXDXAQI.js → chunk-WVED7PDH.js} +161 -165
- package/dist/chunk-WVED7PDH.js.map +1 -0
- package/dist/{chunk-FFJWJ4OB.js → chunk-XIFQMK2Z.js} +12317 -12355
- package/dist/chunk-XIFQMK2Z.js.map +1 -0
- package/dist/{chunk-BMFHS3GV.js → chunk-YHWA7FXX.js} +22 -12
- package/dist/chunk-YHWA7FXX.js.map +1 -0
- package/dist/{chunk-YZS2B6YE.js → chunk-YKHAFHB7.js} +9 -12
- package/dist/chunk-YKHAFHB7.js.map +1 -0
- package/dist/{chunk-GKAJ4EM2.js → chunk-ZQI4ZCVU.js} +83 -83
- package/dist/chunk-ZQI4ZCVU.js.map +1 -0
- package/dist/context-menu/index.js +13 -15
- package/dist/controls/index.js +7 -6
- package/dist/core/error/boundary.d.ts.map +1 -1
- package/dist/core/error/constants.d.ts +9 -0
- package/dist/core/error/constants.d.ts.map +1 -1
- package/dist/core/error/index.d.ts +2 -3
- package/dist/core/error/index.d.ts.map +1 -1
- package/dist/core/error/listener.d.ts.map +1 -1
- package/dist/core/error/reporter.d.ts +7 -6
- package/dist/core/error/reporter.d.ts.map +1 -1
- package/dist/core/error/utils.d.ts.map +1 -1
- package/dist/core/kernel/constants.d.ts +1 -1
- package/dist/core/kernel/constants.d.ts.map +1 -1
- package/dist/core/kernel/{compose.d.ts → host/compose.d.ts} +0 -4
- package/dist/core/kernel/host/compose.d.ts.map +1 -0
- package/dist/core/kernel/{installed.d.ts → host/installed.d.ts} +1 -1
- package/dist/core/kernel/host/installed.d.ts.map +1 -0
- package/dist/core/kernel/{module.d.ts → host/module.d.ts} +2 -5
- package/dist/core/kernel/host/module.d.ts.map +1 -0
- package/dist/core/kernel/{adapters.d.ts → host/registration.d.ts} +2 -2
- package/dist/core/kernel/host/registration.d.ts.map +1 -0
- package/dist/core/kernel/index.d.ts +12 -12
- package/dist/core/kernel/index.d.ts.map +1 -1
- package/dist/core/kernel/{page-controller.d.ts → page.d.ts} +2 -2
- package/dist/core/kernel/page.d.ts.map +1 -0
- package/dist/core/kernel/{handlers.d.ts → registry/apply.d.ts} +2 -2
- package/dist/core/kernel/registry/apply.d.ts.map +1 -0
- package/dist/core/kernel/{hooks.d.ts → registry/hooks.d.ts} +1 -1
- package/dist/core/kernel/registry/hooks.d.ts.map +1 -0
- package/dist/core/kernel/{operations.d.ts → registry/operations.d.ts} +2 -2
- package/dist/core/kernel/registry/operations.d.ts.map +1 -0
- package/dist/core/kernel/{provider.d.ts → registry/provider.d.ts} +2 -2
- package/dist/core/kernel/registry/provider.d.ts.map +1 -0
- package/dist/core/kernel/{operations-records.d.ts → registry/records.d.ts} +2 -2
- package/dist/core/kernel/registry/records.d.ts.map +1 -0
- package/dist/core/kernel/registry/registration.d.ts +13 -0
- package/dist/core/kernel/registry/registration.d.ts.map +1 -0
- package/dist/core/kernel/{schema.d.ts → registry/schema.d.ts} +1 -1
- package/dist/core/kernel/registry/schema.d.ts.map +1 -0
- package/dist/core/kernel/{store-snapshots.d.ts → registry/snapshots.d.ts} +3 -3
- package/dist/core/kernel/registry/snapshots.d.ts.map +1 -0
- package/dist/core/kernel/{stabilize.d.ts → registry/stabilize.d.ts} +1 -1
- package/dist/core/kernel/registry/stabilize.d.ts.map +1 -0
- package/dist/core/kernel/{store.d.ts → registry/store.d.ts} +2 -2
- package/dist/core/kernel/registry/store.d.ts.map +1 -0
- package/dist/core/kernel/{store-subscriptions.d.ts → registry/subscriptions.d.ts} +2 -6
- package/dist/core/kernel/registry/subscriptions.d.ts.map +1 -0
- package/dist/core/kernel/{runtime.d.ts → registry/transaction.d.ts} +2 -2
- package/dist/core/kernel/registry/transaction.d.ts.map +1 -0
- package/dist/core/kernel/{types-modules.d.ts → types/modules.d.ts} +4 -4
- package/dist/core/kernel/types/modules.d.ts.map +1 -0
- package/dist/core/kernel/{types-page.d.ts → types/page.d.ts} +3 -3
- package/dist/core/kernel/types/page.d.ts.map +1 -0
- package/dist/core/kernel/{types.d.ts → types/registry.d.ts} +4 -4
- package/dist/core/kernel/types/registry.d.ts.map +1 -0
- package/dist/core/kernel/{types-store.d.ts → types/store.d.ts} +3 -3
- package/dist/core/kernel/types/store.d.ts.map +1 -0
- package/dist/core/kernel/utils.d.ts +1 -1
- package/dist/core/kernel/utils.d.ts.map +1 -1
- package/dist/core/navigation/{navigator-holds.d.ts → holds.d.ts} +2 -1
- package/dist/core/navigation/holds.d.ts.map +1 -0
- package/dist/core/navigation/navigator.d.ts.map +1 -1
- package/dist/core/navigation/{navigator-patience.d.ts → patience.d.ts} +1 -1
- package/dist/core/navigation/patience.d.ts.map +1 -0
- package/dist/core/navigation/{navigator-payload.d.ts → payload.d.ts} +2 -1
- package/dist/core/navigation/payload.d.ts.map +1 -0
- package/dist/core/navigation/{navigator-prefetch.d.ts → prefetch.d.ts} +2 -1
- package/dist/core/navigation/prefetch.d.ts.map +1 -0
- package/dist/core/navigation/settings.d.ts.map +1 -1
- package/dist/core/navigation/state.d.ts.map +1 -1
- package/dist/core/navigation/utils.d.ts +3 -0
- package/dist/core/navigation/utils.d.ts.map +1 -1
- package/dist/core/provider/index.d.ts +4 -9
- package/dist/core/provider/index.d.ts.map +1 -1
- package/dist/dock/index.js +12 -14
- package/dist/error/index.js +4 -7
- package/dist/events/index.js +24 -20
- package/dist/events/index.js.map +1 -1
- package/dist/foundation/events/index.d.ts.map +1 -1
- package/dist/foundation/recipes/index.d.ts +0 -7
- package/dist/foundation/recipes/index.d.ts.map +1 -1
- package/dist/foundation/recipes/recipe.d.ts.map +1 -1
- package/dist/foundation/result/index.d.ts.map +1 -1
- package/dist/foundation/utils/collections.d.ts +11 -0
- package/dist/foundation/utils/collections.d.ts.map +1 -0
- package/dist/foundation/utils/dom.d.ts.map +1 -1
- package/dist/foundation/utils/report.d.ts.map +1 -1
- package/dist/foundation/utils/scheduler.d.ts.map +1 -1
- package/dist/foundation/utils/store.d.ts.map +1 -1
- package/dist/foundation/utils/string.d.ts.map +1 -1
- package/dist/foundation/utils/tempo.d.ts.map +1 -1
- package/dist/foundation/utils/timing.d.ts.map +1 -1
- package/dist/foundation/utils/user-message.d.ts.map +1 -1
- package/dist/hooks/index.js +3 -3
- package/dist/index.js +22 -24
- package/dist/kernel/index.js +4 -4
- package/dist/loading/index.js +6 -8
- package/dist/media/index.js +5 -5
- package/dist/modal/index.js +153 -166
- package/dist/modal/index.js.map +1 -1
- package/dist/modules/ambient/{analyze.d.ts → analysis/analyze.d.ts} +3 -3
- package/dist/modules/ambient/analysis/analyze.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-bounds.d.ts → analysis/bounds.d.ts} +2 -2
- package/dist/modules/ambient/analysis/bounds.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-clusters.d.ts → analysis/clusters.d.ts} +3 -3
- package/dist/modules/ambient/analysis/clusters.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-ground.d.ts → analysis/ground.d.ts} +3 -3
- package/dist/modules/ambient/analysis/ground.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-measures.d.ts → analysis/measures.d.ts} +2 -2
- package/dist/modules/ambient/analysis/measures.d.ts.map +1 -0
- package/dist/modules/ambient/{oklab.d.ts → analysis/oklab.d.ts} +1 -3
- package/dist/modules/ambient/analysis/oklab.d.ts.map +1 -0
- package/dist/modules/ambient/analysis/quantize.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-swatches.d.ts → analysis/swatches.d.ts} +3 -3
- package/dist/modules/ambient/analysis/swatches.d.ts.map +1 -0
- package/dist/modules/ambient/hooks.d.ts +0 -1
- package/dist/modules/ambient/hooks.d.ts.map +1 -1
- package/dist/modules/ambient/index.d.ts +2 -2
- package/dist/modules/ambient/index.d.ts.map +1 -1
- package/dist/modules/ambient/module.d.ts +0 -3
- package/dist/modules/ambient/module.d.ts.map +1 -1
- package/dist/modules/ambient/pipeline.d.ts +6 -5
- package/dist/modules/ambient/pipeline.d.ts.map +1 -1
- package/dist/modules/ambient/server/index.d.ts +2 -2
- package/dist/modules/ambient/server/index.d.ts.map +1 -1
- package/dist/modules/ambient/settings.d.ts +0 -2
- package/dist/modules/ambient/settings.d.ts.map +1 -1
- package/dist/modules/ambient/worker/index.d.ts.map +1 -1
- package/dist/modules/background/constants.d.ts +3 -1
- package/dist/modules/background/constants.d.ts.map +1 -1
- package/dist/modules/background/context.d.ts +1 -1
- package/dist/modules/background/context.d.ts.map +1 -1
- package/dist/modules/background/hooks.d.ts +929 -0
- package/dist/modules/background/hooks.d.ts.map +1 -1
- package/dist/modules/background/index.d.ts +6 -6
- package/dist/modules/background/index.d.ts.map +1 -1
- package/dist/modules/background/module.d.ts +1 -1
- package/dist/modules/background/module.d.ts.map +1 -1
- package/dist/modules/background/{hooks/use-native-video-model.d.ts → native-video.d.ts} +4 -8
- package/dist/modules/background/native-video.d.ts.map +1 -0
- package/dist/modules/background/overlay.d.ts.map +1 -0
- package/dist/modules/background/playback.d.ts.map +1 -0
- package/dist/modules/background/{model/state.d.ts → state.d.ts} +11 -1
- package/dist/modules/background/state.d.ts.map +1 -0
- package/dist/modules/background/{model/visual.d.ts → visual.d.ts} +43 -6
- package/dist/modules/background/visual.d.ts.map +1 -0
- package/dist/modules/background/youtube/audio.d.ts.map +1 -0
- package/dist/modules/background/youtube/iframe.d.ts +92 -0
- package/dist/modules/background/youtube/iframe.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/parse.d.ts → parse.d.ts} +1 -1
- package/dist/modules/background/youtube/parse.d.ts.map +1 -0
- package/dist/modules/background/youtube/{components/player.d.ts → player.d.ts} +1 -1
- package/dist/modules/background/youtube/player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/timing.d.ts → timing.d.ts} +0 -2
- package/dist/modules/background/youtube/timing.d.ts.map +1 -0
- package/dist/modules/background/youtube/use-iframe-player.d.ts +37 -0
- package/dist/modules/background/youtube/use-iframe-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{hooks/use-youtube-background-player-model.d.ts → use-player.d.ts} +2 -2
- package/dist/modules/background/youtube/use-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{hooks/use-youtube-video-sync.d.ts → use-video-sync.d.ts} +8 -4
- package/dist/modules/background/youtube/use-video-sync.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/video-events.d.ts → video-events.d.ts} +8 -8
- package/dist/modules/background/youtube/video-events.d.ts.map +1 -0
- package/dist/modules/context-menu/dom.d.ts.map +1 -1
- package/dist/modules/context-menu/items.d.ts.map +1 -1
- package/dist/modules/context-menu/overlay.d.ts +3 -10
- package/dist/modules/context-menu/overlay.d.ts.map +1 -1
- package/dist/modules/context-menu/resolver.d.ts.map +1 -1
- package/dist/modules/controls/overlay.d.ts +0 -10
- package/dist/modules/controls/overlay.d.ts.map +1 -1
- package/dist/modules/dock/{lib → card}/banner.d.ts +3 -16
- package/dist/modules/dock/card/banner.d.ts.map +1 -0
- package/dist/modules/dock/{components/card-item.d.ts → card/card.d.ts} +5 -2
- package/dist/modules/dock/card/card.d.ts.map +1 -0
- package/dist/modules/dock/card/compact.d.ts.map +1 -0
- package/dist/modules/dock/{components/item-content.d.ts → card/content.d.ts} +1 -1
- package/dist/modules/dock/card/content.d.ts.map +1 -0
- package/dist/modules/dock/card/header.d.ts +8 -0
- package/dist/modules/dock/card/header.d.ts.map +1 -0
- package/dist/modules/dock/{components → card}/icon.d.ts +1 -1
- package/dist/modules/dock/card/icon.d.ts.map +1 -0
- package/dist/modules/dock/{lib/card-item.d.ts → card/model.d.ts} +20 -2
- package/dist/modules/dock/card/model.d.ts.map +1 -0
- package/dist/modules/dock/{hooks/use-card-item-model.d.ts → card/use-card.d.ts} +44 -43
- package/dist/modules/dock/{hooks/use-card-item-model.d.ts.map → card/use-card.d.ts.map} +1 -1
- package/dist/modules/dock/commands/command-bar.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/commands.d.ts → commands/registry.d.ts} +1 -1
- package/dist/modules/dock/commands/registry.d.ts.map +1 -0
- package/dist/modules/dock/constants.d.ts +4 -7
- package/dist/modules/dock/constants.d.ts.map +1 -1
- package/dist/modules/dock/context.d.ts +1 -1
- package/dist/modules/dock/context.d.ts.map +1 -1
- package/dist/modules/dock/hooks.d.ts +47 -0
- package/dist/modules/dock/hooks.d.ts.map +1 -0
- package/dist/modules/dock/{hud.d.ts → hud/hud.d.ts} +14 -7
- package/dist/modules/dock/hud/hud.d.ts.map +1 -0
- package/dist/modules/dock/{model/hud-definition.d.ts → hud/model.d.ts} +7 -1
- package/dist/modules/dock/hud/model.d.ts.map +1 -0
- package/dist/modules/dock/{components/hud-view.d.ts → hud/view.d.ts} +1 -1
- package/dist/modules/dock/hud/view.d.ts.map +1 -0
- package/dist/modules/dock/index.d.ts +22 -22
- package/dist/modules/dock/index.d.ts.map +1 -1
- package/dist/modules/dock/items/attention.d.ts +43 -0
- package/dist/modules/dock/items/attention.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/model/items.d.ts → items/build.d.ts} +2 -2
- package/dist/modules/dock/items/build.d.ts.map +1 -0
- package/dist/modules/dock/{runtime → items}/display.d.ts +2 -5
- package/dist/modules/dock/items/display.d.ts.map +1 -0
- package/dist/modules/dock/items/operations.d.ts +22 -0
- package/dist/modules/dock/items/operations.d.ts.map +1 -0
- package/dist/modules/dock/{runtime → items}/pipeline.d.ts +1 -1
- package/dist/modules/dock/items/pipeline.d.ts.map +1 -0
- package/dist/modules/dock/{components/media-action.d.ts → media/controls.d.ts} +5 -2
- package/dist/modules/dock/media/controls.d.ts.map +1 -0
- package/dist/modules/dock/{lib/media.d.ts → media/model.d.ts} +1 -3
- package/dist/modules/dock/media/model.d.ts.map +1 -0
- package/dist/modules/dock/{components/media-scrubber.d.ts → media/scrubber.d.ts} +1 -1
- package/dist/modules/dock/media/scrubber.d.ts.map +1 -0
- package/dist/modules/dock/{hooks/use-media-controls-model.d.ts → media/use-controls.d.ts} +8 -8
- package/dist/modules/dock/media/use-controls.d.ts.map +1 -0
- package/dist/modules/dock/module.d.ts.map +1 -1
- package/dist/modules/dock/motion.d.ts +27 -28
- package/dist/modules/dock/motion.d.ts.map +1 -1
- package/dist/modules/dock/provider.d.ts.map +1 -1
- package/dist/modules/dock/routing/breadcrumbs-card.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/continuity.d.ts → continuity-state.d.ts} +2 -2
- package/dist/modules/dock/routing/continuity-state.d.ts.map +1 -0
- package/dist/modules/dock/routing/continuity.d.ts +8 -8
- package/dist/modules/dock/routing/continuity.d.ts.map +1 -1
- package/dist/modules/dock/routing/navigation.d.ts +0 -10
- package/dist/modules/dock/routing/navigation.d.ts.map +1 -1
- package/dist/modules/dock/routing/paths.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/policy.d.ts → policy.d.ts} +1 -1
- package/dist/modules/dock/routing/policy.d.ts.map +1 -0
- package/dist/modules/dock/routing/{hooks/use-route-prefetch.d.ts → prefetch.d.ts} +3 -3
- package/dist/modules/dock/routing/prefetch.d.ts.map +1 -0
- package/dist/modules/dock/routing/route-bridge.d.ts +8 -0
- package/dist/modules/dock/routing/route-bridge.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/topology.d.ts → topology.d.ts} +1 -1
- package/dist/modules/dock/routing/topology.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/model → stack}/cards.d.ts +8 -5
- package/dist/modules/dock/stack/cards.d.ts.map +1 -0
- package/dist/modules/dock/stack/dock.d.ts.map +1 -0
- package/dist/modules/dock/stack/focus.d.ts +22 -0
- package/dist/modules/dock/stack/focus.d.ts.map +1 -0
- package/dist/modules/dock/{model → stack}/layout.d.ts +8 -2
- package/dist/modules/dock/stack/layout.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/dock.d.ts → stack/use-dock-model.d.ts} +2 -1
- package/dist/modules/dock/stack/use-dock-model.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/hooks → stack}/use-dock.d.ts +9 -9
- package/dist/modules/dock/stack/use-dock.d.ts.map +1 -0
- package/dist/modules/dock/stack/use-height.d.ts +12 -0
- package/dist/modules/dock/stack/use-height.d.ts.map +1 -0
- package/dist/modules/dock/{components/status-actions.d.ts → status/actions.d.ts} +1 -1
- package/dist/modules/dock/status/actions.d.ts.map +1 -0
- package/dist/modules/dock/status/events.d.ts +4 -4
- package/dist/modules/dock/status/events.d.ts.map +1 -1
- package/dist/modules/dock/status/hooks.d.ts.map +1 -1
- package/dist/modules/dock/status/model.d.ts +34 -4
- package/dist/modules/dock/status/model.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/builder.d.ts → builder.d.ts} +13 -7
- package/dist/modules/dock/surface/builder.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface/item-content.d.ts → surface/content.d.ts} +2 -2
- package/dist/modules/dock/surface/content.d.ts.map +1 -0
- package/dist/modules/dock/surface/context.d.ts +12 -3
- package/dist/modules/dock/surface/context.d.ts.map +1 -1
- package/dist/modules/dock/surface/controls.d.ts +26 -0
- package/dist/modules/dock/surface/controls.d.ts.map +1 -0
- package/dist/modules/dock/surface/definition.d.ts.map +1 -1
- package/dist/modules/dock/{components/surface → surface}/extensions-bar.d.ts +1 -1
- package/dist/modules/dock/surface/extensions-bar.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface/action.d.ts → surface/extensions.d.ts} +4 -2
- package/dist/modules/dock/surface/extensions.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface → surface}/header-button.d.ts +3 -3
- package/dist/modules/dock/surface/header-button.d.ts.map +1 -0
- package/dist/modules/dock/surface/helpers.d.ts +13 -1
- package/dist/modules/dock/surface/helpers.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/normalize.d.ts → normalize.d.ts} +1 -1
- package/dist/modules/dock/surface/normalize.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/choreography.d.ts +28 -2
- package/dist/modules/dock/surface/runtime/choreography.d.ts.map +1 -1
- package/dist/modules/dock/surface/runtime/flows.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/flows.d.ts.map +1 -1
- package/dist/modules/dock/surface/{machine.d.ts → runtime/machine.d.ts} +1 -1
- package/dist/modules/dock/surface/runtime/machine.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/open.d.ts +1 -2
- package/dist/modules/dock/surface/runtime/open.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model → runtime}/records.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/records.d.ts.map +1 -0
- package/dist/modules/dock/surface/{stack.d.ts → runtime/stack.d.ts} +10 -10
- package/dist/modules/dock/surface/runtime/stack.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/steps.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/steps.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/transition-state.d.ts → runtime/transition.d.ts} +1 -1
- package/dist/modules/dock/surface/runtime/transition.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/url.d.ts.map +1 -0
- package/dist/modules/dock/surface/{hooks/use-surface-shell-model.d.ts → shell.d.ts} +9 -3
- package/dist/modules/dock/surface/shell.d.ts.map +1 -0
- package/dist/modules/dock/surface/{hooks/use-surface-flow.d.ts → use-flow.d.ts} +2 -2
- package/dist/modules/dock/surface/use-flow.d.ts.map +1 -0
- package/dist/modules/dock/surface/view-model.d.ts.map +1 -1
- package/dist/modules/dock/{lib/styles.d.ts → theme.d.ts} +22 -18
- package/dist/modules/dock/theme.d.ts.map +1 -0
- package/dist/modules/dock/types/card.d.ts +12 -3
- package/dist/modules/dock/types/card.d.ts.map +1 -1
- package/dist/modules/dock/types/index.d.ts +1 -1
- package/dist/modules/dock/types/index.d.ts.map +1 -1
- package/dist/modules/dock/types/surface.d.ts +2 -2
- package/dist/modules/dock/types/surface.d.ts.map +1 -1
- package/dist/modules/dock/{lib/helpers.d.ts → utils.d.ts} +10 -3
- package/dist/modules/dock/utils.d.ts.map +1 -0
- package/dist/modules/index.js +20 -22
- package/dist/modules/loading/hooks.d.ts +2 -1
- package/dist/modules/loading/hooks.d.ts.map +1 -1
- package/dist/modules/loading/state.d.ts.map +1 -1
- package/dist/modules/media/hooks.d.ts.map +1 -1
- package/dist/modules/media/playback.d.ts.map +1 -1
- package/dist/modules/modal/constants.d.ts +3 -1
- package/dist/modules/modal/constants.d.ts.map +1 -1
- package/dist/modules/modal/{components/modal-container.d.ts → container.d.ts} +2 -2
- package/dist/modules/modal/container.d.ts.map +1 -0
- package/dist/modules/modal/context.d.ts +5 -1
- package/dist/modules/modal/context.d.ts.map +1 -1
- package/dist/modules/modal/dom.d.ts.map +1 -0
- package/dist/modules/modal/hooks.d.ts +3 -2
- package/dist/modules/modal/hooks.d.ts.map +1 -1
- package/dist/modules/modal/index.d.ts +7 -7
- package/dist/modules/modal/index.d.ts.map +1 -1
- package/dist/modules/modal/{model/layout.d.ts → layout.d.ts} +1 -1
- package/dist/modules/modal/layout.d.ts.map +1 -0
- package/dist/modules/modal/module.d.ts +1 -1
- package/dist/modules/modal/module.d.ts.map +1 -1
- package/dist/modules/modal/overlay.d.ts.map +1 -0
- package/dist/modules/modal/state.d.ts +52 -0
- package/dist/modules/modal/state.d.ts.map +1 -0
- package/dist/modules/navigation/hooks.d.ts.map +1 -1
- package/dist/modules/notification/hooks.d.ts.map +1 -1
- package/dist/modules/notification/overlay.d.ts +0 -1
- package/dist/modules/notification/overlay.d.ts.map +1 -1
- package/dist/navigation/index.js +33 -41
- package/dist/navigation/index.js.map +1 -1
- package/dist/notification/index.js +8 -7
- package/dist/overlay-ZCMQVNYT.js +12 -0
- package/dist/{overlay-7QLGWHCH.js.map → overlay-ZCMQVNYT.js.map} +1 -1
- package/dist/provider/index.js +7 -11
- package/dist/react/hooks/index.d.ts +3 -1
- package/dist/react/hooks/index.d.ts.map +1 -1
- package/dist/react/hooks/use-client-value.d.ts +15 -0
- package/dist/react/hooks/use-client-value.d.ts.map +1 -0
- package/dist/react/hooks/use-controllable-state.d.ts +8 -1
- package/dist/react/hooks/use-controllable-state.d.ts.map +1 -1
- package/dist/react/hooks/use-fullscreen-state.d.ts +0 -2
- package/dist/react/hooks/use-fullscreen-state.d.ts.map +1 -1
- package/dist/react/hooks/use-global-event.d.ts +7 -1
- package/dist/react/hooks/use-global-event.d.ts.map +1 -1
- package/dist/react/hooks/use-hotkey.d.ts +9 -1
- package/dist/react/hooks/use-hotkey.d.ts.map +1 -1
- package/dist/react/hooks/use-scroll-lock.d.ts.map +1 -1
- package/dist/react/hooks/use-store.d.ts +3 -0
- package/dist/react/hooks/use-store.d.ts.map +1 -1
- package/dist/react/theme/index.d.ts +7 -2
- package/dist/react/theme/index.d.ts.map +1 -1
- package/dist/react/theme/parts.d.ts +89 -0
- package/dist/react/theme/parts.d.ts.map +1 -0
- package/dist/recipes/index.js +6 -121
- package/dist/recipes/index.js.map +1 -1
- package/dist/result/index.js +12 -15
- package/dist/result/index.js.map +1 -1
- package/dist/theme/index.js +2 -2
- package/dist/utils/index.js +31 -34
- package/dist/utils/index.js.map +1 -1
- package/docs/README.md +11 -12
- package/docs/architecture-and-rules.md +43 -32
- package/docs/core-engine.md +11 -13
- package/docs/custom-modules.md +1 -1
- package/docs/design.md +60 -153
- package/docs/getting-started.md +3 -5
- package/docs/modules/README.md +16 -16
- package/docs/modules/ambient.md +23 -23
- package/docs/modules/background.md +24 -19
- package/docs/modules/context-menu.md +1 -1
- package/docs/modules/dock.md +47 -43
- package/docs/modules/error-boundary.md +2 -3
- package/docs/modules/kernel.md +28 -30
- package/docs/modules/loading.md +1 -1
- package/docs/modules/modal.md +17 -16
- package/docs/modules/navigation.md +14 -14
- package/docs/testing.md +1 -1
- package/package.json +1 -8
- package/templates/AGENTS.md +4 -3
- package/MIGRATION.md +0 -99
- package/dist/chunk-67MOKJFZ.js.map +0 -1
- package/dist/chunk-6IP6YFQX.js.map +0 -1
- package/dist/chunk-7VU2OAJB.js +0 -464
- package/dist/chunk-7VU2OAJB.js.map +0 -1
- package/dist/chunk-AZ2ZDFNP.js +0 -17
- package/dist/chunk-BMFHS3GV.js.map +0 -1
- package/dist/chunk-D222OCTV.js.map +0 -1
- package/dist/chunk-ESD5EQ5H.js +0 -178
- package/dist/chunk-ESD5EQ5H.js.map +0 -1
- package/dist/chunk-FFJWJ4OB.js.map +0 -1
- package/dist/chunk-GKAJ4EM2.js.map +0 -1
- package/dist/chunk-HFR6YROB.js.map +0 -1
- package/dist/chunk-IH3STE7W.js.map +0 -1
- package/dist/chunk-KOYTJW5E.js.map +0 -1
- package/dist/chunk-LKYW4LH6.js.map +0 -1
- package/dist/chunk-QGPRTUED.js.map +0 -1
- package/dist/chunk-QRXDXAQI.js.map +0 -1
- package/dist/chunk-R4K6VAOK.js.map +0 -1
- package/dist/chunk-RDYYP36I.js.map +0 -1
- package/dist/chunk-RGC2VFQO.js +0 -139
- package/dist/chunk-RGC2VFQO.js.map +0 -1
- package/dist/chunk-TAWTGCWJ.js +0 -113
- package/dist/chunk-TAWTGCWJ.js.map +0 -1
- package/dist/chunk-UDJ7ARCH.js +0 -140
- package/dist/chunk-UDJ7ARCH.js.map +0 -1
- package/dist/chunk-UQLTP3XB.js.map +0 -1
- package/dist/chunk-WQTMOUCA.js.map +0 -1
- package/dist/chunk-WZ5T2NXH.js +0 -702
- package/dist/chunk-WZ5T2NXH.js.map +0 -1
- package/dist/chunk-XGAYTDSI.js.map +0 -1
- package/dist/chunk-YZS2B6YE.js.map +0 -1
- package/dist/chunk-ZXRE2KZO.js.map +0 -1
- package/dist/core/error/theme.d.ts +0 -10
- package/dist/core/error/theme.d.ts.map +0 -1
- package/dist/core/kernel/adapters.d.ts.map +0 -1
- package/dist/core/kernel/compose.d.ts.map +0 -1
- package/dist/core/kernel/handlers.d.ts.map +0 -1
- package/dist/core/kernel/hooks.d.ts.map +0 -1
- package/dist/core/kernel/installed.d.ts.map +0 -1
- package/dist/core/kernel/module.d.ts.map +0 -1
- package/dist/core/kernel/operations-records.d.ts.map +0 -1
- package/dist/core/kernel/operations-resolve.d.ts +0 -5
- package/dist/core/kernel/operations-resolve.d.ts.map +0 -1
- package/dist/core/kernel/operations.d.ts.map +0 -1
- package/dist/core/kernel/page-controller.d.ts.map +0 -1
- package/dist/core/kernel/provider.d.ts.map +0 -1
- package/dist/core/kernel/runtime.d.ts.map +0 -1
- package/dist/core/kernel/schema.d.ts.map +0 -1
- package/dist/core/kernel/stabilize.d.ts.map +0 -1
- package/dist/core/kernel/store-batch.d.ts +0 -17
- package/dist/core/kernel/store-batch.d.ts.map +0 -1
- package/dist/core/kernel/store-entries.d.ts +0 -6
- package/dist/core/kernel/store-entries.d.ts.map +0 -1
- package/dist/core/kernel/store-handles.d.ts +0 -4
- package/dist/core/kernel/store-handles.d.ts.map +0 -1
- package/dist/core/kernel/store-registration.d.ts +0 -14
- package/dist/core/kernel/store-registration.d.ts.map +0 -1
- package/dist/core/kernel/store-snapshots.d.ts.map +0 -1
- package/dist/core/kernel/store-subscriptions.d.ts.map +0 -1
- package/dist/core/kernel/store.d.ts.map +0 -1
- package/dist/core/kernel/types-modules.d.ts.map +0 -1
- package/dist/core/kernel/types-page.d.ts.map +0 -1
- package/dist/core/kernel/types-store.d.ts.map +0 -1
- package/dist/core/kernel/types.d.ts.map +0 -1
- package/dist/core/navigation/navigator-defaults.d.ts +0 -4
- package/dist/core/navigation/navigator-defaults.d.ts.map +0 -1
- package/dist/core/navigation/navigator-holds.d.ts.map +0 -1
- package/dist/core/navigation/navigator-patience.d.ts.map +0 -1
- package/dist/core/navigation/navigator-payload.d.ts.map +0 -1
- package/dist/core/navigation/navigator-prefetch.d.ts.map +0 -1
- package/dist/foundation/recipes/anatomy.d.ts +0 -139
- package/dist/foundation/recipes/anatomy.d.ts.map +0 -1
- package/dist/foundation/recipes/define.d.ts +0 -133
- package/dist/foundation/recipes/define.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-bounds.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-clusters.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-ground.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-measures.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-swatches.d.ts.map +0 -1
- package/dist/modules/ambient/analyze.d.ts.map +0 -1
- package/dist/modules/ambient/oklab.d.ts.map +0 -1
- package/dist/modules/ambient/quantize.d.ts.map +0 -1
- package/dist/modules/background/components/background-gradients.d.ts +0 -8
- package/dist/modules/background/components/background-gradients.d.ts.map +0 -1
- package/dist/modules/background/components/edge-gradient.d.ts +0 -9
- package/dist/modules/background/components/edge-gradient.d.ts.map +0 -1
- package/dist/modules/background/components/native-video.d.ts +0 -4
- package/dist/modules/background/components/native-video.d.ts.map +0 -1
- package/dist/modules/background/components/noise-overlay.d.ts +0 -11
- package/dist/modules/background/components/noise-overlay.d.ts.map +0 -1
- package/dist/modules/background/components/overlay.d.ts.map +0 -1
- package/dist/modules/background/components/solid-overlay.d.ts +0 -10
- package/dist/modules/background/components/solid-overlay.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-media-source.d.ts +0 -4
- package/dist/modules/background/hooks/use-background-media-source.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-motion-model.d.ts +0 -15
- package/dist/modules/background/hooks/use-background-motion-model.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts +0 -929
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-native-video-model.d.ts.map +0 -1
- package/dist/modules/background/lib/theme.d.ts +0 -4
- package/dist/modules/background/lib/theme.d.ts.map +0 -1
- package/dist/modules/background/model/override.d.ts +0 -14
- package/dist/modules/background/model/override.d.ts.map +0 -1
- package/dist/modules/background/model/playback.d.ts.map +0 -1
- package/dist/modules/background/model/state.d.ts.map +0 -1
- package/dist/modules/background/model/video-frame.d.ts +0 -31
- package/dist/modules/background/model/video-frame.d.ts.map +0 -1
- package/dist/modules/background/model/visual.d.ts.map +0 -1
- package/dist/modules/background/youtube/components/player.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-background-player-model.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts +0 -20
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts +0 -8
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-video-sync.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/audio.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts +0 -29
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts +0 -47
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe.d.ts +0 -47
- package/dist/modules/background/youtube/lib/iframe.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/parse.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/timing.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/video-events.d.ts.map +0 -1
- package/dist/modules/dock/components/badge.d.ts +0 -5
- package/dist/modules/dock/components/badge.d.ts.map +0 -1
- package/dist/modules/dock/components/breadcrumbs-card.d.ts.map +0 -1
- package/dist/modules/dock/components/card-banner.d.ts +0 -4
- package/dist/modules/dock/components/card-banner.d.ts.map +0 -1
- package/dist/modules/dock/components/card-header.d.ts +0 -4
- package/dist/modules/dock/components/card-header.d.ts.map +0 -1
- package/dist/modules/dock/components/card-item.d.ts.map +0 -1
- package/dist/modules/dock/components/command-bar.d.ts.map +0 -1
- package/dist/modules/dock/components/compact.d.ts.map +0 -1
- package/dist/modules/dock/components/description.d.ts +0 -4
- package/dist/modules/dock/components/description.d.ts.map +0 -1
- package/dist/modules/dock/components/dock.d.ts.map +0 -1
- package/dist/modules/dock/components/hud-view.d.ts.map +0 -1
- package/dist/modules/dock/components/icon.d.ts.map +0 -1
- package/dist/modules/dock/components/item-content.d.ts.map +0 -1
- package/dist/modules/dock/components/media-action.d.ts.map +0 -1
- package/dist/modules/dock/components/media-controls.d.ts +0 -4
- package/dist/modules/dock/components/media-controls.d.ts.map +0 -1
- package/dist/modules/dock/components/media-scrubber.d.ts.map +0 -1
- package/dist/modules/dock/components/status-actions.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/action.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/controls.d.ts +0 -12
- package/dist/modules/dock/components/surface/controls.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/extensions-bar.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/header-button.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/item-content.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/shell.d.ts +0 -3
- package/dist/modules/dock/components/surface/shell.d.ts.map +0 -1
- package/dist/modules/dock/components/title.d.ts +0 -4
- package/dist/modules/dock/components/title.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-action-slot.d.ts +0 -6
- package/dist/modules/dock/hooks/use-action-slot.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-badge.d.ts +0 -4
- package/dist/modules/dock/hooks/use-badge.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts +0 -18
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-card-header-model.d.ts +0 -7
- package/dist/modules/dock/hooks/use-card-header-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts +0 -12
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-banner.d.ts +0 -11
- package/dist/modules/dock/hooks/use-dock-banner.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-config.d.ts +0 -19
- package/dist/modules/dock/hooks/use-dock-config.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts +0 -7
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts +0 -7
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts +0 -11
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-registration.d.ts +0 -8
- package/dist/modules/dock/hooks/use-dock-registration.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts +0 -2
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-theme.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-theme.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-element-height.d.ts +0 -3
- package/dist/modules/dock/hooks/use-element-height.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-hud-registry.d.ts +0 -16
- package/dist/modules/dock/hooks/use-hud-registry.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts +0 -9
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-media-controls-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts +0 -27
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-pending-skeleton.d.ts +0 -7
- package/dist/modules/dock/hooks/use-pending-skeleton.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts +0 -12
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-surface-return.d.ts +0 -8
- package/dist/modules/dock/hooks/use-surface-return.d.ts.map +0 -1
- package/dist/modules/dock/hud.d.ts.map +0 -1
- package/dist/modules/dock/lib/banner.d.ts.map +0 -1
- package/dist/modules/dock/lib/card-item.d.ts.map +0 -1
- package/dist/modules/dock/lib/card.d.ts +0 -20
- package/dist/modules/dock/lib/card.d.ts.map +0 -1
- package/dist/modules/dock/lib/command-bar.d.ts +0 -8
- package/dist/modules/dock/lib/command-bar.d.ts.map +0 -1
- package/dist/modules/dock/lib/dom.d.ts +0 -7
- package/dist/modules/dock/lib/dom.d.ts.map +0 -1
- package/dist/modules/dock/lib/element-helpers.d.ts +0 -8
- package/dist/modules/dock/lib/element-helpers.d.ts.map +0 -1
- package/dist/modules/dock/lib/helpers.d.ts.map +0 -1
- package/dist/modules/dock/lib/media.d.ts.map +0 -1
- package/dist/modules/dock/lib/styles.d.ts.map +0 -1
- package/dist/modules/dock/model/hud-definition.d.ts.map +0 -1
- package/dist/modules/dock/model/hud.d.ts +0 -10
- package/dist/modules/dock/model/hud.d.ts.map +0 -1
- package/dist/modules/dock/model/layout.d.ts.map +0 -1
- package/dist/modules/dock/model/page-entry.d.ts +0 -11
- package/dist/modules/dock/model/page-entry.d.ts.map +0 -1
- package/dist/modules/dock/model/page-surface.d.ts +0 -4
- package/dist/modules/dock/model/page-surface.d.ts.map +0 -1
- package/dist/modules/dock/model/paths.d.ts.map +0 -1
- package/dist/modules/dock/model/state.d.ts +0 -28
- package/dist/modules/dock/model/state.d.ts.map +0 -1
- package/dist/modules/dock/model/surface-return.d.ts +0 -14
- package/dist/modules/dock/model/surface-return.d.ts.map +0 -1
- package/dist/modules/dock/routing/hooks/use-route-prefetch.d.ts.map +0 -1
- package/dist/modules/dock/routing/lib/restore.d.ts +0 -7
- package/dist/modules/dock/routing/lib/restore.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/continuity.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/policy.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/topology.d.ts.map +0 -1
- package/dist/modules/dock/runtime/commands.d.ts.map +0 -1
- package/dist/modules/dock/runtime/display.d.ts.map +0 -1
- package/dist/modules/dock/runtime/dock.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts +0 -10
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts +0 -10
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts +0 -14
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts +0 -7
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/attention.d.ts +0 -25
- package/dist/modules/dock/runtime/model/attention.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/cards.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/items.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/layout.d.ts +0 -10
- package/dist/modules/dock/runtime/model/layout.d.ts.map +0 -1
- package/dist/modules/dock/runtime/pipeline.d.ts.map +0 -1
- package/dist/modules/dock/runtime/provider-actions.d.ts +0 -38
- package/dist/modules/dock/runtime/provider-actions.d.ts.map +0 -1
- package/dist/modules/dock/status/action-options.d.ts +0 -35
- package/dist/modules/dock/status/action-options.d.ts.map +0 -1
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts +0 -5
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts.map +0 -1
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts +0 -7
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts.map +0 -1
- package/dist/modules/dock/surface/constants.d.ts +0 -5
- package/dist/modules/dock/surface/constants.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts +0 -15
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts +0 -7
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts +0 -14
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-flow.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts +0 -13
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-shell-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/lib/drag.d.ts +0 -9
- package/dist/modules/dock/surface/lib/drag.d.ts.map +0 -1
- package/dist/modules/dock/surface/lib/target.d.ts +0 -8
- package/dist/modules/dock/surface/lib/target.d.ts.map +0 -1
- package/dist/modules/dock/surface/machine.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/builder.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/normalize.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/open.d.ts +0 -26
- package/dist/modules/dock/surface/model/open.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/records.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/steps.d.ts +0 -9
- package/dist/modules/dock/surface/model/steps.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/transition-state.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/url.d.ts.map +0 -1
- package/dist/modules/dock/surface/runtime/context.d.ts +0 -29
- package/dist/modules/dock/surface/runtime/context.d.ts.map +0 -1
- package/dist/modules/dock/surface/runtime/release.d.ts +0 -9
- package/dist/modules/dock/surface/runtime/release.d.ts.map +0 -1
- package/dist/modules/dock/surface/stack.d.ts.map +0 -1
- package/dist/modules/dock/types/compact.d.ts +0 -13
- package/dist/modules/dock/types/compact.d.ts.map +0 -1
- package/dist/modules/modal/components/close-button.d.ts +0 -6
- package/dist/modules/modal/components/close-button.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-container.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-layer-switcher.d.ts +0 -9
- package/dist/modules/modal/components/modal-layer-switcher.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-layer.d.ts +0 -17
- package/dist/modules/modal/components/modal-layer.d.ts.map +0 -1
- package/dist/modules/modal/components/overlay.d.ts.map +0 -1
- package/dist/modules/modal/components/resolve-header.d.ts +0 -10
- package/dist/modules/modal/components/resolve-header.d.ts.map +0 -1
- package/dist/modules/modal/components/slot-row.d.ts +0 -12
- package/dist/modules/modal/components/slot-row.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts +0 -3
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts +0 -12
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts +0 -3
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts.map +0 -1
- package/dist/modules/modal/lib/dom.d.ts.map +0 -1
- package/dist/modules/modal/lib/theme.d.ts +0 -4
- package/dist/modules/modal/lib/theme.d.ts.map +0 -1
- package/dist/modules/modal/model/entry.d.ts +0 -18
- package/dist/modules/modal/model/entry.d.ts.map +0 -1
- package/dist/modules/modal/model/header.d.ts +0 -16
- package/dist/modules/modal/model/header.d.ts.map +0 -1
- package/dist/modules/modal/model/identity.d.ts +0 -13
- package/dist/modules/modal/model/identity.d.ts.map +0 -1
- package/dist/modules/modal/model/layout.d.ts.map +0 -1
- package/dist/modules/modal/model/state.d.ts +0 -10
- package/dist/modules/modal/model/state.d.ts.map +0 -1
- package/dist/overlay-7QLGWHCH.js +0 -13
- package/dist/react/hooks/types.d.ts +0 -25
- package/dist/react/hooks/types.d.ts.map +0 -1
- package/dist/react/ui/components/avatar.d.ts +0 -6
- package/dist/react/ui/components/avatar.d.ts.map +0 -1
- package/dist/react/ui/components/button.d.ts +0 -6
- package/dist/react/ui/components/button.d.ts.map +0 -1
- package/dist/react/ui/components/carousel.d.ts +0 -6
- package/dist/react/ui/components/carousel.d.ts.map +0 -1
- package/dist/react/ui/components/checkbox.d.ts +0 -10
- package/dist/react/ui/components/checkbox.d.ts.map +0 -1
- package/dist/react/ui/components/icon.d.ts +0 -6
- package/dist/react/ui/components/icon.d.ts.map +0 -1
- package/dist/react/ui/components/image.d.ts +0 -6
- package/dist/react/ui/components/image.d.ts.map +0 -1
- package/dist/react/ui/components/indicator.d.ts +0 -45
- package/dist/react/ui/components/indicator.d.ts.map +0 -1
- package/dist/react/ui/components/input.d.ts +0 -10
- package/dist/react/ui/components/input.d.ts.map +0 -1
- package/dist/react/ui/components/loader.d.ts +0 -10
- package/dist/react/ui/components/loader.d.ts.map +0 -1
- package/dist/react/ui/components/segmented.d.ts +0 -6
- package/dist/react/ui/components/segmented.d.ts.map +0 -1
- package/dist/react/ui/components/select-parts.d.ts +0 -22
- package/dist/react/ui/components/select-parts.d.ts.map +0 -1
- package/dist/react/ui/components/select.d.ts +0 -6
- package/dist/react/ui/components/select.d.ts.map +0 -1
- package/dist/react/ui/components/skeleton.d.ts +0 -10
- package/dist/react/ui/components/skeleton.d.ts.map +0 -1
- package/dist/react/ui/components/switch.d.ts +0 -6
- package/dist/react/ui/components/switch.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-group.d.ts +0 -34
- package/dist/react/ui/components/tooltip-group.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-placement.d.ts +0 -43
- package/dist/react/ui/components/tooltip-placement.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-slot.d.ts +0 -23
- package/dist/react/ui/components/tooltip-slot.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip.d.ts +0 -13
- package/dist/react/ui/components/tooltip.d.ts.map +0 -1
- package/dist/react/ui/index.d.ts +0 -19
- package/dist/react/ui/index.d.ts.map +0 -1
- package/dist/react/ui/provider.d.ts +0 -22
- package/dist/react/ui/provider.d.ts.map +0 -1
- package/dist/react/ui/types-controls.d.ts +0 -133
- package/dist/react/ui/types-controls.d.ts.map +0 -1
- package/dist/react/ui/types.d.ts +0 -213
- package/dist/react/ui/types.d.ts.map +0 -1
- package/dist/react/ui/utils.d.ts +0 -65
- package/dist/react/ui/utils.d.ts.map +0 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.js +0 -2268
- package/dist/ui/index.js.map +0 -1
- package/docs/proposals/navigation.md +0 -210
- /package/dist/modules/ambient/{quantize.d.ts → analysis/quantize.d.ts} +0 -0
- /package/dist/modules/background/{components/overlay.d.ts → overlay.d.ts} +0 -0
- /package/dist/modules/background/{model/playback.d.ts → playback.d.ts} +0 -0
- /package/dist/modules/background/youtube/{lib/audio.d.ts → audio.d.ts} +0 -0
- /package/dist/modules/dock/{components → card}/compact.d.ts +0 -0
- /package/dist/modules/dock/{components → commands}/command-bar.d.ts +0 -0
- /package/dist/modules/dock/{components → routing}/breadcrumbs-card.d.ts +0 -0
- /package/dist/modules/dock/{model → routing}/paths.d.ts +0 -0
- /package/dist/modules/dock/{components → stack}/dock.d.ts +0 -0
- /package/dist/modules/dock/surface/{model → runtime}/url.d.ts +0 -0
- /package/dist/modules/modal/{lib/dom.d.ts → dom.d.ts} +0 -0
- /package/dist/modules/modal/{components/overlay.d.ts → overlay.d.ts} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import type { DockCardItemProps } from "../types";
|
|
2
|
-
export declare function DockCardItem({ ref, activeItem, onContentHeightChange, isStackHovered, onMouseEnter, onMouseLeave, expanded, hasExtensions, position, onClick, isTop, item: propItem, link, isActive, statusStyle, isStatusActive, isHudActive, isSurfaceActive, hud, clearHud, contextCommands, compact, }: DockCardItemProps
|
|
3
|
-
|
|
2
|
+
export declare function DockCardItem({ ref, activeItem, onContentHeightChange, isStackHovered, onMouseEnter, onMouseLeave, expanded, hasExtensions, position, onClick, isTop, item: propItem, link, isActive, statusStyle, isStatusActive, isHudActive, isSurfaceActive, hud, clearHud, contextCommands, compact, contentWidth, }: DockCardItemProps & {
|
|
3
|
+
/** Inner width of the full card: the standard content keeps it, centred. */
|
|
4
|
+
contentWidth?: number | null;
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/card.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAOlD,wBAAgB,YAAY,CAAC,EAC3B,GAAG,EACH,UAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,aAAqB,EACrB,QAAQ,EACR,OAAO,EACP,KAAa,EACb,IAAI,EAAE,QAAQ,EACd,IAAI,EACJ,QAAgB,EAChB,WAAkB,EAClB,cAAsB,EACtB,WAAmB,EACnB,eAAuB,EACvB,GAAU,EACV,QAAe,EACf,eAAoB,EACpB,OAAc,EACd,YAAmB,GACpB,EAAE,iBAAiB,GAAG;IACrB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,+BAmTA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compact.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/compact.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAY,MAAM,UAAU,CAAC;AAqB3D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAa,EACb,UAAU,EACV,eAAe,EACf,aAAa,GACd,EAAE,gBAAgB,+BAoFlB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { StandardItemContentProps } from "../types";
|
|
2
2
|
export declare function LoadingItemContent(): import("react").JSX.Element;
|
|
3
3
|
export declare function StandardItemContent({ item: propItem, link, activeItem, isTop, itemStyle, badge, isActive, footerNode, isActionDismissed, isHudActive, hud, clearHud, contextCommands, pathname, }: StandardItemContentProps): import("react").JSX.Element;
|
|
4
|
-
//# sourceMappingURL=
|
|
4
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/content.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAQzD,wBAAgB,kBAAkB,gCAcjC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EAAE,QAAQ,EACd,IAAI,EACJ,UAAiB,EACjB,KAAa,EACb,SAAS,EACT,KAAK,EACL,QAAgB,EAChB,UAAU,EACV,iBAAyB,EACzB,WAAmB,EACnB,GAAU,EACV,QAAe,EACf,eAAoB,EACpB,QAAQ,GACT,EAAE,wBAAwB,+BA0H1B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DockCardHeaderProps, DockDescriptionProps, DockTitleProps } from "../types";
|
|
2
|
+
/** Header row of a dock card: icon, title, description and the command bar. */
|
|
3
|
+
export declare function DockCardHeader({ item: propItem, link, activeItem, itemStyle, badge, showVideoIcon, isPlaying, effectiveIconOverlay, isIconInteractive, handleIconClick, description, isTop, contextCommands, isSkeleton, }: DockCardHeaderProps): import("react").JSX.Element;
|
|
4
|
+
/** Primary title text in a dock card, with an optional enter/exit animation. */
|
|
5
|
+
export declare function DockTitle({ text, style, animated }: DockTitleProps): import("react").JSX.Element;
|
|
6
|
+
/** Secondary line of text in a dock card, with an optional enter/exit animation. */
|
|
7
|
+
export declare function DockDescription({ text, style, maxLines, animated, }: DockDescriptionProps): import("react").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/header.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACf,MAAM,UAAU,CAAC;AAwBlB,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EAAE,QAAQ,EACd,IAAI,EACJ,UAAiB,EACjB,SAAS,EACT,KAAK,EACL,aAAqB,EACrB,SAAiB,EACjB,oBAA2B,EAC3B,iBAAyB,EACzB,eAAe,EACf,WAAW,EACX,KAAa,EACb,eAAoB,EACpB,UAAkB,GACnB,EAAE,mBAAmB,+BA4HrB;AAoBD,gFAAgF;AAChF,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAe,EAAE,EAAE,cAAc,+BAsCzE;AAED,oFAAoF;AACpF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,KAAK,EACL,QAAY,EACZ,QAAe,GAChB,EAAE,oBAAoB,sCAoDtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
2
|
import type { DockIconProps, DockIconSource } from "../types";
|
|
3
3
|
/** Icon slot for a dock card; accepts an icon name, image URL or node, plus an overlay. */
|
|
4
4
|
export declare function DockIcon({ icon, iconOverlay, style, onClick, ariaLabel, animated, }: DockIconProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/icon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAEV,aAAa,EACb,cAAc,EACf,MAAM,UAAU,CAAC;AAsElB,2FAA2F;AAC3F,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,WAAkB,EAClB,KAAK,EACL,OAAc,EACd,SAAqB,EACrB,QAAe,GAChB,EAAE,aAAa,+BAyDf;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAM5E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type SyntheticEvent } from "react";
|
|
2
|
+
import type { DockDeckStacking, DockItem, DockSlotContent, DockTheme, DockVisualStyle, DockVisualStyleInput } from "../types";
|
|
2
3
|
/** Layers an item's own style over a status style, section by section. */
|
|
3
4
|
export declare function mergeStatusStyle(itemStyle: DockVisualStyleInput | null | undefined, statusStyle: DockVisualStyleInput | null | undefined): DockVisualStyleInput | null | undefined;
|
|
4
5
|
/** Adds the theme's status class names to each section of a resolved style. */
|
|
@@ -50,4 +51,21 @@ export declare function isDockCardPeeking({ expanded, isStackHovered, isSurfaceA
|
|
|
50
51
|
isSurfaceActive?: boolean;
|
|
51
52
|
position?: number;
|
|
52
53
|
}): boolean;
|
|
53
|
-
|
|
54
|
+
export declare function isSurfaceLayerShown(item: Pick<DockItem, "isSurface" | "surfacePhase"> | null | undefined): boolean;
|
|
55
|
+
export declare const stopAndPrevent: (event: SyntheticEvent) => void;
|
|
56
|
+
export declare const stopPropagationOnly: (event: SyntheticEvent) => void;
|
|
57
|
+
export declare function shouldShowMediaIcon({ isActive, hasMedia, isStatus, }: {
|
|
58
|
+
isActive?: boolean;
|
|
59
|
+
hasMedia?: boolean;
|
|
60
|
+
isStatus?: boolean;
|
|
61
|
+
}): boolean;
|
|
62
|
+
export type DockActionSlot = {
|
|
63
|
+
kind: "media";
|
|
64
|
+
} | {
|
|
65
|
+
kind: "action";
|
|
66
|
+
action: DockSlotContent;
|
|
67
|
+
} | null;
|
|
68
|
+
export declare function ownsPathname(path: string | null | undefined, pathname: string): boolean;
|
|
69
|
+
/** True when an action slot holds something React can render (element or component). */
|
|
70
|
+
export declare function isRenderableAction(action: DockSlotContent | undefined): boolean;
|
|
71
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5D,OAAO,KAAK,EACV,gBAAgB,EAChB,QAAQ,EACR,eAAe,EACf,SAAS,EACT,eAAe,EACf,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAQlB,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,EAClD,WAAW,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,2CAYrD;AAED,+EAA+E;AAC/E,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,GACxB,eAAe,CAoBjB;AAED,+EAA+E;AAC/E,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,GACtC,OAAO,CAKT;AAED,kFAAkF;AAClF,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,aAAa,EACb,cAAc,EACd,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,GAAG,MAAM,CAIT;AAED,oFAAoF;AACpF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,GACtC,OAAO,CAMT;AAED,0FAA0F;AAC1F,wBAAgB,oBAAoB,CAAC,EACnC,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,QAAQ,EACR,WAAW,EACX,cAAc,EACd,eAAe,EACf,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,GACZ,EAAE;IACD,UAAU,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACtB;;;;;;;EAoCA;AAED,4EAA4E;AAC5E,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,OAAO,GAAG,SAAS,EAC7B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,OAAO,EACtB,QAAQ,EAAE,gBAAgB;;;;EAY3B;AAED,wFAAwF;AACxF,wBAAgB,iBAAiB,CAAC,EAChC,QAAgB,EAChB,cAAsB,EACtB,eAAuB,EACvB,QAAY,GACb,EAAE;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,WAOA;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,WAAW,GAAG,cAAc,CAAC,GAAG,IAAI,GAAG,SAAS,GACpE,OAAO,CAIT;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,cAAc,SAGnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,cAAc,SAExD,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,QAAQ,EACR,QAAgB,GACjB,EAAE;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,OAAO,CAEV;AAED,MAAM,MAAM,cAAc,GACxB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,GAAG,IAAI,CAAC;AAEzE,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC/B,QAAQ,EAAE,MAAM,WAGjB;AAED,wFAAwF;AACxF,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,eAAe,GAAG,SAAS,GAClC,OAAO,CAET"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type KeyboardEvent, type UIEvent } from "react";
|
|
2
|
-
import type { DockCardItemProps } from "../types";
|
|
2
|
+
import type { DockBadgeState, DockCardItemProps, DockItem } from "../types";
|
|
3
|
+
import { type DockActionSlot } from "./model";
|
|
3
4
|
export declare function useDockCardItemModel({ activeItem, onContentHeightChange, isStackHovered, onMouseEnter, onMouseLeave, expanded, hasExtensions, position, onClick, isTop, item: propItem, link, isActive, statusStyle, isStatusActive, isHudActive, isSurfaceActive, hud, }: DockCardItemProps): {
|
|
4
|
-
item:
|
|
5
|
+
item: DockItem;
|
|
5
6
|
pathname: string;
|
|
6
7
|
isTopHudActive: boolean;
|
|
7
8
|
isCurrentActive: boolean;
|
|
@@ -9,10 +10,10 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
9
10
|
isCurrentStatus: boolean;
|
|
10
11
|
isCurrentSurface: boolean;
|
|
11
12
|
showVideoScrubber: boolean;
|
|
12
|
-
badge:
|
|
13
|
+
badge: DockBadgeState;
|
|
13
14
|
cardContentRef: import("react").RefObject<HTMLDivElement | null>;
|
|
14
15
|
itemStyle: import("..").DockVisualStyle;
|
|
15
|
-
renderedActionSlot:
|
|
16
|
+
renderedActionSlot: DockActionSlot;
|
|
16
17
|
isActionDismissed: boolean;
|
|
17
18
|
showsSurfaceLayer: boolean;
|
|
18
19
|
hasNestedInteractiveContent: boolean;
|
|
@@ -55,9 +56,12 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
55
56
|
left?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
56
57
|
right?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
57
58
|
page?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
59
|
+
translate?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
60
|
+
grid?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
61
|
+
all?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
62
|
+
clear?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
58
63
|
appearance?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
59
64
|
bottom?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
60
|
-
clear?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
61
65
|
columns?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
62
66
|
container?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
63
67
|
cursor?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -77,19 +81,8 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
77
81
|
stroke?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
78
82
|
top?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
79
83
|
transform?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
80
|
-
translate?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
81
84
|
visibility?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
82
85
|
zoom?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
83
|
-
height?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
84
|
-
maxHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
85
|
-
minHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
86
|
-
all?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
87
|
-
contain?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
88
|
-
grid?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
89
|
-
clip?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
90
|
-
border?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
91
|
-
padding?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
92
|
-
pointerEvents?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
93
86
|
accentColor?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
94
87
|
alignContent?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
95
88
|
alignItems?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -121,6 +114,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
121
114
|
baselineShift?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
122
115
|
baselineSource?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
123
116
|
blockSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
117
|
+
border?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
124
118
|
borderBlock?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
125
119
|
borderBlockColor?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
126
120
|
borderBlockEnd?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -189,6 +183,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
189
183
|
breakInside?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
190
184
|
captionSide?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
191
185
|
caretColor?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
186
|
+
clip?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
192
187
|
clipRule?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
193
188
|
colorInterpolation?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
194
189
|
colorInterpolationFilters?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -202,6 +197,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
202
197
|
columnRuleWidth?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
203
198
|
columnSpan?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
204
199
|
columnWidth?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
200
|
+
contain?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
205
201
|
containIntrinsicBlockSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
206
202
|
containIntrinsicHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
207
203
|
containIntrinsicInlineSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -270,6 +266,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
270
266
|
gridTemplateAreas?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
271
267
|
gridTemplateColumns?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
272
268
|
gridTemplateRows?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
269
|
+
height?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
273
270
|
hyphenateCharacter?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
274
271
|
hyphenateLimitChars?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
275
272
|
imageOrientation?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -318,9 +315,11 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
318
315
|
mathDepth?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
319
316
|
mathStyle?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
320
317
|
maxBlockSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
318
|
+
maxHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
321
319
|
maxInlineSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
322
320
|
maxWidth?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
323
321
|
minBlockSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
322
|
+
minHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
324
323
|
minInlineSize?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
325
324
|
minWidth?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
326
325
|
mixBlendMode?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -350,6 +349,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
350
349
|
overscrollBehaviorInline?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
351
350
|
overscrollBehaviorX?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
352
351
|
overscrollBehaviorY?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
352
|
+
padding?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
353
353
|
paddingBlock?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
354
354
|
paddingBlockEnd?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
355
355
|
paddingBlockStart?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -368,6 +368,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
368
368
|
placeContent?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
369
369
|
placeItems?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
370
370
|
placeSelf?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
371
|
+
pointerEvents?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
371
372
|
printColorAdjust?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
372
373
|
quotes?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
373
374
|
r?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -545,26 +546,17 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
545
546
|
string?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
546
547
|
values?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
547
548
|
path?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
549
|
+
to?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
548
550
|
end?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
549
551
|
radius?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
550
552
|
spacing?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
551
|
-
href?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
552
|
-
preserveAspectRatio?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
553
|
-
mode?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
554
|
-
alphabetic?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
555
|
-
ideographic?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
556
|
-
mathematical?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
557
|
-
accumulate?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
558
|
-
local?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
559
|
-
hanging?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
560
|
-
unicode?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
561
|
-
origin?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
562
|
-
to?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
563
553
|
direction?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
564
554
|
pathLength?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
565
555
|
accentHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
556
|
+
accumulate?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
566
557
|
additive?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
567
558
|
allowReorder?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
559
|
+
alphabetic?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
568
560
|
amplitude?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
569
561
|
arabicForm?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
570
562
|
ascent?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -612,8 +604,11 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
612
604
|
glyphRef?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
613
605
|
gradientTransform?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
614
606
|
gradientUnits?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
607
|
+
hanging?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
615
608
|
horizAdvX?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
616
609
|
horizOriginX?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
610
|
+
href?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
611
|
+
ideographic?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
617
612
|
in2?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
618
613
|
in?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
619
614
|
intercept?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -630,15 +625,19 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
630
625
|
keyTimes?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
631
626
|
lengthAdjust?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
632
627
|
limitingConeAngle?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
628
|
+
local?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
633
629
|
markerHeight?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
634
630
|
markerUnits?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
635
631
|
markerWidth?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
636
632
|
maskContentUnits?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
637
633
|
maskUnits?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
634
|
+
mathematical?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
635
|
+
mode?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
638
636
|
numOctaves?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
639
637
|
operator?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
640
638
|
orient?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
641
639
|
orientation?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
640
|
+
origin?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
642
641
|
overlinePosition?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
643
642
|
overlineThickness?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
644
643
|
panose1?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -650,6 +649,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
650
649
|
pointsAtY?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
651
650
|
pointsAtZ?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
652
651
|
preserveAlpha?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
652
|
+
preserveAspectRatio?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
653
653
|
primitiveUnits?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
654
654
|
refX?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
655
655
|
refY?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -683,6 +683,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
683
683
|
u2?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
684
684
|
underlinePosition?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
685
685
|
underlineThickness?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
686
|
+
unicode?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
686
687
|
unicodeRange?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
687
688
|
unitsPerEm?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
688
689
|
vAlphabetic?: import("motion-dom").ValueKeyframesDefinition | undefined;
|
|
@@ -770,11 +771,14 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
770
771
|
left?: import("csstype").Property.Left<string | number> | undefined;
|
|
771
772
|
right?: import("csstype").Property.Right<string | number> | undefined;
|
|
772
773
|
page?: import("csstype").Property.Page | undefined;
|
|
774
|
+
translate?: import("csstype").Property.Translate<string | number> | undefined;
|
|
775
|
+
grid?: import("csstype").Property.Grid | undefined;
|
|
776
|
+
all?: import("csstype").Property.All | undefined;
|
|
773
777
|
motion?: import("csstype").Property.Offset<string | number> | undefined;
|
|
774
778
|
transition?: import("csstype").Property.Transition<string & {}> | undefined;
|
|
779
|
+
clear?: import("csstype").Property.Clear | undefined;
|
|
775
780
|
appearance?: import("csstype").Property.Appearance | undefined;
|
|
776
781
|
bottom?: import("csstype").Property.Bottom<string | number> | undefined;
|
|
777
|
-
clear?: import("csstype").Property.Clear | undefined;
|
|
778
782
|
columns?: import("csstype").Property.Columns<string | number> | undefined;
|
|
779
783
|
container?: import("csstype").Property.Container | undefined;
|
|
780
784
|
cursor?: import("csstype").Property.Cursor | undefined;
|
|
@@ -791,20 +795,8 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
791
795
|
rotate?: import("csstype").Property.Rotate | undefined;
|
|
792
796
|
stroke?: import("csstype").Property.Stroke | undefined;
|
|
793
797
|
top?: import("csstype").Property.Top<string | number> | undefined;
|
|
794
|
-
translate?: import("csstype").Property.Translate<string | number> | undefined;
|
|
795
798
|
visibility?: import("csstype").Property.Visibility | undefined;
|
|
796
799
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
797
|
-
maxHeight?: import("csstype").Property.MaxHeight<string | number> | undefined;
|
|
798
|
-
minHeight?: import("csstype").Property.MinHeight<string | number> | undefined;
|
|
799
|
-
all?: import("csstype").Property.All | undefined;
|
|
800
|
-
contain?: import("csstype").Property.Contain | undefined;
|
|
801
|
-
grid?: import("csstype").Property.Grid | undefined;
|
|
802
|
-
clip?: import("csstype").Property.Clip | undefined;
|
|
803
|
-
x?: import("csstype").Property.X<string | number> | undefined;
|
|
804
|
-
y?: import("csstype").Property.Y<string | number> | undefined;
|
|
805
|
-
caret?: import("csstype").Property.Caret | undefined;
|
|
806
|
-
border?: import("csstype").Property.Border<string | number> | undefined;
|
|
807
|
-
padding?: import("csstype").Property.Padding<string | number> | undefined;
|
|
808
800
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
809
801
|
alignContent?: import("csstype").Property.AlignContent | undefined;
|
|
810
802
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
@@ -834,6 +826,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
834
826
|
backgroundSize?: import("csstype").Property.BackgroundSize<string | number> | undefined;
|
|
835
827
|
baselineShift?: import("csstype").Property.BaselineShift<string | number> | undefined;
|
|
836
828
|
blockSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
829
|
+
border?: import("csstype").Property.Border<string | number> | undefined;
|
|
837
830
|
borderBlock?: import("csstype").Property.BorderBlock<string | number> | undefined;
|
|
838
831
|
borderBlockColor?: import("csstype").Property.BorderBlockColor | undefined;
|
|
839
832
|
borderBlockEnd?: import("csstype").Property.BorderBlockEnd<string | number> | undefined;
|
|
@@ -902,6 +895,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
902
895
|
breakInside?: import("csstype").Property.BreakInside | undefined;
|
|
903
896
|
captionSide?: import("csstype").Property.CaptionSide | undefined;
|
|
904
897
|
caretColor?: import("csstype").Property.CaretColor | undefined;
|
|
898
|
+
clip?: import("csstype").Property.Clip | undefined;
|
|
905
899
|
clipRule?: import("csstype").Property.ClipRule | undefined;
|
|
906
900
|
colorInterpolation?: import("csstype").Property.ColorInterpolation | undefined;
|
|
907
901
|
colorInterpolationFilters?: import("csstype").Property.ColorInterpolationFilters | undefined;
|
|
@@ -915,6 +909,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
915
909
|
columnRuleWidth?: import("csstype").Property.ColumnRuleWidth<string | number> | undefined;
|
|
916
910
|
columnSpan?: import("csstype").Property.ColumnSpan | undefined;
|
|
917
911
|
columnWidth?: import("csstype").Property.ColumnWidth<string | number> | undefined;
|
|
912
|
+
contain?: import("csstype").Property.Contain | undefined;
|
|
918
913
|
containIntrinsicBlockSize?: import("csstype").Property.ContainIntrinsicBlockSize<string | number> | undefined;
|
|
919
914
|
containIntrinsicHeight?: import("csstype").Property.ContainIntrinsicHeight<string | number> | undefined;
|
|
920
915
|
containIntrinsicInlineSize?: import("csstype").Property.ContainIntrinsicInlineSize<string | number> | undefined;
|
|
@@ -1030,9 +1025,11 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
1030
1025
|
mathDepth?: import("csstype").Property.MathDepth | undefined;
|
|
1031
1026
|
mathStyle?: import("csstype").Property.MathStyle | undefined;
|
|
1032
1027
|
maxBlockSize?: import("csstype").Property.MaxBlockSize<string | number> | undefined;
|
|
1028
|
+
maxHeight?: import("csstype").Property.MaxHeight<string | number> | undefined;
|
|
1033
1029
|
maxInlineSize?: import("csstype").Property.MaxInlineSize<string | number> | undefined;
|
|
1034
1030
|
maxWidth?: import("csstype").Property.MaxWidth<string | number> | undefined;
|
|
1035
1031
|
minBlockSize?: import("csstype").Property.MinBlockSize<string | number> | undefined;
|
|
1032
|
+
minHeight?: import("csstype").Property.MinHeight<string | number> | undefined;
|
|
1036
1033
|
minInlineSize?: import("csstype").Property.MinInlineSize<string | number> | undefined;
|
|
1037
1034
|
minWidth?: import("csstype").Property.MinWidth<string | number> | undefined;
|
|
1038
1035
|
mixBlendMode?: import("csstype").Property.MixBlendMode | undefined;
|
|
@@ -1062,6 +1059,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
1062
1059
|
overscrollBehaviorInline?: import("csstype").Property.OverscrollBehaviorInline | undefined;
|
|
1063
1060
|
overscrollBehaviorX?: import("csstype").Property.OverscrollBehaviorX | undefined;
|
|
1064
1061
|
overscrollBehaviorY?: import("csstype").Property.OverscrollBehaviorY | undefined;
|
|
1062
|
+
padding?: import("csstype").Property.Padding<string | number> | undefined;
|
|
1065
1063
|
paddingBlock?: import("csstype").Property.PaddingBlock<string | number> | undefined;
|
|
1066
1064
|
paddingBlockEnd?: import("csstype").Property.PaddingBlockEnd<string | number> | undefined;
|
|
1067
1065
|
paddingBlockStart?: import("csstype").Property.PaddingBlockStart<string | number> | undefined;
|
|
@@ -1181,8 +1179,11 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
1181
1179
|
wordSpacing?: import("csstype").Property.WordSpacing<string | number> | undefined;
|
|
1182
1180
|
wordWrap?: import("csstype").Property.WordWrap | undefined;
|
|
1183
1181
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
1182
|
+
x?: import("csstype").Property.X<string | number> | undefined;
|
|
1183
|
+
y?: import("csstype").Property.Y<string | number> | undefined;
|
|
1184
1184
|
colorRendering?: import("csstype").Property.ColorRendering | undefined;
|
|
1185
1185
|
glyphOrientationVertical?: import("csstype").Property.GlyphOrientationVertical | undefined;
|
|
1186
|
+
caret?: import("csstype").Property.Caret | undefined;
|
|
1186
1187
|
alignTracks?: import("csstype").Property.AlignTracks | undefined;
|
|
1187
1188
|
anchorName?: import("csstype").Property.AnchorName | undefined;
|
|
1188
1189
|
anchorScope?: import("csstype").Property.AnchorScope | undefined;
|
|
@@ -1599,7 +1600,7 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
1599
1600
|
WebkitBoxOrient?: import("csstype").Property.BoxOrient | undefined;
|
|
1600
1601
|
WebkitBoxPack?: import("csstype").Property.BoxPack | undefined;
|
|
1601
1602
|
className?: string;
|
|
1602
|
-
scale?: number | "none" | (string & {}) | "
|
|
1603
|
+
scale?: number | "none" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | undefined;
|
|
1603
1604
|
size?: number;
|
|
1604
1605
|
};
|
|
1605
1606
|
motionValues: {
|
|
@@ -1609,4 +1610,4 @@ export declare function useDockCardItemModel({ activeItem, onContentHeightChange
|
|
|
1609
1610
|
};
|
|
1610
1611
|
cardDelay: number;
|
|
1611
1612
|
};
|
|
1612
|
-
//# sourceMappingURL=use-card
|
|
1613
|
+
//# sourceMappingURL=use-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-card
|
|
1
|
+
{"version":3,"file":"use-card.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/card/use-card.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,OAAO,EAGb,MAAM,OAAO,CAAC;AAsBf,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EAEL,KAAK,cAAc,EAQpB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,oBAAoB,CAAC,EACnC,UAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,aAAqB,EACrB,QAAQ,EACR,OAAO,EACP,KAAa,EACb,IAAI,EAAE,QAAQ,EACd,IAAI,EACJ,QAAgB,EAChB,WAAkB,EAClB,cAAsB,EACtB,WAAmB,EACnB,eAAuB,EACvB,GAAU,GACX,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8GY,aAAa,CAAC,cAAc,CAAC;0BAM9B,OAAO,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsErD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-bar.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/commands/command-bar.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAoD/D,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,eAAoB,EACpB,SAAiB,GAClB,EAAE;IACD,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,sCAgCA"}
|
|
@@ -24,4 +24,4 @@ export declare function useDockContextActions(actions: Partial<DockActionDescrip
|
|
|
24
24
|
*/
|
|
25
25
|
export declare function defineDockAction(definition?: DefineDockActionOptions): DockActionDefinition;
|
|
26
26
|
export {};
|
|
27
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/commands/registry.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EAErB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAKtE,KAAK,gBAAgB,GACnB,oBAAoB,GAAG,oBAAoB,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AA4FnE,wBAAgB,sBAAsB;;;yCAMxB,OAAO,CAAC,oBAAoB,CAAC;sCAoBE,gBAAgB;uCANf,MAAM;;;EA4CnD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,EAAE,QA0BzE;AAgCD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,GAAE,uBAA4B,GACvC,oBAAoB,CAgDtB"}
|
|
@@ -72,13 +72,6 @@ export declare const VIEWPORT_MARGIN = 24;
|
|
|
72
72
|
export declare const CONTROL_ICON_SIZE = 16;
|
|
73
73
|
/** Id given to a HUD that does not name one. */
|
|
74
74
|
export declare const DEFAULT_HUD_ID = "hud";
|
|
75
|
-
export declare const DOCK_CARD_DIMENSIONS: Readonly<{
|
|
76
|
-
chromeHeight: 20;
|
|
77
|
-
extensionShelfHeight: 45;
|
|
78
|
-
hudHeight: 52;
|
|
79
|
-
actionGap: 10;
|
|
80
|
-
height: 68;
|
|
81
|
-
}>;
|
|
82
75
|
export declare const DOCK_CARD_LAYOUT: Readonly<{
|
|
83
76
|
extensionShelfHeight: 45;
|
|
84
77
|
chromeHeight: 20;
|
|
@@ -129,4 +122,8 @@ export declare const DOCK_HEIGHT_BUFFER = 16;
|
|
|
129
122
|
export declare const HEIGHT_EPSILON = 0.5;
|
|
130
123
|
/** Theme spec for the dock; register slots and motion against it. */
|
|
131
124
|
export declare const dockTheme: import("../../react/theme").ThemeSpec<DockThemeSlot, DockMotion>;
|
|
125
|
+
/** Description line clamp used when a surface or step does not set one. */
|
|
126
|
+
export declare const DEFAULT_SURFACE_DESCRIPTION_MAX_LINES = 2;
|
|
127
|
+
/** Id given to a step surface that does not define its own. */
|
|
128
|
+
export declare const DEFAULT_STEP_SURFACE_ID = "wizard-surface";
|
|
132
129
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/modules/dock/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEzD,eAAO,MAAM,mBAAmB,mDAKrB,CAAC;AAEZ,gEAAgE;AAChE,eAAO,MAAM,WAAW;;;;;;;;;EASb,CAAC;AAEZ,iEAAiE;AACjE,eAAO,MAAM,oBAAoB;;;EAGtB,CAAC;AAEZ,qCAAqC;AACrC,eAAO,MAAM,gBAAgB;;;;EAIlB,CAAC;AAEZ,0EAA0E;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;EAOnB,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;;;;;;EAOrB,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;;;EAQzB,CAAC;AAEZ,eAAO,MAAM,kCAAkC,KAAK,CAAC;AAErD,eAAO,MAAM,wBAAwB;;;EAG1B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;EAI1B,CAAC;AAEZ,eAAO,MAAM,kBAAkB;;;;;;;;EAQpB,CAAC;AAEZ,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,uDAAuD;AACvD,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,gDAAgD;AAChD,eAAO,MAAM,cAAc,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/modules/dock/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEzD,eAAO,MAAM,mBAAmB,mDAKrB,CAAC;AAEZ,gEAAgE;AAChE,eAAO,MAAM,WAAW;;;;;;;;;EASb,CAAC;AAEZ,iEAAiE;AACjE,eAAO,MAAM,oBAAoB;;;EAGtB,CAAC;AAEZ,qCAAqC;AACrC,eAAO,MAAM,gBAAgB;;;;EAIlB,CAAC;AAEZ,0EAA0E;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;EAOnB,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;;;;;;EAOrB,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;;;EAQzB,CAAC;AAEZ,eAAO,MAAM,kCAAkC,KAAK,CAAC;AAErD,eAAO,MAAM,wBAAwB;;;EAG1B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;EAI1B,CAAC;AAEZ,eAAO,MAAM,kBAAkB;;;;;;;;EAQpB,CAAC;AAEZ,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,uDAAuD;AACvD,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,gDAAgD;AAChD,eAAO,MAAM,cAAc,QAAQ,CAAC;AAUpC,eAAO,MAAM,gBAAgB;;;;;;EAM3B,CAAC;AAEH,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAChD,eAAO,MAAM,0BAA0B,OAAQ,CAAC;AAEhD,eAAO,MAAM,sBAAsB;;;;;;EAMxB,CAAC;AAEZ,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,+BAA+B,KAAK,CAAC;AAElD,eAAO,MAAM,qBAAqB;;;;;;EAMvB,CAAC;AAEZ,eAAO,MAAM,qBAAqB;;;;EAIvB,CAAC;AAEZ,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C,eAAO,MAAM,uBAAuB,2IACoG,CAAC;AAEzI,eAAO,MAAM,kCAAkC,8CAIpC,CAAC;AAEZ,eAAO,MAAM,cAAc;;;;;EAKhB,CAAC;AAEZ,eAAO,MAAM,cAAc,4BAA4C,CAAC;AAExE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWjD,CAAC;AAEH,eAAO,MAAM,kBAAkB,aAM7B,CAAC;AAEH,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,6BAA6B,OAAO,CAAC;AAClD,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAE1C,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,qEAAqE;AACrE,eAAO,MAAM,SAAS,8DAAqD,CAAC;AAE5E,2EAA2E;AAC3E,eAAO,MAAM,qCAAqC,IAAI,CAAC;AAEvD,+DAA+D;AAC/D,eAAO,MAAM,uBAAuB,mBAAmB,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { type LoadingActions, type LoadingStateWithPage } from "../loading";
|
|
|
3
3
|
import { type MediaActions, type MediaState } from "../media";
|
|
4
4
|
import type { DockActions, DockContextValue, DockState, ErrorActionsProps, GuardActionsProps } from "./types";
|
|
5
5
|
export declare const DockContext: import("react").Context<DockContextValue | null>;
|
|
6
|
+
export declare const EMPTY_DOCK_STATE: DockState;
|
|
6
7
|
/** Subscribes to the whole dock state. Must be used under `DockProvider`. */
|
|
7
8
|
export declare function useDockState(): DockState;
|
|
8
9
|
/** Subscribes to a slice of the dock state; re-renders only when the slice changes. */
|
|
@@ -16,7 +17,6 @@ export declare function useDockHeight(): {
|
|
|
16
17
|
paddingBottom: string;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
|
-
export declare const EMPTY_DOCK_STATE: DockState;
|
|
20
20
|
/** Like `useDockState` (or a selector), but returns an empty state outside `DockProvider`. */
|
|
21
21
|
export declare function useOptionalDockState(): DockState;
|
|
22
22
|
export declare function useOptionalDockState<T>(selector: (state: DockState) => T, isEqual?: (a: T, b: T) => boolean): T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/modules/dock/context.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAO,MAAM,OAAO,CAAC;AAIhD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAG1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,UAAU,EAGhB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW,kDAGvB,CAAC;AAEF,6EAA6E;AAC7E,wBAAgB,YAAY,IAAI,SAAS,CAOxC;AAED,uFAAuF;AACvF,wBAAgB,eAAe,CAAC,CAAC,EAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,CAAC,EACjC,OAAO,GAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAmB,GAC3C,CAAC,CAOH;AAED,mEAAmE;AACnE,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAED,iFAAiF;AACjF,wBAAgB,aAAa;;;;;EAG5B;AAED,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/modules/dock/context.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAO,MAAM,OAAO,CAAC;AAIhD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAG1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,UAAU,EAGhB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW,kDAGvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,SAuB7B,CAAC;AAIH,6EAA6E;AAC7E,wBAAgB,YAAY,IAAI,SAAS,CAOxC;AAED,uFAAuF;AACvF,wBAAgB,eAAe,CAAC,CAAC,EAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,CAAC,EACjC,OAAO,GAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAmB,GAC3C,CAAC,CAOH;AAED,mEAAmE;AACnE,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAED,iFAAiF;AACjF,wBAAgB,aAAa;;;;;EAG5B;AAED,8FAA8F;AAC9F,wBAAgB,oBAAoB,IAAI,SAAS,CAAC;AAClD,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,CAAC,EACjC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,GAChC,CAAC,CAAC;AAaL,gEAAgE;AAChE,wBAAgB,sBAAsB,IAAI,WAAW,GAAG,IAAI,CAG3D;AAED,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC;AAEvC,wBAAgB,YAAY,IAAI,aAAa,CAE5C;AAED,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED,eAAO,MAAM,mBAAmB,EAAE,MAAM,YAAsC,CAAC;AAE/E,wBAAgB,mBAAmB,IAAI,oBAAoB,CAE1D;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,cACf,CAAC;AAE5B,eAAO,MAAM,0BAA0B,EAAE,MAAM,OAAgC,CAAC;AAEhF,eAAO,MAAM,oBAAoB,EAAE;IACjC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC/C,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type RegistryMetadata } from "../../core/kernel";
|
|
2
|
+
import type { DockBannerInput, DockPageConfig, DockReturnHandoff } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Registers a dock config (or just a title) for the page and returns the
|
|
5
|
+
* dock state and actions, with safe no-ops outside a provider.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useDockConfig(configOrTitle?: string | Record<string, unknown> | null, options?: Record<string, unknown>): {
|
|
8
|
+
activeItem: import("./types").DockItem | null;
|
|
9
|
+
clearHud: (id?: string) => void;
|
|
10
|
+
closeAllSurfaces: (result?: import("./types").SurfaceResult) => void;
|
|
11
|
+
closeSurface: (result?: import("./types").SurfaceResult, surfaceId?: import("./types").SurfaceId | null) => void;
|
|
12
|
+
expanded: boolean;
|
|
13
|
+
dockHeight: number;
|
|
14
|
+
navigate: (href: string, options?: import("./types").DockNavigateOptions) => Promise<boolean>;
|
|
15
|
+
openSurface: ((definition: import("./types").SurfaceInput, config?: import("./types").OpenSurfaceOptions) => Promise<import("./types").SurfaceResult>) | (() => undefined);
|
|
16
|
+
pathname: string;
|
|
17
|
+
setExpanded: (expanded: boolean) => void;
|
|
18
|
+
setHud: (descriptor: import("./types").DockHudDescriptor) => void;
|
|
19
|
+
setSearchQuery: (query: string) => void;
|
|
20
|
+
};
|
|
21
|
+
/** Registers a page-level dock config for the lifetime of the calling component. */
|
|
22
|
+
export declare function useDockRegistration(config: DockPageConfig | null | undefined, options?: RegistryMetadata & {
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}): void;
|
|
26
|
+
/** Current dock height and width, and whether a surface is open. */
|
|
27
|
+
export declare function useDockDimensions(): {
|
|
28
|
+
height: number;
|
|
29
|
+
width: string | number | null;
|
|
30
|
+
isSurface: boolean;
|
|
31
|
+
};
|
|
32
|
+
/** Reads and consumes surface return hand-offs recorded for the current page. */
|
|
33
|
+
export declare function useSurfaceReturn(): {
|
|
34
|
+
consume: (handoffId?: string | null) => DockReturnHandoff | null;
|
|
35
|
+
entries: DockReturnHandoff[];
|
|
36
|
+
peek: () => DockReturnHandoff;
|
|
37
|
+
};
|
|
38
|
+
/** Registers a banner image for the current page's dock card. */
|
|
39
|
+
export declare function useDockBanner(banner: DockBannerInput | null | undefined, options?: {
|
|
40
|
+
path?: string;
|
|
41
|
+
position?: string;
|
|
42
|
+
size?: string;
|
|
43
|
+
opacity?: number;
|
|
44
|
+
repeat?: string;
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
}): void;
|
|
47
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/modules/dock/hooks.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gBAAgB,EAAyB,MAAM,eAAe,CAAC;AAa7E,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,iBAAiB,EAElB,MAAM,SAAS,CAAC;AAajB;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACvD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;EAqClC;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,EACzC,OAAO,CAAC,EAAE,gBAAgB,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GACzE,IAAI,CAEN;AAED,oEAAoE;AACpE,wBAAgB,iBAAiB;;;;EAQhC;AAED,iFAAiF;AACjF,wBAAgB,gBAAgB;0BAaL,MAAM,GAAG,IAAI;;;EAMvC;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAC3B,MAAM,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,EAC1C,OAAO,CAAC,EAAE;IACR,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,GACA,IAAI,CAkBN"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { DefineHudOptions, DockHudDefinition, DockHudDescriptor, UseHudReturn } from "
|
|
1
|
+
import type { DefineHudOptions, DockHudDefinition, DockHudDescriptor, UseHudReturn } from "../types";
|
|
2
|
+
import { createSelectionModeState, type DockHudEntries } from "./model";
|
|
2
3
|
/** Shows a HUD while the calling component is mounted and the descriptor is active. */
|
|
3
4
|
export declare function useDockHud(descriptor: DockHudDescriptor): void;
|
|
4
5
|
/**
|
|
@@ -8,10 +9,16 @@ export declare function useDockHud(descriptor: DockHudDescriptor): void;
|
|
|
8
9
|
export declare function defineHud(definition?: DefineHudOptions): DockHudDefinition;
|
|
9
10
|
/** Returns functions to show and hide a defined HUD, or the raw HUD actions without one. */
|
|
10
11
|
export declare function useHud(hudDefinition?: DockHudDefinition | null): UseHudReturn;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
export declare function useDockHudRegistry(): {
|
|
13
|
+
actions: {
|
|
14
|
+
clearHud: (targetId?: string) => void;
|
|
15
|
+
clearSelectionMode: () => void;
|
|
16
|
+
setHud: (descriptor: DockHudDescriptor) => void;
|
|
17
|
+
setSelectionMode: (config: Parameters<typeof createSelectionModeState>[0]) => void;
|
|
18
|
+
};
|
|
19
|
+
clearTransientHud: () => void;
|
|
20
|
+
hudEntries: DockHudEntries;
|
|
21
|
+
registeredHud: DockHudDescriptor | null;
|
|
22
|
+
selectionModeState: DockHudDescriptor | null;
|
|
23
|
+
};
|
|
17
24
|
//# sourceMappingURL=hud.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hud.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/hud/hud.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,gBAAgB,EAEhB,iBAAiB,EACjB,iBAAiB,EAGjB,YAAY,EACb,MAAM,UAAU,CAAC;AAClB,OAAO,EAIL,wBAAwB,EACxB,KAAK,cAAc,EAIpB,MAAM,SAAS,CAAC;AAEjB,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,UAAU,EAAE,iBAAiB,QAGvD;AAgCD;;;GAGG;AACH,wBAAgB,SAAS,CACvB,UAAU,GAAE,gBAAqB,GAChC,iBAAiB,CAgEnB;AAED,4FAA4F;AAC5F,wBAAgB,MAAM,CAAC,aAAa,GAAE,iBAAiB,GAAG,IAAW,gBAiCpE;AAsED,wBAAgB,kBAAkB;;8BA3BN,MAAM;;6BAIP,iBAAiB;mCAM5B,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC;;;;;;EAoC7D"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { DockHudDescriptor, DockOperation } from "../types";
|
|
2
|
+
export type DockHudEntries = Record<string, DockHudDescriptor>;
|
|
3
|
+
export declare function areHudDefinitionsEqual(current: DockHudDescriptor | null | undefined, next: DockHudDescriptor | null | undefined): boolean;
|
|
4
|
+
export declare function upsertHudEntry(entries: DockHudEntries, definition: DockHudDescriptor | null): DockHudEntries;
|
|
5
|
+
export declare function removeHudEntries(entries: DockHudEntries, id?: string | null): DockHudEntries;
|
|
6
|
+
export declare function areSelectionModeStatesEqual(current: DockHudDescriptor | null, next: DockHudDescriptor | null): boolean;
|
|
7
|
+
export declare function getActiveDockHud(entries: DockHudEntries, selectionMode: DockHudDescriptor | null): DockHudDescriptor | null;
|
|
2
8
|
/** Normalizes a component, node or descriptor into a HUD definition; null when empty. */
|
|
3
9
|
export declare function createHudDefinition(input: unknown, config?: Partial<DockHudDescriptor>): DockHudDescriptor | null;
|
|
4
10
|
/** Builds the HUD definition for selection mode, or null when it is off. */
|
|
@@ -10,4 +16,4 @@ export declare function createDockOperationHud(operation: DockOperation | null |
|
|
|
10
16
|
onCancel?: ((id: string) => void) | null;
|
|
11
17
|
pendingCount?: number;
|
|
12
18
|
}): DockHudDescriptor | null;
|
|
13
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/hud/model.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAiB,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAOhF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAiC/D,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,EAC7C,IAAI,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,GACzC,OAAO,CAsBT;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,iBAAiB,GAAG,IAAI,GACnC,cAAc,CAWhB;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,cAAc,EACvB,EAAE,GAAE,MAAM,GAAG,IAAW,GACvB,cAAc,CAQhB;AAcD,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,iBAAiB,GAAG,IAAI,EACjC,IAAI,EAAE,iBAAiB,GAAG,IAAI,GAC7B,OAAO,CAET;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,cAAc,EACvB,aAAa,EAAE,iBAAiB,GAAG,IAAI,GACtC,iBAAiB,GAAG,IAAI,CAE1B;AAwCD,yFAAyF;AACzF,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,OAAO,EACd,MAAM,GAAE,OAAO,CAAC,iBAAiB,CAAM,GACtC,iBAAiB,GAAG,IAAI,CA8B1B;AAED,4EAA4E;AAC5E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GACxE,iBAAiB,GAAG,IAAI,CAO1B;AA4BD,iFAAiF;AACjF,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EAC3C,EACE,QAAe,EACf,YAAgB,GACjB,GAAE;IAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAO,4BAsB5E"}
|
|
@@ -4,4 +4,4 @@ export declare function DockHudView({ clearHud, hud, pathname, }: {
|
|
|
4
4
|
hud: DockHudDescriptor | null;
|
|
5
5
|
pathname?: string | null;
|
|
6
6
|
}): string | number | bigint | boolean | 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").JSX.Element | null;
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=view.d.ts.map
|