@lotte-innovate/ui-component-test 0.0.7 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/index.d.ts +1 -1
  3. package/dist/Typography/index.d.ts +2 -2
  4. package/dist/Typography/index.js +3 -3
  5. package/dist/app/layout.d.ts +7 -0
  6. package/dist/app/layout.js +12 -0
  7. package/dist/app/page.d.ts +1 -0
  8. package/dist/app/page.js +25 -0
  9. package/dist/app/template/badgeTemplate.d.ts +11 -0
  10. package/dist/app/template/badgeTemplate.js +11 -0
  11. package/dist/app/template/buttonTemplate.d.ts +11 -0
  12. package/dist/app/template/buttonTemplate.js +11 -0
  13. package/dist/app/template/colorPicker.d.ts +6 -0
  14. package/dist/app/template/colorPicker.js +14 -0
  15. package/dist/app/template/textTemplate.d.ts +10 -0
  16. package/dist/app/template/textTemplate.js +23 -0
  17. package/dist/app/template/theme.d.ts +12 -0
  18. package/dist/app/template/theme.js +12 -0
  19. package/dist/color/alpha.d.ts +784 -0
  20. package/dist/color/alpha.js +784 -0
  21. package/dist/color/constants.d.ts +20 -0
  22. package/dist/color/constants.js +200 -0
  23. package/dist/color/dark.d.ts +392 -0
  24. package/dist/color/dark.js +392 -0
  25. package/dist/color/krdsColors.d.ts +309 -0
  26. package/dist/color/krdsColors.js +309 -0
  27. package/dist/color/light.d.ts +392 -0
  28. package/dist/color/light.js +393 -0
  29. package/dist/components/Tooltip/index.d.ts +1 -1
  30. package/dist/components/index.d.ts +2 -0
  31. package/dist/constants.d.ts +185 -0
  32. package/dist/constants.js +569 -0
  33. package/dist/index.d.ts +5 -0
  34. package/dist/index.js +3 -0
  35. package/dist/stories/Welcome.d.ts +2 -0
  36. package/dist/stories/Welcome.js +30 -0
  37. package/dist/stories/accordion/Accordion.stories.d.ts +71 -0
  38. package/dist/stories/accordion/Accordion.stories.js +61 -0
  39. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +107 -0
  40. package/dist/stories/alert-dialog/AlertDialog.stories.js +60 -0
  41. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +68 -0
  42. package/dist/stories/aspect-ratio/AspectRatio.stories.js +78 -0
  43. package/dist/stories/avatar/Avatar.stories.d.ts +127 -0
  44. package/dist/stories/avatar/Avatar.stories.js +94 -0
  45. package/dist/stories/badge/Badge.stories.d.ts +133 -0
  46. package/dist/stories/badge/Badge.stories.js +86 -0
  47. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +102 -0
  48. package/dist/stories/bubble-chart/BubbleChart.stories.js +168 -0
  49. package/dist/stories/button/Button.stories.d.ts +148 -0
  50. package/dist/stories/button/Button.stories.js +65 -0
  51. package/dist/stories/button/IconButton.stories.d.ts +125 -0
  52. package/dist/stories/button/IconButton.stories.js +80 -0
  53. package/dist/stories/callout/Callout.stories.d.ts +129 -0
  54. package/dist/stories/callout/Callout.stories.js +104 -0
  55. package/dist/stories/card/Card.stories.d.ts +100 -0
  56. package/dist/stories/card/Card.stories.js +84 -0
  57. package/dist/stories/checkbox/Checkbox.stories.d.ts +147 -0
  58. package/dist/stories/checkbox/Checkbox.stories.js +110 -0
  59. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +129 -0
  60. package/dist/stories/checkbox/CheckboxCard.stories.js +90 -0
  61. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +91 -0
  62. package/dist/stories/checkbox/CheckboxGroup.stories.js +72 -0
  63. package/dist/stories/context-menu/ContextMenu.stories.d.ts +113 -0
  64. package/dist/stories/context-menu/ContextMenu.stories.js +86 -0
  65. package/dist/stories/data-list/DataList.stories.d.ts +97 -0
  66. package/dist/stories/data-list/DataList.stories.js +87 -0
  67. package/dist/{components/Input/Input.stories.d.ts → stories/dialog/Dialog.stories.d.ts} +39 -28
  68. package/dist/stories/dialog/Dialog.stories.js +59 -0
  69. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +180 -0
  70. package/dist/stories/doughnut-chart/DoughnutChart.stories.js +228 -0
  71. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +112 -0
  72. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +75 -0
  73. package/dist/stories/header/Header.stories.d.ts +112 -0
  74. package/dist/stories/header/Header.stories.js +97 -0
  75. package/dist/stories/hover-card/HoverCard.stories.d.ts +107 -0
  76. package/dist/stories/hover-card/HoverCard.stories.js +71 -0
  77. package/dist/stories/inset/Inset.stories.d.ts +58 -0
  78. package/dist/stories/inset/Inset.stories.js +64 -0
  79. package/dist/stories/label/Label.stories.d.ts +94 -0
  80. package/dist/stories/label/Label.stories.js +91 -0
  81. package/dist/stories/menubar/Menubar.stories.d.ts +119 -0
  82. package/dist/stories/menubar/Menubar.stories.js +98 -0
  83. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +385 -0
  84. package/dist/stories/navigation-menu/NavigationMenu.stories.js +79 -0
  85. package/dist/stories/pie-chart/PieChart.stories.d.ts +185 -0
  86. package/dist/stories/pie-chart/PieChart.stories.js +281 -0
  87. package/dist/stories/popover/Popover.stories.d.ts +78 -0
  88. package/dist/stories/popover/Popover.stories.js +74 -0
  89. package/dist/stories/progress/Progress.stories.d.ts +113 -0
  90. package/dist/stories/progress/Progress.stories.js +77 -0
  91. package/dist/stories/radar-chart/RadarChart.stories.d.ts +110 -0
  92. package/dist/stories/radar-chart/RadarChart.stories.js +201 -0
  93. package/dist/stories/radio/Radio.stories.d.ts +108 -0
  94. package/dist/stories/radio/Radio.stories.js +84 -0
  95. package/dist/stories/radio/RadioCards.stories.d.ts +127 -0
  96. package/dist/stories/radio/RadioCards.stories.js +94 -0
  97. package/dist/stories/radio/RadioGroup.stories.d.ts +111 -0
  98. package/dist/stories/radio/RadioGroup.stories.js +88 -0
  99. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +59 -0
  100. package/dist/stories/scroll-area/ScrollArea.stories.js +63 -0
  101. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +97 -0
  102. package/dist/stories/segmented-control/SegmentedControl.stories.js +80 -0
  103. package/dist/stories/select/Select.stories.d.ts +116 -0
  104. package/dist/stories/select/Select.stories.js +88 -0
  105. package/dist/stories/separator/Separator.stories.d.ts +93 -0
  106. package/dist/stories/separator/Separator.stories.js +82 -0
  107. package/dist/stories/skeleton/Skeleton.stories.d.ts +88 -0
  108. package/dist/stories/skeleton/Skeleton.stories.js +92 -0
  109. package/dist/stories/slider/Slider.stories.d.ts +114 -0
  110. package/dist/stories/slider/Slider.stories.js +83 -0
  111. package/dist/stories/spinner/Spinner.stories.d.ts +83 -0
  112. package/dist/stories/spinner/Spinner.stories.js +87 -0
  113. package/dist/stories/switch/Switch.stories.d.ts +146 -0
  114. package/dist/stories/switch/Switch.stories.js +108 -0
  115. package/dist/stories/tab-nav/TabNav.stories.d.ts +55 -0
  116. package/dist/stories/tab-nav/TabNav.stories.js +59 -0
  117. package/dist/stories/table/Table.stories.d.ts +87 -0
  118. package/dist/stories/table/Table.stories.js +79 -0
  119. package/dist/stories/tabs/Tabs.stories.d.ts +55 -0
  120. package/dist/stories/tabs/Tabs.stories.js +59 -0
  121. package/dist/stories/text/Text.stories.d.ts +74 -0
  122. package/dist/stories/text/Text.stories.js +76 -0
  123. package/dist/stories/textArea/TextArea.stories.d.ts +117 -0
  124. package/dist/stories/textArea/TextArea.stories.js +96 -0
  125. package/dist/stories/textfield/TextField.stories.d.ts +116 -0
  126. package/dist/stories/textfield/TextField.stories.js +88 -0
  127. package/dist/stories/toast/Toast.stories.d.ts +138 -0
  128. package/dist/stories/toast/Toast.stories.js +104 -0
  129. package/dist/stories/toggle/Toggle.stories.d.ts +115 -0
  130. package/dist/stories/toggle/Toggle.stories.js +89 -0
  131. package/dist/stories/toggle/ToggleGroup.stories.d.ts +103 -0
  132. package/dist/stories/toggle/ToggleGroup.stories.js +94 -0
  133. package/dist/stories/tooltip/Tooltip.stories.d.ts +93 -0
  134. package/dist/stories/tooltip/Tooltip.stories.js +78 -0
  135. package/dist/tsconfig.tsbuildinfo +1 -0
  136. package/dist/types.d.ts +11 -0
  137. package/dist/types.js +1 -0
  138. package/dist/utils/utils.d.ts +3 -0
  139. package/dist/utils/utils.js +27 -0
  140. package/package.json +118 -120
  141. package/dist/components/Input/Input.stories.js +0 -74
  142. package/dist/components/Input/index.d.ts +0 -14
  143. package/dist/components/Input/index.js +0 -53
@@ -0,0 +1,385 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ declare const meta: {
4
+ title: string;
5
+ component: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-navigation-menu").NavigationMenuProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("components/NavigationMenu").NavigationMenuProps & import("react").RefAttributes<HTMLElement>>;
6
+ parameters: {
7
+ layout: string;
8
+ themes: {
9
+ themeOverride: string;
10
+ };
11
+ docs: {
12
+ description: {
13
+ component: string;
14
+ };
15
+ };
16
+ };
17
+ decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
18
+ value?: string | undefined;
19
+ className?: string | undefined;
20
+ color?: "slate" | "olive" | "sand" | "tomato" | "red" | "ruby" | "crimson" | "pink" | "plum" | "purple" | "violet" | "iris" | "indigo" | "blue" | "cyan" | "teal" | "jade" | "green" | "grass" | "brown" | "bronze" | "gold" | "sky" | "mint" | "lime" | "yellow" | "amber" | "orange" | "black" | "white" | undefined;
21
+ asChild?: boolean | undefined;
22
+ defaultChecked?: boolean | undefined;
23
+ defaultValue?: string | undefined;
24
+ slot?: string | undefined;
25
+ style?: import("react").CSSProperties | undefined;
26
+ title?: string | undefined;
27
+ key?: import("react").Key | null | undefined;
28
+ suppressContentEditableWarning?: boolean | undefined;
29
+ suppressHydrationWarning?: boolean | undefined;
30
+ accessKey?: string | undefined;
31
+ autoFocus?: boolean | undefined;
32
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
33
+ contextMenu?: string | undefined;
34
+ dir?: ("ltr" | "rtl") | undefined;
35
+ draggable?: (boolean | "true" | "false") | undefined;
36
+ hidden?: boolean | undefined;
37
+ id?: string | undefined;
38
+ lang?: string | undefined;
39
+ nonce?: string | undefined;
40
+ spellCheck?: (boolean | "true" | "false") | undefined;
41
+ tabIndex?: number | undefined;
42
+ translate?: "yes" | "no" | undefined;
43
+ radioGroup?: string | undefined;
44
+ role?: import("react").AriaRole | undefined;
45
+ about?: string | undefined;
46
+ content?: string | undefined;
47
+ datatype?: string | undefined;
48
+ inlist?: any;
49
+ prefix?: string | undefined;
50
+ property?: string | undefined;
51
+ rel?: string | undefined;
52
+ resource?: string | undefined;
53
+ rev?: string | undefined;
54
+ typeof?: string | undefined;
55
+ vocab?: string | undefined;
56
+ autoCapitalize?: string | undefined;
57
+ autoCorrect?: string | undefined;
58
+ autoSave?: string | undefined;
59
+ itemProp?: string | undefined;
60
+ itemScope?: boolean | undefined;
61
+ itemType?: string | undefined;
62
+ itemID?: string | undefined;
63
+ itemRef?: string | undefined;
64
+ results?: number | undefined;
65
+ security?: string | undefined;
66
+ unselectable?: "on" | "off" | undefined;
67
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
68
+ is?: string | undefined;
69
+ inert?: boolean | undefined;
70
+ tw?: string | undefined;
71
+ "aria-activedescendant"?: string | undefined;
72
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
73
+ "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
74
+ "aria-braillelabel"?: string | undefined;
75
+ "aria-brailleroledescription"?: string | undefined;
76
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
77
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
78
+ "aria-colcount"?: number | undefined;
79
+ "aria-colindex"?: number | undefined;
80
+ "aria-colindextext"?: string | undefined;
81
+ "aria-colspan"?: number | undefined;
82
+ "aria-controls"?: string | undefined;
83
+ "aria-current"?: boolean | "true" | "false" | "time" | "step" | "page" | "location" | "date" | undefined;
84
+ "aria-describedby"?: string | undefined;
85
+ "aria-description"?: string | undefined;
86
+ "aria-details"?: string | undefined;
87
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
88
+ "aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
89
+ "aria-errormessage"?: string | undefined;
90
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
91
+ "aria-flowto"?: string | undefined;
92
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
93
+ "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
94
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
95
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
96
+ "aria-keyshortcuts"?: string | undefined;
97
+ "aria-label"?: string | undefined;
98
+ "aria-labelledby"?: string | undefined;
99
+ "aria-level"?: number | undefined;
100
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
101
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
102
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
103
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
104
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
105
+ "aria-owns"?: string | undefined;
106
+ "aria-placeholder"?: string | undefined;
107
+ "aria-posinset"?: number | undefined;
108
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
109
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
110
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
111
+ "aria-required"?: (boolean | "true" | "false") | undefined;
112
+ "aria-roledescription"?: string | undefined;
113
+ "aria-rowcount"?: number | undefined;
114
+ "aria-rowindex"?: number | undefined;
115
+ "aria-rowindextext"?: string | undefined;
116
+ "aria-rowspan"?: number | undefined;
117
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
118
+ "aria-setsize"?: number | undefined;
119
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
120
+ "aria-valuemax"?: number | undefined;
121
+ "aria-valuemin"?: number | undefined;
122
+ "aria-valuenow"?: number | undefined;
123
+ "aria-valuetext"?: string | undefined;
124
+ children?: import("react").ReactNode;
125
+ dangerouslySetInnerHTML?: {
126
+ __html: string | TrustedHTML;
127
+ } | undefined;
128
+ onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
129
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
130
+ onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
131
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
132
+ onPaste?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
133
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
134
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLElement> | undefined;
135
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
136
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLElement> | undefined;
137
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
138
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLElement> | undefined;
139
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
140
+ onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
141
+ onFocusCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
142
+ onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
143
+ onBlurCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
144
+ onChange?: import("react").FormEventHandler<HTMLElement> | undefined;
145
+ onChangeCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
146
+ onBeforeInput?: import("react").FormEventHandler<HTMLElement> | undefined;
147
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
148
+ onInput?: import("react").FormEventHandler<HTMLElement> | undefined;
149
+ onInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
150
+ onReset?: import("react").FormEventHandler<HTMLElement> | undefined;
151
+ onResetCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
152
+ onSubmit?: import("react").FormEventHandler<HTMLElement> | undefined;
153
+ onSubmitCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
154
+ onInvalid?: import("react").FormEventHandler<HTMLElement> | undefined;
155
+ onInvalidCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
156
+ onLoad?: import("react").ReactEventHandler<HTMLElement> | undefined;
157
+ onLoadCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
158
+ onError?: import("react").ReactEventHandler<HTMLElement> | undefined;
159
+ onErrorCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
160
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
161
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
162
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
163
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
164
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
165
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
166
+ onAbort?: import("react").ReactEventHandler<HTMLElement> | undefined;
167
+ onAbortCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
168
+ onCanPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
169
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
170
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLElement> | undefined;
171
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
172
+ onDurationChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
173
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
174
+ onEmptied?: import("react").ReactEventHandler<HTMLElement> | undefined;
175
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
176
+ onEncrypted?: import("react").ReactEventHandler<HTMLElement> | undefined;
177
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
178
+ onEnded?: import("react").ReactEventHandler<HTMLElement> | undefined;
179
+ onEndedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
180
+ onLoadedData?: import("react").ReactEventHandler<HTMLElement> | undefined;
181
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
182
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLElement> | undefined;
183
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
184
+ onLoadStart?: import("react").ReactEventHandler<HTMLElement> | undefined;
185
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
186
+ onPause?: import("react").ReactEventHandler<HTMLElement> | undefined;
187
+ onPauseCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
188
+ onPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
189
+ onPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
190
+ onPlaying?: import("react").ReactEventHandler<HTMLElement> | undefined;
191
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
192
+ onProgress?: import("react").ReactEventHandler<HTMLElement> | undefined;
193
+ onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
194
+ onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
195
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
196
+ onResize?: import("react").ReactEventHandler<HTMLElement> | undefined;
197
+ onResizeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
198
+ onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
199
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
200
+ onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
201
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
202
+ onStalled?: import("react").ReactEventHandler<HTMLElement> | undefined;
203
+ onStalledCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
204
+ onSuspend?: import("react").ReactEventHandler<HTMLElement> | undefined;
205
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
206
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLElement> | undefined;
207
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
208
+ onVolumeChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
209
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
210
+ onWaiting?: import("react").ReactEventHandler<HTMLElement> | undefined;
211
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
212
+ onAuxClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
213
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
214
+ onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
215
+ onClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
216
+ onContextMenu?: import("react").MouseEventHandler<HTMLElement> | undefined;
217
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
218
+ onDoubleClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
219
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
220
+ onDrag?: import("react").DragEventHandler<HTMLElement> | undefined;
221
+ onDragCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
222
+ onDragEnd?: import("react").DragEventHandler<HTMLElement> | undefined;
223
+ onDragEndCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
224
+ onDragEnter?: import("react").DragEventHandler<HTMLElement> | undefined;
225
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
226
+ onDragExit?: import("react").DragEventHandler<HTMLElement> | undefined;
227
+ onDragExitCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
228
+ onDragLeave?: import("react").DragEventHandler<HTMLElement> | undefined;
229
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
230
+ onDragOver?: import("react").DragEventHandler<HTMLElement> | undefined;
231
+ onDragOverCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
232
+ onDragStart?: import("react").DragEventHandler<HTMLElement> | undefined;
233
+ onDragStartCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
234
+ onDrop?: import("react").DragEventHandler<HTMLElement> | undefined;
235
+ onDropCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
236
+ onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
237
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
238
+ onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
239
+ onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
240
+ onMouseMove?: import("react").MouseEventHandler<HTMLElement> | undefined;
241
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
242
+ onMouseOut?: import("react").MouseEventHandler<HTMLElement> | undefined;
243
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
244
+ onMouseOver?: import("react").MouseEventHandler<HTMLElement> | undefined;
245
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
246
+ onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
247
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
248
+ onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
249
+ onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
250
+ onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
251
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
252
+ onTouchEnd?: import("react").TouchEventHandler<HTMLElement> | undefined;
253
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
254
+ onTouchMove?: import("react").TouchEventHandler<HTMLElement> | undefined;
255
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
256
+ onTouchStart?: import("react").TouchEventHandler<HTMLElement> | undefined;
257
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
258
+ onPointerDown?: import("react").PointerEventHandler<HTMLElement> | undefined;
259
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
260
+ onPointerMove?: import("react").PointerEventHandler<HTMLElement> | undefined;
261
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
262
+ onPointerUp?: import("react").PointerEventHandler<HTMLElement> | undefined;
263
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
264
+ onPointerCancel?: import("react").PointerEventHandler<HTMLElement> | undefined;
265
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
266
+ onPointerEnter?: import("react").PointerEventHandler<HTMLElement> | undefined;
267
+ onPointerLeave?: import("react").PointerEventHandler<HTMLElement> | undefined;
268
+ onPointerOver?: import("react").PointerEventHandler<HTMLElement> | undefined;
269
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
270
+ onPointerOut?: import("react").PointerEventHandler<HTMLElement> | undefined;
271
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
272
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
273
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
274
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
275
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
276
+ onScroll?: import("react").UIEventHandler<HTMLElement> | undefined;
277
+ onScrollCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
278
+ onWheel?: import("react").WheelEventHandler<HTMLElement> | undefined;
279
+ onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
280
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
281
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
282
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
283
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
284
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
285
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
286
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
287
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
288
+ orientation?: ("horizontal" | "vertical") | undefined;
289
+ onValueChange?: ((value: string) => void) | undefined;
290
+ delayDuration?: number | undefined;
291
+ skipDelayDuration?: number | undefined;
292
+ appearance?: "solid" | "ghost" | undefined;
293
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
294
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
295
+ size?: "small" | "medium" | null | undefined;
296
+ ref?: import("react").LegacyRef<HTMLElement> | undefined;
297
+ }>) => import("react/jsx-runtime").JSX.Element)[];
298
+ tags: string[];
299
+ argTypes: {
300
+ radius: {
301
+ description: string;
302
+ table: {
303
+ category: string;
304
+ type: {
305
+ summary: string;
306
+ };
307
+ };
308
+ options: import("types").IRadius[];
309
+ control: {
310
+ type: string;
311
+ };
312
+ defaultValue: {
313
+ summary: string;
314
+ };
315
+ };
316
+ scaling: {
317
+ description: string;
318
+ table: {
319
+ category: string;
320
+ type: {
321
+ summary: string;
322
+ };
323
+ };
324
+ control: {
325
+ type: string;
326
+ };
327
+ options: import("types").IScaling[];
328
+ defaultValue: {
329
+ summary: string;
330
+ };
331
+ };
332
+ size: {
333
+ table: {
334
+ category: string;
335
+ type: {
336
+ summary: string;
337
+ };
338
+ };
339
+ options: import("types").ISize[];
340
+ description: string;
341
+ control: {
342
+ type: string;
343
+ };
344
+ defaultValue: {
345
+ summary: string;
346
+ };
347
+ };
348
+ color: {
349
+ description: string;
350
+ table: {
351
+ category: string;
352
+ type: {
353
+ summary: string;
354
+ };
355
+ };
356
+ options: import("types").IColor[];
357
+ control: {
358
+ type: string;
359
+ };
360
+ defaultValue: {
361
+ summary: string;
362
+ };
363
+ };
364
+ appearance: {
365
+ description: string;
366
+ table: {
367
+ category: string;
368
+ type: {
369
+ summary: string;
370
+ };
371
+ };
372
+ options: import("types").IAppearance[];
373
+ control: {
374
+ type: string;
375
+ };
376
+ defaultValue: {
377
+ summary: string;
378
+ };
379
+ };
380
+ };
381
+ };
382
+ export default meta;
383
+ export declare const Default: ({ ...args }: {
384
+ [x: string]: any;
385
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,79 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { appearanceOptions, commonArgTypes, sizeOptions } from '../../constants';
25
+ import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, } from 'components/NavigationMenu';
26
+ import Image from 'next/image';
27
+ import { Text } from 'Typography/Text';
28
+ import { Card } from 'components';
29
+ var meta = {
30
+ title: 'Component/NavigationMenu',
31
+ component: NavigationMenu,
32
+ parameters: {
33
+ layout: 'centered',
34
+ themes: {
35
+ themeOverride: 'dark',
36
+ },
37
+ docs: {
38
+ description: {
39
+ component: "\uC6F9\uC0AC\uC774\uD2B8\uC758 \uD398\uC774\uC9C0\uB97C \uD0D0\uC0C9\uD558\uAE30 \uC704\uD574 \uD558\uC774\uD37C\uD14D\uC2A4\uD2B8 \uB9C1\uD06C\uB97C \uD3EC\uD568\uD558\uACE0 \uC788\uB294 \uC778\uD130\uD398\uC774\uC2A4 \uC694\uC18C",
40
+ },
41
+ },
42
+ },
43
+ decorators: [
44
+ function (Story) { return (_jsx("div", { className: "h-[300px] p-2", children: _jsx(Story, {}) })); },
45
+ ],
46
+ tags: ['autodocs'],
47
+ argTypes: {
48
+ radius: __assign(__assign({}, commonArgTypes.radius), { description: 'NavigationMenu border 둥굴기' }),
49
+ scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'NavigationMenu 비율' }),
50
+ size: __assign(__assign({}, commonArgTypes.size), { table: {
51
+ category: 'Props',
52
+ type: {
53
+ summary: sizeOptions
54
+ .filter(function (option) { return option === 'small' || option === 'medium'; })
55
+ .join(' | '),
56
+ },
57
+ }, options: sizeOptions.filter(function (option) { return option === 'small' || option === 'medium'; }), description: 'NavigationMenu 크기' }),
58
+ color: __assign(__assign({}, commonArgTypes.color), { description: 'NavigationMenu 메인 색' }),
59
+ appearance: {
60
+ description: 'NavigationMenu 스타일',
61
+ table: {
62
+ category: 'Props',
63
+ type: {
64
+ summary: appearanceOptions
65
+ .filter(function (option) { return option === 'solid' || option === 'ghost'; })
66
+ .join(' | '),
67
+ },
68
+ },
69
+ options: appearanceOptions.filter(function (option) { return option === 'solid' || option === 'ghost'; }),
70
+ control: { type: 'select' },
71
+ defaultValue: { summary: 'ghost' },
72
+ },
73
+ },
74
+ };
75
+ export default meta;
76
+ export var Default = function (_a) {
77
+ var args = __rest(_a, []);
78
+ return (_jsxs(NavigationMenu, __assign({}, args, { children: [_jsxs(NavigationMenuList, { children: [_jsxs(NavigationMenuItem, { children: [_jsx(NavigationMenuTrigger, { children: "\uD648\uD398\uC774\uC9C0" }), _jsx(NavigationMenuContent, { children: _jsxs("div", { className: "flex space-x-2", children: [_jsx(Image, { className: "rounded", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 120, height: 200 }), _jsxs("div", { className: "space-y-2", children: [_jsxs(Card, { size: 'small', className: "w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3", children: [_jsx(Text, { weight: 'bold', children: "\uD0C0\uC774\uD2C0" }), _jsx(Text, { children: "\uB0B4\uC6A9" })] }), _jsxs(Card, { size: 'small', className: "w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3", children: [_jsx(Text, { weight: 'bold', children: "\uD0C0\uC774\uD2C0" }), _jsx(Text, { children: "\uB0B4\uC6A9" })] }), _jsxs(Card, { size: 'small', className: "w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3", children: [_jsx(Text, { weight: 'bold', children: "\uD0C0\uC774\uD2C0" }), _jsx(Text, { children: "\uB0B4\uC6A9" })] })] })] }) })] }), _jsxs(NavigationMenuItem, { children: [_jsx(NavigationMenuTrigger, { children: "\uAC1C\uC694" }), _jsx(NavigationMenuContent, { children: _jsxs("div", { className: "flex flex-col space-y-3", children: [_jsx(Card, { className: "hover:bg-red-3 dark:hover:bg-redDark-3", appearance: "ghost", children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { weight: 'bold', color: "red", children: "\uD0C0\uC774\uD2C0\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." }), _jsx(Text, { children: "\uB0B4\uC6A9\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." })] }) }), _jsx(Card, { className: "hover:bg-red-3 dark:hover:bg-redDark-3", appearance: "ghost", children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { weight: 'bold', color: "red", children: "\uD0C0\uC774\uD2C0\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." }), _jsx(Text, { children: "\uB0B4\uC6A9\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." })] }) }), _jsx(Card, { className: "hover:bg-red-3 dark:hover:bg-redDark-3", appearance: "ghost", children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { weight: 'bold', color: "red", children: "\uD0C0\uC774\uD2C0\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." }), _jsx(Text, { children: "\uB0B4\uC6A9\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." })] }) })] }) })] }), _jsx(NavigationMenuItem, { children: _jsx(NavigationMenuLink, { href: "https://tailwindcss.com/docs/border-radius", children: "tailwind \uBC14\uB85C\uAC00\uAE30" }) })] }), _jsx(NavigationMenuViewport, {})] })));
79
+ };
@@ -0,0 +1,185 @@
1
+ declare const meta: {
2
+ title: string;
3
+ component: ({ labels, datasets, scaling, className, ...rest }: import("components/PieChart").PieChartProps) => import("react/jsx-runtime").JSX.Element;
4
+ parameters: {
5
+ layout: string;
6
+ docs: {
7
+ description: {
8
+ component: string;
9
+ };
10
+ };
11
+ };
12
+ tags: string[];
13
+ args: {
14
+ labels: string[];
15
+ datasets: {
16
+ label: string;
17
+ data: number[];
18
+ backgroundColor: string[];
19
+ borderColor: string[];
20
+ borderWidth: number;
21
+ }[];
22
+ options: {
23
+ plugins: {
24
+ legend: {
25
+ position: string;
26
+ labels: {
27
+ usePointStyle: boolean;
28
+ pointStyle: boolean;
29
+ };
30
+ };
31
+ title: {
32
+ display: boolean;
33
+ text: string;
34
+ };
35
+ };
36
+ };
37
+ };
38
+ argTypes: {
39
+ scaling: {
40
+ description: string;
41
+ table: {
42
+ category: string;
43
+ type: {
44
+ summary: string;
45
+ };
46
+ };
47
+ control: {
48
+ type: string;
49
+ };
50
+ options: import("types").IScaling[];
51
+ defaultValue: {
52
+ summary: string;
53
+ };
54
+ };
55
+ labels: {
56
+ name: string;
57
+ description: string;
58
+ table: {
59
+ category: string;
60
+ type: {
61
+ summary: string;
62
+ };
63
+ };
64
+ };
65
+ datasets: {
66
+ name: string;
67
+ description: string;
68
+ table: {
69
+ category: string;
70
+ type: {
71
+ summary: string;
72
+ };
73
+ };
74
+ };
75
+ 'options.plugins.legend.position': {
76
+ description: string;
77
+ table: {
78
+ category: string;
79
+ type: {
80
+ summary: string;
81
+ };
82
+ };
83
+ control: {
84
+ type: string;
85
+ };
86
+ options: string[];
87
+ defaultValue: {
88
+ summary: string;
89
+ };
90
+ };
91
+ 'options.plugins.legend.labels.pointStyle': {
92
+ description: string;
93
+ table: {
94
+ category: string;
95
+ type: {
96
+ summary: string;
97
+ };
98
+ };
99
+ control: {
100
+ type: string;
101
+ };
102
+ options: (string | boolean)[];
103
+ defaultValue: {
104
+ summary: string;
105
+ };
106
+ };
107
+ 'options.plugins.legend.labels.usePointStyle': {
108
+ description: string;
109
+ table: {
110
+ category: string;
111
+ type: {
112
+ summary: string;
113
+ };
114
+ };
115
+ control: {
116
+ type: string;
117
+ };
118
+ defaultValue: {
119
+ summary: string;
120
+ };
121
+ };
122
+ className: {
123
+ table: {
124
+ disable: boolean;
125
+ };
126
+ };
127
+ 'datasets.borderDash': {
128
+ table: {
129
+ category: string;
130
+ type: {
131
+ summary: string;
132
+ };
133
+ };
134
+ description: string;
135
+ control: string;
136
+ };
137
+ 'datasets.borderDashOffset': {
138
+ table: {
139
+ category: string;
140
+ type: {
141
+ summary: string;
142
+ };
143
+ };
144
+ description: string;
145
+ control: string;
146
+ };
147
+ 'datasets.offset': {
148
+ table: {
149
+ category: string;
150
+ type: {
151
+ summary: string;
152
+ };
153
+ };
154
+ description: string;
155
+ control: string;
156
+ };
157
+ 'datasets.spacing': {
158
+ table: {
159
+ category: string;
160
+ type: {
161
+ summary: string;
162
+ };
163
+ };
164
+ description: string;
165
+ control: string;
166
+ };
167
+ 'datasets.weight': {
168
+ table: {
169
+ category: string;
170
+ type: {
171
+ summary: string;
172
+ };
173
+ };
174
+ description: string;
175
+ control: string;
176
+ };
177
+ };
178
+ };
179
+ export default meta;
180
+ export declare const Default: ({ ...args }: {
181
+ [x: string]: any;
182
+ }) => import("react/jsx-runtime").JSX.Element;
183
+ export declare const LabelsStyle: () => import("react/jsx-runtime").JSX.Element;
184
+ export declare const BorderStyles: () => import("react/jsx-runtime").JSX.Element;
185
+ export declare const DataLabels: () => import("react/jsx-runtime").JSX.Element;