@assure-one/design-system 0.1.1 → 0.3.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.ts +1161 -428
- package/dist/index.js +6114 -4845
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tokens/index.d.ts +258 -300
- package/dist/tokens/index.js +172 -181
- package/dist/tokens/index.js.map +1 -1
- package/package.json +42 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,185 +1,222 @@
|
|
|
1
1
|
export { ColorName, ReferenceTokens, SystemTokens, colors, radii, reference, shadows, spacing, surfaces, systemTokens, typography } from './tokens/index.js';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import * as
|
|
6
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
7
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
|
+
import { VariantProps } from 'class-variance-authority';
|
|
9
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
10
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
11
|
+
import { DayPickerProps } from 'react-day-picker';
|
|
12
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
13
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
14
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
15
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
16
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
17
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
18
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
19
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
20
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
21
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
22
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
23
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
24
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
25
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
26
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
27
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
28
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
29
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
30
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
4
31
|
import { ClassValue } from 'clsx';
|
|
5
32
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
open?: boolean;
|
|
25
|
-
onOpenChange?: (open: boolean) => void;
|
|
26
|
-
}
|
|
27
|
-
declare function AlertDialog({ children, open: controlledOpen, onOpenChange, }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
28
|
-
type AlertDialogTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
29
|
-
declare function AlertDialogTrigger({ children, className, ...props }: AlertDialogTriggerProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
type AlertDialogContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
31
|
-
declare function AlertDialogContent({ children, className, ...props }: AlertDialogContentProps): react.ReactPortal | null;
|
|
32
|
-
type AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
33
|
-
declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
type AlertDialogTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
|
35
|
-
declare function AlertDialogTitle({ className, ...props }: AlertDialogTitleProps): react_jsx_runtime.JSX.Element;
|
|
36
|
-
type AlertDialogDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
37
|
-
declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
38
|
-
type AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
|
39
|
-
declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
40
|
-
type AlertDialogActionProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
41
|
-
declare function AlertDialogAction({ children, className, ...props }: AlertDialogActionProps): react_jsx_runtime.JSX.Element;
|
|
42
|
-
type AlertDialogCancelProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
43
|
-
declare function AlertDialogCancel({ children, className, ...props }: AlertDialogCancelProps): react_jsx_runtime.JSX.Element;
|
|
44
|
-
|
|
45
|
-
declare const variantStyles$4: {
|
|
46
|
-
readonly info: "border-blue-200 bg-blue-50 text-blue-link [&_svg]:text-blue-link";
|
|
47
|
-
readonly success: "border-green-light-border bg-green-lighter-bg text-green-action [&_svg]:text-green-action";
|
|
48
|
-
readonly warning: "border-yellow-200 bg-amber-50 text-amber-dark [&_svg]:text-amber-dark";
|
|
49
|
-
readonly destructive: "border-red-200 bg-red-50 text-red-action [&_svg]:text-red-action";
|
|
33
|
+
type AccordionProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
|
|
34
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<AccordionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
37
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
|
|
39
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
40
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
41
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
42
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
declare const AlertDialogHeader: {
|
|
45
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
48
|
+
declare const AlertDialogFooter: {
|
|
49
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
50
|
+
displayName: string;
|
|
50
51
|
};
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
53
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
54
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
55
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Alert — inline banner. Variants align with the three Assure status families
|
|
59
|
+
* (success, warning, danger) plus a cyan-accent `info` (per spec §3 — three
|
|
60
|
+
* statuses, not five).
|
|
61
|
+
*/
|
|
62
|
+
declare const alertVariants: (props?: ({
|
|
63
|
+
variant?: "info" | "success" | "warning" | "destructive" | null | undefined;
|
|
64
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
65
|
+
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
53
66
|
}
|
|
54
|
-
declare
|
|
55
|
-
|
|
56
|
-
declare
|
|
57
|
-
type AlertDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
58
|
-
declare function AlertDescription({ className, ...props }: AlertDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
68
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
69
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
59
70
|
|
|
60
|
-
interface AspectRatioProps extends React.
|
|
71
|
+
interface AspectRatioProps extends React$1.ComponentPropsWithoutRef<typeof AspectRatioPrimitive.Root> {
|
|
61
72
|
ratio?: number;
|
|
62
|
-
children: React.ReactNode;
|
|
73
|
+
children: React$1.ReactNode;
|
|
63
74
|
}
|
|
64
|
-
declare
|
|
75
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
65
76
|
|
|
66
|
-
declare const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
readonly lg: "size-14 text-base";
|
|
71
|
-
};
|
|
77
|
+
declare const avatarVariants: (props?: ({
|
|
78
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
79
|
+
variant?: "initials" | "branded" | null | undefined;
|
|
80
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
72
81
|
declare const statusStyles: {
|
|
73
|
-
readonly online: "bg-success";
|
|
74
|
-
readonly
|
|
75
|
-
readonly busy: "bg-
|
|
82
|
+
readonly online: "bg-success-fg";
|
|
83
|
+
readonly away: "bg-warning-fg";
|
|
84
|
+
readonly busy: "bg-danger-fg";
|
|
85
|
+
readonly offline: "bg-fg-4";
|
|
76
86
|
};
|
|
77
|
-
interface AvatarProps extends React.
|
|
87
|
+
interface AvatarProps extends Omit<React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, "children">, VariantProps<typeof avatarVariants> {
|
|
78
88
|
src?: string | null;
|
|
79
89
|
alt?: string;
|
|
80
90
|
name?: string;
|
|
81
|
-
size?: keyof typeof sizeStyles$5;
|
|
82
91
|
status?: keyof typeof statusStyles;
|
|
83
92
|
}
|
|
84
|
-
declare
|
|
93
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
85
94
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
declare const sizeStyles$4: {
|
|
96
|
-
readonly sm: "px-2 py-0.5 text-xs";
|
|
97
|
-
readonly md: "px-2.5 py-0.5 text-sm";
|
|
98
|
-
};
|
|
99
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
100
|
-
variant?: keyof typeof variantStyles$3;
|
|
101
|
-
size?: keyof typeof sizeStyles$4;
|
|
95
|
+
/**
|
|
96
|
+
* Badge — status atom. Variants port the `.pill` family in `_shared.css`
|
|
97
|
+
* (lines 257-289). Default variant is the neutral pill.
|
|
98
|
+
*/
|
|
99
|
+
declare const badgeVariants: (props?: ({
|
|
100
|
+
variant?: "info" | "success" | "warning" | "destructive" | "default" | "secondary" | "outline" | null | undefined;
|
|
101
|
+
size?: "sm" | "md" | null | undefined;
|
|
102
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
103
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
102
104
|
dot?: boolean;
|
|
103
105
|
icon?: React.ReactNode;
|
|
104
106
|
}
|
|
105
|
-
declare
|
|
107
|
+
declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
106
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Blockquote — semantic quote with optional attribution. Uses `font-display`
|
|
111
|
+
* (Geist) at a comfortable reading scale; smart quotes are wrapped automatically.
|
|
112
|
+
*/
|
|
107
113
|
interface BlockquoteProps extends React.BlockquoteHTMLAttributes<HTMLQuoteElement> {
|
|
108
114
|
author?: string;
|
|
109
115
|
role?: string;
|
|
110
116
|
}
|
|
111
|
-
declare
|
|
117
|
+
declare const Blockquote: React$1.ForwardRefExoticComponent<BlockquoteProps & React$1.RefAttributes<HTMLQuoteElement>>;
|
|
112
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Breadcrumb — semantic navigation primitive. Uses the catalog `ChevronRightIcon` as the
|
|
121
|
+
* default separator. Current page (BreadcrumbPage) leans on Pro purple to
|
|
122
|
+
* mirror the active-state language used elsewhere in the firm app.
|
|
123
|
+
*
|
|
124
|
+
* Public API preserved: Breadcrumb / BreadcrumbList / BreadcrumbItem /
|
|
125
|
+
* BreadcrumbLink / BreadcrumbPage / BreadcrumbSeparator.
|
|
126
|
+
*/
|
|
113
127
|
type BreadcrumbProps = React.HTMLAttributes<HTMLElement>;
|
|
114
|
-
declare
|
|
128
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
|
|
115
129
|
type BreadcrumbListProps = React.HTMLAttributes<HTMLOListElement>;
|
|
116
|
-
declare
|
|
130
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<BreadcrumbListProps & React$1.RefAttributes<HTMLOListElement>>;
|
|
117
131
|
type BreadcrumbItemProps = React.HTMLAttributes<HTMLLIElement>;
|
|
118
|
-
declare
|
|
132
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<BreadcrumbItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
119
133
|
type BreadcrumbLinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
120
|
-
declare
|
|
134
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<BreadcrumbLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
121
135
|
type BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
122
|
-
declare
|
|
136
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<BreadcrumbPageProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
123
137
|
type BreadcrumbSeparatorProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
124
|
-
declare
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
138
|
+
declare const BreadcrumbSeparator: React$1.ForwardRefExoticComponent<BreadcrumbSeparatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Button — Assure Pro action atom.
|
|
142
|
+
*
|
|
143
|
+
* Variants port the `.btn-*` rules in `_shared.css` (lines 164-203):
|
|
144
|
+
* - primary → bg-pro-fg (Pro purple, the firm app's brand identity)
|
|
145
|
+
* - secondary → ghost surface bg-bg-2
|
|
146
|
+
* - destructive → bg-danger-fg
|
|
147
|
+
* - success → bg-success-fg
|
|
148
|
+
* - ghost → transparent, hover:bg-bg-2
|
|
149
|
+
* - outline → bordered surface (matches `.btn-ghost` from spec)
|
|
150
|
+
* - link → text-accent (cyan) with underline-on-hover
|
|
151
|
+
* - accent → bg-accent (cyan CTA per spec §6.2)
|
|
152
|
+
*
|
|
153
|
+
* Sizes match shadcn convention; default `md` matches spec's 8px/14px padding.
|
|
154
|
+
* Use `asChild` to render as a different element (e.g. an anchor / next/link).
|
|
155
|
+
*/
|
|
156
|
+
declare const buttonVariants: (props?: ({
|
|
157
|
+
variant?: "link" | "success" | "destructive" | "secondary" | "outline" | "primary" | "ghost" | "accent" | null | undefined;
|
|
158
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
159
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
160
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
161
|
+
/** Render as the child element via Radix `Slot` (shadcn pattern). */
|
|
162
|
+
asChild?: boolean;
|
|
144
163
|
loading?: boolean;
|
|
145
164
|
iconLeft?: React.ReactNode;
|
|
146
165
|
iconRight?: React.ReactNode;
|
|
147
166
|
}
|
|
148
|
-
declare const Button:
|
|
167
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
149
168
|
|
|
169
|
+
type CalendarHighlightColor = "primary" | "success" | "warning" | "destructive";
|
|
150
170
|
interface CalendarHighlight {
|
|
151
171
|
date: Date;
|
|
152
|
-
color?:
|
|
172
|
+
color?: CalendarHighlightColor;
|
|
153
173
|
}
|
|
154
|
-
interface CalendarProps extends Omit<
|
|
174
|
+
interface CalendarProps extends Omit<DayPickerProps, "mode" | "selected" | "onSelect" | "modifiers" | "modifiersClassNames"> {
|
|
155
175
|
selected?: Date | null;
|
|
156
176
|
onSelect?: (date: Date) => void;
|
|
157
177
|
highlights?: CalendarHighlight[];
|
|
158
178
|
minDate?: Date;
|
|
159
179
|
maxDate?: Date;
|
|
180
|
+
className?: string;
|
|
160
181
|
}
|
|
161
|
-
declare function Calendar({ selected, onSelect, highlights, minDate, maxDate, className, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
182
|
+
declare function Calendar({ selected, onSelect, highlights, minDate, maxDate, className, classNames, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
183
|
+
declare namespace Calendar {
|
|
184
|
+
var displayName: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Card — surface container. Default surfaces use the `.surface` rule from
|
|
189
|
+
* `_shared.css` (12px radius, 1px rule border, surface bg). Three variants:
|
|
190
|
+
*
|
|
191
|
+
* default — settled card on the page (current behavior, unchanged)
|
|
192
|
+
* interactive — clickable card; hover darkens the border
|
|
193
|
+
* flat — borderless / shadowless transparent surface, for nesting
|
|
194
|
+
* inside Dialog/Sheet/Card without double-border
|
|
195
|
+
*/
|
|
196
|
+
declare const cardVariants: (props?: ({
|
|
197
|
+
variant?: "flat" | "default" | "interactive" | null | undefined;
|
|
198
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
199
|
+
type CardVariants = VariantProps<typeof cardVariants>;
|
|
200
|
+
interface CardProps extends React.HTMLAttributes<HTMLDivElement>, CardVariants {
|
|
201
|
+
}
|
|
202
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
203
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
205
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
206
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
207
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
208
|
+
declare const CardAction: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
209
|
+
|
|
210
|
+
interface CheckboxProps extends Omit<React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "checked" | "defaultChecked"> {
|
|
211
|
+
/** Optional inline label rendered to the right of the box */
|
|
179
212
|
label?: string;
|
|
213
|
+
/** Tri-state support: true | false | "indeterminate" */
|
|
214
|
+
checked?: boolean | "indeterminate";
|
|
215
|
+
defaultChecked?: boolean | "indeterminate";
|
|
216
|
+
/** Convenience: render with indeterminate state. Mirrors legacy prop. */
|
|
180
217
|
indeterminate?: boolean;
|
|
181
218
|
}
|
|
182
|
-
declare const Checkbox:
|
|
219
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
183
220
|
|
|
184
221
|
type ClientSelectOption = {
|
|
185
222
|
id: string;
|
|
@@ -196,32 +233,34 @@ interface ClientSelectProps {
|
|
|
196
233
|
placeholder?: string;
|
|
197
234
|
}
|
|
198
235
|
declare function ClientSelect({ clients, value, onChange, name, error, className, placeholder, }: ClientSelectProps): react_jsx_runtime.JSX.Element;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
open?: boolean;
|
|
202
|
-
defaultOpen?: boolean;
|
|
203
|
-
onOpenChange?: (open: boolean) => void;
|
|
236
|
+
declare namespace ClientSelect {
|
|
237
|
+
var displayName: string;
|
|
204
238
|
}
|
|
205
|
-
declare function Collapsible({ open: controlledOpen, defaultOpen, onOpenChange, children, className, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
|
|
206
|
-
type CollapsibleTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
207
|
-
declare function CollapsibleTrigger({ children, className, ...props }: CollapsibleTriggerProps): react_jsx_runtime.JSX.Element;
|
|
208
|
-
type CollapsibleContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
209
|
-
declare function CollapsibleContent({ children, className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
|
|
210
239
|
|
|
240
|
+
declare const Collapsible: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
241
|
+
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
242
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* ComingSoon — placeholder pattern for unreleased modules. Pro-tinted icon
|
|
246
|
+
* halo, dashed Assure border, "In Development" pill.
|
|
247
|
+
*
|
|
248
|
+
* Public API preserved: `icon`, `title`, `description`, `features`.
|
|
249
|
+
*/
|
|
211
250
|
interface ComingSoonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
212
251
|
icon: React.ReactNode;
|
|
213
252
|
title: string;
|
|
214
253
|
description: string;
|
|
215
254
|
features: string[];
|
|
216
255
|
}
|
|
217
|
-
declare
|
|
256
|
+
declare const ComingSoon: React$1.ForwardRefExoticComponent<ComingSoonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
218
257
|
|
|
219
258
|
interface CommandItem {
|
|
220
259
|
id: string;
|
|
221
260
|
label: string;
|
|
222
261
|
description?: string;
|
|
223
262
|
group?: string;
|
|
224
|
-
icon?: React.ReactNode;
|
|
263
|
+
icon?: React$1.ReactNode;
|
|
225
264
|
shortcut?: string;
|
|
226
265
|
onSelect: () => void;
|
|
227
266
|
keywords?: string[];
|
|
@@ -233,38 +272,62 @@ interface CommandPaletteProps {
|
|
|
233
272
|
placeholder?: string;
|
|
234
273
|
}
|
|
235
274
|
|
|
236
|
-
declare function CommandPalette({ items, open: controlledOpen, onOpenChange, placeholder, }: CommandPaletteProps):
|
|
275
|
+
declare function CommandPalette({ items, open: controlledOpen, onOpenChange, placeholder, }: CommandPaletteProps): react_jsx_runtime.JSX.Element;
|
|
237
276
|
|
|
238
|
-
interface
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
declare function ContextMenuContent({ children, className, ...props }: ContextMenuContentProps): react_jsx_runtime.JSX.Element | null;
|
|
250
|
-
interface ContextMenuItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
277
|
+
interface ConfirmActionButtonProps {
|
|
278
|
+
/** Element rendered as the dialog trigger via `<AlertDialogTrigger asChild>`. */
|
|
279
|
+
trigger: React$1.ReactNode;
|
|
280
|
+
title: React$1.ReactNode;
|
|
281
|
+
description?: React$1.ReactNode;
|
|
282
|
+
confirmLabel?: React$1.ReactNode;
|
|
283
|
+
cancelLabel?: React$1.ReactNode;
|
|
284
|
+
/** Awaited; dialog closes after resolve, stays open on reject. */
|
|
285
|
+
onConfirm: () => void | Promise<void>;
|
|
286
|
+
/** When true (default) the Action button uses the destructive palette;
|
|
287
|
+
* when false it uses the Pro primary palette (bg-pro-fg). */
|
|
251
288
|
destructive?: boolean;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
declare function
|
|
289
|
+
/** Forwarded to AlertDialogContent for one-off layout overrides. */
|
|
290
|
+
contentClassName?: string;
|
|
291
|
+
}
|
|
292
|
+
declare function ConfirmActionButton({ trigger, title, description, confirmLabel, cancelLabel, onConfirm, destructive, contentClassName, }: ConfirmActionButtonProps): react_jsx_runtime.JSX.Element;
|
|
293
|
+
|
|
294
|
+
declare const ContextMenu: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
295
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
296
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
297
|
+
declare const ContextMenuPortal: React$1.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
298
|
+
declare const ContextMenuSub: React$1.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
299
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
300
|
+
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
301
|
+
inset?: boolean;
|
|
302
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
303
|
+
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
304
|
+
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
305
|
+
interface ContextMenuItemProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> {
|
|
306
|
+
destructive?: boolean;
|
|
307
|
+
inset?: boolean;
|
|
308
|
+
}
|
|
309
|
+
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
310
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
311
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
312
|
+
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
313
|
+
inset?: boolean;
|
|
314
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
315
|
+
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
316
|
+
declare const ContextMenuShortcut: {
|
|
317
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
318
|
+
displayName: string;
|
|
319
|
+
};
|
|
256
320
|
|
|
257
321
|
interface CopyButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
258
322
|
value: string;
|
|
259
323
|
feedbackDuration?: number;
|
|
260
324
|
}
|
|
261
|
-
declare function CopyButton({ value, feedbackDuration, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
262
|
-
|
|
263
325
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* drop-in replacement for the previous native `<input type="date">`.
|
|
326
|
+
* CopyButton — single-click clipboard copy with check-mark feedback.
|
|
327
|
+
* Renders the lucide `Copy` icon by default; pass `children` to override.
|
|
267
328
|
*/
|
|
329
|
+
declare const CopyButton: React$1.ForwardRefExoticComponent<CopyButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
330
|
+
|
|
268
331
|
interface DatePickerProps {
|
|
269
332
|
value?: string;
|
|
270
333
|
defaultValue?: string;
|
|
@@ -290,68 +353,81 @@ interface DatePickerProps {
|
|
|
290
353
|
declare const DATE_DISPLAY_PLACEHOLDER = "MM/DD/YYYY";
|
|
291
354
|
declare function isoToDisplay(iso: string | undefined | null): string;
|
|
292
355
|
declare function displayToIso(display: string): string;
|
|
293
|
-
declare const DatePicker:
|
|
356
|
+
declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
294
357
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
declare function Dialog({ children, open: controlledOpen, onOpenChange, }: DialogProps): react_jsx_runtime.JSX.Element;
|
|
301
|
-
type DialogTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
302
|
-
declare function DialogTrigger({ children, className, ...props }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
|
|
303
|
-
declare const sizeStyles$2: {
|
|
358
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
359
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
360
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
361
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
declare const dialogSizeStyles: {
|
|
304
363
|
readonly sm: "max-w-sm";
|
|
305
364
|
readonly md: "max-w-lg";
|
|
306
365
|
readonly lg: "max-w-2xl";
|
|
307
366
|
readonly full: "max-w-[calc(100vw-2rem)]";
|
|
308
367
|
};
|
|
309
|
-
interface DialogContentProps extends React.
|
|
310
|
-
size?: keyof typeof
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
|
|
317
|
-
type DialogDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
318
|
-
declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
319
|
-
type DialogFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
|
320
|
-
declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
321
|
-
type DialogCloseProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
322
|
-
declare function DialogClose({ children, className, ...props }: DialogCloseProps): react_jsx_runtime.JSX.Element;
|
|
323
|
-
|
|
324
|
-
interface DropdownMenuProps {
|
|
325
|
-
children: React.ReactNode;
|
|
326
|
-
open?: boolean;
|
|
327
|
-
onOpenChange?: (open: boolean) => void;
|
|
328
|
-
}
|
|
329
|
-
declare function DropdownMenu({ children, open: controlledOpen, onOpenChange, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
330
|
-
type DropdownMenuTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
331
|
-
declare function DropdownMenuTrigger({ children, className, onClick, ...rest }: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
332
|
-
interface DropdownMenuContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
333
|
-
align?: "start" | "center" | "end";
|
|
334
|
-
side?: "bottom" | "top";
|
|
368
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
369
|
+
size?: keyof typeof dialogSizeStyles;
|
|
370
|
+
/**
|
|
371
|
+
* If false, the built-in close button is hidden. Default: true.
|
|
372
|
+
* Use `<DialogClose>` inside content to render your own close UI.
|
|
373
|
+
*/
|
|
374
|
+
showCloseButton?: boolean;
|
|
335
375
|
}
|
|
336
|
-
declare
|
|
337
|
-
|
|
376
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
377
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
378
|
+
declare const DialogHeader: {
|
|
379
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
380
|
+
displayName: string;
|
|
381
|
+
};
|
|
382
|
+
declare const DialogFooter: {
|
|
383
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
384
|
+
displayName: string;
|
|
385
|
+
};
|
|
386
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
387
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
388
|
+
|
|
389
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
390
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
391
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
392
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
393
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
394
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
395
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
396
|
+
inset?: boolean;
|
|
397
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
399
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
interface DropdownMenuItemProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> {
|
|
401
|
+
/** Render as a destructive (danger) action. */
|
|
338
402
|
destructive?: boolean;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
declare
|
|
343
|
-
|
|
344
|
-
declare
|
|
345
|
-
|
|
346
|
-
|
|
403
|
+
/** Increase left padding to align with checkbox/radio items. */
|
|
404
|
+
inset?: boolean;
|
|
405
|
+
}
|
|
406
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
407
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
408
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
409
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
410
|
+
inset?: boolean;
|
|
411
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
412
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
413
|
+
declare const DropdownMenuShortcut: {
|
|
414
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
415
|
+
displayName: string;
|
|
416
|
+
};
|
|
347
417
|
|
|
418
|
+
/**
|
|
419
|
+
* EmptyState — restated with Assure Pro tokens. Display headline (Geist),
|
|
420
|
+
* fg-3 description, neutral icon halo on bg-2.
|
|
421
|
+
*
|
|
422
|
+
* Public API preserved: `icon`, `title`, `description`, `action`.
|
|
423
|
+
*/
|
|
348
424
|
interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
349
425
|
icon?: React.ReactNode;
|
|
350
426
|
title: string;
|
|
351
427
|
description?: string;
|
|
352
428
|
action?: React.ReactNode;
|
|
353
429
|
}
|
|
354
|
-
declare
|
|
430
|
+
declare const EmptyState: React$1.ForwardRefExoticComponent<EmptyStateProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
355
431
|
|
|
356
432
|
interface FileUploadProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
357
433
|
accept?: string;
|
|
@@ -365,25 +441,24 @@ declare function FileUpload({ accept, maxSize, multiple, onFilesSelected, disabl
|
|
|
365
441
|
interface FormErrorProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
366
442
|
children: React.ReactNode;
|
|
367
443
|
}
|
|
444
|
+
/**
|
|
445
|
+
* Inline form error — paired below an input to communicate validation failure.
|
|
446
|
+
* Uses architectural --color-danger-fg token.
|
|
447
|
+
*/
|
|
368
448
|
declare function FormError({ children, className, ...props }: FormErrorProps): react_jsx_runtime.JSX.Element;
|
|
369
449
|
interface FormSuccessProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
370
450
|
children: React.ReactNode;
|
|
371
451
|
}
|
|
452
|
+
/**
|
|
453
|
+
* Inline form success — paired below an input to confirm a saved value.
|
|
454
|
+
* Uses architectural --color-success-fg token.
|
|
455
|
+
*/
|
|
372
456
|
declare function FormSuccess({ children, className, ...props }: FormSuccessProps): react_jsx_runtime.JSX.Element;
|
|
373
457
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}
|
|
379
|
-
declare function HoverCard({ children, openDelay, closeDelay, }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
380
|
-
type HoverCardTriggerProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
381
|
-
declare function HoverCardTrigger({ children, className, ...props }: HoverCardTriggerProps): react_jsx_runtime.JSX.Element;
|
|
382
|
-
interface HoverCardContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
383
|
-
side?: "top" | "bottom";
|
|
384
|
-
align?: "start" | "center" | "end";
|
|
385
|
-
}
|
|
386
|
-
declare function HoverCardContent({ side, align, children, className, ...props }: HoverCardContentProps): react_jsx_runtime.JSX.Element | null;
|
|
458
|
+
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
459
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
460
|
+
declare const HoverCardPortal: React$1.FC<HoverCardPrimitive.HoverCardPortalProps>;
|
|
461
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
387
462
|
|
|
388
463
|
interface IconProps extends React.SVGAttributes<SVGElement> {
|
|
389
464
|
size?: number;
|
|
@@ -467,59 +542,130 @@ declare function AlertTriangleIcon({ size, ...props }: IconProps): react_jsx_run
|
|
|
467
542
|
declare function ArrowRightSmallIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
468
543
|
declare function ArrowLeftIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
469
544
|
declare function CreditCardIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
545
|
+
declare function AlertCircleIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
546
|
+
declare function ArrowDownIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
547
|
+
declare function ArrowUpIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
548
|
+
declare function BriefcaseIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
549
|
+
declare function Building2Icon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
550
|
+
declare function CheckCircle2Icon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
551
|
+
declare function ChevronsUpDownIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
552
|
+
declare function CircleIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
553
|
+
declare function CircleDotIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
554
|
+
declare function CommandIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
555
|
+
declare function CornerDownLeftIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
556
|
+
declare function EyeOffIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
557
|
+
declare function HomeIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
558
|
+
declare function InboxIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
559
|
+
declare function ListChecksIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
560
|
+
declare function MinusIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
561
|
+
declare function SlashIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
562
|
+
declare function SparklesIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
563
|
+
declare function Trash2Icon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
564
|
+
declare function UserIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
565
|
+
declare function BoldIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
declare function ItalicIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
567
|
+
declare function UnderlineIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
568
|
+
declare function StrikethroughIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
569
|
+
declare function ListIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
570
|
+
declare function ListOrderedIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
571
|
+
declare function InfoIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
572
|
+
declare function HelpCircleIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
573
|
+
declare function DollarSignIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
574
|
+
declare function ReplyIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
575
|
+
declare function KanbanIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
576
|
+
declare function TableIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
577
|
+
declare function HistoryIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
578
|
+
declare function SaveIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
579
|
+
/**
|
|
580
|
+
* LoaderIcon — animated spinner. Render with `className="animate-spin"`
|
|
581
|
+
* (or `motion-safe:animate-spin` if you want to respect `prefers-reduced-
|
|
582
|
+
* motion`; the catalog doesn't gate this itself because the spinner IS
|
|
583
|
+
* the indicator for many flows).
|
|
584
|
+
*
|
|
585
|
+
* Visual contract: a dim full-circle ring + a brighter quarter-arc on top.
|
|
586
|
+
* When rotated, the bright arc creates the "leading edge" of the spinner.
|
|
587
|
+
*/
|
|
588
|
+
declare function LoaderIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
589
|
+
/**
|
|
590
|
+
* GoogleBrandIcon — Google four-color "G" mark. Brand-locked colors,
|
|
591
|
+
* does NOT respond to currentColor. Use only in provider-list UIs
|
|
592
|
+
* (OAuth buttons, integration chips). Standard 24-grid.
|
|
593
|
+
*/
|
|
594
|
+
declare function GoogleBrandIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
595
|
+
/**
|
|
596
|
+
* MicrosoftBrandIcon — Microsoft four-square mark in red / green / blue /
|
|
597
|
+
* yellow. Brand-locked colors, does NOT respond to currentColor. Use
|
|
598
|
+
* inside Microsoft OAuth signin buttons, Outlook / Office integration
|
|
599
|
+
* chips, and similar provider-list UIs. Standard 24-grid (10×10 squares
|
|
600
|
+
* with 2u gaps).
|
|
601
|
+
*/
|
|
602
|
+
declare function MicrosoftBrandIcon({ size, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
470
603
|
|
|
471
|
-
|
|
604
|
+
/**
|
|
605
|
+
* Input variants. Mirrors the raw HTML `<input>` styled per Assure Pro tokens
|
|
606
|
+
* (rule-strong border, surface bg, accent focus ring).
|
|
607
|
+
*/
|
|
608
|
+
declare const inputVariants: (props?: ({
|
|
609
|
+
variant?: "default" | "ghost" | null | undefined;
|
|
610
|
+
inputSize?: "sm" | "md" | "lg" | null | undefined;
|
|
611
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
612
|
+
type InputVariants = VariantProps<typeof inputVariants>;
|
|
613
|
+
interface InputProps$1 extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, InputVariants {
|
|
472
614
|
label?: string;
|
|
473
615
|
error?: string;
|
|
474
616
|
prefixIcon?: React.ReactNode;
|
|
475
617
|
suffixIcon?: React.ReactNode;
|
|
476
618
|
}
|
|
477
|
-
declare const Input:
|
|
619
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps$1 & React$1.RefAttributes<HTMLInputElement>>;
|
|
478
620
|
|
|
479
|
-
declare function KeyboardShortcutsDialog():
|
|
621
|
+
declare function KeyboardShortcutsDialog(): react_jsx_runtime.JSX.Element;
|
|
480
622
|
|
|
481
|
-
|
|
623
|
+
declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
624
|
+
interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
|
|
482
625
|
required?: boolean;
|
|
483
626
|
}
|
|
484
|
-
declare
|
|
627
|
+
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
485
628
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
readonly destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90";
|
|
490
|
-
readonly ghost: "hover:bg-accent hover:text-accent-foreground";
|
|
491
|
-
readonly outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground";
|
|
492
|
-
readonly link: "text-primary underline-offset-4 hover:underline";
|
|
493
|
-
};
|
|
494
|
-
declare const sizeStyles$1: {
|
|
495
|
-
readonly sm: "h-8 px-3 text-sm gap-1.5";
|
|
496
|
-
readonly md: "h-10 px-4 text-sm gap-2";
|
|
497
|
-
readonly lg: "h-12 px-6 text-base gap-2";
|
|
498
|
-
};
|
|
499
|
-
interface LinkButtonProps {
|
|
629
|
+
type ButtonVariant = "primary" | "secondary" | "destructive" | "success" | "ghost" | "outline" | "link" | "accent";
|
|
630
|
+
type ButtonSize = "sm" | "md" | "lg";
|
|
631
|
+
interface LinkButtonProps$1 extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
|
|
500
632
|
href: string;
|
|
501
|
-
variant?:
|
|
502
|
-
size?:
|
|
633
|
+
variant?: ButtonVariant;
|
|
634
|
+
size?: ButtonSize;
|
|
503
635
|
iconLeft?: React.ReactNode;
|
|
504
636
|
iconRight?: React.ReactNode;
|
|
505
637
|
children: React.ReactNode;
|
|
506
638
|
className?: string;
|
|
507
|
-
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
508
639
|
}
|
|
509
|
-
|
|
640
|
+
/**
|
|
641
|
+
* LinkButton — visually identical to `<Button>` but renders a `next/link`.
|
|
642
|
+
* Shares `buttonVariants` so styling stays in lock-step.
|
|
643
|
+
*/
|
|
644
|
+
declare const LinkButton: React$1.ForwardRefExoticComponent<LinkButtonProps$1 & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
510
645
|
|
|
646
|
+
/**
|
|
647
|
+
* Logo — Assure Pro wordmark. Per spec §4 and §6.2, the firm-app brand is
|
|
648
|
+
* "Assure Pro": "Assure" in fg + "Pro" in pro-fg purple, set in Geist
|
|
649
|
+
* (font-display). Mirrors the `.wordmark` rule in `_shared.css` (lines 226-249).
|
|
650
|
+
*
|
|
651
|
+
* Public API kept stable: `size`, `href`, `showText`, `inverted`, plus the
|
|
652
|
+
* style-override hooks (`className`, `iconClassName`, `textClassName`).
|
|
653
|
+
*/
|
|
511
654
|
declare const sizeStyles: {
|
|
512
655
|
readonly sm: {
|
|
513
|
-
readonly icon:
|
|
656
|
+
readonly icon: 20;
|
|
514
657
|
readonly text: "text-sm";
|
|
658
|
+
readonly gap: "gap-2";
|
|
515
659
|
};
|
|
516
660
|
readonly md: {
|
|
517
|
-
readonly icon:
|
|
518
|
-
readonly text: "text-
|
|
661
|
+
readonly icon: 24;
|
|
662
|
+
readonly text: "text-[17px]";
|
|
663
|
+
readonly gap: "gap-2.5";
|
|
519
664
|
};
|
|
520
665
|
readonly lg: {
|
|
521
|
-
readonly icon:
|
|
666
|
+
readonly icon: 32;
|
|
522
667
|
readonly text: "text-xl";
|
|
668
|
+
readonly gap: "gap-3";
|
|
523
669
|
};
|
|
524
670
|
};
|
|
525
671
|
interface LogoProps {
|
|
@@ -529,14 +675,14 @@ interface LogoProps {
|
|
|
529
675
|
className?: string;
|
|
530
676
|
iconClassName?: string;
|
|
531
677
|
textClassName?: string;
|
|
532
|
-
/**
|
|
678
|
+
/** When true, render on dark/brand surfaces (white "Assure" + lighter "Pro"). */
|
|
533
679
|
inverted?: boolean;
|
|
534
680
|
}
|
|
535
681
|
declare function Logo({ size, href, showText, className, iconClassName, textClassName, inverted, }: LogoProps): react_jsx_runtime.JSX.Element;
|
|
536
682
|
|
|
537
683
|
interface MultiFilterPillProps {
|
|
538
684
|
label: string;
|
|
539
|
-
icon?: React.ReactNode;
|
|
685
|
+
icon?: React$1.ReactNode;
|
|
540
686
|
selected: Set<string>;
|
|
541
687
|
options: {
|
|
542
688
|
key: string;
|
|
@@ -547,6 +693,9 @@ interface MultiFilterPillProps {
|
|
|
547
693
|
onClear: () => void;
|
|
548
694
|
}
|
|
549
695
|
declare function MultiFilterPill({ label, icon, selected, options, onToggle, onClear, }: MultiFilterPillProps): react_jsx_runtime.JSX.Element;
|
|
696
|
+
declare namespace MultiFilterPill {
|
|
697
|
+
var displayName: string;
|
|
698
|
+
}
|
|
550
699
|
|
|
551
700
|
interface MultiSelectFieldProps {
|
|
552
701
|
label: string;
|
|
@@ -554,8 +703,15 @@ interface MultiSelectFieldProps {
|
|
|
554
703
|
value: string;
|
|
555
704
|
onChange: (value: string) => void;
|
|
556
705
|
className?: string;
|
|
706
|
+
/** Visual size; default "md" matches the form-row default. */
|
|
707
|
+
size?: "sm" | "md";
|
|
708
|
+
/** Optional id, used to associate the visible label with the group. */
|
|
709
|
+
id?: string;
|
|
710
|
+
}
|
|
711
|
+
declare function MultiSelectField({ label, options, value, onChange, className, size, id, }: MultiSelectFieldProps): react_jsx_runtime.JSX.Element;
|
|
712
|
+
declare namespace MultiSelectField {
|
|
713
|
+
var displayName: string;
|
|
557
714
|
}
|
|
558
|
-
declare function MultiSelectField({ label, options, value, onChange, className, }: MultiSelectFieldProps): react_jsx_runtime.JSX.Element;
|
|
559
715
|
|
|
560
716
|
interface OTPInputProps {
|
|
561
717
|
name: string;
|
|
@@ -564,9 +720,31 @@ interface OTPInputProps {
|
|
|
564
720
|
autoFocus?: boolean;
|
|
565
721
|
className?: string;
|
|
566
722
|
defaultValue?: string;
|
|
723
|
+
/** Optional controlled value (additive). */
|
|
724
|
+
value?: string;
|
|
725
|
+
/** Optional controlled onChange (additive). */
|
|
726
|
+
onChange?: (value: string) => void;
|
|
727
|
+
/** Optional callback fired when all slots are filled (additive). */
|
|
728
|
+
onComplete?: (value: string) => void;
|
|
729
|
+
/** Optional id for the underlying input (additive). */
|
|
730
|
+
id?: string;
|
|
731
|
+
/** Optional disabled flag (additive). */
|
|
732
|
+
disabled?: boolean;
|
|
733
|
+
}
|
|
734
|
+
declare function OTPInput({ name, length, error, autoFocus, className, defaultValue, value, onChange, onComplete, id, disabled, }: OTPInputProps): react_jsx_runtime.JSX.Element;
|
|
735
|
+
declare namespace OTPInput {
|
|
736
|
+
var displayName: string;
|
|
567
737
|
}
|
|
568
|
-
declare function OTPInput({ name, length, error, autoFocus, className, defaultValue, }: OTPInputProps): react_jsx_runtime.JSX.Element;
|
|
569
738
|
|
|
739
|
+
/**
|
|
740
|
+
* Pagination — custom (no Radix equivalent).
|
|
741
|
+
* Restyled to Assure Pro tokens: tabular-nums numerals, mono context label,
|
|
742
|
+
* cyan accent for the current page (matches the `.tab.is-active` treatment
|
|
743
|
+
* in `_shared.css`), `border-rule` divider boundaries.
|
|
744
|
+
*
|
|
745
|
+
* Public API preserved for 988 firm + 174 portal call sites:
|
|
746
|
+
* currentPage, totalPages, onPageChange, siblingCount, totalItems, pageSize.
|
|
747
|
+
*/
|
|
570
748
|
interface PaginationProps extends React.HTMLAttributes<HTMLElement> {
|
|
571
749
|
currentPage: number;
|
|
572
750
|
totalPages: number;
|
|
@@ -577,7 +755,7 @@ interface PaginationProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
577
755
|
/** Items per page — used with totalItems for range display */
|
|
578
756
|
pageSize?: number;
|
|
579
757
|
}
|
|
580
|
-
declare
|
|
758
|
+
declare const Pagination: React$1.ForwardRefExoticComponent<PaginationProps & React$1.RefAttributes<HTMLElement>>;
|
|
581
759
|
|
|
582
760
|
type InputProps = React.ComponentProps<typeof Input>;
|
|
583
761
|
interface PhoneInputProps extends Omit<InputProps, "type" | "onChange" | "value" | "defaultValue"> {
|
|
@@ -585,41 +763,50 @@ interface PhoneInputProps extends Omit<InputProps, "type" | "onChange" | "value"
|
|
|
585
763
|
defaultValue?: string;
|
|
586
764
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
587
765
|
}
|
|
588
|
-
declare
|
|
766
|
+
declare const PhoneInput: React$1.ForwardRefExoticComponent<Omit<PhoneInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
589
767
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
value: number;
|
|
768
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
769
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
770
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
771
|
+
declare const PopoverPortal: React$1.FC<PopoverPrimitive.PopoverPortalProps>;
|
|
772
|
+
declare const PopoverClose: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
773
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* ProgressBar — Radix-driven determinate (or indeterminate) progress meter.
|
|
777
|
+
* Track sits on `bg-3`; fills follow the status palette. Variants are an
|
|
778
|
+
* explicit cva enum; if `variant` is omitted, it auto-resolves from value:
|
|
779
|
+
* <50% → default (Pro purple)
|
|
780
|
+
* ≥50% → warning
|
|
781
|
+
* ≥80% → success
|
|
782
|
+
*
|
|
783
|
+
* Public API preserved: `value`, `max`, `label`, `showPercentage`, `variant`.
|
|
784
|
+
* Pass `value={null}` (or omit when in-doubt) to render Radix's indeterminate
|
|
785
|
+
* state — but for back-compat we still accept `value: number`.
|
|
786
|
+
*/
|
|
787
|
+
declare const progressBarVariants: (props?: ({
|
|
788
|
+
variant?: "info" | "success" | "warning" | "destructive" | "default" | null | undefined;
|
|
789
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
790
|
+
interface ProgressBarProps extends Omit<React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, "value">, VariantProps<typeof progressBarVariants> {
|
|
791
|
+
/** 0..max. Set to `null` for an indeterminate track. */
|
|
792
|
+
value: number | null;
|
|
615
793
|
max?: number;
|
|
616
794
|
label?: string;
|
|
617
795
|
showPercentage?: boolean;
|
|
618
|
-
variant?: keyof typeof variantStyles;
|
|
619
796
|
}
|
|
620
|
-
declare
|
|
797
|
+
declare const ProgressBar: React$1.ForwardRefExoticComponent<ProgressBarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
621
798
|
|
|
622
|
-
|
|
799
|
+
/**
|
|
800
|
+
* ProgressRing — custom SVG ring meter (no Radix equivalent).
|
|
801
|
+
* Track is `bg-3`, the indicator picks up the active variant. Variants and
|
|
802
|
+
* value-driven auto-resolve mirror ProgressBar so consumers can mix freely.
|
|
803
|
+
*
|
|
804
|
+
* Public API preserved: `value`, `max`, `size`, `strokeWidth`, `label`, `sublabel`.
|
|
805
|
+
*/
|
|
806
|
+
declare const progressRingVariants: (props?: ({
|
|
807
|
+
variant?: "info" | "success" | "warning" | "destructive" | "default" | null | undefined;
|
|
808
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
809
|
+
interface ProgressRingProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressRingVariants> {
|
|
623
810
|
value: number;
|
|
624
811
|
max?: number;
|
|
625
812
|
size?: number;
|
|
@@ -627,33 +814,32 @@ interface ProgressRingProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
627
814
|
label?: string;
|
|
628
815
|
sublabel?: string;
|
|
629
816
|
}
|
|
630
|
-
declare
|
|
817
|
+
declare const ProgressRing: React$1.ForwardRefExoticComponent<ProgressRingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
631
818
|
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
onValueChange?: (value: string) => void;
|
|
636
|
-
name?: string;
|
|
637
|
-
}
|
|
638
|
-
declare function RadioGroup({ value: controlledValue, defaultValue, onValueChange, name: providedName, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
639
|
-
interface RadioGroupItemProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
|
|
640
|
-
value: string;
|
|
819
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
820
|
+
interface RadioGroupItemProps extends React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
|
|
821
|
+
/** Optional inline label rendered to the right of the radio */
|
|
641
822
|
label?: string;
|
|
642
823
|
}
|
|
643
|
-
declare
|
|
824
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
644
825
|
|
|
645
|
-
interface ScrollAreaProps extends React.
|
|
646
|
-
children: React.ReactNode;
|
|
826
|
+
interface ScrollAreaProps extends React$1.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
827
|
+
children: React$1.ReactNode;
|
|
647
828
|
}
|
|
648
|
-
declare
|
|
829
|
+
declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
830
|
+
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
649
831
|
|
|
650
|
-
|
|
832
|
+
declare const searchInputVariants: (props?: ({
|
|
833
|
+
inputSize?: "sm" | "md" | "lg" | null | undefined;
|
|
834
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
835
|
+
type SearchInputVariants = VariantProps<typeof searchInputVariants>;
|
|
836
|
+
interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "size">, SearchInputVariants {
|
|
651
837
|
value: string;
|
|
652
838
|
onValueChange: (value: string) => void;
|
|
653
839
|
onSearch?: (value: string) => void;
|
|
654
840
|
debounceMs?: number;
|
|
655
841
|
}
|
|
656
|
-
declare
|
|
842
|
+
declare const SearchInput: React$1.ForwardRefExoticComponent<SearchInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
657
843
|
|
|
658
844
|
interface SearchSelectOption {
|
|
659
845
|
id: string;
|
|
@@ -670,7 +856,14 @@ interface SearchSelectProps {
|
|
|
670
856
|
disabled?: boolean;
|
|
671
857
|
}
|
|
672
858
|
declare function SearchSelect({ options, selected, onSelect, onRemove, onCreate, placeholder, className, disabled, }: SearchSelectProps): react_jsx_runtime.JSX.Element;
|
|
859
|
+
declare namespace SearchSelect {
|
|
860
|
+
var displayName: string;
|
|
861
|
+
}
|
|
673
862
|
|
|
863
|
+
/**
|
|
864
|
+
* SectionHeader — title + description block for marketing-style sections.
|
|
865
|
+
* Uses Geist (`font-display`) with the spec's `-0.022em` letterspacing.
|
|
866
|
+
*/
|
|
674
867
|
interface SectionHeaderProps {
|
|
675
868
|
title: string;
|
|
676
869
|
description?: string;
|
|
@@ -679,6 +872,11 @@ interface SectionHeaderProps {
|
|
|
679
872
|
}
|
|
680
873
|
declare function SectionHeader({ title, description, align, className, }: SectionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
681
874
|
|
|
875
|
+
/**
|
|
876
|
+
* Section — max-width centered wrapper for marketing/section content.
|
|
877
|
+
* The `--content-pad` token (32px) is the canonical app-content gutter,
|
|
878
|
+
* but Section keeps its 24px (`px-6`) gutter for narrower marketing pages.
|
|
879
|
+
*/
|
|
682
880
|
declare const maxWidthStyles: {
|
|
683
881
|
readonly sm: "max-w-3xl";
|
|
684
882
|
readonly md: "max-w-4xl";
|
|
@@ -689,68 +887,124 @@ interface SectionProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
689
887
|
maxWidth?: keyof typeof maxWidthStyles;
|
|
690
888
|
as?: "section" | "div";
|
|
691
889
|
}
|
|
692
|
-
declare
|
|
693
|
-
|
|
890
|
+
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLElement>>;
|
|
891
|
+
interface SectionHeadProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
892
|
+
eyebrow?: React.ReactNode;
|
|
893
|
+
title?: React.ReactNode;
|
|
894
|
+
meta?: React.ReactNode;
|
|
895
|
+
}
|
|
896
|
+
declare const SectionHead: React$1.ForwardRefExoticComponent<SectionHeadProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
897
|
+
|
|
898
|
+
declare const SelectRoot: React$1.FC<SelectPrimitive.SelectProps>;
|
|
899
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
900
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
901
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
902
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
903
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
904
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
905
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
906
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
907
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
908
|
+
/**
|
|
909
|
+
* SelectOption shape — preserved verbatim from the legacy Select:
|
|
910
|
+
* { value, label, disabled?, labelSuffix? }
|
|
911
|
+
*/
|
|
694
912
|
interface SelectOption {
|
|
695
913
|
value: string;
|
|
696
914
|
label: string;
|
|
697
915
|
disabled?: boolean;
|
|
698
|
-
labelSuffix?: React.ReactNode;
|
|
916
|
+
labelSuffix?: React$1.ReactNode;
|
|
699
917
|
}
|
|
700
918
|
interface SelectProps {
|
|
701
|
-
|
|
919
|
+
/** Option list. Required to preserve legacy API. */
|
|
920
|
+
options: SelectOption[];
|
|
921
|
+
/** Controlled value. */
|
|
702
922
|
value?: string;
|
|
923
|
+
/** Uncontrolled initial value. */
|
|
703
924
|
defaultValue?: string;
|
|
704
925
|
onValueChange?: (value: string) => void;
|
|
705
|
-
options: SelectOption[];
|
|
706
926
|
placeholder?: string;
|
|
927
|
+
/** Accepted for back-compat. NO-OP — see file header for migration. */
|
|
707
928
|
searchable?: boolean;
|
|
929
|
+
disabled?: boolean;
|
|
930
|
+
name?: string;
|
|
931
|
+
required?: boolean;
|
|
932
|
+
className?: string;
|
|
933
|
+
/** Forwarded to the trigger. */
|
|
934
|
+
triggerClassName?: string;
|
|
935
|
+
/** Forwarded to the content. */
|
|
936
|
+
contentClassName?: string;
|
|
937
|
+
/** aria-invalid + danger styling on trigger. */
|
|
938
|
+
"aria-invalid"?: boolean;
|
|
939
|
+
/** aria-label fallback when there is no visible label. */
|
|
940
|
+
"aria-label"?: string;
|
|
708
941
|
}
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
942
|
+
/**
|
|
943
|
+
* Convenience `Select` — preserved options-driven API.
|
|
944
|
+
*
|
|
945
|
+
* For full composition, import the lower-level slots:
|
|
946
|
+
* <SelectRoot>
|
|
947
|
+
* <SelectTrigger><SelectValue /></SelectTrigger>
|
|
948
|
+
* <SelectContent>
|
|
949
|
+
* <SelectGroup>
|
|
950
|
+
* <SelectLabel>Label</SelectLabel>
|
|
951
|
+
* <SelectItem value="…">…</SelectItem>
|
|
952
|
+
* </SelectGroup>
|
|
953
|
+
* </SelectContent>
|
|
954
|
+
* </SelectRoot>
|
|
955
|
+
*/
|
|
956
|
+
declare function Select({ options, value, defaultValue, onValueChange, placeholder, searchable, disabled, name, required, className, triggerClassName, contentClassName, "aria-invalid": ariaInvalid, "aria-label": ariaLabel, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
957
|
+
declare namespace Select {
|
|
958
|
+
var displayName: string;
|
|
720
959
|
}
|
|
721
|
-
declare function Separator({ orientation, decorative, className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
722
960
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
961
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
962
|
+
|
|
963
|
+
type Side = "top" | "right" | "bottom" | "left";
|
|
964
|
+
interface SheetProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
|
|
965
|
+
/**
|
|
966
|
+
* Default side for SheetContent if it doesn't specify its own.
|
|
967
|
+
* Backwards-compat shim — prefer `<SheetContent side="…" />`.
|
|
968
|
+
*/
|
|
969
|
+
side?: Side;
|
|
729
970
|
}
|
|
730
|
-
declare
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
971
|
+
declare const Sheet: {
|
|
972
|
+
({ side, children, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
|
|
973
|
+
displayName: string;
|
|
974
|
+
};
|
|
975
|
+
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
976
|
+
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
977
|
+
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
978
|
+
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
979
|
+
declare const sheetVariants: (props?: ({
|
|
980
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
981
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
982
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
983
|
+
/** If false, the built-in close button is hidden. Default: true. */
|
|
734
984
|
showCloseButton?: boolean;
|
|
735
985
|
}
|
|
736
|
-
declare
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
declare
|
|
747
|
-
|
|
748
|
-
|
|
986
|
+
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
987
|
+
declare const SheetHeader: {
|
|
988
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
989
|
+
displayName: string;
|
|
990
|
+
};
|
|
991
|
+
declare const SheetFooter: {
|
|
992
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
993
|
+
displayName: string;
|
|
994
|
+
};
|
|
995
|
+
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
996
|
+
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
997
|
+
|
|
998
|
+
declare const sideDrawerVariants: (props?: ({
|
|
999
|
+
side?: "left" | "right" | null | undefined;
|
|
1000
|
+
width?: "sm" | "md" | "lg" | null | undefined;
|
|
1001
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1002
|
+
interface SideDrawerProps extends VariantProps<typeof sideDrawerVariants> {
|
|
749
1003
|
open: boolean;
|
|
750
1004
|
onClose: () => void;
|
|
751
1005
|
width?: "sm" | "md" | "lg";
|
|
752
1006
|
side?: "right" | "left";
|
|
753
|
-
children: React.ReactNode;
|
|
1007
|
+
children: React$1.ReactNode;
|
|
754
1008
|
}
|
|
755
1009
|
declare function SideDrawer({ open, onClose, width, side, children, }: SideDrawerProps): react_jsx_runtime.JSX.Element;
|
|
756
1010
|
declare namespace SideDrawer {
|
|
@@ -766,49 +1020,82 @@ interface SideDrawerHeaderProps {
|
|
|
766
1020
|
}
|
|
767
1021
|
declare function SideDrawerHeader({ title, subtitle, onClose, className }: SideDrawerHeaderProps): react_jsx_runtime.JSX.Element;
|
|
768
1022
|
interface SideDrawerBodyProps {
|
|
769
|
-
children: React.ReactNode;
|
|
1023
|
+
children: React$1.ReactNode;
|
|
770
1024
|
className?: string;
|
|
771
1025
|
}
|
|
772
1026
|
declare function SideDrawerBody({ children, className }: SideDrawerBodyProps): react_jsx_runtime.JSX.Element;
|
|
773
1027
|
interface SideDrawerFooterProps {
|
|
774
|
-
children: React.ReactNode;
|
|
1028
|
+
children: React$1.ReactNode;
|
|
775
1029
|
className?: string;
|
|
776
1030
|
}
|
|
777
1031
|
declare function SideDrawerFooter({ children, className }: SideDrawerFooterProps): react_jsx_runtime.JSX.Element;
|
|
778
1032
|
|
|
1033
|
+
/**
|
|
1034
|
+
* Skeleton — animated placeholder. The `.skeleton` global class supplies
|
|
1035
|
+
* the shimmer animation (defined in tokens.css). All three primitives are
|
|
1036
|
+
* `aria-hidden` because they're decorative loading affordances.
|
|
1037
|
+
*/
|
|
779
1038
|
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
780
1039
|
className?: string;
|
|
781
1040
|
}
|
|
782
|
-
declare
|
|
1041
|
+
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
783
1042
|
interface SkeletonTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
784
1043
|
lines?: number;
|
|
785
1044
|
}
|
|
786
|
-
declare
|
|
1045
|
+
declare const SkeletonText: React$1.ForwardRefExoticComponent<SkeletonTextProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
787
1046
|
interface SkeletonCircleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
788
1047
|
size?: number;
|
|
789
1048
|
}
|
|
790
|
-
declare
|
|
1049
|
+
declare const SkeletonCircle: React$1.ForwardRefExoticComponent<SkeletonCircleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
791
1050
|
|
|
792
|
-
interface SliderProps extends
|
|
1051
|
+
interface SliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
|
|
1052
|
+
/** Optional inline label rendered above the track */
|
|
793
1053
|
label?: string;
|
|
1054
|
+
/** When true, renders the current value to the right of the label */
|
|
794
1055
|
showValue?: boolean;
|
|
795
1056
|
}
|
|
796
|
-
declare const Slider:
|
|
1057
|
+
declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
797
1058
|
|
|
798
|
-
|
|
1059
|
+
/**
|
|
1060
|
+
* StarRating — display-only rating atom built on lucide `Star`. Supports
|
|
1061
|
+
* fractional ratings (half-star fill via clip path) and a sized cva variant.
|
|
1062
|
+
*
|
|
1063
|
+
* Public API preserved: `rating`, `max`, `size`, `className`. The original
|
|
1064
|
+
* accepted `size` as a number; that still works (overrides the variant). The
|
|
1065
|
+
* new optional `sizeVariant` reads via cva (`sm` / `md` / `lg`).
|
|
1066
|
+
*/
|
|
1067
|
+
declare const starRatingVariants: (props?: ({
|
|
1068
|
+
sizeVariant?: "sm" | "md" | "lg" | null | undefined;
|
|
1069
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1070
|
+
interface StarRatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role">, VariantProps<typeof starRatingVariants> {
|
|
799
1071
|
rating: number;
|
|
800
1072
|
max?: number;
|
|
1073
|
+
/** Pixel size override; if set, takes precedence over `sizeVariant`. */
|
|
801
1074
|
size?: number;
|
|
802
|
-
className?: string;
|
|
803
1075
|
}
|
|
804
|
-
declare
|
|
1076
|
+
declare const StarRating: React$1.ForwardRefExoticComponent<StarRatingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
805
1077
|
|
|
1078
|
+
/**
|
|
1079
|
+
* Stat — paired numeric display + caption, the StatNum primitive from
|
|
1080
|
+
* spec §4. Numerals are set in `font-display` (Geist) at a fluid clamp size
|
|
1081
|
+
* with `font-variant-numeric: tabular-nums` for vertical alignment, ported
|
|
1082
|
+
* from the `.stat-num` rule in `_shared.css` (lines 152-161).
|
|
1083
|
+
*/
|
|
806
1084
|
interface StatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
807
1085
|
value: string;
|
|
808
1086
|
label: string;
|
|
809
1087
|
}
|
|
810
|
-
declare
|
|
1088
|
+
declare const Stat: React$1.ForwardRefExoticComponent<StatProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
811
1089
|
|
|
1090
|
+
/**
|
|
1091
|
+
* Stepper — custom progress indicator. No Radix equivalent.
|
|
1092
|
+
* Active step uses Pro purple; completed steps use the success palette;
|
|
1093
|
+
* connector lines pick up the same status. Supports horizontal (default)
|
|
1094
|
+
* and vertical orientation.
|
|
1095
|
+
*
|
|
1096
|
+
* Public API preserved: `steps`, `currentStep`, plus the new optional
|
|
1097
|
+
* `orientation` prop for vertical layouts.
|
|
1098
|
+
*/
|
|
812
1099
|
interface Step {
|
|
813
1100
|
label: string;
|
|
814
1101
|
description?: string;
|
|
@@ -816,70 +1103,68 @@ interface Step {
|
|
|
816
1103
|
interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
817
1104
|
steps: Step[];
|
|
818
1105
|
currentStep: number;
|
|
1106
|
+
orientation?: "horizontal" | "vertical";
|
|
819
1107
|
}
|
|
820
|
-
declare
|
|
1108
|
+
declare const Stepper: React$1.ForwardRefExoticComponent<StepperProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
821
1109
|
|
|
822
|
-
interface SubmitButtonProps extends Omit<
|
|
1110
|
+
interface SubmitButtonProps extends Omit<ButtonProps, "type" | "loading"> {
|
|
823
1111
|
pendingText?: string;
|
|
824
1112
|
children: React.ReactNode;
|
|
825
1113
|
}
|
|
826
|
-
|
|
1114
|
+
/**
|
|
1115
|
+
* SubmitButton — react-dom `useFormStatus`-aware Button.
|
|
1116
|
+
* Auto-disables and shows `pendingText` (or spinner) while the form is pending.
|
|
1117
|
+
*/
|
|
1118
|
+
declare const SubmitButton: React$1.ForwardRefExoticComponent<SubmitButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
827
1119
|
|
|
828
|
-
declare const
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
readonly translate: "translate-x-4";
|
|
833
|
-
};
|
|
834
|
-
readonly md: {
|
|
835
|
-
readonly track: "h-6 w-11";
|
|
836
|
-
readonly thumb: "size-4.5";
|
|
837
|
-
readonly translate: "translate-x-5";
|
|
838
|
-
};
|
|
839
|
-
};
|
|
840
|
-
interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange"> {
|
|
841
|
-
checked?: boolean;
|
|
842
|
-
defaultChecked?: boolean;
|
|
843
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
1120
|
+
declare const switchVariants: (props?: ({
|
|
1121
|
+
size?: "sm" | "md" | null | undefined;
|
|
1122
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1123
|
+
interface SwitchProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>, "size">, VariantProps<typeof switchVariants> {
|
|
844
1124
|
label?: string;
|
|
845
|
-
size?: keyof typeof sizeConfig;
|
|
846
1125
|
}
|
|
847
|
-
declare
|
|
1126
|
+
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
848
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* Table — semantic data-table primitives. Ports the `.data-table` rules
|
|
1130
|
+
* from `_shared.css` (lines 542-590):
|
|
1131
|
+
* - mono uppercase headers (10px, 0.12em tracking) on `bg-surface-2`
|
|
1132
|
+
* - 1px `border-rule` under header, `border-rule-soft` between rows
|
|
1133
|
+
* - 13px body cells in `text-fg-2`, hover row gets `bg-bg-2`
|
|
1134
|
+
*
|
|
1135
|
+
* Public API preserved: Table / TableHeader / TableBody / TableRow /
|
|
1136
|
+
* TableHead / TableCell / TableCaption. `wrapperClassName` still wraps
|
|
1137
|
+
* the responsive overflow container.
|
|
1138
|
+
*/
|
|
849
1139
|
interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
1140
|
+
/** Class for the wrapping `div` that handles overflow. */
|
|
850
1141
|
wrapperClassName?: string;
|
|
851
1142
|
}
|
|
852
|
-
declare
|
|
1143
|
+
declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
|
|
853
1144
|
type TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement>;
|
|
854
|
-
declare
|
|
1145
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<TableHeaderProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
855
1146
|
type TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement>;
|
|
856
|
-
declare
|
|
1147
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<TableBodyProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1148
|
+
type TableFooterProps = React.HTMLAttributes<HTMLTableSectionElement>;
|
|
1149
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<TableFooterProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
857
1150
|
type TableRowProps = React.HTMLAttributes<HTMLTableRowElement>;
|
|
858
|
-
declare
|
|
1151
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
859
1152
|
type TableHeadProps = React.ThHTMLAttributes<HTMLTableCellElement>;
|
|
860
|
-
declare
|
|
1153
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
861
1154
|
type TableCellProps = React.TdHTMLAttributes<HTMLTableCellElement>;
|
|
862
|
-
declare
|
|
1155
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
863
1156
|
type TableCaptionProps = React.HTMLAttributes<HTMLTableCaptionElement>;
|
|
864
|
-
declare
|
|
1157
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<TableCaptionProps & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
865
1158
|
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
type TabsListProps = React.HTMLAttributes<HTMLDivElement>;
|
|
873
|
-
declare function TabsList({ children, className, ...props }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
874
|
-
interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
875
|
-
value: string;
|
|
876
|
-
variant?: "pill" | "underline";
|
|
1159
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1160
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1161
|
+
declare const triggerVariants: (props?: ({
|
|
1162
|
+
variant?: "underline" | "pill" | null | undefined;
|
|
1163
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1164
|
+
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof triggerVariants> {
|
|
877
1165
|
}
|
|
878
|
-
declare
|
|
879
|
-
|
|
880
|
-
value: string;
|
|
881
|
-
}
|
|
882
|
-
declare function TabsContent({ value, children, className, ...props }: TabsContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1166
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1167
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
883
1168
|
|
|
884
1169
|
interface TeamMember {
|
|
885
1170
|
id: string;
|
|
@@ -892,16 +1177,25 @@ interface TeamMemberSelectProps {
|
|
|
892
1177
|
onValueChange: (value: string) => void;
|
|
893
1178
|
includeUnassigned?: boolean;
|
|
894
1179
|
placeholder?: string;
|
|
1180
|
+
className?: string;
|
|
1181
|
+
}
|
|
1182
|
+
declare function TeamMemberSelect({ teamMembers, currentUserId, value, onValueChange, includeUnassigned, placeholder, className, }: TeamMemberSelectProps): react_jsx_runtime.JSX.Element;
|
|
1183
|
+
declare namespace TeamMemberSelect {
|
|
1184
|
+
var displayName: string;
|
|
895
1185
|
}
|
|
896
|
-
declare function TeamMemberSelect({ teamMembers, currentUserId, value, onValueChange, includeUnassigned, placeholder, }: TeamMemberSelectProps): react_jsx_runtime.JSX.Element;
|
|
897
1186
|
|
|
898
|
-
|
|
1187
|
+
declare const textareaVariants: (props?: ({
|
|
1188
|
+
variant?: "default" | "ghost" | null | undefined;
|
|
1189
|
+
inputSize?: "sm" | "md" | "lg" | null | undefined;
|
|
1190
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1191
|
+
type TextareaVariants = VariantProps<typeof textareaVariants>;
|
|
1192
|
+
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, TextareaVariants {
|
|
899
1193
|
label?: string;
|
|
900
1194
|
error?: string;
|
|
901
1195
|
showCount?: boolean;
|
|
902
1196
|
autoResize?: boolean;
|
|
903
1197
|
}
|
|
904
|
-
declare const Textarea:
|
|
1198
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
905
1199
|
|
|
906
1200
|
type ToastVariant = "default" | "success" | "destructive" | "warning";
|
|
907
1201
|
interface Toast {
|
|
@@ -912,7 +1206,8 @@ interface Toast {
|
|
|
912
1206
|
duration?: number;
|
|
913
1207
|
}
|
|
914
1208
|
interface ToastContextValue {
|
|
915
|
-
toast: (options: Omit<Toast, "id">) =>
|
|
1209
|
+
toast: (options: Omit<Toast, "id">) => string;
|
|
1210
|
+
dismiss: (id?: string) => void;
|
|
916
1211
|
}
|
|
917
1212
|
declare function useToast(): ToastContextValue;
|
|
918
1213
|
interface ToastProviderProps {
|
|
@@ -920,37 +1215,475 @@ interface ToastProviderProps {
|
|
|
920
1215
|
}
|
|
921
1216
|
declare function ToastProvider({ children }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
922
1217
|
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1218
|
+
declare const itemVariants: (props?: ({
|
|
1219
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1220
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1221
|
+
type ToggleGroupRootProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof itemVariants>;
|
|
1222
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<ToggleGroupRootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1223
|
+
interface ToggleGroupItemProps extends React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof itemVariants> {
|
|
1224
|
+
}
|
|
1225
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1226
|
+
|
|
1227
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1228
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1229
|
+
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1230
|
+
interface TooltipProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
|
1231
|
+
/**
|
|
1232
|
+
* Backwards-compat alias for Radix's `delayDuration`. Kept so existing
|
|
1233
|
+
* call sites that passed `delayMs={…}` keep working unchanged.
|
|
1234
|
+
*/
|
|
1235
|
+
delayMs?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Optional delayDuration applied to the implicit Provider. Forwarded
|
|
1238
|
+
* here when no surrounding `<TooltipProvider>` is present.
|
|
1239
|
+
*/
|
|
1240
|
+
delayDuration?: number;
|
|
1241
|
+
}
|
|
1242
|
+
declare const Tooltip: {
|
|
1243
|
+
({ delayMs, delayDuration, children, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
1244
|
+
displayName: string;
|
|
1245
|
+
};
|
|
1246
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* VisuallyHidden — hides content from sighted users while keeping it
|
|
1250
|
+
* available to assistive tech. Backed by `@radix-ui/react-visually-hidden`
|
|
1251
|
+
* (the canonical implementation; survives strict-mode + portals).
|
|
1252
|
+
*/
|
|
1253
|
+
interface VisuallyHiddenProps extends React.ComponentPropsWithoutRef<typeof VisuallyHiddenPrimitive.Root> {
|
|
1254
|
+
children: React.ReactNode;
|
|
929
1255
|
}
|
|
930
|
-
declare
|
|
931
|
-
|
|
932
|
-
|
|
1256
|
+
declare const VisuallyHidden: React$1.ForwardRefExoticComponent<VisuallyHiddenProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1257
|
+
|
|
1258
|
+
type ShellProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1259
|
+
declare const Shell: React$1.ForwardRefExoticComponent<ShellProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1260
|
+
type MainProps = React.HTMLAttributes<HTMLElement>;
|
|
1261
|
+
declare const Main: React$1.ForwardRefExoticComponent<MainProps & React$1.RefAttributes<HTMLElement>>;
|
|
1262
|
+
interface ContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1263
|
+
/**
|
|
1264
|
+
* Override the bottom padding only — the rest of the content area keeps
|
|
1265
|
+
* `--content-pad` so the header alignment stays intact. Use this on
|
|
1266
|
+
* long-scroll pages (Kanban, document trees, large tables) that want
|
|
1267
|
+
* extra breathing room beneath the last row.
|
|
1268
|
+
*
|
|
1269
|
+
* Accepts any CSS length (e.g. `"64px"`, `"4rem"`). Omit to inherit
|
|
1270
|
+
* the symmetric default.
|
|
1271
|
+
*/
|
|
1272
|
+
padBottom?: string;
|
|
1273
|
+
}
|
|
1274
|
+
declare const Content: React$1.ForwardRefExoticComponent<ContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1275
|
+
|
|
1276
|
+
type SidebarProps = React.HTMLAttributes<HTMLElement>;
|
|
1277
|
+
declare const Sidebar: React$1.ForwardRefExoticComponent<SidebarProps & React$1.RefAttributes<HTMLElement>>;
|
|
1278
|
+
type SidebarBrandProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1279
|
+
declare const SidebarBrand: React$1.ForwardRefExoticComponent<SidebarBrandProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1280
|
+
interface SidebarSectionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1281
|
+
label?: React.ReactNode;
|
|
1282
|
+
/**
|
|
1283
|
+
* Label color tone. Encodes the *meaning* of the section's
|
|
1284
|
+
* priority in the scan path:
|
|
1285
|
+
* - `"pro"` (default) — Pro-purple, for primary day-to-day work
|
|
1286
|
+
* (numbered sections like "01 — Today", "02 — Work").
|
|
1287
|
+
* - `"muted"` — `text-fg-3`, for system-level or settings groups
|
|
1288
|
+
* ("— Admin") that should sit lower in the visual hierarchy.
|
|
1289
|
+
*
|
|
1290
|
+
* Mirrors the `tone` API on `<SidebarLinkBadge>`.
|
|
1291
|
+
*/
|
|
1292
|
+
tone?: "pro" | "muted";
|
|
1293
|
+
}
|
|
1294
|
+
declare const SidebarSection: React$1.ForwardRefExoticComponent<SidebarSectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1295
|
+
interface SidebarLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1296
|
+
/** Required when rendered as `<a>`; ignored when `asChild` is true. */
|
|
1297
|
+
href?: string;
|
|
1298
|
+
icon?: React.ReactNode;
|
|
1299
|
+
active?: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* Render via Radix `<Slot>` so the consumer can wrap a router-aware
|
|
1302
|
+
* component (e.g. Next.js `<Link>`, React Router `<NavLink>`) that owns
|
|
1303
|
+
* `href` and prefetch behavior. Without this, sidebar clicks bypass
|
|
1304
|
+
* client-side routing and trigger full page loads.
|
|
1305
|
+
*/
|
|
1306
|
+
asChild?: boolean;
|
|
1307
|
+
}
|
|
1308
|
+
declare const SidebarLink: React$1.ForwardRefExoticComponent<SidebarLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1309
|
+
declare const sidebarLinkBadgeVariants: (props?: ({
|
|
1310
|
+
tone?: "warning" | "default" | "danger" | "neutral" | null | undefined;
|
|
1311
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1312
|
+
type SidebarLinkBadgeVariants = VariantProps<typeof sidebarLinkBadgeVariants>;
|
|
1313
|
+
interface SidebarLinkBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, SidebarLinkBadgeVariants {
|
|
1314
|
+
}
|
|
1315
|
+
declare const SidebarLinkBadge: React$1.ForwardRefExoticComponent<SidebarLinkBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1316
|
+
type SidebarFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1317
|
+
declare const SidebarFooter: React$1.ForwardRefExoticComponent<SidebarFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1318
|
+
interface SidebarUserProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1319
|
+
name: string;
|
|
1320
|
+
subtitle?: React.ReactNode;
|
|
1321
|
+
avatarSrc?: string | null;
|
|
933
1322
|
}
|
|
934
|
-
declare
|
|
1323
|
+
declare const SidebarUser: React$1.ForwardRefExoticComponent<SidebarUserProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
935
1324
|
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
1325
|
+
/**
|
|
1326
|
+
* AppHeader — sticky 56px-tall top bar mounted inside `<Main>`, above
|
|
1327
|
+
* `<Content>`. Ports `.app-header` from `_shared.css` (lines 393-404).
|
|
1328
|
+
*
|
|
1329
|
+
* Children flow horizontally:
|
|
1330
|
+
* breadcrumb → title → flex-1 spacer → search → actions
|
|
1331
|
+
*
|
|
1332
|
+
* Sub-components are layout slots; the consumer composes them in any order
|
|
1333
|
+
* and the AppHeaderSearch's `flex-1` collapses any remaining space.
|
|
1334
|
+
*/
|
|
1335
|
+
type AppHeaderProps = React.HTMLAttributes<HTMLElement>;
|
|
1336
|
+
declare const AppHeader: React$1.ForwardRefExoticComponent<AppHeaderProps & React$1.RefAttributes<HTMLElement>>;
|
|
1337
|
+
type AppHeaderBreadcrumbProps = React.HTMLAttributes<HTMLElement>;
|
|
1338
|
+
declare const AppHeaderBreadcrumb: React$1.ForwardRefExoticComponent<AppHeaderBreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
|
|
1339
|
+
type AppHeaderTitleProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
1340
|
+
/**
|
|
1341
|
+
* App-shell title rendered inside the sticky header.
|
|
1342
|
+
*
|
|
1343
|
+
* Intentionally a `<span>` rather than `<h1>`: the page below the chrome
|
|
1344
|
+
* owns its own document heading (`<h1>` in the page body). The header is
|
|
1345
|
+
* navigational chrome; making it the page's `<h1>` would couple every page
|
|
1346
|
+
* heading to the chrome wrapper and confuse screen-reader heading nav.
|
|
1347
|
+
*/
|
|
1348
|
+
declare const AppHeaderTitle: React$1.ForwardRefExoticComponent<AppHeaderTitleProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1349
|
+
interface AppHeaderSearchProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1350
|
+
/** Placeholder text rendered inside the search trigger. */
|
|
1351
|
+
placeholder?: string;
|
|
1352
|
+
/** Keyboard shortcut hint shown on the right. Defaults to ⌘K. */
|
|
1353
|
+
shortcut?: React.ReactNode;
|
|
940
1354
|
}
|
|
941
|
-
declare
|
|
942
|
-
type
|
|
943
|
-
declare
|
|
944
|
-
|
|
945
|
-
|
|
1355
|
+
declare const AppHeaderSearch: React$1.ForwardRefExoticComponent<AppHeaderSearchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1356
|
+
type AppHeaderActionsProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1357
|
+
declare const AppHeaderActions: React$1.ForwardRefExoticComponent<AppHeaderActionsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* PageHeader — top-of-page title block: eyebrow → headline → meta row.
|
|
1361
|
+
* Ports `.page-header` rules from `_shared.css` (lines 486-498).
|
|
1362
|
+
*
|
|
1363
|
+
* `title` is a string per the consumer-side contract (see
|
|
1364
|
+
* `assure-pro-spec/from-lighttaxes-claude.md`, "Page header" section).
|
|
1365
|
+
* If a consumer needs richer markup in the headline they should compose
|
|
1366
|
+
* around PageHeader rather than via this prop.
|
|
1367
|
+
*/
|
|
1368
|
+
interface PageHeaderProps extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {
|
|
1369
|
+
/** Slot above the title — usually `<Eyebrow numeric>`. */
|
|
1370
|
+
eyebrow?: React.ReactNode;
|
|
1371
|
+
/** Page title text. */
|
|
1372
|
+
title: string;
|
|
1373
|
+
/** Slot below the title for pills, specs, separators. */
|
|
1374
|
+
meta?: React.ReactNode;
|
|
946
1375
|
}
|
|
947
|
-
declare
|
|
1376
|
+
declare const PageHeader: React$1.ForwardRefExoticComponent<PageHeaderProps & React$1.RefAttributes<HTMLElement>>;
|
|
1377
|
+
type PageHeaderSpecProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
1378
|
+
/**
|
|
1379
|
+
* PageHeaderSpec — small `.spec`-style span (Geist Mono w/ tnum/lnum/ss01).
|
|
1380
|
+
* Used inside the `meta` slot for numeric facts ("4 due today",
|
|
1381
|
+
* "EIN ·· 12-3456789").
|
|
1382
|
+
*/
|
|
1383
|
+
declare const PageHeaderSpec: React$1.ForwardRefExoticComponent<PageHeaderSpecProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1384
|
+
type PageHeaderSepProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
1385
|
+
/** PageHeaderSep — the `·` dot separator used between meta items. */
|
|
1386
|
+
declare const PageHeaderSep: React$1.ForwardRefExoticComponent<PageHeaderSepProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
948
1387
|
|
|
949
|
-
interface
|
|
950
|
-
|
|
1388
|
+
interface DataTableProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1389
|
+
/** When true, renders the table card with a flat top edge so it
|
|
1390
|
+
* visually attaches to a `<DataTableToolbar>` above it. */
|
|
1391
|
+
withToolbar?: boolean;
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* DataTable — outer wrapper. Children are typically:
|
|
1395
|
+
* <DataTableToolbar /> + <table> + <DataTablePagination />.
|
|
1396
|
+
*
|
|
1397
|
+
* The `<table>` is hand-written by the consumer; this wrapper renders
|
|
1398
|
+
* the surface card chrome on its descendant `<table>` element via a
|
|
1399
|
+
* Tailwind arbitrary-variant selector. When `withToolbar` is set, the
|
|
1400
|
+
* top corners flatten so the table visually joins the toolbar above.
|
|
1401
|
+
*
|
|
1402
|
+
* Children render in document order — toolbar (if any) then `<table>`
|
|
1403
|
+
* then pagination — with the table card and the pagination not sharing
|
|
1404
|
+
* a background.
|
|
1405
|
+
*/
|
|
1406
|
+
declare const DataTable: React$1.ForwardRefExoticComponent<DataTableProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1407
|
+
type DataTableToolbarProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1408
|
+
/**
|
|
1409
|
+
* DataTableToolbar — top row above the table. Renders the same surface
|
|
1410
|
+
* card as `<table>`, but with rounded corners only on top so the table
|
|
1411
|
+
* below visually attaches to it (see `.toolbar` rules in `_shared.css`,
|
|
1412
|
+
* lines 592-633).
|
|
1413
|
+
*/
|
|
1414
|
+
declare const DataTableToolbar: React$1.ForwardRefExoticComponent<DataTableToolbarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1415
|
+
interface DataTableSearchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
1416
|
+
/** Override the default placeholder. */
|
|
1417
|
+
placeholder?: string;
|
|
1418
|
+
}
|
|
1419
|
+
/**
|
|
1420
|
+
* DataTableSearch — small search input slot inside the toolbar. Wraps
|
|
1421
|
+
* the `Input` primitive at `inputSize="sm"` with a leading search icon.
|
|
1422
|
+
*/
|
|
1423
|
+
declare const DataTableSearch: React$1.ForwardRefExoticComponent<DataTableSearchProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1424
|
+
type DataTableSpacerProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
1425
|
+
/** DataTableSpacer — `flex-1` spacer for arranging toolbar items. */
|
|
1426
|
+
declare const DataTableSpacer: React$1.ForwardRefExoticComponent<DataTableSpacerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1427
|
+
interface DataTableResultsCountProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
1428
|
+
current: number;
|
|
1429
|
+
total: number;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
* DataTableResultsCount — small spec-styled "12 of 247" indicator.
|
|
1433
|
+
* Mono + tabular per `.results-count` (`_shared.css` lines 628-633).
|
|
1434
|
+
*/
|
|
1435
|
+
declare const DataTableResultsCount: React$1.ForwardRefExoticComponent<DataTableResultsCountProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1436
|
+
/**
|
|
1437
|
+
* DataTableHead — wraps `<thead>`. Renders the surface-2 header row
|
|
1438
|
+
* with the rule-bottom divider (`.data-table th` styling lives on the
|
|
1439
|
+
* `DataTableHeader` cells themselves).
|
|
1440
|
+
*/
|
|
1441
|
+
type DataTableHeadProps = React.HTMLAttributes<HTMLTableSectionElement>;
|
|
1442
|
+
declare const DataTableHead: React$1.ForwardRefExoticComponent<DataTableHeadProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1443
|
+
type DataTableBodyProps = React.HTMLAttributes<HTMLTableSectionElement>;
|
|
1444
|
+
/** DataTableBody — wraps `<tbody>`. Last row drops its bottom border. */
|
|
1445
|
+
declare const DataTableBody: React$1.ForwardRefExoticComponent<DataTableBodyProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1446
|
+
interface DataTableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
1447
|
+
/** Pro-tinted highlight for the current selection. */
|
|
1448
|
+
selected?: boolean;
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* DataTableRow — `<tr>` with hover styling. `selected` switches the
|
|
1452
|
+
* row to the Pro-bg highlight (matches `data-[state=selected]` on the
|
|
1453
|
+
* Table primitive).
|
|
1454
|
+
*/
|
|
1455
|
+
declare const DataTableRow: React$1.ForwardRefExoticComponent<DataTableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
1456
|
+
type SortDirection = "asc" | "desc";
|
|
1457
|
+
interface DataTableHeaderProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
|
|
1458
|
+
/** When true, the cell becomes a clickable button that toggles sort
|
|
1459
|
+
* state and renders a chevron indicator. */
|
|
1460
|
+
sortable?: boolean;
|
|
1461
|
+
/** Initial sort direction when the header mounts in a sorted state. */
|
|
1462
|
+
defaultSort?: SortDirection;
|
|
1463
|
+
/** Optional controlled sort state. When provided, `onSortChange` should
|
|
1464
|
+
* also be wired up — the header becomes fully controlled. */
|
|
1465
|
+
sort?: SortDirection | null;
|
|
1466
|
+
/** Fires whenever the user clicks a sortable header. */
|
|
1467
|
+
onSortChange?: (sort: SortDirection | null) => void;
|
|
951
1468
|
}
|
|
952
|
-
|
|
1469
|
+
/**
|
|
1470
|
+
* DataTableHeader — `<th>` cell. Mono uppercase label with optional
|
|
1471
|
+
* sort indicator. Sort cycle when uncontrolled:
|
|
1472
|
+
* unsorted → asc → desc → unsorted (3-state).
|
|
1473
|
+
* `defaultSort` seeds the initial state. Pass `sort` + `onSortChange`
|
|
1474
|
+
* for fully-controlled usage when an upstream store owns the sort.
|
|
1475
|
+
*/
|
|
1476
|
+
declare const DataTableHeader: React$1.ForwardRefExoticComponent<DataTableHeaderProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1477
|
+
type DataTableCellProps = React.TdHTMLAttributes<HTMLTableCellElement>;
|
|
1478
|
+
/** DataTableCell — default cell, 13px / fg-2. */
|
|
1479
|
+
declare const DataTableCell: React$1.ForwardRefExoticComponent<DataTableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1480
|
+
/**
|
|
1481
|
+
* DataTableCellName — primary identifier of the row. Display font,
|
|
1482
|
+
* fg color, medium weight (matches `.cell-name` in `_shared.css`
|
|
1483
|
+
* line 586).
|
|
1484
|
+
*/
|
|
1485
|
+
declare const DataTableCellName: React$1.ForwardRefExoticComponent<DataTableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1486
|
+
/**
|
|
1487
|
+
* DataTableCellMono — currency / IDs / numerics. Geist Mono with
|
|
1488
|
+
* tabular numerals and the same tight tracking the spec uses
|
|
1489
|
+
* (`.cell-mono`, `_shared.css` lines 579-584).
|
|
1490
|
+
*/
|
|
1491
|
+
declare const DataTableCellMono: React$1.ForwardRefExoticComponent<DataTableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1492
|
+
/**
|
|
1493
|
+
* DataTableCellId — muted mono ID (EIN, UUID, "5h ago"). Matches
|
|
1494
|
+
* `.cell-mono.cell-id` from the spec.
|
|
1495
|
+
*/
|
|
1496
|
+
declare const DataTableCellId: React$1.ForwardRefExoticComponent<DataTableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1497
|
+
interface DataTableCellDueProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, "children"> {
|
|
1498
|
+
/** Date this row is due. */
|
|
1499
|
+
value: Date;
|
|
1500
|
+
/** Optional override for the displayed label (defaults to the
|
|
1501
|
+
* formatted date). */
|
|
1502
|
+
children?: ReactNode;
|
|
1503
|
+
}
|
|
1504
|
+
/**
|
|
1505
|
+
* DataTableCellDue — accepts a Date and auto-colors:
|
|
1506
|
+
* diff < 0 → text-danger-fg (overdue)
|
|
1507
|
+
* diff < 14d → text-warning-fg (due-near)
|
|
1508
|
+
* otherwise → text-fg-3 (default)
|
|
1509
|
+
*
|
|
1510
|
+
* The 14-day threshold and day-rounding (`Math.floor`) match the
|
|
1511
|
+
* `.cell-due-near` / `.cell-due-overdue` CSS classes in the mockup.
|
|
1512
|
+
*/
|
|
1513
|
+
declare const DataTableCellDue: React$1.ForwardRefExoticComponent<DataTableCellDueProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1514
|
+
interface DataTableCheckboxProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, "onChange" | "defaultChecked"> {
|
|
1515
|
+
/** Forwarded to the inner `Checkbox` primitive. */
|
|
1516
|
+
checked?: boolean | "indeterminate";
|
|
1517
|
+
defaultChecked?: boolean | "indeterminate";
|
|
1518
|
+
onCheckedChange?: (checked: boolean | "indeterminate") => void;
|
|
1519
|
+
/** Accessible label for the checkbox (e.g. "Select row Acme Corp."). */
|
|
1520
|
+
ariaLabel?: string;
|
|
1521
|
+
disabled?: boolean;
|
|
1522
|
+
/** Render the cell as `<th>` (for the select-all header) instead of `<td>`. */
|
|
1523
|
+
asHeader?: boolean;
|
|
1524
|
+
}
|
|
1525
|
+
/**
|
|
1526
|
+
* DataTableCheckbox — `<td>` containing the row-selection checkbox.
|
|
1527
|
+
* Tightened to a 32px column with no right padding to match
|
|
1528
|
+
* `.row-checkbox` in the spec.
|
|
1529
|
+
*/
|
|
1530
|
+
declare const DataTableCheckbox: React$1.ForwardRefExoticComponent<DataTableCheckboxProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1531
|
+
interface DataTablePaginationProps extends Omit<React.HTMLAttributes<HTMLElement>, "onChange"> {
|
|
1532
|
+
/** 1-indexed current page. */
|
|
1533
|
+
current: number;
|
|
1534
|
+
/** Total number of items across all pages. */
|
|
1535
|
+
total: number;
|
|
1536
|
+
/** Items per page. Default 25. */
|
|
1537
|
+
pageSize?: number;
|
|
1538
|
+
onPageChange?: (page: number) => void;
|
|
1539
|
+
siblingCount?: number;
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* DataTablePagination — full pagination strip. Wraps the existing
|
|
1543
|
+
* `Pagination` primitive: derives `pageCount` from `total / pageSize`
|
|
1544
|
+
* and forwards the page label ("1–25 of 327"). Page size defaults to
|
|
1545
|
+
* 25 (the consumer contract did not specify; this matches the most
|
|
1546
|
+
* common firm-app table page size).
|
|
1547
|
+
*/
|
|
1548
|
+
declare const DataTablePagination: React$1.ForwardRefExoticComponent<DataTablePaginationProps & React$1.RefAttributes<HTMLElement>>;
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Detail layout composites — port of the `.detail-grid` / `.detail-spine`
|
|
1552
|
+
* pattern from `_shared.css` (lines 814-822) and the canonical detail page
|
|
1553
|
+
* mockup (`assure-pro-spec/mockups/04-client-detail.html`).
|
|
1554
|
+
*
|
|
1555
|
+
* Two-column layout: a sticky left rail (the "spine", 320px) holding
|
|
1556
|
+
* identity + key facts, and a scrollable main column for tabs, sections,
|
|
1557
|
+
* tables, and activity feeds.
|
|
1558
|
+
*/
|
|
1559
|
+
type DetailGridProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1560
|
+
declare const DetailGrid: React$1.ForwardRefExoticComponent<DetailGridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1561
|
+
type DetailSpineProps = React.HTMLAttributes<HTMLElement>;
|
|
1562
|
+
declare const DetailSpine: React$1.ForwardRefExoticComponent<DetailSpineProps & React$1.RefAttributes<HTMLElement>>;
|
|
1563
|
+
interface DetailSpineHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
1564
|
+
/** Image src or initials/name string passed through to <Avatar>. */
|
|
1565
|
+
avatar: string;
|
|
1566
|
+
/** Display name / entity title. */
|
|
1567
|
+
title: string;
|
|
1568
|
+
/** Smaller line under the title — entity type, classification, etc. */
|
|
1569
|
+
subtitle: string;
|
|
1570
|
+
}
|
|
1571
|
+
declare const DetailSpineHeader: React$1.ForwardRefExoticComponent<DetailSpineHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1572
|
+
interface DetailSpineSectionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1573
|
+
/** Small caps label rendered above the section content. */
|
|
1574
|
+
eyebrow: string;
|
|
1575
|
+
}
|
|
1576
|
+
declare const DetailSpineSection: React$1.ForwardRefExoticComponent<DetailSpineSectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1577
|
+
type DetailSpineStatsProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1578
|
+
declare const DetailSpineStats: React$1.ForwardRefExoticComponent<DetailSpineStatsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1579
|
+
type DetailMainProps = React.HTMLAttributes<HTMLElement>;
|
|
1580
|
+
declare const DetailMain: React$1.ForwardRefExoticComponent<DetailMainProps & React$1.RefAttributes<HTMLElement>>;
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* ActivityList — vertical feed of activity rows.
|
|
1584
|
+
* Ports `.activity-list` / `.activity-item` from `_shared.css` (lines 635-664)
|
|
1585
|
+
* with the simplified row API from `from-lighttaxes-claude.md` (line 71):
|
|
1586
|
+
*
|
|
1587
|
+
* <ActivityList>
|
|
1588
|
+
* <ActivityItem dot="success" actor="Anna" text="filed" target="1120S" time="2h ago" />
|
|
1589
|
+
* </ActivityList>
|
|
1590
|
+
*/
|
|
1591
|
+
type ActivityListProps = React.HTMLAttributes<HTMLUListElement>;
|
|
1592
|
+
declare const ActivityList: React$1.ForwardRefExoticComponent<ActivityListProps & React$1.RefAttributes<HTMLUListElement>>;
|
|
1593
|
+
type ActivityDotVariant = "default" | "success" | "warn" | "accent";
|
|
1594
|
+
interface ActivityItemProps extends Omit<React.LiHTMLAttributes<HTMLLIElement>, "children"> {
|
|
1595
|
+
dot?: ActivityDotVariant;
|
|
1596
|
+
actor: string;
|
|
1597
|
+
text: string;
|
|
1598
|
+
target?: string;
|
|
1599
|
+
time: string;
|
|
1600
|
+
}
|
|
1601
|
+
declare const ActivityItem: React$1.ForwardRefExoticComponent<ActivityItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Kanban — flex container for board columns.
|
|
1605
|
+
* Ports `.kanban` / `.kanban-col` / `.kanban-card` from `_shared.css`
|
|
1606
|
+
* (lines 700-778). API per `from-lighttaxes-claude.md` line 81-84.
|
|
1607
|
+
*/
|
|
1608
|
+
type KanbanProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1609
|
+
declare const Kanban: React$1.ForwardRefExoticComponent<KanbanProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1610
|
+
interface KanbanColumnProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
1611
|
+
title: string;
|
|
1612
|
+
count: number;
|
|
1613
|
+
}
|
|
1614
|
+
declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1615
|
+
declare const kanbanCardVariants: (props?: ({
|
|
1616
|
+
variant?: "default" | "pro" | "danger" | "warn" | null | undefined;
|
|
1617
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1618
|
+
interface KanbanCardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof kanbanCardVariants> {
|
|
1619
|
+
}
|
|
1620
|
+
declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Toolbar — horizontal row of controls used above lists, dashboards, etc.
|
|
1624
|
+
* Ports `.toolbar` from `_shared.css` (lines 591-633). FilterChip is a
|
|
1625
|
+
* simpler atom than `MultiFilterPill` — single filter, not multi-select.
|
|
1626
|
+
*/
|
|
1627
|
+
type ToolbarProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1628
|
+
declare const Toolbar: React$1.ForwardRefExoticComponent<ToolbarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1629
|
+
declare const filterChipVariants: (props?: ({
|
|
1630
|
+
active?: boolean | null | undefined;
|
|
1631
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1632
|
+
interface FilterChipProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof VariantProps<typeof filterChipVariants>>, VariantProps<typeof filterChipVariants> {
|
|
1633
|
+
count?: number;
|
|
1634
|
+
}
|
|
1635
|
+
declare const FilterChip: React$1.ForwardRefExoticComponent<FilterChipProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* Intent-named action wrappers (Phase 4).
|
|
1639
|
+
*
|
|
1640
|
+
* Thin wrappers over Button / LinkButton. Bake in the right variant + size
|
|
1641
|
+
* so the correct call is shorter than the raw call.
|
|
1642
|
+
*
|
|
1643
|
+
* Note: `Button` has no `variant="icon"`. `IconAction` uses `variant="ghost"`
|
|
1644
|
+
* + `size="icon"` (the existing icon size token).
|
|
1645
|
+
*/
|
|
1646
|
+
type LinkButtonProps = React.ComponentProps<typeof LinkButton>;
|
|
1647
|
+
interface PrimaryActionProps extends Omit<ButtonProps, "variant" | "size"> {
|
|
1648
|
+
arrow?: boolean;
|
|
1649
|
+
}
|
|
1650
|
+
declare const PrimaryAction: React$1.ForwardRefExoticComponent<PrimaryActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1651
|
+
type SecondaryActionProps = Omit<ButtonProps, "variant" | "size">;
|
|
1652
|
+
declare const SecondaryAction: React$1.ForwardRefExoticComponent<SecondaryActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1653
|
+
interface DangerActionProps extends Omit<ButtonProps, "variant" | "size" | "onClick"> {
|
|
1654
|
+
/** Required — explicit name forces the consumer to acknowledge intent. */
|
|
1655
|
+
onConfirm: () => void;
|
|
1656
|
+
}
|
|
1657
|
+
declare const DangerAction: React$1.ForwardRefExoticComponent<DangerActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1658
|
+
interface IconActionProps extends Omit<ButtonProps, "variant" | "size"> {
|
|
1659
|
+
/** Required — icon-only buttons must announce themselves to assistive tech. */
|
|
1660
|
+
"aria-label": string;
|
|
1661
|
+
}
|
|
1662
|
+
declare const IconAction: React$1.ForwardRefExoticComponent<IconActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1663
|
+
interface LinkActionProps extends Omit<LinkButtonProps, "variant" | "size"> {
|
|
1664
|
+
arrow?: boolean;
|
|
1665
|
+
}
|
|
1666
|
+
declare const LinkAction: React$1.ForwardRefExoticComponent<Omit<LinkActionProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Intent-named atom wrappers (Phase 4).
|
|
1670
|
+
*
|
|
1671
|
+
* Thin <span>/<div>/<kbd> wrappers that bake in the right typography +
|
|
1672
|
+
* color tokens. Compose with the addressable utility classes in tokens.css
|
|
1673
|
+
* (`.tabular`, `.font-spec`, `.eyebrow`, `.eyebrow-num`).
|
|
1674
|
+
*/
|
|
1675
|
+
type NumericProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
1676
|
+
declare const Numeric: React$1.ForwardRefExoticComponent<NumericProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1677
|
+
type MutedSpecProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
1678
|
+
declare const MutedSpec: React$1.ForwardRefExoticComponent<MutedSpecProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1679
|
+
interface EyebrowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1680
|
+
/** When true, switches to spec font + Pro purple (the `01 — Today` pattern). */
|
|
1681
|
+
numeric?: boolean;
|
|
1682
|
+
}
|
|
1683
|
+
declare const Eyebrow: React$1.ForwardRefExoticComponent<EyebrowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1684
|
+
type KbdHintProps = React.HTMLAttributes<HTMLElement>;
|
|
1685
|
+
declare const KbdHint: React$1.ForwardRefExoticComponent<KbdHintProps & React$1.RefAttributes<HTMLElement>>;
|
|
953
1686
|
|
|
954
1687
|
declare function cn(...inputs: ClassValue[]): string;
|
|
955
1688
|
|
|
956
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTriangleIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, AspectRatio, AtSignIcon, Avatar, Badge, BarChartIcon, BellIcon, Blockquote, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BuildingIcon, Button, Calendar, CalendarIcon, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChatBubbleIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClientSelect, type ClientSelectOption, ClipboardCheckIcon, ClockIcon, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ComingSoon, type CommandItem, CommandPalette, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CopyButton, CopyIcon, CreditCardIcon, DATE_DISPLAY_PLACEHOLDER, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocumentIcon, DownloadIcon, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EmptyState, EyeIcon, FileIcon, FileReturnIcon, FileTextIcon, FileUpload, FlagIcon, FolderClosedIcon, FolderOpenIcon, FolderPlusIcon, FormError, FormSuccess, GlobeIcon, HoverCard, HoverCardContent, HoverCardTrigger, Input, KeyIcon, KeyboardShortcutsDialog, Label, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkButton, LinkIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, Logo, MailIcon, MapPinIcon, MenuIcon, MessageCircleIcon, MessageCircleWarningIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoveIcon, MultiFilterPill, MultiSelectField, OTPInput, Pagination, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PaperclipIcon, PenSignIcon, PencilIcon, PhoneIcon, PhoneInput, PlusIcon, Popover, PopoverContent, PopoverTrigger, ProgressBar, ProgressRing, RadioGroup, RadioGroupItem, ReceiptIcon, RotateCcwIcon, ScrollArea, SearchIcon, SearchInput, SearchSelect, type SearchSelectOption, Section, SectionHeader, Select, SelectContent, SelectTrigger, SendIcon, Separator, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShieldIcon, SideDrawer, Skeleton, SkeletonCircle, SkeletonText, Slider, SmartphoneIcon, SparkleIcon, StarIcon, StarRating, Stat, Stepper, SubmitButton, SunIcon, Switch, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagIcon, TeamIcon, TeamMemberSelect, Textarea, ToastProvider, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipTrigger, TrashIcon, UploadIcon, UserCircleIcon, UsersIcon, VisuallyHidden, WorkflowIcon, XIcon, ZoomInIcon, ZoomOutIcon, cn, displayToIso, isoToDisplay, useToast };
|
|
1689
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActivityDotVariant, ActivityItem, type ActivityItemProps, ActivityList, type ActivityListProps, Alert, AlertCircleIcon, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AlertTriangleIcon, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderBreadcrumb, type AppHeaderBreadcrumbProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderTitle, type AppHeaderTitleProps, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, AspectRatio, AtSignIcon, Avatar, Badge, type BadgeProps, BarChartIcon, BellIcon, Blockquote, BoldIcon, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, BriefcaseIcon, Building2Icon, BuildingIcon, Button, type ButtonProps, Calendar, type CalendarHighlight, type CalendarHighlightColor, CalendarIcon, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardVariants, ChatBubbleIcon, CheckCircle2Icon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClientSelect, type ClientSelectOption, ClipboardCheckIcon, ClockIcon, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ComingSoon, type ComingSoonProps, CommandIcon, type CommandItem, CommandPalette, ConfirmActionButton, type ConfirmActionButtonProps, Content, type ContentProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyIcon, CornerDownLeftIcon, CreditCardIcon, DATE_DISPLAY_PLACEHOLDER, DangerAction, type DangerActionProps, DataTable, DataTableBody, type DataTableBodyProps, DataTableCell, DataTableCellDue, type DataTableCellDueProps, DataTableCellId, DataTableCellMono, DataTableCellName, type DataTableCellProps, DataTableCheckbox, type DataTableCheckboxProps, DataTableHead, type DataTableHeadProps, DataTableHeader, type DataTableHeaderProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableResultsCount, type DataTableResultsCountProps, DataTableRow, type DataTableRowProps, DataTableSearch, type DataTableSearchProps, DataTableSpacer, type DataTableSpacerProps, DataTableToolbar, type DataTableToolbarProps, DatePicker, DetailGrid, type DetailGridProps, DetailMain, type DetailMainProps, DetailSpine, DetailSpineHeader, type DetailSpineHeaderProps, type DetailSpineProps, DetailSpineSection, type DetailSpineSectionProps, DetailSpineStats, type DetailSpineStatsProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DocumentIcon, DollarSignIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, EyeIcon, EyeOffIcon, Eyebrow, type EyebrowProps, FileIcon, FileReturnIcon, FileTextIcon, FileUpload, FilterChip, type FilterChipProps, FlagIcon, FolderClosedIcon, FolderOpenIcon, FolderPlusIcon, FormError, FormSuccess, GlobeIcon, GoogleBrandIcon, HelpCircleIcon, HistoryIcon, HomeIcon, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, IconAction, type IconActionProps, InboxIcon, InfoIcon, Input, type InputVariants, ItalicIcon, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanIcon, type KanbanProps, KbdHint, type KbdHintProps, KeyIcon, KeyboardShortcutsDialog, Label, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkAction, type LinkActionProps, LinkButton, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, Logo, MailIcon, Main, type MainProps, MapPinIcon, MenuIcon, MessageCircleIcon, MessageCircleWarningIcon, MicrosoftBrandIcon, MinusIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoveIcon, MultiFilterPill, MultiSelectField, MutedSpec, type MutedSpecProps, Numeric, type NumericProps, OTPInput, PageHeader, type PageHeaderProps, PageHeaderSep, type PageHeaderSepProps, PageHeaderSpec, type PageHeaderSpecProps, Pagination, type PaginationProps, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PaperclipIcon, PenSignIcon, PencilIcon, PhoneIcon, PhoneInput, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PrimaryAction, type PrimaryActionProps, ProgressBar, type ProgressBarProps, ProgressRing, type ProgressRingProps, RadioGroup, RadioGroupItem, ReceiptIcon, ReplyIcon, RotateCcwIcon, SaveIcon, ScrollArea, ScrollBar, SearchIcon, SearchInput, type SearchInputVariants, SearchSelect, type SearchSelectOption, SecondaryAction, type SecondaryActionProps, Section, SectionHead, SectionHeader, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SendIcon, Separator, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, type ShellProps, ShieldIcon, SideDrawer, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarFooter, type SidebarFooterProps, SidebarLink, SidebarLinkBadge, type SidebarLinkBadgeProps, type SidebarLinkBadgeVariants, type SidebarLinkProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarUser, type SidebarUserProps, Skeleton, SkeletonCircle, SkeletonText, SlashIcon, Slider, SmartphoneIcon, type SortDirection, SparkleIcon, SparklesIcon, StarIcon, StarRating, type StarRatingProps, Stat, type Step, Stepper, type StepperProps, StrikethroughIcon, SubmitButton, SunIcon, Switch, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableIcon, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, TagIcon, TeamIcon, TeamMemberSelect, Textarea, type TextareaVariants, ToastProvider, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Trash2Icon, TrashIcon, UnderlineIcon, UploadIcon, UserCircleIcon, UserIcon, UsersIcon, VisuallyHidden, WorkflowIcon, XIcon, ZoomInIcon, ZoomOutIcon, alertVariants, badgeVariants, buttonVariants, cardVariants, cn, displayToIso, filterChipVariants, inputVariants, isoToDisplay, kanbanCardVariants, labelVariants, progressBarVariants, progressRingVariants, searchInputVariants, sidebarLinkBadgeVariants, starRatingVariants, textareaVariants, useToast };
|