@omerdlw/base-framework 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-26K6W4OQ.js +1435 -0
- package/dist/chunk-26K6W4OQ.js.map +1 -0
- package/dist/chunk-2BLGNT5I.js +850 -0
- package/dist/chunk-2BLGNT5I.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-5GVH4BQV.js +577 -0
- package/dist/chunk-5GVH4BQV.js.map +1 -0
- package/dist/chunk-5H6FZW3N.js +535 -0
- package/dist/chunk-5H6FZW3N.js.map +1 -0
- package/dist/chunk-66MHDFNF.js +3488 -0
- package/dist/chunk-66MHDFNF.js.map +1 -0
- package/dist/chunk-7RSRDKYE.js +22 -0
- package/dist/chunk-7RSRDKYE.js.map +1 -0
- package/dist/chunk-AAT3QWHN.js +567 -0
- package/dist/chunk-AAT3QWHN.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-GQKGOLHJ.js +1766 -0
- package/dist/chunk-GQKGOLHJ.js.map +1 -0
- package/dist/chunk-IR3DCLBM.js +17 -0
- package/dist/chunk-IR3DCLBM.js.map +1 -0
- package/dist/chunk-J3VTDBC6.js +14 -0
- package/dist/chunk-J3VTDBC6.js.map +1 -0
- package/dist/chunk-J4WUCHNR.js +825 -0
- package/dist/chunk-J4WUCHNR.js.map +1 -0
- package/dist/chunk-KMN6J5SL.js +493 -0
- package/dist/chunk-KMN6J5SL.js.map +1 -0
- package/dist/chunk-LA3CQ6NY.js +261 -0
- package/dist/chunk-LA3CQ6NY.js.map +1 -0
- package/dist/chunk-LTO77WSO.js +140 -0
- package/dist/chunk-LTO77WSO.js.map +1 -0
- package/dist/chunk-NTUQYA73.js +110 -0
- package/dist/chunk-NTUQYA73.js.map +1 -0
- package/dist/chunk-OEXWOZPS.js +139 -0
- package/dist/chunk-OEXWOZPS.js.map +1 -0
- package/dist/chunk-PUD4IB3L.js +15762 -0
- package/dist/chunk-PUD4IB3L.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-WBBM67WL.js +460 -0
- package/dist/chunk-WBBM67WL.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-ZE6OGGA7.js +2341 -0
- package/dist/chunk-ZE6OGGA7.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-YC336DAS.js +13 -0
- package/dist/overlay-YC336DAS.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 +134 -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listeners.d.ts","sourceRoot":"","sources":["../../../src/modules/navigation/listeners.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"listeners.d.ts","sourceRoot":"","sources":["../../../src/modules/navigation/listeners.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,kBAAkB,EAElB,SAAS,EACV,MAAM,yBAAyB,CAAC;AA2BjC;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,EACtC,QAAQ,EAAE,MAAM,kBAAkB,EAClC,GAAG,GAAE,QAAmB,GACvB,MAAM,IAAI,CAwCZ;AAsBD;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,QAAQ,GAAG,cAAc,GAAG,OAAO,CAAC,EAC1E,GAAG,GAAE,MAAe,GACnB,MAAM,IAAI,CAqCZ"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type { NavigationTrip } from "
|
|
2
|
-
|
|
1
|
+
import type { NavigationTrip } from "../../core/navigation/types";
|
|
2
|
+
/**
|
|
3
|
+
* Module definition that provides navigation tracking, holds and prefetching.
|
|
4
|
+
*/
|
|
5
|
+
export declare const navigationModule: import("@omerdlw/base-framework/kernel").CoreModule<"navigation", import("../../core/navigation/types").NavigationRuntime, never, never>;
|
|
3
6
|
interface NavigationEventPayload {
|
|
4
7
|
from: string;
|
|
5
8
|
source: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/modules/navigation/module.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/modules/navigation/module.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D;;GAEG;AACH,eAAO,MAAM,gBAAgB,sIAI3B,CAAC;AAEH,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,OAAO,QAAQ,gCAAgC,CAAC;IAC9C,UAAU,iBAAiB;QACzB,gBAAgB,EAAE,sBAAsB,CAAC;QACzC,iBAAiB,EAAE,sBAAsB,CAAC;QAC1C,cAAc,EAAE,sBAAsB,CAAC;KACxC;CACF;AAED,OAAO,QAAQ,gCAAgC,CAAC;IAC9C,UAAU,WAAW;QACnB,UAAU,EAAE,OAAO,gBAAgB,CAAC;KACrC;CACF"}
|
|
@@ -1,11 +1,31 @@
|
|
|
1
|
-
import { type NotificationActions, type
|
|
1
|
+
import { type NotificationActions, type NotificationMotion, type NotificationState, type NotificationThemeSlot } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Default toast durations in milliseconds.
|
|
4
|
+
*/
|
|
2
5
|
export declare const TOAST_DURATIONS: Readonly<{
|
|
3
6
|
readonly DEFAULT: 2000;
|
|
4
7
|
readonly SHORT: 1500;
|
|
5
8
|
}>;
|
|
9
|
+
/** Longest text message that still serves as its own notification id. */
|
|
10
|
+
export declare const MESSAGE_ID_LENGTH = 64;
|
|
11
|
+
/**
|
|
12
|
+
* Message shown when the API reports an unauthorized session.
|
|
13
|
+
*/
|
|
6
14
|
export declare const SESSION_EXPIRED_MESSAGE: "Your session has expired. Please sign in again";
|
|
15
|
+
/**
|
|
16
|
+
* DOM id of the dock card stack that toasts dock into.
|
|
17
|
+
*/
|
|
7
18
|
export declare const DOCK_STACK_ELEMENT_ID = "dock-card-stack";
|
|
8
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Theme spec for the notification layer.
|
|
21
|
+
*/
|
|
22
|
+
export declare const notificationTheme: import("../../react/theme").ThemeSpec<NotificationThemeSlot, NotificationMotion>;
|
|
23
|
+
/**
|
|
24
|
+
* Notification state with nothing shown.
|
|
25
|
+
*/
|
|
9
26
|
export declare const INITIAL_NOTIFICATION_STATE: NotificationState;
|
|
27
|
+
/**
|
|
28
|
+
* Notification actions that do nothing; used outside a NotificationProvider.
|
|
29
|
+
*/
|
|
10
30
|
export declare const INERT_NOTIFICATION_ACTIONS: NotificationActions;
|
|
11
31
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/constants.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC3B,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,eAAe;;;EAGjB,CAAC;AAEZ,yEAAyE;AACzE,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,uBAAuB,kDAA6B,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,iBAAiB,8EAGb,CAAC;AAElB;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,iBAEvC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,mBAIvC,CAAC"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { type NotificationContextValue, type NotificationProviderProps, type NotificationState } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* React context holding the notification store and actions.
|
|
4
|
+
*/
|
|
2
5
|
export declare const NotificationContext: import("react").Context<NotificationContextValue | null>;
|
|
3
|
-
|
|
4
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Store with an empty state; used outside a NotificationProvider.
|
|
8
|
+
*/
|
|
9
|
+
export declare const NOOP_NOTIFICATION_STORE: import("../../foundation/utils").ExternalStore<NotificationState>;
|
|
10
|
+
/**
|
|
11
|
+
* Provides notification state and actions. Showing a notification replaces the
|
|
12
|
+
* current one and dismisses it after its duration.
|
|
13
|
+
*/
|
|
14
|
+
export declare function NotificationProvider({ children }: NotificationProviderProps): import("react").JSX.Element;
|
|
5
15
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/context.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAEL,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EAEvB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,mBAAmB,0DAI7B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,uBAAuB,+DAEnC,CAAC;AAUF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,+BA6F3E"}
|
|
@@ -1,17 +1,48 @@
|
|
|
1
1
|
import { type NotificationActions, type NotificationState, type ToastController } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the notification actions without subscribing to state changes.
|
|
4
|
+
*/
|
|
2
5
|
export declare function useNotificationActions(): NotificationActions;
|
|
6
|
+
/**
|
|
7
|
+
* Subscribes to the notification state.
|
|
8
|
+
*/
|
|
3
9
|
export declare function useNotificationState(): NotificationState;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the notification state together with its actions.
|
|
12
|
+
*/
|
|
4
13
|
export declare function useNotification(): NotificationState & NotificationActions;
|
|
14
|
+
/**
|
|
15
|
+
* Like useNotificationState, but returns an empty state outside a
|
|
16
|
+
* NotificationProvider. Accepts a selector.
|
|
17
|
+
*/
|
|
5
18
|
export declare function useOptionalNotificationState(): NotificationState;
|
|
6
19
|
export declare function useOptionalNotificationState<T>(selector: (state: NotificationState) => T, isEqual?: (a: T, b: T) => boolean): T;
|
|
20
|
+
/**
|
|
21
|
+
* Like useNotificationActions, but returns inert actions outside a
|
|
22
|
+
* NotificationProvider.
|
|
23
|
+
*/
|
|
7
24
|
export declare function useOptionalNotificationActions(): NotificationActions;
|
|
25
|
+
/**
|
|
26
|
+
* Whether any notification is currently shown.
|
|
27
|
+
*/
|
|
8
28
|
export declare function useNotificationVisible(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the toast API. `defaultDuration` sets how long toasts last unless a
|
|
31
|
+
* call overrides it.
|
|
32
|
+
*/
|
|
9
33
|
export declare function useToast(defaultDuration?: number | null): ToastController;
|
|
34
|
+
/**
|
|
35
|
+
* Shows notifications for framework events: unauthorized responses and errors
|
|
36
|
+
* or state changes that ask to notify.
|
|
37
|
+
*/
|
|
10
38
|
export declare function NotificationListener(): null;
|
|
39
|
+
/**
|
|
40
|
+
* Active notification, hydration flag and theme for the notification container.
|
|
41
|
+
*/
|
|
11
42
|
export declare function useNotificationContainerModel(): {
|
|
12
43
|
dismissNotification: (id: string) => void;
|
|
13
44
|
isHydrated: boolean;
|
|
14
45
|
activeEntry: import("./types").NotificationEntry | null;
|
|
15
|
-
theme: import("../../theme").ResolvedTheme<import("./types").NotificationThemeSlot>;
|
|
46
|
+
theme: import("../../react/theme").ResolvedTheme<import("./types").NotificationThemeSlot>;
|
|
16
47
|
};
|
|
17
48
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/hooks.ts"],"names":[],"mappings":"AA6BA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EAGrB,MAAM,SAAS,CAAC;AAUjB;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,mBAAmB,CAM5D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,iBAAiB,CAOxD;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,iBAAiB,GAAG,mBAAmB,CAKzE;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,iBAAiB,CAAC;AAClE,wBAAgB,4BAA4B,CAAC,CAAC,EAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,CAAC,EACzC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,GAChC,CAAC,CAAC;AAaL;;;GAGG;AACH,wBAAgB,8BAA8B,IAAI,mBAAmB,CAGpE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAIhD;AA8ED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,eAAe,CAmDzE;AASD;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAgB3C;AAED;;GAEG;AACH,wBAAgB,6BAA6B;;;;;EAc5C"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { type NotificationPageApi, type NotificationPageConfig } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Module definition that shows toast notifications.
|
|
4
|
+
*/
|
|
2
5
|
export declare const notificationModule: import("@omerdlw/base-framework/kernel").CoreModule<"notification", import("./types").NotificationContextValue, number, NotificationPageApi>;
|
|
3
6
|
declare module "@omerdlw/base-framework/kernel" {
|
|
4
7
|
interface CoreModules {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/module.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/module.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAuBhF;;GAEG;AACH,eAAO,MAAM,kBAAkB,8IAS7B,CAAC;AAEH,OAAO,QAAQ,gCAAgC,CAAC;IAC9C,UAAU,WAAW;QACnB,YAAY,EAAE,OAAO,kBAAkB,CAAC;KACzC;IACD,UAAU,UAAU;QAClB,YAAY,CAAC,EAAE,sBAAsB,CAAC;KACvC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/motion.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/motion.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B;;;;;;EAMxC,CAAC;AAEH,wBAAgB,qBAAqB,yCAEpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/overlay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/overlay.tsx"],"names":[],"mappings":"AA6DA,wBAAgB,qBAAqB,uCAqCpC;AAED,wBAAgB,iBAAiB,gCAOhC"}
|
|
@@ -1,15 +1,43 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type NotificationData, type NotificationEntry, type NotificationOptions, type ToastOptionsInput, type ToastPromiseMessages } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Trims a text message and removes trailing periods and spaces; other values
|
|
5
|
+
* pass through.
|
|
6
|
+
*/
|
|
3
7
|
export declare function normalizeFeedbackText<T = unknown>(value: T): T;
|
|
8
|
+
/**
|
|
9
|
+
* The most recent notification, or null.
|
|
10
|
+
*/
|
|
4
11
|
export declare function getActiveNotification(notifications: Record<string, NotificationEntry>): NotificationEntry | null;
|
|
12
|
+
/**
|
|
13
|
+
* Turns a duration or options into an options object.
|
|
14
|
+
*/
|
|
5
15
|
export declare function normalizeToastOptions(options?: ToastOptionsInput): NotificationOptions;
|
|
16
|
+
/**
|
|
17
|
+
* Validates a toast duration in milliseconds. Undefined means the default;
|
|
18
|
+
* null, zero, negative or invalid values mean never dismiss.
|
|
19
|
+
*/
|
|
6
20
|
export declare function normalizeDuration(value: unknown): number | null;
|
|
21
|
+
/**
|
|
22
|
+
* Normalizes toast options, using a default duration when none is set.
|
|
23
|
+
*/
|
|
7
24
|
export declare function withDefaultDuration(duration: number, options?: ToastOptionsInput): NotificationOptions & {
|
|
8
25
|
duration: number | null;
|
|
9
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Whether a value is a notification data object rather than a plain message.
|
|
29
|
+
*/
|
|
10
30
|
export declare function isNotificationDataObject(value: unknown): value is NotificationData;
|
|
11
31
|
export declare function resolveMessage<A>(message: ReactNode | ((arg: A) => ReactNode), arg: A): ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Picks the success or error message for a settled value, falling back to a
|
|
34
|
+
* message derived from the error.
|
|
35
|
+
*/
|
|
12
36
|
export declare function getOutcomeMessage<T, E>(value: unknown, messages: ToastPromiseMessages<T, E>): ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Builds a notification entry and its auto-dismiss duration from a message or
|
|
39
|
+
* data object. Returns null when the message is empty.
|
|
40
|
+
*/
|
|
13
41
|
export declare function createNotificationEntry(messageOrData: ReactNode | NotificationData, options?: ToastOptionsInput, fallbackId?: string): {
|
|
14
42
|
entry: NotificationEntry;
|
|
15
43
|
duration: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,SAAS,CAAC;AAEjB;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAG9D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAC/C,iBAAiB,GAAG,IAAI,CAM1B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,CAAC,EAAE,iBAAiB,GAC1B,mBAAmB,CAErB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAK/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,mBAAmB,GAAG;IAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAOnD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,gBAAgB,CAE3B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,OAAO,EAAE,SAAS,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC,EAC5C,GAAG,EAAE,CAAC,GACL,SAAS,CAEX;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EACpC,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,GACnC,SAAS,CAMX;AAWD;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,SAAS,GAAG,gBAAgB,EAC3C,OAAO,CAAC,EAAE,iBAAiB,EAC3B,UAAU,CAAC,EAAE,MAAM,GAClB;IAAE,KAAK,EAAE,iBAAiB,CAAC;IAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,CA0B9D"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
1
|
import { type Transition, type Variants } from "motion/react";
|
|
3
|
-
import { type
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
import { type ExternalStore } from "../../foundation/utils";
|
|
4
|
+
/**
|
|
5
|
+
* A notification as passed to showNotification: a message plus optional id,
|
|
6
|
+
* dedupe key and duration.
|
|
7
|
+
*/
|
|
4
8
|
export interface NotificationData {
|
|
5
9
|
dedupeKey?: string;
|
|
6
10
|
duration?: number | null;
|
|
@@ -8,34 +12,61 @@ export interface NotificationData {
|
|
|
8
12
|
message: ReactNode;
|
|
9
13
|
timestamp?: number;
|
|
10
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* A notification held in state, with its id and creation time.
|
|
17
|
+
*/
|
|
11
18
|
export interface NotificationEntry extends NotificationData {
|
|
12
19
|
id: string;
|
|
13
20
|
message: ReactNode;
|
|
14
21
|
timestamp: number;
|
|
15
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Observable state: the notifications currently shown, by id.
|
|
25
|
+
*/
|
|
16
26
|
export interface NotificationState {
|
|
17
27
|
notifications: Record<string, NotificationEntry>;
|
|
18
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Options for one notification: id, dedupe key and duration.
|
|
31
|
+
*/
|
|
19
32
|
export interface NotificationOptions {
|
|
20
33
|
dedupeKey?: string;
|
|
21
34
|
duration?: number | null;
|
|
22
35
|
id?: string;
|
|
23
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Options for one toast.
|
|
39
|
+
*/
|
|
24
40
|
export type ToastOptions = NotificationOptions;
|
|
41
|
+
/**
|
|
42
|
+
* Toast options, or just a duration in milliseconds.
|
|
43
|
+
*/
|
|
25
44
|
export type ToastOptionsInput = number | NotificationOptions;
|
|
45
|
+
/**
|
|
46
|
+
* Functions that show and dismiss notifications.
|
|
47
|
+
*/
|
|
26
48
|
export interface NotificationActions {
|
|
27
49
|
dismissAllNotifications: () => void;
|
|
28
50
|
dismissNotification: (id: string) => void;
|
|
29
51
|
showNotification: (messageOrData: ReactNode | NotificationData, options?: ToastOptionsInput) => string | null;
|
|
30
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Props of NotificationProvider.
|
|
55
|
+
*/
|
|
31
56
|
export interface NotificationProviderProps {
|
|
32
57
|
children?: ReactNode;
|
|
33
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Messages shown while a promise is loading, succeeds or fails.
|
|
61
|
+
*/
|
|
34
62
|
export interface ToastPromiseMessages<T = unknown, E = unknown> {
|
|
35
63
|
error?: ReactNode | ((error: E) => ReactNode);
|
|
36
64
|
loading?: ReactNode;
|
|
37
65
|
success?: ReactNode | ((data: T) => ReactNode);
|
|
38
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Callable toast API: show a toast, dismiss it, or report a promise or result.
|
|
69
|
+
*/
|
|
39
70
|
export interface ToastController {
|
|
40
71
|
(message: ReactNode, options?: ToastOptionsInput): string | null;
|
|
41
72
|
dismiss: (id?: string) => void;
|
|
@@ -43,18 +74,33 @@ export interface ToastController {
|
|
|
43
74
|
fromResult: <T = unknown, E = unknown, R = unknown>(result: R, messages?: ToastPromiseMessages<T, E>, options?: ToastOptionsInput) => R;
|
|
44
75
|
promise: <T = unknown, E = unknown>(promiseOrFn: Promise<T> | (() => Promise<T>), messages?: ToastPromiseMessages<T, E>, options?: ToastOptionsInput) => Promise<T>;
|
|
45
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Value held by NotificationContext: a store and its actions.
|
|
79
|
+
*/
|
|
46
80
|
export interface NotificationContextValue {
|
|
47
81
|
actions: NotificationActions;
|
|
48
82
|
store: ExternalStore<NotificationState>;
|
|
49
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* The `notification` page setting: the default toast duration.
|
|
86
|
+
*/
|
|
50
87
|
export type NotificationPageConfig = number | {
|
|
51
88
|
duration?: number | null;
|
|
52
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* The notification API available on a page controller.
|
|
92
|
+
*/
|
|
53
93
|
export interface NotificationPageApi {
|
|
54
94
|
toast: ToastController;
|
|
55
95
|
set: (notification: NotificationPageConfig) => void;
|
|
56
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Theme slots of the notification layer.
|
|
99
|
+
*/
|
|
57
100
|
export type NotificationThemeSlot = "layer" | "toast" | "toastDocked" | "toastMessage";
|
|
101
|
+
/**
|
|
102
|
+
* Motion variants and transition of a toast.
|
|
103
|
+
*/
|
|
58
104
|
export interface NotificationMotion {
|
|
59
105
|
toast: Variants;
|
|
60
106
|
transition: Transition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/modules/notification/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../modules/navigation/index.js";
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { NavigationContext, INERT_NAVIGATION_ACTIONS, NOOP_NAVIGATION_STORE } from '../chunk-LA3CQ6NY.js';
|
|
3
|
+
export { INERT_NAVIGATION_ACTIONS, NavigationContext, NavigationProvider, navigationModule, watchHistory, watchIntent } from '../chunk-LA3CQ6NY.js';
|
|
4
|
+
import { isSamePathname, tripDestination } from '../chunk-RF2YGILF.js';
|
|
5
|
+
export { NAVIGATION_EVENTS, NAVIGATION_PHASE, NAVIGATION_REASON, NAVIGATION_SOURCE, NAVIGATION_STATUS, configureNavigation, createNavigator, getNavigationSettings, isSafeInternalHref, locationKeyOf, pathOf } from '../chunk-RF2YGILF.js';
|
|
6
|
+
import '../chunk-ZE6OGGA7.js';
|
|
7
|
+
import { useRequiredContext, useStore } from '../chunk-Y2Q74PJP.js';
|
|
8
|
+
import '../chunk-5H6FZW3N.js';
|
|
9
|
+
import '../chunk-J3VTDBC6.js';
|
|
10
|
+
import '../chunk-BMFHS3GV.js';
|
|
11
|
+
import { c } from 'react/compiler-runtime';
|
|
12
|
+
import { usePathname } from 'next/navigation';
|
|
13
|
+
import { use, useEffectEvent, useEffect } from 'react';
|
|
14
|
+
|
|
15
|
+
function useNavigation() {
|
|
16
|
+
return useRequiredContext(NavigationContext, "useNavigation", "NavigationProvider").actions;
|
|
17
|
+
}
|
|
18
|
+
function useOptionalNavigation() {
|
|
19
|
+
return use(NavigationContext)?.actions ?? INERT_NAVIGATION_ACTIONS;
|
|
20
|
+
}
|
|
21
|
+
function useNavigationState(selector, isEqual) {
|
|
22
|
+
const store = use(NavigationContext)?.store ?? NOOP_NAVIGATION_STORE;
|
|
23
|
+
return useStore(store, selector, isEqual);
|
|
24
|
+
}
|
|
25
|
+
function useNavigationHold(hold, t0) {
|
|
26
|
+
const $ = c(13);
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[0] !== t0) {
|
|
29
|
+
t1 = t0 === void 0 ? {} : t0;
|
|
30
|
+
$[0] = t0;
|
|
31
|
+
$[1] = t1;
|
|
32
|
+
} else {
|
|
33
|
+
t1 = $[1];
|
|
34
|
+
}
|
|
35
|
+
const {
|
|
36
|
+
history: t2
|
|
37
|
+
} = t1;
|
|
38
|
+
const history = t2 === void 0 ? true : t2;
|
|
39
|
+
const {
|
|
40
|
+
hold: register
|
|
41
|
+
} = useOptionalNavigation();
|
|
42
|
+
let t3;
|
|
43
|
+
if ($[2] !== hold) {
|
|
44
|
+
t3 = (trip) => hold ? hold(trip) : void 0;
|
|
45
|
+
$[2] = hold;
|
|
46
|
+
$[3] = t3;
|
|
47
|
+
} else {
|
|
48
|
+
t3 = $[3];
|
|
49
|
+
}
|
|
50
|
+
const runHold = useEffectEvent(t3);
|
|
51
|
+
const enabled = Boolean(hold);
|
|
52
|
+
let t4;
|
|
53
|
+
if ($[4] !== enabled || $[5] !== history || $[6] !== register || $[7] !== runHold) {
|
|
54
|
+
t4 = () => {
|
|
55
|
+
if (!enabled) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
return register((trip_0) => runHold(trip_0), {
|
|
59
|
+
history
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
$[4] = enabled;
|
|
63
|
+
$[5] = history;
|
|
64
|
+
$[6] = register;
|
|
65
|
+
$[7] = runHold;
|
|
66
|
+
$[8] = t4;
|
|
67
|
+
} else {
|
|
68
|
+
t4 = $[8];
|
|
69
|
+
}
|
|
70
|
+
let t5;
|
|
71
|
+
if ($[9] !== enabled || $[10] !== history || $[11] !== register) {
|
|
72
|
+
t5 = [enabled, history, register];
|
|
73
|
+
$[9] = enabled;
|
|
74
|
+
$[10] = history;
|
|
75
|
+
$[11] = register;
|
|
76
|
+
$[12] = t5;
|
|
77
|
+
} else {
|
|
78
|
+
t5 = $[12];
|
|
79
|
+
}
|
|
80
|
+
useEffect(t4, t5);
|
|
81
|
+
}
|
|
82
|
+
function useNavigationPayload(key, value) {
|
|
83
|
+
const $ = c(9);
|
|
84
|
+
const {
|
|
85
|
+
provide
|
|
86
|
+
} = useOptionalNavigation();
|
|
87
|
+
let t0;
|
|
88
|
+
if ($[0] !== value) {
|
|
89
|
+
t0 = () => typeof value === "function" ? value() : value;
|
|
90
|
+
$[0] = value;
|
|
91
|
+
$[1] = t0;
|
|
92
|
+
} else {
|
|
93
|
+
t0 = $[1];
|
|
94
|
+
}
|
|
95
|
+
const readValue = useEffectEvent(t0);
|
|
96
|
+
let t1;
|
|
97
|
+
if ($[2] !== key || $[3] !== provide || $[4] !== readValue) {
|
|
98
|
+
t1 = () => provide(key, readValue);
|
|
99
|
+
$[2] = key;
|
|
100
|
+
$[3] = provide;
|
|
101
|
+
$[4] = readValue;
|
|
102
|
+
$[5] = t1;
|
|
103
|
+
} else {
|
|
104
|
+
t1 = $[5];
|
|
105
|
+
}
|
|
106
|
+
let t2;
|
|
107
|
+
if ($[6] !== key || $[7] !== provide) {
|
|
108
|
+
t2 = [key, provide];
|
|
109
|
+
$[6] = key;
|
|
110
|
+
$[7] = provide;
|
|
111
|
+
$[8] = t2;
|
|
112
|
+
} else {
|
|
113
|
+
t2 = $[8];
|
|
114
|
+
}
|
|
115
|
+
useEffect(t1, t2);
|
|
116
|
+
}
|
|
117
|
+
function useNavigationIntent(listener) {
|
|
118
|
+
const $ = c(7);
|
|
119
|
+
const {
|
|
120
|
+
onIntent
|
|
121
|
+
} = useOptionalNavigation();
|
|
122
|
+
let t0;
|
|
123
|
+
if ($[0] !== listener) {
|
|
124
|
+
t0 = (path, href) => listener(path, href);
|
|
125
|
+
$[0] = listener;
|
|
126
|
+
$[1] = t0;
|
|
127
|
+
} else {
|
|
128
|
+
t0 = $[1];
|
|
129
|
+
}
|
|
130
|
+
const handleIntent = useEffectEvent(t0);
|
|
131
|
+
let t1;
|
|
132
|
+
if ($[2] !== handleIntent || $[3] !== onIntent) {
|
|
133
|
+
t1 = () => onIntent((path_0, href_0) => handleIntent(path_0, href_0));
|
|
134
|
+
$[2] = handleIntent;
|
|
135
|
+
$[3] = onIntent;
|
|
136
|
+
$[4] = t1;
|
|
137
|
+
} else {
|
|
138
|
+
t1 = $[4];
|
|
139
|
+
}
|
|
140
|
+
let t2;
|
|
141
|
+
if ($[5] !== onIntent) {
|
|
142
|
+
t2 = [onIntent];
|
|
143
|
+
$[5] = onIntent;
|
|
144
|
+
$[6] = t2;
|
|
145
|
+
} else {
|
|
146
|
+
t2 = $[6];
|
|
147
|
+
}
|
|
148
|
+
useEffect(t1, t2);
|
|
149
|
+
}
|
|
150
|
+
function useDeparture() {
|
|
151
|
+
const $ = c(3);
|
|
152
|
+
const pathname = usePathname();
|
|
153
|
+
const active = useNavigationState(_temp);
|
|
154
|
+
let t0;
|
|
155
|
+
if ($[0] !== active || $[1] !== pathname) {
|
|
156
|
+
t0 = active && !isSamePathname(tripDestination(active), pathname) ? active : null;
|
|
157
|
+
$[0] = active;
|
|
158
|
+
$[1] = pathname;
|
|
159
|
+
$[2] = t0;
|
|
160
|
+
} else {
|
|
161
|
+
t0 = $[2];
|
|
162
|
+
}
|
|
163
|
+
return t0;
|
|
164
|
+
}
|
|
165
|
+
function _temp(state) {
|
|
166
|
+
return state.active;
|
|
167
|
+
}
|
|
168
|
+
function useArrival(pathname) {
|
|
169
|
+
const $ = c(3);
|
|
170
|
+
const routePathname = usePathname();
|
|
171
|
+
const target = pathname ?? routePathname;
|
|
172
|
+
const {
|
|
173
|
+
arrival
|
|
174
|
+
} = useOptionalNavigation();
|
|
175
|
+
let t0;
|
|
176
|
+
if ($[0] !== arrival || $[1] !== target) {
|
|
177
|
+
t0 = () => arrival(target);
|
|
178
|
+
$[0] = arrival;
|
|
179
|
+
$[1] = target;
|
|
180
|
+
$[2] = t0;
|
|
181
|
+
} else {
|
|
182
|
+
t0 = $[2];
|
|
183
|
+
}
|
|
184
|
+
return useNavigationState(t0);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export { useArrival, useDeparture, useNavigation, useNavigationHold, useNavigationIntent, useNavigationPayload, useNavigationState, useOptionalNavigation };
|
|
188
|
+
//# sourceMappingURL=index.js.map
|
|
189
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/modules/navigation/hooks.ts"],"names":["useNavigation","useRequiredContext","NavigationContext","actions","useOptionalNavigation","use","INERT_NAVIGATION_ACTIONS","useNavigationState","selector","isEqual","store","NOOP_NAVIGATION_STORE","useStore","useNavigationHold","hold","t0","$","_c","t1","undefined","history","t2","register","t3","trip","runHold","useEffectEvent","enabled","Boolean","t4","trip_0","t5","useEffect","useNavigationPayload","key","value","provide","readValue","useNavigationIntent","listener","onIntent","path","href","handleIntent","path_0","href_0","useDeparture","pathname","usePathname","active","_temp","isSamePathname","tripDestination","state","useArrival","routePathname","target","arrival"],"mappings":";;;;;;;;;;;;;AA4BO,SAAAA,aAAAA,GAAA;AAAA,EAAA,OACEC,kBAAAA,CACLC,iBAAAA,EACA,eAAA,EACA,oBACF,CAAA,CAACC,OAAAA;AAAQ;AAMJ,SAASC,qBAAAA,GAA2C;AACzD,EAAA,OAAOC,GAAAA,CAAIH,iBAAiB,CAAA,EAAGC,OAAAA,IAAWG,wBAAAA;AAC5C;AAWO,SAAAC,kBAAAA,CAAAC,UAAAC,OAAAA,EAAA;AAIL,EAAA,MAAAC,KAAAA,GAAcL,GAAAA,CAAIH,iBAAwB,CAAA,EAACQ,KAAAA,IAA7BC,qBAAAA;AAAuD,EAAA,OAC9DC,QAAAA,CAASF,KAAAA,EAAOF,QAAAA,EAA2CC,OAAO,CAAA;AAAC;AAOrE,SAAAI,iBAAAA,CAAAC,MAAAC,EAAAA,EAAA;AAAA,EAAA,MAAAC,CAAAA,GAAAC,EAAA,EAAA,CAAA;AAAA,EAAA,IAAAC,EAAAA;AAAA,EAAA,IAAAF,CAAAA,CAAA,CAAA,CAAA,KAAAD,EAAAA,EAAA;AAELG,IAAAA,EAAAA,GAAAH,EAAAA,KAAAI,MAAAA,GAAA,EAA6C,GAA7CJ,EAAAA;AAA8CC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAD,EAAAA;AAAAC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAE,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAF,EAAA,CAAA,CAAA;AAAA,EAAA;AAA9C,EAAA,MAAA;IAAAI,OAAAA,EAAAC;GAAA,GAAAH,EAAAA;AAAE,EAAA,MAAAE,OAAAA,GAAAC,EAAAA,KAAAF,MAAAA,GAAA,IAAA,GAAAE,EAAAA;AAGF,EAAA,MAAA;IAAAP,IAAAA,EAAAQ;AAAA,GAAA,GAA2BlB,qBAAAA,EAAsB;AAAE,EAAA,IAAAmB,EAAAA;AAAA,EAAA,IAAAP,CAAAA,CAAA,CAAA,CAAA,KAAAF,IAAAA,EAAA;AACpBS,IAAAA,EAAAA,GAAAC,CAAAA,IAAAA,KAC7BV,IAAAA,GAAOA,IAAAA,CAAKU,IAAgB,CAAA,GAA5BL,MAAAA;AAA6BH,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAF,IAAAA;AAAAE,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAO,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAP,EAAA,CAAA,CAAA;AAAA,EAAA;AAD/B,EAAA,MAAAS,OAAAA,GAAgBC,eAAeH,EAE/B,CAAA;AACA,EAAA,MAAAI,OAAAA,GAAgBC,QAAQd,IAAI,CAAA;AAAE,EAAA,IAAAe,EAAAA;AAAA,EAAA,IAAAb,CAAAA,CAAA,CAAA,CAAA,KAAAW,OAAAA,IAAAX,EAAA,CAAA,CAAA,KAAAI,OAAAA,IAAAJ,CAAAA,CAAA,CAAA,CAAA,KAAAM,QAAAA,IAAAN,CAAAA,CAAA,CAAA,MAAAS,OAAAA,EAAA;AACpBI,IAAAA,EAAAA,GAAAA,MAAA;AACR,MAAA,IAAI,CAACF,OAAAA,EAAO;AAAA,QAAA;AAAA,MAAA;AAAS,MAAA,OACdL,QAAAA,CAASQ,CAAAA,MAAAA,KAAUL,OAAAA,CAAQD,MAAI,CAAA,EAAG;AAAAJ,QAAAA;OAAW,CAAA;AAAC,IAAA,CAAA;AACtDJ,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAW,OAAAA;AAAAX,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAI,OAAAA;AAAAJ,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAM,QAAAA;AAAAN,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAS,OAAAA;AAAAT,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAa,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAb,EAAA,CAAA,CAAA;AAAA,EAAA;AAAA,EAAA,IAAAe,EAAAA;AAAA,EAAA,IAAAf,CAAAA,CAAA,CAAA,CAAA,KAAAW,OAAAA,IAAAX,CAAAA,CAAA,EAAA,CAAA,KAAAI,OAAAA,IAAAJ,CAAAA,CAAA,EAAA,CAAA,KAAAM,QAAAA,EAAA;AAAES,IAAAA,EAAAA,GAAA,CAACJ,OAAAA,EAASP,OAAAA,EAASE,QAAQ,CAAA;AAACN,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAW,OAAAA;AAAAX,IAAAA,CAAAA,CAAA,EAAA,CAAA,GAAAI,OAAAA;AAAAJ,IAAAA,CAAAA,CAAA,EAAA,CAAA,GAAAM,QAAAA;AAAAN,IAAAA,CAAAA,CAAA,EAAA,CAAA,GAAAe,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAf,EAAA,EAAA,CAAA;AAAA,EAAA;AAH/BgB,EAAAA,SAAAA,CAAUH,IAGPE,EAA4B,CAAA;AAAC;AAO3B,SAAAE,oBAAAA,CAAAC,KAAAC,KAAAA,EAAA;AAAA,EAAA,MAAAnB,CAAAA,GAAAC,EAAA,CAAA,CAAA;AAKL,EAAA,MAAA;AAAAmB,IAAAA;AAAA,GAAA,GAAoBhC,qBAAAA,EAAsB;AAAE,EAAA,IAAAW,EAAAA;AAAA,EAAA,IAAAC,CAAAA,CAAA,CAAA,CAAA,KAAAmB,KAAAA,EAAA;AACXpB,IAAAA,EAAAA,GAAAA,MAC/B,OAAOoB,KAAAA,KAAU,UAAA,GAAcA,OAAgC,GAA/DA,KAAAA;AAAgEnB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAmB,KAAAA;AAAAnB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAD,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAC,EAAA,CAAA,CAAA;AAAA,EAAA;AADlE,EAAA,MAAAqB,SAAAA,GAAkBX,eAAeX,EAEjC,CAAA;AAAE,EAAA,IAAAG,EAAAA;AAAA,EAAA,IAAAF,CAAAA,CAAA,CAAA,CAAA,KAAAkB,GAAAA,IAAAlB,CAAAA,CAAA,CAAA,CAAA,KAAAoB,OAAAA,IAAApB,CAAAA,CAAA,CAAA,CAAA,KAAAqB,SAAAA,EAAA;AAEAnB,IAAAA,EAAAA,GAAAA,MAAMkB,OAAAA,CAAQF,GAAAA,EAAKG,SAAsC,CAAA;AAACrB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAkB,GAAAA;AAAAlB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAoB,OAAAA;AAAApB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAqB,SAAAA;AAAArB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAE,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAF,EAAA,CAAA,CAAA;AAAA,EAAA;AAAA,EAAA,IAAAK,EAAAA;AAAA,EAAA,IAAAL,EAAA,CAAA,CAAA,KAAAkB,OAAAlB,CAAAA,CAAA,CAAA,MAAAoB,OAAAA,EAAA;AAC1Df,IAAAA,EAAAA,GAAA,CAACa,KAAKE,OAAO,CAAA;AAACpB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAkB,GAAAA;AAAAlB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAoB,OAAAA;AAAApB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAK,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAL,EAAA,CAAA,CAAA;AAAA,EAAA;AAFhBgB,EAAAA,SAAAA,CACEd,IACAG,EACF,CAAA;AAAC;AAMI,SAAAiB,oBAAAC,QAAAA,EAAA;AAAA,EAAA,MAAAvB,CAAAA,GAAAC,EAAA,CAAA,CAAA;AAEL,EAAA,MAAA;AAAAuB,IAAAA;AAAA,GAAA,GAAqBpC,qBAAAA,EAAsB;AAAE,EAAA,IAAAW,EAAAA;AAAA,EAAA,IAAAC,CAAAA,CAAA,CAAA,CAAA,KAAAuB,QAAAA,EAAA;AAE3CxB,IAAAA,EAAAA,GAAAA,CAAA0B,IAAAA,EAAAC,IAAAA,KAGKH,QAAAA,CAASE,MAAMC,IAAI,CAAA;AAAC1B,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAuB,QAAAA;AAAAvB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAD,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAC,EAAA,CAAA,CAAA;AAAA,EAAA;AAJ3B,EAAA,MAAA2B,YAAAA,GAAqBjB,eACnBX,EAIF,CAAA;AAAE,EAAA,IAAAG,EAAAA;AAAA,EAAA,IAAAF,EAAA,CAAA,CAAA,KAAA2B,gBAAA3B,CAAAA,CAAA,CAAA,MAAAwB,QAAAA,EAAA;AAEAtB,IAAAA,EAAAA,GAAAA,MAAMsB,SAAS,CAAAI,MAAAA,EAAAC,WAAgBF,YAAAA,CAAaF,MAAAA,EAAMC,MAAI,CAAC,CAAA;AAAC1B,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAA2B,YAAAA;AAAA3B,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAwB,QAAAA;AAAAxB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAE,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAF,EAAA,CAAA,CAAA;AAAA,EAAA;AAAA,EAAA,IAAAK,EAAAA;AAAA,EAAA,IAAAL,CAAAA,CAAA,CAAA,CAAA,KAAAwB,QAAAA,EAAA;AACxDnB,IAAAA,EAAAA,GAAA,CAACmB,QAAQ,CAAA;AAACxB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAwB,QAAAA;AAAAxB,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAK,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAL,EAAA,CAAA,CAAA;AAAA,EAAA;AAFZgB,EAAAA,SAAAA,CACEd,IACAG,EACF,CAAA;AAAC;AAMI,SAAAyB,YAAAA,GAAA;AAAA,EAAA,MAAA9B,CAAAA,GAAAC,EAAA,CAAA,CAAA;AACL,EAAA,MAAA8B,WAAiBC,WAAAA,EAAY;AAC7B,EAAA,MAAAC,MAAAA,GAAe1C,mBAAmB2C,KAAuB,CAAA;AAAE,EAAA,IAAAnC,EAAAA;AAAA,EAAA,IAAAC,EAAA,CAAA,CAAA,KAAAiC,UAAAjC,CAAAA,CAAA,CAAA,MAAA+B,QAAAA,EAAA;AACpDhC,IAAAA,EAAAA,GAAAkC,MAAAA,IAAA,CAAWE,cAAAA,CAAeC,eAAAA,CAAgBH,MAAM,CAAA,EAAGF,QAAQ,IAA3DE,MAAAA,GAAA,IAAA;AAECjC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAiC,MAAAA;AAAAjC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAA+B,QAAAA;AAAA/B,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAD,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAC,EAAA,CAAA,CAAA;AAAA,EAAA;AAAA,EAAA,OAFDD,EAAAA;AAEC;AALH,SAAAmC,MAAAG,KAAAA,EAAA;AAAA,EAAA,OAEwCA,KAAAA,CAAKJ,MAAAA;AAAO;AASpD,SAAAK,WAAAP,QAAAA,EAAA;AAAA,EAAA,MAAA/B,CAAAA,GAAAC,EAAA,CAAA,CAAA;AACL,EAAA,MAAAsC,gBAAsBP,WAAAA,EAAY;AAClC,EAAA,MAAAQ,SAAeT,QAAAA,IAAAQ,aAAAA;AAEf,EAAA,MAAA;AAAAE,IAAAA;AAAA,GAAA,GAAoBrD,qBAAAA,EAAsB;AAAE,EAAA,IAAAW,EAAAA;AAAA,EAAA,IAAAC,EAAA,CAAA,CAAA,KAAAyC,WAAAzC,CAAAA,CAAA,CAAA,MAAAwC,MAAAA,EAAA;AAClBzC,IAAAA,EAAAA,GAAAA,MAAM0C,QAAQD,MAAM,CAAA;AAACxC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAyC,OAAAA;AAAAzC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAwC,MAAAA;AAAAxC,IAAAA,CAAAA,CAAA,CAAA,CAAA,GAAAD,EAAAA;EAAA,CAAA,MAAA;AAAAA,IAAAA,EAAAA,GAAAC,EAAA,CAAA,CAAA;AAAA,EAAA;AAAA,EAAA,OAAxCT,mBAAmBQ,EAAqB,CAAA;AAAC","file":"index.js","sourcesContent":["\"use client\";\n\nimport { usePathname } from \"next/navigation\";\nimport { use, useEffect, useEffectEvent } from \"react\";\n\nimport { tripDestination } from \"@/core/navigation/state\";\nimport type {\n NavigationActions,\n NavigationHold,\n NavigationHoldOptions,\n NavigationIntentListener,\n NavigationPayloadKey,\n NavigationPayloadValue,\n NavigationState,\n NavigationTrip,\n} from \"@/core/navigation/types\";\nimport { isSamePathname } from \"@/core/navigation/utils\";\nimport { useRequiredContext, useStore } from \"@/react/hooks\";\n\nimport {\n INERT_NAVIGATION_ACTIONS,\n NavigationContext,\n NOOP_NAVIGATION_STORE,\n} from \"./context\";\n\n/**\n * Returns the navigation actions.\n */\nexport function useNavigation(): NavigationActions {\n return useRequiredContext(\n NavigationContext,\n \"useNavigation\",\n \"NavigationProvider\",\n ).actions;\n}\n\n/**\n * Like useNavigation, but returns inert actions outside a NavigationProvider.\n */\nexport function useOptionalNavigation(): NavigationActions {\n return use(NavigationContext)?.actions ?? INERT_NAVIGATION_ACTIONS;\n}\n\n/**\n * Subscribes to the navigation state. Accepts a selector; works outside a\n * provider with an idle state.\n */\nexport function useNavigationState(): NavigationState;\nexport function useNavigationState<T>(\n selector: (state: NavigationState) => T,\n isEqual?: (a: T, b: T) => boolean,\n): T;\nexport function useNavigationState<T = NavigationState>(\n selector?: (state: NavigationState) => T,\n isEqual?: (a: T, b: T) => boolean,\n): T {\n const store = use(NavigationContext)?.store ?? NOOP_NAVIGATION_STORE;\n return useStore(store, selector as (state: NavigationState) => T, isEqual);\n}\n\n/**\n * Registers a hold that can delay or block navigation while the component is\n * mounted.\n */\nexport function useNavigationHold(\n hold: NavigationHold | false | null | undefined,\n { history = true }: NavigationHoldOptions = {},\n): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method -- the navigation API comes from createNavigator closures or the arrow-function default context, none of which use this\n const { hold: register } = useOptionalNavigation();\n const runHold = useEffectEvent((trip: NavigationTrip) =>\n hold ? hold(trip) : undefined,\n );\n const enabled = Boolean(hold);\n useEffect(() => {\n if (!enabled) return;\n return register((trip) => runHold(trip), { history });\n }, [enabled, history, register]);\n}\n\n/**\n * Attaches a value to every navigation trip under a key while the component is\n * mounted.\n */\nexport function useNavigationPayload<K extends NavigationPayloadKey>(\n key: K,\n value: NavigationPayloadValue<K>,\n): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method -- the navigation API comes from createNavigator closures or the arrow-function default context, none of which use this\n const { provide } = useOptionalNavigation();\n const readValue = useEffectEvent(() =>\n typeof value === \"function\" ? (value as () => unknown)() : value,\n );\n useEffect(\n () => provide(key, readValue as NavigationPayloadValue<K>),\n [key, provide],\n );\n}\n\n/**\n * Calls a listener when the user shows intent to navigate to a route.\n */\nexport function useNavigationIntent(listener: NavigationIntentListener): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method -- the navigation API comes from createNavigator closures or the arrow-function default context, none of which use this\n const { onIntent } = useOptionalNavigation();\n const handleIntent = useEffectEvent(\n (\n path: Parameters<NavigationIntentListener>[0],\n href: Parameters<NavigationIntentListener>[1],\n ) => listener(path, href),\n );\n useEffect(\n () => onIntent((path, href) => handleIntent(path, href)),\n [onIntent],\n );\n}\n\n/**\n * The active trip that is leaving the current page, or null.\n */\nexport function useDeparture(): NavigationTrip | null {\n const pathname = usePathname();\n const active = useNavigationState((state) => state.active);\n return active && !isSamePathname(tripDestination(active), pathname)\n ? active\n : null;\n}\n\n/**\n * The trip that just arrived at a page (default: the current one), or null.\n */\nexport function useArrival(pathname?: string): NavigationTrip | null {\n const routePathname = usePathname();\n const target = pathname ?? routePathname;\n // eslint-disable-next-line @typescript-eslint/unbound-method -- the navigation API comes from createNavigator closures or the arrow-function default context, none of which use this\n const { arrival } = useOptionalNavigation();\n return useNavigationState(() => arrival(target));\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../modules/notification/index.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { DOCK_STACK_ELEMENT_ID, INERT_NOTIFICATION_ACTIONS, INITIAL_NOTIFICATION_STATE, NOOP_NOTIFICATION_STORE, NotificationContext, NotificationListener, NotificationProvider, SESSION_EXPIRED_MESSAGE, TOAST_DURATIONS, createNotificationEntry, getActiveNotification, getOutcomeMessage, isNotificationDataObject, normalizeDuration, normalizeFeedbackText, normalizeToastOptions, notificationModule, notificationTheme, useNotification, useNotificationActions, useNotificationContainerModel, useNotificationState, useNotificationVisible, useOptionalNotificationActions, useOptionalNotificationState, useToast, withDefaultDuration } from '../chunk-2BLGNT5I.js';
|
|
3
|
+
import '../chunk-ZE6OGGA7.js';
|
|
4
|
+
import '../chunk-Y2Q74PJP.js';
|
|
5
|
+
import '../chunk-7RSRDKYE.js';
|
|
6
|
+
import '../chunk-ESD5EQ5H.js';
|
|
7
|
+
import '../chunk-5H6FZW3N.js';
|
|
8
|
+
import '../chunk-J3VTDBC6.js';
|
|
9
|
+
import '../chunk-BMFHS3GV.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { Modal } from './chunk-WBBM67WL.js';
|
|
2
|
+
import './chunk-J4WUCHNR.js';
|
|
3
|
+
import './chunk-ZE6OGGA7.js';
|
|
4
|
+
import './chunk-Y2Q74PJP.js';
|
|
5
|
+
import './chunk-LTO77WSO.js';
|
|
6
|
+
import './chunk-CT4UILO2.js';
|
|
7
|
+
import './chunk-7RSRDKYE.js';
|
|
8
|
+
import './chunk-ESD5EQ5H.js';
|
|
9
|
+
import './chunk-5H6FZW3N.js';
|
|
10
|
+
import './chunk-J3VTDBC6.js';
|
|
11
|
+
import './chunk-BMFHS3GV.js';
|
|
12
|
+
//# sourceMappingURL=overlay-YC336DAS.js.map
|
|
13
|
+
//# sourceMappingURL=overlay-YC336DAS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"overlay-YC336DAS.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../core/provider/index.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { CoreProvider } from '../chunk-OEXWOZPS.js';
|
|
3
|
+
import '../chunk-WYVA6AN5.js';
|
|
4
|
+
import '../chunk-ZE6OGGA7.js';
|
|
5
|
+
import '../chunk-Y2Q74PJP.js';
|
|
6
|
+
import '../chunk-LTO77WSO.js';
|
|
7
|
+
import '../chunk-CT4UILO2.js';
|
|
8
|
+
import '../chunk-7RSRDKYE.js';
|
|
9
|
+
import '../chunk-ESD5EQ5H.js';
|
|
10
|
+
import '../chunk-5H6FZW3N.js';
|
|
11
|
+
import '../chunk-J3VTDBC6.js';
|
|
12
|
+
import '../chunk-BMFHS3GV.js';
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Context } from "react";
|
|
2
|
+
/** One context per name across duplicate bundled copies of the package, shared through `globalThis`. */
|
|
3
|
+
export declare function getOrCreateGlobalContext<T>(name: string, defaultValue: T): Context<T>;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,wGAAwG;AACxG,wBAAgB,wBAAwB,CAAC,CAAC,EACxC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,CAAC,GACd,OAAO,CAAC,CAAC,CAAC,CAQZ"}
|