@gears-frontx/ui-kit 0.3.0-alpha.1 → 0.3.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/badge.js +39 -19
  2. package/dist/badge.js.map +1 -1
  3. package/dist/button.js +40 -40
  4. package/dist/button.js.map +1 -1
  5. package/dist/checkbox.js +5 -5
  6. package/dist/chunks/badge.BcdxDzJ7.css +1 -0
  7. package/dist/chunks/button.DNo8DTR3.css +1 -0
  8. package/dist/chunks/checkbox.D3kdAalh.css +1 -0
  9. package/dist/chunks/input.C8RDCC-a.css +1 -0
  10. package/dist/chunks/radio-group.zAFY9yCF.css +1 -0
  11. package/dist/chunks/select.Dt0diN4P.css +1 -0
  12. package/dist/chunks/switch.CsaIRnCA.css +1 -0
  13. package/dist/chunks/{table.r8ppNt1W.css → table.BuWHXL6e.css} +1 -1
  14. package/dist/chunks/tabs.KEksCAxN.css +1 -0
  15. package/dist/chunks/{textarea.BKWvs6fD.css → textarea.N3iiWUuz.css} +1 -1
  16. package/dist/chunks/toast.DMUpK07T.css +1 -0
  17. package/dist/components/badge/badge.d.ts +14 -2
  18. package/dist/components/badge/badge.d.ts.map +1 -1
  19. package/dist/components/button/button.d.ts.map +1 -1
  20. package/dist/components/input/input.d.ts +17 -1
  21. package/dist/components/input/input.d.ts.map +1 -1
  22. package/dist/components/select/select.d.ts +2 -2
  23. package/dist/components/select/select.d.ts.map +1 -1
  24. package/dist/docs/badge.md +22 -8
  25. package/dist/docs/button.md +43 -8
  26. package/dist/docs/input.md +32 -6
  27. package/dist/docs/select.md +13 -9
  28. package/dist/input.js +27 -21
  29. package/dist/input.js.map +1 -1
  30. package/dist/radio-group.js +8 -8
  31. package/dist/select.js +57 -65
  32. package/dist/select.js.map +1 -1
  33. package/dist/switch.js +8 -8
  34. package/dist/table.js +33 -33
  35. package/dist/tabs.js +20 -20
  36. package/dist/textarea.js +4 -4
  37. package/dist/theme.css +31 -6
  38. package/dist/toast.js +60 -60
  39. package/llms.txt +26 -17
  40. package/package.json +1 -1
  41. package/dist/chunks/badge.ej-3-Xs4.css +0 -1
  42. package/dist/chunks/button.CKfALaMe.css +0 -1
  43. package/dist/chunks/checkbox.Dd6YDr20.css +0 -1
  44. package/dist/chunks/input.CrRQ0OAn.css +0 -1
  45. package/dist/chunks/radio-group.1Y6B0lXt.css +0 -1
  46. package/dist/chunks/select.BmyP2S2q.css +0 -1
  47. package/dist/chunks/switch.B_ebMSxR.css +0 -1
  48. package/dist/chunks/tabs.DqJE9cX3.css +0 -1
  49. package/dist/chunks/toast.DMl31Mq4.css +0 -1
package/dist/table.js CHANGED
@@ -1,64 +1,64 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { cx as l } from "class-variance-authority";
3
- import './chunks/table.r8ppNt1W.css';const s = "_tableContainer_1s5o4_8", r = "_table_1s5o4_8", c = "_tableRow_1s5o4_68", i = "_tableHeader_1s5o4_137", _ = "_tableFooter_1s5o4_143", d = "_tableBody_1s5o4_160", m = "_tableHead_1s5o4_56", C = "_tableCell_1s5o4_242", u = "_densityCompact_1s5o4_264", p = "_tableCaption_1s5o4_274", a = {
4
- tableContainer: s,
5
- table: r,
6
- tableRow: c,
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { cx as o } from "class-variance-authority";
3
+ import './chunks/table.BuWHXL6e.css';const r = "_tableContainer_1j5xp_8", c = "_table_1j5xp_8", s = "_tableRow_1j5xp_71", i = "_tableHeader_1j5xp_140", _ = "_tableFooter_1j5xp_146", d = "_tableBody_1j5xp_163", p = "_tableHead_1j5xp_59", m = "_tableCell_1j5xp_245", C = "_densityCompact_1j5xp_267", u = "_tableCaption_1j5xp_277", a = {
4
+ tableContainer: r,
5
+ table: c,
6
+ tableRow: s,
7
7
  tableHeader: i,
8
8
  tableFooter: _,
9
9
  tableBody: d,
10
- tableHead: m,
11
- tableCell: C,
12
- densityCompact: u,
13
- tableCaption: p
10
+ tableHead: p,
11
+ tableCell: m,
12
+ densityCompact: C,
13
+ tableCaption: u
14
14
  };
15
- function H({ className: t, label: e, density: n, ...b }) {
16
- return /* @__PURE__ */ o(
15
+ function j({ className: t, label: e, density: n, ...b }) {
16
+ return /* @__PURE__ */ l(
17
17
  "div",
18
18
  {
19
19
  className: a.tableContainer,
20
20
  tabIndex: 0,
21
21
  role: e === void 0 ? void 0 : "region",
22
22
  "aria-label": e,
23
- children: /* @__PURE__ */ o(
23
+ children: /* @__PURE__ */ l(
24
24
  "table",
25
25
  {
26
- className: l(a.table, n === "compact" && a.densityCompact, t),
26
+ className: o(a.table, n === "compact" && a.densityCompact, t),
27
27
  ...b
28
28
  }
29
29
  )
30
30
  }
31
31
  );
32
32
  }
33
+ function y({ className: t, ...e }) {
34
+ return /* @__PURE__ */ l("thead", { className: o(a.tableHeader, t), ...e });
35
+ }
36
+ function H({ className: t, ...e }) {
37
+ return /* @__PURE__ */ l("tbody", { className: o(a.tableBody, t), ...e });
38
+ }
33
39
  function N({ className: t, ...e }) {
34
- return /* @__PURE__ */ o("thead", { className: l(a.tableHeader, t), ...e });
40
+ return /* @__PURE__ */ l("tfoot", { className: o(a.tableFooter, t), ...e });
35
41
  }
36
42
  function T({ className: t, ...e }) {
37
- return /* @__PURE__ */ o("tbody", { className: l(a.tableBody, t), ...e });
43
+ return /* @__PURE__ */ l("tr", { className: o(a.tableRow, t), ...e });
38
44
  }
39
45
  function w({ className: t, ...e }) {
40
- return /* @__PURE__ */ o("tfoot", { className: l(a.tableFooter, t), ...e });
46
+ return /* @__PURE__ */ l("th", { className: o(a.tableHead, t), ...e });
41
47
  }
42
48
  function B({ className: t, ...e }) {
43
- return /* @__PURE__ */ o("tr", { className: l(a.tableRow, t), ...e });
49
+ return /* @__PURE__ */ l("td", { className: o(a.tableCell, t), ...e });
44
50
  }
45
51
  function F({ className: t, ...e }) {
46
- return /* @__PURE__ */ o("th", { className: l(a.tableHead, t), ...e });
47
- }
48
- function R({ className: t, ...e }) {
49
- return /* @__PURE__ */ o("td", { className: l(a.tableCell, t), ...e });
50
- }
51
- function x({ className: t, ...e }) {
52
- return /* @__PURE__ */ o("caption", { className: l(a.tableCaption, t), ...e });
52
+ return /* @__PURE__ */ l("caption", { className: o(a.tableCaption, t), ...e });
53
53
  }
54
54
  export {
55
- H as Table,
56
- T as TableBody,
57
- x as TableCaption,
58
- R as TableCell,
59
- w as TableFooter,
60
- F as TableHead,
61
- N as TableHeader,
62
- B as TableRow
55
+ j as Table,
56
+ H as TableBody,
57
+ F as TableCaption,
58
+ B as TableCell,
59
+ N as TableFooter,
60
+ w as TableHead,
61
+ y as TableHeader,
62
+ T as TableRow
63
63
  };
64
64
  //# sourceMappingURL=table.js.map
package/dist/tabs.js CHANGED
@@ -1,41 +1,41 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as r } from "react/jsx-runtime";
2
2
  import { Tabs as s } from "@base-ui/react/tabs";
3
- import { cx as e, cva as o } from "class-variance-authority";
4
- import './chunks/tabs.DqJE9cX3.css';const c = "_tabs_iiufe_28", u = "_list_iiufe_23", f = "_trigger_iiufe_5", l = "_content_iiufe_28", _ = "_variantDefault_iiufe_84", b = "_variantLine_iiufe_88", i = {
3
+ import { cx as i, cva as o } from "class-variance-authority";
4
+ import './chunks/tabs.KEksCAxN.css';const c = "_tabs_17rkh_28", l = "_list_17rkh_23", _ = "_trigger_17rkh_5", u = "_content_17rkh_28", f = "_variantDefault_17rkh_84", b = "_variantLine_17rkh_88", n = {
5
5
  tabs: c,
6
- list: u,
7
- trigger: f,
8
- content: l,
9
- variantDefault: _,
6
+ list: l,
7
+ trigger: _,
8
+ content: u,
9
+ variantDefault: f,
10
10
  variantLine: b
11
11
  };
12
12
  function L({ className: t, ...a }) {
13
- return /* @__PURE__ */ n(s.Root, { className: e(i.tabs, t), ...a });
13
+ return /* @__PURE__ */ r(s.Root, { className: i(n.tabs, t), ...a });
14
14
  }
15
- const v = o(i.list, {
15
+ const v = o(n.list, {
16
16
  variants: {
17
17
  variant: {
18
- default: i.variantDefault,
19
- line: i.variantLine
18
+ default: n.variantDefault,
19
+ line: n.variantLine
20
20
  }
21
21
  },
22
22
  defaultVariants: {
23
23
  variant: "default"
24
24
  }
25
25
  });
26
- function p({ className: t, variant: a, ...r }) {
27
- return /* @__PURE__ */ n(s.List, { className: v({ variant: a, className: t }), ...r });
26
+ function h({ className: t, variant: a, ...e }) {
27
+ return /* @__PURE__ */ r(s.List, { className: v({ variant: a, className: t }), ...e });
28
28
  }
29
- function D({ className: t, ...a }) {
30
- return /* @__PURE__ */ n(s.Tab, { className: e(i.trigger, t), ...a });
29
+ function k({ className: t, ...a }) {
30
+ return /* @__PURE__ */ r(s.Tab, { className: i(n.trigger, t), ...a });
31
31
  }
32
- function N({ className: t, ...a }) {
33
- return /* @__PURE__ */ n(s.Panel, { className: e(i.content, t), ...a });
32
+ function p({ className: t, ...a }) {
33
+ return /* @__PURE__ */ r(s.Panel, { className: i(n.content, t), ...a });
34
34
  }
35
35
  export {
36
36
  L as Tabs,
37
- N as TabsContent,
38
- p as TabsList,
39
- D as TabsTrigger
37
+ p as TabsContent,
38
+ h as TabsList,
39
+ k as TabsTrigger
40
40
  };
41
41
  //# sourceMappingURL=tabs.js.map
package/dist/textarea.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { Field as a } from "@base-ui/react/field";
3
3
  import { cx as o } from "class-variance-authority";
4
- import './chunks/textarea.BKWvs6fD.css';const x = "_textarea_1gu2n_6", n = {
4
+ import './chunks/textarea.N3iiWUuz.css';const x = "_textarea_kwfxl_6", m = {
5
5
  textarea: x
6
6
  };
7
- function i({ className: e, ...r }) {
8
- return /* @__PURE__ */ t(a.Control, { render: /* @__PURE__ */ t("textarea", { className: o(n.textarea, e), ...r }) });
7
+ function f({ className: e, ...r }) {
8
+ return /* @__PURE__ */ t(a.Control, { render: /* @__PURE__ */ t("textarea", { className: o(m.textarea, e), ...r }) });
9
9
  }
10
10
  export {
11
- i as Textarea
11
+ f as Textarea
12
12
  };
13
13
  //# sourceMappingURL=textarea.js.map
package/dist/theme.css CHANGED
@@ -119,6 +119,9 @@
119
119
  --control-height-sm: 2rem;
120
120
  --control-height-md: 2.25rem;
121
121
  --control-height-lg: 2.5rem;
122
+ /* Badge's icon/dot slot only — no drawn specimen at any other size uses
123
+ * 12px; every other icon consumer sits on sm/md/lg above. */
124
+ --icon-size-xs: 0.75rem;
122
125
  --icon-size-sm: 1rem;
123
126
  --icon-size-md: 1.25rem;
124
127
  --icon-size-lg: 1.5rem;
@@ -126,14 +129,16 @@
126
129
  --border-width-focus: 2px;
127
130
  /*
128
131
  * The thickness a --border-width-focus ring adds INSIDE a --border-width
129
- * border. Every 2px ring in the kit — focus, aria-invalid, and Table's
130
- * selected row — is drawn as a recolored 1px border plus an inset shadow
131
- * of this width rather than as a real border-width switch, so the ring
132
+ * border. Every 2px ring drawn this way — a recolored 1px border plus an
133
+ * inset shadow of this width, rather than a real border-width switch —
132
134
  * thickens without the element's box changing: a genuine width switch
133
135
  * grows it 1px on each edge, which shifts a control's text and, in a
134
- * table, every row below the selected one. Named here rather than spelled
135
- * out per module because it is one decision shared by eight components,
136
- * not eight coincidences.
136
+ * table, every row below the selected one. Named here rather than
137
+ * spelled out per module because it is one decision shared by the seven
138
+ * components that draw it this way (Tabs, Input, Toast, Table's selected
139
+ * row, Textarea, Badge, Select), not seven coincidences. Button is the
140
+ * deliberate exception: its focus ring is drawn OUTSIDE the button as an
141
+ * `outline` (see button.module.css), so it never consumes --ring-inset.
137
142
  */
138
143
  --ring-inset: calc(var(--border-width-focus) - var(--border-width));
139
144
 
@@ -218,6 +223,16 @@
218
223
  * The dark value is Figma's own. */
219
224
  --primary-hover: #7c4fde;
220
225
  --primary-foreground: #ffffff;
226
+ /* Button default variant's focus-ring tone, measured against
227
+ * --background: 6.79:1 light / 7.23:1 dark (the dark values below carry
228
+ * no comment of their own — per this file's convention, a token's
229
+ * comment lives in the light block only). Literal hexes, not var()
230
+ * aliases, because the contrast tests parse hex directly (see
231
+ * src/__test-utils__/contrast.ts). A dedicated token, not --primary
232
+ * itself: the ring is drawn OUTSIDE the button (see button.module.css),
233
+ * so it only ever borders the page, and a violet a shade darker than
234
+ * --primary reads more clearly there than --primary's own value would. */
235
+ --primary-ring: #6d28d9;
221
236
  --secondary: #f1f5f9;
222
237
  --secondary-foreground: #0f172a;
223
238
  /* derived (dark only): light muted equals light secondary in the
@@ -246,6 +261,12 @@
246
261
  * on both modes' reds (4.7:1 light, 4.6:1 dark). */
247
262
  --destructive: #e11d48;
248
263
  --destructive-foreground: #ffffff;
264
+ /* Button destructive variant's focus-ring tone, measured against
265
+ * --background: 6.01:1 light / 7.89:1 dark. Literal hexes, not var()
266
+ * aliases, for the same reason as --primary-ring above: the contrast
267
+ * tests parse hex directly (see src/__test-utils__/contrast.ts). The
268
+ * ring is drawn outside the button, so it only ever borders the page. */
269
+ --destructive-ring: #be123c;
249
270
 
250
271
  /*
251
272
  * Link text token — Button's `link` variant, which has no drawn
@@ -344,6 +365,7 @@
344
365
  --primary: #7c4fde;
345
366
  --primary-hover: #8257e6;
346
367
  --primary-foreground: #ffffff;
368
+ --primary-ring: #a78bfa;
347
369
  --secondary: #1e293b;
348
370
  --secondary-foreground: #f8fafc;
349
371
  --muted: #1e293b;
@@ -353,6 +375,7 @@
353
375
  --accent-foreground: #ede9fe;
354
376
  --destructive: #d63853;
355
377
  --destructive-foreground: #ffffff;
378
+ --destructive-ring: #f87f8f;
356
379
  --link-foreground: #a78bfa;
357
380
  --success: #34d399;
358
381
  --success-soft: #0d2921;
@@ -393,6 +416,7 @@
393
416
  --primary: #7c4fde;
394
417
  --primary-hover: #8257e6;
395
418
  --primary-foreground: #ffffff;
419
+ --primary-ring: #a78bfa;
396
420
  --secondary: #1e293b;
397
421
  --secondary-foreground: #f8fafc;
398
422
  --muted: #1e293b;
@@ -402,6 +426,7 @@
402
426
  --accent-foreground: #ede9fe;
403
427
  --destructive: #d63853;
404
428
  --destructive-foreground: #ffffff;
429
+ --destructive-ring: #f87f8f;
405
430
  --link-foreground: #a78bfa;
406
431
  --success: #34d399;
407
432
  --success-soft: #0d2921;
package/dist/toast.js CHANGED
@@ -1,8 +1,8 @@
1
- import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
- import { Toast as e } from "@base-ui/react/toast";
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import { Toast as n } from "@base-ui/react/toast";
3
3
  import { cx as i } from "class-variance-authority";
4
4
  import { Button as a } from "./button.js";
5
- import './chunks/toast.DMl31Mq4.css';const h = "_viewport_12x05_12", p = "_toast_12x05_10", _ = "_content_12x05_76", v = "_icon_12x05_253", m = "_iconDestructive_12x05_260", k = "_iconSpin_12x05_264", f = "_body_12x05_289", x = "_title_12x05_301", g = "_description_12x05_308", N = "_action_12x05_316", L = "_close_12x05_323", M = "_svgIcon_12x05_346", n = {
5
+ import './chunks/toast.DMUpK07T.css';const h = "_viewport_1leeo_12", p = "_toast_1leeo_10", _ = "_content_1leeo_76", v = "_icon_1leeo_255", m = "_iconDestructive_1leeo_262", k = "_iconSpin_1leeo_266", f = "_body_1leeo_291", g = "_title_1leeo_303", N = "_description_1leeo_310", L = "_action_1leeo_318", M = "_close_1leeo_325", T = "_svgIcon_1leeo_348", t = {
6
6
  viewport: h,
7
7
  toast: p,
8
8
  content: _,
@@ -10,17 +10,17 @@ import './chunks/toast.DMl31Mq4.css';const h = "_viewport_12x05_12", p = "_toast
10
10
  iconDestructive: m,
11
11
  iconSpin: k,
12
12
  body: f,
13
- title: x,
14
- description: g,
15
- action: N,
16
- close: L,
17
- svgIcon: M
13
+ title: g,
14
+ description: N,
15
+ action: L,
16
+ close: M,
17
+ svgIcon: T
18
18
  };
19
- function T({ className: t }) {
19
+ function w({ className: o }) {
20
20
  return /* @__PURE__ */ r(
21
21
  "svg",
22
22
  {
23
- className: i(n.icon, t),
23
+ className: i(t.icon, o),
24
24
  viewBox: "0 0 24 24",
25
25
  fill: "none",
26
26
  stroke: "currentColor",
@@ -29,17 +29,17 @@ function T({ className: t }) {
29
29
  strokeLinejoin: "round",
30
30
  "aria-hidden": "true",
31
31
  children: [
32
- /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
33
- /* @__PURE__ */ o("path", { d: "m9 12 2 2 4-4" })
32
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
33
+ /* @__PURE__ */ e("path", { d: "m9 12 2 2 4-4" })
34
34
  ]
35
35
  }
36
36
  );
37
37
  }
38
- function w({ className: t }) {
38
+ function C({ className: o }) {
39
39
  return /* @__PURE__ */ r(
40
40
  "svg",
41
41
  {
42
- className: i(n.icon, t),
42
+ className: i(t.icon, o),
43
43
  viewBox: "0 0 24 24",
44
44
  fill: "none",
45
45
  stroke: "currentColor",
@@ -48,18 +48,18 @@ function w({ className: t }) {
48
48
  strokeLinejoin: "round",
49
49
  "aria-hidden": "true",
50
50
  children: [
51
- /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
52
- /* @__PURE__ */ o("path", { d: "M12 16v-4" }),
53
- /* @__PURE__ */ o("path", { d: "M12 8h.01" })
51
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
52
+ /* @__PURE__ */ e("path", { d: "M12 16v-4" }),
53
+ /* @__PURE__ */ e("path", { d: "M12 8h.01" })
54
54
  ]
55
55
  }
56
56
  );
57
57
  }
58
- function C({ className: t }) {
58
+ function x({ className: o }) {
59
59
  return /* @__PURE__ */ r(
60
60
  "svg",
61
61
  {
62
- className: i(n.icon, t),
62
+ className: i(t.icon, o),
63
63
  viewBox: "0 0 24 24",
64
64
  fill: "none",
65
65
  stroke: "currentColor",
@@ -68,18 +68,18 @@ function C({ className: t }) {
68
68
  strokeLinejoin: "round",
69
69
  "aria-hidden": "true",
70
70
  children: [
71
- /* @__PURE__ */ o("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }),
72
- /* @__PURE__ */ o("path", { d: "M12 9v4" }),
73
- /* @__PURE__ */ o("path", { d: "M12 17h.01" })
71
+ /* @__PURE__ */ e("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }),
72
+ /* @__PURE__ */ e("path", { d: "M12 9v4" }),
73
+ /* @__PURE__ */ e("path", { d: "M12 17h.01" })
74
74
  ]
75
75
  }
76
76
  );
77
77
  }
78
- function I({ className: t }) {
78
+ function I({ className: o }) {
79
79
  return /* @__PURE__ */ r(
80
80
  "svg",
81
81
  {
82
- className: i(n.icon, t),
82
+ className: i(t.icon, o),
83
83
  viewBox: "0 0 24 24",
84
84
  fill: "none",
85
85
  stroke: "currentColor",
@@ -88,18 +88,18 @@ function I({ className: t }) {
88
88
  strokeLinejoin: "round",
89
89
  "aria-hidden": "true",
90
90
  children: [
91
- /* @__PURE__ */ o("path", { d: "m15 9-6 6" }),
92
- /* @__PURE__ */ o("path", { d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" }),
93
- /* @__PURE__ */ o("path", { d: "m9 9 6 6" })
91
+ /* @__PURE__ */ e("path", { d: "m15 9-6 6" }),
92
+ /* @__PURE__ */ e("path", { d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" }),
93
+ /* @__PURE__ */ e("path", { d: "m9 9 6 6" })
94
94
  ]
95
95
  }
96
96
  );
97
97
  }
98
- function y({ className: t }) {
99
- return /* @__PURE__ */ o(
98
+ function y({ className: o }) {
99
+ return /* @__PURE__ */ e(
100
100
  "svg",
101
101
  {
102
- className: i(n.icon, t),
102
+ className: i(t.icon, o),
103
103
  viewBox: "0 0 24 24",
104
104
  fill: "none",
105
105
  stroke: "currentColor",
@@ -107,15 +107,15 @@ function y({ className: t }) {
107
107
  strokeLinecap: "round",
108
108
  strokeLinejoin: "round",
109
109
  "aria-hidden": "true",
110
- children: /* @__PURE__ */ o("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
110
+ children: /* @__PURE__ */ e("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
111
111
  }
112
112
  );
113
113
  }
114
- function j({ className: t }) {
115
- return /* @__PURE__ */ o(
114
+ function j({ className: o }) {
115
+ return /* @__PURE__ */ e(
116
116
  "svg",
117
117
  {
118
- className: i(n.svgIcon, t),
118
+ className: i(t.svgIcon, o),
119
119
  viewBox: "0 0 24 24",
120
120
  fill: "none",
121
121
  stroke: "currentColor",
@@ -123,54 +123,54 @@ function j({ className: t }) {
123
123
  strokeLinecap: "round",
124
124
  strokeLinejoin: "round",
125
125
  "aria-hidden": "true",
126
- children: /* @__PURE__ */ o("path", { d: "M18 6 6 18M6 6l12 12" })
126
+ children: /* @__PURE__ */ e("path", { d: "M18 6 6 18M6 6l12 12" })
127
127
  }
128
128
  );
129
129
  }
130
- function B({ type: t }) {
131
- switch (t) {
130
+ function B({ type: o }) {
131
+ switch (o) {
132
132
  case "success":
133
- return /* @__PURE__ */ o(T, {});
133
+ return /* @__PURE__ */ e(w, {});
134
134
  case "info":
135
- return /* @__PURE__ */ o(w, {});
135
+ return /* @__PURE__ */ e(C, {});
136
136
  case "warning":
137
- return /* @__PURE__ */ o(C, {});
137
+ return /* @__PURE__ */ e(x, {});
138
138
  case "error":
139
- return /* @__PURE__ */ o(I, { className: n.iconDestructive });
139
+ return /* @__PURE__ */ e(I, { className: t.iconDestructive });
140
140
  case "loading":
141
- return /* @__PURE__ */ o(y, { className: n.iconSpin });
141
+ return /* @__PURE__ */ e(y, { className: t.iconSpin });
142
142
  default:
143
143
  return null;
144
144
  }
145
145
  }
146
146
  function b({
147
- toast: t,
147
+ toast: o,
148
148
  closeLabel: s
149
149
  }) {
150
- return /* @__PURE__ */ o(e.Root, { toast: t, className: n.toast, children: /* @__PURE__ */ r(e.Content, { className: n.content, children: [
151
- /* @__PURE__ */ o(B, { type: t.type }),
152
- /* @__PURE__ */ r("div", { className: n.body, children: [
153
- /* @__PURE__ */ o(e.Title, { className: n.title }),
154
- /* @__PURE__ */ o(e.Description, { className: n.description })
150
+ return /* @__PURE__ */ e(n.Root, { toast: o, className: t.toast, children: /* @__PURE__ */ r(n.Content, { className: t.content, children: [
151
+ /* @__PURE__ */ e(B, { type: o.type }),
152
+ /* @__PURE__ */ r("div", { className: t.body, children: [
153
+ /* @__PURE__ */ e(n.Title, { className: t.title }),
154
+ /* @__PURE__ */ e(n.Description, { className: t.description })
155
155
  ] }),
156
- /* @__PURE__ */ o(e.Action, { className: n.action, render: /* @__PURE__ */ o(a, { variant: "outline", size: "sm" }) }),
157
- /* @__PURE__ */ o(
158
- e.Close,
156
+ /* @__PURE__ */ e(n.Action, { className: t.action, render: /* @__PURE__ */ e(a, { variant: "outline", size: "sm" }) }),
157
+ /* @__PURE__ */ e(
158
+ n.Close,
159
159
  {
160
160
  "aria-label": s,
161
- className: n.close,
162
- render: /* @__PURE__ */ o(a, { variant: "ghost", icon: /* @__PURE__ */ o(j, {}) })
161
+ className: t.close,
162
+ render: /* @__PURE__ */ e(a, { variant: "ghost", icon: /* @__PURE__ */ e(j, {}) })
163
163
  }
164
164
  )
165
165
  ] }) });
166
166
  }
167
- function A({ closeLabel: t }) {
168
- const { toasts: s } = e.useToastManager();
169
- return s.map((c) => /* @__PURE__ */ o(b, { toast: c, closeLabel: t }, c.id));
167
+ function A({ closeLabel: o }) {
168
+ const { toasts: s } = n.useToastManager();
169
+ return s.map((c) => /* @__PURE__ */ e(b, { toast: c, closeLabel: o }, c.id));
170
170
  }
171
- const W = e.createToastManager(), V = e.useToastManager, H = e.createToastManager;
171
+ const W = n.createToastManager(), V = n.useToastManager, H = n.createToastManager;
172
172
  function O({
173
- container: t,
173
+ container: o,
174
174
  children: s,
175
175
  closeLabel: c = "Close toast",
176
176
  // Defaulted here rather than left to Base UI's own 'Notifications', so an
@@ -179,9 +179,9 @@ function O({
179
179
  toastManager: d = W,
180
180
  ...u
181
181
  }) {
182
- return /* @__PURE__ */ r(e.Provider, { toastManager: d, ...u, children: [
182
+ return /* @__PURE__ */ r(n.Provider, { toastManager: d, ...u, children: [
183
183
  s,
184
- /* @__PURE__ */ o(e.Portal, { container: t, children: /* @__PURE__ */ o(e.Viewport, { "aria-label": l, className: n.viewport, children: /* @__PURE__ */ o(A, { closeLabel: c }) }) })
184
+ /* @__PURE__ */ e(n.Portal, { container: o, children: /* @__PURE__ */ e(n.Viewport, { "aria-label": l, className: t.viewport, children: /* @__PURE__ */ e(A, { closeLabel: c }) }) })
185
185
  ] });
186
186
  }
187
187
  export {
package/llms.txt CHANGED
@@ -55,19 +55,23 @@ Rules for generated code:
55
55
 
56
56
  ## Components
57
57
 
58
- - [Badge](dist/docs/badge.md): status label, a colored dot + matching
59
- caption; variants success|warning|info|danger|muted (semantic states ONLY
60
- — pick by meaning, never by color; neutral/count/category = muted), shapes
61
- pill|dot (pill adds a soft fill; dot is the bare pair for dense/inline
62
- spots); no Base UI primitive; `render` (e.g. `<a>`) makes it a clickable
63
- tag — hover feedback only appears once it is.
58
+ - [Badge](dist/docs/badge.md): status label, an intent-colored caption with
59
+ an opt-in status dot (`dot`) or a leading `icon` slot prop (icon wins
60
+ when both are given; default is neither); variants
61
+ success|warning|info|danger|muted (semantic states ONLY — pick by meaning,
62
+ never by color; neutral/count/category = muted), shapes pill|plain (pill
63
+ adds a soft fill; plain is the bare label for dense/inline spots); no
64
+ Base UI primitive; `render` (e.g. `<a>`) makes it a clickable tag — hover
65
+ feedback only appears once it is.
64
66
  - [Button](dist/docs/button.md): action button; variants
65
- default|destructive|outline|secondary|ghost|link, sizes default|sm|lg;
66
- icons go in the `icon` slot prop, NEVER in children — `icon` with no
67
- children makes a square icon-only button (always pass `aria-label`
68
- then); `loading` spins, disables, and keeps the width and accessible
69
- name; render prop for button-semantic actions over a real anchor (not
70
- a link substitute).
67
+ default|destructive|outline|secondary|ghost|link, sizes default|sm|lg; a
68
+ consumer className can recolor a button in every state via
69
+ `--button-bg`/`--button-fg`/`--button-bg-hover`/`--button-fg-hover`/
70
+ `--button-border` — no new variant needed; icons go in the `icon` slot
71
+ prop, NEVER in children — `icon` with no children makes a square
72
+ icon-only button (always pass `aria-label` then); `loading` spins,
73
+ disables, and keeps the width and accessible name; render prop for
74
+ button-semantic actions over a real anchor (not a link substitute).
71
75
  - [Card](dist/docs/card.md): bounded content surface (Card/CardHeader/
72
76
  CardTitle/CardDescription/CardAction/CardContent/CardFooter); header
73
77
  becomes a two-column/two-row grid automatically when it contains a
@@ -91,9 +95,12 @@ Rules for generated code:
91
95
  aria-describedby, and validation display automatically — the default
92
96
  way to build forms.
93
97
  - [Input](dist/docs/input.md): single-line text field; `onValueChange`
94
- for the string value, `aria-invalid` for the error state;
95
- `type="search"` renders the leading magnifier and announces as a
96
- searchbox — no extra prop; wires into Field automatically.
98
+ for the string value, `aria-invalid` for the error state; `icon` for a
99
+ leading decorative icon, `end` for trailing interactive content (e.g. a
100
+ clear button; rendered after the input, so tab order is field → slot) —
101
+ neither renders automatically; `type="search"` gives the searchbox role
102
+ but no icon by itself — pass one via `icon`; wires into Field
103
+ automatically.
97
104
  - [Label](dist/docs/label.md): caption for a form control; native
98
105
  `<label>` props; associate via `htmlFor` or by nesting the control.
99
106
  - [RadioGroup](dist/docs/radio-group.md): mutually exclusive options
@@ -102,8 +109,10 @@ Rules for generated code:
102
109
  - [Select](dist/docs/select.md): dropdown picking one value from a
103
110
  list (Select/SelectTrigger/SelectValue/SelectContent/SelectGroup/
104
111
  SelectItem); trigger sizes default|sm, trigger variants default|filter
105
- (filter = compact toolbar filter chip, label stays muted); keyboard
106
- and typeahead built in.
112
+ (filter = compact toolbar filter chip, label stays muted); the popup
113
+ always opens below the trigger (never overlays it), scrolling a selected
114
+ item into view when it sits beyond the fold; keyboard and typeahead
115
+ built in.
107
116
  - [Separator](dist/docs/separator.md): thin visual divider between content
108
117
  sections; orientation horizontal|vertical (default horizontal); no
109
118
  `decorative` prop — pass `aria-hidden="true"` for a purely visual
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gears-frontx/ui-kit",
3
- "version": "0.3.0-alpha.1",
3
+ "version": "0.3.0-alpha.2",
4
4
  "description": "Standard React component base for FrontX templates - Base UI behavior, CSS Modules styling on semantic tokens, CVA variants",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -1 +0,0 @@
1
- ._badge_1qq28_8{--badge-accent: var(--muted-foreground);--badge-text: color-mix(in oklab, var(--muted-foreground) 80%, var(--foreground) 20%);box-sizing:border-box;display:inline-flex;height:1.5rem;width:fit-content;flex-shrink:0;align-items:center;justify-content:center;gap:var(--space-2);overflow:hidden;border:var(--border-width) solid transparent;border-radius:9999px;font-family:inherit;font-size:var(--text-meta-size);line-height:var(--text-meta-line-height);font-weight:var(--text-meta-weight);letter-spacing:var(--text-meta-tracking);white-space:nowrap;color:var(--badge-text);transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}._badge_1qq28_8:before{content:"";flex-shrink:0;width:.375rem;height:.375rem;border-radius:50%;background-color:var(--badge-accent)}._badge_1qq28_8:focus-visible{outline:none;border-color:var(--ring);box-shadow:inset 0 0 0 var(--ring-inset) var(--ring)}@media(forced-colors:active){._badge_1qq28_8:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._badge_1qq28_8[aria-invalid=true]{border-color:var(--destructive);box-shadow:inset 0 0 0 var(--ring-inset) var(--destructive)}._badge_1qq28_8>svg{pointer-events:none;width:.75rem;height:.75rem}._badge_1qq28_8._variantSuccess_1qq28_120{--badge-accent: var(--success);--badge-text: color-mix(in oklab, var(--success) 80%, var(--foreground) 20%)}._badge_1qq28_8._variantWarning_1qq28_125{--badge-accent: var(--warning);--badge-text: color-mix(in oklab, var(--warning) 70%, var(--foreground) 30%)}._badge_1qq28_8._variantInfo_1qq28_130{--badge-accent: var(--info);--badge-text: color-mix(in oklab, var(--info) 80%, var(--foreground) 20%)}._badge_1qq28_8._variantDanger_1qq28_135{--badge-accent: var(--danger);--badge-text: color-mix(in oklab, var(--danger) 80%, var(--foreground) 20%)}._badge_1qq28_8._shapePill_1qq28_156{background-color:color-mix(in oklab,var(--foreground) 5%,transparent);padding:0 var(--space-2)}._badge_1qq28_8._shapeDot_1qq28_161{background-color:transparent;padding:0}a._badge_1qq28_8._shapePill_1qq28_156:hover{background-color:color-mix(in oklab,var(--foreground) 9%,transparent)}a._badge_1qq28_8._shapeDot_1qq28_161:hover{text-decoration:underline;text-underline-offset:4px}
@@ -1 +0,0 @@
1
- ._button_1ts3q_6{box-sizing:border-box;--button-focus-ring: var(--ring);--button-focus-ring-inner: var(--button-focus-ring);position:relative;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);white-space:nowrap;border:var(--border-width) solid transparent;border-radius:var(--radius-md);font-family:inherit;font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-label-weight);letter-spacing:var(--text-label-tracking);cursor:pointer;-webkit-user-select:none;user-select:none;text-decoration:none;transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}._button_1ts3q_6:focus-visible{outline:none;border-color:var(--button-focus-ring);box-shadow:inset 0 0 0 var(--ring-inset) var(--button-focus-ring-inner)}@media(forced-colors:active){._button_1ts3q_6:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._button_1ts3q_6:disabled{pointer-events:none;opacity:.42}._button_1ts3q_6[data-loading]{pointer-events:none;opacity:.42}._variantDefault_1ts3q_119{background-color:var(--primary);color:var(--primary-foreground)}._variantDefault_1ts3q_119:hover{background-color:var(--primary-hover)}._variantDestructive_1ts3q_134{background-color:var(--destructive);color:var(--destructive-foreground)}._variantDestructive_1ts3q_134:hover{background-color:color-mix(in oklab,var(--destructive) 90%,var(--foreground) 10%)}._variantOutline_1ts3q_159{border-color:var(--border-strong);background-color:var(--surface-elevated);color:var(--foreground)}._variantOutline_1ts3q_159:hover{background-color:var(--accent);color:var(--accent-foreground)}._variantSecondary_1ts3q_170{background-color:var(--secondary);color:var(--secondary-foreground)}._variantSecondary_1ts3q_170:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}._variantGhost_1ts3q_186{background-color:transparent;color:var(--muted-foreground)}._variantGhost_1ts3q_186:hover{background-color:var(--accent);color:var(--accent-foreground)}._variantLink_1ts3q_206{background-color:transparent;color:var(--link-foreground);text-underline-offset:4px}._variantLink_1ts3q_206:hover{text-decoration:underline}._variantDefault_1ts3q_119{--button-focus-ring: var(--info);--button-focus-ring-inner: var(--foreground)}._variantDestructive_1ts3q_134{--button-focus-ring: var(--primary-hover);--button-focus-ring-inner: var(--destructive-foreground)}._variantGhost_1ts3q_186,._variantLink_1ts3q_206,._variantSecondary_1ts3q_170{--button-focus-ring: var(--primary-hover)}._sizeDefault_1ts3q_256{height:var(--control-height-md);padding:0 var(--space-4)}._sizeSm_1ts3q_261{height:var(--control-height-sm);padding:0 var(--space-3);border-radius:var(--radius-sm)}._sizeLg_1ts3q_267{height:var(--control-height-lg);padding:0 var(--space-6)}._button_1ts3q_6[data-icon-only]{aspect-ratio:1;padding:0}._icon_1ts3q_285{display:inline-flex}._icon_1ts3q_285 svg{width:var(--icon-size-sm);height:var(--icon-size-sm)}._sizeLg_1ts3q_267 ._icon_1ts3q_285 svg{width:var(--icon-size-md);height:var(--icon-size-md)}._button_1ts3q_6[data-loading] ._icon_1ts3q_285,._button_1ts3q_6[data-loading] ._label_1ts3q_307{opacity:0}._spinner_1ts3q_38{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:var(--icon-size-sm);height:var(--icon-size-sm);border:2px solid color-mix(in oklab,currentColor 25%,transparent);border-top-color:currentColor;border-radius:50%;animation:_button-spin_1ts3q_1 .8s linear infinite}@keyframes _button-spin_1ts3q_1{to{rotate:360deg}}@media(prefers-reduced-motion:reduce){._spinner_1ts3q_38{animation-duration:2.4s}}
@@ -1 +0,0 @@
1
- ._checkbox_1jxc8_6{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;border:var(--border-width) solid var(--input);border-radius:var(--radius-sm);background-color:var(--surface-elevated);outline:none;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}._checkbox_1jxc8_6:after{content:"";position:absolute;inset:calc(-1 * var(--space-2)) calc(-1 * var(--space-3))}._checkbox_1jxc8_6[data-checked]{border-color:var(--primary);background-color:var(--primary);color:var(--primary-foreground)}._checkbox_1jxc8_6:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._checkbox_1jxc8_6:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._checkbox_1jxc8_6[data-disabled]{cursor:not-allowed;opacity:.42}._checkbox_1jxc8_6[aria-invalid=true]{border-color:var(--destructive)}._checkbox_1jxc8_6[aria-invalid=true][data-checked]{border-color:var(--primary)}._indicator_1jxc8_84{display:grid;place-content:center;color:currentcolor}._icon_1jxc8_90{width:.875rem;height:.875rem}._iconIndeterminate_1jxc8_97,._indicator_1jxc8_84[data-indeterminate] ._iconCheck_1jxc8_101{display:none}._indicator_1jxc8_84[data-indeterminate] ._iconIndeterminate_1jxc8_97{display:block}
@@ -1 +0,0 @@
1
- ._input_1y6th_6{box-sizing:border-box;display:block;width:100%;min-width:0;height:var(--control-height-lg);padding:var(--space-1) var(--space-3);border:var(--border-width) solid var(--input);border-radius:var(--radius-md);background-color:var(--surface-elevated);color:var(--foreground);font-family:inherit;font-size:1rem;line-height:1.5rem;outline:none;transition:color .15s ease,border-color .15s ease,box-shadow .15s ease}@media(min-width:768px){._input_1y6th_6{font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-body-weight);letter-spacing:var(--text-label-tracking)}}._input_1y6th_6::placeholder{color:var(--muted-foreground)}._input_1y6th_6::file-selector-button{display:inline-flex;height:1.75rem;border:0;background-color:transparent;color:var(--foreground);font-family:inherit;font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-label-weight);letter-spacing:var(--text-label-tracking)}._input_1y6th_6:focus-visible{border-color:var(--ring);box-shadow:inset 0 0 0 var(--ring-inset) var(--ring)}@media(forced-colors:active){._input_1y6th_6:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._input_1y6th_6:disabled{cursor:not-allowed;opacity:.42}._input_1y6th_6[aria-invalid=true]{border-color:var(--destructive);box-shadow:inset 0 0 0 var(--ring-inset) var(--destructive)}._searchWrap_1y6th_120{position:relative;display:block;width:100%}._searchIcon_1y6th_126{position:absolute;inset-inline-start:var(--space-3);top:50%;translate:0 -50%;width:var(--icon-size-sm);height:var(--icon-size-sm);color:var(--muted-foreground);pointer-events:none}._searchInput_1y6th_137{padding-inline-start:calc(var(--space-3) + var(--icon-size-sm) + var(--space-2))}
@@ -1 +0,0 @@
1
- ._group_4704v_6{display:grid;width:100%;gap:var(--space-3)}._item_4704v_12{box-sizing:border-box;position:relative;display:flex;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;border:var(--border-width) solid var(--input);border-radius:9999px;background-color:var(--surface-elevated);outline:none;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}._item_4704v_12:after{content:"";position:absolute;inset:calc(-1 * var(--space-2)) calc(-1 * var(--space-3))}._item_4704v_12[data-checked]{border-width:var(--border-width-focus);border-color:var(--primary)}._item_4704v_12:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._item_4704v_12:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._item_4704v_12[data-disabled]{cursor:not-allowed;opacity:.42}._item_4704v_12[aria-invalid=true]{border-color:var(--destructive)}._item_4704v_12[aria-invalid=true][data-checked]{border-color:var(--primary)}._indicator_4704v_90{display:flex;width:1rem;height:1rem;align-items:center;justify-content:center}._dot_4704v_98{position:absolute;top:50%;left:50%;width:.5rem;height:.5rem;transform:translate(-50%,-50%);border-radius:9999px;background-color:var(--primary)}
@@ -1 +0,0 @@
1
- ._trigger_982bm_6{box-sizing:border-box;display:flex;width:fit-content;align-items:center;justify-content:space-between;gap:var(--space-2);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-3);border:var(--border-width) solid var(--input);border-radius:var(--radius-md);background-color:var(--surface-elevated);color:var(--foreground);font-family:inherit;font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-body-weight);letter-spacing:var(--text-label-tracking);white-space:nowrap;outline:none;transition:color .15s ease,border-color .15s ease,box-shadow .15s ease}._trigger_982bm_6[data-placeholder]{color:var(--muted-foreground)}._trigger_982bm_6:focus-visible{border-color:var(--ring);box-shadow:inset 0 0 0 var(--ring-inset) var(--ring)}@media(forced-colors:active){._trigger_982bm_6:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._trigger_982bm_6:disabled{cursor:not-allowed;opacity:.42}._trigger_982bm_6[aria-invalid=true]{border-color:var(--destructive);box-shadow:inset 0 0 0 var(--ring-inset) var(--destructive)}._sizeDefault_982bm_9{height:var(--control-height-lg)}._sizeSm_982bm_9{height:var(--control-height-sm)}._variantFilter_982bm_109{height:var(--control-height-md);color:var(--muted-foreground)}._triggerIcon_982bm_114{pointer-events:none;flex-shrink:0;color:var(--muted-foreground)}._value_982bm_120{display:flex;flex:1;align-items:center;gap:var(--space-2);overflow:hidden;text-align:start;text-overflow:ellipsis}._positioner_982bm_130{isolation:isolate;z-index:50}._popup_982bm_135{box-sizing:border-box;position:relative;isolation:isolate;z-index:50;max-height:var(--available-height);width:var(--anchor-width);min-width:9rem;overflow-x:hidden;overflow-y:auto;border-radius:var(--radius-md);border:var(--border-width) solid var(--popover-border);background-color:var(--popover);color:var(--popover-foreground);box-shadow:var(--popover-shadow);transform-origin:var(--transform-origin);transition:opacity .1s ease,transform .1s ease}@media(prefers-reduced-motion:reduce){._popup_982bm_135{transition:opacity .1s ease}}._popup_982bm_135[data-starting-style],._popup_982bm_135[data-ending-style]{opacity:0;transform:scale(.95)}._popup_982bm_135[data-align-trigger=true]{transition:none}._group_982bm_193{padding:var(--space-1);scroll-margin:var(--space-1) 0}._groupLabel_982bm_198{padding:var(--space-1) var(--space-2);color:var(--muted-foreground);font-size:var(--text-meta-size);line-height:var(--text-meta-line-height)}._item_982bm_205{box-sizing:border-box;position:relative;display:flex;width:100%;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-8) var(--space-2) var(--space-2);border-radius:var(--radius-sm);cursor:default;-webkit-user-select:none;user-select:none;font-size:var(--text-meta-size);line-height:var(--text-meta-line-height);outline:none}._item_982bm_205:focus,._item_982bm_205[data-highlighted]{background-color:var(--accent);color:var(--accent-foreground)}._item_982bm_205[data-disabled]{pointer-events:none;opacity:.42}._itemText_982bm_248{display:flex;flex:1;flex-shrink:0;gap:var(--space-2);white-space:nowrap}._itemIndicator_982bm_211{pointer-events:none;position:absolute;inset-inline-end:var(--space-2);display:flex;width:var(--icon-size-sm);height:var(--icon-size-sm);align-items:center;justify-content:center}._separator_982bm_267{pointer-events:none;margin:var(--space-1) calc(-1 * var(--space-1));height:var(--border-width);background-color:var(--border)}._scrollArrow_982bm_274{z-index:10;display:flex;width:100%;align-items:center;justify-content:center;padding:var(--space-1) 0;cursor:default;background-color:var(--popover)}._scrollArrowUp_982bm_285{top:0}._scrollArrowDown_982bm_289{bottom:0}._svgIcon_982bm_293{width:var(--icon-size-sm);height:var(--icon-size-sm);flex-shrink:0;pointer-events:none}