@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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Theme, SerializedStyles } from '@emotion/react';
2
3
  type OutlineFn = (theme: Theme, color?: keyof Theme['colors'], borderRadius?: string, borderStyle?: React.CSSProperties['borderStyle']) => SerializedStyles;
3
4
  export declare const focusOutline: OutlineFn;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type RGBString = `rgb${string}`;
2
3
  type MakeColors<T extends Array<string>> = {
3
4
  [K in T[number]]?: RGBString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssa-ui-kit/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "private": false,
@@ -1,7 +1,7 @@
1
1
  import { Fragment } from 'react';
2
2
  import { Routes, Route, MemoryRouter } from 'react-router-dom';
3
- import { Meta } from '@storybook/react';
4
- import { Title, Description, Source } from '@storybook/addon-docs';
3
+ import { Meta, StoryObj } from '@storybook/react';
4
+ import { Title, Description, Subtitle, Stories } from '@storybook/addon-docs';
5
5
 
6
6
  import { DecoratorFunction } from '@storybook/types';
7
7
  import { CollapsibleNavBar } from '../CollapsibleNavBar';
@@ -35,11 +35,17 @@ export default {
35
35
  parameters: {
36
36
  layout: 'fullscreen',
37
37
  docs: {
38
+ source: {
39
+ type: 'code',
40
+ },
38
41
  page: () => (
39
42
  <Fragment>
40
43
  <Title />
44
+ <Subtitle />
41
45
  <Description />
42
- <Source code={`<CollapsibleNavBar />`} />
46
+ <div css={{ height: 300 }}>
47
+ <Stories />
48
+ </div>
43
49
  </Fragment>
44
50
  ),
45
51
  },
@@ -54,26 +60,42 @@ export default {
54
60
  },
55
61
  } as Meta<typeof CollapsibleNavBar>;
56
62
 
57
- export const Default = {};
63
+ export const Default: StoryObj<typeof CollapsibleNavBar> = () => {
64
+ return (
65
+ <CollapsibleNavBar
66
+ items={ITEMS}
67
+ renderLogo={<Logo />}
68
+ onChange={(isChecked) => {
69
+ console.log('>>>onChange', isChecked);
70
+ }}
71
+ />
72
+ );
73
+ };
58
74
 
59
- export const WithCustomIcon = {
60
- title: 'With Custom Icon',
61
- component: CollapsibleNavBar,
62
- parameters: {
63
- layout: 'fullscreen',
64
- },
65
- args: {
66
- items: [
67
- ...ITEMS,
68
- {
69
- path: 'custom',
70
- CustomIcon,
71
- title: 'Item with custom icon',
72
- },
73
- ],
74
- renderLogo: <Logo />,
75
- onChange: (isChecked) => {
76
- console.log('>>>onChange', isChecked);
77
- },
78
- },
79
- } as Meta<typeof CollapsibleNavBar>;
75
+ Default.args = {};
76
+
77
+ export const WithCustomIcon: Meta<typeof CollapsibleNavBar> = () => {
78
+ return (
79
+ <CollapsibleNavBar
80
+ items={[
81
+ ...ITEMS,
82
+ {
83
+ path: 'custom',
84
+ CustomIcon,
85
+ title: 'Item with custom icon',
86
+ iconSize: 22,
87
+ iconName: 'archive',
88
+ },
89
+ ]}
90
+ renderLogo={<Logo />}
91
+ onChange={(isChecked) => {
92
+ console.log('>>>onChange', isChecked);
93
+ }}
94
+ />
95
+ );
96
+ };
97
+
98
+ WithCustomIcon.title = 'With Custom Icon';
99
+ WithCustomIcon.parameters = {
100
+ layout: 'fullscreen',
101
+ };
@@ -36,7 +36,7 @@ export const Layout = ({ children }: { children: React.ReactNode }) => {
36
36
  }}>
37
37
  {children}
38
38
  <Main>
39
- {new Array(100).fill(1).map((_, index) => (
39
+ {new Array(30).fill(1).map((_, index) => (
40
40
  <NotificationCard
41
41
  key={index}
42
42
  title="CyberVeinToken is Now Available"
@@ -74,7 +74,7 @@ export const Filters = ({
74
74
  <FilterBlockWrapper>
75
75
  <FiltersBlock />
76
76
  </FilterBlockWrapper>
77
- <Wrapper css={{ width: 110 }}>
77
+ <Wrapper css={{ width: 110, zIndex: 1 }}>
78
78
  <TableFilters
79
79
  {...useTableDataResult}
80
80
  checkboxData={hiddenCheckboxData}
@@ -1,7 +1,15 @@
1
1
  import { IconProps } from './types';
2
2
  import IconsMap from './icons';
3
3
 
4
- const Icon = ({ name, color = '#000', size, ...props }: IconProps) => {
5
- return <IconsMap name={name} color={color} size={size} {...props} />;
4
+ const Icon = ({ name, color = '#000', size, tooltip, ...props }: IconProps) => {
5
+ return (
6
+ <IconsMap
7
+ name={name}
8
+ color={color}
9
+ size={size}
10
+ tooltip={tooltip}
11
+ {...props}
12
+ />
13
+ );
6
14
  };
7
15
  export default Icon;
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Archive = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Archive = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Archive',
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 Archive = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 15 15"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Archive</title>
16
+ <title>{tooltip}</title>
12
17
  <g clipPath="url(#clip0_532_12720)">
13
18
  <path
14
19
  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"
@@ -34,3 +39,5 @@ export const Archive = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
34
39
  </defs>
35
40
  </svg>
36
41
  );
42
+
43
+ export const ICON_NAME = 'archive';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const ArrowDown = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const ArrowDown = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Arrow Down',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,7 +13,7 @@ export const ArrowDown = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  fill="none"
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  {...props}>
11
- <title>Arrow Down</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M3.1779 7.07707L3.1779 0.922729"
14
19
  stroke={fill}
@@ -25,3 +30,5 @@ export const ArrowDown = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
25
30
  />
26
31
  </svg>
27
32
  );
33
+
34
+ export const ICON_NAME = 'arrow-down';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const ArrowUp = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const ArrowUp = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Arrow Up',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,7 +13,7 @@ export const ArrowUp = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  fill="none"
9
14
  xmlns="http://www.w3.org/2000/svg"
10
15
  {...props}>
11
- <title>Arrow Up</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M3.17757 0.92293L3.17757 7.07727"
14
19
  stroke={fill}
@@ -25,3 +30,5 @@ export const ArrowUp = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
25
30
  />
26
31
  </svg>
27
32
  );
33
+
34
+ export const ICON_NAME = 'arrow-up';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Attention = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Attention = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Attention',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Attention = ({ 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>Attention</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M10 1.90479L2.85718 6.1905V13.8095L10 18.5715L17.1429 13.8095V6.1905L10 1.90479Z"
15
20
  stroke={fill}
@@ -21,3 +26,5 @@ export const Attention = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
21
26
  />
22
27
  </svg>
23
28
  );
29
+
30
+ export const ICON_NAME = 'attention';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const BanUser = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const BanUser = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Ban User',
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 BanUser = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  viewBox="0 0 15 15"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Ban User</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  fillRule="evenodd"
14
19
  clipRule="evenodd"
@@ -33,3 +38,5 @@ export const BanUser = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
33
38
  />
34
39
  </svg>
35
40
  );
41
+
42
+ export const ICON_NAME = 'ban-user';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Bin = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Bin = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Bin',
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 Bin = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 15 15"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Bin</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  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"
14
19
  fill={fill}
@@ -27,3 +32,5 @@ export const Bin = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
27
32
  />
28
33
  </svg>
29
34
  );
35
+
36
+ export const ICON_NAME = 'bin';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Calendar = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Calendar = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Calendar',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,10 +13,12 @@ export const Calendar = ({ 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>Calendar</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  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"
14
19
  fill={fill}
15
20
  />
16
21
  </svg>
17
22
  );
23
+
24
+ export const ICON_NAME = 'calendar';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const CarrotDown = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Carrot down',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const CarrotDown = ({
12
13
  xmlns="http://www.w3.org/2000/svg"
13
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
14
15
  {...props}>
15
- <title>Carrot down</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  d="M17 1L9 9L1 1"
18
19
  stroke={fill}
@@ -23,3 +24,5 @@ export const CarrotDown = ({
23
24
  />
24
25
  </svg>
25
26
  );
27
+
28
+ export const ICON_NAME = 'carrot-down';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const CarrotLeft = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Carrot left',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const CarrotLeft = ({
12
13
  xmlns="http://www.w3.org/2000/svg"
13
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
14
15
  {...props}>
15
- <title>Carrot left</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  d="M9.5 0.999999L1.5 9L9.5 17"
18
19
  stroke={fill}
@@ -23,3 +24,5 @@ export const CarrotLeft = ({
23
24
  />
24
25
  </svg>
25
26
  );
27
+
28
+ export const ICON_NAME = 'carrot-left';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const CarrotRight = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Carrot right',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const CarrotRight = ({
12
13
  xmlns="http://www.w3.org/2000/svg"
13
14
  xmlnsXlink="http://www.w3.org/1999/xlink"
14
15
  {...props}>
15
- <title>Carrot right</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  d="M1.5 0.999999L9.5 9L1.5 17"
18
19
  stroke={fill}
@@ -23,3 +24,5 @@ export const CarrotRight = ({
23
24
  />
24
25
  </svg>
25
26
  );
27
+
28
+ export const ICON_NAME = 'carrot-right';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const CarrotUp = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const CarrotUp = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Carrot up',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -8,7 +13,7 @@ export const CarrotUp = ({ 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>Carrot up</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M17 9.5L9 1.5L1 9.5"
14
19
  stroke={fill}
@@ -19,3 +24,5 @@ export const CarrotUp = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
19
24
  />
20
25
  </svg>
21
26
  );
27
+
28
+ export const ICON_NAME = 'carrot-up';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Change = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Change = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Change',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  xmlns="http://www.w3.org/2000/svg"
6
11
  width={`${size}px`}
@@ -8,10 +13,12 @@ export const Change = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 15 15"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Change</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  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"
14
19
  fill={fill}
15
20
  />
16
21
  </svg>
17
22
  );
23
+
24
+ export const ICON_NAME = 'change';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Chart = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Chart = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Chart',
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 Chart = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 22 22"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Chart</title>
16
+ <title>{tooltip}</title>
12
17
  <g clipPath="url(#clip0_2353_10249)">
13
18
  <path
14
19
  d="M15.9118 19.3153L15.9119 19.3152C16.1279 19.1374 16.1629 18.8202 15.9915 18.5992L15.9914 18.5991L10.2667 11.2396V2.24969C10.2667 1.96446 10.0352 1.73301 9.75 1.73301C4.8614 1.73301 0.9 6.08572 0.9 11.4163C0.9 16.7557 5.24395 21.0997 10.5833 21.0997C11.771 21.0997 12.6938 20.9922 13.526 20.7137C14.359 20.4349 15.0948 19.987 15.9118 19.3153ZM10.5833 20.0664C5.81355 20.0664 1.93332 16.1861 1.93332 11.4164C1.93332 6.83058 5.17123 3.0801 9.23332 2.78478V11.4164C9.23332 11.531 9.27152 11.6427 9.34279 11.7337C9.34284 11.7338 9.3429 11.7338 9.34295 11.7339L14.8604 18.8277C14.2411 19.2904 13.6698 19.5955 13.0225 19.7874C12.346 19.9879 11.5811 20.0664 10.5833 20.0664Z"
@@ -36,3 +41,5 @@ export const Chart = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
36
41
  </defs>
37
42
  </svg>
38
43
  );
44
+
45
+ export const ICON_NAME = 'chart';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Check = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Check = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Check',
7
+ ...props
8
+ }: SVGProps) => (
4
9
  <svg
5
10
  width={`${size}px`}
6
11
  height={`${size}px`}
@@ -9,7 +14,7 @@ export const Check = ({ 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>Check</title>
17
+ <title>{tooltip}</title>
13
18
  <path
14
19
  d="M1 3.83L3.83 6.66L9.5 1"
15
20
  stroke={fill}
@@ -19,3 +24,5 @@ export const Check = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
19
24
  />
20
25
  </svg>
21
26
  );
27
+
28
+ export const ICON_NAME = 'check';
@@ -3,6 +3,7 @@ import { SVGProps } from '@components/Icon/types';
3
3
  export const CheckCircle = ({
4
4
  fill = '#000',
5
5
  size = 24,
6
+ tooltip = 'Check circle',
6
7
  ...props
7
8
  }: SVGProps) => (
8
9
  <svg
@@ -12,7 +13,7 @@ export const CheckCircle = ({
12
13
  fill="none"
13
14
  xmlns="http://www.w3.org/2000/svg"
14
15
  {...props}>
15
- <title>Check circle</title>
16
+ <title>{tooltip}</title>
16
17
  <path
17
18
  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"
18
19
  stroke={fill}
@@ -29,3 +30,5 @@ export const CheckCircle = ({
29
30
  />
30
31
  </svg>
31
32
  );
33
+
34
+ export const ICON_NAME = 'check-circle';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Circle = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
3
+ export const Circle = ({
4
+ fill = '#000',
5
+ size = 24,
6
+ tooltip = 'Circle',
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 Circle = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
8
13
  viewBox="0 0 20 21"
9
14
  fill="#fff"
10
15
  {...props}>
11
- <title>Circle</title>
16
+ <title>{tooltip}</title>
12
17
  <rect x="0.7" y="1.39995" width="18.6" height="18.6" rx="9.3" fill="none" />
13
18
  <rect
14
19
  x="0.7"
@@ -21,3 +26,5 @@ export const Circle = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
21
26
  />
22
27
  </svg>
23
28
  );
29
+
30
+ export const ICON_NAME = 'circle';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Circular = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Circular = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Circular',
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 Circular = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 13 13"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Circular</title>
16
+ <title>{tooltip}</title>
12
17
  <path
13
18
  d="M1.7289 2.42862C2.85955 1.1478 4.51389 0.339844 6.35182 0.339844C9.63351 0.339844 12.3206 2.92225 12.4987 6.16175L12.4988 6.16265C12.5036 6.23476 12.494 6.3071 12.4707 6.37549C12.4473 6.44388 12.4106 6.50695 12.3627 6.56106C12.3148 6.61516 12.2566 6.65921 12.1915 6.69067C12.1264 6.72213 12.0558 6.74036 11.9836 6.74431C11.9115 6.74827 11.8392 6.73786 11.7711 6.7137C11.703 6.68953 11.6404 6.65209 11.5868 6.60355C11.5333 6.555 11.4899 6.49631 11.4592 6.43089C11.4285 6.36546 11.4111 6.29459 11.408 6.22239L11.408 6.22146C11.261 3.54808 9.06488 1.43217 6.35182 1.43217C4.89837 1.43217 3.59436 2.04214 2.67134 3.01702L2.54667 3.14869L3.54297 3.1487L3.54408 3.14868C3.61645 3.14766 3.68831 3.16103 3.75547 3.18802C3.82263 3.21501 3.88376 3.25507 3.9353 3.30589C3.98684 3.35671 4.02777 3.41726 4.05571 3.48404C4.08364 3.55081 4.09803 3.62247 4.09803 3.69485C4.09803 3.76723 4.08364 3.8389 4.05571 3.90567C4.02777 3.97244 3.98684 4.033 3.9353 4.08382C3.88376 4.13463 3.82263 4.1747 3.75547 4.20169C3.68831 4.22868 3.61645 4.24204 3.54408 4.24102H0.500058L0.500066 1.1981L0.500051 1.19703C0.498071 1.05227 0.553642 0.912645 0.654554 0.808833C0.755465 0.705021 0.893461 0.645517 1.03822 0.643395C1.11125 0.642326 1.18375 0.655912 1.25143 0.68335C1.31911 0.710788 1.38061 0.75152 1.43227 0.803137C1.48394 0.854755 1.52473 0.916209 1.55223 0.983866C1.57974 1.05152 1.59339 1.12401 1.59239 1.19703V2.58327L1.7289 2.42862Z"
14
19
  fill={fill}
@@ -19,3 +24,5 @@ export const Circular = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
19
24
  />
20
25
  </svg>
21
26
  );
27
+
28
+ export const ICON_NAME = 'circular';
@@ -1,6 +1,11 @@
1
1
  import { SVGProps } from '@components/Icon/types';
2
2
 
3
- export const Clock = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
3
+ export const Clock = ({
4
+ fill = '#000',
5
+ size = 15,
6
+ tooltip = 'Clock',
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 Clock = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
8
13
  viewBox="0 0 24 24"
9
14
  fill="none"
10
15
  {...props}>
11
- <title>Clock</title>
16
+ <title>{tooltip}</title>
12
17
  <circle
13
18
  cx="12.1001"
14
19
  cy="12.1001"
@@ -30,3 +35,5 @@ export const Clock = ({ fill = '#000', size = 15, ...props }: SVGProps) => (
30
35
  />
31
36
  </svg>
32
37
  );
38
+
39
+ export const ICON_NAME = 'clock';