use-scroll-animate 3.4.0 → 3.6.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 (77) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +2 -0
  3. package/README_ja.md +2 -0
  4. package/README_zh.md +2 -0
  5. package/dist/chunks/{base-Cu-86Z31.js → base-BpROOcey.js} +2 -2
  6. package/dist/chunks/{base-Cu-86Z31.js.map → base-BpROOcey.js.map} +1 -1
  7. package/dist/chunks/core-IaorbTdu.cjs +185 -0
  8. package/dist/chunks/core-IaorbTdu.cjs.map +1 -0
  9. package/dist/chunks/core-uxs3ETou.js +181 -0
  10. package/dist/chunks/core-uxs3ETou.js.map +1 -0
  11. package/dist/chunks/{index-tags-qc6OWsJ8.js → index-tags-BANJ-e4H.js} +3 -1
  12. package/dist/chunks/{index-tags-qc6OWsJ8.js.map → index-tags-BANJ-e4H.js.map} +1 -1
  13. package/dist/chunks/{index-tags-BKcHAxBK.cjs → index-tags-wbuPiMR6.cjs} +3 -1
  14. package/dist/chunks/{index-tags-BKcHAxBK.cjs.map → index-tags-wbuPiMR6.cjs.map} +1 -1
  15. package/dist/chunks/{spring-BV-cpTHC.js → spring-C-fw7_9f.js} +2 -2
  16. package/dist/chunks/{spring-BV-cpTHC.js.map → spring-C-fw7_9f.js.map} +1 -1
  17. package/dist/chunks/{variants-BQ3gCb5L.js → variants-CHe1VbSn.js} +2 -2
  18. package/dist/chunks/{variants-BQ3gCb5L.js.map → variants-CHe1VbSn.js.map} +1 -1
  19. package/dist/components/background.js +3 -3
  20. package/dist/components/cards.js +3 -3
  21. package/dist/components/click.js +3 -3
  22. package/dist/components/depth.cjs +252 -0
  23. package/dist/components/depth.cjs.map +1 -0
  24. package/dist/components/depth.css +3 -0
  25. package/dist/components/depth.d.cts +121 -0
  26. package/dist/components/depth.d.ts +121 -0
  27. package/dist/components/depth.js +243 -0
  28. package/dist/components/depth.js.map +1 -0
  29. package/dist/components/feedback.js +2 -2
  30. package/dist/components/gesture.cjs +6 -182
  31. package/dist/components/gesture.cjs.map +1 -1
  32. package/dist/components/gesture.js +6 -181
  33. package/dist/components/gesture.js.map +1 -1
  34. package/dist/components/interaction.js +2 -2
  35. package/dist/components/jsx.d.cts +2 -0
  36. package/dist/components/jsx.d.ts +2 -0
  37. package/dist/components/layout.cjs +259 -0
  38. package/dist/components/layout.cjs.map +1 -0
  39. package/dist/components/layout.css +3 -0
  40. package/dist/components/layout.d.cts +134 -0
  41. package/dist/components/layout.d.ts +134 -0
  42. package/dist/components/layout.js +250 -0
  43. package/dist/components/layout.js.map +1 -0
  44. package/dist/components/lazy.cjs +3 -1
  45. package/dist/components/lazy.cjs.map +1 -1
  46. package/dist/components/lazy.d.cts +2 -0
  47. package/dist/components/lazy.d.ts +2 -0
  48. package/dist/components/lazy.js +3 -1
  49. package/dist/components/lazy.js.map +1 -1
  50. package/dist/components/page.js +3 -3
  51. package/dist/components/physics.js +4 -4
  52. package/dist/components/react.cjs +1 -1
  53. package/dist/components/react.js +1 -1
  54. package/dist/components/reveal.js +2 -2
  55. package/dist/components/svg.js +2 -2
  56. package/dist/components/text.js +2 -2
  57. package/dist/components/timeline.js +2 -2
  58. package/dist/components/transitions.js +2 -2
  59. package/dist/components/ui.js +5 -5
  60. package/dist/components/vue.cjs +4 -1
  61. package/dist/components/vue.cjs.map +1 -1
  62. package/dist/components/vue.d.cts +82 -0
  63. package/dist/components/vue.d.ts +82 -0
  64. package/dist/components/vue.js +7 -4
  65. package/dist/components/vue.js.map +1 -1
  66. package/dist/components/webgl.js +2 -2
  67. package/dist/components.cjs +23 -4
  68. package/dist/components.cjs.map +1 -1
  69. package/dist/components.css +2 -0
  70. package/dist/components.d.cts +165 -2
  71. package/dist/components.d.ts +165 -2
  72. package/dist/components.js +15 -8
  73. package/dist/components.js.map +1 -1
  74. package/dist/components.umd.js +2 -2
  75. package/dist/components.umd.js.map +1 -1
  76. package/docs/components.md +20 -0
  77. package/package.json +24 -2
@@ -1,5 +1,5 @@
1
- import { p as prefersReducedMotion, d as caf, f as clamp, b as applyFrame, r as raf, m as motionScale, n as now, h as defineElement } from '../chunks/base-Cu-86Z31.js';
2
- export { a as configureComponents } from '../chunks/base-Cu-86Z31.js';
1
+ import { p as prefersReducedMotion, e as caf, b as clamp, d as applyFrame, r as raf, m as motionScale, n as now, h as defineElement } from '../chunks/base-BpROOcey.js';
2
+ export { a as configureComponents } from '../chunks/base-BpROOcey.js';
3
3
 
4
4
  /** Keyframe presets usable by name in `to()` and `data-tl`. */
5
5
  const TIMELINE_PRESETS = {
@@ -1,5 +1,5 @@
1
- import { h as defineElement, k as kindOf, s as shadowStyles, i as EASE_OUT, F as FLUENT_DECELERATE, p as prefersReducedMotion } from '../chunks/base-Cu-86Z31.js';
2
- export { a as configureComponents } from '../chunks/base-Cu-86Z31.js';
1
+ import { h as defineElement, k as kindOf, s as shadowStyles, i as EASE_OUT, F as FLUENT_DECELERATE, p as prefersReducedMotion } from '../chunks/base-BpROOcey.js';
2
+ export { a as configureComponents } from '../chunks/base-BpROOcey.js';
3
3
 
4
4
  var shadowCss = ":host{display:contents}dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;overflow:hidden}dialog:not([open]){display:none}dialog::backdrop{background:transparent}[part=\"backdrop\"]{position:absolute;inset:0;background:var(--usa-dialog-backdrop,rgb(0 0 0 / 0.42))}[part=\"panel\"]{position:absolute;left:50%;top:50%;translate:-50% -50%;box-sizing:border-box;width:min(var(--usa-dialog-width,480px),calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:var(--usa-dialog-padding,24px);border-radius:var(--usa-dialog-radius,12px);background:var(--usa-dialog-bg,Canvas);color:var(--usa-dialog-fg,CanvasText);box-shadow:0 32px 64px -12px rgb(0 0 0 / 0.45),0 0 0 1px rgb(127 127 127 / 0.18)}dialog[data-kind^=\"drawer\"] [part=\"panel\"]{top:0;bottom:0;translate:none;max-height:none;height:100%;border-radius:0;width:min(var(--usa-dialog-width,380px),88vw)}dialog[data-kind=\"drawer-start\"] [part=\"panel\"]{left:0}dialog[data-kind=\"drawer-end\"] [part=\"panel\"]{left:auto;right:0}dialog[data-kind=\"drawer-bottom\"] [part=\"panel\"],dialog[data-kind=\"sheet\"] [part=\"panel\"]{top:auto;bottom:0;left:0;right:0;translate:none;width:100%;height:auto;max-height:85vh;border-radius:var(--usa-dialog-radius,16px) var(--usa-dialog-radius,16px) 0 0}dialog[data-kind=\"sheet\"] [part=\"panel\"]{left:50%;translate:-50% 0;width:min(var(--usa-dialog-width,560px),100vw)}";
5
5
 
@@ -1,8 +1,8 @@
1
- import { h as defineElement, f as clamp, d as caf, r as raf } from '../chunks/base-Cu-86Z31.js';
2
- export { a as configureComponents, p as prefersReducedMotion } from '../chunks/base-Cu-86Z31.js';
3
- import { d as springEasing, c as createSpring, p as projectInertia, s as snapTo, a as rubberBand } from '../chunks/spring-BV-cpTHC.js';
4
- import { a as adoptVariants } from '../chunks/variants-BQ3gCb5L.js';
5
- export { V as VARIANTS, s as setVariant } from '../chunks/variants-BQ3gCb5L.js';
1
+ import { h as defineElement, b as clamp, e as caf, r as raf } from '../chunks/base-BpROOcey.js';
2
+ export { a as configureComponents, p as prefersReducedMotion } from '../chunks/base-BpROOcey.js';
3
+ import { d as springEasing, c as createSpring, p as projectInertia, s as snapTo, a as rubberBand } from '../chunks/spring-C-fw7_9f.js';
4
+ import { a as adoptVariants } from '../chunks/variants-CHe1VbSn.js';
5
+ export { V as VARIANTS, s as setVariant } from '../chunks/variants-CHe1VbSn.js';
6
6
 
7
7
  /** Position a fixed `floating` element next to `anchor`, flipping when it would leave the viewport. */
8
8
  function place(floating, anchor, placement = 'top', gap = 8) {
@@ -17,9 +17,12 @@ require('./ui.cjs');
17
17
  require('./page.cjs');
18
18
  require('./timeline.cjs');
19
19
  require('./gesture.cjs');
20
+ require('../chunks/core-IaorbTdu.cjs');
20
21
  require('./svg.cjs');
21
22
  require('./webgl.cjs');
22
- require('../chunks/index-tags-BKcHAxBK.cjs');
23
+ require('./depth.cjs');
24
+ require('./layout.cjs');
25
+ require('../chunks/index-tags-wbuPiMR6.cjs');
23
26
 
24
27
  /**
25
28
  * use-scroll-animate/components/vue — Vue integration (v2.9).
@@ -1 +1 @@
1
- {"version":3,"file":"vue.cjs","sources":["../../src/components/frameworks/vue.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/vue — Vue integration (v2.9).\n *\n * ```js\n * // vite.config.js\n * import vue from '@vitejs/plugin-vue';\n * import { isUsaElement } from 'use-scroll-animate/components/vue';\n * export default { plugins: [vue({ template: { compilerOptions: { isCustomElement: isUsaElement } } })] };\n *\n * // main.js\n * import { UsaPlugin } from 'use-scroll-animate/components/vue';\n * app.use(UsaPlugin, { categories: ['click', 'cards'] });\n * ```\n * In templates, listen with `@usa:change=\"…\"` and bind properties with\n * `.prop`: `<usa-toggle :checked.prop=\"on\" @usa:change=\"on = $event.detail.checked\">`.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\n\n/** `compilerOptions.isCustomElement` predicate for every `<usa-*>` tag. */\nexport const isUsaElement = (tag: string): boolean => tag.startsWith('usa-');\n\nexport interface UsaPluginOptions {\n /** Only register these categories (default: all). */\n categories?: ComponentCategory[];\n}\n\n/** Vue plugin: registers the `<usa-*>` elements (client only) and sets `isCustomElement` at runtime. */\nexport const UsaPlugin = {\n install(app: { config: { compilerOptions?: { isCustomElement?: (t: string) => boolean } } }, options: UsaPluginOptions = {}): void {\n const co = (app.config.compilerOptions ||= {});\n const prev = co.isCustomElement;\n co.isCustomElement = (t: string) => isUsaElement(t) || !!prev?.(t);\n defineComponents(options.categories);\n },\n};\n"],"names":["defineComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAGH;AACO,MAAM,YAAY,GAAG,CAAC,GAAW,KAAc,GAAG,CAAC,UAAU,CAAC,MAAM;AAO3E;AACO,MAAM,SAAS,GAAG;AACvB,IAAA,OAAO,CAAC,GAAmF,EAAE,OAAA,GAA4B,EAAE,EAAA;;AACzH,QAAA,MAAM,EAAE,IAAG,CAAA,EAAA,GAAC,GAAG,CAAC,MAAM,EAAC,eAAe,KAAA,EAAA,CAAf,eAAe,GAAK,EAAE,EAAC;AAC9C,QAAA,MAAM,IAAI,GAAG,EAAE,CAAC,eAAe;QAC/B,EAAE,CAAC,eAAe,GAAG,CAAC,CAAS,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;AAClE,QAAAA,2BAAgB,CAAC,OAAO,CAAC,UAAU,CAAC;IACtC,CAAC;;;;;;"}
1
+ {"version":3,"file":"vue.cjs","sources":["../../src/components/frameworks/vue.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/vue — Vue integration (v2.9).\n *\n * ```js\n * // vite.config.js\n * import vue from '@vitejs/plugin-vue';\n * import { isUsaElement } from 'use-scroll-animate/components/vue';\n * export default { plugins: [vue({ template: { compilerOptions: { isCustomElement: isUsaElement } } })] };\n *\n * // main.js\n * import { UsaPlugin } from 'use-scroll-animate/components/vue';\n * app.use(UsaPlugin, { categories: ['click', 'cards'] });\n * ```\n * In templates, listen with `@usa:change=\"…\"` and bind properties with\n * `.prop`: `<usa-toggle :checked.prop=\"on\" @usa:change=\"on = $event.detail.checked\">`.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\n\n/** `compilerOptions.isCustomElement` predicate for every `<usa-*>` tag. */\nexport const isUsaElement = (tag: string): boolean => tag.startsWith('usa-');\n\nexport interface UsaPluginOptions {\n /** Only register these categories (default: all). */\n categories?: ComponentCategory[];\n}\n\n/** Vue plugin: registers the `<usa-*>` elements (client only) and sets `isCustomElement` at runtime. */\nexport const UsaPlugin = {\n install(app: { config: { compilerOptions?: { isCustomElement?: (t: string) => boolean } } }, options: UsaPluginOptions = {}): void {\n const co = (app.config.compilerOptions ||= {});\n const prev = co.isCustomElement;\n co.isCustomElement = (t: string) => isUsaElement(t) || !!prev?.(t);\n defineComponents(options.categories);\n },\n};\n"],"names":["defineComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAGH;AACO,MAAM,YAAY,GAAG,CAAC,GAAW,KAAc,GAAG,CAAC,UAAU,CAAC,MAAM;AAO3E;AACO,MAAM,SAAS,GAAG;AACvB,IAAA,OAAO,CAAC,GAAmF,EAAE,OAAA,GAA4B,EAAE,EAAA;;AACzH,QAAA,MAAM,EAAE,IAAG,CAAA,EAAA,GAAC,GAAG,CAAC,MAAM,EAAC,eAAe,KAAA,EAAA,CAAf,eAAe,GAAK,EAAE,EAAC;AAC9C,QAAA,MAAM,IAAI,GAAG,EAAE,CAAC,eAAe;QAC/B,EAAE,CAAC,eAAe,GAAG,CAAC,CAAS,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;AAClE,QAAAA,2BAAgB,CAAC,OAAO,CAAC,UAAU,CAAC;IACtC,CAAC;;;;;;"}
@@ -1510,6 +1510,86 @@ declare global {
1510
1510
  }
1511
1511
  }
1512
1512
 
1513
+ /**
1514
+ * `<usa-cube>` — a CSS 3D cube whose up-to-six element children are its faces
1515
+ * (front, right, back, left, top, bottom). Rotate with drag / swipe, arrow
1516
+ * keys, `autoplay` (ms) or `show(face | index)`; spring-driven.
1517
+ * Attributes: `size` (px, 200), `autoplay`, `perspective` (900).
1518
+ * `usa:change` (`{ index, face }`). Reduced motion: instant face switch.
1519
+ */
1520
+ interface UsaCubeElement extends UsaElement {
1521
+ readonly index: number;
1522
+ show(face: number | string): void;
1523
+ next(): void;
1524
+ prev(): void;
1525
+ }
1526
+
1527
+ /**
1528
+ * `<usa-depth>` — depth parallax: children with `data-depth` (-1…1, 0 = the
1529
+ * screen plane) move and scale by depth as the pointer moves, the device
1530
+ * tilts (`orientation`) or the page scrolls (`scroll`).
1531
+ * Attributes: `source` (`pointer` default · `orientation` · `scroll` ·
1532
+ * space-separated mix), `strength` (px at depth 1, 40), `rotate` (max tilt
1533
+ * of the whole scene in deg, 0). `requestPermission()` for iOS motion.
1534
+ * Reduced motion: layers stay flat.
1535
+ */
1536
+ interface UsaDepthElement extends UsaElement {
1537
+ /** Current -1…1 input. */
1538
+ readonly tilt: {
1539
+ x: number;
1540
+ y: number;
1541
+ };
1542
+ requestPermission(): Promise<boolean>;
1543
+ }
1544
+
1545
+ /**
1546
+ * use-scroll-animate/components/depth — 3D (v3.5).
1547
+ * `<usa-cube>` (CSS 3D cube), `<usa-depth>` (layered depth parallax driven by
1548
+ * pointer, device orientation or scroll) and `deviceTilt()`. The 3D ring
1549
+ * carousel is `<usa-carousel-3d>` in `components/cards`.
1550
+ */
1551
+
1552
+ declare global {
1553
+ interface HTMLElementTagNameMap {
1554
+ 'usa-cube': UsaCubeElement;
1555
+ 'usa-depth': UsaDepthElement;
1556
+ }
1557
+ }
1558
+
1559
+ /**
1560
+ * `<usa-auto-animate>` — wraps `autoAnimate()`: any change to its children
1561
+ * (add, remove, re-order, filter, size) animates. Attributes `duration`
1562
+ * (300), `no-scale`. Works for lists and CSS grids alike.
1563
+ */
1564
+ interface UsaAutoAnimateElement extends UsaElement {
1565
+ enable(): void;
1566
+ disable(): void;
1567
+ }
1568
+ /**
1569
+ * `<usa-masonry>` — a masonry (Pinterest-style) grid: children are placed in
1570
+ * the shortest column and glide to new spots when the width, the items or
1571
+ * their sizes change. Attributes `columns` (fixed count) or `min` (min
1572
+ * column width px, 220), `gap` (16). Without JS layout support it is a
1573
+ * plain CSS multi-column flow. Reduced motion: no glide.
1574
+ */
1575
+ interface UsaMasonryElement extends UsaElement {
1576
+ layout(): void;
1577
+ }
1578
+
1579
+ /**
1580
+ * use-scroll-animate/components/layout — layout animation (v3.6).
1581
+ * `autoAnimate()` / `<usa-auto-animate>` (list & grid reflow),
1582
+ * `<usa-masonry>`, and `sharedTransition()` for shared-element transitions
1583
+ * (View Transitions API with a FLIP fallback).
1584
+ */
1585
+
1586
+ declare global {
1587
+ interface HTMLElementTagNameMap {
1588
+ 'usa-auto-animate': UsaAutoAnimateElement;
1589
+ 'usa-masonry': UsaMasonryElement;
1590
+ }
1591
+ }
1592
+
1513
1593
  /** The component categories and their default tags. */
1514
1594
  declare const COMPONENT_CATEGORIES: {
1515
1595
  readonly reveal: readonly ["usa-reveal", "usa-stagger", "usa-scroll-progress", "usa-scrolly"];
@@ -1527,6 +1607,8 @@ declare const COMPONENT_CATEGORIES: {
1527
1607
  readonly gesture: readonly ["usa-swipeable", "usa-pinch-zoom"];
1528
1608
  readonly svg: readonly ["usa-draw", "usa-morph", "usa-mask-reveal", "usa-anim-icon"];
1529
1609
  readonly webgl: readonly ["usa-shader", "usa-distort", "usa-liquid"];
1610
+ readonly depth: readonly ["usa-cube", "usa-depth"];
1611
+ readonly layout: readonly ["usa-auto-animate", "usa-masonry"];
1530
1612
  };
1531
1613
  type ComponentCategory = keyof typeof COMPONENT_CATEGORIES;
1532
1614
 
@@ -1510,6 +1510,86 @@ declare global {
1510
1510
  }
1511
1511
  }
1512
1512
 
1513
+ /**
1514
+ * `<usa-cube>` — a CSS 3D cube whose up-to-six element children are its faces
1515
+ * (front, right, back, left, top, bottom). Rotate with drag / swipe, arrow
1516
+ * keys, `autoplay` (ms) or `show(face | index)`; spring-driven.
1517
+ * Attributes: `size` (px, 200), `autoplay`, `perspective` (900).
1518
+ * `usa:change` (`{ index, face }`). Reduced motion: instant face switch.
1519
+ */
1520
+ interface UsaCubeElement extends UsaElement {
1521
+ readonly index: number;
1522
+ show(face: number | string): void;
1523
+ next(): void;
1524
+ prev(): void;
1525
+ }
1526
+
1527
+ /**
1528
+ * `<usa-depth>` — depth parallax: children with `data-depth` (-1…1, 0 = the
1529
+ * screen plane) move and scale by depth as the pointer moves, the device
1530
+ * tilts (`orientation`) or the page scrolls (`scroll`).
1531
+ * Attributes: `source` (`pointer` default · `orientation` · `scroll` ·
1532
+ * space-separated mix), `strength` (px at depth 1, 40), `rotate` (max tilt
1533
+ * of the whole scene in deg, 0). `requestPermission()` for iOS motion.
1534
+ * Reduced motion: layers stay flat.
1535
+ */
1536
+ interface UsaDepthElement extends UsaElement {
1537
+ /** Current -1…1 input. */
1538
+ readonly tilt: {
1539
+ x: number;
1540
+ y: number;
1541
+ };
1542
+ requestPermission(): Promise<boolean>;
1543
+ }
1544
+
1545
+ /**
1546
+ * use-scroll-animate/components/depth — 3D (v3.5).
1547
+ * `<usa-cube>` (CSS 3D cube), `<usa-depth>` (layered depth parallax driven by
1548
+ * pointer, device orientation or scroll) and `deviceTilt()`. The 3D ring
1549
+ * carousel is `<usa-carousel-3d>` in `components/cards`.
1550
+ */
1551
+
1552
+ declare global {
1553
+ interface HTMLElementTagNameMap {
1554
+ 'usa-cube': UsaCubeElement;
1555
+ 'usa-depth': UsaDepthElement;
1556
+ }
1557
+ }
1558
+
1559
+ /**
1560
+ * `<usa-auto-animate>` — wraps `autoAnimate()`: any change to its children
1561
+ * (add, remove, re-order, filter, size) animates. Attributes `duration`
1562
+ * (300), `no-scale`. Works for lists and CSS grids alike.
1563
+ */
1564
+ interface UsaAutoAnimateElement extends UsaElement {
1565
+ enable(): void;
1566
+ disable(): void;
1567
+ }
1568
+ /**
1569
+ * `<usa-masonry>` — a masonry (Pinterest-style) grid: children are placed in
1570
+ * the shortest column and glide to new spots when the width, the items or
1571
+ * their sizes change. Attributes `columns` (fixed count) or `min` (min
1572
+ * column width px, 220), `gap` (16). Without JS layout support it is a
1573
+ * plain CSS multi-column flow. Reduced motion: no glide.
1574
+ */
1575
+ interface UsaMasonryElement extends UsaElement {
1576
+ layout(): void;
1577
+ }
1578
+
1579
+ /**
1580
+ * use-scroll-animate/components/layout — layout animation (v3.6).
1581
+ * `autoAnimate()` / `<usa-auto-animate>` (list & grid reflow),
1582
+ * `<usa-masonry>`, and `sharedTransition()` for shared-element transitions
1583
+ * (View Transitions API with a FLIP fallback).
1584
+ */
1585
+
1586
+ declare global {
1587
+ interface HTMLElementTagNameMap {
1588
+ 'usa-auto-animate': UsaAutoAnimateElement;
1589
+ 'usa-masonry': UsaMasonryElement;
1590
+ }
1591
+ }
1592
+
1513
1593
  /** The component categories and their default tags. */
1514
1594
  declare const COMPONENT_CATEGORIES: {
1515
1595
  readonly reveal: readonly ["usa-reveal", "usa-stagger", "usa-scroll-progress", "usa-scrolly"];
@@ -1527,6 +1607,8 @@ declare const COMPONENT_CATEGORIES: {
1527
1607
  readonly gesture: readonly ["usa-swipeable", "usa-pinch-zoom"];
1528
1608
  readonly svg: readonly ["usa-draw", "usa-morph", "usa-mask-reveal", "usa-anim-icon"];
1529
1609
  readonly webgl: readonly ["usa-shader", "usa-distort", "usa-liquid"];
1610
+ readonly depth: readonly ["usa-cube", "usa-depth"];
1611
+ readonly layout: readonly ["usa-auto-animate", "usa-masonry"];
1530
1612
  };
1531
1613
  type ComponentCategory = keyof typeof COMPONENT_CATEGORIES;
1532
1614
 
@@ -1,23 +1,26 @@
1
1
  import { defineComponents } from '../components.js';
2
2
  import './reveal.js';
3
- import '../chunks/base-Cu-86Z31.js';
3
+ import '../chunks/base-BpROOcey.js';
4
4
  import './text.js';
5
5
  import './interaction.js';
6
6
  import './feedback.js';
7
7
  import './background.js';
8
- import '../chunks/variants-BQ3gCb5L.js';
8
+ import '../chunks/variants-CHe1VbSn.js';
9
9
  import './transitions.js';
10
10
  import './physics.js';
11
- import '../chunks/spring-BV-cpTHC.js';
11
+ import '../chunks/spring-C-fw7_9f.js';
12
12
  import './cards.js';
13
13
  import './click.js';
14
14
  import './ui.js';
15
15
  import './page.js';
16
16
  import './timeline.js';
17
17
  import './gesture.js';
18
+ import '../chunks/core-uxs3ETou.js';
18
19
  import './svg.js';
19
20
  import './webgl.js';
20
- import '../chunks/index-tags-qc6OWsJ8.js';
21
+ import './depth.js';
22
+ import './layout.js';
23
+ import '../chunks/index-tags-BANJ-e4H.js';
21
24
 
22
25
  /**
23
26
  * use-scroll-animate/components/vue — Vue integration (v2.9).
@@ -1 +1 @@
1
- {"version":3,"file":"vue.js","sources":["../../src/components/frameworks/vue.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/vue — Vue integration (v2.9).\n *\n * ```js\n * // vite.config.js\n * import vue from '@vitejs/plugin-vue';\n * import { isUsaElement } from 'use-scroll-animate/components/vue';\n * export default { plugins: [vue({ template: { compilerOptions: { isCustomElement: isUsaElement } } })] };\n *\n * // main.js\n * import { UsaPlugin } from 'use-scroll-animate/components/vue';\n * app.use(UsaPlugin, { categories: ['click', 'cards'] });\n * ```\n * In templates, listen with `@usa:change=\"…\"` and bind properties with\n * `.prop`: `<usa-toggle :checked.prop=\"on\" @usa:change=\"on = $event.detail.checked\">`.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\n\n/** `compilerOptions.isCustomElement` predicate for every `<usa-*>` tag. */\nexport const isUsaElement = (tag: string): boolean => tag.startsWith('usa-');\n\nexport interface UsaPluginOptions {\n /** Only register these categories (default: all). */\n categories?: ComponentCategory[];\n}\n\n/** Vue plugin: registers the `<usa-*>` elements (client only) and sets `isCustomElement` at runtime. */\nexport const UsaPlugin = {\n install(app: { config: { compilerOptions?: { isCustomElement?: (t: string) => boolean } } }, options: UsaPluginOptions = {}): void {\n const co = (app.config.compilerOptions ||= {});\n const prev = co.isCustomElement;\n co.isCustomElement = (t: string) => isUsaElement(t) || !!prev?.(t);\n defineComponents(options.categories);\n },\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAGH;AACO,MAAM,YAAY,GAAG,CAAC,GAAW,KAAc,GAAG,CAAC,UAAU,CAAC,MAAM;AAO3E;AACO,MAAM,SAAS,GAAG;AACvB,IAAA,OAAO,CAAC,GAAmF,EAAE,OAAA,GAA4B,EAAE,EAAA;;AACzH,QAAA,MAAM,EAAE,IAAG,CAAA,EAAA,GAAC,GAAG,CAAC,MAAM,EAAC,eAAe,KAAA,EAAA,CAAf,eAAe,GAAK,EAAE,EAAC;AAC9C,QAAA,MAAM,IAAI,GAAG,EAAE,CAAC,eAAe;QAC/B,EAAE,CAAC,eAAe,GAAG,CAAC,CAAS,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;AAClE,QAAA,gBAAgB,CAAC,OAAO,CAAC,UAAU,CAAC;IACtC,CAAC;;;;;"}
1
+ {"version":3,"file":"vue.js","sources":["../../src/components/frameworks/vue.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/vue — Vue integration (v2.9).\n *\n * ```js\n * // vite.config.js\n * import vue from '@vitejs/plugin-vue';\n * import { isUsaElement } from 'use-scroll-animate/components/vue';\n * export default { plugins: [vue({ template: { compilerOptions: { isCustomElement: isUsaElement } } })] };\n *\n * // main.js\n * import { UsaPlugin } from 'use-scroll-animate/components/vue';\n * app.use(UsaPlugin, { categories: ['click', 'cards'] });\n * ```\n * In templates, listen with `@usa:change=\"…\"` and bind properties with\n * `.prop`: `<usa-toggle :checked.prop=\"on\" @usa:change=\"on = $event.detail.checked\">`.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\n\n/** `compilerOptions.isCustomElement` predicate for every `<usa-*>` tag. */\nexport const isUsaElement = (tag: string): boolean => tag.startsWith('usa-');\n\nexport interface UsaPluginOptions {\n /** Only register these categories (default: all). */\n categories?: ComponentCategory[];\n}\n\n/** Vue plugin: registers the `<usa-*>` elements (client only) and sets `isCustomElement` at runtime. */\nexport const UsaPlugin = {\n install(app: { config: { compilerOptions?: { isCustomElement?: (t: string) => boolean } } }, options: UsaPluginOptions = {}): void {\n const co = (app.config.compilerOptions ||= {});\n const prev = co.isCustomElement;\n co.isCustomElement = (t: string) => isUsaElement(t) || !!prev?.(t);\n defineComponents(options.categories);\n },\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAGH;AACO,MAAM,YAAY,GAAG,CAAC,GAAW,KAAc,GAAG,CAAC,UAAU,CAAC,MAAM;AAO3E;AACO,MAAM,SAAS,GAAG;AACvB,IAAA,OAAO,CAAC,GAAmF,EAAE,OAAA,GAA4B,EAAE,EAAA;;AACzH,QAAA,MAAM,EAAE,IAAG,CAAA,EAAA,GAAC,GAAG,CAAC,MAAM,EAAC,eAAe,KAAA,EAAA,CAAf,eAAe,GAAK,EAAE,EAAC;AAC9C,QAAA,MAAM,IAAI,GAAG,EAAE,CAAC,eAAe;QAC/B,EAAE,CAAC,eAAe,GAAG,CAAC,CAAS,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;AAClE,QAAA,gBAAgB,CAAC,OAAO,CAAC,UAAU,CAAC;IACtC,CAAC;;;;;"}
@@ -1,5 +1,5 @@
1
- import { h as defineElement, n as now, d as caf, f as clamp, r as raf } from '../chunks/base-Cu-86Z31.js';
2
- export { a as configureComponents, p as prefersReducedMotion } from '../chunks/base-Cu-86Z31.js';
1
+ import { h as defineElement, n as now, e as caf, b as clamp, r as raf } from '../chunks/base-BpROOcey.js';
2
+ export { a as configureComponents, p as prefersReducedMotion } from '../chunks/base-BpROOcey.js';
3
3
 
4
4
  /** Minimal WebGL runner: one full-canvas quad, one fragment shader, optional image texture. */
5
5
  const VERTEX = 'attribute vec2 p;varying vec2 v_uv;void main(){v_uv=p*.5+.5;gl_Position=vec4(p,0.,1.);}';
@@ -15,10 +15,13 @@ var components_timeline = require('./components/timeline.cjs');
15
15
  var components_gesture = require('./components/gesture.cjs');
16
16
  var components_svg = require('./components/svg.cjs');
17
17
  var components_webgl = require('./components/webgl.cjs');
18
+ var components_depth = require('./components/depth.cjs');
19
+ var components_layout = require('./components/layout.cjs');
18
20
  var variants = require('./chunks/variants-BNIrn4ch.cjs');
19
21
  var base = require('./chunks/base-CXx7jZ-o.cjs');
20
- var indexTags = require('./chunks/index-tags-BKcHAxBK.cjs');
22
+ var indexTags = require('./chunks/index-tags-wbuPiMR6.cjs');
21
23
  var spring = require('./chunks/spring-2OTnYCzm.cjs');
24
+ var core = require('./chunks/core-IaorbTdu.cjs');
22
25
 
23
26
  /**
24
27
  * use-scroll-animate/components
@@ -56,6 +59,8 @@ const BY_CATEGORY = {
56
59
  gesture: components_gesture.defineGestureComponents,
57
60
  svg: components_svg.defineSvgComponents,
58
61
  webgl: components_webgl.defineWebglComponents,
62
+ depth: components_depth.defineDepthComponents,
63
+ layout: components_layout.defineLayoutComponents,
59
64
  };
60
65
  /**
61
66
  * Register every `<usa-*>` component (or only the given categories).
@@ -193,9 +198,6 @@ exports.timeline = components_timeline.timeline;
193
198
  exports.defineGestureComponents = components_gesture.defineGestureComponents;
194
199
  exports.definePinchZoom = components_gesture.definePinchZoom;
195
200
  exports.defineSwipeable = components_gesture.defineSwipeable;
196
- exports.gesture = components_gesture.gesture;
197
- exports.pinchScale = components_gesture.pinchScale;
198
- exports.swipeDirection = components_gesture.swipeDirection;
199
201
  exports.ANIM_ICONS = components_svg.ANIM_ICONS;
200
202
  exports.MASK_SHAPES = components_svg.MASK_SHAPES;
201
203
  exports.defineAnimIcon = components_svg.defineAnimIcon;
@@ -215,6 +217,20 @@ exports.defineWebglComponents = components_webgl.defineWebglComponents;
215
217
  exports.fragmentSource = components_webgl.fragmentSource;
216
218
  exports.glQuad = components_webgl.glQuad;
217
219
  exports.supportsWebGL = components_webgl.supportsWebGL;
220
+ exports.defineCube = components_depth.defineCube;
221
+ exports.defineDepth = components_depth.defineDepth;
222
+ exports.defineDepthComponents = components_depth.defineDepthComponents;
223
+ exports.deviceTilt = components_depth.deviceTilt;
224
+ exports.orientationToTilt = components_depth.orientationToTilt;
225
+ exports.requestOrientationPermission = components_depth.requestOrientationPermission;
226
+ exports.supportsOrientation = components_depth.supportsOrientation;
227
+ exports.autoAnimate = components_layout.autoAnimate;
228
+ exports.defineAutoAnimate = components_layout.defineAutoAnimate;
229
+ exports.defineLayoutComponents = components_layout.defineLayoutComponents;
230
+ exports.defineMasonry = components_layout.defineMasonry;
231
+ exports.flipFrames = components_layout.flipFrames;
232
+ exports.masonryLayout = components_layout.masonryLayout;
233
+ exports.sharedTransition = components_layout.sharedTransition;
218
234
  exports.VARIANTS = variants.VARIANTS;
219
235
  exports.adoptVariants = variants.adoptVariants;
220
236
  exports.setVariant = variants.setVariant;
@@ -235,5 +251,8 @@ exports.springEasing = spring.springEasing;
235
251
  exports.springSamples = spring.springSamples;
236
252
  exports.stepSpring = spring.stepSpring;
237
253
  exports.supportsLinearEasing = spring.supportsLinearEasing;
254
+ exports.gesture = core.gesture;
255
+ exports.pinchScale = core.pinchScale;
256
+ exports.swipeDirection = core.swipeDirection;
238
257
  exports.defineComponents = defineComponents;
239
258
  //# sourceMappingURL=components.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.cjs","sources":["../src/components/index.ts"],"sourcesContent":["/**\n * use-scroll-animate/components\n *\n * Framework-agnostic, dependency-free animated UI components built on\n * Custom Elements + CSS + the Web Animations API. They run in any browser\n * and in Windows desktop apps that render with a web view: Electron, Tauri\n * (WebView2), WinUI 3 / WPF / WinForms with WebView2, and installed PWAs.\n *\n * ```js\n * import { defineComponents } from 'use-scroll-animate/components';\n * defineComponents(); // registers every <usa-*> element\n * // or only what you use (tree-shakable):\n * import { defineTypewriter } from 'use-scroll-animate/components/text';\n * ```\n *\n * Importing has no side effects and is SSR-safe; nothing is registered\n * until a `define*()` function runs in a browser.\n *\n * @license MIT\n */\nimport { defineRevealComponents } from './reveal/index';\nimport { defineTextComponents } from './text/index';\nimport { defineInteractionComponents } from './interaction/index';\nimport { defineFeedbackComponents } from './feedback/index';\nimport { defineBackgroundComponents } from './background/index';\nimport { defineTransitionComponents } from './transitions/index';\nimport { definePhysicsComponents } from './physics/index';\nimport { defineCardComponents } from './cards/index';\nimport { defineClickComponents } from './click/index';\nimport { defineUiComponents } from './ui/index';\nimport { definePageComponents } from './page/index';\nimport { defineTimelineComponents } from './timeline/index';\nimport { defineGestureComponents } from './gesture/index';\nimport { defineSvgComponents } from './svg/index';\nimport { defineWebglComponents } from './webgl/index';\nimport { adoptVariants } from './ui/variants';\nimport { canDefine } from './base';\n\nexport * from './reveal/index';\nexport * from './text/index';\nexport * from './interaction/index';\nexport * from './feedback/index';\nexport * from './background/index';\nexport * from './transitions/index';\nexport * from './physics/index';\nexport * from './cards/index';\nexport * from './click/index';\nexport * from './ui/index';\nexport * from './page/index';\nexport * from './timeline/index';\nexport * from './gesture/index';\nexport * from './svg/index';\nexport * from './webgl/index';\n\nexport { COMPONENT_CATEGORIES } from './index-tags';\nexport type { ComponentCategory } from './index-tags';\nimport { COMPONENT_CATEGORIES, type ComponentCategory } from './index-tags';\n\nconst BY_CATEGORY: Record<ComponentCategory, () => void> = {\n reveal: defineRevealComponents,\n text: defineTextComponents,\n interaction: defineInteractionComponents,\n feedback: defineFeedbackComponents,\n background: defineBackgroundComponents,\n transitions: defineTransitionComponents,\n physics: definePhysicsComponents,\n cards: defineCardComponents,\n click: defineClickComponents,\n ui: defineUiComponents,\n page: definePageComponents,\n timeline: defineTimelineComponents,\n gesture: defineGestureComponents,\n svg: defineSvgComponents,\n webgl: defineWebglComponents,\n};\n\n/**\n * Register every `<usa-*>` component (or only the given categories).\n * Safe to call more than once and on the server (no-op without DOM).\n */\nexport function defineComponents(categories?: ComponentCategory[]): void {\n if (canDefine()) adoptVariants();\n (categories || (Object.keys(BY_CATEGORY) as ComponentCategory[])).forEach((c) => BY_CATEGORY[c]?.());\n}\n"],"names":["defineRevealComponents","defineTextComponents","defineInteractionComponents","defineFeedbackComponents","defineBackgroundComponents","defineTransitionComponents","definePhysicsComponents","defineCardComponents","defineClickComponents","defineUiComponents","definePageComponents","defineTimelineComponents","defineGestureComponents","defineSvgComponents","defineWebglComponents","canDefine","adoptVariants"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;AAmBG;AAuCH,MAAM,WAAW,GAA0C;AACzD,IAAA,MAAM,EAAEA,wCAAsB;AAC9B,IAAA,IAAI,EAAEC,oCAAoB;AAC1B,IAAA,WAAW,EAAEC,kDAA2B;AACxC,IAAA,QAAQ,EAAEC,4CAAwB;AAClC,IAAA,UAAU,EAAEC,gDAA0B;AACtC,IAAA,WAAW,EAAEC,iDAA0B;AACvC,IAAA,OAAO,EAAEC,0CAAuB;AAChC,IAAA,KAAK,EAAEC,qCAAoB;AAC3B,IAAA,KAAK,EAAEC,sCAAqB;AAC5B,IAAA,EAAE,EAAEC,gCAAkB;AACtB,IAAA,IAAI,EAAEC,oCAAoB;AAC1B,IAAA,QAAQ,EAAEC,4CAAwB;AAClC,IAAA,OAAO,EAAEC,0CAAuB;AAChC,IAAA,GAAG,EAAEC,kCAAmB;AACxB,IAAA,KAAK,EAAEC,sCAAqB;CAC7B;AAED;;;AAGG;AACG,SAAU,gBAAgB,CAAC,UAAgC,EAAA;AAC/D,IAAA,IAAIC,cAAS,EAAE;AAAE,QAAAC,sBAAa,EAAE;IAChC,CAAC,UAAU,IAAK,MAAM,CAAC,IAAI,CAAC,WAAW,CAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;AACtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"components.cjs","sources":["../src/components/index.ts"],"sourcesContent":["/**\n * use-scroll-animate/components\n *\n * Framework-agnostic, dependency-free animated UI components built on\n * Custom Elements + CSS + the Web Animations API. They run in any browser\n * and in Windows desktop apps that render with a web view: Electron, Tauri\n * (WebView2), WinUI 3 / WPF / WinForms with WebView2, and installed PWAs.\n *\n * ```js\n * import { defineComponents } from 'use-scroll-animate/components';\n * defineComponents(); // registers every <usa-*> element\n * // or only what you use (tree-shakable):\n * import { defineTypewriter } from 'use-scroll-animate/components/text';\n * ```\n *\n * Importing has no side effects and is SSR-safe; nothing is registered\n * until a `define*()` function runs in a browser.\n *\n * @license MIT\n */\nimport { defineRevealComponents } from './reveal/index';\nimport { defineTextComponents } from './text/index';\nimport { defineInteractionComponents } from './interaction/index';\nimport { defineFeedbackComponents } from './feedback/index';\nimport { defineBackgroundComponents } from './background/index';\nimport { defineTransitionComponents } from './transitions/index';\nimport { definePhysicsComponents } from './physics/index';\nimport { defineCardComponents } from './cards/index';\nimport { defineClickComponents } from './click/index';\nimport { defineUiComponents } from './ui/index';\nimport { definePageComponents } from './page/index';\nimport { defineTimelineComponents } from './timeline/index';\nimport { defineGestureComponents } from './gesture/index';\nimport { defineSvgComponents } from './svg/index';\nimport { defineWebglComponents } from './webgl/index';\nimport { defineDepthComponents } from './depth/index';\nimport { defineLayoutComponents } from './layout/index';\nimport { adoptVariants } from './ui/variants';\nimport { canDefine } from './base';\n\nexport * from './reveal/index';\nexport * from './text/index';\nexport * from './interaction/index';\nexport * from './feedback/index';\nexport * from './background/index';\nexport * from './transitions/index';\nexport * from './physics/index';\nexport * from './cards/index';\nexport * from './click/index';\nexport * from './ui/index';\nexport * from './page/index';\nexport * from './timeline/index';\nexport * from './gesture/index';\nexport * from './svg/index';\nexport * from './webgl/index';\nexport * from './depth/index';\nexport * from './layout/index';\n\nexport { COMPONENT_CATEGORIES } from './index-tags';\nexport type { ComponentCategory } from './index-tags';\nimport { COMPONENT_CATEGORIES, type ComponentCategory } from './index-tags';\n\nconst BY_CATEGORY: Record<ComponentCategory, () => void> = {\n reveal: defineRevealComponents,\n text: defineTextComponents,\n interaction: defineInteractionComponents,\n feedback: defineFeedbackComponents,\n background: defineBackgroundComponents,\n transitions: defineTransitionComponents,\n physics: definePhysicsComponents,\n cards: defineCardComponents,\n click: defineClickComponents,\n ui: defineUiComponents,\n page: definePageComponents,\n timeline: defineTimelineComponents,\n gesture: defineGestureComponents,\n svg: defineSvgComponents,\n webgl: defineWebglComponents,\n depth: defineDepthComponents,\n layout: defineLayoutComponents,\n};\n\n/**\n * Register every `<usa-*>` component (or only the given categories).\n * Safe to call more than once and on the server (no-op without DOM).\n */\nexport function defineComponents(categories?: ComponentCategory[]): void {\n if (canDefine()) adoptVariants();\n (categories || (Object.keys(BY_CATEGORY) as ComponentCategory[])).forEach((c) => BY_CATEGORY[c]?.());\n}\n"],"names":["defineRevealComponents","defineTextComponents","defineInteractionComponents","defineFeedbackComponents","defineBackgroundComponents","defineTransitionComponents","definePhysicsComponents","defineCardComponents","defineClickComponents","defineUiComponents","definePageComponents","defineTimelineComponents","defineGestureComponents","defineSvgComponents","defineWebglComponents","defineDepthComponents","defineLayoutComponents","canDefine","adoptVariants"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;AAmBG;AA2CH,MAAM,WAAW,GAA0C;AACzD,IAAA,MAAM,EAAEA,wCAAsB;AAC9B,IAAA,IAAI,EAAEC,oCAAoB;AAC1B,IAAA,WAAW,EAAEC,kDAA2B;AACxC,IAAA,QAAQ,EAAEC,4CAAwB;AAClC,IAAA,UAAU,EAAEC,gDAA0B;AACtC,IAAA,WAAW,EAAEC,iDAA0B;AACvC,IAAA,OAAO,EAAEC,0CAAuB;AAChC,IAAA,KAAK,EAAEC,qCAAoB;AAC3B,IAAA,KAAK,EAAEC,sCAAqB;AAC5B,IAAA,EAAE,EAAEC,gCAAkB;AACtB,IAAA,IAAI,EAAEC,oCAAoB;AAC1B,IAAA,QAAQ,EAAEC,4CAAwB;AAClC,IAAA,OAAO,EAAEC,0CAAuB;AAChC,IAAA,GAAG,EAAEC,kCAAmB;AACxB,IAAA,KAAK,EAAEC,sCAAqB;AAC5B,IAAA,KAAK,EAAEC,sCAAqB;AAC5B,IAAA,MAAM,EAAEC,wCAAsB;CAC/B;AAED;;;AAGG;AACG,SAAU,gBAAgB,CAAC,UAAgC,EAAA;AAC/D,IAAA,IAAIC,cAAS,EAAE;AAAE,QAAAC,sBAAa,EAAE;IAChC,CAAC,UAAU,IAAK,MAAM,CAAC,IAAI,CAAC,WAAW,CAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;AACtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -70,3 +70,5 @@ usa-timeline{display:block}usa-timeline[scrub]{position:relative}@media (prefers
70
70
  usa-swipeable{display:block;touch-action:pan-y;user-select:none;-webkit-user-select:none}usa-swipeable[axis="y"]{touch-action:pan-x}usa-swipeable>*{transform:translate3d(var(--usa-swipe,0px),0,0);opacity:calc(1 - var(--usa-swipe-p,0) * 0.5)}usa-swipeable[axis="y"]>*{transform:translate3d(0,var(--usa-swipe,0px),0)}usa-swipeable:focus-visible{outline:2px solid currentColor;outline-offset:2px}usa-pinch-zoom{display:block;overflow:hidden;touch-action:none;position:relative}usa-pinch-zoom>*{transform:translate3d(var(--usa-zoom-x,0px),var(--usa-zoom-y,0px),0) scale(var(--usa-zoom,1));transform-origin:50% 50%}usa-pinch-zoom[data-zoomed]{cursor:grab}usa-pinch-zoom:focus-visible{outline:2px solid currentColor;outline-offset:2px}
71
71
  usa-draw{display:inline-block}usa-draw svg :is(path,line,polyline,polygon,circle,ellipse,rect){transition:fill-opacity 0.6s ease}usa-draw[fill]:not([data-drawn]) svg :is(path,polygon,circle,ellipse,rect){fill-opacity:0}usa-morph{display:inline-block;line-height:0}usa-morph svg{width:100%;height:100%;fill:currentColor}usa-morph[role="button"]{cursor:pointer}usa-mask-reveal{display:block}usa-mask-reveal[data-state="visible"]{clip-path:none !important}usa-anim-icon{display:inline-flex;line-height:0;vertical-align:middle}usa-anim-icon svg{overflow:visible}@media (prefers-reduced-motion:reduce){usa-mask-reveal{clip-path:none !important}usa-draw svg *{stroke-dashoffset:0 !important}}
72
72
  usa-shader,usa-distort,usa-liquid{display:block;position:relative;isolation:isolate;overflow:hidden}usa-shader{background:linear-gradient(120deg,#6366f1,#ec4899 50%,#22d3ee)}usa-shader>canvas.usa-gl{position:absolute;inset:0;width:100%;height:100%;z-index:-1;display:block}usa-distort>canvas.usa-gl,usa-liquid>canvas.usa-gl{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}usa-distort>img,usa-liquid>img{display:block;width:100%;height:auto}usa-distort[data-active]>img,usa-liquid[data-active]>img{visibility:hidden}usa-distort[data-fallback]>img{transition:transform 0.6s cubic-bezier(0.22,1,0.36,1),filter 0.6s}usa-distort[data-fallback]:hover>img{transform:scale(1.04);filter:saturate(1.2)}@media (prefers-reduced-motion:reduce){usa-distort[data-fallback]:hover>img{transform:none}}
73
+ usa-cube{--usa-cube-size:200px;display:block;width:var(--usa-cube-size);height:var(--usa-cube-size);perspective:var(--usa-cube-perspective,900px);touch-action:pan-y;user-select:none;-webkit-user-select:none;position:relative}usa-cube>[data-face]{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(calc(var(--usa-cube-size) / -2)) rotateX(var(--usa-cube-rx,0deg)) rotateY(var(--usa-cube-ry,0deg)) var(--usa-face) translateZ(calc(var(--usa-cube-size) / 2));transform-origin:50% 50%}usa-cube>[data-face="front"]{--usa-face:rotateY(0deg)}usa-cube>[data-face="right"]{--usa-face:rotateY(90deg)}usa-cube>[data-face="back"]{--usa-face:rotateY(180deg)}usa-cube>[data-face="left"]{--usa-face:rotateY(-90deg)}usa-cube>[data-face="top"]{--usa-face:rotateX(90deg)}usa-cube>[data-face="bottom"]{--usa-face:rotateX(-90deg)}usa-cube:focus-visible{outline:2px solid currentColor;outline-offset:6px}usa-depth{display:block;position:relative;perspective:1000px}usa-depth>*{transform:var(--usa-depth-rot,none);transform-style:preserve-3d}usa-depth [data-depth]{will-change:transform;transition:transform 0.12s linear}@media (prefers-reduced-motion:reduce){usa-depth [data-depth]{transform:none !important}}
74
+ usa-auto-animate{display:block}usa-masonry{display:block;column-width:220px;column-gap:16px}usa-masonry>*{break-inside:avoid;margin-bottom:16px}usa-masonry[data-js]{position:relative;columns:auto}usa-masonry[data-js]>*{position:absolute;left:0;top:0;margin:0;box-sizing:border-box;transition:transform 0.45s cubic-bezier(0.22,1,0.36,1)}@media (prefers-reduced-motion:reduce){usa-masonry[data-js]>*{transition:none}}
@@ -2181,6 +2181,167 @@ declare global {
2181
2181
  }
2182
2182
  }
2183
2183
 
2184
+ /**
2185
+ * `<usa-cube>` — a CSS 3D cube whose up-to-six element children are its faces
2186
+ * (front, right, back, left, top, bottom). Rotate with drag / swipe, arrow
2187
+ * keys, `autoplay` (ms) or `show(face | index)`; spring-driven.
2188
+ * Attributes: `size` (px, 200), `autoplay`, `perspective` (900).
2189
+ * `usa:change` (`{ index, face }`). Reduced motion: instant face switch.
2190
+ */
2191
+ interface UsaCubeElement extends UsaElement {
2192
+ readonly index: number;
2193
+ show(face: number | string): void;
2194
+ next(): void;
2195
+ prev(): void;
2196
+ }
2197
+ declare function defineCube(tag?: string): CustomElementConstructor | undefined;
2198
+
2199
+ /**
2200
+ * `<usa-depth>` — depth parallax: children with `data-depth` (-1…1, 0 = the
2201
+ * screen plane) move and scale by depth as the pointer moves, the device
2202
+ * tilts (`orientation`) or the page scrolls (`scroll`).
2203
+ * Attributes: `source` (`pointer` default · `orientation` · `scroll` ·
2204
+ * space-separated mix), `strength` (px at depth 1, 40), `rotate` (max tilt
2205
+ * of the whole scene in deg, 0). `requestPermission()` for iOS motion.
2206
+ * Reduced motion: layers stay flat.
2207
+ */
2208
+ interface UsaDepthElement extends UsaElement {
2209
+ /** Current -1…1 input. */
2210
+ readonly tilt: {
2211
+ x: number;
2212
+ y: number;
2213
+ };
2214
+ requestPermission(): Promise<boolean>;
2215
+ }
2216
+ declare function defineDepth(tag?: string): CustomElementConstructor | undefined;
2217
+
2218
+ interface TiltReading {
2219
+ /** Left/right tilt, -1…1. */
2220
+ x: number;
2221
+ /** Front/back tilt, -1…1. */
2222
+ y: number;
2223
+ }
2224
+ /** Map a DeviceOrientation reading (beta/gamma degrees) to -1…1 tilt around a resting pose (pure). */
2225
+ declare function orientationToTilt(beta: number | null, gamma: number | null, range?: number, rest?: number): TiltReading;
2226
+ /** `true` when DeviceOrientation events exist. */
2227
+ declare const supportsOrientation: () => boolean;
2228
+ /**
2229
+ * Ask for motion-sensor permission where required (iOS 13+; must run inside
2230
+ * a user gesture). Resolves `true` when tilt events can be used.
2231
+ */
2232
+ declare function requestOrientationPermission(): Promise<boolean>;
2233
+ /**
2234
+ * Listen to device tilt (smoothed); falls back to nothing on desktops.
2235
+ * Returns a stop function.
2236
+ */
2237
+ declare function deviceTilt(cb: (t: TiltReading) => void, o?: {
2238
+ range?: number;
2239
+ smooth?: number;
2240
+ }): () => void;
2241
+
2242
+ /**
2243
+ * use-scroll-animate/components/depth — 3D (v3.5).
2244
+ * `<usa-cube>` (CSS 3D cube), `<usa-depth>` (layered depth parallax driven by
2245
+ * pointer, device orientation or scroll) and `deviceTilt()`. The 3D ring
2246
+ * carousel is `<usa-carousel-3d>` in `components/cards`.
2247
+ */
2248
+
2249
+ /** Register every component of this category under its default tag. */
2250
+ declare function defineDepthComponents(): void;
2251
+ declare global {
2252
+ interface HTMLElementTagNameMap {
2253
+ 'usa-cube': UsaCubeElement;
2254
+ 'usa-depth': UsaDepthElement;
2255
+ }
2256
+ }
2257
+
2258
+ /**
2259
+ * `<usa-auto-animate>` — wraps `autoAnimate()`: any change to its children
2260
+ * (add, remove, re-order, filter, size) animates. Attributes `duration`
2261
+ * (300), `no-scale`. Works for lists and CSS grids alike.
2262
+ */
2263
+ interface UsaAutoAnimateElement extends UsaElement {
2264
+ enable(): void;
2265
+ disable(): void;
2266
+ }
2267
+ declare function defineAutoAnimate(tag?: string): CustomElementConstructor | undefined;
2268
+ /**
2269
+ * `<usa-masonry>` — a masonry (Pinterest-style) grid: children are placed in
2270
+ * the shortest column and glide to new spots when the width, the items or
2271
+ * their sizes change. Attributes `columns` (fixed count) or `min` (min
2272
+ * column width px, 220), `gap` (16). Without JS layout support it is a
2273
+ * plain CSS multi-column flow. Reduced motion: no glide.
2274
+ */
2275
+ interface UsaMasonryElement extends UsaElement {
2276
+ layout(): void;
2277
+ }
2278
+ declare function defineMasonry(tag?: string): CustomElementConstructor | undefined;
2279
+
2280
+ type Box = {
2281
+ left: number;
2282
+ top: number;
2283
+ width: number;
2284
+ height: number;
2285
+ };
2286
+ /** FLIP keyframes from a previous box to the current one (pure). */
2287
+ declare function flipFrames(from: Box, to: Box, scale?: boolean): Keyframe[];
2288
+ interface AutoAnimateOptions {
2289
+ duration?: number;
2290
+ easing?: string;
2291
+ /** Also animate size changes (default true). */
2292
+ scale?: boolean;
2293
+ }
2294
+ /**
2295
+ * Auto-animate a container: children that are added fade / scale in, removed
2296
+ * ones fade out in place, and moved ones (re-sort, filter, reflow, resize)
2297
+ * glide to their new spot — no extra code at the call site. Returns
2298
+ * `{ disable, enable, stop }`. Reduced motion: changes apply instantly.
2299
+ *
2300
+ * @example
2301
+ * const ctl = autoAnimate(document.querySelector('ul'));
2302
+ * list.append(item); // animates
2303
+ */
2304
+ declare function autoAnimate(parent: HTMLElement, o?: AutoAnimateOptions): {
2305
+ enable(): void;
2306
+ disable(): void;
2307
+ stop(): void;
2308
+ };
2309
+ /** Masonry placement: shortest-column-first positions for item heights (pure). */
2310
+ declare function masonryLayout(heights: number[], columns: number, columnWidth: number, gap: number): {
2311
+ x: number;
2312
+ y: number;
2313
+ }[] & {
2314
+ height?: number;
2315
+ };
2316
+ interface SharedOptions {
2317
+ duration?: number;
2318
+ easing?: string;
2319
+ }
2320
+ /**
2321
+ * Shared-element transition between two states of the page: every element
2322
+ * with `data-shared="id"` before `update()` flies to the element with the
2323
+ * same id afterwards (size and position), the rest cross-fades. Uses the
2324
+ * View Transitions API when present (with `view-transition-name` per id),
2325
+ * otherwise a FLIP fallback. Reduced motion: just runs `update()`.
2326
+ */
2327
+ declare function sharedTransition(update: () => void | Promise<void>, root?: ParentNode, o?: SharedOptions): Promise<void>;
2328
+
2329
+ /**
2330
+ * use-scroll-animate/components/layout — layout animation (v3.6).
2331
+ * `autoAnimate()` / `<usa-auto-animate>` (list & grid reflow),
2332
+ * `<usa-masonry>`, and `sharedTransition()` for shared-element transitions
2333
+ * (View Transitions API with a FLIP fallback).
2334
+ */
2335
+
2336
+ /** Register every component of this category under its default tag. */
2337
+ declare function defineLayoutComponents(): void;
2338
+ declare global {
2339
+ interface HTMLElementTagNameMap {
2340
+ 'usa-auto-animate': UsaAutoAnimateElement;
2341
+ 'usa-masonry': UsaMasonryElement;
2342
+ }
2343
+ }
2344
+
2184
2345
  /** The component categories and their default tags. */
2185
2346
  declare const COMPONENT_CATEGORIES: {
2186
2347
  readonly reveal: readonly ["usa-reveal", "usa-stagger", "usa-scroll-progress", "usa-scrolly"];
@@ -2198,6 +2359,8 @@ declare const COMPONENT_CATEGORIES: {
2198
2359
  readonly gesture: readonly ["usa-swipeable", "usa-pinch-zoom"];
2199
2360
  readonly svg: readonly ["usa-draw", "usa-morph", "usa-mask-reveal", "usa-anim-icon"];
2200
2361
  readonly webgl: readonly ["usa-shader", "usa-distort", "usa-liquid"];
2362
+ readonly depth: readonly ["usa-cube", "usa-depth"];
2363
+ readonly layout: readonly ["usa-auto-animate", "usa-masonry"];
2201
2364
  };
2202
2365
  type ComponentCategory = keyof typeof COMPONENT_CATEGORIES;
2203
2366
 
@@ -2207,5 +2370,5 @@ type ComponentCategory = keyof typeof COMPONENT_CATEGORIES;
2207
2370
  */
2208
2371
  declare function defineComponents(categories?: ComponentCategory[]): void;
2209
2372
 
2210
- export { AMBIENT_EFFECTS, ANIM_ICONS, BUTTON_DEFORMS, CARD_EFFECTS, CLICK_EFFECTS, COMPONENT_CATEGORIES, CURSOR_MODES, MASK_SHAPES, MORPH_ICONS, MOTION_SCALE, PAGE_EFFECTS, REVEAL_EFFECTS, SHADERS, SPINNER_VARIANTS, SPRING_EFFECTS, SPRING_PRESETS, TIMELINE_PRESETS, VARIANTS, adoptVariants, burst, confetti, configureComponents, connectedAnimation, createSpring, defineAccordion, defineAcrylic, defineAmbient, defineAnimIcon, defineAurora, defineAutoSkeleton, defineAvatarStack, defineBackToTop, defineBackgroundComponents, defineBadge, defineBlobs, defineBottomSheet, defineButton, defineCard, defineCardComponents, defineCardStack, defineCarousel3d, defineCheck, defineCheckbox, defineClick, defineClickComponents, defineComponents, defineCounter, defineCursor, defineDialog, defineDistort, defineDotNetwork, defineDoubleTap, defineDraggable, defineDraw, defineDrawer, defineFab, defineFeedbackComponents, defineFlipList, defineFullpage, defineGestureComponents, defineGlitch, defineGradientText, defineGrain, defineGridGlow, defineHandwriting, defineHold, defineIconMorph, defineInteractionComponents, defineLike, defineLiquid, defineLoadingBar, defineMagnetic, defineMarquee, defineMaskReveal, defineMorph, defineMotionSwitch, defineNavbar, defineOverscroll, definePageComponents, defineParticles, definePhysicsComponents, definePinchZoom, definePopover, definePress, defineProgress, definePullRefresh, defineRating, defineReveal, defineRevealComponents, defineRipple, defineScramble, defineScrollHighlight, defineScrollProgress, defineScrolly, defineShader, defineShimmerText, defineSkeleton, defineSlider, defineSpinner, defineSplash, defineSplitText, defineSpotlight, defineSpring, defineStagger, defineStickyStack, defineSvgComponents, defineSwipeable, defineTabs, defineTextComponents, defineTextRotate, defineTilt, defineTimeline, defineTimelineComponents, defineToaster, defineToggle, defineTooltip, defineTransitionComponents, defineTypewriter, defineUiComponents, defineViewSwitch, defineWaterRipple, defineWaveText, defineWebglComponents, drawLines, easeOutExpo, enableMpaTransitions, flip, fluentPreset, fragmentSource, gesture, getMotionIntensity, glQuad, haptic, interpolatePath, linearEasing, loadingBar, morphPath, morphTo, pageTransition, pathsCompatible, pinchScale, prefersReducedMotion, projectInertia, readScrollProgress, resolvePosition, resolveSpring, restoreMotionIntensity, revealKeyframes, rubberBand, scrambleFrame, scrollToTarget, setMotionIntensity, setVariant, shake, smoothScroll, snapTo, spring, springEasing, springEffectKeyframes, springSamples, stepSpring, supportsLinearEasing, supportsViewTransitions, supportsWebGL, swipeDirection, themeTransition, timeline, toast, viewTransition };
2211
- export type { AmbientEffect, BurstOptions, ButtonDeform, ButtonShape, ButtonState, CardEffect, ClickEffect, ComponentCategory, ComponentsConfig, ConfettiOptions, ConnectedOptions, CursorMode, DialogVariant, FlipOptions, FluentPresetOptions, GLQuad, GestureHandlers, GestureOptions, MorphOptions, MotionIntensity, PageEffect, PageTransitionOptions, PanState, PinchState, Placement, PressState, RevealEffect, ScrubOptions, SmoothScrollOptions, SpinnerVariant, SpringConfig, SpringEffect, SpringInput, SpringPreset, SpringValue, SpringValueOptions, SwipeDirection, SwipeState, Timeline, TimelineOptions, TimelinePosition, TimelineStepOptions, ToastHandle, ToastOptions, ToastType, UsaAccordionElement, UsaAcrylicElement, UsaAmbientElement, UsaAnimIconElement, UsaAuroraElement, UsaAutoSkeletonElement, UsaAvatarStackElement, UsaBackToTopElement, UsaBadgeElement, UsaBlobsElement, UsaBottomSheetElement, UsaButtonElement, UsaCardElement, UsaCardStackElement, UsaCarousel3dElement, UsaCheckElement, UsaCheckboxElement, UsaClickElement, UsaCounterElement, UsaCursorElement, UsaDialogElement, UsaDotNetworkElement, UsaDoubleTapElement, UsaDraggableElement, UsaDrawElement, UsaDrawerElement, UsaElement, UsaFabElement, UsaFlipListElement, UsaFullpageElement, UsaGLElement, UsaGlitchElement, UsaGradientTextElement, UsaGrainElement, UsaGridGlowElement, UsaHandwritingElement, UsaHoldElement, UsaIconMorphElement, UsaLikeElement, UsaLoadingBarElement, UsaMagneticElement, UsaMarqueeElement, UsaMaskRevealElement, UsaMorphElement, UsaMotionSwitchElement, UsaNavbarElement, UsaOverscrollElement, UsaParticlesElement, UsaPinchZoomElement, UsaPopoverElement, UsaPressElement, UsaProgressElement, UsaPullRefreshElement, UsaRatingElement, UsaRevealElement, UsaRippleElement, UsaScrambleElement, UsaScrollHighlightElement, UsaScrollProgressElement, UsaScrollyElement, UsaShimmerTextElement, UsaSkeletonElement, UsaSliderElement, UsaSpinnerElement, UsaSplashElement, UsaSplitTextElement, UsaSpotlightElement, UsaSpringElement, UsaStaggerElement, UsaStickyStackElement, UsaSwipeableElement, UsaTabsElement, UsaTextRotateElement, UsaTiltElement, UsaTimelineElement, UsaToasterElement, UsaToggleElement, UsaTooltipElement, UsaTypewriterElement, UsaViewSwitchElement, UsaWaterRippleElement, UsaWaveTextElement, Variant, ViewTransitionOptions };
2373
+ export { AMBIENT_EFFECTS, ANIM_ICONS, BUTTON_DEFORMS, CARD_EFFECTS, CLICK_EFFECTS, COMPONENT_CATEGORIES, CURSOR_MODES, MASK_SHAPES, MORPH_ICONS, MOTION_SCALE, PAGE_EFFECTS, REVEAL_EFFECTS, SHADERS, SPINNER_VARIANTS, SPRING_EFFECTS, SPRING_PRESETS, TIMELINE_PRESETS, VARIANTS, adoptVariants, autoAnimate, burst, confetti, configureComponents, connectedAnimation, createSpring, defineAccordion, defineAcrylic, defineAmbient, defineAnimIcon, defineAurora, defineAutoAnimate, defineAutoSkeleton, defineAvatarStack, defineBackToTop, defineBackgroundComponents, defineBadge, defineBlobs, defineBottomSheet, defineButton, defineCard, defineCardComponents, defineCardStack, defineCarousel3d, defineCheck, defineCheckbox, defineClick, defineClickComponents, defineComponents, defineCounter, defineCube, defineCursor, defineDepth, defineDepthComponents, defineDialog, defineDistort, defineDotNetwork, defineDoubleTap, defineDraggable, defineDraw, defineDrawer, defineFab, defineFeedbackComponents, defineFlipList, defineFullpage, defineGestureComponents, defineGlitch, defineGradientText, defineGrain, defineGridGlow, defineHandwriting, defineHold, defineIconMorph, defineInteractionComponents, defineLayoutComponents, defineLike, defineLiquid, defineLoadingBar, defineMagnetic, defineMarquee, defineMaskReveal, defineMasonry, defineMorph, defineMotionSwitch, defineNavbar, defineOverscroll, definePageComponents, defineParticles, definePhysicsComponents, definePinchZoom, definePopover, definePress, defineProgress, definePullRefresh, defineRating, defineReveal, defineRevealComponents, defineRipple, defineScramble, defineScrollHighlight, defineScrollProgress, defineScrolly, defineShader, defineShimmerText, defineSkeleton, defineSlider, defineSpinner, defineSplash, defineSplitText, defineSpotlight, defineSpring, defineStagger, defineStickyStack, defineSvgComponents, defineSwipeable, defineTabs, defineTextComponents, defineTextRotate, defineTilt, defineTimeline, defineTimelineComponents, defineToaster, defineToggle, defineTooltip, defineTransitionComponents, defineTypewriter, defineUiComponents, defineViewSwitch, defineWaterRipple, defineWaveText, defineWebglComponents, deviceTilt, drawLines, easeOutExpo, enableMpaTransitions, flip, flipFrames, fluentPreset, fragmentSource, gesture, getMotionIntensity, glQuad, haptic, interpolatePath, linearEasing, loadingBar, masonryLayout, morphPath, morphTo, orientationToTilt, pageTransition, pathsCompatible, pinchScale, prefersReducedMotion, projectInertia, readScrollProgress, requestOrientationPermission, resolvePosition, resolveSpring, restoreMotionIntensity, revealKeyframes, rubberBand, scrambleFrame, scrollToTarget, setMotionIntensity, setVariant, shake, sharedTransition, smoothScroll, snapTo, spring, springEasing, springEffectKeyframes, springSamples, stepSpring, supportsLinearEasing, supportsOrientation, supportsViewTransitions, supportsWebGL, swipeDirection, themeTransition, timeline, toast, viewTransition };
2374
+ export type { AmbientEffect, AutoAnimateOptions, BurstOptions, ButtonDeform, ButtonShape, ButtonState, CardEffect, ClickEffect, ComponentCategory, ComponentsConfig, ConfettiOptions, ConnectedOptions, CursorMode, DialogVariant, FlipOptions, FluentPresetOptions, GLQuad, GestureHandlers, GestureOptions, MorphOptions, MotionIntensity, PageEffect, PageTransitionOptions, PanState, PinchState, Placement, PressState, RevealEffect, ScrubOptions, SharedOptions, SmoothScrollOptions, SpinnerVariant, SpringConfig, SpringEffect, SpringInput, SpringPreset, SpringValue, SpringValueOptions, SwipeDirection, SwipeState, TiltReading, Timeline, TimelineOptions, TimelinePosition, TimelineStepOptions, ToastHandle, ToastOptions, ToastType, UsaAccordionElement, UsaAcrylicElement, UsaAmbientElement, UsaAnimIconElement, UsaAuroraElement, UsaAutoAnimateElement, UsaAutoSkeletonElement, UsaAvatarStackElement, UsaBackToTopElement, UsaBadgeElement, UsaBlobsElement, UsaBottomSheetElement, UsaButtonElement, UsaCardElement, UsaCardStackElement, UsaCarousel3dElement, UsaCheckElement, UsaCheckboxElement, UsaClickElement, UsaCounterElement, UsaCubeElement, UsaCursorElement, UsaDepthElement, UsaDialogElement, UsaDotNetworkElement, UsaDoubleTapElement, UsaDraggableElement, UsaDrawElement, UsaDrawerElement, UsaElement, UsaFabElement, UsaFlipListElement, UsaFullpageElement, UsaGLElement, UsaGlitchElement, UsaGradientTextElement, UsaGrainElement, UsaGridGlowElement, UsaHandwritingElement, UsaHoldElement, UsaIconMorphElement, UsaLikeElement, UsaLoadingBarElement, UsaMagneticElement, UsaMarqueeElement, UsaMaskRevealElement, UsaMasonryElement, UsaMorphElement, UsaMotionSwitchElement, UsaNavbarElement, UsaOverscrollElement, UsaParticlesElement, UsaPinchZoomElement, UsaPopoverElement, UsaPressElement, UsaProgressElement, UsaPullRefreshElement, UsaRatingElement, UsaRevealElement, UsaRippleElement, UsaScrambleElement, UsaScrollHighlightElement, UsaScrollProgressElement, UsaScrollyElement, UsaShimmerTextElement, UsaSkeletonElement, UsaSliderElement, UsaSpinnerElement, UsaSplashElement, UsaSplitTextElement, UsaSpotlightElement, UsaSpringElement, UsaStaggerElement, UsaStickyStackElement, UsaSwipeableElement, UsaTabsElement, UsaTextRotateElement, UsaTiltElement, UsaTimelineElement, UsaToasterElement, UsaToggleElement, UsaTooltipElement, UsaTypewriterElement, UsaViewSwitchElement, UsaWaterRippleElement, UsaWaveTextElement, Variant, ViewTransitionOptions };