@koide-labs/ui 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/accordion.css +1 -1
  2. package/dist/alert-dialog.css +1 -1
  3. package/dist/anchor.css +1 -1
  4. package/dist/avatar.css +1 -1
  5. package/dist/badge.css +1 -1
  6. package/dist/button.css +1 -1
  7. package/dist/checkbox.css +1 -1
  8. package/dist/code.css +1 -1
  9. package/dist/collapse.css +1 -1
  10. package/dist/command.css +1 -1
  11. package/dist/components/accordion/accordion.js +40 -40
  12. package/dist/components/alert-dialog/alert-dialog.js +9 -9
  13. package/dist/components/anchor/anchor.js +5 -5
  14. package/dist/components/avatar/avatar.js +26 -26
  15. package/dist/components/badge/badge.js +13 -13
  16. package/dist/components/button/button.js +13 -13
  17. package/dist/components/checkbox/checkbox.js +1 -1
  18. package/dist/components/code/code.js +48 -48
  19. package/dist/components/collapse/collapse.js +14 -14
  20. package/dist/components/command/command.js +121 -121
  21. package/dist/components/context-menu/context-menu.js +6 -6
  22. package/dist/components/dialog/dialog.js +1 -1
  23. package/dist/components/heading/heading.js +6 -6
  24. package/dist/components/icon/icon.js +12 -12
  25. package/dist/components/icon-button/icon-button.js +26 -26
  26. package/dist/components/inline-code/inline-code.js +2 -2
  27. package/dist/components/input/input.js +1 -1
  28. package/dist/components/meter/meter.js +40 -40
  29. package/dist/components/multiline-input/multiline-input.js +1 -1
  30. package/dist/components/number-input/number-input.js +7 -7
  31. package/dist/components/password-input/password-input.js +2 -2
  32. package/dist/components/pill/pill.js +11 -11
  33. package/dist/components/popover/popover.js +21 -21
  34. package/dist/components/preview-card/preview-card.js +2 -2
  35. package/dist/components/radio-group/radio-group.js +54 -54
  36. package/dist/components/search-bar/search-bar.js +8 -8
  37. package/dist/components/select/select.js +75 -75
  38. package/dist/components/separator/index.js +1 -1
  39. package/dist/components/separator/separator.js +1 -1
  40. package/dist/components/slider/slider.js +128 -128
  41. package/dist/components/spinner/spinner.js +4 -4
  42. package/dist/components/stacked-avatars/stacked-avatars.js +35 -35
  43. package/dist/components/status-banner/status-banner.js +22 -22
  44. package/dist/components/surface/surface.js +14 -14
  45. package/dist/components/switch/switch.js +28 -28
  46. package/dist/components/tabs/tabs.js +132 -132
  47. package/dist/components/text/text.js +15 -15
  48. package/dist/components/timestamp/timestamp.js +73 -73
  49. package/dist/components/toaster/toaster.js +165 -165
  50. package/dist/components/tooltip/index.js +1 -1
  51. package/dist/components/tooltip/tooltip.js +1 -1
  52. package/dist/components/view/view.js +40 -40
  53. package/dist/context-menu.css +1 -1
  54. package/dist/dialog.css +1 -1
  55. package/dist/{dialog.module-DsbQRp-d.js → dialog.module-Pi1eHwli.js} +13 -13
  56. package/dist/heading.css +1 -1
  57. package/dist/icon-button.css +1 -1
  58. package/dist/icon.css +1 -1
  59. package/dist/index.js +2 -2
  60. package/dist/inline-code.css +1 -1
  61. package/dist/input.css +1 -1
  62. package/dist/input.module-zw1dlr1_.js +8 -0
  63. package/dist/integrations/react-markdown/index.js +1 -1
  64. package/dist/meter.css +1 -1
  65. package/dist/number-input.css +1 -1
  66. package/dist/password-input.css +1 -1
  67. package/dist/pill.css +1 -1
  68. package/dist/popover.css +1 -1
  69. package/dist/preview-card.css +1 -1
  70. package/dist/radio-group.css +1 -1
  71. package/dist/search-bar.css +1 -1
  72. package/dist/select.css +1 -1
  73. package/dist/{separator-fh_wDZNf.js → separator-wNYojB9q.js} +8 -8
  74. package/dist/separator.css +1 -1
  75. package/dist/slider.css +1 -1
  76. package/dist/spinner.css +1 -1
  77. package/dist/stacked-avatars.css +1 -1
  78. package/dist/status-banner.css +1 -1
  79. package/dist/styles/core.css +1 -1
  80. package/dist/surface.css +1 -1
  81. package/dist/switch.css +1 -1
  82. package/dist/tabs.css +1 -1
  83. package/dist/text.css +1 -1
  84. package/dist/timestamp.css +1 -1
  85. package/dist/toaster.css +1 -1
  86. package/dist/{tooltip-oCp-elli.js → tooltip-DZkByWDR.js} +63 -63
  87. package/dist/tooltip.css +1 -1
  88. package/dist/view.css +1 -1
  89. package/dist/view.module-DlwuNdUj.js +6 -0
  90. package/dist/view2.css +1 -1
  91. package/package.json +1 -1
  92. package/dist/input.module-CtE19OH8.js +0 -8
  93. package/dist/view.module-Dj7wj0kk.js +0 -6
@@ -9,7 +9,7 @@ import { Surface as ct } from "../surface/surface.js";
9
9
  import { View as Re } from "../view/view.js";
10
10
  import { Icon as ce } from "../icon/icon.js";
11
11
  import { Text as lt } from "../text/text.js";
12
- import { S as on, a as rn } from "../../separator-fh_wDZNf.js";
12
+ import { S as on, a as rn } from "../../separator-wNYojB9q.js";
13
13
  import { u as dt } from "../../useControlled-Du4sJyMj.js";
14
14
  import { u as le } from "../../useStableCallback-DKZHlUAT.js";
15
15
  import { f as J } from "../../formatErrorMessage-BqPuTBN-.js";
@@ -1257,11 +1257,11 @@ const rt = 500, Tt = /* @__PURE__ */ t.forwardRef(function(o, i) {
1257
1257
  });
1258
1258
  process.env.NODE_ENV !== "production" && (Tt.displayName = "ContextMenuTrigger");
1259
1259
  const H = {
1260
- "context-menu": "_context-menu_ct7eh_2",
1261
- "context-menu__item": "_context-menu__item_ct7eh_11",
1262
- "context-menu__item-icon": "_context-menu__item-icon_ct7eh_23",
1263
- "context-menu__item-shortcut": "_context-menu__item-shortcut_ct7eh_30",
1264
- "context-menu__label": "_context-menu__label_ct7eh_35"
1260
+ "context-menu": "_context-menu_wk5f8_2",
1261
+ "context-menu__item": "_context-menu__item_wk5f8_11",
1262
+ "context-menu__item-icon": "_context-menu__item-icon_wk5f8_23",
1263
+ "context-menu__item-shortcut": "_context-menu__item-shortcut_wk5f8_30",
1264
+ "context-menu__label": "_context-menu__label_wk5f8_35"
1265
1265
  }, Ot = Wt("root");
1266
1266
  function uo({
1267
1267
  trigger: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
2
  import { c as f } from "../../clsx-OuTLNxxd.js";
3
3
  import { t as h } from "../../transitions.module-D9mMAtfI.js";
4
- import { u as y, D as T, a as b, b as O, c as k, d as v, e as N, s as n, f as S, g as w, h as B, i as P } from "../../dialog.module-DsbQRp-d.js";
4
+ import { u as y, D as T, a as b, b as O, c as k, d as v, e as N, s as n, f as S, g as w, h as B, i as P } from "../../dialog.module-Pi1eHwli.js";
5
5
  import { Surface as j } from "../surface/surface.js";
6
6
  import { View as V } from "../view/view.js";
7
7
  import { Text as x } from "../text/text.js";
@@ -1,9 +1,9 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { createContext as i, useContext as x } from "react";
3
- import { Text as c } from "../text/text.js";
4
- import { u as d } from "../../useRender-C3vlzS3t.js";
2
+ import { createContext as i, useContext as c } from "react";
3
+ import { Text as d } from "../text/text.js";
4
+ import { u as x } from "../../useRender-C3vlzS3t.js";
5
5
  import { m as p } from "../../useRenderElement-DngNDu_P.js";
6
- import '../../heading.css';const f = "_heading_m8x05_2", g = {
6
+ import '../../heading.css';const f = "_heading_19trw_2", g = {
7
7
  heading: f
8
8
  }, u = i(0), h = {
9
9
  1: "3xl",
@@ -17,13 +17,13 @@ function v(e = 1) {
17
17
  return Math.max(Math.min(e, 6), 1);
18
18
  }
19
19
  function _({ level: e, size: o, color: n, render: r, ...m }) {
20
- const s = x(u), t = v(e || s), a = d({
20
+ const s = c(u), t = v(e || s), a = x({
21
21
  defaultTagName: `h${t}`,
22
22
  render: r,
23
23
  props: p(m, { className: g.heading })
24
24
  });
25
25
  return /* @__PURE__ */ l(
26
- c,
26
+ d,
27
27
  {
28
28
  render: a,
29
29
  size: o || h[t],
@@ -1,15 +1,15 @@
1
- import { jsxs as t, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as s } from "react/jsx-runtime";
2
2
  import { c as z } from "../../clsx-OuTLNxxd.js";
3
3
  import "react";
4
4
  import x from "remixicon/fonts/remixicon.symbol.svg";
5
- import '../../icon.css';const m = "_icon_ol0rk_2", d = "_icon_size_sm_ol0rk_14", f = "_icon_size_md_ol0rk_19", p = "_icon_size_lg_ol0rk_23", k = "_icon_size_xl_ol0rk_27", g = "_icon_size_2xl_ol0rk_31", a = "_icon_size_3xl_ol0rk_35", s = {
6
- icon: m,
7
- icon_size_sm: d,
8
- icon_size_md: f,
9
- icon_size_lg: p,
10
- icon_size_xl: k,
11
- icon_size_2xl: g,
12
- icon_size_3xl: a
5
+ import '../../icon.css';const d = "_icon_1duy7_2", m = "_icon_size_sm_1duy7_14", u = "_icon_size_md_1duy7_19", f = "_icon_size_lg_1duy7_23", p = "_icon_size_xl_1duy7_27", y = "_icon_size_2xl_1duy7_31", g = "_icon_size_3xl_1duy7_35", o = {
6
+ icon: d,
7
+ icon_size_sm: m,
8
+ icon_size_md: u,
9
+ icon_size_lg: f,
10
+ icon_size_xl: p,
11
+ icon_size_2xl: y,
12
+ icon_size_3xl: g
13
13
  };
14
14
  function $({
15
15
  size: n = "md",
@@ -29,11 +29,11 @@ function $({
29
29
  focusable: !1,
30
30
  xmlns: "http://www.w3.org/2000/svg",
31
31
  fill: e || "currentColor",
32
- className: z(s.icon, s[`icon_size_${n}`], l),
32
+ className: z(o.icon, o[`icon_size_${n}`], l),
33
33
  ...r,
34
34
  children: [
35
- i ? /* @__PURE__ */ o("title", { children: i }) : null,
36
- /* @__PURE__ */ o("use", { xlinkHref: _, href: _ })
35
+ i ? /* @__PURE__ */ s("title", { children: i }) : null,
36
+ /* @__PURE__ */ s("use", { xlinkHref: _, href: _ })
37
37
  ]
38
38
  }
39
39
  );
@@ -1,43 +1,43 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { c as u } from "../../clsx-OuTLNxxd.js";
3
- import { View as b } from "../view/view.js";
4
- import { Icon as m } from "../icon/icon.js";
5
- import { B as r } from "../../Button-BmcVHRRW.js";
6
- import '../../icon-button.css';const n = {
7
- "icon-button": "_icon-button_1aj78_2",
8
- "icon-button_size_sm": "_icon-button_size_sm_1aj78_12",
9
- "icon-button_size_md": "_icon-button_size_md_1aj78_16",
10
- "icon-button_size_lg": "_icon-button_size_lg_1aj78_20",
11
- "icon-button_size_xl": "_icon-button_size_xl_1aj78_24",
12
- "icon-button_size_2xl": "_icon-button_size_2xl_1aj78_28",
13
- "icon-button_size_3xl": "_icon-button_size_3xl_1aj78_32"
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { c as l } from "../../clsx-OuTLNxxd.js";
3
+ import { View as u } from "../view/view.js";
4
+ import { Icon as b } from "../icon/icon.js";
5
+ import { B as m } from "../../Button-BmcVHRRW.js";
6
+ import '../../icon-button.css';const _ = {
7
+ "icon-button": "_icon-button_6filt_2",
8
+ "icon-button_size_sm": "_icon-button_size_sm_6filt_12",
9
+ "icon-button_size_md": "_icon-button_size_md_6filt_16",
10
+ "icon-button_size_lg": "_icon-button_size_lg_6filt_20",
11
+ "icon-button_size_xl": "_icon-button_size_xl_6filt_24",
12
+ "icon-button_size_2xl": "_icon-button_size_2xl_6filt_28",
13
+ "icon-button_size_3xl": "_icon-button_size_3xl_6filt_32"
14
14
  };
15
15
  function d({
16
- icon: i,
16
+ icon: n,
17
17
  alt: e,
18
- size: t = "md",
18
+ size: o = "md",
19
19
  render: c,
20
20
  className: s,
21
- ..._
21
+ ...i
22
22
  }) {
23
- return /* @__PURE__ */ o(
24
- b,
23
+ return /* @__PURE__ */ t(
24
+ u,
25
25
  {
26
26
  interactive: !0,
27
- render: /* @__PURE__ */ o(
28
- r,
27
+ render: /* @__PURE__ */ t(
28
+ m,
29
29
  {
30
- className: u(
31
- n["icon-button"],
32
- n[`icon-button_size_${t}`],
30
+ className: l(
31
+ _["icon-button"],
32
+ _[`icon-button_size_${o}`],
33
33
  s
34
34
  ),
35
- focusableWhenDisabled: !!_.loading,
35
+ focusableWhenDisabled: !!i.loading,
36
36
  render: c
37
37
  }
38
38
  ),
39
- ..._,
40
- children: /* @__PURE__ */ o(m, { name: i, size: t, alt: e })
39
+ ...i,
40
+ children: /* @__PURE__ */ t(b, { name: n, size: o, alt: e })
41
41
  }
42
42
  );
43
43
  }
@@ -3,8 +3,8 @@ import { c as r } from "../../clsx-OuTLNxxd.js";
3
3
  import { Surface as c } from "../surface/surface.js";
4
4
  import { Text as l } from "../text/text.js";
5
5
  import '../../inline-code.css';const i = {
6
- "inline-code": "_inline-code_1vbg6_2",
7
- "inline-code_colorway": "_inline-code_colorway_1vbg6_12"
6
+ "inline-code": "_inline-code_8ln17_2",
7
+ "inline-code_colorway": "_inline-code_colorway_8ln17_12"
8
8
  };
9
9
  function _({ color: o, ...n }) {
10
10
  return /* @__PURE__ */ e(
@@ -2,7 +2,7 @@ import { jsx as u, jsxs as S } from "react/jsx-runtime";
2
2
  import { c as U } from "../../clsx-OuTLNxxd.js";
3
3
  import * as c from "react";
4
4
  import { useId as A } from "react";
5
- import { s as I } from "../../input.module-CtE19OH8.js";
5
+ import { s as I } from "../../input.module-zw1dlr1_.js";
6
6
  import { View as K } from "../view/view.js";
7
7
  import { u as $ } from "../../useStableCallback-DKZHlUAT.js";
8
8
  import { u as q } from "../../useControlled-Du4sJyMj.js";
@@ -1,11 +1,11 @@
1
- import { jsx as m, jsxs as x, Fragment as g } from "react/jsx-runtime";
1
+ import { jsx as l, jsxs as M, Fragment as g } from "react/jsx-runtime";
2
2
  import { c as C } from "../../clsx-OuTLNxxd.js";
3
3
  import { View as L } from "../view/view.js";
4
- import { Text as M } from "../text/text.js";
4
+ import { Text as x } from "../text/text.js";
5
5
  import * as i from "react";
6
6
  import { f as T } from "../../formatErrorMessage-BqPuTBN-.js";
7
- import { f as h } from "../../formatNumber-1UNwjeqf.js";
8
- import { u } from "../../useRenderElement-DngNDu_P.js";
7
+ import { f as E } from "../../formatNumber-1UNwjeqf.js";
8
+ import { u as d } from "../../useRenderElement-DngNDu_P.js";
9
9
  import { u as P } from "../../useIsoLayoutEffect-CIDbvm3Q.js";
10
10
  import { u as j } from "../../useBaseUiId-B7WyxtIE.js";
11
11
  import { v as B } from "../../valueToPercent-DaP9qN4u.js";
@@ -18,14 +18,14 @@ function N() {
18
18
  return t;
19
19
  }
20
20
  function S(t, e, r) {
21
- return r ? h(t, e, r) : h(t / 100, e, {
21
+ return r ? E(t, e, r) : E(t / 100, e, {
22
22
  style: "percent"
23
23
  });
24
24
  }
25
- const E = /* @__PURE__ */ i.forwardRef(function(e, r) {
25
+ const V = /* @__PURE__ */ i.forwardRef(function(e, r) {
26
26
  const {
27
27
  format: c,
28
- getAriaValueText: l,
28
+ getAriaValueText: m,
29
29
  locale: s,
30
30
  max: n = 100,
31
31
  min: a = 0,
@@ -33,9 +33,9 @@ const E = /* @__PURE__ */ i.forwardRef(function(e, r) {
33
33
  render: W,
34
34
  className: q,
35
35
  ...I
36
- } = e, [b, v] = i.useState(), d = S(o, s, c);
36
+ } = e, [b, v] = i.useState(), u = S(o, s, c);
37
37
  let p = `${o}%`;
38
- l ? p = l(d, o) : c && (p = d);
38
+ m ? p = m(u, o) : c && (p = u);
39
39
  const k = {
40
40
  "aria-labelledby": b,
41
41
  "aria-valuemax": n,
@@ -44,40 +44,40 @@ const E = /* @__PURE__ */ i.forwardRef(function(e, r) {
44
44
  "aria-valuetext": p,
45
45
  role: "meter"
46
46
  }, D = i.useMemo(() => ({
47
- formattedValue: d,
47
+ formattedValue: u,
48
48
  max: n,
49
49
  min: a,
50
50
  setLabelId: v,
51
51
  value: o
52
- }), [d, n, a, v, o]), O = u("div", e, {
52
+ }), [u, n, a, v, o]), O = d("div", e, {
53
53
  ref: r,
54
54
  props: [k, I]
55
55
  });
56
- return /* @__PURE__ */ m(_.Provider, {
56
+ return /* @__PURE__ */ l(_.Provider, {
57
57
  value: D,
58
58
  children: O
59
59
  });
60
60
  });
61
- process.env.NODE_ENV !== "production" && (E.displayName = "MeterRoot");
62
- const V = /* @__PURE__ */ i.forwardRef(function(e, r) {
61
+ process.env.NODE_ENV !== "production" && (V.displayName = "MeterRoot");
62
+ const h = /* @__PURE__ */ i.forwardRef(function(e, r) {
63
63
  const {
64
64
  render: c,
65
- className: l,
65
+ className: m,
66
66
  ...s
67
67
  } = e;
68
- return u("div", e, {
68
+ return d("div", e, {
69
69
  ref: r,
70
70
  props: s
71
71
  });
72
72
  });
73
- process.env.NODE_ENV !== "production" && (V.displayName = "MeterTrack");
74
- const R = /* @__PURE__ */ i.forwardRef(function(e, r) {
73
+ process.env.NODE_ENV !== "production" && (h.displayName = "MeterTrack");
74
+ const w = /* @__PURE__ */ i.forwardRef(function(e, r) {
75
75
  const {
76
76
  render: c,
77
- className: l,
77
+ className: m,
78
78
  ...s
79
79
  } = e, n = N(), a = B(n.value, n.min, n.max);
80
- return u("div", e, {
80
+ return d("div", e, {
81
81
  ref: r,
82
82
  props: [{
83
83
  style: {
@@ -88,18 +88,18 @@ const R = /* @__PURE__ */ i.forwardRef(function(e, r) {
88
88
  }, s]
89
89
  });
90
90
  });
91
- process.env.NODE_ENV !== "production" && (R.displayName = "MeterIndicator");
92
- const y = /* @__PURE__ */ i.forwardRef(function(e, r) {
91
+ process.env.NODE_ENV !== "production" && (w.displayName = "MeterIndicator");
92
+ const R = /* @__PURE__ */ i.forwardRef(function(e, r) {
93
93
  const {
94
94
  className: c,
95
- render: l,
95
+ render: m,
96
96
  children: s,
97
97
  ...n
98
98
  } = e, {
99
99
  value: a,
100
100
  formattedValue: o
101
101
  } = N();
102
- return u("span", e, {
102
+ return d("span", e, {
103
103
  ref: r,
104
104
  props: [{
105
105
  "aria-hidden": !0,
@@ -107,25 +107,25 @@ const y = /* @__PURE__ */ i.forwardRef(function(e, r) {
107
107
  }, n]
108
108
  });
109
109
  });
110
- process.env.NODE_ENV !== "production" && (y.displayName = "MeterValue");
111
- const w = /* @__PURE__ */ i.forwardRef(function(e, r) {
110
+ process.env.NODE_ENV !== "production" && (R.displayName = "MeterValue");
111
+ const y = /* @__PURE__ */ i.forwardRef(function(e, r) {
112
112
  const {
113
113
  render: c,
114
- className: l,
114
+ className: m,
115
115
  id: s,
116
116
  ...n
117
117
  } = e, a = j(s), {
118
118
  setLabelId: o
119
119
  } = N();
120
- return P(() => (o(a), () => o(void 0)), [a, o]), u("span", e, {
120
+ return P(() => (o(a), () => o(void 0)), [a, o]), d("span", e, {
121
121
  ref: r,
122
122
  props: [{
123
123
  id: a
124
124
  }, n]
125
125
  });
126
126
  });
127
- process.env.NODE_ENV !== "production" && (w.displayName = "MeterLabel");
128
- const U = "_meter_1hxrp_2", $ = "_meter__value_1hxrp_8", A = "_meter__track_1hxrp_14", F = "_meter__indicator_1hxrp_21", f = {
127
+ process.env.NODE_ENV !== "production" && (y.displayName = "MeterLabel");
128
+ const U = "_meter_1mwdr_2", $ = "_meter__value_1mwdr_8", A = "_meter__track_1mwdr_14", F = "_meter__indicator_1mwdr_21", f = {
129
129
  meter: U,
130
130
  meter__value: $,
131
131
  meter__track: A,
@@ -136,26 +136,26 @@ function re({
136
136
  color: e = "primary",
137
137
  className: r,
138
138
  children: c,
139
- ...l
139
+ ...m
140
140
  }) {
141
- return /* @__PURE__ */ m(L, { color: e, children: /* @__PURE__ */ x(
142
- E,
141
+ return /* @__PURE__ */ l(L, { color: e, children: /* @__PURE__ */ M(
142
+ V,
143
143
  {
144
144
  className: C(f.meter, r),
145
- ...l,
145
+ ...m,
146
146
  children: [
147
- t ? /* @__PURE__ */ x(g, { children: [
148
- /* @__PURE__ */ m(M, { render: /* @__PURE__ */ m(w, {}), children: t }),
149
- /* @__PURE__ */ m(
150
- M,
147
+ t ? /* @__PURE__ */ M(g, { children: [
148
+ /* @__PURE__ */ l(x, { render: /* @__PURE__ */ l(y, {}), children: t }),
149
+ /* @__PURE__ */ l(
150
+ x,
151
151
  {
152
152
  className: f.meter__value,
153
- render: /* @__PURE__ */ m(y, {})
153
+ render: /* @__PURE__ */ l(R, {})
154
154
  }
155
155
  )
156
156
  ] }) : null,
157
157
  c,
158
- /* @__PURE__ */ m(V, { className: f.meter__track, children: /* @__PURE__ */ m(R, { className: f.meter__indicator }) })
158
+ /* @__PURE__ */ l(h, { className: f.meter__track, children: /* @__PURE__ */ l(w, { className: f.meter__indicator }) })
159
159
  ]
160
160
  }
161
161
  ) });
@@ -2,7 +2,7 @@ import { jsx as T } from "react/jsx-runtime";
2
2
  import { c as R } from "../../clsx-OuTLNxxd.js";
3
3
  import { useRef as W, useEffect as Y } from "react";
4
4
  import { mergeRefs as B } from "../../-utils.js";
5
- import { s as b } from "../../input.module-CtE19OH8.js";
5
+ import { s as b } from "../../input.module-zw1dlr1_.js";
6
6
  import { View as X } from "../view/view.js";
7
7
  var c = /* @__PURE__ */ new Map();
8
8
  function j(t) {
@@ -6,7 +6,7 @@ import { Text as kt } from "../text/text.js";
6
6
  import { Input as Wt } from "../input/input.js";
7
7
  import { View as Ht } from "../view/view.js";
8
8
  import { IconButton as tt } from "../icon-button/icon-button.js";
9
- import { S as Gt } from "../../separator-fh_wDZNf.js";
9
+ import { S as Gt } from "../../separator-wNYojB9q.js";
10
10
  import { u as Bt } from "../../useControlled-Du4sJyMj.js";
11
11
  import { u as de } from "../../useStableCallback-DKZHlUAT.js";
12
12
  import { T as $t, u as Ke } from "../../useTimeout-BNni6aw5.js";
@@ -1095,12 +1095,12 @@ const Ft = /* @__PURE__ */ o.forwardRef(function(r, t) {
1095
1095
  });
1096
1096
  process.env.NODE_ENV !== "production" && (Ft.displayName = "NumberFieldScrubArea");
1097
1097
  const Ne = {
1098
- "number-input__root": "_number-input__root_l4882_2",
1099
- "number-input": "_number-input_l4882_2",
1100
- "number-input__scrub-area": "_number-input__scrub-area_l4882_20",
1101
- "number-input__group": "_number-input__group_l4882_25",
1102
- "number-input__controls": "_number-input__controls_l4882_29",
1103
- "number-input__separator": "_number-input__separator_l4882_40"
1098
+ "number-input__root": "_number-input__root_1f592_2",
1099
+ "number-input": "_number-input_1f592_2",
1100
+ "number-input__scrub-area": "_number-input__scrub-area_1f592_20",
1101
+ "number-input__group": "_number-input__group_1f592_25",
1102
+ "number-input__controls": "_number-input__controls_1f592_29",
1103
+ "number-input__separator": "_number-input__separator_1f592_40"
1104
1104
  };
1105
1105
  function pr({
1106
1106
  label: n,
@@ -4,8 +4,8 @@ import { View as a } from "../view/view.js";
4
4
  import { Input as _ } from "../input/input.js";
5
5
  import { IconButton as u } from "../icon-button/icon-button.js";
6
6
  import '../../password-input.css';const t = {
7
- "password-input__root": "_password-input__root_e2au8_2",
8
- "password-input__eye": "_password-input__eye_e2au8_6"
7
+ "password-input__root": "_password-input__root_uax96_2",
8
+ "password-input__eye": "_password-input__eye_uax96_6"
9
9
  };
10
10
  function y(e) {
11
11
  const [o, r] = i(!1);
@@ -1,24 +1,24 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
- import { c as m } from "../../clsx-OuTLNxxd.js";
3
- import { textify as s } from "../../-utils.js";
4
- import { View as e } from "../view/view.js";
1
+ import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
+ import { c } from "../../clsx-OuTLNxxd.js";
3
+ import { textify as e } from "../../-utils.js";
4
+ import { View as s } from "../view/view.js";
5
5
  import { Icon as t } from "../icon/icon.js";
6
- import '../../pill.css';const f = "_pill_7qdwk_2", a = "_pill_icon_left_7qdwk_17", x = "_pill_icon_right_7qdwk_21", _ = {
6
+ import '../../pill.css';const f = "_pill_1eq5m_2", a = "_pill_icon_left_1eq5m_17", x = "_pill_icon_right_1eq5m_21", _ = {
7
7
  pill: f,
8
8
  pill_icon_left: a,
9
9
  pill_icon_right: x
10
10
  };
11
- function q({
11
+ function y({
12
12
  leftIcon: l,
13
13
  rightIcon: i,
14
14
  className: n,
15
15
  children: p,
16
16
  ...r
17
17
  }) {
18
- return /* @__PURE__ */ c(
19
- e,
18
+ return /* @__PURE__ */ m(
19
+ s,
20
20
  {
21
- className: m(
21
+ className: c(
22
22
  _.pill,
23
23
  l && _.pill_icon_left,
24
24
  i && _.pill_icon_right,
@@ -27,12 +27,12 @@ function q({
27
27
  ...r,
28
28
  children: [
29
29
  l ? /* @__PURE__ */ o(t, { name: l }) : null,
30
- s(p, { color: "inherit" }),
30
+ e(p, { color: "inherit" }),
31
31
  i ? /* @__PURE__ */ o(t, { name: i }) : null
32
32
  ]
33
33
  }
34
34
  );
35
35
  }
36
36
  export {
37
- q as Pill
37
+ y as Pill
38
38
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as u, jsxs as Y } from "react/jsx-runtime";
2
2
  import { c as Re } from "../../clsx-OuTLNxxd.js";
3
- import { u as be, t as ae, T as Se } from "../../tooltip-oCp-elli.js";
4
- import { R as ye, P as Oe, c as x, h as Ie, d as xe, e as de, u as Ne, i as Me, f as Fe, j as ke, k as _e, p as ee, t as we } from "../../transitions.module-D9mMAtfI.js";
3
+ import { u as be, t as ae, T as Se } from "../../tooltip-DZkByWDR.js";
4
+ import { R as ye, P as Oe, c as x, h as Ie, d as xe, e as de, u as Ne, i as Me, f as Fe, j as _e, k as ke, p as ee, t as we } from "../../transitions.module-D9mMAtfI.js";
5
5
  import { View as Ae } from "../view/view.js";
6
6
  import { Heading as De } from "../heading/heading.js";
7
7
  import { Text as He } from "../text/text.js";
@@ -140,7 +140,7 @@ function ue({
140
140
  const {
141
141
  openMethod: p,
142
142
  triggerProps: h,
143
- reset: _
143
+ reset: k
144
144
  } = Be(v);
145
145
  nt(r);
146
146
  const {
@@ -149,7 +149,7 @@ function ue({
149
149
  r.update({
150
150
  stickIfOpen: !0,
151
151
  openChangeReason: null
152
- }), _();
152
+ }), k();
153
153
  });
154
154
  Le(v && a === !0 && M !== J && p !== "touch", R), n.useEffect(() => {
155
155
  v || r.context.stickIfOpenTimeout.clear();
@@ -178,9 +178,9 @@ function ue({
178
178
  }
179
179
  }), C = pt(O), {
180
180
  getReferenceProps: w,
181
- getFloatingProps: k,
181
+ getFloatingProps: _,
182
182
  getTriggerProps: b
183
- } = de([I, C]), B = n.useMemo(() => w(h), [w, h]), A = n.useMemo(() => b(h), [b, h]), L = n.useMemo(() => k(), [k]);
183
+ } = de([I, C]), B = n.useMemo(() => w(h), [w, h]), A = n.useMemo(() => b(h), [b, h]), L = n.useMemo(() => _(), [_]);
184
184
  r.useSyncedValues({
185
185
  modal: a,
186
186
  openMethod: p,
@@ -225,7 +225,7 @@ const xt = 300, me = /* @__PURE__ */ n.forwardRef(function(s, o) {
225
225
  } = s, M = V(!0), p = l?.store ?? M?.store;
226
226
  if (!p)
227
227
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Popover.Trigger> must be either used within a <Popover.Root> component or provided with a handle." : q(74));
228
- const h = te(R), _ = p.useState("isTriggerActive", h), c = p.useState("floatingRootContext"), F = p.useState("isOpenedByTrigger", h), E = n.useRef(null), {
228
+ const h = te(R), k = p.useState("isTriggerActive", h), c = p.useState("floatingRootContext"), F = p.useState("isOpenedByTrigger", h), E = n.useRef(null), {
229
229
  registerTrigger: O,
230
230
  isMountedByThisTrigger: I
231
231
  } = it(h, E, p, {
@@ -233,8 +233,8 @@ const xt = 300, me = /* @__PURE__ */ n.forwardRef(function(s, o) {
233
233
  disabled: i,
234
234
  openOnHover: m,
235
235
  closeDelay: v
236
- }), C = p.useState("openChangeReason"), w = p.useState("stickIfOpen"), k = p.useState("openMethod"), b = lt(c, {
237
- enabled: c != null && m && (k !== "touch" || C !== X),
236
+ }), C = p.useState("openChangeReason"), w = p.useState("stickIfOpen"), _ = p.useState("openMethod"), b = lt(c, {
237
+ enabled: c != null && m && (_ !== "touch" || C !== X),
238
238
  mouseOnly: !0,
239
239
  move: !1,
240
240
  handleClose: dt(),
@@ -243,7 +243,7 @@ const xt = 300, me = /* @__PURE__ */ n.forwardRef(function(s, o) {
243
243
  close: v
244
244
  },
245
245
  triggerElementRef: E,
246
- isActiveTrigger: _
246
+ isActiveTrigger: k
247
247
  }), B = Ue(c, {
248
248
  enabled: c != null,
249
249
  stickIfOpen: w
@@ -289,7 +289,7 @@ const xt = 300, me = /* @__PURE__ */ n.forwardRef(function(s, o) {
289
289
  y?.focus();
290
290
  }
291
291
  });
292
- return _ ? /* @__PURE__ */ Y(n.Fragment, {
292
+ return k ? /* @__PURE__ */ Y(n.Fragment, {
293
293
  children: [/* @__PURE__ */ u(ce, {
294
294
  ref: U,
295
295
  onFocus: j
@@ -353,10 +353,10 @@ const he = /* @__PURE__ */ n.forwardRef(function(s, o) {
353
353
  sticky: M = !1,
354
354
  disableAnchorTracking: p = !1,
355
355
  collisionAvoidance: h = et,
356
- ..._
356
+ ...k
357
357
  } = s, {
358
358
  store: c
359
- } = V(), F = Nt(), E = ke(), O = c.useState("floatingRootContext"), I = c.useState("mounted"), C = c.useState("open"), w = c.useState("openChangeReason"), k = c.useState("activeTriggerElement"), b = c.useState("modal"), B = c.useState("positionerElement"), A = c.useState("instantType"), L = c.useState("transitionStatus"), D = n.useRef(null), H = Pt(B, !1, !1), S = vt({
359
+ } = V(), F = Nt(), E = _e(), O = c.useState("floatingRootContext"), I = c.useState("mounted"), C = c.useState("open"), w = c.useState("openChangeReason"), _ = c.useState("activeTriggerElement"), b = c.useState("modal"), B = c.useState("positionerElement"), A = c.useState("instantType"), L = c.useState("transitionStatus"), D = n.useRef(null), H = Pt(B, !1, !1), S = vt({
360
360
  anchor: i,
361
361
  floatingRootContext: O,
362
362
  positionMethod: a,
@@ -410,7 +410,7 @@ const he = /* @__PURE__ */ n.forwardRef(function(s, o) {
410
410
  c.set("positionerElement", g);
411
411
  }, [c]), d = K("div", s, {
412
412
  state: j,
413
- props: [T.props, fe(L), _],
413
+ props: [T.props, fe(L), k],
414
414
  ref: [o, z],
415
415
  stateAttributesMapping: ee
416
416
  });
@@ -419,8 +419,8 @@ const he = /* @__PURE__ */ n.forwardRef(function(s, o) {
419
419
  children: [I && b === !0 && w !== J && /* @__PURE__ */ u(Ge, {
420
420
  ref: c.context.internalBackdropRef,
421
421
  inert: gt(!C),
422
- cutout: k
423
- }), /* @__PURE__ */ u(_e, {
422
+ cutout: _
423
+ }), /* @__PURE__ */ u(ke, {
424
424
  id: E,
425
425
  children: d
426
426
  })]
@@ -439,7 +439,7 @@ const Mt = {
439
439
  ...l
440
440
  } = s, {
441
441
  store: e
442
- } = V(), m = ve(), r = St() != null, v = Rt(), R = e.useState("open"), N = e.useState("openMethod"), M = e.useState("instantType"), p = e.useState("transitionStatus"), h = e.useState("popupProps"), _ = e.useState("titleElementId"), c = e.useState("descriptionElementId"), F = e.useState("modal"), E = e.useState("mounted"), O = e.useState("openChangeReason"), I = e.useState("popupElement"), C = e.useState("payload"), w = e.useState("positionerElement"), k = e.useState("activeTriggerElement"), b = e.useState("floatingRootContext");
442
+ } = V(), m = ve(), r = St() != null, v = Rt(), R = e.useState("open"), N = e.useState("openMethod"), M = e.useState("instantType"), p = e.useState("transitionStatus"), h = e.useState("popupProps"), k = e.useState("titleElementId"), c = e.useState("descriptionElementId"), F = e.useState("modal"), E = e.useState("mounted"), O = e.useState("openChangeReason"), I = e.useState("popupElement"), C = e.useState("payload"), w = e.useState("positionerElement"), _ = e.useState("activeTriggerElement"), b = e.useState("floatingRootContext");
443
443
  Et({
444
444
  open: R,
445
445
  ref: e.context.popupRef,
@@ -489,7 +489,7 @@ const Mt = {
489
489
  state: S,
490
490
  ref: [o, e.context.popupRef, G],
491
491
  props: [h, {
492
- "aria-labelledby": _,
492
+ "aria-labelledby": k,
493
493
  "aria-describedby": c,
494
494
  onKeyDown(d) {
495
495
  r && bt.has(d.key) && d.stopPropagation();
@@ -505,7 +505,7 @@ const Mt = {
505
505
  initialFocus: H,
506
506
  returnFocus: a,
507
507
  restoreFocus: "popup",
508
- previousFocusableElement: Tt(k) ? k : void 0,
508
+ previousFocusableElement: Tt(_) ? _ : void 0,
509
509
  nextFocusableElement: e.context.triggerFocusTargetRef,
510
510
  beforeContentFocusGuardRef: e.context.beforeContentFocusGuardRef,
511
511
  children: z
@@ -578,9 +578,9 @@ const Te = /* @__PURE__ */ n.forwardRef(function(s, o) {
578
578
  });
579
579
  });
580
580
  process.env.NODE_ENV !== "production" && (Te.displayName = "PopoverDescription");
581
- const Ft = "_popover_10gkd_2", kt = "_popover__header_10gkd_7", le = {
581
+ const Ft = "_popover_u1s4l_2", _t = "_popover__header_u1s4l_7", le = {
582
582
  popover: Ft,
583
- popover__header: kt
583
+ popover__header: _t
584
584
  };
585
585
  function po({
586
586
  align: t,