@kismet-ux/constellation 1.2.0 → 1.4.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/form.d.ts +1 -1
- package/dist/{index-YOC5H6Ls.d.ts → index-6RTzMxvi.d.ts} +2 -2
- package/dist/{index-CPpu2Wg4.d.ts → index-BLcVtjt9.d.ts} +19 -3
- package/dist/{index-DMy7AzMN.d.ts → index-CSnovrxl.d.ts} +24 -24
- package/dist/index.d.ts +6 -6
- package/dist/layout/Collapse/collapse.d.ts +16 -0
- package/dist/layout/Collapse/collapse.d.ts.map +1 -1
- package/dist/layout/Collapse/collapse.js +49 -3
- package/dist/layout/Collapse/collapse.js.map +1 -1
- package/dist/layout.d.ts +2 -2
- package/dist/navigation.d.ts +1 -1
- package/dist/styles/tokens.d.ts +2 -0
- package/dist/styles/tokens.d.ts.map +1 -0
- package/dist/styles/tokens.js +2 -0
- package/dist/styles/tokens.js.map +1 -0
- package/dist/tokens.css +435 -0
- package/dist/{tooltip-DoCbTucr.d.ts → tooltip-Bb0qqHZI.d.ts} +3 -3
- package/dist/ui.d.ts +2 -2
- package/package.json +5 -1
package/dist/form.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Checkbox, a as CheckboxProps, D as DatePicker, L as Label, c as LabelProps, S as Select, e as SelectContent, g as SelectField, i as SelectGroup, j as SelectItem, m as SelectSeparator, o as SelectTrigger, p as SelectValue } from './index-
|
|
1
|
+
export { C as Checkbox, a as CheckboxProps, D as DatePicker, L as Label, c as LabelProps, S as Select, e as SelectContent, g as SelectField, i as SelectGroup, j as SelectItem, m as SelectSeparator, o as SelectTrigger, p as SelectValue } from './index-6RTzMxvi.js';
|
|
2
2
|
export { I as Input, a as InputBaseProps } from './input-CWHXOpeH.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'class-variance-authority';
|
|
@@ -94,8 +94,8 @@ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.Re
|
|
|
94
94
|
declare function DatePicker({ value: valueProp, defaultValue, onChange, label, helperText, error, disabled, sizeVariant, placeholder, min, max, required, id, className, name, }: DatePickerProps): React.JSX.Element;
|
|
95
95
|
|
|
96
96
|
declare const labelVariants: (props?: ({
|
|
97
|
-
size?: "
|
|
98
|
-
theme?: "
|
|
97
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
98
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
99
99
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
100
100
|
|
|
101
101
|
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import { d as SidebarSection, S as SidebarNavItem, B as BreadcrumbItemData, c as NavUserProps } from './nav-user-CJIcWKyY.js';
|
|
4
4
|
import { R as RowProps } from './row-CS9-talZ.js';
|
|
5
5
|
import { I as Input } from './input-CWHXOpeH.js';
|
|
6
|
-
import { b as TooltipContent, B as Button } from './tooltip-
|
|
6
|
+
import { b as TooltipContent, B as Button } from './tooltip-Bb0qqHZI.js';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
8
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
9
9
|
|
|
@@ -114,8 +114,24 @@ declare function AppSidebarHeader({ breadcrumbs, user, userMenu, actions, }: App
|
|
|
114
114
|
|
|
115
115
|
interface CollapseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
116
116
|
open: boolean;
|
|
117
|
+
/** Transition length in ms. Also how long the unmount is deferred. */
|
|
117
118
|
duration?: number;
|
|
119
|
+
/**
|
|
120
|
+
* Unmount children once the close animation finishes. Keeps focus traps,
|
|
121
|
+
* `autoFocus` and dismiss handlers out of the tree while the panel is shut.
|
|
122
|
+
* Set `false` to keep children mounted — cheaper for a panel toggled often,
|
|
123
|
+
* and required if they hold state you need to survive a close.
|
|
124
|
+
*/
|
|
125
|
+
unmountOnClose?: boolean;
|
|
118
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* A panel that animates its own height, so content below slides rather than
|
|
129
|
+
* jumping.
|
|
130
|
+
*
|
|
131
|
+
* Uses `grid-template-rows: 0fr → 1fr` rather than animating `max-height`: it
|
|
132
|
+
* interpolates to the panel's real height, so there is no magic number to
|
|
133
|
+
* guess and no pause at the end when the guess was too generous.
|
|
134
|
+
*/
|
|
119
135
|
declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
|
|
120
136
|
|
|
121
137
|
declare const Column: React.FC<ColumnProps>;
|
|
@@ -127,8 +143,8 @@ declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttribu
|
|
|
127
143
|
declare const Row: React.FC<RowProps>;
|
|
128
144
|
|
|
129
145
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
130
|
-
variant?: "
|
|
131
|
-
size?: "
|
|
146
|
+
variant?: "outline" | "default" | null | undefined;
|
|
147
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
132
148
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
133
149
|
|
|
134
150
|
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<'div'> & {
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { ReactNode } from 'react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import './tooltip-
|
|
5
|
+
import './tooltip-Bb0qqHZI.js';
|
|
6
6
|
import { e as TypographyVariant } from './typography-DOZHFR5A.js';
|
|
7
7
|
|
|
8
8
|
type AlertTheme = 'default' | 'primary' | 'secondary' | 'success' | 'destructive' | 'warning' | 'info' | 'slate';
|
|
@@ -45,7 +45,7 @@ type SortContextValue = {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
declare const alertVariants: (props?: ({
|
|
48
|
-
theme?: "
|
|
48
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "default" | null | undefined;
|
|
49
49
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
50
50
|
|
|
51
51
|
interface AlertProps extends VariantProps<typeof alertVariants> {
|
|
@@ -82,10 +82,10 @@ type AvatarFallbackProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
|
82
82
|
declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
|
83
83
|
|
|
84
84
|
declare const chipVariants: (props?: ({
|
|
85
|
-
theme?: "
|
|
85
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
86
86
|
variant?: "soft" | "outline" | "solid" | null | undefined;
|
|
87
|
-
size?: "
|
|
88
|
-
shape?: "
|
|
87
|
+
size?: "2xs" | "xs" | "sm" | "md" | null | undefined;
|
|
88
|
+
shape?: "pill" | "rounded" | null | undefined;
|
|
89
89
|
dashed?: boolean | null | undefined;
|
|
90
90
|
mono?: boolean | null | undefined;
|
|
91
91
|
uppercase?: boolean | null | undefined;
|
|
@@ -111,8 +111,8 @@ interface ChipProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<
|
|
|
111
111
|
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLSpanElement>>;
|
|
112
112
|
|
|
113
113
|
declare const codeBlockVariants: (props?: ({
|
|
114
|
-
theme?: "
|
|
115
|
-
size?: "
|
|
114
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "default" | null | undefined;
|
|
115
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
116
116
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
117
117
|
|
|
118
118
|
interface CodeBlockProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof codeBlockVariants> {
|
|
@@ -184,8 +184,8 @@ declare function DialogPortal({ children }: {
|
|
|
184
184
|
}): React.JSX.Element;
|
|
185
185
|
|
|
186
186
|
declare const emptyStateVariants: (props?: ({
|
|
187
|
-
theme?: "
|
|
188
|
-
size?: "
|
|
187
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "default" | null | undefined;
|
|
188
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
189
189
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
190
190
|
|
|
191
191
|
interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyStateVariants> {
|
|
@@ -201,9 +201,9 @@ interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement>, VariantP
|
|
|
201
201
|
declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
202
202
|
|
|
203
203
|
declare const iconVariants: (props?: ({
|
|
204
|
-
variant?: "
|
|
205
|
-
theme?: "
|
|
206
|
-
size?: "
|
|
204
|
+
variant?: "contained" | "outlined" | "ghost" | "plain" | null | undefined;
|
|
205
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
206
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
207
207
|
rounded?: boolean | "extra" | null | undefined;
|
|
208
208
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
209
209
|
|
|
@@ -253,7 +253,7 @@ interface ListProps extends React.HTMLAttributes<HTMLUListElement | HTMLOListEle
|
|
|
253
253
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
254
254
|
muted?: boolean;
|
|
255
255
|
}
|
|
256
|
-
declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<
|
|
256
|
+
declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLUListElement | HTMLOListElement>>;
|
|
257
257
|
interface ListItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
258
258
|
icon?: React.ReactNode;
|
|
259
259
|
}
|
|
@@ -262,8 +262,8 @@ declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.Re
|
|
|
262
262
|
declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
|
|
263
263
|
|
|
264
264
|
declare const progressBarVariants: (props?: ({
|
|
265
|
-
theme?: "
|
|
266
|
-
size?: "
|
|
265
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
266
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
267
267
|
rounded?: boolean | null | undefined;
|
|
268
268
|
animated?: boolean | null | undefined;
|
|
269
269
|
indeterminate?: boolean | null | undefined;
|
|
@@ -314,8 +314,8 @@ interface StatCardProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
|
314
314
|
declare const StatCard: React.ForwardRefExoticComponent<StatCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
315
315
|
|
|
316
316
|
declare const statusDotVariants: (props?: ({
|
|
317
|
-
theme?: "
|
|
318
|
-
size?: "
|
|
317
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
318
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
319
319
|
glow?: boolean | null | undefined;
|
|
320
320
|
pulse?: boolean | null | undefined;
|
|
321
321
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -340,8 +340,8 @@ interface StatusDotProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'co
|
|
|
340
340
|
declare const StatusDot: React.ForwardRefExoticComponent<StatusDotProps & React.RefAttributes<HTMLSpanElement>>;
|
|
341
341
|
|
|
342
342
|
declare const stepProgressVariants: (props?: ({
|
|
343
|
-
theme?: "
|
|
344
|
-
size?: "
|
|
343
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
344
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
345
345
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
346
346
|
stretch?: boolean | null | undefined;
|
|
347
347
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -363,8 +363,8 @@ interface StepProgressProps extends Omit<React.HTMLAttributes<HTMLOListElement>,
|
|
|
363
363
|
declare const StepProgress: React.ForwardRefExoticComponent<StepProgressProps & React.RefAttributes<HTMLOListElement>>;
|
|
364
364
|
|
|
365
365
|
declare const switchVariants: (props?: ({
|
|
366
|
-
theme?: "
|
|
367
|
-
size?: "
|
|
366
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
367
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
368
368
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
369
369
|
|
|
370
370
|
interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'onClick'>, VariantProps<typeof switchVariants> {
|
|
@@ -456,9 +456,9 @@ interface TableToolbarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, '
|
|
|
456
456
|
declare const TableToolbar: React.ForwardRefExoticComponent<TableToolbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
457
457
|
|
|
458
458
|
declare const toggleVariants: (props?: ({
|
|
459
|
-
variant?: "
|
|
460
|
-
theme?: "
|
|
461
|
-
size?: "
|
|
459
|
+
variant?: "contained" | "outlined" | "ghost" | null | undefined;
|
|
460
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
461
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
462
462
|
iconOnly?: boolean | null | undefined;
|
|
463
463
|
rounded?: boolean | "extra" | null | undefined;
|
|
464
464
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { Logo, LogoProps } from './brand.js';
|
|
2
|
-
export { C as Checkbox, a as CheckboxProps, D as DatePicker, b as DatePickerProps, F as FormTheme, L as Label, c as LabelProps, S as Select, d as SelectAlign, e as SelectContent, f as SelectContentProps, g as SelectField, h as SelectFieldProps, i as SelectGroup, j as SelectItem, k as SelectPosition, l as SelectProps, m as SelectSeparator, n as SelectSide, o as SelectTrigger, p as SelectValue } from './index-
|
|
2
|
+
export { C as Checkbox, a as CheckboxProps, D as DatePicker, b as DatePickerProps, F as FormTheme, L as Label, c as LabelProps, S as Select, d as SelectAlign, e as SelectContent, f as SelectContentProps, g as SelectField, h as SelectFieldProps, i as SelectGroup, j as SelectItem, k as SelectPosition, l as SelectProps, m as SelectSeparator, n as SelectSide, o as SelectTrigger, p as SelectValue } from './index-6RTzMxvi.js';
|
|
3
3
|
export { I as Input, a as InputBaseProps } from './input-CWHXOpeH.js';
|
|
4
|
-
import { S as SidebarContextValue } from './index-
|
|
5
|
-
export { A as AppContent, a as AppFooter, b as AppFooterProps, c as AppShell, d as AppShellProps, e as AppSidebar, f as AppSidebarHeader, g as AppSidebarHeaderProps, h as AppSidebarProps, C as Collapse, i as CollapseProps, j as Column, k as ColumnProps, l as Container, m as ContainerProps, G as Grid, n as GridColumns, o as GridProps, R as Row, p as Sidebar, q as SidebarContent, r as SidebarFooter, s as SidebarGroup, t as SidebarGroupAction, u as SidebarGroupContent, v as SidebarGroupLabel, w as SidebarHeader, x as SidebarInput, y as SidebarInset, z as SidebarMenu, B as SidebarMenuAction, D as SidebarMenuBadge, E as SidebarMenuButton, F as SidebarMenuItem, H as SidebarMenuSkeleton, I as SidebarMenuSub, J as SidebarMenuSubButton, K as SidebarMenuSubItem, L as SidebarProvider, M as SidebarRail, N as SidebarTrigger, O as SidebarVariant, P as Skeleton } from './index-
|
|
6
|
-
import { A as AlertContextValue, S as SortState } from './index-
|
|
7
|
-
export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, e as AlertMessage, f as AlertProps, g as AlertProvider, h as AlertTheme, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as CodeBlock, r as CodeBlockProps, D as DevIndicator, s as DevIndicatorProps, t as Dialog, u as DialogClose, v as DialogCloseProps, w as DialogContent, x as DialogContentProps, y as DialogDescription, z as DialogFooter, B as DialogHeader, E as DialogOverlay, F as DialogPortal, G as DialogProps, H as DialogTitle, I as DialogTrigger, J as DialogTriggerProps, K as EmptyState, L as EmptyStateProps, M as Icon, N as IconProps, O as List, P as ListItem, Q as ListItemProps, R as ListProps, T as Pagination, U as PaginationProps, V as ProgressBar, W as ProgressBarProps, X as PushAlertInput, Y as Separator, Z as SeparatorProps, _ as SortContextValue, $ as SortDirection, a0 as StatCard, a1 as StatCardDirection, a2 as StatCardProps, a3 as StatCardSize, a4 as StatCardTheme, a5 as StatCardVariant, a6 as StatusDot, a7 as StatusDotProps, a8 as Step, a9 as StepProgress, aa as StepProgressProps, ab as Switch, ac as SwitchProps, ad as Table, ae as TableActionCell, af as TableActionCellProps, ag as TableActionItem, ah as TableBody, ai as TableBodyProps, aj as TableCard, ak as TableCell, al as TableFooter, am as TableHead, an as TableHeader, ao as TableRow, ap as TableSortableHeader, aq as TableSortableHeaderProps, ar as TableToolbar, as as TableToolbarProps, at as Toggle, au as ToggleGroup, av as ToggleGroupProps, aw as ToggleProps, ax as TrendDirection, ay as persistAlert, az as statusDotVariants } from './index-
|
|
4
|
+
import { S as SidebarContextValue } from './index-BLcVtjt9.js';
|
|
5
|
+
export { A as AppContent, a as AppFooter, b as AppFooterProps, c as AppShell, d as AppShellProps, e as AppSidebar, f as AppSidebarHeader, g as AppSidebarHeaderProps, h as AppSidebarProps, C as Collapse, i as CollapseProps, j as Column, k as ColumnProps, l as Container, m as ContainerProps, G as Grid, n as GridColumns, o as GridProps, R as Row, p as Sidebar, q as SidebarContent, r as SidebarFooter, s as SidebarGroup, t as SidebarGroupAction, u as SidebarGroupContent, v as SidebarGroupLabel, w as SidebarHeader, x as SidebarInput, y as SidebarInset, z as SidebarMenu, B as SidebarMenuAction, D as SidebarMenuBadge, E as SidebarMenuButton, F as SidebarMenuItem, H as SidebarMenuSkeleton, I as SidebarMenuSub, J as SidebarMenuSubButton, K as SidebarMenuSubItem, L as SidebarProvider, M as SidebarRail, N as SidebarTrigger, O as SidebarVariant, P as Skeleton } from './index-BLcVtjt9.js';
|
|
6
|
+
import { A as AlertContextValue, S as SortState } from './index-CSnovrxl.js';
|
|
7
|
+
export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, e as AlertMessage, f as AlertProps, g as AlertProvider, h as AlertTheme, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as CodeBlock, r as CodeBlockProps, D as DevIndicator, s as DevIndicatorProps, t as Dialog, u as DialogClose, v as DialogCloseProps, w as DialogContent, x as DialogContentProps, y as DialogDescription, z as DialogFooter, B as DialogHeader, E as DialogOverlay, F as DialogPortal, G as DialogProps, H as DialogTitle, I as DialogTrigger, J as DialogTriggerProps, K as EmptyState, L as EmptyStateProps, M as Icon, N as IconProps, O as List, P as ListItem, Q as ListItemProps, R as ListProps, T as Pagination, U as PaginationProps, V as ProgressBar, W as ProgressBarProps, X as PushAlertInput, Y as Separator, Z as SeparatorProps, _ as SortContextValue, $ as SortDirection, a0 as StatCard, a1 as StatCardDirection, a2 as StatCardProps, a3 as StatCardSize, a4 as StatCardTheme, a5 as StatCardVariant, a6 as StatusDot, a7 as StatusDotProps, a8 as Step, a9 as StepProgress, aa as StepProgressProps, ab as Switch, ac as SwitchProps, ad as Table, ae as TableActionCell, af as TableActionCellProps, ag as TableActionItem, ah as TableBody, ai as TableBodyProps, aj as TableCard, ak as TableCell, al as TableFooter, am as TableHead, an as TableHeader, ao as TableRow, ap as TableSortableHeader, aq as TableSortableHeaderProps, ar as TableToolbar, as as TableToolbarProps, at as Toggle, au as ToggleGroup, av as ToggleGroupProps, aw as ToggleProps, ax as TrendDirection, ay as persistAlert, az as statusDotVariants } from './index-CSnovrxl.js';
|
|
8
8
|
export { R as RowProps } from './row-CS9-talZ.js';
|
|
9
9
|
export { Breadcrumbs, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuTriggerProps, Link, LinkProps, RouterAdapter, RouterProvider, Sheet, SheetBody, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetProps, SheetTitle, SheetTrigger, SheetTriggerProps, useRouterAdapter } from './navigation.js';
|
|
10
10
|
export { B as BreadcrumbItemData, N as NavGroup, a as NavItem, b as NavUser, c as NavUserProps, S as SidebarNavItem, d as SidebarSection } from './nav-user-CJIcWKyY.js';
|
|
@@ -12,7 +12,7 @@ export { AppearanceTabs, AppearanceToggleDropdown } from './settings.js';
|
|
|
12
12
|
export { a as User, b as UserMenuContent, U as UserMenuContentProps, c as UserMenuItem } from './user-menu-content-D0Ldzigm.js';
|
|
13
13
|
export { Heading, TruncatedText, TruncatedTextProps } from './typography.js';
|
|
14
14
|
export { T as Typography, a as TypographyAlign, b as TypographyProps, c as TypographyTheme, d as TypographyTransform, e as TypographyVariant, f as TypographyWeight } from './typography-DOZHFR5A.js';
|
|
15
|
-
export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-
|
|
15
|
+
export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-Bb0qqHZI.js';
|
|
16
16
|
export { UserInfo } from './user.js';
|
|
17
17
|
export { getCsrfToken } from './utils.js';
|
|
18
18
|
import 'react';
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface CollapseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
open: boolean;
|
|
4
|
+
/** Transition length in ms. Also how long the unmount is deferred. */
|
|
4
5
|
duration?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Unmount children once the close animation finishes. Keeps focus traps,
|
|
8
|
+
* `autoFocus` and dismiss handlers out of the tree while the panel is shut.
|
|
9
|
+
* Set `false` to keep children mounted — cheaper for a panel toggled often,
|
|
10
|
+
* and required if they hold state you need to survive a close.
|
|
11
|
+
*/
|
|
12
|
+
unmountOnClose?: boolean;
|
|
5
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* A panel that animates its own height, so content below slides rather than
|
|
16
|
+
* jumping.
|
|
17
|
+
*
|
|
18
|
+
* Uses `grid-template-rows: 0fr → 1fr` rather than animating `max-height`: it
|
|
19
|
+
* interpolates to the panel's real height, so there is no magic number to
|
|
20
|
+
* guess and no pause at the end when the guess was too generous.
|
|
21
|
+
*/
|
|
6
22
|
declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
23
|
export { Collapse };
|
|
8
24
|
//# sourceMappingURL=collapse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapse.d.ts","sourceRoot":"","sources":["../../../src/layout/Collapse/collapse.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"collapse.d.ts","sourceRoot":"","sources":["../../../src/layout/Collapse/collapse.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,IAAI,EAAE,OAAO,CAAC;IACd,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAID;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ,sFA2Db,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -3,10 +3,56 @@ import cn from 'clsx';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import s from './collapse.module.scss.js';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const DEFAULT_DURATION = 300;
|
|
7
|
+
/**
|
|
8
|
+
* A panel that animates its own height, so content below slides rather than
|
|
9
|
+
* jumping.
|
|
10
|
+
*
|
|
11
|
+
* Uses `grid-template-rows: 0fr → 1fr` rather than animating `max-height`: it
|
|
12
|
+
* interpolates to the panel's real height, so there is no magic number to
|
|
13
|
+
* guess and no pause at the end when the guess was too generous.
|
|
14
|
+
*/
|
|
15
|
+
const Collapse = React.forwardRef(({ open, duration, unmountOnClose = false, className, children, style, ...props }, ref) => {
|
|
16
|
+
const ms = duration ?? DEFAULT_DURATION;
|
|
17
|
+
const [mounted, setMounted] = React.useState(open);
|
|
18
|
+
const [expanded, setExpanded] = React.useState(open);
|
|
19
|
+
const frame = React.useRef(0);
|
|
20
|
+
const timer = React.useRef(undefined);
|
|
21
|
+
/*
|
|
22
|
+
* Hold the last real children so the panel has something to shrink.
|
|
23
|
+
* Callers routinely clear the state that fed the panel the moment they
|
|
24
|
+
* close it, which empties the box instantly and leaves nothing to animate
|
|
25
|
+
* — the open looks smooth and the close looks like a cut.
|
|
26
|
+
*/
|
|
27
|
+
const lastChildren = React.useRef(children);
|
|
28
|
+
if (children != null && children !== false)
|
|
29
|
+
lastChildren.current = children;
|
|
30
|
+
const rendered = open ? children : lastChildren.current;
|
|
31
|
+
React.useEffect(() => {
|
|
32
|
+
cancelAnimationFrame(frame.current);
|
|
33
|
+
clearTimeout(timer.current);
|
|
34
|
+
if (open) {
|
|
35
|
+
setMounted(true);
|
|
36
|
+
// Two frames: one to put 0fr on screen, one to transition away from it.
|
|
37
|
+
// A single frame can be batched with the mount and the panel snaps open.
|
|
38
|
+
frame.current = requestAnimationFrame(() => {
|
|
39
|
+
frame.current = requestAnimationFrame(() => setExpanded(true));
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
setExpanded(false);
|
|
44
|
+
if (unmountOnClose) {
|
|
45
|
+
timer.current = setTimeout(() => setMounted(false), ms);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return () => {
|
|
49
|
+
cancelAnimationFrame(frame.current);
|
|
50
|
+
clearTimeout(timer.current);
|
|
51
|
+
};
|
|
52
|
+
}, [open, unmountOnClose, ms]);
|
|
53
|
+
return (jsx("div", { ref: ref, "data-slot": 'collapse', className: cn(s['collapse'], expanded && s['collapse--open'], className), style: duration
|
|
8
54
|
? { ...style, '--collapse-duration': `${duration}ms` }
|
|
9
|
-
: style, "aria-hidden": !open, ...props, children: jsx("div", { className: s['collapse-inner'], children:
|
|
55
|
+
: style, "aria-hidden": !open, ...props, children: jsx("div", { className: s['collapse-inner'], children: mounted ? rendered : null }) }));
|
|
10
56
|
});
|
|
11
57
|
Collapse.displayName = 'Collapse';
|
|
12
58
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapse.js","sources":["../../../src/layout/Collapse/collapse.tsx"],"sourcesContent":["import cn from 'clsx';\nimport * as React from 'react';\nimport s from './collapse.module.scss';\n\nexport interface CollapseProps extends React.HTMLAttributes<HTMLDivElement> {\n open: boolean;\n duration?: number;\n}\n\nconst Collapse = React.forwardRef<HTMLDivElement, CollapseProps>(\n ({ open, duration, className, children, style, ...props }, ref) => {\n return (\n <div\n ref={ref}\n data-slot={'collapse'}\n className={cn(s['collapse'],
|
|
1
|
+
{"version":3,"file":"collapse.js","sources":["../../../src/layout/Collapse/collapse.tsx"],"sourcesContent":["import cn from 'clsx';\nimport * as React from 'react';\nimport s from './collapse.module.scss';\n\nexport interface CollapseProps extends React.HTMLAttributes<HTMLDivElement> {\n open: boolean;\n /** Transition length in ms. Also how long the unmount is deferred. */\n duration?: number;\n /**\n * Unmount children once the close animation finishes. Keeps focus traps,\n * `autoFocus` and dismiss handlers out of the tree while the panel is shut.\n * Set `false` to keep children mounted — cheaper for a panel toggled often,\n * and required if they hold state you need to survive a close.\n */\n unmountOnClose?: boolean;\n}\n\nconst DEFAULT_DURATION = 300;\n\n/**\n * A panel that animates its own height, so content below slides rather than\n * jumping.\n *\n * Uses `grid-template-rows: 0fr → 1fr` rather than animating `max-height`: it\n * interpolates to the panel's real height, so there is no magic number to\n * guess and no pause at the end when the guess was too generous.\n */\nconst Collapse = React.forwardRef<HTMLDivElement, CollapseProps>(\n ({ open, duration, unmountOnClose = false, className, children, style, ...props }, ref) => {\n const ms = duration ?? DEFAULT_DURATION;\n const [mounted, setMounted] = React.useState(open);\n const [expanded, setExpanded] = React.useState(open);\n const frame = React.useRef(0);\n const timer = React.useRef<ReturnType<typeof setTimeout>>(undefined);\n\n /*\n * Hold the last real children so the panel has something to shrink.\n * Callers routinely clear the state that fed the panel the moment they\n * close it, which empties the box instantly and leaves nothing to animate\n * — the open looks smooth and the close looks like a cut.\n */\n const lastChildren = React.useRef(children);\n if (children != null && children !== false) lastChildren.current = children;\n const rendered = open ? children : lastChildren.current;\n\n React.useEffect(() => {\n cancelAnimationFrame(frame.current);\n clearTimeout(timer.current);\n\n if (open) {\n setMounted(true);\n // Two frames: one to put 0fr on screen, one to transition away from it.\n // A single frame can be batched with the mount and the panel snaps open.\n frame.current = requestAnimationFrame(() => {\n frame.current = requestAnimationFrame(() => setExpanded(true));\n });\n } else {\n setExpanded(false);\n if (unmountOnClose) {\n timer.current = setTimeout(() => setMounted(false), ms);\n }\n }\n\n return () => {\n cancelAnimationFrame(frame.current);\n clearTimeout(timer.current);\n };\n }, [open, unmountOnClose, ms]);\n\n return (\n <div\n ref={ref}\n data-slot={'collapse'}\n className={cn(s['collapse'], expanded && s['collapse--open'], className)}\n style={\n duration\n ? ({ ...style, '--collapse-duration': `${duration}ms` } as React.CSSProperties)\n : style\n }\n aria-hidden={!open}\n {...props}\n >\n <div className={s['collapse-inner']}>{mounted ? rendered : null}</div>\n </div>\n );\n },\n);\nCollapse.displayName = 'Collapse';\n\nexport { Collapse };\n"],"names":["_jsx"],"mappings":";;;;;AAiBA,MAAM,gBAAgB,GAAG,GAAG;AAE5B;;;;;;;AAOG;AACH,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,GAAG,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AACxF,IAAA,MAAM,EAAE,GAAG,QAAQ,IAAI,gBAAgB;AACvC,IAAA,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;AAClD,IAAA,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpD,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7B,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAgC,SAAS,CAAC;AAEpE;;;;;AAKG;IACH,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC3C,IAAA,IAAI,QAAQ,IAAI,IAAI,IAAI,QAAQ,KAAK,KAAK;AAAE,QAAA,YAAY,CAAC,OAAO,GAAG,QAAQ;AAC3E,IAAA,MAAM,QAAQ,GAAG,IAAI,GAAG,QAAQ,GAAG,YAAY,CAAC,OAAO;AAEvD,IAAA,KAAK,CAAC,SAAS,CAAC,MAAK;AACnB,QAAA,oBAAoB,CAAC,KAAK,CAAC,OAAO,CAAC;AACnC,QAAA,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC;QAE3B,IAAI,IAAI,EAAE;YACR,UAAU,CAAC,IAAI,CAAC;;;AAGhB,YAAA,KAAK,CAAC,OAAO,GAAG,qBAAqB,CAAC,MAAK;AACzC,gBAAA,KAAK,CAAC,OAAO,GAAG,qBAAqB,CAAC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC;AAChE,YAAA,CAAC,CAAC;QACJ;aAAO;YACL,WAAW,CAAC,KAAK,CAAC;YAClB,IAAI,cAAc,EAAE;AAClB,gBAAA,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;YACzD;QACF;AAEA,QAAA,OAAO,MAAK;AACV,YAAA,oBAAoB,CAAC,KAAK,CAAC,OAAO,CAAC;AACnC,YAAA,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC;AAC7B,QAAA,CAAC;IACH,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC;AAE9B,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EACE,GAAG,EAAE,GAAG,EAAA,WAAA,EACG,UAAU,EACrB,SAAS,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,QAAQ,IAAI,CAAC,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,EACxE,KAAK,EACH;cACK,EAAE,GAAG,KAAK,EAAE,qBAAqB,EAAE,CAAA,EAAG,QAAQ,CAAA,EAAA,CAAI;AACrD,cAAE,KAAK,EAAA,aAAA,EAEE,CAAC,IAAI,EAAA,GACd,KAAK,EAAA,QAAA,EAETA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAG,OAAO,GAAG,QAAQ,GAAG,IAAI,EAAA,CAAO,EAAA,CAClE;AAEV,CAAC;AAEH,QAAQ,CAAC,WAAW,GAAG,UAAU;;"}
|
package/dist/layout.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as AppContent, a as AppFooter, b as AppFooterProps, c as AppShell, d as AppShellProps, e as AppSidebar, f as AppSidebarHeader, g as AppSidebarHeaderProps, h as AppSidebarProps, C as Collapse, i as CollapseProps, j as Column, k as ColumnProps, l as Container, G as Grid, R as Row, p as Sidebar, q as SidebarContent, r as SidebarFooter, s as SidebarGroup, t as SidebarGroupAction, u as SidebarGroupContent, v as SidebarGroupLabel, w as SidebarHeader, x as SidebarInput, y as SidebarInset, z as SidebarMenu, B as SidebarMenuAction, D as SidebarMenuBadge, E as SidebarMenuButton, F as SidebarMenuItem, H as SidebarMenuSkeleton, I as SidebarMenuSub, J as SidebarMenuSubButton, K as SidebarMenuSubItem, L as SidebarProvider, M as SidebarRail, N as SidebarTrigger, P as Skeleton } from './index-
|
|
1
|
+
export { A as AppContent, a as AppFooter, b as AppFooterProps, c as AppShell, d as AppShellProps, e as AppSidebar, f as AppSidebarHeader, g as AppSidebarHeaderProps, h as AppSidebarProps, C as Collapse, i as CollapseProps, j as Column, k as ColumnProps, l as Container, G as Grid, R as Row, p as Sidebar, q as SidebarContent, r as SidebarFooter, s as SidebarGroup, t as SidebarGroupAction, u as SidebarGroupContent, v as SidebarGroupLabel, w as SidebarHeader, x as SidebarInput, y as SidebarInset, z as SidebarMenu, B as SidebarMenuAction, D as SidebarMenuBadge, E as SidebarMenuButton, F as SidebarMenuItem, H as SidebarMenuSkeleton, I as SidebarMenuSub, J as SidebarMenuSubButton, K as SidebarMenuSubItem, L as SidebarProvider, M as SidebarRail, N as SidebarTrigger, P as Skeleton } from './index-BLcVtjt9.js';
|
|
2
2
|
export { R as RowProps } from './row-CS9-talZ.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './nav-user-CJIcWKyY.js';
|
|
5
5
|
import 'lucide-react';
|
|
6
6
|
import './user-menu-content-D0Ldzigm.js';
|
|
7
7
|
import './input-CWHXOpeH.js';
|
|
8
|
-
import './tooltip-
|
|
8
|
+
import './tooltip-Bb0qqHZI.js';
|
|
9
9
|
import 'class-variance-authority';
|
|
10
10
|
import 'class-variance-authority/types';
|
package/dist/navigation.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ declare function DropdownMenuSubContent({ className, ...props }: React.HTMLAttri
|
|
|
62
62
|
declare const linkVariants: (props?: ({
|
|
63
63
|
underline?: boolean | null | undefined;
|
|
64
64
|
hover?: "default" | "none" | null | undefined;
|
|
65
|
-
theme?: "
|
|
65
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
66
66
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
67
67
|
|
|
68
68
|
interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick'>, VariantProps<typeof linkVariants> {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/styles/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/tokens.css
ADDED
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-sans:
|
|
3
|
+
ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto,
|
|
4
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
5
|
+
--font-serif:
|
|
6
|
+
ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
7
|
+
--font-mono:
|
|
8
|
+
ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
|
|
9
|
+
--font-weight-default: 400;
|
|
10
|
+
--line-height-default: 1.55;
|
|
11
|
+
--letter-spacing-tight: -0.011em;
|
|
12
|
+
/*******************
|
|
13
|
+
PALETTE - LIGHT MODE
|
|
14
|
+
*******************/
|
|
15
|
+
--text-primary: #151a23;
|
|
16
|
+
--text-secondary: #4a5464;
|
|
17
|
+
--text-heading: #151a23;
|
|
18
|
+
--text-contrast: #ffffff;
|
|
19
|
+
--text-disabled: #5e6a7d;
|
|
20
|
+
--text-focus: rgba(94, 106, 125, 0.25);
|
|
21
|
+
--text-focus-visible: rgba(94, 106, 125, 0.5);
|
|
22
|
+
--text-hover: rgba(94, 106, 125, 0.1);
|
|
23
|
+
--text-outlined-border: rgba(94, 106, 125, 0.5);
|
|
24
|
+
--text-selected: rgba(94, 106, 125, 0.075);
|
|
25
|
+
--inherit-main: #151a23;
|
|
26
|
+
--inherit-dark: #0d1017;
|
|
27
|
+
--inherit-emphasis: #333c4a;
|
|
28
|
+
--inherit-light: #4a5464;
|
|
29
|
+
--inherit-contrast: #ffffff;
|
|
30
|
+
--inherit-focus: rgba(94, 106, 125, 0.25);
|
|
31
|
+
--inherit-focus-visible: rgba(94, 106, 125, 0.5);
|
|
32
|
+
--inherit-hover: rgba(94, 106, 125, 0.1);
|
|
33
|
+
--inherit-outlined-border: rgba(94, 106, 125, 0.5);
|
|
34
|
+
--inherit-selected: rgba(94, 106, 125, 0.075);
|
|
35
|
+
--primary-main: #0284c7;
|
|
36
|
+
--primary-dark: #075985;
|
|
37
|
+
--primary-emphasis: #0369a1;
|
|
38
|
+
--primary-light: #38bdf8;
|
|
39
|
+
--primary-contrast: #ffffff;
|
|
40
|
+
--primary-focus: #bae6fd;
|
|
41
|
+
--primary-focus-visible: #38bdf8;
|
|
42
|
+
--primary-hover: rgba(14, 165, 233, 0.1);
|
|
43
|
+
--primary-outlined-border: #0284c7;
|
|
44
|
+
--primary-selected: rgba(14, 165, 233, 0.075);
|
|
45
|
+
--secondary-main: #8b5cf6;
|
|
46
|
+
--secondary-dark: #462e7b;
|
|
47
|
+
--secondary-emphasis: #6f4ac5;
|
|
48
|
+
--secondary-light: rgba(139, 92, 246, 0.5);
|
|
49
|
+
--secondary-contrast: #ffffff;
|
|
50
|
+
--secondary-focus: rgba(139, 92, 246, 0.25);
|
|
51
|
+
--secondary-focus-visible: rgba(139, 92, 246, 0.5);
|
|
52
|
+
--secondary-hover: rgba(139, 92, 246, 0.1);
|
|
53
|
+
--secondary-outlined-border: #8b5cf6;
|
|
54
|
+
--secondary-selected: rgba(139, 92, 246, 0.075);
|
|
55
|
+
--destructive-main: #c3324b;
|
|
56
|
+
--destructive-dark: #7a202f;
|
|
57
|
+
--destructive-emphasis: #c3324b;
|
|
58
|
+
--destructive-light: rgba(244, 63, 94, 0.75);
|
|
59
|
+
--destructive-contrast: #ffffff;
|
|
60
|
+
--destructive-focus: rgba(244, 63, 94, 0.25);
|
|
61
|
+
--destructive-focus-visible: rgba(244, 63, 94, 0.5);
|
|
62
|
+
--destructive-hover: rgba(244, 63, 94, 0.1);
|
|
63
|
+
--destructive-outlined-border: #f43f5e;
|
|
64
|
+
--destructive-selected: rgba(244, 63, 94, 0.075);
|
|
65
|
+
--warning-main: #cc8d1a;
|
|
66
|
+
--warning-dark: #805810;
|
|
67
|
+
--warning-emphasis: #805810;
|
|
68
|
+
--warning-light: rgba(255, 176, 32, 0.5);
|
|
69
|
+
--warning-contrast: #ffffff;
|
|
70
|
+
--warning-focus: rgba(255, 176, 32, 0.25);
|
|
71
|
+
--warning-focus-visible: rgba(255, 176, 32, 0.5);
|
|
72
|
+
--warning-hover: rgba(255, 176, 32, 0.1);
|
|
73
|
+
--warning-outlined-border: #ffb020;
|
|
74
|
+
--warning-selected: rgba(255, 176, 32, 0.075);
|
|
75
|
+
--success-main: #0d9467;
|
|
76
|
+
--success-dark: #085c40;
|
|
77
|
+
--success-emphasis: #0d9467;
|
|
78
|
+
--success-light: rgba(16, 185, 129, 0.75);
|
|
79
|
+
--success-contrast: #ffffff;
|
|
80
|
+
--success-focus: rgba(16, 185, 129, 0.25);
|
|
81
|
+
--success-focus-visible: rgba(16, 185, 129, 0.5);
|
|
82
|
+
--success-hover: rgba(16, 185, 129, 0.1);
|
|
83
|
+
--success-outlined-border: #0d9467;
|
|
84
|
+
--success-selected: rgba(16, 185, 129, 0.075);
|
|
85
|
+
--info-main: #266c96;
|
|
86
|
+
--info-dark: #123e5a;
|
|
87
|
+
--info-emphasis: #1b5276;
|
|
88
|
+
--info-light: #96c4dd;
|
|
89
|
+
--info-contrast: #ffffff;
|
|
90
|
+
--info-focus: #c8e0ee;
|
|
91
|
+
--info-focus-visible: #5fa6cb;
|
|
92
|
+
--info-hover: rgba(54, 136, 179, 0.1);
|
|
93
|
+
--info-outlined-border: #3688b3;
|
|
94
|
+
--info-selected: rgba(54, 136, 179, 0.075);
|
|
95
|
+
--slate-main: #4a5464;
|
|
96
|
+
--slate-dark: #151a23;
|
|
97
|
+
--slate-emphasis: #1d2430;
|
|
98
|
+
--slate-light: #5e6a7d;
|
|
99
|
+
--slate-contrast: #ffffff;
|
|
100
|
+
--slate-focus: rgba(94, 106, 125, 0.25);
|
|
101
|
+
--slate-focus-visible: rgba(94, 106, 125, 0.5);
|
|
102
|
+
--slate-hover: rgba(94, 106, 125, 0.1);
|
|
103
|
+
--slate-outlined-border: rgba(94, 106, 125, 0.75);
|
|
104
|
+
--slate-selected: rgba(94, 106, 125, 0.05);
|
|
105
|
+
--action-active: #333c4a;
|
|
106
|
+
--action-disabled: rgba(94, 106, 125, 0.5);
|
|
107
|
+
--action-disabled-background: rgba(94, 106, 125, 0.1);
|
|
108
|
+
--action-focus: rgba(94, 106, 125, 0.25);
|
|
109
|
+
--action-hover: rgba(94, 106, 125, 0.075);
|
|
110
|
+
--action-selected: rgba(94, 106, 125, 0.25);
|
|
111
|
+
--avatar-fallback: rgba(94, 106, 125, 0.25);
|
|
112
|
+
--common-black-main: #151a23;
|
|
113
|
+
--common-black-focus: rgba(94, 106, 125, 0.75);
|
|
114
|
+
--common-black-focus-visible: #5e6a7d;
|
|
115
|
+
--common-black-hover: rgba(94, 106, 125, 0.25);
|
|
116
|
+
--common-black-outlined-border: #5e6a7d;
|
|
117
|
+
--common-black-selected: rgba(94, 106, 125, 0.1);
|
|
118
|
+
--common-white-main: #ffffff;
|
|
119
|
+
--common-white-focus: rgba(255, 255, 255, 0.24);
|
|
120
|
+
--common-white-focus-visible: rgba(255, 255, 255, 0.32);
|
|
121
|
+
--common-white-hover: rgba(255, 255, 255, 0.16);
|
|
122
|
+
--common-white-outlined-border: rgba(255, 255, 255, 0.72);
|
|
123
|
+
--common-white-selected: rgba(255, 255, 255, 0.08);
|
|
124
|
+
--background-default: #ffffff;
|
|
125
|
+
--background-contrast: #151a23;
|
|
126
|
+
--background-modal: rgba(21, 26, 35, 0.55);
|
|
127
|
+
--background-darker-12: rgba(51, 60, 74, 0.02);
|
|
128
|
+
--background-darker-25: rgba(51, 60, 74, 0.05);
|
|
129
|
+
--background-darker-50: rgba(51, 60, 74, 0.16);
|
|
130
|
+
--background-darker-75: rgba(51, 60, 74, 0.24);
|
|
131
|
+
--surface: #ffffff;
|
|
132
|
+
--surface-muted: #f7f8f8;
|
|
133
|
+
--overlay-strong: rgba(21, 26, 35, 0.9);
|
|
134
|
+
--border-subtle: rgba(94, 106, 125, 0.25);
|
|
135
|
+
--elevation-outlined: var(--divider);
|
|
136
|
+
--elevation-outlined-dark: var(--divider-dark);
|
|
137
|
+
--background-elevation-0: #ffffff;
|
|
138
|
+
--background-elevation-1: #ffffff;
|
|
139
|
+
--background-elevation-2: #ffffff;
|
|
140
|
+
--background-elevation-3: #ffffff;
|
|
141
|
+
--background-elevation-4: #ffffff;
|
|
142
|
+
--background-elevation-5: #ffffff;
|
|
143
|
+
--background-elevation-6: #ffffff;
|
|
144
|
+
--background-elevation-7: #ffffff;
|
|
145
|
+
--background-elevation-8: #ffffff;
|
|
146
|
+
--background-elevation-9: #ffffff;
|
|
147
|
+
--background-elevation-10: #ffffff;
|
|
148
|
+
--background-elevation-11: #ffffff;
|
|
149
|
+
--background-elevation-12: #ffffff;
|
|
150
|
+
--background-elevation-13: #ffffff;
|
|
151
|
+
--background-elevation-14: #ffffff;
|
|
152
|
+
--background-elevation-15: #ffffff;
|
|
153
|
+
--background-elevation-16: #ffffff;
|
|
154
|
+
--background-elevation-17: #ffffff;
|
|
155
|
+
--background-elevation-18: #ffffff;
|
|
156
|
+
--background-elevation-19: #ffffff;
|
|
157
|
+
--background-elevation-20: #ffffff;
|
|
158
|
+
--background-elevation-21: #ffffff;
|
|
159
|
+
--background-elevation-22: #ffffff;
|
|
160
|
+
--background-elevation-23: #ffffff;
|
|
161
|
+
--background-elevation-24: #ffffff;
|
|
162
|
+
--shadow-elevation-1: 0 1px 1px rgba(0, 0, 0, 0.122), 0 1px 3px 0px rgba(0, 0, 0, 0.052);
|
|
163
|
+
--shadow-elevation-2: 0 1px 2px rgba(0, 0, 0, 0.124), 0 2px 5px 1px rgba(0, 0, 0, 0.053);
|
|
164
|
+
--shadow-elevation-3: 0 2px 3px rgba(0, 0, 0, 0.126), 0 3px 8px 1px rgba(0, 0, 0, 0.055);
|
|
165
|
+
--shadow-elevation-4: 0 2px 4px rgba(0, 0, 0, 0.128), 0 4px 10px 2px rgba(0, 0, 0, 0.057);
|
|
166
|
+
--shadow-elevation-5: 0 3px 5px rgba(0, 0, 0, 0.13), 0 5px 13px 2px rgba(0, 0, 0, 0.059);
|
|
167
|
+
--shadow-elevation-6: 0 3px 6px rgba(0, 0, 0, 0.132), 0 6px 15px 3px rgba(0, 0, 0, 0.06);
|
|
168
|
+
--shadow-elevation-7: 0 4px 7px rgba(0, 0, 0, 0.134), 0 7px 18px 3px rgba(0, 0, 0, 0.062);
|
|
169
|
+
--shadow-elevation-8: 0 4px 8px rgba(0, 0, 0, 0.136), 0 8px 20px 3px rgba(0, 0, 0, 0.064);
|
|
170
|
+
--shadow-elevation-9: 0 5px 9px rgba(0, 0, 0, 0.138), 0 9px 23px 4px rgba(0, 0, 0, 0.065);
|
|
171
|
+
--shadow-elevation-10: 0 5px 10px rgba(0, 0, 0, 0.14), 0 10px 25px 4px rgba(0, 0, 0, 0.067);
|
|
172
|
+
--shadow-elevation-11: 0 6px 11px rgba(0, 0, 0, 0.142), 0 11px 28px 5px rgba(0, 0, 0, 0.069);
|
|
173
|
+
--shadow-elevation-12: 0 6px 12px rgba(0, 0, 0, 0.144), 0 12px 30px 5px rgba(0, 0, 0, 0.07);
|
|
174
|
+
--shadow-elevation-13: 0 7px 13px rgba(0, 0, 0, 0.146), 0 13px 33px 5px rgba(0, 0, 0, 0.072);
|
|
175
|
+
--shadow-elevation-14: 0 7px 14px rgba(0, 0, 0, 0.148), 0 14px 35px 6px rgba(0, 0, 0, 0.074);
|
|
176
|
+
--shadow-elevation-15: 0 8px 15px rgba(0, 0, 0, 0.15), 0 15px 38px 6px rgba(0, 0, 0, 0.076);
|
|
177
|
+
--shadow-elevation-16: 0 8px 16px rgba(0, 0, 0, 0.152), 0 16px 40px 7px rgba(0, 0, 0, 0.077);
|
|
178
|
+
--shadow-elevation-17: 0 9px 17px rgba(0, 0, 0, 0.154), 0 17px 43px 7px rgba(0, 0, 0, 0.079);
|
|
179
|
+
--shadow-elevation-18: 0 9px 18px rgba(0, 0, 0, 0.156), 0 18px 45px 8px rgba(0, 0, 0, 0.081);
|
|
180
|
+
--shadow-elevation-19: 0 10px 19px rgba(0, 0, 0, 0.158), 0 19px 48px 8px rgba(0, 0, 0, 0.082);
|
|
181
|
+
--shadow-elevation-20: 0 10px 20px rgba(0, 0, 0, 0.16), 0 20px 50px 8px rgba(0, 0, 0, 0.084);
|
|
182
|
+
--shadow-elevation-21: 0 11px 21px rgba(0, 0, 0, 0.162), 0 21px 53px 9px rgba(0, 0, 0, 0.086);
|
|
183
|
+
--shadow-elevation-22: 0 11px 22px rgba(0, 0, 0, 0.164), 0 22px 55px 9px rgba(0, 0, 0, 0.087);
|
|
184
|
+
--shadow-elevation-23: 0 12px 23px rgba(0, 0, 0, 0.166), 0 23px 58px 10px rgba(0, 0, 0, 0.089);
|
|
185
|
+
--shadow-elevation-24: 0 12px 24px rgba(0, 0, 0, 0.168), 0 24px 60px 10px rgba(0, 0, 0, 0.091);
|
|
186
|
+
--shadow-xs: 0 1px 2px rgba(21, 26, 35, 0.06);
|
|
187
|
+
--shadow-sm: 0 1px 3px rgba(21, 26, 35, 0.1);
|
|
188
|
+
--z-raised: 10;
|
|
189
|
+
--z-sticky: 20;
|
|
190
|
+
--z-modal: 100;
|
|
191
|
+
--z-popover: 200;
|
|
192
|
+
--z-tooltip: 300;
|
|
193
|
+
--z-toast: 400;
|
|
194
|
+
--radius-xs: 0.25rem;
|
|
195
|
+
--radius-sm: 0.375rem;
|
|
196
|
+
--radius-md: 0.5rem;
|
|
197
|
+
--radius-lg: 0.75rem;
|
|
198
|
+
--radius-xl: 1rem;
|
|
199
|
+
--radius-2xl: 1.5rem;
|
|
200
|
+
--radius-full: 9999px;
|
|
201
|
+
--text-base--line-height: var(--line-height-default);
|
|
202
|
+
--appbar-default-fill: var(--background-default);
|
|
203
|
+
--divider: rgba(94, 106, 125, 0.1);
|
|
204
|
+
--divider-dark: rgba(94, 106, 125, 0.25);
|
|
205
|
+
--input-filled-enabled-fill: var(--action-active);
|
|
206
|
+
--input-filled-hover-fill: var(--action-hover);
|
|
207
|
+
--input-outlined-enabled-border: rgba(94, 106, 125, 0.25);
|
|
208
|
+
--input-outlined-hover-border: rgba(94, 106, 125, 0.75);
|
|
209
|
+
--input-standard-enabled-border: rgba(94, 106, 125, 0.25);
|
|
210
|
+
--input-standard-hover-border: rgba(94, 106, 125, 0.75);
|
|
211
|
+
--link-primary: var(--primary-emphasis);
|
|
212
|
+
--link-primary-hover: var(--action-hover);
|
|
213
|
+
--link-primary-disabled: var(--action-disabled);
|
|
214
|
+
--logo-fill: #151a23;
|
|
215
|
+
--logo-mark: #0284c7;
|
|
216
|
+
--sidebar: #fbfbfc;
|
|
217
|
+
--sidebar-foreground: #151a23;
|
|
218
|
+
--sidebar-primary: #0284c7;
|
|
219
|
+
--sidebar-primary-foreground: #ffffff;
|
|
220
|
+
--sidebar-accent: rgba(14, 165, 233, 0.1);
|
|
221
|
+
--sidebar-accent-foreground: #075985;
|
|
222
|
+
--sidebar-border: rgba(94, 106, 125, 0.1);
|
|
223
|
+
--sidebar-ring: #7dd3fc;
|
|
224
|
+
--dashboard-hex-partial: #bae6fd;
|
|
225
|
+
--size-1: 0.5rem;
|
|
226
|
+
--size-2: 1rem;
|
|
227
|
+
--size-3: 1.5rem;
|
|
228
|
+
--size-4: 2rem;
|
|
229
|
+
--size-5: 2.5rem;
|
|
230
|
+
--size-6: 3rem;
|
|
231
|
+
--size-7: 3.5rem;
|
|
232
|
+
--size-8: 4rem;
|
|
233
|
+
--size-9: 4.5rem;
|
|
234
|
+
--size-10: 5rem;
|
|
235
|
+
--size-11: 5.5rem;
|
|
236
|
+
--size-12: 6rem;
|
|
237
|
+
--appbar-height: 64px;
|
|
238
|
+
--footer-height: 52px;
|
|
239
|
+
--main-body-height: calc(100vh - var(--appbar-height) - var(--footer-height));
|
|
240
|
+
--main-padding-width: var(--size-3);
|
|
241
|
+
--main-padding-height: var(--size-3);
|
|
242
|
+
}
|
|
243
|
+
@media (min-width: 769px) {
|
|
244
|
+
:root {
|
|
245
|
+
--main-padding-width: var(--size-5);
|
|
246
|
+
--main-padding-height: var(--size-6);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/*******************
|
|
251
|
+
PALETTE - DARK MODE
|
|
252
|
+
*******************/
|
|
253
|
+
.dark {
|
|
254
|
+
--text-primary: rgba(255, 255, 255, 0.92);
|
|
255
|
+
--text-secondary: rgba(255, 255, 255, 0.64);
|
|
256
|
+
--text-heading: #ffffff;
|
|
257
|
+
--text-contrast: #0d1017;
|
|
258
|
+
--text-disabled: var(--action-disabled);
|
|
259
|
+
--text-focus: rgba(255, 255, 255, 0.24);
|
|
260
|
+
--text-focus-visible: rgba(255, 255, 255, 0.32);
|
|
261
|
+
--text-hover: rgba(255, 255, 255, 0.16);
|
|
262
|
+
--text-outlined-border: rgba(255, 255, 255, 0.72);
|
|
263
|
+
--text-selected: rgba(255, 255, 255, 0.12);
|
|
264
|
+
--inherit-main: #ffffff;
|
|
265
|
+
--inherit-dark: rgba(255, 255, 255, 0.8);
|
|
266
|
+
--inherit-emphasis: rgba(255, 255, 255, 0.8);
|
|
267
|
+
--inherit-light: #ffffff;
|
|
268
|
+
--inherit-contrast: #0d1017;
|
|
269
|
+
--inherit-focus: rgba(255, 255, 255, 0.24);
|
|
270
|
+
--inherit-focus-visible: rgba(255, 255, 255, 0.32);
|
|
271
|
+
--inherit-hover: rgba(255, 255, 255, 0.16);
|
|
272
|
+
--inherit-outlined-border: rgba(255, 255, 255, 0.72);
|
|
273
|
+
--inherit-selected: rgba(255, 255, 255, 0.12);
|
|
274
|
+
--primary-main: #0ea5e9;
|
|
275
|
+
--primary-dark: #0369a1;
|
|
276
|
+
--primary-emphasis: #7dd3fc;
|
|
277
|
+
--primary-light: #38bdf8;
|
|
278
|
+
--primary-contrast: #0d1017;
|
|
279
|
+
--primary-focus: #38bdf8;
|
|
280
|
+
--primary-focus-visible: #38bdf8;
|
|
281
|
+
--primary-hover: rgba(125, 211, 252, 0.16);
|
|
282
|
+
--primary-outlined-border: #7dd3fc;
|
|
283
|
+
--primary-selected: rgba(125, 211, 252, 0.12);
|
|
284
|
+
--secondary-main: #8b5cf6;
|
|
285
|
+
--secondary-dark: #462e7b;
|
|
286
|
+
--secondary-emphasis: rgba(139, 92, 246, 0.5);
|
|
287
|
+
--secondary-light: rgba(139, 92, 246, 0.75);
|
|
288
|
+
--secondary-contrast: #ffffff;
|
|
289
|
+
--secondary-focus: rgba(139, 92, 246, 0.5);
|
|
290
|
+
--secondary-focus-visible: rgba(139, 92, 246, 0.5);
|
|
291
|
+
--secondary-hover: rgba(139, 92, 246, 0.1);
|
|
292
|
+
--secondary-outlined-border: rgba(139, 92, 246, 0.5);
|
|
293
|
+
--secondary-selected: rgba(139, 92, 246, 0.075);
|
|
294
|
+
--destructive-main: #f43f5e;
|
|
295
|
+
--destructive-dark: #7a202f;
|
|
296
|
+
--destructive-emphasis: rgba(244, 63, 94, 0.5);
|
|
297
|
+
--destructive-light: rgba(244, 63, 94, 0.75);
|
|
298
|
+
--destructive-contrast: #ffffff;
|
|
299
|
+
--destructive-focus: rgba(244, 63, 94, 0.5);
|
|
300
|
+
--destructive-focus-visible: rgba(244, 63, 94, 0.5);
|
|
301
|
+
--destructive-hover: rgba(244, 63, 94, 0.1);
|
|
302
|
+
--destructive-outlined-border: rgba(244, 63, 94, 0.5);
|
|
303
|
+
--destructive-selected: rgba(244, 63, 94, 0.075);
|
|
304
|
+
--warning-main: #ffb020;
|
|
305
|
+
--warning-dark: #805810;
|
|
306
|
+
--warning-emphasis: rgba(255, 176, 32, 0.5);
|
|
307
|
+
--warning-light: rgba(255, 176, 32, 0.75);
|
|
308
|
+
--warning-contrast: #0d1017;
|
|
309
|
+
--warning-focus: rgba(255, 176, 32, 0.5);
|
|
310
|
+
--warning-focus-visible: rgba(255, 176, 32, 0.5);
|
|
311
|
+
--warning-hover: rgba(255, 176, 32, 0.1);
|
|
312
|
+
--warning-outlined-border: rgba(255, 176, 32, 0.5);
|
|
313
|
+
--warning-selected: rgba(255, 176, 32, 0.075);
|
|
314
|
+
--success-main: #10b981;
|
|
315
|
+
--success-dark: #085c40;
|
|
316
|
+
--success-emphasis: rgba(16, 185, 129, 0.5);
|
|
317
|
+
--success-light: rgba(16, 185, 129, 0.75);
|
|
318
|
+
--success-contrast: #0d1017;
|
|
319
|
+
--success-focus: rgba(16, 185, 129, 0.5);
|
|
320
|
+
--success-focus-visible: rgba(16, 185, 129, 0.5);
|
|
321
|
+
--success-hover: rgba(16, 185, 129, 0.1);
|
|
322
|
+
--success-outlined-border: rgba(16, 185, 129, 0.5);
|
|
323
|
+
--success-selected: rgba(16, 185, 129, 0.075);
|
|
324
|
+
--info-main: #3688b3;
|
|
325
|
+
--info-dark: #1b5276;
|
|
326
|
+
--info-emphasis: #96c4dd;
|
|
327
|
+
--info-light: #7bb6d4;
|
|
328
|
+
--info-contrast: #ffffff;
|
|
329
|
+
--info-focus: #5fa6cb;
|
|
330
|
+
--info-focus-visible: #5fa6cb;
|
|
331
|
+
--info-hover: rgba(54, 136, 179, 0.1);
|
|
332
|
+
--info-outlined-border: #96c4dd;
|
|
333
|
+
--info-selected: rgba(54, 136, 179, 0.075);
|
|
334
|
+
--slate-main: #5e6a7d;
|
|
335
|
+
--slate-dark: #333c4a;
|
|
336
|
+
--slate-emphasis: rgba(255, 255, 255, 0.72);
|
|
337
|
+
--slate-light: rgba(94, 106, 125, 0.75);
|
|
338
|
+
--slate-contrast: #0d1017;
|
|
339
|
+
--slate-focus: rgba(255, 255, 255, 0.24);
|
|
340
|
+
--slate-focus-visible: rgba(255, 255, 255, 0.32);
|
|
341
|
+
--slate-hover: rgba(255, 255, 255, 0.08);
|
|
342
|
+
--slate-outlined-border: rgba(255, 255, 255, 0.4);
|
|
343
|
+
--slate-selected: rgba(255, 255, 255, 0.08);
|
|
344
|
+
--action-active: rgba(255, 255, 255, 0.64);
|
|
345
|
+
--action-disabled: rgba(255, 255, 255, 0.32);
|
|
346
|
+
--action-disabled-background: rgba(255, 255, 255, 0.08);
|
|
347
|
+
--action-focus: rgba(255, 255, 255, 0.24);
|
|
348
|
+
--action-hover: rgba(255, 255, 255, 0.08);
|
|
349
|
+
--action-selected: rgba(255, 255, 255, 0.16);
|
|
350
|
+
--avatar-fallback: rgba(255, 255, 255, 0.16);
|
|
351
|
+
--background-default: #0d1017;
|
|
352
|
+
--background-contrast: #ffffff;
|
|
353
|
+
--background-modal: rgba(0, 0, 0, 0.7);
|
|
354
|
+
--background-darker-12: rgba(0, 0, 0, 0.08);
|
|
355
|
+
--background-darker-25: rgba(0, 0, 0, 0.16);
|
|
356
|
+
--background-darker-50: rgba(0, 0, 0, 0.24);
|
|
357
|
+
--background-darker-75: rgba(0, 0, 0, 0.3);
|
|
358
|
+
--surface: #151a23;
|
|
359
|
+
--surface-muted: #1d2430;
|
|
360
|
+
--overlay-strong: rgba(13, 16, 23, 0.9);
|
|
361
|
+
--border-subtle: rgba(255, 255, 255, 0.12);
|
|
362
|
+
--background-elevation-0: transparent;
|
|
363
|
+
--background-elevation-1: rgba(255, 255, 255, 0.04);
|
|
364
|
+
--background-elevation-2: rgba(255, 255, 255, 0.052);
|
|
365
|
+
--background-elevation-3: rgba(255, 255, 255, 0.064);
|
|
366
|
+
--background-elevation-4: rgba(255, 255, 255, 0.076);
|
|
367
|
+
--background-elevation-5: rgba(255, 255, 255, 0.088);
|
|
368
|
+
--background-elevation-6: rgba(255, 255, 255, 0.1);
|
|
369
|
+
--background-elevation-7: rgba(255, 255, 255, 0.112);
|
|
370
|
+
--background-elevation-8: rgba(255, 255, 255, 0.124);
|
|
371
|
+
--background-elevation-9: rgba(255, 255, 255, 0.136);
|
|
372
|
+
--background-elevation-10: rgba(255, 255, 255, 0.148);
|
|
373
|
+
--background-elevation-11: rgba(255, 255, 255, 0.16);
|
|
374
|
+
--background-elevation-12: rgba(255, 255, 255, 0.172);
|
|
375
|
+
--background-elevation-13: rgba(255, 255, 255, 0.184);
|
|
376
|
+
--background-elevation-14: rgba(255, 255, 255, 0.196);
|
|
377
|
+
--background-elevation-15: rgba(255, 255, 255, 0.208);
|
|
378
|
+
--background-elevation-16: rgba(255, 255, 255, 0.22);
|
|
379
|
+
--background-elevation-17: rgba(255, 255, 255, 0.232);
|
|
380
|
+
--background-elevation-18: rgba(255, 255, 255, 0.244);
|
|
381
|
+
--background-elevation-19: rgba(255, 255, 255, 0.256);
|
|
382
|
+
--background-elevation-20: rgba(255, 255, 255, 0.268);
|
|
383
|
+
--background-elevation-21: rgba(255, 255, 255, 0.28);
|
|
384
|
+
--background-elevation-22: rgba(255, 255, 255, 0.292);
|
|
385
|
+
--background-elevation-23: rgba(255, 255, 255, 0.304);
|
|
386
|
+
--background-elevation-24: rgba(255, 255, 255, 0.316);
|
|
387
|
+
--shadow-elevation-1: 0 1px 1px rgba(0, 0, 0, 0.244), 0 1px 3px 0px rgba(0, 0, 0, 0.123);
|
|
388
|
+
--shadow-elevation-2: 0 1px 2px rgba(0, 0, 0, 0.248), 0 2px 5px 1px rgba(0, 0, 0, 0.127);
|
|
389
|
+
--shadow-elevation-3: 0 2px 3px rgba(0, 0, 0, 0.252), 0 3px 8px 1px rgba(0, 0, 0, 0.13);
|
|
390
|
+
--shadow-elevation-4: 0 2px 4px rgba(0, 0, 0, 0.256), 0 4px 10px 2px rgba(0, 0, 0, 0.134);
|
|
391
|
+
--shadow-elevation-5: 0 3px 5px rgba(0, 0, 0, 0.26), 0 5px 13px 2px rgba(0, 0, 0, 0.137);
|
|
392
|
+
--shadow-elevation-6: 0 3px 6px rgba(0, 0, 0, 0.264), 0 6px 15px 3px rgba(0, 0, 0, 0.14);
|
|
393
|
+
--shadow-elevation-7: 0 4px 7px rgba(0, 0, 0, 0.268), 0 7px 18px 3px rgba(0, 0, 0, 0.144);
|
|
394
|
+
--shadow-elevation-8: 0 4px 8px rgba(0, 0, 0, 0.272), 0 8px 20px 3px rgba(0, 0, 0, 0.147);
|
|
395
|
+
--shadow-elevation-9: 0 5px 9px rgba(0, 0, 0, 0.276), 0 9px 23px 4px rgba(0, 0, 0, 0.151);
|
|
396
|
+
--shadow-elevation-10: 0 5px 10px rgba(0, 0, 0, 0.28), 0 10px 25px 4px rgba(0, 0, 0, 0.154);
|
|
397
|
+
--shadow-elevation-11: 0 6px 11px rgba(0, 0, 0, 0.284), 0 11px 28px 5px rgba(0, 0, 0, 0.157);
|
|
398
|
+
--shadow-elevation-12: 0 6px 12px rgba(0, 0, 0, 0.288), 0 12px 30px 5px rgba(0, 0, 0, 0.161);
|
|
399
|
+
--shadow-elevation-13: 0 7px 13px rgba(0, 0, 0, 0.292), 0 13px 33px 5px rgba(0, 0, 0, 0.164);
|
|
400
|
+
--shadow-elevation-14: 0 7px 14px rgba(0, 0, 0, 0.296), 0 14px 35px 6px rgba(0, 0, 0, 0.168);
|
|
401
|
+
--shadow-elevation-15: 0 8px 15px rgba(0, 0, 0, 0.3), 0 15px 38px 6px rgba(0, 0, 0, 0.171);
|
|
402
|
+
--shadow-elevation-16: 0 8px 16px rgba(0, 0, 0, 0.304), 0 16px 40px 7px rgba(0, 0, 0, 0.174);
|
|
403
|
+
--shadow-elevation-17: 0 9px 17px rgba(0, 0, 0, 0.308), 0 17px 43px 7px rgba(0, 0, 0, 0.178);
|
|
404
|
+
--shadow-elevation-18: 0 9px 18px rgba(0, 0, 0, 0.312), 0 18px 45px 8px rgba(0, 0, 0, 0.181);
|
|
405
|
+
--shadow-elevation-19: 0 10px 19px rgba(0, 0, 0, 0.316), 0 19px 48px 8px rgba(0, 0, 0, 0.185);
|
|
406
|
+
--shadow-elevation-20: 0 10px 20px rgba(0, 0, 0, 0.32), 0 20px 50px 8px rgba(0, 0, 0, 0.188);
|
|
407
|
+
--shadow-elevation-21: 0 11px 21px rgba(0, 0, 0, 0.324), 0 21px 53px 9px rgba(0, 0, 0, 0.191);
|
|
408
|
+
--shadow-elevation-22: 0 11px 22px rgba(0, 0, 0, 0.328), 0 22px 55px 9px rgba(0, 0, 0, 0.195);
|
|
409
|
+
--shadow-elevation-23: 0 12px 23px rgba(0, 0, 0, 0.332), 0 23px 58px 10px rgba(0, 0, 0, 0.198);
|
|
410
|
+
--shadow-elevation-24: 0 12px 24px rgba(0, 0, 0, 0.336), 0 24px 60px 10px rgba(0, 0, 0, 0.202);
|
|
411
|
+
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
412
|
+
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
|
|
413
|
+
--divider: rgba(255, 255, 255, 0.08);
|
|
414
|
+
--divider-dark: rgba(255, 255, 255, 0.16);
|
|
415
|
+
--input-filled-enabled-fill: var(--action-selected);
|
|
416
|
+
--input-filled-hover-fill: var(--action-hover);
|
|
417
|
+
--input-outlined-enabled-border: rgba(255, 255, 255, 0.16);
|
|
418
|
+
--input-outlined-hover-border: rgba(255, 255, 255, 0.32);
|
|
419
|
+
--input-standard-enabled-border: rgba(255, 255, 255, 0.16);
|
|
420
|
+
--input-standard-hover-border: rgba(255, 255, 255, 0.32);
|
|
421
|
+
--link-primary: var(--primary-emphasis);
|
|
422
|
+
--link-primary-hover: var(--primary-emphasis);
|
|
423
|
+
--link-primary-disabled: var(--action-disabled);
|
|
424
|
+
--logo-fill: #ffffff;
|
|
425
|
+
--logo-mark: #7dd3fc;
|
|
426
|
+
--sidebar: #151a23;
|
|
427
|
+
--sidebar-foreground: rgba(255, 255, 255, 0.88);
|
|
428
|
+
--sidebar-primary: #38bdf8;
|
|
429
|
+
--sidebar-primary-foreground: #0d1017;
|
|
430
|
+
--sidebar-accent: rgba(125, 211, 252, 0.14);
|
|
431
|
+
--sidebar-accent-foreground: #7dd3fc;
|
|
432
|
+
--sidebar-border: rgba(255, 255, 255, 0.08);
|
|
433
|
+
--sidebar-ring: #38bdf8;
|
|
434
|
+
--dashboard-hex-partial: rgba(56, 189, 248, 0.6);
|
|
435
|
+
}
|
|
@@ -3,9 +3,9 @@ import * as React from 'react';
|
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
7
|
-
theme?: "
|
|
8
|
-
size?: "
|
|
6
|
+
variant?: "contained" | "outlined" | "ghost" | null | undefined;
|
|
7
|
+
theme?: "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | "inherit" | null | undefined;
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
9
9
|
iconOnly?: boolean | null | undefined;
|
|
10
10
|
rounded?: boolean | "extra" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, f as AlertProps, g as AlertProvider, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as CodeBlock, r as CodeBlockProps, D as DevIndicator, s as DevIndicatorProps, t as Dialog, u as DialogClose, v as DialogCloseProps, w as DialogContent, x as DialogContentProps, y as DialogDescription, z as DialogFooter, B as DialogHeader, E as DialogOverlay, F as DialogPortal, G as DialogProps, H as DialogTitle, I as DialogTrigger, J as DialogTriggerProps, K as EmptyState, L as EmptyStateProps, M as Icon, N as IconProps, O as List, P as ListItem, Q as ListItemProps, R as ListProps, T as Pagination, V as ProgressBar, W as ProgressBarProps, Y as Separator, Z as SeparatorProps, a0 as StatCard, a1 as StatCardDirection, a2 as StatCardProps, a3 as StatCardSize, a4 as StatCardTheme, a5 as StatCardVariant, a6 as StatusDot, a7 as StatusDotProps, a8 as Step, a9 as StepProgress, aa as StepProgressProps, ab as Switch, ac as SwitchProps, ad as Table, ae as TableActionCell, af as TableActionCellProps, ag as TableActionItem, ah as TableBody, ai as TableBodyProps, aj as TableCard, ak as TableCell, al as TableFooter, am as TableHead, an as TableHeader, ao as TableRow, ap as TableSortableHeader, aq as TableSortableHeaderProps, ar as TableToolbar, as as TableToolbarProps, at as Toggle, au as ToggleGroup, av as ToggleGroupProps, aw as ToggleProps, ax as TrendDirection, ay as persistAlert, az as statusDotVariants } from './index-
|
|
2
|
-
export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-
|
|
1
|
+
export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, f as AlertProps, g as AlertProvider, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as CodeBlock, r as CodeBlockProps, D as DevIndicator, s as DevIndicatorProps, t as Dialog, u as DialogClose, v as DialogCloseProps, w as DialogContent, x as DialogContentProps, y as DialogDescription, z as DialogFooter, B as DialogHeader, E as DialogOverlay, F as DialogPortal, G as DialogProps, H as DialogTitle, I as DialogTrigger, J as DialogTriggerProps, K as EmptyState, L as EmptyStateProps, M as Icon, N as IconProps, O as List, P as ListItem, Q as ListItemProps, R as ListProps, T as Pagination, V as ProgressBar, W as ProgressBarProps, Y as Separator, Z as SeparatorProps, a0 as StatCard, a1 as StatCardDirection, a2 as StatCardProps, a3 as StatCardSize, a4 as StatCardTheme, a5 as StatCardVariant, a6 as StatusDot, a7 as StatusDotProps, a8 as Step, a9 as StepProgress, aa as StepProgressProps, ab as Switch, ac as SwitchProps, ad as Table, ae as TableActionCell, af as TableActionCellProps, ag as TableActionItem, ah as TableBody, ai as TableBodyProps, aj as TableCard, ak as TableCell, al as TableFooter, am as TableHead, an as TableHeader, ao as TableRow, ap as TableSortableHeader, aq as TableSortableHeaderProps, ar as TableToolbar, as as TableToolbarProps, at as Toggle, au as ToggleGroup, av as ToggleGroupProps, aw as ToggleProps, ax as TrendDirection, ay as persistAlert, az as statusDotVariants } from './index-CSnovrxl.js';
|
|
2
|
+
export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-Bb0qqHZI.js';
|
|
3
3
|
import 'class-variance-authority';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'class-variance-authority/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kismet-ux/constellation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
"import": "./dist/index.css",
|
|
87
87
|
"default": "./dist/index.css"
|
|
88
88
|
},
|
|
89
|
+
"./styles/tokens": {
|
|
90
|
+
"import": "./dist/tokens.css",
|
|
91
|
+
"default": "./dist/tokens.css"
|
|
92
|
+
},
|
|
89
93
|
"./styles/mixins": {
|
|
90
94
|
"import": "./src/styles/mixins.scss",
|
|
91
95
|
"default": "./src/styles/mixins.scss"
|