impact-nova 1.6.7 → 1.7.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.
- package/dist/components/ui/calendar.js +3 -2
- package/dist/components/ui/command-palette/command-palette.d.ts +3 -3
- package/dist/components/ui/command-palette/command-palette.js +193 -145
- package/dist/components/ui/data-table/data-table-column-list.js +107 -103
- package/dist/components/ui/data-table/data-table-column-state.d.ts +16 -0
- package/dist/components/ui/data-table/data-table-column-state.js +29 -0
- package/dist/components/ui/data-table/data-table-constants.d.ts +6 -3
- package/dist/components/ui/data-table/data-table-constants.js +3 -2
- package/dist/components/ui/data-table/data-table-view-menu.d.ts +16 -0
- package/dist/components/ui/data-table/data-table-view-menu.js +133 -0
- package/dist/components/ui/data-table/data-table.js +36 -27
- package/dist/components/ui/data-table/index.d.ts +1 -1
- package/dist/components/ui/data-table/index.js +24 -19
- package/dist/components/ui/dropdown-menu.js +10 -4
- package/dist/components/ui/filter-strip/filter-summary.js +198 -118
- package/dist/components/ui/sheet.js +57 -34
- package/dist/components/ui/tooltip.js +37 -26
- package/dist/i18n/defaultMessages.d.ts +2 -0
- package/dist/i18n/defaultMessages.js +6 -4
- package/dist/i18n/locales/de.js +2 -0
- package/dist/i18n/locales/es.js +2 -0
- package/dist/i18n/locales/hi.js +2 -0
- package/dist/i18n/locales/kn.js +2 -0
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +287 -282
- package/package.json +1 -1
- package/dist/components/ui/data-table/data-table-view-options.d.ts +0 -8
- package/dist/components/ui/data-table/data-table-view-options.js +0 -97
|
@@ -4,12 +4,13 @@ import { ChevronLeftIcon as ye, ChevronRightIcon as Ne } from "lucide-react";
|
|
|
4
4
|
import { getDefaultClassNames as Fe, DayPicker as Te } from "react-day-picker";
|
|
5
5
|
import { cn as f } from "../../lib/utils.js";
|
|
6
6
|
import { Button as P } from "./button.js";
|
|
7
|
+
import "./button-variants.js";
|
|
7
8
|
import fe from "./select/select.js";
|
|
8
9
|
import { FISCAL_PATTERNS as Ke, resolveWeekSelection as We } from "../../lib/fiscal-calendar.js";
|
|
9
10
|
import { getIntlLocale as qe, getDateFnsLocale as Ge } from "../../i18n/getDateFnsLocale.js";
|
|
10
11
|
import { useImpactNovaI18n as Je } from "../../i18n/ImpactNovaI18nContext.js";
|
|
11
12
|
const de = d.createContext(0);
|
|
12
|
-
function
|
|
13
|
+
function lt({
|
|
13
14
|
className: oe,
|
|
14
15
|
classNames: J,
|
|
15
16
|
showOutsideDays: y = !1,
|
|
@@ -777,6 +778,6 @@ function Qe({
|
|
|
777
778
|
);
|
|
778
779
|
}
|
|
779
780
|
export {
|
|
780
|
-
|
|
781
|
+
lt as Calendar,
|
|
781
782
|
Qe as CalendarDayButton
|
|
782
783
|
};
|
|
@@ -11,7 +11,7 @@ import { CommandDefinition, KeyBinding } from './utils';
|
|
|
11
11
|
* CommandPaletteGroup, CommandPaletteItem, CommandPaletteShortcut,
|
|
12
12
|
* CommandPaletteEmpty, CommandPaletteSeparator, CommandPaletteFooter
|
|
13
13
|
*/
|
|
14
|
-
import * as React from
|
|
14
|
+
import * as React from "react";
|
|
15
15
|
interface CommandPaletteLabels {
|
|
16
16
|
/** Placeholder text for the search input */
|
|
17
17
|
placeholder?: string;
|
|
@@ -46,7 +46,7 @@ declare function CommandPalette({ className, children, commands: externalCommand
|
|
|
46
46
|
declare namespace CommandPalette {
|
|
47
47
|
var displayName: string;
|
|
48
48
|
}
|
|
49
|
-
export interface CommandPaletteInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>,
|
|
49
|
+
export interface CommandPaletteInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
|
|
50
50
|
onValueChange?: (value: string) => void;
|
|
51
51
|
}
|
|
52
52
|
declare const CommandPaletteInput: React.ForwardRefExoticComponent<CommandPaletteInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -55,7 +55,7 @@ export interface CommandPaletteGroupProps extends React.HTMLAttributes<HTMLDivEl
|
|
|
55
55
|
heading?: string;
|
|
56
56
|
}
|
|
57
57
|
declare const CommandPaletteGroup: React.ForwardRefExoticComponent<CommandPaletteGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
-
export interface CommandPaletteItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
58
|
+
export interface CommandPaletteItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
59
59
|
command: CommandDefinition;
|
|
60
60
|
isSelected?: boolean;
|
|
61
61
|
onSelect?: () => void;
|
|
@@ -38,7 +38,13 @@ function fe({
|
|
|
38
38
|
onCommandExecute: O,
|
|
39
39
|
onOpenChange: W
|
|
40
40
|
}) {
|
|
41
|
-
const {
|
|
41
|
+
const {
|
|
42
|
+
open: E,
|
|
43
|
+
setOpen: Y,
|
|
44
|
+
getPaletteCommands: Z,
|
|
45
|
+
getEffectiveKeybinding: G,
|
|
46
|
+
registry: k
|
|
47
|
+
} = ie(), [y, $] = r.useState(""), [N, g] = r.useState(0), A = r.useRef(null), F = r.useRef(null), j = r.useMemo(() => (n ?? Z()).filter((s) => {
|
|
42
48
|
const u = s.source ?? "user";
|
|
43
49
|
return u === "user" || u === "ag-grid";
|
|
44
50
|
}), [n, E]), q = r.useMemo(() => {
|
|
@@ -51,7 +57,9 @@ function fe({
|
|
|
51
57
|
const s = k.getRecentCommandIds(), u = new Set(s), x = [], C = [];
|
|
52
58
|
for (const h of t)
|
|
53
59
|
u.has(h.item.id) ? x.push(h) : C.push(h);
|
|
54
|
-
return x.sort(
|
|
60
|
+
return x.sort(
|
|
61
|
+
(h, oe) => s.indexOf(h.item.id) - s.indexOf(oe.item.id)
|
|
62
|
+
), [...x, ...C];
|
|
55
63
|
}
|
|
56
64
|
return t;
|
|
57
65
|
}, [j, y, k]), T = r.useMemo(
|
|
@@ -66,7 +74,10 @@ function fe({
|
|
|
66
74
|
defaultGroupLabel: d
|
|
67
75
|
}),
|
|
68
76
|
[T, y, k, f, d]
|
|
69
|
-
), { groups: te, orderedCommands: b } = ee, S = r.useRef({
|
|
77
|
+
), { groups: te, orderedCommands: b } = ee, S = r.useRef({
|
|
78
|
+
ordered: b,
|
|
79
|
+
index: N
|
|
80
|
+
});
|
|
70
81
|
S.current = { ordered: b, index: N }, r.useEffect(() => {
|
|
71
82
|
E && ($(""), g(0), requestAnimationFrame(() => {
|
|
72
83
|
A.current?.focus();
|
|
@@ -74,9 +85,12 @@ function fe({
|
|
|
74
85
|
}, [E]);
|
|
75
86
|
const K = (t) => {
|
|
76
87
|
Y(t), W?.(t);
|
|
77
|
-
}, w = r.useCallback(
|
|
78
|
-
|
|
79
|
-
|
|
88
|
+
}, w = r.useCallback(
|
|
89
|
+
(t) => {
|
|
90
|
+
t.handler(), k.addRecentCommand(t.id), O?.(t), K(!1);
|
|
91
|
+
},
|
|
92
|
+
[k, O]
|
|
93
|
+
), ae = r.useCallback(
|
|
80
94
|
(t) => {
|
|
81
95
|
const { ordered: s } = S.current, u = Math.max(s.length - 1, 0);
|
|
82
96
|
switch (t.key) {
|
|
@@ -114,7 +128,9 @@ function fe({
|
|
|
114
128
|
}, [b.length]), r.useLayoutEffect(() => {
|
|
115
129
|
const t = F.current;
|
|
116
130
|
if (!t) return;
|
|
117
|
-
const s = t.querySelector(
|
|
131
|
+
const s = t.querySelector(
|
|
132
|
+
'[data-selected="true"]'
|
|
133
|
+
);
|
|
118
134
|
s && s.scrollIntoView({
|
|
119
135
|
block: "nearest",
|
|
120
136
|
inline: "nearest",
|
|
@@ -156,12 +172,7 @@ function fe({
|
|
|
156
172
|
]
|
|
157
173
|
), re = r.Children.count(a) > 0;
|
|
158
174
|
return /* @__PURE__ */ e(P.Root, { open: E, onOpenChange: K, children: /* @__PURE__ */ c(P.Portal, { children: [
|
|
159
|
-
/* @__PURE__ */ e(
|
|
160
|
-
P.Overlay,
|
|
161
|
-
{
|
|
162
|
-
className: "fixed inset-0 z-50 bg-scrim data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
|
|
163
|
-
}
|
|
164
|
-
),
|
|
175
|
+
/* @__PURE__ */ e(P.Overlay, { className: "fixed inset-0 z-50 bg-scrim data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }),
|
|
165
176
|
/* @__PURE__ */ c(
|
|
166
177
|
P.Content,
|
|
167
178
|
{
|
|
@@ -184,30 +195,30 @@ function fe({
|
|
|
184
195
|
children: [
|
|
185
196
|
/* @__PURE__ */ e(P.Title, { className: "sr-only", children: "Command Palette" }),
|
|
186
197
|
/* @__PURE__ */ e(R.Provider, { value: ne, children: re ? a : /* @__PURE__ */ c(se, { children: [
|
|
187
|
-
/* @__PURE__ */ e(
|
|
188
|
-
|
|
198
|
+
/* @__PURE__ */ e(U, { ref: A, placeholder: i }),
|
|
199
|
+
/* @__PURE__ */ e(_, { ref: F, children: b.length === 0 ? /* @__PURE__ */ e(V, {}) : te.map((t, s) => /* @__PURE__ */ c(
|
|
200
|
+
r.Fragment,
|
|
189
201
|
{
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
] }, `${t.heading}-${t.rowStart}`)) }),
|
|
202
|
+
children: [
|
|
203
|
+
s > 0 && /* @__PURE__ */ e(X, {}),
|
|
204
|
+
/* @__PURE__ */ e(B, { heading: t.heading, children: t.items.map((u, x) => {
|
|
205
|
+
const C = t.rowStart + x, h = G(u.id);
|
|
206
|
+
return /* @__PURE__ */ e(
|
|
207
|
+
H,
|
|
208
|
+
{
|
|
209
|
+
command: u,
|
|
210
|
+
isSelected: C === N,
|
|
211
|
+
onSelect: () => w(u),
|
|
212
|
+
onMouseEnter: () => g(C),
|
|
213
|
+
keybinding: h
|
|
214
|
+
},
|
|
215
|
+
u.id
|
|
216
|
+
);
|
|
217
|
+
}) })
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
`${t.heading}-${t.rowStart}`
|
|
221
|
+
)) }),
|
|
211
222
|
/* @__PURE__ */ e(J, {})
|
|
212
223
|
] }) })
|
|
213
224
|
]
|
|
@@ -216,52 +227,50 @@ function fe({
|
|
|
216
227
|
] }) });
|
|
217
228
|
}
|
|
218
229
|
fe.displayName = "CommandPalette";
|
|
219
|
-
const U = r.forwardRef(
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
230
|
+
const U = r.forwardRef(({ className: o, placeholder: a, onValueChange: n, ...i }, m) => {
|
|
231
|
+
const { query: p, setQuery: f } = r.useContext(R);
|
|
232
|
+
return /* @__PURE__ */ c(
|
|
233
|
+
"div",
|
|
234
|
+
{
|
|
235
|
+
className: l(
|
|
236
|
+
"flex items-center gap-3 border-b border-stroke-hairline px-4",
|
|
237
|
+
o
|
|
238
|
+
),
|
|
239
|
+
"data-command-palette-input": !0,
|
|
240
|
+
children: [
|
|
241
|
+
/* @__PURE__ */ e(Q, { className: "h-4 w-4 shrink-0 text-content-muted" }),
|
|
242
|
+
/* @__PURE__ */ e(
|
|
243
|
+
"input",
|
|
244
|
+
{
|
|
245
|
+
ref: m,
|
|
246
|
+
value: p,
|
|
247
|
+
onChange: (d) => {
|
|
248
|
+
f(d.target.value), n?.(d.target.value);
|
|
249
|
+
},
|
|
250
|
+
placeholder: a,
|
|
251
|
+
autoComplete: "off",
|
|
252
|
+
autoCorrect: "off",
|
|
253
|
+
spellCheck: !1,
|
|
254
|
+
className: l(
|
|
255
|
+
"flex h-12 w-full bg-transparent py-3 text-sm font-medium outline-none",
|
|
256
|
+
"placeholder:text-content-muted"
|
|
257
|
+
),
|
|
258
|
+
...i
|
|
259
|
+
}
|
|
228
260
|
),
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
"
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
autoCorrect: "off",
|
|
243
|
-
spellCheck: !1,
|
|
244
|
-
className: l(
|
|
245
|
-
"flex h-12 w-full bg-transparent py-3 text-sm font-medium outline-none",
|
|
246
|
-
"placeholder:text-content-muted"
|
|
247
|
-
),
|
|
248
|
-
...i
|
|
249
|
-
}
|
|
250
|
-
),
|
|
251
|
-
/* @__PURE__ */ e(
|
|
252
|
-
v,
|
|
253
|
-
{
|
|
254
|
-
keybinding: { key: "Escape" },
|
|
255
|
-
size: "sm",
|
|
256
|
-
variant: "muted",
|
|
257
|
-
className: "shrink-0"
|
|
258
|
-
}
|
|
259
|
-
)
|
|
260
|
-
]
|
|
261
|
-
}
|
|
262
|
-
);
|
|
263
|
-
}
|
|
264
|
-
);
|
|
261
|
+
/* @__PURE__ */ e(
|
|
262
|
+
v,
|
|
263
|
+
{
|
|
264
|
+
keybinding: { key: "Escape" },
|
|
265
|
+
size: "sm",
|
|
266
|
+
variant: "muted",
|
|
267
|
+
className: "shrink-0"
|
|
268
|
+
}
|
|
269
|
+
)
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
);
|
|
273
|
+
});
|
|
265
274
|
U.displayName = "CommandPaletteInput";
|
|
266
275
|
const _ = r.forwardRef(({ className: o, children: a, ...n }, i) => /* @__PURE__ */ e(
|
|
267
276
|
"div",
|
|
@@ -278,25 +287,26 @@ const _ = r.forwardRef(({ className: o, children: a, ...n }, i) => /* @__PURE__
|
|
|
278
287
|
}
|
|
279
288
|
));
|
|
280
289
|
_.displayName = "CommandPaletteList";
|
|
281
|
-
const B = r.forwardRef(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
children:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
)
|
|
297
|
-
);
|
|
290
|
+
const B = r.forwardRef(({ className: o, heading: a, children: n, ...i }, m) => /* @__PURE__ */ c(
|
|
291
|
+
"div",
|
|
292
|
+
{
|
|
293
|
+
ref: m,
|
|
294
|
+
role: "group",
|
|
295
|
+
"aria-label": a,
|
|
296
|
+
"data-command-palette-group": !0,
|
|
297
|
+
className: l("py-1", o),
|
|
298
|
+
...i,
|
|
299
|
+
children: [
|
|
300
|
+
a && /* @__PURE__ */ e("div", { className: "px-4 py-1.5 text-[10px] font-semibold uppercase tracking-wider text-content-muted", children: a }),
|
|
301
|
+
n
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
));
|
|
298
305
|
B.displayName = "CommandPaletteGroup";
|
|
299
|
-
function xe({
|
|
306
|
+
function xe({
|
|
307
|
+
source: o,
|
|
308
|
+
isSelected: a
|
|
309
|
+
}) {
|
|
300
310
|
if (!o || o === "user") return null;
|
|
301
311
|
const n = me[o];
|
|
302
312
|
return n ? /* @__PURE__ */ e(
|
|
@@ -310,51 +320,80 @@ function xe({ source: o, isSelected: a }) {
|
|
|
310
320
|
}
|
|
311
321
|
) : null;
|
|
312
322
|
}
|
|
313
|
-
const H = r.forwardRef(
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
323
|
+
const H = r.forwardRef(({ className: o, command: a, isSelected: n, onSelect: i, keybinding: m, ...p }, f) => {
|
|
324
|
+
const d = pe(a.source);
|
|
325
|
+
return /* @__PURE__ */ c(
|
|
326
|
+
"div",
|
|
327
|
+
{
|
|
328
|
+
ref: f,
|
|
329
|
+
role: "option",
|
|
330
|
+
"aria-selected": n,
|
|
331
|
+
"data-selected": n,
|
|
332
|
+
"data-command-palette-item": !0,
|
|
333
|
+
"data-command-id": a.id,
|
|
334
|
+
onClick: i,
|
|
335
|
+
className: l(
|
|
336
|
+
"flex items-center gap-3 cursor-pointer px-4 py-2 text-sm",
|
|
337
|
+
// Smooth selection shift; scroll-margin keeps row clear of list edges when scrolling into view
|
|
338
|
+
"transition-[color,background-color] duration-150 ease-out [scroll-margin-block:6px]",
|
|
339
|
+
n ? "bg-brand text-brand-foreground" : d ? "text-content-muted hover:bg-canvas-muted" : "text-content-charcoal hover:bg-canvas-muted",
|
|
340
|
+
o
|
|
341
|
+
),
|
|
342
|
+
...p,
|
|
343
|
+
children: [
|
|
344
|
+
a.icon && /* @__PURE__ */ e(
|
|
345
|
+
"span",
|
|
346
|
+
{
|
|
347
|
+
className: l(
|
|
348
|
+
"flex h-4 w-4 shrink-0 items-center justify-center",
|
|
349
|
+
n ? "text-brand-foreground" : d ? "text-stroke-hairline" : "text-content-muted"
|
|
350
|
+
),
|
|
351
|
+
children: a.icon
|
|
352
|
+
}
|
|
332
353
|
),
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
)
|
|
354
|
+
/* @__PURE__ */ c("div", { className: "flex flex-1 flex-col min-w-0", children: [
|
|
355
|
+
/* @__PURE__ */ e(
|
|
356
|
+
"span",
|
|
357
|
+
{
|
|
358
|
+
className: l(
|
|
359
|
+
"truncate",
|
|
360
|
+
d && !n ? "font-normal" : "font-medium"
|
|
361
|
+
),
|
|
362
|
+
children: a.label
|
|
363
|
+
}
|
|
364
|
+
),
|
|
365
|
+
a.description && /* @__PURE__ */ e(
|
|
366
|
+
"span",
|
|
367
|
+
{
|
|
368
|
+
className: l(
|
|
369
|
+
"truncate text-xs",
|
|
370
|
+
n ? "text-brand-foreground/70" : d ? "text-stroke-hairline" : "text-content-muted"
|
|
371
|
+
),
|
|
372
|
+
children: a.description
|
|
373
|
+
}
|
|
374
|
+
)
|
|
375
|
+
] }),
|
|
376
|
+
/* @__PURE__ */ e(xe, { source: a.source, isSelected: n }),
|
|
377
|
+
m && /* @__PURE__ */ e(
|
|
378
|
+
L,
|
|
379
|
+
{
|
|
380
|
+
keybinding: m,
|
|
381
|
+
isSelected: n,
|
|
382
|
+
external: d
|
|
383
|
+
}
|
|
384
|
+
)
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
);
|
|
388
|
+
});
|
|
356
389
|
H.displayName = "CommandPaletteItem";
|
|
357
|
-
function L({
|
|
390
|
+
function L({
|
|
391
|
+
keybinding: o,
|
|
392
|
+
isSelected: a,
|
|
393
|
+
external: n,
|
|
394
|
+
className: i,
|
|
395
|
+
...m
|
|
396
|
+
}) {
|
|
358
397
|
const p = ce(o);
|
|
359
398
|
return /* @__PURE__ */ e(
|
|
360
399
|
"span",
|
|
@@ -378,7 +417,10 @@ function L({ keybinding: o, isSelected: a, external: n, className: i, ...m }) {
|
|
|
378
417
|
);
|
|
379
418
|
}
|
|
380
419
|
L.displayName = "CommandPaletteShortcut";
|
|
381
|
-
function V({
|
|
420
|
+
function V({
|
|
421
|
+
className: o,
|
|
422
|
+
...a
|
|
423
|
+
}) {
|
|
382
424
|
const { emptyTitle: n, emptyDescription: i } = r.useContext(R);
|
|
383
425
|
return /* @__PURE__ */ c(
|
|
384
426
|
"div",
|
|
@@ -398,7 +440,10 @@ function V({ className: o, ...a }) {
|
|
|
398
440
|
);
|
|
399
441
|
}
|
|
400
442
|
V.displayName = "CommandPaletteEmpty";
|
|
401
|
-
function X({
|
|
443
|
+
function X({
|
|
444
|
+
className: o,
|
|
445
|
+
...a
|
|
446
|
+
}) {
|
|
402
447
|
return /* @__PURE__ */ e(
|
|
403
448
|
"div",
|
|
404
449
|
{
|
|
@@ -409,7 +454,10 @@ function X({ className: o, ...a }) {
|
|
|
409
454
|
);
|
|
410
455
|
}
|
|
411
456
|
X.displayName = "CommandPaletteSeparator";
|
|
412
|
-
function J({
|
|
457
|
+
function J({
|
|
458
|
+
className: o,
|
|
459
|
+
...a
|
|
460
|
+
}) {
|
|
413
461
|
const { navigateLabel: n, runLabel: i, closeLabel: m, configureShortcutsLabel: p } = r.useContext(R);
|
|
414
462
|
return /* @__PURE__ */ c(
|
|
415
463
|
"div",
|