@fea-ui/react 0.0.0 → 0.0.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.
- package/dist/index.cjs +3699 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2087 -895
- package/dist/index.d.mts +2087 -895
- package/dist/index.mjs +1017 -48
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { cn, cn as cn$1, tv } from "tailwind-variants";
|
|
2
|
-
import { Accordion, AlertDialog, Avatar, Button, Checkbox, CheckboxGroup, Collapsible, Dialog, Field, Fieldset, Form, Input, Menu, Meter, Popover, Progress, Radio, RadioGroup, Select, Separator, Slider, Switch, Tabs, Toast, Toggle, Tooltip } from "@base-ui/react";
|
|
3
|
-
import { Check, ChevronDown,
|
|
2
|
+
import { Accordion, AlertDialog, Autocomplete, Avatar, Button, Checkbox, CheckboxGroup, Collapsible, Combobox, ContextMenu, Dialog, Field, Fieldset, Form, Input, Menu, Meter, NavigationMenu, NumberField, Popover, PreviewCard, Progress, Radio, RadioGroup, ScrollArea, Select, Separator, Slider, Switch, Tabs, Toast, Toggle, Tooltip } from "@base-ui/react";
|
|
3
|
+
import { Check, ChevronDown, ChevronsUpDown, LucideAlertTriangle, LucideCheck, LucideCheckCircle, LucideChevronDown, LucideChevronUp, LucideChevronsLeftRight, LucideInfo, LucideLoader, LucideMenu, LucideMinus, LucidePanelLeftClose, LucidePanelLeftOpen, LucidePlus, LucideX, LucideXCircle, X } from "lucide-react";
|
|
4
4
|
import React, { createContext, useCallback, useContext, useMemo, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
7
6
|
|
|
8
7
|
//#region src/components/accordion/accordion.context.ts
|
|
9
8
|
const AccordionContext = createContext(null);
|
|
@@ -291,6 +290,195 @@ var alert_dialog_default = Object.assign(AlertDialog$1, {
|
|
|
291
290
|
Viewport: AlertDialogViewport
|
|
292
291
|
});
|
|
293
292
|
|
|
293
|
+
//#endregion
|
|
294
|
+
//#region src/components/autocomplete/autocomplete.context.ts
|
|
295
|
+
const AutocompleteContext = createContext(null);
|
|
296
|
+
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region src/components/autocomplete/autocomplete.variants.ts
|
|
299
|
+
/** biome-ignore-all assist/source/useSortedKeys: <> */
|
|
300
|
+
const autocompleteVariants = tv({ slots: {
|
|
301
|
+
root: "autcomplete",
|
|
302
|
+
input: "autocomplete__input",
|
|
303
|
+
trigger: "autocomplete__trigger",
|
|
304
|
+
icon: "autocomplete__icon",
|
|
305
|
+
clear: "autocomplete__clear",
|
|
306
|
+
value: "autocomplete__value",
|
|
307
|
+
portal: "autocomplete__portal",
|
|
308
|
+
backdrop: "autocomplete__backdrop",
|
|
309
|
+
positioner: "autocomplete__positioner",
|
|
310
|
+
popup: "autocomplete__popup",
|
|
311
|
+
arrow: "autocomplete__arrow",
|
|
312
|
+
status: "autocomplete__status",
|
|
313
|
+
empty: "autocomplete__empty",
|
|
314
|
+
list: "autocomplete__list",
|
|
315
|
+
row: "autocomplete__row",
|
|
316
|
+
item: "autocomplete__item",
|
|
317
|
+
separator: "autocomplete__separator",
|
|
318
|
+
group: "autocomplete__group",
|
|
319
|
+
groupLabel: "autocomplete__group-label"
|
|
320
|
+
} });
|
|
321
|
+
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region src/components/autocomplete/use-autocomplete.ts
|
|
324
|
+
const useAutocomplete = () => {
|
|
325
|
+
const context = useContext(AutocompleteContext);
|
|
326
|
+
if (!context) throw new Error("useAutocomplete must be used within a AutocompleteProvider");
|
|
327
|
+
return context;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/components/autocomplete/autocomplete.tsx
|
|
332
|
+
const Autocomplete$1 = ({ ...props }) => {
|
|
333
|
+
return /* @__PURE__ */ jsx(AutocompleteContext, {
|
|
334
|
+
value: { slots: useMemo(() => autocompleteVariants(), []) },
|
|
335
|
+
children: /* @__PURE__ */ jsx(Autocomplete.Root, { ...props })
|
|
336
|
+
});
|
|
337
|
+
};
|
|
338
|
+
const AutocompleteTrigger = ({ className, ...props }) => {
|
|
339
|
+
const { slots } = useAutocomplete();
|
|
340
|
+
return /* @__PURE__ */ jsx(Autocomplete.Trigger, {
|
|
341
|
+
className: cn$1(slots.trigger(), className),
|
|
342
|
+
...props
|
|
343
|
+
});
|
|
344
|
+
};
|
|
345
|
+
const AutocompleteInput = ({ className, ...props }) => {
|
|
346
|
+
const { slots } = useAutocomplete();
|
|
347
|
+
return /* @__PURE__ */ jsx(Autocomplete.Input, {
|
|
348
|
+
className: cn$1(slots.input(), className),
|
|
349
|
+
...props
|
|
350
|
+
});
|
|
351
|
+
};
|
|
352
|
+
const AutocompleteIcon = ({ className, ...props }) => {
|
|
353
|
+
const { slots } = useAutocomplete();
|
|
354
|
+
return /* @__PURE__ */ jsx(Autocomplete.Icon, {
|
|
355
|
+
className: cn$1(slots.icon(), className),
|
|
356
|
+
...props
|
|
357
|
+
});
|
|
358
|
+
};
|
|
359
|
+
const AutocompleteClear = ({ className, ...props }) => {
|
|
360
|
+
const { slots } = useAutocomplete();
|
|
361
|
+
return /* @__PURE__ */ jsx(Autocomplete.Clear, {
|
|
362
|
+
className: cn$1(slots.clear(), className),
|
|
363
|
+
...props
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
const AutocompleteValue = ({ ...props }) => {
|
|
367
|
+
return /* @__PURE__ */ jsx(Autocomplete.Value, { ...props });
|
|
368
|
+
};
|
|
369
|
+
const AutocompletePortal = ({ className, ...props }) => {
|
|
370
|
+
const { slots } = useAutocomplete();
|
|
371
|
+
return /* @__PURE__ */ jsx(Autocomplete.Portal, {
|
|
372
|
+
className: cn$1(slots.portal(), className),
|
|
373
|
+
...props
|
|
374
|
+
});
|
|
375
|
+
};
|
|
376
|
+
const AutocompleteBackdrop = ({ className, ...props }) => {
|
|
377
|
+
const { slots } = useAutocomplete();
|
|
378
|
+
return /* @__PURE__ */ jsx(Autocomplete.Backdrop, {
|
|
379
|
+
className: cn$1(slots.backdrop(), className),
|
|
380
|
+
...props
|
|
381
|
+
});
|
|
382
|
+
};
|
|
383
|
+
const AutocompletePositioner = ({ className, ...props }) => {
|
|
384
|
+
const { slots } = useAutocomplete();
|
|
385
|
+
return /* @__PURE__ */ jsx(Autocomplete.Positioner, {
|
|
386
|
+
className: cn$1(slots.positioner(), className),
|
|
387
|
+
...props
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
const AutocompletePopup = ({ className, ...props }) => {
|
|
391
|
+
const { slots } = useAutocomplete();
|
|
392
|
+
return /* @__PURE__ */ jsx(Autocomplete.Popup, {
|
|
393
|
+
className: cn$1(slots.popup(), className),
|
|
394
|
+
...props
|
|
395
|
+
});
|
|
396
|
+
};
|
|
397
|
+
const AutocompleteArrow = ({ className, ...props }) => {
|
|
398
|
+
const { slots } = useAutocomplete();
|
|
399
|
+
return /* @__PURE__ */ jsx(Autocomplete.Arrow, {
|
|
400
|
+
className: cn$1(slots.arrow(), className),
|
|
401
|
+
...props
|
|
402
|
+
});
|
|
403
|
+
};
|
|
404
|
+
const AutocompleteStatus = ({ className, ...props }) => {
|
|
405
|
+
const { slots } = useAutocomplete();
|
|
406
|
+
return /* @__PURE__ */ jsx(Autocomplete.Status, {
|
|
407
|
+
className: cn$1(slots.status(), className),
|
|
408
|
+
...props
|
|
409
|
+
});
|
|
410
|
+
};
|
|
411
|
+
const AutocompleteEmpty = ({ className, ...props }) => {
|
|
412
|
+
const { slots } = useAutocomplete();
|
|
413
|
+
return /* @__PURE__ */ jsx(Autocomplete.Empty, {
|
|
414
|
+
className: cn$1(slots.empty(), className),
|
|
415
|
+
...props
|
|
416
|
+
});
|
|
417
|
+
};
|
|
418
|
+
const AutocompleteList = ({ className, ...props }) => {
|
|
419
|
+
const { slots } = useAutocomplete();
|
|
420
|
+
return /* @__PURE__ */ jsx(Autocomplete.List, {
|
|
421
|
+
className: cn$1(slots.list(), className),
|
|
422
|
+
...props
|
|
423
|
+
});
|
|
424
|
+
};
|
|
425
|
+
const AutocompleteRow = ({ className, ...props }) => {
|
|
426
|
+
const { slots } = useAutocomplete();
|
|
427
|
+
return /* @__PURE__ */ jsx(Autocomplete.Row, {
|
|
428
|
+
className: cn$1(slots.row(), className),
|
|
429
|
+
...props
|
|
430
|
+
});
|
|
431
|
+
};
|
|
432
|
+
const AutocompleteItem = ({ className, ...props }) => {
|
|
433
|
+
const { slots } = useAutocomplete();
|
|
434
|
+
return /* @__PURE__ */ jsx(Autocomplete.Item, {
|
|
435
|
+
className: cn$1(slots.item(), className),
|
|
436
|
+
...props
|
|
437
|
+
});
|
|
438
|
+
};
|
|
439
|
+
const AutocompleteSeparator = ({ className, ...props }) => {
|
|
440
|
+
const { slots } = useAutocomplete();
|
|
441
|
+
return /* @__PURE__ */ jsx(Autocomplete.Separator, {
|
|
442
|
+
className: cn$1(slots.separator(), className),
|
|
443
|
+
...props
|
|
444
|
+
});
|
|
445
|
+
};
|
|
446
|
+
const AutocompleteGroup = ({ className, ...props }) => {
|
|
447
|
+
const { slots } = useAutocomplete();
|
|
448
|
+
return /* @__PURE__ */ jsx(Autocomplete.Group, {
|
|
449
|
+
className: cn$1(slots.group(), className),
|
|
450
|
+
...props
|
|
451
|
+
});
|
|
452
|
+
};
|
|
453
|
+
const AutocompleteGroupLabel = ({ className, ...props }) => {
|
|
454
|
+
const { slots } = useAutocomplete();
|
|
455
|
+
return /* @__PURE__ */ jsx(Autocomplete.GroupLabel, {
|
|
456
|
+
className: cn$1(slots.groupLabel(), className),
|
|
457
|
+
...props
|
|
458
|
+
});
|
|
459
|
+
};
|
|
460
|
+
var autocomplete_default = Object.assign(Autocomplete$1, {
|
|
461
|
+
Arrow: AutocompleteArrow,
|
|
462
|
+
Backdrop: AutocompleteBackdrop,
|
|
463
|
+
Clear: AutocompleteClear,
|
|
464
|
+
Empty: AutocompleteEmpty,
|
|
465
|
+
Group: AutocompleteGroup,
|
|
466
|
+
GroupLabel: AutocompleteGroupLabel,
|
|
467
|
+
Icon: AutocompleteIcon,
|
|
468
|
+
Input: AutocompleteInput,
|
|
469
|
+
Item: AutocompleteItem,
|
|
470
|
+
List: AutocompleteList,
|
|
471
|
+
Popup: AutocompletePopup,
|
|
472
|
+
Portal: AutocompletePortal,
|
|
473
|
+
Positioner: AutocompletePositioner,
|
|
474
|
+
Root: Autocomplete$1,
|
|
475
|
+
Row: AutocompleteRow,
|
|
476
|
+
Separator: AutocompleteSeparator,
|
|
477
|
+
Status: AutocompleteStatus,
|
|
478
|
+
Trigger: AutocompleteTrigger,
|
|
479
|
+
Value: AutocompleteValue
|
|
480
|
+
});
|
|
481
|
+
|
|
294
482
|
//#endregion
|
|
295
483
|
//#region src/components/avatar/avatar.context.ts
|
|
296
484
|
const AvatarContext = createContext(null);
|
|
@@ -651,6 +839,232 @@ var collapsible_default = Object.assign(Collapsible$1, {
|
|
|
651
839
|
TriggerIcon: CollapsibleTriggerIcon
|
|
652
840
|
});
|
|
653
841
|
|
|
842
|
+
//#endregion
|
|
843
|
+
//#region src/components/combobox/combobox.context.ts
|
|
844
|
+
const ComboboxContext = createContext(null);
|
|
845
|
+
|
|
846
|
+
//#endregion
|
|
847
|
+
//#region src/components/combobox/combobox.variants.ts
|
|
848
|
+
/** biome-ignore-all assist/source/useSortedKeys: believe me its better */
|
|
849
|
+
const comboboxVariants = tv({ slots: {
|
|
850
|
+
root: "combobox",
|
|
851
|
+
input: "combobox__input",
|
|
852
|
+
trigger: "combobox__trigger",
|
|
853
|
+
icon: "combobox__icon",
|
|
854
|
+
clear: "combobox__clear",
|
|
855
|
+
value: "combobox__value",
|
|
856
|
+
chips: "combobox__chips",
|
|
857
|
+
chip: "combobox__chip",
|
|
858
|
+
chipRemove: "combobox__chip-remove",
|
|
859
|
+
portal: "combobox__portal",
|
|
860
|
+
backdrop: "combobox__backdrop",
|
|
861
|
+
positioner: "combobox__positioner",
|
|
862
|
+
popup: "combobox__popup",
|
|
863
|
+
arrow: "combobox__arrow",
|
|
864
|
+
status: "combobox__status",
|
|
865
|
+
empty: "combobox__empty",
|
|
866
|
+
list: "combobox__list",
|
|
867
|
+
row: "combobox__row",
|
|
868
|
+
item: "combobox__item",
|
|
869
|
+
itemIndicator: "combobox__item-indicator",
|
|
870
|
+
separator: "combobox__separator",
|
|
871
|
+
group: "combobox__group",
|
|
872
|
+
groupLabel: "combobox__group-label"
|
|
873
|
+
} });
|
|
874
|
+
|
|
875
|
+
//#endregion
|
|
876
|
+
//#region src/components/combobox/use-combobox.ts
|
|
877
|
+
const useCombobox = () => {
|
|
878
|
+
const context = useContext(ComboboxContext);
|
|
879
|
+
if (!context) throw new Error("useCombobox must be used within a ComboboxProvider");
|
|
880
|
+
return context;
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
//#endregion
|
|
884
|
+
//#region src/components/combobox/combobox.tsx
|
|
885
|
+
const Combobox$1 = ({ ...props }) => {
|
|
886
|
+
const slots = useMemo(() => comboboxVariants(), []);
|
|
887
|
+
return /* @__PURE__ */ jsx(ComboboxContext.Provider, {
|
|
888
|
+
value: { slots },
|
|
889
|
+
children: /* @__PURE__ */ jsx(Combobox.Root, { ...props })
|
|
890
|
+
});
|
|
891
|
+
};
|
|
892
|
+
const ComboboxInput = ({ className, ...props }) => {
|
|
893
|
+
const { slots } = useCombobox();
|
|
894
|
+
return /* @__PURE__ */ jsx(Combobox.Input, {
|
|
895
|
+
className: cn$1(slots.input(), className),
|
|
896
|
+
...props
|
|
897
|
+
});
|
|
898
|
+
};
|
|
899
|
+
const ComboboxTrigger = ({ className, children, ...props }) => {
|
|
900
|
+
const { slots } = useCombobox();
|
|
901
|
+
return /* @__PURE__ */ jsxs(Combobox.Trigger, {
|
|
902
|
+
className: cn$1(slots.trigger(), className),
|
|
903
|
+
...props,
|
|
904
|
+
children: [children, /* @__PURE__ */ jsx(Combobox.Icon, {
|
|
905
|
+
className: slots.icon(),
|
|
906
|
+
children: /* @__PURE__ */ jsx(ChevronDown, {})
|
|
907
|
+
})]
|
|
908
|
+
});
|
|
909
|
+
};
|
|
910
|
+
const ComboboxValue = ({ ...props }) => {
|
|
911
|
+
const { slots } = useCombobox();
|
|
912
|
+
return /* @__PURE__ */ jsx("div", {
|
|
913
|
+
className: cn$1(slots.value()),
|
|
914
|
+
...props
|
|
915
|
+
});
|
|
916
|
+
};
|
|
917
|
+
const ComboboxClear = ({ className, ...props }) => {
|
|
918
|
+
const { slots } = useCombobox();
|
|
919
|
+
return /* @__PURE__ */ jsx(Combobox.Clear, {
|
|
920
|
+
className: cn$1(slots.clear(), className),
|
|
921
|
+
...props,
|
|
922
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
923
|
+
});
|
|
924
|
+
};
|
|
925
|
+
const ComboboxChips = ({ className, ...props }) => {
|
|
926
|
+
const { slots } = useCombobox();
|
|
927
|
+
return /* @__PURE__ */ jsx(Combobox.Chips, {
|
|
928
|
+
className: cn$1(slots.chips(), className),
|
|
929
|
+
...props
|
|
930
|
+
});
|
|
931
|
+
};
|
|
932
|
+
const ComboboxChip = ({ className, children, ...props }) => {
|
|
933
|
+
const { slots } = useCombobox();
|
|
934
|
+
return /* @__PURE__ */ jsxs(Combobox.Chip, {
|
|
935
|
+
className: cn$1(slots.chip(), className),
|
|
936
|
+
...props,
|
|
937
|
+
children: [children, /* @__PURE__ */ jsx(Combobox.ChipRemove, { className: slots.chipRemove() })]
|
|
938
|
+
});
|
|
939
|
+
};
|
|
940
|
+
const ComboboxChipRemove = ({ className, ...props }) => {
|
|
941
|
+
const { slots } = useCombobox();
|
|
942
|
+
return /* @__PURE__ */ jsx(Combobox.ChipRemove, {
|
|
943
|
+
className: cn$1(slots.chipRemove(), className),
|
|
944
|
+
...props
|
|
945
|
+
});
|
|
946
|
+
};
|
|
947
|
+
const ComboboxPortal = ({ ...props }) => {
|
|
948
|
+
return /* @__PURE__ */ jsx(Combobox.Portal, { ...props });
|
|
949
|
+
};
|
|
950
|
+
const ComboboxBackdrop = ({ className, ...props }) => {
|
|
951
|
+
const { slots } = useCombobox();
|
|
952
|
+
return /* @__PURE__ */ jsx(Combobox.Backdrop, {
|
|
953
|
+
className: cn$1(slots.backdrop(), className),
|
|
954
|
+
...props
|
|
955
|
+
});
|
|
956
|
+
};
|
|
957
|
+
const ComboboxPositioner = ({ className, ...props }) => {
|
|
958
|
+
const { slots } = useCombobox();
|
|
959
|
+
return /* @__PURE__ */ jsx(Combobox.Positioner, {
|
|
960
|
+
className: cn$1(slots.positioner(), className),
|
|
961
|
+
...props
|
|
962
|
+
});
|
|
963
|
+
};
|
|
964
|
+
const ComboboxPopup = ({ className, ...props }) => {
|
|
965
|
+
const { slots } = useCombobox();
|
|
966
|
+
return /* @__PURE__ */ jsx(Combobox.Popup, {
|
|
967
|
+
className: cn$1(slots.popup(), className),
|
|
968
|
+
...props
|
|
969
|
+
});
|
|
970
|
+
};
|
|
971
|
+
const ComboboxArrow = ({ className, ...props }) => {
|
|
972
|
+
const { slots } = useCombobox();
|
|
973
|
+
return /* @__PURE__ */ jsx(Combobox.Arrow, {
|
|
974
|
+
className: cn$1(slots.arrow(), className),
|
|
975
|
+
...props
|
|
976
|
+
});
|
|
977
|
+
};
|
|
978
|
+
const ComboboxStatus = ({ className, ...props }) => {
|
|
979
|
+
const { slots } = useCombobox();
|
|
980
|
+
return /* @__PURE__ */ jsx(Combobox.Status, {
|
|
981
|
+
className: cn$1(slots.status(), className),
|
|
982
|
+
...props
|
|
983
|
+
});
|
|
984
|
+
};
|
|
985
|
+
const ComboboxEmpty = ({ className, ...props }) => {
|
|
986
|
+
const { slots } = useCombobox();
|
|
987
|
+
return /* @__PURE__ */ jsx(Combobox.Empty, {
|
|
988
|
+
className: cn$1(slots.empty(), className),
|
|
989
|
+
...props
|
|
990
|
+
});
|
|
991
|
+
};
|
|
992
|
+
const ComboboxList = ({ className, ...props }) => {
|
|
993
|
+
const { slots } = useCombobox();
|
|
994
|
+
return /* @__PURE__ */ jsx(Combobox.List, {
|
|
995
|
+
className: cn$1(slots.list(), className),
|
|
996
|
+
...props
|
|
997
|
+
});
|
|
998
|
+
};
|
|
999
|
+
const ComboboxRow = ({ className, ...props }) => {
|
|
1000
|
+
const { slots } = useCombobox();
|
|
1001
|
+
return /* @__PURE__ */ jsx(Combobox.Row, {
|
|
1002
|
+
className: cn$1(slots.row(), className),
|
|
1003
|
+
...props
|
|
1004
|
+
});
|
|
1005
|
+
};
|
|
1006
|
+
const ComboboxItemIndicator = ({ className, children, ...props }) => {
|
|
1007
|
+
const { slots } = useCombobox();
|
|
1008
|
+
return /* @__PURE__ */ jsx(Combobox.ItemIndicator, {
|
|
1009
|
+
className: cn$1(slots.itemIndicator(), className),
|
|
1010
|
+
...props,
|
|
1011
|
+
children: children ?? /* @__PURE__ */ jsx(Check, {})
|
|
1012
|
+
});
|
|
1013
|
+
};
|
|
1014
|
+
const ComboboxItem = ({ className, children, ...props }) => {
|
|
1015
|
+
const { slots } = useCombobox();
|
|
1016
|
+
return /* @__PURE__ */ jsxs(Combobox.Item, {
|
|
1017
|
+
className: cn$1(slots.item(), className),
|
|
1018
|
+
...props,
|
|
1019
|
+
children: [/* @__PURE__ */ jsx(ComboboxItemIndicator, {}), children]
|
|
1020
|
+
});
|
|
1021
|
+
};
|
|
1022
|
+
const ComboboxSeparator = ({ className, ...props }) => {
|
|
1023
|
+
const { slots } = useCombobox();
|
|
1024
|
+
return /* @__PURE__ */ jsx(Combobox.Separator, {
|
|
1025
|
+
className: cn$1(slots.separator(), className),
|
|
1026
|
+
...props
|
|
1027
|
+
});
|
|
1028
|
+
};
|
|
1029
|
+
const ComboboxGroup = ({ className, ...props }) => {
|
|
1030
|
+
const { slots } = useCombobox();
|
|
1031
|
+
return /* @__PURE__ */ jsx(Combobox.Group, {
|
|
1032
|
+
className: cn$1(slots.group(), className),
|
|
1033
|
+
...props
|
|
1034
|
+
});
|
|
1035
|
+
};
|
|
1036
|
+
const ComboboxGroupLabel = ({ className, ...props }) => {
|
|
1037
|
+
const { slots } = useCombobox();
|
|
1038
|
+
return /* @__PURE__ */ jsx(Combobox.GroupLabel, {
|
|
1039
|
+
className: cn$1(slots.groupLabel(), className),
|
|
1040
|
+
...props
|
|
1041
|
+
});
|
|
1042
|
+
};
|
|
1043
|
+
var combobox_default = Object.assign(Combobox$1, {
|
|
1044
|
+
Arrow: ComboboxArrow,
|
|
1045
|
+
Backdrop: ComboboxBackdrop,
|
|
1046
|
+
Chip: ComboboxChip,
|
|
1047
|
+
ChipRemove: ComboboxChipRemove,
|
|
1048
|
+
Chips: ComboboxChips,
|
|
1049
|
+
Clear: ComboboxClear,
|
|
1050
|
+
Empty: ComboboxEmpty,
|
|
1051
|
+
Group: ComboboxGroup,
|
|
1052
|
+
GroupLabel: ComboboxGroupLabel,
|
|
1053
|
+
Input: ComboboxInput,
|
|
1054
|
+
Item: ComboboxItem,
|
|
1055
|
+
ItemIndicator: ComboboxItemIndicator,
|
|
1056
|
+
List: ComboboxList,
|
|
1057
|
+
Popup: ComboboxPopup,
|
|
1058
|
+
Portal: ComboboxPortal,
|
|
1059
|
+
Positioner: ComboboxPositioner,
|
|
1060
|
+
Root: Combobox$1,
|
|
1061
|
+
Row: ComboboxRow,
|
|
1062
|
+
Separator: ComboboxSeparator,
|
|
1063
|
+
Status: ComboboxStatus,
|
|
1064
|
+
Trigger: ComboboxTrigger,
|
|
1065
|
+
Value: ComboboxValue
|
|
1066
|
+
});
|
|
1067
|
+
|
|
654
1068
|
//#endregion
|
|
655
1069
|
//#region src/components/container/container.variants.ts
|
|
656
1070
|
const containerVariants = tv({ base: "container" });
|
|
@@ -665,6 +1079,143 @@ const Container = ({ className, ...props }) => {
|
|
|
665
1079
|
};
|
|
666
1080
|
var container_default = Container;
|
|
667
1081
|
|
|
1082
|
+
//#endregion
|
|
1083
|
+
//#region src/components/context-menu/context-menu.context.ts
|
|
1084
|
+
const ContextMenuContext = createContext(null);
|
|
1085
|
+
|
|
1086
|
+
//#endregion
|
|
1087
|
+
//#region src/components/context-menu/context-menu.variants.ts
|
|
1088
|
+
/** biome-ignore-all assist/source/useSortedKeys: <> */
|
|
1089
|
+
const contextMenuVariants = tv({ slots: {
|
|
1090
|
+
root: "context-menu",
|
|
1091
|
+
trigger: "context-menu__trigger",
|
|
1092
|
+
portal: "context-menu__portal",
|
|
1093
|
+
backdrop: "context-menu__backdrop",
|
|
1094
|
+
positioner: "context-menu__positioner",
|
|
1095
|
+
popup: "context-menu__popup",
|
|
1096
|
+
arrow: "context-menu__arrow",
|
|
1097
|
+
item: "context-menu__item",
|
|
1098
|
+
separator: "context-menu__separator",
|
|
1099
|
+
group: "context-menu__group",
|
|
1100
|
+
groupLabel: "context-menu__group-label",
|
|
1101
|
+
submenu: "context-menu__submenu",
|
|
1102
|
+
submenuTrigger: "context-menu__submenu-trigger"
|
|
1103
|
+
} });
|
|
1104
|
+
|
|
1105
|
+
//#endregion
|
|
1106
|
+
//#region src/components/context-menu/use-context-menu.ts
|
|
1107
|
+
const useContextMenu = () => {
|
|
1108
|
+
const context = useContext(ContextMenuContext);
|
|
1109
|
+
if (!context) throw new Error("useContextMenu must be used within a ContextMenuProvider");
|
|
1110
|
+
return context;
|
|
1111
|
+
};
|
|
1112
|
+
|
|
1113
|
+
//#endregion
|
|
1114
|
+
//#region src/components/context-menu/context-menu.tsx
|
|
1115
|
+
const ContextMenu$1 = ({ ...props }) => {
|
|
1116
|
+
const slots = useMemo(() => contextMenuVariants(), []);
|
|
1117
|
+
return /* @__PURE__ */ jsx(ContextMenuContext.Provider, {
|
|
1118
|
+
value: { slots },
|
|
1119
|
+
children: /* @__PURE__ */ jsx(ContextMenu.Root, { ...props })
|
|
1120
|
+
});
|
|
1121
|
+
};
|
|
1122
|
+
const ContextMenuTrigger = ({ className, ...props }) => {
|
|
1123
|
+
const { slots } = useContextMenu();
|
|
1124
|
+
return /* @__PURE__ */ jsx(ContextMenu.Trigger, {
|
|
1125
|
+
className: cn$1(slots.trigger(), className),
|
|
1126
|
+
...props
|
|
1127
|
+
});
|
|
1128
|
+
};
|
|
1129
|
+
const ContextMenuPortal = ({ className, ...props }) => {
|
|
1130
|
+
const { slots } = useContextMenu();
|
|
1131
|
+
return /* @__PURE__ */ jsx(ContextMenu.Portal, {
|
|
1132
|
+
className: cn$1(slots.portal(), className),
|
|
1133
|
+
...props
|
|
1134
|
+
});
|
|
1135
|
+
};
|
|
1136
|
+
const ContextMenuBackdrop = ({ className, ...props }) => {
|
|
1137
|
+
const { slots } = useContextMenu();
|
|
1138
|
+
return /* @__PURE__ */ jsx(ContextMenu.Backdrop, {
|
|
1139
|
+
className: cn$1(slots.backdrop(), className),
|
|
1140
|
+
...props
|
|
1141
|
+
});
|
|
1142
|
+
};
|
|
1143
|
+
const ContextMenuPositioner = ({ className, ...props }) => {
|
|
1144
|
+
const { slots } = useContextMenu();
|
|
1145
|
+
return /* @__PURE__ */ jsx(ContextMenu.Positioner, {
|
|
1146
|
+
className: cn$1(slots.positioner(), className),
|
|
1147
|
+
...props
|
|
1148
|
+
});
|
|
1149
|
+
};
|
|
1150
|
+
const ContextMenuPopup = ({ className, ...props }) => {
|
|
1151
|
+
const { slots } = useContextMenu();
|
|
1152
|
+
return /* @__PURE__ */ jsx(ContextMenu.Popup, {
|
|
1153
|
+
className: cn$1(slots.popup(), className),
|
|
1154
|
+
...props
|
|
1155
|
+
});
|
|
1156
|
+
};
|
|
1157
|
+
const ContextMenuArrow = ({ className, ...props }) => {
|
|
1158
|
+
const { slots } = useContextMenu();
|
|
1159
|
+
return /* @__PURE__ */ jsx(ContextMenu.Arrow, {
|
|
1160
|
+
className: cn$1(slots.arrow(), className),
|
|
1161
|
+
...props
|
|
1162
|
+
});
|
|
1163
|
+
};
|
|
1164
|
+
const ContextMenuItem = ({ className, ...props }) => {
|
|
1165
|
+
const { slots } = useContextMenu();
|
|
1166
|
+
return /* @__PURE__ */ jsx(ContextMenu.Item, {
|
|
1167
|
+
className: cn$1(slots.item(), className),
|
|
1168
|
+
...props
|
|
1169
|
+
});
|
|
1170
|
+
};
|
|
1171
|
+
const ContextMenuSeparator = ({ className, ...props }) => {
|
|
1172
|
+
const { slots } = useContextMenu();
|
|
1173
|
+
return /* @__PURE__ */ jsx(ContextMenu.Separator, {
|
|
1174
|
+
className: cn$1(slots.separator(), className),
|
|
1175
|
+
...props
|
|
1176
|
+
});
|
|
1177
|
+
};
|
|
1178
|
+
const ContextMenuGroup = ({ className, ...props }) => {
|
|
1179
|
+
const { slots } = useContextMenu();
|
|
1180
|
+
return /* @__PURE__ */ jsx(ContextMenu.Group, {
|
|
1181
|
+
className: cn$1(slots.group(), className),
|
|
1182
|
+
...props
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
1185
|
+
const ContextMenuGroupLabel = ({ className, ...props }) => {
|
|
1186
|
+
const { slots } = useContextMenu();
|
|
1187
|
+
return /* @__PURE__ */ jsx(ContextMenu.GroupLabel, {
|
|
1188
|
+
className: cn$1(slots.groupLabel(), className),
|
|
1189
|
+
...props
|
|
1190
|
+
});
|
|
1191
|
+
};
|
|
1192
|
+
const ContextMenuSubmenu = ({ ...props }) => {
|
|
1193
|
+
return /* @__PURE__ */ jsx(ContextMenu.SubmenuRoot, { ...props });
|
|
1194
|
+
};
|
|
1195
|
+
const ContextMenuSubmenuTrigger = ({ className, children, ...props }) => {
|
|
1196
|
+
const { slots } = useContextMenu();
|
|
1197
|
+
return /* @__PURE__ */ jsx(ContextMenu.SubmenuTrigger, {
|
|
1198
|
+
className: cn$1(slots.submenuTrigger(), className),
|
|
1199
|
+
...props,
|
|
1200
|
+
children
|
|
1201
|
+
});
|
|
1202
|
+
};
|
|
1203
|
+
var context_menu_default = Object.assign(ContextMenu$1, {
|
|
1204
|
+
Arrow: ContextMenuArrow,
|
|
1205
|
+
Backdrop: ContextMenuBackdrop,
|
|
1206
|
+
Group: ContextMenuGroup,
|
|
1207
|
+
GroupLabel: ContextMenuGroupLabel,
|
|
1208
|
+
Item: ContextMenuItem,
|
|
1209
|
+
Popup: ContextMenuPopup,
|
|
1210
|
+
Portal: ContextMenuPortal,
|
|
1211
|
+
Positioner: ContextMenuPositioner,
|
|
1212
|
+
Root: ContextMenu$1,
|
|
1213
|
+
Separator: ContextMenuSeparator,
|
|
1214
|
+
SubmenuRoot: ContextMenuSubmenu,
|
|
1215
|
+
SubmenuTrigger: ContextMenuSubmenuTrigger,
|
|
1216
|
+
Trigger: ContextMenuTrigger
|
|
1217
|
+
});
|
|
1218
|
+
|
|
668
1219
|
//#endregion
|
|
669
1220
|
//#region src/components/dialog/dialog.context.ts
|
|
670
1221
|
const DialogContext = createContext(null);
|
|
@@ -1469,7 +2020,7 @@ const NavbarList = ({ className, ...props }) => {
|
|
|
1469
2020
|
};
|
|
1470
2021
|
const NavbarListItem = ({ className, ...props }) => {
|
|
1471
2022
|
const { slots } = useNavbar();
|
|
1472
|
-
return /* @__PURE__ */ jsx(
|
|
2023
|
+
return /* @__PURE__ */ jsx("li", {
|
|
1473
2024
|
className: cn$1(slots.listItem(), className),
|
|
1474
2025
|
...props
|
|
1475
2026
|
});
|
|
@@ -1502,7 +2053,7 @@ const NavbarMenu = ({ className, header, ...props }) => {
|
|
|
1502
2053
|
};
|
|
1503
2054
|
const NavbarMenuItem = ({ className, ...props }) => {
|
|
1504
2055
|
const { slots } = useNavbar();
|
|
1505
|
-
return /* @__PURE__ */ jsx(
|
|
2056
|
+
return /* @__PURE__ */ jsx("li", {
|
|
1506
2057
|
className: cn$1(slots.menuItem(), className),
|
|
1507
2058
|
...props
|
|
1508
2059
|
});
|
|
@@ -1518,6 +2069,241 @@ var navbar_default = Object.assign(Navbar, {
|
|
|
1518
2069
|
Toggle: NavbarToggle
|
|
1519
2070
|
});
|
|
1520
2071
|
|
|
2072
|
+
//#endregion
|
|
2073
|
+
//#region src/components/navigation-menu/navigation-menu.context.ts
|
|
2074
|
+
const NavigationMenuContext = createContext(null);
|
|
2075
|
+
|
|
2076
|
+
//#endregion
|
|
2077
|
+
//#region src/components/navigation-menu/navigation-menu.variants.ts
|
|
2078
|
+
/** biome-ignore-all assist/source/useSortedKeys: <> */
|
|
2079
|
+
const navigationMenuVariants = tv({ slots: {
|
|
2080
|
+
root: "navigation-menu",
|
|
2081
|
+
list: "navigation-menu__list",
|
|
2082
|
+
item: "navigation-menu__item",
|
|
2083
|
+
trigger: "navigation-menu__trigger",
|
|
2084
|
+
icon: "navigation-menu__icon",
|
|
2085
|
+
content: "navigation-menu__content",
|
|
2086
|
+
link: "navigation-menu__link",
|
|
2087
|
+
portal: "navigation-menu__portal",
|
|
2088
|
+
backdrop: "navigation-menu__backdrop",
|
|
2089
|
+
positioner: "navigation-menu__positioner",
|
|
2090
|
+
popup: "navigation-menu__popup",
|
|
2091
|
+
arrow: "navigation-menu__arrow",
|
|
2092
|
+
viewport: "navigation-menu__viewport"
|
|
2093
|
+
} });
|
|
2094
|
+
|
|
2095
|
+
//#endregion
|
|
2096
|
+
//#region src/components/navigation-menu/use-navigation-menu.ts
|
|
2097
|
+
const useNavigationMenu = () => {
|
|
2098
|
+
const context = useContext(NavigationMenuContext);
|
|
2099
|
+
if (!context) throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");
|
|
2100
|
+
return context;
|
|
2101
|
+
};
|
|
2102
|
+
|
|
2103
|
+
//#endregion
|
|
2104
|
+
//#region src/components/navigation-menu/navigation-menu.tsx
|
|
2105
|
+
const NavigationMenu$1 = ({ className, ...props }) => {
|
|
2106
|
+
const slots = useMemo(() => navigationMenuVariants(), []);
|
|
2107
|
+
return /* @__PURE__ */ jsx(NavigationMenuContext.Provider, {
|
|
2108
|
+
value: { slots },
|
|
2109
|
+
children: /* @__PURE__ */ jsx(NavigationMenu.Root, {
|
|
2110
|
+
className: cn$1(className, slots.root()),
|
|
2111
|
+
...props
|
|
2112
|
+
})
|
|
2113
|
+
});
|
|
2114
|
+
};
|
|
2115
|
+
const NavigationMenuList = ({ className, ...props }) => {
|
|
2116
|
+
const { slots } = useNavigationMenu();
|
|
2117
|
+
return /* @__PURE__ */ jsx(NavigationMenu.List, {
|
|
2118
|
+
className: cn$1(slots.list(), className),
|
|
2119
|
+
...props
|
|
2120
|
+
});
|
|
2121
|
+
};
|
|
2122
|
+
const NavigationMenuItem = ({ className, ...props }) => {
|
|
2123
|
+
const { slots } = useNavigationMenu();
|
|
2124
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Item, {
|
|
2125
|
+
className: cn$1(slots.item(), className),
|
|
2126
|
+
...props
|
|
2127
|
+
});
|
|
2128
|
+
};
|
|
2129
|
+
const NavigationMenuTrigger = ({ className, children, ...props }) => {
|
|
2130
|
+
const { slots } = useNavigationMenu();
|
|
2131
|
+
return /* @__PURE__ */ jsxs(NavigationMenu.Trigger, {
|
|
2132
|
+
className: cn$1(slots.trigger(), className),
|
|
2133
|
+
...props,
|
|
2134
|
+
children: [children, /* @__PURE__ */ jsx(NavigationMenu.Icon, {
|
|
2135
|
+
className: slots.icon(),
|
|
2136
|
+
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
|
|
2137
|
+
})]
|
|
2138
|
+
});
|
|
2139
|
+
};
|
|
2140
|
+
const NavigationMenuIcon = ({ className, children, ...props }) => {
|
|
2141
|
+
const { slots } = useNavigationMenu();
|
|
2142
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Icon, {
|
|
2143
|
+
className: cn$1(slots.icon(), className),
|
|
2144
|
+
...props,
|
|
2145
|
+
children: children || /* @__PURE__ */ jsx(ChevronDown, {})
|
|
2146
|
+
});
|
|
2147
|
+
};
|
|
2148
|
+
const NavigationMenuContent = ({ className, ...props }) => {
|
|
2149
|
+
const { slots } = useNavigationMenu();
|
|
2150
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Content, {
|
|
2151
|
+
className: cn$1(slots.content(), className),
|
|
2152
|
+
...props
|
|
2153
|
+
});
|
|
2154
|
+
};
|
|
2155
|
+
const NavigationMenuLink = ({ className, ...props }) => {
|
|
2156
|
+
const { slots } = useNavigationMenu();
|
|
2157
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Link, {
|
|
2158
|
+
className: cn$1(slots.link(), className),
|
|
2159
|
+
...props
|
|
2160
|
+
});
|
|
2161
|
+
};
|
|
2162
|
+
const NavigationMenuPortal = ({ ...props }) => {
|
|
2163
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Portal, { ...props });
|
|
2164
|
+
};
|
|
2165
|
+
const NavigationMenuBackdrop = ({ className, ...props }) => {
|
|
2166
|
+
const { slots } = useNavigationMenu();
|
|
2167
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Backdrop, {
|
|
2168
|
+
className: cn$1(slots.backdrop(), className),
|
|
2169
|
+
...props
|
|
2170
|
+
});
|
|
2171
|
+
};
|
|
2172
|
+
const NavigationMenuPositioner = ({ className, ...props }) => {
|
|
2173
|
+
const { slots } = useNavigationMenu();
|
|
2174
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Positioner, {
|
|
2175
|
+
className: cn$1(slots.positioner(), className),
|
|
2176
|
+
...props
|
|
2177
|
+
});
|
|
2178
|
+
};
|
|
2179
|
+
const NavigationMenuPopup = ({ className, ...props }) => {
|
|
2180
|
+
const { slots } = useNavigationMenu();
|
|
2181
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Popup, {
|
|
2182
|
+
className: cn$1(slots.popup(), className),
|
|
2183
|
+
...props
|
|
2184
|
+
});
|
|
2185
|
+
};
|
|
2186
|
+
const NavigationMenuArrow = ({ className, ...props }) => {
|
|
2187
|
+
const { slots } = useNavigationMenu();
|
|
2188
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Arrow, {
|
|
2189
|
+
className: cn$1(slots.arrow(), className),
|
|
2190
|
+
...props
|
|
2191
|
+
});
|
|
2192
|
+
};
|
|
2193
|
+
const NavigationMenuViewport = ({ className, ...props }) => {
|
|
2194
|
+
const { slots } = useNavigationMenu();
|
|
2195
|
+
return /* @__PURE__ */ jsx(NavigationMenu.Viewport, {
|
|
2196
|
+
className: cn$1(slots.viewport(), className),
|
|
2197
|
+
...props
|
|
2198
|
+
});
|
|
2199
|
+
};
|
|
2200
|
+
var navigation_menu_default = Object.assign(NavigationMenu$1, {
|
|
2201
|
+
Arrow: NavigationMenuArrow,
|
|
2202
|
+
Backdrop: NavigationMenuBackdrop,
|
|
2203
|
+
Content: NavigationMenuContent,
|
|
2204
|
+
Icon: NavigationMenuIcon,
|
|
2205
|
+
Item: NavigationMenuItem,
|
|
2206
|
+
Link: NavigationMenuLink,
|
|
2207
|
+
List: NavigationMenuList,
|
|
2208
|
+
Popup: NavigationMenuPopup,
|
|
2209
|
+
Portal: NavigationMenuPortal,
|
|
2210
|
+
Positioner: NavigationMenuPositioner,
|
|
2211
|
+
Root: NavigationMenu$1,
|
|
2212
|
+
Trigger: NavigationMenuTrigger,
|
|
2213
|
+
Viewport: NavigationMenuViewport
|
|
2214
|
+
});
|
|
2215
|
+
|
|
2216
|
+
//#endregion
|
|
2217
|
+
//#region src/components/number-field/number-field.context.ts
|
|
2218
|
+
const NumberFieldContext = createContext(null);
|
|
2219
|
+
|
|
2220
|
+
//#endregion
|
|
2221
|
+
//#region src/components/number-field/number-field.variants.ts
|
|
2222
|
+
const numberFieldVariants = tv({ slots: {
|
|
2223
|
+
decrement: "number-field__decrement",
|
|
2224
|
+
group: "number-field__group",
|
|
2225
|
+
increment: "number-field__increment",
|
|
2226
|
+
input: "number-field__input",
|
|
2227
|
+
root: "number-field",
|
|
2228
|
+
scrubArea: "number-field__scrub-area",
|
|
2229
|
+
scrubAreaCursor: "number-field__scrub-area-cursor"
|
|
2230
|
+
} });
|
|
2231
|
+
|
|
2232
|
+
//#endregion
|
|
2233
|
+
//#region src/components/number-field/use-number-field.ts
|
|
2234
|
+
const useNumberField = () => {
|
|
2235
|
+
const context = useContext(NumberFieldContext);
|
|
2236
|
+
if (!context) throw new Error("useNumberField must be used within a NumberFieldProvider");
|
|
2237
|
+
return context;
|
|
2238
|
+
};
|
|
2239
|
+
|
|
2240
|
+
//#endregion
|
|
2241
|
+
//#region src/components/number-field/number-field.tsx
|
|
2242
|
+
const NumberField$1 = ({ className, ...props }) => {
|
|
2243
|
+
const slots = useMemo(() => numberFieldVariants(), []);
|
|
2244
|
+
return /* @__PURE__ */ jsx(NumberFieldContext, {
|
|
2245
|
+
value: { slots },
|
|
2246
|
+
children: /* @__PURE__ */ jsx(NumberField.Root, {
|
|
2247
|
+
className: cn$1(className, slots.root()),
|
|
2248
|
+
...props
|
|
2249
|
+
})
|
|
2250
|
+
});
|
|
2251
|
+
};
|
|
2252
|
+
const NumberFieldScrubArea = ({ className, ...props }) => {
|
|
2253
|
+
const { slots } = useNumberField();
|
|
2254
|
+
return /* @__PURE__ */ jsx(NumberField.ScrubArea, {
|
|
2255
|
+
className: cn$1(slots.scrubArea(), className),
|
|
2256
|
+
...props
|
|
2257
|
+
});
|
|
2258
|
+
};
|
|
2259
|
+
const NumberFieldGroup = ({ className, ...props }) => {
|
|
2260
|
+
const { slots } = useNumberField();
|
|
2261
|
+
return /* @__PURE__ */ jsx(NumberField.Group, {
|
|
2262
|
+
className: cn$1(slots.group(), className),
|
|
2263
|
+
...props
|
|
2264
|
+
});
|
|
2265
|
+
};
|
|
2266
|
+
const NumberFieldScrubAreaCursor = ({ className, children, ...props }) => {
|
|
2267
|
+
const { slots } = useNumberField();
|
|
2268
|
+
return /* @__PURE__ */ jsx(NumberField.ScrubAreaCursor, {
|
|
2269
|
+
className: cn$1(slots.scrubAreaCursor(), className),
|
|
2270
|
+
...props,
|
|
2271
|
+
children: children ?? /* @__PURE__ */ jsx(LucideChevronsLeftRight, {})
|
|
2272
|
+
});
|
|
2273
|
+
};
|
|
2274
|
+
const NumberFieldDecrement = ({ className, children, ...props }) => {
|
|
2275
|
+
const { slots } = useNumberField();
|
|
2276
|
+
return /* @__PURE__ */ jsx(NumberField.Decrement, {
|
|
2277
|
+
className: cn$1(slots.decrement(), className),
|
|
2278
|
+
...props,
|
|
2279
|
+
children: children ?? /* @__PURE__ */ jsx(LucideMinus, {})
|
|
2280
|
+
});
|
|
2281
|
+
};
|
|
2282
|
+
const NumberFieldInput = ({ className, ...props }) => {
|
|
2283
|
+
const { slots } = useNumberField();
|
|
2284
|
+
return /* @__PURE__ */ jsx(NumberField.Input, {
|
|
2285
|
+
className: cn$1(slots.input(), className),
|
|
2286
|
+
...props
|
|
2287
|
+
});
|
|
2288
|
+
};
|
|
2289
|
+
const NumberFieldIncrement = ({ className, children, ...props }) => {
|
|
2290
|
+
const { slots } = useNumberField();
|
|
2291
|
+
return /* @__PURE__ */ jsx(NumberField.Increment, {
|
|
2292
|
+
className: cn$1(slots.increment(), className),
|
|
2293
|
+
...props,
|
|
2294
|
+
children: children ?? /* @__PURE__ */ jsx(LucidePlus, {})
|
|
2295
|
+
});
|
|
2296
|
+
};
|
|
2297
|
+
var number_field_default = Object.assign(NumberField$1, {
|
|
2298
|
+
Decrement: NumberFieldDecrement,
|
|
2299
|
+
Group: NumberFieldGroup,
|
|
2300
|
+
Increment: NumberFieldIncrement,
|
|
2301
|
+
Input: NumberFieldInput,
|
|
2302
|
+
Root: NumberField$1,
|
|
2303
|
+
ScrubArea: NumberFieldScrubArea,
|
|
2304
|
+
ScrubAreaCursor: NumberFieldScrubAreaCursor
|
|
2305
|
+
});
|
|
2306
|
+
|
|
1521
2307
|
//#endregion
|
|
1522
2308
|
//#region src/components/popover/popover.context.ts
|
|
1523
2309
|
const PopoverContext = createContext(null);
|
|
@@ -1640,6 +2426,91 @@ var popover_default = Object.assign(Popover$1, {
|
|
|
1640
2426
|
Viewport: PopoverViewport
|
|
1641
2427
|
});
|
|
1642
2428
|
|
|
2429
|
+
//#endregion
|
|
2430
|
+
//#region src/components/preview-card/preview-card.context.ts
|
|
2431
|
+
const PreviewCardContext = createContext(null);
|
|
2432
|
+
|
|
2433
|
+
//#endregion
|
|
2434
|
+
//#region src/components/preview-card/preview-card.variants.ts
|
|
2435
|
+
/** biome-ignore-all assist/source/useSortedKeys: <> */
|
|
2436
|
+
const previewCardVariants = tv({ slots: {
|
|
2437
|
+
root: "preview-card",
|
|
2438
|
+
trigger: "preview-card__trigger",
|
|
2439
|
+
portal: "preview-card__portal",
|
|
2440
|
+
backdrop: "preview-card__backdrop",
|
|
2441
|
+
positioner: "preview-card__positioner",
|
|
2442
|
+
popup: "preview-card__popup",
|
|
2443
|
+
arrow: "preview-card__arrow"
|
|
2444
|
+
} });
|
|
2445
|
+
|
|
2446
|
+
//#endregion
|
|
2447
|
+
//#region src/components/preview-card/use-preview-card.ts
|
|
2448
|
+
const usePreviewCard = () => {
|
|
2449
|
+
const context = useContext(PreviewCardContext);
|
|
2450
|
+
if (!context) throw new Error("usePreviewCard must be used within a PreviewCardProvider");
|
|
2451
|
+
return context;
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
//#endregion
|
|
2455
|
+
//#region src/components/preview-card/preview-card.tsx
|
|
2456
|
+
const PreviewCard$1 = ({ ...props }) => {
|
|
2457
|
+
return /* @__PURE__ */ jsx(PreviewCardContext, {
|
|
2458
|
+
value: { slots: useMemo(() => previewCardVariants(), []) },
|
|
2459
|
+
children: /* @__PURE__ */ jsx(PreviewCard.Root, { ...props })
|
|
2460
|
+
});
|
|
2461
|
+
};
|
|
2462
|
+
const PreviewCardTrigger = ({ className, ...props }) => {
|
|
2463
|
+
const { slots } = usePreviewCard();
|
|
2464
|
+
return /* @__PURE__ */ jsx(PreviewCard.Trigger, {
|
|
2465
|
+
className: cn$1(slots.trigger(), className),
|
|
2466
|
+
...props
|
|
2467
|
+
});
|
|
2468
|
+
};
|
|
2469
|
+
const PreviewCardPortal = ({ className, ...props }) => {
|
|
2470
|
+
const { slots } = usePreviewCard();
|
|
2471
|
+
return /* @__PURE__ */ jsx(PreviewCard.Portal, {
|
|
2472
|
+
className: cn$1(slots.portal(), className),
|
|
2473
|
+
...props
|
|
2474
|
+
});
|
|
2475
|
+
};
|
|
2476
|
+
const PreviewCardBackdrop = ({ className, ...props }) => {
|
|
2477
|
+
const { slots } = usePreviewCard();
|
|
2478
|
+
return /* @__PURE__ */ jsx(PreviewCard.Backdrop, {
|
|
2479
|
+
className: cn$1(slots.backdrop(), className),
|
|
2480
|
+
...props
|
|
2481
|
+
});
|
|
2482
|
+
};
|
|
2483
|
+
const PreviewCardPositioner = ({ className, ...props }) => {
|
|
2484
|
+
const { slots } = usePreviewCard();
|
|
2485
|
+
return /* @__PURE__ */ jsx(PreviewCard.Positioner, {
|
|
2486
|
+
className: cn$1(slots.positioner(), className),
|
|
2487
|
+
...props
|
|
2488
|
+
});
|
|
2489
|
+
};
|
|
2490
|
+
const PreviewCardPopup = ({ className, ...props }) => {
|
|
2491
|
+
const { slots } = usePreviewCard();
|
|
2492
|
+
return /* @__PURE__ */ jsx(PreviewCard.Popup, {
|
|
2493
|
+
className: cn$1(slots.popup(), className),
|
|
2494
|
+
...props
|
|
2495
|
+
});
|
|
2496
|
+
};
|
|
2497
|
+
const PreviewCardArrow = ({ className, ...props }) => {
|
|
2498
|
+
const { slots } = usePreviewCard();
|
|
2499
|
+
return /* @__PURE__ */ jsx(PreviewCard.Arrow, {
|
|
2500
|
+
className: cn$1(slots.arrow(), className),
|
|
2501
|
+
...props
|
|
2502
|
+
});
|
|
2503
|
+
};
|
|
2504
|
+
var preview_card_default = Object.assign(PreviewCard$1, {
|
|
2505
|
+
Arrow: PreviewCardArrow,
|
|
2506
|
+
Backdrop: PreviewCardBackdrop,
|
|
2507
|
+
Popup: PreviewCardPopup,
|
|
2508
|
+
Portal: PreviewCardPortal,
|
|
2509
|
+
Positioner: PreviewCardPositioner,
|
|
2510
|
+
Root: PreviewCard$1,
|
|
2511
|
+
Trigger: PreviewCardTrigger
|
|
2512
|
+
});
|
|
2513
|
+
|
|
1643
2514
|
//#endregion
|
|
1644
2515
|
//#region src/components/progress/progress.context.ts
|
|
1645
2516
|
const ProgressContext = createContext(null);
|
|
@@ -1789,26 +2660,102 @@ const RadioGroup$1 = ({ className, ...props }) => {
|
|
|
1789
2660
|
};
|
|
1790
2661
|
var radio_group_default = RadioGroup$1;
|
|
1791
2662
|
|
|
2663
|
+
//#endregion
|
|
2664
|
+
//#region src/components/scroll-area/scroll-area.context.ts
|
|
2665
|
+
const ScrollAreaContext = createContext(null);
|
|
2666
|
+
|
|
2667
|
+
//#endregion
|
|
2668
|
+
//#region src/components/scroll-area/scroll-area.variants.ts
|
|
2669
|
+
/** biome-ignore-all assist/source/useSortedKeys: <> */
|
|
2670
|
+
const scrollAreaVariants = tv({ slots: {
|
|
2671
|
+
root: "scroll-area",
|
|
2672
|
+
viewport: "scroll-area__viewport",
|
|
2673
|
+
content: "scroll-area__content",
|
|
2674
|
+
scrollbar: "scroll-area__scrollbar",
|
|
2675
|
+
thumb: "scroll-area__thumb",
|
|
2676
|
+
corner: "scroll-area__corner"
|
|
2677
|
+
} });
|
|
2678
|
+
|
|
2679
|
+
//#endregion
|
|
2680
|
+
//#region src/components/scroll-area/use-scroll-area.ts
|
|
2681
|
+
const useScrollArea = () => {
|
|
2682
|
+
const context = useContext(ScrollAreaContext);
|
|
2683
|
+
if (!context) throw new Error("useScrollArea must be used within a ScrollAreaProvider");
|
|
2684
|
+
return context;
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
//#endregion
|
|
2688
|
+
//#region src/components/scroll-area/scroll-area.tsx
|
|
2689
|
+
const ScrollArea$1 = ({ className, ...props }) => {
|
|
2690
|
+
const slots = useMemo(() => scrollAreaVariants(), []);
|
|
2691
|
+
return /* @__PURE__ */ jsx(ScrollAreaContext.Provider, {
|
|
2692
|
+
value: { slots },
|
|
2693
|
+
children: /* @__PURE__ */ jsx(ScrollArea.Root, {
|
|
2694
|
+
className: cn$1(className, slots.root()),
|
|
2695
|
+
...props
|
|
2696
|
+
})
|
|
2697
|
+
});
|
|
2698
|
+
};
|
|
2699
|
+
const ScrollAreaViewport = ({ className, ...props }) => {
|
|
2700
|
+
const { slots } = useScrollArea();
|
|
2701
|
+
return /* @__PURE__ */ jsx(ScrollArea.Viewport, {
|
|
2702
|
+
className: cn$1(slots.viewport(), className),
|
|
2703
|
+
...props
|
|
2704
|
+
});
|
|
2705
|
+
};
|
|
2706
|
+
const ScrollAreaContent = ({ className, ...props }) => {
|
|
2707
|
+
const { slots } = useScrollArea();
|
|
2708
|
+
return /* @__PURE__ */ jsx(ScrollArea.Content, {
|
|
2709
|
+
className: cn$1(slots.content(), className),
|
|
2710
|
+
...props
|
|
2711
|
+
});
|
|
2712
|
+
};
|
|
2713
|
+
const ScrollAreaScrollbar = ({ className, ...props }) => {
|
|
2714
|
+
const { slots } = useScrollArea();
|
|
2715
|
+
return /* @__PURE__ */ jsx(ScrollArea.Scrollbar, {
|
|
2716
|
+
className: cn$1(slots.scrollbar(), className),
|
|
2717
|
+
...props
|
|
2718
|
+
});
|
|
2719
|
+
};
|
|
2720
|
+
const ScrollAreaThumb = ({ className, ...props }) => {
|
|
2721
|
+
const { slots } = useScrollArea();
|
|
2722
|
+
return /* @__PURE__ */ jsx(ScrollArea.Thumb, {
|
|
2723
|
+
className: cn$1(slots.thumb(), className),
|
|
2724
|
+
...props
|
|
2725
|
+
});
|
|
2726
|
+
};
|
|
2727
|
+
var scroll_area_default = Object.assign(ScrollArea$1, {
|
|
2728
|
+
Content: ScrollAreaContent,
|
|
2729
|
+
Root: ScrollArea$1,
|
|
2730
|
+
Scrollbar: ScrollAreaScrollbar,
|
|
2731
|
+
Thumb: ScrollAreaThumb,
|
|
2732
|
+
Viewport: ScrollAreaViewport
|
|
2733
|
+
});
|
|
2734
|
+
|
|
1792
2735
|
//#endregion
|
|
1793
2736
|
//#region src/components/select/select.context.ts
|
|
1794
2737
|
const SelectContext = createContext(null);
|
|
1795
2738
|
|
|
1796
2739
|
//#endregion
|
|
1797
2740
|
//#region src/components/select/select.variants.ts
|
|
2741
|
+
/** biome-ignore-all assist/source/useSortedKeys: believe me its better */
|
|
1798
2742
|
const selectVariants = tv({ slots: {
|
|
1799
|
-
|
|
1800
|
-
|
|
2743
|
+
root: "select",
|
|
2744
|
+
trigger: "select__trigger",
|
|
2745
|
+
value: "select__value",
|
|
1801
2746
|
icon: "select__icon",
|
|
2747
|
+
portal: "select__portal",
|
|
2748
|
+
backdrop: "select__backdrop",
|
|
2749
|
+
positioner: "select__positioner",
|
|
2750
|
+
popup: "select__popup",
|
|
2751
|
+
arrow: "select__arrow",
|
|
2752
|
+
list: "select__list",
|
|
1802
2753
|
item: "select__item",
|
|
2754
|
+
itemText: "select__item-text",
|
|
1803
2755
|
itemIndicator: "select__item-indicator",
|
|
1804
|
-
popup: "select__popup",
|
|
1805
|
-
positioner: "select__positioner",
|
|
1806
|
-
root: "select",
|
|
1807
|
-
scrollDownArrow: "select__scroll-down-arrow",
|
|
1808
|
-
scrollUpArrow: "select__scroll-up-arrow",
|
|
1809
2756
|
separator: "select__separator",
|
|
1810
|
-
|
|
1811
|
-
|
|
2757
|
+
group: "select__group",
|
|
2758
|
+
groupLabel: "select__group-label"
|
|
1812
2759
|
} });
|
|
1813
2760
|
|
|
1814
2761
|
//#endregion
|
|
@@ -1828,15 +2775,19 @@ const Select$1 = ({ ...props }) => {
|
|
|
1828
2775
|
children: /* @__PURE__ */ jsx(Select.Root, { ...props })
|
|
1829
2776
|
});
|
|
1830
2777
|
};
|
|
1831
|
-
const SelectTrigger = ({ className,
|
|
2778
|
+
const SelectTrigger = ({ className, ...props }) => {
|
|
1832
2779
|
const { slots } = useSelect();
|
|
1833
|
-
return /* @__PURE__ */
|
|
2780
|
+
return /* @__PURE__ */ jsx(Select.Trigger, {
|
|
1834
2781
|
className: cn$1(slots.trigger(), className),
|
|
2782
|
+
...props
|
|
2783
|
+
});
|
|
2784
|
+
};
|
|
2785
|
+
const SelectIcon = ({ className, children, ...props }) => {
|
|
2786
|
+
const { slots } = useSelect();
|
|
2787
|
+
return /* @__PURE__ */ jsx(Select.Icon, {
|
|
2788
|
+
className: cn$1(slots.icon(), className),
|
|
1835
2789
|
...props,
|
|
1836
|
-
children:
|
|
1837
|
-
className: slots.icon(),
|
|
1838
|
-
children: /* @__PURE__ */ jsx(ChevronDown, {})
|
|
1839
|
-
})]
|
|
2790
|
+
children: children || /* @__PURE__ */ jsx(ChevronsUpDown, {})
|
|
1840
2791
|
});
|
|
1841
2792
|
};
|
|
1842
2793
|
const SelectValue = ({ className, ...props }) => {
|
|
@@ -1849,6 +2800,13 @@ const SelectValue = ({ className, ...props }) => {
|
|
|
1849
2800
|
const SelectPortal = ({ ...props }) => {
|
|
1850
2801
|
return /* @__PURE__ */ jsx(Select.Portal, { ...props });
|
|
1851
2802
|
};
|
|
2803
|
+
const SelectBackdrop = ({ className, ...props }) => {
|
|
2804
|
+
const { slots } = useSelect();
|
|
2805
|
+
return /* @__PURE__ */ jsx(Select.Backdrop, {
|
|
2806
|
+
className: cn$1(slots.backdrop(), className),
|
|
2807
|
+
...props
|
|
2808
|
+
});
|
|
2809
|
+
};
|
|
1852
2810
|
const SelectPositioner = ({ className, ...props }) => {
|
|
1853
2811
|
const { slots } = useSelect();
|
|
1854
2812
|
return /* @__PURE__ */ jsx(Select.Positioner, {
|
|
@@ -1863,15 +2821,39 @@ const SelectPopup = ({ className, ...props }) => {
|
|
|
1863
2821
|
...props
|
|
1864
2822
|
});
|
|
1865
2823
|
};
|
|
1866
|
-
const
|
|
2824
|
+
const SelectArrow = ({ className, ...props }) => {
|
|
1867
2825
|
const { slots } = useSelect();
|
|
1868
|
-
return /* @__PURE__ */
|
|
1869
|
-
className: cn$1(slots.
|
|
2826
|
+
return /* @__PURE__ */ jsx(Select.Arrow, {
|
|
2827
|
+
className: cn$1(slots.arrow(), className),
|
|
2828
|
+
...props
|
|
2829
|
+
});
|
|
2830
|
+
};
|
|
2831
|
+
const SelectList = ({ className, ...props }) => {
|
|
2832
|
+
const { slots } = useSelect();
|
|
2833
|
+
return /* @__PURE__ */ jsx(Select.List, {
|
|
2834
|
+
className: cn$1(slots.list(), className),
|
|
2835
|
+
...props
|
|
2836
|
+
});
|
|
2837
|
+
};
|
|
2838
|
+
const SelectItemIndicator = ({ className, children, ...props }) => {
|
|
2839
|
+
const { slots } = useSelect();
|
|
2840
|
+
return /* @__PURE__ */ jsx(Select.ItemIndicator, {
|
|
2841
|
+
className: cn$1(slots.itemIndicator(), className),
|
|
1870
2842
|
...props,
|
|
1871
|
-
children:
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
2843
|
+
children: children || /* @__PURE__ */ jsx(Check, {})
|
|
2844
|
+
});
|
|
2845
|
+
};
|
|
2846
|
+
const SelectItemText = ({ className, ...props }) => {
|
|
2847
|
+
return /* @__PURE__ */ jsx(Select.ItemText, {
|
|
2848
|
+
className,
|
|
2849
|
+
...props
|
|
2850
|
+
});
|
|
2851
|
+
};
|
|
2852
|
+
const SelectItem = ({ className, ...props }) => {
|
|
2853
|
+
const { slots } = useSelect();
|
|
2854
|
+
return /* @__PURE__ */ jsx(Select.Item, {
|
|
2855
|
+
className: cn$1(slots.item(), className),
|
|
2856
|
+
...props
|
|
1875
2857
|
});
|
|
1876
2858
|
};
|
|
1877
2859
|
const SelectGroup = ({ className, ...props }) => {
|
|
@@ -1895,32 +2877,19 @@ const SelectSeparator = ({ className, ...props }) => {
|
|
|
1895
2877
|
...props
|
|
1896
2878
|
});
|
|
1897
2879
|
};
|
|
1898
|
-
const SelectScrollUpArrow = ({ className, ...props }) => {
|
|
1899
|
-
const { slots } = useSelect();
|
|
1900
|
-
return /* @__PURE__ */ jsx(Select.ScrollUpArrow, {
|
|
1901
|
-
className: cn$1(slots.scrollUpArrow(), className),
|
|
1902
|
-
...props,
|
|
1903
|
-
children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
|
|
1904
|
-
});
|
|
1905
|
-
};
|
|
1906
|
-
const SelectScrollDownArrow = ({ className, ...props }) => {
|
|
1907
|
-
const { slots } = useSelect();
|
|
1908
|
-
return /* @__PURE__ */ jsx(Select.ScrollDownArrow, {
|
|
1909
|
-
className: cn$1(slots.scrollDownArrow(), className),
|
|
1910
|
-
...props,
|
|
1911
|
-
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
|
|
1912
|
-
});
|
|
1913
|
-
};
|
|
1914
2880
|
var select_default = Object.assign(Select$1, {
|
|
2881
|
+
Arrow: SelectArrow,
|
|
2882
|
+
Backdrop: SelectBackdrop,
|
|
1915
2883
|
Group: SelectGroup,
|
|
1916
2884
|
GroupLabel: SelectGroupLabel,
|
|
2885
|
+
Icon: SelectIcon,
|
|
1917
2886
|
Item: SelectItem,
|
|
2887
|
+
ItemIndicator: SelectItemIndicator,
|
|
2888
|
+
ItemText: SelectItemText,
|
|
2889
|
+
List: SelectList,
|
|
1918
2890
|
Popup: SelectPopup,
|
|
1919
2891
|
Portal: SelectPortal,
|
|
1920
2892
|
Positioner: SelectPositioner,
|
|
1921
|
-
Root: Select$1,
|
|
1922
|
-
ScrollDownArrow: SelectScrollDownArrow,
|
|
1923
|
-
ScrollUpArrow: SelectScrollUpArrow,
|
|
1924
2893
|
Separator: SelectSeparator,
|
|
1925
2894
|
Trigger: SelectTrigger,
|
|
1926
2895
|
Value: SelectValue
|
|
@@ -2027,7 +2996,7 @@ const SidebarMenu = ({ className, ...props }) => {
|
|
|
2027
2996
|
};
|
|
2028
2997
|
const SidebarMenuItem = ({ className, ...props }) => {
|
|
2029
2998
|
const { slots } = useSidebar();
|
|
2030
|
-
return /* @__PURE__ */ jsx(
|
|
2999
|
+
return /* @__PURE__ */ jsx("li", {
|
|
2031
3000
|
className: cn$1(slots.menuItem(), className),
|
|
2032
3001
|
...props
|
|
2033
3002
|
});
|
|
@@ -2601,5 +3570,5 @@ var tooltip_default = Object.assign(Tooltip$1, {
|
|
|
2601
3570
|
});
|
|
2602
3571
|
|
|
2603
3572
|
//#endregion
|
|
2604
|
-
export { accordion_default as Accordion, alert_default as Alert, alert_dialog_default as AlertDialog, avatar_default as Avatar, button_default as Button, button_group_default as ButtonGroup, card_default as Card, checkbox_default as Checkbox, checkbox_group_default as CheckboxGroup, chip_default as Chip, collapsible_default as Collapsible, container_default as Container, dialog_default as Dialog, drawer_default as Drawer, field_default as Field, fieldset_default as Fieldset, form_default as Form, icon_button_default as IconButton, input_default as Input, label_default as Label, link_default as Link, list_default as List, menu_default as Menu, meter_default as Meter, navbar_default as Navbar, popover_default as Popover, progress_default as Progress, radio_default as Radio, radio_group_default as RadioGroup, select_default as Select, separator_default as Separator, sidebar_default as Sidebar, slider_default as Slider, spinner_default as Spinner, switch_default as Switch, table_default as Table, tabs_default as Tabs, toast_default as Toast, toggle_button_default as ToggleButton, tooltip_default as Tooltip, accordionVariants, alertDialogVariants, alertVariants, avatarVariants, buttonGroupVariants, buttonVariants, cardVariants, checkboxGroupVariants, checkboxVariants, chipVariants, cn, containerVariants, dialogVariants, drawerVariants, fieldVariants, fieldsetVariants, formVariants, iconButtonVariants, inputVariants, labelVariants, linkVariants, listVariants, menuVariants, meterVariants, navbarVariants, popoverVariants, progressVariants, radioGroupVariants, radioVariants, selectVariants, separatorVariants, sidebarVariants, sliderVariants, spinnerVariants, switchVariants, tableVariants, tabsVariants, toggleButtonVariants, useToast };
|
|
3573
|
+
export { accordion_default as Accordion, alert_default as Alert, alert_dialog_default as AlertDialog, autocomplete_default as Autocomplete, avatar_default as Avatar, button_default as Button, button_group_default as ButtonGroup, card_default as Card, checkbox_default as Checkbox, checkbox_group_default as CheckboxGroup, chip_default as Chip, collapsible_default as Collapsible, combobox_default as Combobox, container_default as Container, context_menu_default as ContextMenu, dialog_default as Dialog, drawer_default as Drawer, field_default as Field, fieldset_default as Fieldset, form_default as Form, icon_button_default as IconButton, input_default as Input, label_default as Label, link_default as Link, list_default as List, menu_default as Menu, meter_default as Meter, navbar_default as Navbar, navigation_menu_default as NavigationMenu, number_field_default as NumberField, popover_default as Popover, preview_card_default as PreviewCard, progress_default as Progress, radio_default as Radio, radio_group_default as RadioGroup, scroll_area_default as ScrollArea, select_default as Select, separator_default as Separator, sidebar_default as Sidebar, slider_default as Slider, spinner_default as Spinner, switch_default as Switch, table_default as Table, tabs_default as Tabs, toast_default as Toast, toggle_button_default as ToggleButton, tooltip_default as Tooltip, accordionVariants, alertDialogVariants, alertVariants, autocompleteVariants, avatarVariants, buttonGroupVariants, buttonVariants, cardVariants, checkboxGroupVariants, checkboxVariants, chipVariants, cn, comboboxVariants, containerVariants, contextMenuVariants, dialogVariants, drawerVariants, fieldVariants, fieldsetVariants, formVariants, iconButtonVariants, inputVariants, labelVariants, linkVariants, listVariants, menuVariants, meterVariants, navbarVariants, navigationMenuVariants, numberFieldVariants, popoverVariants, previewCardVariants, progressVariants, radioGroupVariants, radioVariants, scrollAreaVariants, selectVariants, separatorVariants, sidebarVariants, sliderVariants, spinnerVariants, switchVariants, tableVariants, tabsVariants, toggleButtonVariants, useToast };
|
|
2605
3574
|
//# sourceMappingURL=index.mjs.map
|