@stacksjs/stx 0.2.92 → 0.2.94
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.js +1 -1
- package/dist/analytics.js +1 -1
- package/dist/analyzer.js +1 -1
- package/dist/animation.js +1 -1
- package/dist/app-shell.js +1 -1
- package/dist/app.js +1 -1
- package/dist/assets.js +1 -1
- package/dist/ast.js +1 -1
- package/dist/async-components.js +1 -1
- package/dist/auth.js +1 -1
- package/dist/broadcasting.js +1 -1
- package/dist/browser-composables.js +1 -1
- package/dist/build-assets.js +1 -1
- package/dist/build-mode-detector.js +1 -1
- package/dist/build-optimizer.js +1 -1
- package/dist/build-views.js +1 -1
- package/dist/build.js +1 -1
- package/dist/builtins/drawer.js +1 -1
- package/dist/builtins/escape.js +1 -1
- package/dist/builtins/icon.js +1 -1
- package/dist/builtins/index.js +1 -1
- package/dist/builtins/modal.js +1 -1
- package/dist/builtins/safe-image.js +1 -1
- package/dist/builtins/stx-image.js +1 -1
- package/dist/builtins/stx-link.js +1 -1
- package/dist/builtins/stx-loading-indicator.js +1 -1
- package/dist/builtins/suspense.js +1 -1
- package/dist/builtins/toast.js +1 -1
- package/dist/builtins/tooltip.js +1 -1
- package/dist/builtins/transition-group.js +1 -1
- package/dist/bundle-analyzer/collector.js +1 -1
- package/dist/bundle-analyzer/index.js +1 -1
- package/dist/bundle-analyzer/report.js +1 -1
- package/dist/bundle-analyzer/treemap.js +1 -1
- package/dist/caching.js +1 -1
- package/dist/{chunk-9p45wwff.js → chunk-03c26pjz.js} +1 -1
- package/dist/{chunk-4ep9gk7d.js → chunk-04mvcmcr.js} +1 -1
- package/dist/{chunk-5e2khb7q.js → chunk-05hgyyqc.js} +2 -2
- package/dist/{chunk-j25swncq.js → chunk-095s3972.js} +1 -1
- package/dist/{chunk-t1dzvz5z.js → chunk-0dz85jrp.js} +1 -1
- package/dist/{chunk-2aydpj2n.js → chunk-0g4gece6.js} +1 -1
- package/dist/{chunk-k7yp9h17.js → chunk-0jd0pndq.js} +1 -1
- package/dist/{chunk-3whqk46c.js → chunk-0jkwrcwj.js} +1 -1
- package/dist/{chunk-jcjzg6r5.js → chunk-0m9tdm7t.js} +1 -1
- package/dist/{chunk-9pzdyd8q.js → chunk-0qnz93q2.js} +2 -2
- package/dist/{chunk-c9f5k95v.js → chunk-0tatqxj2.js} +2 -2
- package/dist/{chunk-wdtanmx1.js → chunk-0wdar532.js} +1 -1
- package/dist/{chunk-m911bf2b.js → chunk-13yz561y.js} +2 -2
- package/dist/{chunk-646pxdd1.js → chunk-174z0cd0.js} +2 -2
- package/dist/{chunk-wbrqpv9f.js → chunk-1mmykse5.js} +2 -2
- package/dist/{chunk-xkzz5rb0.js → chunk-1z2yq9em.js} +2 -2
- package/dist/{chunk-jmky0qzm.js → chunk-1z5nhbjt.js} +1 -1
- package/dist/{chunk-ms9rebfj.js → chunk-25s7bckb.js} +2 -2
- package/dist/{chunk-nsrqf0dg.js → chunk-268adc7r.js} +1 -1
- package/dist/{chunk-14kfmww0.js → chunk-26r6zh3t.js} +2 -2
- package/dist/{chunk-8xbj6dqe.js → chunk-2w3302dh.js} +1 -1
- package/dist/{chunk-9ezvda3j.js → chunk-2xen423s.js} +1 -1
- package/dist/{chunk-nv3k4bf9.js → chunk-39gm08bn.js} +1 -1
- package/dist/{chunk-g3f1xq76.js → chunk-3bjtemm6.js} +1 -1
- package/dist/{chunk-6r70w54p.js → chunk-3jm3snz8.js} +1 -1
- package/dist/{chunk-9tksycj5.js → chunk-3ngm57nt.js} +2 -2
- package/dist/{chunk-hkjq64we.js → chunk-3rh7va1z.js} +1 -1
- package/dist/{chunk-r5sggjdv.js → chunk-3yg9hbmb.js} +2 -2
- package/dist/{chunk-sk1gmrr8.js → chunk-46mkpbkk.js} +2 -2
- package/dist/chunk-48cw2nde.js +2 -0
- package/dist/chunk-48r3qe0k.js +3 -0
- package/dist/{chunk-19f7xyy7.js → chunk-4bt81cg3.js} +2 -2
- package/dist/{chunk-ccgmxmjk.js → chunk-4j188175.js} +1 -1
- package/dist/{chunk-t38vt890.js → chunk-4k7d8p8d.js} +1 -1
- package/dist/{chunk-91gyjg5c.js → chunk-4qq8ffke.js} +2 -2
- package/dist/{chunk-fnqf7293.js → chunk-50vqeesm.js} +2 -2
- package/dist/{chunk-8fhv0xaw.js → chunk-52agge4n.js} +2 -2
- package/dist/{chunk-1vz36hw3.js → chunk-55yp0q8t.js} +1 -1
- package/dist/{chunk-yywc3yge.js → chunk-57p201gb.js} +1 -1
- package/dist/{chunk-kqtchwz7.js → chunk-5ggw1dyv.js} +1 -1
- package/dist/{chunk-md4j8nch.js → chunk-5kt3ay7x.js} +1 -1
- package/dist/{chunk-ds6g241c.js → chunk-5p568px4.js} +1 -1
- package/dist/{chunk-6e08xfzp.js → chunk-5ppkfyn2.js} +1 -1
- package/dist/{chunk-1htmc8mb.js → chunk-5q87fgkk.js} +2 -2
- package/dist/{chunk-ke7rcrfm.js → chunk-5qb761h2.js} +1 -1
- package/dist/{chunk-f7f4g33p.js → chunk-5xvbq2gs.js} +2 -2
- package/dist/{chunk-tb9c2mq7.js → chunk-647849kf.js} +2 -2
- package/dist/{chunk-b37f9ebf.js → chunk-6b5k6w2q.js} +1 -1
- package/dist/{chunk-x6n8z1n8.js → chunk-6cr3eeh4.js} +1 -1
- package/dist/{chunk-7sd6c9wv.js → chunk-6djgb0hr.js} +1 -1
- package/dist/{chunk-f228sm5e.js → chunk-6dqzky7x.js} +1 -1
- package/dist/{chunk-knefeadt.js → chunk-6e4c6g46.js} +2 -2
- package/dist/{chunk-qhzdkgg3.js → chunk-6w03t7h6.js} +2 -2
- package/dist/{chunk-fh1d8bxd.js → chunk-6wn85hn6.js} +1 -1
- package/dist/{chunk-w4a3cvtp.js → chunk-6y4gqs1q.js} +1 -1
- package/dist/{chunk-8x58wmgs.js → chunk-75rndzbd.js} +2 -2
- package/dist/{chunk-eghdf4qq.js → chunk-77tga15w.js} +2 -2
- package/dist/{chunk-w3e1fm1q.js → chunk-7a51hkpf.js} +1 -1
- package/dist/{chunk-rdaavfsg.js → chunk-7b0xdy5h.js} +1 -1
- package/dist/{chunk-5wecgn5n.js → chunk-7cgmq685.js} +1 -1
- package/dist/{chunk-0m53nxvy.js → chunk-7dy588as.js} +1 -1
- package/dist/{chunk-87rkm7qf.js → chunk-7rvh2wwv.js} +2 -2
- package/dist/{chunk-1hyk728h.js → chunk-7sm05m0j.js} +1 -1
- package/dist/{chunk-npj33yqb.js → chunk-7xcfy2fn.js} +1 -1
- package/dist/{chunk-7aph6rw7.js → chunk-82t27pvd.js} +1 -1
- package/dist/{chunk-hdv4tnvh.js → chunk-87kx8byz.js} +2 -2
- package/dist/{chunk-a2xzs4kd.js → chunk-8fgwhhb8.js} +2 -2
- package/dist/{chunk-bg1xym0q.js → chunk-8qbax8xn.js} +1 -1
- package/dist/{chunk-p4wm4a45.js → chunk-91s2hres.js} +2 -2
- package/dist/{chunk-7t4hkmxb.js → chunk-94g3cahw.js} +2 -2
- package/dist/{chunk-02bd1cng.js → chunk-957amb71.js} +1 -1
- package/dist/{chunk-qvmrwh8n.js → chunk-95w08s8v.js} +1 -1
- package/dist/{chunk-6zhv4fcq.js → chunk-9agvhp1x.js} +1 -1
- package/dist/{chunk-hd27hhzr.js → chunk-9tmbrwwx.js} +1 -1
- package/dist/{chunk-dtcj9r7p.js → chunk-9yz5d003.js} +2 -2
- package/dist/{chunk-agzvhej1.js → chunk-a3hyn4we.js} +1 -1
- package/dist/{chunk-n2wmny2b.js → chunk-a69tvya5.js} +2 -2
- package/dist/{chunk-c7zedzbg.js → chunk-adjcg6wa.js} +2 -2
- package/dist/{chunk-p5j0686t.js → chunk-adqh2m9z.js} +1 -1
- package/dist/{chunk-ddst5g08.js → chunk-asarebzq.js} +1 -1
- package/dist/{chunk-z06myqr1.js → chunk-aw3rp9ac.js} +2 -2
- package/dist/{chunk-zr8631g4.js → chunk-b0cyc09a.js} +1 -1
- package/dist/{chunk-ckz0ppkr.js → chunk-b3kkjcdh.js} +1 -1
- package/dist/{chunk-a33kr9b0.js → chunk-b3prs7y0.js} +1 -1
- package/dist/{chunk-zhr3za7x.js → chunk-b5zc9y0y.js} +2 -2
- package/dist/{chunk-zepv7y44.js → chunk-baa7h4yz.js} +2 -2
- package/dist/{chunk-pzc0bs5r.js → chunk-bgec9r1v.js} +2 -2
- package/dist/{chunk-mqnymcn5.js → chunk-bjnjpsgn.js} +2 -2
- package/dist/{chunk-g22tv0ed.js → chunk-bk8ew8ze.js} +2 -2
- package/dist/{chunk-h3mb2q51.js → chunk-bn08k7yy.js} +2 -2
- package/dist/{chunk-nacsxc1r.js → chunk-bpgg59wa.js} +1 -1
- package/dist/{chunk-9w7021bx.js → chunk-bwxda6n1.js} +2 -2
- package/dist/{chunk-9fj7hpwa.js → chunk-bykjk6vj.js} +1 -1
- package/dist/{chunk-gapx9vqm.js → chunk-c53hyw5c.js} +1 -1
- package/dist/{chunk-0qzxbxgp.js → chunk-c7jg8w13.js} +1 -1
- package/dist/{chunk-f9j3mr9z.js → chunk-ca6qd1dx.js} +1 -1
- package/dist/{chunk-f6s1jx8c.js → chunk-cdbwprfv.js} +2 -2
- package/dist/{chunk-3rgj1qn6.js → chunk-ceg2c2q2.js} +2 -2
- package/dist/{chunk-31w1xfs1.js → chunk-cn409b69.js} +1 -1
- package/dist/{chunk-c23697dp.js → chunk-cp3kwv17.js} +1 -1
- package/dist/{chunk-1k3k1tf8.js → chunk-cpcc11vp.js} +2 -2
- package/dist/{chunk-ftzqtv1k.js → chunk-cr3wbrcr.js} +2 -2
- package/dist/{chunk-my0qmjw4.js → chunk-cygfdk1n.js} +2 -2
- package/dist/{chunk-1bknva4p.js → chunk-cyp4m0vh.js} +1 -1
- package/dist/{chunk-jm460jxs.js → chunk-cz25azze.js} +1 -1
- package/dist/{chunk-9d0q9k3p.js → chunk-d77yxcds.js} +2 -2
- package/dist/{chunk-cf86cs0k.js → chunk-dvfs1h3c.js} +2 -2
- package/dist/{chunk-1bzckhs2.js → chunk-dyjnn5k8.js} +2 -2
- package/dist/{chunk-sd2c11bp.js → chunk-dzw95th7.js} +2 -2
- package/dist/{chunk-88wdr7f3.js → chunk-e0zytzdh.js} +1 -1
- package/dist/{chunk-tgvekhwz.js → chunk-e53h9qhd.js} +1 -1
- package/dist/{chunk-593x2ccf.js → chunk-eds0f8f1.js} +2 -2
- package/dist/{chunk-5y4q9abj.js → chunk-eh8hact1.js} +1 -1
- package/dist/{chunk-4ewrwqwn.js → chunk-epj957jf.js} +1 -1
- package/dist/{chunk-fcpxs8mm.js → chunk-eqeyaq6g.js} +1 -1
- package/dist/{chunk-n7j8tczc.js → chunk-fbxt2mrx.js} +2 -2
- package/dist/{chunk-b0w1cm1s.js → chunk-fch9tk1k.js} +1 -1
- package/dist/{chunk-8g0jb444.js → chunk-fe7r1mq1.js} +2 -2
- package/dist/{chunk-y92w0240.js → chunk-fhawx87n.js} +1 -1
- package/dist/{chunk-dgf2g708.js → chunk-fk51yyrw.js} +1 -1
- package/dist/{chunk-5tv1swsr.js → chunk-fms20x0n.js} +1 -1
- package/dist/{chunk-13mkbvxc.js → chunk-fs0qezn5.js} +1 -1
- package/dist/{chunk-acry1mfc.js → chunk-fzm3y0r3.js} +1 -1
- package/dist/{chunk-2rd0ykrg.js → chunk-g2hekckm.js} +1 -1
- package/dist/{chunk-zxsqbve0.js → chunk-g4ps1dj8.js} +2 -2
- package/dist/{chunk-qr72av66.js → chunk-g8b81pzc.js} +1 -1
- package/dist/{chunk-rth1890k.js → chunk-ganag9dm.js} +2 -2
- package/dist/{chunk-v9199ywv.js → chunk-gc84b1d2.js} +2 -2
- package/dist/{chunk-6jhqq7es.js → chunk-gcf5v18y.js} +1 -1
- package/dist/{chunk-a50svyjn.js → chunk-ghrx0hn1.js} +1 -1
- package/dist/{chunk-nh418dpm.js → chunk-gqpkp459.js} +2 -2
- package/dist/chunk-h45py5w5.js +2 -0
- package/dist/{chunk-at9v5saf.js → chunk-h5wa62ek.js} +1 -1
- package/dist/{chunk-ecabspxs.js → chunk-h82kjdr4.js} +1 -1
- package/dist/{chunk-aaaxvn5r.js → chunk-haecq01c.js} +1 -1
- package/dist/{chunk-zx43nkm1.js → chunk-hepg894w.js} +2 -2
- package/dist/{chunk-rhyxeb33.js → chunk-hjdc99kb.js} +2 -2
- package/dist/{chunk-04yrgvdd.js → chunk-hje9v2zh.js} +1 -1
- package/dist/{chunk-zxxt0c9q.js → chunk-hke99a0v.js} +2 -2
- package/dist/{chunk-r6sb1sm4.js → chunk-hpqr9e3x.js} +2 -2
- package/dist/{chunk-pcngkyjr.js → chunk-hq5cem49.js} +2 -2
- package/dist/{chunk-yssvz8zs.js → chunk-hrampcrj.js} +1 -1
- package/dist/{chunk-pjaa8q7x.js → chunk-ht4j68cs.js} +2 -2
- package/dist/{chunk-22xxm2x5.js → chunk-hxx3za24.js} +1 -1
- package/dist/{chunk-ms6793rw.js → chunk-j4s5qwd7.js} +2 -2
- package/dist/{chunk-ydhza16t.js → chunk-jbejwejg.js} +1 -1
- package/dist/{chunk-vwp4dw7e.js → chunk-jc0fc4ht.js} +1 -1
- package/dist/{chunk-kemb0fyc.js → chunk-jcs0ymw7.js} +1 -1
- package/dist/{chunk-tj9kmtnx.js → chunk-jfm69keq.js} +2 -2
- package/dist/chunk-jfrn43vh.js +2 -0
- package/dist/{chunk-fnt3srfr.js → chunk-jjamhxpm.js} +1 -1
- package/dist/{chunk-gcsqn7x9.js → chunk-jjvp4t5w.js} +2 -2
- package/dist/{chunk-e8x46y38.js → chunk-jt44av4j.js} +1 -1
- package/dist/{chunk-n3k3e9n5.js → chunk-jt98jhpt.js} +1 -1
- package/dist/{chunk-r738cjs3.js → chunk-k8440jxh.js} +2 -2
- package/dist/{chunk-v0s45ek4.js → chunk-kdxa9epn.js} +2 -2
- package/dist/{chunk-hrgg37a9.js → chunk-kfd2hf6f.js} +2 -2
- package/dist/{chunk-jdy93c39.js → chunk-kgym7ch9.js} +1 -1
- package/dist/{chunk-ybe2cpx1.js → chunk-kh6rfz2v.js} +1 -1
- package/dist/{chunk-j1myedcr.js → chunk-kkp6rs2n.js} +1 -1
- package/dist/{chunk-hz7qnpx1.js → chunk-m59y310j.js} +2 -2
- package/dist/{chunk-kh976zgv.js → chunk-mgmyr1b9.js} +1 -1
- package/dist/{chunk-dkt9p3bk.js → chunk-mqwbpamc.js} +1 -1
- package/dist/{chunk-xmjedbkt.js → chunk-mrehzhxv.js} +1 -1
- package/dist/{chunk-snj1hfpb.js → chunk-mv03qb75.js} +1 -1
- package/dist/chunk-mwbng54r.js +2 -0
- package/dist/{chunk-zvyc82ke.js → chunk-n46a5g1g.js} +1 -1
- package/dist/{chunk-vawc9ak6.js → chunk-n944baxp.js} +1 -1
- package/dist/{chunk-zwdargbj.js → chunk-nanw7yhz.js} +1 -1
- package/dist/{chunk-nwfa5766.js → chunk-nap11ntr.js} +2 -2
- package/dist/{chunk-r3cxnszy.js → chunk-ncnfa8ae.js} +2 -2
- package/dist/{chunk-xm3hz63f.js → chunk-ngxfwzq3.js} +1 -1
- package/dist/{chunk-fngb9apr.js → chunk-nvwb4x04.js} +1 -1
- package/dist/{chunk-ydhrdatx.js → chunk-nw34xajc.js} +1 -1
- package/dist/{chunk-3wth4wa6.js → chunk-payfb24w.js} +1 -1
- package/dist/{chunk-r1m8g439.js → chunk-pc31m5x5.js} +1 -1
- package/dist/{chunk-xecnz132.js → chunk-pg1fvqb9.js} +1 -1
- package/dist/{chunk-h6s1thg6.js → chunk-q60knhjf.js} +1 -1
- package/dist/{chunk-0t75nh4z.js → chunk-q6h6yvzb.js} +2 -2
- package/dist/{chunk-w719zps0.js → chunk-qd5461tt.js} +1 -1
- package/dist/{chunk-exfw0aqe.js → chunk-qdc3aav1.js} +1 -1
- package/dist/{chunk-g9gksn68.js → chunk-qfwzdffx.js} +2 -2
- package/dist/{chunk-wtgrc6ya.js → chunk-qgxwmagw.js} +1 -1
- package/dist/{chunk-vy0k2prz.js → chunk-qhdtssn1.js} +2 -2
- package/dist/{chunk-tzehzwyr.js → chunk-qk584whs.js} +1 -1
- package/dist/{chunk-wk7mgg5n.js → chunk-qm4yppj5.js} +2 -2
- package/dist/chunk-qwyd9a1d.js +2 -0
- package/dist/{chunk-kyhq6hzp.js → chunk-qxs6et76.js} +1 -1
- package/dist/{chunk-h1035wzj.js → chunk-rb1e4cnb.js} +1 -1
- package/dist/{chunk-kpp2baaz.js → chunk-rkffm9sy.js} +1 -1
- package/dist/{chunk-xgmza98t.js → chunk-rv002yn0.js} +1 -1
- package/dist/{chunk-64bwamng.js → chunk-s6ja2bdg.js} +1 -1
- package/dist/chunk-sjagg9qz.js +66 -0
- package/dist/{chunk-jtx73fsh.js → chunk-sn07azv3.js} +2 -2
- package/dist/{chunk-rqwhb85x.js → chunk-svahbw0w.js} +2 -2
- package/dist/{chunk-1qy4gac6.js → chunk-svhtdb0s.js} +2 -2
- package/dist/{chunk-rkr7cgs8.js → chunk-t37dp99j.js} +1 -1
- package/dist/{chunk-fk0m346m.js → chunk-tj6zfxeb.js} +2 -2
- package/dist/{chunk-1yg3x73j.js → chunk-tmgz5t2g.js} +1 -1
- package/dist/{chunk-r7d26vjj.js → chunk-tr0z0e1g.js} +1 -1
- package/dist/{chunk-zv9jfm2f.js → chunk-tx6br9r4.js} +1 -1
- package/dist/{chunk-zwpm1pa8.js → chunk-vcr5pzpx.js} +1 -1
- package/dist/{chunk-nqxqy9v2.js → chunk-vdfwv0fp.js} +1 -1
- package/dist/{chunk-hkabmxjj.js → chunk-vp2395eb.js} +2 -2
- package/dist/{chunk-fbbv5x9m.js → chunk-vpe6napb.js} +2 -2
- package/dist/{chunk-1w3354fv.js → chunk-vv9wfz1c.js} +2 -2
- package/dist/{chunk-71n355cg.js → chunk-vw6ejgmy.js} +2 -2
- package/dist/{chunk-tzd81m7r.js → chunk-w01y57f5.js} +2 -2
- package/dist/{chunk-6wqrqn2x.js → chunk-w21mwxdd.js} +2 -2
- package/dist/{chunk-qhrcts5t.js → chunk-w4n8fqp7.js} +1 -1
- package/dist/{chunk-x4qr3b2z.js → chunk-w959hm8j.js} +1 -1
- package/dist/{chunk-bgan5edn.js → chunk-wf7zrjsw.js} +1 -1
- package/dist/{chunk-ktvdeqjr.js → chunk-wk07pwtd.js} +1 -1
- package/dist/{chunk-mp9dsjrg.js → chunk-wvef3ngh.js} +1 -1
- package/dist/{chunk-xw9skf0n.js → chunk-wxvyj65q.js} +1 -1
- package/dist/{chunk-ktpc2rc4.js → chunk-x1hjv24z.js} +1 -1
- package/dist/{chunk-6sx4d083.js → chunk-x39sfpvm.js} +1 -1
- package/dist/{chunk-am5rtv86.js → chunk-x4fze3q2.js} +1 -1
- package/dist/{chunk-08ncwhv7.js → chunk-x64kb787.js} +1 -1
- package/dist/{chunk-p993psbk.js → chunk-xcb0pbr6.js} +1 -1
- package/dist/{chunk-9v7q6xn4.js → chunk-xhkjhxsp.js} +1 -1
- package/dist/{chunk-fp417rws.js → chunk-xhnpsngj.js} +2 -2
- package/dist/{chunk-6t76k6ry.js → chunk-xsqbk4yk.js} +2 -2
- package/dist/{chunk-wntaqqhz.js → chunk-xygc53vr.js} +1 -1
- package/dist/{chunk-vg97xcma.js → chunk-y0qg6rrv.js} +1 -1
- package/dist/{chunk-tavtph8x.js → chunk-y25pr13j.js} +1 -1
- package/dist/{chunk-fyq5573f.js → chunk-y4c744dk.js} +2 -2
- package/dist/{chunk-b5xf2v7f.js → chunk-y4md9hp0.js} +1 -1
- package/dist/{chunk-sn7pmfn4.js → chunk-y5wazw6j.js} +1 -1
- package/dist/{chunk-zasq08k3.js → chunk-y5xz0jc4.js} +1 -1
- package/dist/{chunk-7bd8bw2z.js → chunk-y86m1wr4.js} +2 -2
- package/dist/{chunk-ewytyv0p.js → chunk-yaan98dd.js} +2 -2
- package/dist/{chunk-dnkq5y2j.js → chunk-yach037f.js} +2 -2
- package/dist/{chunk-3ewtm19c.js → chunk-yexjrg9d.js} +2 -2
- package/dist/{chunk-c03qara0.js → chunk-ygvyc6wv.js} +1 -1
- package/dist/{chunk-0fsrhs3d.js → chunk-yj560gp8.js} +1 -1
- package/dist/{chunk-pdv5dhen.js → chunk-yn38c15w.js} +1 -1
- package/dist/{chunk-a4zj7qpt.js → chunk-yr1gdceh.js} +1 -1
- package/dist/{chunk-t7ghqd7e.js → chunk-yw2fzq86.js} +2 -2
- package/dist/{chunk-e792k31a.js → chunk-ywkrxp2h.js} +1 -1
- package/dist/{chunk-sgsb5xp4.js → chunk-z37xq5rx.js} +2 -2
- package/dist/{chunk-2g16stee.js → chunk-z4djtgt0.js} +2 -2
- package/dist/{chunk-zmsj7wh8.js → chunk-z8cjr9n9.js} +1 -1
- package/dist/{chunk-j6d9ksyj.js → chunk-znxp3zha.js} +1 -1
- package/dist/{chunk-dcp0znhd.js → chunk-zt2yag10.js} +1 -1
- package/dist/cli.js +10882 -10882
- package/dist/client/directive.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-helpers.js +1 -1
- package/dist/client-script-bundler.js +1 -1
- package/dist/client-script.js +1 -1
- package/dist/client.js +0 -86
- package/dist/component-hmr.js +1 -1
- package/dist/component-processing.js +1 -1
- package/dist/component-registry.js +1 -1
- package/dist/component-renderer.js +1 -1
- package/dist/components.js +1 -1
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-battery.js +1 -1
- package/dist/composables/use-broadcast-channel.js +1 -1
- package/dist/composables/use-channel.js +1 -1
- package/dist/composables/use-clipboard.js +1 -1
- package/dist/composables/use-color-mode.js +1 -1
- package/dist/composables/use-cookie.js +1 -1
- package/dist/composables/use-device-orientation.js +1 -1
- package/dist/composables/use-event-listener.js +1 -1
- package/dist/composables/use-event-source.js +1 -1
- package/dist/composables/use-eye-dropper.js +1 -1
- package/dist/composables/use-fetch.js +1 -1
- package/dist/composables/use-fullscreen.js +1 -1
- package/dist/composables/use-geolocation.js +1 -1
- package/dist/composables/use-idle.js +1 -1
- package/dist/composables/use-intersection-observer.js +1 -1
- package/dist/composables/use-keyboard.js +1 -1
- package/dist/composables/use-media-query.js +1 -1
- package/dist/composables/use-meta.js +1 -1
- package/dist/composables/use-mouse.js +1 -1
- package/dist/composables/use-mutation-observer.js +1 -1
- package/dist/composables/use-network.js +1 -1
- package/dist/composables/use-notification.js +1 -1
- package/dist/composables/use-permissions.js +1 -1
- package/dist/composables/use-resize-observer.js +1 -1
- package/dist/composables/use-router.js +1 -1
- package/dist/composables/use-share.js +1 -1
- package/dist/composables/use-speech.js +1 -1
- package/dist/composables/use-storage.js +1 -1
- package/dist/composables/use-text-selection.js +3 -1
- package/dist/composables/use-timer.js +1 -1
- package/dist/composables/use-utilities.js +1 -1
- package/dist/composables/use-wake-lock.js +1 -1
- package/dist/composables/use-websocket.js +1 -1
- package/dist/composables/use-window.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/composition-api.js +1 -1
- package/dist/computed.js +1 -1
- package/dist/conditionals.js +1 -1
- package/dist/config.js +1 -1
- package/dist/craft-bridge.js +1 -1
- package/dist/craft-compiler.js +1 -1
- package/dist/craft-components.js +1 -1
- package/dist/craft-entry.js +1 -1
- package/dist/craft-ssr.js +1 -1
- package/dist/csp.js +1 -1
- package/dist/csrf.js +1 -1
- package/dist/custom-directives.js +1 -1
- package/dist/defer.js +1 -1
- package/dist/deploy/config-generators.js +1 -1
- package/dist/deploy/index.js +1 -1
- package/dist/deploy/netlify.js +1 -1
- package/dist/dev-server/crosswind.js +1 -1
- package/dist/dev-server/index.js +1 -1
- package/dist/dev-server/keyboard-shortcuts.js +1 -1
- package/dist/dev-server/native-window.js +1 -1
- package/dist/dev-server/port-utils.js +1 -1
- package/dist/dev-server/serve-app.js +6 -1
- package/dist/dev-server/serve-file.js +6 -1
- package/dist/dev-server/serve-markdown.js +1 -1
- package/dist/dev-server/serve-multi.js +171 -1
- package/dist/dev-server/terminal-colors.js +1 -1
- package/dist/dev-server/theme-selector.js +1 -1
- package/dist/dev-server/types.js +1 -1
- package/dist/dev-server.js +1 -1
- package/dist/devtools.js +1 -1
- package/dist/directive-api.js +1 -1
- package/dist/docs.js +1 -1
- package/dist/doctor.js +1 -1
- package/dist/document-shell.js +1 -1
- package/dist/dynamic-components.js +1 -1
- package/dist/edge-runtime.js +1 -1
- package/dist/env.js +1 -1
- package/dist/error-boundaries.js +1 -1
- package/dist/error-handling.js +1 -1
- package/dist/errors/codes.js +1 -1
- package/dist/errors/formatter.js +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/errors/logger.js +1 -1
- package/dist/errors/sanitizer.js +1 -1
- package/dist/errors/types.js +1 -1
- package/dist/events.js +1 -1
- package/dist/expressions.js +1 -1
- package/dist/formatter.js +1 -1
- package/dist/forms-validation.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/head.js +1 -1
- package/dist/heatmap.js +1 -1
- package/dist/hot-reload.js +1 -1
- package/dist/html-masking.js +1 -1
- package/dist/hydration-runtime.js +1 -1
- package/dist/hydration.js +1 -1
- package/dist/i18n.js +1 -1
- package/dist/image-optimization/auto-sibling.js +1 -1
- package/dist/image-optimization/build-plugin.js +1 -1
- package/dist/image-optimization/component.js +1 -1
- package/dist/image-optimization/directive.js +1 -1
- package/dist/image-optimization/index.js +1 -1
- package/dist/image-optimization/processor.js +1 -1
- package/dist/image-optimization/serve.js +1 -1
- package/dist/includes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/init.js +1 -1
- package/dist/inline-assets.js +1 -1
- package/dist/interactive.js +1 -1
- package/dist/internal-markdown.js +1 -1
- package/dist/island-chunking.js +1 -1
- package/dist/js-ts.js +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/keep-alive.js +1 -1
- package/dist/lazy-loader.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/loops.js +1 -1
- package/dist/manifest.js +1 -1
- package/dist/markdown.js +1 -1
- package/dist/media/client/blur-up.js +1 -1
- package/dist/media/client/index.js +1 -1
- package/dist/media/client/lazy-load.js +1 -1
- package/dist/media/client/upload-handler.js +1 -1
- package/dist/media/image/component.js +1 -1
- package/dist/media/image/directive.js +1 -1
- package/dist/media/image/editing.js +1 -1
- package/dist/media/image/index.js +1 -1
- package/dist/media/image/placeholder.js +1 -1
- package/dist/media/image/processor/cache.js +1 -1
- package/dist/media/image/processor/index.js +1 -1
- package/dist/media/image/processor/optimizer.js +1 -1
- package/dist/media/image/processor/responsive.js +1 -1
- package/dist/media/image/srcset.js +1 -1
- package/dist/media/index.js +1 -1
- package/dist/media/manager/embed.js +1 -1
- package/dist/media/protected/component.js +1 -1
- package/dist/media/protected/index.js +1 -1
- package/dist/media/protected/signature.js +1 -1
- package/dist/media/shared/cache.js +1 -1
- package/dist/media/shared/hash.js +1 -1
- package/dist/media/shared/index.js +1 -1
- package/dist/media/upload/component.js +1 -1
- package/dist/media/upload/index.js +1 -1
- package/dist/media/video/directive.js +1 -1
- package/dist/media/video/index.js +1 -1
- package/dist/media/video/processor/cache.js +1 -1
- package/dist/media/video/processor/index.js +1 -1
- package/dist/media/video/processor/streaming.js +1 -1
- package/dist/media/video/processor/thumbnail.js +1 -1
- package/dist/media/video/processor/transcoder.js +1 -1
- package/dist/method-spoofing.js +1 -1
- package/dist/middleware.js +1 -1
- package/dist/misc-directives.js +1 -1
- package/dist/native-build.js +1 -1
- package/dist/parser/directive-parser.js +1 -1
- package/dist/parser/expression-parser.js +1 -1
- package/dist/parser/index.js +1 -1
- package/dist/parser/tokenizer.js +1 -1
- package/dist/partial-hydration.js +1 -1
- package/dist/performance-utils.js +1 -1
- package/dist/placeholder.js +1 -1
- package/dist/plugin-system.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/precompiler.js +1 -1
- package/dist/process.js +1 -1
- package/dist/production-build.js +1 -1
- package/dist/production-builder.js +1 -1
- package/dist/production-server.js +1 -1
- package/dist/props.js +1 -1
- package/dist/public-env.js +1 -1
- package/dist/pwa/audit.js +1 -1
- package/dist/pwa/directives.js +1 -1
- package/dist/pwa/icons.js +1 -1
- package/dist/pwa/index.js +1 -1
- package/dist/pwa/inject.js +1 -1
- package/dist/pwa/manifest.js +1 -1
- package/dist/pwa/offline.js +1 -1
- package/dist/pwa/precache.js +1 -1
- package/dist/pwa/service-worker.js +1 -1
- package/dist/pwa/workbox-strategies.js +1 -1
- package/dist/pwa/workbox.js +1 -1
- package/dist/pwa.js +426 -426
- package/dist/reactive-bindings.js +1 -1
- package/dist/reactive.js +1 -1
- package/dist/reactivity.js +1 -1
- package/dist/release.js +1 -1
- package/dist/render.js +1 -1
- package/dist/route-middleware.js +1 -1
- package/dist/router.js +1 -1
- package/dist/routes.js +1 -1
- package/dist/runtime-injection.js +1 -1
- package/dist/runtime.js +1 -1
- package/dist/safe-evaluator.js +1 -1
- package/dist/scaffolding.js +1 -1
- package/dist/screenshot.js +1 -1
- package/dist/script-classifier.js +1 -1
- package/dist/script-validation.js +1 -1
- package/dist/seo.js +1 -1
- package/dist/serve.js +1 -1
- package/dist/server-bindings.js +1 -1
- package/dist/server-components.js +1 -1
- package/dist/signal-processing.js +1 -1
- package/dist/signals-api.js +1 -1
- package/dist/signals.js +1 -1
- package/dist/site-builder/build.js +1 -1
- package/dist/site-builder/i18n.js +1 -1
- package/dist/site-builder/index.js +1 -1
- package/dist/site-builder/robots.js +1 -1
- package/dist/site-builder/router.js +1 -1
- package/dist/site-builder/seo.js +1 -1
- package/dist/site-builder/sitemap.js +1 -1
- package/dist/site-builder/theme.js +1 -1
- package/dist/slots.js +1 -1
- package/dist/source-maps.js +1 -1
- package/dist/spa-shell.js +1 -1
- package/dist/ssg.js +388 -388
- package/dist/ssr.js +1 -1
- package/dist/state-management.js +1 -1
- package/dist/store-imports.js +1 -1
- package/dist/store-loader.js +1 -1
- package/dist/stores-client.js +1 -1
- package/dist/story/addons.js +1 -1
- package/dist/story/analytics.js +1 -1
- package/dist/story/auto-stories.js +1 -1
- package/dist/story/bookmarks.js +1 -1
- package/dist/story/bun-test.js +1 -1
- package/dist/story/cli.js +1 -1
- package/dist/story/collect/analyzer.js +1 -1
- package/dist/story/collect/index.js +1 -1
- package/dist/story/collect/parser.js +1 -1
- package/dist/story/collect/scanner.js +1 -1
- package/dist/story/collect/tree.js +1 -1
- package/dist/story/commands/build.js +1 -1
- package/dist/story/commands/dev.js +1 -1
- package/dist/story/commands/index.js +1 -1
- package/dist/story/commands/preview.js +1 -1
- package/dist/story/compiled-output.js +1 -1
- package/dist/story/composition.js +1 -1
- package/dist/story/config-watcher.js +1 -1
- package/dist/story/config.js +1 -1
- package/dist/story/context.js +1 -1
- package/dist/story/controls/index.js +1 -1
- package/dist/story/crosswind.js +1 -1
- package/dist/story/desktop-preview.js +1 -1
- package/dist/story/docs-generator.js +1 -1
- package/dist/story/errors.js +1 -1
- package/dist/story/figma-export.js +1 -1
- package/dist/story/generator.js +1 -1
- package/dist/story/hmr.js +1 -1
- package/dist/story/hot-swap.js +1 -1
- package/dist/story/index.js +1 -1
- package/dist/story/interactions.js +1 -1
- package/dist/story/keyboard-shortcuts.js +1 -1
- package/dist/story/output.js +1 -1
- package/dist/story/performance.js +1 -1
- package/dist/story/presets.js +1 -1
- package/dist/story/props-validation.js +1 -1
- package/dist/story/renderer.js +1 -1
- package/dist/story/search-index.js +1 -1
- package/dist/story/search.js +1 -1
- package/dist/story/server.js +1 -1
- package/dist/story/setup.js +1 -1
- package/dist/story/snapshots.js +1 -1
- package/dist/story/testing.js +1 -1
- package/dist/story/theme.js +1 -1
- package/dist/story/ui/code-panel.js +1 -1
- package/dist/story/ui/controls-panel.js +1 -1
- package/dist/story/ui/index.js +1 -1
- package/dist/story/ui/navigation.js +1 -1
- package/dist/story/ui/preview.js +1 -1
- package/dist/story/visual-testing.js +1 -1
- package/dist/streaming.js +1 -1
- package/dist/strict-lint.js +1 -1
- package/dist/style-scoping.js +1 -1
- package/dist/suspense.js +1 -1
- package/dist/teleport.js +1 -1
- package/dist/template-compiler.js +1 -1
- package/dist/template-hydrator.js +1 -1
- package/dist/template-tag-balance.js +1 -1
- package/dist/testing.js +1 -1
- package/dist/transitions.js +1 -1
- package/dist/type-checker.js +1 -1
- package/dist/types/directive-types.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types.js +1 -1
- package/dist/typescript-templates.js +1 -1
- package/dist/utils.js +1 -1
- package/dist/validator.js +1 -1
- package/dist/variable-extractor.js +1 -1
- package/dist/view-composers.js +1 -1
- package/dist/virtual-scrolling.js +1 -1
- package/dist/visual-editor.js +1 -1
- package/dist/vue-template.js +1 -1
- package/dist/web-components/css-scoping.js +1 -1
- package/dist/web-components/index.js +1 -1
- package/dist/web-components/reactive-generator.js +418 -1
- package/dist/web-components.js +1 -1
- package/dist/x-element.js +1 -1
- package/package.json +8 -7
- package/dist/chunk-0fmsckh1.js +0 -420
- package/dist/chunk-2t4gywvz.js +0 -3
- package/dist/chunk-2yw4e0h0.js +0 -3
- package/dist/chunk-32ka7sdc.js +0 -1
- package/dist/chunk-36jjen8k.js +0 -3
- package/dist/chunk-37q6x951.js +0 -3
- package/dist/chunk-3c7q2vbq.js +0 -3
- package/dist/chunk-3tk0sr6m.js +0 -3
- package/dist/chunk-5kjk30re.js +0 -3
- package/dist/chunk-6x5p7rhz.js +0 -3
- package/dist/chunk-73x9a59t.js +0 -3
- package/dist/chunk-9a7ce9v1.js +0 -3
- package/dist/chunk-9njgv29x.js +0 -3
- package/dist/chunk-9zkb2dsx.js +0 -3
- package/dist/chunk-bs7qttx8.js +0 -3
- package/dist/chunk-bxp8ps0f.js +0 -5
- package/dist/chunk-cnchhkk2.js +0 -3
- package/dist/chunk-cwjdwzn3.js +0 -3
- package/dist/chunk-d3at6tp3.js +0 -1
- package/dist/chunk-egn85zmj.js +0 -3
- package/dist/chunk-fcrwjh47.js +0 -3
- package/dist/chunk-ftq6q3nx.js +0 -3
- package/dist/chunk-fxfmwbny.js +0 -3
- package/dist/chunk-gfsk93gv.js +0 -246
- package/dist/chunk-h4k5wnbf.js +0 -3
- package/dist/chunk-kde1c2d4.js +0 -3
- package/dist/chunk-mf35r5h2.js +0 -3
- package/dist/chunk-mz4petzg.js +0 -3
- package/dist/chunk-qpg9jdqb.js +0 -3
- package/dist/chunk-r5rx348z.js +0 -3
- package/dist/chunk-rs2ejj8f.js +0 -3
- package/dist/chunk-s7fg0jy2.js +0 -3
- package/dist/chunk-s9hpp0gd.js +0 -3
- package/dist/chunk-sajzecge.js +0 -3
- package/dist/chunk-sfp05afy.js +0 -3
- package/dist/chunk-srq3dkj8.js +0 -3
- package/dist/chunk-sydw4nm4.js +0 -3
- package/dist/chunk-t6z4b0x6.js +0 -3
- package/dist/chunk-wh2szb9t.js +0 -3
- package/dist/chunk-xqq1vxb6.js +0 -1
- package/dist/chunk-xzjrrd36.js +0 -1
- package/dist/chunk-zx35qm5v.js +0 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
function K(B,E){let C=E.treeFile||{title:E.fileName,path:E.relativePath};if(B.tree.file==="title")return C.title.split("/");if(B.tree.file==="path")return[...E.relativePath.split("/").slice(0,-1),C.title];if(typeof B.tree.file==="function")return B.tree.file(C);return[C.title]}function Q(B,E){for(let z of E)z.treePath=K(B,z);let C=(B.tree.groups||[]).map((z)=>({groupConfig:{id:z.id||z.title,title:z.title,include:z.include},treeObject:{}})),q={treeObject:{}};C.push(q);for(let z=0;z<E.length;z++){let H=E[z],J=L(H,C,q);M(H.treePath,z,J.treeObject)}let A=B.tree.order==="asc"?(z,H)=>z.localeCompare(H):B.tree.order,D=[];for(let z of C)if(z===q)D.push(...I(z.treeObject,A));else if(z.groupConfig&&Object.keys(z.treeObject).length>0)D.push({group:!0,id:z.groupConfig.id,title:z.groupConfig.title,children:I(z.treeObject,A)});return D}function L(B,E,C){let q=B.treeFile||{title:B.fileName,path:B.relativePath};for(let A of E)if(A.groupConfig?.include&&A.groupConfig.include(q))return A;return C}function M(B,E,C){let q=C;for(let A=0;A<B.length;A++){let D=B[A];if(A===B.length-1)if(q[D]!==void 0){let H=1;while(q[`${D}-${H}`]!==void 0)H++;q[`${D}-${H}`]=E}else q[D]=E;else{if(q[D]===void 0)q[D]={};else if(typeof q[D]==="number"){let H=q[D];q[D]={"":H}}q=q[D]}}}function I(B,E){let C=[];for(let[q,A]of Object.entries(B))if(typeof A==="number")C.push({title:q,index:A});else C.push({title:q,children:I(A,E)});return C.sort((q,A)=>E(q.title,A.title)),C}function R(B){let E=[];function C(q){for(let A of q)if("index"in A)E.push(A.index);else if("children"in A)C(A.children)}return C(B),E}function S(B,E){function C(q,A){for(let D of q)if("index"in D&&D.index===E)return{path:[...A,D.title],node:D};else if("children"in D){let z=C(D.children,[...A,D.title]);if(z)return z}return null}return C(B,[])}
|
|
3
|
-
export{K as
|
|
3
|
+
export{K as id,Q as jd,R as kd,S as ld};
|
|
@@ -16,4 +16,4 @@ ${D.join(`
|
|
|
16
16
|
</html>`}function H(q){return/<!DOCTYPE\b/i.test(q)||/<html[\s>]/i.test(q)}function w(q,K={}){let F=q.lastIndexOf("</head>");if(F===-1)return q;let{meta:Z=[],link:_=[],script:$=[],headRaw:U=""}=K,N=q.slice(0,F),G=[];for(let z of Z){let J=z.name?`name="${z.name}"`:z.property?`property="${z.property}"`:z.charset!=null?"charset=":z["http-equiv"]?`http-equiv="${z["http-equiv"]}"`:"";if(J&&N.includes(J))continue;G.push(` <meta ${Object.entries(z).map(([O,E])=>`${O}="${E}"`).join(" ")}>`)}for(let z of _){if(z.href&&N.includes(`href="${z.href}"`))continue;G.push(` <link ${Object.entries(z).map(([J,O])=>`${J}="${O}"`).join(" ")}>`)}for(let z of $)if(z.src){if(N.includes(`src="${z.src}"`))continue;G.push(` <script ${Object.entries(z).filter(([J])=>J!=="content").map(([J,O])=>`${J}="${O}"`).join(" ")}></script>`)}else if(z.content){if(N.includes(z.content))continue;G.push(` <script>${z.content}</script>`)}if(U&&!N.includes(U))G.push(` ${U}`);if(G.length===0)return q;return`${q.slice(0,F)}${G.join(`
|
|
17
17
|
`)}
|
|
18
18
|
${q.slice(F)}`}function x(q,K={},F={}){if(H(q))return q;return A(q,K,F)}
|
|
19
|
-
export{S as
|
|
19
|
+
export{S as Dw,b as Ew,A as Fw,H as Gw,w as Hw,x as Iw};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{E as
|
|
2
|
+
import{bq as B,cq as C}from"./chunk-bgec9r1v.js";import{createHash as F}from"crypto";import{getRouterScript as I}from"stx-router";function E(j){return F("sha256").update(j).digest("hex").slice(0,8)}function M(j=!1){let q=j?C():B(),A=E(q);return{content:q,filename:`runtime.${A}.js`,hash:A}}function N(){let j=I(),q=E(j);return{content:j,filename:`router.${q}.js`,hash:q}}function O(j){return{runtimeTag:j.runtime?`<script src="/__stx/${j.runtime.filename}"></script>`:"",routerTag:j.router?`<script src="/__stx/${j.router.filename}"></script>`:"",cssTag:j.css?`<link rel="stylesheet" href="/__stx/${j.css.filename}">`:""}}
|
|
3
|
+
export{E as Zp,M as _p,N as $p,O as aq};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var X={enabled:!0,widths:[320,640,768,1024,1280,1536,1920],formats:["webp","jpeg"],quality:80,devOptimize:!1,cacheDir:".stx/image-cache",placeholder:"none",inputDirs:["public","src/assets","assets"],outputDir:"dist/images",baseUrl:"/images"};
|
|
3
|
-
export{X as
|
|
3
|
+
export{X as Yl};
|
|
@@ -4,4 +4,4 @@ var M=(j,q,v,x)=>`(function(){function read(){try{var k=${JSON.stringify(q)};var
|
|
|
4
4
|
${w}`)}if(!j.includes("__stxThemeGuard")&&/<head\b[^>]*>/i.test(j)){let w=`<script data-stx-theme-guard="1">${M(x,J,z,B)};window.__stxThemeGuard=1;</script>`;j=j.replace(/<head\b([^>]*)>/i,`<head$1>
|
|
5
5
|
${w}`)}if(!j.includes("__stxThemeToggle")&&/<\/body>/i.test(j)){let w=`<script data-stx-theme-toggle="1">${Q(J,z,B)};window.__stxThemeToggle=1;</script>`;j=j.replace(/<\/body>/i,`${w}
|
|
6
6
|
</body>`)}return j}
|
|
7
|
-
export{V as
|
|
7
|
+
export{V as Wg};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ci as S}from"./chunk-bjnjpsgn.js";import{Di as g}from"./chunk-2w3302dh.js";import{Yk as A,Zk as D}from"./chunk-cn409b69.js";import{$p as P,_p as C}from"./chunk-y4c744dk.js";import{Oq as f}from"./chunk-ncnfa8ae.js";import{Sr as R}from"./chunk-w01y57f5.js";import{Iw as b}from"./chunk-y25pr13j.js";import{Sw as y}from"./chunk-q6h6yvzb.js";import V from"fs";import H from"path";var d=new Set([".DS_Store","Thumbs.db","desktop.ini",".gitkeep",".gitignore"]);function n(J,K){let X=0,z=0;if(!V.existsSync(J))return{copied:X,bytes:z};function Q(E,O){let U=V.readdirSync(E,{withFileTypes:!0});for(let W of U){if(d.has(W.name))continue;let G=H.join(E,W.name),Y=H.join(O,W.name);if(W.isDirectory())V.mkdirSync(Y,{recursive:!0}),Q(G,Y);else if(W.isFile()){if(V.existsSync(Y))continue;V.copyFileSync(G,Y),X++,z+=V.statSync(Y).size}}}return Q(J,K),{copied:X,bytes:z}}async function zq(J={}){let K=Date.now(),X=H.resolve(J.root||process.cwd()),z=H.resolve(X,J.outputDir||".output");console.log("[stx build] Starting production build...");let Q={};try{Q=await R()}catch{}let E=J.componentsDir??Q.componentsDir??"components",O=J.partialsDir??Q.partialsDir??"partials",U=J.layoutsDir??Q.layoutsDir??"layouts",W=J.publicDir??Q.publicDir??"public",G=Q.app?.head||{},Y=Q.router?.container||"main";if(V.existsSync(z))V.rmSync(z,{recursive:!0});let h=[H.join(z,"public","__stx"),H.join(z,"public","assets"),H.join(z,"server","pages"),H.join(z,"server","fragments")];for(let F of h)V.mkdirSync(F,{recursive:!0});console.log("[stx build] Discovering routes...");let I=g(X),m=["components","layouts","partials"],k=I.filter((F)=>{return!m.some((q)=>F.pattern.startsWith(`/${q}/`)||F.pattern===`/${q}`)});console.log(`[stx build] Found ${k.length} page routes (${I.length-k.length} non-page files excluded)`),console.log("[stx build] Generating shared assets...");let $=C(J.debug),Z=P();await Bun.write(H.join(z,"public","__stx",$.filename),$.content),await Bun.write(H.join(z,"public","__stx",Z.filename),Z.content),console.log(`[stx build] Runtime: ${$.filename} (${($.content.length/1024).toFixed(1)}KB)`),console.log(`[stx build] Router: ${Z.filename} (${(Z.content.length/1024).toFixed(1)}KB)`),console.log("[stx build] Compiling templates...");let v=[],N=[];for(let F of k)try{let q=await S(F.filePath,F.pattern,{componentsDir:E,partialsDir:O,layoutsDir:U,debug:J.debug});if(v.push(q),q.html=q.html.replace(/runtime\.__STX_HASH__\.js/g,$.filename).replace(/router\.__STX_HASH__\.js/g,Z.filename),q.html=b(q.html,G,{bodyScripts:[`<script src="/__stx/${Z.filename}"></script>`]}),!/<body[^>]*\bdata-stx=/.test(q.html)){let B=q.html.match(/<(?!body\b)[a-zA-Z][a-zA-Z0-9-]*\b[^>]*?\s(data-stx="[^"]+")[^>]*>/);if(B&&B[1]){let x=B[1];q.html=q.html.replace(" "+x,""),q.html=q.html.replace(/<body([^>]*)>/,`<body$1 ${x}>`)}}q.html=q.html.replace(/<style data-crosswind="generated">[\s\S]*?<\/style>\s*/g,""),q.html=await y(q.html),q.fragment=f(q.html,Y);let w=F.pattern==="/"?"index":F.pattern.slice(1).replace(/\//g,"-").replace(/[[\]]/g,"_"),M=H.join("server","pages",`${w}.compiled.json`),j=H.join("server","fragments",`${w}.html`);await Bun.write(H.join(z,M),JSON.stringify(q,null,2)),await Bun.write(H.join(z,j),q.fragment),N.push({pattern:F.pattern,compiledPath:M,fragmentPath:j,isDynamic:q.hasServerScripts,hasParams:F.pattern.includes(":")||F.pattern.includes("[")}),console.log(`[stx build] \u2713 ${F.pattern}`)}catch(q){console.error(`[stx build] \u2717 ${F.pattern}:`,q instanceof Error?q.message:q)}let _=H.resolve(X,W);if(V.existsSync(_)){let{copied:F,bytes:q}=n(_,H.join(z,"public"));if(F>0)console.log(`[stx build] Copied ${F} public asset${F===1?"":"s"} (${(q/1024).toFixed(1)}KB) from ${W}/`)}let L={runtime:$.filename,router:Z.filename},l=A(N,L,z);D(l,z);let T=Date.now()-K;return console.log(`
|
|
3
3
|
[stx build] Done in ${T}ms \u2014 ${v.length} pages compiled`),{pageCount:v.length,assets:L,outputDir:z,duration:T}}
|
|
4
|
-
export{zq as
|
|
4
|
+
export{zq as Bi};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{k as
|
|
2
|
+
import{tb as G}from"./chunk-91s2hres.js";import{zb as F}from"./chunk-dvfs1h3c.js";import{Jb as E}from"./chunk-3yg9hbmb.js";import{rB as J}from"./chunk-3jm3snz8.js";var k={story:{description:"Component showcase and testing",options:{port:{alias:"p",type:"number",description:"Server port (default: 6006)"},open:{alias:"o",type:"boolean",description:"Open browser automatically"},host:{type:"string",description:"Host to bind to"}},action:async(j)=>{await E(j)}},"story:dev":{description:"Start story development server",options:{port:{alias:"p",type:"number",description:"Server port (default: 6006)"},open:{alias:"o",type:"boolean",description:"Open browser automatically"},host:{type:"string",description:"Host to bind to"}},action:async(j)=>{await E(j)}},"story:build":{description:"Build static story site",options:{outDir:{alias:"o",type:"string",description:"Output directory"}},action:async(j)=>{await F(j)}},"story:preview":{description:"Preview built story site",options:{port:{alias:"p",type:"number",description:"Server port (default: 4173)"},open:{alias:"o",type:"boolean",description:"Open browser automatically"}},action:async(j)=>{await G(j)}},"story:test":{description:"Run visual regression tests",options:{update:{alias:"u",type:"boolean",description:"Update snapshots"},filter:{alias:"f",type:"string",description:"Filter components by name"}},action:async(j)=>{let{createContext:B}=await import("./story/context.js"),{runVisualTests:q,updateSnapshots:A,formatTestResults:z}=await import("./story/testing.js"),H=await B({mode:"build"});if(j.update){let D=await A(H,{filter:j.filter?[j.filter]:void 0});console.log(`Updated ${D} snapshots`)}else{let D=await q(H,{filter:j.filter?[j.filter]:void 0});if(console.log(z(D)),D.failed>0)process.exit(1)}}}};function O(j){j.command("story",k.story.description).option("-p, --port <port>",k.story.options.port.description).option("-o, --open",k.story.options.open.description).option("--host <host>",k.story.options.host.description).action(k.story.action),j.command("story dev",k["story:dev"].description).option("-p, --port <port>",k["story:dev"].options.port.description).option("-o, --open",k["story:dev"].options.open.description).option("--host <host>",k["story:dev"].options.host.description).action(k["story:dev"].action),j.command("story build",k["story:build"].description).option("-o, --outDir <dir>",k["story:build"].options.outDir.description).action(k["story:build"].action),j.command("story preview",k["story:preview"].description).option("-p, --port <port>",k["story:preview"].options.port.description).option("-o, --open",k["story:preview"].options.open.description).action(k["story:preview"].action),j.command("story test",k["story:test"].description).option("-u, --update",k["story:test"].options.update.description).option("-f, --filter <name>",k["story:test"].options.filter.description).action(k["story:test"].action)}async function Q(j=process.argv.slice(2)){let B=j[0]||"dev",q={};for(let A=1;A<j.length;A++){let z=j[A];if(z==="-p"||z==="--port")q.port=Number.parseInt(j[++A],10);else if(z==="-o"||z==="--open")q.open=!0;else if(z==="--host")q.host=j[++A];else if(z==="-u"||z==="--update")q.update=!0;else if(z==="-f"||z==="--filter")q.filter=j[++A];else if(z==="--outDir")q.outDir=j[++A]}switch(B){case"dev":case"":await E(q);break;case"build":await F(q);break;case"preview":await G(q);break;case"test":await k["story:test"].action(q);break;default:console.log("Unknown command:",B),console.log("Available commands: dev, build, preview, test"),process.exit(1)}}
|
|
3
|
+
export{k as qb,O as rb,Q as sb};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{rB as X}from"./chunk-3jm3snz8.js";function Z(k,q={}){let{includeVariants:z=!0,includeProps:A=!0,frameWidth:B=400,frameHeight:E=300,componentSpacing:K=40}=q,J={},L={},U=[],V=0;for(let Q of k){let R=j(),Y=_(Q,R,V,0,B,E,A);U.push(Y),J[R]={key:R,name:Q.name,description:Q.description||""},V+=B+K}return{name:"STX Components",lastModified:new Date().toISOString(),version:"1.0.0",document:{id:"0:0",name:"Document",type:"DOCUMENT",children:[{id:"0:1",name:"Components",type:"CANVAS",children:U}]},components:J,styles:L}}function _(k,q,z,A,B,E,K){let J=[];if(J.push({id:`${q}:title`,name:"Title",type:"TEXT",characters:k.name,style:{fontFamily:"Inter",fontWeight:600,fontSize:16},fills:[{type:"SOLID",color:{r:0,g:0,b:0,a:1}}]}),k.description)J.push({id:`${q}:desc`,name:"Description",type:"TEXT",characters:k.description,style:{fontFamily:"Inter",fontWeight:400,fontSize:12},fills:[{type:"SOLID",color:{r:0.4,g:0.4,b:0.4,a:1}}]});if(K&&k.props.length>0){let L=$(k.props,`${q}:props`);J.push(L)}return J.push({id:`${q}:preview`,name:"Preview",type:"RECTANGLE",absoluteBoundingBox:{x:0,y:0,width:B-32,height:150},fills:[{type:"SOLID",color:{r:0.95,g:0.95,b:0.95,a:1}}],strokes:[{type:"SOLID",color:{r:0.9,g:0.9,b:0.9,a:1}}],strokeWeight:1,cornerRadius:8}),{id:q,name:k.name,type:"COMPONENT",children:J,absoluteBoundingBox:{x:z,y:A,width:B,height:E},fills:[{type:"SOLID",color:{r:1,g:1,b:1,a:1}}],strokes:[{type:"SOLID",color:{r:0.9,g:0.9,b:0.9,a:1}}],strokeWeight:1,cornerRadius:12,paddingLeft:16,paddingRight:16,paddingTop:16,paddingBottom:16,itemSpacing:12,layoutMode:"VERTICAL",primaryAxisAlignItems:"MIN",counterAxisAlignItems:"MIN"}}function $(k,q){let z=[];z.push({id:`${q}:header`,name:"Props Header",type:"TEXT",characters:"Props",style:{fontFamily:"Inter",fontWeight:600,fontSize:12},fills:[{type:"SOLID",color:{r:0.4,g:0.4,b:0.4,a:1}}]});for(let A=0;A<k.length;A++){let B=k[A];z.push({id:`${q}:prop:${A}`,name:B.name,type:"TEXT",characters:`${B.name}: ${B.type}${B.required?" (required)":""}`,style:{fontFamily:"SF Mono",fontWeight:400,fontSize:11},fills:[{type:"SOLID",color:{r:0.2,g:0.2,b:0.2,a:1}}]})}return{id:q,name:"Props",type:"FRAME",children:z,fills:[{type:"SOLID",color:{r:0.98,g:0.98,b:0.98,a:1}}],cornerRadius:6,paddingLeft:12,paddingRight:12,paddingTop:8,paddingBottom:8,itemSpacing:4,layoutMode:"VERTICAL",primaryAxisAlignItems:"MIN",counterAxisAlignItems:"MIN"}}function j(){return`${Date.now()}:${Math.random().toString(36).slice(2,8)}`}async function D(k,q,z={}){let A=Z(k,z),B=JSON.stringify(A,null,2),E=await import("fs"),K=await import("path");await E.promises.mkdir(K.dirname(q),{recursive:!0}),await E.promises.writeFile(q,B)}function G(k){if(k.startsWith("#")){let z=k.slice(1),A=Number.parseInt(z.slice(0,2),16)/255,B=Number.parseInt(z.slice(2,4),16)/255,E=Number.parseInt(z.slice(4,6),16)/255,K=z.length===8?Number.parseInt(z.slice(6,8),16)/255:1;return{r:A,g:B,b:E,a:K}}let q=k.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/);if(q)return{r:Number.parseInt(q[1])/255,g:Number.parseInt(q[2])/255,b:Number.parseInt(q[3])/255,a:q[4]?Number.parseFloat(q[4]):1};return{r:0,g:0,b:0,a:1}}function H(k){let q=Math.round(k.r*255),z=Math.round(k.g*255),A=Math.round(k.b*255);if(k.a===1)return`#${q.toString(16).padStart(2,"0")}${z.toString(16).padStart(2,"0")}${A.toString(16).padStart(2,"0")}`;return`rgba(${q}, ${z}, ${A}, ${k.a})`}function N(k){return{name:k,id:`stx-story-${k.toLowerCase().replace(/\s+/g,"-")}`,api:"1.0.0",main:"code.js",ui:"ui.html",editorType:["figma"],capabilities:["inspect"],permissions:["currentuser"]}}function T(k){let q=k.map((z)=>z.name).join(", ");return`
|
|
3
3
|
// Figma Plugin Code to import STX components
|
|
4
4
|
// Run this in Figma's plugin console
|
|
5
5
|
|
|
@@ -29,4 +29,4 @@ async function importComponents() {
|
|
|
29
29
|
|
|
30
30
|
importComponents();
|
|
31
31
|
`}
|
|
32
|
-
export{Z as
|
|
32
|
+
export{Z as Ja,D as Ka,G as La,H as Ma,N as Na,T as Oa};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Wg as b}from"./chunk-y5wazw6j.js";import{Xg as f,Zg as u,_g as v,ah as d,bh as p}from"./chunk-b3prs7y0.js";import{ch as y}from"./chunk-jbejwejg.js";import{dh as S}from"./chunk-k8440jxh.js";import{eh as F}from"./chunk-yj560gp8.js";import{fh as P}from"./chunk-7dy588as.js";import{Sw as D}from"./chunk-q6h6yvzb.js";var{Glob:m}=globalThis.Bun;import{cpSync as h,existsSync as T,mkdirSync as j,readFileSync as g,readdirSync as s,rmSync as r,statSync as n,unlinkSync as a,writeFileSync as A}from"fs";import{dirname as i,join as H,relative as o}from"path";import w from"process";import e from"bun-plugin-stx";async function Aq(q){let N=Date.now(),V=q.pagesDir??"pages",K=q.outDir??"dist",Q=q.publicDir??"public";if(!q.noClean)r(K,{recursive:!0,force:!0});j(K,{recursive:!0});let B=new m(`${V}/**/*.stx`),Z=await Array.fromAsync(B.scan("."));if(Z.length===0)throw Error(`No .stx files found in ${V}/`);let _=await Bun.build({entrypoints:Z,outdir:K,plugins:[e()],naming:{entry:"[name].[ext]"}});if(!_.success)throw console.error(_.logs),Error("Build failed");qq(K);let $=z(K).filter((G)=>G.endsWith(".html")),X=f(q,w.cwd()),M=new Set($.map(I));for(let G of $){let E=H(K,G),x=g(E,"utf8"),J=I(G),O=X?X.locales:[q.seo?.locale?.split(/[_-]/)[0]??"en"];for(let W of O){let Y=x;if(Y=Kq(Y),X)Y=u(Y,X,W);if(Y=await D(Y,w.cwd()),Y=F(Y,q,q.pages?.[J],J),X)Y=Nq(Y,q,X,W,J),Y=Qq(Y,W,X.defaultLocale,M);if(Y=b(Y,q),Y=Vq(Y),X)Y=Y.replace(/<\/body>/i,`${p(X,W)}
|
|
3
3
|
</body>`);if(q.spa!==!1)Y=await S(Y,q.router);let C=X?l(J,W,X.defaultLocale):G,L=H(K,C);if(j(t(L),{recursive:!0}),A(L,Y),X&&W!==X.defaultLocale&&C!==G);}}if(T(Q))h(Q,K,{recursive:!0});let R=H(K,"404.html");if(!T(R)&&T(H(K,"index.html"))){let G=g(H(K,"index.html"),"utf8").replace(/<title>[^<]*<\/title>/i,`<title>404 \u2014 ${Xq(q.name)}</title>`);A(R,G)}if(q.sitemap!==!1){let G=[],E=$.filter((J)=>J!=="404.html").map(I),x=X?X.locales:[null];for(let J of E){let O=q.pages?.[J];for(let W of x){let Y=W&&X?v(J,W,X.defaultLocale):J;G.push({path:Y,page:O})}}A(H(K,"sitemap.xml"),P(q,G))}let U=y(q);if(U!==null)A(H(K,"robots.txt"),U);let c=$.map(I);return{outDir:K,pages:c,durationMs:Date.now()-N}}function t(q){return i(q)}function l(q,N,V){let K=v(q,N,V);if(K==="/")return"index.html";let Q=K.replace(/^\//,"").replace(/\/$/,"");if(!Q.includes("/")){if(N!==V&&Q===N)return`${N}/index.html`;return`${Q}.html`}return`${Q}.html`.replace(/\.html\.html$/,".html")}function I(q){if(q==="index.html")return"/";return`/${q.replace(/\.html$/,"").replace(/\/index$/,"")}`}function z(q,N=q){let V=[];if(!T(q))return V;for(let K of s(q,{withFileTypes:!0})){let Q=H(q,K.name);if(K.isDirectory())V.push(...z(Q,N));else V.push(o(N,Q))}return V}function qq(q){for(let N of z(q)){if(!/^chunk-.*\.js(?:\.map)?$/.test(N))continue;let V=H(q,N);try{if(n(V).size===0)a(V)}catch{}}}function Kq(q){return q.replace(/<script[^>]*src=["']\.\/chunk-[^"']*\.js["'][^>]*><\/script>\s*/g,"")}function Nq(q,N,V,K,Q){if(!V)return q;if(/<html\b[^>]*\blang=/i.test(q))q=q.replace(/<html\b([^>]*)\blang="[^"]*"/i,`<html$1lang="${K}"`);else q=q.replace(/<html\b([^>]*)>/i,`<html$1 lang="${K}">`);let B=`${N.url.replace(/\/$/,"")}${v(Q,K,V.defaultLocale)}`;if(/<link rel="canonical"/.test(q))q=q.replace(/<link rel="canonical"[^>]*>/,`<link rel="canonical" href="${k(B)}">`);let Z=K.includes("_")||K.includes("-")?K:K.toLowerCase();if(/<meta property="og:locale"/.test(q))q=q.replace(/<meta property="og:locale"[^>]*>/,`<meta property="og:locale" content="${k(Z)}">`);if(/<meta property="og:url"/.test(q))q=q.replace(/<meta property="og:url"[^>]*>/,`<meta property="og:url" content="${k(B)}">`);let _=d(N.url,Q,V);if(!q.includes("hreflang="))q=q.replace(/<link rel="canonical"[^>]*>/,($)=>`${_}
|
|
4
4
|
${$}`);return q}function k(q){return q.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function Qq(q,N,V,K){if(N===V)return q;return q.replace(/<a\b([^>]*?)\bhref="(\/[^"]*)"([^>]*)>/gi,(Q,B,Z,_)=>{if(Z.startsWith("//"))return Q;if(Z===`/${N}`||Z===`/${N}/`||Z.startsWith(`/${N}/`))return Q;let $=Z.match(/^(\/[^?#]*)(.*)$/);if(!$)return Q;let[,X,M]=$,R=X==="/"?"/":X.replace(/\/$/,"");if(!K.has(R))return Q;let U=R==="/"?`/${N}/`:`/${N}${R}`;return`<a${B}href="${U}${M}"${_}>`})}function Vq(q){if(/<main\b/i.test(q)||/\bdata-stx-content\b/i.test(q))return q;let N=q.match(/<body\b[^>]*>/i),V=q.search(/<\/body\s*>/i);if(!N||V<0)return q;let K=N.index+N[0].length,Q=q.slice(K,V),B=0,Z=[...Q.matchAll(/<\/nav>/gi)];if(Z.length>0){let U=Z[Z.length-1];B=U.index+U[0].length}let _=Q.length,$=Q.search(/<footer\b/i);if($!==-1)_=Math.min(_,$);let X=Q.search(/<script\b[^>]*data-stx-(?:theme-toggle|reparent-progress)\b/i);if(X!==-1)_=Math.min(_,X);if(_<=B)return q;let M=Q.slice(B,_);if(!M.trim())return q;let R=`${Q.slice(0,B)}
|
|
5
5
|
<main>${M}</main>
|
|
6
6
|
${Q.slice(_)}`;return`${q.slice(0,K)}${R}${q.slice(V)}`}function Xq(q){return q.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function Iq(q){return q}
|
|
7
|
-
export{Aq as
|
|
7
|
+
export{Aq as Ug,Iq as Vg};
|
|
@@ -87,4 +87,4 @@ else {
|
|
|
87
87
|
--primary: ${f.primaryColor};
|
|
88
88
|
}
|
|
89
89
|
`}
|
|
90
|
-
export{v as
|
|
90
|
+
export{v as W,f as X,z as Y,A as Z,B as _,F as $,H as aa,I as ba,J as ca,K as da,L as ea,N as fa,O as ga};
|
|
@@ -5,4 +5,4 @@ ${C.join(`
|
|
|
5
5
|
<!-- /SEO -->`,M=/<!--\s*stx SEO Tags\s*-->[\s\S]*?<meta\s+name="twitter:description"[^>]*>\s*/i;if(M.test(q))q=q.replace(M,"");if(q=q.replace(/<!--\s*SEO\s*-->[\s\S]*?<!--\s*\/SEO\s*-->\s*/g,""),q=q.replace(/<title>[\s\S]*?<\/title>\s*/i,""),q=q.replace(/<meta\s+name="title"\s+content="stx Project"[^>]*>\s*/g,"").replace(/<meta\s+name="description"\s+content="A website built with stx[^"]*"[^>]*>\s*/g,"").replace(/<meta\s+property="og:title"\s+content="stx Project"[^>]*>\s*/g,"").replace(/<meta\s+property="og:description"\s+content="A website built with stx[^"]*"[^>]*>\s*/g,"").replace(/<meta\s+property="og:type"\s+content="website"[^>]*>\s*/g,"").replace(/<meta\s+name="twitter:card"\s+content="summary_large_image"[^>]*>\s*/g,"").replace(/<meta\s+name="twitter:title"\s+content="stx Project"[^>]*>\s*/g,"").replace(/<meta\s+name="twitter:description"\s+content="A website built with stx[^"]*"[^>]*>\s*/g,""),/<head[^>]*>/i.test(q))return q.replace(/<head([^>]*)>/i,`<head$1>
|
|
6
6
|
${L}`);return`${L}
|
|
7
7
|
${q}`}function w(q){return q.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function W(q){return q.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}
|
|
8
|
-
export{X as
|
|
8
|
+
export{X as eh};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var S={black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",gray:"\x1B[90m",brightRed:"\x1B[91m",brightGreen:"\x1B[92m",brightYellow:"\x1B[93m",brightBlue:"\x1B[94m",brightMagenta:"\x1B[95m",brightCyan:"\x1B[96m",brightWhite:"\x1B[97m"},V={bold:"\x1B[1m",dim:"\x1B[2m",italic:"\x1B[3m",underline:"\x1B[4m",inverse:"\x1B[7m",strikethrough:"\x1B[9m"};function J(j,q){return`${S[q]}${j}\x1B[0m`}function O(j,q){return`${V[q]}${j}\x1B[0m`}var K=(j)=>J(j,"red"),G=(j)=>J(j,"green"),M=(j)=>J(j,"yellow"),W=(j)=>J(j,"blue"),X=(j)=>J(j,"magenta"),A=(j)=>J(j,"cyan"),Y=(j)=>J(j,"white"),Z=(j)=>J(j,"gray"),B=(j)=>O(j,"bold"),L=(j)=>O(j,"dim"),_=(j)=>O(j,"italic"),$=(j)=>O(j,"underline");function h(){console.log(""),console.log(A(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557")),console.log(A(" \u2551")+B(" \uD83D\uDCD6 STX Story ")+A("\u2551")),console.log(A(" \u2551")+L(" Component Showcase & Testing ")+A("\u2551")),console.log(A(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D")),console.log("")}function z(j,q){if(console.log(B(" Server running at:")),console.log(""),console.log(` ${L("\u279C")} ${B("Local:")} ${A(j)}`),q)console.log(` ${L("\u279C")} ${B("Network:")} ${A(q)}`);console.log("")}function F(j){let q=j>0?"\u2713":"\u25CB",E=j>0?G:M;console.log(` ${E(q)} Found ${B(String(j))} story ${j===1?"file":"files"}`)}function p(j,q){let H={add:G("+"),change:M("~"),unlink:K("-")}[j]||"\u2022";console.log(` ${H} ${L(`[${j}]`)} ${q}`)}function D(j,q){if(console.log(""),console.log(` ${K("\u2717")} ${B(K("Error:"))} ${j}`),q)console.log(` ${L(q)}`);console.log("")}function C(j){console.log(` ${M("\u26A0")} ${M("Warning:")} ${j}`)}function I(j){console.log(` ${G("\u2713")} ${j}`)}function k(j){console.log(` ${W("\u2139")} ${j}`)}function N(j,q,E){console.log(""),console.log(A(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557")),console.log(A(" \u2551")+B(" Build Complete ")+A("\u2551")),console.log(A(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D")),console.log(""),console.log(` ${G("\u2713")} Stories: ${B(String(j))}`),console.log(` ${G("\u2713")} Output: ${B(q)}`),console.log(` ${G("\u2713")} Time: ${B(`${E}ms`)}`),console.log("")}function U(j,q,E,H){if(console.log(""),console.log(A(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557")),console.log(A(" \u2551")+B(" Test Results ")+A("\u2551")),console.log(A(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D")),console.log(""),console.log(` Total: ${B(String(j))}`),console.log(` Passed: ${G(String(q))} ${G("\u2713")}`),E>0)console.log(` Failed: ${K(String(E))} ${K("\u2717")}`);console.log(` Time: ${B(`${H}ms`)}`),console.log("")}function T(){console.log(""),console.log(B(" Keyboard Shortcuts:")),console.log(""),console.log(` ${A("h")} Show this help`),console.log(` ${A("o")} Open in browser`),console.log(` ${A("r")} Restart server`),console.log(` ${A("c")} Clear console`),console.log(` ${A("q")} Quit`),console.log("")}function v(){process.stdout.write("\x1Bc")}function w(j){let q=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],E=0,H=null,P=j;return{start(){H=setInterval(()=>{process.stdout.write(`\r ${A(q[E])} ${P}`),E=(E+1)%q.length},80)},stop(Q=!0){if(H)clearInterval(H),H=null;let R=Q?G("\u2713"):K("\u2717");process.stdout.write(`\r ${R} ${P}
|
|
3
3
|
`)},update(Q){P=Q}}}function f(j){if(j<1000)return`${j}ms`;if(j<60000)return`${(j/1000).toFixed(1)}s`;let q=Math.floor(j/60000),E=(j%60000/1000).toFixed(0);return`${q}m ${E}s`}function g(j){if(j<1024)return`${j} B`;if(j<1048576)return`${(j/1024).toFixed(1)} KB`;return`${(j/1048576).toFixed(1)} MB`}
|
|
4
|
-
export{J as
|
|
4
|
+
export{J as Ec,O as Fc,K as Gc,G as Hc,M as Ic,W as Jc,X as Kc,A as Lc,Y as Mc,Z as Nc,B as Oc,L as Pc,_ as Qc,$ as Rc,h as Sc,z as Tc,F as Uc,p as Vc,D as Wc,C as Xc,I as Yc,k as Zc,N as _c,U as $c,T as ad,v as bd,w as cd,f as dd,g as ed};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var O=new Set(["disabled","checked","readonly","required","autofocus","autoplay","controls","default","defer","formnovalidate","hidden","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","reversed","selected"]);function L(k){if(typeof k==="string")return k;if(Array.isArray(k))return k.filter(Boolean).map((F)=>L(F)).join(" ");if(k&&typeof k==="object")return Object.entries(k).filter(([,F])=>F).map(([F])=>F).join(" ");return k?String(k):""}function B(k,F){if(!/:[\w-]+=/.test(k))return k;let Q=k,P=/<(script|style)\b[^>]*>[\s\S]*?<\/\1>/gi,E=[],q;while((q=P.exec(k))!==null)E.push([q.index,q.index+q[0].length]);function V(D){return E.some(([G,U])=>D>=G&&D<U)}let _=/<([a-zA-Z][a-zA-Z0-9-]*)((?:\s+(?:[^>"']|"[^"]*"|'[^']*'))*)\s*\/?>/g,Z=[];while((q=_.exec(Q))!==null){if(V(q.index))continue;let D=q[0],G=q[2];if(!G||!G.includes(":"))continue;let U=/\s:([a-zA-Z_][\w-]*)\s*=\s*"([^"]*)"/g,z,j=G,X=!1;while((z=U.exec(G))!==null){let I=z[1],H=z[2];if(H.includes("()")&&!H.includes(".get(")||H.includes("$store")||H.includes("$ref"))continue;try{let Y=Object.keys(F),K=Object.values(F),$=H.match(/^([a-zA-Z_$][\w$]*)/);if($&&!Y.includes($[1])&&!["true","false","null","undefined","Math","JSON","String","Number","Array","Object","Date","parseInt","parseFloat"].includes($[1]))continue;let J=Function(...Y,`return (${H})`)(...K);if(I==="class"){let W=L(J);if(W){let b=j.match(/\sclass="([^"]*)"/);if(b)j=j.replace(b[0],` class="${b[1]} ${W}"`);else j=j.replace(z[0],` class="${W}"`)}else j=j.replace(z[0],"");X=!0;continue}if(O.has(I)){if(J)j=j.replace(z[0],` ${I}`);else j=j.replace(z[0],"");X=!0;continue}if(J===null||J===void 0||J===!1)j=j.replace(z[0],"");else{let W=String(J).replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">");j=j.replace(z[0],` ${I}="${W}"`)}X=!0}catch{continue}}if(X){let I=D.endsWith("/>")?" /":"",Y=`<${q[1]}${j}${I}>`;Z.push({start:q.index,end:q.index+D.length,replacement:Y})}}for(let D=Z.length-1;D>=0;D--){let{start:G,end:U,replacement:z}=Z[D];Q=Q.slice(0,G)+z+Q.slice(U)}return Q}
|
|
3
|
-
export{B as
|
|
3
|
+
export{B as Jt};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{O as
|
|
2
|
+
import{hy as y}from"./chunk-mrehzhxv.js";function O(j,H){let F=R(j,H);return F.ok?{expression:F.expression,endPos:F.endPos}:null}function R(j,H){let F=H;while(F<j.length&&/\s/.test(j[F]))F++;if(j[F]!=="(")return{ok:!1,reason:"missing-open-paren",pos:F};let L=y(j,"(",")",F);if(L===-1)return{ok:!1,reason:"unclosed-paren",pos:F};return{ok:!0,expression:j.slice(F+1,L),endPos:L+1}}function z(j,H,F,L){let Q=1,A=L,V=new RegExp(`@${H}\\s*\\(`,"g"),J=new RegExp(`@${F}(?![a-z])`,"g");while(A<j.length&&Q>0){V.lastIndex=A,J.lastIndex=A;let W=V.exec(j),q=J.exec(j),G=W?W.index:1/0,U=q?q.index:1/0;if(G<U)Q++,A=G+W[0].length;else if(U<1/0){if(Q--,Q===0)return U;A=U+q[0].length}else break}return-1}function I(j,H){let F=j.slice(H).match(/^@if\s*/);if(!F)return null;let L=H+F[0].length,Q=O(j,L);if(!Q)return null;let A=Q.endPos,V=z(j,"if","endif",A);if(V===-1)return null;let J=j.slice(A,V),W=[],q=0,G="if",U=Q.expression,K=0,Z=0;while(q<J.length){let X=J.indexOf("@",q);if(X===-1)break;q=X;let Y=J.substring(X);if(/^@if\s*\(/.test(Y)){Z++,q++;continue}if(/^@endif(?![a-z])/.test(Y)){Z--,q+=6;continue}if(Z===0){let _=Y.match(/^@elseif\s*/);if(_){W.push({type:G,condition:U,content:J.substring(K,q),start:A+K,end:A+q});let B=q+_[0].length,$=O(J,B);if(!$){q++;continue}G="elseif",U=$.expression,q=$.endPos,K=q;continue}else if(/^@else(?![a-z])/.test(Y)){W.push({type:G,condition:U,content:J.substring(K,q),start:A+K,end:A+q}),G="else",U=void 0,q+=5,K=q;continue}}q++}return W.push({type:G,condition:U,content:J.slice(K),start:A+K,end:A+J.length}),{fullMatch:j.slice(H,V+6),branches:W,start:H,end:V+6}}function v(j){let H=[],F=/@if\s*\(/g,L=F.exec(j);while(L!==null){if(H.some((V)=>L.index>V.start&&L.index<V.end)){L=F.exec(j);continue}let A=I(j,L.index);if(A)H.push(A),F.lastIndex=A.end;L=F.exec(j)}return H}function w(j,H,F){let L=[],Q=new RegExp(`@${H}\\s*\\(`,"g"),A=Q.exec(j);while(A!==null){if(L.some((Y)=>A.index>Y.start&&A.index<Y.end)){A=Q.exec(j);continue}let J=A.index,W=J+A[0].length-1,q=y(j,"(",")",W);if(q===-1){A=Q.exec(j);continue}let G=j.slice(W+1,q),U=q+1,K=z(j,H,F,U);if(K===-1){A=Q.exec(j);continue}let Z=j.slice(U,K),X=K+`@${F}`.length;L.push({fullMatch:j.slice(J,X),name:H,params:G,content:Z,start:J,end:X}),Q.lastIndex=X,A=Q.exec(j)}return L}function D(j,H){let F=j.slice(H).match(/^@switch\s*/);if(!F)return null;let L=H+F[0].length,Q=O(j,L);if(!Q)return null;let A=Q.endPos,V=z(j,"switch","endswitch",A);if(V===-1)return null;let J=j.slice(A,V),W=[],q=0,G=null,U=0;while(q<J.length){let K=J.slice(q),Z=K.match(/^@switch\s*\(/),X=K.match(/^@endswitch(?![a-z])/);if(Z){if(U++,G)G.content+=Z[0];q+=Z[0].length;continue}if(X){if(U--,G)G.content+=X[0];q+=X[0].length;continue}if(U>0){if(G)G.content+=J[q];q++;continue}let Y=K.match(/^@case\s*/),_=K.match(/^@default(?![a-z])/),B=K.match(/^@break(?![a-z])/);if(Y&&K.startsWith("@case")){if(G)W.push(G);let $=q+Y[0].length,k=O(J,$);if(!k){q++;continue}G={type:"case",value:k.expression,content:""},q=k.endPos}else if(_&&K.startsWith("@default")){if(G)W.push(G);G={type:"default",content:""},q+=_[0].length}else if(B&&K.startsWith("@break"))q+=B[0].length;else{if(G)G.content+=J[q];q++}}if(G)W.push(G);return{fullMatch:j.slice(H,V+10),expression:Q.expression,cases:W,start:H,end:V+10}}
|
|
3
|
+
export{O as $x,R as ay,z as by,I as cy,v as dy,w as ey,D as fy};
|
|
@@ -144,4 +144,4 @@ var N=new Map,Q=new Map;function T(A){if(N.set(A.name,A),A.client)Q.set(A.name,A
|
|
|
144
144
|
console.log('[stx] Directive runtime initialized');
|
|
145
145
|
})();
|
|
146
146
|
`}function $(A){let B=/v-(\w+)(?::(\w+))?(?:\.([\w.]+))?="([^"]*)"/g;return A.replace(B,(C,F,H,L,J)=>{let E=(L?L.split("."):[]).reduce((M,S)=>{return M[S]=!0,M},{});return`data-stx-directive="${F}:${J}" data-stx-directive-arg="${H||""}" data-stx-directive-modifiers='${JSON.stringify(E)}'`})}
|
|
147
|
-
export{T as
|
|
147
|
+
export{T as uw,V as vw,W as ww,X as xw,G as yw,Y as zw,Z as Aw,_ as Bw,$ as Cw};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{d as
|
|
2
|
+
import{Sk as I,Xk as w}from"./chunk-5ggw1dyv.js";import{rB as v}from"./chunk-3jm3snz8.js";import{resolve as E,basename as T,extname as W,join as $}from"path";import{mkdir as j}from"fs/promises";async function B(){try{return await import("ts-videos")}catch{return null}}async function d(A,q,C,Y){let G=await B();if(!G)return console.warn("[stx-media] ts-videos not installed, cannot generate poster"),null;try{let y=E(A);if(!await w(y))return null;await j(C,{recursive:!0});let N=await I(y),O=T(A,W(A)),M=q.format||"webp",_=q.timestamp||0,S=`${O}-poster-${N}.${M}`,L=$(C,S),J=await G.extractThumbnails(y,{timestamps:[_],width:q.width||1280,height:q.height,format:M,quality:q.quality||85,outputDir:C,outputPattern:S.replace(`.${M}`,"")});if(J&&J.length>0){let K=J[0];return{path:L,url:`${Y}/${S}`,width:K.width||q.width||1280,height:K.height||720,timestamp:_,size:K.size||0}}return null}catch(y){return console.warn(`[stx-media] Failed to generate poster: ${y}`),null}}async function c(A,q,C,Y){let G=await B();if(!G)return[];try{let y=E(A);if(!await w(y))return[];await j(C,{recursive:!0});let N=await I(y),O=T(A,W(A)),M=q.format||"webp",L=(await new G.Input(y).getInfo()).duration||60,J=q.count||10,K=q.interval||L/J,Q=[];for(let z=0;z<J&&z*K<L;z++)Q.push(z*K);let R=await G.extractThumbnails(y,{timestamps:Q,width:q.width||320,format:M,quality:q.quality||80,outputDir:C,outputPattern:`${O}-thumb-${N}`});if(R&&R.length>0)return R.map((z,X)=>({path:z.path||$(C,`${O}-thumb-${N}-${X}.${M}`),url:`${Y}/${O}-thumb-${N}-${X}.${M}`,width:z.width||q.width||320,height:z.height||180,timestamp:Q[X],size:z.size||0}));return[]}catch(y){return console.warn(`[stx-media] Failed to generate thumbnails: ${y}`),[]}}async function l(A,q,C,Y){let G=await B();if(!G)return console.warn("[stx-media] ts-videos not installed, cannot generate sprite sheet"),null;try{let y=E(A);if(!await w(y))return null;await j(C,{recursive:!0});let N=await I(y),O=T(A,W(A)),S=(await new G.Input(y).getInfo()).duration||60,L=q.columns||10,J=q.interval||5,K=q.thumbnailWidth||160,Q=q.thumbnailHeight||90,R=q.format||"jpeg",z=Math.ceil(S/J),X=Math.ceil(z/L),U=`${O}-sprite-${N}.${R}`,H=$(C,U),g=[];for(let Z=0;Z<z;Z++)g.push(Z*J);let k=await G.extractThumbnails(y,{timestamps:g,width:K,height:Q,format:R,quality:q.quality||70,outputDir:$(C,".temp")});if(!k||k.length===0)return null;try{let Z=await import("ts-images"),V=L*K,x=X*Q,f=await Z.createSprite({images:k.map((F)=>F.path),columns:L,padding:0,outputPath:H,format:R,quality:q.quality||70});return{url:`${Y}/${U}`,path:H,columns:L,rows:X,thumbnailWidth:K,thumbnailHeight:Q,interval:J,totalFrames:z}}catch{return console.warn("[stx-media] ts-images not installed, sprite sheet generation skipped"),null}}catch(y){return console.warn(`[stx-media] Failed to generate sprite sheet: ${y}`),null}}
|
|
3
|
+
export{d as Aj,c as Bj,l as Cj};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{rB as B}from"./chunk-3jm3snz8.js";async function K(){try{return typeof(await import("@stacksjs/desktop")).createWindowWithHTML==="function"}catch{return!1}}async function N(q,b,u,f={}){try{let z=await import("@stacksjs/desktop"),A=b.story?.variants.find((C)=>C.id===u);if(!A)return null;let D=f.title||`${b.fileName} - ${A.title}`,E=F(q,b,A),J=await z.createWindowWithHTML(E,{title:D,width:f.width||800,height:f.height||600});return{close:()=>{},reload:()=>{},update:(C)=>{}}}catch(z){return console.warn("Desktop preview not available:",z),null}}function F(q,b,u){let{theme:f}=q.config;return`<!DOCTYPE html>
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
@@ -68,4 +68,4 @@ import{jE as B}from"./chunk-6r70w54p.js";async function K(){try{return typeof(aw
|
|
|
68
68
|
background: var(--bg-secondary);
|
|
69
69
|
}
|
|
70
70
|
`}
|
|
71
|
-
export{K as
|
|
71
|
+
export{K as va,N as wa,O as xa,Q as ya};
|
|
@@ -4,4 +4,4 @@ function K(b){if(b===String)return"string";if(b===Number)return"number";if(b===B
|
|
|
4
4
|
${D}`)}return{props:F,validation:C}}function Y(b,j){let q={...b};for(let[B,z]of Object.entries(j))if(q[B]===void 0)q[B]=typeof z==="function"?z():z;return q}function Z(b){return b}function _(b){return{type:b,required:!0}}function $(b,j){return{type:j,default:b}}function G(b,j={}){return{...j,validator:b}}function M(b,j={}){return{...j,validator:(q)=>b.includes(q)}}function S(b,j={}){return{...j,type:Array,validator:(q)=>{if(!Array.isArray(q))return!1;return!0}}}function U(b,j={}){return{...j,type:Object}}function h(b,j,q){if(!j)return b;let B={};for(let[z,A]of Object.entries(j)){let F=typeof A==="function"||Array.isArray(A)?{type:A}:A||{},C=b[z];if(C===void 0&&F.default!==void 0)C=typeof F.default==="function"?F.default():F.default;{let D=L(z,C,F,q);if(D)console.warn(D.message)}B[z]=C}for(let[z,A]of Object.entries(b))if(!(z in B))B[z]=A;return B}function E(){let b=globalThis.__STX_CURRENT_ELEMENT__;return(j,q)=>{if(b){let B=new CustomEvent(String(j),{detail:q,bubbles:!0,cancelable:!0});b.dispatchEvent(B)}else console.warn(`Cannot emit event "${String(j)}" - no element context`)}}function W(b){let j=globalThis.__STX_CURRENT_ELEMENT__;if(j)j.__stx_exposed__=b,j.setAttribute("data-stx-exposed",Object.keys(b).join(","))}function V(b,j){let q=[`interface ${b}Props {`];for(let[B,z]of Object.entries(j)){let A=typeof z==="function"||Array.isArray(z)?{type:z}:z||{},F=A.type?K(A.type):"unknown",C=A.required?"":"?",D=A.description?` /** ${A.description} */
|
|
5
5
|
`:"";q.push(`${D} ${B}${C}: ${F}`)}return q.push("}"),q.join(`
|
|
6
6
|
`)}
|
|
7
|
-
export{R as
|
|
7
|
+
export{R as Oi,X as Pi,Y as Qi,Z as Ri,_ as Si,$ as Ti,G as Ui,M as Vi,S as Wi,U as Xi,h as Yi,E as Zi,W as _i,V as $i};
|