@lunit/design-system 2.1.0 → 2.2.3

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 (354) hide show
  1. package/.babelrc.json +1 -1
  2. package/README.md +22 -21
  3. package/dist/cjs/components/Alert/index.js +1 -1
  4. package/dist/cjs/components/Alert/index.js.map +1 -1
  5. package/dist/cjs/components/Button/index.js +1 -1
  6. package/dist/cjs/components/Button/index.js.map +1 -1
  7. package/dist/cjs/components/Checkbox/index.js +1 -1
  8. package/dist/cjs/components/Checkbox/index.js.map +1 -1
  9. package/dist/cjs/components/Chip/index.js +1 -1
  10. package/dist/cjs/components/Chip/index.js.map +1 -1
  11. package/dist/cjs/components/DataTable/index.js.map +1 -1
  12. package/dist/cjs/components/DatePicker/index.js.map +1 -1
  13. package/dist/cjs/components/Dialog/index.js +1 -1
  14. package/dist/cjs/components/Dialog/index.js.map +1 -1
  15. package/dist/cjs/components/Dropdown/index.js +1 -1
  16. package/dist/cjs/components/Dropdown/index.js.map +1 -1
  17. package/dist/cjs/components/FormLabel/index.js +1 -1
  18. package/dist/cjs/components/FormLabel/index.js.map +1 -1
  19. package/dist/cjs/components/Radio/index.js +1 -1
  20. package/dist/cjs/components/Radio/index.js.map +1 -1
  21. package/dist/cjs/components/RadioGroup/index.js.map +1 -1
  22. package/dist/cjs/components/TextField/index.js +1 -1
  23. package/dist/cjs/components/TextField/index.js.map +1 -1
  24. package/dist/cjs/components/Toggle/index.js +1 -1
  25. package/dist/cjs/components/Toggle/index.js.map +1 -1
  26. package/dist/cjs/components/ToggleButton/index.js +1 -1
  27. package/dist/cjs/components/ToggleButton/index.js.map +1 -1
  28. package/dist/cjs/components/Tooltip/index.js.map +1 -1
  29. package/dist/cjs/components/Typography/index.js.map +1 -1
  30. package/dist/cjs/index.js +1 -1
  31. package/dist/cjs/index.js.map +1 -1
  32. package/dist/components/Alert/Alert.js +8 -8
  33. package/dist/components/Alert/Alert.js.map +1 -1
  34. package/dist/components/Alert/Alert.styled.js +26 -26
  35. package/dist/components/Alert/Alert.styled.js.map +1 -1
  36. package/dist/components/Alert/Alert.utils.js +9 -9
  37. package/dist/components/Alert/Alert.utils.js.map +1 -1
  38. package/dist/components/Alert/index.js +1 -1
  39. package/dist/components/Button/Button.js +23 -17
  40. package/dist/components/Button/Button.js.map +1 -1
  41. package/dist/components/Button/Button.styled.js +88 -88
  42. package/dist/components/Button/Button.styled.js.map +1 -1
  43. package/dist/components/Button/index.js +1 -1
  44. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js +9 -9
  45. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js.map +1 -1
  46. package/dist/components/Button/utils/getHoverStyle.js +1 -1
  47. package/dist/components/Button/utils/getHoverStyle.js.map +1 -1
  48. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js +6 -12
  49. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js.map +1 -1
  50. package/dist/components/Checkbox/Checkbox.js +9 -9
  51. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  52. package/dist/components/Checkbox/index.js +1 -1
  53. package/dist/components/Chip/Chip.js +29 -26
  54. package/dist/components/Chip/Chip.js.map +1 -1
  55. package/dist/components/Chip/Chip.styled.js +52 -52
  56. package/dist/components/Chip/Chip.styled.js.map +1 -1
  57. package/dist/components/Chip/consts.js +5 -5
  58. package/dist/components/Chip/index.js +1 -1
  59. package/dist/components/DataTable/DataTable.js +1 -1
  60. package/dist/components/DataTable/index.js +1 -1
  61. package/dist/components/DatePicker/DatePicker.js +1 -1
  62. package/dist/components/DatePicker/index.js +1 -1
  63. package/dist/components/Dialog/Dialog.js +18 -18
  64. package/dist/components/Dialog/Dialog.js.map +1 -1
  65. package/dist/components/Dialog/Dialog.styled.js +90 -90
  66. package/dist/components/Dialog/Dialog.styled.js.map +1 -1
  67. package/dist/components/Dialog/components/DialogAction.js +6 -6
  68. package/dist/components/Dialog/index.js +1 -1
  69. package/dist/components/Dropdown/Dropdown.js +23 -21
  70. package/dist/components/Dropdown/Dropdown.js.map +1 -1
  71. package/dist/components/Dropdown/Dropdown.styled.js +85 -86
  72. package/dist/components/Dropdown/Dropdown.styled.js.map +1 -1
  73. package/dist/components/Dropdown/DropdownItem.js +14 -14
  74. package/dist/components/Dropdown/DropdownItem.js.map +1 -1
  75. package/dist/components/Dropdown/index.js +2 -2
  76. package/dist/components/Dropdown/index.js.map +1 -1
  77. package/dist/components/FormLabel/FormLabel.js +1 -1
  78. package/dist/components/FormLabel/FormLabel.styled.js +2 -2
  79. package/dist/components/FormLabel/FormLabel.styled.js.map +1 -1
  80. package/dist/components/FormLabel/index.js +1 -1
  81. package/dist/components/Radio/Radio.js +8 -8
  82. package/dist/components/Radio/Radio.js.map +1 -1
  83. package/dist/components/Radio/index.js +1 -1
  84. package/dist/components/RadioGroup/index.js +1 -1
  85. package/dist/components/TextField/TextField.js +8 -8
  86. package/dist/components/TextField/TextField.js.map +1 -1
  87. package/dist/components/TextField/TextField.style.js +112 -112
  88. package/dist/components/TextField/TextField.style.js.map +1 -1
  89. package/dist/components/TextField/TextFieldIcon.js +2 -2
  90. package/dist/components/TextField/TextFieldIcon.js.map +1 -1
  91. package/dist/components/TextField/index.js +1 -1
  92. package/dist/components/Toast/Toast.js +13 -13
  93. package/dist/components/Toast/Toast.js.map +1 -1
  94. package/dist/components/Toast/Toast.styled.js +26 -26
  95. package/dist/components/Toast/Toast.utils.js +3 -3
  96. package/dist/components/Toast/Toast.utils.js.map +1 -1
  97. package/dist/components/Toast/index.js +1 -1
  98. package/dist/components/Toggle/Toggle.js +3 -4
  99. package/dist/components/Toggle/Toggle.js.map +1 -1
  100. package/dist/components/Toggle/Toggle.styled.js +30 -30
  101. package/dist/components/Toggle/Toggle.styled.js.map +1 -1
  102. package/dist/components/Toggle/index.js +1 -1
  103. package/dist/components/ToggleButton/ToggleButton.js +6 -6
  104. package/dist/components/ToggleButton/ToggleButton.js.map +1 -1
  105. package/dist/components/ToggleButton/ToggleButton.styled.js +20 -20
  106. package/dist/components/ToggleButton/ToggleButton.styled.js.map +1 -1
  107. package/dist/components/ToggleButton/index.js +1 -1
  108. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
  109. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
  110. package/dist/components/ToggleButtonGroup/index.js +1 -1
  111. package/dist/components/Tooltip/Tooltip.js +1 -1
  112. package/dist/components/Tooltip/index.js +1 -1
  113. package/dist/components/Typography/Typography.js +1 -1
  114. package/dist/components/Typography/Typography.js.map +1 -1
  115. package/dist/components/Typography/index.js +1 -1
  116. package/dist/foundation/Elevation/index.js +27 -27
  117. package/dist/foundation/Elevation/utils.js +1 -1
  118. package/dist/foundation/Elevation/utils.js.map +1 -1
  119. package/dist/foundation/Typography/index.js +35 -35
  120. package/dist/foundation/Typography/index.js.map +1 -1
  121. package/dist/foundation/Typography/tokens.js +136 -136
  122. package/dist/foundation/Typography/tokens.js.map +1 -1
  123. package/dist/foundation/colors/base/blue.js +12 -12
  124. package/dist/foundation/colors/base/green.js +12 -12
  125. package/dist/foundation/colors/base/grey.js +28 -28
  126. package/dist/foundation/colors/base/index.js +11 -11
  127. package/dist/foundation/colors/base/lunitGreen.js +11 -11
  128. package/dist/foundation/colors/base/lunitTeal.js +12 -12
  129. package/dist/foundation/colors/base/magenta.js +12 -12
  130. package/dist/foundation/colors/base/opacity.js +4 -4
  131. package/dist/foundation/colors/base/orange.js +12 -12
  132. package/dist/foundation/colors/base/purple.js +12 -12
  133. package/dist/foundation/colors/base/red.js +12 -12
  134. package/dist/foundation/colors/base/yellow.js +12 -12
  135. package/dist/foundation/colors/index.js +119 -121
  136. package/dist/foundation/colors/index.js.map +1 -1
  137. package/dist/foundation/colors/token/component.js +184 -212
  138. package/dist/foundation/colors/token/component.js.map +1 -1
  139. package/dist/foundation/colors/token/core.js +112 -133
  140. package/dist/foundation/colors/token/core.js.map +1 -1
  141. package/dist/foundation/colors/token/index.js +2 -2
  142. package/dist/foundation/index.js +5 -5
  143. package/dist/index.js +20 -20
  144. package/dist/theme.js +6 -6
  145. package/dist/types/components/Alert/Alert.d.ts +2 -2
  146. package/dist/types/components/Alert/Alert.styled.d.ts +1 -2
  147. package/dist/types/components/Alert/Alert.types.d.ts +2 -2
  148. package/dist/types/components/Alert/Alert.utils.d.ts +1 -1
  149. package/dist/types/components/Alert/index.d.ts +1 -1
  150. package/dist/types/components/Button/Button.d.ts +1 -1
  151. package/dist/types/components/Button/Button.styled.d.ts +249 -265
  152. package/dist/types/components/Button/Button.types.d.ts +16 -16
  153. package/dist/types/components/Button/index.d.ts +1 -1
  154. package/dist/types/components/Button/utils/getButtonPaddingBySizeAndKind.d.ts +4 -4
  155. package/dist/types/components/Button/utils/getHoverStyle.d.ts +2 -1
  156. package/dist/types/components/Button/utils/getIconButtonPaddingBySizeAndKind.d.ts +4 -4
  157. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  158. package/dist/types/components/Checkbox/index.d.ts +1 -1
  159. package/dist/types/components/Chip/Chip.d.ts +1 -1
  160. package/dist/types/components/Chip/Chip.styled.d.ts +6 -79
  161. package/dist/types/components/Chip/Chip.types.d.ts +15 -14
  162. package/dist/types/components/Chip/index.d.ts +1 -1
  163. package/dist/types/components/DataTable/index.d.ts +1 -1
  164. package/dist/types/components/DatePicker/index.d.ts +1 -1
  165. package/dist/types/components/Dialog/Dialog.d.ts +11 -11
  166. package/dist/types/components/Dialog/Dialog.styled.d.ts +3 -4
  167. package/dist/types/components/Dialog/components/DialogAction.d.ts +2 -2
  168. package/dist/types/components/Dialog/index.d.ts +2 -2
  169. package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
  170. package/dist/types/components/Dropdown/Dropdown.styled.d.ts +4 -39
  171. package/dist/types/components/Dropdown/Dropdown.types.d.ts +5 -5
  172. package/dist/types/components/Dropdown/DropdownItem.d.ts +3 -3
  173. package/dist/types/components/Dropdown/index.d.ts +3 -3
  174. package/dist/types/components/FormLabel/FormLabel.d.ts +1 -1
  175. package/dist/types/components/FormLabel/index.d.ts +1 -1
  176. package/dist/types/components/Radio/Radio.d.ts +1 -1
  177. package/dist/types/components/Radio/index.d.ts +1 -1
  178. package/dist/types/components/RadioGroup/index.d.ts +1 -1
  179. package/dist/types/components/TextField/TextField.d.ts +2 -2
  180. package/dist/types/components/TextField/TextField.style.d.ts +3 -4
  181. package/dist/types/components/TextField/TextField.types.d.ts +6 -6
  182. package/dist/types/components/TextField/TextFieldIcon.d.ts +2 -2
  183. package/dist/types/components/TextField/index.d.ts +2 -2
  184. package/dist/types/components/Toast/Toast.d.ts +2 -2
  185. package/dist/types/components/Toast/Toast.types.d.ts +3 -3
  186. package/dist/types/components/Toast/Toast.utils.d.ts +1 -1
  187. package/dist/types/components/Toast/index.d.ts +2 -2
  188. package/dist/types/components/Toggle/Toggle.d.ts +1 -1
  189. package/dist/types/components/Toggle/Toggle.styled.d.ts +2 -2
  190. package/dist/types/components/Toggle/Toggle.types.d.ts +3 -3
  191. package/dist/types/components/Toggle/index.d.ts +1 -1
  192. package/dist/types/components/ToggleButton/ToggleButton.d.ts +1 -1
  193. package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +2 -34
  194. package/dist/types/components/ToggleButton/ToggleButton.types.d.ts +10 -10
  195. package/dist/types/components/ToggleButton/index.d.ts +1 -1
  196. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  197. package/dist/types/components/ToggleButtonGroup/index.d.ts +1 -1
  198. package/dist/types/components/Tooltip/index.d.ts +1 -1
  199. package/dist/types/components/Typography/Typography.d.ts +6 -6
  200. package/dist/types/components/Typography/index.d.ts +1 -1
  201. package/dist/types/components/index.d.ts +2 -2
  202. package/dist/types/foundation/Elevation/index.d.ts +22 -22
  203. package/dist/types/foundation/Typography/index.d.ts +78 -78
  204. package/dist/types/foundation/Typography/tokens.d.ts +69 -69
  205. package/dist/types/foundation/colors/base/index.d.ts +11 -11
  206. package/dist/types/foundation/colors/index.d.ts +13 -20
  207. package/dist/types/foundation/colors/token/component.d.ts +1 -1
  208. package/dist/types/foundation/colors/token/core.d.ts +1 -1
  209. package/dist/types/foundation/colors/token/index.d.ts +2 -2
  210. package/dist/types/foundation/colors/types.d.ts +0 -7
  211. package/dist/types/foundation/index.d.ts +4 -11
  212. package/dist/types/foundation/spacing.d.ts +1 -1
  213. package/dist/types/index.d.ts +20 -20
  214. package/dist/types/theme.d.ts +1 -1
  215. package/package.json +22 -26
  216. package/src/components/Alert/Alert.styled.ts +39 -49
  217. package/src/components/Alert/Alert.tsx +10 -16
  218. package/src/components/Alert/Alert.types.ts +2 -2
  219. package/src/components/Alert/Alert.utils.ts +13 -22
  220. package/src/components/Alert/index.ts +1 -1
  221. package/src/components/Button/Button.styled.ts +98 -101
  222. package/src/components/Button/Button.tsx +71 -69
  223. package/src/components/Button/Button.types.ts +19 -21
  224. package/src/components/Button/index.ts +1 -1
  225. package/src/components/Button/utils/getButtonPaddingBySizeAndKind.ts +13 -13
  226. package/src/components/Button/utils/getHoverStyle.ts +4 -2
  227. package/src/components/Button/utils/getIconButtonPaddingBySizeAndKind.ts +10 -19
  228. package/src/components/Checkbox/Checkbox.tsx +13 -25
  229. package/src/components/Checkbox/index.ts +1 -1
  230. package/src/components/Chip/Chip.styled.ts +69 -72
  231. package/src/components/Chip/Chip.tsx +33 -55
  232. package/src/components/Chip/Chip.types.ts +18 -24
  233. package/src/components/Chip/consts.ts +5 -5
  234. package/src/components/Chip/index.ts +1 -1
  235. package/src/components/DataTable/DataTable.tsx +2 -2
  236. package/src/components/DataTable/index.ts +1 -1
  237. package/src/components/DatePicker/DatePicker.tsx +2 -2
  238. package/src/components/DatePicker/index.ts +1 -1
  239. package/src/components/Dialog/Dialog.styled.ts +112 -114
  240. package/src/components/Dialog/Dialog.tsx +41 -46
  241. package/src/components/Dialog/components/DialogAction.tsx +8 -8
  242. package/src/components/Dialog/index.ts +3 -3
  243. package/src/components/Dropdown/Dropdown.styled.tsx +88 -89
  244. package/src/components/Dropdown/Dropdown.tsx +29 -30
  245. package/src/components/Dropdown/Dropdown.types.ts +6 -5
  246. package/src/components/Dropdown/DropdownItem.tsx +18 -29
  247. package/src/components/Dropdown/index.ts +3 -7
  248. package/src/components/FormLabel/FormLabel.styled.ts +3 -3
  249. package/src/components/FormLabel/FormLabel.tsx +3 -3
  250. package/src/components/FormLabel/index.ts +1 -1
  251. package/src/components/Radio/Radio.tsx +12 -29
  252. package/src/components/Radio/index.ts +1 -1
  253. package/src/components/RadioGroup/index.ts +1 -1
  254. package/src/components/TextField/TextField.style.ts +123 -132
  255. package/src/components/TextField/TextField.tsx +50 -62
  256. package/src/components/TextField/TextField.types.ts +7 -8
  257. package/src/components/TextField/TextFieldIcon.tsx +4 -7
  258. package/src/components/TextField/index.ts +2 -2
  259. package/src/components/Toast/Toast.styled.ts +26 -26
  260. package/src/components/Toast/Toast.tsx +14 -28
  261. package/src/components/Toast/Toast.types.ts +3 -8
  262. package/src/components/Toast/Toast.utils.ts +5 -8
  263. package/src/components/Toast/index.tsx +2 -2
  264. package/src/components/Toggle/Toggle.styled.ts +31 -32
  265. package/src/components/Toggle/Toggle.tsx +5 -11
  266. package/src/components/Toggle/Toggle.types.ts +3 -3
  267. package/src/components/Toggle/index.ts +1 -1
  268. package/src/components/ToggleButton/ToggleButton.styled.ts +47 -49
  269. package/src/components/ToggleButton/ToggleButton.tsx +91 -97
  270. package/src/components/ToggleButton/ToggleButton.types.ts +10 -10
  271. package/src/components/ToggleButton/index.ts +1 -1
  272. package/src/components/ToggleButtonGroup/ToggleButtonGroup.tsx +3 -8
  273. package/src/components/ToggleButtonGroup/index.tsx +1 -1
  274. package/src/components/Tooltip/Tooltip.tsx +2 -2
  275. package/src/components/Tooltip/index.ts +1 -1
  276. package/src/components/Typography/Typography.tsx +7 -10
  277. package/src/components/Typography/index.ts +1 -1
  278. package/src/components/index.ts +2 -2
  279. package/src/foundation/Elevation/index.ts +27 -27
  280. package/src/foundation/Elevation/utils.ts +14 -8
  281. package/src/foundation/Typography/index.ts +58 -57
  282. package/src/foundation/Typography/tokens.ts +138 -138
  283. package/src/foundation/colors/base/blue.ts +12 -12
  284. package/src/foundation/colors/base/green.ts +12 -12
  285. package/src/foundation/colors/base/grey.ts +28 -28
  286. package/src/foundation/colors/base/index.ts +11 -11
  287. package/src/foundation/colors/base/lunitGreen.ts +11 -11
  288. package/src/foundation/colors/base/lunitTeal.ts +12 -12
  289. package/src/foundation/colors/base/magenta.ts +12 -12
  290. package/src/foundation/colors/base/opacity.ts +4 -4
  291. package/src/foundation/colors/base/orange.ts +12 -12
  292. package/src/foundation/colors/base/purple.ts +12 -12
  293. package/src/foundation/colors/base/red.ts +12 -12
  294. package/src/foundation/colors/base/yellow.ts +12 -12
  295. package/src/foundation/colors/index.ts +119 -120
  296. package/src/foundation/colors/token/component.ts +185 -213
  297. package/src/foundation/colors/token/core.ts +113 -134
  298. package/src/foundation/colors/token/index.ts +2 -2
  299. package/src/foundation/colors/types.ts +0 -7
  300. package/src/foundation/index.ts +8 -8
  301. package/src/foundation/spacing.ts +1 -1
  302. package/src/index.ts +20 -20
  303. package/src/stories/GettingStarted.mdx +9 -15
  304. package/src/stories/components/Alert/Alert.stories.tsx +39 -46
  305. package/src/stories/components/Button/BasicButton.stories.tsx +68 -59
  306. package/src/stories/components/Button/ButtonDocs.mdx +17 -41
  307. package/src/stories/components/Button/Color.stories.tsx +28 -51
  308. package/src/stories/components/Button/IconButton.stories.tsx +40 -47
  309. package/src/stories/components/Button/Kind.stories.tsx +100 -213
  310. package/src/stories/components/CheckBox/BasicCheckbox.stories.tsx +52 -71
  311. package/src/stories/components/CheckBox/CheckboxDocs.mdx +6 -6
  312. package/src/stories/components/Chip/Chip.stories.tsx +75 -75
  313. package/src/stories/components/Chip/ChipDocs.mdx +12 -13
  314. package/src/stories/components/DataTable/DataTable.stories.tsx +4 -4
  315. package/src/stories/components/DatePicker/DatePicker.stories.tsx +4 -4
  316. package/src/stories/components/Dialog/Dialog.stories.tsx +103 -124
  317. package/src/stories/components/Dialog/DialogDocs.mdx +7 -13
  318. package/src/stories/components/Dropdown/Dropdown.stories.tsx +96 -82
  319. package/src/stories/components/Dropdown/DropdownDocs.mdx +275 -0
  320. package/src/stories/components/Dropdown/DropdownExamples.stories.tsx +40 -47
  321. package/src/stories/components/Dropdown/DropdownItem.stories.tsx +113 -98
  322. package/src/stories/components/SelectControl/RadioGroup.stories.tsx +17 -30
  323. package/src/stories/components/SelectControl/RadioStatus.stories.tsx +16 -23
  324. package/src/stories/components/SelectControl/Toggle.stories.tsx +33 -78
  325. package/src/stories/components/TextField/BasicTextField.stories.tsx +44 -60
  326. package/src/stories/components/TextField/TextFieldDocs.mdx +8 -12
  327. package/src/stories/components/TextField/TextFieldMulti.stories.tsx +39 -58
  328. package/src/stories/components/TextField/TextFieldSingle.stories.tsx +74 -121
  329. package/src/stories/components/TextField/TextFieldSize.stories.tsx +35 -56
  330. package/src/stories/components/Toast/Toast.stories.tsx +39 -49
  331. package/src/stories/components/ToggleButton/Basic.stories.tsx +237 -235
  332. package/src/stories/components/ToggleButton/ToggleButtonDocs.mdx +10 -14
  333. package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +144 -203
  334. package/src/stories/components/ToggleButton/WithIcon.stories.tsx +87 -107
  335. package/src/stories/components/Tooltip/Tooltip.stories.tsx +4 -4
  336. package/src/stories/foundation/Elevation/Elevation.stories.tsx +48 -73
  337. package/src/stories/foundation/Elevation/styled.ts +3 -3
  338. package/src/stories/foundation/Typography/Typography.mdx +9 -13
  339. package/src/stories/foundation/Typography/Typography.stories.tsx +25 -41
  340. package/src/stories/foundation/Typography/TypographyGroup.tsx +14 -25
  341. package/src/stories/foundation/Typography/const.ts +13 -19
  342. package/src/stories/foundation/colors/ColorSystem.tsx +42 -40
  343. package/src/stories/foundation/colors/Colors.stories.tsx +40 -41
  344. package/src/stories/foundation/colors/Docs.mdx +73 -77
  345. package/src/stories/foundation/colors/Mui.stories.tsx +6 -8
  346. package/src/stories/foundation/colors/Token.inComponent.stories.tsx +81 -71
  347. package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +7 -7
  348. package/src/stories/foundation/colors/TokenPaletteTable.tsx +23 -49
  349. package/src/stories/foundation/colors/styled.ts +26 -26
  350. package/src/theme.ts +6 -6
  351. package/src/types.d.ts +1 -1
  352. package/tsconfig.build.json +1 -5
  353. package/tsconfig.json +0 -1
  354. package/src/stories/components/ToggleButton/Group.stories.tsx +0 -221
@@ -1,87 +1,76 @@
1
- import React from "react";
2
- import {
3
- Box,
4
- Table,
5
- TableBody,
6
- TableCell,
7
- TableHead,
8
- TableRow,
9
- } from "@mui/material";
1
+ import React from 'react';
2
+ import { Box, Table, TableBody, TableCell, TableHead, TableRow } from '@mui/material';
10
3
 
11
- import TextField from "@/components/TextField/TextField";
4
+ import TextField from '@/components/TextField/TextField';
12
5
 
13
- import type { StoryFn, Meta } from "@storybook/react";
6
+ import type { StoryFn, Meta } from '@storybook/react-webpack5';
14
7
 
15
8
  export default {
16
- title: "Components/TextField",
9
+ title: 'Components/TextField',
17
10
  component: TextField,
18
11
  args: {
19
12
  disabled: false,
20
- size: "small",
21
- placeholder: "Please typing...",
22
- helperText: "Helper Text",
13
+ size: 'small',
14
+ placeholder: 'Please typing...',
15
+ helperText: 'Helper Text',
23
16
  multiline: true,
24
17
  },
25
18
  argTypes: {
26
19
  disabled: {
27
- control: {
28
- type: "radio",
29
- },
20
+ control: { type: 'radio' },
30
21
  options: [true, false],
31
- description: "If true, the text field will be disabled.",
22
+ description: 'If true, the text field will be disabled.',
32
23
  table: {
33
- defaultValue: { summary: false },
34
- type: { summary: [true, false] },
24
+ defaultValue: { summary: 'false' },
25
+ type: { summary: 'boolean' },
35
26
  },
36
27
  },
37
28
  size: {
38
- control: {
39
- type: "radio",
40
- },
41
- description: "The size of the text field.",
29
+ control: { type: 'radio' },
30
+ options: ['small', 'medium', 'large'],
31
+ description: 'The size of the text field.',
42
32
  table: {
43
- defaultValue: { summary: "small" },
44
- type: { summary: ["small", "medium", "large"] },
33
+ defaultValue: { summary: 'small' },
34
+ type: { summary: 'string' },
45
35
  },
46
36
  },
47
37
  rows: {
48
- type: "number",
38
+ type: 'number',
49
39
  description: `The number of rows to display when multiline option is set to "true"
50
40
  \n the rows default value is undefined.`,
51
41
  table: {
52
- defaultValue: { summary: "undefined" },
53
- type: { summary: ["number", "string", "undefined"] },
42
+ defaultValue: { summary: 'undefined' },
43
+ type: { summary: 'number' },
54
44
  },
55
45
  },
56
46
  placeholder: {
57
- type: "string",
58
- description: "The placeholder content.",
47
+ type: 'string',
48
+ description: 'The placeholder content.',
59
49
  table: {
60
- defaultValue: { summary: "undefined" },
61
- type: { summary: "string" },
50
+ defaultValue: { summary: 'undefined' },
51
+ type: { summary: 'string' },
62
52
  },
63
53
  },
64
54
  helperText: {
65
- type: "string",
66
- description:
67
- 'The helper text content, use "error" or "sub text" to display helper text.',
55
+ type: 'string',
56
+ description: 'The helper text content, use "error" or "sub text" to display helper text.',
68
57
  table: {
69
- defaultValue: { summary: "undefined" },
70
- type: { summary: "string" },
58
+ defaultValue: { summary: 'undefined' },
59
+ type: { summary: 'string' },
71
60
  },
72
61
  },
73
62
  multiline: {
74
- type: "boolean",
75
- description: "If true, a textarea element(multi line) will be rendered.",
63
+ type: 'boolean',
64
+ description: 'If true, a textarea element(multi line) will be rendered.',
76
65
  table: {
77
- defaultValue: { summary: "false" },
78
- type: { summary: "boolean" },
66
+ defaultValue: { summary: 'false' },
67
+ type: { summary: 'boolean' },
79
68
  },
80
69
  },
81
70
  },
82
71
  parameters: {
83
72
  controls: {
84
- include: ["size", "rows", "disabled", "helperText", "placeholder"],
73
+ include: ['size', 'rows', 'disabled', 'helperText', 'placeholder'],
85
74
  },
86
75
  docs: {
87
76
  description: {
@@ -98,21 +87,13 @@ const MultiTemplate: StoryFn<typeof TextField> = (args) => (
98
87
  <Table>
99
88
  <TableHead>
100
89
  <TableRow>
101
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
102
- Default
103
- </TableCell>
104
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
105
- Error
106
- </TableCell>
107
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
108
- Focused
109
- </TableCell>
110
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
90
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Default</TableCell>
91
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Error</TableCell>
92
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Focused</TableCell>
93
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>
111
94
  Error Focused
112
95
  </TableCell>
113
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
114
- Disabled
115
- </TableCell>
96
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Disabled</TableCell>
116
97
  </TableRow>
117
98
  </TableHead>
118
99
  <TableBody>
@@ -139,5 +120,5 @@ const MultiTemplate: StoryFn<typeof TextField> = (args) => (
139
120
 
140
121
  export const TextFieldWithMulti = {
141
122
  render: MultiTemplate,
142
- name: "Multi Line",
123
+ name: 'Multi Line',
143
124
  };
@@ -1,78 +1,67 @@
1
- import React from "react";
2
- import {
3
- Box,
4
- Table,
5
- TableBody,
6
- TableCell,
7
- TableHead,
8
- TableRow,
9
- } from "@mui/material";
10
- import { action } from "@storybook/addon-actions";
11
- import { Bell } from "@lunit/design-system-icons";
1
+ import React from 'react';
2
+ import { Box, Table, TableBody, TableCell, TableHead, TableRow } from '@mui/material';
3
+ import { action } from 'storybook/actions';
4
+ import { Bell } from '@lunit/design-system-icons';
12
5
 
13
- import TextField from "@/components/TextField/TextField";
6
+ import TextField from '@/components/TextField/TextField';
14
7
 
15
- import type { StoryFn, Meta } from "@storybook/react";
8
+ import type { StoryFn, Meta } from '@storybook/react-webpack5';
16
9
 
17
10
  export default {
18
- title: "Components/TextField",
11
+ title: 'Components/TextField',
19
12
  component: TextField,
20
13
  args: {
21
14
  disabled: false,
22
- size: "small",
23
- placeholder: "Please typing...",
24
- helperText: "Helper Text",
15
+ size: 'small',
16
+ placeholder: 'Please typing...',
17
+ helperText: 'Helper Text',
25
18
  multiline: false,
26
19
  },
27
20
  argTypes: {
28
21
  disabled: {
29
- control: {
30
- type: "radio",
31
- },
22
+ control: { type: 'radio' },
32
23
  options: [true, false],
33
- description: "If true, the text field will be disabled.",
24
+ description: 'If true, the text field will be disabled.',
34
25
  table: {
35
- defaultValue: { summary: false },
36
- type: { summary: [true, false] },
26
+ defaultValue: { summary: 'false' },
27
+ type: { summary: 'boolean' },
37
28
  },
38
29
  },
39
30
  size: {
40
- control: {
41
- type: "radio",
42
- },
43
- description: "The size of the text field.",
31
+ control: { type: 'radio' },
32
+ options: ['small', 'medium', 'large'],
33
+ description: 'The size of the text field.',
44
34
  table: {
45
- defaultValue: { summary: "small" },
46
- type: { summary: ["small", "medium", "large"] },
35
+ defaultValue: { summary: 'small' },
36
+ type: { summary: 'string' },
47
37
  },
48
38
  },
49
39
  placeholder: {
50
- type: "string",
51
- description: "The placeholder content.",
40
+ type: 'string',
41
+ description: 'The placeholder content.',
52
42
  table: {
53
- defaultValue: { summary: "undefined" },
54
- type: { summary: "string" },
43
+ defaultValue: { summary: 'undefined' },
44
+ type: { summary: 'string' },
55
45
  },
56
46
  },
57
47
  helperText: {
58
- type: "string",
59
- description:
60
- 'The helper text content, use "error " or "sub text " to display helper text.',
48
+ type: 'string',
49
+ description: 'The helper text content, use "error " or "sub text " to display helper text.',
61
50
  table: {
62
- defaultValue: { summary: "undefined" },
63
- type: { summary: "string" },
51
+ defaultValue: { summary: 'undefined' },
52
+ type: { summary: 'string' },
64
53
  },
65
54
  },
66
55
  },
67
56
  parameters: {
68
57
  controls: {
69
58
  include: [
70
- "size",
71
- "disabled",
72
- "helperText",
73
- "placeholder",
74
- "onLeftIconClick",
75
- "onRightIconClick",
59
+ 'size',
60
+ 'disabled',
61
+ 'helperText',
62
+ 'placeholder',
63
+ 'onLeftIconClick',
64
+ 'onRightIconClick',
76
65
  ],
77
66
  },
78
67
  docs: {
@@ -90,21 +79,13 @@ const SingleTemplate: StoryFn<typeof TextField> = (args) => (
90
79
  <Table>
91
80
  <TableHead>
92
81
  <TableRow>
93
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
94
- Default
95
- </TableCell>
96
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
97
- Error
98
- </TableCell>
99
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
100
- Focused
101
- </TableCell>
102
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
82
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Default</TableCell>
83
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Error</TableCell>
84
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Focused</TableCell>
85
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>
103
86
  Error Focused
104
87
  </TableCell>
105
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
106
- Disabled
107
- </TableCell>
88
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Disabled</TableCell>
108
89
  </TableRow>
109
90
  </TableHead>
110
91
  <TableBody>
@@ -133,29 +114,19 @@ const SingleWithIconTemplate: StoryFn<typeof TextField> = (args) => (
133
114
  <Table>
134
115
  <TableHead>
135
116
  <TableRow>
136
- <TableCell></TableCell>
137
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
138
- Default
139
- </TableCell>
140
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
141
- Error
142
- </TableCell>
143
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
144
- focused
145
- </TableCell>
146
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
117
+ <TableCell />
118
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Default</TableCell>
119
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Error</TableCell>
120
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>focused</TableCell>
121
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>
147
122
  Error focused
148
123
  </TableCell>
149
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
150
- Disabled
151
- </TableCell>
124
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Disabled</TableCell>
152
125
  </TableRow>
153
126
  </TableHead>
154
127
  <TableBody>
155
128
  <TableRow>
156
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
157
- Left Icon
158
- </TableCell>
129
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Left Icon</TableCell>
159
130
  <TableCell>
160
131
  <TextField {...args} leftIcon={<Bell />} />
161
132
  </TableCell>
@@ -173,9 +144,7 @@ const SingleWithIconTemplate: StoryFn<typeof TextField> = (args) => (
173
144
  </TableCell>
174
145
  </TableRow>
175
146
  <TableRow>
176
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
177
- Right Icon
178
- </TableCell>
147
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Right Icon</TableCell>
179
148
  <TableCell>
180
149
  <TextField {...args} rightIcon={<Bell />} />
181
150
  </TableCell>
@@ -193,7 +162,7 @@ const SingleWithIconTemplate: StoryFn<typeof TextField> = (args) => (
193
162
  </TableCell>
194
163
  </TableRow>
195
164
  <TableRow>
196
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
165
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>
197
166
  Left Right Both Icon
198
167
  </TableCell>
199
168
  <TableCell>
@@ -203,29 +172,13 @@ const SingleWithIconTemplate: StoryFn<typeof TextField> = (args) => (
203
172
  <TextField {...args} error leftIcon={<Bell />} rightIcon={<Bell />} />
204
173
  </TableCell>
205
174
  <TableCell>
206
- <TextField
207
- {...args}
208
- focused
209
- leftIcon={<Bell />}
210
- rightIcon={<Bell />}
211
- />
175
+ <TextField {...args} focused leftIcon={<Bell />} rightIcon={<Bell />} />
212
176
  </TableCell>
213
177
  <TableCell>
214
- <TextField
215
- {...args}
216
- error
217
- focused
218
- leftIcon={<Bell />}
219
- rightIcon={<Bell />}
220
- />
178
+ <TextField {...args} error focused leftIcon={<Bell />} rightIcon={<Bell />} />
221
179
  </TableCell>
222
180
  <TableCell>
223
- <TextField
224
- {...args}
225
- disabled
226
- leftIcon={<Bell />}
227
- rightIcon={<Bell />}
228
- />
181
+ <TextField {...args} disabled leftIcon={<Bell />} rightIcon={<Bell />} />
229
182
  </TableCell>
230
183
  </TableRow>
231
184
  </TableBody>
@@ -238,33 +191,33 @@ export const TextFieldWithSingle = {
238
191
  argTypes: {
239
192
  onLeftIconClick: {
240
193
  control: false,
241
- options: ["function", undefined],
194
+ options: ['function', undefined],
242
195
  mapping: {
243
- function: action("onLeftIconClick"),
196
+ function: action('onLeftIconClick'),
244
197
  undefined: undefined,
245
198
  },
246
- description: "The left icon click event call back function.",
199
+ description: 'The left icon click event call back function.',
247
200
  table: {
248
- defaultValue: { summary: "undefined" },
249
- type: { summary: "function" },
201
+ defaultValue: { summary: 'undefined' },
202
+ type: { summary: 'function' },
250
203
  },
251
204
  },
252
205
  onRightIconClick: {
253
206
  control: false,
254
- options: ["function", undefined],
207
+ options: ['function', undefined],
255
208
  mapping: {
256
- function: action("onRightIconClick"),
209
+ function: action('onRightIconClick'),
257
210
  undefined: undefined,
258
211
  },
259
- description: "The right icon click event call back function.",
212
+ description: 'The right icon click event call back function.',
260
213
  table: {
261
- defaultValue: { summary: "undefined" },
262
- type: { summary: "function" },
214
+ defaultValue: { summary: 'undefined' },
215
+ type: { summary: 'function' },
263
216
  },
264
217
  },
265
218
  },
266
219
 
267
- name: "Single Line",
220
+ name: 'Single Line',
268
221
  };
269
222
 
270
223
  export const TextFieldWithIcon = {
@@ -273,35 +226,35 @@ export const TextFieldWithIcon = {
273
226
  argTypes: {
274
227
  onLeftIconClick: {
275
228
  control: {
276
- type: "select",
229
+ type: 'select',
277
230
  },
278
- options: ["function", undefined],
231
+ options: ['function', undefined],
279
232
  mapping: {
280
- function: action("onLeftIconClick"),
233
+ function: action('onLeftIconClick'),
281
234
  undefined: undefined,
282
235
  },
283
- description: "The left icon click event call back function.",
236
+ description: 'The left icon click event call back function.',
284
237
  table: {
285
- defaultValue: { summary: "undefined" },
286
- type: { summary: "function" },
238
+ defaultValue: { summary: 'undefined' },
239
+ type: { summary: 'function' },
287
240
  },
288
241
  },
289
242
  onRightIconClick: {
290
243
  control: {
291
- type: "select",
244
+ type: 'select',
292
245
  },
293
- options: ["function", undefined],
246
+ options: ['function', undefined],
294
247
  mapping: {
295
- function: action("onRightIconClick"),
248
+ function: action('onRightIconClick'),
296
249
  undefined: undefined,
297
250
  },
298
- description: "The right icon click event call back function.",
251
+ description: 'The right icon click event call back function.',
299
252
  table: {
300
- defaultValue: { summary: "undefined" },
301
- type: { summary: "function" },
253
+ defaultValue: { summary: 'undefined' },
254
+ type: { summary: 'function' },
302
255
  },
303
256
  },
304
257
  },
305
258
 
306
- name: "With Icon(single-line only)",
259
+ name: 'With Icon(single-line only)',
307
260
  };
@@ -1,67 +1,58 @@
1
- import React from "react";
2
- import {
3
- Box,
4
- Table,
5
- TableCell,
6
- TableBody,
7
- TableHead,
8
- TableRow,
9
- } from "@mui/material";
1
+ import React from 'react';
2
+ import { Box, Table, TableCell, TableBody, TableHead, TableRow } from '@mui/material';
10
3
 
11
- import TextField from "@/components/TextField/TextField";
4
+ import TextField from '@/components/TextField/TextField';
12
5
 
13
- import type { StoryFn, Meta } from "@storybook/react";
6
+ import type { StoryFn, Meta } from '@storybook/react-webpack5';
14
7
 
15
8
  export default {
16
- title: "Components/TextField",
9
+ title: 'Components/TextField',
17
10
  component: TextField,
18
11
  args: {
19
12
  disabled: false,
20
- size: "small",
21
- placeholder: "Please typing...",
22
- helperText: "Helper Text",
13
+ size: 'small',
14
+ placeholder: 'Please typing...',
15
+ helperText: 'Helper Text',
23
16
  },
24
17
  argTypes: {
25
18
  disabled: {
26
- control: {
27
- type: "radio",
28
- },
19
+ control: { type: 'radio' },
29
20
  options: [true, false],
30
- description: "If true, the text field will be disabled.",
21
+ description: 'If true, the text field will be disabled.',
31
22
  table: {
32
- defaultValue: { summary: false },
33
- type: { summary: [true, false] },
23
+ defaultValue: { summary: 'false' },
24
+ type: { summary: 'boolean' },
34
25
  },
35
26
  },
36
27
  size: {
37
- control: false,
38
- description: "The size of the text field.",
28
+ control: { type: 'radio' },
29
+ options: ['small', 'medium', 'large'],
30
+ description: 'The size of the text field.',
39
31
  table: {
40
- defaultValue: { summary: "small" },
41
- type: { summary: ["small", "medium", "large"] },
32
+ defaultValue: { summary: 'small' },
33
+ type: { summary: 'string' },
42
34
  },
43
35
  },
44
36
  placeholder: {
45
- type: "string",
46
- description: "The placeholder content.",
37
+ type: 'string',
38
+ description: 'The placeholder content.',
47
39
  table: {
48
- defaultValue: { summary: "undefined" },
49
- type: { summary: "string" },
40
+ defaultValue: { summary: 'undefined' },
41
+ type: { summary: 'string' },
50
42
  },
51
43
  },
52
44
  helperText: {
53
- type: "string",
54
- description:
55
- 'The helper text content, use "error " or "sub text " to display helper text.',
45
+ type: 'string',
46
+ description: 'The helper text content, use "error " or "sub text " to display helper text.',
56
47
  table: {
57
- defaultValue: { summary: "undefined" },
58
- type: { summary: "string" },
48
+ defaultValue: { summary: 'undefined' },
49
+ type: { summary: 'string' },
59
50
  },
60
51
  },
61
52
  },
62
53
  parameters: {
63
54
  controls: {
64
- include: ["size", "disabled", "helperText", "placeholder"],
55
+ include: ['size', 'disabled', 'helperText', 'placeholder'],
65
56
  },
66
57
  docs: {
67
58
  description: {
@@ -77,24 +68,15 @@ const TextFieldSizeWithTableTemplate: StoryFn<typeof TextField> = (args) => (
77
68
  <Table>
78
69
  <TableHead>
79
70
  <TableRow>
80
- <TableCell></TableCell>
81
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
82
- Small
83
- </TableCell>
84
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
85
- Medium
86
- </TableCell>
87
- <TableCell sx={{ typography: "body2_14_medium", color: "inherit" }}>
88
- Large
89
- </TableCell>
71
+ <TableCell />
72
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Small</TableCell>
73
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Medium</TableCell>
74
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }}>Large</TableCell>
90
75
  </TableRow>
91
76
  </TableHead>
92
77
  <TableBody>
93
78
  <TableRow>
94
- <TableCell
95
- sx={{ typography: "body2_14_medium", color: "inherit" }}
96
- width={100}
97
- >
79
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }} width={100}>
98
80
  Single line
99
81
  </TableCell>
100
82
  <TableCell>
@@ -108,10 +90,7 @@ const TextFieldSizeWithTableTemplate: StoryFn<typeof TextField> = (args) => (
108
90
  </TableCell>
109
91
  </TableRow>
110
92
  <TableRow>
111
- <TableCell
112
- sx={{ typography: "body2_14_medium", color: "inherit" }}
113
- width={50}
114
- >
93
+ <TableCell sx={{ typography: 'body2_14_medium', color: 'inherit' }} width={50}>
115
94
  Multi line
116
95
  </TableCell>
117
96
  <TableCell>
@@ -130,11 +109,11 @@ const TextFieldSizeWithTableTemplate: StoryFn<typeof TextField> = (args) => (
130
109
 
131
110
  export const TextFieldSize = {
132
111
  render: TextFieldSizeWithTableTemplate,
133
- name: "Size",
112
+ name: 'Size',
134
113
  };
135
114
 
136
115
  const TextFieldSizeTemplate: StoryFn<typeof TextField> = (args) => (
137
- <Box sx={{ display: "flex", flexDirection: "column", gap: 4 }}>
116
+ <Box sx={{ display: 'flex', flexDirection: 'column', gap: 4 }}>
138
117
  <Box>
139
118
  <TextField sx={{ mr: 4 }} {...args} />
140
119
  <TextField sx={{ mr: 4 }} {...args} size="medium" />
@@ -150,7 +129,7 @@ const TextFieldSizeTemplate: StoryFn<typeof TextField> = (args) => (
150
129
 
151
130
  export const TextFieldOnlySize = {
152
131
  render: TextFieldSizeTemplate,
153
- name: "Size Only",
132
+ name: 'Size Only',
154
133
  parameters: {
155
134
  chromatic: { disableSnapshot: true },
156
135
  },