@croquiscom/pds 3.10.0-alpha.2 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/CHANGELOG.md +2 -43
  2. package/assets/icons/Cancel.svg +3 -0
  3. package/assets/icons/ColoredFaceBad.svg +6 -0
  4. package/assets/icons/ColoredFaceGood.svg +6 -0
  5. package/assets/icons/ColoredFaceNeutral.svg +6 -0
  6. package/assets/icons/ColoredFaceVeryBad.svg +4 -0
  7. package/assets/icons/ColoredFaceVeryGood.svg +5 -0
  8. package/dist/components/date-picker/Caption.d.ts +2 -3
  9. package/dist/components/date-picker/DatePicker.d.ts +0 -1
  10. package/dist/components/date-picker/DateRangeInput.d.ts +3 -14
  11. package/dist/components/date-picker/DateRangePicker.d.ts +1 -8
  12. package/dist/components/date-picker/DateRangePicker.stories.d.ts +1 -2
  13. package/dist/components/date-picker/hooks/constants.d.ts +2 -3
  14. package/dist/components/date-picker/hooks/useDatePickerAttributes.d.ts +4 -9
  15. package/dist/components/date-picker/styles.d.ts +15 -8
  16. package/dist/components/icons/generated/Cancel.d.ts +4 -0
  17. package/dist/components/icons/generated/ColoredFaceBad.d.ts +4 -0
  18. package/dist/components/icons/generated/ColoredFaceGood.d.ts +4 -0
  19. package/dist/components/icons/generated/ColoredFaceNeutral.d.ts +4 -0
  20. package/dist/components/icons/generated/ColoredFaceVeryBad.d.ts +4 -0
  21. package/dist/components/icons/generated/ColoredFaceVeryGood.d.ts +4 -0
  22. package/dist/components/icons/generated/index.d.ts +6 -0
  23. package/dist/index.es.js +3 -3
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.js +3 -3
  26. package/dist/index.js.map +1 -1
  27. package/dist/locales/en.d.ts +0 -1
  28. package/dist/locales/ja.d.ts +0 -1
  29. package/dist/locales/ko.d.ts +0 -1
  30. package/locales/en.esm.js +0 -1
  31. package/locales/en.esm.js.map +1 -1
  32. package/locales/en.js +0 -1
  33. package/locales/en.js.map +1 -1
  34. package/locales/ja.esm.js +0 -1
  35. package/locales/ja.esm.js.map +1 -1
  36. package/locales/ja.js +0 -1
  37. package/locales/ja.js.map +1 -1
  38. package/locales/ko.esm.js +0 -1
  39. package/locales/ko.esm.js.map +1 -1
  40. package/locales/ko.js +0 -1
  41. package/locales/ko.js.map +1 -1
  42. package/package.json +1 -1
  43. package/bundle-report.html +0 -4034
  44. package/dist/badge/Badge.d.ts +0 -15
  45. package/dist/badge/Badge.stories.d.ts +0 -7
  46. package/dist/badge/index.d.ts +0 -1
  47. package/dist/badge/styles.d.ts +0 -5
  48. package/dist/badge/types.d.ts +0 -3
  49. package/dist/button/Button.d.ts +0 -22
  50. package/dist/button/Button.stories.d.ts +0 -18
  51. package/dist/button/IconButton.d.ts +0 -12
  52. package/dist/button/IconButton.stories.d.ts +0 -8
  53. package/dist/button/index.d.ts +0 -2
  54. package/dist/button/styles.d.ts +0 -7
  55. package/dist/button/types.d.ts +0 -4
  56. package/dist/checkbox/Checkbox.d.ts +0 -7
  57. package/dist/checkbox/Checkbox.stories.d.ts +0 -8
  58. package/dist/checkbox/CheckboxGroup.d.ts +0 -26
  59. package/dist/checkbox/CheckboxGroup.stories.d.ts +0 -9
  60. package/dist/checkbox/index.d.ts +0 -2
  61. package/dist/components/date-picker/YearMonthCalendar.d.ts +0 -20
  62. package/dist/components/date-picker/YearMonthCaption.d.ts +0 -14
  63. package/dist/components/date-picker/utils.d.ts +0 -6
  64. package/dist/divider/Divider.d.ts +0 -12
  65. package/dist/divider/Divider.stories.d.ts +0 -11
  66. package/dist/divider/index.d.ts +0 -1
  67. package/dist/form/FormHelperText.d.ts +0 -13
  68. package/dist/form/FormHelperText.stories.d.ts +0 -11
  69. package/dist/form/FormLabel.d.ts +0 -10
  70. package/dist/form/FormLabel.stories.d.ts +0 -11
  71. package/dist/form/index.d.ts +0 -2
  72. package/dist/form/styles.d.ts +0 -3
  73. package/dist/hooks/useClickOutside.d.ts +0 -2
  74. package/dist/icons/Icon.stories.d.ts +0 -33
  75. package/dist/icons/generated/Account24.d.ts +0 -3
  76. package/dist/icons/generated/Alert16.d.ts +0 -3
  77. package/dist/icons/generated/Alert20.d.ts +0 -3
  78. package/dist/icons/generated/Alert24.d.ts +0 -3
  79. package/dist/icons/generated/Alert50.d.ts +0 -3
  80. package/dist/icons/generated/AlertFill20.d.ts +0 -3
  81. package/dist/icons/generated/AlertTriangle18.d.ts +0 -3
  82. package/dist/icons/generated/ArrowBottom16.d.ts +0 -3
  83. package/dist/icons/generated/ArrowBottom18.d.ts +0 -3
  84. package/dist/icons/generated/ArrowDecrease10.d.ts +0 -3
  85. package/dist/icons/generated/ArrowIncrease10.d.ts +0 -3
  86. package/dist/icons/generated/ArrowLeft16.d.ts +0 -3
  87. package/dist/icons/generated/ArrowLeft18.d.ts +0 -3
  88. package/dist/icons/generated/ArrowLineDown20.d.ts +0 -3
  89. package/dist/icons/generated/ArrowLineLeft20.d.ts +0 -3
  90. package/dist/icons/generated/ArrowLineRight20.d.ts +0 -3
  91. package/dist/icons/generated/ArrowLineUp20.d.ts +0 -3
  92. package/dist/icons/generated/ArrowRight16.d.ts +0 -3
  93. package/dist/icons/generated/ArrowRight18.d.ts +0 -3
  94. package/dist/icons/generated/ArrowStick10.d.ts +0 -3
  95. package/dist/icons/generated/ArrowTop16.d.ts +0 -3
  96. package/dist/icons/generated/ArrowTop18.d.ts +0 -3
  97. package/dist/icons/generated/AutoCharge20.d.ts +0 -3
  98. package/dist/icons/generated/BarChart18.d.ts +0 -3
  99. package/dist/icons/generated/Beauty72.d.ts +0 -3
  100. package/dist/icons/generated/Below10.d.ts +0 -3
  101. package/dist/icons/generated/Below16.d.ts +0 -3
  102. package/dist/icons/generated/Best16.d.ts +0 -3
  103. package/dist/icons/generated/Bookmark18.d.ts +0 -3
  104. package/dist/icons/generated/Boost24.d.ts +0 -3
  105. package/dist/icons/generated/Brand72.d.ts +0 -3
  106. package/dist/icons/generated/Calendar16.d.ts +0 -3
  107. package/dist/icons/generated/Camera20.d.ts +0 -3
  108. package/dist/icons/generated/Cart18.d.ts +0 -3
  109. package/dist/icons/generated/Cart24.d.ts +0 -3
  110. package/dist/icons/generated/Charge20.d.ts +0 -3
  111. package/dist/icons/generated/ChargeCoupon20.d.ts +0 -3
  112. package/dist/icons/generated/Check14.d.ts +0 -3
  113. package/dist/icons/generated/Check24.d.ts +0 -3
  114. package/dist/icons/generated/CircleCard24.d.ts +0 -3
  115. package/dist/icons/generated/CircleCheckFill16.d.ts +0 -3
  116. package/dist/icons/generated/CircleCheckLine16.d.ts +0 -3
  117. package/dist/icons/generated/CirclePlus14.d.ts +0 -3
  118. package/dist/icons/generated/CircleWon18.d.ts +0 -3
  119. package/dist/icons/generated/CircleWon24.d.ts +0 -3
  120. package/dist/icons/generated/Click18.d.ts +0 -3
  121. package/dist/icons/generated/Clock16.d.ts +0 -3
  122. package/dist/icons/generated/CloseMedium24.d.ts +0 -3
  123. package/dist/icons/generated/CloseSmall16.d.ts +0 -3
  124. package/dist/icons/generated/Contract24.d.ts +0 -3
  125. package/dist/icons/generated/Copy14.d.ts +0 -3
  126. package/dist/icons/generated/Coupon18.d.ts +0 -3
  127. package/dist/icons/generated/Coupon24.d.ts +0 -3
  128. package/dist/icons/generated/Crop16.d.ts +0 -3
  129. package/dist/icons/generated/Cs24.d.ts +0 -3
  130. package/dist/icons/generated/Cvr18.d.ts +0 -3
  131. package/dist/icons/generated/Dashboard24.d.ts +0 -3
  132. package/dist/icons/generated/DeleteCircleFill20.d.ts +0 -3
  133. package/dist/icons/generated/Delivery24.d.ts +0 -3
  134. package/dist/icons/generated/Delivery72.d.ts +0 -3
  135. package/dist/icons/generated/Doc14.d.ts +0 -3
  136. package/dist/icons/generated/DocConfirm50.d.ts +0 -3
  137. package/dist/icons/generated/Done20.d.ts +0 -3
  138. package/dist/icons/generated/Edit16.d.ts +0 -3
  139. package/dist/icons/generated/Email18.d.ts +0 -3
  140. package/dist/icons/generated/EmptyNoti50.d.ts +0 -3
  141. package/dist/icons/generated/Error16.d.ts +0 -3
  142. package/dist/icons/generated/Excel16.d.ts +0 -3
  143. package/dist/icons/generated/Exchange24.d.ts +0 -3
  144. package/dist/icons/generated/Exhibition24.d.ts +0 -3
  145. package/dist/icons/generated/EyeOff16.d.ts +0 -3
  146. package/dist/icons/generated/EyeOn16.d.ts +0 -3
  147. package/dist/icons/generated/Fbk16.d.ts +0 -3
  148. package/dist/icons/generated/GlobalDelivery72.d.ts +0 -3
  149. package/dist/icons/generated/Grade18.d.ts +0 -3
  150. package/dist/icons/generated/Graph24.d.ts +0 -3
  151. package/dist/icons/generated/GraphBar16.d.ts +0 -3
  152. package/dist/icons/generated/GraphLine16.d.ts +0 -3
  153. package/dist/icons/generated/Heart18.d.ts +0 -3
  154. package/dist/icons/generated/Help14.d.ts +0 -3
  155. package/dist/icons/generated/Help16.d.ts +0 -3
  156. package/dist/icons/generated/Home16.d.ts +0 -3
  157. package/dist/icons/generated/IdeaFill24.d.ts +0 -3
  158. package/dist/icons/generated/IdeaLine24.d.ts +0 -3
  159. package/dist/icons/generated/IndentArrow14.d.ts +0 -3
  160. package/dist/icons/generated/Info14.d.ts +0 -3
  161. package/dist/icons/generated/Info16.d.ts +0 -3
  162. package/dist/icons/generated/Info24.d.ts +0 -3
  163. package/dist/icons/generated/Interest16.d.ts +0 -3
  164. package/dist/icons/generated/Life72.d.ts +0 -3
  165. package/dist/icons/generated/Link16.d.ts +0 -3
  166. package/dist/icons/generated/Loading24.d.ts +0 -3
  167. package/dist/icons/generated/LoadingDonuts30.d.ts +0 -3
  168. package/dist/icons/generated/LoadingDots30.d.ts +0 -3
  169. package/dist/icons/generated/Lock18.d.ts +0 -3
  170. package/dist/icons/generated/Marketing24.d.ts +0 -3
  171. package/dist/icons/generated/Megaphone14.d.ts +0 -3
  172. package/dist/icons/generated/MemoAttention20.d.ts +0 -3
  173. package/dist/icons/generated/MemoDefault20.d.ts +0 -3
  174. package/dist/icons/generated/Move10.d.ts +0 -3
  175. package/dist/icons/generated/New10.d.ts +0 -3
  176. package/dist/icons/generated/NotExposed16.d.ts +0 -3
  177. package/dist/icons/generated/Notice24.d.ts +0 -3
  178. package/dist/icons/generated/One18.d.ts +0 -3
  179. package/dist/icons/generated/Order24.d.ts +0 -3
  180. package/dist/icons/generated/OrderAmount18.d.ts +0 -3
  181. package/dist/icons/generated/Ordering16.d.ts +0 -3
  182. package/dist/icons/generated/Orders18.d.ts +0 -3
  183. package/dist/icons/generated/OutlinkOne14.d.ts +0 -3
  184. package/dist/icons/generated/OutlinkTwo14.d.ts +0 -3
  185. package/dist/icons/generated/PenaltyBad20.d.ts +0 -3
  186. package/dist/icons/generated/PenaltyGood20.d.ts +0 -3
  187. package/dist/icons/generated/PenaltyNotsobad20.d.ts +0 -3
  188. package/dist/icons/generated/Pin16.d.ts +0 -3
  189. package/dist/icons/generated/Pin24.d.ts +0 -3
  190. package/dist/icons/generated/Play20.d.ts +0 -3
  191. package/dist/icons/generated/Plus16.d.ts +0 -3
  192. package/dist/icons/generated/Plus20.d.ts +0 -3
  193. package/dist/icons/generated/Posty16.d.ts +0 -3
  194. package/dist/icons/generated/Powerup24.d.ts +0 -3
  195. package/dist/icons/generated/Product24.d.ts +0 -3
  196. package/dist/icons/generated/Promotion24.d.ts +0 -3
  197. package/dist/icons/generated/Question24.d.ts +0 -3
  198. package/dist/icons/generated/Ranking18.d.ts +0 -3
  199. package/dist/icons/generated/Refresh14.d.ts +0 -3
  200. package/dist/icons/generated/Refund24.d.ts +0 -3
  201. package/dist/icons/generated/Search14.d.ts +0 -3
  202. package/dist/icons/generated/SelectArrow16.d.ts +0 -3
  203. package/dist/icons/generated/Shop72.d.ts +0 -3
  204. package/dist/icons/generated/SluggishSales16.d.ts +0 -3
  205. package/dist/icons/generated/Spoid20.d.ts +0 -3
  206. package/dist/icons/generated/Star10.d.ts +0 -3
  207. package/dist/icons/generated/Status10.d.ts +0 -3
  208. package/dist/icons/generated/StatusNo16.d.ts +0 -3
  209. package/dist/icons/generated/StatusYes16.d.ts +0 -3
  210. package/dist/icons/generated/SteadySeller16.d.ts +0 -3
  211. package/dist/icons/generated/Store24.d.ts +0 -3
  212. package/dist/icons/generated/Store50.d.ts +0 -3
  213. package/dist/icons/generated/TableMove16.d.ts +0 -3
  214. package/dist/icons/generated/Thumbup14.d.ts +0 -3
  215. package/dist/icons/generated/Tip18.d.ts +0 -3
  216. package/dist/icons/generated/Trend18.d.ts +0 -3
  217. package/dist/icons/generated/TrendDecreasing18.d.ts +0 -3
  218. package/dist/icons/generated/TrendIncreasing18.d.ts +0 -3
  219. package/dist/icons/generated/Two18.d.ts +0 -3
  220. package/dist/icons/generated/Upload50.d.ts +0 -3
  221. package/dist/icons/generated/User18.d.ts +0 -3
  222. package/dist/icons/generated/Video16.d.ts +0 -3
  223. package/dist/icons/generated/Warning24.d.ts +0 -3
  224. package/dist/icons/generated/Won16.d.ts +0 -3
  225. package/dist/icons/generated/Zigzag16.d.ts +0 -3
  226. package/dist/icons/generated/ZigzagCan16.d.ts +0 -3
  227. package/dist/icons/generated/ZigzagEng16.d.ts +0 -3
  228. package/dist/icons/generated/ZigzagGlobal16.d.ts +0 -3
  229. package/dist/icons/generated/ZigzagJpn16.d.ts +0 -3
  230. package/dist/icons/generated/ZigzagKor16.d.ts +0 -3
  231. package/dist/icons/generated/ZigzagWeb16.d.ts +0 -3
  232. package/dist/icons/generated/Zoomin16.d.ts +0 -3
  233. package/dist/icons/generated/index.d.ts +0 -163
  234. package/dist/images/Images.stories.d.ts +0 -13
  235. package/dist/images/generated/KakaostyleBlk.d.ts +0 -3
  236. package/dist/images/generated/KakaostyleOri.d.ts +0 -3
  237. package/dist/images/generated/KakaostyleWh.d.ts +0 -3
  238. package/dist/images/generated/Npay.d.ts +0 -3
  239. package/dist/images/generated/PartnerCenterBlk.d.ts +0 -3
  240. package/dist/images/generated/PartnerCenterOri.d.ts +0 -3
  241. package/dist/images/generated/PartnerCenterWh.d.ts +0 -3
  242. package/dist/images/generated/PartnerLoungeBlk.d.ts +0 -3
  243. package/dist/images/generated/PartnerLoungeOri.d.ts +0 -3
  244. package/dist/images/generated/PartnerLoungeWh.d.ts +0 -3
  245. package/dist/images/generated/PostyOri.d.ts +0 -3
  246. package/dist/images/generated/PostyWh.d.ts +0 -3
  247. package/dist/images/generated/ZdeliveryOne.d.ts +0 -3
  248. package/dist/images/generated/ZdeliveryTwo.d.ts +0 -3
  249. package/dist/images/generated/ZexpressBasicGlobal.d.ts +0 -3
  250. package/dist/images/generated/ZexpressBasicKor.d.ts +0 -3
  251. package/dist/images/generated/ZexpressSimpleGlobal.d.ts +0 -3
  252. package/dist/images/generated/ZexpressSimpleKor.d.ts +0 -3
  253. package/dist/images/generated/ZexpressSymbolGlobal.d.ts +0 -3
  254. package/dist/images/generated/ZexpressSymbolKor.d.ts +0 -3
  255. package/dist/images/generated/ZexpressTextGlobal.d.ts +0 -3
  256. package/dist/images/generated/ZexpressTextKor.d.ts +0 -3
  257. package/dist/images/generated/ZigzagBiBasic.d.ts +0 -3
  258. package/dist/images/generated/ZigzagBiSymbol.d.ts +0 -3
  259. package/dist/images/generated/ZigzagSymbolCircle.d.ts +0 -3
  260. package/dist/images/generated/ZigzagSymbolRounded.d.ts +0 -3
  261. package/dist/images/generated/Zpay.d.ts +0 -3
  262. package/dist/images/generated/index.d.ts +0 -30
  263. package/dist/input/Input.d.ts +0 -9
  264. package/dist/input/Input.stories.d.ts +0 -9
  265. package/dist/input/InputAddon.d.ts +0 -10
  266. package/dist/input/NumericInput.d.ts +0 -20
  267. package/dist/input/NumericInput.stories.d.ts +0 -21
  268. package/dist/input/index.d.ts +0 -2
  269. package/dist/input/styles.d.ts +0 -16
  270. package/dist/radio/Radio.d.ts +0 -14
  271. package/dist/radio/Radio.stories.d.ts +0 -8
  272. package/dist/radio/RadioGroup.d.ts +0 -33
  273. package/dist/radio/RadioGroup.stories.d.ts +0 -12
  274. package/dist/radio/index.d.ts +0 -2
  275. package/dist/radio/styles.d.ts +0 -12
  276. package/dist/report.html +0 -4034
  277. package/dist/stack/HStack.d.ts +0 -10
  278. package/dist/stack/HStack.stories.d.ts +0 -10
  279. package/dist/stack/VStack.d.ts +0 -10
  280. package/dist/stack/VStack.stories.d.ts +0 -10
  281. package/dist/stack/index.d.ts +0 -2
  282. package/dist/stack/types.d.ts +0 -8
  283. package/dist/switch/Switch.d.ts +0 -21
  284. package/dist/switch/Switch.stories.d.ts +0 -5
  285. package/dist/switch/index.d.ts +0 -1
  286. package/dist/switch/styles.d.ts +0 -4
  287. package/dist/text/BaseText.d.ts +0 -18
  288. package/dist/text/BaseText.stories.d.ts +0 -7
  289. package/dist/text/index.d.ts +0 -1
  290. package/dist/textarea/Textarea.d.ts +0 -6
  291. package/dist/textarea/Textarea.stories.d.ts +0 -8
  292. package/dist/textarea/index.d.ts +0 -1
  293. package/dist/tooltip/Tooltip.d.ts +0 -28
  294. package/dist/tooltip/Tooltip.stories.d.ts +0 -8
  295. package/dist/tooltip/TooltipBase.d.ts +0 -11
  296. package/dist/tooltip/index.d.ts +0 -1
  297. package/dist/tooltip/styles.d.ts +0 -3
  298. package/dist/tooltip/types.d.ts +0 -2
  299. package/dist/tooltip/useOpener.d.ts +0 -14
  300. package/locales/en.d.ts +0 -67
  301. package/locales/en.esm.d.ts +0 -67
  302. package/locales/ja.d.ts +0 -67
  303. package/locales/ja.esm.d.ts +0 -67
  304. package/locales/ko.d.ts +0 -67
  305. package/locales/ko.esm.d.ts +0 -67
@@ -1,10 +0,0 @@
1
- import { StackProps } from './types';
2
- declare type VerticalAlignment = 'stretch' | 'top' | 'bottom' | 'center';
3
- export interface HStackProps extends StackProps {
4
- alignment?: VerticalAlignment;
5
- }
6
- export declare const HStack: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme;
8
- as?: import("react").ElementType<any>;
9
- } & HStackProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export {};
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme;
5
- as?: React.ElementType<any>;
6
- } & import("./HStack").HStackProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>>;
7
- export default _default;
8
- export declare const Base: any;
9
- export declare const Spacing: any;
10
- export declare const SpacingAuto: any;
@@ -1,10 +0,0 @@
1
- import { StackProps } from './types';
2
- declare type HorizontalAlignment = 'stretch' | 'leading' | 'trailing' | 'center';
3
- export interface VStackProps extends StackProps {
4
- alignment?: HorizontalAlignment;
5
- }
6
- export declare const VStack: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme;
8
- as?: import("react").ElementType<any>;
9
- } & VStackProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export {};
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme;
5
- as?: React.ElementType<any>;
6
- } & import("./VStack").VStackProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>>;
7
- export default _default;
8
- export declare const Base: any;
9
- export declare const Spacing: any;
10
- export declare const SpacingAuto: any;
@@ -1,2 +0,0 @@
1
- export * from './HStack';
2
- export * from './VStack';
@@ -1,8 +0,0 @@
1
- import { SizeProps, SpaceProps } from '../styles';
2
- import { CSSValueWithLength } from '../styles/buildCSSWithLength';
3
- export declare type StackAlignment = 'stretch' | 'flex-start' | 'center' | 'flex-end';
4
- export interface StackProps extends SizeProps, SpaceProps {
5
- className?: string;
6
- children?: React.ReactNode;
7
- spacing?: CSSValueWithLength;
8
- }
@@ -1,21 +0,0 @@
1
- import React, { ButtonHTMLAttributes } from 'react';
2
- export declare type SwitchSize = 'small' | 'large';
3
- export interface SwitchProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
- /**
5
- * @default true
6
- */
7
- isOn?: boolean;
8
- /**
9
- * @default small
10
- */
11
- size?: SwitchSize;
12
- /**
13
- * @default ON
14
- */
15
- onText?: string;
16
- /**
17
- * @default OFF
18
- */
19
- offText?: string;
20
- }
21
- export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Switch").SwitchProps & React.RefAttributes<HTMLButtonElement>>>;
4
- export default _default;
5
- export declare const Base: any;
@@ -1 +0,0 @@
1
- export * from './Switch';
@@ -1,4 +0,0 @@
1
- import { SwitchSize } from './Switch';
2
- export declare const switch_base_css: import("@emotion/utils").SerializedStyles;
3
- export declare const getStylesByActive: (isOn: boolean) => import("@emotion/utils").SerializedStyles;
4
- export declare const getStyleByProps: (size: SwitchSize, isOn: boolean) => import("@emotion/utils").SerializedStyles;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { Typography } from '../foundation';
3
- declare type Alignment = 'center' | 'leading' | 'trailing';
4
- declare type TextElement = keyof Pick<JSX.IntrinsicElements, 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span' | 'li'>;
5
- export interface BaseTextProps extends React.Attributes {
6
- alignment?: Alignment;
7
- /**
8
- * @default span
9
- */
10
- as?: TextElement;
11
- color?: string;
12
- /**
13
- * @default Body_13_Regular
14
- */
15
- variant?: Typography;
16
- }
17
- export declare const BaseText: React.FC<BaseTextProps & JSX.IntrinsicElements[BaseTextProps['as']]>;
18
- export {};
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.FC<import("./BaseText").BaseTextProps & (React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> | React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>)>>;
4
- export default _default;
5
- export declare const Base: any;
6
- export declare const Alignment: any;
7
- export declare const Variant: any;
@@ -1 +0,0 @@
1
- export * from './BaseText';
@@ -1,6 +0,0 @@
1
- import React, { TextareaHTMLAttributes } from 'react';
2
- import { SizeProps } from '../styles';
3
- export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, SizeProps {
4
- error?: boolean;
5
- }
6
- export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Textarea").TextareaProps & React.RefAttributes<HTMLTextAreaElement>>>;
4
- export default _default;
5
- export declare const Base: any;
6
- export declare const Error: any;
7
- export declare const Disabled: any;
8
- export declare const EnteredDisabled: any;
@@ -1 +0,0 @@
1
- export * from './Textarea';
@@ -1,28 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { Placement } from '../styles';
3
- import { TooltipBaseProps } from './TooltipBase';
4
- declare type TooltipContentWithCloseAction = (action: {
5
- close(): void;
6
- }) => ReactNode;
7
- export declare type OpenerTriggerEvent = 'hover' | 'click' | 'none';
8
- export interface TooltipProps extends TooltipBaseProps {
9
- /** @desc reference element를 구할 수 있는 컴포넌트여야 합니다. */
10
- children: React.ReactNode;
11
- className?: string;
12
- content?: ReactNode | TooltipContentWithCloseAction;
13
- /** @default true */
14
- canClickOutside?: boolean;
15
- /** @default hover */
16
- openerTriggerEvent?: OpenerTriggerEvent;
17
- /** @default top */
18
- placement?: Placement;
19
- /** @default 101 */
20
- zIndex?: number;
21
- /** @default false */
22
- noUsePortal?: boolean;
23
- opened?: boolean;
24
- onClose?: () => void;
25
- onOpen?: () => void;
26
- }
27
- export declare const Tooltip: ({ placement, children, className, content, canClickOutside, openerTriggerEvent, opened: openProp, size, variant, zIndex, noUsePortal, onClose, onOpen, }: TooltipProps) => JSX.Element;
28
- export {};
@@ -1,8 +0,0 @@
1
- import { ComponentMeta } from '@storybook/react';
2
- declare const _default: ComponentMeta<({ placement, children, className, content, canClickOutside, openerTriggerEvent, opened: openProp, size, variant, zIndex, noUsePortal, onClose, onOpen, }: import("./Tooltip").TooltipProps) => JSX.Element>;
3
- export default _default;
4
- export declare const Base: any;
5
- export declare const Placement: any;
6
- export declare const MaxWidth: () => JSX.Element;
7
- export declare const Trigger: () => JSX.Element;
8
- export declare const ContentWithCloseAction: () => JSX.Element;
@@ -1,11 +0,0 @@
1
- import { TooltipSize, TooltipVariant } from './types';
2
- export interface TooltipBaseProps {
3
- /** @default medium */
4
- size?: TooltipSize;
5
- /** @default primary */
6
- variant?: TooltipVariant;
7
- }
8
- export declare const TooltipBase: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
- as?: import("react").ElementType<any>;
11
- } & TooltipBaseProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1 +0,0 @@
1
- export * from './Tooltip';
@@ -1,3 +0,0 @@
1
- import { TooltipSize, TooltipVariant } from './types';
2
- export declare const tooltip_size_css: Record<TooltipSize, string>;
3
- export declare const tooltip_variant_color_css: Record<TooltipVariant, string>;
@@ -1,2 +0,0 @@
1
- export declare type TooltipSize = 'small' | 'medium' | 'large';
2
- export declare type TooltipVariant = 'primary' | 'secondary' | 'error';
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export declare type OpenerTriggerEvent = 'hover' | 'click' | 'none';
3
- export interface UseOpenerProps {
4
- targets?: React.ReactNode;
5
- toggleOpened?: (opened: boolean) => void;
6
- /**
7
- * @default click
8
- */
9
- triggerEvent?: OpenerTriggerEvent;
10
- }
11
- export declare function useOpener({ targets, toggleOpened, triggerEvent }: UseOpenerProps): {
12
- openerRef: React.MutableRefObject<HTMLDivElement>;
13
- opener: React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
14
- };
package/locales/en.d.ts DELETED
@@ -1,67 +0,0 @@
1
- export declare const en: {
2
- lang: string;
3
- accessibility: {
4
- info: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- close: string;
9
- page: string;
10
- prev: string;
11
- next: string;
12
- back: string;
13
- };
14
- ConfirmModal: {
15
- title: string;
16
- confirmText: string;
17
- cancelText: string;
18
- };
19
- AlertModal: {
20
- title: string;
21
- confirmText: string;
22
- };
23
- NoticeModal: {
24
- closeText: string;
25
- checkReplayText: string;
26
- };
27
- Dropdown: {
28
- placeholder: string;
29
- };
30
- DatePicker: {
31
- placeholder: string;
32
- footer: {
33
- now: string;
34
- today: string;
35
- ok: string;
36
- clear: string;
37
- };
38
- };
39
- DatePickerRange: {
40
- placeholder: string[];
41
- dataPreset: {
42
- today: string;
43
- '1-week': string;
44
- '1-month': string;
45
- '3-month': string;
46
- '6-month': string;
47
- '1-year': string;
48
- all: string;
49
- };
50
- };
51
- TimePicker: {
52
- placeholder: string;
53
- footer: {
54
- ok: string;
55
- clear: string;
56
- };
57
- };
58
- TimeRangePicker: {
59
- placeholder: string[];
60
- };
61
- FileUpload: {
62
- label: string;
63
- };
64
- Table: {
65
- noDataText: string;
66
- };
67
- };
@@ -1,67 +0,0 @@
1
- export declare const en: {
2
- lang: string;
3
- accessibility: {
4
- info: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- close: string;
9
- page: string;
10
- prev: string;
11
- next: string;
12
- back: string;
13
- };
14
- ConfirmModal: {
15
- title: string;
16
- confirmText: string;
17
- cancelText: string;
18
- };
19
- AlertModal: {
20
- title: string;
21
- confirmText: string;
22
- };
23
- NoticeModal: {
24
- closeText: string;
25
- checkReplayText: string;
26
- };
27
- Dropdown: {
28
- placeholder: string;
29
- };
30
- DatePicker: {
31
- placeholder: string;
32
- footer: {
33
- now: string;
34
- today: string;
35
- ok: string;
36
- clear: string;
37
- };
38
- };
39
- DatePickerRange: {
40
- placeholder: string[];
41
- dataPreset: {
42
- today: string;
43
- '1-week': string;
44
- '1-month': string;
45
- '3-month': string;
46
- '6-month': string;
47
- '1-year': string;
48
- all: string;
49
- };
50
- };
51
- TimePicker: {
52
- placeholder: string;
53
- footer: {
54
- ok: string;
55
- clear: string;
56
- };
57
- };
58
- TimeRangePicker: {
59
- placeholder: string[];
60
- };
61
- FileUpload: {
62
- label: string;
63
- };
64
- Table: {
65
- noDataText: string;
66
- };
67
- };
package/locales/ja.d.ts DELETED
@@ -1,67 +0,0 @@
1
- export declare const ja: {
2
- lang: string;
3
- accessibility: {
4
- info: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- close: string;
9
- page: string;
10
- prev: string;
11
- next: string;
12
- back: string;
13
- };
14
- ConfirmModal: {
15
- title: string;
16
- confirmText: string;
17
- cancelText: string;
18
- };
19
- AlertModal: {
20
- title: string;
21
- confirmText: string;
22
- };
23
- NoticeModal: {
24
- closeText: string;
25
- checkReplayText: string;
26
- };
27
- Dropdown: {
28
- placeholder: string;
29
- };
30
- DatePicker: {
31
- placeholder: string;
32
- footer: {
33
- now: string;
34
- today: string;
35
- ok: string;
36
- clear: string;
37
- };
38
- };
39
- DatePickerRange: {
40
- placeholder: string[];
41
- dataPreset: {
42
- today: string;
43
- '1-week': string;
44
- '1-month': string;
45
- '3-month': string;
46
- '6-month': string;
47
- '1-year': string;
48
- all: string;
49
- };
50
- };
51
- TimePicker: {
52
- placeholder: string;
53
- footer: {
54
- ok: string;
55
- clear: string;
56
- };
57
- };
58
- TimeRangePicker: {
59
- placeholder: string[];
60
- };
61
- FileUpload: {
62
- label: string;
63
- };
64
- Table: {
65
- noDataText: string;
66
- };
67
- };
@@ -1,67 +0,0 @@
1
- export declare const ja: {
2
- lang: string;
3
- accessibility: {
4
- info: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- close: string;
9
- page: string;
10
- prev: string;
11
- next: string;
12
- back: string;
13
- };
14
- ConfirmModal: {
15
- title: string;
16
- confirmText: string;
17
- cancelText: string;
18
- };
19
- AlertModal: {
20
- title: string;
21
- confirmText: string;
22
- };
23
- NoticeModal: {
24
- closeText: string;
25
- checkReplayText: string;
26
- };
27
- Dropdown: {
28
- placeholder: string;
29
- };
30
- DatePicker: {
31
- placeholder: string;
32
- footer: {
33
- now: string;
34
- today: string;
35
- ok: string;
36
- clear: string;
37
- };
38
- };
39
- DatePickerRange: {
40
- placeholder: string[];
41
- dataPreset: {
42
- today: string;
43
- '1-week': string;
44
- '1-month': string;
45
- '3-month': string;
46
- '6-month': string;
47
- '1-year': string;
48
- all: string;
49
- };
50
- };
51
- TimePicker: {
52
- placeholder: string;
53
- footer: {
54
- ok: string;
55
- clear: string;
56
- };
57
- };
58
- TimeRangePicker: {
59
- placeholder: string[];
60
- };
61
- FileUpload: {
62
- label: string;
63
- };
64
- Table: {
65
- noDataText: string;
66
- };
67
- };
package/locales/ko.d.ts DELETED
@@ -1,67 +0,0 @@
1
- export declare const ko: {
2
- lang: string;
3
- accessibility: {
4
- info: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- close: string;
9
- page: string;
10
- prev: string;
11
- next: string;
12
- back: string;
13
- };
14
- ConfirmModal: {
15
- title: string;
16
- confirmText: string;
17
- cancelText: string;
18
- };
19
- AlertModal: {
20
- title: string;
21
- confirmText: string;
22
- };
23
- NoticeModal: {
24
- closeText: string;
25
- checkReplayText: string;
26
- };
27
- Dropdown: {
28
- placeholder: string;
29
- };
30
- DatePicker: {
31
- placeholder: string;
32
- footer: {
33
- now: string;
34
- today: string;
35
- ok: string;
36
- clear: string;
37
- };
38
- };
39
- DatePickerRange: {
40
- placeholder: string[];
41
- dataPreset: {
42
- today: string;
43
- '1-week': string;
44
- '1-month': string;
45
- '3-month': string;
46
- '6-month': string;
47
- '1-year': string;
48
- all: string;
49
- };
50
- };
51
- TimePicker: {
52
- placeholder: string;
53
- footer: {
54
- ok: string;
55
- clear: string;
56
- };
57
- };
58
- TimeRangePicker: {
59
- placeholder: string[];
60
- };
61
- FileUpload: {
62
- label: string;
63
- };
64
- Table: {
65
- noDataText: string;
66
- };
67
- };
@@ -1,67 +0,0 @@
1
- export declare const ko: {
2
- lang: string;
3
- accessibility: {
4
- info: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- close: string;
9
- page: string;
10
- prev: string;
11
- next: string;
12
- back: string;
13
- };
14
- ConfirmModal: {
15
- title: string;
16
- confirmText: string;
17
- cancelText: string;
18
- };
19
- AlertModal: {
20
- title: string;
21
- confirmText: string;
22
- };
23
- NoticeModal: {
24
- closeText: string;
25
- checkReplayText: string;
26
- };
27
- Dropdown: {
28
- placeholder: string;
29
- };
30
- DatePicker: {
31
- placeholder: string;
32
- footer: {
33
- now: string;
34
- today: string;
35
- ok: string;
36
- clear: string;
37
- };
38
- };
39
- DatePickerRange: {
40
- placeholder: string[];
41
- dataPreset: {
42
- today: string;
43
- '1-week': string;
44
- '1-month': string;
45
- '3-month': string;
46
- '6-month': string;
47
- '1-year': string;
48
- all: string;
49
- };
50
- };
51
- TimePicker: {
52
- placeholder: string;
53
- footer: {
54
- ok: string;
55
- clear: string;
56
- };
57
- };
58
- TimeRangePicker: {
59
- placeholder: string[];
60
- };
61
- FileUpload: {
62
- label: string;
63
- };
64
- Table: {
65
- noDataText: string;
66
- };
67
- };