@epilot/volt-ui-experimental-griffel 0.3.0 → 0.3.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 (140) hide show
  1. package/dist/components/accordion/accordion.js +66 -126
  2. package/dist/components/accordion/accordion.js.map +1 -1
  3. package/dist/components/alert-dialog/alert-dialog.js +138 -238
  4. package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
  5. package/dist/components/avatar/avatar-group.js +47 -102
  6. package/dist/components/avatar/avatar-group.js.map +1 -1
  7. package/dist/components/avatar/avatar.js +72 -96
  8. package/dist/components/avatar/avatar.js.map +1 -1
  9. package/dist/components/badge/badge.js +48 -56
  10. package/dist/components/badge/badge.js.map +1 -1
  11. package/dist/components/breadcrumb/breadcrumb.js +49 -97
  12. package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
  13. package/dist/components/button/button.js +49 -57
  14. package/dist/components/button/button.js.map +1 -1
  15. package/dist/components/button-group/button-group.js +31 -55
  16. package/dist/components/button-group/button-group.js.map +1 -1
  17. package/dist/components/callout/callout.js +164 -288
  18. package/dist/components/callout/callout.js.map +1 -1
  19. package/dist/components/card/card.js +81 -137
  20. package/dist/components/card/card.js.map +1 -1
  21. package/dist/components/checkbox/checkbox.js +48 -96
  22. package/dist/components/checkbox/checkbox.js.map +1 -1
  23. package/dist/components/collapsible-sidebar/collapsible-sidebar.js +107 -155
  24. package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -1
  25. package/dist/components/command/command.js +161 -285
  26. package/dist/components/command/command.js.map +1 -1
  27. package/dist/components/data-table/data-table-body.js +54 -114
  28. package/dist/components/data-table/data-table-body.js.map +1 -1
  29. package/dist/components/data-table/data-table-column-header.js +45 -117
  30. package/dist/components/data-table/data-table-column-header.js.map +1 -1
  31. package/dist/components/data-table/data-table-column-visibility.js +39 -98
  32. package/dist/components/data-table/data-table-column-visibility.js.map +1 -1
  33. package/dist/components/data-table/data-table-content.js +58 -90
  34. package/dist/components/data-table/data-table-content.js.map +1 -1
  35. package/dist/components/data-table/data-table-error.js +39 -83
  36. package/dist/components/data-table/data-table-error.js.map +1 -1
  37. package/dist/components/data-table/data-table-header.js +54 -88
  38. package/dist/components/data-table/data-table-header.js.map +1 -1
  39. package/dist/components/data-table/data-table-loading.js +15 -27
  40. package/dist/components/data-table/data-table-loading.js.map +1 -1
  41. package/dist/components/data-table/data-table-pagination.js +19 -27
  42. package/dist/components/data-table/data-table-pagination.js.map +1 -1
  43. package/dist/components/data-table/data-table-row.js +64 -87
  44. package/dist/components/data-table/data-table-row.js.map +1 -1
  45. package/dist/components/data-table/data-table-toolbar.js +16 -24
  46. package/dist/components/data-table/data-table-toolbar.js.map +1 -1
  47. package/dist/components/data-table/data-table.js +145 -181
  48. package/dist/components/data-table/data-table.js.map +1 -1
  49. package/dist/components/date-range-picker/date-range-picker.js +214 -342
  50. package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
  51. package/dist/components/date-range-picker/range-calendar.js +92 -132
  52. package/dist/components/date-range-picker/range-calendar.js.map +1 -1
  53. package/dist/components/date-time-picker/calendar.js +317 -501
  54. package/dist/components/date-time-picker/calendar.js.map +1 -1
  55. package/dist/components/date-time-picker/date-time-picker-context.js +60 -64
  56. package/dist/components/date-time-picker/date-time-picker-context.js.map +1 -1
  57. package/dist/components/date-time-picker/date-time-picker-input.js +149 -249
  58. package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
  59. package/dist/components/date-time-picker/date-time-picker-panel.js +165 -273
  60. package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
  61. package/dist/components/date-time-picker/date-time-picker-popover.js +14 -22
  62. package/dist/components/date-time-picker/date-time-picker-popover.js.map +1 -1
  63. package/dist/components/date-time-picker/date-time-picker.js +90 -134
  64. package/dist/components/date-time-picker/date-time-picker.js.map +1 -1
  65. package/dist/components/date-time-picker/time-picker.js +132 -198
  66. package/dist/components/date-time-picker/time-picker.js.map +1 -1
  67. package/dist/components/density-provider/density-provider.js +19 -39
  68. package/dist/components/density-provider/density-provider.js.map +1 -1
  69. package/dist/components/dialog/dialog.js +145 -253
  70. package/dist/components/dialog/dialog.js.map +1 -1
  71. package/dist/components/drawer/drawer.js +164 -272
  72. package/dist/components/drawer/drawer.js.map +1 -1
  73. package/dist/components/dropdown-menu/dropdown-menu.js +204 -384
  74. package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
  75. package/dist/components/field/field-combobox.js +243 -435
  76. package/dist/components/field/field-combobox.js.map +1 -1
  77. package/dist/components/field/field-select.js +19 -23
  78. package/dist/components/field/field-select.js.map +1 -1
  79. package/dist/components/field/field.js +189 -297
  80. package/dist/components/field/field.js.map +1 -1
  81. package/dist/components/label/label.js +19 -27
  82. package/dist/components/label/label.js.map +1 -1
  83. package/dist/components/list/list.js +315 -595
  84. package/dist/components/list/list.js.map +1 -1
  85. package/dist/components/option-card/option-card.js +159 -323
  86. package/dist/components/option-card/option-card.js.map +1 -1
  87. package/dist/components/pill/pill.js +68 -84
  88. package/dist/components/pill/pill.js.map +1 -1
  89. package/dist/components/popover/popover.js +48 -84
  90. package/dist/components/popover/popover.js.map +1 -1
  91. package/dist/components/radio/radio.js +49 -89
  92. package/dist/components/radio/radio.js.map +1 -1
  93. package/dist/components/scroll-overflow/scroll-overflow.js +198 -350
  94. package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
  95. package/dist/components/segmented-control/segmented-control.js +97 -141
  96. package/dist/components/segmented-control/segmented-control.js.map +1 -1
  97. package/dist/components/select/select.js +200 -396
  98. package/dist/components/select/select.js.map +1 -1
  99. package/dist/components/separator/separator.js +16 -24
  100. package/dist/components/separator/separator.js.map +1 -1
  101. package/dist/components/skeleton/skeleton.js +43 -83
  102. package/dist/components/skeleton/skeleton.js.map +1 -1
  103. package/dist/components/spinner/spinner.js +20 -44
  104. package/dist/components/spinner/spinner.js.map +1 -1
  105. package/dist/components/switch/switch.js +83 -155
  106. package/dist/components/switch/switch.js.map +1 -1
  107. package/dist/components/table/table-pagination.js +210 -468
  108. package/dist/components/table/table-pagination.js.map +1 -1
  109. package/dist/components/table/table.js +131 -211
  110. package/dist/components/table/table.js.map +1 -1
  111. package/dist/components/tabs/tabs.js +58 -94
  112. package/dist/components/tabs/tabs.js.map +1 -1
  113. package/dist/components/text/text.js +32 -40
  114. package/dist/components/text/text.js.map +1 -1
  115. package/dist/components/toast/toast.js +111 -187
  116. package/dist/components/toast/toast.js.map +1 -1
  117. package/dist/components/toggle/toggle-group.js +24 -40
  118. package/dist/components/toggle/toggle-group.js.map +1 -1
  119. package/dist/components/toggle/toggle.js +39 -47
  120. package/dist/components/toggle/toggle.js.map +1 -1
  121. package/dist/components/tooltip/tooltip.js +62 -106
  122. package/dist/components/tooltip/tooltip.js.map +1 -1
  123. package/dist/lib/clear-button.js +15 -27
  124. package/dist/lib/clear-button.js.map +1 -1
  125. package/dist/lib/icons.js +6 -18
  126. package/dist/lib/icons.js.map +1 -1
  127. package/dist/tokens.json +1 -1
  128. package/package.json +1 -1
  129. package/dist/_virtual/jsx-dev-runtime.js +0 -5
  130. package/dist/_virtual/jsx-dev-runtime.js.map +0 -1
  131. package/dist/_virtual/react-jsx-dev-runtime.development.js +0 -5
  132. package/dist/_virtual/react-jsx-dev-runtime.development.js.map +0 -1
  133. package/dist/_virtual/react-jsx-dev-runtime.production.js +0 -5
  134. package/dist/_virtual/react-jsx-dev-runtime.production.js.map +0 -1
  135. package/dist/vendor/react/cjs/react-jsx-dev-runtime.development.js +0 -236
  136. package/dist/vendor/react/cjs/react-jsx-dev-runtime.development.js.map +0 -1
  137. package/dist/vendor/react/cjs/react-jsx-dev-runtime.production.js +0 -21
  138. package/dist/vendor/react/cjs/react-jsx-dev-runtime.production.js.map +0 -1
  139. package/dist/vendor/react/jsx-dev-runtime.js +0 -9
  140. package/dist/vendor/react/jsx-dev-runtime.js.map +0 -1
@@ -1,13 +1,13 @@
1
- import { j as n } from "../../vendor/react/jsx-dev-runtime.js";
1
+ import { jsx as n, jsxs as R } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
3
  import { Command as p } from "../../vendor/cmdk/dist/index.js";
4
4
  import { shorthands as c } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
5
- import { SLOT_ATTR as m } from "../../packages/volt-runtime/dist/renderer/contract.js";
6
- import { mergeClasses as l } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
7
- import { makeVoltStyles as R } from "../../styles/make-styles.js";
8
- import { radiusSm as S, spacingElement2 as r, spacingElement1 as h, radiusMd as b, grayA3 as j, spacingElement3 as g, fontWeightMedium as y, grayA11 as f, leadingXs as k, textXs as C, accentA3 as D, grayA12 as N, leadingSm as v, textSm as w, semGraySoft as V, semFocusRing as T, body as U } from "../../tokens/index.js";
9
- import { Dialog as L, DialogHeader as q, DialogTitle as I, DialogDescription as B, DialogContent as W } from "../dialog/dialog.js";
10
- const X = (t) => /* @__PURE__ */ n.jsxDEV(
5
+ import { SLOT_ATTR as i } from "../../packages/volt-runtime/dist/renderer/contract.js";
6
+ import { mergeClasses as m } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
7
+ import { makeVoltStyles as N } from "../../styles/make-styles.js";
8
+ import { radiusSm as q, spacingElement2 as r, spacingElement1 as f, radiusMd as S, grayA3 as I, spacingElement3 as u, fontWeightMedium as v, grayA11 as h, leadingXs as T, textXs as L, accentA3 as b, grayA12 as y, leadingSm as C, textSm as x, semGraySoft as B, semFocusRing as D, body as E } from "../../tokens/index.js";
9
+ import { Dialog as W, DialogHeader as X, DialogTitle as A, DialogDescription as H, DialogContent as z } from "../dialog/dialog.js";
10
+ const Y = (d) => /* @__PURE__ */ n(
11
11
  "svg",
12
12
  {
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -15,40 +15,28 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
15
15
  viewBox: "0 -960 960 960",
16
16
  width: "24px",
17
17
  fill: "currentColor",
18
- ...t,
19
- children: /* @__PURE__ */ n.jsxDEV("path", { d: "M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" }, void 0, !1, {
20
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
21
- lineNumber: 25,
22
- columnNumber: 5
23
- }, void 0)
24
- },
25
- void 0,
26
- !1,
27
- {
28
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
29
- lineNumber: 17,
30
- columnNumber: 3
31
- },
32
- void 0
33
- ), d = R({
18
+ ...d,
19
+ children: /* @__PURE__ */ n("path", { d: "M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" })
20
+ }
21
+ ), l = N({
34
22
  root: {
35
- backgroundColor: U,
36
- color: N,
23
+ backgroundColor: E,
24
+ color: y,
37
25
  display: "flex",
38
26
  height: "100%",
39
27
  width: "100%",
40
28
  flexDirection: "column",
41
29
  overflowX: "hidden",
42
30
  overflowY: "hidden",
43
- ...c.borderRadius(b)
31
+ ...c.borderRadius(S)
44
32
  },
45
33
  inputWrapper: {
46
34
  display: "flex",
47
35
  alignItems: "center",
48
36
  ...c.gap(r),
49
- ...c.borderBottom("1px", "solid", j),
50
- paddingLeft: g,
51
- paddingRight: g
37
+ ...c.borderBottom("1px", "solid", I),
38
+ paddingLeft: u,
39
+ paddingRight: u
52
40
  },
53
41
  searchIcon: {
54
42
  width: "1.25rem",
@@ -60,12 +48,12 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
60
48
  height: "3rem",
61
49
  display: "flex",
62
50
  width: "100%",
63
- ...c.borderRadius(b),
51
+ ...c.borderRadius(S),
64
52
  backgroundColor: "transparent",
65
- paddingTop: g,
66
- paddingBottom: g,
67
- fontSize: w,
68
- lineHeight: v,
53
+ paddingTop: u,
54
+ paddingBottom: u,
55
+ fontSize: x,
56
+ lineHeight: C,
69
57
  outlineStyle: "none",
70
58
  ":focus-visible": {
71
59
  outlineWidth: "2px",
@@ -80,10 +68,10 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
80
68
  // OWN box, not just what extends beyond it, would still hide it). No layout change either
81
69
  // way: outline never affects box model regardless of sign.
82
70
  outlineOffset: "-2px",
83
- outlineColor: T
71
+ outlineColor: D
84
72
  },
85
73
  "::placeholder": {
86
- color: f
74
+ color: h
87
75
  },
88
76
  ":disabled": {
89
77
  cursor: "not-allowed",
@@ -93,37 +81,37 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
93
81
  list: {
94
82
  overflowX: "hidden",
95
83
  overflowY: "auto",
96
- scrollPaddingTop: h,
97
- scrollPaddingBottom: h
84
+ scrollPaddingTop: f,
85
+ scrollPaddingBottom: f
98
86
  },
99
87
  empty: {
100
88
  paddingTop: "1.5rem",
101
89
  paddingBottom: "1.5rem",
102
90
  textAlign: "center",
103
- fontSize: w,
104
- lineHeight: v,
105
- color: f
91
+ fontSize: x,
92
+ lineHeight: C,
93
+ color: h
106
94
  },
107
95
  group: {
108
- color: N,
96
+ color: y,
109
97
  overflowX: "hidden",
110
98
  overflowY: "hidden",
111
- ...c.padding(h),
99
+ ...c.padding(f),
112
100
  "& [cmdk-group-heading]": {
113
- color: f,
101
+ color: h,
114
102
  paddingLeft: r,
115
103
  paddingRight: r,
116
104
  paddingTop: "0.375rem",
117
105
  paddingBottom: "0.375rem",
118
- fontSize: C,
119
- lineHeight: k,
120
- fontWeight: y
106
+ fontSize: L,
107
+ lineHeight: T,
108
+ fontWeight: v
121
109
  }
122
110
  },
123
111
  separator: {
124
- backgroundColor: V,
125
- marginLeft: `calc(-1 * ${h})`,
126
- marginRight: `calc(-1 * ${h})`,
112
+ backgroundColor: B,
113
+ marginLeft: `calc(-1 * ${f})`,
114
+ marginRight: `calc(-1 * ${f})`,
127
115
  height: "1px"
128
116
  },
129
117
  item: {
@@ -132,21 +120,21 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
132
120
  cursor: "default",
133
121
  alignItems: "center",
134
122
  ...c.gap(r),
135
- ...c.borderRadius(S),
123
+ ...c.borderRadius(q),
136
124
  paddingLeft: r,
137
125
  paddingRight: r,
138
126
  paddingTop: "0.375rem",
139
127
  paddingBottom: "0.375rem",
140
- fontSize: w,
141
- lineHeight: v,
128
+ fontSize: x,
129
+ lineHeight: C,
142
130
  outlineStyle: "none",
143
131
  userSelect: "none",
144
- color: N,
132
+ color: y,
145
133
  "&[data-selected='true'], &[aria-selected='true']": {
146
- backgroundColor: D
134
+ backgroundColor: b
147
135
  },
148
136
  ":hover": {
149
- backgroundColor: D
137
+ backgroundColor: b
150
138
  },
151
139
  "&[data-disabled='true'], &[aria-disabled='true']": {
152
140
  pointerEvents: "none",
@@ -159,18 +147,18 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
159
147
  height: "1rem"
160
148
  },
161
149
  "& svg:not([class*='text-'])": {
162
- color: f
150
+ color: h
163
151
  }
164
152
  },
165
153
  shortcut: {
166
- color: f,
154
+ color: h,
167
155
  marginLeft: "auto",
168
- fontSize: C,
169
- lineHeight: k,
156
+ fontSize: L,
157
+ lineHeight: T,
170
158
  letterSpacing: "0.1em"
171
159
  },
172
160
  loading: {
173
- color: f
161
+ color: h
174
162
  },
175
163
  dialogContent: {
176
164
  overflowX: "hidden",
@@ -179,12 +167,12 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
179
167
  },
180
168
  dialogCommand: {
181
169
  "& [cmdk-group-heading]": {
182
- color: f,
170
+ color: h,
183
171
  paddingLeft: r,
184
172
  paddingRight: r,
185
- fontWeight: y
173
+ fontWeight: v
186
174
  },
187
- [`& [${m}="command-input-wrapper"]`]: {
175
+ [`& [${i}="command-input-wrapper"]`]: {
188
176
  height: "3rem"
189
177
  },
190
178
  "& [cmdk-group]": {
@@ -194,8 +182,8 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
194
182
  "& [cmdk-item]": {
195
183
  paddingLeft: r,
196
184
  paddingRight: r,
197
- paddingTop: g,
198
- paddingBottom: g
185
+ paddingTop: u,
186
+ paddingBottom: u
199
187
  },
200
188
  "& [cmdk-item] svg": {
201
189
  width: "1.25rem",
@@ -227,276 +215,164 @@ const X = (t) => /* @__PURE__ */ n.jsxDEV(
227
215
  whiteSpace: "nowrap",
228
216
  ...c.borderWidth(0)
229
217
  }
230
- }), A = s.forwardRef(function({ className: o, "data-slot": e = "command", ...a }, i) {
231
- const u = d();
232
- return /* @__PURE__ */ n.jsxDEV(
218
+ }), G = s.forwardRef(function({ className: t, "data-slot": o = "command", ...e }, a) {
219
+ const g = l();
220
+ return /* @__PURE__ */ n(
233
221
  p,
234
222
  {
235
- ref: i,
236
- "data-slot": e,
237
- [m]: e,
238
- className: l(u.root, o),
239
- ...a
240
- },
241
- void 0,
242
- !1,
243
- {
244
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
245
- lineNumber: 242,
246
- columnNumber: 5
247
- },
248
- this
223
+ ref: a,
224
+ "data-slot": o,
225
+ [i]: o,
226
+ className: m(g.root, t),
227
+ ...e
228
+ }
249
229
  );
250
230
  });
251
231
  s.forwardRef(
252
232
  function({
253
- title: o = "Command Palette",
254
- description: e = "Search for a command to run...",
255
- children: a,
256
- className: i,
257
- showCloseButton: u = !0,
258
- ...E
259
- }, H) {
260
- const x = d();
261
- return /* @__PURE__ */ n.jsxDEV(L, { ...E, children: [
262
- /* @__PURE__ */ n.jsxDEV(q, { className: x.srOnly, children: [
263
- /* @__PURE__ */ n.jsxDEV(I, { children: o }, void 0, !1, {
264
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
265
- lineNumber: 280,
266
- columnNumber: 11
267
- }, this),
268
- /* @__PURE__ */ n.jsxDEV(B, { children: e }, void 0, !1, {
269
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
270
- lineNumber: 281,
271
- columnNumber: 11
272
- }, this)
273
- ] }, void 0, !0, {
274
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
275
- lineNumber: 279,
276
- columnNumber: 9
277
- }, this),
278
- /* @__PURE__ */ n.jsxDEV(
279
- W,
233
+ title: t = "Command Palette",
234
+ description: o = "Search for a command to run...",
235
+ children: e,
236
+ className: a,
237
+ showCloseButton: g = !0,
238
+ ...k
239
+ }, O) {
240
+ const w = l();
241
+ return /* @__PURE__ */ R(W, { ...k, children: [
242
+ /* @__PURE__ */ R(X, { className: w.srOnly, children: [
243
+ /* @__PURE__ */ n(A, { children: t }),
244
+ /* @__PURE__ */ n(H, { children: o })
245
+ ] }),
246
+ /* @__PURE__ */ n(
247
+ z,
280
248
  {
281
- className: l(x.dialogContent, i),
282
- showCloseButton: u,
283
- children: /* @__PURE__ */ n.jsxDEV(A, { className: x.dialogCommand, children: a }, void 0, !1, {
284
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
285
- lineNumber: 287,
286
- columnNumber: 11
287
- }, this)
288
- },
289
- void 0,
290
- !1,
291
- {
292
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
293
- lineNumber: 283,
294
- columnNumber: 9
295
- },
296
- this
249
+ className: m(w.dialogContent, a),
250
+ showCloseButton: g,
251
+ children: /* @__PURE__ */ n(G, { className: w.dialogCommand, children: e })
252
+ }
297
253
  )
298
- ] }, void 0, !0, {
299
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
300
- lineNumber: 278,
301
- columnNumber: 7
302
- }, this);
254
+ ] });
303
255
  }
304
256
  );
305
- const Z = s.forwardRef(function({ className: o, wrapperClassName: e, ...a }, i) {
306
- const u = d();
307
- return /* @__PURE__ */ n.jsxDEV(
257
+ const V = s.forwardRef(function({ className: t, wrapperClassName: o, ...e }, a) {
258
+ const g = l();
259
+ return /* @__PURE__ */ R(
308
260
  "div",
309
261
  {
310
262
  "data-slot": "command-input-wrapper",
311
- [m]: "command-input-wrapper",
312
- className: l(u.inputWrapper, e),
263
+ [i]: "command-input-wrapper",
264
+ className: m(g.inputWrapper, o),
313
265
  children: [
314
- /* @__PURE__ */ n.jsxDEV(X, { className: u.searchIcon }, void 0, !1, {
315
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
316
- lineNumber: 312,
317
- columnNumber: 7
318
- }, this),
319
- /* @__PURE__ */ n.jsxDEV(
266
+ /* @__PURE__ */ n(Y, { className: g.searchIcon }),
267
+ /* @__PURE__ */ n(
320
268
  p.Input,
321
269
  {
322
- ref: i,
270
+ ref: a,
323
271
  "data-slot": "command-input",
324
- [m]: "command-input",
325
- className: l(u.input, o),
326
- ...a
327
- },
328
- void 0,
329
- !1,
330
- {
331
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
332
- lineNumber: 313,
333
- columnNumber: 7
334
- },
335
- this
272
+ [i]: "command-input",
273
+ className: m(g.input, t),
274
+ ...e
275
+ }
336
276
  )
337
277
  ]
338
- },
339
- void 0,
340
- !0,
341
- {
342
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
343
- lineNumber: 307,
344
- columnNumber: 5
345
- },
346
- this
278
+ }
347
279
  );
348
- }), F = s.forwardRef(function({ className: o, ...e }, a) {
349
- const i = d();
350
- return /* @__PURE__ */ n.jsxDEV(
280
+ }), J = s.forwardRef(function({ className: t, ...o }, e) {
281
+ const a = l();
282
+ return /* @__PURE__ */ n(
351
283
  p.List,
352
284
  {
353
- ref: a,
285
+ ref: e,
354
286
  "data-slot": "command-list",
355
- [m]: "command-list",
356
- className: l(i.list, o),
357
- ...e
358
- },
359
- void 0,
360
- !1,
361
- {
362
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
363
- lineNumber: 335,
364
- columnNumber: 5
365
- },
366
- this
287
+ [i]: "command-list",
288
+ className: m(a.list, t),
289
+ ...o
290
+ }
367
291
  );
368
- }), Q = s.forwardRef(function({ className: o, ...e }, a) {
369
- const i = d();
370
- return /* @__PURE__ */ n.jsxDEV(
292
+ }), K = s.forwardRef(function({ className: t, ...o }, e) {
293
+ const a = l();
294
+ return /* @__PURE__ */ n(
371
295
  p.Empty,
372
296
  {
373
- ref: a,
297
+ ref: e,
374
298
  "data-slot": "command-empty",
375
- [m]: "command-empty",
376
- className: l(i.empty, o),
377
- ...e
378
- },
379
- void 0,
380
- !1,
381
- {
382
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
383
- lineNumber: 356,
384
- columnNumber: 5
385
- },
386
- this
299
+ [i]: "command-empty",
300
+ className: m(a.empty, t),
301
+ ...o
302
+ }
387
303
  );
388
- }), J = s.forwardRef(function({ className: o, ...e }, a) {
389
- const i = d();
390
- return /* @__PURE__ */ n.jsxDEV(
304
+ }), U = s.forwardRef(function({ className: t, ...o }, e) {
305
+ const a = l();
306
+ return /* @__PURE__ */ n(
391
307
  p.Group,
392
308
  {
393
- ref: a,
309
+ ref: e,
394
310
  "data-slot": "command-group",
395
- [m]: "command-group",
396
- className: l(i.group, o),
397
- ...e
398
- },
399
- void 0,
400
- !1,
401
- {
402
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
403
- lineNumber: 377,
404
- columnNumber: 5
405
- },
406
- this
311
+ [i]: "command-group",
312
+ className: m(a.group, t),
313
+ ...o
314
+ }
407
315
  );
408
- }), K = s.forwardRef(function({ className: o, ...e }, a) {
409
- const i = d();
410
- return /* @__PURE__ */ n.jsxDEV(
316
+ }), oo = s.forwardRef(function({ className: t, ...o }, e) {
317
+ const a = l();
318
+ return /* @__PURE__ */ n(
411
319
  p.Separator,
412
320
  {
413
- ref: a,
321
+ ref: e,
414
322
  "data-slot": "command-separator",
415
- [m]: "command-separator",
416
- className: l(i.separator, o),
417
- ...e
418
- },
419
- void 0,
420
- !1,
421
- {
422
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
423
- lineNumber: 398,
424
- columnNumber: 5
425
- },
426
- this
323
+ [i]: "command-separator",
324
+ className: m(a.separator, t),
325
+ ...o
326
+ }
427
327
  );
428
- }), ee = s.forwardRef(function({ className: o, ...e }, a) {
429
- const i = d();
430
- return /* @__PURE__ */ n.jsxDEV(
328
+ }), to = s.forwardRef(function({ className: t, ...o }, e) {
329
+ const a = l();
330
+ return /* @__PURE__ */ n(
431
331
  p.Item,
432
332
  {
433
- ref: a,
333
+ ref: e,
434
334
  "data-slot": "command-item",
435
- [m]: "command-item",
436
- className: l(i.item, o),
437
- ...e
438
- },
439
- void 0,
440
- !1,
441
- {
442
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
443
- lineNumber: 419,
444
- columnNumber: 5
445
- },
446
- this
335
+ [i]: "command-item",
336
+ className: m(a.item, t),
337
+ ...o
338
+ }
447
339
  );
448
340
  });
449
- s.forwardRef(function({ className: o, ...e }, a) {
450
- const i = d();
451
- return /* @__PURE__ */ n.jsxDEV(
341
+ s.forwardRef(function({ className: t, ...o }, e) {
342
+ const a = l();
343
+ return /* @__PURE__ */ n(
452
344
  "span",
453
345
  {
454
- ref: a,
346
+ ref: e,
455
347
  "data-slot": "command-shortcut",
456
- [m]: "command-shortcut",
457
- className: l(i.shortcut, o),
458
- ...e
459
- },
460
- void 0,
461
- !1,
462
- {
463
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
464
- lineNumber: 438,
465
- columnNumber: 5
466
- },
467
- this
348
+ [i]: "command-shortcut",
349
+ className: m(a.shortcut, t),
350
+ ...o
351
+ }
468
352
  );
469
353
  });
470
- const oe = s.forwardRef(function({ className: o, ...e }, a) {
471
- const i = d();
472
- return /* @__PURE__ */ n.jsxDEV(
354
+ const eo = s.forwardRef(function({ className: t, ...o }, e) {
355
+ const a = l();
356
+ return /* @__PURE__ */ n(
473
357
  p.Loading,
474
358
  {
475
- ref: a,
359
+ ref: e,
476
360
  "data-slot": "command-loading",
477
- [m]: "command-loading",
478
- className: l(i.loading, o),
479
- ...e
480
- },
481
- void 0,
482
- !1,
483
- {
484
- fileName: "/Users/wilianmolinari/repos/volt-ui-rollout/release/packages/experimental-griffel/src/components/command/command.tsx",
485
- lineNumber: 459,
486
- columnNumber: 5
487
- },
488
- this
361
+ [i]: "command-loading",
362
+ className: m(a.loading, t),
363
+ ...o
364
+ }
489
365
  );
490
366
  });
491
367
  export {
492
- A as Command,
493
- Q as CommandEmpty,
494
- J as CommandGroup,
495
- Z as CommandInput,
496
- ee as CommandItem,
497
- F as CommandList,
498
- oe as CommandLoading,
499
- A as CommandRoot,
500
- K as CommandSeparator
368
+ G as Command,
369
+ K as CommandEmpty,
370
+ U as CommandGroup,
371
+ V as CommandInput,
372
+ to as CommandItem,
373
+ J as CommandList,
374
+ eo as CommandLoading,
375
+ G as CommandRoot,
376
+ oo as CommandSeparator
501
377
  };
502
378
  //# sourceMappingURL=command.js.map