@stacksjs/stx 0.2.852 → 0.2.853
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/dist/a11y.d.ts +1 -1
- package/dist/analytics.d.ts +1 -1
- package/dist/animation.d.ts +1 -44
- package/dist/api-client.d.ts +1 -0
- package/dist/app-shell.d.ts +2 -2
- package/dist/app.d.ts +1 -1
- package/dist/application-layers.d.ts +1 -1
- package/dist/assets.d.ts +1 -1
- package/dist/ast.d.ts +23 -1
- package/dist/broadcasting.d.ts +1 -1
- package/dist/browser-composables.d.ts +1 -0
- package/dist/build-externalize-repeated.d.ts +1 -1
- package/dist/build-id.d.ts +1 -0
- package/dist/build-views.d.ts +1 -1
- package/dist/build.d.ts +3 -3
- package/dist/builtins/attrs.d.ts +1 -1
- package/dist/builtins/drawer.d.ts +2 -2
- package/dist/builtins/icon.d.ts +2 -13
- package/dist/builtins/image-delivery.d.ts +1 -1
- package/dist/builtins/image-worker.d.ts +2 -2
- package/dist/builtins/index.d.ts +22 -22
- package/dist/builtins/modal.d.ts +2 -2
- package/dist/builtins/safe-image.d.ts +2 -2
- package/dist/builtins/stx-image.d.ts +2 -43
- package/dist/builtins/stx-link.d.ts +1 -10
- package/dist/builtins/stx-loading-indicator.d.ts +1 -13
- package/dist/builtins/suspense.d.ts +1 -8
- package/dist/builtins/toast.d.ts +2 -3
- package/dist/builtins/transition-group.d.ts +1 -2
- package/dist/bundle-analyzer/index.d.ts +6 -6
- package/dist/bundle-analyzer/report.d.ts +1 -1
- package/dist/bundle-analyzer/treemap.d.ts +1 -1
- package/dist/caching.d.ts +4 -4
- package/dist/chunk-05f4tjsq.js +2 -0
- package/dist/{chunk-422r7zkx.js → chunk-0hegjagg.js} +2 -2
- package/dist/{chunk-6tns3zet.js → chunk-0wxmmvj0.js} +3 -3
- package/dist/chunk-0xwmweqm.js +2 -0
- package/dist/chunk-0yc4p3y2.js +2 -0
- package/dist/chunk-161p0zcy.js +2 -0
- package/dist/chunk-28r4jyvj.js +2 -0
- package/dist/{chunk-gwdffrz6.js → chunk-2rxr5cj6.js} +3 -3
- package/dist/{chunk-s0pnyd2f.js → chunk-33ph9zb2.js} +4 -4
- package/dist/chunk-3b9950gz.js +2 -0
- package/dist/chunk-46mw2r3k.js +2 -0
- package/dist/chunk-48z6w533.js +3 -0
- package/dist/{chunk-88392kaj.js → chunk-4nhbbcr9.js} +5 -5
- package/dist/{chunk-f5n871gp.js → chunk-4wx7refk.js} +4 -4
- package/dist/chunk-4zkk63v3.js +2 -0
- package/dist/{chunk-kp2g6sj6.js → chunk-52szcd15.js} +1 -1
- package/dist/chunk-5758n8sm.js +2 -0
- package/dist/{chunk-fffjjgnt.js → chunk-5erremft.js} +2 -2
- package/dist/{chunk-r0k5jbvk.js → chunk-5fdpg861.js} +1 -1
- package/dist/{chunk-k47addf7.js → chunk-5g1jwxny.js} +9 -9
- package/dist/{chunk-fkrf2099.js → chunk-5pft38qa.js} +2 -2
- package/dist/chunk-5t8xpkwc.js +2 -0
- package/dist/{chunk-aas25pac.js → chunk-63rvsnt2.js} +3 -3
- package/dist/chunk-6bm19d4k.js +2 -0
- package/dist/chunk-6c45vx1e.js +2 -0
- package/dist/chunk-6vc1dwqt.js +2 -0
- package/dist/chunk-76b6m6n0.js +2 -0
- package/dist/{chunk-qev14f76.js → chunk-7kc9xwht.js} +3 -3
- package/dist/{chunk-42hj9jnj.js → chunk-7rtvravz.js} +7 -7
- package/dist/{chunk-hh9hnx1a.js → chunk-7wwq1btb.js} +1 -1
- package/dist/{chunk-pbq1gn94.js → chunk-83d468me.js} +4 -4
- package/dist/{chunk-r53tqxmq.js → chunk-8cg88x7m.js} +39 -39
- package/dist/chunk-8fprfzcn.js +2 -0
- package/dist/{chunk-tn9h4prj.js → chunk-8g0243g1.js} +3 -3
- package/dist/chunk-9h1w4py6.js +2 -0
- package/dist/{chunk-tt3jxdy5.js → chunk-9mzskb69.js} +3 -3
- package/dist/{chunk-8cvgm13s.js → chunk-9r999ees.js} +2 -2
- package/dist/{chunk-2d7e5g92.js → chunk-9z7fnv33.js} +1 -1
- package/dist/{chunk-818kkhb8.js → chunk-a0ahcd1g.js} +2 -2
- package/dist/chunk-aajezypd.js +2 -0
- package/dist/{chunk-714p8awg.js → chunk-agvm20mz.js} +3 -3
- package/dist/{chunk-3bp76dx5.js → chunk-baxrx1rz.js} +9 -9
- package/dist/{chunk-xndr2dx9.js → chunk-bkefg64w.js} +5 -5
- package/dist/{chunk-n2z4kyba.js → chunk-bqxrfagh.js} +1 -1
- package/dist/chunk-bz4bskx3.js +2 -0
- package/dist/chunk-bze3ksvb.js +2 -0
- package/dist/chunk-c2et7w0g.js +2 -0
- package/dist/{chunk-c1dkvqr5.js → chunk-c54bhqrg.js} +39 -39
- package/dist/{chunk-keeetray.js → chunk-c9k0yhyq.js} +2 -2
- package/dist/{chunk-g34tj6ny.js → chunk-cabdpgxg.js} +3 -3
- package/dist/{chunk-e0dgx3ev.js → chunk-cf7dk9ev.js} +10 -10
- package/dist/chunk-cfmjtyzm.js +2 -0
- package/dist/{chunk-h9gjt73q.js → chunk-csgfws3j.js} +2 -2
- package/dist/{chunk-scaawv2r.js → chunk-csksn1kg.js} +2 -2
- package/dist/{chunk-t23jn83r.js → chunk-ctb1bj28.js} +2 -2
- package/dist/chunk-cxf0rzv6.js +2 -0
- package/dist/{chunk-axga9ebe.js → chunk-d4gy4yz0.js} +2 -2
- package/dist/chunk-dee5mtdv.js +2 -0
- package/dist/chunk-dm10y06z.js +2 -0
- package/dist/chunk-dw9vnhc4.js +2 -0
- package/dist/chunk-e5vbwsty.js +2 -0
- package/dist/chunk-e64m5ayt.js +2 -0
- package/dist/{chunk-z33esms3.js → chunk-ehp792dy.js} +2 -2
- package/dist/{chunk-tm1ec751.js → chunk-f9thwm8c.js} +4 -4
- package/dist/chunk-faf3gh3j.js +2 -0
- package/dist/chunk-fbakngjt.js +2 -0
- package/dist/{chunk-amerebya.js → chunk-fhrvxfq9.js} +2 -2
- package/dist/{chunk-pkq96sqk.js → chunk-fj5jw2jd.js} +6 -6
- package/dist/chunk-fn2cjkp0.js +2 -0
- package/dist/{chunk-m05pqmcj.js → chunk-fphnst8a.js} +5 -5
- package/dist/chunk-fsg958xx.js +2 -0
- package/dist/{chunk-1pavg6q5.js → chunk-fxt9vwdw.js} +38 -38
- package/dist/chunk-g976n4r1.js +2 -0
- package/dist/chunk-gn1dmfdv.js +2 -0
- package/dist/chunk-gsn5vvw4.js +2 -0
- package/dist/chunk-hmys6w75.js +2 -0
- package/dist/chunk-hqtj4ngq.js +2 -0
- package/dist/chunk-hwq24mwt.js +2 -0
- package/dist/{chunk-0rszcb0m.js → chunk-j1yjbykm.js} +6 -6
- package/dist/{chunk-frhdk0p9.js → chunk-j2wcawmf.js} +2 -2
- package/dist/{chunk-k7dvn2r8.js → chunk-jr346anv.js} +2 -2
- package/dist/{chunk-d5m6xy9p.js → chunk-jtpqqxzb.js} +6 -6
- package/dist/chunk-jy5fezyr.js +2 -0
- package/dist/chunk-kfq4mwem.js +2 -0
- package/dist/chunk-kgrvvtcy.js +3 -0
- package/dist/chunk-kkk1dtq6.js +2 -0
- package/dist/chunk-knd3m4t4.js +2 -0
- package/dist/{chunk-jtccqpwa.js → chunk-kvafq9gy.js} +2 -2
- package/dist/chunk-m3kc2a3v.js +2 -0
- package/dist/{chunk-7x6aqvfe.js → chunk-m9n3ahsy.js} +2 -2
- package/dist/{chunk-1sedjgmj.js → chunk-mdsc3rz1.js} +2 -2
- package/dist/chunk-mjp2sp74.js +2 -0
- package/dist/{chunk-g046t3hb.js → chunk-mmdqdkbd.js} +1 -1
- package/dist/{chunk-caehra7e.js → chunk-mpmnbvy4.js} +5 -5
- package/dist/chunk-mx79sfyr.js +2 -0
- package/dist/chunk-n6w82yf2.js +2 -0
- package/dist/{chunk-qjc3qjyf.js → chunk-n77xrpv9.js} +2 -2
- package/dist/{chunk-2stgv8kd.js → chunk-n8qd1n8w.js} +3 -3
- package/dist/{chunk-agbkv9ab.js → chunk-ngnvyqk3.js} +2 -2
- package/dist/{chunk-9gzgfj19.js → chunk-nyqvtca1.js} +4 -4
- package/dist/{chunk-te090fxv.js → chunk-nz202f97.js} +4 -4
- package/dist/chunk-pd3wzh2x.js +2 -0
- package/dist/chunk-pj3xwwtg.js +2 -0
- package/dist/{chunk-gsrdjmw9.js → chunk-pm241ehv.js} +2 -2
- package/dist/{chunk-8vjr3atq.js → chunk-prfrqfae.js} +2 -2
- package/dist/chunk-q1z8edtn.js +2 -0
- package/dist/{chunk-3wkgd883.js → chunk-qkcn0exq.js} +6 -6
- package/dist/{chunk-m710wkr4.js → chunk-qnyh0m22.js} +1 -1
- package/dist/{chunk-e85wsz8y.js → chunk-r69en2jg.js} +1 -1
- package/dist/{chunk-833y1ndd.js → chunk-rbxbgvkf.js} +1 -1
- package/dist/{chunk-tgk6bst6.js → chunk-rmeey2xa.js} +4 -4
- package/dist/{chunk-0kaph5qq.js → chunk-rrppkyv0.js} +42 -42
- package/dist/{chunk-whdy7r35.js → chunk-rw7q2a3c.js} +9 -9
- package/dist/chunk-s4c1mq0r.js +2 -0
- package/dist/chunk-sx1prttb.js +2 -0
- package/dist/chunk-syww37qd.js +2 -0
- package/dist/{chunk-6p62jjzm.js → chunk-t3a3wbjk.js} +2 -2
- package/dist/{chunk-0dnetjh8.js → chunk-te82sjhy.js} +48 -48
- package/dist/{chunk-2rg9pqmh.js → chunk-tm8a2b69.js} +4 -4
- package/dist/{chunk-w7dks1ev.js → chunk-trxha300.js} +5 -5
- package/dist/{chunk-tbms7m44.js → chunk-txdxfjbj.js} +3 -3
- package/dist/{chunk-m150nmez.js → chunk-vpqgg04q.js} +1 -1
- package/dist/{chunk-02w7kaas.js → chunk-vtzkqsq1.js} +17 -17
- package/dist/chunk-vw9h1x2m.js +2 -0
- package/dist/{chunk-e105xsee.js → chunk-w7p34cr3.js} +1 -1
- package/dist/{chunk-sb8vn22f.js → chunk-x1w19y3w.js} +4 -4
- package/dist/chunk-x2vybq9n.js +2 -0
- package/dist/chunk-x8jsmwhg.js +2 -0
- package/dist/chunk-xa9mkdn7.js +2 -0
- package/dist/{chunk-gn6yqcz2.js → chunk-xzdjhjz4.js} +4 -4
- package/dist/{chunk-kd06c90f.js → chunk-ya6f7mt5.js} +4 -4
- package/dist/{chunk-0b7knfwk.js → chunk-zjfp64v7.js} +1 -1
- package/dist/{chunk-cm5kpn54.js → chunk-zqpjqcm8.js} +5 -5
- package/dist/chunk-zzzqnf9k.js +2 -0
- package/dist/cli.js +41 -41
- package/dist/client/directive.d.ts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client-script-bundler.d.ts +1 -1
- package/dist/client-script.d.ts +5 -5
- package/dist/client.d.ts +1 -0
- package/dist/component-client-factories.d.ts +1 -0
- package/dist/component-contract-checks.d.ts +1 -1
- package/dist/component-hmr.d.ts +17 -0
- package/dist/component-library.d.ts +1 -1
- package/dist/component-model.d.ts +1 -1
- package/dist/component-processing.d.ts +4 -4
- package/dist/component-registry.d.ts +2 -2
- package/dist/component-renderer.d.ts +3 -3
- package/dist/components.d.ts +1 -1
- package/dist/composables/index.d.ts +47 -47
- package/dist/composables/use-ambient-sound.d.ts +38 -1
- package/dist/composables/use-broadcast-channel.d.ts +1 -0
- package/dist/composables/use-cached-query.d.ts +3 -3
- package/dist/composables/use-completion.d.ts +1 -1
- package/dist/composables/use-cookie.d.ts +1 -1
- package/dist/composables/use-eye-dropper.d.ts +1 -0
- package/dist/composables/use-fetch.d.ts +2 -2
- package/dist/composables/use-form.d.ts +2 -2
- package/dist/composables/use-intersection-observer.d.ts +1 -0
- package/dist/composables/use-keyboard.d.ts +21 -20
- package/dist/composables/use-media-query.d.ts +5 -5
- package/dist/composables/use-notification.d.ts +0 -9
- package/dist/composables/use-permissions.d.ts +0 -10
- package/dist/composables/use-scroll-lock.d.ts +2 -1
- package/dist/composables/use-share.d.ts +0 -4
- package/dist/composables/use-speech.d.ts +1 -0
- package/dist/composables/use-storage.d.ts +1 -1
- package/dist/composables/use-timer.d.ts +4 -4
- package/dist/composables/use-virtual-list.d.ts +1 -1
- package/dist/composables/use-websocket.d.ts +1 -0
- package/dist/composables.d.ts +3 -3
- package/dist/config.d.ts +18 -1
- package/dist/config.js +9 -2
- package/dist/craft-compiler.d.ts +1 -5
- package/dist/craft-components.d.ts +2 -6
- package/dist/craft-entry.d.ts +5 -5
- package/dist/craft-entry.js +2 -2
- package/dist/craft-ssr.d.ts +1 -1
- package/dist/craft.js +2 -2
- package/dist/csp.d.ts +1 -1
- package/dist/custom-directives.d.ts +1 -1
- package/dist/database.d.ts +21 -1
- package/dist/deploy/index.d.ts +6 -6
- package/dist/dev-server/index.d.ts +7 -7
- package/dist/dev-server/serve-app.d.ts +1 -1
- package/dist/dev-server/serve-file.d.ts +1 -1
- package/dist/dev-server/serve-markdown.d.ts +1 -1
- package/dist/dev-server/serve-multi.d.ts +1 -1
- package/dist/dev-server/terminal-colors.d.ts +25 -25
- package/dist/dev-server/ts-css.d.ts +1 -1
- package/dist/dev-server/types.d.ts +1 -1
- package/dist/dev-server.d.ts +5 -5
- package/dist/directive-api.d.ts +1 -1
- package/dist/directive-arguments.d.ts +1 -1
- package/dist/docs.d.ts +2 -2
- package/dist/document-shell.d.ts +2 -2
- package/dist/dynamic-components.d.ts +1 -1
- package/dist/edge-runtime.d.ts +1 -1
- package/dist/engine-bindings.d.ts +1 -1
- package/dist/error-handling.d.ts +1 -1
- package/dist/errors/codes.d.ts +28 -28
- package/dist/errors/formatter.d.ts +2 -2
- package/dist/errors/index.d.ts +5 -5
- package/dist/errors/logger.d.ts +14 -1
- package/dist/errors/sanitizer.d.ts +13 -2
- package/dist/errors/types.d.ts +1 -1
- package/dist/expressions.d.ts +3 -36
- package/dist/forms-validation.d.ts +5 -1
- package/dist/forms.d.ts +21 -21
- package/dist/fragment-container.d.ts +1 -0
- package/dist/heatmap.d.ts +2 -5
- package/dist/hot-reload.d.ts +3 -0
- package/dist/hydration.d.ts +28 -0
- package/dist/i18n.d.ts +2 -1
- package/dist/image-optimization/build-plugin.d.ts +2 -2
- package/dist/image-optimization/component.d.ts +1 -1
- package/dist/image-optimization/directive.d.ts +3 -3
- package/dist/image-optimization/index.d.ts +6 -6
- package/dist/image-optimization/processor.d.ts +1 -0
- package/dist/image-optimization/serve.d.ts +2 -1
- package/dist/includes.d.ts +2 -2
- package/dist/index.d.ts +171 -171
- package/dist/init.d.ts +1 -0
- package/dist/installed-entry.d.ts +1 -1
- package/dist/jsx-runtime.d.ts +2 -2
- package/dist/lazy-loader.d.ts +5 -0
- package/dist/loading-indicator.d.ts +0 -2
- package/dist/loops.d.ts +3 -3
- package/dist/manifest.d.ts +2 -2
- package/dist/media/client/index.d.ts +6 -6
- package/dist/media/image/component.d.ts +1 -1
- package/dist/media/image/directive.d.ts +2 -2
- package/dist/media/image/editing.d.ts +35 -35
- package/dist/media/image/index.d.ts +6 -6
- package/dist/media/image/placeholder.d.ts +1 -1
- package/dist/media/image/processor/cache.d.ts +3 -2
- package/dist/media/image/processor/index.d.ts +4 -4
- package/dist/media/image/processor/optimizer.d.ts +1 -1
- package/dist/media/image/processor/responsive.d.ts +1 -1
- package/dist/media/image/srcset.d.ts +6 -6
- package/dist/media/index.d.ts +13 -13
- package/dist/media/manager/embed.d.ts +1 -1
- package/dist/media/protected/component.d.ts +1 -1
- package/dist/media/protected/index.d.ts +2 -2
- package/dist/media/protected/signature.d.ts +1 -1
- package/dist/media/shared/index.d.ts +2 -2
- package/dist/media/upload/component.d.ts +1 -1
- package/dist/media/upload/index.d.ts +1 -1
- package/dist/media/video/directive.d.ts +2 -2
- package/dist/media/video/index.d.ts +2 -2
- package/dist/media/video/processor/cache.d.ts +3 -2
- package/dist/media/video/processor/index.d.ts +5 -5
- package/dist/media/video/processor/streaming.d.ts +1 -1
- package/dist/media/video/processor/thumbnail.d.ts +1 -1
- package/dist/media/video/processor/transcoder.d.ts +1 -1
- package/dist/meta-arguments.d.ts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/native/bridge/protocol.d.ts +15 -14
- package/dist/native/cli.d.ts +1 -1
- package/dist/native/compiler/browser.d.ts +1 -1
- package/dist/native/compiler/bundle.d.ts +3 -3
- package/dist/native/compiler/class-table.d.ts +4 -4
- package/dist/native/compiler/client-script.d.ts +1 -1
- package/dist/native/compiler/component-mapping.d.ts +1 -1
- package/dist/native/compiler/design-tokens.d.ts +1 -1
- package/dist/native/compiler/headwind-to-style.d.ts +3 -3
- package/dist/native/compiler/html-to-ir.d.ts +1 -1
- package/dist/native/compiler/inline-style.d.ts +2 -2
- package/dist/native/compiler/ir.d.ts +3 -3
- package/dist/native/compiler/layout-chrome.d.ts +1 -1
- package/dist/native/compiler/render-screen.d.ts +5 -5
- package/dist/native/compiler/shared-scripts.d.ts +1 -1
- package/dist/native/compiler/svg.d.ts +1 -1
- package/dist/native/components/primitives.d.ts +32 -32
- package/dist/native/floating-actions.d.ts +1 -1
- package/dist/native/hot-reload/client.d.ts +26 -1
- package/dist/native/index.d.ts +19 -19
- package/dist/native/runtime/binding-tree.d.ts +8 -3
- package/dist/native/runtime/browser-renderer.d.ts +33 -3
- package/dist/native/runtime/browser-screen.d.ts +2 -2
- package/dist/native/runtime/compact-document.d.ts +3 -5
- package/dist/native/runtime/craft-bridge.d.ts +4 -3
- package/dist/native/runtime/craft.d.ts +1 -1
- package/dist/native/runtime/event-stream.d.ts +1 -0
- package/dist/native/runtime/initial-media-mutations.d.ts +1 -1
- package/dist/native/runtime/jsc-globals.d.ts +18 -32
- package/dist/native/runtime/native-host.d.ts +8 -8
- package/dist/native/runtime/navigation-chrome.d.ts +1 -1
- package/dist/native/runtime/overlay-presenter.d.ts +3 -2
- package/dist/native/runtime/shared-screen.d.ts +7 -6
- package/dist/native/runtime/view-operations.d.ts +1 -1
- package/dist/native/runtime/web-navigation.d.ts +1 -0
- package/dist/native/runtime/web-storage.d.ts +4 -2
- package/dist/native/testing-mutations.d.ts +1 -1
- package/dist/native/testing.d.ts +4 -3
- package/dist/native/testing.js +21 -2
- package/dist/native/ui.d.ts +37 -36
- package/dist/native-build.d.ts +3 -3
- package/dist/offline/app-service-worker.d.ts +1 -0
- package/dist/offline/query-cache.d.ts +2 -2
- package/dist/page-action.d.ts +1 -1
- package/dist/parser/expression-parser.d.ts +1 -1
- package/dist/parser/index.d.ts +4 -4
- package/dist/parser/tokenizer.d.ts +16 -0
- package/dist/performance-utils.d.ts +136 -256
- package/dist/plugin-system.d.ts +7 -1
- package/dist/precompiler.d.ts +32 -1
- package/dist/process.d.ts +6 -6
- package/dist/production-build.d.ts +36 -0
- package/dist/production-builder.d.ts +3 -3
- package/dist/production-server.d.ts +1 -1
- package/dist/pwa/audit.d.ts +1 -1
- package/dist/pwa/directives.d.ts +1 -18
- package/dist/pwa/icons.d.ts +1 -1
- package/dist/pwa/index.d.ts +10 -10
- package/dist/pwa/inject.d.ts +1 -1
- package/dist/pwa/manifest.d.ts +1 -1
- package/dist/pwa/offline.d.ts +1 -1
- package/dist/pwa/precache.d.ts +1 -1
- package/dist/pwa/service-worker.d.ts +1 -1
- package/dist/pwa/workbox-strategies.d.ts +1 -1
- package/dist/pwa/workbox.d.ts +1 -1
- package/dist/pwa.d.ts +9 -9
- package/dist/pwa.js +3 -3
- package/dist/reactive-bindings.d.ts +1 -0
- package/dist/render-memo.d.ts +1 -1
- package/dist/render.d.ts +1 -1
- package/dist/route-response-cache.d.ts +5 -1
- package/dist/route-types.d.ts +1 -0
- package/dist/runtime-config-loader.d.ts +1 -1
- package/dist/runtime-config-server.d.ts +1 -4
- package/dist/runtime-config-types.d.ts +2 -2
- package/dist/runtime-injection.d.ts +1 -1
- package/dist/safe-evaluator.d.ts +38 -55
- package/dist/script-validation.d.ts +1 -1
- package/dist/seo.d.ts +1 -9
- package/dist/serve.d.ts +1 -1
- package/dist/server-api.d.ts +3 -2
- package/dist/server-components.d.ts +2 -1
- package/dist/server-data.d.ts +1 -0
- package/dist/signal-processing.d.ts +3 -3
- package/dist/signals.d.ts +2 -2
- package/dist/site-builder/build.d.ts +1 -1
- package/dist/site-builder/i18n.d.ts +1 -1
- package/dist/site-builder/index.d.ts +9 -9
- package/dist/site-builder/robots.d.ts +1 -1
- package/dist/site-builder/router.d.ts +1 -1
- package/dist/site-builder/seo.d.ts +1 -1
- package/dist/site-builder/sitemap.d.ts +1 -1
- package/dist/site-builder/theme.d.ts +1 -1
- package/dist/source-maps.d.ts +14 -0
- package/dist/ssg-static-paths.d.ts +1 -1
- package/dist/ssg.d.ts +3 -22
- package/dist/ssg.js +3 -3
- package/dist/ssr.d.ts +2 -1
- package/dist/state-management.d.ts +1 -0
- package/dist/story/addons.d.ts +1 -1
- package/dist/story/analytics.d.ts +7 -0
- package/dist/story/auto-stories.d.ts +1 -1
- package/dist/story/bookmarks.d.ts +4 -0
- package/dist/story/collect/analyzer.d.ts +1 -1
- package/dist/story/collect/index.d.ts +4 -4
- package/dist/story/collect/parser.d.ts +1 -1
- package/dist/story/collect/scanner.d.ts +1 -1
- package/dist/story/collect/tree.d.ts +1 -1
- package/dist/story/commands/index.d.ts +6 -6
- package/dist/story/compiled-output.d.ts +1 -1
- package/dist/story/composition.d.ts +1 -1
- package/dist/story/config-watcher.d.ts +1 -1
- package/dist/story/config.d.ts +1 -1
- package/dist/story/context.d.ts +1 -1
- package/dist/story/controls/index.d.ts +2 -1
- package/dist/story/desktop-preview.d.ts +1 -1
- package/dist/story/docs-generator.d.ts +1 -1
- package/dist/story/figma-export.d.ts +1 -1
- package/dist/story/generator.d.ts +1 -1
- package/dist/story/index.d.ts +41 -41
- package/dist/story/interactions.d.ts +1 -1
- package/dist/story/output.d.ts +1 -0
- package/dist/story/performance.d.ts +9 -0
- package/dist/story/presets.d.ts +5 -0
- package/dist/story/props-validation.d.ts +1 -1
- package/dist/story/renderer.d.ts +1 -1
- package/dist/story/search-index.d.ts +1 -1
- package/dist/story/search.d.ts +1 -1
- package/dist/story/server.d.ts +1 -1
- package/dist/story/setup.d.ts +1 -1
- package/dist/story/snapshots.d.ts +1 -1
- package/dist/story/testing.d.ts +1 -1
- package/dist/story/theme.d.ts +1 -1
- package/dist/story/ts-css.d.ts +1 -1
- package/dist/story/ui/code-panel.d.ts +1 -1
- package/dist/story/ui/controls-panel.d.ts +1 -1
- package/dist/story/ui/index.d.ts +4 -4
- package/dist/story/ui/preview.d.ts +1 -1
- package/dist/story/visual-testing.d.ts +1 -1
- package/dist/streaming.d.ts +1 -1
- package/dist/stx-module-imports.d.ts +2 -1
- package/dist/stx-virtual-ts.d.ts +3 -2
- package/dist/temp-dir.d.ts +1 -0
- package/dist/template-compiler.d.ts +1 -1
- package/dist/template-hydrator.d.ts +1 -1
- package/dist/testing.d.ts +35 -66
- package/dist/theme-tokens.d.ts +5 -1
- package/dist/ts-css-config.d.ts +1 -0
- package/dist/type-checker.d.ts +24 -0
- package/dist/typecheck.d.ts +4 -4
- package/dist/types/config-types.d.ts +17 -17
- package/dist/types/context-types.d.ts +1 -1
- package/dist/types/directive-types.d.ts +2 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types.d.ts +1 -1
- package/dist/utils.d.ts +5 -5
- package/dist/variable-extractor.d.ts +1 -1
- package/dist/visual-editor.d.ts +0 -4
- package/dist/web-components/index.d.ts +4 -4
- package/dist/web-components/reactive-generator.d.ts +1 -1
- package/dist/web-components.d.ts +1 -1
- package/package.json +11 -7
- package/stx.d.ts +6 -5
- package/dist/chunk-0dve54ne.js +0 -3
- package/dist/chunk-0g05v7m1.js +0 -2
- package/dist/chunk-14vv64pw.js +0 -2
- package/dist/chunk-1mqyt33c.js +0 -2
- package/dist/chunk-1qdhwjs4.js +0 -2
- package/dist/chunk-332qk8tm.js +0 -3
- package/dist/chunk-3gyq9rjx.js +0 -2
- package/dist/chunk-3w9xhs7k.js +0 -2
- package/dist/chunk-47z5w330.js +0 -2
- package/dist/chunk-4e5wynb4.js +0 -2
- package/dist/chunk-4e6wkjtx.js +0 -2
- package/dist/chunk-4hfh5ety.js +0 -2
- package/dist/chunk-67bn31a3.js +0 -2
- package/dist/chunk-6amqskpv.js +0 -2
- package/dist/chunk-6ra9dqs2.js +0 -2
- package/dist/chunk-7hnt9a2e.js +0 -2
- package/dist/chunk-80bb89fh.js +0 -2
- package/dist/chunk-8f5dy08a.js +0 -2
- package/dist/chunk-8k6cd1e0.js +0 -2
- package/dist/chunk-a69v31q8.js +0 -2
- package/dist/chunk-a7v1j7td.js +0 -2
- package/dist/chunk-acbx3jn5.js +0 -2
- package/dist/chunk-apq33h4w.js +0 -2
- package/dist/chunk-c90qz5w0.js +0 -2
- package/dist/chunk-dqrkteav.js +0 -2
- package/dist/chunk-dx31vsyf.js +0 -2
- package/dist/chunk-epqp6mmn.js +0 -2
- package/dist/chunk-et9fyzf6.js +0 -2
- package/dist/chunk-f4x21pqx.js +0 -2
- package/dist/chunk-fhd8e4mq.js +0 -2
- package/dist/chunk-frhh6jd3.js +0 -2
- package/dist/chunk-ft43rx62.js +0 -2
- package/dist/chunk-g1gqysb4.js +0 -2
- package/dist/chunk-h7rcb74n.js +0 -2
- package/dist/chunk-j3x3e353.js +0 -2
- package/dist/chunk-j415w6dm.js +0 -2
- package/dist/chunk-ja5ghh0f.js +0 -2
- package/dist/chunk-jmjz23rf.js +0 -2
- package/dist/chunk-k1pyzf9e.js +0 -2
- package/dist/chunk-m276y4f3.js +0 -2
- package/dist/chunk-p9sbpbhg.js +0 -2
- package/dist/chunk-pd0wdjqd.js +0 -2
- package/dist/chunk-ptppavv8.js +0 -2
- package/dist/chunk-q2d8x7p1.js +0 -2
- package/dist/chunk-s922rk4n.js +0 -2
- package/dist/chunk-tdtwqydq.js +0 -2
- package/dist/chunk-v4kqxe8a.js +0 -2
- package/dist/chunk-vffwkmt4.js +0 -2
- package/dist/chunk-vqr3hn16.js +0 -2
- package/dist/chunk-x1c1aggq.js +0 -2
- package/dist/chunk-xkvzg640.js +0 -2
- package/dist/chunk-xt7qsgk4.js +0 -2
- package/dist/chunk-ydjy26ch.js +0 -2
- package/dist/chunk-yq12dhnt.js +0 -2
- package/dist/chunk-yx37mvy7.js +0 -2
- package/dist/chunk-z278w3cb.js +0 -2
- package/dist/chunk-z5z6442j.js +0 -2
- package/dist/chunk-znfzh6fm.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StxOptions } from './types';
|
|
1
|
+
import type { StxOptions } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Convert a kebab-case string to PascalCase.
|
|
4
4
|
*
|
|
@@ -48,4 +48,4 @@ export declare class ComponentRegistry {
|
|
|
48
48
|
getBuiltin(name: string): BuiltinComponentDef | null;
|
|
49
49
|
resolveFile(name: string, fromFile: string, options: StxOptions, parentContext?: Record<string, any>): Promise<string | null>;
|
|
50
50
|
}
|
|
51
|
-
export { pascalToKebab } from './component-resolution';
|
|
51
|
+
export { pascalToKebab } from './component-resolution.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { freeIdentifiers } from './safe-evaluator';
|
|
2
|
-
import type { StxOptions } from './types';
|
|
1
|
+
import { freeIdentifiers } from './safe-evaluator.js';
|
|
2
|
+
import type { StxOptions } from './types.js';
|
|
3
3
|
export declare function resetMarginStackWarnings(): void;
|
|
4
4
|
export declare function resetTemplateLoopWarnings(): void;
|
|
5
5
|
export declare function processESImports(template: string, context: Record<string, any>, filePath: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
|
|
@@ -20,7 +20,7 @@ export declare function processESImports(template: string, context: Record<strin
|
|
|
20
20
|
* @returns The processed template with all components rendered
|
|
21
21
|
*/
|
|
22
22
|
export declare function processComponents(template: string, context: Record<string, any>, filePath: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
|
|
23
|
-
export { rendersAsElement } from './component-tags';
|
|
23
|
+
export { rendersAsElement } from './component-tags.js';
|
|
24
24
|
/**
|
|
25
25
|
* Process ES `import { A, B } from '<spec>'` statements inside `<script>` tags
|
|
26
26
|
* for component tag registration. Registers each named import as a tag pointing
|
package/dist/components.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export {
|
|
|
36
36
|
type StorageType,
|
|
37
37
|
type UseStorageOptions,
|
|
38
38
|
type StorageRef,
|
|
39
|
-
} from './use-storage';
|
|
39
|
+
} from './use-storage.js';
|
|
40
40
|
// Cookies. `useCookie` returns a Signal<string> matching the runtime contract;
|
|
41
41
|
// the old `CookieRef` shape was removed in #1710 as part of the dual-impl
|
|
42
42
|
// unification. Migrate `.value` reads to `c()` and `.value = x` writes to
|
|
@@ -50,13 +50,13 @@ export {
|
|
|
50
50
|
parseCookies,
|
|
51
51
|
clearCookies,
|
|
52
52
|
type CookieOptions,
|
|
53
|
-
} from './use-cookie';
|
|
53
|
+
} from './use-cookie.js';
|
|
54
54
|
// Clipboard
|
|
55
55
|
export {
|
|
56
56
|
useClipboard,
|
|
57
57
|
copyToClipboard,
|
|
58
58
|
type ClipboardRef,
|
|
59
|
-
} from './use-clipboard';
|
|
59
|
+
} from './use-clipboard.js';
|
|
60
60
|
// Media Queries
|
|
61
61
|
export {
|
|
62
62
|
useMediaQuery,
|
|
@@ -70,17 +70,17 @@ export {
|
|
|
70
70
|
useIsDesktop,
|
|
71
71
|
breakpoints,
|
|
72
72
|
type MediaQueryRef,
|
|
73
|
-
} from './use-media-query';
|
|
74
|
-
export { useScrollLock } from './use-scroll-lock';
|
|
73
|
+
} from './use-media-query.js';
|
|
74
|
+
export { useScrollLock } from './use-scroll-lock.js';
|
|
75
75
|
// Network
|
|
76
76
|
export {
|
|
77
77
|
useNetwork,
|
|
78
78
|
useOnline,
|
|
79
79
|
type NetworkState,
|
|
80
80
|
type NetworkRef,
|
|
81
|
-
} from './use-network';
|
|
81
|
+
} from './use-network.js';
|
|
82
82
|
// Writes that survive having no network, and forgetting offline data on sign-out
|
|
83
|
-
export { applyOfflineUpdate, cacheMedia, clearOfflineData, onOfflineUpdateReady } from './use-offline';
|
|
83
|
+
export { applyOfflineUpdate, cacheMedia, clearOfflineData, onOfflineUpdateReady } from './use-offline.js';
|
|
84
84
|
// Data kept per account, shown at once and refreshed behind
|
|
85
85
|
export {
|
|
86
86
|
cachedQuery,
|
|
@@ -89,16 +89,16 @@ export {
|
|
|
89
89
|
type CachedQuery,
|
|
90
90
|
type CachedQueryOptions,
|
|
91
91
|
type KeptScope,
|
|
92
|
-
} from './use-cached-query';
|
|
92
|
+
} from './use-cached-query.js';
|
|
93
93
|
// One request for every caller that wants the same answer
|
|
94
|
-
export { sharedRequest, type SharedRequest, type SharedRequestOptions } from '../shared-request';
|
|
94
|
+
export { sharedRequest, type SharedRequest, type SharedRequestOptions } from '../shared-request.js';
|
|
95
95
|
export {
|
|
96
96
|
useOutbox,
|
|
97
97
|
type Outbox,
|
|
98
98
|
type OutboxEntry,
|
|
99
99
|
type OutboxOptions,
|
|
100
100
|
type OutboxSendResult,
|
|
101
|
-
} from './use-outbox';
|
|
101
|
+
} from './use-outbox.js';
|
|
102
102
|
// Window
|
|
103
103
|
export {
|
|
104
104
|
useWindowSize,
|
|
@@ -111,7 +111,7 @@ export {
|
|
|
111
111
|
type WindowSizeRef,
|
|
112
112
|
type ScrollRef,
|
|
113
113
|
type VisibilityRef,
|
|
114
|
-
} from './use-window';
|
|
114
|
+
} from './use-window.js';
|
|
115
115
|
// Geolocation
|
|
116
116
|
export {
|
|
117
117
|
useGeolocation,
|
|
@@ -122,7 +122,7 @@ export {
|
|
|
122
122
|
type GeolocationState,
|
|
123
123
|
type GeolocationOptions,
|
|
124
124
|
type GeolocationRef,
|
|
125
|
-
} from './use-geolocation';
|
|
125
|
+
} from './use-geolocation.js';
|
|
126
126
|
// Mouse & Pointer
|
|
127
127
|
export {
|
|
128
128
|
useMouse,
|
|
@@ -133,7 +133,7 @@ export {
|
|
|
133
133
|
type MouseRef,
|
|
134
134
|
type ElementMouseState,
|
|
135
135
|
type ElementMouseRef,
|
|
136
|
-
} from './use-mouse';
|
|
136
|
+
} from './use-mouse.js';
|
|
137
137
|
// Keyboard
|
|
138
138
|
export {
|
|
139
139
|
useKeyboard,
|
|
@@ -145,7 +145,7 @@ export {
|
|
|
145
145
|
type KeyboardOptions,
|
|
146
146
|
type KeyboardRef,
|
|
147
147
|
type HotkeyOptions,
|
|
148
|
-
} from './use-keyboard';
|
|
148
|
+
} from './use-keyboard.js';
|
|
149
149
|
// Intersection Observer
|
|
150
150
|
export {
|
|
151
151
|
useIntersectionObserver,
|
|
@@ -156,7 +156,7 @@ export {
|
|
|
156
156
|
type IntersectionObserverOptions,
|
|
157
157
|
type IntersectionState,
|
|
158
158
|
type IntersectionObserverRef,
|
|
159
|
-
} from './use-intersection-observer';
|
|
159
|
+
} from './use-intersection-observer.js';
|
|
160
160
|
// Fetch & Async Data. `useFetch` now returns Signal-shaped state
|
|
161
161
|
// ({ data, loading, error, refetch, ... }) matching the runtime contract;
|
|
162
162
|
// the old Vue-style `{ get, subscribe, refresh, execute, abort }` shape
|
|
@@ -171,7 +171,7 @@ export {
|
|
|
171
171
|
prefetch,
|
|
172
172
|
type FetchOptions,
|
|
173
173
|
type FetchRef,
|
|
174
|
-
} from './use-fetch';
|
|
174
|
+
} from './use-fetch.js';
|
|
175
175
|
// Fullscreen
|
|
176
176
|
export {
|
|
177
177
|
useFullscreen,
|
|
@@ -180,7 +180,7 @@ export {
|
|
|
180
180
|
type FullscreenState,
|
|
181
181
|
type FullscreenOptions,
|
|
182
182
|
type FullscreenRef,
|
|
183
|
-
} from './use-fullscreen';
|
|
183
|
+
} from './use-fullscreen.js';
|
|
184
184
|
// Notifications
|
|
185
185
|
export {
|
|
186
186
|
useNotification,
|
|
@@ -192,7 +192,7 @@ export {
|
|
|
192
192
|
type NotificationState,
|
|
193
193
|
type NotificationOptions,
|
|
194
194
|
type NotificationRef,
|
|
195
|
-
} from './use-notification';
|
|
195
|
+
} from './use-notification.js';
|
|
196
196
|
// Share
|
|
197
197
|
export {
|
|
198
198
|
useShare,
|
|
@@ -206,7 +206,7 @@ export {
|
|
|
206
206
|
type ShareData,
|
|
207
207
|
type ShareResult,
|
|
208
208
|
type ShareRef,
|
|
209
|
-
} from './use-share';
|
|
209
|
+
} from './use-share.js';
|
|
210
210
|
// Permissions
|
|
211
211
|
export {
|
|
212
212
|
usePermission,
|
|
@@ -223,7 +223,7 @@ export {
|
|
|
223
223
|
type PermissionStatus,
|
|
224
224
|
type PermissionRef,
|
|
225
225
|
type MultiPermissionRef,
|
|
226
|
-
} from './use-permissions';
|
|
226
|
+
} from './use-permissions.js';
|
|
227
227
|
// Resize Observer
|
|
228
228
|
export {
|
|
229
229
|
useResizeObserver,
|
|
@@ -234,7 +234,7 @@ export {
|
|
|
234
234
|
type ResizeObserverState,
|
|
235
235
|
type ResizeObserverOptions,
|
|
236
236
|
type ResizeObserverRef,
|
|
237
|
-
} from './use-resize-observer';
|
|
237
|
+
} from './use-resize-observer.js';
|
|
238
238
|
// Battery
|
|
239
239
|
export {
|
|
240
240
|
useBattery,
|
|
@@ -243,7 +243,7 @@ export {
|
|
|
243
243
|
hasBattery,
|
|
244
244
|
type BatteryState,
|
|
245
245
|
type BatteryRef,
|
|
246
|
-
} from './use-battery';
|
|
246
|
+
} from './use-battery.js';
|
|
247
247
|
// Speech Recognition & Synthesis
|
|
248
248
|
export {
|
|
249
249
|
useSpeechRecognition,
|
|
@@ -260,7 +260,7 @@ export {
|
|
|
260
260
|
type SpeechSynthesisOptions,
|
|
261
261
|
type SpeechSynthesisState,
|
|
262
262
|
type SpeechSynthesisRef,
|
|
263
|
-
} from './use-speech';
|
|
263
|
+
} from './use-speech.js';
|
|
264
264
|
// Broadcast Channel
|
|
265
265
|
export {
|
|
266
266
|
useBroadcastChannel,
|
|
@@ -269,7 +269,7 @@ export {
|
|
|
269
269
|
type BroadcastChannelState,
|
|
270
270
|
type BroadcastChannelOptions,
|
|
271
271
|
type BroadcastChannelRef,
|
|
272
|
-
} from './use-broadcast-channel';
|
|
272
|
+
} from './use-broadcast-channel.js';
|
|
273
273
|
// WebSocket
|
|
274
274
|
export {
|
|
275
275
|
useWebSocket,
|
|
@@ -278,14 +278,14 @@ export {
|
|
|
278
278
|
type WebSocketState,
|
|
279
279
|
type WebSocketOptions,
|
|
280
280
|
type WebSocketRef,
|
|
281
|
-
} from './use-websocket';
|
|
281
|
+
} from './use-websocket.js';
|
|
282
282
|
// Broadcasting Channels (ts-broadcasting)
|
|
283
283
|
export {
|
|
284
284
|
useChannel,
|
|
285
285
|
type ChannelState,
|
|
286
286
|
type ChannelOptions,
|
|
287
287
|
type ChannelRef,
|
|
288
|
-
} from './use-channel';
|
|
288
|
+
} from './use-channel.js';
|
|
289
289
|
// Device Orientation & Motion
|
|
290
290
|
export {
|
|
291
291
|
useDeviceOrientation,
|
|
@@ -299,7 +299,7 @@ export {
|
|
|
299
299
|
type DeviceMotionState,
|
|
300
300
|
type DeviceOrientationRef,
|
|
301
301
|
type DeviceMotionRef,
|
|
302
|
-
} from './use-device-orientation';
|
|
302
|
+
} from './use-device-orientation.js';
|
|
303
303
|
// Mutation Observer
|
|
304
304
|
export {
|
|
305
305
|
useMutationObserver,
|
|
@@ -310,7 +310,7 @@ export {
|
|
|
310
310
|
type MutationObserverState,
|
|
311
311
|
type MutationObserverOptions,
|
|
312
312
|
type MutationObserverRef,
|
|
313
|
-
} from './use-mutation-observer';
|
|
313
|
+
} from './use-mutation-observer.js';
|
|
314
314
|
// Event Source (SSE)
|
|
315
315
|
export {
|
|
316
316
|
useEventSource,
|
|
@@ -320,7 +320,7 @@ export {
|
|
|
320
320
|
type EventSourceState,
|
|
321
321
|
type EventSourceOptions,
|
|
322
322
|
type EventSourceRef,
|
|
323
|
-
} from './use-event-source';
|
|
323
|
+
} from './use-event-source.js';
|
|
324
324
|
// Idle Detection
|
|
325
325
|
export {
|
|
326
326
|
useIdle,
|
|
@@ -330,7 +330,7 @@ export {
|
|
|
330
330
|
type IdleState,
|
|
331
331
|
type IdleOptions,
|
|
332
332
|
type IdleRef,
|
|
333
|
-
} from './use-idle';
|
|
333
|
+
} from './use-idle.js';
|
|
334
334
|
// Text Selection
|
|
335
335
|
export {
|
|
336
336
|
useTextSelection,
|
|
@@ -340,7 +340,7 @@ export {
|
|
|
340
340
|
type TextSelectionState,
|
|
341
341
|
type TextSelectionOptions,
|
|
342
342
|
type TextSelectionRef,
|
|
343
|
-
} from './use-text-selection';
|
|
343
|
+
} from './use-text-selection.js';
|
|
344
344
|
// Wake Lock
|
|
345
345
|
export {
|
|
346
346
|
useWakeLock,
|
|
@@ -349,7 +349,7 @@ export {
|
|
|
349
349
|
isWakeLockSupported,
|
|
350
350
|
type WakeLockState,
|
|
351
351
|
type WakeLockRef,
|
|
352
|
-
} from './use-wake-lock';
|
|
352
|
+
} from './use-wake-lock.js';
|
|
353
353
|
// Eye Dropper (Color Picker)
|
|
354
354
|
export {
|
|
355
355
|
useEyeDropper,
|
|
@@ -362,7 +362,7 @@ export {
|
|
|
362
362
|
type EyeDropperResult,
|
|
363
363
|
type EyeDropperOptions,
|
|
364
364
|
type EyeDropperRef,
|
|
365
|
-
} from './use-eye-dropper';
|
|
365
|
+
} from './use-eye-dropper.js';
|
|
366
366
|
// Router / Navigation
|
|
367
367
|
export {
|
|
368
368
|
navigate,
|
|
@@ -374,26 +374,26 @@ export {
|
|
|
374
374
|
type RouteInfo,
|
|
375
375
|
type SearchParamsCommitOptions,
|
|
376
376
|
type SearchParamsRef,
|
|
377
|
-
} from './use-router';
|
|
377
|
+
} from './use-router.js';
|
|
378
378
|
// Data Fetching (Query / Mutation)
|
|
379
379
|
export {
|
|
380
380
|
type UseQueryOptions,
|
|
381
381
|
type UseQueryResult,
|
|
382
382
|
type UseMutationOptions,
|
|
383
383
|
type UseMutationResult,
|
|
384
|
-
} from './use-query';
|
|
384
|
+
} from './use-query.js';
|
|
385
385
|
// Event Listener
|
|
386
386
|
export {
|
|
387
387
|
useEventListener,
|
|
388
388
|
type UseEventListenerOptions,
|
|
389
389
|
type EventListenerRef,
|
|
390
|
-
} from './use-event-listener';
|
|
390
|
+
} from './use-event-listener.js';
|
|
391
391
|
// Meta Tags
|
|
392
392
|
export {
|
|
393
393
|
useMeta,
|
|
394
394
|
type UseMetaOptions,
|
|
395
395
|
type MetaRef,
|
|
396
|
-
} from './use-meta';
|
|
396
|
+
} from './use-meta.js';
|
|
397
397
|
// Timers
|
|
398
398
|
export {
|
|
399
399
|
useDebounce,
|
|
@@ -411,7 +411,7 @@ export {
|
|
|
411
411
|
type IntervalOptions,
|
|
412
412
|
type IntervalRef,
|
|
413
413
|
type TimeoutRef,
|
|
414
|
-
} from './use-timer';
|
|
414
|
+
} from './use-timer.js';
|
|
415
415
|
// Utilities
|
|
416
416
|
export {
|
|
417
417
|
useToggle,
|
|
@@ -427,7 +427,7 @@ export {
|
|
|
427
427
|
type AsyncState,
|
|
428
428
|
type AsyncRef,
|
|
429
429
|
type AsyncOptions,
|
|
430
|
-
} from './use-utilities';
|
|
430
|
+
} from './use-utilities.js';
|
|
431
431
|
// Color Mode
|
|
432
432
|
export {
|
|
433
433
|
useColorMode,
|
|
@@ -436,21 +436,21 @@ export {
|
|
|
436
436
|
type ColorModeOptions,
|
|
437
437
|
type ColorModeRef,
|
|
438
438
|
type DarkRef,
|
|
439
|
-
} from './use-color-mode';
|
|
439
|
+
} from './use-color-mode.js';
|
|
440
440
|
// `defineForm` was reachable from a `<script client>` block (#1846) and listed
|
|
441
441
|
// in SERVER_ONLY_COMPOSABLES, but never re-exported here. That list is checked
|
|
442
442
|
// against this barrel — "exactly the composable exports the runtime does not
|
|
443
443
|
// provide" — so an entry with no export behind it failed the guard, while
|
|
444
444
|
// `framework-composables.ts` needs the entry to know to bundle it. One missing
|
|
445
445
|
// re-export, two contradictory test suites. See #1849.
|
|
446
|
-
export { defineForm, useForm } from './use-form';
|
|
446
|
+
export { defineForm, useForm } from './use-form.js';
|
|
447
447
|
// Inline AI-style ghost text for a text field: debounce, abort, stale discard, accept.
|
|
448
448
|
// Demand-bundled for client scripts like useForm.
|
|
449
|
-
export { useCompletion, type Completion, type CompletionContext, type CompletionMeta, type UseCompletionOptions } from './use-completion';
|
|
449
|
+
export { useCompletion, type Completion, type CompletionContext, type CompletionMeta, type UseCompletionOptions } from './use-completion.js';
|
|
450
450
|
// A long list drawn through a window of its rows. Demand-bundled for client scripts.
|
|
451
|
-
export { useVirtualList, type UseVirtualList, type UseVirtualListOptions, type VirtualRow } from './use-virtual-list';
|
|
451
|
+
export { useVirtualList, type UseVirtualList, type UseVirtualListOptions, type VirtualRow } from './use-virtual-list.js';
|
|
452
452
|
// Authenticated server broadcasts, demand-bundled for client scripts.
|
|
453
|
-
export { useBroadcastStream, type BroadcastStreamFrame, type BroadcastStreamClientOptions } from './use-broadcast-stream';
|
|
453
|
+
export { useBroadcastStream, type BroadcastStreamFrame, type BroadcastStreamClientOptions } from './use-broadcast-stream.js';
|
|
454
454
|
// Breathing exercises: a step-by-step pacer and generated ambient sound,
|
|
455
455
|
// demand-bundled for client scripts. The pure helpers (positionAt, pacerScale,
|
|
456
456
|
// endStepEarly, seekBreath) are imported from the module path.
|
|
@@ -461,6 +461,6 @@ export {
|
|
|
461
461
|
type BreathPacerStep,
|
|
462
462
|
type BreathPosition,
|
|
463
463
|
type BreathStepKind,
|
|
464
|
-
} from './use-breath-pacer';
|
|
465
|
-
export { useAmbientSound, type AmbientGenre, type AmbientSound } from './use-ambient-sound';
|
|
466
|
-
export { useAnimationFrame, type AnimationFrameOptions, type AnimationFrameControls } from './use-animation-frame';
|
|
464
|
+
} from './use-breath-pacer.js';
|
|
465
|
+
export { useAmbientSound, type AmbientGenre, type AmbientSound } from './use-ambient-sound.js';
|
|
466
|
+
export { useAnimationFrame, type AnimationFrameOptions, type AnimationFrameControls } from './use-animation-frame.js';
|
|
@@ -46,8 +46,21 @@ export declare interface AmbientFade { start: number, end: number }
|
|
|
46
46
|
*/
|
|
47
47
|
export type AmbientGenre = 'ambient' | 'nature' | 'house' | 'electronic' | 'drone' | 'rain' | 'ocean' | 'brown';
|
|
48
48
|
export declare class AmbientSound {
|
|
49
|
+
private context;
|
|
50
|
+
private music;
|
|
51
|
+
private tones;
|
|
52
|
+
private reverb;
|
|
53
|
+
private timers;
|
|
54
|
+
private voices;
|
|
55
|
+
private noise;
|
|
56
|
+
private white;
|
|
57
|
+
private hiss;
|
|
58
|
+
private genre;
|
|
59
|
+
private level;
|
|
60
|
+
private generation;
|
|
61
|
+
private fade;
|
|
49
62
|
get playing(): boolean;
|
|
50
|
-
start(genre: AmbientGenre | 'none', volume?:
|
|
63
|
+
start(genre: AmbientGenre | 'none', volume?: number): Promise<void>;
|
|
51
64
|
prepare(): Promise<boolean>;
|
|
52
65
|
volume(value: number): void;
|
|
53
66
|
fadeOut(seconds: number, after?: number): void;
|
|
@@ -59,4 +72,28 @@ export declare class AmbientSound {
|
|
|
59
72
|
breathTone(kind: 'in' | 'out' | 'hold', seconds: number): void;
|
|
60
73
|
chime(strength?: number): void;
|
|
61
74
|
stop(): Promise<void>;
|
|
75
|
+
private ensureContext;
|
|
76
|
+
private scheduleFade;
|
|
77
|
+
private continueFade;
|
|
78
|
+
private stopMusic;
|
|
79
|
+
private every;
|
|
80
|
+
private impulse;
|
|
81
|
+
private noiseBuffer;
|
|
82
|
+
private whiteBuffer;
|
|
83
|
+
private pad;
|
|
84
|
+
private noiseBed;
|
|
85
|
+
private kick;
|
|
86
|
+
private hat;
|
|
87
|
+
private clap;
|
|
88
|
+
private pluck;
|
|
89
|
+
private sequence;
|
|
90
|
+
private ambient;
|
|
91
|
+
private drone;
|
|
92
|
+
private nature;
|
|
93
|
+
private rain;
|
|
94
|
+
private ocean;
|
|
95
|
+
private brown;
|
|
96
|
+
private whiteBed;
|
|
97
|
+
private house;
|
|
98
|
+
private electronic;
|
|
62
99
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CachedQuery, CachedQueryOptions, KeptScope, QueryCache } from '../offline/query-cache';
|
|
2
|
-
import type { KeptStore } from '../offline/kept-store';
|
|
3
|
-
export type { CachedQuery, CachedQueryOptions, KeptScope } from '../offline/query-cache';
|
|
1
|
+
import type { CachedQuery, CachedQueryOptions, KeptScope, QueryCache } from '../offline/query-cache.js';
|
|
2
|
+
import type { KeptStore } from '../offline/kept-store.js';
|
|
3
|
+
export type { CachedQuery, CachedQueryOptions, KeptScope } from '../offline/query-cache.js';
|
|
4
4
|
/** The page's kept store (localStorage for small values, IndexedDB for large). */
|
|
5
5
|
export declare function keptStore(): KeptStore;
|
|
6
6
|
/** The page's query layer. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { state } from '../signals-api';
|
|
2
|
-
import type { Signal } from '../signals-api';
|
|
1
|
+
import { state } from '../signals-api.js';
|
|
2
|
+
import type { Signal } from '../signals-api.js';
|
|
3
3
|
/** @internal Closure-free: also embedded in the generated browser runtime. */
|
|
4
4
|
export declare function readHydratedData(key?: string, hydrate?: boolean, transform?: (data: any) => unknown): { data: unknown, error?: Error } | undefined;
|
|
5
5
|
/** Forget a hydration snapshot; existing signals change only on explicit refresh. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FormState, Validator } from '../forms-validation';
|
|
1
|
+
import type { FormState, Validator } from '../forms-validation.js';
|
|
2
2
|
/**
|
|
3
3
|
* Reactive form state from a validation schema.
|
|
4
4
|
*
|
|
@@ -34,4 +34,4 @@ export declare function useForm<T extends Record<string, Validator>>(schema: T,
|
|
|
34
34
|
* and anything comparing or spying on the function keeps working. Kept for a
|
|
35
35
|
* minor; existing apps do not have to move in the same release they upgrade in.
|
|
36
36
|
*/
|
|
37
|
-
export declare const defineForm:
|
|
37
|
+
export declare const defineForm: typeof useForm;
|
|
@@ -21,26 +21,26 @@ export declare function useKeySequence(sequence: string[], callback: () => void,
|
|
|
21
21
|
* Common keyboard shortcuts helper
|
|
22
22
|
*/
|
|
23
23
|
export declare const shortcuts: {
|
|
24
|
-
save: 'ctrl+s';
|
|
25
|
-
undo: 'ctrl+z';
|
|
26
|
-
redo: 'ctrl+shift+z';
|
|
27
|
-
copy: 'ctrl+c';
|
|
28
|
-
paste: 'ctrl+v';
|
|
29
|
-
cut: 'ctrl+x';
|
|
30
|
-
selectAll: 'ctrl+a';
|
|
31
|
-
find: 'ctrl+f';
|
|
32
|
-
replace: 'ctrl+h';
|
|
33
|
-
newTab: 'ctrl+t';
|
|
34
|
-
closeTab: 'ctrl+w';
|
|
35
|
-
refresh: 'ctrl+r';
|
|
36
|
-
escape: 'escape';
|
|
37
|
-
enter: 'enter';
|
|
38
|
-
saveMac: 'meta+s';
|
|
39
|
-
undoMac: 'meta+z';
|
|
40
|
-
redoMac: 'meta+shift+z';
|
|
41
|
-
copyMac: 'meta+c';
|
|
42
|
-
pasteMac: 'meta+v';
|
|
43
|
-
cutMac: 'meta+x'
|
|
24
|
+
readonly save: 'ctrl+s';
|
|
25
|
+
readonly undo: 'ctrl+z';
|
|
26
|
+
readonly redo: 'ctrl+shift+z';
|
|
27
|
+
readonly copy: 'ctrl+c';
|
|
28
|
+
readonly paste: 'ctrl+v';
|
|
29
|
+
readonly cut: 'ctrl+x';
|
|
30
|
+
readonly selectAll: 'ctrl+a';
|
|
31
|
+
readonly find: 'ctrl+f';
|
|
32
|
+
readonly replace: 'ctrl+h';
|
|
33
|
+
readonly newTab: 'ctrl+t';
|
|
34
|
+
readonly closeTab: 'ctrl+w';
|
|
35
|
+
readonly refresh: 'ctrl+r';
|
|
36
|
+
readonly escape: 'escape';
|
|
37
|
+
readonly enter: 'enter';
|
|
38
|
+
readonly saveMac: 'meta+s';
|
|
39
|
+
readonly undoMac: 'meta+z';
|
|
40
|
+
readonly redoMac: 'meta+shift+z';
|
|
41
|
+
readonly copyMac: 'meta+c';
|
|
42
|
+
readonly pasteMac: 'meta+v';
|
|
43
|
+
readonly cutMac: 'meta+x'
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* useKeyboard - Reactive keyboard input tracking
|
|
@@ -98,3 +98,4 @@ export declare interface HotkeyOptions {
|
|
|
98
98
|
}
|
|
99
99
|
// eslint-disable-next-line pickier/no-unused-vars
|
|
100
100
|
declare type HotkeyCallback = (event: KeyboardEvent) => void;
|
|
101
|
+
export {};
|
|
@@ -39,11 +39,11 @@ export declare function useIsDesktop(): MediaQueryRef;
|
|
|
39
39
|
* Common breakpoints
|
|
40
40
|
*/
|
|
41
41
|
export declare const breakpoints: {
|
|
42
|
-
sm: '(min-width: 640px)';
|
|
43
|
-
md: '(min-width: 768px)';
|
|
44
|
-
lg: '(min-width: 1024px)';
|
|
45
|
-
xl: '(min-width: 1280px)';
|
|
46
|
-
'2xl': '(min-width: 1536px)'
|
|
42
|
+
readonly sm: '(min-width: 640px)';
|
|
43
|
+
readonly md: '(min-width: 768px)';
|
|
44
|
+
readonly lg: '(min-width: 1024px)';
|
|
45
|
+
readonly xl: '(min-width: 1280px)';
|
|
46
|
+
readonly '2xl': '(min-width: 1536px)'
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* useMediaQuery - Reactive media query composable
|
|
@@ -16,15 +16,6 @@ export declare function canNotify(): boolean;
|
|
|
16
16
|
export declare function requestNotificationPermission(): Promise<NotificationPermission>;
|
|
17
17
|
/**
|
|
18
18
|
* Show notification with common patterns
|
|
19
|
-
* @defaultValue
|
|
20
|
-
* ```ts
|
|
21
|
-
* {
|
|
22
|
-
* success: (message: string, options?: NotificationOptions) => unknown,
|
|
23
|
-
* error: (message: string, options?: NotificationOptions) => unknown,
|
|
24
|
-
* warning: (message: string, options?: NotificationOptions) => unknown,
|
|
25
|
-
* info: (message: string, options?: NotificationOptions) => unknown
|
|
26
|
-
* }
|
|
27
|
-
* ```
|
|
28
19
|
*/
|
|
29
20
|
export declare const notifications: {
|
|
30
21
|
/** Success notification */
|
|
@@ -32,16 +32,6 @@ export declare function hasNotificationPermission(): Promise<boolean>;
|
|
|
32
32
|
export declare function requestMediaPermissions(options?: { video?: boolean; audio?: boolean }): Promise<{ granted: boolean; stream?: MediaStream; error?: Error }>;
|
|
33
33
|
/**
|
|
34
34
|
* Common permission groups
|
|
35
|
-
* @defaultValue
|
|
36
|
-
* ```ts
|
|
37
|
-
* {
|
|
38
|
-
* media: ['camera', 'microphone'] as PermissionName[],
|
|
39
|
-
* location: ['geolocation'] as PermissionName[],
|
|
40
|
-
* notifications: ['notifications', 'push'] as PermissionName[],
|
|
41
|
-
* sensors: ['accelerometer', 'gyroscope', 'magnetometer'] as PermissionName[],
|
|
42
|
-
* clipboard: ['clipboard-read', 'clipboard-write'] as PermissionName[]
|
|
43
|
-
* }
|
|
44
|
-
* ```
|
|
45
35
|
*/
|
|
46
36
|
export declare const permissionGroups: {
|
|
47
37
|
media: (string | unknown)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Signal } from '../signals-api';
|
|
1
|
+
import type { Signal } from '../signals-api.js';
|
|
2
2
|
/**
|
|
3
3
|
* Reactively lock scrolling on an element, defaulting to the document body.
|
|
4
4
|
*
|
|
@@ -11,3 +11,4 @@ declare type ScrollLockTarget = | HTMLElement
|
|
|
11
11
|
| undefined
|
|
12
12
|
| { current?: HTMLElement | null, value?: HTMLElement | null }
|
|
13
13
|
| (() => HTMLElement | null | undefined);
|
|
14
|
+
export {};
|
|
@@ -52,13 +52,13 @@ export declare function useInterval(interval?: number | ((counter: number) => vo
|
|
|
52
52
|
*/
|
|
53
53
|
export declare function useTimeout(callback: () => void, delay?: number): TimeoutRef;
|
|
54
54
|
/** VueUse-compatible alias for useDebounce. */
|
|
55
|
-
export declare const useDebounceFn:
|
|
55
|
+
export declare const useDebounceFn: typeof useDebounce;
|
|
56
56
|
/** VueUse-compatible alias for the existing debounced value ref. */
|
|
57
|
-
export declare const refDebounced:
|
|
57
|
+
export declare const refDebounced: typeof useDebouncedValue;
|
|
58
58
|
/** VueUse-compatible alias for useThrottle. */
|
|
59
|
-
export declare const useThrottleFn:
|
|
59
|
+
export declare const useThrottleFn: typeof useThrottle;
|
|
60
60
|
/** VueUse-compatible alias for useTimeout. */
|
|
61
|
-
export declare const useTimeoutFn:
|
|
61
|
+
export declare const useTimeoutFn: typeof useTimeout;
|
|
62
62
|
/**
|
|
63
63
|
* useDebounce, useDebouncedValue, useThrottle, useInterval, useTimeout
|
|
64
64
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Signal } from '../signals-api';
|
|
1
|
+
import type { Signal } from '../signals-api.js';
|
|
2
2
|
export declare function useVirtualList<T>(source: Signal<T[]> | (() => T[]) | T[], options: UseVirtualListOptions): UseVirtualList<T>;
|
|
3
3
|
export declare interface VirtualRow<T> {
|
|
4
4
|
index: number
|