@ssa-ui-kit/core 1.0.0 → 1.0.2

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 (266) hide show
  1. package/.storybook/style.css +9 -0
  2. package/dist/components/AccordionGroup/AccordionContent.d.ts +6 -1
  3. package/dist/components/AccordionGroup/AccordionContext.d.ts +1 -0
  4. package/dist/components/AccordionGroup/stories/helpers.d.ts +1 -1
  5. package/dist/components/AddNewAccountCard/types.d.ts +1 -0
  6. package/dist/components/Avatar/Avatar.d.ts +3 -2
  7. package/dist/components/Badge/BadgeBase.d.ts +3 -2
  8. package/dist/components/Badge/helpers.d.ts +5 -4
  9. package/dist/components/Badge/types.d.ts +1 -0
  10. package/dist/components/Button/Button.d.ts +1 -0
  11. package/dist/components/Button/ButtonBase.d.ts +3 -2
  12. package/dist/components/Button/fixtures.d.ts +33 -32
  13. package/dist/components/Button/helpers.d.ts +5 -4
  14. package/dist/components/Card/CardBase.d.ts +4 -3
  15. package/dist/components/Card/types.d.ts +1 -0
  16. package/dist/components/CardContent/CardContent.d.ts +1 -0
  17. package/dist/components/CardContent/CardContentBase.d.ts +4 -3
  18. package/dist/components/CardHeader/CardHeader.d.ts +1 -0
  19. package/dist/components/CardHeader/CardHeaderBase.d.ts +5 -4
  20. package/dist/components/CardList/types.d.ts +1 -0
  21. package/dist/components/Checkbox/CheckboxBase.d.ts +1 -1
  22. package/dist/components/CollapsibleNavBar/CollapsibleNavBarBase.d.ts +4 -3
  23. package/dist/components/CollapsibleNavBar/CollapsibleNavBarItem.d.ts +4 -3
  24. package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +2 -1
  25. package/dist/components/CollapsibleNavBar/CollapsibleNavBarList.d.ts +4 -3
  26. package/dist/components/CollapsibleNavBar/CollapsibleNavBarWrapper.d.ts +4 -3
  27. package/dist/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.d.ts +4 -3
  28. package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +9 -4
  29. package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +1 -1
  30. package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +2 -1
  31. package/dist/components/CollapsibleNavBar/NavBarPopover.d.ts +2 -1
  32. package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +3 -3
  33. package/dist/components/CollapsibleNavBar/types.d.ts +1 -0
  34. package/dist/components/ColorPicker/styles.d.ts +3 -2
  35. package/dist/components/Dropdown/types.d.ts +1 -0
  36. package/dist/components/DropdownArrow/DropdownArrow.d.ts +3 -2
  37. package/dist/components/DropdownBase/DropdownBase.d.ts +3 -2
  38. package/dist/components/DropdownOption/DropdownOption.d.ts +2 -2
  39. package/dist/components/DropdownOptions/types.d.ts +1 -0
  40. package/dist/components/DropdownToggle/DropdownToggle.d.ts +3 -2
  41. package/dist/components/Filters/FilterBlockWrapper.d.ts +7 -6
  42. package/dist/components/Filters/Filters.d.ts +13 -2
  43. package/dist/components/Filters/FiltersContext.d.ts +13 -3
  44. package/dist/components/Filters/FiltersWrapper.d.ts +4 -3
  45. package/dist/components/Filters/hooks/useVisibility.d.ts +1 -0
  46. package/dist/components/Form/Form.d.ts +3 -2
  47. package/dist/components/FormAction/FormAction.d.ts +3 -2
  48. package/dist/components/FormGroup/FormGroup.d.ts +3 -2
  49. package/dist/components/FormHelperText/FormHelperTextBase.d.ts +4 -3
  50. package/dist/components/FormHelperText/types.d.ts +1 -0
  51. package/dist/components/Icon/Icon.d.ts +1 -1
  52. package/dist/components/Icon/icons/Archive.d.ts +2 -1
  53. package/dist/components/Icon/icons/ArrowDown.d.ts +2 -1
  54. package/dist/components/Icon/icons/ArrowUp.d.ts +2 -1
  55. package/dist/components/Icon/icons/Attention.d.ts +2 -1
  56. package/dist/components/Icon/icons/BanUser.d.ts +2 -1
  57. package/dist/components/Icon/icons/Bin.d.ts +2 -1
  58. package/dist/components/Icon/icons/Calendar.d.ts +2 -1
  59. package/dist/components/Icon/icons/CarrotDown.d.ts +2 -1
  60. package/dist/components/Icon/icons/CarrotLeft.d.ts +2 -1
  61. package/dist/components/Icon/icons/CarrotRight.d.ts +2 -1
  62. package/dist/components/Icon/icons/CarrotUp.d.ts +2 -1
  63. package/dist/components/Icon/icons/Change.d.ts +2 -1
  64. package/dist/components/Icon/icons/Chart.d.ts +2 -1
  65. package/dist/components/Icon/icons/Check.d.ts +2 -1
  66. package/dist/components/Icon/icons/CheckCircle.d.ts +2 -1
  67. package/dist/components/Icon/icons/Circle.d.ts +2 -1
  68. package/dist/components/Icon/icons/Circular.d.ts +2 -1
  69. package/dist/components/Icon/icons/Clock.d.ts +2 -1
  70. package/dist/components/Icon/icons/Cogwheel.d.ts +2 -1
  71. package/dist/components/Icon/icons/ConfirmEmail.d.ts +2 -1
  72. package/dist/components/Icon/icons/Copy.d.ts +2 -1
  73. package/dist/components/Icon/icons/Cross.d.ts +2 -1
  74. package/dist/components/Icon/icons/Diet.d.ts +2 -1
  75. package/dist/components/Icon/icons/Edit.d.ts +2 -1
  76. package/dist/components/Icon/icons/Email.d.ts +2 -1
  77. package/dist/components/Icon/icons/Filter.d.ts +2 -1
  78. package/dist/components/Icon/icons/Home.d.ts +2 -1
  79. package/dist/components/Icon/icons/Import.d.ts +2 -1
  80. package/dist/components/Icon/icons/Information.d.ts +2 -1
  81. package/dist/components/Icon/icons/Invisible.d.ts +2 -1
  82. package/dist/components/Icon/icons/Lock.d.ts +2 -1
  83. package/dist/components/Icon/icons/LogIn.d.ts +2 -1
  84. package/dist/components/Icon/icons/LogOut.d.ts +2 -1
  85. package/dist/components/Icon/icons/Measurements.d.ts +2 -1
  86. package/dist/components/Icon/icons/Minus.d.ts +2 -1
  87. package/dist/components/Icon/icons/More.d.ts +2 -1
  88. package/dist/components/Icon/icons/MoreVertical.d.ts +2 -1
  89. package/dist/components/Icon/icons/Notification.d.ts +2 -1
  90. package/dist/components/Icon/icons/Pages.d.ts +2 -1
  91. package/dist/components/Icon/icons/Plus.d.ts +2 -1
  92. package/dist/components/Icon/icons/RadioOn.d.ts +2 -1
  93. package/dist/components/Icon/icons/Robot.d.ts +2 -1
  94. package/dist/components/Icon/icons/Roles.d.ts +2 -1
  95. package/dist/components/Icon/icons/Search.d.ts +2 -1
  96. package/dist/components/Icon/icons/Settings.d.ts +2 -1
  97. package/dist/components/Icon/icons/Sleep.d.ts +2 -1
  98. package/dist/components/Icon/icons/Stats.d.ts +2 -1
  99. package/dist/components/Icon/icons/Trainings.d.ts +2 -1
  100. package/dist/components/Icon/icons/UnArchive.d.ts +2 -1
  101. package/dist/components/Icon/icons/Union.d.ts +2 -1
  102. package/dist/components/Icon/icons/Unlock.d.ts +2 -1
  103. package/dist/components/Icon/icons/User.d.ts +2 -1
  104. package/dist/components/Icon/icons/Visible.d.ts +2 -1
  105. package/dist/components/Icon/icons/Warning.d.ts +2 -1
  106. package/dist/components/Icon/icons/all.d.ts +54 -0
  107. package/dist/components/Icon/icons/iconsList.d.ts +1 -1
  108. package/dist/components/Icon/types.d.ts +1 -0
  109. package/dist/components/Indicator/IndicatorBase.d.ts +4 -3
  110. package/dist/components/Indicator/types.d.ts +1 -0
  111. package/dist/components/Input/Input.d.ts +1 -0
  112. package/dist/components/Input/InputBase.d.ts +3 -2
  113. package/dist/components/Input/InputGroup.d.ts +4 -3
  114. package/dist/components/Input/InputStatusError.d.ts +3 -2
  115. package/dist/components/Input/InputStatusSuccess.d.ts +3 -2
  116. package/dist/components/Label/LabelBase.d.ts +3 -2
  117. package/dist/components/LargeTab/LargeTabBase.d.ts +3 -2
  118. package/dist/components/Link/Link.types.d.ts +1 -0
  119. package/dist/components/Link/LinkBase.d.ts +3 -2
  120. package/dist/components/LinksTabBar/LinksTabBarBase.d.ts +3 -2
  121. package/dist/components/Modal/Modal.context.d.ts +1 -0
  122. package/dist/components/ModalDialog/types.d.ts +1 -0
  123. package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +1 -0
  124. package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +1 -0
  125. package/dist/components/MultipleDropdown/types.d.ts +1 -0
  126. package/dist/components/MultipleDropdownNotification/MultipleDropdownNotification.d.ts +4 -3
  127. package/dist/components/MultipleDropdownOptions/types.d.ts +1 -0
  128. package/dist/components/NavBar/NavBarBase.d.ts +3 -2
  129. package/dist/components/NavBar/NavBarItem.d.ts +3 -2
  130. package/dist/components/NavBar/NavBarLink.d.ts +2 -1
  131. package/dist/components/NavBar/NavBarList.d.ts +3 -2
  132. package/dist/components/NavBar/NavBarWrapper.d.ts +3 -2
  133. package/dist/components/NavBar/NavToggleWrapper.d.ts +3 -2
  134. package/dist/components/NotificationCard/NotificationCard.d.ts +1 -0
  135. package/dist/components/NotificationCard/types.d.ts +1 -0
  136. package/dist/components/NotificationMenu/types.d.ts +1 -0
  137. package/dist/components/Pagination/PaginationContext.d.ts +1 -0
  138. package/dist/components/Pagination/WithPagination.d.ts +2 -1
  139. package/dist/components/Pagination/types.d.ts +1 -0
  140. package/dist/components/PieChart/PieChartBases.d.ts +5 -4
  141. package/dist/components/PieChart/PieChartLegendList.d.ts +3 -2
  142. package/dist/components/PieChart/PieChartLegendMarker.d.ts +2 -1
  143. package/dist/components/PieChart/types.d.ts +1 -0
  144. package/dist/components/Popover/PopoverContent.d.ts +1 -1
  145. package/dist/components/Popover/stories/StoryComponent.d.ts +1 -1
  146. package/dist/components/Popover/types.d.ts +1 -0
  147. package/dist/components/Progress/types.d.ts +1 -0
  148. package/dist/components/ProgressCircle/ProgressCircleBase.d.ts +3 -2
  149. package/dist/components/ProgressCircle/ProgressCircleInner.d.ts +3 -2
  150. package/dist/components/ProgressCircle/ProgressCircleOuter.d.ts +3 -2
  151. package/dist/components/ProgressCircle/types.d.ts +1 -0
  152. package/dist/components/ProgressInfo/ProgressInfoTotals.d.ts +2 -1
  153. package/dist/components/ProgressLegend/types.d.ts +1 -0
  154. package/dist/components/ProgressLegendItem/types.d.ts +1 -0
  155. package/dist/components/ProgressVertical/types.d.ts +1 -0
  156. package/dist/components/Radio/RadioBase.d.ts +1 -1
  157. package/dist/components/RadioGroup/RadioGroupBase.d.ts +3 -2
  158. package/dist/components/RadioGroup/types.d.ts +1 -0
  159. package/dist/components/SearchBox/SearchBoxInput.d.ts +2 -1
  160. package/dist/components/SearchBox/SearchBoxWrapper.d.ts +3 -2
  161. package/dist/components/SearchBox/stories/StoryComponent.d.ts +1 -1
  162. package/dist/components/Step/Step.d.ts +7 -4
  163. package/dist/components/StepLabel/StepLabel.d.ts +1 -1
  164. package/dist/components/Stepper/types.d.ts +1 -0
  165. package/dist/components/Switch/SwitchBase.d.ts +3 -2
  166. package/dist/components/Switch/SwitchContext.d.ts +2 -1
  167. package/dist/components/Tab/TabBase.d.ts +3 -2
  168. package/dist/components/TabBar/TabBarContext.d.ts +2 -1
  169. package/dist/components/TabBar/stories/helpers.d.ts +9 -4
  170. package/dist/components/TabBar/types.d.ts +1 -0
  171. package/dist/components/Table/Table.d.ts +3 -2
  172. package/dist/components/Table/stories/SortableTable.d.ts +1 -1
  173. package/dist/components/TableBody/TableBody.d.ts +3 -2
  174. package/dist/components/TableCell/TableCell.d.ts +4 -3
  175. package/dist/components/TableFilters/TableFilterTrigger.d.ts +3 -3
  176. package/dist/components/TableFilters/TableFilterTriggerWithNotification.d.ts +2 -2
  177. package/dist/components/TableFilters/TableFiltersAccordionContent.d.ts +6 -1
  178. package/dist/components/TableFilters/TableFiltersButtons.d.ts +2 -2
  179. package/dist/components/TableHead/TableHead.d.ts +3 -2
  180. package/dist/components/TableRow/TableRow.d.ts +3 -2
  181. package/dist/components/Tag/types.d.ts +1 -0
  182. package/dist/components/Textarea/TextareaBase.d.ts +3 -2
  183. package/dist/components/Tooltip/TooltipContentBase.d.ts +3 -2
  184. package/dist/components/Tooltip/types.d.ts +1 -0
  185. package/dist/components/Tooltip/useTooltipContext.d.ts +1 -0
  186. package/dist/components/TooltipContent/TooltipContent.d.ts +1 -0
  187. package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +1 -0
  188. package/dist/components/Typography/Typography.d.ts +1 -0
  189. package/dist/components/Typography/types.d.ts +1 -0
  190. package/dist/components/WithVisibleLG/WithVisibleLG.d.ts +4 -3
  191. package/dist/components/WithVisibleMD/WithVisibleMD.d.ts +2 -1
  192. package/dist/components/WithVisibleSM/WithVisibleSM.d.ts +2 -1
  193. package/dist/components/WithVisibleUpToLG/WithVisibleUpToLG.d.ts +2 -1
  194. package/dist/components/Wrapper/Wrapper.d.ts +6 -5
  195. package/dist/index.js +1 -1
  196. package/dist/index.js.map +1 -1
  197. package/dist/styles/safari-focus-outline.d.ts +1 -0
  198. package/dist/types/emotion.d.ts +1 -0
  199. package/package.json +1 -1
  200. package/src/components/CollapsibleNavBar/stories/CollapsibleNavBar.stories.tsx +47 -25
  201. package/src/components/CollapsibleNavBar/stories/Layout.tsx +1 -1
  202. package/src/components/Filters/Filters.tsx +1 -1
  203. package/src/components/Icon/Icon.tsx +10 -2
  204. package/src/components/Icon/icons/Archive.tsx +9 -2
  205. package/src/components/Icon/icons/ArrowDown.tsx +9 -2
  206. package/src/components/Icon/icons/ArrowUp.tsx +9 -2
  207. package/src/components/Icon/icons/Attention.tsx +9 -2
  208. package/src/components/Icon/icons/BanUser.tsx +9 -2
  209. package/src/components/Icon/icons/Bin.tsx +9 -2
  210. package/src/components/Icon/icons/Calendar.tsx +9 -2
  211. package/src/components/Icon/icons/CarrotDown.tsx +4 -1
  212. package/src/components/Icon/icons/CarrotLeft.tsx +4 -1
  213. package/src/components/Icon/icons/CarrotRight.tsx +4 -1
  214. package/src/components/Icon/icons/CarrotUp.tsx +9 -2
  215. package/src/components/Icon/icons/Change.tsx +9 -2
  216. package/src/components/Icon/icons/Chart.tsx +9 -2
  217. package/src/components/Icon/icons/Check.tsx +9 -2
  218. package/src/components/Icon/icons/CheckCircle.tsx +4 -1
  219. package/src/components/Icon/icons/Circle.tsx +9 -2
  220. package/src/components/Icon/icons/Circular.tsx +9 -2
  221. package/src/components/Icon/icons/Clock.tsx +9 -2
  222. package/src/components/Icon/icons/Cogwheel.tsx +9 -2
  223. package/src/components/Icon/icons/ConfirmEmail.tsx +4 -1
  224. package/src/components/Icon/icons/Copy.tsx +9 -2
  225. package/src/components/Icon/icons/Cross.tsx +9 -2
  226. package/src/components/Icon/icons/Diet.tsx +9 -2
  227. package/src/components/Icon/icons/Edit.tsx +9 -2
  228. package/src/components/Icon/icons/Email.tsx +9 -2
  229. package/src/components/Icon/icons/Filter.tsx +9 -2
  230. package/src/components/Icon/icons/Home.tsx +9 -2
  231. package/src/components/Icon/icons/Import.tsx +9 -2
  232. package/src/components/Icon/icons/Information.tsx +4 -1
  233. package/src/components/Icon/icons/Invisible.tsx +9 -2
  234. package/src/components/Icon/icons/Lock.tsx +9 -2
  235. package/src/components/Icon/icons/LogIn.tsx +9 -2
  236. package/src/components/Icon/icons/LogOut.tsx +9 -2
  237. package/src/components/Icon/icons/Measurements.tsx +4 -1
  238. package/src/components/Icon/icons/Minus.tsx +9 -2
  239. package/src/components/Icon/icons/More.tsx +9 -2
  240. package/src/components/Icon/icons/MoreVertical.tsx +4 -1
  241. package/src/components/Icon/icons/Notification.tsx +4 -1
  242. package/src/components/Icon/icons/Pages.tsx +9 -2
  243. package/src/components/Icon/icons/Plus.tsx +9 -2
  244. package/src/components/Icon/icons/RadioOn.tsx +9 -2
  245. package/src/components/Icon/icons/Robot.tsx +9 -2
  246. package/src/components/Icon/icons/Roles.tsx +9 -2
  247. package/src/components/Icon/icons/Search.tsx +9 -2
  248. package/src/components/Icon/icons/Settings.tsx +9 -2
  249. package/src/components/Icon/icons/Sleep.tsx +9 -2
  250. package/src/components/Icon/icons/Stats.tsx +9 -2
  251. package/src/components/Icon/icons/Trainings.tsx +9 -2
  252. package/src/components/Icon/icons/UnArchive.tsx +9 -2
  253. package/src/components/Icon/icons/Union.tsx +9 -2
  254. package/src/components/Icon/icons/Unlock.tsx +9 -2
  255. package/src/components/Icon/icons/User.tsx +9 -2
  256. package/src/components/Icon/icons/Visible.tsx +9 -2
  257. package/src/components/Icon/icons/Warning.tsx +9 -2
  258. package/src/components/Icon/icons/all.ts +59 -0
  259. package/src/components/Icon/icons/iconsList.tsx +5 -56
  260. package/src/components/Icon/icons/index.tsx +12 -117
  261. package/src/components/Icon/types.ts +1 -0
  262. package/src/components/MultipleDropdownOptions/MultipleDropdownOptions.tsx +1 -1
  263. package/src/components/ResponsiveImage/ResponsiveImage.stories.tsx +6 -4
  264. package/src/components/TableFilters/styles.ts +1 -0
  265. package/src/components/TextField/TextField.stories.tsx +8 -1
  266. package/tsbuildcache +1 -1
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Cogwheel = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Cogwheel = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Cogwheel',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  xmlns="http://www.w3.org/2000/svg"
6
11
  width={`${size}px`}
@@ -8,7 +13,7 @@ export const Cogwheel = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  viewBox="0 0 24 24"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Cogwheel</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M10.353 1.11378C10.4393 1.04038 10.549 1.00006 10.6624 1H13.2928C13.4055 0.999874 13.5146 1.03954 13.6009 1.11199C13.6872 1.18445 13.7451 1.28505 13.7645 1.39606L14.2652 4.25815C14.8255 4.42339 15.358 4.64665 15.8597 4.9223L18.2146 3.22877C18.3067 3.16244 18.4193 3.13101 18.5324 3.14008C18.6455 3.14915 18.7517 3.19813 18.832 3.27828L19.0161 3.46223L17.7061 4.77221L16.2053 5.8508C16.1292 5.90547 16.0387 5.93656 15.945 5.94022C15.8513 5.94387 15.7587 5.91992 15.6785 5.87135C15.0789 5.50835 14.422 5.23205 13.7225 5.05775C13.6327 5.03524 13.5514 4.98717 13.4884 4.91935C13.4254 4.85154 13.3834 4.7669 13.3675 4.6757L12.8911 1.95652H11.0696L10.6278 4.65982C10.6128 4.75239 10.5708 4.8385 10.5072 4.90742C10.4436 4.97635 10.3611 5.02505 10.27 5.04747C9.56944 5.21926 8.90803 5.49292 8.30749 5.8536C8.22764 5.90158 8.1355 5.9252 8.04241 5.92155C7.94932 5.9179 7.85932 5.88714 7.78346 5.83305L5.55376 4.23947L4.26376 5.52853L5.83492 7.77412C5.88805 7.85015 5.91793 7.93999 5.92092 8.0327C5.9239 8.12541 5.89987 8.21699 5.85174 8.29628C5.48675 8.90026 5.20981 9.55998 5.03346 10.2654C5.01085 10.3558 4.96229 10.4377 4.89375 10.501C4.8252 10.5642 4.73967 10.606 4.64768 10.6213L1.95653 11.0687V12.893L4.64955 13.3713C4.74041 13.3874 4.82464 13.4296 4.8921 13.4925C4.95956 13.5555 5.00735 13.6367 5.02973 13.7262C5.20457 14.4292 5.48164 15.089 5.848 15.6944C5.89651 15.7744 5.92051 15.8668 5.91702 15.9603C5.91353 16.0537 5.88272 16.1441 5.82838 16.2203L4.74825 17.7301L3.46083 19.0175L3.27548 18.832C3.19567 18.7519 3.14681 18.6462 3.13758 18.5335C3.12835 18.4208 3.15933 18.3085 3.22504 18.2165L4.89895 15.8747C4.62081 15.3684 4.39781 14.8317 4.232 14.268L1.39419 13.7655C1.28353 13.7457 1.18337 13.6876 1.11128 13.6013C1.0392 13.515 0.999799 13.4061 1 13.2937V10.6633C0.99999 10.5502 1.04005 10.4408 1.11307 10.3544C1.18609 10.2681 1.28734 10.2104 1.39887 10.1916L4.2348 9.71986C4.40152 9.15522 4.62594 8.61883 4.90362 8.1132L3.25026 5.74805C3.18566 5.65596 3.15558 5.54404 3.16532 5.43197C3.17506 5.3199 3.22399 5.21485 3.3035 5.13528L5.16424 3.27641C5.24433 3.1966 5.3501 3.14775 5.46279 3.13851C5.57548 3.12928 5.68779 3.16026 5.77981 3.22597L8.13001 4.90455C8.63271 4.63109 9.16609 4.41153 9.72546 4.24881L10.1906 1.40073C10.209 1.28887 10.2666 1.18717 10.353 1.11378Z"
14
19
  fill={fill}
@@ -81,3 +86,5 @@ export const Cogwheel = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
81
86
  />
82
87
  </svg>
83
88
  );
89
+
90
+ export const ICON_NAME = 'cogwheel';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const ConfirmEmail = ({
4
4
  fill = '#000',
5
5
  size = 15,
6
+ tooltip = 'Confirm Email',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const ConfirmEmail = ({
12
13
  width={`${size}px`}
13
14
  height={`${size}px`}
14
15
  {...props}>
15
- <title>Confirm Email</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  d="M12.5811 9.43434C12.7511 9.2647 13.0263 9.26494 13.196 9.43488C13.3656 9.60482 13.3654 9.8801 13.1954 10.0497L11.4771 11.7651C11.3073 11.9346 11.0322 11.9345 10.8625 11.7648L10.0048 10.9071C9.83505 10.7373 9.83505 10.4621 10.0048 10.2923C10.1746 10.1225 10.4499 10.1225 10.6197 10.2923L11.1437 10.8163C11.1583 10.8309 11.1821 10.8309 11.1967 10.8163L12.5811 9.43434Z"
18
19
  fill={fill}
@@ -25,3 +26,5 @@ export const ConfirmEmail = ({
25
26
  />
26
27
  </svg>
27
28
  );
29
+
30
+ export const ICON_NAME = 'confirm-email';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Copy = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Copy = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Copy',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  xmlns="http://www.w3.org/2000/svg"
6
11
  width={`${size}px`}
@@ -8,7 +13,7 @@ export const Copy = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 15 15"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Copy</title>
16
+ <title>{tooltip}</title>
12
17
  <g clipPath="url(#clip0_532_12716)">
13
18
  <path
14
19
  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"
@@ -22,3 +27,5 @@ export const Copy = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
22
27
  </defs>
23
28
  </svg>
24
29
  );
30
+
31
+ export const ICON_NAME = 'copy';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Cross = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Cross = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Cross',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Cross = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Cross</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M1 6.66L6.66 1"
15
20
  stroke={fill}
@@ -26,3 +31,5 @@ export const Cross = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
26
31
  />
27
32
  </svg>
28
33
  );
34
+
35
+ export const ICON_NAME = 'cross';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Diet = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Diet = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Diet',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,10 +13,12 @@ export const Diet = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  xmlns="http://www.w3.org/2000/svg"
9
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
10
15
  {...props}>
11
- <title>Diet</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M15.3794 1.6875C15.3294 1.68734 15.2788 1.69189 15.2278 1.70215C14.1195 1.92375 13.0319 2.82406 12.4431 3.96241C8.37168 4.3361 5.25 9.29549 5.25 15.5625C5.25 19.2844 8.27812 22.3125 12 22.3125C15.7219 22.3125 18.75 19.2844 18.75 15.5625C18.75 13.7303 18.0635 12.4566 17.3994 11.2251C16.7443 10.009 16.125 8.86013 16.125 7.125C16.125 5.77573 15.2807 4.62307 14.094 4.1587C14.5181 3.61873 15.077 3.26196 15.5222 3.17286C15.9283 3.09186 16.1917 2.69641 16.1104 2.29029C16.0395 1.93493 15.7292 1.68864 15.3794 1.6875ZM12.9441 5.43824C13.8714 5.4419 14.625 6.19689 14.625 7.125C14.625 9.2385 15.3982 10.6714 16.0796 11.9363C16.7077 13.1018 17.25 14.1086 17.25 15.5625C17.25 18.4575 14.895 20.8125 12 20.8125C9.105 20.8125 6.75 18.4575 6.75 15.5625C6.75 10.0089 9.49693 5.4871 12.884 5.4397C12.9054 5.44185 12.9236 5.43802 12.9441 5.43824ZM12 11.4375C10.2319 11.4375 9 13.6247 9 15.5874C9 17.5599 10.2337 18.9375 12 18.9375C13.7662 18.9375 15 17.5599 15 15.5874C15 13.6247 13.7681 11.4375 12 11.4375ZM12 12.9375C12.6611 12.9375 13.5 14.1849 13.5 15.5874C13.5 16.7109 12.9113 17.4375 12 17.4375C11.0887 17.4375 10.5 16.7109 10.5 15.5874C10.5 14.1849 11.3389 12.9375 12 12.9375Z"
14
19
  fill={fill}
15
20
  />
16
21
  </svg>
17
22
  );
23
+
24
+ export const ICON_NAME = 'diet';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Edit = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Edit = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Edit',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Edit = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Edit</title>
17
+ <title>{tooltip}</title>
13
18
  <g id="Edit">
14
19
  <g id="Union">
15
20
  <path
@@ -28,3 +33,5 @@ export const Edit = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
28
33
  </g>
29
34
  </svg>
30
35
  );
36
+
37
+ export const ICON_NAME = 'edit';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Email = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Email = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Email',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Email = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Email</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  fillRule="evenodd"
15
20
  clipRule="evenodd"
@@ -18,3 +23,5 @@ export const Email = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
18
23
  />
19
24
  </svg>
20
25
  );
26
+
27
+ export const ICON_NAME = 'email';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Filter = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Filter = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Filter',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  xmlns="http://www.w3.org/2000/svg"
6
11
  width={`${size}px`}
@@ -8,7 +13,7 @@ export const Filter = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  viewBox="0 0 21 20"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Filter</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  fillRule="evenodd"
14
19
  clipRule="evenodd"
@@ -17,3 +22,5 @@ export const Filter = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
17
22
  />
18
23
  </svg>
19
24
  );
25
+
26
+ export const ICON_NAME = 'filter';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Home = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Home = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Home',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,10 +13,12 @@ export const Home = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  xmlns="http://www.w3.org/2000/svg"
9
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
10
15
  {...props}>
11
- <title>Home</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M8.97559 0.250119C8.81566 0.25558 8.66168 0.312041 8.53613 0.411252L1.42969 6.00988C0.527739 6.7207 0 7.80687 0 8.9552V18.5001C0 19.1819 0.568203 19.7501 1.25 19.7501H6.25C6.9318 19.7501 7.5 19.1819 7.5 18.5001V13.5001C7.5 13.3526 7.60248 13.2501 7.75 13.2501H10.25C10.3975 13.2501 10.5 13.3526 10.5 13.5001V18.5001C10.5 19.1819 11.0682 19.7501 11.75 19.7501H16.75C17.4318 19.7501 18 19.1819 18 18.5001V8.9552C18 7.80687 17.4723 6.7207 16.5703 6.00988L9.46387 0.411252C9.32518 0.301689 9.15225 0.244623 8.97559 0.250119ZM9 1.9552L15.6426 7.1886C16.1846 7.61578 16.5 8.26552 16.5 8.9552V18.2501H12V13.5001C12 12.5426 11.2075 11.7501 10.25 11.7501H7.75C6.79252 11.7501 6 12.5426 6 13.5001V18.2501H1.5V8.9552C1.5 8.26552 1.81537 7.61578 2.35742 7.1886L9 1.9552Z"
14
19
  fill={fill}
15
20
  />
16
21
  </svg>
17
22
  );
23
+
24
+ export const ICON_NAME = 'home';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Import = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Import = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Import',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Import = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Import</title>
17
+ <title>{tooltip}</title>
13
18
  <g id="box-arrow-in-down">
14
19
  <path
15
20
  id="box-arrow-bg"
@@ -29,3 +34,5 @@ export const Import = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
29
34
  </g>
30
35
  </svg>
31
36
  );
37
+
38
+ export const ICON_NAME = 'import';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const Information = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Information',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -13,7 +14,7 @@ export const Information = ({
13
14
  xmlns="http://www.w3.org/2000/svg"
14
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
15
16
  {...props}>
16
- <title>Information</title>
17
+ <title>{tooltip}</title>
17
18
  <path
18
19
  d="M9.99998 17.8889C14.3651 17.8889 17.9365 14.3175 17.9365 9.95238C17.9365 5.5873 14.3651 2.01587 9.99998 2.01587C5.6349 2.01587 2.06348 5.5873 2.06348 9.95238C2.06348 14.3175 5.6349 17.8889 9.99998 17.8889Z"
19
20
  stroke={fill}
@@ -27,3 +28,5 @@ export const Information = ({
27
28
  />
28
29
  </svg>
29
30
  );
31
+
32
+ export const ICON_NAME = 'information';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Invisible = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Invisible = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Invisible',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Invisible = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Invisible</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M14.5299 9.46992L9.46992 14.5299C8.81992 13.8799 8.41992 12.9899 8.41992 11.9999C8.41992 10.0199 10.0199 8.41992 11.9999 8.41992C12.9899 8.41992 13.8799 8.81992 14.5299 9.46992Z"
15
20
  stroke={fill}
@@ -54,3 +59,5 @@ export const Invisible = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
54
59
  />
55
60
  </svg>
56
61
  );
62
+
63
+ export const ICON_NAME = 'invisible';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Lock = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Lock = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Lock',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,10 +14,12 @@ export const Lock = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Lock</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M13.625 8.41602H13V5.91602C13 3.15852 10.7575 0.916016 8 0.916016C5.2425 0.916016 3 3.15852 3 5.91602V8.41602H2.375C1.34167 8.41602 0.5 9.25685 0.5 10.291V19.041C0.5 20.0752 1.34167 20.916 2.375 20.916H13.625C14.6583 20.916 15.5 20.0752 15.5 19.041V10.291C15.5 9.25685 14.6583 8.41602 13.625 8.41602ZM4.66667 5.91602C4.66667 4.07768 6.16167 2.58268 8 2.58268C9.83833 2.58268 11.3333 4.07768 11.3333 5.91602V8.41602H4.66667V5.91602ZM8.83333 14.851V16.7493C8.83333 17.2093 8.46083 17.5827 8 17.5827C7.53917 17.5827 7.16667 17.2093 7.16667 16.7493V14.851C6.67083 14.5618 6.33333 14.0302 6.33333 13.416C6.33333 12.4968 7.08083 11.7493 8 11.7493C8.91917 11.7493 9.66667 12.4968 9.66667 13.416C9.66667 14.0302 9.32917 14.5618 8.83333 14.851Z"
15
20
  fill={fill}
16
21
  />
17
22
  </svg>
18
23
  );
24
+
25
+ export const ICON_NAME = 'lock';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const LogIn = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const LogIn = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Log in',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const LogIn = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Log in</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M7.39504 9.17067C8.58623 9.17067 9.61771 8.74344 10.4605 7.90051C11.3033 7.05773 11.7305 6.02652 11.7305 4.8352C11.7305 3.64428 11.3033 2.61294 10.4604 1.76988C9.61743 0.92723 8.58609 0.5 7.39504 0.5C6.20371 0.5 5.17251 0.92723 4.32972 1.77002C3.48694 2.6128 3.05957 3.64414 3.05957 4.8352C3.05957 6.02652 3.48694 7.05786 4.32986 7.90065C5.17279 8.7433 6.20413 9.17067 7.39504 9.17067Z"
15
20
  fill={fill}
@@ -20,3 +25,5 @@ export const LogIn = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
20
25
  />
21
26
  </svg>
22
27
  );
28
+
29
+ export const ICON_NAME = 'log-in';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const LogOut = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const LogOut = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Log out',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const LogOut = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Log out</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M7.9751 13.7292H2.36876C2.0249 13.7292 1.74585 13.4502 1.74585 13.1063V1.89369C1.74585 1.54983 2.02493 1.27078 2.36876 1.27078H7.9751C8.31957 1.27078 8.59801 0.992344 8.59801 0.647871C8.59801 0.303398 8.31957 0.0249023 7.9751 0.0249023H2.36876C1.33845 0.0249023 0.5 0.863379 0.5 1.89369V13.1063C0.5 14.1366 1.33845 14.9751 2.36876 14.9751H7.9751C8.31957 14.9751 8.59801 14.6966 8.59801 14.3522C8.59801 14.0077 8.31957 13.7292 7.9751 13.7292Z"
15
20
  fill={fill}
@@ -20,3 +25,5 @@ export const LogOut = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
20
25
  />
21
26
  </svg>
22
27
  );
28
+
29
+ export const ICON_NAME = 'log-out';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const Measurements = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Measurements',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const Measurements = ({
12
13
  xmlns="http://www.w3.org/2000/svg"
13
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
14
15
  {...props}>
15
- <title>Measurements</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  d="M8.8254 2C5 2 2 3.60317 2 5.65079V13.5873C2 15.2222 3.95238 16.6349 6.84127 17.0794H6.92064C7.15873 17.0794 7.34921 16.9048 7.39683 16.6825C7.44444 16.4286 7.25397 16.1745 7 16.1428C4.65079 15.7777 2.95238 14.6984 2.95238 13.5873V7.53974C4.12698 8.60324 6.30159 9.30159 8.8254 9.30159H19.1429C20.1905 9.30159 21.0476 10.1587 21.0476 11.2063C21.0476 12.254 20.1905 13.1111 19.1429 13.1111H10.4127C9.26984 13.1111 8.34921 14.0317 8.34921 15.1746V19.9365C8.34921 21.0794 9.26984 22 10.4127 22H19.1429C20.7143 22 22 20.7143 22 19.1429V11.2063C22 9.63492 20.7143 8.34921 19.1429 8.34921H8.8254C5.31746 8.34921 2.95238 6.95238 2.95238 5.65079C2.95238 4.34921 5.31746 2.95238 8.8254 2.95238C12.3333 2.95238 14.6984 4.34921 14.6984 5.65079V6.92064C14.6984 7.19048 14.9048 7.39683 15.1746 7.39683C15.4444 7.39683 15.6508 7.19048 15.6508 6.92064V5.65079C15.6508 3.60317 12.6508 2 8.8254 2ZM8.8254 4.85714C8.40442 4.85714 8.00068 4.94076 7.70301 5.0896C7.40533 5.23844 7.2381 5.4403 7.2381 5.65079C7.2381 5.86128 7.40533 6.06315 7.70301 6.21199C8.00068 6.36083 8.40442 6.44444 8.8254 6.44444C9.24638 6.44444 9.65011 6.36083 9.94779 6.21199C10.2455 6.06315 10.4127 5.86128 10.4127 5.65079C10.4127 5.4403 10.2455 5.23844 9.94779 5.0896C9.65011 4.94076 9.24638 4.85714 8.8254 4.85714ZM21.0476 13.3334V19.1429C21.0476 20.1905 20.1905 21.0476 19.1429 21.0476H10.4127C9.79365 21.0476 9.30159 20.5556 9.30159 19.9365V15.1746C9.30159 14.5556 9.79365 14.0635 10.4127 14.0635H13.1111V15.9683C13.1111 16.2381 13.3175 16.4444 13.5873 16.4444C13.8571 16.4444 14.0635 16.2381 14.0635 15.9683V14.0635H17.873V15.9683C17.873 16.2381 18.0794 16.4444 18.3492 16.4444C18.619 16.4444 18.8254 16.2381 18.8254 15.9683V14.0635H19.1429C19.873 14.0635 20.5397 13.7937 21.0476 13.3334Z"
18
19
  fill={fill}
@@ -21,3 +22,5 @@ export const Measurements = ({
21
22
  />
22
23
  </svg>
23
24
  );
25
+
26
+ export const ICON_NAME = 'measurements';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Minus = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Minus = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Minus',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Minus = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Minus</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M1 1H9"
15
20
  stroke={fill}
@@ -19,3 +24,5 @@ export const Minus = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
19
24
  />
20
25
  </svg>
21
26
  );
27
+
28
+ export const ICON_NAME = 'minus';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const More = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const More = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'More',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,7 +13,7 @@ export const More = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  xmlns="http://www.w3.org/2000/svg"
9
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
10
15
  {...props}>
11
- <title>More</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M5.4001 10.2C4.4101 10.2 3.6001 11.01 3.6001 12C3.6001 12.99 4.4101 13.8 5.4001 13.8C6.3901 13.8 7.2001 12.99 7.2001 12C7.2001 11.01 6.3901 10.2 5.4001 10.2Z"
14
19
  fill={fill}
@@ -23,3 +28,5 @@ export const More = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
23
28
  />
24
29
  </svg>
25
30
  );
31
+
32
+ export const ICON_NAME = 'more';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const MoreVertical = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'More vertical',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,9 +13,11 @@ export const MoreVertical = ({
12
13
  viewBox="0 0 4 16"
13
14
  fill="none"
14
15
  {...props}>
15
- <title>More vertical</title>
16
+ <title>{tooltip}</title>
16
17
  <circle cx="1.66016" cy="2" r="1.5" fill={fill} />
17
18
  <circle cx="1.66016" cy="8" r="1.5" fill={fill} />
18
19
  <circle cx="1.66016" cy="14" r="1.5" fill={fill} />
19
20
  </svg>
20
21
  );
22
+
23
+ export const ICON_NAME = 'more-vertical';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const Notification = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Notification',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const Notification = ({
12
13
  xmlns="http://www.w3.org/2000/svg"
13
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
14
15
  {...props}>
15
- <title>Notification</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  d="M0.776752 7.36345C0.819992 7.37426 0.865032 7.37966 0.908271 7.37966C1.14969 7.37966 1.37129 7.21572 1.43255 6.97069C1.9334 4.96728 3.12608 3.19267 4.78899 1.97837C5.0304 1.80181 5.08265 1.46491 4.90609 1.22349C4.72953 0.98207 4.39263 0.929823 4.15121 1.10638C2.28472 2.47022 0.946106 4.45922 0.383997 6.70946C0.31013 6.99772 0.48669 7.29138 0.776752 7.36345ZM15.2114 1.97837C16.8743 3.19267 18.0652 4.96548 18.5679 6.97069C18.6291 7.21572 18.8489 7.37966 19.0921 7.37966C19.1354 7.37966 19.1804 7.37426 19.2237 7.36345C19.5137 7.29138 19.6885 6.99772 19.6164 6.70765C19.0543 4.45922 17.7157 2.46842 15.8492 1.10458C15.6078 0.928021 15.2709 0.980269 15.0943 1.22169C14.9178 1.46491 14.97 1.80181 15.2114 1.97837ZM1.92799 15.3879C1.75144 16.0924 1.90638 16.8256 2.35498 17.3967C2.80179 17.9697 3.4756 18.2976 4.20165 18.2976H6.80681C7.06445 19.8289 8.39765 21 10.0011 21C11.6046 21 12.936 19.8289 13.1954 18.2976H15.8006C16.5266 18.2976 17.2004 17.9697 17.6472 17.3967C18.094 16.8238 18.249 16.0924 18.0742 15.3879L16.1194 7.58325C15.4168 4.7691 12.8999 2.80352 9.9993 2.80352C7.09868 2.80352 4.5818 4.7691 3.87916 7.58325L1.92799 15.3879ZM9.9993 19.919C8.99399 19.919 8.14903 19.229 7.90761 18.2976H12.0892C11.8496 19.229 11.0046 19.919 9.9993 19.919ZM9.9993 3.8845C12.4027 3.8845 14.489 5.51317 15.0709 7.84448L17.0221 15.6492C17.1176 16.0293 17.0329 16.4221 16.7933 16.7319C16.5518 17.04 16.1897 17.2166 15.7988 17.2166H4.19985C3.8089 17.2166 3.44677 17.04 3.20535 16.7319C2.96393 16.4239 2.88106 16.0293 2.97654 15.6492L4.92771 7.84448C5.50964 5.51317 7.59593 3.8845 9.9993 3.8845Z"
18
19
  fill={fill}
@@ -21,3 +22,5 @@ export const Notification = ({
21
22
  />
22
23
  </svg>
23
24
  );
25
+
26
+ export const ICON_NAME = 'notification';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Pages = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Pages = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Pages',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Pages = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Pages</title>
17
+ <title>{tooltip}</title>
13
18
  <g id="Side Menu Icons">
14
19
  <g id="Union">
15
20
  <path
@@ -74,3 +79,5 @@ export const Pages = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
74
79
  </g>
75
80
  </svg>
76
81
  );
82
+
83
+ export const ICON_NAME = 'pages';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Plus = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Plus = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Plus',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Plus = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  xmlnsXlink="http://www.w3.org/1999/xlink"
11
16
  {...props}>
12
- <title>Plus</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M1 5H9"
15
20
  stroke={fill}
@@ -26,3 +31,5 @@ export const Plus = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
26
31
  />
27
32
  </svg>
28
33
  );
34
+
35
+ export const ICON_NAME = 'plus';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const RadioOn = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const RadioOn = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Radio on',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,7 +13,7 @@ export const RadioOn = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  fill="#fff"
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  {...props}>
11
- <title>Radio on</title>
16
+ <title>{tooltip}</title>
12
17
  <rect x="0.7" y="1.39995" width="18.6" height="18.6" rx="9.3" fill={fill} />
13
18
  <rect
14
19
  x="0.7"
@@ -22,3 +27,5 @@ export const RadioOn = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
22
27
  <circle cx="10" cy="10.7" r="5" fill={fill} />
23
28
  </svg>
24
29
  );
30
+
31
+ export const ICON_NAME = 'radio-on';