@koide-labs/ui 0.1.3 → 0.1.4

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 (109) hide show
  1. package/README.md +1 -4
  2. package/dist/{InternalBackdrop-BSMKU-hc.js → InternalBackdrop-DDLgWc7D.js} +1 -1
  3. package/dist/accordion.css +1 -1
  4. package/dist/alert-dialog.css +1 -1
  5. package/dist/anchor.css +1 -1
  6. package/dist/avatar.css +1 -1
  7. package/dist/badge.css +1 -1
  8. package/dist/button.css +1 -1
  9. package/dist/checkbox.css +1 -1
  10. package/dist/code.css +1 -1
  11. package/dist/collapse.css +1 -1
  12. package/dist/command.css +1 -1
  13. package/dist/components/accordion/accordion.js +88 -88
  14. package/dist/components/alert-dialog/alert-dialog.js +7 -7
  15. package/dist/components/anchor/anchor.js +6 -6
  16. package/dist/components/avatar/avatar.js +22 -22
  17. package/dist/components/badge/badge.js +17 -17
  18. package/dist/components/button/button.js +7 -7
  19. package/dist/components/checkbox/checkbox.js +15 -15
  20. package/dist/components/code/code.js +49 -49
  21. package/dist/components/collapse/collapse.js +3 -3
  22. package/dist/components/command/command.js +121 -121
  23. package/dist/components/context-menu/context-menu.js +13 -13
  24. package/dist/components/dialog/dialog.js +2 -2
  25. package/dist/components/heading/heading.js +5 -5
  26. package/dist/components/icon/icon.js +10 -10
  27. package/dist/components/icon-button/icon-button.js +15 -15
  28. package/dist/components/inline-code/inline-code.js +7 -7
  29. package/dist/components/input/input.js +1 -1
  30. package/dist/components/meter/meter.js +32 -32
  31. package/dist/components/multiline-input/multiline-input.js +1 -1
  32. package/dist/components/number-input/number-input.js +60 -60
  33. package/dist/components/password-input/password-input.js +6 -6
  34. package/dist/components/pill/pill.js +10 -10
  35. package/dist/components/popover/popover.js +22 -22
  36. package/dist/components/preview-card/preview-card.js +5 -5
  37. package/dist/components/radio-group/radio-group.js +99 -99
  38. package/dist/components/search-bar/search-bar.js +10 -10
  39. package/dist/components/select/select.js +76 -76
  40. package/dist/components/separator/index.js +1 -1
  41. package/dist/components/separator/separator.js +1 -1
  42. package/dist/components/slider/slider.js +146 -146
  43. package/dist/components/spinner/spinner.js +6 -6
  44. package/dist/components/stacked-avatars/stacked-avatars.js +25 -25
  45. package/dist/components/status-banner/status-banner.js +20 -20
  46. package/dist/components/surface/surface.js +19 -19
  47. package/dist/components/switch/switch.js +2 -2
  48. package/dist/components/tabs/tabs.js +34 -34
  49. package/dist/components/text/text.js +22 -22
  50. package/dist/components/timestamp/timestamp.js +73 -73
  51. package/dist/components/toaster/toaster.js +58 -58
  52. package/dist/components/tooltip/index.js +1 -1
  53. package/dist/components/tooltip/tooltip.js +2 -2
  54. package/dist/components/view/view.js +44 -44
  55. package/dist/context-menu.css +1 -1
  56. package/dist/dialog.css +1 -1
  57. package/dist/{dialog.module-1PAL873u.js → dialog.module-CRiRBcbM.js} +37 -37
  58. package/dist/{getDisabledMountTransitionStyles-E2x-_lte.js → getDisabledMountTransitionStyles-CyEI2117.js} +1 -1
  59. package/dist/heading.css +1 -1
  60. package/dist/icon-button.css +1 -1
  61. package/dist/icon.css +1 -1
  62. package/dist/index.css +1 -1
  63. package/dist/index.js +2 -2
  64. package/dist/index2.css +1 -1
  65. package/dist/inline-code.css +1 -1
  66. package/dist/input.css +1 -1
  67. package/dist/input.module-CYcyDtrO.js +8 -0
  68. package/dist/integrations/react-markdown/index.js +26 -26
  69. package/dist/integrations/twemoji/index.js +1 -1
  70. package/dist/meter.css +1 -1
  71. package/dist/number-input.css +1 -1
  72. package/dist/password-input.css +1 -1
  73. package/dist/pill.css +1 -1
  74. package/dist/popover.css +1 -1
  75. package/dist/preview-card.css +1 -1
  76. package/dist/radio-group.css +1 -1
  77. package/dist/{safePolygon-DnkzOIur.js → safePolygon-lAEp2rci.js} +1 -1
  78. package/dist/search-bar.css +1 -1
  79. package/dist/select.css +1 -1
  80. package/dist/{separator-DgY7BjjO.js → separator-Or-BDQYZ.js} +14 -14
  81. package/dist/separator.css +1 -1
  82. package/dist/slider.css +1 -1
  83. package/dist/spinner.css +1 -1
  84. package/dist/stacked-avatars.css +1 -1
  85. package/dist/status-banner.css +1 -1
  86. package/dist/styles/core.css +1 -1
  87. package/dist/surface.css +1 -1
  88. package/dist/switch.css +1 -1
  89. package/dist/tabs.css +1 -1
  90. package/dist/text.css +1 -1
  91. package/dist/timestamp.css +1 -1
  92. package/dist/toaster.css +1 -1
  93. package/dist/{tooltip-BJQPwudf.js → tooltip-JPnUwFFR.js} +6 -6
  94. package/dist/tooltip.css +1 -1
  95. package/dist/transitions.css +1 -1
  96. package/dist/{transitions.module-D9mMAtfI.js → transitions.module-SSNmQfsR.js} +43 -43
  97. package/dist/{useRole-BD3OL1rr.js → useRole-D1k7CnHQ.js} +1 -1
  98. package/dist/{useSyncedFloatingRootContext-BB1vwkV-.js → useSyncedFloatingRootContext-CaohymZI.js} +1 -1
  99. package/dist/{useTypeahead-BiL5IAVb.js → useTypeahead-CSZtonjF.js} +2 -2
  100. package/dist/view.css +1 -1
  101. package/dist/view.module-j3ylJCCE.js +6 -0
  102. package/dist/view2.css +1 -1
  103. package/package.json +17 -19
  104. package/dist/components/dialog/dialog.types.js +0 -1
  105. package/dist/components/icon/icon.types.js +0 -1
  106. package/dist/components/surface/surface.types.js +0 -1
  107. package/dist/components/view/view.types.js +0 -1
  108. package/dist/input.module-CtE19OH8.js +0 -8
  109. package/dist/view.module-CjopAf_0.js +0 -6
@@ -1,12 +1,12 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { c as o } from "../../clsx-OuTLNxxd.js";
3
- import { View as i } from "../view/view.js";
4
- import { Icon as s } from "../icon/icon.js";
5
- import '../../spinner.css';const m = "_spinner_16nxb_2", p = {
2
+ import { c as e } from "../../clsx-OuTLNxxd.js";
3
+ import { View as s } from "../view/view.js";
4
+ import { Icon as i } from "../icon/icon.js";
5
+ import '../../spinner.css';const m = "_spinner_s5ov8_3", p = {
6
6
  spinner: m
7
7
  };
8
- function f({ className: r, ...e }) {
9
- return /* @__PURE__ */ n(i, { className: o(p.spinner, r), ...e, children: /* @__PURE__ */ n(s, { name: "loader-2-line" }) });
8
+ function f({ className: r, ...o }) {
9
+ return /* @__PURE__ */ n(s, { className: e(p.spinner, r), ...o, children: /* @__PURE__ */ n(i, { name: "loader-2-line" }) });
10
10
  }
11
11
  export {
12
12
  f as Spinner
@@ -1,42 +1,42 @@
1
- import { jsx as t, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
2
  import { c as v } from "../../clsx-OuTLNxxd.js";
3
- import { T as x } from "../../tooltip-BJQPwudf.js";
3
+ import { T as b } from "../../tooltip-JPnUwFFR.js";
4
4
  import { View as r } from "../view/view.js";
5
5
  import { Avatar as o } from "../avatar/avatar.js";
6
6
  import { Text as k } from "../text/text.js";
7
7
  import '../../stacked-avatars.css';const a = {
8
- "stacked-avatars": "_stacked-avatars_qhxl3_2",
9
- "stacked-avatars__avatar": "_stacked-avatars__avatar_qhxl3_8",
10
- "stacked-avatars__avatar_color": "_stacked-avatars__avatar_color_qhxl3_13",
11
- "stacked-avatars__visible": "_stacked-avatars__visible_qhxl3_17",
12
- "stacked-avatars__visible_size_sm": "_stacked-avatars__visible_size_sm_qhxl3_35",
13
- "stacked-avatars__visible_size_md": "_stacked-avatars__visible_size_md_qhxl3_39",
14
- "stacked-avatars__visible_size_lg": "_stacked-avatars__visible_size_lg_qhxl3_43",
15
- "stacked-avatars__visible_size_xl": "_stacked-avatars__visible_size_xl_qhxl3_47",
16
- "stacked-avatars__visible_size_2xl": "_stacked-avatars__visible_size_2xl_qhxl3_51",
17
- "stacked-avatars__visible_size_3xl": "_stacked-avatars__visible_size_3xl_qhxl3_55",
18
- "stacked-avatars__tooltip-content": "_stacked-avatars__tooltip-content_qhxl3_60",
19
- "stacked-avatars__tooltip-user": "_stacked-avatars__tooltip-user_qhxl3_70",
20
- "stacked-avatars__tooltip-text": "_stacked-avatars__tooltip-text_qhxl3_78"
8
+ "stacked-avatars": "_stacked-avatars_1bugq_3",
9
+ "stacked-avatars__avatar": "_stacked-avatars__avatar_1bugq_9",
10
+ "stacked-avatars__avatar_color": "_stacked-avatars__avatar_color_1bugq_14",
11
+ "stacked-avatars__visible": "_stacked-avatars__visible_1bugq_18",
12
+ "stacked-avatars__visible_size_sm": "_stacked-avatars__visible_size_sm_1bugq_36",
13
+ "stacked-avatars__visible_size_md": "_stacked-avatars__visible_size_md_1bugq_40",
14
+ "stacked-avatars__visible_size_lg": "_stacked-avatars__visible_size_lg_1bugq_44",
15
+ "stacked-avatars__visible_size_xl": "_stacked-avatars__visible_size_xl_1bugq_48",
16
+ "stacked-avatars__visible_size_2xl": "_stacked-avatars__visible_size_2xl_1bugq_52",
17
+ "stacked-avatars__visible_size_3xl": "_stacked-avatars__visible_size_3xl_1bugq_56",
18
+ "stacked-avatars__tooltip-content": "_stacked-avatars__tooltip-content_1bugq_61",
19
+ "stacked-avatars__tooltip-user": "_stacked-avatars__tooltip-user_1bugq_71",
20
+ "stacked-avatars__tooltip-text": "_stacked-avatars__tooltip-text_1bugq_79"
21
21
  };
22
- function f({
22
+ function q({
23
23
  users: s,
24
24
  visibleUsers: e = 3,
25
25
  size: d = "md"
26
26
  }) {
27
27
  return /* @__PURE__ */ t(
28
- x,
28
+ b,
29
29
  {
30
30
  className: a["stacked-avatars__tooltip-content"],
31
- trigger: /* @__PURE__ */ c(r, { className: a["stacked-avatars"], children: [
32
- s.slice(0, e).map(({ color: l, className: i, ..._ }, m) => /* @__PURE__ */ t(r, { color: l, children: /* @__PURE__ */ t(
31
+ trigger: /* @__PURE__ */ l(r, { className: a["stacked-avatars"], children: [
32
+ s.slice(0, e).map(({ color: i, className: c, ..._ }, m) => /* @__PURE__ */ t(r, { color: i, children: /* @__PURE__ */ t(
33
33
  o,
34
34
  {
35
35
  size: d,
36
36
  className: v(
37
37
  a["stacked-avatars__avatar"],
38
38
  a["stacked-avatars__avatar_color"],
39
- i
39
+ c
40
40
  ),
41
41
  style: { zIndex: m },
42
42
  ..._
@@ -50,23 +50,23 @@ function f({
50
50
  a[`stacked-avatars__visible_size_${d}`]
51
51
  ),
52
52
  style: { zIndex: e + 1 },
53
- children: /* @__PURE__ */ c(k, { size: "sm", children: [
53
+ children: /* @__PURE__ */ l(k, { size: "sm", children: [
54
54
  "+",
55
55
  s.length - e
56
56
  ] })
57
57
  }
58
58
  )
59
59
  ] }),
60
- children: s.map(({ color: l, className: i, ..._ }) => /* @__PURE__ */ c(
60
+ children: s.map(({ color: i, className: c, ..._ }) => /* @__PURE__ */ l(
61
61
  r,
62
62
  {
63
- color: l,
63
+ color: i,
64
64
  className: a["stacked-avatars__tooltip-user"],
65
65
  children: [
66
66
  /* @__PURE__ */ t(
67
67
  o,
68
68
  {
69
- className: v(a["stacked-avatars__avatar_color"], i),
69
+ className: v(a["stacked-avatars__avatar_color"], c),
70
70
  ..._,
71
71
  size: "sm"
72
72
  },
@@ -88,5 +88,5 @@ function f({
88
88
  );
89
89
  }
90
90
  export {
91
- f as StackedAvatars
91
+ q as StackedAvatars
92
92
  };
@@ -3,16 +3,16 @@ import { c as b } from "../../clsx-OuTLNxxd.js";
3
3
  import { View as i } from "../view/view.js";
4
4
  import { Icon as d } from "../icon/icon.js";
5
5
  import { Heading as p } from "../heading/heading.js";
6
- import { Text as y } from "../text/text.js";
6
+ import { Text as x } from "../text/text.js";
7
7
  import '../../status-banner.css';const t = {
8
- "status-banner": "_status-banner_1ci6y_2",
9
- "status-banner_variant_neutral": "_status-banner_variant_neutral_1ci6y_15",
10
- "status-banner_variant_colorway": "_status-banner_variant_colorway_1ci6y_21",
11
- "status-banner_size_md": "_status-banner_size_md_1ci6y_27",
12
- "status-banner_size_lg": "_status-banner_size_lg_1ci6y_33",
13
- "status-banner__content": "_status-banner__content_1ci6y_39",
14
- "status-banner__description": "_status-banner__description_1ci6y_45",
15
- "status-banner__close": "_status-banner__close_1ci6y_50"
8
+ "status-banner": "_status-banner_x87er_3",
9
+ "status-banner_variant_neutral": "_status-banner_variant_neutral_x87er_16",
10
+ "status-banner_variant_colorway": "_status-banner_variant_colorway_x87er_22",
11
+ "status-banner_size_md": "_status-banner_size_md_x87er_28",
12
+ "status-banner_size_lg": "_status-banner_size_lg_x87er_34",
13
+ "status-banner__content": "_status-banner__content_x87er_40",
14
+ "status-banner__description": "_status-banner__description_x87er_46",
15
+ "status-banner__close": "_status-banner__close_x87er_51"
16
16
  }, a = {
17
17
  md: {
18
18
  icon: "md",
@@ -25,40 +25,40 @@ import '../../status-banner.css';const t = {
25
25
  description: "md"
26
26
  }
27
27
  };
28
- function w({
28
+ function y({
29
29
  color: e,
30
30
  icon: r,
31
- title: c,
32
- description: o,
31
+ title: o,
32
+ description: l,
33
33
  size: n = "lg",
34
- render: l,
35
- className: u,
34
+ render: u,
35
+ className: c,
36
36
  ...m
37
37
  }) {
38
38
  return /* @__PURE__ */ _(
39
39
  i,
40
40
  {
41
- render: l,
41
+ render: u,
42
42
  ...m,
43
43
  color: e,
44
44
  className: b(
45
45
  t["status-banner"],
46
46
  t[`status-banner_size_${n}`],
47
47
  e ? t["status-banner_variant_colorway"] : t["status-banner_variant_neutral"],
48
- u
48
+ c
49
49
  ),
50
50
  children: [
51
51
  r ? /* @__PURE__ */ s(d, { name: r, size: a[n].icon }) : null,
52
52
  /* @__PURE__ */ _(i, { className: t["status-banner__content"], children: [
53
- /* @__PURE__ */ s(p, { level: 1, size: a[n].title, color: "inherit", children: c }),
53
+ /* @__PURE__ */ s(p, { level: 1, size: a[n].title, color: "inherit", children: o }),
54
54
  /* @__PURE__ */ s(
55
- y,
55
+ x,
56
56
  {
57
57
  className: t["status-banner__description"],
58
58
  multiline: !0,
59
59
  size: a[n].description,
60
60
  color: "inherit",
61
- children: o
61
+ children: l
62
62
  }
63
63
  )
64
64
  ] })
@@ -67,5 +67,5 @@ function w({
67
67
  );
68
68
  }
69
69
  export {
70
- w as StatusBanner
70
+ y as StatusBanner
71
71
  };
@@ -1,36 +1,36 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { c as f } from "../../clsx-OuTLNxxd.js";
2
+ import { c as u } from "../../clsx-OuTLNxxd.js";
3
3
  import { createContext as i, useContext as h } from "react";
4
4
  import { View as l } from "../view/view.js";
5
- import '../../surface.css';const _ = "_surface_1ju4v_2", u = {
6
- surface: _,
7
- "surface--root": "_surface--root_1ju4v_6",
8
- "surface--default": "_surface--default_1ju4v_14",
9
- "surface--higher": "_surface--higher_1ju4v_22",
10
- "surface--highest": "_surface--highest_1ju4v_30"
11
- }, s = i(0);
12
- function p({ background: e, elevated: r, className: c, ...n }) {
13
- let t = h(s);
14
- return e ? t = v(e) : r && t++, /* @__PURE__ */ a(s.Provider, { value: t, children: /* @__PURE__ */ a(
5
+ import '../../surface.css';const m = "_surface_4hgme_3", s = {
6
+ surface: m,
7
+ "surface--root": "_surface--root_4hgme_7",
8
+ "surface--default": "_surface--default_4hgme_15",
9
+ "surface--higher": "_surface--higher_4hgme_23",
10
+ "surface--highest": "_surface--highest_4hgme_31"
11
+ }, c = i(0);
12
+ function C({ background: e, elevated: r, className: n, ...f }) {
13
+ let t = h(c);
14
+ return e ? t = _(e) : r && t++, /* @__PURE__ */ a(c.Provider, { value: t, children: /* @__PURE__ */ a(
15
15
  l,
16
16
  {
17
- className: f(
18
- u.surface,
19
- u[`surface--${m(t)}`],
20
- c
17
+ className: u(
18
+ s.surface,
19
+ s[`surface--${g(t)}`],
20
+ n
21
21
  ),
22
- ...n
22
+ ...f
23
23
  }
24
24
  ) });
25
25
  }
26
26
  const o = ["root", "default", "higher", "highest"];
27
- function v(e = "root") {
27
+ function _(e = "root") {
28
28
  const r = o.indexOf(e);
29
29
  return Math.min(Math.max(r, 0), o.length - 1);
30
30
  }
31
- function m(e = 0) {
31
+ function g(e = 0) {
32
32
  return o[e] || "root";
33
33
  }
34
34
  export {
35
- p as Surface
35
+ C as Surface
36
36
  };
@@ -172,8 +172,8 @@ const L = /* @__PURE__ */ s.forwardRef(function(i, m) {
172
172
  });
173
173
  });
174
174
  process.env.NODE_ENV !== "production" && (L.displayName = "SwitchThumb");
175
- const _e = "_switch__thumb_m68cc_25", F = {
176
- switch: "_switch_m68cc_2",
175
+ const _e = "_switch__thumb_ap37s_26", F = {
176
+ switch: "_switch_ap37s_3",
177
177
  switch__thumb: _e
178
178
  };
179
179
  function Ue({ color: e = "primary", ...i }) {
@@ -6,7 +6,7 @@ import { tokens as it } from "../../styles/tokens.js";
6
6
  import { View as U } from "../view/view.js";
7
7
  import { Button as ut } from "../button/button.js";
8
8
  import { Icon as ct } from "../icon/icon.js";
9
- import { S as lt } from "../../separator-DgY7BjjO.js";
9
+ import { S as lt } from "../../separator-Or-BDQYZ.js";
10
10
  import { u as dt } from "../../useControlled-Du4sJyMj.js";
11
11
  import { u as F } from "../../useIsoLayoutEffect-CIDbvm3Q.js";
12
12
  import { u as k } from "../../useStableCallback-DKZHlUAT.js";
@@ -18,8 +18,8 @@ import { u as et } from "../../useBaseUiId-B7WyxtIE.js";
18
18
  import { u as _t, A as gt, C as vt } from "../../CompositeRoot-CCgh2M64.js";
19
19
  import { o as J } from "../../owner-rKN292Q9.js";
20
20
  import { c as Q, n as X } from "../../createBaseUIEventDetails-CCSfZ2vM.js";
21
- import { u as ht } from "../../useButton-d3_JgBNr.js";
22
- import { d as Tt, f as Ct } from "../../element-u5WgOZX1.js";
21
+ import { u as Tt } from "../../useButton-d3_JgBNr.js";
22
+ import { d as ht, f as Ct } from "../../element-u5WgOZX1.js";
23
23
  import '../../tabs.css';const K = /* @__PURE__ */ n.createContext(void 0);
24
24
  process.env.NODE_ENV !== "production" && (K.displayName = "TabsRootContext");
25
25
  function Y() {
@@ -44,13 +44,13 @@ const W = {
44
44
  render: _,
45
45
  value: b,
46
46
  ...v
47
- } = o, h = mt(), E = Object.hasOwn(o, "defaultValue"), R = n.useRef([]), [x, l] = n.useState(() => /* @__PURE__ */ new Map()), [d, T] = dt({
47
+ } = o, T = mt(), E = Object.hasOwn(o, "defaultValue"), R = n.useRef([]), [x, l] = n.useState(() => /* @__PURE__ */ new Map()), [d, h] = dt({
48
48
  controlled: b,
49
49
  default: e,
50
50
  name: "Tabs",
51
51
  state: "value"
52
52
  }), N = b !== void 0, [i, P] = n.useState(() => /* @__PURE__ */ new Map()), [D, I] = n.useState("none"), M = k((s, m) => {
53
- c?.(s, m), !m.isCanceled && (T(s), I(m.activationDirection));
53
+ c?.(s, m), !m.isCanceled && (h(s), I(m.activationDirection));
54
54
  }), p = k((s, m) => {
55
55
  l((r) => {
56
56
  if (r.get(s) === m)
@@ -77,7 +77,7 @@ const W = {
77
77
  return m;
78
78
  return null;
79
79
  }, [i]), y = n.useMemo(() => ({
80
- direction: h,
80
+ direction: T,
81
81
  getTabElementBySelectedValue: w,
82
82
  getTabIdByPanelValue: O,
83
83
  getTabPanelIdByValue: V,
@@ -88,7 +88,7 @@ const W = {
88
88
  unregisterMountedTabPanel: A,
89
89
  tabActivationDirection: D,
90
90
  value: d
91
- }), [h, w, O, V, M, a, p, P, A, D, d]), S = n.useMemo(() => {
91
+ }), [T, w, O, V, M, a, p, P, A, D, d]), S = n.useMemo(() => {
92
92
  for (const s of i.values())
93
93
  if (s != null && s.value === d)
94
94
  return s;
@@ -104,8 +104,8 @@ const W = {
104
104
  if (E && s && d === e || !s && !m)
105
105
  return;
106
106
  const C = L ?? null;
107
- d !== C && (T(C), I("none"));
108
- }, [e, L, E, N, S, I, T, i, d]);
107
+ d !== C && (h(C), I("none"));
108
+ }, [e, L, E, N, S, I, h, i, d]);
109
109
  const H = $("div", o, {
110
110
  state: {
111
111
  orientation: a,
@@ -142,14 +142,14 @@ const ot = /* @__PURE__ */ n.forwardRef(function(o, u) {
142
142
  nativeButton: b = !0,
143
143
  ...v
144
144
  } = o, {
145
- value: h,
145
+ value: T,
146
146
  getTabPanelIdByValue: E,
147
147
  orientation: R
148
148
  } = Y(), {
149
149
  activateOnFocus: x,
150
150
  highlightedTabIndex: l,
151
151
  onTabActivation: d,
152
- setHighlightedTabIndex: T,
152
+ setHighlightedTabIndex: h,
153
153
  tabsListElement: N
154
154
  } = Mt(), i = et(_), P = n.useMemo(() => ({
155
155
  disabled: e,
@@ -163,7 +163,7 @@ const ot = /* @__PURE__ */ n.forwardRef(function(o, u) {
163
163
  // because the index is needed for Tab internals
164
164
  } = _t({
165
165
  metadata: P
166
- }), p = a === h, A = n.useRef(!1);
166
+ }), p = a === T, A = n.useRef(!1);
167
167
  F(() => {
168
168
  if (A.current) {
169
169
  A.current = !1;
@@ -173,16 +173,16 @@ const ot = /* @__PURE__ */ n.forwardRef(function(o, u) {
173
173
  return;
174
174
  const r = N;
175
175
  if (r != null) {
176
- const C = Tt(J(r));
176
+ const C = ht(J(r));
177
177
  if (C && Ct(r, C))
178
178
  return;
179
179
  }
180
- e || T(M);
181
- }, [p, M, l, T, e, N]);
180
+ e || h(M);
181
+ }, [p, M, l, h, e, N]);
182
182
  const {
183
183
  getButtonProps: V,
184
184
  buttonRef: O
185
- } = ht({
185
+ } = Tt({
186
186
  disabled: e,
187
187
  native: b,
188
188
  focusableWhenDisabled: !0
@@ -193,7 +193,7 @@ const ot = /* @__PURE__ */ n.forwardRef(function(o, u) {
193
193
  }));
194
194
  }
195
195
  function G(r) {
196
- p || (M > -1 && !e && T(M), !e && x && (!y.current || // keyboard or touch focus
196
+ p || (M > -1 && !e && h(M), !e && x && (!y.current || // keyboard or touch focus
197
197
  y.current && S.current) && d(a, Q(X, r.nativeEvent, void 0, {
198
198
  activationDirection: "none"
199
199
  })));
@@ -246,7 +246,7 @@ const at = /* @__PURE__ */ n.forwardRef(function(o, u) {
246
246
  } = o, {
247
247
  value: b,
248
248
  getTabIdByPanelValue: v,
249
- orientation: h,
249
+ orientation: T,
250
250
  tabActivationDirection: E,
251
251
  registerMountedTabPanel: R,
252
252
  unregisterMountedTabPanel: x
@@ -254,17 +254,17 @@ const at = /* @__PURE__ */ n.forwardRef(function(o, u) {
254
254
  id: l,
255
255
  value: e
256
256
  }), [l, e]), {
257
- ref: T,
257
+ ref: h,
258
258
  index: N
259
259
  } = pt({
260
260
  metadata: d
261
261
  }), i = e !== b, P = v(e), D = n.useMemo(() => ({
262
262
  hidden: i,
263
- orientation: h,
263
+ orientation: T,
264
264
  tabActivationDirection: E
265
- }), [i, h, E]), I = $("div", o, {
265
+ }), [i, T, E]), I = $("div", o, {
266
266
  state: D,
267
- ref: [u, T],
267
+ ref: [u, h],
268
268
  props: [{
269
269
  "aria-labelledby": P,
270
270
  hidden: i,
@@ -293,15 +293,15 @@ const st = /* @__PURE__ */ n.forwardRef(function(o, u) {
293
293
  } = o, {
294
294
  getTabElementBySelectedValue: b,
295
295
  onValueChange: v,
296
- orientation: h,
296
+ orientation: T,
297
297
  value: E,
298
298
  setTabMap: R,
299
299
  tabActivationDirection: x
300
- } = Y(), [l, d] = n.useState(0), [T, N] = n.useState(null), i = Rt(
300
+ } = Y(), [l, d] = n.useState(0), [h, N] = n.useState(null), i = Rt(
301
301
  E,
302
302
  // the old value
303
- h,
304
303
  T,
304
+ h,
305
305
  b
306
306
  ), P = k((p, A) => {
307
307
  if (p !== E) {
@@ -309,19 +309,19 @@ const st = /* @__PURE__ */ n.forwardRef(function(o, u) {
309
309
  A.activationDirection = V, v(p, A);
310
310
  }
311
311
  }), D = n.useMemo(() => ({
312
- orientation: h,
312
+ orientation: T,
313
313
  tabActivationDirection: x
314
- }), [h, x]), I = {
315
- "aria-orientation": h === "vertical" ? "vertical" : void 0,
314
+ }), [T, x]), I = {
315
+ "aria-orientation": T === "vertical" ? "vertical" : void 0,
316
316
  role: "tablist"
317
317
  }, M = n.useMemo(() => ({
318
318
  activateOnFocus: f,
319
319
  highlightedTabIndex: l,
320
320
  onTabActivation: P,
321
321
  setHighlightedTabIndex: d,
322
- tabsListElement: T,
322
+ tabsListElement: h,
323
323
  value: E
324
- }), [f, l, P, d, T, E]);
324
+ }), [f, l, P, d, h, E]);
325
325
  return /* @__PURE__ */ g(q.Provider, {
326
326
  value: M,
327
327
  children: /* @__PURE__ */ g(vt, {
@@ -334,7 +334,7 @@ const st = /* @__PURE__ */ n.forwardRef(function(o, u) {
334
334
  highlightedIndex: l,
335
335
  enableHomeAndEndKeys: !0,
336
336
  loopFocus: c,
337
- orientation: h,
337
+ orientation: T,
338
338
  onHighlightedIndexChange: d,
339
339
  onMapChange: R,
340
340
  disabledIndices: ft
@@ -402,15 +402,15 @@ function Rt(t, o, u, f) {
402
402
  return "none";
403
403
  }, [f, o, e, u, t]);
404
404
  }
405
- const Nt = "_tabs_ndch5_6", Pt = "_tabs__list_ndch5_10", Dt = "_tabs_variant_default_ndch5_17", It = "_tabs__separator_ndch5_22", At = "_tabs__trigger_ndch5_26", St = "_tabs_variant_progress_ndch5_48", B = {
405
+ const Nt = "_tabs_1t4sr_7", Pt = "_tabs__list_1t4sr_11", Dt = "_tabs_variant_default_1t4sr_18", It = "_tabs__separator_1t4sr_23", At = "_tabs__trigger_1t4sr_27", St = "_tabs_variant_progress_1t4sr_49", B = {
406
406
  tabs: Nt,
407
407
  tabs__list: Pt,
408
408
  tabs_variant_default: Dt,
409
409
  tabs__separator: It,
410
410
  tabs__trigger: At,
411
411
  tabs_variant_progress: St,
412
- "tabs__trigger-complete": "_tabs__trigger-complete_ndch5_72",
413
- "tabs_variant_button-group": "_tabs_variant_button-group_ndch5_84"
412
+ "tabs__trigger-complete": "_tabs__trigger-complete_1t4sr_73",
413
+ "tabs_variant_button-group": "_tabs_variant_button-group_1t4sr_85"
414
414
  }, Vt = /* @__PURE__ */ new Set(["default", "progress"]);
415
415
  function yt({
416
416
  variant: t = "default",
@@ -1,20 +1,20 @@
1
- import { c as i } from "../../clsx-OuTLNxxd.js";
2
- import { s as c } from "../../view.module-CjopAf_0.js";
3
- import { u as m } from "../../useRender-C3vlzS3t.js";
4
- import { m as r } from "../../useRenderElement-DngNDu_P.js";
5
- import '../../text.css';const n = "_text_b8h0u_2", u = "_text_color_inherit_b8h0u_26", a = "_text_color_default_b8h0u_30", z = "_text_color_dimmer_b8h0u_34", h = "_text_color_dimmest_b8h0u_38", d = "_text_size_sm_b8h0u_43", p = "_text_size_md_b8h0u_49", b = "_text_size_lg_b8h0u_55", f = "_text_size_xl_b8h0u_61", g = "_text_size_2xl_b8h0u_67", y = "_text_size_3xl_b8h0u_73", t = {
6
- text: n,
7
- "text_clip-line": "_text_clip-line_b8h0u_9",
8
- "text_clamp-lines": "_text_clamp-lines_b8h0u_16",
9
- text_color_inherit: u,
10
- text_color_default: a,
11
- text_color_dimmer: z,
12
- text_color_dimmest: h,
13
- text_size_sm: d,
14
- text_size_md: p,
15
- text_size_lg: b,
16
- text_size_xl: f,
17
- text_size_2xl: g,
1
+ import { c as l } from "../../clsx-OuTLNxxd.js";
2
+ import { s as i } from "../../view.module-j3ylJCCE.js";
3
+ import { u as n } from "../../useRender-C3vlzS3t.js";
4
+ import { m as c } from "../../useRenderElement-DngNDu_P.js";
5
+ import '../../text.css';const r = "_text_1qm2n_3", a = "_text_color_inherit_1qm2n_27", z = "_text_color_default_1qm2n_31", d = "_text_color_dimmer_1qm2n_35", p = "_text_color_dimmest_1qm2n_39", q = "_text_size_sm_1qm2n_44", f = "_text_size_md_1qm2n_50", u = "_text_size_lg_1qm2n_56", g = "_text_size_xl_1qm2n_62", h = "_text_size_2xl_1qm2n_68", y = "_text_size_3xl_1qm2n_74", t = {
6
+ text: r,
7
+ "text_clip-line": "_text_clip-line_1qm2n_10",
8
+ "text_clamp-lines": "_text_clamp-lines_1qm2n_17",
9
+ text_color_inherit: a,
10
+ text_color_default: z,
11
+ text_color_dimmer: d,
12
+ text_color_dimmest: p,
13
+ text_size_sm: q,
14
+ text_size_md: f,
15
+ text_size_lg: u,
16
+ text_size_xl: g,
17
+ text_size_2xl: h,
18
18
  text_size_3xl: y
19
19
  };
20
20
  function M({
@@ -23,14 +23,14 @@ function M({
23
23
  maxLines: _ = 1,
24
24
  multiline: e,
25
25
  render: o,
26
- ...l
26
+ ...m
27
27
  }) {
28
- return m({
28
+ return n({
29
29
  defaultTagName: "span",
30
30
  render: o,
31
- props: r(l, {
32
- className: i(
33
- c.view,
31
+ props: c(m, {
32
+ className: l(
33
+ i.view,
34
34
  t.text,
35
35
  t[`text_color_${s}`],
36
36
  t[`text_size_${x}`],