@epilot/zenith-react 0.2.0-next.0 → 0.2.0-next.1

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 (131) hide show
  1. package/dist/components/accordion/accordion.js +57 -48
  2. package/dist/components/accordion/accordion.js.map +1 -1
  3. package/dist/components/alert-dialog/alert-dialog.js +120 -92
  4. package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
  5. package/dist/components/avatar/avatar-group.js +38 -35
  6. package/dist/components/avatar/avatar-group.js.map +1 -1
  7. package/dist/components/avatar/avatar.js +78 -71
  8. package/dist/components/avatar/avatar.js.map +1 -1
  9. package/dist/components/badge/badge.js +60 -55
  10. package/dist/components/badge/badge.js.map +1 -1
  11. package/dist/components/breadcrumb/breadcrumb.js +99 -54
  12. package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
  13. package/dist/components/button/button.js +87 -77
  14. package/dist/components/button/button.js.map +1 -1
  15. package/dist/components/button-group/button-group.js +36 -32
  16. package/dist/components/button-group/button-group.js.map +1 -1
  17. package/dist/components/callout/callout.js +105 -98
  18. package/dist/components/callout/callout.js.map +1 -1
  19. package/dist/components/card/card.js +62 -52
  20. package/dist/components/card/card.js.map +1 -1
  21. package/dist/components/checkbox/checkbox.js +22 -19
  22. package/dist/components/checkbox/checkbox.js.map +1 -1
  23. package/dist/components/code-block/code-block.js +135 -123
  24. package/dist/components/code-block/code-block.js.map +1 -1
  25. package/dist/components/code-editor/code-editor.js +276 -260
  26. package/dist/components/code-editor/code-editor.js.map +1 -1
  27. package/dist/components/collapsible-sidebar/collapsible-sidebar.js +62 -56
  28. package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -1
  29. package/dist/components/command/command.js +116 -105
  30. package/dist/components/command/command.js.map +1 -1
  31. package/dist/components/data-table/data-table-body.js +38 -34
  32. package/dist/components/data-table/data-table-body.js.map +1 -1
  33. package/dist/components/data-table/data-table-column-header.js +30 -26
  34. package/dist/components/data-table/data-table-column-header.js.map +1 -1
  35. package/dist/components/data-table/data-table-column-order.js +79 -73
  36. package/dist/components/data-table/data-table-column-order.js.map +1 -1
  37. package/dist/components/data-table/data-table-column-visibility.js +25 -22
  38. package/dist/components/data-table/data-table-column-visibility.js.map +1 -1
  39. package/dist/components/data-table/data-table-content.js +47 -44
  40. package/dist/components/data-table/data-table-content.js.map +1 -1
  41. package/dist/components/data-table/data-table-error.js +36 -32
  42. package/dist/components/data-table/data-table-error.js.map +1 -1
  43. package/dist/components/data-table/data-table-footer.js +10 -8
  44. package/dist/components/data-table/data-table-footer.js.map +1 -1
  45. package/dist/components/data-table/data-table-header-draggable.js +40 -36
  46. package/dist/components/data-table/data-table-header-draggable.js.map +1 -1
  47. package/dist/components/data-table/data-table-loading.js +21 -18
  48. package/dist/components/data-table/data-table-loading.js.map +1 -1
  49. package/dist/components/data-table/data-table-resize-handle.js +13 -11
  50. package/dist/components/data-table/data-table-resize-handle.js.map +1 -1
  51. package/dist/components/data-table/data-table-row.js +47 -44
  52. package/dist/components/data-table/data-table-row.js.map +1 -1
  53. package/dist/components/data-table/data-table-toolbar.js +9 -7
  54. package/dist/components/data-table/data-table-toolbar.js.map +1 -1
  55. package/dist/components/data-table/data-table.js +48 -46
  56. package/dist/components/data-table/data-table.js.map +1 -1
  57. package/dist/components/date-range-picker/date-range-picker.js +173 -164
  58. package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
  59. package/dist/components/date-range-picker/range-calendar.js +36 -34
  60. package/dist/components/date-range-picker/range-calendar.js.map +1 -1
  61. package/dist/components/date-time-picker/calendar.js +290 -272
  62. package/dist/components/date-time-picker/calendar.js.map +1 -1
  63. package/dist/components/date-time-picker/date-time-picker-input.js +22 -20
  64. package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
  65. package/dist/components/date-time-picker/date-time-picker-panel.js +126 -120
  66. package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
  67. package/dist/components/date-time-picker/date-time-picker.js +42 -40
  68. package/dist/components/date-time-picker/date-time-picker.js.map +1 -1
  69. package/dist/components/date-time-picker/time-picker.js +95 -87
  70. package/dist/components/date-time-picker/time-picker.js.map +1 -1
  71. package/dist/components/dialog/dialog.js +115 -95
  72. package/dist/components/dialog/dialog.js.map +1 -1
  73. package/dist/components/drawer/drawer.js +144 -109
  74. package/dist/components/drawer/drawer.js.map +1 -1
  75. package/dist/components/dropdown-menu/dropdown-menu.js +141 -112
  76. package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
  77. package/dist/components/field/field-combobox.js +196 -176
  78. package/dist/components/field/field-combobox.js.map +1 -1
  79. package/dist/components/field/field.js +137 -126
  80. package/dist/components/field/field.js.map +1 -1
  81. package/dist/components/list/list.js +237 -219
  82. package/dist/components/list/list.js.map +1 -1
  83. package/dist/components/option-card/option-card.js +129 -116
  84. package/dist/components/option-card/option-card.js.map +1 -1
  85. package/dist/components/pill/pill.js +55 -51
  86. package/dist/components/pill/pill.js.map +1 -1
  87. package/dist/components/popover/popover.js +53 -36
  88. package/dist/components/popover/popover.js.map +1 -1
  89. package/dist/components/radio/radio.js +38 -34
  90. package/dist/components/radio/radio.js.map +1 -1
  91. package/dist/components/scroll-area/scroll-area.js +38 -35
  92. package/dist/components/scroll-area/scroll-area.js.map +1 -1
  93. package/dist/components/scroll-overflow/scroll-overflow.js +166 -151
  94. package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
  95. package/dist/components/segmented-control/segmented-control.js +93 -85
  96. package/dist/components/segmented-control/segmented-control.js.map +1 -1
  97. package/dist/components/select/select.js +149 -128
  98. package/dist/components/select/select.js.map +1 -1
  99. package/dist/components/separator/separator.js +19 -16
  100. package/dist/components/separator/separator.js.map +1 -1
  101. package/dist/components/skeleton/skeleton.js +34 -30
  102. package/dist/components/skeleton/skeleton.js.map +1 -1
  103. package/dist/components/spinner/spinner.js +22 -17
  104. package/dist/components/spinner/spinner.js.map +1 -1
  105. package/dist/components/surface/surface.js +25 -22
  106. package/dist/components/surface/surface.js.map +1 -1
  107. package/dist/components/switch/switch.js +66 -57
  108. package/dist/components/switch/switch.js.map +1 -1
  109. package/dist/components/table/table-pagination.js +139 -129
  110. package/dist/components/table/table-pagination.js.map +1 -1
  111. package/dist/components/table/table.js +104 -90
  112. package/dist/components/table/table.js.map +1 -1
  113. package/dist/components/tabs/tabs.js +206 -128
  114. package/dist/components/tabs/tabs.js.map +1 -1
  115. package/dist/components/toast/toast.js +112 -100
  116. package/dist/components/toast/toast.js.map +1 -1
  117. package/dist/components/toggle/toggle.js +32 -30
  118. package/dist/components/toggle/toggle.js.map +1 -1
  119. package/dist/components/tooltip/tooltip.js +59 -46
  120. package/dist/components/tooltip/tooltip.js.map +1 -1
  121. package/dist/index.d.ts +12 -0
  122. package/dist/lib/clear-button.js +18 -17
  123. package/dist/lib/clear-button.js.map +1 -1
  124. package/dist/styles/host-reset.js +47 -0
  125. package/dist/styles/host-reset.js.map +1 -0
  126. package/dist/styles/overlay-layer.js +5 -0
  127. package/dist/styles/overlay-layer.js.map +1 -0
  128. package/dist/tokens.json +1 -1
  129. package/package.json +8 -7
  130. package/scripts/migration-diagnostics.mjs +42 -7
  131. package/scripts/migration-sweep.mjs +9 -1
@@ -1,13 +1,14 @@
1
- import { jsx as n, jsxs as R } from "react/jsx-runtime";
2
- import * as l from "react";
3
- import { SLOT_ATTR as p, mergeClasses as m, shorthands as s } from "@epilot/zenith-runtime/v1";
4
- import { makeZenithStyles as S } from "../../styles/make-styles.js";
5
- import { grayA8 as I, focusRing as y, accentA11 as L, spacingElement2 as b, spacingGroup1 as x, grayA11 as f, spacingElement1 as F, graySoft as N, leadingXs as q, textXs as P, fontWeightSemibold as T, leadingSm as h, textSm as C, grayA12 as u, radiusMd as V, radiusLg as D } from "../../tokens/index.js";
6
- import { Command as B, CommandEmpty as G, CommandGroup as k, CommandInput as A, CommandItem as E, CommandList as j, CommandLoading as H, CommandSeparator as W } from "../command/command.js";
7
- import { Label as z } from "../label/label.js";
8
- import { Popover as O, PopoverPortal as Z, PopoverContent as M, PopoverTrigger as X } from "../popover/popover.js";
9
- import { useOptionalFieldContext as _ } from "./field.js";
10
- const $ = (a) => /* @__PURE__ */ n(
1
+ import { jsx as n, jsxs as I } from "react/jsx-runtime";
2
+ import * as s from "react";
3
+ import { SLOT_ATTR as u, mergeClasses as c, shorthands as m } from "@epilot/zenith-runtime/v1";
4
+ import { makeZenithStyles as L } from "../../styles/make-styles.js";
5
+ import { boxModel as l, nativeControl as F } from "../../styles/host-reset.js";
6
+ import { grayA8 as N, focusRing as v, accentA11 as q, spacingElement2 as p, spacingGroup1 as f, grayA11 as h, spacingElement1 as R, graySoft as P, leadingXs as T, textXs as V, fontWeightSemibold as D, leadingSm as C, textSm as w, grayA12 as g, radiusMd as B, radiusLg as G } from "../../tokens/index.js";
7
+ import { Command as k, CommandEmpty as A, CommandGroup as E, CommandInput as j, CommandItem as H, CommandList as W, CommandLoading as z, CommandSeparator as M } from "../command/command.js";
8
+ import { Label as O } from "../label/label.js";
9
+ import { Popover as Z, PopoverPortal as X, PopoverContent as _, PopoverTrigger as $ } from "../popover/popover.js";
10
+ import { useOptionalFieldContext as J } from "./field.js";
11
+ const K = (a) => /* @__PURE__ */ n(
11
12
  "svg",
12
13
  {
13
14
  xmlns: "http://www.w3.org/2000/svg",
@@ -18,7 +19,7 @@ const $ = (a) => /* @__PURE__ */ n(
18
19
  ...a,
19
20
  children: /* @__PURE__ */ n("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" })
20
21
  }
21
- ), J = (a) => /* @__PURE__ */ n(
22
+ ), Q = (a) => /* @__PURE__ */ n(
22
23
  "svg",
23
24
  {
24
25
  xmlns: "http://www.w3.org/2000/svg",
@@ -29,7 +30,7 @@ const $ = (a) => /* @__PURE__ */ n(
29
30
  ...a,
30
31
  children: /* @__PURE__ */ n("path", { d: "M459-381 314-526q-3-3-4.5-6.5T308-540q0-8 5.5-14t14.5-6h304q9 0 14.5 6t5.5 14q0 2-6 14L501-381q-5 5-10 7t-11 2q-6 0-11-2t-10-7Z" })
31
32
  }
32
- ), v = (a) => /* @__PURE__ */ n(
33
+ ), S = (a) => /* @__PURE__ */ n(
33
34
  "svg",
34
35
  {
35
36
  xmlns: "http://www.w3.org/2000/svg",
@@ -40,26 +41,27 @@ const $ = (a) => /* @__PURE__ */ n(
40
41
  ...a,
41
42
  children: /* @__PURE__ */ n("path", { d: "M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z" })
42
43
  }
43
- ), c = S({
44
+ ), d = L({
44
45
  trigger: {
46
+ ...F,
45
47
  width: "100%",
46
48
  display: "flex",
47
49
  alignItems: "center",
48
50
  justifyContent: "space-between",
49
- ...s.gap(b),
50
- ...s.borderRadius(D),
51
+ ...m.gap(p),
52
+ ...m.borderRadius(G),
51
53
  backgroundColor: "transparent",
52
- fontSize: C,
53
- lineHeight: h,
54
+ fontSize: w,
55
+ lineHeight: C,
54
56
  whiteSpace: "nowrap",
55
57
  outlineStyle: "none",
56
- ...s.border("0"),
57
- ...s.padding(0),
58
+ ...m.border("0"),
59
+ ...m.padding(0),
58
60
  ":focus-visible": {
59
61
  outlineWidth: "2px",
60
62
  outlineStyle: "solid",
61
63
  outlineOffset: "2px",
62
- outlineColor: y
64
+ outlineColor: v
63
65
  },
64
66
  ":disabled": {
65
67
  cursor: "not-allowed",
@@ -67,6 +69,7 @@ const $ = (a) => /* @__PURE__ */ n(
67
69
  }
68
70
  },
69
71
  triggerChevron: {
72
+ ...l,
70
73
  width: "1.5rem",
71
74
  height: "1.5rem",
72
75
  flexShrink: 0,
@@ -75,56 +78,63 @@ const $ = (a) => /* @__PURE__ */ n(
75
78
  "@media (prefers-reduced-motion: reduce)": {
76
79
  transitionDuration: "0.01ms"
77
80
  },
78
- color: f,
81
+ color: h,
79
82
  "&[data-popup-open], &[data-open]": {
80
83
  transform: "rotate(180deg)"
81
84
  }
82
85
  },
83
86
  value: {
84
- color: u,
87
+ ...l,
88
+ color: g,
85
89
  width: "100%",
86
90
  textAlign: "left",
87
91
  flexWrap: "wrap",
88
92
  display: "flex",
89
- ...s.gap(b),
93
+ ...m.gap(p),
90
94
  position: "relative",
91
95
  whiteSpace: "normal",
92
96
  marginRight: "1.25rem"
93
97
  },
94
98
  content: {
95
- ...s.padding(0)
99
+ ...l,
100
+ ...m.padding(0)
96
101
  },
97
102
  command: {
103
+ ...l,
98
104
  width: "100%",
99
- ...s.borderRadius(0)
105
+ ...m.borderRadius(0)
100
106
  },
101
107
  input: {
108
+ ...F,
102
109
  width: "100%"
103
110
  },
104
111
  list: {
105
- ...s.padding(b)
112
+ ...l,
113
+ ...m.padding(p)
106
114
  },
107
115
  item: {
108
- paddingLeft: x,
116
+ ...l,
117
+ paddingLeft: f,
109
118
  paddingRight: "2rem",
110
119
  paddingTop: "0.375rem",
111
120
  paddingBottom: "0.375rem",
112
- color: u,
121
+ color: g,
113
122
  position: "relative",
114
123
  display: "flex",
115
124
  width: "100%",
116
125
  cursor: "default",
117
126
  alignItems: "center",
118
- ...s.gap(b),
119
- ...s.borderRadius(V),
120
- fontSize: C,
121
- lineHeight: h,
127
+ ...m.gap(p),
128
+ ...m.borderRadius(B),
129
+ fontSize: w,
130
+ lineHeight: C,
122
131
  outlineStyle: "none",
123
132
  userSelect: "none"
124
133
  },
125
134
  itemCheckIcon: {
135
+ ...l,
126
136
  position: "absolute",
127
- right: b,
137
+ right: p,
128
138
  display: "flex",
129
139
  width: "1rem",
130
140
  height: "1rem",
@@ -132,271 +142,281 @@ const $ = (a) => /* @__PURE__ */ n(
132
142
  justifyContent: "center"
133
143
  },
134
144
  checkSvg: {
145
+ ...l,
135
146
  width: "1rem",
136
147
  height: "1rem",
137
- color: u
148
+ color: g
138
149
  },
139
150
  empty: {
151
+ ...l,
140
152
  paddingTop: "1.5rem",
141
153
  paddingBottom: "1.5rem",
142
154
  textAlign: "center",
143
- color: u,
144
- fontSize: C,
145
- lineHeight: h
155
+ color: g,
156
+ fontSize: w,
157
+ lineHeight: C
146
158
  },
147
159
  group: {
148
- ...s.padding(0)
160
+ ...l,
161
+ ...m.padding(0)
149
162
  },
150
163
  groupLabel: {
151
- color: f,
152
- fontWeight: T,
153
- paddingLeft: b,
154
- paddingRight: b,
155
- paddingTop: b,
156
- paddingBottom: b,
157
- fontSize: P,
158
- lineHeight: q
164
+ ...l,
165
+ color: h,
166
+ fontWeight: D,
167
+ paddingLeft: p,
168
+ paddingRight: p,
169
+ paddingTop: p,
170
+ paddingBottom: p,
171
+ fontSize: V,
172
+ lineHeight: T
159
173
  },
160
174
  separator: {
161
- backgroundColor: N,
175
+ ...l,
176
+ backgroundColor: P,
162
177
  pointerEvents: "none",
163
- marginLeft: `calc(-1 * ${F})`,
164
- marginRight: `calc(-1 * ${F})`,
165
- marginTop: b,
166
- marginBottom: b,
178
+ marginLeft: `calc(-1 * ${R})`,
179
+ marginRight: `calc(-1 * ${R})`,
180
+ marginTop: p,
181
+ marginBottom: p,
167
182
  height: "1px"
168
183
  },
169
184
  loading: {
170
- color: f,
171
- paddingLeft: x,
172
- paddingRight: x,
173
- paddingTop: b,
174
- paddingBottom: b
185
+ ...l,
186
+ color: h,
187
+ paddingLeft: f,
188
+ paddingRight: f,
189
+ paddingTop: p,
190
+ paddingBottom: p
175
191
  },
176
192
  clear: {
193
+ ...l,
177
194
  position: "absolute",
178
195
  right: "2.75rem",
179
196
  cursor: "pointer",
180
197
  minHeight: "auto",
181
- ...s.padding("0.125rem"),
198
+ ...m.padding("0.125rem"),
182
199
  display: "inline-flex",
183
200
  alignItems: "center",
184
201
  justifyContent: "center",
185
- ...s.borderRadius("9999px"),
202
+ ...m.borderRadius("9999px"),
186
203
  backgroundColor: "transparent",
187
- ...s.border("0"),
188
- color: L,
204
+ ...m.border("0"),
205
+ color: q,
189
206
  ":focus-visible": {
190
207
  outlineWidth: "2px",
191
208
  outlineStyle: "solid",
192
209
  outlineOffset: "2px",
193
- outlineColor: y
210
+ outlineColor: v
194
211
  }
195
212
  },
196
213
  clearSvg: {
214
+ ...l,
197
215
  width: "1.25rem",
198
216
  height: "1.25rem"
199
217
  },
200
218
  clearValue: {
219
+ ...l,
201
220
  cursor: "pointer",
202
221
  ":hover": {
203
222
  opacity: 0.7
204
223
  },
205
224
  color: "currentColor",
206
- ...s.borderRadius("9999px"),
225
+ ...m.borderRadius("9999px"),
207
226
  display: "inline-flex",
208
227
  alignItems: "center",
209
228
  justifyContent: "center"
210
229
  },
211
230
  clearValueSvg: {
231
+ ...l,
212
232
  width: "1rem",
213
233
  height: "1rem",
214
234
  color: "currentColor"
215
235
  },
216
236
  placeholder: {
217
- color: I
237
+ color: N
218
238
  }
219
- }), ao = l.forwardRef(
239
+ }), so = s.forwardRef(
220
240
  function(t, o) {
221
241
  return /* @__PURE__ */ n(
222
- O,
242
+ Z,
223
243
  {
224
244
  "data-slot": "combobox",
225
- [p]: "combobox",
245
+ [u]: "combobox",
226
246
  ...t
227
247
  }
228
248
  );
229
249
  }
230
- ), io = l.forwardRef(function({ className: t, children: o, ...r }, e) {
231
- var w;
232
- const d = c(), i = ((w = _()) == null ? void 0 : w.inputRef) ?? null;
233
- return /* @__PURE__ */ R(
234
- X,
250
+ ), mo = s.forwardRef(function({ className: t, children: o, ...r }, e) {
251
+ var y;
252
+ const b = d(), i = ((y = J()) == null ? void 0 : y.inputRef) ?? null;
253
+ return /* @__PURE__ */ I(
254
+ $,
235
255
  {
236
- ref: (g) => {
237
- i && (i.current = g), typeof e == "function" ? e(g) : e && (e.current = g);
256
+ ref: (x) => {
257
+ i && (i.current = x), typeof e == "function" ? e(x) : e && (e.current = x);
238
258
  },
239
259
  "data-slot": "select-trigger",
240
- [p]: "select-trigger",
241
- className: m(d.trigger, t),
260
+ [u]: "select-trigger",
261
+ className: c(b.trigger, t),
242
262
  ...r,
243
263
  children: [
244
264
  o,
245
- /* @__PURE__ */ n(J, { className: d.triggerChevron })
265
+ /* @__PURE__ */ n(Q, { className: b.triggerChevron })
246
266
  ]
247
267
  }
248
268
  );
249
- }), lo = l.forwardRef(function({ className: t, children: o, container: r, ...e }, d) {
250
- const i = c();
251
- return /* @__PURE__ */ n(Z, { container: r, children: /* @__PURE__ */ n(
252
- M,
269
+ }), co = s.forwardRef(function({ className: t, children: o, container: r, ...e }, b) {
270
+ const i = d();
271
+ return /* @__PURE__ */ n(X, { container: r, children: /* @__PURE__ */ n(
272
+ _,
253
273
  {
254
- ref: d,
274
+ ref: b,
255
275
  "data-slot": "combobox-content",
256
- [p]: "combobox-content",
257
- className: m(i.content, t),
276
+ [u]: "combobox-content",
277
+ className: c(i.content, t),
258
278
  ...e,
259
279
  children: /* @__PURE__ */ n(
260
- B,
280
+ k,
261
281
  {
262
282
  "data-slot": "combobox-command",
263
- [p]: "combobox-command",
283
+ [u]: "combobox-command",
264
284
  className: i.command,
265
285
  children: o
266
286
  }
267
287
  )
268
288
  }
269
289
  ) });
270
- }), so = l.forwardRef(function({ className: t, children: o, ...r }, e) {
271
- const d = c();
290
+ }), bo = s.forwardRef(function({ className: t, children: o, ...r }, e) {
291
+ const b = d();
272
292
  return /* @__PURE__ */ n(
273
293
  "div",
274
294
  {
275
295
  ref: e,
276
296
  "data-slot": "combobox-value",
277
- [p]: "combobox-value",
278
- className: m(d.value, t),
297
+ [u]: "combobox-value",
298
+ className: c(b.value, t),
279
299
  ...r,
280
300
  children: o
281
301
  }
282
302
  );
283
- }), mo = l.forwardRef(function({ className: t, ...o }, r) {
284
- const e = c();
303
+ }), po = s.forwardRef(function({ className: t, ...o }, r) {
304
+ const e = d();
285
305
  return /* @__PURE__ */ n(
286
- A,
306
+ j,
287
307
  {
288
308
  ref: r,
289
309
  "data-slot": "combobox-command-input",
290
- [p]: "combobox-command-input",
291
- className: m(e.input, t),
310
+ [u]: "combobox-command-input",
311
+ className: c(e.input, t),
292
312
  ...o
293
313
  }
294
314
  );
295
- }), co = l.forwardRef(function({ className: t, ...o }, r) {
296
- const e = c();
315
+ }), uo = s.forwardRef(function({ className: t, ...o }, r) {
316
+ const e = d();
297
317
  return /* @__PURE__ */ n(
298
- j,
318
+ W,
299
319
  {
300
320
  ref: r,
301
321
  "data-slot": "combobox-command-list",
302
- [p]: "combobox-command-list",
303
- className: m(e.list, t),
322
+ [u]: "combobox-command-list",
323
+ className: c(e.list, t),
304
324
  ...o
305
325
  }
306
326
  );
307
- }), bo = l.forwardRef(function({ className: t, children: o, ...r }, e) {
308
- const d = c();
327
+ }), go = s.forwardRef(function({ className: t, children: o, ...r }, e) {
328
+ const b = d();
309
329
  return /* @__PURE__ */ n(
310
- E,
330
+ H,
311
331
  {
312
332
  ref: e,
313
333
  "data-slot": "combobox-item",
314
- [p]: "combobox-item",
315
- className: m(d.item, t),
334
+ [u]: "combobox-item",
335
+ className: c(b.item, t),
316
336
  ...r,
317
337
  children: o
318
338
  }
319
339
  );
320
- }), po = l.forwardRef(function({ className: t, ...o }, r) {
321
- const e = c();
340
+ }), xo = s.forwardRef(function({ className: t, ...o }, r) {
341
+ const e = d();
322
342
  return /* @__PURE__ */ n(
323
343
  "span",
324
344
  {
325
345
  ref: r,
326
- className: m(e.itemCheckIcon, t),
346
+ className: c(e.itemCheckIcon, t),
327
347
  ...o,
328
- children: /* @__PURE__ */ n($, { className: e.checkSvg })
348
+ children: /* @__PURE__ */ n(K, { className: e.checkSvg })
329
349
  }
330
350
  );
331
- }), uo = l.forwardRef(function({ className: t, ...o }, r) {
332
- const e = c();
351
+ }), fo = s.forwardRef(function({ className: t, ...o }, r) {
352
+ const e = d();
333
353
  return /* @__PURE__ */ n(
334
- G,
354
+ A,
335
355
  {
336
356
  ref: r,
337
357
  "data-slot": "combobox-empty",
338
- [p]: "combobox-empty",
339
- className: m(e.empty, t),
358
+ [u]: "combobox-empty",
359
+ className: c(e.empty, t),
340
360
  ...o
341
361
  }
342
362
  );
343
- }), go = l.forwardRef(function({ className: t, ...o }, r) {
344
- const e = c();
363
+ }), ho = s.forwardRef(function({ className: t, ...o }, r) {
364
+ const e = d();
345
365
  return /* @__PURE__ */ n(
346
- k,
366
+ E,
347
367
  {
348
368
  ref: r,
349
369
  "data-slot": "combobox-group",
350
- [p]: "combobox-group",
351
- className: m(e.group, t),
370
+ [u]: "combobox-group",
371
+ className: c(e.group, t),
352
372
  ...o
353
373
  }
354
374
  );
355
- }), xo = l.forwardRef(function({ className: t, ...o }, r) {
356
- const e = c();
375
+ }), Co = s.forwardRef(function({ className: t, ...o }, r) {
376
+ const e = d();
357
377
  return /* @__PURE__ */ n(
358
- z,
378
+ O,
359
379
  {
360
380
  ref: r,
361
381
  "data-slot": "combobox-group-label",
362
- [p]: "combobox-group-label",
363
- className: m(e.groupLabel, t),
382
+ [u]: "combobox-group-label",
383
+ className: c(e.groupLabel, t),
364
384
  ...o
365
385
  }
366
386
  );
367
- }), fo = l.forwardRef(function({ className: t, ...o }, r) {
368
- const e = c();
387
+ }), wo = s.forwardRef(function({ className: t, ...o }, r) {
388
+ const e = d();
369
389
  return /* @__PURE__ */ n(
370
- W,
390
+ M,
371
391
  {
372
392
  ref: r,
373
393
  "data-slot": "select-separator",
374
- [p]: "select-separator",
375
- className: m(e.separator, t),
394
+ [u]: "select-separator",
395
+ className: c(e.separator, t),
376
396
  ...o
377
397
  }
378
398
  );
379
- }), ho = l.forwardRef(function({ className: t, ...o }, r) {
380
- const e = c();
399
+ }), yo = s.forwardRef(function({ className: t, ...o }, r) {
400
+ const e = d();
381
401
  return /* @__PURE__ */ n(
382
- H,
402
+ z,
383
403
  {
384
404
  ref: r,
385
405
  "data-slot": "combobox-command-loading",
386
- [p]: "combobox-command-loading",
387
- className: m(e.loading, t),
406
+ [u]: "combobox-command-loading",
407
+ className: c(e.loading, t),
388
408
  ...o
389
409
  }
390
410
  );
391
- }), Co = l.forwardRef(function({ className: t, onClick: o, ...r }, e) {
392
- const d = c();
411
+ }), Fo = s.forwardRef(function({ className: t, onClick: o, ...r }, e) {
412
+ const b = d();
393
413
  return /* @__PURE__ */ n(
394
414
  "span",
395
415
  {
396
416
  ref: e,
397
417
  role: "button",
398
418
  tabIndex: 0,
399
- className: m(d.clear, t),
419
+ className: c(b.clear, t),
400
420
  onPointerDown: (i) => {
401
421
  i.preventDefault(), i.stopPropagation();
402
422
  },
@@ -404,28 +424,28 @@ const $ = (a) => /* @__PURE__ */ n(
404
424
  i.preventDefault(), i.stopPropagation(), o == null || o(i);
405
425
  },
406
426
  ...r,
407
- children: /* @__PURE__ */ n(v, { className: d.clearSvg })
427
+ children: /* @__PURE__ */ n(S, { className: b.clearSvg })
408
428
  }
409
429
  );
410
- }), wo = l.forwardRef(function({ className: t, ...o }, r) {
411
- const e = c();
430
+ }), vo = s.forwardRef(function({ className: t, ...o }, r) {
431
+ const e = d();
412
432
  return /* @__PURE__ */ n(
413
433
  "span",
414
434
  {
415
435
  ref: r,
416
- className: m(e.placeholder, t),
436
+ className: c(e.placeholder, t),
417
437
  ...o
418
438
  }
419
439
  );
420
- }), yo = l.forwardRef(function({ className: t, onClick: o, ...r }, e) {
421
- const d = c();
440
+ }), Ro = s.forwardRef(function({ className: t, onClick: o, ...r }, e) {
441
+ const b = d();
422
442
  return /* @__PURE__ */ n(
423
443
  "span",
424
444
  {
425
445
  ref: e,
426
446
  role: "button",
427
447
  tabIndex: 0,
428
- className: m(d.clearValue, t),
448
+ className: c(b.clearValue, t),
429
449
  onPointerDown: (i) => {
430
450
  i.preventDefault(), i.stopPropagation();
431
451
  },
@@ -433,42 +453,42 @@ const $ = (a) => /* @__PURE__ */ n(
433
453
  i.preventDefault(), i.stopPropagation(), o == null || o(i);
434
454
  },
435
455
  ...r,
436
- children: /* @__PURE__ */ n(v, { className: d.clearValueSvg })
456
+ children: /* @__PURE__ */ n(S, { className: b.clearValueSvg })
437
457
  }
438
458
  );
439
459
  });
440
460
  export {
441
- ao as Combobox,
442
- Co as ComboboxClear,
443
- yo as ComboboxClearValue,
444
- lo as ComboboxContent,
445
- uo as ComboboxEmpty,
446
- go as ComboboxGroup,
447
- xo as ComboboxGroupLabel,
448
- mo as ComboboxInput,
449
- bo as ComboboxItem,
450
- po as ComboboxItemCheckIcon,
451
- co as ComboboxList,
452
- ho as ComboboxLoading,
453
- wo as ComboboxPlaceholder,
454
- fo as ComboboxSeparator,
455
- io as ComboboxTrigger,
456
- so as ComboboxValue,
457
- ao as FieldCombobox,
458
- Co as FieldComboboxClear,
459
- yo as FieldComboboxClearValue,
460
- lo as FieldComboboxContent,
461
- uo as FieldComboboxEmpty,
462
- go as FieldComboboxGroup,
463
- xo as FieldComboboxGroupLabel,
464
- mo as FieldComboboxInput,
465
- bo as FieldComboboxItem,
466
- po as FieldComboboxItemCheckIcon,
467
- co as FieldComboboxList,
468
- ho as FieldComboboxLoading,
469
- wo as FieldComboboxPlaceholder,
470
- fo as FieldComboboxSeparator,
471
- io as FieldComboboxTrigger,
472
- so as FieldComboboxValue
461
+ so as Combobox,
462
+ Fo as ComboboxClear,
463
+ Ro as ComboboxClearValue,
464
+ co as ComboboxContent,
465
+ fo as ComboboxEmpty,
466
+ ho as ComboboxGroup,
467
+ Co as ComboboxGroupLabel,
468
+ po as ComboboxInput,
469
+ go as ComboboxItem,
470
+ xo as ComboboxItemCheckIcon,
471
+ uo as ComboboxList,
472
+ yo as ComboboxLoading,
473
+ vo as ComboboxPlaceholder,
474
+ wo as ComboboxSeparator,
475
+ mo as ComboboxTrigger,
476
+ bo as ComboboxValue,
477
+ so as FieldCombobox,
478
+ Fo as FieldComboboxClear,
479
+ Ro as FieldComboboxClearValue,
480
+ co as FieldComboboxContent,
481
+ fo as FieldComboboxEmpty,
482
+ ho as FieldComboboxGroup,
483
+ Co as FieldComboboxGroupLabel,
484
+ po as FieldComboboxInput,
485
+ go as FieldComboboxItem,
486
+ xo as FieldComboboxItemCheckIcon,
487
+ uo as FieldComboboxList,
488
+ yo as FieldComboboxLoading,
489
+ vo as FieldComboboxPlaceholder,
490
+ wo as FieldComboboxSeparator,
491
+ mo as FieldComboboxTrigger,
492
+ bo as FieldComboboxValue
473
493
  };
474
494
  //# sourceMappingURL=field-combobox.js.map