@polastack/design-system 0.1.24 → 0.1.25
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.ts +3 -1
- package/dist/index.js +177 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -398,6 +398,7 @@ interface ProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPr
|
|
|
398
398
|
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
399
399
|
|
|
400
400
|
type StepStatus = 'pending' | 'active' | 'completed' | 'error' | 'loading';
|
|
401
|
+
type StepperConnector = 'line' | 'arrow' | 'chevron';
|
|
401
402
|
interface StepItem {
|
|
402
403
|
label: string;
|
|
403
404
|
description?: string;
|
|
@@ -411,6 +412,7 @@ interface StepperProps extends Omit<React.HTMLAttributes<HTMLOListElement>, 'chi
|
|
|
411
412
|
activeStep: number;
|
|
412
413
|
orientation?: StepperOrientation;
|
|
413
414
|
size?: StepperSize;
|
|
415
|
+
connector?: StepperConnector;
|
|
414
416
|
clickable?: boolean;
|
|
415
417
|
onStepClick?: (index: number) => void;
|
|
416
418
|
}
|
|
@@ -902,4 +904,4 @@ interface ChartLegendProps {
|
|
|
902
904
|
}
|
|
903
905
|
declare const ChartLegend: React.FC<ChartLegendProps>;
|
|
904
906
|
|
|
905
|
-
export { ActiveFilters, type ActiveFiltersProps, AppShell, AppShellContent, AppShellFooter, AppShellHeader, type AppShellProps, AppShellSidebar, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarStatus, type AvatarStatusProps, type AvatarStatusType, BREAKPOINTS, Badge, type BadgeProps, BottomNavigation, BottomNavigationItem, type BottomNavigationItemProps, type BottomNavigationProps, type Breakpoint, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartCategoricalColors, ChartContainer, type ChartContainerProps, ChartLegend, type ChartLegendProps, type ChartSemanticColors, ChartTooltip, type ChartTooltipProps, Checkbox, type CheckboxProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, CommandPaletteEmpty, CommandPaletteGroup, type CommandPaletteGroupProps, CommandPaletteItem, type CommandPaletteItemProps, type CommandPaletteProps, CommandPaletteSeparator, CommandPaletteShortcut, DataTable, DataTableColumnHeader, DataTablePagination, type DataTableProps, DataTableToolbar, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger, type DisplayMode, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerProvider, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFormField, type DynamicFormFieldProps, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIcon, type EmptyStateProps, EmptyStateTitle, type FieldOption, type FieldType, FilterBar, FilterBarActions, FilterBarGroup, FilterChip, type FilterChipProps, FormActions, type FormActionsProps, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormLayout, type FormLayoutProps, FormMessage, type FormMessageProps, FormSection, type FormSectionProps, Input, type InputProps, InstallPrompt, type InstallPromptProps, Label, type LabelProps, NumberInput, type NumberInputProps, OfflineIndicator, type OfflineIndicatorProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrintDivider, type PrintDividerProps, PrintDocument, type PrintDocumentProps, PrintField, PrintFieldGroup, type PrintFieldGroupProps, type PrintFieldProps, PrintFooter, type PrintFooterProps, PrintHeader, type PrintHeaderProps, PrintTable, PrintTableBody, type PrintTableBodyProps, PrintTableCell, type PrintTableCellProps, PrintTableFooter, type PrintTableFooterProps, PrintTableHead, type PrintTableHeadProps, PrintTableHeader, type PrintTableHeaderProps, type PrintTableProps, PrintTableRow, type PrintTableRowProps, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type ResolvedTheme, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StepItem, type StepStatus, Stepper, type StepperProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseThemeOptions, type UseThemeReturn, avatarVariants, badgeVariants, buttonVariants, chartColors, cn, createContext, formLayoutVariants, getChartColors, getChartSubtleColors, getChartTheme, getFieldComponent, inputVariants, printDocumentVariants, printFieldGroupVariants, progressVariants, spinnerVariants, stepIndicatorVariants, switchVariants, textareaVariants, toast, toastVariants, useAppShell, useBreakpoint, useDisplayMode, useFormField, useInstallPrompt, useOnlineStatus, useTheme$1 as useTheme, useTheme as useThemeContext, useToast, useViewportHeight };
|
|
907
|
+
export { ActiveFilters, type ActiveFiltersProps, AppShell, AppShellContent, AppShellFooter, AppShellHeader, type AppShellProps, AppShellSidebar, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarStatus, type AvatarStatusProps, type AvatarStatusType, BREAKPOINTS, Badge, type BadgeProps, BottomNavigation, BottomNavigationItem, type BottomNavigationItemProps, type BottomNavigationProps, type Breakpoint, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartCategoricalColors, ChartContainer, type ChartContainerProps, ChartLegend, type ChartLegendProps, type ChartSemanticColors, ChartTooltip, type ChartTooltipProps, Checkbox, type CheckboxProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, CommandPaletteEmpty, CommandPaletteGroup, type CommandPaletteGroupProps, CommandPaletteItem, type CommandPaletteItemProps, type CommandPaletteProps, CommandPaletteSeparator, CommandPaletteShortcut, DataTable, DataTableColumnHeader, DataTablePagination, type DataTableProps, DataTableToolbar, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger, type DisplayMode, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerProvider, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFormField, type DynamicFormFieldProps, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIcon, type EmptyStateProps, EmptyStateTitle, type FieldOption, type FieldType, FilterBar, FilterBarActions, FilterBarGroup, FilterChip, type FilterChipProps, FormActions, type FormActionsProps, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormLayout, type FormLayoutProps, FormMessage, type FormMessageProps, FormSection, type FormSectionProps, Input, type InputProps, InstallPrompt, type InstallPromptProps, Label, type LabelProps, NumberInput, type NumberInputProps, OfflineIndicator, type OfflineIndicatorProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrintDivider, type PrintDividerProps, PrintDocument, type PrintDocumentProps, PrintField, PrintFieldGroup, type PrintFieldGroupProps, type PrintFieldProps, PrintFooter, type PrintFooterProps, PrintHeader, type PrintHeaderProps, PrintTable, PrintTableBody, type PrintTableBodyProps, PrintTableCell, type PrintTableCellProps, PrintTableFooter, type PrintTableFooterProps, PrintTableHead, type PrintTableHeadProps, PrintTableHeader, type PrintTableHeaderProps, type PrintTableProps, PrintTableRow, type PrintTableRowProps, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type ResolvedTheme, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StepItem, type StepStatus, Stepper, type StepperConnector, type StepperProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseThemeOptions, type UseThemeReturn, avatarVariants, badgeVariants, buttonVariants, chartColors, cn, createContext, formLayoutVariants, getChartColors, getChartSubtleColors, getChartTheme, getFieldComponent, inputVariants, printDocumentVariants, printFieldGroupVariants, progressVariants, spinnerVariants, stepIndicatorVariants, switchVariants, textareaVariants, toast, toastVariants, useAppShell, useBreakpoint, useDisplayMode, useFormField, useInstallPrompt, useOnlineStatus, useTheme$1 as useTheme, useTheme as useThemeContext, useToast, useViewportHeight };
|
package/dist/index.js
CHANGED
|
@@ -1980,7 +1980,7 @@ Progress.displayName = "Progress";
|
|
|
1980
1980
|
// src/components/stepper/stepper.tsx
|
|
1981
1981
|
import * as React28 from "react";
|
|
1982
1982
|
import { cva as cva12 } from "class-variance-authority";
|
|
1983
|
-
import { Check as Check4 } from "lucide-react";
|
|
1983
|
+
import { Check as Check4, ChevronRight, ChevronDown as ChevronDown3 } from "lucide-react";
|
|
1984
1984
|
import { Fragment as Fragment2, jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1985
1985
|
var stepIndicatorVariants = cva12(
|
|
1986
1986
|
"flex items-center justify-center rounded-full font-medium shrink-0 transition-colors duration-normal border-2",
|
|
@@ -2005,22 +2005,6 @@ var stepIndicatorVariants = cva12(
|
|
|
2005
2005
|
}
|
|
2006
2006
|
}
|
|
2007
2007
|
);
|
|
2008
|
-
var connectorVariants = cva12("transition-colors duration-normal", {
|
|
2009
|
-
variants: {
|
|
2010
|
-
completed: {
|
|
2011
|
-
true: "bg-primary-500",
|
|
2012
|
-
false: "bg-[var(--color-border)]"
|
|
2013
|
-
},
|
|
2014
|
-
orientation: {
|
|
2015
|
-
horizontal: "h-0.5 flex-1 mx-2",
|
|
2016
|
-
vertical: "w-0.5 min-h-6"
|
|
2017
|
-
}
|
|
2018
|
-
},
|
|
2019
|
-
defaultVariants: {
|
|
2020
|
-
completed: false,
|
|
2021
|
-
orientation: "horizontal"
|
|
2022
|
-
}
|
|
2023
|
-
});
|
|
2024
2008
|
var spinnerSizeMap = {
|
|
2025
2009
|
sm: "sm",
|
|
2026
2010
|
md: "sm",
|
|
@@ -2031,6 +2015,16 @@ var checkSizeMap = {
|
|
|
2031
2015
|
md: 16,
|
|
2032
2016
|
lg: 20
|
|
2033
2017
|
};
|
|
2018
|
+
var chevronSizeMap = {
|
|
2019
|
+
sm: 14,
|
|
2020
|
+
md: 16,
|
|
2021
|
+
lg: 20
|
|
2022
|
+
};
|
|
2023
|
+
var indicatorHeight = {
|
|
2024
|
+
sm: "h-6",
|
|
2025
|
+
md: "h-8",
|
|
2026
|
+
lg: "h-10"
|
|
2027
|
+
};
|
|
2034
2028
|
function StepIndicatorContent({
|
|
2035
2029
|
step,
|
|
2036
2030
|
index,
|
|
@@ -2049,6 +2043,157 @@ function StepIndicatorContent({
|
|
|
2049
2043
|
}
|
|
2050
2044
|
return /* @__PURE__ */ jsx27(Fragment2, { children: index + 1 });
|
|
2051
2045
|
}
|
|
2046
|
+
function StepConnector({
|
|
2047
|
+
completed,
|
|
2048
|
+
orientation,
|
|
2049
|
+
connectorType,
|
|
2050
|
+
size
|
|
2051
|
+
}) {
|
|
2052
|
+
const isH = orientation === "horizontal";
|
|
2053
|
+
const lineColor = completed ? "bg-primary-500" : "bg-[var(--color-border)]";
|
|
2054
|
+
const iconColor = completed ? "text-primary-500" : "text-[var(--color-border)]";
|
|
2055
|
+
if (connectorType === "arrow") {
|
|
2056
|
+
if (isH) {
|
|
2057
|
+
return /* @__PURE__ */ jsx27(
|
|
2058
|
+
"div",
|
|
2059
|
+
{
|
|
2060
|
+
className: cn("flex items-center flex-1", indicatorHeight[size]),
|
|
2061
|
+
"aria-hidden": "true",
|
|
2062
|
+
children: /* @__PURE__ */ jsxs11("div", { className: "flex items-center flex-1 mx-1.5", children: [
|
|
2063
|
+
/* @__PURE__ */ jsx27(
|
|
2064
|
+
"div",
|
|
2065
|
+
{
|
|
2066
|
+
className: cn(
|
|
2067
|
+
"h-0.5 flex-1 transition-colors duration-normal",
|
|
2068
|
+
lineColor
|
|
2069
|
+
)
|
|
2070
|
+
}
|
|
2071
|
+
),
|
|
2072
|
+
/* @__PURE__ */ jsx27(
|
|
2073
|
+
"div",
|
|
2074
|
+
{
|
|
2075
|
+
className: cn(
|
|
2076
|
+
"w-0 h-0 shrink-0 border-y-[5px] border-y-transparent border-l-[7px] transition-colors duration-normal",
|
|
2077
|
+
completed ? "border-l-primary-500" : "border-l-[var(--color-border)]"
|
|
2078
|
+
)
|
|
2079
|
+
}
|
|
2080
|
+
)
|
|
2081
|
+
] })
|
|
2082
|
+
}
|
|
2083
|
+
);
|
|
2084
|
+
}
|
|
2085
|
+
return /* @__PURE__ */ jsxs11(
|
|
2086
|
+
"div",
|
|
2087
|
+
{
|
|
2088
|
+
className: "flex flex-col items-center min-h-6",
|
|
2089
|
+
"aria-hidden": "true",
|
|
2090
|
+
children: [
|
|
2091
|
+
/* @__PURE__ */ jsx27(
|
|
2092
|
+
"div",
|
|
2093
|
+
{
|
|
2094
|
+
className: cn(
|
|
2095
|
+
"w-0.5 flex-1 transition-colors duration-normal",
|
|
2096
|
+
lineColor
|
|
2097
|
+
)
|
|
2098
|
+
}
|
|
2099
|
+
),
|
|
2100
|
+
/* @__PURE__ */ jsx27(
|
|
2101
|
+
"div",
|
|
2102
|
+
{
|
|
2103
|
+
className: cn(
|
|
2104
|
+
"w-0 h-0 shrink-0 border-x-[5px] border-x-transparent border-t-[7px] transition-colors duration-normal",
|
|
2105
|
+
completed ? "border-t-primary-500" : "border-t-[var(--color-border)]"
|
|
2106
|
+
)
|
|
2107
|
+
}
|
|
2108
|
+
)
|
|
2109
|
+
]
|
|
2110
|
+
}
|
|
2111
|
+
);
|
|
2112
|
+
}
|
|
2113
|
+
if (connectorType === "chevron") {
|
|
2114
|
+
const cSize = chevronSizeMap[size];
|
|
2115
|
+
if (isH) {
|
|
2116
|
+
return /* @__PURE__ */ jsx27(
|
|
2117
|
+
"div",
|
|
2118
|
+
{
|
|
2119
|
+
className: cn("flex items-center flex-1", indicatorHeight[size]),
|
|
2120
|
+
"aria-hidden": "true",
|
|
2121
|
+
children: /* @__PURE__ */ jsxs11(
|
|
2122
|
+
"div",
|
|
2123
|
+
{
|
|
2124
|
+
className: cn(
|
|
2125
|
+
"flex items-center flex-1 mx-1 transition-colors duration-normal",
|
|
2126
|
+
iconColor
|
|
2127
|
+
),
|
|
2128
|
+
children: [
|
|
2129
|
+
/* @__PURE__ */ jsx27("div", { className: cn("h-0.5 flex-1", lineColor) }),
|
|
2130
|
+
/* @__PURE__ */ jsx27(
|
|
2131
|
+
ChevronRight,
|
|
2132
|
+
{
|
|
2133
|
+
size: cSize,
|
|
2134
|
+
className: "shrink-0 mx-0.5",
|
|
2135
|
+
strokeWidth: 2.5
|
|
2136
|
+
}
|
|
2137
|
+
),
|
|
2138
|
+
/* @__PURE__ */ jsx27("div", { className: cn("h-0.5 flex-1", lineColor) })
|
|
2139
|
+
]
|
|
2140
|
+
}
|
|
2141
|
+
)
|
|
2142
|
+
}
|
|
2143
|
+
);
|
|
2144
|
+
}
|
|
2145
|
+
return /* @__PURE__ */ jsxs11(
|
|
2146
|
+
"div",
|
|
2147
|
+
{
|
|
2148
|
+
className: cn(
|
|
2149
|
+
"flex flex-col items-center min-h-6 transition-colors duration-normal",
|
|
2150
|
+
iconColor
|
|
2151
|
+
),
|
|
2152
|
+
"aria-hidden": "true",
|
|
2153
|
+
children: [
|
|
2154
|
+
/* @__PURE__ */ jsx27("div", { className: cn("w-0.5 flex-1", lineColor) }),
|
|
2155
|
+
/* @__PURE__ */ jsx27(
|
|
2156
|
+
ChevronDown3,
|
|
2157
|
+
{
|
|
2158
|
+
size: cSize,
|
|
2159
|
+
className: "shrink-0 my-0.5",
|
|
2160
|
+
strokeWidth: 2.5
|
|
2161
|
+
}
|
|
2162
|
+
),
|
|
2163
|
+
/* @__PURE__ */ jsx27("div", { className: cn("w-0.5 flex-1", lineColor) })
|
|
2164
|
+
]
|
|
2165
|
+
}
|
|
2166
|
+
);
|
|
2167
|
+
}
|
|
2168
|
+
if (isH) {
|
|
2169
|
+
return /* @__PURE__ */ jsx27(
|
|
2170
|
+
"div",
|
|
2171
|
+
{
|
|
2172
|
+
className: cn("flex items-center flex-1", indicatorHeight[size]),
|
|
2173
|
+
"aria-hidden": "true",
|
|
2174
|
+
children: /* @__PURE__ */ jsx27(
|
|
2175
|
+
"div",
|
|
2176
|
+
{
|
|
2177
|
+
className: cn(
|
|
2178
|
+
"h-0.5 flex-1 mx-2 transition-colors duration-normal",
|
|
2179
|
+
lineColor
|
|
2180
|
+
)
|
|
2181
|
+
}
|
|
2182
|
+
)
|
|
2183
|
+
}
|
|
2184
|
+
);
|
|
2185
|
+
}
|
|
2186
|
+
return /* @__PURE__ */ jsx27(
|
|
2187
|
+
"div",
|
|
2188
|
+
{
|
|
2189
|
+
className: cn(
|
|
2190
|
+
"w-0.5 min-h-6 transition-colors duration-normal",
|
|
2191
|
+
lineColor
|
|
2192
|
+
),
|
|
2193
|
+
"aria-hidden": "true"
|
|
2194
|
+
}
|
|
2195
|
+
);
|
|
2196
|
+
}
|
|
2052
2197
|
var Stepper = React28.forwardRef(
|
|
2053
2198
|
({
|
|
2054
2199
|
className,
|
|
@@ -2056,6 +2201,7 @@ var Stepper = React28.forwardRef(
|
|
|
2056
2201
|
activeStep,
|
|
2057
2202
|
orientation = "horizontal",
|
|
2058
2203
|
size = "md",
|
|
2204
|
+
connector: connectorType = "line",
|
|
2059
2205
|
clickable = false,
|
|
2060
2206
|
onStepClick,
|
|
2061
2207
|
...props
|
|
@@ -2078,16 +2224,13 @@ var Stepper = React28.forwardRef(
|
|
|
2078
2224
|
const handleClick = () => {
|
|
2079
2225
|
if (isClickable && onStepClick) onStepClick(index);
|
|
2080
2226
|
};
|
|
2081
|
-
const
|
|
2082
|
-
|
|
2227
|
+
const connectorEl = !isLast ? /* @__PURE__ */ jsx27(
|
|
2228
|
+
StepConnector,
|
|
2083
2229
|
{
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
})
|
|
2089
|
-
),
|
|
2090
|
-
"aria-hidden": "true"
|
|
2230
|
+
completed: index < activeStep,
|
|
2231
|
+
orientation,
|
|
2232
|
+
connectorType,
|
|
2233
|
+
size
|
|
2091
2234
|
}
|
|
2092
2235
|
) : null;
|
|
2093
2236
|
const indicatorButton = /* @__PURE__ */ jsx27(
|
|
@@ -2145,7 +2288,7 @@ var Stepper = React28.forwardRef(
|
|
|
2145
2288
|
]
|
|
2146
2289
|
}
|
|
2147
2290
|
),
|
|
2148
|
-
|
|
2291
|
+
connectorEl
|
|
2149
2292
|
] }, index);
|
|
2150
2293
|
}
|
|
2151
2294
|
return /* @__PURE__ */ jsxs11(
|
|
@@ -2157,7 +2300,7 @@ var Stepper = React28.forwardRef(
|
|
|
2157
2300
|
children: [
|
|
2158
2301
|
/* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center", children: [
|
|
2159
2302
|
indicatorButton,
|
|
2160
|
-
|
|
2303
|
+
connectorEl
|
|
2161
2304
|
] }),
|
|
2162
2305
|
/* @__PURE__ */ jsxs11("div", { className: cn("flex flex-col gap-0.5", !isLast && "pb-6"), children: [
|
|
2163
2306
|
labelEl,
|
|
@@ -2394,7 +2537,7 @@ import {
|
|
|
2394
2537
|
import { ChevronsUpDown as ChevronsUpDown2 } from "lucide-react";
|
|
2395
2538
|
|
|
2396
2539
|
// src/components/data-table/data-table-pagination.tsx
|
|
2397
|
-
import { ChevronLeft, ChevronRight } from "lucide-react";
|
|
2540
|
+
import { ChevronLeft, ChevronRight as ChevronRight2 } from "lucide-react";
|
|
2398
2541
|
import { jsx as jsx31, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2399
2542
|
function DataTablePagination({
|
|
2400
2543
|
table,
|
|
@@ -2446,7 +2589,7 @@ function DataTablePagination({
|
|
|
2446
2589
|
onClick: () => table.nextPage(),
|
|
2447
2590
|
disabled: !table.getCanNextPage(),
|
|
2448
2591
|
"aria-label": "Next page",
|
|
2449
|
-
children: /* @__PURE__ */ jsx31(
|
|
2592
|
+
children: /* @__PURE__ */ jsx31(ChevronRight2, { className: "h-4 w-4" })
|
|
2450
2593
|
}
|
|
2451
2594
|
)
|
|
2452
2595
|
] })
|
|
@@ -2833,7 +2976,7 @@ PopoverContent.displayName = "PopoverContent";
|
|
|
2833
2976
|
// src/components/dropdown-menu/dropdown-menu.tsx
|
|
2834
2977
|
import * as React36 from "react";
|
|
2835
2978
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
2836
|
-
import { Check as Check5, ChevronRight as
|
|
2979
|
+
import { Check as Check5, ChevronRight as ChevronRight3 } from "lucide-react";
|
|
2837
2980
|
import { jsx as jsx37, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2838
2981
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
2839
2982
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
@@ -2873,7 +3016,7 @@ var DropdownMenuSubTrigger = React36.forwardRef(({ className, inset, children, .
|
|
|
2873
3016
|
...props,
|
|
2874
3017
|
children: [
|
|
2875
3018
|
children,
|
|
2876
|
-
/* @__PURE__ */ jsx37(
|
|
3019
|
+
/* @__PURE__ */ jsx37(ChevronRight3, { className: "ml-auto h-3.5 w-3.5" })
|
|
2877
3020
|
]
|
|
2878
3021
|
}
|
|
2879
3022
|
));
|
|
@@ -3948,7 +4091,7 @@ PrintDivider.displayName = "PrintDivider";
|
|
|
3948
4091
|
|
|
3949
4092
|
// src/components/stat-card/stat-card.tsx
|
|
3950
4093
|
import * as React48 from "react";
|
|
3951
|
-
import { ChevronUp as ChevronUp2, ChevronDown as
|
|
4094
|
+
import { ChevronUp as ChevronUp2, ChevronDown as ChevronDown4 } from "lucide-react";
|
|
3952
4095
|
import { jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3953
4096
|
function inferDirection(trend) {
|
|
3954
4097
|
if (!trend) return "neutral";
|
|
@@ -3963,7 +4106,7 @@ var TREND_STYLES = {
|
|
|
3963
4106
|
};
|
|
3964
4107
|
var TREND_ICON_COMPONENTS = {
|
|
3965
4108
|
up: ChevronUp2,
|
|
3966
|
-
down:
|
|
4109
|
+
down: ChevronDown4,
|
|
3967
4110
|
neutral: null
|
|
3968
4111
|
};
|
|
3969
4112
|
var StatCard = React48.forwardRef(
|