@nexus-cross/design-system 1.0.3-beta.1
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/cursor-rules/nexus-project-setup.mdc +188 -0
- package/cursor-rules/nexus-ui-api.mdc +698 -0
- package/cursor-rules/nexus-ui-components.mdc +104 -0
- package/dist/accordion.d.mts +28 -0
- package/dist/accordion.d.ts +28 -0
- package/dist/accordion.js +28 -0
- package/dist/accordion.mjs +3 -0
- package/dist/avatar.d.mts +17 -0
- package/dist/avatar.d.ts +17 -0
- package/dist/avatar.js +16 -0
- package/dist/avatar.mjs +3 -0
- package/dist/button.d.mts +15 -0
- package/dist/button.d.ts +15 -0
- package/dist/button.js +16 -0
- package/dist/button.mjs +3 -0
- package/dist/carousel.d.mts +36 -0
- package/dist/carousel.d.ts +36 -0
- package/dist/carousel.js +32 -0
- package/dist/carousel.mjs +3 -0
- package/dist/checkbox.d.mts +21 -0
- package/dist/checkbox.d.ts +21 -0
- package/dist/checkbox.js +20 -0
- package/dist/checkbox.mjs +3 -0
- package/dist/chip.d.mts +16 -0
- package/dist/chip.d.ts +16 -0
- package/dist/chip.js +16 -0
- package/dist/chip.mjs +3 -0
- package/dist/chunks/chunk-22ULI3BF.js +21 -0
- package/dist/chunks/chunk-2JTPRBHZ.mjs +36 -0
- package/dist/chunks/chunk-377KBJQG.js +74 -0
- package/dist/chunks/chunk-3CHRUKSJ.mjs +120 -0
- package/dist/chunks/chunk-4ITJA3IS.mjs +83 -0
- package/dist/chunks/chunk-4J3GCZ7W.mjs +102 -0
- package/dist/chunks/chunk-53A2SL62.js +218 -0
- package/dist/chunks/chunk-54IA2P2Z.mjs +40 -0
- package/dist/chunks/chunk-5I2VRWWU.js +172 -0
- package/dist/chunks/chunk-5TBXVD56.js +88 -0
- package/dist/chunks/chunk-6DZVNFVY.js +82 -0
- package/dist/chunks/chunk-6FHK6CBR.js +117 -0
- package/dist/chunks/chunk-6H7V2I3X.mjs +270 -0
- package/dist/chunks/chunk-6MRM5K2N.js +106 -0
- package/dist/chunks/chunk-6NTASYZO.js +132 -0
- package/dist/chunks/chunk-76CY4STF.js +165 -0
- package/dist/chunks/chunk-76K6KXCT.js +100 -0
- package/dist/chunks/chunk-7MT3QYE6.js +92 -0
- package/dist/chunks/chunk-7OEK2KX3.mjs +81 -0
- package/dist/chunks/chunk-AKIBUO5A.mjs +83 -0
- package/dist/chunks/chunk-AOVU67NI.mjs +139 -0
- package/dist/chunks/chunk-AOXXE5UQ.mjs +14 -0
- package/dist/chunks/chunk-AWBGWBFS.js +135 -0
- package/dist/chunks/chunk-AZ2URLDD.js +39 -0
- package/dist/chunks/chunk-BEA727LO.mjs +108 -0
- package/dist/chunks/chunk-C3E7CSKG.mjs +115 -0
- package/dist/chunks/chunk-C6H2UNOX.js +83 -0
- package/dist/chunks/chunk-CVYXRSXT.mjs +8 -0
- package/dist/chunks/chunk-EIOP4DOE.mjs +292 -0
- package/dist/chunks/chunk-FA2OPP3U.mjs +140 -0
- package/dist/chunks/chunk-FHPHDK3O.mjs +89 -0
- package/dist/chunks/chunk-FKHW7QYG.js +725 -0
- package/dist/chunks/chunk-FKZI2HTI.js +104 -0
- package/dist/chunks/chunk-G4XJG7XI.js +66 -0
- package/dist/chunks/chunk-GMIGQ5VP.mjs +86 -0
- package/dist/chunks/chunk-GSLIY6WW.js +109 -0
- package/dist/chunks/chunk-HHXDOKXY.js +108 -0
- package/dist/chunks/chunk-HUPAHDJ7.js +273 -0
- package/dist/chunks/chunk-I252NERB.mjs +21 -0
- package/dist/chunks/chunk-I7YJB2F5.js +143 -0
- package/dist/chunks/chunk-IB5UCYQY.mjs +66 -0
- package/dist/chunks/chunk-IJG7J2VU.mjs +148 -0
- package/dist/chunks/chunk-INP2AH3B.js +27 -0
- package/dist/chunks/chunk-IUNNTSD2.mjs +195 -0
- package/dist/chunks/chunk-JNMCYWGY.js +10 -0
- package/dist/chunks/chunk-JZ3PWHKS.mjs +51 -0
- package/dist/chunks/chunk-KWPIEHD2.mjs +78 -0
- package/dist/chunks/chunk-LBKBCI2K.mjs +44 -0
- package/dist/chunks/chunk-LVTD2UQN.mjs +48 -0
- package/dist/chunks/chunk-MPKRXMCJ.js +93 -0
- package/dist/chunks/chunk-NCQDOPBR.mjs +86 -0
- package/dist/chunks/chunk-NHDGKOAM.js +104 -0
- package/dist/chunks/chunk-OTGS6BDQ.mjs +25 -0
- package/dist/chunks/chunk-Q2TMXHPK.js +178 -0
- package/dist/chunks/chunk-Q7GQVAYY.js +88 -0
- package/dist/chunks/chunk-Q7H6LCNN.js +169 -0
- package/dist/chunks/chunk-QJNQCLMV.js +25 -0
- package/dist/chunks/chunk-QK6NCII4.js +36 -0
- package/dist/chunks/chunk-RLP3U52D.mjs +153 -0
- package/dist/chunks/chunk-T2IY2TSR.js +43 -0
- package/dist/chunks/chunk-TLTEUIBY.js +112 -0
- package/dist/chunks/chunk-TPBKQ3WC.js +303 -0
- package/dist/chunks/chunk-TR5JBBEA.mjs +116 -0
- package/dist/chunks/chunk-TWHDXCKR.js +61 -0
- package/dist/chunks/chunk-U56AGSLE.mjs +106 -0
- package/dist/chunks/chunk-U6KOUYWX.mjs +66 -0
- package/dist/chunks/chunk-U76LT5GE.js +70 -0
- package/dist/chunks/chunk-UDQXLI5Y.mjs +81 -0
- package/dist/chunks/chunk-UH667FUK.mjs +712 -0
- package/dist/chunks/chunk-UR6JOKVB.mjs +65 -0
- package/dist/chunks/chunk-VH5FF6DZ.mjs +38 -0
- package/dist/chunks/chunk-WJ2OVQD3.mjs +105 -0
- package/dist/chunks/chunk-WNFJ4NJN.mjs +55 -0
- package/dist/chunks/chunk-WSWD5ZUJ.js +106 -0
- package/dist/chunks/chunk-XALPBGSC.mjs +23 -0
- package/dist/chunks/chunk-XEHFB62A.js +82 -0
- package/dist/chunks/chunk-YEGPB7A7.js +83 -0
- package/dist/chunks/chunk-YEWKPWK3.mjs +80 -0
- package/dist/chunks/chunk-Z7OKV6NW.mjs +59 -0
- package/dist/chunks/chunk-ZCMKIB5U.js +140 -0
- package/dist/client-only.d.mts +13 -0
- package/dist/client-only.d.ts +13 -0
- package/dist/client-only.js +11 -0
- package/dist/client-only.mjs +2 -0
- package/dist/countdown.d.mts +27 -0
- package/dist/countdown.d.ts +27 -0
- package/dist/countdown.js +16 -0
- package/dist/countdown.mjs +3 -0
- package/dist/counter.d.mts +15 -0
- package/dist/counter.d.ts +15 -0
- package/dist/counter.js +11 -0
- package/dist/counter.mjs +2 -0
- package/dist/divider.d.mts +14 -0
- package/dist/divider.d.ts +14 -0
- package/dist/divider.js +16 -0
- package/dist/divider.mjs +3 -0
- package/dist/drawer.d.mts +42 -0
- package/dist/drawer.d.ts +42 -0
- package/dist/drawer.js +44 -0
- package/dist/drawer.mjs +3 -0
- package/dist/ellipsis.d.mts +16 -0
- package/dist/ellipsis.d.ts +16 -0
- package/dist/ellipsis.js +12 -0
- package/dist/ellipsis.mjs +3 -0
- package/dist/error-boundary.d.mts +20 -0
- package/dist/error-boundary.d.ts +20 -0
- package/dist/error-boundary.js +11 -0
- package/dist/error-boundary.mjs +2 -0
- package/dist/hooks/useCheckDevice.d.mts +47 -0
- package/dist/hooks/useCheckDevice.d.ts +47 -0
- package/dist/hooks/useCheckDevice.js +8 -0
- package/dist/hooks/useCheckDevice.mjs +2 -0
- package/dist/hooks/useClickOutside.d.mts +12 -0
- package/dist/hooks/useClickOutside.d.ts +12 -0
- package/dist/hooks/useClickOutside.js +8 -0
- package/dist/hooks/useClickOutside.mjs +2 -0
- package/dist/hooks/useDraggableBottomSheet.d.mts +24 -0
- package/dist/hooks/useDraggableBottomSheet.d.ts +24 -0
- package/dist/hooks/useDraggableBottomSheet.js +11 -0
- package/dist/hooks/useDraggableBottomSheet.mjs +2 -0
- package/dist/hooks/useDraggableWindow.d.mts +21 -0
- package/dist/hooks/useDraggableWindow.d.ts +21 -0
- package/dist/hooks/useDraggableWindow.js +11 -0
- package/dist/hooks/useDraggableWindow.mjs +2 -0
- package/dist/hooks/useInView.d.mts +14 -0
- package/dist/hooks/useInView.d.ts +14 -0
- package/dist/hooks/useInView.js +17 -0
- package/dist/hooks/useInView.mjs +2 -0
- package/dist/hooks/useModal.d.mts +2 -0
- package/dist/hooks/useModal.d.ts +2 -0
- package/dist/hooks/useModal.js +11 -0
- package/dist/hooks/useModal.mjs +2 -0
- package/dist/index.d.mts +74 -0
- package/dist/index.d.ts +74 -0
- package/dist/index.js +633 -0
- package/dist/index.mjs +227 -0
- package/dist/infinite-scroll.d.mts +26 -0
- package/dist/infinite-scroll.d.ts +26 -0
- package/dist/infinite-scroll.js +12 -0
- package/dist/infinite-scroll.mjs +3 -0
- package/dist/marquee.d.mts +12 -0
- package/dist/marquee.d.ts +12 -0
- package/dist/marquee.js +12 -0
- package/dist/marquee.mjs +3 -0
- package/dist/modal/index.d.mts +87 -0
- package/dist/modal/index.d.ts +87 -0
- package/dist/modal/index.js +54 -0
- package/dist/modal/index.mjs +9 -0
- package/dist/number-input.d.mts +21 -0
- package/dist/number-input.d.ts +21 -0
- package/dist/number-input.js +16 -0
- package/dist/number-input.mjs +3 -0
- package/dist/pagination.d.mts +21 -0
- package/dist/pagination.d.ts +21 -0
- package/dist/pagination.js +20 -0
- package/dist/pagination.mjs +3 -0
- package/dist/popover.d.mts +25 -0
- package/dist/popover.d.ts +25 -0
- package/dist/popover.js +32 -0
- package/dist/popover.mjs +3 -0
- package/dist/radio-group.d.mts +29 -0
- package/dist/radio-group.d.ts +29 -0
- package/dist/radio-group.js +24 -0
- package/dist/radio-group.mjs +3 -0
- package/dist/select.d.mts +31 -0
- package/dist/select.d.ts +31 -0
- package/dist/select.js +24 -0
- package/dist/select.mjs +3 -0
- package/dist/spinner.d.mts +9 -0
- package/dist/spinner.d.ts +9 -0
- package/dist/spinner.js +12 -0
- package/dist/spinner.mjs +3 -0
- package/dist/styles.css +2 -0
- package/dist/styles.d.mts +3 -0
- package/dist/styles.d.ts +3 -0
- package/dist/styles.js +19 -0
- package/dist/styles.mjs +17 -0
- package/dist/switch.d.mts +15 -0
- package/dist/switch.d.ts +15 -0
- package/dist/switch.js +16 -0
- package/dist/switch.mjs +3 -0
- package/dist/tab.d.mts +36 -0
- package/dist/tab.d.ts +36 -0
- package/dist/tab.js +20 -0
- package/dist/tab.mjs +3 -0
- package/dist/table.d.mts +80 -0
- package/dist/table.d.ts +80 -0
- package/dist/table.js +32 -0
- package/dist/table.mjs +3 -0
- package/dist/text-area.d.mts +15 -0
- package/dist/text-area.d.ts +15 -0
- package/dist/text-area.js +16 -0
- package/dist/text-area.mjs +3 -0
- package/dist/text-input.d.mts +17 -0
- package/dist/text-input.d.ts +17 -0
- package/dist/text-input.js +16 -0
- package/dist/text-input.mjs +3 -0
- package/dist/theme-provider.d.mts +25 -0
- package/dist/theme-provider.d.ts +25 -0
- package/dist/theme-provider.js +15 -0
- package/dist/theme-provider.mjs +2 -0
- package/dist/toast.d.mts +42 -0
- package/dist/toast.d.ts +42 -0
- package/dist/toast.js +20 -0
- package/dist/toast.mjs +3 -0
- package/dist/tooltip.d.mts +24 -0
- package/dist/tooltip.d.ts +24 -0
- package/dist/tooltip.js +20 -0
- package/dist/tooltip.mjs +3 -0
- package/dist/typography.d.mts +19 -0
- package/dist/typography.d.ts +19 -0
- package/dist/typography.js +102 -0
- package/dist/typography.mjs +79 -0
- package/dist/useModal-BsGIcP8t.d.mts +128 -0
- package/dist/useModal-BsGIcP8t.d.ts +128 -0
- package/dist/utils/cn.d.mts +15 -0
- package/dist/utils/cn.d.ts +15 -0
- package/dist/utils/cn.js +11 -0
- package/dist/utils/cn.mjs +2 -0
- package/dist/utils/scroll.d.mts +4 -0
- package/dist/utils/scroll.d.ts +4 -0
- package/dist/utils/scroll.js +15 -0
- package/dist/utils/scroll.mjs +2 -0
- package/dist/virtual-scroll.d.mts +34 -0
- package/dist/virtual-scroll.d.ts +34 -0
- package/dist/virtual-scroll.js +16 -0
- package/dist/virtual-scroll.mjs +3 -0
- package/package.json +271 -0
- package/scripts/setup-cursor-rules.cjs +92 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
export { Toaster, toast, useToast } from './chunks/chunk-NCQDOPBR.mjs';
|
|
2
|
+
export { Table, TableHighlightProvider, TableRow, TdColumn, tableRowVariants, useTableHighlight } from './chunks/chunk-EIOP4DOE.mjs';
|
|
3
|
+
export { useInView } from './chunks/chunk-2JTPRBHZ.mjs';
|
|
4
|
+
export { Marquee } from './chunks/chunk-IB5UCYQY.mjs';
|
|
5
|
+
export { Ellipsis } from './chunks/chunk-C3E7CSKG.mjs';
|
|
6
|
+
export { Spinner } from './chunks/chunk-LVTD2UQN.mjs';
|
|
7
|
+
export { Countdown, useCountdown } from './chunks/chunk-FHPHDK3O.mjs';
|
|
8
|
+
export { Counter } from './chunks/chunk-KWPIEHD2.mjs';
|
|
9
|
+
export { ClientOnly } from './chunks/chunk-AOXXE5UQ.mjs';
|
|
10
|
+
export { ErrorBoundary } from './chunks/chunk-LBKBCI2K.mjs';
|
|
11
|
+
export { ThemeProvider, useTheme } from './chunks/chunk-I252NERB.mjs';
|
|
12
|
+
export { RadioGroup, RadioItem, radioGroupVariants, radioItemVariants } from './chunks/chunk-RLP3U52D.mjs';
|
|
13
|
+
export { Pagination, pageButtonVariants, paginationVariants } from './chunks/chunk-BEA727LO.mjs';
|
|
14
|
+
export { Tab, tabListVariants, tabTriggerVariants } from './chunks/chunk-IJG7J2VU.mjs';
|
|
15
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger } from './chunks/chunk-U6KOUYWX.mjs';
|
|
16
|
+
export { Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, popoverContentClasses } from './chunks/chunk-WNFJ4NJN.mjs';
|
|
17
|
+
export { Carousel, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, useCarousel } from './chunks/chunk-AOVU67NI.mjs';
|
|
18
|
+
export { VirtualGrid, VirtualList } from './chunks/chunk-3CHRUKSJ.mjs';
|
|
19
|
+
export { InfiniteScroll } from './chunks/chunk-7OEK2KX3.mjs';
|
|
20
|
+
export { TextArea, textAreaVariants } from './chunks/chunk-UR6JOKVB.mjs';
|
|
21
|
+
export { NumberInput, numberInputVariants } from './chunks/chunk-IUNNTSD2.mjs';
|
|
22
|
+
export { Avatar, avatarVariants } from './chunks/chunk-JZ3PWHKS.mjs';
|
|
23
|
+
export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './chunks/chunk-FA2OPP3U.mjs';
|
|
24
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerRoot, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerOverlayVariants } from './chunks/chunk-WJ2OVQD3.mjs';
|
|
25
|
+
export { Tooltip, TooltipProvider, tooltipContentVariants } from './chunks/chunk-Z7OKV6NW.mjs';
|
|
26
|
+
export { Divider, dividerVariants } from './chunks/chunk-VH5FF6DZ.mjs';
|
|
27
|
+
export { ModalContainer_default as ModalContainer, ModalPortalTarget_default as ModalPortalTarget, ModalTemplate_default as ModalTemplate, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal } from './chunks/chunk-UH667FUK.mjs';
|
|
28
|
+
export { scrollFreeze, scrollRelease } from './chunks/chunk-54IA2P2Z.mjs';
|
|
29
|
+
export { useCheckDevice_default as useCheckDevice } from './chunks/chunk-YEWKPWK3.mjs';
|
|
30
|
+
export { useClickOutside_default as useClickOutside } from './chunks/chunk-OTGS6BDQ.mjs';
|
|
31
|
+
export { useModal } from './chunks/chunk-6H7V2I3X.mjs';
|
|
32
|
+
export { useDraggableBottomSheet } from './chunks/chunk-U56AGSLE.mjs';
|
|
33
|
+
export { useDraggableWindow } from './chunks/chunk-4J3GCZ7W.mjs';
|
|
34
|
+
export { Button, buttonVariants } from './chunks/chunk-4ITJA3IS.mjs';
|
|
35
|
+
export { Chip, chipVariants } from './chunks/chunk-AKIBUO5A.mjs';
|
|
36
|
+
export { CheckBox, checkBoxVariants } from './chunks/chunk-TR5JBBEA.mjs';
|
|
37
|
+
export { Switch, switchVariants } from './chunks/chunk-GMIGQ5VP.mjs';
|
|
38
|
+
export { TextInput, textInputVariants } from './chunks/chunk-UDQXLI5Y.mjs';
|
|
39
|
+
export { cn } from './chunks/chunk-XALPBGSC.mjs';
|
|
40
|
+
import './chunks/chunk-CVYXRSXT.mjs';
|
|
41
|
+
|
|
42
|
+
// src/component-tokens/button.ts
|
|
43
|
+
var buttonTokenSchema = {
|
|
44
|
+
id: "button",
|
|
45
|
+
name: "Button",
|
|
46
|
+
description: "\uBC84\uD2BC \uCEF4\uD3EC\uB10C\uD2B8\uC758 \uC2A4\uD0C0\uC77C \uD1A0\uD070 (\uC0C9\uC0C1, \uBC18\uACBD, \uADF8\uB9BC\uC790, \uD06C\uAE30, \uAC04\uACA9, \uD22C\uBA85\uB3C4)",
|
|
47
|
+
tokens: {
|
|
48
|
+
common: {
|
|
49
|
+
"focus-ring": {
|
|
50
|
+
cssVar: "--color-comp-btn-focus-ring",
|
|
51
|
+
type: "color",
|
|
52
|
+
defaultValue: "var(--color-accent-primary)",
|
|
53
|
+
description: "\uD3EC\uCEE4\uC2A4 \uB9C1 \uC0C9\uC0C1"
|
|
54
|
+
},
|
|
55
|
+
radius: {
|
|
56
|
+
cssVar: "--radius-comp-btn",
|
|
57
|
+
type: "radius",
|
|
58
|
+
defaultValue: "0.375rem",
|
|
59
|
+
description: "\uBAA8\uC11C\uB9AC \uB465\uAE00\uAE30"
|
|
60
|
+
},
|
|
61
|
+
shadow: {
|
|
62
|
+
cssVar: "--shadow-comp-btn",
|
|
63
|
+
type: "shadow",
|
|
64
|
+
defaultValue: "none",
|
|
65
|
+
description: "\uBC15\uC2A4 \uADF8\uB9BC\uC790"
|
|
66
|
+
},
|
|
67
|
+
gap: {
|
|
68
|
+
cssVar: "--spacing-comp-btn-gap",
|
|
69
|
+
type: "spacing",
|
|
70
|
+
defaultValue: "0.5rem",
|
|
71
|
+
description: "\uC544\uC774\uCF58-\uD14D\uC2A4\uD2B8 \uAC04\uACA9"
|
|
72
|
+
},
|
|
73
|
+
"disabled-opacity": {
|
|
74
|
+
cssVar: "--opacity-comp-btn-disabled",
|
|
75
|
+
type: "opacity",
|
|
76
|
+
defaultValue: "0.5",
|
|
77
|
+
description: "\uBE44\uD65C\uC131 \uC0C1\uD0DC \uD22C\uBA85\uB3C4"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
variants: {
|
|
81
|
+
primary: {
|
|
82
|
+
bg: {
|
|
83
|
+
cssVar: "--color-comp-btn-primary-bg",
|
|
84
|
+
type: "color",
|
|
85
|
+
defaultValue: "var(--color-accent-primary)"
|
|
86
|
+
},
|
|
87
|
+
text: {
|
|
88
|
+
cssVar: "--color-comp-btn-primary-text",
|
|
89
|
+
type: "color",
|
|
90
|
+
defaultValue: "var(--color-accent-on-primary)"
|
|
91
|
+
},
|
|
92
|
+
"hover-opacity": {
|
|
93
|
+
cssVar: "--comp-btn-primary-hover-opacity",
|
|
94
|
+
type: "opacity",
|
|
95
|
+
defaultValue: "0.9"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
secondary: {
|
|
99
|
+
bg: {
|
|
100
|
+
cssVar: "--color-comp-btn-secondary-bg",
|
|
101
|
+
type: "color",
|
|
102
|
+
defaultValue: "var(--color-surface-hover)"
|
|
103
|
+
},
|
|
104
|
+
text: {
|
|
105
|
+
cssVar: "--color-comp-btn-secondary-text",
|
|
106
|
+
type: "color",
|
|
107
|
+
defaultValue: "var(--color-text-primary)"
|
|
108
|
+
},
|
|
109
|
+
"hover-bg": {
|
|
110
|
+
cssVar: "--color-comp-btn-secondary-hover-bg",
|
|
111
|
+
type: "color",
|
|
112
|
+
defaultValue: "var(--color-surface-strong)"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
outline: {
|
|
116
|
+
border: {
|
|
117
|
+
cssVar: "--color-comp-btn-outline-border",
|
|
118
|
+
type: "color",
|
|
119
|
+
defaultValue: "var(--color-border-default)"
|
|
120
|
+
},
|
|
121
|
+
text: {
|
|
122
|
+
cssVar: "--color-comp-btn-outline-text",
|
|
123
|
+
type: "color",
|
|
124
|
+
defaultValue: "var(--color-text-primary)"
|
|
125
|
+
},
|
|
126
|
+
"hover-bg": {
|
|
127
|
+
cssVar: "--color-comp-btn-outline-hover-bg",
|
|
128
|
+
type: "color",
|
|
129
|
+
defaultValue: "var(--color-surface-hover)"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
ghost: {
|
|
133
|
+
text: {
|
|
134
|
+
cssVar: "--color-comp-btn-ghost-text",
|
|
135
|
+
type: "color",
|
|
136
|
+
defaultValue: "var(--color-text-primary)"
|
|
137
|
+
},
|
|
138
|
+
"hover-bg": {
|
|
139
|
+
cssVar: "--color-comp-btn-ghost-hover-bg",
|
|
140
|
+
type: "color",
|
|
141
|
+
defaultValue: "var(--color-surface-hover)"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
danger: {
|
|
145
|
+
bg: {
|
|
146
|
+
cssVar: "--color-comp-btn-danger-bg",
|
|
147
|
+
type: "color",
|
|
148
|
+
defaultValue: "var(--color-status-negative)"
|
|
149
|
+
},
|
|
150
|
+
text: {
|
|
151
|
+
cssVar: "--color-comp-btn-danger-text",
|
|
152
|
+
type: "color",
|
|
153
|
+
defaultValue: "var(--color-static-white)"
|
|
154
|
+
},
|
|
155
|
+
"hover-opacity": {
|
|
156
|
+
cssVar: "--comp-btn-danger-hover-opacity",
|
|
157
|
+
type: "opacity",
|
|
158
|
+
defaultValue: "0.9"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
sizes: {
|
|
163
|
+
sm: {
|
|
164
|
+
height: {
|
|
165
|
+
cssVar: "--spacing-comp-btn-sm-h",
|
|
166
|
+
type: "spacing",
|
|
167
|
+
defaultValue: "2rem",
|
|
168
|
+
description: "\uB192\uC774 (32px)"
|
|
169
|
+
},
|
|
170
|
+
"padding-x": {
|
|
171
|
+
cssVar: "--spacing-comp-btn-sm-px",
|
|
172
|
+
type: "spacing",
|
|
173
|
+
defaultValue: "0.75rem",
|
|
174
|
+
description: "\uC88C\uC6B0 \uD328\uB529 (12px)"
|
|
175
|
+
},
|
|
176
|
+
"font-size": {
|
|
177
|
+
cssVar: "--text-comp-btn-sm",
|
|
178
|
+
type: "font-size",
|
|
179
|
+
defaultValue: "0.75rem",
|
|
180
|
+
description: "\uAE00\uC790 \uD06C\uAE30 (12px)"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
md: {
|
|
184
|
+
height: {
|
|
185
|
+
cssVar: "--spacing-comp-btn-md-h",
|
|
186
|
+
type: "spacing",
|
|
187
|
+
defaultValue: "2.5rem",
|
|
188
|
+
description: "\uB192\uC774 (40px)"
|
|
189
|
+
},
|
|
190
|
+
"padding-x": {
|
|
191
|
+
cssVar: "--spacing-comp-btn-md-px",
|
|
192
|
+
type: "spacing",
|
|
193
|
+
defaultValue: "1rem",
|
|
194
|
+
description: "\uC88C\uC6B0 \uD328\uB529 (16px)"
|
|
195
|
+
},
|
|
196
|
+
"font-size": {
|
|
197
|
+
cssVar: "--text-comp-btn-md",
|
|
198
|
+
type: "font-size",
|
|
199
|
+
defaultValue: "0.875rem",
|
|
200
|
+
description: "\uAE00\uC790 \uD06C\uAE30 (14px)"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
lg: {
|
|
204
|
+
height: {
|
|
205
|
+
cssVar: "--spacing-comp-btn-lg-h",
|
|
206
|
+
type: "spacing",
|
|
207
|
+
defaultValue: "3rem",
|
|
208
|
+
description: "\uB192\uC774 (48px)"
|
|
209
|
+
},
|
|
210
|
+
"padding-x": {
|
|
211
|
+
cssVar: "--spacing-comp-btn-lg-px",
|
|
212
|
+
type: "spacing",
|
|
213
|
+
defaultValue: "1.5rem",
|
|
214
|
+
description: "\uC88C\uC6B0 \uD328\uB529 (24px)"
|
|
215
|
+
},
|
|
216
|
+
"font-size": {
|
|
217
|
+
cssVar: "--text-comp-btn-lg",
|
|
218
|
+
type: "font-size",
|
|
219
|
+
defaultValue: "1rem",
|
|
220
|
+
description: "\uAE00\uC790 \uD06C\uAE30 (16px)"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
export { buttonTokenSchema };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, MutableRefObject, ReactElement } from 'react';
|
|
3
|
+
|
|
4
|
+
type BaseProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
tag?: string;
|
|
8
|
+
list: unknown[] | null;
|
|
9
|
+
scrollTarget?: HTMLElement | Document | MutableRefObject<HTMLElement | Document> | null;
|
|
10
|
+
rootMargin?: number;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
loadingElement?: ReactElement;
|
|
13
|
+
handleLoadMore: () => void;
|
|
14
|
+
};
|
|
15
|
+
type TotalCountProps = BaseProps & {
|
|
16
|
+
totalCount: number;
|
|
17
|
+
hasMore?: never;
|
|
18
|
+
};
|
|
19
|
+
type HasMoreProps = BaseProps & {
|
|
20
|
+
hasMore: boolean;
|
|
21
|
+
totalCount?: never;
|
|
22
|
+
};
|
|
23
|
+
type InfiniteScrollProps = TotalCountProps | HasMoreProps;
|
|
24
|
+
declare const InfiniteScroll: ({ className, tag, list, scrollTarget, rootMargin, loading, loadingElement, children, handleLoadMore, ...props }: InfiniteScrollProps) => react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
export { InfiniteScroll, type InfiniteScrollProps };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, MutableRefObject, ReactElement } from 'react';
|
|
3
|
+
|
|
4
|
+
type BaseProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
tag?: string;
|
|
8
|
+
list: unknown[] | null;
|
|
9
|
+
scrollTarget?: HTMLElement | Document | MutableRefObject<HTMLElement | Document> | null;
|
|
10
|
+
rootMargin?: number;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
loadingElement?: ReactElement;
|
|
13
|
+
handleLoadMore: () => void;
|
|
14
|
+
};
|
|
15
|
+
type TotalCountProps = BaseProps & {
|
|
16
|
+
totalCount: number;
|
|
17
|
+
hasMore?: never;
|
|
18
|
+
};
|
|
19
|
+
type HasMoreProps = BaseProps & {
|
|
20
|
+
hasMore: boolean;
|
|
21
|
+
totalCount?: never;
|
|
22
|
+
};
|
|
23
|
+
type InfiniteScrollProps = TotalCountProps | HasMoreProps;
|
|
24
|
+
declare const InfiniteScroll: ({ className, tag, list, scrollTarget, rootMargin, loading, loadingElement, children, handleLoadMore, ...props }: InfiniteScrollProps) => react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
export { InfiniteScroll, type InfiniteScrollProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYEGPB7A7_js = require('./chunks/chunk-YEGPB7A7.js');
|
|
4
|
+
require('./chunks/chunk-QJNQCLMV.js');
|
|
5
|
+
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "InfiniteScroll", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkYEGPB7A7_js.InfiniteScroll; }
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface MarqueeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
direction?: 'left' | 'right' | 'up' | 'down';
|
|
5
|
+
speed?: number;
|
|
6
|
+
pauseOnHover?: boolean;
|
|
7
|
+
gap?: number;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const Marquee: React.ForwardRefExoticComponent<MarqueeProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
|
|
12
|
+
export { Marquee, type MarqueeProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface MarqueeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
direction?: 'left' | 'right' | 'up' | 'down';
|
|
5
|
+
speed?: number;
|
|
6
|
+
pauseOnHover?: boolean;
|
|
7
|
+
gap?: number;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const Marquee: React.ForwardRefExoticComponent<MarqueeProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
|
|
12
|
+
export { Marquee, type MarqueeProps };
|
package/dist/marquee.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5TBXVD56_js = require('./chunks/chunk-5TBXVD56.js');
|
|
4
|
+
require('./chunks/chunk-QJNQCLMV.js');
|
|
5
|
+
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Marquee", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk5TBXVD56_js.Marquee; }
|
|
12
|
+
});
|
package/dist/marquee.mjs
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { d as DefaultModalOption, b as ModalTemplatePropsType, M as ModalLayout, c as ModalType, D as DefaultModalPropsType, e as ModalPropsOf, O as OpenModal } from '../useModal-BsGIcP8t.mjs';
|
|
3
|
+
export { A as AnimationOptions, a as ModalPropsType, u as useModal } from '../useModal-BsGIcP8t.mjs';
|
|
4
|
+
import { BreakPoints } from '../hooks/useCheckDevice.mjs';
|
|
5
|
+
import React__default, { ReactElement, ComponentType } from 'react';
|
|
6
|
+
|
|
7
|
+
type Props = DefaultModalOption & {
|
|
8
|
+
className?: string;
|
|
9
|
+
breakPoints?: BreakPoints;
|
|
10
|
+
};
|
|
11
|
+
declare const ModalContainer: ({ className, breakPoints, ...defaultOption }: Props) => react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
interface PropsType$1 {
|
|
14
|
+
id: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const ModalPortalTarget: ({ id, className }: PropsType$1) => react_jsx_runtime.JSX.Element;
|
|
18
|
+
|
|
19
|
+
interface PropsType extends ModalTemplatePropsType {
|
|
20
|
+
layout?: ModalLayout;
|
|
21
|
+
hideHeader?: boolean;
|
|
22
|
+
hideFooter?: boolean;
|
|
23
|
+
footer?: ReactElement | string;
|
|
24
|
+
innerClassName?: string;
|
|
25
|
+
bodyClassName?: string;
|
|
26
|
+
footerClassName?: string;
|
|
27
|
+
dimClassName?: string;
|
|
28
|
+
headerClassName?: string;
|
|
29
|
+
enableDrag?: boolean;
|
|
30
|
+
dragPersistKey?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const ModalTemplate: React__default.ForwardRefExoticComponent<PropsType & React__default.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
|
|
34
|
+
declare class Modal {
|
|
35
|
+
private _modalList;
|
|
36
|
+
private defaultOption;
|
|
37
|
+
observeFunction: ((modalList: ModalType[]) => void) | null;
|
|
38
|
+
private enableKeyDownEvent;
|
|
39
|
+
set modalList(value: ModalType[]);
|
|
40
|
+
get modalList(): ModalType[];
|
|
41
|
+
handleKeyPressEvent: (e: KeyboardEvent) => void;
|
|
42
|
+
checkModal(params: {
|
|
43
|
+
componentName: string;
|
|
44
|
+
onlyLastCheck?: boolean;
|
|
45
|
+
} | {
|
|
46
|
+
modalId: string;
|
|
47
|
+
onlyLastCheck?: boolean;
|
|
48
|
+
}): boolean;
|
|
49
|
+
deleteModal(id: string): void;
|
|
50
|
+
closeModal(id: string, isAnimation?: boolean): void;
|
|
51
|
+
resolveModal<T extends ModalType>({ modal, result, useClose, }: {
|
|
52
|
+
modal: T;
|
|
53
|
+
result: unknown;
|
|
54
|
+
useClose?: boolean;
|
|
55
|
+
}): void;
|
|
56
|
+
resetModal(): void;
|
|
57
|
+
makeProps<P extends DefaultModalPropsType>(props: P): P & {
|
|
58
|
+
animation: {
|
|
59
|
+
name?: string;
|
|
60
|
+
mobile?: string;
|
|
61
|
+
delay?: number;
|
|
62
|
+
duration?: number;
|
|
63
|
+
timingFunc?: string;
|
|
64
|
+
leaveTimingFunc?: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
private handleToggle;
|
|
68
|
+
private handleToggleOnlyOne;
|
|
69
|
+
openModal<T extends ComponentType<Record<string, unknown>>>({ component, props, }: {
|
|
70
|
+
component: T;
|
|
71
|
+
props?: ModalPropsOf<T> & DefaultModalPropsType;
|
|
72
|
+
}): Promise<unknown>;
|
|
73
|
+
getDefaultOption(): DefaultModalOption;
|
|
74
|
+
observe({ options, observeFunction, }: {
|
|
75
|
+
options?: DefaultModalOption;
|
|
76
|
+
observeFunction: (modalList: ModalType[]) => void;
|
|
77
|
+
}): void;
|
|
78
|
+
unobserve(): void;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare const openModal: OpenModal;
|
|
82
|
+
declare const closeModal: Modal['closeModal'];
|
|
83
|
+
declare const checkModal: Modal['checkModal'];
|
|
84
|
+
declare const resetModal: () => void;
|
|
85
|
+
declare const getModalDefaultOption: Modal['getDefaultOption'];
|
|
86
|
+
|
|
87
|
+
export { DefaultModalPropsType, ModalContainer, ModalLayout, ModalPortalTarget, ModalTemplate, type PropsType as ModalTemplateProps, ModalTemplatePropsType, ModalType, OpenModal, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { d as DefaultModalOption, b as ModalTemplatePropsType, M as ModalLayout, c as ModalType, D as DefaultModalPropsType, e as ModalPropsOf, O as OpenModal } from '../useModal-BsGIcP8t.js';
|
|
3
|
+
export { A as AnimationOptions, a as ModalPropsType, u as useModal } from '../useModal-BsGIcP8t.js';
|
|
4
|
+
import { BreakPoints } from '../hooks/useCheckDevice.js';
|
|
5
|
+
import React__default, { ReactElement, ComponentType } from 'react';
|
|
6
|
+
|
|
7
|
+
type Props = DefaultModalOption & {
|
|
8
|
+
className?: string;
|
|
9
|
+
breakPoints?: BreakPoints;
|
|
10
|
+
};
|
|
11
|
+
declare const ModalContainer: ({ className, breakPoints, ...defaultOption }: Props) => react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
interface PropsType$1 {
|
|
14
|
+
id: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const ModalPortalTarget: ({ id, className }: PropsType$1) => react_jsx_runtime.JSX.Element;
|
|
18
|
+
|
|
19
|
+
interface PropsType extends ModalTemplatePropsType {
|
|
20
|
+
layout?: ModalLayout;
|
|
21
|
+
hideHeader?: boolean;
|
|
22
|
+
hideFooter?: boolean;
|
|
23
|
+
footer?: ReactElement | string;
|
|
24
|
+
innerClassName?: string;
|
|
25
|
+
bodyClassName?: string;
|
|
26
|
+
footerClassName?: string;
|
|
27
|
+
dimClassName?: string;
|
|
28
|
+
headerClassName?: string;
|
|
29
|
+
enableDrag?: boolean;
|
|
30
|
+
dragPersistKey?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const ModalTemplate: React__default.ForwardRefExoticComponent<PropsType & React__default.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
|
|
34
|
+
declare class Modal {
|
|
35
|
+
private _modalList;
|
|
36
|
+
private defaultOption;
|
|
37
|
+
observeFunction: ((modalList: ModalType[]) => void) | null;
|
|
38
|
+
private enableKeyDownEvent;
|
|
39
|
+
set modalList(value: ModalType[]);
|
|
40
|
+
get modalList(): ModalType[];
|
|
41
|
+
handleKeyPressEvent: (e: KeyboardEvent) => void;
|
|
42
|
+
checkModal(params: {
|
|
43
|
+
componentName: string;
|
|
44
|
+
onlyLastCheck?: boolean;
|
|
45
|
+
} | {
|
|
46
|
+
modalId: string;
|
|
47
|
+
onlyLastCheck?: boolean;
|
|
48
|
+
}): boolean;
|
|
49
|
+
deleteModal(id: string): void;
|
|
50
|
+
closeModal(id: string, isAnimation?: boolean): void;
|
|
51
|
+
resolveModal<T extends ModalType>({ modal, result, useClose, }: {
|
|
52
|
+
modal: T;
|
|
53
|
+
result: unknown;
|
|
54
|
+
useClose?: boolean;
|
|
55
|
+
}): void;
|
|
56
|
+
resetModal(): void;
|
|
57
|
+
makeProps<P extends DefaultModalPropsType>(props: P): P & {
|
|
58
|
+
animation: {
|
|
59
|
+
name?: string;
|
|
60
|
+
mobile?: string;
|
|
61
|
+
delay?: number;
|
|
62
|
+
duration?: number;
|
|
63
|
+
timingFunc?: string;
|
|
64
|
+
leaveTimingFunc?: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
private handleToggle;
|
|
68
|
+
private handleToggleOnlyOne;
|
|
69
|
+
openModal<T extends ComponentType<Record<string, unknown>>>({ component, props, }: {
|
|
70
|
+
component: T;
|
|
71
|
+
props?: ModalPropsOf<T> & DefaultModalPropsType;
|
|
72
|
+
}): Promise<unknown>;
|
|
73
|
+
getDefaultOption(): DefaultModalOption;
|
|
74
|
+
observe({ options, observeFunction, }: {
|
|
75
|
+
options?: DefaultModalOption;
|
|
76
|
+
observeFunction: (modalList: ModalType[]) => void;
|
|
77
|
+
}): void;
|
|
78
|
+
unobserve(): void;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare const openModal: OpenModal;
|
|
82
|
+
declare const closeModal: Modal['closeModal'];
|
|
83
|
+
declare const checkModal: Modal['checkModal'];
|
|
84
|
+
declare const resetModal: () => void;
|
|
85
|
+
declare const getModalDefaultOption: Modal['getDefaultOption'];
|
|
86
|
+
|
|
87
|
+
export { DefaultModalPropsType, ModalContainer, ModalLayout, ModalPortalTarget, ModalTemplate, type PropsType as ModalTemplateProps, ModalTemplatePropsType, ModalType, OpenModal, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkFKHW7QYG_js = require('../chunks/chunk-FKHW7QYG.js');
|
|
4
|
+
require('../chunks/chunk-T2IY2TSR.js');
|
|
5
|
+
require('../chunks/chunk-XEHFB62A.js');
|
|
6
|
+
require('../chunks/chunk-INP2AH3B.js');
|
|
7
|
+
var chunkHUPAHDJ7_js = require('../chunks/chunk-HUPAHDJ7.js');
|
|
8
|
+
require('../chunks/chunk-HHXDOKXY.js');
|
|
9
|
+
require('../chunks/chunk-NHDGKOAM.js');
|
|
10
|
+
require('../chunks/chunk-QJNQCLMV.js');
|
|
11
|
+
require('../chunks/chunk-JNMCYWGY.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, "ModalContainer", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkFKHW7QYG_js.ModalContainer_default; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "ModalPortalTarget", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkFKHW7QYG_js.ModalPortalTarget_default; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "ModalTemplate", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkFKHW7QYG_js.ModalTemplate_default; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "checkModal", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkFKHW7QYG_js.checkModal; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "closeModal", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkFKHW7QYG_js.closeModal; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "getModalDefaultOption", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkFKHW7QYG_js.getModalDefaultOption; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "modal", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkFKHW7QYG_js.openModal; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "openModal", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkFKHW7QYG_js.openModal; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "resetModal", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkFKHW7QYG_js.resetModal; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "useModal", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkHUPAHDJ7_js.useModal; }
|
|
54
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { ModalContainer_default as ModalContainer, ModalPortalTarget_default as ModalPortalTarget, ModalTemplate_default as ModalTemplate, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal } from '../chunks/chunk-UH667FUK.mjs';
|
|
2
|
+
import '../chunks/chunk-54IA2P2Z.mjs';
|
|
3
|
+
import '../chunks/chunk-YEWKPWK3.mjs';
|
|
4
|
+
import '../chunks/chunk-OTGS6BDQ.mjs';
|
|
5
|
+
export { useModal } from '../chunks/chunk-6H7V2I3X.mjs';
|
|
6
|
+
import '../chunks/chunk-U56AGSLE.mjs';
|
|
7
|
+
import '../chunks/chunk-4J3GCZ7W.mjs';
|
|
8
|
+
import '../chunks/chunk-XALPBGSC.mjs';
|
|
9
|
+
import '../chunks/chunk-CVYXRSXT.mjs';
|
|
@@ -0,0 +1,21 @@
|
|
|
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 numberInputVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
state?: "error" | "default" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'value'>, VariantProps<typeof numberInputVariants> {
|
|
10
|
+
value?: number | string;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
step?: number;
|
|
15
|
+
digit?: number;
|
|
16
|
+
hideButtons?: boolean;
|
|
17
|
+
onValueChange?: (value: number | undefined) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
+
|
|
21
|
+
export { NumberInput, type NumberInputProps, numberInputVariants };
|
|
@@ -0,0 +1,21 @@
|
|
|
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 numberInputVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
state?: "error" | "default" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'value'>, VariantProps<typeof numberInputVariants> {
|
|
10
|
+
value?: number | string;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
step?: number;
|
|
15
|
+
digit?: number;
|
|
16
|
+
hideButtons?: boolean;
|
|
17
|
+
onValueChange?: (value: number | undefined) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
+
|
|
21
|
+
export { NumberInput, type NumberInputProps, numberInputVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk53A2SL62_js = require('./chunks/chunk-53A2SL62.js');
|
|
4
|
+
require('./chunks/chunk-QJNQCLMV.js');
|
|
5
|
+
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "NumberInput", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk53A2SL62_js.NumberInput; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "numberInputVariants", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk53A2SL62_js.numberInputVariants; }
|
|
16
|
+
});
|