@clickhouse/click-ui 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/.prettierrc +14 -0
  3. package/.storybook/main.ts +1 -0
  4. package/.storybook/manager.ts +11 -0
  5. package/.storybook/preview-head.html +2 -4
  6. package/.storybook/preview.tsx +13 -4
  7. package/.storybook/theme.ts +16 -0
  8. package/build-tokens.js +6 -6
  9. package/dist/App.d.ts +2 -0
  10. package/dist/assets/RightArrow/RightArrow.d.ts +1 -0
  11. package/dist/assets/S3Logo/S3Logo.d.ts +1 -0
  12. package/dist/components/Accordion/Accordion.d.ts +27 -0
  13. package/dist/components/Accordion/Accordion.stories.d.ts +21 -0
  14. package/dist/components/Accordion/Accordion.test.d.ts +1 -0
  15. package/dist/components/Alert/Alert.d.ts +16 -0
  16. package/dist/components/Alert/Alert.stories.d.ts +12 -0
  17. package/dist/components/Alert/Alert.test.d.ts +1 -0
  18. package/dist/components/Avatar/Avatar.d.ts +7 -0
  19. package/dist/components/Avatar/Avatar.stories.d.ts +11 -0
  20. package/dist/components/Badge/Badge.d.ts +16 -0
  21. package/dist/components/Badge/Badge.stories.d.ts +34 -0
  22. package/dist/components/Badge/Badge.test.d.ts +1 -0
  23. package/dist/components/BigStat/BigStat.d.ts +10 -0
  24. package/dist/components/BigStat/BigStat.stories.d.ts +20 -0
  25. package/dist/components/Button/Button.d.ts +23 -0
  26. package/dist/components/Button/Button.stories.d.ts +28 -0
  27. package/dist/components/Button/Button.test.d.ts +1 -0
  28. package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -0
  29. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +12 -0
  30. package/dist/components/Card/Card.d.ts +10 -0
  31. package/dist/components/Card/Card.stories.d.ts +16 -0
  32. package/dist/components/Checkbox/Checkbox.d.ts +5 -0
  33. package/dist/components/Checkbox/Checkbox.stories.d.ts +29 -0
  34. package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
  35. package/dist/components/ContextMenu/ContextMenu.d.ts +38 -0
  36. package/dist/components/ContextMenu/ContextMenu.stories.d.ts +30 -0
  37. package/dist/components/ContextMenu/ContextMenu.test.d.ts +1 -0
  38. package/dist/components/Dropdown/Dropdown.d.ts +38 -0
  39. package/dist/components/Dropdown/Dropdown.stories.d.ts +36 -0
  40. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
  41. package/dist/components/FormField/Label.d.ts +7 -0
  42. package/dist/components/FormField/Label.stories.d.ts +28 -0
  43. package/dist/components/FormField/Select.d.ts +43 -0
  44. package/dist/components/FormField/Select.stories.d.ts +54 -0
  45. package/dist/components/FormField/Select.test.d.ts +0 -0
  46. package/dist/components/FormField/SelectContext.d.ts +24 -0
  47. package/dist/components/FormField/commonElement.d.ts +1100 -0
  48. package/dist/components/GenericMenu.d.ts +764 -0
  49. package/dist/components/HoverCard/HoverCard.d.ts +20 -0
  50. package/dist/components/HoverCard/HoverCard.stories.d.ts +36 -0
  51. package/dist/components/HoverCard/HoverCard.test.d.ts +0 -0
  52. package/dist/components/Icon/Icon.d.ts +571 -0
  53. package/dist/components/Icon/Icon.stories.d.ts +495 -0
  54. package/dist/components/Icon/types.d.ts +8 -0
  55. package/dist/components/IconButton/IconButton.d.ts +15 -0
  56. package/dist/components/IconButton/IconButton.stories.d.ts +30 -0
  57. package/dist/components/IconButton/IconButton.test.d.ts +1 -0
  58. package/dist/components/Panel/Panel.d.ts +11 -0
  59. package/dist/components/Panel/Panel.stories.d.ts +23 -0
  60. package/dist/components/Popover/Popover.d.ts +23 -0
  61. package/dist/components/Popover/Popover.stories.d.ts +43 -0
  62. package/dist/components/Popover/Popover.test.d.ts +1 -0
  63. package/dist/components/RadioGroup/RadioGroup.d.ts +17 -0
  64. package/dist/components/RadioGroup/RadioGroup.stories.d.ts +39 -0
  65. package/dist/components/RadioGroup/RadioGroup.test.d.ts +1 -0
  66. package/dist/components/Separator/Separator.d.ts +6 -0
  67. package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +17 -0
  68. package/dist/components/SidebarNavigationItem/SidebarNavigationItem.stories.d.ts +20 -0
  69. package/dist/components/Spacer/Spacer.d.ts +4 -0
  70. package/dist/components/Spacer/Spacer.stories.d.ts +19 -0
  71. package/dist/components/Switch/Switch.d.ts +7 -0
  72. package/dist/components/Switch/Switch.stories.d.ts +13 -0
  73. package/dist/components/Table/Table.d.ts +568 -0
  74. package/dist/components/Table/Table.stories.d.ts +575 -0
  75. package/dist/components/Tabs/Tabs.d.ts +848 -0
  76. package/dist/components/Tabs/Tabs.stories.d.ts +845 -0
  77. package/dist/components/Tabs/Tabs.test.d.ts +1 -0
  78. package/dist/components/Tooltip/Tooltip.d.ts +17 -0
  79. package/dist/components/Tooltip/Tooltip.stories.d.ts +45 -0
  80. package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
  81. package/dist/components/Typography/Text/Text.d.ts +12 -0
  82. package/dist/components/Typography/Text/Text.stories.d.ts +22 -0
  83. package/dist/components/Typography/Text/Text.test.d.ts +1 -0
  84. package/dist/components/Typography/Title/Title.d.ts +14 -0
  85. package/dist/components/Typography/Title/Title.stories.d.ts +35 -0
  86. package/dist/components/Typography/Title/Title.test.d.ts +1 -0
  87. package/dist/components/icons/Activity.d.ts +3 -0
  88. package/dist/components/icons/ArrowDown.d.ts +3 -0
  89. package/dist/components/icons/ArrowRight.d.ts +3 -0
  90. package/dist/components/icons/ArrowTriangle.d.ts +3 -0
  91. package/dist/components/icons/ArrowUp.d.ts +3 -0
  92. package/dist/components/icons/Backups.d.ts +3 -0
  93. package/dist/components/icons/Blog.d.ts +3 -0
  94. package/dist/components/icons/Book.d.ts +3 -0
  95. package/dist/components/icons/Brackets.d.ts +3 -0
  96. package/dist/components/icons/Briefcase.d.ts +3 -0
  97. package/dist/components/icons/Building.d.ts +3 -0
  98. package/dist/components/icons/BurgerMenu.d.ts +3 -0
  99. package/dist/components/icons/Cards.d.ts +3 -0
  100. package/dist/components/icons/CellTower.d.ts +3 -0
  101. package/dist/components/icons/ChatIcon.d.ts +3 -0
  102. package/dist/components/icons/CheckIcon.d.ts +3 -0
  103. package/dist/components/icons/CheckInCircle.d.ts +3 -0
  104. package/dist/components/icons/ChevronDown.d.ts +2 -0
  105. package/dist/components/icons/ChevronLeft.d.ts +3 -0
  106. package/dist/components/icons/ChevronRight.d.ts +2 -0
  107. package/dist/components/icons/ChevronUp.d.ts +3 -0
  108. package/dist/components/icons/Clock.d.ts +3 -0
  109. package/dist/components/icons/Cloud.d.ts +3 -0
  110. package/dist/components/icons/Code.d.ts +3 -0
  111. package/dist/components/icons/CodeInSquare.d.ts +3 -0
  112. package/dist/components/icons/Connect.d.ts +3 -0
  113. package/dist/components/icons/ConnectAlt.d.ts +3 -0
  114. package/dist/components/icons/Console.d.ts +3 -0
  115. package/dist/components/icons/Copy.d.ts +3 -0
  116. package/dist/components/icons/CrossIcon.d.ts +3 -0
  117. package/dist/components/icons/Data.d.ts +3 -0
  118. package/dist/components/icons/DatabaseIcon.d.ts +3 -0
  119. package/dist/components/icons/Disk.d.ts +3 -0
  120. package/dist/components/icons/Display.d.ts +3 -0
  121. package/dist/components/icons/Document.d.ts +3 -0
  122. package/dist/components/icons/DotsHorizontal.d.ts +3 -0
  123. package/dist/components/icons/DotsVertical.d.ts +3 -0
  124. package/dist/components/icons/Email.d.ts +3 -0
  125. package/dist/components/icons/Empty.d.ts +3 -0
  126. package/dist/components/icons/FilterIcon.d.ts +3 -0
  127. package/dist/components/icons/Fire.d.ts +3 -0
  128. package/dist/components/icons/Flags/EuropeanUnion.d.ts +3 -0
  129. package/dist/components/icons/Flags/Germany.d.ts +3 -0
  130. package/dist/components/icons/Flags/India.d.ts +3 -0
  131. package/dist/components/icons/Flags/Ireland.d.ts +3 -0
  132. package/dist/components/icons/Flags/Netherlands.d.ts +3 -0
  133. package/dist/components/icons/Flags/Singapore.d.ts +2 -0
  134. package/dist/components/icons/Flags/UnitedKingdom.d.ts +3 -0
  135. package/dist/components/icons/Flags/UnitedStates.d.ts +3 -0
  136. package/dist/components/icons/Flags/index.d.ts +6 -0
  137. package/dist/components/icons/Folder.d.ts +3 -0
  138. package/dist/components/icons/Gift.d.ts +3 -0
  139. package/dist/components/icons/HistoryIcon.d.ts +3 -0
  140. package/dist/components/icons/Home.d.ts +3 -0
  141. package/dist/components/icons/Http.d.ts +3 -0
  142. package/dist/components/icons/InfoInCircleIcon.d.ts +3 -0
  143. package/dist/components/icons/InformationIcon.d.ts +3 -0
  144. package/dist/components/icons/InsertRowIcon.d.ts +3 -0
  145. package/dist/components/icons/Integrations.d.ts +3 -0
  146. package/dist/components/icons/LightBulb.d.ts +3 -0
  147. package/dist/components/icons/Lightening.d.ts +3 -0
  148. package/dist/components/icons/Loading.d.ts +3 -0
  149. package/dist/components/icons/Metrics.d.ts +3 -0
  150. package/dist/components/icons/MetricsAlt.d.ts +3 -0
  151. package/dist/components/icons/Payment.d.ts +3 -0
  152. package/dist/components/icons/Payments/Amex.d.ts +3 -0
  153. package/dist/components/icons/Payments/MasterCard.d.ts +3 -0
  154. package/dist/components/icons/Payments/Paypal.d.ts +3 -0
  155. package/dist/components/icons/Payments/Visa.d.ts +3 -0
  156. package/dist/components/icons/Payments/index.d.ts +6 -0
  157. package/dist/components/icons/Pencil.d.ts +3 -0
  158. package/dist/components/icons/PieChart.d.ts +3 -0
  159. package/dist/components/icons/Play.d.ts +3 -0
  160. package/dist/components/icons/Plus.d.ts +3 -0
  161. package/dist/components/icons/Popout.d.ts +3 -0
  162. package/dist/components/icons/PopoverArrow.d.ts +3 -0
  163. package/dist/components/icons/Question.d.ts +3 -0
  164. package/dist/components/icons/Refresh.d.ts +3 -0
  165. package/dist/components/icons/Search.d.ts +3 -0
  166. package/dist/components/icons/Secure.d.ts +3 -0
  167. package/dist/components/icons/Services.d.ts +3 -0
  168. package/dist/components/icons/Settings.d.ts +3 -0
  169. package/dist/components/icons/Share.d.ts +3 -0
  170. package/dist/components/icons/SlideIn.d.ts +3 -0
  171. package/dist/components/icons/SlideOut.d.ts +3 -0
  172. package/dist/components/icons/SortAltIcon.d.ts +3 -0
  173. package/dist/components/icons/SortIcon.d.ts +3 -0
  174. package/dist/components/icons/Sparkle.d.ts +3 -0
  175. package/dist/components/icons/Speaker.d.ts +3 -0
  176. package/dist/components/icons/Speed.d.ts +3 -0
  177. package/dist/components/icons/Star.d.ts +3 -0
  178. package/dist/components/icons/Support.d.ts +3 -0
  179. package/dist/components/icons/Table.d.ts +3 -0
  180. package/dist/components/icons/Taxi.d.ts +3 -0
  181. package/dist/components/icons/Trash.d.ts +3 -0
  182. package/dist/components/icons/Upload.d.ts +3 -0
  183. package/dist/components/icons/Url.d.ts +3 -0
  184. package/dist/components/icons/UserIcon.d.ts +2 -0
  185. package/dist/components/icons/UsersIcon.d.ts +2 -0
  186. package/dist/components/icons/WarningIcon.d.ts +3 -0
  187. package/dist/components/index.d.ts +24 -0
  188. package/dist/components/types.d.ts +1 -0
  189. package/dist/favicon.ico +0 -0
  190. package/dist/index.cjs +442 -0
  191. package/dist/index.d.ts +2 -0
  192. package/dist/index.js +16474 -0
  193. package/dist/logo.svg +17 -0
  194. package/dist/main.d.ts +0 -0
  195. package/dist/styles/types.d.ts +2087 -0
  196. package/dist/styles/variables.classic.json.d.ts +204 -0
  197. package/dist/styles/variables.dark.json.d.ts +896 -0
  198. package/dist/styles/variables.json.d.ts +2089 -0
  199. package/dist/styles/variables.light.json.d.ts +951 -0
  200. package/dist/theme/index.d.ts +10 -0
  201. package/dist/theme/theme.d.ts +6 -0
  202. package/dist/vite.svg +1 -0
  203. package/package.json +24 -5
  204. package/public/favicon.ico +0 -0
  205. package/public/logo.svg +17 -0
  206. package/src/App.tsx +102 -39
  207. package/src/components/Accordion/Accordion.stories.tsx +4 -54
  208. package/src/components/Accordion/Accordion.tsx +1 -0
  209. package/src/components/Alert/Alert.stories.tsx +14 -0
  210. package/src/components/Alert/Alert.test.tsx +27 -0
  211. package/src/components/Alert/Alert.tsx +130 -0
  212. package/src/components/Avatar/Avatar.stories.tsx +13 -0
  213. package/src/components/Avatar/Avatar.tsx +64 -0
  214. package/src/components/Badge/Badge.stories.ts +19 -3
  215. package/src/components/Badge/Badge.test.tsx +6 -1
  216. package/src/components/Badge/Badge.tsx +67 -13
  217. package/src/components/BigStat/BigStat.stories.ts +10 -5
  218. package/src/components/BigStat/BigStat.tsx +36 -24
  219. package/src/components/Button/Button.stories.ts +12 -68
  220. package/src/components/Button/Button.test.tsx +2 -2
  221. package/src/components/Button/Button.tsx +59 -41
  222. package/src/components/ButtonGroup/ButtonGroup.stories.ts +3 -3
  223. package/src/components/Card/Card.stories.ts +3 -3
  224. package/src/components/Checkbox/Checkbox.stories.tsx +35 -0
  225. package/src/components/Checkbox/Checkbox.test.tsx +41 -0
  226. package/src/components/Checkbox/Checkbox.tsx +89 -0
  227. package/src/components/ContextMenu/ContextMenu.stories.tsx +73 -0
  228. package/src/components/ContextMenu/ContextMenu.test.tsx +152 -0
  229. package/src/components/ContextMenu/ContextMenu.tsx +155 -0
  230. package/src/components/Dropdown/Dropdown.stories.tsx +64 -0
  231. package/src/components/Dropdown/Dropdown.test.tsx +141 -0
  232. package/src/components/Dropdown/Dropdown.tsx +149 -0
  233. package/src/components/FormField/Label.stories.tsx +39 -0
  234. package/src/components/FormField/Label.tsx +47 -0
  235. package/src/components/FormField/Select.stories.tsx +48 -0
  236. package/src/components/FormField/Select.test.tsx +216 -0
  237. package/src/components/FormField/Select.tsx +574 -0
  238. package/src/components/FormField/SelectContext.tsx +101 -0
  239. package/src/components/FormField/commonElement.tsx +42 -0
  240. package/src/components/GenericMenu.tsx +114 -0
  241. package/src/components/HoverCard/HoverCard.stories.tsx +64 -0
  242. package/src/components/HoverCard/HoverCard.test.tsx +85 -0
  243. package/src/components/HoverCard/HoverCard.tsx +65 -0
  244. package/src/components/Icon/Icon.stories.ts +4 -35
  245. package/src/components/Icon/Icon.tsx +166 -18
  246. package/src/components/Icon/types.ts +78 -1
  247. package/src/components/IconButton/IconButton.stories.ts +25 -7
  248. package/src/components/IconButton/IconButton.test.tsx +32 -0
  249. package/src/components/IconButton/IconButton.tsx +60 -71
  250. package/src/components/Panel/Panel.stories.tsx +25 -0
  251. package/src/components/Panel/Panel.tsx +33 -0
  252. package/src/components/Popover/Popover.stories.tsx +67 -0
  253. package/src/components/Popover/Popover.test.tsx +46 -0
  254. package/src/components/Popover/Popover.tsx +115 -0
  255. package/src/components/RadioGroup/RadioGroup.stories.tsx +43 -0
  256. package/src/components/RadioGroup/RadioGroup.test.tsx +59 -0
  257. package/src/components/RadioGroup/RadioGroup.tsx +149 -0
  258. package/src/components/Separator/Separator.stories.tsx +24 -0
  259. package/src/components/Separator/Separator.tsx +29 -0
  260. package/src/components/SidebarNavigationItem/SidebarNavigationItem.stories.tsx +2 -2
  261. package/src/components/Spacer/Spacer.stories.tsx +20 -0
  262. package/src/components/Spacer/Spacer.tsx +15 -0
  263. package/src/components/Switch/Switch.stories.ts +3 -3
  264. package/src/components/Switch/Switch.tsx +3 -2
  265. package/src/components/Table/Table.stories.tsx +29 -0
  266. package/src/components/Table/Table.tsx +109 -0
  267. package/src/components/Tabs/Tabs.stories.tsx +2 -37
  268. package/src/components/Tooltip/Tooltip.stories.tsx +68 -0
  269. package/src/components/Tooltip/Tooltip.test.tsx +44 -0
  270. package/src/components/Tooltip/Tooltip.tsx +67 -0
  271. package/src/components/Typography/Text/Text.stories.tsx +22 -0
  272. package/src/components/Typography/Text/Text.test.tsx +16 -0
  273. package/src/components/Typography/Text/Text.tsx +30 -0
  274. package/src/components/Typography/Title/Title.stories.tsx +31 -0
  275. package/src/components/Typography/Title/Title.test.tsx +16 -0
  276. package/src/components/Typography/Title/Title.tsx +36 -0
  277. package/src/components/icons/Activity.tsx +30 -0
  278. package/src/components/icons/ArrowDown.tsx +22 -0
  279. package/src/components/icons/ArrowRight.tsx +22 -0
  280. package/src/components/icons/ArrowTriangle.tsx +36 -0
  281. package/src/components/icons/ArrowUp.tsx +22 -0
  282. package/src/components/icons/Backups.tsx +29 -0
  283. package/src/components/icons/Blog.tsx +38 -0
  284. package/src/components/icons/Book.tsx +30 -0
  285. package/src/components/icons/Brackets.tsx +22 -0
  286. package/src/components/icons/Briefcase.tsx +30 -0
  287. package/src/components/icons/Building.tsx +30 -0
  288. package/src/components/icons/BurgerMenu.tsx +22 -0
  289. package/src/components/icons/Cards.tsx +30 -0
  290. package/src/components/icons/CellTower.tsx +21 -0
  291. package/src/components/icons/CheckIcon.tsx +21 -0
  292. package/src/components/icons/CheckInCircle.tsx +39 -0
  293. package/src/components/icons/ChevronDown.tsx +19 -5
  294. package/src/components/icons/ChevronLeft.tsx +22 -0
  295. package/src/components/icons/ChevronRight.tsx +3 -3
  296. package/src/components/icons/ChevronUp.tsx +22 -0
  297. package/src/components/icons/Clock.tsx +37 -0
  298. package/src/components/icons/Cloud.tsx +23 -0
  299. package/src/components/icons/Code.tsx +22 -0
  300. package/src/components/icons/CodeInSquare.tsx +30 -0
  301. package/src/components/icons/Connect.tsx +22 -0
  302. package/src/components/icons/ConnectAlt.tsx +30 -0
  303. package/src/components/icons/Console.tsx +30 -0
  304. package/src/components/icons/Copy.tsx +33 -0
  305. package/src/components/icons/CrossIcon.tsx +29 -0
  306. package/src/components/icons/Data.tsx +36 -0
  307. package/src/components/icons/DatabaseIcon.tsx +27 -29
  308. package/src/components/icons/Disk.tsx +30 -0
  309. package/src/components/icons/Display.tsx +30 -0
  310. package/src/components/icons/Document.tsx +30 -0
  311. package/src/components/icons/DotsHorizontal.tsx +36 -0
  312. package/src/components/icons/DotsVertical.tsx +33 -0
  313. package/src/components/icons/Email.tsx +33 -0
  314. package/src/components/icons/Empty.tsx +14 -0
  315. package/src/components/icons/FilterIcon.tsx +29 -16
  316. package/src/components/icons/Fire.tsx +23 -0
  317. package/src/components/icons/Folder.tsx +20 -0
  318. package/src/components/icons/Gift.tsx +21 -0
  319. package/src/components/icons/HistoryIcon.tsx +13 -13
  320. package/src/components/icons/Home.tsx +29 -0
  321. package/src/components/icons/Http.tsx +22 -0
  322. package/src/components/icons/Icons.mdx +31 -28
  323. package/src/components/icons/InfoInCircleIcon.tsx +37 -0
  324. package/src/components/icons/InformationIcon.tsx +34 -0
  325. package/src/components/icons/InsertRowIcon.tsx +30 -32
  326. package/src/components/icons/Integrations.tsx +29 -0
  327. package/src/components/icons/LightBulb.tsx +40 -0
  328. package/src/components/icons/Lightening.tsx +30 -0
  329. package/src/components/icons/Loading.tsx +57 -0
  330. package/src/components/icons/Metrics.tsx +38 -0
  331. package/src/components/icons/MetricsAlt.tsx +30 -0
  332. package/src/components/icons/Payment.tsx +23 -0
  333. package/src/components/icons/Payments/Amex.tsx +44 -0
  334. package/src/components/icons/Payments/MasterCard.tsx +48 -0
  335. package/src/components/icons/Payments/Paypal.tsx +41 -0
  336. package/src/components/icons/Payments/Visa.tsx +36 -0
  337. package/src/components/icons/Payments/index.tsx +30 -0
  338. package/src/components/icons/Pencil.tsx +30 -0
  339. package/src/components/icons/PieChart.tsx +30 -0
  340. package/src/components/icons/Play.tsx +30 -0
  341. package/src/components/icons/Plus.tsx +22 -0
  342. package/src/components/icons/Popout.tsx +22 -0
  343. package/src/components/icons/PopoverArrow.tsx +22 -0
  344. package/src/components/icons/Question.tsx +30 -0
  345. package/src/components/icons/Refresh.tsx +29 -0
  346. package/src/components/icons/Search.tsx +22 -0
  347. package/src/components/icons/Secure.tsx +30 -0
  348. package/src/components/icons/Services.tsx +23 -0
  349. package/src/components/icons/Settings.tsx +22 -0
  350. package/src/components/icons/Share.tsx +29 -0
  351. package/src/components/icons/SlideIn.tsx +28 -0
  352. package/src/components/icons/SlideOut.tsx +28 -0
  353. package/src/components/icons/SortAltIcon.tsx +18 -20
  354. package/src/components/icons/SortIcon.tsx +24 -0
  355. package/src/components/icons/Sparkle.tsx +23 -0
  356. package/src/components/icons/Speaker.tsx +30 -0
  357. package/src/components/icons/Speed.tsx +29 -0
  358. package/src/components/icons/Star.tsx +23 -0
  359. package/src/components/icons/Support.tsx +37 -0
  360. package/src/components/icons/Table.tsx +30 -0
  361. package/src/components/icons/Taxi.tsx +120 -0
  362. package/src/components/icons/Trash.tsx +22 -0
  363. package/src/components/icons/Upload.tsx +29 -0
  364. package/src/components/icons/Url.tsx +22 -0
  365. package/src/components/icons/UsersIcon.tsx +27 -27
  366. package/src/components/icons/WarningIcon.tsx +30 -0
  367. package/src/components/index.ts +31 -10
  368. package/src/index.ts +2 -2
  369. package/src/styles/types.ts +715 -295
  370. package/src/styles/variables.classic.json +171 -0
  371. package/src/styles/variables.dark.json +447 -129
  372. package/src/styles/variables.json +830 -410
  373. package/src/styles/variables.light.json +339 -179
  374. package/tokens/themes/$themes.json +3657 -1
  375. package/tokens/themes/classic.json +492 -0
  376. package/tokens/themes/component.json +1126 -441
  377. package/tokens/themes/dark.json +1871 -758
  378. package/tokens/themes/light.json +852 -266
  379. package/tokens/themes/primitives.json +294 -210
  380. package/vite.config.ts +6 -4
  381. package/app/.babelrc +0 -27
  382. package/app/.eslintrc.json +0 -6
  383. package/app/.storybook/main.ts +0 -17
  384. package/app/.storybook/preview.tsx +0 -26
  385. package/app/README.md +0 -38
  386. package/app/next.config.js +0 -6
  387. package/app/package-lock.json +0 -28711
  388. package/app/package.json +0 -44
  389. package/app/public/favicon.ico +0 -0
  390. package/app/public/next.svg +0 -1
  391. package/app/public/vercel.svg +0 -1
  392. package/app/src/assets/RightArrow/right-arrow.tsx +0 -17
  393. package/app/src/assets/S3Logo/s3-logo.tsx +0 -31
  394. package/app/src/assets/amazon_s3.svg +0 -9
  395. package/app/src/assets/arrow.svg +0 -3
  396. package/app/src/globals.d.ts +0 -4
  397. package/app/src/pages/_app.tsx +0 -8
  398. package/app/src/pages/_document.tsx +0 -17
  399. package/app/src/pages/api/hello.ts +0 -13
  400. package/app/src/pages/index.tsx +0 -141
  401. package/app/src/pages/label.tsx +0 -27
  402. package/app/src/stories/assets/code-brackets.svg +0 -1
  403. package/app/src/stories/assets/colors.svg +0 -1
  404. package/app/src/stories/assets/comments.svg +0 -1
  405. package/app/src/stories/assets/direction.svg +0 -1
  406. package/app/src/stories/assets/flow.svg +0 -1
  407. package/app/src/stories/assets/plugin.svg +0 -1
  408. package/app/src/stories/assets/repo.svg +0 -1
  409. package/app/src/stories/assets/stackalt.svg +0 -1
  410. package/app/src/styles/Home.module.css +0 -235
  411. package/app/src/styles/globals.css +0 -111
  412. package/app/src/styles/types.ts +0 -1031
  413. package/app/src/styles/variables.classic.css +0 -16
  414. package/app/src/styles/variables.classic.json +0 -31
  415. package/app/src/styles/variables.css +0 -763
  416. package/app/src/styles/variables.dark.css +0 -135
  417. package/app/src/styles/variables.dark.json +0 -339
  418. package/app/src/styles/variables.json +0 -1029
  419. package/app/src/styles/variables.light.css +0 -203
  420. package/app/src/styles/variables.light.json +0 -478
  421. package/app/tokens/themes/$metadata.json +0 -9
  422. package/app/tokens/themes/$themes.json +0 -1
  423. package/app/tokens/themes/classic.json +0 -58
  424. package/app/tokens/themes/component.json +0 -868
  425. package/app/tokens/themes/dark.json +0 -937
  426. package/app/tokens/themes/light.json +0 -1380
  427. package/app/tokens/themes/primitives.json +0 -859
  428. package/app/tsconfig.json +0 -23
  429. package/src/components/FormField/FormField.stories.ts +0 -14
  430. package/src/components/FormField/FormField.tsx +0 -22
@@ -0,0 +1,33 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Email = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="m6.998 10 3.083 2.376a3.001 3.001 0 0 0 3.602.047L17.003 10"
18
+ />
19
+ <rect
20
+ width={18.008}
21
+ height={17.007}
22
+ x={2.996}
23
+ y={3.497}
24
+ stroke="#161517"
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ strokeWidth={1.5}
28
+ rx={5}
29
+ />
30
+ </svg>
31
+ );
32
+
33
+ export default Email;
@@ -0,0 +1,14 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Empty = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ ></svg>
12
+ );
13
+
14
+ export default Empty;
@@ -1,24 +1,37 @@
1
1
  import { SVGAttributes } from "react";
2
2
 
3
- function FilterIcon(props: SVGAttributes<SVGElement>) {
4
- return (
3
+ const FilterIcon = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="24"
7
+ height="24"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
5
12
  <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width='24'
8
- height='24'
9
- fill='none'
10
- viewBox='0 0 24 24'
11
- {...props}
13
+ width="24"
14
+ height="24"
15
+ viewBox="0 0 24 24"
16
+ fill="none"
17
+ xmlns="http://www.w3.org/2000/svg"
12
18
  >
13
19
  <path
14
- stroke='#fff'
15
- strokeLinecap='round'
16
- strokeLinejoin='round'
17
- strokeWidth='1.5'
18
- d='M14.5 13.5l5.207-5.207A1 1 0 0020 7.586V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2.586c0 .265.105.52.293.707L9.5 13.5M9.5 13.5v6.249c0 .813.764 1.41 1.553 1.213l2.5-.625a1.25 1.25 0 00.947-1.213V13.5'
19
- ></path>
20
+ d="M14.5 13.5L19.707 8.293C19.895 8.105 20 7.851 20 7.586V5C20 4.448 19.552 4 19 4H5C4.448 4 4 4.448 4 5V7.586C4 7.851 4.105 8.106 4.293 8.293L9.5 13.5"
21
+ stroke="#161517"
22
+ stroke-width="1.5"
23
+ stroke-linecap="round"
24
+ stroke-linejoin="round"
25
+ />
26
+ <path
27
+ d="M9.5 13.5V19.749C9.5 20.562 10.264 21.159 11.053 20.962L13.553 20.337C14.109 20.198 14.5 19.698 14.5 19.124V13.5"
28
+ stroke="#161517"
29
+ stroke-width="1.5"
30
+ stroke-linecap="round"
31
+ stroke-linejoin="round"
32
+ />
20
33
  </svg>
21
- );
22
- }
34
+ </svg>
35
+ );
23
36
 
24
37
  export default FilterIcon;
@@ -0,0 +1,23 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Fire = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="m6.198 7.56 3.483-4.063 3.755 4.38 2.43-2.834 1.936 2.26a8.01 8.01 0 0 1 1.928 5.212v.258a7.73 7.73 0 0 1-7.73 7.73v0a7.73 7.73 0 0 1-7.73-7.73v0A8.01 8.01 0 0 1 6.198 7.56Z"
18
+ clipRule="evenodd"
19
+ />
20
+ </svg>
21
+ );
22
+
23
+ export default Fire;
@@ -0,0 +1,20 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Folder = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeWidth={1.5}
15
+ d="M20 19H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h3.629a1 1 0 0 1 .869.506l.846 1.488a1 1 0 0 0 .87.506H20a1 1 0 0 1 1 1V18a1 1 0 0 1-1 1ZM11 7.5H3"
16
+ />
17
+ </svg>
18
+ );
19
+
20
+ export default Folder;
@@ -0,0 +1,21 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Gift = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="#161517"
14
+ stroke="#161517"
15
+ strokeWidth={0.6}
16
+ d="M19.306 6.276h-3.704a2.52 2.52 0 0 0 .752-1.805C16.354 3.11 15.296 2 13.997 2c-.937 0-1.745.578-2.125 1.41-.386-.56-1.013-.928-1.722-.928-1.172 0-2.126 1-2.126 2.23 0 .61.234 1.161.612 1.564H4.694C3.76 6.276 3 7.073 3 8.053v1.285c0 .919.67 1.677 1.523 1.767v8.64c0 1.244.964 2.255 2.15 2.255h10.655c1.185 0 2.149-1.011 2.149-2.254v-8.641c.854-.09 1.523-.848 1.523-1.767V8.052c0-.979-.76-1.776-1.694-1.776Zm-7.03-1.805c0-.995.772-1.804 1.721-1.804.949 0 1.72.81 1.72 1.804 0 .996-.771 1.805-1.72 1.805h-1.72V4.471Zm-3.617.242c0-.862.669-1.564 1.49-1.564.823 0 1.492.702 1.492 1.564v1.563H10.15c-.822 0-1.49-.701-1.49-1.563ZM3.635 9.338V8.052c0-.611.475-1.11 1.058-1.11h5.457l1.532.001v3.504H4.693c-.583 0-1.058-.498-1.058-1.11ZM5.16 19.746v-8.632h6.523v10.22h-5.01c-.834 0-1.513-.713-1.513-1.588Zm13.682 0c0 .875-.679 1.588-1.514 1.588h-5.01v-10.22h6.525v8.632Zm1.523-10.408c0 .612-.474 1.11-1.057 1.11h-6.99V6.942h6.99c.583 0 1.058.498 1.058 1.11v1.285Z"
17
+ />
18
+ </svg>
19
+ );
20
+
21
+ export default Gift;
@@ -2,26 +2,26 @@ import { SVGAttributes } from "react";
2
2
 
3
3
  const HistoryIcon = (props: SVGAttributes<SVGElement>) => (
4
4
  <svg
5
- xmlns='http://www.w3.org/2000/svg'
6
- width='24'
7
- height='24'
8
- viewBox='0 0 24 24'
9
- fill='none'
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="24"
7
+ height="24"
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
10
  {...props}
11
11
  >
12
12
  <path
13
- stroke='currentColor'
14
- strokeLinecap='round'
15
- strokeLinejoin='round'
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
16
  strokeWidth={1.5}
17
- d='M12 4.997H4.997M12 4.997A8.003 8.003 0 1 1 3.997 13M7.998 1.996l-3 3.001M7.998 7.998l-3-3'
17
+ d="M12 4.997H4.997M12 4.997A8.003 8.003 0 1 1 3.997 13M7.998 1.996l-3 3.001M7.998 7.998l-3-3"
18
18
  />
19
19
  <path
20
- stroke='currentColor'
21
- strokeLinecap='round'
22
- strokeLinejoin='round'
20
+ stroke="#161517"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
23
  strokeWidth={1.5}
24
- d='M15.001 13.75h-3.81V9.834'
24
+ d="M15.001 13.75h-3.81V9.834"
25
25
  />
26
26
  </svg>
27
27
  );
@@ -0,0 +1,29 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Home = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="M4 8.6V21h16V8.6"
18
+ />
19
+ <path
20
+ stroke="#161517"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={1.5}
24
+ d="m2 10 10-7 10 7M15 21v-6a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v6"
25
+ />
26
+ </svg>
27
+ );
28
+
29
+ export default Home;
@@ -0,0 +1,22 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Http = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="M3 13.8v-3.6M5.88 10.2v3.6M5.88 12H3M10.92 10.2H8.04M9.48 10.2v3.6M18.12 10.2v3.6M15.96 10.2h-2.88M14.52 10.2v3.6M18.12 10.2h1.755c.621 0 1.125.504 1.125 1.125v0c0 .621-.504 1.125-1.125 1.125H18.12M3 7V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2"
18
+ />
19
+ </svg>
20
+ );
21
+
22
+ export default Http;
@@ -1,36 +1,39 @@
1
- import { Icon } from "../Icon/Icon";
1
+ import { Icon, ICONS_MAP } from "../Icon/Icon";
2
+ import Flags from "./Flags";
3
+ import Payments from './Payments'
2
4
  import { Meta, IconGallery, IconItem } from "@storybook/blocks";
3
5
  import { ThemeProvider } from "../../theme";
4
6
 
5
- <Meta title="Icons" />
7
+ <Meta title='Display/Icon/Icons' />
6
8
 
7
- # Icons
9
+ # Glyphs
8
10
 
9
- <ThemeProvider theme="light">
11
+ <ThemeProvider theme='light'>
10
12
  <IconGallery>
11
- <IconItem name="chat">
12
- <Icon name="chat" />
13
- </IconItem>
14
- <IconItem name="chevron-right">
15
- <Icon name="chevron-right" />
16
- </IconItem>
17
- <IconItem name="chevron-down">
18
- <Icon name="chevron-down" />
19
- </IconItem>
20
- <IconItem name="database">
21
- <Icon name="database" />
22
- </IconItem>
23
- <IconItem name="filter">
24
- <Icon name="filter" />
25
- </IconItem>
26
- <IconItem name="history">
27
- <Icon name="history" />
28
- </IconItem>
29
- <IconItem name="user">
30
- <Icon name="user" />
31
- </IconItem>
32
- <IconItem name="users">
33
- <Icon name="users" />
34
- </IconItem>
13
+ {Object.keys(ICONS_MAP).map((iconName) => (
14
+ <IconItem name={iconName}>
15
+ <Icon name={iconName} />
16
+ </IconItem>
17
+ ))}
35
18
  </IconGallery>
36
19
  </ThemeProvider>
20
+
21
+ # Flags
22
+
23
+ <IconGallery>
24
+ {["usa", "de", "sg", "uk", "ie", "eu", "in", "nl"].map((iconName) => (
25
+ <IconItem name={iconName}>
26
+ <Flags name={iconName} />
27
+ </IconItem>
28
+ ))}
29
+ </IconGallery>
30
+
31
+ # Payments
32
+
33
+ <IconGallery>
34
+ {["visa", "mastercard", "amex", "paypal"].map((iconName) => (
35
+ <IconItem name={iconName}>
36
+ <Payments name={iconName} />
37
+ </IconItem>
38
+ ))}
39
+ </IconGallery>
@@ -0,0 +1,37 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const InfoInCircleIcon = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="M11.999 8a.25.25 0 1 0 .002.5A.25.25 0 0 0 12 8"
18
+ />
19
+ <path
20
+ stroke="#161517"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={1.5}
24
+ d="M12 21v0a9 9 0 0 1-9-9v0a9 9 0 0 1 9-9v0a9 9 0 0 1 9 9v0a9 9 0 0 1-9 9Z"
25
+ clipRule="evenodd"
26
+ />
27
+ <path
28
+ stroke="#161517"
29
+ strokeLinecap="round"
30
+ strokeLinejoin="round"
31
+ strokeWidth={1.5}
32
+ d="M12 12v5"
33
+ />
34
+ </svg>
35
+ );
36
+
37
+ export default InfoInCircleIcon;
@@ -0,0 +1,34 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const InformationIcon = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M10.854 11.877h1.15v4.252M10.845 16.128h2.31"
17
+ />
18
+ <path
19
+ stroke="#161517"
20
+ strokeLinecap="round"
21
+ strokeLinejoin="round"
22
+ strokeWidth={1.5}
23
+ d="M11.946 7.872a.25.25 0 1 1-.25-.25"
24
+ />
25
+ <path
26
+ stroke="#161517"
27
+ strokeLinecap="round"
28
+ strokeLinejoin="round"
29
+ d="M11.695 8.623a.25.25 0 0 1 .25.25"
30
+ />
31
+ </svg>
32
+ );
33
+
34
+ export default InformationIcon;
@@ -1,36 +1,34 @@
1
1
  import { SVGAttributes } from "react";
2
2
 
3
- function InsertRowIcon(props: SVGAttributes<SVGElement>) {
4
- return (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width='24'
8
- height='24'
9
- viewBox='0 0 24 24'
10
- fill='none'
11
- {...props}
12
- >
13
- <path
14
- stroke='currentColor'
15
- strokeLinecap='round'
16
- strokeLinejoin='round'
17
- strokeWidth={1.5}
18
- d='M8 4h12M3 4h1M3 8h1M3 12h1M8 8h12M8 12h2'
19
- />
20
- <path
21
- stroke='currentColor'
22
- strokeWidth={1.5}
23
- d='M17 21a5 5 0 0 1-5-5c0-2.704 2.3-5.003 5.004-5A5 5 0 0 1 17 21'
24
- />
25
- <path
26
- stroke='currentColor'
27
- strokeLinecap='round'
28
- strokeLinejoin='round'
29
- strokeWidth={1.5}
30
- d='M17 14v4M19 16h-4'
31
- />
32
- </svg>
33
- );
34
- }
3
+ const InsertRowIcon = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="24"
7
+ height="24"
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="M8 4h12M3 4h1M3 8h1M3 12h1M8 8h12M8 12h2"
18
+ />
19
+ <path
20
+ stroke="#161517"
21
+ strokeWidth={1.5}
22
+ d="M17 21a5 5 0 0 1-5-5c0-2.704 2.3-5.003 5.004-5A5 5 0 0 1 17 21"
23
+ />
24
+ <path
25
+ stroke="#161517"
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
+ strokeWidth={1.5}
29
+ d="M17 14v4M19 16h-4"
30
+ />
31
+ </svg>
32
+ );
35
33
 
36
34
  export default InsertRowIcon;
@@ -0,0 +1,29 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Integrations = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="M10 9.056C9.094 7.818 7.652 7 6 7v0a5 5 0 0 0-5 5v0a5 5 0 0 0 5 5v0a5.299 5.299 0 0 0 4.543-2.572L12 12l1.457-2.428A5.299 5.299 0 0 1 18 7v0a5 5 0 0 1 5 5v0a5 5 0 0 1-5 5v0c-1.652 0-3.094-.818-4-2.056"
18
+ />
19
+ <path
20
+ stroke="#161517"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={1.5}
24
+ d="m9.93 6.028.521 2.954-2.954.52"
25
+ />
26
+ </svg>
27
+ );
28
+
29
+ export default Integrations;
@@ -0,0 +1,40 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const LightBulb = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="M10.249 15.502h3.502M11 18.003h2"
18
+ />
19
+ <rect
20
+ width={18.008}
21
+ height={18.008}
22
+ x={2.996}
23
+ y={2.997}
24
+ stroke="#161517"
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ strokeWidth={1.5}
28
+ rx={5}
29
+ />
30
+ <path
31
+ stroke="#161517"
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
+ strokeWidth={1.5}
35
+ d="M15.386 13.316a4.251 4.251 0 1 0-6.772 0"
36
+ />
37
+ </svg>
38
+ );
39
+
40
+ export default LightBulb;
@@ -0,0 +1,30 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Lightening = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <path
13
+ stroke="#161517"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ strokeWidth={1.5}
17
+ d="m13 8-3 3 4 2-3 3"
18
+ />
19
+ <path
20
+ stroke="#161517"
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth={1.5}
24
+ d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2Z"
25
+ clipRule="evenodd"
26
+ />
27
+ </svg>
28
+ );
29
+
30
+ export default Lightening;
@@ -0,0 +1,57 @@
1
+ import { SVGAttributes } from "react";
2
+ import styled, { keyframes } from "styled-components";
3
+
4
+ const spin = keyframes`
5
+ from {
6
+ transform: rotate(360deg);
7
+ }
8
+ to {
9
+ transform: rotate(0deg);
10
+ }
11
+ `;
12
+
13
+ const LoadingIcon = styled.svg`
14
+ animation: ${spin} 1s infinite linear;
15
+ `;
16
+
17
+ const Loading = (props: SVGAttributes<SVGElement>) => (
18
+ <LoadingIcon
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ width={24}
21
+ height={24}
22
+ viewBox="0 0 24 24"
23
+ fill="none"
24
+ {...props}
25
+ >
26
+ <path
27
+ stroke="#161517"
28
+ strokeLinecap="round"
29
+ strokeLinejoin="round"
30
+ strokeWidth={1.25}
31
+ d="M7.625 8.875H4.5V5.75"
32
+ />
33
+ <path
34
+ stroke="#161517"
35
+ strokeLinecap="round"
36
+ strokeLinejoin="round"
37
+ strokeWidth={1.5}
38
+ d="M19.5 12A7.495 7.495 0 0 0 5.188 8.875"
39
+ />
40
+ <path
41
+ stroke="#161517"
42
+ strokeLinecap="round"
43
+ strokeLinejoin="round"
44
+ strokeWidth={1.25}
45
+ d="M16.375 15.125H19.5v3.125"
46
+ />
47
+ <path
48
+ stroke="#161517"
49
+ strokeLinecap="round"
50
+ strokeLinejoin="round"
51
+ strokeWidth={1.5}
52
+ d="M4.5 12a7.495 7.495 0 0 0 14.312 3.125"
53
+ />
54
+ </LoadingIcon>
55
+ );
56
+
57
+ export default Loading;
@@ -0,0 +1,38 @@
1
+ import { SVGAttributes } from "react";
2
+
3
+ const Metrics = (props: SVGAttributes<SVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <circle
13
+ cx={19.503}
14
+ cy={4.497}
15
+ r={2.501}
16
+ stroke="#161517"
17
+ strokeLinecap="round"
18
+ strokeLinejoin="round"
19
+ strokeWidth={1.5}
20
+ />
21
+ <path
22
+ stroke="#161517"
23
+ strokeLinecap="round"
24
+ strokeLinejoin="round"
25
+ strokeWidth={1.5}
26
+ d="m16.002 10-2.72 3.626L9.999 11l-3.001 4.002"
27
+ />
28
+ <path
29
+ stroke="#161517"
30
+ strokeLinecap="round"
31
+ strokeLinejoin="round"
32
+ strokeWidth={1.5}
33
+ d="M21.004 10v7.002a4.002 4.002 0 0 1-4.002 4.002H6.998a4.002 4.002 0 0 1-4.002-4.002V6.998a4.002 4.002 0 0 1 4.002-4.001H14"
34
+ />
35
+ </svg>
36
+ );
37
+
38
+ export default Metrics;