boottent-design 0.1.260 → 0.1.261
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-system/components/article-asset-card.md +1 -1
- package/dist/design-system/components/blog-review-card.md +1 -1
- package/dist/design-system/components/camp-card.md +1 -1
- package/dist/design-system/components/company-info-card.md +1 -1
- package/dist/design-system/components/dday-card.md +1 -1
- package/dist/design-system/components/environment-asset-photo.md +1 -1
- package/dist/design-system/components/event-asset-banner.md +1 -1
- package/dist/design-system/components/event-card.md +1 -1
- package/dist/design-system/components/lecturer-card.md +1 -1
- package/dist/design-system/components/main-banner-image.md +1 -1
- package/dist/design-system/components/mobile-camp-card.md +1 -1
- package/dist/design-system/components/partner-list-card.md +1 -1
- package/dist/design-system/components/portfolio-asset-card.md +1 -1
- package/dist/design-system/components/premium-card.md +1 -1
- package/dist/design-system/components/title-tag-card.md +1 -1
- package/dist/design-system/components/youtube-video-modal.md +1 -1
- package/dist/design-system/design-system.md +3 -2
- package/dist/design-system/tokens.md +1 -1
- package/dist/design-system/ui/accordion.md +1 -1
- package/dist/design-system/ui/alert-dialog.md +1 -1
- package/dist/design-system/ui/anchor.md +1 -1
- package/dist/design-system/ui/aspect-ratio.md +1 -1
- package/dist/design-system/ui/avatar.md +1 -1
- package/dist/design-system/ui/badge.md +1 -1
- package/dist/design-system/ui/button.md +1 -1
- package/dist/design-system/ui/calendar.md +1 -1
- package/dist/design-system/ui/callout.md +1 -1
- package/dist/design-system/ui/card-label.md +1 -1
- package/dist/design-system/ui/card.md +1 -1
- package/dist/design-system/ui/checkbox.md +1 -1
- package/dist/design-system/ui/circled-check-button.md +1 -1
- package/dist/design-system/ui/command.md +1 -1
- package/dist/design-system/ui/dialog.md +1 -1
- package/dist/design-system/ui/dropdown-menu.md +1 -1
- package/dist/design-system/ui/file-uploader.md +1 -1
- package/dist/design-system/ui/form.md +1 -1
- package/dist/design-system/ui/highlight-text.md +1 -1
- package/dist/design-system/ui/icons.md +1 -1
- package/dist/design-system/ui/image.md +1 -1
- package/dist/design-system/ui/input.md +1 -1
- package/dist/design-system/ui/label.md +1 -1
- package/dist/design-system/ui/month-picker.md +1 -1
- package/dist/design-system/ui/multi-select.md +1 -1
- package/dist/design-system/ui/navigation-menu.md +1 -1
- package/dist/design-system/ui/popover.md +1 -1
- package/dist/design-system/ui/portal.md +64 -0
- package/dist/design-system/ui/progress.md +1 -1
- package/dist/design-system/ui/radio-group.md +1 -1
- package/dist/design-system/ui/scroll-area.md +1 -1
- package/dist/design-system/ui/select.md +1 -1
- package/dist/design-system/ui/separator.md +1 -1
- package/dist/design-system/ui/simple-table.md +1 -1
- package/dist/design-system/ui/skeleton.md +1 -1
- package/dist/design-system/ui/slider.md +1 -1
- package/dist/design-system/ui/switch.md +1 -1
- package/dist/design-system/ui/symbols.md +1 -1
- package/dist/design-system/ui/tabs.md +1 -1
- package/dist/design-system/ui/tag.md +1 -1
- package/dist/design-system/ui/text.md +1 -1
- package/dist/design-system/ui/textarea.md +1 -1
- package/dist/design-system/ui/toast.md +9 -3
- package/dist/design-system/ui/toggle-group.md +1 -1
- package/dist/design-system/ui/toggle.md +1 -1
- package/dist/design-system/ui/tooltip.md +1 -1
- package/dist/design-system/usage.md +1 -1
- package/dist/design-system/when-to-use.md +3 -2
- package/dist/styles.css +1 -1
- package/dist/types/button.d.ts +1 -1
- package/dist/types/command.d.ts +6 -6
- package/dist/types/multi-select.d.ts +2 -2
- package/dist/types/portal.d.ts +179 -0
- package/dist/types/toast.d.ts +31 -2
- package/dist/types/toggle-group.d.ts +2 -2
- package/dist/types/toggle.d.ts +2 -2
- package/dist/types/ui/accordion.d.ts +1 -1
- package/dist/types/ui/alert-dialog.d.ts +1 -1
- package/dist/types/ui/anchor.d.ts +1 -1
- package/dist/types/ui/aspect-ratio.d.ts +1 -1
- package/dist/types/ui/avatar.d.ts +1 -1
- package/dist/types/ui/badge.d.ts +1 -1
- package/dist/types/ui/button.d.ts +1 -1
- package/dist/types/ui/calendar.d.ts +1 -1
- package/dist/types/ui/callout.d.ts +1 -1
- package/dist/types/ui/card-label.d.ts +1 -1
- package/dist/types/ui/card.d.ts +1 -1
- package/dist/types/ui/checkbox.d.ts +1 -1
- package/dist/types/ui/circled-check-button.d.ts +1 -1
- package/dist/types/ui/command.d.ts +1 -1
- package/dist/types/ui/dialog.d.ts +1 -1
- package/dist/types/ui/dropdown-menu.d.ts +1 -1
- package/dist/types/ui/file-uploader.d.ts +1 -1
- package/dist/types/ui/form.d.ts +1 -1
- package/dist/types/ui/highlight-text.d.ts +1 -1
- package/dist/types/ui/icons.d.ts +1 -1
- package/dist/types/ui/image.d.ts +1 -1
- package/dist/types/ui/input.d.ts +1 -1
- package/dist/types/ui/label.d.ts +1 -1
- package/dist/types/ui/month-picker.d.ts +1 -1
- package/dist/types/ui/multi-select.d.ts +1 -1
- package/dist/types/ui/navigation-menu.d.ts +1 -1
- package/dist/types/ui/popover.d.ts +1 -1
- package/dist/types/ui/portal.d.ts +2 -0
- package/dist/types/ui/progress.d.ts +1 -1
- package/dist/types/ui/radio-group.d.ts +1 -1
- package/dist/types/ui/scroll-area.d.ts +1 -1
- package/dist/types/ui/select.d.ts +1 -1
- package/dist/types/ui/separator.d.ts +1 -1
- package/dist/types/ui/simple-table.d.ts +1 -1
- package/dist/types/ui/skeleton.d.ts +1 -1
- package/dist/types/ui/slider.d.ts +1 -1
- package/dist/types/ui/switch.d.ts +1 -1
- package/dist/types/ui/symbols.d.ts +1 -1
- package/dist/types/ui/tabs.d.ts +1 -1
- package/dist/types/ui/tag.d.ts +1 -1
- package/dist/types/ui/text.d.ts +1 -1
- package/dist/types/ui/textarea.d.ts +1 -1
- package/dist/types/ui/toast.d.ts +1 -1
- package/dist/types/ui/toggle-group.d.ts +1 -1
- package/dist/types/ui/toggle.d.ts +1 -1
- package/dist/types/ui/tooltip.d.ts +1 -1
- package/dist/types/ui.d.ts +42 -14
- package/dist/ui/portal.cjs.js +1 -0
- package/dist/ui/portal.es.js +561 -0
- package/dist/ui/toast.cjs.js +1 -1
- package/dist/ui/toast.es.js +202 -47
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +61 -57
- package/package.json +1 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
4
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
5
|
+
import * as React_2 from 'react';
|
|
6
|
+
import { RefAttributes } from 'react';
|
|
7
|
+
import { RefObject } from 'react';
|
|
8
|
+
import { VariantProps } from 'class-variance-authority';
|
|
9
|
+
|
|
10
|
+
export declare const AlertForm: React_2.FC<AlertProps>;
|
|
11
|
+
|
|
12
|
+
export declare interface AlertProps {
|
|
13
|
+
id?: string;
|
|
14
|
+
open?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
description: string | default_2.ReactNode;
|
|
17
|
+
confirmText?: string;
|
|
18
|
+
onConfirm?: () => void;
|
|
19
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
20
|
+
onClose?: () => void;
|
|
21
|
+
theme?: ButtonProps["theme"];
|
|
22
|
+
children?: default_2.ReactNode;
|
|
23
|
+
forceMount?: true;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare type BasePortalOptions<T extends PortalType> = {
|
|
27
|
+
id: string;
|
|
28
|
+
type: T;
|
|
29
|
+
props: PortalTypeMap[T];
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
33
|
+
asChild?: boolean;
|
|
34
|
+
icLeft?: React_2.ReactNode;
|
|
35
|
+
icRight?: React_2.ReactNode;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare const buttonVariants: (props?: ({
|
|
39
|
+
theme?: "primary" | "secondary" | "etc" | null | undefined;
|
|
40
|
+
size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
|
|
41
|
+
variant?: "text" | "solid" | "outline" | null | undefined;
|
|
42
|
+
shape?: "square" | "rounded" | null | undefined;
|
|
43
|
+
} & ClassProp) | undefined) => string;
|
|
44
|
+
|
|
45
|
+
export declare const DialogForm: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
|
|
47
|
+
export declare interface DialogProps {
|
|
48
|
+
id?: string;
|
|
49
|
+
title: string;
|
|
50
|
+
content: string | default_2.ReactNode;
|
|
51
|
+
onClose?: () => void;
|
|
52
|
+
size?: "sm" | "md" | "lg" | "xl" | "max" | "fit" | "full" | "auto";
|
|
53
|
+
description?: string | default_2.ReactNode;
|
|
54
|
+
className?: string;
|
|
55
|
+
open?: boolean;
|
|
56
|
+
onOpenChange?: (open: boolean) => void;
|
|
57
|
+
footer?: default_2.ReactNode;
|
|
58
|
+
children?: default_2.ReactNode;
|
|
59
|
+
forceMount?: true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export declare const FreeForm: ForwardRefExoticComponent<FreeFormProps & RefAttributes<HTMLDivElement>>;
|
|
63
|
+
|
|
64
|
+
export declare interface FreeFormProps {
|
|
65
|
+
id?: string;
|
|
66
|
+
open?: boolean;
|
|
67
|
+
onClose?: () => void;
|
|
68
|
+
className?: string;
|
|
69
|
+
contents: default_2.ReactNode;
|
|
70
|
+
children?: default_2.ReactNode;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export declare const ModalForm: React_2.ForwardRefExoticComponent<ModalProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
|
|
75
|
+
export declare type ModalProps = {
|
|
76
|
+
id?: string;
|
|
77
|
+
open?: boolean;
|
|
78
|
+
title?: string;
|
|
79
|
+
description?: string | default_2.ReactNode;
|
|
80
|
+
subDescription?: string | default_2.ReactNode;
|
|
81
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
82
|
+
onConfirm?: () => void;
|
|
83
|
+
confirmText?: string;
|
|
84
|
+
onCancel?: () => void;
|
|
85
|
+
cancelText?: string;
|
|
86
|
+
onClose?: () => void;
|
|
87
|
+
contents?: default_2.ReactNode;
|
|
88
|
+
className?: string;
|
|
89
|
+
theme?: ButtonProps["theme"];
|
|
90
|
+
forceMount?: true;
|
|
91
|
+
children?: default_2.ReactNode;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* 매니저가 내부적으로 보관하는 엔트리 형태.
|
|
96
|
+
* `_openedAt` / `_forceClose` 는 외부에 노출되지 않는 일시적 내부 플래그다.
|
|
97
|
+
*/
|
|
98
|
+
export declare type PortalEntry = PortalOptions & {
|
|
99
|
+
isOpen: boolean;
|
|
100
|
+
_openedAt?: number;
|
|
101
|
+
_forceClose?: boolean;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export declare type PortalListener = (entry: PortalEntry, isOpen: boolean) => void;
|
|
105
|
+
|
|
106
|
+
declare class PortalManager {
|
|
107
|
+
private listeners;
|
|
108
|
+
private portals;
|
|
109
|
+
private queue;
|
|
110
|
+
private isProcessing;
|
|
111
|
+
private pendingEvents;
|
|
112
|
+
private broadcastScheduled;
|
|
113
|
+
private openPortalsSnapshot;
|
|
114
|
+
private schedule;
|
|
115
|
+
private processQueue;
|
|
116
|
+
private scheduleBroadcast;
|
|
117
|
+
private isPortalOpen;
|
|
118
|
+
private rebuildSnapshot;
|
|
119
|
+
subscribe(listener: PortalListener): () => void;
|
|
120
|
+
openPortal<T extends PortalType>(type: T, props: PortalTypeMap[T] & {
|
|
121
|
+
id?: string;
|
|
122
|
+
}): string;
|
|
123
|
+
setPortalOpen(id: string, isOpen: boolean, trigger?: "force" | "default"): void;
|
|
124
|
+
updatePortal<T extends PortalType>(id: string, type: T, patch: Partial<PortalTypeMap[T]>): void;
|
|
125
|
+
closePortal(id: string): void;
|
|
126
|
+
forceClosePortal(id: string): void;
|
|
127
|
+
closeAllPortals(): void;
|
|
128
|
+
getIsPortalOpen(id: string): boolean;
|
|
129
|
+
getOpenPortals(): string[];
|
|
130
|
+
/** useSyncExternalStore getSnapshot: 변경 시에만 새 참조. */
|
|
131
|
+
getOpenPortalsSnapshot(): string[];
|
|
132
|
+
private generateId;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export declare const portalManager: PortalManager;
|
|
136
|
+
|
|
137
|
+
export declare type PortalOptions = {
|
|
138
|
+
[K in keyof PortalTypeMap]: BasePortalOptions<K>;
|
|
139
|
+
}[keyof PortalTypeMap];
|
|
140
|
+
|
|
141
|
+
export declare const PortalProvider: () => JSX_2.Element;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* 포털로 띄울 수 있는 오버레이 종류.
|
|
145
|
+
* (토스트는 별도 시스템 `@/ui/toast` 으로 분리되어 있어 여기에 포함되지 않는다.)
|
|
146
|
+
*/
|
|
147
|
+
export declare type PortalType = "modal" | "alert" | "dialog" | "custom";
|
|
148
|
+
|
|
149
|
+
export declare interface PortalTypeMap {
|
|
150
|
+
modal: ModalProps;
|
|
151
|
+
alert: AlertProps;
|
|
152
|
+
dialog: DialogProps;
|
|
153
|
+
custom: FreeFormProps;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export declare type SpecificPortalOptions<T extends PortalType> = BasePortalOptions<T>;
|
|
157
|
+
|
|
158
|
+
export declare const usePortal: () => {
|
|
159
|
+
open: <T extends PortalType>(type: T, props: (T extends "modal" ? ModalProps : T extends "alert" ? AlertProps : T extends "dialog" ? DialogProps : FreeFormProps) & {
|
|
160
|
+
onClose?: () => void;
|
|
161
|
+
}) => string;
|
|
162
|
+
confirm: (props: ModalProps) => string;
|
|
163
|
+
alert: (props: AlertProps | string) => string;
|
|
164
|
+
dialog: (props: DialogProps) => string;
|
|
165
|
+
custom: (props: FreeFormProps) => string;
|
|
166
|
+
getIsOpen: (id: string) => boolean;
|
|
167
|
+
closePortal: (id: string) => void;
|
|
168
|
+
forceClosePortal: (id: string) => void;
|
|
169
|
+
closeAllPortals: () => void;
|
|
170
|
+
openPortals: string[];
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* body 스타일을 건드리지 않고 배경 스크롤 입력만 차단한다.
|
|
175
|
+
* sticky 컨텍스트는 유지하면서 alert / modal 뒤쪽 페이지 스크롤만 막기 위한 훅이다.
|
|
176
|
+
*/
|
|
177
|
+
export declare function usePortalBodyScrollLock(locked: boolean, contentRef: RefObject<HTMLElement | null>): void;
|
|
178
|
+
|
|
179
|
+
export { }
|
package/dist/types/toast.d.ts
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
3
|
import * as React_2 from 'react';
|
|
3
4
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
6
|
|
|
6
7
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
7
8
|
variant?: "white" | "black" | null | undefined;
|
|
8
|
-
size?: "full" | "sm" | "md" | "lg" | "
|
|
9
|
+
size?: "full" | "sm" | "md" | "lg" | "xl" | "fit" | null | undefined;
|
|
9
10
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|
|
10
11
|
|
|
12
|
+
export declare function toast({ ...props }: Toast_2): {
|
|
13
|
+
id: string;
|
|
14
|
+
dismiss: () => void;
|
|
15
|
+
update: (props: ToasterProps) => void;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
declare type Toast_2 = Omit<ToasterProps, "id">;
|
|
19
|
+
|
|
11
20
|
export declare const ToastAction: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
12
21
|
|
|
13
22
|
export declare type ToastActionElement = React_2.ReactElement<typeof ToastAction>;
|
|
@@ -16,6 +25,20 @@ export declare const ToastClose: React_2.ForwardRefExoticComponent<Omit<ToastPri
|
|
|
16
25
|
|
|
17
26
|
export declare const ToastDescription: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
18
27
|
|
|
28
|
+
export declare type ToasterProps = ToastProps & ToastViewportProps & {
|
|
29
|
+
id?: string;
|
|
30
|
+
title?: React_2.ReactNode;
|
|
31
|
+
description?: React_2.ReactNode;
|
|
32
|
+
onAction?: () => void;
|
|
33
|
+
actionBtnText?: string | React_2.ReactNode;
|
|
34
|
+
closeButton?: boolean;
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export declare function ToastForm(props: ToasterProps): JSX_2.Element;
|
|
39
|
+
|
|
40
|
+
export declare function ToastManager(): JSX_2.Element;
|
|
41
|
+
|
|
19
42
|
export declare type ToastPositionsType = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
20
43
|
|
|
21
44
|
export declare const toastPositionVariants: Record<ToastPositionsType, string>;
|
|
@@ -28,7 +51,7 @@ export declare const ToastTitle: React_2.ForwardRefExoticComponent<Omit<ToastPri
|
|
|
28
51
|
|
|
29
52
|
export declare const toastVariants: (props?: ({
|
|
30
53
|
variant?: "white" | "black" | null | undefined;
|
|
31
|
-
size?: "full" | "sm" | "md" | "lg" | "
|
|
54
|
+
size?: "full" | "sm" | "md" | "lg" | "xl" | "fit" | null | undefined;
|
|
32
55
|
} & ClassProp) | undefined) => string;
|
|
33
56
|
|
|
34
57
|
export declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React_2.RefAttributes<HTMLOListElement>, "ref"> & {
|
|
@@ -37,4 +60,10 @@ export declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<Toast
|
|
|
37
60
|
|
|
38
61
|
export declare type ToastViewportProps = React_2.ComponentPropsWithoutRef<typeof ToastViewport>;
|
|
39
62
|
|
|
63
|
+
export declare function useToast(): {
|
|
64
|
+
toast: typeof toast;
|
|
65
|
+
dismiss: (toastId?: string) => void;
|
|
66
|
+
toasts: ToasterProps[];
|
|
67
|
+
};
|
|
68
|
+
|
|
40
69
|
export { }
|
|
@@ -18,7 +18,7 @@ export declare type ToggleButtonType = "single" | "multiple";
|
|
|
18
18
|
export declare const ToggleGroup: React_2.ForwardRefExoticComponent<((ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & VariantProps<(props?: ({
|
|
19
19
|
variant?: "solid" | "outline" | null | undefined;
|
|
20
20
|
theme?: "primary" | "secondary" | null | undefined;
|
|
21
|
-
size?: "
|
|
21
|
+
size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
|
|
22
22
|
shape?: "square" | "rounded" | null | undefined;
|
|
23
23
|
checked?: boolean | null | undefined;
|
|
24
24
|
} & ClassProp) | undefined) => string>) & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -42,7 +42,7 @@ declare interface ToggleGroupItemProps extends ToggleGroupPrimitive.ToggleGroupI
|
|
|
42
42
|
declare const toggleVariants: (props?: ({
|
|
43
43
|
variant?: "solid" | "outline" | null | undefined;
|
|
44
44
|
theme?: "primary" | "secondary" | null | undefined;
|
|
45
|
-
size?: "
|
|
45
|
+
size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
|
|
46
46
|
shape?: "square" | "rounded" | null | undefined;
|
|
47
47
|
checked?: boolean | null | undefined;
|
|
48
48
|
} & ClassProp) | undefined) => string;
|
package/dist/types/toggle.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
6
|
export declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
7
7
|
variant?: "solid" | "outline" | null | undefined;
|
|
8
8
|
theme?: "primary" | "secondary" | null | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
|
|
10
10
|
shape?: "square" | "rounded" | null | undefined;
|
|
11
11
|
checked?: boolean | null | undefined;
|
|
12
12
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -14,7 +14,7 @@ export declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimit
|
|
|
14
14
|
export declare const toggleVariants: (props?: ({
|
|
15
15
|
variant?: "solid" | "outline" | null | undefined;
|
|
16
16
|
theme?: "primary" | "secondary" | null | undefined;
|
|
17
|
-
size?: "
|
|
17
|
+
size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
|
|
18
18
|
shape?: "square" | "rounded" | null | undefined;
|
|
19
19
|
checked?: boolean | null | undefined;
|
|
20
20
|
} & ClassProp) | undefined) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../accordion'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../alert-dialog'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../anchor'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../aspect-ratio'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../avatar'
|
|
2
2
|
export {}
|
package/dist/types/ui/badge.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../badge'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../button'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../calendar'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../callout'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../card-label'
|
|
2
2
|
export {}
|
package/dist/types/ui/card.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../card'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../checkbox'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../circled-check-button'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../command'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../dialog'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../dropdown-menu'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../file-uploader'
|
|
2
2
|
export {}
|
package/dist/types/ui/form.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../form'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../highlight-text'
|
|
2
2
|
export {}
|
package/dist/types/ui/icons.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../icons'
|
|
2
2
|
export {}
|
package/dist/types/ui/image.d.ts
CHANGED
package/dist/types/ui/input.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../input'
|
|
2
2
|
export {}
|
package/dist/types/ui/label.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../label'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../month-picker'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../multi-select'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../navigation-menu'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../popover'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../progress'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../radio-group'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../scroll-area'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../select'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../separator'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../simple-table'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../skeleton'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../slider'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../switch'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../symbols'
|
|
2
2
|
export {}
|
package/dist/types/ui/tabs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../tabs'
|
|
2
2
|
export {}
|
package/dist/types/ui/tag.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../tag'
|
|
2
2
|
export {}
|
package/dist/types/ui/text.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../text'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../textarea'
|
|
2
2
|
export {}
|
package/dist/types/ui/toast.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../toast'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../toggle-group'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../toggle'
|
|
2
2
|
export {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../
|
|
1
|
+
export * from '../tooltip'
|
|
2
2
|
export {}
|