@bison-lab/ui 0.16.0 → 0.17.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/index.d.mts +62 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +289 -41
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Slot, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1, unstable_PasswordToggleField } from "radix-ui";
|
|
7
7
|
import { cva } from "class-variance-authority";
|
|
8
8
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
9
|
-
import { faAlignCenter, faAlignLeft, faAlignRight, faArrowDown, faArrowLeft, faArrowRight, faArrowUp, faArrowsUpDown, faBars, faBold, faCalendar, faCamera, faCheck, faChevronDown, faChevronLeft, faChevronRight, faChevronUp, faChevronsLeft, faChevronsRight, faCircle, faCode, faEllipsis, faEnvelope, faEye, faEyeSlash, faFileCircleQuestion, faH1, faH2, faH3, faImage, faInbox, faItalic, faLink, faLinkSlash, faList, faListOl, faMagnifyingGlass, faMinus, faPen, faPlus, faQuoteLeft, faRightFromBracket, faRotateLeft, faRotateRight, faServer, faSidebarFlip, faSlidersUp, faSpinnerThird, faStrikethrough, faUnderline, faUpDown, faWrench, faXmark } from "@fortawesome/pro-regular-svg-icons";
|
|
9
|
+
import { faAlignCenter, faAlignLeft, faAlignRight, faArrowDown, faArrowLeft, faArrowRight, faArrowUp, faArrowsUpDown, faBars, faBold, faCalendar, faCamera, faCheck, faChevronDown, faChevronLeft, faChevronRight, faChevronUp, faChevronsLeft, faChevronsRight, faCircle, faCircleCheck, faCircleExclamation, faCircleInfo, faCircleXmark, faCode, faEllipsis, faEnvelope, faEye, faEyeSlash, faFileCircleQuestion, faH1, faH2, faH3, faImage, faInbox, faItalic, faLink, faLinkSlash, faList, faListOl, faMagnifyingGlass, faMinus, faPen, faPlus, faQuoteLeft, faRightFromBracket, faRotateLeft, faRotateRight, faServer, faShieldExclamation, faSidebarFlip, faSlidersUp, faSpinnerThird, faStrikethrough, faTriangleExclamation, faUnderline, faUpDown, faWrench, faXmark } from "@fortawesome/pro-regular-svg-icons";
|
|
10
10
|
import { DayPicker } from "react-day-picker";
|
|
11
11
|
import { endOfMonth, endOfWeek, format, startOfMonth, startOfWeek, startOfYear, subDays, subMonths, subYears } from "date-fns";
|
|
12
12
|
import { EditorContent, useEditor } from "@tiptap/react";
|
|
@@ -17,8 +17,8 @@ import Underline from "@tiptap/extension-underline";
|
|
|
17
17
|
import TextAlign from "@tiptap/extension-text-align";
|
|
18
18
|
import { Toaster as Toaster$1, toast } from "sonner";
|
|
19
19
|
import { flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
|
|
20
|
-
import { Command as Command$1 } from "cmdk";
|
|
21
20
|
import { AnimatePresence, motion } from "motion/react";
|
|
21
|
+
import { Command as Command$1 } from "cmdk";
|
|
22
22
|
//#region src/lib/semantic-action-tones.ts
|
|
23
23
|
/**
|
|
24
24
|
* Reusable “soft” icon tiles: same border + shadow language, hue from semantic scales.
|
|
@@ -396,7 +396,7 @@ function FormError({ message, className }) {
|
|
|
396
396
|
}
|
|
397
397
|
//#endregion
|
|
398
398
|
//#region src/components/button.tsx
|
|
399
|
-
const buttonVariants = cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-fast ease-default focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
399
|
+
const buttonVariants = cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-fast ease-default focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer", {
|
|
400
400
|
variants: {
|
|
401
401
|
variant: {
|
|
402
402
|
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
@@ -404,7 +404,7 @@ const buttonVariants = cva("inline-flex items-center justify-center whitespace-n
|
|
|
404
404
|
accent: "bg-brand-accent text-brand-accent-foreground hover:bg-brand-accent/90",
|
|
405
405
|
highlight: "bg-highlight text-highlight-foreground hover:bg-highlight/90",
|
|
406
406
|
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
407
|
-
outline: "border border-
|
|
407
|
+
outline: "border border-border-strong bg-background text-foreground hover:bg-accent hover:text-accent-foreground",
|
|
408
408
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
409
409
|
actionNeutral: actionNeutralToneClasses,
|
|
410
410
|
actionPositive: actionPositiveToneClasses,
|
|
@@ -446,7 +446,7 @@ Button.displayName = "Button";
|
|
|
446
446
|
const Input = React.forwardRef(({ className, type, ...props }, ref) => {
|
|
447
447
|
return /* @__PURE__ */ jsx("input", {
|
|
448
448
|
type,
|
|
449
|
-
className: cn("flex h-
|
|
449
|
+
className: cn("flex h-(--density-height-md) w-full rounded-md border border-input bg-background px-3 py-2 text-base sm:text-sm ring-offset-background file:border-0 file:bg-transparent file:text-base file:font-medium sm:file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
450
450
|
ref,
|
|
451
451
|
...props
|
|
452
452
|
});
|
|
@@ -458,7 +458,7 @@ const PasswordInput = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
458
458
|
return /* @__PURE__ */ jsx(unstable_PasswordToggleField.Root, { children: /* @__PURE__ */ jsxs("div", {
|
|
459
459
|
className: "relative",
|
|
460
460
|
children: [/* @__PURE__ */ jsx(unstable_PasswordToggleField.Input, {
|
|
461
|
-
className: cn("flex h-[var(--density-height-md)] w-full rounded-md border border-input bg-background px-3 py-2 pr-10 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-
|
|
461
|
+
className: cn("flex h-[var(--density-height-md)] w-full rounded-md border border-input bg-background px-3 py-2 pr-10 text-base sm:text-sm ring-offset-background file:border-0 file:bg-transparent file:text-base file:font-medium sm:file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
462
462
|
ref,
|
|
463
463
|
...props
|
|
464
464
|
}), /* @__PURE__ */ jsx(unstable_PasswordToggleField.Toggle, {
|
|
@@ -537,8 +537,66 @@ const CodeInput = React.forwardRef(({ length = 6, onComplete, onChange, loading
|
|
|
537
537
|
});
|
|
538
538
|
CodeInput.displayName = "CodeInput";
|
|
539
539
|
//#endregion
|
|
540
|
+
//#region src/components/currency-input.tsx
|
|
541
|
+
/** Strips everything except digits and a single decimal point, limits to 2 decimal places. */
|
|
542
|
+
function sanitize(raw) {
|
|
543
|
+
let cleaned = raw.replace(/[^\d.]/g, "");
|
|
544
|
+
const parts = cleaned.split(".");
|
|
545
|
+
if (parts.length > 2) cleaned = parts[0] + "." + parts.slice(1).join("");
|
|
546
|
+
if (parts.length === 2 && parts[1].length > 2) cleaned = parts[0] + "." + parts[1].slice(0, 2);
|
|
547
|
+
return cleaned;
|
|
548
|
+
}
|
|
549
|
+
/** Converts a dollar string to cents: "25" → 2500, "25.50" → 2550 */
|
|
550
|
+
function toCents(raw) {
|
|
551
|
+
if (!raw) return 0;
|
|
552
|
+
const num = parseFloat(raw);
|
|
553
|
+
if (isNaN(num) || num <= 0) return 0;
|
|
554
|
+
return Math.round(num * 100);
|
|
555
|
+
}
|
|
556
|
+
/** Formats cents to a display string: 2500 → "25.00", 0 → "" */
|
|
557
|
+
function fromCents(cents) {
|
|
558
|
+
if (cents <= 0) return "";
|
|
559
|
+
return (cents / 100).toFixed(2);
|
|
560
|
+
}
|
|
561
|
+
const CurrencyInput = React.forwardRef(({ className, value, onChange, symbol = "$", ...props }, ref) => {
|
|
562
|
+
const [display, setDisplay] = React.useState(() => fromCents(value));
|
|
563
|
+
const prevValue = React.useRef(value);
|
|
564
|
+
if (value !== prevValue.current) {
|
|
565
|
+
prevValue.current = value;
|
|
566
|
+
const expected = fromCents(value);
|
|
567
|
+
if (toCents(display) !== value) setDisplay(expected);
|
|
568
|
+
}
|
|
569
|
+
function handleChange(e) {
|
|
570
|
+
const cleaned = sanitize(e.target.value);
|
|
571
|
+
setDisplay(cleaned);
|
|
572
|
+
onChange(toCents(cleaned));
|
|
573
|
+
}
|
|
574
|
+
function handleBlur() {
|
|
575
|
+
setDisplay(fromCents(toCents(display)));
|
|
576
|
+
}
|
|
577
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
578
|
+
className: "relative",
|
|
579
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
580
|
+
className: "pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 select-none text-muted-foreground",
|
|
581
|
+
"aria-hidden": "true",
|
|
582
|
+
children: symbol
|
|
583
|
+
}), /* @__PURE__ */ jsx("input", {
|
|
584
|
+
ref,
|
|
585
|
+
type: "text",
|
|
586
|
+
inputMode: "decimal",
|
|
587
|
+
autoComplete: "off",
|
|
588
|
+
value: display,
|
|
589
|
+
onChange: handleChange,
|
|
590
|
+
onBlur: handleBlur,
|
|
591
|
+
className: cn("flex h-[var(--density-height-md)] w-full rounded-md border border-input bg-background pl-7 pr-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
592
|
+
...props
|
|
593
|
+
})]
|
|
594
|
+
});
|
|
595
|
+
});
|
|
596
|
+
CurrencyInput.displayName = "CurrencyInput";
|
|
597
|
+
//#endregion
|
|
540
598
|
//#region src/components/label.tsx
|
|
541
|
-
const labelVariants = cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
599
|
+
const labelVariants = cva("mb-2 inline-block text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
542
600
|
const Label = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Label$1.Root, {
|
|
543
601
|
ref,
|
|
544
602
|
className: cn(labelVariants(), className),
|
|
@@ -576,7 +634,7 @@ InputGroup.displayName = "InputGroup";
|
|
|
576
634
|
//#region src/components/textarea.tsx
|
|
577
635
|
const Textarea = React.forwardRef(({ className, ...props }, ref) => {
|
|
578
636
|
return /* @__PURE__ */ jsx("textarea", {
|
|
579
|
-
className: cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
637
|
+
className: cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base sm:text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
580
638
|
ref,
|
|
581
639
|
...props
|
|
582
640
|
});
|
|
@@ -589,7 +647,7 @@ const SelectGroup = Select$1.Group;
|
|
|
589
647
|
const SelectValue = Select$1.Value;
|
|
590
648
|
const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Select$1.Trigger, {
|
|
591
649
|
ref,
|
|
592
|
-
className: cn("flex h-[var(--density-height-md)] w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-
|
|
650
|
+
className: cn("flex h-[var(--density-height-md)] w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-base sm:text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:border-primary focus:ring-2 focus:ring-primary/30 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", className),
|
|
593
651
|
...props,
|
|
594
652
|
children: [children, /* @__PURE__ */ jsx(Select$1.Icon, {
|
|
595
653
|
asChild: true,
|
|
@@ -679,7 +737,7 @@ const Calendar = ({ className, classNames, showOutsideDays = true, ...props }) =
|
|
|
679
737
|
weekday: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
|
|
680
738
|
week: "flex w-full mt-2",
|
|
681
739
|
day: cn("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50", props.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"),
|
|
682
|
-
day_button: cn("inline-flex items-center justify-center h-9 w-9 p-0 font-normal aria-selected:opacity-100 rounded-md", "hover:bg-accent hover:text-accent-foreground", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
740
|
+
day_button: cn("inline-flex items-center justify-center h-9 w-9 p-0 font-normal aria-selected:opacity-100 rounded-md", "hover:bg-accent hover:text-accent-foreground", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2"),
|
|
683
741
|
range_start: "day-range-start rounded-l-md",
|
|
684
742
|
range_end: "day-range-end rounded-r-md",
|
|
685
743
|
selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
@@ -854,31 +912,54 @@ const dateRangePresets = {
|
|
|
854
912
|
}
|
|
855
913
|
})
|
|
856
914
|
};
|
|
857
|
-
const DateRangePicker = React.forwardRef(({ value, onChange, placeholder = "Pick a date range", dateFormat = "LLL dd, y", disabled = false, className, presets, numberOfMonths = 2, fromDate, toDate }, ref) => {
|
|
915
|
+
const DateRangePicker = React.forwardRef(({ value, onChange, placeholder = "Pick a date range", dateFormat = "LLL dd, y", disabled = false, className, presets, numberOfMonths = 2, fromDate, toDate, clearable = true, clearLabel = "Clear date range" }, ref) => {
|
|
858
916
|
const [open, setOpen] = React.useState(false);
|
|
859
917
|
const handlePresetClick = (preset) => {
|
|
860
918
|
const range = preset.range();
|
|
861
919
|
onChange?.(range);
|
|
862
920
|
};
|
|
921
|
+
const showClear = clearable && !disabled && Boolean(value?.from);
|
|
922
|
+
const handleClear = (e) => {
|
|
923
|
+
e.stopPropagation();
|
|
924
|
+
e.preventDefault();
|
|
925
|
+
onChange?.(void 0);
|
|
926
|
+
};
|
|
863
927
|
return /* @__PURE__ */ jsxs(Popover, {
|
|
864
928
|
open,
|
|
865
929
|
onOpenChange: setOpen,
|
|
866
|
-
children: [/* @__PURE__ */
|
|
867
|
-
|
|
868
|
-
children: /* @__PURE__ */
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
930
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
931
|
+
className: "relative w-full",
|
|
932
|
+
children: [/* @__PURE__ */ jsx(PopoverTrigger, {
|
|
933
|
+
asChild: true,
|
|
934
|
+
children: /* @__PURE__ */ jsxs(Button, {
|
|
935
|
+
ref,
|
|
936
|
+
variant: "outline",
|
|
937
|
+
disabled,
|
|
938
|
+
className: cn("w-full justify-start text-left font-normal", !value && "text-muted-foreground", showClear && "pr-9", className),
|
|
939
|
+
children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
|
|
940
|
+
icon: faCalendar,
|
|
941
|
+
className: "mr-2 h-4 w-4"
|
|
942
|
+
}), value?.from ? value.to ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
943
|
+
format(value.from, dateFormat),
|
|
944
|
+
" –",
|
|
945
|
+
" ",
|
|
946
|
+
format(value.to, dateFormat)
|
|
947
|
+
] }) : format(value.from, dateFormat) : /* @__PURE__ */ jsx("span", { children: placeholder })]
|
|
948
|
+
})
|
|
949
|
+
}), showClear && /* @__PURE__ */ jsx("button", {
|
|
950
|
+
type: "button",
|
|
951
|
+
"aria-label": clearLabel,
|
|
952
|
+
onClick: handleClear,
|
|
953
|
+
onPointerDown: (e) => e.stopPropagation(),
|
|
954
|
+
onKeyDown: (e) => {
|
|
955
|
+
if (e.key === "Enter" || e.key === " ") handleClear(e);
|
|
956
|
+
},
|
|
957
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
|
|
958
|
+
children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
|
|
959
|
+
icon: faCircleXmark,
|
|
960
|
+
className: "h-4 w-4"
|
|
961
|
+
})
|
|
962
|
+
})]
|
|
882
963
|
}), /* @__PURE__ */ jsx(PopoverContent, {
|
|
883
964
|
className: "w-auto p-0",
|
|
884
965
|
align: "start",
|
|
@@ -1203,13 +1284,13 @@ const TextEditor = React.forwardRef(({ value, onChange, placeholder = "Start wri
|
|
|
1203
1284
|
if (!editor) return null;
|
|
1204
1285
|
return /* @__PURE__ */ jsxs("div", {
|
|
1205
1286
|
ref,
|
|
1206
|
-
className: cn("rounded-md border border-input bg-background ring-offset-background focus-within:ring-2 focus-within:ring-
|
|
1287
|
+
className: cn("rounded-md border border-input bg-background ring-offset-background focus-within:border-primary focus-within:ring-2 focus-within:ring-primary/30 focus-within:ring-offset-0", disabled && "cursor-not-allowed opacity-50", className),
|
|
1207
1288
|
children: [!hideToolbar && /* @__PURE__ */ jsx(EditorToolbar, {
|
|
1208
1289
|
editor,
|
|
1209
1290
|
toolbar
|
|
1210
1291
|
}), /* @__PURE__ */ jsx(EditorContent, {
|
|
1211
1292
|
editor,
|
|
1212
|
-
className: cn("prose prose-sm dark:prose-invert max-w-none px-3 py-2 focus:outline-none [&_.tiptap]:outline-none [&_.tiptap.ProseMirror]:outline-none", `[&_.tiptap]:min-h-[${minHeight}]`, "[&_.tiptap_p.is-editor-empty:first-child::before]:text-muted-foreground [&_.tiptap_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)] [&_.tiptap_p.is-editor-empty:first-child::before]:float-left [&_.tiptap_p.is-editor-empty:first-child::before]:h-0 [&_.tiptap_p.is-editor-empty:first-child::before]:pointer-events-none", contentClassName),
|
|
1293
|
+
className: cn("prose prose-base sm:prose-sm dark:prose-invert max-w-none px-3 py-2 focus:outline-none [&_.tiptap]:outline-none [&_.tiptap.ProseMirror]:outline-none", `[&_.tiptap]:min-h-[${minHeight}]`, "[&_.tiptap_p.is-editor-empty:first-child::before]:text-muted-foreground [&_.tiptap_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)] [&_.tiptap_p.is-editor-empty:first-child::before]:float-left [&_.tiptap_p.is-editor-empty:first-child::before]:h-0 [&_.tiptap_p.is-editor-empty:first-child::before]:pointer-events-none", contentClassName),
|
|
1213
1294
|
style: { minHeight }
|
|
1214
1295
|
})]
|
|
1215
1296
|
});
|
|
@@ -1230,7 +1311,7 @@ TextContent.displayName = "TextContent";
|
|
|
1230
1311
|
//#region src/components/checkbox.tsx
|
|
1231
1312
|
const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Checkbox$1.Root, {
|
|
1232
1313
|
ref,
|
|
1233
|
-
className: cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
1314
|
+
className: cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground", className),
|
|
1234
1315
|
...props,
|
|
1235
1316
|
children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, {
|
|
1236
1317
|
className: cn("flex items-center justify-center text-current"),
|
|
@@ -1251,7 +1332,7 @@ const RadioGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1251
1332
|
RadioGroup.displayName = RadioGroup$1.Root.displayName;
|
|
1252
1333
|
const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(RadioGroup$1.Item, {
|
|
1253
1334
|
ref,
|
|
1254
|
-
className: cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
1335
|
+
className: cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
1255
1336
|
...props,
|
|
1256
1337
|
children: /* @__PURE__ */ jsx(RadioGroup$1.Indicator, {
|
|
1257
1338
|
className: "flex items-center justify-center",
|
|
@@ -1265,7 +1346,7 @@ RadioGroupItem.displayName = RadioGroup$1.Item.displayName;
|
|
|
1265
1346
|
//#endregion
|
|
1266
1347
|
//#region src/components/switch.tsx
|
|
1267
1348
|
const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Switch$1.Root, {
|
|
1268
|
-
className: cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors duration-fast ease-default focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
1349
|
+
className: cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors duration-fast ease-default focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", className),
|
|
1269
1350
|
...props,
|
|
1270
1351
|
ref,
|
|
1271
1352
|
children: /* @__PURE__ */ jsx(Switch$1.Thumb, { className: cn("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform duration-fast ease-default data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })
|
|
@@ -1280,7 +1361,7 @@ const Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
1280
1361
|
children: [/* @__PURE__ */ jsx(Slider$1.Track, {
|
|
1281
1362
|
className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",
|
|
1282
1363
|
children: /* @__PURE__ */ jsx(Slider$1.Range, { className: "absolute h-full bg-primary" })
|
|
1283
|
-
}), /* @__PURE__ */ jsx(Slider$1.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
1364
|
+
}), /* @__PURE__ */ jsx(Slider$1.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })]
|
|
1284
1365
|
}));
|
|
1285
1366
|
Slider.displayName = Slider$1.Root.displayName;
|
|
1286
1367
|
//#endregion
|
|
@@ -1322,8 +1403,76 @@ const CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1322
1403
|
}));
|
|
1323
1404
|
CardFooter.displayName = "CardFooter";
|
|
1324
1405
|
//#endregion
|
|
1406
|
+
//#region src/components/alert.tsx
|
|
1407
|
+
const alertVariants = cva("relative w-full rounded-[var(--radius-md)] border p-4 text-sm", {
|
|
1408
|
+
variants: { variant: {
|
|
1409
|
+
default: "bg-muted/50 text-foreground border-border [&_[data-alert-icon]]:text-muted-foreground dark:bg-muted/30 dark:border-border-strong",
|
|
1410
|
+
destructive: "border-destructive-300 bg-destructive-50 text-destructive-900 [&_[data-alert-icon]]:text-destructive-600 dark:border-destructive-700 dark:bg-destructive-900/60 dark:text-destructive-100 dark:[&_[data-alert-icon]]:text-destructive-300",
|
|
1411
|
+
success: "border-success-300 bg-success-50 text-success-900 [&_[data-alert-icon]]:text-success-600 dark:border-success-700 dark:bg-success-900/60 dark:text-success-100 dark:[&_[data-alert-icon]]:text-success-300",
|
|
1412
|
+
warning: "border-amber-300 bg-amber-50 text-amber-900 [&_[data-alert-icon]]:text-amber-600 dark:border-amber-700 dark:bg-amber-900/60 dark:text-amber-100 dark:[&_[data-alert-icon]]:text-amber-300",
|
|
1413
|
+
danger: "border-destructive-300 bg-destructive-50 text-destructive-900 [&_[data-alert-icon]]:text-destructive-600 dark:border-destructive-700 dark:bg-destructive-900/60 dark:text-destructive-100 dark:[&_[data-alert-icon]]:text-destructive-300",
|
|
1414
|
+
info: "border-primary-300 bg-primary-50 text-primary-900 [&_[data-alert-icon]]:text-primary-600 dark:border-primary-700 dark:bg-primary-900/60 dark:text-primary-100 dark:[&_[data-alert-icon]]:text-primary-300"
|
|
1415
|
+
} },
|
|
1416
|
+
defaultVariants: { variant: "default" }
|
|
1417
|
+
});
|
|
1418
|
+
const defaultIcons = {
|
|
1419
|
+
default: faCircleInfo,
|
|
1420
|
+
destructive: faShieldExclamation,
|
|
1421
|
+
success: faCircleCheck,
|
|
1422
|
+
warning: faTriangleExclamation,
|
|
1423
|
+
danger: faCircleExclamation,
|
|
1424
|
+
info: faCircleInfo
|
|
1425
|
+
};
|
|
1426
|
+
const Alert = React.forwardRef(({ className, variant = "default", showIcon = false, icon, dismissable = false, onDismiss, children, ...props }, ref) => {
|
|
1427
|
+
const [dismissed, setDismissed] = React.useState(false);
|
|
1428
|
+
if (dismissed) return null;
|
|
1429
|
+
const resolvedIcon = icon ?? defaultIcons[variant ?? "default"];
|
|
1430
|
+
const hasIcon = showIcon && resolvedIcon;
|
|
1431
|
+
const handleDismiss = () => {
|
|
1432
|
+
setDismissed(true);
|
|
1433
|
+
onDismiss?.();
|
|
1434
|
+
};
|
|
1435
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1436
|
+
ref,
|
|
1437
|
+
role: "alert",
|
|
1438
|
+
className: cn(alertVariants({ variant }), hasIcon && "pl-11", dismissable && "pr-10", className),
|
|
1439
|
+
...props,
|
|
1440
|
+
children: [
|
|
1441
|
+
hasIcon && /* @__PURE__ */ jsx(FontAwesomeIcon, {
|
|
1442
|
+
icon: resolvedIcon,
|
|
1443
|
+
"data-alert-icon": "",
|
|
1444
|
+
className: "absolute left-4 top-4 size-4 translate-y-0.5"
|
|
1445
|
+
}),
|
|
1446
|
+
children,
|
|
1447
|
+
dismissable && /* @__PURE__ */ jsx("button", {
|
|
1448
|
+
type: "button",
|
|
1449
|
+
onClick: handleDismiss,
|
|
1450
|
+
className: "absolute right-3 top-3 rounded-[var(--radius-sm)] p-1 opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/40 focus:ring-offset-2",
|
|
1451
|
+
"aria-label": "Dismiss",
|
|
1452
|
+
children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
|
|
1453
|
+
icon: faXmark,
|
|
1454
|
+
className: "size-4"
|
|
1455
|
+
})
|
|
1456
|
+
})
|
|
1457
|
+
]
|
|
1458
|
+
});
|
|
1459
|
+
});
|
|
1460
|
+
Alert.displayName = "Alert";
|
|
1461
|
+
const AlertTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h5", {
|
|
1462
|
+
ref,
|
|
1463
|
+
className: cn("mb-1 font-medium leading-none tracking-tight", className),
|
|
1464
|
+
...props
|
|
1465
|
+
}));
|
|
1466
|
+
AlertTitle.displayName = "AlertTitle";
|
|
1467
|
+
const AlertDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
1468
|
+
ref,
|
|
1469
|
+
className: cn("text-sm [&_p]:leading-relaxed", className),
|
|
1470
|
+
...props
|
|
1471
|
+
}));
|
|
1472
|
+
AlertDescription.displayName = "AlertDescription";
|
|
1473
|
+
//#endregion
|
|
1325
1474
|
//#region src/components/badge.tsx
|
|
1326
|
-
const badgeVariants = cva("inline-flex h-6 items-center justify-center rounded-[var(--radius-sm)] border px-2.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-
|
|
1475
|
+
const badgeVariants = cva("inline-flex h-6 items-center justify-center rounded-[var(--radius-sm)] border px-2.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-primary/40 focus:ring-offset-2", {
|
|
1327
1476
|
variants: { variant: {
|
|
1328
1477
|
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
1329
1478
|
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
@@ -1389,7 +1538,7 @@ const DialogContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
1389
1538
|
className: cn("fixed left-[50%] top-[50%] z-[var(--z-modal)] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-normal data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg", className),
|
|
1390
1539
|
...props,
|
|
1391
1540
|
children: [children, /* @__PURE__ */ jsxs(Dialog$1.Close, {
|
|
1392
|
-
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-
|
|
1541
|
+
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/40 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
|
|
1393
1542
|
children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
|
|
1394
1543
|
icon: faXmark,
|
|
1395
1544
|
className: "h-4 w-4"
|
|
@@ -1564,7 +1713,7 @@ const SheetContent = React.forwardRef(({ side = "right", size = "sm", className,
|
|
|
1564
1713
|
}), className),
|
|
1565
1714
|
...props,
|
|
1566
1715
|
children: [children, /* @__PURE__ */ jsxs(Dialog$1.Close, {
|
|
1567
|
-
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-
|
|
1716
|
+
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/40 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",
|
|
1568
1717
|
children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
|
|
1569
1718
|
icon: faXmark,
|
|
1570
1719
|
className: "h-4 w-4"
|
|
@@ -1702,13 +1851,13 @@ const TabsList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1702
1851
|
TabsList.displayName = Tabs$1.List.displayName;
|
|
1703
1852
|
const TabsTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs$1.Trigger, {
|
|
1704
1853
|
ref,
|
|
1705
|
-
className: cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
1854
|
+
className: cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-[var(--bison-tab-active-bg,hsl(var(--card)))] data-[state=active]:text-[var(--bison-tab-active-fg,hsl(var(--card-foreground)))] data-[state=active]:shadow-sm", className),
|
|
1706
1855
|
...props
|
|
1707
1856
|
}));
|
|
1708
1857
|
TabsTrigger.displayName = Tabs$1.Trigger.displayName;
|
|
1709
1858
|
const TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs$1.Content, {
|
|
1710
1859
|
ref,
|
|
1711
|
-
className: cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
1860
|
+
className: cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2", className),
|
|
1712
1861
|
...props
|
|
1713
1862
|
}));
|
|
1714
1863
|
TabsContent.displayName = Tabs$1.Content.displayName;
|
|
@@ -2250,6 +2399,105 @@ function Spinner({ className, size, ...props }) {
|
|
|
2250
2399
|
});
|
|
2251
2400
|
}
|
|
2252
2401
|
//#endregion
|
|
2402
|
+
//#region src/components/saved-ping.tsx
|
|
2403
|
+
/**
|
|
2404
|
+
* A bespoke "saved!" confirmation pill — quieter than a standard toast.
|
|
2405
|
+
* Intended for background autosave flows where success needs acknowledgment
|
|
2406
|
+
* without interrupting the user. Uses the `success-*` semantic color scale so
|
|
2407
|
+
* it inherits the theme's success hue.
|
|
2408
|
+
*
|
|
2409
|
+
* Visual: small circle with light success fill, darker success border, and an
|
|
2410
|
+
* animated SVG checkmark that draws in. The whole pill fades in, drifts up,
|
|
2411
|
+
* holds briefly, then fades out.
|
|
2412
|
+
*/
|
|
2413
|
+
const SavedPing = React.forwardRef(({ pingCount, label = "Saved", className, "data-testid": dataTestId }, ref) => {
|
|
2414
|
+
if (pingCount === 0) return null;
|
|
2415
|
+
return /* @__PURE__ */ jsxs(motion.div, {
|
|
2416
|
+
ref,
|
|
2417
|
+
role: "status",
|
|
2418
|
+
"aria-live": "polite",
|
|
2419
|
+
"aria-label": label,
|
|
2420
|
+
"data-testid": dataTestId,
|
|
2421
|
+
initial: {
|
|
2422
|
+
opacity: 0,
|
|
2423
|
+
y: 14,
|
|
2424
|
+
scale: .92
|
|
2425
|
+
},
|
|
2426
|
+
animate: {
|
|
2427
|
+
opacity: [
|
|
2428
|
+
0,
|
|
2429
|
+
1,
|
|
2430
|
+
1,
|
|
2431
|
+
0
|
|
2432
|
+
],
|
|
2433
|
+
y: [
|
|
2434
|
+
14,
|
|
2435
|
+
0,
|
|
2436
|
+
-6,
|
|
2437
|
+
-16
|
|
2438
|
+
],
|
|
2439
|
+
scale: [
|
|
2440
|
+
.92,
|
|
2441
|
+
1,
|
|
2442
|
+
1,
|
|
2443
|
+
.96
|
|
2444
|
+
]
|
|
2445
|
+
},
|
|
2446
|
+
transition: {
|
|
2447
|
+
duration: 1.4,
|
|
2448
|
+
times: [
|
|
2449
|
+
0,
|
|
2450
|
+
.15,
|
|
2451
|
+
.75,
|
|
2452
|
+
1
|
|
2453
|
+
],
|
|
2454
|
+
ease: [
|
|
2455
|
+
.22,
|
|
2456
|
+
1,
|
|
2457
|
+
.36,
|
|
2458
|
+
1
|
|
2459
|
+
]
|
|
2460
|
+
},
|
|
2461
|
+
className: cn("pointer-events-none flex h-9 items-center gap-2 rounded-full border border-success-500 bg-success-50 pr-3.5 pl-2 text-sm font-medium text-success-700 shadow-sm shadow-success-500/10 dark:border-success-400 dark:bg-success-950/60 dark:text-success-200 dark:shadow-success-500/20", className),
|
|
2462
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
2463
|
+
"aria-hidden": true,
|
|
2464
|
+
className: "flex h-6 w-6 items-center justify-center rounded-full border border-success-500 bg-success-100/80 dark:border-success-400 dark:bg-success-900/60",
|
|
2465
|
+
children: /* @__PURE__ */ jsx("svg", {
|
|
2466
|
+
viewBox: "0 0 20 20",
|
|
2467
|
+
className: "h-3.5 w-3.5",
|
|
2468
|
+
fill: "none",
|
|
2469
|
+
stroke: "currentColor",
|
|
2470
|
+
strokeWidth: 2.5,
|
|
2471
|
+
strokeLinecap: "round",
|
|
2472
|
+
strokeLinejoin: "round",
|
|
2473
|
+
children: /* @__PURE__ */ jsx(motion.path, {
|
|
2474
|
+
d: "M4 10.5 L8.5 15 L16 6",
|
|
2475
|
+
initial: {
|
|
2476
|
+
pathLength: 0,
|
|
2477
|
+
opacity: 0
|
|
2478
|
+
},
|
|
2479
|
+
animate: {
|
|
2480
|
+
pathLength: 1,
|
|
2481
|
+
opacity: 1
|
|
2482
|
+
},
|
|
2483
|
+
transition: {
|
|
2484
|
+
pathLength: {
|
|
2485
|
+
delay: .18,
|
|
2486
|
+
duration: .32,
|
|
2487
|
+
ease: "easeOut"
|
|
2488
|
+
},
|
|
2489
|
+
opacity: {
|
|
2490
|
+
delay: .18,
|
|
2491
|
+
duration: .05
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
})
|
|
2495
|
+
})
|
|
2496
|
+
}), /* @__PURE__ */ jsx("span", { children: label })]
|
|
2497
|
+
});
|
|
2498
|
+
});
|
|
2499
|
+
SavedPing.displayName = "SavedPing";
|
|
2500
|
+
//#endregion
|
|
2253
2501
|
//#region src/components/context-menu.tsx
|
|
2254
2502
|
const ContextMenu = ContextMenu$1.Root;
|
|
2255
2503
|
const ContextMenuTrigger = ContextMenu$1.Trigger;
|
|
@@ -2533,7 +2781,7 @@ const CommandInput = React.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2533
2781
|
className: "mr-2 h-4 w-4 shrink-0 opacity-50"
|
|
2534
2782
|
}), /* @__PURE__ */ jsx(Command$1.Input, {
|
|
2535
2783
|
ref,
|
|
2536
|
-
className: cn("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
2784
|
+
className: cn("flex h-11 w-full rounded-md bg-transparent py-3 text-base sm:text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
2537
2785
|
...props
|
|
2538
2786
|
})]
|
|
2539
2787
|
}));
|
|
@@ -4355,7 +4603,7 @@ const MediaCard = React.forwardRef(({ image, fallbackIcon = faImage, badge, titl
|
|
|
4355
4603
|
return /* @__PURE__ */ jsx(href ? "a" : "div", {
|
|
4356
4604
|
...href ? {
|
|
4357
4605
|
href,
|
|
4358
|
-
className: "block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
4606
|
+
className: "block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 rounded-lg"
|
|
4359
4607
|
} : {},
|
|
4360
4608
|
children: /* @__PURE__ */ jsxs(Card, {
|
|
4361
4609
|
ref,
|
|
@@ -4709,6 +4957,6 @@ function NotificationSettingsBlock({ groups, onSave, loading = false, error, dis
|
|
|
4709
4957
|
});
|
|
4710
4958
|
}
|
|
4711
4959
|
//#endregion
|
|
4712
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, EmptyStateBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, Label, MaintenanceBlock, MediaCard, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, ResetPasswordBlock, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialProviders, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, navigationMenuTriggerStyle, progressBarVariants, spinnerVariants, toast, useDensity, useFormContext, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
4960
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CurrencyInput, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, EmptyStateBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, Label, MaintenanceBlock, MediaCard, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, ResetPasswordBlock, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialProviders, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, navigationMenuTriggerStyle, progressBarVariants, spinnerVariants, toast, useDensity, useFormContext, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
4713
4961
|
|
|
4714
4962
|
//# sourceMappingURL=index.mjs.map
|