@pedidopago/ui 1.8.2 → 1.8.4

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 (461) hide show
  1. package/dist/@types/index.d.ts +6 -6
  2. package/dist/components/Alert/alert.test.d.ts +1 -1
  3. package/dist/components/Alert/index.d.ts +4 -4
  4. package/dist/components/Alert/styles.d.ts +10 -10
  5. package/dist/components/Alert/types.d.ts +42 -42
  6. package/dist/components/Avatar/avatar.test.d.ts +1 -1
  7. package/dist/components/Avatar/index.d.ts +4 -4
  8. package/dist/components/Avatar/styles.d.ts +25 -25
  9. package/dist/components/Avatar/types.d.ts +15 -15
  10. package/dist/components/Badge/badge.test.d.ts +1 -1
  11. package/dist/components/Badge/index.d.ts +4 -4
  12. package/dist/components/Badge/styles.d.ts +16 -16
  13. package/dist/components/Badge/types.d.ts +12 -12
  14. package/dist/components/Button/Button.test.d.ts +1 -1
  15. package/dist/components/Button/index.d.ts +3 -3
  16. package/dist/components/Button/styles.d.ts +14 -14
  17. package/dist/components/Button/types.d.ts +92 -92
  18. package/dist/components/Card/card.test.d.ts +1 -1
  19. package/dist/components/Card/index.d.ts +3 -3
  20. package/dist/components/Card/styles.d.ts +6 -6
  21. package/dist/components/Card/types.d.ts +17 -17
  22. package/dist/components/CheckboxInput/checkbox-input.test.d.ts +1 -1
  23. package/dist/components/CheckboxInput/components/MultipleCheckbox.d.ts +4 -4
  24. package/dist/components/CheckboxInput/index.d.ts +4 -4
  25. package/dist/components/CheckboxInput/styles.d.ts +30 -30
  26. package/dist/components/CheckboxInput/types.d.ts +27 -27
  27. package/dist/components/ChoiceList/index.d.ts +5 -5
  28. package/dist/components/ChoiceList/styles.d.ts +21 -21
  29. package/dist/components/ChoiceList/types.d.ts +23 -23
  30. package/dist/components/CollapseCard/ExpandButton/index.d.ts +3 -3
  31. package/dist/components/CollapseCard/ExpandButton/styles.d.ts +269 -269
  32. package/dist/components/CollapseCard/ExpandButton/types.d.ts +5 -5
  33. package/dist/components/CollapseCard/expand-button.test.d.ts +1 -1
  34. package/dist/components/CollapseCard/index.d.ts +3 -3
  35. package/dist/components/CollapseCard/styles.d.ts +268 -268
  36. package/dist/components/CollapseCard/types.d.ts +12 -12
  37. package/dist/components/ColorPicker/colorpicker.test.d.ts +1 -1
  38. package/dist/components/ColorPicker/components/ColorHue.d.ts +4 -4
  39. package/dist/components/ColorPicker/components/ColorInput.d.ts +4 -4
  40. package/dist/components/ColorPicker/components/ColorPickerBox.d.ts +4 -4
  41. package/dist/components/ColorPicker/components/ColorPointer.d.ts +4 -4
  42. package/dist/components/ColorPicker/components/ColorSelector.d.ts +4 -4
  43. package/dist/components/ColorPicker/hooks/useCachedCallback.d.ts +1 -1
  44. package/dist/components/ColorPicker/hooks/useHsva.d.ts +2 -2
  45. package/dist/components/ColorPicker/index.d.ts +4 -4
  46. package/dist/components/ColorPicker/styles.d.ts +44 -44
  47. package/dist/components/ColorPicker/types.d.ts +73 -73
  48. package/dist/components/ColorPicker/utils/checkers.d.ts +7 -7
  49. package/dist/components/ColorPicker/utils/conversors.d.ts +60 -60
  50. package/dist/components/ColorPicker/utils/parsers.d.ts +27 -27
  51. package/dist/components/ComposeIcon/index.d.ts +4 -4
  52. package/dist/components/ComposeIcon/styles.d.ts +10 -10
  53. package/dist/components/ComposeIcon/types.d.ts +11 -11
  54. package/dist/components/DateInput/DateInput-example.d.ts +5 -5
  55. package/dist/components/DateInput/components/ModalWrapper/index.d.ts +3 -3
  56. package/dist/components/DateInput/components/ModalWrapper/styles.d.ts +268 -268
  57. package/dist/components/DateInput/components/ModalWrapper/types.d.ts +15 -15
  58. package/dist/components/DateInput/dateInput.test.d.ts +1 -1
  59. package/dist/components/DateInput/index.d.ts +3 -3
  60. package/dist/components/DateInput/styles.d.ts +10 -10
  61. package/dist/components/DateInput/types.d.ts +18 -18
  62. package/dist/components/DatePicker/components/DatePickerContent.d.ts +3 -3
  63. package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
  64. package/dist/components/DatePicker/datepicker.test.d.ts +1 -1
  65. package/dist/components/DatePicker/index.d.ts +4 -4
  66. package/dist/components/DatePicker/styles.d.ts +77 -77
  67. package/dist/components/DatePicker/types.d.ts +69 -69
  68. package/dist/components/DatePicker/utils/getMonthName.d.ts +1 -1
  69. package/dist/components/Dialog/dialog-example.d.ts +3 -3
  70. package/dist/components/Dialog/dialog.test.d.ts +1 -1
  71. package/dist/components/Dialog/index.d.ts +3 -3
  72. package/dist/components/Dialog/styles.d.ts +23 -23
  73. package/dist/components/Dialog/types.d.ts +30 -30
  74. package/dist/components/Dropzone/dropzone.test.d.ts +1 -1
  75. package/dist/components/Dropzone/index.d.ts +4 -4
  76. package/dist/components/Dropzone/styles.d.ts +55 -55
  77. package/dist/components/Dropzone/types.d.ts +27 -27
  78. package/dist/components/Dropzone/utils/accepts.d.ts +10 -10
  79. package/dist/components/EmojiPicker/Emote/index.d.ts +3 -3
  80. package/dist/components/EmojiPicker/Emote/styles.d.ts +12 -12
  81. package/dist/components/EmojiPicker/Emote/types.d.ts +31 -31
  82. package/dist/components/EmojiPicker/EmotePickerData/constants.d.ts +9 -9
  83. package/dist/components/EmojiPicker/EmotePickerData/index.d.ts +3 -3
  84. package/dist/components/EmojiPicker/EmotePickerData/styles.d.ts +17 -17
  85. package/dist/components/EmojiPicker/EmotePickerData/types.d.ts +9 -9
  86. package/dist/components/EmojiPicker/EmotePickerData/utils.d.ts +4 -4
  87. package/dist/components/EmojiPicker/Example/EmotePickerExample.d.ts +3 -3
  88. package/dist/components/EmojiPicker/animation.d.ts +3 -3
  89. package/dist/components/EmojiPicker/index.d.ts +3 -3
  90. package/dist/components/EmojiPicker/styles.d.ts +517 -517
  91. package/dist/components/EmojiPicker/types.d.ts +20 -20
  92. package/dist/components/Flex/flex.test.d.ts +1 -1
  93. package/dist/components/Flex/index.d.ts +4 -4
  94. package/dist/components/Flex/styles.d.ts +464 -464
  95. package/dist/components/Flex/types.d.ts +175 -175
  96. package/dist/components/Grid/grid.test.d.ts +1 -1
  97. package/dist/components/Grid/index.d.ts +4 -4
  98. package/dist/components/Grid/styles.d.ts +456 -456
  99. package/dist/components/Grid/types.d.ts +88 -88
  100. package/dist/components/Icon/data/beauty.d.ts +8 -8
  101. package/dist/components/Icon/data/dash.d.ts +8 -8
  102. package/dist/components/Icon/data/ecommerce.d.ts +8 -8
  103. package/dist/components/Icon/data/form.d.ts +8 -8
  104. package/dist/components/Icon/data/health.d.ts +8 -8
  105. package/dist/components/Icon/data/illustrations.d.ts +8 -8
  106. package/dist/components/Icon/data/men.d.ts +8 -8
  107. package/dist/components/Icon/data/payment.d.ts +8 -8
  108. package/dist/components/Icon/data/pedidoPago.d.ts +8 -8
  109. package/dist/components/Icon/data/physicalPerfomance.d.ts +8 -8
  110. package/dist/components/Icon/data/social.d.ts +8 -8
  111. package/dist/components/Icon/data/status.d.ts +8 -8
  112. package/dist/components/Icon/data/summer.d.ts +8 -8
  113. package/dist/components/Icon/data/woman.d.ts +8 -8
  114. package/dist/components/Icon/icon.test.d.ts +1 -1
  115. package/dist/components/Icon/index.d.ts +4 -4
  116. package/dist/components/Icon/scripts/build.d.ts +5 -5
  117. package/dist/components/Icon/scripts/extractor.d.ts +15 -15
  118. package/dist/components/Icon/scripts/run-build.d.ts +1 -1
  119. package/dist/components/Icon/scripts/writers.d.ts +22 -22
  120. package/dist/components/Icon/styles.d.ts +13 -13
  121. package/dist/components/Icon/types.d.ts +8 -8
  122. package/dist/components/Icon/utils/allIcons.d.ts +8 -8
  123. package/dist/components/Icon/utils/iconExists.d.ts +4 -4
  124. package/dist/components/IconItem/IconItem.test.d.ts +1 -1
  125. package/dist/components/IconItem/index.d.ts +4 -4
  126. package/dist/components/IconItem/styles.d.ts +18 -18
  127. package/dist/components/IconItem/types.d.ts +22 -22
  128. package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +5 -0
  129. package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts.map +1 -0
  130. package/dist/components/Illustration/AlternativeOrderSvg/index.js +107 -0
  131. package/dist/components/Illustration/BoletoSvg/index.d.ts +5 -0
  132. package/dist/components/Illustration/BoletoSvg/index.d.ts.map +1 -0
  133. package/dist/components/Illustration/BoletoSvg/index.js +168 -0
  134. package/dist/components/Illustration/BoxClosedSvg/index.d.ts +5 -0
  135. package/dist/components/Illustration/BoxClosedSvg/index.d.ts.map +1 -0
  136. package/dist/components/Illustration/BoxClosedSvg/index.js +99 -0
  137. package/dist/components/Illustration/BoxDeliverySvg/index.d.ts +5 -0
  138. package/dist/components/Illustration/BoxDeliverySvg/index.d.ts.map +1 -0
  139. package/dist/components/Illustration/BoxDeliverySvg/index.js +111 -0
  140. package/dist/components/Illustration/BoxOpenSvg/index.d.ts +5 -0
  141. package/dist/components/Illustration/BoxOpenSvg/index.d.ts.map +1 -0
  142. package/dist/components/Illustration/BoxOpenSvg/index.js +108 -0
  143. package/dist/components/Illustration/CalendarSvg/index.d.ts +5 -0
  144. package/dist/components/Illustration/CalendarSvg/index.d.ts.map +1 -0
  145. package/dist/components/Illustration/CalendarSvg/index.js +109 -0
  146. package/dist/components/Illustration/CardSvg/index.d.ts +5 -0
  147. package/dist/components/Illustration/CardSvg/index.d.ts.map +1 -0
  148. package/dist/components/Illustration/CardSvg/index.js +110 -0
  149. package/dist/components/Illustration/CollaboratorSvg/index.d.ts +5 -0
  150. package/dist/components/Illustration/CollaboratorSvg/index.d.ts.map +1 -0
  151. package/dist/components/Illustration/CollaboratorSvg/index.js +99 -0
  152. package/dist/components/Illustration/InquirySvg/index.d.ts +5 -0
  153. package/dist/components/Illustration/InquirySvg/index.d.ts.map +1 -0
  154. package/dist/components/Illustration/InquirySvg/index.js +219 -0
  155. package/dist/components/Illustration/OrderSvg/index.d.ts +5 -0
  156. package/dist/components/Illustration/OrderSvg/index.d.ts.map +1 -0
  157. package/dist/components/Illustration/OrderSvg/index.js +135 -0
  158. package/dist/components/Illustration/PixSvg/index.d.ts +5 -0
  159. package/dist/components/Illustration/PixSvg/index.d.ts.map +1 -0
  160. package/dist/components/Illustration/PixSvg/index.js +93 -0
  161. package/dist/components/Illustration/PrescriptionSvg/index.d.ts +5 -0
  162. package/dist/components/Illustration/PrescriptionSvg/index.d.ts.map +1 -0
  163. package/dist/components/Illustration/PrescriptionSvg/index.js +81 -0
  164. package/dist/components/Illustration/TransportSvg/index.d.ts +5 -0
  165. package/dist/components/Illustration/TransportSvg/index.d.ts.map +1 -0
  166. package/dist/components/Illustration/TransportSvg/index.js +102 -0
  167. package/dist/components/Illustration/illustration.test.d.ts +1 -1
  168. package/dist/components/Illustration/index.d.ts +4 -4
  169. package/dist/components/Illustration/styles.d.ts +10 -10
  170. package/dist/components/Illustration/types.d.ts +11 -11
  171. package/dist/components/ImageItem/imageFake.d.ts +2 -2
  172. package/dist/components/ImageItem/index.d.ts +4 -4
  173. package/dist/components/ImageItem/input.test.d.ts +1 -1
  174. package/dist/components/ImageItem/styles.d.ts +26 -26
  175. package/dist/components/ImageItem/types.d.ts +25 -25
  176. package/dist/components/Input/index.d.ts +4 -4
  177. package/dist/components/Input/input.test.d.ts +1 -1
  178. package/dist/components/Input/styles.d.ts +65 -65
  179. package/dist/components/Input/types.d.ts +30 -30
  180. package/dist/components/Label/index.d.ts +3 -3
  181. package/dist/components/Label/label.test.d.ts +1 -1
  182. package/dist/components/Label/styles.d.ts +6 -6
  183. package/dist/components/Label/types.d.ts +17 -17
  184. package/dist/components/LegacyRadio/index.d.ts +4 -4
  185. package/dist/components/LegacyRadio/legacy-radio.test.d.ts +1 -1
  186. package/dist/components/LegacyRadio/styles.d.ts +33 -33
  187. package/dist/components/LegacyRadio/types.d.ts +27 -27
  188. package/dist/components/List/index.d.ts +4 -4
  189. package/dist/components/List/list.test.d.ts +1 -1
  190. package/dist/components/List/styles.d.ts +15 -15
  191. package/dist/components/List/types.d.ts +8 -8
  192. package/dist/components/Modal/ModalExample.d.ts +7 -7
  193. package/dist/components/Modal/index.d.ts +3 -3
  194. package/dist/components/Modal/modal.test.d.ts +1 -1
  195. package/dist/components/Modal/styles.d.ts +538 -538
  196. package/dist/components/Modal/types.d.ts +37 -37
  197. package/dist/components/MultipleSelect/MultipleSelect.test.d.ts +1 -1
  198. package/dist/components/MultipleSelect/animations.d.ts +2 -2
  199. package/dist/components/MultipleSelect/components/InputWrapper/index.d.ts +10 -10
  200. package/dist/components/MultipleSelect/components/InputWrapper/types.d.ts +4 -4
  201. package/dist/components/MultipleSelect/components/OptionsArea/index.d.ts +3 -3
  202. package/dist/components/MultipleSelect/components/OptionsArea/styles.d.ts +275 -275
  203. package/dist/components/MultipleSelect/components/OptionsArea/types.d.ts +20 -20
  204. package/dist/components/MultipleSelect/components/SelectArea/ButtonsArea.d.ts +13 -13
  205. package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.d.ts +6 -6
  206. package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts +21 -21
  207. package/dist/components/MultipleSelect/components/SelectArea/index.d.ts +3 -3
  208. package/dist/components/MultipleSelect/components/SelectArea/styles.d.ts +18 -18
  209. package/dist/components/MultipleSelect/components/SelectArea/types.d.ts +22 -22
  210. package/dist/components/MultipleSelect/components/index.d.ts +3 -3
  211. package/dist/components/MultipleSelect/index.d.ts +5 -5
  212. package/dist/components/MultipleSelect/types.d.ts +44 -44
  213. package/dist/components/NewSelect/Examples/constants.d.ts +4 -4
  214. package/dist/components/NewSelect/Examples/index.d.ts +4 -4
  215. package/dist/components/NewSelect/components/Chip/index.d.ts +3 -3
  216. package/dist/components/NewSelect/components/Chip/styles.d.ts +5 -5
  217. package/dist/components/NewSelect/components/Chip/types.d.ts +4 -4
  218. package/dist/components/NewSelect/components/OptionsSelect/index.d.ts +4 -0
  219. package/dist/components/NewSelect/components/OptionsSelect/index.d.ts.map +1 -0
  220. package/dist/components/NewSelect/components/OptionsSelect/index.js +56 -0
  221. package/dist/components/NewSelect/components/OptionsSelect/styles.d.ts +260 -260
  222. package/dist/components/NewSelect/components/OptionsSelect/types.d.ts +22 -22
  223. package/dist/components/NewSelect/components/SelectInputSearch/index.d.ts +3 -3
  224. package/dist/components/NewSelect/components/SelectInputSearch/types.d.ts +3 -3
  225. package/dist/components/NewSelect/components/SelectItem/index.d.ts +3 -3
  226. package/dist/components/NewSelect/components/SelectItem/styles.d.ts +8 -8
  227. package/dist/components/NewSelect/components/SelectItem/styles.d.ts.map +1 -1
  228. package/dist/components/NewSelect/components/SelectItem/styles.js +1 -1
  229. package/dist/components/NewSelect/components/SelectItem/types.d.ts +2 -2
  230. package/dist/components/NewSelect/index.d.ts +3 -3
  231. package/dist/components/NewSelect/multiple/index.d.ts +3 -3
  232. package/dist/components/NewSelect/multiple/index.d.ts.map +1 -1
  233. package/dist/components/NewSelect/multiple/index.js +1 -1
  234. package/dist/components/NewSelect/newSelect.test.d.ts +1 -1
  235. package/dist/components/NewSelect/single/index.d.ts +3 -3
  236. package/dist/components/NewSelect/single/index.d.ts.map +1 -1
  237. package/dist/components/NewSelect/single/index.js +1 -1
  238. package/dist/components/NewSelect/styles.d.ts +24 -24
  239. package/dist/components/NewSelect/styles.d.ts.map +1 -1
  240. package/dist/components/NewSelect/styles.js +1 -1
  241. package/dist/components/NewSelect/types.d.ts +47 -44
  242. package/dist/components/NewSelect/types.d.ts.map +1 -1
  243. package/dist/components/Observer/index.d.ts +6 -6
  244. package/dist/components/Observer/observer.test.d.ts +1 -1
  245. package/dist/components/Observer/types.d.ts +6 -6
  246. package/dist/components/Pagination/hooks/usePagination.d.ts +3 -3
  247. package/dist/components/Pagination/index.d.ts +3 -3
  248. package/dist/components/Pagination/pagination.test.d.ts +1 -1
  249. package/dist/components/Pagination/styles.d.ts +34 -34
  250. package/dist/components/Pagination/types.d.ts +28 -28
  251. package/dist/components/Progress/Circle/index.d.ts +3 -3
  252. package/dist/components/Progress/Circle/styles.d.ts +27 -27
  253. package/dist/components/Progress/Circle/types.d.ts +18 -18
  254. package/dist/components/Progress/Linear/index.d.ts +3 -3
  255. package/dist/components/Progress/Linear/styles.d.ts +15 -15
  256. package/dist/components/Progress/Linear/types.d.ts +13 -13
  257. package/dist/components/Progress/getSteps.d.ts +1 -1
  258. package/dist/components/Progress/index.d.ts +4 -4
  259. package/dist/components/Progress/progress.test.d.ts +1 -1
  260. package/dist/components/Progress/types.d.ts +27 -27
  261. package/dist/components/Radio/components/RadioGroup/index.d.ts +4 -4
  262. package/dist/components/Radio/components/RadioGroup/styles.d.ts +18 -18
  263. package/dist/components/Radio/components/RadioGroup/types.d.ts +16 -16
  264. package/dist/components/Radio/index.d.ts +4 -4
  265. package/dist/components/Radio/styles.d.ts +9 -9
  266. package/dist/components/Radio/types.d.ts +5 -5
  267. package/dist/components/RadioInput/components/ChoiceList/index.d.ts +5 -5
  268. package/dist/components/RadioInput/components/ChoiceList/index.d.ts.map +1 -1
  269. package/dist/components/RadioInput/components/ChoiceList/index.js +2 -3
  270. package/dist/components/RadioInput/index.d.ts +4 -4
  271. package/dist/components/RadioInput/radio-input.test.d.ts +1 -1
  272. package/dist/components/RadioInput/styles.d.ts +30 -33
  273. package/dist/components/RadioInput/styles.d.ts.map +1 -1
  274. package/dist/components/RadioInput/styles.js +5 -16
  275. package/dist/components/RadioInput/types.d.ts +26 -27
  276. package/dist/components/RadioInput/types.d.ts.map +1 -1
  277. package/dist/components/RadioInput/utils/get-colors-props.d.ts +11 -11
  278. package/dist/components/Rating/index.d.ts +3 -3
  279. package/dist/components/Rating/rating.test.d.ts +1 -1
  280. package/dist/components/Rating/styles.d.ts +18 -18
  281. package/dist/components/Rating/types.d.ts +19 -19
  282. package/dist/components/ReactPortal/index.d.ts +7 -7
  283. package/dist/components/ReactPortal/reactPortal.test.d.ts +1 -1
  284. package/dist/components/ReactPortal/utils/createWrapperAndApprendToBody.d.ts +1 -1
  285. package/dist/components/Select/components/OptionsSelect/index.d.ts +3 -3
  286. package/dist/components/Select/components/OptionsSelect/styles.d.ts +268 -268
  287. package/dist/components/Select/components/OptionsSelect/types.d.ts +17 -17
  288. package/dist/components/Select/index.d.ts +4 -4
  289. package/dist/components/Select/select.test.d.ts +1 -1
  290. package/dist/components/Select/styles.d.ts +20 -20
  291. package/dist/components/Select/types.d.ts +26 -26
  292. package/dist/components/Skeleton/index.d.ts +4 -4
  293. package/dist/components/Skeleton/skeleton.test.d.ts +1 -1
  294. package/dist/components/Skeleton/styles.d.ts +7 -7
  295. package/dist/components/Skeleton/types.d.ts +40 -40
  296. package/dist/components/Slider/SliderExample.d.ts +3 -3
  297. package/dist/components/Slider/components/SliderPointer.d.ts +3 -3
  298. package/dist/components/Slider/components/SliderRail.d.ts +3 -3
  299. package/dist/components/Slider/components/SliderSelector.d.ts +17 -17
  300. package/dist/components/Slider/hooks/useEventCallback.d.ts +2 -2
  301. package/dist/components/Slider/index.d.ts +19 -19
  302. package/dist/components/Slider/slider.test.d.ts +1 -1
  303. package/dist/components/Slider/styles.d.ts +65 -65
  304. package/dist/components/Slider/types.d.ts +40 -40
  305. package/dist/components/Spinner/index.d.ts +4 -4
  306. package/dist/components/Spinner/spinner.test.d.ts +1 -1
  307. package/dist/components/Spinner/styles.d.ts +456 -456
  308. package/dist/components/Spinner/types.d.ts +11 -11
  309. package/dist/components/Steps/components/StepIcon/index.d.ts +3 -3
  310. package/dist/components/Steps/components/StepIcon/styles.d.ts +22 -22
  311. package/dist/components/Steps/components/StepIcon/types.d.ts +15 -15
  312. package/dist/components/Steps/components/StepIcon/utils.d.ts +4 -4
  313. package/dist/components/Steps/components/StepIconMobile/index.d.ts +4 -0
  314. package/dist/components/Steps/components/StepIconMobile/index.d.ts.map +1 -0
  315. package/dist/components/Steps/components/StepIconMobile/index.js +126 -0
  316. package/dist/components/Steps/index.d.ts +4 -4
  317. package/dist/components/Steps/steps.test.d.ts +1 -1
  318. package/dist/components/Steps/styles.d.ts +47 -47
  319. package/dist/components/Steps/types.d.ts +20 -20
  320. package/dist/components/Steps/utils.d.ts +8 -8
  321. package/dist/components/Switch/index.d.ts +4 -4
  322. package/dist/components/Switch/styles.d.ts +18 -18
  323. package/dist/components/Switch/switch.test.d.ts +1 -1
  324. package/dist/components/Switch/types.d.ts +14 -14
  325. package/dist/components/Table/components/MenuItem.d.ts +3 -3
  326. package/dist/components/Table/components/TableSkeleton.d.ts +3 -3
  327. package/dist/components/Table/components/animations.d.ts +2 -2
  328. package/dist/components/Table/index.d.ts +3 -3
  329. package/dist/components/Table/styles.d.ts +33 -33
  330. package/dist/components/Table/table.test.d.ts +1 -1
  331. package/dist/components/Table/types.d.ts +55 -55
  332. package/dist/components/Tabs/TabsExample.d.ts +3 -3
  333. package/dist/components/Tabs/components/Tab.d.ts +3 -3
  334. package/dist/components/Tabs/components/TabPanel.d.ts +3 -3
  335. package/dist/components/Tabs/components/Tabs.d.ts +4 -4
  336. package/dist/components/Tabs/index.d.ts +3 -3
  337. package/dist/components/Tabs/styles.d.ts +41 -41
  338. package/dist/components/Tabs/tabs.test.d.ts +1 -1
  339. package/dist/components/Tabs/types.d.ts +50 -50
  340. package/dist/components/Tag/index.d.ts +4 -4
  341. package/dist/components/Tag/styles.d.ts +1374 -1374
  342. package/dist/components/Tag/tag.test.d.ts +1 -1
  343. package/dist/components/Tag/types.d.ts +10 -10
  344. package/dist/components/TextAreaInput/index.d.ts +4 -4
  345. package/dist/components/TextAreaInput/styles.d.ts +18 -18
  346. package/dist/components/TextAreaInput/text-area-input.test.d.ts +1 -1
  347. package/dist/components/TextAreaInput/types.d.ts +26 -26
  348. package/dist/components/Thumbnail/index.d.ts +3 -3
  349. package/dist/components/Thumbnail/styles.d.ts +38 -38
  350. package/dist/components/Thumbnail/thumbnail.test.d.ts +1 -1
  351. package/dist/components/Thumbnail/types.d.ts +20 -20
  352. package/dist/components/Thumbnail/utils/index.d.ts +2 -2
  353. package/dist/components/Thumbnail/utils/validate-file-size.d.ts +1 -1
  354. package/dist/components/Thumbnail/utils/validate-file-type.d.ts +1 -1
  355. package/dist/components/TimeInput/constants.d.ts +4 -4
  356. package/dist/components/TimeInput/index.d.ts +4 -4
  357. package/dist/components/TimeInput/styles.d.ts +16 -16
  358. package/dist/components/TimeInput/types.d.ts +4 -4
  359. package/dist/components/TimeInput/utils.d.ts +9 -9
  360. package/dist/components/Timeline/components/Timeline.d.ts +3 -3
  361. package/dist/components/Timeline/components/TimelineContent.d.ts +3 -3
  362. package/dist/components/Timeline/components/TimelineItem.d.ts +2 -2
  363. package/dist/components/Timeline/components/TimelineSeparator.d.ts +3 -3
  364. package/dist/components/Timeline/index.d.ts +4 -4
  365. package/dist/components/Timeline/styles.d.ts +31 -31
  366. package/dist/components/Timeline/timeline.test.d.ts +1 -1
  367. package/dist/components/Timeline/types.d.ts +19 -19
  368. package/dist/components/Toast/button-example.d.ts +6 -6
  369. package/dist/components/Toast/components/Toast.d.ts +4 -4
  370. package/dist/components/Toast/contexts/ToastProvider.d.ts +5 -5
  371. package/dist/components/Toast/hooks/useToast.d.ts +2 -2
  372. package/dist/components/Toast/index.d.ts +3 -3
  373. package/dist/components/Toast/styles.d.ts +22 -22
  374. package/dist/components/Toast/toast.test.d.ts +1 -1
  375. package/dist/components/Toast/types.d.ts +29 -29
  376. package/dist/components/Tooltip/components/TooltipLabel.d.ts +12 -12
  377. package/dist/components/Tooltip/example.d.ts +2 -2
  378. package/dist/components/Tooltip/index.d.ts +4 -4
  379. package/dist/components/Tooltip/styles.d.ts +13 -13
  380. package/dist/components/Tooltip/types.d.ts +26 -26
  381. package/dist/components/Typography/index.d.ts +4 -4
  382. package/dist/components/Typography/styles.d.ts +21 -21
  383. package/dist/components/Typography/types.d.ts +16 -16
  384. package/dist/components/Typography/typography.test.d.ts +1 -1
  385. package/dist/index.d.ts +70 -70
  386. package/dist/shared/animations/opacityAnimation.d.ts +2 -2
  387. package/dist/shared/assets/emotes.d.ts +5007 -5007
  388. package/dist/shared/components/FocusLock/index.d.ts +7 -7
  389. package/dist/shared/formatters/format-number.d.ts +5 -5
  390. package/dist/shared/formatters/types.d.ts +5 -5
  391. package/dist/shared/hooks/devices.d.ts +8 -8
  392. package/dist/shared/hooks/useBreakpoints.d.ts +17 -25
  393. package/dist/shared/hooks/useBreakpoints.d.ts.map +1 -1
  394. package/dist/shared/hooks/useBreakpoints.js +1 -1
  395. package/dist/shared/hooks/useDebounce.d.ts +1 -1
  396. package/dist/shared/hooks/useDevices.d.ts +8 -8
  397. package/dist/shared/hooks/useDisableBodyScroll.d.ts +1 -1
  398. package/dist/shared/hooks/useDraggableScroll/index.d.ts +9 -9
  399. package/dist/shared/hooks/useDraggableScroll/types.d.ts +5 -5
  400. package/dist/shared/hooks/useKeyPress.d.ts +1 -1
  401. package/dist/shared/hooks/useObserver.d.ts +10 -10
  402. package/dist/shared/hooks/useOnClickOutside.d.ts +2 -2
  403. package/dist/shared/hooks/useReposition/index.d.ts +3 -3
  404. package/dist/shared/hooks/useReposition/types.d.ts +29 -29
  405. package/dist/shared/hooks/useSystemTheme.d.ts +4 -4
  406. package/dist/shared/hooks/useWindowSize.d.ts +8 -8
  407. package/dist/shared/tests/test-utils.d.ts +4 -4
  408. package/dist/shared/tests/types.d.ts +4 -4
  409. package/dist/shared/theme/button-example.d.ts +2 -2
  410. package/dist/shared/theme/contexts/ThemeContext.d.ts +15 -15
  411. package/dist/shared/theme/hooks/useColorMode.d.ts +4 -4
  412. package/dist/shared/theme/hooks/useColorModeValue.d.ts +1 -1
  413. package/dist/shared/theme/hooks/useTheme.d.ts +452 -452
  414. package/dist/shared/theme/index.d.ts +7 -7
  415. package/dist/shared/theme/objects/breakpoints.d.ts +8 -8
  416. package/dist/shared/theme/objects/colors.d.ts +170 -170
  417. package/dist/shared/theme/objects/shadows.d.ts +12 -12
  418. package/dist/shared/theme/objects/sizes.d.ts +22 -22
  419. package/dist/shared/theme/objects/spaces.d.ts +130 -130
  420. package/dist/shared/theme/objects/transitions.d.ts +3 -3
  421. package/dist/shared/theme/objects/typography.d.ts +13 -13
  422. package/dist/shared/theme/objects/z-indexes.d.ts +13 -13
  423. package/dist/shared/theme/theme.d.ts +450 -450
  424. package/dist/shared/theme/theme.test.d.ts +1 -1
  425. package/dist/shared/theme/theme.types.d.ts +22 -22
  426. package/dist/shared/theme/utils/extendTheme.d.ts +2 -2
  427. package/dist/shared/theme/utils/localStorageController.d.ts +6 -6
  428. package/dist/shared/types/credit-card.d.ts +5 -5
  429. package/dist/shared/types/file.d.ts +11 -11
  430. package/dist/shared/types/name.d.ts +3 -3
  431. package/dist/shared/types/phone.d.ts +7 -7
  432. package/dist/utils/GenerateKey.d.ts +10 -10
  433. package/dist/utils/brightnessColorChange.d.ts +8 -8
  434. package/dist/utils/colorCheck.d.ts +40 -40
  435. package/dist/utils/colorFunctions.d.ts +2 -2
  436. package/dist/utils/colorToGray.d.ts +5 -5
  437. package/dist/utils/customColorMode.d.ts +1 -1
  438. package/dist/utils/file.d.ts +26 -26
  439. package/dist/utils/formatters/bytes.d.ts +7 -7
  440. package/dist/utils/formatters/capitalize.d.ts +6 -6
  441. package/dist/utils/formatters/cep.d.ts +12 -12
  442. package/dist/utils/formatters/cnpj.d.ts +18 -18
  443. package/dist/utils/formatters/color.d.ts +15 -15
  444. package/dist/utils/formatters/cpf.d.ts +18 -18
  445. package/dist/utils/formatters/credit-card.d.ts +26 -26
  446. package/dist/utils/formatters/email.d.ts +1 -1
  447. package/dist/utils/formatters/index.d.ts +15 -15
  448. package/dist/utils/formatters/name.d.ts +20 -20
  449. package/dist/utils/formatters/number.d.ts +6 -6
  450. package/dist/utils/formatters/passport.d.ts +24 -24
  451. package/dist/utils/formatters/phone.d.ts +71 -71
  452. package/dist/utils/formatters/price.d.ts +11 -11
  453. package/dist/utils/formatters/rg.d.ts +12 -12
  454. package/dist/utils/formatters/strings.d.ts +19 -19
  455. package/dist/utils/fuctionsColors.d.ts +2 -2
  456. package/dist/utils/generateUUID.d.ts +1 -1
  457. package/dist/utils/getColorValue.d.ts +12 -12
  458. package/dist/utils/getSvg.d.ts +10 -10
  459. package/dist/utils/getValuesBySize.d.ts +6 -6
  460. package/dist/utils/invertColor.d.ts +7 -7
  461. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
2
2
  //# sourceMappingURL=theme.test.d.ts.map
@@ -1,23 +1,23 @@
1
- import { defaultTheme } from '.';
2
- export type ThemeBase = typeof defaultTheme;
3
- export type ExtendThemeProps = ThemeBase;
4
- export type ThemeBaseColors = ThemeBase['colors'];
5
- export type ExtendedThemeParams = Omit<ThemeBase, 'colors'> & {
6
- colors: {
7
- dark: ThemeBaseColors;
8
- light: ThemeBaseColors;
9
- } | ThemeBaseColors;
10
- };
11
- export type ThemeProps = ExtendThemeProps & {
12
- [key: string]: any;
13
- };
14
- export type CustomThemeProps = {
15
- [Key in keyof ExtendThemeProps]?: Partial<ExtendThemeProps[Key] | {
16
- [Key2 in keyof ExtendThemeProps[Key]]: Partial<ExtendThemeProps[Key][Key2]> | string;
17
- }>;
18
- };
19
- export type ExtendMethodProps = (customTheme: (CustomThemeProps & {
20
- [key: string]: any;
21
- })) => ExtendThemeProps;
22
- export type GlobalColorsProps = 'body.light' | 'body.dark' | 'primary.alert' | 'primary.alert' | 'primary.disabled' | 'primary.default' | 'primary.hover' | 'primary.focus' | 'secondary.disabled' | 'secondary.default' | 'secondary.hover' | 'secondary.focus' | 'tertiary.disabled' | 'tertiary.default' | 'tertiary.hover' | 'tertiary.focus' | 'neutral.white' | 'neutral.neutral1' | 'neutral.neutral2' | 'neutral.neutral3' | 'neutral.neutral4' | 'neutral.neutral5' | 'neutral.neutral6' | 'neutral.black' | 'background.linear1' | 'background.linear2' | 'background.linear3' | 'background.light' | 'informative.default' | 'informative.blurred' | 'informative.gradient' | 'success.default' | 'success.blurred' | 'success.gradient' | 'success_secondary.default' | 'success_secondary.blurred' | 'success_secondary.gradient' | 'warning.default' | 'warning.blurred' | 'warning.gradient' | 'warning_secondary.default' | 'warning_secondary.blurred' | 'warning_secondary.gradient' | 'error.default' | 'error.blurred' | 'error.gradient' | 'critical.default' | 'critical.blurred' | 'critical.gradient';
1
+ import { defaultTheme } from '.';
2
+ export type ThemeBase = typeof defaultTheme;
3
+ export type ExtendThemeProps = ThemeBase;
4
+ export type ThemeBaseColors = ThemeBase['colors'];
5
+ export type ExtendedThemeParams = Omit<ThemeBase, 'colors'> & {
6
+ colors: {
7
+ dark: ThemeBaseColors;
8
+ light: ThemeBaseColors;
9
+ } | ThemeBaseColors;
10
+ };
11
+ export type ThemeProps = ExtendThemeProps & {
12
+ [key: string]: any;
13
+ };
14
+ export type CustomThemeProps = {
15
+ [Key in keyof ExtendThemeProps]?: Partial<ExtendThemeProps[Key] | {
16
+ [Key2 in keyof ExtendThemeProps[Key]]: Partial<ExtendThemeProps[Key][Key2]> | string;
17
+ }>;
18
+ };
19
+ export type ExtendMethodProps = (customTheme: (CustomThemeProps & {
20
+ [key: string]: any;
21
+ })) => ExtendThemeProps;
22
+ export type GlobalColorsProps = 'body.light' | 'body.dark' | 'primary.alert' | 'primary.alert' | 'primary.disabled' | 'primary.default' | 'primary.hover' | 'primary.focus' | 'secondary.disabled' | 'secondary.default' | 'secondary.hover' | 'secondary.focus' | 'tertiary.disabled' | 'tertiary.default' | 'tertiary.hover' | 'tertiary.focus' | 'neutral.white' | 'neutral.neutral1' | 'neutral.neutral2' | 'neutral.neutral3' | 'neutral.neutral4' | 'neutral.neutral5' | 'neutral.neutral6' | 'neutral.black' | 'background.linear1' | 'background.linear2' | 'background.linear3' | 'background.light' | 'informative.default' | 'informative.blurred' | 'informative.gradient' | 'success.default' | 'success.blurred' | 'success.gradient' | 'success_secondary.default' | 'success_secondary.blurred' | 'success_secondary.gradient' | 'warning.default' | 'warning.blurred' | 'warning.gradient' | 'warning_secondary.default' | 'warning_secondary.blurred' | 'warning_secondary.gradient' | 'error.default' | 'error.blurred' | 'error.gradient' | 'critical.default' | 'critical.blurred' | 'critical.gradient';
23
23
  //# sourceMappingURL=theme.types.d.ts.map
@@ -1,3 +1,3 @@
1
- import { ExtendMethodProps } from '..';
2
- export declare const extendTheme: ExtendMethodProps;
1
+ import { ExtendMethodProps } from '..';
2
+ export declare const extendTheme: ExtendMethodProps;
3
3
  //# sourceMappingURL=extendTheme.d.ts.map
@@ -1,7 +1,7 @@
1
- export declare const localStorageController: {
2
- get(key: string): "light" | "dark";
3
- set(key: string, value: string): void;
4
- remove(key: string): void;
5
- clear(): void;
6
- };
1
+ export declare const localStorageController: {
2
+ get(key: string): "light" | "dark";
3
+ set(key: string, value: string): void;
4
+ remove(key: string): void;
5
+ clear(): void;
6
+ };
7
7
  //# sourceMappingURL=localStorageController.d.ts.map
@@ -1,6 +1,6 @@
1
- export type CreditCardOptions = {
2
- monthErrorMessage: string;
3
- yearErrorMessage: string;
4
- dateErrorMessage: string;
5
- };
1
+ export type CreditCardOptions = {
2
+ monthErrorMessage: string;
3
+ yearErrorMessage: string;
4
+ dateErrorMessage: string;
5
+ };
6
6
  //# sourceMappingURL=credit-card.d.ts.map
@@ -1,12 +1,12 @@
1
- export type FormattedFile = {
2
- url: string;
3
- name: string;
4
- type: string;
5
- size: number;
6
- file: Blob;
7
- };
8
- export type UrlProps = {
9
- url: string;
10
- name?: string;
11
- };
1
+ export type FormattedFile = {
2
+ url: string;
3
+ name: string;
4
+ type: string;
5
+ size: number;
6
+ file: Blob;
7
+ };
8
+ export type UrlProps = {
9
+ url: string;
10
+ name?: string;
11
+ };
12
12
  //# sourceMappingURL=file.d.ts.map
@@ -1,4 +1,4 @@
1
- export type NameOptions = {
2
- errorMessage: string;
3
- };
1
+ export type NameOptions = {
2
+ errorMessage: string;
3
+ };
4
4
  //# sourceMappingURL=name.d.ts.map
@@ -1,8 +1,8 @@
1
- export interface FormatPhoneProps {
2
- formattedNumber: string;
3
- ddi?: string;
4
- formattedNumberWithDDI: string;
5
- unformattedNumber: string;
6
- unformattedNumberWithDDI: string;
7
- }
1
+ export interface FormatPhoneProps {
2
+ formattedNumber: string;
3
+ ddi?: string;
4
+ formattedNumberWithDDI: string;
5
+ unformattedNumber: string;
6
+ unformattedNumberWithDDI: string;
7
+ }
8
8
  //# sourceMappingURL=phone.d.ts.map
@@ -1,11 +1,11 @@
1
- /**
2
- * Generates a random hexadecimal string with length 4.
3
- * @returns hexadecimal string.
4
- */
5
- export declare function s4(): string;
6
- /**
7
- * Generates a unique key using Date and pseudo random numbers.
8
- * @returns A unique key.
9
- */
10
- export declare function generateKey(): string;
1
+ /**
2
+ * Generates a random hexadecimal string with length 4.
3
+ * @returns hexadecimal string.
4
+ */
5
+ export declare function s4(): string;
6
+ /**
7
+ * Generates a unique key using Date and pseudo random numbers.
8
+ * @returns A unique key.
9
+ */
10
+ export declare function generateKey(): string;
11
11
  //# sourceMappingURL=GenerateKey.d.ts.map
@@ -1,9 +1,9 @@
1
- /**
2
- * Change the brightness of a color
3
- * @param color : color to change;
4
- * @param percent : percent of brightness;
5
- * @returns : new color with changed brightness;
6
- * @see https://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
7
- */
8
- export declare function brightnessColorChange(color: string, percent: number): string;
1
+ /**
2
+ * Change the brightness of a color
3
+ * @param color : color to change;
4
+ * @param percent : percent of brightness;
5
+ * @returns : new color with changed brightness;
6
+ * @see https://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
7
+ */
8
+ export declare function brightnessColorChange(color: string, percent: number): string;
9
9
  //# sourceMappingURL=brightnessColorChange.d.ts.map
@@ -1,41 +1,41 @@
1
- type StripThemeColorsProps = {
2
- [key: string]: {
3
- [key: string]: string;
4
- };
5
- };
6
- /**
7
- * Verifies if the provided color is a valid hex color.
8
- * @param color : color value;
9
- * @returns : true if color is valid, false otherwise;
10
- * @see https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444#8027444
11
- */
12
- export declare const isHexColor: (color: string) => boolean;
13
- /**
14
- * Verifies if the provided color is a valid rgb or hsl color.
15
- * @param color : color value;
16
- * @returns : true if color is valid, false otherwise;
17
- * @see https://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion
18
- */
19
- export declare const isRgbHslColor: (color: string) => boolean;
20
- /**
21
- * Verifies if the provided color is a valid theme color and returns the theme color value.
22
- * @param color : theme color tag value;
23
- * @param themeColors : theme colors object;
24
- * @returns : theme color value if color is valid, null otherwise;
25
- */
26
- export declare const stripThemeColors: (color: string, themeColors: StripThemeColorsProps) => string | null;
27
- /**
28
- * Convert a hex color to rgba color.
29
- * @param color : hex color value;
30
- * @param opacity : opacity value;
31
- * @returns : rgba color value;
32
- */
33
- export declare const parseHexColorToRgba: (color: string, opacity: number) => string;
34
- /**
35
- * Convert a hsl array color to string
36
- * @param color : hsl color array;
37
- * @returns : hsl color value;
38
- */
39
- export declare const parseHslColorToString: (color: number[]) => string;
40
- export {};
1
+ type StripThemeColorsProps = {
2
+ [key: string]: {
3
+ [key: string]: string;
4
+ };
5
+ };
6
+ /**
7
+ * Verifies if the provided color is a valid hex color.
8
+ * @param color : color value;
9
+ * @returns : true if color is valid, false otherwise;
10
+ * @see https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444#8027444
11
+ */
12
+ export declare const isHexColor: (color: string) => boolean;
13
+ /**
14
+ * Verifies if the provided color is a valid rgb or hsl color.
15
+ * @param color : color value;
16
+ * @returns : true if color is valid, false otherwise;
17
+ * @see https://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion
18
+ */
19
+ export declare const isRgbHslColor: (color: string) => boolean;
20
+ /**
21
+ * Verifies if the provided color is a valid theme color and returns the theme color value.
22
+ * @param color : theme color tag value;
23
+ * @param themeColors : theme colors object;
24
+ * @returns : theme color value if color is valid, null otherwise;
25
+ */
26
+ export declare const stripThemeColors: (color: string, themeColors: StripThemeColorsProps) => string | null;
27
+ /**
28
+ * Convert a hex color to rgba color.
29
+ * @param color : hex color value;
30
+ * @param opacity : opacity value;
31
+ * @returns : rgba color value;
32
+ */
33
+ export declare const parseHexColorToRgba: (color: string, opacity: number) => string;
34
+ /**
35
+ * Convert a hsl array color to string
36
+ * @param color : hsl color array;
37
+ * @returns : hsl color value;
38
+ */
39
+ export declare const parseHslColorToString: (color: number[]) => string;
40
+ export {};
41
41
  //# sourceMappingURL=colorCheck.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare function hoverFunction(col: string, amt?: number): string;
2
- export declare function focusFunction(col: string, amt?: number): string;
1
+ export declare function hoverFunction(col: string, amt?: number): string;
2
+ export declare function focusFunction(col: string, amt?: number): string;
3
3
  //# sourceMappingURL=colorFunctions.d.ts.map
@@ -1,6 +1,6 @@
1
- import { ArrayColor, objectGray } from '../components/Progress/types';
2
- export declare function numberToHex(c: number): string;
3
- export declare function rgbToHex(color: ArrayColor): string;
4
- export declare function convertColor(color: string | ArrayColor): objectGray;
5
- export declare const parseHslColorToString: (color: number[]) => string;
1
+ import { ArrayColor, objectGray } from '../components/Progress/types';
2
+ export declare function numberToHex(c: number): string;
3
+ export declare function rgbToHex(color: ArrayColor): string;
4
+ export declare function convertColor(color: string | ArrayColor): objectGray;
5
+ export declare const parseHslColorToString: (color: number[]) => string;
6
6
  //# sourceMappingURL=colorToGray.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function customColorMode<L, D>(light: L, dark: D): L | D;
1
+ export declare function customColorMode<L, D>(light: L, dark: D): L | D;
2
2
  //# sourceMappingURL=customColorMode.d.ts.map
@@ -1,27 +1,27 @@
1
- import { FormattedFile } from '../shared/types/file';
2
- /**
3
- * Converts an array of File objects to an array of base64-encoded files with additional information.
4
- * @param {File[]} files Array of File objects.
5
- * @returns {Promise<FormattedFile[]>} Promise that resolves with an array of FormattedFile objects.
6
- */
7
- export declare function filesToBase64(files: File[]): Promise<FormattedFile[]>;
8
- /**
9
- * Converts a single File object to a base64-encoded file with additional information.
10
- * @param {File} file File object to be converted.
11
- * @returns {Promise<FormattedFile>} Promise that resolves with a FormattedFile object.
12
- */
13
- export declare function convertFileToBase64(file: File): Promise<FormattedFile>;
14
- /**
15
- * Downloads a file from a given URL and converts it to a base64-encoded file with additional information.
16
- * @param {string} url URL of the file to be downloaded.
17
- * @param {string} name Optional name of the downloaded file.
18
- * @returns {Promise<FormattedFile | null>} Promise that resolves with a FormattedFile object or null if the URL is not valid.
19
- */
20
- export declare function urlToBase64(url: string, name?: string): Promise<FormattedFile | null>;
21
- /**
22
- * Downloads a file from a given URL and opens the download prompt.
23
- * @param {string} url URL of the file to be downloaded.
24
- * @returns {Promise<boolean>} Promise that resolves with a boolean indicating whether the download was successful.
25
- */
26
- export declare function downloadUrlToFile(url: string): Promise<boolean>;
1
+ import { FormattedFile } from '../shared/types/file';
2
+ /**
3
+ * Converts an array of File objects to an array of base64-encoded files with additional information.
4
+ * @param {File[]} files Array of File objects.
5
+ * @returns {Promise<FormattedFile[]>} Promise that resolves with an array of FormattedFile objects.
6
+ */
7
+ export declare function filesToBase64(files: File[]): Promise<FormattedFile[]>;
8
+ /**
9
+ * Converts a single File object to a base64-encoded file with additional information.
10
+ * @param {File} file File object to be converted.
11
+ * @returns {Promise<FormattedFile>} Promise that resolves with a FormattedFile object.
12
+ */
13
+ export declare function convertFileToBase64(file: File): Promise<FormattedFile>;
14
+ /**
15
+ * Downloads a file from a given URL and converts it to a base64-encoded file with additional information.
16
+ * @param {string} url URL of the file to be downloaded.
17
+ * @param {string} name Optional name of the downloaded file.
18
+ * @returns {Promise<FormattedFile | null>} Promise that resolves with a FormattedFile object or null if the URL is not valid.
19
+ */
20
+ export declare function urlToBase64(url: string, name?: string): Promise<FormattedFile | null>;
21
+ /**
22
+ * Downloads a file from a given URL and opens the download prompt.
23
+ * @param {string} url URL of the file to be downloaded.
24
+ * @returns {Promise<boolean>} Promise that resolves with a boolean indicating whether the download was successful.
25
+ */
26
+ export declare function downloadUrlToFile(url: string): Promise<boolean>;
27
27
  //# sourceMappingURL=file.d.ts.map
@@ -1,8 +1,8 @@
1
- /**
2
- * This function takes in a number of bytes and an optional number of decimal places and converts the number of bytes into a more readable format.
3
- * @param {number} bytes - The number of bytes to be formatted.
4
- * @param {number} decimals - Optional number of decimal places to round the result to. Default value is 2.
5
- * @returns {string} - A string representing the formatted bytes with the appropriate unit (e.g. "10.24 KB").
6
- */
7
- export declare function formatBytes(bytes: number, decimals?: number): string;
1
+ /**
2
+ * This function takes in a number of bytes and an optional number of decimal places and converts the number of bytes into a more readable format.
3
+ * @param {number} bytes - The number of bytes to be formatted.
4
+ * @param {number} decimals - Optional number of decimal places to round the result to. Default value is 2.
5
+ * @returns {string} - A string representing the formatted bytes with the appropriate unit (e.g. "10.24 KB").
6
+ */
7
+ export declare function formatBytes(bytes: number, decimals?: number): string;
8
8
  //# sourceMappingURL=bytes.d.ts.map
@@ -1,7 +1,7 @@
1
- /**
2
- * This function takes in a string and returns a new string with the first letter capitalized.
3
- * @param {string} string - The string to be capitalized.
4
- * @returns {string} - A new string with the first letter capitalized.
5
- */
6
- export declare function capitalize(string: string): string;
1
+ /**
2
+ * This function takes in a string and returns a new string with the first letter capitalized.
3
+ * @param {string} string - The string to be capitalized.
4
+ * @returns {string} - A new string with the first letter capitalized.
5
+ */
6
+ export declare function capitalize(string: string): string;
7
7
  //# sourceMappingURL=capitalize.d.ts.map
@@ -1,13 +1,13 @@
1
- /**
2
- * This function takes in a string representing a Brazilian postal code (CEP) and returns a formatted string in the standard CEP format (e.g. "12345-678").
3
- * @param {string} cep - The string representing the Brazilian postal code (CEP).
4
- * @returns {string} - A formatted string in the standard CEP format.
5
- */
6
- export declare function formatCep(cep: string): string;
7
- /**
8
- * This function takes in a string representing a Brazilian postal code (CEP) and returns a sanitized string without any non-numeric characters, with a maximum length of 8 characters.
9
- * @param {string} cep - The string representing the Brazilian postal code (CEP).
10
- * @returns {string} - A sanitized string without any non-numeric characters, with a maximum length of 8 characters.
11
- */
12
- export declare function sanitizeCep(cep: string): string;
1
+ /**
2
+ * This function takes in a string representing a Brazilian postal code (CEP) and returns a formatted string in the standard CEP format (e.g. "12345-678").
3
+ * @param {string} cep - The string representing the Brazilian postal code (CEP).
4
+ * @returns {string} - A formatted string in the standard CEP format.
5
+ */
6
+ export declare function formatCep(cep: string): string;
7
+ /**
8
+ * This function takes in a string representing a Brazilian postal code (CEP) and returns a sanitized string without any non-numeric characters, with a maximum length of 8 characters.
9
+ * @param {string} cep - The string representing the Brazilian postal code (CEP).
10
+ * @returns {string} - A sanitized string without any non-numeric characters, with a maximum length of 8 characters.
11
+ */
12
+ export declare function sanitizeCep(cep: string): string;
13
13
  //# sourceMappingURL=cep.d.ts.map
@@ -1,19 +1,19 @@
1
- /**
2
- * This function takes in a string representing a Brazilian CNPJ number and returns a formatted string in the standard CNPJ format (e.g. "12.345.678/0001-90").
3
- * @param {string} text - The string representing the Brazilian CNPJ number.
4
- * @returns {string} - A formatted string in the standard CNPJ format.
5
- */
6
- export declare function formatCnpj(text: string): string;
7
- /**
8
- * This function takes in a string representing a Brazilian CNPJ number and returns a sanitized string without any non-numeric characters, with a maximum length of 14 characters.
9
- * @param {string} cnpj - The string representing the Brazilian CNPJ number.
10
- * @returns {string} - A sanitized string without any non-numeric characters, with a maximum length of 14 characters.
11
- */
12
- export declare function sanitizeCNPJ(cnpj: string): string;
13
- /**
14
- * This function takes in a string representing a Brazilian CNPJ number and returns a boolean indicating whether the number is valid or not.
15
- * @param {string} cnpj - The string representing the Brazilian CNPJ number.
16
- * @returns {boolean} - A boolean indicating whether the CNPJ number is valid or not.
17
- */
18
- export declare function validateCNPJ(cnpj: string): boolean;
1
+ /**
2
+ * This function takes in a string representing a Brazilian CNPJ number and returns a formatted string in the standard CNPJ format (e.g. "12.345.678/0001-90").
3
+ * @param {string} text - The string representing the Brazilian CNPJ number.
4
+ * @returns {string} - A formatted string in the standard CNPJ format.
5
+ */
6
+ export declare function formatCnpj(text: string): string;
7
+ /**
8
+ * This function takes in a string representing a Brazilian CNPJ number and returns a sanitized string without any non-numeric characters, with a maximum length of 14 characters.
9
+ * @param {string} cnpj - The string representing the Brazilian CNPJ number.
10
+ * @returns {string} - A sanitized string without any non-numeric characters, with a maximum length of 14 characters.
11
+ */
12
+ export declare function sanitizeCNPJ(cnpj: string): string;
13
+ /**
14
+ * This function takes in a string representing a Brazilian CNPJ number and returns a boolean indicating whether the number is valid or not.
15
+ * @param {string} cnpj - The string representing the Brazilian CNPJ number.
16
+ * @returns {boolean} - A boolean indicating whether the CNPJ number is valid or not.
17
+ */
18
+ export declare function validateCNPJ(cnpj: string): boolean;
19
19
  //# sourceMappingURL=cnpj.d.ts.map
@@ -1,16 +1,16 @@
1
- /**
2
- * Converts a hexadecimal color code to HSL (Hue, Saturation, Luminance) format.
3
- * @param {string} hex - The hexadecimal color code to convert.
4
- * @returns {object} An object with the HSL values: hue, saturation, and luminance.
5
- */
6
- export declare function hexToHsl(hex: string): object;
7
- /**
8
- * Converts HSL color values to a hex string representation.
9
- *
10
- * @param {number} h - The hue value (in degrees, from 0 to 360).
11
- * @param {number} s - The saturation value (from 0 to 100).
12
- * @param {number} l - The lightness value (from 0 to 100).
13
- * @returns {string} The hex string representation of the HSL color.
14
- */
15
- export declare function hslToHex(h: number, s: number, l: number): string;
1
+ /**
2
+ * Converts a hexadecimal color code to HSL (Hue, Saturation, Luminance) format.
3
+ * @param {string} hex - The hexadecimal color code to convert.
4
+ * @returns {object} An object with the HSL values: hue, saturation, and luminance.
5
+ */
6
+ export declare function hexToHsl(hex: string): object;
7
+ /**
8
+ * Converts HSL color values to a hex string representation.
9
+ *
10
+ * @param {number} h - The hue value (in degrees, from 0 to 360).
11
+ * @param {number} s - The saturation value (from 0 to 100).
12
+ * @param {number} l - The lightness value (from 0 to 100).
13
+ * @returns {string} The hex string representation of the HSL color.
14
+ */
15
+ export declare function hslToHex(h: number, s: number, l: number): string;
16
16
  //# sourceMappingURL=color.d.ts.map
@@ -1,19 +1,19 @@
1
- /**
2
- * Formats a CPF string to a standard format.
3
- * @param {string} cpf - The CPF string to format.
4
- * @returns {string} The formatted CPF string.
5
- */
6
- export declare function formatCPF(cpf: string): string;
7
- /**
8
- * Sanitizes a CPF string by removing all non-numeric characters and taking only the first 11 digits.
9
- * @param {string} cpf - The CPF string to sanitize.
10
- * @returns {string} The sanitized CPF string.
11
- */
12
- export declare function sanitizeCPF(cpf: string): string;
13
- /**
14
- * Validates a CPF string using the Brazilian CPF algorithm.
15
- * @param {string} cpf - The CPF string to validate.
16
- * @returns {boolean} True if the CPF is valid, false otherwise.
17
- */
18
- export declare function validateCPF(cpf: string): boolean;
1
+ /**
2
+ * Formats a CPF string to a standard format.
3
+ * @param {string} cpf - The CPF string to format.
4
+ * @returns {string} The formatted CPF string.
5
+ */
6
+ export declare function formatCPF(cpf: string): string;
7
+ /**
8
+ * Sanitizes a CPF string by removing all non-numeric characters and taking only the first 11 digits.
9
+ * @param {string} cpf - The CPF string to sanitize.
10
+ * @returns {string} The sanitized CPF string.
11
+ */
12
+ export declare function sanitizeCPF(cpf: string): string;
13
+ /**
14
+ * Validates a CPF string using the Brazilian CPF algorithm.
15
+ * @param {string} cpf - The CPF string to validate.
16
+ * @returns {boolean} True if the CPF is valid, false otherwise.
17
+ */
18
+ export declare function validateCPF(cpf: string): boolean;
19
19
  //# sourceMappingURL=cpf.d.ts.map
@@ -1,27 +1,27 @@
1
- import { CreditCardOptions } from '../../shared/types/credit-card';
2
- /**
3
- * Format a credit card number by adding spaces after every four digits, up to a maximum of 19 characters.
4
- * @param {string} creditCardNumber - The credit card number to format
5
- * @returns {string} The formatted credit card number
6
- */
7
- export declare function formatCreditCardNumber(creditCardNumber: string): string;
8
- /**
9
- * Sanitize a credit card number by removing all non-numeric characters and leading zeros.
10
- * @param {string} creditCardNumber - The credit card number to sanitize
11
- * @returns {string} The sanitized credit card number
12
- */
13
- export declare function sanitizeCreditCardNumber(creditCardNumber: string): string;
14
- /**
15
- * Format a credit card expiration date by adding a slash between the month and year components.
16
- * @param {string} value - The expiration date to format
17
- * @returns {string} The formatted expiration date
18
- */
19
- export declare function formatCreditCardExpirationDate(value: string): string;
20
- /**
21
- * Validate a credit card expiration date by checking if it is a valid date in the future.
22
- * @param {string} value - The expiration date to validate
23
- * @param {CreditCardOptions} options - An object containing the following properties: monthErrorMessage, yearErrorMessage, dateErrorMessage
24
- * @returns {boolean | string} true if the expiration date is valid, or an error message otherwise
25
- */
26
- export declare function validateCreditCardExpirationDate(value: string, { monthErrorMessage, yearErrorMessage, dateErrorMessage, }: CreditCardOptions): boolean | string;
1
+ import { CreditCardOptions } from '../../shared/types/credit-card';
2
+ /**
3
+ * Format a credit card number by adding spaces after every four digits, up to a maximum of 19 characters.
4
+ * @param {string} creditCardNumber - The credit card number to format
5
+ * @returns {string} The formatted credit card number
6
+ */
7
+ export declare function formatCreditCardNumber(creditCardNumber: string): string;
8
+ /**
9
+ * Sanitize a credit card number by removing all non-numeric characters and leading zeros.
10
+ * @param {string} creditCardNumber - The credit card number to sanitize
11
+ * @returns {string} The sanitized credit card number
12
+ */
13
+ export declare function sanitizeCreditCardNumber(creditCardNumber: string): string;
14
+ /**
15
+ * Format a credit card expiration date by adding a slash between the month and year components.
16
+ * @param {string} value - The expiration date to format
17
+ * @returns {string} The formatted expiration date
18
+ */
19
+ export declare function formatCreditCardExpirationDate(value: string): string;
20
+ /**
21
+ * Validate a credit card expiration date by checking if it is a valid date in the future.
22
+ * @param {string} value - The expiration date to validate
23
+ * @param {CreditCardOptions} options - An object containing the following properties: monthErrorMessage, yearErrorMessage, dateErrorMessage
24
+ * @returns {boolean | string} true if the expiration date is valid, or an error message otherwise
25
+ */
26
+ export declare function validateCreditCardExpirationDate(value: string, { monthErrorMessage, yearErrorMessage, dateErrorMessage, }: CreditCardOptions): boolean | string;
27
27
  //# sourceMappingURL=credit-card.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const emailPattern: RegExp;
1
+ export declare const emailPattern: RegExp;
2
2
  //# sourceMappingURL=email.d.ts.map
@@ -1,16 +1,16 @@
1
- export * from './bytes';
2
- export * from './capitalize';
3
- export * from './cep';
4
- export * from './cnpj';
5
- export * from './color';
6
- export * from './cpf';
7
- export * from './credit-card';
8
- export * from './email';
9
- export * from './name';
10
- export * from './number';
11
- export * from './passport';
12
- export * from './phone';
13
- export * from './price';
14
- export * from './rg';
15
- export * from './strings';
1
+ export * from './bytes';
2
+ export * from './capitalize';
3
+ export * from './cep';
4
+ export * from './cnpj';
5
+ export * from './color';
6
+ export * from './cpf';
7
+ export * from './credit-card';
8
+ export * from './email';
9
+ export * from './name';
10
+ export * from './number';
11
+ export * from './passport';
12
+ export * from './phone';
13
+ export * from './price';
14
+ export * from './rg';
15
+ export * from './strings';
16
16
  //# sourceMappingURL=index.d.ts.map