@lunit/design-system 2.2.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 (351) 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.map +1 -1
  18. package/dist/cjs/components/Radio/index.js +1 -1
  19. package/dist/cjs/components/Radio/index.js.map +1 -1
  20. package/dist/cjs/components/RadioGroup/index.js.map +1 -1
  21. package/dist/cjs/components/TextField/index.js +1 -1
  22. package/dist/cjs/components/TextField/index.js.map +1 -1
  23. package/dist/cjs/components/Toggle/index.js +1 -1
  24. package/dist/cjs/components/Toggle/index.js.map +1 -1
  25. package/dist/cjs/components/ToggleButton/index.js +1 -1
  26. package/dist/cjs/components/ToggleButton/index.js.map +1 -1
  27. package/dist/cjs/components/Tooltip/index.js.map +1 -1
  28. package/dist/cjs/components/Typography/index.js.map +1 -1
  29. package/dist/cjs/index.js +1 -1
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/components/Alert/Alert.js +8 -8
  32. package/dist/components/Alert/Alert.js.map +1 -1
  33. package/dist/components/Alert/Alert.styled.js +26 -26
  34. package/dist/components/Alert/Alert.styled.js.map +1 -1
  35. package/dist/components/Alert/Alert.utils.js +9 -9
  36. package/dist/components/Alert/Alert.utils.js.map +1 -1
  37. package/dist/components/Alert/index.js +1 -1
  38. package/dist/components/Button/Button.js +23 -17
  39. package/dist/components/Button/Button.js.map +1 -1
  40. package/dist/components/Button/Button.styled.js +88 -88
  41. package/dist/components/Button/Button.styled.js.map +1 -1
  42. package/dist/components/Button/index.js +1 -1
  43. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js +9 -9
  44. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js.map +1 -1
  45. package/dist/components/Button/utils/getHoverStyle.js +1 -1
  46. package/dist/components/Button/utils/getHoverStyle.js.map +1 -1
  47. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js +6 -12
  48. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js.map +1 -1
  49. package/dist/components/Checkbox/Checkbox.js +9 -9
  50. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  51. package/dist/components/Checkbox/index.js +1 -1
  52. package/dist/components/Chip/Chip.js +29 -26
  53. package/dist/components/Chip/Chip.js.map +1 -1
  54. package/dist/components/Chip/Chip.styled.js +52 -52
  55. package/dist/components/Chip/Chip.styled.js.map +1 -1
  56. package/dist/components/Chip/consts.js +5 -5
  57. package/dist/components/Chip/index.js +1 -1
  58. package/dist/components/DataTable/DataTable.js +1 -1
  59. package/dist/components/DataTable/index.js +1 -1
  60. package/dist/components/DatePicker/DatePicker.js +1 -1
  61. package/dist/components/DatePicker/index.js +1 -1
  62. package/dist/components/Dialog/Dialog.js +18 -18
  63. package/dist/components/Dialog/Dialog.js.map +1 -1
  64. package/dist/components/Dialog/Dialog.styled.js +90 -90
  65. package/dist/components/Dialog/Dialog.styled.js.map +1 -1
  66. package/dist/components/Dialog/components/DialogAction.js +6 -6
  67. package/dist/components/Dialog/index.js +1 -1
  68. package/dist/components/Dropdown/Dropdown.js +23 -21
  69. package/dist/components/Dropdown/Dropdown.js.map +1 -1
  70. package/dist/components/Dropdown/Dropdown.styled.js +85 -86
  71. package/dist/components/Dropdown/Dropdown.styled.js.map +1 -1
  72. package/dist/components/Dropdown/DropdownItem.js +14 -14
  73. package/dist/components/Dropdown/DropdownItem.js.map +1 -1
  74. package/dist/components/Dropdown/index.js +2 -2
  75. package/dist/components/Dropdown/index.js.map +1 -1
  76. package/dist/components/FormLabel/FormLabel.js +1 -1
  77. package/dist/components/FormLabel/FormLabel.styled.js +2 -2
  78. package/dist/components/FormLabel/FormLabel.styled.js.map +1 -1
  79. package/dist/components/FormLabel/index.js +1 -1
  80. package/dist/components/Radio/Radio.js +8 -8
  81. package/dist/components/Radio/Radio.js.map +1 -1
  82. package/dist/components/Radio/index.js +1 -1
  83. package/dist/components/RadioGroup/index.js +1 -1
  84. package/dist/components/TextField/TextField.js +8 -8
  85. package/dist/components/TextField/TextField.js.map +1 -1
  86. package/dist/components/TextField/TextField.style.js +112 -112
  87. package/dist/components/TextField/TextField.style.js.map +1 -1
  88. package/dist/components/TextField/TextFieldIcon.js +2 -2
  89. package/dist/components/TextField/TextFieldIcon.js.map +1 -1
  90. package/dist/components/TextField/index.js +1 -1
  91. package/dist/components/Toast/Toast.js +13 -13
  92. package/dist/components/Toast/Toast.js.map +1 -1
  93. package/dist/components/Toast/Toast.styled.js +26 -26
  94. package/dist/components/Toast/Toast.utils.js +3 -3
  95. package/dist/components/Toast/Toast.utils.js.map +1 -1
  96. package/dist/components/Toast/index.js +1 -1
  97. package/dist/components/Toggle/Toggle.js +3 -4
  98. package/dist/components/Toggle/Toggle.js.map +1 -1
  99. package/dist/components/Toggle/Toggle.styled.js +30 -30
  100. package/dist/components/Toggle/Toggle.styled.js.map +1 -1
  101. package/dist/components/Toggle/index.js +1 -1
  102. package/dist/components/ToggleButton/ToggleButton.js +6 -6
  103. package/dist/components/ToggleButton/ToggleButton.js.map +1 -1
  104. package/dist/components/ToggleButton/ToggleButton.styled.js +20 -20
  105. package/dist/components/ToggleButton/ToggleButton.styled.js.map +1 -1
  106. package/dist/components/ToggleButton/index.js +1 -1
  107. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
  108. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
  109. package/dist/components/ToggleButtonGroup/index.js +1 -1
  110. package/dist/components/Tooltip/Tooltip.js +1 -1
  111. package/dist/components/Tooltip/index.js +1 -1
  112. package/dist/components/Typography/Typography.js +1 -1
  113. package/dist/components/Typography/Typography.js.map +1 -1
  114. package/dist/components/Typography/index.js +1 -1
  115. package/dist/foundation/Elevation/index.js +27 -27
  116. package/dist/foundation/Elevation/utils.js +1 -1
  117. package/dist/foundation/Elevation/utils.js.map +1 -1
  118. package/dist/foundation/Typography/index.js +35 -35
  119. package/dist/foundation/Typography/index.js.map +1 -1
  120. package/dist/foundation/Typography/tokens.js +136 -136
  121. package/dist/foundation/Typography/tokens.js.map +1 -1
  122. package/dist/foundation/colors/base/blue.js +12 -12
  123. package/dist/foundation/colors/base/green.js +12 -12
  124. package/dist/foundation/colors/base/grey.js +28 -28
  125. package/dist/foundation/colors/base/index.js +11 -11
  126. package/dist/foundation/colors/base/lunitGreen.js +11 -11
  127. package/dist/foundation/colors/base/lunitTeal.js +12 -12
  128. package/dist/foundation/colors/base/magenta.js +12 -12
  129. package/dist/foundation/colors/base/opacity.js +4 -4
  130. package/dist/foundation/colors/base/orange.js +12 -12
  131. package/dist/foundation/colors/base/purple.js +12 -12
  132. package/dist/foundation/colors/base/red.js +12 -12
  133. package/dist/foundation/colors/base/yellow.js +12 -12
  134. package/dist/foundation/colors/index.js +119 -121
  135. package/dist/foundation/colors/index.js.map +1 -1
  136. package/dist/foundation/colors/token/component.js +184 -212
  137. package/dist/foundation/colors/token/component.js.map +1 -1
  138. package/dist/foundation/colors/token/core.js +112 -133
  139. package/dist/foundation/colors/token/core.js.map +1 -1
  140. package/dist/foundation/colors/token/index.js +2 -2
  141. package/dist/foundation/index.js +5 -5
  142. package/dist/index.js +20 -20
  143. package/dist/theme.js +6 -6
  144. package/dist/types/components/Alert/Alert.d.ts +2 -2
  145. package/dist/types/components/Alert/Alert.styled.d.ts +1 -2
  146. package/dist/types/components/Alert/Alert.types.d.ts +2 -2
  147. package/dist/types/components/Alert/Alert.utils.d.ts +1 -1
  148. package/dist/types/components/Alert/index.d.ts +1 -1
  149. package/dist/types/components/Button/Button.d.ts +1 -1
  150. package/dist/types/components/Button/Button.styled.d.ts +226 -227
  151. package/dist/types/components/Button/Button.types.d.ts +16 -16
  152. package/dist/types/components/Button/index.d.ts +1 -1
  153. package/dist/types/components/Button/utils/getButtonPaddingBySizeAndKind.d.ts +4 -4
  154. package/dist/types/components/Button/utils/getHoverStyle.d.ts +2 -1
  155. package/dist/types/components/Button/utils/getIconButtonPaddingBySizeAndKind.d.ts +4 -4
  156. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  157. package/dist/types/components/Checkbox/index.d.ts +1 -1
  158. package/dist/types/components/Chip/Chip.d.ts +1 -1
  159. package/dist/types/components/Chip/Chip.styled.d.ts +6 -7
  160. package/dist/types/components/Chip/Chip.types.d.ts +15 -14
  161. package/dist/types/components/Chip/index.d.ts +1 -1
  162. package/dist/types/components/DataTable/index.d.ts +1 -1
  163. package/dist/types/components/DatePicker/index.d.ts +1 -1
  164. package/dist/types/components/Dialog/Dialog.d.ts +11 -11
  165. package/dist/types/components/Dialog/Dialog.styled.d.ts +3 -4
  166. package/dist/types/components/Dialog/components/DialogAction.d.ts +2 -2
  167. package/dist/types/components/Dialog/index.d.ts +2 -2
  168. package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
  169. package/dist/types/components/Dropdown/Dropdown.styled.d.ts +3 -4
  170. package/dist/types/components/Dropdown/Dropdown.types.d.ts +5 -5
  171. package/dist/types/components/Dropdown/DropdownItem.d.ts +3 -3
  172. package/dist/types/components/Dropdown/index.d.ts +3 -3
  173. package/dist/types/components/FormLabel/FormLabel.d.ts +1 -1
  174. package/dist/types/components/FormLabel/index.d.ts +1 -1
  175. package/dist/types/components/Radio/Radio.d.ts +1 -1
  176. package/dist/types/components/Radio/index.d.ts +1 -1
  177. package/dist/types/components/RadioGroup/index.d.ts +1 -1
  178. package/dist/types/components/TextField/TextField.d.ts +2 -2
  179. package/dist/types/components/TextField/TextField.style.d.ts +3 -4
  180. package/dist/types/components/TextField/TextField.types.d.ts +6 -6
  181. package/dist/types/components/TextField/TextFieldIcon.d.ts +2 -2
  182. package/dist/types/components/TextField/index.d.ts +2 -2
  183. package/dist/types/components/Toast/Toast.d.ts +2 -2
  184. package/dist/types/components/Toast/Toast.types.d.ts +3 -3
  185. package/dist/types/components/Toast/Toast.utils.d.ts +1 -1
  186. package/dist/types/components/Toast/index.d.ts +2 -2
  187. package/dist/types/components/Toggle/Toggle.d.ts +1 -1
  188. package/dist/types/components/Toggle/Toggle.styled.d.ts +2 -2
  189. package/dist/types/components/Toggle/Toggle.types.d.ts +3 -3
  190. package/dist/types/components/Toggle/index.d.ts +1 -1
  191. package/dist/types/components/ToggleButton/ToggleButton.d.ts +1 -1
  192. package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +2 -3
  193. package/dist/types/components/ToggleButton/ToggleButton.types.d.ts +10 -10
  194. package/dist/types/components/ToggleButton/index.d.ts +1 -1
  195. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  196. package/dist/types/components/ToggleButtonGroup/index.d.ts +1 -1
  197. package/dist/types/components/Tooltip/index.d.ts +1 -1
  198. package/dist/types/components/Typography/Typography.d.ts +6 -6
  199. package/dist/types/components/Typography/index.d.ts +1 -1
  200. package/dist/types/components/index.d.ts +2 -2
  201. package/dist/types/foundation/Elevation/index.d.ts +22 -22
  202. package/dist/types/foundation/Typography/index.d.ts +78 -78
  203. package/dist/types/foundation/Typography/tokens.d.ts +69 -69
  204. package/dist/types/foundation/colors/base/index.d.ts +11 -11
  205. package/dist/types/foundation/colors/index.d.ts +13 -20
  206. package/dist/types/foundation/colors/token/component.d.ts +1 -1
  207. package/dist/types/foundation/colors/token/core.d.ts +1 -1
  208. package/dist/types/foundation/colors/token/index.d.ts +2 -2
  209. package/dist/types/foundation/colors/types.d.ts +0 -7
  210. package/dist/types/foundation/index.d.ts +4 -11
  211. package/dist/types/foundation/spacing.d.ts +1 -1
  212. package/dist/types/index.d.ts +20 -20
  213. package/dist/types/theme.d.ts +1 -1
  214. package/package.json +9 -11
  215. package/src/components/Alert/Alert.styled.ts +39 -49
  216. package/src/components/Alert/Alert.tsx +10 -16
  217. package/src/components/Alert/Alert.types.ts +2 -2
  218. package/src/components/Alert/Alert.utils.ts +13 -22
  219. package/src/components/Alert/index.ts +1 -1
  220. package/src/components/Button/Button.styled.ts +98 -101
  221. package/src/components/Button/Button.tsx +71 -69
  222. package/src/components/Button/Button.types.ts +19 -21
  223. package/src/components/Button/index.ts +1 -1
  224. package/src/components/Button/utils/getButtonPaddingBySizeAndKind.ts +13 -13
  225. package/src/components/Button/utils/getHoverStyle.ts +4 -2
  226. package/src/components/Button/utils/getIconButtonPaddingBySizeAndKind.ts +10 -19
  227. package/src/components/Checkbox/Checkbox.tsx +13 -25
  228. package/src/components/Checkbox/index.ts +1 -1
  229. package/src/components/Chip/Chip.styled.ts +69 -72
  230. package/src/components/Chip/Chip.tsx +33 -55
  231. package/src/components/Chip/Chip.types.ts +17 -25
  232. package/src/components/Chip/consts.ts +5 -5
  233. package/src/components/Chip/index.ts +1 -1
  234. package/src/components/DataTable/DataTable.tsx +2 -2
  235. package/src/components/DataTable/index.ts +1 -1
  236. package/src/components/DatePicker/DatePicker.tsx +2 -2
  237. package/src/components/DatePicker/index.ts +1 -1
  238. package/src/components/Dialog/Dialog.styled.ts +112 -114
  239. package/src/components/Dialog/Dialog.tsx +41 -46
  240. package/src/components/Dialog/components/DialogAction.tsx +8 -8
  241. package/src/components/Dialog/index.ts +3 -3
  242. package/src/components/Dropdown/Dropdown.styled.tsx +88 -89
  243. package/src/components/Dropdown/Dropdown.tsx +29 -30
  244. package/src/components/Dropdown/Dropdown.types.ts +5 -6
  245. package/src/components/Dropdown/DropdownItem.tsx +18 -29
  246. package/src/components/Dropdown/index.ts +3 -7
  247. package/src/components/FormLabel/FormLabel.styled.ts +3 -3
  248. package/src/components/FormLabel/FormLabel.tsx +3 -3
  249. package/src/components/FormLabel/index.ts +1 -1
  250. package/src/components/Radio/Radio.tsx +12 -29
  251. package/src/components/Radio/index.ts +1 -1
  252. package/src/components/RadioGroup/index.ts +1 -1
  253. package/src/components/TextField/TextField.style.ts +123 -132
  254. package/src/components/TextField/TextField.tsx +50 -62
  255. package/src/components/TextField/TextField.types.ts +6 -9
  256. package/src/components/TextField/TextFieldIcon.tsx +4 -7
  257. package/src/components/TextField/index.ts +2 -2
  258. package/src/components/Toast/Toast.styled.ts +26 -26
  259. package/src/components/Toast/Toast.tsx +14 -28
  260. package/src/components/Toast/Toast.types.ts +3 -8
  261. package/src/components/Toast/Toast.utils.ts +5 -8
  262. package/src/components/Toast/index.tsx +2 -2
  263. package/src/components/Toggle/Toggle.styled.ts +31 -32
  264. package/src/components/Toggle/Toggle.tsx +5 -11
  265. package/src/components/Toggle/Toggle.types.ts +3 -3
  266. package/src/components/Toggle/index.ts +1 -1
  267. package/src/components/ToggleButton/ToggleButton.styled.ts +47 -49
  268. package/src/components/ToggleButton/ToggleButton.tsx +91 -97
  269. package/src/components/ToggleButton/ToggleButton.types.ts +10 -10
  270. package/src/components/ToggleButton/index.ts +1 -1
  271. package/src/components/ToggleButtonGroup/ToggleButtonGroup.tsx +3 -8
  272. package/src/components/ToggleButtonGroup/index.tsx +1 -1
  273. package/src/components/Tooltip/Tooltip.tsx +2 -2
  274. package/src/components/Tooltip/index.ts +1 -1
  275. package/src/components/Typography/Typography.tsx +7 -10
  276. package/src/components/Typography/index.ts +1 -1
  277. package/src/components/index.ts +2 -2
  278. package/src/foundation/Elevation/index.ts +27 -27
  279. package/src/foundation/Elevation/utils.ts +14 -8
  280. package/src/foundation/Typography/index.ts +58 -57
  281. package/src/foundation/Typography/tokens.ts +138 -138
  282. package/src/foundation/colors/base/blue.ts +12 -12
  283. package/src/foundation/colors/base/green.ts +12 -12
  284. package/src/foundation/colors/base/grey.ts +28 -28
  285. package/src/foundation/colors/base/index.ts +11 -11
  286. package/src/foundation/colors/base/lunitGreen.ts +11 -11
  287. package/src/foundation/colors/base/lunitTeal.ts +12 -12
  288. package/src/foundation/colors/base/magenta.ts +12 -12
  289. package/src/foundation/colors/base/opacity.ts +4 -4
  290. package/src/foundation/colors/base/orange.ts +12 -12
  291. package/src/foundation/colors/base/purple.ts +12 -12
  292. package/src/foundation/colors/base/red.ts +12 -12
  293. package/src/foundation/colors/base/yellow.ts +12 -12
  294. package/src/foundation/colors/index.ts +119 -120
  295. package/src/foundation/colors/token/component.ts +185 -213
  296. package/src/foundation/colors/token/core.ts +113 -134
  297. package/src/foundation/colors/token/index.ts +2 -2
  298. package/src/foundation/colors/types.ts +0 -7
  299. package/src/foundation/index.ts +8 -8
  300. package/src/foundation/spacing.ts +1 -1
  301. package/src/index.ts +20 -20
  302. package/src/stories/GettingStarted.mdx +6 -6
  303. package/src/stories/components/Alert/Alert.stories.tsx +38 -45
  304. package/src/stories/components/Button/BasicButton.stories.tsx +68 -59
  305. package/src/stories/components/Button/ButtonDocs.mdx +17 -41
  306. package/src/stories/components/Button/Color.stories.tsx +28 -51
  307. package/src/stories/components/Button/IconButton.stories.tsx +40 -47
  308. package/src/stories/components/Button/Kind.stories.tsx +100 -213
  309. package/src/stories/components/CheckBox/BasicCheckbox.stories.tsx +52 -71
  310. package/src/stories/components/CheckBox/CheckboxDocs.mdx +6 -6
  311. package/src/stories/components/Chip/Chip.stories.tsx +75 -75
  312. package/src/stories/components/Chip/ChipDocs.mdx +12 -13
  313. package/src/stories/components/DataTable/DataTable.stories.tsx +4 -4
  314. package/src/stories/components/DatePicker/DatePicker.stories.tsx +4 -4
  315. package/src/stories/components/Dialog/Dialog.stories.tsx +103 -135
  316. package/src/stories/components/Dialog/DialogDocs.mdx +7 -13
  317. package/src/stories/components/Dropdown/Dropdown.stories.tsx +96 -82
  318. package/src/stories/components/Dropdown/DropdownDocs.mdx +275 -0
  319. package/src/stories/components/Dropdown/DropdownExamples.stories.tsx +40 -47
  320. package/src/stories/components/Dropdown/DropdownItem.stories.tsx +113 -98
  321. package/src/stories/components/SelectControl/RadioGroup.stories.tsx +17 -30
  322. package/src/stories/components/SelectControl/RadioStatus.stories.tsx +16 -23
  323. package/src/stories/components/SelectControl/Toggle.stories.tsx +33 -78
  324. package/src/stories/components/TextField/BasicTextField.stories.tsx +44 -53
  325. package/src/stories/components/TextField/TextFieldDocs.mdx +8 -12
  326. package/src/stories/components/TextField/TextFieldMulti.stories.tsx +39 -55
  327. package/src/stories/components/TextField/TextFieldSingle.stories.tsx +74 -118
  328. package/src/stories/components/TextField/TextFieldSize.stories.tsx +35 -55
  329. package/src/stories/components/Toast/Toast.stories.tsx +35 -50
  330. package/src/stories/components/ToggleButton/Basic.stories.tsx +115 -152
  331. package/src/stories/components/ToggleButton/ToggleButtonDocs.mdx +10 -14
  332. package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +141 -200
  333. package/src/stories/components/ToggleButton/WithIcon.stories.tsx +87 -107
  334. package/src/stories/components/Tooltip/Tooltip.stories.tsx +4 -4
  335. package/src/stories/foundation/Elevation/Elevation.stories.tsx +48 -54
  336. package/src/stories/foundation/Elevation/styled.ts +3 -3
  337. package/src/stories/foundation/Typography/Typography.mdx +9 -13
  338. package/src/stories/foundation/Typography/Typography.stories.tsx +25 -41
  339. package/src/stories/foundation/Typography/TypographyGroup.tsx +14 -25
  340. package/src/stories/foundation/Typography/const.ts +13 -19
  341. package/src/stories/foundation/colors/ColorSystem.tsx +42 -40
  342. package/src/stories/foundation/colors/Colors.stories.tsx +40 -41
  343. package/src/stories/foundation/colors/Docs.mdx +73 -77
  344. package/src/stories/foundation/colors/Mui.stories.tsx +6 -8
  345. package/src/stories/foundation/colors/Token.inComponent.stories.tsx +81 -71
  346. package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +7 -7
  347. package/src/stories/foundation/colors/TokenPaletteTable.tsx +23 -49
  348. package/src/stories/foundation/colors/styled.ts +26 -26
  349. package/src/theme.ts +6 -6
  350. package/src/types.d.ts +1 -1
  351. package/tsconfig.build.json +1 -5
@@ -1,11 +1,11 @@
1
- import React from "react";
2
- import type { TypographyProps } from "@mui/material/Typography";
3
- import type { TypographyPropsVariantOverridesType } from "../../foundation/Typography";
4
- declare module "@mui/material/Typography" {
1
+ import React from 'react';
2
+ import type { TypographyProps } from '@mui/material/Typography';
3
+ import type { TypographyPropsVariantOverridesType } from '../../foundation/Typography';
4
+ declare module '@mui/material/Typography' {
5
5
  interface TypographyPropsVariantOverrides extends TypographyPropsVariantOverridesType {
6
6
  }
7
7
  }
8
- declare const Typography: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements>>(props: TypographyProps<C, {
9
- component?: C | undefined;
8
+ declare const Typography: <C extends React.ElementType>(props: TypographyProps<C, {
9
+ component?: C;
10
10
  }>) => import("react/jsx-runtime").JSX.Element;
11
11
  export default Typography;
@@ -1 +1 @@
1
- export { default } from "./Typography";
1
+ export { default } from './Typography';
@@ -1,2 +1,2 @@
1
- import { Components, Theme } from "@mui/material";
2
- export declare const componentsCssBaseline: Components<Theme>["MuiCssBaseline"];
1
+ import { Components, Theme } from '@mui/material';
2
+ export declare const componentsCssBaseline: Components<Theme>['MuiCssBaseline'];
@@ -19,8 +19,8 @@ export declare const elevationOptions: {
19
19
  shadow4: string;
20
20
  };
21
21
  export declare const createElevationCssBaseline: () => {
22
- ".light1, .light2, .dark1, .dark2": {
23
- "--elevation-shadow": string;
22
+ '.light1, .light2, .dark1, .dark2': {
23
+ '--elevation-shadow': string;
24
24
  elevation_00: string;
25
25
  elevation_01: string;
26
26
  elevation_02: string;
@@ -29,37 +29,37 @@ export declare const createElevationCssBaseline: () => {
29
29
  shadow3: string;
30
30
  shadow4: string;
31
31
  };
32
- ".MuiPaper-root": {
33
- "--elevation-shadow": string;
32
+ '.MuiPaper-root': {
33
+ '--elevation-shadow': string;
34
34
  };
35
- ".MuiDialog-paper": {
36
- "--elevation-shadow": string;
35
+ '.MuiDialog-paper': {
36
+ '--elevation-shadow': string;
37
37
  };
38
- ".MuiPopover-paper": {
39
- "--elevation-shadow": string;
38
+ '.MuiPopover-paper': {
39
+ '--elevation-shadow': string;
40
40
  };
41
- ".MuiMenu-paper": {
42
- "--elevation-shadow": string;
41
+ '.MuiMenu-paper': {
42
+ '--elevation-shadow': string;
43
43
  };
44
- ".MuiTooltip-tooltip": {
45
- "--elevation-shadow": string;
44
+ '.MuiTooltip-tooltip': {
45
+ '--elevation-shadow': string;
46
46
  };
47
- ".MuiAlert-root": {
48
- "--elevation-shadow": string;
47
+ '.MuiAlert-root': {
48
+ '--elevation-shadow': string;
49
49
  };
50
- ".elevation0, .elevation1, .elevation2": {
50
+ '.elevation0, .elevation1, .elevation2': {
51
51
  boxShadow: string;
52
52
  };
53
- ".elevation3, .elevation4, .elevation5, .elevation6, .elevation7, .elevation8, .elevation9, .elevation10, .elevation11, .elevation12, .elevation13, .elevation14, .elevation15, .elevation16, .elevation17, .elevation18, .elevation19, .elevation20, .elevation21, .elevation22, .elevation23, .elevation24": {
53
+ '.elevation3, .elevation4, .elevation5, .elevation6, .elevation7, .elevation8, .elevation9, .elevation10, .elevation11, .elevation12, .elevation13, .elevation14, .elevation15, .elevation16, .elevation17, .elevation18, .elevation19, .elevation20, .elevation21, .elevation22, .elevation23, .elevation24': {
54
54
  boxShadow: string;
55
55
  };
56
- ".elevation0": {
57
- "--elevation-shadow": string;
56
+ '.elevation0': {
57
+ '--elevation-shadow': string;
58
58
  };
59
- ".elevation1": {
60
- "--elevation-shadow": string;
59
+ '.elevation1': {
60
+ '--elevation-shadow': string;
61
61
  };
62
- ".elevation2": {
63
- "--elevation-shadow": string;
62
+ '.elevation2': {
63
+ '--elevation-shadow': string;
64
64
  };
65
65
  };
@@ -1,15 +1,15 @@
1
- /// <reference types="react" />
2
- import type { TypographyOptions } from "@mui/material/styles/createTypography";
3
- type DSVariants = "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "body1_16_semibold" | "body1_16_regular" | "body2_14_bold" | "body2_14_medium" | "body2_14_regular" | "body3_12_semibold" | "body3_12_regular" | "body_m2" | "body_reg6" | "body_reg8" | "small_body_sb1" | "small_body_m2" | "button1" | "button2";
1
+ import type React from 'react';
2
+ import type { TypographyVariantsOptions } from '@mui/material/styles';
3
+ type DSVariants = 'headline1' | 'headline2' | 'headline3' | 'headline4' | 'headline5' | 'body1_16_semibold' | 'body1_16_regular' | 'body2_14_bold' | 'body2_14_medium' | 'body2_14_regular' | 'body3_12_semibold' | 'body3_12_regular' | 'body_m2' | 'body_reg6' | 'body_reg8' | 'small_body_sb1' | 'small_body_m2' | 'button1' | 'button2';
4
4
  type DSVariantsType = Record<DSVariants, React.CSSProperties>;
5
- declare module "@mui/material/styles" {
5
+ declare module '@mui/material/styles' {
6
6
  interface TypographyVariants extends DSVariantsType {
7
7
  }
8
8
  interface TypographyVariantsOptions extends Partial<DSVariantsType> {
9
9
  }
10
10
  }
11
11
  export type TypographyPropsVariantOverridesType = Record<DSVariants, true>;
12
- declare const typographyOptions: TypographyOptions;
12
+ declare const typographyOptions: TypographyVariantsOptions;
13
13
  export declare const typographyDefaultProps: {
14
14
  variantMapping: {
15
15
  headline1: string;
@@ -32,88 +32,88 @@ export declare const typographyDefaultProps: {
32
32
  };
33
33
  };
34
34
  export declare const createTypographyCssBaseline: () => {
35
- "*, *:before, *:after": {
35
+ '*, *:before, *:after': {
36
36
  fontFeatureSettings: string;
37
37
  };
38
- ":root": {
39
- "--overline-font-weight": "var(--font-weight-medium)";
40
- "--overline-font-size": "14px";
41
- "--overline-line-height": "20px";
42
- "--button1-font-weight": "var(--font-weight-medium)";
43
- "--button1-font-size": "16px";
44
- "--button1-line-height": "22px";
45
- "--button2-font-weight": "var(--font-weight-medium)";
46
- "--button2-font-size": "14px";
47
- "--button2-line-height": "20px";
48
- "--caption-font-weight": "var(--font-weight-medium)";
49
- "--caption-font-size": "12px";
50
- "--caption-line-height": "16px";
51
- "--small_body_sb1-font-weight": "var(--font-weight-semibold)";
52
- "--small_body_sb1-font-size": "12px";
53
- "--small_body_sb1-line-height": "16px";
54
- "--small_body_m2-font-weight": "var(--font-weight-medium)";
55
- "--small_body_m2-font-size": "12px";
56
- "--small_body_m2-line-height": "20px";
57
- "--body1-16-semibold-font-weight": "var(--font-weight-semibold)";
58
- "--body1-16-semibold-font-size": "16px";
59
- "--body1-16-semibold-line-height": "24px";
60
- "--body1-16-regular-font-weight": "var(--font-weight-regular)";
61
- "--body1-16-regular-font-size": "16px";
62
- "--body1-16-regular-line-height": "24px";
63
- "--body2-14-bold-font-weight": "var(--font-weight-bold)";
64
- "--body2-14-bold-font-size": "14px";
65
- "--body2-14-bold-line-height": "20px";
66
- "--body2-14-medium-font-weight": "var(--font-weight-medium)";
67
- "--body2-14-medium-font-size": "14px";
68
- "--body2-14-medium-line-height": "20px";
69
- "--body2-14-regular-font-weight": "var(--font-weight-regular)";
70
- "--body2-14-regular-font-size": "14px";
71
- "--body2-14-regular-line-height": "20px";
72
- "--body3-12-semibold-font-weight": "var(--font-weight-semibold)";
73
- "--body3-12-semibold-font-size": "12.4px";
74
- "--body3-12-semibold-line-height": "16px";
75
- "--body3-12-regular-font-weight": "var(--font-weight-regular)";
76
- "--body3-12-regular-font-size": "12.4px";
77
- "--body3-12-regular-line-height": "16px";
78
- "--body_m2-font-weight": "var(--font-weight-medium)";
79
- "--body_m2-font-size": "13px";
80
- "--body_m2-line-height": "18px";
81
- "--body_reg6-font-weight": "var(--font-weight-regular)";
82
- "--body_reg6-font-size": "13px";
83
- "--body_reg6-line-height": "18px";
84
- "--body_reg8-font-weight": "var(--font-weight-regular)";
85
- "--body_reg8-font-size": "12px";
86
- "--body_reg8-line-height": "16px";
87
- "--headline1-font-weight": "var(--font-weight-semibold)";
88
- "--headline1-font-size": "52px";
89
- "--headline1-line-height": "68px";
90
- "--headline2-font-weight": "var(--font-weight-bold)";
91
- "--headline2-font-size": "38px";
92
- "--headline2-line-height": "65px";
93
- "--headline3-font-weight": "var(--font-weight-semibold)";
94
- "--headline3-font-size": "24px";
95
- "--headline3-line-height": "29px";
96
- "--headline4-font-weight": "var(--font-weight-semibold)";
97
- "--headline4-font-size": "20px";
98
- "--headline4-line-height": "28px";
99
- "--headline5-font-weight": "var(--font-weight-semibold)";
100
- "--headline5-font-size": "16px";
101
- "--headline5-line-height": "24px";
102
- "--font-weight-bold": 700;
103
- "--font-weight-semibold": 600;
104
- "--font-weight-medium": 500;
105
- "--font-weight-regular": 400;
38
+ ':root': {
39
+ '--overline-font-weight': "var(--font-weight-medium)";
40
+ '--overline-font-size': "14px";
41
+ '--overline-line-height': "20px";
42
+ '--button1-font-weight': "var(--font-weight-medium)";
43
+ '--button1-font-size': "16px";
44
+ '--button1-line-height': "22px";
45
+ '--button2-font-weight': "var(--font-weight-medium)";
46
+ '--button2-font-size': "14px";
47
+ '--button2-line-height': "20px";
48
+ '--caption-font-weight': "var(--font-weight-medium)";
49
+ '--caption-font-size': "12px";
50
+ '--caption-line-height': "16px";
51
+ '--small_body_sb1-font-weight': "var(--font-weight-semibold)";
52
+ '--small_body_sb1-font-size': "12px";
53
+ '--small_body_sb1-line-height': "16px";
54
+ '--small_body_m2-font-weight': "var(--font-weight-medium)";
55
+ '--small_body_m2-font-size': "12px";
56
+ '--small_body_m2-line-height': "20px";
57
+ '--body1-16-semibold-font-weight': "var(--font-weight-semibold)";
58
+ '--body1-16-semibold-font-size': "16px";
59
+ '--body1-16-semibold-line-height': "24px";
60
+ '--body1-16-regular-font-weight': "var(--font-weight-regular)";
61
+ '--body1-16-regular-font-size': "16px";
62
+ '--body1-16-regular-line-height': "24px";
63
+ '--body2-14-bold-font-weight': "var(--font-weight-bold)";
64
+ '--body2-14-bold-font-size': "14px";
65
+ '--body2-14-bold-line-height': "20px";
66
+ '--body2-14-medium-font-weight': "var(--font-weight-medium)";
67
+ '--body2-14-medium-font-size': "14px";
68
+ '--body2-14-medium-line-height': "20px";
69
+ '--body2-14-regular-font-weight': "var(--font-weight-regular)";
70
+ '--body2-14-regular-font-size': "14px";
71
+ '--body2-14-regular-line-height': "20px";
72
+ '--body3-12-semibold-font-weight': "var(--font-weight-semibold)";
73
+ '--body3-12-semibold-font-size': "12.4px";
74
+ '--body3-12-semibold-line-height': "16px";
75
+ '--body3-12-regular-font-weight': "var(--font-weight-regular)";
76
+ '--body3-12-regular-font-size': "12.4px";
77
+ '--body3-12-regular-line-height': "16px";
78
+ '--body_m2-font-weight': "var(--font-weight-medium)";
79
+ '--body_m2-font-size': "13px";
80
+ '--body_m2-line-height': "18px";
81
+ '--body_reg6-font-weight': "var(--font-weight-regular)";
82
+ '--body_reg6-font-size': "13px";
83
+ '--body_reg6-line-height': "18px";
84
+ '--body_reg8-font-weight': "var(--font-weight-regular)";
85
+ '--body_reg8-font-size': "12px";
86
+ '--body_reg8-line-height': "16px";
87
+ '--headline1-font-weight': "var(--font-weight-semibold)";
88
+ '--headline1-font-size': "52px";
89
+ '--headline1-line-height': "68px";
90
+ '--headline2-font-weight': "var(--font-weight-bold)";
91
+ '--headline2-font-size': "38px";
92
+ '--headline2-line-height': "65px";
93
+ '--headline3-font-weight': "var(--font-weight-semibold)";
94
+ '--headline3-font-size': "24px";
95
+ '--headline3-line-height': "29px";
96
+ '--headline4-font-weight': "var(--font-weight-semibold)";
97
+ '--headline4-font-size': "20px";
98
+ '--headline4-line-height': "28px";
99
+ '--headline5-font-weight': "var(--font-weight-semibold)";
100
+ '--headline5-font-size': "16px";
101
+ '--headline5-line-height': "24px";
102
+ '--font-weight-bold': 700;
103
+ '--font-weight-semibold': 600;
104
+ '--font-weight-medium': 500;
105
+ '--font-weight-regular': 400;
106
106
  };
107
- ".light1": {
107
+ '.light1': {
108
108
  color: string;
109
109
  };
110
- ".light2": {
110
+ '.light2': {
111
111
  color: string;
112
112
  };
113
- ".dark1": {
113
+ '.dark1': {
114
114
  color: string;
115
115
  };
116
- ".dark2": {
116
+ '.dark2': {
117
117
  color: string;
118
118
  };
119
119
  };
@@ -1,72 +1,72 @@
1
- import type { TypographyStyleOptions } from "@mui/material/styles/createTypography";
2
- declare const fontVariants: Record<string, TypographyStyleOptions>;
1
+ import type { TypographyStyle } from '@mui/material/styles';
2
+ declare const fontVariants: Record<string, TypographyStyle>;
3
3
  export declare const cssVariables: {
4
- "--overline-font-weight": "var(--font-weight-medium)";
5
- "--overline-font-size": "14px";
6
- "--overline-line-height": "20px";
7
- "--button1-font-weight": "var(--font-weight-medium)";
8
- "--button1-font-size": "16px";
9
- "--button1-line-height": "22px";
10
- "--button2-font-weight": "var(--font-weight-medium)";
11
- "--button2-font-size": "14px";
12
- "--button2-line-height": "20px";
13
- "--caption-font-weight": "var(--font-weight-medium)";
14
- "--caption-font-size": "12px";
15
- "--caption-line-height": "16px";
16
- "--small_body_sb1-font-weight": "var(--font-weight-semibold)";
17
- "--small_body_sb1-font-size": "12px";
18
- "--small_body_sb1-line-height": "16px";
19
- "--small_body_m2-font-weight": "var(--font-weight-medium)";
20
- "--small_body_m2-font-size": "12px";
21
- "--small_body_m2-line-height": "20px";
22
- "--body1-16-semibold-font-weight": "var(--font-weight-semibold)";
23
- "--body1-16-semibold-font-size": "16px";
24
- "--body1-16-semibold-line-height": "24px";
25
- "--body1-16-regular-font-weight": "var(--font-weight-regular)";
26
- "--body1-16-regular-font-size": "16px";
27
- "--body1-16-regular-line-height": "24px";
28
- "--body2-14-bold-font-weight": "var(--font-weight-bold)";
29
- "--body2-14-bold-font-size": "14px";
30
- "--body2-14-bold-line-height": "20px";
31
- "--body2-14-medium-font-weight": "var(--font-weight-medium)";
32
- "--body2-14-medium-font-size": "14px";
33
- "--body2-14-medium-line-height": "20px";
34
- "--body2-14-regular-font-weight": "var(--font-weight-regular)";
35
- "--body2-14-regular-font-size": "14px";
36
- "--body2-14-regular-line-height": "20px";
37
- "--body3-12-semibold-font-weight": "var(--font-weight-semibold)";
38
- "--body3-12-semibold-font-size": "12.4px";
39
- "--body3-12-semibold-line-height": "16px";
40
- "--body3-12-regular-font-weight": "var(--font-weight-regular)";
41
- "--body3-12-regular-font-size": "12.4px";
42
- "--body3-12-regular-line-height": "16px";
43
- "--body_m2-font-weight": "var(--font-weight-medium)";
44
- "--body_m2-font-size": "13px";
45
- "--body_m2-line-height": "18px";
46
- "--body_reg6-font-weight": "var(--font-weight-regular)";
47
- "--body_reg6-font-size": "13px";
48
- "--body_reg6-line-height": "18px";
49
- "--body_reg8-font-weight": "var(--font-weight-regular)";
50
- "--body_reg8-font-size": "12px";
51
- "--body_reg8-line-height": "16px";
52
- "--headline1-font-weight": "var(--font-weight-semibold)";
53
- "--headline1-font-size": "52px";
54
- "--headline1-line-height": "68px";
55
- "--headline2-font-weight": "var(--font-weight-bold)";
56
- "--headline2-font-size": "38px";
57
- "--headline2-line-height": "65px";
58
- "--headline3-font-weight": "var(--font-weight-semibold)";
59
- "--headline3-font-size": "24px";
60
- "--headline3-line-height": "29px";
61
- "--headline4-font-weight": "var(--font-weight-semibold)";
62
- "--headline4-font-size": "20px";
63
- "--headline4-line-height": "28px";
64
- "--headline5-font-weight": "var(--font-weight-semibold)";
65
- "--headline5-font-size": "16px";
66
- "--headline5-line-height": "24px";
67
- "--font-weight-bold": 700;
68
- "--font-weight-semibold": 600;
69
- "--font-weight-medium": 500;
70
- "--font-weight-regular": 400;
4
+ '--overline-font-weight': "var(--font-weight-medium)";
5
+ '--overline-font-size': "14px";
6
+ '--overline-line-height': "20px";
7
+ '--button1-font-weight': "var(--font-weight-medium)";
8
+ '--button1-font-size': "16px";
9
+ '--button1-line-height': "22px";
10
+ '--button2-font-weight': "var(--font-weight-medium)";
11
+ '--button2-font-size': "14px";
12
+ '--button2-line-height': "20px";
13
+ '--caption-font-weight': "var(--font-weight-medium)";
14
+ '--caption-font-size': "12px";
15
+ '--caption-line-height': "16px";
16
+ '--small_body_sb1-font-weight': "var(--font-weight-semibold)";
17
+ '--small_body_sb1-font-size': "12px";
18
+ '--small_body_sb1-line-height': "16px";
19
+ '--small_body_m2-font-weight': "var(--font-weight-medium)";
20
+ '--small_body_m2-font-size': "12px";
21
+ '--small_body_m2-line-height': "20px";
22
+ '--body1-16-semibold-font-weight': "var(--font-weight-semibold)";
23
+ '--body1-16-semibold-font-size': "16px";
24
+ '--body1-16-semibold-line-height': "24px";
25
+ '--body1-16-regular-font-weight': "var(--font-weight-regular)";
26
+ '--body1-16-regular-font-size': "16px";
27
+ '--body1-16-regular-line-height': "24px";
28
+ '--body2-14-bold-font-weight': "var(--font-weight-bold)";
29
+ '--body2-14-bold-font-size': "14px";
30
+ '--body2-14-bold-line-height': "20px";
31
+ '--body2-14-medium-font-weight': "var(--font-weight-medium)";
32
+ '--body2-14-medium-font-size': "14px";
33
+ '--body2-14-medium-line-height': "20px";
34
+ '--body2-14-regular-font-weight': "var(--font-weight-regular)";
35
+ '--body2-14-regular-font-size': "14px";
36
+ '--body2-14-regular-line-height': "20px";
37
+ '--body3-12-semibold-font-weight': "var(--font-weight-semibold)";
38
+ '--body3-12-semibold-font-size': "12.4px";
39
+ '--body3-12-semibold-line-height': "16px";
40
+ '--body3-12-regular-font-weight': "var(--font-weight-regular)";
41
+ '--body3-12-regular-font-size': "12.4px";
42
+ '--body3-12-regular-line-height': "16px";
43
+ '--body_m2-font-weight': "var(--font-weight-medium)";
44
+ '--body_m2-font-size': "13px";
45
+ '--body_m2-line-height': "18px";
46
+ '--body_reg6-font-weight': "var(--font-weight-regular)";
47
+ '--body_reg6-font-size': "13px";
48
+ '--body_reg6-line-height': "18px";
49
+ '--body_reg8-font-weight': "var(--font-weight-regular)";
50
+ '--body_reg8-font-size': "12px";
51
+ '--body_reg8-line-height': "16px";
52
+ '--headline1-font-weight': "var(--font-weight-semibold)";
53
+ '--headline1-font-size': "52px";
54
+ '--headline1-line-height': "68px";
55
+ '--headline2-font-weight': "var(--font-weight-bold)";
56
+ '--headline2-font-size': "38px";
57
+ '--headline2-line-height': "65px";
58
+ '--headline3-font-weight': "var(--font-weight-semibold)";
59
+ '--headline3-font-size': "24px";
60
+ '--headline3-line-height': "29px";
61
+ '--headline4-font-weight': "var(--font-weight-semibold)";
62
+ '--headline4-font-size': "20px";
63
+ '--headline4-line-height': "28px";
64
+ '--headline5-font-weight': "var(--font-weight-semibold)";
65
+ '--headline5-font-size': "16px";
66
+ '--headline5-line-height': "24px";
67
+ '--font-weight-bold': 700;
68
+ '--font-weight-semibold': 600;
69
+ '--font-weight-medium': 500;
70
+ '--font-weight-regular': 400;
71
71
  };
72
72
  export { fontVariants };
@@ -1,11 +1,11 @@
1
- export * from "./blue";
2
- export * from "./green";
3
- export * from "./grey";
4
- export * from "./lunitGreen";
5
- export * from "./lunitTeal";
6
- export * from "./magenta";
7
- export * from "./orange";
8
- export * from "./red";
9
- export * from "./yellow";
10
- export * from "./purple";
11
- export * from "./opacity";
1
+ export * from './blue';
2
+ export * from './green';
3
+ export * from './grey';
4
+ export * from './lunitGreen';
5
+ export * from './lunitTeal';
6
+ export * from './magenta';
7
+ export * from './orange';
8
+ export * from './red';
9
+ export * from './yellow';
10
+ export * from './purple';
11
+ export * from './opacity';
@@ -1,9 +1,9 @@
1
- import { PaletteColor } from "@mui/material/styles";
2
- import * as base from "./base";
3
- import { ColorToken } from "./types";
1
+ import { PaletteColor } from '@mui/material/styles';
2
+ import * as base from './base';
3
+ import { ColorToken } from './types';
4
4
  export type BaseColor = Record<keyof typeof base.blue, PaletteColor>;
5
5
  export type GreyColor = Record<keyof typeof base.grey, PaletteColor>;
6
- declare module "@mui/material/styles/createPalette" {
6
+ declare module '@mui/material/styles' {
7
7
  interface PaletteOptions {
8
8
  lunit_global?: {
9
9
  grey: GreyColor;
@@ -36,20 +36,20 @@ declare module "@mui/material/styles/createPalette" {
36
36
  }
37
37
  }
38
38
  export declare const createColorCssBaseline: () => {
39
- ":root": {
39
+ ':root': {
40
40
  [x: string]: string;
41
41
  };
42
- ".light1": {
43
- [x: string]: string;
42
+ '.light1': {
43
+ [name: string]: string;
44
44
  };
45
- ".light2": {
46
- [x: string]: string;
45
+ '.light2': {
46
+ [name: string]: string;
47
47
  };
48
- ".dark1": {
49
- [x: string]: string;
48
+ '.dark1': {
49
+ [name: string]: string;
50
50
  };
51
- ".dark2": {
52
- [x: string]: string;
51
+ '.dark2': {
52
+ [name: string]: string;
53
53
  };
54
54
  };
55
55
  declare const paletteOptions: {
@@ -124,11 +124,8 @@ declare const paletteOptions: {
124
124
  icon_success_02: string;
125
125
  icon_warning_02: string;
126
126
  icon_info_02: string;
127
- hover: string;
128
127
  status_hover: string;
129
- focused: string;
130
128
  status_focused: string;
131
- selected: string;
132
129
  status_selected: string;
133
130
  shadow_01: string;
134
131
  shadow_02: string;
@@ -142,14 +139,12 @@ declare const paletteOptions: {
142
139
  btn_secondary_bg: string;
143
140
  btn_error_bg: string;
144
141
  btn_primary_border: string;
145
- btn_secondary_border: string;
146
142
  btn_primary_text_1: string;
147
143
  btn_primary_text_2: string;
148
144
  btn_secondary_text: string;
149
145
  btn_error_text: string;
150
146
  btn_selected_primary_bg: string;
151
147
  btn_selected_primary_text: string;
152
- btn_selected_secondary_bg: string;
153
148
  btn_selected_secondary_text: string;
154
149
  btn_selected_tertiary_bg: string;
155
150
  btn_selected_tertiary_text: string;
@@ -160,8 +155,6 @@ declare const paletteOptions: {
160
155
  textfield_bg: string;
161
156
  textfield_border_error: string;
162
157
  dropdown_divider_border: string;
163
- datatable_border_01: string;
164
- datatable_border_02: string;
165
158
  datatable_zebra: string;
166
159
  scrollbars_bg: string;
167
160
  scrollbars_hover: string;
@@ -1,4 +1,4 @@
1
- import { ColorTokenValueBySurface } from "./types";
1
+ import { ColorTokenValueBySurface } from './types';
2
2
  export interface TokenComponentColorValue {
3
3
  [component: string]: {
4
4
  [token: string]: ColorTokenValueBySurface;
@@ -1,4 +1,4 @@
1
- import { ColorTokenValueBySurface } from "./types";
1
+ import { ColorTokenValueBySurface } from './types';
2
2
  export interface TokenCoreColorValue {
3
3
  [token: string]: ColorTokenValueBySurface;
4
4
  }
@@ -1,2 +1,2 @@
1
- export * from "./component";
2
- export * from "./core";
1
+ export * from './component';
2
+ export * from './core';
@@ -19,11 +19,8 @@ export interface ColorToken {
19
19
  icon_success_02: string;
20
20
  icon_warning_02: string;
21
21
  icon_info_02: string;
22
- hover: string;
23
22
  status_hover: string;
24
- focused: string;
25
23
  status_focused: string;
26
- selected: string;
27
24
  status_selected: string;
28
25
  shadow_01: string;
29
26
  shadow_02: string;
@@ -37,14 +34,12 @@ export interface ColorToken {
37
34
  btn_secondary_bg: string;
38
35
  btn_error_bg: string;
39
36
  btn_primary_border: string;
40
- btn_secondary_border: string;
41
37
  btn_primary_text_1: string;
42
38
  btn_primary_text_2: string;
43
39
  btn_secondary_text: string;
44
40
  btn_error_text: string;
45
41
  btn_selected_primary_bg: string;
46
42
  btn_selected_primary_text: string;
47
- btn_selected_secondary_bg: string;
48
43
  btn_selected_secondary_text: string;
49
44
  btn_selected_tertiary_bg: string;
50
45
  btn_selected_tertiary_text: string;
@@ -55,8 +50,6 @@ export interface ColorToken {
55
50
  textfield_bg: string;
56
51
  textfield_border_error: string;
57
52
  dropdown_divider_border: string;
58
- datatable_border_01: string;
59
- datatable_border_02: string;
60
53
  datatable_zebra: string;
61
54
  scrollbars_bg: string;
62
55
  scrollbars_hover: string;