@croquiscom/pds 3.9.0 → 3.10.0-alpha.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.
Files changed (292) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/bundle-report.html +4034 -0
  3. package/dist/badge/Badge.d.ts +15 -0
  4. package/dist/badge/Badge.stories.d.ts +7 -0
  5. package/dist/badge/index.d.ts +1 -0
  6. package/dist/badge/styles.d.ts +5 -0
  7. package/dist/badge/types.d.ts +3 -0
  8. package/dist/button/Button.d.ts +22 -0
  9. package/dist/button/Button.stories.d.ts +18 -0
  10. package/dist/button/IconButton.d.ts +12 -0
  11. package/dist/button/IconButton.stories.d.ts +8 -0
  12. package/dist/button/index.d.ts +2 -0
  13. package/dist/button/styles.d.ts +7 -0
  14. package/dist/button/types.d.ts +4 -0
  15. package/dist/checkbox/Checkbox.d.ts +7 -0
  16. package/dist/checkbox/Checkbox.stories.d.ts +8 -0
  17. package/dist/checkbox/CheckboxGroup.d.ts +26 -0
  18. package/dist/checkbox/CheckboxGroup.stories.d.ts +9 -0
  19. package/dist/checkbox/index.d.ts +2 -0
  20. package/dist/components/date-picker/Caption.d.ts +3 -2
  21. package/dist/components/date-picker/DatePicker.d.ts +1 -0
  22. package/dist/components/date-picker/DateRangeInput.d.ts +14 -3
  23. package/dist/components/date-picker/DateRangePicker.d.ts +8 -1
  24. package/dist/components/date-picker/DateRangePicker.stories.d.ts +2 -1
  25. package/dist/components/date-picker/YearMonthCalendar.d.ts +20 -0
  26. package/dist/components/date-picker/YearMonthCaption.d.ts +14 -0
  27. package/dist/components/date-picker/hooks/constants.d.ts +3 -2
  28. package/dist/components/date-picker/hooks/useDatePickerAttributes.d.ts +9 -4
  29. package/dist/components/date-picker/styles.d.ts +8 -15
  30. package/dist/components/date-picker/utils.d.ts +6 -0
  31. package/dist/divider/Divider.d.ts +12 -0
  32. package/dist/divider/Divider.stories.d.ts +11 -0
  33. package/dist/divider/index.d.ts +1 -0
  34. package/dist/form/FormHelperText.d.ts +13 -0
  35. package/dist/form/FormHelperText.stories.d.ts +11 -0
  36. package/dist/form/FormLabel.d.ts +10 -0
  37. package/dist/form/FormLabel.stories.d.ts +11 -0
  38. package/dist/form/index.d.ts +2 -0
  39. package/dist/form/styles.d.ts +3 -0
  40. package/dist/hooks/useClickOutside.d.ts +2 -0
  41. package/dist/icons/Icon.stories.d.ts +33 -0
  42. package/dist/icons/generated/Account24.d.ts +3 -0
  43. package/dist/icons/generated/Alert16.d.ts +3 -0
  44. package/dist/icons/generated/Alert20.d.ts +3 -0
  45. package/dist/icons/generated/Alert24.d.ts +3 -0
  46. package/dist/icons/generated/Alert50.d.ts +3 -0
  47. package/dist/icons/generated/AlertFill20.d.ts +3 -0
  48. package/dist/icons/generated/AlertTriangle18.d.ts +3 -0
  49. package/dist/icons/generated/ArrowBottom16.d.ts +3 -0
  50. package/dist/icons/generated/ArrowBottom18.d.ts +3 -0
  51. package/dist/icons/generated/ArrowDecrease10.d.ts +3 -0
  52. package/dist/icons/generated/ArrowIncrease10.d.ts +3 -0
  53. package/dist/icons/generated/ArrowLeft16.d.ts +3 -0
  54. package/dist/icons/generated/ArrowLeft18.d.ts +3 -0
  55. package/dist/icons/generated/ArrowLineDown20.d.ts +3 -0
  56. package/dist/icons/generated/ArrowLineLeft20.d.ts +3 -0
  57. package/dist/icons/generated/ArrowLineRight20.d.ts +3 -0
  58. package/dist/icons/generated/ArrowLineUp20.d.ts +3 -0
  59. package/dist/icons/generated/ArrowRight16.d.ts +3 -0
  60. package/dist/icons/generated/ArrowRight18.d.ts +3 -0
  61. package/dist/icons/generated/ArrowStick10.d.ts +3 -0
  62. package/dist/icons/generated/ArrowTop16.d.ts +3 -0
  63. package/dist/icons/generated/ArrowTop18.d.ts +3 -0
  64. package/dist/icons/generated/AutoCharge20.d.ts +3 -0
  65. package/dist/icons/generated/BarChart18.d.ts +3 -0
  66. package/dist/icons/generated/Beauty72.d.ts +3 -0
  67. package/dist/icons/generated/Below10.d.ts +3 -0
  68. package/dist/icons/generated/Below16.d.ts +3 -0
  69. package/dist/icons/generated/Best16.d.ts +3 -0
  70. package/dist/icons/generated/Bookmark18.d.ts +3 -0
  71. package/dist/icons/generated/Boost24.d.ts +3 -0
  72. package/dist/icons/generated/Brand72.d.ts +3 -0
  73. package/dist/icons/generated/Calendar16.d.ts +3 -0
  74. package/dist/icons/generated/Camera20.d.ts +3 -0
  75. package/dist/icons/generated/Cart18.d.ts +3 -0
  76. package/dist/icons/generated/Cart24.d.ts +3 -0
  77. package/dist/icons/generated/Charge20.d.ts +3 -0
  78. package/dist/icons/generated/ChargeCoupon20.d.ts +3 -0
  79. package/dist/icons/generated/Check14.d.ts +3 -0
  80. package/dist/icons/generated/Check24.d.ts +3 -0
  81. package/dist/icons/generated/CircleCard24.d.ts +3 -0
  82. package/dist/icons/generated/CircleCheckFill16.d.ts +3 -0
  83. package/dist/icons/generated/CircleCheckLine16.d.ts +3 -0
  84. package/dist/icons/generated/CirclePlus14.d.ts +3 -0
  85. package/dist/icons/generated/CircleWon18.d.ts +3 -0
  86. package/dist/icons/generated/CircleWon24.d.ts +3 -0
  87. package/dist/icons/generated/Click18.d.ts +3 -0
  88. package/dist/icons/generated/Clock16.d.ts +3 -0
  89. package/dist/icons/generated/CloseMedium24.d.ts +3 -0
  90. package/dist/icons/generated/CloseSmall16.d.ts +3 -0
  91. package/dist/icons/generated/Contract24.d.ts +3 -0
  92. package/dist/icons/generated/Copy14.d.ts +3 -0
  93. package/dist/icons/generated/Coupon18.d.ts +3 -0
  94. package/dist/icons/generated/Coupon24.d.ts +3 -0
  95. package/dist/icons/generated/Crop16.d.ts +3 -0
  96. package/dist/icons/generated/Cs24.d.ts +3 -0
  97. package/dist/icons/generated/Cvr18.d.ts +3 -0
  98. package/dist/icons/generated/Dashboard24.d.ts +3 -0
  99. package/dist/icons/generated/DeleteCircleFill20.d.ts +3 -0
  100. package/dist/icons/generated/Delivery24.d.ts +3 -0
  101. package/dist/icons/generated/Delivery72.d.ts +3 -0
  102. package/dist/icons/generated/Doc14.d.ts +3 -0
  103. package/dist/icons/generated/DocConfirm50.d.ts +3 -0
  104. package/dist/icons/generated/Done20.d.ts +3 -0
  105. package/dist/icons/generated/Edit16.d.ts +3 -0
  106. package/dist/icons/generated/Email18.d.ts +3 -0
  107. package/dist/icons/generated/EmptyNoti50.d.ts +3 -0
  108. package/dist/icons/generated/Error16.d.ts +3 -0
  109. package/dist/icons/generated/Excel16.d.ts +3 -0
  110. package/dist/icons/generated/Exchange24.d.ts +3 -0
  111. package/dist/icons/generated/Exhibition24.d.ts +3 -0
  112. package/dist/icons/generated/EyeOff16.d.ts +3 -0
  113. package/dist/icons/generated/EyeOn16.d.ts +3 -0
  114. package/dist/icons/generated/Fbk16.d.ts +3 -0
  115. package/dist/icons/generated/GlobalDelivery72.d.ts +3 -0
  116. package/dist/icons/generated/Grade18.d.ts +3 -0
  117. package/dist/icons/generated/Graph24.d.ts +3 -0
  118. package/dist/icons/generated/GraphBar16.d.ts +3 -0
  119. package/dist/icons/generated/GraphLine16.d.ts +3 -0
  120. package/dist/icons/generated/Heart18.d.ts +3 -0
  121. package/dist/icons/generated/Help14.d.ts +3 -0
  122. package/dist/icons/generated/Help16.d.ts +3 -0
  123. package/dist/icons/generated/Home16.d.ts +3 -0
  124. package/dist/icons/generated/IdeaFill24.d.ts +3 -0
  125. package/dist/icons/generated/IdeaLine24.d.ts +3 -0
  126. package/dist/icons/generated/IndentArrow14.d.ts +3 -0
  127. package/dist/icons/generated/Info14.d.ts +3 -0
  128. package/dist/icons/generated/Info16.d.ts +3 -0
  129. package/dist/icons/generated/Info24.d.ts +3 -0
  130. package/dist/icons/generated/Interest16.d.ts +3 -0
  131. package/dist/icons/generated/Life72.d.ts +3 -0
  132. package/dist/icons/generated/Link16.d.ts +3 -0
  133. package/dist/icons/generated/Loading24.d.ts +3 -0
  134. package/dist/icons/generated/LoadingDonuts30.d.ts +3 -0
  135. package/dist/icons/generated/LoadingDots30.d.ts +3 -0
  136. package/dist/icons/generated/Lock18.d.ts +3 -0
  137. package/dist/icons/generated/Marketing24.d.ts +3 -0
  138. package/dist/icons/generated/Megaphone14.d.ts +3 -0
  139. package/dist/icons/generated/MemoAttention20.d.ts +3 -0
  140. package/dist/icons/generated/MemoDefault20.d.ts +3 -0
  141. package/dist/icons/generated/Move10.d.ts +3 -0
  142. package/dist/icons/generated/New10.d.ts +3 -0
  143. package/dist/icons/generated/NotExposed16.d.ts +3 -0
  144. package/dist/icons/generated/Notice24.d.ts +3 -0
  145. package/dist/icons/generated/One18.d.ts +3 -0
  146. package/dist/icons/generated/Order24.d.ts +3 -0
  147. package/dist/icons/generated/OrderAmount18.d.ts +3 -0
  148. package/dist/icons/generated/Ordering16.d.ts +3 -0
  149. package/dist/icons/generated/Orders18.d.ts +3 -0
  150. package/dist/icons/generated/OutlinkOne14.d.ts +3 -0
  151. package/dist/icons/generated/OutlinkTwo14.d.ts +3 -0
  152. package/dist/icons/generated/PenaltyBad20.d.ts +3 -0
  153. package/dist/icons/generated/PenaltyGood20.d.ts +3 -0
  154. package/dist/icons/generated/PenaltyNotsobad20.d.ts +3 -0
  155. package/dist/icons/generated/Pin16.d.ts +3 -0
  156. package/dist/icons/generated/Pin24.d.ts +3 -0
  157. package/dist/icons/generated/Play20.d.ts +3 -0
  158. package/dist/icons/generated/Plus16.d.ts +3 -0
  159. package/dist/icons/generated/Plus20.d.ts +3 -0
  160. package/dist/icons/generated/Posty16.d.ts +3 -0
  161. package/dist/icons/generated/Powerup24.d.ts +3 -0
  162. package/dist/icons/generated/Product24.d.ts +3 -0
  163. package/dist/icons/generated/Promotion24.d.ts +3 -0
  164. package/dist/icons/generated/Question24.d.ts +3 -0
  165. package/dist/icons/generated/Ranking18.d.ts +3 -0
  166. package/dist/icons/generated/Refresh14.d.ts +3 -0
  167. package/dist/icons/generated/Refund24.d.ts +3 -0
  168. package/dist/icons/generated/Search14.d.ts +3 -0
  169. package/dist/icons/generated/SelectArrow16.d.ts +3 -0
  170. package/dist/icons/generated/Shop72.d.ts +3 -0
  171. package/dist/icons/generated/SluggishSales16.d.ts +3 -0
  172. package/dist/icons/generated/Spoid20.d.ts +3 -0
  173. package/dist/icons/generated/Star10.d.ts +3 -0
  174. package/dist/icons/generated/Status10.d.ts +3 -0
  175. package/dist/icons/generated/StatusNo16.d.ts +3 -0
  176. package/dist/icons/generated/StatusYes16.d.ts +3 -0
  177. package/dist/icons/generated/SteadySeller16.d.ts +3 -0
  178. package/dist/icons/generated/Store24.d.ts +3 -0
  179. package/dist/icons/generated/Store50.d.ts +3 -0
  180. package/dist/icons/generated/TableMove16.d.ts +3 -0
  181. package/dist/icons/generated/Thumbup14.d.ts +3 -0
  182. package/dist/icons/generated/Tip18.d.ts +3 -0
  183. package/dist/icons/generated/Trend18.d.ts +3 -0
  184. package/dist/icons/generated/TrendDecreasing18.d.ts +3 -0
  185. package/dist/icons/generated/TrendIncreasing18.d.ts +3 -0
  186. package/dist/icons/generated/Two18.d.ts +3 -0
  187. package/dist/icons/generated/Upload50.d.ts +3 -0
  188. package/dist/icons/generated/User18.d.ts +3 -0
  189. package/dist/icons/generated/Video16.d.ts +3 -0
  190. package/dist/icons/generated/Warning24.d.ts +3 -0
  191. package/dist/icons/generated/Won16.d.ts +3 -0
  192. package/dist/icons/generated/Zigzag16.d.ts +3 -0
  193. package/dist/icons/generated/ZigzagCan16.d.ts +3 -0
  194. package/dist/icons/generated/ZigzagEng16.d.ts +3 -0
  195. package/dist/icons/generated/ZigzagGlobal16.d.ts +3 -0
  196. package/dist/icons/generated/ZigzagJpn16.d.ts +3 -0
  197. package/dist/icons/generated/ZigzagKor16.d.ts +3 -0
  198. package/dist/icons/generated/ZigzagWeb16.d.ts +3 -0
  199. package/dist/icons/generated/Zoomin16.d.ts +3 -0
  200. package/dist/icons/generated/index.d.ts +163 -0
  201. package/dist/images/Images.stories.d.ts +13 -0
  202. package/dist/images/generated/KakaostyleBlk.d.ts +3 -0
  203. package/dist/images/generated/KakaostyleOri.d.ts +3 -0
  204. package/dist/images/generated/KakaostyleWh.d.ts +3 -0
  205. package/dist/images/generated/Npay.d.ts +3 -0
  206. package/dist/images/generated/PartnerCenterBlk.d.ts +3 -0
  207. package/dist/images/generated/PartnerCenterOri.d.ts +3 -0
  208. package/dist/images/generated/PartnerCenterWh.d.ts +3 -0
  209. package/dist/images/generated/PartnerLoungeBlk.d.ts +3 -0
  210. package/dist/images/generated/PartnerLoungeOri.d.ts +3 -0
  211. package/dist/images/generated/PartnerLoungeWh.d.ts +3 -0
  212. package/dist/images/generated/PostyOri.d.ts +3 -0
  213. package/dist/images/generated/PostyWh.d.ts +3 -0
  214. package/dist/images/generated/ZdeliveryOne.d.ts +3 -0
  215. package/dist/images/generated/ZdeliveryTwo.d.ts +3 -0
  216. package/dist/images/generated/ZexpressBasicGlobal.d.ts +3 -0
  217. package/dist/images/generated/ZexpressBasicKor.d.ts +3 -0
  218. package/dist/images/generated/ZexpressSimpleGlobal.d.ts +3 -0
  219. package/dist/images/generated/ZexpressSimpleKor.d.ts +3 -0
  220. package/dist/images/generated/ZexpressSymbolGlobal.d.ts +3 -0
  221. package/dist/images/generated/ZexpressSymbolKor.d.ts +3 -0
  222. package/dist/images/generated/ZexpressTextGlobal.d.ts +3 -0
  223. package/dist/images/generated/ZexpressTextKor.d.ts +3 -0
  224. package/dist/images/generated/ZigzagBiBasic.d.ts +3 -0
  225. package/dist/images/generated/ZigzagBiSymbol.d.ts +3 -0
  226. package/dist/images/generated/ZigzagSymbolCircle.d.ts +3 -0
  227. package/dist/images/generated/ZigzagSymbolRounded.d.ts +3 -0
  228. package/dist/images/generated/Zpay.d.ts +3 -0
  229. package/dist/images/generated/index.d.ts +30 -0
  230. package/dist/index.es.js +3 -3
  231. package/dist/index.es.js.map +1 -1
  232. package/dist/index.js +3 -3
  233. package/dist/index.js.map +1 -1
  234. package/dist/input/Input.d.ts +9 -0
  235. package/dist/input/Input.stories.d.ts +9 -0
  236. package/dist/input/InputAddon.d.ts +10 -0
  237. package/dist/input/NumericInput.d.ts +20 -0
  238. package/dist/input/NumericInput.stories.d.ts +21 -0
  239. package/dist/input/index.d.ts +2 -0
  240. package/dist/input/styles.d.ts +16 -0
  241. package/dist/locales/en.d.ts +1 -0
  242. package/dist/locales/ja.d.ts +1 -0
  243. package/dist/locales/ko.d.ts +1 -0
  244. package/dist/radio/Radio.d.ts +14 -0
  245. package/dist/radio/Radio.stories.d.ts +8 -0
  246. package/dist/radio/RadioGroup.d.ts +33 -0
  247. package/dist/radio/RadioGroup.stories.d.ts +12 -0
  248. package/dist/radio/index.d.ts +2 -0
  249. package/dist/radio/styles.d.ts +12 -0
  250. package/dist/report.html +4034 -0
  251. package/dist/stack/HStack.d.ts +10 -0
  252. package/dist/stack/HStack.stories.d.ts +10 -0
  253. package/dist/stack/VStack.d.ts +10 -0
  254. package/dist/stack/VStack.stories.d.ts +10 -0
  255. package/dist/stack/index.d.ts +2 -0
  256. package/dist/stack/types.d.ts +8 -0
  257. package/dist/switch/Switch.d.ts +21 -0
  258. package/dist/switch/Switch.stories.d.ts +5 -0
  259. package/dist/switch/index.d.ts +1 -0
  260. package/dist/switch/styles.d.ts +4 -0
  261. package/dist/text/BaseText.d.ts +18 -0
  262. package/dist/text/BaseText.stories.d.ts +7 -0
  263. package/dist/text/index.d.ts +1 -0
  264. package/dist/textarea/Textarea.d.ts +6 -0
  265. package/dist/textarea/Textarea.stories.d.ts +8 -0
  266. package/dist/textarea/index.d.ts +1 -0
  267. package/dist/tooltip/Tooltip.d.ts +28 -0
  268. package/dist/tooltip/Tooltip.stories.d.ts +8 -0
  269. package/dist/tooltip/TooltipBase.d.ts +11 -0
  270. package/dist/tooltip/index.d.ts +1 -0
  271. package/dist/tooltip/styles.d.ts +3 -0
  272. package/dist/tooltip/types.d.ts +2 -0
  273. package/dist/tooltip/useOpener.d.ts +14 -0
  274. package/locales/en.d.ts +67 -0
  275. package/locales/en.esm.d.ts +67 -0
  276. package/locales/en.esm.js +1 -0
  277. package/locales/en.esm.js.map +1 -1
  278. package/locales/en.js +1 -0
  279. package/locales/en.js.map +1 -1
  280. package/locales/ja.d.ts +67 -0
  281. package/locales/ja.esm.d.ts +67 -0
  282. package/locales/ja.esm.js +1 -0
  283. package/locales/ja.esm.js.map +1 -1
  284. package/locales/ja.js +1 -0
  285. package/locales/ja.js.map +1 -1
  286. package/locales/ko.d.ts +67 -0
  287. package/locales/ko.esm.d.ts +67 -0
  288. package/locales/ko.esm.js +1 -0
  289. package/locales/ko.esm.js.map +1 -1
  290. package/locales/ko.js +1 -0
  291. package/locales/ko.js.map +1 -1
  292. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import React, { InputHTMLAttributes } from 'react';
2
+ import { CSSValueWithLength } from '../styles/buildCSSWithLength';
3
+ export declare type InputAlignment = 'left' | 'center' | 'right';
4
+ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
5
+ alignment?: InputAlignment;
6
+ error?: boolean;
7
+ width?: CSSValueWithLength;
8
+ }
9
+ export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Input").InputProps & React.RefAttributes<HTMLInputElement>>>;
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;
9
+ export declare const RightAlignment: any;
@@ -0,0 +1,10 @@
1
+ import React, { AllHTMLAttributes } from 'react';
2
+ export interface InputProps extends AllHTMLAttributes<HTMLDivElement> {
3
+ disabled?: boolean;
4
+ error?: boolean;
5
+ /**
6
+ * @default left
7
+ */
8
+ position: 'left' | 'right';
9
+ }
10
+ export declare const InputAddon: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,20 @@
1
+ import React, { ChangeEvent, InputHTMLAttributes } from 'react';
2
+ import { CSSValueWithLength } from '../styles/buildCSSWithLength';
3
+ import { InputAlignment } from './Input';
4
+ export interface NumericInputBaseType {
5
+ value?: number | string | null;
6
+ defaultValue?: number | string;
7
+ alignment?: InputAlignment;
8
+ error?: boolean;
9
+ prefix?: string;
10
+ suffix?: string;
11
+ /**
12
+ * @default true
13
+ */
14
+ allowNegative?: boolean;
15
+ decimalScale?: number;
16
+ width?: CSSValueWithLength;
17
+ onChange?: (value: number, event: ChangeEvent<HTMLInputElement>) => void;
18
+ }
19
+ export declare type NumericInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'width'> & NumericInputBaseType;
20
+ export declare const NumericInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "width" | "onChange"> & NumericInputBaseType & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { NumericInputProps } from './NumericInput';
4
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "width" | "onChange"> & import("./NumericInput").NumericInputBaseType & React.RefAttributes<HTMLInputElement>>>;
5
+ export default _default;
6
+ export declare const Base: any;
7
+ export declare const Addon: any;
8
+ export declare const Error: any;
9
+ export declare const Disabled: any;
10
+ export declare const WhetherNegativeNumbersAreAllowed: any;
11
+ export declare const DecimalScale: any;
12
+ export declare const EnteredDisabled: any;
13
+ export declare const RightAlignment: any;
14
+ export declare const SetValueWithName: {
15
+ (args: NumericInputProps): JSX.Element;
16
+ args: {
17
+ prefix: string;
18
+ suffix: string;
19
+ placeholder: string;
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ export * from './Input';
2
+ export * from './NumericInput';
@@ -0,0 +1,16 @@
1
+ export declare const input_base_css: import("@emotion/utils").SerializedStyles;
2
+ export declare const input_default_style: {
3
+ backgroundColor: string;
4
+ border: string;
5
+ color: string;
6
+ };
7
+ export declare const input_error_style: {
8
+ border: string;
9
+ '&:focus': {
10
+ border: string;
11
+ };
12
+ };
13
+ export declare const input_disabled_style: {
14
+ backgroundColor: string;
15
+ color: string;
16
+ };
@@ -30,6 +30,7 @@ export declare const en: {
30
30
  DatePicker: {
31
31
  placeholder: string;
32
32
  footer: {
33
+ now: string;
33
34
  today: string;
34
35
  ok: string;
35
36
  clear: string;
@@ -30,6 +30,7 @@ export declare const ja: {
30
30
  DatePicker: {
31
31
  placeholder: string;
32
32
  footer: {
33
+ now: string;
33
34
  today: string;
34
35
  ok: string;
35
36
  clear: string;
@@ -30,6 +30,7 @@ export declare const ko: {
30
30
  DatePicker: {
31
31
  placeholder: string;
32
32
  footer: {
33
+ now: string;
33
34
  today: string;
34
35
  ok: string;
35
36
  clear: string;
@@ -0,0 +1,14 @@
1
+ import React, { InputHTMLAttributes } from 'react';
2
+ import { RadioItemType } from './RadioGroup';
3
+ export interface RadioProps extends Exclude<InputHTMLAttributes<HTMLInputElement>, 'type'> {
4
+ /**
5
+ * @default false
6
+ */
7
+ fill?: boolean;
8
+ className?: string;
9
+ /**
10
+ * @default default
11
+ */
12
+ radioItemType?: RadioItemType;
13
+ }
14
+ export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Radio").RadioProps & React.RefAttributes<HTMLInputElement>>>;
4
+ export default _default;
5
+ export declare const Base: any;
6
+ export declare const Checked: any;
7
+ export declare const Disabled: any;
8
+ export declare const CheckedDisabled: any;
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ export declare type AlignType = 'horizontal' | 'vertical';
3
+ export declare type RadioItemType = 'default' | 'box';
4
+ interface RadioItem<RadioValue> {
5
+ label: React.ReactNode;
6
+ value: RadioValue;
7
+ disabled?: boolean;
8
+ }
9
+ export interface RadioGroupProps<RadioValue> {
10
+ className?: string;
11
+ defaultValue?: RadioValue;
12
+ value?: RadioValue;
13
+ name?: string;
14
+ items: RadioItem<RadioValue>[];
15
+ /**
16
+ * @default 24
17
+ * radioItmType - 'box': spacing 속성 미적용
18
+ */
19
+ spacing?: number;
20
+ disabled?: boolean;
21
+ align?: AlignType;
22
+ radioItemType?: RadioItemType;
23
+ keyExtractor?: (item: RadioItem<RadioValue>, index: number) => string | number;
24
+ onChange?: (value: RadioValue) => void;
25
+ }
26
+ export interface RadioGroupInstance<RadioValue> {
27
+ value?: RadioValue;
28
+ focus: () => void;
29
+ }
30
+ export declare const RadioGroup: <RadioValue>(props: RadioGroupProps<RadioValue> & {
31
+ ref?: React.Ref<RadioGroupInstance<RadioValue>>;
32
+ }) => React.ReactElement;
33
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(<RadioValue>(props: import("./RadioGroup").RadioGroupProps<RadioValue> & {
4
+ ref?: React.Ref<import("./RadioGroup").RadioGroupInstance<RadioValue>>;
5
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>)>;
6
+ export default _default;
7
+ export declare const Base: any;
8
+ export declare const Spacing: any;
9
+ export declare const Disabled: any;
10
+ export declare const VerticalAlign: any;
11
+ export declare const Controlled: () => JSX.Element;
12
+ export declare const BoxRadio: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './Radio';
2
+ export * from './RadioGroup';
@@ -0,0 +1,12 @@
1
+ import { RadioItemType, AlignType } from './RadioGroup';
2
+ export declare const getRadioGroupStyleByProps: ({ radio_item_type, align, spacing, }: {
3
+ radio_item_type?: RadioItemType;
4
+ align?: AlignType;
5
+ spacing?: Number;
6
+ }) => import("@emotion/utils").SerializedStyles;
7
+ export declare const getRadioStyleByProps: ({ radio_item_type, fill, disabled, checked, }: {
8
+ radio_item_type?: RadioItemType;
9
+ fill?: boolean;
10
+ disabled?: boolean;
11
+ checked?: boolean;
12
+ }) => import("@emotion/utils").SerializedStyles;