@thangnqdev/ui 0.1.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/README.md +196 -0
- package/dist/Label-DWOlgSNW.d.cts +14 -0
- package/dist/Label-DWOlgSNW.d.ts +14 -0
- package/dist/bento/index.cjs +140 -0
- package/dist/bento/index.cjs.map +1 -0
- package/dist/bento/index.d.cts +4 -0
- package/dist/bento/index.d.ts +4 -0
- package/dist/bento/index.js +4 -0
- package/dist/bento/index.js.map +1 -0
- package/dist/bento/styles.css +46 -0
- package/dist/buttons/index.cjs +365 -0
- package/dist/buttons/index.cjs.map +1 -0
- package/dist/buttons/index.d.cts +4 -0
- package/dist/buttons/index.d.ts +4 -0
- package/dist/buttons/index.js +5 -0
- package/dist/buttons/index.js.map +1 -0
- package/dist/buttons/styles.css +6 -0
- package/dist/chunk-2OXZK6IP.js +514 -0
- package/dist/chunk-2OXZK6IP.js.map +1 -0
- package/dist/chunk-4S6L5V7X.js +15 -0
- package/dist/chunk-4S6L5V7X.js.map +1 -0
- package/dist/chunk-5FZ6ZFII.js +728 -0
- package/dist/chunk-5FZ6ZFII.js.map +1 -0
- package/dist/chunk-66VWUJEI.js +86 -0
- package/dist/chunk-66VWUJEI.js.map +1 -0
- package/dist/chunk-A7P3O5Z5.js +163 -0
- package/dist/chunk-A7P3O5Z5.js.map +1 -0
- package/dist/chunk-ATYGDTMK.js +257 -0
- package/dist/chunk-ATYGDTMK.js.map +1 -0
- package/dist/chunk-C4SUXMI3.js +138 -0
- package/dist/chunk-C4SUXMI3.js.map +1 -0
- package/dist/chunk-EU2LPUYP.js +25 -0
- package/dist/chunk-EU2LPUYP.js.map +1 -0
- package/dist/chunk-F5Q7BTMH.js +1991 -0
- package/dist/chunk-F5Q7BTMH.js.map +1 -0
- package/dist/chunk-GXI2H5XA.js +46 -0
- package/dist/chunk-GXI2H5XA.js.map +1 -0
- package/dist/chunk-H3LCNPMC.js +101 -0
- package/dist/chunk-H3LCNPMC.js.map +1 -0
- package/dist/chunk-IABPUCAQ.js +19 -0
- package/dist/chunk-IABPUCAQ.js.map +1 -0
- package/dist/chunk-KJRBRTQE.js +101 -0
- package/dist/chunk-KJRBRTQE.js.map +1 -0
- package/dist/chunk-LBUBXUYQ.js +40 -0
- package/dist/chunk-LBUBXUYQ.js.map +1 -0
- package/dist/chunk-LWFRUJRU.js +537 -0
- package/dist/chunk-LWFRUJRU.js.map +1 -0
- package/dist/chunk-NFVONJUK.js +882 -0
- package/dist/chunk-NFVONJUK.js.map +1 -0
- package/dist/chunk-PF4ZHGVW.js +284 -0
- package/dist/chunk-PF4ZHGVW.js.map +1 -0
- package/dist/chunk-WAFHC4DQ.js +366 -0
- package/dist/chunk-WAFHC4DQ.js.map +1 -0
- package/dist/chunk-X76KBH4Y.js +71 -0
- package/dist/chunk-X76KBH4Y.js.map +1 -0
- package/dist/core/index.cjs +103 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +3 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +4 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/styles.css +128 -0
- package/dist/data-display/index.cjs +1023 -0
- package/dist/data-display/index.cjs.map +1 -0
- package/dist/data-display/index.d.cts +4 -0
- package/dist/data-display/index.d.ts +4 -0
- package/dist/data-display/index.js +6 -0
- package/dist/data-display/index.js.map +1 -0
- package/dist/data-display/styles.css +4 -0
- package/dist/feedback/index.cjs +368 -0
- package/dist/feedback/index.cjs.map +1 -0
- package/dist/feedback/index.d.cts +4 -0
- package/dist/feedback/index.d.ts +4 -0
- package/dist/feedback/index.js +4 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/feedback/styles.css +4 -0
- package/dist/forms/index.cjs +2287 -0
- package/dist/forms/index.cjs.map +1 -0
- package/dist/forms/index.d.cts +5 -0
- package/dist/forms/index.d.ts +5 -0
- package/dist/forms/index.js +10 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/forms/styles.css +6 -0
- package/dist/glass/index.cjs +165 -0
- package/dist/glass/index.cjs.map +1 -0
- package/dist/glass/index.d.cts +4 -0
- package/dist/glass/index.d.ts +4 -0
- package/dist/glass/index.js +4 -0
- package/dist/glass/index.js.map +1 -0
- package/dist/glass/styles.css +81 -0
- package/dist/index-BTvkbCIj.d.cts +146 -0
- package/dist/index-BTvkbCIj.d.ts +146 -0
- package/dist/index-BkRqGNG1.d.cts +201 -0
- package/dist/index-BkRqGNG1.d.ts +201 -0
- package/dist/index-BlPcGeW-.d.cts +45 -0
- package/dist/index-BlPcGeW-.d.ts +45 -0
- package/dist/index-BzOCqvC6.d.cts +32 -0
- package/dist/index-BzOCqvC6.d.ts +32 -0
- package/dist/index-CCeWYAvn.d.cts +83 -0
- package/dist/index-COQ7uwt9.d.cts +44 -0
- package/dist/index-COQ7uwt9.d.ts +44 -0
- package/dist/index-CenuF_P2.d.cts +221 -0
- package/dist/index-CenuF_P2.d.ts +221 -0
- package/dist/index-Cle6QzQl.d.ts +371 -0
- package/dist/index-D6fE7w-b.d.cts +90 -0
- package/dist/index-D6fE7w-b.d.ts +90 -0
- package/dist/index-DR8cfJUG.d.ts +83 -0
- package/dist/index-DzcWh1Hs.d.cts +131 -0
- package/dist/index-DzcWh1Hs.d.ts +131 -0
- package/dist/index-TyK-Ldpy.d.cts +371 -0
- package/dist/index-ugj5s6a3.d.cts +95 -0
- package/dist/index-ugj5s6a3.d.ts +95 -0
- package/dist/index.cjs +6400 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/index.cjs +516 -0
- package/dist/layout/index.cjs.map +1 -0
- package/dist/layout/index.d.cts +4 -0
- package/dist/layout/index.d.ts +4 -0
- package/dist/layout/index.js +4 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/styles.css +8 -0
- package/dist/navigation/index.cjs +673 -0
- package/dist/navigation/index.cjs.map +1 -0
- package/dist/navigation/index.d.cts +2 -0
- package/dist/navigation/index.d.ts +2 -0
- package/dist/navigation/index.js +8 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/styles.css +4 -0
- package/dist/overlays/index.cjs +954 -0
- package/dist/overlays/index.cjs.map +1 -0
- package/dist/overlays/index.d.cts +4 -0
- package/dist/overlays/index.d.ts +4 -0
- package/dist/overlays/index.js +9 -0
- package/dist/overlays/index.js.map +1 -0
- package/dist/overlays/styles.css +8 -0
- package/dist/styles.css +333 -0
- package/dist/typography/index.cjs +311 -0
- package/dist/typography/index.cjs.map +1 -0
- package/dist/typography/index.d.cts +5 -0
- package/dist/typography/index.d.ts +5 -0
- package/dist/typography/index.js +6 -0
- package/dist/typography/index.js.map +1 -0
- package/dist/typography/styles.css +5 -0
- package/llms.txt +113 -0
- package/package.json +116 -0
- package/src/bento/BentoCard.tsx +140 -0
- package/src/bento/BentoGrid.tsx +50 -0
- package/src/bento/index.ts +2 -0
- package/src/bento/tokens.css +46 -0
- package/src/buttons/Button.tsx +104 -0
- package/src/buttons/ButtonGroup.tsx +43 -0
- package/src/buttons/IconButton.tsx +79 -0
- package/src/buttons/SplitButton.tsx +86 -0
- package/src/buttons/ToggleButton.tsx +157 -0
- package/src/buttons/index.ts +5 -0
- package/src/buttons/tokens.css +6 -0
- package/src/core/ThemeProvider.tsx +123 -0
- package/src/core/index.ts +2 -0
- package/src/core/tokens.css +128 -0
- package/src/data-display/Accordion.tsx +147 -0
- package/src/data-display/Avatar.tsx +134 -0
- package/src/data-display/Card.tsx +112 -0
- package/src/data-display/Carousel.tsx +130 -0
- package/src/data-display/Chip.tsx +74 -0
- package/src/data-display/DataTablePro.tsx +356 -0
- package/src/data-display/StatCard.tsx +60 -0
- package/src/data-display/Table.tsx +74 -0
- package/src/data-display/Timeline.tsx +62 -0
- package/src/data-display/TreeView.tsx +140 -0
- package/src/data-display/index.ts +10 -0
- package/src/data-display/tokens.css +4 -0
- package/src/feedback/Alert.tsx +80 -0
- package/src/feedback/EmptyState.tsx +45 -0
- package/src/feedback/ProgressBar.tsx +174 -0
- package/src/feedback/Skeleton.tsx +66 -0
- package/src/feedback/Spinner.tsx +65 -0
- package/src/feedback/index.ts +5 -0
- package/src/feedback/tokens.css +4 -0
- package/src/forms/Checkbox.tsx +69 -0
- package/src/forms/CheckboxGroup.tsx +29 -0
- package/src/forms/Combobox.tsx +368 -0
- package/src/forms/DatePicker.tsx +480 -0
- package/src/forms/FileUpload.tsx +222 -0
- package/src/forms/FormField.tsx +115 -0
- package/src/forms/Input.tsx +151 -0
- package/src/forms/MaskedInput.tsx +97 -0
- package/src/forms/NumberInput.tsx +248 -0
- package/src/forms/PasswordInput.tsx +35 -0
- package/src/forms/PinInput.tsx +125 -0
- package/src/forms/Radio.tsx +142 -0
- package/src/forms/RangeSlider.tsx +111 -0
- package/src/forms/SearchInput.tsx +34 -0
- package/src/forms/Select.tsx +103 -0
- package/src/forms/Slider.tsx +85 -0
- package/src/forms/Switch.tsx +95 -0
- package/src/forms/Textarea.tsx +114 -0
- package/src/forms/index.ts +18 -0
- package/src/forms/tokens.css +6 -0
- package/src/glass/GlassBadge.tsx +61 -0
- package/src/glass/GlassButton.tsx +59 -0
- package/src/glass/GlassCard.tsx +71 -0
- package/src/glass/index.ts +3 -0
- package/src/glass/tokens.css +81 -0
- package/src/index.ts +26 -0
- package/src/layout/AspectRatio.tsx +39 -0
- package/src/layout/Container.tsx +53 -0
- package/src/layout/Divider.tsx +61 -0
- package/src/layout/Flex.tsx +79 -0
- package/src/layout/Grid.tsx +124 -0
- package/src/layout/PageLayout.tsx +59 -0
- package/src/layout/ScrollArea.tsx +43 -0
- package/src/layout/Section.tsx +47 -0
- package/src/layout/Spacer.tsx +30 -0
- package/src/layout/Stack.tsx +88 -0
- package/src/layout/index.ts +10 -0
- package/src/layout/tokens.css +8 -0
- package/src/navigation/Breadcrumb.tsx +73 -0
- package/src/navigation/CommandPalette.tsx +142 -0
- package/src/navigation/DropdownMenu.tsx +160 -0
- package/src/navigation/Pagination.tsx +114 -0
- package/src/navigation/Stepper.tsx +93 -0
- package/src/navigation/Tabs.tsx +133 -0
- package/src/navigation/index.ts +6 -0
- package/src/navigation/tokens.css +4 -0
- package/src/overlays/AlertDialog.tsx +54 -0
- package/src/overlays/BottomSheet.tsx +123 -0
- package/src/overlays/ContextMenu.tsx +119 -0
- package/src/overlays/Drawer.tsx +145 -0
- package/src/overlays/FocusTrap.tsx +49 -0
- package/src/overlays/HoverCard.tsx +72 -0
- package/src/overlays/Modal.tsx +219 -0
- package/src/overlays/Popover.tsx +126 -0
- package/src/overlays/Portal.tsx +23 -0
- package/src/overlays/Toast.tsx +137 -0
- package/src/overlays/Tooltip.tsx +100 -0
- package/src/overlays/index.ts +11 -0
- package/src/overlays/tokens.css +8 -0
- package/src/styles/tokens.css +2 -0
- package/src/typography/Blockquote.tsx +32 -0
- package/src/typography/Code.tsx +89 -0
- package/src/typography/Heading.tsx +56 -0
- package/src/typography/Kbd.tsx +25 -0
- package/src/typography/Label.tsx +47 -0
- package/src/typography/Link.tsx +56 -0
- package/src/typography/Text.tsx +62 -0
- package/src/typography/index.ts +7 -0
- package/src/typography/tokens.css +5 -0
- package/src/utils/cn.ts +6 -0
- package/ui-contract.json +62 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const glassCardVariants: (props?: ({
|
|
6
|
+
intensity?: "subtle" | "standard" | "frosted" | "acrylic" | null | undefined;
|
|
7
|
+
glow?: "none" | "cyan" | "purple" | "white" | null | undefined;
|
|
8
|
+
radius?: "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
padding?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface GlassCardProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassCardVariants> {
|
|
12
|
+
specularLight?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const GlassCard: React__default.ForwardRefExoticComponent<GlassCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
|
|
16
|
+
declare const glassButtonVariants: (props?: ({
|
|
17
|
+
variant?: "default" | "primary" | "ghost" | "luminescent" | null | undefined;
|
|
18
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
19
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
+
interface GlassButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof glassButtonVariants> {
|
|
21
|
+
shimmer?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const GlassButton: React__default.ForwardRefExoticComponent<GlassButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
|
|
25
|
+
declare const glassBadgeVariants: (props?: ({
|
|
26
|
+
variant?: "default" | "cyan" | "purple" | "emerald" | "amber" | "rose" | null | undefined;
|
|
27
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
28
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
+
interface GlassBadgeProps extends React__default.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof glassBadgeVariants> {
|
|
30
|
+
dot?: boolean;
|
|
31
|
+
}
|
|
32
|
+
declare const GlassBadge: React__default.FC<GlassBadgeProps>;
|
|
33
|
+
|
|
34
|
+
declare const index_GlassBadge: typeof GlassBadge;
|
|
35
|
+
type index_GlassBadgeProps = GlassBadgeProps;
|
|
36
|
+
declare const index_GlassButton: typeof GlassButton;
|
|
37
|
+
type index_GlassButtonProps = GlassButtonProps;
|
|
38
|
+
declare const index_GlassCard: typeof GlassCard;
|
|
39
|
+
type index_GlassCardProps = GlassCardProps;
|
|
40
|
+
declare namespace index {
|
|
41
|
+
export { index_GlassBadge as GlassBadge, type index_GlassBadgeProps as GlassBadgeProps, index_GlassButton as GlassButton, type index_GlassButtonProps as GlassButtonProps, index_GlassCard as GlassCard, type index_GlassCardProps as GlassCardProps };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { GlassBadge as G, type GlassBadgeProps as a, GlassButton as b, type GlassButtonProps as c, GlassCard as d, type GlassCardProps as e, index as i };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const glassCardVariants: (props?: ({
|
|
6
|
+
intensity?: "subtle" | "standard" | "frosted" | "acrylic" | null | undefined;
|
|
7
|
+
glow?: "none" | "cyan" | "purple" | "white" | null | undefined;
|
|
8
|
+
radius?: "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
padding?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface GlassCardProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassCardVariants> {
|
|
12
|
+
specularLight?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const GlassCard: React__default.ForwardRefExoticComponent<GlassCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
|
|
16
|
+
declare const glassButtonVariants: (props?: ({
|
|
17
|
+
variant?: "default" | "primary" | "ghost" | "luminescent" | null | undefined;
|
|
18
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
19
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
+
interface GlassButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof glassButtonVariants> {
|
|
21
|
+
shimmer?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const GlassButton: React__default.ForwardRefExoticComponent<GlassButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
|
|
25
|
+
declare const glassBadgeVariants: (props?: ({
|
|
26
|
+
variant?: "default" | "cyan" | "purple" | "emerald" | "amber" | "rose" | null | undefined;
|
|
27
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
28
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
+
interface GlassBadgeProps extends React__default.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof glassBadgeVariants> {
|
|
30
|
+
dot?: boolean;
|
|
31
|
+
}
|
|
32
|
+
declare const GlassBadge: React__default.FC<GlassBadgeProps>;
|
|
33
|
+
|
|
34
|
+
declare const index_GlassBadge: typeof GlassBadge;
|
|
35
|
+
type index_GlassBadgeProps = GlassBadgeProps;
|
|
36
|
+
declare const index_GlassButton: typeof GlassButton;
|
|
37
|
+
type index_GlassButtonProps = GlassButtonProps;
|
|
38
|
+
declare const index_GlassCard: typeof GlassCard;
|
|
39
|
+
type index_GlassCardProps = GlassCardProps;
|
|
40
|
+
declare namespace index {
|
|
41
|
+
export { index_GlassBadge as GlassBadge, type index_GlassBadgeProps as GlassBadgeProps, index_GlassButton as GlassButton, type index_GlassButtonProps as GlassButtonProps, index_GlassCard as GlassCard, type index_GlassCardProps as GlassCardProps };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { GlassBadge as G, type GlassBadgeProps as a, GlassButton as b, type GlassButtonProps as c, GlassCard as d, type GlassCardProps as e, index as i };
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
interface PortalProps {
|
|
6
|
+
children: React__default.ReactNode;
|
|
7
|
+
container?: Element | null;
|
|
8
|
+
}
|
|
9
|
+
declare function Portal({ children, container }: PortalProps): React__default.ReactPortal | null;
|
|
10
|
+
|
|
11
|
+
interface FocusTrapProps {
|
|
12
|
+
children: React__default.ReactNode;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare function FocusTrap({ children, active }: FocusTrapProps): React__default.JSX.Element;
|
|
16
|
+
|
|
17
|
+
interface ModalContextType {
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
onClose: () => void;
|
|
20
|
+
closeOnOverlayClick?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare function useModal(): ModalContextType;
|
|
23
|
+
interface ModalProps {
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
onClose: () => void;
|
|
26
|
+
children: React__default.ReactNode;
|
|
27
|
+
closeOnEsc?: boolean;
|
|
28
|
+
closeOnOverlayClick?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare function Modal({ isOpen, onClose, children, closeOnEsc, closeOnOverlayClick, }: ModalProps): React__default.JSX.Element | null;
|
|
31
|
+
interface ModalOverlayProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
32
|
+
}
|
|
33
|
+
declare const ModalOverlay: React__default.ForwardRefExoticComponent<ModalOverlayProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const modalContentVariants: (props?: ({
|
|
35
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "full" | null | undefined;
|
|
36
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
37
|
+
interface ModalContentProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof modalContentVariants> {
|
|
38
|
+
}
|
|
39
|
+
declare const ModalContent: React__default.ForwardRefExoticComponent<ModalContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const ModalHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
declare const ModalTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
42
|
+
declare const ModalDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
43
|
+
declare const ModalBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
declare const ModalFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
declare const ModalCloseButton: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
46
|
+
|
|
47
|
+
interface AlertDialogProps {
|
|
48
|
+
isOpen: boolean;
|
|
49
|
+
onClose: () => void;
|
|
50
|
+
onConfirm: () => void;
|
|
51
|
+
title: string;
|
|
52
|
+
description: string;
|
|
53
|
+
confirmText?: string;
|
|
54
|
+
cancelText?: string;
|
|
55
|
+
variant?: 'danger' | 'primary';
|
|
56
|
+
isLoading?: boolean;
|
|
57
|
+
}
|
|
58
|
+
declare function AlertDialog({ isOpen, onClose, onConfirm, title, description, confirmText, cancelText, variant, isLoading, }: AlertDialogProps): React__default.JSX.Element;
|
|
59
|
+
|
|
60
|
+
interface DrawerContextType {
|
|
61
|
+
isOpen: boolean;
|
|
62
|
+
onClose: () => void;
|
|
63
|
+
}
|
|
64
|
+
declare function useDrawer(): DrawerContextType;
|
|
65
|
+
declare const drawerVariants: (props?: ({
|
|
66
|
+
placement?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
67
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
68
|
+
interface DrawerProps extends VariantProps<typeof drawerVariants> {
|
|
69
|
+
isOpen: boolean;
|
|
70
|
+
onClose: () => void;
|
|
71
|
+
children: React__default.ReactNode;
|
|
72
|
+
closeOnEsc?: boolean;
|
|
73
|
+
}
|
|
74
|
+
declare function Drawer({ isOpen, onClose, placement, children, closeOnEsc, }: DrawerProps): React__default.JSX.Element | null;
|
|
75
|
+
declare const DrawerHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
declare const DrawerBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
declare const DrawerFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
|
|
79
|
+
declare const tooltipVariants: (props?: ({
|
|
80
|
+
placement?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
81
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
82
|
+
interface TooltipProps extends VariantProps<typeof tooltipVariants> {
|
|
83
|
+
content: React__default.ReactNode;
|
|
84
|
+
children: React__default.ReactNode;
|
|
85
|
+
delayDuration?: number;
|
|
86
|
+
className?: string;
|
|
87
|
+
}
|
|
88
|
+
declare function Tooltip({ content, children, placement, delayDuration, className, }: TooltipProps): React__default.JSX.Element;
|
|
89
|
+
|
|
90
|
+
interface PopoverProps {
|
|
91
|
+
trigger: React__default.ReactNode;
|
|
92
|
+
children: React__default.ReactNode;
|
|
93
|
+
isOpen?: boolean;
|
|
94
|
+
onClose?: () => void;
|
|
95
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
96
|
+
className?: string;
|
|
97
|
+
}
|
|
98
|
+
declare const Popover: ({ trigger, children, isOpen: controlledIsOpen, onClose, placement, className, }: PopoverProps) => React__default.JSX.Element;
|
|
99
|
+
|
|
100
|
+
type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
101
|
+
interface ToastOptions {
|
|
102
|
+
id?: string;
|
|
103
|
+
title: string;
|
|
104
|
+
description?: string;
|
|
105
|
+
type?: ToastType;
|
|
106
|
+
duration?: number;
|
|
107
|
+
}
|
|
108
|
+
interface ToastItem extends ToastOptions {
|
|
109
|
+
id: string;
|
|
110
|
+
}
|
|
111
|
+
interface ToastContextType {
|
|
112
|
+
toast: (options: ToastOptions) => string;
|
|
113
|
+
dismiss: (id: string) => void;
|
|
114
|
+
toasts: ToastItem[];
|
|
115
|
+
}
|
|
116
|
+
declare function useToast(): ToastContextType;
|
|
117
|
+
declare const toastVariants: (props?: ({
|
|
118
|
+
type?: "error" | "success" | "warning" | "info" | null | undefined;
|
|
119
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
120
|
+
interface ToasterProviderProps {
|
|
121
|
+
children: React__default.ReactNode;
|
|
122
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
123
|
+
}
|
|
124
|
+
declare function ToasterProvider({ children, position }: ToasterProviderProps): React__default.JSX.Element;
|
|
125
|
+
|
|
126
|
+
interface BottomSheetProps {
|
|
127
|
+
isOpen: boolean;
|
|
128
|
+
onClose: () => void;
|
|
129
|
+
children: React__default.ReactNode;
|
|
130
|
+
title?: string;
|
|
131
|
+
description?: string;
|
|
132
|
+
className?: string;
|
|
133
|
+
showHandle?: boolean;
|
|
134
|
+
maxHeight?: string;
|
|
135
|
+
}
|
|
136
|
+
declare const BottomSheet: React__default.ForwardRefExoticComponent<BottomSheetProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
137
|
+
declare const BottomSheetHeader: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
138
|
+
declare const BottomSheetBody: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
139
|
+
declare const BottomSheetFooter: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
140
|
+
|
|
141
|
+
interface ContextMenuItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
142
|
+
icon?: React__default.ReactNode;
|
|
143
|
+
shortcut?: string;
|
|
144
|
+
disabled?: boolean;
|
|
145
|
+
destructive?: boolean;
|
|
146
|
+
onSelect?: () => void;
|
|
147
|
+
}
|
|
148
|
+
declare const ContextMenuItem: React__default.FC<ContextMenuItemProps>;
|
|
149
|
+
declare const ContextMenuSeparator: React__default.FC;
|
|
150
|
+
interface ContextMenuProps {
|
|
151
|
+
children: React__default.ReactNode;
|
|
152
|
+
menuContent: React__default.ReactNode;
|
|
153
|
+
className?: string;
|
|
154
|
+
}
|
|
155
|
+
declare const ContextMenu: React__default.ForwardRefExoticComponent<ContextMenuProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
156
|
+
|
|
157
|
+
interface HoverCardProps {
|
|
158
|
+
trigger: React__default.ReactNode;
|
|
159
|
+
content: React__default.ReactNode;
|
|
160
|
+
openDelay?: number;
|
|
161
|
+
closeDelay?: number;
|
|
162
|
+
className?: string;
|
|
163
|
+
}
|
|
164
|
+
declare const HoverCard: React__default.ForwardRefExoticComponent<HoverCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
165
|
+
|
|
166
|
+
declare const index_AlertDialog: typeof AlertDialog;
|
|
167
|
+
type index_AlertDialogProps = AlertDialogProps;
|
|
168
|
+
declare const index_BottomSheet: typeof BottomSheet;
|
|
169
|
+
declare const index_BottomSheetBody: typeof BottomSheetBody;
|
|
170
|
+
declare const index_BottomSheetFooter: typeof BottomSheetFooter;
|
|
171
|
+
declare const index_BottomSheetHeader: typeof BottomSheetHeader;
|
|
172
|
+
type index_BottomSheetProps = BottomSheetProps;
|
|
173
|
+
declare const index_ContextMenu: typeof ContextMenu;
|
|
174
|
+
declare const index_ContextMenuItem: typeof ContextMenuItem;
|
|
175
|
+
type index_ContextMenuItemProps = ContextMenuItemProps;
|
|
176
|
+
type index_ContextMenuProps = ContextMenuProps;
|
|
177
|
+
declare const index_ContextMenuSeparator: typeof ContextMenuSeparator;
|
|
178
|
+
declare const index_Drawer: typeof Drawer;
|
|
179
|
+
declare const index_DrawerBody: typeof DrawerBody;
|
|
180
|
+
declare const index_DrawerFooter: typeof DrawerFooter;
|
|
181
|
+
declare const index_DrawerHeader: typeof DrawerHeader;
|
|
182
|
+
type index_DrawerProps = DrawerProps;
|
|
183
|
+
declare const index_FocusTrap: typeof FocusTrap;
|
|
184
|
+
type index_FocusTrapProps = FocusTrapProps;
|
|
185
|
+
declare const index_HoverCard: typeof HoverCard;
|
|
186
|
+
type index_HoverCardProps = HoverCardProps;
|
|
187
|
+
declare const index_Modal: typeof Modal;
|
|
188
|
+
declare const index_ModalBody: typeof ModalBody;
|
|
189
|
+
declare const index_ModalCloseButton: typeof ModalCloseButton;
|
|
190
|
+
declare const index_ModalContent: typeof ModalContent;
|
|
191
|
+
type index_ModalContentProps = ModalContentProps;
|
|
192
|
+
declare const index_ModalDescription: typeof ModalDescription;
|
|
193
|
+
declare const index_ModalFooter: typeof ModalFooter;
|
|
194
|
+
declare const index_ModalHeader: typeof ModalHeader;
|
|
195
|
+
declare const index_ModalOverlay: typeof ModalOverlay;
|
|
196
|
+
type index_ModalOverlayProps = ModalOverlayProps;
|
|
197
|
+
type index_ModalProps = ModalProps;
|
|
198
|
+
declare const index_ModalTitle: typeof ModalTitle;
|
|
199
|
+
declare const index_Popover: typeof Popover;
|
|
200
|
+
type index_PopoverProps = PopoverProps;
|
|
201
|
+
declare const index_Portal: typeof Portal;
|
|
202
|
+
type index_PortalProps = PortalProps;
|
|
203
|
+
type index_ToastItem = ToastItem;
|
|
204
|
+
type index_ToastOptions = ToastOptions;
|
|
205
|
+
type index_ToastType = ToastType;
|
|
206
|
+
declare const index_ToasterProvider: typeof ToasterProvider;
|
|
207
|
+
type index_ToasterProviderProps = ToasterProviderProps;
|
|
208
|
+
declare const index_Tooltip: typeof Tooltip;
|
|
209
|
+
type index_TooltipProps = TooltipProps;
|
|
210
|
+
declare const index_drawerVariants: typeof drawerVariants;
|
|
211
|
+
declare const index_modalContentVariants: typeof modalContentVariants;
|
|
212
|
+
declare const index_toastVariants: typeof toastVariants;
|
|
213
|
+
declare const index_tooltipVariants: typeof tooltipVariants;
|
|
214
|
+
declare const index_useDrawer: typeof useDrawer;
|
|
215
|
+
declare const index_useModal: typeof useModal;
|
|
216
|
+
declare const index_useToast: typeof useToast;
|
|
217
|
+
declare namespace index {
|
|
218
|
+
export { index_AlertDialog as AlertDialog, type index_AlertDialogProps as AlertDialogProps, index_BottomSheet as BottomSheet, index_BottomSheetBody as BottomSheetBody, index_BottomSheetFooter as BottomSheetFooter, index_BottomSheetHeader as BottomSheetHeader, type index_BottomSheetProps as BottomSheetProps, index_ContextMenu as ContextMenu, index_ContextMenuItem as ContextMenuItem, type index_ContextMenuItemProps as ContextMenuItemProps, type index_ContextMenuProps as ContextMenuProps, index_ContextMenuSeparator as ContextMenuSeparator, index_Drawer as Drawer, index_DrawerBody as DrawerBody, index_DrawerFooter as DrawerFooter, index_DrawerHeader as DrawerHeader, type index_DrawerProps as DrawerProps, index_FocusTrap as FocusTrap, type index_FocusTrapProps as FocusTrapProps, index_HoverCard as HoverCard, type index_HoverCardProps as HoverCardProps, index_Modal as Modal, index_ModalBody as ModalBody, index_ModalCloseButton as ModalCloseButton, index_ModalContent as ModalContent, type index_ModalContentProps as ModalContentProps, index_ModalDescription as ModalDescription, index_ModalFooter as ModalFooter, index_ModalHeader as ModalHeader, index_ModalOverlay as ModalOverlay, type index_ModalOverlayProps as ModalOverlayProps, type index_ModalProps as ModalProps, index_ModalTitle as ModalTitle, index_Popover as Popover, type index_PopoverProps as PopoverProps, index_Portal as Portal, type index_PortalProps as PortalProps, type index_ToastItem as ToastItem, type index_ToastOptions as ToastOptions, type index_ToastType as ToastType, index_ToasterProvider as ToasterProvider, type index_ToasterProviderProps as ToasterProviderProps, index_Tooltip as Tooltip, type index_TooltipProps as TooltipProps, index_drawerVariants as drawerVariants, index_modalContentVariants as modalContentVariants, index_toastVariants as toastVariants, index_tooltipVariants as tooltipVariants, index_useDrawer as useDrawer, index_useModal as useModal, index_useToast as useToast };
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export { AlertDialog as A, BottomSheet as B, ContextMenu as C, Drawer as D, index as E, FocusTrap as F, type PopoverProps as G, HoverCard as H, Portal as I, type PortalProps as J, type ToastOptions as K, type ToastType as L, Modal as M, ToasterProvider as N, type ToasterProviderProps as O, Popover as P, Tooltip as Q, type TooltipProps as R, drawerVariants as S, type ToastItem as T, modalContentVariants as U, toastVariants as V, tooltipVariants as W, useDrawer as X, useModal as Y, useToast as Z, type AlertDialogProps as a, BottomSheetBody as b, BottomSheetFooter as c, BottomSheetHeader as d, type BottomSheetProps as e, ContextMenuItem as f, type ContextMenuItemProps as g, type ContextMenuProps as h, ContextMenuSeparator as i, DrawerBody as j, DrawerFooter as k, DrawerHeader as l, type DrawerProps as m, type FocusTrapProps as n, type HoverCardProps as o, ModalBody as p, ModalCloseButton as q, ModalContent as r, type ModalContentProps as s, ModalDescription as t, ModalFooter as u, ModalHeader as v, ModalOverlay as w, type ModalOverlayProps as x, type ModalProps as y, ModalTitle as z };
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
interface PortalProps {
|
|
6
|
+
children: React__default.ReactNode;
|
|
7
|
+
container?: Element | null;
|
|
8
|
+
}
|
|
9
|
+
declare function Portal({ children, container }: PortalProps): React__default.ReactPortal | null;
|
|
10
|
+
|
|
11
|
+
interface FocusTrapProps {
|
|
12
|
+
children: React__default.ReactNode;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare function FocusTrap({ children, active }: FocusTrapProps): React__default.JSX.Element;
|
|
16
|
+
|
|
17
|
+
interface ModalContextType {
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
onClose: () => void;
|
|
20
|
+
closeOnOverlayClick?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare function useModal(): ModalContextType;
|
|
23
|
+
interface ModalProps {
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
onClose: () => void;
|
|
26
|
+
children: React__default.ReactNode;
|
|
27
|
+
closeOnEsc?: boolean;
|
|
28
|
+
closeOnOverlayClick?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare function Modal({ isOpen, onClose, children, closeOnEsc, closeOnOverlayClick, }: ModalProps): React__default.JSX.Element | null;
|
|
31
|
+
interface ModalOverlayProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
32
|
+
}
|
|
33
|
+
declare const ModalOverlay: React__default.ForwardRefExoticComponent<ModalOverlayProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const modalContentVariants: (props?: ({
|
|
35
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "full" | null | undefined;
|
|
36
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
37
|
+
interface ModalContentProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof modalContentVariants> {
|
|
38
|
+
}
|
|
39
|
+
declare const ModalContent: React__default.ForwardRefExoticComponent<ModalContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const ModalHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
declare const ModalTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
42
|
+
declare const ModalDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
43
|
+
declare const ModalBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
declare const ModalFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
declare const ModalCloseButton: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
46
|
+
|
|
47
|
+
interface AlertDialogProps {
|
|
48
|
+
isOpen: boolean;
|
|
49
|
+
onClose: () => void;
|
|
50
|
+
onConfirm: () => void;
|
|
51
|
+
title: string;
|
|
52
|
+
description: string;
|
|
53
|
+
confirmText?: string;
|
|
54
|
+
cancelText?: string;
|
|
55
|
+
variant?: 'danger' | 'primary';
|
|
56
|
+
isLoading?: boolean;
|
|
57
|
+
}
|
|
58
|
+
declare function AlertDialog({ isOpen, onClose, onConfirm, title, description, confirmText, cancelText, variant, isLoading, }: AlertDialogProps): React__default.JSX.Element;
|
|
59
|
+
|
|
60
|
+
interface DrawerContextType {
|
|
61
|
+
isOpen: boolean;
|
|
62
|
+
onClose: () => void;
|
|
63
|
+
}
|
|
64
|
+
declare function useDrawer(): DrawerContextType;
|
|
65
|
+
declare const drawerVariants: (props?: ({
|
|
66
|
+
placement?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
67
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
68
|
+
interface DrawerProps extends VariantProps<typeof drawerVariants> {
|
|
69
|
+
isOpen: boolean;
|
|
70
|
+
onClose: () => void;
|
|
71
|
+
children: React__default.ReactNode;
|
|
72
|
+
closeOnEsc?: boolean;
|
|
73
|
+
}
|
|
74
|
+
declare function Drawer({ isOpen, onClose, placement, children, closeOnEsc, }: DrawerProps): React__default.JSX.Element | null;
|
|
75
|
+
declare const DrawerHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
declare const DrawerBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
declare const DrawerFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
|
|
79
|
+
declare const tooltipVariants: (props?: ({
|
|
80
|
+
placement?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
81
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
82
|
+
interface TooltipProps extends VariantProps<typeof tooltipVariants> {
|
|
83
|
+
content: React__default.ReactNode;
|
|
84
|
+
children: React__default.ReactNode;
|
|
85
|
+
delayDuration?: number;
|
|
86
|
+
className?: string;
|
|
87
|
+
}
|
|
88
|
+
declare function Tooltip({ content, children, placement, delayDuration, className, }: TooltipProps): React__default.JSX.Element;
|
|
89
|
+
|
|
90
|
+
interface PopoverProps {
|
|
91
|
+
trigger: React__default.ReactNode;
|
|
92
|
+
children: React__default.ReactNode;
|
|
93
|
+
isOpen?: boolean;
|
|
94
|
+
onClose?: () => void;
|
|
95
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
96
|
+
className?: string;
|
|
97
|
+
}
|
|
98
|
+
declare const Popover: ({ trigger, children, isOpen: controlledIsOpen, onClose, placement, className, }: PopoverProps) => React__default.JSX.Element;
|
|
99
|
+
|
|
100
|
+
type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
101
|
+
interface ToastOptions {
|
|
102
|
+
id?: string;
|
|
103
|
+
title: string;
|
|
104
|
+
description?: string;
|
|
105
|
+
type?: ToastType;
|
|
106
|
+
duration?: number;
|
|
107
|
+
}
|
|
108
|
+
interface ToastItem extends ToastOptions {
|
|
109
|
+
id: string;
|
|
110
|
+
}
|
|
111
|
+
interface ToastContextType {
|
|
112
|
+
toast: (options: ToastOptions) => string;
|
|
113
|
+
dismiss: (id: string) => void;
|
|
114
|
+
toasts: ToastItem[];
|
|
115
|
+
}
|
|
116
|
+
declare function useToast(): ToastContextType;
|
|
117
|
+
declare const toastVariants: (props?: ({
|
|
118
|
+
type?: "error" | "success" | "warning" | "info" | null | undefined;
|
|
119
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
120
|
+
interface ToasterProviderProps {
|
|
121
|
+
children: React__default.ReactNode;
|
|
122
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
123
|
+
}
|
|
124
|
+
declare function ToasterProvider({ children, position }: ToasterProviderProps): React__default.JSX.Element;
|
|
125
|
+
|
|
126
|
+
interface BottomSheetProps {
|
|
127
|
+
isOpen: boolean;
|
|
128
|
+
onClose: () => void;
|
|
129
|
+
children: React__default.ReactNode;
|
|
130
|
+
title?: string;
|
|
131
|
+
description?: string;
|
|
132
|
+
className?: string;
|
|
133
|
+
showHandle?: boolean;
|
|
134
|
+
maxHeight?: string;
|
|
135
|
+
}
|
|
136
|
+
declare const BottomSheet: React__default.ForwardRefExoticComponent<BottomSheetProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
137
|
+
declare const BottomSheetHeader: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
138
|
+
declare const BottomSheetBody: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
139
|
+
declare const BottomSheetFooter: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
140
|
+
|
|
141
|
+
interface ContextMenuItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
142
|
+
icon?: React__default.ReactNode;
|
|
143
|
+
shortcut?: string;
|
|
144
|
+
disabled?: boolean;
|
|
145
|
+
destructive?: boolean;
|
|
146
|
+
onSelect?: () => void;
|
|
147
|
+
}
|
|
148
|
+
declare const ContextMenuItem: React__default.FC<ContextMenuItemProps>;
|
|
149
|
+
declare const ContextMenuSeparator: React__default.FC;
|
|
150
|
+
interface ContextMenuProps {
|
|
151
|
+
children: React__default.ReactNode;
|
|
152
|
+
menuContent: React__default.ReactNode;
|
|
153
|
+
className?: string;
|
|
154
|
+
}
|
|
155
|
+
declare const ContextMenu: React__default.ForwardRefExoticComponent<ContextMenuProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
156
|
+
|
|
157
|
+
interface HoverCardProps {
|
|
158
|
+
trigger: React__default.ReactNode;
|
|
159
|
+
content: React__default.ReactNode;
|
|
160
|
+
openDelay?: number;
|
|
161
|
+
closeDelay?: number;
|
|
162
|
+
className?: string;
|
|
163
|
+
}
|
|
164
|
+
declare const HoverCard: React__default.ForwardRefExoticComponent<HoverCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
165
|
+
|
|
166
|
+
declare const index_AlertDialog: typeof AlertDialog;
|
|
167
|
+
type index_AlertDialogProps = AlertDialogProps;
|
|
168
|
+
declare const index_BottomSheet: typeof BottomSheet;
|
|
169
|
+
declare const index_BottomSheetBody: typeof BottomSheetBody;
|
|
170
|
+
declare const index_BottomSheetFooter: typeof BottomSheetFooter;
|
|
171
|
+
declare const index_BottomSheetHeader: typeof BottomSheetHeader;
|
|
172
|
+
type index_BottomSheetProps = BottomSheetProps;
|
|
173
|
+
declare const index_ContextMenu: typeof ContextMenu;
|
|
174
|
+
declare const index_ContextMenuItem: typeof ContextMenuItem;
|
|
175
|
+
type index_ContextMenuItemProps = ContextMenuItemProps;
|
|
176
|
+
type index_ContextMenuProps = ContextMenuProps;
|
|
177
|
+
declare const index_ContextMenuSeparator: typeof ContextMenuSeparator;
|
|
178
|
+
declare const index_Drawer: typeof Drawer;
|
|
179
|
+
declare const index_DrawerBody: typeof DrawerBody;
|
|
180
|
+
declare const index_DrawerFooter: typeof DrawerFooter;
|
|
181
|
+
declare const index_DrawerHeader: typeof DrawerHeader;
|
|
182
|
+
type index_DrawerProps = DrawerProps;
|
|
183
|
+
declare const index_FocusTrap: typeof FocusTrap;
|
|
184
|
+
type index_FocusTrapProps = FocusTrapProps;
|
|
185
|
+
declare const index_HoverCard: typeof HoverCard;
|
|
186
|
+
type index_HoverCardProps = HoverCardProps;
|
|
187
|
+
declare const index_Modal: typeof Modal;
|
|
188
|
+
declare const index_ModalBody: typeof ModalBody;
|
|
189
|
+
declare const index_ModalCloseButton: typeof ModalCloseButton;
|
|
190
|
+
declare const index_ModalContent: typeof ModalContent;
|
|
191
|
+
type index_ModalContentProps = ModalContentProps;
|
|
192
|
+
declare const index_ModalDescription: typeof ModalDescription;
|
|
193
|
+
declare const index_ModalFooter: typeof ModalFooter;
|
|
194
|
+
declare const index_ModalHeader: typeof ModalHeader;
|
|
195
|
+
declare const index_ModalOverlay: typeof ModalOverlay;
|
|
196
|
+
type index_ModalOverlayProps = ModalOverlayProps;
|
|
197
|
+
type index_ModalProps = ModalProps;
|
|
198
|
+
declare const index_ModalTitle: typeof ModalTitle;
|
|
199
|
+
declare const index_Popover: typeof Popover;
|
|
200
|
+
type index_PopoverProps = PopoverProps;
|
|
201
|
+
declare const index_Portal: typeof Portal;
|
|
202
|
+
type index_PortalProps = PortalProps;
|
|
203
|
+
type index_ToastItem = ToastItem;
|
|
204
|
+
type index_ToastOptions = ToastOptions;
|
|
205
|
+
type index_ToastType = ToastType;
|
|
206
|
+
declare const index_ToasterProvider: typeof ToasterProvider;
|
|
207
|
+
type index_ToasterProviderProps = ToasterProviderProps;
|
|
208
|
+
declare const index_Tooltip: typeof Tooltip;
|
|
209
|
+
type index_TooltipProps = TooltipProps;
|
|
210
|
+
declare const index_drawerVariants: typeof drawerVariants;
|
|
211
|
+
declare const index_modalContentVariants: typeof modalContentVariants;
|
|
212
|
+
declare const index_toastVariants: typeof toastVariants;
|
|
213
|
+
declare const index_tooltipVariants: typeof tooltipVariants;
|
|
214
|
+
declare const index_useDrawer: typeof useDrawer;
|
|
215
|
+
declare const index_useModal: typeof useModal;
|
|
216
|
+
declare const index_useToast: typeof useToast;
|
|
217
|
+
declare namespace index {
|
|
218
|
+
export { index_AlertDialog as AlertDialog, type index_AlertDialogProps as AlertDialogProps, index_BottomSheet as BottomSheet, index_BottomSheetBody as BottomSheetBody, index_BottomSheetFooter as BottomSheetFooter, index_BottomSheetHeader as BottomSheetHeader, type index_BottomSheetProps as BottomSheetProps, index_ContextMenu as ContextMenu, index_ContextMenuItem as ContextMenuItem, type index_ContextMenuItemProps as ContextMenuItemProps, type index_ContextMenuProps as ContextMenuProps, index_ContextMenuSeparator as ContextMenuSeparator, index_Drawer as Drawer, index_DrawerBody as DrawerBody, index_DrawerFooter as DrawerFooter, index_DrawerHeader as DrawerHeader, type index_DrawerProps as DrawerProps, index_FocusTrap as FocusTrap, type index_FocusTrapProps as FocusTrapProps, index_HoverCard as HoverCard, type index_HoverCardProps as HoverCardProps, index_Modal as Modal, index_ModalBody as ModalBody, index_ModalCloseButton as ModalCloseButton, index_ModalContent as ModalContent, type index_ModalContentProps as ModalContentProps, index_ModalDescription as ModalDescription, index_ModalFooter as ModalFooter, index_ModalHeader as ModalHeader, index_ModalOverlay as ModalOverlay, type index_ModalOverlayProps as ModalOverlayProps, type index_ModalProps as ModalProps, index_ModalTitle as ModalTitle, index_Popover as Popover, type index_PopoverProps as PopoverProps, index_Portal as Portal, type index_PortalProps as PortalProps, type index_ToastItem as ToastItem, type index_ToastOptions as ToastOptions, type index_ToastType as ToastType, index_ToasterProvider as ToasterProvider, type index_ToasterProviderProps as ToasterProviderProps, index_Tooltip as Tooltip, type index_TooltipProps as TooltipProps, index_drawerVariants as drawerVariants, index_modalContentVariants as modalContentVariants, index_toastVariants as toastVariants, index_tooltipVariants as tooltipVariants, index_useDrawer as useDrawer, index_useModal as useModal, index_useToast as useToast };
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export { AlertDialog as A, BottomSheet as B, ContextMenu as C, Drawer as D, index as E, FocusTrap as F, type PopoverProps as G, HoverCard as H, Portal as I, type PortalProps as J, type ToastOptions as K, type ToastType as L, Modal as M, ToasterProvider as N, type ToasterProviderProps as O, Popover as P, Tooltip as Q, type TooltipProps as R, drawerVariants as S, type ToastItem as T, modalContentVariants as U, toastVariants as V, tooltipVariants as W, useDrawer as X, useModal as Y, useToast as Z, type AlertDialogProps as a, BottomSheetBody as b, BottomSheetFooter as c, BottomSheetHeader as d, type BottomSheetProps as e, ContextMenuItem as f, type ContextMenuItemProps as g, type ContextMenuProps as h, ContextMenuSeparator as i, DrawerBody as j, DrawerFooter as k, DrawerHeader as l, type DrawerProps as m, type FocusTrapProps as n, type HoverCardProps as o, ModalBody as p, ModalCloseButton as q, ModalContent as r, type ModalContentProps as s, ModalDescription as t, ModalFooter as u, ModalHeader as v, ModalOverlay as w, type ModalOverlayProps as x, type ModalProps as y, ModalTitle as z };
|