welcome-ui 10.1.0 → 10.1.2

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.
@@ -1154,5 +1154,6 @@ const Pr = H(V), Nr = 8, Er = P(
1154
1154
  });
1155
1155
  export {
1156
1156
  Ar as DropdownMenu,
1157
- ye as useDropdownMenu
1157
+ ye as useDropdownMenu,
1158
+ A as useStoreState
1158
1159
  };
package/dist/Icon.js CHANGED
@@ -3,7 +3,7 @@ import './Icon.css';
3
3
  import { jsxs as o, jsx as a } from "react/jsx-runtime";
4
4
  import { forwardRef as C } from "react";
5
5
  import { c as e } from "./index-PAaZGbyz.js";
6
- const s = "_root_576cf_2", A = {
6
+ const s = "_root_576cf_2", m = {
7
7
  root: s,
8
8
  "size-xs": "_size-xs_576cf_7",
9
9
  "size-sm": "_size-sm_576cf_10",
@@ -172,6 +172,7 @@ const s = "_root_576cf_2", A = {
172
172
  /* @__PURE__ */ a("symbol", { id: "check-circle", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M14.72,8.79l-4.29,4.3L8.78,11.44a1,1,0,1,0-1.41,1.41l2.35,2.36a1,1,0,0,0,.71.29,1,1,0,0,0,.7-.29l5-5a1,1,0,0,0,0-1.42A1,1,0,0,0,14.72,8.79ZM12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", xmlns: "http://www.w3.org/2000/svg" }) }),
173
173
  /* @__PURE__ */ a("symbol", { id: "plug", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M19,6H16V3a1,1,0,0,0-2,0V6H10V3A1,1,0,0,0,8,3V6H5A1,1,0,0,0,5,8H6v5a1,1,0,0,0,.29.71L9,16.41V21a1,1,0,0,0,2,0V17h2v4a1,1,0,0,0,2,0V16.41l2.71-2.7A1,1,0,0,0,18,13V8h1a1,1,0,0,0,0-2Zm-3,6.59L13.59,15H10.41L8,12.59V8h8ZM11,13h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
174
174
  /* @__PURE__ */ a("symbol", { id: "play", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.54,9,8.88,3.46a3.42,3.42,0,0,0-5.13,3V17.58A3.42,3.42,0,0,0,7.17,21a3.43,3.43,0,0,0,1.71-.46L18.54,15a3.42,3.42,0,0,0,0-5.92Zm-1,4.19L7.88,18.81a1.44,1.44,0,0,1-1.42,0,1.42,1.42,0,0,1-.71-1.23V6.42a1.42,1.42,0,0,1,.71-1.23A1.51,1.51,0,0,1,7.17,5a1.54,1.54,0,0,1,.71.19l9.66,5.58a1.42,1.42,0,0,1,0,2.46Z", xmlns: "http://www.w3.org/2000/svg" }) }),
175
+ /* @__PURE__ */ a("symbol", { id: "play-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.54,9,8.88,3.46a3.42,3.42,0,0,0-5.13,3V17.58A3.42,3.42,0,0,0,7.17,21a3.43,3.43,0,0,0,1.71-.46L18.54,15a3.42,3.42,0,0,0,0-5.92Zm-1,4.19L7.88,18.81a1.44,1.44,0,0,1-1.42,0,1.42,1.42,0,0,1-.71-1.23V6.42a1.42,1.42,0,0,1,.71-1.23A1.51,1.51,0,0,1,7.17,5a1.54,1.54,0,0,1,.71.19l9.66,5.58a1.42,1.42,0,0,1,0,2.46Z", xmlns: "http://www.w3.org/2000/svg" }) }),
175
176
  /* @__PURE__ */ a("symbol", { id: "stop-circle-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M15,8H9A1,1,0,0,0,8,9v6a1,1,0,0,0,1,1h6a1,1,0,0,0,1-1V9A1,1,0,0,0,15,8Zm-1,6H10V10h4ZM12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", xmlns: "http://www.w3.org/2000/svg" }) }),
176
177
  /* @__PURE__ */ a("symbol", { id: "pause-circle-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M10,7A1,1,0,0,0,9,8v8a1,1,0,0,0,2,0V8A1,1,0,0,0,10,7Zm2-5A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20ZM14,7a1,1,0,0,0-1,1v8a1,1,0,0,0,2,0V8A1,1,0,0,0,14,7Z", xmlns: "http://www.w3.org/2000/svg" }) }),
177
178
  /* @__PURE__ */ a("symbol", { id: "previous", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { d: "M13.41 12L16.71 8.71C16.8032 8.61676 16.8772 8.50607 16.9277 8.38425C16.9781 8.26243 17.0041 8.13186 17.0041 8C17.0041 7.86814 16.9781 7.73758 16.9277 7.61575C16.8772 7.49393 16.8032 7.38324 16.71 7.29C16.6168 7.19676 16.5061 7.1228 16.3842 7.07234C16.2624 7.02188 16.1319 6.99591 16 6.99591C15.8681 6.99591 15.7376 7.02188 15.6158 7.07234C15.4939 7.1228 15.3832 7.19676 15.29 7.29L11.29 11.29C11.1963 11.383 11.1219 11.4936 11.0711 11.6154C11.0203 11.7373 10.9942 11.868 10.9942 12C10.9942 12.132 11.0203 12.2627 11.0711 12.3846C11.1219 12.5064 11.1963 12.617 11.29 12.71L15.29 16.71C15.383 16.8037 15.4936 16.8781 15.6154 16.9289C15.7373 16.9797 15.868 17.0058 16 17.0058C16.132 17.0058 16.2627 16.9797 16.3846 16.9289C16.5064 16.8781 16.617 16.8037 16.71 16.71C16.8037 16.617 16.8781 16.5064 16.9289 16.3846C16.9797 16.2627 17.0058 16.132 17.0058 16C17.0058 15.868 16.9797 15.7373 16.9289 15.6154C16.8781 15.4936 16.8037 15.383 16.71 15.29L13.41 12ZM8 7C7.73478 7 7.48043 7.10536 7.29289 7.2929C7.10536 7.48043 7 7.73479 7 8V16C7 16.2652 7.10536 16.5196 7.29289 16.7071C7.48043 16.8946 7.73478 17 8 17C8.26522 17 8.51957 16.8946 8.70711 16.7071C8.89464 16.5196 9 16.2652 9 16V8C9 7.73479 8.89464 7.48043 8.70711 7.2929C8.51957 7.10536 8.26522 7 8 7Z", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }) }),
@@ -229,13 +230,13 @@ const s = "_root_576cf_2", A = {
229
230
  /* @__PURE__ */ a("symbol", { id: "trees", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M16.5,5A4.86,4.86,0,0,0,14,5.69,6,6,0,0,0,2.5,8v4a6,6,0,0,0,5,5.91V21a1,1,0,0,0,2,0V17.91a6.08,6.08,0,0,0,2.78-1.26A5,5,0,0,0,15.5,18.9V21a1,1,0,0,0,2,0V18.9a5,5,0,0,0,4-4.9V10A5,5,0,0,0,16.5,5Zm-5,5v4a5.23,5.23,0,0,0,.06.57,4,4,0,0,1-2.06,1.3V13a1,1,0,0,0-2,0v2.86A4,4,0,0,1,4.5,12V8a4,4,0,0,1,6.83-2.84,3.94,3.94,0,0,1,1.06,2A5,5,0,0,0,11.5,10Zm8,4a3,3,0,0,1-2,2.82V13a1,1,0,0,0-2,0v3.82a3,3,0,0,1-2-2.82V10a3,3,0,0,1,6,0Z", xmlns: "http://www.w3.org/2000/svg" }) }),
230
231
  /* @__PURE__ */ a("symbol", { id: "exit", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M4,12a1,1,0,0,0,1,1h7.59l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4a1,1,0,0,0,.21-.33,1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-4-4a1,1,0,1,0-1.42,1.42L12.59,11H5A1,1,0,0,0,4,12ZM17,2H7A3,3,0,0,0,4,5V8A1,1,0,0,0,6,8V5A1,1,0,0,1,7,4H17a1,1,0,0,1,1,1V19a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V5A3,3,0,0,0,17,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
231
232
  /* @__PURE__ */ a("symbol", { id: "ban", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,0,1-8-8A7.92,7.92,0,0,1,5.69,7.1L16.9,18.31A7.92,7.92,0,0,1,12,20Zm6.31-3.1L7.1,5.69A7.92,7.92,0,0,1,12,4a8,8,0,0,1,8,8A7.92,7.92,0,0,1,18.31,16.9Z", xmlns: "http://www.w3.org/2000/svg" }) })
232
- ] }), m = e(A), n = C(
233
+ ] }), n = e(m), A = C(
233
234
  ({ "aria-label": l, className: w, name: r, size: h = "md", ...i }, t) => /* @__PURE__ */ a(
234
235
  "svg",
235
236
  {
236
237
  "aria-hidden": l ? "false" : "true",
237
238
  "aria-label": l,
238
- className: m("root", `size-${h}`, `name-${r}`, w),
239
+ className: n("root", `size-${h}`, `name-${r}`, w),
239
240
  ref: t,
240
241
  role: l ? "img" : void 0,
241
242
  ...i,
@@ -243,8 +244,8 @@ const s = "_root_576cf_2", A = {
243
244
  }
244
245
  )
245
246
  );
246
- n.displayName = "Icon";
247
+ A.displayName = "Icon";
247
248
  export {
248
- n as Icon,
249
+ A as Icon,
249
250
  v as Sprite
250
251
  };
package/dist/Tabs.js CHANGED
@@ -19,12 +19,12 @@ var re = ee(
19
19
  ), ne = re.useContext;
20
20
  C(!1);
21
21
  C(null);
22
- function ce({
22
+ function le({
23
23
  composite: e,
24
24
  combobox: s,
25
25
  ...t
26
26
  } = {}) {
27
- const c = [
27
+ const l = [
28
28
  "items",
29
29
  "renderedItems",
30
30
  "moves",
@@ -37,8 +37,8 @@ function ce({
37
37
  "focusWrap"
38
38
  ], r = K(
39
39
  t.store,
40
- S(e, c),
41
- S(s, c)
40
+ S(e, l),
41
+ S(s, l)
42
42
  ), n = r == null ? void 0 : r.getState(), d = te({
43
43
  ...t,
44
44
  store: r,
@@ -73,8 +73,8 @@ function ce({
73
73
  p(
74
74
  a,
75
75
  () => u(a, ["moves"], () => {
76
- const { activeId: o, selectOnMove: l } = a.getState();
77
- if (!l || !o) return;
76
+ const { activeId: o, selectOnMove: c } = a.getState();
77
+ if (!c || !o) return;
78
78
  const i = d.item(o);
79
79
  i && (i.dimmed || i.disabled || a.setState("selectedId", i.id));
80
80
  })
@@ -82,18 +82,18 @@ function ce({
82
82
  let m = !0;
83
83
  p(
84
84
  a,
85
- () => U(a, ["selectedId"], (o, l) => {
85
+ () => U(a, ["selectedId"], (o, c) => {
86
86
  if (!m) {
87
87
  m = !0;
88
88
  return;
89
89
  }
90
- e && o.selectedId === l.selectedId || a.setState("activeId", o.selectedId);
90
+ e && o.selectedId === c.selectedId || a.setState("activeId", o.selectedId);
91
91
  })
92
92
  ), p(
93
93
  a,
94
94
  () => u(a, ["selectedId", "renderedItems"], (o) => {
95
95
  if (o.selectedId !== void 0) return;
96
- const { activeId: l, renderedItems: i } = a.getState(), b = d.item(l);
96
+ const { activeId: c, renderedItems: i } = a.getState(), b = d.item(c);
97
97
  if (b && !b.disabled && !b.dimmed)
98
98
  a.setState("selectedId", b.id);
99
99
  else {
@@ -106,13 +106,13 @@ function ce({
106
106
  ), p(
107
107
  a,
108
108
  () => u(a, ["renderedItems"], (o) => {
109
- const l = o.renderedItems;
110
- if (l.length)
109
+ const c = o.renderedItems;
110
+ if (c.length)
111
111
  return u(f, ["renderedItems"], (i) => {
112
112
  const b = i.renderedItems;
113
113
  b.some((g) => !g.tabId) && b.forEach((g, L) => {
114
114
  if (g.tabId) return;
115
- const w = l[L];
115
+ const w = c[L];
116
116
  w && f.renderItem({ ...g, tabId: w.id });
117
117
  });
118
118
  });
@@ -122,18 +122,18 @@ function ce({
122
122
  return p(a, () => {
123
123
  const o = () => {
124
124
  v = a.getState().selectedId;
125
- }, l = () => {
125
+ }, c = () => {
126
126
  m = !1, a.setState("selectedId", v);
127
127
  };
128
128
  if (e && "setSelectElement" in e)
129
129
  return z(
130
130
  u(e, ["value"], o),
131
- u(e, ["mounted"], l)
131
+ u(e, ["mounted"], c)
132
132
  );
133
133
  if (s)
134
134
  return z(
135
135
  u(s, ["selectedValue"], o),
136
- u(s, ["mounted"], l)
136
+ u(s, ["mounted"], c)
137
137
  );
138
138
  }), {
139
139
  ...d,
@@ -145,11 +145,11 @@ function ce({
145
145
  }
146
146
  };
147
147
  }
148
- function le(e, s, t) {
148
+ function ce(e, s, t) {
149
149
  P(s, [t.composite, t.combobox]), e = oe(e, s, t), y(e, t, "selectedId", "setSelectedId"), y(e, t, "selectOnMove");
150
- const [c, r] = O(() => e.panels, {});
150
+ const [l, r] = O(() => e.panels, {});
151
151
  return P(r, [e, r]), Object.assign(
152
- W(() => ({ ...e, panels: c }), [e, c]),
152
+ W(() => ({ ...e, panels: l }), [e, l]),
153
153
  { composite: t.composite, combobox: t.combobox }
154
154
  );
155
155
  }
@@ -160,8 +160,8 @@ function Fe(e = {}) {
160
160
  composite: e.composite !== void 0 ? e.composite : t,
161
161
  combobox: e.combobox !== void 0 ? e.combobox : s
162
162
  };
163
- const [c, r] = O(ce, e);
164
- return le(c, r, e);
163
+ const [l, r] = O(le, e);
164
+ return ce(l, r, e);
165
165
  }
166
166
  const E = T.createContext(null);
167
167
  function ie() {
@@ -328,6 +328,7 @@ const de = "_root_w7nc9_2", M = {
328
328
  "plug"
329
329
  ], fe = [
330
330
  "play",
331
+ "play-solid",
331
332
  "stop-circle-solid",
332
333
  "pause-circle-solid",
333
334
  "previous",
@@ -501,7 +502,7 @@ function ye({
501
502
  icon: e,
502
503
  iconColor: s,
503
504
  isActive: t,
504
- size: c
505
+ size: l
505
506
  }) {
506
507
  if (!e) return null;
507
508
  if (typeof e != "string" || !Se(e)) return e;
@@ -525,11 +526,11 @@ function ye({
525
526
  return "";
526
527
  }
527
528
  })();
528
- return /* @__PURE__ */ h(J, { className: r, name: e, size: c });
529
+ return /* @__PURE__ */ h(J, { className: r, name: e, size: l });
529
530
  }
530
531
  const ze = N(M), j = H(
531
- ({ as: e, badge: s, children: t, className: c, icon: r, iconColor: n = "violet", id: d, store: f, ...I }, a) => {
532
- const m = ie(), { selectedId: v } = D(f), o = v === d, l = ye({
532
+ ({ as: e, badge: s, children: t, className: l, icon: r, iconColor: n = "violet", id: d, store: f, ...I }, a) => {
533
+ const m = ie(), { selectedId: v } = D(f), o = v === d, c = ye({
533
534
  icon: r,
534
535
  iconColor: n,
535
536
  isActive: o,
@@ -538,14 +539,14 @@ const ze = N(M), j = H(
538
539
  return /* @__PURE__ */ V(
539
540
  $,
540
541
  {
541
- className: ze("root", `size-${m}`, c),
542
+ className: ze("root", `size-${m}`, l),
542
543
  id: d,
543
544
  ref: a,
544
545
  render: e ? /* @__PURE__ */ h(e, {}) : void 0,
545
546
  store: f,
546
547
  ...I,
547
548
  children: [
548
- l,
549
+ c,
549
550
  t,
550
551
  s ? /* @__PURE__ */ h(G, { size: m, variant: i, children: s }) : null
551
552
  ]
@@ -557,12 +558,12 @@ j.displayName = "Tabs.Tab";
557
558
  const q = _(({ children: e, ...s }, t) => /* @__PURE__ */ h(F, { ref: t, ...s, children: e }));
558
559
  q.displayName = "Tabs.Panel";
559
560
  const Pe = N(M), B = _(
560
- ({ children: e, className: s, size: t = "lg", store: c, ...r }, n) => /* @__PURE__ */ h(
561
+ ({ children: e, className: s, size: t = "lg", store: l, ...r }, n) => /* @__PURE__ */ h(
561
562
  R,
562
563
  {
563
564
  className: Pe("tab-list", `size-${t}`, s),
564
565
  ref: n,
565
- store: c,
566
+ store: l,
566
567
  ...r,
567
568
  children: /* @__PURE__ */ h(E.Provider, { value: { size: t }, children: e })
568
569
  }
@@ -1,6 +1,6 @@
1
1
  import { DropdownMenuOptions } from './types';
2
2
  export * from './types';
3
- export { useMenuStore as useDropdownMenu } from '@ariakit/react';
3
+ export { useMenuStore as useDropdownMenu, useStoreState } from '@ariakit/react';
4
4
  export declare const DropdownMenu: import('react').ForwardRefExoticComponent<Omit<DropdownMenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
5
5
  Action: import('../../utils').FunctionComponentWithAs<"button", import('./types').ActionProps>;
6
6
  Arrow: import('react').ForwardRefExoticComponent<Omit<import('./types').ArrowProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -2,12 +2,12 @@ export declare const arrows: readonly ["angle-left-b", "angle-right-b", "angle-u
2
2
  export declare const actions: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "draggabledots", "compress-alt", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share"];
3
3
  export declare const chat: readonly ["chat", "chat-bubble-user", "comment", "comment-alt-lines"];
4
4
  export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug"];
5
- export declare const player: readonly ["play", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning"];
5
+ export declare const player: readonly ["play", "play-solid", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning"];
6
6
  export declare const wtf: readonly ["icons", "package", "basketball", "bill", "invoice", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
7
7
  export declare const foldersAndFiles: readonly ["folder", "folder-open", "folder-full", "file", "image"];
8
8
  export declare const markdown: readonly ["bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline"];
9
9
  export declare const brands: readonly ["behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", "medium"];
10
10
  export declare const welcome: readonly ["symbol", "wttj"];
11
11
  export declare const flags: readonly ["flag-fr", "flag-en", "flag-us"];
12
- export declare const icons: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "draggabledots", "compress-alt", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right", "behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", "medium", "chat", "chat-bubble-user", "comment", "comment-alt-lines", "folder", "folder-open", "folder-full", "file", "image", "flag-fr", "flag-en", "flag-us", "bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline", "music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "play", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning", "symbol", "wttj", "icons", "package", "basketball", "bill", "invoice", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
12
+ export declare const icons: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "draggabledots", "compress-alt", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right", "behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", "medium", "chat", "chat-bubble-user", "comment", "comment-alt-lines", "folder", "folder-open", "folder-full", "file", "image", "flag-fr", "flag-en", "flag-us", "bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline", "music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "play", "play-solid", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning", "symbol", "wttj", "icons", "package", "basketball", "bill", "invoice", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
13
13
  export declare const isValidIconName: (iconName: string) => iconName is (typeof icons)[number];
@@ -3,7 +3,7 @@ export declare const Assets: {
3
3
  displayName: string;
4
4
  } & {
5
5
  AssetWithTitle: import('react').ForwardRefExoticComponent<Omit<import('./types').AssetWithTitleProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
6
- Backdrop: import('react').ForwardRefExoticComponent<import('../types').BackdropProps & import('react').RefAttributes<HTMLDivElement>>;
6
+ Backdrop: import('react').ForwardRefExoticComponent<import('..').BackdropProps & import('react').RefAttributes<HTMLDivElement>>;
7
7
  Content: {
8
8
  ({ children, className, ...rest }: React.PropsWithChildren<import('react').HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
9
9
  displayName: string;
@@ -1,4 +1,5 @@
1
1
  import { ModalProps, UseModal, UseModalProps } from './types';
2
+ export * from './types';
2
3
  export declare function useModal(options?: UseModalProps): UseModal;
3
4
  export declare const Modal: import('../../utils').FunctionComponentWithAs<"div", ModalProps> & {
4
5
  Body: import('../../utils').FunctionComponentWithAs<"section", import('./types').BodyProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "10.1.0",
3
+ "version": "10.1.2",
4
4
  "description": "Customizable design system with react, typescript, tailwindcss and ariakit.",
5
5
  "files": [
6
6
  "dist"
@@ -96,7 +96,7 @@
96
96
  "tsx": "^4.21.0",
97
97
  "vite": "^6.3.5",
98
98
  "vite-plugin-dts": "^4.5.4",
99
- "vitest": "^3.1.4"
99
+ "vitest": "^4.0.18"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "react": "^18.3.1 || ^19.0.0",