@ansh-ui/vue 0.2.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 (109) hide show
  1. package/LICENSE +21 -0
  2. package/dist/chunk-2VSROZ2N.js +1281 -0
  3. package/dist/chunk-2VSROZ2N.js.map +1 -0
  4. package/dist/chunk-5BQEZYG6.cjs +1294 -0
  5. package/dist/chunk-5BQEZYG6.cjs.map +1 -0
  6. package/dist/chunk-6732H4BQ.cjs +28 -0
  7. package/dist/chunk-6732H4BQ.cjs.map +1 -0
  8. package/dist/chunk-6ABPGOJP.js +722 -0
  9. package/dist/chunk-6ABPGOJP.js.map +1 -0
  10. package/dist/chunk-6XJOB6LE.js +62 -0
  11. package/dist/chunk-6XJOB6LE.js.map +1 -0
  12. package/dist/chunk-774WBLDR.cjs +24 -0
  13. package/dist/chunk-774WBLDR.cjs.map +1 -0
  14. package/dist/chunk-B6OXKW5Q.js +567 -0
  15. package/dist/chunk-B6OXKW5Q.js.map +1 -0
  16. package/dist/chunk-DMPNT3MY.cjs +64 -0
  17. package/dist/chunk-DMPNT3MY.cjs.map +1 -0
  18. package/dist/chunk-EISHOEB6.cjs +158 -0
  19. package/dist/chunk-EISHOEB6.cjs.map +1 -0
  20. package/dist/chunk-EVO23GUS.js +223 -0
  21. package/dist/chunk-EVO23GUS.js.map +1 -0
  22. package/dist/chunk-FVKLCGA4.js +1035 -0
  23. package/dist/chunk-FVKLCGA4.js.map +1 -0
  24. package/dist/chunk-IOXGBPOV.cjs +3681 -0
  25. package/dist/chunk-IOXGBPOV.cjs.map +1 -0
  26. package/dist/chunk-J2LA4GRP.cjs +1051 -0
  27. package/dist/chunk-J2LA4GRP.cjs.map +1 -0
  28. package/dist/chunk-JQ4YLXXM.cjs +580 -0
  29. package/dist/chunk-JQ4YLXXM.cjs.map +1 -0
  30. package/dist/chunk-KCA7RNJ4.cjs +781 -0
  31. package/dist/chunk-KCA7RNJ4.cjs.map +1 -0
  32. package/dist/chunk-NJDDNO4C.js +23 -0
  33. package/dist/chunk-NJDDNO4C.js.map +1 -0
  34. package/dist/chunk-OAQ7MDYX.js +22 -0
  35. package/dist/chunk-OAQ7MDYX.js.map +1 -0
  36. package/dist/chunk-PP6OYURM.cjs +238 -0
  37. package/dist/chunk-PP6OYURM.cjs.map +1 -0
  38. package/dist/chunk-SHX2JGID.cjs +269 -0
  39. package/dist/chunk-SHX2JGID.cjs.map +1 -0
  40. package/dist/chunk-SOYRICHU.js +3645 -0
  41. package/dist/chunk-SOYRICHU.js.map +1 -0
  42. package/dist/chunk-T425FIC7.js +773 -0
  43. package/dist/chunk-T425FIC7.js.map +1 -0
  44. package/dist/chunk-TMG3M6TK.js +152 -0
  45. package/dist/chunk-TMG3M6TK.js.map +1 -0
  46. package/dist/chunk-XLLSS464.cjs +286 -0
  47. package/dist/chunk-XLLSS464.cjs.map +1 -0
  48. package/dist/chunk-XZ5ZFLZM.js +280 -0
  49. package/dist/chunk-XZ5ZFLZM.js.map +1 -0
  50. package/dist/chunk-Z7XOFKM4.cjs +733 -0
  51. package/dist/chunk-Z7XOFKM4.cjs.map +1 -0
  52. package/dist/chunk-ZGMXOMCB.js +266 -0
  53. package/dist/chunk-ZGMXOMCB.js.map +1 -0
  54. package/dist/data.cjs +70 -0
  55. package/dist/data.cjs.map +1 -0
  56. package/dist/data.d.cts +963 -0
  57. package/dist/data.d.ts +963 -0
  58. package/dist/data.js +5 -0
  59. package/dist/data.js.map +1 -0
  60. package/dist/form.cjs +151 -0
  61. package/dist/form.cjs.map +1 -0
  62. package/dist/form.d.cts +2639 -0
  63. package/dist/form.d.ts +2639 -0
  64. package/dist/form.js +6 -0
  65. package/dist/form.js.map +1 -0
  66. package/dist/index.cjs +1158 -0
  67. package/dist/index.cjs.map +1 -0
  68. package/dist/index.d.cts +439 -0
  69. package/dist/index.d.ts +439 -0
  70. package/dist/index.js +547 -0
  71. package/dist/index.js.map +1 -0
  72. package/dist/layout.cjs +67 -0
  73. package/dist/layout.cjs.map +1 -0
  74. package/dist/layout.d.cts +729 -0
  75. package/dist/layout.d.ts +729 -0
  76. package/dist/layout.js +6 -0
  77. package/dist/layout.js.map +1 -0
  78. package/dist/motion.cjs +50 -0
  79. package/dist/motion.cjs.map +1 -0
  80. package/dist/motion.d.cts +681 -0
  81. package/dist/motion.d.ts +681 -0
  82. package/dist/motion.js +5 -0
  83. package/dist/motion.js.map +1 -0
  84. package/dist/navigation.cjs +48 -0
  85. package/dist/navigation.cjs.map +1 -0
  86. package/dist/navigation.d.cts +515 -0
  87. package/dist/navigation.d.ts +515 -0
  88. package/dist/navigation.js +7 -0
  89. package/dist/navigation.js.map +1 -0
  90. package/dist/overlay.cjs +61 -0
  91. package/dist/overlay.cjs.map +1 -0
  92. package/dist/overlay.d.cts +772 -0
  93. package/dist/overlay.d.ts +772 -0
  94. package/dist/overlay.js +8 -0
  95. package/dist/overlay.js.map +1 -0
  96. package/dist/position-Cn7qP1pn.d.cts +50 -0
  97. package/dist/position-Cn7qP1pn.d.ts +50 -0
  98. package/dist/primitives.cjs +129 -0
  99. package/dist/primitives.cjs.map +1 -0
  100. package/dist/primitives.d.cts +300 -0
  101. package/dist/primitives.d.ts +300 -0
  102. package/dist/primitives.js +8 -0
  103. package/dist/primitives.js.map +1 -0
  104. package/dist/sidebar-CQqEmpid.d.cts +124 -0
  105. package/dist/sidebar-CTZ-Ckko.d.ts +124 -0
  106. package/dist/styles.css +5593 -0
  107. package/dist/utils-IKPG3zcC.d.cts +46 -0
  108. package/dist/utils-IKPG3zcC.d.ts +46 -0
  109. package/package.json +91 -0
package/dist/index.cjs ADDED
@@ -0,0 +1,1158 @@
1
+ 'use strict';
2
+
3
+ var chunkJQ4YLXXM_cjs = require('./chunk-JQ4YLXXM.cjs');
4
+ var chunkIOXGBPOV_cjs = require('./chunk-IOXGBPOV.cjs');
5
+ var chunk5BQEZYG6_cjs = require('./chunk-5BQEZYG6.cjs');
6
+ var chunkDMPNT3MY_cjs = require('./chunk-DMPNT3MY.cjs');
7
+ var chunkXLLSS464_cjs = require('./chunk-XLLSS464.cjs');
8
+ var chunkJ2LA4GRP_cjs = require('./chunk-J2LA4GRP.cjs');
9
+ var chunkKCA7RNJ4_cjs = require('./chunk-KCA7RNJ4.cjs');
10
+ var chunkSHX2JGID_cjs = require('./chunk-SHX2JGID.cjs');
11
+ var chunkEISHOEB6_cjs = require('./chunk-EISHOEB6.cjs');
12
+ var chunk774WBLDR_cjs = require('./chunk-774WBLDR.cjs');
13
+ var chunkZ7XOFKM4_cjs = require('./chunk-Z7XOFKM4.cjs');
14
+ var chunkPP6OYURM_cjs = require('./chunk-PP6OYURM.cjs');
15
+ var chunk6732H4BQ_cjs = require('./chunk-6732H4BQ.cjs');
16
+ var vue = require('vue');
17
+ var core = require('@ansh-ui/core');
18
+
19
+ var HOST_STYLE = {
20
+ position: "relative",
21
+ isolation: "isolate",
22
+ overflow: "hidden"
23
+ };
24
+ var CONTENT_STYLE = {
25
+ position: "relative",
26
+ zIndex: 1
27
+ };
28
+ function createEffectComponent(definition, name) {
29
+ const optionKeys = Object.keys(definition.defaults);
30
+ const props = {};
31
+ for (const key of optionKeys) {
32
+ props[key] = { type: null, default: void 0 };
33
+ }
34
+ props.as = { type: String, default: void 0 };
35
+ const component = vue.defineComponent({
36
+ name: name ?? `Ansh${pascal(definition.name)}`,
37
+ // Attributes are bound explicitly below so our positioning styles merge with the author's
38
+ // rather than being overwritten by automatic inheritance.
39
+ inheritAttrs: false,
40
+ props,
41
+ setup(componentProps, { slots, attrs, expose }) {
42
+ const host = vue.ref(null);
43
+ let handle = null;
44
+ const collect = () => {
45
+ const out = {};
46
+ for (const key of optionKeys) {
47
+ const value = componentProps[key];
48
+ if (value !== void 0) out[key] = value;
49
+ }
50
+ return out;
51
+ };
52
+ vue.onMounted(() => {
53
+ if (!host.value) return;
54
+ handle = core.mountEffect(definition, host.value, collect());
55
+ });
56
+ vue.watch(collect, (next) => handle?.update(next), { deep: true, flush: "post" });
57
+ vue.onBeforeUnmount(() => {
58
+ handle?.destroy();
59
+ handle = null;
60
+ });
61
+ expose({
62
+ pause: () => handle?.pause(),
63
+ resume: () => handle?.resume(),
64
+ renderOnce: () => handle?.renderOnce(),
65
+ get canvas() {
66
+ return handle?.canvas ?? null;
67
+ }
68
+ });
69
+ return () => {
70
+ const tag = componentProps.as ?? "div";
71
+ const { class: className, style, ...rest } = attrs;
72
+ return vue.h(
73
+ tag,
74
+ {
75
+ ref: host,
76
+ class: className,
77
+ // Array form lets Vue merge our styles with the author's, with theirs winning.
78
+ style: [HOST_STYLE, style],
79
+ ...rest
80
+ },
81
+ slots.default ? [vue.h("div", { style: CONTENT_STYLE }, slots.default())] : void 0
82
+ );
83
+ };
84
+ }
85
+ });
86
+ return component;
87
+ }
88
+ function pascal(value) {
89
+ return value.replace(/(^|-)([a-z])/g, (_, __, letter) => letter.toUpperCase());
90
+ }
91
+ function createBehaviourComponent(definition, name, defaultTag = "div") {
92
+ const optionKeys = Object.keys(definition.defaults);
93
+ const props = {};
94
+ for (const key of optionKeys) {
95
+ props[key] = { type: null, default: void 0 };
96
+ }
97
+ props.as = { type: String, default: void 0 };
98
+ const component = vue.defineComponent({
99
+ name: name ?? `Ansh${pascal2(definition.name)}`,
100
+ inheritAttrs: false,
101
+ props,
102
+ setup(componentProps, { slots, attrs, expose }) {
103
+ const host = vue.ref(null);
104
+ let handle = null;
105
+ const collect = () => {
106
+ const out = {};
107
+ for (const key of optionKeys) {
108
+ const value = componentProps[key];
109
+ if (value !== void 0) out[key] = value;
110
+ }
111
+ return out;
112
+ };
113
+ vue.onMounted(() => {
114
+ if (!host.value) return;
115
+ handle = core.mountBehaviour(definition, host.value, collect());
116
+ });
117
+ vue.watch(collect, (next) => handle?.update(next), { deep: true, flush: "post" });
118
+ vue.onBeforeUnmount(() => {
119
+ handle?.destroy();
120
+ handle = null;
121
+ });
122
+ expose({
123
+ get element() {
124
+ return host.value;
125
+ }
126
+ });
127
+ return () => {
128
+ const tag = componentProps.as ?? defaultTag;
129
+ return vue.h(tag, { ref: host, ...attrs }, slots.default?.());
130
+ };
131
+ }
132
+ });
133
+ return component;
134
+ }
135
+ function useBehaviour(target, definition, options) {
136
+ let handle = null;
137
+ const resolve = () => typeof options === "function" ? options() : options ?? {};
138
+ vue.watch(
139
+ target,
140
+ (element) => {
141
+ handle?.destroy();
142
+ handle = null;
143
+ if (!element) return;
144
+ handle = core.mountBehaviour(definition, element, resolve());
145
+ },
146
+ { immediate: true, flush: "post" }
147
+ );
148
+ vue.watch(resolve, (next) => handle?.update(next), { deep: true, flush: "post" });
149
+ if (vue.getCurrentScope()) {
150
+ vue.onScopeDispose(() => {
151
+ handle?.destroy();
152
+ handle = null;
153
+ });
154
+ }
155
+ }
156
+ function pascal2(value) {
157
+ return value.replace(/(^|-)([a-z])/g, (_, __, letter) => letter.toUpperCase());
158
+ }
159
+
160
+ // src/components/index.ts
161
+ var components_exports = {};
162
+ chunk6732H4BQ_cjs.__export(components_exports, {
163
+ AnimatedGradient: () => AnimatedGradient,
164
+ AuroraBackground: () => AuroraBackground,
165
+ Constellation: () => Constellation,
166
+ Fireflies: () => Fireflies,
167
+ LiquidBlob: () => LiquidBlob,
168
+ MagneticButton: () => MagneticButton,
169
+ Marquee: () => Marquee,
170
+ MeshGradient: () => MeshGradient,
171
+ MeteorShower: () => MeteorShower,
172
+ NoiseLayer: () => NoiseLayer,
173
+ Parallax: () => Parallax,
174
+ ParticleField: () => ParticleField,
175
+ Rain: () => Rain,
176
+ Ripple: () => Ripple,
177
+ ScrollReveal: () => ScrollReveal,
178
+ Snow: () => Snow,
179
+ Spotlight: () => Spotlight,
180
+ TiltCard: () => TiltCard,
181
+ Waves: () => Waves
182
+ });
183
+ var AuroraBackground = createEffectComponent(core.aurora, "AuroraBackground");
184
+ var MeshGradient = createEffectComponent(core.meshGradient, "MeshGradient");
185
+ var AnimatedGradient = createEffectComponent(core.animatedGradient, "AnimatedGradient");
186
+ var ParticleField = createEffectComponent(core.particleField, "ParticleField");
187
+ var Constellation = createEffectComponent(core.constellation, "Constellation");
188
+ var MeteorShower = createEffectComponent(core.meteors, "MeteorShower");
189
+ var Rain = createEffectComponent(core.rain, "Rain");
190
+ var Snow = createEffectComponent(core.snow, "Snow");
191
+ var Fireflies = createEffectComponent(core.fireflies, "Fireflies");
192
+ var Waves = createEffectComponent(core.waves, "Waves");
193
+ var LiquidBlob = createEffectComponent(core.blob, "LiquidBlob");
194
+ var NoiseLayer = createEffectComponent(core.noiseLayer, "NoiseLayer");
195
+ var Spotlight = createEffectComponent(core.spotlight, "Spotlight");
196
+ var MagneticButton = createBehaviourComponent(core.magnetic, "MagneticButton", "button");
197
+ var TiltCard = createBehaviourComponent(core.tilt, "TiltCard");
198
+ var Ripple = createBehaviourComponent(core.ripple, "Ripple");
199
+ var Marquee = createBehaviourComponent(core.marquee, "Marquee");
200
+ var ScrollReveal = createBehaviourComponent(core.scrollReveal, "ScrollReveal");
201
+ var Parallax = createBehaviourComponent(core.parallax, "Parallax");
202
+ var ICONS = {
203
+ info: () => vue.h(
204
+ "svg",
205
+ {
206
+ viewBox: "0 0 20 20",
207
+ width: "18",
208
+ height: "18",
209
+ fill: "none",
210
+ stroke: "currentColor",
211
+ "stroke-width": "1.6"
212
+ },
213
+ [
214
+ vue.h("circle", { cx: "10", cy: "10", r: "7.5" }),
215
+ vue.h("path", { d: "M10 9v4.5", "stroke-linecap": "round" }),
216
+ vue.h("circle", { cx: "10", cy: "6.5", r: "0.9", fill: "currentColor", stroke: "none" })
217
+ ]
218
+ ),
219
+ success: () => vue.h(
220
+ "svg",
221
+ {
222
+ viewBox: "0 0 20 20",
223
+ width: "18",
224
+ height: "18",
225
+ fill: "none",
226
+ stroke: "currentColor",
227
+ "stroke-width": "1.6"
228
+ },
229
+ [
230
+ vue.h("circle", { cx: "10", cy: "10", r: "7.5" }),
231
+ vue.h("path", {
232
+ d: "M6.5 10.3l2.4 2.4 4.6-5.2",
233
+ "stroke-linecap": "round",
234
+ "stroke-linejoin": "round"
235
+ })
236
+ ]
237
+ ),
238
+ warning: () => vue.h(
239
+ "svg",
240
+ {
241
+ viewBox: "0 0 20 20",
242
+ width: "18",
243
+ height: "18",
244
+ fill: "none",
245
+ stroke: "currentColor",
246
+ "stroke-width": "1.6"
247
+ },
248
+ [
249
+ vue.h("path", {
250
+ d: "M8.6 3.2L1.9 14.6a1.6 1.6 0 001.4 2.4h13.4a1.6 1.6 0 001.4-2.4L11.4 3.2a1.6 1.6 0 00-2.8 0z",
251
+ "stroke-linejoin": "round"
252
+ }),
253
+ vue.h("path", { d: "M10 7.5v3.5", "stroke-linecap": "round" }),
254
+ vue.h("circle", { cx: "10", cy: "13.6", r: "0.9", fill: "currentColor", stroke: "none" })
255
+ ]
256
+ ),
257
+ danger: () => vue.h(
258
+ "svg",
259
+ {
260
+ viewBox: "0 0 20 20",
261
+ width: "18",
262
+ height: "18",
263
+ fill: "none",
264
+ stroke: "currentColor",
265
+ "stroke-width": "1.6"
266
+ },
267
+ [
268
+ vue.h("circle", { cx: "10", cy: "10", r: "7.5" }),
269
+ vue.h("path", { d: "M7.5 7.5l5 5M12.5 7.5l-5 5", "stroke-linecap": "round" })
270
+ ]
271
+ ),
272
+ neutral: null
273
+ };
274
+ var Alert = vue.defineComponent({
275
+ name: "AnshAlert",
276
+ inheritAttrs: false,
277
+ props: {
278
+ tone: { type: String, default: "info" },
279
+ title: { type: [String, Object, Function], default: void 0 },
280
+ /** Replace the default icon, or pass `null` to omit it. */
281
+ icon: { type: [String, Object, Function], default: void 0 },
282
+ /** Show a dismiss button. */
283
+ dismissible: { type: Boolean, default: false },
284
+ /** Buttons or links under the message. */
285
+ actions: { type: [String, Object, Function], default: void 0 },
286
+ variant: { type: String, default: "soft" }
287
+ },
288
+ emits: ["dismiss"],
289
+ setup(props, { attrs, emit, slots }) {
290
+ const visible = vue.ref(true);
291
+ return () => {
292
+ if (!visible.value) return null;
293
+ const { class: attrClass, ...restAttrs } = attrs;
294
+ const urgent = props.tone === "danger" || props.tone === "warning";
295
+ const resolvedIcon = props.icon === void 0 ? ICONS[props.tone]?.() ?? null : props.icon === null ? null : chunk6732H4BQ_cjs.resolveSlotContent(props.icon);
296
+ return vue.h(
297
+ "div",
298
+ {
299
+ class: chunk6732H4BQ_cjs.cx(
300
+ "ansh-alert",
301
+ `ansh-alert--${props.tone}`,
302
+ `ansh-alert--${props.variant}`,
303
+ attrClass
304
+ ),
305
+ role: urgent ? "alert" : "status",
306
+ // Errors are assertive; everything else waits for a natural pause.
307
+ "aria-live": urgent ? "assertive" : "polite",
308
+ ...restAttrs
309
+ },
310
+ [
311
+ resolvedIcon !== null ? vue.h("span", { class: "ansh-alert__icon", "aria-hidden": "true" }, [resolvedIcon]) : null,
312
+ vue.h("div", { class: "ansh-alert__body" }, [
313
+ props.title ? vue.h("p", { class: "ansh-alert__title" }, [chunk6732H4BQ_cjs.resolveSlotContent(props.title)]) : null,
314
+ slots.default ? vue.h("div", { class: "ansh-alert__message" }, slots.default()) : null,
315
+ props.actions ? vue.h("div", { class: "ansh-alert__actions" }, [chunk6732H4BQ_cjs.resolveSlotContent(props.actions)]) : null
316
+ ]),
317
+ props.dismissible ? vue.h(
318
+ "button",
319
+ {
320
+ type: "button",
321
+ class: "ansh-alert__close ansh-focusable",
322
+ "aria-label": "Dismiss message",
323
+ onClick: () => {
324
+ visible.value = false;
325
+ emit("dismiss");
326
+ }
327
+ },
328
+ [
329
+ vue.h(
330
+ "svg",
331
+ { viewBox: "0 0 16 16", width: "12", height: "12", "aria-hidden": "true" },
332
+ [
333
+ vue.h("path", {
334
+ d: "M4 4l8 8M12 4l-8 8",
335
+ stroke: "currentColor",
336
+ "stroke-width": "1.75",
337
+ "stroke-linecap": "round",
338
+ fill: "none"
339
+ })
340
+ ]
341
+ )
342
+ ]
343
+ ) : null
344
+ ]
345
+ );
346
+ };
347
+ }
348
+ });
349
+ var Banner = vue.defineComponent({
350
+ name: "AnshBanner",
351
+ inheritAttrs: false,
352
+ props: {
353
+ tone: { type: String, default: "info" },
354
+ title: { type: [String, Object, Function], default: void 0 },
355
+ icon: { type: [String, Object, Function], default: void 0 },
356
+ dismissible: { type: Boolean, default: false },
357
+ actions: { type: [String, Object, Function], default: void 0 },
358
+ /** Pin to the top of the viewport. */
359
+ sticky: { type: Boolean, default: false }
360
+ },
361
+ emits: ["dismiss"],
362
+ setup(props, { attrs, emit, slots }) {
363
+ return () => {
364
+ const { class: attrClass, ...restAttrs } = attrs;
365
+ return vue.h(
366
+ Alert,
367
+ {
368
+ tone: props.tone,
369
+ title: props.title,
370
+ icon: props.icon,
371
+ dismissible: props.dismissible,
372
+ actions: props.actions,
373
+ variant: "solid",
374
+ class: chunk6732H4BQ_cjs.cx("ansh-banner", props.sticky && "ansh-banner--sticky", attrClass),
375
+ onDismiss: () => emit("dismiss"),
376
+ ...restAttrs
377
+ },
378
+ slots
379
+ );
380
+ };
381
+ }
382
+ });
383
+ var Callout = vue.defineComponent({
384
+ name: "AnshCallout",
385
+ inheritAttrs: false,
386
+ props: {
387
+ /** Short label — "Note", "Tip", "Warning". */
388
+ label: { type: String, default: void 0 },
389
+ tone: { type: String, default: "info" },
390
+ icon: { type: [String, Object, Function], default: void 0 }
391
+ },
392
+ setup(props, { attrs, slots }) {
393
+ return () => {
394
+ const { class: attrClass, ...restAttrs } = attrs;
395
+ const resolvedIcon = props.icon !== void 0 ? chunk6732H4BQ_cjs.resolveSlotContent(props.icon) : ICONS[props.tone]?.() ?? null;
396
+ return vue.h(
397
+ "aside",
398
+ {
399
+ class: chunk6732H4BQ_cjs.cx("ansh-callout", `ansh-callout--${props.tone}`, attrClass),
400
+ ...restAttrs
401
+ },
402
+ [
403
+ vue.h("span", { class: "ansh-callout__icon", "aria-hidden": "true" }, [resolvedIcon]),
404
+ vue.h("div", { class: "ansh-callout__body" }, [
405
+ props.label ? vue.h("p", { class: "ansh-callout__label" }, props.label) : null,
406
+ vue.h("div", { class: "ansh-callout__content" }, slots.default?.())
407
+ ])
408
+ ]
409
+ );
410
+ };
411
+ }
412
+ });
413
+ var applicationComponents = {
414
+ MotionConfig: chunkZ7XOFKM4_cjs.MotionConfig,
415
+ ThemeProvider: chunkZ7XOFKM4_cjs.ThemeProvider,
416
+ Field: chunkIOXGBPOV_cjs.Field,
417
+ Fieldset: chunkIOXGBPOV_cjs.Fieldset,
418
+ VisuallyHidden: chunkIOXGBPOV_cjs.VisuallyHidden,
419
+ Input: chunkIOXGBPOV_cjs.Input,
420
+ NumberInput: chunkIOXGBPOV_cjs.NumberInput,
421
+ Textarea: chunkIOXGBPOV_cjs.Textarea,
422
+ Checkbox: chunkIOXGBPOV_cjs.Checkbox,
423
+ ChoiceCard: chunkIOXGBPOV_cjs.ChoiceCard,
424
+ Radio: chunkIOXGBPOV_cjs.Radio,
425
+ RadioGroup: chunkIOXGBPOV_cjs.RadioGroup,
426
+ Switch: chunkIOXGBPOV_cjs.Switch,
427
+ OptionList: chunkIOXGBPOV_cjs.OptionList,
428
+ Select: chunkIOXGBPOV_cjs.Select,
429
+ Combobox: chunkIOXGBPOV_cjs.Combobox,
430
+ RangeSlider: chunkIOXGBPOV_cjs.RangeSlider,
431
+ Slider: chunkIOXGBPOV_cjs.Slider,
432
+ PinInput: chunkIOXGBPOV_cjs.PinInput,
433
+ TagsInput: chunkIOXGBPOV_cjs.TagsInput,
434
+ Rating: chunkIOXGBPOV_cjs.Rating,
435
+ Dropzone: chunkIOXGBPOV_cjs.Dropzone,
436
+ ColorPicker: chunkIOXGBPOV_cjs.ColorPicker,
437
+ Calendar: chunkIOXGBPOV_cjs.Calendar,
438
+ DatePicker: chunkIOXGBPOV_cjs.DatePicker,
439
+ DateRangePicker: chunkIOXGBPOV_cjs.DateRangePicker,
440
+ AlertDialog: chunk5BQEZYG6_cjs.AlertDialog,
441
+ Dialog: chunk5BQEZYG6_cjs.Dialog,
442
+ DialogFooter: chunk5BQEZYG6_cjs.DialogFooter,
443
+ HoverCard: chunk5BQEZYG6_cjs.HoverCard,
444
+ Popover: chunk5BQEZYG6_cjs.Popover,
445
+ PopoverContent: chunk5BQEZYG6_cjs.PopoverContent,
446
+ PopoverTrigger: chunk5BQEZYG6_cjs.PopoverTrigger,
447
+ Tooltip: chunk5BQEZYG6_cjs.Tooltip,
448
+ TooltipProvider: chunk5BQEZYG6_cjs.TooltipProvider,
449
+ Drawer: chunk5BQEZYG6_cjs.Drawer,
450
+ ContextMenu: chunk5BQEZYG6_cjs.ContextMenu,
451
+ DropdownMenu: chunk5BQEZYG6_cjs.DropdownMenu,
452
+ DataTable: chunkJ2LA4GRP_cjs.DataTable,
453
+ Pagination: chunkJ2LA4GRP_cjs.Pagination,
454
+ Table: chunkJ2LA4GRP_cjs.Table,
455
+ Avatar: chunkJ2LA4GRP_cjs.Avatar,
456
+ AvatarGroup: chunkJ2LA4GRP_cjs.AvatarGroup,
457
+ Badge: chunkJ2LA4GRP_cjs.Badge,
458
+ CodeBlock: chunkJ2LA4GRP_cjs.CodeBlock,
459
+ DescriptionList: chunkJ2LA4GRP_cjs.DescriptionList,
460
+ EmptyState: chunkJ2LA4GRP_cjs.EmptyState,
461
+ Kbd: chunkJ2LA4GRP_cjs.Kbd,
462
+ Stat: chunkJ2LA4GRP_cjs.Stat,
463
+ Timeline: chunkJ2LA4GRP_cjs.Timeline,
464
+ CircularProgress: chunkJ2LA4GRP_cjs.CircularProgress,
465
+ Meter: chunkJ2LA4GRP_cjs.Meter,
466
+ Progress: chunkJ2LA4GRP_cjs.Progress,
467
+ Breadcrumbs: chunkKCA7RNJ4_cjs.Breadcrumbs,
468
+ Stepper: chunkKCA7RNJ4_cjs.Stepper,
469
+ Sidebar: chunkSHX2JGID_cjs.Sidebar,
470
+ AppShell: chunkSHX2JGID_cjs.AppShell,
471
+ NavigationMenu: chunkKCA7RNJ4_cjs.NavigationMenu,
472
+ Tabs: chunkKCA7RNJ4_cjs.Tabs,
473
+ Alert,
474
+ Banner,
475
+ Callout,
476
+ Accordion: chunkKCA7RNJ4_cjs.Accordion,
477
+ Collapsible: chunkKCA7RNJ4_cjs.Collapsible,
478
+ DisclosureList: chunkKCA7RNJ4_cjs.DisclosureList,
479
+ AspectRatio: chunkJQ4YLXXM_cjs.AspectRatio,
480
+ Center: chunkJQ4YLXXM_cjs.Center,
481
+ Container: chunkJQ4YLXXM_cjs.Container,
482
+ Divider: chunkJQ4YLXXM_cjs.Divider,
483
+ Grid: chunkJQ4YLXXM_cjs.Grid,
484
+ GridItem: chunkJQ4YLXXM_cjs.GridItem,
485
+ HStack: chunkJQ4YLXXM_cjs.HStack,
486
+ ScrollArea: chunkJQ4YLXXM_cjs.ScrollArea,
487
+ Spacer: chunkJQ4YLXXM_cjs.Spacer,
488
+ Stack: chunkJQ4YLXXM_cjs.Stack,
489
+ VStack: chunkJQ4YLXXM_cjs.VStack,
490
+ Resizable: chunkJQ4YLXXM_cjs.Resizable,
491
+ AnimatePresence: chunkZ7XOFKM4_cjs.AnimatePresence,
492
+ Draggable: chunkZ7XOFKM4_cjs.Draggable,
493
+ Motion: chunkZ7XOFKM4_cjs.Motion
494
+ };
495
+ var AnshPlugin = {
496
+ install(app, options = {}) {
497
+ const {
498
+ prefix = "Ansh",
499
+ registerComponents = true,
500
+ reducedMotion,
501
+ timeScale,
502
+ quality,
503
+ pauseWhenHidden = true,
504
+ pauseWhenBlurred = false,
505
+ respectBattery = true
506
+ } = options;
507
+ if (registerComponents) {
508
+ const all = {
509
+ ...components_exports,
510
+ GradientText: chunkZ7XOFKM4_cjs.GradientText,
511
+ AnimatedText: chunkZ7XOFKM4_cjs.AnimatedText,
512
+ ...applicationComponents
513
+ };
514
+ for (const [name, component] of Object.entries(all)) {
515
+ app.component(`${prefix}${name}`, component);
516
+ }
517
+ }
518
+ if (reducedMotion) core.setReducedMotionMode(reducedMotion);
519
+ const ticker = core.getTicker();
520
+ if (timeScale !== void 0) ticker.timeScale = timeScale;
521
+ if (quality !== void 0) ticker.lockQuality(quality);
522
+ if (typeof document !== "undefined") {
523
+ const detach = core.attachLifecycle(ticker, {
524
+ pauseWhenHidden,
525
+ pauseWhenBlurred,
526
+ respectBattery
527
+ });
528
+ const originalUnmount = app.unmount.bind(app);
529
+ app.unmount = () => {
530
+ detach();
531
+ originalUnmount();
532
+ };
533
+ }
534
+ }
535
+ };
536
+ var VERSION = "0.1.0";
537
+
538
+ Object.defineProperty(exports, "AspectRatio", {
539
+ enumerable: true,
540
+ get: function () { return chunkJQ4YLXXM_cjs.AspectRatio; }
541
+ });
542
+ Object.defineProperty(exports, "Center", {
543
+ enumerable: true,
544
+ get: function () { return chunkJQ4YLXXM_cjs.Center; }
545
+ });
546
+ Object.defineProperty(exports, "Container", {
547
+ enumerable: true,
548
+ get: function () { return chunkJQ4YLXXM_cjs.Container; }
549
+ });
550
+ Object.defineProperty(exports, "Divider", {
551
+ enumerable: true,
552
+ get: function () { return chunkJQ4YLXXM_cjs.Divider; }
553
+ });
554
+ Object.defineProperty(exports, "Grid", {
555
+ enumerable: true,
556
+ get: function () { return chunkJQ4YLXXM_cjs.Grid; }
557
+ });
558
+ Object.defineProperty(exports, "GridItem", {
559
+ enumerable: true,
560
+ get: function () { return chunkJQ4YLXXM_cjs.GridItem; }
561
+ });
562
+ Object.defineProperty(exports, "HStack", {
563
+ enumerable: true,
564
+ get: function () { return chunkJQ4YLXXM_cjs.HStack; }
565
+ });
566
+ Object.defineProperty(exports, "Resizable", {
567
+ enumerable: true,
568
+ get: function () { return chunkJQ4YLXXM_cjs.Resizable; }
569
+ });
570
+ Object.defineProperty(exports, "ScrollArea", {
571
+ enumerable: true,
572
+ get: function () { return chunkJQ4YLXXM_cjs.ScrollArea; }
573
+ });
574
+ Object.defineProperty(exports, "Spacer", {
575
+ enumerable: true,
576
+ get: function () { return chunkJQ4YLXXM_cjs.Spacer; }
577
+ });
578
+ Object.defineProperty(exports, "Stack", {
579
+ enumerable: true,
580
+ get: function () { return chunkJQ4YLXXM_cjs.Stack; }
581
+ });
582
+ Object.defineProperty(exports, "VStack", {
583
+ enumerable: true,
584
+ get: function () { return chunkJQ4YLXXM_cjs.VStack; }
585
+ });
586
+ Object.defineProperty(exports, "Calendar", {
587
+ enumerable: true,
588
+ get: function () { return chunkIOXGBPOV_cjs.Calendar; }
589
+ });
590
+ Object.defineProperty(exports, "Checkbox", {
591
+ enumerable: true,
592
+ get: function () { return chunkIOXGBPOV_cjs.Checkbox; }
593
+ });
594
+ Object.defineProperty(exports, "ChoiceCard", {
595
+ enumerable: true,
596
+ get: function () { return chunkIOXGBPOV_cjs.ChoiceCard; }
597
+ });
598
+ Object.defineProperty(exports, "ColorPicker", {
599
+ enumerable: true,
600
+ get: function () { return chunkIOXGBPOV_cjs.ColorPicker; }
601
+ });
602
+ Object.defineProperty(exports, "Combobox", {
603
+ enumerable: true,
604
+ get: function () { return chunkIOXGBPOV_cjs.Combobox; }
605
+ });
606
+ Object.defineProperty(exports, "DatePicker", {
607
+ enumerable: true,
608
+ get: function () { return chunkIOXGBPOV_cjs.DatePicker; }
609
+ });
610
+ Object.defineProperty(exports, "DateRangePicker", {
611
+ enumerable: true,
612
+ get: function () { return chunkIOXGBPOV_cjs.DateRangePicker; }
613
+ });
614
+ Object.defineProperty(exports, "Dropzone", {
615
+ enumerable: true,
616
+ get: function () { return chunkIOXGBPOV_cjs.Dropzone; }
617
+ });
618
+ Object.defineProperty(exports, "Field", {
619
+ enumerable: true,
620
+ get: function () { return chunkIOXGBPOV_cjs.Field; }
621
+ });
622
+ Object.defineProperty(exports, "Fieldset", {
623
+ enumerable: true,
624
+ get: function () { return chunkIOXGBPOV_cjs.Fieldset; }
625
+ });
626
+ Object.defineProperty(exports, "Input", {
627
+ enumerable: true,
628
+ get: function () { return chunkIOXGBPOV_cjs.Input; }
629
+ });
630
+ Object.defineProperty(exports, "NumberInput", {
631
+ enumerable: true,
632
+ get: function () { return chunkIOXGBPOV_cjs.NumberInput; }
633
+ });
634
+ Object.defineProperty(exports, "OptionList", {
635
+ enumerable: true,
636
+ get: function () { return chunkIOXGBPOV_cjs.OptionList; }
637
+ });
638
+ Object.defineProperty(exports, "PinInput", {
639
+ enumerable: true,
640
+ get: function () { return chunkIOXGBPOV_cjs.PinInput; }
641
+ });
642
+ Object.defineProperty(exports, "Radio", {
643
+ enumerable: true,
644
+ get: function () { return chunkIOXGBPOV_cjs.Radio; }
645
+ });
646
+ Object.defineProperty(exports, "RadioGroup", {
647
+ enumerable: true,
648
+ get: function () { return chunkIOXGBPOV_cjs.RadioGroup; }
649
+ });
650
+ Object.defineProperty(exports, "RangeSlider", {
651
+ enumerable: true,
652
+ get: function () { return chunkIOXGBPOV_cjs.RangeSlider; }
653
+ });
654
+ Object.defineProperty(exports, "Rating", {
655
+ enumerable: true,
656
+ get: function () { return chunkIOXGBPOV_cjs.Rating; }
657
+ });
658
+ Object.defineProperty(exports, "Select", {
659
+ enumerable: true,
660
+ get: function () { return chunkIOXGBPOV_cjs.Select; }
661
+ });
662
+ Object.defineProperty(exports, "Slider", {
663
+ enumerable: true,
664
+ get: function () { return chunkIOXGBPOV_cjs.Slider; }
665
+ });
666
+ Object.defineProperty(exports, "Switch", {
667
+ enumerable: true,
668
+ get: function () { return chunkIOXGBPOV_cjs.Switch; }
669
+ });
670
+ Object.defineProperty(exports, "TagsInput", {
671
+ enumerable: true,
672
+ get: function () { return chunkIOXGBPOV_cjs.TagsInput; }
673
+ });
674
+ Object.defineProperty(exports, "Textarea", {
675
+ enumerable: true,
676
+ get: function () { return chunkIOXGBPOV_cjs.Textarea; }
677
+ });
678
+ Object.defineProperty(exports, "VisuallyHidden", {
679
+ enumerable: true,
680
+ get: function () { return chunkIOXGBPOV_cjs.VisuallyHidden; }
681
+ });
682
+ Object.defineProperty(exports, "addDays", {
683
+ enumerable: true,
684
+ get: function () { return chunkIOXGBPOV_cjs.addDays; }
685
+ });
686
+ Object.defineProperty(exports, "addMonths", {
687
+ enumerable: true,
688
+ get: function () { return chunkIOXGBPOV_cjs.addMonths; }
689
+ });
690
+ Object.defineProperty(exports, "filterOptions", {
691
+ enumerable: true,
692
+ get: function () { return chunkIOXGBPOV_cjs.filterOptions; }
693
+ });
694
+ Object.defineProperty(exports, "firstEnabled", {
695
+ enumerable: true,
696
+ get: function () { return chunkIOXGBPOV_cjs.firstEnabled; }
697
+ });
698
+ Object.defineProperty(exports, "isSameDay", {
699
+ enumerable: true,
700
+ get: function () { return chunkIOXGBPOV_cjs.isSameDay; }
701
+ });
702
+ Object.defineProperty(exports, "scoreOption", {
703
+ enumerable: true,
704
+ get: function () { return chunkIOXGBPOV_cjs.scoreOption; }
705
+ });
706
+ Object.defineProperty(exports, "startOfDay", {
707
+ enumerable: true,
708
+ get: function () { return chunkIOXGBPOV_cjs.startOfDay; }
709
+ });
710
+ Object.defineProperty(exports, "stepActive", {
711
+ enumerable: true,
712
+ get: function () { return chunkIOXGBPOV_cjs.stepActive; }
713
+ });
714
+ Object.defineProperty(exports, "useFieldContext", {
715
+ enumerable: true,
716
+ get: function () { return chunkIOXGBPOV_cjs.useFieldContext; }
717
+ });
718
+ Object.defineProperty(exports, "useFieldControl", {
719
+ enumerable: true,
720
+ get: function () { return chunkIOXGBPOV_cjs.useFieldControl; }
721
+ });
722
+ Object.defineProperty(exports, "useTypeahead", {
723
+ enumerable: true,
724
+ get: function () { return chunkIOXGBPOV_cjs.useTypeahead; }
725
+ });
726
+ Object.defineProperty(exports, "AlertDialog", {
727
+ enumerable: true,
728
+ get: function () { return chunk5BQEZYG6_cjs.AlertDialog; }
729
+ });
730
+ Object.defineProperty(exports, "ContextMenu", {
731
+ enumerable: true,
732
+ get: function () { return chunk5BQEZYG6_cjs.ContextMenu; }
733
+ });
734
+ Object.defineProperty(exports, "Dialog", {
735
+ enumerable: true,
736
+ get: function () { return chunk5BQEZYG6_cjs.Dialog; }
737
+ });
738
+ Object.defineProperty(exports, "DialogFooter", {
739
+ enumerable: true,
740
+ get: function () { return chunk5BQEZYG6_cjs.DialogFooter; }
741
+ });
742
+ Object.defineProperty(exports, "Drawer", {
743
+ enumerable: true,
744
+ get: function () { return chunk5BQEZYG6_cjs.Drawer; }
745
+ });
746
+ Object.defineProperty(exports, "DropdownMenu", {
747
+ enumerable: true,
748
+ get: function () { return chunk5BQEZYG6_cjs.DropdownMenu; }
749
+ });
750
+ Object.defineProperty(exports, "HoverCard", {
751
+ enumerable: true,
752
+ get: function () { return chunk5BQEZYG6_cjs.HoverCard; }
753
+ });
754
+ Object.defineProperty(exports, "Popover", {
755
+ enumerable: true,
756
+ get: function () { return chunk5BQEZYG6_cjs.Popover; }
757
+ });
758
+ Object.defineProperty(exports, "PopoverContent", {
759
+ enumerable: true,
760
+ get: function () { return chunk5BQEZYG6_cjs.PopoverContent; }
761
+ });
762
+ Object.defineProperty(exports, "PopoverTrigger", {
763
+ enumerable: true,
764
+ get: function () { return chunk5BQEZYG6_cjs.PopoverTrigger; }
765
+ });
766
+ Object.defineProperty(exports, "Tooltip", {
767
+ enumerable: true,
768
+ get: function () { return chunk5BQEZYG6_cjs.Tooltip; }
769
+ });
770
+ Object.defineProperty(exports, "TooltipProvider", {
771
+ enumerable: true,
772
+ get: function () { return chunk5BQEZYG6_cjs.TooltipProvider; }
773
+ });
774
+ Object.defineProperty(exports, "usePresence", {
775
+ enumerable: true,
776
+ get: function () { return chunkDMPNT3MY_cjs.usePresence; }
777
+ });
778
+ Object.defineProperty(exports, "computePosition", {
779
+ enumerable: true,
780
+ get: function () { return chunkXLLSS464_cjs.computePosition; }
781
+ });
782
+ Object.defineProperty(exports, "getLayerStack", {
783
+ enumerable: true,
784
+ get: function () { return chunkXLLSS464_cjs.getLayerStack; }
785
+ });
786
+ Object.defineProperty(exports, "useAnchoredPosition", {
787
+ enumerable: true,
788
+ get: function () { return chunkXLLSS464_cjs.useAnchoredPosition; }
789
+ });
790
+ Object.defineProperty(exports, "useDismiss", {
791
+ enumerable: true,
792
+ get: function () { return chunkXLLSS464_cjs.useDismiss; }
793
+ });
794
+ Object.defineProperty(exports, "useScrollLock", {
795
+ enumerable: true,
796
+ get: function () { return chunkXLLSS464_cjs.useScrollLock; }
797
+ });
798
+ Object.defineProperty(exports, "Avatar", {
799
+ enumerable: true,
800
+ get: function () { return chunkJ2LA4GRP_cjs.Avatar; }
801
+ });
802
+ Object.defineProperty(exports, "AvatarGroup", {
803
+ enumerable: true,
804
+ get: function () { return chunkJ2LA4GRP_cjs.AvatarGroup; }
805
+ });
806
+ Object.defineProperty(exports, "Badge", {
807
+ enumerable: true,
808
+ get: function () { return chunkJ2LA4GRP_cjs.Badge; }
809
+ });
810
+ Object.defineProperty(exports, "CircularProgress", {
811
+ enumerable: true,
812
+ get: function () { return chunkJ2LA4GRP_cjs.CircularProgress; }
813
+ });
814
+ Object.defineProperty(exports, "CodeBlock", {
815
+ enumerable: true,
816
+ get: function () { return chunkJ2LA4GRP_cjs.CodeBlock; }
817
+ });
818
+ Object.defineProperty(exports, "DataTable", {
819
+ enumerable: true,
820
+ get: function () { return chunkJ2LA4GRP_cjs.DataTable; }
821
+ });
822
+ Object.defineProperty(exports, "DescriptionList", {
823
+ enumerable: true,
824
+ get: function () { return chunkJ2LA4GRP_cjs.DescriptionList; }
825
+ });
826
+ Object.defineProperty(exports, "EmptyState", {
827
+ enumerable: true,
828
+ get: function () { return chunkJ2LA4GRP_cjs.EmptyState; }
829
+ });
830
+ Object.defineProperty(exports, "Kbd", {
831
+ enumerable: true,
832
+ get: function () { return chunkJ2LA4GRP_cjs.Kbd; }
833
+ });
834
+ Object.defineProperty(exports, "Meter", {
835
+ enumerable: true,
836
+ get: function () { return chunkJ2LA4GRP_cjs.Meter; }
837
+ });
838
+ Object.defineProperty(exports, "Pagination", {
839
+ enumerable: true,
840
+ get: function () { return chunkJ2LA4GRP_cjs.Pagination; }
841
+ });
842
+ Object.defineProperty(exports, "Progress", {
843
+ enumerable: true,
844
+ get: function () { return chunkJ2LA4GRP_cjs.Progress; }
845
+ });
846
+ Object.defineProperty(exports, "Stat", {
847
+ enumerable: true,
848
+ get: function () { return chunkJ2LA4GRP_cjs.Stat; }
849
+ });
850
+ Object.defineProperty(exports, "Table", {
851
+ enumerable: true,
852
+ get: function () { return chunkJ2LA4GRP_cjs.Table; }
853
+ });
854
+ Object.defineProperty(exports, "Timeline", {
855
+ enumerable: true,
856
+ get: function () { return chunkJ2LA4GRP_cjs.Timeline; }
857
+ });
858
+ Object.defineProperty(exports, "Accordion", {
859
+ enumerable: true,
860
+ get: function () { return chunkKCA7RNJ4_cjs.Accordion; }
861
+ });
862
+ Object.defineProperty(exports, "Breadcrumbs", {
863
+ enumerable: true,
864
+ get: function () { return chunkKCA7RNJ4_cjs.Breadcrumbs; }
865
+ });
866
+ Object.defineProperty(exports, "Collapsible", {
867
+ enumerable: true,
868
+ get: function () { return chunkKCA7RNJ4_cjs.Collapsible; }
869
+ });
870
+ Object.defineProperty(exports, "DisclosureList", {
871
+ enumerable: true,
872
+ get: function () { return chunkKCA7RNJ4_cjs.DisclosureList; }
873
+ });
874
+ Object.defineProperty(exports, "NavigationMenu", {
875
+ enumerable: true,
876
+ get: function () { return chunkKCA7RNJ4_cjs.NavigationMenu; }
877
+ });
878
+ Object.defineProperty(exports, "Stepper", {
879
+ enumerable: true,
880
+ get: function () { return chunkKCA7RNJ4_cjs.Stepper; }
881
+ });
882
+ Object.defineProperty(exports, "Tabs", {
883
+ enumerable: true,
884
+ get: function () { return chunkKCA7RNJ4_cjs.Tabs; }
885
+ });
886
+ Object.defineProperty(exports, "AppShell", {
887
+ enumerable: true,
888
+ get: function () { return chunkSHX2JGID_cjs.AppShell; }
889
+ });
890
+ Object.defineProperty(exports, "Sidebar", {
891
+ enumerable: true,
892
+ get: function () { return chunkSHX2JGID_cjs.Sidebar; }
893
+ });
894
+ Object.defineProperty(exports, "getTabbable", {
895
+ enumerable: true,
896
+ get: function () { return chunkEISHOEB6_cjs.getTabbable; }
897
+ });
898
+ Object.defineProperty(exports, "useAutoFocus", {
899
+ enumerable: true,
900
+ get: function () { return chunkEISHOEB6_cjs.useAutoFocus; }
901
+ });
902
+ Object.defineProperty(exports, "useFocusRestore", {
903
+ enumerable: true,
904
+ get: function () { return chunkEISHOEB6_cjs.useFocusRestore; }
905
+ });
906
+ Object.defineProperty(exports, "useFocusTrap", {
907
+ enumerable: true,
908
+ get: function () { return chunkEISHOEB6_cjs.useFocusTrap; }
909
+ });
910
+ Object.defineProperty(exports, "useRovingFocus", {
911
+ enumerable: true,
912
+ get: function () { return chunkEISHOEB6_cjs.useRovingFocus; }
913
+ });
914
+ Object.defineProperty(exports, "useControllableState", {
915
+ enumerable: true,
916
+ get: function () { return chunk774WBLDR_cjs.useControllableState; }
917
+ });
918
+ Object.defineProperty(exports, "AnimatePresence", {
919
+ enumerable: true,
920
+ get: function () { return chunkZ7XOFKM4_cjs.AnimatePresence; }
921
+ });
922
+ Object.defineProperty(exports, "AnimatedText", {
923
+ enumerable: true,
924
+ get: function () { return chunkZ7XOFKM4_cjs.AnimatedText; }
925
+ });
926
+ Object.defineProperty(exports, "Draggable", {
927
+ enumerable: true,
928
+ get: function () { return chunkZ7XOFKM4_cjs.Draggable; }
929
+ });
930
+ Object.defineProperty(exports, "GradientText", {
931
+ enumerable: true,
932
+ get: function () { return chunkZ7XOFKM4_cjs.GradientText; }
933
+ });
934
+ Object.defineProperty(exports, "Motion", {
935
+ enumerable: true,
936
+ get: function () { return chunkZ7XOFKM4_cjs.Motion; }
937
+ });
938
+ Object.defineProperty(exports, "MotionConfig", {
939
+ enumerable: true,
940
+ get: function () { return chunkZ7XOFKM4_cjs.MotionConfig; }
941
+ });
942
+ Object.defineProperty(exports, "ThemeProvider", {
943
+ enumerable: true,
944
+ get: function () { return chunkZ7XOFKM4_cjs.ThemeProvider; }
945
+ });
946
+ Object.defineProperty(exports, "themeScript", {
947
+ enumerable: true,
948
+ get: function () { return chunkZ7XOFKM4_cjs.themeScript; }
949
+ });
950
+ Object.defineProperty(exports, "useMotionConfig", {
951
+ enumerable: true,
952
+ get: function () { return chunkZ7XOFKM4_cjs.useMotionConfig; }
953
+ });
954
+ Object.defineProperty(exports, "useTheme", {
955
+ enumerable: true,
956
+ get: function () { return chunkZ7XOFKM4_cjs.useTheme; }
957
+ });
958
+ Object.defineProperty(exports, "useAnimate", {
959
+ enumerable: true,
960
+ get: function () { return chunkPP6OYURM_cjs.useAnimate; }
961
+ });
962
+ Object.defineProperty(exports, "useAnimatedFrom", {
963
+ enumerable: true,
964
+ get: function () { return chunkPP6OYURM_cjs.useAnimatedFrom; }
965
+ });
966
+ Object.defineProperty(exports, "useElementSize", {
967
+ enumerable: true,
968
+ get: function () { return chunkPP6OYURM_cjs.useElementSize; }
969
+ });
970
+ Object.defineProperty(exports, "useFrameBudget", {
971
+ enumerable: true,
972
+ get: function () { return chunkPP6OYURM_cjs.useFrameBudget; }
973
+ });
974
+ Object.defineProperty(exports, "useInView", {
975
+ enumerable: true,
976
+ get: function () { return chunkPP6OYURM_cjs.useInView; }
977
+ });
978
+ Object.defineProperty(exports, "useMotionRef", {
979
+ enumerable: true,
980
+ get: function () { return chunkPP6OYURM_cjs.useMotionRef; }
981
+ });
982
+ Object.defineProperty(exports, "useMotionStyle", {
983
+ enumerable: true,
984
+ get: function () { return chunkPP6OYURM_cjs.useMotionStyle; }
985
+ });
986
+ Object.defineProperty(exports, "useMotionValue", {
987
+ enumerable: true,
988
+ get: function () { return chunkPP6OYURM_cjs.useMotionValue; }
989
+ });
990
+ Object.defineProperty(exports, "usePointer", {
991
+ enumerable: true,
992
+ get: function () { return chunkPP6OYURM_cjs.usePointer; }
993
+ });
994
+ Object.defineProperty(exports, "useReducedMotion", {
995
+ enumerable: true,
996
+ get: function () { return chunkPP6OYURM_cjs.useReducedMotion; }
997
+ });
998
+ Object.defineProperty(exports, "useScrollProgress", {
999
+ enumerable: true,
1000
+ get: function () { return chunkPP6OYURM_cjs.useScrollProgress; }
1001
+ });
1002
+ Object.defineProperty(exports, "useSpringValue", {
1003
+ enumerable: true,
1004
+ get: function () { return chunkPP6OYURM_cjs.useSpringValue; }
1005
+ });
1006
+ Object.defineProperty(exports, "useTicker", {
1007
+ enumerable: true,
1008
+ get: function () { return chunkPP6OYURM_cjs.useTicker; }
1009
+ });
1010
+ Object.defineProperty(exports, "useWindowScroll", {
1011
+ enumerable: true,
1012
+ get: function () { return chunkPP6OYURM_cjs.useWindowScroll; }
1013
+ });
1014
+ Object.defineProperty(exports, "cx", {
1015
+ enumerable: true,
1016
+ get: function () { return chunk6732H4BQ_cjs.cx; }
1017
+ });
1018
+ Object.defineProperty(exports, "resolveSlotContent", {
1019
+ enumerable: true,
1020
+ get: function () { return chunk6732H4BQ_cjs.resolveSlotContent; }
1021
+ });
1022
+ Object.defineProperty(exports, "useId", {
1023
+ enumerable: true,
1024
+ get: function () { return chunk6732H4BQ_cjs.useId; }
1025
+ });
1026
+ Object.defineProperty(exports, "MotionValue", {
1027
+ enumerable: true,
1028
+ get: function () { return core.MotionValue; }
1029
+ });
1030
+ Object.defineProperty(exports, "animate", {
1031
+ enumerable: true,
1032
+ get: function () { return core.animate; }
1033
+ });
1034
+ Object.defineProperty(exports, "checkContrast", {
1035
+ enumerable: true,
1036
+ get: function () { return core.checkContrast; }
1037
+ });
1038
+ Object.defineProperty(exports, "createGradient", {
1039
+ enumerable: true,
1040
+ get: function () { return core.createGradient; }
1041
+ });
1042
+ Object.defineProperty(exports, "createNoise", {
1043
+ enumerable: true,
1044
+ get: function () { return core.createNoise; }
1045
+ });
1046
+ Object.defineProperty(exports, "createScale", {
1047
+ enumerable: true,
1048
+ get: function () { return core.createScale; }
1049
+ });
1050
+ Object.defineProperty(exports, "createTimeline", {
1051
+ enumerable: true,
1052
+ get: function () { return core.createTimeline; }
1053
+ });
1054
+ Object.defineProperty(exports, "cubicBezier", {
1055
+ enumerable: true,
1056
+ get: function () { return core.cubicBezier; }
1057
+ });
1058
+ Object.defineProperty(exports, "easings", {
1059
+ enumerable: true,
1060
+ get: function () { return core.easings; }
1061
+ });
1062
+ Object.defineProperty(exports, "ensureContrast", {
1063
+ enumerable: true,
1064
+ get: function () { return core.ensureContrast; }
1065
+ });
1066
+ Object.defineProperty(exports, "generatePalette", {
1067
+ enumerable: true,
1068
+ get: function () { return core.generatePalette; }
1069
+ });
1070
+ Object.defineProperty(exports, "getRegistry", {
1071
+ enumerable: true,
1072
+ get: function () { return core.getRegistry; }
1073
+ });
1074
+ Object.defineProperty(exports, "getTicker", {
1075
+ enumerable: true,
1076
+ get: function () { return core.getTicker; }
1077
+ });
1078
+ Object.defineProperty(exports, "mixColors", {
1079
+ enumerable: true,
1080
+ get: function () { return core.mixColors; }
1081
+ });
1082
+ Object.defineProperty(exports, "motionValue", {
1083
+ enumerable: true,
1084
+ get: function () { return core.motionValue; }
1085
+ });
1086
+ Object.defineProperty(exports, "palettes", {
1087
+ enumerable: true,
1088
+ get: function () { return core.palettes; }
1089
+ });
1090
+ Object.defineProperty(exports, "parseColor", {
1091
+ enumerable: true,
1092
+ get: function () { return core.parseColor; }
1093
+ });
1094
+ Object.defineProperty(exports, "pickReadable", {
1095
+ enumerable: true,
1096
+ get: function () { return core.pickReadable; }
1097
+ });
1098
+ Object.defineProperty(exports, "prefersReducedMotion", {
1099
+ enumerable: true,
1100
+ get: function () { return core.prefersReducedMotion; }
1101
+ });
1102
+ Object.defineProperty(exports, "registerEasing", {
1103
+ enumerable: true,
1104
+ get: function () { return core.registerEasing; }
1105
+ });
1106
+ Object.defineProperty(exports, "setReducedMotionMode", {
1107
+ enumerable: true,
1108
+ get: function () { return core.setReducedMotionMode; }
1109
+ });
1110
+ Object.defineProperty(exports, "signatureEasings", {
1111
+ enumerable: true,
1112
+ get: function () { return core.signature; }
1113
+ });
1114
+ Object.defineProperty(exports, "springs", {
1115
+ enumerable: true,
1116
+ get: function () { return core.springs; }
1117
+ });
1118
+ Object.defineProperty(exports, "stagger", {
1119
+ enumerable: true,
1120
+ get: function () { return core.stagger; }
1121
+ });
1122
+ Object.defineProperty(exports, "toHex", {
1123
+ enumerable: true,
1124
+ get: function () { return core.toHex; }
1125
+ });
1126
+ Object.defineProperty(exports, "toOklchString", {
1127
+ enumerable: true,
1128
+ get: function () { return core.toOklchString; }
1129
+ });
1130
+ exports.Alert = Alert;
1131
+ exports.AnimatedGradient = AnimatedGradient;
1132
+ exports.AnshPlugin = AnshPlugin;
1133
+ exports.AuroraBackground = AuroraBackground;
1134
+ exports.Banner = Banner;
1135
+ exports.Callout = Callout;
1136
+ exports.Constellation = Constellation;
1137
+ exports.Fireflies = Fireflies;
1138
+ exports.LiquidBlob = LiquidBlob;
1139
+ exports.MagneticButton = MagneticButton;
1140
+ exports.Marquee = Marquee;
1141
+ exports.MeshGradient = MeshGradient;
1142
+ exports.MeteorShower = MeteorShower;
1143
+ exports.NoiseLayer = NoiseLayer;
1144
+ exports.Parallax = Parallax;
1145
+ exports.ParticleField = ParticleField;
1146
+ exports.Rain = Rain;
1147
+ exports.Ripple = Ripple;
1148
+ exports.ScrollReveal = ScrollReveal;
1149
+ exports.Snow = Snow;
1150
+ exports.Spotlight = Spotlight;
1151
+ exports.TiltCard = TiltCard;
1152
+ exports.VERSION = VERSION;
1153
+ exports.Waves = Waves;
1154
+ exports.createBehaviourComponent = createBehaviourComponent;
1155
+ exports.createEffectComponent = createEffectComponent;
1156
+ exports.useBehaviour = useBehaviour;
1157
+ //# sourceMappingURL=index.cjs.map
1158
+ //# sourceMappingURL=index.cjs.map