@pedidopago/ui 1.3.10 → 1.3.13

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 (386) hide show
  1. package/README.md +93 -93
  2. package/dist/@types/index.d.ts +6 -6
  3. package/dist/components/Alert/alert.test.d.ts +1 -1
  4. package/dist/components/Alert/index.d.ts +4 -4
  5. package/dist/components/Alert/styles.d.ts +24 -24
  6. package/dist/components/Alert/types.d.ts +44 -44
  7. package/dist/components/Avatar/avatar.test.d.ts +1 -1
  8. package/dist/components/Avatar/index.d.ts +4 -4
  9. package/dist/components/Avatar/styles.d.ts +25 -25
  10. package/dist/components/Avatar/types.d.ts +15 -15
  11. package/dist/components/Badge/badge.test.d.ts +1 -1
  12. package/dist/components/Badge/index.d.ts +4 -4
  13. package/dist/components/Badge/styles.d.ts +16 -16
  14. package/dist/components/Badge/types.d.ts +11 -11
  15. package/dist/components/Button/Button.test.d.ts +1 -1
  16. package/dist/components/Button/index.d.ts +3 -3
  17. package/dist/components/Button/styles.d.ts +14 -14
  18. package/dist/components/Button/types.d.ts +101 -101
  19. package/dist/components/Card/card.test.tsx.d.ts +1 -1
  20. package/dist/components/Card/index.d.ts +3 -3
  21. package/dist/components/Card/styles.d.ts +6 -6
  22. package/dist/components/Card/types.d.ts +16 -16
  23. package/dist/components/CheckboxInput/checkbox-input.test.d.ts +1 -1
  24. package/dist/components/CheckboxInput/components/MultipleCheckbox.d.ts +4 -4
  25. package/dist/components/CheckboxInput/index.d.ts +4 -4
  26. package/dist/components/CheckboxInput/styles.d.ts +31 -31
  27. package/dist/components/CheckboxInput/types.d.ts +26 -26
  28. package/dist/components/ColorPicker/colorpicker.test.d.ts +1 -1
  29. package/dist/components/ColorPicker/components/ColorHue.d.ts +4 -4
  30. package/dist/components/ColorPicker/components/ColorInput.d.ts +4 -4
  31. package/dist/components/ColorPicker/components/ColorPickerBox.d.ts +4 -4
  32. package/dist/components/ColorPicker/components/ColorPointer.d.ts +4 -4
  33. package/dist/components/ColorPicker/components/ColorSelector.d.ts +4 -4
  34. package/dist/components/ColorPicker/hooks/useCachedCallback.d.ts +1 -1
  35. package/dist/components/ColorPicker/hooks/useHsva.d.ts +2 -2
  36. package/dist/components/ColorPicker/index.d.ts +4 -4
  37. package/dist/components/ColorPicker/styles.d.ts +44 -44
  38. package/dist/components/ColorPicker/types.d.ts +73 -73
  39. package/dist/components/ColorPicker/utils/checkers.d.ts +7 -7
  40. package/dist/components/ColorPicker/utils/conversors.d.ts +60 -60
  41. package/dist/components/ColorPicker/utils/parsers.d.ts +27 -27
  42. package/dist/components/ColorPicker/utils/parsers.js +18 -18
  43. package/dist/components/DateInput/DateInput-example.d.ts +5 -5
  44. package/dist/components/DateInput/components/ModalWrapper/index.d.ts +3 -3
  45. package/dist/components/DateInput/components/ModalWrapper/styles.d.ts +264 -264
  46. package/dist/components/DateInput/components/ModalWrapper/types.d.ts +13 -13
  47. package/dist/components/DateInput/dateInput.test.d.ts +1 -1
  48. package/dist/components/DateInput/index.d.ts +3 -3
  49. package/dist/components/DateInput/index.d.ts.map +1 -1
  50. package/dist/components/DateInput/index.js +11 -11
  51. package/dist/components/DateInput/styles.d.ts +266 -266
  52. package/dist/components/DateInput/types.d.ts +16 -16
  53. package/dist/components/DatePicker/components/DatePickerContent.d.ts +3 -3
  54. package/dist/components/DatePicker/components/DatePickerContent.d.ts.map +1 -1
  55. package/dist/components/DatePicker/components/DatePickerContent.js +12 -28
  56. package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
  57. package/dist/components/DatePicker/datepicker.test.d.ts +1 -1
  58. package/dist/components/DatePicker/datepicker.test.js +0 -2
  59. package/dist/components/DatePicker/index.d.ts +4 -4
  60. package/dist/components/DatePicker/index.d.ts.map +1 -1
  61. package/dist/components/DatePicker/index.js +8 -6
  62. package/dist/components/DatePicker/styles.d.ts +74 -74
  63. package/dist/components/DatePicker/styles.d.ts.map +1 -1
  64. package/dist/components/DatePicker/styles.js +27 -21
  65. package/dist/components/DatePicker/types.d.ts +58 -58
  66. package/dist/components/DatePicker/utils/getMonthName.d.ts +1 -1
  67. package/dist/components/Dialog/dialog-example.d.ts +3 -3
  68. package/dist/components/Dialog/dialog.test.d.ts +1 -1
  69. package/dist/components/Dialog/index.d.ts +3 -3
  70. package/dist/components/Dialog/styles.d.ts +25 -25
  71. package/dist/components/Dialog/types.d.ts +30 -30
  72. package/dist/components/Dropzone/dropzone.test.d.ts +1 -1
  73. package/dist/components/Dropzone/index.d.ts +4 -4
  74. package/dist/components/Dropzone/styles.d.ts +46 -46
  75. package/dist/components/Dropzone/types.d.ts +19 -19
  76. package/dist/components/Dropzone/utils/accepts.d.ts +10 -10
  77. package/dist/components/Dropzone/utils/accepts.js +8 -8
  78. package/dist/components/Flex/flex.test.d.ts +1 -1
  79. package/dist/components/Flex/index.d.ts +4 -4
  80. package/dist/components/Flex/styles.d.ts +296 -296
  81. package/dist/components/Flex/types.d.ts +175 -175
  82. package/dist/components/Grid/grid.test.d.ts +1 -1
  83. package/dist/components/Grid/index.d.ts +4 -4
  84. package/dist/components/Grid/styles.d.ts +288 -288
  85. package/dist/components/Grid/types.d.ts +88 -88
  86. package/dist/components/Icon/data/beauty.d.ts +8 -8
  87. package/dist/components/Icon/data/dash.d.ts +8 -8
  88. package/dist/components/Icon/data/dash.d.ts.map +1 -1
  89. package/dist/components/Icon/data/dash.js +1 -1
  90. package/dist/components/Icon/data/ecommerce.d.ts +8 -8
  91. package/dist/components/Icon/data/form.d.ts +8 -8
  92. package/dist/components/Icon/data/health.d.ts +8 -8
  93. package/dist/components/Icon/data/illustrations.d.ts +8 -8
  94. package/dist/components/Icon/data/men.d.ts +8 -8
  95. package/dist/components/Icon/data/payment.d.ts +8 -8
  96. package/dist/components/Icon/data/payment.d.ts.map +1 -1
  97. package/dist/components/Icon/data/payment.js +5 -19
  98. package/dist/components/Icon/data/physicalPerfomance.d.ts +8 -8
  99. package/dist/components/Icon/data/social.d.ts +8 -8
  100. package/dist/components/Icon/data/status.d.ts +8 -8
  101. package/dist/components/Icon/data/summer.d.ts +8 -8
  102. package/dist/components/Icon/data/woman.d.ts +8 -8
  103. package/dist/components/Icon/icon.test.d.ts +1 -1
  104. package/dist/components/Icon/index.d.ts +4 -4
  105. package/dist/components/Icon/scripts/build.d.ts +5 -5
  106. package/dist/components/Icon/scripts/build.js +2 -2
  107. package/dist/components/Icon/scripts/extractor.d.ts +15 -15
  108. package/dist/components/Icon/scripts/extractor.js +5 -5
  109. package/dist/components/Icon/scripts/run-build.d.ts +1 -1
  110. package/dist/components/Icon/scripts/writers.d.ts +22 -22
  111. package/dist/components/Icon/scripts/writers.js +9 -9
  112. package/dist/components/Icon/styles.d.ts +13 -13
  113. package/dist/components/Icon/types.d.ts +8 -8
  114. package/dist/components/Icon/types.d.ts.map +1 -1
  115. package/dist/components/Icon/utils/allIcons.d.ts +8 -8
  116. package/dist/components/IconItem/IconItem.test.d.ts +1 -1
  117. package/dist/components/IconItem/index.d.ts +4 -4
  118. package/dist/components/IconItem/styles.d.ts +18 -18
  119. package/dist/components/IconItem/types.d.ts +22 -22
  120. package/dist/components/Illustration/BoletoSvg/index.d.ts +4 -4
  121. package/dist/components/Illustration/BoxClosedSvg/index.d.ts +4 -4
  122. package/dist/components/Illustration/BoxDeliverySvg/index.d.ts +4 -4
  123. package/dist/components/Illustration/BoxOpenSvg/index.d.ts +4 -4
  124. package/dist/components/Illustration/CalendarSvg/index.d.ts +4 -4
  125. package/dist/components/Illustration/CardSvg/index.d.ts +4 -4
  126. package/dist/components/Illustration/InquirySvg/index.d.ts +4 -4
  127. package/dist/components/Illustration/OrderSvg/index.d.ts +4 -4
  128. package/dist/components/Illustration/PixSvg/index.d.ts +4 -4
  129. package/dist/components/Illustration/PrescriptionSvg/index.d.ts +4 -4
  130. package/dist/components/Illustration/TransportSvg/index.d.ts +4 -4
  131. package/dist/components/Illustration/illustration.test.d.ts +1 -1
  132. package/dist/components/Illustration/index.d.ts +4 -4
  133. package/dist/components/Illustration/styles.d.ts +10 -10
  134. package/dist/components/Illustration/types.d.ts +6 -6
  135. package/dist/components/ImageItem/imageFake.d.ts +2 -2
  136. package/dist/components/ImageItem/index.d.ts +4 -4
  137. package/dist/components/ImageItem/input.test.d.ts +1 -1
  138. package/dist/components/ImageItem/styles.d.ts +26 -26
  139. package/dist/components/ImageItem/types.d.ts +25 -25
  140. package/dist/components/Input/index.d.ts +4 -4
  141. package/dist/components/Input/input.test.d.ts +1 -1
  142. package/dist/components/Input/styles.d.ts +68 -68
  143. package/dist/components/Input/types.d.ts +26 -26
  144. package/dist/components/Label/index.d.ts +4 -4
  145. package/dist/components/Label/label.test.d.ts +1 -1
  146. package/dist/components/Label/styles.d.ts +6 -6
  147. package/dist/components/Label/types.d.ts +15 -15
  148. package/dist/components/List/index.d.ts +4 -4
  149. package/dist/components/List/list.test.d.ts +1 -1
  150. package/dist/components/List/styles.d.ts +15 -15
  151. package/dist/components/List/types.d.ts +7 -7
  152. package/dist/components/Modal/ModalExample.d.ts +3 -3
  153. package/dist/components/Modal/index.d.ts +3 -3
  154. package/dist/components/Modal/modal.test.d.ts +1 -1
  155. package/dist/components/Modal/styles.d.ts +27 -27
  156. package/dist/components/Modal/types.d.ts +35 -35
  157. package/dist/components/MultipleSelect/MultipleSelect.test.d.ts +1 -1
  158. package/dist/components/MultipleSelect/components/InputWrapper/index.d.ts +10 -10
  159. package/dist/components/MultipleSelect/components/OptionsArea/OptionsArea.d.ts +18 -18
  160. package/dist/components/MultipleSelect/components/OptionsArea/index.d.ts +15 -15
  161. package/dist/components/MultipleSelect/components/SelectArea/ButtonsArea.d.ts +10 -10
  162. package/dist/components/MultipleSelect/components/SelectArea/Label.d.ts +6 -6
  163. package/dist/components/MultipleSelect/components/SelectArea/Label.js +35 -35
  164. package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.d.ts +6 -6
  165. package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts +18 -18
  166. package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts.map +1 -1
  167. package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.js +1 -1
  168. package/dist/components/MultipleSelect/components/SelectArea/index.d.ts +17 -16
  169. package/dist/components/MultipleSelect/components/SelectArea/index.d.ts.map +1 -1
  170. package/dist/components/MultipleSelect/components/SelectArea/index.js +8 -5
  171. package/dist/components/MultipleSelect/components/SelectArea/styles.d.ts +11 -0
  172. package/dist/components/MultipleSelect/components/SelectArea/styles.d.ts.map +1 -0
  173. package/dist/components/MultipleSelect/components/SelectArea/styles.js +42 -0
  174. package/dist/components/MultipleSelect/components/index.d.ts +3 -3
  175. package/dist/components/MultipleSelect/index.d.ts +5 -5
  176. package/dist/components/MultipleSelect/index.js +2 -2
  177. package/dist/components/MultipleSelect/types.d.ts +36 -37
  178. package/dist/components/MultipleSelect/types.d.ts.map +1 -1
  179. package/dist/components/Pagination/hooks/usePagination.d.ts +3 -3
  180. package/dist/components/Pagination/index.d.ts +3 -3
  181. package/dist/components/Pagination/index.d.ts.map +1 -1
  182. package/dist/components/Pagination/index.js +3 -0
  183. package/dist/components/Pagination/pagination.test.d.ts +1 -1
  184. package/dist/components/Pagination/styles.d.ts +34 -34
  185. package/dist/components/Pagination/types.d.ts +28 -28
  186. package/dist/components/Progress/Circle/index.d.ts +3 -3
  187. package/dist/components/Progress/Linear/index.d.ts +3 -3
  188. package/dist/components/Progress/getSteps.d.ts +1 -1
  189. package/dist/components/Progress/index.d.ts +4 -4
  190. package/dist/components/Progress/progress.test.d.ts +1 -1
  191. package/dist/components/Progress/style.d.ts +38 -38
  192. package/dist/components/Progress/type.d.ts +69 -69
  193. package/dist/components/RadioInput/components/ChoiceList/index.d.ts +5 -5
  194. package/dist/components/RadioInput/components/ChoiceList/index.d.ts.map +1 -1
  195. package/dist/components/RadioInput/components/ChoiceList/index.js +61 -76
  196. package/dist/components/RadioInput/index.d.ts +4 -4
  197. package/dist/components/RadioInput/index.d.ts.map +1 -1
  198. package/dist/components/RadioInput/index.js +22 -69
  199. package/dist/components/RadioInput/radio-input.test.d.ts +1 -1
  200. package/dist/components/RadioInput/radio-input.test.js +44 -98
  201. package/dist/components/RadioInput/styles.d.ts +30 -30
  202. package/dist/components/RadioInput/styles.d.ts.map +1 -1
  203. package/dist/components/RadioInput/styles.js +5 -11
  204. package/dist/components/RadioInput/types.d.ts +32 -60
  205. package/dist/components/RadioInput/types.d.ts.map +1 -1
  206. package/dist/components/RadioInput/utils/get-colors-props.d.ts +11 -11
  207. package/dist/components/Rating/components/GradientIcon/data/dash.d.ts +8 -8
  208. package/dist/components/Rating/components/GradientIcon/data/ecommerce.d.ts +8 -8
  209. package/dist/components/Rating/components/GradientIcon/index.d.ts +4 -4
  210. package/dist/components/Rating/components/GradientIcon/scripts/build.d.ts +7 -7
  211. package/dist/components/Rating/components/GradientIcon/scripts/build.js +4 -4
  212. package/dist/components/Rating/components/GradientIcon/scripts/extractor.d.ts +15 -15
  213. package/dist/components/Rating/components/GradientIcon/scripts/extractor.js +5 -5
  214. package/dist/components/Rating/components/GradientIcon/scripts/writers.d.ts +22 -22
  215. package/dist/components/Rating/components/GradientIcon/scripts/writers.js +9 -9
  216. package/dist/components/Rating/components/GradientIcon/styles.d.ts +12 -12
  217. package/dist/components/Rating/components/GradientIcon/types.d.ts +15 -15
  218. package/dist/components/Rating/components/GradientIcon/utils/allIcons.d.ts +8 -8
  219. package/dist/components/Rating/components/RatingWithMultipleValues/RatingWithMultipleValues.d.ts +3 -3
  220. package/dist/components/Rating/components/RatingWithMultipleValues/styles.d.ts +6 -6
  221. package/dist/components/Rating/components/RatingWithMultipleValues/types.d.ts +16 -16
  222. package/dist/components/Rating/components/RatingWithSingleValue/RatingWithSingleValue.d.ts +3 -3
  223. package/dist/components/Rating/components/RatingWithSingleValue/icons/0.d.ts +3 -3
  224. package/dist/components/Rating/components/RatingWithSingleValue/icons/1.d.ts +3 -3
  225. package/dist/components/Rating/components/RatingWithSingleValue/icons/2.d.ts +3 -3
  226. package/dist/components/Rating/components/RatingWithSingleValue/icons/3.d.ts +3 -3
  227. package/dist/components/Rating/components/RatingWithSingleValue/icons/4.d.ts +3 -3
  228. package/dist/components/Rating/components/RatingWithSingleValue/icons/index.d.ts +6 -6
  229. package/dist/components/Rating/components/RatingWithSingleValue/styles.d.ts +6 -6
  230. package/dist/components/Rating/components/RatingWithSingleValue/types.d.ts +10 -10
  231. package/dist/components/Rating/index.d.ts +4 -4
  232. package/dist/components/Rating/rating.test.d.ts +1 -1
  233. package/dist/components/Rating/types.d.ts +28 -28
  234. package/dist/components/Rating/utils/IconObjectsController.d.ts +9 -9
  235. package/dist/components/Rating/utils/svgDataTratamentFunction.d.ts +9 -9
  236. package/dist/components/ReactPortal/index.d.ts +7 -7
  237. package/dist/components/ReactPortal/index.d.ts.map +1 -1
  238. package/dist/components/ReactPortal/index.js +1 -1
  239. package/dist/components/ReactPortal/reactPortal.test.d.ts +1 -1
  240. package/dist/components/ReactPortal/utils/createWrapperAndApprendToBody.d.ts +1 -1
  241. package/dist/components/Select/components/OptionsSelect/index.d.ts +3 -3
  242. package/dist/components/Select/components/OptionsSelect/styles.d.ts +264 -264
  243. package/dist/components/Select/components/OptionsSelect/types.d.ts +15 -15
  244. package/dist/components/Select/index.d.ts +4 -4
  245. package/dist/components/Select/index.d.ts.map +1 -1
  246. package/dist/components/Select/index.js +12 -6
  247. package/dist/components/Select/select.test.d.ts +1 -1
  248. package/dist/components/Select/styles.d.ts +17 -17
  249. package/dist/components/Select/types.d.ts +22 -22
  250. package/dist/components/Skeleton/index.d.ts +4 -4
  251. package/dist/components/Skeleton/index.d.ts.map +1 -1
  252. package/dist/components/Skeleton/index.js +4 -5
  253. package/dist/components/Skeleton/skeleton.test.d.ts +1 -1
  254. package/dist/components/Skeleton/styles.d.ts +7 -7
  255. package/dist/components/Skeleton/styles.d.ts.map +1 -1
  256. package/dist/components/Skeleton/styles.js +5 -3
  257. package/dist/components/Skeleton/types.d.ts +40 -35
  258. package/dist/components/Skeleton/types.d.ts.map +1 -1
  259. package/dist/components/Slider/SliderExample.d.ts +3 -3
  260. package/dist/components/Slider/components/SliderPointer.d.ts +3 -3
  261. package/dist/components/Slider/components/SliderRail.d.ts +3 -3
  262. package/dist/components/Slider/components/SliderSelector.d.ts +3 -3
  263. package/dist/components/Slider/hooks/useEventCallback.d.ts +2 -2
  264. package/dist/components/Slider/index.d.ts +4 -4
  265. package/dist/components/Slider/index.d.ts.map +1 -1
  266. package/dist/components/Slider/index.js +3 -0
  267. package/dist/components/Slider/slider.test.d.ts +1 -1
  268. package/dist/components/Slider/styles.d.ts +65 -65
  269. package/dist/components/Slider/types.d.ts +38 -38
  270. package/dist/components/Spinner/index.d.ts +4 -4
  271. package/dist/components/Spinner/spinner.test.d.ts +1 -1
  272. package/dist/components/Spinner/styles.d.ts +288 -288
  273. package/dist/components/Spinner/types.d.ts +11 -11
  274. package/dist/components/Steps/components/StepIcon/index.d.ts +3 -3
  275. package/dist/components/Steps/components/StepIconMobile/index.d.ts +3 -3
  276. package/dist/components/Steps/index.d.ts +4 -4
  277. package/dist/components/Steps/steps.test.d.ts +1 -1
  278. package/dist/components/Steps/styles.d.ts +45 -45
  279. package/dist/components/Steps/types.d.ts +20 -20
  280. package/dist/components/Steps/utils.d.ts +7 -7
  281. package/dist/components/Switch/index.d.ts +4 -4
  282. package/dist/components/Switch/styles.d.ts +18 -18
  283. package/dist/components/Switch/switch.test.d.ts +1 -1
  284. package/dist/components/Switch/types.d.ts +17 -17
  285. package/dist/components/Table/components/MenuItem.d.ts +3 -3
  286. package/dist/components/Table/index.d.ts +3 -3
  287. package/dist/components/Table/styles.d.ts +34 -34
  288. package/dist/components/Table/table.test.d.ts +1 -1
  289. package/dist/components/Table/types.d.ts +39 -39
  290. package/dist/components/Tabs/TabsExample.d.ts +3 -3
  291. package/dist/components/Tabs/components/Tab.d.ts +3 -3
  292. package/dist/components/Tabs/components/TabPanel.d.ts +3 -3
  293. package/dist/components/Tabs/components/Tabs.d.ts +4 -4
  294. package/dist/components/Tabs/index.d.ts +3 -3
  295. package/dist/components/Tabs/styles.d.ts +39 -39
  296. package/dist/components/Tabs/tabs.test.d.ts +1 -1
  297. package/dist/components/Tabs/types.d.ts +49 -49
  298. package/dist/components/Tag/index.d.ts +4 -4
  299. package/dist/components/Tag/styles.d.ts +869 -869
  300. package/dist/components/Tag/tag.test.d.ts +1 -1
  301. package/dist/components/Tag/types.d.ts +9 -9
  302. package/dist/components/TextAreaInput/index.d.ts +4 -4
  303. package/dist/components/TextAreaInput/index.d.ts.map +1 -1
  304. package/dist/components/TextAreaInput/index.js +31 -21
  305. package/dist/components/TextAreaInput/styles.d.ts +18 -18
  306. package/dist/components/TextAreaInput/styles.d.ts.map +1 -1
  307. package/dist/components/TextAreaInput/styles.js +15 -13
  308. package/dist/components/TextAreaInput/text-area-input.test.d.ts +1 -1
  309. package/dist/components/TextAreaInput/text-area-input.test.js +13 -13
  310. package/dist/components/TextAreaInput/types.d.ts +26 -25
  311. package/dist/components/TextAreaInput/types.d.ts.map +1 -1
  312. package/dist/components/Thumbnail/index.d.ts +3 -3
  313. package/dist/components/Thumbnail/styles.d.ts +42 -42
  314. package/dist/components/Thumbnail/thumbnail.test.d.ts +1 -1
  315. package/dist/components/Thumbnail/types.d.ts +28 -28
  316. package/dist/components/Thumbnail/utils/index.d.ts +2 -2
  317. package/dist/components/Thumbnail/utils/validate-file-size.d.ts +1 -1
  318. package/dist/components/Thumbnail/utils/validate-file-type.d.ts +1 -1
  319. package/dist/components/Timeline/components/Timeline.d.ts +3 -3
  320. package/dist/components/Timeline/components/TimelineContent.d.ts +3 -3
  321. package/dist/components/Timeline/components/TimelineItem.d.ts +2 -2
  322. package/dist/components/Timeline/components/TimelineSeparator.d.ts +3 -3
  323. package/dist/components/Timeline/index.d.ts +4 -4
  324. package/dist/components/Timeline/styles.d.ts +31 -31
  325. package/dist/components/Timeline/timeline.test.d.ts +1 -1
  326. package/dist/components/Timeline/types.d.ts +20 -20
  327. package/dist/components/Toast/button-example.d.ts +6 -6
  328. package/dist/components/Toast/components/Toast.d.ts +4 -4
  329. package/dist/components/Toast/contexts/ToastProvider.d.ts +5 -5
  330. package/dist/components/Toast/hooks/useToast.d.ts +2 -2
  331. package/dist/components/Toast/index.d.ts +3 -3
  332. package/dist/components/Toast/styles.d.ts +22 -22
  333. package/dist/components/Toast/toast.test.d.ts +1 -1
  334. package/dist/components/Toast/types.d.ts +26 -26
  335. package/dist/components/Tooltip/components/TooltipLabel.d.ts +3 -3
  336. package/dist/components/Tooltip/index.d.ts +4 -4
  337. package/dist/components/Tooltip/index.d.ts.map +1 -1
  338. package/dist/components/Tooltip/index.js +12 -7
  339. package/dist/components/Tooltip/styles.d.ts +261 -261
  340. package/dist/components/Tooltip/styles.d.ts.map +1 -1
  341. package/dist/components/Tooltip/styles.js +2 -2
  342. package/dist/components/Tooltip/types.d.ts +22 -21
  343. package/dist/components/Tooltip/types.d.ts.map +1 -1
  344. package/dist/components/Typography/index.d.ts +4 -4
  345. package/dist/components/Typography/styles.d.ts +20 -20
  346. package/dist/components/Typography/types.d.ts +15 -15
  347. package/dist/components/Typography/typography.test.d.ts +1 -1
  348. package/dist/index.d.ts +46 -46
  349. package/dist/shared/components/FocusLock/index.d.ts +7 -7
  350. package/dist/shared/hooks/breakpoints.d.ts +8 -8
  351. package/dist/shared/hooks/useBreakpoint.d.ts +8 -8
  352. package/dist/shared/hooks/useBreakpoint.js +5 -5
  353. package/dist/shared/hooks/useDisableBodyScroll.d.ts +1 -1
  354. package/dist/shared/hooks/useDisableBodyScroll.d.ts.map +1 -1
  355. package/dist/shared/hooks/useDisableBodyScroll.js +2 -1
  356. package/dist/shared/hooks/useKeyPress.d.ts +1 -1
  357. package/dist/shared/hooks/useOnClickOutside.d.ts +2 -2
  358. package/dist/shared/hooks/useWindowSize.d.ts +4 -4
  359. package/dist/shared/tests/test-utils.d.ts +4 -4
  360. package/dist/shared/theme/button-example.d.ts +2 -2
  361. package/dist/shared/theme/contexts/ThemeContext.d.ts +15 -15
  362. package/dist/shared/theme/hooks/useColorMode.d.ts +4 -4
  363. package/dist/shared/theme/hooks/useColorModeValue.d.ts +1 -1
  364. package/dist/shared/theme/hooks/useTheme.d.ts +284 -284
  365. package/dist/shared/theme/index.d.ts +7 -7
  366. package/dist/shared/theme/theme.d.ts +282 -282
  367. package/dist/shared/theme/theme.test.d.ts +1 -1
  368. package/dist/shared/theme/theme.types.d.ts +14 -14
  369. package/dist/shared/theme/utils/extendTheme.d.ts +2 -2
  370. package/dist/shared/theme/utils/localStorageController.d.ts +6 -6
  371. package/dist/utils/GenerateKey.d.ts +10 -10
  372. package/dist/utils/GenerateKey.js +6 -6
  373. package/dist/utils/brightnessColorChange.d.ts +8 -8
  374. package/dist/utils/brightnessColorChange.js +6 -6
  375. package/dist/utils/colorCheck.d.ts +40 -40
  376. package/dist/utils/colorCheck.js +24 -24
  377. package/dist/utils/colorFunctions.d.ts +2 -2
  378. package/dist/utils/colorToGray.d.ts +5 -5
  379. package/dist/utils/fuctionsColors.d.ts +2 -2
  380. package/dist/utils/generateUUID.d.ts +1 -1
  381. package/dist/utils/getColorValue.d.ts +291 -291
  382. package/dist/utils/getColorValue.js +8 -8
  383. package/dist/utils/getSvg.d.ts +10 -10
  384. package/dist/utils/invertColor.d.ts +7 -7
  385. package/dist/utils/invertColor.js +5 -5
  386. package/package.json +1 -1
@@ -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
@@ -5,12 +5,12 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.brightnessColorChange = brightnessColorChange;
7
7
 
8
- /**
9
- * Change the brightness of a color
10
- * @param color : color to change;
11
- * @param percent : percent of brightness;
12
- * @returns : new color with changed brightness;
13
- * @see https://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
8
+ /**
9
+ * Change the brightness of a color
10
+ * @param color : color to change;
11
+ * @param percent : percent of brightness;
12
+ * @returns : new color with changed brightness;
13
+ * @see https://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
14
14
  */
15
15
  function brightnessColorChange(color, percent) {
16
16
  var f = parseInt(color.slice(1), 16);
@@ -1,41 +1,41 @@
1
- declare 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
+ declare 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
@@ -17,22 +17,22 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
17
17
 
18
18
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
 
20
- /**
21
- * Verifies if the provided color is a valid hex color.
22
- * @param color : color value;
23
- * @returns : true if color is valid, false otherwise;
24
- * @see https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444#8027444
20
+ /**
21
+ * Verifies if the provided color is a valid hex color.
22
+ * @param color : color value;
23
+ * @returns : true if color is valid, false otherwise;
24
+ * @see https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444#8027444
25
25
  */
26
26
  var isHexColor = function isHexColor(color) {
27
27
  var hexColorWithSixLetters = /^#[0-9A-F]{6}$/i;
28
28
  var hexColorWithThreeLetters = /^#([0-9A-F]{3}){1,2}$/i;
29
29
  return hexColorWithSixLetters.test(color) || hexColorWithThreeLetters.test(color);
30
30
  };
31
- /**
32
- * Verifies if the provided color is a valid rgb or hsl color.
33
- * @param color : color value;
34
- * @returns : true if color is valid, false otherwise;
35
- * @see https://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion
31
+ /**
32
+ * Verifies if the provided color is a valid rgb or hsl color.
33
+ * @param color : color value;
34
+ * @returns : true if color is valid, false otherwise;
35
+ * @see https://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion
36
36
  */
37
37
 
38
38
 
@@ -42,11 +42,11 @@ var isRgbHslColor = function isRgbHslColor(color) {
42
42
  var regexModel = /^(rgb|hsl)(a?)[(]\s*([\d.]+\s*%?)\s*,\s*([\d.]+\s*%?)\s*,\s*([\d.]+\s*%?)\s*(?:,\s*([\d.]+)\s*)?[)]$/;
43
43
  return regexModel.test(color);
44
44
  };
45
- /**
46
- * Verifies if the provided color is a valid theme color and returns the theme color value.
47
- * @param color : theme color tag value;
48
- * @param themeColors : theme colors object;
49
- * @returns : theme color value if color is valid, null otherwise;
45
+ /**
46
+ * Verifies if the provided color is a valid theme color and returns the theme color value.
47
+ * @param color : theme color tag value;
48
+ * @param themeColors : theme colors object;
49
+ * @returns : theme color value if color is valid, null otherwise;
50
50
  */
51
51
 
52
52
 
@@ -65,11 +65,11 @@ var stripThemeColors = function stripThemeColors(color, themeColors) {
65
65
 
66
66
  return null;
67
67
  };
68
- /**
69
- * Convert a hex color to rgba color.
70
- * @param color : hex color value;
71
- * @param opacity : opacity value;
72
- * @returns : rgba color value;
68
+ /**
69
+ * Convert a hex color to rgba color.
70
+ * @param color : hex color value;
71
+ * @param opacity : opacity value;
72
+ * @returns : rgba color value;
73
73
  */
74
74
 
75
75
 
@@ -82,10 +82,10 @@ var parseHexColorToRgba = function parseHexColorToRgba(color, opacity) {
82
82
 
83
83
  return 'rgba(0, 0, 0, 0)';
84
84
  };
85
- /**
86
- * Convert a hsl array color to string
87
- * @param color : hsl color array;
88
- * @returns : hsl color value;
85
+ /**
86
+ * Convert a hsl array color to string
87
+ * @param color : hsl color array;
88
+ * @returns : hsl color value;
89
89
  */
90
90
 
91
91
 
@@ -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/type';
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/type';
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,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=fuctionsColors.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function generateUUID(): string;
1
+ export declare function generateUUID(): string;
2
2
  //# sourceMappingURL=generateUUID.d.ts.map