welcome-ui 10.1.6 → 10.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{D7BWB6V7-a3HjPOg_.js → 5TKKKQCL-B53p3Vri.js} +3 -3
  2. package/dist/{GYHYTZZN-Xp0fZyyw.js → APVORPDK-DuBDzcfp.js} +3 -3
  3. package/dist/Accordion.js +3 -3
  4. package/dist/Button.js +1 -1
  5. package/dist/{7P7IWEBR-DGEktSAM.js → CVCFNOHX-CeUlkMgT.js} +3 -3
  6. package/dist/Checkbox.js +1 -1
  7. package/dist/Drawer.js +4 -4
  8. package/dist/DropdownMenu.js +13 -13
  9. package/dist/{IAC2O6VC-Bk3bztmV.js → ECBEZ4YM-BlwWRwxN.js} +4 -4
  10. package/dist/{J4DPQC5Y-96_qPACp.js → HMKTUWOU-NkVXWCyR.js} +2 -2
  11. package/dist/{7LQR24VD-BKovnxCC.js → I7KWAPMF-CuA_ygsc.js} +3 -3
  12. package/dist/{VEHC2EHR-BMk2-8Yl.js → IQYAUKXT-CMV5f3NE.js} +2 -2
  13. package/dist/{MWF5B7KS-BwHRQwDi.js → JMU4N4M5-BRPvDp3v.js} +2 -2
  14. package/dist/Modal.js +4 -4
  15. package/dist/{NJZUP4KO-CuYgeQRh.js → NDVACHQI-B7drCM9O.js} +3 -3
  16. package/dist/{C2LT7CSX-Bvyi0GRw.js → OCCHVUS4-SwOpz56L.js} +3 -3
  17. package/dist/{WJ7PHYH7-BWnh2QSF.js → PZ3OL7I2-Cfim3UGe.js} +1 -1
  18. package/dist/Popover.js +3 -3
  19. package/dist/{Q3KUZPD7-CfUCRwV-.js → Q5W46E73-ClIlNE6g.js} +1 -1
  20. package/dist/{NG75I6FS-DP8LcadD.js → RFRKSHIZ-BMv-8lMI.js} +4 -4
  21. package/dist/Radio.js +1 -1
  22. package/dist/RadioGroup.js +3 -3
  23. package/dist/RadioTab.js +1 -1
  24. package/dist/Tabs.js +7 -7
  25. package/dist/Toggle.js +1 -1
  26. package/dist/Tooltip.js +4 -4
  27. package/dist/{US3TW2XI-DX1q1W_L.js → U6HHPQDW-CzxyP5H7.js} +107 -97
  28. package/dist/{33YRLYNQ-D8tZ5okI.js → WLZ6H5FH-6NScq2Y6.js} +2 -2
  29. package/dist/{FIT2LC3L-D7_i9cSG.js → WZWDIE3S-DDipnVYO.js} +3 -3
  30. package/dist/Window.js +76 -70
  31. package/dist/{2S4Q4M35-BtTn_beR.js → Z32PU2LQ-7OK4psIK.js} +4 -4
  32. package/dist/{E7PWFDGB-2yv3Gy1s.js → ZMWF7ASR-BGZQn0ZB.js} +2 -2
  33. package/dist/{tab-panel-j7xVgkpE.js → tab-panel-BFzjhpJq.js} +5 -5
  34. package/dist/types/components/Window/types.d.ts +1 -0
  35. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { C as E, a as N, b as U } from "./FIT2LC3L-D7_i9cSG.js";
3
- import { b as y, w as A, f as T, c as w, a as j, j as q, L as B, B as D, Y as H, u as s, q as L, r as M } from "./US3TW2XI-DX1q1W_L.js";
4
- import { b as O } from "./Q3KUZPD7-CfUCRwV-.js";
2
+ import { C as E, a as N, b as U } from "./WZWDIE3S-DDipnVYO.js";
3
+ import { b as y, w as A, f as T, c as w, a as j, j as q, L as B, B as D, Y as H, u as s, q as L, r as M } from "./U6HHPQDW-CzxyP5H7.js";
4
+ import { b as O } from "./Q5W46E73-ClIlNE6g.js";
5
5
  import { useRef as Y, useEffect as g } from "react";
6
6
  var $ = y(
7
7
  [N],
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { u as i } from "./NJZUP4KO-CuYgeQRh.js";
3
- import { b as s } from "./33YRLYNQ-D8tZ5okI.js";
4
- import { f as n, c as u, a as c, i as l, D } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { u as i } from "./NDVACHQI-B7drCM9O.js";
3
+ import { b as s } from "./WLZ6H5FH-6NScq2Y6.js";
4
+ import { f as n, c as u, a as c, i as l, D } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  var m = "button", g = u(
6
6
  function({ store: e, ...o }) {
7
7
  const t = s();
package/dist/Accordion.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import './Accordion.css';
3
3
  import { jsx as e, jsxs as g } from "react/jsx-runtime";
4
- import { D as C } from "./NJZUP4KO-CuYgeQRh.js";
5
- import { D as S } from "./33YRLYNQ-D8tZ5okI.js";
6
- import { u as co } from "./33YRLYNQ-D8tZ5okI.js";
4
+ import { D as C } from "./NDVACHQI-B7drCM9O.js";
5
+ import { D as S } from "./WLZ6H5FH-6NScq2Y6.js";
6
+ import { u as co } from "./WLZ6H5FH-6NScq2Y6.js";
7
7
  import { createContext as j, forwardRef as t, useContext as B, useCallback as I } from "react";
8
8
  import { Icon as _ } from "./Icon.js";
9
9
  import { Text as u } from "./Text.js";
package/dist/Button.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import './Button.css';
3
3
  import { jsxs as o, jsx as r, Fragment as z } from "react/jsx-runtime";
4
- import { B as b } from "./J4DPQC5Y-96_qPACp.js";
4
+ import { B as b } from "./HMKTUWOU-NkVXWCyR.js";
5
5
  import { useButtonGroup as h } from "./ButtonGroup.js";
6
6
  import { Loader as x } from "./Loader.js";
7
7
  import { c as B } from "./index-PAaZGbyz.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { P as t, b as r } from "./MWF5B7KS-BwHRQwDi.js";
3
- import { C as a, a as i } from "./FIT2LC3L-D7_i9cSG.js";
4
- import { b as s } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { P as t, b as r } from "./JMU4N4M5-BRPvDp3v.js";
3
+ import { C as a, a as i } from "./WZWDIE3S-DDipnVYO.js";
4
+ import { b as s } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  import { createContext as o } from "react";
6
6
  o(
7
7
  void 0
package/dist/Checkbox.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import './Checkbox.css';
3
3
  import { jsxs as k, jsx as i } from "react/jsx-runtime";
4
- import { a as w } from "./7LQR24VD-BKovnxCC.js";
4
+ import { a as w } from "./I7KWAPMF-CuA_ygsc.js";
5
5
  import { forwardRef as x, useState as l } from "react";
6
6
  import { useField as C } from "./Field.js";
7
7
  import { VisuallyHidden as g } from "./VisuallyHidden.js";
package/dist/Drawer.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import './Drawer.css';
3
3
  import { jsx as e, jsxs as d, Fragment as S } from "react/jsx-runtime";
4
- import { D as q } from "./2S4Q4M35-BtTn_beR.js";
5
- import { u as De } from "./2S4Q4M35-BtTn_beR.js";
4
+ import { D as q } from "./Z32PU2LQ-7OK4psIK.js";
5
+ import { u as De } from "./Z32PU2LQ-7OK4psIK.js";
6
6
  import { useCallback as w, forwardRef as p } from "react";
7
7
  import { Window as i } from "./Window.js";
8
8
  import { c as o } from "./index-PAaZGbyz.js";
@@ -10,8 +10,8 @@ import { f as B } from "./forwardRefWithAs-8eP3ZN15.js";
10
10
  import { Button as R } from "./Button.js";
11
11
  import { Icon as $ } from "./Icon.js";
12
12
  import { Text as D } from "./Text.js";
13
- import { D as Z } from "./C2LT7CSX-Bvyi0GRw.js";
14
- import { D as J } from "./GYHYTZZN-Xp0fZyyw.js";
13
+ import { D as Z } from "./OCCHVUS4-SwOpz56L.js";
14
+ import { D as J } from "./APVORPDK-DuBDzcfp.js";
15
15
  const K = "_content_4vnol_14", L = "_title_4vnol_68", k = {
16
16
  "asset-drawer": "_asset-drawer_4vnol_3",
17
17
  "content-wrapper": "_content-wrapper_4vnol_14",
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  import './DropdownMenu.css';
3
3
  import { jsx as l, jsxs as G } from "react/jsx-runtime";
4
- import { t as Te, c as De, u as Le, a as Oe, b as A, m as Mt, o as Ct, p as wt, s as Pe, d as Ne } from "./Q3KUZPD7-CfUCRwV-.js";
5
- import { H as xt, a as St, u as yt, b as pt, c as kt, d as _t } from "./IAC2O6VC-Bk3bztmV.js";
6
- import { u as fe, C as Fe, a as $e, f as It, b as Pt } from "./FIT2LC3L-D7_i9cSG.js";
7
- import { c as w, f as x, a as S, i as L, b as Re, u as O, g as Ge, s as Nt, r as Z, d as Et, e as At, n as Tt, h as te, j as he, k as Dt, l as Lt, m as se, o as K, p as Ot, q as ne, t as Ft, v as $t, w as re, x as R, y as He, z as Rt, A as Gt, B as Ht, C as Ve, D as Vt, E as zt, F as Bt, G as ze, H as Kt, I as jt } from "./US3TW2XI-DX1q1W_L.js";
4
+ import { t as Te, c as De, u as Le, a as Oe, b as A, m as Mt, o as Ct, p as wt, s as Pe, d as Ne } from "./Q5W46E73-ClIlNE6g.js";
5
+ import { H as xt, a as St, u as yt, b as pt, c as kt, d as _t } from "./ECBEZ4YM-BlwWRwxN.js";
6
+ import { u as fe, C as Fe, a as $e, f as It, b as Pt } from "./WZWDIE3S-DDipnVYO.js";
7
+ import { c as w, f as x, a as S, i as L, b as Re, u as O, g as Ge, s as Nt, r as Z, d as Et, e as At, n as Tt, h as te, j as he, k as Dt, l as Lt, m as se, o as K, p as Ot, q as ne, t as Ft, v as $t, w as re, x as R, y as He, z as Rt, A as Gt, B as Ht, C as Ve, D as Vt, E as zt, F as Bt, G as ze, H as Kt, I as jt } from "./U6HHPQDW-CzxyP5H7.js";
8
8
  import { createContext as ve, useRef as be, useState as ge, useContext as Me, useCallback as Ut, useEffect as j, createRef as Wt, useMemo as qt, forwardRef as P, createElement as Zt } from "react";
9
- import { i as Jt } from "./33YRLYNQ-D8tZ5okI.js";
10
- import { u as Qt } from "./E7PWFDGB-2yv3Gy1s.js";
11
- import { c as Xt, R as Yt } from "./2S4Q4M35-BtTn_beR.js";
9
+ import { i as Jt } from "./WLZ6H5FH-6NScq2Y6.js";
10
+ import { u as Qt } from "./ZMWF7ASR-BGZQn0ZB.js";
11
+ import { c as Xt, R as Yt } from "./Z32PU2LQ-7OK4psIK.js";
12
12
  import { c as H } from "./index-PAaZGbyz.js";
13
13
  import { f as U } from "./forwardRefWithAs-8eP3ZN15.js";
14
- import { u as en, a as tn } from "./NG75I6FS-DP8LcadD.js";
15
- import { C as nn, u as rn } from "./7LQR24VD-BKovnxCC.js";
16
- import { u as on } from "./D7BWB6V7-a3HjPOg_.js";
17
- import { c as un, u as an } from "./VEHC2EHR-BMk2-8Yl.js";
18
- import { u as cn } from "./7P7IWEBR-DGEktSAM.js";
14
+ import { u as en, a as tn } from "./RFRKSHIZ-BMv-8lMI.js";
15
+ import { C as nn, u as rn } from "./I7KWAPMF-CuA_ygsc.js";
16
+ import { u as on } from "./5TKKKQCL-B53p3Vri.js";
17
+ import { c as un, u as an } from "./IQYAUKXT-CMV5f3NE.js";
18
+ import { u as cn } from "./CVCFNOHX-CeUlkMgT.js";
19
19
  import { Checkbox as sn } from "./Checkbox.js";
20
20
  import { Radio as ln } from "./Radio.js";
21
21
  import { Toggle as dn } from "./Toggle.js";
@@ -727,7 +727,7 @@ var ar = w(
727
727
  })
728
728
  ), cr = "div";
729
729
  function ce(n, e, t) {
730
- return t === void 0 ? n : t ? e : n;
730
+ return t === void 0 ? n : t ? e : n === e ? !1 : n;
731
731
  }
732
732
  var sr = w(
733
733
  function({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { a as Be, c as Se, b as je, d as qe } from "./2S4Q4M35-BtTn_beR.js";
3
- import { P as xe, b as Le, a as Ee } from "./MWF5B7KS-BwHRQwDi.js";
4
- import { b as Ve, c as ie, i as Z, aa as ye, u as X, k as ne, h as oe, f as ce, a as se, l as Me, m as re, Q as ve, a4 as j, T as Xe, q as Ae, A as _e, t as ue, o as ze, B as Ie, X as Ye, x as A, y as Ue } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { a as Be, c as Se, b as je, d as qe } from "./Z32PU2LQ-7OK4psIK.js";
3
+ import { P as xe, b as Le, a as Ee } from "./JMU4N4M5-BRPvDp3v.js";
4
+ import { b as Ve, c as ie, i as Z, aa as ye, u as X, k as ne, h as oe, f as ce, a as se, l as Me, m as re, Q as ve, a4 as j, T as Xe, q as Ae, A as _e, t as ue, o as ze, B as Ie, X as Ye, x as A, y as Ue } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  import { B as Ge, N as We, L as Je, A as Qe, O as Ze, g as Ke, C as et, a as tt } from "./floating-ui.dom.browser.min-Bza9K_UR.js";
6
6
  import { useRef as q, useState as ae, useEffect as H, useContext as nt, createContext as ot, useCallback as Ce } from "react";
7
7
  import { jsx as Q } from "react/jsx-runtime";
8
- import { d as rt, m as ut, o as it, t as ct, c as Oe, a as J, u as He } from "./Q3KUZPD7-CfUCRwV-.js";
8
+ import { d as rt, m as ut, o as it, t as ct, c as Oe, a as J, u as He } from "./Q5W46E73-ClIlNE6g.js";
9
9
  var _ = Ve(
10
10
  [Le],
11
11
  [xe]
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { u as f } from "./WJ7PHYH7-BWnh2QSF.js";
3
- import { f as c, c as m, L as i, M as a, q as B, a as l } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { u as f } from "./PZ3OL7I2-Cfim3UGe.js";
3
+ import { f as c, c as m, L as i, M as a, q as B, a as l } from "./U6HHPQDW-CzxyP5H7.js";
4
4
  import { useRef as v, useState as N, useEffect as g } from "react";
5
5
  var n = "button", d = m(
6
6
  function(t) {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { u as q } from "./WJ7PHYH7-BWnh2QSF.js";
2
+ import { u as q } from "./PZ3OL7I2-Cfim3UGe.js";
3
3
  import { createContext as w, useState as B, useRef as D, useEffect as H } from "react";
4
- import { b as L, f as O, c as P, a as W, L as Y, B as _, Y as $, u as b, h as z, q as G, r as I } from "./US3TW2XI-DX1q1W_L.js";
5
- import { b as J } from "./Q3KUZPD7-CfUCRwV-.js";
4
+ import { b as L, f as O, c as P, a as W, L as Y, B as _, Y as $, u as b, h as z, q as G, r as I } from "./U6HHPQDW-CzxyP5H7.js";
5
+ import { b as J } from "./Q5W46E73-ClIlNE6g.js";
6
6
  import { jsx as K } from "react/jsx-runtime";
7
7
  var Q = w(!1), V = L(), X = V.useContext, A = "input";
8
8
  function g(n, r) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { r as q, f as H } from "./7PRQYBBV-D9IY4qtU.js";
3
- import { x as S, Q as J, s as K, g as X, y as Z } from "./US3TW2XI-DX1q1W_L.js";
4
- import { t as p, c as W, s as M, i as ee, g as U, a as h, d as te } from "./Q3KUZPD7-CfUCRwV-.js";
3
+ import { x as S, Q as J, s as K, g as X, y as Z } from "./U6HHPQDW-CzxyP5H7.js";
4
+ import { t as p, c as W, s as M, i as ee, g as U, a as h, d as te } from "./Q5W46E73-ClIlNE6g.js";
5
5
  function ne(t) {
6
6
  var i;
7
7
  const e = t.find((a) => !!a.element), o = [...t].reverse().find((a) => !!a.element);
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { g as e, k as r } from "./33YRLYNQ-D8tZ5okI.js";
3
- import { b as t } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { g as e, k as r } from "./WLZ6H5FH-6NScq2Y6.js";
3
+ import { b as t } from "./U6HHPQDW-CzxyP5H7.js";
4
4
  var o = t(
5
5
  [r],
6
6
  [e]
package/dist/Modal.js CHANGED
@@ -1,18 +1,18 @@
1
1
  "use client";
2
2
  import './Modal.css';
3
3
  import { jsx as t, jsxs as _ } from "react/jsx-runtime";
4
- import { b as K } from "./Q3KUZPD7-CfUCRwV-.js";
5
- import { D as L, u as Q } from "./2S4Q4M35-BtTn_beR.js";
4
+ import { b as K } from "./Q5W46E73-ClIlNE6g.js";
5
+ import { D as L, u as Q } from "./Z32PU2LQ-7OK4psIK.js";
6
6
  import { forwardRef as c, isValidElement as U, cloneElement as X, useState as Y, useEffect as Z } from "react";
7
7
  import { Window as i } from "./Window.js";
8
8
  import { c as r } from "./index-PAaZGbyz.js";
9
9
  import { f as N } from "./forwardRefWithAs-8eP3ZN15.js";
10
- import { D as $ } from "./C2LT7CSX-Bvyi0GRw.js";
10
+ import { D as $ } from "./OCCHVUS4-SwOpz56L.js";
11
11
  import { Icon as k } from "./Icon.js";
12
12
  import { Text as b } from "./Text.js";
13
13
  import { Checkbox as ee } from "./Checkbox.js";
14
14
  import { Field as oe } from "./Field.js";
15
- import { D as se } from "./GYHYTZZN-Xp0fZyyw.js";
15
+ import { D as se } from "./APVORPDK-DuBDzcfp.js";
16
16
  const te = "_root_1sqpb_3", ae = "_hideOnInteractOutside_1sqpb_19", re = "_dialog_1sqpb_130", d = {
17
17
  root: te,
18
18
  "asset-backdrop": "_asset-backdrop_1sqpb_8",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { c as p } from "./33YRLYNQ-D8tZ5okI.js";
3
- import { u as P } from "./J4DPQC5Y-96_qPACp.js";
4
- import { f as g, c as C, a as x, i as k, m as S, K as b, u as N, q as R } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { c as p } from "./WLZ6H5FH-6NScq2Y6.js";
3
+ import { u as P } from "./HMKTUWOU-NkVXWCyR.js";
4
+ import { f as g, c as C, a as x, i as k, m as S, K as b, u as N, q as R } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  import { useRef as w, useState as y, useEffect as B } from "react";
6
6
  var M = "button", O = Symbol("disclosure"), T = C(
7
7
  function({ store: e, toggleOnClick: o = !0, ...t }) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { a as l } from "./33YRLYNQ-D8tZ5okI.js";
3
- import { u } from "./J4DPQC5Y-96_qPACp.js";
4
- import { f as c, c as m, a as d, u as f } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { a as l } from "./WLZ6H5FH-6NScq2Y6.js";
3
+ import { u } from "./HMKTUWOU-NkVXWCyR.js";
4
+ import { f as c, c as m, a as d, u as f } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  import { useMemo as D } from "react";
6
6
  import { jsxs as x, jsx as n } from "react/jsx-runtime";
7
7
  var g = "button", h = m(
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as q, M as l, B as A, K as F, u as N, e as I, d as h, U as x, V as p, W as M, q as Y, X as H, f as L, a as V } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { c as q, M as l, B as A, K as F, u as N, e as I, d as h, U as x, V as p, W as M, q as Y, X as H, f as L, a as V } from "./U6HHPQDW-CzxyP5H7.js";
3
3
  import { useRef as T, useState as b, useEffect as W } from "react";
4
4
  var X = "button";
5
5
  function v(a) {
package/dist/Popover.js CHANGED
@@ -5,10 +5,10 @@ import { forwardRef as i } from "react";
5
5
  import { c as a } from "./index-PAaZGbyz.js";
6
6
  import { Button as N } from "./Button.js";
7
7
  import { Icon as k } from "./Icon.js";
8
- import { b as q } from "./Q3KUZPD7-CfUCRwV-.js";
9
- import { P as H, b as x } from "./NG75I6FS-DP8LcadD.js";
8
+ import { b as q } from "./Q5W46E73-ClIlNE6g.js";
9
+ import { P as H, b as x } from "./RFRKSHIZ-BMv-8lMI.js";
10
10
  import { f as p } from "./forwardRefWithAs-8eP3ZN15.js";
11
- import { e as y, f as C, g as T, h as $, P as A } from "./IAC2O6VC-Bk3bztmV.js";
11
+ import { e as y, f as C, g as T, h as $, P as A } from "./ECBEZ4YM-BlwWRwxN.js";
12
12
  const S = "_root_kqbt9_2", j = "_title_kqbt9_15", B = "_content_kqbt9_27", L = "_arrow_kqbt9_41", l = {
13
13
  root: S,
14
14
  title: j,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as rt, v as C, N as ot, O as ut, P as st, Q as $, I as at, R as it, S as ct, k as M, u as ft, T as lt } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { i as rt, v as C, N as ot, O as ut, P as st, Q as $, I as at, R as it, S as ct, k as M, u as ft, T as lt } from "./U6HHPQDW-CzxyP5H7.js";
3
3
  import * as I from "react";
4
4
  import J from "react";
5
5
  import { g as St } from "./index-PAaZGbyz.js";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { u as N, a as k, P as V } from "./MWF5B7KS-BwHRQwDi.js";
3
- import { b as S } from "./Q3KUZPD7-CfUCRwV-.js";
4
- import { c as h, i as $, j as W, q as y, r as R, k as O, J as H, w as M, f as p, a as P, u as T, h as _ } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { u as N, a as k, P as V } from "./JMU4N4M5-BRPvDp3v.js";
3
+ import { b as S } from "./Q5W46E73-ClIlNE6g.js";
4
+ import { c as h, i as $, j as W, q as y, r as R, k as O, J as H, w as M, f as p, a as P, u as T, h as _ } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  import { useMemo as b, useState as j } from "react";
6
6
  import { jsx as c, jsxs as I } from "react/jsx-runtime";
7
- import { u as L } from "./GYHYTZZN-Xp0fZyyw.js";
7
+ import { u as L } from "./APVORPDK-DuBDzcfp.js";
8
8
  var v = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z", U = "div", f = 30, i = f / 2, z = {
9
9
  top: `rotate(180 ${i} ${i})`,
10
10
  right: `rotate(-90 ${i} ${i})`,
package/dist/Radio.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import './Radio.css';
3
3
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
4
- import { R as f } from "./D7BWB6V7-a3HjPOg_.js";
4
+ import { R as f } from "./5TKKKQCL-B53p3Vri.js";
5
5
  import { forwardRef as w } from "react";
6
6
  import { Hint as N } from "./Hint.js";
7
7
  import { Label as v } from "./Label.js";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import './RadioGroup.css';
3
3
  import { jsx as c } from "react/jsx-runtime";
4
- import { c as h, u as x } from "./VEHC2EHR-BMk2-8Yl.js";
5
- import { c as G, u as _, a as $, b as y } from "./Q3KUZPD7-CfUCRwV-.js";
6
- import { x as d } from "./US3TW2XI-DX1q1W_L.js";
4
+ import { c as h, u as x } from "./IQYAUKXT-CMV5f3NE.js";
5
+ import { c as G, u as _, a as $, b as y } from "./Q5W46E73-ClIlNE6g.js";
6
+ import { x as d } from "./U6HHPQDW-CzxyP5H7.js";
7
7
  import { FieldGroup as L } from "./FieldGroup.js";
8
8
  import { Radio as N } from "./Radio.js";
9
9
  import { c as P } from "./index-PAaZGbyz.js";
package/dist/RadioTab.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import './RadioTab.css';
3
3
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
4
- import { R as u } from "./D7BWB6V7-a3HjPOg_.js";
4
+ import { R as u } from "./5TKKKQCL-B53p3Vri.js";
5
5
  import { forwardRef as b } from "react";
6
6
  import { Button as d } from "./Button.js";
7
7
  import { c as v } from "./index-PAaZGbyz.js";
package/dist/Tabs.js CHANGED
@@ -1,18 +1,18 @@
1
1
  "use client";
2
2
  import './Tabs.css';
3
3
  import { jsx as h, jsxs as V } from "react/jsx-runtime";
4
- import { T as $, b as F, a as R } from "./tab-panel-j7xVgkpE.js";
4
+ import { T as $, b as F, a as R } from "./tab-panel-BFzjhpJq.js";
5
5
  import T, { createContext as C, useMemo as W, forwardRef as _ } from "react";
6
6
  import { c as N } from "./index-PAaZGbyz.js";
7
- import { m as K, o as S, c as Q, s as p, d as u, g as U, u as O, a as y, b as D } from "./Q3KUZPD7-CfUCRwV-.js";
7
+ import { m as K, o as S, c as Q, s as p, d as u, g as U, u as O, a as y, b as D } from "./Q5W46E73-ClIlNE6g.js";
8
8
  import { Badge as G } from "./Badge.js";
9
9
  import { f as H } from "./forwardRefWithAs-8eP3ZN15.js";
10
10
  import { Icon as J } from "./Icon.js";
11
- import { P as X, b as Y } from "./MWF5B7KS-BwHRQwDi.js";
12
- import { C as Z, a as A } from "./FIT2LC3L-D7_i9cSG.js";
13
- import { b as ee, x as k, Q as z, y as P } from "./US3TW2XI-DX1q1W_L.js";
14
- import { c as te, a as ae, u as oe } from "./VEHC2EHR-BMk2-8Yl.js";
15
- import { a as se } from "./7P7IWEBR-DGEktSAM.js";
11
+ import { P as X, b as Y } from "./JMU4N4M5-BRPvDp3v.js";
12
+ import { C as Z, a as A } from "./WZWDIE3S-DDipnVYO.js";
13
+ import { b as ee, x as k, Q as z, y as P } from "./U6HHPQDW-CzxyP5H7.js";
14
+ import { c as te, a as ae, u as oe } from "./IQYAUKXT-CMV5f3NE.js";
15
+ import { a as se } from "./CVCFNOHX-CeUlkMgT.js";
16
16
  var re = ee(
17
17
  [Y, A],
18
18
  [X, Z]
package/dist/Toggle.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import './Toggle.css';
3
3
  import { jsxs as g, jsx as s } from "react/jsx-runtime";
4
- import { a as f } from "./7LQR24VD-BKovnxCC.js";
4
+ import { a as f } from "./I7KWAPMF-CuA_ygsc.js";
5
5
  import { forwardRef as h } from "react";
6
6
  import { useField as w } from "./Field.js";
7
7
  import { Icon as i } from "./Icon.js";
package/dist/Tooltip.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import './Tooltip.css';
3
3
  import { jsx as p, jsxs as k, Fragment as Q } from "react/jsx-runtime";
4
- import { H as W, a as Y, u as q, b as z, c as G, d as J } from "./IAC2O6VC-Bk3bztmV.js";
5
- import { b as K, f as A, c as V, a as R, i as I, h as U, A as P, t as X, Q as Z, u as y, x as b } from "./US3TW2XI-DX1q1W_L.js";
6
- import { c as ee } from "./2S4Q4M35-BtTn_beR.js";
7
- import { d as C, c as F, u as te, a as w, b as oe } from "./Q3KUZPD7-CfUCRwV-.js";
4
+ import { H as W, a as Y, u as q, b as z, c as G, d as J } from "./ECBEZ4YM-BlwWRwxN.js";
5
+ import { b as K, f as A, c as V, a as R, i as I, h as U, A as P, t as X, Q as Z, u as y, x as b } from "./U6HHPQDW-CzxyP5H7.js";
6
+ import { c as ee } from "./Z32PU2LQ-7OK4psIK.js";
7
+ import { d as C, c as F, u as te, a as w, b as oe } from "./Q5W46E73-ClIlNE6g.js";
8
8
  import ne, { useRef as re, useEffect as g, forwardRef as ae, useState as ie, useCallback as le } from "react";
9
9
  import { Text as H } from "./Text.js";
10
10
  import { c as ue } from "./index-PAaZGbyz.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import * as p from "react";
2
+ import * as v from "react";
3
3
  import { isValidElement as Tt, useMemo as O, useLayoutEffect as Ft, useEffect as g, useState as x, useCallback as ct, useReducer as At, useRef as P, createContext as It, useContext as St } from "react";
4
4
  import { jsx as h } from "react/jsx-runtime";
5
5
  function he(...t) {
@@ -127,23 +127,24 @@ function Me(t) {
127
127
  return t ? "self" in t ? t.self : F(t).defaultView || window : self;
128
128
  }
129
129
  function T(t, e = !1) {
130
- const { activeElement: n } = F(t);
131
- if (!(n != null && n.nodeName))
130
+ var n;
131
+ const { activeElement: r } = F(t);
132
+ if (!(r != null && r.nodeName))
132
133
  return null;
133
- if (k(n) && n.contentDocument)
134
+ if (k(r) && ((n = r.contentDocument) != null && n.body))
134
135
  return T(
135
- n.contentDocument.body,
136
+ r.contentDocument.body,
136
137
  e
137
138
  );
138
139
  if (e) {
139
- const r = n.getAttribute("aria-activedescendant");
140
- if (r) {
141
- const u = F(n).getElementById(r);
142
- if (u)
143
- return u;
140
+ const u = r.getAttribute("aria-activedescendant");
141
+ if (u) {
142
+ const o = F(r).getElementById(u);
143
+ if (o)
144
+ return o;
144
145
  }
145
146
  }
146
- return n;
147
+ return r;
147
148
  }
148
149
  function A(t, e) {
149
150
  return t === e || t.contains(e);
@@ -230,9 +231,9 @@ function qt(t) {
230
231
  function ke(t, e) {
231
232
  const n = t.map((u, o) => [o, u]);
232
233
  let r = !1;
233
- return n.sort(([u, o], [s, f]) => {
234
- const d = e(o), a = e(f);
235
- return d === a || !d || !a ? 0 : Ut(d, a) ? (u > s && (r = !0), -1) : (u < s && (r = !0), 1);
234
+ return n.sort(([u, o], [s, a]) => {
235
+ const l = e(o), c = e(a);
236
+ return l === c || !l || !c ? 0 : Ut(l, c) ? (u > s && (r = !0), -1) : (u < s && (r = !0), 1);
236
237
  }), r ? n.map(([u, o]) => o) : t;
237
238
  }
238
239
  function Ut(t, e) {
@@ -294,9 +295,9 @@ function Ht(t, e) {
294
295
  return !r || !A(n, r);
295
296
  }
296
297
  function D(t, e, n, r) {
297
- const o = ((f) => {
298
- const d = requestAnimationFrame(f);
299
- return () => cancelAnimationFrame(d);
298
+ const o = ((a) => {
299
+ const l = requestAnimationFrame(a);
300
+ return () => cancelAnimationFrame(l);
300
301
  })(() => {
301
302
  t.removeEventListener(e, s, !0), n();
302
303
  }), s = () => {
@@ -304,12 +305,12 @@ function D(t, e, n, r) {
304
305
  };
305
306
  return t.addEventListener(e, s, { once: !0, capture: !0 }), o;
306
307
  }
307
- function v(t, e, n, r = window) {
308
+ function p(t, e, n, r = window) {
308
309
  const u = [];
309
310
  try {
310
311
  r.document.addEventListener(t, e, n);
311
312
  for (const s of Array.from(r.frames))
312
- u.push(v(t, e, n, s));
313
+ u.push(p(t, e, n, s));
313
314
  } catch {
314
315
  }
315
316
  return () => {
@@ -321,7 +322,7 @@ function v(t, e, n, r = window) {
321
322
  s();
322
323
  };
323
324
  }
324
- var lt = { ...p }, Z = lt.useId, tt = lt.useInsertionEffect, R = C ? Ft : g;
325
+ var lt = { ...v }, Z = lt.useId, tt = lt.useInsertionEffect, R = C ? Ft : g;
325
326
  function Ge(t) {
326
327
  const [e] = x(t);
327
328
  return e;
@@ -424,7 +425,7 @@ function en(t, e, n) {
424
425
  var et = !1;
425
426
  function nn() {
426
427
  return g(() => {
427
- et || (v("mousemove", zt, !0), v("mousedown", S, !0), v("mouseup", S, !0), v("keydown", S, !0), v("scroll", S, !0), et = !0);
428
+ et || (p("mousemove", zt, !0), p("mousedown", S, !0), p("mouseup", S, !0), p("keydown", S, !0), p("scroll", S, !0), et = !0);
428
429
  }, []), m(() => _);
429
430
  }
430
431
  var _ = !1, nt = 0, rt = 0;
@@ -439,18 +440,25 @@ function S() {
439
440
  _ = !1;
440
441
  }
441
442
  function Jt(t) {
442
- const e = p.forwardRef((n, r) => t({ ...n, ref: r }));
443
+ const e = v.forwardRef(
444
+ // @ts-ignore Incompatible with React 19 types. Ignore for now.
445
+ (n, r) => t({ ...n, ref: r })
446
+ );
443
447
  return e.displayName = t.displayName || t.name, e;
444
448
  }
445
449
  function rn(t, e) {
446
- return p.memo(t, e);
450
+ return v.memo(t, e);
447
451
  }
448
452
  function Qt(t, e) {
449
453
  const { wrapElement: n, render: r, ...u } = e, o = B(e.ref, Ot(r));
450
454
  let s;
451
- if (p.isValidElement(r)) {
452
- const f = { ...r.props, ref: o };
453
- s = p.cloneElement(r, Vt(u, f));
455
+ if (v.isValidElement(r)) {
456
+ const a = {
457
+ // @ts-ignore Incompatible with React 19 types. Ignore for now.
458
+ ...r.props,
459
+ ref: o
460
+ };
461
+ s = v.cloneElement(r, Vt(u, a));
454
462
  } else r ? s = r(u) : s = /* @__PURE__ */ h(t, { ...u });
455
463
  return n ? n(s) : s;
456
464
  }
@@ -459,16 +467,16 @@ function Zt(t) {
459
467
  return e.displayName = t.name, e;
460
468
  }
461
469
  function on(t = [], e = []) {
462
- const n = p.createContext(void 0), r = p.createContext(void 0), u = () => p.useContext(n), o = (a = !1) => {
463
- const l = p.useContext(r), y = u();
464
- return a ? l : l || y;
470
+ const n = v.createContext(void 0), r = v.createContext(void 0), u = () => v.useContext(n), o = (c = !1) => {
471
+ const d = v.useContext(r), y = u();
472
+ return c ? d : d || y;
465
473
  }, s = () => {
466
- const a = p.useContext(r), l = u();
467
- if (!(a && a === l))
468
- return l;
469
- }, f = (a) => t.reduceRight(
470
- (l, y) => /* @__PURE__ */ h(y, { ...a, children: l }),
471
- /* @__PURE__ */ h(n.Provider, { ...a })
474
+ const c = v.useContext(r), d = u();
475
+ if (!(c && c === d))
476
+ return d;
477
+ }, a = (c) => t.reduceRight(
478
+ (d, y) => /* @__PURE__ */ h(y, { ...c, children: d }),
479
+ /* @__PURE__ */ h(n.Provider, { ...c })
472
480
  );
473
481
  return {
474
482
  context: n,
@@ -476,10 +484,10 @@ function on(t = [], e = []) {
476
484
  useContext: u,
477
485
  useScopedContext: o,
478
486
  useProviderContext: s,
479
- ContextProvider: f,
480
- ScopedContextProvider: (a) => /* @__PURE__ */ h(f, { ...a, children: e.reduceRight(
481
- (l, y) => /* @__PURE__ */ h(y, { ...a, children: l }),
482
- /* @__PURE__ */ h(r.Provider, { ...a })
487
+ ContextProvider: a,
488
+ ScopedContextProvider: (c) => /* @__PURE__ */ h(a, { ...c, children: e.reduceRight(
489
+ (d, y) => /* @__PURE__ */ h(y, { ...c, children: d }),
490
+ /* @__PURE__ */ h(r.Provider, { ...c })
483
491
  ) })
484
492
  };
485
493
  }
@@ -505,10 +513,10 @@ function W(t, e) {
505
513
  e && n.unshift(t);
506
514
  const r = n.filter(w);
507
515
  return r.forEach((u, o) => {
508
- if (k(u) && u.contentDocument) {
509
- const s = u.contentDocument.body;
510
- r.splice(o, 1, ...W(s));
511
- }
516
+ var s;
517
+ if (!k(u)) return;
518
+ const a = (s = u.contentDocument) == null ? void 0 : s.body;
519
+ a && r.splice(o, 1, ...W(a));
512
520
  }), r;
513
521
  }
514
522
  function q(t, e, n) {
@@ -516,14 +524,16 @@ function q(t, e, n) {
516
524
  t.querySelectorAll(N)
517
525
  ), u = r.filter(I);
518
526
  return e && I(t) && u.unshift(t), u.forEach((o, s) => {
519
- if (k(o) && o.contentDocument) {
520
- const f = o.contentDocument.body, d = q(
521
- f,
522
- !1,
523
- n
524
- );
525
- u.splice(s, 1, ...d);
526
- }
527
+ var a;
528
+ if (!k(o)) return;
529
+ const l = (a = o.contentDocument) == null ? void 0 : a.body;
530
+ if (!l) return;
531
+ const c = q(
532
+ l,
533
+ !1,
534
+ n
535
+ );
536
+ u.splice(s, 1, ...c);
527
537
  }), !u.length && n ? r : u;
528
538
  }
529
539
  function un(t, e, n) {
@@ -535,8 +545,8 @@ function un(t, e, n) {
535
545
  return r || null;
536
546
  }
537
547
  function ne(t, e, n, r) {
538
- const u = T(t), o = W(t, e), s = o.indexOf(u), f = o.slice(s + 1);
539
- return f.find(I) || (n ? o.find(I) : null) || (r ? f[0] : null) || null;
548
+ const u = T(t), o = W(t, e), s = o.indexOf(u), a = o.slice(s + 1);
549
+ return a.find(I) || (n ? o.find(I) : null) || (r ? a[0] : null) || null;
540
550
  }
541
551
  function sn(t, e) {
542
552
  return ne(
@@ -637,7 +647,7 @@ function de(t) {
637
647
  function be(t) {
638
648
  return t ? t === "button" || t === "input" || t === "select" || t === "textarea" : !0;
639
649
  }
640
- function pe(t, e, n, r, u) {
650
+ function ve(t, e, n, r, u) {
641
651
  return t ? e ? n && !r ? -1 : void 0 : n ? u : u || 0 : u;
642
652
  }
643
653
  function L(t, e) {
@@ -646,7 +656,7 @@ function L(t, e) {
646
656
  });
647
657
  }
648
658
  var at = !1, U = !0;
649
- function ve(t) {
659
+ function pe(t) {
650
660
  const e = t.target;
651
661
  e && "hasAttribute" in e && (e.hasAttribute("data-focus-visible") || (U = !1));
652
662
  }
@@ -663,96 +673,96 @@ var ge = Zt(
663
673
  }) {
664
674
  const s = P(null);
665
675
  g(() => {
666
- e && (at || (v("mousedown", ve, !0), v("keydown", me, !0), at = !0));
676
+ e && (at || (p("mousedown", pe, !0), p("keydown", me, !0), at = !0));
667
677
  }, [e]), ut && g(() => {
668
678
  if (!e) return;
669
679
  const i = s.current;
670
680
  if (!i || !st(i)) return;
671
- const c = le(i);
672
- if (!c) return;
681
+ const f = le(i);
682
+ if (!f) return;
673
683
  const b = () => queueMicrotask(() => i.focus());
674
- for (const E of c)
684
+ for (const E of f)
675
685
  E.addEventListener("mouseup", b);
676
686
  return () => {
677
- for (const E of c)
687
+ for (const E of f)
678
688
  E.removeEventListener("mouseup", b);
679
689
  };
680
690
  }, [e]);
681
- const f = e && Nt(o), d = !!f && !n, [a, l] = x(!1);
691
+ const a = e && Nt(o), l = !!a && !n, [c, d] = x(!1);
682
692
  g(() => {
683
- e && d && a && l(!1);
684
- }, [e, d, a]), g(() => {
685
- if (!e || !a) return;
693
+ e && l && c && d(!1);
694
+ }, [e, l, c]), g(() => {
695
+ if (!e || !c) return;
686
696
  const i = s.current;
687
697
  if (!i || typeof IntersectionObserver > "u") return;
688
- const c = new IntersectionObserver(() => {
689
- w(i) || l(!1);
698
+ const f = new IntersectionObserver(() => {
699
+ w(i) || d(!1);
690
700
  });
691
- return c.observe(i), () => c.disconnect();
692
- }, [e, a]);
701
+ return f.observe(i), () => f.disconnect();
702
+ }, [e, c]);
693
703
  const y = L(
694
704
  o.onKeyPressCapture,
695
- f
705
+ a
696
706
  ), bt = L(
697
707
  o.onMouseDownCapture,
698
- f
699
- ), pt = L(o.onClickCapture, f), j = o.onMouseDown, vt = m((i) => {
708
+ a
709
+ ), vt = L(o.onClickCapture, a), j = o.onMouseDown, pt = m((i) => {
700
710
  if (j == null || j(i), i.defaultPrevented || !e) return;
701
- const c = i.currentTarget;
702
- if (!ut || Gt(i) || !Kt(c) && !st(c)) return;
711
+ const f = i.currentTarget;
712
+ if (!ut || Gt(i) || !Kt(f) && !st(f)) return;
703
713
  let b = !1;
704
714
  const E = () => {
705
715
  b = !0;
706
716
  }, Ct = { capture: !0, once: !0 };
707
- c.addEventListener("focusin", E, Ct);
708
- const J = oe(c.parentElement);
709
- it(J, !0), D(c, "mouseup", () => {
710
- c.removeEventListener("focusin", E, !0), it(J, !1), !b && ie(c);
717
+ f.addEventListener("focusin", E, Ct);
718
+ const J = oe(f.parentElement);
719
+ it(J, !0), D(f, "mouseup", () => {
720
+ f.removeEventListener("focusin", E, !0), it(J, !1), !b && ie(f);
711
721
  });
712
- }), X = (i, c) => {
713
- if (c && (i.currentTarget = c), !e) return;
722
+ }), X = (i, f) => {
723
+ if (f && (i.currentTarget = f), !e) return;
714
724
  const b = i.currentTarget;
715
- b && ot(b) && (u == null || u(i), !i.defaultPrevented && (b.dataset.focusVisible = "true", l(!0)));
725
+ b && ot(b) && (u == null || u(i), !i.defaultPrevented && (b.dataset.focusVisible = "true", d(!0)));
716
726
  }, G = o.onKeyDownCapture, mt = m((i) => {
717
- if (G == null || G(i), i.defaultPrevented || !e || a || i.metaKey || i.altKey || i.ctrlKey || !Q(i)) return;
718
- const c = i.currentTarget;
719
- D(c, "focusout", () => X(i, c));
727
+ if (G == null || G(i), i.defaultPrevented || !e || c || i.metaKey || i.altKey || i.ctrlKey || !Q(i)) return;
728
+ const f = i.currentTarget;
729
+ D(f, "focusout", () => X(i, f));
720
730
  }), H = o.onFocusCapture, gt = m((i) => {
721
731
  if (H == null || H(i), i.defaultPrevented || !e) return;
722
732
  if (!Q(i)) {
723
- l(!1);
733
+ d(!1);
724
734
  return;
725
735
  }
726
- const c = i.currentTarget, b = () => X(i, c);
727
- U || fe(i.target) ? D(i.target, "focusout", b) : l(!1);
736
+ const f = i.currentTarget, b = () => X(i, f);
737
+ U || fe(i.target) ? D(i.target, "focusout", b) : d(!1);
728
738
  }), Y = o.onBlur, yt = m((i) => {
729
- Y == null || Y(i), e && Ht(i) && (i.currentTarget.removeAttribute("data-focus-visible"), l(!1));
739
+ Y == null || Y(i), e && Ht(i) && (i.currentTarget.removeAttribute("data-focus-visible"), d(!1));
730
740
  }), Et = St(te), ht = m((i) => {
731
741
  e && r && i && Et && queueMicrotask(() => {
732
742
  ot(i) || w(i) && i.focus();
733
743
  });
734
- }), $ = Yt(s), wt = e && de($), z = e && be($), M = o.style, xt = O(() => d ? { pointerEvents: "none", ...M } : M, [d, M]);
744
+ }), $ = Yt(s), wt = e && de($), z = e && be($), M = o.style, xt = O(() => l ? { pointerEvents: "none", ...M } : M, [l, M]);
735
745
  return o = {
736
- "data-focus-visible": e && a || void 0,
746
+ "data-focus-visible": e && c || void 0,
737
747
  "data-autofocus": r || void 0,
738
- "aria-disabled": f || void 0,
748
+ "aria-disabled": a || void 0,
739
749
  ...o,
740
750
  ref: B(s, ht, o.ref),
741
751
  style: xt,
742
- tabIndex: pe(
752
+ tabIndex: ve(
743
753
  e,
744
- d,
754
+ l,
745
755
  wt,
746
756
  z,
747
757
  o.tabIndex
748
758
  ),
749
- disabled: z && d ? !0 : void 0,
759
+ disabled: z && l ? !0 : void 0,
750
760
  // TODO: Test Focusable contentEditable.
751
- contentEditable: f ? void 0 : o.contentEditable,
761
+ contentEditable: a ? void 0 : o.contentEditable,
752
762
  onKeyPressCapture: y,
753
- onClickCapture: pt,
763
+ onClickCapture: vt,
754
764
  onMouseDownCapture: bt,
755
- onMouseDown: vt,
765
+ onMouseDown: pt,
756
766
  onKeyDownCapture: mt,
757
767
  onFocusCapture: gt,
758
768
  onBlur: yt
@@ -797,7 +807,7 @@ export {
797
807
  fn as a1,
798
808
  cn as a2,
799
809
  te as a3,
800
- v as a4,
810
+ p as a4,
801
811
  dn as a5,
802
812
  _t as a6,
803
813
  ft as a7,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { b as T, f as j, c as G, a as J, i as K, j as Q, k as f, h as X, q as Y, r as Z, x as v, y as ee } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { b as T, f as j, c as G, a as J, i as K, j as Q, k as f, h as X, q as Y, r as Z, x as v, y as ee } from "./U6HHPQDW-CzxyP5H7.js";
3
3
  import { createContext as w, useRef as te, useState as ne, useMemo as ae } from "react";
4
- import { b as F, m as oe, o as ie, t as re, c as se, s as E, d as b, e as ue, u as le, a as y } from "./Q3KUZPD7-CfUCRwV-.js";
4
+ import { b as F, m as oe, o as ie, t as re, c as se, s as E, d as b, e as ue, u as le, a as y } from "./Q5W46E73-ClIlNE6g.js";
5
5
  import { flushSync as ce } from "react-dom";
6
6
  import { jsx as I } from "react/jsx-runtime";
7
7
  var P = T(), M = P.useProviderContext, de = P.ContextProvider, me = P.ScopedContextProvider, S = T(
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { b as j, d as V, g as Ce, c as W, j as Y, S as ge, q as $, r as q, f as G, a as J, w as Ie, B as be, u as D, ag as xe, ah as F, e as p, af as Se, m as U, ai as we, aj as he, h as Pe, M as Ee, ak as Te } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { b as j, d as V, g as Ce, c as W, j as Y, S as ge, q as $, r as q, f as G, a as J, w as Ie, B as be, u as D, ag as xe, ah as F, e as p, af as Se, m as U, ai as we, aj as he, h as Pe, M as Ee, ak as Te } from "./U6HHPQDW-CzxyP5H7.js";
3
3
  import { createContext as Q, useRef as A, useEffect as ye, useContext as De, useCallback as Fe, useMemo as pe } from "react";
4
- import { u as Ae } from "./WJ7PHYH7-BWnh2QSF.js";
5
- import { f as ke } from "./Q3KUZPD7-CfUCRwV-.js";
4
+ import { u as Ae } from "./PZ3OL7I2-Cfim3UGe.js";
5
+ import { f as ke } from "./Q5W46E73-ClIlNE6g.js";
6
6
  import { jsx as Re } from "react/jsx-runtime";
7
7
  var x = j(), Le = x.useContext;
8
8
  x.useScopedContext;
package/dist/Window.js CHANGED
@@ -3,13 +3,15 @@ import './Window.css';
3
3
  import { jsx as r, jsxs as _ } from "react/jsx-runtime";
4
4
  import { c as d } from "./index-PAaZGbyz.js";
5
5
  import { f as b } from "./forwardRefWithAs-8eP3ZN15.js";
6
- import { forwardRef as l, useState as W } from "react";
7
- import { T as v, a as $, b as B } from "./tab-panel-j7xVgkpE.js";
6
+ import { forwardRef as l, useState as B } from "react";
7
+ import { T as g, a as j, b as A } from "./tab-panel-BFzjhpJq.js";
8
+ import { b as S } from "./Q5W46E73-ClIlNE6g.js";
9
+ import { Badge as H } from "./Badge.js";
8
10
  import { Icon as m } from "./Icon.js";
9
- import { Text as h } from "./Text.js";
10
- const g = "_root_1r7a4_2", j = "_header_1r7a4_11", A = "_media_1r7a4_125", c = {
11
- root: g,
12
- header: j,
11
+ import { Text as u } from "./Text.js";
12
+ const I = "_root_1r7a4_2", P = "_header_1r7a4_11", R = "_media_1r7a4_125", c = {
13
+ root: I,
14
+ header: P,
13
15
  "header-title": "_header-title_1r7a4_25",
14
16
  "header-tabs": "_header-tabs_1r7a4_31",
15
17
  "header-tab-item": "_header-tab-item_1r7a4_35",
@@ -17,122 +19,126 @@ const g = "_root_1r7a4_2", j = "_header_1r7a4_11", A = "_media_1r7a4_125", c = {
17
19
  "header-close-button": "_header-close-button_1r7a4_100",
18
20
  "header-actions": "_header-actions_1r7a4_118",
19
21
  "tab-panel": "_tab-panel_1r7a4_122",
20
- media: A,
22
+ media: R,
21
23
  "box-text": "_box-text_1r7a4_126",
22
24
  "size-xl": "_size-xl_1r7a4_141",
23
25
  "size-lg": "_size-lg_1r7a4_145",
24
26
  "size-md": "_size-md_1r7a4_149",
25
27
  "size-sm": "_size-sm_1r7a4_153",
26
28
  "size-xs": "_size-xs_1r7a4_157"
27
- }, H = d(c), u = l(
28
- ({ children: t, className: a, size: e = "md", ...s }, o) => /* @__PURE__ */ r("div", { className: H("body", `size-${e}`, a), ref: o, ...s, children: t })
29
+ }, k = d(c), h = l(
30
+ ({ children: t, className: e, size: a = "md", ...s }, o) => /* @__PURE__ */ r("div", { className: k("body", `size-${a}`, e), ref: o, ...s, children: t })
29
31
  );
30
- u.displayName = "Window.Body";
31
- const P = d(c), x = l(
32
- ({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r("div", { className: P("box-text", a), ref: s, ...e, children: t })
32
+ h.displayName = "Window.Body";
33
+ const L = d(c), p = l(
34
+ ({ children: t, className: e, ...a }, s) => /* @__PURE__ */ r("div", { className: L("box-text", e), ref: s, ...a, children: t })
33
35
  );
34
- x.displayName = "Window.BoxText";
35
- const n = d(c), p = ({
36
+ p.displayName = "Window.BoxText";
37
+ const n = d(c), x = ({
36
38
  "aria-label": t,
37
- className: a,
38
- icon: e,
39
+ className: e,
40
+ icon: a,
39
41
  onClick: s,
40
42
  ...o
41
43
  }) => /* @__PURE__ */ r(
42
44
  "button",
43
45
  {
44
46
  "aria-label": t,
45
- className: n("header-action-button", a),
47
+ className: n("header-action-button", e),
46
48
  onClick: s,
47
49
  type: "button",
48
50
  ...o,
49
- children: /* @__PURE__ */ r(m, { name: e })
51
+ children: /* @__PURE__ */ r(m, { name: a })
50
52
  }
51
53
  ), w = ({
52
54
  as: t,
53
- className: a,
54
- onClick: e
55
+ className: e,
56
+ onClick: a
55
57
  }) => /* @__PURE__ */ r(
56
- p,
58
+ x,
57
59
  {
58
60
  "aria-label": "Close window",
59
61
  as: t,
60
- className: n("header-close-button", a),
62
+ className: n("header-close-button", e),
61
63
  icon: "times",
62
- onClick: e
64
+ onClick: a
63
65
  }
64
- ), R = ({ children: t, store: a }) => /* @__PURE__ */ r($, { className: n("header-tabs"), store: a, children: t }), k = b(
65
- ({ as: t, children: a, icon: e, id: s, store: o, ...i }, T) => /* @__PURE__ */ _(
66
- v,
67
- {
68
- className: n("header-tab-item"),
69
- id: s,
70
- ref: T,
71
- render: t ? /* @__PURE__ */ r(t, {}) : void 0,
72
- store: o,
73
- ...i,
74
- children: [
75
- e ? /* @__PURE__ */ r(m, { name: e }) : null,
76
- /* @__PURE__ */ r(h, { variant: "label-sm", children: a })
77
- ]
78
- },
79
- s
80
- )
81
- ), I = ({ children: t, isClosable: a = !1, onClose: e }) => {
66
+ ), M = ({ children: t, store: e }) => /* @__PURE__ */ r(j, { className: n("header-tabs"), store: e, children: t }), O = b(
67
+ ({ as: t, badge: e, children: a, icon: s, id: o, store: i, ...T }, v) => {
68
+ const { selectedId: W } = S(i), $ = W === o;
69
+ return /* @__PURE__ */ _(
70
+ g,
71
+ {
72
+ className: n("header-tab-item"),
73
+ id: o,
74
+ ref: v,
75
+ render: t ? /* @__PURE__ */ r(t, {}) : void 0,
76
+ store: i,
77
+ ...T,
78
+ children: [
79
+ s ? /* @__PURE__ */ r(m, { name: s }) : null,
80
+ /* @__PURE__ */ r(u, { variant: "label-sm", children: a }),
81
+ e ? /* @__PURE__ */ r(H, { variant: $ ? "neutral" : "warm", children: e }) : null
82
+ ]
83
+ },
84
+ o
85
+ );
86
+ }
87
+ ), E = ({ children: t, isClosable: e = !1, onClose: a }) => {
82
88
  const s = () => {
83
- e == null || e();
89
+ a == null || a();
84
90
  };
85
91
  return /* @__PURE__ */ _("div", { className: n("header-actions"), children: [
86
92
  t,
87
- a ? /* @__PURE__ */ r(w, { onClick: s }) : null
93
+ e ? /* @__PURE__ */ r(w, { onClick: s }) : null
88
94
  ] });
89
- }, L = ({ isExpandable: t = !1, onExpandChange: a }) => {
90
- const [e, s] = W(!1), o = () => {
91
- const i = !e;
92
- s(i), a == null || a(i);
95
+ }, q = ({ isExpandable: t = !1, onExpandChange: e }) => {
96
+ const [a, s] = B(!1), o = () => {
97
+ const i = !a;
98
+ s(i), e == null || e(i);
93
99
  };
94
100
  return /* @__PURE__ */ r("div", { className: n("header-actions"), children: t ? /* @__PURE__ */ r(
95
101
  "button",
96
102
  {
97
- "aria-expanded": e,
98
- "aria-label": e ? "Collapse window" : "Expand window",
103
+ "aria-expanded": a,
104
+ "aria-label": a ? "Collapse window" : "Expand window",
99
105
  className: n("header-action-button"),
100
106
  onClick: o,
101
107
  type: "button",
102
- children: /* @__PURE__ */ r(m, { name: e ? "compress-alt" : "arrow-resize-diagonal" })
108
+ children: /* @__PURE__ */ r(m, { name: a ? "compress-alt" : "arrow-resize-diagonal" })
103
109
  }
104
110
  ) : null });
105
- }, M = ({ as: t, className: a, title: e }) => /* @__PURE__ */ r(h, { as: t, className: n("header-title", a), variant: "body-md-strong", children: e }), N = l(
106
- ({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r("header", { className: n("header", a), ref: s, ...e, children: t })
111
+ }, D = ({ as: t, className: e, title: a }) => /* @__PURE__ */ r(u, { as: t, className: n("header-title", e), variant: "body-md-strong", children: a }), N = l(
112
+ ({ children: t, className: e, ...a }, s) => /* @__PURE__ */ r("header", { className: n("header", e), ref: s, ...a, children: t })
107
113
  );
108
114
  N.displayName = "Window.Header";
109
- const O = Object.assign(N, {
110
- Button: p,
115
+ const F = Object.assign(N, {
116
+ Button: x,
111
117
  CloseButton: w,
112
- LeftActions: L,
113
- RightActions: I,
114
- Tab: k,
115
- Tabs: R,
116
- Title: M
117
- }), S = d(c), f = l(
118
- ({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r("div", { className: S("media", a), ref: s, ...e, children: t })
118
+ LeftActions: q,
119
+ RightActions: E,
120
+ Tab: O,
121
+ Tabs: M,
122
+ Title: D
123
+ }), G = d(c), f = l(
124
+ ({ children: t, className: e, ...a }, s) => /* @__PURE__ */ r("div", { className: G("media", e), ref: s, ...a, children: t })
119
125
  );
120
126
  f.displayName = "Window.Media";
121
- const E = d(c), y = l(
122
- ({ children: t, store: a, tabId: e, ...s }, o) => /* @__PURE__ */ r(B, { className: E("tab-panel"), ref: o, store: a, tabId: e, ...s, children: t })
127
+ const J = d(c), y = l(
128
+ ({ children: t, store: e, tabId: a, ...s }, o) => /* @__PURE__ */ r(A, { className: J("tab-panel"), ref: o, store: e, tabId: a, ...s, children: t })
123
129
  );
124
130
  y.displayName = "Window.TabPanel";
125
- const q = d(c), z = b(
126
- ({ as: t = "div", children: a, className: e, role: s = "region", ...o }, i) => /* @__PURE__ */ r(t, { className: q("root", e), ref: i, role: s, ...o, children: a })
131
+ const K = d(c), z = b(
132
+ ({ as: t = "div", children: e, className: a, role: s = "region", ...o }, i) => /* @__PURE__ */ r(t, { className: K("root", a), ref: i, role: s, ...o, children: e })
127
133
  );
128
134
  z.displayName = "Window";
129
- const V = Object.assign(z, {
130
- Body: u,
131
- BoxText: x,
132
- Header: O,
135
+ const te = Object.assign(z, {
136
+ Body: h,
137
+ BoxText: p,
138
+ Header: F,
133
139
  Media: f,
134
140
  TabPanel: y
135
141
  });
136
142
  export {
137
- V as Window
143
+ te as Window
138
144
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { createContext as yt, useRef as R, useContext as Pt, useState as q, useEffect as w, useCallback as at, useMemo as ge, isValidElement as ve } from "react";
3
- import { c as J, f as O, a as j, q as zt, k as N, Z as It, g as P, h as z, _ as U, $ as ft, a0 as Ot, a1 as he, a2 as me, a3 as be, a4 as xt, Q as I, t as A, u as Gt, a5 as Ee, a6 as pe, Y as ye, J as Jt, a7 as Pe, a8 as xe, R as dt, a9 as De, aa as we, j as Se, ab as Kt, M as Fe, m as gt, ac as Ae, ad as Z, X as Te, V as Ce, ae as Le, af as Re } from "./US3TW2XI-DX1q1W_L.js";
3
+ import { c as J, f as O, a as j, q as zt, k as N, Z as It, g as P, h as z, _ as U, $ as ft, a0 as Ot, a1 as he, a2 as me, a3 as be, a4 as xt, Q as I, t as A, u as Gt, a5 as Ee, a6 as pe, Y as ye, J as Jt, a7 as Pe, a8 as xe, R as dt, a9 as De, aa as we, j as Se, ab as Kt, M as Fe, m as gt, ac as Ae, ad as Z, X as Te, V as Ce, ae as Le, af as Re } from "./U6HHPQDW-CzxyP5H7.js";
4
4
  import { createPortal as kt, flushSync as Ne } from "react-dom";
5
5
  import { jsx as E, jsxs as it, Fragment as st } from "react/jsx-runtime";
6
- import { b as _, d as Me, u as Ve } from "./Q3KUZPD7-CfUCRwV-.js";
7
- import { u as He, d as Qt, e as $e, f as _e, b as Dt, i as Ie, g as Oe, h as ke, j as Be } from "./33YRLYNQ-D8tZ5okI.js";
6
+ import { b as _, d as Me, u as Ve } from "./Q5W46E73-ClIlNE6g.js";
7
+ import { u as He, d as Qt, e as $e, f as _e, b as Dt, i as Ie, g as Oe, h as ke, j as Be } from "./WLZ6H5FH-6NScq2Y6.js";
8
8
  var Bt = yt(null), qe = "span", Ut = J(
9
9
  function(e) {
10
10
  return e = {
@@ -245,7 +245,7 @@ function Qe(t, e) {
245
245
  };
246
246
  }
247
247
  function Ue(t) {
248
- const e = R();
248
+ const e = R(null);
249
249
  return w(() => {
250
250
  if (!t) {
251
251
  e.current = null;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { e as W, g as v, s as X, i as w, a as J, h as Q, j as Y } from "./FIT2LC3L-D7_i9cSG.js";
3
- import { c as Z, i as $, al as ee, am as te, k as B, an as E, p as ne, ab as re, u as F, e as I, m as ie, d as H, h as ae, q as ue, X as oe, ao as ce, f as le, a as se } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { e as W, g as v, s as X, i as w, a as J, h as Q, j as Y } from "./WZWDIE3S-DDipnVYO.js";
3
+ import { c as Z, i as $, al as ee, am as te, k as B, an as E, p as ne, ab as re, u as F, e as I, m as ie, d as H, h as ae, q as ue, X as oe, ao as ce, f as le, a as se } from "./U6HHPQDW-CzxyP5H7.js";
4
4
  import { f as fe, r as de } from "./7PRQYBBV-D9IY4qtU.js";
5
5
  import { useRef as R, useEffect as M, useState as me, useCallback as ve } from "react";
6
6
  import { jsx as ge } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { C as q, a as B, c as V, b as X, d as z } from "./FIT2LC3L-D7_i9cSG.js";
3
- import { b as w } from "./Q3KUZPD7-CfUCRwV-.js";
4
- import { b as G, w as J, f as N, c as k, a as _, i as R, j as H, B as Q, u as L, h as K, a9 as U, q as Y, X as Z } from "./US3TW2XI-DX1q1W_L.js";
2
+ import { C as q, a as B, c as V, b as X, d as z } from "./WZWDIE3S-DDipnVYO.js";
3
+ import { b as w } from "./Q5W46E73-ClIlNE6g.js";
4
+ import { b as G, w as J, f as N, c as k, a as _, i as R, j as H, B as Q, u as L, h as K, a9 as U, q as Y, X as Z } from "./U6HHPQDW-CzxyP5H7.js";
5
5
  import { useCallback as O, useRef as W, useEffect as M, useState as p } from "react";
6
6
  import { jsx as D } from "react/jsx-runtime";
7
- import { u as ee } from "./E7PWFDGB-2yv3Gy1s.js";
8
- import { u as te, d as ne } from "./33YRLYNQ-D8tZ5okI.js";
7
+ import { u as ee } from "./ZMWF7ASR-BGZQn0ZB.js";
8
+ import { u as te, d as ne } from "./WLZ6H5FH-6NScq2Y6.js";
9
9
  var A = G(
10
10
  [B],
11
11
  [q]
@@ -24,6 +24,7 @@ export interface HeaderRightActionsOptions {
24
24
  }
25
25
  export type HeaderRightActionsProps = MergeProps<PropsWithChildren<HTMLAttributes<HTMLDivElement>>, HeaderRightActionsOptions>;
26
26
  export type HeaderTabItem = TabProps & {
27
+ badge?: number | React.ReactElement | string;
27
28
  icon?: IconName;
28
29
  id: string;
29
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "10.1.6",
3
+ "version": "10.1.8",
4
4
  "description": "Customizable design system with react, typescript, tailwindcss and ariakit.",
5
5
  "files": [
6
6
  "dist"
@@ -59,7 +59,7 @@
59
59
  "url": "https://github.com/WTTJ/welcome-ui/issues"
60
60
  },
61
61
  "dependencies": {
62
- "@ariakit/react": "0.4.20",
62
+ "@ariakit/react": "0.4.23",
63
63
  "@emotion/is-prop-valid": "^1.4.0",
64
64
  "@juggle/resize-observer": "^3.4.0",
65
65
  "copy-to-clipboard": "^3.3.3",