@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
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/// <reference path="./stx.d.ts" />
|
|
2
|
-
export type { RuntimeConfigDefaults, PublicRuntimeConfig } from './runtime-config-types';
|
|
3
|
-
export type { ServerApiOptions, ServerApiRoute } from './server-api';
|
|
4
|
-
export type { ApiHandlerContext } from './api-handler';
|
|
5
|
-
export type { Store, StoreOptions, StoreRegistry, PersistOptions, DefineStoreOptions } from './state-management';
|
|
6
|
-
export type { StxComponentInstance, EmitFn } from './composition-api';
|
|
7
|
-
export type { ModelSignal, ModelOptions, ModelModifiers } from './component-model';
|
|
8
|
-
export type { VNode } from './jsx-runtime';
|
|
9
|
-
export type { StxApp, StxApp as App, StxAppPlugin, StxPluginInput, StxAppConfig } from './app';
|
|
10
|
-
export type { StxPlugin, PluginContext, PluginSetupContext } from './plugin-system';
|
|
11
|
-
export type { DoctorCheck, DoctorReport, DoctorOptions, CheckStatus } from './doctor';
|
|
12
|
-
export type { StxStrictDiagnostic, StxStrictOptions, StxStrictRuleId } from './strict-lint';
|
|
2
|
+
export type { RuntimeConfigDefaults, PublicRuntimeConfig } from './runtime-config-types.js';
|
|
3
|
+
export type { ServerApiOptions, ServerApiRoute } from './server-api.js';
|
|
4
|
+
export type { ApiHandlerContext } from './api-handler.js';
|
|
5
|
+
export type { Store, StoreOptions, StoreRegistry, PersistOptions, DefineStoreOptions } from './state-management.js';
|
|
6
|
+
export type { StxComponentInstance, EmitFn } from './composition-api.js';
|
|
7
|
+
export type { ModelSignal, ModelOptions, ModelModifiers } from './component-model.js';
|
|
8
|
+
export type { VNode } from './jsx-runtime.js';
|
|
9
|
+
export type { StxApp, StxApp as App, StxAppPlugin, StxPluginInput, StxAppConfig } from './app.js';
|
|
10
|
+
export type { StxPlugin, PluginContext, PluginSetupContext } from './plugin-system.js';
|
|
11
|
+
export type { DoctorCheck, DoctorReport, DoctorOptions, CheckStatus } from './doctor.js';
|
|
12
|
+
export type { StxStrictDiagnostic, StxStrictOptions, StxStrictRuleId } from './strict-lint.js';
|
|
13
13
|
export type {
|
|
14
14
|
ExtractPropTypes,
|
|
15
15
|
PropOptions,
|
|
16
16
|
PropsDefinition,
|
|
17
17
|
PropValidationError,
|
|
18
18
|
PropValidationResult,
|
|
19
|
-
} from './props';
|
|
19
|
+
} from './props.js';
|
|
20
20
|
declare const __dtsx_default_export__: {};
|
|
21
21
|
// ============================================================
|
|
22
22
|
// STX Core Exports
|
|
@@ -24,25 +24,25 @@ declare const __dtsx_default_export__: {};
|
|
|
24
24
|
// items, import directly from the module (e.g., import { x } from 'stx/reactivity')
|
|
25
25
|
// ============================================================
|
|
26
26
|
// Explicit re-exports to resolve wildcard ambiguities
|
|
27
|
-
export { type BuildResult } from './build-optimizer';
|
|
28
|
-
export { useServerData } from './server-data';
|
|
29
|
-
export { useRuntimeConfig, useServerRuntimeConfig } from './runtime-config-server';
|
|
30
|
-
export { useSearchParams, type SearchParamsRef, type SearchParamsCommitOptions } from './composables/use-router';
|
|
31
|
-
export { useBroadcastStream, type BroadcastStreamFrame, type BroadcastStreamClientOptions } from './composables/use-broadcast-stream';
|
|
32
|
-
export { clearServerData } from './composables/use-fetch';
|
|
33
|
-
export { generateOfflineWorker, OFFLINE_REGISTER_SCRIPT, OFFLINE_WORKER_PATH, type OfflineAppConfig } from './offline/app-service-worker';
|
|
27
|
+
export { type BuildResult } from './build-optimizer.js';
|
|
28
|
+
export { useServerData } from './server-data.js';
|
|
29
|
+
export { useRuntimeConfig, useServerRuntimeConfig } from './runtime-config-server.js';
|
|
30
|
+
export { useSearchParams, type SearchParamsRef, type SearchParamsCommitOptions } from './composables/use-router.js';
|
|
31
|
+
export { useBroadcastStream, type BroadcastStreamFrame, type BroadcastStreamClientOptions } from './composables/use-broadcast-stream.js';
|
|
32
|
+
export { clearServerData } from './composables/use-fetch.js';
|
|
33
|
+
export { generateOfflineWorker, OFFLINE_REGISTER_SCRIPT, OFFLINE_WORKER_PATH, type OfflineAppConfig } from './offline/app-service-worker.js';
|
|
34
34
|
// Exported for servers as well as the static build: SSR inlines the runtime
|
|
35
35
|
// once per *request*, which is the same waste in a worse form.
|
|
36
|
-
export { EXTERNALIZED_ASSET_DIR, externalizeHtml, externalizeSharedAssets, type ExternalizedAsset, type ExternalizeHtmlResult, type ExternalizeResult } from './build-externalize';
|
|
37
|
-
export { externalizeRepeatedAssets } from './build-externalize-repeated';
|
|
38
|
-
export { type ComponentInstance } from './reactivity';
|
|
39
|
-
export { type HydrationOptions } from './hydration';
|
|
36
|
+
export { EXTERNALIZED_ASSET_DIR, externalizeHtml, externalizeSharedAssets, type ExternalizedAsset, type ExternalizeHtmlResult, type ExternalizeResult } from './build-externalize.js';
|
|
37
|
+
export { externalizeRepeatedAssets } from './build-externalize-repeated.js';
|
|
38
|
+
export { type ComponentInstance } from './reactivity.js';
|
|
39
|
+
export { type HydrationOptions } from './hydration.js';
|
|
40
40
|
// `CookieOptions` is the user-facing type for the `useCookie()` composable —
|
|
41
41
|
// the most common consumer path. The route-middleware module (re-exported from
|
|
42
42
|
// stx-router) and the SSR module each have their own internal `CookieOptions`
|
|
43
43
|
// shapes with different field sets; those are kept private to their modules
|
|
44
44
|
// to avoid silently shadowing the user-facing one. Surfaced by stacksjs/stx#1707.
|
|
45
|
-
export { type CookieOptions } from './composables/use-cookie';
|
|
45
|
+
export { type CookieOptions } from './composables/use-cookie.js';
|
|
46
46
|
// Storage composables were reachable ONLY via the './composables' subpath, so
|
|
47
47
|
// `import { useLocalStorage } from '@stacksjs/stx'` failed with TS2614 while
|
|
48
48
|
// `state`/`derived` imported fine — and a `functions/` composable (which the
|
|
@@ -62,7 +62,7 @@ export {
|
|
|
62
62
|
useSessionStorage,
|
|
63
63
|
useStorage,
|
|
64
64
|
type UseStorageOptions,
|
|
65
|
-
} from './composables/use-storage';
|
|
65
|
+
} from './composables/use-storage.js';
|
|
66
66
|
// Data kept per account and refreshed behind: the module twin of
|
|
67
67
|
// window.stx.cachedQuery / setKeptScope / flushKeptState.
|
|
68
68
|
export {
|
|
@@ -72,9 +72,9 @@ export {
|
|
|
72
72
|
flushKeptState,
|
|
73
73
|
type KeptScope,
|
|
74
74
|
setKeptScope,
|
|
75
|
-
} from './composables/use-cached-query';
|
|
75
|
+
} from './composables/use-cached-query.js';
|
|
76
76
|
// One request for every caller: the module twin of window.stx.sharedRequest.
|
|
77
|
-
export { sharedRequest, type SharedRequest, type SharedRequestOptions } from './shared-request';
|
|
77
|
+
export { sharedRequest, type SharedRequest, type SharedRequestOptions } from './shared-request.js';
|
|
78
78
|
// View composers were unreachable: `runComposers` is wired into the render
|
|
79
79
|
// pipeline (process.ts:1206) and runs on every render, but the two functions that
|
|
80
80
|
// PUT anything in the registry were never exported, so the registry was always
|
|
@@ -88,7 +88,7 @@ export {
|
|
|
88
88
|
composerPattern,
|
|
89
89
|
runComposers,
|
|
90
90
|
type ViewComposerCallback,
|
|
91
|
-
} from './view-composers';
|
|
91
|
+
} from './view-composers.js';
|
|
92
92
|
// useForm and the `v` validator builder shipped unreachable: the module's
|
|
93
93
|
// docblock says `import { useForm, v } from 'stx'` (forms-validation.ts:9),
|
|
94
94
|
// and that import threw. process.ts reached the module lazily for directive
|
|
@@ -106,26 +106,26 @@ export {
|
|
|
106
106
|
type ValidatorRule,
|
|
107
107
|
type FieldState,
|
|
108
108
|
type FormState,
|
|
109
|
-
} from './forms-validation';
|
|
110
|
-
export { formatSize, getTotalSize } from './deploy/index';
|
|
111
|
-
export { type ImageRenderResult, type ImageVariant, type ProcessedImage, clearImageCache, getFallbackVariant, getMimeType, groupVariantsByFormat, optimizeImage, processImage } from './image-optimization/index';
|
|
112
|
-
export { type AnalysisResult } from './analyzer';
|
|
113
|
-
export { type AnalyzeOptions, type ChunkInfo } from './production-build';
|
|
109
|
+
} from './forms-validation.js';
|
|
110
|
+
export { formatSize, getTotalSize } from './deploy/index.js';
|
|
111
|
+
export { type ImageRenderResult, type ImageVariant, type ProcessedImage, clearImageCache, getFallbackVariant, getMimeType, groupVariantsByFormat, optimizeImage, processImage } from './image-optimization/index.js';
|
|
112
|
+
export { type AnalysisResult } from './analyzer.js';
|
|
113
|
+
export { type AnalyzeOptions, type ChunkInfo } from './production-build.js';
|
|
114
114
|
// generateReport moved to stx/visual-testing
|
|
115
|
-
export { fileExists } from './utils';
|
|
115
|
+
export { fileExists } from './utils.js';
|
|
116
116
|
// `CompressionOptions` is declared twice — the response compressor's options
|
|
117
117
|
// (`./compression`, what a server tunes) and the production build's
|
|
118
118
|
// (`./production-build`). A wildcard collision exports NEITHER, so the
|
|
119
119
|
// user-facing one is named explicitly here; the build's is reachable from the
|
|
120
120
|
// `stx/production-build` subpath.
|
|
121
|
-
export { type CompressionOptions } from './compression';
|
|
122
|
-
export { type StreamingConfig } from './types';
|
|
123
|
-
export { type Middleware } from './ssr';
|
|
121
|
+
export { type CompressionOptions } from './compression.js';
|
|
122
|
+
export { type StreamingConfig } from './types.js';
|
|
123
|
+
export { type Middleware } from './ssr.js';
|
|
124
124
|
// Re-export the Icon-collection preloader so dev servers (e.g.
|
|
125
125
|
// bun-plugin-stx/serve) can warm the @iconify/json cache at boot. Without
|
|
126
126
|
// it the IconBuiltin returns a "collection not loaded" placeholder on
|
|
127
127
|
// the first render of every page after server start.
|
|
128
|
-
export { preloadIconCollection } from './builtins/index';
|
|
128
|
+
export { preloadIconCollection } from './builtins/index.js';
|
|
129
129
|
// Build-time image placeholders for <StxImage>. Exported so a build (or a
|
|
130
130
|
// long-lived server) can warm them before anything renders.
|
|
131
131
|
export {
|
|
@@ -135,124 +135,124 @@ export {
|
|
|
135
135
|
setImagePlaceholder,
|
|
136
136
|
warmImagePlaceholders,
|
|
137
137
|
type ImagePlaceholder,
|
|
138
|
-
} from './builtins/image-placeholder';
|
|
138
|
+
} from './builtins/image-placeholder.js';
|
|
139
139
|
export {
|
|
140
140
|
clearImageDeliveryCatalog,
|
|
141
141
|
deliveredImage,
|
|
142
142
|
getImageDelivery,
|
|
143
143
|
prepareImageDelivery,
|
|
144
144
|
type DeliveredImage,
|
|
145
|
-
} from './builtins/image-delivery';
|
|
145
|
+
} from './builtins/image-delivery.js';
|
|
146
146
|
// Core functionality - these are the primary modules
|
|
147
|
-
export * from './reactivity';
|
|
148
|
-
export * from './head';
|
|
149
|
-
export * from './page-response';
|
|
150
|
-
export * from './route-middleware';
|
|
151
|
-
export * from './runtime';
|
|
152
|
-
export * from './forms';
|
|
147
|
+
export * from './reactivity.js';
|
|
148
|
+
export * from './head.js';
|
|
149
|
+
export * from './page-response.js';
|
|
150
|
+
export * from './route-middleware.js';
|
|
151
|
+
export * from './runtime.js';
|
|
152
|
+
export * from './forms.js';
|
|
153
153
|
// Core modules
|
|
154
|
-
export * from './env';
|
|
155
|
-
export { getPublicEnv, getPublicEnvDefine } from './public-env';
|
|
156
|
-
export * from './a11y';
|
|
157
|
-
export * from './analytics';
|
|
158
|
-
export * from './analyzer';
|
|
159
|
-
export * from './animation';
|
|
160
|
-
export * from './appearance-bootstrap';
|
|
161
|
-
export * from './assets';
|
|
162
|
-
export * from './app-shell';
|
|
163
|
-
export * from './async-components';
|
|
164
|
-
export * from './auth';
|
|
165
|
-
export * from './build';
|
|
166
|
-
export * from './build-assets';
|
|
167
|
-
export * from './build-id';
|
|
168
|
-
export * from './build-mode-detector';
|
|
169
|
-
export * from './build-optimizer';
|
|
170
|
-
export * from './broadcasting';
|
|
171
|
-
export * from './caching';
|
|
172
|
-
export * from './components';
|
|
173
|
-
export * from './component-library';
|
|
174
|
-
export * from './color-mode-boot';
|
|
175
|
-
export * from './config';
|
|
154
|
+
export * from './env.js';
|
|
155
|
+
export { getPublicEnv, getPublicEnvDefine } from './public-env.js';
|
|
156
|
+
export * from './a11y.js';
|
|
157
|
+
export * from './analytics.js';
|
|
158
|
+
export * from './analyzer.js';
|
|
159
|
+
export * from './animation.js';
|
|
160
|
+
export * from './appearance-bootstrap.js';
|
|
161
|
+
export * from './assets.js';
|
|
162
|
+
export * from './app-shell.js';
|
|
163
|
+
export * from './async-components.js';
|
|
164
|
+
export * from './auth.js';
|
|
165
|
+
export * from './build.js';
|
|
166
|
+
export * from './build-assets.js';
|
|
167
|
+
export * from './build-id.js';
|
|
168
|
+
export * from './build-mode-detector.js';
|
|
169
|
+
export * from './build-optimizer.js';
|
|
170
|
+
export * from './broadcasting.js';
|
|
171
|
+
export * from './caching.js';
|
|
172
|
+
export * from './components.js';
|
|
173
|
+
export * from './component-library.js';
|
|
174
|
+
export * from './color-mode-boot.js';
|
|
175
|
+
export * from './config.js';
|
|
176
176
|
// craft-bridge, craft-compiler, craft-components, craft-ssr, native-build
|
|
177
177
|
// moved to stx/craft
|
|
178
|
-
export * from './csp';
|
|
179
|
-
export * from './custom-directives';
|
|
178
|
+
export * from './csp.js';
|
|
179
|
+
export * from './custom-directives.js';
|
|
180
180
|
// database moved to stx/database
|
|
181
|
-
export * from './defer';
|
|
182
|
-
export * from './deploy/index';
|
|
183
|
-
export * from './compression';
|
|
184
|
-
export * from './dev-server';
|
|
185
|
-
export * from './document-shell';
|
|
186
|
-
export * from './fragment-container';
|
|
181
|
+
export * from './defer.js';
|
|
182
|
+
export * from './deploy/index.js';
|
|
183
|
+
export * from './compression.js';
|
|
184
|
+
export * from './dev-server.js';
|
|
185
|
+
export * from './document-shell.js';
|
|
186
|
+
export * from './fragment-container.js';
|
|
187
187
|
// DevTools entry points. Exported selectively rather than with a wildcard:
|
|
188
188
|
// devtools.ts also exports registerStore, which would collide with
|
|
189
189
|
// state-management's function of the same name. Their own docblock says
|
|
190
190
|
// `import { enableDevTools } from 'stx'`, and that import threw — so devtools
|
|
191
191
|
// could not be turned on from the package entry at all. See #1873.
|
|
192
|
-
export { disableDevTools, enableDevTools } from './devtools';
|
|
192
|
+
export { disableDevTools, enableDevTools } from './devtools.js';
|
|
193
193
|
// composables.ts:161 documents `import { onUpdate } from 'stx'`; it was
|
|
194
194
|
// reachable only through the stx/composables subpath.
|
|
195
|
-
export { onUpdate } from './composables';
|
|
196
|
-
export * from './directive-api';
|
|
197
|
-
export * from './docs';
|
|
198
|
-
export * from './edge-runtime';
|
|
199
|
-
export * from './screenshot';
|
|
200
|
-
export * from './error-handling';
|
|
201
|
-
export * from './events';
|
|
202
|
-
export * from './expressions';
|
|
203
|
-
export * from './formatter';
|
|
204
|
-
export * from './heatmap';
|
|
205
|
-
export * from './hot-reload';
|
|
206
|
-
export * from './i18n';
|
|
207
|
-
export * from './includes';
|
|
208
|
-
export * from './init';
|
|
209
|
-
export * from './interactive';
|
|
210
|
-
export * from './keep-alive';
|
|
211
|
-
export * from './loops';
|
|
212
|
-
export * from './markdown';
|
|
213
|
-
export * from './middleware';
|
|
214
|
-
export * from './page-action';
|
|
215
|
-
export * from './parser/index';
|
|
216
|
-
export * from './manifest';
|
|
217
|
-
export * from './placeholder';
|
|
218
|
-
export * from './process';
|
|
219
|
-
export * from './production-build';
|
|
220
|
-
export * from './production-builder';
|
|
221
|
-
export * from './production-server';
|
|
222
|
-
export * from './route-rules';
|
|
223
|
-
export { createServerApi, discoverServerApi, generateApiTypes } from './server-api';
|
|
224
|
-
export { defineApiHandler } from './api-handler';
|
|
225
|
-
export * from './release';
|
|
226
|
-
export * from './router';
|
|
227
|
-
export * from './scaffolding';
|
|
228
|
-
export * from './script-classifier';
|
|
229
|
-
export * from './seo';
|
|
230
|
-
export * from './serve';
|
|
231
|
-
export * from './spa-nav';
|
|
232
|
-
export * from './page-head';
|
|
195
|
+
export { onUpdate } from './composables.js';
|
|
196
|
+
export * from './directive-api.js';
|
|
197
|
+
export * from './docs.js';
|
|
198
|
+
export * from './edge-runtime.js';
|
|
199
|
+
export * from './screenshot.js';
|
|
200
|
+
export * from './error-handling.js';
|
|
201
|
+
export * from './events.js';
|
|
202
|
+
export * from './expressions.js';
|
|
203
|
+
export * from './formatter.js';
|
|
204
|
+
export * from './heatmap.js';
|
|
205
|
+
export * from './hot-reload.js';
|
|
206
|
+
export * from './i18n.js';
|
|
207
|
+
export * from './includes.js';
|
|
208
|
+
export * from './init.js';
|
|
209
|
+
export * from './interactive.js';
|
|
210
|
+
export * from './keep-alive.js';
|
|
211
|
+
export * from './loops.js';
|
|
212
|
+
export * from './markdown.js';
|
|
213
|
+
export * from './middleware.js';
|
|
214
|
+
export * from './page-action.js';
|
|
215
|
+
export * from './parser/index.js';
|
|
216
|
+
export * from './manifest.js';
|
|
217
|
+
export * from './placeholder.js';
|
|
218
|
+
export * from './process.js';
|
|
219
|
+
export * from './production-build.js';
|
|
220
|
+
export * from './production-builder.js';
|
|
221
|
+
export * from './production-server.js';
|
|
222
|
+
export * from './route-rules.js';
|
|
223
|
+
export { createServerApi, discoverServerApi, generateApiTypes } from './server-api.js';
|
|
224
|
+
export { defineApiHandler } from './api-handler.js';
|
|
225
|
+
export * from './release.js';
|
|
226
|
+
export * from './router.js';
|
|
227
|
+
export * from './scaffolding.js';
|
|
228
|
+
export * from './script-classifier.js';
|
|
229
|
+
export * from './seo.js';
|
|
230
|
+
export * from './serve.js';
|
|
231
|
+
export * from './spa-nav.js';
|
|
232
|
+
export * from './page-head.js';
|
|
233
233
|
// Where stx keeps its generated state (`.stx/` by default, configurable)
|
|
234
|
-
export * from './state-dir';
|
|
235
|
-
export * from './style-scoping';
|
|
236
|
-
export * from './template-compiler';
|
|
237
|
-
export * from './template-hydrator';
|
|
238
|
-
export * from './streaming';
|
|
239
|
-
export * from './suspense';
|
|
240
|
-
export * from './teleport';
|
|
241
|
-
export * from './transitions';
|
|
242
|
-
export * from './type-checker';
|
|
234
|
+
export * from './state-dir.js';
|
|
235
|
+
export * from './style-scoping.js';
|
|
236
|
+
export * from './template-compiler.js';
|
|
237
|
+
export * from './template-hydrator.js';
|
|
238
|
+
export * from './streaming.js';
|
|
239
|
+
export * from './suspense.js';
|
|
240
|
+
export * from './teleport.js';
|
|
241
|
+
export * from './transitions.js';
|
|
242
|
+
export * from './type-checker.js';
|
|
243
243
|
// Type-checking the TypeScript inside .stx script blocks, and the CLI behind
|
|
244
244
|
// `stx typecheck` (#1852). Distinct from ./type-checker, which is a bespoke
|
|
245
245
|
// checker for template EXPRESSIONS.
|
|
246
|
-
export * from './typecheck';
|
|
247
|
-
export * from './web-components';
|
|
248
|
-
export * from './virtual-scrolling';
|
|
249
|
-
export * from './partial-hydration';
|
|
250
|
-
export * from './hydration-runtime';
|
|
251
|
-
export * from './client';
|
|
252
|
-
export * from './loading-indicator';
|
|
253
|
-
export * from './reactive-bindings';
|
|
254
|
-
export * from './client-helpers';
|
|
255
|
-
export * from './client-script';
|
|
246
|
+
export * from './typecheck.js';
|
|
247
|
+
export * from './web-components.js';
|
|
248
|
+
export * from './virtual-scrolling.js';
|
|
249
|
+
export * from './partial-hydration.js';
|
|
250
|
+
export * from './hydration-runtime.js';
|
|
251
|
+
export * from './client.js';
|
|
252
|
+
export * from './loading-indicator.js';
|
|
253
|
+
export * from './reactive-bindings.js';
|
|
254
|
+
export * from './client-helpers.js';
|
|
255
|
+
export * from './client-script.js';
|
|
256
256
|
/*
|
|
257
257
|
* The authoring surface, as data.
|
|
258
258
|
*
|
|
@@ -268,15 +268,15 @@ export * from './client-script';
|
|
|
268
268
|
* `runtime-globals.test.ts` against the real `window.stx`. Exporting it means a
|
|
269
269
|
* consumer can derive from the same guarded list instead of transcribing it.
|
|
270
270
|
*/
|
|
271
|
-
export * from './runtime-globals';
|
|
272
|
-
export * from './strip-literals';
|
|
273
|
-
export * from './resolve-stx-targets';
|
|
274
|
-
export * from './cookie-serialize';
|
|
275
|
-
export * from './cli-flags';
|
|
276
|
-
export * from './component-hmr';
|
|
277
|
-
export * from './hydration';
|
|
271
|
+
export * from './runtime-globals.js';
|
|
272
|
+
export * from './strip-literals.js';
|
|
273
|
+
export * from './resolve-stx-targets.js';
|
|
274
|
+
export * from './cookie-serialize.js';
|
|
275
|
+
export * from './cli-flags.js';
|
|
276
|
+
export * from './component-hmr.js';
|
|
277
|
+
export * from './hydration.js';
|
|
278
278
|
// ssg moved to stx/ssg
|
|
279
|
-
export * from './ssr';
|
|
279
|
+
export * from './ssr.js';
|
|
280
280
|
// State management — explicit exports to avoid conflicts with runtime.ts and reactivity.ts
|
|
281
281
|
export {
|
|
282
282
|
createStore,
|
|
@@ -286,33 +286,33 @@ export {
|
|
|
286
286
|
hasStore,
|
|
287
287
|
registerStoresClient,
|
|
288
288
|
useStore,
|
|
289
|
-
} from './state-management';
|
|
289
|
+
} from './state-management.js';
|
|
290
290
|
// visual-testing moved to stx/visual-testing
|
|
291
|
-
export * from './image-optimization/index';
|
|
292
|
-
export * from './media/index';
|
|
291
|
+
export * from './image-optimization/index.js';
|
|
292
|
+
export * from './media/index.js';
|
|
293
293
|
// bundle-analyzer moved to stx/bundle-analyzer
|
|
294
|
-
export * from './build-views';
|
|
295
|
-
export * from './signals';
|
|
296
|
-
export * from './spa-shell';
|
|
294
|
+
export * from './build-views.js';
|
|
295
|
+
export * from './signals.js';
|
|
296
|
+
export * from './spa-shell.js';
|
|
297
297
|
// Vue compatibility, server bindings, and JSX support
|
|
298
|
-
export * from './vue-template';
|
|
299
|
-
export { processServerBindings } from './server-bindings';
|
|
300
|
-
export { provide, inject, setGlobalProvide, defineEmits, defineExpose, defineSlots, nextTick, onErrorCaptured, handleError, useSlots, useAttrs, createProvideContext, generateCompositionRuntime } from './composition-api';
|
|
301
|
-
export { useModel } from './component-model';
|
|
302
|
-
export { jsx, jsxs, jsxDEV, Fragment, renderToString, renderToStream, renderToDOM, Show, For, Portal, h } from './jsx-runtime';
|
|
303
|
-
export { createApp, createApp as createStxApp, defineCustomElement } from './app';
|
|
304
|
-
export * from './dynamic-components';
|
|
305
|
-
export { definePlugin, pluginManager } from './plugin-system';
|
|
298
|
+
export * from './vue-template.js';
|
|
299
|
+
export { processServerBindings } from './server-bindings.js';
|
|
300
|
+
export { provide, inject, setGlobalProvide, defineEmits, defineExpose, defineSlots, nextTick, onErrorCaptured, handleError, useSlots, useAttrs, createProvideContext, generateCompositionRuntime } from './composition-api.js';
|
|
301
|
+
export { useModel } from './component-model.js';
|
|
302
|
+
export { jsx, jsxs, jsxDEV, Fragment, renderToString, renderToStream, renderToDOM, Show, For, Portal, h } from './jsx-runtime.js';
|
|
303
|
+
export { createApp, createApp as createStxApp, defineCustomElement } from './app.js';
|
|
304
|
+
export * from './dynamic-components.js';
|
|
305
|
+
export { definePlugin, pluginManager } from './plugin-system.js';
|
|
306
306
|
// These modules are exported first to establish their types
|
|
307
|
-
export * from './render';
|
|
308
|
-
export { extractClassNames, generateCss, getCssServeAsset, injectCss } from './dev-server/ts-css';
|
|
307
|
+
export * from './render.js';
|
|
308
|
+
export { extractClassNames, generateCss, getCssServeAsset, injectCss } from './dev-server/ts-css.js';
|
|
309
309
|
// One css merge shared by every render path (#1867)
|
|
310
|
-
export { deepMergeThemes, mergeCssConfig, type MergedCssConfig, renderFontCSS } from './ts-css-config';
|
|
310
|
+
export { deepMergeThemes, mergeCssConfig, type MergedCssConfig, renderFontCSS } from './ts-css-config.js';
|
|
311
311
|
// Dev-mode invalidation for the store/composable bundles (#1877)
|
|
312
|
-
export { clearStoreCache, getStoreScript } from './store-loader';
|
|
313
|
-
export { clearComposableCache } from './composable-loader';
|
|
312
|
+
export { clearStoreCache, getStoreScript } from './store-loader.js';
|
|
313
|
+
export { clearComposableCache } from './composable-loader.js';
|
|
314
314
|
// Generated union of layouts on disk (#1879)
|
|
315
|
-
export { discoverLayoutNames, generateLayoutTypes, LAYOUT_TYPES_FILE, renderLayoutTypes } from './layout-types';
|
|
315
|
+
export { discoverLayoutNames, generateLayoutTypes, LAYOUT_TYPES_FILE, renderLayoutTypes } from './layout-types.js';
|
|
316
316
|
// Typed route paths (#1887). Without this export the generated augmentation is
|
|
317
317
|
// dangling again, for exactly the reason `stx/routes` was.
|
|
318
318
|
export {
|
|
@@ -325,8 +325,8 @@ export {
|
|
|
325
325
|
type RoutePattern,
|
|
326
326
|
type RoutePatternUsedAsHref,
|
|
327
327
|
type UnknownRoute,
|
|
328
|
-
} from './route-types';
|
|
329
|
-
export { runDoctor, formatDoctorReport, findPantryPackage } from './doctor';
|
|
328
|
+
} from './route-types.js';
|
|
329
|
+
export { runDoctor, formatDoctorReport, findPantryPackage } from './doctor.js';
|
|
330
330
|
export {
|
|
331
331
|
applyTranslations,
|
|
332
332
|
buildAlternateLinks,
|
|
@@ -362,9 +362,9 @@ export {
|
|
|
362
362
|
type SiteThemeOptions,
|
|
363
363
|
type SitemapEntry,
|
|
364
364
|
type ThemeOptions,
|
|
365
|
-
} from './site-builder/index';
|
|
366
|
-
export * from './utils';
|
|
367
|
-
export * from './slots';
|
|
365
|
+
} from './site-builder/index.js';
|
|
366
|
+
export * from './utils.js';
|
|
367
|
+
export * from './slots.js';
|
|
368
368
|
// Testing module - has overlapping 'render' export with ssr
|
|
369
369
|
// Import from stx/testing directly if needed
|
|
370
370
|
// export * from './testing'
|
|
@@ -372,9 +372,9 @@ export * from './slots';
|
|
|
372
372
|
// Import from stx/server-components directly if needed
|
|
373
373
|
// export * from './server-components'
|
|
374
374
|
// stx-strict footgun linter (stacksjs/stx#1744)
|
|
375
|
-
export { lintStxStrict } from './strict-lint';
|
|
375
|
+
export { lintStxStrict } from './strict-lint.js';
|
|
376
376
|
// Types module - note: PropType is also in props, import from stx/props if needed
|
|
377
|
-
export * from './types';
|
|
377
|
+
export * from './types.js';
|
|
378
378
|
// Props module — surfaces the user-facing typed-props API (stacksjs/stx#1740).
|
|
379
379
|
// Selective re-export avoids overlap with `./types`' string-union `PropType`
|
|
380
380
|
// (different shape) and `./composition-api`'s `defineEmits` / `EmitFn` (the
|
|
@@ -393,7 +393,7 @@ export {
|
|
|
393
393
|
shape,
|
|
394
394
|
validated,
|
|
395
395
|
withDefaults,
|
|
396
|
-
} from './props';
|
|
397
|
-
export { isMarkdownPath, type MarkdownRenderer, type MarkdownView, protectCodeBlocks, renderMarkdownView } from './markdown-view';
|
|
396
|
+
} from './props.js';
|
|
397
|
+
export { isMarkdownPath, type MarkdownRenderer, type MarkdownView, protectCodeBlocks, renderMarkdownView } from './markdown-view.js';
|
|
398
398
|
// Default export for the stx module
|
|
399
399
|
export default __dtsx_default_export__;
|
package/dist/init.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Resolve runtime assets from the app's install, never Bun's global cache. */
|
|
2
|
-
export declare function resolveInstalledEntry(specifier: string, root?:
|
|
2
|
+
export declare function resolveInstalledEntry(specifier: string, root?: ReturnType<typeof process.cwd>): string | undefined;
|
|
3
3
|
/**
|
|
4
4
|
* With no app install, Bun can resolve an unrelated release in its global
|
|
5
5
|
* package cache. Refuse that copy: its version and dependencies do not belong
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -74,11 +74,11 @@ export declare const Fragment: unique symbol;
|
|
|
74
74
|
/**
|
|
75
75
|
* Same as jsx — Bun's transpiler uses jsxs when there are multiple static children.
|
|
76
76
|
*/
|
|
77
|
-
export declare const jsxs:
|
|
77
|
+
export declare const jsxs: typeof jsx;
|
|
78
78
|
/**
|
|
79
79
|
* Development version of jsx with extra validation.
|
|
80
80
|
*/
|
|
81
|
-
export declare const jsxDEV:
|
|
81
|
+
export declare const jsxDEV: typeof jsx;
|
|
82
82
|
/** Virtual DOM node representation */
|
|
83
83
|
export declare interface VNode {
|
|
84
84
|
type: string | ComponentFunction<any> | typeof Fragment
|
package/dist/lazy-loader.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ export type ModuleStatus = 'pending' | 'loading' | 'loaded' | 'error';
|
|
|
51
51
|
* Lazy loader for directive processors
|
|
52
52
|
*/
|
|
53
53
|
export declare class LazyLoader<T = unknown> {
|
|
54
|
+
private modules;
|
|
55
|
+
private options;
|
|
54
56
|
constructor(options?: LazyLoaderOptions);
|
|
55
57
|
register(name: string, loader: ModuleLoader<T>, dependencies?: string[]): void;
|
|
56
58
|
registerAll(modules: Record<string, ModuleLoader<T>>): void;
|
|
@@ -76,11 +78,14 @@ export declare class LazyLoader<T = unknown> {
|
|
|
76
78
|
loadTime?: number
|
|
77
79
|
}>
|
|
78
80
|
};
|
|
81
|
+
private loadWithTimeout;
|
|
79
82
|
}
|
|
80
83
|
/**
|
|
81
84
|
* Lazy loader specifically for directive processors
|
|
82
85
|
*/
|
|
83
86
|
export declare class DirectiveLoaderRegistry {
|
|
87
|
+
private loader;
|
|
88
|
+
private directiveMap;
|
|
84
89
|
constructor(options?: LazyLoaderOptions);
|
|
85
90
|
registerDirective(directiveName: string, moduleName: string, loader: ModuleLoader<DirectiveProcessor | { default: DirectiveProcessor }>): void;
|
|
86
91
|
getProcessor(directiveName: string): Promise<DirectiveProcessor | null>;
|
|
@@ -21,8 +21,6 @@ export declare function cleanupLoadingIndicator(): void;
|
|
|
21
21
|
* This is used by the STX compiler for <stx-loading-indicator />
|
|
22
22
|
*/
|
|
23
23
|
export declare function generateLoadingIndicatorHtml(options?: LoadingIndicatorOptions): string;
|
|
24
|
-
/** @defaultValue false */
|
|
25
|
-
declare let isLoading: boolean;
|
|
26
24
|
declare const __dtsx_default_export__: {
|
|
27
25
|
useLoadingIndicator: typeof useLoadingIndicator;
|
|
28
26
|
initLoadingIndicator: typeof initLoadingIndicator;
|
package/dist/loops.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseLoopBinding } from './loop-binding';
|
|
2
|
-
import type { StxOptions } from './types';
|
|
1
|
+
import { parseLoopBinding } from './loop-binding.js';
|
|
2
|
+
import type { StxOptions } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Print the "not iterable" warning for every loop still in `html`, and strip
|
|
5
5
|
* the markers. Call it after the conditionals around the loops are decided.
|
|
@@ -59,4 +59,4 @@ export declare function declareBareLoopHead(expr: string): string;
|
|
|
59
59
|
* @param filePath - Path to template file for error messages
|
|
60
60
|
* @param options - Optional stx configuration
|
|
61
61
|
*/
|
|
62
|
-
export { parseLoopBinding } from './loop-binding';
|
|
62
|
+
export { parseLoopBinding } from './loop-binding.js';
|
package/dist/manifest.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RouteRules } from './route-rules';
|
|
2
|
-
import type { ServerApiRoute } from './server-api';
|
|
1
|
+
import type { RouteRules } from './route-rules.js';
|
|
2
|
+
import type { ServerApiRoute } from './server-api.js';
|
|
3
3
|
/**
|
|
4
4
|
* Generate a build manifest from compiled pages and assets.
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { generateBlurUpRuntime, generateBlurUpCSS } from './blur-up';
|
|
2
|
-
import { generateLazyLoadRuntime } from './lazy-load';
|
|
3
|
-
import { generateUploadRuntime } from './upload-handler';
|
|
1
|
+
import { generateBlurUpRuntime, generateBlurUpCSS } from './blur-up.js';
|
|
2
|
+
import { generateLazyLoadRuntime } from './lazy-load.js';
|
|
3
|
+
import { generateUploadRuntime } from './upload-handler.js';
|
|
4
4
|
/**
|
|
5
5
|
* Generate the complete media client runtime
|
|
6
6
|
*/
|
|
@@ -42,7 +42,7 @@ export {
|
|
|
42
42
|
|
|
43
43
|
// Runtime generation
|
|
44
44
|
generateLazyLoadRuntime,
|
|
45
|
-
} from './lazy-load';
|
|
45
|
+
} from './lazy-load.js';
|
|
46
46
|
// =============================================================================
|
|
47
47
|
// Blur-Up Effects
|
|
48
48
|
// =============================================================================
|
|
@@ -66,7 +66,7 @@ export {
|
|
|
66
66
|
// Runtime generation
|
|
67
67
|
generateBlurUpRuntime,
|
|
68
68
|
generateBlurUpCSS,
|
|
69
|
-
} from './blur-up';
|
|
69
|
+
} from './blur-up.js';
|
|
70
70
|
// =============================================================================
|
|
71
71
|
// Upload Handler
|
|
72
72
|
// =============================================================================
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
|
|
91
91
|
// Runtime generation
|
|
92
92
|
generateUploadRuntime,
|
|
93
|
-
} from './upload-handler';
|
|
93
|
+
} from './upload-handler.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageRenderContext, ImageRenderResult, ImgProps, EnhancedImgProps, TsImagesConfig, ProcessedImageResult, ResponsiveVariantSet } from '../types';
|
|
1
|
+
import type { ImageRenderContext, ImageRenderResult, ImgProps, EnhancedImgProps, TsImagesConfig, ProcessedImageResult, ResponsiveVariantSet } from '../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Render an optimized <Img> component
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CustomDirective } from '../../types';
|
|
1
|
+
import type { CustomDirective } from '../../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Create the @img directive
|
|
4
4
|
*/
|
|
@@ -6,4 +6,4 @@ export declare function createImgDirective(): CustomDirective;
|
|
|
6
6
|
/**
|
|
7
7
|
* The @img directive instance
|
|
8
8
|
*/
|
|
9
|
-
export declare const imgDirective:
|
|
9
|
+
export declare const imgDirective: (typeof createImgDirective) extends (...args: never[]) => infer __dtsx_call_result ? __dtsx_call_result : never;
|