revotech-ui-kit 0.0.46 → 0.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import { LitElement as u, css as p, svg as Oe, html as l, nothing as w } from "lit";
2
- import { property as n, customElement as d, state as m, queryAssignedElements as Js } from "lit/decorators.js";
2
+ import { property as n, customElement as d, state as v, queryAssignedElements as Js } from "lit/decorators.js";
3
3
  import { css as Mr, html as nt, nothing as Qs, LitElement as eo } from "lit-element";
4
4
  import { nothing as to } from "lit/html.js";
5
- import { directive as Rr } from "lit/directive.js";
5
+ import { directive as Br } from "lit/directive.js";
6
6
  import { AsyncDirective as ro } from "lit/async-directive.js";
7
7
  function _s(e) {
8
8
  var t, s, o = "";
@@ -23,14 +23,14 @@ function so() {
23
23
  (e = arguments[s]) && (t = _s(e)) && (o && (o += " "), o += t);
24
24
  return o;
25
25
  }
26
- const Br = "-", oo = (e) => {
26
+ const Rr = "-", oo = (e) => {
27
27
  const t = ao(e), {
28
28
  conflictingClassGroups: s,
29
29
  conflictingClassGroupModifiers: o
30
30
  } = e;
31
31
  return {
32
32
  getClassGroupId: (a) => {
33
- const h = a.split(Br);
33
+ const h = a.split(Rr);
34
34
  return h[0] === "" && h.length !== 1 && h.shift(), $s(h, t) || io(a);
35
35
  },
36
36
  getConflictingClassGroupIds: (a, h) => {
@@ -47,13 +47,13 @@ const Br = "-", oo = (e) => {
47
47
  return r;
48
48
  if (t.validators.length === 0)
49
49
  return;
50
- const i = e.join(Br);
50
+ const i = e.join(Rr);
51
51
  return (a = t.validators.find(({
52
52
  validator: h
53
53
  }) => h(i))) == null ? void 0 : a.classGroupId;
54
- }, vs = /^\[(.+)\]$/, io = (e) => {
55
- if (vs.test(e)) {
56
- const t = vs.exec(e)[1], s = t == null ? void 0 : t.substring(0, t.indexOf(":"));
54
+ }, ms = /^\[(.+)\]$/, io = (e) => {
55
+ if (ms.test(e)) {
56
+ const t = ms.exec(e)[1], s = t == null ? void 0 : t.substring(0, t.indexOf(":"));
57
57
  if (s)
58
58
  return "arbitrary.." + s;
59
59
  }
@@ -71,7 +71,7 @@ const Br = "-", oo = (e) => {
71
71
  }, ar = (e, t, s, o) => {
72
72
  e.forEach((r) => {
73
73
  if (typeof r == "string") {
74
- const i = r === "" ? t : ms(t, r);
74
+ const i = r === "" ? t : vs(t, r);
75
75
  i.classGroupId = s;
76
76
  return;
77
77
  }
@@ -87,12 +87,12 @@ const Br = "-", oo = (e) => {
87
87
  return;
88
88
  }
89
89
  Object.entries(r).forEach(([i, a]) => {
90
- ar(a, ms(t, i), s, o);
90
+ ar(a, vs(t, i), s, o);
91
91
  });
92
92
  });
93
- }, ms = (e, t) => {
93
+ }, vs = (e, t) => {
94
94
  let s = e;
95
- return t.split(Br).forEach((o) => {
95
+ return t.split(Rr).forEach((o) => {
96
96
  s.nextPart.has(o) || s.nextPart.set(o, {
97
97
  nextPart: /* @__PURE__ */ new Map(),
98
98
  validators: []
@@ -131,10 +131,10 @@ const Br = "-", oo = (e) => {
131
131
  experimentalParseClassName: s
132
132
  } = e, o = t.length === 1, r = t[0], i = t.length, a = (h) => {
133
133
  const y = [];
134
- let v = 0, b = 0, E;
134
+ let m = 0, b = 0, E;
135
135
  for (let x = 0; x < h.length; x++) {
136
136
  let k = h[x];
137
- if (v === 0) {
137
+ if (m === 0) {
138
138
  if (k === r && (o || h.slice(x, x + i) === t)) {
139
139
  y.push(h.slice(b, x)), b = x + i;
140
140
  continue;
@@ -144,7 +144,7 @@ const Br = "-", oo = (e) => {
144
144
  continue;
145
145
  }
146
146
  }
147
- k === "[" ? v++ : k === "]" && v--;
147
+ k === "[" ? m++ : k === "]" && m--;
148
148
  }
149
149
  const S = y.length === 0 ? h : h.substring(b), V = S.startsWith(Os), D = V ? S.substring(1) : S, P = E && E > b ? E - b : void 0;
150
150
  return {
@@ -178,20 +178,20 @@ const Br = "-", oo = (e) => {
178
178
  } = t, i = [], a = e.trim().split(go);
179
179
  let h = "";
180
180
  for (let y = a.length - 1; y >= 0; y -= 1) {
181
- const v = a[y], {
181
+ const m = a[y], {
182
182
  modifiers: b,
183
183
  hasImportantModifier: E,
184
184
  baseClassName: S,
185
185
  maybePostfixModifierPosition: V
186
- } = s(v);
186
+ } = s(m);
187
187
  let D = !!V, P = o(D ? S.substring(0, V) : S);
188
188
  if (!P) {
189
189
  if (!D) {
190
- h = v + (h.length > 0 ? " " + h : h);
190
+ h = m + (h.length > 0 ? " " + h : h);
191
191
  continue;
192
192
  }
193
193
  if (P = o(S), !P) {
194
- h = v + (h.length > 0 ? " " + h : h);
194
+ h = m + (h.length > 0 ? " " + h : h);
195
195
  continue;
196
196
  }
197
197
  D = !1;
@@ -205,11 +205,11 @@ const Br = "-", oo = (e) => {
205
205
  const St = st[Ee];
206
206
  i.push(k + St);
207
207
  }
208
- h = v + (h.length > 0 ? " " + h : h);
208
+ h = m + (h.length > 0 ? " " + h : h);
209
209
  }
210
210
  return h;
211
211
  };
212
- function vo() {
212
+ function mo() {
213
213
  let e = 0, t, s, o = "";
214
214
  for (; e < arguments.length; )
215
215
  (t = arguments[e++]) && (s = Cs(t)) && (o && (o += " "), o += s);
@@ -223,21 +223,21 @@ const Cs = (e) => {
223
223
  e[o] && (t = Cs(e[o])) && (s && (s += " "), s += t);
224
224
  return s;
225
225
  };
226
- function mo(e, ...t) {
226
+ function vo(e, ...t) {
227
227
  let s, o, r, i = a;
228
228
  function a(y) {
229
- const v = t.reduce((b, E) => E(b), e());
230
- return s = ho(v), o = s.cache.get, r = s.cache.set, i = h, h(y);
229
+ const m = t.reduce((b, E) => E(b), e());
230
+ return s = ho(m), o = s.cache.get, r = s.cache.set, i = h, h(y);
231
231
  }
232
232
  function h(y) {
233
- const v = o(y);
234
- if (v)
235
- return v;
233
+ const m = o(y);
234
+ if (m)
235
+ return m;
236
236
  const b = fo(y, s);
237
237
  return r(y, b), b;
238
238
  }
239
239
  return function() {
240
- return i(vo.apply(null, arguments));
240
+ return i(mo.apply(null, arguments));
241
241
  };
242
242
  }
243
243
  const _ = (e) => {
@@ -252,7 +252,7 @@ const _ = (e) => {
252
252
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
253
253
  xo.test(e) && !_o.test(e)
254
254
  ), Es = () => !1, Lo = (e) => $o.test(e), Io = (e) => Oo.test(e), zo = () => {
255
- const e = _("colors"), t = _("spacing"), s = _("blur"), o = _("brightness"), r = _("borderColor"), i = _("borderRadius"), a = _("borderSpacing"), h = _("borderWidth"), y = _("contrast"), v = _("grayscale"), b = _("hueRotate"), E = _("invert"), S = _("gap"), V = _("gradientColorStops"), D = _("gradientColorStopPositions"), P = _("inset"), x = _("margin"), k = _("opacity"), A = _("padding"), st = _("saturate"), Ee = _("scale"), St = _("sepia"), ds = _("skew"), cs = _("space"), ps = _("translate"), tr = () => ["auto", "contain", "none"], rr = () => ["auto", "hidden", "clip", "visible", "scroll"], sr = () => ["auto", f, t], O = () => [f, t], us = () => ["", J, ce], kt = () => ["auto", Ge, f], hs = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], jt = () => ["solid", "dashed", "dotted", "double", "none"], gs = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], or = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ot = () => ["", "0", f], fs = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Z = () => [Ge, f];
255
+ const e = _("colors"), t = _("spacing"), s = _("blur"), o = _("brightness"), r = _("borderColor"), i = _("borderRadius"), a = _("borderSpacing"), h = _("borderWidth"), y = _("contrast"), m = _("grayscale"), b = _("hueRotate"), E = _("invert"), S = _("gap"), V = _("gradientColorStops"), D = _("gradientColorStopPositions"), P = _("inset"), x = _("margin"), k = _("opacity"), A = _("padding"), st = _("saturate"), Ee = _("scale"), St = _("sepia"), ds = _("skew"), cs = _("space"), ps = _("translate"), tr = () => ["auto", "contain", "none"], rr = () => ["auto", "hidden", "clip", "visible", "scroll"], sr = () => ["auto", f, t], O = () => [f, t], us = () => ["", J, ce], kt = () => ["auto", Ge, f], hs = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], jt = () => ["solid", "dashed", "dotted", "double", "none"], gs = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], or = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ot = () => ["", "0", f], fs = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Z = () => [Ge, f];
256
256
  return {
257
257
  cacheSize: 500,
258
258
  separator: ":",
@@ -1683,7 +1683,7 @@ const _ = (e) => {
1683
1683
  * @see https://tailwindcss.com/docs/grayscale
1684
1684
  */
1685
1685
  grayscale: [{
1686
- grayscale: [v]
1686
+ grayscale: [m]
1687
1687
  }],
1688
1688
  /**
1689
1689
  * Hue Rotate
@@ -1747,7 +1747,7 @@ const _ = (e) => {
1747
1747
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1748
1748
  */
1749
1749
  "backdrop-grayscale": [{
1750
- "backdrop-grayscale": [v]
1750
+ "backdrop-grayscale": [m]
1751
1751
  }],
1752
1752
  /**
1753
1753
  * Backdrop Hue Rotate
@@ -2266,7 +2266,7 @@ const _ = (e) => {
2266
2266
  "font-size": ["leading"]
2267
2267
  }
2268
2268
  };
2269
- }, Mo = /* @__PURE__ */ mo(zo);
2269
+ }, Mo = /* @__PURE__ */ vo(zo);
2270
2270
  function g(...e) {
2271
2271
  return Mo(so(e));
2272
2272
  }
@@ -5164,7 +5164,7 @@ class ks extends ro {
5164
5164
  (!t || !(r in t) && o[r] === s[r]) && (o[r] = void 0);
5165
5165
  }
5166
5166
  }
5167
- Rr(ks);
5167
+ Br(ks);
5168
5168
  class js extends ks {
5169
5169
  constructor() {
5170
5170
  super(...arguments), this.eventData = {};
@@ -5209,8 +5209,8 @@ class js extends ks {
5209
5209
  }
5210
5210
  }
5211
5211
  }
5212
- Rr(js);
5213
- class Ro extends js {
5212
+ Br(js);
5213
+ class Bo extends js {
5214
5214
  apply(t) {
5215
5215
  if (!t)
5216
5216
  return;
@@ -5259,11 +5259,11 @@ class Ro extends js {
5259
5259
  }
5260
5260
  }
5261
5261
  }
5262
- const C = Rr(Ro);
5263
- var Bo = Object.defineProperty, To = Object.getOwnPropertyDescriptor, Tr = (e, t, s, o) => {
5262
+ const C = Br(Bo);
5263
+ var Ro = Object.defineProperty, To = Object.getOwnPropertyDescriptor, Tr = (e, t, s, o) => {
5264
5264
  for (var r = o > 1 ? void 0 : o ? To(t, s) : t, i = e.length - 1, a; i >= 0; i--)
5265
5265
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
5266
- return o && r && Bo(t, s, r), r;
5266
+ return o && r && Ro(t, s, r), r;
5267
5267
  };
5268
5268
  let Se = class extends $ {
5269
5269
  constructor() {
@@ -5575,7 +5575,7 @@ qr([
5575
5575
  n({ type: String })
5576
5576
  ], lt.prototype, "value", 2);
5577
5577
  qr([
5578
- m()
5578
+ v()
5579
5579
  ], lt.prototype, "selectedValue", 2);
5580
5580
  lt = qr([
5581
5581
  d("rtg-accordion-content")
@@ -5673,16 +5673,16 @@ const bs = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ws =
5673
5673
  var o;
5674
5674
  if ((t == null ? void 0 : t.variants) == null)
5675
5675
  return ws(e, s == null ? void 0 : s.class, s == null ? void 0 : s.className);
5676
- const { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((v) => {
5677
- const b = s == null ? void 0 : s[v], E = i == null ? void 0 : i[v];
5676
+ const { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((m) => {
5677
+ const b = s == null ? void 0 : s[m], E = i == null ? void 0 : i[m];
5678
5678
  if (b === null)
5679
5679
  return null;
5680
5680
  const S = bs(b) || bs(E);
5681
- return r[v][S];
5682
- }), h = s && Object.entries(s).reduce((v, b) => {
5681
+ return r[m][S];
5682
+ }), h = s && Object.entries(s).reduce((m, b) => {
5683
5683
  let [E, S] = b;
5684
- return S === void 0 || (v[E] = S), v;
5685
- }, {}), y = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((v, b) => {
5684
+ return S === void 0 || (m[E] = S), m;
5685
+ }, {}), y = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((m, b) => {
5686
5686
  let { class: E, className: S, ...V } = b;
5687
5687
  return Object.entries(V).every((D) => {
5688
5688
  let [P, x] = D;
@@ -5694,10 +5694,10 @@ const bs = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ws =
5694
5694
  ...h
5695
5695
  }[P] === x;
5696
5696
  }) ? [
5697
- ...v,
5697
+ ...m,
5698
5698
  E,
5699
5699
  S
5700
- ] : v;
5700
+ ] : m;
5701
5701
  }, []);
5702
5702
  return ws(e, a, y, s == null ? void 0 : s.class, s == null ? void 0 : s.className);
5703
5703
  }, zs = le("p-4 rounded-sm text-sm font-medium", {
@@ -5912,10 +5912,10 @@ dr.styles = [p``, c];
5912
5912
  dr = fi([
5913
5913
  d("rtg-avatar-fallback")
5914
5914
  ], dr);
5915
- var vi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, Fr = (e, t, s, o) => {
5916
- for (var r = o > 1 ? void 0 : o ? mi(t, s) : t, i = e.length - 1, a; i >= 0; i--)
5915
+ var mi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, Fr = (e, t, s, o) => {
5916
+ for (var r = o > 1 ? void 0 : o ? vi(t, s) : t, i = e.length - 1, a; i >= 0; i--)
5917
5917
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
5918
- return o && r && vi(t, s, r), r;
5918
+ return o && r && mi(t, s, r), r;
5919
5919
  };
5920
5920
  let ct = class extends u {
5921
5921
  constructor() {
@@ -6171,8 +6171,8 @@ hr.styles = [p``, c];
6171
6171
  hr = zi([
6172
6172
  d("rtg-card-description")
6173
6173
  ], hr);
6174
- var Mi = Object.defineProperty, Ri = Object.getOwnPropertyDescriptor, Bi = (e, t, s, o) => {
6175
- for (var r = o > 1 ? void 0 : o ? Ri(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6174
+ var Mi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor, Ri = (e, t, s, o) => {
6175
+ for (var r = o > 1 ? void 0 : o ? Bi(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6176
6176
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
6177
6177
  return o && r && Mi(t, s, r), r;
6178
6178
  };
@@ -6182,7 +6182,7 @@ let gr = class extends u {
6182
6182
  }
6183
6183
  };
6184
6184
  gr.styles = [p``, c];
6185
- gr = Bi([
6185
+ gr = Ri([
6186
6186
  d("rtg-card-content")
6187
6187
  ], gr);
6188
6188
  var Ti = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, qi = (e, t, s, o) => {
@@ -6210,7 +6210,7 @@ var Vi = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, Fi = (e, t
6210
6210
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
6211
6211
  return o && r && Vi(t, s, r), r;
6212
6212
  };
6213
- let vr = class extends $ {
6213
+ let mr = class extends $ {
6214
6214
  getAttributesToExclude() {
6215
6215
  return [""];
6216
6216
  }
@@ -6237,16 +6237,16 @@ let vr = class extends $ {
6237
6237
  `;
6238
6238
  }
6239
6239
  };
6240
- vr.styles = [p``, c];
6241
- vr = Fi([
6240
+ mr.styles = [p``, c];
6241
+ mr = Fi([
6242
6242
  d("rtg-collapsible-trigger")
6243
- ], vr);
6243
+ ], mr);
6244
6244
  var Gi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, Hi = (e, t, s, o) => {
6245
6245
  for (var r = o > 1 ? void 0 : o ? Xi(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6246
6246
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
6247
6247
  return o && r && Gi(t, s, r), r;
6248
6248
  };
6249
- let mr = class extends $ {
6249
+ let vr = class extends $ {
6250
6250
  getAttributesToExclude() {
6251
6251
  return [""];
6252
6252
  }
@@ -6264,10 +6264,10 @@ let mr = class extends $ {
6264
6264
  `;
6265
6265
  }
6266
6266
  };
6267
- mr.styles = [p``, c];
6268
- mr = Hi([
6267
+ vr.styles = [p``, c];
6268
+ vr = Hi([
6269
6269
  d("rtg-collapsible-content")
6270
- ], mr);
6270
+ ], vr);
6271
6271
  var Yi = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, Ut = (e, t, s, o) => {
6272
6272
  for (var r = o > 1 ? void 0 : o ? Ki(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6273
6273
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
@@ -6435,7 +6435,7 @@ Gr([
6435
6435
  n({ attribute: "data-state", type: String })
6436
6436
  ], Xe.prototype, "state", 2);
6437
6437
  Gr([
6438
- m()
6438
+ v()
6439
6439
  ], Xe.prototype, "isOpen", 2);
6440
6440
  Xe = Gr([
6441
6441
  d("rtg-context-menu-content")
@@ -6664,7 +6664,7 @@ $t([
6664
6664
  F = $t([
6665
6665
  d("rtg-context-menu-item")
6666
6666
  ], F);
6667
- var la = Object.defineProperty, da = Object.getOwnPropertyDescriptor, Re = (e, t, s, o) => {
6667
+ var la = Object.defineProperty, da = Object.getOwnPropertyDescriptor, Be = (e, t, s, o) => {
6668
6668
  for (var r = o > 1 ? void 0 : o ? da(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6669
6669
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
6670
6670
  return o && r && la(t, s, r), r;
@@ -6736,25 +6736,25 @@ z.styles = [
6736
6736
  `,
6737
6737
  c
6738
6738
  ];
6739
- Re([
6739
+ Be([
6740
6740
  n({ type: String })
6741
6741
  ], z.prototype, "_id", 2);
6742
- Re([
6742
+ Be([
6743
6743
  n({ attribute: "aria-hidden", type: String })
6744
6744
  ], z.prototype, "_hidden", 2);
6745
- Re([
6745
+ Be([
6746
6746
  n({ attribute: "data-value", type: String })
6747
6747
  ], z.prototype, "value", 1);
6748
- Re([
6748
+ Be([
6749
6749
  n({ type: Boolean })
6750
6750
  ], z.prototype, "selected", 2);
6751
- Re([
6751
+ Be([
6752
6752
  n({ type: Boolean })
6753
6753
  ], z.prototype, "checked", 2);
6754
- Re([
6754
+ Be([
6755
6755
  n({ type: Boolean })
6756
6756
  ], z.prototype, "disabled", 2);
6757
- z = Re([
6757
+ z = Be([
6758
6758
  d("rtg-context-menu-radio-item")
6759
6759
  ], z);
6760
6760
  var ca = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, Xr = (e, t, s, o) => {
@@ -6819,8 +6819,8 @@ br.styles = [p``, c];
6819
6819
  br = ga([
6820
6820
  d("rtg-context-menu-shortcut")
6821
6821
  ], br);
6822
- var fa = Object.defineProperty, va = Object.getOwnPropertyDescriptor, Rs = (e, t, s, o) => {
6823
- for (var r = o > 1 ? void 0 : o ? va(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6822
+ var fa = Object.defineProperty, ma = Object.getOwnPropertyDescriptor, Bs = (e, t, s, o) => {
6823
+ for (var r = o > 1 ? void 0 : o ? ma(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6824
6824
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
6825
6825
  return o && r && fa(t, s, r), r;
6826
6826
  };
@@ -6880,16 +6880,16 @@ let pt = class extends u {
6880
6880
  }
6881
6881
  };
6882
6882
  pt.styles = [p``, c];
6883
- Rs([
6884
- m()
6883
+ Bs([
6884
+ v()
6885
6885
  ], pt.prototype, "isOpen", 2);
6886
- pt = Rs([
6886
+ pt = Bs([
6887
6887
  d("rtg-context-menu")
6888
6888
  ], pt);
6889
- var ma = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, Hr = (e, t, s, o) => {
6889
+ var va = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, Hr = (e, t, s, o) => {
6890
6890
  for (var r = o > 1 ? void 0 : o ? ba(t, s) : t, i = e.length - 1, a; i >= 0; i--)
6891
6891
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
6892
- return o && r && ma(t, s, r), r;
6892
+ return o && r && va(t, s, r), r;
6893
6893
  };
6894
6894
  let ut = class extends u {
6895
6895
  constructor() {
@@ -7043,7 +7043,7 @@ let ht = class extends u {
7043
7043
  "rtg-command-list > rtg-command-group"
7044
7044
  );
7045
7045
  s && s.forEach((r) => {
7046
- var y, v;
7046
+ var y, m;
7047
7047
  let i = !0;
7048
7048
  const a = r.querySelectorAll("rtg-command-item");
7049
7049
  a && a.forEach((b) => {
@@ -7057,7 +7057,7 @@ let ht = class extends u {
7057
7057
  )) === "true" ? "true" : "false"
7058
7058
  ), h = r.nextElementSibling, h && h.setAttribute(
7059
7059
  "aria-hidden",
7060
- i || ((v = h.nextElementSibling) == null ? void 0 : v.getAttribute("aria-hidden")) === "true" ? "true" : "false"
7060
+ i || ((m = h.nextElementSibling) == null ? void 0 : m.getAttribute("aria-hidden")) === "true" ? "true" : "false"
7061
7061
  );
7062
7062
  });
7063
7063
  const o = e.querySelector("rtg-command-empty");
@@ -7150,7 +7150,7 @@ let G = class extends u {
7150
7150
  <div
7151
7151
  part="command-item"
7152
7152
  class="${g(
7153
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
7153
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 hover:bg-gray-100",
7154
7154
  this.className
7155
7155
  )}"
7156
7156
  @mouseover="${this.handleMouseEvent}"
@@ -7228,7 +7228,7 @@ var ja = Object.defineProperty, Da = Object.getOwnPropertyDescriptor, Wr = (e, t
7228
7228
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
7229
7229
  return o && r && ja(t, s, r), r;
7230
7230
  };
7231
- let ve = class extends u {
7231
+ let me = class extends u {
7232
7232
  constructor() {
7233
7233
  super(...arguments), this._id = "", this._hidden = "";
7234
7234
  }
@@ -7237,7 +7237,7 @@ let ve = class extends u {
7237
7237
  if (this._id !== "")
7238
7238
  return this._id;
7239
7239
  const e = (s = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : s.querySelector("div[rtgcmd-list]");
7240
- return e ? this._id = `${e.getAttribute("id")}s${ve._counter++}` : this._id = `rtgcmdrxlxs${ve._counter++}`, this._id;
7240
+ return e ? this._id = `${e.getAttribute("id")}s${me._counter++}` : this._id = `rtgcmdrxlxs${me._counter++}`, this._id;
7241
7241
  }
7242
7242
  render() {
7243
7243
  return l`${this._hidden === "true" ? w : l`
@@ -7251,17 +7251,17 @@ let ve = class extends u {
7251
7251
  `}`;
7252
7252
  }
7253
7253
  };
7254
- ve._counter = 0;
7255
- ve.styles = [p``, c];
7254
+ me._counter = 0;
7255
+ me.styles = [p``, c];
7256
7256
  Wr([
7257
7257
  n({ type: String })
7258
- ], ve.prototype, "_id", 2);
7258
+ ], me.prototype, "_id", 2);
7259
7259
  Wr([
7260
7260
  n({ attribute: "aria-hidden", type: String })
7261
- ], ve.prototype, "_hidden", 2);
7262
- ve = Wr([
7261
+ ], me.prototype, "_hidden", 2);
7262
+ me = Wr([
7263
7263
  d("rtg-command-separator")
7264
- ], ve);
7264
+ ], me);
7265
7265
  var Aa = Object.defineProperty, La = Object.getOwnPropertyDescriptor, Ia = (e, t, s, o) => {
7266
7266
  for (var r = o > 1 ? void 0 : o ? La(t, s) : t, i = e.length - 1, a; i >= 0; i--)
7267
7267
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
@@ -7324,7 +7324,7 @@ yr.styles = [p``, c];
7324
7324
  yr = Ia([
7325
7325
  d("rtg-combo-box-trigger")
7326
7326
  ], yr);
7327
- var za = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, Bs = (e, t, s, o) => {
7327
+ var za = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, Rs = (e, t, s, o) => {
7328
7328
  for (var r = o > 1 ? void 0 : o ? Ma(t, s) : t, i = e.length - 1, a; i >= 0; i--)
7329
7329
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
7330
7330
  return o && r && za(t, s, r), r;
@@ -7381,16 +7381,16 @@ let It = class extends u {
7381
7381
  }
7382
7382
  };
7383
7383
  It.styles = [p``, c];
7384
- Bs([
7384
+ Rs([
7385
7385
  n({ type: String })
7386
7386
  ], It.prototype, "placeholder", 2);
7387
- It = Bs([
7387
+ It = Rs([
7388
7388
  d("rtg-combo-box-value")
7389
7389
  ], It);
7390
- var Ra = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Ht = (e, t, s, o) => {
7391
- for (var r = o > 1 ? void 0 : o ? Ba(t, s) : t, i = e.length - 1, a; i >= 0; i--)
7390
+ var Ba = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, Ht = (e, t, s, o) => {
7391
+ for (var r = o > 1 ? void 0 : o ? Ra(t, s) : t, i = e.length - 1, a; i >= 0; i--)
7392
7392
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
7393
- return o && r && Ra(t, s, r), r;
7393
+ return o && r && Ba(t, s, r), r;
7394
7394
  };
7395
7395
  let De = class extends u {
7396
7396
  constructor() {
@@ -7500,13 +7500,13 @@ let De = class extends u {
7500
7500
  };
7501
7501
  De.styles = [p``, c];
7502
7502
  Ht([
7503
- m()
7503
+ v()
7504
7504
  ], De.prototype, "searchKey", 2);
7505
7505
  Ht([
7506
- m()
7506
+ v()
7507
7507
  ], De.prototype, "focusedIndex", 2);
7508
7508
  Ht([
7509
- m()
7509
+ v()
7510
7510
  ], De.prototype, "selectedValue", 2);
7511
7511
  De = Ht([
7512
7512
  d("rtg-combo-box-group")
@@ -7654,7 +7654,7 @@ Yt([
7654
7654
  n({ type: String })
7655
7655
  ], He.prototype, "twClass", 2);
7656
7656
  Yt([
7657
- m()
7657
+ v()
7658
7658
  ], He.prototype, "searchValue", 2);
7659
7659
  He = Yt([
7660
7660
  d("rtg-combo-box-input")
@@ -7743,22 +7743,22 @@ let j = class extends u {
7743
7743
  };
7744
7744
  j.styles = [p``, c];
7745
7745
  de([
7746
- m()
7746
+ v()
7747
7747
  ], j.prototype, "isOpen", 2);
7748
7748
  de([
7749
- m()
7749
+ v()
7750
7750
  ], j.prototype, "selectedValue", 2);
7751
7751
  de([
7752
- m()
7752
+ v()
7753
7753
  ], j.prototype, "searchTerm", 2);
7754
7754
  de([
7755
- m()
7755
+ v()
7756
7756
  ], j.prototype, "focusedIndex", 2);
7757
7757
  de([
7758
- m()
7758
+ v()
7759
7759
  ], j.prototype, "filteredItems", 2);
7760
7760
  de([
7761
- m()
7761
+ v()
7762
7762
  ], j.prototype, "uuid", 2);
7763
7763
  de([
7764
7764
  n({ type: String })
@@ -8007,10 +8007,10 @@ var gn = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, Ns = (e, t
8007
8007
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8008
8008
  return o && r && gn(t, s, r), r;
8009
8009
  };
8010
- const vn = "open", mn = "closed";
8010
+ const mn = "open", vn = "closed";
8011
8011
  let Ae = class extends u {
8012
8012
  constructor() {
8013
- super(...arguments), this.state = mn;
8013
+ super(...arguments), this.state = vn;
8014
8014
  }
8015
8015
  get _content() {
8016
8016
  var s;
@@ -8030,7 +8030,7 @@ let Ae = class extends u {
8030
8030
  render() {
8031
8031
  return l`
8032
8032
  <div rtgdlg-root part="dialog">
8033
- ${this.state === vn ? l` <rtg-dialog-overlay></rtg-dialog-overlay>` : w}
8033
+ ${this.state === mn ? l` <rtg-dialog-overlay></rtg-dialog-overlay>` : w}
8034
8034
  <slot></slot>
8035
8035
  </div>
8036
8036
  `;
@@ -8054,7 +8054,7 @@ let Ye = class extends u {
8054
8054
  }
8055
8055
  get _dropdownMenu() {
8056
8056
  let e = this.parentElement;
8057
- for (; e && !(e instanceof vt); )
8057
+ for (; e && !(e instanceof mt); )
8058
8058
  e = e.parentElement;
8059
8059
  return e;
8060
8060
  }
@@ -8078,7 +8078,7 @@ let Ye = class extends u {
8078
8078
  return l`
8079
8079
  <div
8080
8080
  part="dropdown-menu-content"
8081
- class="flex h-full flex-col max-h-[300px] overflow-y-auto overflow-x-hidden rounded-md bg-popover text-popover-foreground border shadow-md"
8081
+ class="absolute flex h-full flex-col max-h-[300px] overflow-y-auto overflow-x-hidden rounded-md bg-popover text-popover-foreground border shadow-md"
8082
8082
  style="display: ${this.isOpen ? "block" : "none"};width:260px"
8083
8083
  >
8084
8084
  <slot></slot>
@@ -8091,7 +8091,7 @@ Jr([
8091
8091
  n({ attribute: "data-state", type: String })
8092
8092
  ], Ye.prototype, "state", 2);
8093
8093
  Jr([
8094
- m()
8094
+ v()
8095
8095
  ], Ye.prototype, "isOpen", 2);
8096
8096
  Ye = Jr([
8097
8097
  d("rtg-dropdown-menu-content")
@@ -8160,12 +8160,12 @@ Ct([
8160
8160
  X = Ct([
8161
8161
  d("rtg-dropdown-menu-item")
8162
8162
  ], X);
8163
- var _n = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, Be = (e, t, s, o) => {
8163
+ var _n = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, Re = (e, t, s, o) => {
8164
8164
  for (var r = o > 1 ? void 0 : o ? $n(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8165
8165
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8166
8166
  return o && r && _n(t, s, r), r;
8167
8167
  };
8168
- let R = class extends u {
8168
+ let B = class extends u {
8169
8169
  constructor() {
8170
8170
  super(...arguments), this._id = "", this._hidden = "", this.selected = !1, this.checked = !1, this.disabled = !1;
8171
8171
  }
@@ -8176,7 +8176,7 @@ let R = class extends u {
8176
8176
  const e = (s = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : s.querySelector("div[rtgcmd-group]");
8177
8177
  return e ? this._id = `${e.getAttribute(
8178
8178
  "id"
8179
- )}li${R._counter++}` : this._id = `rtgcmdrxgxli${R._counter++}`, this._id;
8179
+ )}li${B._counter++}` : this._id = `rtgcmdrxgxli${B._counter++}`, this._id;
8180
8180
  }
8181
8181
  get value() {
8182
8182
  var e;
@@ -8221,8 +8221,8 @@ let R = class extends u {
8221
8221
  `;
8222
8222
  }
8223
8223
  };
8224
- R._counter = 0;
8225
- R.styles = [
8224
+ B._counter = 0;
8225
+ B.styles = [
8226
8226
  p`
8227
8227
  .icon-space {
8228
8228
  width: 16px; /* Fixed width to reserve space for the check icon */
@@ -8232,33 +8232,33 @@ R.styles = [
8232
8232
  `,
8233
8233
  c
8234
8234
  ];
8235
- Be([
8235
+ Re([
8236
8236
  n({ type: String })
8237
- ], R.prototype, "_id", 2);
8238
- Be([
8237
+ ], B.prototype, "_id", 2);
8238
+ Re([
8239
8239
  n({ attribute: "aria-hidden", type: String })
8240
- ], R.prototype, "_hidden", 2);
8241
- Be([
8240
+ ], B.prototype, "_hidden", 2);
8241
+ Re([
8242
8242
  n({ attribute: "data-value", type: String })
8243
- ], R.prototype, "value", 1);
8244
- Be([
8243
+ ], B.prototype, "value", 1);
8244
+ Re([
8245
8245
  n({ type: Boolean })
8246
- ], R.prototype, "selected", 2);
8247
- Be([
8246
+ ], B.prototype, "selected", 2);
8247
+ Re([
8248
8248
  n({ type: Boolean })
8249
- ], R.prototype, "checked", 2);
8250
- Be([
8249
+ ], B.prototype, "checked", 2);
8250
+ Re([
8251
8251
  n({ type: Boolean })
8252
- ], R.prototype, "disabled", 2);
8253
- R = Be([
8252
+ ], B.prototype, "disabled", 2);
8253
+ B = Re([
8254
8254
  d("rtg-dropdown-menu-radio-item")
8255
- ], R);
8255
+ ], B);
8256
8256
  var On = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, Qr = (e, t, s, o) => {
8257
8257
  for (var r = o > 1 ? void 0 : o ? Cn(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8258
8258
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8259
8259
  return o && r && On(t, s, r), r;
8260
8260
  };
8261
- let me = class extends u {
8261
+ let ve = class extends u {
8262
8262
  constructor() {
8263
8263
  super(...arguments), this._id = "", this._hidden = "";
8264
8264
  }
@@ -8269,7 +8269,7 @@ let me = class extends u {
8269
8269
  const e = (s = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : s.querySelector("div[rtgcmd-list]");
8270
8270
  return e ? this._id = `${e.getAttribute(
8271
8271
  "id"
8272
- )}s${me._counter++}` : this._id = `rtgcmdrxlxs${me._counter++}`, this._id;
8272
+ )}s${ve._counter++}` : this._id = `rtgcmdrxlxs${ve._counter++}`, this._id;
8273
8273
  }
8274
8274
  render() {
8275
8275
  return l`${this._hidden === "true" ? w : l`
@@ -8283,23 +8283,23 @@ let me = class extends u {
8283
8283
  `}`;
8284
8284
  }
8285
8285
  };
8286
- me._counter = 0;
8287
- me.styles = [p``, c];
8286
+ ve._counter = 0;
8287
+ ve.styles = [p``, c];
8288
8288
  Qr([
8289
8289
  n({ type: String })
8290
- ], me.prototype, "_id", 2);
8290
+ ], ve.prototype, "_id", 2);
8291
8291
  Qr([
8292
8292
  n({ attribute: "aria-hidden", type: String })
8293
- ], me.prototype, "_hidden", 2);
8294
- me = Qr([
8293
+ ], ve.prototype, "_hidden", 2);
8294
+ ve = Qr([
8295
8295
  d("rtg-dropdown-menu-separator")
8296
- ], me);
8296
+ ], ve);
8297
8297
  var Pn = Object.defineProperty, En = Object.getOwnPropertyDescriptor, Te = (e, t, s, o) => {
8298
8298
  for (var r = o > 1 ? void 0 : o ? En(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8299
8299
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8300
8300
  return o && r && Pn(t, s, r), r;
8301
8301
  };
8302
- let B = class extends u {
8302
+ let R = class extends u {
8303
8303
  constructor() {
8304
8304
  super(...arguments), this._id = "", this._hidden = "", this.selected = !1, this.checked = !1, this.disabled = !1;
8305
8305
  }
@@ -8310,7 +8310,7 @@ let B = class extends u {
8310
8310
  const e = (s = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : s.querySelector("div[rtgcmd-group]");
8311
8311
  return e ? this._id = `${e.getAttribute(
8312
8312
  "id"
8313
- )}li${B._counter++}` : this._id = `rtgcmdrxgxli${B._counter++}`, this._id;
8313
+ )}li${R._counter++}` : this._id = `rtgcmdrxgxli${R._counter++}`, this._id;
8314
8314
  }
8315
8315
  get value() {
8316
8316
  var e;
@@ -8364,8 +8364,8 @@ let B = class extends u {
8364
8364
  `;
8365
8365
  }
8366
8366
  };
8367
- B._counter = 0;
8368
- B.styles = [
8367
+ R._counter = 0;
8368
+ R.styles = [
8369
8369
  p`
8370
8370
  .icon-space {
8371
8371
  width: 16px; /* Fixed width to reserve space for the check icon */
@@ -8377,25 +8377,25 @@ B.styles = [
8377
8377
  ];
8378
8378
  Te([
8379
8379
  n({ type: String })
8380
- ], B.prototype, "_id", 2);
8380
+ ], R.prototype, "_id", 2);
8381
8381
  Te([
8382
8382
  n({ attribute: "aria-hidden", type: String })
8383
- ], B.prototype, "_hidden", 2);
8383
+ ], R.prototype, "_hidden", 2);
8384
8384
  Te([
8385
8385
  n({ attribute: "data-value", type: String })
8386
- ], B.prototype, "value", 1);
8386
+ ], R.prototype, "value", 1);
8387
8387
  Te([
8388
8388
  n({ type: Boolean })
8389
- ], B.prototype, "selected", 2);
8389
+ ], R.prototype, "selected", 2);
8390
8390
  Te([
8391
8391
  n({ type: Boolean })
8392
- ], B.prototype, "checked", 2);
8392
+ ], R.prototype, "checked", 2);
8393
8393
  Te([
8394
8394
  n({ type: Boolean })
8395
- ], B.prototype, "disabled", 2);
8396
- B = Te([
8395
+ ], R.prototype, "disabled", 2);
8396
+ R = Te([
8397
8397
  d("rtg-dropdown-menu-checkbox-item")
8398
- ], B);
8398
+ ], R);
8399
8399
  var Sn = Object.defineProperty, kn = Object.getOwnPropertyDescriptor, Kt = (e, t, s, o) => {
8400
8400
  for (var r = o > 1 ? void 0 : o ? kn(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8401
8401
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
@@ -8459,7 +8459,7 @@ var jn = Object.defineProperty, Dn = Object.getOwnPropertyDescriptor, qs = (e, t
8459
8459
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8460
8460
  return o && r && jn(t, s, r), r;
8461
8461
  };
8462
- let vt = class extends u {
8462
+ let mt = class extends u {
8463
8463
  constructor() {
8464
8464
  super(...arguments), this.isOpen = !1, this.handleClickOutside = (e) => {
8465
8465
  var s;
@@ -8509,13 +8509,13 @@ let vt = class extends u {
8509
8509
  `;
8510
8510
  }
8511
8511
  };
8512
- vt.styles = [p``, c];
8512
+ mt.styles = [p``, c];
8513
8513
  qs([
8514
- m()
8515
- ], vt.prototype, "isOpen", 2);
8516
- vt = qs([
8514
+ v()
8515
+ ], mt.prototype, "isOpen", 2);
8516
+ mt = qs([
8517
8517
  d("rtg-dropdown-menu")
8518
- ], vt);
8518
+ ], mt);
8519
8519
  var An = Object.defineProperty, Ln = Object.getOwnPropertyDescriptor, Wt = (e, t, s, o) => {
8520
8520
  for (var r = o > 1 ? void 0 : o ? Ln(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8521
8521
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
@@ -8544,7 +8544,7 @@ let Le = class extends u {
8544
8544
  <div
8545
8545
  part="hover-card-content"
8546
8546
  class="${g(
8547
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
8547
+ "absolute z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
8548
8548
  this.twClass
8549
8549
  )}"
8550
8550
  style="display: ${this.isOpen ? "block" : "none"};width:360px"
@@ -8562,7 +8562,7 @@ Wt([
8562
8562
  n({ attribute: "data-state", type: String })
8563
8563
  ], Le.prototype, "state", 2);
8564
8564
  Wt([
8565
- m()
8565
+ v()
8566
8566
  ], Le.prototype, "isOpen", 2);
8567
8567
  Le = Wt([
8568
8568
  d("rtg-hover-card-content")
@@ -8572,7 +8572,7 @@ var In = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, es = (e, t
8572
8572
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8573
8573
  return o && r && In(t, s, r), r;
8574
8574
  };
8575
- let mt = class extends u {
8575
+ let vt = class extends u {
8576
8576
  constructor() {
8577
8577
  super(...arguments), this.twClass = "", this.isOpen = !1;
8578
8578
  }
@@ -8619,21 +8619,21 @@ let mt = class extends u {
8619
8619
  `;
8620
8620
  }
8621
8621
  };
8622
- mt.styles = [p``, c];
8622
+ vt.styles = [p``, c];
8623
8623
  es([
8624
8624
  n({ type: String })
8625
- ], mt.prototype, "twClass", 2);
8625
+ ], vt.prototype, "twClass", 2);
8626
8626
  es([
8627
- m()
8628
- ], mt.prototype, "isOpen", 2);
8629
- mt = es([
8627
+ v()
8628
+ ], vt.prototype, "isOpen", 2);
8629
+ vt = es([
8630
8630
  d("rtg-hover-card")
8631
- ], mt);
8631
+ ], vt);
8632
8632
  const Mn = "flex h-8 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";
8633
- var Rn = Object.defineProperty, Bn = Object.getOwnPropertyDescriptor, Ne = (e, t, s, o) => {
8634
- for (var r = o > 1 ? void 0 : o ? Bn(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8633
+ var Bn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, Ne = (e, t, s, o) => {
8634
+ for (var r = o > 1 ? void 0 : o ? Rn(t, s) : t, i = e.length - 1, a; i >= 0; i--)
8635
8635
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
8636
- return o && r && Rn(t, s, r), r;
8636
+ return o && r && Bn(t, s, r), r;
8637
8637
  };
8638
8638
  let se = class extends $ {
8639
8639
  constructor() {
@@ -8922,7 +8922,7 @@ let We = class extends u {
8922
8922
  };
8923
8923
  We.styles = [p``, c];
8924
8924
  Us([
8925
- m()
8925
+ v()
8926
8926
  ], We.prototype, "isOpen", 2);
8927
8927
  We = Us([
8928
8928
  d("rtg-popover")
@@ -9144,7 +9144,7 @@ rs([
9144
9144
  n({ attribute: "data-state", type: String })
9145
9145
  ], wt.prototype, "state", 2);
9146
9146
  rs([
9147
- m()
9147
+ v()
9148
9148
  ], wt.prototype, "isOpen", 2);
9149
9149
  wt = rs([
9150
9150
  d("rtg-select-list")
@@ -9372,18 +9372,18 @@ let yt = class extends u {
9372
9372
  };
9373
9373
  yt.styles = [p``, c];
9374
9374
  os([
9375
- m()
9375
+ v()
9376
9376
  ], yt.prototype, "focusedIndex", 2);
9377
9377
  os([
9378
- m()
9378
+ v()
9379
9379
  ], yt.prototype, "selectedValue", 2);
9380
9380
  yt = os([
9381
9381
  d("rtg-select-group")
9382
9382
  ], yt);
9383
- var vl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, Gs = (e, t, s, o) => {
9384
- for (var r = o > 1 ? void 0 : o ? ml(t, s) : t, i = e.length - 1, a; i >= 0; i--)
9383
+ var ml = Object.defineProperty, vl = Object.getOwnPropertyDescriptor, Gs = (e, t, s, o) => {
9384
+ for (var r = o > 1 ? void 0 : o ? vl(t, s) : t, i = e.length - 1, a; i >= 0; i--)
9385
9385
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
9386
- return o && r && vl(t, s, r), r;
9386
+ return o && r && ml(t, s, r), r;
9387
9387
  };
9388
9388
  let Mt = class extends u {
9389
9389
  constructor() {
@@ -9482,13 +9482,13 @@ let oe = class extends u {
9482
9482
  };
9483
9483
  oe.styles = [p``, c];
9484
9484
  Zt([
9485
- m()
9485
+ v()
9486
9486
  ], oe.prototype, "isOpen", 2);
9487
9487
  Zt([
9488
- m()
9488
+ v()
9489
9489
  ], oe.prototype, "selectedValue", 2);
9490
9490
  Zt([
9491
- m()
9491
+ v()
9492
9492
  ], oe.prototype, "uuid", 2);
9493
9493
  oe = Zt([
9494
9494
  d("rtg-select")
@@ -9779,7 +9779,7 @@ ns([
9779
9779
  n({ type: String })
9780
9780
  ], _t.prototype, "twClass", 2);
9781
9781
  ns([
9782
- m()
9782
+ v()
9783
9783
  ], _t.prototype, "isOpen", 2);
9784
9784
  _t = ns([
9785
9785
  d("rtg-toast")
@@ -9869,7 +9869,7 @@ qe([
9869
9869
  U = qe([
9870
9870
  d("rtg-toggle")
9871
9871
  ], U);
9872
- const Rl = le(
9872
+ const Bl = le(
9873
9873
  "inline-flex items-center justify-center rounded-sm text-sm font-medium ",
9874
9874
  {
9875
9875
  variants: {
@@ -9894,10 +9894,10 @@ const Rl = le(
9894
9894
  }
9895
9895
  }
9896
9896
  );
9897
- var Bl = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, et = (e, t, s, o) => {
9897
+ var Rl = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, et = (e, t, s, o) => {
9898
9898
  for (var r = o > 1 ? void 0 : o ? Tl(t, s) : t, i = e.length - 1, a; i >= 0; i--)
9899
9899
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
9900
- return o && r && Bl(t, s, r), r;
9900
+ return o && r && Rl(t, s, r), r;
9901
9901
  };
9902
9902
  let ie = class extends u {
9903
9903
  constructor() {
@@ -9905,7 +9905,109 @@ let ie = class extends u {
9905
9905
  }, this.disabled = !1, this.isCustomClass = !1, this.variant = "default", this.size = "default";
9906
9906
  }
9907
9907
  render() {
9908
- return l`
9908
+ return l`
9909
+ <main>
9910
+ <rtg-dropdown-menu class="w-full max-w-md">
9911
+ <rtg-button> open </rtg-button>
9912
+ <rtg-dropdown-menu-content>
9913
+ <rtg-dropdown-menu-shortcut style="margin-left:8px">My Account</rtg-dropdown-menu-shortcut>
9914
+ <rtg-dropdown-menu-separator></rtg-dropdown-menu-separator>
9915
+ <rtg-dropdown-menu-group>
9916
+ <rtg-dropdown-menu-item>
9917
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2 h-4 w-4">
9918
+ <rect width="18" height="18" x="3" y="4" rx="2" ry="2"></rect>
9919
+ <line x1="16" x2="16" y1="2" y2="6"></line>
9920
+ <line x1="8" x2="8" y1="2" y2="6"></line>
9921
+ <line x1="3" x2="21" y1="10" y2="10"></line>
9922
+ </svg>
9923
+ <span>Calendar</span>
9924
+ </rtg-dropdown-menu-item>
9925
+ <rtg-dropdown-menu-item>
9926
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2 h-4 w-4">
9927
+ <circle cx="12" cy="12" r="10"></circle>
9928
+ <path d="M8 14s1.5 2 4 2 4-2 4-2"></path>
9929
+ <line x1="9" x2="9.01" y1="9" y2="9"></line>
9930
+ <line x1="15" x2="15.01" y1="9" y2="9"></line>
9931
+ </svg>
9932
+ <span>Search Emoji</span>
9933
+ </rtg-dropdown-menu-item>
9934
+ <rtg-dropdown-menu-item>
9935
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2 h-4 w-4">
9936
+ <rect width="16" height="20" x="4" y="2" rx="2"></rect>
9937
+ <line x1="8" x2="16" y1="6" y2="6"></line>
9938
+ <line x1="16" x2="16" y1="14" y2="18"></line>
9939
+ <path d="M16 10h.01"></path>
9940
+ <path d="M12 10h.01"></path>
9941
+ <path d="M8 10h.01"></path>
9942
+ <path d="M12 14h.01"></path>
9943
+ <path d="M8 14h.01"></path>
9944
+ <path d="M12 18h.01"></path>
9945
+ <path d="M8 18h.01"></path>
9946
+ </svg>
9947
+ <span>Calculator</span>
9948
+ </rtg-dropdown-menu-item>
9949
+ </rtg-dropdown-menu-group>
9950
+
9951
+ <rtg-dropdown-menu-separator></rtg-dropdown-menu-separator>
9952
+ <rtg-dropdown-menu-group>
9953
+ <rtg-dropdown-menu-item onclick="javascript:alert('Profile Clicked!')">
9954
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2 h-4 w-4">
9955
+ <path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"></path>
9956
+ <circle cx="12" cy="7" r="4"></circle>
9957
+ </svg>
9958
+ <span>Profile</span>
9959
+ <span class="ml-auto text-xs tracking-widest text-muted-foreground">⌘P</span>
9960
+ </rtg-dropdown-menu-item>
9961
+ <rtg-dropdown-menu-item>
9962
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2 h-4 w-4">
9963
+ <rect width="20" height="14" x="2" y="5" rx="2"></rect>
9964
+ <line x1="2" x2="22" y1="10" y2="10"></line>
9965
+ </svg>
9966
+ <span>Billing</span><span class="ml-auto text-xs tracking-widest text-muted-foreground">⌘B</span>
9967
+ </rtg-dropdown-menu-item>
9968
+ <rtg-dropdown-menu-item>
9969
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2 h-4 w-4">
9970
+ <path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path>
9971
+ <circle cx="12" cy="12" r="3"></circle>
9972
+ </svg>
9973
+ <span>Settings</span>
9974
+ <span class="ml-auto text-xs tracking-widest text-muted-foreground">
9975
+ ⌘S</span>
9976
+ </rtg-dropdown-menu-item>
9977
+ </rtg-dropdown-menu-group></rtg-dropdown-menu-content>
9978
+ </rtg-dropdown-menu>
9979
+ </main>
9980
+ <main>
9981
+ <rtg-hover-card>
9982
+ <rtg-button variant="ghost">
9983
+ @nextjs
9984
+ </rtg-button>
9985
+ <rtg-hover-card-content>
9986
+ <div class="flex items-start gap-4">
9987
+ <!-- Avatar -->
9988
+ <rtg-avatar>
9989
+ <rtg-avatar-image src="https://github.com/vercel.png"></rtg-avatar-image>
9990
+ </rtg-avatar>
9991
+ <!-- Content -->
9992
+ <div class="space-y-2">
9993
+ <h4 class="text-sm font-semibold">@nextjs</h4>
9994
+ <p class="text-sm text-muted-foreground">
9995
+ The React Framework – created and maintained by @vercel.
9996
+ </p>
9997
+ <div class="flex items-center pt-2 text-xs">
9998
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar mr-2 h-4 w-4 opacity-70">
9999
+ <path d="M8 2v4"></path>
10000
+ <path d="M16 2v4"></path>
10001
+ <rect width="18" height="18" x="3" y="4" rx="2"></rect>
10002
+ <path d="M3 10h18"></path>
10003
+ </svg>
10004
+ <span>Joined December 2021</span>
10005
+ </div>
10006
+ </div>
10007
+ </div>
10008
+ </rtg-hover-card-content>
10009
+ </rtg-hover-card>
10010
+ </main>
9909
10011
  <main>
9910
10012
  <div class="flex flex-nowrap">
9911
10013
  sample demo
@@ -9961,7 +10063,7 @@ let ie = class extends u {
9961
10063
  `;
9962
10064
  }
9963
10065
  };
9964
- ie.buttonVariants = Rl;
10066
+ ie.buttonVariants = Bl;
9965
10067
  ie.styles = [
9966
10068
  c,
9967
10069
  p`
@@ -10098,16 +10200,16 @@ let ae = class extends u {
10098
10200
  };
10099
10201
  ae.styles = [p``, c];
10100
10202
  tt([
10101
- m()
10203
+ v()
10102
10204
  ], ae.prototype, "isOpen", 2);
10103
10205
  tt([
10104
- m()
10206
+ v()
10105
10207
  ], ae.prototype, "uniqueIds", 2);
10106
10208
  tt([
10107
- m()
10209
+ v()
10108
10210
  ], ae.prototype, "selectedMenu", 2);
10109
10211
  tt([
10110
- m()
10212
+ v()
10111
10213
  ], ae.prototype, "isHovering", 2);
10112
10214
  tt([
10113
10215
  n({ type: String })
@@ -10177,7 +10279,7 @@ Pt([
10177
10279
  n({ type: String })
10178
10280
  ], xe.prototype, "side", 2);
10179
10281
  Pt([
10180
- m()
10282
+ v()
10181
10283
  ], xe.prototype, "isOpen", 2);
10182
10284
  xe = Pt([
10183
10285
  d("rtg-menubar-content")
@@ -10560,7 +10662,7 @@ var sd = Object.defineProperty, od = Object.getOwnPropertyDescriptor, Ys = (e, t
10560
10662
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
10561
10663
  return o && r && sd(t, s, r), r;
10562
10664
  };
10563
- let Rt = class extends u {
10665
+ let Bt = class extends u {
10564
10666
  constructor() {
10565
10667
  super(...arguments), this.twCLass = "";
10566
10668
  }
@@ -10582,13 +10684,13 @@ let Rt = class extends u {
10582
10684
  `;
10583
10685
  }
10584
10686
  };
10585
- Rt.styles = [p``, c];
10687
+ Bt.styles = [p``, c];
10586
10688
  Ys([
10587
10689
  n({ type: String })
10588
- ], Rt.prototype, "twCLass", 2);
10589
- Rt = Ys([
10690
+ ], Bt.prototype, "twCLass", 2);
10691
+ Bt = Ys([
10590
10692
  d("rtg-menubar")
10591
- ], Rt);
10693
+ ], Bt);
10592
10694
  const id = "inline-flex items-center gap-1.5", ad = "transition-colors hover:text-foreground", nd = "font-normal text-foreground", ld = "[&>svg]:size-3.5", dd = "flex h-9 w-9 items-center justify-center", cd = "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";
10593
10695
  var pd = Object.defineProperty, ud = Object.getOwnPropertyDescriptor, hd = (e, t, s, o) => {
10594
10696
  for (var r = o > 1 ? void 0 : o ? ud(t, s) : t, i = e.length - 1, a; i >= 0; i--)
@@ -10630,7 +10732,7 @@ jr.styles = [p``, c];
10630
10732
  jr = hd([
10631
10733
  d("rtg-bread-crumb-ellipsis")
10632
10734
  ], jr);
10633
- var gd = Object.defineProperty, fd = Object.getOwnPropertyDescriptor, vd = (e, t, s, o) => {
10735
+ var gd = Object.defineProperty, fd = Object.getOwnPropertyDescriptor, md = (e, t, s, o) => {
10634
10736
  for (var r = o > 1 ? void 0 : o ? fd(t, s) : t, i = e.length - 1, a; i >= 0; i--)
10635
10737
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
10636
10738
  return o && r && gd(t, s, r), r;
@@ -10654,13 +10756,13 @@ let Dr = class extends $ {
10654
10756
  }
10655
10757
  };
10656
10758
  Dr.styles = [p``, c];
10657
- Dr = vd([
10759
+ Dr = md([
10658
10760
  d("rtg-bread-crumb-item")
10659
10761
  ], Dr);
10660
- var md = Object.defineProperty, bd = Object.getOwnPropertyDescriptor, wd = (e, t, s, o) => {
10762
+ var vd = Object.defineProperty, bd = Object.getOwnPropertyDescriptor, wd = (e, t, s, o) => {
10661
10763
  for (var r = o > 1 ? void 0 : o ? bd(t, s) : t, i = e.length - 1, a; i >= 0; i--)
10662
10764
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
10663
- return o && r && md(t, s, r), r;
10765
+ return o && r && vd(t, s, r), r;
10664
10766
  };
10665
10767
  let Ar = class extends $ {
10666
10768
  getAttributesToExclude() {
@@ -10788,7 +10890,7 @@ var kd = Object.defineProperty, jd = Object.getOwnPropertyDescriptor, Ks = (e, t
10788
10890
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
10789
10891
  return o && r && kd(t, s, r), r;
10790
10892
  };
10791
- let Bt = class extends $ {
10893
+ let Rt = class extends $ {
10792
10894
  constructor() {
10793
10895
  super(...arguments), this.href = "/";
10794
10896
  }
@@ -10810,13 +10912,13 @@ let Bt = class extends $ {
10810
10912
  `;
10811
10913
  }
10812
10914
  };
10813
- Bt.styles = [p``, c];
10915
+ Rt.styles = [p``, c];
10814
10916
  Ks([
10815
10917
  n({ type: String })
10816
- ], Bt.prototype, "href", 2);
10817
- Bt = Ks([
10918
+ ], Rt.prototype, "href", 2);
10919
+ Rt = Ks([
10818
10920
  d("rtg-bread-crumb-link")
10819
- ], Bt);
10921
+ ], Rt);
10820
10922
  var Dd = Object.defineProperty, Ad = Object.getOwnPropertyDescriptor, er = (e, t, s, o) => {
10821
10923
  for (var r = o > 1 ? void 0 : o ? Ad(t, s) : t, i = e.length - 1, a; i >= 0; i--)
10822
10924
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
@@ -10911,10 +11013,10 @@ Zs([
10911
11013
  Nt = Zs([
10912
11014
  d("rtg-input-otp-separator")
10913
11015
  ], Nt);
10914
- var Rd = Object.defineProperty, Bd = Object.getOwnPropertyDescriptor, rt = (e, t, s, o) => {
10915
- for (var r = o > 1 ? void 0 : o ? Bd(t, s) : t, i = e.length - 1, a; i >= 0; i--)
11016
+ var Bd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor, rt = (e, t, s, o) => {
11017
+ for (var r = o > 1 ? void 0 : o ? Rd(t, s) : t, i = e.length - 1, a; i >= 0; i--)
10916
11018
  (a = e[i]) && (r = (o ? a(t, s, r) : a(r)) || r);
10917
- return o && r && Rd(t, s, r), r;
11019
+ return o && r && Bd(t, s, r), r;
10918
11020
  };
10919
11021
  let $e = class extends $ {
10920
11022
  constructor() {
@@ -11075,15 +11177,15 @@ export {
11075
11177
  $r as DialogFooter,
11076
11178
  ft as DialogHeader,
11077
11179
  Or as DialogOverlay,
11078
- vt as DropdownMenu,
11079
- B as DropdownMenuCheckboxItem,
11180
+ mt as DropdownMenu,
11181
+ R as DropdownMenuCheckboxItem,
11080
11182
  Ye as DropdownMenuContent,
11081
11183
  re as DropdownMenuGroup,
11082
11184
  X as DropdownMenuItem,
11083
- R as DropdownMenuRadioItem,
11084
- me as DropdownMenuSeparator,
11185
+ B as DropdownMenuRadioItem,
11186
+ ve as DropdownMenuSeparator,
11085
11187
  se as Input,
11086
- Rt as Menubar,
11188
+ Bt as Menubar,
11087
11189
  q as MenubarCheckboxItem,
11088
11190
  xe as MenubarContent,
11089
11191
  ne as MenubarGroup,