@omerdlw/base-framework 3.1.0 → 3.2.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/MIGRATION.md +75 -0
- package/README.md +33 -25
- package/dist/ambient/index.d.ts +1 -0
- package/dist/ambient/index.js +14 -0
- package/dist/ambient/server/index.d.ts +1 -0
- package/dist/ambient/server/index.js +238 -0
- package/dist/ambient/server/index.js.map +1 -0
- package/dist/ambient/worker/index.d.ts +1 -0
- package/dist/ambient/worker/index.js +143 -0
- package/dist/ambient/worker/index.js.map +1 -0
- package/dist/background/index.d.ts +1 -0
- package/dist/background/index.js +13 -0
- package/dist/chunk-2223J34C.js +850 -0
- package/dist/chunk-2223J34C.js.map +1 -0
- package/dist/chunk-2LGI33JP.js +832 -0
- package/dist/chunk-2LGI33JP.js.map +1 -0
- package/dist/chunk-37OBXNEO.js +116 -0
- package/dist/chunk-37OBXNEO.js.map +1 -0
- package/dist/chunk-4OQGXZIH.js +1435 -0
- package/dist/chunk-4OQGXZIH.js.map +1 -0
- package/dist/chunk-5H6FZW3N.js +535 -0
- package/dist/chunk-5H6FZW3N.js.map +1 -0
- package/dist/chunk-7RSRDKYE.js +22 -0
- package/dist/chunk-7RSRDKYE.js.map +1 -0
- package/dist/chunk-AYUEZPAN.js +15762 -0
- package/dist/chunk-AYUEZPAN.js.map +1 -0
- package/dist/chunk-BCFJSPTI.js +261 -0
- package/dist/chunk-BCFJSPTI.js.map +1 -0
- package/dist/chunk-BMFHS3GV.js +118 -0
- package/dist/chunk-BMFHS3GV.js.map +1 -0
- package/dist/chunk-CRKJAACG.js +81 -0
- package/dist/chunk-CRKJAACG.js.map +1 -0
- package/dist/chunk-CT4UILO2.js +537 -0
- package/dist/chunk-CT4UILO2.js.map +1 -0
- package/dist/chunk-ESD5EQ5H.js +178 -0
- package/dist/chunk-ESD5EQ5H.js.map +1 -0
- package/dist/chunk-GCHQ5OC4.js +460 -0
- package/dist/chunk-GCHQ5OC4.js.map +1 -0
- package/dist/chunk-GT4COZI7.js +110 -0
- package/dist/chunk-GT4COZI7.js.map +1 -0
- package/dist/chunk-H6HRU3XN.js +567 -0
- package/dist/chunk-H6HRU3XN.js.map +1 -0
- package/dist/chunk-J3VTDBC6.js +14 -0
- package/dist/chunk-J3VTDBC6.js.map +1 -0
- package/dist/chunk-LTO77WSO.js +140 -0
- package/dist/chunk-LTO77WSO.js.map +1 -0
- package/dist/chunk-MCYHKFZL.js +17 -0
- package/dist/chunk-MCYHKFZL.js.map +1 -0
- package/dist/chunk-NHOJWICA.js +2367 -0
- package/dist/chunk-NHOJWICA.js.map +1 -0
- package/dist/chunk-QMFV53PP.js +1766 -0
- package/dist/chunk-QMFV53PP.js.map +1 -0
- package/dist/chunk-RDYYP36I.js +27 -0
- package/dist/chunk-RDYYP36I.js.map +1 -0
- package/dist/chunk-RF2YGILF.js +656 -0
- package/dist/chunk-RF2YGILF.js.map +1 -0
- package/dist/chunk-RTCJ35UC.js +825 -0
- package/dist/chunk-RTCJ35UC.js.map +1 -0
- package/dist/chunk-TUUGWQY5.js +3488 -0
- package/dist/chunk-TUUGWQY5.js.map +1 -0
- package/dist/chunk-WXEOP6Z4.js +577 -0
- package/dist/chunk-WXEOP6Z4.js.map +1 -0
- package/dist/chunk-WYVA6AN5.js +590 -0
- package/dist/chunk-WYVA6AN5.js.map +1 -0
- package/dist/chunk-Y2Q74PJP.js +537 -0
- package/dist/chunk-Y2Q74PJP.js.map +1 -0
- package/dist/chunk-ZFTQY7OF.js +139 -0
- package/dist/chunk-ZFTQY7OF.js.map +1 -0
- package/dist/chunk-ZSNP26VU.js +493 -0
- package/dist/chunk-ZSNP26VU.js.map +1 -0
- package/dist/context-menu/index.d.ts +1 -0
- package/dist/context-menu/index.js +19 -0
- package/dist/controls/index.d.ts +1 -0
- package/dist/controls/index.js +10 -0
- package/dist/core/error/boundary.d.ts +27 -0
- package/dist/core/error/boundary.d.ts.map +1 -0
- package/dist/core/error/constants.d.ts +33 -0
- package/dist/core/error/constants.d.ts.map +1 -0
- package/dist/core/error/index.d.ts +9 -0
- package/dist/core/error/index.d.ts.map +1 -0
- package/dist/core/error/listener.d.ts +6 -0
- package/dist/core/error/listener.d.ts.map +1 -0
- package/dist/core/error/reporter.d.ts +49 -0
- package/dist/core/error/reporter.d.ts.map +1 -0
- package/dist/core/error/theme.d.ts +10 -0
- package/dist/core/error/theme.d.ts.map +1 -0
- package/dist/core/error/types.d.ts +128 -0
- package/dist/core/error/types.d.ts.map +1 -0
- package/dist/core/error/utils.d.ts +55 -0
- package/dist/core/error/utils.d.ts.map +1 -0
- package/dist/core/kernel/adapters.d.ts +9 -0
- package/dist/core/kernel/adapters.d.ts.map +1 -0
- package/dist/core/kernel/compose.d.ts +21 -0
- package/dist/core/kernel/compose.d.ts.map +1 -0
- package/dist/core/kernel/constants.d.ts +42 -0
- package/dist/core/kernel/constants.d.ts.map +1 -0
- package/dist/core/kernel/handlers.d.ts +7 -0
- package/dist/core/kernel/handlers.d.ts.map +1 -0
- package/dist/core/kernel/hooks.d.ts +13 -0
- package/dist/core/kernel/hooks.d.ts.map +1 -0
- package/dist/core/kernel/index.d.ts +15 -0
- package/dist/core/kernel/index.d.ts.map +1 -0
- package/dist/core/kernel/installed.d.ts +28 -0
- package/dist/core/kernel/installed.d.ts.map +1 -0
- package/dist/core/kernel/module.d.ts +57 -0
- package/dist/core/kernel/module.d.ts.map +1 -0
- package/dist/core/kernel/operations-records.d.ts +25 -0
- package/dist/core/kernel/operations-records.d.ts.map +1 -0
- package/dist/core/kernel/operations-resolve.d.ts +5 -0
- package/dist/core/kernel/operations-resolve.d.ts.map +1 -0
- package/dist/core/kernel/operations.d.ts +23 -0
- package/dist/core/kernel/operations.d.ts.map +1 -0
- package/dist/core/kernel/page-controller.d.ts +20 -0
- package/dist/core/kernel/page-controller.d.ts.map +1 -0
- package/dist/core/kernel/provider.d.ts +29 -0
- package/dist/core/kernel/provider.d.ts.map +1 -0
- package/dist/core/kernel/runtime.d.ts.map +1 -0
- package/dist/core/kernel/schema.d.ts +13 -0
- package/dist/core/kernel/schema.d.ts.map +1 -0
- package/dist/core/kernel/stabilize.d.ts +13 -0
- package/dist/core/kernel/stabilize.d.ts.map +1 -0
- package/dist/core/kernel/store-batch.d.ts +17 -0
- package/dist/core/kernel/store-batch.d.ts.map +1 -0
- package/dist/core/kernel/store-entries.d.ts +6 -0
- package/dist/core/kernel/store-entries.d.ts.map +1 -0
- package/dist/core/kernel/store-handles.d.ts +4 -0
- package/dist/core/kernel/store-handles.d.ts.map +1 -0
- package/dist/core/kernel/store-registration.d.ts +14 -0
- package/dist/core/kernel/store-registration.d.ts.map +1 -0
- package/dist/core/kernel/store-snapshots.d.ts +14 -0
- package/dist/core/kernel/store-snapshots.d.ts.map +1 -0
- package/dist/core/kernel/store-subscriptions.d.ts +16 -0
- package/dist/core/kernel/store-subscriptions.d.ts.map +1 -0
- package/dist/core/kernel/store.d.ts +8 -0
- package/dist/core/kernel/store.d.ts.map +1 -0
- package/dist/core/kernel/types-modules.d.ts +82 -0
- package/dist/core/kernel/types-modules.d.ts.map +1 -0
- package/dist/core/kernel/types-page.d.ts +67 -0
- package/dist/core/kernel/types-page.d.ts.map +1 -0
- package/dist/core/kernel/types-store.d.ts +71 -0
- package/dist/core/kernel/types-store.d.ts.map +1 -0
- package/dist/core/kernel/types.d.ts +169 -0
- package/dist/core/kernel/types.d.ts.map +1 -0
- package/dist/core/kernel/utils.d.ts +21 -0
- package/dist/core/kernel/utils.d.ts.map +1 -0
- package/dist/core/navigation/constants.d.ts +48 -0
- package/dist/core/navigation/constants.d.ts.map +1 -0
- package/dist/core/navigation/navigator-defaults.d.ts +4 -0
- package/dist/core/navigation/navigator-defaults.d.ts.map +1 -0
- package/dist/core/navigation/navigator-holds.d.ts +8 -0
- package/dist/core/navigation/navigator-holds.d.ts.map +1 -0
- package/dist/core/navigation/navigator-patience.d.ts +15 -0
- package/dist/core/navigation/navigator-patience.d.ts.map +1 -0
- package/dist/core/navigation/navigator-payload.d.ts +6 -0
- package/dist/core/navigation/navigator-payload.d.ts.map +1 -0
- package/dist/core/navigation/navigator-prefetch.d.ts +13 -0
- package/dist/core/navigation/navigator-prefetch.d.ts.map +1 -0
- package/dist/core/navigation/navigator.d.ts +7 -0
- package/dist/core/navigation/navigator.d.ts.map +1 -0
- package/dist/core/navigation/settings.d.ts +12 -0
- package/dist/core/navigation/settings.d.ts.map +1 -0
- package/dist/core/navigation/state.d.ts +26 -0
- package/dist/core/navigation/state.d.ts.map +1 -0
- package/dist/core/navigation/types.d.ts +194 -0
- package/dist/core/navigation/types.d.ts.map +1 -0
- package/dist/core/navigation/utils.d.ts +18 -0
- package/dist/core/navigation/utils.d.ts.map +1 -0
- package/dist/core/provider/index.d.ts +31 -0
- package/dist/core/provider/index.d.ts.map +1 -0
- package/dist/dock/index.d.ts +1 -0
- package/dist/dock/index.js +18 -0
- package/dist/error/index.d.ts +1 -9
- package/dist/error/index.js +8 -5
- package/dist/events/index.d.ts +1 -0
- package/dist/events/index.js +83 -0
- package/dist/events/index.js.map +1 -0
- package/dist/foundation/events/index.d.ts +67 -0
- package/dist/foundation/events/index.d.ts.map +1 -0
- package/dist/foundation/recipes/anatomy.d.ts +139 -0
- package/dist/foundation/recipes/anatomy.d.ts.map +1 -0
- package/dist/foundation/recipes/cn.d.ts +17 -0
- package/dist/foundation/recipes/cn.d.ts.map +1 -0
- package/dist/foundation/recipes/define.d.ts +134 -0
- package/dist/foundation/recipes/define.d.ts.map +1 -0
- package/dist/foundation/recipes/index.d.ts +11 -0
- package/dist/foundation/recipes/index.d.ts.map +1 -0
- package/dist/foundation/recipes/recipe.d.ts +97 -0
- package/dist/foundation/recipes/recipe.d.ts.map +1 -0
- package/dist/foundation/recipes/split.d.ts +10 -0
- package/dist/foundation/recipes/split.d.ts.map +1 -0
- package/dist/foundation/result/index.d.ts +98 -0
- package/dist/foundation/result/index.d.ts.map +1 -0
- package/dist/foundation/utils/dom.d.ts +19 -0
- package/dist/foundation/utils/dom.d.ts.map +1 -0
- package/dist/foundation/utils/index.d.ts +17 -0
- package/dist/foundation/utils/index.d.ts.map +1 -0
- package/dist/foundation/utils/number.d.ts +9 -0
- package/dist/foundation/utils/number.d.ts.map +1 -0
- package/dist/foundation/utils/object.d.ts +17 -0
- package/dist/foundation/utils/object.d.ts.map +1 -0
- package/dist/foundation/utils/report.d.ts +18 -0
- package/dist/foundation/utils/report.d.ts.map +1 -0
- package/dist/foundation/utils/scheduler.d.ts +52 -0
- package/dist/foundation/utils/scheduler.d.ts.map +1 -0
- package/dist/foundation/utils/store.d.ts +21 -0
- package/dist/foundation/utils/store.d.ts.map +1 -0
- package/dist/foundation/utils/string.d.ts +18 -0
- package/dist/foundation/utils/string.d.ts.map +1 -0
- package/dist/foundation/utils/tempo.d.ts +61 -0
- package/dist/foundation/utils/tempo.d.ts.map +1 -0
- package/dist/foundation/utils/timing.d.ts +13 -0
- package/dist/foundation/utils/timing.d.ts.map +1 -0
- package/dist/foundation/utils/transform.d.ts +17 -0
- package/dist/foundation/utils/transform.d.ts.map +1 -0
- package/dist/foundation/utils/user-message.d.ts +32 -0
- package/dist/foundation/utils/user-message.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +1 -11
- package/dist/hooks/index.js +3 -1
- package/dist/index.d.ts +8 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -20
- package/dist/kernel/index.d.ts +1 -15
- package/dist/kernel/index.js +5 -2
- package/dist/loading/index.d.ts +1 -0
- package/dist/loading/index.js +12 -0
- package/dist/media/index.d.ts +1 -0
- package/dist/media/index.js +9 -0
- package/dist/modal/index.d.ts +1 -0
- package/dist/modal/index.js +310 -0
- package/dist/modal/index.js.map +1 -0
- package/dist/modules/ambient/analyze-bounds.d.ts +12 -0
- package/dist/modules/ambient/analyze-bounds.d.ts.map +1 -0
- package/dist/modules/ambient/analyze-clusters.d.ts +14 -0
- package/dist/modules/ambient/analyze-clusters.d.ts.map +1 -0
- package/dist/modules/ambient/analyze-measures.d.ts +22 -0
- package/dist/modules/ambient/analyze-measures.d.ts.map +1 -0
- package/dist/modules/ambient/analyze-swatches.d.ts +16 -0
- package/dist/modules/ambient/analyze-swatches.d.ts.map +1 -0
- package/dist/modules/ambient/analyze.d.ts +14 -22
- package/dist/modules/ambient/analyze.d.ts.map +1 -1
- package/dist/modules/ambient/constants.d.ts +4 -1
- package/dist/modules/ambient/constants.d.ts.map +1 -1
- package/dist/modules/ambient/context.d.ts +6 -0
- package/dist/modules/ambient/context.d.ts.map +1 -1
- package/dist/modules/ambient/dom.d.ts +25 -2
- package/dist/modules/ambient/dom.d.ts.map +1 -1
- package/dist/modules/ambient/extractor.d.ts +10 -0
- package/dist/modules/ambient/extractor.d.ts.map +1 -1
- package/dist/modules/ambient/hooks.d.ts +12 -0
- package/dist/modules/ambient/hooks.d.ts.map +1 -1
- package/dist/modules/ambient/module.d.ts +12 -1
- package/dist/modules/ambient/module.d.ts.map +1 -1
- package/dist/modules/ambient/oklab.d.ts +24 -0
- package/dist/modules/ambient/oklab.d.ts.map +1 -1
- package/dist/modules/ambient/quantize.d.ts +4 -0
- package/dist/modules/ambient/quantize.d.ts.map +1 -1
- package/dist/modules/ambient/server/address.d.ts +8 -0
- package/dist/modules/ambient/server/address.d.ts.map +1 -1
- package/dist/modules/ambient/server/index.d.ts +24 -0
- package/dist/modules/ambient/server/index.d.ts.map +1 -1
- package/dist/modules/ambient/settings.d.ts +26 -0
- package/dist/modules/ambient/settings.d.ts.map +1 -1
- package/dist/modules/ambient/types.d.ts +100 -1
- package/dist/modules/ambient/types.d.ts.map +1 -1
- package/dist/modules/ambient/worker/index.d.ts +16 -0
- package/dist/modules/ambient/worker/index.d.ts.map +1 -1
- package/dist/modules/background/components/background-gradients.d.ts +8 -0
- package/dist/modules/background/components/background-gradients.d.ts.map +1 -0
- package/dist/modules/background/components/edge-gradient.d.ts +9 -0
- package/dist/modules/background/components/edge-gradient.d.ts.map +1 -0
- package/dist/modules/background/components/native-video.d.ts +4 -0
- package/dist/modules/background/components/native-video.d.ts.map +1 -0
- package/dist/modules/background/components/noise-overlay.d.ts +11 -0
- package/dist/modules/background/components/noise-overlay.d.ts.map +1 -0
- package/dist/modules/background/components/overlay.d.ts +6 -0
- package/dist/modules/background/components/overlay.d.ts.map +1 -0
- package/dist/modules/background/components/solid-overlay.d.ts +10 -0
- package/dist/modules/background/components/solid-overlay.d.ts.map +1 -0
- package/dist/modules/background/constants.d.ts +14 -1
- package/dist/modules/background/constants.d.ts.map +1 -1
- package/dist/modules/background/context.d.ts +7 -0
- package/dist/modules/background/context.d.ts.map +1 -1
- package/dist/modules/background/hooks/use-background-media-source.d.ts +4 -0
- package/dist/modules/background/hooks/use-background-media-source.d.ts.map +1 -0
- package/dist/modules/background/hooks/use-background-motion-model.d.ts +15 -0
- package/dist/modules/background/hooks/use-background-motion-model.d.ts.map +1 -0
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts +929 -0
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts.map +1 -0
- package/dist/modules/background/hooks/use-native-video-model.d.ts +22 -0
- package/dist/modules/background/hooks/use-native-video-model.d.ts.map +1 -0
- package/dist/modules/background/hooks.d.ts +20 -1
- 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/lib/theme.d.ts +4 -0
- package/dist/modules/background/lib/theme.d.ts.map +1 -0
- package/dist/modules/background/model/override.d.ts +14 -0
- package/dist/modules/background/model/override.d.ts.map +1 -0
- package/dist/modules/background/model/playback.d.ts +25 -0
- package/dist/modules/background/model/playback.d.ts.map +1 -0
- package/dist/modules/background/model/state.d.ts +31 -0
- package/dist/modules/background/model/state.d.ts.map +1 -0
- package/dist/modules/background/model/video-frame.d.ts +31 -0
- package/dist/modules/background/model/video-frame.d.ts.map +1 -0
- package/dist/modules/background/model/visual.d.ts +932 -0
- package/dist/modules/background/model/visual.d.ts.map +1 -0
- package/dist/modules/background/module.d.ts +11 -0
- package/dist/modules/background/module.d.ts.map +1 -1
- package/dist/modules/background/motion.d.ts.map +1 -1
- package/dist/modules/background/types.d.ts +66 -3
- package/dist/modules/background/types.d.ts.map +1 -1
- package/dist/modules/background/youtube/components/player.d.ts +7 -0
- package/dist/modules/background/youtube/components/player.d.ts.map +1 -0
- package/dist/modules/background/youtube/hooks/use-youtube-background-player-model.d.ts +27 -0
- package/dist/modules/background/youtube/hooks/use-youtube-background-player-model.d.ts.map +1 -0
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts +20 -0
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts +8 -0
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts.map +1 -0
- package/dist/modules/background/youtube/hooks/use-youtube-video-sync.d.ts +16 -0
- package/dist/modules/background/youtube/hooks/use-youtube-video-sync.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/audio.d.ts +17 -0
- package/dist/modules/background/youtube/lib/audio.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts +29 -0
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts +47 -0
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/iframe.d.ts +47 -0
- package/dist/modules/background/youtube/lib/iframe.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/parse.d.ts +36 -0
- package/dist/modules/background/youtube/lib/parse.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/timing.d.ts +11 -0
- package/dist/modules/background/youtube/lib/timing.d.ts.map +1 -0
- package/dist/modules/background/youtube/lib/video-events.d.ts +53 -0
- package/dist/modules/background/youtube/lib/video-events.d.ts.map +1 -0
- package/dist/modules/context-menu/constants.d.ts +30 -1
- package/dist/modules/context-menu/constants.d.ts.map +1 -1
- package/dist/modules/context-menu/context.d.ts +10 -2
- package/dist/modules/context-menu/context.d.ts.map +1 -1
- package/dist/modules/context-menu/dom.d.ts +13 -0
- package/dist/modules/context-menu/dom.d.ts.map +1 -1
- package/dist/modules/context-menu/hooks.d.ts +32 -5
- package/dist/modules/context-menu/hooks.d.ts.map +1 -1
- package/dist/modules/context-menu/items.d.ts +25 -0
- package/dist/modules/context-menu/items.d.ts.map +1 -1
- package/dist/modules/context-menu/module.d.ts +6 -0
- package/dist/modules/context-menu/module.d.ts.map +1 -1
- package/dist/modules/context-menu/motion.d.ts.map +1 -1
- package/dist/modules/context-menu/overlay.d.ts +30 -8
- package/dist/modules/context-menu/overlay.d.ts.map +1 -1
- package/dist/modules/context-menu/resolver.d.ts +8 -0
- package/dist/modules/context-menu/resolver.d.ts.map +1 -1
- package/dist/modules/context-menu/state.d.ts +9 -0
- package/dist/modules/context-menu/state.d.ts.map +1 -1
- package/dist/modules/context-menu/types.d.ts +85 -3
- package/dist/modules/context-menu/types.d.ts.map +1 -1
- package/dist/modules/controls/constants.d.ts +18 -1
- package/dist/modules/controls/constants.d.ts.map +1 -1
- package/dist/modules/controls/entries.d.ts +23 -1
- package/dist/modules/controls/entries.d.ts.map +1 -1
- package/dist/modules/controls/hooks.d.ts +11 -1
- package/dist/modules/controls/hooks.d.ts.map +1 -1
- package/dist/modules/controls/layout.d.ts +17 -0
- package/dist/modules/controls/layout.d.ts.map +1 -1
- package/dist/modules/controls/module.d.ts +7 -1
- package/dist/modules/controls/module.d.ts.map +1 -1
- package/dist/modules/controls/overlay.d.ts +11 -1
- package/dist/modules/controls/overlay.d.ts.map +1 -1
- package/dist/modules/controls/types.d.ts +51 -2
- package/dist/modules/controls/types.d.ts.map +1 -1
- package/dist/modules/dock/components/badge.d.ts +5 -0
- package/dist/modules/dock/components/badge.d.ts.map +1 -0
- package/dist/modules/dock/components/breadcrumbs-card.d.ts +6 -0
- package/dist/modules/dock/components/breadcrumbs-card.d.ts.map +1 -0
- package/dist/modules/dock/components/card-banner.d.ts +4 -0
- package/dist/modules/dock/components/card-banner.d.ts.map +1 -0
- package/dist/modules/dock/components/card-header.d.ts +4 -0
- package/dist/modules/dock/components/card-header.d.ts.map +1 -0
- package/dist/modules/dock/components/card-item.d.ts +3 -0
- package/dist/modules/dock/components/card-item.d.ts.map +1 -0
- package/dist/modules/dock/components/command-bar.d.ts +7 -0
- package/dist/modules/dock/components/command-bar.d.ts.map +1 -0
- package/dist/modules/dock/components/description.d.ts +4 -0
- package/dist/modules/dock/components/description.d.ts.map +1 -0
- package/dist/modules/dock/components/dock.d.ts +4 -0
- package/dist/modules/dock/components/dock.d.ts.map +1 -0
- package/dist/modules/dock/components/hud-view.d.ts +7 -0
- package/dist/modules/dock/components/hud-view.d.ts.map +1 -0
- package/dist/modules/dock/components/icon.d.ts +6 -0
- package/dist/modules/dock/components/icon.d.ts.map +1 -0
- package/dist/modules/dock/components/item-content.d.ts +4 -0
- package/dist/modules/dock/components/item-content.d.ts.map +1 -0
- package/dist/modules/dock/components/media-action.d.ts +4 -0
- package/dist/modules/dock/components/media-action.d.ts.map +1 -0
- package/dist/modules/dock/components/media-controls.d.ts +4 -0
- package/dist/modules/dock/components/media-controls.d.ts.map +1 -0
- package/dist/modules/dock/components/media-scrubber.d.ts +5 -0
- package/dist/modules/dock/components/media-scrubber.d.ts.map +1 -0
- package/dist/modules/dock/components/status-actions.d.ts +10 -0
- package/dist/modules/dock/components/status-actions.d.ts.map +1 -0
- package/dist/modules/dock/components/surface/action.d.ts +17 -0
- package/dist/modules/dock/components/surface/action.d.ts.map +1 -0
- package/dist/modules/dock/components/surface/controls.d.ts +12 -0
- package/dist/modules/dock/components/surface/controls.d.ts.map +1 -0
- package/dist/modules/dock/components/surface/extensions-bar.d.ts +5 -0
- package/dist/modules/dock/components/surface/extensions-bar.d.ts.map +1 -0
- package/dist/modules/dock/components/surface/header-button.d.ts +14 -0
- package/dist/modules/dock/components/surface/header-button.d.ts.map +1 -0
- package/dist/modules/dock/components/surface/item-content.d.ts +6 -0
- package/dist/modules/dock/components/surface/item-content.d.ts.map +1 -0
- package/dist/modules/dock/components/surface/shell.d.ts +3 -0
- package/dist/modules/dock/components/surface/shell.d.ts.map +1 -0
- package/dist/modules/dock/components/title.d.ts +4 -0
- package/dist/modules/dock/components/title.d.ts.map +1 -0
- package/dist/modules/dock/constants.d.ts +11 -2
- package/dist/modules/dock/constants.d.ts.map +1 -1
- package/dist/modules/dock/context.d.ts +8 -2
- package/dist/modules/dock/context.d.ts.map +1 -1
- package/dist/modules/dock/hooks/use-action-slot.d.ts +6 -0
- package/dist/modules/dock/hooks/use-action-slot.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-badge.d.ts +4 -0
- package/dist/modules/dock/hooks/use-badge.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts +18 -0
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-card-header-model.d.ts +7 -0
- package/dist/modules/dock/hooks/use-card-header-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-card-item-model.d.ts +1612 -0
- package/dist/modules/dock/hooks/use-card-item-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts +12 -0
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-banner.d.ts +11 -0
- package/dist/modules/dock/hooks/use-dock-banner.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-config.d.ts +19 -0
- package/dist/modules/dock/hooks/use-dock-config.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts +7 -0
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts +7 -0
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts +6 -0
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts +11 -0
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-registration.d.ts +8 -0
- package/dist/modules/dock/hooks/use-dock-registration.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts +2 -0
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-theme.d.ts +6 -0
- package/dist/modules/dock/hooks/use-dock-theme.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts +6 -0
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-element-height.d.ts +3 -0
- package/dist/modules/dock/hooks/use-element-height.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-hud-registry.d.ts +16 -0
- package/dist/modules/dock/hooks/use-hud-registry.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts +9 -0
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-media-controls-model.d.ts +27 -0
- package/dist/modules/dock/hooks/use-media-controls-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts +27 -0
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts +12 -0
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts.map +1 -0
- package/dist/modules/dock/hooks/use-surface-return.d.ts +8 -0
- package/dist/modules/dock/hooks/use-surface-return.d.ts.map +1 -0
- package/dist/modules/dock/hud.d.ts +8 -34
- package/dist/modules/dock/hud.d.ts.map +1 -1
- package/dist/modules/dock/index.d.ts +18 -12
- package/dist/modules/dock/index.d.ts.map +1 -1
- package/dist/modules/dock/lib/banner.d.ts +43 -0
- package/dist/modules/dock/lib/banner.d.ts.map +1 -0
- package/dist/modules/dock/lib/card-item.d.ts +46 -0
- package/dist/modules/dock/lib/card-item.d.ts.map +1 -0
- package/dist/modules/dock/lib/card.d.ts +20 -0
- package/dist/modules/dock/lib/card.d.ts.map +1 -0
- package/dist/modules/dock/lib/command-bar.d.ts +8 -0
- package/dist/modules/dock/lib/command-bar.d.ts.map +1 -0
- package/dist/modules/dock/lib/dom.d.ts +7 -0
- package/dist/modules/dock/lib/dom.d.ts.map +1 -0
- package/dist/modules/dock/lib/element-helpers.d.ts +8 -0
- package/dist/modules/dock/lib/element-helpers.d.ts.map +1 -0
- package/dist/modules/dock/lib/helpers.d.ts +19 -0
- package/dist/modules/dock/lib/helpers.d.ts.map +1 -0
- package/dist/modules/dock/lib/media.d.ts +35 -0
- package/dist/modules/dock/lib/media.d.ts.map +1 -0
- package/dist/modules/dock/lib/styles.d.ts +902 -0
- package/dist/modules/dock/lib/styles.d.ts.map +1 -0
- package/dist/modules/dock/model/hud-definition.d.ts +13 -0
- package/dist/modules/dock/model/hud-definition.d.ts.map +1 -0
- package/dist/modules/dock/model/hud.d.ts +10 -0
- package/dist/modules/dock/model/hud.d.ts.map +1 -0
- package/dist/modules/dock/model/layout.d.ts +28 -0
- package/dist/modules/dock/model/layout.d.ts.map +1 -0
- package/dist/modules/dock/model/page-entry.d.ts +11 -0
- package/dist/modules/dock/model/page-entry.d.ts.map +1 -0
- package/dist/modules/dock/model/page-surface.d.ts +4 -0
- package/dist/modules/dock/model/page-surface.d.ts.map +1 -0
- package/dist/modules/dock/model/paths.d.ts +15 -0
- package/dist/modules/dock/model/paths.d.ts.map +1 -0
- package/dist/modules/dock/model/state.d.ts +28 -0
- package/dist/modules/dock/model/state.d.ts.map +1 -0
- package/dist/modules/dock/model/surface-return.d.ts +14 -0
- package/dist/modules/dock/model/surface-return.d.ts.map +1 -0
- package/dist/modules/dock/module.d.ts +5 -7
- package/dist/modules/dock/module.d.ts.map +1 -1
- package/dist/modules/dock/motion.d.ts +716 -5
- package/dist/modules/dock/motion.d.ts.map +1 -1
- package/dist/modules/dock/provider.d.ts +2 -1
- package/dist/modules/dock/provider.d.ts.map +1 -1
- package/dist/modules/dock/routing/breadcrumbs.d.ts +6 -2
- package/dist/modules/dock/routing/breadcrumbs.d.ts.map +1 -1
- package/dist/modules/dock/routing/continuity.d.ts +46 -14
- package/dist/modules/dock/routing/continuity.d.ts.map +1 -1
- package/dist/modules/dock/routing/guards.d.ts +10 -1
- package/dist/modules/dock/routing/guards.d.ts.map +1 -1
- package/dist/modules/dock/routing/hooks/use-route-prefetch.d.ts +12 -0
- package/dist/modules/dock/routing/hooks/use-route-prefetch.d.ts.map +1 -0
- package/dist/modules/dock/routing/lib/restore.d.ts +7 -0
- package/dist/modules/dock/routing/lib/restore.d.ts.map +1 -0
- package/dist/modules/dock/routing/model/continuity.d.ts +21 -0
- package/dist/modules/dock/routing/model/continuity.d.ts.map +1 -0
- package/dist/modules/dock/routing/model/policy.d.ts +7 -0
- package/dist/modules/dock/routing/model/policy.d.ts.map +1 -0
- package/dist/modules/dock/routing/model/topology.d.ts +5 -0
- package/dist/modules/dock/routing/model/topology.d.ts.map +1 -0
- package/dist/modules/dock/routing/navigation.d.ts +10 -22
- package/dist/modules/dock/routing/navigation.d.ts.map +1 -1
- package/dist/modules/dock/runtime/commands.d.ts +10 -1
- package/dist/modules/dock/runtime/commands.d.ts.map +1 -1
- package/dist/modules/dock/runtime/display.d.ts +9 -42
- package/dist/modules/dock/runtime/display.d.ts.map +1 -1
- package/dist/modules/dock/runtime/dock.d.ts +11 -70
- package/dist/modules/dock/runtime/dock.d.ts.map +1 -1
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts +10 -0
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts.map +1 -0
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts +10 -0
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts.map +1 -0
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts +14 -0
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts.map +1 -0
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts +7 -0
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts.map +1 -0
- package/dist/modules/dock/runtime/hooks/use-dock.d.ts +30 -0
- package/dist/modules/dock/runtime/hooks/use-dock.d.ts.map +1 -0
- package/dist/modules/dock/runtime/model/attention.d.ts +25 -0
- package/dist/modules/dock/runtime/model/attention.d.ts.map +1 -0
- package/dist/modules/dock/runtime/model/cards.d.ts +64 -0
- package/dist/modules/dock/runtime/model/cards.d.ts.map +1 -0
- package/dist/modules/dock/runtime/model/items.d.ts +31 -0
- package/dist/modules/dock/runtime/model/items.d.ts.map +1 -0
- package/dist/modules/dock/runtime/model/layout.d.ts +10 -0
- package/dist/modules/dock/runtime/model/layout.d.ts.map +1 -0
- package/dist/modules/dock/runtime/pipeline.d.ts +1 -1
- package/dist/modules/dock/runtime/pipeline.d.ts.map +1 -1
- package/dist/modules/dock/runtime/provider-actions.d.ts +38 -0
- package/dist/modules/dock/runtime/provider-actions.d.ts.map +1 -0
- package/dist/modules/dock/status/action-options.d.ts +35 -0
- package/dist/modules/dock/status/action-options.d.ts.map +1 -0
- package/dist/modules/dock/status/events.d.ts +2 -2
- package/dist/modules/dock/status/events.d.ts.map +1 -1
- package/dist/modules/dock/status/hooks.d.ts +1 -1
- package/dist/modules/dock/status/hooks.d.ts.map +1 -1
- package/dist/modules/dock/status/model.d.ts +12 -32
- package/dist/modules/dock/status/model.d.ts.map +1 -1
- package/dist/modules/dock/status/state.d.ts +12 -0
- package/dist/modules/dock/status/state.d.ts.map +1 -0
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts +5 -0
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts.map +1 -0
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts +7 -0
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts.map +1 -0
- package/dist/modules/dock/surface/constants.d.ts +5 -0
- package/dist/modules/dock/surface/constants.d.ts.map +1 -0
- package/dist/modules/dock/surface/context.d.ts +14 -1
- package/dist/modules/dock/surface/context.d.ts.map +1 -1
- package/dist/modules/dock/surface/definition.d.ts +28 -2
- package/dist/modules/dock/surface/definition.d.ts.map +1 -1
- package/dist/modules/dock/surface/helpers.d.ts +2 -1
- package/dist/modules/dock/surface/helpers.d.ts.map +1 -1
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts +15 -0
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts.map +1 -0
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts +7 -0
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts.map +1 -0
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts +14 -0
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts.map +1 -0
- package/dist/modules/dock/surface/hooks/use-surface-flow.d.ts +20 -0
- package/dist/modules/dock/surface/hooks/use-surface-flow.d.ts.map +1 -0
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts +13 -0
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts.map +1 -0
- package/dist/modules/dock/surface/hooks/use-surface-shell-model.d.ts +28 -0
- package/dist/modules/dock/surface/hooks/use-surface-shell-model.d.ts.map +1 -0
- package/dist/modules/dock/surface/lib/drag.d.ts +9 -0
- package/dist/modules/dock/surface/lib/drag.d.ts.map +1 -0
- package/dist/modules/dock/surface/lib/target.d.ts +8 -0
- package/dist/modules/dock/surface/lib/target.d.ts.map +1 -0
- package/dist/modules/dock/surface/machine.d.ts +17 -62
- package/dist/modules/dock/surface/machine.d.ts.map +1 -1
- package/dist/modules/dock/surface/model/builder.d.ts +39 -0
- package/dist/modules/dock/surface/model/builder.d.ts.map +1 -0
- package/dist/modules/dock/surface/model/normalize.d.ts +13 -0
- package/dist/modules/dock/surface/model/normalize.d.ts.map +1 -0
- package/dist/modules/dock/surface/model/open.d.ts +26 -0
- package/dist/modules/dock/surface/model/open.d.ts.map +1 -0
- package/dist/modules/dock/surface/model/records.d.ts +45 -0
- package/dist/modules/dock/surface/model/records.d.ts.map +1 -0
- package/dist/modules/dock/surface/model/steps.d.ts +9 -0
- package/dist/modules/dock/surface/model/steps.d.ts.map +1 -0
- package/dist/modules/dock/surface/model/transition-state.d.ts +23 -0
- package/dist/modules/dock/surface/model/transition-state.d.ts.map +1 -0
- package/dist/modules/dock/surface/model/url.d.ts +14 -0
- package/dist/modules/dock/surface/model/url.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/choreography.d.ts +22 -0
- package/dist/modules/dock/surface/runtime/choreography.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/context.d.ts +29 -0
- package/dist/modules/dock/surface/runtime/context.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/flows.d.ts +21 -0
- package/dist/modules/dock/surface/runtime/flows.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/open.d.ts +6 -0
- package/dist/modules/dock/surface/runtime/open.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/release.d.ts +9 -0
- package/dist/modules/dock/surface/runtime/release.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/steps.d.ts +10 -0
- package/dist/modules/dock/surface/runtime/steps.d.ts.map +1 -0
- package/dist/modules/dock/surface/stack.d.ts +20 -11
- package/dist/modules/dock/surface/stack.d.ts.map +1 -1
- package/dist/modules/dock/surface/view-model.d.ts +5 -1
- package/dist/modules/dock/surface/view-model.d.ts.map +1 -1
- package/dist/modules/dock/types/card.d.ts +297 -0
- package/dist/modules/dock/types/card.d.ts.map +1 -0
- package/dist/modules/dock/types/hud.d.ts +142 -0
- package/dist/modules/dock/types/hud.d.ts.map +1 -0
- package/dist/modules/dock/types/index.d.ts +8 -0
- package/dist/modules/dock/types/index.d.ts.map +1 -0
- package/dist/modules/dock/types/media.d.ts +66 -0
- package/dist/modules/dock/types/media.d.ts.map +1 -0
- package/dist/modules/dock/types/routing.d.ts +336 -0
- package/dist/modules/dock/types/routing.d.ts.map +1 -0
- package/dist/modules/dock/types/surface-flow.d.ts +231 -0
- package/dist/modules/dock/types/surface-flow.d.ts.map +1 -0
- package/dist/modules/dock/types/surface.d.ts +194 -0
- package/dist/modules/dock/types/surface.d.ts.map +1 -0
- package/dist/modules/dock/types/theme.d.ts +201 -0
- package/dist/modules/dock/types/theme.d.ts.map +1 -0
- package/dist/modules/index.d.ts +4 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +23 -18
- package/dist/modules/loading/constants.d.ts +18 -1
- package/dist/modules/loading/constants.d.ts.map +1 -1
- package/dist/modules/loading/context.d.ts +11 -1
- package/dist/modules/loading/context.d.ts.map +1 -1
- package/dist/modules/loading/hooks.d.ts +24 -1
- package/dist/modules/loading/hooks.d.ts.map +1 -1
- package/dist/modules/loading/module.d.ts +6 -0
- package/dist/modules/loading/module.d.ts.map +1 -1
- package/dist/modules/loading/overlay.d.ts +3 -0
- package/dist/modules/loading/overlay.d.ts.map +1 -1
- package/dist/modules/loading/state.d.ts +13 -0
- package/dist/modules/loading/state.d.ts.map +1 -1
- package/dist/modules/loading/types.d.ts +42 -2
- package/dist/modules/loading/types.d.ts.map +1 -1
- package/dist/modules/media/constants.d.ts +19 -0
- package/dist/modules/media/constants.d.ts.map +1 -1
- package/dist/modules/media/context.d.ts +11 -1
- package/dist/modules/media/context.d.ts.map +1 -1
- package/dist/modules/media/hooks.d.ts +17 -0
- package/dist/modules/media/hooks.d.ts.map +1 -1
- package/dist/modules/media/module.d.ts +4 -0
- package/dist/modules/media/module.d.ts.map +1 -1
- package/dist/modules/media/overlay.d.ts +7 -0
- package/dist/modules/media/overlay.d.ts.map +1 -1
- package/dist/modules/media/playback.d.ts +13 -0
- package/dist/modules/media/playback.d.ts.map +1 -1
- package/dist/modules/media/session.d.ts +20 -0
- package/dist/modules/media/session.d.ts.map +1 -1
- package/dist/modules/media/types.d.ts +49 -2
- package/dist/modules/media/types.d.ts.map +1 -1
- package/dist/modules/modal/components/close-button.d.ts +6 -0
- package/dist/modules/modal/components/close-button.d.ts.map +1 -0
- package/dist/modules/modal/components/modal-container.d.ts +7 -0
- package/dist/modules/modal/components/modal-container.d.ts.map +1 -0
- package/dist/modules/modal/components/modal-layer-switcher.d.ts +9 -0
- package/dist/modules/modal/components/modal-layer-switcher.d.ts.map +1 -0
- package/dist/modules/modal/components/modal-layer.d.ts +17 -0
- package/dist/modules/modal/components/modal-layer.d.ts.map +1 -0
- package/dist/modules/modal/components/overlay.d.ts +6 -0
- package/dist/modules/modal/components/overlay.d.ts.map +1 -0
- package/dist/modules/modal/components/resolve-header.d.ts +10 -0
- package/dist/modules/modal/components/resolve-header.d.ts.map +1 -0
- package/dist/modules/modal/components/slot-row.d.ts +12 -0
- package/dist/modules/modal/components/slot-row.d.ts.map +1 -0
- package/dist/modules/modal/constants.d.ts +16 -1
- package/dist/modules/modal/constants.d.ts.map +1 -1
- package/dist/modules/modal/context.d.ts +7 -1
- package/dist/modules/modal/context.d.ts.map +1 -1
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts +3 -0
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts.map +1 -0
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts +12 -0
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts.map +1 -0
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts +3 -0
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts.map +1 -0
- package/dist/modules/modal/hooks.d.ts +30 -4
- package/dist/modules/modal/hooks.d.ts.map +1 -1
- package/dist/modules/modal/index.d.ts +7 -6
- package/dist/modules/modal/index.d.ts.map +1 -1
- package/dist/modules/modal/lib/dom.d.ts +13 -0
- package/dist/modules/modal/lib/dom.d.ts.map +1 -0
- package/dist/modules/modal/lib/theme.d.ts +4 -0
- package/dist/modules/modal/lib/theme.d.ts.map +1 -0
- package/dist/modules/modal/model/entry.d.ts +18 -0
- package/dist/modules/modal/model/entry.d.ts.map +1 -0
- package/dist/modules/modal/model/header.d.ts +16 -0
- package/dist/modules/modal/model/header.d.ts.map +1 -0
- package/dist/modules/modal/model/identity.d.ts +13 -0
- package/dist/modules/modal/model/identity.d.ts.map +1 -0
- package/dist/modules/modal/model/layout.d.ts +37 -0
- package/dist/modules/modal/model/layout.d.ts.map +1 -0
- package/dist/modules/modal/model/state.d.ts +10 -0
- package/dist/modules/modal/model/state.d.ts.map +1 -0
- package/dist/modules/modal/module.d.ts +7 -0
- package/dist/modules/modal/module.d.ts.map +1 -1
- package/dist/modules/modal/motion.d.ts.map +1 -1
- package/dist/modules/modal/types.d.ts +73 -1
- package/dist/modules/modal/types.d.ts.map +1 -1
- package/dist/modules/navigation/context.d.ts +16 -4
- package/dist/modules/navigation/context.d.ts.map +1 -1
- package/dist/modules/navigation/hooks.d.ts +28 -1
- package/dist/modules/navigation/hooks.d.ts.map +1 -1
- package/dist/modules/navigation/index.d.ts +5 -5
- package/dist/modules/navigation/index.d.ts.map +1 -1
- package/dist/modules/navigation/listeners.d.ts +10 -1
- package/dist/modules/navigation/listeners.d.ts.map +1 -1
- package/dist/modules/navigation/module.d.ts +5 -2
- package/dist/modules/navigation/module.d.ts.map +1 -1
- package/dist/modules/notification/constants.d.ts +22 -2
- package/dist/modules/notification/constants.d.ts.map +1 -1
- package/dist/modules/notification/context.d.ts +12 -2
- package/dist/modules/notification/context.d.ts.map +1 -1
- package/dist/modules/notification/hooks.d.ts +32 -1
- package/dist/modules/notification/hooks.d.ts.map +1 -1
- package/dist/modules/notification/module.d.ts +3 -0
- package/dist/modules/notification/module.d.ts.map +1 -1
- package/dist/modules/notification/motion.d.ts.map +1 -1
- package/dist/modules/notification/overlay.d.ts.map +1 -1
- package/dist/modules/notification/state.d.ts +28 -0
- package/dist/modules/notification/state.d.ts.map +1 -1
- package/dist/modules/notification/types.d.ts +48 -2
- package/dist/modules/notification/types.d.ts.map +1 -1
- package/dist/navigation/index.d.ts +1 -0
- package/dist/navigation/index.js +189 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/notification/index.d.ts +1 -0
- package/dist/notification/index.js +11 -0
- package/dist/overlay-QHSJBV3O.js +13 -0
- package/dist/overlay-QHSJBV3O.js.map +1 -0
- package/dist/provider/index.d.ts +1 -0
- package/dist/provider/index.js +14 -0
- package/dist/react/context/index.d.ts +4 -0
- package/dist/react/context/index.d.ts.map +1 -0
- package/dist/react/hooks/index.d.ts +10 -0
- package/dist/react/hooks/index.d.ts.map +1 -0
- package/dist/react/hooks/types.d.ts +25 -0
- package/dist/react/hooks/types.d.ts.map +1 -0
- package/dist/react/hooks/use-click-outside.d.ts +6 -0
- package/dist/react/hooks/use-click-outside.d.ts.map +1 -0
- package/dist/react/hooks/use-controllable-state.d.ts +7 -0
- package/dist/react/hooks/use-controllable-state.d.ts.map +1 -0
- package/dist/react/hooks/use-fullscreen-state.d.ts +7 -0
- package/dist/react/hooks/use-fullscreen-state.d.ts.map +1 -0
- package/dist/react/hooks/use-global-event.d.ts +9 -0
- package/dist/react/hooks/use-global-event.d.ts.map +1 -0
- package/dist/react/hooks/use-hotkey.d.ts +10 -0
- package/dist/react/hooks/use-hotkey.d.ts.map +1 -0
- package/dist/react/hooks/use-required-context.d.ts +6 -0
- package/dist/react/hooks/use-required-context.d.ts.map +1 -0
- package/dist/react/hooks/use-scroll-lock.d.ts +9 -0
- package/dist/react/hooks/use-scroll-lock.d.ts.map +1 -0
- package/dist/react/hooks/use-store.d.ts +3 -0
- package/dist/react/hooks/use-store.d.ts.map +1 -0
- package/dist/react/theme/index.d.ts +82 -0
- package/dist/react/theme/index.d.ts.map +1 -0
- package/dist/react/ui/components/avatar.d.ts +6 -0
- package/dist/react/ui/components/avatar.d.ts.map +1 -0
- package/dist/react/ui/components/button.d.ts +6 -0
- package/dist/react/ui/components/button.d.ts.map +1 -0
- package/dist/react/ui/components/carousel.d.ts +6 -0
- package/dist/react/ui/components/carousel.d.ts.map +1 -0
- package/dist/react/ui/components/checkbox.d.ts +10 -0
- package/dist/react/ui/components/checkbox.d.ts.map +1 -0
- package/dist/react/ui/components/icon.d.ts +6 -0
- package/dist/react/ui/components/icon.d.ts.map +1 -0
- package/dist/react/ui/components/image.d.ts +6 -0
- package/dist/react/ui/components/image.d.ts.map +1 -0
- package/dist/react/ui/components/indicator.d.ts +45 -0
- package/dist/react/ui/components/indicator.d.ts.map +1 -0
- package/dist/react/ui/components/input.d.ts +10 -0
- package/dist/react/ui/components/input.d.ts.map +1 -0
- package/dist/react/ui/components/loader.d.ts +10 -0
- package/dist/react/ui/components/loader.d.ts.map +1 -0
- package/dist/react/ui/components/segmented.d.ts +6 -0
- package/dist/react/ui/components/segmented.d.ts.map +1 -0
- package/dist/react/ui/components/select-parts.d.ts +22 -0
- package/dist/react/ui/components/select-parts.d.ts.map +1 -0
- package/dist/react/ui/components/select.d.ts +6 -0
- package/dist/react/ui/components/select.d.ts.map +1 -0
- package/dist/react/ui/components/skeleton.d.ts +10 -0
- package/dist/react/ui/components/skeleton.d.ts.map +1 -0
- package/dist/react/ui/components/switch.d.ts +6 -0
- package/dist/react/ui/components/switch.d.ts.map +1 -0
- package/dist/react/ui/components/tooltip.d.ts +11 -0
- package/dist/react/ui/components/tooltip.d.ts.map +1 -0
- package/dist/react/ui/index.d.ts +19 -0
- package/dist/react/ui/index.d.ts.map +1 -0
- package/dist/react/ui/provider.d.ts +22 -0
- package/dist/react/ui/provider.d.ts.map +1 -0
- package/dist/react/ui/types-controls.d.ts +133 -0
- package/dist/react/ui/types-controls.d.ts.map +1 -0
- package/dist/react/ui/types.d.ts +192 -0
- package/dist/react/ui/types.d.ts.map +1 -0
- package/dist/react/ui/utils.d.ts +65 -0
- package/dist/react/ui/utils.d.ts.map +1 -0
- package/dist/recipes/index.d.ts +1 -0
- package/dist/recipes/index.js +233 -0
- package/dist/recipes/index.js.map +1 -0
- package/dist/result/index.d.ts +1 -0
- package/dist/result/index.js +98 -0
- package/dist/result/index.js.map +1 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.js +6 -0
- package/dist/ui/index.d.ts +1 -19
- package/dist/ui/index.js +2158 -1860
- package/dist/ui/index.js.map +1 -1
- package/dist/utils/index.d.ts +1 -15
- package/dist/utils/index.js +194 -71
- package/dist/utils/index.js.map +1 -1
- package/docs/README.md +58 -61
- package/docs/architecture-and-rules.md +133 -58
- package/docs/core-engine.md +36 -52
- package/docs/custom-modules.md +43 -32
- package/docs/design.md +185 -0
- package/docs/getting-started.md +49 -57
- package/docs/modules/README.md +50 -61
- package/docs/modules/ambient.md +95 -87
- package/docs/modules/background.md +39 -36
- package/docs/modules/context-menu.md +19 -18
- package/docs/modules/controls.md +13 -13
- package/docs/modules/dock.md +74 -93
- package/docs/modules/error-boundary.md +2 -2
- package/docs/modules/kernel.md +38 -26
- package/docs/modules/loading.md +14 -14
- package/docs/modules/media.md +13 -13
- package/docs/modules/modal.md +14 -14
- package/docs/modules/navigation.md +87 -84
- package/docs/modules/notification.md +13 -13
- package/docs/modules/result.md +22 -22
- package/docs/proposals/navigation.md +32 -31
- package/docs/testing.md +34 -28
- package/docs/theming.md +67 -44
- package/package.json +100 -97
- package/templates/AGENTS.md +35 -25
- package/dist/atoms/button.d.ts +0 -11
- package/dist/atoms/button.d.ts.map +0 -1
- package/dist/atoms/icon.d.ts +0 -15
- package/dist/atoms/icon.d.ts.map +0 -1
- package/dist/atoms/index.d.ts +0 -5
- package/dist/atoms/index.d.ts.map +0 -1
- package/dist/atoms/index.js +0 -4
- package/dist/atoms/spinner.d.ts +0 -9
- package/dist/atoms/spinner.d.ts.map +0 -1
- package/dist/atoms/tooltip.d.ts +0 -18
- package/dist/atoms/tooltip.d.ts.map +0 -1
- package/dist/chunk-6UFMD6TK.js +0 -419
- package/dist/chunk-6UFMD6TK.js.map +0 -1
- package/dist/chunk-AA2TWJQI.js +0 -2186
- package/dist/chunk-AA2TWJQI.js.map +0 -1
- package/dist/chunk-ACLLDU3J.js +0 -888
- package/dist/chunk-ACLLDU3J.js.map +0 -1
- package/dist/chunk-DGCQWQLZ.js +0 -61
- package/dist/chunk-DGCQWQLZ.js.map +0 -1
- package/dist/chunk-E6ANX5YP.js +0 -1273
- package/dist/chunk-E6ANX5YP.js.map +0 -1
- package/dist/chunk-GDCVEINL.js +0 -408
- package/dist/chunk-GDCVEINL.js.map +0 -1
- package/dist/chunk-GN666KV5.js +0 -28
- package/dist/chunk-GN666KV5.js.map +0 -1
- package/dist/chunk-HCSDQEFB.js +0 -845
- package/dist/chunk-HCSDQEFB.js.map +0 -1
- package/dist/chunk-HMEWYAWU.js +0 -1889
- package/dist/chunk-HMEWYAWU.js.map +0 -1
- package/dist/chunk-I3IZUBBU.js +0 -97
- package/dist/chunk-I3IZUBBU.js.map +0 -1
- package/dist/chunk-JCZUCKI3.js +0 -27
- package/dist/chunk-JCZUCKI3.js.map +0 -1
- package/dist/chunk-MAGYFVKH.js +0 -67
- package/dist/chunk-MAGYFVKH.js.map +0 -1
- package/dist/chunk-NEBGCFE3.js +0 -521
- package/dist/chunk-NEBGCFE3.js.map +0 -1
- package/dist/chunk-NK2DQB3G.js +0 -306
- package/dist/chunk-NK2DQB3G.js.map +0 -1
- package/dist/chunk-QI3ALLIB.js +0 -38
- package/dist/chunk-QI3ALLIB.js.map +0 -1
- package/dist/chunk-QM2P6TIU.js +0 -353
- package/dist/chunk-QM2P6TIU.js.map +0 -1
- package/dist/chunk-RFP2DJAB.js +0 -658
- package/dist/chunk-RFP2DJAB.js.map +0 -1
- package/dist/chunk-SQ7XZMCN.js +0 -481
- package/dist/chunk-SQ7XZMCN.js.map +0 -1
- package/dist/chunk-TMTMQNEQ.js +0 -372
- package/dist/chunk-TMTMQNEQ.js.map +0 -1
- package/dist/chunk-VDNE3A7X.js +0 -9724
- package/dist/chunk-VDNE3A7X.js.map +0 -1
- package/dist/chunk-XATRMFGU.js +0 -139
- package/dist/chunk-XATRMFGU.js.map +0 -1
- package/dist/chunk-ZAP2YHZG.js +0 -454
- package/dist/chunk-ZAP2YHZG.js.map +0 -1
- package/dist/chunk-ZH5FUYPG.js +0 -349
- package/dist/chunk-ZH5FUYPG.js.map +0 -1
- package/dist/chunk-ZKM4RETZ.js +0 -51
- package/dist/chunk-ZKM4RETZ.js.map +0 -1
- package/dist/error/boundary.d.ts +0 -14
- package/dist/error/boundary.d.ts.map +0 -1
- package/dist/error/constants.d.ts +0 -18
- package/dist/error/constants.d.ts.map +0 -1
- package/dist/error/index.d.ts.map +0 -1
- package/dist/error/listener.d.ts +0 -2
- package/dist/error/listener.d.ts.map +0 -1
- package/dist/error/reporter.d.ts +0 -32
- package/dist/error/reporter.d.ts.map +0 -1
- package/dist/error/theme.d.ts +0 -3
- package/dist/error/theme.d.ts.map +0 -1
- package/dist/error/types.d.ts +0 -91
- package/dist/error/types.d.ts.map +0 -1
- package/dist/error/utils.d.ts +0 -21
- package/dist/error/utils.d.ts.map +0 -1
- package/dist/events.d.ts +0 -51
- package/dist/events.d.ts.map +0 -1
- package/dist/events.js +0 -82
- package/dist/events.js.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/types.d.ts +0 -16
- package/dist/hooks/types.d.ts.map +0 -1
- package/dist/hooks/use-click-outside.d.ts +0 -3
- package/dist/hooks/use-click-outside.d.ts.map +0 -1
- package/dist/hooks/use-controllable-state.d.ts +0 -3
- package/dist/hooks/use-controllable-state.d.ts.map +0 -1
- package/dist/hooks/use-fullscreen-state.d.ts +0 -4
- package/dist/hooks/use-fullscreen-state.d.ts.map +0 -1
- package/dist/hooks/use-global-event.d.ts +0 -5
- package/dist/hooks/use-global-event.d.ts.map +0 -1
- package/dist/hooks/use-hotkey.d.ts +0 -4
- package/dist/hooks/use-hotkey.d.ts.map +0 -1
- package/dist/hooks/use-isomorphic-layout-effect.d.ts +0 -3
- package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +0 -1
- package/dist/hooks/use-required-context.d.ts +0 -3
- package/dist/hooks/use-required-context.d.ts.map +0 -1
- package/dist/hooks/use-scroll-lock.d.ts +0 -3
- package/dist/hooks/use-scroll-lock.d.ts.map +0 -1
- package/dist/hooks/use-store.d.ts +0 -3
- package/dist/hooks/use-store.d.ts.map +0 -1
- package/dist/kernel/adapters.d.ts +0 -5
- package/dist/kernel/adapters.d.ts.map +0 -1
- package/dist/kernel/compose.d.ts +0 -15
- package/dist/kernel/compose.d.ts.map +0 -1
- package/dist/kernel/constants.d.ts +0 -12
- package/dist/kernel/constants.d.ts.map +0 -1
- package/dist/kernel/context-registry.d.ts +0 -3
- package/dist/kernel/context-registry.d.ts.map +0 -1
- package/dist/kernel/handlers.d.ts +0 -3
- package/dist/kernel/handlers.d.ts.map +0 -1
- package/dist/kernel/hooks.d.ts +0 -7
- package/dist/kernel/hooks.d.ts.map +0 -1
- package/dist/kernel/index.d.ts.map +0 -1
- package/dist/kernel/installed.d.ts +0 -21
- package/dist/kernel/installed.d.ts.map +0 -1
- package/dist/kernel/module.d.ts +0 -32
- package/dist/kernel/module.d.ts.map +0 -1
- package/dist/kernel/operations.d.ts +0 -21
- package/dist/kernel/operations.d.ts.map +0 -1
- package/dist/kernel/page-controller.d.ts +0 -8
- package/dist/kernel/page-controller.d.ts.map +0 -1
- package/dist/kernel/provider.d.ts +0 -18
- package/dist/kernel/provider.d.ts.map +0 -1
- package/dist/kernel/runtime.d.ts.map +0 -1
- package/dist/kernel/schema.d.ts +0 -11
- package/dist/kernel/schema.d.ts.map +0 -1
- package/dist/kernel/store.d.ts +0 -4
- package/dist/kernel/store.d.ts.map +0 -1
- package/dist/kernel/types.d.ts +0 -233
- package/dist/kernel/types.d.ts.map +0 -1
- package/dist/kernel/utils.d.ts +0 -18
- package/dist/kernel/utils.d.ts.map +0 -1
- package/dist/modules/ambient/index.js +0 -10
- package/dist/modules/ambient/server/index.js +0 -225
- package/dist/modules/ambient/server/index.js.map +0 -1
- package/dist/modules/ambient/worker/index.js +0 -122
- package/dist/modules/ambient/worker/index.js.map +0 -1
- package/dist/modules/background/index.js +0 -9
- package/dist/modules/background/overlay.d.ts +0 -135
- package/dist/modules/background/overlay.d.ts.map +0 -1
- package/dist/modules/background/playback.d.ts +0 -10
- package/dist/modules/background/playback.d.ts.map +0 -1
- package/dist/modules/background/state.d.ts +0 -9
- package/dist/modules/background/state.d.ts.map +0 -1
- package/dist/modules/background/visual.d.ts +0 -48
- package/dist/modules/background/visual.d.ts.map +0 -1
- package/dist/modules/background/youtube/iframe.d.ts +0 -52
- package/dist/modules/background/youtube/iframe.d.ts.map +0 -1
- package/dist/modules/background/youtube/parse.d.ts +0 -17
- package/dist/modules/background/youtube/parse.d.ts.map +0 -1
- package/dist/modules/background/youtube/player.d.ts +0 -28
- package/dist/modules/background/youtube/player.d.ts.map +0 -1
- package/dist/modules/context-menu/index.js +0 -14
- package/dist/modules/controls/index.js +0 -7
- package/dist/modules/dock/cards.d.ts +0 -1722
- package/dist/modules/dock/cards.d.ts.map +0 -1
- package/dist/modules/dock/dom.d.ts +0 -24
- package/dist/modules/dock/dom.d.ts.map +0 -1
- package/dist/modules/dock/helpers.d.ts +0 -25
- package/dist/modules/dock/helpers.d.ts.map +0 -1
- package/dist/modules/dock/hooks.d.ts +0 -42
- package/dist/modules/dock/hooks.d.ts.map +0 -1
- package/dist/modules/dock/index.js +0 -13
- package/dist/modules/dock/layout.d.ts +0 -26
- package/dist/modules/dock/layout.d.ts.map +0 -1
- package/dist/modules/dock/overlay.d.ts +0 -79
- package/dist/modules/dock/overlay.d.ts.map +0 -1
- package/dist/modules/dock/paths.d.ts +0 -10
- package/dist/modules/dock/paths.d.ts.map +0 -1
- package/dist/modules/dock/state.d.ts +0 -22
- package/dist/modules/dock/state.d.ts.map +0 -1
- package/dist/modules/dock/styles.d.ts +0 -900
- package/dist/modules/dock/styles.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks.d.ts +0 -110
- package/dist/modules/dock/surface/hooks.d.ts.map +0 -1
- package/dist/modules/dock/types.d.ts +0 -1274
- package/dist/modules/dock/types.d.ts.map +0 -1
- package/dist/modules/loading/index.js +0 -8
- package/dist/modules/media/index.js +0 -6
- package/dist/modules/modal/dom.d.ts +0 -4
- package/dist/modules/modal/dom.d.ts.map +0 -1
- package/dist/modules/modal/header.d.ts +0 -7
- package/dist/modules/modal/header.d.ts.map +0 -1
- package/dist/modules/modal/identity.d.ts +0 -7
- package/dist/modules/modal/identity.d.ts.map +0 -1
- package/dist/modules/modal/index.js +0 -11
- package/dist/modules/modal/layout.d.ts +0 -13
- package/dist/modules/modal/layout.d.ts.map +0 -1
- package/dist/modules/modal/overlay.d.ts +0 -4
- package/dist/modules/modal/overlay.d.ts.map +0 -1
- package/dist/modules/modal/state.d.ts +0 -4
- package/dist/modules/modal/state.d.ts.map +0 -1
- package/dist/modules/navigation/constants.d.ts +0 -33
- package/dist/modules/navigation/constants.d.ts.map +0 -1
- package/dist/modules/navigation/index.js +0 -80
- package/dist/modules/navigation/index.js.map +0 -1
- package/dist/modules/navigation/navigator.d.ts +0 -3
- package/dist/modules/navigation/navigator.d.ts.map +0 -1
- package/dist/modules/navigation/settings.d.ts +0 -5
- package/dist/modules/navigation/settings.d.ts.map +0 -1
- package/dist/modules/navigation/state.d.ts +0 -19
- package/dist/modules/navigation/state.d.ts.map +0 -1
- package/dist/modules/navigation/types.d.ts +0 -118
- package/dist/modules/navigation/types.d.ts.map +0 -1
- package/dist/modules/navigation/utils.d.ts +0 -8
- package/dist/modules/navigation/utils.d.ts.map +0 -1
- package/dist/modules/notification/index.js +0 -7
- package/dist/overlay-LTRZUZQD.js +0 -9
- package/dist/overlay-LTRZUZQD.js.map +0 -1
- package/dist/provider.d.ts +0 -23
- package/dist/provider.d.ts.map +0 -1
- package/dist/provider.js +0 -9
- package/dist/provider.js.map +0 -1
- package/dist/result.d.ts +0 -50
- package/dist/result.d.ts.map +0 -1
- package/dist/result.js +0 -102
- package/dist/result.js.map +0 -1
- package/dist/theme.d.ts +0 -46
- package/dist/theme.d.ts.map +0 -1
- package/dist/theme.js +0 -6
- package/dist/theme.js.map +0 -1
- package/dist/tokens/index.d.ts +0 -4
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens/index.js +0 -297
- package/dist/tokens/index.js.map +0 -1
- package/dist/tokens/motion-config.d.ts +0 -35
- package/dist/tokens/motion-config.d.ts.map +0 -1
- package/dist/tokens/motion.d.ts +0 -164
- package/dist/tokens/motion.d.ts.map +0 -1
- package/dist/tokens/tokens.d.ts +0 -34
- package/dist/tokens/tokens.d.ts.map +0 -1
- package/dist/ui/carousel/carousel.d.ts +0 -24
- package/dist/ui/carousel/carousel.d.ts.map +0 -1
- package/dist/ui/carousel/track.d.ts +0 -11
- package/dist/ui/carousel/track.d.ts.map +0 -1
- package/dist/ui/carousel/use-drag-scroll.d.ts +0 -3
- package/dist/ui/carousel/use-drag-scroll.d.ts.map +0 -1
- package/dist/ui/cn.d.ts +0 -19
- package/dist/ui/cn.d.ts.map +0 -1
- package/dist/ui/components/avatar.d.ts +0 -14
- package/dist/ui/components/avatar.d.ts.map +0 -1
- package/dist/ui/components/button.d.ts +0 -9
- package/dist/ui/components/button.d.ts.map +0 -1
- package/dist/ui/components/checkbox.d.ts +0 -18
- package/dist/ui/components/checkbox.d.ts.map +0 -1
- package/dist/ui/components/icon.d.ts +0 -4
- package/dist/ui/components/icon.d.ts.map +0 -1
- package/dist/ui/components/image.d.ts +0 -13
- package/dist/ui/components/image.d.ts.map +0 -1
- package/dist/ui/components/indicator.d.ts +0 -37
- package/dist/ui/components/indicator.d.ts.map +0 -1
- package/dist/ui/components/input.d.ts +0 -15
- package/dist/ui/components/input.d.ts.map +0 -1
- package/dist/ui/components/loader.d.ts +0 -17
- package/dist/ui/components/loader.d.ts.map +0 -1
- package/dist/ui/components/segmented.d.ts +0 -21
- package/dist/ui/components/segmented.d.ts.map +0 -1
- package/dist/ui/components/select.d.ts +0 -34
- package/dist/ui/components/select.d.ts.map +0 -1
- package/dist/ui/components/skeleton.d.ts +0 -16
- package/dist/ui/components/skeleton.d.ts.map +0 -1
- package/dist/ui/components/switch.d.ts +0 -11
- package/dist/ui/components/switch.d.ts.map +0 -1
- package/dist/ui/components/tooltip.d.ts +0 -25
- package/dist/ui/components/tooltip.d.ts.map +0 -1
- package/dist/ui/defaults.d.ts +0 -250
- package/dist/ui/defaults.d.ts.map +0 -1
- package/dist/ui/define.d.ts +0 -112
- package/dist/ui/define.d.ts.map +0 -1
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/provider.d.ts +0 -11
- package/dist/ui/provider.d.ts.map +0 -1
- package/dist/ui/recipe.d.ts +0 -70
- package/dist/ui/recipe.d.ts.map +0 -1
- package/dist/ui/recipes.d.ts +0 -9
- package/dist/ui/recipes.d.ts.map +0 -1
- package/dist/ui/recipes.js +0 -648
- package/dist/ui/recipes.js.map +0 -1
- package/dist/ui/split.d.ts +0 -4
- package/dist/ui/split.d.ts.map +0 -1
- package/dist/ui/tones.d.ts +0 -23
- package/dist/ui/tones.d.ts.map +0 -1
- package/dist/utils/cn.d.ts +0 -3
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/dom.d.ts +0 -5
- package/dist/utils/dom.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/number.d.ts +0 -3
- package/dist/utils/number.d.ts.map +0 -1
- package/dist/utils/object.d.ts +0 -5
- package/dist/utils/object.d.ts.map +0 -1
- package/dist/utils/report.d.ts +0 -5
- package/dist/utils/report.d.ts.map +0 -1
- package/dist/utils/scheduler.d.ts +0 -34
- package/dist/utils/scheduler.d.ts.map +0 -1
- package/dist/utils/store.d.ts +0 -11
- package/dist/utils/store.d.ts.map +0 -1
- package/dist/utils/string.d.ts +0 -5
- package/dist/utils/string.d.ts.map +0 -1
- package/dist/utils/timing.d.ts +0 -7
- package/dist/utils/timing.d.ts.map +0 -1
- package/dist/utils/user-message.d.ts +0 -20
- package/dist/utils/user-message.d.ts.map +0 -1
- package/docs/ui.md +0 -183
- package/styles/effects.css +0 -219
- package/styles/index.css +0 -8
- package/styles/interaction.css +0 -273
- package/styles/palette.css +0 -81
- package/styles/time.css +0 -26
- package/styles/tokens.css +0 -114
- package/styles/utilities.css +0 -110
- package/templates/motion/background.ts +0 -15
- package/templates/motion/context-menu.ts +0 -65
- package/templates/motion/dock.ts +0 -421
- package/templates/motion/modal.ts +0 -82
- package/templates/motion/notification.ts +0 -26
- package/templates/motion/tokens.ts +0 -36
- /package/dist/{atoms → ambient}/index.js.map +0 -0
- /package/dist/{modules/ambient → background}/index.js.map +0 -0
- /package/dist/{modules/background → context-menu}/index.js.map +0 -0
- /package/dist/{modules/context-menu → controls}/index.js.map +0 -0
- /package/dist/{kernel → core/kernel}/runtime.d.ts +0 -0
- /package/dist/{modules/controls → dock}/index.js.map +0 -0
- /package/dist/{modules/dock → loading}/index.js.map +0 -0
- /package/dist/{modules/loading → media}/index.js.map +0 -0
- /package/dist/{modules/media → notification}/index.js.map +0 -0
- /package/dist/{modules/modal → provider}/index.js.map +0 -0
- /package/dist/{modules/notification → theme}/index.js.map +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DockItem } from "../../types";
|
|
2
|
+
export declare function useDockSurfaceControlsModel({ activeItem, surfacePhase: propSurfacePhase, }: {
|
|
3
|
+
activeItem?: DockItem | null;
|
|
4
|
+
hasExtensions?: boolean;
|
|
5
|
+
onClose?: (() => void) | null;
|
|
6
|
+
onBack?: (() => void) | null;
|
|
7
|
+
closeLabel?: string | null;
|
|
8
|
+
backLabel?: string | null;
|
|
9
|
+
className?: string;
|
|
10
|
+
surfacePhase?: string;
|
|
11
|
+
}): {
|
|
12
|
+
isBodyVisible: boolean;
|
|
13
|
+
dynamicAction: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=use-surface-controls-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-surface-controls-model.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/hooks/use-surface-controls-model.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAM5C,wBAAgB,2BAA2B,CAAC,EAC1C,UAAiB,EACjB,YAAY,EAAE,gBAAgB,GAC/B,EAAE;IACD,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;;EAmBA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DockItem, NormalizedSurfaceExtension } from "../../types";
|
|
2
|
+
export declare function useDockSurfaceExtensionsBarModel({ activeItem, }: {
|
|
3
|
+
activeItem?: DockItem | null;
|
|
4
|
+
}): {
|
|
5
|
+
allExtensions: NormalizedSurfaceExtension[];
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=use-surface-extensions-bar-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-surface-extensions-bar-model.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/hooks/use-surface-extensions-bar-model.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAOxE,wBAAgB,gCAAgC,CAAC,EAC/C,UAAU,GACX,EAAE;IACD,UAAU,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC9B;;EA0BA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import type { DockComponentProps, DockItem } from "../../types";
|
|
3
|
+
export declare function useDockSurfaceExtension({ align, children, className, component, id, order, props: extensionProps, unstyled, }: {
|
|
4
|
+
align?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
component?: ComponentType<DockComponentProps> | null;
|
|
8
|
+
id?: string;
|
|
9
|
+
order?: number;
|
|
10
|
+
props?: DockComponentProps;
|
|
11
|
+
unstyled?: boolean;
|
|
12
|
+
}): void;
|
|
13
|
+
export declare function useIsSurfaceExtensionsVisible(activeItem: DockItem | null | undefined): boolean;
|
|
14
|
+
//# sourceMappingURL=use-surface-extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-surface-extensions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/hooks/use-surface-extensions.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAUhE,wBAAgB,uBAAuB,CAAC,EACtC,KAAc,EACd,QAAQ,EACR,SAAc,EACd,SAAS,EACT,EAAE,EACF,KAAS,EACT,KAAK,EAAE,cAAc,EACrB,QAAgB,GACjB,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,QAkCA;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,GACtC,OAAO,CAqBT"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SurfaceFlowDefinitionInput, SurfaceFlowState, SurfaceResult } from "../../types";
|
|
2
|
+
/**
|
|
3
|
+
* Binds a component to a named surface flow: tracks its state and exposes
|
|
4
|
+
* open, update, complete and cancel controls. Restores the flow from the URL
|
|
5
|
+
* the first time each flow id is seen.
|
|
6
|
+
*
|
|
7
|
+
* Pass a stable `input` (module constant or memoized): a new object each
|
|
8
|
+
* render rebuilds the flow definition.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useSurfaceFlow(input: SurfaceFlowDefinitionInput): {
|
|
11
|
+
activeFlow: SurfaceFlowState | null;
|
|
12
|
+
cancel: (result?: SurfaceResult) => boolean | undefined;
|
|
13
|
+
complete: (result?: SurfaceResult) => boolean | undefined;
|
|
14
|
+
flowId: string | null;
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
open: (flowInput?: unknown) => Promise<SurfaceResult>;
|
|
17
|
+
snapshot: {} | null;
|
|
18
|
+
update: (snapshot: unknown) => boolean | undefined;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=use-surface-flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-surface-flow.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/hooks/use-surface-flow.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,0BAA0B,EAC1B,gBAAgB,EAChB,aAAa,EACd,MAAM,aAAa,CAAC;AAOrB;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,0BAA0B;;sBA8CzC,aAAa;wBAEX,aAAa;;;uBArBtB,OAAO,KAAU,OAAO,CAAC,aAAa,CAAC;;uBA2B9B,OAAO;EAK/B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { DockIconSource } from "../../types";
|
|
3
|
+
export declare function useDockSurfaceHeaderButtonModel(_props: {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
icon?: DockIconSource;
|
|
10
|
+
}): {
|
|
11
|
+
contextRadius: string | null;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-surface-header-button-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-surface-header-button-model.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/hooks/use-surface-header-button-model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAO,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,wBAAgB,+BAA+B,CAAC,MAAM,EAAE;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;;EAIA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PanInfo } from "motion/react";
|
|
2
|
+
import type { DockSurfaceShellProps } from "../../types";
|
|
3
|
+
export declare function useDockSurfaceShellModel({ ref, onClose, allowSwipeDismiss, isActive, surfaceId, surfacePhase, surfaceWidth, }: DockSurfaceShellProps): {
|
|
4
|
+
setSurfaceElementRef: (node: HTMLElement | null) => void;
|
|
5
|
+
titleId: string | undefined;
|
|
6
|
+
dragY: import("motion-dom").MotionValue<number>;
|
|
7
|
+
dragOpacity: import("motion-dom").MotionValue<number>;
|
|
8
|
+
dragScale: import("motion-dom").MotionValue<number>;
|
|
9
|
+
handleDragEnd: (_event: unknown, info: PanInfo) => void;
|
|
10
|
+
dragControls: import("framer-motion").DragControls;
|
|
11
|
+
canDragDismiss: boolean;
|
|
12
|
+
handleSurfacePointerDown: (event: React.PointerEvent<HTMLElement>) => void;
|
|
13
|
+
isBodyVisible: boolean;
|
|
14
|
+
bodyVariants: {
|
|
15
|
+
hidden: import("motion-dom").Variant;
|
|
16
|
+
visible: {
|
|
17
|
+
transition: import("motion-dom").Transition;
|
|
18
|
+
};
|
|
19
|
+
exit: {
|
|
20
|
+
transition: import("motion-dom").Transition;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
surfaceItemValue: {
|
|
24
|
+
id: string | number;
|
|
25
|
+
width: string | number | null;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=use-surface-shell-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-surface-shell-model.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/hooks/use-surface-shell-model.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,OAAO,EAIb,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAuBzD,wBAAgB,wBAAwB,CAAC,EACvC,GAAG,EACH,OAAc,EACd,iBAAwB,EACxB,QAAe,EACf,SAAgB,EAChB,YAAsC,EACtC,YAAmB,GACpB,EAAE,qBAAqB;iCAIb,WAAW,GAAG,IAAI;;;;;4BA2BI,OAAO,QAAQ,OAAO;;;sCAkBZ,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;EA2CzE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PanInfo } from "motion/react";
|
|
2
|
+
/** Elements that keep their own pointer handling and must not start a drag. */
|
|
3
|
+
export declare const SURFACE_DRAG_IGNORE_SELECTOR = "input, textarea, select, [role=\"slider\"], [data-no-surface-drag], [data-lenis-prevent]";
|
|
4
|
+
/** True when a drag ended far or fast enough to dismiss the surface. */
|
|
5
|
+
export declare function isSwipeDismissGesture(info: PanInfo, dismiss: {
|
|
6
|
+
offset: number;
|
|
7
|
+
velocity: number;
|
|
8
|
+
}): boolean;
|
|
9
|
+
//# sourceMappingURL=drag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/lib/drag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,+EAA+E;AAC/E,eAAO,MAAM,4BAA4B,6FACiD,CAAC;AAE3F,wEAAwE;AACxE,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,EACb,OAAO,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,WAG9C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DockComponentProps, SurfaceDescriptor, UseSurfaceInput } from "../../types";
|
|
2
|
+
/** Component a `useSurface` argument refers to, or null when it has none. */
|
|
3
|
+
export declare function resolveSurfaceTargetComponent(surfaceDefinition: UseSurfaceInput): unknown;
|
|
4
|
+
/** Builds the descriptor to open for a `useSurface` argument. */
|
|
5
|
+
export declare function createSurfaceOpenEntry(surfaceDefinition: UseSurfaceInput, props: DockComponentProps | undefined, overrides: Partial<SurfaceDescriptor> | undefined): SurfaceDescriptor;
|
|
6
|
+
/** Resolves a value that may be given directly or derived from props. */
|
|
7
|
+
export declare function resolveFromProps<T>(value: T | ((props: DockComponentProps) => T), props: DockComponentProps): T;
|
|
8
|
+
//# sourceMappingURL=target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/lib/target.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,6EAA6E;AAC7E,wBAAgB,6BAA6B,CAC3C,iBAAiB,EAAE,eAAe,GACjC,OAAO,CAKT;AAED,iEAAiE;AACjE,wBAAgB,sBAAsB,CACpC,iBAAiB,EAAE,eAAe,EAClC,KAAK,EAAE,kBAAkB,GAAG,SAAS,EACrC,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAChD,iBAAiB,CAUnB;AAED,yEAAyE;AACzE,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,kBAAkB,KAAK,CAAC,CAAC,EAC7C,KAAK,EAAE,kBAAkB,GACxB,CAAC,CAIH"}
|
|
@@ -1,68 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
onClose: SurfacePayload["onClose"] | null;
|
|
7
|
-
promise: Promise<SurfaceResult> | null;
|
|
8
|
-
resolve: ((result: SurfaceResult) => void) | null;
|
|
9
|
-
urlState: SurfaceUrlState | null;
|
|
10
|
-
}
|
|
11
|
-
export interface SurfaceRuntimeRefs {
|
|
12
|
-
flowIndex: Map<string, SurfaceId>;
|
|
13
|
-
payloads: Map<string, SurfacePayload>;
|
|
14
|
-
records: Map<SurfaceId, SurfaceRecord>;
|
|
15
|
-
stackRef: {
|
|
16
|
-
current: SurfaceStackEntry[];
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export declare function createSurfaceMaps(): Omit<SurfaceRuntimeRefs, "stackRef">;
|
|
20
|
-
export declare function createSurfaceRecord(entry: SurfaceStackEntry, flow?: SurfaceFlowSession | null): SurfaceRecord;
|
|
21
|
-
type SurfaceUrlSource = Pick<SurfaceStackEntry, "flow" | "syncWithUrl" | "urlKey">;
|
|
22
|
-
export declare const IS_BROWSER: boolean;
|
|
23
|
-
export declare function getSurfaceUrlValue(surfaceEntry: SurfaceUrlSource | null | undefined): string;
|
|
24
|
-
export declare function toSurfaceFlowState(session: SurfaceFlowSession | null | undefined): SurfaceFlowState | null;
|
|
25
|
-
export declare function getRestorableSurfaceFlowSnapshot(definition: SurfaceFlowDefinition | null): Record<string, unknown> | null | undefined;
|
|
26
|
-
export declare function syncSurfaceUrl(surfaceEntry: SurfaceUrlSource, isOpening: boolean, urlState?: SurfaceUrlState | null): void;
|
|
27
|
-
export declare function syncSurfaceFlowUrlState(surfaceEntry: SurfaceUrlSource, urlState?: SurfaceUrlState | null): void;
|
|
28
|
-
export declare function releaseSurfaceResources({ refs, result, surfaceId, }: {
|
|
29
|
-
refs: SurfaceRuntimeRefs;
|
|
30
|
-
result: SurfaceResult;
|
|
31
|
-
surfaceId: SurfaceId;
|
|
32
|
-
}): {
|
|
33
|
-
flow: SurfaceFlowSession | null;
|
|
34
|
-
focusOrigin: HTMLElement | null;
|
|
35
|
-
};
|
|
36
|
-
export type SurfacePayloadMap = Map<string, SurfacePayload>;
|
|
37
|
-
export declare function resolveSurfaceEntry(entry: SurfaceStackEntry, payloadMap: SurfacePayloadMap | null): ResolvedSurfaceEntry;
|
|
38
|
-
export declare function resolveSurfaceEntry(entry: SurfaceStackEntry | null | undefined, payloadMap: SurfacePayloadMap | null): ResolvedSurfaceEntry | null;
|
|
39
|
-
export declare function createSurfaceState(surfaceStack?: SurfaceStackEntry[], payloadMap?: SurfacePayloadMap | null, surfacePhase?: string): SurfaceState;
|
|
40
|
-
export declare function getTargetSurfaceId(surfaceStack: SurfaceStackEntry[], targetSurfaceId?: SurfaceId | null): SurfaceId | null;
|
|
41
|
-
export declare function findSurfaceEntry(surfaceStack: SurfaceStackEntry[], surfaceId: SurfaceId): SurfaceStackEntry | null;
|
|
42
|
-
export declare function updateSurfaceStackEntry(surfaceStack: SurfaceStackEntry[], surfaceId: SurfaceId, updateEntry: (entry: SurfaceStackEntry) => SurfaceStackEntry): SurfaceStackEntry[];
|
|
43
|
-
export declare function createSurfaceRuntimeEntry(surfaceId: SurfaceId, definition: NormalizedSurfaceDefinition, flowSession?: SurfaceFlowSession | null): {
|
|
44
|
-
payload: SurfacePayload;
|
|
45
|
-
surfaceEntry: SurfaceStackEntry;
|
|
46
|
-
};
|
|
47
|
-
export declare const initialSurfaceState: SurfaceState;
|
|
48
|
-
export declare function createSurfaceLifecycleState(): SurfaceLifecycleState;
|
|
49
|
-
export declare const SURFACE_TRANSITION_EVENTS: Readonly<{
|
|
50
|
-
readonly ADVANCE: "surface-transition:advance";
|
|
51
|
-
readonly CLOSE: "surface-transition:close";
|
|
52
|
-
readonly CLOSE_ALL: "surface-transition:close-all";
|
|
53
|
-
readonly OPEN: "surface-transition:open";
|
|
54
|
-
}>;
|
|
55
|
-
export declare const SURFACE_TRANSITION_EFFECTS: Readonly<{
|
|
56
|
-
readonly MOUNT: "surface-transition:mount";
|
|
57
|
-
readonly RELEASE: "surface-transition:release";
|
|
58
|
-
readonly SCHEDULE: "surface-transition:schedule";
|
|
59
|
-
}>;
|
|
60
|
-
export declare function createSurfaceTransitionState(input?: Partial<SurfaceTransitionState> | null): SurfaceTransitionState;
|
|
1
|
+
import type { DockScheduler, DockSurfaceTimings, SurfaceTransitionEffect, SurfaceTransitionEvent, SurfaceTransitionResult, SurfaceTransitionState } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* Pure transition function of the surface choreography: given the current
|
|
4
|
+
* state and an event, returns the next state and the effects to run.
|
|
5
|
+
*/
|
|
61
6
|
export declare function transitionSurface(currentState: Partial<SurfaceTransitionState> | null, event: Partial<SurfaceTransitionEvent>, timings: DockSurfaceTimings): SurfaceTransitionResult;
|
|
7
|
+
interface TransitionRunnerDeps {
|
|
8
|
+
onEffect: (effect: SurfaceTransitionEffect, state: SurfaceTransitionState) => void;
|
|
9
|
+
onTransition: (state: SurfaceTransitionState, event: SurfaceTransitionEvent) => void;
|
|
10
|
+
scheduler: DockScheduler;
|
|
11
|
+
timings: DockSurfaceTimings;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Runs a surface transition against a scheduler. Returns a controller to
|
|
15
|
+
* dispatch further events, finish synchronously or cancel pending steps.
|
|
16
|
+
*/
|
|
62
17
|
export declare function runSurfaceTransition({ event, onEffect, onTransition, scheduler, state, timings, }: {
|
|
63
18
|
event?: SurfaceTransitionEvent;
|
|
64
|
-
onEffect?:
|
|
65
|
-
onTransition?:
|
|
19
|
+
onEffect?: TransitionRunnerDeps["onEffect"];
|
|
20
|
+
onTransition?: TransitionRunnerDeps["onTransition"];
|
|
66
21
|
scheduler?: DockScheduler;
|
|
67
22
|
state?: Partial<SurfaceTransitionState> | null;
|
|
68
23
|
timings: DockSurfaceTimings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/machine.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../../../src/modules/dock/surface/machine.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAyNlB;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAI,EACpD,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,EACtC,OAAO,EAAE,kBAAkB,GAC1B,uBAAuB,CAczB;AASD,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,CACR,MAAM,EAAE,uBAAuB,EAC/B,KAAK,EAAE,sBAAsB,KAC1B,IAAI,CAAC;IACV,YAAY,EAAE,CACZ,KAAK,EAAE,sBAAsB,EAC7B,KAAK,EAAE,sBAAsB,KAC1B,IAAI,CAAC;IACV,SAAS,EAAE,aAAa,CAAC;IACzB,OAAO,EAAE,kBAAkB,CAAC;CAC7B;AAgED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAmB,EACnB,YAAuB,EACvB,SAAiC,EACjC,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,CAAC,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;IAC/C,OAAO,EAAE,kBAAkB,CAAC;CAC7B;;wBAwBuB,sBAAsB;;;GAS7C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { DockComponentProps, SurfaceBuilderDefinition, SurfaceDescriptor } from "../../types";
|
|
2
|
+
export declare function resolveBuilderSettings(definition: SurfaceBuilderDefinition): {
|
|
3
|
+
action: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
4
|
+
allowSwipeDismiss: boolean;
|
|
5
|
+
badge: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null;
|
|
6
|
+
closeLabel: string | null;
|
|
7
|
+
component: import("../..").DockComponent | null;
|
|
8
|
+
defaultProps: DockComponentProps;
|
|
9
|
+
description: string | ((props: DockComponentProps) => string | null) | null;
|
|
10
|
+
descriptionMaxLines: number;
|
|
11
|
+
dismissible: boolean;
|
|
12
|
+
extensions: import("../..").SurfaceExtensionInput | import("../..").SurfaceExtensionInput[];
|
|
13
|
+
extraConfig: {
|
|
14
|
+
header?: import("../..").SurfaceHeaderConfig | undefined;
|
|
15
|
+
content?: import("react").ReactNode;
|
|
16
|
+
element?: import("react").ReactNode;
|
|
17
|
+
node?: import("react").ReactNode;
|
|
18
|
+
currentStepIndex?: number | undefined;
|
|
19
|
+
skipActionDismiss?: boolean | undefined;
|
|
20
|
+
steps?: import("../..").SurfaceStep[] | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
headerAction: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
23
|
+
icon: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | ((props: DockComponentProps) => import("react").ReactNode) | null;
|
|
24
|
+
id: string | null;
|
|
25
|
+
loader: (() => Promise<{
|
|
26
|
+
default: import("../..").DockComponent;
|
|
27
|
+
}>) | undefined;
|
|
28
|
+
onClose: ((result?: import("../..").SurfaceResult) => void) | null;
|
|
29
|
+
showAction: boolean | null;
|
|
30
|
+
syncWithUrl: string | boolean;
|
|
31
|
+
title: string | ((props: DockComponentProps) => string | null) | null;
|
|
32
|
+
trailing: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null;
|
|
33
|
+
urlKey: string | null;
|
|
34
|
+
width: string | number | null;
|
|
35
|
+
};
|
|
36
|
+
type BuilderSettings = ReturnType<typeof resolveBuilderSettings>;
|
|
37
|
+
export declare function buildBuilderDescriptor(settings: BuilderSettings, resolvedComponent: SurfaceDescriptor["component"], props: DockComponentProps, overrides: Partial<SurfaceDescriptor>): SurfaceDescriptor;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAIrB,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkD1E;AAED,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEjE,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,iBAAiB,EAAE,iBAAiB,CAAC,WAAW,CAAC,EACjD,KAAK,EAAE,kBAAkB,EACzB,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,GACpC,iBAAiB,CA6BnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NormalizedSurfaceDefinition, NormalizedSurfaceExtension, OpenSurfaceOptions, SurfaceDescriptor } from "../../types";
|
|
2
|
+
/** Normalizes one or many raw extension inputs, dropping invalid ones. */
|
|
3
|
+
export declare function normalizeExtensions(raw: SurfaceDescriptor["extensions"]): NormalizedSurfaceExtension[];
|
|
4
|
+
/**
|
|
5
|
+
* Turns any accepted surface input (component, element, descriptor or steps)
|
|
6
|
+
* plus open options into a normalized definition, or null when the input
|
|
7
|
+
* has nothing to render.
|
|
8
|
+
*/
|
|
9
|
+
export declare function normalizeSurfaceDefinition(input: unknown, config?: OpenSurfaceOptions, { allowPrimitiveContent, defaultShowAction, }?: {
|
|
10
|
+
allowPrimitiveContent?: boolean;
|
|
11
|
+
defaultShowAction?: boolean | null;
|
|
12
|
+
}): NormalizedSurfaceDefinition | null;
|
|
13
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/normalize.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,2BAA2B,EAC3B,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,aAAa,CAAC;AAQrB,0EAA0E;AAC1E,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,iBAAiB,CAAC,YAAY,CAAC,GACnC,0BAA0B,EAAE,CAK9B;AAqID;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,OAAO,EACd,MAAM,GAAE,kBAAuB,EAC/B,EACE,qBAA6B,EAC7B,iBAAyB,GAC1B,GAAE;IACD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B,GACL,2BAA2B,GAAG,IAAI,CAkCpC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { NormalizedSurfaceDefinition, OpenSurfaceOptions, SurfaceFlowSession, SurfaceId, SurfaceInput } from "../../types";
|
|
2
|
+
import { type SurfacePayloadMap, type SurfaceRuntimeRefs } from "./records";
|
|
3
|
+
/**
|
|
4
|
+
* Expands a surface factory into its concrete input. Factories consume the
|
|
5
|
+
* caller's config, so the remaining open options are reset in that case.
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolveSurfaceOpenInput(input: SurfaceInput, config: OpenSurfaceOptions): {
|
|
8
|
+
effectiveConfig: OpenSurfaceOptions;
|
|
9
|
+
effectiveInput: unknown;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Creates and registers the runtime entry, payload and record for a newly
|
|
13
|
+
* opened surface, remembering the focused element for later restoration.
|
|
14
|
+
*/
|
|
15
|
+
export declare function registerOpenedSurface({ definition, payloads, providedFlowSession, refs, surfaceId, }: {
|
|
16
|
+
definition: NormalizedSurfaceDefinition;
|
|
17
|
+
payloads: SurfacePayloadMap;
|
|
18
|
+
providedFlowSession: SurfaceFlowSession | null | undefined;
|
|
19
|
+
refs: SurfaceRuntimeRefs;
|
|
20
|
+
surfaceId: SurfaceId;
|
|
21
|
+
}): {
|
|
22
|
+
payload: import("../..").SurfacePayload;
|
|
23
|
+
record: import("./records").SurfaceRecord;
|
|
24
|
+
surfaceEntry: import("../..").SurfaceStackEntry;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=open.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/open.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,2BAA2B,EAC3B,kBAAkB,EAElB,kBAAkB,EAClB,SAAS,EACT,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,WAAW,CAAC;AAGnB;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,YAAY,EACnB,MAAM,EAAE,kBAAkB,GACzB;IAAE,eAAe,EAAE,kBAAkB,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,CAalE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,QAAQ,EACR,mBAAmB,EACnB,IAAI,EACJ,SAAS,GACV,EAAE;IACD,UAAU,EAAE,2BAA2B,CAAC;IACxC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,mBAAmB,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;CACtB;;;;EAmBA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { GeneralSurfaceHandle, NormalizedSurfaceDefinition, ResolvedSurfaceEntry, SurfaceFlowDefinition, SurfaceFlowSession, SurfaceFlowState, SurfaceId, SurfaceLifecycleState, SurfacePayload, SurfaceResult, SurfaceStackEntry, SurfaceState, SurfaceUrlState } from "../../types";
|
|
2
|
+
export interface SurfaceRecord {
|
|
3
|
+
entry: SurfaceStackEntry;
|
|
4
|
+
flow: SurfaceFlowSession | null;
|
|
5
|
+
focusOrigin: HTMLElement | null;
|
|
6
|
+
onClose: SurfacePayload["onClose"] | null;
|
|
7
|
+
promise: Promise<SurfaceResult> | null;
|
|
8
|
+
resolve: ((result: SurfaceResult) => void) | null;
|
|
9
|
+
urlState: SurfaceUrlState | null;
|
|
10
|
+
}
|
|
11
|
+
export interface SurfaceRuntimeRefs {
|
|
12
|
+
flowIndex: Map<string, SurfaceId>;
|
|
13
|
+
payloads: Map<string, SurfacePayload>;
|
|
14
|
+
records: Map<SurfaceId, SurfaceRecord>;
|
|
15
|
+
stackRef: {
|
|
16
|
+
current: SurfaceStackEntry[];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare function createSurfaceMaps(): Omit<SurfaceRuntimeRefs, "stackRef">;
|
|
20
|
+
export declare function createSurfaceRecord(entry: SurfaceStackEntry, flow?: SurfaceFlowSession | null): SurfaceRecord;
|
|
21
|
+
export declare function toSurfaceFlowState(session: SurfaceFlowSession | null | undefined): SurfaceFlowState | null;
|
|
22
|
+
export declare function getRestorableSurfaceFlowSnapshot(definition: SurfaceFlowDefinition | null): Record<string, unknown> | null | undefined;
|
|
23
|
+
export declare function releaseSurfaceResources({ refs, result, surfaceId, }: {
|
|
24
|
+
refs: SurfaceRuntimeRefs;
|
|
25
|
+
result: SurfaceResult;
|
|
26
|
+
surfaceId: SurfaceId;
|
|
27
|
+
}): {
|
|
28
|
+
flow: SurfaceFlowSession | null;
|
|
29
|
+
focusOrigin: HTMLElement | null;
|
|
30
|
+
};
|
|
31
|
+
export type SurfacePayloadMap = Map<string, SurfacePayload>;
|
|
32
|
+
export declare function resolveSurfaceEntry(entry: SurfaceStackEntry, payloadMap: SurfacePayloadMap | null): ResolvedSurfaceEntry;
|
|
33
|
+
export declare function resolveSurfaceEntry(entry: SurfaceStackEntry | null | undefined, payloadMap: SurfacePayloadMap | null): ResolvedSurfaceEntry | null;
|
|
34
|
+
export declare function createSurfaceState(surfaceStack?: SurfaceStackEntry[], payloadMap?: SurfacePayloadMap | null, surfacePhase?: string): SurfaceState;
|
|
35
|
+
export declare function getTargetSurfaceId(surfaceStack: SurfaceStackEntry[], targetSurfaceId?: SurfaceId | null): SurfaceId | null;
|
|
36
|
+
export declare function findSurfaceEntry(surfaceStack: SurfaceStackEntry[], surfaceId: SurfaceId): SurfaceStackEntry | null;
|
|
37
|
+
export declare function updateSurfaceStackEntry(surfaceStack: SurfaceStackEntry[], surfaceId: SurfaceId, updateEntry: (entry: SurfaceStackEntry) => SurfaceStackEntry): SurfaceStackEntry[];
|
|
38
|
+
export declare function createSurfaceRuntimeEntry(surfaceId: SurfaceId, definition: NormalizedSurfaceDefinition, flowSession?: SurfaceFlowSession | null): {
|
|
39
|
+
payload: SurfacePayload;
|
|
40
|
+
surfaceEntry: SurfaceStackEntry;
|
|
41
|
+
};
|
|
42
|
+
export declare const initialSurfaceState: SurfaceState;
|
|
43
|
+
export declare function createSurfaceLifecycleState(): SurfaceLifecycleState;
|
|
44
|
+
export declare const EMPTY_SURFACE_STACK: GeneralSurfaceHandle["surfaceStack"];
|
|
45
|
+
//# sourceMappingURL=records.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/records.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAIrB,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,iBAAiB,CAAC;IACzB,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAChC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IAC1C,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAClD,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAClC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACtC,OAAO,EAAE,GAAG,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IACvC,QAAQ,EAAE;QAAE,OAAO,EAAE,iBAAiB,EAAE,CAAA;KAAE,CAAC;CAC5C;AAED,wBAAgB,iBAAiB,IAAI,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAExE;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EACxB,IAAI,GAAE,kBAAkB,GAAG,IAAW,GACrC,aAAa,CAUf;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,GAC7C,gBAAgB,GAAG,IAAI,CAQzB;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,qBAAqB,GAAG,IAAI,8CAsBzC;AAED,wBAAgB,uBAAuB,CAAC,EACtC,IAAI,EACJ,MAAM,EACN,SAAS,GACV,EAAE;IACD,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,SAAS,CAAC;CACtB,GAAG;IAAE,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAA;CAAE,CAqBvE;AAED,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAE5D,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EACxB,UAAU,EAAE,iBAAiB,GAAG,IAAI,GACnC,oBAAoB,CAAC;AAExB,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,EAC3C,UAAU,EAAE,iBAAiB,GAAG,IAAI,GACnC,oBAAoB,GAAG,IAAI,CAAC;AAU/B,wBAAgB,kBAAkB,CAChC,YAAY,GAAE,iBAAiB,EAAO,EACtC,UAAU,GAAE,iBAAiB,GAAG,IAAW,EAC3C,YAAY,GAAE,MAAgC,GAC7C,YAAY,CAYd;AAED,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,iBAAiB,EAAE,EACjC,eAAe,GAAE,SAAS,GAAG,IAAW,GACvC,SAAS,GAAG,IAAI,CAElB;AAED,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,iBAAiB,EAAE,EACjC,SAAS,EAAE,SAAS,GACnB,iBAAiB,GAAG,IAAI,CAE1B;AAED,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,iBAAiB,EAAE,EACjC,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,iBAAiB,GAC3D,iBAAiB,EAAE,CAIrB;AAED,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,2BAA2B,EACvC,WAAW,GAAE,kBAAkB,GAAG,IAAW,GAC5C;IAAE,OAAO,EAAE,cAAc,CAAC;IAAC,YAAY,EAAE,iBAAiB,CAAA;CAAE,CAyC9D;AAED,eAAO,MAAM,mBAAmB,cAI/B,CAAC;AAEF,wBAAgB,2BAA2B,IAAI,qBAAqB,CAKnE;AAED,eAAO,MAAM,mBAAmB,EAAE,oBAAoB,CAAC,cAAc,CAAM,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ResolvedSurfaceEntry, SurfaceStep } from "../../types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the step list with `stepInput` appended, seeding it from the
|
|
4
|
+
* surface's own content when the surface has no steps yet.
|
|
5
|
+
*/
|
|
6
|
+
export declare function appendSurfaceStep(entry: ResolvedSurfaceEntry, stepInput: SurfaceStep): SurfaceStep[];
|
|
7
|
+
/** True when `index` is an integer inside `[0, stepCount)`. */
|
|
8
|
+
export declare function isSurfaceStepIndexInRange(index: number, stepCount: number): boolean;
|
|
9
|
+
//# sourceMappingURL=steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/steps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAkBrE;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,WAAW,GACrB,WAAW,EAAE,CAMf;AAED,+DAA+D;AAC/D,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,GAChB,OAAO,CAET"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { SurfaceId, SurfaceTransitionEffect, SurfaceTransitionResult, SurfaceTransitionState } from "../../types";
|
|
2
|
+
export declare const SURFACE_TRANSITION_EVENTS: Readonly<{
|
|
3
|
+
readonly ADVANCE: "surface-transition:advance";
|
|
4
|
+
readonly CLOSE: "surface-transition:close";
|
|
5
|
+
readonly CLOSE_ALL: "surface-transition:close-all";
|
|
6
|
+
readonly OPEN: "surface-transition:open";
|
|
7
|
+
}>;
|
|
8
|
+
export declare const SURFACE_TRANSITION_EFFECTS: Readonly<{
|
|
9
|
+
readonly MOUNT: "surface-transition:mount";
|
|
10
|
+
readonly RELEASE: "surface-transition:release";
|
|
11
|
+
readonly SCHEDULE: "surface-transition:schedule";
|
|
12
|
+
}>;
|
|
13
|
+
export declare const EMPTY_SURFACE_TRANSITION_EFFECTS: readonly SurfaceTransitionEffect[];
|
|
14
|
+
export declare function freezeSurfaceTransitionState(state: SurfaceTransitionState): SurfaceTransitionState;
|
|
15
|
+
export declare function createTransitionResult(state: SurfaceTransitionState, effects?: readonly SurfaceTransitionEffect[]): SurfaceTransitionResult;
|
|
16
|
+
export declare function createScheduledTransition(seconds: number, label: string): SurfaceTransitionEffect;
|
|
17
|
+
export declare function createReleaseEffect(surfaceIds: readonly SurfaceId[]): SurfaceTransitionEffect;
|
|
18
|
+
/**
|
|
19
|
+
* Normalizes a partial transition state: dedupes ids and falls back to a
|
|
20
|
+
* phase and lifecycle derived from the remaining surfaces.
|
|
21
|
+
*/
|
|
22
|
+
export declare function createSurfaceTransitionState(input?: Partial<SurfaceTransitionState> | null): SurfaceTransitionState;
|
|
23
|
+
//# sourceMappingURL=transition-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transition-state.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/transition-state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAQrB,eAAO,MAAM,yBAAyB;;;;;EAK3B,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;EAI5B,CAAC;AAEZ,eAAO,MAAM,gCAAgC,EAAE,SAAS,uBAAuB,EAC5D,CAAC;AAEpB,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,sBAAsB,GAC5B,sBAAsB,CAOxB;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,sBAAsB,EAC7B,OAAO,GAAE,SAAS,uBAAuB,EAAqC,GAC7E,uBAAuB,CAEzB;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,GACZ,uBAAuB,CAOzB;AAED,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,SAAS,SAAS,EAAE,GAC/B,uBAAuB,CAKzB;AAQD;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAS,GACjD,sBAAsB,CA4BxB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SurfaceStackEntry, SurfaceUrlState } from "../../types";
|
|
2
|
+
type SurfaceUrlSource = Pick<SurfaceStackEntry, "flow" | "syncWithUrl" | "urlKey">;
|
|
3
|
+
export declare const SURFACE_URL_PARAM = "surface";
|
|
4
|
+
export declare const IS_BROWSER: boolean;
|
|
5
|
+
/** URL value a surface writes to the `surface` query parameter. */
|
|
6
|
+
export declare function getSurfaceUrlValue(surfaceEntry: SurfaceUrlSource | null | undefined): string;
|
|
7
|
+
/** True when the URL's surface parameter no longer matches the entry. */
|
|
8
|
+
export declare function isSurfaceUrlOutOfSync(surfaceEntry: SurfaceUrlSource): boolean;
|
|
9
|
+
/** Pushes (opening) or rewinds (closing) the URL entry of a synced surface. */
|
|
10
|
+
export declare function syncSurfaceUrl(surfaceEntry: SurfaceUrlSource, isOpening: boolean, urlState?: SurfaceUrlState | null): void;
|
|
11
|
+
/** Refreshes the history entry of an open synced surface after its flow changes. */
|
|
12
|
+
export declare function syncSurfaceFlowUrlState(surfaceEntry: SurfaceUrlSource, urlState?: SurfaceUrlState | null): void;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/model/url.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,KAAK,gBAAgB,GAAG,IAAI,CAC1B,iBAAiB,EACjB,MAAM,GAAG,aAAa,GAAG,QAAQ,CAClC,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAG3C,eAAO,MAAM,UAAU,SAAgC,CAAC;AAExD,mEAAmE;AACnE,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAChD,MAAM,CAIR;AAiBD,yEAAyE;AACzE,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,gBAAgB,WAKnE;AAmBD,+EAA+E;AAC/E,wBAAgB,cAAc,CAC5B,YAAY,EAAE,gBAAgB,EAC9B,SAAS,EAAE,OAAO,EAClB,QAAQ,GAAE,eAAe,GAAG,IAAW,QAwBxC;AAED,oFAAoF;AACpF,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,gBAAgB,EAC9B,QAAQ,GAAE,eAAe,GAAG,IAAW,QAsBxC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SurfaceId, SurfaceResult, SurfaceStackEntry, SurfaceTransitionEvent } from "../../types";
|
|
2
|
+
import type { SurfaceRuntimeContext } from "./context";
|
|
3
|
+
/**
|
|
4
|
+
* Drives the surface open/close transitions and keeps the stack, phase and
|
|
5
|
+
* lifecycle state in sync with them.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createSurfaceChoreography(ctx: SurfaceRuntimeContext, finalizeSurfaceClose: (surfaceId: SurfaceId, result: SurfaceResult, nextStack?: SurfaceStackEntry[]) => void): {
|
|
8
|
+
clearChoreographyTimers: () => void;
|
|
9
|
+
finishSurfaceTransition: () => void;
|
|
10
|
+
runSurfaceChoreography: (event: SurfaceTransitionEvent, { initialSurfaceIds, result, }?: {
|
|
11
|
+
initialSurfaceIds?: SurfaceId[] | null;
|
|
12
|
+
result?: SurfaceResult;
|
|
13
|
+
}) => Readonly<{
|
|
14
|
+
cancel(): boolean;
|
|
15
|
+
dispatch(nextEvent: SurfaceTransitionEvent): import("../..").SurfaceTransitionState;
|
|
16
|
+
finish: () => import("../..").SurfaceTransitionState;
|
|
17
|
+
getState(): import("../..").SurfaceTransitionState;
|
|
18
|
+
}>;
|
|
19
|
+
syncSurfaceStack: (nextStack: SurfaceStackEntry[], nextPhase?: string | null) => void;
|
|
20
|
+
};
|
|
21
|
+
export type SurfaceChoreography = ReturnType<typeof createSurfaceChoreography>;
|
|
22
|
+
//# sourceMappingURL=choreography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choreography.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/choreography.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAOrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,qBAAqB,EAC1B,oBAAoB,EAAE,CACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,aAAa,EACrB,SAAS,CAAC,EAAE,iBAAiB,EAAE,KAC5B,IAAI;;;oCAuCA,sBAAsB,mCAI1B;QACD,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QACvC,MAAM,CAAC,EAAE,aAAa,CAAC;KACxB;;;;;;kCAtBU,iBAAiB,EAAE,cACnB,MAAM,GAAG,IAAI;EAmE3B;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import type { DockScheduledTaskId, DockScheduler, DockSurfaceTimings, SurfaceFlowSession, SurfaceLifecycleState, SurfaceResult } from "../../types";
|
|
3
|
+
import type { createSurfaceState, SurfaceRuntimeRefs } from "../model/records";
|
|
4
|
+
/** Inputs that may change between renders; the stack hook keeps them current. */
|
|
5
|
+
export interface SurfaceRuntimeLive {
|
|
6
|
+
onSurfaceFlowSettled: ((settled: {
|
|
7
|
+
flow: SurfaceFlowSession;
|
|
8
|
+
result: SurfaceResult;
|
|
9
|
+
}) => boolean) | null;
|
|
10
|
+
setExpanded: (expanded: boolean) => void;
|
|
11
|
+
setSearchQuery: (query: string) => void;
|
|
12
|
+
timings: DockSurfaceTimings;
|
|
13
|
+
}
|
|
14
|
+
/** Shared state of one surface stack runtime, built once per provider. */
|
|
15
|
+
export interface SurfaceRuntimeContext {
|
|
16
|
+
focusRestoreFrame: {
|
|
17
|
+
current: DockScheduledTaskId | null;
|
|
18
|
+
};
|
|
19
|
+
live: SurfaceRuntimeLive;
|
|
20
|
+
refs: SurfaceRuntimeRefs;
|
|
21
|
+
scheduler: DockScheduler;
|
|
22
|
+
setSurfaceLifecycleState: Dispatch<SetStateAction<SurfaceLifecycleState>>;
|
|
23
|
+
setSurfacePhase: Dispatch<SetStateAction<string>>;
|
|
24
|
+
setSurfaceState: Dispatch<SetStateAction<ReturnType<typeof createSurfaceState>>>;
|
|
25
|
+
surfacePhase: {
|
|
26
|
+
current: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE/E,iFAAiF;AACjF,MAAM,WAAW,kBAAkB;IACjC,oBAAoB,EAChB,CAAC,CAAC,OAAO,EAAE;QACT,IAAI,EAAE,kBAAkB,CAAC;QACzB,MAAM,EAAE,aAAa,CAAC;KACvB,KAAK,OAAO,CAAC,GACd,IAAI,CAAC;IACT,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,kBAAkB,CAAC;CAC7B;AAED,0EAA0E;AAC1E,MAAM,WAAW,qBAAqB;IACpC,iBAAiB,EAAE;QAAE,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAA;KAAE,CAAC;IAC3D,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,EAAE,aAAa,CAAC;IACzB,wBAAwB,EAAE,QAAQ,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC1E,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAClD,eAAe,EAAE,QAAQ,CACvB,cAAc,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CACtD,CAAC;IACF,YAAY,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CACnC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DockSurfaceActions, SurfaceFlowDefinition, SurfaceFlowDefinitionInput, SurfaceFlowHandle, SurfaceResult } from "../../types";
|
|
2
|
+
import { type SurfaceRuntimeRefs } from "../model/records";
|
|
3
|
+
import type { SurfaceChoreography } from "./choreography";
|
|
4
|
+
/** Builds the surface flow actions on top of `openSurface` and `closeSurface`. */
|
|
5
|
+
export declare function createSurfaceFlows({ closeSurface, openSurface, refs, syncSurfaceStack, }: {
|
|
6
|
+
closeSurface: DockSurfaceActions["closeSurface"];
|
|
7
|
+
openSurface: DockSurfaceActions["openSurface"];
|
|
8
|
+
refs: SurfaceRuntimeRefs;
|
|
9
|
+
syncSurfaceStack: SurfaceChoreography["syncSurfaceStack"];
|
|
10
|
+
}): {
|
|
11
|
+
cancelSurfaceFlow: (flowId: string, data?: unknown) => boolean;
|
|
12
|
+
completeSurfaceFlow: (flowId: string, data?: unknown) => boolean;
|
|
13
|
+
getSurfaceFlow: (flowId: string) => SurfaceFlowHandle | null;
|
|
14
|
+
openSurfaceFlow: (input: SurfaceFlowDefinitionInput | SurfaceFlowDefinition, flowInput?: unknown, { preserveUrl, snapshot, }?: {
|
|
15
|
+
preserveUrl?: boolean;
|
|
16
|
+
snapshot?: unknown;
|
|
17
|
+
}) => Promise<SurfaceResult>;
|
|
18
|
+
restoreSurfaceFlow: (input: SurfaceFlowDefinitionInput | SurfaceFlowDefinition) => Promise<SurfaceResult>;
|
|
19
|
+
updateSurfaceFlow: (flowId: string, snapshot: unknown) => boolean;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/flows.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACjB,aAAa,EACd,MAAM,aAAa,CAAC;AAOrB,OAAO,EAEL,KAAK,kBAAkB,EAGxB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,WAAW,EACX,IAAI,EACJ,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;IACjD,WAAW,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IAC/C,IAAI,EAAE,kBAAkB,CAAC;IACzB,gBAAgB,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;CAC3D;gCA2CoC,MAAM,SAAQ,OAAO,KAAU,OAAO;kCAf/D,MAAM,SACR,OAAO,KACZ,OAAO;6BA6BsB,MAAM,KAAG,iBAAiB,GAAG,IAAI;6BAgBxD,0BAA0B,GAAG,qBAAqB,cAC9C,OAAO,+BAIf;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAC/C,OAAO,CAAC,aAAa,CAAC;gCA0ChB,0BAA0B,GAAG,qBAAqB,KACxD,OAAO,CAAC,aAAa,CAAC;gCA3HU,MAAM,YAAY,OAAO,KAAG,OAAO;EA0IvE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { OpenSurfaceOptions, SurfaceInput, SurfaceResult } from "../../types";
|
|
2
|
+
import type { SurfaceChoreography } from "./choreography";
|
|
3
|
+
import type { SurfaceRuntimeContext } from "./context";
|
|
4
|
+
/** Builds `openSurface`: opens a surface and returns a promise that settles with its close result. */
|
|
5
|
+
export declare function createSurfaceOpen(ctx: SurfaceRuntimeContext, { finishSurfaceTransition, runSurfaceChoreography, }: Pick<SurfaceChoreography, "finishSurfaceTransition" | "runSurfaceChoreography">): (input: SurfaceInput, config?: OpenSurfaceOptions) => Promise<SurfaceResult>;
|
|
6
|
+
//# sourceMappingURL=open.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/open.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,YAAY,EACZ,aAAa,EAEd,MAAM,aAAa,CAAC;AAQrB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAMvD,sGAAsG;AACtG,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,qBAAqB,EAC1B,EACE,uBAAuB,EACvB,sBAAsB,GACvB,EAAE,IAAI,CACL,mBAAmB,EACnB,yBAAyB,GAAG,wBAAwB,CACrD,IAOC,OAAO,YAAY,EACnB,SAAQ,kBAAuB,KAC9B,OAAO,CAAC,aAAa,CAAC,CAgE1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SurfaceId, SurfaceResult, SurfaceStackEntry } from "../../types";
|
|
2
|
+
import type { SurfaceRuntimeContext } from "./context";
|
|
3
|
+
/**
|
|
4
|
+
* Builds the close finalizer: releases a closed surface's resources, settles
|
|
5
|
+
* its flow and restores focus to the element that opened it. The settled
|
|
6
|
+
* callback is read from `ctx.live`, so async close paths call the latest one.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSurfaceRelease(ctx: SurfaceRuntimeContext): (surfaceId: SurfaceId, result: SurfaceResult, nextStack?: SurfaceStackEntry[]) => void;
|
|
9
|
+
//# sourceMappingURL=release.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../../src/modules/dock/surface/runtime/release.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAIvD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,qBAAqB,IAwB3D,WAAW,SAAS,EACpB,QAAQ,aAAa,EACrB,YAAW,iBAAiB,EAAO,UAetC"}
|