@spesia/ui 1.10.3 → 1.10.5

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 (47) hide show
  1. package/dist/_virtual/index.js +5 -2
  2. package/dist/_virtual/index2.js +4 -0
  3. package/dist/_virtual/lottie.js +7 -0
  4. package/dist/_virtual/lottie2.js +4 -0
  5. package/dist/client.d.ts +4 -0
  6. package/dist/client.js +14 -10
  7. package/dist/components/LogoAnimation/LogoAnimation.d.ts +10 -0
  8. package/dist/components/LogoAnimation/LogoAnimation.js +56 -0
  9. package/dist/components/LogoAnimation/logo-animation.json.d.ts +240 -0
  10. package/dist/components/LogoAnimation/logo-animation.json.js +27 -0
  11. package/dist/components/LogoSpinner/LogoSpinner.d.ts +8 -0
  12. package/dist/components/LogoSpinner/LogoSpinner.js +34 -0
  13. package/dist/components/LogoSpinner/logo-spinner-scale.json.d.ts +399 -0
  14. package/dist/components/LogoSpinner/logo-spinner-scale.json.js +27 -0
  15. package/dist/components/chip-list/ChipList.js +1 -2
  16. package/dist/components/date-picker/DatePicker/DatePicker.js +13 -14
  17. package/dist/components/date-picker/PeriodPicker/PeriodPicker.js +1 -2
  18. package/dist/components/date-picker/utils.js +16 -16
  19. package/dist/components/filters/FilterList.js +12 -13
  20. package/dist/components/trending-chip/TrendingChip.js +7 -8
  21. package/dist/helpers/suitCx.js +1 -1
  22. package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +33 -33
  23. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/formatters.js +68 -0
  24. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +1 -2
  25. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarDays.js +2 -3
  26. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/format.js +0 -1
  27. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDayOfYear.js +3 -4
  28. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeek.js +4 -5
  29. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeekYear.js +0 -1
  30. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeek.js +5 -6
  31. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeekYear.js +0 -1
  32. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isDate.js +0 -1
  33. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameDay.js +8 -9
  34. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameMonth.js +5 -6
  35. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameYear.js +6 -7
  36. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isValid.js +4 -5
  37. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js +8 -9
  38. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfDay.js +4 -5
  39. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeek.js +2 -3
  40. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeekYear.js +5 -6
  41. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +7 -8
  42. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeekYear.js +4 -5
  43. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfYear.js +0 -1
  44. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +3 -4
  45. package/dist/node_modules/.pnpm/lottie-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/lottie-react/build/index.es.js +370 -0
  46. package/dist/node_modules/.pnpm/lottie-web@5.13.0/node_modules/lottie-web/build/player/lottie.js +7665 -0
  47. package/package.json +6 -5
@@ -1,4 +1,7 @@
1
- var s = { exports: {} };
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as s } from "../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
3
+ var e = s();
4
+ const t = /* @__PURE__ */ r(e);
2
5
  export {
3
- s as __module
6
+ t as default
4
7
  };
@@ -0,0 +1,4 @@
1
+ var s = { exports: {} };
2
+ export {
3
+ s as __module
4
+ };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as t } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/.pnpm/lottie-web@5.13.0/node_modules/lottie-web/build/player/lottie.js";
3
+ var o = /* @__PURE__ */ r();
4
+ const a = /* @__PURE__ */ t(o);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
package/dist/client.d.ts CHANGED
@@ -5,3 +5,7 @@ export { PeriodPicker } from './components/date-picker/PeriodPicker/PeriodPicker
5
5
  export { DatePicker } from './components/date-picker/DatePicker/DatePicker';
6
6
  export { ChipList } from './components/chip-list/ChipList';
7
7
  export { FilterList } from './components/filters/FilterList';
8
+ export { default as LogoAnimation } from './components/LogoAnimation/LogoAnimation';
9
+ export { type LogoAnimationProps, type LogoAnimationColor, } from './components/LogoAnimation/LogoAnimation';
10
+ export { default as LogoSpinner } from './components/LogoSpinner/LogoSpinner';
11
+ export { type LogoSpinnerProps } from './components/LogoSpinner/LogoSpinner';
package/dist/client.js CHANGED
@@ -1,16 +1,20 @@
1
- import { theme as o } from "./styles/index.js";
1
+ import { theme as e } from "./styles/index.js";
2
2
  import { TrendingChip as i } from "./components/trending-chip/TrendingChip.js";
3
- import { ContainerGrid as m } from "./components/container-grid/ContainerGrid.js";
3
+ import { ContainerGrid as f } from "./components/container-grid/ContainerGrid.js";
4
4
  import { PeriodPicker as x } from "./components/date-picker/PeriodPicker/PeriodPicker.js";
5
- import { DatePicker as d } from "./components/date-picker/DatePicker/DatePicker.js";
6
- import { ChipList as C } from "./components/chip-list/ChipList.js";
7
- import { FilterList as a } from "./components/filters/FilterList.js";
5
+ import { DatePicker as a } from "./components/date-picker/DatePicker/DatePicker.js";
6
+ import { ChipList as s } from "./components/chip-list/ChipList.js";
7
+ import { FilterList as g } from "./components/filters/FilterList.js";
8
+ import { default as l } from "./components/LogoAnimation/LogoAnimation.js";
9
+ import { default as P } from "./components/LogoSpinner/LogoSpinner.js";
8
10
  export {
9
- C as ChipList,
10
- m as ContainerGrid,
11
- d as DatePicker,
12
- a as FilterList,
11
+ s as ChipList,
12
+ f as ContainerGrid,
13
+ a as DatePicker,
14
+ g as FilterList,
15
+ l as LogoAnimation,
16
+ P as LogoSpinner,
13
17
  x as PeriodPicker,
14
18
  i as TrendingChip,
15
- o as theme
19
+ e as theme
16
20
  };
@@ -0,0 +1,10 @@
1
+ export type LogoAnimationColor = "brown" | "coral" | "black" | "light";
2
+ export type LogoAnimationProps = {
3
+ size?: number;
4
+ color?: LogoAnimationColor;
5
+ loop?: boolean;
6
+ speed?: number;
7
+ className?: string;
8
+ };
9
+ declare const LogoAnimation: ({ size, color, loop, speed, className, }: LogoAnimationProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default LogoAnimation;
@@ -0,0 +1,56 @@
1
+ import { jsx as y } from "react/jsx-runtime";
2
+ import g from "../../node_modules/.pnpm/lottie-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/lottie-react/build/index.es.js";
3
+ import { useMemo as b, useRef as d, useEffect as x } from "react";
4
+ import w from "./logo-animation.json.js";
5
+ import { colors as p } from "../../styles/colors.js";
6
+ const E = {
7
+ brown: p.primary.brown[90],
8
+ coral: p.primary.coral[100],
9
+ black: "#000000",
10
+ light: p.primary.coral[20]
11
+ };
12
+ function M(t) {
13
+ const o = t.replace("#", ""), e = parseInt(o.slice(0, 2), 16) / 255, r = parseInt(o.slice(2, 4), 16) / 255, n = parseInt(o.slice(4, 6), 16) / 255;
14
+ return [e, r, n, 1];
15
+ }
16
+ function S(t, o) {
17
+ var a;
18
+ const [e, r, n, i] = M(o), c = JSON.parse(JSON.stringify(t));
19
+ return (a = c.layers) == null || a.forEach((s) => {
20
+ var f;
21
+ (f = s.shapes) == null || f.forEach((h) => {
22
+ var m;
23
+ (m = h.it) == null || m.forEach((l) => {
24
+ var u;
25
+ l.ty === "fl" && ((u = l.c) != null && u.k) && (l.c.k = [e, r, n, i]);
26
+ });
27
+ });
28
+ }), c;
29
+ }
30
+ const j = ({
31
+ size: t = 64,
32
+ color: o = "brown",
33
+ loop: e = !0,
34
+ speed: r = 1,
35
+ className: n
36
+ }) => {
37
+ const i = E[o], c = b(() => S(w, i), [i]), a = d(null);
38
+ return x(() => {
39
+ var s;
40
+ (s = a.current) == null || s.setSpeed(r);
41
+ }, [r]), /* @__PURE__ */ y(
42
+ g,
43
+ {
44
+ lottieRef: a,
45
+ animationData: c,
46
+ loop: e,
47
+ autoplay: !0,
48
+ rendererSettings: { preserveAspectRatio: "xMidYMid meet" },
49
+ style: { width: t, height: t },
50
+ className: n
51
+ }
52
+ );
53
+ };
54
+ export {
55
+ j as default
56
+ };
@@ -0,0 +1,240 @@
1
+ declare const _default: {
2
+ "v": "5.9.0",
3
+ "fr": 60,
4
+ "ip": 0,
5
+ "op": 240,
6
+ "w": 122,
7
+ "h": 130,
8
+ "nm": "Spesia Logo Loading",
9
+ "ddd": 0,
10
+ "assets": [],
11
+ "layers": [
12
+ {
13
+ "ddd": 0, "ind": 1, "ty": 4, "nm": "Petal Bottom", "sr": 1,
14
+ "ks": {
15
+ "o": {
16
+ "a": 1,
17
+ "k": [
18
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 0, "s": [0] },
19
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 40, "s": [0] },
20
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 80, "s": [100] },
21
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 170, "s": [100] },
22
+ { "t": 210, "s": [0] }
23
+ ], "ix": 11
24
+ },
25
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6 },
26
+ "p": { "a": 0, "k": [61, 63, 0], "ix": 2 },
27
+ "a": { "a": 0, "k": [61, 63, 0], "ix": 1 },
28
+ "r": { "a": 0, "k": 0, "ix": 10 }
29
+ },
30
+ "ao": 0,
31
+ "shapes": [
32
+ {
33
+ "ty": "gr",
34
+ "it": [
35
+ {
36
+ "ind": 0, "ty": "sh", "ix": 1,
37
+ "ks": {
38
+ "a": 0,
39
+ "k": {
40
+ "v": [[60.887,65.102],[90.529,95.735],[91.315,95.745],[60.876,127.2],[30.448,96.557],[30.439,95.746],[60.877,64.291]],
41
+ "i": [[0,0],[-16.186,-0.424],[0,0],[16.811,0],[0.417,16.997],[0,0],[0,17.372]],
42
+ "o": [[0.410,16.727],[0,0],[0,17.372],[-16.547,0],[0,0],[16.810,0],[0,0]],
43
+ "c": true
44
+ }, "ix": 2
45
+ },
46
+ "nm": "Path", "mn": "ADBE Vector Shape - Group", "hd": false
47
+ },
48
+ {
49
+ "ty": "fl",
50
+ "c": { "a": 0, "k": [0.122, 0.082, 0.067, 1], "ix": 4 },
51
+ "o": { "a": 0, "k": 100, "ix": 5 },
52
+ "r": 1, "bm": 0, "nm": "Fill", "mn": "ADBE Vector Graphic - Fill", "hd": false
53
+ },
54
+ {
55
+ "ty": "tr",
56
+ "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 },
57
+ "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 },
58
+ "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 },
59
+ "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform"
60
+ }
61
+ ],
62
+ "nm": "Petal Bottom", "np": 2, "cix": 2, "bm": 0, "ix": 1,
63
+ "mn": "ADBE Vector Group", "hd": false
64
+ }
65
+ ],
66
+ "ip": 0, "op": 240, "st": 0, "bm": 0
67
+ },
68
+ {
69
+ "ddd": 0, "ind": 2, "ty": 4, "nm": "Petal Left", "sr": 1,
70
+ "ks": {
71
+ "o": {
72
+ "a": 1,
73
+ "k": [
74
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 0, "s": [0] },
75
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 60, "s": [0] },
76
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 100, "s": [100] },
77
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 190, "s": [100] },
78
+ { "t": 230, "s": [0] }
79
+ ], "ix": 11
80
+ },
81
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6 },
82
+ "p": { "a": 0, "k": [61, 63, 0], "ix": 2 },
83
+ "a": { "a": 0, "k": [61, 63, 0], "ix": 1 },
84
+ "r": { "a": 0, "k": 0, "ix": 10 }
85
+ },
86
+ "ao": 0,
87
+ "shapes": [
88
+ {
89
+ "ty": "gr",
90
+ "it": [
91
+ {
92
+ "ind": 0, "ty": "sh", "ix": 1,
93
+ "ks": {
94
+ "a": 0,
95
+ "k": {
96
+ "v": [[30.439,32.835],[60.092,64.281],[60.877,64.291],[60.092,64.301],[30.439,95.746],[29.653,95.736],[0.0,64.291]],
97
+ "i": [[-16.811,0],[-16.448,-0.431],[0,0],[0,0],[0,-17.101],[0,0],[0,17.100]],
98
+ "o": [[0,17.101],[0,0],[0,0],[-16.448,0.430],[0,0],[-16.447,-0.431],[0,-17.372]],
99
+ "c": true
100
+ }, "ix": 2
101
+ },
102
+ "nm": "Path", "mn": "ADBE Vector Shape - Group", "hd": false
103
+ },
104
+ {
105
+ "ty": "fl",
106
+ "c": { "a": 0, "k": [0.122, 0.082, 0.067, 1], "ix": 4 },
107
+ "o": { "a": 0, "k": 100, "ix": 5 },
108
+ "r": 1, "bm": 0, "nm": "Fill", "mn": "ADBE Vector Graphic - Fill", "hd": false
109
+ },
110
+ {
111
+ "ty": "tr",
112
+ "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 },
113
+ "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 },
114
+ "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 },
115
+ "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform"
116
+ }
117
+ ],
118
+ "nm": "Petal Left", "np": 2, "cix": 2, "bm": 0, "ix": 1,
119
+ "mn": "ADBE Vector Group", "hd": false
120
+ }
121
+ ],
122
+ "ip": 0, "op": 240, "st": 0, "bm": 0
123
+ },
124
+ {
125
+ "ddd": 0, "ind": 3, "ty": 4, "nm": "Petal Right", "sr": 1,
126
+ "ks": {
127
+ "o": {
128
+ "a": 1,
129
+ "k": [
130
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 0, "s": [0] },
131
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 20, "s": [0] },
132
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 60, "s": [100] },
133
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 150, "s": [100] },
134
+ { "t": 190, "s": [0] }
135
+ ], "ix": 11
136
+ },
137
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6 },
138
+ "p": { "a": 0, "k": [61, 63, 0], "ix": 2 },
139
+ "a": { "a": 0, "k": [61, 63, 0], "ix": 1 },
140
+ "r": { "a": 0, "k": 0, "ix": 10 }
141
+ },
142
+ "ao": 0,
143
+ "shapes": [
144
+ {
145
+ "ty": "gr",
146
+ "it": [
147
+ {
148
+ "ind": 0, "ty": "sh", "ix": 1,
149
+ "ks": {
150
+ "a": 0,
151
+ "k": {
152
+ "v": [[91.315,32.835],[121.754,64.290],[91.315,95.745],[60.877,64.291],[91.306,33.647]],
153
+ "i": [[0,0],[0,-17.372],[16.810,0],[16.811,0],[-0.417,16.997]],
154
+ "o": [[16.811,0],[0,17.372],[0,-17.372],[16.548,0],[0,0]],
155
+ "c": true
156
+ }, "ix": 2
157
+ },
158
+ "nm": "Path", "mn": "ADBE Vector Shape - Group", "hd": false
159
+ },
160
+ {
161
+ "ty": "fl",
162
+ "c": { "a": 0, "k": [0.122, 0.082, 0.067, 1], "ix": 4 },
163
+ "o": { "a": 0, "k": 100, "ix": 5 },
164
+ "r": 1, "bm": 0, "nm": "Fill", "mn": "ADBE Vector Graphic - Fill", "hd": false
165
+ },
166
+ {
167
+ "ty": "tr",
168
+ "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 },
169
+ "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 },
170
+ "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 },
171
+ "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform"
172
+ }
173
+ ],
174
+ "nm": "Petal Right", "np": 2, "cix": 2, "bm": 0, "ix": 1,
175
+ "mn": "ADBE Vector Group", "hd": false
176
+ }
177
+ ],
178
+ "ip": 0, "op": 240, "st": 0, "bm": 0
179
+ },
180
+ {
181
+ "ddd": 0, "ind": 4, "ty": 4, "nm": "Petal Top", "sr": 1,
182
+ "ks": {
183
+ "o": {
184
+ "a": 1,
185
+ "k": [
186
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 0, "s": [0] },
187
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 40, "s": [100] },
188
+ { "i": { "x": [0.4], "y": [1] }, "o": { "x": [0.6], "y": [0] }, "t": 130, "s": [100] },
189
+ { "t": 170, "s": [0] }
190
+ ], "ix": 11
191
+ },
192
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6 },
193
+ "p": { "a": 0, "k": [61, 63, 0], "ix": 2 },
194
+ "a": { "a": 0, "k": [61, 63, 0], "ix": 1 },
195
+ "r": { "a": 0, "k": 0, "ix": 10 }
196
+ },
197
+ "ao": 0,
198
+ "shapes": [
199
+ {
200
+ "ty": "gr",
201
+ "it": [
202
+ {
203
+ "ind": 0, "ty": "sh", "ix": 1,
204
+ "ks": {
205
+ "a": 0,
206
+ "k": {
207
+ "v": [[60.877,1.380],[91.315,32.835],[90.529,32.846],[60.877,64.291],[30.439,32.835]],
208
+ "i": [[-16.810,0],[0,-17.372],[0,0],[0,-17.101],[16.810,0]],
209
+ "o": [[16.811,0],[0,0],[-16.447,0.431],[0,-17.372],[0,-17.372]],
210
+ "c": true
211
+ }, "ix": 2
212
+ },
213
+ "nm": "Path", "mn": "ADBE Vector Shape - Group", "hd": false
214
+ },
215
+ {
216
+ "ty": "fl",
217
+ "c": { "a": 0, "k": [0.122, 0.082, 0.067, 1], "ix": 4 },
218
+ "o": { "a": 0, "k": 100, "ix": 5 },
219
+ "r": 1, "bm": 0, "nm": "Fill", "mn": "ADBE Vector Graphic - Fill", "hd": false
220
+ },
221
+ {
222
+ "ty": "tr",
223
+ "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 },
224
+ "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 },
225
+ "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 },
226
+ "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform"
227
+ }
228
+ ],
229
+ "nm": "Petal Top", "np": 2, "cix": 2, "bm": 0, "ix": 1,
230
+ "mn": "ADBE Vector Group", "hd": false
231
+ }
232
+ ],
233
+ "ip": 0, "op": 240, "st": 0, "bm": 0
234
+ }
235
+ ],
236
+ "markers": []
237
+ }
238
+ ;
239
+
240
+ export default _default;
@@ -0,0 +1,27 @@
1
+ const a = "5.9.0", o = 60, k = 0, r = 240, n = 122, m = 130, i = "Spesia Logo Loading", e = 0, t = [], x = [{ ddd: 0, ind: 1, ty: 4, nm: "Petal Bottom", sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 0, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 40, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 80, s: [100] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 170, s: [100] }, { t: 210, s: [0] }], ix: 11 }, s: { a: 0, k: [100, 100, 100], ix: 6 }, p: { a: 0, k: [61, 63, 0], ix: 2 }, a: { a: 0, k: [61, 63, 0], ix: 1 }, r: { a: 0, k: 0, ix: 10 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { v: [[60.887, 65.102], [90.529, 95.735], [91.315, 95.745], [60.876, 127.2], [30.448, 96.557], [30.439, 95.746], [60.877, 64.291]], i: [[0, 0], [-16.186, -0.424], [0, 0], [16.811, 0], [0.417, 16.997], [0, 0], [0, 17.372]], o: [[0.41, 16.727], [0, 0], [0, 17.372], [-16.547, 0], [0, 0], [16.81, 0], [0, 0]], c: !0 }, ix: 2 }, nm: "Path", mn: "ADBE Vector Shape - Group", hd: !1 }, { ty: "fl", c: { a: 0, k: [0.122, 0.082, 0.067, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill", mn: "ADBE Vector Graphic - Fill", hd: !1 }, { ty: "tr", p: { a: 0, k: [0, 0], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "Transform" }], nm: "Petal Bottom", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: !1 }], ip: 0, op: 240, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 4, nm: "Petal Left", sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 0, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 60, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 100, s: [100] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 190, s: [100] }, { t: 230, s: [0] }], ix: 11 }, s: { a: 0, k: [100, 100, 100], ix: 6 }, p: { a: 0, k: [61, 63, 0], ix: 2 }, a: { a: 0, k: [61, 63, 0], ix: 1 }, r: { a: 0, k: 0, ix: 10 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { v: [[30.439, 32.835], [60.092, 64.281], [60.877, 64.291], [60.092, 64.301], [30.439, 95.746], [29.653, 95.736], [0, 64.291]], i: [[-16.811, 0], [-16.448, -0.431], [0, 0], [0, 0], [0, -17.101], [0, 0], [0, 17.1]], o: [[0, 17.101], [0, 0], [0, 0], [-16.448, 0.43], [0, 0], [-16.447, -0.431], [0, -17.372]], c: !0 }, ix: 2 }, nm: "Path", mn: "ADBE Vector Shape - Group", hd: !1 }, { ty: "fl", c: { a: 0, k: [0.122, 0.082, 0.067, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill", mn: "ADBE Vector Graphic - Fill", hd: !1 }, { ty: "tr", p: { a: 0, k: [0, 0], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "Transform" }], nm: "Petal Left", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: !1 }], ip: 0, op: 240, st: 0, bm: 0 }, { ddd: 0, ind: 3, ty: 4, nm: "Petal Right", sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 0, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 20, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 60, s: [100] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 150, s: [100] }, { t: 190, s: [0] }], ix: 11 }, s: { a: 0, k: [100, 100, 100], ix: 6 }, p: { a: 0, k: [61, 63, 0], ix: 2 }, a: { a: 0, k: [61, 63, 0], ix: 1 }, r: { a: 0, k: 0, ix: 10 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { v: [[91.315, 32.835], [121.754, 64.29], [91.315, 95.745], [60.877, 64.291], [91.306, 33.647]], i: [[0, 0], [0, -17.372], [16.81, 0], [16.811, 0], [-0.417, 16.997]], o: [[16.811, 0], [0, 17.372], [0, -17.372], [16.548, 0], [0, 0]], c: !0 }, ix: 2 }, nm: "Path", mn: "ADBE Vector Shape - Group", hd: !1 }, { ty: "fl", c: { a: 0, k: [0.122, 0.082, 0.067, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill", mn: "ADBE Vector Graphic - Fill", hd: !1 }, { ty: "tr", p: { a: 0, k: [0, 0], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "Transform" }], nm: "Petal Right", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: !1 }], ip: 0, op: 240, st: 0, bm: 0 }, { ddd: 0, ind: 4, ty: 4, nm: "Petal Top", sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 0, s: [0] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 40, s: [100] }, { i: { x: [0.4], y: [1] }, o: { x: [0.6], y: [0] }, t: 130, s: [100] }, { t: 170, s: [0] }], ix: 11 }, s: { a: 0, k: [100, 100, 100], ix: 6 }, p: { a: 0, k: [61, 63, 0], ix: 2 }, a: { a: 0, k: [61, 63, 0], ix: 1 }, r: { a: 0, k: 0, ix: 10 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { v: [[60.877, 1.38], [91.315, 32.835], [90.529, 32.846], [60.877, 64.291], [30.439, 32.835]], i: [[-16.81, 0], [0, -17.372], [0, 0], [0, -17.101], [16.81, 0]], o: [[16.811, 0], [0, 0], [-16.447, 0.431], [0, -17.372], [0, -17.372]], c: !0 }, ix: 2 }, nm: "Path", mn: "ADBE Vector Shape - Group", hd: !1 }, { ty: "fl", c: { a: 0, k: [0.122, 0.082, 0.067, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill", mn: "ADBE Vector Graphic - Fill", hd: !1 }, { ty: "tr", p: { a: 0, k: [0, 0], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "Transform" }], nm: "Petal Top", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: !1 }], ip: 0, op: 240, st: 0, bm: 0 }], s = [], y = {
2
+ v: a,
3
+ fr: 60,
4
+ ip: 0,
5
+ op: 240,
6
+ w: 122,
7
+ h: 130,
8
+ nm: i,
9
+ ddd: 0,
10
+ assets: t,
11
+ layers: x,
12
+ markers: s
13
+ };
14
+ export {
15
+ t as assets,
16
+ e as ddd,
17
+ y as default,
18
+ o as fr,
19
+ m as h,
20
+ k as ip,
21
+ x as layers,
22
+ s as markers,
23
+ i as nm,
24
+ r as op,
25
+ a as v,
26
+ n as w
27
+ };
@@ -0,0 +1,8 @@
1
+ export type LogoSpinnerProps = {
2
+ size?: number;
3
+ loop?: boolean;
4
+ speed?: number;
5
+ className?: string;
6
+ };
7
+ declare const LogoSpinner: ({ speed, size, loop, className, }: LogoSpinnerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default LogoSpinner;
@@ -0,0 +1,34 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import p from "../../node_modules/.pnpm/lottie-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/lottie-react/build/index.es.js";
3
+ import a from "./logo-spinner-scale.json.js";
4
+ import { useRef as f, useEffect as s } from "react";
5
+ const h = ({
6
+ speed: r,
7
+ size: t,
8
+ loop: n = !0,
9
+ className: i
10
+ }) => {
11
+ const e = f(null);
12
+ return s(() => {
13
+ var o;
14
+ try {
15
+ typeof document < "u" && ((o = e == null ? void 0 : e.current) == null || o.setSpeed(r ?? 1.2));
16
+ } catch (u) {
17
+ console.debug("LogoSpinner error", { error: u });
18
+ }
19
+ }, [r]), /* @__PURE__ */ m(
20
+ p,
21
+ {
22
+ lottieRef: e,
23
+ animationData: a,
24
+ autoplay: !0,
25
+ rendererSettings: { preserveAspectRatio: "xMidYMid meet" },
26
+ style: { width: t, height: t },
27
+ className: i,
28
+ loop: n
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ h as default
34
+ };