@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
|
@@ -1,1274 +0,0 @@
|
|
|
1
|
-
import type { NavigationTrip } from "../navigation/types";
|
|
2
|
-
import { createScheduler, type ExternalStore } from "../../utils";
|
|
3
|
-
import { type ComponentType, type ReactNode, type SyntheticEvent, type CSSProperties, type ReactElement } from "react";
|
|
4
|
-
import { type SpringOptions, type TargetAndTransition, type Transition, type Variants } from "motion/react";
|
|
5
|
-
import { type RegistryMetadata } from "../../kernel";
|
|
6
|
-
import { type ResolvedTheme } from "../../theme";
|
|
7
|
-
export type DockComponent = ComponentType<any>;
|
|
8
|
-
export type DockComponentProps = Record<string, unknown>;
|
|
9
|
-
export type DockIconSource = ReactNode;
|
|
10
|
-
export type DockEventHandler = {
|
|
11
|
-
bivarianceHack(event?: SyntheticEvent): void;
|
|
12
|
-
}["bivarianceHack"];
|
|
13
|
-
export type DockSlotContent = ReactNode | DockComponent;
|
|
14
|
-
export type SurfaceResult = unknown;
|
|
15
|
-
export type DockBannerSource = string | {
|
|
16
|
-
bannerOpacity?: number | null;
|
|
17
|
-
bannerPosition?: string | null;
|
|
18
|
-
bannerRepeat?: string | null;
|
|
19
|
-
bannerSize?: string | null;
|
|
20
|
-
bannerUrl?: string | null;
|
|
21
|
-
opacity?: number | null;
|
|
22
|
-
position?: string | null;
|
|
23
|
-
repeat?: string | null;
|
|
24
|
-
size?: string | null;
|
|
25
|
-
url?: string | null;
|
|
26
|
-
} | null;
|
|
27
|
-
export interface DockIconOverlayConfig {
|
|
28
|
-
icon: DockIconSource;
|
|
29
|
-
title?: string;
|
|
30
|
-
onClick?: DockEventHandler;
|
|
31
|
-
}
|
|
32
|
-
export interface DockBadgeState {
|
|
33
|
-
color?: string;
|
|
34
|
-
value?: string | number | null;
|
|
35
|
-
visible: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface DockActionDescriptor {
|
|
38
|
-
badge?: string | number | null;
|
|
39
|
-
className?: string | null;
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
icon?: DockIconSource;
|
|
42
|
-
key?: string;
|
|
43
|
-
label?: string | null;
|
|
44
|
-
onClick?: DockEventHandler | null;
|
|
45
|
-
order?: number;
|
|
46
|
-
tone?: string | null;
|
|
47
|
-
tooltip?: string | null;
|
|
48
|
-
visible?: boolean;
|
|
49
|
-
}
|
|
50
|
-
export type DockActionOverrides = Partial<DockActionDescriptor> | DockEventHandler;
|
|
51
|
-
export interface DockActionDefinition {
|
|
52
|
-
bind: (overrides?: DockActionOverrides) => DockActionDescriptor;
|
|
53
|
-
config: DockActionDescriptor;
|
|
54
|
-
create: (overrides?: DockActionOverrides) => DockActionDescriptor;
|
|
55
|
-
id: string;
|
|
56
|
-
key: string;
|
|
57
|
-
use: (overrides?: DockActionOverrides) => void;
|
|
58
|
-
}
|
|
59
|
-
export type DockStyleSectionName = "card" | "icon" | "title" | "description";
|
|
60
|
-
export type DockVisualStyleSection = Omit<CSSProperties, "scale"> & {
|
|
61
|
-
className?: string;
|
|
62
|
-
scale?: number;
|
|
63
|
-
size?: number;
|
|
64
|
-
};
|
|
65
|
-
export type DockVisualStyleSections = Partial<Record<DockStyleSectionName, DockVisualStyleSection>>;
|
|
66
|
-
export interface DockVisualStyleInput extends DockVisualStyleSections {
|
|
67
|
-
active?: DockVisualStyleSections;
|
|
68
|
-
background?: CSSProperties["background"];
|
|
69
|
-
borderColor?: CSSProperties["borderColor"];
|
|
70
|
-
hover?: DockVisualStyleSections;
|
|
71
|
-
inactive?: DockVisualStyleSections;
|
|
72
|
-
scale?: number;
|
|
73
|
-
}
|
|
74
|
-
export interface DockVisualStyle extends Record<DockStyleSectionName, DockVisualStyleSection> {
|
|
75
|
-
scale?: number;
|
|
76
|
-
}
|
|
77
|
-
export interface BreadcrumbItem {
|
|
78
|
-
icon?: DockIconSource;
|
|
79
|
-
id?: string;
|
|
80
|
-
isCurrent?: boolean;
|
|
81
|
-
isEllipsis?: boolean;
|
|
82
|
-
level?: number;
|
|
83
|
-
path: string;
|
|
84
|
-
title: string;
|
|
85
|
-
}
|
|
86
|
-
export interface BreadcrumbOverride {
|
|
87
|
-
icon?: DockIconSource;
|
|
88
|
-
title?: string | null;
|
|
89
|
-
}
|
|
90
|
-
export interface BreadcrumbConfig {
|
|
91
|
-
root?: Partial<BreadcrumbItem>;
|
|
92
|
-
resolvePath?: (context: {
|
|
93
|
-
overrides: Record<string, BreadcrumbOverride>;
|
|
94
|
-
pathname: string;
|
|
95
|
-
root: BreadcrumbItem;
|
|
96
|
-
segments: string[];
|
|
97
|
-
}) => BreadcrumbItem[] | null;
|
|
98
|
-
resolveSegment?: (context: BreadcrumbItem & {
|
|
99
|
-
index: number;
|
|
100
|
-
segment: string;
|
|
101
|
-
segments: string[];
|
|
102
|
-
}) => Partial<BreadcrumbItem> | null;
|
|
103
|
-
}
|
|
104
|
-
export interface BreadcrumbContextValue {
|
|
105
|
-
actions: {
|
|
106
|
-
registerOverride: (path: string, overrideConfig: BreadcrumbOverride) => void;
|
|
107
|
-
unregisterOverride: (path: string) => void;
|
|
108
|
-
};
|
|
109
|
-
config: BreadcrumbConfig;
|
|
110
|
-
overrides: Record<string, BreadcrumbOverride>;
|
|
111
|
-
}
|
|
112
|
-
export interface DockContinuityRememberOptions {
|
|
113
|
-
focusKey?: string | null;
|
|
114
|
-
scrollY?: number;
|
|
115
|
-
snapshot?: unknown;
|
|
116
|
-
updatedAt?: number;
|
|
117
|
-
}
|
|
118
|
-
export interface DockReturnHandoffInput {
|
|
119
|
-
data?: unknown;
|
|
120
|
-
flowId?: string | null;
|
|
121
|
-
status?: string | null;
|
|
122
|
-
timestamp?: number;
|
|
123
|
-
}
|
|
124
|
-
export interface PrefetchingRouter {
|
|
125
|
-
prefetch(href: string, options?: {
|
|
126
|
-
onInvalidate?: () => void;
|
|
127
|
-
}): void;
|
|
128
|
-
}
|
|
129
|
-
export interface RoutePrefetchState {
|
|
130
|
-
isPrefetched: boolean;
|
|
131
|
-
timeoutId: ReturnType<typeof setTimeout> | null;
|
|
132
|
-
}
|
|
133
|
-
export interface SurfaceUrlState {
|
|
134
|
-
previousValue: string | null;
|
|
135
|
-
value: string;
|
|
136
|
-
}
|
|
137
|
-
export interface DockSurfaceHistoryState {
|
|
138
|
-
flow?: {
|
|
139
|
-
id: string;
|
|
140
|
-
snapshot: unknown;
|
|
141
|
-
};
|
|
142
|
-
value: string;
|
|
143
|
-
}
|
|
144
|
-
export interface DockHudAction {
|
|
145
|
-
label: string;
|
|
146
|
-
onClick: () => void;
|
|
147
|
-
tone?: "primary" | "destructive" | "secondary";
|
|
148
|
-
variant?: "primary" | "destructive" | "muted";
|
|
149
|
-
}
|
|
150
|
-
export interface DockHudDescriptor {
|
|
151
|
-
actions?: DockHudAction[];
|
|
152
|
-
autoDismissMs?: number | null;
|
|
153
|
-
component?: DockComponent | null;
|
|
154
|
-
content?: ReactNode;
|
|
155
|
-
description?: string;
|
|
156
|
-
dismissOnEscape?: boolean;
|
|
157
|
-
dismissOnNavigate?: boolean;
|
|
158
|
-
element?: ReactNode;
|
|
159
|
-
icon?: DockIconSource;
|
|
160
|
-
id: string;
|
|
161
|
-
isActive?: boolean;
|
|
162
|
-
node?: ReactNode;
|
|
163
|
-
onCancel?: (() => void) | null;
|
|
164
|
-
onDismiss?: (() => void) | null;
|
|
165
|
-
priority?: number;
|
|
166
|
-
props?: DockComponentProps;
|
|
167
|
-
renderMode?: string;
|
|
168
|
-
title?: string;
|
|
169
|
-
}
|
|
170
|
-
export type DockHudOverrides = Partial<DockHudDescriptor>;
|
|
171
|
-
export interface DockHudHandle {
|
|
172
|
-
dismiss: (clearHudFn: (id?: string) => void) => void;
|
|
173
|
-
id: string;
|
|
174
|
-
update: (nextProps?: DockComponentProps) => void;
|
|
175
|
-
}
|
|
176
|
-
export interface DockHudTrigger {
|
|
177
|
-
clear: (id?: string) => void;
|
|
178
|
-
hide: (targetId?: string) => void;
|
|
179
|
-
show: (props?: DockComponentProps, overrides?: DockHudOverrides) => DockHudHandle | null;
|
|
180
|
-
}
|
|
181
|
-
export interface GeneralHudHandle {
|
|
182
|
-
clearHud: (id?: string) => void;
|
|
183
|
-
setHud: (descriptor: DockHudDescriptor) => void;
|
|
184
|
-
}
|
|
185
|
-
export type UseHudReturn = DockHudTrigger | GeneralHudHandle;
|
|
186
|
-
export interface DockHudDefinition {
|
|
187
|
-
config: Omit<DockHudDescriptor, "props"> & {
|
|
188
|
-
defaultProps?: DockComponentProps;
|
|
189
|
-
};
|
|
190
|
-
create: (props?: DockComponentProps, overrides?: DockHudOverrides) => DockHudDescriptor;
|
|
191
|
-
hide: (clearHudFn: (id?: string) => void, targetId?: string) => void;
|
|
192
|
-
id: string;
|
|
193
|
-
show: (setHudFn: (descriptor: DockHudDescriptor) => void, props?: DockComponentProps, overrides?: DockHudOverrides) => DockHudHandle;
|
|
194
|
-
use: (props?: DockComponentProps, overrides?: DockHudOverrides) => void;
|
|
195
|
-
useTrigger: () => DockHudTrigger;
|
|
196
|
-
}
|
|
197
|
-
export interface SelectionModeState {
|
|
198
|
-
count: number;
|
|
199
|
-
hasSelection: boolean;
|
|
200
|
-
isActive: boolean;
|
|
201
|
-
isAllSelected: boolean;
|
|
202
|
-
selectedIds: (string | number)[];
|
|
203
|
-
}
|
|
204
|
-
export type DockOperationHud = DockHudDescriptor | DockComponent | ReactNode;
|
|
205
|
-
export interface DockOperationInput {
|
|
206
|
-
cancellable?: boolean;
|
|
207
|
-
description?: string | null;
|
|
208
|
-
hud?: DockOperationHud;
|
|
209
|
-
icon?: DockIconSource;
|
|
210
|
-
id?: string | number;
|
|
211
|
-
label?: string;
|
|
212
|
-
metadata?: Record<string, unknown> | null;
|
|
213
|
-
onCancel?: ((result?: unknown) => unknown) | null;
|
|
214
|
-
priority?: number;
|
|
215
|
-
progress?: number | null;
|
|
216
|
-
startedAt?: number;
|
|
217
|
-
}
|
|
218
|
-
export interface DockOperation {
|
|
219
|
-
cancellable: boolean;
|
|
220
|
-
description: string | null;
|
|
221
|
-
endedAt?: number;
|
|
222
|
-
hud: DockOperationHud;
|
|
223
|
-
icon: DockIconSource;
|
|
224
|
-
id: string;
|
|
225
|
-
label: string;
|
|
226
|
-
metadata: Record<string, unknown>;
|
|
227
|
-
onCancel: ((result?: unknown) => unknown) | null;
|
|
228
|
-
priority: number;
|
|
229
|
-
progress: number | null;
|
|
230
|
-
result?: unknown;
|
|
231
|
-
startedAt: number;
|
|
232
|
-
status: string;
|
|
233
|
-
}
|
|
234
|
-
export interface DockOperationState {
|
|
235
|
-
entries: DockOperation[];
|
|
236
|
-
}
|
|
237
|
-
export interface DockOperationAction {
|
|
238
|
-
endedAt?: number;
|
|
239
|
-
id?: string | number | null;
|
|
240
|
-
maxEntries?: number;
|
|
241
|
-
operation?: DockOperation | null;
|
|
242
|
-
patch?: Partial<DockOperationInput>;
|
|
243
|
-
result?: unknown;
|
|
244
|
-
type: string;
|
|
245
|
-
}
|
|
246
|
-
export interface DockOperationActions {
|
|
247
|
-
cancel: (id: string | number, result?: unknown) => boolean;
|
|
248
|
-
clear: (id?: string | number | null) => void;
|
|
249
|
-
complete: (id: string | number, result?: unknown) => boolean;
|
|
250
|
-
start: (input?: DockOperationInput) => DockOperation | null;
|
|
251
|
-
update: (id: string | number, patch?: Partial<DockOperationInput>) => boolean;
|
|
252
|
-
}
|
|
253
|
-
export interface DockContinuityActions {
|
|
254
|
-
clear: () => void;
|
|
255
|
-
consumeReturn: (pathname: string, handoffId?: string | null) => DockReturnHandoff | null;
|
|
256
|
-
deliverReturn: (pathname: string, input?: DockReturnHandoffInput) => DockReturnHandoff | null;
|
|
257
|
-
get: (pathname: string) => DockContinuityEntry | null;
|
|
258
|
-
getReturns: (pathname: string) => DockReturnHandoff[];
|
|
259
|
-
remember: (pathname: string, options?: DockContinuityRememberOptions) => DockContinuityEntry | null;
|
|
260
|
-
remove: (pathname: string) => void;
|
|
261
|
-
restore: (pathname: string, options?: {
|
|
262
|
-
focusKey?: string | null;
|
|
263
|
-
restoreScroll?: boolean;
|
|
264
|
-
}) => DockContinuityEntry | null;
|
|
265
|
-
}
|
|
266
|
-
export interface DockAttention {
|
|
267
|
-
kind: string;
|
|
268
|
-
priority: number;
|
|
269
|
-
source?: unknown;
|
|
270
|
-
}
|
|
271
|
-
export interface DockRoutePolicy {
|
|
272
|
-
canNavigate: boolean;
|
|
273
|
-
clearTransientState: boolean;
|
|
274
|
-
dismissSurfaces: boolean;
|
|
275
|
-
prefetch: boolean;
|
|
276
|
-
}
|
|
277
|
-
export type DockRoutePolicyOverrides = Partial<Pick<DockRoutePolicy, "clearTransientState" | "dismissSurfaces" | "prefetch">>;
|
|
278
|
-
export type DockTransaction = NavigationTrip;
|
|
279
|
-
export interface DockContinuityEntry {
|
|
280
|
-
focusKey: string | null;
|
|
281
|
-
path: string;
|
|
282
|
-
scrollY: number;
|
|
283
|
-
snapshot: Record<string, unknown>;
|
|
284
|
-
updatedAt: number;
|
|
285
|
-
}
|
|
286
|
-
export interface DockReturnHandoff {
|
|
287
|
-
data: unknown;
|
|
288
|
-
flowId: string | null;
|
|
289
|
-
id: string;
|
|
290
|
-
path: string;
|
|
291
|
-
status: string | null;
|
|
292
|
-
timestamp: number;
|
|
293
|
-
}
|
|
294
|
-
export interface DockContinuityState {
|
|
295
|
-
entries: DockContinuityEntry[];
|
|
296
|
-
returnHandoffs: DockReturnHandoff[];
|
|
297
|
-
}
|
|
298
|
-
export interface DockContinuityAction {
|
|
299
|
-
entry?: DockContinuityEntry;
|
|
300
|
-
handoff?: DockReturnHandoff;
|
|
301
|
-
handoffId?: string;
|
|
302
|
-
maxEntries?: number;
|
|
303
|
-
path?: string;
|
|
304
|
-
type: string;
|
|
305
|
-
}
|
|
306
|
-
export interface DockTopologyNode {
|
|
307
|
-
depth: number;
|
|
308
|
-
id: string;
|
|
309
|
-
parentId: string | null;
|
|
310
|
-
path: string;
|
|
311
|
-
}
|
|
312
|
-
export interface DockTopology {
|
|
313
|
-
activeNode: DockTopologyNode | null;
|
|
314
|
-
activePath: string;
|
|
315
|
-
ancestors: DockTopologyNode[];
|
|
316
|
-
nodes: DockTopologyNode[];
|
|
317
|
-
}
|
|
318
|
-
export interface SurfaceHeaderConfig {
|
|
319
|
-
description?: string;
|
|
320
|
-
icon?: DockIconSource;
|
|
321
|
-
title?: string;
|
|
322
|
-
}
|
|
323
|
-
export type SurfaceId = number;
|
|
324
|
-
export type SurfaceExtensionAlign = "left" | "center" | "right";
|
|
325
|
-
export interface SurfaceExtension {
|
|
326
|
-
align?: SurfaceExtensionAlign | "start" | "end";
|
|
327
|
-
className?: string;
|
|
328
|
-
component?: DockComponent | null;
|
|
329
|
-
content?: ReactNode;
|
|
330
|
-
id?: string;
|
|
331
|
-
key?: string;
|
|
332
|
-
order?: number;
|
|
333
|
-
props?: DockComponentProps;
|
|
334
|
-
unstyled?: boolean;
|
|
335
|
-
}
|
|
336
|
-
export type SurfaceExtensionInput = SurfaceExtension | ReactElement;
|
|
337
|
-
export interface NormalizedSurfaceExtension {
|
|
338
|
-
align: SurfaceExtensionAlign;
|
|
339
|
-
className: string;
|
|
340
|
-
component: DockComponent | null;
|
|
341
|
-
content: ReactNode;
|
|
342
|
-
id: string;
|
|
343
|
-
order: number;
|
|
344
|
-
props: DockComponentProps;
|
|
345
|
-
unstyled: boolean;
|
|
346
|
-
}
|
|
347
|
-
export interface SurfaceStep {
|
|
348
|
-
action?: DockSlotContent;
|
|
349
|
-
closeLabel?: string | null;
|
|
350
|
-
component?: DockComponent | null;
|
|
351
|
-
loader?: () => Promise<{
|
|
352
|
-
default: DockComponent;
|
|
353
|
-
}>;
|
|
354
|
-
content?: ReactNode;
|
|
355
|
-
description?: string | null;
|
|
356
|
-
descriptionMaxLines?: number;
|
|
357
|
-
element?: ReactNode;
|
|
358
|
-
extensions?: SurfaceExtensionInput | SurfaceExtensionInput[];
|
|
359
|
-
header?: SurfaceHeaderConfig;
|
|
360
|
-
headerAction?: DockSlotContent;
|
|
361
|
-
icon?: DockIconSource;
|
|
362
|
-
id?: string | null;
|
|
363
|
-
node?: ReactNode;
|
|
364
|
-
props?: DockComponentProps;
|
|
365
|
-
showAction?: boolean | null;
|
|
366
|
-
title?: string | null;
|
|
367
|
-
trailing?: DockSlotContent;
|
|
368
|
-
}
|
|
369
|
-
export interface SurfaceReturnHandshake {
|
|
370
|
-
focusKey: string | null;
|
|
371
|
-
pathname: string;
|
|
372
|
-
restoreScroll: boolean;
|
|
373
|
-
returnOnCancel: boolean;
|
|
374
|
-
}
|
|
375
|
-
export type SurfaceReturnHandshakeInput = string | Partial<SurfaceReturnHandshake> | null | undefined;
|
|
376
|
-
export interface SurfaceFlowCreateContext {
|
|
377
|
-
flowId: string;
|
|
378
|
-
input: unknown;
|
|
379
|
-
snapshot: unknown;
|
|
380
|
-
}
|
|
381
|
-
export interface SurfaceFlowDefinitionInput {
|
|
382
|
-
createSurface: (context: SurfaceFlowCreateContext) => SurfaceInput;
|
|
383
|
-
id: string;
|
|
384
|
-
initialSnapshot?: unknown;
|
|
385
|
-
restoreFromUrl?: boolean;
|
|
386
|
-
returnHandshake?: SurfaceReturnHandshakeInput;
|
|
387
|
-
returnTo?: string;
|
|
388
|
-
singleton?: boolean;
|
|
389
|
-
}
|
|
390
|
-
export interface SurfaceFlowDefinition {
|
|
391
|
-
createSurface: (context: SurfaceFlowCreateContext) => SurfaceInput;
|
|
392
|
-
id: string;
|
|
393
|
-
initialSnapshot: Record<string, unknown> | null;
|
|
394
|
-
restoreFromUrl: boolean;
|
|
395
|
-
returnHandshake: SurfaceReturnHandshake | null;
|
|
396
|
-
singleton: boolean;
|
|
397
|
-
}
|
|
398
|
-
export interface SurfaceFlowSession {
|
|
399
|
-
flowId: string;
|
|
400
|
-
input: unknown;
|
|
401
|
-
returnHandshake: SurfaceReturnHandshake | null;
|
|
402
|
-
snapshot: unknown;
|
|
403
|
-
status: string;
|
|
404
|
-
surfaceId?: SurfaceId;
|
|
405
|
-
}
|
|
406
|
-
export type SurfaceFlowState = Omit<SurfaceFlowSession, "input" | "surfaceId">;
|
|
407
|
-
export interface SurfaceFlowHandle {
|
|
408
|
-
cancel: (data?: unknown) => boolean;
|
|
409
|
-
complete: (data?: unknown) => boolean;
|
|
410
|
-
flowId: string;
|
|
411
|
-
isOpen: boolean;
|
|
412
|
-
snapshot: unknown;
|
|
413
|
-
status: string;
|
|
414
|
-
update: (snapshot: unknown) => boolean;
|
|
415
|
-
}
|
|
416
|
-
export interface SurfaceDescriptor {
|
|
417
|
-
action?: DockSlotContent;
|
|
418
|
-
allowSwipeDismiss?: boolean;
|
|
419
|
-
badge?: ReactNode;
|
|
420
|
-
closeLabel?: string | null;
|
|
421
|
-
component?: DockComponent | null;
|
|
422
|
-
loader?: () => Promise<{
|
|
423
|
-
default: DockComponent;
|
|
424
|
-
}>;
|
|
425
|
-
content?: ReactNode;
|
|
426
|
-
currentStepIndex?: number;
|
|
427
|
-
description?: string | null;
|
|
428
|
-
descriptionMaxLines?: number;
|
|
429
|
-
dismissible?: boolean;
|
|
430
|
-
element?: ReactNode;
|
|
431
|
-
extensions?: SurfaceExtensionInput | SurfaceExtensionInput[];
|
|
432
|
-
header?: SurfaceHeaderConfig;
|
|
433
|
-
headerAction?: DockSlotContent;
|
|
434
|
-
icon?: DockIconSource;
|
|
435
|
-
id?: string | null;
|
|
436
|
-
node?: ReactNode;
|
|
437
|
-
onClose?: ((result?: SurfaceResult) => void) | null;
|
|
438
|
-
props?: DockComponentProps;
|
|
439
|
-
showAction?: boolean | null;
|
|
440
|
-
skipActionDismiss?: boolean;
|
|
441
|
-
steps?: SurfaceStep[] | null;
|
|
442
|
-
syncWithUrl?: boolean | string;
|
|
443
|
-
title?: string | null;
|
|
444
|
-
trailing?: DockSlotContent;
|
|
445
|
-
urlKey?: string | null;
|
|
446
|
-
width?: number | string | null;
|
|
447
|
-
}
|
|
448
|
-
export type SurfaceEntry = SurfaceDescriptor;
|
|
449
|
-
export type SurfaceEntryFactory = ((config?: DockComponentProps) => SurfaceDescriptor | null) & {
|
|
450
|
-
id?: string | null;
|
|
451
|
-
isSurfaceFactory?: boolean;
|
|
452
|
-
};
|
|
453
|
-
export type SurfaceInput = SurfaceDescriptor | SurfaceEntryFactory | DockComponent | ReactNode;
|
|
454
|
-
export interface OpenSurfaceOptions extends Partial<SurfaceDescriptor> {
|
|
455
|
-
flowSession?: SurfaceFlowSession | null;
|
|
456
|
-
preserveUrl?: boolean;
|
|
457
|
-
}
|
|
458
|
-
export interface NormalizedSurfaceDefinition {
|
|
459
|
-
action: DockSlotContent | null;
|
|
460
|
-
allowSwipeDismiss: boolean;
|
|
461
|
-
badge: ReactNode;
|
|
462
|
-
closeLabel: string | null;
|
|
463
|
-
component: DockComponent | null;
|
|
464
|
-
content: ReactNode;
|
|
465
|
-
currentStepIndex: number;
|
|
466
|
-
description: string | null;
|
|
467
|
-
descriptionMaxLines: number;
|
|
468
|
-
dismissible: boolean;
|
|
469
|
-
extensions: NormalizedSurfaceExtension[];
|
|
470
|
-
headerAction: DockSlotContent | null;
|
|
471
|
-
icon: DockIconSource;
|
|
472
|
-
onClose: ((result?: SurfaceResult) => void) | null;
|
|
473
|
-
props: DockComponentProps;
|
|
474
|
-
renderMode: string;
|
|
475
|
-
showAction: boolean | null;
|
|
476
|
-
skipActionDismiss: boolean;
|
|
477
|
-
steps: SurfaceStep[] | null;
|
|
478
|
-
syncWithUrl: boolean | string;
|
|
479
|
-
title: string | null;
|
|
480
|
-
trailing: DockSlotContent | null;
|
|
481
|
-
urlKey: string | null;
|
|
482
|
-
width: number | string | null;
|
|
483
|
-
}
|
|
484
|
-
export type SurfacePayloadKey = "action" | "closeLabel" | "component" | "content" | "description" | "headerAction" | "icon" | "onClose" | "props" | "showAction" | "steps" | "title" | "trailing";
|
|
485
|
-
export type SurfacePayload = Pick<NormalizedSurfaceDefinition, SurfacePayloadKey>;
|
|
486
|
-
export interface SurfaceStackEntry extends Omit<NormalizedSurfaceDefinition, SurfacePayloadKey> {
|
|
487
|
-
flow?: SurfaceFlowState | null;
|
|
488
|
-
id: SurfaceId;
|
|
489
|
-
payloadId: string;
|
|
490
|
-
}
|
|
491
|
-
export type ResolvedSurfaceEntry = Partial<SurfacePayload> & SurfaceStackEntry;
|
|
492
|
-
export type RenderableSurfaceEntry = Partial<NormalizedSurfaceDefinition> & {
|
|
493
|
-
flow?: SurfaceFlowState | null;
|
|
494
|
-
id?: SurfaceId | null;
|
|
495
|
-
payloadId?: string;
|
|
496
|
-
};
|
|
497
|
-
export interface ActiveSurfaceStep extends RenderableSurfaceEntry {
|
|
498
|
-
canGoBack?: boolean;
|
|
499
|
-
isFirstStep?: boolean;
|
|
500
|
-
isLastStep?: boolean;
|
|
501
|
-
stepIndex?: number;
|
|
502
|
-
totalSteps?: number;
|
|
503
|
-
}
|
|
504
|
-
export interface SurfaceState {
|
|
505
|
-
activeSurfaceEntry: ResolvedSurfaceEntry | null;
|
|
506
|
-
activeSurfaceId: SurfaceId | null;
|
|
507
|
-
isSurfaceOpen: boolean;
|
|
508
|
-
surfacePhase: string;
|
|
509
|
-
surfaceStack: ResolvedSurfaceEntry[];
|
|
510
|
-
}
|
|
511
|
-
export interface SurfaceTransitionState {
|
|
512
|
-
closingSurfaceIds: readonly SurfaceId[];
|
|
513
|
-
phase: string;
|
|
514
|
-
surfaceIds: readonly SurfaceId[];
|
|
515
|
-
surfaceLifecycle: string;
|
|
516
|
-
}
|
|
517
|
-
export interface SurfaceTransitionEvent {
|
|
518
|
-
skipActionDismiss?: boolean;
|
|
519
|
-
surfaceId?: SurfaceId | null;
|
|
520
|
-
type: string;
|
|
521
|
-
value?: unknown;
|
|
522
|
-
}
|
|
523
|
-
export interface SurfaceTransitionEffect {
|
|
524
|
-
delayMs?: number;
|
|
525
|
-
event?: SurfaceTransitionEvent;
|
|
526
|
-
label?: string;
|
|
527
|
-
surfaceId?: SurfaceId;
|
|
528
|
-
surfaceIds?: readonly SurfaceId[];
|
|
529
|
-
type: string;
|
|
530
|
-
}
|
|
531
|
-
export interface SurfaceTransitionResult {
|
|
532
|
-
effects: readonly SurfaceTransitionEffect[];
|
|
533
|
-
state: SurfaceTransitionState;
|
|
534
|
-
}
|
|
535
|
-
export interface SurfaceLifecycleState {
|
|
536
|
-
surfaceIds: SurfaceId[];
|
|
537
|
-
surfaceLifecycle: string;
|
|
538
|
-
}
|
|
539
|
-
export interface DockItemRouteFields {
|
|
540
|
-
activeChild?: DockItem | null;
|
|
541
|
-
children?: DockItem[] | null;
|
|
542
|
-
hasActiveChild?: boolean;
|
|
543
|
-
id?: string | null;
|
|
544
|
-
isParent?: boolean;
|
|
545
|
-
name?: string | null;
|
|
546
|
-
onClick?: DockEventHandler | null;
|
|
547
|
-
path?: string | null;
|
|
548
|
-
priority?: number | null;
|
|
549
|
-
targetPath?: string | null;
|
|
550
|
-
type?: string;
|
|
551
|
-
dockPolicy?: DockRoutePolicyOverrides;
|
|
552
|
-
keepWhenDescendant?: boolean | ((activePath: string, item: DockItem) => boolean);
|
|
553
|
-
prefetchDisabled?: boolean;
|
|
554
|
-
stackOrder?: number;
|
|
555
|
-
statusType?: string;
|
|
556
|
-
}
|
|
557
|
-
export interface DockItemPresentationFields {
|
|
558
|
-
action?: DockSlotContent;
|
|
559
|
-
actions?: DockSlotContent;
|
|
560
|
-
badge?: ReactNode;
|
|
561
|
-
banner?: DockBannerSource;
|
|
562
|
-
bannerOpacity?: number | null;
|
|
563
|
-
bannerPosition?: string | null;
|
|
564
|
-
bannerRepeat?: string | null;
|
|
565
|
-
bannerSize?: string | null;
|
|
566
|
-
bannerUrl?: string | null;
|
|
567
|
-
className?: string;
|
|
568
|
-
component?: DockComponent | null;
|
|
569
|
-
content?: ReactNode;
|
|
570
|
-
description?: string | null;
|
|
571
|
-
headerAction?: DockSlotContent;
|
|
572
|
-
icon?: DockIconSource;
|
|
573
|
-
iconOverlay?: DockIconOverlayConfig | null;
|
|
574
|
-
props?: DockComponentProps;
|
|
575
|
-
style?: DockVisualStyleInput | null;
|
|
576
|
-
title?: string | null;
|
|
577
|
-
width?: number | string | null;
|
|
578
|
-
}
|
|
579
|
-
export interface DockItemSurfaceFields {
|
|
580
|
-
allowSwipeDismiss?: boolean;
|
|
581
|
-
backLabel?: string | null;
|
|
582
|
-
canGoBack?: boolean;
|
|
583
|
-
closeAllSurfaces?: (() => void) | null;
|
|
584
|
-
closeLabel?: string | null;
|
|
585
|
-
closeSurface?: ((result?: SurfaceResult) => void) | null;
|
|
586
|
-
currentStepIndex?: number;
|
|
587
|
-
dismissible?: boolean;
|
|
588
|
-
extensions?: NormalizedSurfaceExtension[];
|
|
589
|
-
goToStep?: ((index: number) => void) | null;
|
|
590
|
-
isFirstStep?: boolean;
|
|
591
|
-
isLastStep?: boolean;
|
|
592
|
-
isSurface?: boolean;
|
|
593
|
-
onAnimationComplete?: () => void;
|
|
594
|
-
onBack?: (() => void) | null;
|
|
595
|
-
onClose?: ((result?: SurfaceResult) => void) | null;
|
|
596
|
-
popStep?: (() => void) | null;
|
|
597
|
-
pushStep?: ((step: SurfaceStep) => void) | null;
|
|
598
|
-
restingAction?: DockSlotContent | null;
|
|
599
|
-
restingWidth?: number | string | null;
|
|
600
|
-
stepIndex?: number;
|
|
601
|
-
steps?: SurfaceStep[] | null;
|
|
602
|
-
surface?: SurfaceInput | null;
|
|
603
|
-
surfaceBackLabel?: string | null;
|
|
604
|
-
surfaceCloseLabel?: string | null;
|
|
605
|
-
surfaceComponent?: DockComponent | null;
|
|
606
|
-
surfaceContent?: ReactNode;
|
|
607
|
-
surfaceDescription?: string | null;
|
|
608
|
-
surfaceDescriptionMaxLines?: number;
|
|
609
|
-
surfaceExtensions?: NormalizedSurfaceExtension[];
|
|
610
|
-
surfaceHeaderAction?: DockSlotContent;
|
|
611
|
-
surfaceIcon?: DockIconSource;
|
|
612
|
-
surfaceId?: SurfaceId | null;
|
|
613
|
-
surfacePhase?: string;
|
|
614
|
-
surfaceProps?: DockComponentProps;
|
|
615
|
-
surfaceStackEntries?: DockItemSurfaceFields[];
|
|
616
|
-
surfaceTitle?: string | null;
|
|
617
|
-
surfaceTrailing?: DockSlotContent;
|
|
618
|
-
totalSteps?: number;
|
|
619
|
-
width?: number | string | null;
|
|
620
|
-
}
|
|
621
|
-
export interface DockItemRuntimeFields {
|
|
622
|
-
disabled?: boolean;
|
|
623
|
-
isAnchoredToBottom?: boolean;
|
|
624
|
-
isDataSource?: boolean;
|
|
625
|
-
isExpanded?: boolean;
|
|
626
|
-
isHud?: boolean;
|
|
627
|
-
isInactive?: boolean;
|
|
628
|
-
isLoading?: boolean;
|
|
629
|
-
isMasked?: boolean;
|
|
630
|
-
isNotFound?: boolean;
|
|
631
|
-
isOverlay?: boolean;
|
|
632
|
-
isRoutePending?: boolean;
|
|
633
|
-
isSelected?: boolean;
|
|
634
|
-
isStatus?: boolean;
|
|
635
|
-
mediaAction?: boolean;
|
|
636
|
-
}
|
|
637
|
-
export interface DockItem extends DockItemRouteFields, DockItemPresentationFields, DockItemSurfaceFields, DockItemRuntimeFields {
|
|
638
|
-
}
|
|
639
|
-
export interface DockGuardConfirmation {
|
|
640
|
-
from: string;
|
|
641
|
-
href: string;
|
|
642
|
-
message?: string;
|
|
643
|
-
routePolicy: DockRoutePolicy;
|
|
644
|
-
}
|
|
645
|
-
export interface DockGuardDefinition {
|
|
646
|
-
message?: string;
|
|
647
|
-
onBlock?: (info: {
|
|
648
|
-
from: string;
|
|
649
|
-
guardId: number;
|
|
650
|
-
message: string;
|
|
651
|
-
to: string;
|
|
652
|
-
}) => void;
|
|
653
|
-
when: boolean | ((to: string, from: string) => boolean | Promise<boolean>);
|
|
654
|
-
}
|
|
655
|
-
export interface UseDockGuardOptions {
|
|
656
|
-
message?: string;
|
|
657
|
-
when?: boolean | ((to?: string, from?: string) => boolean | Promise<boolean>);
|
|
658
|
-
onBlock?: (info: {
|
|
659
|
-
from: string;
|
|
660
|
-
guardId: number;
|
|
661
|
-
message: string;
|
|
662
|
-
to: string;
|
|
663
|
-
}) => void;
|
|
664
|
-
}
|
|
665
|
-
export interface GuardCheckResult {
|
|
666
|
-
blocked: boolean;
|
|
667
|
-
guardId?: number;
|
|
668
|
-
message?: string;
|
|
669
|
-
reason?: "blocked" | "error";
|
|
670
|
-
}
|
|
671
|
-
export interface DockGuard {
|
|
672
|
-
message?: string;
|
|
673
|
-
onBlock?: (info: {
|
|
674
|
-
to: string;
|
|
675
|
-
from: string;
|
|
676
|
-
guardId: number;
|
|
677
|
-
message: string;
|
|
678
|
-
}) => void;
|
|
679
|
-
when: boolean | ((to: string, from: string) => boolean | Promise<boolean>);
|
|
680
|
-
}
|
|
681
|
-
export interface DockState {
|
|
682
|
-
activeItem: DockItem | null;
|
|
683
|
-
activeOperation: DockOperation | null;
|
|
684
|
-
activeSurfaceEntry: ResolvedSurfaceEntry | null;
|
|
685
|
-
activeSurfaceId: number | null;
|
|
686
|
-
contextActions: DockActionDescriptor[];
|
|
687
|
-
dockContinuity: DockContinuityEntry[];
|
|
688
|
-
dockHeight: number;
|
|
689
|
-
dockReturnHandoffs: DockReturnHandoff[];
|
|
690
|
-
expanded: boolean;
|
|
691
|
-
hud: DockHudDescriptor | null;
|
|
692
|
-
hudEntries: DockHudDescriptor[];
|
|
693
|
-
isHudActive: boolean;
|
|
694
|
-
isSurfaceOpen: boolean;
|
|
695
|
-
locationKey: string;
|
|
696
|
-
operations: DockOperation[];
|
|
697
|
-
pathname: string;
|
|
698
|
-
searchQuery: string;
|
|
699
|
-
selectionMode: DockHudDescriptor | null;
|
|
700
|
-
surfaceLifecycle: string;
|
|
701
|
-
surfacePhase: string;
|
|
702
|
-
surfaceStack: ResolvedSurfaceEntry[];
|
|
703
|
-
}
|
|
704
|
-
export interface DockNavigateOptions {
|
|
705
|
-
force?: boolean;
|
|
706
|
-
item?: DockItem | null;
|
|
707
|
-
source?: string;
|
|
708
|
-
}
|
|
709
|
-
export interface DockRouteActions {
|
|
710
|
-
clearDockGuards: () => void;
|
|
711
|
-
clearPreparedRouteReset: () => void;
|
|
712
|
-
continuity: DockContinuityActions;
|
|
713
|
-
navigate: (href: string, options?: DockNavigateOptions) => Promise<boolean>;
|
|
714
|
-
prepareRouteReset: (policy: DockRoutePolicy | null) => void;
|
|
715
|
-
registerGuard: (guard: DockGuardDefinition) => () => void;
|
|
716
|
-
}
|
|
717
|
-
export interface DockInternalActions {
|
|
718
|
-
setIsHovered: (hovered: boolean) => void;
|
|
719
|
-
cancelActiveTransaction: (reason?: string) => void;
|
|
720
|
-
cancelDock: (reason?: string) => void;
|
|
721
|
-
clearBreadcrumbOverride: (path: string) => void;
|
|
722
|
-
completeDock: (path: string) => void;
|
|
723
|
-
openGuardConfirmation: (config: DockGuardConfirmation) => void;
|
|
724
|
-
registerBreadcrumbOverride: (path: string, config: BreadcrumbOverride) => void;
|
|
725
|
-
}
|
|
726
|
-
export interface DockSurfaceActions {
|
|
727
|
-
cancelSurfaceFlow: (flowId: string, result?: SurfaceResult) => boolean;
|
|
728
|
-
closeAllSurfaces: (result?: SurfaceResult) => void;
|
|
729
|
-
closeSurface: (result?: SurfaceResult, surfaceId?: SurfaceId | null) => void;
|
|
730
|
-
completeSurfaceFlow: (flowId: string, result?: SurfaceResult) => boolean;
|
|
731
|
-
getSurfaceFlow?: ((flowId: string) => SurfaceFlowHandle | null) | null;
|
|
732
|
-
goBackSurface: () => void;
|
|
733
|
-
goToStep: (index: number, surfaceId?: SurfaceId | null) => void;
|
|
734
|
-
openSurface: (definition: SurfaceInput, config?: OpenSurfaceOptions) => Promise<SurfaceResult>;
|
|
735
|
-
openSurfaceFlow: (definition: SurfaceFlowDefinitionInput, input?: unknown) => Promise<SurfaceResult>;
|
|
736
|
-
popStep: (surfaceId?: SurfaceId | null) => void;
|
|
737
|
-
pushStep: (step: SurfaceStep, surfaceId?: SurfaceId | null) => void;
|
|
738
|
-
restoreSurfaceFlow: (definition: SurfaceFlowDefinitionInput) => Promise<SurfaceResult>;
|
|
739
|
-
updateSurfaceFlow: (flowId: string, snapshot: unknown) => boolean;
|
|
740
|
-
}
|
|
741
|
-
export interface DockUiActions {
|
|
742
|
-
clearHud: (id?: string) => void;
|
|
743
|
-
operations: DockOperationActions;
|
|
744
|
-
registerContextAction: (action: Partial<DockActionDescriptor>) => void;
|
|
745
|
-
setContextActions: (actions: DockActionDescriptor[]) => void;
|
|
746
|
-
setExpanded: (expanded: boolean) => void;
|
|
747
|
-
setHud: (descriptor: DockHudDescriptor) => void;
|
|
748
|
-
setDockHeight: (height: number) => void;
|
|
749
|
-
setSearchQuery: (query: string) => void;
|
|
750
|
-
unregisterContextAction: (key: string) => void;
|
|
751
|
-
}
|
|
752
|
-
export interface DockActions extends DockRouteActions, DockSurfaceActions, DockUiActions {
|
|
753
|
-
}
|
|
754
|
-
export interface DockDimensions {
|
|
755
|
-
baseHeight: number;
|
|
756
|
-
cardWidth: number;
|
|
757
|
-
hudHeight: number;
|
|
758
|
-
dockHeight: number;
|
|
759
|
-
stackWidth: number;
|
|
760
|
-
}
|
|
761
|
-
export interface DockProviderProps {
|
|
762
|
-
breadcrumbConfig?: BreadcrumbConfig | null;
|
|
763
|
-
children?: ReactNode;
|
|
764
|
-
mediaAction?: ComponentType | null;
|
|
765
|
-
notFoundAction?: ComponentType | null;
|
|
766
|
-
scheduler?: DockScheduler | null;
|
|
767
|
-
}
|
|
768
|
-
export interface DockContextValue {
|
|
769
|
-
actions: DockActions;
|
|
770
|
-
runtimeActions: {
|
|
771
|
-
mediaAction: ComponentType | null;
|
|
772
|
-
notFoundAction: ComponentType | null;
|
|
773
|
-
};
|
|
774
|
-
runtimeScheduler: DockScheduler;
|
|
775
|
-
store: ExternalStore<DockState>;
|
|
776
|
-
view: DockViewBridge;
|
|
777
|
-
guards: DockGuardRegistry;
|
|
778
|
-
}
|
|
779
|
-
export interface DockRouteSnapshot {
|
|
780
|
-
activeItem: DockItem | null;
|
|
781
|
-
locationKey: string;
|
|
782
|
-
pathname: string;
|
|
783
|
-
}
|
|
784
|
-
export interface DockViewBridge {
|
|
785
|
-
publishRoute: (snapshot: DockRouteSnapshot) => void;
|
|
786
|
-
setNavigator: (navigate: DockActions["navigate"] | null) => void;
|
|
787
|
-
}
|
|
788
|
-
export type DockSurfaceSlot = Record<string, unknown> | DockComponent | ((props: Record<string, unknown>) => unknown);
|
|
789
|
-
export interface DockPageGuard {
|
|
790
|
-
message?: string;
|
|
791
|
-
onBlock?: (info: {
|
|
792
|
-
from: string;
|
|
793
|
-
guardId: number;
|
|
794
|
-
message: string;
|
|
795
|
-
to: string;
|
|
796
|
-
}) => void;
|
|
797
|
-
when: boolean;
|
|
798
|
-
}
|
|
799
|
-
export type DockBannerInput = string | {
|
|
800
|
-
bannerOpacity?: number | null;
|
|
801
|
-
bannerPosition?: string | null;
|
|
802
|
-
bannerRepeat?: string | null;
|
|
803
|
-
bannerSize?: string | null;
|
|
804
|
-
bannerUrl?: string | null;
|
|
805
|
-
opacity?: number | null;
|
|
806
|
-
position?: string | null;
|
|
807
|
-
repeat?: string | null;
|
|
808
|
-
size?: string | null;
|
|
809
|
-
url?: string | null;
|
|
810
|
-
};
|
|
811
|
-
export type DockPageCardFields = Omit<DockItemPresentationFields, "actions"> & Pick<DockItemRouteFields, "dockPolicy" | "keepWhenDescendant" | "name" | "path" | "prefetchDisabled" | "stackOrder" | "targetPath"> & Pick<DockItemRuntimeFields, "isLoading" | "isOverlay"> & Pick<DockItemSurfaceFields, "dismissible">;
|
|
812
|
-
export interface DockPageConfig extends DockPageCardFields {
|
|
813
|
-
actions?: Partial<DockActionDescriptor>[];
|
|
814
|
-
breadcrumbs?: unknown[];
|
|
815
|
-
guard?: DockPageGuard;
|
|
816
|
-
registry?: RegistryMetadata;
|
|
817
|
-
surfaces?: Record<string, DockSurfaceSlot>;
|
|
818
|
-
}
|
|
819
|
-
export type DockPageApi = DockActions & {
|
|
820
|
-
set: (dock: DockPageConfig) => void;
|
|
821
|
-
surface: (surface: DockSurfaceSlot | string, props?: Record<string, unknown>) => unknown;
|
|
822
|
-
};
|
|
823
|
-
export interface DockStatusTheme {
|
|
824
|
-
card?: {
|
|
825
|
-
className?: string;
|
|
826
|
-
};
|
|
827
|
-
icon?: {
|
|
828
|
-
className?: string;
|
|
829
|
-
};
|
|
830
|
-
title?: {
|
|
831
|
-
className?: string;
|
|
832
|
-
};
|
|
833
|
-
description?: {
|
|
834
|
-
className?: string;
|
|
835
|
-
opacity?: number;
|
|
836
|
-
};
|
|
837
|
-
}
|
|
838
|
-
export interface DockStatusDescriptor {
|
|
839
|
-
action?: DockSlotContent;
|
|
840
|
-
actions?: DockSlotContent;
|
|
841
|
-
description: string;
|
|
842
|
-
flow?: string | null;
|
|
843
|
-
hideScroll?: boolean;
|
|
844
|
-
icon?: DockIconSource;
|
|
845
|
-
isOverlay: boolean;
|
|
846
|
-
path?: string;
|
|
847
|
-
priority?: number | null;
|
|
848
|
-
style?: DockStatusTheme;
|
|
849
|
-
title: string;
|
|
850
|
-
type: string;
|
|
851
|
-
}
|
|
852
|
-
export interface LastKnownAccount {
|
|
853
|
-
avatarUrl?: string | null;
|
|
854
|
-
displayName?: string | null;
|
|
855
|
-
email?: string | null;
|
|
856
|
-
id?: string | null;
|
|
857
|
-
username?: string | null;
|
|
858
|
-
}
|
|
859
|
-
export interface ScheduleStatusClearOptions {
|
|
860
|
-
clearWhen?: string[];
|
|
861
|
-
duration?: number;
|
|
862
|
-
}
|
|
863
|
-
export interface QueuedApiError {
|
|
864
|
-
message?: string;
|
|
865
|
-
retry?: () => void;
|
|
866
|
-
status?: number;
|
|
867
|
-
}
|
|
868
|
-
export interface PersistedOverlayStatus {
|
|
869
|
-
description?: string;
|
|
870
|
-
expiresAt?: number;
|
|
871
|
-
flow?: string | null;
|
|
872
|
-
icon?: string | null;
|
|
873
|
-
priority?: number | null;
|
|
874
|
-
title?: string;
|
|
875
|
-
type?: string;
|
|
876
|
-
}
|
|
877
|
-
export interface DockScene {
|
|
878
|
-
companion: "notification" | "breadcrumbs" | null;
|
|
879
|
-
expanded: boolean;
|
|
880
|
-
isCompanionVisible: boolean;
|
|
881
|
-
topKind: "surface" | "status-overlay" | "status" | "hud" | "route";
|
|
882
|
-
}
|
|
883
|
-
export interface DefineHudOptions {
|
|
884
|
-
autoDismissMs?: number | null;
|
|
885
|
-
component?: DockComponent | null;
|
|
886
|
-
defaultProps?: DockComponentProps;
|
|
887
|
-
description?: string;
|
|
888
|
-
dismissOnEscape?: boolean;
|
|
889
|
-
dismissOnNavigate?: boolean;
|
|
890
|
-
icon?: DockIconSource;
|
|
891
|
-
id?: string;
|
|
892
|
-
priority?: number;
|
|
893
|
-
title?: string;
|
|
894
|
-
[key: string]: unknown;
|
|
895
|
-
}
|
|
896
|
-
export interface DefineBreadcrumbOptions {
|
|
897
|
-
icon?: DockIconSource | ((props: DockComponentProps) => DockIconSource);
|
|
898
|
-
path?: string | null;
|
|
899
|
-
title?: string | null | ((props: DockComponentProps) => string | null);
|
|
900
|
-
[key: string]: unknown;
|
|
901
|
-
}
|
|
902
|
-
export interface DefineStepSurfaceOptions {
|
|
903
|
-
currentStepIndex?: number;
|
|
904
|
-
defaultProps?: DockComponentProps;
|
|
905
|
-
id?: string;
|
|
906
|
-
steps?: SurfaceStep[] | ((props?: DockComponentProps) => SurfaceStep[]);
|
|
907
|
-
title?: string | null | ((props?: DockComponentProps) => string | null);
|
|
908
|
-
width?: number | string | null;
|
|
909
|
-
[key: string]: unknown;
|
|
910
|
-
}
|
|
911
|
-
export interface DefineDockActionOptions {
|
|
912
|
-
badge?: string | number | null;
|
|
913
|
-
className?: string | null;
|
|
914
|
-
disabled?: boolean;
|
|
915
|
-
icon?: DockIconSource;
|
|
916
|
-
key?: string;
|
|
917
|
-
onClick?: DockEventHandler | null;
|
|
918
|
-
order?: number;
|
|
919
|
-
tone?: string | null;
|
|
920
|
-
tooltip?: string | null;
|
|
921
|
-
visible?: boolean;
|
|
922
|
-
[key: string]: unknown;
|
|
923
|
-
}
|
|
924
|
-
export interface DockCardBannerProps {
|
|
925
|
-
banner?: DockBannerSource;
|
|
926
|
-
bannerUrl?: string | null;
|
|
927
|
-
bannerPosition?: string | null;
|
|
928
|
-
bannerSize?: string | null;
|
|
929
|
-
bannerRepeat?: string | null;
|
|
930
|
-
bannerOpacity?: number | null;
|
|
931
|
-
isActive?: boolean;
|
|
932
|
-
isSurfaceActive?: boolean;
|
|
933
|
-
isHudActive?: boolean;
|
|
934
|
-
isStatusActive?: boolean;
|
|
935
|
-
style?: CSSProperties;
|
|
936
|
-
className?: string;
|
|
937
|
-
}
|
|
938
|
-
export interface DockDescriptionProps {
|
|
939
|
-
text?: string | number | null;
|
|
940
|
-
style?: DockVisualStyleSection;
|
|
941
|
-
maxLines?: number;
|
|
942
|
-
animated?: boolean;
|
|
943
|
-
}
|
|
944
|
-
export interface DockTitleProps {
|
|
945
|
-
text?: string | number | null;
|
|
946
|
-
style?: DockVisualStyleSection;
|
|
947
|
-
animated?: boolean;
|
|
948
|
-
}
|
|
949
|
-
export interface DockCardHeaderProps {
|
|
950
|
-
item?: DockItem;
|
|
951
|
-
link?: DockItem;
|
|
952
|
-
activeItem?: DockItem | null;
|
|
953
|
-
itemStyle: DockVisualStyle;
|
|
954
|
-
badge?: DockBadgeState;
|
|
955
|
-
showVideoIcon?: boolean;
|
|
956
|
-
isPlaying?: boolean;
|
|
957
|
-
effectiveIconOverlay?: DockIconOverlayConfig | null;
|
|
958
|
-
isIconInteractive?: boolean;
|
|
959
|
-
handleIconClick?: DockEventHandler;
|
|
960
|
-
description?: string | null;
|
|
961
|
-
isTop?: boolean;
|
|
962
|
-
contextCommands?: DockActionDescriptor[];
|
|
963
|
-
}
|
|
964
|
-
export interface DockIconProps {
|
|
965
|
-
icon: DockIconSource;
|
|
966
|
-
iconOverlay?: DockIconOverlayConfig | null;
|
|
967
|
-
style?: DockVisualStyleSection;
|
|
968
|
-
onClick?: DockEventHandler | null;
|
|
969
|
-
ariaLabel?: string;
|
|
970
|
-
animated?: boolean;
|
|
971
|
-
}
|
|
972
|
-
export interface DockIconOverlayProps {
|
|
973
|
-
overlay?: DockIconOverlayConfig | null;
|
|
974
|
-
}
|
|
975
|
-
export interface DockCardItemProps {
|
|
976
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
977
|
-
activeItem?: DockItem | null;
|
|
978
|
-
onContentHeightChange?: ((height: number) => void) | null;
|
|
979
|
-
isStackHovered?: boolean;
|
|
980
|
-
onMouseEnter?: () => void;
|
|
981
|
-
onMouseLeave?: () => void;
|
|
982
|
-
expanded?: boolean;
|
|
983
|
-
hasExtensions?: boolean;
|
|
984
|
-
position: number;
|
|
985
|
-
onClick?: DockEventHandler;
|
|
986
|
-
isTop?: boolean;
|
|
987
|
-
item?: DockItem;
|
|
988
|
-
link?: DockItem;
|
|
989
|
-
isActive?: boolean;
|
|
990
|
-
statusStyle?: DockVisualStyleInput | null;
|
|
991
|
-
isStatusActive?: boolean;
|
|
992
|
-
isHudActive?: boolean;
|
|
993
|
-
isSurfaceActive?: boolean;
|
|
994
|
-
hud?: DockHudDescriptor | null;
|
|
995
|
-
clearHud?: ((id?: string) => void) | null;
|
|
996
|
-
contextCommands?: DockActionDescriptor[];
|
|
997
|
-
}
|
|
998
|
-
export interface StandardItemContentProps {
|
|
999
|
-
item?: DockItem;
|
|
1000
|
-
link?: DockItem;
|
|
1001
|
-
activeItem?: DockItem | null;
|
|
1002
|
-
isTop?: boolean;
|
|
1003
|
-
itemStyle: DockVisualStyle;
|
|
1004
|
-
badge?: DockBadgeState;
|
|
1005
|
-
isActive?: boolean;
|
|
1006
|
-
footerNode?: ReactNode;
|
|
1007
|
-
isActionDismissed?: boolean;
|
|
1008
|
-
isHudActive?: boolean;
|
|
1009
|
-
hud?: DockHudDescriptor | null;
|
|
1010
|
-
clearHud?: ((id?: string) => void) | null;
|
|
1011
|
-
contextCommands?: DockActionDescriptor[];
|
|
1012
|
-
pathname: string;
|
|
1013
|
-
}
|
|
1014
|
-
export interface DockItemCardPropsOptions {
|
|
1015
|
-
cardScale?: number;
|
|
1016
|
-
cardStyle?: DockVisualStyleSection;
|
|
1017
|
-
expanded?: boolean;
|
|
1018
|
-
hasExtensions?: boolean;
|
|
1019
|
-
isAnchoredToBottom?: boolean;
|
|
1020
|
-
position: number;
|
|
1021
|
-
stacking: DockDeckStacking;
|
|
1022
|
-
theme: DockTheme;
|
|
1023
|
-
visibleCount?: number;
|
|
1024
|
-
}
|
|
1025
|
-
export interface ContainerHeightOptions {
|
|
1026
|
-
cardContentHeight?: number | string | null;
|
|
1027
|
-
isHud?: boolean;
|
|
1028
|
-
}
|
|
1029
|
-
export interface UseDockHeightControllerOptions {
|
|
1030
|
-
contentKey?: unknown;
|
|
1031
|
-
isHud?: boolean;
|
|
1032
|
-
setDockHeight: (height: number) => void;
|
|
1033
|
-
surfacePhase?: string;
|
|
1034
|
-
}
|
|
1035
|
-
export interface ErrorActionsProps {
|
|
1036
|
-
className?: string;
|
|
1037
|
-
onRefresh?: () => void;
|
|
1038
|
-
onRetry?: () => void;
|
|
1039
|
-
refreshLabel?: string;
|
|
1040
|
-
refreshText?: string;
|
|
1041
|
-
retryLabel?: string;
|
|
1042
|
-
retryText?: string;
|
|
1043
|
-
}
|
|
1044
|
-
export interface GuardActionsProps {
|
|
1045
|
-
cancelLabel?: string;
|
|
1046
|
-
cancelText?: string;
|
|
1047
|
-
className?: string;
|
|
1048
|
-
confirmLabel?: string;
|
|
1049
|
-
confirmText?: string;
|
|
1050
|
-
onCancel?: () => void;
|
|
1051
|
-
onConfirm?: () => void;
|
|
1052
|
-
}
|
|
1053
|
-
export interface SurfaceFlowContextValue extends Partial<Pick<DockSurfaceActions, "cancelSurfaceFlow" | "completeSurfaceFlow" | "openSurfaceFlow" | "restoreSurfaceFlow" | "updateSurfaceFlow">> {
|
|
1054
|
-
surfaceState?: Pick<SurfaceState, "surfaceStack"> | null;
|
|
1055
|
-
}
|
|
1056
|
-
type PropsResolver<T> = T | ((props: DockComponentProps) => T);
|
|
1057
|
-
export interface SurfaceBuilderDefinition extends Omit<SurfaceDescriptor, "description" | "icon" | "props" | "title"> {
|
|
1058
|
-
defaultProps?: DockComponentProps;
|
|
1059
|
-
description?: PropsResolver<string | null>;
|
|
1060
|
-
icon?: PropsResolver<DockIconSource>;
|
|
1061
|
-
title?: PropsResolver<string | null>;
|
|
1062
|
-
loader?: () => Promise<{
|
|
1063
|
-
default: DockComponent;
|
|
1064
|
-
}>;
|
|
1065
|
-
}
|
|
1066
|
-
export interface SurfaceBuilderFactory {
|
|
1067
|
-
(props?: DockComponentProps, overrides?: Partial<SurfaceDescriptor>): SurfaceDescriptor;
|
|
1068
|
-
component: DockComponent | null;
|
|
1069
|
-
id: string | null;
|
|
1070
|
-
isSurfaceFactory: true;
|
|
1071
|
-
open: (openSurfaceFn: (entry: SurfaceDescriptor) => Promise<SurfaceResult>, props?: DockComponentProps, overrides?: Partial<SurfaceDescriptor>) => Promise<SurfaceResult> | undefined;
|
|
1072
|
-
}
|
|
1073
|
-
export interface BoundSurfaceFactory extends SurfaceBuilderFactory {
|
|
1074
|
-
config: SurfaceBuilderDefinition | DefineStepSurfaceOptions;
|
|
1075
|
-
use: () => SurfaceHandle;
|
|
1076
|
-
}
|
|
1077
|
-
export type SurfaceFactoryLike = ((props?: DockComponentProps, overrides?: Partial<SurfaceDescriptor>) => SurfaceDescriptor) & {
|
|
1078
|
-
component?: DockComponent | null;
|
|
1079
|
-
id?: string | null;
|
|
1080
|
-
};
|
|
1081
|
-
export type UseSurfaceInput = string | SurfaceFactoryLike | SurfaceDescriptor;
|
|
1082
|
-
export type SurfaceOpenFn = (props?: DockComponentProps, overrides?: Partial<SurfaceDescriptor>) => Promise<SurfaceResult>;
|
|
1083
|
-
export interface SurfaceHandleControls {
|
|
1084
|
-
close: (result?: SurfaceResult) => void;
|
|
1085
|
-
closeAll: (result?: SurfaceResult) => void;
|
|
1086
|
-
isOpen: boolean;
|
|
1087
|
-
surfaceStack: ResolvedSurfaceEntry[];
|
|
1088
|
-
}
|
|
1089
|
-
export type SurfaceHandle = [SurfaceOpenFn, SurfaceHandleControls] & SurfaceHandleControls & {
|
|
1090
|
-
open: SurfaceOpenFn;
|
|
1091
|
-
};
|
|
1092
|
-
export interface GeneralSurfaceHandle {
|
|
1093
|
-
closeAllSurfaces: DockSurfaceActions["closeAllSurfaces"];
|
|
1094
|
-
closeSurface: DockSurfaceActions["closeSurface"];
|
|
1095
|
-
openSurface: DockSurfaceActions["openSurface"];
|
|
1096
|
-
surfaceStack: ResolvedSurfaceEntry[];
|
|
1097
|
-
}
|
|
1098
|
-
export interface SurfaceViewModelOptions extends Partial<Pick<DockSurfaceActions, "closeAllSurfaces" | "closeSurface" | "getSurfaceFlow" | "goBackSurface" | "goToStep" | "popStep" | "pushStep">> {
|
|
1099
|
-
surfaceStack?: ResolvedSurfaceEntry[];
|
|
1100
|
-
surfacePhase?: string;
|
|
1101
|
-
}
|
|
1102
|
-
export interface DockSurfaceShellProps {
|
|
1103
|
-
ref?: React.Ref<HTMLElement>;
|
|
1104
|
-
title?: string;
|
|
1105
|
-
onClose?: (() => void) | null;
|
|
1106
|
-
onBack?: (() => void) | null;
|
|
1107
|
-
allowSwipeDismiss?: boolean;
|
|
1108
|
-
closeLabel?: string;
|
|
1109
|
-
backLabel?: string;
|
|
1110
|
-
showControls?: boolean;
|
|
1111
|
-
className?: string;
|
|
1112
|
-
contentClassName?: string;
|
|
1113
|
-
children?: ReactNode;
|
|
1114
|
-
onAnimationComplete?: (() => void) | null;
|
|
1115
|
-
isActive?: boolean;
|
|
1116
|
-
surfaceId?: SurfaceId | null;
|
|
1117
|
-
surfacePhase?: string;
|
|
1118
|
-
surfaceWidth?: number | string | null;
|
|
1119
|
-
}
|
|
1120
|
-
export interface SurfaceFlowReturnInput {
|
|
1121
|
-
restoreReturnScroll?: boolean;
|
|
1122
|
-
returnFocusKey?: string | null;
|
|
1123
|
-
returnHandshake?: Partial<SurfaceReturnHandshake> | null;
|
|
1124
|
-
returnOnCancel?: boolean;
|
|
1125
|
-
returnTo?: string;
|
|
1126
|
-
}
|
|
1127
|
-
export interface DockGuardRegistry {
|
|
1128
|
-
check(to: string, from: string): Promise<GuardCheckResult>;
|
|
1129
|
-
clear(): void;
|
|
1130
|
-
count(): number;
|
|
1131
|
-
register(guard: DockGuard): () => void;
|
|
1132
|
-
}
|
|
1133
|
-
export type DockScheduler = ReturnType<typeof createScheduler>;
|
|
1134
|
-
export type DockScheduledTaskId = ReturnType<DockScheduler["schedule"]>;
|
|
1135
|
-
export type StatusState = DockStatusDescriptor | null;
|
|
1136
|
-
export type DockThemeSlot = "stack" | "backdrop" | "card" | "cardContent" | "cardSurface" | "cardShelf" | "cardStandard" | "cardHud" | "cardBody" | "cardFooter" | "cardAction" | "bannerRoot" | "bannerSharpImage" | "bannerScrim" | "header" | "headerRow" | "headerIcon" | "headerIconEmpty" | "headerBody" | "headerText" | "headerTitleRow" | "headerTitle" | "title" | "titleWrap" | "description" | "descriptionText" | "icon" | "iconMotion" | "iconImage" | "iconGlyph" | "iconGlyphInner" | "iconButton" | "iconBadge" | "iconOverlay" | "iconOverlayImage" | "iconOverlayGlyph" | "commandBar" | "commandTooltip" | "command" | "commandBadge" | "statusCard" | "statusIcon" | "statusTitle" | "statusDescription" | "surfaceHost" | "surfaceHostInner" | "surfaceShell" | "surfaceBody" | "controls" | "controlAction" | "controlBack" | "controlClose" | "controlButton" | "controlBackIcon" | "controlHeaderButton" | "controlRadiusSingle" | "controlRadiusFirst" | "controlRadiusLast" | "controlRadiusMiddle" | "extensions" | "extensionsLeft" | "extensionsCenterLayer" | "extensionsCenter" | "extensionsRight" | "extensionPill" | "extensionBare" | "scrubber" | "scrubberTrack" | "scrubberProgress" | "scrubberTooltip" | "media" | "mediaGroup" | "mediaSpeed" | "mediaSkip" | "mediaToggle" | "mediaMute" | "mediaVolume" | "mediaVolumeTrack" | "mediaVolumeRail" | "mediaVolumeFill" | "mediaVolumeThumb" | "breadcrumbs" | "breadcrumbsNav" | "breadcrumbsEllipsis" | "breadcrumbsItem" | "breadcrumbsCurrent" | "breadcrumbsLink" | "breadcrumbsSeparator" | "loading" | "loadingIcon" | "loadingText" | "loadingTitle" | "loadingDescription" | "action" | "actionActive" | "actionFill" | "actionLabel" | "actionMuted" | "actionRow" | "actionStack" | "actionSurface";
|
|
1137
|
-
export type DockTheme = ResolvedTheme<DockThemeSlot>;
|
|
1138
|
-
export interface DockCardExitInput {
|
|
1139
|
-
y: number;
|
|
1140
|
-
scale: number | null;
|
|
1141
|
-
position: number;
|
|
1142
|
-
}
|
|
1143
|
-
export interface DockSurfaceTimings {
|
|
1144
|
-
dismissAction: number;
|
|
1145
|
-
anticipation: number;
|
|
1146
|
-
expandBody: number;
|
|
1147
|
-
collapseBody: number;
|
|
1148
|
-
restoreHeader: number;
|
|
1149
|
-
}
|
|
1150
|
-
export type DockSurfacePhaseKey = keyof DockSurfaceTimings | "idle" | "open";
|
|
1151
|
-
export interface DockSurfacePhaseMotion {
|
|
1152
|
-
deck: Transition | ((distancePx: number) => Transition) | null;
|
|
1153
|
-
transform: Transition | null;
|
|
1154
|
-
scale: number;
|
|
1155
|
-
body: Transition;
|
|
1156
|
-
header: Transition;
|
|
1157
|
-
headerReturn: Transition | null;
|
|
1158
|
-
}
|
|
1159
|
-
export interface DockDeckStacking {
|
|
1160
|
-
collapsed: {
|
|
1161
|
-
offsetY: number;
|
|
1162
|
-
scale: number;
|
|
1163
|
-
opacityStep: number;
|
|
1164
|
-
opacityMin: number;
|
|
1165
|
-
};
|
|
1166
|
-
expanded: {
|
|
1167
|
-
offsetY: number;
|
|
1168
|
-
};
|
|
1169
|
-
shelf: {
|
|
1170
|
-
offsetY: number;
|
|
1171
|
-
scale: number;
|
|
1172
|
-
};
|
|
1173
|
-
visible: {
|
|
1174
|
-
stack: number;
|
|
1175
|
-
extensions: number;
|
|
1176
|
-
status: number;
|
|
1177
|
-
};
|
|
1178
|
-
}
|
|
1179
|
-
export interface DockMotion {
|
|
1180
|
-
transitions: {
|
|
1181
|
-
stack: Transition;
|
|
1182
|
-
expand: Transition;
|
|
1183
|
-
surfaceExit: Transition;
|
|
1184
|
-
layout: Transition;
|
|
1185
|
-
card: Transition;
|
|
1186
|
-
cardExpanded: Transition;
|
|
1187
|
-
cardPeek: Transition;
|
|
1188
|
-
fade: Transition;
|
|
1189
|
-
text: Transition;
|
|
1190
|
-
headerSwap: Transition;
|
|
1191
|
-
actionDismiss: Transition;
|
|
1192
|
-
icon: Transition;
|
|
1193
|
-
badge: Transition;
|
|
1194
|
-
hud: Transition;
|
|
1195
|
-
press: Transition;
|
|
1196
|
-
scrubberTooltip: Transition;
|
|
1197
|
-
scrubberFollow: SpringOptions;
|
|
1198
|
-
mediaVolume: Transition;
|
|
1199
|
-
};
|
|
1200
|
-
variants: {
|
|
1201
|
-
fade: Variants;
|
|
1202
|
-
textCrossfade: Variants;
|
|
1203
|
-
description: (opacity: number) => Variants;
|
|
1204
|
-
headerSwap: Variants;
|
|
1205
|
-
headerRestore: Variants;
|
|
1206
|
-
extensionShelf: Variants;
|
|
1207
|
-
actionDismiss: Variants;
|
|
1208
|
-
commandBar: Variants;
|
|
1209
|
-
icon: Variants;
|
|
1210
|
-
badge: Variants;
|
|
1211
|
-
hud: Variants;
|
|
1212
|
-
scrubberTooltip: Variants;
|
|
1213
|
-
breadcrumbs: Variants;
|
|
1214
|
-
backdrop: Variants;
|
|
1215
|
-
surfaceBody: Variants;
|
|
1216
|
-
controlsContainer: Variants;
|
|
1217
|
-
controlsAction: Variants;
|
|
1218
|
-
controlsBack: Variants;
|
|
1219
|
-
controlsClose: Variants;
|
|
1220
|
-
press: Variants;
|
|
1221
|
-
mediaVolumeThumb: {
|
|
1222
|
-
idle: TargetAndTransition;
|
|
1223
|
-
dragging: TargetAndTransition;
|
|
1224
|
-
};
|
|
1225
|
-
cardContent: {
|
|
1226
|
-
hidden: TargetAndTransition;
|
|
1227
|
-
visible: TargetAndTransition;
|
|
1228
|
-
};
|
|
1229
|
-
};
|
|
1230
|
-
phases: Record<DockSurfacePhaseKey, DockSurfacePhaseMotion>;
|
|
1231
|
-
deck: {
|
|
1232
|
-
elevation: {
|
|
1233
|
-
rest: string;
|
|
1234
|
-
elevated: string;
|
|
1235
|
-
};
|
|
1236
|
-
peek: (position: number) => {
|
|
1237
|
-
lift: number;
|
|
1238
|
-
scale: number;
|
|
1239
|
-
};
|
|
1240
|
-
exit: (card: DockCardExitInput) => TargetAndTransition;
|
|
1241
|
-
tapScale: number;
|
|
1242
|
-
stacking: DockDeckStacking;
|
|
1243
|
-
breadcrumbOffset: number;
|
|
1244
|
-
fullscreenOpacity: number;
|
|
1245
|
-
origin: string;
|
|
1246
|
-
resizeFallback: number;
|
|
1247
|
-
};
|
|
1248
|
-
opacity: {
|
|
1249
|
-
banner: number;
|
|
1250
|
-
description: number;
|
|
1251
|
-
};
|
|
1252
|
-
drag: {
|
|
1253
|
-
elastic: {
|
|
1254
|
-
top: number;
|
|
1255
|
-
bottom: number;
|
|
1256
|
-
};
|
|
1257
|
-
range: readonly [number, number];
|
|
1258
|
-
opacity: readonly [number, number];
|
|
1259
|
-
scale: readonly [number, number];
|
|
1260
|
-
dismiss: {
|
|
1261
|
-
offset: number;
|
|
1262
|
-
velocity: number;
|
|
1263
|
-
};
|
|
1264
|
-
};
|
|
1265
|
-
skeleton: string;
|
|
1266
|
-
timings: DockSurfaceTimings & {
|
|
1267
|
-
expandStagger: number;
|
|
1268
|
-
expandStaggerCap: number;
|
|
1269
|
-
peekStagger: number;
|
|
1270
|
-
peekStaggerCap: number;
|
|
1271
|
-
};
|
|
1272
|
-
}
|
|
1273
|
-
export {};
|
|
1274
|
-
//# sourceMappingURL=types.d.ts.map
|