use-scroll-animate 3.9.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +16 -14
  3. package/README_ja.md +10 -11
  4. package/README_zh.md +11 -12
  5. package/dist/chunks/{base-Dm6ee5ug.cjs → base-CXx7jZ-o.cjs} +1 -11
  6. package/dist/chunks/{base-Dm6ee5ug.cjs.map → base-CXx7jZ-o.cjs.map} +1 -1
  7. package/dist/chunks/{base-BRIPyPtX.js → base-ZARFccur.js} +2 -11
  8. package/dist/chunks/{base-BRIPyPtX.js.map → base-ZARFccur.js.map} +1 -1
  9. package/dist/chunks/core-Co-6AL0h.js +218 -0
  10. package/dist/chunks/core-Co-6AL0h.js.map +1 -0
  11. package/dist/chunks/{core-CYozf_E-.js → core-DKY-fVzR.js} +2 -2
  12. package/dist/chunks/{core-CYozf_E-.js.map → core-DKY-fVzR.js.map} +1 -1
  13. package/dist/chunks/core-DXqZm5Il.cjs +222 -0
  14. package/dist/chunks/core-DXqZm5Il.cjs.map +1 -0
  15. package/dist/chunks/{core-CHAtivHV.cjs → core-IaorbTdu.cjs} +2 -2
  16. package/dist/chunks/{core-CHAtivHV.cjs.map → core-IaorbTdu.cjs.map} +1 -1
  17. package/dist/chunks/{index-tags-BmQR17Sb.js → index-tags-43Xtd01A.js} +2 -2
  18. package/dist/chunks/index-tags-43Xtd01A.js.map +1 -0
  19. package/dist/chunks/{index-tags-DYYsgbba.cjs → index-tags-BQh_uGqH.cjs} +2 -2
  20. package/dist/chunks/index-tags-BQh_uGqH.cjs.map +1 -0
  21. package/dist/chunks/{spring-Dp5BllPB.cjs → spring-2OTnYCzm.cjs} +2 -2
  22. package/dist/chunks/{spring-Dp5BllPB.cjs.map → spring-2OTnYCzm.cjs.map} +1 -1
  23. package/dist/chunks/{spring-UBPhrh1X.js → spring-E2ickYNI.js} +2 -2
  24. package/dist/chunks/{spring-UBPhrh1X.js.map → spring-E2ickYNI.js.map} +1 -1
  25. package/dist/chunks/{variants-_dC-ey6R.cjs → variants-BNIrn4ch.cjs} +2 -2
  26. package/dist/chunks/{variants-_dC-ey6R.cjs.map → variants-BNIrn4ch.cjs.map} +1 -1
  27. package/dist/chunks/{variants-DTypaOH3.js → variants-DvnxvRCM.js} +2 -2
  28. package/dist/chunks/{variants-DTypaOH3.js.map → variants-DvnxvRCM.js.map} +1 -1
  29. package/dist/components/angular.cjs +6 -5
  30. package/dist/components/angular.cjs.map +1 -1
  31. package/dist/components/angular.d.cts +4 -17
  32. package/dist/components/angular.d.ts +4 -17
  33. package/dist/components/angular.js +6 -5
  34. package/dist/components/angular.js.map +1 -1
  35. package/dist/components/background.cjs +2 -2
  36. package/dist/components/background.js +3 -3
  37. package/dist/components/cards.cjs +2 -2
  38. package/dist/components/cards.js +3 -3
  39. package/dist/components/click.cjs +2 -2
  40. package/dist/components/click.js +3 -3
  41. package/dist/components/depth.cjs +3 -3
  42. package/dist/components/depth.js +4 -4
  43. package/dist/components/feedback.cjs +1 -1
  44. package/dist/components/feedback.js +2 -2
  45. package/dist/components/gesture.cjs +3 -3
  46. package/dist/components/gesture.js +5 -5
  47. package/dist/components/interaction.cjs +1 -1
  48. package/dist/components/interaction.js +2 -2
  49. package/dist/components/jsx.d.cts +1 -1
  50. package/dist/components/jsx.d.ts +1 -1
  51. package/dist/components/layout.cjs +1 -1
  52. package/dist/components/layout.js +2 -2
  53. package/dist/components/lazy.cjs +1 -1
  54. package/dist/components/lazy.d.cts +1 -1
  55. package/dist/components/lazy.d.ts +1 -1
  56. package/dist/components/lazy.js +1 -1
  57. package/dist/components/packs.cjs +1 -1
  58. package/dist/components/packs.js +2 -2
  59. package/dist/components/page.cjs +2 -2
  60. package/dist/components/page.js +3 -3
  61. package/dist/components/physics.cjs +2 -2
  62. package/dist/components/physics.js +4 -4
  63. package/dist/components/react.cjs +2 -2
  64. package/dist/components/react.cjs.map +1 -1
  65. package/dist/components/react.d.cts +1 -1
  66. package/dist/components/react.d.ts +1 -1
  67. package/dist/components/react.js +2 -2
  68. package/dist/components/react.js.map +1 -1
  69. package/dist/components/reveal.cjs +1 -1
  70. package/dist/components/reveal.js +2 -2
  71. package/dist/components/solid.cjs +6 -5
  72. package/dist/components/solid.cjs.map +1 -1
  73. package/dist/components/solid.d.cts +4 -17
  74. package/dist/components/solid.d.ts +4 -17
  75. package/dist/components/solid.js +6 -5
  76. package/dist/components/solid.js.map +1 -1
  77. package/dist/components/svelte.cjs +6 -5
  78. package/dist/components/svelte.cjs.map +1 -1
  79. package/dist/components/svelte.d.cts +4 -17
  80. package/dist/components/svelte.d.ts +4 -17
  81. package/dist/components/svelte.js +6 -5
  82. package/dist/components/svelte.js.map +1 -1
  83. package/dist/components/svg.cjs +1 -1
  84. package/dist/components/svg.js +2 -2
  85. package/dist/components/text.cjs +1 -1
  86. package/dist/components/text.js +2 -2
  87. package/dist/components/timeline.cjs +7 -220
  88. package/dist/components/timeline.cjs.map +1 -1
  89. package/dist/components/timeline.js +5 -217
  90. package/dist/components/timeline.js.map +1 -1
  91. package/dist/components/transitions.cjs +8 -125
  92. package/dist/components/transitions.cjs.map +1 -1
  93. package/dist/components/transitions.css +0 -1
  94. package/dist/components/transitions.d.cts +5 -34
  95. package/dist/components/transitions.d.ts +5 -34
  96. package/dist/components/transitions.js +10 -125
  97. package/dist/components/transitions.js.map +1 -1
  98. package/dist/components/ui.cjs +3 -3
  99. package/dist/components/ui.js +5 -5
  100. package/dist/components/vue.cjs +6 -5
  101. package/dist/components/vue.cjs.map +1 -1
  102. package/dist/components/vue.d.cts +4 -17
  103. package/dist/components/vue.d.ts +4 -17
  104. package/dist/components/vue.js +6 -5
  105. package/dist/components/vue.js.map +1 -1
  106. package/dist/components/webgl.cjs +1 -1
  107. package/dist/components/webgl.js +2 -2
  108. package/dist/components.cjs +12 -13
  109. package/dist/components.cjs.map +1 -1
  110. package/dist/components.css +0 -1
  111. package/dist/components.d.cts +6 -35
  112. package/dist/components.d.ts +6 -35
  113. package/dist/components.js +10 -9
  114. package/dist/components.js.map +1 -1
  115. package/dist/components.umd.js +2 -2
  116. package/dist/components.umd.js.map +1 -1
  117. package/dist/index.cjs +5 -109
  118. package/dist/index.cjs.map +1 -1
  119. package/dist/index.d.cts +72 -32
  120. package/dist/index.d.ts +72 -32
  121. package/dist/index.js +4 -110
  122. package/dist/index.js.map +1 -1
  123. package/dist/index.umd.js +2 -2
  124. package/dist/index.umd.js.map +1 -1
  125. package/docs/API.md +6 -6
  126. package/docs/ROADMAP.md +14 -0
  127. package/docs/components.md +3 -5
  128. package/docs/migration-from-aos.md +1 -1
  129. package/docs/migration-from-gsap-scrolltrigger.md +6 -6
  130. package/package.json +1 -1
  131. package/dist/chunks/index-tags-BmQR17Sb.js.map +0 -1
  132. package/dist/chunks/index-tags-DYYsgbba.cjs.map +0 -1
@@ -3,28 +3,29 @@
3
3
  var components = require('../components.cjs');
4
4
  var bind = require('../chunks/bind-Ui43-n2d.cjs');
5
5
  require('./reveal.cjs');
6
- require('../chunks/base-Dm6ee5ug.cjs');
6
+ require('../chunks/base-CXx7jZ-o.cjs');
7
7
  require('./text.cjs');
8
8
  require('./interaction.cjs');
9
9
  require('./feedback.cjs');
10
10
  require('./background.cjs');
11
- require('../chunks/variants-_dC-ey6R.cjs');
11
+ require('../chunks/variants-BNIrn4ch.cjs');
12
12
  require('./transitions.cjs');
13
13
  require('./physics.cjs');
14
- require('../chunks/spring-Dp5BllPB.cjs');
14
+ require('../chunks/spring-2OTnYCzm.cjs');
15
15
  require('./cards.cjs');
16
16
  require('./click.cjs');
17
17
  require('./ui.cjs');
18
18
  require('./page.cjs');
19
19
  require('./timeline.cjs');
20
+ require('../chunks/core-DXqZm5Il.cjs');
20
21
  require('./gesture.cjs');
21
- require('../chunks/core-CHAtivHV.cjs');
22
+ require('../chunks/core-IaorbTdu.cjs');
22
23
  require('./svg.cjs');
23
24
  require('./webgl.cjs');
24
25
  require('./depth.cjs');
25
26
  require('./layout.cjs');
26
27
  require('./packs.cjs');
27
- require('../chunks/index-tags-DYYsgbba.cjs');
28
+ require('../chunks/index-tags-BQh_uGqH.cjs');
28
29
 
29
30
  /**
30
31
  * use-scroll-animate/components/solid — Solid integration (v3.8).
@@ -1 +1 @@
1
- {"version":3,"file":"solid.cjs","sources":["../../src/components/frameworks/solid.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/solid — Solid integration (v3.8).\n * Solid renders custom elements natively: set properties with `prop:` and\n * listen with `on:` (`<usa-toggle prop:checked={on()} on:usa:change={…}>`).\n * This entry adds `defineUsa()` (client only, SolidStart-safe), a `usa`\n * directive for `use:usa={{ props, on }}`, and JSX types.\n *\n * ```tsx\n * import { defineUsa, usa } from 'use-scroll-animate/components/solid';\n * import type {} from 'use-scroll-animate/components/solid'; // JSX types\n * onMount(() => defineUsa());\n * false && usa; // keep the directive import (Solid convention)\n * <usa-card use:usa={{ on: { flip: (e) => console.log(e.detail) } }} effect=\"flip\">…</usa-card>\n * ```\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\nimport type { UsaIntrinsicElements } from './jsx';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/**\n * Solid directive (`use:usa`). Solid calls it with the element and an\n * accessor; the binding is read once on mount and re-read whenever\n * `refresh()` on the returned handle is called (or wrap it in `createEffect`).\n */\nexport function usa(el: HTMLElement, accessor: () => UsaBinding | undefined): { refresh(): void; destroy(): void } {\n const b = bindUsa(el, accessor() || {});\n return { refresh: () => b.update(accessor() || {}), destroy: b.destroy };\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` in SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n\n/** JSX intrinsic elements for Solid (same attribute types as the React/Preact ones). */\nexport type SolidUsaIntrinsicElements = UsaIntrinsicElements;\n"],"names":["bindUsa","defineComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAQH;;;;AAIG;AACG,SAAU,GAAG,CAAC,EAAe,EAAE,QAAsC,EAAA;IACzE,MAAM,CAAC,GAAGA,YAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;AAC1E;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAEC,2BAAgB,CAAC,UAAU,CAAC;AACjE;;;;;;;"}
1
+ {"version":3,"file":"solid.cjs","sources":["../../src/components/frameworks/solid.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/solid — Solid integration (v3.8).\n * Solid renders custom elements natively: set properties with `prop:` and\n * listen with `on:` (`<usa-toggle prop:checked={on()} on:usa:change={…}>`).\n * This entry adds `defineUsa()` (client only, SolidStart-safe), a `usa`\n * directive for `use:usa={{ props, on }}`, and JSX types.\n *\n * ```tsx\n * import { defineUsa, usa } from 'use-scroll-animate/components/solid';\n * import type {} from 'use-scroll-animate/components/solid'; // JSX types\n * onMount(() => defineUsa());\n * false && usa; // keep the directive import (Solid convention)\n * <usa-card use:usa={{ on: { flip: (e) => console.log(e.detail) } }} effect=\"flip\">…</usa-card>\n * ```\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\nimport type { UsaIntrinsicElements } from './jsx';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/**\n * Solid directive (`use:usa`). Solid calls it with the element and an\n * accessor; the binding is read once on mount and re-read whenever\n * `refresh()` on the returned handle is called (or wrap it in `createEffect`).\n */\nexport function usa(el: HTMLElement, accessor: () => UsaBinding | undefined): { refresh(): void; destroy(): void } {\n const b = bindUsa(el, accessor() || {});\n return { refresh: () => b.update(accessor() || {}), destroy: b.destroy };\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` in SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n\n/** JSX intrinsic elements for Solid (same attribute types as the React/Preact ones). */\nexport type SolidUsaIntrinsicElements = UsaIntrinsicElements;\n"],"names":["bindUsa","defineComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAQH;;;;AAIG;AACG,SAAU,GAAG,CAAC,EAAe,EAAE,QAAsC,EAAA;IACzE,MAAM,CAAC,GAAGA,YAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;AAC1E;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAEC,2BAAgB,CAAC,UAAU,CAAC;AACjE;;;;;;;"}
@@ -622,19 +622,6 @@ interface UsaAccordionElement extends UsaElement {
622
622
  toggleItem(details: HTMLDetailsElement, open?: boolean): Promise<void>;
623
623
  }
624
624
 
625
- /**
626
- * `<usa-flip-list>` — animates its children to their new places whenever
627
- * they are added, removed or reordered (FLIP: transforms only). Works with
628
- * any rendering: plain DOM, React keyed lists, Vue `v-for`, Svelte `{#each}`.
629
- *
630
- * Attributes: `duration` (ms, 420), `easing`, `disabled`.
631
- * Method: `flip(mutate)` for explicit changes (also measures resizes).
632
- * Reduced motion: no animation.
633
- */
634
- interface UsaFlipListElement extends UsaElement {
635
- flip(mutate: () => void | Promise<void>): Promise<void>;
636
- }
637
-
638
625
  /**
639
626
  * `<usa-view-switch>` — shows one of its children at a time (tabs, wizard
640
627
  * steps, app pages) and animates between them. Children are views; name
@@ -654,15 +641,15 @@ interface UsaViewSwitchElement extends UsaElement {
654
641
 
655
642
  /**
656
643
  * use-scroll-animate/components/transitions — view & layout transitions.
657
- * `<usa-dialog>`, `<usa-accordion>`, `<usa-flip-list>`, `<usa-view-switch>`
658
- * and the `viewTransition()`, `flip()`, `connectedAnimation()` helpers.
644
+ * `<usa-dialog>`, `<usa-accordion>`, `<usa-view-switch>`
645
+ * and the `viewTransition()` and `flip()` helpers (4.0: `<usa-flip-list>` → `<usa-auto-animate>`,
646
+ * `connectedAnimation()` → `sharedTransition()`, both in `components/layout`).
659
647
  */
660
648
 
661
649
  declare global {
662
650
  interface HTMLElementTagNameMap {
663
651
  'usa-dialog': UsaDialogElement;
664
652
  'usa-accordion': UsaAccordionElement;
665
- 'usa-flip-list': UsaFlipListElement;
666
653
  'usa-view-switch': UsaViewSwitchElement;
667
654
  }
668
655
  }
@@ -1621,7 +1608,7 @@ declare const COMPONENT_CATEGORIES: {
1621
1608
  readonly interaction: readonly ["usa-ripple", "usa-magnetic", "usa-tilt", "usa-spotlight", "usa-press", "usa-toggle"];
1622
1609
  readonly feedback: readonly ["usa-spinner", "usa-skeleton", "usa-progress", "usa-toaster", "usa-check"];
1623
1610
  readonly background: readonly ["usa-aurora", "usa-particles", "usa-grain", "usa-marquee", "usa-acrylic", "usa-grid-glow", "usa-blobs", "usa-water-ripple", "usa-dot-network"];
1624
- readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-flip-list", "usa-view-switch"];
1611
+ readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-view-switch"];
1625
1612
  readonly physics: readonly ["usa-spring", "usa-draggable", "usa-overscroll"];
1626
1613
  readonly cards: readonly ["usa-card", "usa-card-stack", "usa-sticky-stack", "usa-carousel-3d"];
1627
1614
  readonly click: readonly ["usa-click", "usa-button", "usa-icon-morph", "usa-like", "usa-hold", "usa-double-tap", "usa-checkbox"];
@@ -622,19 +622,6 @@ interface UsaAccordionElement extends UsaElement {
622
622
  toggleItem(details: HTMLDetailsElement, open?: boolean): Promise<void>;
623
623
  }
624
624
 
625
- /**
626
- * `<usa-flip-list>` — animates its children to their new places whenever
627
- * they are added, removed or reordered (FLIP: transforms only). Works with
628
- * any rendering: plain DOM, React keyed lists, Vue `v-for`, Svelte `{#each}`.
629
- *
630
- * Attributes: `duration` (ms, 420), `easing`, `disabled`.
631
- * Method: `flip(mutate)` for explicit changes (also measures resizes).
632
- * Reduced motion: no animation.
633
- */
634
- interface UsaFlipListElement extends UsaElement {
635
- flip(mutate: () => void | Promise<void>): Promise<void>;
636
- }
637
-
638
625
  /**
639
626
  * `<usa-view-switch>` — shows one of its children at a time (tabs, wizard
640
627
  * steps, app pages) and animates between them. Children are views; name
@@ -654,15 +641,15 @@ interface UsaViewSwitchElement extends UsaElement {
654
641
 
655
642
  /**
656
643
  * use-scroll-animate/components/transitions — view & layout transitions.
657
- * `<usa-dialog>`, `<usa-accordion>`, `<usa-flip-list>`, `<usa-view-switch>`
658
- * and the `viewTransition()`, `flip()`, `connectedAnimation()` helpers.
644
+ * `<usa-dialog>`, `<usa-accordion>`, `<usa-view-switch>`
645
+ * and the `viewTransition()` and `flip()` helpers (4.0: `<usa-flip-list>` → `<usa-auto-animate>`,
646
+ * `connectedAnimation()` → `sharedTransition()`, both in `components/layout`).
659
647
  */
660
648
 
661
649
  declare global {
662
650
  interface HTMLElementTagNameMap {
663
651
  'usa-dialog': UsaDialogElement;
664
652
  'usa-accordion': UsaAccordionElement;
665
- 'usa-flip-list': UsaFlipListElement;
666
653
  'usa-view-switch': UsaViewSwitchElement;
667
654
  }
668
655
  }
@@ -1621,7 +1608,7 @@ declare const COMPONENT_CATEGORIES: {
1621
1608
  readonly interaction: readonly ["usa-ripple", "usa-magnetic", "usa-tilt", "usa-spotlight", "usa-press", "usa-toggle"];
1622
1609
  readonly feedback: readonly ["usa-spinner", "usa-skeleton", "usa-progress", "usa-toaster", "usa-check"];
1623
1610
  readonly background: readonly ["usa-aurora", "usa-particles", "usa-grain", "usa-marquee", "usa-acrylic", "usa-grid-glow", "usa-blobs", "usa-water-ripple", "usa-dot-network"];
1624
- readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-flip-list", "usa-view-switch"];
1611
+ readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-view-switch"];
1625
1612
  readonly physics: readonly ["usa-spring", "usa-draggable", "usa-overscroll"];
1626
1613
  readonly cards: readonly ["usa-card", "usa-card-stack", "usa-sticky-stack", "usa-carousel-3d"];
1627
1614
  readonly click: readonly ["usa-click", "usa-button", "usa-icon-morph", "usa-like", "usa-hold", "usa-double-tap", "usa-checkbox"];
@@ -2,28 +2,29 @@ import { defineComponents } from '../components.js';
2
2
  import { b as bindUsa } from '../chunks/bind-B_CTL6Qn.js';
3
3
  export { u as usaEventName } from '../chunks/bind-B_CTL6Qn.js';
4
4
  import './reveal.js';
5
- import '../chunks/base-BRIPyPtX.js';
5
+ import '../chunks/base-ZARFccur.js';
6
6
  import './text.js';
7
7
  import './interaction.js';
8
8
  import './feedback.js';
9
9
  import './background.js';
10
- import '../chunks/variants-DTypaOH3.js';
10
+ import '../chunks/variants-DvnxvRCM.js';
11
11
  import './transitions.js';
12
12
  import './physics.js';
13
- import '../chunks/spring-UBPhrh1X.js';
13
+ import '../chunks/spring-E2ickYNI.js';
14
14
  import './cards.js';
15
15
  import './click.js';
16
16
  import './ui.js';
17
17
  import './page.js';
18
18
  import './timeline.js';
19
+ import '../chunks/core-Co-6AL0h.js';
19
20
  import './gesture.js';
20
- import '../chunks/core-CYozf_E-.js';
21
+ import '../chunks/core-DKY-fVzR.js';
21
22
  import './svg.js';
22
23
  import './webgl.js';
23
24
  import './depth.js';
24
25
  import './layout.js';
25
26
  import './packs.js';
26
- import '../chunks/index-tags-BmQR17Sb.js';
27
+ import '../chunks/index-tags-43Xtd01A.js';
27
28
 
28
29
  /**
29
30
  * use-scroll-animate/components/solid — Solid integration (v3.8).
@@ -1 +1 @@
1
- {"version":3,"file":"solid.js","sources":["../../src/components/frameworks/solid.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/solid — Solid integration (v3.8).\n * Solid renders custom elements natively: set properties with `prop:` and\n * listen with `on:` (`<usa-toggle prop:checked={on()} on:usa:change={…}>`).\n * This entry adds `defineUsa()` (client only, SolidStart-safe), a `usa`\n * directive for `use:usa={{ props, on }}`, and JSX types.\n *\n * ```tsx\n * import { defineUsa, usa } from 'use-scroll-animate/components/solid';\n * import type {} from 'use-scroll-animate/components/solid'; // JSX types\n * onMount(() => defineUsa());\n * false && usa; // keep the directive import (Solid convention)\n * <usa-card use:usa={{ on: { flip: (e) => console.log(e.detail) } }} effect=\"flip\">…</usa-card>\n * ```\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\nimport type { UsaIntrinsicElements } from './jsx';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/**\n * Solid directive (`use:usa`). Solid calls it with the element and an\n * accessor; the binding is read once on mount and re-read whenever\n * `refresh()` on the returned handle is called (or wrap it in `createEffect`).\n */\nexport function usa(el: HTMLElement, accessor: () => UsaBinding | undefined): { refresh(): void; destroy(): void } {\n const b = bindUsa(el, accessor() || {});\n return { refresh: () => b.update(accessor() || {}), destroy: b.destroy };\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` in SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n\n/** JSX intrinsic elements for Solid (same attribute types as the React/Preact ones). */\nexport type SolidUsaIntrinsicElements = UsaIntrinsicElements;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAQH;;;;AAIG;AACG,SAAU,GAAG,CAAC,EAAe,EAAE,QAAsC,EAAA;IACzE,MAAM,CAAC,GAAG,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;AAC1E;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE;;;;"}
1
+ {"version":3,"file":"solid.js","sources":["../../src/components/frameworks/solid.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/solid — Solid integration (v3.8).\n * Solid renders custom elements natively: set properties with `prop:` and\n * listen with `on:` (`<usa-toggle prop:checked={on()} on:usa:change={…}>`).\n * This entry adds `defineUsa()` (client only, SolidStart-safe), a `usa`\n * directive for `use:usa={{ props, on }}`, and JSX types.\n *\n * ```tsx\n * import { defineUsa, usa } from 'use-scroll-animate/components/solid';\n * import type {} from 'use-scroll-animate/components/solid'; // JSX types\n * onMount(() => defineUsa());\n * false && usa; // keep the directive import (Solid convention)\n * <usa-card use:usa={{ on: { flip: (e) => console.log(e.detail) } }} effect=\"flip\">…</usa-card>\n * ```\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\nimport type { UsaIntrinsicElements } from './jsx';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/**\n * Solid directive (`use:usa`). Solid calls it with the element and an\n * accessor; the binding is read once on mount and re-read whenever\n * `refresh()` on the returned handle is called (or wrap it in `createEffect`).\n */\nexport function usa(el: HTMLElement, accessor: () => UsaBinding | undefined): { refresh(): void; destroy(): void } {\n const b = bindUsa(el, accessor() || {});\n return { refresh: () => b.update(accessor() || {}), destroy: b.destroy };\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` in SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n\n/** JSX intrinsic elements for Solid (same attribute types as the React/Preact ones). */\nexport type SolidUsaIntrinsicElements = UsaIntrinsicElements;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAQH;;;;AAIG;AACG,SAAU,GAAG,CAAC,EAAe,EAAE,QAAsC,EAAA;IACzE,MAAM,CAAC,GAAG,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;AAC1E;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE;;;;"}
@@ -3,28 +3,29 @@
3
3
  var components = require('../components.cjs');
4
4
  var bind = require('../chunks/bind-Ui43-n2d.cjs');
5
5
  require('./reveal.cjs');
6
- require('../chunks/base-Dm6ee5ug.cjs');
6
+ require('../chunks/base-CXx7jZ-o.cjs');
7
7
  require('./text.cjs');
8
8
  require('./interaction.cjs');
9
9
  require('./feedback.cjs');
10
10
  require('./background.cjs');
11
- require('../chunks/variants-_dC-ey6R.cjs');
11
+ require('../chunks/variants-BNIrn4ch.cjs');
12
12
  require('./transitions.cjs');
13
13
  require('./physics.cjs');
14
- require('../chunks/spring-Dp5BllPB.cjs');
14
+ require('../chunks/spring-2OTnYCzm.cjs');
15
15
  require('./cards.cjs');
16
16
  require('./click.cjs');
17
17
  require('./ui.cjs');
18
18
  require('./page.cjs');
19
19
  require('./timeline.cjs');
20
+ require('../chunks/core-DXqZm5Il.cjs');
20
21
  require('./gesture.cjs');
21
- require('../chunks/core-CHAtivHV.cjs');
22
+ require('../chunks/core-IaorbTdu.cjs');
22
23
  require('./svg.cjs');
23
24
  require('./webgl.cjs');
24
25
  require('./depth.cjs');
25
26
  require('./layout.cjs');
26
27
  require('./packs.cjs');
27
- require('../chunks/index-tags-DYYsgbba.cjs');
28
+ require('../chunks/index-tags-BQh_uGqH.cjs');
28
29
 
29
30
  /**
30
31
  * use-scroll-animate/components/svelte — Svelte integration (v3.8).
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.cjs","sources":["../../src/components/frameworks/svelte.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/svelte — Svelte integration (v3.8).\n * Svelte (3, 4, 5) renders `<usa-*>` tags natively; `use:usa` sets\n * **properties** and `usa:*` listeners in one place, and `defineUsa()`\n * registers the elements on the client only (safe in SvelteKit SSR).\n *\n * ```svelte\n * <script>\n * import { usa, defineUsa } from 'use-scroll-animate/components/svelte';\n * import { onMount } from 'svelte';\n * onMount(() => defineUsa(['click', 'ui']));\n * let on = false;\n * </script>\n * <usa-toggle use:usa={{ props: { checked: on }, on: { change: (e) => (on = e.detail.checked) } }}></usa-toggle>\n * ```\n * Plain `on:usa:change` does not compile in Svelte 3/4 (colon); use the action or `onusa:change` in Svelte 5.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/** Svelte action: `use:usa={{ props, on }}`. */\nexport function usa(node: HTMLElement, binding: UsaBinding = {}): { update(b: UsaBinding): void; destroy(): void } {\n return bindUsa(node, binding);\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` for SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n"],"names":["bindUsa","defineComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;AAgBG;AAOH;SACgB,GAAG,CAAC,IAAiB,EAAE,UAAsB,EAAE,EAAA;AAC7D,IAAA,OAAOA,YAAO,CAAC,IAAI,EAAE,OAAO,CAAC;AAC/B;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAEC,2BAAgB,CAAC,UAAU,CAAC;AACjE;;;;;;;"}
1
+ {"version":3,"file":"svelte.cjs","sources":["../../src/components/frameworks/svelte.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/svelte — Svelte integration (v3.8).\n * Svelte (3, 4, 5) renders `<usa-*>` tags natively; `use:usa` sets\n * **properties** and `usa:*` listeners in one place, and `defineUsa()`\n * registers the elements on the client only (safe in SvelteKit SSR).\n *\n * ```svelte\n * <script>\n * import { usa, defineUsa } from 'use-scroll-animate/components/svelte';\n * import { onMount } from 'svelte';\n * onMount(() => defineUsa(['click', 'ui']));\n * let on = false;\n * </script>\n * <usa-toggle use:usa={{ props: { checked: on }, on: { change: (e) => (on = e.detail.checked) } }}></usa-toggle>\n * ```\n * Plain `on:usa:change` does not compile in Svelte 3/4 (colon); use the action or `onusa:change` in Svelte 5.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/** Svelte action: `use:usa={{ props, on }}`. */\nexport function usa(node: HTMLElement, binding: UsaBinding = {}): { update(b: UsaBinding): void; destroy(): void } {\n return bindUsa(node, binding);\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` for SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n"],"names":["bindUsa","defineComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;AAgBG;AAOH;SACgB,GAAG,CAAC,IAAiB,EAAE,UAAsB,EAAE,EAAA;AAC7D,IAAA,OAAOA,YAAO,CAAC,IAAI,EAAE,OAAO,CAAC;AAC/B;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAEC,2BAAgB,CAAC,UAAU,CAAC;AACjE;;;;;;;"}
@@ -622,19 +622,6 @@ interface UsaAccordionElement extends UsaElement {
622
622
  toggleItem(details: HTMLDetailsElement, open?: boolean): Promise<void>;
623
623
  }
624
624
 
625
- /**
626
- * `<usa-flip-list>` — animates its children to their new places whenever
627
- * they are added, removed or reordered (FLIP: transforms only). Works with
628
- * any rendering: plain DOM, React keyed lists, Vue `v-for`, Svelte `{#each}`.
629
- *
630
- * Attributes: `duration` (ms, 420), `easing`, `disabled`.
631
- * Method: `flip(mutate)` for explicit changes (also measures resizes).
632
- * Reduced motion: no animation.
633
- */
634
- interface UsaFlipListElement extends UsaElement {
635
- flip(mutate: () => void | Promise<void>): Promise<void>;
636
- }
637
-
638
625
  /**
639
626
  * `<usa-view-switch>` — shows one of its children at a time (tabs, wizard
640
627
  * steps, app pages) and animates between them. Children are views; name
@@ -654,15 +641,15 @@ interface UsaViewSwitchElement extends UsaElement {
654
641
 
655
642
  /**
656
643
  * use-scroll-animate/components/transitions — view & layout transitions.
657
- * `<usa-dialog>`, `<usa-accordion>`, `<usa-flip-list>`, `<usa-view-switch>`
658
- * and the `viewTransition()`, `flip()`, `connectedAnimation()` helpers.
644
+ * `<usa-dialog>`, `<usa-accordion>`, `<usa-view-switch>`
645
+ * and the `viewTransition()` and `flip()` helpers (4.0: `<usa-flip-list>` → `<usa-auto-animate>`,
646
+ * `connectedAnimation()` → `sharedTransition()`, both in `components/layout`).
659
647
  */
660
648
 
661
649
  declare global {
662
650
  interface HTMLElementTagNameMap {
663
651
  'usa-dialog': UsaDialogElement;
664
652
  'usa-accordion': UsaAccordionElement;
665
- 'usa-flip-list': UsaFlipListElement;
666
653
  'usa-view-switch': UsaViewSwitchElement;
667
654
  }
668
655
  }
@@ -1621,7 +1608,7 @@ declare const COMPONENT_CATEGORIES: {
1621
1608
  readonly interaction: readonly ["usa-ripple", "usa-magnetic", "usa-tilt", "usa-spotlight", "usa-press", "usa-toggle"];
1622
1609
  readonly feedback: readonly ["usa-spinner", "usa-skeleton", "usa-progress", "usa-toaster", "usa-check"];
1623
1610
  readonly background: readonly ["usa-aurora", "usa-particles", "usa-grain", "usa-marquee", "usa-acrylic", "usa-grid-glow", "usa-blobs", "usa-water-ripple", "usa-dot-network"];
1624
- readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-flip-list", "usa-view-switch"];
1611
+ readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-view-switch"];
1625
1612
  readonly physics: readonly ["usa-spring", "usa-draggable", "usa-overscroll"];
1626
1613
  readonly cards: readonly ["usa-card", "usa-card-stack", "usa-sticky-stack", "usa-carousel-3d"];
1627
1614
  readonly click: readonly ["usa-click", "usa-button", "usa-icon-morph", "usa-like", "usa-hold", "usa-double-tap", "usa-checkbox"];
@@ -622,19 +622,6 @@ interface UsaAccordionElement extends UsaElement {
622
622
  toggleItem(details: HTMLDetailsElement, open?: boolean): Promise<void>;
623
623
  }
624
624
 
625
- /**
626
- * `<usa-flip-list>` — animates its children to their new places whenever
627
- * they are added, removed or reordered (FLIP: transforms only). Works with
628
- * any rendering: plain DOM, React keyed lists, Vue `v-for`, Svelte `{#each}`.
629
- *
630
- * Attributes: `duration` (ms, 420), `easing`, `disabled`.
631
- * Method: `flip(mutate)` for explicit changes (also measures resizes).
632
- * Reduced motion: no animation.
633
- */
634
- interface UsaFlipListElement extends UsaElement {
635
- flip(mutate: () => void | Promise<void>): Promise<void>;
636
- }
637
-
638
625
  /**
639
626
  * `<usa-view-switch>` — shows one of its children at a time (tabs, wizard
640
627
  * steps, app pages) and animates between them. Children are views; name
@@ -654,15 +641,15 @@ interface UsaViewSwitchElement extends UsaElement {
654
641
 
655
642
  /**
656
643
  * use-scroll-animate/components/transitions — view & layout transitions.
657
- * `<usa-dialog>`, `<usa-accordion>`, `<usa-flip-list>`, `<usa-view-switch>`
658
- * and the `viewTransition()`, `flip()`, `connectedAnimation()` helpers.
644
+ * `<usa-dialog>`, `<usa-accordion>`, `<usa-view-switch>`
645
+ * and the `viewTransition()` and `flip()` helpers (4.0: `<usa-flip-list>` → `<usa-auto-animate>`,
646
+ * `connectedAnimation()` → `sharedTransition()`, both in `components/layout`).
659
647
  */
660
648
 
661
649
  declare global {
662
650
  interface HTMLElementTagNameMap {
663
651
  'usa-dialog': UsaDialogElement;
664
652
  'usa-accordion': UsaAccordionElement;
665
- 'usa-flip-list': UsaFlipListElement;
666
653
  'usa-view-switch': UsaViewSwitchElement;
667
654
  }
668
655
  }
@@ -1621,7 +1608,7 @@ declare const COMPONENT_CATEGORIES: {
1621
1608
  readonly interaction: readonly ["usa-ripple", "usa-magnetic", "usa-tilt", "usa-spotlight", "usa-press", "usa-toggle"];
1622
1609
  readonly feedback: readonly ["usa-spinner", "usa-skeleton", "usa-progress", "usa-toaster", "usa-check"];
1623
1610
  readonly background: readonly ["usa-aurora", "usa-particles", "usa-grain", "usa-marquee", "usa-acrylic", "usa-grid-glow", "usa-blobs", "usa-water-ripple", "usa-dot-network"];
1624
- readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-flip-list", "usa-view-switch"];
1611
+ readonly transitions: readonly ["usa-dialog", "usa-accordion", "usa-view-switch"];
1625
1612
  readonly physics: readonly ["usa-spring", "usa-draggable", "usa-overscroll"];
1626
1613
  readonly cards: readonly ["usa-card", "usa-card-stack", "usa-sticky-stack", "usa-carousel-3d"];
1627
1614
  readonly click: readonly ["usa-click", "usa-button", "usa-icon-morph", "usa-like", "usa-hold", "usa-double-tap", "usa-checkbox"];
@@ -2,28 +2,29 @@ import { defineComponents } from '../components.js';
2
2
  import { b as bindUsa } from '../chunks/bind-B_CTL6Qn.js';
3
3
  export { u as usaEventName } from '../chunks/bind-B_CTL6Qn.js';
4
4
  import './reveal.js';
5
- import '../chunks/base-BRIPyPtX.js';
5
+ import '../chunks/base-ZARFccur.js';
6
6
  import './text.js';
7
7
  import './interaction.js';
8
8
  import './feedback.js';
9
9
  import './background.js';
10
- import '../chunks/variants-DTypaOH3.js';
10
+ import '../chunks/variants-DvnxvRCM.js';
11
11
  import './transitions.js';
12
12
  import './physics.js';
13
- import '../chunks/spring-UBPhrh1X.js';
13
+ import '../chunks/spring-E2ickYNI.js';
14
14
  import './cards.js';
15
15
  import './click.js';
16
16
  import './ui.js';
17
17
  import './page.js';
18
18
  import './timeline.js';
19
+ import '../chunks/core-Co-6AL0h.js';
19
20
  import './gesture.js';
20
- import '../chunks/core-CYozf_E-.js';
21
+ import '../chunks/core-DKY-fVzR.js';
21
22
  import './svg.js';
22
23
  import './webgl.js';
23
24
  import './depth.js';
24
25
  import './layout.js';
25
26
  import './packs.js';
26
- import '../chunks/index-tags-BmQR17Sb.js';
27
+ import '../chunks/index-tags-43Xtd01A.js';
27
28
 
28
29
  /**
29
30
  * use-scroll-animate/components/svelte — Svelte integration (v3.8).
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.js","sources":["../../src/components/frameworks/svelte.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/svelte — Svelte integration (v3.8).\n * Svelte (3, 4, 5) renders `<usa-*>` tags natively; `use:usa` sets\n * **properties** and `usa:*` listeners in one place, and `defineUsa()`\n * registers the elements on the client only (safe in SvelteKit SSR).\n *\n * ```svelte\n * <script>\n * import { usa, defineUsa } from 'use-scroll-animate/components/svelte';\n * import { onMount } from 'svelte';\n * onMount(() => defineUsa(['click', 'ui']));\n * let on = false;\n * </script>\n * <usa-toggle use:usa={{ props: { checked: on }, on: { change: (e) => (on = e.detail.checked) } }}></usa-toggle>\n * ```\n * Plain `on:usa:change` does not compile in Svelte 3/4 (colon); use the action or `onusa:change` in Svelte 5.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/** Svelte action: `use:usa={{ props, on }}`. */\nexport function usa(node: HTMLElement, binding: UsaBinding = {}): { update(b: UsaBinding): void; destroy(): void } {\n return bindUsa(node, binding);\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` for SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;AAgBG;AAOH;SACgB,GAAG,CAAC,IAAiB,EAAE,UAAsB,EAAE,EAAA;AAC7D,IAAA,OAAO,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;AAC/B;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE;;;;"}
1
+ {"version":3,"file":"svelte.js","sources":["../../src/components/frameworks/svelte.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/svelte — Svelte integration (v3.8).\n * Svelte (3, 4, 5) renders `<usa-*>` tags natively; `use:usa` sets\n * **properties** and `usa:*` listeners in one place, and `defineUsa()`\n * registers the elements on the client only (safe in SvelteKit SSR).\n *\n * ```svelte\n * <script>\n * import { usa, defineUsa } from 'use-scroll-animate/components/svelte';\n * import { onMount } from 'svelte';\n * onMount(() => defineUsa(['click', 'ui']));\n * let on = false;\n * </script>\n * <usa-toggle use:usa={{ props: { checked: on }, on: { change: (e) => (on = e.detail.checked) } }}></usa-toggle>\n * ```\n * Plain `on:usa:change` does not compile in Svelte 3/4 (colon); use the action or `onusa:change` in Svelte 5.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\nimport { bindUsa, type UsaBinding } from './bind';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/** Svelte action: `use:usa={{ props, on }}`. */\nexport function usa(node: HTMLElement, binding: UsaBinding = {}): { update(b: UsaBinding): void; destroy(): void } {\n return bindUsa(node, binding);\n}\n\n/** Register the elements (all, or some categories) — call from `onMount` for SSR apps. */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;AAgBG;AAOH;SACgB,GAAG,CAAC,IAAiB,EAAE,UAAsB,EAAE,EAAA;AAC7D,IAAA,OAAO,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;AAC/B;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var base = require('../chunks/base-Dm6ee5ug.cjs');
3
+ var base = require('../chunks/base-CXx7jZ-o.cjs');
4
4
 
5
5
  const NUM = /-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi;
6
6
  /** `true` when two path strings share the same commands (so their numbers can be interpolated). */
@@ -1,5 +1,5 @@
1
- import { b as clamp, m as motionScale, e as caf, p as prefersReducedMotion, n as now, r as raf, i as defineElement, h as EASE_OUT } from '../chunks/base-BRIPyPtX.js';
2
- export { a as configureComponents } from '../chunks/base-BRIPyPtX.js';
1
+ import { d as clamp, m as motionScale, b as caf, p as prefersReducedMotion, n as now, r as raf, h as defineElement, i as EASE_OUT } from '../chunks/base-ZARFccur.js';
2
+ export { a as configureComponents } from '../chunks/base-ZARFccur.js';
3
3
 
4
4
  const NUM = /-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi;
5
5
  /** `true` when two path strings share the same commands (so their numbers can be interpolated). */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var base = require('../chunks/base-Dm6ee5ug.cjs');
3
+ var base = require('../chunks/base-CXx7jZ-o.cjs');
4
4
 
5
5
  var css$5 = "usa-typewriter{white-space:pre-wrap}usa-typewriter .usa-tw-caret{display:inline-block;width:var(--usa-caret-width,0.08em);height:1.05em;margin-left:0.06em;vertical-align:-0.12em;background:var(--usa-caret-color,currentColor);animation:usa-caret 1.06s steps(1) infinite}usa-typewriter[data-typing] .usa-tw-caret{animation:none}usa-typewriter[data-no-cursor] .usa-tw-caret{display:none}@keyframes usa-caret{50%{opacity:0}}@media (prefers-reduced-motion:reduce){usa-typewriter .usa-tw-caret,usa-shimmer-text{animation:none}}";
6
6
 
@@ -1,5 +1,5 @@
1
- import { i as defineElement, l as srText, e as caf, n as now, r as raf, h as EASE_OUT, E as EASE_SPRING, b as clamp } from '../chunks/base-BRIPyPtX.js';
2
- export { a as configureComponents, p as prefersReducedMotion } from '../chunks/base-BRIPyPtX.js';
1
+ import { h as defineElement, j as srText, b as caf, n as now, r as raf, i as EASE_OUT, E as EASE_SPRING, d as clamp } from '../chunks/base-ZARFccur.js';
2
+ export { a as configureComponents, p as prefersReducedMotion } from '../chunks/base-ZARFccur.js';
3
3
 
4
4
  var css$5 = "usa-typewriter{white-space:pre-wrap}usa-typewriter .usa-tw-caret{display:inline-block;width:var(--usa-caret-width,0.08em);height:1.05em;margin-left:0.06em;vertical-align:-0.12em;background:var(--usa-caret-color,currentColor);animation:usa-caret 1.06s steps(1) infinite}usa-typewriter[data-typing] .usa-tw-caret{animation:none}usa-typewriter[data-no-cursor] .usa-tw-caret{display:none}@keyframes usa-caret{50%{opacity:0}}@media (prefers-reduced-motion:reduce){usa-typewriter .usa-tw-caret,usa-shimmer-text{animation:none}}";
5
5