norma-library 0.4.3 → 0.4.5

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 (319) hide show
  1. package/.babelrc.json +18 -0
  2. package/buildcache/front-end +1 -0
  3. package/dist/esm/components/Accordion.d.ts +3 -0
  4. package/dist/esm/components/Accordion.js +24 -0
  5. package/dist/esm/components/Accordion.js.map +1 -0
  6. package/dist/esm/components/Button.d.ts +3 -0
  7. package/dist/esm/components/Button.js +22 -0
  8. package/dist/esm/components/Button.js.map +1 -0
  9. package/dist/esm/components/Card.d.ts +7 -0
  10. package/dist/esm/components/Card.js +31 -0
  11. package/dist/esm/components/Card.js.map +1 -0
  12. package/dist/esm/components/CheckBox.d.ts +3 -0
  13. package/dist/esm/components/CheckBox.js +13 -0
  14. package/dist/esm/components/CheckBox.js.map +1 -0
  15. package/dist/esm/components/DropDown.d.ts +3 -0
  16. package/dist/esm/components/DropDown.js +17 -0
  17. package/dist/esm/components/DropDown.js.map +1 -0
  18. package/dist/esm/components/IconButton.d.ts +3 -0
  19. package/dist/esm/components/IconButton.js +31 -0
  20. package/dist/esm/components/IconButton.js.map +1 -0
  21. package/dist/esm/components/Icons.d.ts +7 -0
  22. package/dist/esm/components/Icons.js +49 -0
  23. package/dist/esm/components/Icons.js.map +1 -0
  24. package/dist/esm/components/Modal.d.ts +4 -0
  25. package/dist/esm/components/Modal.js +32 -0
  26. package/dist/esm/components/Modal.js.map +1 -0
  27. package/dist/esm/components/Paper.d.ts +3 -0
  28. package/dist/esm/components/Paper.js +14 -0
  29. package/dist/esm/components/Paper.js.map +1 -0
  30. package/dist/esm/components/ProgressBar.d.ts +6 -0
  31. package/dist/esm/components/ProgressBar.js +31 -0
  32. package/dist/esm/components/ProgressBar.js.map +1 -0
  33. package/dist/esm/components/RadioGroup.d.ts +3 -0
  34. package/dist/esm/components/RadioGroup.js +18 -0
  35. package/dist/esm/components/RadioGroup.js.map +1 -0
  36. package/dist/esm/components/RangerSlider.d.ts +3 -0
  37. package/dist/esm/components/RangerSlider.js +64 -0
  38. package/dist/esm/components/RangerSlider.js.map +1 -0
  39. package/dist/esm/components/Select.d.ts +3 -0
  40. package/dist/esm/components/Select.js +45 -0
  41. package/dist/esm/components/Select.js.map +1 -0
  42. package/dist/{components/icon/norma.d.ts → esm/components/Svgs.d.ts} +29 -30
  43. package/dist/esm/components/Svgs.js +102 -0
  44. package/dist/esm/components/Svgs.js.map +1 -0
  45. package/dist/esm/components/Tabs.d.ts +3 -0
  46. package/dist/esm/components/Tabs.js +78 -0
  47. package/dist/esm/components/Tabs.js.map +1 -0
  48. package/dist/esm/components/Tag.d.ts +3 -0
  49. package/dist/esm/components/Tag.js +27 -0
  50. package/dist/esm/components/Tag.js.map +1 -0
  51. package/dist/esm/components/TextField.d.ts +3 -0
  52. package/dist/esm/components/TextField.js +18 -0
  53. package/dist/esm/components/TextField.js.map +1 -0
  54. package/dist/esm/components/button/index.d.ts +3 -0
  55. package/dist/esm/components/button/index.js +22 -0
  56. package/dist/esm/components/button/index.js.map +1 -0
  57. package/dist/esm/components/checkbox/index.d.ts +3 -0
  58. package/dist/esm/components/checkbox/index.js +13 -0
  59. package/dist/esm/components/checkbox/index.js.map +1 -0
  60. package/dist/esm/components/icons/index.d.ts +7 -0
  61. package/dist/esm/components/icons/index.js +49 -0
  62. package/dist/esm/components/icons/index.js.map +1 -0
  63. package/dist/esm/components/icons/svgs.d.ts +29 -0
  64. package/dist/esm/components/icons/svgs.js +102 -0
  65. package/dist/esm/components/icons/svgs.js.map +1 -0
  66. package/dist/esm/components/index.d.ts +16 -0
  67. package/dist/esm/components/index.js +17 -0
  68. package/dist/esm/components/index.js.map +1 -0
  69. package/dist/esm/components/textfield/index.d.ts +3 -0
  70. package/dist/esm/components/textfield/index.js +18 -0
  71. package/dist/esm/components/textfield/index.js.map +1 -0
  72. package/dist/esm/helpers/alignments.d.ts +2 -0
  73. package/dist/esm/helpers/alignments.js +14 -0
  74. package/dist/esm/helpers/alignments.js.map +1 -0
  75. package/dist/esm/helpers/borders.d.ts +2 -0
  76. package/dist/esm/helpers/borders.js +18 -0
  77. package/dist/esm/helpers/borders.js.map +1 -0
  78. package/dist/{helpers → esm/helpers}/colors.d.ts +172 -174
  79. package/dist/esm/helpers/colors.js +156 -0
  80. package/dist/esm/helpers/colors.js.map +1 -0
  81. package/dist/esm/helpers/index.d.ts +5 -0
  82. package/dist/esm/helpers/index.js +6 -0
  83. package/dist/esm/helpers/index.js.map +1 -0
  84. package/dist/esm/helpers/radios.d.ts +2 -0
  85. package/dist/esm/helpers/radios.js +24 -0
  86. package/dist/esm/helpers/radios.js.map +1 -0
  87. package/dist/esm/helpers/sizes.d.ts +11 -0
  88. package/dist/esm/helpers/sizes.js +67 -0
  89. package/dist/esm/helpers/sizes.js.map +1 -0
  90. package/dist/esm/index.d.ts +17 -0
  91. package/dist/esm/index.js +18 -0
  92. package/dist/esm/index.js.map +1 -0
  93. package/dist/esm/interfaces/Accordion.d.ts +12 -0
  94. package/dist/esm/interfaces/Accordion.js +2 -0
  95. package/dist/esm/interfaces/Accordion.js.map +1 -0
  96. package/dist/esm/interfaces/Button.d.ts +14 -0
  97. package/dist/esm/interfaces/Button.js +2 -0
  98. package/dist/esm/interfaces/Button.js.map +1 -0
  99. package/dist/esm/interfaces/Card.d.ts +11 -0
  100. package/dist/esm/interfaces/Card.js +2 -0
  101. package/dist/esm/interfaces/Card.js.map +1 -0
  102. package/dist/esm/interfaces/CheckBox.d.ts +19 -0
  103. package/dist/esm/interfaces/CheckBox.js +2 -0
  104. package/dist/esm/interfaces/CheckBox.js.map +1 -0
  105. package/dist/esm/interfaces/DropDown.d.ts +11 -0
  106. package/dist/esm/interfaces/DropDown.js +2 -0
  107. package/dist/esm/interfaces/DropDown.js.map +1 -0
  108. package/dist/esm/interfaces/Icon.d.ts +15 -0
  109. package/dist/esm/interfaces/Icon.js +2 -0
  110. package/dist/esm/interfaces/Icon.js.map +1 -0
  111. package/dist/esm/interfaces/IconButton.d.ts +14 -0
  112. package/dist/esm/interfaces/IconButton.js +2 -0
  113. package/dist/esm/interfaces/IconButton.js.map +1 -0
  114. package/dist/esm/interfaces/Icons.d.ts +15 -0
  115. package/dist/esm/interfaces/Icons.js +2 -0
  116. package/dist/esm/interfaces/Icons.js.map +1 -0
  117. package/dist/esm/interfaces/Modal.d.ts +15 -0
  118. package/dist/esm/interfaces/Modal.js +2 -0
  119. package/dist/esm/interfaces/Modal.js.map +1 -0
  120. package/dist/esm/interfaces/Paper.d.ts +12 -0
  121. package/dist/esm/interfaces/Paper.js +2 -0
  122. package/dist/esm/interfaces/Paper.js.map +1 -0
  123. package/dist/esm/interfaces/ProgressBar.d.ts +17 -0
  124. package/dist/esm/interfaces/ProgressBar.js +2 -0
  125. package/dist/esm/interfaces/ProgressBar.js.map +1 -0
  126. package/dist/esm/interfaces/RadioGroup.d.ts +15 -0
  127. package/dist/esm/interfaces/RadioGroup.js +2 -0
  128. package/dist/esm/interfaces/RadioGroup.js.map +1 -0
  129. package/dist/esm/interfaces/RangerSlider.d.ts +18 -0
  130. package/dist/esm/interfaces/RangerSlider.js +2 -0
  131. package/dist/esm/interfaces/RangerSlider.js.map +1 -0
  132. package/dist/esm/interfaces/Select.d.ts +17 -0
  133. package/dist/esm/interfaces/Select.js +2 -0
  134. package/dist/esm/interfaces/Select.js.map +1 -0
  135. package/dist/esm/interfaces/Tabs.d.ts +18 -0
  136. package/dist/esm/interfaces/Tabs.js +2 -0
  137. package/dist/esm/interfaces/Tabs.js.map +1 -0
  138. package/dist/esm/interfaces/Tag.d.ts +18 -0
  139. package/dist/esm/interfaces/Tag.js +2 -0
  140. package/dist/esm/interfaces/Tag.js.map +1 -0
  141. package/dist/esm/interfaces/TextField.d.ts +40 -0
  142. package/dist/esm/interfaces/TextField.js +2 -0
  143. package/dist/esm/interfaces/TextField.js.map +1 -0
  144. package/dist/esm/interfaces/index.d.ts +17 -0
  145. package/dist/esm/interfaces/index.js +18 -0
  146. package/dist/esm/interfaces/index.js.map +1 -0
  147. package/dist/esm/types/index.d.ts +78 -0
  148. package/dist/esm/types/index.js +10 -0
  149. package/dist/esm/types/index.js.map +1 -0
  150. package/dist/index.css +8363 -0
  151. package/norma-library.tar +0 -0
  152. package/package.json +75 -90
  153. package/postcss.config.js +6 -0
  154. package/src/components/Accordion.tsx +64 -0
  155. package/src/components/Button.tsx +38 -0
  156. package/src/components/Card.tsx +47 -0
  157. package/src/components/CheckBox.tsx +35 -0
  158. package/src/components/DropDown.tsx +38 -0
  159. package/src/components/IconButton.tsx +58 -0
  160. package/src/components/Icons.tsx +87 -0
  161. package/src/components/Modal.tsx +123 -0
  162. package/src/components/Paper.tsx +22 -0
  163. package/src/components/ProgressBar.tsx +62 -0
  164. package/src/components/RadioGroup.tsx +55 -0
  165. package/src/components/RangerSlider.tsx +81 -0
  166. package/src/components/Select.tsx +98 -0
  167. package/src/components/{icon/norma.tsx → Svgs.tsx} +54 -55
  168. package/src/components/Tabs.tsx +140 -0
  169. package/src/components/Tag.tsx +45 -0
  170. package/src/components/TextField.tsx +35 -0
  171. package/src/components/index.ts +16 -8
  172. package/src/helpers/alignments.ts +14 -0
  173. package/src/helpers/borders.ts +18 -0
  174. package/src/helpers/colors.ts +173 -209
  175. package/src/helpers/index.ts +5 -3
  176. package/src/helpers/radios.ts +24 -0
  177. package/src/helpers/sizes.ts +79 -26
  178. package/src/index.css +2 -0
  179. package/src/index.ts +36 -0
  180. package/src/interfaces/Accordion.ts +12 -0
  181. package/src/interfaces/Button.ts +27 -0
  182. package/src/interfaces/Card.ts +11 -0
  183. package/src/interfaces/CheckBox.ts +33 -0
  184. package/src/interfaces/DropDown.ts +14 -0
  185. package/src/interfaces/IconButton.ts +27 -0
  186. package/src/interfaces/Icons.ts +17 -0
  187. package/src/interfaces/Modal.ts +15 -0
  188. package/src/interfaces/Paper.ts +12 -0
  189. package/src/interfaces/ProgressBar.ts +25 -0
  190. package/src/interfaces/RadioGroup.ts +28 -0
  191. package/src/interfaces/RangerSlider.ts +32 -0
  192. package/src/interfaces/Select.ts +17 -0
  193. package/src/interfaces/Tabs.ts +24 -0
  194. package/src/interfaces/Tag.ts +17 -0
  195. package/src/interfaces/TextField.ts +63 -0
  196. package/src/interfaces/index.ts +17 -0
  197. package/src/stories/Accordion.stories.tsx +65 -0
  198. package/src/stories/Button.stories.tsx +99 -0
  199. package/src/stories/Card.stories.tsx +55 -0
  200. package/src/stories/CheckBox.stories.tsx +94 -0
  201. package/src/stories/Colors.stories.mdx +127 -0
  202. package/src/stories/DropDown.stories.tsx +57 -0
  203. package/src/stories/IconButton.stories.tsx +114 -0
  204. package/src/stories/Icons.stories.mdx +27 -0
  205. package/src/stories/Modal.stories.tsx +190 -0
  206. package/src/stories/Paper.stories.tsx +53 -0
  207. package/src/stories/ProgressBar.stories.tsx +139 -0
  208. package/src/stories/RadioGroup.stories.tsx +94 -0
  209. package/src/stories/RangerSlider.stories.tsx +68 -0
  210. package/src/stories/Select.stories.tsx +128 -0
  211. package/src/stories/Tabs.stories.tsx +62 -0
  212. package/src/stories/Tag.stories.tsx +76 -0
  213. package/src/{components/textfield/textfield.stories.tsx → stories/TextField.stories.tsx} +445 -376
  214. package/src/styles/custom.css +5 -0
  215. package/src/styles/globals.css +21 -0
  216. package/src/types/index.ts +220 -0
  217. package/tailwind.config.js +58 -0
  218. package/tsconfig.json +32 -0
  219. package/README.md +0 -160
  220. package/dist/components/button/button.d.ts +0 -3
  221. package/dist/components/button/index.d.ts +0 -1
  222. package/dist/components/button/types.d.ts +0 -18
  223. package/dist/components/card/card-header.d.ts +0 -3
  224. package/dist/components/card/card.d.ts +0 -3
  225. package/dist/components/card/index.d.ts +0 -1
  226. package/dist/components/card/styles.d.ts +0 -811
  227. package/dist/components/card/types.d.ts +0 -12
  228. package/dist/components/checkbox/checkbox.d.ts +0 -3
  229. package/dist/components/checkbox/index.d.ts +0 -1
  230. package/dist/components/checkbox/types.d.ts +0 -23
  231. package/dist/components/icon/default.d.ts +0 -210
  232. package/dist/components/icon/defaultIcon.d.ts +0 -5
  233. package/dist/components/icon/icons-ia.d.ts +0 -71
  234. package/dist/components/icon/index.d.ts +0 -234
  235. package/dist/components/icon/normaIcon.d.ts +0 -13
  236. package/dist/components/icon/styles.d.ts +0 -481
  237. package/dist/components/icon/svg.d.ts +0 -6
  238. package/dist/components/icon/types.d.ts +0 -12
  239. package/dist/components/index.d.ts +0 -8
  240. package/dist/components/modal/index.d.ts +0 -1
  241. package/dist/components/modal/modal.d.ts +0 -3
  242. package/dist/components/modal/modalFooter.d.ts +0 -3
  243. package/dist/components/modal/modalHeader.d.ts +0 -3
  244. package/dist/components/modal/styles.d.ts +0 -540
  245. package/dist/components/modal/types.d.ts +0 -27
  246. package/dist/components/progress-bar/index.d.ts +0 -1
  247. package/dist/components/progress-bar/progress-bar.d.ts +0 -7
  248. package/dist/components/progress-bar/styles.d.ts +0 -272
  249. package/dist/components/progress-bar/types.d.ts +0 -22
  250. package/dist/components/radio/index.d.ts +0 -1
  251. package/dist/components/radio/radio.d.ts +0 -3
  252. package/dist/components/radio/types.d.ts +0 -16
  253. package/dist/components/tag/index.d.ts +0 -1
  254. package/dist/components/tag/tag.d.ts +0 -3
  255. package/dist/components/tag/types.d.ts +0 -25
  256. package/dist/components/textfield/index.d.ts +0 -1
  257. package/dist/components/textfield/textfield.d.ts +0 -3
  258. package/dist/components/textfield/types.d.ts +0 -42
  259. package/dist/helpers/clients.d.ts +0 -5
  260. package/dist/helpers/index.d.ts +0 -3
  261. package/dist/helpers/sizes.d.ts +0 -6
  262. package/dist/helpers/variants.d.ts +0 -2
  263. package/dist/index.d.ts +0 -1
  264. package/dist/index.js +0 -8
  265. package/dist/norma-library.cjs.development.js +0 -1286
  266. package/dist/norma-library.cjs.development.js.map +0 -1
  267. package/dist/norma-library.cjs.production.min.js +0 -2
  268. package/dist/norma-library.cjs.production.min.js.map +0 -1
  269. package/dist/norma-library.esm.js +0 -1274
  270. package/dist/norma-library.esm.js.map +0 -1
  271. package/src/components/button/button.stories.tsx +0 -44
  272. package/src/components/button/button.tsx +0 -18
  273. package/src/components/button/index.ts +0 -1
  274. package/src/components/button/types.ts +0 -48
  275. package/src/components/card/card-header.tsx +0 -8
  276. package/src/components/card/card.stories.tsx +0 -28
  277. package/src/components/card/card.tsx +0 -13
  278. package/src/components/card/index.ts +0 -1
  279. package/src/components/card/styles.tsx +0 -29
  280. package/src/components/card/types.ts +0 -14
  281. package/src/components/checkbox/checkbox.stories.tsx +0 -66
  282. package/src/components/checkbox/checkbox.tsx +0 -13
  283. package/src/components/checkbox/index.ts +0 -1
  284. package/src/components/checkbox/types.ts +0 -30
  285. package/src/components/icon/default.tsx +0 -1459
  286. package/src/components/icon/defaultIcon.tsx +0 -82
  287. package/src/components/icon/icon.stories.tsx +0 -44
  288. package/src/components/icon/icons-ia.tsx +0 -107
  289. package/src/components/icon/index.ts +0 -11
  290. package/src/components/icon/normaIcon.tsx +0 -94
  291. package/src/components/icon/styles.ts +0 -11
  292. package/src/components/icon/svg.tsx +0 -24
  293. package/src/components/icon/types.ts +0 -14
  294. package/src/components/modal/index.ts +0 -1
  295. package/src/components/modal/modal.stories.tsx +0 -55
  296. package/src/components/modal/modal.tsx +0 -42
  297. package/src/components/modal/modalFooter.tsx +0 -32
  298. package/src/components/modal/modalHeader.tsx +0 -46
  299. package/src/components/modal/styles.tsx +0 -13
  300. package/src/components/modal/types.ts +0 -47
  301. package/src/components/progress-bar/index.ts +0 -1
  302. package/src/components/progress-bar/progress-bar.stories.tsx +0 -68
  303. package/src/components/progress-bar/progress-bar.tsx +0 -38
  304. package/src/components/progress-bar/styles.tsx +0 -27
  305. package/src/components/progress-bar/types.ts +0 -35
  306. package/src/components/radio/index.ts +0 -1
  307. package/src/components/radio/radio.stories.tsx +0 -150
  308. package/src/components/radio/radio.tsx +0 -13
  309. package/src/components/radio/types.ts +0 -27
  310. package/src/components/tag/index.ts +0 -1
  311. package/src/components/tag/tag.stories.tsx +0 -80
  312. package/src/components/tag/tag.tsx +0 -13
  313. package/src/components/tag/types.ts +0 -47
  314. package/src/components/textfield/index.ts +0 -1
  315. package/src/components/textfield/textfield.tsx +0 -23
  316. package/src/components/textfield/types.ts +0 -93
  317. package/src/helpers/clients.ts +0 -6
  318. package/src/helpers/variants.ts +0 -3
  319. package/src/index.tsx +0 -1
@@ -1,82 +0,0 @@
1
- import React, { FunctionComponent } from 'react';
2
- import { colors } from '../../helpers';
3
- import { IconsProps } from './types';
4
- import { defaultIcons } from './default';
5
- import { IconsContainer } from './styles';
6
-
7
- export type IconScale =
8
- | 'xsmall'
9
- | 'small'
10
- | 'medium'
11
- | 'large'
12
- | 'xlarge'
13
- | '2xlarge'
14
- | '3xlarge';
15
- export type Colors =
16
- | 'default'
17
- | 'primary'
18
- | 'secondary'
19
- | 'error'
20
- | 'info'
21
- | 'success'
22
- | 'warning'
23
- | 'white'
24
- | 'black';
25
-
26
- const scaleSize: Record<IconScale, number> = {
27
- xsmall: 14,
28
- small: 20,
29
- medium: 24,
30
- large: 28,
31
- xlarge: 32,
32
- '2xlarge': 36,
33
- '3xlarge': 40,
34
- };
35
-
36
- const IconsBase: FunctionComponent<IconsProps> = ({
37
- icon,
38
- scale = '3xlarge',
39
- color = 'inherit',
40
- width = 0,
41
- height = 0,
42
- ...props
43
- }: IconsProps) => {
44
- let newWidth = 24;
45
- let newHeight = 24;
46
-
47
- if (scale) {
48
- width = scaleSize[scale];
49
- height = scaleSize[scale];
50
- }
51
-
52
- if (width > 0 && height > 0) {
53
- newWidth = width;
54
- newHeight = height;
55
- }
56
-
57
- const newFill = colors[color];
58
-
59
- const iconElement = defaultIcons[icon];
60
-
61
- return (
62
- <IconsContainer
63
- viewBox="0 0 20 20"
64
- width={`${newWidth}px`}
65
- height={`${newHeight}px`}
66
- fill={newFill}
67
- {...props}
68
- >
69
- {iconElement && React.cloneElement(iconElement, { fill: newFill })}
70
- </IconsContainer>
71
- );
72
- };
73
-
74
- IconsBase.defaultProps = {
75
- icon: 'user',
76
- scale: '3xlarge',
77
- color: 'inherit',
78
- };
79
-
80
- export const Icons: FunctionComponent<IconsProps> = (props: IconsProps) => (
81
- <IconsBase {...props} />
82
- );
@@ -1,44 +0,0 @@
1
- import React from "react"
2
- import type { StoryDefault, Story } from '@ladle/react'
3
- import { Icons as DefaultIconSVG } from './defaultIcon'
4
- import { Icons as NormaIconSVG } from './normaIcon'
5
- import { Card } from '../card/card'
6
-
7
- export default {
8
- title: 'Data / Icons',
9
- meta: {
10
- key: 'icon',
11
- },
12
- } satisfies StoryDefault
13
-
14
- export const IconsDefault: Story = () => (
15
- <div className="App">
16
- <Card>
17
- <DefaultIconSVG icon={'user'} scale="xsmall" />
18
- <DefaultIconSVG icon={'user'} scale="small" color="secondary" />
19
- <DefaultIconSVG icon={'user'} scale="medium" color="error" />
20
- <DefaultIconSVG icon={'user'} scale="large" color="warning" />
21
- <DefaultIconSVG icon={'user'} scale="xlarge" color="success" />
22
- <DefaultIconSVG icon={'user'} scale="2xlarge" color="black" />
23
- <DefaultIconSVG icon={'user'} scale="3xlarge" color="primary" />
24
- </Card>
25
- </div>
26
- )
27
-
28
- IconsDefault.storyName = 'Icon Default'
29
-
30
- export const IconsNorma: Story = () => (
31
- <div className="App">
32
- <Card>
33
- <NormaIconSVG icon={'envelopeMail'} scale="xsmall" />
34
- <NormaIconSVG icon={'envelopeMail'} scale="small" color="secondary" />
35
- <NormaIconSVG icon={'envelopeMail'} scale="medium" color="error" />
36
- <NormaIconSVG icon={'envelopeMail'} scale="large" color="warning" />
37
- <NormaIconSVG icon={'envelopeMail'} scale="xlarge" color="success" />
38
- <NormaIconSVG icon={'envelopeMail'} scale="2xlarge" color="black" />
39
- <NormaIconSVG icon={'envelopeMail'} scale="3xlarge" color="primary" />
40
- </Card>
41
- </div>
42
- )
43
-
44
- IconsNorma.storyName = 'Icon Norma'
@@ -1,107 +0,0 @@
1
- export const bag =
2
- '<>\r\n <g id="bag" transform="translate(10 10)">\r\n <g id="Icon_feather-briefcase" data-name="Icon feather-briefcase">\r\n <path id="Caminho_1939" data-name="Caminho 1939" d="M26.407,10.5H213.667a23.407,23.407,0,0,1,23.407,23.407V150.944a23.407,23.407,0,0,1-23.407,23.407H26.407A23.407,23.407,0,0,1,3,150.944V33.907A23.407,23.407,0,0,1,26.407,10.5Z" transform="translate(-3 36.315)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1940" data-name="Caminho 1940" d="M105.63,215.167V27.907A23.407,23.407,0,0,0,82.222,4.5H35.407A23.407,23.407,0,0,0,12,27.907V215.167" transform="translate(58.222 -4.5)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n </g>\r\n</>'
3
- export const box =
4
- '<>\r\n <g id="box" transform="translate(10.595 10)">\r\n <path id="Caminho_1932" data-name="Caminho 1932" d="M213.11,162.945V71.536a22.8,22.8,0,0,0-11.589-19.767l-81.126-45.7a23.466,23.466,0,0,0-23.179,0l-81.126,45.7A22.8,22.8,0,0,0,4.5,71.536v91.409a22.8,22.8,0,0,0,11.589,19.767l81.126,45.7a23.466,23.466,0,0,0,23.179,0l81.126-45.7A22.8,22.8,0,0,0,213.11,162.945Z" transform="translate(-4.5 -3.003)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1933" data-name="Caminho 1933" d="M4.905,10.44,106.214,66.471,207.524,10.44" transform="translate(-1.909 46.752)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1934" data-name="Caminho 1934" d="M18,129.84V18" transform="translate(86.305 99.545)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
5
- export const card =
6
- '<>\r\n <g id="card" transform="translate(10 10)">\r\n <g id="Icon_feather-credit-card" data-name="Icon feather-credit-card">\r\n <path id="Caminho_1937" data-name="Caminho 1937" d="M22.875,6H215.249a21.375,21.375,0,0,1,21.375,21.375V155.624A21.375,21.375,0,0,1,215.249,177H22.875A21.375,21.375,0,0,1,1.5,155.624V27.375A21.375,21.375,0,0,1,22.875,6Z" transform="translate(-1.5 -6)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1938" data-name="Caminho 1938" d="M1.5,15H236.623" transform="translate(-1.5 49.125)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n </g>\r\n</>'
7
- export const chart_bars =
8
- '<>\r\n <path id="Icon_metro-chart-bars" data-name="Icon metro-chart-bars" d="M2.571,179.245H254.877v31.538H2.571Zm31.538-63.077H65.647v47.307H34.109ZM81.416,53.092h31.538V163.476H81.416ZM128.724,100.4h31.538v63.077H128.724ZM176.031,5.784H207.57V163.476H176.031Z" transform="translate(-2.571 -5.784)" fill="#333"/>\r\n</>'
9
- export const circle_chart =
10
- '<>\r\n <g id="circle_chart" transform="translate(10.077 10)">\r\n <g id="Icon_feather-pie-chart" data-name="Icon feather-pie-chart">\r\n <path id="Caminho_1660" data-name="Caminho 1660" d="M218.838,150.977A112.353,112.353,0,1,1,70.421,4.245" transform="translate(-2.999 5.087)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1661" data-name="Caminho 1661" d="M130.434,115.434A112.434,112.434,0,0,0,18,3V115.434Z" transform="translate(94.288 -3)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n </g>\r\n</>'
11
- export const circle_check =
12
- '<>\r\n <g id="circle_check" transform="translate(10.023 10.135)">\r\n <g id="Icon" transform="translate(-66.52 -47.533)">\r\n <g id="Icon_feather-check-circle" data-name="Icon feather-check-circle" transform="translate(66.52 47.533)">\r\n <path id="Caminho_1935" data-name="Caminho 1935" d="M233.813,107.851v10.617A115.406,115.406,0,1,1,165.377,12.988" transform="translate(-3 -2.991)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1936" data-name="Caminho 1936" d="M163.528,6,48.122,121.522,13.5,86.9" transform="translate(67.285 17.153)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n </g>\r\n </g>\r\n</>'
13
- export const circle_help =
14
- '<>\r\n <g id="circle_help" transform="translate(10 10)">\r\n <path id="Caminho_1657" data-name="Caminho 1657" d="M226.333,114.667A111.667,111.667,0,1,1,114.667,3,111.667,111.667,0,0,1,226.333,114.667Z" transform="translate(-3 -3)" fill="none" stroke="#202020" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1658" data-name="Caminho 1658" d="M13.635,38.476A41.875,41.875,0,0,1,95.012,52.434c0,27.917-41.875,41.875-41.875,41.875" transform="translate(57.393 39.304)" fill="none" stroke="#202020" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1659" data-name="Caminho 1659" d="M18,25.5h0" transform="translate(93.667 142)" fill="none" stroke="#202020" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
15
- export const circle_not =
16
- '<>\r\n <g id="Icon" transform="translate(-46.329 -45.793)">\r\n <path id="Icon_material-block" data-name="Icon material-block" d="M129.169,3C59.524,3,3,58.748,3,127.437S59.524,251.874,129.169,251.874s126.169-55.748,126.169-124.437S198.814,3,129.169,3ZM28.234,127.437c0-55,45.169-99.549,100.935-99.549a100.587,100.587,0,0,1,61.823,21.03L49.556,188.411A97.482,97.482,0,0,1,28.234,127.437Zm100.935,99.549a100.587,100.587,0,0,1-61.823-21.03L208.782,66.463A97.482,97.482,0,0,1,230.1,127.437C230.1,182.438,184.936,226.986,129.169,226.986Z" transform="translate(43.329 42.793)" fill="#333"/>\r\n </g>\r\n</>'
17
- export const circle_timer =
18
- '<>\r\n <path id="Caminho_1968" data-name="Caminho 1968" d="M126.771,249.6A122.836,122.836,0,0,1,41.525,38.331a9.86,9.86,0,0,1,13.7,14.187A103.086,103.086,0,1,0,136.6,24.144V62.59a9.888,9.888,0,1,1-19.776,0V13.826a9.882,9.882,0,0,1,9.888-9.888,122.833,122.833,0,0,1,.061,245.667Z" transform="translate(-3.938 -3.938)" fill="#333"/>\r\n <path id="Caminho_1969" data-name="Caminho 1969" d="M21.13,12.419,83.067,56.926a18.742,18.742,0,0,1-21.787,30.5,18.1,18.1,0,0,1-4.357-4.357L12.416,21.134a6.245,6.245,0,0,1,8.715-8.715Z" transform="translate(70.911 70.913)" fill="#333"/>\r\n</>'
19
- export const comment =
20
- '<>\r\n <path id="ic_chat_24px" d="M232.4,2H27.6A25.566,25.566,0,0,0,2.128,27.6L2,258l51.2-51.2H232.4A25.675,25.675,0,0,0,258,181.2V27.6A25.675,25.675,0,0,0,232.4,2ZM53.2,91.6H206.8v25.6H53.2Zm102.4,64H53.2V130H155.6Zm51.2-76.8H53.2V53.2H206.8Z" transform="translate(-2 -2)" fill="#333"/>\r\n</>'
21
- export const edit =
22
- '<>\r\n <g id="edit" transform="translate(10 10)">\r\n <path id="Caminho_1946" data-name="Caminho 1946" d="M99.584,6H24.463A21.463,21.463,0,0,0,3,27.463V177.705a21.463,21.463,0,0,0,21.463,21.463H174.705a21.463,21.463,0,0,0,21.463-21.463V102.584" transform="translate(-3 16.765)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1947" data-name="Caminho 1947" d="M124.681,9.486A22.765,22.765,0,0,1,156.876,41.68L54.926,143.63,12,154.362l10.732-42.926Z" transform="translate(52.389 -2.818)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
23
- export const envelop =
24
- '<>\r\n <path id="ic_email_24px" d="M232.4,4H27.6A25.566,25.566,0,0,0,2.128,29.6L2,183.2a25.675,25.675,0,0,0,25.6,25.6H232.4A25.675,25.675,0,0,0,258,183.2V29.6A25.675,25.675,0,0,0,232.4,4Zm0,51.2L130,119.2,27.6,55.2V29.6L130,93.6l102.4-64Z" transform="translate(-2 -4)" fill="#333"/>\r\n</>'
25
- export const eye =
26
- '<>\r\n <g id="eye" transform="translate(10 10)">\r\n <path id="Caminho_1948" data-name="Caminho 1948" d="M1.5,84.908S40.954,6,110,6,218.5,84.908,218.5,84.908,179.043,163.816,110,163.816,1.5,84.908,1.5,84.908Z" transform="translate(-1.5 -6)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1949" data-name="Caminho 1949" d="M72.681,43.09A29.59,29.59,0,1,1,43.09,13.5,29.59,29.59,0,0,1,72.681,43.09Z" transform="translate(65.408 35.817)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
27
- export const female =
28
- '<>\r\n <g id="female" transform="translate(10 10)">\r\n <path id="female-svgrepo-com" d="M32.481,194.111h76.444M70.7,130.407V232.333m0-101.926A63.7,63.7,0,1,0,7,66.7,63.7,63.7,0,0,0,70.7,130.407Z" transform="translate(-7 -3)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
29
- export const filter_list =
30
- '<>\r\n <path id="Icon_material-filter-list" data-name="Icon material-filter-list" d="M100.757,174.012h55v-27.5h-55ZM4.5,9V36.5H252.018V9Zm41.253,96.257H210.765v-27.5H45.753Z" transform="translate(-4.5 -9)" fill="#333"/>\r\n</>'
31
- export const grid =
32
- '<>\r\n <g id="grid" transform="translate(10 10)">\r\n <path id="Caminho_1664" data-name="Caminho 1664" d="M4.5,4.5H74.781V74.781H4.5Z" transform="translate(-4.5 -4.5)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1665" data-name="Caminho 1665" d="M21,4.5H91.281V74.781H21Z" transform="translate(103.719 -4.5)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1666" data-name="Caminho 1666" d="M21,21H91.281V91.281H21Z" transform="translate(103.719 103.719)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1667" data-name="Caminho 1667" d="M4.5,21H74.781V91.281H4.5Z" transform="translate(-4.5 103.719)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
33
- export const hand =
34
- '<>\r\n <path id="Icon_ionic-md-hand" data-name="Icon ionic-md-hand" d="M228.4,137.569c-8.172-8.168-20.2-8.9-28.374-.735l-23.358,23.345c-6.081,6.072-13.409,6.085-17.686,1.038-2.834-3.344-1.715-13.657-.921-20.2l11.715-96.292c1.046-8.6-5.082-16.913-13.689-17.959s-16.43,5.569-17.477,14.17l-12.922,75.631c-.675,1.882-2.124,2.207-2.287-.326l-4.4-98.3a15.7,15.7,0,0,0-31.395,0L87.3,116.978c.082,1.143-.9,1.47-1.076.165L72.261,39.835c-1.541-8.528-9.707-14.682-18.238-13.141S39.826,36.884,41.365,45.41L53.8,135.878c.013,1.609-.527,2.529-1.293.466l-18.552-49.6c-2.9-8.165-11.877-12.924-20.046-10.024S1.47,89.083,4.371,97.247L36.894,203.5c.17.586.35,1.168.534,1.747l.068.219c.006.017.014.033.02.049a69.19,69.19,0,0,0,65.795,47.763,93.618,93.618,0,0,0,55.672-18.867h0c16.8-10.114,70.641-67.994,70.641-67.994C237.8,158.246,236.577,145.739,228.4,137.569Z" transform="translate(-3.462 -2.25)" fill="#333"/>\r\n</>'
35
- export const headphone =
36
- '<>\r\n <g id="headphone" transform="translate(10 10)">\r\n <g id="Icon" transform="translate(-7.004 -13)">\r\n <g id="Icon_feather-headphones" data-name="Icon feather-headphones" transform="translate(7.004 13)">\r\n <path id="Caminho_1930" data-name="Caminho 1930" d="M4.5,215.111V130.866C4.5,61.076,56.509,4.5,120.665,4.5S236.829,61.076,236.829,130.866v84.244" transform="translate(-4.5 -4.5)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1931" data-name="Caminho 1931" d="M236.829,57.2c0,8-11.557,14.479-25.814,14.479H198.108c-14.257,0-25.814-6.483-25.814-14.479V35.479c0-8,11.557-14.479,25.814-14.479h38.722ZM4.5,57.2c0,8,11.557,14.479,25.814,14.479H43.222c14.257,0,25.814-6.483,25.814-14.479V35.479c0-8-11.558-14.479-25.814-14.479H4.5Z" transform="translate(-4.5 160.652)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n </g>\r\n </g>\r\n</>'
37
- export const list_ul =
38
- '<>\r\n <path id="Icon_awesome-list-ul" data-name="Icon awesome-list-ul" d="M22.806,3.375A22.806,22.806,0,1,0,45.612,26.181,22.806,22.806,0,0,0,22.806,3.375Zm0,76.02A22.806,22.806,0,1,0,45.612,102.2,22.806,22.806,0,0,0,22.806,79.395Zm0,76.02A22.806,22.806,0,1,0,45.612,178.22a22.806,22.806,0,0,0-22.806-22.806Zm212.855,7.6H83.621a7.6,7.6,0,0,0-7.6,7.6v15.2a7.6,7.6,0,0,0,7.6,7.6H235.66a7.6,7.6,0,0,0,7.6-7.6v-15.2A7.6,7.6,0,0,0,235.66,163.016Zm0-152.039H83.621a7.6,7.6,0,0,0-7.6,7.6v15.2a7.6,7.6,0,0,0,7.6,7.6H235.66a7.6,7.6,0,0,0,7.6-7.6v-15.2A7.6,7.6,0,0,0,235.66,10.977Zm0,76.019H83.621a7.6,7.6,0,0,0-7.6,7.6v15.2a7.6,7.6,0,0,0,7.6,7.6H235.66a7.6,7.6,0,0,0,7.6-7.6V94.6A7.6,7.6,0,0,0,235.66,87Z" transform="translate(0 -3.375)" fill="#333"/>\r\n</>'
39
- export const logo_live =
40
- '<>\r\n <text id="olos.live" transform="translate(75 43)" font-size="46" font-family="Ubuntu"><tspan x="0" y="0">olos.</tspan><tspan y="0" font-family="Ubuntu-Bold, Ubuntu" font-weight="700">live</tspan></text>\r\n <g id="Grupo_474" data-name="Grupo 474">\r\n <rect id="Retângulo_1912" data-name="Retângulo 1912" width="56" height="56" transform="translate(0)" fill="#fff"/>\r\n <g id="cloud" transform="translate(0 7)">\r\n <path id="cloud-2" data-name="cloud" d="M36,44.79q.308.009.619.009A20.4,20.4,0,1,0,20.694,11.65h-3.1a16.575,16.575,0,0,0,0,33.149h17.85Q35.724,44.8,36,44.79Zm4.981-5.8c5.993-1.96,10.938-7.751,10.938-14.588a15.3,15.3,0,0,0-30.6,0h-5.1A20.342,20.342,0,0,1,17.7,16.75h-.109a11.475,11.475,0,0,0,0,22.95h17.85A27.272,27.272,0,0,0,40.982,38.988Z" transform="translate(-1.019 -4)" fill="#fc7f11" fill-rule="evenodd"/>\r\n </g>\r\n </g>\r\n</>'
41
- export const logo_olos =
42
- '<>\r\n <g id="Grupo_1879" data-name="Grupo 1879" transform="translate(-0.001 0.01)">\r\n <rect id="Retângulo_2535" data-name="Retângulo 2535" width="5.45" height="5.45" transform="translate(230.961 25.794) rotate(90)" fill="none" stroke="#e3e4e8" stroke-miterlimit="10" stroke-width="1"/>\r\n <path id="Caminho_1999" data-name="Caminho 1999" d="M78.978,36.873H60.447A10.246,10.246,0,0,1,50.21,26.636V18.6A10.246,10.246,0,0,1,60.447,8.36H78.978A10.246,10.246,0,0,1,89.215,18.6v8.039A10.246,10.246,0,0,1,78.978,36.873ZM59.833,13.81A4.187,4.187,0,0,0,55.643,18v9.249a4.187,4.187,0,0,0,4.19,4.19H79.574a4.187,4.187,0,0,0,4.19-4.19V18a4.187,4.187,0,0,0-4.19-4.19H59.833Z" transform="translate(35.31 5.886)" fill="#ff7f11"/>\r\n <path id="Caminho_2000" data-name="Caminho 2000" d="M109.408,36.873H84.421a9.149,9.149,0,0,1-9.351-8.908V8.36h5.45v20.2a3.106,3.106,0,0,0,3.3,2.861h25.583v5.45Z" transform="translate(52.793 5.886)" fill="#ff7f11"/>\r\n <path id="Caminho_2001" data-name="Caminho 2001" d="M125.218,36.873H106.687A10.246,10.246,0,0,1,96.45,26.636V18.6A10.246,10.246,0,0,1,106.687,8.36h18.531A10.246,10.246,0,0,1,135.455,18.6v8.039A10.246,10.246,0,0,1,125.218,36.873ZM106.073,13.81a4.187,4.187,0,0,0-4.19,4.19v9.249a4.187,4.187,0,0,0,4.19,4.19h19.741a4.187,4.187,0,0,0,4.19-4.19V18a4.187,4.187,0,0,0-4.19-4.19H106.073Z" transform="translate(67.828 5.886)" fill="#ff7f11"/>\r\n <g id="Grupo_1879-2" data-name="Grupo 1879" transform="translate(0.001 -0.01)">\r\n <path id="Caminho_2002" data-name="Caminho 2002" d="M50.614,24.6c.051,5.178-5.28,10.509-11.5,11.65-5.791,1.073-10-1.976-9.743-6.609.238-4.514,4.633-9.3,10.151-10.884,5.91-1.7,11.037.8,11.088,5.842Z" transform="translate(20.648 12.835)" fill="#ff7f11"/>\r\n <path id="Caminho_2003" data-name="Caminho 2003" d="M29.413,12.083c.2-3.713,4.19-8.448,9.164-10.782,5.28-2.47,9.828-1.38,9.845,2.674.017,4.156-4.718,9.436-10.237,11.565-5.178,1.993-8.976.358-8.772-3.458Z" transform="translate(20.677 0.01)" fill="#ff7f11"/>\r\n <path id="Caminho_2004" data-name="Caminho 2004" d="M27.627,14.362c4.1-3.475,9.436-4.377,11.872-1.771,2.572,2.742.8,8.125-3.9,11.718-4.514,3.458-9.709,3.713-11.684.852C22.024,22.436,23.659,17.7,27.627,14.362Z" transform="translate(16.263 7.814)" fill="#ff7f11"/>\r\n <path id="Caminho_2005" data-name="Caminho 2005" d="M33.475,27.807c-.273,4.548-4.531,9.078-9.2,9.93-4.394.818-7.392-1.976-6.949-6.1.426-4.02,4.037-8.159,8.278-9.385C30.1,20.96,33.747,23.361,33.475,27.807Z" transform="translate(12.153 15.421)" fill="#ff7f11"/>\r\n <path id="Caminho_2006" data-name="Caminho 2006" d="M10.355,32.1c-.562,3.662-3.509,7.137-6.421,7.665C1.157,40.28-.495,37.9.135,34.523c.613-3.3,3.219-6.558,5.944-7.341,2.861-.818,4.837,1.329,4.292,4.905Z" transform="translate(-0.001 19.01)" fill="#ff7f11"/>\r\n <path id="Caminho_2007" data-name="Caminho 2007" d="M22.691,8.784c3.577-3.3,8.09-4.428,10.049-2.35,2.061,2.2.443,6.949-3.594,10.39-3.866,3.321-8.278,3.935-9.879,1.6-1.533-2.231-.034-6.472,3.424-9.657Z" transform="translate(13.126 3.803)" fill="#ff7f11"/>\r\n <path id="Caminho_2008" data-name="Caminho 2008" d="M24.808.726c3.134-.238,4.037,2.691,1.874,6.523-2.146,3.8-6.353,6.762-9.249,6.643-2.742-.119-3.321-3-1.4-6.455C17.961,3.962,21.845.964,24.808.743Z" transform="translate(10.481 0.517)" fill="#ff7f11"/>\r\n <path id="Caminho_2009" data-name="Caminho 2009" d="M13.791,47.692c-3.049-1.857-3.577-6.4-1.346-10.288,2.248-3.9,6.643-6,10-4.582,3.577,1.516,4.548,6.37,1.976,10.731-2.555,4.326-7.392,6.1-10.628,4.122Z" transform="translate(7.787 22.788)" fill="#ff7f11"/>\r\n <path id="Caminho_2010" data-name="Caminho 2010" d="M19.289,9.763c2.861.187,3.577,3.389,1.465,7.12-2.1,3.7-6.013,6.234-8.653,5.706-2.5-.511-2.913-3.611-1.039-6.983,1.891-3.389,5.519-6.013,8.227-5.842Z" transform="translate(6.956 6.877)" fill="#ff7f11"/>\r\n <path id="Caminho_2011" data-name="Caminho 2011" d="M20.635,30.227c-.46,4.054-3.952,7.988-7.6,8.653-3.441.63-5.655-1.942-5.093-5.655A10.727,10.727,0,0,1,14.9,24.98c3.543-1.022,6.2,1.26,5.74,5.229Z" transform="translate(5.524 17.413)" fill="#ff7f11"/>\r\n <path id="Caminho_2012" data-name="Caminho 2012" d="M13.892,18.6c2.589.6,3.134,4.054,1.09,7.682C12.955,29.891,9.276,32,6.909,31.1c-2.265-.869-2.538-4.19-.7-7.477,1.84-3.3,5.246-5.57,7.7-5.008Z" transform="translate(3.513 13.048)" fill="#ff7f11"/>\r\n <path id="Caminho_2013" data-name="Caminho 2013" d="M2.466,21.217a11.169,11.169,0,0,1,5.6-7.341c2.725-1.277,4.633.1,4.156,3.185a10.985,10.985,0,0,1-6.013,7.7c-2.657,1.022-4.275-.6-3.73-3.526Z" transform="translate(1.67 9.441)" fill="#ff7f11"/>\r\n </g>\r\n <path id="Caminho_2014" data-name="Caminho 2014" d="M153.419,19.908H129.812a3.049,3.049,0,1,1,0-6.1h28.734V8.36H129.812a8.482,8.482,0,0,0,0,16.964h23.607a3.049,3.049,0,0,1,0,6.1h-31.6v5.45h31.6a8.482,8.482,0,0,0,0-16.964Z" transform="translate(85.326 5.886)" fill="#ff7f11"/>\r\n </g>\r\n</>'
43
- export const notification =
44
- '<>\r\n <path id="Notification_Icon" data-name="Notification Icon" d="M93.379,217.878h62.242a31.121,31.121,0,1,1-62.242,0ZM15.561,202.318C6.233,202.318,0,196.085,0,186.757S6.233,171.2,15.561,171.2h7.787c10.883-10.9,23.334-26.458,23.334-46.7V77.818C46.682,34.245,80.928,0,124.5,0s77.8,34.245,77.8,77.818V124.5c0,20.239,12.453,35.8,23.349,46.7h7.787c9.328,0,15.561,6.219,15.561,15.561s-6.233,15.561-15.561,15.561Z" fill="#333"/>\r\n</>'
45
- export const olos_cloud =
46
- '<>\r\n <path id="cloud" d="M148.418,175.961q1.3.039,2.607.039a86,86,0,1,0-67.1-139.75H70.858a69.875,69.875,0,0,0,0,139.75H146.07Q147.249,176,148.418,175.961ZM169.405,151.5c25.252-8.265,46.086-32.675,46.086-61.5A64.467,64.467,0,1,0,86.558,90H65.069a85.8,85.8,0,0,1,6.248-32.25h-.459a48.375,48.375,0,0,0,0,96.75H146.07A114.856,114.856,0,0,0,169.405,151.5Z" transform="translate(-1.019 -4)" fill="#333" fill-rule="evenodd"/>\r\n</>'
47
- export const search =
48
- '<>\r\n <g id="search" transform="translate(10 10)">\r\n <g id="Grupo_2" data-name="Grupo 2" transform="translate(-8 -10)">\r\n <g id="Icon_feather-search" data-name="Icon feather-search" transform="translate(13 13)">\r\n <path id="Caminho_1652" data-name="Caminho 1652" d="M206.377,103.75c0,54.814-45.192,99.25-100.939,99.25S4.5,158.564,4.5,103.75,49.692,4.5,105.439,4.5s100.939,44.436,100.939,99.25Z" transform="translate(-9.5 -7.5)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1653" data-name="Caminho 1653" d="M83.887,82.887,24.975,24.975" transform="translate(143.446 145.779)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n </g>\r\n </g>\r\n</>'
49
- export const sentiment_happy =
50
- '<>\r\n <g id="Icon" transform="translate(-4.761 -4.76)">\r\n <path id="ic_sentiment_very_satisfied_24px" d="M125.116,2A123.24,123.24,0,1,0,248.479,125.24,123.1,123.1,0,0,0,125.116,2Zm.123,221.831a98.592,98.592,0,1,1,98.592-98.592A98.564,98.564,0,0,1,125.24,223.831ZM137.563,99.852l13.063,13.063L163.69,99.852l13.063,13.063,13.063-13.063L163.69,73.725Zm-50.775,0,13.063,13.063,13.063-13.063L86.789,73.725,60.662,99.852l13.063,13.063Zm38.451,93.169a67.735,67.735,0,0,0,62.975-43.134H62.264A67.735,67.735,0,0,0,125.24,193.021Z" transform="translate(2.761 2.76)" fill="#333"/>\r\n </g>\r\n</>'
51
- export const sentiment_dissatisfied =
52
- '<>\r\n <circle id="Elipse_31" data-name="Elipse 31" cx="28" cy="28" r="28" transform="translate(152.355 72)" fill="#333"/>\r\n <circle id="Elipse_32" data-name="Elipse 32" cx="28" cy="28" r="28" transform="translate(47.645 72)" fill="#333"/>\r\n <path id="Caminho_109" data-name="Caminho 109" d="M129.872,2A128,128,0,1,0,258,130,127.937,127.937,0,0,0,129.872,2ZM130,232.4A102.4,102.4,0,1,1,232.4,130,102.372,102.372,0,0,1,130,232.4Zm0-76.8a70.338,70.338,0,0,0-65.536,44.8H85.84a50.888,50.888,0,0,1,88.32,0h21.376A70.338,70.338,0,0,0,130,155.6Z" transform="translate(-2 -2)" fill="#333"/>\r\n</>'
53
- export const sentiment_neutral =
54
- '<>\r\n <g id="ic_sentiment_neutral_24px">\r\n <path id="Caminho_107" data-name="Caminho 107" d="M9,14H121.52V39.75H9Z" transform="translate(62.74 150.25)" fill="#333"/>\r\n <circle id="Elipse_29" data-name="Elipse 29" cx="28" cy="28" r="28" transform="translate(154.956 72.478)" fill="#333"/>\r\n <circle id="Elipse_30" data-name="Elipse 30" cx="28" cy="28" r="28" transform="translate(50.565 72.478)" fill="#333"/>\r\n <path id="Caminho_108" data-name="Caminho 108" d="M129.872,2A128,128,0,1,0,258,130,127.937,127.937,0,0,0,129.872,2ZM130,232.4A102.4,102.4,0,1,1,232.4,130,102.372,102.372,0,0,1,130,232.4Z" transform="translate(-2 -2)" fill="#333"/>\r\n </g>\r\n</>'
55
- export const settings_ethernet =
56
- '<>\r\n <path id="Icon_material-settings-ethernet" data-name="Icon material-settings-ethernet" d="M80.283,22.779,62.766,8.22,1.23,82.382l61.536,74.162,17.517-14.559L30.8,82.382l49.479-59.6ZM71.524,93.756H94.273V71.007H71.524ZM185.269,71.007H162.52V93.756h22.749ZM117.022,93.756h22.749V71.007H117.022ZM194.027,8.22,176.511,22.779l49.479,59.6-49.479,59.6,17.517,14.559,61.536-74.162L194.027,8.22Z" transform="translate(-1.23 -8.22)" fill="#333"/>\r\n</>'
57
- export const star_outline =
58
- '<>\r\n <path id="Icon_ionic-ios-star-outline" data-name="Icon ionic-ios-star-outline" d="M245.65,90.952H162.577L137.334,9.822a8.938,8.938,0,0,0-17.168,0L94.923,90.952H11.286c-4.97,0-9.036,4.379-9.036,9.731a7.678,7.678,0,0,0,.169,1.642c.113,2.129,1.017,4.5,3.784,6.872l68.276,51.816-26.2,82.043A10.209,10.209,0,0,0,51.382,254c1.638,1.277,3.162,2.372,5.083,2.372a10.585,10.585,0,0,0,5.647-2.189l66.638-51.147,66.638,51.147a10.12,10.12,0,0,0,5.647,2.189c1.92,0,3.445-1.034,5.026-2.372a10.081,10.081,0,0,0,3.106-10.947l-26.2-82.043,67.711-52.3,1.638-1.52c1.468-1.7,2.937-4.014,2.937-6.507A9.9,9.9,0,0,0,245.65,90.952Zm-71.834,56.256a17.835,17.835,0,0,0-5.76,19.34l17,53.337a2.318,2.318,0,0,1-3.445,2.8L137.9,189.111a15.02,15.02,0,0,0-9.205-3.162,14.746,14.746,0,0,0-9.149,3.162l-43.71,33.51c-1.807,1.4-4.179-.547-3.445-2.8l17-53.337a17.891,17.891,0,0,0-5.817-19.462L37.828,112.3c-1.807-1.338-.9-4.44,1.3-4.44H94.866c6.777,0,12.819-4.683,14.965-11.616L126.548,42.6a2.223,2.223,0,0,1,4.292,0l16.716,53.641c2.146,6.933,8.189,11.616,14.965,11.616h54.948a2.438,2.438,0,0,1,1.3,4.379Z" transform="translate(-2.25 -3.375)" fill="#333"/>\r\n</>'
59
- export const tag =
60
- '<path id="Caminho_1941" data-name="Caminho 1941" d="M219.625,135.958l-83.55,83.55a23.305,23.305,0,0,1-32.977,0L3,119.527V3H119.527l100.1,100.1A23.305,23.305,0,0,1,219.625,135.958Z" transform="translate(-3 -3)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/> <path id="Caminho_1942" data-name="Caminho 1942" d="M10.5,10.5h0" transform="translate(47.764 47.764)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>'
61
- export const trash =
62
- '<>\r\n <g id="trash" transform="translate(10 10)">\r\n <path id="Caminho_1950" data-name="Caminho 1950" d="M4.5,9H204.425" transform="translate(-4.5 35.428)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1951" data-name="Caminho 1951" d="M163,47.428v155.5a22.214,22.214,0,0,1-22.214,22.214H29.714A22.214,22.214,0,0,1,7.5,202.925V47.428m33.321,0V25.214A22.214,22.214,0,0,1,63.035,3h44.428a22.214,22.214,0,0,1,22.214,22.214V47.428" transform="translate(14.714 -3)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1952" data-name="Caminho 1952" d="M15,16.5V83.142" transform="translate(62.749 83.463)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n <path id="Caminho_1953" data-name="Caminho 1953" d="M21,16.5V83.142" transform="translate(101.176 83.463)" fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>\r\n </g>\r\n</>'
63
- export const usd =
64
- '<>\r\n <path id="Icon_metro-money" data-name="Icon metro-money" d="M88.087,117.9c-32.032-8.325-42.333-16.863-42.333-30.268,0-15.381,14.182-26.176,38.1-26.176,25.118,0,34.431,11.995,35.278,29.633h31.185c-.917-24.342-15.8-46.5-45.3-53.763V6.427H62.687v30.48C35.312,42.9,13.3,60.543,13.3,87.848c0,32.6,27.023,48.825,66.322,58.279,35.348,8.467,42.333,20.814,42.333,34.078,0,9.666-6.844,25.188-38.1,25.188-29.069,0-40.57-13.053-42.051-29.633H10.688c1.764,30.9,24.835,48.19,52,54.045v30.621h42.333V230.088c27.446-5.292,49.389-21.167,49.389-50.165,0-39.935-34.29-53.622-66.322-62.018Z" transform="translate(-10.688 -6.427)" fill="#333"/>\r\n</>'
65
- export const user =
66
- '<>\r\n <path id="Caminho_1941" data-name="Caminho 1941" d="M81.143,131c40.4,0,73.143-28.654,73.143-64S121.539,3,81.143,3,8,31.654,8,67s32.747,64,73.143,64Zm0-96c20.2,0,36.571,14.327,36.571,32S101.341,99,81.143,99,44.571,84.673,44.571,67,60.945,35,81.143,35Z" transform="translate(46.857 -3)" fill="#333"/>\r\n <path id="Caminho_1942" data-name="Caminho 1942" d="M133,13C62.308,13,5,63.144,5,125c0,8.836,8.187,16,18.286,16s18.286-7.163,18.286-16c0-44.183,40.934-80,91.429-80s91.429,35.817,91.429,80c0,8.837,8.187,16,18.286,16S261,133.837,261,125C261,63.144,203.692,13,133,13Z" transform="translate(-5 115)" fill="#333"/>\r\n</>'
67
- export const list_check =
68
- '<>\r\n <path id="Icon_material-playlist-add-check" data-name="Icon material-playlist-add-check" d="M145.571,56.524H3V80.286H145.571Zm0-47.524H3V32.762H145.571ZM3,127.81H98.048V104.048H3ZM234.679,74.345,252.5,92.167l-83.048,83.167-53.583-53.464,17.821-17.821,35.762,35.643Z" transform="translate(-3 -9)" fill="#333"/>\r\n</>'
69
-
70
- export const icons = {
71
- bag,
72
- box,
73
- card,
74
- chart_bars,
75
- circle_chart,
76
- circle_check,
77
- circle_help,
78
- circle_not,
79
- circle_timer,
80
- comment,
81
- edit,
82
- envelop,
83
- eye,
84
- female,
85
- filter_list,
86
- grid,
87
- hand,
88
- headphone,
89
- list_ul,
90
- logo_live,
91
- logo_olos,
92
- notification,
93
- olos_cloud,
94
- search,
95
- sentiment_happy,
96
- sentiment_dissatisfied,
97
- sentiment_neutral,
98
- settings_ethernet,
99
- star_outline,
100
- tag,
101
- trash,
102
- usd,
103
- user,
104
- list_check,
105
- } as const
106
-
107
- export type IconKey = keyof typeof icons
@@ -1,11 +0,0 @@
1
- import { defaultIcons } from './default';
2
- import { normaIcons } from './norma';
3
-
4
- // Combine the icons from both files
5
- const Icons = { ...defaultIcons, ...normaIcons } as const;
6
-
7
- // Export icon types
8
- export type IconKey = keyof typeof Icons;
9
-
10
- // Export icon paths
11
- export default Icons;
@@ -1,94 +0,0 @@
1
- import React, { FunctionComponent, ComponentProps } from 'react'
2
- import { normaIcons } from './norma'
3
- import { palette } from '../../helpers/colors'
4
- import styled from 'styled-components'
5
- import { Svg } from './svg'
6
-
7
- export type IconScale = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge' | '3xlarge'
8
- export type Colors =
9
- | 'default'
10
- | 'primary'
11
- | 'secondary'
12
- | 'error'
13
- | 'info'
14
- | 'success'
15
- | 'warning'
16
- | 'white'
17
- | 'black'
18
-
19
- const scaleSize: Record<IconScale, number> = {
20
- xsmall: 14,
21
- small: 20,
22
- medium: 24,
23
- large: 28,
24
- xlarge: 32,
25
- '2xlarge': 36,
26
- '3xlarge': 40,
27
- }
28
-
29
- // Definindo um objeto com as cores de preenchimento e traço com base no MUI
30
- const colors: Record<Colors, string> = {
31
- default: palette.inherit,
32
- primary: palette.primary,
33
- secondary: palette.secondary,
34
- error: palette.error,
35
- info: palette.info,
36
- success: palette.success,
37
- warning: palette.warning,
38
- white: palette.white,
39
- black: palette.black,
40
- }
41
-
42
- export interface IconsProps extends ComponentProps<typeof Svg> {
43
- icon: IconType
44
- useSymbol?: boolean
45
- scale?: IconScale
46
- color?: Colors
47
- }
48
-
49
- export const Icons: FunctionComponent<IconsProps> = ({
50
- icon,
51
- scale,
52
- useSymbol,
53
- color = 'default', // Define 'default' como valor padrão se a prop não for fornecida
54
- ...props
55
- }: IconsProps) => {
56
- let width = 24
57
- let height = 24
58
- if (scale) {
59
- width = scaleSize[scale]
60
- height = scaleSize[scale]
61
- }
62
-
63
- // Obtém a cor de preenchimento e traço com base no valor da prop 'color'
64
- const fill = colors[color]
65
- const stroke = colors[color]
66
-
67
- const Svg = styled.svg`
68
- display: inline-block;
69
- shape-rendering: inherit;
70
- vertical-align: middle;
71
- fill: ${fill};
72
- path {
73
- stroke: ${stroke};
74
- }
75
- circle {
76
- stroke: ${stroke};
77
- }
78
- rect {
79
- stroke: ${stroke};
80
- }
81
- `
82
-
83
- return (
84
- <Svg viewBox="0 0 64 64" width={`${width}px`} height={`${height}px`} {...props}>
85
- {useSymbol ? (
86
- <use xlinkHref={`#icon--${icon}`} fill={fill} stroke={stroke} />
87
- ) : (
88
- React.cloneElement(normaIcons[icon], { fill, stroke })
89
- )}
90
- </Svg>
91
- )
92
- }
93
-
94
- export type IconType = keyof typeof normaIcons
@@ -1,11 +0,0 @@
1
- import styled from 'styled-components';
2
-
3
- export const IconsContainer = styled.svg`
4
- display: inline-block;
5
- shape-rendering: inherit;
6
- vertical-align: middle;
7
-
8
- path {
9
- fill: 'inherit';
10
- }
11
- `;
@@ -1,24 +0,0 @@
1
- import { styled } from 'styled-components'
2
-
3
- interface SvgProps {
4
- inline?: boolean
5
- }
6
-
7
- const Svg = styled.svg<SvgProps>(
8
- {
9
- // Fix rendering bugs in Chrome for hdpi
10
- shapeRendering: 'inherit',
11
- transform: 'translate3d(0,0,0)',
12
- },
13
- ({ inline }) =>
14
- inline
15
- ? {
16
- display: 'inline-block',
17
- }
18
- : {
19
- display: 'block',
20
- },
21
- )
22
- Svg.displayName = 'Svg'
23
-
24
- export { Svg }
@@ -1,14 +0,0 @@
1
- import { defaultIcons } from './default'
2
- import { IconsColors as Colors } from '../../helpers/colors'
3
- import { IconsSizes as Sizes } from '../../helpers/sizes'
4
-
5
- export interface IconsProps {
6
- icon: IconType
7
- scale?: Sizes
8
- color?: Colors
9
- width?: number
10
- height?: number
11
- fill?: string
12
- }
13
-
14
- export type IconType = keyof typeof defaultIcons
@@ -1 +0,0 @@
1
- export * from './modal';
@@ -1,55 +0,0 @@
1
- import React from "react"
2
- import type { StoryDefault, Story } from '@ladle/react'
3
- import { Modal } from './modal'
4
- import { Button } from '../button'
5
- import { useState } from 'react'
6
- import { StyledModalBody } from './styles'
7
-
8
- export default {
9
- title: 'Layout / Modal',
10
- meta: {
11
- key: 'modal',
12
- },
13
- } satisfies StoryDefault
14
-
15
- export const ModalSimple: Story = () => {
16
- const [open, setOpen] = useState(false)
17
- const handleOpen = () => setOpen(true)
18
- const handleClose = () => setOpen(false)
19
-
20
- return (
21
- <div style={{ display: 'flex', gap: '1rem' }}>
22
- <Button variant="text" label="Open modal" onClick={handleOpen} />
23
- <Modal
24
- open={open}
25
- onClose={handleClose}
26
- aria-labelledby="modal-modal-title"
27
- aria-describedby="modal-modal-description"
28
- >
29
- <div
30
- style={{
31
- background: '#FFFFFF 0% 0% no-repeat padding-box',
32
- border: '1px solid #00000033',
33
- opacity: 1,
34
- position: 'absolute',
35
- top: '50%',
36
- left: '50%',
37
- transform: 'translate(-50%, -50%)',
38
- width: 400,
39
- height: 298,
40
- borderRadius: 4,
41
- }}
42
- >
43
- <StyledModalBody>
44
- <h2>Text in a modal</h2>
45
- <p id="modal-modal-description" style={{ marginTop: 2 }}>
46
- Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
47
- </p>
48
- </StyledModalBody>
49
- </div>
50
- </Modal>
51
- </div>
52
- )
53
- }
54
-
55
- ModalSimple.storyName = 'Modal Simple'
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import { ModalBaseProps } from './types';
3
- import { Modal as MuiModal } from '@mui/material';
4
- import { Box } from '@mui/material';
5
- import { ModalHeader } from './modalHeader';
6
- import { ModalFooter } from './modalFooter';
7
- import { StyledModalBody } from './styles';
8
-
9
- const style = {
10
- background: '#FFFFFF 0% 0% no-repeat padding-box',
11
- border: '1px solid #00000033',
12
- opacity: 1,
13
- position: 'absolute',
14
- top: '50%',
15
- left: '50%',
16
- transform: 'translate(-50%, -50%)',
17
- width: 400,
18
- bgcolor: 'background.paper',
19
- borderRadius: 1,
20
- boxShadow: 48,
21
- p: 0,
22
- };
23
-
24
- export const Modal: React.FC<ModalBaseProps> = ({
25
- title,
26
- open = false,
27
- onConfirm,
28
- children,
29
- onClose,
30
- onCancel,
31
- ...props
32
- }) => {
33
- return (
34
- <MuiModal {...props} open={open}>
35
- <Box sx={style}>
36
- <ModalHeader onClose={onClose} title={title} />
37
- <StyledModalBody>{children}</StyledModalBody>
38
- {onConfirm && <ModalFooter onCancel={onCancel} onConfirm={onConfirm} />}
39
- </Box>
40
- </MuiModal>
41
- );
42
- };
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import styled from 'styled-components';
3
- import { Button } from '../button/button';
4
- import { ModalFooterProps } from './types';
5
-
6
- export const ModalFooter: React.FC<ModalFooterProps> = ({
7
- onCancel,
8
- onConfirm,
9
- }) => {
10
- const StyledModalFooter = styled.div`
11
- display: flex;
12
- justify-content: flex-end;
13
- padding: 16px;
14
- align-items: center;
15
- height: 50px;
16
- padding-top: 10px;
17
- margin-top: 10px;
18
- border-top: 1px solid #e9ecef;
19
- `;
20
- return (
21
- <StyledModalFooter>
22
- <Button
23
- onClick={onCancel}
24
- label="Cancel"
25
- variant="outlined"
26
- color="primary"
27
- style={{ marginRight: '10px' }}
28
- />
29
- <Button onClick={onConfirm} label="Confirm" color="primary" />
30
- </StyledModalFooter>
31
- );
32
- };
@@ -1,46 +0,0 @@
1
- import React from 'react';
2
- import styled from 'styled-components';
3
- import { ModalHeaderProps } from './types';
4
- import { IconButton } from '@mui/material';
5
- import { Icons } from '../icon/defaultIcon';
6
- import { StyledBoxIcon } from './styles';
7
-
8
- export const ModalHeader: React.FC<ModalHeaderProps> = ({ title }) => {
9
- const StyledModalHeader = styled.div`
10
- display: flex;
11
- justify-content: space-between;
12
- align-items: center;
13
- text-align: left;
14
- font: normal normal 600 16px/24px Source Sans Pro;
15
- letter-spacing: 0px;
16
- color: #292929;
17
- opacity: 1;
18
- height: 25px;
19
- padding-bottom: 10px;
20
- margin-bottom: 10px;
21
- border-bottom: ${title ? '1px solid #e9ecef' : '0'};
22
- padding: 10px;
23
- }
24
- `;
25
- return (
26
- <StyledModalHeader>
27
- {title && <h3>{title}</h3>}
28
- <IconButton
29
- aria-label="close"
30
- sx={{
31
- position: 'absolute',
32
- right: 8,
33
- top: 10,
34
- padding: 2,
35
- width: 16,
36
- height: 16,
37
- color: theme => theme.palette.grey[500],
38
- }}
39
- >
40
- <StyledBoxIcon>
41
- <Icons icon={'closeAlt'} scale={'small'} />
42
- </StyledBoxIcon>
43
- </IconButton>
44
- </StyledModalHeader>
45
- );
46
- };
@@ -1,13 +0,0 @@
1
- import styled from 'styled-components';
2
-
3
- export const StyledModalBody = styled.div`
4
- padding: 16px;
5
- `;
6
-
7
- export const StyledBoxIcon = styled.div`
8
- position: relative;
9
- top: 2px;
10
- padding: 0;
11
- margin: 0;
12
- left: 3px;
13
- `;