@dktunited-techoff/techoff-suite-ui 0.9.1 → 0.9.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 (302) hide show
  1. package/package.json +1 -1
  2. package/src/components/Select/Select.types.ts +2 -2
  3. package/src/layouts/Header/Header.tsx +4 -1
  4. package/src/layouts/Header/Header.types.ts +5 -2
  5. package/src/layouts/Navigation/Navigation.tsx +4 -2
  6. package/src/layouts/Navigation/Navigation.types.ts +2 -2
  7. package/src/layouts/Navigation/__stories__/Navigation.stories.mdx +1 -1
  8. package/esm/assets/fonts/Montserrat-Medium.ttf +0 -0
  9. package/esm/assets/fonts/Roboto-Light.ttf +0 -0
  10. package/esm/components/Button/Button.css +0 -93
  11. package/esm/components/Button/Button.d.ts +0 -5
  12. package/esm/components/Button/Button.js +0 -17
  13. package/esm/components/Button/Button.js.map +0 -1
  14. package/esm/components/Button/Button.types.d.ts +0 -9
  15. package/esm/components/Button/Button.types.js +0 -2
  16. package/esm/components/Button/Button.types.js.map +0 -1
  17. package/esm/components/Button/__stories__/Button.stories.mdx +0 -74
  18. package/esm/components/Checkbox/Checkbox.css +0 -72
  19. package/esm/components/Checkbox/Checkbox.d.ts +0 -4
  20. package/esm/components/Checkbox/Checkbox.js +0 -18
  21. package/esm/components/Checkbox/Checkbox.js.map +0 -1
  22. package/esm/components/Checkbox/Checkbox.types.d.ts +0 -7
  23. package/esm/components/Checkbox/Checkbox.types.js +0 -2
  24. package/esm/components/Checkbox/Checkbox.types.js.map +0 -1
  25. package/esm/components/Checkbox/__stories__/Checkbox.stories.mdx +0 -56
  26. package/esm/components/Icon/Icon.css +0 -26
  27. package/esm/components/Icon/Icon.d.ts +0 -4
  28. package/esm/components/Icon/Icon.js +0 -12
  29. package/esm/components/Icon/Icon.js.map +0 -1
  30. package/esm/components/Icon/Icon.types.d.ts +0 -4
  31. package/esm/components/Icon/Icon.types.js +0 -2
  32. package/esm/components/Icon/Icon.types.js.map +0 -1
  33. package/esm/components/Icon/__stories__/Icon.stories.mdx +0 -89
  34. package/esm/components/Icon/icons/add-circle.svg +0 -1
  35. package/esm/components/Icon/icons/add.svg +0 -1
  36. package/esm/components/Icon/icons/alert-circle-filled.svg +0 -1
  37. package/esm/components/Icon/icons/alert-circle.svg +0 -1
  38. package/esm/components/Icon/icons/alert-triangle-filled.svg +0 -1
  39. package/esm/components/Icon/icons/alert-triangle.svg +0 -1
  40. package/esm/components/Icon/icons/arrow-diagonal-collapse.svg +0 -1
  41. package/esm/components/Icon/icons/arrow-diagonal-expand.svg +0 -1
  42. package/esm/components/Icon/icons/arrow-down.svg +0 -1
  43. package/esm/components/Icon/icons/arrow-go-back.svg +0 -1
  44. package/esm/components/Icon/icons/arrow-left-right.svg +0 -1
  45. package/esm/components/Icon/icons/arrow-left.svg +0 -1
  46. package/esm/components/Icon/icons/arrow-right.svg +0 -1
  47. package/esm/components/Icon/icons/arrow-up-down.svg +0 -1
  48. package/esm/components/Icon/icons/arrow-up.svg +0 -1
  49. package/esm/components/Icon/icons/check-circle-filled.svg +0 -1
  50. package/esm/components/Icon/icons/check-circle.svg +0 -1
  51. package/esm/components/Icon/icons/check-square-filled.svg +0 -1
  52. package/esm/components/Icon/icons/check-square.svg +0 -1
  53. package/esm/components/Icon/icons/check.svg +0 -1
  54. package/esm/components/Icon/icons/chevron-down.svg +0 -1
  55. package/esm/components/Icon/icons/chevron-left.svg +0 -1
  56. package/esm/components/Icon/icons/chevron-right.svg +0 -1
  57. package/esm/components/Icon/icons/chevron-up.svg +0 -1
  58. package/esm/components/Icon/icons/circle.svg +0 -1
  59. package/esm/components/Icon/icons/close-circle.svg +0 -1
  60. package/esm/components/Icon/icons/close.svg +0 -1
  61. package/esm/components/Icon/icons/currency-euro.svg +0 -1
  62. package/esm/components/Icon/icons/download.svg +0 -1
  63. package/esm/components/Icon/icons/edit.svg +0 -1
  64. package/esm/components/Icon/icons/external-link.svg +0 -1
  65. package/esm/components/Icon/icons/filter-off.svg +0 -1
  66. package/esm/components/Icon/icons/filter.svg +0 -1
  67. package/esm/components/Icon/icons/flashlight-off.svg +0 -1
  68. package/esm/components/Icon/icons/flashlight.svg +0 -1
  69. package/esm/components/Icon/icons/header-bikestudio.svg +0 -32
  70. package/esm/components/Icon/icons/header-nsc-helmet.svg +0 -32
  71. package/esm/components/Icon/icons/header-opticost.svg +0 -32
  72. package/esm/components/Icon/icons/header-repairability.svg +0 -32
  73. package/esm/components/Icon/icons/heart-filled.svg +0 -1
  74. package/esm/components/Icon/icons/heart.svg +0 -1
  75. package/esm/components/Icon/icons/home.svg +0 -1
  76. package/esm/components/Icon/icons/index.d.ts +0 -3
  77. package/esm/components/Icon/icons/index.js +0 -53
  78. package/esm/components/Icon/icons/index.js.map +0 -1
  79. package/esm/components/Icon/icons/index.ts +0 -52
  80. package/esm/components/Icon/icons/link.svg +0 -1
  81. package/esm/components/Icon/icons/list-settings.svg +0 -1
  82. package/esm/components/Icon/icons/lock.svg +0 -1
  83. package/esm/components/Icon/icons/save.svg +0 -1
  84. package/esm/components/Icon/icons/search.svg +0 -1
  85. package/esm/components/Icon/icons/square.svg +0 -1
  86. package/esm/components/Icon/icons/tools.svg +0 -1
  87. package/esm/components/Icon/icons/user.svg +0 -1
  88. package/esm/components/Inputs/BooleanInput/BooleanInput.css +0 -58
  89. package/esm/components/Inputs/BooleanInput/BooleanInput.d.ts +0 -4
  90. package/esm/components/Inputs/BooleanInput/BooleanInput.js +0 -13
  91. package/esm/components/Inputs/BooleanInput/BooleanInput.js.map +0 -1
  92. package/esm/components/Inputs/BooleanInput/BooleanInput.tsx +0 -24
  93. package/esm/components/Inputs/BooleanInput/BooleanInput.types.d.ts +0 -8
  94. package/esm/components/Inputs/BooleanInput/BooleanInput.types.js +0 -2
  95. package/esm/components/Inputs/BooleanInput/BooleanInput.types.js.map +0 -1
  96. package/esm/components/Inputs/BooleanInput/BooleanInput.types.ts +0 -8
  97. package/esm/components/Inputs/BooleanInput/__stories__/BooleanInput.stories.mdx +0 -53
  98. package/esm/components/Inputs/TextInput/TextInput.css +0 -58
  99. package/esm/components/Inputs/TextInput/TextInput.d.ts +0 -4
  100. package/esm/components/Inputs/TextInput/TextInput.js +0 -17
  101. package/esm/components/Inputs/TextInput/TextInput.js.map +0 -1
  102. package/esm/components/Inputs/TextInput/TextInput.tsx +0 -46
  103. package/esm/components/Inputs/TextInput/TextInput.types.d.ts +0 -12
  104. package/esm/components/Inputs/TextInput/TextInput.types.js +0 -2
  105. package/esm/components/Inputs/TextInput/TextInput.types.js.map +0 -1
  106. package/esm/components/Inputs/TextInput/TextInput.types.ts +0 -12
  107. package/esm/components/Inputs/TextInput/__stories__/TextInput.stories.mdx +0 -76
  108. package/esm/components/Loader/Loader.css +0 -42
  109. package/esm/components/Loader/Loader.d.ts +0 -4
  110. package/esm/components/Loader/Loader.js +0 -6
  111. package/esm/components/Loader/Loader.js.map +0 -1
  112. package/esm/components/Loader/Loader.types.d.ts +0 -3
  113. package/esm/components/Loader/Loader.types.js +0 -2
  114. package/esm/components/Loader/Loader.types.js.map +0 -1
  115. package/esm/components/Loader/__stories__/Loader.stories.mdx +0 -30
  116. package/esm/components/Select/Select.css +0 -30
  117. package/esm/components/Select/Select.d.ts +0 -4
  118. package/esm/components/Select/Select.js +0 -16
  119. package/esm/components/Select/Select.js.map +0 -1
  120. package/esm/components/Select/Select.types.d.ts +0 -6
  121. package/esm/components/Select/Select.types.js +0 -2
  122. package/esm/components/Select/Select.types.js.map +0 -1
  123. package/esm/components/Select/__stories__/Select.stories.mdx +0 -40
  124. package/esm/hooks/use-click-outside.d.ts +0 -2
  125. package/esm/hooks/use-click-outside.js +0 -14
  126. package/esm/hooks/use-click-outside.js.map +0 -1
  127. package/esm/index.d.ts +0 -9
  128. package/esm/index.js +0 -10
  129. package/esm/index.js.map +0 -1
  130. package/esm/layouts/Header/Header.css +0 -125
  131. package/esm/layouts/Header/Header.d.ts +0 -4
  132. package/esm/layouts/Header/Header.js +0 -13
  133. package/esm/layouts/Header/Header.js.map +0 -1
  134. package/esm/layouts/Header/Header.types.d.ts +0 -10
  135. package/esm/layouts/Header/Header.types.js +0 -2
  136. package/esm/layouts/Header/Header.types.js.map +0 -1
  137. package/esm/layouts/Header/HeaderProfile.d.ts +0 -3
  138. package/esm/layouts/Header/HeaderProfile.js +0 -35
  139. package/esm/layouts/Header/HeaderProfile.js.map +0 -1
  140. package/esm/layouts/Header/__stories__/Header.stories.mdx +0 -41
  141. package/esm/layouts/Navigation/Navigation.css +0 -74
  142. package/esm/layouts/Navigation/Navigation.d.ts +0 -6
  143. package/esm/layouts/Navigation/Navigation.js +0 -26
  144. package/esm/layouts/Navigation/Navigation.js.map +0 -1
  145. package/esm/layouts/Navigation/Navigation.types.d.ts +0 -10
  146. package/esm/layouts/Navigation/Navigation.types.js +0 -2
  147. package/esm/layouts/Navigation/Navigation.types.js.map +0 -1
  148. package/esm/layouts/Navigation/__stories__/Navigation.stories.mdx +0 -45
  149. package/esm/utils/string.utils.d.ts +0 -1
  150. package/esm/utils/string.utils.js +0 -2
  151. package/esm/utils/string.utils.js.map +0 -1
  152. package/esm/utils/validator.utils.d.ts +0 -2
  153. package/esm/utils/validator.utils.js +0 -5
  154. package/esm/utils/validator.utils.js.map +0 -1
  155. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  156. package/lib/assets/fonts/Roboto-Light.ttf +0 -0
  157. package/lib/components/Button/Button.css +0 -93
  158. package/lib/components/Button/Button.d.ts +0 -5
  159. package/lib/components/Button/Button.js +0 -21
  160. package/lib/components/Button/Button.js.map +0 -1
  161. package/lib/components/Button/Button.types.d.ts +0 -9
  162. package/lib/components/Button/Button.types.js +0 -3
  163. package/lib/components/Button/Button.types.js.map +0 -1
  164. package/lib/components/Button/__stories__/Button.stories.mdx +0 -74
  165. package/lib/components/Checkbox/Checkbox.css +0 -72
  166. package/lib/components/Checkbox/Checkbox.d.ts +0 -4
  167. package/lib/components/Checkbox/Checkbox.js +0 -22
  168. package/lib/components/Checkbox/Checkbox.js.map +0 -1
  169. package/lib/components/Checkbox/Checkbox.types.d.ts +0 -7
  170. package/lib/components/Checkbox/Checkbox.types.js +0 -3
  171. package/lib/components/Checkbox/Checkbox.types.js.map +0 -1
  172. package/lib/components/Checkbox/__stories__/Checkbox.stories.mdx +0 -56
  173. package/lib/components/Icon/Icon.css +0 -26
  174. package/lib/components/Icon/Icon.d.ts +0 -4
  175. package/lib/components/Icon/Icon.js +0 -16
  176. package/lib/components/Icon/Icon.js.map +0 -1
  177. package/lib/components/Icon/Icon.types.d.ts +0 -4
  178. package/lib/components/Icon/Icon.types.js +0 -3
  179. package/lib/components/Icon/Icon.types.js.map +0 -1
  180. package/lib/components/Icon/__stories__/Icon.stories.mdx +0 -89
  181. package/lib/components/Icon/icons/add-circle.svg +0 -1
  182. package/lib/components/Icon/icons/add.svg +0 -1
  183. package/lib/components/Icon/icons/alert-circle-filled.svg +0 -1
  184. package/lib/components/Icon/icons/alert-circle.svg +0 -1
  185. package/lib/components/Icon/icons/alert-triangle-filled.svg +0 -1
  186. package/lib/components/Icon/icons/alert-triangle.svg +0 -1
  187. package/lib/components/Icon/icons/arrow-diagonal-collapse.svg +0 -1
  188. package/lib/components/Icon/icons/arrow-diagonal-expand.svg +0 -1
  189. package/lib/components/Icon/icons/arrow-down.svg +0 -1
  190. package/lib/components/Icon/icons/arrow-go-back.svg +0 -1
  191. package/lib/components/Icon/icons/arrow-left-right.svg +0 -1
  192. package/lib/components/Icon/icons/arrow-left.svg +0 -1
  193. package/lib/components/Icon/icons/arrow-right.svg +0 -1
  194. package/lib/components/Icon/icons/arrow-up-down.svg +0 -1
  195. package/lib/components/Icon/icons/arrow-up.svg +0 -1
  196. package/lib/components/Icon/icons/check-circle-filled.svg +0 -1
  197. package/lib/components/Icon/icons/check-circle.svg +0 -1
  198. package/lib/components/Icon/icons/check-square-filled.svg +0 -1
  199. package/lib/components/Icon/icons/check-square.svg +0 -1
  200. package/lib/components/Icon/icons/check.svg +0 -1
  201. package/lib/components/Icon/icons/chevron-down.svg +0 -1
  202. package/lib/components/Icon/icons/chevron-left.svg +0 -1
  203. package/lib/components/Icon/icons/chevron-right.svg +0 -1
  204. package/lib/components/Icon/icons/chevron-up.svg +0 -1
  205. package/lib/components/Icon/icons/circle.svg +0 -1
  206. package/lib/components/Icon/icons/close-circle.svg +0 -1
  207. package/lib/components/Icon/icons/close.svg +0 -1
  208. package/lib/components/Icon/icons/currency-euro.svg +0 -1
  209. package/lib/components/Icon/icons/download.svg +0 -1
  210. package/lib/components/Icon/icons/edit.svg +0 -1
  211. package/lib/components/Icon/icons/external-link.svg +0 -1
  212. package/lib/components/Icon/icons/filter-off.svg +0 -1
  213. package/lib/components/Icon/icons/filter.svg +0 -1
  214. package/lib/components/Icon/icons/flashlight-off.svg +0 -1
  215. package/lib/components/Icon/icons/flashlight.svg +0 -1
  216. package/lib/components/Icon/icons/header-bikestudio.svg +0 -32
  217. package/lib/components/Icon/icons/header-nsc-helmet.svg +0 -32
  218. package/lib/components/Icon/icons/header-opticost.svg +0 -32
  219. package/lib/components/Icon/icons/header-repairability.svg +0 -32
  220. package/lib/components/Icon/icons/heart-filled.svg +0 -1
  221. package/lib/components/Icon/icons/heart.svg +0 -1
  222. package/lib/components/Icon/icons/home.svg +0 -1
  223. package/lib/components/Icon/icons/index.d.ts +0 -3
  224. package/lib/components/Icon/icons/index.js +0 -56
  225. package/lib/components/Icon/icons/index.js.map +0 -1
  226. package/lib/components/Icon/icons/index.ts +0 -52
  227. package/lib/components/Icon/icons/link.svg +0 -1
  228. package/lib/components/Icon/icons/list-settings.svg +0 -1
  229. package/lib/components/Icon/icons/lock.svg +0 -1
  230. package/lib/components/Icon/icons/save.svg +0 -1
  231. package/lib/components/Icon/icons/search.svg +0 -1
  232. package/lib/components/Icon/icons/square.svg +0 -1
  233. package/lib/components/Icon/icons/tools.svg +0 -1
  234. package/lib/components/Icon/icons/user.svg +0 -1
  235. package/lib/components/Inputs/BooleanInput/BooleanInput.css +0 -58
  236. package/lib/components/Inputs/BooleanInput/BooleanInput.d.ts +0 -4
  237. package/lib/components/Inputs/BooleanInput/BooleanInput.js +0 -17
  238. package/lib/components/Inputs/BooleanInput/BooleanInput.js.map +0 -1
  239. package/lib/components/Inputs/BooleanInput/BooleanInput.tsx +0 -24
  240. package/lib/components/Inputs/BooleanInput/BooleanInput.types.d.ts +0 -8
  241. package/lib/components/Inputs/BooleanInput/BooleanInput.types.js +0 -3
  242. package/lib/components/Inputs/BooleanInput/BooleanInput.types.js.map +0 -1
  243. package/lib/components/Inputs/BooleanInput/BooleanInput.types.ts +0 -8
  244. package/lib/components/Inputs/BooleanInput/__stories__/BooleanInput.stories.mdx +0 -53
  245. package/lib/components/Inputs/TextInput/TextInput.css +0 -58
  246. package/lib/components/Inputs/TextInput/TextInput.d.ts +0 -4
  247. package/lib/components/Inputs/TextInput/TextInput.js +0 -21
  248. package/lib/components/Inputs/TextInput/TextInput.js.map +0 -1
  249. package/lib/components/Inputs/TextInput/TextInput.tsx +0 -46
  250. package/lib/components/Inputs/TextInput/TextInput.types.d.ts +0 -12
  251. package/lib/components/Inputs/TextInput/TextInput.types.js +0 -3
  252. package/lib/components/Inputs/TextInput/TextInput.types.js.map +0 -1
  253. package/lib/components/Inputs/TextInput/TextInput.types.ts +0 -12
  254. package/lib/components/Inputs/TextInput/__stories__/TextInput.stories.mdx +0 -76
  255. package/lib/components/Loader/Loader.css +0 -42
  256. package/lib/components/Loader/Loader.d.ts +0 -4
  257. package/lib/components/Loader/Loader.js +0 -10
  258. package/lib/components/Loader/Loader.js.map +0 -1
  259. package/lib/components/Loader/Loader.types.d.ts +0 -3
  260. package/lib/components/Loader/Loader.types.js +0 -3
  261. package/lib/components/Loader/Loader.types.js.map +0 -1
  262. package/lib/components/Loader/__stories__/Loader.stories.mdx +0 -30
  263. package/lib/components/Select/Select.css +0 -30
  264. package/lib/components/Select/Select.d.ts +0 -4
  265. package/lib/components/Select/Select.js +0 -20
  266. package/lib/components/Select/Select.js.map +0 -1
  267. package/lib/components/Select/Select.types.d.ts +0 -6
  268. package/lib/components/Select/Select.types.js +0 -3
  269. package/lib/components/Select/Select.types.js.map +0 -1
  270. package/lib/components/Select/__stories__/Select.stories.mdx +0 -40
  271. package/lib/hooks/use-click-outside.d.ts +0 -2
  272. package/lib/hooks/use-click-outside.js +0 -18
  273. package/lib/hooks/use-click-outside.js.map +0 -1
  274. package/lib/index.d.ts +0 -9
  275. package/lib/index.js +0 -26
  276. package/lib/index.js.map +0 -1
  277. package/lib/layouts/Header/Header.css +0 -125
  278. package/lib/layouts/Header/Header.d.ts +0 -4
  279. package/lib/layouts/Header/Header.js +0 -17
  280. package/lib/layouts/Header/Header.js.map +0 -1
  281. package/lib/layouts/Header/Header.types.d.ts +0 -10
  282. package/lib/layouts/Header/Header.types.js +0 -3
  283. package/lib/layouts/Header/Header.types.js.map +0 -1
  284. package/lib/layouts/Header/HeaderProfile.d.ts +0 -3
  285. package/lib/layouts/Header/HeaderProfile.js +0 -39
  286. package/lib/layouts/Header/HeaderProfile.js.map +0 -1
  287. package/lib/layouts/Header/__stories__/Header.stories.mdx +0 -41
  288. package/lib/layouts/Navigation/Navigation.css +0 -74
  289. package/lib/layouts/Navigation/Navigation.d.ts +0 -6
  290. package/lib/layouts/Navigation/Navigation.js +0 -31
  291. package/lib/layouts/Navigation/Navigation.js.map +0 -1
  292. package/lib/layouts/Navigation/Navigation.types.d.ts +0 -10
  293. package/lib/layouts/Navigation/Navigation.types.js +0 -3
  294. package/lib/layouts/Navigation/Navigation.types.js.map +0 -1
  295. package/lib/layouts/Navigation/__stories__/Navigation.stories.mdx +0 -45
  296. package/lib/utils/string.utils.d.ts +0 -1
  297. package/lib/utils/string.utils.js +0 -6
  298. package/lib/utils/string.utils.js.map +0 -1
  299. package/lib/utils/validator.utils.d.ts +0 -2
  300. package/lib/utils/validator.utils.js +0 -9
  301. package/lib/utils/validator.utils.js.map +0 -1
  302. package/src/utils/validator.utils.ts +0 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dktunited-techoff/techoff-suite-ui",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "main": "lib/index.js",
5
5
  "types": "./lib",
6
6
  "module": "esm/index.js",
@@ -1,3 +1,3 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactElement } from 'react';
2
2
 
3
- export type SelectProps = { label?: string; options: ReactNode[]; onChange: (val: string) => void };
3
+ export type SelectProps = { label?: string; options: ReactElement[]; onChange: (val: string) => void };
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { cloneElement } from 'react';
2
3
  import { icons } from '../../components/Icon/icons';
3
4
  import { HeaderProps } from './Header.types';
4
5
  import './Header.css';
@@ -12,7 +13,9 @@ export const Header = ({ actions, appName }: HeaderProps) => {
12
13
  <div className="header-techoff" dangerouslySetInnerHTML={{ __html: icons[`header-${appName}`] }} />
13
14
  </div>
14
15
  <div>
15
- <div className="header-actions">{actions}</div>
16
+ <div className="header-actions">
17
+ {actions.map((action, index) => cloneElement(action, { key: index, ...action.props }))}
18
+ </div>
16
19
  </div>
17
20
  </header>
18
21
  );
@@ -1,4 +1,7 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactElement } from 'react';
2
2
 
3
- export type HeaderProps = { actions: ReactNode[]; appName: 'bikestudio' | 'nsc-helmet' | 'opticost' | 'repairability' };
3
+ export type HeaderProps = {
4
+ actions: ReactElement[];
5
+ appName: 'bikestudio' | 'nsc-helmet' | 'opticost' | 'repairability';
6
+ };
4
7
  export type HeaderProfileProps = { firstname: string; lastname: string; supportLink?: string };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
2
+ import { cloneElement, PropsWithChildren } from 'react';
3
3
  import { Icon } from '../../components/Icon/Icon';
4
4
  import { NavigationBreadcrumbItemProps, NavigationProps } from './Navigation.types';
5
5
  import './Navigation.css';
@@ -50,7 +50,9 @@ export const Navigation = ({ actions, breadcrumbs }: NavigationProps) => {
50
50
  ))}
51
51
  </div>
52
52
  <div className="navigation-divider" />
53
- <div className="navigation-actions">{actions}</div>
53
+ <div className="navigation-actions">
54
+ {actions.map((action, index) => cloneElement(action, { key: index, ...action.props }))}
55
+ </div>
54
56
  </div>
55
57
  );
56
58
  };
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactElement } from 'react';
2
2
 
3
- export type NavigationProps = { actions: ReactNode[]; breadcrumbs: ReactNode[] };
3
+ export type NavigationProps = { actions?: ReactElement[]; breadcrumbs: ReactElement[] };
4
4
  export type NavigationBreadcrumbItemProps = { icon?: string; highlight?: boolean; onClick?: () => void };
@@ -20,7 +20,7 @@ Breadcrumbs are an important navigation component that shows content hierarchy.
20
20
  <Button icon="check" onClick={() => {}}>
21
21
  Action 1
22
22
  </Button>,
23
- <Button icon="plus" onClick={() => {}}>
23
+ <Button icon="add" onClick={() => {}}>
24
24
  Action 2
25
25
  </Button>,
26
26
  ],
Binary file
@@ -1,93 +0,0 @@
1
- .button {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- border: none;
6
- border-radius: 6px;
7
- font-size: 14px;
8
- line-height: 16px;
9
- font-weight: 500;
10
- cursor: pointer;
11
- transition: all ease 0.3s;
12
- }
13
- .button > div {
14
- margin-right: 8px;
15
- }
16
- .button > div:last-child {
17
- margin-right: 0px;
18
- }
19
- /* ####### */
20
- /* BLOCK */
21
- .button--block {
22
- width: 100%;
23
- }
24
- /* ####### */
25
- /* SIZES */
26
- .button--md {
27
- height: 32px;
28
- padding: 0 14px;
29
- }
30
- .button--md.button--icon-only {
31
- width: 32px;
32
- padding: 0;
33
- }
34
- .button--lg {
35
- height: 40px;
36
- padding: 0 16px;
37
- }
38
- .button--lg.button--icon-only {
39
- width: 40px;
40
- padding: 0;
41
- }
42
- /* ########## */
43
- /* VARIANTS */
44
- .button--primary {
45
- background: #007dbc;
46
- color: #ffffff;
47
- }
48
- .button--primary:hover {
49
- background: #00689d;
50
- }
51
- .button--secondary {
52
- background: #e7f3f9;
53
- color: #007dbc;
54
- }
55
- .button--secondary:hover {
56
- background: #bedeef;
57
- }
58
- .button--success {
59
- background: #02be8a;
60
- color: #ffffff;
61
- }
62
- .button--success:hover {
63
- background: #029e73;
64
- color: #ffffff;
65
- }
66
- .button--ghost {
67
- background: #ffffff;
68
- color: #1d1d1b;
69
- font-weight: 400;
70
- }
71
- .button--ghost:hover {
72
- background: #e7f3f9;
73
- }
74
- .button--shadow {
75
- box-shadow: 0px 12px 12px 0px #00537d1a;
76
- background: #ffffff;
77
- color: #4e5d6b;
78
- }
79
- /* ######### */
80
- /* ROUNDED */
81
- .button--rounded {
82
- border-radius: 9999px;
83
- }
84
-
85
- /* ######### */
86
- /* GLOBALS */
87
- * {
88
- font-size: 14px;
89
- outline: none;
90
- box-sizing: border-box;
91
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
92
- 'Helvetica Neue', sans-serif;
93
- }
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { ButtonProps } from './Button.types';
4
- import './Button.css';
5
- export declare const Button: ({ children, icon, iconDirection, size, variant, block, rounded, onClick, }: PropsWithChildren<ButtonProps>) => React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- import { Icon } from '../Icon/Icon';
3
- import './Button.css';
4
- export const Button = ({ children, icon, iconDirection = 'left', size = 'md', variant = 'primary', block, rounded, onClick, }) => {
5
- // #########
6
- // Rendering
7
- return (React.createElement("button", { className: `
8
- button button--${size} button--${variant}
9
- ${block ? 'button--block' : ''}
10
- ${rounded ? 'button--rounded' : ''}
11
- ${icon && !children ? 'button--icon-only' : ''}
12
- `, onClick: onClick },
13
- icon && iconDirection === 'left' && React.createElement(Icon, { name: icon, size: "16" }),
14
- children && React.createElement("div", null, children),
15
- icon && iconDirection === 'right' && React.createElement(Icon, { name: icon, size: "16" })));
16
- };
17
- //# sourceMappingURL=Button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,QAAQ,EACR,IAAI,EACJ,aAAa,GAAG,MAAM,EACtB,IAAI,GAAG,IAAI,EACX,OAAO,GAAG,SAAS,EACnB,KAAK,EACL,OAAO,EACP,OAAO,GACwB,EAAE,EAAE;IACnC,YAAY;IACZ,YAAY;IACZ,OAAO,CACL,gCACE,SAAS,EAAE;yBACQ,IAAI,YAAY,OAAO;UACtC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE;UAC5B,OAAO,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE;UAChC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE;OAC/C,EACD,OAAO,EAAE,OAAO;QAEf,IAAI,IAAI,aAAa,KAAK,MAAM,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG;QAClE,QAAQ,IAAI,iCAAM,QAAQ,CAAO;QACjC,IAAI,IAAI,aAAa,KAAK,OAAO,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,CAC7D,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- export type ButtonProps = {
2
- icon?: string;
3
- iconDirection?: 'left' | 'right';
4
- size?: 'md' | 'lg';
5
- variant?: 'primary' | 'secondary' | 'success' | 'ghost' | 'shadow';
6
- block?: boolean;
7
- rounded?: boolean;
8
- onClick: () => void;
9
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Button.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.types.js","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":""}
@@ -1,74 +0,0 @@
1
- import React from 'react';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
3
- import { Button } from '../Button';
4
- import { icons } from '../../Icon/icons';
5
-
6
- <Meta title="Components/Button" />
7
-
8
- export const buttonArgTypes = {
9
- children: {
10
- control: 'text',
11
- description: 'Child of the button.',
12
- },
13
- icon: {
14
- control: 'select',
15
- options: Object.keys(icons),
16
- description: 'Icon of the button.',
17
- },
18
- iconDirection: {
19
- control: 'inline-radio',
20
- options: ['left', 'right'],
21
- description: 'Define the direction of the icon.',
22
- table: { defaultValue: { summary: 'left' } },
23
- },
24
- size: {
25
- control: 'inline-radio',
26
- options: ['md', 'lg'],
27
- description: 'Define the size of the button.',
28
- table: { defaultValue: { summary: 'md' } },
29
- },
30
- variant: {
31
- control: 'inline-radio',
32
- options: ['primary', 'secondary', 'success', 'ghost', 'shadow'],
33
- description: "Variant of the button defining it's color and outline.",
34
- table: { defaultValue: { summary: 'primary' } },
35
- },
36
- block: {
37
- control: 'boolean',
38
- description: 'Define if the button is full width',
39
- table: { defaultValue: { summary: 'false' } },
40
- },
41
- rounded: {
42
- control: 'boolean',
43
- description: 'Define if the button has its corner full rounded',
44
- table: { defaultValue: { summary: 'false' } },
45
- },
46
- };
47
-
48
- # Button
49
-
50
- Buttons express what action will occur when the users clicks. Buttons are used to initialize an action, either in the background or foreground of an experience.
51
-
52
- ## Overview
53
-
54
- <Canvas>
55
- <Story
56
- name="Overview"
57
- args={{
58
- children: 'Button',
59
- iconDirection: 'left',
60
- size: 'md',
61
- variant: 'primary',
62
- block: false,
63
- rounded: false,
64
- onClick: () => {},
65
- }}
66
- argTypes={buttonArgTypes}
67
- >
68
- {args => <Button {...args}>{args.children}</Button>}
69
- </Story>
70
- </Canvas>
71
-
72
- ## Props
73
-
74
- <ArgsTable story="Overview" of={Button} />
@@ -1,72 +0,0 @@
1
- .checkbox {
2
- display: flex;
3
- align-items: center;
4
- cursor: pointer;
5
- }
6
- /* ########## */
7
- /* DISABLED */
8
- .checkbox--disabled {
9
- cursor: not-allowed;
10
- }
11
- .checkbox--disabled .checkbox-box {
12
- color: #999999;
13
- }
14
- .checkbox--disabled:hover .checkbox-box {
15
- background: transparent;
16
- }
17
- /* ##### */
18
- /* BOX */
19
- .checkbox:hover .checkbox-box {
20
- background: #e7f3f9;
21
- }
22
- .checkbox-box {
23
- position: relative;
24
- display: flex;
25
- align-items: center;
26
- justify-content: center;
27
- width: 24px;
28
- height: 24px;
29
- border-radius: 6px;
30
- color: #007dbc;
31
- transition: all ease 0.3s;
32
- }
33
- .checkbox-box::before {
34
- content: '';
35
- position: absolute;
36
- width: 16px;
37
- height: 16px;
38
- border-radius: 6px;
39
- background: #ffffff;
40
- z-index: 10;
41
- }
42
- .checkbox-box .icon {
43
- z-index: 20;
44
- }
45
-
46
- /* ################# */
47
- /* LABEL / CAPTION */
48
- .checkbox-container {
49
- width: 100%;
50
- margin-left: 4px;
51
- padding: 4px 8px;
52
- border-radius: 6px;
53
- }
54
- .checkbox-container--with-caption .checkbox-label {
55
- color: #007dbc;
56
- font-weight: 700;
57
- }
58
- .checkbox-caption {
59
- color: #404040;
60
- font-size: 12px;
61
- font-style: italic;
62
- }
63
-
64
- /* ######### */
65
- /* GLOBALS */
66
- * {
67
- font-size: 14px;
68
- outline: none;
69
- box-sizing: border-box;
70
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
71
- 'Helvetica Neue', sans-serif;
72
- }
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { CheckboxProps } from './Checkbox.types';
3
- import './Checkbox.css';
4
- export declare const Checkbox: ({ caption, label, checked, disabled, onChange }: CheckboxProps) => React.JSX.Element;
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import { Icon } from '../Icon/Icon';
3
- import './Checkbox.css';
4
- export const Checkbox = ({ caption, label, checked, disabled, onChange }) => {
5
- // ########
6
- // Handlers
7
- const handleChange = () => !disabled && onChange(!checked);
8
- // #########
9
- // Rendering
10
- return (React.createElement("div", { className: `checkbox ${disabled ? 'checkbox--disabled' : ''}`, onClick: handleChange },
11
- React.createElement("div", { className: "checkbox-box" },
12
- checked && React.createElement(Icon, { name: "check-square-filled" }),
13
- !checked && React.createElement(Icon, { name: "square" })),
14
- React.createElement("div", { className: `checkbox-container ${caption ? 'checkbox-container--with-caption' : ''}` },
15
- React.createElement("div", { className: "checkbox-label" }, label),
16
- caption && React.createElement("div", { className: "checkbox-caption" }, caption))));
17
- };
18
- //# sourceMappingURL=Checkbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAiB,EAAE,EAAE;IACzF,WAAW;IACX,WAAW;IACX,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;IAE3D,YAAY;IACZ,YAAY;IACZ,OAAO,CACL,6BAAK,SAAS,EAAE,YAAY,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,YAAY;QACvF,6BAAK,SAAS,EAAC,cAAc;YAC1B,OAAO,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAC,qBAAqB,GAAG;YAC9C,CAAC,OAAO,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,GAAG,CAC/B;QAEN,6BAAK,SAAS,EAAE,sBAAsB,OAAO,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE,EAAE;YACvF,6BAAK,SAAS,EAAC,gBAAgB,IAAE,KAAK,CAAO;YAC5C,OAAO,IAAI,6BAAK,SAAS,EAAC,kBAAkB,IAAE,OAAO,CAAO,CACzD,CACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- export type CheckboxProps = {
2
- caption?: string;
3
- label: string;
4
- checked?: boolean;
5
- disabled?: boolean;
6
- onChange: (value: boolean) => void;
7
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Checkbox.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.types.js","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.types.ts"],"names":[],"mappings":""}
@@ -1,56 +0,0 @@
1
- import React from 'react';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
3
- import { Checkbox } from '../Checkbox';
4
-
5
- <Meta title="Components/Checkbox" />
6
-
7
- export const checkboxArgTypes = {
8
- caption: {
9
- control: 'text',
10
- description: 'Caption of the checkbox.',
11
- },
12
- label: {
13
- control: 'text',
14
- description: 'Label of the checkbox.',
15
- },
16
- checked: {
17
- control: 'boolean',
18
- description: 'State of the checkbox.',
19
- table: { defaultValue: { summary: 'false' } },
20
- },
21
- disabled: {
22
- control: 'boolean',
23
- description: 'Enable state of the checkbox.',
24
- table: { defaultValue: { summary: 'false' } },
25
- },
26
- onChange: {
27
- control: 'function',
28
- description: 'The handler called when clicking on the checkbox.',
29
- },
30
- };
31
-
32
- # Checkbox
33
-
34
- Checkboxes are applied when users can select all, several, or none of the options from a given list.
35
-
36
- ## Overview
37
-
38
- <Canvas>
39
- <Story
40
- name="Overview"
41
- args={{
42
- label: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',
43
- caption:
44
- 'Auctor nisl justo, sed posuere est dignissim nec. Integer ultricies, metus ac imperdiet ullamcorper, est justo viverra nisl, in posuere dui urna eget quam.',
45
- checked: false,
46
- disabled: false,
47
- }}
48
- argTypes={checkboxArgTypes}
49
- >
50
- {args => <Checkbox {...args}>{args.children}</Checkbox>}
51
- </Story>
52
- </Canvas>
53
-
54
- ## Props
55
-
56
- <ArgsTable story="Overview" of={Checkbox} />
@@ -1,26 +0,0 @@
1
- .icon--16 {
2
- width: 16px;
3
- height: 16px;
4
- }
5
- .icon--20 {
6
- width: 20px;
7
- height: 20px;
8
- }
9
- .icon--24 {
10
- width: 24px;
11
- height: 24px;
12
- }
13
- .icon svg {
14
- width: 100%;
15
- height: 100%;
16
- }
17
-
18
- /* ######### */
19
- /* GLOBALS */
20
- * {
21
- font-size: 14px;
22
- outline: none;
23
- box-sizing: border-box;
24
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
25
- 'Helvetica Neue', sans-serif;
26
- }
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { IconProps } from './Icon.types';
3
- import './Icon.css';
4
- export declare const Icon: ({ name, size }: IconProps) => React.JSX.Element;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import { icons } from './icons';
3
- import './Icon.css';
4
- export const Icon = ({ name, size = '20' }) => {
5
- const icon = icons[name];
6
- // #########
7
- // Rendering
8
- if (!icon)
9
- return React.createElement(React.Fragment, null);
10
- return React.createElement("div", { className: `icon icon--${size}`, dangerouslySetInnerHTML: { __html: icon } });
11
- };
12
- //# sourceMappingURL=Icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,YAAY,CAAC;AAEpB,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,EAAa,EAAE,EAAE;IACvD,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAEzB,YAAY;IACZ,YAAY;IACZ,IAAI,CAAC,IAAI;QAAE,OAAO,yCAAK,CAAC;IACxB,OAAO,6BAAK,SAAS,EAAE,cAAc,IAAI,EAAE,EAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAI,CAAC;AAC7F,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- export type IconProps = {
2
- name: string;
3
- size?: '16' | '20' | '24';
4
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Icon.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.types.js","sourceRoot":"","sources":["../../../src/components/Icon/Icon.types.ts"],"names":[],"mappings":""}
@@ -1,89 +0,0 @@
1
- import React from 'react';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
3
- import { Icon } from '../Icon';
4
- import { icons } from '../icons';
5
-
6
- <Meta title="Guidelines/Iconography" />
7
-
8
- <style>
9
- {`
10
- .icons {
11
- display: flex;
12
- flex-wrap: wrap;
13
- margin-top: 20px;
14
- }
15
- .icon-container {
16
- display: flex;
17
- flex-direction: column;
18
- width: 140px;
19
- height: 110px;
20
- margin: 0 10px 10px 0;
21
- box-shadow: rgba(0, 0, 0, 0.10) 0 1px 3px 0;
22
- border: 1px solid hsla(203, 50%, 30%, 0.15);
23
- border-radius: 5px;
24
- color: #27272a;
25
- overflow: hidden;
26
- }
27
- .icon {
28
- display: flex;
29
- flex: 1;
30
- align-items: center;
31
- justify-content: center;
32
- }
33
- .icon-label {
34
- display: flex;
35
- align-items: center;
36
- justify-content: center;
37
- height: 30px;
38
- border-top: 1px solid hsla(203, 50%, 30%, 0.15);
39
- background: #fafafa;
40
- text-align: center;
41
- font-size: 13px;
42
- }
43
- `}
44
- </style>
45
-
46
- export const iconArgTypes = {
47
- name: {
48
- control: 'select',
49
- options: Object.keys(icons),
50
- description: 'Name of an icon.',
51
- },
52
- size: {
53
- control: 'inline-radio',
54
- options: ['16', '20', '24'],
55
- description: 'Define the size of an icon.',
56
- table: { defaultValue: { summary: '20' } },
57
- },
58
- };
59
-
60
- # Iconography
61
-
62
- Icons are visual symbols used to represent ideas, objects or actions. They communicate messages at a glance, allow interactivity and draw attention to important information.
63
-
64
- ## Overview
65
-
66
- <Canvas>
67
- <Story name="Overview" args={{ name: 'heart', size: '20' }} argTypes={iconArgTypes}>
68
- {args => <Icon {...args} />}
69
- </Story>
70
- </Canvas>
71
-
72
- ## Props
73
-
74
- <ArgsTable story="Overview" of={Icon} />
75
-
76
- ## Icons
77
-
78
- <div className="icons">
79
- {Object.keys(icons)
80
- .filter(icon => !icon.startsWith('header-'))
81
- .map(icon => (
82
- <div className="icon-container" key={icon}>
83
- <div className="icon">
84
- <Icon name={icon} />
85
- </div>
86
- <div className="icon-label">{icon}</div>
87
- </div>
88
- ))}
89
- </div>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 11V7H13V11H17V13H13V17H11V13H7V11H11ZM12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 15V17H13V15H11ZM11 7V13H13V7H11Z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM4.20568 19.0002H19.7941L11.9999 5.50017L4.20568 19.0002ZM10.9999 16.0002H12.9999V18.0002H10.9999V16.0002ZM10.9999 9.00017H12.9999V14.0002H10.9999V9.00017Z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 4.00008H13V11.0001H20V9.00008H16.4142L20.7071 4.70718L19.2929 3.29297L15 7.58586V4.00008ZM4.00008 15H7.58586L3.29297 19.2929L4.70718 20.7071L9.00008 16.4142V20H11.0001V13H4.00008V15Z"></path></svg>