@espressif/dashboard-ui-components 1.4.0 → 1.6.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/.claude/rules/dashboard-ui-consumption.md +31 -0
- package/.cursor/rules/dashboard-ui-consumption.mdc +31 -0
- package/CHANGELOG.md +197 -0
- package/README.md +1 -0
- package/dist/{chunk-TSNA6BHK.js → chunk-45DCL46L.js} +1 -1
- package/dist/{chunk-RCRU3JW2.js → chunk-6RJAKSPV.js} +3 -3
- package/dist/{chunk-KCMVLNM5.js → chunk-ABBHGIFI.js} +1 -1
- package/dist/{chunk-CPVDY4CV.js → chunk-HYSNJBDF.js} +3 -3
- package/dist/{chunk-XMEZ2BP6.js → chunk-IYMCZTJ5.js} +1054 -131
- package/dist/{chunk-7BO76CNB.js → chunk-OKB2WTX7.js} +8 -7
- package/dist/{chunk-UHRNPXO5.js → chunk-ZEQNTNMW.js} +31 -9
- package/dist/common/index.js +6 -6
- package/dist/components/index.d.ts +224 -7
- package/dist/components/index.js +4 -4
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/layouts/index.js +4 -4
- package/dist/use-controlled-state-BL9NoHu8.d.ts +19 -0
- package/package.json +1 -1
- package/src/assets/illustrations/rm-data-download.svg +192 -52
- package/src/styles/colors.css +3 -2
- package/dist/use-controlled-state-Demn-VNO.d.ts +0 -9
|
@@ -10,20 +10,21 @@ import { ChevronRight, MoreHorizontal } from 'lucide-react';
|
|
|
10
10
|
|
|
11
11
|
function useControlledState(props) {
|
|
12
12
|
const { value, defaultValue, onChange } = props;
|
|
13
|
-
const
|
|
14
|
-
|
|
13
|
+
const isControlled = value !== void 0;
|
|
14
|
+
const [internalState, setInternalState] = React9.useState(
|
|
15
|
+
isControlled ? value : defaultValue
|
|
15
16
|
);
|
|
16
17
|
React9.useEffect(() => {
|
|
17
|
-
if (
|
|
18
|
-
}, [value]);
|
|
18
|
+
if (isControlled) setInternalState(value);
|
|
19
|
+
}, [isControlled, value]);
|
|
19
20
|
const setState = React9.useCallback(
|
|
20
21
|
(next, ...args) => {
|
|
21
|
-
setInternalState(next);
|
|
22
|
+
if (!isControlled) setInternalState(next);
|
|
22
23
|
onChange?.(next, ...args);
|
|
23
24
|
},
|
|
24
|
-
[onChange]
|
|
25
|
+
[isControlled, onChange]
|
|
25
26
|
);
|
|
26
|
-
return [
|
|
27
|
+
return [isControlled ? value : internalState, setState];
|
|
27
28
|
}
|
|
28
29
|
function getStrictContext(name) {
|
|
29
30
|
const Context = React9.createContext(void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getStrictContext, Button, Avatar, AvatarImage, AvatarFallback, AvatarBadge, useControlledState, useIsMobile, Separator, Skeleton, useDataState, Collapsible, CollapsibleTrigger, CollapsibleContent } from './chunk-
|
|
1
|
+
import { getStrictContext, Button, Avatar, AvatarImage, AvatarFallback, AvatarBadge, useControlledState, useIsMobile, Separator, Skeleton, useDataState, Collapsible, CollapsibleTrigger, CollapsibleContent } from './chunk-OKB2WTX7.js';
|
|
2
2
|
import { cn, resolveColor, isPresetColor } from './chunk-VU4CZ76T.js';
|
|
3
3
|
import { LoaderCircle, EyeOffIcon, EyeIcon, User, CheckIcon, CircleIcon, ChevronRightIcon, ArrowUpRightIcon, ZapIcon, CopyIcon, XIcon, PanelLeftIcon, X, ChevronDown, CircleDot, Circle, ChevronRight } from 'lucide-react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -2754,6 +2754,26 @@ function SheetDescription2({ className, ...props }) {
|
|
|
2754
2754
|
);
|
|
2755
2755
|
}
|
|
2756
2756
|
var inputLabelClassName = "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50";
|
|
2757
|
+
var fieldHintClassName = "text-sm leading-none text-muted-foreground";
|
|
2758
|
+
function FieldLabelRow({
|
|
2759
|
+
htmlFor,
|
|
2760
|
+
label,
|
|
2761
|
+
required = false,
|
|
2762
|
+
hintContent,
|
|
2763
|
+
className
|
|
2764
|
+
}) {
|
|
2765
|
+
return (
|
|
2766
|
+
// `items-end`: when a long hint wraps, the label stays bottom-aligned so
|
|
2767
|
+
// its text is still exactly one stack gap above the control.
|
|
2768
|
+
/* @__PURE__ */ jsxs("div", { className: cn("flex items-end justify-between gap-2", className), children: [
|
|
2769
|
+
/* @__PURE__ */ jsxs("label", { htmlFor, className: cn(inputLabelClassName, "shrink-0 whitespace-nowrap"), children: [
|
|
2770
|
+
label,
|
|
2771
|
+
required && /* @__PURE__ */ jsx("span", { className: "text-destructive", children: "*" })
|
|
2772
|
+
] }),
|
|
2773
|
+
hintContent && /* @__PURE__ */ jsx("span", { className: cn(fieldHintClassName, "min-w-0 text-end"), children: hintContent })
|
|
2774
|
+
] })
|
|
2775
|
+
);
|
|
2776
|
+
}
|
|
2757
2777
|
var sizeClasses2 = {
|
|
2758
2778
|
sm: "h-8 px-2 text-xs",
|
|
2759
2779
|
default: "h-10 px-3 py-2 text-base md:text-sm",
|
|
@@ -2911,14 +2931,16 @@ var Input = React.forwardRef(
|
|
|
2911
2931
|
] });
|
|
2912
2932
|
}
|
|
2913
2933
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-2 flex-1", children: [
|
|
2914
|
-
label && !floatingLabel && /* @__PURE__ */
|
|
2915
|
-
|
|
2934
|
+
label && !floatingLabel && /* @__PURE__ */ jsx(
|
|
2935
|
+
FieldLabelRow,
|
|
2936
|
+
{
|
|
2937
|
+
htmlFor: inputId,
|
|
2916
2938
|
label,
|
|
2917
|
-
required
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
!label && hintContent && /* @__PURE__ */ jsx("span", { className:
|
|
2939
|
+
required,
|
|
2940
|
+
hintContent
|
|
2941
|
+
}
|
|
2942
|
+
),
|
|
2943
|
+
!label && hintContent && /* @__PURE__ */ jsx("span", { className: fieldHintClassName, children: hintContent }),
|
|
2922
2944
|
inputContainer,
|
|
2923
2945
|
errorContent && /* @__PURE__ */ jsx("div", { id: `${inputId}-error`, className: "text-sm text-destructive", children: errorContent }),
|
|
2924
2946
|
startHelperContent && !errorContent && /* @__PURE__ */ jsx("div", { id: helperStartId, className: "text-sm text-muted-foreground", children: startHelperContent }),
|
|
@@ -4240,4 +4262,4 @@ function parseTextMarkup(text) {
|
|
|
4240
4262
|
return parts;
|
|
4241
4263
|
}
|
|
4242
4264
|
|
|
4243
|
-
export { Avatar2 as Avatar, Button2 as Button, CopyButton, DropdownMenu2 as DropdownMenu, DropdownMenuCheckboxItem2 as DropdownMenuCheckboxItem, DropdownMenuContent2 as DropdownMenuContent, DropdownMenuGroup2 as DropdownMenuGroup, DropdownMenuItem2 as DropdownMenuItem, DropdownMenuLabel2 as DropdownMenuLabel, DropdownMenuRadioGroup2 as DropdownMenuRadioGroup, DropdownMenuRadioItem2 as DropdownMenuRadioItem, DropdownMenuSeparator2 as DropdownMenuSeparator, DropdownMenuShortcut2 as DropdownMenuShortcut, DropdownMenuSub2 as DropdownMenuSub, DropdownMenuSubContent2 as DropdownMenuSubContent, DropdownMenuSubTrigger2 as DropdownMenuSubTrigger, DropdownMenuTrigger2 as DropdownMenuTrigger, FlashButton, GlitchText, GradientText, Highlight, HighlightItem, HighlightText, Input, InputPassword, InvertButton, LIST_CLASS_NAMES, Link, List, Menu, ScrollArea, ScrollBar, Sheet2 as Sheet, SheetClose2 as SheetClose, SheetContent2 as SheetContent, SheetDescription2 as SheetDescription, SheetFooter2 as SheetFooter, SheetHeader2 as SheetHeader, SheetTitle2 as SheetTitle, SheetTrigger2 as SheetTrigger, ShimmeringText, Sidebar, Sidebar2, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Slot, Tooltip2 as Tooltip, Tooltip3 as Tooltip2, TooltipContent2 as TooltipContent, TooltipProvider2 as TooltipProvider, TooltipTrigger2 as TooltipTrigger, buttonVariants3 as buttonVariants, inputLabelClassName, isPathPrefixOf, isSidebarGroup, parseTextMarkup, useSidebar };
|
|
4265
|
+
export { Avatar2 as Avatar, Button2 as Button, CopyButton, DropdownMenu2 as DropdownMenu, DropdownMenuCheckboxItem2 as DropdownMenuCheckboxItem, DropdownMenuContent2 as DropdownMenuContent, DropdownMenuGroup2 as DropdownMenuGroup, DropdownMenuItem2 as DropdownMenuItem, DropdownMenuLabel2 as DropdownMenuLabel, DropdownMenuRadioGroup2 as DropdownMenuRadioGroup, DropdownMenuRadioItem2 as DropdownMenuRadioItem, DropdownMenuSeparator2 as DropdownMenuSeparator, DropdownMenuShortcut2 as DropdownMenuShortcut, DropdownMenuSub2 as DropdownMenuSub, DropdownMenuSubContent2 as DropdownMenuSubContent, DropdownMenuSubTrigger2 as DropdownMenuSubTrigger, DropdownMenuTrigger2 as DropdownMenuTrigger, FieldLabelRow, FlashButton, GlitchText, GradientText, Highlight, HighlightItem, HighlightText, Input, InputPassword, InvertButton, LIST_CLASS_NAMES, Link, List, Menu, ScrollArea, ScrollBar, Sheet2 as Sheet, SheetClose2 as SheetClose, SheetContent2 as SheetContent, SheetDescription2 as SheetDescription, SheetFooter2 as SheetFooter, SheetHeader2 as SheetHeader, SheetTitle2 as SheetTitle, SheetTrigger2 as SheetTrigger, ShimmeringText, Sidebar, Sidebar2, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Slot, Tooltip2 as Tooltip, Tooltip3 as Tooltip2, TooltipContent2 as TooltipContent, TooltipProvider2 as TooltipProvider, TooltipTrigger2 as TooltipTrigger, buttonVariants3 as buttonVariants, fieldHintClassName, inputLabelClassName, isPathPrefixOf, isSidebarGroup, parseTextMarkup, useSidebar };
|
package/dist/common/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { CopyrightCard, PageLoader } from '../chunk-
|
|
2
|
-
export { AnimatedRainmakerLogo } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
1
|
+
export { CopyrightCard, PageLoader } from '../chunk-HYSNJBDF.js';
|
|
2
|
+
export { AnimatedRainmakerLogo } from '../chunk-IYMCZTJ5.js';
|
|
3
|
+
import '../chunk-ABBHGIFI.js';
|
|
4
|
+
export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from '../chunk-45DCL46L.js';
|
|
5
|
+
import '../chunk-ZEQNTNMW.js';
|
|
6
|
+
import '../chunk-OKB2WTX7.js';
|
|
7
7
|
import '../chunk-VU4CZ76T.js';
|
|
8
8
|
import '../chunk-TRTQSARU.js';
|
|
@@ -145,7 +145,21 @@ interface SectionCardProps {
|
|
|
145
145
|
truncateSecondaryText?: boolean;
|
|
146
146
|
actions?: ReactNode;
|
|
147
147
|
allowCollapse?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Hides the chevron toggle in the header's right column. The header row
|
|
150
|
+
* stays a labelled collapsible trigger, so use this only when something
|
|
151
|
+
* else in the header (an action button, for instance) signals that the
|
|
152
|
+
* card can be expanded. Ignored when `allowCollapse` is `false`.
|
|
153
|
+
*/
|
|
154
|
+
hideCollapseIcon?: boolean;
|
|
148
155
|
defaultOpen?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Controlled open state of the collapsible section. When set, the card
|
|
158
|
+
* follows this value and reports user toggles through `onOpenChange`
|
|
159
|
+
* without changing on its own; leave it undefined to keep the
|
|
160
|
+
* `defaultOpen`-seeded internal state.
|
|
161
|
+
*/
|
|
162
|
+
open?: boolean;
|
|
149
163
|
size?: SectionCardSize;
|
|
150
164
|
/**
|
|
151
165
|
* When set, surface and header text use {@link resolveVariantStyles}.
|
|
@@ -166,7 +180,7 @@ interface SectionCardProps {
|
|
|
166
180
|
/** Called when the collapsible section is expanded or collapsed. */
|
|
167
181
|
onOpenChange?: (open: boolean) => void;
|
|
168
182
|
}
|
|
169
|
-
declare function SectionCard({ icon, primaryText, secondaryText, truncateSecondaryText, actions, allowCollapse, defaultOpen, size, variant, color, children, className, style, fillHeight, onOpenChange, }: SectionCardProps): React$1.JSX.Element;
|
|
183
|
+
declare function SectionCard({ icon, primaryText, secondaryText, truncateSecondaryText, actions, allowCollapse, hideCollapseIcon, defaultOpen, open: controlledOpen, size, variant, color, children, className, style, fillHeight, onOpenChange, }: SectionCardProps): React$1.JSX.Element;
|
|
170
184
|
|
|
171
185
|
declare const animatedCardAnimations: {
|
|
172
186
|
readonly accessDenied: {
|
|
@@ -16965,7 +16979,7 @@ type SelectableCardListProps = SelectableCardListSingleProps | SelectableCardLis
|
|
|
16965
16979
|
|
|
16966
16980
|
declare function SelectableCardList(props: SelectableCardListProps): React$1.JSX.Element;
|
|
16967
16981
|
|
|
16968
|
-
type StatusCardState = "success" | "error" | "in_progress" | "not_started";
|
|
16982
|
+
type StatusCardState = "success" | "warning" | "error" | "in_progress" | "not_started";
|
|
16969
16983
|
type StatusCardListSize = "sm" | "default" | "lg";
|
|
16970
16984
|
interface StatusCardListItem {
|
|
16971
16985
|
id: string;
|
|
@@ -17026,9 +17040,31 @@ declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.Sel
|
|
|
17026
17040
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
17027
17041
|
type SelectTriggerProps = React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> & {
|
|
17028
17042
|
size?: Size;
|
|
17043
|
+
/**
|
|
17044
|
+
* Field chrome matching `Input`: a label row above the trigger and an
|
|
17045
|
+
* error line below it. When none of `label`, `required`, `hintContent`,
|
|
17046
|
+
* `error` or `errorContent` is set the trigger renders as a bare
|
|
17047
|
+
* button, exactly as before these props existed.
|
|
17048
|
+
*/
|
|
17049
|
+
label?: React$1.ReactNode;
|
|
17050
|
+
required?: boolean;
|
|
17051
|
+
hintContent?: React$1.ReactNode;
|
|
17052
|
+
error?: boolean;
|
|
17053
|
+
errorContent?: React$1.ReactNode;
|
|
17029
17054
|
};
|
|
17030
17055
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
17031
17056
|
size?: Size;
|
|
17057
|
+
/**
|
|
17058
|
+
* Field chrome matching `Input`: a label row above the trigger and an
|
|
17059
|
+
* error line below it. When none of `label`, `required`, `hintContent`,
|
|
17060
|
+
* `error` or `errorContent` is set the trigger renders as a bare
|
|
17061
|
+
* button, exactly as before these props existed.
|
|
17062
|
+
*/
|
|
17063
|
+
label?: React$1.ReactNode;
|
|
17064
|
+
required?: boolean;
|
|
17065
|
+
hintContent?: React$1.ReactNode;
|
|
17066
|
+
error?: boolean;
|
|
17067
|
+
errorContent?: React$1.ReactNode;
|
|
17032
17068
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
17033
17069
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
17034
17070
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -17750,20 +17786,93 @@ interface DatePickerProps {
|
|
|
17750
17786
|
startHelperContent?: React__default.ReactNode;
|
|
17751
17787
|
endHelperContent?: React__default.ReactNode;
|
|
17752
17788
|
hintContent?: React__default.ReactNode;
|
|
17789
|
+
/** Renders an X button next to the trigger that clears the selection. */
|
|
17790
|
+
clearable?: boolean;
|
|
17791
|
+
/** Accessible name of the clear button. @default "Clear" */
|
|
17792
|
+
clearLabel?: string;
|
|
17753
17793
|
calendarProps?: Omit<CalendarProps, "mode" | "selected" | "onSelect">;
|
|
17754
17794
|
open?: boolean;
|
|
17755
17795
|
onOpenChange?: (open: boolean) => void;
|
|
17756
17796
|
className?: string;
|
|
17757
17797
|
}
|
|
17758
17798
|
|
|
17759
|
-
declare function DatePicker(
|
|
17799
|
+
declare function DatePicker(props: DatePickerProps): React$1.JSX.Element;
|
|
17760
17800
|
declare namespace DatePicker {
|
|
17761
17801
|
var displayName: string;
|
|
17762
17802
|
}
|
|
17763
17803
|
|
|
17764
|
-
|
|
17804
|
+
interface DateTimePickerProps {
|
|
17805
|
+
/**
|
|
17806
|
+
* Controlled value. Local wall-clock time; callers convert to UTC or epoch
|
|
17807
|
+
* themselves. Pass `undefined` for "nothing selected".
|
|
17808
|
+
*/
|
|
17809
|
+
value?: Date;
|
|
17810
|
+
onChange?: (date: Date | undefined) => void;
|
|
17811
|
+
defaultValue?: Date;
|
|
17812
|
+
/**
|
|
17813
|
+
* Time of day applied when a day is picked before any time was typed.
|
|
17814
|
+
* `"HH:mm"` or `"HH:mm:ss"`.
|
|
17815
|
+
* @default "00:00"
|
|
17816
|
+
*/
|
|
17817
|
+
defaultTime?: string;
|
|
17818
|
+
/**
|
|
17819
|
+
* Native `step` of the time input in seconds. Values below 60 show a
|
|
17820
|
+
* seconds field.
|
|
17821
|
+
* @default 60
|
|
17822
|
+
*/
|
|
17823
|
+
timeStep?: number;
|
|
17824
|
+
/** Shows an X inside the trigger that clears both the day and the time. */
|
|
17825
|
+
clearable?: boolean;
|
|
17826
|
+
/** Accessible name of the clear button. @default "Clear" */
|
|
17827
|
+
clearLabel?: string;
|
|
17828
|
+
/** Accessible name of the time input inside the dropdown. @default "Time" */
|
|
17829
|
+
timeAriaLabel?: string;
|
|
17830
|
+
/** Formats the value shown in the trigger. Defaults to date-fns `PPP, p`. */
|
|
17831
|
+
formatDate?: (date: Date) => string;
|
|
17832
|
+
/** @default "Pick date and time" */
|
|
17833
|
+
placeholder?: string;
|
|
17834
|
+
label?: React__default.ReactNode;
|
|
17835
|
+
size?: Size;
|
|
17836
|
+
/** Hides the decorative calendar icon in the trigger. */
|
|
17837
|
+
hideIcon?: boolean;
|
|
17838
|
+
disabled?: boolean;
|
|
17839
|
+
required?: boolean;
|
|
17840
|
+
rounded?: boolean;
|
|
17841
|
+
error?: boolean;
|
|
17842
|
+
errorContent?: React__default.ReactNode;
|
|
17843
|
+
hintContent?: React__default.ReactNode;
|
|
17844
|
+
calendarProps?: Omit<CalendarProps, "mode" | "selected" | "onSelect">;
|
|
17845
|
+
/** Controlled open state of the dropdown. */
|
|
17846
|
+
open?: boolean;
|
|
17847
|
+
onOpenChange?: (open: boolean) => void;
|
|
17848
|
+
/** When set, renders a hidden input carrying the ISO string of the value. */
|
|
17849
|
+
name?: string;
|
|
17850
|
+
className?: string;
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
/**
|
|
17854
|
+
* One read-only input that opens a dropdown holding a `Calendar` and a
|
|
17855
|
+
* `TimePicker`. Both edit a single `Date`.
|
|
17856
|
+
*
|
|
17857
|
+
* The time input is driven by a local draft string so a time typed before a
|
|
17858
|
+
* day is picked is kept, and so an incomplete time (the browser reports `""`
|
|
17859
|
+
* mid-edit) never snaps the committed value. Picking a day keeps the dropdown
|
|
17860
|
+
* open so the time can be set in the same interaction.
|
|
17861
|
+
*/
|
|
17862
|
+
declare function DateTimePicker(props: DateTimePickerProps): React$1.JSX.Element;
|
|
17863
|
+
declare namespace DateTimePicker {
|
|
17864
|
+
var displayName: string;
|
|
17865
|
+
}
|
|
17866
|
+
|
|
17867
|
+
declare const PRESET_IDS: readonly ["today", "yesterday", "this-week", "last-week", "this-month", "last-month", "this-year", "last-year", "last-1-hour", "last-24-hours", "last-1-day", "past-7-days", "last-7-days", "last-14-days", "last-15-days", "past-30-days", "last-30-days", "last-4-weeks", "last-90-days", "last-3-months", "last-6-months", "last-1-year", "last-5-years"];
|
|
17765
17868
|
type DateRangePickerPresetId = (typeof PRESET_IDS)[number];
|
|
17766
17869
|
declare const PRESET_LABELS: Record<DateRangePickerPresetId, string>;
|
|
17870
|
+
/**
|
|
17871
|
+
* Presets that end at the current moment instead of snapping to day
|
|
17872
|
+
* boundaries. `past-7-days` and `past-30-days` include today, unlike
|
|
17873
|
+
* `last-7-days` and `last-30-days`, which end yesterday at 23:59.
|
|
17874
|
+
*/
|
|
17875
|
+
declare const ROLLING_PRESET_IDS: readonly ["last-1-hour", "last-24-hours", "past-7-days", "past-30-days"];
|
|
17767
17876
|
declare function computeDateRange(id: DateRangePickerPresetId): {
|
|
17768
17877
|
startDate: Date;
|
|
17769
17878
|
endDate: Date;
|
|
@@ -17806,6 +17915,15 @@ interface DateRangePickerProps {
|
|
|
17806
17915
|
selectedStartDate?: Date;
|
|
17807
17916
|
/** Controlled: Calendar range end. */
|
|
17808
17917
|
selectedEndDate?: Date;
|
|
17918
|
+
/**
|
|
17919
|
+
* Show a "Clear" item at the bottom of the menu while a preset or custom
|
|
17920
|
+
* range is selected. Selecting it calls `onClear` and closes the menu.
|
|
17921
|
+
*/
|
|
17922
|
+
clearable?: boolean;
|
|
17923
|
+
/** Label for the "Clear" menu item (i18n). Default: `"Clear"`. */
|
|
17924
|
+
clearLabel?: string;
|
|
17925
|
+
/** Fires when the "Clear" menu item is selected. The consumer resets its selection. */
|
|
17926
|
+
onClear?: () => void;
|
|
17809
17927
|
/** Custom trigger element. Overrides the default Input trigger entirely. */
|
|
17810
17928
|
trigger?: React__default.ReactNode;
|
|
17811
17929
|
placeholder?: string;
|
|
@@ -17827,7 +17945,7 @@ interface DateRangePickerProps {
|
|
|
17827
17945
|
className?: string;
|
|
17828
17946
|
}
|
|
17829
17947
|
|
|
17830
|
-
declare function DateRangePicker({ presets, presetLabels, allowCustom, lockEndToToday, disableFutureDates, dateFormat, onChange, onPresetChange, onDraftChange, selectedPresetId, selectedStartDate, selectedEndDate, trigger, placeholder, label, size, hideIcon, disabled, required, rounded, error, errorContent, startHelperContent, endHelperContent, hintContent, align, side, className, }: DateRangePickerProps): React$1.JSX.Element;
|
|
17948
|
+
declare function DateRangePicker({ presets, presetLabels, allowCustom, lockEndToToday, disableFutureDates, dateFormat, onChange, onPresetChange, onDraftChange, selectedPresetId, selectedStartDate, selectedEndDate, clearable, clearLabel, onClear, trigger, placeholder, label, size, hideIcon, disabled, required, rounded, error, errorContent, startHelperContent, endHelperContent, hintContent, align, side, className, }: DateRangePickerProps): React$1.JSX.Element;
|
|
17831
17949
|
declare namespace DateRangePicker {
|
|
17832
17950
|
var displayName: string;
|
|
17833
17951
|
}
|
|
@@ -18138,6 +18256,13 @@ interface IllustrationProps extends Omit<ComponentPropsWithoutRef<"div">, "child
|
|
|
18138
18256
|
size?: number;
|
|
18139
18257
|
/** When set, the SVG is exposed to assistive tech with this label; omit for decorative art. */
|
|
18140
18258
|
alt?: string;
|
|
18259
|
+
/**
|
|
18260
|
+
* Plays the illustration's SMIL animations. Off by default: the static
|
|
18261
|
+
* resting frame is rendered and every animation element is stripped, so
|
|
18262
|
+
* nothing moves on pages that only need a picture. Illustrations without
|
|
18263
|
+
* animations are unaffected.
|
|
18264
|
+
*/
|
|
18265
|
+
animated?: boolean;
|
|
18141
18266
|
}
|
|
18142
18267
|
|
|
18143
18268
|
declare const Illustration: React$1.ForwardRefExoticComponent<IllustrationProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -18474,6 +18599,16 @@ interface KeyValueManagerItem {
|
|
|
18474
18599
|
interface KeyValueManagerFieldMeta {
|
|
18475
18600
|
maxLength?: number;
|
|
18476
18601
|
regex?: string;
|
|
18602
|
+
/**
|
|
18603
|
+
* Flags for `regex`, passed to the `RegExp` constructor (e.g. `"u"` to use
|
|
18604
|
+
* Unicode property escapes such as `\p{L}`).
|
|
18605
|
+
*/
|
|
18606
|
+
regexFlags?: string;
|
|
18607
|
+
/**
|
|
18608
|
+
* When set, the field is a select limited to these values instead of free
|
|
18609
|
+
* text, and any other value is rejected.
|
|
18610
|
+
*/
|
|
18611
|
+
options?: string[];
|
|
18477
18612
|
}
|
|
18478
18613
|
interface KeyValueManagerLabels {
|
|
18479
18614
|
/** Placeholder for the search box. Defaults to `Search <keyLabel> or <valueLabel>` (lowercased). */
|
|
@@ -18496,6 +18631,8 @@ interface KeyValueManagerLabels {
|
|
|
18496
18631
|
emptyItems?: string;
|
|
18497
18632
|
/** Message shown when a search returns no results. Default: `"No matches"`. */
|
|
18498
18633
|
emptySearch?: string;
|
|
18634
|
+
/** Placeholder of a field that has `options`. Default: `"Select"`. */
|
|
18635
|
+
selectPlaceholder?: string;
|
|
18499
18636
|
}
|
|
18500
18637
|
interface KeyValueManagerProps {
|
|
18501
18638
|
items: KeyValueManagerItem[];
|
|
@@ -18769,6 +18906,8 @@ interface OverflowBadgeListProps {
|
|
|
18769
18906
|
badgeColor: OverflowBadgeListColor;
|
|
18770
18907
|
/** Badge surface treatment. Default: `"outline"`. */
|
|
18771
18908
|
badgeVariant?: Variant;
|
|
18909
|
+
/** `StatusBadge` size of every badge. Default: `"default"`. */
|
|
18910
|
+
badgeSize?: Size;
|
|
18772
18911
|
/** Maximum badges rendered before the overflow label. Default: `1`. */
|
|
18773
18912
|
maxBadgesToShow?: number;
|
|
18774
18913
|
noneLabel: string;
|
|
@@ -18777,7 +18916,7 @@ interface OverflowBadgeListProps {
|
|
|
18777
18916
|
className?: string;
|
|
18778
18917
|
}
|
|
18779
18918
|
|
|
18780
|
-
declare function OverflowBadgeList({ items, icon: Icon, badgeColor, badgeVariant, maxBadgesToShow, noneLabel, andMoreLabel, className, }: OverflowBadgeListProps): React$1.JSX.Element;
|
|
18919
|
+
declare function OverflowBadgeList({ items, icon: Icon, badgeColor, badgeVariant, badgeSize, maxBadgesToShow, noneLabel, andMoreLabel, className, }: OverflowBadgeListProps): React$1.JSX.Element;
|
|
18781
18920
|
|
|
18782
18921
|
interface PopCollectionItemProps {
|
|
18783
18922
|
index: number;
|
|
@@ -19042,6 +19181,84 @@ type CodeProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
|
|
|
19042
19181
|
};
|
|
19043
19182
|
declare function Code({ className, code, icon: Icon, theme, themes, copyButton, lang, fileName, height, style, ...props }: CodeProps): React$1.JSX.Element;
|
|
19044
19183
|
|
|
19184
|
+
/**
|
|
19185
|
+
* Props for `CodeEditor`. Native textarea props (`value`, `defaultValue`,
|
|
19186
|
+
* `onChange`, `onBlur`, `name`, `id`, `disabled`, `readOnly`, `placeholder`,
|
|
19187
|
+
* `rows`, `aria-*`, …) go to the underlying `<textarea>`, and the forwarded
|
|
19188
|
+
* ref points at it, so `{...field}` / `{...register(name)}` from
|
|
19189
|
+
* react-hook-form work unchanged. `className` and `style` go to the framed
|
|
19190
|
+
* editor box, not the textarea.
|
|
19191
|
+
*/
|
|
19192
|
+
interface CodeEditorProps extends Omit<React$1.ComponentProps<"textarea">, "size" | "wrap" | "children" | "ref"> {
|
|
19193
|
+
/** Shiki language. Default `"json"`. Languages outside the curated bundle render as plain text; `"text"` never highlights. */
|
|
19194
|
+
lang?: string;
|
|
19195
|
+
/** Which of `themes` to colour with. Pass the app's dark-mode flag. Default `"light"`. */
|
|
19196
|
+
theme?: "light" | "dark";
|
|
19197
|
+
/** Shiki theme IDs; see `Code`. Default `everforest-light` / `everforest-dark`. */
|
|
19198
|
+
themes?: {
|
|
19199
|
+
light: string;
|
|
19200
|
+
dark: string;
|
|
19201
|
+
};
|
|
19202
|
+
/**
|
|
19203
|
+
* Hides the header, including its copy and format buttons. Without it the
|
|
19204
|
+
* header is left out automatically when there is nothing to show: no
|
|
19205
|
+
* `fileName`, no `headerActions`, and neither a copy nor a format button.
|
|
19206
|
+
*/
|
|
19207
|
+
hideHeader?: boolean;
|
|
19208
|
+
/** Header: same behaviour as `Code`. */
|
|
19209
|
+
fileName?: React$1.ReactNode;
|
|
19210
|
+
icon?: React$1.ElementType;
|
|
19211
|
+
/** Copy button in the header; copies the current value. Default `true`. */
|
|
19212
|
+
copyButton?: boolean;
|
|
19213
|
+
/**
|
|
19214
|
+
* Format button in the header, before the copy button. Shown by default
|
|
19215
|
+
* when a formatter is available: built in for `lang="json"` (pretty-prints
|
|
19216
|
+
* with `tabSize` spaces), or any `lang` when `formatter` is passed. Pass
|
|
19217
|
+
* `false` to hide it. Formatting is undoable (Cmd/Ctrl+Z) and fires `onChange`.
|
|
19218
|
+
*/
|
|
19219
|
+
formatButton?: boolean;
|
|
19220
|
+
/** Custom formatter; replaces the built-in JSON one. Throw to reject content that can't be formatted. */
|
|
19221
|
+
formatter?: (value: string) => string;
|
|
19222
|
+
/** Called when the formatter throws, e.g. on invalid JSON. The value is left unchanged. */
|
|
19223
|
+
onFormatError?: (error: unknown) => void;
|
|
19224
|
+
/** Accessible name and tooltip of the format button. Default `"Format"`. */
|
|
19225
|
+
formatLabel?: string;
|
|
19226
|
+
/** Accessible name and tooltip of the copy button. Default `"Copy"`. */
|
|
19227
|
+
copyLabel?: string;
|
|
19228
|
+
/** Extra header controls before the format and copy buttons. */
|
|
19229
|
+
headerActions?: React$1.ReactNode;
|
|
19230
|
+
/** Field chrome: same meaning as `Textarea`. */
|
|
19231
|
+
label?: React$1.ReactNode;
|
|
19232
|
+
required?: boolean;
|
|
19233
|
+
hintContent?: React$1.ReactNode;
|
|
19234
|
+
error?: boolean;
|
|
19235
|
+
errorContent?: React$1.ReactNode;
|
|
19236
|
+
/** Minimum height of the editing area (below the header). Numbers are pixels. */
|
|
19237
|
+
minHeight?: number | string;
|
|
19238
|
+
/** Maximum height of the editing area; taller content scrolls. Numbers are pixels. */
|
|
19239
|
+
maxHeight?: number | string;
|
|
19240
|
+
/** Soft-wrap long lines. Default `false` (long lines scroll horizontally). */
|
|
19241
|
+
wrap?: boolean;
|
|
19242
|
+
/** Spaces inserted by Tab and removed by Shift+Tab; also the width of a tab character. Default `2`. */
|
|
19243
|
+
tabSize?: number;
|
|
19244
|
+
/**
|
|
19245
|
+
* Above this many characters, highlighting stops and plain text is shown,
|
|
19246
|
+
* so typing in a very large document stays responsive. Default `10000`.
|
|
19247
|
+
*/
|
|
19248
|
+
maxHighlightLength?: number;
|
|
19249
|
+
}
|
|
19250
|
+
|
|
19251
|
+
/**
|
|
19252
|
+
* Editable, syntax-highlighted code input. Looks like `Code` (same header,
|
|
19253
|
+
* copy button and Shiki themes) and behaves like `Textarea` in a form:
|
|
19254
|
+
* controlled or uncontrolled, native `onChange`, ref to the `<textarea>`.
|
|
19255
|
+
*
|
|
19256
|
+
* Tab indents, Shift+Tab outdents, Enter keeps the indentation. Press Esc,
|
|
19257
|
+
* then Tab, to move focus out of the editor. For JSON (or with a custom
|
|
19258
|
+
* `formatter`) the header has a Format button next to Copy.
|
|
19259
|
+
*/
|
|
19260
|
+
declare const CodeEditor: React$1.ForwardRefExoticComponent<CodeEditorProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
19261
|
+
|
|
19045
19262
|
type PageContainerMaxWidth = "sm" | "md" | "lg" | "xl";
|
|
19046
19263
|
interface GoBackLinkData {
|
|
19047
19264
|
show?: boolean;
|
|
@@ -19096,4 +19313,4 @@ interface PageContainerSkeletonProps {
|
|
|
19096
19313
|
}
|
|
19097
19314
|
declare function PageContainerSkeleton({ maxWidth, noGutters, showBackLink, showHeader, showActions, className, }: PageContainerSkeletonProps): React$1.JSX.Element;
|
|
19098
19315
|
|
|
19099
|
-
export { Accordion, type AccordionItem, type AccordionProps, type AccordionSize, AdvancedSearchBox, type AdvancedSearchBoxProps, Alert, type AlertColor, type AlertIconAvatarVariant, type AlertProps, type AlertSize, type AlertType, type AlertVariant, AnimatedCard, type AnimatedCardProps, type AnimatedCardType, AreaChart, type AreaChartProps, AsyncCombobox, type AsyncComboboxProps, AsyncMultiSelect, type AsyncMultiSelectOption, type AsyncMultiSelectProps, Avatar, type AvatarProps, BarChart, type BarChartProps, type BarSize, BasicDetailsCard, type BasicDetailsCardProps, Button, type ButtonProps$1 as ButtonProps, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, type CalendarProps, Carousel, type CarouselItem, type CarouselNavigationState, type CarouselNavigationStyle, type CarouselOrientation, type CarouselProps, type ChartCategoryColorKey, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, type ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, type CircularProgressProps, Code, type CodeProps, CollapsibleCard, type CollapsibleCardProps, Color, type ComboboxOption, ComposedChart, type ComposedChartProps, type ComposedChartSeries, ConfirmationDialog, type ConfirmationDialogProps, ContentContainer, type ContentContainerMaxWidth, type ContentContainerProps, CopiableText, type CopiableTextProps, CopyButton, type CopyButtonProps, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerCommittedRange, type DateRangePickerDraftRange, type DateRangePickerPresetId, type DateRangePickerProps, DeviceIcon, type DeviceIconProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DonutChart, type DonutChartProps, type DonutDatum, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, DynamicList, type DynamicListEntry, type DynamicListMetaEntry, type DynamicListMetaType, type DynamicListProps, FileInput, type FileInputProps, FileUpload, type FileUploadProps, FlashButton, type FlashButtonProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, type FullSizeErrorProps, FullscreenDialog, type FullscreenDialogProps, GlitchText, type GlitchTextProps, type GoBackLinkData, GradientText, type GradientTextProps, HighlightText, type HighlightTextProps, IconAvatar, type IconAvatarProps, type IconAvatarRingProps, type IconAvatarVariant, IconTextActionCard, type IconTextActionCardProps, type IconTextActionCardVariant, Illustration, type IllustrationProps, type IllustrationType, InlineError, type InlineErrorProps, Input, InputOTP, type InputOTPProps, InputOTPSeparator, InputPassword, InvertButton, type InvertButtonProps, KeyValueManager, type KeyValueManagerFieldMeta, type KeyValueManagerItem, type KeyValueManagerLabels, type KeyValueManagerProps, LineChart, type LineChartProps, type LineStrokeWidth, Link, type LinkColor, type LinkProps, List, ListDetails, type ListDetailsItem, type ListDetailsProps, type ListDetailsTitleListPanelColumnWidth, ListProps, LottieAnimationContainer, type LottieAnimationContainerProps, MarkdownContent, type MarkdownContentProps, Menu, type MenuProps, MonospaceContent, type MonospaceContentProps, NavBar, type NavBarMenuItem, type NavBarPosition, type NavBarProps, NoDataCard, type NoDataCardProps, OverflowBadgeList, type OverflowBadgeListColor, type OverflowBadgeListProps, PRESET_IDS, PRESET_LABELS, PageContainer, type PageContainerMaxWidth, type PageContainerProps, PageContainerSkeleton, type PageContainerSkeletonProps, Pagination, type PaginationProps, PopCollectionItem, type PopCollectionItemProps, PresetColor, PreviewCard, PreviewCardBackdrop, type PreviewCardBackdropProps, PreviewCardPanel, type PreviewCardPanelProps, type PreviewCardProps, PreviewCardTrigger, type PreviewCardTriggerProps, ProgressBar, type ProgressBarProps, type ProgressBarSegment, RadioGroup, type RadioGroupProps, type RadioGroupSize, type RadioOption, RequirementList, type RequirementListItem, type RequirementListProps, type RequirementListSize, ScrollArea, ScrollBar, ScrollableSections, type ScrollableSectionsContentProps, type ScrollableSectionsProps, type ScrollableSectionsTabProps, type ScrollableSectionsTabsProps, SearchBox, type SearchBoxProps, type SearchMeta, SectionCard, type SectionCardProps, type SectionCardSize, type SectionCardVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableCardList, type SelectableCardListElement, type SelectableCardListItem, type SelectableCardListMultiProps, type SelectableCardListProps, type SelectableCardListSingleProps, type SelectableCardListSize, Separator, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, ShimmeringText, type ShimmeringTextProps, Sidebar$1 as Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar as SidebarPrimitive, SidebarProps$1 as SidebarProps, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, type SimpleCardProps, SimpleClickableCard, type SimpleClickableCardProps, type SimpleClickableCardSharedProps, type SimpleClickableCardVariant, SimpleInfoCard, type SimpleInfoCardProps, SimpleList, type SimpleListAvatarSize, type SimpleListIconStyle, type SimpleListItem, type SimpleListItemDirection, type SimpleListProps, SimplePaginatedList, type SimplePaginatedListItem, type SimplePaginatedListProps, type SimplePaginatedListSize, SimplifiedDate, type SimplifiedDateProps, Size, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatCardSize, type StatCardValueType, StatusBadge, type StatusBadgeProps, StatusCardList, type StatusCardListItem, type StatusCardListProps, type StatusCardListSize, type StatusCardState, Switch, type SwitchProps, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, type TabsContentProps, TabsContents, type TabsContentsProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Tag, TagInput, type TagInputProps, type TagProps, Textarea, type TextareaProps, TimePicker, type TimePickerProps, Toast, type ToastColor, type ToastId, type ToastInput, type ToastOptions, type ToastProps, type ToastToasterProps, type ToastType, type ToastVariant, Toaster, type TogglableItem, TogglableItemsList, type TogglableItemsListProps, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip$1 as Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps$2 as TooltipProps, TooltipProvider, type TooltipProviderProps, Tooltip as TooltipRoot, TooltipTrigger, type TooltipTriggerProps, type TransferItem, TransferList, type TransferListProps, type TreemapAnimationEasing, TreemapChart, type TreemapChartProps, type TreemapDatum, type TreemapTileLabelStyle, Typography, type TypographyProps, type TypographyVariant, type UserType, UserTypeBadge, type UserTypeBadgeProps, type UserTypeBadgeRegistryItem, Variant, VerificationInProgress, type VerificationInProgressProps, VerticalStepper, type VerticalStepperProps, type VerticalStepperSize, type VerticalStepperStep, type VerticalStepperStepStatus, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, parseTextMarkup, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, useSidebar, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
|
|
19316
|
+
export { Accordion, type AccordionItem, type AccordionProps, type AccordionSize, AdvancedSearchBox, type AdvancedSearchBoxProps, Alert, type AlertColor, type AlertIconAvatarVariant, type AlertProps, type AlertSize, type AlertType, type AlertVariant, AnimatedCard, type AnimatedCardProps, type AnimatedCardType, AreaChart, type AreaChartProps, AsyncCombobox, type AsyncComboboxProps, AsyncMultiSelect, type AsyncMultiSelectOption, type AsyncMultiSelectProps, Avatar, type AvatarProps, BarChart, type BarChartProps, type BarSize, BasicDetailsCard, type BasicDetailsCardProps, Button, type ButtonProps$1 as ButtonProps, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, type CalendarProps, Carousel, type CarouselItem, type CarouselNavigationState, type CarouselNavigationStyle, type CarouselOrientation, type CarouselProps, type ChartCategoryColorKey, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, type ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, type CircularProgressProps, Code, CodeEditor, type CodeEditorProps, type CodeProps, CollapsibleCard, type CollapsibleCardProps, Color, type ComboboxOption, ComposedChart, type ComposedChartProps, type ComposedChartSeries, ConfirmationDialog, type ConfirmationDialogProps, ContentContainer, type ContentContainerMaxWidth, type ContentContainerProps, CopiableText, type CopiableTextProps, CopyButton, type CopyButtonProps, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerCommittedRange, type DateRangePickerDraftRange, type DateRangePickerPresetId, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DeviceIcon, type DeviceIconProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DonutChart, type DonutChartProps, type DonutDatum, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, DynamicList, type DynamicListEntry, type DynamicListMetaEntry, type DynamicListMetaType, type DynamicListProps, FileInput, type FileInputProps, FileUpload, type FileUploadProps, FlashButton, type FlashButtonProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, type FullSizeErrorProps, FullscreenDialog, type FullscreenDialogProps, GlitchText, type GlitchTextProps, type GoBackLinkData, GradientText, type GradientTextProps, HighlightText, type HighlightTextProps, IconAvatar, type IconAvatarProps, type IconAvatarRingProps, type IconAvatarVariant, IconTextActionCard, type IconTextActionCardProps, type IconTextActionCardVariant, Illustration, type IllustrationProps, type IllustrationType, InlineError, type InlineErrorProps, Input, InputOTP, type InputOTPProps, InputOTPSeparator, InputPassword, InvertButton, type InvertButtonProps, KeyValueManager, type KeyValueManagerFieldMeta, type KeyValueManagerItem, type KeyValueManagerLabels, type KeyValueManagerProps, LineChart, type LineChartProps, type LineStrokeWidth, Link, type LinkColor, type LinkProps, List, ListDetails, type ListDetailsItem, type ListDetailsProps, type ListDetailsTitleListPanelColumnWidth, ListProps, LottieAnimationContainer, type LottieAnimationContainerProps, MarkdownContent, type MarkdownContentProps, Menu, type MenuProps, MonospaceContent, type MonospaceContentProps, NavBar, type NavBarMenuItem, type NavBarPosition, type NavBarProps, NoDataCard, type NoDataCardProps, OverflowBadgeList, type OverflowBadgeListColor, type OverflowBadgeListProps, PRESET_IDS, PRESET_LABELS, PageContainer, type PageContainerMaxWidth, type PageContainerProps, PageContainerSkeleton, type PageContainerSkeletonProps, Pagination, type PaginationProps, PopCollectionItem, type PopCollectionItemProps, PresetColor, PreviewCard, PreviewCardBackdrop, type PreviewCardBackdropProps, PreviewCardPanel, type PreviewCardPanelProps, type PreviewCardProps, PreviewCardTrigger, type PreviewCardTriggerProps, ProgressBar, type ProgressBarProps, type ProgressBarSegment, ROLLING_PRESET_IDS, RadioGroup, type RadioGroupProps, type RadioGroupSize, type RadioOption, RequirementList, type RequirementListItem, type RequirementListProps, type RequirementListSize, ScrollArea, ScrollBar, ScrollableSections, type ScrollableSectionsContentProps, type ScrollableSectionsProps, type ScrollableSectionsTabProps, type ScrollableSectionsTabsProps, SearchBox, type SearchBoxProps, type SearchMeta, SectionCard, type SectionCardProps, type SectionCardSize, type SectionCardVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableCardList, type SelectableCardListElement, type SelectableCardListItem, type SelectableCardListMultiProps, type SelectableCardListProps, type SelectableCardListSingleProps, type SelectableCardListSize, Separator, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, ShimmeringText, type ShimmeringTextProps, Sidebar$1 as Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar as SidebarPrimitive, SidebarProps$1 as SidebarProps, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, type SimpleCardProps, SimpleClickableCard, type SimpleClickableCardProps, type SimpleClickableCardSharedProps, type SimpleClickableCardVariant, SimpleInfoCard, type SimpleInfoCardProps, SimpleList, type SimpleListAvatarSize, type SimpleListIconStyle, type SimpleListItem, type SimpleListItemDirection, type SimpleListProps, SimplePaginatedList, type SimplePaginatedListItem, type SimplePaginatedListProps, type SimplePaginatedListSize, SimplifiedDate, type SimplifiedDateProps, Size, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatCardSize, type StatCardValueType, StatusBadge, type StatusBadgeProps, StatusCardList, type StatusCardListItem, type StatusCardListProps, type StatusCardListSize, type StatusCardState, Switch, type SwitchProps, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, type TabsContentProps, TabsContents, type TabsContentsProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Tag, TagInput, type TagInputProps, type TagProps, Textarea, type TextareaProps, TimePicker, type TimePickerProps, Toast, type ToastColor, type ToastId, type ToastInput, type ToastOptions, type ToastProps, type ToastToasterProps, type ToastType, type ToastVariant, Toaster, type TogglableItem, TogglableItemsList, type TogglableItemsListProps, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip$1 as Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps$2 as TooltipProps, TooltipProvider, type TooltipProviderProps, Tooltip as TooltipRoot, TooltipTrigger, type TooltipTriggerProps, type TransferItem, TransferList, type TransferListProps, type TreemapAnimationEasing, TreemapChart, type TreemapChartProps, type TreemapDatum, type TreemapTileLabelStyle, Typography, type TypographyProps, type TypographyVariant, type UserType, UserTypeBadge, type UserTypeBadgeProps, type UserTypeBadgeRegistryItem, Variant, VerificationInProgress, type VerificationInProgressProps, VerticalStepper, type VerticalStepperProps, type VerticalStepperSize, type VerticalStepperStep, type VerticalStepperStepStatus, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, parseTextMarkup, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, useSidebar, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
|
package/dist/components/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, BarChart, BasicDetailsCard, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CollapsibleCard, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DatePicker, DateRangePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DynamicList, FileInput, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, NavBar, no_data_card_default as NoDataCard, OverflowBadgeList, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, RadioGroup, RequirementList, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, TransferList, TreemapChart, Typography, UserTypeBadge, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from '../chunk-
|
|
2
|
-
export { Badge, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Label, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, arbitraryGradientBackgroundImage, badgeVariants, buttonGroupVariants, resolveVariantStyles } from '../chunk-
|
|
3
|
-
export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FlashButton, GlitchText, GradientText, HighlightText, Input, InputPassword, InvertButton, LIST_CLASS_NAMES, Link, List, Menu, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, Sidebar2 as Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, Tooltip as TooltipRoot, TooltipTrigger, isSidebarGroup, parseTextMarkup, useSidebar } from '../chunk-
|
|
4
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, useIsMobile } from '../chunk-
|
|
1
|
+
export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, BarChart, BasicDetailsCard, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CodeEditor, CollapsibleCard, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DynamicList, FileInput, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, NavBar, no_data_card_default as NoDataCard, OverflowBadgeList, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, ROLLING_PRESET_IDS, RadioGroup, RequirementList, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, TransferList, TreemapChart, Typography, UserTypeBadge, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from '../chunk-IYMCZTJ5.js';
|
|
2
|
+
export { Badge, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Label, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, arbitraryGradientBackgroundImage, badgeVariants, buttonGroupVariants, resolveVariantStyles } from '../chunk-ABBHGIFI.js';
|
|
3
|
+
export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FlashButton, GlitchText, GradientText, HighlightText, Input, InputPassword, InvertButton, LIST_CLASS_NAMES, Link, List, Menu, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, Sidebar2 as Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, Tooltip as TooltipRoot, TooltipTrigger, isSidebarGroup, parseTextMarkup, useSidebar } from '../chunk-ZEQNTNMW.js';
|
|
4
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, useIsMobile } from '../chunk-OKB2WTX7.js';
|
|
5
5
|
import '../chunk-VU4CZ76T.js';
|
|
6
6
|
import '../chunk-TRTQSARU.js';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
5
5
|
export { B as Badge, a as BadgeProps, b as Breadcrumb, c as BreadcrumbEllipsis, d as BreadcrumbItem, e as BreadcrumbLink, f as BreadcrumbList, g as BreadcrumbPage, h as BreadcrumbSeparator, Q as Button, i as ButtonGroup, j as ButtonGroupSeparator, k as ButtonGroupText, R as ButtonProps, C as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardTitle, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, L as Label, u as Popover, v as PopoverAnchor, w as PopoverContent, x as PopoverTrigger, S as Separator, y as SeparatorProps, z as Skeleton, J as badgeVariants, K as buttonGroupVariants, M as buttonVariants, O as useIsMobile } from '../popover-ByLD3-Qv.js';
|
|
6
|
-
export { u as useControlledState } from '../use-controlled-state-
|
|
6
|
+
export { u as useControlledState } from '../use-controlled-state-BL9NoHu8.js';
|
|
7
7
|
import { UseInViewOptions } from 'motion/react';
|
|
8
8
|
import '@radix-ui/react-label';
|
|
9
9
|
import '@radix-ui/react-separator';
|
package/dist/core/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Badge, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Label, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, badgeVariants, buttonGroupVariants, useIsInView } from '../chunk-
|
|
2
|
-
export { Avatar, AvatarFallback, AvatarImage, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, getStrictContext, useControlledState, useDataState, useIsMobile } from '../chunk-
|
|
1
|
+
export { Badge, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Label, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, badgeVariants, buttonGroupVariants, useIsInView } from '../chunk-ABBHGIFI.js';
|
|
2
|
+
export { Avatar, AvatarFallback, AvatarImage, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, getStrictContext, useControlledState, useDataState, useIsMobile } from '../chunk-OKB2WTX7.js';
|
|
3
3
|
import { cn } from '../chunk-VU4CZ76T.js';
|
|
4
4
|
import '../chunk-TRTQSARU.js';
|
|
5
5
|
import * as React from 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { A as AppName, C as Color, P as PresetColor, S as Size } from './index-BQANnKs9.js';
|
|
2
2
|
export { B as Badge, a as BadgeProps, b as Breadcrumb, c as BreadcrumbEllipsis, d as BreadcrumbItem, e as BreadcrumbLink, f as BreadcrumbList, g as BreadcrumbPage, h as BreadcrumbSeparator, i as ButtonGroup, j as ButtonGroupSeparator, k as ButtonGroupText, C as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardTitle, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, L as Label, P as PRESET_GRADIENT_BACKDROP, t as PRESET_GRADIENT_FRAME, u as Popover, v as PopoverAnchor, w as PopoverContent, x as PopoverTrigger, S as Separator, y as SeparatorProps, z as Skeleton, V as VARIANTS, A as VARIANT_GRADIENT_BACKDROP_BASE, D as VARIANT_GRADIENT_DURATION_CLASS, E as VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, F as VARIANT_GRADIENT_TRANSITION_DURATION_MS, G as Variant, H as VariantStyles, I as arbitraryGradientBackgroundImage, J as badgeVariants, K as buttonGroupVariants, M as buttonVariants, N as resolveVariantStyles, O as useIsMobile } from './popover-ByLD3-Qv.js';
|
|
3
|
-
export { Accordion, AccordionItem, AccordionProps, AccordionSize, AdvancedSearchBox, AdvancedSearchBoxProps, Alert, AlertColor, AlertIconAvatarVariant, AlertProps, AlertSize, AlertType, AlertVariant, AnimatedCard, AnimatedCardProps, AnimatedCardType, AreaChart, AreaChartProps, AsyncCombobox, AsyncComboboxProps, AsyncMultiSelect, AsyncMultiSelectOption, AsyncMultiSelectProps, Avatar, AvatarProps, BarChart, BarChartProps, BarSize, BasicDetailsCard, BasicDetailsCardProps, Button, ButtonProps, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, CalendarProps, Carousel, CarouselItem, CarouselNavigationState, CarouselNavigationStyle, CarouselOrientation, CarouselProps, ChartCategoryColorKey, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, CircularProgressProps, Code, CodeProps, CollapsibleCard, CollapsibleCardProps, ComboboxOption, ComposedChart, ComposedChartProps, ComposedChartSeries, ConfirmationDialog, ConfirmationDialogProps, ContentContainer, ContentContainerMaxWidth, ContentContainerProps, CopiableText, CopiableTextProps, CopyButton, CopyButtonProps, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DataTableProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerCommittedRange, DateRangePickerDraftRange, DateRangePickerPresetId, DateRangePickerProps, DeviceIcon, DeviceIconProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, DonutChart, DonutChartProps, DonutDatum, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, DynamicList, DynamicListEntry, DynamicListMetaEntry, DynamicListMetaType, DynamicListProps, FileInput, FileInputProps, FileUpload, FileUploadProps, FlashButton, FlashButtonProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullSizeErrorProps, FullscreenDialog, FullscreenDialogProps, GlitchText, GlitchTextProps, GoBackLinkData, GradientText, GradientTextProps, HighlightText, HighlightTextProps, IconAvatar, IconAvatarProps, IconAvatarRingProps, IconAvatarVariant, IconTextActionCard, IconTextActionCardProps, IconTextActionCardVariant, Illustration, IllustrationProps, IllustrationType, InlineError, InlineErrorProps, Input, InputOTP, InputOTPProps, InputOTPSeparator, InputPassword, InvertButton, InvertButtonProps, KeyValueManager, KeyValueManagerFieldMeta, KeyValueManagerItem, KeyValueManagerLabels, KeyValueManagerProps, LineChart, LineChartProps, LineStrokeWidth, Link, LinkColor, LinkProps, List, ListDetails, ListDetailsItem, ListDetailsProps, ListDetailsTitleListPanelColumnWidth, LottieAnimationContainer, LottieAnimationContainerProps, MarkdownContent, MarkdownContentProps, Menu, MenuProps, MonospaceContent, MonospaceContentProps, NavBar, NavBarMenuItem, NavBarPosition, NavBarProps, NoDataCard, NoDataCardProps, OverflowBadgeList, OverflowBadgeListColor, OverflowBadgeListProps, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerMaxWidth, PageContainerProps, PageContainerSkeleton, PageContainerSkeletonProps, Pagination, PaginationProps, PopCollectionItem, PopCollectionItemProps, PreviewCard, PreviewCardBackdrop, PreviewCardBackdropProps, PreviewCardPanel, PreviewCardPanelProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps, ProgressBar, ProgressBarProps, ProgressBarSegment, RadioGroup, RadioGroupProps, RadioGroupSize, RadioOption, RequirementList, RequirementListItem, RequirementListProps, RequirementListSize, ScrollArea, ScrollBar, ScrollableSections, ScrollableSectionsContentProps, ScrollableSectionsProps, ScrollableSectionsTabProps, ScrollableSectionsTabsProps, SearchBox, SearchBoxProps, SearchMeta, SectionCard, SectionCardProps, SectionCardSize, SectionCardVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, SelectableCardList, SelectableCardListElement, SelectableCardListItem, SelectableCardListMultiProps, SelectableCardListProps, SelectableCardListSingleProps, SelectableCardListSize, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, ShimmeringText, ShimmeringTextProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleCardProps, SimpleClickableCard, SimpleClickableCardProps, SimpleClickableCardSharedProps, SimpleClickableCardVariant, SimpleInfoCard, SimpleInfoCardProps, SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps, SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize, SimplifiedDate, SimplifiedDateProps, Spinner, SpinnerProps, StatCard, StatCardProps, StatCardSize, StatCardValueType, StatusBadge, StatusBadgeProps, StatusCardList, StatusCardListItem, StatusCardListProps, StatusCardListSize, StatusCardState, Switch, SwitchProps, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContentProps, TabsContents, TabsContentsProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Tag, TagInput, TagInputProps, TagProps, Textarea, TextareaProps, TimePicker, TimePickerProps, Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, TogglableItem, TogglableItemsList, TogglableItemsListProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipTrigger, TooltipTriggerProps, TransferItem, TransferList, TransferListProps, TreemapAnimationEasing, TreemapChart, TreemapChartProps, TreemapDatum, TreemapTileLabelStyle, Typography, TypographyProps, TypographyVariant, UserType, UserTypeBadge, UserTypeBadgeProps, UserTypeBadgeRegistryItem, VerificationInProgress, VerificationInProgressProps, VerticalStepper, VerticalStepperProps, VerticalStepperSize, VerticalStepperStep, VerticalStepperStepStatus, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, parseTextMarkup, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, useSidebar, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './components/index.js';
|
|
3
|
+
export { Accordion, AccordionItem, AccordionProps, AccordionSize, AdvancedSearchBox, AdvancedSearchBoxProps, Alert, AlertColor, AlertIconAvatarVariant, AlertProps, AlertSize, AlertType, AlertVariant, AnimatedCard, AnimatedCardProps, AnimatedCardType, AreaChart, AreaChartProps, AsyncCombobox, AsyncComboboxProps, AsyncMultiSelect, AsyncMultiSelectOption, AsyncMultiSelectProps, Avatar, AvatarProps, BarChart, BarChartProps, BarSize, BasicDetailsCard, BasicDetailsCardProps, Button, ButtonProps, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, CalendarProps, Carousel, CarouselItem, CarouselNavigationState, CarouselNavigationStyle, CarouselOrientation, CarouselProps, ChartCategoryColorKey, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, CircularProgressProps, Code, CodeEditor, CodeEditorProps, CodeProps, CollapsibleCard, CollapsibleCardProps, ComboboxOption, ComposedChart, ComposedChartProps, ComposedChartSeries, ConfirmationDialog, ConfirmationDialogProps, ContentContainer, ContentContainerMaxWidth, ContentContainerProps, CopiableText, CopiableTextProps, CopyButton, CopyButtonProps, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DataTableProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerCommittedRange, DateRangePickerDraftRange, DateRangePickerPresetId, DateRangePickerProps, DateTimePicker, DateTimePickerProps, DeviceIcon, DeviceIconProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, DonutChart, DonutChartProps, DonutDatum, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, DynamicList, DynamicListEntry, DynamicListMetaEntry, DynamicListMetaType, DynamicListProps, FileInput, FileInputProps, FileUpload, FileUploadProps, FlashButton, FlashButtonProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullSizeErrorProps, FullscreenDialog, FullscreenDialogProps, GlitchText, GlitchTextProps, GoBackLinkData, GradientText, GradientTextProps, HighlightText, HighlightTextProps, IconAvatar, IconAvatarProps, IconAvatarRingProps, IconAvatarVariant, IconTextActionCard, IconTextActionCardProps, IconTextActionCardVariant, Illustration, IllustrationProps, IllustrationType, InlineError, InlineErrorProps, Input, InputOTP, InputOTPProps, InputOTPSeparator, InputPassword, InvertButton, InvertButtonProps, KeyValueManager, KeyValueManagerFieldMeta, KeyValueManagerItem, KeyValueManagerLabels, KeyValueManagerProps, LineChart, LineChartProps, LineStrokeWidth, Link, LinkColor, LinkProps, List, ListDetails, ListDetailsItem, ListDetailsProps, ListDetailsTitleListPanelColumnWidth, LottieAnimationContainer, LottieAnimationContainerProps, MarkdownContent, MarkdownContentProps, Menu, MenuProps, MonospaceContent, MonospaceContentProps, NavBar, NavBarMenuItem, NavBarPosition, NavBarProps, NoDataCard, NoDataCardProps, OverflowBadgeList, OverflowBadgeListColor, OverflowBadgeListProps, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerMaxWidth, PageContainerProps, PageContainerSkeleton, PageContainerSkeletonProps, Pagination, PaginationProps, PopCollectionItem, PopCollectionItemProps, PreviewCard, PreviewCardBackdrop, PreviewCardBackdropProps, PreviewCardPanel, PreviewCardPanelProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps, ProgressBar, ProgressBarProps, ProgressBarSegment, ROLLING_PRESET_IDS, RadioGroup, RadioGroupProps, RadioGroupSize, RadioOption, RequirementList, RequirementListItem, RequirementListProps, RequirementListSize, ScrollArea, ScrollBar, ScrollableSections, ScrollableSectionsContentProps, ScrollableSectionsProps, ScrollableSectionsTabProps, ScrollableSectionsTabsProps, SearchBox, SearchBoxProps, SearchMeta, SectionCard, SectionCardProps, SectionCardSize, SectionCardVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, SelectableCardList, SelectableCardListElement, SelectableCardListItem, SelectableCardListMultiProps, SelectableCardListProps, SelectableCardListSingleProps, SelectableCardListSize, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, ShimmeringText, ShimmeringTextProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleCardProps, SimpleClickableCard, SimpleClickableCardProps, SimpleClickableCardSharedProps, SimpleClickableCardVariant, SimpleInfoCard, SimpleInfoCardProps, SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps, SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize, SimplifiedDate, SimplifiedDateProps, Spinner, SpinnerProps, StatCard, StatCardProps, StatCardSize, StatCardValueType, StatusBadge, StatusBadgeProps, StatusCardList, StatusCardListItem, StatusCardListProps, StatusCardListSize, StatusCardState, Switch, SwitchProps, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContentProps, TabsContents, TabsContentsProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Tag, TagInput, TagInputProps, TagProps, Textarea, TextareaProps, TimePicker, TimePickerProps, Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, TogglableItem, TogglableItemsList, TogglableItemsListProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipTrigger, TooltipTriggerProps, TransferItem, TransferList, TransferListProps, TreemapAnimationEasing, TreemapChart, TreemapChartProps, TreemapDatum, TreemapTileLabelStyle, Typography, TypographyProps, TypographyVariant, UserType, UserTypeBadge, UserTypeBadgeProps, UserTypeBadgeRegistryItem, VerificationInProgress, VerificationInProgressProps, VerticalStepper, VerticalStepperProps, VerticalStepperSize, VerticalStepperStep, VerticalStepperStepStatus, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, parseTextMarkup, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, useSidebar, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './components/index.js';
|
|
4
4
|
export { L as LIST_CLASS_NAMES, a as ListGroup, b as ListItem, c as ListItemSize, d as ListItemVariant, e as ListLinkComponentProps, f as ListProps, g as ListRole } from './list.props-x1j3CbcF.js';
|
|
5
5
|
export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLinkComponentProps, d as SidebarNavEntry, e as SidebarProps, f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from './types-DtUxK-Am.js';
|
|
6
6
|
export { AnimatedRainmakerLogo, AnimatedRainmakerLogoProps, AppLogo, CopyrightCard, CopyrightCardProps, FooterCard, MyAccountMenu, MyAccountMenuProps, PageLoader, ProfileCard, ProfileCardProps } from './common/index.js';
|
|
7
7
|
export { A as AppLogoProps, L as LogoAsset, a as LogoAssetConfig, b as LogoVariantSet } from './app-logo.props-Ct7QBdTd.js';
|
|
8
8
|
export { AccountMenu, AccountMenuProps, BreadcrumbItemConfig, EntryLayout, EntryLayoutProps, LanguageOption, WorkspaceFooter, WorkspaceFooterConfig, WorkspaceFooterProps, WorkspaceHeader, WorkspaceHeaderConfig, WorkspaceHeaderProps, WorkspaceLayout, WorkspaceLayoutProps, WorkspaceSidebarConfig } from './layouts/index.js';
|
|
9
9
|
export { c as cn } from './cn-Cbsgs0XP.js';
|
|
10
|
-
export { u as useControlledState } from './use-controlled-state-
|
|
10
|
+
export { u as useControlledState } from './use-controlled-state-BL9NoHu8.js';
|
|
11
11
|
import 'class-variance-authority/types';
|
|
12
12
|
import 'react';
|
|
13
13
|
import 'class-variance-authority';
|