@pedidopago/ui 1.1.2 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) 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 +36 -36
  5. package/dist/components/Alert/types.d.ts +48 -48
  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/badge.test.js +22 -5
  12. package/dist/components/Badge/index.d.ts +4 -4
  13. package/dist/components/Badge/index.js +3 -5
  14. package/dist/components/Badge/styles.d.ts +16 -20
  15. package/dist/components/Badge/styles.d.ts.map +1 -1
  16. package/dist/components/Badge/styles.js +3 -11
  17. package/dist/components/Badge/types.d.ts +11 -10
  18. package/dist/components/Badge/types.d.ts.map +1 -1
  19. package/dist/components/Button/Button.test.d.ts +1 -1
  20. package/dist/components/Button/Button.test.js +150 -16
  21. package/dist/components/Button/index.d.ts +4 -5
  22. package/dist/components/Button/index.d.ts.map +1 -1
  23. package/dist/components/Button/index.js +51 -64
  24. package/dist/components/Button/styles.d.ts +14 -22
  25. package/dist/components/Button/styles.d.ts.map +1 -1
  26. package/dist/components/Button/styles.js +104 -23
  27. package/dist/components/Button/types.d.ts +103 -31
  28. package/dist/components/Button/types.d.ts.map +1 -1
  29. package/dist/components/Card/ButtonCard/index.d.ts +3 -3
  30. package/dist/components/Card/ButtonCard/styles.d.ts +13 -13
  31. package/dist/components/Card/Expansion/index.d.ts +5 -5
  32. package/dist/components/Card/Expansion/style.d.ts +14 -14
  33. package/dist/components/Card/card.test.d.ts +1 -1
  34. package/dist/components/Card/card.test.js +5 -10
  35. package/dist/components/Card/index.d.ts +3 -3
  36. package/dist/components/Card/styles.d.ts +56 -56
  37. package/dist/components/Card/types.d.ts +41 -41
  38. package/dist/components/CheckboxInput/checkbox-input.test.d.ts +1 -1
  39. package/dist/components/CheckboxInput/components/MultipleCheckbox.d.ts +4 -4
  40. package/dist/components/CheckboxInput/index.d.ts +4 -4
  41. package/dist/components/CheckboxInput/styles.d.ts +31 -31
  42. package/dist/components/CheckboxInput/types.d.ts +26 -26
  43. package/dist/components/ColorPicker/colorpicker.test.d.ts +1 -1
  44. package/dist/components/ColorPicker/components/ColorHue.d.ts +4 -4
  45. package/dist/components/ColorPicker/components/ColorInput.d.ts +4 -4
  46. package/dist/components/ColorPicker/components/ColorPickerBox.d.ts +4 -4
  47. package/dist/components/ColorPicker/components/ColorPointer.d.ts +4 -4
  48. package/dist/components/ColorPicker/components/ColorSelector.d.ts +4 -4
  49. package/dist/components/ColorPicker/hooks/useCachedCallback.d.ts +1 -1
  50. package/dist/components/ColorPicker/hooks/useHsva.d.ts +2 -2
  51. package/dist/components/ColorPicker/index.d.ts +4 -4
  52. package/dist/components/ColorPicker/styles.d.ts +44 -44
  53. package/dist/components/ColorPicker/types.d.ts +73 -73
  54. package/dist/components/ColorPicker/utils/checkers.d.ts +7 -7
  55. package/dist/components/ColorPicker/utils/conversors.d.ts +60 -60
  56. package/dist/components/ColorPicker/utils/parsers.d.ts +27 -27
  57. package/dist/components/DatePicker/components/DatePickerContent.d.ts +3 -3
  58. package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
  59. package/dist/components/DatePicker/datepicker.test.d.ts +1 -1
  60. package/dist/components/DatePicker/index.d.ts +4 -4
  61. package/dist/components/DatePicker/styles.d.ts +74 -74
  62. package/dist/components/DatePicker/types.d.ts +59 -59
  63. package/dist/components/DatePicker/utils/getMonthName.d.ts +1 -1
  64. package/dist/components/Dialog/dialog-example.d.ts +3 -3
  65. package/dist/components/Dialog/dialog.test.d.ts +1 -1
  66. package/dist/components/Dialog/index.d.ts +3 -3
  67. package/dist/components/Dialog/styles.d.ts +25 -25
  68. package/dist/components/Dialog/types.d.ts +30 -30
  69. package/dist/components/Dropzone/dropzone.test.d.ts +1 -1
  70. package/dist/components/Dropzone/index.d.ts +4 -4
  71. package/dist/components/Dropzone/styles.d.ts +46 -46
  72. package/dist/components/Dropzone/types.d.ts +19 -19
  73. package/dist/components/Dropzone/utils/accepts.d.ts +10 -10
  74. package/dist/components/Flex/flex.test.d.ts +1 -1
  75. package/dist/components/Flex/index.d.ts +4 -4
  76. package/dist/components/Flex/styles.d.ts +293 -293
  77. package/dist/components/Flex/types.d.ts +175 -175
  78. package/dist/components/Grid/grid.test.d.ts +1 -1
  79. package/dist/components/Grid/index.d.ts +4 -4
  80. package/dist/components/Grid/styles.d.ts +285 -285
  81. package/dist/components/Grid/types.d.ts +88 -88
  82. package/dist/components/Icon/data/beauty.d.ts +8 -8
  83. package/dist/components/Icon/data/dash.d.ts +8 -8
  84. package/dist/components/Icon/data/dash.d.ts.map +1 -1
  85. package/dist/components/Icon/data/dash.js +1 -1
  86. package/dist/components/Icon/data/ecommerce.d.ts +8 -8
  87. package/dist/components/Icon/data/health.d.ts +8 -8
  88. package/dist/components/Icon/data/illustrations.d.ts +8 -8
  89. package/dist/components/Icon/data/men.d.ts +8 -8
  90. package/dist/components/Icon/data/payment.d.ts +8 -8
  91. package/dist/components/Icon/data/physicalPerfomance.d.ts +8 -8
  92. package/dist/components/Icon/data/social.d.ts +8 -8
  93. package/dist/components/Icon/data/status.d.ts +8 -8
  94. package/dist/components/Icon/data/summer.d.ts +8 -8
  95. package/dist/components/Icon/data/woman.d.ts +8 -8
  96. package/dist/components/Icon/icon.test.d.ts +1 -1
  97. package/dist/components/Icon/index.d.ts +4 -4
  98. package/dist/components/Icon/scripts/build.d.ts +5 -7
  99. package/dist/components/Icon/scripts/build.d.ts.map +1 -1
  100. package/dist/components/Icon/scripts/build.js +0 -2
  101. package/dist/components/Icon/scripts/extractor.d.ts +15 -15
  102. package/dist/components/Icon/scripts/run-build.d.ts +1 -1
  103. package/dist/components/Icon/scripts/writers.d.ts +22 -22
  104. package/dist/components/Icon/styles.d.ts +13 -13
  105. package/dist/components/Icon/types.d.ts +8 -8
  106. package/dist/components/Icon/types.d.ts.map +1 -1
  107. package/dist/components/Icon/utils/allIcons.d.ts +8 -8
  108. package/dist/components/IconItem/IconItem.test.d.ts +1 -1
  109. package/dist/components/IconItem/index.d.ts +4 -4
  110. package/dist/components/IconItem/styles.d.ts +18 -18
  111. package/dist/components/IconItem/types.d.ts +22 -22
  112. package/dist/components/ImageItem/imageFake.d.ts +2 -2
  113. package/dist/components/ImageItem/index.d.ts +4 -4
  114. package/dist/components/ImageItem/input.test.d.ts +1 -1
  115. package/dist/components/ImageItem/styles.d.ts +26 -26
  116. package/dist/components/ImageItem/types.d.ts +25 -25
  117. package/dist/components/Input/index.d.ts +4 -4
  118. package/dist/components/Input/input.test.d.ts +1 -1
  119. package/dist/components/Input/styles.d.ts +73 -73
  120. package/dist/components/Input/styles.d.ts.map +1 -1
  121. package/dist/components/Input/styles.js +114 -31
  122. package/dist/components/Input/types.d.ts +26 -26
  123. package/dist/components/Label/index.d.ts +4 -4
  124. package/dist/components/Label/input.test.d.ts +1 -1
  125. package/dist/components/Label/styles.d.ts +6 -6
  126. package/dist/components/Label/types.d.ts +16 -16
  127. package/dist/components/List/index.d.ts +4 -4
  128. package/dist/components/List/list.test.d.ts +1 -1
  129. package/dist/components/List/styles.d.ts +15 -15
  130. package/dist/components/List/styles.d.ts.map +1 -1
  131. package/dist/components/List/styles.js +8 -2
  132. package/dist/components/List/types.d.ts +5 -6
  133. package/dist/components/List/types.d.ts.map +1 -1
  134. package/dist/components/Modal/index.d.ts +3 -3
  135. package/dist/components/Modal/index.d.ts.map +1 -1
  136. package/dist/components/Modal/index.js +5 -1
  137. package/dist/components/Modal/modal.test.d.ts +1 -1
  138. package/dist/components/Modal/modal.test.js +13 -0
  139. package/dist/components/Modal/styles.d.ts +14 -12
  140. package/dist/components/Modal/styles.d.ts.map +1 -1
  141. package/dist/components/Modal/styles.js +1 -1
  142. package/dist/components/Modal/types.d.ts +32 -28
  143. package/dist/components/Modal/types.d.ts.map +1 -1
  144. package/dist/components/Pagination/hooks/usePagination.d.ts +3 -3
  145. package/dist/components/Pagination/index.d.ts +3 -3
  146. package/dist/components/Pagination/pagination.test.d.ts +1 -1
  147. package/dist/components/Pagination/styles.d.ts +34 -34
  148. package/dist/components/Pagination/types.d.ts +28 -28
  149. package/dist/components/Progress/Circle/index.d.ts +3 -3
  150. package/dist/components/Progress/Linear/index.d.ts +3 -3
  151. package/dist/components/Progress/getSteps.d.ts +1 -1
  152. package/dist/components/Progress/index.d.ts +4 -4
  153. package/dist/components/Progress/progress.test.d.ts +1 -1
  154. package/dist/components/Progress/style.d.ts +38 -38
  155. package/dist/components/Progress/style.d.ts.map +1 -1
  156. package/dist/components/Progress/style.js +1 -1
  157. package/dist/components/Progress/type.d.ts +69 -69
  158. package/dist/components/Progress/type.d.ts.map +1 -1
  159. package/dist/components/RadioInput/components/ChoiceList/index.d.ts +5 -5
  160. package/dist/components/RadioInput/components/ChoiceList/index.d.ts.map +1 -1
  161. package/dist/components/RadioInput/components/ChoiceList/index.js +3 -0
  162. package/dist/components/RadioInput/index.d.ts +4 -4
  163. package/dist/components/RadioInput/radio-input.test.d.ts +1 -1
  164. package/dist/components/RadioInput/styles.d.ts +30 -30
  165. package/dist/components/RadioInput/styles.d.ts.map +1 -1
  166. package/dist/components/RadioInput/styles.js +4 -1
  167. package/dist/components/RadioInput/types.d.ts +60 -60
  168. package/dist/components/RadioInput/utils/get-colors-props.d.ts +11 -11
  169. package/dist/components/Rating/components/GradientIcon/data/dash.d.ts +8 -8
  170. package/dist/components/Rating/components/GradientIcon/data/ecommerce.d.ts +8 -8
  171. package/dist/components/Rating/components/GradientIcon/index.d.ts +4 -4
  172. package/dist/components/Rating/components/GradientIcon/scripts/build.d.ts +7 -7
  173. package/dist/components/Rating/components/GradientIcon/scripts/extractor.d.ts +15 -15
  174. package/dist/components/Rating/components/GradientIcon/scripts/writers.d.ts +22 -22
  175. package/dist/components/Rating/components/GradientIcon/styles.d.ts +12 -12
  176. package/dist/components/Rating/components/GradientIcon/types.d.ts +15 -15
  177. package/dist/components/Rating/components/GradientIcon/utils/allIcons.d.ts +8 -8
  178. package/dist/components/Rating/components/RatingWithMultipleValues/RatingWithMultipleValues.d.ts +3 -3
  179. package/dist/components/Rating/components/RatingWithMultipleValues/styles.d.ts +6 -6
  180. package/dist/components/Rating/components/RatingWithMultipleValues/types.d.ts +16 -16
  181. package/dist/components/Rating/components/RatingWithSingleValue/RatingWithSingleValue.d.ts +3 -3
  182. package/dist/components/Rating/components/RatingWithSingleValue/icons/0.d.ts +3 -3
  183. package/dist/components/Rating/components/RatingWithSingleValue/icons/1.d.ts +3 -3
  184. package/dist/components/Rating/components/RatingWithSingleValue/icons/2.d.ts +3 -3
  185. package/dist/components/Rating/components/RatingWithSingleValue/icons/3.d.ts +3 -3
  186. package/dist/components/Rating/components/RatingWithSingleValue/icons/4.d.ts +3 -3
  187. package/dist/components/Rating/components/RatingWithSingleValue/icons/index.d.ts +6 -6
  188. package/dist/components/Rating/components/RatingWithSingleValue/styles.d.ts +6 -6
  189. package/dist/components/Rating/components/RatingWithSingleValue/types.d.ts +10 -10
  190. package/dist/components/Rating/index.d.ts +4 -4
  191. package/dist/components/Rating/rating.test.d.ts +1 -1
  192. package/dist/components/Rating/types.d.ts +28 -28
  193. package/dist/components/Rating/utils/IconObjectsController.d.ts +9 -9
  194. package/dist/components/Rating/utils/svgDataTratamentFunction.d.ts +9 -9
  195. package/dist/components/SelectInput/components/InputWrapper/index.d.ts +10 -10
  196. package/dist/components/SelectInput/components/InputWrapper/index.js +1 -1
  197. package/dist/components/SelectInput/components/OptionsArea/OptionsArea.d.ts +18 -18
  198. package/dist/components/SelectInput/components/OptionsArea/OptionsArea.d.ts.map +1 -1
  199. package/dist/components/SelectInput/components/OptionsArea/OptionsArea.js +27 -9
  200. package/dist/components/SelectInput/components/OptionsArea/index.d.ts +15 -15
  201. package/dist/components/SelectInput/components/OptionsArea/index.js +1 -1
  202. package/dist/components/SelectInput/components/SelectArea/ButtonsArea.d.ts +10 -10
  203. package/dist/components/SelectInput/components/SelectArea/ButtonsArea.d.ts.map +1 -1
  204. package/dist/components/SelectInput/components/SelectArea/ButtonsArea.js +2 -2
  205. package/dist/components/SelectInput/components/SelectArea/Label.d.ts +6 -6
  206. package/dist/components/SelectInput/components/SelectArea/Label.d.ts.map +1 -1
  207. package/dist/components/SelectInput/components/SelectArea/Label.js +10 -10
  208. package/dist/components/SelectInput/components/SelectArea/SelectAreaWrapper.d.ts +6 -6
  209. package/dist/components/SelectInput/components/SelectArea/SelectAreaWrapper.d.ts.map +1 -1
  210. package/dist/components/SelectInput/components/SelectArea/SelectAreaWrapper.js +6 -3
  211. package/dist/components/SelectInput/components/SelectArea/SelectedOptionsArea.d.ts +18 -14
  212. package/dist/components/SelectInput/components/SelectArea/SelectedOptionsArea.d.ts.map +1 -1
  213. package/dist/components/SelectInput/components/SelectArea/SelectedOptionsArea.js +35 -10
  214. package/dist/components/SelectInput/components/SelectArea/index.d.ts +16 -15
  215. package/dist/components/SelectInput/components/SelectArea/index.d.ts.map +1 -1
  216. package/dist/components/SelectInput/components/SelectArea/index.js +9 -2
  217. package/dist/components/SelectInput/components/index.d.ts +3 -3
  218. package/dist/components/SelectInput/index.d.ts +5 -5
  219. package/dist/components/SelectInput/index.d.ts.map +1 -1
  220. package/dist/components/SelectInput/index.js +9 -9
  221. package/dist/components/SelectInput/selectInput.test.d.ts +1 -1
  222. package/dist/components/SelectInput/types.d.ts +37 -36
  223. package/dist/components/SelectInput/types.d.ts.map +1 -1
  224. package/dist/components/Skeleton/index.d.ts +4 -4
  225. package/dist/components/Skeleton/skeleton.test.d.ts +1 -1
  226. package/dist/components/Skeleton/styles.d.ts +7 -7
  227. package/dist/components/Skeleton/types.d.ts +35 -35
  228. package/dist/components/Slider/components/SliderPointer.d.ts +3 -3
  229. package/dist/components/Slider/components/SliderPointer.js +2 -1
  230. package/dist/components/Slider/components/SliderRail.d.ts +3 -3
  231. package/dist/components/Slider/components/SliderSelector.d.ts +3 -3
  232. package/dist/components/Slider/hooks/useEventCallback.d.ts +2 -2
  233. package/dist/components/Slider/hooks/useValues.d.ts +1 -1
  234. package/dist/components/Slider/index.d.ts +4 -4
  235. package/dist/components/Slider/slider.test.d.ts +1 -1
  236. package/dist/components/Slider/styles.d.ts +65 -65
  237. package/dist/components/Slider/styles.d.ts.map +1 -1
  238. package/dist/components/Slider/types.d.ts +38 -38
  239. package/dist/components/Slider/types.d.ts.map +1 -1
  240. package/dist/components/Spinner/index.d.ts +4 -4
  241. package/dist/components/Spinner/spinner.test.d.ts +1 -1
  242. package/dist/components/Spinner/styles.d.ts +285 -285
  243. package/dist/components/Spinner/types.d.ts +11 -11
  244. package/dist/components/Steps/index.d.ts +4 -4
  245. package/dist/components/Steps/steps.test.d.ts +1 -1
  246. package/dist/components/Steps/styles.d.ts +34 -34
  247. package/dist/components/Steps/types.d.ts +6 -6
  248. package/dist/components/Switch/index.d.ts +4 -4
  249. package/dist/components/Switch/index.d.ts.map +1 -1
  250. package/dist/components/Switch/index.js +12 -8
  251. package/dist/components/Switch/input.test.d.ts +1 -1
  252. package/dist/components/Switch/styles.d.ts +18 -18
  253. package/dist/components/Switch/styles.d.ts.map +1 -1
  254. package/dist/components/Switch/styles.js +14 -2
  255. package/dist/components/Switch/switch.test.d.ts +2 -0
  256. package/dist/components/Switch/switch.test.d.ts.map +1 -0
  257. package/dist/components/Switch/switch.test.js +276 -0
  258. package/dist/components/Switch/types.d.ts +17 -15
  259. package/dist/components/Switch/types.d.ts.map +1 -1
  260. package/dist/components/Table/components/MenuItem.d.ts +3 -3
  261. package/dist/components/Table/index.d.ts +3 -3
  262. package/dist/components/Table/index.d.ts.map +1 -1
  263. package/dist/components/Table/index.js +17 -16
  264. package/dist/components/Table/styles.d.ts +34 -34
  265. package/dist/components/Table/styles.js +4 -2
  266. package/dist/components/Table/table.test.d.ts +1 -1
  267. package/dist/components/Table/table.test.js +48 -16
  268. package/dist/components/Table/types.d.ts +39 -37
  269. package/dist/components/Table/types.d.ts.map +1 -1
  270. package/dist/components/Tabs/TabsExample.d.ts +3 -3
  271. package/dist/components/Tabs/components/Tab.d.ts +3 -3
  272. package/dist/components/Tabs/components/Tab.js +2 -2
  273. package/dist/components/Tabs/components/TabPanel.d.ts +3 -3
  274. package/dist/components/Tabs/components/Tabs.d.ts +4 -4
  275. package/dist/components/Tabs/components/Tabs.d.ts.map +1 -1
  276. package/dist/components/Tabs/components/Tabs.js +8 -6
  277. package/dist/components/Tabs/index.d.ts +3 -3
  278. package/dist/components/Tabs/styles.d.ts +39 -37
  279. package/dist/components/Tabs/styles.d.ts.map +1 -1
  280. package/dist/components/Tabs/styles.js +29 -21
  281. package/dist/components/Tabs/tabs.test.d.ts +1 -1
  282. package/dist/components/Tabs/types.d.ts +49 -48
  283. package/dist/components/Tabs/types.d.ts.map +1 -1
  284. package/dist/components/Tag/index.d.ts +4 -4
  285. package/dist/components/Tag/styles.d.ts +860 -860
  286. package/dist/components/Tag/tag.test.d.ts +1 -1
  287. package/dist/components/Tag/types.d.ts +9 -9
  288. package/dist/components/TextAreaInput/index.d.ts +4 -4
  289. package/dist/components/TextAreaInput/index.d.ts.map +1 -1
  290. package/dist/components/TextAreaInput/index.js +19 -11
  291. package/dist/components/TextAreaInput/styles.d.ts +18 -18
  292. package/dist/components/TextAreaInput/styles.d.ts.map +1 -1
  293. package/dist/components/TextAreaInput/styles.js +4 -1
  294. package/dist/components/TextAreaInput/text-area-input.test.d.ts +1 -1
  295. package/dist/components/TextAreaInput/types.d.ts +25 -25
  296. package/dist/components/Thumbnail/index.d.ts +3 -3
  297. package/dist/components/Thumbnail/styles.d.ts +42 -42
  298. package/dist/components/Thumbnail/thumbnail.test.d.ts +1 -1
  299. package/dist/components/Thumbnail/types.d.ts +28 -28
  300. package/dist/components/Thumbnail/utils/index.d.ts +2 -2
  301. package/dist/components/Thumbnail/utils/validate-file-size.d.ts +1 -1
  302. package/dist/components/Thumbnail/utils/validate-file-type.d.ts +1 -1
  303. package/dist/components/Timeline/components/Timeline.d.ts +3 -3
  304. package/dist/components/Timeline/components/TimelineContent.d.ts +3 -3
  305. package/dist/components/Timeline/components/TimelineItem.d.ts +2 -2
  306. package/dist/components/Timeline/components/TimelineSeparator.d.ts +3 -3
  307. package/dist/components/Timeline/index.d.ts +4 -4
  308. package/dist/components/Timeline/styles.d.ts +31 -31
  309. package/dist/components/Timeline/timeline.test.d.ts +1 -1
  310. package/dist/components/Timeline/types.d.ts +20 -20
  311. package/dist/components/Toast/button-example.d.ts +6 -6
  312. package/dist/components/Toast/components/Toast.d.ts +4 -4
  313. package/dist/components/Toast/contexts/ToastProvider.d.ts +5 -5
  314. package/dist/components/Toast/hooks/useToast.d.ts +2 -2
  315. package/dist/components/Toast/index.d.ts +3 -3
  316. package/dist/components/Toast/styles.d.ts +22 -22
  317. package/dist/components/Toast/toast.test.d.ts +1 -1
  318. package/dist/components/Toast/types.d.ts +33 -33
  319. package/dist/components/Tooltip/componenteTeste.d.ts +6 -6
  320. package/dist/components/Tooltip/index.d.ts +4 -4
  321. package/dist/components/Tooltip/styles.d.ts +273 -273
  322. package/dist/components/Tooltip/tooltip.test.d.ts +1 -1
  323. package/dist/components/Tooltip/types.d.ts +29 -29
  324. package/dist/components/Tooltip/util.d.ts +27 -27
  325. package/dist/components/Typography/index.d.ts +4 -4
  326. package/dist/components/Typography/styles.d.ts +20 -20
  327. package/dist/components/Typography/types.d.ts +15 -15
  328. package/dist/components/Typography/types.d.ts.map +1 -1
  329. package/dist/components/Typography/typography.test.d.ts +1 -1
  330. package/dist/index.d.ts +40 -39
  331. package/dist/index.d.ts.map +1 -1
  332. package/dist/index.js +18 -9
  333. package/dist/shared/components/FocusLock/index.d.ts +7 -7
  334. package/dist/shared/hooks/breakpoints.d.ts +8 -8
  335. package/dist/shared/hooks/useBreakpoint.d.ts +8 -8
  336. package/dist/shared/hooks/useKeyPress.d.ts +1 -1
  337. package/dist/shared/hooks/useOnClickOutside.d.ts +2 -2
  338. package/dist/shared/tests/test-utils.d.ts +4 -4
  339. package/dist/shared/theme/button-example.d.ts +2 -2
  340. package/dist/shared/theme/contexts/ThemeContext.d.ts +15 -15
  341. package/dist/shared/theme/hooks/useColorMode.d.ts +4 -4
  342. package/dist/shared/theme/hooks/useColorModeValue.d.ts +1 -1
  343. package/dist/shared/theme/hooks/useTheme.d.ts +281 -281
  344. package/dist/shared/theme/index.d.ts +7 -7
  345. package/dist/shared/theme/theme.d.ts +279 -279
  346. package/dist/shared/theme/theme.test.d.ts +1 -1
  347. package/dist/shared/theme/theme.types.d.ts +14 -14
  348. package/dist/shared/theme/utils/extendTheme.d.ts +2 -2
  349. package/dist/shared/theme/utils/localStorageController.d.ts +6 -6
  350. package/dist/utils/GenerateKey.d.ts +10 -10
  351. package/dist/utils/brightnessColorChange.d.ts +8 -8
  352. package/dist/utils/colorCheck.d.ts +40 -40
  353. package/dist/utils/colorFunctions.d.ts +2 -2
  354. package/dist/utils/colorToGray.d.ts +5 -5
  355. package/dist/utils/fuctionsColors.d.ts +2 -2
  356. package/dist/utils/generateUUID.d.ts +1 -1
  357. package/dist/utils/getColorValue.d.ts +297 -297
  358. package/dist/utils/getSvg.d.ts +10 -10
  359. package/dist/utils/invertColor.d.ts +7 -7
  360. package/package.json +18 -15
  361. package/dist/components/Menu/components/Submenu.d.ts +0 -5
  362. package/dist/components/Menu/components/Submenu.d.ts.map +0 -1
  363. package/dist/components/Menu/components/Submenu.js +0 -96
  364. package/dist/components/Menu/index.d.ts +0 -5
  365. package/dist/components/Menu/index.d.ts.map +0 -1
  366. package/dist/components/Menu/index.js +0 -43
  367. package/dist/components/Menu/menu.test.d.ts +0 -2
  368. package/dist/components/Menu/menu.test.d.ts.map +0 -1
  369. package/dist/components/Menu/menu.test.js +0 -188
  370. package/dist/components/Menu/styles.d.ts +0 -31
  371. package/dist/components/Menu/styles.d.ts.map +0 -1
  372. package/dist/components/Menu/styles.js +0 -119
  373. package/dist/components/Menu/types.d.ts +0 -25
  374. package/dist/components/Menu/types.d.ts.map +0 -1
  375. package/dist/components/Menu/types.js +0 -1
@@ -1,17 +1,17 @@
1
- import { ExtendThemeProps } from '../../shared/theme';
2
- import { IconName } from '../Icon/types';
3
- export declare type IStyleProps = {
4
- theme?: ExtendThemeProps;
5
- disabled?: boolean;
6
- isActive?: boolean;
7
- backgroundColor?: string;
8
- color?: string;
9
- };
10
- export declare type IInputProps = {
11
- LabelType?: 'success' | 'error' | 'warning' | 'informative' | 'critical' | 'success_secondary' | 'warning_secondary';
12
- Icon?: IconName;
13
- Label?: string;
14
- IconSide?: 'left' | 'right';
15
- Color?: string;
16
- };
1
+ import { ExtendThemeProps } from '../../shared/theme';
2
+ import { IconName } from '../Icon/types';
3
+ export declare type IStyleProps = {
4
+ theme?: ExtendThemeProps;
5
+ disabled?: boolean;
6
+ isActive?: boolean;
7
+ backgroundColor?: string;
8
+ color?: string;
9
+ };
10
+ export declare type IInputProps = {
11
+ LabelType?: 'success' | 'error' | 'warning' | 'informative' | 'critical' | 'success_secondary' | 'warning_secondary';
12
+ Icon?: IconName;
13
+ Label?: string;
14
+ IconSide?: 'left' | 'right';
15
+ Color?: string;
16
+ };
17
17
  //# sourceMappingURL=types.d.ts.map
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { IListComponent } from './types';
3
- declare const List: FC<IListComponent>;
4
- export default List;
1
+ import { FC } from 'react';
2
+ import { IListComponent } from './types';
3
+ declare const List: FC<IListComponent>;
4
+ export default List;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
2
2
  //# sourceMappingURL=list.test.d.ts.map
@@ -1,16 +1,16 @@
1
- /// <reference types="react" />
2
- import { GenericStyledProps } from '../../@types';
3
- import { IListComponent } from './types';
4
- export declare const StyledList: import("@emotion/styled").StyledComponent<{
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- } & IListComponent & GenericStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
8
- export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
11
- } & GenericStyledProps, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
12
- export declare const StyledListTitle: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
15
- } & GenericStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
1
+ /// <reference types="react" />
2
+ import { GenericStyledProps } from '../../@types';
3
+ import { IListComponent } from './types';
4
+ export declare const StyledList: import("@emotion/styled").StyledComponent<{
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any> | undefined;
7
+ } & IListComponent & GenericStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
8
+ export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ } & GenericStyledProps, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
12
+ export declare const StyledListTitle: import("@emotion/styled").StyledComponent<{
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: import("react").ElementType<any> | undefined;
15
+ } & GenericStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
16
16
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/List/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,UAAU;;;mJA6BrB,CAAC;AAEH,eAAO,MAAM,cAAc;;;8HAsBzB,CAAC;AAEH,eAAO,MAAM,eAAe;;;sIAW1B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/List/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,UAAU;;;mJAiCrB,CAAC;AAEH,eAAO,MAAM,cAAc;;;8HAsBzB,CAAC;AAEH,eAAO,MAAM,eAAe;;;sIAe1B,CAAC"}
@@ -16,7 +16,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
16
16
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
17
17
 
18
18
  var StyledList = _styled.default.ul(function (props) {
19
- return (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n list-style: none;\n padding: ", ";\n margin: 0;\n\n border-radius: ", ";\n border: 2px solid ", ";\n box-sizing: border-box;\n\n ", ";\n "])), props.theme.spacingest.xs, props.theme.borderRadius.default, props.theme.colors.neutral.neutral1, props.maxHeight && (0, _react.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n max-height: ", ";\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: ", ";\n background: ", ";\n }\n "])), props.theme.spacing[props.maxHeight], props.theme.borderRadius.default, props.theme.colors.primary.default));
19
+ return (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n list-style: none;\n padding: ", ";\n margin: 0;\n\n border-radius: ", ";\n border: 2px solid\n ", ";\n box-sizing: border-box;\n\n ", ";\n "])), props.theme.spacingest.xs, props.theme.borderRadius.default, {
20
+ light: props.theme.colors.neutral.neutral2,
21
+ dark: props.theme.colors.neutral.neutral5
22
+ }[props.theme.colorMode], props.maxHeight && (0, _react.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n max-height: ", ";\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: ", ";\n background: ", ";\n }\n "])), props.maxHeight, props.theme.borderRadius.default, props.theme.colors.primary.default));
20
23
  });
21
24
 
22
25
  exports.StyledList = StyledList;
@@ -28,7 +31,10 @@ var StyledListItem = _styled.default.li(function (props) {
28
31
  exports.StyledListItem = StyledListItem;
29
32
 
30
33
  var StyledListTitle = _styled.default.h3(function (props) {
31
- return (0, _react.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin: 0;\n color: ", ";\n font-weight: ", ";\n font-size: ", ";\n padding: ", ";\n border-bottom: 2px solid ", ";\n "])), props.theme.colorMode === 'dark' ? props.theme.colors.neutral.neutral2 : props.theme.colors.neutral.neutral5, props.theme.fontWeight['500'], props.theme.fontSizes.xs, props.theme.spacingest.xs, props.theme.colors.neutral.neutral1);
34
+ return (0, _react.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin: 0;\n color: ", ";\n font-weight: ", ";\n font-size: ", ";\n padding: ", ";\n border-bottom: 2px solid\n ", ";\n "])), props.theme.colorMode === 'dark' ? props.theme.colors.neutral.neutral2 : props.theme.colors.neutral.neutral5, props.theme.fontWeight['500'], props.theme.fontSizes.xs, props.theme.spacingest.xs, {
35
+ light: props.theme.colors.neutral.neutral2,
36
+ dark: props.theme.colors.neutral.neutral5
37
+ }[props.theme.colorMode]);
32
38
  });
33
39
 
34
40
  exports.StyledListTitle = StyledListTitle;
@@ -1,7 +1,6 @@
1
- import { ExtendThemeProps } from 'src';
2
- export declare type IListComponent = {
3
- title?: string;
4
- maxHeight?: keyof ExtendThemeProps['spacing'];
5
- item?: boolean;
6
- };
1
+ export declare type IListComponent = {
2
+ title?: string;
3
+ maxHeight?: string;
4
+ item?: boolean;
5
+ };
7
6
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/List/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAEvC,oBAAY,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/List/types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { IModalProps } from './types';
3
- export declare function Modal({ open, left, top, anchorX, anchorY, offsetX, offsetY, maxWidth, onClose, children, }: IModalProps): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { IModalProps } from './types';
3
+ export declare function Modal({ open, left, top, anchorX, anchorY, offsetX, offsetY, hideScrollBar, maxWidth, maxHeight, onClose, children, }: IModalProps): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,IAAa,EACb,GAAY,EACZ,OAAkB,EAClB,OAAkB,EAClB,OAAe,EACf,OAAe,EACf,QAAQ,EACR,OAAO,EACP,QAAQ,GACT,EAAE,WAAW,eA2Eb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,IAAa,EACb,GAAY,EACZ,OAAkB,EAClB,OAAkB,EAClB,OAAe,EACf,OAAe,EACf,aAAqB,EACrB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,GACT,EAAE,WAAW,eA8Eb"}
@@ -11,7 +11,6 @@ var _styles = require("./styles");
11
11
 
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
 
14
- // Styles
15
14
  function Modal(_ref) {
16
15
  var open = _ref.open,
17
16
  _ref$left = _ref.left,
@@ -26,7 +25,10 @@ function Modal(_ref) {
26
25
  offsetX = _ref$offsetX === void 0 ? '0px' : _ref$offsetX,
27
26
  _ref$offsetY = _ref.offsetY,
28
27
  offsetY = _ref$offsetY === void 0 ? '0px' : _ref$offsetY,
28
+ _ref$hideScrollBar = _ref.hideScrollBar,
29
+ hideScrollBar = _ref$hideScrollBar === void 0 ? false : _ref$hideScrollBar,
29
30
  maxWidth = _ref.maxWidth,
31
+ maxHeight = _ref.maxHeight,
30
32
  onClose = _ref.onClose,
31
33
  children = _ref.children;
32
34
  // TODO
@@ -105,6 +107,8 @@ function Modal(_ref) {
105
107
  pointerEvents: open ? 'auto' : 'none'
106
108
  },
107
109
  maxWidth: maxWidth,
110
+ maxHeight: maxHeight,
111
+ hideScrollBar: hideScrollBar,
108
112
  children: children
109
113
  })]
110
114
  });
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
2
2
  //# sourceMappingURL=modal.test.d.ts.map
@@ -179,4 +179,17 @@ describe('Modal', function () {
179
179
  maxWidth: '200px'
180
180
  });
181
181
  });
182
+ it('should display modal with maxHeight', function () {
183
+ var modal = setup({
184
+ open: true,
185
+ onClose: function onClose() {},
186
+ maxHeight: '200px',
187
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
188
+ children: "Hello world!"
189
+ })
190
+ });
191
+ expect(modal.modal).toHaveStyle({
192
+ maxHeight: '200px'
193
+ });
194
+ });
182
195
  });
@@ -1,13 +1,15 @@
1
- /// <reference types="react" />
2
- import { Theme } from '@emotion/react';
3
- export declare const Container: import("@emotion/styled").StyledComponent<{
4
- theme?: Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & {
7
- maxWidth?: string | undefined;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const Overlay: import("@emotion/styled").StyledComponent<{
10
- theme?: Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
12
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1
+ /// <reference types="react" />
2
+ import { Theme } from '@emotion/react';
3
+ export declare const Container: import("@emotion/styled").StyledComponent<{
4
+ theme?: Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & {
7
+ maxHeight?: string | undefined;
8
+ maxWidth?: string | undefined;
9
+ hideScrollBar?: boolean | undefined;
10
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const Overlay: import("@emotion/styled").StyledComponent<{
12
+ theme?: Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
15
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,eAAO,MAAM,SAAS;;;;;yGA6BpB,CAAC;AAEH,eAAO,MAAM,OAAO;;;yGAelB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,eAAO,MAAM,SAAS;;;;;;;yGAwDpB,CAAC;AAEH,eAAO,MAAM,OAAO;;;yGAelB,CAAC"}
@@ -17,7 +17,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
17
17
 
18
18
  var Container = _styled.default.div(function (props) {
19
19
  var theme = props.theme;
20
- return (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-radius: ", ";\n\n width: calc(100% - 32px);\n\n max-width: ", ";\n\n position: fixed;\n\n background: ", ";\n box-shadow: ", ";\n\n transition: transform ease ", ", opacity linear ", ";\n\n z-index: ", ";\n\n &:focus {\n outline: 3px solid black;\n }\n "])), theme.borderRadius.default, props.maxWidth, theme.colorMode === 'light' ? theme.colors.background.light : theme.colors.neutral.black, theme.colorMode === 'light' ? theme.shadow.level1 : "0 4px 8px ".concat(theme.colors.neutral.black), theme.transition.speed, theme.transition.speed, theme.zIndex.level24);
20
+ return (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-radius: ", ";\n\n width: calc(100% - 32px);\n\n max-width: ", ";\n max-height: ", ";\n position: fixed;\n\n overflow-y: auto;\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: ", ";\n background: ", ";\n }\n\n ", "\n\n background: ", ";\n box-shadow: ", ";\n\n transition: transform ease ", ", opacity linear ", ";\n\n z-index: ", ";\n\n &:focus {\n outline: 3px solid black;\n }\n "])), theme.borderRadius.default, props.maxWidth, props.maxHeight, props.theme.borderRadius.default, props.theme.colors.primary.default, props.hideScrollBar && "::-webkit-scrollbar {\n display: none;\n }\n \n scrollbar-width: none;\n \n -ms-overflow-style: none;", theme.colorMode === 'light' ? theme.colors.background.light : theme.colors.neutral.black, theme.colorMode === 'light' ? theme.shadow.level1 : "0 4px 8px ".concat(theme.colors.neutral.black), theme.transition.speed, theme.transition.speed, theme.zIndex.level24);
21
21
  });
22
22
 
23
23
  exports.Container = Container;
@@ -1,29 +1,33 @@
1
- import { ReactNode } from 'react';
2
- export declare type AnchorX = 'left' | 'center' | 'right' | number;
3
- export declare type AnchorY = 'top' | 'center' | 'bottom' | number;
4
- export interface IModalProps {
5
- /** If the modal is open or not. */
6
- open: boolean;
7
- /** Optional. Sets the left position where the modal will be shown. */
8
- left?: string;
9
- /** Optional. Sets the top position where the modal will be shown. */
10
- top?: string;
11
- /** Optional. The Modal horizontal anchor.
12
- * 0 is the left most side.
13
- * 100 is the right most size. */
14
- anchorX?: AnchorX;
15
- /** Optional. The Modal vertical anchor.
16
- * 0 is the left most side.
17
- * 100 is the right most size. */
18
- anchorY?: AnchorY;
19
- /** Optional. Offsets the Modal horizontally. */
20
- offsetX?: string;
21
- /** Optional. Offsets the Modal vertically. */
22
- offsetY?: string;
23
- /** The max width of the Modal. */
24
- maxWidth?: string;
25
- /** Handler called once the Modal is triggered to close. */
26
- onClose: () => void;
27
- children: ReactNode;
28
- }
1
+ import { ReactNode } from 'react';
2
+ export declare type AnchorX = 'left' | 'center' | 'right' | number;
3
+ export declare type AnchorY = 'top' | 'center' | 'bottom' | number;
4
+ export interface IModalProps {
5
+ /** If the modal is open or not. */
6
+ open: boolean;
7
+ /** Optional. Sets the left position where the modal will be shown. */
8
+ left?: string;
9
+ /** Optional. Sets the top position where the modal will be shown. */
10
+ top?: string;
11
+ /** Optional. The Modal horizontal anchor.
12
+ * 0 is the left most side.
13
+ * 100 is the right most size. */
14
+ anchorX?: AnchorX;
15
+ /** Optional. The Modal vertical anchor.
16
+ * 0 is the left most side.
17
+ * 100 is the right most size. */
18
+ anchorY?: AnchorY;
19
+ /** Optional. Offsets the Modal horizontally. */
20
+ offsetX?: string;
21
+ /** Optional. Offsets the Modal vertically. */
22
+ offsetY?: string;
23
+ /** The max width of the Modal. */
24
+ maxWidth?: string;
25
+ /** The max height of the Modal. */
26
+ maxHeight?: string;
27
+ /** Handler called once the Modal is triggered to close. */
28
+ onClose: () => void;
29
+ /** Optional. Will hide the scroll bar if the content inside a container is too big */
30
+ hideScrollBar?: boolean;
31
+ children: ReactNode;
32
+ }
29
33
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,oBAAY,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3D,oBAAY,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE3D,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,IAAI,EAAE,OAAO,CAAC;IAEd,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;qCAEiC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;qCAEiC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,2DAA2D;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,oBAAY,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3D,oBAAY,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE3D,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,IAAI,EAAE,OAAO,CAAC;IAEd,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;qCAEiC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;qCAEiC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,2DAA2D;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,sFAAsF;IACtF,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
@@ -1,4 +1,4 @@
1
- import { IPaginationHook } from '../types';
2
- export declare const DOTS = "...";
3
- export declare const usePagination: ({ count, activePage }: IPaginationHook) => (string | number)[] | undefined;
1
+ import { IPaginationHook } from '../types';
2
+ export declare const DOTS = "...";
3
+ export declare const usePagination: ({ count, activePage }: IPaginationHook) => (string | number)[] | undefined;
4
4
  //# sourceMappingURL=usePagination.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { IPaginationProps } from './types';
3
- export declare function Pagination({ count, onChange, previousButtonIcon, nextButtonIcon, isDisabled, defaultPage, size, shape, variant, color, }: IPaginationProps): JSX.Element | null;
1
+ /// <reference types="react" />
2
+ import { IPaginationProps } from './types';
3
+ export declare function Pagination({ count, onChange, previousButtonIcon, nextButtonIcon, isDisabled, defaultPage, size, shape, variant, color, }: IPaginationProps): JSX.Element | null;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
2
2
  //# sourceMappingURL=pagination.test.d.ts.map
@@ -1,35 +1,35 @@
1
- /// <reference types="react" />
2
- import { IStyledPagination } from './types';
3
- export declare const PaginationList: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
7
- export declare const PaginationItem: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
10
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
11
- export declare const PaginationButton: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
14
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
15
- export declare const PreviousNavigationButton: import("@emotion/styled").StyledComponent<{
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
18
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
19
- export declare const NextNavigationButton: import("@emotion/styled").StyledComponent<{
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
22
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
23
- export declare const SmallPageInfo: import("@emotion/styled").StyledComponent<{
24
- theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
26
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
27
- export declare const PageWrap: import("@emotion/styled").StyledComponent<{
28
- theme?: import("@emotion/react").Theme | undefined;
29
- as?: import("react").ElementType<any> | undefined;
30
- } & IStyledPagination, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
31
- export declare const LargeViewWrap: import("@emotion/styled").StyledComponent<{
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
34
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1
+ /// <reference types="react" />
2
+ import { IStyledPagination } from './types';
3
+ export declare const PaginationList: import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
7
+ export declare const PaginationItem: import("@emotion/styled").StyledComponent<{
8
+ theme?: import("@emotion/react").Theme | undefined;
9
+ as?: import("react").ElementType<any> | undefined;
10
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
11
+ export declare const PaginationButton: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
15
+ export declare const PreviousNavigationButton: import("@emotion/styled").StyledComponent<{
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
19
+ export declare const NextNavigationButton: import("@emotion/styled").StyledComponent<{
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ as?: import("react").ElementType<any> | undefined;
22
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
23
+ export declare const SmallPageInfo: import("@emotion/styled").StyledComponent<{
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
27
+ export declare const PageWrap: import("@emotion/styled").StyledComponent<{
28
+ theme?: import("@emotion/react").Theme | undefined;
29
+ as?: import("react").ElementType<any> | undefined;
30
+ } & IStyledPagination, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
31
+ export declare const LargeViewWrap: import("@emotion/styled").StyledComponent<{
32
+ theme?: import("@emotion/react").Theme | undefined;
33
+ as?: import("react").ElementType<any> | undefined;
34
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
35
35
  //# sourceMappingURL=styles.d.ts.map
@@ -1,29 +1,29 @@
1
- import { ExtendThemeProps } from 'src';
2
- import { IconName } from '../Icon/types';
3
- export interface IPaginationProps {
4
- count: number;
5
- defaultPage?: number;
6
- variant?: 'outlined' | 'text';
7
- shape?: 'circular' | 'rounded';
8
- size?: 'small' | 'large';
9
- previousButtonIcon?: IconName;
10
- nextButtonIcon?: IconName;
11
- color?: string;
12
- isDisabled?: boolean;
13
- onChange?: (value: number) => void;
14
- }
15
- export interface IPaginationHook {
16
- count: number;
17
- activePage: number;
18
- }
19
- export interface IStyledPagination {
20
- theme?: ExtendThemeProps;
21
- isActivePage?: boolean;
22
- variant?: 'outlined' | 'text';
23
- shape?: 'circular' | 'rounded';
24
- size?: 'small' | 'large';
25
- numberOfPageColor?: string;
26
- grayColor?: string;
27
- saturationColor?: string;
28
- }
1
+ import { ExtendThemeProps } from 'src';
2
+ import { IconName } from '../Icon/types';
3
+ export interface IPaginationProps {
4
+ count: number;
5
+ defaultPage?: number;
6
+ variant?: 'outlined' | 'text';
7
+ shape?: 'circular' | 'rounded';
8
+ size?: 'small' | 'large';
9
+ previousButtonIcon?: IconName;
10
+ nextButtonIcon?: IconName;
11
+ color?: string;
12
+ isDisabled?: boolean;
13
+ onChange?: (value: number) => void;
14
+ }
15
+ export interface IPaginationHook {
16
+ count: number;
17
+ activePage: number;
18
+ }
19
+ export interface IStyledPagination {
20
+ theme?: ExtendThemeProps;
21
+ isActivePage?: boolean;
22
+ variant?: 'outlined' | 'text';
23
+ shape?: 'circular' | 'rounded';
24
+ size?: 'small' | 'large';
25
+ numberOfPageColor?: string;
26
+ grayColor?: string;
27
+ saturationColor?: string;
28
+ }
29
29
  //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { Circle } from '../type';
3
- export declare function CircleProgress({ percent, isAnimated, color, size, stroke, circleBody, grayColor, showValue, steps, }: Circle): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { Circle } from '../type';
3
+ export declare function CircleProgress({ percent, isAnimated, color, size, stroke, circleBody, grayColor, showValue, steps, }: Circle): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { ProgressComponent } from '../type';
3
- export declare function LinearProgress({ percent, height, isAnimated, color, grayColor, showValue, steps, }: ProgressComponent): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ProgressComponent } from '../type';
3
+ export declare function LinearProgress({ percent, height, isAnimated, color, grayColor, showValue, steps, }: ProgressComponent): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const getSteps: (v: number, percent: number) => number | undefined;
1
+ export declare const getSteps: (v: number, percent: number) => number | undefined;
2
2
  //# sourceMappingURL=getSteps.d.ts.map
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { ProgressComponent } from './type';
3
- export declare function Progress({ type, percent, height, isAnimated, color, size, stroke, circleBody, showValue, steps, }: ProgressComponent): JSX.Element;
4
- export default Progress;
1
+ /// <reference types="react" />
2
+ import { ProgressComponent } from './type';
3
+ export declare function Progress({ type, percent, height, isAnimated, color, size, stroke, circleBody, showValue, steps, }: ProgressComponent): JSX.Element;
4
+ export default Progress;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
2
2
  //# sourceMappingURL=progress.test.d.ts.map
@@ -1,39 +1,39 @@
1
- /// <reference types="react" />
2
- import { ProgressBarInterface, PercentBarInterface, CircleStyle, CircleBody, ValueI } from './type';
3
- export declare const ProgressBar: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & ProgressBarInterface, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- export declare const ValueLinear: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
10
- } & ValueI, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
- export declare const PercentBar: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
14
- } & PercentBarInterface, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
- export declare const CircleArea: import("@emotion/styled").StyledComponent<{
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
18
- } & {
19
- size?: number | undefined;
20
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
- export declare const Value: import("@emotion/styled").StyledComponent<{
22
- theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any> | undefined;
24
- } & ValueI, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
25
- export declare const SVGArea: import("@emotion/styled").StyledComponent<{
26
- theme?: import("@emotion/react").Theme | undefined;
27
- as?: import("react").ElementType<any> | undefined;
28
- } & {
29
- size?: number | undefined;
30
- }, import("react").SVGProps<SVGSVGElement>, {}>;
31
- export declare const SVGCircle: import("@emotion/styled").StyledComponent<{
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
34
- } & CircleStyle, import("react").SVGProps<SVGCircleElement>, {}>;
35
- export declare const SVGSecondCircle: import("@emotion/styled").StyledComponent<{
36
- theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
38
- } & CircleBody, import("react").SVGProps<SVGCircleElement>, {}>;
1
+ /// <reference types="react" />
2
+ import { ProgressBarInterface, PercentBarInterface, CircleStyle, CircleBody, ValueI } from './type';
3
+ export declare const ProgressBar: import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & ProgressBarInterface, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ export declare const ValueLinear: import("@emotion/styled").StyledComponent<{
8
+ theme?: import("@emotion/react").Theme | undefined;
9
+ as?: import("react").ElementType<any> | undefined;
10
+ } & ValueI, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const PercentBar: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & PercentBarInterface, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ export declare const CircleArea: import("@emotion/styled").StyledComponent<{
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
+ } & {
19
+ size?: number | undefined;
20
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
+ export declare const Value: import("@emotion/styled").StyledComponent<{
22
+ theme?: import("@emotion/react").Theme | undefined;
23
+ as?: import("react").ElementType<any> | undefined;
24
+ } & ValueI, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
25
+ export declare const SVGArea: import("@emotion/styled").StyledComponent<{
26
+ theme?: import("@emotion/react").Theme | undefined;
27
+ as?: import("react").ElementType<any> | undefined;
28
+ } & {
29
+ size?: number | undefined;
30
+ }, import("react").SVGProps<SVGSVGElement>, {}>;
31
+ export declare const SVGCircle: import("@emotion/styled").StyledComponent<{
32
+ theme?: import("@emotion/react").Theme | undefined;
33
+ as?: import("react").ElementType<any> | undefined;
34
+ } & CircleStyle, import("react").SVGProps<SVGCircleElement>, {}>;
35
+ export declare const SVGSecondCircle: import("@emotion/styled").StyledComponent<{
36
+ theme?: import("@emotion/react").Theme | undefined;
37
+ as?: import("react").ElementType<any> | undefined;
38
+ } & CircleBody, import("react").SVGProps<SVGCircleElement>, {}>;
39
39
  //# sourceMappingURL=style.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/style.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGpG,eAAO,MAAM,WAAW;;;gIAWvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;kHA2BvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;+HAOtB,CAAC;AAIF,eAAO,MAAM,UAAU;;;;;yGAKtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;kHA0BjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;+CAGnB,CAAC;AACF,eAAO,MAAM,SAAS;;;gEAWrB,CAAC;AAEF,eAAO,MAAM,eAAe;;;+DAW3B,CAAC"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/style.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGpG,eAAO,MAAM,WAAW;;;gIAYvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;kHA2BvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;+HAOtB,CAAC;AAIF,eAAO,MAAM,UAAU;;;;;yGAKtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;kHA0BjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;+CAGnB,CAAC;AACF,eAAO,MAAM,SAAS;;;gEAWrB,CAAC;AAEF,eAAO,MAAM,eAAe;;;+DAW3B,CAAC"}