glints-aries 4.0.163 → 4.0.165

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 (441) hide show
  1. package/es/{General/@next → @next}/Button/Button.d.ts +0 -0
  2. package/es/{General/@next → @next}/Button/Button.js +1 -1
  3. package/es/{General/@next → @next}/Button/Button.stories.d.ts +0 -0
  4. package/es/{General/@next → @next}/Button/Button.stories.js +2 -2
  5. package/es/{General/@next → @next}/Button/ButtonStyle.d.ts +0 -0
  6. package/es/{General/@next → @next}/Button/ButtonStyle.js +6 -6
  7. package/es/{General/@next → @next}/Button/DesctructiveButton.stories.d.ts +0 -0
  8. package/es/{General/@next → @next}/Button/DesctructiveButton.stories.js +2 -2
  9. package/es/{General/@next → @next}/Button/DesctructiveButtonStyle.d.ts +0 -0
  10. package/es/{General/@next → @next}/Button/DesctructiveButtonStyle.js +3 -3
  11. package/es/{General/@next → @next}/Button/OutlineButton.stories.d.ts +0 -0
  12. package/es/{General/@next → @next}/Button/OutlineButton.stories.js +2 -2
  13. package/es/{General/@next → @next}/Button/OutlineButtonStyle.d.ts +0 -0
  14. package/es/{General/@next → @next}/Button/OutlineButtonStyle.js +2 -2
  15. package/es/{General/@next → @next}/Button/OutlineMonochromeButton.stories.d.ts +0 -0
  16. package/es/{General/@next → @next}/Button/OutlineMonochromeButton.stories.js +2 -2
  17. package/es/{General/@next → @next}/Button/OutlineMonochromeStyle.d.ts +0 -0
  18. package/es/{General/@next → @next}/Button/OutlineMonochromeStyle.js +4 -4
  19. package/es/{General/@next → @next}/Button/PrimaryButton.stories.d.ts +0 -0
  20. package/es/{General/@next → @next}/Button/PrimaryButton.stories.js +2 -2
  21. package/es/{General/@next → @next}/Button/PrimaryButtonStyle.d.ts +0 -0
  22. package/es/{General/@next → @next}/Button/PrimaryButtonStyle.js +2 -2
  23. package/es/{General/@next → @next}/Button/index.d.ts +0 -0
  24. package/es/{General/@next → @next}/Button/index.js +0 -0
  25. package/es/{General/@next → @next}/ButtonGroup/ButtonGroup.stories.d.ts +0 -0
  26. package/es/{General/@next → @next}/ButtonGroup/ButtonGroup.stories.js +2 -2
  27. package/es/{General/@next → @next}/ButtonGroup/ButtonGroupStyle.d.ts +0 -0
  28. package/es/{General/@next → @next}/ButtonGroup/ButtonGroupStyle.js +4 -4
  29. package/es/{General/@next → @next}/ButtonGroup/index.d.ts +0 -0
  30. package/es/{General/@next → @next}/ButtonGroup/index.js +0 -0
  31. package/es/@next/Checkbox/Checkbox.d.ts +12 -0
  32. package/es/@next/Checkbox/Checkbox.js +102 -0
  33. package/{lib/General/@next/Button/Button.stories.d.ts → es/@next/Checkbox/Checkbox.stories.d.ts} +0 -0
  34. package/es/@next/Checkbox/Checkbox.stories.js +18 -0
  35. package/es/@next/Checkbox/CheckboxStyle.d.ts +7 -0
  36. package/es/@next/Checkbox/CheckboxStyle.js +32 -0
  37. package/es/@next/Checkbox/index.d.ts +1 -0
  38. package/es/@next/Checkbox/index.js +1 -0
  39. package/es/@next/Icon/Icon.d.ts +6 -0
  40. package/es/@next/Icon/Icon.js +10 -0
  41. package/es/@next/Icon/Icon.test.d.ts +2 -0
  42. package/es/@next/Icon/IconStoriesStyles.d.ts +5 -0
  43. package/es/@next/Icon/IconStoriesStyles.js +14 -0
  44. package/es/@next/Icon/components/RiAccountCircleFill.d.ts +3 -0
  45. package/es/@next/Icon/components/RiAccountCircleFill.js +11 -0
  46. package/es/@next/Icon/components/RiAccountCircleLine.d.ts +3 -0
  47. package/es/@next/Icon/components/RiAccountCircleLine.js +11 -0
  48. package/es/@next/Icon/components/RiAdd.d.ts +3 -0
  49. package/es/@next/Icon/components/RiAdd.js +11 -0
  50. package/es/@next/Icon/components/RiAddCircleFill.d.ts +3 -0
  51. package/es/@next/Icon/components/RiAddCircleFill.js +11 -0
  52. package/es/@next/Icon/components/RiAddCircleLine.d.ts +3 -0
  53. package/es/@next/Icon/components/RiAddCircleLine.js +11 -0
  54. package/es/@next/Icon/components/RiAlarmWarningFill.d.ts +3 -0
  55. package/es/@next/Icon/components/RiAlarmWarningFill.js +11 -0
  56. package/es/@next/Icon/components/RiAlarmWarningLine.d.ts +3 -0
  57. package/es/@next/Icon/components/RiAlarmWarningLine.js +11 -0
  58. package/es/@next/Icon/components/RiArrowDownFill.d.ts +3 -0
  59. package/es/@next/Icon/components/RiArrowDownFill.js +11 -0
  60. package/es/@next/Icon/components/RiArrowDownLine.d.ts +3 -0
  61. package/es/@next/Icon/components/RiArrowDownLine.js +11 -0
  62. package/es/@next/Icon/components/RiArrowGoBackFill.d.ts +3 -0
  63. package/es/@next/Icon/components/RiArrowGoBackFill.js +11 -0
  64. package/es/@next/Icon/components/RiArrowGoBackLine.d.ts +3 -0
  65. package/es/@next/Icon/components/RiArrowGoBackLine.js +11 -0
  66. package/es/@next/Icon/components/RiArrowGoForwardFill.d.ts +3 -0
  67. package/es/@next/Icon/components/RiArrowGoForwardFill.js +11 -0
  68. package/es/@next/Icon/components/RiArrowGoForwardLine.d.ts +3 -0
  69. package/es/@next/Icon/components/RiArrowGoForwardLine.js +11 -0
  70. package/es/@next/Icon/components/RiArrowLeftFill.d.ts +3 -0
  71. package/es/@next/Icon/components/RiArrowLeftFill.js +11 -0
  72. package/es/@next/Icon/components/RiArrowLeftLine.d.ts +3 -0
  73. package/es/@next/Icon/components/RiArrowLeftLine.js +11 -0
  74. package/es/@next/Icon/components/RiArrowLeftRightFill.d.ts +3 -0
  75. package/es/@next/Icon/components/RiArrowLeftRightFill.js +11 -0
  76. package/es/@next/Icon/components/RiArrowLeftRightLine.d.ts +3 -0
  77. package/es/@next/Icon/components/RiArrowLeftRightLine.js +11 -0
  78. package/es/@next/Icon/components/RiArrowMDownFill.d.ts +3 -0
  79. package/es/@next/Icon/components/RiArrowMDownFill.js +11 -0
  80. package/es/@next/Icon/components/RiArrowMDownLine.d.ts +3 -0
  81. package/es/@next/Icon/components/RiArrowMDownLine.js +11 -0
  82. package/es/@next/Icon/components/RiArrowMLeftFill.d.ts +3 -0
  83. package/es/@next/Icon/components/RiArrowMLeftFill.js +11 -0
  84. package/es/@next/Icon/components/RiArrowMLeftLine.d.ts +3 -0
  85. package/es/@next/Icon/components/RiArrowMLeftLine.js +11 -0
  86. package/es/@next/Icon/components/RiArrowMRightFill.d.ts +3 -0
  87. package/es/@next/Icon/components/RiArrowMRightFill.js +11 -0
  88. package/es/@next/Icon/components/RiArrowMRightLine.d.ts +3 -0
  89. package/es/@next/Icon/components/RiArrowMRightLine.js +11 -0
  90. package/es/@next/Icon/components/RiArrowMUpFill.d.ts +3 -0
  91. package/es/@next/Icon/components/RiArrowMUpFill.js +11 -0
  92. package/es/@next/Icon/components/RiArrowMUpLine.d.ts +3 -0
  93. package/es/@next/Icon/components/RiArrowMUpLine.js +11 -0
  94. package/es/@next/Icon/components/RiArrowRightFill.d.ts +3 -0
  95. package/es/@next/Icon/components/RiArrowRightFill.js +11 -0
  96. package/es/@next/Icon/components/RiArrowRightLine.d.ts +3 -0
  97. package/es/@next/Icon/components/RiArrowRightLine.js +11 -0
  98. package/es/@next/Icon/components/RiArrowUpDownFill.d.ts +3 -0
  99. package/es/@next/Icon/components/RiArrowUpDownFill.js +11 -0
  100. package/es/@next/Icon/components/RiArrowUpDownLine.d.ts +3 -0
  101. package/es/@next/Icon/components/RiArrowUpDownLine.js +11 -0
  102. package/es/@next/Icon/components/RiArrowUpFill.d.ts +3 -0
  103. package/es/@next/Icon/components/RiArrowUpFill.js +11 -0
  104. package/es/@next/Icon/components/RiArrowUpLine.d.ts +3 -0
  105. package/es/@next/Icon/components/RiArrowUpLine.js +11 -0
  106. package/es/@next/Icon/components/RiArrowXsDownFill.d.ts +3 -0
  107. package/es/@next/Icon/components/RiArrowXsDownFill.js +11 -0
  108. package/es/@next/Icon/components/RiArrowXsUpFill.d.ts +3 -0
  109. package/es/@next/Icon/components/RiArrowXsUpFill.js +11 -0
  110. package/es/@next/Icon/components/RiCalendarFill.d.ts +3 -0
  111. package/es/@next/Icon/components/RiCalendarFill.js +11 -0
  112. package/es/@next/Icon/components/RiCalendarLine.d.ts +3 -0
  113. package/es/@next/Icon/components/RiCalendarLine.js +11 -0
  114. package/es/@next/Icon/components/RiCheck.d.ts +3 -0
  115. package/es/@next/Icon/components/RiCheck.js +11 -0
  116. package/es/@next/Icon/components/RiCheckboxFill.d.ts +3 -0
  117. package/es/@next/Icon/components/RiCheckboxFill.js +11 -0
  118. package/es/@next/Icon/components/RiCheckboxIndeterminateFill.d.ts +3 -0
  119. package/es/@next/Icon/components/RiCheckboxIndeterminateFill.js +12 -0
  120. package/es/@next/Icon/components/RiCheckboxIndeterminateLine.d.ts +3 -0
  121. package/es/@next/Icon/components/RiCheckboxIndeterminateLine.js +12 -0
  122. package/es/@next/Icon/components/RiCheckboxLine.d.ts +3 -0
  123. package/es/@next/Icon/components/RiCheckboxLine.js +11 -0
  124. package/es/@next/Icon/components/RiClose.d.ts +3 -0
  125. package/es/@next/Icon/components/RiClose.js +11 -0
  126. package/es/@next/Icon/components/RiCloseCircleFill.d.ts +3 -0
  127. package/es/@next/Icon/components/RiCloseCircleFill.js +11 -0
  128. package/es/@next/Icon/components/RiCloseCircleLine.d.ts +3 -0
  129. package/es/@next/Icon/components/RiCloseCircleLine.js +11 -0
  130. package/es/@next/Icon/components/RiDeleteBinFill.d.ts +3 -0
  131. package/es/@next/Icon/components/RiDeleteBinFill.js +11 -0
  132. package/es/@next/Icon/components/RiDeleteBinLine.d.ts +3 -0
  133. package/es/@next/Icon/components/RiDeleteBinLine.js +11 -0
  134. package/es/@next/Icon/components/RiErrorWarningFill.d.ts +3 -0
  135. package/es/@next/Icon/components/RiErrorWarningFill.js +11 -0
  136. package/es/@next/Icon/components/RiErrorWarningLine.d.ts +3 -0
  137. package/es/@next/Icon/components/RiErrorWarningLine.js +11 -0
  138. package/es/@next/Icon/components/RiInformationFill.d.ts +3 -0
  139. package/es/@next/Icon/components/RiInformationFill.js +11 -0
  140. package/es/@next/Icon/components/RiInformationLine.d.ts +3 -0
  141. package/es/@next/Icon/components/RiInformationLine.js +11 -0
  142. package/es/@next/Icon/components/RiMessageFill.d.ts +3 -0
  143. package/es/@next/Icon/components/RiMessageFill.js +11 -0
  144. package/es/@next/Icon/components/RiMessageLine.d.ts +3 -0
  145. package/es/@next/Icon/components/RiMessageLine.js +11 -0
  146. package/es/@next/Icon/components/RiPencilFill.d.ts +3 -0
  147. package/es/@next/Icon/components/RiPencilFill.js +11 -0
  148. package/es/@next/Icon/components/RiPencilLine.d.ts +3 -0
  149. package/es/@next/Icon/components/RiPencilLine.js +11 -0
  150. package/es/@next/Icon/components/RiQuestionFill.d.ts +3 -0
  151. package/es/@next/Icon/components/RiQuestionFill.js +11 -0
  152. package/es/@next/Icon/components/RiQuestionLine.d.ts +3 -0
  153. package/es/@next/Icon/components/RiQuestionLine.js +11 -0
  154. package/es/@next/Icon/components/RiReplyFill.d.ts +3 -0
  155. package/es/@next/Icon/components/RiReplyFill.js +11 -0
  156. package/es/@next/Icon/components/RiReplyLine.d.ts +3 -0
  157. package/es/@next/Icon/components/RiReplyLine.js +11 -0
  158. package/es/@next/Icon/components/RiSendPlaneFill.d.ts +3 -0
  159. package/es/@next/Icon/components/RiSendPlaneFill.js +11 -0
  160. package/es/@next/Icon/components/RiSendPlaneLine.d.ts +3 -0
  161. package/es/@next/Icon/components/RiSendPlaneLine.js +11 -0
  162. package/es/@next/Icon/components/RiSettingsFill.d.ts +3 -0
  163. package/es/@next/Icon/components/RiSettingsFill.js +11 -0
  164. package/es/@next/Icon/components/RiSettingsLine.d.ts +3 -0
  165. package/es/@next/Icon/components/RiSettingsLine.js +11 -0
  166. package/es/@next/Icon/components/index.d.ts +61 -0
  167. package/es/@next/Icon/components/index.js +61 -0
  168. package/es/@next/Icon/icons/icons.d.ts +8 -0
  169. package/es/@next/Icon/icons/icons.js +4 -0
  170. package/es/@next/Icon/index.d.ts +1 -0
  171. package/es/@next/Icon/index.js +1 -0
  172. package/es/{General/@next → @next}/Typography/Typography.d.ts +0 -0
  173. package/es/{General/@next → @next}/Typography/Typography.js +0 -0
  174. package/es/{General/@next → @next}/Typography/Typography.stories.d.ts +0 -0
  175. package/es/{General/@next → @next}/Typography/Typography.stories.js +3 -3
  176. package/es/{General/@next → @next}/Typography/Typography.test.d.ts +0 -0
  177. package/es/{General/@next → @next}/Typography/TypographyStyles.d.ts +0 -0
  178. package/es/{General/@next → @next}/Typography/TypographyStyles.js +3 -3
  179. package/es/@next/Typography/index.d.ts +1 -0
  180. package/es/@next/Typography/index.js +1 -0
  181. package/es/@next/index.d.ts +11 -3
  182. package/es/@next/index.js +13 -3
  183. package/es/{Utils/@next/borderRadius/index.d.ts → @next/utilities/borderRadius/BorderRadius.d.ts} +0 -0
  184. package/es/{Utils/@next/borderRadius/index.js → @next/utilities/borderRadius/BorderRadius.js} +0 -0
  185. package/es/@next/utilities/borderRadius/index.d.ts +1 -0
  186. package/es/@next/utilities/borderRadius/index.js +1 -0
  187. package/es/{Utils/@next/breakpoints/index.d.ts → @next/utilities/breakpoints/Breakpoints.d.ts} +0 -0
  188. package/es/{Utils/@next/breakpoints/index.js → @next/utilities/breakpoints/Breakpoints.js} +0 -0
  189. package/es/@next/utilities/breakpoints/index.d.ts +1 -0
  190. package/es/@next/utilities/breakpoints/index.js +1 -0
  191. package/es/{Utils/@next → @next/utilities}/colors/blue.d.ts +0 -0
  192. package/es/{Utils/@next → @next/utilities}/colors/blue.js +0 -0
  193. package/es/{Utils/@next → @next/utilities}/colors/green.d.ts +0 -0
  194. package/es/{Utils/@next → @next/utilities}/colors/green.js +0 -0
  195. package/es/{Utils/@next → @next/utilities}/colors/index.d.ts +0 -0
  196. package/es/{Utils/@next → @next/utilities}/colors/index.js +0 -0
  197. package/es/{Utils/@next → @next/utilities}/colors/neutral.d.ts +0 -0
  198. package/es/{Utils/@next → @next/utilities}/colors/neutral.js +0 -0
  199. package/es/{Utils/@next → @next/utilities}/colors/orange.d.ts +0 -0
  200. package/es/{Utils/@next → @next/utilities}/colors/orange.js +0 -0
  201. package/es/{Utils/@next → @next/utilities}/colors/red.d.ts +0 -0
  202. package/es/{Utils/@next → @next/utilities}/colors/red.js +0 -0
  203. package/es/{Utils/@next → @next/utilities}/colors/yellow.d.ts +0 -0
  204. package/es/{Utils/@next → @next/utilities}/colors/yellow.js +0 -0
  205. package/es/{Utils/@next/dropShadow/index.d.ts → @next/utilities/dropShadow/DropShadow.d.ts} +0 -0
  206. package/es/{Utils/@next/dropShadow/index.js → @next/utilities/dropShadow/DropShadow.js} +0 -0
  207. package/es/@next/utilities/dropShadow/index.d.ts +1 -0
  208. package/es/@next/utilities/dropShadow/index.js +1 -0
  209. package/es/{Utils/@next/fonts/index.d.ts → @next/utilities/fonts/Fonts.d.ts} +0 -0
  210. package/es/{Utils/@next/fonts/index.js → @next/utilities/fonts/Fonts.js} +0 -0
  211. package/es/@next/utilities/fonts/index.d.ts +1 -0
  212. package/es/@next/utilities/fonts/index.js +1 -0
  213. package/es/{Utils/@next/spacing/index.d.ts → @next/utilities/spacing/Spacing.d.ts} +0 -0
  214. package/es/{Utils/@next/spacing/index.js → @next/utilities/spacing/Spacing.js} +0 -0
  215. package/es/@next/utilities/spacing/index.d.ts +1 -0
  216. package/es/@next/utilities/spacing/index.js +1 -0
  217. package/es/index.d.ts +1 -8
  218. package/es/index.js +3 -10
  219. package/lib/{General/@next → @next}/Button/Button.d.ts +0 -0
  220. package/lib/{General/@next → @next}/Button/Button.js +2 -2
  221. package/lib/{General/@next/Button/DesctructiveButton.stories.d.ts → @next/Button/Button.stories.d.ts} +0 -0
  222. package/lib/{General/@next → @next}/Button/Button.stories.js +2 -2
  223. package/lib/{General/@next → @next}/Button/ButtonStyle.d.ts +0 -0
  224. package/lib/{General/@next → @next}/Button/ButtonStyle.js +11 -9
  225. package/lib/{General/@next/Button/OutlineButton.stories.d.ts → @next/Button/DesctructiveButton.stories.d.ts} +0 -0
  226. package/lib/{General/@next → @next}/Button/DesctructiveButton.stories.js +2 -2
  227. package/lib/{General/@next → @next}/Button/DesctructiveButtonStyle.d.ts +0 -0
  228. package/lib/{General/@next → @next}/Button/DesctructiveButtonStyle.js +3 -3
  229. package/lib/{General/@next/Button/OutlineMonochromeButton.stories.d.ts → @next/Button/OutlineButton.stories.d.ts} +0 -0
  230. package/lib/{General/@next → @next}/Button/OutlineButton.stories.js +2 -2
  231. package/lib/{General/@next → @next}/Button/OutlineButtonStyle.d.ts +0 -0
  232. package/lib/{General/@next → @next}/Button/OutlineButtonStyle.js +2 -2
  233. package/lib/{General/@next/Button/PrimaryButton.stories.d.ts → @next/Button/OutlineMonochromeButton.stories.d.ts} +0 -0
  234. package/lib/{General/@next → @next}/Button/OutlineMonochromeButton.stories.js +2 -2
  235. package/lib/{General/@next → @next}/Button/OutlineMonochromeStyle.d.ts +0 -0
  236. package/lib/{General/@next → @next}/Button/OutlineMonochromeStyle.js +4 -4
  237. package/lib/{General/@next/ButtonGroup/ButtonGroup.stories.d.ts → @next/Button/PrimaryButton.stories.d.ts} +0 -0
  238. package/lib/{General/@next → @next}/Button/PrimaryButton.stories.js +2 -2
  239. package/lib/{General/@next → @next}/Button/PrimaryButtonStyle.d.ts +0 -0
  240. package/lib/{General/@next → @next}/Button/PrimaryButtonStyle.js +2 -2
  241. package/lib/{General/@next → @next}/Button/index.d.ts +0 -0
  242. package/lib/{General/@next → @next}/Button/index.js +0 -0
  243. package/lib/@next/ButtonGroup/ButtonGroup.stories.d.ts +4 -0
  244. package/lib/{General/@next → @next}/ButtonGroup/ButtonGroup.stories.js +2 -2
  245. package/lib/{General/@next → @next}/ButtonGroup/ButtonGroupStyle.d.ts +0 -0
  246. package/lib/{General/@next → @next}/ButtonGroup/ButtonGroupStyle.js +4 -4
  247. package/lib/{General/@next → @next}/ButtonGroup/index.d.ts +0 -0
  248. package/lib/{General/@next → @next}/ButtonGroup/index.js +0 -0
  249. package/lib/@next/Checkbox/Checkbox.d.ts +12 -0
  250. package/lib/@next/Checkbox/Checkbox.js +110 -0
  251. package/lib/@next/Checkbox/Checkbox.stories.d.ts +4 -0
  252. package/lib/@next/Checkbox/Checkbox.stories.js +25 -0
  253. package/lib/@next/Checkbox/CheckboxStyle.d.ts +7 -0
  254. package/lib/@next/Checkbox/CheckboxStyle.js +43 -0
  255. package/lib/@next/Checkbox/index.d.ts +1 -0
  256. package/lib/@next/Checkbox/index.js +9 -0
  257. package/lib/@next/Icon/Icon.d.ts +6 -0
  258. package/lib/@next/Icon/Icon.js +16 -0
  259. package/lib/@next/Icon/Icon.test.d.ts +2 -0
  260. package/lib/@next/Icon/IconStoriesStyles.d.ts +5 -0
  261. package/lib/@next/Icon/IconStoriesStyles.js +22 -0
  262. package/lib/@next/Icon/components/RiAccountCircleFill.d.ts +3 -0
  263. package/lib/@next/Icon/components/RiAccountCircleFill.js +19 -0
  264. package/lib/@next/Icon/components/RiAccountCircleLine.d.ts +3 -0
  265. package/lib/@next/Icon/components/RiAccountCircleLine.js +19 -0
  266. package/lib/@next/Icon/components/RiAdd.d.ts +3 -0
  267. package/lib/@next/Icon/components/RiAdd.js +19 -0
  268. package/lib/@next/Icon/components/RiAddCircleFill.d.ts +3 -0
  269. package/lib/@next/Icon/components/RiAddCircleFill.js +19 -0
  270. package/lib/@next/Icon/components/RiAddCircleLine.d.ts +3 -0
  271. package/lib/@next/Icon/components/RiAddCircleLine.js +19 -0
  272. package/lib/@next/Icon/components/RiAlarmWarningFill.d.ts +3 -0
  273. package/lib/@next/Icon/components/RiAlarmWarningFill.js +19 -0
  274. package/lib/@next/Icon/components/RiAlarmWarningLine.d.ts +3 -0
  275. package/lib/@next/Icon/components/RiAlarmWarningLine.js +19 -0
  276. package/lib/@next/Icon/components/RiArrowDownFill.d.ts +3 -0
  277. package/lib/@next/Icon/components/RiArrowDownFill.js +19 -0
  278. package/lib/@next/Icon/components/RiArrowDownLine.d.ts +3 -0
  279. package/lib/@next/Icon/components/RiArrowDownLine.js +19 -0
  280. package/lib/@next/Icon/components/RiArrowGoBackFill.d.ts +3 -0
  281. package/lib/@next/Icon/components/RiArrowGoBackFill.js +19 -0
  282. package/lib/@next/Icon/components/RiArrowGoBackLine.d.ts +3 -0
  283. package/lib/@next/Icon/components/RiArrowGoBackLine.js +19 -0
  284. package/lib/@next/Icon/components/RiArrowGoForwardFill.d.ts +3 -0
  285. package/lib/@next/Icon/components/RiArrowGoForwardFill.js +19 -0
  286. package/lib/@next/Icon/components/RiArrowGoForwardLine.d.ts +3 -0
  287. package/lib/@next/Icon/components/RiArrowGoForwardLine.js +19 -0
  288. package/lib/@next/Icon/components/RiArrowLeftFill.d.ts +3 -0
  289. package/lib/@next/Icon/components/RiArrowLeftFill.js +19 -0
  290. package/lib/@next/Icon/components/RiArrowLeftLine.d.ts +3 -0
  291. package/lib/@next/Icon/components/RiArrowLeftLine.js +19 -0
  292. package/lib/@next/Icon/components/RiArrowLeftRightFill.d.ts +3 -0
  293. package/lib/@next/Icon/components/RiArrowLeftRightFill.js +19 -0
  294. package/lib/@next/Icon/components/RiArrowLeftRightLine.d.ts +3 -0
  295. package/lib/@next/Icon/components/RiArrowLeftRightLine.js +19 -0
  296. package/lib/@next/Icon/components/RiArrowMDownFill.d.ts +3 -0
  297. package/lib/@next/Icon/components/RiArrowMDownFill.js +19 -0
  298. package/lib/@next/Icon/components/RiArrowMDownLine.d.ts +3 -0
  299. package/lib/@next/Icon/components/RiArrowMDownLine.js +19 -0
  300. package/lib/@next/Icon/components/RiArrowMLeftFill.d.ts +3 -0
  301. package/lib/@next/Icon/components/RiArrowMLeftFill.js +19 -0
  302. package/lib/@next/Icon/components/RiArrowMLeftLine.d.ts +3 -0
  303. package/lib/@next/Icon/components/RiArrowMLeftLine.js +19 -0
  304. package/lib/@next/Icon/components/RiArrowMRightFill.d.ts +3 -0
  305. package/lib/@next/Icon/components/RiArrowMRightFill.js +19 -0
  306. package/lib/@next/Icon/components/RiArrowMRightLine.d.ts +3 -0
  307. package/lib/@next/Icon/components/RiArrowMRightLine.js +19 -0
  308. package/lib/@next/Icon/components/RiArrowMUpFill.d.ts +3 -0
  309. package/lib/@next/Icon/components/RiArrowMUpFill.js +19 -0
  310. package/lib/@next/Icon/components/RiArrowMUpLine.d.ts +3 -0
  311. package/lib/@next/Icon/components/RiArrowMUpLine.js +19 -0
  312. package/lib/@next/Icon/components/RiArrowRightFill.d.ts +3 -0
  313. package/lib/@next/Icon/components/RiArrowRightFill.js +19 -0
  314. package/lib/@next/Icon/components/RiArrowRightLine.d.ts +3 -0
  315. package/lib/@next/Icon/components/RiArrowRightLine.js +19 -0
  316. package/lib/@next/Icon/components/RiArrowUpDownFill.d.ts +3 -0
  317. package/lib/@next/Icon/components/RiArrowUpDownFill.js +19 -0
  318. package/lib/@next/Icon/components/RiArrowUpDownLine.d.ts +3 -0
  319. package/lib/@next/Icon/components/RiArrowUpDownLine.js +19 -0
  320. package/lib/@next/Icon/components/RiArrowUpFill.d.ts +3 -0
  321. package/lib/@next/Icon/components/RiArrowUpFill.js +19 -0
  322. package/lib/@next/Icon/components/RiArrowUpLine.d.ts +3 -0
  323. package/lib/@next/Icon/components/RiArrowUpLine.js +19 -0
  324. package/lib/@next/Icon/components/RiArrowXsDownFill.d.ts +3 -0
  325. package/lib/@next/Icon/components/RiArrowXsDownFill.js +19 -0
  326. package/lib/@next/Icon/components/RiArrowXsUpFill.d.ts +3 -0
  327. package/lib/@next/Icon/components/RiArrowXsUpFill.js +19 -0
  328. package/lib/@next/Icon/components/RiCalendarFill.d.ts +3 -0
  329. package/lib/@next/Icon/components/RiCalendarFill.js +19 -0
  330. package/lib/@next/Icon/components/RiCalendarLine.d.ts +3 -0
  331. package/lib/@next/Icon/components/RiCalendarLine.js +19 -0
  332. package/lib/@next/Icon/components/RiCheck.d.ts +3 -0
  333. package/lib/@next/Icon/components/RiCheck.js +19 -0
  334. package/lib/@next/Icon/components/RiCheckboxFill.d.ts +3 -0
  335. package/lib/@next/Icon/components/RiCheckboxFill.js +19 -0
  336. package/lib/@next/Icon/components/RiCheckboxIndeterminateFill.d.ts +3 -0
  337. package/lib/@next/Icon/components/RiCheckboxIndeterminateFill.js +20 -0
  338. package/lib/@next/Icon/components/RiCheckboxIndeterminateLine.d.ts +3 -0
  339. package/lib/@next/Icon/components/RiCheckboxIndeterminateLine.js +20 -0
  340. package/lib/@next/Icon/components/RiCheckboxLine.d.ts +3 -0
  341. package/lib/@next/Icon/components/RiCheckboxLine.js +19 -0
  342. package/lib/@next/Icon/components/RiClose.d.ts +3 -0
  343. package/lib/@next/Icon/components/RiClose.js +19 -0
  344. package/lib/@next/Icon/components/RiCloseCircleFill.d.ts +3 -0
  345. package/lib/@next/Icon/components/RiCloseCircleFill.js +19 -0
  346. package/lib/@next/Icon/components/RiCloseCircleLine.d.ts +3 -0
  347. package/lib/@next/Icon/components/RiCloseCircleLine.js +19 -0
  348. package/lib/@next/Icon/components/RiDeleteBinFill.d.ts +3 -0
  349. package/lib/@next/Icon/components/RiDeleteBinFill.js +19 -0
  350. package/lib/@next/Icon/components/RiDeleteBinLine.d.ts +3 -0
  351. package/lib/@next/Icon/components/RiDeleteBinLine.js +19 -0
  352. package/lib/@next/Icon/components/RiErrorWarningFill.d.ts +3 -0
  353. package/lib/@next/Icon/components/RiErrorWarningFill.js +19 -0
  354. package/lib/@next/Icon/components/RiErrorWarningLine.d.ts +3 -0
  355. package/lib/@next/Icon/components/RiErrorWarningLine.js +19 -0
  356. package/lib/@next/Icon/components/RiInformationFill.d.ts +3 -0
  357. package/lib/@next/Icon/components/RiInformationFill.js +19 -0
  358. package/lib/@next/Icon/components/RiInformationLine.d.ts +3 -0
  359. package/lib/@next/Icon/components/RiInformationLine.js +19 -0
  360. package/lib/@next/Icon/components/RiMessageFill.d.ts +3 -0
  361. package/lib/@next/Icon/components/RiMessageFill.js +19 -0
  362. package/lib/@next/Icon/components/RiMessageLine.d.ts +3 -0
  363. package/lib/@next/Icon/components/RiMessageLine.js +19 -0
  364. package/lib/@next/Icon/components/RiPencilFill.d.ts +3 -0
  365. package/lib/@next/Icon/components/RiPencilFill.js +19 -0
  366. package/lib/@next/Icon/components/RiPencilLine.d.ts +3 -0
  367. package/lib/@next/Icon/components/RiPencilLine.js +19 -0
  368. package/lib/@next/Icon/components/RiQuestionFill.d.ts +3 -0
  369. package/lib/@next/Icon/components/RiQuestionFill.js +19 -0
  370. package/lib/@next/Icon/components/RiQuestionLine.d.ts +3 -0
  371. package/lib/@next/Icon/components/RiQuestionLine.js +19 -0
  372. package/lib/@next/Icon/components/RiReplyFill.d.ts +3 -0
  373. package/lib/@next/Icon/components/RiReplyFill.js +19 -0
  374. package/lib/@next/Icon/components/RiReplyLine.d.ts +3 -0
  375. package/lib/@next/Icon/components/RiReplyLine.js +19 -0
  376. package/lib/@next/Icon/components/RiSendPlaneFill.d.ts +3 -0
  377. package/lib/@next/Icon/components/RiSendPlaneFill.js +19 -0
  378. package/lib/@next/Icon/components/RiSendPlaneLine.d.ts +3 -0
  379. package/lib/@next/Icon/components/RiSendPlaneLine.js +19 -0
  380. package/lib/@next/Icon/components/RiSettingsFill.d.ts +3 -0
  381. package/lib/@next/Icon/components/RiSettingsFill.js +19 -0
  382. package/lib/@next/Icon/components/RiSettingsLine.d.ts +3 -0
  383. package/lib/@next/Icon/components/RiSettingsLine.js +19 -0
  384. package/lib/@next/Icon/components/index.d.ts +61 -0
  385. package/lib/@next/Icon/components/index.js +127 -0
  386. package/lib/@next/Icon/icons/icons.d.ts +8 -0
  387. package/lib/@next/Icon/icons/icons.js +12 -0
  388. package/lib/@next/Icon/index.d.ts +1 -0
  389. package/lib/@next/Icon/index.js +9 -0
  390. package/lib/{General/@next → @next}/Typography/Typography.d.ts +0 -0
  391. package/lib/{General/@next → @next}/Typography/Typography.js +0 -0
  392. package/lib/{General/@next → @next}/Typography/Typography.stories.d.ts +0 -0
  393. package/lib/{General/@next → @next}/Typography/Typography.stories.js +3 -3
  394. package/lib/{General/@next → @next}/Typography/Typography.test.d.ts +0 -0
  395. package/lib/{General/@next → @next}/Typography/TypographyStyles.d.ts +0 -0
  396. package/lib/{General/@next → @next}/Typography/TypographyStyles.js +3 -3
  397. package/lib/@next/Typography/index.d.ts +1 -0
  398. package/lib/@next/Typography/index.js +9 -0
  399. package/lib/@next/index.d.ts +11 -3
  400. package/lib/@next/index.js +22 -6
  401. package/lib/{Utils/@next/borderRadius/index.d.ts → @next/utilities/borderRadius/BorderRadius.d.ts} +0 -0
  402. package/lib/{Utils/@next/borderRadius/index.js → @next/utilities/borderRadius/BorderRadius.js} +0 -0
  403. package/lib/@next/utilities/borderRadius/index.d.ts +1 -0
  404. package/lib/@next/utilities/borderRadius/index.js +9 -0
  405. package/lib/{Utils/@next/breakpoints/index.d.ts → @next/utilities/breakpoints/Breakpoints.d.ts} +0 -0
  406. package/lib/{Utils/@next/breakpoints/index.js → @next/utilities/breakpoints/Breakpoints.js} +0 -0
  407. package/lib/@next/utilities/breakpoints/index.d.ts +1 -0
  408. package/lib/@next/utilities/breakpoints/index.js +9 -0
  409. package/lib/{Utils/@next → @next/utilities}/colors/blue.d.ts +0 -0
  410. package/lib/{Utils/@next → @next/utilities}/colors/blue.js +0 -0
  411. package/lib/{Utils/@next → @next/utilities}/colors/green.d.ts +0 -0
  412. package/lib/{Utils/@next → @next/utilities}/colors/green.js +0 -0
  413. package/lib/{Utils/@next → @next/utilities}/colors/index.d.ts +0 -0
  414. package/lib/{Utils/@next → @next/utilities}/colors/index.js +0 -0
  415. package/lib/{Utils/@next → @next/utilities}/colors/neutral.d.ts +0 -0
  416. package/lib/{Utils/@next → @next/utilities}/colors/neutral.js +0 -0
  417. package/lib/{Utils/@next → @next/utilities}/colors/orange.d.ts +0 -0
  418. package/lib/{Utils/@next → @next/utilities}/colors/orange.js +0 -0
  419. package/lib/{Utils/@next → @next/utilities}/colors/red.d.ts +0 -0
  420. package/lib/{Utils/@next → @next/utilities}/colors/red.js +0 -0
  421. package/lib/{Utils/@next → @next/utilities}/colors/yellow.d.ts +0 -0
  422. package/lib/{Utils/@next → @next/utilities}/colors/yellow.js +0 -0
  423. package/lib/{Utils/@next/dropShadow/index.d.ts → @next/utilities/dropShadow/DropShadow.d.ts} +0 -0
  424. package/lib/{Utils/@next/dropShadow/index.js → @next/utilities/dropShadow/DropShadow.js} +0 -0
  425. package/lib/@next/utilities/dropShadow/index.d.ts +1 -0
  426. package/lib/@next/utilities/dropShadow/index.js +9 -0
  427. package/lib/{Utils/@next/fonts/index.d.ts → @next/utilities/fonts/Fonts.d.ts} +0 -0
  428. package/lib/{Utils/@next/fonts/index.js → @next/utilities/fonts/Fonts.js} +0 -0
  429. package/lib/@next/utilities/fonts/index.d.ts +1 -0
  430. package/lib/@next/utilities/fonts/index.js +9 -0
  431. package/lib/{Utils/@next/spacing/index.d.ts → @next/utilities/spacing/Spacing.d.ts} +0 -0
  432. package/lib/{Utils/@next/spacing/index.js → @next/utilities/spacing/Spacing.js} +0 -0
  433. package/lib/@next/utilities/spacing/index.d.ts +1 -0
  434. package/lib/@next/utilities/spacing/index.js +9 -0
  435. package/lib/index.d.ts +1 -8
  436. package/lib/index.js +237 -20
  437. package/package.json +8 -5
  438. package/es/General/@next/Typography/index.d.ts +0 -3
  439. package/es/General/@next/Typography/index.js +0 -3
  440. package/lib/General/@next/Typography/index.d.ts +0 -3
  441. package/lib/General/@next/Typography/index.js +0 -8
File without changes
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
3
  var _excluded = ["children"];
4
4
  import React from 'react';
5
- import Typography from '../Typography';
5
+ import { Typography } from '../Typography';
6
6
  import { BasicButton } from './ButtonStyle';
7
7
  export var Button = function Button(_ref) {
8
8
  var children = _ref.children,
@@ -1,11 +1,11 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { Button } from './Button';
4
- import { BaseContainer } from '../../../Layout/GlintsContainer/GlintsContainer';
4
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
5
5
  Button.displayName = 'Button';
6
6
  var defaultText = 'Label';
7
7
  export default {
8
- title: 'Button/@next/Button',
8
+ title: '@next/Button',
9
9
  component: Button,
10
10
  decorators: [function (Story) {
11
11
  return /*#__PURE__*/React.createElement(BaseContainer, null, Story());
@@ -1,10 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import styled from 'styled-components';
3
- import { Breakpoints } from '../../..';
4
- import { borderRadius4 } from '../../../Utils/@next/borderRadius';
5
- import { Neutral } from '../../../Utils/@next/colors';
6
- import { button, buttonFocused, insetButtonPressed } from '../../../Utils/@next/dropShadow';
7
- import { space12, space16, space24, space4, space8 } from '../../../Utils/@next/spacing';
3
+ import * as Breakpoints from '../utilities/breakpoints';
4
+ import { borderRadius4 } from '../utilities/borderRadius';
5
+ import { Neutral } from '../utilities/colors';
6
+ import { button, buttonFocused, insetButtonPressed } from '../utilities/dropShadow';
7
+ import { space12, space16, space24, space4, space8 } from '../utilities/spacing';
8
8
  var defaultButtonSizeStyle = "\n width: 75px;\n height: 36px;\n padding: " + space8 + " " + space16 + ";\n\n @media (max-width: " + Breakpoints.large + ") {\n width: 71px;\n }\n";
9
9
  var largeButtonSizeStyle = "\n width: 91px;\n height: 44px;\n padding: " + space12 + " " + space24 + ";\n\n @media (max-width: " + Breakpoints.large + ") {\n width: 87px;\n }\n";
10
10
  var slimButtonSizeStyle = "\n width: 67px;\n height: 32px;\n padding: " + space4 + " " + space12 + ";\n\n @media (max-width: " + Breakpoints.large + ") {\n width: 63px;\n }\n";
@@ -28,7 +28,7 @@ export var BasicButton = styled.button.attrs(function (_ref) {
28
28
  };
29
29
  }).withConfig({
30
30
  displayName: "ButtonStyle__BasicButton",
31
- componentId: "sc-1kgddd4-0"
31
+ componentId: "sc-8t0676-0"
32
32
  })(["display:flex;gap:10px;border-width:1px;border-style:solid;border-radius:", ";flex-direction:row;align-items:center;justify-content:center;flex:none;order:0;flex-grow:0;color:", ";background:", ";border-color:", ";box-shadow:", ";&:hover{cursor:pointer;background:", ";}&:focus{outline:none;border-color:", ";box-shadow:", ";}&:active{background:", ";border:1px solid ", ";box-shadow:", ";}&:disabled{color:", ";background:", ";}", " > svg{width:18px;height:18px;}"], borderRadius4, Neutral.B18, Neutral.B100, Neutral.B68, button, Neutral.B99, Neutral.B100, buttonFocused, Neutral.B95, Neutral.B68, insetButtonPressed, Neutral.B68, Neutral.B95, function (_ref2) {
33
33
  var size = _ref2.size;
34
34
  var sizeStyle = buttonSizeStyleMap[size];
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { DestructiveButton } from './DesctructiveButtonStyle';
3
- import { BaseContainer } from '../../../Layout/GlintsContainer/GlintsContainer';
3
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
4
4
  DestructiveButton.displayName = 'DestructiveButton';
5
5
  var defaultText = 'Label';
6
6
  export default {
7
- title: 'Button/@next/DestructiveButton',
7
+ title: '@next/DestructiveButton',
8
8
  component: DestructiveButton,
9
9
  decorators: [function (Story) {
10
10
  return /*#__PURE__*/React.createElement(BaseContainer, null, Story());
@@ -1,8 +1,8 @@
1
1
  import styled from 'styled-components';
2
- import { Neutral, Red } from '../../../Utils/@next/colors';
3
- import { insetButtonPressed } from '../../../Utils/@next/dropShadow';
2
+ import { Neutral, Red } from '../utilities/colors';
3
+ import { insetButtonPressed } from '../utilities/dropShadow';
4
4
  import { Button } from './Button';
5
5
  export var DestructiveButton = styled(Button).withConfig({
6
6
  displayName: "DesctructiveButtonStyle__DestructiveButton",
7
- componentId: "sc-18ao9if-0"
7
+ componentId: "sc-1erj0cn-0"
8
8
  })(["color:", ";background:", ";border:none;&:hover{background:", ";box-shadow:0px 1px 0px rgba(0,0,0,0.08),inset 0px -1px 0px rgba(0,0,0,0.2);}&:focus{box-shadow:0px 0px 0px 2px rgba(69,143,255,1);}&:active{background:", ";box-shadow:", ";}"], Neutral.B100, Red.B93, Red.B74, Red.B65, insetButtonPressed);
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { OutlineButton } from './OutlineButtonStyle';
3
- import { BaseContainer } from '../../../Layout/GlintsContainer/GlintsContainer';
3
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
4
4
  OutlineButton.displayName = 'OutlineButton';
5
5
  var defaultText = 'Label';
6
6
  export default {
7
- title: 'Button/@next/OutlineButton',
7
+ title: '@next/OutlineButton',
8
8
  component: OutlineButton,
9
9
  decorators: [function (Story) {
10
10
  return /*#__PURE__*/React.createElement(BaseContainer, null, Story());
@@ -1,7 +1,7 @@
1
1
  import styled from 'styled-components';
2
- import { button } from '../../../Utils/@next/dropShadow';
2
+ import { button } from '../utilities/dropShadow';
3
3
  import { Button } from './Button';
4
4
  export var OutlineButton = styled(Button).withConfig({
5
5
  displayName: "OutlineButtonStyle__OutlineButton",
6
- componentId: "sc-14kl82g-0"
6
+ componentId: "sc-q766em-0"
7
7
  })(["filter:drop-shadow(", ");"], button);
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { OutlineMonochromeButton } from './OutlineMonochromeStyle';
3
- import { BaseContainer } from '../../../Layout/GlintsContainer/GlintsContainer';
3
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
4
4
  OutlineMonochromeButton.displayName = 'OutlineMonochromeButton';
5
5
  var defaultText = 'Label';
6
6
  export default {
7
- title: 'Button/@next/OutlineMonochromeButton',
7
+ title: '@next/OutlineMonochromeButton',
8
8
  component: OutlineMonochromeButton,
9
9
  decorators: [function (Story) {
10
10
  return /*#__PURE__*/React.createElement(BaseContainer, null, Story());
@@ -1,11 +1,11 @@
1
1
  import styled from 'styled-components';
2
- import { Red } from '../../../Utils/@next/colors';
3
- import { B100 } from '../../../Utils/@next/colors/neutral';
4
- import { button } from '../../../Utils/@next/dropShadow';
2
+ import { Red } from '../utilities/colors';
3
+ import { B100 } from '../utilities/colors/neutral';
4
+ import { button } from '../utilities/dropShadow';
5
5
  import { Button } from './Button';
6
6
  export var OutlineMonochromeButton = styled(Button).withConfig({
7
7
  displayName: "OutlineMonochromeStyle__OutlineMonochromeButton",
8
- componentId: "sc-1s1n061-0"
8
+ componentId: "sc-2c3b7a-0"
9
9
  })(["", " color:", ";border:1px solid ", ";filter:drop-shadow(", ");&:hover{background:", ";opacity:0.9;box-shadow:", ";}&:active{background:", ";opacity:1;border:1px solid ", ";}"], function (_ref) {
10
10
  var active = _ref.active;
11
11
  return active ? "&[style] {\n color: " + B100 + " !important;\n background: " + Red.B93 + " !important;\n }" : "";
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { PrimaryButton } from './PrimaryButtonStyle';
3
- import { BaseContainer } from '../../../Layout/GlintsContainer/GlintsContainer';
3
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
4
4
  PrimaryButton.displayName = 'PrimaryButton';
5
5
  var defaultText = 'Label';
6
6
  export default {
7
- title: 'Button/@next/PrimaryButton',
7
+ title: '@next/PrimaryButton',
8
8
  component: PrimaryButton,
9
9
  decorators: [function (Story) {
10
10
  return /*#__PURE__*/React.createElement(BaseContainer, null, Story());
@@ -1,7 +1,7 @@
1
1
  import styled from 'styled-components';
2
- import { Blue, Neutral } from '../../../Utils/@next/colors';
2
+ import { Blue, Neutral } from '../utilities/colors';
3
3
  import { Button } from './Button';
4
4
  export var PrimaryButton = styled(Button).withConfig({
5
5
  displayName: "PrimaryButtonStyle__PrimaryButton",
6
- componentId: "sc-jdev9e-0"
6
+ componentId: "sc-1iczr6c-0"
7
7
  })(["color:", ";background:", ";border:none;&:hover{background:", ";opacity:0.9;box-shadow:0px 1px 0px rgba(0,0,0,0.08),inset 0px -1px 0px rgba(0,0,0,0.2);}&:active{background:", ";opacity:1;}"], Neutral.B100, Blue.S99, Blue.S100, Blue.S100);
File without changes
File without changes
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ButtonGroup } from './ButtonGroupStyle';
3
- import { BaseContainer } from '../../../Layout/GlintsContainer/GlintsContainer';
3
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
4
4
  import { PrimaryButton } from '../Button/PrimaryButtonStyle';
5
5
  import { Button } from '../Button/Button';
6
6
  import { OutlineButton } from '../Button/OutlineButtonStyle';
7
7
  ButtonGroup.displayName = 'ButtonGroup';
8
8
  export default {
9
- title: 'ButtonGroup/@next/ButtonGroup',
9
+ title: '@next/ButtonGroup',
10
10
  component: ButtonGroup,
11
11
  decorators: [function (Story) {
12
12
  return /*#__PURE__*/React.createElement(BaseContainer, {
@@ -1,10 +1,10 @@
1
1
  import styled from 'styled-components';
2
- import { borderRadius4 } from '../../../Utils/@next/borderRadius';
3
- import { B68 } from '../../../Utils/@next/colors/neutral';
4
- import { space8 } from '../../../Utils/@next/spacing';
2
+ import { borderRadius4 } from '../utilities/borderRadius';
3
+ import { B68 } from '../utilities/colors/neutral';
4
+ import { space8 } from '../utilities/spacing';
5
5
  export var ButtonGroup = styled.div.withConfig({
6
6
  displayName: "ButtonGroupStyle__ButtonGroup",
7
- componentId: "sc-93hu7f-0"
7
+ componentId: "sc-7vhxrt-0"
8
8
  })(["display:flex;flex-direction:row;align-items:center;padding:0px;> button{z-index:1;}", " ", ""], function (_ref) {
9
9
  var segmented = _ref.segmented;
10
10
  return segmented ? "> button {\n border-radius: 0;\n border-right: 0;\n \n :nth-child(1) {\n border-radius: " + borderRadius4 + " 0px 0px " + borderRadius4 + "; \n }\n\n :nth-last-child(1) {\n border-radius: 0px " + borderRadius4 + " " + borderRadius4 + " 0px;\n border-right: 1px solid " + B68 + "\n }\n }" : "gap: " + space8 + ";";
File without changes
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface CheckboxProps extends Omit<React.HtmlHTMLAttributes<HTMLInputElement>, 'type' | 'onChange'> {
3
+ id?: string;
4
+ label?: string;
5
+ hasError?: boolean;
6
+ indeterminate?: boolean;
7
+ checked?: boolean;
8
+ disabled?: boolean;
9
+ helpText?: string;
10
+ onChange?(newChecked: boolean, id: string): void;
11
+ }
12
+ export declare const Checkbox: ({ label, id, checked, onChange, disabled, indeterminate, hasError, helpText, ...otherProps }: CheckboxProps) => JSX.Element;
@@ -0,0 +1,102 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
+ var _excluded = ["label", "id", "checked", "onChange", "disabled", "indeterminate", "hasError", "helpText"];
4
+ import React, { useEffect, useRef, useState } from 'react';
5
+ import { nanoid } from 'nanoid';
6
+ import { StyledCheckbox, StyledCheckboxContainer, StyledColumn, StyledContainer, StyledLeftColumn, StyledRow } from './CheckboxStyle';
7
+ import { noop } from 'lodash-es';
8
+ import { Icon } from '../Icon';
9
+ import { Typography } from '../Typography';
10
+ import { Neutral, Red, Blue } from '../utilities/colors';
11
+ var randomId = nanoid();
12
+ export var Checkbox = function Checkbox(_ref) {
13
+ var label = _ref.label,
14
+ id = _ref.id,
15
+ checked = _ref.checked,
16
+ onChange = _ref.onChange,
17
+ disabled = _ref.disabled,
18
+ indeterminate = _ref.indeterminate,
19
+ hasError = _ref.hasError,
20
+ helpText = _ref.helpText,
21
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
22
+ var checkBoxId = id ? id : randomId;
23
+ var labelId = "label-" + checkBoxId;
24
+ var inputNode = useRef(null);
25
+ var _useState = useState(false),
26
+ checkedState = _useState[0],
27
+ setCheckedState = _useState[1];
28
+ var _useState2 = useState(false),
29
+ isFocused = _useState2[0],
30
+ setIsFocused = _useState2[1];
31
+ var checkedIcon = indeterminate ? 'ri-checkbox-indeterminate-fill' : 'ri-checkbox-fill';
32
+ var iconFill = disabled ? Neutral.B95 : hasError ? Red.B93 : Blue.S99;
33
+ useEffect(function () {
34
+ var value = indeterminate ? 'mixed' : checked;
35
+ setCheckedState(value);
36
+ }, [checked, indeterminate]);
37
+ var handleClick = function handleClick() {
38
+ if (!onChange || !inputNode.current || disabled) {
39
+ return;
40
+ }
41
+ var checkedValue = !checkedState;
42
+ setCheckedState(checkedValue);
43
+ onChange(checkedValue, checkBoxId);
44
+ };
45
+ return /*#__PURE__*/React.createElement(StyledContainer, {
46
+ "aria-disabled": disabled
47
+ }, /*#__PURE__*/React.createElement(StyledRow, null, /*#__PURE__*/React.createElement(StyledLeftColumn, null, /*#__PURE__*/React.createElement(StyledCheckboxContainer, null, /*#__PURE__*/React.createElement(StyledCheckbox, {
48
+ role: "checkbox",
49
+ "aria-labelledby": labelId,
50
+ "aria-checked": checkedState,
51
+ "data-focus": isFocused,
52
+ onClick: function onClick() {
53
+ return handleClick();
54
+ },
55
+ onMouseDown: function onMouseDown() {
56
+ return setIsFocused(false);
57
+ },
58
+ onMouseUp: function onMouseUp() {
59
+ return setIsFocused(false);
60
+ },
61
+ hasError: hasError
62
+ }, /*#__PURE__*/React.createElement("input", _extends({
63
+ ref: inputNode,
64
+ disabled: disabled,
65
+ id: checkBoxId,
66
+ type: "checkbox",
67
+ onChange: noop,
68
+ checked: checked,
69
+ onFocus: function onFocus() {
70
+ return setIsFocused(true);
71
+ },
72
+ onBlur: function onBlur() {
73
+ return setIsFocused(false);
74
+ }
75
+ }, otherProps))), /*#__PURE__*/React.createElement(Icon, {
76
+ name: checkedIcon,
77
+ height: "20px",
78
+ width: "20px",
79
+ fill: iconFill
80
+ }))), /*#__PURE__*/React.createElement(StyledColumn, null, /*#__PURE__*/React.createElement("label", {
81
+ id: labelId,
82
+ htmlFor: checkBoxId,
83
+ onClick: function onClick(e) {
84
+ e.preventDefault();
85
+ handleClick();
86
+ },
87
+ onMouseDown: function onMouseDown(e) {
88
+ return e.preventDefault();
89
+ },
90
+ onMouseUp: function onMouseUp(e) {
91
+ return e.preventDefault();
92
+ }
93
+ }, /*#__PURE__*/React.createElement(Typography, {
94
+ as: "div",
95
+ variant: "body1"
96
+ }, label)))), /*#__PURE__*/React.createElement(StyledRow, null, /*#__PURE__*/React.createElement(StyledLeftColumn, null), /*#__PURE__*/React.createElement(StyledColumn, {
97
+ className: "help-text"
98
+ }, /*#__PURE__*/React.createElement(Typography, {
99
+ as: "span",
100
+ variant: "subtitle2"
101
+ }, helpText))));
102
+ };
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { Checkbox } from './Checkbox';
3
+ import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
4
+ Checkbox.displayName = 'Checkbox';
5
+ export default {
6
+ title: '@next/Checkbox',
7
+ component: Checkbox,
8
+ decorators: [function (Story) {
9
+ return /*#__PURE__*/React.createElement(BaseContainer, null, Story());
10
+ }]
11
+ };
12
+ var Template = function Template(args) {
13
+ return /*#__PURE__*/React.createElement(Checkbox, args);
14
+ };
15
+ export var Interactive = Template.bind({});
16
+ Interactive.args = {
17
+ label: 'Label'
18
+ };
@@ -0,0 +1,7 @@
1
+ import { CheckboxProps } from './Checkbox';
2
+ export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StyledCheckboxContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const StyledCheckbox: import("styled-components").StyledComponent<"div", any, CheckboxProps, never>;
5
+ export declare const StyledRow: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const StyledColumn: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const StyledLeftColumn: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,32 @@
1
+ import styled from 'styled-components';
2
+ import { Breakpoints } from '../..';
3
+ import { borderRadius4 } from '../utilities/borderRadius';
4
+ import { Neutral, Red } from '../utilities/colors';
5
+ import { space4 } from '../utilities/spacing';
6
+ export var StyledContainer = styled.div.withConfig({
7
+ displayName: "CheckboxStyle__StyledContainer",
8
+ componentId: "sc-a9bf1h-0"
9
+ })(["flex-direction:row;align-items:flex-start;padding:", " 0px;gap:8px;color:", ";label{cursor:pointer;margin-top:-1px;}svg{border-radius:4px;position:absolute;top:0;left:0;opacity:0;pointer-events:none;}&[aria-disabled='true'],&[aria-disabled='true'] .help-text{color:", ";}&[aria-disabled='true'] div[role='checkbox']{border-color:", ";background:", ";}&[aria-disabled='true'] svg{background:", ";}"], space4, Neutral.B18, Neutral.B68, Neutral.B85, Neutral.B95, Neutral.B68);
10
+ export var StyledCheckboxContainer = styled.div.withConfig({
11
+ displayName: "CheckboxStyle__StyledCheckboxContainer",
12
+ componentId: "sc-a9bf1h-1"
13
+ })(["position:relative;cursor:pointer;"]);
14
+ export var StyledCheckbox = styled.div.withConfig({
15
+ displayName: "CheckboxStyle__StyledCheckbox",
16
+ componentId: "sc-a9bf1h-2"
17
+ })(["width:20px;height:20px;background:", ";border:2px solid;border-color:", ";cursor:pointer;border-radius:", ";> input{opacity:0;cursor:pointer;}&[data-focus='true']{box-shadow:0px 0px 0px 1px ", ",0px 0px 0px 3px #6ac9ec;}&[aria-checked='true'] + svg,&[aria-checked='mixed'] + svg{opacity:1;}@media (max-width:", "){width:18px;height:18px;}"], Neutral.B100, function (_ref) {
18
+ var hasError = _ref.hasError;
19
+ return hasError ? Red.B93 : Neutral.B68;
20
+ }, borderRadius4, Neutral.B100, Breakpoints.large);
21
+ export var StyledRow = styled.div.withConfig({
22
+ displayName: "CheckboxStyle__StyledRow",
23
+ componentId: "sc-a9bf1h-3"
24
+ })(["display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;"]);
25
+ export var StyledColumn = styled.div.withConfig({
26
+ displayName: "CheckboxStyle__StyledColumn",
27
+ componentId: "sc-a9bf1h-4"
28
+ })(["display:flex;flex-direction:column;&.help-text{color:", ";}"], Neutral.B40);
29
+ export var StyledLeftColumn = styled(StyledColumn).withConfig({
30
+ displayName: "CheckboxStyle__StyledLeftColumn",
31
+ componentId: "sc-a9bf1h-5"
32
+ })(["flex-basis:20px;"]);
@@ -0,0 +1 @@
1
+ export * from './Checkbox';
@@ -0,0 +1 @@
1
+ export * from './Checkbox';
@@ -0,0 +1,6 @@
1
+ import { SVGProps } from 'react';
2
+ import { IconNames } from './icons/icons';
3
+ export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'name'> {
4
+ name: IconNames;
5
+ }
6
+ export declare const Icon: ({ name, ...props }: IconProps) => JSX.Element;
@@ -0,0 +1,10 @@
1
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
2
+ var _excluded = ["name"];
3
+ import React from 'react';
4
+ import { iconsMappingComponent } from './icons/icons';
5
+ export var Icon = function Icon(_ref) {
6
+ var name = _ref.name,
7
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
8
+ var IconComponent = iconsMappingComponent[name];
9
+ return /*#__PURE__*/React.createElement(IconComponent, props);
10
+ };
@@ -0,0 +1,2 @@
1
+ import 'jest-styled-components';
2
+ import '@testing-library/jest-dom/extend-expect';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from './Icon';
3
+ export declare const StyledUnorderedList: import("styled-components").StyledComponent<"ul", any, {}, never>;
4
+ export declare const StyledItemList: import("styled-components").StyledComponent<"li", any, {}, never>;
5
+ export declare const StyledIcon: import("styled-components").StyledComponent<({ name, ...props }: IconProps) => JSX.Element, any, IconProps, never>;
@@ -0,0 +1,14 @@
1
+ import styled from 'styled-components';
2
+ import { Icon } from './Icon';
3
+ export var StyledUnorderedList = styled.ul.withConfig({
4
+ displayName: "IconStoriesStyles__StyledUnorderedList",
5
+ componentId: "sc-7j50pb-0"
6
+ })(["display:flex;list-style-type:none;flex-wrap:wrap;align-items:flex-start;"]);
7
+ export var StyledItemList = styled.li.withConfig({
8
+ displayName: "IconStoriesStyles__StyledItemList",
9
+ componentId: "sc-7j50pb-1"
10
+ })(["display:flex;flex-basis:220px;align-items:center;"]);
11
+ export var StyledIcon = styled(Icon).withConfig({
12
+ displayName: "IconStoriesStyles__StyledIcon",
13
+ componentId: "sc-7j50pb-2"
14
+ })(["margin-right:1em;"]);
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAccountCircleFill: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAccountCircleFill;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAccountCircleFill = function SvgRiAccountCircleFill(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2ZM6.023 15.416C7.491 17.606 9.695 19 12.16 19c2.464 0 4.669-1.393 6.136-3.584A8.968 8.968 0 0 0 12.16 13a8.968 8.968 0 0 0-6.137 2.416ZM12 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"
9
+ }));
10
+ };
11
+ export default SvgRiAccountCircleFill;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAccountCircleLine: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAccountCircleLine;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAccountCircleLine = function SvgRiAccountCircleLine(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm-4.987-3.744A7.966 7.966 0 0 0 12 20a7.97 7.97 0 0 0 5.167-1.892A6.978 6.978 0 0 0 12.16 16a6.982 6.982 0 0 0-5.147 2.256ZM5.616 16.82A8.975 8.975 0 0 1 12.16 14a8.972 8.972 0 0 1 6.362 2.634 8 8 0 1 0-12.906.187v-.001ZM12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"
9
+ }));
10
+ };
11
+ export default SvgRiAccountCircleLine;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAdd: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAdd;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAdd = function SvgRiAdd(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2h6Z"
9
+ }));
10
+ };
11
+ export default SvgRiAdd;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAddCircleFill: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAddCircleFill;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAddCircleFill = function SvgRiAddCircleFill(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm-1-11H7v2h4v4h2v-4h4v-2h-4V7h-2v4Z"
9
+ }));
10
+ };
11
+ export default SvgRiAddCircleFill;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAddCircleLine: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAddCircleLine;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAddCircleLine = function SvgRiAddCircleLine(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2h4Zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16.001A8 8 0 0 0 12 20Z"
9
+ }));
10
+ };
11
+ export default SvgRiAddCircleLine;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAlarmWarningFill: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAlarmWarningFill;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAlarmWarningFill = function SvgRiAlarmWarningFill(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M4 20v-6a8 8 0 0 1 16 0v6h1v2H3v-2h1Zm2-6h2a4 4 0 0 1 4-4V8a6 6 0 0 0-6 6Zm5-12h2v3h-2V2Zm8.778 2.808 1.414 1.414-2.12 2.121-1.415-1.414 2.121-2.121ZM2.808 6.222l1.414-1.414 2.121 2.12L4.93 8.344 2.808 6.222Z"
9
+ }));
10
+ };
11
+ export default SvgRiAlarmWarningFill;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiAlarmWarningLine: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiAlarmWarningLine;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiAlarmWarningLine = function SvgRiAlarmWarningLine(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M4 20v-6a8 8 0 0 1 16 0v6h1v2H3v-2h1Zm2 0h12v-6a6 6 0 0 0-12 0v6Zm5-18h2v3h-2V2Zm8.778 2.808 1.414 1.414-2.12 2.121-1.415-1.414 2.121-2.121ZM2.808 6.222l1.414-1.414 2.121 2.12L4.93 8.344 2.808 6.222ZM7 14a5 5 0 0 1 5-5v2a3 3 0 0 0-3 3H7Z"
9
+ }));
10
+ };
11
+ export default SvgRiAlarmWarningLine;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgRiArrowDownFill: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgRiArrowDownFill;
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ var SvgRiArrowDownFill = function SvgRiArrowDownFill(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, props), /*#__PURE__*/React.createElement("path", {
8
+ d: "M13 12h7l-8 8-8-8h7V4h2v8Z"
9
+ }));
10
+ };
11
+ export default SvgRiArrowDownFill;