@bison-lab/ui 3.7.0 → 3.11.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 +258 -216
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +209 -77
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./utils-DPv8mMhD.mjs";
|
|
3
3
|
import * as React from "react";
|
|
4
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
import { contrastLevelLabel, contrastVerdict, defaultFontWeights, densityPresets, deriveDarkPalette, deriveLightPalette, generateBrandScales, generateDestructiveScaleCSS, generateScaleCSS, motionPresets, radiusPresets, shadowPresets, typeScale, zIndexTokens } from "@bison-lab/tokens";
|
|
5
6
|
import { fontFaceCss, fontPreloads, fontStack, isFontId } from "@bison-lab/fonts";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { AnimatePresence, motion } from "motion/react";
|
|
8
8
|
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";
|
|
9
9
|
import { cva } from "class-variance-authority";
|
|
@@ -33,6 +33,41 @@ const actionNegativeToneClasses = "border border-destructive-200/90 bg-destructi
|
|
|
33
33
|
/** @deprecated Use `actionNeutralToneClasses` + `variant="actionNeutral"` on Button. */
|
|
34
34
|
const actionNeutralIconChromeClasses = actionNeutralToneClasses;
|
|
35
35
|
//#endregion
|
|
36
|
+
//#region src/lib/chrome-look.tsx
|
|
37
|
+
/**
|
|
38
|
+
* Static classes that read `--look-*`. Tailwind scans this file; the
|
|
39
|
+
* values themselves are bound by `[data-look]` CSS from themeHead, so a
|
|
40
|
+
* custom family does not need a preset color.
|
|
41
|
+
*/
|
|
42
|
+
const CHROME_LOOK_CLASSES = {
|
|
43
|
+
chip: "bg-[hsl(var(--look-tint))] text-[hsl(var(--look-ink))] dark:bg-[hsl(var(--look-tint-dark))] dark:text-[hsl(var(--look-ink-dark))]",
|
|
44
|
+
title: "group-hover:text-[hsl(var(--look-ink))] dark:group-hover:text-[hsl(var(--look-ink-dark))]",
|
|
45
|
+
ink: "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]",
|
|
46
|
+
eyebrow: "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]",
|
|
47
|
+
fill: "fill-[hsl(var(--look-ink))] stroke-[hsl(var(--look-ink))] dark:fill-[hsl(var(--look-ink-dark))] dark:stroke-[hsl(var(--look-ink-dark))]"
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Featured-link variants from look keys. Icons stay the site's; chip and
|
|
51
|
+
* title come from the library recipe. `megaMenuVariantsFromTones` is the
|
|
52
|
+
* same function — the original ticket name.
|
|
53
|
+
*/
|
|
54
|
+
function megaMenuVariantsFromLooks(looks, icons = {}) {
|
|
55
|
+
return Object.fromEntries(looks.map((look) => [look, {
|
|
56
|
+
chip: CHROME_LOOK_CLASSES.chip,
|
|
57
|
+
title: CHROME_LOOK_CLASSES.title,
|
|
58
|
+
icon: icons[look]
|
|
59
|
+
}]));
|
|
60
|
+
}
|
|
61
|
+
const megaMenuVariantsFromTones = megaMenuVariantsFromLooks;
|
|
62
|
+
/** Sets `data-look` so theme CSS can bind the four-stop recipe. */
|
|
63
|
+
const LookSurface = React.forwardRef(({ look, className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
64
|
+
ref,
|
|
65
|
+
"data-look": look,
|
|
66
|
+
className: cn(className),
|
|
67
|
+
...props
|
|
68
|
+
}));
|
|
69
|
+
LookSurface.displayName = "LookSurface";
|
|
70
|
+
//#endregion
|
|
36
71
|
//#region src/hooks/use-scroll-reveal.ts
|
|
37
72
|
/**
|
|
38
73
|
* Returns a ref and a boolean indicating whether the element is in view.
|
|
@@ -403,8 +438,8 @@ const FOCUSABLE_SELECTOR = [
|
|
|
403
438
|
* Move focus to the first control the schema rejected (WCAG technique G139).
|
|
404
439
|
*
|
|
405
440
|
* Dives inside the invalid element when the element itself cannot hold focus:
|
|
406
|
-
* a checkbox
|
|
407
|
-
*
|
|
441
|
+
* a checkbox in a group carries `aria-invalid` (a fieldset must not — axe's
|
|
442
|
+
* `aria-allowed-attr`), and the first of those is the landing point.
|
|
408
443
|
*/
|
|
409
444
|
function focusFirstInvalid(form) {
|
|
410
445
|
const invalids = form.querySelectorAll("[aria-invalid=\"true\"]");
|
|
@@ -849,13 +884,18 @@ function FormField({ name, label, description, required, labelLayout = "stack",
|
|
|
849
884
|
ref: wrapRef,
|
|
850
885
|
className: cn("flex flex-col", errorMessage && "bison-shake", className),
|
|
851
886
|
"aria-describedby": describedBy,
|
|
852
|
-
"aria-invalid": errorMessage ? true : void 0,
|
|
853
|
-
"aria-required": required || void 0,
|
|
854
887
|
children: [
|
|
855
888
|
label && /* @__PURE__ */ jsxs("legend", {
|
|
856
889
|
id: labelId,
|
|
857
890
|
className: "mb-1.5 text-sm font-medium leading-none",
|
|
858
|
-
children: [
|
|
891
|
+
children: [
|
|
892
|
+
label,
|
|
893
|
+
required ? /* @__PURE__ */ jsx("span", {
|
|
894
|
+
className: "sr-only",
|
|
895
|
+
children: " (required)"
|
|
896
|
+
}) : null,
|
|
897
|
+
requiredMark
|
|
898
|
+
]
|
|
859
899
|
}),
|
|
860
900
|
children,
|
|
861
901
|
messages
|
|
@@ -885,7 +925,7 @@ function FormField({ name, label, description, required, labelLayout = "stack",
|
|
|
885
925
|
function FormError({ message, className }) {
|
|
886
926
|
if (!message) return null;
|
|
887
927
|
return /* @__PURE__ */ jsx("div", {
|
|
888
|
-
className: cn("rounded-md border border-destructive
|
|
928
|
+
className: cn("rounded-md border border-destructive-300 bg-destructive-50 px-4 py-3 text-sm text-destructive-700", className),
|
|
889
929
|
role: "alert",
|
|
890
930
|
children: message
|
|
891
931
|
});
|
|
@@ -952,7 +992,7 @@ const Button = React.forwardRef(({ className, variant, size, fullWidth, asChild
|
|
|
952
992
|
"data-loading": loading || void 0,
|
|
953
993
|
...props,
|
|
954
994
|
children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
955
|
-
className: "
|
|
995
|
+
className: "inline-flex items-center justify-center opacity-0",
|
|
956
996
|
children
|
|
957
997
|
}), /* @__PURE__ */ jsx("span", {
|
|
958
998
|
"aria-hidden": "true",
|
|
@@ -1046,12 +1086,12 @@ const menuSurfaceClasses = "z-[var(--z-dropdown)] min-w-[8rem] overflow-hidden r
|
|
|
1046
1086
|
* Base menu item: focus styling, disabled state, selection-ready.
|
|
1047
1087
|
* Used by: Select Item, DropdownMenu Item, ContextMenu Item, Command Item.
|
|
1048
1088
|
*/
|
|
1049
|
-
const menuItemClasses = "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[disabled]:cursor-default";
|
|
1089
|
+
const menuItemClasses = "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[disabled=true]:cursor-default data-[disabled=\"\"]:pointer-events-none data-[disabled=\"\"]:opacity-50 data-[disabled=\"\"]:cursor-default";
|
|
1050
1090
|
/**
|
|
1051
1091
|
* Menu item variant with indicator gutter on the left (for checkbox/radio
|
|
1052
1092
|
* indicators on Select, DropdownMenu, ContextMenu).
|
|
1053
1093
|
*/
|
|
1054
|
-
const menuItemWithIndicatorClasses = "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[disabled]:cursor-default";
|
|
1094
|
+
const menuItemWithIndicatorClasses = "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[disabled=true]:cursor-default data-[disabled=\"\"]:pointer-events-none data-[disabled=\"\"]:opacity-50 data-[disabled=\"\"]:cursor-default";
|
|
1055
1095
|
/**
|
|
1056
1096
|
* Menu separator: horizontal rule sitting between menu groups.
|
|
1057
1097
|
*/
|
|
@@ -1471,8 +1511,8 @@ const Calendar = ({ className, classNames, showOutsideDays = true, ...props }) =
|
|
|
1471
1511
|
range_end: "day-range-end rounded-r-md",
|
|
1472
1512
|
selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
1473
1513
|
today: "bg-accent text-accent-foreground",
|
|
1474
|
-
outside: "day-outside text-muted-foreground aria-selected:text-muted-foreground
|
|
1475
|
-
disabled: "text-muted-foreground
|
|
1514
|
+
outside: "day-outside text-muted-foreground aria-selected:text-muted-foreground",
|
|
1515
|
+
disabled: "text-muted-foreground",
|
|
1476
1516
|
range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
|
|
1477
1517
|
hidden: "invisible",
|
|
1478
1518
|
...classNames
|
|
@@ -1989,13 +2029,53 @@ Separator.displayName = Separator$1.Root.displayName;
|
|
|
1989
2029
|
const TooltipProvider = Tooltip$1.Provider;
|
|
1990
2030
|
const Tooltip = Tooltip$1.Root;
|
|
1991
2031
|
const TooltipTrigger = Tooltip$1.Trigger;
|
|
1992
|
-
const
|
|
2032
|
+
const tooltipContentVariants = cva("z-[var(--z-tooltip)] rounded-md border bg-popover text-sm text-popover-foreground shadow-md", {
|
|
2033
|
+
variants: { size: {
|
|
2034
|
+
sm: "px-3 py-1.5",
|
|
2035
|
+
md: "flex max-w-xs flex-col gap-1.5 px-3 py-2.5"
|
|
2036
|
+
} },
|
|
2037
|
+
defaultVariants: { size: "sm" }
|
|
2038
|
+
});
|
|
2039
|
+
const TooltipContent = React.forwardRef(({ className, sideOffset = 6, size, arrow = true, children, ...props }, ref) => /* @__PURE__ */ jsxs(Tooltip$1.Content, {
|
|
1993
2040
|
ref,
|
|
1994
2041
|
sideOffset,
|
|
1995
|
-
className: cn(
|
|
1996
|
-
...props
|
|
2042
|
+
className: cn(tooltipContentVariants({ size }), tooltipAnimationClasses, className),
|
|
2043
|
+
...props,
|
|
2044
|
+
children: [children, arrow ? /* @__PURE__ */ jsx(TooltipArrow, {}) : null]
|
|
1997
2045
|
}));
|
|
1998
2046
|
TooltipContent.displayName = Tooltip$1.Content.displayName;
|
|
2047
|
+
const TooltipTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", {
|
|
2048
|
+
ref,
|
|
2049
|
+
className: cn("font-semibold leading-none", className),
|
|
2050
|
+
...props
|
|
2051
|
+
}));
|
|
2052
|
+
TooltipTitle.displayName = "TooltipTitle";
|
|
2053
|
+
const TooltipDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", {
|
|
2054
|
+
ref,
|
|
2055
|
+
className: cn("text-xs text-muted-foreground", className),
|
|
2056
|
+
...props
|
|
2057
|
+
}));
|
|
2058
|
+
TooltipDescription.displayName = "TooltipDescription";
|
|
2059
|
+
const TooltipMedia = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
2060
|
+
ref,
|
|
2061
|
+
className: cn("shrink-0", className),
|
|
2062
|
+
...props
|
|
2063
|
+
}));
|
|
2064
|
+
TooltipMedia.displayName = "TooltipMedia";
|
|
2065
|
+
const TooltipShortcut = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
2066
|
+
ref,
|
|
2067
|
+
className: cn("ml-auto inline-flex items-center gap-1", className),
|
|
2068
|
+
...props
|
|
2069
|
+
}));
|
|
2070
|
+
TooltipShortcut.displayName = "TooltipShortcut";
|
|
2071
|
+
const TooltipArrow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip$1.Arrow, {
|
|
2072
|
+
ref,
|
|
2073
|
+
width: 12,
|
|
2074
|
+
height: 7,
|
|
2075
|
+
className: cn("fill-popover drop-shadow-[0_1px_0_hsl(var(--border))]", className),
|
|
2076
|
+
...props
|
|
2077
|
+
}));
|
|
2078
|
+
TooltipArrow.displayName = Tooltip$1.Arrow.displayName;
|
|
1999
2079
|
//#endregion
|
|
2000
2080
|
//#region src/components/text-editor.tsx
|
|
2001
2081
|
const ToolbarButton = ({ onClick, isActive, disabled, tooltip, children }) => /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
@@ -2007,6 +2087,7 @@ const ToolbarButton = ({ onClick, isActive, disabled, tooltip, children }) => /*
|
|
|
2007
2087
|
disabled,
|
|
2008
2088
|
className: cn("h-8 w-8 p-0", isActive && "bg-accent text-accent-foreground"),
|
|
2009
2089
|
onClick,
|
|
2090
|
+
"aria-label": tooltip,
|
|
2010
2091
|
children
|
|
2011
2092
|
})
|
|
2012
2093
|
}), /* @__PURE__ */ jsx(TooltipContent, {
|
|
@@ -2193,6 +2274,11 @@ const TextEditor = React.forwardRef(({ value, onChange, placeholder = "Start wri
|
|
|
2193
2274
|
],
|
|
2194
2275
|
content: value,
|
|
2195
2276
|
editable: !disabled,
|
|
2277
|
+
editorProps: { attributes: {
|
|
2278
|
+
role: "textbox",
|
|
2279
|
+
"aria-multiline": "true",
|
|
2280
|
+
"aria-label": placeholder || "Editor"
|
|
2281
|
+
} },
|
|
2196
2282
|
onUpdate: ({ editor: e }) => {
|
|
2197
2283
|
onChange?.(e.getHTML());
|
|
2198
2284
|
},
|
|
@@ -2334,7 +2420,7 @@ Switch.displayName = Switch$1.Root.displayName;
|
|
|
2334
2420
|
//#endregion
|
|
2335
2421
|
//#region src/components/slider.tsx
|
|
2336
2422
|
const Slider = React.forwardRef(({ className, ...props }, ref) => {
|
|
2337
|
-
const { id, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-required": ariaRequired, ...rootProps } = useFieldControl(props);
|
|
2423
|
+
const { id, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-required": ariaRequired, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rootProps } = useFieldControl(props);
|
|
2338
2424
|
return /* @__PURE__ */ jsxs(Slider$1.Root, {
|
|
2339
2425
|
ref,
|
|
2340
2426
|
className: cn("relative flex w-full touch-none select-none items-center", className),
|
|
@@ -2344,6 +2430,8 @@ const Slider = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
2344
2430
|
children: /* @__PURE__ */ jsx(Slider$1.Range, { className: "absolute h-full bg-primary" })
|
|
2345
2431
|
}), /* @__PURE__ */ jsx(Slider$1.Thumb, {
|
|
2346
2432
|
id,
|
|
2433
|
+
"aria-label": ariaLabel,
|
|
2434
|
+
"aria-labelledby": ariaLabelledBy,
|
|
2347
2435
|
"aria-describedby": describedBy,
|
|
2348
2436
|
"aria-invalid": invalid,
|
|
2349
2437
|
"aria-required": ariaRequired,
|
|
@@ -2503,6 +2591,14 @@ function Badge({ className, variant, ...props }) {
|
|
|
2503
2591
|
});
|
|
2504
2592
|
}
|
|
2505
2593
|
//#endregion
|
|
2594
|
+
//#region src/components/kbd.tsx
|
|
2595
|
+
const Kbd = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("kbd", {
|
|
2596
|
+
ref,
|
|
2597
|
+
className: cn("pointer-events-none inline-flex h-5 min-w-5 items-center justify-center rounded-sm border border-border bg-muted px-1 font-sans text-[0.6875rem] font-medium text-muted-foreground select-none", className),
|
|
2598
|
+
...props
|
|
2599
|
+
}));
|
|
2600
|
+
Kbd.displayName = "Kbd";
|
|
2601
|
+
//#endregion
|
|
2506
2602
|
//#region src/components/rotating-badge.tsx
|
|
2507
2603
|
const DEFAULT_SIZE = 160;
|
|
2508
2604
|
const DEFAULT_DURATION = 26;
|
|
@@ -3026,7 +3122,7 @@ const Stepper = React.forwardRef(({ className, orientation = "horizontal", inter
|
|
|
3026
3122
|
children: /* @__PURE__ */ jsx("div", {
|
|
3027
3123
|
ref,
|
|
3028
3124
|
role: interactive ? "tablist" : void 0,
|
|
3029
|
-
"aria-orientation": orientation,
|
|
3125
|
+
"aria-orientation": interactive ? orientation : void 0,
|
|
3030
3126
|
className: cn("flex w-full", orientation === "horizontal" ? "flex-row items-start" : "flex-col items-stretch", className),
|
|
3031
3127
|
...props,
|
|
3032
3128
|
children: decoratedChildren
|
|
@@ -3575,6 +3671,7 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
|
|
|
3575
3671
|
},
|
|
3576
3672
|
children: [/* @__PURE__ */ jsx(SelectTrigger, {
|
|
3577
3673
|
className: "h-8 w-[70px]",
|
|
3674
|
+
"aria-label": "Rows per page",
|
|
3578
3675
|
children: /* @__PURE__ */ jsx(SelectValue, { placeholder: `${paginationVal.pageSize}` })
|
|
3579
3676
|
}), /* @__PURE__ */ jsx(SelectContent, {
|
|
3580
3677
|
side: "top",
|
|
@@ -3657,6 +3754,7 @@ const Progress = React.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
3657
3754
|
ref,
|
|
3658
3755
|
className: cn("relative h-4 w-full overflow-hidden rounded-full bg-muted", className),
|
|
3659
3756
|
...props,
|
|
3757
|
+
"aria-label": props["aria-label"] ?? "Progress",
|
|
3660
3758
|
children: /* @__PURE__ */ jsx(Progress$1.Indicator, {
|
|
3661
3759
|
className: "h-full w-full flex-1 bg-primary transition-all duration-normal ease-default",
|
|
3662
3760
|
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
@@ -3691,7 +3789,8 @@ function formatCurrency(amount, divisor, locale, currency) {
|
|
|
3691
3789
|
maximumFractionDigits: 0
|
|
3692
3790
|
}).format(amount / divisor);
|
|
3693
3791
|
}
|
|
3694
|
-
const ProgressBar = React.forwardRef(({ className, value = 0, max = 100, color, size, label, showValue, format = "percent", locale = "en-US", currency = "USD", currencyDivisor = 1, ...props }, ref) => {
|
|
3792
|
+
const ProgressBar = React.forwardRef(({ className, value = 0, max = 100, color, size, label, showValue, format = "percent", locale = "en-US", currency = "USD", currencyDivisor = 1, "aria-label": ariaLabel, ...props }, ref) => {
|
|
3793
|
+
const labelId = React.useId();
|
|
3695
3794
|
const pct = Math.min(100, Math.max(0, value / max * 100));
|
|
3696
3795
|
const formattedValue = React.useMemo(() => {
|
|
3697
3796
|
if (format === "currency") return `${formatCurrency(value, currencyDivisor, locale, currency)} of ${formatCurrency(max, currencyDivisor, locale, currency)}`;
|
|
@@ -3712,6 +3811,7 @@ const ProgressBar = React.forwardRef(({ className, value = 0, max = 100, color,
|
|
|
3712
3811
|
children: [(label || showValue) && /* @__PURE__ */ jsxs("div", {
|
|
3713
3812
|
className: "mb-1.5 flex items-center justify-between text-sm",
|
|
3714
3813
|
children: [label && /* @__PURE__ */ jsx("span", {
|
|
3814
|
+
id: labelId,
|
|
3715
3815
|
className: "font-medium text-foreground",
|
|
3716
3816
|
children: label
|
|
3717
3817
|
}), showValue && /* @__PURE__ */ jsx("span", {
|
|
@@ -3724,6 +3824,8 @@ const ProgressBar = React.forwardRef(({ className, value = 0, max = 100, color,
|
|
|
3724
3824
|
"aria-valuenow": value,
|
|
3725
3825
|
"aria-valuemin": 0,
|
|
3726
3826
|
"aria-valuemax": max,
|
|
3827
|
+
"aria-labelledby": label ? labelId : void 0,
|
|
3828
|
+
"aria-label": label ? void 0 : ariaLabel ?? "Progress",
|
|
3727
3829
|
children: /* @__PURE__ */ jsx("div", {
|
|
3728
3830
|
className: cn(progressBarVariants({ color })),
|
|
3729
3831
|
style: { width: `${pct}%` }
|
|
@@ -3740,6 +3842,7 @@ const ScrollArea = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
3740
3842
|
...props,
|
|
3741
3843
|
children: [
|
|
3742
3844
|
/* @__PURE__ */ jsx(ScrollArea$1.Viewport, {
|
|
3845
|
+
tabIndex: 0,
|
|
3743
3846
|
className: "h-full w-full rounded-[inherit]",
|
|
3744
3847
|
children
|
|
3745
3848
|
}),
|
|
@@ -4036,11 +4139,31 @@ const NavigationMenuTrigger = React.forwardRef(({ className, children, ...props
|
|
|
4036
4139
|
]
|
|
4037
4140
|
}));
|
|
4038
4141
|
NavigationMenuTrigger.displayName = NavigationMenu$1.Trigger.displayName;
|
|
4039
|
-
const NavigationMenuContent = React.forwardRef(({ className, ...props }, ref) =>
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4142
|
+
const NavigationMenuContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
4143
|
+
const innerRef = React.useRef(null);
|
|
4144
|
+
React.useImperativeHandle(ref, () => innerRef.current);
|
|
4145
|
+
const [closed, setClosed] = React.useState(true);
|
|
4146
|
+
React.useEffect(() => {
|
|
4147
|
+
const el = innerRef.current;
|
|
4148
|
+
if (!el) return;
|
|
4149
|
+
const sync = () => {
|
|
4150
|
+
setClosed(el.getAttribute("data-state") === "closed" || el.hasAttribute("hidden"));
|
|
4151
|
+
};
|
|
4152
|
+
sync();
|
|
4153
|
+
const observer = new MutationObserver(sync);
|
|
4154
|
+
observer.observe(el, {
|
|
4155
|
+
attributes: true,
|
|
4156
|
+
attributeFilter: ["data-state", "hidden"]
|
|
4157
|
+
});
|
|
4158
|
+
return () => observer.disconnect();
|
|
4159
|
+
}, []);
|
|
4160
|
+
return /* @__PURE__ */ jsx(NavigationMenu$1.Content, {
|
|
4161
|
+
ref: innerRef,
|
|
4162
|
+
inert: closed,
|
|
4163
|
+
className: cn("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto", "group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:duration-200 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0", className),
|
|
4164
|
+
...props
|
|
4165
|
+
});
|
|
4166
|
+
});
|
|
4044
4167
|
NavigationMenuContent.displayName = NavigationMenu$1.Content.displayName;
|
|
4045
4168
|
const NavigationMenuLink = NavigationMenu$1.Link;
|
|
4046
4169
|
const NavigationMenuViewport = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
@@ -4175,7 +4298,7 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
|
4175
4298
|
//#region src/components/command.tsx
|
|
4176
4299
|
const Command = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Command$1, {
|
|
4177
4300
|
ref,
|
|
4178
|
-
className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-
|
|
4301
|
+
className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-foreground", className),
|
|
4179
4302
|
...props
|
|
4180
4303
|
}));
|
|
4181
4304
|
Command.displayName = Command$1.displayName;
|
|
@@ -4219,13 +4342,14 @@ const CommandGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
4219
4342
|
CommandGroup.displayName = Command$1.Group.displayName;
|
|
4220
4343
|
const CommandSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Command$1.Separator, {
|
|
4221
4344
|
ref,
|
|
4345
|
+
"aria-hidden": "true",
|
|
4222
4346
|
className: cn("-mx-1 h-px bg-border", className),
|
|
4223
4347
|
...props
|
|
4224
4348
|
}));
|
|
4225
4349
|
CommandSeparator.displayName = Command$1.Separator.displayName;
|
|
4226
4350
|
const CommandItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Command$1.Item, {
|
|
4227
4351
|
ref,
|
|
4228
|
-
className: cn(menuItemClasses, "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground", className),
|
|
4352
|
+
className: cn(menuItemClasses, "text-foreground data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground", className),
|
|
4229
4353
|
...props
|
|
4230
4354
|
}));
|
|
4231
4355
|
CommandItem.displayName = Command$1.Item.displayName;
|
|
@@ -4394,6 +4518,7 @@ const EditableTitle = React.forwardRef(({ className, size, value, onSave, onChan
|
|
|
4394
4518
|
}),
|
|
4395
4519
|
loading && /* @__PURE__ */ jsx("span", {
|
|
4396
4520
|
className: cn("inline-flex items-center justify-center shrink-0 rounded-md text-muted-foreground", loadingSpinnerWrapClass(size), "animate-spin pointer-events-none"),
|
|
4521
|
+
role: "status",
|
|
4397
4522
|
"aria-label": "Saving",
|
|
4398
4523
|
children: /* @__PURE__ */ jsxs("svg", {
|
|
4399
4524
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5491,7 +5616,8 @@ function VerifyBlock({ onVerify, onResend, codeLength = 6, loading = false, erro
|
|
|
5491
5616
|
onKeyDown: (e) => handleKeyDown(index, e),
|
|
5492
5617
|
disabled: loading || disabled,
|
|
5493
5618
|
className: "h-12 w-12 text-center text-lg font-semibold",
|
|
5494
|
-
autoFocus: index === 0
|
|
5619
|
+
autoFocus: index === 0,
|
|
5620
|
+
"aria-label": `Digit ${index + 1} of ${codeLength}`
|
|
5495
5621
|
}, index))
|
|
5496
5622
|
}),
|
|
5497
5623
|
loading && /* @__PURE__ */ jsx("div", {
|
|
@@ -5696,6 +5822,7 @@ function HeaderBlock({ logo, nav, actions, onMenuToggle, sticky = true, classNam
|
|
|
5696
5822
|
children: logo
|
|
5697
5823
|
}),
|
|
5698
5824
|
nav && /* @__PURE__ */ jsx("nav", {
|
|
5825
|
+
"aria-label": "Primary",
|
|
5699
5826
|
className: "hidden md:flex items-center gap-6 text-sm font-medium flex-1",
|
|
5700
5827
|
children: nav
|
|
5701
5828
|
}),
|
|
@@ -5960,7 +6087,10 @@ const MegaMenuPanel = React.forwardRef(({ maxWidth = "standard", columns, footer
|
|
|
5960
6087
|
});
|
|
5961
6088
|
const featuredLink = (item) => {
|
|
5962
6089
|
const variant = item.variant ? variants[item.variant] : void 0;
|
|
5963
|
-
return link(item, {
|
|
6090
|
+
return link(item, {
|
|
6091
|
+
className: "group flex gap-4 rounded-lg p-3 transition-colors hover:bg-accent focus-visible:bg-accent",
|
|
6092
|
+
...item.variant ? { "data-look": item.variant } : {}
|
|
6093
|
+
}, /* @__PURE__ */ jsxs(Fragment, { children: [variant?.icon ? /* @__PURE__ */ jsx("span", {
|
|
5964
6094
|
"data-slot": "chip",
|
|
5965
6095
|
className: cn("flex size-10 shrink-0 items-center justify-center rounded-md", variant.chip),
|
|
5966
6096
|
children: variant.icon
|
|
@@ -6000,7 +6130,10 @@ const MegaMenuPanel = React.forwardRef(({ maxWidth = "standard", columns, footer
|
|
|
6000
6130
|
className: "mt-0.5 block text-sm text-muted-foreground",
|
|
6001
6131
|
children: item.description
|
|
6002
6132
|
})] }) : item.label;
|
|
6003
|
-
return link(item, {
|
|
6133
|
+
return link(item, {
|
|
6134
|
+
className: cn(MOBILE_ROW, variant?.icon && "flex items-center gap-4 rounded-lg py-3"),
|
|
6135
|
+
...featured && item.variant ? { "data-look": item.variant } : {}
|
|
6136
|
+
}, variant?.icon ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
6004
6137
|
"data-slot": "chip",
|
|
6005
6138
|
className: cn("flex size-10 shrink-0 items-center justify-center rounded-md", variant.chip),
|
|
6006
6139
|
children: variant.icon
|
|
@@ -6099,6 +6232,7 @@ function SidebarItemComponent({ item, collapsed }) {
|
|
|
6099
6232
|
return /* @__PURE__ */ jsxs(item.href ? "a" : "button", {
|
|
6100
6233
|
href: item.href,
|
|
6101
6234
|
onClick: item.onClick,
|
|
6235
|
+
"aria-label": collapsed ? item.label : void 0,
|
|
6102
6236
|
className: cn("flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground", item.active && "bg-accent text-accent-foreground", collapsed && "justify-center px-2"),
|
|
6103
6237
|
children: [item.icon && /* @__PURE__ */ jsx("span", {
|
|
6104
6238
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
@@ -6115,6 +6249,7 @@ function SidebarBlock({ sections, header, footer, collapsed = false, className }
|
|
|
6115
6249
|
children: header
|
|
6116
6250
|
}),
|
|
6117
6251
|
/* @__PURE__ */ jsx("nav", {
|
|
6252
|
+
"aria-label": "Sidebar",
|
|
6118
6253
|
className: "flex-1 space-y-4 overflow-y-auto p-4",
|
|
6119
6254
|
children: sections.map((section, sIdx) => /* @__PURE__ */ jsxs("div", {
|
|
6120
6255
|
className: "space-y-1",
|
|
@@ -6148,6 +6283,7 @@ function FooterBlock({ copyright, links = [], logo, className }) {
|
|
|
6148
6283
|
children: copyright
|
|
6149
6284
|
})]
|
|
6150
6285
|
}), links.length > 0 && /* @__PURE__ */ jsx("nav", {
|
|
6286
|
+
"aria-label": "Footer",
|
|
6151
6287
|
className: "flex gap-4",
|
|
6152
6288
|
children: links.map((link) => /* @__PURE__ */ jsx("a", {
|
|
6153
6289
|
href: link.href,
|
|
@@ -6718,8 +6854,8 @@ const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, a
|
|
|
6718
6854
|
...props,
|
|
6719
6855
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
6720
6856
|
className: "hidden md:block",
|
|
6721
|
-
children: [/* @__PURE__ */ jsx("
|
|
6722
|
-
role: "
|
|
6857
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
6858
|
+
role: "group",
|
|
6723
6859
|
"aria-label": ariaLabel,
|
|
6724
6860
|
className: "relative grid h-[28rem] gap-[3px] motion-safe:transition-[grid-template-columns] motion-safe:duration-500 md:h-[36rem]",
|
|
6725
6861
|
style: {
|
|
@@ -6732,7 +6868,7 @@ const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, a
|
|
|
6732
6868
|
const isActive = i === activeIndex;
|
|
6733
6869
|
const isShown = i === shownIndex;
|
|
6734
6870
|
const numeral = numeralFor(item, i);
|
|
6735
|
-
return /* @__PURE__ */ jsxs("
|
|
6871
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
6736
6872
|
className: "relative h-full min-w-0 overflow-hidden",
|
|
6737
6873
|
children: [
|
|
6738
6874
|
/* @__PURE__ */ jsx("button", {
|
|
@@ -6740,10 +6876,9 @@ const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, a
|
|
|
6740
6876
|
tabRefs.current[i] = el;
|
|
6741
6877
|
},
|
|
6742
6878
|
type: "button",
|
|
6743
|
-
role: "tab",
|
|
6744
6879
|
id: tabId(i),
|
|
6745
6880
|
"aria-controls": panelId(i),
|
|
6746
|
-
"aria-
|
|
6881
|
+
"aria-pressed": isActive,
|
|
6747
6882
|
"aria-label": `${numeral}: ${item.title}`,
|
|
6748
6883
|
tabIndex: isActive ? 0 : -1,
|
|
6749
6884
|
onClick: () => setActiveIndex(i),
|
|
@@ -6761,11 +6896,8 @@ const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, a
|
|
|
6761
6896
|
})
|
|
6762
6897
|
}),
|
|
6763
6898
|
/* @__PURE__ */ jsxs("div", {
|
|
6764
|
-
role: "tabpanel",
|
|
6765
6899
|
id: panelId(i),
|
|
6766
|
-
"aria-labelledby": tabId(i),
|
|
6767
6900
|
"aria-hidden": !isShown,
|
|
6768
|
-
tabIndex: isShown ? 0 : -1,
|
|
6769
6901
|
className: "pointer-events-none absolute inset-0 outline-none",
|
|
6770
6902
|
children: [
|
|
6771
6903
|
(renderImage ?? defaultImage)(item, i),
|
|
@@ -7043,7 +7175,7 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
|
|
|
7043
7175
|
}, item.id);
|
|
7044
7176
|
})
|
|
7045
7177
|
]
|
|
7046
|
-
}), /* @__PURE__ */ jsx("
|
|
7178
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
7047
7179
|
role: "tablist",
|
|
7048
7180
|
"aria-label": ariaLabel,
|
|
7049
7181
|
onKeyDown: handleTablistKeyDown,
|
|
@@ -7051,43 +7183,40 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
|
|
|
7051
7183
|
style: { gridTemplateColumns: `repeat(${total}, minmax(0, 1fr))` },
|
|
7052
7184
|
children: items.map((item, i) => {
|
|
7053
7185
|
const isActive = i === activeIndex;
|
|
7054
|
-
return /* @__PURE__ */
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
className: "
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
transition: isAutoAdvancing ? `transform ${TICK_MS}ms linear` : "none"
|
|
7086
|
-
}
|
|
7087
|
-
})
|
|
7186
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
7187
|
+
ref: (el) => {
|
|
7188
|
+
tabRefs.current[i] = el;
|
|
7189
|
+
},
|
|
7190
|
+
type: "button",
|
|
7191
|
+
role: "tab",
|
|
7192
|
+
id: tabId(i),
|
|
7193
|
+
"aria-controls": panelId(i),
|
|
7194
|
+
"aria-selected": isActive,
|
|
7195
|
+
"aria-current": isActive ? "step" : void 0,
|
|
7196
|
+
tabIndex: isActive ? 0 : -1,
|
|
7197
|
+
onClick: () => setActiveIndex(i),
|
|
7198
|
+
className: cn("group relative flex h-16 w-full flex-col items-center justify-center gap-1 px-3 text-center transition-colors outline-none md:h-20 md:gap-1.5", isActive ? "text-foreground" : "text-muted-foreground hover:text-foreground/85"),
|
|
7199
|
+
children: [
|
|
7200
|
+
/* @__PURE__ */ jsx("span", {
|
|
7201
|
+
className: "font-mono text-[0.5625rem] tracking-[0.2em] text-muted-foreground uppercase md:text-[0.625rem]",
|
|
7202
|
+
children: stepLabel(item, i)
|
|
7203
|
+
}),
|
|
7204
|
+
/* @__PURE__ */ jsx("span", {
|
|
7205
|
+
className: "hidden text-sm font-medium tracking-tight md:inline md:text-base",
|
|
7206
|
+
children: item.title
|
|
7207
|
+
}),
|
|
7208
|
+
/* @__PURE__ */ jsx("span", {
|
|
7209
|
+
"aria-hidden": true,
|
|
7210
|
+
className: "pointer-events-none absolute inset-x-0 top-0 h-px overflow-hidden bg-foreground/10",
|
|
7211
|
+
children: isActive && /* @__PURE__ */ jsx("span", {
|
|
7212
|
+
className: "block h-full origin-left bg-brand-accent",
|
|
7213
|
+
style: {
|
|
7214
|
+
transform: `scaleX(${isAutoAdvancing ? progress : 1})`,
|
|
7215
|
+
transition: isAutoAdvancing ? `transform ${TICK_MS}ms linear` : "none"
|
|
7216
|
+
}
|
|
7088
7217
|
})
|
|
7089
|
-
|
|
7090
|
-
|
|
7218
|
+
})
|
|
7219
|
+
]
|
|
7091
7220
|
}, item.id);
|
|
7092
7221
|
})
|
|
7093
7222
|
})]
|
|
@@ -7354,7 +7483,8 @@ const ReviewsBlock = React.forwardRef(({ reviews, averageRating, totalReviews, t
|
|
|
7354
7483
|
}),
|
|
7355
7484
|
/* @__PURE__ */ jsx(Progress, {
|
|
7356
7485
|
value: totalReviews > 0 ? count / totalReviews * 100 : 0,
|
|
7357
|
-
className: "h-2 flex-1"
|
|
7486
|
+
className: "h-2 flex-1",
|
|
7487
|
+
"aria-label": `${star} star reviews`
|
|
7358
7488
|
}),
|
|
7359
7489
|
/* @__PURE__ */ jsx("span", {
|
|
7360
7490
|
className: "w-8 text-right text-sm text-muted-foreground",
|
|
@@ -8140,6 +8270,7 @@ function ProfileSettingsBlock({ initialData, onSave, onAvatarChange, loading = f
|
|
|
8140
8270
|
type: "button",
|
|
8141
8271
|
onClick: handleAvatarClick,
|
|
8142
8272
|
disabled: loading || disabled,
|
|
8273
|
+
"aria-label": "Change photo",
|
|
8143
8274
|
className: "absolute inset-0 flex items-center justify-center rounded-full bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
8144
8275
|
children: /* @__PURE__ */ jsx(Camera, { className: "h-5 w-5 text-white" })
|
|
8145
8276
|
}),
|
|
@@ -8355,7 +8486,8 @@ function NotificationSettingsBlock({ groups, onSave, loading = false, error, dis
|
|
|
8355
8486
|
}), /* @__PURE__ */ jsx(Switch, {
|
|
8356
8487
|
checked: values[setting.id],
|
|
8357
8488
|
onCheckedChange: (checked) => handleToggle(setting.id, checked),
|
|
8358
|
-
disabled: loading || disabled
|
|
8489
|
+
disabled: loading || disabled,
|
|
8490
|
+
"aria-label": setting.label
|
|
8359
8491
|
})]
|
|
8360
8492
|
}, setting.id))
|
|
8361
8493
|
}) })] }, gIdx)),
|
|
@@ -8810,7 +8942,7 @@ function BrandBand() {
|
|
|
8810
8942
|
className: "rounded-lg bg-brand-accent px-6 py-10 text-brand-accent-foreground md:px-10",
|
|
8811
8943
|
children: [
|
|
8812
8944
|
/* @__PURE__ */ jsx("p", {
|
|
8813
|
-
className: "text-xs font-semibold uppercase tracking-wide text-
|
|
8945
|
+
className: "text-xs font-semibold uppercase tracking-wide text-brand-accent-foreground",
|
|
8814
8946
|
children: "Built on the brand accent"
|
|
8815
8947
|
}),
|
|
8816
8948
|
/* @__PURE__ */ jsx("h3", {
|
|
@@ -8950,6 +9082,6 @@ const ContrastStrip = React.forwardRef(({ checks, mode = "both", failingOnly = f
|
|
|
8950
9082
|
});
|
|
8951
9083
|
ContrastStrip.displayName = "ContrastStrip";
|
|
8952
9084
|
//#endregion
|
|
8953
|
-
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, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, 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, ContrastStrip, 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, FAQColumnsBlock, FieldGroupScope, FieldProvider, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Label, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, 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, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, testimonialInitials, themeShowcaseSections, toast, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
9085
|
+
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, CHROME_LOOK_CLASSES, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, 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, ContrastStrip, 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, FAQColumnsBlock, FieldGroupScope, FieldProvider, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Kbd, Label, LookSurface, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, 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, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, testimonialInitials, themeShowcaseSections, toast, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
8954
9086
|
|
|
8955
9087
|
//# sourceMappingURL=index.mjs.map
|