vpt-sebraeds 0.0.76 → 0.0.78

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 (397) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +225 -225
  3. package/components/Accordion/Accordion.stories.jsx +143 -143
  4. package/components/Accordion/README.md +144 -144
  5. package/components/Accordion/index.jsx +334 -334
  6. package/components/AccordionAvatar/AccordionAvatar.stories.jsx +27 -27
  7. package/components/AccordionAvatar/index.jsx +94 -94
  8. package/components/AdBanner/AdBanner.stories.jsx +62 -62
  9. package/components/AdBanner/index.jsx +92 -92
  10. package/components/Avatar/Avatar.stories.jsx +59 -59
  11. package/components/Avatar/index.jsx +102 -102
  12. package/components/Banner/Banner.stories.jsx +127 -127
  13. package/components/Banner/index.jsx +70 -70
  14. package/components/BottomSheet/BottomSheet.jsx +235 -235
  15. package/components/BottomSheet/BottomSheet.stories.jsx +541 -541
  16. package/components/BottomSheet/BottomSheetNomeEmpresa.jsx +110 -110
  17. package/components/BottomSheet/Components/ActionButtons.jsx +91 -91
  18. package/components/BottomSheet/Components/ListaDeEstados.jsx +337 -337
  19. package/components/BottomSheet/index.jsx +1 -1
  20. package/components/Breadcrumb/Breadcrumb.stories.jsx +62 -62
  21. package/components/Breadcrumb/index.jsx +88 -88
  22. package/components/Bullet/Bullet.stories.jsx +55 -55
  23. package/components/Bullet/index.jsx +224 -224
  24. package/components/Button/ButtonPrimary.stories.jsx +372 -372
  25. package/components/Button/index.jsx +528 -528
  26. package/components/ButtonGroup/ButtonGroup.stories.jsx +431 -383
  27. package/components/ButtonGroup/index.tsx +516 -439
  28. package/components/CNAESelectItem/CNAESelectItem.stories.jsx +195 -195
  29. package/components/CNAESelectItem/index.jsx +259 -259
  30. package/components/CNAESelectItem/padrao.js +1145 -1145
  31. package/components/CardNumber/CardNumber.stories.jsx +60 -60
  32. package/components/CardNumber/index.jsx +136 -136
  33. package/components/Checkbox/Checkbox.stories.jsx +70 -70
  34. package/components/Checkbox/index.jsx +125 -125
  35. package/components/CommitmentCard/CommitmentCard.stories.jsx +282 -282
  36. package/components/CommitmentCard/index.jsx +227 -227
  37. package/components/ContentBlock/ContentBlock.stories.tsx +48 -48
  38. package/components/ContentBlock/ContentBlock.tsx +50 -50
  39. package/components/ContentCard/ContentCard.stories.jsx +130 -130
  40. package/components/ContentCard/index.jsx +326 -326
  41. package/components/ContentRelatedCard/ContentRelatedCard.stories.jsx +79 -79
  42. package/components/ContentRelatedCard/index.jsx +79 -79
  43. package/components/ContentSlot/ContentSlot.stories.jsx +276 -276
  44. package/components/ContentSlot/index.jsx +196 -196
  45. package/components/CopyButton/CopyButton.stories.jsx +110 -110
  46. package/components/CopyButton/index.jsx +192 -192
  47. package/components/Datepicker/Datepicker.stories.jsx +291 -239
  48. package/components/Datepicker/MonthSelector.jsx +323 -323
  49. package/components/Datepicker/TimeSelector.jsx +261 -261
  50. package/components/Datepicker/index.jsx +815 -454
  51. package/components/DonutChart/DonutChart.stories.jsx +221 -221
  52. package/components/DonutChart/index.jsx +191 -191
  53. package/components/Dropdown/Dropdown.stories.jsx +331 -331
  54. package/components/Dropdown/index.jsx +556 -556
  55. package/components/DropdownCommitments/index.js +149 -149
  56. package/components/EmptySlot/EmptySlot.stories.jsx +114 -114
  57. package/components/EmptySlot/index.jsx +152 -152
  58. package/components/EventListItem/EventListItem.stories.tsx +179 -179
  59. package/components/EventListItem/index.tsx +532 -514
  60. package/components/ExpandableNumberDisplay/ExpandableNumberDisplay.stories.jsx +92 -92
  61. package/components/ExpandableNumberDisplay/index.tsx +126 -126
  62. package/components/FilterTag/FilterTag.stories.jsx +54 -54
  63. package/components/FilterTag/index.jsx +69 -69
  64. package/components/FilterableMultiSelect/FilterableMultiSelect.stories.jsx +63 -63
  65. package/components/FilterableMultiSelect/index.jsx +207 -207
  66. package/components/FilterableUniSelect/FilterableUniSelect.stories.jsx +68 -68
  67. package/components/FilterableUniSelect/index.jsx +251 -251
  68. package/components/GeneralInformationCard/GeneralInformationCard.stories.jsx +62 -62
  69. package/components/GeneralInformationCard/index.tsx +123 -123
  70. package/components/GettingStarted.jsx +38 -38
  71. package/components/Header/Header.stories.jsx +1075 -1008
  72. package/components/Header/HeaderV2.stories.jsx +1200 -1113
  73. package/components/Header/index.jsx +5 -5
  74. package/components/Header/v1/components/Context.jsx +32 -32
  75. package/components/Header/v1/components/Information.jsx +109 -107
  76. package/components/Header/v1/components/Shortcut.jsx +45 -45
  77. package/components/Header/v1/components/SwitchAccount.jsx +301 -211
  78. package/components/Header/v1/components/Variants.jsx +479 -478
  79. package/components/Header/v1/components/index.jsx +12 -12
  80. package/components/Header/v1/index.jsx +195 -195
  81. package/components/Header/v2/README.md +757 -724
  82. package/components/Header/v2/index.jsx +224 -219
  83. package/components/Header/v2/parts/BackButton.jsx +36 -36
  84. package/components/Header/v2/parts/Context.jsx +25 -25
  85. package/components/Header/v2/parts/Hero.jsx +68 -59
  86. package/components/Header/v2/parts/Information.jsx +68 -66
  87. package/components/Header/v2/parts/Shortcut.jsx +39 -39
  88. package/components/Header/v2/parts/SwitchAccount.jsx +381 -290
  89. package/components/Header/v2/parts/Variants.jsx +420 -353
  90. package/components/Header/v2/parts/index.jsx +22 -22
  91. package/components/Header/v2/styles.js +598 -598
  92. package/components/Icon/iconEnums.ts +285 -285
  93. package/components/Icon/index.jsx +38 -38
  94. package/components/Image/Image.stories.jsx +250 -250
  95. package/components/Image/index.jsx +175 -175
  96. package/components/Input/Input.stories.jsx +394 -394
  97. package/components/Input/InputUnderline.tsx +161 -161
  98. package/components/Input/index.jsx +305 -305
  99. package/components/Legend/Legend.stories.jsx +110 -110
  100. package/components/Legend/index.jsx +87 -87
  101. package/components/Link/Link.stories.jsx +78 -78
  102. package/components/Link/index.jsx +66 -66
  103. package/components/List/List.stories.jsx +57 -57
  104. package/components/List/index.jsx +64 -64
  105. package/components/ListItem/ListItem.stories.jsx +179 -179
  106. package/components/ListItem/index.jsx +532 -532
  107. package/components/MenuAccordion/MenuAccordion.stories.jsx +27 -27
  108. package/components/MenuAccordion/index.jsx +98 -98
  109. package/components/Modal/Modal.stories.jsx +151 -151
  110. package/components/Modal/index.jsx +249 -249
  111. package/components/Navbar/Navbar.stories.jsx +244 -244
  112. package/components/Navbar/index.jsx +130 -130
  113. package/components/NavigationItem/NavigationItem.stories.tsx +483 -454
  114. package/components/NavigationItem/index.tsx +792 -524
  115. package/components/NotificationBanner/NotificationBanner.stories.jsx +57 -57
  116. package/components/NotificationBanner/index.jsx +154 -154
  117. package/components/NotificationCard/NotificationCard.stories.jsx +93 -93
  118. package/components/NotificationCard/index.jsx +338 -338
  119. package/components/NotificationDialog/NotificationDialog.stories.jsx +205 -205
  120. package/components/NotificationDialog/README.md +104 -104
  121. package/components/NotificationDialog/index.jsx +283 -283
  122. package/components/NumberDisplay/NumberDisplay.stories.jsx +339 -339
  123. package/components/NumberDisplay/index.jsx +483 -483
  124. package/components/Pagination/Pagination.stories.jsx +170 -170
  125. package/components/Pagination/index.jsx +229 -229
  126. package/components/ProgressBar/ProgressBar.stories.jsx +355 -355
  127. package/components/ProgressBar/index.jsx +91 -91
  128. package/components/ProgressChart/ProgressChart.stories.jsx +312 -312
  129. package/components/ProgressChart/index.jsx +193 -193
  130. package/components/Quote/Quote.stories.tsx +32 -32
  131. package/components/Quote/Quote.tsx +60 -60
  132. package/components/RadioButton/RadioButton.stories.jsx +112 -112
  133. package/components/RadioButton/index.jsx +114 -114
  134. package/components/RangeSlider/RangeSlider.stories.jsx +165 -165
  135. package/components/RangeSlider/index.tsx +255 -255
  136. package/components/Rating/Rating.stories.jsx +196 -196
  137. package/components/Rating/index.jsx +187 -187
  138. package/components/SEIcon/CustomIcon/boletoDasMei.jsx +25 -25
  139. package/components/SEIcon/CustomIcon/calculadoraPrecoIdeal.jsx +22 -22
  140. package/components/SEIcon/CustomIcon/calculadoraValuation.jsx +21 -21
  141. package/components/SEIcon/CustomIcon/capacidadePagamento.jsx +22 -22
  142. package/components/SEIcon/CustomIcon/capitalGiro.jsx +22 -22
  143. package/components/SEIcon/CustomIcon/catalogoFornecedores.jsx +22 -22
  144. package/components/SEIcon/CustomIcon/creditoPermutas.jsx +22 -22
  145. package/components/SEIcon/CustomIcon/dataValidadeEpi.jsx +25 -25
  146. package/components/SEIcon/CustomIcon/diagnosticoEstrategico.jsx +22 -22
  147. package/components/SEIcon/CustomIcon/dominandoRedesSociais.jsx +22 -22
  148. package/components/SEIcon/CustomIcon/empresaGoogle.jsx +22 -22
  149. package/components/SEIcon/CustomIcon/fluxoCaixa.jsx +22 -22
  150. package/components/SEIcon/CustomIcon/fornecedoresTi.jsx +22 -22
  151. package/components/SEIcon/CustomIcon/geradoresIdeiasIA.jsx +25 -25
  152. package/components/SEIcon/CustomIcon/gestaoAgendamento.jsx +22 -22
  153. package/components/SEIcon/CustomIcon/impostoMei.jsx +22 -22
  154. package/components/SEIcon/CustomIcon/indicadorPorRegiao.jsx +27 -27
  155. package/components/SEIcon/CustomIcon/indicadoresMercado.jsx +25 -25
  156. package/components/SEIcon/CustomIcon/listaEpi.jsx +22 -22
  157. package/components/SEIcon/CustomIcon/lucroPotencial.jsx +24 -24
  158. package/components/SEIcon/CustomIcon/melhoresRegioesComerciais.jsx +24 -24
  159. package/components/SEIcon/CustomIcon/ncmComCodigoDeBarras.jsx +25 -25
  160. package/components/SEIcon/CustomIcon/pesquisaRegistroDeMarca.jsx +23 -23
  161. package/components/SEIcon/CustomIcon/planoNegocios.jsx +23 -23
  162. package/components/SEIcon/CustomIcon/postsInteligentes.jsx +24 -24
  163. package/components/SEIcon/CustomIcon/sebraeConecta.jsx +25 -25
  164. package/components/SEIcon/CustomIcon/segurancaTrabalho.jsx +25 -25
  165. package/components/SEIcon/CustomIcon/simuladorEmprestimo.jsx +22 -22
  166. package/components/SEIcon/SEIcon.stories.jsx +211 -211
  167. package/components/SEIcon/index.js +114 -114
  168. package/components/SEText/index.d.ts +74 -74
  169. package/components/SEText/index.js +171 -171
  170. package/components/SEText/styles.js +348 -348
  171. package/components/ScrollBar/ScrollBar.stories.tsx +65 -65
  172. package/components/ScrollBar/index.tsx +139 -139
  173. package/components/Search/Search.stories.jsx +161 -161
  174. package/components/Search/index.jsx +267 -267
  175. package/components/SegmentedButton/SegmentedButton.stories.jsx +274 -274
  176. package/components/SegmentedButton/index.jsx +195 -195
  177. package/components/Select/Select.stories.jsx +415 -415
  178. package/components/Select/index.jsx +321 -321
  179. package/components/SelectItem/SelectItem.stories.jsx +609 -609
  180. package/components/SelectItem/index.jsx +174 -174
  181. package/components/Shortcut/Shortcut.stories.jsx +202 -202
  182. package/components/Shortcut/index.jsx +294 -294
  183. package/components/ShowMore/ShowMore.stories.jsx +70 -70
  184. package/components/ShowMore/index.jsx +68 -68
  185. package/components/ShuffleItem/ShuffleItem.stories.jsx +278 -278
  186. package/components/ShuffleItem/index.jsx +723 -723
  187. package/components/Slider/Slider.stories.jsx +248 -248
  188. package/components/Slider/index.jsx +211 -211
  189. package/components/Tab/Tab.stories.jsx +323 -323
  190. package/components/Tab/index.jsx +483 -483
  191. package/components/Table/Table.stories.jsx +253 -253
  192. package/components/Table/index.jsx +432 -432
  193. package/components/Tag/Tag.stories.jsx +78 -78
  194. package/components/Tag/index.d.ts +10 -10
  195. package/components/Tag/index.jsx +129 -129
  196. package/components/TaggedInputText/TaggedInputText.stories.jsx +106 -106
  197. package/components/TaggedInputText/index.jsx +232 -232
  198. package/components/TaskCard/TaskCard.stories.jsx +468 -468
  199. package/components/TaskCard/assets/README.md +22 -22
  200. package/components/TaskCard/assets/example.js +10 -10
  201. package/components/TaskCard/components/EditIcon.jsx +78 -78
  202. package/components/TaskCard/components/SuccessContent.jsx +52 -52
  203. package/components/TaskCard/components/SuccessIcon.jsx +52 -52
  204. package/components/TaskCard/components/SuccessTitle.jsx +49 -49
  205. package/components/TaskCard/components/Tag.jsx +80 -80
  206. package/components/TaskCard/components/TagGroup.jsx +60 -60
  207. package/components/TaskCard/components/TaskDescription.jsx +51 -51
  208. package/components/TaskCard/components/index.js +7 -7
  209. package/components/TaskCard/index.jsx +317 -317
  210. package/components/Toast/Toast.stories.jsx +316 -316
  211. package/components/Toast/index.jsx +386 -386
  212. package/components/Toggle/Toggle.stories.jsx +161 -161
  213. package/components/Toggle/index.jsx +145 -145
  214. package/components/Tools/NavigationButton/NavigationButton.stories.jsx +140 -140
  215. package/components/Tools/NavigationButton/index.jsx +341 -341
  216. package/components/Tools/SearchResult/SearchResult.stories.jsx +112 -112
  217. package/components/Tools/SearchResult/index.jsx +106 -106
  218. package/components/TooltipCard/TooltipCard.stories.jsx +88 -88
  219. package/components/TooltipCard/index.jsx +355 -355
  220. package/components/Typography/Typography.stories.jsx +262 -262
  221. package/components/Typography/index.jsx +137 -137
  222. package/components/styles/colors.js +204 -204
  223. package/components/styles/fonts.js +15 -15
  224. package/components/styles/index,js +7 -7
  225. package/components/styles/metrics.js +13 -13
  226. package/components/styles/tokens.ts +222 -222
  227. package/components/styles.ts +79 -79
  228. package/components/utils/fontFamily.js +6 -6
  229. package/dist/components/Accordion/index.js +32 -32
  230. package/dist/components/AccordionAvatar/index.js +19 -19
  231. package/dist/components/AdBanner/index.js +12 -12
  232. package/dist/components/Avatar/index.js +6 -6
  233. package/dist/components/Banner/index.js +5 -5
  234. package/dist/components/BottomSheet/BottomSheet.js +31 -31
  235. package/dist/components/BottomSheet/BottomSheetNomeEmpresa.js +21 -21
  236. package/dist/components/BottomSheet/Components/ActionButtons.js +13 -13
  237. package/dist/components/BottomSheet/Components/ListaDeEstados.js +10 -10
  238. package/dist/components/Breadcrumb/index.js +7 -7
  239. package/dist/components/Bullet/index.js +14 -14
  240. package/dist/components/ButtomGroup/index.js +21 -21
  241. package/dist/components/Button/index.js +15 -15
  242. package/dist/components/ButtonGroup/index.d.ts +4 -2
  243. package/dist/components/ButtonGroup/index.d.ts.map +1 -1
  244. package/dist/components/ButtonGroup/index.js +68 -25
  245. package/dist/components/CNAESelectItem/index.js +54 -54
  246. package/dist/components/CNAESelectItem/padrao.js +213 -213
  247. package/dist/components/CardNumber/index.js +16 -16
  248. package/dist/components/Checkbox/index.js +7 -7
  249. package/dist/components/CommitmentCard/index.js +30 -30
  250. package/dist/components/ContentBlock/ContentBlock.js +7 -7
  251. package/dist/components/ContentCard/index.js +50 -50
  252. package/dist/components/ContentRelatedCard/index.js +10 -10
  253. package/dist/components/ContentSlot/index.js +31 -31
  254. package/dist/components/CopyButton/index.js +5 -5
  255. package/dist/components/Datepicker/MonthSelector.js +13 -13
  256. package/dist/components/Datepicker/TimeSelector.js +15 -15
  257. package/dist/components/Datepicker/index.d.ts.map +1 -1
  258. package/dist/components/Datepicker/index.js +485 -149
  259. package/dist/components/DonutChart/index.js +19 -19
  260. package/dist/components/Dropdown/index.js +66 -66
  261. package/dist/components/DropdownCommitments/index.js +24 -24
  262. package/dist/components/EmptySlot/index.js +19 -19
  263. package/dist/components/EventListItem/index.d.ts.map +1 -1
  264. package/dist/components/EventListItem/index.js +61 -43
  265. package/dist/components/ExpandableNumberDisplay/index.js +19 -19
  266. package/dist/components/FilterTag/index.js +7 -7
  267. package/dist/components/FilterableMultiSelect/index.js +29 -29
  268. package/dist/components/FilterableUniSelect/index.js +33 -33
  269. package/dist/components/GeneralInformationCard/index.js +24 -24
  270. package/dist/components/GettingStarted.js +8 -8
  271. package/dist/components/Header/components/Context.d.ts +7 -7
  272. package/dist/components/Header/components/Context.js +21 -21
  273. package/dist/components/Header/components/Information.d.ts +6 -6
  274. package/dist/components/Header/components/Information.js +72 -72
  275. package/dist/components/Header/components/Shortcut.d.ts +5 -5
  276. package/dist/components/Header/components/Shortcut.js +25 -25
  277. package/dist/components/Header/components/SwitchAccount.d.ts +8 -8
  278. package/dist/components/Header/components/SwitchAccount.js +170 -170
  279. package/dist/components/Header/components/Variants.d.ts +22 -22
  280. package/dist/components/Header/components/Variants.js +371 -371
  281. package/dist/components/Header/components/index.d.ts +33 -33
  282. package/dist/components/Header/components/index.js +10 -10
  283. package/dist/components/Header/v1/components/Context.js +2 -2
  284. package/dist/components/Header/v1/components/Information.d.ts +2 -1
  285. package/dist/components/Header/v1/components/Information.d.ts.map +1 -1
  286. package/dist/components/Header/v1/components/Information.js +16 -15
  287. package/dist/components/Header/v1/components/SwitchAccount.d.ts +2 -1
  288. package/dist/components/Header/v1/components/SwitchAccount.d.ts.map +1 -1
  289. package/dist/components/Header/v1/components/SwitchAccount.js +124 -42
  290. package/dist/components/Header/v1/components/Variants.d.ts.map +1 -1
  291. package/dist/components/Header/v1/components/Variants.js +84 -84
  292. package/dist/components/Header/v1/index.js +5 -5
  293. package/dist/components/Header/v2/index.js +11 -6
  294. package/dist/components/Header/v2/parts/BackButton.js +2 -2
  295. package/dist/components/Header/v2/parts/Context.js +2 -2
  296. package/dist/components/Header/v2/parts/Hero.d.ts +2 -1
  297. package/dist/components/Header/v2/parts/Hero.d.ts.map +1 -1
  298. package/dist/components/Header/v2/parts/Hero.js +14 -10
  299. package/dist/components/Header/v2/parts/Information.d.ts +2 -1
  300. package/dist/components/Header/v2/parts/Information.d.ts.map +1 -1
  301. package/dist/components/Header/v2/parts/Information.js +14 -13
  302. package/dist/components/Header/v2/parts/SwitchAccount.d.ts +2 -1
  303. package/dist/components/Header/v2/parts/SwitchAccount.d.ts.map +1 -1
  304. package/dist/components/Header/v2/parts/SwitchAccount.js +147 -66
  305. package/dist/components/Header/v2/parts/Variants.d.ts +21 -0
  306. package/dist/components/Header/v2/parts/Variants.d.ts.map +1 -1
  307. package/dist/components/Header/v2/parts/Variants.js +188 -148
  308. package/dist/components/Header/v2/parts/index.d.ts +18 -0
  309. package/dist/components/Image/index.js +22 -22
  310. package/dist/components/Input/InputUnderline.js +7 -7
  311. package/dist/components/Input/index.js +14 -14
  312. package/dist/components/Legend/index.js +8 -8
  313. package/dist/components/Link/index.js +7 -7
  314. package/dist/components/List/index.js +7 -7
  315. package/dist/components/ListItem/index.js +74 -74
  316. package/dist/components/MenuAccordion/index.js +21 -21
  317. package/dist/components/Modal/index.js +38 -38
  318. package/dist/components/Navbar/index.js +9 -9
  319. package/dist/components/NavigationItem/index.d.ts +73 -10
  320. package/dist/components/NavigationItem/index.d.ts.map +1 -1
  321. package/dist/components/NavigationItem/index.js +300 -145
  322. package/dist/components/NotificationBanner/index.js +8 -8
  323. package/dist/components/NotificationCard/index.js +41 -41
  324. package/dist/components/NotificationDialog/index.js +46 -46
  325. package/dist/components/NumberDisplay/index.js +24 -24
  326. package/dist/components/Pagination/index.js +23 -23
  327. package/dist/components/ProgressBar/index.js +14 -14
  328. package/dist/components/ProgressChart/index.js +29 -29
  329. package/dist/components/Quote/Quote.js +9 -9
  330. package/dist/components/RadioButton/index.js +7 -7
  331. package/dist/components/RangeSlider/index.js +32 -32
  332. package/dist/components/Rating/index.js +16 -16
  333. package/dist/components/SEIcon/CustomIcon/boletoDasMei.js +6 -6
  334. package/dist/components/SEIcon/CustomIcon/calculadoraPrecoIdeal.js +3 -3
  335. package/dist/components/SEIcon/CustomIcon/calculadoraValuation.js +3 -3
  336. package/dist/components/SEIcon/CustomIcon/capacidadePagamento.js +3 -3
  337. package/dist/components/SEIcon/CustomIcon/capitalGiro.js +3 -3
  338. package/dist/components/SEIcon/CustomIcon/catalogoFornecedores.js +3 -3
  339. package/dist/components/SEIcon/CustomIcon/creditoPermutas.js +3 -3
  340. package/dist/components/SEIcon/CustomIcon/dataValidadeEpi.js +6 -6
  341. package/dist/components/SEIcon/CustomIcon/diagnosticoEstrategico.js +3 -3
  342. package/dist/components/SEIcon/CustomIcon/dominandoRedesSociais.js +3 -3
  343. package/dist/components/SEIcon/CustomIcon/empresaGoogle.js +3 -3
  344. package/dist/components/SEIcon/CustomIcon/fluxoCaixa.js +3 -3
  345. package/dist/components/SEIcon/CustomIcon/fornecedoresTi.js +3 -3
  346. package/dist/components/SEIcon/CustomIcon/geradoresIdeiasIA.js +6 -6
  347. package/dist/components/SEIcon/CustomIcon/gestaoAgendamento.js +3 -3
  348. package/dist/components/SEIcon/CustomIcon/impostoMei.js +3 -3
  349. package/dist/components/SEIcon/CustomIcon/indicadorPorRegiao.js +6 -6
  350. package/dist/components/SEIcon/CustomIcon/indicadoresMercado.js +6 -6
  351. package/dist/components/SEIcon/CustomIcon/listaEpi.js +3 -3
  352. package/dist/components/SEIcon/CustomIcon/lucroPotencial.js +6 -6
  353. package/dist/components/SEIcon/CustomIcon/melhoresRegioesComerciais.js +6 -6
  354. package/dist/components/SEIcon/CustomIcon/ncmComCodigoDeBarras.js +6 -6
  355. package/dist/components/SEIcon/CustomIcon/pesquisaRegistroDeMarca.js +3 -3
  356. package/dist/components/SEIcon/CustomIcon/planoNegocios.js +3 -3
  357. package/dist/components/SEIcon/CustomIcon/postsInteligentes.js +6 -6
  358. package/dist/components/SEIcon/CustomIcon/sebraeConecta.js +6 -6
  359. package/dist/components/SEIcon/CustomIcon/segurancaTrabalho.js +6 -6
  360. package/dist/components/SEIcon/CustomIcon/simuladorEmprestimo.js +3 -3
  361. package/dist/components/SEText/index.js +2 -2
  362. package/dist/components/ScrollBar/index.js +8 -8
  363. package/dist/components/Search/Search.d.ts +14 -14
  364. package/dist/components/Search/Search.js +272 -272
  365. package/dist/components/Search/index.js +17 -17
  366. package/dist/components/SegmentedButton/index.js +10 -10
  367. package/dist/components/Select/index.js +16 -16
  368. package/dist/components/SelectItem/index.js +6 -6
  369. package/dist/components/Shortcut/index.js +14 -14
  370. package/dist/components/ShowMore/index.js +7 -7
  371. package/dist/components/ShuffleItem/index.js +98 -98
  372. package/dist/components/Slider/index.js +20 -20
  373. package/dist/components/Tab/index.js +26 -26
  374. package/dist/components/Table/index.js +35 -35
  375. package/dist/components/Tag/index.js +5 -5
  376. package/dist/components/TaggedInputText/index.js +20 -20
  377. package/dist/components/TaskCard/assets/README.md +22 -22
  378. package/dist/components/TaskCard/assets/example.js +10 -10
  379. package/dist/components/TaskCard/components/EditIcon.js +2 -2
  380. package/dist/components/TaskCard/components/SuccessContent.js +3 -3
  381. package/dist/components/TaskCard/components/SuccessIcon.js +2 -2
  382. package/dist/components/TaskCard/components/SuccessTitle.js +2 -2
  383. package/dist/components/TaskCard/components/Tag.js +4 -4
  384. package/dist/components/TaskCard/components/TagGroup.js +4 -4
  385. package/dist/components/TaskCard/components/TaskDescription.js +2 -2
  386. package/dist/components/TaskCard/index.js +51 -51
  387. package/dist/components/Toast/index.js +36 -36
  388. package/dist/components/Toggle/index.js +3 -3
  389. package/dist/components/Tools/NavigationButton/index.js +53 -53
  390. package/dist/components/Tools/SearchResult/index.js +19 -19
  391. package/dist/components/TooltipCard/index.js +46 -46
  392. package/dist/components/Typography/index.js +2 -2
  393. package/dist/src/index.d.ts +3 -0
  394. package/dist/src/index.d.ts.map +1 -1
  395. package/dist/src/index.js +5 -0
  396. package/package.json +124 -124
  397. package/src/index.ts +107 -100
@@ -1,27 +1,27 @@
1
- import React from 'react';
2
- import AccordionAvatar from './index';
3
-
4
- export default {
5
- title: 'Molecule/AccordionAvatar',
6
- component: AccordionAvatar,
7
- };
8
-
9
- export const Default = {
10
- render: () => (
11
- <AccordionAvatar
12
- label="Label"
13
- items={[
14
- 'Label',
15
- 'Label',
16
- 'Label',
17
- 'Label',
18
- 'Label',
19
- 'Label',
20
- 'Label',
21
- 'Label',
22
- 'Label',
23
- 'Label',
24
- ]}
25
- />
26
- ),
27
- };
1
+ import React from 'react';
2
+ import AccordionAvatar from './index';
3
+
4
+ export default {
5
+ title: 'Molecule/AccordionAvatar',
6
+ component: AccordionAvatar,
7
+ };
8
+
9
+ export const Default = {
10
+ render: () => (
11
+ <AccordionAvatar
12
+ label="Label"
13
+ items={[
14
+ 'Label',
15
+ 'Label',
16
+ 'Label',
17
+ 'Label',
18
+ 'Label',
19
+ 'Label',
20
+ 'Label',
21
+ 'Label',
22
+ 'Label',
23
+ 'Label',
24
+ ]}
25
+ />
26
+ ),
27
+ };
@@ -1,94 +1,94 @@
1
- import React, { useState } from 'react';
2
- import { View, Text, TouchableOpacity } from 'react-native';
3
- import Icon from '../Icon';
4
- import { fontFamily } from '../utils/fontFamily';
5
-
6
- const AccordionAvatar = ({
7
- avatarIcon = 'user-3-fill',
8
- label = 'Label',
9
- items = [],
10
- }) => {
11
- const [open, setOpen] = useState(false);
12
-
13
- return (
14
- <View style={{ width: 362 }}>
15
- {/* Header */}
16
- <TouchableOpacity
17
- style={{
18
- flexDirection: 'row',
19
- alignItems: 'center',
20
- height: 88,
21
- backgroundColor: '#fff',
22
- borderRadius: 8,
23
- paddingHorizontal: 16,
24
- }}
25
- onPress={() => setOpen(!open)}
26
- activeOpacity={0.8}
27
- >
28
- {/* Avatar */}
29
- <View style={{
30
- width: 32,
31
- height: 32,
32
- borderRadius: 16,
33
- backgroundColor: '#485274',
34
- alignItems: 'center',
35
- justifyContent: 'center',
36
- marginRight: 12,
37
- }}>
38
- <Icon name={avatarIcon} size={20} color="#fff" />
39
- </View>
40
- {/* Label */}
41
- <Text style={{
42
- fontFamily: fontFamily.bold,
43
- fontWeight: '700',
44
- fontSize: 24, // h5
45
- lineHeight: 32, // h5
46
- color: '#1B244B',
47
- flex: 1,
48
- }}>{label}</Text>
49
- {/* Seta */}
50
- <Icon
51
- name="arrow-right-line"
52
- size={11}
53
- color="#1B244B"
54
- style={{ marginLeft: 8 }}
55
- />
56
- </TouchableOpacity>
57
- {/* Lista */}
58
- {open && (
59
- <View style={{ backgroundColor: '#fff', borderRadius: 8, marginTop: 4 }}>
60
- {items.map((item, idx) => (
61
- <View
62
- key={idx}
63
- style={{
64
- flexDirection: 'row',
65
- alignItems: 'center',
66
- height: 40,
67
- width: 362,
68
- paddingHorizontal: 16,
69
- }}
70
- >
71
- <Text style={{
72
- fontFamily: fontFamily.bold,
73
- fontWeight: '700',
74
- fontSize: 16, // body-2
75
- lineHeight: 24, // body-2
76
- color: '#687499',
77
- flex: 1,
78
- textAlign: 'center',
79
- }}>{item}</Text>
80
- <Icon
81
- name="arrow-right-line"
82
- size={11}
83
- color="#687499"
84
- style={{ marginLeft: 8 }}
85
- />
86
- </View>
87
- ))}
88
- </View>
89
- )}
90
- </View>
91
- );
92
- };
93
-
94
- export default AccordionAvatar;
1
+ import React, { useState } from 'react';
2
+ import { View, Text, TouchableOpacity } from 'react-native';
3
+ import Icon from '../Icon';
4
+ import { fontFamily } from '../utils/fontFamily';
5
+
6
+ const AccordionAvatar = ({
7
+ avatarIcon = 'user-3-fill',
8
+ label = 'Label',
9
+ items = [],
10
+ }) => {
11
+ const [open, setOpen] = useState(false);
12
+
13
+ return (
14
+ <View style={{ width: 362 }}>
15
+ {/* Header */}
16
+ <TouchableOpacity
17
+ style={{
18
+ flexDirection: 'row',
19
+ alignItems: 'center',
20
+ height: 88,
21
+ backgroundColor: '#fff',
22
+ borderRadius: 8,
23
+ paddingHorizontal: 16,
24
+ }}
25
+ onPress={() => setOpen(!open)}
26
+ activeOpacity={0.8}
27
+ >
28
+ {/* Avatar */}
29
+ <View style={{
30
+ width: 32,
31
+ height: 32,
32
+ borderRadius: 16,
33
+ backgroundColor: '#485274',
34
+ alignItems: 'center',
35
+ justifyContent: 'center',
36
+ marginRight: 12,
37
+ }}>
38
+ <Icon name={avatarIcon} size={20} color="#fff" />
39
+ </View>
40
+ {/* Label */}
41
+ <Text style={{
42
+ fontFamily: fontFamily.bold,
43
+ fontWeight: '700',
44
+ fontSize: 24, // h5
45
+ lineHeight: 32, // h5
46
+ color: '#1B244B',
47
+ flex: 1,
48
+ }}>{label}</Text>
49
+ {/* Seta */}
50
+ <Icon
51
+ name="arrow-right-line"
52
+ size={11}
53
+ color="#1B244B"
54
+ style={{ marginLeft: 8 }}
55
+ />
56
+ </TouchableOpacity>
57
+ {/* Lista */}
58
+ {open && (
59
+ <View style={{ backgroundColor: '#fff', borderRadius: 8, marginTop: 4 }}>
60
+ {items.map((item, idx) => (
61
+ <View
62
+ key={idx}
63
+ style={{
64
+ flexDirection: 'row',
65
+ alignItems: 'center',
66
+ height: 40,
67
+ width: 362,
68
+ paddingHorizontal: 16,
69
+ }}
70
+ >
71
+ <Text style={{
72
+ fontFamily: fontFamily.bold,
73
+ fontWeight: '700',
74
+ fontSize: 16, // body-2
75
+ lineHeight: 24, // body-2
76
+ color: '#687499',
77
+ flex: 1,
78
+ textAlign: 'center',
79
+ }}>{item}</Text>
80
+ <Icon
81
+ name="arrow-right-line"
82
+ size={11}
83
+ color="#687499"
84
+ style={{ marginLeft: 8 }}
85
+ />
86
+ </View>
87
+ ))}
88
+ </View>
89
+ )}
90
+ </View>
91
+ );
92
+ };
93
+
94
+ export default AccordionAvatar;
@@ -1,63 +1,63 @@
1
- import React from 'react';
2
- import { ScrollView, View } from 'react-native';
3
- import AdBanner from '.';
4
-
5
- export default {
6
- title: 'Molecules/AdBanner',
7
- component: AdBanner,
8
- render: props => (
9
- <ScrollView>
10
- <AdBanner {...props} />
11
- </ScrollView>
12
- ),
13
- tags: ['autodocs'],
14
- parameters: {
15
- layout: 'fullscreen',
16
- backgrounds: {
17
- default: 'light',
18
- values: [
19
- { name: 'light', value: '#f4f4f4' }
20
- ]
21
- }
22
- },
23
- argTypes: {
24
- imageSource: {
25
- description: 'Fonte da imagem (objeto com propriedade uri)',
26
- control: 'object',
27
- },
28
- title: {
29
- description: 'Título principal do banner',
30
- control: 'text',
31
- },
32
- description: {
33
- description: 'Texto descritivo do evento',
34
- control: 'text',
35
- },
36
- highlight: {
37
- description: 'Trecho do texto a ser destacado em negrito',
38
- control: 'text',
39
- },
40
- buttonLabel: {
41
- description: 'Texto do botão',
42
- control: 'text',
43
- },
44
- onButtonPress: {
45
- description: 'Função chamada ao pressionar o botão',
46
- action: 'onButtonPress',
47
- },
48
- style: {
49
- description: 'Estilos adicionais para o card',
50
- control: 'object',
51
- },
52
- },
53
- };
54
-
55
- export const Default = {
56
- args: {
57
- imageSource: { uri: 'https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=600&q=80' },
58
- title: 'Semana do MEI',
59
- description: 'Evento 100% gratuito! De 20 a 24 de Maio de forma online e presencial!',
60
- highlight: 'De 20 a 24 de Maio',
61
- buttonLabel: 'Inscreva-se',
62
- },
1
+ import React from 'react';
2
+ import { ScrollView, View } from 'react-native';
3
+ import AdBanner from '.';
4
+
5
+ export default {
6
+ title: 'Molecules/AdBanner',
7
+ component: AdBanner,
8
+ render: props => (
9
+ <ScrollView>
10
+ <AdBanner {...props} />
11
+ </ScrollView>
12
+ ),
13
+ tags: ['autodocs'],
14
+ parameters: {
15
+ layout: 'fullscreen',
16
+ backgrounds: {
17
+ default: 'light',
18
+ values: [
19
+ { name: 'light', value: '#f4f4f4' }
20
+ ]
21
+ }
22
+ },
23
+ argTypes: {
24
+ imageSource: {
25
+ description: 'Fonte da imagem (objeto com propriedade uri)',
26
+ control: 'object',
27
+ },
28
+ title: {
29
+ description: 'Título principal do banner',
30
+ control: 'text',
31
+ },
32
+ description: {
33
+ description: 'Texto descritivo do evento',
34
+ control: 'text',
35
+ },
36
+ highlight: {
37
+ description: 'Trecho do texto a ser destacado em negrito',
38
+ control: 'text',
39
+ },
40
+ buttonLabel: {
41
+ description: 'Texto do botão',
42
+ control: 'text',
43
+ },
44
+ onButtonPress: {
45
+ description: 'Função chamada ao pressionar o botão',
46
+ action: 'onButtonPress',
47
+ },
48
+ style: {
49
+ description: 'Estilos adicionais para o card',
50
+ control: 'object',
51
+ },
52
+ },
53
+ };
54
+
55
+ export const Default = {
56
+ args: {
57
+ imageSource: { uri: 'https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=600&q=80' },
58
+ title: 'Semana do MEI',
59
+ description: 'Evento 100% gratuito! De 20 a 24 de Maio de forma online e presencial!',
60
+ highlight: 'De 20 a 24 de Maio',
61
+ buttonLabel: 'Inscreva-se',
62
+ },
63
63
  };
@@ -1,93 +1,93 @@
1
- import React from 'react';
2
- import { View, Text, StyleSheet } from 'react-native';
3
- import Image from '../Image';
4
- import Button from '../Button';
5
- import { fontFamily } from '../utils/fontFamily';
6
-
7
- const AdBanner = ({
8
- imageSource,
9
- title,
10
- description,
11
- highlight,
12
- buttonLabel,
13
- onButtonPress,
14
- style
15
- }) => {
16
- return (
17
- <View>
18
- <Text style={styles.featuredText}>CONTINUA DEPOIS DA PUBLICIDADE</Text>
19
- <View style={[styles.card, style]}>
20
- <Image
21
- source={imageSource}
22
- ratio="16-9"
23
- borderRadius={5}
24
- style={styles.image}
25
- />
26
- <Text style={styles.title}>{title}</Text>
27
- <Text style={styles.description}>
28
- {description.split(highlight)[0]}
29
- <Text style={styles.highlight}>{highlight}</Text>
30
- {description.split(highlight)[1]}
31
- </Text>
32
- <Button
33
- label={buttonLabel}
34
- onPress={onButtonPress}
35
- size="large"
36
- variant="filled"
37
- inverseStyle={true}
38
- style={styles.button}
39
- />
40
- </View>
41
- </View>
42
- );
43
- };
44
-
45
- const styles = StyleSheet.create({
46
- featuredText: {
47
- color: '#687499',
48
- fontSize: 16,
49
- fontWeight: 'thin',
50
- marginBottom: 16,
51
- textAlign: 'center',
52
- },
53
- card: {
54
- backgroundColor: '#3F67FC',
55
- borderRadius: 10,
56
- padding: 16,
57
- alignItems: 'flex-start',
58
- },
59
- image: {
60
- borderWidth: 0,
61
- width: '95%',
62
- },
63
- title: {
64
- color: '#fff',
65
- fontSize: 28,
66
- fontWeight: '700',
67
- fontFamily: fontFamily.bold,
68
- marginBottom: 16,
69
- textAlign: 'left',
70
- width: '100%',
71
- },
72
- description: {
73
- color: '#fff',
74
- fontSize: 20,
75
- marginBottom: 32,
76
- textAlign: 'left',
77
- width: '100%',
78
- },
79
- highlight: {
80
- fontWeight: '700',
81
- fontFamily: fontFamily.bold,
82
- color: '#fff',
83
- },
84
- button: {
85
- backgroundColor: '#E7F79E',
86
- borderRadius: 18,
87
- width: '100%',
88
- textAlign: 'left',
89
- paddingVertical: 16,
90
- },
91
- });
92
-
1
+ import React from 'react';
2
+ import { View, Text, StyleSheet } from 'react-native';
3
+ import Image from '../Image';
4
+ import Button from '../Button';
5
+ import { fontFamily } from '../utils/fontFamily';
6
+
7
+ const AdBanner = ({
8
+ imageSource,
9
+ title,
10
+ description,
11
+ highlight,
12
+ buttonLabel,
13
+ onButtonPress,
14
+ style
15
+ }) => {
16
+ return (
17
+ <View>
18
+ <Text style={styles.featuredText}>CONTINUA DEPOIS DA PUBLICIDADE</Text>
19
+ <View style={[styles.card, style]}>
20
+ <Image
21
+ source={imageSource}
22
+ ratio="16-9"
23
+ borderRadius={5}
24
+ style={styles.image}
25
+ />
26
+ <Text style={styles.title}>{title}</Text>
27
+ <Text style={styles.description}>
28
+ {description.split(highlight)[0]}
29
+ <Text style={styles.highlight}>{highlight}</Text>
30
+ {description.split(highlight)[1]}
31
+ </Text>
32
+ <Button
33
+ label={buttonLabel}
34
+ onPress={onButtonPress}
35
+ size="large"
36
+ variant="filled"
37
+ inverseStyle={true}
38
+ style={styles.button}
39
+ />
40
+ </View>
41
+ </View>
42
+ );
43
+ };
44
+
45
+ const styles = StyleSheet.create({
46
+ featuredText: {
47
+ color: '#687499',
48
+ fontSize: 16,
49
+ fontWeight: 'thin',
50
+ marginBottom: 16,
51
+ textAlign: 'center',
52
+ },
53
+ card: {
54
+ backgroundColor: '#3F67FC',
55
+ borderRadius: 10,
56
+ padding: 16,
57
+ alignItems: 'flex-start',
58
+ },
59
+ image: {
60
+ borderWidth: 0,
61
+ width: '95%',
62
+ },
63
+ title: {
64
+ color: '#fff',
65
+ fontSize: 28,
66
+ fontWeight: '700',
67
+ fontFamily: fontFamily.bold,
68
+ marginBottom: 16,
69
+ textAlign: 'left',
70
+ width: '100%',
71
+ },
72
+ description: {
73
+ color: '#fff',
74
+ fontSize: 20,
75
+ marginBottom: 32,
76
+ textAlign: 'left',
77
+ width: '100%',
78
+ },
79
+ highlight: {
80
+ fontWeight: '700',
81
+ fontFamily: fontFamily.bold,
82
+ color: '#fff',
83
+ },
84
+ button: {
85
+ backgroundColor: '#E7F79E',
86
+ borderRadius: 18,
87
+ width: '100%',
88
+ textAlign: 'left',
89
+ paddingVertical: 16,
90
+ },
91
+ });
92
+
93
93
  export default AdBanner;
@@ -1,60 +1,60 @@
1
- import { View } from "react-native";
2
- import Avatar from "./index.jsx";
3
-
4
- const meta = {
5
- title: "Atom/Avatar",
6
- component: Avatar,
7
- render: (props) => (
8
- <View style={{ marginHorizontal: 'auto', marginTop: 12 }}>
9
- <Avatar {...props} />
10
- </View>
11
- ),
12
- tags: ["autodocs"],
13
- parameters: {
14
- layout: "centered",
15
- backgrounds: {
16
- }
17
- },
18
- argTypes: {
19
- size: {
20
- description: "Tamanho do Avatar",
21
- control: "select",
22
- options: ["large", "medium", "small"],
23
- },
24
- imageUrl: {
25
- description: "URL da imagem do avatar",
26
- control: "text",
27
- },
28
- },
29
- };
30
-
31
- export default meta;
32
-
33
- export const WithImage = {
34
- args: {
35
- size: "large",
36
- imageUrl: "https://randomuser.me/api/portraits/men/32.jpg",
37
- },
38
- };
39
-
40
- export const Medium = {
41
- args: {
42
- size: "medium",
43
- imageUrl: "https://randomuser.me/api/portraits/women/44.jpg",
44
- },
45
- };
46
-
47
- export const Small = {
48
- args: {
49
- size: "small",
50
- imageUrl: "https://randomuser.me/api/portraits/men/65.jpg",
51
- },
52
- };
53
-
54
- export const NoImage = {
55
- args: {
56
- size: "large",
57
- imageUrl: "",
58
- name: "Lucas Manerich",
59
- },
1
+ import { View } from "react-native";
2
+ import Avatar from "./index.jsx";
3
+
4
+ const meta = {
5
+ title: "Atom/Avatar",
6
+ component: Avatar,
7
+ render: (props) => (
8
+ <View style={{ marginHorizontal: 'auto', marginTop: 12 }}>
9
+ <Avatar {...props} />
10
+ </View>
11
+ ),
12
+ tags: ["autodocs"],
13
+ parameters: {
14
+ layout: "centered",
15
+ backgrounds: {
16
+ }
17
+ },
18
+ argTypes: {
19
+ size: {
20
+ description: "Tamanho do Avatar",
21
+ control: "select",
22
+ options: ["large", "medium", "small"],
23
+ },
24
+ imageUrl: {
25
+ description: "URL da imagem do avatar",
26
+ control: "text",
27
+ },
28
+ },
29
+ };
30
+
31
+ export default meta;
32
+
33
+ export const WithImage = {
34
+ args: {
35
+ size: "large",
36
+ imageUrl: "https://randomuser.me/api/portraits/men/32.jpg",
37
+ },
38
+ };
39
+
40
+ export const Medium = {
41
+ args: {
42
+ size: "medium",
43
+ imageUrl: "https://randomuser.me/api/portraits/women/44.jpg",
44
+ },
45
+ };
46
+
47
+ export const Small = {
48
+ args: {
49
+ size: "small",
50
+ imageUrl: "https://randomuser.me/api/portraits/men/65.jpg",
51
+ },
52
+ };
53
+
54
+ export const NoImage = {
55
+ args: {
56
+ size: "large",
57
+ imageUrl: "",
58
+ name: "Lucas Manerich",
59
+ },
60
60
  };