revotech-ui-kit 0.0.22-beta-03 → 0.0.24

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,4 +1,4 @@
1
- import { LitElement as h, css as p, html as l, nothing as C, svg as ve } from "lit";
1
+ import { LitElement as h, css as p, html as l, nothing as C, svg as me } from "lit";
2
2
  import { property as n, customElement as d, queryAssignedElements as no, state as S } from "lit/decorators.js";
3
3
  import { nothing as lo } from "lit/html.js";
4
4
  import { directive as Qt } from "lit/directive.js";
@@ -35,8 +35,8 @@ const tr = "-", go = (e) => {
35
35
  return u[0] === "" && u.length !== 1 && u.shift(), Ar(u, t) || fo(a);
36
36
  },
37
37
  getConflictingClassGroupIds: (a, u) => {
38
- const m = o[a] || [];
39
- return u && s[a] ? [...m, ...s[a]] : m;
38
+ const v = o[a] || [];
39
+ return u && s[a] ? [...v, ...s[a]] : v;
40
40
  }
41
41
  };
42
42
  }, Ar = (e, t) => {
@@ -66,7 +66,7 @@ const tr = "-", go = (e) => {
66
66
  nextPart: /* @__PURE__ */ new Map(),
67
67
  validators: []
68
68
  };
69
- return mo(Object.entries(e.classGroups), o).forEach(([i, a]) => {
69
+ return vo(Object.entries(e.classGroups), o).forEach(([i, a]) => {
70
70
  kt(a, s, i, t);
71
71
  }), s;
72
72
  }, kt = (e, t, o, s) => {
@@ -77,7 +77,7 @@ const tr = "-", go = (e) => {
77
77
  return;
78
78
  }
79
79
  if (typeof r == "function") {
80
- if (vo(r)) {
80
+ if (mo(r)) {
81
81
  kt(r(s), t, o, s);
82
82
  return;
83
83
  }
@@ -99,7 +99,7 @@ const tr = "-", go = (e) => {
99
99
  validators: []
100
100
  }), o = o.nextPart.get(s);
101
101
  }), o;
102
- }, vo = (e) => e.isThemeGetter, mo = (e, t) => t ? e.map(([o, s]) => {
102
+ }, mo = (e) => e.isThemeGetter, vo = (e, t) => t ? e.map(([o, s]) => {
103
103
  const r = s.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([a, u]) => [t + a, u])) : i);
104
104
  return [o, r];
105
105
  }) : e, wo = (e) => {
@@ -131,13 +131,13 @@ const tr = "-", go = (e) => {
131
131
  separator: t,
132
132
  experimentalParseClassName: o
133
133
  } = e, s = t.length === 1, r = t[0], i = t.length, a = (u) => {
134
- const m = [];
135
- let b = 0, v = 0, P;
134
+ const v = [];
135
+ let b = 0, m = 0, P;
136
136
  for (let w = 0; w < u.length; w++) {
137
137
  let j = u[w];
138
138
  if (b === 0) {
139
139
  if (j === r && (s || u.slice(w, w + i) === t)) {
140
- m.push(u.slice(v, w)), v = w + i;
140
+ v.push(u.slice(m, w)), m = w + i;
141
141
  continue;
142
142
  }
143
143
  if (j === "/") {
@@ -147,9 +147,9 @@ const tr = "-", go = (e) => {
147
147
  }
148
148
  j === "[" ? b++ : j === "]" && b--;
149
149
  }
150
- const k = m.length === 0 ? u : u.substring(v), N = k.startsWith(zr), D = N ? k.substring(1) : k, $ = P && P > v ? P - v : void 0;
150
+ const k = v.length === 0 ? u : u.substring(m), N = k.startsWith(zr), D = N ? k.substring(1) : k, $ = P && P > m ? P - m : void 0;
151
151
  return {
152
- modifiers: m,
152
+ modifiers: v,
153
153
  hasImportantModifier: N,
154
154
  baseClassName: D,
155
155
  maybePostfixModifierPosition: $
@@ -178,9 +178,9 @@ const tr = "-", go = (e) => {
178
178
  getConflictingClassGroupIds: r
179
179
  } = t, i = [], a = e.trim().split($o);
180
180
  let u = "";
181
- for (let m = a.length - 1; m >= 0; m -= 1) {
182
- const b = a[m], {
183
- modifiers: v,
181
+ for (let v = a.length - 1; v >= 0; v -= 1) {
182
+ const b = a[v], {
183
+ modifiers: m,
184
184
  hasImportantModifier: P,
185
185
  baseClassName: k,
186
186
  maybePostfixModifierPosition: N
@@ -197,7 +197,7 @@ const tr = "-", go = (e) => {
197
197
  }
198
198
  D = !1;
199
199
  }
200
- const w = xo(v).join(":"), j = P ? w + zr : w, A = j + $;
200
+ const w = xo(m).join(":"), j = P ? w + zr : w, A = j + $;
201
201
  if (i.includes(A))
202
202
  continue;
203
203
  i.push(A);
@@ -226,16 +226,16 @@ const Ir = (e) => {
226
226
  };
227
227
  function Po(e, ...t) {
228
228
  let o, s, r, i = a;
229
- function a(m) {
230
- const b = t.reduce((v, P) => P(v), e());
231
- return o = _o(b), s = o.cache.get, r = o.cache.set, i = u, u(m);
229
+ function a(v) {
230
+ const b = t.reduce((m, P) => P(m), e());
231
+ return o = _o(b), s = o.cache.get, r = o.cache.set, i = u, u(v);
232
232
  }
233
- function u(m) {
234
- const b = s(m);
233
+ function u(v) {
234
+ const b = s(v);
235
235
  if (b)
236
236
  return b;
237
- const v = Oo(m, o);
238
- return r(m, v), v;
237
+ const m = Oo(v, o);
238
+ return r(v, m), m;
239
239
  }
240
240
  return function() {
241
241
  return i(Co.apply(null, arguments));
@@ -244,7 +244,7 @@ function Po(e, ...t) {
244
244
  const y = (e) => {
245
245
  const t = (o) => o[e] || [];
246
246
  return t.isThemeGetter = !0, t;
247
- }, Lr = /^\[(?:([a-z-]+):)?(.+)\]$/i, ko = /^\d+\/\d+$/, So = /* @__PURE__ */ new Set(["px", "full", "screen"]), Eo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, jo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Do = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ao = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Oe(e) || So.has(e) || ko.test(e), Q = (e) => Me(e, "length", Fo), Oe = (e) => !!e && !Number.isNaN(Number(e)), Pt = (e) => Me(e, "number", Oe), Ue = (e) => !!e && Number.isInteger(Number(e)), Io = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), f = (e) => Lr.test(e), ee = (e) => Eo.test(e), Lo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Mo = (e) => Me(e, Lo, Mr), To = (e) => Me(e, "position", Mr), No = /* @__PURE__ */ new Set(["image", "url"]), Ro = (e) => Me(e, No, qo), Bo = (e) => Me(e, "", Vo), Ge = () => !0, Me = (e, t, o) => {
247
+ }, Lr = /^\[(?:([a-z-]+):)?(.+)\]$/i, ko = /^\d+\/\d+$/, So = /* @__PURE__ */ new Set(["px", "full", "screen"]), Eo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, jo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Do = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ao = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Oe(e) || So.has(e) || ko.test(e), Q = (e) => Me(e, "length", Fo), Oe = (e) => !!e && !Number.isNaN(Number(e)), Pt = (e) => Me(e, "number", Oe), Ue = (e) => !!e && Number.isInteger(Number(e)), Io = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), f = (e) => Lr.test(e), ee = (e) => Eo.test(e), Lo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Mo = (e) => Me(e, Lo, Mr), To = (e) => Me(e, "position", Mr), No = /* @__PURE__ */ new Set(["image", "url"]), Ro = (e) => Me(e, No, qo), Bo = (e) => Me(e, "", Vo), Ge = () => !0, Me = (e, t, o) => {
248
248
  const s = Lr.exec(e);
249
249
  return s ? s[1] ? typeof t == "string" ? s[1] === t : t.has(s[1]) : o(s[2]) : !1;
250
250
  }, Fo = (e) => (
@@ -253,34 +253,34 @@ const y = (e) => {
253
253
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
254
254
  jo.test(e) && !Do.test(e)
255
255
  ), Mr = () => !1, Vo = (e) => Ao.test(e), qo = (e) => zo.test(e), Uo = () => {
256
- const e = y("colors"), t = y("spacing"), o = y("blur"), s = y("brightness"), r = y("borderColor"), i = y("borderRadius"), a = y("borderSpacing"), u = y("borderWidth"), m = y("contrast"), b = y("grayscale"), v = y("hueRotate"), P = y("invert"), k = y("gap"), N = y("gradientColorStops"), D = y("gradientColorStopPositions"), $ = y("inset"), w = y("margin"), j = y("opacity"), A = y("padding"), Ve = y("saturate"), be = y("scale"), nt = y("sepia"), wr = y("skew"), yr = y("space"), xr = y("translate"), _t = () => ["auto", "contain", "none"], $t = () => ["auto", "hidden", "clip", "visible", "scroll"], Ot = () => ["auto", f, t], x = () => [f, t], _r = () => ["", H, Q], lt = () => ["auto", Oe, f], $r = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], dt = () => ["solid", "dashed", "dotted", "double", "none"], Or = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Ct = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], qe = () => ["", "0", f], Cr = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], K = () => [Oe, f];
256
+ const e = y("colors"), t = y("spacing"), o = y("blur"), s = y("brightness"), r = y("borderColor"), i = y("borderRadius"), a = y("borderSpacing"), u = y("borderWidth"), v = y("contrast"), b = y("grayscale"), m = y("hueRotate"), P = y("invert"), k = y("gap"), N = y("gradientColorStops"), D = y("gradientColorStopPositions"), $ = y("inset"), w = y("margin"), j = y("opacity"), A = y("padding"), Ve = y("saturate"), be = y("scale"), nt = y("sepia"), wr = y("skew"), yr = y("space"), xr = y("translate"), _t = () => ["auto", "contain", "none"], $t = () => ["auto", "hidden", "clip", "visible", "scroll"], Ot = () => ["auto", f, t], x = () => [f, t], _r = () => ["", K, Q], lt = () => ["auto", Oe, f], $r = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], dt = () => ["solid", "dashed", "dotted", "double", "none"], Or = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Ct = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], qe = () => ["", "0", f], Cr = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Y = () => [Oe, f];
257
257
  return {
258
258
  cacheSize: 500,
259
259
  separator: ":",
260
260
  theme: {
261
261
  colors: [Ge],
262
- spacing: [H, Q],
262
+ spacing: [K, Q],
263
263
  blur: ["none", "", ee, f],
264
- brightness: K(),
264
+ brightness: Y(),
265
265
  borderColor: [e],
266
266
  borderRadius: ["none", "", "full", ee, f],
267
267
  borderSpacing: x(),
268
268
  borderWidth: _r(),
269
- contrast: K(),
269
+ contrast: Y(),
270
270
  grayscale: qe(),
271
- hueRotate: K(),
271
+ hueRotate: Y(),
272
272
  invert: qe(),
273
273
  gap: x(),
274
274
  gradientColorStops: [e],
275
275
  gradientColorStopPositions: [Io, Q],
276
276
  inset: Ot(),
277
277
  margin: Ot(),
278
- opacity: K(),
278
+ opacity: Y(),
279
279
  padding: x(),
280
- saturate: K(),
281
- scale: K(),
280
+ saturate: Y(),
281
+ scale: Y(),
282
282
  sepia: qe(),
283
- skew: K(),
283
+ skew: Y(),
284
284
  space: x(),
285
285
  translate: x()
286
286
  },
@@ -999,7 +999,7 @@ const y = (e) => {
999
999
  * @see https://tailwindcss.com/docs/line-height
1000
1000
  */
1001
1001
  leading: [{
1002
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", H, f]
1002
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", K, f]
1003
1003
  }],
1004
1004
  /**
1005
1005
  * List Style Image
@@ -1075,14 +1075,14 @@ const y = (e) => {
1075
1075
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1076
1076
  */
1077
1077
  "text-decoration-thickness": [{
1078
- decoration: ["auto", "from-font", H, Q]
1078
+ decoration: ["auto", "from-font", K, Q]
1079
1079
  }],
1080
1080
  /**
1081
1081
  * Text Underline Offset
1082
1082
  * @see https://tailwindcss.com/docs/text-underline-offset
1083
1083
  */
1084
1084
  "underline-offset": [{
1085
- "underline-offset": ["auto", H, f]
1085
+ "underline-offset": ["auto", K, f]
1086
1086
  }],
1087
1087
  /**
1088
1088
  * Text Decoration Color
@@ -1550,14 +1550,14 @@ const y = (e) => {
1550
1550
  * @see https://tailwindcss.com/docs/outline-offset
1551
1551
  */
1552
1552
  "outline-offset": [{
1553
- "outline-offset": [H, f]
1553
+ "outline-offset": [K, f]
1554
1554
  }],
1555
1555
  /**
1556
1556
  * Outline Width
1557
1557
  * @see https://tailwindcss.com/docs/outline-width
1558
1558
  */
1559
1559
  "outline-w": [{
1560
- outline: [H, Q]
1560
+ outline: [K, Q]
1561
1561
  }],
1562
1562
  /**
1563
1563
  * Outline Color
@@ -1597,7 +1597,7 @@ const y = (e) => {
1597
1597
  * @see https://tailwindcss.com/docs/ring-offset-width
1598
1598
  */
1599
1599
  "ring-offset-w": [{
1600
- "ring-offset": [H, Q]
1600
+ "ring-offset": [K, Q]
1601
1601
  }],
1602
1602
  /**
1603
1603
  * Ring Offset Color
@@ -1670,7 +1670,7 @@ const y = (e) => {
1670
1670
  * @see https://tailwindcss.com/docs/contrast
1671
1671
  */
1672
1672
  contrast: [{
1673
- contrast: [m]
1673
+ contrast: [v]
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Drop Shadow
@@ -1691,7 +1691,7 @@ const y = (e) => {
1691
1691
  * @see https://tailwindcss.com/docs/hue-rotate
1692
1692
  */
1693
1693
  "hue-rotate": [{
1694
- "hue-rotate": [v]
1694
+ "hue-rotate": [m]
1695
1695
  }],
1696
1696
  /**
1697
1697
  * Invert
@@ -1741,7 +1741,7 @@ const y = (e) => {
1741
1741
  * @see https://tailwindcss.com/docs/backdrop-contrast
1742
1742
  */
1743
1743
  "backdrop-contrast": [{
1744
- "backdrop-contrast": [m]
1744
+ "backdrop-contrast": [v]
1745
1745
  }],
1746
1746
  /**
1747
1747
  * Backdrop Grayscale
@@ -1755,7 +1755,7 @@ const y = (e) => {
1755
1755
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1756
1756
  */
1757
1757
  "backdrop-hue-rotate": [{
1758
- "backdrop-hue-rotate": [v]
1758
+ "backdrop-hue-rotate": [m]
1759
1759
  }],
1760
1760
  /**
1761
1761
  * Backdrop Invert
@@ -1841,7 +1841,7 @@ const y = (e) => {
1841
1841
  * @see https://tailwindcss.com/docs/transition-duration
1842
1842
  */
1843
1843
  duration: [{
1844
- duration: K()
1844
+ duration: Y()
1845
1845
  }],
1846
1846
  /**
1847
1847
  * Transition Timing Function
@@ -1855,7 +1855,7 @@ const y = (e) => {
1855
1855
  * @see https://tailwindcss.com/docs/transition-delay
1856
1856
  */
1857
1857
  delay: [{
1858
- delay: K()
1858
+ delay: Y()
1859
1859
  }],
1860
1860
  /**
1861
1861
  * Animation
@@ -2192,7 +2192,7 @@ const y = (e) => {
2192
2192
  * @see https://tailwindcss.com/docs/stroke-width
2193
2193
  */
2194
2194
  "stroke-w": [{
2195
- stroke: [H, Q, Pt]
2195
+ stroke: [K, Q, Pt]
2196
2196
  }],
2197
2197
  /**
2198
2198
  * Stroke
@@ -2315,16 +2315,16 @@ const Sr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Er =
2315
2315
  if ((t == null ? void 0 : t.variants) == null)
2316
2316
  return Er(e, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
2317
2317
  const { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((b) => {
2318
- const v = o == null ? void 0 : o[b], P = i == null ? void 0 : i[b];
2319
- if (v === null)
2318
+ const m = o == null ? void 0 : o[b], P = i == null ? void 0 : i[b];
2319
+ if (m === null)
2320
2320
  return null;
2321
- const k = Sr(v) || Sr(P);
2321
+ const k = Sr(m) || Sr(P);
2322
2322
  return r[b][k];
2323
- }), u = o && Object.entries(o).reduce((b, v) => {
2324
- let [P, k] = v;
2323
+ }), u = o && Object.entries(o).reduce((b, m) => {
2324
+ let [P, k] = m;
2325
2325
  return k === void 0 || (b[P] = k), b;
2326
- }, {}), m = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((b, v) => {
2327
- let { class: P, className: k, ...N } = v;
2326
+ }, {}), v = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((b, m) => {
2327
+ let { class: P, className: k, ...N } = m;
2328
2328
  return Object.entries(N).every((D) => {
2329
2329
  let [$, w] = D;
2330
2330
  return Array.isArray(w) ? w.includes({
@@ -2340,7 +2340,7 @@ const Sr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Er =
2340
2340
  k
2341
2341
  ] : b;
2342
2342
  }, []);
2343
- return Er(e, a, m, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
2343
+ return Er(e, a, v, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
2344
2344
  }, Yo = de(
2345
2345
  "inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
2346
2346
  {
@@ -5501,12 +5501,12 @@ jt.styles = [p``, c];
5501
5501
  jt = fs([
5502
5502
  d("rtg-dialog-overlay")
5503
5503
  ], jt);
5504
- var bs = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, Fr = (e, t, o, s) => {
5505
- for (var r = s > 1 ? void 0 : s ? vs(t, o) : t, i = e.length - 1, a; i >= 0; i--)
5504
+ var bs = Object.defineProperty, ms = Object.getOwnPropertyDescriptor, Fr = (e, t, o, s) => {
5505
+ for (var r = s > 1 ? void 0 : s ? ms(t, o) : t, i = e.length - 1, a; i >= 0; i--)
5506
5506
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
5507
5507
  return s && r && bs(t, o, r), r;
5508
5508
  };
5509
- const ms = "open", ws = "closed";
5509
+ const vs = "open", ws = "closed";
5510
5510
  let Ce = class extends h {
5511
5511
  constructor() {
5512
5512
  super(...arguments), this.state = ws;
@@ -5529,7 +5529,7 @@ let Ce = class extends h {
5529
5529
  render() {
5530
5530
  return l`
5531
5531
  <div rtgdlg-root>
5532
- ${this.state === ms ? l` <rtg-dialog-overlay></rtg-dialog-overlay>` : C}
5532
+ ${this.state === vs ? l` <rtg-dialog-overlay></rtg-dialog-overlay>` : C}
5533
5533
  <slot></slot>
5534
5534
  </div>
5535
5535
  `;
@@ -5736,7 +5736,7 @@ var js = Object.defineProperty, Ds = Object.getOwnPropertyDescriptor, bt = (e, t
5736
5736
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
5737
5737
  return s && r && js(t, o, r), r;
5738
5738
  };
5739
- let W = class extends h {
5739
+ let H = class extends h {
5740
5740
  constructor() {
5741
5741
  super(...arguments), this.heading = "", this._id = "", this._hidden = "";
5742
5742
  }
@@ -5745,7 +5745,7 @@ let W = class extends h {
5745
5745
  if (this._id !== "")
5746
5746
  return this._id;
5747
5747
  const e = (o = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : o.querySelector("div[rtgcmd-list]");
5748
- return e ? this._id = `${e.getAttribute("id")}g${W._counter++}` : this._id = `rtgcmdrxlxg${W._counter++}`, this._id;
5748
+ return e ? this._id = `${e.getAttribute("id")}g${H._counter++}` : this._id = `rtgcmdrxlxg${H._counter++}`, this._id;
5749
5749
  }
5750
5750
  render() {
5751
5751
  const e = "overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";
@@ -5774,20 +5774,20 @@ let W = class extends h {
5774
5774
  `}`;
5775
5775
  }
5776
5776
  };
5777
- W._counter = 0;
5778
- W.styles = [p``, c];
5777
+ H._counter = 0;
5778
+ H.styles = [p``, c];
5779
5779
  bt([
5780
5780
  n({ type: String })
5781
- ], W.prototype, "heading", 2);
5781
+ ], H.prototype, "heading", 2);
5782
5782
  bt([
5783
5783
  n({ attribute: "id", type: String })
5784
- ], W.prototype, "_id", 2);
5784
+ ], H.prototype, "_id", 2);
5785
5785
  bt([
5786
5786
  n({ attribute: "aria-hidden", type: String })
5787
- ], W.prototype, "_hidden", 2);
5788
- W = bt([
5787
+ ], H.prototype, "_hidden", 2);
5788
+ H = bt([
5789
5789
  d("rtg-command-group")
5790
- ], W);
5790
+ ], H);
5791
5791
  var As = Object.defineProperty, zs = Object.getOwnPropertyDescriptor, sr = (e, t, o, s) => {
5792
5792
  for (var r = s > 1 ? void 0 : s ? zs(t, o) : t, i = e.length - 1, a; i >= 0; i--)
5793
5793
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
@@ -5810,16 +5810,16 @@ let He = class extends h {
5810
5810
  "rtg-command-list > rtg-command-group"
5811
5811
  );
5812
5812
  o && o.forEach((r) => {
5813
- var m, b;
5813
+ var v, b;
5814
5814
  let i = !0;
5815
5815
  const a = r.querySelectorAll("rtg-command-item");
5816
- a && a.forEach((v) => {
5817
- ((v == null ? void 0 : v.value) || "").toLowerCase().includes(this._value.toLowerCase()) ? (i = !1, t = !1, v.setAttribute("aria-hidden", "false")) : v.setAttribute("aria-hidden", "true");
5816
+ a && a.forEach((m) => {
5817
+ ((m == null ? void 0 : m.value) || "").toLowerCase().includes(this._value.toLowerCase()) ? (i = !1, t = !1, m.setAttribute("aria-hidden", "false")) : m.setAttribute("aria-hidden", "true");
5818
5818
  }), r.setAttribute("aria-hidden", i ? "true" : "false");
5819
5819
  let u = r.previousElementSibling;
5820
5820
  u && u.setAttribute(
5821
5821
  "aria-hidden",
5822
- i || ((m = u.previousElementSibling) == null ? void 0 : m.getAttribute(
5822
+ i || ((v = u.previousElementSibling) == null ? void 0 : v.getAttribute(
5823
5823
  "aria-hidden"
5824
5824
  )) === "true" ? "true" : "false"
5825
5825
  ), u = r.nextElementSibling, u && u.setAttribute(
@@ -6327,10 +6327,10 @@ Rt.styles = p`
6327
6327
  Rt = bi([
6328
6328
  d("rtg-alert-title")
6329
6329
  ], Rt);
6330
- var vi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, wi = (e, t, o, s) => {
6331
- for (var r = s > 1 ? void 0 : s ? mi(t, o) : t, i = e.length - 1, a; i >= 0; i--)
6330
+ var mi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, wi = (e, t, o, s) => {
6331
+ for (var r = s > 1 ? void 0 : s ? vi(t, o) : t, i = e.length - 1, a; i >= 0; i--)
6332
6332
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
6333
- return s && r && vi(t, o, r), r;
6333
+ return s && r && mi(t, o, r), r;
6334
6334
  };
6335
6335
  let Bt = class extends h {
6336
6336
  render() {
@@ -6451,7 +6451,7 @@ Ee = Xr([
6451
6451
  d("rtg-badge")
6452
6452
  ], Ee);
6453
6453
  function Yr() {
6454
- return ve` <svg
6454
+ return me` <svg
6455
6455
  class="shrink-0 size-3.5 text-gray-500 dark:text-neutral-500"
6456
6456
  xmlns="http://www.w3.org/2000/svg"
6457
6457
  width="24"
@@ -6469,7 +6469,7 @@ function Yr() {
6469
6469
  `;
6470
6470
  }
6471
6471
  function Kr() {
6472
- return ve`
6472
+ return me`
6473
6473
  <svg
6474
6474
  class="shrink-0 size-3.5 text-blue-600 dark:text-blue-500"
6475
6475
  xmlns="http://www.w3.org/2000/svg"
@@ -6487,7 +6487,7 @@ function Kr() {
6487
6487
  `;
6488
6488
  }
6489
6489
  function Hr() {
6490
- return ve` <svg
6490
+ return me` <svg
6491
6491
  xmlns="http://www.w3.org/2000/svg"
6492
6492
  width = "24"
6493
6493
  height = "24"
@@ -6504,7 +6504,7 @@ function Hr() {
6504
6504
  `;
6505
6505
  }
6506
6506
  function Wr() {
6507
- return ve` <svg
6507
+ return me` <svg
6508
6508
  xmlns="http://www.w3.org/2000/svg"
6509
6509
  width="24"
6510
6510
  height="24"
@@ -6521,11 +6521,11 @@ function Wr() {
6521
6521
  `;
6522
6522
  }
6523
6523
  function Ci() {
6524
- return ve` <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-chevron-down h-4 w-4 shrink-0 transition-transform duration-200"><path d="m6 9 6 6 6-6"></path></svg>
6524
+ return me` <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-chevron-down h-4 w-4 shrink-0 transition-transform duration-200"><path d="m6 9 6 6 6-6"></path></svg>
6525
6525
  `;
6526
6526
  }
6527
6527
  function Pi() {
6528
- return ve` <svg
6528
+ return me` <svg
6529
6529
  xmlns="http://www.w3.org/2000/svg"
6530
6530
  width="24"
6531
6531
  height="24"
@@ -6542,9 +6542,9 @@ function Pi() {
6542
6542
  `;
6543
6543
  }
6544
6544
  function ki() {
6545
- return ve`<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-dot " > <circle cx="12.1" cy = "12.1" r = "1" > </circle></svg >`;
6545
+ return me`<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-dot " > <circle cx="12.1" cy = "12.1" r = "1" > </circle></svg >`;
6546
6546
  }
6547
- var Si = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, vt = (e, t, o, s) => {
6547
+ var Si = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, mt = (e, t, o, s) => {
6548
6548
  for (var r = s > 1 ? void 0 : s ? Ei(t, o) : t, i = e.length - 1, a; i >= 0; i--)
6549
6549
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
6550
6550
  return s && r && Si(t, o, r), r;
@@ -6577,16 +6577,16 @@ let je = class extends h {
6577
6577
  }
6578
6578
  };
6579
6579
  je.styles = [p``, c];
6580
- vt([
6580
+ mt([
6581
6581
  n({ type: String })
6582
6582
  ], je.prototype, "value", 2);
6583
- vt([
6583
+ mt([
6584
6584
  n({ type: Function })
6585
6585
  ], je.prototype, "handleClick", 2);
6586
- vt([
6586
+ mt([
6587
6587
  n({ type: Function })
6588
6588
  ], je.prototype, "handleKeyDown", 2);
6589
- je = vt([
6589
+ je = mt([
6590
6590
  d("rtg-combo-box-input")
6591
6591
  ], je);
6592
6592
  var ji = Object.defineProperty, Di = Object.getOwnPropertyDescriptor, pe = (e, t, o, s) => {
@@ -6663,7 +6663,7 @@ pe([
6663
6663
  F = pe([
6664
6664
  d("rtg-combo-box-item")
6665
6665
  ], F);
6666
- const Ai = "open", mt = "closed";
6666
+ const Ai = "open", vt = "closed";
6667
6667
  var zi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, lr = (e, t, o, s) => {
6668
6668
  for (var r = s > 1 ? void 0 : s ? Ii(t, o) : t, i = e.length - 1, a; i >= 0; i--)
6669
6669
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
@@ -6671,7 +6671,7 @@ var zi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, lr = (e, t
6671
6671
  };
6672
6672
  let Ze = class extends h {
6673
6673
  constructor() {
6674
- super(...arguments), this.state = mt, this.isOpen = !1;
6674
+ super(...arguments), this.state = vt, this.isOpen = !1;
6675
6675
  }
6676
6676
  get _popover() {
6677
6677
  let e = this.parentElement;
@@ -6724,15 +6724,32 @@ var Li = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, ue = (e, t
6724
6724
  };
6725
6725
  let R = class extends h {
6726
6726
  constructor() {
6727
- super(...arguments), this.isOpen = !1, this.selectedValue = "", this.searchTerm = "", this.focusedIndex = -1, this.filteredItems = [], this.label = "Select an item", this.items = [];
6727
+ super(...arguments), this.isOpen = !1, this.selectedValue = "", this.searchTerm = "", this.focusedIndex = -1, this.filteredItems = [], this.label = "Select an item", this.items = [], this.handleClickOutside = (e) => {
6728
+ var r, i;
6729
+ const t = e.target, o = (r = this.shadowRoot) == null ? void 0 : r.querySelector(
6730
+ "[data-hs-combo-box]"
6731
+ );
6732
+ if (console.log("target", t), console.log("this.shadowRoot", this.shadowRoot), !this.shadowRoot || !(t instanceof HTMLElement)) {
6733
+ console.log("Invalid target or shadow root");
6734
+ return;
6735
+ }
6736
+ const s = (i = t.shadowRoot) == null ? void 0 : i.firstElementChild;
6737
+ if (!s) {
6738
+ this.isOpen = !1;
6739
+ return;
6740
+ }
6741
+ (!o || !o.contains(s)) && console.log(
6742
+ "!dropdownContainer || !dropdownContainer.contains(firstChild)"
6743
+ );
6744
+ };
6728
6745
  }
6729
6746
  firstUpdated(e) {
6730
- console.log("this. items", this.items), this.items && this.items.length > 0 && (this.filteredItems = this.items.filter(
6747
+ this.items && this.items.length > 0 && (this.filteredItems = this.items.filter(
6731
6748
  (t) => t.toLowerCase().includes(this.searchTerm)
6732
6749
  ));
6733
6750
  }
6734
6751
  toggleDropdown() {
6735
- this.isOpen = !this.isOpen, this.focusedIndex = -1, console.log("toggleDropdown", this.isOpen);
6752
+ this.isOpen = !this.isOpen, this.focusedIndex = -1;
6736
6753
  }
6737
6754
  selectItem(e) {
6738
6755
  const t = e.target;
@@ -6745,7 +6762,7 @@ let R = class extends h {
6745
6762
  console.log("Event target is not an HTMLElement");
6746
6763
  }
6747
6764
  handleInputClick() {
6748
- console.log("-----handleInputClick------"), this.toggleDropdown();
6765
+ this.toggleDropdown();
6749
6766
  }
6750
6767
  handleSearch(e) {
6751
6768
  const t = e.target;
@@ -6782,25 +6799,6 @@ let R = class extends h {
6782
6799
  }), (s = (o = this.shadowRoot) == null ? void 0 : o.querySelector("input")) == null || s.removeEventListener("blur", () => {
6783
6800
  });
6784
6801
  }
6785
- handleClickOutside(e) {
6786
- var r, i;
6787
- console.log("handleClickOutside");
6788
- const t = e.target, o = (r = this.shadowRoot) == null ? void 0 : r.querySelector(
6789
- "[data-hs-combo-box]"
6790
- );
6791
- if (console.log("target", t), console.log("this.shadowRoot", this.shadowRoot), !this.shadowRoot || !(t instanceof HTMLElement)) {
6792
- console.log("Invalid target or shadow root");
6793
- return;
6794
- }
6795
- const s = (i = t.shadowRoot) == null ? void 0 : i.firstElementChild;
6796
- if (!s) {
6797
- this.isOpen = !1;
6798
- return;
6799
- }
6800
- (!o || !o.contains(s)) && console.log(
6801
- "!dropdownContainer || !dropdownContainer.contains(firstChild)"
6802
- );
6803
- }
6804
6802
  updateFocus() {
6805
6803
  if (!this.shadowRoot)
6806
6804
  return;
@@ -6811,7 +6809,6 @@ let R = class extends h {
6811
6809
  render() {
6812
6810
  return l`
6813
6811
  <div class="relative" data-hs-combo-box="">
6814
- isopen:${this.isOpen}
6815
6812
  <div>
6816
6813
  <input
6817
6814
  part="combobox"
@@ -6920,7 +6917,7 @@ var Ti = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, dr = (e, t
6920
6917
  };
6921
6918
  let De = class extends h {
6922
6919
  constructor() {
6923
- super(...arguments), this.state = mt, this.isOpen = !1;
6920
+ super(...arguments), this.state = vt, this.isOpen = !1;
6924
6921
  }
6925
6922
  get _dropdownMenu() {
6926
6923
  let e = this.parentElement;
@@ -7028,7 +7025,7 @@ it([
7028
7025
  V = it([
7029
7026
  d("rtg-dropdown-menu-item")
7030
7027
  ], V);
7031
- var Fi = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, me = (e, t, o, s) => {
7028
+ var Fi = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, ve = (e, t, o, s) => {
7032
7029
  for (var r = s > 1 ? void 0 : s ? Vi(t, o) : t, i = e.length - 1, a; i >= 0; i--)
7033
7030
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
7034
7031
  return s && r && Fi(t, o, r), r;
@@ -7099,25 +7096,25 @@ I.styles = [
7099
7096
  `,
7100
7097
  c
7101
7098
  ];
7102
- me([
7099
+ ve([
7103
7100
  n({ type: String })
7104
7101
  ], I.prototype, "_id", 2);
7105
- me([
7102
+ ve([
7106
7103
  n({ attribute: "aria-hidden", type: String })
7107
7104
  ], I.prototype, "_hidden", 2);
7108
- me([
7105
+ ve([
7109
7106
  n({ attribute: "data-value", type: String })
7110
7107
  ], I.prototype, "value", 1);
7111
- me([
7108
+ ve([
7112
7109
  n({ type: Boolean })
7113
7110
  ], I.prototype, "selected", 2);
7114
- me([
7111
+ ve([
7115
7112
  n({ type: Boolean })
7116
7113
  ], I.prototype, "checked", 2);
7117
- me([
7114
+ ve([
7118
7115
  n({ type: Boolean })
7119
7116
  ], I.prototype, "disabled", 2);
7120
- I = me([
7117
+ I = ve([
7121
7118
  d("rtg-dropdown-menu-radio-item")
7122
7119
  ], I);
7123
7120
  var qi = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, cr = (e, t, o, s) => {
@@ -7266,7 +7263,7 @@ var Yi = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, wt = (e, t
7266
7263
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
7267
7264
  return s && r && Yi(t, o, r), r;
7268
7265
  };
7269
- let Z = class extends h {
7266
+ let W = class extends h {
7270
7267
  constructor() {
7271
7268
  super(...arguments), this.heading = "", this._id = "", this._hidden = "";
7272
7269
  }
@@ -7275,7 +7272,7 @@ let Z = class extends h {
7275
7272
  if (this._id !== "")
7276
7273
  return this._id;
7277
7274
  const e = (o = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : o.querySelector("div[rtgcmd-list]");
7278
- return e ? this._id = `${e.getAttribute("id")}g${Z._counter++}` : this._id = `rtgcmdrxlxg${Z._counter++}`, this._id;
7275
+ return e ? this._id = `${e.getAttribute("id")}g${W._counter++}` : this._id = `rtgcmdrxlxg${W._counter++}`, this._id;
7279
7276
  }
7280
7277
  render() {
7281
7278
  const e = "overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";
@@ -7304,20 +7301,20 @@ let Z = class extends h {
7304
7301
  `}`;
7305
7302
  }
7306
7303
  };
7307
- Z._counter = 0;
7308
- Z.styles = [p``, c];
7304
+ W._counter = 0;
7305
+ W.styles = [p``, c];
7309
7306
  wt([
7310
7307
  n({ type: String })
7311
- ], Z.prototype, "heading", 2);
7308
+ ], W.prototype, "heading", 2);
7312
7309
  wt([
7313
7310
  n({ attribute: "id", type: String })
7314
- ], Z.prototype, "_id", 2);
7311
+ ], W.prototype, "_id", 2);
7315
7312
  wt([
7316
7313
  n({ attribute: "aria-hidden", type: String })
7317
- ], Z.prototype, "_hidden", 2);
7318
- Z = wt([
7314
+ ], W.prototype, "_hidden", 2);
7315
+ W = wt([
7319
7316
  d("rtg-dropdown-menu-group")
7320
- ], Z);
7317
+ ], W);
7321
7318
  var Hi = Object.defineProperty, Wi = Object.getOwnPropertyDescriptor, Zr = (e, t, o, s) => {
7322
7319
  for (var r = s > 1 ? void 0 : s ? Wi(t, o) : t, i = e.length - 1, a; i >= 0; i--)
7323
7320
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
@@ -7468,7 +7465,7 @@ var ea = Object.defineProperty, ta = Object.getOwnPropertyDescriptor, pr = (e, t
7468
7465
  };
7469
7466
  let Ae = class extends h {
7470
7467
  constructor() {
7471
- super(...arguments), this.state = mt, this.isOpen = !1;
7468
+ super(...arguments), this.state = vt, this.isOpen = !1;
7472
7469
  }
7473
7470
  get _contextMenu() {
7474
7471
  let e = this.parentElement;
@@ -7620,7 +7617,7 @@ var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, yt = (e, t
7620
7617
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
7621
7618
  return s && r && sa(t, o, r), r;
7622
7619
  };
7623
- let J = class extends h {
7620
+ let Z = class extends h {
7624
7621
  constructor() {
7625
7622
  super(...arguments), this.heading = "", this._id = "", this._hidden = "";
7626
7623
  }
@@ -7629,7 +7626,7 @@ let J = class extends h {
7629
7626
  if (this._id !== "")
7630
7627
  return this._id;
7631
7628
  const e = (o = (t = this.parentElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : o.querySelector("div[rtgcmd-list]");
7632
- return e ? this._id = `${e.getAttribute("id")}g${J._counter++}` : this._id = `rtgcmdrxlxg${J._counter++}`, this._id;
7629
+ return e ? this._id = `${e.getAttribute("id")}g${Z._counter++}` : this._id = `rtgcmdrxlxg${Z._counter++}`, this._id;
7633
7630
  }
7634
7631
  render() {
7635
7632
  const e = "overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";
@@ -7658,20 +7655,20 @@ let J = class extends h {
7658
7655
  `}`;
7659
7656
  }
7660
7657
  };
7661
- J._counter = 0;
7662
- J.styles = [p``, c];
7658
+ Z._counter = 0;
7659
+ Z.styles = [p``, c];
7663
7660
  yt([
7664
7661
  n({ type: String })
7665
- ], J.prototype, "heading", 2);
7662
+ ], Z.prototype, "heading", 2);
7666
7663
  yt([
7667
7664
  n({ attribute: "id", type: String })
7668
- ], J.prototype, "_id", 2);
7665
+ ], Z.prototype, "_id", 2);
7669
7666
  yt([
7670
7667
  n({ attribute: "aria-hidden", type: String })
7671
- ], J.prototype, "_hidden", 2);
7672
- J = yt([
7668
+ ], Z.prototype, "_hidden", 2);
7669
+ Z = yt([
7673
7670
  d("rtg-context-menu-group")
7674
- ], J);
7671
+ ], Z);
7675
7672
  var aa = Object.defineProperty, na = Object.getOwnPropertyDescriptor, at = (e, t, o, s) => {
7676
7673
  for (var r = s > 1 ? void 0 : s ? na(t, o) : t, i = e.length - 1, a; i >= 0; i--)
7677
7674
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
@@ -7952,10 +7949,10 @@ eo([
7952
7949
  Qe = eo([
7953
7950
  d("rtg-context-menu")
7954
7951
  ], Qe);
7955
- var va = Object.defineProperty, ma = Object.getOwnPropertyDescriptor, he = (e, t, o, s) => {
7956
- for (var r = s > 1 ? void 0 : s ? ma(t, o) : t, i = e.length - 1, a; i >= 0; i--)
7952
+ var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, he = (e, t, o, s) => {
7953
+ for (var r = s > 1 ? void 0 : s ? va(t, o) : t, i = e.length - 1, a; i >= 0; i--)
7957
7954
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
7958
- return s && r && va(t, o, r), r;
7955
+ return s && r && ma(t, o, r), r;
7959
7956
  };
7960
7957
  let G = class extends h {
7961
7958
  constructor() {
@@ -8035,7 +8032,7 @@ var wa = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, hr = (e, t
8035
8032
  };
8036
8033
  let et = class extends h {
8037
8034
  constructor() {
8038
- super(...arguments), this.state = mt, this.isOpen = !1;
8035
+ super(...arguments), this.state = vt, this.isOpen = !1;
8039
8036
  }
8040
8037
  render() {
8041
8038
  return l`
@@ -8513,7 +8510,7 @@ xt([
8513
8510
  ze = xt([
8514
8511
  d("rtg-accordion-trigger")
8515
8512
  ], ze);
8516
- var Ba = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, vr = (e, t, o, s) => {
8513
+ var Ba = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, mr = (e, t, o, s) => {
8517
8514
  for (var r = s > 1 ? void 0 : s ? Fa(t, o) : t, i = e.length - 1, a; i >= 0; i--)
8518
8515
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
8519
8516
  return s && r && Ba(t, o, r), r;
@@ -8552,13 +8549,13 @@ let ot = class extends uo {
8552
8549
  }
8553
8550
  };
8554
8551
  ot.styles = [er``, c];
8555
- vr([
8552
+ mr([
8556
8553
  n({ type: String })
8557
8554
  ], ot.prototype, "value", 2);
8558
- vr([
8555
+ mr([
8559
8556
  S()
8560
8557
  ], ot.prototype, "selectedValue", 2);
8561
- ot = vr([
8558
+ ot = mr([
8562
8559
  d("rtg-accordion-content")
8563
8560
  ], ot);
8564
8561
  var $e = /* @__PURE__ */ ((e) => (e.MULTIPLE = "multiple", e.SINGLE = "single", e))($e || {}), Va = Object.defineProperty, qa = Object.getOwnPropertyDescriptor, to = (e, t, o, s) => {
@@ -8689,31 +8686,149 @@ var Ya = Object.defineProperty, Ka = Object.getOwnPropertyDescriptor, Fe = (e, t
8689
8686
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
8690
8687
  return s && r && Ya(t, o, r), r;
8691
8688
  };
8692
- let Y = class extends h {
8689
+ let J = class extends h {
8693
8690
  constructor() {
8694
8691
  super(...arguments), this.click = () => {
8695
8692
  }, this.disabled = !1, this.isCustomClass = !1, this.variant = "default", this.size = "default";
8696
8693
  }
8697
8694
  render() {
8698
8695
  return l`
8699
- <div
8700
- class="${g(
8701
- Y.buttonVariants({
8702
- variant: this.variant,
8703
- size: this.size,
8704
- className: this.className
8705
- })
8706
- )} ${this.isCustomClass ? "rtg-sample-demo-custom-class" : ""}"
8707
- >
8708
- <div part="tab active">Tab A</div>
8709
- <div class="px-4" part="tab">Tab B</div>
8710
- <div part="tab">Tab C</div>
8711
- </div>
8696
+ <rtg-card class="rounded block w-96" data-testid="card-id">
8697
+ <cardheader data-testid="card-header-id">
8698
+ <cardtitle data-testid="card-title-id">
8699
+ <h3 class="text-white font-bold">Payment Method</h3>
8700
+ </cardtitle>
8701
+ <carddescription data-testid="card-description-id">
8702
+ <p class="text-sm text-gray-400 mt-1">
8703
+ Add a new payment method to your account.
8704
+ </p>
8705
+ </carddescription>
8706
+ </cardheader>
8707
+ <cardcontent data-testid="card-content-id">
8708
+ <div class="grid grid-cols-3 gap-3 mt-7">
8709
+ <div
8710
+ class="flex flex-col border-2 border-white rounded-lg p-4 text-center"
8711
+ >
8712
+ <span>Card</span>
8713
+ <span>test</span>
8714
+ </div>
8715
+ <div
8716
+ class="flex flex-col border-2 border-white rounded-lg p-4 text-center"
8717
+ >
8718
+ <span>Card</span>
8719
+ <span>test</span>
8720
+ </div>
8721
+ <div
8722
+ class="flex flex-col border-2 border-white rounded-lg p-4 text-center"
8723
+ >
8724
+ <span>Card</span>
8725
+ <span>test</span>
8726
+ </div>
8727
+ </div>
8728
+ <div class="mt-6">
8729
+ <span class="block text-sm mb-1 font-bold">Name</span>
8730
+ <rtg-input
8731
+ data-testid="input-id"
8732
+ data-testchild="children-id"
8733
+ id=""
8734
+ type="text"
8735
+ placeholder="Enter text"
8736
+ ></rtg-input>
8737
+ </div>
8738
+ <div class="mt-4">
8739
+ <span class="block text-sm mb-1 font-bold">Card Number</span>
8740
+ <rtg-input type="text"></rtg-input>
8741
+ </div>
8742
+ <div class="grid grid-cols-3 gap-3 mt-6 mb-6">
8743
+ <div>
8744
+ <span class="block text-sm mb-1 font-bold">Expires</span>
8745
+ <rtg-combo-box
8746
+ label="Month"
8747
+ .items='["next.js", "sveltekit", "nuxt.js", "remix", "astro"]'
8748
+ >
8749
+ <rtg-combo-box-list>
8750
+ <rtg-combo-box-item
8751
+ data-hs-combo-box-value="next.js"
8752
+ tabindex="0"
8753
+ ></rtg-combo-box-item>
8754
+ <rtg-combo-box-item
8755
+ data-hs-combo-box-value="sveltekit"
8756
+ tabindex="1"
8757
+ ></rtg-combo-box-item>
8758
+ <rtg-combo-box-item
8759
+ data-hs-combo-box-value="nuxt.js"
8760
+ tabindex="2"
8761
+ ></rtg-combo-box-item>
8762
+ <rtg-combo-box-item
8763
+ data-hs-combo-box-value="remix"
8764
+ tabindex="3"
8765
+ ></rtg-combo-box-item>
8766
+ <rtg-combo-box-item
8767
+ data-hs-combo-box-value="astro"
8768
+ tabindex="4"
8769
+ ></rtg-combo-box-item>
8770
+ </rtg-combo-box-list>
8771
+ </rtg-combo-box>
8772
+ </div>
8773
+ <div>
8774
+ <span class="block text-sm mb-1 font-bold">Year</span>
8775
+ <rtg-combo-box
8776
+ label="Year"
8777
+ items='["next.js", "sveltekit", "nuxt.js", "remix", "astro"]'
8778
+ >
8779
+ <rtg-combo-box-list>
8780
+ <rtg-combo-box-item
8781
+ data-hs-combo-box-value="next.js"
8782
+ tabindex="0"
8783
+ ></rtg-combo-box-item>
8784
+ <rtg-combo-box-item
8785
+ data-hs-combo-box-value="sveltekit"
8786
+ tabindex="1"
8787
+ ></rtg-combo-box-item>
8788
+ <rtg-combo-box-item
8789
+ data-hs-combo-box-value="nuxt.js"
8790
+ tabindex="2"
8791
+ ></rtg-combo-box-item>
8792
+ <rtg-combo-box-item
8793
+ data-hs-combo-box-value="remix"
8794
+ tabindex="3"
8795
+ ></rtg-combo-box-item>
8796
+ <rtg-combo-box-item
8797
+ data-hs-combo-box-value="astro"
8798
+ tabindex="4"
8799
+ ></rtg-combo-box-item>
8800
+ </rtg-combo-box-list>
8801
+ </rtg-combo-box>
8802
+ </div>
8803
+ <div>
8804
+ <span class="block text-sm mb-1 font-bold">CVC</span>
8805
+ <rtg-input
8806
+ data-testid="input-id"
8807
+ data-testchild="children-id"
8808
+ id=""
8809
+ type="text"
8810
+ placeholder="Enter text"
8811
+ ></rtg-input>
8812
+ </div>
8813
+ </div>
8814
+ </cardcontent>
8815
+ <cardfooter data-testid="card-footer-id">
8816
+ <rtg-button
8817
+ class="w-full text-black bg-white py-2 rounded-lg"
8818
+ method="post"
8819
+ data-testid="btn-id"
8820
+ data-testchild="children-id"
8821
+ variant="default"
8822
+ size="default"
8823
+ >Continue</rtg-button
8824
+ >
8825
+ </cardfooter>
8826
+ </rtg-card>
8712
8827
  `;
8713
8828
  }
8714
8829
  };
8715
- Y.buttonVariants = Xa;
8716
- Y.styles = [
8830
+ J.buttonVariants = Xa;
8831
+ J.styles = [
8717
8832
  c,
8718
8833
  p`
8719
8834
  :host {
@@ -8732,22 +8847,22 @@ Y.styles = [
8732
8847
  ];
8733
8848
  Fe([
8734
8849
  n({ type: Function })
8735
- ], Y.prototype, "click", 2);
8850
+ ], J.prototype, "click", 2);
8736
8851
  Fe([
8737
8852
  n({ type: Boolean })
8738
- ], Y.prototype, "disabled", 2);
8853
+ ], J.prototype, "disabled", 2);
8739
8854
  Fe([
8740
8855
  n({ type: String })
8741
- ], Y.prototype, "isCustomClass", 2);
8856
+ ], J.prototype, "isCustomClass", 2);
8742
8857
  Fe([
8743
8858
  n({ type: String })
8744
- ], Y.prototype, "variant", 2);
8859
+ ], J.prototype, "variant", 2);
8745
8860
  Fe([
8746
8861
  n({ type: String })
8747
- ], Y.prototype, "size", 2);
8748
- Y = Fe([
8862
+ ], J.prototype, "size", 2);
8863
+ J = Fe([
8749
8864
  d("rtg-sample-demo")
8750
- ], Y);
8865
+ ], J);
8751
8866
  var Ha = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor, Za = (e, t, o, s) => {
8752
8867
  for (var r = s > 1 ? void 0 : s ? Wa(t, o) : t, i = e.length - 1, a; i >= 0; i--)
8753
8868
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
@@ -8806,7 +8921,7 @@ Xt.styles = [p``, c];
8806
8921
  Xt = en([
8807
8922
  d("rtg-collapsible-content")
8808
8923
  ], Xt);
8809
- var tn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, mr = (e, t, o, s) => {
8924
+ var tn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, vr = (e, t, o, s) => {
8810
8925
  for (var r = s > 1 ? void 0 : s ? rn(t, o) : t, i = e.length - 1, a; i >= 0; i--)
8811
8926
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
8812
8927
  return s && r && tn(t, o, r), r;
@@ -8830,13 +8945,13 @@ let Le = class extends _ {
8830
8945
  }
8831
8946
  };
8832
8947
  Le.styles = [p``, c];
8833
- mr([
8948
+ vr([
8834
8949
  n({ type: Boolean })
8835
8950
  ], Le.prototype, "open", 2);
8836
- mr([
8951
+ vr([
8837
8952
  n({ type: Function })
8838
8953
  ], Le.prototype, "onOpenChange", 2);
8839
- Le = mr([
8954
+ Le = vr([
8840
8955
  d("rtg-collapsible")
8841
8956
  ], Le);
8842
8957
  const on = "inline-flex items-center gap-1.5", sn = "transition-colors hover:text-foreground", an = "font-normal text-foreground", nn = "[&>svg]:size-3.5", ln = "flex h-9 w-9 items-center justify-center", dn = "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";
@@ -8905,8 +9020,8 @@ Kt.styles = [p``, c];
8905
9020
  Kt = fn([
8906
9021
  d("rtg-bread-crumb-item")
8907
9022
  ], Kt);
8908
- var bn = Object.defineProperty, vn = Object.getOwnPropertyDescriptor, mn = (e, t, o, s) => {
8909
- for (var r = s > 1 ? void 0 : s ? vn(t, o) : t, i = e.length - 1, a; i >= 0; i--)
9023
+ var bn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, vn = (e, t, o, s) => {
9024
+ for (var r = s > 1 ? void 0 : s ? mn(t, o) : t, i = e.length - 1, a; i >= 0; i--)
8910
9025
  (a = e[i]) && (r = (s ? a(t, o, r) : a(r)) || r);
8911
9026
  return s && r && bn(t, o, r), r;
8912
9027
  };
@@ -8928,7 +9043,7 @@ let Ht = class extends _ {
8928
9043
  }
8929
9044
  };
8930
9045
  Ht.styles = [p``, c];
8931
- Ht = mn([
9046
+ Ht = vn([
8932
9047
  d("rtg-bread-crumb-list")
8933
9048
  ], Ht);
8934
9049
  var wn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, xn = (e, t, o, s) => {
@@ -9296,7 +9411,7 @@ export {
9296
9411
  Qe as ContextMenu,
9297
9412
  M as ContextMenuCheckboxItem,
9298
9413
  Ae as ContextMenuContent,
9299
- J as ContextMenuGroup,
9414
+ Z as ContextMenuGroup,
9300
9415
  U as ContextMenuItem,
9301
9416
  T as ContextMenuRadioItem,
9302
9417
  ae as ContextMenuSeparator,
@@ -9310,7 +9425,7 @@ export {
9310
9425
  Je as DropdownMenu,
9311
9426
  L as DropdownMenuCheckboxItem,
9312
9427
  De as DropdownMenuContent,
9313
- Z as DropdownMenuGroup,
9428
+ W as DropdownMenuGroup,
9314
9429
  V as DropdownMenuItem,
9315
9430
  I as DropdownMenuRadioItem,
9316
9431
  ie as DropdownMenuSeparator,