familiar-vue 0.1.0 → 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 (72) hide show
  1. package/README.md +8 -3
  2. package/dist/blocks/bots/engine/plastic.d.ts +5 -0
  3. package/dist/blocks/bots/engine/types.d.ts +5 -3
  4. package/dist/blocks/bots/types-1.d.ts +2 -2
  5. package/dist/blocks/bots/types.d.ts +2 -2
  6. package/dist/blocks/gallery/GalleryGrid.vue.d.ts +46 -0
  7. package/dist/blocks/gallery/MusicPlayer.vue.d.ts +34 -0
  8. package/dist/blocks/gallery/VideoPlayer.vue.d.ts +34 -0
  9. package/dist/blocks/gallery/icons.d.ts +49 -0
  10. package/dist/blocks/gallery/index.d.ts +141 -0
  11. package/dist/blocks/gallery/styles.d.ts +1 -0
  12. package/dist/blocks/gallery/support.d.ts +38 -0
  13. package/dist/blocks/gallery/types.d.ts +132 -0
  14. package/dist/blocks/image/studio/ImageStudio.vue.d.ts +1 -1
  15. package/dist/blocks/jelly/JellySurface.vue.d.ts +43 -0
  16. package/dist/blocks/jelly/engine/color.d.ts +12 -0
  17. package/dist/blocks/jelly/engine/environment.d.ts +2 -0
  18. package/dist/blocks/jelly/engine/frosted.d.ts +25 -0
  19. package/dist/blocks/jelly/engine/geometry.d.ts +13 -0
  20. package/dist/blocks/jelly/engine/icons.d.ts +16 -0
  21. package/dist/blocks/jelly/engine/renderer.d.ts +39 -0
  22. package/dist/blocks/jelly/engine/sound.d.ts +9 -0
  23. package/dist/blocks/jelly/engine/textures.d.ts +5 -0
  24. package/dist/blocks/jelly/index.d.ts +23 -0
  25. package/dist/blocks/jelly/types.d.ts +68 -0
  26. package/dist/blocks/loading/BreathingRing.vue.d.ts +25 -0
  27. package/dist/blocks/loading/index.d.ts +54 -1
  28. package/dist/blocks/loading/types.d.ts +22 -0
  29. package/dist/blocks/metal/MetalBadge.vue.d.ts +2 -2
  30. package/dist/bots.cjs +1 -1
  31. package/dist/bots.js +1 -1
  32. package/dist/familiar-vue.css +1 -1
  33. package/dist/gallery.cjs +2 -0
  34. package/dist/gallery.cjs.map +1 -0
  35. package/dist/gallery.d.ts +1 -0
  36. package/dist/gallery.js +8 -0
  37. package/dist/gallery.js.map +1 -0
  38. package/dist/index-Bb3rhhZY.cjs +221 -0
  39. package/dist/index-Bb3rhhZY.cjs.map +1 -0
  40. package/dist/index-C96O9k0x.cjs +289 -0
  41. package/dist/index-C96O9k0x.cjs.map +1 -0
  42. package/dist/index-CgkG0Pah.js +2580 -0
  43. package/dist/index-CgkG0Pah.js.map +1 -0
  44. package/dist/index-CjA5aaxl.js +934 -0
  45. package/dist/index-CjA5aaxl.js.map +1 -0
  46. package/dist/index-CpPZg7s9.js +476 -0
  47. package/dist/index-CpPZg7s9.js.map +1 -0
  48. package/dist/{index-CQIOTNIw.js → index-Da5OgBHn.js} +1269 -1239
  49. package/dist/index-Da5OgBHn.js.map +1 -0
  50. package/dist/index-Dc4JnH_g.cjs +80 -0
  51. package/dist/index-Dc4JnH_g.cjs.map +1 -0
  52. package/dist/index-U59nAOr-.cjs +1096 -0
  53. package/dist/index-U59nAOr-.cjs.map +1 -0
  54. package/dist/index.cjs +1 -1
  55. package/dist/index.d.ts +8 -2
  56. package/dist/index.js +58 -49
  57. package/dist/index.js.map +1 -1
  58. package/dist/jelly.cjs +2 -0
  59. package/dist/jelly.cjs.map +1 -0
  60. package/dist/jelly.d.ts +2 -0
  61. package/dist/jelly.js +9 -0
  62. package/dist/jelly.js.map +1 -0
  63. package/dist/loading.cjs +1 -1
  64. package/dist/loading.js +4 -3
  65. package/package.json +11 -1
  66. package/dist/index-BAZi5af3.cjs +0 -221
  67. package/dist/index-BAZi5af3.cjs.map +0 -1
  68. package/dist/index-BmMsid7x.js +0 -422
  69. package/dist/index-BmMsid7x.js.map +0 -1
  70. package/dist/index-CQIOTNIw.js.map +0 -1
  71. package/dist/index-DZJ-MNwi.cjs +0 -80
  72. package/dist/index-DZJ-MNwi.cjs.map +0 -1
@@ -0,0 +1,25 @@
1
+ import * as THREE from 'three';
2
+ /** Matches the shared engine's 22% padding on each side of the element. */
3
+ export declare const JELLY_VIEWPORT_SPAN = 1.44;
4
+ export interface FrostedMaterial extends THREE.ShaderMaterial {
5
+ uniforms: {
6
+ u_span: THREE.IUniform<number>;
7
+ u_halfSize: THREE.IUniform<THREE.Vector2>;
8
+ u_radius: THREE.IUniform<number>;
9
+ u_ior: THREE.IUniform<number>;
10
+ u_thickness: THREE.IUniform<number>;
11
+ u_tilt: THREE.IUniform<THREE.Vector2>;
12
+ u_scale: THREE.IUniform<number>;
13
+ u_press: THREE.IUniform<number>;
14
+ u_baseColor: THREE.IUniform<THREE.Vector3>;
15
+ u_isCrystal: THREE.IUniform<number>;
16
+ u_hasGradient: THREE.IUniform<number>;
17
+ u_grad0: THREE.IUniform<THREE.Vector3>;
18
+ u_grad1: THREE.IUniform<THREE.Vector3>;
19
+ u_grad2: THREE.IUniform<THREE.Vector3>;
20
+ u_grad3: THREE.IUniform<THREE.Vector3>;
21
+ u_pointer: THREE.IUniform<THREE.Vector2>;
22
+ };
23
+ }
24
+ /** The analytic frosted material, ready for one instance's uniforms. */
25
+ export declare function createFrostedMaterial(): FrostedMaterial;
@@ -0,0 +1,13 @@
1
+ import * as THREE from 'three';
2
+ /**
3
+ * Evaluates a rounded rectangle / capsule / circle perimeter of half
4
+ * dimensions (hx, hy) and corner radius R through a structured eight-segment
5
+ * parameter.
6
+ */
7
+ export declare function buildStructuredPerimeterSamples(hx: number, hy: number, R: number, cornerSegs: number, edgeSegsX: number, edgeSegsY: number): Array<[number, number]>;
8
+ /**
9
+ * Builds (and caches) the bevelled acrylic block for an aspect ratio and
10
+ * corner radius. `aspectW` and `aspectH` are normalised so the shorter side
11
+ * is 1.
12
+ */
13
+ export declare function getParametricJellyGeometry(aspectW: number, aspectH: number, radiusRatio: number): THREE.BufferGeometry;
@@ -0,0 +1,16 @@
1
+ export declare const PRESET_ICON_SVGS: {
2
+ readonly mi: "<svg viewBox=\"0 0 1024 1024\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><path d=\"M230 689V363c0-15.5 12.5-28 28-28h267c60.8 0 110 49.2 110 110v244h-95V460c0-21.5-17.5-39-39-39H325v268h-95zm160-196h92v196h-92V493zm310-158h94v354h-94V335z\"/></svg>";
3
+ readonly nike: "<svg viewBox=\"0 0 1024 1024\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><text x=\"515\" y=\"470\" text-anchor=\"middle\" font-family=\"'Arial Black', Impact, sans-serif\" font-weight=\"900\" font-style=\"italic\" font-size=\"185\" letter-spacing=\"-6\">NIKE</text><path d=\"M310 488c-60 80-88 162-38 204 50 40 156 4 263-46l330-154c-307 86-460 123-517 96-38-18-50-58-38-100z\"/></svg>";
4
+ readonly music: "<svg viewBox=\"0 0 1024 1024\" width=\"100%\" height=\"100%\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"68\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M 713 642 A 225 225 0 1 1 425 332\" /><path d=\"M 612 572 A 105 105 0 1 1 595 475\" /><path d=\"M 582 468 Q 505 315 585 255 Q 648 215 682 275\" /></svg>";
5
+ readonly wechat: "<svg viewBox=\"0 0 1024 1024\" width=\"100%\" height=\"100%\"><g fill=\"currentColor\"><ellipse cx=\"435\" cy=\"455\" rx=\"215\" ry=\"178\"/><polygon points=\"295,575 248,660 360,605\"/></g><circle cx=\"365\" cy=\"420\" r=\"26\" fill=\"var(--jb-eye-color, #18c84b)\"/><circle cx=\"498\" cy=\"420\" r=\"26\" fill=\"var(--jb-eye-color, #18c84b)\"/><g fill=\"currentColor\"><ellipse cx=\"625\" cy=\"590\" rx=\"178\" ry=\"148\"/><polygon points=\"735,685 782,755 680,712\"/></g><circle cx=\"568\" cy=\"560\" r=\"22\" fill=\"var(--jb-eye-color, #18c84b)\"/><circle cx=\"682\" cy=\"560\" r=\"22\" fill=\"var(--jb-eye-color, #18c84b)\"/></svg>";
6
+ readonly ins: "<svg viewBox=\"0 0 1024 1024\" width=\"100%\" height=\"100%\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"58\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M355 355l55-65h204l55 65h61c33 0 60 27 60 60v270c0 33-27 60-60 60H294c-33 0-60-27-60-60V415c0-33 27-60 60-60h61z\"/><circle cx=\"512\" cy=\"548\" r=\"122\"/><circle cx=\"695\" cy=\"438\" r=\"28\" fill=\"currentColor\" stroke=\"none\"/></svg>";
7
+ readonly fb: "<svg viewBox=\"0 0 1024 1024\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><path d=\"M455 835V545h-83V435h83v-85c0-88 52-135 137-135h90v107h-67c-31 0-47 16-47 50v63h108l-16 110h-92v290H455z\"/></svg>";
8
+ readonly play: "<svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><polygon points=\"6,4 20,12 6,20\"/></svg>";
9
+ readonly heart: "<svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><path d=\"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z\"/></svg>";
10
+ readonly bolt: "<svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><polygon points=\"13,2 3,14 12,14 11,22 21,10 12,10\"/></svg>";
11
+ readonly sparkles: "<svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><path d=\"M12 2L14.4 8.6L21 11L14.4 13.4L12 20L9.6 13.4L3 11L9.6 8.6L12 2Z\"/><path d=\"M19 15L20 18L23 19L20 20L19 23L18 20L15 19L18 18L19 15Z\"/></svg>";
12
+ readonly bell: "<svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" fill=\"currentColor\"><path d=\"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z\"/></svg>";
13
+ };
14
+ export type JellyIconName = keyof typeof PRESET_ICON_SVGS;
15
+ /** SVG markup for a preset name, or an empty string for unknown/none. */
16
+ export declare function getPresetIconSvg(name: string): string;
@@ -0,0 +1,39 @@
1
+ import * as THREE from 'three';
2
+ export interface JellyRenderInstance {
3
+ /** The component root whose box drives the viewport. */
4
+ readonly el: HTMLElement;
5
+ readonly scene: THREE.Scene;
6
+ readonly camera: THREE.PerspectiveCamera;
7
+ /** Advance the press/tilt spring by `dt` seconds. */
8
+ stepPhysics(dt: number): void;
9
+ /**
10
+ * Copy this instance's region out of the shared WebGL drawing buffer.
11
+ * Coordinates are in device pixels, top-left origin.
12
+ */
13
+ present(source: HTMLCanvasElement, sx: number, sy: number, sw: number, sh: number): void;
14
+ /** Blank the local canvas when the instance is offscreen. */
15
+ clearComposite(): void;
16
+ }
17
+ declare class JellySharedRenderEngine {
18
+ readonly unitPlaneGeo: THREE.PlaneGeometry;
19
+ readonly envMap: THREE.Texture;
20
+ private readonly renderer;
21
+ private readonly glCanvas;
22
+ private readonly instances;
23
+ private running;
24
+ private raf;
25
+ private lastFrameTime;
26
+ private frameWidth;
27
+ private frameHeight;
28
+ private readonly onResize;
29
+ constructor();
30
+ register(instance: JellyRenderInstance): void;
31
+ unregister(instance: JellyRenderInstance): void;
32
+ private resize;
33
+ private start;
34
+ private stop;
35
+ private readonly frame;
36
+ }
37
+ /** The process-wide jelly renderer, or `null` when WebGL is unavailable. */
38
+ export declare function getJellyEngine(): JellySharedRenderEngine | null;
39
+ export {};
@@ -0,0 +1,9 @@
1
+ declare class JellySoundFX {
2
+ enabled: boolean;
3
+ private ctx;
4
+ initContext(): void;
5
+ playDown(): void;
6
+ playUp(): void;
7
+ }
8
+ export declare const jellySound: JellySoundFX;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ import * as THREE from 'three';
2
+ /** Radial, linear-gradient or crystal backing painted behind the shell. */
3
+ export declare function createParametricBackingTexture(aspectW: number, aspectH: number, radiusRatio: number, colorHex: string, gradientStr: string, isCrystal: boolean): THREE.CanvasTexture;
4
+ /** Perimeter bevel highlight and inner studio-softbox specular contour. */
5
+ export declare function createParametricRimTexture(aspectW: number, aspectH: number, radiusRatio: number, rimColorRgba: string): THREE.CanvasTexture;
@@ -0,0 +1,23 @@
1
+ /** Jelly Surface — a parametric 3D acrylic-jelly material.
2
+ *
3
+ * ```
4
+ * <JellySurface
5
+ * icon="sparkles"
6
+ * label="Generate with AI"
7
+ * color="#e1306c"
8
+ * gradient="#6214e8,#a818d9,#e1306c,#fd7e14,#ffc800"
9
+ * :width="210"
10
+ * :height="68"
11
+ * :radius="1"
12
+ * />
13
+ * ```
14
+ *
15
+ * One shared WebGL renderer draws every instance; the overlay and the
16
+ * default slot stay real DOM above the material.
17
+ */
18
+ export { default as JellySurface } from './JellySurface.vue';
19
+ export { default } from './JellySurface.vue';
20
+ export { getParametricJellyGeometry, buildStructuredPerimeterSamples } from './engine/geometry';
21
+ export { PRESET_ICON_SVGS } from './engine/icons';
22
+ export type { JellyIconName } from './engine/icons';
23
+ export type { JellyFinish, JellyIcon, JellySurfaceProps } from './types';
@@ -0,0 +1,68 @@
1
+ /** Jelly Surface — a parametric 3D acrylic-jelly material.
2
+ *
3
+ * A shared WebGL renderer draws a bevelled, transmissive slab through a
4
+ * PMREM studio environment; the default slot (or `label` + `icon`) is real
5
+ * DOM above it, so the surface keeps native focus, keyboard and click
6
+ * behaviour. Width, height and corner radius cover micro-rounded squares,
7
+ * squircles, capsules and circles.
8
+ */
9
+ export type JellyIcon = 'mi' | 'nike' | 'music' | 'wechat' | 'ins' | 'fb' | 'play' | 'heart' | 'bolt' | 'sparkles' | 'bell' | 'none';
10
+ /**
11
+ * `clear` is the transmissive physical slab under the studio environment;
12
+ * `frosted` is the analytic SDF finish with the soft, diffused pigment body,
13
+ * bevel caustic and rim highlight tubes.
14
+ */
15
+ export type JellyFinish = 'clear' | 'frosted';
16
+ export interface JellySurfaceProps {
17
+ /** Surface width. A number is px; a string is any CSS length. Default `108`. */
18
+ width?: number | string;
19
+ /** Surface height. A number is px; a string is any CSS length. Default `108`. */
20
+ height?: number | string;
21
+ /**
22
+ * Corner radius as a fraction of half the shorter side: `0.06` soft
23
+ * corners, `0.46` a squircle, `1` a full capsule — a perfect circle when
24
+ * width equals height. Default `0.45`.
25
+ */
26
+ radius?: number;
27
+ /** Body colour, any CSS colour. Default `'#ff6700'`. */
28
+ color?: string;
29
+ /**
30
+ * Colour stops for a gradient body, comma-separated, painted
31
+ * bottom-left → top-right (`'#6214e8,#a818d9,#e1306c,#fd7e14,#ffc800'`).
32
+ * Takes precedence over `color`; ignored when `crystal` is set.
33
+ */
34
+ gradient?: string;
35
+ /** Ice-clear white acrylic instead of a coloured body. Default `false`. */
36
+ crystal?: boolean;
37
+ /**
38
+ * Ink for the icon, label and slot content. By default near-black for
39
+ * crystal and white for a coloured body.
40
+ */
41
+ textColor?: string;
42
+ /** A built-in vector icon above or beside the label. Default `'none'`. */
43
+ icon?: JellyIcon;
44
+ /** Label rendered in the overlay. The default slot can be used instead. */
45
+ label?: string;
46
+ /** Optical index of refraction, 1.1–2.2. Default `1.52`. */
47
+ ior?: number;
48
+ /** Refraction thickness in local units, 0.3–2.6. Default `1.45`. */
49
+ thickness?: number;
50
+ /** Surface roughness, 0–1. Default `0.03`. Ignored by the frosted finish. */
51
+ roughness?: number;
52
+ /**
53
+ * Material finish. `clear` (default) is the physical transmissive slab;
54
+ * `frosted` is the analytic, soft-diffused acrylic finish.
55
+ */
56
+ finish?: JellyFinish;
57
+ /**
58
+ * React to the pointer: tilt toward it, lift on hover and squash under a
59
+ * press, springing back when released. Default `true`.
60
+ */
61
+ interactive?: boolean;
62
+ /** Dim the material and stop the pointer response. Default `false`. */
63
+ disabled?: boolean;
64
+ /** Play the reference's tiny down/up Web Audio click. Default `true`. */
65
+ sound?: boolean;
66
+ /** Accessible name for the internal button. Defaults to `label`. */
67
+ ariaLabel?: string;
68
+ }
@@ -0,0 +1,25 @@
1
+ import type { BreathingRingProps } from './types';
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
6
+ };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
+ declare const __VLS_base: import("vue").DefineComponent<BreathingRingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreathingRingProps> & Readonly<{}>, {
9
+ color: string;
10
+ speed: number;
11
+ glow: number;
12
+ respectReducedMotion: boolean;
13
+ duration: number;
14
+ active: boolean;
15
+ radius: string | number;
16
+ thickness: number;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -10,6 +10,59 @@ export declare const Loading: import("vue").DefineComponent<import("./types").Lo
10
10
  progress: number | null;
11
11
  size: import("./types").LoadingSize;
12
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ /** A light band that laps the border of the button or input it wraps, with
14
+ * a bright arc and long tail circling on a regular, breathing rhythm.
15
+ *
16
+ * ```
17
+ * <BreathingRing :active="busy" color="#8ab4ff" radius="999px">
18
+ * <button type="button">Save changes</button>
19
+ * </BreathingRing>
20
+ * ```
21
+ */
22
+ export declare const BreathingRing: {
23
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./types").BreathingRingProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
24
+ color: string;
25
+ speed: number;
26
+ glow: number;
27
+ respectReducedMotion: boolean;
28
+ duration: number;
29
+ active: boolean;
30
+ radius: string | number;
31
+ thickness: number;
32
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
33
+ P: {};
34
+ B: {};
35
+ D: {};
36
+ C: {};
37
+ M: {};
38
+ Defaults: {};
39
+ }, Readonly<import("./types").BreathingRingProps> & Readonly<{}>, {}, {}, {}, {}, {
40
+ color: string;
41
+ speed: number;
42
+ glow: number;
43
+ respectReducedMotion: boolean;
44
+ duration: number;
45
+ active: boolean;
46
+ radius: string | number;
47
+ thickness: number;
48
+ }>;
49
+ __isFragment?: never;
50
+ __isTeleport?: never;
51
+ __isSuspense?: never;
52
+ } & import("vue").ComponentOptionsBase<Readonly<import("./types").BreathingRingProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
53
+ color: string;
54
+ speed: number;
55
+ glow: number;
56
+ respectReducedMotion: boolean;
57
+ duration: number;
58
+ active: boolean;
59
+ radius: string | number;
60
+ thickness: number;
61
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
62
+ $slots: {
63
+ default?: (props: {}) => any;
64
+ };
65
+ });
13
66
  /** A full-screen loading overlay of procedural clouds. The clouds gather
14
67
  * from every edge until the screen is completely fogged while `v-model`
15
68
  * is true, hold while the work runs, and evaporate off the page when it
@@ -113,5 +166,5 @@ export declare const CloudLoading: {
113
166
  default?: (props: import("./types").CloudLoadingSlotProps) => unknown;
114
167
  };
115
168
  });
116
- export type { CloudLoadingPhase, CloudLoadingProps, CloudLoadingSlotProps, LoadingProps, LoadingSize, } from './types';
169
+ export type { BreathingRingProps, CloudLoadingPhase, CloudLoadingProps, CloudLoadingSlotProps, LoadingProps, LoadingSize, } from './types';
117
170
  export type { CloudEngine, CloudEngineOptions } from './engine';
@@ -15,6 +15,28 @@ export interface LoadingProps {
15
15
  /** Spinner size. Default `'md'`. */
16
16
  size?: LoadingSize;
17
17
  }
18
+ /** A light band that laps the border of whatever it wraps — a button or
19
+ * input — brightening and dimming on a regular breath. */
20
+ export interface BreathingRingProps {
21
+ /** Light the band while true. Default `true`. */
22
+ active?: boolean;
23
+ /** Band colour as any CSS color. Default `'#8ab4ff'`. */
24
+ color?: string;
25
+ /** Seconds for one full lap around the child. Default `2.6`. */
26
+ speed?: number;
27
+ /** Seconds for one breath (brightness cycle). Default `2.6`. */
28
+ duration?: number;
29
+ /** Band thickness in pixels. Default `2`. */
30
+ thickness?: number;
31
+ /** Corner radius as a px number or CSS length. Defaults to the child's
32
+ * own border-radius. */
33
+ radius?: string | number;
34
+ /** Outer glow blur in pixels. Default `6`. */
35
+ glow?: number;
36
+ /** Hold the band still when `prefers-reduced-motion: reduce` is set.
37
+ * Default `true`. */
38
+ respectReducedMotion?: boolean;
39
+ }
18
40
  export interface CloudLoadingProps {
19
41
  /** v-model — true while the work runs. The clouds gather when it turns
20
42
  * true and dissipate when it turns false. Default `true`. */
@@ -27,10 +27,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
27
27
  glow: number;
28
28
  scale: number;
29
29
  strength: number;
30
- shaderScale: number;
31
- metalOpacity: number;
32
30
  gradient: number;
33
31
  textColor: string;
32
+ shaderScale: number;
33
+ metalOpacity: number;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
36
  declare const _default: typeof __VLS_export;
package/dist/bots.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index-BAZi5af3.cjs");exports.BOT_AVATAR_LIGHTS=a.LIGHT_DEFAULTS;exports.BOT_AVATAR_MATCAP_SIZE=a.MATCAP_SIZE;exports.BOT_AVATAR_OVERSCAN=a.OVERSCAN;exports.BOT_AVATAR_PAD=a.PAD;exports.BOT_AVATAR_RISE=a.RISE;exports.BOT_AVATAR_SPAN=a.SPAN;exports.BotAvatar=a._sfc_main;exports.BotAvatarSim=a.Sim;exports.BotList=a._sfc_main$1;exports.autoInk=a.autoInk;exports.bakeBotAvatarForm=a.buildForm;exports.botAvatarCapFrame=a.capFrame;exports.botAvatarFaces=a.botAvatarFaces;exports.botAvatarJumpDefaults=a.JUMP_DEFAULTS;exports.botAvatarPalette=a.botAvatarPalette;exports.botAvatarParts=a.SHAPE_PARTS;exports.botAvatarPresets=a.botAvatarPresets;exports.botAvatarShapes=a.SHAPE_PATHS;exports.botAvatarStates=a.botAvatarStates;exports.botAvatarTier=a.tierFor;exports.botAvatarTypes=a.botAvatarTypes;exports.buildBotAvatarMatcap=a.buildMatcap;exports.default=a._sfc_main;exports.drawBotAvatarFrame=a.draw;exports.luminance=a.luminance;exports.parseColor=a.parseColor;exports.restPose=a.restPose;exports.shade=a.shade;exports.shadeBotAvatarTexels=a.shadeTexels;exports.stateLabels=a.stateLabels;exports.warmBotAvatarPlastic=a.warmPlastic;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index-Bb3rhhZY.cjs");exports.BOT_AVATAR_LIGHTS=a.LIGHT_DEFAULTS;exports.BOT_AVATAR_MATCAP_SIZE=a.MATCAP_SIZE;exports.BOT_AVATAR_OVERSCAN=a.OVERSCAN;exports.BOT_AVATAR_PAD=a.PAD;exports.BOT_AVATAR_RISE=a.RISE;exports.BOT_AVATAR_SPAN=a.SPAN;exports.BotAvatar=a._sfc_main;exports.BotAvatarSim=a.Sim;exports.BotList=a._sfc_main$1;exports.autoInk=a.autoInk;exports.bakeBotAvatarForm=a.buildForm;exports.botAvatarCapFrame=a.capFrame;exports.botAvatarFaces=a.botAvatarFaces;exports.botAvatarJumpDefaults=a.JUMP_DEFAULTS;exports.botAvatarPalette=a.botAvatarPalette;exports.botAvatarParts=a.SHAPE_PARTS;exports.botAvatarPresets=a.botAvatarPresets;exports.botAvatarShapes=a.SHAPE_PATHS;exports.botAvatarStates=a.botAvatarStates;exports.botAvatarTier=a.tierFor;exports.botAvatarTypes=a.botAvatarTypes;exports.buildBotAvatarMatcap=a.buildMatcap;exports.default=a._sfc_main;exports.drawBotAvatarFrame=a.draw;exports.luminance=a.luminance;exports.parseColor=a.parseColor;exports.restPose=a.restPose;exports.shade=a.shade;exports.shadeBotAvatarTexels=a.shadeTexels;exports.stateLabels=a.stateLabels;exports.warmBotAvatarPlastic=a.warmPlastic;
2
2
  //# sourceMappingURL=bots.cjs.map
package/dist/bots.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as s, M as A, O as r, P as e, R as o, S as v, _ as T, b as _, a as b, c as B, d as l, e as m, f as P, J as R, g as S, h as p, j as O, k as u, l as V, t as d, m as i, n as c, _ as f, o as h, p as n, q as C, r as F, s as I, u as L, v as k, w } from "./index-CQIOTNIw.js";
1
+ import { L as s, M as A, O as r, P as e, R as o, S as v, _ as T, b as _, a as b, c as B, d as l, e as m, f as P, J as R, g as S, h as p, j as O, k as u, l as V, t as d, m as i, n as c, _ as f, o as h, p as n, q as C, r as F, s as I, u as L, v as k, w } from "./index-Da5OgBHn.js";
2
2
  export {
3
3
  s as BOT_AVATAR_LIGHTS,
4
4
  A as BOT_AVATAR_MATCAP_SIZE,
@@ -1 +1 @@
1
- .fv-text-stream[data-v-789ae1cb]{white-space:pre-wrap;overflow-wrap:break-word}.fv-text-stream__cell.is-churn[data-v-789ae1cb]{color:var(--stream-ink);text-shadow:0 0 calc(var(--stream-glow) * 6px) var(--stream-ink)}.fv-text-stream__cell.is-ghost[data-v-789ae1cb]{opacity:.35}.fv-text-stream__cell.is-settled[data-v-789ae1cb]{color:inherit;text-shadow:none}@supports (color: color-mix(in srgb,red,blue)){.fv-text-stream__cell.is-settled[data-v-789ae1cb]{color:color-mix(in srgb,var(--stream-ink) calc(var(--gs, 0) * 100%),currentColor);text-shadow:0 0 calc(var(--stream-glow) * 6px * var(--gs, 0)) var(--stream-ink)}}.fv-text-stream__caret[data-v-789ae1cb]{display:inline-block;width:.55em;height:1.05em;background:var(--stream-ink);box-shadow:0 0 calc(var(--stream-glow) * 8px) var(--stream-ink);transform:translateY(.18em);margin-left:.08em;animation:fv-text-stream-blink-789ae1cb 1.1s steps(2,start) infinite}.is-sweeping .fv-text-stream__caret[data-v-789ae1cb]{animation:none;opacity:1}@keyframes fv-text-stream-blink-789ae1cb{50%{opacity:0}}.cd{position:relative;user-select:none;-webkit-user-select:none}.cd-face{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;border-radius:inherit}.cd-swap-stage{position:absolute;left:30px;bottom:24px;perspective:1000px;perspective-origin:150px 95px}.cd-swap-card{position:absolute;inset:0;padding:3px;overflow:hidden;background:var(--cd-slab, #fff);box-shadow:0 0 0 1px color-mix(in srgb,var(--cd-ink, #17181a) 12%,transparent);transition:transform .6s cubic-bezier(.22,1,.36,1);backface-visibility:hidden}.cd-swap-card[data-front]{cursor:grab;touch-action:none}.cd-swap-card[data-front]:active{cursor:grabbing}.cd-swap-card .cd-face{border-radius:calc(100% - 6px)}.cd-swap-tag{position:absolute;left:14px;bottom:14px;padding:6px 12px;border-radius:999px;background:var(--cd-slab, #fff);color:var(--cd-ink, #17181a);font-size:13px;font-weight:500;pointer-events:none}.cd-stack{pointer-events:none}.cd-stack-hit{position:absolute;pointer-events:auto}.cd-stack-card{position:absolute;pointer-events:auto;cursor:pointer}.cd-stack-face{position:absolute;inset:0;overflow:hidden;border-radius:var(--cd-r, 14px);background:var(--cd-slab, #f4f4f2);box-shadow:inset 0 1px #ffffff12,inset 0 0 0 1px #ffffff09,0 1px 2px #0f172a1a,0 8px 18px -6px #0f172a29;transition:translate .48s cubic-bezier(.4,0,.2,1),box-shadow .48s cubic-bezier(.4,0,.2,1)}.cd-stack-face[data-lift]{translate:0 calc(var(--cd-lift, 16px) * -1);transition:translate .3s cubic-bezier(.2,.7,.3,1) 15ms,box-shadow .3s cubic-bezier(.4,0,.2,1) 15ms;box-shadow:inset 0 1px #ffffff14,inset 0 0 0 1px #ffffff0b,0 2px 5px #0f172a1f,0 18px 32px -10px #0f172a47}.cd-ring{position:absolute;inset:0;touch-action:pan-y;cursor:grab}.cd-ring[data-held=true]{cursor:grabbing}.cd-ring:focus-visible{outline:none;box-shadow:0 0 0 2px var(--cd-ink, #17181a)}.cd-ring-slot{position:absolute;left:50%;top:50%;transform-origin:center}.cd-ring-float{width:100%;height:100%;perspective:760px;animation:cd-bob 5s ease-in-out infinite}.cd-ring-card{position:relative;width:100%;height:100%;overflow:hidden;box-shadow:0 12px 28px -10px #0f172a47}.cd-ring-sheen{position:absolute;inset:0;display:block;pointer-events:none}@keyframes cd-bob{0%,to{transform:translateY(calc(var(--cd-bob, 4px) * -1)) rotate(calc(var(--cd-sway, 1deg) * -1))}50%{transform:translateY(var(--cd-bob, 4px)) rotate(var(--cd-sway, 1deg))}}.cd-swipe{width:400px;height:350px}.cd-swipe-deck{position:absolute;top:24px;transition:left .42s cubic-bezier(.22,1,.36,1)}.cd-swipe-card{position:absolute;inset:0;overflow:hidden;border-radius:var(--cd-r, 20px);background:#1b1b1d;transform-origin:30% 100%;transition:transform .42s cubic-bezier(.22,1,.36,1)}.cd-swipe-card[data-out]{transition:transform .22s cubic-bezier(.22,1,.36,1)}.cd-swipe-card[data-top]{cursor:grab;touch-action:none}.cd-swipe-card[data-top]:active{cursor:grabbing}.cd-swipe-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 58%,rgba(0,0,0,.42));pointer-events:none}.cd-swipe-caption{position:absolute;left:16px;right:16px;bottom:14px;z-index:1;color:#fff;font-size:16px;font-weight:500;letter-spacing:-.01em}@media(prefers-reduced-motion:reduce){.cd-ring-float{animation:none}.cd-swap-card,.cd-swipe-card,.cd-swipe-deck{transition-duration:1ms}.cd-stack-face,.cd-stack-face[data-lift]{transition-duration:1ms;transition-delay:0ms}}.fv-loading{display:inline-flex;align-items:center;gap:10px;color:inherit}.fv-loading__ring{width:28px;height:28px;flex:none}.fv-loading--sm .fv-loading__ring{width:18px;height:18px}.fv-loading--lg .fv-loading__ring{width:44px;height:44px}.fv-loading__track{fill:none;stroke:color-mix(in srgb,currentColor 18%,transparent);stroke-width:3}.fv-loading__arc{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}.fv-loading__arc.is-indeterminate{animation:fv-loading-spin 1.1s linear infinite}@keyframes fv-loading-spin{to{transform:rotate(270deg)}}.fv-loading__label{font:500 12px/1.4 var(--fv-font-ui, system-ui);color:inherit;white-space:nowrap}@media(prefers-reduced-motion:reduce){.fv-loading__arc.is-indeterminate{animation:none}}.fv-cloud-loading{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;overflow:hidden;color:var(--fv-cloud-ink, var(--color, var(--ink, #1c1e24)));font:500 13px/1.4 var(--fv-font-ui, system-ui);pointer-events:auto}.fv-cloud-loading[data-fullscreen]{position:fixed}.fv-cloud-loading:not([data-fullscreen]){position:absolute}.fv-cloud-canvas,.fv-cloud-fallback{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.fv-cloud-fallback{background:linear-gradient(color-mix(in srgb,var(--fv-cloud-tint, #ffffff) 86%,#9fb4d8),var(--fv-cloud-tint, #ffffff));opacity:0;transition:opacity .6s ease}.fv-cloud-fallback i{position:absolute;border-radius:50%;background:radial-gradient(closest-side,#ffffffe6,#fff0);filter:blur(18px);animation:fv-cloud-drift 9s ease-in-out infinite alternate}.fv-cloud-fallback i:nth-child(1){width:60%;height:44%;left:-12%;top:8%;animation-delay:-2s}.fv-cloud-fallback i:nth-child(2){width:55%;height:40%;right:-10%;top:30%;animation-delay:-5s}.fv-cloud-fallback i:nth-child(3){width:65%;height:46%;left:4%;bottom:-8%;animation-delay:-8s}.fv-cloud-loading.is-gathering .fv-cloud-fallback,.fv-cloud-loading.is-holding .fv-cloud-fallback{opacity:1;transition:opacity .9s ease}.fv-cloud-loading.is-dissipating .fv-cloud-fallback{opacity:0;transition:opacity 1.1s ease;transform:translateY(-6%);transition-property:opacity,transform}@keyframes fv-cloud-drift{0%{transform:translate3d(-4%,2%,0) scale(1)}to{transform:translate3d(6%,-3%,0) scale(1.15)}}.fv-cloud-body{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:24px;opacity:0;transform:translateY(6px);transition:opacity .48s ease,transform .48s ease;pointer-events:none}.fv-cloud-loading.is-holding .fv-cloud-body{opacity:1;transform:none}.fv-cloud-spinner{width:30px;height:30px;border-radius:50%;border:2.5px solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:fv-cloud-spin .9s linear infinite}@keyframes fv-cloud-spin{to{transform:rotate(360deg)}}.fv-cloud-label{letter-spacing:.02em;color:color-mix(in srgb,currentColor 78%,transparent)}@media(prefers-reduced-motion:reduce){.fv-cloud-spinner,.fv-cloud-fallback i{animation:none}.fv-cloud-body,.fv-cloud-fallback{transition-duration:1ms}}
1
+ .fv-text-stream[data-v-789ae1cb]{white-space:pre-wrap;overflow-wrap:break-word}.fv-text-stream__cell.is-churn[data-v-789ae1cb]{color:var(--stream-ink);text-shadow:0 0 calc(var(--stream-glow) * 6px) var(--stream-ink)}.fv-text-stream__cell.is-ghost[data-v-789ae1cb]{opacity:.35}.fv-text-stream__cell.is-settled[data-v-789ae1cb]{color:inherit;text-shadow:none}@supports (color: color-mix(in srgb,red,blue)){.fv-text-stream__cell.is-settled[data-v-789ae1cb]{color:color-mix(in srgb,var(--stream-ink) calc(var(--gs, 0) * 100%),currentColor);text-shadow:0 0 calc(var(--stream-glow) * 6px * var(--gs, 0)) var(--stream-ink)}}.fv-text-stream__caret[data-v-789ae1cb]{display:inline-block;width:.55em;height:1.05em;background:var(--stream-ink);box-shadow:0 0 calc(var(--stream-glow) * 8px) var(--stream-ink);transform:translateY(.18em);margin-left:.08em;animation:fv-text-stream-blink-789ae1cb 1.1s steps(2,start) infinite}.is-sweeping .fv-text-stream__caret[data-v-789ae1cb]{animation:none;opacity:1}@keyframes fv-text-stream-blink-789ae1cb{50%{opacity:0}}.cd{position:relative;user-select:none;-webkit-user-select:none}.cd-face{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;border-radius:inherit}.cd-swap-stage{position:absolute;left:30px;bottom:24px;perspective:1000px;perspective-origin:150px 95px}.cd-swap-card{position:absolute;inset:0;padding:3px;overflow:hidden;background:var(--cd-slab, #fff);box-shadow:0 0 0 1px color-mix(in srgb,var(--cd-ink, #17181a) 12%,transparent);transition:transform .6s cubic-bezier(.22,1,.36,1);backface-visibility:hidden}.cd-swap-card[data-front]{cursor:grab;touch-action:none}.cd-swap-card[data-front]:active{cursor:grabbing}.cd-swap-card .cd-face{border-radius:calc(100% - 6px)}.cd-swap-tag{position:absolute;left:14px;bottom:14px;padding:6px 12px;border-radius:999px;background:var(--cd-slab, #fff);color:var(--cd-ink, #17181a);font-size:13px;font-weight:500;pointer-events:none}.cd-stack{pointer-events:none}.cd-stack-hit{position:absolute;pointer-events:auto}.cd-stack-card{position:absolute;pointer-events:auto;cursor:pointer}.cd-stack-face{position:absolute;inset:0;overflow:hidden;border-radius:var(--cd-r, 14px);background:var(--cd-slab, #f4f4f2);box-shadow:inset 0 1px #ffffff12,inset 0 0 0 1px #ffffff09,0 1px 2px #0f172a1a,0 8px 18px -6px #0f172a29;transition:translate .48s cubic-bezier(.4,0,.2,1),box-shadow .48s cubic-bezier(.4,0,.2,1)}.cd-stack-face[data-lift]{translate:0 calc(var(--cd-lift, 16px) * -1);transition:translate .3s cubic-bezier(.2,.7,.3,1) 15ms,box-shadow .3s cubic-bezier(.4,0,.2,1) 15ms;box-shadow:inset 0 1px #ffffff14,inset 0 0 0 1px #ffffff0b,0 2px 5px #0f172a1f,0 18px 32px -10px #0f172a47}.cd-ring{position:absolute;inset:0;touch-action:pan-y;cursor:grab}.cd-ring[data-held=true]{cursor:grabbing}.cd-ring:focus-visible{outline:none;box-shadow:0 0 0 2px var(--cd-ink, #17181a)}.cd-ring-slot{position:absolute;left:50%;top:50%;transform-origin:center}.cd-ring-float{width:100%;height:100%;perspective:760px;animation:cd-bob 5s ease-in-out infinite}.cd-ring-card{position:relative;width:100%;height:100%;overflow:hidden;box-shadow:0 12px 28px -10px #0f172a47}.cd-ring-sheen{position:absolute;inset:0;display:block;pointer-events:none}@keyframes cd-bob{0%,to{transform:translateY(calc(var(--cd-bob, 4px) * -1)) rotate(calc(var(--cd-sway, 1deg) * -1))}50%{transform:translateY(var(--cd-bob, 4px)) rotate(var(--cd-sway, 1deg))}}.cd-swipe{width:400px;height:350px}.cd-swipe-deck{position:absolute;top:24px;transition:left .42s cubic-bezier(.22,1,.36,1)}.cd-swipe-card{position:absolute;inset:0;overflow:hidden;border-radius:var(--cd-r, 20px);background:#1b1b1d;transform-origin:30% 100%;transition:transform .42s cubic-bezier(.22,1,.36,1)}.cd-swipe-card[data-out]{transition:transform .22s cubic-bezier(.22,1,.36,1)}.cd-swipe-card[data-top]{cursor:grab;touch-action:none}.cd-swipe-card[data-top]:active{cursor:grabbing}.cd-swipe-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 58%,rgba(0,0,0,.42));pointer-events:none}.cd-swipe-caption{position:absolute;left:16px;right:16px;bottom:14px;z-index:1;color:#fff;font-size:16px;font-weight:500;letter-spacing:-.01em}@media(prefers-reduced-motion:reduce){.cd-ring-float{animation:none}.cd-swap-card,.cd-swipe-card,.cd-swipe-deck{transition-duration:1ms}.cd-stack-face,.cd-stack-face[data-lift]{transition-duration:1ms;transition-delay:0ms}}.jelly-surface{position:relative;display:inline-block;vertical-align:middle;isolation:isolate;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.jelly-surface.is-disabled{opacity:.55;pointer-events:none}.jelly-contact-shadow{position:absolute;inset:13%;border-radius:var(--jb-css-radius, 28px);background:#0f172a38;filter:blur(9px);transform:translateY(10%) scale(.95);pointer-events:none;z-index:0}.jelly-caustic{position:absolute;inset:8%;border-radius:var(--jb-css-radius, 28px);background:var(--jb-caustic, rgba(255, 100, 0, .45));filter:blur(15px);transform:translateY(12%) scale(.95);opacity:.82;transition:transform .2s ease,opacity .2s ease;pointer-events:none;z-index:0}.jelly-composite{position:absolute;left:-22%;top:-22%;width:144%;height:144%;display:block;pointer-events:none;z-index:1}.jelly-native{all:unset;position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:var(--jb-css-radius, 28px);cursor:pointer;outline:none;box-sizing:border-box}.jelly-native:focus-visible{outline:2px solid var(--jb-fg-color, #ffffff);outline-offset:4px}.jelly-overlay{position:relative;z-index:3;width:100%;height:100%;display:flex;flex-direction:var(--jb-layout-dir, column);align-items:center;justify-content:center;gap:var(--jb-gap, 6px);color:var(--jb-fg-color, #ffffff);filter:drop-shadow(0 2px 5px var(--jb-fg-shadow, rgba(0, 0, 0, .35)));will-change:transform;pointer-events:none;text-align:center;padding:6% 10%;box-sizing:border-box}.jelly-icon{width:var(--jb-icon-box, 54%);height:var(--jb-icon-box, 54%);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--jb-fg-color, #ffffff)}.jelly-icon svg{display:block;width:100%;height:100%}.jelly-label{display:inline-block;font-size:var(--jb-font-size, 14px);font-weight:800;line-height:1.2;letter-spacing:.02em;white-space:nowrap;color:var(--jb-fg-color, #ffffff);text-shadow:0 1px 4px var(--jb-fg-shadow, rgba(0, 0, 0, .35))}.jelly-surface.is-fallback .jelly-native{background:var(--jb-fallback-bg, #ff6700);box-shadow:inset 0 2px 3px #ffffff8c,inset 0 -10px 18px #0f172a33,0 12px 24px -8px #0f172a4d}@media(prefers-reduced-motion:reduce){.jelly-caustic{transition:none}}.fv-loading{display:inline-flex;align-items:center;gap:10px;color:inherit}.fv-loading__ring{width:28px;height:28px;flex:none}.fv-loading--sm .fv-loading__ring{width:18px;height:18px}.fv-loading--lg .fv-loading__ring{width:44px;height:44px}.fv-loading__track{fill:none;stroke:color-mix(in srgb,currentColor 18%,transparent);stroke-width:3}.fv-loading__arc{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}.fv-loading__arc.is-indeterminate{animation:fv-loading-spin 1.1s linear infinite}@keyframes fv-loading-spin{to{transform:rotate(270deg)}}.fv-loading__label{font:500 12px/1.4 var(--fv-font-ui, system-ui);color:inherit;white-space:nowrap}@media(prefers-reduced-motion:reduce){.fv-loading__arc.is-indeterminate{animation:none}}.fv-cloud-loading{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;overflow:hidden;color:var(--fv-cloud-ink, var(--color, var(--ink, #1c1e24)));font:500 13px/1.4 var(--fv-font-ui, system-ui);pointer-events:auto}.fv-cloud-loading[data-fullscreen]{position:fixed}.fv-cloud-loading:not([data-fullscreen]){position:absolute}.fv-cloud-canvas,.fv-cloud-fallback{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.fv-cloud-fallback{background:linear-gradient(color-mix(in srgb,var(--fv-cloud-tint, #ffffff) 86%,#9fb4d8),var(--fv-cloud-tint, #ffffff));opacity:0;transition:opacity .6s ease}.fv-cloud-fallback i{position:absolute;border-radius:50%;background:radial-gradient(closest-side,#ffffffe6,#fff0);filter:blur(18px);animation:fv-cloud-drift 9s ease-in-out infinite alternate}.fv-cloud-fallback i:nth-child(1){width:60%;height:44%;left:-12%;top:8%;animation-delay:-2s}.fv-cloud-fallback i:nth-child(2){width:55%;height:40%;right:-10%;top:30%;animation-delay:-5s}.fv-cloud-fallback i:nth-child(3){width:65%;height:46%;left:4%;bottom:-8%;animation-delay:-8s}.fv-cloud-loading.is-gathering .fv-cloud-fallback,.fv-cloud-loading.is-holding .fv-cloud-fallback{opacity:1;transition:opacity .9s ease}.fv-cloud-loading.is-dissipating .fv-cloud-fallback{opacity:0;transition:opacity 1.1s ease;transform:translateY(-6%);transition-property:opacity,transform}@keyframes fv-cloud-drift{0%{transform:translate3d(-4%,2%,0) scale(1)}to{transform:translate3d(6%,-3%,0) scale(1.15)}}.fv-cloud-body{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:24px;opacity:0;transform:translateY(6px);transition:opacity .48s ease,transform .48s ease;pointer-events:none}.fv-cloud-loading.is-holding .fv-cloud-body{opacity:1;transform:none}.fv-cloud-spinner{width:30px;height:30px;border-radius:50%;border:2.5px solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:fv-cloud-spin .9s linear infinite}@keyframes fv-cloud-spin{to{transform:rotate(360deg)}}.fv-cloud-label{letter-spacing:.02em;color:color-mix(in srgb,currentColor 78%,transparent)}@media(prefers-reduced-motion:reduce){.fv-cloud-spinner,.fv-cloud-fallback i{animation:none}.fv-cloud-body,.fv-cloud-fallback{transition-duration:1ms}}@property --fv-ring-angle{syntax: "<angle>"; inherits: false; initial-value: 0deg;}.fv-ring{--fv-ring-color: #8ab4ff;--fv-ring-radius: 12px;--fv-ring-thickness: 2px;--fv-ring-speed: 2.6s;--fv-ring-beat: 2.6s;--fv-ring-glow: 6px;position:relative;display:inline-flex;vertical-align:middle;border-radius:var(--fv-ring-radius);isolation:isolate}.fv-ring__band{position:absolute;z-index:1;inset:calc(-1 * var(--fv-ring-thickness));padding:var(--fv-ring-thickness);border-radius:calc(var(--fv-ring-radius) + var(--fv-ring-thickness));background:conic-gradient(from var(--fv-ring-angle),transparent 0deg,color-mix(in srgb,var(--fv-ring-color) 4%,transparent) 30deg,color-mix(in srgb,var(--fv-ring-color) 55%,transparent) 66deg,color-mix(in srgb,var(--fv-ring-color) 85%,white) 92deg,var(--fv-ring-color) 104deg,color-mix(in srgb,var(--fv-ring-color) 20%,transparent) 136deg,transparent 168deg,transparent 360deg),conic-gradient(color-mix(in srgb,var(--fv-ring-color) 7%,transparent) 0deg 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;pointer-events:none;transition:opacity .22s ease}.fv-ring--active .fv-ring__band{animation:fv-ring-lap var(--fv-ring-speed) linear infinite,fv-ring-breathe var(--fv-ring-beat) ease-in-out infinite}@keyframes fv-ring-lap{to{--fv-ring-angle: 360deg}}@keyframes fv-ring-breathe{0%,to{opacity:.42;filter:drop-shadow(0 0 calc(var(--fv-ring-glow) * .3) color-mix(in srgb,var(--fv-ring-color) 45%,transparent))}50%{opacity:1;filter:drop-shadow(0 0 calc(var(--fv-ring-glow) * .75) color-mix(in srgb,var(--fv-ring-color) 75%,transparent))}}@media(prefers-reduced-motion:reduce){.fv-ring--active:not(.fv-ring--force-motion) .fv-ring__band{animation:none;opacity:.9;filter:drop-shadow(0 0 calc(var(--fv-ring-glow) * .4) color-mix(in srgb,var(--fv-ring-color) 55%,transparent))}}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-U59nAOr-.cjs");exports.GalleryGrid=e.GalleryGrid;exports.MusicPlayer=e.MusicPlayer;exports.VideoPlayer=e.VideoPlayer;exports.ensureGalleryStyles=e.ensureGalleryStyles;
2
+ //# sourceMappingURL=gallery.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './blocks/gallery/index.js'
@@ -0,0 +1,8 @@
1
+ import { G as r, M as l, V as s, e as y } from "./index-CgkG0Pah.js";
2
+ export {
3
+ r as GalleryGrid,
4
+ l as MusicPlayer,
5
+ s as VideoPlayer,
6
+ y as ensureGalleryStyles
7
+ };
8
+ //# sourceMappingURL=gallery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}