@eqtylab/equality 5.4.5 → 5.5.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/CHANGELOG.md +17 -0
- package/dist/index.cjs +79 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -4
- package/dist/index.d.ts +66 -4
- package/dist/index.js +76 -25
- package/dist/index.js.map +1 -1
- package/dist/timeline.module.module.css.module.css +118 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -132,7 +132,7 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
|
|
|
132
132
|
* [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
|
|
133
133
|
*/
|
|
134
134
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
135
|
-
variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "
|
|
135
|
+
variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
|
|
136
136
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
137
137
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
138
138
|
prefix?: React$1.ReactNode;
|
|
@@ -151,7 +151,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<Ale
|
|
|
151
151
|
* [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
|
|
152
152
|
*/
|
|
153
153
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
154
|
-
variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "
|
|
154
|
+
variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
|
|
155
155
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
156
156
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
157
157
|
prefix?: React$1.ReactNode;
|
|
@@ -452,7 +452,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
452
452
|
}) => react_jsx_runtime.JSX.Element;
|
|
453
453
|
|
|
454
454
|
declare const buttonVariants: (props?: ({
|
|
455
|
-
variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "
|
|
455
|
+
variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
|
|
456
456
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
457
457
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
458
458
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -2771,6 +2771,68 @@ declare const Tabs: ({ items, className, tabsListBackground, value, defaultValue
|
|
|
2771
2771
|
*/
|
|
2772
2772
|
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
2773
2773
|
|
|
2774
|
+
declare const timelineVariants: (props?: ({
|
|
2775
|
+
/** The markers' size: `sm` an icon-only Badge, `md` as tall as a Button */
|
|
2776
|
+
size?: "sm" | "md" | null | undefined;
|
|
2777
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2778
|
+
declare const timelineSectionVariants: (props?: ({
|
|
2779
|
+
/** The status the section's marker and connector report */
|
|
2780
|
+
variant?: "primary" | "danger" | "success" | "warning" | "neutral" | null | undefined;
|
|
2781
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2782
|
+
interface TimelineProps extends React$1.OlHTMLAttributes<HTMLOListElement>, VariantProps<typeof timelineVariants> {
|
|
2783
|
+
/** Names the timeline for assistive technology, such as "Control timeline". Point `aria-labelledby` at a visible heading instead when there is one */
|
|
2784
|
+
'aria-label'?: string;
|
|
2785
|
+
/** The `TimelineSection`s, in the order they happened */
|
|
2786
|
+
children: React$1.ReactNode;
|
|
2787
|
+
}
|
|
2788
|
+
/**
|
|
2789
|
+
* **Props**
|
|
2790
|
+
* - `size?: "sm" | "md"` (default `"md"`) — The markers' size: `sm` an icon-only Badge, `md` as tall as a Button
|
|
2791
|
+
* - `"aria-label"?: string` — Names the timeline for assistive technology, such as "Control timeline". Point `aria-labelledby` at a visible heading instead when there is one
|
|
2792
|
+
* - `children: React.ReactNode` — The `TimelineSection`s, in the order they happened
|
|
2793
|
+
*
|
|
2794
|
+
* Also accepts the standard `HTMLOListElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
|
|
2795
|
+
*
|
|
2796
|
+
* [Timeline documentation](https://equality.eqtylab.io/components/timeline)
|
|
2797
|
+
*/
|
|
2798
|
+
declare const Timeline: React$1.ForwardRefExoticComponent<TimelineProps & React$1.RefAttributes<HTMLOListElement>>;
|
|
2799
|
+
interface TimelineSectionProps extends React$1.LiHTMLAttributes<HTMLLIElement>, VariantProps<typeof timelineSectionVariants> {
|
|
2800
|
+
/** Names the section's entries for assistive technology, such as "Events while in review". The marker is decorative, so leave it out only when every entry already says the state */
|
|
2801
|
+
label?: string;
|
|
2802
|
+
/** A Lucide icon element, such as `<Clock />`, drawn in the marker. The timeline sizes it. `neutral` and `primary` sections need one */
|
|
2803
|
+
icon?: React$1.ReactElement;
|
|
2804
|
+
/** The section's `TimelineItem`s */
|
|
2805
|
+
children: React$1.ReactNode;
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* **Props**
|
|
2809
|
+
* - `variant?: "neutral" | "primary" | "success" | "warning" | "danger"` (default `"neutral"`) — The status the section's marker and connector report
|
|
2810
|
+
* - `label?: string` — Names the section's entries for assistive technology, such as "Events while in review". The marker is decorative, so leave it out only when every entry already says the state
|
|
2811
|
+
* - `icon?: React.ReactElement` — A Lucide icon element, such as `<Clock />`, drawn in the marker. The timeline sizes it. `neutral` and `primary` sections need one
|
|
2812
|
+
* - `children: React.ReactNode` — The section's `TimelineItem`s
|
|
2813
|
+
*
|
|
2814
|
+
* Also accepts the standard `HTMLLIElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
|
|
2815
|
+
*
|
|
2816
|
+
* [Timeline documentation](https://equality.eqtylab.io/components/timeline)
|
|
2817
|
+
*/
|
|
2818
|
+
declare const TimelineSection: React$1.ForwardRefExoticComponent<TimelineSectionProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
2819
|
+
interface TimelineItemProps extends React$1.LiHTMLAttributes<HTMLLIElement> {
|
|
2820
|
+
/** Makes the entry a link's target, such as `#event-12` */
|
|
2821
|
+
id?: string;
|
|
2822
|
+
/** The entry: a card, a line of text, anything */
|
|
2823
|
+
children: React$1.ReactNode;
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* **Props**
|
|
2827
|
+
* - `id?: string` — Makes the entry a link's target, such as `#event-12`
|
|
2828
|
+
* - `children: React.ReactNode` — The entry: a card, a line of text, anything
|
|
2829
|
+
*
|
|
2830
|
+
* Also accepts the standard `HTMLLIElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
|
|
2831
|
+
*
|
|
2832
|
+
* [Timeline documentation](https://equality.eqtylab.io/components/timeline)
|
|
2833
|
+
*/
|
|
2834
|
+
declare const TimelineItem: React$1.ForwardRefExoticComponent<TimelineItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
2835
|
+
|
|
2774
2836
|
/**
|
|
2775
2837
|
* **Props**
|
|
2776
2838
|
* - `children?: ReactNode`
|
|
@@ -3094,4 +3156,4 @@ declare const CODE_BLOCK_ATTRIBUTE = "data-equality-code-block";
|
|
|
3094
3156
|
*/
|
|
3095
3157
|
declare const scheduleHighlight: (root?: Node) => Promise<void>;
|
|
3096
3158
|
|
|
3097
|
-
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, Banner, BarGraph, type BarGraphProps, BarGraphSegment, type BarGraphSegmentProps, BgGradient, Button, type ButtonProps, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, type FormatDateDisplayMode, type FormatDateProps, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, type NavDrillLevelProps, type NavDrillProps, type NavDrillRequest, NavList, NavListExpandable, NavListExpandableContent, type NavListExpandableProps, NavListExpandableTrigger, type NavListExpandableTriggerProps, NavListGroup, type NavListGroupProps, NavListItem, type NavListItemProps, type NavListProps, NavListSeparator, NavPanel, type NavPanelProps, NavRail, NavRailItem, type NavRailItemProps, type NavRailProps, NavSwitcher, type NavSwitcherAction, type NavSwitcherOption, type NavSwitcherProps, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, SearchBar, SectionHeading, type SegmentedControlOption, type SegmentedControlVariant, SegmentedControls, type SegmentedControlsDisplay, type SegmentedControlsProps, type SegmentedControlsSize, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|
|
3159
|
+
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, Banner, BarGraph, type BarGraphProps, BarGraphSegment, type BarGraphSegmentProps, BgGradient, Button, type ButtonProps, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, type FormatDateDisplayMode, type FormatDateProps, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, type NavDrillLevelProps, type NavDrillProps, type NavDrillRequest, NavList, NavListExpandable, NavListExpandableContent, type NavListExpandableProps, NavListExpandableTrigger, type NavListExpandableTriggerProps, NavListGroup, type NavListGroupProps, NavListItem, type NavListItemProps, type NavListProps, NavListSeparator, NavPanel, type NavPanelProps, NavRail, NavRailItem, type NavRailItemProps, type NavRailProps, NavSwitcher, type NavSwitcherAction, type NavSwitcherOption, type NavSwitcherProps, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, SearchBar, SectionHeading, type SegmentedControlOption, type SegmentedControlVariant, SegmentedControls, type SegmentedControlsDisplay, type SegmentedControlsProps, type SegmentedControlsSize, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSection, type TimelineSectionProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
|
|
|
132
132
|
* [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
|
|
133
133
|
*/
|
|
134
134
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
135
|
-
variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "
|
|
135
|
+
variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
|
|
136
136
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
137
137
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
138
138
|
prefix?: React$1.ReactNode;
|
|
@@ -151,7 +151,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<Ale
|
|
|
151
151
|
* [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
|
|
152
152
|
*/
|
|
153
153
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
154
|
-
variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "
|
|
154
|
+
variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
|
|
155
155
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
156
156
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
157
157
|
prefix?: React$1.ReactNode;
|
|
@@ -452,7 +452,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
452
452
|
}) => react_jsx_runtime.JSX.Element;
|
|
453
453
|
|
|
454
454
|
declare const buttonVariants: (props?: ({
|
|
455
|
-
variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "
|
|
455
|
+
variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
|
|
456
456
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
457
457
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
458
458
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -2771,6 +2771,68 @@ declare const Tabs: ({ items, className, tabsListBackground, value, defaultValue
|
|
|
2771
2771
|
*/
|
|
2772
2772
|
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
2773
2773
|
|
|
2774
|
+
declare const timelineVariants: (props?: ({
|
|
2775
|
+
/** The markers' size: `sm` an icon-only Badge, `md` as tall as a Button */
|
|
2776
|
+
size?: "sm" | "md" | null | undefined;
|
|
2777
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2778
|
+
declare const timelineSectionVariants: (props?: ({
|
|
2779
|
+
/** The status the section's marker and connector report */
|
|
2780
|
+
variant?: "primary" | "danger" | "success" | "warning" | "neutral" | null | undefined;
|
|
2781
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2782
|
+
interface TimelineProps extends React$1.OlHTMLAttributes<HTMLOListElement>, VariantProps<typeof timelineVariants> {
|
|
2783
|
+
/** Names the timeline for assistive technology, such as "Control timeline". Point `aria-labelledby` at a visible heading instead when there is one */
|
|
2784
|
+
'aria-label'?: string;
|
|
2785
|
+
/** The `TimelineSection`s, in the order they happened */
|
|
2786
|
+
children: React$1.ReactNode;
|
|
2787
|
+
}
|
|
2788
|
+
/**
|
|
2789
|
+
* **Props**
|
|
2790
|
+
* - `size?: "sm" | "md"` (default `"md"`) — The markers' size: `sm` an icon-only Badge, `md` as tall as a Button
|
|
2791
|
+
* - `"aria-label"?: string` — Names the timeline for assistive technology, such as "Control timeline". Point `aria-labelledby` at a visible heading instead when there is one
|
|
2792
|
+
* - `children: React.ReactNode` — The `TimelineSection`s, in the order they happened
|
|
2793
|
+
*
|
|
2794
|
+
* Also accepts the standard `HTMLOListElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
|
|
2795
|
+
*
|
|
2796
|
+
* [Timeline documentation](https://equality.eqtylab.io/components/timeline)
|
|
2797
|
+
*/
|
|
2798
|
+
declare const Timeline: React$1.ForwardRefExoticComponent<TimelineProps & React$1.RefAttributes<HTMLOListElement>>;
|
|
2799
|
+
interface TimelineSectionProps extends React$1.LiHTMLAttributes<HTMLLIElement>, VariantProps<typeof timelineSectionVariants> {
|
|
2800
|
+
/** Names the section's entries for assistive technology, such as "Events while in review". The marker is decorative, so leave it out only when every entry already says the state */
|
|
2801
|
+
label?: string;
|
|
2802
|
+
/** A Lucide icon element, such as `<Clock />`, drawn in the marker. The timeline sizes it. `neutral` and `primary` sections need one */
|
|
2803
|
+
icon?: React$1.ReactElement;
|
|
2804
|
+
/** The section's `TimelineItem`s */
|
|
2805
|
+
children: React$1.ReactNode;
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* **Props**
|
|
2809
|
+
* - `variant?: "neutral" | "primary" | "success" | "warning" | "danger"` (default `"neutral"`) — The status the section's marker and connector report
|
|
2810
|
+
* - `label?: string` — Names the section's entries for assistive technology, such as "Events while in review". The marker is decorative, so leave it out only when every entry already says the state
|
|
2811
|
+
* - `icon?: React.ReactElement` — A Lucide icon element, such as `<Clock />`, drawn in the marker. The timeline sizes it. `neutral` and `primary` sections need one
|
|
2812
|
+
* - `children: React.ReactNode` — The section's `TimelineItem`s
|
|
2813
|
+
*
|
|
2814
|
+
* Also accepts the standard `HTMLLIElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
|
|
2815
|
+
*
|
|
2816
|
+
* [Timeline documentation](https://equality.eqtylab.io/components/timeline)
|
|
2817
|
+
*/
|
|
2818
|
+
declare const TimelineSection: React$1.ForwardRefExoticComponent<TimelineSectionProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
2819
|
+
interface TimelineItemProps extends React$1.LiHTMLAttributes<HTMLLIElement> {
|
|
2820
|
+
/** Makes the entry a link's target, such as `#event-12` */
|
|
2821
|
+
id?: string;
|
|
2822
|
+
/** The entry: a card, a line of text, anything */
|
|
2823
|
+
children: React$1.ReactNode;
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* **Props**
|
|
2827
|
+
* - `id?: string` — Makes the entry a link's target, such as `#event-12`
|
|
2828
|
+
* - `children: React.ReactNode` — The entry: a card, a line of text, anything
|
|
2829
|
+
*
|
|
2830
|
+
* Also accepts the standard `HTMLLIElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
|
|
2831
|
+
*
|
|
2832
|
+
* [Timeline documentation](https://equality.eqtylab.io/components/timeline)
|
|
2833
|
+
*/
|
|
2834
|
+
declare const TimelineItem: React$1.ForwardRefExoticComponent<TimelineItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
2835
|
+
|
|
2774
2836
|
/**
|
|
2775
2837
|
* **Props**
|
|
2776
2838
|
* - `children?: ReactNode`
|
|
@@ -3094,4 +3156,4 @@ declare const CODE_BLOCK_ATTRIBUTE = "data-equality-code-block";
|
|
|
3094
3156
|
*/
|
|
3095
3157
|
declare const scheduleHighlight: (root?: Node) => Promise<void>;
|
|
3096
3158
|
|
|
3097
|
-
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, Banner, BarGraph, type BarGraphProps, BarGraphSegment, type BarGraphSegmentProps, BgGradient, Button, type ButtonProps, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, type FormatDateDisplayMode, type FormatDateProps, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, type NavDrillLevelProps, type NavDrillProps, type NavDrillRequest, NavList, NavListExpandable, NavListExpandableContent, type NavListExpandableProps, NavListExpandableTrigger, type NavListExpandableTriggerProps, NavListGroup, type NavListGroupProps, NavListItem, type NavListItemProps, type NavListProps, NavListSeparator, NavPanel, type NavPanelProps, NavRail, NavRailItem, type NavRailItemProps, type NavRailProps, NavSwitcher, type NavSwitcherAction, type NavSwitcherOption, type NavSwitcherProps, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, SearchBar, SectionHeading, type SegmentedControlOption, type SegmentedControlVariant, SegmentedControls, type SegmentedControlsDisplay, type SegmentedControlsProps, type SegmentedControlsSize, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|
|
3159
|
+
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, Banner, BarGraph, type BarGraphProps, BarGraphSegment, type BarGraphSegmentProps, BgGradient, Button, type ButtonProps, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, type FormatDateDisplayMode, type FormatDateProps, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, type NavDrillLevelProps, type NavDrillProps, type NavDrillRequest, NavList, NavListExpandable, NavListExpandableContent, type NavListExpandableProps, NavListExpandableTrigger, type NavListExpandableTriggerProps, NavListGroup, type NavListGroupProps, NavListItem, type NavListItemProps, type NavListProps, NavListSeparator, NavPanel, type NavPanelProps, NavRail, NavRailItem, type NavRailItemProps, type NavRailProps, NavSwitcher, type NavSwitcherAction, type NavSwitcherOption, type NavSwitcherProps, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, SearchBar, SectionHeading, type SegmentedControlOption, type SegmentedControlVariant, SegmentedControls, type SegmentedControlsDisplay, type SegmentedControlsProps, type SegmentedControlsSize, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSection, type TimelineSectionProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
import styles4 from './alert.module.module.css.module.css';
|
|
12
12
|
import * as LucideIcons from 'lucide-react';
|
|
13
|
-
import { Check, ChevronRight, Search, TriangleAlert, ChevronLeft, ArrowUpRight, ChevronDown, ChevronsUpDown, Circle, X, SearchIcon, CalendarDays, AlertOctagon, Home, ChevronsLeft, ChevronsRight, ArrowUp, ArrowDown, ArrowUpDown } from 'lucide-react';
|
|
13
|
+
import { Check, ChevronRight, Search, TriangleAlert, ChevronLeft, ArrowUpRight, ChevronDown, ChevronsUpDown, Circle, X, OctagonAlert as OctagonAlert$1, SearchIcon, CalendarDays, AlertOctagon, Home, ChevronsLeft, ChevronsRight, ArrowUp, ArrowDown, ArrowUpDown } from 'lucide-react';
|
|
14
14
|
import styles3 from './icon.module.module.css.module.css';
|
|
15
15
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
16
16
|
import styles5 from './avatar.module.module.css.module.css';
|
|
@@ -86,11 +86,12 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
86
86
|
import styles60 from './tabs-components.module.module.css.module.css';
|
|
87
87
|
import styles61 from './tabs.module.module.css.module.css';
|
|
88
88
|
import styles62 from './textarea.module.module.css.module.css';
|
|
89
|
+
import styles63 from './timeline.module.module.css.module.css';
|
|
89
90
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
91
|
+
import styles64 from './toast-components.module.module.css.module.css';
|
|
92
|
+
import styles65 from './toast.module.module.css.module.css';
|
|
93
|
+
import styles66 from './truncated-description.module.module.css.module.css';
|
|
94
|
+
import styles67 from './theme.module.module.css.module.css';
|
|
94
95
|
|
|
95
96
|
// src/components/alert-dialog/alert-dialog.tsx
|
|
96
97
|
var PORTAL_ROOT_ID = "equality-theme-provider-root-portal";
|
|
@@ -250,12 +251,12 @@ var ELEVATION = {
|
|
|
250
251
|
RAISED: "raised",
|
|
251
252
|
OVERLAY: "overlay"
|
|
252
253
|
};
|
|
253
|
-
var generateElevationVariants = (
|
|
254
|
+
var generateElevationVariants = (styles68, baseClassName, defaultElevation) => {
|
|
254
255
|
const classNames = {};
|
|
255
256
|
Object.values(ELEVATION).forEach((elevation) => {
|
|
256
|
-
classNames[elevation] =
|
|
257
|
+
classNames[elevation] = styles68[`${baseClassName}--${elevation}`];
|
|
257
258
|
});
|
|
258
|
-
const variants = cva(
|
|
259
|
+
const variants = cva(styles68[baseClassName], {
|
|
259
260
|
variants: {
|
|
260
261
|
elevation: classNames
|
|
261
262
|
},
|
|
@@ -5066,24 +5067,74 @@ var Textarea = React16.forwardRef(
|
|
|
5066
5067
|
}
|
|
5067
5068
|
);
|
|
5068
5069
|
Textarea.displayName = "Textarea";
|
|
5070
|
+
var timelineVariants = cva(styles63["timeline"], {
|
|
5071
|
+
variants: {
|
|
5072
|
+
/** The markers' size: `sm` an icon-only Badge, `md` as tall as a Button */
|
|
5073
|
+
size: {
|
|
5074
|
+
sm: styles63["timeline--sm"],
|
|
5075
|
+
md: styles63["timeline--md"]
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
defaultVariants: {
|
|
5079
|
+
size: "md"
|
|
5080
|
+
}
|
|
5081
|
+
});
|
|
5082
|
+
var timelineSectionVariants = cva(styles63["timeline-section"], {
|
|
5083
|
+
variants: {
|
|
5084
|
+
/** The status the section's marker and connector report */
|
|
5085
|
+
variant: {
|
|
5086
|
+
neutral: "",
|
|
5087
|
+
primary: styles63["timeline-section--primary"],
|
|
5088
|
+
success: styles63["timeline-section--success"],
|
|
5089
|
+
warning: styles63["timeline-section--warning"],
|
|
5090
|
+
danger: styles63["timeline-section--danger"]
|
|
5091
|
+
}
|
|
5092
|
+
},
|
|
5093
|
+
defaultVariants: {
|
|
5094
|
+
variant: "neutral"
|
|
5095
|
+
}
|
|
5096
|
+
});
|
|
5097
|
+
var Timeline = React16.forwardRef(
|
|
5098
|
+
({ className, size, children, ...props }, ref) => /* @__PURE__ */ jsx("ol", { ref, className: cn(timelineVariants({ size }), className), ...props, children })
|
|
5099
|
+
);
|
|
5100
|
+
Timeline.displayName = "Timeline";
|
|
5101
|
+
var defaultVariantIcons3 = {
|
|
5102
|
+
success: /* @__PURE__ */ jsx(Check, {}),
|
|
5103
|
+
warning: /* @__PURE__ */ jsx(OctagonAlert$1, {}),
|
|
5104
|
+
danger: /* @__PURE__ */ jsx(TriangleAlert, {})
|
|
5105
|
+
};
|
|
5106
|
+
var TimelineSection = React16.forwardRef(
|
|
5107
|
+
({ className, variant, label, icon, children, ...props }, ref) => /* @__PURE__ */ jsxs("li", { ref, className: cn(timelineSectionVariants({ variant }), className), ...props, children: [
|
|
5108
|
+
/* @__PURE__ */ jsxs("div", { className: styles63["timeline-rail"], "aria-hidden": "true", children: [
|
|
5109
|
+
/* @__PURE__ */ jsx("div", { className: styles63["timeline-connector"] }),
|
|
5110
|
+
/* @__PURE__ */ jsx("div", { className: styles63["timeline-marker"], children: icon ?? (variant ? defaultVariantIcons3[variant] : void 0) })
|
|
5111
|
+
] }),
|
|
5112
|
+
/* @__PURE__ */ jsx("ol", { className: styles63["timeline-items"], "aria-label": label, children })
|
|
5113
|
+
] })
|
|
5114
|
+
);
|
|
5115
|
+
TimelineSection.displayName = "TimelineSection";
|
|
5116
|
+
var TimelineItem = React16.forwardRef(
|
|
5117
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn(styles63["timeline-item"], className), ...props })
|
|
5118
|
+
);
|
|
5119
|
+
TimelineItem.displayName = "TimelineItem";
|
|
5069
5120
|
var XIcon2 = X;
|
|
5070
5121
|
var ToastProvider = ToastPrimitives.Provider;
|
|
5071
5122
|
var ToastViewport = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5072
5123
|
ToastPrimitives.Viewport,
|
|
5073
5124
|
{
|
|
5074
5125
|
ref,
|
|
5075
|
-
className: cn(
|
|
5126
|
+
className: cn(styles64["toast-viewport"], className),
|
|
5076
5127
|
...props
|
|
5077
5128
|
}
|
|
5078
5129
|
));
|
|
5079
5130
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
5080
|
-
var toastVariants = cva(
|
|
5131
|
+
var toastVariants = cva(styles64["toast"], {
|
|
5081
5132
|
variants: {
|
|
5082
5133
|
variant: {
|
|
5083
|
-
default:
|
|
5084
|
-
danger:
|
|
5085
|
-
warning:
|
|
5086
|
-
success:
|
|
5134
|
+
default: styles64["toast--default"],
|
|
5135
|
+
danger: styles64["toast--danger"],
|
|
5136
|
+
warning: styles64["toast--warning"],
|
|
5137
|
+
success: styles64["toast--success"]
|
|
5087
5138
|
}
|
|
5088
5139
|
},
|
|
5089
5140
|
defaultVariants: {
|
|
@@ -5108,7 +5159,7 @@ var ToastAction = React16.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
5108
5159
|
ref,
|
|
5109
5160
|
className: cn(
|
|
5110
5161
|
buttonVariants({ variant: "secondary", size: "sm" }),
|
|
5111
|
-
|
|
5162
|
+
styles64["toast-action"],
|
|
5112
5163
|
className
|
|
5113
5164
|
),
|
|
5114
5165
|
...props
|
|
@@ -5120,19 +5171,19 @@ var ToastClose = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
5120
5171
|
{
|
|
5121
5172
|
ref,
|
|
5122
5173
|
"aria-label": "Close",
|
|
5123
|
-
className: cn(
|
|
5174
|
+
className: cn(styles64["toast-close"], className),
|
|
5124
5175
|
...props,
|
|
5125
|
-
children: /* @__PURE__ */ jsx(XIcon2, { className:
|
|
5176
|
+
children: /* @__PURE__ */ jsx(XIcon2, { className: styles64["toast-close-icon"] })
|
|
5126
5177
|
}
|
|
5127
5178
|
));
|
|
5128
5179
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
5129
|
-
var ToastTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, { ref, className: cn(
|
|
5180
|
+
var ToastTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, { ref, className: cn(styles64["toast-title"], className), ...props }));
|
|
5130
5181
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
5131
5182
|
var ToastDescription = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5132
5183
|
ToastPrimitives.Description,
|
|
5133
5184
|
{
|
|
5134
5185
|
ref,
|
|
5135
|
-
className: cn(
|
|
5186
|
+
className: cn(styles64["toast-description"], className),
|
|
5136
5187
|
...props
|
|
5137
5188
|
}
|
|
5138
5189
|
));
|
|
@@ -5267,14 +5318,14 @@ var Toast = ({ toast: toast2 }) => {
|
|
|
5267
5318
|
};
|
|
5268
5319
|
const displayIcon = icon !== void 0 ? icon : getDefaultIcon();
|
|
5269
5320
|
return /* @__PURE__ */ jsxs(ToastContainer, { ...props, variant, children: [
|
|
5270
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5271
|
-
title && /* @__PURE__ */ jsxs("div", { className:
|
|
5321
|
+
/* @__PURE__ */ jsxs("div", { className: styles65["toast-copy"], children: [
|
|
5322
|
+
title && /* @__PURE__ */ jsxs("div", { className: styles65["toast-title-container"], children: [
|
|
5272
5323
|
displayIcon && /* @__PURE__ */ jsx(Icon, { icon: displayIcon, size: "sm", background: "transparent" }),
|
|
5273
5324
|
/* @__PURE__ */ jsx(ToastTitle, { children: title })
|
|
5274
5325
|
] }),
|
|
5275
5326
|
description && /* @__PURE__ */ jsx(ToastDescription, { children: description })
|
|
5276
5327
|
] }),
|
|
5277
|
-
action && /* @__PURE__ */ jsx("div", { className:
|
|
5328
|
+
action && /* @__PURE__ */ jsx("div", { className: styles65["toast-action"], children: action }),
|
|
5278
5329
|
/* @__PURE__ */ jsx(ToastClose, {})
|
|
5279
5330
|
] });
|
|
5280
5331
|
};
|
|
@@ -5309,7 +5360,7 @@ var TruncatedDescription = ({
|
|
|
5309
5360
|
e.stopPropagation();
|
|
5310
5361
|
setExpanded(!expanded);
|
|
5311
5362
|
};
|
|
5312
|
-
return /* @__PURE__ */ jsxs("div", { className: cn(
|
|
5363
|
+
return /* @__PURE__ */ jsxs("div", { className: cn(styles66["truncated-description"], className), children: [
|
|
5313
5364
|
/* @__PURE__ */ jsx("div", { dangerouslySetInnerHTML: { __html: displayDescription } }),
|
|
5314
5365
|
isLongDescription && /* @__PURE__ */ jsx(Button, { variant: "link", size: "sm", onClick: handleToggle, children: expanded ? "Show less" : "Show more" })
|
|
5315
5366
|
] });
|
|
@@ -5330,7 +5381,7 @@ var ThemeProvider = ({ customVars, portalContainer, children }) => {
|
|
|
5330
5381
|
{
|
|
5331
5382
|
id: "equality-theme-provider-root",
|
|
5332
5383
|
"data-equality-root": true,
|
|
5333
|
-
className:
|
|
5384
|
+
className: styles67.root,
|
|
5334
5385
|
style: customVars,
|
|
5335
5386
|
children: [
|
|
5336
5387
|
children,
|
|
@@ -5456,6 +5507,6 @@ var useTheme = () => {
|
|
|
5456
5507
|
return [theme, setTheme];
|
|
5457
5508
|
};
|
|
5458
5509
|
|
|
5459
|
-
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarGraph, BarGraphSegment, BgGradient, Button, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, CopyButton, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, Heading, Icon, IconButton, InfoCard, Input, Label2 as Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, NavList, NavListExpandable, NavListExpandableContent, NavListExpandableTrigger, NavListGroup, NavListItem, NavListSeparator, NavPanel, NavRail, NavRailItem, NavSwitcher, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, ProgressIndicatorStep, RadialGraph, RadioDropdown, RadioGroup2 as RadioGroup, RadioGroupItem, ResourceBadge, SearchBar, SectionHeading, SegmentedControls, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toast, ToastAction, ToastClose, ToastContainer, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|
|
5510
|
+
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarGraph, BarGraphSegment, BgGradient, Button, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, CopyButton, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, Heading, Icon, IconButton, InfoCard, Input, Label2 as Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, NavList, NavListExpandable, NavListExpandableContent, NavListExpandableTrigger, NavListGroup, NavListItem, NavListSeparator, NavPanel, NavRail, NavRailItem, NavSwitcher, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, ProgressIndicatorStep, RadialGraph, RadioDropdown, RadioGroup2 as RadioGroup, RadioGroupItem, ResourceBadge, SearchBar, SectionHeading, SegmentedControls, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Timeline, TimelineItem, TimelineSection, Toast, ToastAction, ToastClose, ToastContainer, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|
|
5460
5511
|
//# sourceMappingURL=index.js.map
|
|
5461
5512
|
//# sourceMappingURL=index.js.map
|