@ssa-ui-kit/core 0.0.1-alpha

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 (792) hide show
  1. package/.babelrc.js +4 -0
  2. package/.storybook/main.ts +43 -0
  3. package/.storybook/preview.tsx +22 -0
  4. package/.storybook/style.css +31 -0
  5. package/custom-shots/components-popover--hint-opened__[w1920px].png +0 -0
  6. package/customTest.tsx +46 -0
  7. package/dist/components/AccordionGroup/Accordion.d.ts +2 -0
  8. package/dist/components/AccordionGroup/AccordionContent.d.ts +9 -0
  9. package/dist/components/AccordionGroup/AccordionContext.d.ts +7 -0
  10. package/dist/components/AccordionGroup/AccordionGroup.d.ts +2 -0
  11. package/dist/components/AccordionGroup/AccordionTitle.d.ts +2 -0
  12. package/dist/components/AccordionGroup/index.d.ts +5 -0
  13. package/dist/components/AccordionGroup/stories/helpers.d.ts +12 -0
  14. package/dist/components/AccordionGroup/styles.d.ts +21 -0
  15. package/dist/components/AccordionGroup/types.d.ts +44 -0
  16. package/dist/components/Avatar/Avatar.d.ts +10 -0
  17. package/dist/components/Avatar/index.d.ts +1 -0
  18. package/dist/components/Badge/Badge.d.ts +4 -0
  19. package/dist/components/Badge/BadgeBase.d.ts +7 -0
  20. package/dist/components/Badge/helpers.d.ts +16 -0
  21. package/dist/components/Badge/index.d.ts +1 -0
  22. package/dist/components/Badge/styles.d.ts +3 -0
  23. package/dist/components/Badge/types.d.ts +8 -0
  24. package/dist/components/Button/Button.d.ts +4 -0
  25. package/dist/components/Button/ButtonBase.d.ts +5 -0
  26. package/dist/components/Button/ButtonText.d.ts +6 -0
  27. package/dist/components/Button/fixtures.d.ts +85 -0
  28. package/dist/components/Button/helpers.d.ts +12 -0
  29. package/dist/components/Button/index.d.ts +1 -0
  30. package/dist/components/Button/styles.d.ts +12 -0
  31. package/dist/components/Button/types.d.ts +36 -0
  32. package/dist/components/ButtonGroup/ButtonGroup.d.ts +2 -0
  33. package/dist/components/ButtonGroup/helpers.d.ts +2 -0
  34. package/dist/components/ButtonGroup/index.d.ts +2 -0
  35. package/dist/components/ButtonGroup/styles.d.ts +2 -0
  36. package/dist/components/ButtonGroup/types.d.ts +11 -0
  37. package/dist/components/Card/Card.d.ts +3 -0
  38. package/dist/components/Card/CardBase.d.ts +8 -0
  39. package/dist/components/Card/index.d.ts +2 -0
  40. package/dist/components/Card/types.d.ts +8 -0
  41. package/dist/components/CardContent/CardContent.d.ts +12 -0
  42. package/dist/components/CardContent/CardContentBase.d.ts +8 -0
  43. package/dist/components/CardContent/index.d.ts +1 -0
  44. package/dist/components/CardHeader/CardHeader.d.ts +9 -0
  45. package/dist/components/CardHeader/CardHeaderBase.d.ts +9 -0
  46. package/dist/components/CardHeader/index.d.ts +1 -0
  47. package/dist/components/Checkbox/Checkbox.d.ts +3 -0
  48. package/dist/components/Checkbox/CheckboxBase.d.ts +4 -0
  49. package/dist/components/Checkbox/index.d.ts +3 -0
  50. package/dist/components/Checkbox/styles.d.ts +5 -0
  51. package/dist/components/Checkbox/types.d.ts +21 -0
  52. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
  53. package/dist/components/ColorPicker/index.d.ts +1 -0
  54. package/dist/components/ColorPicker/styles.d.ts +7 -0
  55. package/dist/components/ColorPicker/types.d.ts +9 -0
  56. package/dist/components/Dropdown/Dropdown.context.d.ts +5 -0
  57. package/dist/components/Dropdown/Dropdown.d.ts +4 -0
  58. package/dist/components/Dropdown/index.d.ts +1 -0
  59. package/dist/components/Dropdown/types.d.ts +16 -0
  60. package/dist/components/DropdownArrow/DropdownArrow.d.ts +10 -0
  61. package/dist/components/DropdownArrow/index.d.ts +1 -0
  62. package/dist/components/DropdownBase/DropdownBase.d.ts +7 -0
  63. package/dist/components/DropdownBase/index.d.ts +1 -0
  64. package/dist/components/DropdownOption/DropdownOption.d.ts +18 -0
  65. package/dist/components/DropdownOption/index.d.ts +1 -0
  66. package/dist/components/DropdownOptions/DropdownOptions.d.ts +3 -0
  67. package/dist/components/DropdownOptions/index.d.ts +2 -0
  68. package/dist/components/DropdownOptions/types.d.ts +8 -0
  69. package/dist/components/DropdownToggle/DropdownToggle.d.ts +8 -0
  70. package/dist/components/DropdownToggle/index.d.ts +1 -0
  71. package/dist/components/DropdownToggle/types.d.ts +20 -0
  72. package/dist/components/Form/Form.d.ts +7 -0
  73. package/dist/components/Form/index.d.ts +1 -0
  74. package/dist/components/FormAction/FormAction.d.ts +7 -0
  75. package/dist/components/FormAction/index.d.ts +1 -0
  76. package/dist/components/FormCheckbox/FormCheckbox.d.ts +4 -0
  77. package/dist/components/FormCheckbox/index.d.ts +1 -0
  78. package/dist/components/FormCheckbox/types.d.ts +6 -0
  79. package/dist/components/FormGroup/FormGroup.d.ts +7 -0
  80. package/dist/components/FormGroup/index.d.ts +1 -0
  81. package/dist/components/FormHelperText/FormHelperText.d.ts +3 -0
  82. package/dist/components/FormHelperText/FormHelperTextBase.d.ts +7 -0
  83. package/dist/components/FormHelperText/index.d.ts +1 -0
  84. package/dist/components/FormHelperText/types.d.ts +8 -0
  85. package/dist/components/FormRadioGroup/FormRadioGroup.d.ts +4 -0
  86. package/dist/components/FormRadioGroup/index.d.ts +1 -0
  87. package/dist/components/FormRadioGroup/types.d.ts +7 -0
  88. package/dist/components/Icon/Icon.d.ts +3 -0
  89. package/dist/components/Icon/icons/Archive.d.ts +2 -0
  90. package/dist/components/Icon/icons/ArrowDown.d.ts +2 -0
  91. package/dist/components/Icon/icons/ArrowUp.d.ts +2 -0
  92. package/dist/components/Icon/icons/Attention.d.ts +2 -0
  93. package/dist/components/Icon/icons/Bin.d.ts +2 -0
  94. package/dist/components/Icon/icons/Calendar.d.ts +2 -0
  95. package/dist/components/Icon/icons/CarrotDown.d.ts +2 -0
  96. package/dist/components/Icon/icons/CarrotLeft.d.ts +2 -0
  97. package/dist/components/Icon/icons/CarrotRight.d.ts +2 -0
  98. package/dist/components/Icon/icons/CarrotUp.d.ts +2 -0
  99. package/dist/components/Icon/icons/Change.d.ts +2 -0
  100. package/dist/components/Icon/icons/Check.d.ts +2 -0
  101. package/dist/components/Icon/icons/CheckCircle.d.ts +2 -0
  102. package/dist/components/Icon/icons/Circle.d.ts +2 -0
  103. package/dist/components/Icon/icons/Copy.d.ts +2 -0
  104. package/dist/components/Icon/icons/Cross.d.ts +2 -0
  105. package/dist/components/Icon/icons/Diet.d.ts +2 -0
  106. package/dist/components/Icon/icons/Filter.d.ts +2 -0
  107. package/dist/components/Icon/icons/Home.d.ts +2 -0
  108. package/dist/components/Icon/icons/Information.d.ts +2 -0
  109. package/dist/components/Icon/icons/Invisible.d.ts +2 -0
  110. package/dist/components/Icon/icons/LogOut.d.ts +2 -0
  111. package/dist/components/Icon/icons/Measurements.d.ts +2 -0
  112. package/dist/components/Icon/icons/Minus.d.ts +2 -0
  113. package/dist/components/Icon/icons/More.d.ts +2 -0
  114. package/dist/components/Icon/icons/MoreVertical.d.ts +2 -0
  115. package/dist/components/Icon/icons/Notification.d.ts +2 -0
  116. package/dist/components/Icon/icons/Plus.d.ts +2 -0
  117. package/dist/components/Icon/icons/RadioOn.d.ts +2 -0
  118. package/dist/components/Icon/icons/Search.d.ts +2 -0
  119. package/dist/components/Icon/icons/Settings.d.ts +2 -0
  120. package/dist/components/Icon/icons/Sleep.d.ts +2 -0
  121. package/dist/components/Icon/icons/Stats.d.ts +2 -0
  122. package/dist/components/Icon/icons/Trainings.d.ts +2 -0
  123. package/dist/components/Icon/icons/Union.d.ts +2 -0
  124. package/dist/components/Icon/icons/User.d.ts +2 -0
  125. package/dist/components/Icon/icons/Visible.d.ts +2 -0
  126. package/dist/components/Icon/icons/Warning.d.ts +2 -0
  127. package/dist/components/Icon/icons/iconsList.d.ts +1 -0
  128. package/dist/components/Icon/icons/index.d.ts +3 -0
  129. package/dist/components/Icon/index.d.ts +2 -0
  130. package/dist/components/Icon/types.d.ts +15 -0
  131. package/dist/components/Indicator/Indicator.d.ts +3 -0
  132. package/dist/components/Indicator/IndicatorBase.d.ts +8 -0
  133. package/dist/components/Indicator/index.d.ts +1 -0
  134. package/dist/components/Indicator/types.d.ts +9 -0
  135. package/dist/components/Input/Input.d.ts +4 -0
  136. package/dist/components/Input/InputBase.d.ts +5 -0
  137. package/dist/components/Input/InputGroup.d.ts +7 -0
  138. package/dist/components/Input/InputStatusError.d.ts +6 -0
  139. package/dist/components/Input/InputStatusSuccess.d.ts +6 -0
  140. package/dist/components/Input/index.d.ts +1 -0
  141. package/dist/components/Input/styles.d.ts +8 -0
  142. package/dist/components/Input/types.d.ts +31 -0
  143. package/dist/components/Label/Label.d.ts +3 -0
  144. package/dist/components/Label/LabelBase.d.ts +5 -0
  145. package/dist/components/Label/index.d.ts +1 -0
  146. package/dist/components/Label/types.d.ts +8 -0
  147. package/dist/components/LargeTab/LargeTab.d.ts +3 -0
  148. package/dist/components/LargeTab/LargeTabBase.d.ts +6 -0
  149. package/dist/components/LargeTab/index.d.ts +1 -0
  150. package/dist/components/LargeTab/styles.d.ts +3 -0
  151. package/dist/components/Link/Link.d.ts +2 -0
  152. package/dist/components/Link/Link.types.d.ts +5 -0
  153. package/dist/components/Link/LinkBase.d.ts +5 -0
  154. package/dist/components/Link/index.d.ts +1 -0
  155. package/dist/components/Modal/Modal.context.d.ts +3 -0
  156. package/dist/components/Modal/Modal.d.ts +3 -0
  157. package/dist/components/Modal/index.d.ts +2 -0
  158. package/dist/components/Modal/types.d.ts +8 -0
  159. package/dist/components/ModalContent/ModalContent.d.ts +3 -0
  160. package/dist/components/ModalContent/index.d.ts +1 -0
  161. package/dist/components/ModalDialog/ModalDialog.d.ts +3 -0
  162. package/dist/components/ModalDialog/index.d.ts +1 -0
  163. package/dist/components/ModalDialog/types.d.ts +7 -0
  164. package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +5 -0
  165. package/dist/components/ModalDismissButton/index.d.ts +1 -0
  166. package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +5 -0
  167. package/dist/components/ModalOpenButton/index.d.ts +1 -0
  168. package/dist/components/MultipleDropdown/MultipleDropdown.context.d.ts +6 -0
  169. package/dist/components/MultipleDropdown/MultipleDropdown.d.ts +5 -0
  170. package/dist/components/MultipleDropdown/index.d.ts +1 -0
  171. package/dist/components/MultipleDropdown/types.d.ts +19 -0
  172. package/dist/components/MultipleDropdown/utils.d.ts +7 -0
  173. package/dist/components/MultipleDropdownNotification/MultipleDropdownNotification.d.ts +8 -0
  174. package/dist/components/MultipleDropdownNotification/index.d.ts +1 -0
  175. package/dist/components/MultipleDropdownOptions/MultipleDropdownOptions.d.ts +3 -0
  176. package/dist/components/MultipleDropdownOptions/index.d.ts +2 -0
  177. package/dist/components/MultipleDropdownOptions/types.d.ts +7 -0
  178. package/dist/components/Popover/Popover.d.ts +5 -0
  179. package/dist/components/Popover/Popover.e2e.d.ts +1 -0
  180. package/dist/components/Popover/PopoverClose.d.ts +2 -0
  181. package/dist/components/Popover/PopoverContent.d.ts +2 -0
  182. package/dist/components/Popover/PopoverDescription.d.ts +2 -0
  183. package/dist/components/Popover/PopoverHeading.d.ts +2 -0
  184. package/dist/components/Popover/PopoverTrigger.d.ts +4 -0
  185. package/dist/components/Popover/hooks/usePopover.d.ts +2 -0
  186. package/dist/components/Popover/hooks/usePopoverContext.d.ts +4 -0
  187. package/dist/components/Popover/index.d.ts +6 -0
  188. package/dist/components/Popover/stories/StoryComponent.d.ts +1 -0
  189. package/dist/components/Popover/types.d.ts +32 -0
  190. package/dist/components/Progress/Progress.d.ts +3 -0
  191. package/dist/components/Progress/index.d.ts +1 -0
  192. package/dist/components/Progress/types.d.ts +8 -0
  193. package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
  194. package/dist/components/ProgressBar/index.d.ts +1 -0
  195. package/dist/components/ProgressBar/styles.d.ts +3 -0
  196. package/dist/components/ProgressBar/types.d.ts +7 -0
  197. package/dist/components/ProgressCircle/ProgressCircle.d.ts +3 -0
  198. package/dist/components/ProgressCircle/ProgressCircleBase.d.ts +11 -0
  199. package/dist/components/ProgressCircle/ProgressCircleInner.d.ts +7 -0
  200. package/dist/components/ProgressCircle/ProgressCircleOuter.d.ts +7 -0
  201. package/dist/components/ProgressCircle/index.d.ts +1 -0
  202. package/dist/components/ProgressCircle/styles.d.ts +3 -0
  203. package/dist/components/ProgressCircle/types.d.ts +8 -0
  204. package/dist/components/ProgressLegend/ProgressLegend.d.ts +3 -0
  205. package/dist/components/ProgressLegend/index.d.ts +1 -0
  206. package/dist/components/ProgressLegend/types.d.ts +11 -0
  207. package/dist/components/ProgressLegendItem/ProgressLegendItem.d.ts +3 -0
  208. package/dist/components/ProgressLegendItem/index.d.ts +1 -0
  209. package/dist/components/ProgressLegendItem/types.d.ts +7 -0
  210. package/dist/components/ProgressVertical/ProgressVertical.d.ts +3 -0
  211. package/dist/components/ProgressVertical/index.d.ts +1 -0
  212. package/dist/components/ProgressVertical/types.d.ts +8 -0
  213. package/dist/components/Radio/Radio.d.ts +3 -0
  214. package/dist/components/Radio/RadioBase.d.ts +3 -0
  215. package/dist/components/Radio/index.d.ts +1 -0
  216. package/dist/components/Radio/types.d.ts +11 -0
  217. package/dist/components/RadioGroup/RadioGroup.d.ts +3 -0
  218. package/dist/components/RadioGroup/RadioGroupBase.d.ts +5 -0
  219. package/dist/components/RadioGroup/index.d.ts +1 -0
  220. package/dist/components/RadioGroup/types.d.ts +10 -0
  221. package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +10 -0
  222. package/dist/components/ResponsiveImage/index.d.ts +1 -0
  223. package/dist/components/ResponsiveImage/types.d.ts +7 -0
  224. package/dist/components/Step/Step.context.d.ts +10 -0
  225. package/dist/components/Step/Step.d.ts +12 -0
  226. package/dist/components/Step/index.d.ts +2 -0
  227. package/dist/components/StepConnector/StepConnector.d.ts +2 -0
  228. package/dist/components/StepConnector/index.d.ts +1 -0
  229. package/dist/components/StepConnector/style.d.ts +3 -0
  230. package/dist/components/StepLabel/StepLabel.d.ts +10 -0
  231. package/dist/components/StepLabel/index.d.ts +1 -0
  232. package/dist/components/StepLabel/styles.d.ts +5 -0
  233. package/dist/components/Stepper/Stepper.context.d.ts +5 -0
  234. package/dist/components/Stepper/Stepper.d.ts +3 -0
  235. package/dist/components/Stepper/index.d.ts +2 -0
  236. package/dist/components/Stepper/types.d.ts +15 -0
  237. package/dist/components/Switch/Switch.d.ts +3 -0
  238. package/dist/components/Switch/SwitchBase.d.ts +6 -0
  239. package/dist/components/Switch/SwitchContext.d.ts +11 -0
  240. package/dist/components/Switch/index.d.ts +2 -0
  241. package/dist/components/Switch/types.d.ts +4 -0
  242. package/dist/components/Tab/Tab.d.ts +3 -0
  243. package/dist/components/Tab/TabBase.d.ts +6 -0
  244. package/dist/components/Tab/index.d.ts +1 -0
  245. package/dist/components/TabBar/TabBar.d.ts +10 -0
  246. package/dist/components/TabBar/TabBarContext.d.ts +8 -0
  247. package/dist/components/TabBar/index.d.ts +2 -0
  248. package/dist/components/TabBar/stories/helpers.d.ts +26 -0
  249. package/dist/components/TabBar/types.d.ts +29 -0
  250. package/dist/components/Table/Table.d.ts +7 -0
  251. package/dist/components/Table/index.d.ts +1 -0
  252. package/dist/components/Table/stories/SortableTable.d.ts +4 -0
  253. package/dist/components/Table/stories/consts.d.ts +2 -0
  254. package/dist/components/Table/stories/mock.d.ts +10 -0
  255. package/dist/components/Table/stories/types.d.ts +6 -0
  256. package/dist/components/Table/stories/utils.d.ts +1 -0
  257. package/dist/components/TableBody/TableBody.d.ts +7 -0
  258. package/dist/components/TableBody/index.d.ts +1 -0
  259. package/dist/components/TableCell/TableCell.d.ts +9 -0
  260. package/dist/components/TableCell/index.d.ts +1 -0
  261. package/dist/components/TableHead/TableHead.d.ts +7 -0
  262. package/dist/components/TableHead/index.d.ts +1 -0
  263. package/dist/components/TableRow/TableRow.d.ts +7 -0
  264. package/dist/components/TableRow/index.d.ts +1 -0
  265. package/dist/components/Tag/Tag.d.ts +3 -0
  266. package/dist/components/Tag/index.d.ts +1 -0
  267. package/dist/components/Tag/styles.d.ts +17 -0
  268. package/dist/components/Tag/types.d.ts +7 -0
  269. package/dist/components/TextField/TextField.d.ts +3 -0
  270. package/dist/components/TextField/index.d.ts +1 -0
  271. package/dist/components/TextField/types.d.ts +19 -0
  272. package/dist/components/Textarea/Textarea.d.ts +3 -0
  273. package/dist/components/Textarea/TextareaBase.d.ts +5 -0
  274. package/dist/components/Textarea/index.d.ts +1 -0
  275. package/dist/components/Textarea/types.d.ts +13 -0
  276. package/dist/components/Tooltip/ProgressChartTooltip.d.ts +2 -0
  277. package/dist/components/Tooltip/SimpleChartTooltip.d.ts +2 -0
  278. package/dist/components/Tooltip/Tooltip.d.ts +3 -0
  279. package/dist/components/Tooltip/TooltipArrow.d.ts +2 -0
  280. package/dist/components/Tooltip/TooltipContentBase.d.ts +5 -0
  281. package/dist/components/Tooltip/index.d.ts +5 -0
  282. package/dist/components/Tooltip/styles.d.ts +3 -0
  283. package/dist/components/Tooltip/types.d.ts +58 -0
  284. package/dist/components/Tooltip/useTooltip.d.ts +2 -0
  285. package/dist/components/Tooltip/useTooltipContext.d.ts +4 -0
  286. package/dist/components/Tooltip/utils.d.ts +2 -0
  287. package/dist/components/TooltipContent/TooltipContent.d.ts +4 -0
  288. package/dist/components/TooltipContent/index.d.ts +1 -0
  289. package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +4 -0
  290. package/dist/components/TooltipTrigger/index.d.ts +1 -0
  291. package/dist/components/Typography/Typography.d.ts +4 -0
  292. package/dist/components/Typography/index.d.ts +1 -0
  293. package/dist/components/Typography/styles.d.ts +17 -0
  294. package/dist/components/Typography/types.d.ts +12 -0
  295. package/dist/components/Wrapper/Wrapper.d.ts +11 -0
  296. package/dist/components/Wrapper/index.d.ts +1 -0
  297. package/dist/consts.d.ts +18 -0
  298. package/dist/index.d.ts +81 -0
  299. package/dist/index.js +2 -0
  300. package/dist/index.js.map +1 -0
  301. package/dist/injectGlobal.d.ts +1 -0
  302. package/dist/styles/global.d.ts +10 -0
  303. package/dist/styles/safari-focus-outline.d.ts +6 -0
  304. package/dist/themes/main.d.ts +3 -0
  305. package/dist/types/emotion.d.ts +126 -0
  306. package/dist/types/global.d.ts +16 -0
  307. package/jest-setup.ts +17 -0
  308. package/lostpixel.config.ts +26 -0
  309. package/package.json +79 -0
  310. package/playwright.config.ts +7 -0
  311. package/src/components/AccordionGroup/Accordion.tsx +30 -0
  312. package/src/components/AccordionGroup/AccordionContent.tsx +21 -0
  313. package/src/components/AccordionGroup/AccordionContext.tsx +66 -0
  314. package/src/components/AccordionGroup/AccordionGroup.spec.tsx +191 -0
  315. package/src/components/AccordionGroup/AccordionGroup.tsx +71 -0
  316. package/src/components/AccordionGroup/AccordionTitle.tsx +39 -0
  317. package/src/components/AccordionGroup/index.ts +8 -0
  318. package/src/components/AccordionGroup/stories/AccordionGroup.stories.tsx +107 -0
  319. package/src/components/AccordionGroup/stories/helpers.tsx +86 -0
  320. package/src/components/AccordionGroup/styles.ts +120 -0
  321. package/src/components/AccordionGroup/types.ts +54 -0
  322. package/src/components/Avatar/Avatar.tsx +15 -0
  323. package/src/components/Avatar/index.ts +1 -0
  324. package/src/components/Badge/Badge.spec.tsx +113 -0
  325. package/src/components/Badge/Badge.stories.tsx +156 -0
  326. package/src/components/Badge/Badge.tsx +45 -0
  327. package/src/components/Badge/BadgeBase.tsx +19 -0
  328. package/src/components/Badge/helpers.ts +49 -0
  329. package/src/components/Badge/index.ts +1 -0
  330. package/src/components/Badge/styles.ts +20 -0
  331. package/src/components/Badge/types.ts +7 -0
  332. package/src/components/Button/Button.spec.tsx +529 -0
  333. package/src/components/Button/Button.stories.tsx +124 -0
  334. package/src/components/Button/Button.tsx +121 -0
  335. package/src/components/Button/ButtonBase.tsx +14 -0
  336. package/src/components/Button/ButtonText.tsx +67 -0
  337. package/src/components/Button/fixtures.ts +165 -0
  338. package/src/components/Button/helpers.ts +30 -0
  339. package/src/components/Button/index.ts +1 -0
  340. package/src/components/Button/styles.ts +168 -0
  341. package/src/components/Button/types.ts +48 -0
  342. package/src/components/ButtonGroup/ButtonGroup.spec.tsx +37 -0
  343. package/src/components/ButtonGroup/ButtonGroup.stories.tsx +42 -0
  344. package/src/components/ButtonGroup/ButtonGroup.tsx +39 -0
  345. package/src/components/ButtonGroup/helpers.ts +7 -0
  346. package/src/components/ButtonGroup/index.ts +2 -0
  347. package/src/components/ButtonGroup/styles.ts +53 -0
  348. package/src/components/ButtonGroup/types.ts +13 -0
  349. package/src/components/Card/Card.spec.tsx +94 -0
  350. package/src/components/Card/Card.stories.tsx +253 -0
  351. package/src/components/Card/Card.tsx +13 -0
  352. package/src/components/Card/CardBase.tsx +20 -0
  353. package/src/components/Card/index.ts +2 -0
  354. package/src/components/Card/types.ts +8 -0
  355. package/src/components/CardContent/CardContent.tsx +17 -0
  356. package/src/components/CardContent/CardContentBase.tsx +12 -0
  357. package/src/components/CardContent/index.ts +1 -0
  358. package/src/components/CardHeader/CardHeader.tsx +26 -0
  359. package/src/components/CardHeader/CardHeaderBase.tsx +21 -0
  360. package/src/components/CardHeader/index.ts +1 -0
  361. package/src/components/Checkbox/Checkbox.spec.tsx +193 -0
  362. package/src/components/Checkbox/Checkbox.stories.tsx +93 -0
  363. package/src/components/Checkbox/Checkbox.tsx +77 -0
  364. package/src/components/Checkbox/CheckboxBase.tsx +71 -0
  365. package/src/components/Checkbox/index.ts +3 -0
  366. package/src/components/Checkbox/styles.tsx +70 -0
  367. package/src/components/Checkbox/types.ts +26 -0
  368. package/src/components/ColorPicker/ColorPicker.spec.tsx +58 -0
  369. package/src/components/ColorPicker/ColorPicker.stories.tsx +48 -0
  370. package/src/components/ColorPicker/ColorPicker.tsx +47 -0
  371. package/src/components/ColorPicker/index.ts +1 -0
  372. package/src/components/ColorPicker/styles.ts +14 -0
  373. package/src/components/ColorPicker/types.ts +21 -0
  374. package/src/components/Dropdown/Dropdown.context.ts +16 -0
  375. package/src/components/Dropdown/Dropdown.spec.tsx +326 -0
  376. package/src/components/Dropdown/Dropdown.stories.tsx +155 -0
  377. package/src/components/Dropdown/Dropdown.tsx +135 -0
  378. package/src/components/Dropdown/index.ts +1 -0
  379. package/src/components/Dropdown/types.ts +17 -0
  380. package/src/components/DropdownArrow/DropdownArrow.tsx +17 -0
  381. package/src/components/DropdownArrow/index.ts +1 -0
  382. package/src/components/DropdownBase/DropdownBase.tsx +10 -0
  383. package/src/components/DropdownBase/index.ts +1 -0
  384. package/src/components/DropdownOption/DropdownOption.tsx +56 -0
  385. package/src/components/DropdownOption/index.ts +1 -0
  386. package/src/components/DropdownOptions/DropdownOptions.tsx +102 -0
  387. package/src/components/DropdownOptions/index.ts +2 -0
  388. package/src/components/DropdownOptions/types.ts +9 -0
  389. package/src/components/DropdownToggle/DropdownToggle.tsx +147 -0
  390. package/src/components/DropdownToggle/index.ts +1 -0
  391. package/src/components/DropdownToggle/types.ts +22 -0
  392. package/src/components/Form/Form.stories.mdx +118 -0
  393. package/src/components/Form/Form.stories.tsx +432 -0
  394. package/src/components/Form/Form.tsx +9 -0
  395. package/src/components/Form/index.ts +1 -0
  396. package/src/components/FormAction/FormAction.tsx +8 -0
  397. package/src/components/FormAction/index.ts +1 -0
  398. package/src/components/FormCheckbox/FormCheckbox.tsx +33 -0
  399. package/src/components/FormCheckbox/index.ts +1 -0
  400. package/src/components/FormCheckbox/types.ts +10 -0
  401. package/src/components/FormGroup/FormGroup.tsx +15 -0
  402. package/src/components/FormGroup/index.ts +1 -0
  403. package/src/components/FormHelperText/FormHelperText.tsx +18 -0
  404. package/src/components/FormHelperText/FormHelperTextBase.tsx +22 -0
  405. package/src/components/FormHelperText/index.ts +1 -0
  406. package/src/components/FormHelperText/types.ts +8 -0
  407. package/src/components/FormRadioGroup/FormRadioGroup.spec.tsx +74 -0
  408. package/src/components/FormRadioGroup/FormRadioGroup.stories.tsx +90 -0
  409. package/src/components/FormRadioGroup/FormRadioGroup.tsx +35 -0
  410. package/src/components/FormRadioGroup/index.ts +1 -0
  411. package/src/components/FormRadioGroup/types.ts +12 -0
  412. package/src/components/Icon/Icon.tsx +7 -0
  413. package/src/components/Icon/Icons.spec.tsx +63 -0
  414. package/src/components/Icon/Icons.stories.tsx +56 -0
  415. package/src/components/Icon/icons/Archive.tsx +35 -0
  416. package/src/components/Icon/icons/ArrowDown.tsx +26 -0
  417. package/src/components/Icon/icons/ArrowUp.tsx +26 -0
  418. package/src/components/Icon/icons/Attention.tsx +22 -0
  419. package/src/components/Icon/icons/Bin.tsx +28 -0
  420. package/src/components/Icon/icons/Calendar.tsx +16 -0
  421. package/src/components/Icon/icons/CarrotDown.tsx +20 -0
  422. package/src/components/Icon/icons/CarrotLeft.tsx +20 -0
  423. package/src/components/Icon/icons/CarrotRight.tsx +20 -0
  424. package/src/components/Icon/icons/CarrotUp.tsx +20 -0
  425. package/src/components/Icon/icons/Change.tsx +16 -0
  426. package/src/components/Icon/icons/Check.tsx +20 -0
  427. package/src/components/Icon/icons/CheckCircle.tsx +26 -0
  428. package/src/components/Icon/icons/Circle.tsx +22 -0
  429. package/src/components/Icon/icons/Copy.tsx +23 -0
  430. package/src/components/Icon/icons/Cross.tsx +27 -0
  431. package/src/components/Icon/icons/Diet.tsx +16 -0
  432. package/src/components/Icon/icons/Filter.tsx +18 -0
  433. package/src/components/Icon/icons/Home.tsx +16 -0
  434. package/src/components/Icon/icons/Information.tsx +24 -0
  435. package/src/components/Icon/icons/Invisible.tsx +55 -0
  436. package/src/components/Icon/icons/LogOut.tsx +21 -0
  437. package/src/components/Icon/icons/Measurements.tsx +18 -0
  438. package/src/components/Icon/icons/Minus.tsx +20 -0
  439. package/src/components/Icon/icons/More.tsx +24 -0
  440. package/src/components/Icon/icons/MoreVertical.tsx +15 -0
  441. package/src/components/Icon/icons/Notification.tsx +18 -0
  442. package/src/components/Icon/icons/Plus.tsx +27 -0
  443. package/src/components/Icon/icons/RadioOn.tsx +23 -0
  444. package/src/components/Icon/icons/Search.tsx +18 -0
  445. package/src/components/Icon/icons/Settings.tsx +24 -0
  446. package/src/components/Icon/icons/Sleep.tsx +20 -0
  447. package/src/components/Icon/icons/Stats.tsx +20 -0
  448. package/src/components/Icon/icons/Trainings.tsx +16 -0
  449. package/src/components/Icon/icons/Union.tsx +19 -0
  450. package/src/components/Icon/icons/User.tsx +34 -0
  451. package/src/components/Icon/icons/Visible.tsx +27 -0
  452. package/src/components/Icon/icons/Warning.tsx +22 -0
  453. package/src/components/Icon/icons/iconsList.tsx +49 -0
  454. package/src/components/Icon/icons/index.tsx +103 -0
  455. package/src/components/Icon/index.ts +2 -0
  456. package/src/components/Icon/types.ts +18 -0
  457. package/src/components/Indicator/Indicator.spec.tsx +67 -0
  458. package/src/components/Indicator/Indicator.stories.tsx +106 -0
  459. package/src/components/Indicator/Indicator.tsx +86 -0
  460. package/src/components/Indicator/IndicatorBase.tsx +27 -0
  461. package/src/components/Indicator/index.ts +1 -0
  462. package/src/components/Indicator/types.ts +9 -0
  463. package/src/components/Input/Input.spec.tsx +95 -0
  464. package/src/components/Input/Input.stories.tsx +215 -0
  465. package/src/components/Input/Input.tsx +70 -0
  466. package/src/components/Input/InputBase.tsx +42 -0
  467. package/src/components/Input/InputGroup.tsx +12 -0
  468. package/src/components/Input/InputStatusError.tsx +20 -0
  469. package/src/components/Input/InputStatusSuccess.tsx +16 -0
  470. package/src/components/Input/index.ts +1 -0
  471. package/src/components/Input/styles.ts +111 -0
  472. package/src/components/Input/types.ts +35 -0
  473. package/src/components/Label/Label.spec.tsx +57 -0
  474. package/src/components/Label/Label.tsx +20 -0
  475. package/src/components/Label/LabelBase.tsx +14 -0
  476. package/src/components/Label/index.ts +1 -0
  477. package/src/components/Label/types.ts +9 -0
  478. package/src/components/LargeTab/LargeTab.tsx +38 -0
  479. package/src/components/LargeTab/LargeTabBase.tsx +39 -0
  480. package/src/components/LargeTab/index.ts +1 -0
  481. package/src/components/LargeTab/styles.ts +17 -0
  482. package/src/components/Link/Link.tsx +10 -0
  483. package/src/components/Link/Link.types.ts +4 -0
  484. package/src/components/Link/LinkBase.ts +5 -0
  485. package/src/components/Link/index.tsx +1 -0
  486. package/src/components/Modal/Modal.context.tsx +9 -0
  487. package/src/components/Modal/Modal.spec.tsx +154 -0
  488. package/src/components/Modal/Modal.stories.tsx +98 -0
  489. package/src/components/Modal/Modal.tsx +12 -0
  490. package/src/components/Modal/index.ts +2 -0
  491. package/src/components/Modal/types.ts +8 -0
  492. package/src/components/ModalContent/ModalContent.tsx +21 -0
  493. package/src/components/ModalContent/index.ts +1 -0
  494. package/src/components/ModalDialog/ModalDialog.tsx +67 -0
  495. package/src/components/ModalDialog/index.ts +1 -0
  496. package/src/components/ModalDialog/types.ts +6 -0
  497. package/src/components/ModalDismissButton/ModalDismissButton.tsx +15 -0
  498. package/src/components/ModalDismissButton/index.ts +1 -0
  499. package/src/components/ModalOpenButton/ModalOpenButton.tsx +15 -0
  500. package/src/components/ModalOpenButton/index.ts +1 -0
  501. package/src/components/MultipleDropdown/MultipleDropdown.context.ts +20 -0
  502. package/src/components/MultipleDropdown/MultipleDropdown.spec.tsx +381 -0
  503. package/src/components/MultipleDropdown/MultipleDropdown.stories.tsx +206 -0
  504. package/src/components/MultipleDropdown/MultipleDropdown.tsx +217 -0
  505. package/src/components/MultipleDropdown/index.ts +1 -0
  506. package/src/components/MultipleDropdown/types.ts +20 -0
  507. package/src/components/MultipleDropdown/utils.ts +32 -0
  508. package/src/components/MultipleDropdownNotification/MultipleDropdownNotification.tsx +13 -0
  509. package/src/components/MultipleDropdownNotification/index.ts +1 -0
  510. package/src/components/MultipleDropdownOptions/MultipleDropdownOptions.tsx +156 -0
  511. package/src/components/MultipleDropdownOptions/index.ts +2 -0
  512. package/src/components/MultipleDropdownOptions/types.ts +7 -0
  513. package/src/components/Popover/Popover.e2e.ts +26 -0
  514. package/src/components/Popover/Popover.spec.tsx +17 -0
  515. package/src/components/Popover/Popover.tsx +21 -0
  516. package/src/components/Popover/PopoverClose.tsx +21 -0
  517. package/src/components/Popover/PopoverContent.tsx +37 -0
  518. package/src/components/Popover/PopoverDescription.tsx +21 -0
  519. package/src/components/Popover/PopoverHeading.tsx +25 -0
  520. package/src/components/Popover/PopoverTrigger.tsx +47 -0
  521. package/src/components/Popover/hooks/usePopover.tsx +84 -0
  522. package/src/components/Popover/hooks/usePopoverContext.tsx +16 -0
  523. package/src/components/Popover/index.ts +6 -0
  524. package/src/components/Popover/stories/Popover.stories.tsx +18 -0
  525. package/src/components/Popover/stories/StoryComponent.tsx +39 -0
  526. package/src/components/Popover/types.ts +42 -0
  527. package/src/components/Progress/Progress.spec.tsx +85 -0
  528. package/src/components/Progress/Progress.stories.tsx +234 -0
  529. package/src/components/Progress/Progress.tsx +7 -0
  530. package/src/components/Progress/index.ts +1 -0
  531. package/src/components/Progress/types.ts +5 -0
  532. package/src/components/ProgressBar/ProgressBar.tsx +68 -0
  533. package/src/components/ProgressBar/index.ts +1 -0
  534. package/src/components/ProgressBar/styles.ts +15 -0
  535. package/src/components/ProgressBar/types.ts +7 -0
  536. package/src/components/ProgressCircle/ProgressCircle.spec.tsx +37 -0
  537. package/src/components/ProgressCircle/ProgressCircle.stories.tsx +96 -0
  538. package/src/components/ProgressCircle/ProgressCircle.tsx +60 -0
  539. package/src/components/ProgressCircle/ProgressCircleBase.tsx +45 -0
  540. package/src/components/ProgressCircle/ProgressCircleInner.tsx +16 -0
  541. package/src/components/ProgressCircle/ProgressCircleOuter.tsx +14 -0
  542. package/src/components/ProgressCircle/index.ts +1 -0
  543. package/src/components/ProgressCircle/styles.ts +20 -0
  544. package/src/components/ProgressCircle/types.ts +7 -0
  545. package/src/components/ProgressLegend/ProgressLegend.tsx +41 -0
  546. package/src/components/ProgressLegend/index.ts +1 -0
  547. package/src/components/ProgressLegend/types.ts +12 -0
  548. package/src/components/ProgressLegendItem/ProgressLegendItem.tsx +52 -0
  549. package/src/components/ProgressLegendItem/index.ts +1 -0
  550. package/src/components/ProgressLegendItem/types.ts +6 -0
  551. package/src/components/ProgressVertical/ProgressVertical.tsx +23 -0
  552. package/src/components/ProgressVertical/index.ts +1 -0
  553. package/src/components/ProgressVertical/types.ts +5 -0
  554. package/src/components/Radio/Radio.spec.tsx +234 -0
  555. package/src/components/Radio/Radio.stories.tsx +52 -0
  556. package/src/components/Radio/Radio.tsx +56 -0
  557. package/src/components/Radio/RadioBase.tsx +36 -0
  558. package/src/components/Radio/index.ts +1 -0
  559. package/src/components/Radio/types.ts +11 -0
  560. package/src/components/RadioGroup/RadioGroup.spec.tsx +116 -0
  561. package/src/components/RadioGroup/RadioGroup.stories.tsx +84 -0
  562. package/src/components/RadioGroup/RadioGroup.tsx +49 -0
  563. package/src/components/RadioGroup/RadioGroupBase.tsx +3 -0
  564. package/src/components/RadioGroup/index.ts +1 -0
  565. package/src/components/RadioGroup/types.ts +10 -0
  566. package/src/components/ResponsiveImage/ResponsiveImage.spec.tsx +43 -0
  567. package/src/components/ResponsiveImage/ResponsiveImage.stories.tsx +33 -0
  568. package/src/components/ResponsiveImage/ResponsiveImage.tsx +14 -0
  569. package/src/components/ResponsiveImage/index.tsx +1 -0
  570. package/src/components/ResponsiveImage/types.ts +7 -0
  571. package/src/components/Step/Step.context.ts +21 -0
  572. package/src/components/Step/Step.tsx +58 -0
  573. package/src/components/Step/index.ts +2 -0
  574. package/src/components/StepConnector/StepConnector.tsx +34 -0
  575. package/src/components/StepConnector/index.ts +1 -0
  576. package/src/components/StepConnector/style.ts +24 -0
  577. package/src/components/StepLabel/StepLabel.tsx +65 -0
  578. package/src/components/StepLabel/index.ts +1 -0
  579. package/src/components/StepLabel/styles.ts +38 -0
  580. package/src/components/Stepper/Stepper.context.ts +16 -0
  581. package/src/components/Stepper/Stepper.spec.tsx +128 -0
  582. package/src/components/Stepper/Stepper.stories.tsx +292 -0
  583. package/src/components/Stepper/Stepper.tsx +49 -0
  584. package/src/components/Stepper/index.ts +5 -0
  585. package/src/components/Stepper/types.ts +17 -0
  586. package/src/components/Switch/Switch.spec.tsx +181 -0
  587. package/src/components/Switch/Switch.stories.tsx +64 -0
  588. package/src/components/Switch/Switch.tsx +21 -0
  589. package/src/components/Switch/SwitchBase.tsx +62 -0
  590. package/src/components/Switch/SwitchContext.tsx +38 -0
  591. package/src/components/Switch/index.ts +6 -0
  592. package/src/components/Switch/types.ts +4 -0
  593. package/src/components/Tab/Tab.tsx +31 -0
  594. package/src/components/Tab/TabBase.tsx +31 -0
  595. package/src/components/Tab/index.ts +1 -0
  596. package/src/components/TabBar/TabBar.spec.tsx +290 -0
  597. package/src/components/TabBar/TabBar.tsx +43 -0
  598. package/src/components/TabBar/TabBarContext.tsx +43 -0
  599. package/src/components/TabBar/index.ts +6 -0
  600. package/src/components/TabBar/stories/TimePeriodTabBar.stories.tsx +84 -0
  601. package/src/components/TabBar/stories/WeekTabBar.stories.tsx +136 -0
  602. package/src/components/TabBar/stories/helpers.tsx +69 -0
  603. package/src/components/TabBar/types.ts +39 -0
  604. package/src/components/Table/Table.spec.tsx +86 -0
  605. package/src/components/Table/Table.tsx +13 -0
  606. package/src/components/Table/index.ts +1 -0
  607. package/src/components/Table/stories/SortableTable.tsx +78 -0
  608. package/src/components/Table/stories/Table.stories.tsx +94 -0
  609. package/src/components/Table/stories/consts.ts +6 -0
  610. package/src/components/Table/stories/mock.ts +16 -0
  611. package/src/components/Table/stories/types.ts +9 -0
  612. package/src/components/Table/stories/utils.ts +2 -0
  613. package/src/components/TableBody/TableBody.tsx +8 -0
  614. package/src/components/TableBody/index.ts +1 -0
  615. package/src/components/TableCell/TableCell.tsx +16 -0
  616. package/src/components/TableCell/index.ts +1 -0
  617. package/src/components/TableHead/TableHead.tsx +15 -0
  618. package/src/components/TableHead/index.ts +1 -0
  619. package/src/components/TableRow/TableRow.tsx +12 -0
  620. package/src/components/TableRow/index.ts +1 -0
  621. package/src/components/Tag/Tag.spec.tsx +121 -0
  622. package/src/components/Tag/Tag.stories.tsx +96 -0
  623. package/src/components/Tag/Tag.tsx +47 -0
  624. package/src/components/Tag/index.ts +1 -0
  625. package/src/components/Tag/styles.ts +123 -0
  626. package/src/components/Tag/types.ts +7 -0
  627. package/src/components/TextField/TextField.spec.tsx +171 -0
  628. package/src/components/TextField/TextField.stories.tsx +221 -0
  629. package/src/components/TextField/TextField.tsx +61 -0
  630. package/src/components/TextField/index.ts +1 -0
  631. package/src/components/TextField/types.ts +20 -0
  632. package/src/components/Textarea/Textarea.spec.tsx +56 -0
  633. package/src/components/Textarea/Textarea.stories.tsx +58 -0
  634. package/src/components/Textarea/Textarea.tsx +35 -0
  635. package/src/components/Textarea/TextareaBase.tsx +44 -0
  636. package/src/components/Textarea/index.ts +1 -0
  637. package/src/components/Textarea/types.ts +15 -0
  638. package/src/components/Tooltip/ProgressChartTooltip.tsx +48 -0
  639. package/src/components/Tooltip/SimpleChartTooltip.tsx +20 -0
  640. package/src/components/Tooltip/Tooltip.spec.tsx +305 -0
  641. package/src/components/Tooltip/Tooltip.stories.tsx +160 -0
  642. package/src/components/Tooltip/Tooltip.tsx +22 -0
  643. package/src/components/Tooltip/TooltipArrow.tsx +26 -0
  644. package/src/components/Tooltip/TooltipContentBase.tsx +9 -0
  645. package/src/components/Tooltip/index.ts +5 -0
  646. package/src/components/Tooltip/styles.ts +16 -0
  647. package/src/components/Tooltip/types.ts +88 -0
  648. package/src/components/Tooltip/useTooltip.tsx +74 -0
  649. package/src/components/Tooltip/useTooltipContext.tsx +16 -0
  650. package/src/components/Tooltip/utils.tsx +8 -0
  651. package/src/components/TooltipContent/TooltipContent.tsx +49 -0
  652. package/src/components/TooltipContent/index.ts +1 -0
  653. package/src/components/TooltipTrigger/TooltipTrigger.tsx +21 -0
  654. package/src/components/TooltipTrigger/index.ts +1 -0
  655. package/src/components/Typography/Typography.spec.tsx +259 -0
  656. package/src/components/Typography/Typography.stories.tsx +68 -0
  657. package/src/components/Typography/Typography.tsx +52 -0
  658. package/src/components/Typography/index.ts +1 -0
  659. package/src/components/Typography/styles.ts +85 -0
  660. package/src/components/Typography/types.ts +22 -0
  661. package/src/components/Wrapper/Wrapper.spec.tsx +15 -0
  662. package/src/components/Wrapper/Wrapper.tsx +19 -0
  663. package/src/components/Wrapper/index.ts +1 -0
  664. package/src/consts.ts +18 -0
  665. package/src/index.ts +85 -0
  666. package/src/injectGlobal.ts +41 -0
  667. package/src/styles/global.ts +91 -0
  668. package/src/styles/safari-focus-outline.ts +37 -0
  669. package/src/styles/styles.spec.tsx +42 -0
  670. package/src/themes/main.ts +116 -0
  671. package/src/types/emotion.d.ts +7 -0
  672. package/src/types/emotion.ts +132 -0
  673. package/src/types/global.d.ts +7 -0
  674. package/src/types/global.ts +19 -0
  675. package/storybook-static/106.778a645c.iframe.bundle.js +44 -0
  676. package/storybook-static/106.778a645c.iframe.bundle.js.map +1 -0
  677. package/storybook-static/138.8c2d65fc.iframe.bundle.js +402 -0
  678. package/storybook-static/138.8c2d65fc.iframe.bundle.js.LICENSE.txt +64 -0
  679. package/storybook-static/138.8c2d65fc.iframe.bundle.js.map +1 -0
  680. package/storybook-static/147.4bde027d.iframe.bundle.js +1 -0
  681. package/storybook-static/162.50651ae2.iframe.bundle.js +1 -0
  682. package/storybook-static/17.5d9bd250.iframe.bundle.js +1 -0
  683. package/storybook-static/291.09d4c667.iframe.bundle.js +1 -0
  684. package/storybook-static/306.af359eab.iframe.bundle.js +6 -0
  685. package/storybook-static/306.af359eab.iframe.bundle.js.LICENSE.txt +8 -0
  686. package/storybook-static/306.af359eab.iframe.bundle.js.map +1 -0
  687. package/storybook-static/362.4cbbd69f.iframe.bundle.js +1 -0
  688. package/storybook-static/420.42d7bc14.iframe.bundle.js +1 -0
  689. package/storybook-static/576.29e7ae1a.iframe.bundle.js +1 -0
  690. package/storybook-static/577.1d2cbd23.iframe.bundle.js +1 -0
  691. package/storybook-static/710.062ccd5f.iframe.bundle.js +1 -0
  692. package/storybook-static/768.33e53fd0.iframe.bundle.js +1 -0
  693. package/storybook-static/828.5ae0e882.iframe.bundle.js +1 -0
  694. package/storybook-static/829.683a9f42.iframe.bundle.js +133 -0
  695. package/storybook-static/829.683a9f42.iframe.bundle.js.map +1 -0
  696. package/storybook-static/866.50e11952.iframe.bundle.js +1 -0
  697. package/storybook-static/92.83dcbe4b.iframe.bundle.js +1 -0
  698. package/storybook-static/945.3489a74d.iframe.bundle.js +1 -0
  699. package/storybook-static/958.d966bb86.iframe.bundle.js +1 -0
  700. package/storybook-static/components-Badge-Badge-stories.f86fca97.iframe.bundle.js +1 -0
  701. package/storybook-static/components-Button-Button-stories.f9b820e6.iframe.bundle.js +1 -0
  702. package/storybook-static/components-Card-Card-stories.53c865e0.iframe.bundle.js +1 -0
  703. package/storybook-static/components-Checkbox-Checkbox-stories.831f01fd.iframe.bundle.js +1 -0
  704. package/storybook-static/components-ColorPicker-ColorPicker-stories.2ab41812.iframe.bundle.js +1 -0
  705. package/storybook-static/components-Dropdown-Dropdown-stories.7167f777.iframe.bundle.js +1 -0
  706. package/storybook-static/components-Form-Form-stories-mdx.9836b75e.iframe.bundle.js +2 -0
  707. package/storybook-static/components-Form-Form-stories-mdx.9836b75e.iframe.bundle.js.LICENSE.txt +9 -0
  708. package/storybook-static/components-Form-Form-stories.3de6bf7e.iframe.bundle.js +1 -0
  709. package/storybook-static/components-FormRadioGroup-FormRadioGroup-stories.0502eda0.iframe.bundle.js +1 -0
  710. package/storybook-static/components-Icon-Icons-stories.1acf0324.iframe.bundle.js +1 -0
  711. package/storybook-static/components-Input-Input-stories.6eb48766.iframe.bundle.js +1 -0
  712. package/storybook-static/components-Modal-Modal-stories.86f65df0.iframe.bundle.js +1 -0
  713. package/storybook-static/components-Progress-Progress-stories.77e171cd.iframe.bundle.js +1 -0
  714. package/storybook-static/components-ProgressCircle-ProgressCircle-stories.859f52ec.iframe.bundle.js +1 -0
  715. package/storybook-static/components-Radio-Radio-stories.71a0eb7a.iframe.bundle.js +1 -0
  716. package/storybook-static/components-RadioGroup-RadioGroup-stories.c5e954b8.iframe.bundle.js +1 -0
  717. package/storybook-static/components-ResponsiveImage-ResponsiveImage-stories.0865df1e.iframe.bundle.js +1 -0
  718. package/storybook-static/components-Stepper-Stepper-stories.7627cd7c.iframe.bundle.js +1 -0
  719. package/storybook-static/components-Switch-Switch-stories.a4a76d7f.iframe.bundle.js +1 -0
  720. package/storybook-static/components-TabBar-stories-TimePeriodTabBar-stories.70f1a14c.iframe.bundle.js +1 -0
  721. package/storybook-static/components-TabBar-stories-WeekTabBar-stories.9e080c9e.iframe.bundle.js +1 -0
  722. package/storybook-static/components-Table-Table-stories.f316f6a3.iframe.bundle.js +1 -0
  723. package/storybook-static/components-Tag-Tag-stories.4f4974ab.iframe.bundle.js +1 -0
  724. package/storybook-static/components-TextField-TextField-stories.af04f7d8.iframe.bundle.js +1 -0
  725. package/storybook-static/components-Textarea-Textarea-stories.90376002.iframe.bundle.js +1 -0
  726. package/storybook-static/components-Tooltip-Tooltip-stories.63785818.iframe.bundle.js +1 -0
  727. package/storybook-static/components-Typography-Typography-stories.3cdf669d.iframe.bundle.js +1 -0
  728. package/storybook-static/favicon.svg +7 -0
  729. package/storybook-static/iframe.html +355 -0
  730. package/storybook-static/index.html +126 -0
  731. package/storybook-static/index.json +1 -0
  732. package/storybook-static/main.4d06409e.iframe.bundle.js +1 -0
  733. package/storybook-static/project.json +1 -0
  734. package/storybook-static/runtime~main.dcd9f3c1.iframe.bundle.js +1 -0
  735. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +4 -0
  736. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  737. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.map +7 -0
  738. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +13 -0
  739. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  740. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.map +7 -0
  741. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +117 -0
  742. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
  743. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.map +7 -0
  744. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +4 -0
  745. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  746. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.map +7 -0
  747. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +4 -0
  748. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  749. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.map +7 -0
  750. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +4 -0
  751. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  752. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.map +7 -0
  753. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +4 -0
  754. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  755. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.map +7 -0
  756. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +28 -0
  757. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  758. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.map +7 -0
  759. package/storybook-static/sb-addons/links-0/manager-bundle.js +4 -0
  760. package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
  761. package/storybook-static/sb-addons/links-0/manager-bundle.js.map +7 -0
  762. package/storybook-static/sb-common-assets/fonts.css +31 -0
  763. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  764. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  765. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  766. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  767. package/storybook-static/sb-manager/GlobalScrollAreaStyles-DZEYMYDM-UAEZM2KF.js +7 -0
  768. package/storybook-static/sb-manager/OverlayScrollbars-OGE3XJTA-T3S33YR7.js +1 -0
  769. package/storybook-static/sb-manager/WithTooltip-I4CCNYWD-ZW5IOTVO.js +1 -0
  770. package/storybook-static/sb-manager/chunk-3FAXWWKG.js +15 -0
  771. package/storybook-static/sb-manager/chunk-AA6TEL5N.js +207 -0
  772. package/storybook-static/sb-manager/chunk-AM2ZNZZH.js +136 -0
  773. package/storybook-static/sb-manager/chunk-AS2AMEUR.js +1 -0
  774. package/storybook-static/sb-manager/chunk-FPTBIX6P.js +403 -0
  775. package/storybook-static/sb-manager/chunk-IPZYHIL3.js +7 -0
  776. package/storybook-static/sb-manager/chunk-QPL63VNK.js +1 -0
  777. package/storybook-static/sb-manager/chunk-R5BIZIS3.js +1 -0
  778. package/storybook-static/sb-manager/formatter-OJ5LH2CX-IQX6U4TO.js +156 -0
  779. package/storybook-static/sb-manager/globals.js +1 -0
  780. package/storybook-static/sb-manager/index.js +1 -0
  781. package/storybook-static/sb-manager/runtime.js +1 -0
  782. package/storybook-static/sb-manager/syntaxhighlighter-SIPZPD4I-WOB5MYBW.js +1 -0
  783. package/storybook-static/sb-preview/globals.js +1 -0
  784. package/storybook-static/sb-preview/runtime.js +105 -0
  785. package/storybook-static/stories.json +1 -0
  786. package/tasks/create.js +45 -0
  787. package/tasks/firebase-import-meal-nutrients.js +66 -0
  788. package/tsbuildcache +1 -0
  789. package/tsconfig.build.json +44 -0
  790. package/tsconfig.json +20 -0
  791. package/tsconfig.tsbuildinfo +1 -0
  792. package/webpack.config.js +26 -0
@@ -0,0 +1,90 @@
1
+ import { Fragment } from 'react';
2
+ import { Meta } from '@storybook/react';
3
+ import { useForm, SubmitHandler } from 'react-hook-form';
4
+
5
+ import Typography from '@components/Typography';
6
+ import Button from '@components/Button';
7
+ import Radio from '@components/Radio';
8
+
9
+ import { IFormRadioGroupProps } from './types';
10
+ import FormRadioGroup from './FormRadioGroup';
11
+
12
+ export default {
13
+ title: 'Components/Radio Buttons/FormRadioGroup',
14
+ component: FormRadioGroup,
15
+ argTypes: {
16
+ className: {
17
+ control: {
18
+ disable: true,
19
+ },
20
+ },
21
+ initialState: {
22
+ control: {
23
+ disable: true,
24
+ },
25
+ },
26
+ control: {
27
+ control: {
28
+ disable: true,
29
+ },
30
+ },
31
+ },
32
+ parameters: {
33
+ docs: {
34
+ source: {
35
+ type: 'code',
36
+ },
37
+ },
38
+ },
39
+ } as Meta<typeof FormRadioGroup>;
40
+
41
+ type DemoForm = {
42
+ tree: string;
43
+ };
44
+
45
+ export const FormRadioGroupStory = (args: IFormRadioGroupProps<DemoForm>) => {
46
+ const { name, isRequired, initialState } = args;
47
+
48
+ const { handleSubmit, control } = useForm<DemoForm>();
49
+
50
+ const onSubmit: SubmitHandler<DemoForm> = (data: DemoForm) =>
51
+ alert(JSON.stringify(data, null, ' '));
52
+
53
+ return (
54
+ <Fragment>
55
+ <Typography variant="h4">Form Radio Group</Typography>
56
+
57
+ <form onSubmit={handleSubmit(onSubmit)} css={{ marginTop: '10px' }}>
58
+ <FormRadioGroup
59
+ name={name}
60
+ isRequired={isRequired}
61
+ initialState={initialState}
62
+ control={control}>
63
+ <Radio id="radio1" value="oak" text="Oak" />
64
+ <Radio id="radio2" value="spruce" text="Spruce" />
65
+ <Radio
66
+ id="radio3"
67
+ value="chestnut"
68
+ text="Chestnut"
69
+ isDisabled={true}
70
+ />
71
+ </FormRadioGroup>
72
+
73
+ <Button
74
+ size="small"
75
+ type="submit"
76
+ text="Submit"
77
+ css={{
78
+ marginTop: '7px',
79
+ }}
80
+ />
81
+ </form>
82
+ </Fragment>
83
+ );
84
+ };
85
+
86
+ FormRadioGroupStory.args = {
87
+ name: 'tree',
88
+ isRequired: true,
89
+ };
90
+ FormRadioGroupStory.storyName = 'FormRadioGroup';
@@ -0,0 +1,35 @@
1
+ import { useController } from 'react-hook-form';
2
+ import type { FieldValues } from 'react-hook-form';
3
+
4
+ import RadioGroup from '@components/RadioGroup';
5
+
6
+ import { IFormRadioGroupProps } from './types';
7
+ import { ChangeEvent } from 'react';
8
+
9
+ const FormRadioGroup = <T extends FieldValues>({
10
+ name,
11
+ isRequired = false,
12
+ control,
13
+ children,
14
+ ...props
15
+ }: IFormRadioGroupProps<T>) => {
16
+ const { field } = useController<T>({
17
+ control,
18
+ name,
19
+ rules: { required: isRequired },
20
+ });
21
+
22
+ return (
23
+ <RadioGroup
24
+ name={field.name}
25
+ onChange={(value) => {
26
+ field.onChange(value as unknown as ChangeEvent);
27
+ }}
28
+ isRequired={isRequired}
29
+ {...props}>
30
+ {children}
31
+ </RadioGroup>
32
+ );
33
+ };
34
+
35
+ export default FormRadioGroup;
@@ -0,0 +1 @@
1
+ export { default } from './FormRadioGroup';
@@ -0,0 +1,12 @@
1
+ import { FieldPath, Control, FieldValues } from 'react-hook-form';
2
+
3
+ import { IRadioGroupProps } from '@components/RadioGroup/types';
4
+ import { CommonProps } from '@global-types/emotion';
5
+
6
+ export type IFormRadioGroupProps<T extends FieldValues> = Omit<
7
+ IRadioGroupProps,
8
+ 'name' | 'onChange'
9
+ > & {
10
+ name: FieldPath<T>;
11
+ control: Control<T>;
12
+ } & CommonProps;
@@ -0,0 +1,7 @@
1
+ import { IconProps } from './types';
2
+ import IconsMap from './icons';
3
+
4
+ const Icon = ({ name, color = '#000', size = 24 }: IconProps) => {
5
+ return <IconsMap name={name} color={color} size={size} />;
6
+ };
7
+ export default Icon;
@@ -0,0 +1,63 @@
1
+ import Icon from '@components/Icon';
2
+ import { iconsList } from '@components/Icon';
3
+ import { screen, waitFor } from '../../../customTest';
4
+ import { IMapIcons } from './types';
5
+
6
+ const renderIcon = async (icon: keyof IMapIcons) => {
7
+ render(<Icon name={icon} size={12} color="#fff" />);
8
+
9
+ const iconTitle = new RegExp(icon.replace('-', ' '), 'i');
10
+
11
+ const titleEl = await screen.findByTitle(iconTitle);
12
+ const svg = titleEl.closest('svg') as unknown as HTMLElement;
13
+ const element =
14
+ svg.querySelector('path') ||
15
+ svg.querySelector('rect') ||
16
+ svg.querySelector('circle');
17
+
18
+ return [svg, element];
19
+ };
20
+
21
+ const checkFillOrStrokeAttrs = (
22
+ el: HTMLElement | SVGPathElement | null,
23
+ name: string,
24
+ ) => {
25
+ expect(el).toBeInTheDocument();
26
+ try {
27
+ expect(el).toHaveAttribute('fill');
28
+ } catch {
29
+ try {
30
+ expect(el).toHaveAttribute('stroke');
31
+ } catch (e) {
32
+ throw new Error(`the icon ${name} is missing attribute fill or stroke`);
33
+ }
34
+ }
35
+ };
36
+
37
+ describe('Icons', () => {
38
+ iconsList.forEach((iconName) => {
39
+ it(`Render ${iconName} icon with attributes`, async () => {
40
+ const [icon, path] = await renderIcon(iconName as keyof IMapIcons);
41
+
42
+ await waitFor(() => {
43
+ expect(icon).toBeInTheDocument();
44
+ expect(icon).toHaveAttribute('height', '12px');
45
+
46
+ checkFillOrStrokeAttrs(path, iconName);
47
+ });
48
+ });
49
+ });
50
+
51
+ it('Default render with 24px', async () => {
52
+ render(<Icon name="calendar" color="#fff" />);
53
+
54
+ await waitFor(() => {
55
+ const icon = screen
56
+ .getByTitle('Calendar')
57
+ .closest('svg') as unknown as HTMLElement;
58
+
59
+ expect(icon).toBeInTheDocument();
60
+ expect(icon).toHaveAttribute('height', '24px');
61
+ });
62
+ });
63
+ });
@@ -0,0 +1,56 @@
1
+ import { css } from '@emotion/react';
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ import Typography from '@components/Typography/Typography';
4
+ import Icon, { iconsList } from './index';
5
+
6
+ export default {
7
+ title: 'Components/Icons',
8
+ component: Icon,
9
+ parameters: {
10
+ docs: {
11
+ source: {
12
+ type: 'code',
13
+ },
14
+ },
15
+ },
16
+ argTypes: {
17
+ color: { control: 'color' },
18
+ },
19
+ } as Meta<typeof Icon>;
20
+
21
+ const iconWrapper = css`
22
+ width: 120px;
23
+ height: 120px;
24
+ border: 1px solid grey;
25
+ border-radius: 5px;
26
+
27
+ display: flex;
28
+ flex-direction: column;
29
+ align-items: center;
30
+ justify-content: center;
31
+ gap: 10px;
32
+ `;
33
+
34
+ export const Default: StoryObj<typeof Icon> = (
35
+ args: Parameters<typeof Icon>[0],
36
+ ) => {
37
+ return (
38
+ <div
39
+ css={css`
40
+ display: flex;
41
+ flex-flow: row wrap;
42
+ align-items: flex-start;
43
+ padding-bottom: 54px;
44
+ gap: 12px;
45
+ `}>
46
+ {iconsList.map((iconName) => (
47
+ <div css={iconWrapper} key={iconName}>
48
+ <Icon name={iconName} size={args.size} color={args.color} />
49
+ <Typography variant="body1">{iconName}</Typography>
50
+ </div>
51
+ ))}
52
+ </div>
53
+ );
54
+ };
55
+
56
+ Default.storyName = 'Icons';
@@ -0,0 +1,35 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Archive = ({ fill = '#000', size = 15 }: SVGProps) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={`${size}px`}
7
+ height={`${size}px`}
8
+ viewBox="0 0 15 15"
9
+ fill="none">
10
+ <title>Archive</title>
11
+ <g clipPath="url(#clip0_532_12720)">
12
+ <path
13
+ d="M12.5 14.2188H2.5C2.04426 14.2184 1.60728 14.0372 1.28503 13.715C0.96277 13.3927 0.781581 12.9557 0.78125 12.5V5C0.78125 4.87568 0.830636 4.75645 0.918544 4.66854C1.00645 4.58064 1.12568 4.53125 1.25 4.53125H13.75C13.8743 4.53125 13.9936 4.58064 14.0815 4.66854C14.1694 4.75645 14.2188 4.87568 14.2188 5V12.5C14.2184 12.9557 14.0372 13.3927 13.715 13.715C13.3927 14.0372 12.9557 14.2184 12.5 14.2188ZM1.71875 5.46875V12.5C1.71908 12.7071 1.8015 12.9056 1.94794 13.0521C2.09438 13.1985 2.2929 13.2809 2.5 13.2813H12.5C12.7071 13.2809 12.9056 13.1985 13.0521 13.0521C13.1985 12.9056 13.2809 12.7071 13.2813 12.5V5.46875H1.71875Z"
14
+ fill={fill}
15
+ />
16
+ <path
17
+ d="M13.75 5.46876H1.24998C1.17011 5.46875 1.09156 5.44834 1.02179 5.40945C0.952017 5.37056 0.893342 5.31449 0.851329 5.24656C0.809316 5.17862 0.78536 5.10108 0.781733 5.02129C0.778107 4.94149 0.794931 4.8621 0.830609 4.79063L2.53311 1.38563C2.62339 1.20356 2.76288 1.05043 2.93577 0.943609C3.10865 0.836785 3.30801 0.780542 3.51123 0.781257H11.4887C11.692 0.780526 11.8915 0.836833 12.0644 0.943779C12.2373 1.05073 12.3767 1.20402 12.4669 1.38626L14.1694 4.79063C14.205 4.8621 14.2219 4.94149 14.2182 5.02129C14.2146 5.10108 14.1907 5.17862 14.1486 5.24656C14.1066 5.31449 14.048 5.37056 13.9782 5.40945C13.9084 5.44834 13.8299 5.46875 13.75 5.46876ZM2.00873 4.53126H12.9912L11.6281 1.80501C11.6153 1.779 11.5955 1.75711 11.5708 1.74186C11.5462 1.7266 11.5177 1.7186 11.4887 1.71876H3.51123C3.48234 1.71869 3.45401 1.72666 3.42939 1.74178C3.40477 1.7569 3.38485 1.77858 3.37186 1.80438L2.00873 4.53126Z"
18
+ fill={fill}
19
+ />
20
+ <path
21
+ d="M7.5 11.7188C7.37568 11.7188 7.25645 11.6694 7.16854 11.5815C7.08064 11.4935 7.03125 11.3743 7.03125 11.25V7.5C7.03125 7.37568 7.08064 7.25645 7.16854 7.16854C7.25645 7.08064 7.37568 7.03125 7.5 7.03125C7.62432 7.03125 7.74355 7.08064 7.83146 7.16854C7.91936 7.25645 7.96875 7.37568 7.96875 7.5V11.25C7.96875 11.3743 7.91936 11.4935 7.83146 11.5815C7.74355 11.6694 7.62432 11.7188 7.5 11.7188Z"
22
+ fill={fill}
23
+ />
24
+ <path
25
+ d="M7.50003 11.7188C7.43846 11.7189 7.37747 11.7069 7.32061 11.6832C7.26375 11.6596 7.21214 11.625 7.16878 11.5813L5.29378 9.70628C5.21098 9.61742 5.1659 9.49989 5.16804 9.37845C5.17018 9.25701 5.21938 9.14115 5.30526 9.05526C5.39115 8.96938 5.50701 8.92018 5.62845 8.91804C5.74989 8.9159 5.86742 8.96098 5.95628 9.04378L7.50003 10.5869L9.04378 9.04378C9.13264 8.96098 9.25016 8.9159 9.3716 8.91804C9.49304 8.92018 9.60891 8.96938 9.69479 9.05526C9.78067 9.14115 9.82987 9.25701 9.83201 9.37845C9.83415 9.49989 9.78908 9.61742 9.70628 9.70628L7.83128 11.5813C7.78791 11.625 7.7363 11.6596 7.67944 11.6832C7.62258 11.7069 7.56159 11.7189 7.50003 11.7188Z"
26
+ fill={fill}
27
+ />
28
+ </g>
29
+ <defs>
30
+ <clipPath id="clip0_532_12720">
31
+ <rect width={size} height={size} fill="white" />
32
+ </clipPath>
33
+ </defs>
34
+ </svg>
35
+ );
@@ -0,0 +1,26 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const ArrowDown = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 7 8"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg">
10
+ <title>Arrow Down</title>
11
+ <path
12
+ d="M3.1779 7.07707L3.1779 0.922729"
13
+ stroke={fill}
14
+ strokeWidth="0.8"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ />
18
+ <path
19
+ d="M5.93896 4.59485L3.17796 7.0771L0.416504 4.59485"
20
+ stroke={fill}
21
+ strokeWidth="0.8"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ />
25
+ </svg>
26
+ );
@@ -0,0 +1,26 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const ArrowUp = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 7 8"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg">
10
+ <title>Arrow Up</title>
11
+ <path
12
+ d="M3.17757 0.92293L3.17757 7.07727"
13
+ stroke={fill}
14
+ strokeWidth="0.8"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ />
18
+ <path
19
+ d="M0.416507 3.40515L3.17751 0.922901L5.93896 3.40515"
20
+ stroke={fill}
21
+ strokeWidth="0.8"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ />
25
+ </svg>
26
+ );
@@ -0,0 +1,22 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Attention = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ fill="none"
8
+ viewBox="0 0 20 20"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink">
11
+ <title>Attention</title>
12
+ <path
13
+ d="M10 1.90479L2.85718 6.1905V13.8095L10 18.5715L17.1429 13.8095V6.1905L10 1.90479Z"
14
+ stroke={fill}
15
+ strokeWidth="1.2"
16
+ />
17
+ <path
18
+ d="M10.7004 6.19048C10.7004 5.80388 10.387 5.49048 10.0004 5.49048C9.6138 5.49048 9.3004 5.80388 9.3004 6.19048V10.1587C9.3004 10.5453 9.6138 10.8587 10.0004 10.8587C10.387 10.8587 10.7004 10.5453 10.7004 10.1587V6.19048ZM9.99622 12.1746C9.44393 12.1746 8.99622 12.6224 8.99622 13.1746C8.99622 13.7269 9.44393 14.1746 9.99622 14.1746H10.0033C10.5556 14.1746 11.0033 13.7269 11.0033 13.1746C11.0033 12.6224 10.5556 12.1746 10.0033 12.1746H9.99622Z"
19
+ fill={fill}
20
+ />
21
+ </svg>
22
+ );
@@ -0,0 +1,28 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Bin = ({ fill = '#000', size = 15 }: SVGProps) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={`${size}px`}
7
+ height={`${size}px`}
8
+ viewBox="0 0 15 15"
9
+ fill="none">
10
+ <title>Bin</title>
11
+ <path
12
+ d="M9.14062 11.1328C9.39947 11.1328 9.60938 10.9229 9.60938 10.6641V5.97656C9.60938 5.71772 9.39947 5.50781 9.14062 5.50781C8.88178 5.50781 8.67188 5.71772 8.67188 5.97656V10.6641C8.67188 10.9229 8.88178 11.1328 9.14062 11.1328Z"
13
+ fill={fill}
14
+ />
15
+ <path
16
+ d="M5.85938 11.1328C6.11822 11.1328 6.32812 10.9229 6.32812 10.6641V5.97656C6.32812 5.71772 6.11822 5.50781 5.85938 5.50781C5.60053 5.50781 5.39062 5.71772 5.39062 5.97656V10.6641C5.39062 10.9229 5.60053 11.1328 5.85938 11.1328Z"
17
+ fill={fill}
18
+ />
19
+ <path
20
+ d="M9.375 1.99219C9.63384 1.99219 9.84375 1.78228 9.84375 1.52344C9.84375 1.26459 9.63384 1.05469 9.375 1.05469H5.625C5.36616 1.05469 5.15625 1.26459 5.15625 1.52344C5.15625 1.78228 5.36616 1.99219 5.625 1.99219H9.375Z"
21
+ fill={fill}
22
+ />
23
+ <path
24
+ d="M2.34375 2.46094C2.08491 2.46094 1.875 2.67084 1.875 2.92969C1.875 3.18853 2.08491 3.39844 2.34375 3.39844H2.8125V12.0234C2.8125 13.0828 3.675 13.9453 4.73438 13.9453H10.2656C11.325 13.9453 12.1875 13.0828 12.1875 12.0234V3.39844H12.6562C12.9151 3.39844 13.125 3.18853 13.125 2.92969C13.125 2.67084 12.9151 2.46094 12.6562 2.46094H11.7188H3.28125H2.34375ZM11.25 3.39844V12.0234C11.25 12.5672 10.8094 13.0078 10.2656 13.0078H4.73438C4.19063 13.0078 3.75 12.5672 3.75 12.0234V3.39844H11.25Z"
25
+ fill={fill}
26
+ />
27
+ </svg>
28
+ );
@@ -0,0 +1,16 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Calendar = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 20 20"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink">
10
+ <title>Calendar</title>
11
+ <path
12
+ d="M3.61111 0C1.6267 0 0 1.6267 0 3.61111V16.3889C0 18.3733 1.6267 20 3.61111 20H16.3889C18.3733 20 20 18.3733 20 16.3889V3.61111C20 1.6267 18.3733 0 16.3889 0H3.61111ZM3.61111 1.66667H16.3889C17.4723 1.66667 18.3333 2.52774 18.3333 3.61111V4.44444H1.66667V3.61111C1.66667 2.52774 2.52774 1.66667 3.61111 1.66667ZM1.66667 6.11111H18.3333V16.3889C18.3333 17.4723 17.4723 18.3333 16.3889 18.3333H3.61111C2.52774 18.3333 1.66667 17.4723 1.66667 16.3889V6.11111ZM5.27778 8.33333C4.90942 8.33333 4.55615 8.47966 4.29569 8.74013C4.03522 9.0006 3.88889 9.35387 3.88889 9.72222C3.88889 10.0906 4.03522 10.4438 4.29569 10.7043C4.55615 10.9648 4.90942 11.1111 5.27778 11.1111C5.64613 11.1111 5.9994 10.9648 6.25987 10.7043C6.52034 10.4438 6.66667 10.0906 6.66667 9.72222C6.66667 9.35387 6.52034 9.0006 6.25987 8.74013C5.9994 8.47966 5.64613 8.33333 5.27778 8.33333ZM10 8.33333C9.63164 8.33333 9.27837 8.47966 9.01791 8.74013C8.75744 9.0006 8.61111 9.35387 8.61111 9.72222C8.61111 10.0906 8.75744 10.4438 9.01791 10.7043C9.27837 10.9648 9.63164 11.1111 10 11.1111C10.3684 11.1111 10.7216 10.9648 10.9821 10.7043C11.2426 10.4438 11.3889 10.0906 11.3889 9.72222C11.3889 9.35387 11.2426 9.0006 10.9821 8.74013C10.7216 8.47966 10.3684 8.33333 10 8.33333ZM14.7222 8.33333C14.3539 8.33333 14.0006 8.47966 13.7401 8.74013C13.4797 9.0006 13.3333 9.35387 13.3333 9.72222C13.3333 10.0906 13.4797 10.4438 13.7401 10.7043C14.0006 10.9648 14.3539 11.1111 14.7222 11.1111C15.0906 11.1111 15.4438 10.9648 15.7043 10.7043C15.9648 10.4438 16.1111 10.0906 16.1111 9.72222C16.1111 9.35387 15.9648 9.0006 15.7043 8.74013C15.4438 8.47966 15.0906 8.33333 14.7222 8.33333ZM5.27778 13.3333C4.90942 13.3333 4.55615 13.4797 4.29569 13.7401C4.03522 14.0006 3.88889 14.3539 3.88889 14.7222C3.88889 15.0906 4.03522 15.4438 4.29569 15.7043C4.55615 15.9648 4.90942 16.1111 5.27778 16.1111C5.64613 16.1111 5.9994 15.9648 6.25987 15.7043C6.52034 15.4438 6.66667 15.0906 6.66667 14.7222C6.66667 14.3539 6.52034 14.0006 6.25987 13.7401C5.9994 13.4797 5.64613 13.3333 5.27778 13.3333ZM10 13.3333C9.63164 13.3333 9.27837 13.4797 9.01791 13.7401C8.75744 14.0006 8.61111 14.3539 8.61111 14.7222C8.61111 15.0906 8.75744 15.4438 9.01791 15.7043C9.27837 15.9648 9.63164 16.1111 10 16.1111C10.3684 16.1111 10.7216 15.9648 10.9821 15.7043C11.2426 15.4438 11.3889 15.0906 11.3889 14.7222C11.3889 14.3539 11.2426 14.0006 10.9821 13.7401C10.7216 13.4797 10.3684 13.3333 10 13.3333Z"
13
+ fill={fill}
14
+ />
15
+ </svg>
16
+ );
@@ -0,0 +1,20 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const CarrotDown = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 18 10"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink">
10
+ <title>Carrot down</title>
11
+ <path
12
+ d="M17 1L9 9L1 1"
13
+ stroke={fill}
14
+ strokeWidth="1.8"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ fill="none"
18
+ />
19
+ </svg>
20
+ );
@@ -0,0 +1,20 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const CarrotLeft = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 11 18"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink">
10
+ <title>Carrot left</title>
11
+ <path
12
+ d="M9.5 0.999999L1.5 9L9.5 17"
13
+ stroke={fill}
14
+ strokeWidth="1.8"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ fill="none"
18
+ />
19
+ </svg>
20
+ );
@@ -0,0 +1,20 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const CarrotRight = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 11 18"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink">
10
+ <title>Carrot right</title>
11
+ <path
12
+ d="M1.5 0.999999L9.5 9L1.5 17"
13
+ stroke={fill}
14
+ strokeWidth="1.8"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ fill="none"
18
+ />
19
+ </svg>
20
+ );
@@ -0,0 +1,20 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const CarrotUp = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 18 10"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink">
10
+ <title>Carrot up</title>
11
+ <path
12
+ d="M17 9.5L9 1.5L1 9.5"
13
+ stroke={fill}
14
+ strokeWidth="1.8"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ fill="none"
18
+ />
19
+ </svg>
20
+ );
@@ -0,0 +1,16 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Change = ({ fill = '#000', size = 15 }: SVGProps) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={`${size}px`}
7
+ height={`${size}px`}
8
+ viewBox="0 0 15 15"
9
+ fill="none">
10
+ <title>Change</title>
11
+ <path
12
+ d="M4.3628 1.24246C4.20043 1.2473 4.04632 1.31518 3.93312 1.43169L1.43311 3.93289C1.37491 3.99095 1.32874 4.05988 1.29723 4.13582C1.26573 4.21175 1.24951 4.29316 1.24951 4.37537C1.24951 4.45758 1.26573 4.53898 1.29723 4.61492C1.32874 4.69085 1.37491 4.75979 1.43311 4.81785L3.93312 7.31911C3.99087 7.37893 4.05998 7.42662 4.1364 7.4594C4.21283 7.49217 4.29502 7.50939 4.37817 7.51C4.46132 7.51062 4.54376 7.49464 4.62066 7.463C4.69755 7.43136 4.76736 7.38463 4.826 7.32567C4.88463 7.26671 4.93092 7.19671 4.96213 7.11964C4.99335 7.04257 5.00888 6.95999 5.0078 6.87685C5.00673 6.7937 4.98907 6.71159 4.95588 6.63535C4.92268 6.55911 4.8746 6.49028 4.81446 6.43285L3.38258 4.99857H13.1238C13.2897 4.99857 13.4488 4.93265 13.5662 4.81532C13.6835 4.698 13.7494 4.53884 13.7494 4.37292C13.7494 4.20699 13.6835 4.04791 13.5662 3.93058C13.4488 3.81325 13.2897 3.74733 13.1238 3.74733H3.38868L4.81446 2.31788C4.90548 2.23039 4.96787 2.11734 4.99342 1.9937C5.01897 1.87006 5.00647 1.74158 4.95759 1.62518C4.9087 1.50878 4.82571 1.4099 4.71954 1.34158C4.61337 1.27326 4.489 1.23873 4.3628 1.24246ZM10.6189 7.49364C10.4953 7.49464 10.3747 7.53226 10.2725 7.60177C10.1703 7.67128 10.091 7.76955 10.0446 7.88414C9.99819 7.99873 9.98683 8.12455 10.0119 8.2456C10.037 8.36665 10.0974 8.47752 10.1856 8.56423L11.6199 9.99973H1.87623C1.71284 10.0033 1.55734 10.0708 1.44306 10.1876C1.32877 10.3044 1.26477 10.4613 1.26477 10.6247C1.26477 10.7882 1.32877 10.9451 1.44306 11.062C1.55734 11.1788 1.71284 11.2462 1.87623 11.2498H11.6162L10.1856 12.6841C10.1201 12.7401 10.067 12.8091 10.0295 12.8866C9.99196 12.9641 9.97088 13.0486 9.96756 13.1347C9.96424 13.2208 9.97874 13.3066 10.0102 13.3868C10.0416 13.467 10.0893 13.5399 10.1502 13.6009C10.2111 13.6618 10.2839 13.7094 10.3641 13.7409C10.4444 13.7723 10.5302 13.7868 10.6163 13.7835C10.7024 13.7801 10.7868 13.759 10.8644 13.7215C10.9419 13.684 11.0109 13.6309 11.0669 13.5655L13.5669 11.0654C13.6833 10.9483 13.7487 10.7899 13.7487 10.6247C13.7487 10.4596 13.6833 10.3012 13.5669 10.1841L11.0669 7.68287C11.0087 7.623 10.939 7.57537 10.8621 7.54287C10.7851 7.51038 10.7024 7.49364 10.6189 7.49364Z"
13
+ fill={fill}
14
+ />
15
+ </svg>
16
+ );
@@ -0,0 +1,20 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Check = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ fill="none"
8
+ viewBox="0 0 11 8"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink">
11
+ <title>Check</title>
12
+ <path
13
+ d="M1 3.83L3.83 6.66L9.5 1"
14
+ stroke={fill}
15
+ strokeWidth="1.4"
16
+ strokeLinecap="round"
17
+ strokeLinejoin="round"
18
+ />
19
+ </svg>
20
+ );
@@ -0,0 +1,26 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const CheckCircle = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ viewBox="0 0 20 20"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg">
10
+ <title>Check circle</title>
11
+ <path
12
+ d="M10.0003 18.3334C14.5837 18.3334 18.3337 14.5834 18.3337 10.0001C18.3337 5.41675 14.5837 1.66675 10.0003 1.66675C5.41699 1.66675 1.66699 5.41675 1.66699 10.0001C1.66699 14.5834 5.41699 18.3334 10.0003 18.3334Z"
13
+ stroke={fill}
14
+ strokeWidth="1.4"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ />
18
+ <path
19
+ d="M6.45801 9.99993L8.81634 12.3583L13.5413 7.6416"
20
+ stroke={fill}
21
+ strokeWidth="1.4"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ />
25
+ </svg>
26
+ );
@@ -0,0 +1,22 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Circle = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={`${size}px`}
7
+ height={`${size}px`}
8
+ viewBox="0 0 20 21"
9
+ fill="#fff">
10
+ <title>Circle</title>
11
+ <rect x="0.7" y="1.39995" width="18.6" height="18.6" rx="9.3" fill="none" />
12
+ <rect
13
+ x="0.7"
14
+ y="1.39995"
15
+ width="18.6"
16
+ height="18.6"
17
+ rx="9.3"
18
+ stroke={fill}
19
+ strokeWidth="1.4"
20
+ />
21
+ </svg>
22
+ );
@@ -0,0 +1,23 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Copy = ({ fill = '#000', size = 15 }: SVGProps) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={`${size}px`}
7
+ height={`${size}px`}
8
+ viewBox="0 0 15 15"
9
+ fill="none">
10
+ <title>Copy</title>
11
+ <g clipPath="url(#clip0_532_12716)">
12
+ <path
13
+ d="M12.8755 14.5239H5.40479C4.49601 14.5239 3.75684 13.7848 3.75684 12.876V5.40527C3.75684 4.4965 4.49601 3.75732 5.40479 3.75732H12.8755C13.7843 3.75732 14.5234 4.4965 14.5234 5.40527V12.876C14.5234 13.7848 13.7843 14.5239 12.8755 14.5239ZM5.40479 4.85596C5.10189 4.85596 4.85547 5.10238 4.85547 5.40527V12.876C4.85547 13.1789 5.10189 13.4253 5.40479 13.4253H12.8755C13.1784 13.4253 13.4248 13.1789 13.4248 12.876V5.40527C13.4248 5.10238 13.1784 4.85596 12.8755 4.85596H5.40479ZM2.6582 10.1294H2.10889C1.80599 10.1294 1.55957 9.88297 1.55957 9.58008V2.10938C1.55957 1.80648 1.80599 1.56006 2.10889 1.56006H9.57959C9.88249 1.56006 10.1289 1.80648 10.1289 2.10938V2.63123H11.2275V2.10938C11.2275 1.2006 10.4884 0.461426 9.57959 0.461426H2.10889C1.20011 0.461426 0.460938 1.2006 0.460938 2.10938V9.58008C0.460938 10.4889 1.20011 11.228 2.10889 11.228H2.6582V10.1294Z"
14
+ fill={fill}
15
+ />
16
+ </g>
17
+ <defs>
18
+ <clipPath id="clip0_532_12716">
19
+ <rect width={size} height={size} fill="white" />
20
+ </clipPath>
21
+ </defs>
22
+ </svg>
23
+ );
@@ -0,0 +1,27 @@
1
+ import { SVGProps } from '@components/Icon/types';
2
+
3
+ export const Cross = ({ fill = '#000', size = 24 }: SVGProps) => (
4
+ <svg
5
+ width={`${size}px`}
6
+ height={`${size}px`}
7
+ fill="none"
8
+ viewBox="0 0 8 8"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink">
11
+ <title>Cross</title>
12
+ <path
13
+ d="M1 6.66L6.66 1"
14
+ stroke={fill}
15
+ strokeWidth="1.4"
16
+ strokeLinecap="round"
17
+ strokeLinejoin="round"
18
+ />
19
+ <path
20
+ d="M6.66 6.66L1 1"
21
+ stroke={fill}
22
+ strokeWidth="1.4"
23
+ strokeLinecap="round"
24
+ strokeLinejoin="round"
25
+ />
26
+ </svg>
27
+ );