@nexxtmove/ui 0.1.19 → 0.1.20

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.
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ declare const __VLS_component_2: DefineComponent<NexxtChipProps, {}, {}, {}, {},
10
10
 
11
11
  declare const __VLS_component_3: DefineComponent<NexxtHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
12
 
13
- declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
13
+ declare const __VLS_component_4: DefineComponent<NexxtInfoBlockProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtInfoBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
14
14
 
15
15
  declare const __VLS_component_5: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
16
  "update:currentStep": (...args: any[]) => void;
@@ -150,6 +150,11 @@ declare interface NexxtIconProps {
150
150
 
151
151
  export declare const NexxtInfoBlock: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
152
152
 
153
+ declare interface NexxtInfoBlockProps {
154
+ icon: InstanceType<typeof NexxtIcon>['name'];
155
+ color?: 'green' | 'purple' | 'blue' | 'rose';
156
+ }
157
+
153
158
  export declare const NexxtProgressBar: DefineComponent<NexxtProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
154
159
  "update:currentStep": (...args: any[]) => void;
155
160
  }, string, PublicProps, Readonly<NexxtProgressBarProps> & Readonly<{
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, ref as N, computed as f, watch as H, createBlock as k, openBlock as a, TransitionGroup as E, withCtx as y, createElementBlock as s, Fragment as S, renderList as T, createVNode as p, Transition as Z, toDisplayString as g, normalizeClass as c, createCommentVNode as b, renderSlot as w, createElementVNode as l, createTextVNode as M, watchEffect as C, normalizeStyle as F, withKeys as $, withModifiers as B, createStaticVNode as z, mergeProps as I, resolveDynamicComponent as V, createSlots as A } from "vue";
1
+ import { defineComponent as m, ref as j, computed as d, watch as H, createBlock as k, openBlock as a, TransitionGroup as E, withCtx as x, createElementBlock as l, Fragment as S, renderList as T, createVNode as p, Transition as Z, toDisplayString as g, normalizeClass as c, createCommentVNode as b, renderSlot as w, createElementVNode as n, createTextVNode as M, watchEffect as C, normalizeStyle as F, withKeys as $, withModifiers as B, createStaticVNode as z, mergeProps as I, resolveDynamicComponent as V, createSlots as A } from "vue";
2
2
  const L = /* @__PURE__ */ m({
3
3
  __name: "AnimatedNumber",
4
4
  props: {
@@ -7,13 +7,13 @@ const L = /* @__PURE__ */ m({
7
7
  easing: { default: "ease-out" }
8
8
  },
9
9
  setup(e) {
10
- const t = N("up"), n = f(() => String(e.value).split("")), i = f(() => `duration-${e.duration}`);
10
+ const t = j("up"), s = d(() => String(e.value).split("")), i = d(() => `duration-${e.duration}`);
11
11
  return H(
12
12
  () => e.value,
13
- (u, d) => {
14
- t.value = u > d ? "up" : "down";
13
+ (f, u) => {
14
+ t.value = f > u ? "up" : "down";
15
15
  }
16
- ), (u, d) => (a(), k(E, {
16
+ ), (f, u) => (a(), k(E, {
17
17
  tag: "div",
18
18
  class: "relative flex shrink-0 items-center tabular-nums",
19
19
  "aria-label": e.value,
@@ -23,9 +23,9 @@ const L = /* @__PURE__ */ m({
23
23
  "leave-to-class": t.value === "up" ? "-translate-y-full opacity-0" : "translate-y-full opacity-0",
24
24
  "move-class": "transition-all duration-500 ease-in-out"
25
25
  }, {
26
- default: y(() => [
27
- (a(!0), s(S, null, T(n.value, (v, o) => (a(), s("div", {
28
- key: o,
26
+ default: x(() => [
27
+ (a(!0), l(S, null, T(s.value, (v, r) => (a(), l("div", {
28
+ key: r,
29
29
  class: "relative inline-flex h-[1.5em] w-[1ch] items-center justify-center overflow-hidden",
30
30
  "aria-hidden": "true"
31
31
  }, [
@@ -35,8 +35,8 @@ const L = /* @__PURE__ */ m({
35
35
  "enter-from-class": t.value === "up" ? "translate-y-full" : "-translate-y-full",
36
36
  "leave-to-class": t.value === "up" ? "-translate-y-full" : "translate-y-full"
37
37
  }, {
38
- default: y(() => [
39
- (a(), s("span", {
38
+ default: x(() => [
39
+ (a(), l("span", {
40
40
  key: v,
41
41
  class: "flex h-full w-full items-center justify-center"
42
42
  }, g(v), 1))
@@ -48,7 +48,7 @@ const L = /* @__PURE__ */ m({
48
48
  _: 1
49
49
  }, 8, ["aria-label", "enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"]));
50
50
  }
51
- }), x = /* @__PURE__ */ m({
51
+ }), y = /* @__PURE__ */ m({
52
52
  name: "NexxtIcon",
53
53
  __name: "Icon",
54
54
  props: {
@@ -56,7 +56,7 @@ const L = /* @__PURE__ */ m({
56
56
  type: { default: "light" }
57
57
  },
58
58
  setup(e) {
59
- return (t, n) => (a(), s("i", {
59
+ return (t, s) => (a(), l("i", {
60
60
  class: c([`fa-${e.type}`, `fa-${e.name}`, "items-center", "justify-center"])
61
61
  }, null, 2));
62
62
  }
@@ -75,7 +75,7 @@ const L = /* @__PURE__ */ m({
75
75
  buttonType: { default: "button" }
76
76
  },
77
77
  setup(e) {
78
- return (t, n) => (a(), s("button", {
78
+ return (t, s) => (a(), l("button", {
79
79
  type: e.buttonType,
80
80
  disabled: e.disabled,
81
81
  class: c([
@@ -87,12 +87,12 @@ const L = /* @__PURE__ */ m({
87
87
  ]),
88
88
  "data-variant": e.variant
89
89
  }, [
90
- e.icon ? (a(), k(x, {
90
+ e.icon ? (a(), k(y, {
91
91
  key: 0,
92
92
  name: e.icon,
93
93
  class: c(["transition-all duration-200", { "order-last": e.iconRight, "opacity-0": e.loading }])
94
94
  }, null, 8, ["name", "class"])) : b("", !0),
95
- t.$slots.default ? (a(), s("span", {
95
+ t.$slots.default ? (a(), l("span", {
96
96
  key: 1,
97
97
  class: c([
98
98
  "inline-block transition-all duration-200",
@@ -111,9 +111,9 @@ const L = /* @__PURE__ */ m({
111
111
  "leave-from-class": "opacity-100",
112
112
  "leave-to-class": "opacity-0"
113
113
  }, {
114
- default: y(() => [
115
- e.loading ? (a(), s("div", R, [
116
- p(x, {
114
+ default: x(() => [
115
+ e.loading ? (a(), l("div", R, [
116
+ p(y, {
117
117
  name: "spinner-third",
118
118
  type: "light",
119
119
  class: "fa-spin absolute text-sm"
@@ -131,7 +131,7 @@ const L = /* @__PURE__ */ m({
131
131
  variant: { default: "default" }
132
132
  },
133
133
  setup(e) {
134
- const t = f(() => {
134
+ const t = d(() => {
135
135
  switch (e.variant) {
136
136
  case "warning":
137
137
  return "bg-orange-500";
@@ -143,11 +143,11 @@ const L = /* @__PURE__ */ m({
143
143
  return "bg-cornflower-blue-600";
144
144
  }
145
145
  });
146
- return (n, i) => (a(), s("span", {
146
+ return (s, i) => (a(), l("span", {
147
147
  class: c(["inline-flex h-5 flex-col items-center justify-center gap-2.5 rounded-[200px] px-4", t.value])
148
148
  }, [
149
- l("span", q, [
150
- w(n.$slots, "default", {}, () => [
149
+ n("span", q, [
150
+ w(s.$slots, "default", {}, () => [
151
151
  i[0] || (i[0] = M("Chip", -1))
152
152
  ])
153
153
  ])
@@ -167,26 +167,26 @@ const L = /* @__PURE__ */ m({
167
167
  } }
168
168
  },
169
169
  setup(e) {
170
- return (t, n) => (a(), s("div", {
170
+ return (t, s) => (a(), l("div", {
171
171
  class: c(["header flex items-center", t.$slots.center ? "grid grid-cols-3" : ""])
172
172
  }, [
173
- l("div", G, [
173
+ n("div", G, [
174
174
  p(D, {
175
175
  class: "shrink-0",
176
176
  variant: "secondary",
177
177
  onClick: e.backButtonAction
178
178
  }, {
179
- default: y(() => [
179
+ default: x(() => [
180
180
  M(g(e.backButtonText), 1)
181
181
  ]),
182
182
  _: 1
183
183
  }, 8, ["onClick"]),
184
- l("span", U, g(e.title), 1)
184
+ n("span", U, g(e.title), 1)
185
185
  ]),
186
- t.$slots.center ? (a(), s("div", W, [
186
+ t.$slots.center ? (a(), l("div", W, [
187
187
  w(t.$slots, "center")
188
188
  ])) : b("", !0),
189
- t.$slots.right ? (a(), s("div", {
189
+ t.$slots.right ? (a(), l("div", {
190
190
  key: 1,
191
191
  class: c(t.$slots.center ? "col-span-1 col-start-3 flex justify-end" : "ml-auto")
192
192
  }, [
@@ -194,43 +194,79 @@ const L = /* @__PURE__ */ m({
194
194
  ], 2)) : b("", !0)
195
195
  ], 2));
196
196
  }
197
- }), Y = {
198
- class: "info-block flex rounded-xl",
199
- role: "note"
200
- }, J = {
201
- class: "flex min-h-20 w-20 shrink-0 items-center justify-center rounded-l-xl bg-green-50",
202
- "aria-hidden": "true"
203
- }, O = { class: "flex aspect-square h-10 items-center justify-center rounded-full bg-green-500" }, Q = { class: "p-5" }, C1 = /* @__PURE__ */ m({
197
+ }), Y = { class: "p-5" }, Z1 = /* @__PURE__ */ m({
204
198
  name: "NexxtInfoBlock",
205
199
  __name: "InfoBlock",
200
+ props: {
201
+ icon: {},
202
+ color: { default: "green" }
203
+ },
206
204
  setup(e) {
207
- return (t, n) => (a(), s("div", Y, [
208
- l("div", J, [
209
- l("div", O, [
210
- p(x, {
211
- name: "thumbs-up",
212
- size: "lg",
213
- class: "text-white"
214
- })
215
- ])
216
- ]),
217
- l("div", Q, [
218
- n[1] || (n[1] = l("span", { class: "mr-[0.7ch] body-semibold" }, "Tip!", -1)),
219
- w(t.$slots, "default", {}, () => [
220
- n[0] || (n[0] = l("span", null, "Koopwoningen doen het goed als post of reel: zo geef je de woning genoeg aandacht én vergroot je het bereik.", -1))
221
- ])
205
+ const t = d(() => {
206
+ switch (e.color) {
207
+ case "green":
208
+ return {
209
+ border: "border-green-500",
210
+ background: "bg-green-50",
211
+ icon: "bg-green-500"
212
+ };
213
+ case "purple":
214
+ return {
215
+ border: "border-purple-500",
216
+ background: "bg-sapphire-50",
217
+ icon: "bg-purple-500"
218
+ };
219
+ case "blue":
220
+ return {
221
+ border: "border-cornflower-blue-500",
222
+ background: "bg-yale-blue-50",
223
+ icon: "bg-cornflower-blue-500"
224
+ };
225
+ case "rose":
226
+ return {
227
+ border: "border-rose-500",
228
+ background: "bg-rose-50",
229
+ icon: "bg-rose-500"
230
+ };
231
+ default:
232
+ return {
233
+ border: "border-green-500",
234
+ background: "bg-green-50",
235
+ icon: "bg-green-500"
236
+ };
237
+ }
238
+ });
239
+ return (s, i) => (a(), l("div", {
240
+ class: c(["info-block flex rounded-xl border", t.value.border]),
241
+ role: "note"
242
+ }, [
243
+ n("div", {
244
+ class: c(["flex min-h-20 w-20 shrink-0 items-center justify-center rounded-l-lg", t.value.background]),
245
+ "aria-hidden": "true"
246
+ }, [
247
+ n("div", {
248
+ class: c(["flex aspect-square h-10 items-center justify-center rounded-3xl", t.value.icon])
249
+ }, [
250
+ p(y, {
251
+ name: e.icon,
252
+ class: "text-xl text-white"
253
+ }, null, 8, ["name"])
254
+ ], 2)
255
+ ], 2),
256
+ n("div", Y, [
257
+ w(s.$slots, "default")
222
258
  ])
223
- ]));
259
+ ], 2));
224
260
  }
225
- }), _ = { class: "@container" }, e1 = { class: "flex flex-col @md:gap-2" }, t1 = { class: "flex items-center justify-between gap-2" }, a1 = ["aria-label", "aria-valuenow", "aria-valuetext"], l1 = {
261
+ }), J = { class: "@container" }, O = { class: "flex flex-col @md:gap-2" }, Q = { class: "flex items-center justify-between gap-2" }, _ = ["aria-label", "aria-valuenow", "aria-valuetext"], e1 = {
226
262
  key: 0,
227
263
  class: "flex items-center small-normal tabular-nums @md:hidden",
228
264
  "aria-hidden": "true"
229
- }, s1 = {
265
+ }, t1 = {
230
266
  key: 0,
231
267
  class: "flex justify-between @max-md:order-first @max-md:justify-center",
232
268
  "aria-label": "Progress steps"
233
- }, n1 = ["aria-current", "role", "tabindex", "aria-label", "onClick", "onKeydown"], i1 = /* @__PURE__ */ m({
269
+ }, a1 = ["aria-current", "role", "tabindex", "aria-label", "onClick", "onKeydown"], l1 = /* @__PURE__ */ m({
234
270
  name: "NexxtProgressBar",
235
271
  __name: "ProgressBar",
236
272
  props: {
@@ -241,59 +277,59 @@ const L = /* @__PURE__ */ m({
241
277
  },
242
278
  emits: ["update:currentStep"],
243
279
  setup(e) {
244
- const t = f(() => Math.min(Math.max(0, e.currentStep), Math.max(0, e.steps - 1))), n = f(() => e.steps > 0 ? t.value + 1 : 0), i = f(() => e.steps <= 1 ? e.steps === 1 ? 100 : 0 : t.value / (e.steps - 1) * 100), u = f(() => !!e.stepTitles?.length);
280
+ const t = d(() => Math.min(Math.max(0, e.currentStep), Math.max(0, e.steps - 1))), s = d(() => e.steps > 0 ? t.value + 1 : 0), i = d(() => e.steps <= 1 ? e.steps === 1 ? 100 : 0 : t.value / (e.steps - 1) * 100), f = d(() => !!e.stepTitles?.length);
245
281
  return C(() => {
246
282
  e.stepTitles && e.stepTitles.length !== e.steps && console.warn(
247
283
  `[NexxtProgressBar] The "stepTitles" array length (${e.stepTitles.length}) must match the "steps" prop (${e.steps}).`
248
284
  );
249
- }), (d, v) => (a(), s("div", _, [
250
- l("div", e1, [
251
- l("div", t1, [
252
- l("div", {
285
+ }), (u, v) => (a(), l("div", J, [
286
+ n("div", O, [
287
+ n("div", Q, [
288
+ n("div", {
253
289
  class: "progress-bar progress-bar-bar h-2 w-full overflow-hidden rounded-full",
254
290
  role: "progressbar",
255
291
  "aria-label": e.progressLabel,
256
292
  "aria-valuemin": "0",
257
293
  "aria-valuemax": "100",
258
294
  "aria-valuenow": Math.round(i.value),
259
- "aria-valuetext": u.value && e.stepTitles?.[t.value] ? `Step ${n.value} of ${e.steps}: ${e.stepTitles[t.value]}` : `Step ${n.value} of ${e.steps}`
295
+ "aria-valuetext": f.value && e.stepTitles?.[t.value] ? `Step ${s.value} of ${e.steps}: ${e.stepTitles[t.value]}` : `Step ${s.value} of ${e.steps}`
260
296
  }, [
261
- l("div", {
297
+ n("div", {
262
298
  class: "progress-bar-progress h-full transition-all duration-500 ease-out",
263
299
  style: F({ width: `${i.value}%` }),
264
300
  "aria-hidden": !0
265
301
  }, null, 4)
266
- ], 8, a1),
267
- u.value ? (a(), s("div", l1, [
268
- p(L, { value: n.value }, null, 8, ["value"]),
269
- l("span", null, "/" + g(e.steps), 1)
302
+ ], 8, _),
303
+ f.value ? (a(), l("div", e1, [
304
+ p(L, { value: s.value }, null, 8, ["value"]),
305
+ n("span", null, "/" + g(e.steps), 1)
270
306
  ])) : b("", !0)
271
307
  ]),
272
- u.value ? (a(), s("ol", s1, [
273
- (a(!0), s(S, null, T(e.stepTitles, (o, r) => (a(), s("li", {
274
- key: o,
308
+ f.value ? (a(), l("ol", t1, [
309
+ (a(!0), l(S, null, T(e.stepTitles, (r, o) => (a(), l("li", {
310
+ key: r,
275
311
  class: c(["rounded-xs transition-colors duration-500 focus-visible:outline-3 @max-md:hidden @max-md:body-normal @min-md:small-normal", [
276
- r === t.value ? "text-sapphire-500 @max-md:inline" : "",
277
- r < t.value ? "cursor-pointer duration-200! hover:text-sapphire-400" : ""
312
+ o === t.value ? "text-sapphire-500 @max-md:inline" : "",
313
+ o < t.value ? "cursor-pointer duration-200! hover:text-sapphire-400" : ""
278
314
  ]]),
279
- "aria-current": r === t.value ? "step" : void 0,
280
- role: r < t.value ? "button" : void 0,
281
- tabindex: r < t.value ? 0 : void 0,
282
- "aria-label": r < t.value ? `Ga naar ${o}` : void 0,
283
- onClick: (h) => r < t.value && d.$emit("update:currentStep", r),
315
+ "aria-current": o === t.value ? "step" : void 0,
316
+ role: o < t.value ? "button" : void 0,
317
+ tabindex: o < t.value ? 0 : void 0,
318
+ "aria-label": o < t.value ? `Ga naar ${r}` : void 0,
319
+ onClick: (h) => o < t.value && u.$emit("update:currentStep", o),
284
320
  onKeydown: [
285
- $((h) => r < t.value && d.$emit("update:currentStep", r), ["enter"]),
286
- $(B((h) => r < t.value && d.$emit("update:currentStep", r), ["prevent"]), ["space"])
321
+ $((h) => o < t.value && u.$emit("update:currentStep", o), ["enter"]),
322
+ $(B((h) => o < t.value && u.$emit("update:currentStep", o), ["prevent"]), ["space"])
287
323
  ]
288
- }, g(o), 43, n1))), 128))
324
+ }, g(r), 43, a1))), 128))
289
325
  ])) : b("", !0)
290
326
  ])
291
327
  ]));
292
328
  }
293
- }), o1 = {
329
+ }), n1 = {
294
330
  class: "m-0 inline-flex list-none items-start justify-start gap-0.5 p-0",
295
331
  "aria-label": "Sociale media kanalen"
296
- }, r1 = ["aria-label"], c1 = /* @__PURE__ */ m({
332
+ }, s1 = ["aria-label"], i1 = /* @__PURE__ */ m({
297
333
  name: "NexxtSocialIcons",
298
334
  __name: "SocialIcons",
299
335
  props: {
@@ -305,7 +341,7 @@ const L = /* @__PURE__ */ m({
305
341
  tiktok: { type: Boolean }
306
342
  },
307
343
  setup(e) {
308
- const t = e, n = [
344
+ const t = e, s = [
309
345
  { name: "facebook", label: "Facebook", icon: "facebook-f" },
310
346
  { name: "instagram", label: "Instagram", icon: "instagram" },
311
347
  { name: "linkedin", label: "LinkedIn", icon: "linkedin-in" },
@@ -319,28 +355,28 @@ const L = /* @__PURE__ */ m({
319
355
  x: "bg-brands-x",
320
356
  google: "bg-brands-google",
321
357
  tiktok: "bg-brands-tiktok"
322
- }, u = f(
323
- () => n.filter((d) => t[d.name])
358
+ }, f = d(
359
+ () => s.filter((u) => t[u.name])
324
360
  );
325
- return (d, v) => (a(), s("ul", o1, [
326
- (a(!0), s(S, null, T(u.value, (o) => (a(), s("li", {
327
- key: o.name,
328
- class: c(["inline-flex h-5 w-5 items-center justify-center rounded-full outline-1 outline-white", i[o.name]]),
329
- "aria-label": o.label
361
+ return (u, v) => (a(), l("ul", n1, [
362
+ (a(!0), l(S, null, T(f.value, (r) => (a(), l("li", {
363
+ key: r.name,
364
+ class: c(["inline-flex h-5 w-5 items-center justify-center rounded-full outline-1 outline-white", i[r.name]]),
365
+ "aria-label": r.label
330
366
  }, [
331
- p(x, {
332
- name: o.icon,
367
+ p(y, {
368
+ name: r.icon,
333
369
  type: "brands",
334
370
  class: "text-[10px] text-white",
335
371
  "aria-hidden": "true"
336
372
  }, null, 8, ["name"])
337
- ], 10, r1))), 128))
373
+ ], 10, s1))), 128))
338
374
  ]));
339
375
  }
340
- }), d1 = ["aria-pressed"], u1 = {
376
+ }), r1 = ["aria-pressed"], o1 = {
341
377
  key: 0,
342
378
  class: "col-start-1 row-span-2 row-start-1"
343
- }, f1 = ["srcset"], h1 = ["src"], p1 = ["muted"], m1 = ["src", "type"], v1 = { class: "flex aspect-square items-center justify-center rounded-full bg-cornflower-blue-500 px-2" }, b1 = { class: "goup-hover:opacity-0 z-20 col-start-1 row-start-2 flex items-center bg-social-media-template-info-bg px-5 pt-2.5 pb-3.5 text-white transition-all duration-300 ease-out group-hover:translate-y-full" }, g1 = { class: "heading-4" }, y1 = { class: "extra-small" }, F1 = /* @__PURE__ */ m({
379
+ }, c1 = ["srcset"], u1 = ["src"], d1 = ["muted"], f1 = ["src", "type"], h1 = { class: "flex aspect-square items-center justify-center rounded-full bg-cornflower-blue-500 px-2" }, p1 = { class: "goup-hover:opacity-0 z-20 col-start-1 row-start-2 flex items-center bg-social-media-template-info-bg px-5 pt-2.5 pb-3.5 text-white transition-all duration-300 ease-out group-hover:translate-y-full" }, m1 = { class: "heading-4" }, v1 = { class: "extra-small" }, H1 = /* @__PURE__ */ m({
344
380
  name: "NexxtSocialMediaTemplate",
345
381
  __name: "SocialMediaTemplate",
346
382
  props: {
@@ -356,44 +392,44 @@ const L = /* @__PURE__ */ m({
356
392
  },
357
393
  emits: ["click"],
358
394
  setup(e, { emit: t }) {
359
- const n = t, i = N(null), u = f(() => e.mediaType !== "video" ? void 0 : {
395
+ const s = t, i = j(null), f = d(() => e.mediaType !== "video" ? void 0 : {
360
396
  mp4: "video/mp4",
361
397
  webm: "video/webm",
362
398
  ogg: "video/ogg",
363
399
  mov: "video/quicktime",
364
400
  avi: "video/x-msvideo",
365
401
  mkv: "video/x-matroska"
366
- }[e.mediaExtension || ""] || "video/mp4"), d = f(() => e.aspectRatio ? e.aspectRatio.startsWith("aspect-") ? e.aspectRatio.replace(":", "/") : `aspect-${e.aspectRatio.replace(":", "/")}` : e.mediaType === "video" ? "aspect-9/16" : ""), v = () => {
402
+ }[e.mediaExtension || ""] || "video/mp4"), u = d(() => e.aspectRatio ? e.aspectRatio.startsWith("aspect-") ? e.aspectRatio.replace(":", "/") : `aspect-${e.aspectRatio.replace(":", "/")}` : e.mediaType === "video" ? "aspect-9/16" : ""), v = () => {
367
403
  i.value && i.value.play();
368
- }, o = () => {
404
+ }, r = () => {
369
405
  i.value && i.value.pause();
370
406
  };
371
- return (r, h) => (a(), s("div", {
407
+ return (o, h) => (a(), l("div", {
372
408
  class: c(["group grid w-64 cursor-pointer grid-cols-1 grid-rows-[1fr_auto] overflow-hidden rounded-3xl outline-1 -outline-offset-1 transition-all focus-visible:outline-2 focus-visible:outline-cornflower-blue-600", [
373
- e.variant !== "post" ? d.value : "h-80",
409
+ e.variant !== "post" ? u.value : "h-80",
374
410
  e.selected ? "outline-cornflower-blue-500" : "outline-gray-200"
375
411
  ]]),
376
412
  role: "button",
377
413
  tabindex: "0",
378
414
  "aria-pressed": e.selected,
379
415
  onMouseenter: v,
380
- onMouseleave: o,
416
+ onMouseleave: r,
381
417
  onFocus: v,
382
- onBlur: o,
383
- onClick: h[0] || (h[0] = (j) => n("click")),
418
+ onBlur: r,
419
+ onClick: h[0] || (h[0] = (N) => s("click")),
384
420
  onKeydown: [
385
- h[1] || (h[1] = $(B((j) => n("click"), ["prevent"]), ["enter"])),
386
- h[2] || (h[2] = $(B((j) => n("click"), ["prevent"]), ["space"]))
421
+ h[1] || (h[1] = $(B((N) => s("click"), ["prevent"]), ["enter"])),
422
+ h[2] || (h[2] = $(B((N) => s("click"), ["prevent"]), ["space"]))
387
423
  ]
388
424
  }, [
389
- e.mediaType === "image" ? (a(), s("picture", u1, [
390
- l("source", { srcset: e.media }, null, 8, f1),
391
- l("img", {
425
+ e.mediaType === "image" ? (a(), l("picture", o1, [
426
+ n("source", { srcset: e.media }, null, 8, c1),
427
+ n("img", {
392
428
  src: e.media,
393
429
  alt: "Media content",
394
430
  class: "h-full w-full object-cover object-center"
395
- }, null, 8, h1)
396
- ])) : (a(), s("video", {
431
+ }, null, 8, u1)
432
+ ])) : (a(), l("video", {
397
433
  key: 1,
398
434
  ref_key: "videoRef",
399
435
  ref: i,
@@ -401,63 +437,63 @@ const L = /* @__PURE__ */ m({
401
437
  loop: "true",
402
438
  class: "col-start-1 row-span-2 row-start-1 h-full w-full object-cover"
403
439
  }, [
404
- l("source", {
440
+ n("source", {
405
441
  src: e.media,
406
- type: u.value
407
- }, null, 8, m1),
442
+ type: f.value
443
+ }, null, 8, f1),
408
444
  h[3] || (h[3] = M(" Your browser does not support the video tag. ", -1))
409
- ], 8, p1)),
410
- l("div", {
445
+ ], 8, d1)),
446
+ n("div", {
411
447
  class: c(["z-10 col-start-1 row-span-2 row-start-1 flex items-center justify-center bg-cornflower-blue-200/70 transition-opacity duration-300", e.selected ? "opacity-100" : "opacity-0"])
412
448
  }, [
413
- l("div", v1, [
414
- p(x, {
449
+ n("div", h1, [
450
+ p(y, {
415
451
  name: "check",
416
452
  class: "ml-auto block shrink-0 text-3xl text-white"
417
453
  })
418
454
  ])
419
455
  ], 2),
420
- l("div", b1, [
421
- l("div", null, [
422
- l("div", g1, g(e.name), 1),
423
- l("div", y1, g(e.type), 1)
456
+ n("div", p1, [
457
+ n("div", null, [
458
+ n("div", m1, g(e.name), 1),
459
+ n("div", v1, g(e.type), 1)
424
460
  ]),
425
- p(x, {
461
+ p(y, {
426
462
  name: e.variant === "post" ? "image" : e.variant === "video" ? "play-circle" : "images",
427
463
  class: "mb-1 ml-auto block shrink-0 self-end text-lg"
428
464
  }, null, 8, ["name"])
429
465
  ])
430
- ], 42, d1));
466
+ ], 42, r1));
431
467
  }
432
- }), x1 = {
468
+ }), b1 = {
433
469
  xmlns: "http://www.w3.org/2000/svg",
434
470
  viewBox: "0 0 394.727 791.624"
435
471
  };
436
- function k1(e, t) {
437
- return a(), s("svg", x1, [...t[0] || (t[0] = [
472
+ function g1(e, t) {
473
+ return a(), l("svg", b1, [...t[0] || (t[0] = [
438
474
  z('<path fill="#090814" d="M394.727 188.12h-4.353V68.962A68.963 68.963 0 0 0 321.412 0H68.963A68.963 68.963 0 0 0 0 68.962v653.7a68.963 68.963 0 0 0 68.962 68.962h252.45a68.963 68.963 0 0 0 68.963-68.963V272.937h4.352Z"></path><path fill="#fff" d="M324.203 17.943h-32.952a24.468 24.468 0 0 1-22.654 33.71H123.965a24.468 24.468 0 0 1-22.655-33.71H70.533a51.5 51.5 0 0 0-51.5 51.5v652.746a51.5 51.5 0 0 0 51.5 51.5h253.66a51.5 51.5 0 0 0 51.5-51.5V69.445a51.5 51.5 0 0 0-51.491-51.5Z"></path><path fill="#f2f2f2" d="M188.368 428.147c0 61.894-36.795 83.5-82.184 83.5S24 490.036 24 428.147s82.184-140.633 82.184-140.633 82.184 78.739 82.184 140.633"></path><path fill="#e6e6e6" d="m103.192 502.185.842-51.8 35.028-64.084-34.9 55.958.378-23.292 24.142-46.364-24.042 40.2.681-41.891 25.85-36.911-25.739 30.326.425-76.812-2.673 101.686.22-4.2-26.284-40.227 25.862 48.284-2.449 46.784-.073-1.242-30.299-42.334 30.208 46.724-.306 5.85-.055.088.025.481-6.213 118.7h8.3l1-61.309 30.134-46.609Z"></path><path fill="#f2f2f2" d="M370.006 394.663c0 76.7-45.6 103.476-101.845 103.476s-101.845-26.781-101.845-103.476S268.16 220.385 268.16 220.385s101.846 97.576 101.846 174.278"></path><path fill="#e6e6e6" d="m264.454 486.413 1.043-64.193 43.408-79.415-43.249 69.346.468-28.864 29.917-57.456-29.793 49.817.844-51.913 32.034-45.742-31.9 37.581.527-95.188-3.309 126.013.273-5.2-32.572-49.855 32.049 59.835-3.035 57.977-.09-1.539-37.548-52.463 37.435 57.9-.379 7.25-.068.109.031.6-7.7 147.1h10.286l1.239-75.976 37.343-57.76Z"></path><g transform="translate(-737.609 -43.85)"><circle cx="20.597" cy="20.597" r="20.597" fill="#2f2e41" transform="translate(914.156 243.577)"></circle><path fill="#ed9da0" d="m1008.156 198.66 6.881-5.771a8.133 8.133 0 0 0 .607-11.9 8.133 8.133 0 0 0-13.407 2.7l-3.284 8.393-26.293 45.137-13.366 36.592 10.737 12.928 14.461-44.7ZM861.789 198.66l-6.881-5.771a8.133 8.133 0 0 1-.607-11.9 8.133 8.133 0 0 1 13.407 2.7l3.284 8.393 26.293 45.137 14.68 37.03-12.051 12.489-14.461-44.7Z"></path><circle cx="10.517" cy="10.517" r="10.517" fill="#090814" transform="translate(925.113 233.06)"></circle><path fill="#ed9da0" d="m936.505 572.683-9.422-.657.438-128.4 23.226 5.7Z"></path><path fill="#090814" d="M925.938 604.606a9.16 9.16 0 0 1-8.443-6.134c-2.049-6.021-.99-11.749 2.578-17.242l-1.166-8.161a9.08 9.08 0 0 1 2.137-7.241l6.041-6.947v8.764c4.422-3.867 7.148-4.007 10.956-.876l-3.511 17.966.856 9.844a9.23 9.23 0 0 1-9.453 10.027Z"></path><path fill="#ed9da0" d="m951.624 312.159-36.811-.876c5.216-5.07 12.686-24.512 11.394-30.237h17.967c-2.156 5.892 2.018 25.907 7.45 31.113"></path><path fill="#f59e0b" d="m961.264 379.646-50.834-14.9 1.753-21.911-4.381-22.344c.447-2.425-11.123-32.374-10.517-34.62 2.42-8.972 8.759-7.732 13.366-14.242.748-1.057 6.586 6.377 10.362 11.4.448.774.756 1.3.968 1.655a13.1 13.1 0 0 1 1.763 7.961v.048c-2.069 7.161 2.684 4.225 10.137 4.349 6.323.105 12.051 5.115 12.051-1.208q-.016-.539-.043-1.118a17.64 17.64 0 0 1 2.22-9.273 39 39 0 0 1 2.016-3.5c4.277-6.047 10.166-14.083 10.487-12.944 1.351 4.795 8.3 8.823 10.737 17.31.375 1.306-1.883 9.235-1.753 10.517.976 9.611-.876 14.9-1.753 22.349a188.8 188.8 0 0 0-6.579 60.471"></path><path fill="#090814" d="m954.254 454.58-28.923-8.764-.438-26.293-22.788-43.822 8.764-14.461 49.957 13.147c3.41 21.843-.347 49.942-6.572 80.193"></path><path fill="#2f2e41" d="M940.669 419.524h-15.777l-29.36-41.193 10.517-8.765Z"></path><path fill="#090814" d="M948.119 419.086h-26.214a31.05 31.05 0 0 1-17.447-5.332 27.71 27.71 0 0 1-8.926-35.423l52.587 2.629Z"></path><path fill="#ed9da0" d="m925.182 389.548-23.077-.7q-.13-.329-.246-.66c-3.069-8.741 1.546-18.243 10.085-21.836.86-.362 1.733-.7 2.625-1a13.784 13.784 0 0 1 18.326 12.774 35 35 0 0 1-.327 5.25 7.216 7.216 0 0 1-7.383 6.172Z"></path><path fill="#ed9da0" d="M912.622 459.839h-9.2l-1.315-74.5 25.856-.438Z"></path><path fill="#090814" d="M902.273 492.576a9.16 9.16 0 0 1-8.443-6.134c-2.049-6.021-.99-11.749 2.578-17.242l-1.166-8.161a9.08 9.08 0 0 1 2.137-7.241l6.041-6.947v8.764c4.422-3.867 7.148-4.007 10.956-.876l-3.506 17.967.856 9.844a9.23 9.23 0 0 1-9.453 10.027Z"></path><circle cx="17.967" cy="17.967" r="17.967" fill="#ed9da0" transform="translate(917.443 251.685)"></circle><path fill="#090814" d="M951.186 261.763c0 9.2-8.332-3.944-17.529-3.944s-15.776 13.141-15.776 3.944a16.652 16.652 0 0 1 33.3 0Z"></path></g><path fill="none" stroke="#090814" stroke-linecap="round" stroke-width="5" d="M65.5 141.199h288"></path><path fill="#f2f2f2" d="M375.246 571.411H19.367v-3.3H375.41Z"></path><path fill="#f59e0b" d="M140 72.699h48a8 8 0 0 1 0 16h-48a8 8 0 0 1 0-16"></path><path fill="#e6e6e6" d="M208 72.699h48a8 8 0 0 1 0 16h-48a8 8 0 0 1 0-16"></path><path fill="#090814" d="M57 626.699h98a8 8 0 0 1 0 16H57a8 8 0 0 1 0-16"></path><path fill="#f59e0b" d="M183 626.699a8 8 0 1 1-8 8 8 8 0 0 1 8-8"></path><path fill="#e6e6e6" d="M57 650.699h208a8 8 0 0 1 0 16H57a8 8 0 0 1 0-16M57 674.699h208a8 8 0 0 1 0 16H57a8 8 0 0 1 0-16"></path><path fill="#090814" d="M62.494 775.195a51.68 51.68 0 0 1-44.131-44.029v-10.971h358.049v8.514a51.65 51.65 0 0 1-44.406 46.486Z"></path><path fill="#f59e0b" d="M65.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#3f3d56" d="M130.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M196.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M326.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M261.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#f59e0b" d="M328.5 666.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#e6e6e6" d="M328.5 625.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M328.5 584.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#f59e0b" d="M329 409.699a24 24 0 1 1-24 24 24 24 0 0 1 24-24"></path><path fill="#fe6583" d="M329 445.699a12 12 0 1 1-12 12 12 12 0 0 1 12-12"></path><path fill="#f2f2f2" d="M328.093 462.887c-.454-1.085 0-4.34 0-4.34s-3.207.427-4.275 0-1.069-1.281 0-1.708 4.275 0 4.275 0-.454-3.247 0-4.329 1.362-1.082 1.815 0 0 4.329 0 4.329 3.207-.427 4.275 0 1.069 1.281 0 1.708-4.275 0-4.275 0 .454 3.255 0 4.34-1.361 1.085-1.815 0"></path>', 22)
439
475
  ])]);
440
476
  }
441
- const w1 = { render: k1 }, M1 = {
477
+ const x1 = { render: g1 }, y1 = {
442
478
  xmlns: "http://www.w3.org/2000/svg",
443
479
  viewBox: "0 0 716.872 800.535"
444
480
  };
445
- function $1(e, t) {
446
- return a(), s("svg", M1, [...t[0] || (t[0] = [
481
+ function k1(e, t) {
482
+ return a(), l("svg", y1, [...t[0] || (t[0] = [
447
483
  z('<path fill="#ed9da0" d="M118.9 79.849a68.781 68.781 0 1 1 89.387 65.637l-13.3 87.874-67.779-56.487s14.643-18.652 22.5-39.683a68.7 68.7 0 0 1-30.8-57.341ZM14.072 592.752l17.049-120.7 36.779 24.27L43.968 598.63c4.422 6.371 6.331 15.182 4.537 24.3-3.138 15.961-16.39 26.794-29.6 24.2S-2.467 629.49.671 613.529c1.794-9.122 6.9-16.554 13.4-20.777Z"></path><path fill="#e09093" d="m351.03 583.309-17.049-120.7-36.782 24.273 23.935 102.3c-4.422 6.371-6.331 15.182-4.537 24.3 3.138 15.961 16.39 26.794 29.6 24.2s21.373-17.641 18.235-33.6c-1.794-9.122-6.9-16.554-13.4-20.777Z"></path><path fill="#e6e6e6" d="m207.009 161.502-80.27 11.8v21.407s-68.466-11.963-77.909 47.059v146.379L15.779 534.519l42.5 9.443 53.12-155.819 20.4 19.319h106.24l25.47-19.315 33.212 132.21L346.3 501.47l-25.691-122.766s11.529-153.458-42.772-177.067-54.3-16.526-54.3-16.526z"></path><path fill="#090814" d="m131.462 407.035-9.444 25.97S51.192 501.47 65.357 678.537l231.367-7.083s33.052-188.871-44.857-243.171l-14.184-21.248zM96.816 170.219s3.212 24.368 32.969 25.164L190.148 197S139.121 72.815 160.102 86.805s76.934-44.661 76.934-44.661l16.509 30.963s39.442-14.283-4.27-49.258c0 0-52.155-40.322-107.524-16.109S96.816 170.219 96.816 170.219"></path><path fill="#fff" d="m535.34 799.472-329.553-90.5a14.737 14.737 0 0 1-10.3-18.093L357.866 99.601a14.737 14.737 0 0 1 18.093-10.3l329.554 90.5a14.737 14.737 0 0 1 10.3 18.093l-162.38 591.281a14.737 14.737 0 0 1-18.093 10.3Z"></path><path fill="none" stroke="#2f2e41" stroke-miterlimit="10" d="m535.34 799.472-329.553-90.5a14.737 14.737 0 0 1-10.3-18.093L357.866 99.601a14.737 14.737 0 0 1 18.093-10.3l329.554 90.5a14.737 14.737 0 0 1 10.3 18.093l-162.38 591.281a14.737 14.737 0 0 1-18.093 10.3Z"></path><path fill="#6899FC" d="m561.191 577.54-270.7-74.339a16.654 16.654 0 0 1-11.637-20.446l61.655-224.509a16.654 16.654 0 0 1 20.447-11.635l270.7 74.339a16.65 16.65 0 0 1 11.634 20.445l-61.654 224.51a16.65 16.65 0 0 1-20.445 11.635"></path><path fill="#d6d6e3" d="m441.72 224.644-73.547-20.2a7.11 7.11 0 0 1-4.968-8.728l4.695-17.1a7.11 7.11 0 0 1 8.729-4.968l73.547 20.196a7.11 7.11 0 0 1 4.965 8.728l-4.695 17.1a7.11 7.11 0 0 1-8.726 4.967ZM446.594 170.792l-65.375-17.953a6.02 6.02 0 0 1-4.208-7.394l3.86-14.056a6.02 6.02 0 0 1 7.394-4.209l65.375 17.953a6.02 6.02 0 0 1 4.207 7.4l-3.86 14.056a6.02 6.02 0 0 1-7.394 4.208ZM546.922 253.529l-73.547-20.2a7.11 7.11 0 0 1-4.968-8.728l4.695-17.1a7.11 7.11 0 0 1 8.729-4.968l73.547 20.2a7.11 7.11 0 0 1 4.965 8.728l-4.695 17.1a7.11 7.11 0 0 1-8.726 4.967ZM652.124 282.42l-73.547-20.2a7.11 7.11 0 0 1-4.968-8.728l4.695-17.1a7.11 7.11 0 0 1 8.729-4.968l73.547 20.2a7.11 7.11 0 0 1 4.965 8.728l-4.695 17.101a7.11 7.11 0 0 1-8.726 4.967"></path><path fill="#6899FC" d="M275.576 590.166a22.618 22.618 0 1 1 27.8-15.821 22.644 22.644 0 0 1-27.8 15.821"></path><path fill="#d6d6e3" d="m461.072 678.359-207.838-57.077a10.644 10.644 0 1 1 5.637-20.527l207.839 57.076a10.644 10.644 0 1 1-5.637 20.527ZM452.138 715.914 244.299 658.84a10.644 10.644 0 1 1 5.638-20.526l207.838 57.077a10.644 10.644 0 1 1-5.637 20.527ZM367.509 732.687l-132.144-36.289a10.644 10.644 0 1 1 5.637-20.527l132.142 36.289a10.644 10.644 0 1 1-5.637 20.527Z"></path>', 10)
448
484
  ])]);
449
485
  }
450
- const B1 = { render: $1 }, S1 = {
486
+ const w1 = { render: k1 }, M1 = {
451
487
  xmlns: "http://www.w3.org/2000/svg",
452
488
  fill: "none",
453
489
  viewBox: "0 0 117 182"
454
490
  };
455
- function T1(e, t) {
456
- return a(), s("svg", S1, [...t[0] || (t[0] = [
491
+ function $1(e, t) {
492
+ return a(), l("svg", M1, [...t[0] || (t[0] = [
457
493
  z('<g clip-path="url(#a)"><path fill="#3F3D56" d="M42.451 0h56.677a16.75 16.75 0 0 1 11.852 4.94 16.9 16.9 0 0 1 4.918 11.91v5.148a.775.775 0 0 1 .907.413c.053.11.079.23.078.35v3.959a.792.792 0 0 1-.303.629.78.78 0 0 1-.682.134v5.993a.775.775 0 0 1 .907.414c.053.109.079.229.078.35v9.896a.786.786 0 0 1-.628.777.8.8 0 0 1-.357-.013v3.618a.775.775 0 0 1 .907.413c.053.11.079.23.078.35v9.897a.79.79 0 0 1-.628.777.8.8 0 0 1-.357-.014v104.503a16.9 16.9 0 0 1-4.918 11.909 16.75 16.75 0 0 1-11.852 4.941H42.45a16.75 16.75 0 0 1-11.853-4.941 16.9 16.9 0 0 1-4.917-11.909V16.85a16.9 16.9 0 0 1 4.917-11.91A16.75 16.75 0 0 1 42.451 0M29.227 164.444a13.34 13.34 0 0 0 3.878 9.391 13.2 13.2 0 0 0 9.346 3.896h56.677a13.2 13.2 0 0 0 9.346-3.896 13.33 13.33 0 0 0 3.877-9.391V16.85a13.33 13.33 0 0 0-3.877-9.39 13.2 13.2 0 0 0-9.346-3.897H42.45a13.2 13.2 0 0 0-9.346 3.896 13.33 13.33 0 0 0-3.877 9.391z"></path><path fill="#E6E6E6" d="M42.451 179.71h56.677a15.17 15.17 0 0 0 10.738-4.476 15.32 15.32 0 0 0 4.455-10.79V16.85a15.32 15.32 0 0 0-4.455-10.79 15.17 15.17 0 0 0-10.738-4.477H42.45A15.17 15.17 0 0 0 31.713 6.06a15.32 15.32 0 0 0-4.455 10.79v147.594a15.32 15.32 0 0 0 4.455 10.79 15.18 15.18 0 0 0 10.738 4.476"></path><path fill="#fff" d="M41.05 177.335h59.478a10.24 10.24 0 0 0 7.244-3.02 10.33 10.33 0 0 0 3.004-7.278V14.253a10.33 10.33 0 0 0-3.004-7.278 10.24 10.24 0 0 0-7.244-3.02h-7.757c-.448.001-.879.18-1.197.5a1.7 1.7 0 0 0-.496 1.202 5.05 5.05 0 0 1-1.467 3.554 5 5 0 0 1-3.537 1.474H56.292a5 5 0 0 1-3.536-1.474 5.05 5.05 0 0 1-1.467-3.554c0-.45-.18-.883-.497-1.202a1.7 1.7 0 0 0-1.197-.5h-8.544a10.23 10.23 0 0 0-7.244 3.02 10.33 10.33 0 0 0-3.005 7.278v152.784a10.33 10.33 0 0 0 3.005 7.278 10.23 10.23 0 0 0 7.244 3.02"></path><path fill="#fff" d="M68.229 7.422h7.09a.786.786 0 0 0 .789-.792.794.794 0 0 0-.788-.791h-7.091a.786.786 0 0 0-.788.791.794.794 0 0 0 .788.792M63.304 7.224a.395.395 0 1 1 .002-.79.395.395 0 0 1-.002.79"></path><path fill="#E6E6E6" d="M28.887 34.882h83.883v.902H28.887zM28.887 52.924h83.883v.902H28.887zM28.887 90.212h83.883v.902H28.887zM28.887 127.499h83.883v.902H28.887zM28.887 156.668h83.883v.902H28.887z"></path><path fill="#E6E6E6" d="M51.852 35.333h.898v55.33h-.898zM93.845 90.647h.898v66.471h-.898z"></path><path fill="#E6E6E6" d="M30.803 108.88h63.49v.902h-63.49zM51.756 157.118h.898v20.216h-.898zM52.45 71.937h58.475v.902H52.451zM98.713 3.388l.828.348-13.232 31.77-.828-.348zM57.96 10.688h.898v24.645h-.898z"></path><path fill="#6899FC" d="M34.81 49.015c0 8.083 12.436 26.918 16.072 32.25a1.2 1.2 0 0 0 .985.522 1.19 1.19 0 0 0 .986-.522c3.635-5.332 16.073-24.167 16.073-32.25 0-4.546-1.798-8.906-4.997-12.12a17.02 17.02 0 0 0-12.062-5.02 17.02 17.02 0 0 0-12.062 5.02 17.18 17.18 0 0 0-4.997 12.12z"></path><path fill="#fff" d="M51.868 56.533c-4.794 0-8.68-3.905-8.68-8.72 0-4.817 3.886-8.721 8.68-8.721s8.679 3.904 8.679 8.72-3.886 8.72-8.68 8.72"></path><path fill="#E6E6E6" d="m52.436 90.922 32.868 65.984-.803.404-32.868-65.985z"></path><path fill="#6899FC" d="M51.868 94.421c-2.149 0-3.89-1.75-3.89-3.909s1.741-3.909 3.89-3.909 3.89 1.75 3.89 3.91c0 2.158-1.742 3.908-3.89 3.908"></path><path fill="#F2F2F2" d="M10.029 56.794c-.723 0-1.31-.589-1.31-1.315 0-.727.587-1.316 1.31-1.316s1.309.59 1.309 1.316-.586 1.315-1.31 1.315"></path><path fill="#6899FC" d="m17.66 66.868 4.816.188-.24 6.22-4.816-.187z"></path><path fill="#FFB9B9" d="M39.383 88.656s6.67-3.202 6.562-.437-6.722 4.584-6.722 4.584z"></path><path fill="#090814" d="M35.724 112.05s3.146 7.738 4.309 13.321c1.162 5.583 2.932 13.267.655 18.717s-8.751 21.465-8.818 23.193.554 3.484-.822 3.43-8.863-2.423-9.167-3.473 2.555-3.708 2.555-3.708l7.06-22.224-7.365-14.478-5.312 21.599-1.04 26.958s-5.106-1.584-5.847-.228c0 0-2.288-3.204-2.579-4.6-.29-1.396 1.08-27.995 1.08-27.995s-4.686-30.296-.903-30.149c3.784.148 18.603-8.966 26.194-.363"></path><path fill="#090814" d="M31.103 169.328s3.49 7.75 3.82 8.11c.331.36 2.605 3.909.886 3.842-1.72-.067-5.781-1.956-8.77-4.841-2.99-2.886-6.93-7.885-6.573-8.218.357-.332 2.805-1.275 2.805-1.275zM17.157 173.631s.21 3.469.845 4.878.555 3.484-1.165 3.416c-1.72-.067-6.165-.932-6.165-.932s-.264-2.087.094-2.419c.357-.333 1.88-4.081 1.232-5.144-.648-1.064 5.16.201 5.16.201"></path><path fill="#FFB9B9" d="M14.613 61.038s-3.667 5.741-5.096 7.07 2.592 4.255 2.592 4.255l7.196.972s-.09-6.58.28-7.257c.371-.678-4.972-5.04-4.972-5.04"></path><path fill="#6899FC" d="M20.868 68.55s-1.483 2.712-2.858 2.658c-1.376-.053-8.494-3.1-8.797-4.15s-2.357 7.523-2.357 7.523l17.414 30.792 4.247-2.95-2.058-18.079-1.69-9.757z"></path><path fill="#D6D6E3" d="M8.571 96.108c.695 1.46 1.128 2.983 1.068 4.541a4 4 0 0 1-.011.208c-.165 3.198-1.338 6.898-1.758 9.588-.306 1.93-.219 3.339.905 3.67 2.725.798-.397 1.369 10.146 4.895s12.383.482 12.41-.209c.026-.691-1.494-5.943-1.136-6.274.357-.332 5 4.348 6.402 3.71s.16-4.147.16-4.147-3.16-7.392-3.093-9.12-4.787-9.878-4.787-9.878l-3.3-21.59s-1.27-2.818-2.976-3.23c-1.707-.413-3.123.57-3.123.57l2.856 6.342 3.013 11.195-.504 4.134s-3.503-7.406-5.804-10.264c-2.302-2.86-7.208-9.627-7.208-9.627s-1.145-3.883-.281-5.044c.864-1.163-3.607-1.338-5.514 3.434-1.01 2.529-2.65 6.3-3.678 9.811-.916 3.111-1.349 6.019-.441 7.681 1.387 2.539 4.876 5.876 6.654 9.604"></path><path fill="#000" d="M1.918 86.503c1.386 2.54 4.875 5.878 6.653 9.605.464-1.681 1.031-3.421 1.031-3.421s2.173-11.684-4.255-14.703a4.3 4.3 0 0 0-2.988.838c-.916 3.111-1.349 6.02-.441 7.681" opacity=".1"></path><path fill="#D6D6E3" d="m27.438 85.767 5.45 1.597 7.567.295.779 6.606-12.437.9s-3.105-8.774-1.36-9.398"></path><path fill="#FFB9B9" d="M18.55 107.981s7.292 1.216 5.628 3.421c-1.665 2.204-8.124-.114-8.124-.114z"></path><path fill="#000" d="M9.628 100.856c-.165 3.199-1.338 6.898-1.759 9.588 2.323 2.209 4.532 4.159 5.364 4.19 1.72.067 4.485-.171 5.503.214 1.019.386 1.616-6.167 1.616-6.167s-.608-2.101-3.32-3.244c-1.83-.774-5.338-2.873-7.404-4.581" opacity=".1"></path><path fill="#D6D6E3" d="M5.427 75.91s-5.821-.92-5.507 8.785-.613 15.898 1.728 17.721c2.34 1.823 9.945 10.08 11.665 10.146s4.485-.171 5.504.215c1.018.385 1.615-6.168 1.615-6.168s-.608-2.1-3.32-3.244c-2.71-1.143-9.1-5.2-9.046-6.583.053-1.382 1.616-6.167 1.616-6.167S11.855 78.93 5.427 75.91"></path><path fill="#FFB9B9" d="M19.746 69.54c-4.183 0-7.573-3.407-7.573-7.61 0-4.202 3.39-7.609 7.573-7.609s7.573 3.407 7.573 7.61c0 4.202-3.39 7.608-7.573 7.608"></path><path fill="#090814" d="M24.845 51.024c.183.158.401.268.637.32a.454.454 0 0 0 .526-.366c.173.361.368.746.723.931.354.186.9.03.951-.367.052.301.185.583.385.815.22.21.617.263.809.027-.155.85-.06 1.725-.108 2.589-.05.863-.278 1.779-.927 2.346-.947.828-2.37.624-3.616.467a1.1 1.1 0 0 0-.567.031c-.466.2-.445.852-.451 1.361a3.8 3.8 0 0 1-.994 2.403 3.76 3.76 0 0 1-2.302 1.19 1.88 1.88 0 0 1-1.403-.345c-.353-.3-.534-.792-.94-1.018-.658-.368-1.458.169-1.94.752-.481.583-.956 1.3-1.703 1.406-.987.141-1.74-.87-2.108-1.801a10.54 10.54 0 0 1 .207-8.157c2.062-4.516 9.104-5.23 12.82-2.584"></path></g><defs><clipPath id="a"><path fill="#fff" d="M117 0H0v182h117z"></path></clipPath></defs>', 2)
458
494
  ])]);
459
495
  }
460
- const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-stretch px-4" }, N1 = { class: "flex justify-center self-stretch py-14" }, Z1 = { class: "flex w-full justify-center self-stretch text-center" }, H1 = { class: "relative block max-w-full text-center body-semibold text-ellipsis text-white" }, I1 = /* @__PURE__ */ m({
496
+ const B1 = { render: $1 }, S1 = { class: "flex items-center justify-end self-stretch px-4" }, T1 = { class: "flex justify-center self-stretch py-14" }, z1 = { class: "flex w-full justify-center self-stretch text-center" }, N1 = { class: "relative block max-w-full text-center body-semibold text-ellipsis text-white" }, E1 = /* @__PURE__ */ m({
461
497
  name: "NexxtSocialMediaType",
462
498
  __name: "SocialMediaType",
463
499
  props: {
@@ -469,18 +505,18 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
469
505
  },
470
506
  emits: ["click"],
471
507
  setup(e, { emit: t }) {
472
- const n = t, i = {
508
+ const s = t, i = {
473
509
  post: "Post",
474
510
  reel: "TikTok & Reel",
475
511
  story: "Story"
476
- }, u = f(() => ({
477
- post: B1,
478
- reel: w1,
479
- story: z1
480
- })[e.variant]), d = f(() => {
512
+ }, f = d(() => ({
513
+ post: w1,
514
+ reel: x1,
515
+ story: B1
516
+ })[e.variant]), u = d(() => {
481
517
  if (e.icons)
482
- return e.icons.map((o) => o === "twitter" ? "x" : o).reduce(
483
- (o, r) => (o[r] = !0, o),
518
+ return e.icons.map((r) => r === "twitter" ? "x" : r).reduce(
519
+ (r, o) => (r[o] = !0, r),
484
520
  {}
485
521
  );
486
522
  switch (e.variant) {
@@ -505,35 +541,35 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
505
541
  return {};
506
542
  }
507
543
  });
508
- return (v, o) => (a(), s("button", {
544
+ return (v, r) => (a(), l("button", {
509
545
  type: "button",
510
546
  class: c(["group inline-flex min-w-60 cursor-pointer flex-col items-start justify-start gap-2.5 overflow-hidden rounded-3xl pt-4 outline-1 -outline-offset-1 transition-colors hover:outline-cornflower-blue-600 focus-visible:outline-2 focus-visible:outline-cornflower-blue-600", e.selected ? "bg-gray-50 outline-cornflower-blue-500" : "bg-white outline-gray-200"]),
511
- onClick: o[0] || (o[0] = (r) => n("click"))
547
+ onClick: r[0] || (r[0] = (o) => s("click"))
512
548
  }, [
513
- l("div", j1, [
549
+ n("div", S1, [
514
550
  e.chip ? (a(), k(K, {
515
551
  key: 0,
516
552
  variant: "warning"
517
553
  }, {
518
- default: y(() => [
554
+ default: x(() => [
519
555
  M(g(e.chip), 1)
520
556
  ]),
521
557
  _: 1
522
558
  })) : b("", !0),
523
- p(c1, I({ class: "ml-auto" }, d.value, { "aria-hidden": "true" }), null, 16)
559
+ p(i1, I({ class: "ml-auto" }, u.value, { "aria-hidden": "true" }), null, 16)
524
560
  ]),
525
- l("div", N1, [
526
- (a(), k(V(u.value), {
561
+ n("div", T1, [
562
+ (a(), k(V(f.value), {
527
563
  class: "h-44 object-contain transition-transform group-hover:-translate-y-0.5",
528
564
  "aria-hidden": "true"
529
565
  }))
530
566
  ]),
531
- l("div", {
567
+ n("div", {
532
568
  class: c(["inline-flex w-full flex-col items-center justify-center gap-2.5 bg-cornflower-blue-500 py-3.5 transition-colors group-hover:bg-cornflower-blue-600", e.selected ? "bg-cornflower-blue-600" : "bg-cornflower-blue-500"])
533
569
  }, [
534
- l("div", Z1, [
535
- l("span", H1, [
536
- e.selected ? (a(), k(x, {
570
+ n("div", z1, [
571
+ n("span", N1, [
572
+ e.selected ? (a(), k(y, {
537
573
  key: 0,
538
574
  name: "check",
539
575
  type: "solid",
@@ -546,7 +582,7 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
546
582
  ], 2)
547
583
  ], 2));
548
584
  }
549
- }), V1 = /* @__PURE__ */ m({
585
+ }), C1 = /* @__PURE__ */ m({
550
586
  name: "NexxtStepperHeader",
551
587
  __name: "StepperHeader",
552
588
  props: {
@@ -558,27 +594,27 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
558
594
  },
559
595
  emits: ["update:currentStep"],
560
596
  setup(e) {
561
- return (t, n) => (a(), k(X, {
597
+ return (t, s) => (a(), k(X, {
562
598
  title: e.title,
563
599
  "back-button-action": e.backButtonAction,
564
600
  "back-button-text": e.backButtonText
565
601
  }, A({ _: 2 }, [
566
602
  e.steps ? {
567
603
  name: "center",
568
- fn: y(() => [
569
- p(i1, {
604
+ fn: x(() => [
605
+ p(l1, {
570
606
  class: "w-full",
571
607
  steps: e.steps.length,
572
608
  "step-titles": e.steps,
573
609
  "current-step": e.currentStep,
574
- "onUpdate:currentStep": n[0] || (n[0] = (i) => t.$emit("update:currentStep", i))
610
+ "onUpdate:currentStep": s[0] || (s[0] = (i) => t.$emit("update:currentStep", i))
575
611
  }, null, 8, ["steps", "step-titles", "current-step"])
576
612
  ]),
577
613
  key: "0"
578
614
  } : void 0,
579
615
  t.$slots.default ? {
580
616
  name: "right",
581
- fn: y(() => [
617
+ fn: x(() => [
582
618
  w(t.$slots, "default")
583
619
  ]),
584
620
  key: "1"
@@ -591,11 +627,11 @@ export {
591
627
  D as NexxtButton,
592
628
  K as NexxtChip,
593
629
  X as NexxtHeader,
594
- x as NexxtIcon,
595
- C1 as NexxtInfoBlock,
596
- i1 as NexxtProgressBar,
597
- c1 as NexxtSocialIcons,
598
- F1 as NexxtSocialMediaTemplate,
599
- I1 as NexxtSocialMediaType,
600
- V1 as NexxtStepperHeader
630
+ y as NexxtIcon,
631
+ Z1 as NexxtInfoBlock,
632
+ l1 as NexxtProgressBar,
633
+ i1 as NexxtSocialIcons,
634
+ H1 as NexxtSocialMediaTemplate,
635
+ E1 as NexxtSocialMediaType,
636
+ C1 as NexxtStepperHeader
601
637
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexxtmove/ui",
3
3
  "type": "module",
4
- "version": "0.1.19",
4
+ "version": "0.1.20",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -23,11 +23,11 @@
23
23
  "devDependencies": {
24
24
  "@awesome.me/kit-37b149f3ef": "^1.0.4",
25
25
  "@eslint/js": "^9.39.2",
26
- "@storybook/addon-a11y": "^10.2.8",
27
- "@storybook/addon-docs": "^10.2.8",
28
- "@storybook/addon-vitest": "^10.2.8",
29
- "@storybook/builder-vite": "^10.2.8",
30
- "@storybook/vue3-vite": "^10.2.8",
26
+ "@storybook/addon-a11y": "^10.2.13",
27
+ "@storybook/addon-docs": "^10.2.13",
28
+ "@storybook/addon-vitest": "^10.2.13",
29
+ "@storybook/builder-vite": "^10.2.13",
30
+ "@storybook/vue3-vite": "^10.2.13",
31
31
  "@tailwindcss/vite": "^4.1.18",
32
32
  "@types/node": "^25.0.3",
33
33
  "@types/react": "^19.2.8",
@@ -41,7 +41,7 @@
41
41
  "eslint": "^9.39.2",
42
42
  "eslint-config-prettier": "^10.1.8",
43
43
  "eslint-plugin-prettier": "^5.5.5",
44
- "eslint-plugin-storybook": "10.2.8",
44
+ "eslint-plugin-storybook": "10.2.13",
45
45
  "eslint-plugin-vue": "^10.6.2",
46
46
  "globals": "^17.0.0",
47
47
  "jsdom": "^27.4.0",
@@ -50,7 +50,7 @@
50
50
  "react": "^19.2.3",
51
51
  "react-dom": "^19.2.3",
52
52
  "remark-frontmatter": "^5.0.0",
53
- "storybook": "^10.2.8",
53
+ "storybook": "^10.2.13",
54
54
  "typescript-eslint": "^8.52.0",
55
55
  "vite": "^7.3.0",
56
56
  "vite-plugin-dts": "^4.5.4",