welcome-ui 0.0.0-dev.1789636399709 → 0.0.0-dev.1790256200313

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.
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import './DatePicker.css';
3
- import { jsxs as J, jsx as i } from "react/jsx-runtime";
4
- import { useState as j, useMemo as $, useEffect as A, forwardRef as Q, useRef as V } from "react";
5
- import { D as W, C as X } from "./CustomPopper-PWIRxhgV.js";
6
- import { Button as F } from "./Button.js";
7
- import { Icon as M } from "./Icon.js";
8
- import { Select as P } from "./Select.js";
9
- import { c as S } from "./index-B6iGEm-i.js";
10
- import { g as Z, a as Y, s as L, D as K, b as g } from "./utils-Cf0NRrqX.js";
11
- import { InputText as C } from "./InputText.js";
12
- const h = S(L), O = ({
3
+ import { jsxs as G, jsx as i } from "react/jsx-runtime";
4
+ import { useState as A, useMemo as $, useEffect as S, forwardRef as J, useRef as Q } from "react";
5
+ import { D as V, C as W } from "./CustomPopper-PWIRxhgV.js";
6
+ import { Button as j } from "./Button.js";
7
+ import { Icon as F } from "./Icon.js";
8
+ import { Select as M } from "./Select.js";
9
+ import { c as v } from "./index-B6iGEm-i.js";
10
+ import { g as X, a as Z, s as B, D as P, b as Y } from "./utils-Cf0NRrqX.js";
11
+ import { InputText as g } from "./InputText.js";
12
+ const C = v(B), L = ({
13
13
  changeMonth: x,
14
14
  changeYear: N,
15
15
  date: f,
@@ -22,24 +22,24 @@ const h = S(L), O = ({
22
22
  locale: D,
23
23
  startYear: m
24
24
  }) => {
25
- const [p, I] = j(null), [a, R] = j(null), l = $(() => Z(D), [D]), r = $(() => Y(m, c), [m, c]), o = (t || p === l[0].label) && a === m, w = (t || p === l[l.length - 1].label) && a === c;
26
- return A(() => {
25
+ const [p, I] = A(null), [a, R] = A(null), l = $(() => X(D), [D]), r = $(() => Z(m, c), [m, c]), o = (t || p === l[0].label) && a === m, w = (t || p === l[l.length - 1].label) && a === c;
26
+ return S(() => {
27
27
  const b = new Date(f), u = l[b.getMonth()].label, E = b.getFullYear();
28
28
  I(u), R(E);
29
- }, [f, l]), /* @__PURE__ */ J("div", { className: h("custom-header"), children: [
29
+ }, [f, l]), /* @__PURE__ */ G("div", { className: C("custom-header"), children: [
30
30
  /* @__PURE__ */ i(
31
- F,
31
+ j,
32
32
  {
33
33
  disabled: o,
34
34
  onClick: t ? k : T,
35
35
  size: "sm",
36
36
  title: `Previous ${t ? "year" : "month"}`,
37
37
  variant: "tertiary",
38
- children: /* @__PURE__ */ i(M, { name: "angle-left-b", size: "xs" })
38
+ children: /* @__PURE__ */ i(F, { name: "angle-left-b", size: "xs" })
39
39
  }
40
40
  ),
41
41
  !t && /* @__PURE__ */ i(
42
- P,
42
+ M,
43
43
  {
44
44
  id: "month",
45
45
  name: "month",
@@ -49,28 +49,28 @@ const h = S(L), O = ({
49
49
  value: p
50
50
  }
51
51
  ),
52
- /* @__PURE__ */ i(P, { id: "year", name: "year", onChange: N, options: r, size: "md", value: a }),
52
+ /* @__PURE__ */ i(M, { id: "year", name: "year", onChange: N, options: r, size: "md", value: a }),
53
53
  /* @__PURE__ */ i(
54
- F,
54
+ j,
55
55
  {
56
56
  disabled: w,
57
57
  onClick: t ? y : z,
58
58
  size: "sm",
59
59
  title: `Next ${t ? "year" : "month"}`,
60
60
  variant: "tertiary",
61
- children: /* @__PURE__ */ i(M, { name: "angle-right-b", size: "xs" })
61
+ children: /* @__PURE__ */ i(F, { name: "angle-right-b", size: "xs" })
62
62
  }
63
63
  )
64
64
  ] });
65
65
  };
66
- O.displayName = "DateTimePicker.CustomHeader";
67
- const v = S(L), B = S(), tt = Q(
66
+ L.displayName = "DateTimePicker.CustomHeader";
67
+ const K = v(B), h = J(
68
68
  ({
69
69
  autoFocus: x,
70
70
  className: N,
71
71
  dateFormat: f = "dd/MM/yyyy",
72
72
  disabled: T,
73
- endYear: k = K.getFullYear(),
73
+ endYear: k = P.getFullYear(),
74
74
  icon: c,
75
75
  iconPlacement: z = "left",
76
76
  locale: y,
@@ -82,24 +82,24 @@ const v = S(L), B = S(), tt = Q(
82
82
  startYear: a = 1900,
83
83
  transparent: R,
84
84
  useWeekdaysShort: l = !0,
85
- value: r = K,
85
+ value: r = P,
86
86
  ...o
87
87
  }, w) => {
88
- const b = o == null ? void 0 : o.timeIntervals, u = (e) => g(e, b), [E, d] = j(u(r)), U = V(), H = w || U;
89
- A(() => {
88
+ const b = o == null ? void 0 : o.timeIntervals, u = (e) => Y(e, b), [E, d] = A(u(r)), O = Q(), H = w || O;
89
+ S(() => {
90
90
  t == null || t(u(r));
91
- }, []), A(() => {
91
+ }, []), S(() => {
92
92
  var n;
93
93
  const e = u(r), s = typeof r == "object" ? r == null ? void 0 : r.toISOString() : r;
94
94
  ((n = new Date(Date.parse(s))) == null ? void 0 : n.getTime()) - (e == null ? void 0 : e.getTime()) !== 0 && (t == null || t(e)), d(e);
95
95
  }, [r]);
96
- const _ = (e) => {
96
+ const U = (e) => {
97
97
  var s;
98
98
  ["Enter", "Escape"].includes(e.key) && ((s = H.current) == null || s.blur());
99
- }, q = (e) => {
99
+ }, _ = (e) => {
100
100
  var s;
101
101
  e.preventDefault(), (s = H.current) == null || s.blur(), d(null), t == null || t(null);
102
- }, G = (e) => {
102
+ }, q = (e) => {
103
103
  if (!e) {
104
104
  d(null), t == null || t(null);
105
105
  return;
@@ -117,22 +117,22 @@ const v = S(L), B = S(), tt = Q(
117
117
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
118
118
  // @ts-expect-error
119
119
  /* @__PURE__ */ i(
120
- W,
120
+ V,
121
121
  {
122
122
  autoComplete: "off",
123
123
  calendarClassName: "date-picker-popper",
124
124
  customInput: /* @__PURE__ */ i(
125
- C,
125
+ g,
126
126
  {
127
127
  autoFocus: x,
128
- className: B(v("date-picker"), N),
128
+ className: K("date-picker", N),
129
129
  "data-testid": o["data-testid"],
130
130
  disabled: T,
131
131
  icon: c,
132
132
  iconPlacement: z,
133
133
  inputMode: m ? "none" : "text",
134
134
  isClearable: !0,
135
- onReset: q,
135
+ onReset: _,
136
136
  placeholder: D,
137
137
  ref: H,
138
138
  size: I,
@@ -141,11 +141,11 @@ const v = S(L), B = S(), tt = Q(
141
141
  ),
142
142
  dateFormat: f,
143
143
  locale: y,
144
- onChange: G,
145
- onKeyDown: _,
146
- popperContainer: X,
144
+ onChange: q,
145
+ onKeyDown: U,
146
+ popperContainer: W,
147
147
  renderCustomHeader: (e) => /* @__PURE__ */ i(
148
- O,
148
+ L,
149
149
  {
150
150
  endYear: k,
151
151
  isMonthYearPicker: p,
@@ -158,8 +158,8 @@ const v = S(L), B = S(), tt = Q(
158
158
  showMonthYearPicker: p,
159
159
  useWeekdaysShort: l,
160
160
  ...o,
161
- wrapperClassName: B(
162
- v("picker-input-root"),
161
+ wrapperClassName: K(
162
+ "picker-input-root",
163
163
  "date-picker-wrapper",
164
164
  "field-input",
165
165
  o.wrapperClassName
@@ -169,8 +169,8 @@ const v = S(L), B = S(), tt = Q(
169
169
  );
170
170
  }
171
171
  );
172
- tt.displayName = "DatePicker";
172
+ h.displayName = "DatePicker";
173
173
  export {
174
- tt as DatePicker,
175
- L as datePickerClasses
174
+ h as DatePicker,
175
+ B as datePickerClasses
176
176
  };
@@ -1,20 +1,20 @@
1
1
  "use client";
2
- import { jsx as E } from "react/jsx-runtime";
3
- import { forwardRef as N, useState as P, useRef as x, useEffect as o, Children as j, cloneElement as H } from "react";
4
- import { D as I, b, s as F } from "./utils-Cf0NRrqX.js";
5
- import { c as u } from "./index-B6iGEm-i.js";
6
- const L = u(F), M = u(), S = N(
2
+ import { jsx as A } from "react/jsx-runtime";
3
+ import { forwardRef as E, useState as P, useRef as x, useEffect as a, Children as N, cloneElement as H } from "react";
4
+ import { D as I, b, s as j } from "./utils-Cf0NRrqX.js";
5
+ import { c as F } from "./index-B6iGEm-i.js";
6
+ const L = F(j), M = E(
7
7
  ({
8
- children: d,
9
- disabled: p,
10
- locale: D,
8
+ children: o,
9
+ disabled: d,
10
+ locale: p,
11
11
  onChange: s,
12
- size: n = "md",
13
- transparent: k,
12
+ size: D = "md",
13
+ transparent: n,
14
14
  value: i = I,
15
15
  ...l
16
- }, T) => {
17
- const a = l == null ? void 0 : l.timeIntervals, r = (t) => b(t, a), [y, c] = P(r(i)), R = x(), A = T || R, m = (t) => {
16
+ }, k) => {
17
+ const u = l == null ? void 0 : l.timeIntervals, r = (t) => b(t, u), [T, c] = P(r(i)), y = x(), R = k || y, m = (t) => {
18
18
  if (!t) {
19
19
  c(null), s == null || s(null);
20
20
  return;
@@ -27,27 +27,27 @@ const L = u(F), M = u(), S = N(
27
27
  const f = r(e);
28
28
  e.setHours(f.getHours(), f.getMinutes()), c(e), s == null || s(new Date(e));
29
29
  };
30
- return o(() => {
30
+ return a(() => {
31
31
  m(r(i));
32
- }, []), o(() => {
32
+ }, []), a(() => {
33
33
  var e;
34
34
  const t = r(i);
35
35
  ((e = new Date(i)) == null ? void 0 : e.getTime()) - (t == null ? void 0 : t.getTime()) !== 0 && m(t), c(t);
36
- }, [i]), /* @__PURE__ */ E("div", { className: M(L("date-time-picker"), "field-input"), children: j.map(d, (t, e) => H(t, {
37
- disabled: p,
38
- inputRef: e === 0 ? A : null,
36
+ }, [i]), /* @__PURE__ */ A("div", { className: L("date-time-picker", "field-input"), children: N.map(o, (t, e) => H(t, {
37
+ disabled: d,
38
+ inputRef: e === 0 ? R : null,
39
39
  // give ref only to the DatePicker
40
40
  key: e,
41
- locale: D,
41
+ locale: p,
42
42
  onChange: m,
43
- size: n,
44
- timeIntervals: a,
45
- transparent: k,
46
- value: y
43
+ size: D,
44
+ timeIntervals: u,
45
+ transparent: n,
46
+ value: T
47
47
  })) });
48
48
  }
49
49
  );
50
- S.displayName = "DateTimePicker";
50
+ M.displayName = "DateTimePicker";
51
51
  export {
52
- S as DateTimePicker
52
+ M as DateTimePicker
53
53
  };
package/dist/Icon.js CHANGED
@@ -180,6 +180,7 @@ const s = "_root_576cf_2", n = {
180
180
  /* @__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" }) }),
181
181
  /* @__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" }) }),
182
182
  /* @__PURE__ */ a("symbol", { id: "hourglass", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.9917,21.002h-1V19.335a5.00057,5.00057,0,0,0-.29956-1.67773c-.01093-.02936-.0224-.05658-.03589-.08454a4.97694,4.97694,0,0,0-.66455-1.23675l-1.3999-1.86719a3.01933,3.01933,0,0,1-.6001-1.80078V11.6582a3.02108,3.02108,0,0,1,.87842-2.12109l.65722-.65723A4.94566,4.94566,0,0,0,17.92365,6.0415c.00054-.01391.008-.02551.008-.03955l-.00281-.01373a5.01836,5.01836,0,0,0,.06287-.64349V3.002h1a1,1,0,0,0,0-2h-14a1,1,0,0,0,0,2h1V5.34473a5.01836,5.01836,0,0,0,.06287.64349L6.05176,6.002c0,.014.00744.02564.008.03955a4.94571,4.94571,0,0,0,1.3963,2.83838l.65723.65723A3.02108,3.02108,0,0,1,8.9917,11.6582V12.668a3.02212,3.02212,0,0,1-.59961,1.80078L6.99121,16.33594a4.98221,4.98221,0,0,0-.66437,1.23718c-.0133.02771-.02472.05463-.03552.08368A5.00309,5.00309,0,0,0,5.9917,19.335v1.667h-1a1,1,0,0,0,0,2h14a1,1,0,0,0,0-2Zm-11-16v-2h8v2Zm.87842,2.46387A2.97036,2.97036,0,0,1,8.49323,7.002h6.99694a2.97094,2.97094,0,0,1-.37689.46387l-.65723.65723a4.9603,4.9603,0,0,0-1.42187,2.8789h-2.085A4.96025,4.96025,0,0,0,9.52734,8.123ZM9.99219,15.668a5.03688,5.03688,0,0,0,.98828-2.666h2.02246a5.03332,5.03332,0,0,0,.98877,2.666l1.00012,1.334H8.99133Zm5.99951,5.334h-8V19.335a2.954,2.954,0,0,1,.02722-.333h7.94556a2.954,2.954,0,0,1,.02722.333Z", xmlns: "http://www.w3.org/2000/svg" }) }),
183
+ /* @__PURE__ */ a("symbol", { id: "focus-target", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M3,9A1,1,0,0,0,4,8V5A1,1,0,0,1,5,4H8A1,1,0,0,0,8,2H5A3,3,0,0,0,2,5V8A1,1,0,0,0,3,9ZM8,20H5a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H8a1,1,0,0,0,0-2Zm9-7a1,1,0,0,0,0-2H15.86A4,4,0,0,0,13,8.14V7a1,1,0,0,0-2,0V8.14A4,4,0,0,0,8.14,11H7a1,1,0,0,0,0,2H8.14A4,4,0,0,0,11,15.86V17a1,1,0,0,0,2,0V15.86A4,4,0,0,0,15.86,13Zm-5,1a2,2,0,1,1,2-2A2,2,0,0,1,12,14Zm9,1a1,1,0,0,0-1,1v3a1,1,0,0,1-1,1H16a1,1,0,0,0,0,2h3a3,3,0,0,0,3-3V16A1,1,0,0,0,21,15ZM19,2H16a1,1,0,0,0,0,2h3a1,1,0,0,1,1,1V8a1,1,0,0,0,2,0V5A3,3,0,0,0,19,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
183
184
  /* @__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" }) }),
184
185
  /* @__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" }) }),
185
186
  /* @__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" }) }),
package/dist/Table.css CHANGED
@@ -1 +1 @@
1
- @layer components{._root_1u48q_2{width:100%;overflow:hidden;border-top-left-radius:var(--radius-md);border-top-right-radius:var(--radius-md)}._content_1u48q_8{width:100%;overflow-x:auto}._content_1u48q_8 table{--borderWidth: var(--table-cell-border-width);--borderColorChecked: var(--table-cell-color-border-checked);width:100%;border-collapse:collapse}._content_1u48q_8 table tr{font-family:var(--font-family-body);font-size:var(--font-size-sm);border-bottom-color:var(--table-cell-color-border-default);border-bottom-width:var(--borderWidth);border-bottom-style:solid}._content_1u48q_8 table tr[data-clickable=true]{cursor:pointer}._content_1u48q_8 table tr[data-clickable=true]:hover{border-top-width:var(--borderWidth);border-top-style:solid;background-color:var(--table-cell-color-background-hover);border-color:var(--borderColorChecked)}._content_1u48q_8 table th,._content_1u48q_8 table td{padding:var(--table-cell-padding);text-align:left}._content_1u48q_8 table th:has(>[aria-checked]:only-child),._content_1u48q_8 table td:has(>[aria-checked]:only-child){max-width:var(--table-cell-size-checkbox)}._content_1u48q_8 table thead{background-color:var(--table-header-color-background-warm)}._content_1u48q_8 table thead th{line-height:var(--font-line-height-xs);font-weight:var(--font-weight-medium)}._content_1u48q_8 table tbody tr{line-height:var(--font-line-height-md);font-weight:var(--font-weight-regular)}._content_1u48q_8 table tbody tr[aria-selected=true]{background-color:var(--table-cell-color-background-checked);border-bottom-width:0}._content_1u48q_8 table tbody tr[aria-selected=true]:not(tr[aria-selected=true]+tr[aria-selected=true]){border-top-width:var(--borderWidth);border-top-color:var(--borderColorChecked)}._content_1u48q_8 table tbody tr[aria-selected=true]:not(:has(+tr[aria-selected=true])){border-bottom-width:var(--borderWidth);border-bottom-color:var(--borderColorChecked)}._content_1u48q_8 table:has(tbody tr[data-clickable=true]:first-child:hover) thead tr,._content_1u48q_8 table:has(tbody tr:first-child[aria-selected=true]) thead tr{border-bottom-width:0}._content_1u48q_8 table tr:has(+tr[data-clickable=true]:hover),._content_1u48q_8 table tr:has(+tr[aria-selected=true]){border-bottom-width:0}._withColumnDivider_1u48q_73 table tbody td{border-right-color:var(--table-cell-color-border-default);border-right-width:var(--table-cell-border-width);border-right-style:solid}._withColumnDivider_1u48q_73 table tbody td:last-child{border-right:none}}
1
+ @layer components{._root_1jybv_2{width:100%;overflow:hidden;border-top-left-radius:var(--radius-md);border-top-right-radius:var(--radius-md)}._content_1jybv_8{width:100%;overflow-x:auto}._content_1jybv_8 table{--borderWidth: var(--table-cell-border-width);--borderColorChecked: var(--table-cell-color-border-checked);width:100%;border-collapse:collapse}._content_1jybv_8 table tr{font-family:var(--font-family-body);font-size:var(--font-size-sm);border-bottom-color:var(--table-cell-color-border-default);border-bottom-width:var(--borderWidth);border-bottom-style:solid}._content_1jybv_8 table tr[data-clickable=true]{cursor:pointer}._content_1jybv_8 table tr[data-clickable=true]:hover{border-top-width:var(--borderWidth);border-top-style:solid;background-color:var(--table-cell-color-background-hover);border-color:var(--borderColorChecked)}._content_1jybv_8 table th,._content_1jybv_8 table td{padding:var(--table-cell-padding);text-align:left}._content_1jybv_8 table th:has(>[aria-checked]:only-child),._content_1jybv_8 table td:has(>[aria-checked]:only-child){max-width:var(--table-cell-size-checkbox)}._content_1jybv_8 table thead{background-color:var(--table-header-color-background-warm)}._content_1jybv_8 table thead th{line-height:var(--font-line-height-xs);font-weight:var(--font-weight-medium)}._content_1jybv_8 table tbody tr{line-height:var(--font-line-height-md);font-weight:var(--font-weight-regular)}._content_1jybv_8 table tbody tr[aria-selected=true]{background-color:var(--table-cell-color-background-checked);border-bottom-width:0}._content_1jybv_8 table tbody tr[aria-selected=true]:not(tr[aria-selected=true]+tr[aria-selected=true]){border-top-width:var(--borderWidth);border-top-color:var(--borderColorChecked)}._content_1jybv_8 table tbody tr[aria-selected=true]:not(:has(+tr[aria-selected=true])){border-bottom-width:var(--borderWidth);border-bottom-color:var(--borderColorChecked)}._content_1jybv_8 table:has(tbody tr[data-clickable=true]:first-child:hover) thead tr,._content_1jybv_8 table:has(tbody tr:first-child[aria-selected=true]) thead tr{border-bottom-width:0}._content_1jybv_8 table tr:has(+tr[data-clickable=true]:hover),._content_1jybv_8 table tr:has(+tr[aria-selected=true]){border-bottom-width:0}._withElevation_1jybv_73{border:1px solid var(--table-header-color-border);box-shadow:var(--elevation-20)}._withColumnDivider_1jybv_77 table tbody td{border-right-color:var(--table-cell-color-border-default);border-right-width:var(--table-cell-border-width);border-right-style:solid}._withColumnDivider_1jybv_77 table tbody td:last-child{border-right:none}}
package/dist/Table.js CHANGED
@@ -1,35 +1,36 @@
1
1
  "use client";
2
2
  import './Table.css';
3
3
  import { jsx as e } from "react/jsx-runtime";
4
- import { forwardRef as b } from "react";
5
- import { c as u } from "./index-B6iGEm-i.js";
6
- const h = "_root_1u48q_2", p = "_content_1u48q_8", y = "_withColumnDivider_1u48q_73", N = {
7
- root: h,
8
- content: p,
9
- withColumnDivider: y
10
- }, s = u(N), n = b(
11
- ({ children: t, className: a, withColumnDivider: o = !1, ...m }, T) => /* @__PURE__ */ e("div", { className: s("root", a), ref: T, ...m, children: /* @__PURE__ */ e("div", { className: s("content", o && "withColumnDivider"), children: /* @__PURE__ */ e("table", { children: t }) }) })
4
+ import { forwardRef as h } from "react";
5
+ import { c as v } from "./index-B6iGEm-i.js";
6
+ const y = "_root_1jybv_2", _ = "_content_1jybv_8", p = "_withElevation_1jybv_73", u = "_withColumnDivider_1jybv_77", w = {
7
+ root: y,
8
+ content: _,
9
+ withElevation: p,
10
+ withColumnDivider: u
11
+ }, n = v(w), s = h(
12
+ ({ children: t, className: a, withColumnDivider: o = !1, withElevation: b = !1, ...m }, T) => /* @__PURE__ */ e("div", { className: n("root", b && "withElevation", a), ref: T, ...m, children: /* @__PURE__ */ e("div", { className: n("content", o && "withColumnDivider"), children: /* @__PURE__ */ e("table", { children: t }) }) })
12
13
  );
13
- n.displayName = "Table";
14
- const r = (t) => /* @__PURE__ */ e("tbody", { ...t });
15
- r.displayName = "Table.Tbody";
16
- const l = (t) => /* @__PURE__ */ e("th", { ...t });
17
- l.displayName = "Table.Th";
18
- const i = (t) => /* @__PURE__ */ e("thead", { ...t });
19
- i.displayName = "Table.Thead";
14
+ s.displayName = "Table";
15
+ const l = (t) => /* @__PURE__ */ e("tbody", { ...t });
16
+ l.displayName = "Table.Tbody";
17
+ const i = (t) => /* @__PURE__ */ e("th", { ...t });
18
+ i.displayName = "Table.Th";
19
+ const r = (t) => /* @__PURE__ */ e("thead", { ...t });
20
+ r.displayName = "Table.Thead";
20
21
  const c = (t) => /* @__PURE__ */ e("td", { ...t });
21
22
  c.displayName = "Table.Td";
22
23
  const d = ({ className: t, onClick: a, ...o }) => /* @__PURE__ */ e("tr", { className: t, "data-clickable": !!a, onClick: a, ...o });
23
24
  d.displayName = "Table.Tr";
24
- const w = Object.assign(n, {
25
- Tbody: r,
25
+ const C = Object.assign(s, {
26
+ Tbody: l,
26
27
  Td: c,
27
- Th: l,
28
- Thead: i,
28
+ Th: i,
29
+ Thead: r,
29
30
  Tr: d
30
31
  });
31
32
  export {
32
- w as Table,
33
- n as TableComponent,
34
- N as tableClasses
33
+ C as Table,
34
+ s as TableComponent,
35
+ w as tableClasses
35
36
  };
package/dist/Tabs.css CHANGED
@@ -1 +1 @@
1
- @layer components{._root_ijogm_2{display:flex;align-items:center;transition-property:background-color,border-color,color,box-shadow;transition-timing-function:ease-in-out;cursor:pointer;border-radius:var(--radius-md);transition-duration:var(--duration-medium);font-weight:var(--font-weight-medium);gap:var(--tabGap);max-height:var(--tabItemMaxHeight);padding-block:var(--tabPaddingBlock);padding-inline:var(--tabPaddingInline);font-size:var(--tabFontSize);background-color:var(--tabItemBackgroundColor, var(--tab-color-background-unchecked-default));color:var(--tabItemColor, var(--tab-color-text-unchecked-default));box-shadow:inset 0 0 0 var(--tabItemBorderSize, var(--tab-border-width-unchecked)) var(--tabItemBorderColor, var(--tab-color-border-unchecked-default)),var(--tabItemBoxShadow, var(--elevation-10))}._root_ijogm_2:focus{outline:none!important;--tabItemColor: var(--tab-color-text-unchecked-pressed);--tabItemBackgroundColor: var(--tab-color-background-unchecked-pressed);--tabItemBorderColor: var(--tab-color-border-unchecked-pressed)}._root_ijogm_2:focus[aria-selected=true]{--tabItemColor: var(--tab-color-text-checked-default);--tabItemBackgroundColor: var(--tab-color-background-checked-default);--tabItemBorderColor: var(--tab-color-border-checked-default)}._root_ijogm_2[aria-selected=true]{--tabItemColor: var(--tab-color-text-checked-default);--tabItemBackgroundColor: var(--tab-color-background-checked-default);--tabItemBorderColor: var(--tab-color-border-checked-default);--tabItemBorderSize: var(--tab-border-width-checked)}._root_ijogm_2[aria-selected=true]:hover{--tabItemColor: var(--tab-color-text-checked-hover);--tabItemBackgroundColor: var(--tab-color-background-checked-hover);--tabItemBorderColor: var(--tab-color-border-checked-hover);--tabItemBorderSize: var(--tab-border-width-checked);--tabItemBoxShadow: var(--elevation-20)}._root_ijogm_2[aria-disabled=true]{cursor:not-allowed;--tabItemColor: var(--button-color-text-secondary-main-disabled);background:repeating-linear-gradient(-45deg,transparent,transparent 2.4px,color-mix(in srgb,var(--color-neutral-50) 12%,transparent) 2.4px,color-mix(in srgb,var(--color-neutral-50) 12%,transparent) 4.3px),var(--button-color-background-secondary-main-disabled)}._root_ijogm_2:hover:not([aria-selected=true]):not([aria-disabled=true]){--tabItemColor: var(--tab-color-text-unchecked-hover);--tabItemBackgroundColor: var(--tab-color-background-unchecked-hover);--tabItemBorderColor: var(--tab-color-border-unchecked-hover);--tabItemBoxShadow: var(--elevation-20)}._size-lg_ijogm_58{--tabItemMaxHeight: var(--tab-size-max-height-lg);--tabPaddingBlock: var(--tab-padding-block-lg);--tabPaddingInline: var(--tab-padding-inline-lg);--tabFontSize: var(--font-size-sm);--tabGap: var(--tab-gap-content-lg)}._size-md_ijogm_65{--tabItemMaxHeight: var(--tab-size-max-height-md);--tabPaddingBlock: var(--tab-padding-block-md);--tabPaddingInline: var(--tab-padding-inline-md);--tabFontSize: var(--font-size-xs);--tabGap: var(--tab-gap-content-md)}._folder-icon_ijogm_75{color:var(--tabIconColor)}._folder-icon-blue_ijogm_78{--tabIconColor: var(--color-background-accent-blue-primary)}._folder-icon-blue-active_ijogm_81{--tabIconColor: var(--color-background-accent-blue-strong)}._folder-icon-green_ijogm_84{--tabIconColor: var(--color-background-accent-green-primary)}._folder-icon-green-active_ijogm_87{--tabIconColor: var(--color-background-accent-green-strong)}._folder-icon-orange_ijogm_90{--tabIconColor: var(--color-background-accent-orange-primary)}._folder-icon-orange-active_ijogm_93{--tabIconColor: var(--color-background-accent-orange-strong)}._folder-icon-pink_ijogm_96{--tabIconColor: var(--color-background-accent-pink-primary)}._folder-icon-pink-active_ijogm_99{--tabIconColor: var(--color-background-accent-pink-strong)}._folder-icon-teal_ijogm_102{--tabIconColor: var(--color-background-accent-teal-primary)}._folder-icon-teal-active_ijogm_105{--tabIconColor: var(--color-background-accent-teal-strong)}._folder-icon-violet_ijogm_108{--tabIconColor: var(--color-background-accent-violet-primary)}._folder-icon-violet-active_ijogm_111{--tabIconColor: var(--color-background-accent-violet-strong)}._folder-icon-warm_ijogm_114{--tabIconColor: var(--color-background-warm-stronger)}._folder-icon-warm-active_ijogm_117{--tabIconColor: var(--color-beige-60)}._tab-list_ijogm_123{display:flex;align-items:center;gap:var(--tabsGap, 0)}._tab-list_ijogm_123._size-lg_ijogm_58{--tabsGap: var(--tab-gap-content-lg)}._tab-list_ijogm_123._size-md_ijogm_65{--tabsGap: var(--tab-gap-content-md)}}
1
+ @layer components{._root_2romh_2{display:flex;align-items:center;transition-property:background-color,border-color,color,box-shadow;transition-timing-function:ease-in-out;cursor:pointer;border-radius:var(--radius-md);transition-duration:var(--duration-medium);font-weight:var(--font-weight-medium);gap:var(--tabGap);max-height:var(--tabItemMaxHeight);padding-block:var(--tabPaddingBlock);padding-inline:var(--tabPaddingInline);font-size:var(--tabFontSize);background-color:var(--tabItemBackgroundColor, var(--tab-color-background-unchecked-default));color:var(--tabItemColor, var(--tab-color-text-unchecked-default));box-shadow:inset 0 0 0 var(--tabItemBorderSize, var(--tab-border-width-unchecked)) var(--tabItemBorderColor, var(--tab-color-border-unchecked-default)),var(--tabItemBoxShadow, var(--elevation-10))}._root_2romh_2:focus{outline:none!important;--tabItemColor: var(--tab-color-text-unchecked-pressed);--tabItemBackgroundColor: var(--tab-color-background-unchecked-pressed);--tabItemBorderColor: var(--tab-color-border-unchecked-pressed)}._root_2romh_2:focus[aria-selected=true]{--tabItemColor: var(--tab-color-text-checked-default);--tabItemBackgroundColor: var(--tab-color-background-checked-default);--tabItemBorderColor: var(--tab-color-border-checked-default)}._root_2romh_2[aria-selected=true]{--tabItemColor: var(--tab-color-text-checked-default);--tabItemBackgroundColor: var(--tab-color-background-checked-default);--tabItemBorderColor: var(--tab-color-border-checked-default);--tabItemBorderSize: var(--tab-border-width-checked)}._root_2romh_2[aria-selected=true]:hover{--tabItemColor: var(--tab-color-text-checked-hover);--tabItemBackgroundColor: var(--tab-color-background-checked-hover);--tabItemBorderColor: var(--tab-color-border-checked-hover);--tabItemBorderSize: var(--tab-border-width-checked);--tabItemBoxShadow: var(--elevation-20)}._root_2romh_2[aria-disabled=true]{cursor:not-allowed;--tabItemColor: var(--button-color-text-secondary-main-disabled);background:repeating-linear-gradient(-45deg,transparent,transparent 2.4px,color-mix(in srgb,var(--color-neutral-50) 12%,transparent) 2.4px,color-mix(in srgb,var(--color-neutral-50) 12%,transparent) 4.3px),var(--button-color-background-secondary-main-disabled)}._root_2romh_2:hover:not([aria-selected=true]):not([aria-disabled=true]){--tabItemColor: var(--tab-color-text-unchecked-hover);--tabItemBackgroundColor: var(--tab-color-background-unchecked-hover);--tabItemBorderColor: var(--tab-color-border-unchecked-hover);--tabItemBoxShadow: var(--elevation-20)}._root_2romh_2._orientation-vertical_2romh_58{width:100%}._content_2romh_61{display:flex;flex:1;align-items:center;gap:var(--tabGap);min-width:0}._content_2romh_61 ._icon_2romh_68{display:flex;flex-shrink:0}._size-lg_2romh_72{--tabItemMaxHeight: var(--tab-size-max-height-lg);--tabPaddingBlock: var(--tab-padding-block-lg);--tabPaddingInline: var(--tab-padding-inline-lg);--tabFontSize: var(--font-size-sm);--tabGap: var(--tab-gap-content-lg)}._size-md_2romh_79{--tabItemMaxHeight: var(--tab-size-max-height-md);--tabPaddingBlock: var(--tab-padding-block-md);--tabPaddingInline: var(--tab-padding-inline-md);--tabFontSize: var(--font-size-xs);--tabGap: var(--tab-gap-content-md)}._folder-icon_2romh_89{color:var(--tabIconColor)}._folder-icon-blue_2romh_92{--tabIconColor: var(--color-background-accent-blue-primary)}._folder-icon-blue-active_2romh_95{--tabIconColor: var(--color-background-accent-blue-strong)}._folder-icon-green_2romh_98{--tabIconColor: var(--color-background-accent-green-primary)}._folder-icon-green-active_2romh_101{--tabIconColor: var(--color-background-accent-green-strong)}._folder-icon-orange_2romh_104{--tabIconColor: var(--color-background-accent-orange-primary)}._folder-icon-orange-active_2romh_107{--tabIconColor: var(--color-background-accent-orange-strong)}._folder-icon-pink_2romh_110{--tabIconColor: var(--color-background-accent-pink-primary)}._folder-icon-pink-active_2romh_113{--tabIconColor: var(--color-background-accent-pink-strong)}._folder-icon-teal_2romh_116{--tabIconColor: var(--color-background-accent-teal-primary)}._folder-icon-teal-active_2romh_119{--tabIconColor: var(--color-background-accent-teal-strong)}._folder-icon-violet_2romh_122{--tabIconColor: var(--color-background-accent-violet-primary)}._folder-icon-violet-active_2romh_125{--tabIconColor: var(--color-background-accent-violet-strong)}._folder-icon-warm_2romh_128{--tabIconColor: var(--color-background-warm-stronger)}._folder-icon-warm-active_2romh_131{--tabIconColor: var(--color-beige-60)}._tab-list_2romh_137{display:flex;align-items:center;gap:var(--tabsGap, 0)}._tab-list_2romh_137._size-lg_2romh_72{--tabsGap: var(--tab-gap-content-lg)}._tab-list_2romh_137._size-md_2romh_79{--tabsGap: var(--tab-gap-content-md)}._tab-list_2romh_137._orientation-vertical_2romh_58{flex-direction:column;align-items:stretch;--tabsGap: var(--tab-gap-content-lg)}}
package/dist/Tabs.js CHANGED
@@ -1,50 +1,50 @@
1
1
  "use client";
2
2
  import './Tabs.css';
3
- import { jsx as h, jsxs as L } from "react/jsx-runtime";
4
- import { T as A, b as R, a as W } from "./tab-panel-DMICXMJc.js";
5
- import { a as K } from "./combobox-context-COdkPD-I.js";
6
- import { u as U } from "./composite-store-BbsZpdXc.js";
7
- import { P as D, b as G } from "./popover-context-B2YQ_e3N.js";
8
- import { C as H, a as J, c as Q, m as X } from "./composite-item-CzuZunbi.js";
9
- import { b as Y, w as _, V as z, ab as Z, x as y } from "./D5lwkpmX-BTxFdaqc.js";
10
- import O, { createContext as F, useMemo as ee, forwardRef as M } from "react";
11
- import { m as te, o as E, c as oe, s as I, d as f, g as re, a as N, b as C, u as se } from "./index-B0vSTNCB.js";
12
- import { c as j } from "./index-B6iGEm-i.js";
13
- import { Badge as ae } from "./Badge.js";
14
- import { f as ne } from "./forwardRefWithAs-8eP3ZN15.js";
3
+ import { jsx as g, jsxs as O } from "react/jsx-runtime";
4
+ import { T as W, b as K, a as U } from "./tab-panel-DMICXMJc.js";
5
+ import { a as D } from "./combobox-context-COdkPD-I.js";
6
+ import { u as G } from "./composite-store-BbsZpdXc.js";
7
+ import { P as H, b as J } from "./popover-context-B2YQ_e3N.js";
8
+ import { C as Q, a as X, c as Y, m as Z } from "./composite-item-CzuZunbi.js";
9
+ import { b as ee, w as _, V as N, ab as te, x as F } from "./D5lwkpmX-BTxFdaqc.js";
10
+ import z, { createContext as $, useMemo as oe, forwardRef as B } from "react";
11
+ import { m as re, o as M, c as ne, s as I, d as b, g as ae, a as j, b as V, u as q } from "./index-B0vSTNCB.js";
12
+ import { c as P } from "./index-B6iGEm-i.js";
13
+ import { Badge as se } from "./Badge.js";
14
+ import { f as ie } from "./forwardRefWithAs-8eP3ZN15.js";
15
15
  import { Icon as le } from "./Icon.js";
16
- const ie = Y([G, J], [D, H]), ce = ie.useContext;
17
- F(!1);
18
- F(null);
19
- function de(e) {
16
+ const ce = ee([J, X], [H, Q]), de = ce.useContext;
17
+ $(!1);
18
+ $(null);
19
+ function ue(e) {
20
20
  var a;
21
21
  const o = (a = e[0]) == null ? void 0 : a.element;
22
22
  if (!o) return;
23
- const t = Z(o);
23
+ const t = te(o);
24
24
  if (t)
25
- return e.find((l) => l.element === t);
25
+ return e.find((i) => i.element === t);
26
26
  }
27
- function ue(e, o) {
27
+ function me(e, o) {
28
28
  if (o != null)
29
29
  return e.find((t) => t.id === o);
30
30
  }
31
- function w(e) {
31
+ function x(e) {
32
32
  return !(!e || e.disabled || e.dimmed);
33
33
  }
34
- function me() {
35
- const e = X(), o = /* @__PURE__ */ new Map();
36
- return f(e, ["items"], (t) => {
34
+ function fe() {
35
+ const e = Z(), o = /* @__PURE__ */ new Map();
36
+ return b(e, ["items"], (t) => {
37
37
  o.clear();
38
38
  for (const a of t.items) {
39
- const { tabId: l } = a;
40
- l != null && (o.has(l) || o.set(l, a));
39
+ const { tabId: i } = a;
40
+ i != null && (o.has(i) || o.set(i, a));
41
41
  }
42
42
  }), {
43
43
  panels: e,
44
44
  panel: (t) => t == null ? null : o.get(t) || null
45
45
  };
46
46
  }
47
- function fe({ composite: e, combobox: o, ...t } = {}) {
47
+ function be({ composite: e, combobox: o, ...t } = {}) {
48
48
  const a = [
49
49
  "items",
50
50
  "renderedItems",
@@ -59,130 +59,137 @@ function fe({ composite: e, combobox: o, ...t } = {}) {
59
59
  "focusShift",
60
60
  "focusWrap",
61
61
  "selectOnMove"
62
- ], l = te(t.store, E(e, a), E(o, a)), r = l == null ? void 0 : l.getState(), m = Q({
62
+ ], i = re(t.store, M(e, a), M(o, a)), r = i == null ? void 0 : i.getState(), c = Y({
63
63
  ...t,
64
- store: l,
64
+ store: i,
65
65
  compositeElementInFocusOrder: _(t.compositeElementInFocusOrder, t.includesBaseElement, r == null ? void 0 : r.compositeElementInFocusOrder, r == null ? void 0 : r.includesBaseElement, !1),
66
66
  orientation: _(t.orientation, r == null ? void 0 : r.orientation, "horizontal"),
67
67
  focusLoop: _(t.focusLoop, r == null ? void 0 : r.focusLoop, !0)
68
- }), { panels: b, panel: x } = me(), S = {
69
- ...m.getState(),
68
+ }), { panels: f, panel: v } = fe(), S = {
69
+ ...c.getState(),
70
70
  selectedId: _(t.selectedId, r == null ? void 0 : r.selectedId, t.defaultSelectedId),
71
71
  selectOnMove: _(t.selectOnMove, r == null ? void 0 : r.selectOnMove, !0)
72
- }, s = oe(S, m, l);
73
- I(s, () => f(s, ["moves"], () => {
74
- const { activeId: n, selectOnMove: d } = s.getState();
75
- if (!d || !n) return;
76
- const u = m.item(n);
77
- w(u) && s.setState("selectedId", u.id);
72
+ }, n = ne(S, c, i);
73
+ I(n, () => b(n, ["moves"], () => {
74
+ const { activeId: s, selectOnMove: l } = n.getState();
75
+ if (!l || !s) return;
76
+ const m = c.item(s);
77
+ x(m) && n.setState("selectedId", m.id);
78
78
  }));
79
- let g = !1, v;
80
- I(s, () => (g = !1, re(s, ["selectedId"], (n, d) => {
81
- if (g && (g = !1, n.selectedId === v) || e && n.selectedId === d.selectedId) return;
82
- const { activeId: u, renderedItems: i } = s.getState();
83
- if (u === n.selectedId) return;
84
- const c = de(i), k = ue(i, n.selectedId);
85
- if (c && w(k)) {
86
- m.move(k.id);
79
+ let p = !1, k;
80
+ I(n, () => (p = !1, ae(n, ["selectedId"], (s, l) => {
81
+ if (p && (p = !1, s.selectedId === k) || e && s.selectedId === l.selectedId) return;
82
+ const { activeId: m, renderedItems: d } = n.getState();
83
+ if (m === s.selectedId) return;
84
+ const u = ue(d), w = me(d, s.selectedId);
85
+ if (u && x(w)) {
86
+ c.move(w.id);
87
87
  return;
88
88
  }
89
- s.setState("activeId", n.selectedId);
90
- }))), I(s, () => f(s, ["selectedId", "renderedItems"], (n) => {
91
- if (n.selectedId !== void 0) return;
92
- const { activeId: d, renderedItems: u } = s.getState(), i = m.item(d);
93
- if (w(i)) s.setState("selectedId", i.id);
89
+ n.setState("activeId", s.selectedId);
90
+ }))), I(n, () => b(n, ["selectedId", "renderedItems"], (s) => {
91
+ if (s.selectedId !== void 0) return;
92
+ const { activeId: l, renderedItems: m } = n.getState(), d = c.item(l);
93
+ if (x(d)) n.setState("selectedId", d.id);
94
94
  else {
95
- const c = u.find(w);
96
- s.setState("selectedId", c == null ? void 0 : c.id);
95
+ const u = m.find(x);
96
+ n.setState("selectedId", u == null ? void 0 : u.id);
97
97
  }
98
- })), I(s, () => f(s, ["renderedItems"], (n) => {
99
- const d = n.renderedItems;
100
- if (d.length)
101
- return f(b, ["renderedItems"], (u) => {
102
- const i = u.renderedItems;
103
- i.some((c) => !c.tabId) && i.forEach((c, k) => {
104
- if (c.tabId) return;
105
- const P = d[k];
106
- P && b.renderItem({
107
- ...c,
108
- tabId: P.id
98
+ })), I(n, () => b(n, ["renderedItems"], (s) => {
99
+ const l = s.renderedItems;
100
+ if (l.length)
101
+ return b(f, ["renderedItems"], (m) => {
102
+ const d = m.renderedItems;
103
+ d.some((u) => !u.tabId) && d.forEach((u, w) => {
104
+ if (u.tabId) return;
105
+ const C = l[w];
106
+ C && f.renderItem({
107
+ ...u,
108
+ tabId: C.id
109
109
  });
110
110
  });
111
111
  });
112
112
  }));
113
- let p = null;
114
- return I(s, () => {
115
- const n = () => {
116
- p = s.getState().selectedId;
117
- }, d = () => {
118
- const { selectedId: c } = s.getState();
119
- c !== p && (g = !0, v = p, s.setState("selectedId", p));
120
- }, u = !!e && "setSelectedValue" in e, i = u ? e : o;
121
- if (e && !u && "setSelectElement" in e) return z(f(e, ["value"], n), f(e, ["mounted"], d));
122
- if (i)
123
- return z(f(i, ["selectedValue"], n), f(i, ["mounted"], d));
113
+ let h = null;
114
+ return I(n, () => {
115
+ const s = () => {
116
+ h = n.getState().selectedId;
117
+ }, l = () => {
118
+ const { selectedId: u } = n.getState();
119
+ u !== h && (p = !0, k = h, n.setState("selectedId", h));
120
+ }, m = !!e && "setSelectedValue" in e, d = m ? e : o;
121
+ if (e && !m && "setSelectElement" in e) return N(b(e, ["value"], s), b(e, ["mounted"], l));
122
+ if (d)
123
+ return N(b(d, ["selectedValue"], s), b(d, ["mounted"], l));
124
124
  }), {
125
- ...m,
126
- ...s,
127
- panels: b,
128
- panel: x,
129
- setSelectedId: (n) => s.setState("selectedId", n),
130
- select: (n) => {
131
- s.setState("selectedId", n), m.move(n);
125
+ ...c,
126
+ ...n,
127
+ panels: f,
128
+ panel: v,
129
+ setSelectedId: (s) => n.setState("selectedId", s),
130
+ select: (s) => {
131
+ n.setState("selectedId", s), c.move(s);
132
132
  }
133
133
  };
134
134
  }
135
- function be(e, o, t) {
136
- y(o, [
135
+ function he(e, o, t) {
136
+ F(o, [
137
137
  t.composite,
138
138
  t.combobox,
139
139
  o
140
140
  ]);
141
- const a = U(e, o, t);
142
- C(a, t, "selectedId", "setSelectedId"), C(a, t, "selectOnMove");
143
- const [l, r] = N(() => a.panels, {});
144
- return y(r, [a, r]), Object.assign(ee(() => ({
141
+ const a = G(e, o, t);
142
+ V(a, t, "selectedId", "setSelectedId"), V(a, t, "selectOnMove");
143
+ const [i, r] = j(() => a.panels, {});
144
+ return F(r, [a, r]), Object.assign(oe(() => ({
145
145
  ...a,
146
- panels: l
147
- }), [a, l]), {
146
+ panels: i
147
+ }), [a, i]), {
148
148
  composite: t.composite,
149
149
  combobox: t.combobox
150
150
  });
151
151
  }
152
- function Ge(e = {}) {
153
- const o = K(), t = ce() || o, a = {
152
+ function Qe(e = {}) {
153
+ const o = D(), t = de() || o, a = {
154
154
  ...e,
155
155
  composite: e.composite !== void 0 ? e.composite : t,
156
156
  combobox: e.combobox !== void 0 ? e.combobox : o
157
- }, [l, r] = N(fe, a);
158
- return be(l, r, a);
157
+ }, [i, r] = j(be, a);
158
+ return he(i, r, a);
159
159
  }
160
- const $ = O.createContext(null);
160
+ const y = z.createContext(null);
161
161
  function ge() {
162
- const e = O.useContext($);
162
+ const e = z.useContext(y);
163
+ return (e == null ? void 0 : e.orientation) ?? "horizontal";
164
+ }
165
+ function pe() {
166
+ const e = z.useContext(y);
163
167
  return (e == null ? void 0 : e.size) || "lg";
164
168
  }
165
- const pe = "_root_ijogm_2", T = {
166
- root: pe,
167
- "size-lg": "_size-lg_ijogm_58",
168
- "size-md": "_size-md_ijogm_65",
169
- "folder-icon": "_folder-icon_ijogm_75",
170
- "folder-icon-blue": "_folder-icon-blue_ijogm_78",
171
- "folder-icon-blue-active": "_folder-icon-blue-active_ijogm_81",
172
- "folder-icon-green": "_folder-icon-green_ijogm_84",
173
- "folder-icon-green-active": "_folder-icon-green-active_ijogm_87",
174
- "folder-icon-orange": "_folder-icon-orange_ijogm_90",
175
- "folder-icon-orange-active": "_folder-icon-orange-active_ijogm_93",
176
- "folder-icon-pink": "_folder-icon-pink_ijogm_96",
177
- "folder-icon-pink-active": "_folder-icon-pink-active_ijogm_99",
178
- "folder-icon-teal": "_folder-icon-teal_ijogm_102",
179
- "folder-icon-teal-active": "_folder-icon-teal-active_ijogm_105",
180
- "folder-icon-violet": "_folder-icon-violet_ijogm_108",
181
- "folder-icon-violet-active": "_folder-icon-violet-active_ijogm_111",
182
- "folder-icon-warm": "_folder-icon-warm_ijogm_114",
183
- "folder-icon-warm-active": "_folder-icon-warm-active_ijogm_117",
184
- "tab-list": "_tab-list_ijogm_123"
185
- }, he = [
169
+ const ve = "_root_2romh_2", _e = "_content_2romh_61", Ie = "_icon_2romh_68", E = {
170
+ root: ve,
171
+ "orientation-vertical": "_orientation-vertical_2romh_58",
172
+ content: _e,
173
+ icon: Ie,
174
+ "size-lg": "_size-lg_2romh_72",
175
+ "size-md": "_size-md_2romh_79",
176
+ "folder-icon": "_folder-icon_2romh_89",
177
+ "folder-icon-blue": "_folder-icon-blue_2romh_92",
178
+ "folder-icon-blue-active": "_folder-icon-blue-active_2romh_95",
179
+ "folder-icon-green": "_folder-icon-green_2romh_98",
180
+ "folder-icon-green-active": "_folder-icon-green-active_2romh_101",
181
+ "folder-icon-orange": "_folder-icon-orange_2romh_104",
182
+ "folder-icon-orange-active": "_folder-icon-orange-active_2romh_107",
183
+ "folder-icon-pink": "_folder-icon-pink_2romh_110",
184
+ "folder-icon-pink-active": "_folder-icon-pink-active_2romh_113",
185
+ "folder-icon-teal": "_folder-icon-teal_2romh_116",
186
+ "folder-icon-teal-active": "_folder-icon-teal-active_2romh_119",
187
+ "folder-icon-violet": "_folder-icon-violet_2romh_122",
188
+ "folder-icon-violet-active": "_folder-icon-violet-active_2romh_125",
189
+ "folder-icon-warm": "_folder-icon-warm_2romh_128",
190
+ "folder-icon-warm-active": "_folder-icon-warm-active_2romh_131",
191
+ "tab-list": "_tab-list_2romh_137"
192
+ }, ke = [
186
193
  "angle-left-b",
187
194
  "angle-right-b",
188
195
  "angle-up",
@@ -199,7 +206,7 @@ const pe = "_root_ijogm_2", T = {
199
206
  "angle-double-right",
200
207
  "angle-left",
201
208
  "angle-right"
202
- ], ve = [
209
+ ], we = [
203
210
  "asterisk",
204
211
  "info-circle",
205
212
  "chart-line",
@@ -255,13 +262,13 @@ const pe = "_root_ijogm_2", T = {
255
262
  "share",
256
263
  "bulk",
257
264
  "bulk-active"
258
- ], _e = [
265
+ ], xe = [
259
266
  "chat",
260
267
  "chat-bubble-user",
261
268
  "comment",
262
269
  "comment-alt-lines",
263
270
  "comment-chart-line"
264
- ], Ie = [
271
+ ], Se = [
265
272
  "music",
266
273
  "rocket",
267
274
  "file-alt",
@@ -348,8 +355,9 @@ const pe = "_root_ijogm_2", T = {
348
355
  "certified",
349
356
  // (not unicons, personal mashup)
350
357
  "plug",
351
- "hourglass"
352
- ], ke = [
358
+ "hourglass",
359
+ "focus-target"
360
+ ], Te = [
353
361
  "play",
354
362
  "play-solid",
355
363
  "stop-circle-solid",
@@ -379,7 +387,7 @@ const pe = "_root_ijogm_2", T = {
379
387
  "volume-up",
380
388
  "volume-mute",
381
389
  "closed-captioning"
382
- ], we = [
390
+ ], ze = [
383
391
  "icons",
384
392
  "package",
385
393
  "basketball",
@@ -455,14 +463,14 @@ const pe = "_root_ijogm_2", T = {
455
463
  "redo",
456
464
  "play",
457
465
  "ban"
458
- ], xe = [
466
+ ], Pe = [
459
467
  "folder",
460
468
  "folder-open",
461
469
  "folder-full",
462
470
  "folder-plus",
463
471
  "file",
464
472
  "image"
465
- ], Se = [
473
+ ], ye = [
466
474
  "bold",
467
475
  "arrow",
468
476
  "brackets-curly",
@@ -488,7 +496,7 @@ const pe = "_root_ijogm_2", T = {
488
496
  // (not unicons, original creation)
489
497
  "font",
490
498
  "underline"
491
- ], je = [
499
+ ], Ee = [
492
500
  "behance",
493
501
  "dribbble",
494
502
  "facebook",
@@ -515,80 +523,90 @@ const pe = "_root_ijogm_2", T = {
515
523
  // (not unicons)
516
524
  "medium"
517
525
  // (not unicons)
518
- ], Te = ["symbol", "wttj"], Pe = ["flag-fr", "flag-en", "flag-us"], ze = [
519
- ...ve,
520
- ...he,
521
- ...je,
522
- ..._e,
526
+ ], Ce = ["symbol", "wttj"], Oe = ["flag-fr", "flag-en", "flag-us"], Ne = [
527
+ ...we,
528
+ ...ke,
529
+ ...Ee,
523
530
  ...xe,
524
531
  ...Pe,
532
+ ...Oe,
533
+ ...ye,
525
534
  ...Se,
526
- ...Ie,
527
- ...ke,
528
535
  ...Te,
529
- ...we
530
- ], ye = (e) => ze.includes(e), Ee = j(T);
531
- function Ce({
536
+ ...Ce,
537
+ ...ze
538
+ ], Fe = (e) => Ne.includes(e), Me = P(E);
539
+ function Ve({
532
540
  icon: e,
533
541
  iconColor: o,
534
542
  isActive: t,
535
543
  size: a
536
544
  }) {
537
- return e ? typeof e != "string" || !ye(e) ? e : /* @__PURE__ */ h(
545
+ return e ? typeof e != "string" || !Fe(e) ? e : /* @__PURE__ */ g(
538
546
  le,
539
547
  {
540
- className: o ? Ee("folder-icon", `folder-icon-${o}${t ? "-active" : ""}`) : void 0,
548
+ className: o ? Me("folder-icon", `folder-icon-${o}${t ? "-active" : ""}`) : void 0,
541
549
  name: e,
542
550
  size: a
543
551
  }
544
552
  ) : null;
545
553
  }
546
- const Oe = j(T), V = ne(
547
- ({ as: e, badge: o, children: t, className: a, icon: l, iconColor: r = "violet", id: m, store: b, ...x }, S) => {
548
- const s = ge(), { selectedId: g } = se(b), v = g === m, p = Ce({
549
- icon: l,
554
+ const T = P(E), L = ie(
555
+ ({ as: e, badge: o, children: t, className: a, icon: i, iconColor: r = "violet", id: c, store: f, ...v }, S) => {
556
+ const n = pe(), p = ge(), { selectedId: k } = q(f), h = k === c, s = Ve({
557
+ icon: i,
550
558
  iconColor: r,
551
- isActive: v,
552
- size: s
553
- }), n = v ? "neutral" : "warm";
554
- return /* @__PURE__ */ L(
555
- A,
559
+ isActive: h,
560
+ size: n
561
+ }), l = h ? "neutral" : "warm";
562
+ return /* @__PURE__ */ O(
563
+ W,
556
564
  {
557
- className: Oe("root", `size-${s}`, a),
558
- id: m,
565
+ className: T(
566
+ "root",
567
+ `size-${n}`,
568
+ p === "vertical" && "orientation-vertical",
569
+ a
570
+ ),
571
+ id: c,
559
572
  ref: S,
560
- render: e ? /* @__PURE__ */ h(e, {}) : void 0,
561
- store: b,
562
- ...x,
573
+ render: e ? /* @__PURE__ */ g(e, {}) : void 0,
574
+ store: f,
575
+ ...v,
563
576
  children: [
564
- p,
565
- t,
566
- o ? /* @__PURE__ */ h(ae, { size: s, variant: n, children: o }) : null
577
+ /* @__PURE__ */ O("span", { className: T("content"), children: [
578
+ s ? /* @__PURE__ */ g("span", { className: T("icon"), children: s }) : null,
579
+ t
580
+ ] }),
581
+ o ? /* @__PURE__ */ g(se, { size: n, variant: l, children: o }) : null
567
582
  ]
568
583
  }
569
584
  );
570
585
  }
571
586
  );
572
- V.displayName = "Tabs.Tab";
573
- const B = M(({ children: e, ...o }, t) => /* @__PURE__ */ h(R, { ref: t, ...o, children: e }));
574
- B.displayName = "Tabs.Panel";
575
- const Fe = j(T), q = M(
576
- ({ children: e, className: o, size: t = "lg", store: a, ...l }, r) => /* @__PURE__ */ h(
577
- W,
578
- {
579
- className: Fe("tab-list", `size-${t}`, o),
580
- ref: r,
581
- store: a,
582
- ...l,
583
- children: /* @__PURE__ */ h($.Provider, { value: { size: t }, children: e })
584
- }
585
- )
587
+ L.displayName = "Tabs.Tab";
588
+ const A = B(({ children: e, ...o }, t) => /* @__PURE__ */ g(K, { ref: t, ...o, children: e }));
589
+ A.displayName = "Tabs.Panel";
590
+ const $e = P(E), R = B(
591
+ ({ children: e, className: o, size: t = "lg", store: a, ...i }, r) => {
592
+ const { orientation: c } = q(a), f = c === "vertical", v = f ? "vertical" : "horizontal";
593
+ return /* @__PURE__ */ g(
594
+ U,
595
+ {
596
+ className: $e("tab-list", `size-${t}`, f && "orientation-vertical", o),
597
+ ref: r,
598
+ store: a,
599
+ ...i,
600
+ children: /* @__PURE__ */ g(y.Provider, { value: { orientation: v, size: t }, children: e })
601
+ }
602
+ );
603
+ }
586
604
  );
587
- q.displayName = "Tabs";
588
- const He = Object.assign(q, { Panel: B, Tab: V });
605
+ R.displayName = "Tabs";
606
+ const Xe = Object.assign(R, { Panel: A, Tab: L });
589
607
  export {
590
- He as Tabs,
591
- q as TabsComponent,
592
- T as tabsClasses,
593
- Ge as useTab
608
+ Xe as Tabs,
609
+ R as TabsComponent,
610
+ E as tabsClasses,
611
+ Qe as useTab
594
612
  };
@@ -1,38 +1,38 @@
1
1
  "use client";
2
2
  import { jsx as f } from "react/jsx-runtime";
3
- import { forwardRef as F, useState as I, useRef as L, useEffect as a } from "react";
4
- import { D as M, C as O } from "./CustomPopper-PWIRxhgV.js";
5
- import { D as U, b as _, s as q } from "./utils-Cf0NRrqX.js";
6
- import { InputText as z } from "./InputText.js";
7
- import { c as T } from "./index-B6iGEm-i.js";
8
- const d = T(q), o = T(), B = F(
3
+ import { forwardRef as S, useState as j, useRef as F, useEffect as d } from "react";
4
+ import { D as I, C as L } from "./CustomPopper-PWIRxhgV.js";
5
+ import { D as M, b as O, s as U } from "./utils-Cf0NRrqX.js";
6
+ import { InputText as _ } from "./InputText.js";
7
+ import { c as q } from "./index-B6iGEm-i.js";
8
+ const a = q(U), z = S(
9
9
  ({
10
- autoFocus: D,
11
- className: k,
12
- dateFormat: N = "HH:mm",
13
- disabled: R,
14
- icon: w,
15
- iconPlacement: x = "left",
10
+ autoFocus: o,
11
+ className: T,
12
+ dateFormat: D = "HH:mm",
13
+ disabled: k,
14
+ icon: N,
15
+ iconPlacement: R = "left",
16
16
  onChange: t,
17
- placeholder: y,
18
- size: A = "md",
19
- timeIntervals: m = 15,
20
- transparent: H,
21
- value: r = U,
17
+ placeholder: w,
18
+ size: x = "md",
19
+ timeIntervals: p = 15,
20
+ transparent: y,
21
+ value: r = M,
22
22
  ...c
23
- }, p) => {
24
- const l = (e) => _(e, m), [P, i] = I(l(r)), b = L(), E = p || b;
25
- a(() => {
23
+ }, m) => {
24
+ const l = (e) => O(e, p), [A, i] = j(l(r)), H = F(), P = m || H;
25
+ d(() => {
26
26
  t == null || t(l(r));
27
- }, []), a(() => {
27
+ }, []), d(() => {
28
28
  var s;
29
29
  const e = l(r);
30
30
  ((s = new Date(r)) == null ? void 0 : s.getTime()) - (e == null ? void 0 : e.getTime()) !== 0 && (t == null || t(e)), i(e);
31
31
  }, [r]);
32
- const S = (e) => {
32
+ const b = (e) => {
33
33
  var s;
34
- e.preventDefault(), (s = E.current) == null || s.blur(), i(null), t == null || t(null);
35
- }, j = (e) => {
34
+ e.preventDefault(), (s = P.current) == null || s.blur(), i(null), t == null || t(null);
35
+ }, E = (e) => {
36
36
  if (!e) {
37
37
  i(null), t == null || t(null);
38
38
  return;
@@ -50,36 +50,36 @@ const d = T(q), o = T(), B = F(
50
50
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
51
51
  // @ts-expect-error
52
52
  /* @__PURE__ */ f(
53
- M,
53
+ I,
54
54
  {
55
55
  calendarClassName: "time-picker-popper",
56
56
  customInput: /* @__PURE__ */ f(
57
- z,
57
+ _,
58
58
  {
59
- autoFocus: D,
60
- className: o(d("time-picker"), k),
59
+ autoFocus: o,
60
+ className: a("time-picker", T),
61
61
  "data-testid": c["data-testid"],
62
- disabled: R,
63
- icon: w,
64
- iconPlacement: x,
62
+ disabled: k,
63
+ icon: N,
64
+ iconPlacement: R,
65
65
  isClearable: !1,
66
- onReset: S,
67
- ref: p,
68
- size: A,
69
- transparent: H
66
+ onReset: b,
67
+ ref: m,
68
+ size: x,
69
+ transparent: y
70
70
  }
71
71
  ),
72
- dateFormat: N,
73
- onChange: j,
74
- placeholderText: y,
75
- popperContainer: O,
76
- selected: P,
72
+ dateFormat: D,
73
+ onChange: E,
74
+ placeholderText: w,
75
+ popperContainer: L,
76
+ selected: A,
77
77
  showTimeSelect: !0,
78
78
  showTimeSelectOnly: !0,
79
- timeIntervals: m,
79
+ timeIntervals: p,
80
80
  ...c,
81
- wrapperClassName: o(
82
- d("picker-input-root"),
81
+ wrapperClassName: a(
82
+ "picker-input-root",
83
83
  "time-picker-wrapper",
84
84
  "field-input",
85
85
  c.wrapperClassName
@@ -89,7 +89,7 @@ const d = T(q), o = T(), B = F(
89
89
  );
90
90
  }
91
91
  );
92
- B.displayName = "TimePicker";
92
+ z.displayName = "TimePicker";
93
93
  export {
94
- B as TimePicker
94
+ z as TimePicker
95
95
  };
@@ -1,7 +1,7 @@
1
1
  export declare const arrows: readonly ["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"];
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", "sliders-v-alt", "link", "sign-out-alt", "bars", "sort-amount-down", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "bulk", "bulk-active"];
3
3
  export declare const chat: readonly ["chat", "chat-bubble-user", "comment", "comment-alt-lines", "comment-chart-line"];
4
- export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "hourglass"];
4
+ export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "hourglass", "focus-target"];
5
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", "folder-plus", "file", "image"];
@@ -9,5 +9,5 @@ export declare const markdown: readonly ["bold", "arrow", "brackets-curly", "ita
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", "sliders-v-alt", "link", "sign-out-alt", "bars", "sort-amount-down", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "bulk", "bulk-active", "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", "comment-chart-line", "folder", "folder-open", "folder-full", "folder-plus", "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", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "hourglass", "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"];
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", "sliders-v-alt", "link", "sign-out-alt", "bars", "sort-amount-down", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "bulk", "bulk-active", "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", "comment-chart-line", "folder", "folder-open", "folder-full", "folder-plus", "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", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "hourglass", "focus-target", "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];
@@ -6,6 +6,10 @@ interface TableOptions {
6
6
  * Add vertical divider between columns
7
7
  */
8
8
  withColumnDivider?: boolean;
9
+ /**
10
+ * Add borders and elevation to the Table
11
+ */
12
+ withElevation?: boolean;
9
13
  }
10
14
  interface TableTrOptions {
11
15
  /**
@@ -1,8 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { Size } from './types';
3
+ export type TabOrientation = 'horizontal' | 'vertical';
3
4
  type TabContextType = {
5
+ orientation?: TabOrientation;
4
6
  size?: Size;
5
7
  };
6
8
  export declare const TabContext: React.Context<TabContextType>;
9
+ export declare function useTabOrientation(): TabOrientation;
7
10
  export declare function useTabSize(): Size;
8
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "0.0.0-dev.1789636399709",
3
+ "version": "0.0.0-dev.1790256200313",
4
4
  "description": "Customizable design system with react, typescript, tailwindcss and ariakit.",
5
5
  "files": [
6
6
  "dist"