@koide-labs/ui 0.1.2 → 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 (108) hide show
  1. package/dist/{InternalBackdrop-BSMKU-hc.js → InternalBackdrop-DDLgWc7D.js} +1 -1
  2. package/dist/accordion.css +1 -1
  3. package/dist/alert-dialog.css +1 -1
  4. package/dist/anchor.css +1 -1
  5. package/dist/avatar.css +1 -1
  6. package/dist/badge.css +1 -1
  7. package/dist/button.css +1 -1
  8. package/dist/checkbox.css +1 -1
  9. package/dist/code.css +1 -1
  10. package/dist/collapse.css +1 -1
  11. package/dist/command.css +1 -1
  12. package/dist/components/accordion/accordion.js +54 -54
  13. package/dist/components/alert-dialog/alert-dialog.js +6 -6
  14. package/dist/components/anchor/anchor.js +7 -7
  15. package/dist/components/avatar/avatar.js +13 -13
  16. package/dist/components/badge/badge.js +17 -17
  17. package/dist/components/button/button.js +12 -12
  18. package/dist/components/checkbox/checkbox.js +15 -15
  19. package/dist/components/code/code.js +32 -32
  20. package/dist/components/collapse/collapse.js +5 -5
  21. package/dist/components/command/command.js +4 -4
  22. package/dist/components/context-menu/context-menu.js +13 -13
  23. package/dist/components/dialog/dialog.js +2 -2
  24. package/dist/components/heading/heading.js +9 -9
  25. package/dist/components/icon/icon.js +7 -7
  26. package/dist/components/icon-button/icon-button.js +24 -24
  27. package/dist/components/inline-code/inline-code.js +7 -7
  28. package/dist/components/input/input.js +1 -1
  29. package/dist/components/meter/meter.js +10 -10
  30. package/dist/components/multiline-input/multiline-input.js +1 -1
  31. package/dist/components/number-input/number-input.js +60 -60
  32. package/dist/components/password-input/password-input.js +6 -6
  33. package/dist/components/pill/pill.js +15 -15
  34. package/dist/components/popover/popover.js +31 -31
  35. package/dist/components/preview-card/preview-card.js +5 -5
  36. package/dist/components/radio-group/radio-group.js +109 -109
  37. package/dist/components/search-bar/search-bar.js +10 -10
  38. package/dist/components/select/select.js +8 -8
  39. package/dist/components/separator/index.js +1 -1
  40. package/dist/components/separator/separator.js +1 -1
  41. package/dist/components/slider/slider.js +114 -114
  42. package/dist/components/spinner/spinner.js +4 -4
  43. package/dist/components/stacked-avatars/stacked-avatars.js +37 -37
  44. package/dist/components/status-banner/status-banner.js +22 -22
  45. package/dist/components/surface/surface.js +17 -17
  46. package/dist/components/switch/switch.js +28 -28
  47. package/dist/components/tabs/tabs.js +116 -116
  48. package/dist/components/text/text.js +16 -16
  49. package/dist/components/timestamp/timestamp.js +2 -2
  50. package/dist/components/toaster/toaster.js +145 -145
  51. package/dist/components/tooltip/index.js +1 -1
  52. package/dist/components/tooltip/tooltip.js +2 -2
  53. package/dist/components/view/view.js +40 -40
  54. package/dist/context-menu.css +1 -1
  55. package/dist/dialog.css +1 -1
  56. package/dist/{dialog.module-Pi1eHwli.js → dialog.module-CRiRBcbM.js} +66 -66
  57. package/dist/{getDisabledMountTransitionStyles-E2x-_lte.js → getDisabledMountTransitionStyles-CyEI2117.js} +1 -1
  58. package/dist/heading.css +1 -1
  59. package/dist/icon-button.css +1 -1
  60. package/dist/icon.css +1 -1
  61. package/dist/index.css +1 -1
  62. package/dist/index.js +2 -2
  63. package/dist/index2.css +1 -1
  64. package/dist/inline-code.css +1 -1
  65. package/dist/input.css +1 -1
  66. package/dist/input.module-CYcyDtrO.js +8 -0
  67. package/dist/integrations/react-markdown/index.js +26 -26
  68. package/dist/integrations/twemoji/index.js +1 -1
  69. package/dist/meter.css +1 -1
  70. package/dist/number-input.css +1 -1
  71. package/dist/password-input.css +1 -1
  72. package/dist/pill.css +1 -1
  73. package/dist/popover.css +1 -1
  74. package/dist/preview-card.css +1 -1
  75. package/dist/radio-group.css +1 -1
  76. package/dist/{safePolygon-DnkzOIur.js → safePolygon-lAEp2rci.js} +1 -1
  77. package/dist/search-bar.css +1 -1
  78. package/dist/select.css +1 -1
  79. package/dist/{separator-wNYojB9q.js → separator-Or-BDQYZ.js} +13 -13
  80. package/dist/separator.css +1 -1
  81. package/dist/slider.css +1 -1
  82. package/dist/spinner.css +1 -1
  83. package/dist/stacked-avatars.css +1 -1
  84. package/dist/status-banner.css +1 -1
  85. package/dist/styles/core.css +1 -1
  86. package/dist/surface.css +1 -1
  87. package/dist/switch.css +1 -1
  88. package/dist/tabs.css +1 -1
  89. package/dist/text.css +1 -1
  90. package/dist/timestamp.css +1 -1
  91. package/dist/toaster.css +1 -1
  92. package/dist/{tooltip-DZkByWDR.js → tooltip-JPnUwFFR.js} +6 -6
  93. package/dist/tooltip.css +1 -1
  94. package/dist/transitions.css +1 -1
  95. package/dist/{transitions.module-D9mMAtfI.js → transitions.module-SSNmQfsR.js} +43 -43
  96. package/dist/{useRole-BD3OL1rr.js → useRole-D1k7CnHQ.js} +1 -1
  97. package/dist/{useSyncedFloatingRootContext-BB1vwkV-.js → useSyncedFloatingRootContext-CaohymZI.js} +1 -1
  98. package/dist/{useTypeahead-BiL5IAVb.js → useTypeahead-CSZtonjF.js} +2 -2
  99. package/dist/view.css +1 -1
  100. package/dist/view.module-j3ylJCCE.js +6 -0
  101. package/dist/view2.css +1 -1
  102. package/package.json +2 -1
  103. package/dist/components/dialog/dialog.types.js +0 -1
  104. package/dist/components/icon/icon.types.js +0 -1
  105. package/dist/components/surface/surface.types.js +0 -1
  106. package/dist/components/view/view.types.js +0 -1
  107. package/dist/input.module-zw1dlr1_.js +0 -8
  108. package/dist/view.module-DlwuNdUj.js +0 -6
@@ -1,36 +1,36 @@
1
- import { jsxs as b, jsx as _ } from "react/jsx-runtime";
2
- import { c as l } from "../../clsx-OuTLNxxd.js";
1
+ import { jsxs as l, jsx as _ } from "react/jsx-runtime";
2
+ import { c as g } from "../../clsx-OuTLNxxd.js";
3
3
  import { textify as m } from "../../-utils.js";
4
4
  import { View as r } from "../view/view.js";
5
5
  import { Icon as e } from "../icon/icon.js";
6
6
  import { B as s } from "../../Button-BmcVHRRW.js";
7
- import '../../button.css';const a = "_button_nag0o_2", c = "_button_height_sm_nag0o_15", x = "_button_height_md_nag0o_20", d = "_button_height_lg_nag0o_25", f = "_button_height_xl_nag0o_30", p = "_button_height_2xl_nag0o_35", B = "_button_height_3xl_nag0o_40", i = {
8
- button: a,
9
- button_height_sm: c,
10
- button_height_md: x,
7
+ import '../../button.css';const c = "_button_17tw0_3", x = "_button_height_sm_17tw0_16", a = "_button_height_md_17tw0_21", d = "_button_height_lg_17tw0_26", f = "_button_height_xl_17tw0_31", w = "_button_height_2xl_17tw0_36", p = "_button_height_3xl_17tw0_41", i = {
8
+ button: c,
9
+ button_height_sm: x,
10
+ button_height_md: a,
11
11
  button_height_lg: d,
12
12
  button_height_xl: f,
13
- button_height_2xl: p,
14
- button_height_3xl: B
13
+ button_height_2xl: w,
14
+ button_height_3xl: p
15
15
  };
16
16
  function N({
17
17
  size: t = "md",
18
18
  leftIcon: o,
19
19
  rightIcon: n,
20
20
  children: u,
21
- render: g,
21
+ render: b,
22
22
  ...h
23
23
  }) {
24
- return /* @__PURE__ */ b(
24
+ return /* @__PURE__ */ l(
25
25
  r,
26
26
  {
27
27
  interactive: !0,
28
28
  render: /* @__PURE__ */ _(
29
29
  s,
30
30
  {
31
- className: l(i.button, i[`button_height_${t}`]),
31
+ className: g(i.button, i[`button_height_${t}`]),
32
32
  focusableWhenDisabled: !!h.loading,
33
- render: g
33
+ render: b
34
34
  }
35
35
  ),
36
36
  ...h,
@@ -4,7 +4,7 @@ import { Icon as Fe } from "../icon/icon.js";
4
4
  import { Text as Te } from "../text/text.js";
5
5
  import * as r from "react";
6
6
  import { f as ee } from "../../formatErrorMessage-BqPuTBN-.js";
7
- import { N as qe, d as Ue, m as je, E as De, u as te } from "../../useRenderElement-DngNDu_P.js";
7
+ import { N as je, d as qe, m as Ue, E as De, u as te } from "../../useRenderElement-DngNDu_P.js";
8
8
  import { f as ne, c as He, a as Le, u as $e, b as ze } from "../../LabelableContext-Be1u-eFg.js";
9
9
  import { u as Je, t as Ke } from "../../useOpenChangeComplete-BHd-N7Ig.js";
10
10
  import { u as We } from "../../useTransitionStatus-CmMyUh74.js";
@@ -40,10 +40,10 @@ function ot(e = !0) {
40
40
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: CheckboxGroupContext is missing. CheckboxGroup parts must be placed within <CheckboxGroup>." : ee(3));
41
41
  return n;
42
42
  }
43
- const U = /* @__PURE__ */ r.createContext(void 0);
44
- process.env.NODE_ENV !== "production" && (U.displayName = "CheckboxRootContext");
43
+ const q = /* @__PURE__ */ r.createContext(void 0);
44
+ process.env.NODE_ENV !== "production" && (q.displayName = "CheckboxRootContext");
45
45
  function rt() {
46
- const e = r.useContext(U);
46
+ const e = r.useContext(q);
47
47
  if (e === void 0)
48
48
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: CheckboxRootContext is missing. Checkbox parts must be placed within <Checkbox.Root>." : ee(14));
49
49
  return e;
@@ -61,7 +61,7 @@ const at = "data-parent", ae = /* @__PURE__ */ r.forwardRef(function(n, k) {
61
61
  onCheckedChange: E,
62
62
  parent: i = !1,
63
63
  readOnly: l = !1,
64
- render: j,
64
+ render: U,
65
65
  required: f = !1,
66
66
  uncheckedValue: N,
67
67
  value: P,
@@ -109,7 +109,7 @@ const at = "data-parent", ae = /* @__PURE__ */ r.forwardRef(function(n, k) {
109
109
  state: "checked"
110
110
  });
111
111
  Y(() => {
112
- if (V !== qe)
112
+ if (V !== je)
113
113
  return V(g), () => {
114
114
  V(void 0);
115
115
  };
@@ -122,13 +122,13 @@ const at = "data-parent", ae = /* @__PURE__ */ r.forwardRef(function(n, k) {
122
122
  name: h,
123
123
  getValue: () => o
124
124
  });
125
- const v = r.useRef(null), Re = Ue(_, v, d.inputRef);
125
+ const v = r.useRef(null), Re = qe(_, v, d.inputRef);
126
126
  Y(() => {
127
127
  v.current && (v.current.indeterminate = I, o && S(!0));
128
128
  }, [o, I, S]), nt(o, () => {
129
129
  t && !i || (ue(h), S(o), pe(o !== Ce.initialValue), ke() ? d.commit(o) : d.commit(o, !0));
130
130
  });
131
- const Me = je(
131
+ const Me = Ue(
132
132
  {
133
133
  checked: o,
134
134
  disabled: p,
@@ -197,7 +197,7 @@ const at = "data-parent", ae = /* @__PURE__ */ r.forwardRef(function(n, k) {
197
197
  }, L, d.getValidationProps, de, Pe, Ve],
198
198
  stateAttributesMapping: Oe
199
199
  });
200
- return /* @__PURE__ */ A(U.Provider, {
200
+ return /* @__PURE__ */ A(q.Provider, {
201
201
  value: T,
202
202
  children: [Be, !o && !t && h && !i && N !== void 0 && /* @__PURE__ */ m("input", {
203
203
  type: "hidden",
@@ -229,7 +229,7 @@ const ie = /* @__PURE__ */ r.forwardRef(function(n, k) {
229
229
  c || G(!1);
230
230
  }
231
231
  });
232
- const l = oe(s), j = r.useMemo(() => ({
232
+ const l = oe(s), U = r.useMemo(() => ({
233
233
  ...l,
234
234
  ...Ke,
235
235
  ...ne
@@ -237,13 +237,13 @@ const ie = /* @__PURE__ */ r.forwardRef(function(n, k) {
237
237
  enabled: f,
238
238
  ref: [k, E],
239
239
  state: i,
240
- stateAttributesMapping: j,
240
+ stateAttributesMapping: U,
241
241
  props: B
242
242
  });
243
243
  return f ? N : null;
244
244
  });
245
245
  process.env.NODE_ENV !== "production" && (ie.displayName = "CheckboxIndicator");
246
- const it = "_checkbox__label_1pchx_2", st = "_checkbox_1pchx_2", ct = "_checkbox__indicator_1pchx_30", q = {
246
+ const it = "_checkbox__label_1o5lj_3", st = "_checkbox_1o5lj_3", ct = "_checkbox__indicator_1o5lj_31", j = {
247
247
  checkbox__label: it,
248
248
  checkbox: st,
249
249
  checkbox__indicator: ct
@@ -255,11 +255,11 @@ function yt({ color: e, label: n, ...k }) {
255
255
  color: e,
256
256
  interactive: "fill-outline",
257
257
  render: /* @__PURE__ */ m(ae, { "aria-label": n, ...k }),
258
- className: q.checkbox,
259
- children: /* @__PURE__ */ m(ie, { className: q.checkbox__indicator, children: /* @__PURE__ */ m(Fe, { name: "check-line", size: "sm" }) })
258
+ className: j.checkbox,
259
+ children: /* @__PURE__ */ m(ie, { className: j.checkbox__indicator, children: /* @__PURE__ */ m(Fe, { name: "check-line", size: "sm" }) })
260
260
  }
261
261
  );
262
- return n ? /* @__PURE__ */ A("label", { className: q.checkbox__label, children: [
262
+ return n ? /* @__PURE__ */ A("label", { className: j.checkbox__label, children: [
263
263
  x,
264
264
  /* @__PURE__ */ m(Te, { children: n })
265
265
  ] }) : x;
@@ -13,7 +13,7 @@ function oe() {
13
13
  return Q || (Q = 1, (function(b) {
14
14
  var j = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
15
15
  var i = (function(g) {
16
- var f = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, x = 0, A = {}, s = {
16
+ var f = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, F = 0, w = {}, s = {
17
17
  /**
18
18
  * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
19
19
  * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
@@ -97,7 +97,7 @@ function oe() {
97
97
  * @returns {number}
98
98
  */
99
99
  objId: function(t) {
100
- return t.__id || Object.defineProperty(t, "__id", { value: ++x }), t.__id;
100
+ return t.__id || Object.defineProperty(t, "__id", { value: ++F }), t.__id;
101
101
  },
102
102
  /**
103
103
  * Creates a deep clone of the given object.
@@ -232,10 +232,10 @@ function oe() {
232
232
  /**
233
233
  * The grammar for plain, unformatted text.
234
234
  */
235
- plain: A,
236
- plaintext: A,
237
- text: A,
238
- txt: A,
235
+ plain: w,
236
+ plaintext: w,
237
+ text: w,
238
+ txt: w,
239
239
  /**
240
240
  * Creates a deep copy of the language with the given id and appends the given tokens.
241
241
  *
@@ -630,36 +630,36 @@ function oe() {
630
630
  var te = v.pattern.toString().match(/[imsuy]*$/)[0];
631
631
  v.pattern = RegExp(v.pattern.source, te + "g");
632
632
  }
633
- for (var X = v.pattern || v, m = n.next, w = r; m !== e.tail && !(l && w >= l.reach); w += m.value.length, m = m.next) {
633
+ for (var X = v.pattern || v, m = n.next, A = r; m !== e.tail && !(l && A >= l.reach); A += m.value.length, m = m.next) {
634
634
  var E = m.value;
635
635
  if (e.length > t.length)
636
636
  return;
637
637
  if (!(E instanceof y)) {
638
- var z = 1, F;
638
+ var z = 1, x;
639
639
  if (N) {
640
- if (F = $(X, w, t, W), !F || F.index >= t.length)
640
+ if (x = $(X, A, t, W), !x || x.index >= t.length)
641
641
  break;
642
- var D = F.index, ae = F.index + F[0].length, k = w;
642
+ var D = x.index, ae = x.index + x[0].length, k = A;
643
643
  for (k += m.value.length; D >= k; )
644
644
  m = m.next, k += m.value.length;
645
- if (k -= m.value.length, w = k, m.value instanceof y)
645
+ if (k -= m.value.length, A = k, m.value instanceof y)
646
646
  continue;
647
647
  for (var C = m; C !== e.tail && (k < ae || typeof C.value == "string"); C = C.next)
648
648
  z++, k += C.value.length;
649
- z--, E = t.slice(w, k), F.index -= w;
650
- } else if (F = $(X, 0, E, W), !F)
649
+ z--, E = t.slice(A, k), x.index -= A;
650
+ } else if (x = $(X, 0, E, W), !x)
651
651
  continue;
652
- var D = F.index, O = F[0], q = E.slice(0, D), Y = E.slice(D + O.length), G = w + E.length;
652
+ var D = x.index, O = x[0], q = E.slice(0, D), Y = E.slice(D + O.length), G = A + E.length;
653
653
  l && G > l.reach && (l.reach = G);
654
654
  var R = m.prev;
655
- q && (R = S(e, R, q), w += q.length), H(e, R, z);
655
+ q && (R = S(e, R, q), A += q.length), H(e, R, z);
656
656
  var ne = new y(o, _ ? s.tokenize(O, _) : O, ee, O);
657
657
  if (m = S(e, R, ne), Y && S(e, m, Y), z > 1) {
658
658
  var U = {
659
659
  cause: o + "," + d,
660
660
  reach: G
661
661
  };
662
- I(t, e, a, m.prev, w, U), l && U.reach > l.reach && (l.reach = U.reach);
662
+ I(t, e, a, m.prev, A, U), l && U.reach > l.reach && (l.reach = U.reach);
663
663
  }
664
664
  }
665
665
  }
@@ -791,22 +791,22 @@ function oe() {
791
791
  * @example
792
792
  * addInlined('style', 'css');
793
793
  */
794
- value: function(f, x) {
795
- var A = {};
796
- A["language-" + x] = {
794
+ value: function(f, F) {
795
+ var w = {};
796
+ w["language-" + F] = {
797
797
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
798
798
  lookbehind: !0,
799
- inside: i.languages[x]
800
- }, A.cdata = /^<!\[CDATA\[|\]\]>$/i;
799
+ inside: i.languages[F]
800
+ }, w.cdata = /^<!\[CDATA\[|\]\]>$/i;
801
801
  var s = {
802
802
  "included-cdata": {
803
803
  pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
804
- inside: A
804
+ inside: w
805
805
  }
806
806
  };
807
- s["language-" + x] = {
807
+ s["language-" + F] = {
808
808
  pattern: /[\s\S]+/,
809
- inside: i.languages[x]
809
+ inside: i.languages[F]
810
810
  };
811
811
  var y = {};
812
812
  y[f] = {
@@ -912,8 +912,8 @@ function oe() {
912
912
  },
913
913
  punctuation: /[(){};:,]/
914
914
  }, g.languages.css.atrule.inside.rest = g.languages.css;
915
- var x = g.languages.markup;
916
- x && (x.tag.addInlined("style", "css"), x.tag.addAttribute("style", "css"));
915
+ var F = g.languages.markup;
916
+ F && (F.tag.addInlined("style", "css"), F.tag.addAttribute("style", "css"));
917
917
  })(i), i.languages.clike = {
918
918
  comment: [
919
919
  {
@@ -1080,7 +1080,7 @@ function oe() {
1080
1080
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
1081
1081
  var g = "Loading…", f = function(p, c) {
1082
1082
  return "✖ Error " + p + " while fetching file: " + c;
1083
- }, x = "✖ Error: File does not exist or is empty", A = {
1083
+ }, F = "✖ Error: File does not exist or is empty", w = {
1084
1084
  js: "javascript",
1085
1085
  py: "python",
1086
1086
  rb: "ruby",
@@ -1094,7 +1094,7 @@ function oe() {
1094
1094
  function S(p, c, h) {
1095
1095
  var t = new XMLHttpRequest();
1096
1096
  t.open("GET", p, !0), t.onreadystatechange = function() {
1097
- t.readyState == 4 && (t.status < 400 && t.responseText ? c(t.responseText) : t.status >= 400 ? h(f(t.status, t.statusText)) : h(x));
1097
+ t.readyState == 4 && (t.status < 400 && t.responseText ? c(t.responseText) : t.status >= 400 ? h(f(t.status, t.statusText)) : h(F));
1098
1098
  }, t.send(null);
1099
1099
  }
1100
1100
  function H(p) {
@@ -1118,7 +1118,7 @@ function oe() {
1118
1118
  var t = c.getAttribute("data-src"), e = p.language;
1119
1119
  if (e === "none") {
1120
1120
  var a = (/\.(\w+)$/.exec(t) || [, "none"])[1];
1121
- e = A[a] || a;
1121
+ e = w[a] || a;
1122
1122
  }
1123
1123
  i.util.setLanguage(h, e), i.util.setLanguage(c, e);
1124
1124
  var n = i.plugins.autoloader;
@@ -1160,14 +1160,14 @@ function oe() {
1160
1160
  })(Z)), Z.exports;
1161
1161
  }
1162
1162
  var ge = oe();
1163
- const B = /* @__PURE__ */ le(ge), ce = "_code__root_1bx1u_2", de = "_code_1bx1u_2", fe = "_code_title_1bx1u_13", pe = "_code__value_1bx1u_17", he = "_code__title_1bx1u_22", L = {
1163
+ const B = /* @__PURE__ */ le(ge), ce = "_code__root_1w9hs_3", de = "_code_1w9hs_3", fe = "_code_title_1w9hs_14", pe = "_code__value_1w9hs_18", he = "_code__title_1w9hs_23", L = {
1164
1164
  code__root: ce,
1165
1165
  code: de,
1166
1166
  code_title: fe,
1167
1167
  code__value: pe,
1168
1168
  code__title: he
1169
1169
  };
1170
- function Ae({
1170
+ function we({
1171
1171
  language: b = "javascript",
1172
1172
  children: j = "",
1173
1173
  title: i,
@@ -1202,5 +1202,5 @@ function Ae({
1202
1202
  ] });
1203
1203
  }
1204
1204
  export {
1205
- Ae as Code
1205
+ we as Code
1206
1206
  };
@@ -2,7 +2,7 @@ import { c as p } from "../../clsx-OuTLNxxd.js";
2
2
  import { useRef as d, useState as i, useLayoutEffect as m } from "react";
3
3
  import { u } from "../../useRender-C3vlzS3t.js";
4
4
  import { m as _ } from "../../useRenderElement-DngNDu_P.js";
5
- import '../../collapse.css';const f = "_collapse_10nze_2", h = "_collapse_expand_10nze_13", x = "_collapse_hidden_10nze_18", o = {
5
+ import '../../collapse.css';const f = "_collapse_k1eaa_3", h = "_collapse_expand_k1eaa_14", x = "_collapse_hidden_k1eaa_19", o = {
6
6
  collapse: f,
7
7
  collapse_expand: h,
8
8
  collapse_hidden: x
@@ -10,23 +10,23 @@ import '../../collapse.css';const f = "_collapse_10nze_2", h = "_collapse_expand
10
10
  function R({
11
11
  expand: s = !0,
12
12
  render: l,
13
- recalculate: n,
13
+ recalculate: a,
14
14
  ...c
15
15
  }) {
16
- const t = d(null), [a, r] = i(0);
16
+ const t = d(null), [n, r] = i(0);
17
17
  return m(() => {
18
18
  if (!t.current)
19
19
  return;
20
20
  const e = t.current.cloneNode(!0);
21
21
  e.removeAttribute("style"), e.style.width = `${t.current.offsetWidth}px`, e.className = o.collapse_hidden, document.body.appendChild(e), r(e.offsetHeight), e.remove();
22
- }, [n]), u({
22
+ }, [a]), u({
23
23
  defaultTagName: "div",
24
24
  render: l,
25
25
  ref: t,
26
26
  props: _(c, {
27
27
  "aria-hidden": !s,
28
28
  className: p(o.collapse, s && o.collapse_expand),
29
- style: { "--collapse-height": `${a}px` }
29
+ style: { "--collapse-height": `${n}px` }
30
30
  })
31
31
  });
32
32
  }
@@ -10,7 +10,7 @@ import { Dialog as nn } from "../dialog/dialog.js";
10
10
  import { View as ye } from "../view/view.js";
11
11
  import { Icon as vt } from "../icon/icon.js";
12
12
  import { Text as pt } from "../text/text.js";
13
- import { S as rn } from "../../separator-wNYojB9q.js";
13
+ import { S as rn } from "../../separator-Or-BDQYZ.js";
14
14
  import '../../command.css';var Je = 1, on = 0.9, an = 0.8, cn = 0.17, Ne = 0.1, Oe = 0.999, un = 0.9999, sn = 0.99, ln = /[\\\/_+.#"@\[\(\{&]/, dn = /[\\\/_+.#"@\[\(\{&]/g, fn = /[\s-]/, ht = /[\s-]/g;
15
15
  function Be(e, t, n, r, o, i, u) {
16
16
  if (i === t.length) return o === e.length ? Je : sn;
@@ -1599,12 +1599,12 @@ function _e({ asChild: e, children: t }, n) {
1599
1599
  return e && a.isValidElement(t) ? a.cloneElement(mo(t), { ref: t.ref }, n(t.props.children)) : n(t);
1600
1600
  }
1601
1601
  var vo = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
1602
- const po = "_command_1t4ah_2", ho = "_command__empty_1t4ah_15", go = "_command__input_1t4ah_21", yo = "_command__list_1t4ah_52", Eo = "_command__group_1t4ah_62", bo = "_command__item_1t4ah_75", wo = "_command__shortcut_1t4ah_88", B = {
1602
+ const po = "_command_1svrl_3", ho = "_command__empty_1svrl_16", go = "_command__input_1svrl_22", yo = "_command__list_1svrl_53", Eo = "_command__group_1svrl_63", bo = "_command__item_1svrl_76", wo = "_command__shortcut_1svrl_89", B = {
1603
1603
  command: po,
1604
1604
  command__empty: ho,
1605
- "command__input-root": "_command__input-root_1t4ah_21",
1605
+ "command__input-root": "_command__input-root_1svrl_22",
1606
1606
  command__input: go,
1607
- "command__input-icon": "_command__input-icon_1t4ah_46",
1607
+ "command__input-icon": "_command__input-icon_1svrl_47",
1608
1608
  command__list: yo,
1609
1609
  command__group: Eo,
1610
1610
  command__item: bo,
@@ -4,12 +4,12 @@ import * as t from "react";
4
4
  import { createContext as Wt, useContext as Xt } from "react";
5
5
  import { textify as Ce } from "../../-utils.js";
6
6
  import { tokens as st } from "../../styles/tokens.js";
7
- import { p as it, k as jt, R as $t, P as qt, c as U, m as zt, j as Jt, u as Qt, d as Zt, e as at, h as en, f as tn, i as nn, t as ut } from "../../transitions.module-D9mMAtfI.js";
7
+ import { p as it, k as jt, R as $t, P as qt, c as U, m as zt, j as Jt, u as Qt, d as Zt, e as at, h as en, f as tn, i as nn, t as ut } from "../../transitions.module-SSNmQfsR.js";
8
8
  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-wNYojB9q.js";
12
+ import { S as on, a as rn } from "../../separator-Or-BDQYZ.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";
@@ -19,24 +19,24 @@ import * as ln from "react-dom";
19
19
  import { u as Me } from "../../useTimeout-BNni6aw5.js";
20
20
  import { u as Te } from "../../useIsoLayoutEffect-CIDbvm3Q.js";
21
21
  import { u as dn } from "../../useAnimationFrame-DvK1s63A.js";
22
- import { F as pn, I as fn, u as mn, a as gn, b as hn } from "../../InternalBackdrop-BSMKU-hc.js";
22
+ import { F as pn, I as fn, u as mn, a as gn, b as hn } from "../../InternalBackdrop-DDLgWc7D.js";
23
23
  import { h as xn, m as Mn, P as Cn, T as Rn } from "../../FloatingPortal-BQsQhvIr.js";
24
24
  import { u as bn } from "../../DirectionContext-C2o_MF_i.js";
25
25
  import { x as be, c as z, o as vn, t as xe, y as ue, b as et, a as ft, f as En, l as In, e as yn, i as Nn, v as Pn } from "../../createBaseUIEventDetails-CCSfZ2vM.js";
26
- import { p as Sn, c as Tn, u as On, a as kn, b as _n, e as wn } from "../../useSyncedFloatingRootContext-BB1vwkV-.js";
27
- import { u as Dn } from "../../useRole-BD3OL1rr.js";
28
- import { u as Vn, a as An } from "../../useTypeahead-BiL5IAVb.js";
26
+ import { p as Sn, c as Tn, u as On, a as kn, b as _n, e as wn } from "../../useSyncedFloatingRootContext-CaohymZI.js";
27
+ import { u as Dn } from "../../useRole-D1k7CnHQ.js";
28
+ import { u as Vn, a as An } from "../../useTypeahead-CSZtonjF.js";
29
29
  import { o as tt } from "../../owner-rKN292Q9.js";
30
30
  import { i as Un, o as Ln, n as Fn } from "../../floating-ui.utils.dom-cbi420Pg.js";
31
31
  import { h as nt, f as he } from "../../element-u5WgOZX1.js";
32
32
  import { s as Gn } from "../../event-B89-Ng5h.js";
33
33
  import { i as Bn } from "../../inertValue-BTpPjX30.js";
34
- import { g as Hn, a as Yn } from "../../getDisabledMountTransitionStyles-E2x-_lte.js";
34
+ import { g as Hn, a as Yn } from "../../getDisabledMountTransitionStyles-CyEI2117.js";
35
35
  import { u as ve, C as Kn } from "../../useCompositeListItem-CZp9WTnF.js";
36
36
  import { t as mt, u as Oe } from "../../useOpenChangeComplete-BHd-N7Ig.js";
37
37
  import { u as Wn } from "../../ToolbarRootContext-CvvL0Tk1.js";
38
38
  import { C as Xn } from "../../composite-BwEK5cWH.js";
39
- import { b as jn, a as $n, s as qn } from "../../safePolygon-DnkzOIur.js";
39
+ import { b as jn, a as $n, s as qn } from "../../safePolygon-lAEp2rci.js";
40
40
  import { u as pe } from "../../useBaseUiId-B7WyxtIE.js";
41
41
  import { u as zn } from "../../useButton-d3_JgBNr.js";
42
42
  import { u as gt } from "../../useTransitionStatus-CmMyUh74.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_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"
1260
+ "context-menu": "_context-menu_1x98f_3",
1261
+ "context-menu__item": "_context-menu__item_1x98f_12",
1262
+ "context-menu__item-icon": "_context-menu__item-icon_1x98f_24",
1263
+ "context-menu__item-shortcut": "_context-menu__item-shortcut_1x98f_31",
1264
+ "context-menu__label": "_context-menu__label_1x98f_36"
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
- 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-Pi1eHwli.js";
3
+ import { t as h } from "../../transitions.module-SSNmQfsR.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-CRiRBcbM.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,11 +1,11 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
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";
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";
5
5
  import { m as p } from "../../useRenderElement-DngNDu_P.js";
6
- import '../../heading.css';const f = "_heading_19trw_2", g = {
7
- heading: f
8
- }, u = i(0), h = {
6
+ import '../../heading.css';const u = "_heading_u1xze_3", f = {
7
+ heading: u
8
+ }, g = i(0), h = {
9
9
  1: "3xl",
10
10
  2: "2xl",
11
11
  3: "xl",
@@ -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 = c(u), t = v(e || s), a = x({
20
+ const s = x(g), t = v(e || s), a = d({
21
21
  defaultTagName: `h${t}`,
22
22
  render: r,
23
- props: p(m, { className: g.heading })
23
+ props: p(m, { className: f.heading })
24
24
  });
25
25
  return /* @__PURE__ */ l(
26
- d,
26
+ c,
27
27
  {
28
28
  render: a,
29
29
  size: o || h[t],
@@ -2,14 +2,14 @@ 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 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,
5
+ import '../../icon.css';const f = "_icon_15q8f_3", m = "_icon_size_sm_15q8f_15", d = "_icon_size_md_15q8f_20", p = "_icon_size_lg_15q8f_24", g = "_icon_size_xl_15q8f_28", q = "_icon_size_2xl_15q8f_32", a = "_icon_size_3xl_15q8f_36", o = {
6
+ icon: f,
7
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
8
+ icon_size_md: d,
9
+ icon_size_lg: p,
10
+ icon_size_xl: g,
11
+ icon_size_2xl: q,
12
+ icon_size_3xl: a
13
13
  };
14
14
  function $({
15
15
  size: n = "md",
@@ -1,46 +1,46 @@
1
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"
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_qkt95_3",
8
+ "icon-button_size_sm": "_icon-button_size_sm_qkt95_13",
9
+ "icon-button_size_md": "_icon-button_size_md_qkt95_17",
10
+ "icon-button_size_lg": "_icon-button_size_lg_qkt95_21",
11
+ "icon-button_size_xl": "_icon-button_size_xl_qkt95_25",
12
+ "icon-button_size_2xl": "_icon-button_size_2xl_qkt95_29",
13
+ "icon-button_size_3xl": "_icon-button_size_3xl_qkt95_33"
14
14
  };
15
- function d({
16
- icon: n,
15
+ function f({
16
+ icon: i,
17
17
  alt: e,
18
18
  size: o = "md",
19
19
  render: c,
20
20
  className: s,
21
- ...i
21
+ ..._
22
22
  }) {
23
23
  return /* @__PURE__ */ t(
24
- u,
24
+ b,
25
25
  {
26
26
  interactive: !0,
27
27
  render: /* @__PURE__ */ t(
28
- m,
28
+ r,
29
29
  {
30
- className: l(
31
- _["icon-button"],
32
- _[`icon-button_size_${o}`],
30
+ className: u(
31
+ n["icon-button"],
32
+ n[`icon-button_size_${o}`],
33
33
  s
34
34
  ),
35
- focusableWhenDisabled: !!i.loading,
35
+ focusableWhenDisabled: !!_.loading,
36
36
  render: c
37
37
  }
38
38
  ),
39
- ...i,
40
- children: /* @__PURE__ */ t(b, { name: n, size: o, alt: e })
39
+ ..._,
40
+ children: /* @__PURE__ */ t(m, { name: i, size: o, alt: e })
41
41
  }
42
42
  );
43
43
  }
44
44
  export {
45
- d as IconButton
45
+ f as IconButton
46
46
  };
@@ -2,20 +2,20 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  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
- import '../../inline-code.css';const i = {
6
- "inline-code": "_inline-code_8ln17_2",
7
- "inline-code_colorway": "_inline-code_colorway_8ln17_12"
5
+ import '../../inline-code.css';const o = {
6
+ "inline-code": "_inline-code_1595i_3",
7
+ "inline-code_colorway": "_inline-code_colorway_1595i_13"
8
8
  };
9
- function _({ color: o, ...n }) {
9
+ function _({ color: i, ...n }) {
10
10
  return /* @__PURE__ */ e(
11
11
  c,
12
12
  {
13
13
  elevated: !0,
14
14
  className: r(
15
- i["inline-code"],
16
- o && i["inline-code_colorway"]
15
+ o["inline-code"],
16
+ i && o["inline-code_colorway"]
17
17
  ),
18
- color: o,
18
+ color: i,
19
19
  children: /* @__PURE__ */ e(l, { size: "sm", color: "inherit", children: /* @__PURE__ */ e("code", { ...n }) })
20
20
  }
21
21
  );
@@ -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-zw1dlr1_.js";
5
+ import { s as I } from "../../input.module-CYcyDtrO.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";