@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
@@ -16,7 +16,7 @@ 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
  // Linear
19
- var ProgressBar = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n background-color: ", ";\n height: ", "px;\n border-radius: 10px;\n"])), function (_ref) {
19
+ var ProgressBar = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n background-color: ", ";\n height: ", "px;\n border-radius: 10px;\n overflow: hidden;\n"])), function (_ref) {
20
20
  var grayColor = _ref.grayColor,
21
21
  theme = _ref.theme;
22
22
  return grayColor ? (0, _colorToGray.parseHslColorToString)(theme.colorMode === 'light' ? grayColor.neutral1 : grayColor.neutral6) : theme.colorMode === 'light' ? theme.colors.neutral.neutral1 : theme.colors.neutral.neutral6;
@@ -1,70 +1,70 @@
1
- export declare type ArrayColor = [number, number, number];
2
- export interface objectGray {
3
- neutral1: ArrayColor;
4
- neutral2: ArrayColor;
5
- neutral3: ArrayColor;
6
- neutral4: ArrayColor;
7
- neutral5: ArrayColor;
8
- neutral6: ArrayColor;
9
- black: ArrayColor;
10
- }
11
- export interface ProgressBarInterface {
12
- height?: string;
13
- grayColor?: objectGray;
14
- }
15
- export interface PercentBarInterface {
16
- percent: number;
17
- isAnimated?: boolean;
18
- color?: string;
19
- grayColor?: objectGray;
20
- }
21
- export interface ProgressComponent {
22
- type?: 'linear' | 'circle';
23
- height?: string;
24
- percent: number;
25
- isAnimated?: boolean;
26
- color?: string;
27
- size?: number;
28
- stroke?: number;
29
- circleBody?: boolean;
30
- grayColor?: objectGray;
31
- showValue?: string;
32
- steps?: number;
33
- }
34
- export interface Linear {
35
- height?: string;
36
- percent: number;
37
- isAnimated?: boolean;
38
- color?: string;
39
- steps?: number;
40
- }
41
- export interface Circle {
42
- height?: string;
43
- percent: number;
44
- isAnimated?: boolean;
45
- color?: string;
46
- size?: number;
47
- stroke?: number;
48
- circleBody?: boolean;
49
- grayColor?: objectGray;
50
- showValue?: string;
51
- steps?: number;
52
- }
53
- export interface CircleStyle {
54
- circumference?: number;
55
- percent: number;
56
- strokeWidth?: number;
57
- color?: string;
58
- isAnimated?: boolean;
59
- }
60
- export interface CircleBody {
61
- strokeWidth?: number;
62
- grayColor?: objectGray;
63
- }
64
- export interface ValueI {
65
- grayColor?: objectGray;
66
- height?: string;
67
- size?: number;
68
- colorMode?: string;
69
- }
1
+ export declare type ArrayColor = [number, number, number];
2
+ export interface objectGray {
3
+ neutral1: ArrayColor;
4
+ neutral2: ArrayColor;
5
+ neutral3: ArrayColor;
6
+ neutral4: ArrayColor;
7
+ neutral5: ArrayColor;
8
+ neutral6: ArrayColor;
9
+ black: ArrayColor;
10
+ }
11
+ export interface ProgressBarInterface {
12
+ height?: string;
13
+ grayColor?: objectGray;
14
+ }
15
+ export interface PercentBarInterface {
16
+ percent: number;
17
+ isAnimated?: boolean;
18
+ color?: string;
19
+ grayColor?: objectGray;
20
+ }
21
+ export interface ProgressComponent {
22
+ type?: 'linear' | 'circle';
23
+ height?: 'sm' | 'md' | 'lg';
24
+ percent: number;
25
+ isAnimated?: boolean;
26
+ color?: string;
27
+ size?: number;
28
+ stroke?: number;
29
+ circleBody?: boolean;
30
+ grayColor?: objectGray;
31
+ showValue?: string;
32
+ steps?: number;
33
+ }
34
+ export interface Linear {
35
+ height?: string;
36
+ percent: number;
37
+ isAnimated?: boolean;
38
+ color?: string;
39
+ steps?: number;
40
+ }
41
+ export interface Circle {
42
+ height?: string;
43
+ percent: number;
44
+ isAnimated?: boolean;
45
+ color?: string;
46
+ size?: number;
47
+ stroke?: number;
48
+ circleBody?: boolean;
49
+ grayColor?: objectGray;
50
+ showValue?: string;
51
+ steps?: number;
52
+ }
53
+ export interface CircleStyle {
54
+ circumference?: number;
55
+ percent: number;
56
+ strokeWidth?: number;
57
+ color?: string;
58
+ isAnimated?: boolean;
59
+ }
60
+ export interface CircleBody {
61
+ strokeWidth?: number;
62
+ grayColor?: objectGray;
63
+ }
64
+ export interface ValueI {
65
+ grayColor?: objectGray;
66
+ height?: string;
67
+ size?: number;
68
+ colorMode?: string;
69
+ }
70
70
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/type.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;AACD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,MAAM;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/type.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;AACD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,MAAM;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,6 +1,6 @@
1
- import { FC } from 'react';
2
- import { ChoiceListProps, ChoiceListContext } from '../../types';
3
- export declare const RadioGroup: import("react").Context<ChoiceListContext>;
4
- declare const ChoiceList: FC<ChoiceListProps>;
5
- export default ChoiceList;
1
+ import { FC } from 'react';
2
+ import { ChoiceListProps, ChoiceListContext } from '../../types';
3
+ export declare const RadioGroup: import("react").Context<ChoiceListContext>;
4
+ declare const ChoiceList: FC<ChoiceListProps>;
5
+ export default ChoiceList;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/RadioInput/components/ChoiceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,EAAE,EAAqB,MAAM,OAAO,CAAC;AAM1E,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEjE,eAAO,MAAM,UAAU,4CAA4D,CAAC;AAEpF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAkDnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/RadioInput/components/ChoiceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,EAAE,EAAgC,MAAM,OAAO,CAAC;AAMrF,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEjE,eAAO,MAAM,UAAU,4CAA4D,CAAC;AAEpF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAsDnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -75,6 +75,9 @@ var ChoiceList = function ChoiceList(_ref) {
75
75
  onChange(e.currentTarget.value);
76
76
  };
77
77
 
78
+ (0, _react.useEffect)(function () {
79
+ !!value && setSelectedRadioBtn(value);
80
+ }, [value]);
78
81
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.ThemeProvider, {
79
82
  theme: theme,
80
83
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(RadioGroup.Provider, {
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { IRadioInputProps } from './types';
3
- declare const RadioInput: FC<IRadioInputProps>;
4
- export default RadioInput;
1
+ import { FC } from 'react';
2
+ import { IRadioInputProps } from './types';
3
+ declare const RadioInput: FC<IRadioInputProps>;
4
+ export default RadioInput;
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=radio-input.test.d.ts.map
@@ -1,31 +1,31 @@
1
- /// <reference types="react" />
2
- import { IStyledRadioInput } from './types';
3
- export declare const Wrapper: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- export declare const Label: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
10
- }, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
11
- export declare const Input: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
14
- } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
15
- export declare const ChoiceWrapper: import("@emotion/styled").StyledComponent<{
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
18
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
- export declare const ListWrapper: import("@emotion/styled").StyledComponent<{
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
22
- } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
- export declare const ChoiceLabel: import("@emotion/styled").StyledComponent<{
24
- theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
26
- } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
27
- export declare const HelpText: import("@emotion/styled").StyledComponent<{
28
- theme?: import("@emotion/react").Theme | undefined;
29
- as?: import("react").ElementType<any> | undefined;
30
- } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
1
+ /// <reference types="react" />
2
+ import { IStyledRadioInput } from './types';
3
+ export declare const Wrapper: import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ export declare const Label: import("@emotion/styled").StyledComponent<{
8
+ theme?: import("@emotion/react").Theme | undefined;
9
+ as?: import("react").ElementType<any> | undefined;
10
+ }, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
11
+ export declare const Input: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
15
+ export declare const ChoiceWrapper: import("@emotion/styled").StyledComponent<{
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
+ export declare const ListWrapper: import("@emotion/styled").StyledComponent<{
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ as?: import("react").ElementType<any> | undefined;
22
+ } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
+ export declare const ChoiceLabel: import("@emotion/styled").StyledComponent<{
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
27
+ export declare const HelpText: import("@emotion/styled").StyledComponent<{
28
+ theme?: import("@emotion/react").Theme | undefined;
29
+ as?: import("react").ElementType<any> | undefined;
30
+ } & IStyledRadioInput, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
31
31
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/RadioInput/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO;;;yGAInB,CAAC;AAEF,eAAO,MAAM,KAAK;;;kHAGjB,CAAC;AAEF,eAAO,MAAM,KAAK;;;sIAkEjB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAAe,CAAC;AAE1C,eAAO,MAAM,WAAW;;;6HAOvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;sIASvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;+HASpB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/RadioInput/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO;;;yGAInB,CAAC;AAEF,eAAO,MAAM,KAAK;;;kHAGjB,CAAC;AAEF,eAAO,MAAM,KAAK;;;sIAsEjB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAAe,CAAC;AAE1C,eAAO,MAAM,WAAW;;;6HAOvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;sIASvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;+HASpB,CAAC"}
@@ -27,7 +27,10 @@ var Input = _styled.default.input(_templateObject3 || (_templateObject3 = _tagge
27
27
  var color = _ref.color,
28
28
  colorProps = _ref.colorProps,
29
29
  theme = _ref.theme;
30
- return (0, _react.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n appearance: none;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 2px solid ", ";\n\n + label {\n color: ", ";\n line-height: 20px;\n }\n\n :hover {\n border-color: ", ";\n }\n :focus {\n border-color: ", ";\n box-shadow: 0 0 0 2px ", ";\n }\n :disabled {\n border-color: ", ";\n background-color: ", ";\n + label {\n color: ", ";\n }\n }\n\n :checked {\n background-color: ", ";\n border-color: ", ";\n &:focus {\n background-color: ", ";\n border-color: ", ";\n box-shadow: 0 0 0 2px ", ";\n }\n &:hover {\n background-color: ", ";\n border-color: ", ";\n }\n &:disabled {\n background-color: ", ";\n border-color: ", ";\n + label {\n color: ", ";\n }\n &::after {\n display: none;\n }\n }\n\n &::after {\n content: '';\n display: block;\n width: 6px;\n height: 6px;\n background: #fff;\n border-radius: 50%;\n }\n }\n "])), colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, theme.colorMode === 'light' ? colorProps === null || colorProps === void 0 ? void 0 : colorProps.black : theme.colors.neutral.white, colorProps === null || colorProps === void 0 ? void 0 : colorProps.graySaturation, colorProps === null || colorProps === void 0 ? void 0 : colorProps.focus, colorProps === null || colorProps === void 0 ? void 0 : colorProps.grayLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.grayLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.grayLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, color, color, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturationFocus, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturationFocus, colorProps === null || colorProps === void 0 ? void 0 : colorProps.shadowLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturation, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturation, colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, colorProps === null || colorProps === void 0 ? void 0 : colorProps.graySaturation);
30
+ return (0, _react.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n appearance: none;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 2px solid\n ", ";\n\n + label {\n color: ", ";\n line-height: 20px;\n }\n\n :hover {\n border-color: ", ";\n }\n :focus {\n border-color: ", ";\n box-shadow: 0 0 0 2px ", ";\n }\n :disabled {\n border-color: ", ";\n background-color: ", ";\n + label {\n color: ", ";\n }\n }\n\n :checked {\n background-color: ", ";\n border-color: ", ";\n &:focus {\n background-color: ", ";\n border-color: ", ";\n box-shadow: 0 0 0 2px ", ";\n }\n &:hover {\n background-color: ", ";\n border-color: ", ";\n }\n &:disabled {\n background-color: ", ";\n border-color: ", ";\n + label {\n color: ", ";\n }\n &::after {\n display: none;\n }\n }\n\n &::after {\n content: '';\n display: block;\n width: 6px;\n height: 6px;\n background: #fff;\n border-radius: 50%;\n }\n }\n "])), {
31
+ light: theme.colors.neutral.neutral2,
32
+ dark: theme.colors.neutral.neutral5
33
+ }[theme.colorMode], theme.colorMode === 'light' ? colorProps === null || colorProps === void 0 ? void 0 : colorProps.black : theme.colors.neutral.white, theme.colors.primary.hover, colorProps === null || colorProps === void 0 ? void 0 : colorProps.focus, colorProps === null || colorProps === void 0 ? void 0 : colorProps.grayLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.grayLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.grayLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, color, color, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturationFocus, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturationFocus, colorProps === null || colorProps === void 0 ? void 0 : colorProps.shadowLightness, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturation, colorProps === null || colorProps === void 0 ? void 0 : colorProps.saturation, colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, colorProps === null || colorProps === void 0 ? void 0 : colorProps.gray, colorProps === null || colorProps === void 0 ? void 0 : colorProps.graySaturation);
31
34
  });
32
35
 
33
36
  exports.Input = Input;
@@ -1,61 +1,61 @@
1
- import { ChangeEvent, ChangeEventHandler, ReactNode, Ref } from 'react';
2
- export declare type FormRegister = {
3
- onChange: ChangeEventHandler<HTMLInputElement>;
4
- onBlur: ChangeEventHandler;
5
- ref: Ref<any>;
6
- name: string;
7
- };
8
- export declare type ColorProps = {
9
- black: string;
10
- gray: string;
11
- grayLightness: string;
12
- graySaturation: string;
13
- focus: string;
14
- focusChecked: string;
15
- shadowLightness: string;
16
- saturation: string;
17
- saturationFocus: string;
18
- };
19
- export interface IRadioInputProps {
20
- isDisabled?: boolean;
21
- name?: string;
22
- value: string;
23
- id: string;
24
- children: ReactNode;
25
- color?: string;
26
- defaultChecked?: boolean;
27
- onChange?: (value: string) => void;
28
- formRegister?: FormRegister;
29
- }
30
- export interface ChoiceListProps {
31
- onChange: (value: string) => void;
32
- label?: string;
33
- value: string;
34
- defaultValue?: string;
35
- isDisabled?: boolean;
36
- name: string;
37
- alignDirection?: 'column' | 'row';
38
- color?: string;
39
- helpText?: string;
40
- children: ReactNode;
41
- formRegister?: FormRegister;
42
- }
43
- export declare type ChoiceListContext = {
44
- handleRadioClick: (e: ChangeEvent<HTMLInputElement>) => void;
45
- isRadioSelected: (value: string) => boolean;
46
- groupName: string;
47
- groupColor: string;
48
- groupFormRegister?: FormRegister;
49
- isDisabled?: boolean;
50
- };
51
- export interface IStyledRadioInput {
52
- color?: string;
53
- colorProps?: ColorProps;
54
- textColor?: string;
55
- alignDirection?: 'column' | 'row';
56
- disabledColor?: string;
57
- disabledWithCheckedColor?: string;
58
- disabledTextColor?: string;
59
- disabledTextWithCheckedColor?: string;
60
- }
1
+ import { ChangeEvent, ChangeEventHandler, ReactNode, Ref } from 'react';
2
+ export declare type FormRegister = {
3
+ onChange: ChangeEventHandler<HTMLInputElement>;
4
+ onBlur: ChangeEventHandler;
5
+ ref: Ref<any>;
6
+ name: string;
7
+ };
8
+ export declare type ColorProps = {
9
+ black: string;
10
+ gray: string;
11
+ grayLightness: string;
12
+ graySaturation: string;
13
+ focus: string;
14
+ focusChecked: string;
15
+ shadowLightness: string;
16
+ saturation: string;
17
+ saturationFocus: string;
18
+ };
19
+ export interface IRadioInputProps {
20
+ isDisabled?: boolean;
21
+ name?: string;
22
+ value: string;
23
+ id: string;
24
+ children: ReactNode;
25
+ color?: string;
26
+ defaultChecked?: boolean;
27
+ onChange?: (value: string) => void;
28
+ formRegister?: FormRegister;
29
+ }
30
+ export interface ChoiceListProps {
31
+ onChange: (value: string) => void;
32
+ label?: string;
33
+ value: string;
34
+ defaultValue?: string;
35
+ isDisabled?: boolean;
36
+ name: string;
37
+ alignDirection?: 'column' | 'row';
38
+ color?: string;
39
+ helpText?: string;
40
+ children: ReactNode;
41
+ formRegister?: FormRegister;
42
+ }
43
+ export declare type ChoiceListContext = {
44
+ handleRadioClick: (e: ChangeEvent<HTMLInputElement>) => void;
45
+ isRadioSelected: (value: string) => boolean;
46
+ groupName: string;
47
+ groupColor: string;
48
+ groupFormRegister?: FormRegister;
49
+ isDisabled?: boolean;
50
+ };
51
+ export interface IStyledRadioInput {
52
+ color?: string;
53
+ colorProps?: ColorProps;
54
+ textColor?: string;
55
+ alignDirection?: 'column' | 'row';
56
+ disabledColor?: string;
57
+ disabledWithCheckedColor?: string;
58
+ disabledTextColor?: string;
59
+ disabledTextWithCheckedColor?: string;
60
+ }
61
61
  //# sourceMappingURL=types.d.ts.map
@@ -1,12 +1,12 @@
1
- export declare function getColorsProps(hue: number): {
2
- black: string;
3
- gray: string;
4
- grayLightness: string;
5
- graySaturation: string;
6
- focus: string;
7
- focusChecked: string;
8
- shadowLightness: string;
9
- saturation: string;
10
- saturationFocus: string;
11
- };
1
+ export declare function getColorsProps(hue: number): {
2
+ black: string;
3
+ gray: string;
4
+ grayLightness: string;
5
+ graySaturation: string;
6
+ focus: string;
7
+ focusChecked: string;
8
+ shadowLightness: string;
9
+ saturation: string;
10
+ saturationFocus: string;
11
+ };
12
12
  //# sourceMappingURL=get-colors-props.d.ts.map
@@ -1,9 +1,9 @@
1
- export declare const dashIcons: {
2
- name: string;
3
- width: number;
4
- height: number;
5
- viewBox: string;
6
- html: string;
7
- xmlns: string;
8
- }[];
1
+ export declare const dashIcons: {
2
+ name: string;
3
+ width: number;
4
+ height: number;
5
+ viewBox: string;
6
+ html: string;
7
+ xmlns: string;
8
+ }[];
9
9
  //# sourceMappingURL=dash.d.ts.map
@@ -1,9 +1,9 @@
1
- export declare const ecommerceIcons: {
2
- name: string;
3
- width: number;
4
- height: number;
5
- viewBox: string;
6
- html: string;
7
- xmlns: string;
8
- }[];
1
+ export declare const ecommerceIcons: {
2
+ name: string;
3
+ width: number;
4
+ height: number;
5
+ viewBox: string;
6
+ html: string;
7
+ xmlns: string;
8
+ }[];
9
9
  //# sourceMappingURL=ecommerce.d.ts.map
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { IIconComponentProps } from './types';
3
- declare const Icon: FC<IIconComponentProps>;
4
- export default Icon;
1
+ import { FC } from 'react';
2
+ import { IIconComponentProps } from './types';
3
+ declare const Icon: FC<IIconComponentProps>;
4
+ export default Icon;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- /**
2
- * Builds the icons and types files.
3
- * To run this script, you need to call this at the test file:
4
- * `require('./scripts/build')` or `import build from './scripts/build'`
5
- */
6
- declare const builder: () => void;
7
- export default builder;
1
+ /**
2
+ * Builds the icons and types files.
3
+ * To run this script, you need to call this at the test file:
4
+ * `require('./scripts/build')` or `import build from './scripts/build'`
5
+ */
6
+ declare const builder: () => void;
7
+ export default builder;
8
8
  //# sourceMappingURL=build.d.ts.map
@@ -1,16 +1,16 @@
1
- /**
2
- * Extractor is a function that extracts the svg content from the icon file.
3
- * @param files - The directory with the files to extract.
4
- * @param currentPath - The current path of the file
5
- * @returns Array of objects with the name and the content of the icon svg.
6
- */
7
- declare const extractor: (files: string[], currentPath: string) => {
8
- name: string;
9
- width: string;
10
- height: string;
11
- viewBox: string;
12
- xmlns: string;
13
- html: string;
14
- }[];
15
- export default extractor;
1
+ /**
2
+ * Extractor is a function that extracts the svg content from the icon file.
3
+ * @param files - The directory with the files to extract.
4
+ * @param currentPath - The current path of the file
5
+ * @returns Array of objects with the name and the content of the icon svg.
6
+ */
7
+ declare const extractor: (files: string[], currentPath: string) => {
8
+ name: string;
9
+ width: string;
10
+ height: string;
11
+ viewBox: string;
12
+ xmlns: string;
13
+ html: string;
14
+ }[];
15
+ export default extractor;
16
16
  //# sourceMappingURL=extractor.d.ts.map
@@ -1,23 +1,23 @@
1
- declare type iconsList = {
2
- name: string;
3
- width: string;
4
- height: string;
5
- viewBox: string;
6
- html: string;
7
- xmlns: string;
8
- };
9
- /**
10
- * This function generates the types file for the Icon component
11
- * @param iconsList - The list of icons
12
- * @param overwrite - If true, the file will be overwritten
13
- */
14
- export declare const writeTypesFile: (iconsList: iconsList[], overwrite?: boolean) => void;
15
- /**
16
- * This function generates the icons json file for the Icon component
17
- * @param iconsList - The list of icons
18
- * @param jsonFileName - The name of the json file
19
- * @param overwrite - If true, the file will be overwritten
20
- */
21
- export declare const writeIconsFile: (iconsList: iconsList[], jsonFileName: string, overwrite?: boolean) => void;
22
- export {};
1
+ declare type iconsList = {
2
+ name: string;
3
+ width: string;
4
+ height: string;
5
+ viewBox: string;
6
+ html: string;
7
+ xmlns: string;
8
+ };
9
+ /**
10
+ * This function generates the types file for the Icon component
11
+ * @param iconsList - The list of icons
12
+ * @param overwrite - If true, the file will be overwritten
13
+ */
14
+ export declare const writeTypesFile: (iconsList: iconsList[], overwrite?: boolean) => void;
15
+ /**
16
+ * This function generates the icons json file for the Icon component
17
+ * @param iconsList - The list of icons
18
+ * @param jsonFileName - The name of the json file
19
+ * @param overwrite - If true, the file will be overwritten
20
+ */
21
+ export declare const writeIconsFile: (iconsList: iconsList[], jsonFileName: string, overwrite?: boolean) => void;
22
+ export {};
23
23
  //# sourceMappingURL=writers.d.ts.map
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
2
- import { ExtendThemeProps } from '../../../../shared/theme';
3
- declare type StyledIconProps = {
4
- theme?: ExtendThemeProps;
5
- strokeColor?: string;
6
- disabled?: boolean;
7
- };
8
- export declare const IconComponent: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
11
- } & StyledIconProps, import("react").SVGProps<SVGSVGElement>, {}>;
12
- export {};
1
+ /// <reference types="react" />
2
+ import { ExtendThemeProps } from '../../../../shared/theme';
3
+ declare type StyledIconProps = {
4
+ theme?: ExtendThemeProps;
5
+ strokeColor?: string;
6
+ disabled?: boolean;
7
+ };
8
+ export declare const IconComponent: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ } & StyledIconProps, import("react").SVGProps<SVGSVGElement>, {}>;
12
+ export {};
13
13
  //# sourceMappingURL=styles.d.ts.map