@adamosuiteservices/ui 2.9.15 → 2.10.0

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 (125) hide show
  1. package/dist/accordion-rounded.cjs +12 -17
  2. package/dist/accordion-rounded.js +37 -46
  3. package/dist/accordion.cjs +8 -7
  4. package/dist/accordion.js +19 -17
  5. package/dist/alert.cjs +7 -3
  6. package/dist/alert.js +14 -10
  7. package/dist/avatar.cjs +2 -0
  8. package/dist/avatar.js +42 -40
  9. package/dist/badge.cjs +9 -2
  10. package/dist/badge.js +19 -12
  11. package/dist/breadcrumb.cjs +7 -3
  12. package/dist/breadcrumb.js +30 -24
  13. package/dist/{button-B7ZP4LZN.js → button-CUNnLccZ.js} +11 -6
  14. package/dist/{button-D-qFRXiM.cjs → button-CxGyLoeN.cjs} +7 -2
  15. package/dist/button-group.cjs +2 -0
  16. package/dist/button-group.js +15 -13
  17. package/dist/button.cjs +1 -1
  18. package/dist/button.js +1 -1
  19. package/dist/calendar.cjs +8 -6
  20. package/dist/calendar.js +507 -492
  21. package/dist/card.cjs +9 -4
  22. package/dist/card.js +8 -3
  23. package/dist/checkbox-CFGlO5wt.cjs +22 -0
  24. package/dist/{checkbox-DhBcmKze.js → checkbox-DsN1IQGA.js} +70 -68
  25. package/dist/checkbox.cjs +1 -1
  26. package/dist/checkbox.js +1 -1
  27. package/dist/combobox.cjs +10 -13
  28. package/dist/combobox.js +90 -99
  29. package/dist/components/ui/icon/icon.d.ts +1 -3
  30. package/dist/components/ui/icon/icon.stories.d.ts +0 -5
  31. package/dist/components/ui/spinner/spinner.d.ts +1 -1
  32. package/dist/components/ui/tooltip/tooltip.stories.d.ts +0 -1
  33. package/dist/context-menu.cjs +10 -8
  34. package/dist/context-menu.js +126 -120
  35. package/dist/custom-layered-styles.css +1 -1
  36. package/dist/dialog.cjs +10 -7
  37. package/dist/dialog.js +43 -40
  38. package/dist/dropdown-menu.cjs +25 -10
  39. package/dist/dropdown-menu.js +179 -166
  40. package/dist/icon-D0vVkV-A.js +35 -0
  41. package/dist/icon-SWksUOv5.cjs +6 -0
  42. package/dist/icon.cjs +1 -1
  43. package/dist/icon.js +1 -1
  44. package/dist/icons.css +1 -1
  45. package/dist/input-group.cjs +14 -6
  46. package/dist/input-group.js +25 -17
  47. package/dist/kbd.cjs +3 -3
  48. package/dist/kbd.js +1 -0
  49. package/dist/pagination.cjs +4 -4
  50. package/dist/pagination.js +41 -43
  51. package/dist/radio-group.cjs +5 -5
  52. package/dist/radio-group.js +44 -42
  53. package/dist/radius.css +1 -1
  54. package/dist/select.cjs +12 -13
  55. package/dist/select.js +182 -187
  56. package/dist/{sheet-Q3dBOQG-.js → sheet-DM7b3ckK.js} +18 -18
  57. package/dist/{sheet-CGahUP7F.cjs → sheet-DfRu4ByS.cjs} +4 -4
  58. package/dist/sheet.cjs +1 -1
  59. package/dist/sheet.js +1 -1
  60. package/dist/sidebar.cjs +6 -11
  61. package/dist/sidebar.js +38 -49
  62. package/dist/spinner.cjs +1 -6
  63. package/dist/spinner.js +10 -16
  64. package/dist/styles.css +1 -1
  65. package/dist/tabs-underline.cjs +6 -3
  66. package/dist/tabs-underline.js +8 -5
  67. package/dist/tabs.cjs +6 -3
  68. package/dist/tabs.js +8 -5
  69. package/dist/toggle.cjs +5 -2
  70. package/dist/toggle.js +14 -11
  71. package/docs/components/layout/sidebar.md +18 -23
  72. package/docs/components/ui/accordion-rounded.md +584 -583
  73. package/docs/components/ui/accordion.md +3 -1
  74. package/docs/components/ui/alert.md +650 -671
  75. package/docs/components/ui/avatar.md +587 -588
  76. package/docs/components/ui/badge.md +1019 -1024
  77. package/docs/components/ui/breadcrumb.md +14 -14
  78. package/docs/components/ui/button-group.md +69 -87
  79. package/docs/components/ui/button.md +17 -17
  80. package/docs/components/ui/calendar.md +6 -6
  81. package/docs/components/ui/card.md +21 -27
  82. package/docs/components/ui/collapsible.md +16 -13
  83. package/docs/components/ui/combobox.md +14 -14
  84. package/docs/components/ui/command.md +6 -6
  85. package/docs/components/ui/context-menu.md +23 -23
  86. package/docs/components/ui/dialog.md +16 -16
  87. package/docs/components/ui/dropdown-menu.md +44 -66
  88. package/docs/components/ui/hover-card.md +5 -5
  89. package/docs/components/ui/icon.md +87 -88
  90. package/docs/components/ui/input-group.md +523 -509
  91. package/docs/components/ui/kbd.md +8 -8
  92. package/docs/components/ui/label.md +5 -5
  93. package/docs/components/ui/pagination.md +5 -5
  94. package/docs/components/ui/popover.md +14 -14
  95. package/docs/components/ui/progress.md +2 -2
  96. package/docs/components/ui/radio-group.md +2 -2
  97. package/docs/components/ui/select.md +6 -6
  98. package/docs/components/ui/spinner.md +15 -15
  99. package/docs/components/ui/switch.md +15 -9
  100. package/docs/components/ui/tabs-underline.md +4 -4
  101. package/docs/components/ui/tabs.md +5 -5
  102. package/docs/components/ui/toggle.md +17 -23
  103. package/docs/components/ui/tooltip.md +7 -10
  104. package/package.json +1 -1
  105. package/dist/check-CLxNVljQ.cjs +0 -6
  106. package/dist/check-Ci0GjV-B.js +0 -11
  107. package/dist/checkbox-CdnZ8VFJ.cjs +0 -21
  108. package/dist/chevron-down-BqEHzml5.cjs +0 -6
  109. package/dist/chevron-down-CpVS2Z7w.js +0 -11
  110. package/dist/chevron-left-B8QsBNvc.cjs +0 -6
  111. package/dist/chevron-left-Eal-WYLp.js +0 -11
  112. package/dist/chevron-right-BpzggHsr.cjs +0 -6
  113. package/dist/chevron-right-Cnc2tB4-.js +0 -11
  114. package/dist/circle-CX7JIirj.cjs +0 -6
  115. package/dist/circle-DYv-7Qb9.js +0 -11
  116. package/dist/createLucideIcon-B_8CJpcQ.js +0 -94
  117. package/dist/createLucideIcon-CAtnV-yz.cjs +0 -21
  118. package/dist/ellipsis-CryjZKZn.js +0 -15
  119. package/dist/ellipsis-Ct9VTDOG.cjs +0 -6
  120. package/dist/icon-DTx6Y_mx.cjs +0 -6
  121. package/dist/icon-DmU_SEHC.js +0 -36
  122. package/dist/minus-C0pHPx21.cjs +0 -6
  123. package/dist/minus-DE-onYs2.js +0 -11
  124. package/dist/x-CBKgg4YL.cjs +0 -6
  125. package/dist/x-Dl66o_vF.js +0 -14
@@ -1,54 +1,52 @@
1
- import { j as n } from "./jsx-runtime-BzflLqGi.js";
1
+ import { j as t } from "./jsx-runtime-BzflLqGi.js";
2
2
  import * as m from "react";
3
3
  import { u as M, c as w } from "./index-C0UREtMP.js";
4
- import { c as K } from "./index-DLcqcWxM.js";
5
- import { c as U } from "./index-FxyLF8MY.js";
6
- import { P as B } from "./index-BMWt1NBG.js";
7
- import { c as h, R as F, P as H, A as W, C as X, G as q, L as J, I as Q, a as V, b as Y, h as Z, d as ee, S as oe, e as ae, g as ne, f as re, i as te } from "./index-DFPDUUq7.js";
8
- import { u as x } from "./index-Cv867SGx.js";
4
+ import { c as U } from "./index-DLcqcWxM.js";
5
+ import { c as B } from "./index-FxyLF8MY.js";
6
+ import { P as F } from "./index-BMWt1NBG.js";
7
+ import { c as b, R as H, P as W, A as X, C as q, G as J, L as Q, I as V, a as Y, b as Z, h as ee, d as oe, S as ae, e as te, g as ne, f as re, i as de } from "./index-DFPDUUq7.js";
8
+ import { u as h } from "./index-Cv867SGx.js";
9
+ import { I as v } from "./icon-D0vVkV-A.js";
9
10
  import { c as u } from "./index-CRiPKpXj.js";
10
- import { C as de } from "./check-Ci0GjV-B.js";
11
- import { C as se } from "./circle-DYv-7Qb9.js";
12
- import { C as me } from "./chevron-right-Cnc2tB4-.js";
13
- var g = "DropdownMenu", [ie] = U(
11
+ var g = "DropdownMenu", [se] = B(
14
12
  g,
15
- [h]
16
- ), i = h(), [pe, b] = ie(g), D = (e) => {
13
+ [b]
14
+ ), i = b(), [me, _] = se(g), D = (e) => {
17
15
  const {
18
16
  __scopeDropdownMenu: o,
19
17
  children: a,
20
- dir: r,
21
- open: t,
18
+ dir: n,
19
+ open: r,
22
20
  defaultOpen: s,
23
21
  onOpenChange: p,
24
22
  modal: d = !0
25
- } = e, c = i(o), v = m.useRef(null), [l, f] = M({
26
- prop: t,
23
+ } = e, c = i(o), x = m.useRef(null), [l, f] = M({
24
+ prop: r,
27
25
  defaultProp: s ?? !1,
28
26
  onChange: p,
29
27
  caller: g
30
28
  });
31
- return /* @__PURE__ */ n.jsx(
32
- pe,
29
+ return /* @__PURE__ */ t.jsx(
30
+ me,
33
31
  {
34
32
  scope: o,
35
- triggerId: x(),
36
- triggerRef: v,
37
- contentId: x(),
33
+ triggerId: h(),
34
+ triggerRef: x,
35
+ contentId: h(),
38
36
  open: l,
39
37
  onOpenChange: f,
40
- onOpenToggle: m.useCallback(() => f((L) => !L), [f]),
38
+ onOpenToggle: m.useCallback(() => f((K) => !K), [f]),
41
39
  modal: d,
42
- children: /* @__PURE__ */ n.jsx(F, { ...c, open: l, onOpenChange: f, dir: r, modal: d, children: a })
40
+ children: /* @__PURE__ */ t.jsx(H, { ...c, open: l, onOpenChange: f, dir: n, modal: d, children: a })
43
41
  }
44
42
  );
45
43
  };
46
44
  D.displayName = g;
47
- var _ = "DropdownMenuTrigger", R = m.forwardRef(
45
+ var R = "DropdownMenuTrigger", N = m.forwardRef(
48
46
  (e, o) => {
49
- const { __scopeDropdownMenu: a, disabled: r = !1, ...t } = e, s = b(_, a), p = i(a);
50
- return /* @__PURE__ */ n.jsx(W, { asChild: !0, ...p, children: /* @__PURE__ */ n.jsx(
51
- B.button,
47
+ const { __scopeDropdownMenu: a, disabled: n = !1, ...r } = e, s = _(R, a), p = i(a);
48
+ return /* @__PURE__ */ t.jsx(X, { asChild: !0, ...p, children: /* @__PURE__ */ t.jsx(
49
+ F.button,
52
50
  {
53
51
  type: "button",
54
52
  id: s.triggerId,
@@ -56,43 +54,43 @@ var _ = "DropdownMenuTrigger", R = m.forwardRef(
56
54
  "aria-expanded": s.open,
57
55
  "aria-controls": s.open ? s.contentId : void 0,
58
56
  "data-state": s.open ? "open" : "closed",
59
- "data-disabled": r ? "" : void 0,
60
- disabled: r,
61
- ...t,
62
- ref: K(o, s.triggerRef),
57
+ "data-disabled": n ? "" : void 0,
58
+ disabled: n,
59
+ ...r,
60
+ ref: U(o, s.triggerRef),
63
61
  onPointerDown: w(e.onPointerDown, (d) => {
64
- !r && d.button === 0 && d.ctrlKey === !1 && (s.onOpenToggle(), s.open || d.preventDefault());
62
+ !n && d.button === 0 && d.ctrlKey === !1 && (s.onOpenToggle(), s.open || d.preventDefault());
65
63
  }),
66
64
  onKeyDown: w(e.onKeyDown, (d) => {
67
- r || (["Enter", " "].includes(d.key) && s.onOpenToggle(), d.key === "ArrowDown" && s.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
65
+ n || (["Enter", " "].includes(d.key) && s.onOpenToggle(), d.key === "ArrowDown" && s.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
68
66
  })
69
67
  }
70
68
  ) });
71
69
  }
72
70
  );
73
- R.displayName = _;
74
- var ue = "DropdownMenuPortal", N = (e) => {
75
- const { __scopeDropdownMenu: o, ...a } = e, r = i(o);
76
- return /* @__PURE__ */ n.jsx(H, { ...r, ...a });
71
+ N.displayName = R;
72
+ var ie = "DropdownMenuPortal", I = (e) => {
73
+ const { __scopeDropdownMenu: o, ...a } = e, n = i(o);
74
+ return /* @__PURE__ */ t.jsx(W, { ...n, ...a });
77
75
  };
78
- N.displayName = ue;
79
- var C = "DropdownMenuContent", I = m.forwardRef(
76
+ I.displayName = ie;
77
+ var j = "DropdownMenuContent", S = m.forwardRef(
80
78
  (e, o) => {
81
- const { __scopeDropdownMenu: a, ...r } = e, t = b(C, a), s = i(a), p = m.useRef(!1);
82
- return /* @__PURE__ */ n.jsx(
83
- X,
79
+ const { __scopeDropdownMenu: a, ...n } = e, r = _(j, a), s = i(a), p = m.useRef(!1);
80
+ return /* @__PURE__ */ t.jsx(
81
+ q,
84
82
  {
85
- id: t.contentId,
86
- "aria-labelledby": t.triggerId,
83
+ id: r.contentId,
84
+ "aria-labelledby": r.triggerId,
87
85
  ...s,
88
- ...r,
86
+ ...n,
89
87
  ref: o,
90
88
  onCloseAutoFocus: w(e.onCloseAutoFocus, (d) => {
91
- p.current || t.triggerRef.current?.focus(), p.current = !1, d.preventDefault();
89
+ p.current || r.triggerRef.current?.focus(), p.current = !1, d.preventDefault();
92
90
  }),
93
91
  onInteractOutside: w(e.onInteractOutside, (d) => {
94
- const c = d.detail.originalEvent, v = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || v;
95
- (!t.modal || l) && (p.current = !0);
92
+ const c = d.detail.originalEvent, x = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || x;
93
+ (!r.modal || l) && (p.current = !0);
96
94
  }),
97
95
  style: {
98
96
  ...e.style,
@@ -106,80 +104,80 @@ var C = "DropdownMenuContent", I = m.forwardRef(
106
104
  );
107
105
  }
108
106
  );
109
- I.displayName = C;
110
- var ce = "DropdownMenuGroup", j = m.forwardRef(
107
+ S.displayName = j;
108
+ var pe = "DropdownMenuGroup", y = m.forwardRef(
111
109
  (e, o) => {
112
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
113
- return /* @__PURE__ */ n.jsx(q, { ...t, ...r, ref: o });
110
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
111
+ return /* @__PURE__ */ t.jsx(J, { ...r, ...n, ref: o });
114
112
  }
115
113
  );
116
- j.displayName = ce;
117
- var le = "DropdownMenuLabel", S = m.forwardRef(
114
+ y.displayName = pe;
115
+ var ue = "DropdownMenuLabel", C = m.forwardRef(
118
116
  (e, o) => {
119
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
120
- return /* @__PURE__ */ n.jsx(J, { ...t, ...r, ref: o });
117
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
118
+ return /* @__PURE__ */ t.jsx(Q, { ...r, ...n, ref: o });
121
119
  }
122
120
  );
123
- S.displayName = le;
124
- var fe = "DropdownMenuItem", y = m.forwardRef(
121
+ C.displayName = ue;
122
+ var ce = "DropdownMenuItem", P = m.forwardRef(
125
123
  (e, o) => {
126
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
127
- return /* @__PURE__ */ n.jsx(Q, { ...t, ...r, ref: o });
124
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
125
+ return /* @__PURE__ */ t.jsx(V, { ...r, ...n, ref: o });
128
126
  }
129
127
  );
130
- y.displayName = fe;
131
- var we = "DropdownMenuCheckboxItem", P = m.forwardRef((e, o) => {
132
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
133
- return /* @__PURE__ */ n.jsx(V, { ...t, ...r, ref: o });
128
+ P.displayName = ce;
129
+ var le = "DropdownMenuCheckboxItem", A = m.forwardRef((e, o) => {
130
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
131
+ return /* @__PURE__ */ t.jsx(Y, { ...r, ...n, ref: o });
134
132
  });
135
- P.displayName = we;
136
- var ge = "DropdownMenuRadioGroup", A = m.forwardRef((e, o) => {
137
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
138
- return /* @__PURE__ */ n.jsx(Z, { ...t, ...r, ref: o });
133
+ A.displayName = le;
134
+ var fe = "DropdownMenuRadioGroup", E = m.forwardRef((e, o) => {
135
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
136
+ return /* @__PURE__ */ t.jsx(ee, { ...r, ...n, ref: o });
139
137
  });
140
- A.displayName = ge;
141
- var ve = "DropdownMenuRadioItem", E = m.forwardRef((e, o) => {
142
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
143
- return /* @__PURE__ */ n.jsx(ee, { ...t, ...r, ref: o });
138
+ E.displayName = fe;
139
+ var we = "DropdownMenuRadioItem", O = m.forwardRef((e, o) => {
140
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
141
+ return /* @__PURE__ */ t.jsx(oe, { ...r, ...n, ref: o });
144
142
  });
145
- E.displayName = ve;
146
- var xe = "DropdownMenuItemIndicator", O = m.forwardRef((e, o) => {
147
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
148
- return /* @__PURE__ */ n.jsx(Y, { ...t, ...r, ref: o });
143
+ O.displayName = we;
144
+ var ge = "DropdownMenuItemIndicator", k = m.forwardRef((e, o) => {
145
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
146
+ return /* @__PURE__ */ t.jsx(Z, { ...r, ...n, ref: o });
149
147
  });
150
- O.displayName = xe;
151
- var Me = "DropdownMenuSeparator", T = m.forwardRef((e, o) => {
152
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
153
- return /* @__PURE__ */ n.jsx(oe, { ...t, ...r, ref: o });
148
+ k.displayName = ge;
149
+ var xe = "DropdownMenuSeparator", T = m.forwardRef((e, o) => {
150
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
151
+ return /* @__PURE__ */ t.jsx(ae, { ...r, ...n, ref: o });
154
152
  });
155
- T.displayName = Me;
156
- var he = "DropdownMenuArrow", be = m.forwardRef(
153
+ T.displayName = xe;
154
+ var ve = "DropdownMenuArrow", he = m.forwardRef(
157
155
  (e, o) => {
158
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
159
- return /* @__PURE__ */ n.jsx(te, { ...t, ...r, ref: o });
156
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
157
+ return /* @__PURE__ */ t.jsx(de, { ...r, ...n, ref: o });
160
158
  }
161
159
  );
162
- be.displayName = he;
163
- var De = (e) => {
164
- const { __scopeDropdownMenu: o, children: a, open: r, onOpenChange: t, defaultOpen: s } = e, p = i(o), [d, c] = M({
165
- prop: r,
160
+ he.displayName = ve;
161
+ var Me = (e) => {
162
+ const { __scopeDropdownMenu: o, children: a, open: n, onOpenChange: r, defaultOpen: s } = e, p = i(o), [d, c] = M({
163
+ prop: n,
166
164
  defaultProp: s ?? !1,
167
- onChange: t,
165
+ onChange: r,
168
166
  caller: "DropdownMenuSub"
169
167
  });
170
- return /* @__PURE__ */ n.jsx(ae, { ...p, open: d, onOpenChange: c, children: a });
171
- }, _e = "DropdownMenuSubTrigger", k = m.forwardRef((e, o) => {
172
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
173
- return /* @__PURE__ */ n.jsx(ne, { ...t, ...r, ref: o });
168
+ return /* @__PURE__ */ t.jsx(te, { ...p, open: d, onOpenChange: c, children: a });
169
+ }, be = "DropdownMenuSubTrigger", G = m.forwardRef((e, o) => {
170
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
171
+ return /* @__PURE__ */ t.jsx(ne, { ...r, ...n, ref: o });
174
172
  });
175
- k.displayName = _e;
176
- var Re = "DropdownMenuSubContent", z = m.forwardRef((e, o) => {
177
- const { __scopeDropdownMenu: a, ...r } = e, t = i(a);
178
- return /* @__PURE__ */ n.jsx(
173
+ G.displayName = be;
174
+ var _e = "DropdownMenuSubContent", z = m.forwardRef((e, o) => {
175
+ const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
176
+ return /* @__PURE__ */ t.jsx(
179
177
  re,
180
178
  {
181
- ...t,
182
179
  ...r,
180
+ ...n,
183
181
  ref: o,
184
182
  style: {
185
183
  ...e.style,
@@ -192,36 +190,36 @@ var Re = "DropdownMenuSubContent", z = m.forwardRef((e, o) => {
192
190
  }
193
191
  );
194
192
  });
195
- z.displayName = Re;
196
- var Ne = D, Ce = R, G = N, Ie = I, je = j, Se = S, ye = y, Pe = P, Ae = A, Ee = E, $ = O, Oe = T, Te = De, ke = k, ze = z;
197
- function Je({
193
+ z.displayName = _e;
194
+ var De = D, Re = N, $ = I, Ne = S, Ie = y, je = C, Se = P, ye = A, Ce = E, Pe = O, L = k, Ae = T, Ee = Me, Oe = G, ke = z;
195
+ function He({
198
196
  ...e
199
197
  }) {
200
- return /* @__PURE__ */ n.jsx(Ne, { "data-slot": "dropdown-menu", ...e });
198
+ return /* @__PURE__ */ t.jsx(De, { "data-slot": "dropdown-menu", ...e });
201
199
  }
202
- function Qe({
200
+ function We({
203
201
  ...e
204
202
  }) {
205
- return /* @__PURE__ */ n.jsx(G, { "data-slot": "dropdown-menu-portal", ...e });
203
+ return /* @__PURE__ */ t.jsx($, { "data-slot": "dropdown-menu-portal", ...e });
206
204
  }
207
- function Ve({
205
+ function Xe({
208
206
  ...e
209
207
  }) {
210
- return /* @__PURE__ */ n.jsx(
211
- Ce,
208
+ return /* @__PURE__ */ t.jsx(
209
+ Re,
212
210
  {
213
211
  "data-slot": "dropdown-menu-trigger",
214
212
  ...e
215
213
  }
216
214
  );
217
215
  }
218
- function Ye({
216
+ function qe({
219
217
  className: e,
220
218
  sideOffset: o = 4,
221
219
  ...a
222
220
  }) {
223
- return /* @__PURE__ */ n.jsx(G, { children: /* @__PURE__ */ n.jsx(
224
- Ie,
221
+ return /* @__PURE__ */ t.jsx($, { children: /* @__PURE__ */ t.jsx(
222
+ Ne,
225
223
  {
226
224
  "data-slot": "dropdown-menu-content",
227
225
  sideOffset: o,
@@ -248,19 +246,19 @@ function Ye({
248
246
  }
249
247
  ) });
250
248
  }
251
- function Ze({
249
+ function Je({
252
250
  ...e
253
251
  }) {
254
- return /* @__PURE__ */ n.jsx(je, { "data-slot": "dropdown-menu-group", ...e });
252
+ return /* @__PURE__ */ t.jsx(Ie, { "data-slot": "dropdown-menu-group", ...e });
255
253
  }
256
- function eo({
254
+ function Qe({
257
255
  className: e,
258
256
  inset: o,
259
257
  variant: a = "default",
260
- ...r
258
+ ...n
261
259
  }) {
262
- return /* @__PURE__ */ n.jsx(
263
- ye,
260
+ return /* @__PURE__ */ t.jsx(
261
+ Se,
264
262
  {
265
263
  "data-slot": "dropdown-menu-item",
266
264
  "data-inset": o,
@@ -277,25 +275,30 @@ function eo({
277
275
  adm:data-[variant=destructive]:focus:bg-destructive/10
278
276
  adm:data-[variant=destructive]:focus:text-destructive
279
277
  adm:dark:data-[variant=destructive]:focus:bg-destructive/20
278
+ adm:[&_[data-slot=icon]]:pointer-events-none
279
+ adm:[&_[data-slot=icon]]:shrink-0
280
+ adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
281
+ adm:[&_[data-slot=icon]:not([class*=text-])]:text-muted-foreground
280
282
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
281
283
  adm:[&_svg:not([class*=size-])]:size-4
282
284
  adm:[&_svg:not([class*=text-])]:text-muted-foreground
285
+ adm:data-[variant=destructive]:*:[data-slot=icon]:!text-destructive
283
286
  adm:data-[variant=destructive]:*:[svg]:!text-destructive
284
287
  `,
285
288
  e
286
289
  ),
287
- ...r
290
+ ...n
288
291
  }
289
292
  );
290
293
  }
291
- function oo({
294
+ function Ve({
292
295
  className: e,
293
296
  children: o,
294
297
  checked: a,
295
- ...r
298
+ ...n
296
299
  }) {
297
- return /* @__PURE__ */ n.jsxs(
298
- Pe,
300
+ return /* @__PURE__ */ t.jsxs(
301
+ ye,
299
302
  {
300
303
  "data-slot": "dropdown-menu-checkbox-item",
301
304
  className: u(
@@ -305,22 +308,25 @@ function oo({
305
308
  adm:outline-hidden adm:select-none
306
309
  adm:focus:bg-accent adm:focus:text-accent-foreground
307
310
  adm:data-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
311
+ adm:[&_[data-slot=icon]]:pointer-events-none
312
+ adm:[&_[data-slot=icon]]:shrink-0
313
+ adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
308
314
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
309
315
  adm:[&_svg:not([class*=size-])]:size-4
310
316
  `,
311
317
  e
312
318
  ),
313
319
  checked: a,
314
- ...r,
320
+ ...n,
315
321
  children: [
316
- /* @__PURE__ */ n.jsx(
322
+ /* @__PURE__ */ t.jsx(
317
323
  "span",
318
324
  {
319
325
  className: `
320
326
  adm:pointer-events-none adm:absolute adm:left-2 adm:flex adm:size-3.5
321
327
  adm:items-center adm:justify-center
322
328
  `,
323
- children: /* @__PURE__ */ n.jsx($, { children: /* @__PURE__ */ n.jsx(de, { className: "adm:size-4" }) })
329
+ children: /* @__PURE__ */ t.jsx(L, { children: /* @__PURE__ */ t.jsx(v, { symbol: "check" }) })
324
330
  }
325
331
  ),
326
332
  o
@@ -328,24 +334,24 @@ function oo({
328
334
  }
329
335
  );
330
336
  }
331
- function ao({
337
+ function Ye({
332
338
  ...e
333
339
  }) {
334
- return /* @__PURE__ */ n.jsx(
335
- Ae,
340
+ return /* @__PURE__ */ t.jsx(
341
+ Ce,
336
342
  {
337
343
  "data-slot": "dropdown-menu-radio-group",
338
344
  ...e
339
345
  }
340
346
  );
341
347
  }
342
- function no({
348
+ function Ze({
343
349
  className: e,
344
350
  children: o,
345
351
  ...a
346
352
  }) {
347
- return /* @__PURE__ */ n.jsxs(
348
- Ee,
353
+ return /* @__PURE__ */ t.jsxs(
354
+ Pe,
349
355
  {
350
356
  "data-slot": "dropdown-menu-radio-item",
351
357
  className: u(
@@ -355,6 +361,9 @@ function no({
355
361
  adm:outline-hidden adm:select-none
356
362
  adm:focus:bg-accent adm:focus:text-accent-foreground
357
363
  adm:data-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
364
+ adm:[&_[data-slot=icon]]:pointer-events-none
365
+ adm:[&_[data-slot=icon]]:shrink-0
366
+ adm:[&_[data-slot=icon]:not([class*=text-])]:text-sm
358
367
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
359
368
  adm:[&_svg:not([class*=size-])]:size-4
360
369
  `,
@@ -362,14 +371,14 @@ function no({
362
371
  ),
363
372
  ...a,
364
373
  children: [
365
- /* @__PURE__ */ n.jsx(
374
+ /* @__PURE__ */ t.jsx(
366
375
  "span",
367
376
  {
368
377
  className: `
369
378
  adm:pointer-events-none adm:absolute adm:left-2 adm:flex adm:size-3.5
370
379
  adm:items-center adm:justify-center
371
380
  `,
372
- children: /* @__PURE__ */ n.jsx($, { children: /* @__PURE__ */ n.jsx(se, { className: "adm:size-2 adm:fill-current" }) })
381
+ children: /* @__PURE__ */ t.jsx(L, { children: /* @__PURE__ */ t.jsx(v, { symbol: "circle", fill: 1, className: "adm:text-xs" }) })
373
382
  }
374
383
  ),
375
384
  o
@@ -377,13 +386,13 @@ function no({
377
386
  }
378
387
  );
379
388
  }
380
- function ro({
389
+ function eo({
381
390
  className: e,
382
391
  inset: o,
383
392
  ...a
384
393
  }) {
385
- return /* @__PURE__ */ n.jsx(
386
- Se,
394
+ return /* @__PURE__ */ t.jsx(
395
+ je,
387
396
  {
388
397
  "data-slot": "dropdown-menu-label",
389
398
  "data-inset": o,
@@ -398,12 +407,12 @@ function ro({
398
407
  }
399
408
  );
400
409
  }
401
- function to({
410
+ function oo({
402
411
  className: e,
403
412
  ...o
404
413
  }) {
405
- return /* @__PURE__ */ n.jsx(
406
- Oe,
414
+ return /* @__PURE__ */ t.jsx(
415
+ Ae,
407
416
  {
408
417
  "data-slot": "dropdown-menu-separator",
409
418
  className: u("adm:-mx-1 adm:my-1 adm:h-px adm:bg-border", e),
@@ -411,11 +420,11 @@ function to({
411
420
  }
412
421
  );
413
422
  }
414
- function so({
423
+ function ao({
415
424
  className: e,
416
425
  ...o
417
426
  }) {
418
- return /* @__PURE__ */ n.jsx(
427
+ return /* @__PURE__ */ t.jsx(
419
428
  "span",
420
429
  {
421
430
  "data-slot": "dropdown-menu-shortcut",
@@ -427,19 +436,19 @@ function so({
427
436
  }
428
437
  );
429
438
  }
430
- function mo({
439
+ function to({
431
440
  ...e
432
441
  }) {
433
- return /* @__PURE__ */ n.jsx(Te, { "data-slot": "dropdown-menu-sub", ...e });
442
+ return /* @__PURE__ */ t.jsx(Ee, { "data-slot": "dropdown-menu-sub", ...e });
434
443
  }
435
- function io({
444
+ function no({
436
445
  className: e,
437
446
  inset: o,
438
447
  children: a,
439
- ...r
448
+ ...n
440
449
  }) {
441
- return /* @__PURE__ */ n.jsxs(
442
- ke,
450
+ return /* @__PURE__ */ t.jsxs(
451
+ Oe,
443
452
  {
444
453
  "data-slot": "dropdown-menu-sub-trigger",
445
454
  "data-inset": o,
@@ -451,26 +460,30 @@ function io({
451
460
  adm:data-[inset]:pl-8
452
461
  adm:data-[state=open]:bg-accent
453
462
  adm:data-[state=open]:text-accent-foreground
463
+ adm:[&_[data-slot=icon]]:pointer-events-none
464
+ adm:[&_[data-slot=icon]]:shrink-0
465
+ adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
466
+ adm:[&_[data-slot=icon]:not([class*=text-])]:text-muted-foreground
454
467
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
455
468
  adm:[&_svg:not([class*=size-])]:size-4
456
469
  adm:[&_svg:not([class*=text-])]:text-muted-foreground
457
470
  `,
458
471
  e
459
472
  ),
460
- ...r,
473
+ ...n,
461
474
  children: [
462
475
  a,
463
- /* @__PURE__ */ n.jsx(me, { className: "adm:ml-auto adm:size-4" })
476
+ /* @__PURE__ */ t.jsx(v, { symbol: "chevron_right", className: "adm:ml-auto adm:shrink-0" })
464
477
  ]
465
478
  }
466
479
  );
467
480
  }
468
- function po({
481
+ function ro({
469
482
  className: e,
470
483
  ...o
471
484
  }) {
472
- return /* @__PURE__ */ n.jsx(
473
- ze,
485
+ return /* @__PURE__ */ t.jsx(
486
+ ke,
474
487
  {
475
488
  "data-slot": "dropdown-menu-sub-content",
476
489
  className: u(
@@ -495,19 +508,19 @@ function po({
495
508
  );
496
509
  }
497
510
  export {
498
- Je as DropdownMenu,
499
- oo as DropdownMenuCheckboxItem,
500
- Ye as DropdownMenuContent,
501
- Ze as DropdownMenuGroup,
502
- eo as DropdownMenuItem,
503
- ro as DropdownMenuLabel,
504
- Qe as DropdownMenuPortal,
505
- ao as DropdownMenuRadioGroup,
506
- no as DropdownMenuRadioItem,
507
- to as DropdownMenuSeparator,
508
- so as DropdownMenuShortcut,
509
- mo as DropdownMenuSub,
510
- po as DropdownMenuSubContent,
511
- io as DropdownMenuSubTrigger,
512
- Ve as DropdownMenuTrigger
511
+ He as DropdownMenu,
512
+ Ve as DropdownMenuCheckboxItem,
513
+ qe as DropdownMenuContent,
514
+ Je as DropdownMenuGroup,
515
+ Qe as DropdownMenuItem,
516
+ eo as DropdownMenuLabel,
517
+ We as DropdownMenuPortal,
518
+ Ye as DropdownMenuRadioGroup,
519
+ Ze as DropdownMenuRadioItem,
520
+ oo as DropdownMenuSeparator,
521
+ ao as DropdownMenuShortcut,
522
+ to as DropdownMenuSub,
523
+ ro as DropdownMenuSubContent,
524
+ no as DropdownMenuSubTrigger,
525
+ Xe as DropdownMenuTrigger
513
526
  };
@@ -0,0 +1,35 @@
1
+ import { j as r } from "./jsx-runtime-BzflLqGi.js";
2
+ import { c } from "./index-CRiPKpXj.js";
3
+ function u({
4
+ symbol: t,
5
+ fill: o = 0,
6
+ weight: s = 300,
7
+ grade: n = 0,
8
+ opticalSize: a = 24,
9
+ className: i,
10
+ style: e,
11
+ ...l
12
+ }) {
13
+ const m = {
14
+ fontVariationSettings: `
15
+ 'FILL' ${o},
16
+ 'wght' ${s},
17
+ 'GRAD' ${n},
18
+ 'opsz' ${a}
19
+ `,
20
+ ...e
21
+ };
22
+ return /* @__PURE__ */ r.jsx(
23
+ "span",
24
+ {
25
+ "data-slot": "icon",
26
+ className: c("material-symbols-outlined adm:inline-block adm:text-lg", i),
27
+ style: m,
28
+ ...l,
29
+ children: t
30
+ }
31
+ );
32
+ }
33
+ export {
34
+ u as I
35
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";const r=require("./jsx-runtime-BB_1_6y_.cjs"),u=require("./index-DoxiiusW.cjs");function m({symbol:t,fill:n=0,weight:s=300,grade:e=0,opticalSize:i=24,className:o,style:c,...l}){const a={fontVariationSettings:`
2
+ 'FILL' ${n},
3
+ 'wght' ${s},
4
+ 'GRAD' ${e},
5
+ 'opsz' ${i}
6
+ `,...c};return r.jsxRuntimeExports.jsx("span",{"data-slot":"icon",className:u.cn("material-symbols-outlined adm:inline-block adm:text-lg",o),style:a,...l,children:t})}exports.Icon=m;
package/dist/icon.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./icon-DTx6Y_mx.cjs");exports.Icon=e.Icon;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./icon-SWksUOv5.cjs");exports.Icon=e.Icon;
package/dist/icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I } from "./icon-DmU_SEHC.js";
1
+ import { I } from "./icon-D0vVkV-A.js";
2
2
  export {
3
3
  I as Icon
4
4
  };