@nexus-cross/design-system 1.0.6 → 1.0.8
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/breadcrumb.js +6 -2
- package/dist/breadcrumb.mjs +1 -1
- package/dist/chunks/{chunk-PXBZEAZQ.mjs → chunk-22O6YUYH.mjs} +1 -1
- package/dist/chunks/{chunk-SUIT4XKB.js → chunk-3RK3UT2O.js} +42 -11
- package/dist/chunks/{chunk-GN6X27QI.mjs → chunk-AAITRHED.mjs} +42 -11
- package/dist/chunks/chunk-DDY7ENHX.mjs +53 -0
- package/dist/chunks/{chunk-QRNHFOLG.js → chunk-OE5BAEBE.js} +1 -1
- package/dist/chunks/chunk-WATCVNBT.js +76 -0
- package/dist/component-tokens/button.d.ts +3 -0
- package/dist/component-tokens/button.d.ts.map +1 -0
- package/dist/component-tokens/index.d.ts +3 -0
- package/dist/component-tokens/index.d.ts.map +1 -0
- package/dist/component-tokens/types.d.ts +19 -0
- package/dist/component-tokens/types.d.ts.map +1 -0
- package/dist/{accordion.d.mts → components/Accordion.d.ts} +2 -3
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/{alert.d.mts → components/Alert.d.ts} +5 -6
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/{avatar.d.mts → components/Avatar.d.ts} +5 -6
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/{badge.d.mts → components/Badge.d.ts} +5 -6
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Breadcrumb.d.ts +23 -0
- package/dist/components/Breadcrumb.d.ts.map +1 -0
- package/dist/{button.d.mts → components/Button.d.ts} +5 -6
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/{carousel.d.mts → components/Carousel.d.ts} +5 -6
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/{checkbox.d.mts → components/CheckBox.d.ts} +6 -7
- package/dist/components/CheckBox.d.ts.map +1 -0
- package/dist/{chip.d.mts → components/Chip.d.ts} +6 -7
- package/dist/components/Chip.d.ts.map +1 -0
- package/dist/{client-only.d.mts → components/ClientOnly.d.ts} +4 -5
- package/dist/components/ClientOnly.d.ts.map +1 -0
- package/dist/{countdown.d.mts → components/Countdown.d.ts} +3 -3
- package/dist/components/Countdown.d.ts.map +1 -0
- package/dist/{counter.d.mts → components/Counter.d.ts} +3 -3
- package/dist/components/Counter.d.ts.map +1 -0
- package/dist/{data-list.d.mts → components/DataList.d.ts} +4 -5
- package/dist/components/DataList.d.ts.map +1 -0
- package/dist/{date-picker.d.mts → components/DatePicker.d.ts} +3 -3
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/{divider.d.mts → components/Divider.d.ts} +5 -6
- package/dist/components/Divider.d.ts.map +1 -0
- package/dist/{drawer.d.mts → components/Drawer.d.ts} +13 -15
- package/dist/components/Drawer.d.ts.map +1 -0
- package/dist/{dropdown-menu.d.mts → components/DropdownMenu.d.ts} +4 -4
- package/dist/components/DropdownMenu.d.ts.map +1 -0
- package/dist/{ellipsis.d.mts → components/Ellipsis.d.ts} +4 -5
- package/dist/components/Ellipsis.d.ts.map +1 -0
- package/dist/{empty-state.d.mts → components/EmptyState.d.ts} +5 -6
- package/dist/components/EmptyState.d.ts.map +1 -0
- package/dist/{error-boundary.d.mts → components/ErrorBoundary.d.ts} +4 -5
- package/dist/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/{infinite-scroll.d.mts → components/InfiniteScroll.d.ts} +5 -6
- package/dist/components/InfiniteScroll.d.ts.map +1 -0
- package/dist/{marquee.d.mts → components/Marquee.d.ts} +3 -3
- package/dist/components/Marquee.d.ts.map +1 -0
- package/dist/{number-input.d.mts → components/NumberInput.d.ts} +5 -6
- package/dist/components/NumberInput.d.ts.map +1 -0
- package/dist/{nx-image.d.mts → components/NxImage.d.ts} +3 -3
- package/dist/components/NxImage.d.ts.map +1 -0
- package/dist/{pagination.d.mts → components/Pagination.d.ts} +6 -7
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +23 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/{price-input.d.ts → components/PriceInput.d.ts} +5 -6
- package/dist/components/PriceInput.d.ts.map +1 -0
- package/dist/{progress.d.mts → components/Progress.d.ts} +5 -6
- package/dist/components/Progress.d.ts.map +1 -0
- package/dist/{radio-group.d.mts → components/RadioGroup.d.ts} +6 -7
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/{select.d.mts → components/Select.d.ts} +7 -10
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/{skeleton.d.mts → components/Skeleton.d.ts} +3 -3
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/{slider.d.mts → components/Slider.d.ts} +5 -6
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/{spinner.d.mts → components/Spinner.d.ts} +3 -3
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/{stepper.d.mts → components/Stepper.d.ts} +5 -6
- package/dist/components/Stepper.d.ts.map +1 -0
- package/dist/{switch.d.mts → components/Switch.d.ts} +5 -6
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/{tab.d.mts → components/Tab.d.ts} +7 -9
- package/dist/components/Tab.d.ts.map +1 -0
- package/dist/{tag-input.d.mts → components/TagInput.d.ts} +5 -6
- package/dist/components/TagInput.d.ts.map +1 -0
- package/dist/{text-area.d.mts → components/TextArea.d.ts} +5 -6
- package/dist/components/TextArea.d.ts.map +1 -0
- package/dist/{text-input.d.mts → components/TextInput.d.ts} +5 -6
- package/dist/components/TextInput.d.ts.map +1 -0
- package/dist/{theme-provider.d.mts → components/ThemeProvider.d.ts} +3 -3
- package/dist/components/ThemeProvider.d.ts.map +1 -0
- package/dist/{toggle-group.d.mts → components/ToggleGroup.d.ts} +5 -6
- package/dist/components/ToggleGroup.d.ts.map +1 -0
- package/dist/{tooltip.d.mts → components/Tooltip.d.ts} +6 -10
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/{virtual-scroll.d.mts → components/VirtualScroll.d.ts} +4 -4
- package/dist/components/VirtualScroll.d.ts.map +1 -0
- package/dist/hooks/useCheckDevice.d.ts +4 -4
- package/dist/hooks/useCheckDevice.d.ts.map +1 -0
- package/dist/hooks/useClickOutside.d.ts +2 -2
- package/dist/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useDraggableBottomSheet.d.ts +3 -3
- package/dist/hooks/useDraggableBottomSheet.d.ts.map +1 -0
- package/dist/hooks/useDraggableWindow.d.ts +5 -7
- package/dist/hooks/useDraggableWindow.d.ts.map +1 -0
- package/dist/hooks/useInView.d.ts +3 -3
- package/dist/hooks/useInView.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts +48 -2
- package/dist/hooks/useModal.d.ts.map +1 -0
- package/dist/index.d.ts +100 -91
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -9
- package/dist/index.mjs +2 -2
- package/dist/modal/Modal.d.ts +52 -0
- package/dist/modal/Modal.d.ts.map +1 -0
- package/dist/modal/components/ModalComponent.d.ts +22 -0
- package/dist/modal/components/ModalComponent.d.ts.map +1 -0
- package/dist/modal/components/ModalContainer.d.ts +9 -0
- package/dist/modal/components/ModalContainer.d.ts.map +1 -0
- package/dist/modal/components/ModalPortal.d.ts +8 -0
- package/dist/modal/components/ModalPortal.d.ts.map +1 -0
- package/dist/modal/components/ModalPortalTarget.d.ts +7 -0
- package/dist/modal/components/ModalPortalTarget.d.ts.map +1 -0
- package/dist/modal/components/ModalTemplate.d.ts +20 -0
- package/dist/modal/components/ModalTemplate.d.ts.map +1 -0
- package/dist/modal/components/ModalTemplate.variants.d.ts +29 -0
- package/dist/modal/components/ModalTemplate.variants.d.ts.map +1 -0
- package/dist/modal/constants.d.ts +3 -0
- package/dist/modal/constants.d.ts.map +1 -0
- package/dist/modal/index.d.ts +11 -82
- package/dist/modal/index.d.ts.map +1 -0
- package/dist/modal/types.d.ts +90 -0
- package/dist/modal/types.d.ts.map +1 -0
- package/dist/schemas/_all.json +6 -26
- package/dist/schemas/accordion.d.ts +67 -0
- package/dist/schemas/accordion.d.ts.map +1 -0
- package/dist/schemas/alert.d.ts +30 -0
- package/dist/schemas/alert.d.ts.map +1 -0
- package/dist/schemas/avatar.d.ts +30 -0
- package/dist/schemas/avatar.d.ts.map +1 -0
- package/dist/schemas/badge.d.ts +33 -0
- package/dist/schemas/badge.d.ts.map +1 -0
- package/dist/schemas/breadcrumb.d.ts +28 -0
- package/dist/schemas/breadcrumb.d.ts.map +1 -0
- package/dist/schemas/breadcrumb.json +6 -26
- package/dist/schemas/button.d.ts +42 -0
- package/dist/schemas/button.d.ts.map +1 -0
- package/dist/schemas/carousel.d.ts +48 -0
- package/dist/schemas/carousel.d.ts.map +1 -0
- package/dist/schemas/checkbox.d.ts +48 -0
- package/dist/schemas/checkbox.d.ts.map +1 -0
- package/dist/schemas/chip.d.ts +30 -0
- package/dist/schemas/chip.d.ts.map +1 -0
- package/dist/schemas/client-only.d.ts +12 -0
- package/dist/schemas/client-only.d.ts.map +1 -0
- package/dist/schemas/countdown.d.ts +52 -0
- package/dist/schemas/countdown.d.ts.map +1 -0
- package/dist/schemas/counter.d.ts +36 -0
- package/dist/schemas/counter.d.ts.map +1 -0
- package/dist/schemas/data-list.d.ts +33 -0
- package/dist/schemas/data-list.d.ts.map +1 -0
- package/dist/schemas/date-picker.d.ts +36 -0
- package/dist/schemas/date-picker.d.ts.map +1 -0
- package/dist/schemas/divider.d.ts +21 -0
- package/dist/schemas/divider.d.ts.map +1 -0
- package/dist/schemas/drawer.d.ts +95 -0
- package/dist/schemas/drawer.d.ts.map +1 -0
- package/dist/schemas/dropdown-menu.d.ts +64 -0
- package/dist/schemas/dropdown-menu.d.ts.map +1 -0
- package/dist/schemas/ellipsis.d.ts +30 -0
- package/dist/schemas/ellipsis.d.ts.map +1 -0
- package/dist/schemas/empty-state.d.ts +27 -0
- package/dist/schemas/empty-state.d.ts.map +1 -0
- package/dist/schemas/error-boundary.d.ts +15 -0
- package/dist/schemas/error-boundary.d.ts.map +1 -0
- package/dist/schemas/index.d.ts +47 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/infinite-scroll.d.ts +39 -0
- package/dist/schemas/infinite-scroll.d.ts.map +1 -0
- package/dist/schemas/marquee.d.ts +27 -0
- package/dist/schemas/marquee.d.ts.map +1 -0
- package/dist/schemas/modal.d.ts +176 -0
- package/dist/schemas/modal.d.ts.map +1 -0
- package/dist/schemas/number-input.d.ts +72 -0
- package/dist/schemas/number-input.d.ts.map +1 -0
- package/dist/schemas/nx-image.d.ts +33 -0
- package/dist/schemas/nx-image.d.ts.map +1 -0
- package/dist/schemas/pagination.d.ts +27 -0
- package/dist/schemas/pagination.d.ts.map +1 -0
- package/dist/schemas/popover.d.ts +39 -0
- package/dist/schemas/popover.d.ts.map +1 -0
- package/dist/schemas/price-input.d.ts +63 -0
- package/dist/schemas/price-input.d.ts.map +1 -0
- package/dist/schemas/progress.d.ts +30 -0
- package/dist/schemas/progress.d.ts.map +1 -0
- package/dist/schemas/radio-group.d.ts +61 -0
- package/dist/schemas/radio-group.d.ts.map +1 -0
- package/dist/schemas/select.d.ts +52 -0
- package/dist/schemas/select.d.ts.map +1 -0
- package/dist/schemas/skeleton.d.ts +27 -0
- package/dist/schemas/skeleton.d.ts.map +1 -0
- package/dist/schemas/slider.d.ts +45 -0
- package/dist/schemas/slider.d.ts.map +1 -0
- package/dist/schemas/spinner.d.ts +21 -0
- package/dist/schemas/spinner.d.ts.map +1 -0
- package/dist/schemas/stepper.d.ts +39 -0
- package/dist/schemas/stepper.d.ts.map +1 -0
- package/dist/schemas/switch.d.ts +33 -0
- package/dist/schemas/switch.d.ts.map +1 -0
- package/dist/schemas/tab.d.ts +61 -0
- package/dist/schemas/tab.d.ts.map +1 -0
- package/dist/schemas/table.d.ts +113 -0
- package/dist/schemas/table.d.ts.map +1 -0
- package/dist/schemas/tag-input.d.ts +39 -0
- package/dist/schemas/tag-input.d.ts.map +1 -0
- package/dist/schemas/text-area.d.ts +69 -0
- package/dist/schemas/text-area.d.ts.map +1 -0
- package/dist/schemas/text-input.d.ts +78 -0
- package/dist/schemas/text-input.d.ts.map +1 -0
- package/dist/schemas/theme-provider.d.ts +36 -0
- package/dist/schemas/theme-provider.d.ts.map +1 -0
- package/dist/schemas/toast.d.ts +91 -0
- package/dist/schemas/toast.d.ts.map +1 -0
- package/dist/schemas/toggle-group.d.ts +58 -0
- package/dist/schemas/toggle-group.d.ts.map +1 -0
- package/dist/schemas/tooltip.d.ts +33 -0
- package/dist/schemas/tooltip.d.ts.map +1 -0
- package/dist/schemas/virtual-scroll.d.ts +67 -0
- package/dist/schemas/virtual-scroll.d.ts.map +1 -0
- package/dist/schemas.js +11 -10
- package/dist/schemas.mjs +11 -10
- package/dist/styles/.generated/built.d.ts +3 -0
- package/dist/styles/.generated/built.d.ts.map +1 -0
- package/dist/styles/inject-layer.d.ts +2 -0
- package/dist/styles/inject-layer.d.ts.map +1 -0
- package/dist/styles/inject.d.ts +2 -0
- package/dist/styles/inject.d.ts.map +1 -0
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +96 -33
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +96 -33
- package/dist/styles.mjs +1 -1
- package/dist/table/Table.d.ts +20 -0
- package/dist/table/Table.d.ts.map +1 -0
- package/dist/table/TableHighlightContext.d.ts +11 -0
- package/dist/table/TableHighlightContext.d.ts.map +1 -0
- package/dist/table/TableRow.d.ts +17 -0
- package/dist/table/TableRow.d.ts.map +1 -0
- package/dist/table/TdColumn.d.ts +14 -0
- package/dist/table/TdColumn.d.ts.map +1 -0
- package/dist/table/index.d.ts +23 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/table/types.d.ts +27 -0
- package/dist/table/types.d.ts.map +1 -0
- package/dist/table.js +7 -7
- package/dist/table.mjs +1 -1
- package/dist/toast/Toast.d.ts +8 -0
- package/dist/toast/Toast.d.ts.map +1 -0
- package/dist/toast/index.d.ts +6 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/{toast.d.mts → toast/useToast.d.ts} +4 -14
- package/dist/toast/useToast.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +3 -5
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/scroll.d.ts +3 -4
- package/dist/utils/scroll.d.ts.map +1 -0
- package/package.json +49 -49
- package/dist/accordion.d.ts +0 -28
- package/dist/alert.d.ts +0 -17
- package/dist/avatar.d.ts +0 -17
- package/dist/badge.d.ts +0 -18
- package/dist/breadcrumb.d.mts +0 -15
- package/dist/breadcrumb.d.ts +0 -15
- package/dist/button.d.ts +0 -17
- package/dist/carousel.d.ts +0 -36
- package/dist/checkbox.d.ts +0 -21
- package/dist/chip.d.ts +0 -16
- package/dist/chunks/chunk-3ZWN66YH.js +0 -53
- package/dist/chunks/chunk-EJY7IVSK.mjs +0 -31
- package/dist/client-only.d.ts +0 -13
- package/dist/countdown.d.ts +0 -27
- package/dist/counter.d.ts +0 -15
- package/dist/data-list.d.ts +0 -33
- package/dist/date-picker.d.ts +0 -17
- package/dist/divider.d.ts +0 -14
- package/dist/drawer.d.ts +0 -42
- package/dist/dropdown-menu.d.ts +0 -30
- package/dist/ellipsis.d.ts +0 -16
- package/dist/empty-state.d.ts +0 -16
- package/dist/error-boundary.d.ts +0 -20
- package/dist/hooks/useCheckDevice.d.mts +0 -47
- package/dist/hooks/useClickOutside.d.mts +0 -12
- package/dist/hooks/useDraggableBottomSheet.d.mts +0 -24
- package/dist/hooks/useDraggableWindow.d.mts +0 -21
- package/dist/hooks/useInView.d.mts +0 -14
- package/dist/hooks/useModal.d.mts +0 -2
- package/dist/index.d.mts +0 -91
- package/dist/infinite-scroll.d.ts +0 -26
- package/dist/marquee.d.ts +0 -12
- package/dist/modal/index.d.mts +0 -87
- package/dist/number-input.d.ts +0 -37
- package/dist/nx-image.d.ts +0 -13
- package/dist/pagination.d.ts +0 -22
- package/dist/popover.d.mts +0 -25
- package/dist/popover.d.ts +0 -25
- package/dist/price-input.d.mts +0 -36
- package/dist/progress.d.ts +0 -18
- package/dist/radio-group.d.ts +0 -29
- package/dist/schemas.d.mts +0 -2173
- package/dist/schemas.d.ts +0 -2173
- package/dist/select.d.ts +0 -31
- package/dist/skeleton.d.ts +0 -15
- package/dist/slider.d.ts +0 -20
- package/dist/spinner.d.ts +0 -9
- package/dist/stepper.d.ts +0 -20
- package/dist/styles/layer.d.mts +0 -3
- package/dist/styles/layer.d.ts +0 -3
- package/dist/styles.d.mts +0 -3
- package/dist/styles.d.ts +0 -3
- package/dist/switch.d.ts +0 -15
- package/dist/tab.d.ts +0 -36
- package/dist/table.d.mts +0 -95
- package/dist/table.d.ts +0 -95
- package/dist/tag-input.d.ts +0 -21
- package/dist/text-area.d.ts +0 -19
- package/dist/text-input.d.ts +0 -21
- package/dist/theme-provider.d.ts +0 -25
- package/dist/toast.d.ts +0 -42
- package/dist/toggle-group.d.ts +0 -36
- package/dist/tooltip.d.ts +0 -24
- package/dist/useModal-BsGIcP8t.d.mts +0 -128
- package/dist/useModal-BsGIcP8t.d.ts +0 -128
- package/dist/utils/cn.d.mts +0 -5
- package/dist/utils/scroll.d.mts +0 -4
- package/dist/virtual-scroll.d.ts +0 -34
package/dist/select.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
|
|
6
|
-
declare const selectTriggerVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "outline" | null | undefined;
|
|
8
|
-
size?: "lg" | "md" | "sm" | "full" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare const selectContentVariants: (props?: ({
|
|
11
|
-
size?: "lg" | "md" | "sm" | "full" | null | undefined;
|
|
12
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
|
-
interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
value?: string;
|
|
16
|
-
onValueChange?: (value: string) => void;
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
className?: string;
|
|
20
|
-
displayComponent?: ReactNode;
|
|
21
|
-
triggerClassName?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const Select: ({ children, value, onValueChange, placeholder, disabled, size, variant, className, triggerClassName, displayComponent, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
24
|
-
declare const SelectItem: ({ children, value, disabled, className, }: {
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
value: string;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
className?: string;
|
|
29
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
30
|
-
|
|
31
|
-
export { Select, SelectItem, selectContentVariants, selectTriggerVariants };
|
package/dist/skeleton.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SkeletonProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
-
/** 렌더링 태그 */
|
|
5
|
-
as?: 'div' | 'span';
|
|
6
|
-
/** 원형 스켈레톤 */
|
|
7
|
-
circle?: boolean;
|
|
8
|
-
/** 너비 (inline style, 예: '100px', '50%') */
|
|
9
|
-
width?: string | number;
|
|
10
|
-
/** 높이 (inline style, 예: '16px') */
|
|
11
|
-
height?: string | number;
|
|
12
|
-
}
|
|
13
|
-
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLElement>>;
|
|
14
|
-
|
|
15
|
-
export { Skeleton, type SkeletonProps };
|
package/dist/slider.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
|
|
6
|
-
declare const sliderVariants: (props?: ({
|
|
7
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface SliderProps extends Omit<React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, 'value' | 'defaultValue' | 'onValueChange'>, VariantProps<typeof sliderVariants> {
|
|
10
|
-
value?: number[];
|
|
11
|
-
defaultValue?: number[];
|
|
12
|
-
onValueChange?: (value: number[]) => void;
|
|
13
|
-
onValueCommit?: (value: number[]) => void;
|
|
14
|
-
showValue?: boolean;
|
|
15
|
-
formatValue?: (value: number) => string;
|
|
16
|
-
label?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
19
|
-
|
|
20
|
-
export { Slider, type SliderProps, sliderVariants };
|
package/dist/spinner.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SpinnerProps extends React.SVGAttributes<SVGSVGElement> {
|
|
4
|
-
size?: number;
|
|
5
|
-
'aria-label'?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<SVGSVGElement>>;
|
|
8
|
-
|
|
9
|
-
export { Spinner, type SpinnerProps };
|
package/dist/stepper.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const stepperVariants: (props?: ({
|
|
6
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
7
|
-
size?: "md" | "sm" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface StepItem {
|
|
10
|
-
label: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
}
|
|
13
|
-
interface StepperProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof stepperVariants> {
|
|
14
|
-
steps: StepItem[];
|
|
15
|
-
current?: number;
|
|
16
|
-
status?: 'process' | 'error';
|
|
17
|
-
}
|
|
18
|
-
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
|
|
20
|
-
export { type StepItem, Stepper, type StepperProps, stepperVariants };
|
package/dist/styles/layer.d.mts
DELETED
package/dist/styles/layer.d.ts
DELETED
package/dist/styles.d.mts
DELETED
package/dist/styles.d.ts
DELETED
package/dist/switch.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const switchVariants: (props?: ({
|
|
6
|
-
size?: "md" | "sm" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange'>, VariantProps<typeof switchVariants> {
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
11
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
12
|
-
}
|
|
13
|
-
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
-
|
|
15
|
-
export { Switch, type SwitchProps, switchVariants };
|
package/dist/tab.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
|
|
6
|
-
declare const tabListVariants: (props?: ({
|
|
7
|
-
variant?: "line" | "pill" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
declare const tabTriggerVariants: (props?: ({
|
|
10
|
-
variant?: "line" | "pill" | null | undefined;
|
|
11
|
-
size?: "md" | "sm" | null | undefined;
|
|
12
|
-
active?: boolean | null | undefined;
|
|
13
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
interface TabItem {
|
|
15
|
-
key: string;
|
|
16
|
-
label: React.ReactNode;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
20
|
-
interface TabProps extends VariantProps<typeof tabListVariants> {
|
|
21
|
-
items: TabItem[];
|
|
22
|
-
activeKey?: string;
|
|
23
|
-
defaultActiveKey?: string;
|
|
24
|
-
size?: 'sm' | 'md';
|
|
25
|
-
destroyInactive?: boolean;
|
|
26
|
-
onTabChange?: (key: string) => void;
|
|
27
|
-
className?: string;
|
|
28
|
-
tabListClassName?: string;
|
|
29
|
-
tabPanelClassName?: string;
|
|
30
|
-
}
|
|
31
|
-
declare function Tab({ items, activeKey: controlledKey, defaultActiveKey, variant, size, destroyInactive, onTabChange, className, tabListClassName, tabPanelClassName, }: TabProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
declare namespace Tab {
|
|
33
|
-
var displayName: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { Tab, type TabItem, type TabProps, tabListVariants, tabTriggerVariants };
|
package/dist/table.d.mts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ReactElement, ReactNode, MouseEvent } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
type TableThRowDataType = {
|
|
8
|
-
className?: string;
|
|
9
|
-
label?: ReactElement | string;
|
|
10
|
-
fieldId: string | null;
|
|
11
|
-
rowSpan?: number;
|
|
12
|
-
colSpan?: number;
|
|
13
|
-
thColSpan?: number;
|
|
14
|
-
thRowSpan?: number;
|
|
15
|
-
size?: number | string;
|
|
16
|
-
align?: 'center' | 'left' | 'right';
|
|
17
|
-
enableSorting?: boolean;
|
|
18
|
-
order?: 'desc' | 'asc' | '';
|
|
19
|
-
sortValue?: string | number;
|
|
20
|
-
handleClickSort?: (params: {
|
|
21
|
-
index: number;
|
|
22
|
-
fieldId: string;
|
|
23
|
-
order: 'desc' | 'asc' | '';
|
|
24
|
-
}) => Promise<void> | void;
|
|
25
|
-
};
|
|
26
|
-
type TableData = Record<string, unknown>;
|
|
27
|
-
type ChildrenFuncParamsType<T> = {
|
|
28
|
-
index: number;
|
|
29
|
-
item: T extends (infer R)[] ? R : never;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
type TdColumnProps = TableThRowDataType & {
|
|
33
|
-
children: ReactNode;
|
|
34
|
-
textOverflow?: 'auto' | 'truncate' | 'wrap' | 'break-all';
|
|
35
|
-
highlightKey?: string | null;
|
|
36
|
-
};
|
|
37
|
-
declare const TdColumn: {
|
|
38
|
-
({ className, children, fieldId, size, colSpan, rowSpan, align, textOverflow, highlightKey, }: TdColumnProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
declare const tableRowVariants: (props?: ({
|
|
43
|
-
variant?: "default" | "accent" | null | undefined;
|
|
44
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
45
|
-
type TableRowProps = VariantProps<typeof tableRowVariants> & {
|
|
46
|
-
className?: string;
|
|
47
|
-
children: ReactNode | string;
|
|
48
|
-
onClick?: (e: MouseEvent<HTMLTableRowElement>) => void;
|
|
49
|
-
};
|
|
50
|
-
declare const TableRow: {
|
|
51
|
-
({ className, children, onClick, variant }: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
52
|
-
displayName: string;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
interface TableProps<T extends TableData[]> {
|
|
56
|
-
className?: string;
|
|
57
|
-
theadClassName?: string;
|
|
58
|
-
notification?: ReactNode;
|
|
59
|
-
list: T | null | undefined;
|
|
60
|
-
noDataMsg?: ReactElement | string;
|
|
61
|
-
hideThead?: boolean;
|
|
62
|
-
sortUpElement?: ReactElement | string;
|
|
63
|
-
sortDownElement?: ReactElement | string;
|
|
64
|
-
loadingType?: 'loading' | 'skeleton';
|
|
65
|
-
loadingElement?: ReactElement;
|
|
66
|
-
loading?: boolean;
|
|
67
|
-
skeletonCount?: number;
|
|
68
|
-
children: (obj: ChildrenFuncParamsType<T>) => ReactNode;
|
|
69
|
-
}
|
|
70
|
-
declare function Table$1<T extends TableData[]>({ className, theadClassName, list, children, loadingElement, noDataMsg, hideThead, sortUpElement, sortDownElement, loadingType, loading, skeletonCount, notification, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
71
|
-
|
|
72
|
-
type TableHighlightContextType = {
|
|
73
|
-
highlightValue: string | null;
|
|
74
|
-
setHighlightValue: (value: string | null) => void;
|
|
75
|
-
};
|
|
76
|
-
declare const useTableHighlight: () => TableHighlightContextType;
|
|
77
|
-
declare const TableHighlightProvider: ({ children }: {
|
|
78
|
-
children: ReactNode;
|
|
79
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
80
|
-
|
|
81
|
-
declare const Table: typeof Table$1 & {
|
|
82
|
-
Row: {
|
|
83
|
-
({ className, children, onClick, variant }: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
84
|
-
displayName: string;
|
|
85
|
-
};
|
|
86
|
-
Column: {
|
|
87
|
-
({ className, children, fieldId, size, colSpan, rowSpan, align, textOverflow, highlightKey, }: TdColumnProps): react_jsx_runtime.JSX.Element;
|
|
88
|
-
displayName: string;
|
|
89
|
-
};
|
|
90
|
-
HighlightProvider: ({ children }: {
|
|
91
|
-
children: React.ReactNode;
|
|
92
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export { type ChildrenFuncParamsType, Table, type TableData, TableHighlightProvider, type TableProps, TableRow, type TableRowProps, type TableThRowDataType, TdColumn, type TdColumnProps, tableRowVariants, useTableHighlight };
|
package/dist/table.d.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ReactElement, ReactNode, MouseEvent } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
type TableThRowDataType = {
|
|
8
|
-
className?: string;
|
|
9
|
-
label?: ReactElement | string;
|
|
10
|
-
fieldId: string | null;
|
|
11
|
-
rowSpan?: number;
|
|
12
|
-
colSpan?: number;
|
|
13
|
-
thColSpan?: number;
|
|
14
|
-
thRowSpan?: number;
|
|
15
|
-
size?: number | string;
|
|
16
|
-
align?: 'center' | 'left' | 'right';
|
|
17
|
-
enableSorting?: boolean;
|
|
18
|
-
order?: 'desc' | 'asc' | '';
|
|
19
|
-
sortValue?: string | number;
|
|
20
|
-
handleClickSort?: (params: {
|
|
21
|
-
index: number;
|
|
22
|
-
fieldId: string;
|
|
23
|
-
order: 'desc' | 'asc' | '';
|
|
24
|
-
}) => Promise<void> | void;
|
|
25
|
-
};
|
|
26
|
-
type TableData = Record<string, unknown>;
|
|
27
|
-
type ChildrenFuncParamsType<T> = {
|
|
28
|
-
index: number;
|
|
29
|
-
item: T extends (infer R)[] ? R : never;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
type TdColumnProps = TableThRowDataType & {
|
|
33
|
-
children: ReactNode;
|
|
34
|
-
textOverflow?: 'auto' | 'truncate' | 'wrap' | 'break-all';
|
|
35
|
-
highlightKey?: string | null;
|
|
36
|
-
};
|
|
37
|
-
declare const TdColumn: {
|
|
38
|
-
({ className, children, fieldId, size, colSpan, rowSpan, align, textOverflow, highlightKey, }: TdColumnProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
declare const tableRowVariants: (props?: ({
|
|
43
|
-
variant?: "default" | "accent" | null | undefined;
|
|
44
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
45
|
-
type TableRowProps = VariantProps<typeof tableRowVariants> & {
|
|
46
|
-
className?: string;
|
|
47
|
-
children: ReactNode | string;
|
|
48
|
-
onClick?: (e: MouseEvent<HTMLTableRowElement>) => void;
|
|
49
|
-
};
|
|
50
|
-
declare const TableRow: {
|
|
51
|
-
({ className, children, onClick, variant }: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
52
|
-
displayName: string;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
interface TableProps<T extends TableData[]> {
|
|
56
|
-
className?: string;
|
|
57
|
-
theadClassName?: string;
|
|
58
|
-
notification?: ReactNode;
|
|
59
|
-
list: T | null | undefined;
|
|
60
|
-
noDataMsg?: ReactElement | string;
|
|
61
|
-
hideThead?: boolean;
|
|
62
|
-
sortUpElement?: ReactElement | string;
|
|
63
|
-
sortDownElement?: ReactElement | string;
|
|
64
|
-
loadingType?: 'loading' | 'skeleton';
|
|
65
|
-
loadingElement?: ReactElement;
|
|
66
|
-
loading?: boolean;
|
|
67
|
-
skeletonCount?: number;
|
|
68
|
-
children: (obj: ChildrenFuncParamsType<T>) => ReactNode;
|
|
69
|
-
}
|
|
70
|
-
declare function Table$1<T extends TableData[]>({ className, theadClassName, list, children, loadingElement, noDataMsg, hideThead, sortUpElement, sortDownElement, loadingType, loading, skeletonCount, notification, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
71
|
-
|
|
72
|
-
type TableHighlightContextType = {
|
|
73
|
-
highlightValue: string | null;
|
|
74
|
-
setHighlightValue: (value: string | null) => void;
|
|
75
|
-
};
|
|
76
|
-
declare const useTableHighlight: () => TableHighlightContextType;
|
|
77
|
-
declare const TableHighlightProvider: ({ children }: {
|
|
78
|
-
children: ReactNode;
|
|
79
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
80
|
-
|
|
81
|
-
declare const Table: typeof Table$1 & {
|
|
82
|
-
Row: {
|
|
83
|
-
({ className, children, onClick, variant }: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
84
|
-
displayName: string;
|
|
85
|
-
};
|
|
86
|
-
Column: {
|
|
87
|
-
({ className, children, fieldId, size, colSpan, rowSpan, align, textOverflow, highlightKey, }: TdColumnProps): react_jsx_runtime.JSX.Element;
|
|
88
|
-
displayName: string;
|
|
89
|
-
};
|
|
90
|
-
HighlightProvider: ({ children }: {
|
|
91
|
-
children: React.ReactNode;
|
|
92
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export { type ChildrenFuncParamsType, Table, type TableData, TableHighlightProvider, type TableProps, TableRow, type TableRowProps, type TableThRowDataType, TdColumn, type TdColumnProps, tableRowVariants, useTableHighlight };
|
package/dist/tag-input.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const tagInputVariants: (props?: ({
|
|
6
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
interface TagInputProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof tagInputVariants> {
|
|
9
|
-
value?: string[];
|
|
10
|
-
defaultValue?: string[];
|
|
11
|
-
onChange?: (tags: string[]) => void;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
max?: number;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
allowDuplicates?: boolean;
|
|
16
|
-
label?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const TagInput: React.ForwardRefExoticComponent<TagInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
|
|
21
|
-
export { TagInput, type TagInputProps, tagInputVariants };
|
package/dist/text-area.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const textAreaVariants: (props?: ({
|
|
6
|
-
size?: "lg" | "md" | null | undefined;
|
|
7
|
-
state?: "error" | "default" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textAreaVariants> {
|
|
10
|
-
error?: boolean;
|
|
11
|
-
label?: React.ReactNode;
|
|
12
|
-
description?: React.ReactNode;
|
|
13
|
-
showCount?: boolean;
|
|
14
|
-
resize?: 'default' | 'auto' | 'none';
|
|
15
|
-
onValueChange?: (value: string) => void;
|
|
16
|
-
}
|
|
17
|
-
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
18
|
-
|
|
19
|
-
export { TextArea, type TextAreaProps, textAreaVariants };
|
package/dist/text-input.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const textInputVariants: (props?: ({
|
|
6
|
-
size?: "xl" | "lg" | "md" | null | undefined;
|
|
7
|
-
state?: "error" | "default" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface TextInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof textInputVariants> {
|
|
10
|
-
error?: boolean;
|
|
11
|
-
prefixIcon?: React.ReactNode;
|
|
12
|
-
suffixIcon?: React.ReactNode;
|
|
13
|
-
label?: React.ReactNode;
|
|
14
|
-
description?: React.ReactNode;
|
|
15
|
-
showCount?: boolean;
|
|
16
|
-
clearable?: boolean;
|
|
17
|
-
onValueChange?: (value: string) => void;
|
|
18
|
-
}
|
|
19
|
-
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
-
|
|
21
|
-
export { TextInput, type TextInputProps, textInputVariants };
|
package/dist/theme-provider.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface ThemeProviderProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
defaultTheme?: string;
|
|
6
|
-
storageKey?: string;
|
|
7
|
-
themes?: string[];
|
|
8
|
-
attribute?: string | string[];
|
|
9
|
-
enableSystem?: boolean;
|
|
10
|
-
disableTransitionOnChange?: boolean;
|
|
11
|
-
forcedTheme?: string;
|
|
12
|
-
enableColorScheme?: boolean;
|
|
13
|
-
nonce?: string;
|
|
14
|
-
}
|
|
15
|
-
declare let ThemeProvider: React.FC<ThemeProviderProps>;
|
|
16
|
-
declare let useTheme: () => {
|
|
17
|
-
theme: string | undefined;
|
|
18
|
-
setTheme: (theme: string) => void;
|
|
19
|
-
resolvedTheme: string | undefined;
|
|
20
|
-
themes: string[];
|
|
21
|
-
systemTheme: string | undefined;
|
|
22
|
-
forcedTheme: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { ThemeProvider, type ThemeProviderProps, useTheme };
|
package/dist/toast.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ToasterProps as ToasterProps$1, ExternalToast } from 'sonner';
|
|
2
|
-
export { ExternalToast as ToastOptions, toast } from 'sonner';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
6
|
-
interface ToasterProps extends Partial<ToasterProps$1> {
|
|
7
|
-
position?: ToastPosition;
|
|
8
|
-
unstyled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare function Toaster({ position, unstyled, toastOptions, ...props }: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
type ToastOptions = ExternalToast;
|
|
13
|
-
/**
|
|
14
|
-
* Sonner toast 래퍼 훅.
|
|
15
|
-
*
|
|
16
|
-
* `toast()` 함수를 직접 사용해도 되지만,
|
|
17
|
-
* 편의 메서드(successToast, errorToast 등)를 제공합니다.
|
|
18
|
-
*
|
|
19
|
-
* headless 모드: `toast.custom(<MyComponent />)` 사용
|
|
20
|
-
*/
|
|
21
|
-
declare function useToast(): {
|
|
22
|
-
toast: (message: string, options?: ToastOptions) => string | number;
|
|
23
|
-
successToast: (message: string, options?: ToastOptions) => string | number;
|
|
24
|
-
errorToast: (message: string, options?: ToastOptions) => string | number;
|
|
25
|
-
warningToast: (message: string, options?: ToastOptions) => string | number;
|
|
26
|
-
infoToast: (message: string, options?: ToastOptions) => string | number;
|
|
27
|
-
promiseToast: <T>(promise: Promise<T> | (() => Promise<T>), msgs: {
|
|
28
|
-
loading: string;
|
|
29
|
-
success: string | ((data: T) => string);
|
|
30
|
-
error: string | ((error: unknown) => string);
|
|
31
|
-
}, options?: ToastOptions) => (string & {
|
|
32
|
-
unwrap: () => Promise<T>;
|
|
33
|
-
}) | (number & {
|
|
34
|
-
unwrap: () => Promise<T>;
|
|
35
|
-
}) | {
|
|
36
|
-
unwrap: () => Promise<T>;
|
|
37
|
-
};
|
|
38
|
-
customToast: (jsx: (id: string | number) => React.ReactElement, options?: ToastOptions) => string | number;
|
|
39
|
-
dismissToast: (id?: string | number) => string | number;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { type ToastPosition, Toaster, type ToasterProps, useToast };
|
package/dist/toggle-group.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const toggleGroupVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "outline" | null | undefined;
|
|
7
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface ToggleGroupItem {
|
|
10
|
-
value: string;
|
|
11
|
-
label: React.ReactNode;
|
|
12
|
-
icon?: React.ReactNode;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
interface ToggleGroupSingleProps extends VariantProps<typeof toggleGroupVariants> {
|
|
16
|
-
type?: 'single';
|
|
17
|
-
value?: string;
|
|
18
|
-
defaultValue?: string;
|
|
19
|
-
onValueChange?: (value: string) => void;
|
|
20
|
-
items: ToggleGroupItem[];
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
className?: string;
|
|
23
|
-
}
|
|
24
|
-
interface ToggleGroupMultipleProps extends VariantProps<typeof toggleGroupVariants> {
|
|
25
|
-
type: 'multiple';
|
|
26
|
-
value?: string[];
|
|
27
|
-
defaultValue?: string[];
|
|
28
|
-
onValueChange?: (value: string[]) => void;
|
|
29
|
-
items: ToggleGroupItem[];
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
type ToggleGroupProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
|
|
34
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<ToggleGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
|
|
36
|
-
export { ToggleGroup, type ToggleGroupItem, type ToggleGroupProps, toggleGroupVariants };
|
package/dist/tooltip.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
6
|
-
import { VariantProps } from 'class-variance-authority';
|
|
7
|
-
|
|
8
|
-
declare const tooltipContentVariants: (props?: ({
|
|
9
|
-
variant?: "light" | "dark" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
interface TooltipProps extends VariantProps<typeof tooltipContentVariants> {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
content: ReactNode;
|
|
14
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
15
|
-
align?: 'start' | 'center' | 'end';
|
|
16
|
-
delayDuration?: number;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
triggerClassName?: string;
|
|
20
|
-
}
|
|
21
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
22
|
-
declare const Tooltip: ({ children, content, side, align, delayDuration, disabled, variant, triggerClassName, className, }: TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { Tooltip, TooltipProvider, tooltipContentVariants };
|