@pedidopago/ui 1.7.26 → 1.8.0

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 (341) hide show
  1. package/dist/components/Alert/alert.test.js +1 -85
  2. package/dist/components/Alert/index.js +1 -63
  3. package/dist/components/Alert/styles.js +1 -32
  4. package/dist/components/Avatar/avatar.test.js +1 -67
  5. package/dist/components/Avatar/index.js +1 -94
  6. package/dist/components/Avatar/styles.js +1 -51
  7. package/dist/components/Badge/badge.test.js +1 -71
  8. package/dist/components/Badge/index.js +2 -43
  9. package/dist/components/Badge/styles.js +1 -33
  10. package/dist/components/Button/Button.test.js +1 -154
  11. package/dist/components/Button/index.js +1 -87
  12. package/dist/components/Button/styles.js +1 -112
  13. package/dist/components/Card/card.test.js +1 -30
  14. package/dist/components/Card/index.js +1 -44
  15. package/dist/components/Card/styles.js +1 -16
  16. package/dist/components/CheckboxInput/checkbox-input.test.js +1 -170
  17. package/dist/components/CheckboxInput/components/MultipleCheckbox.js +1 -205
  18. package/dist/components/CheckboxInput/index.js +1 -94
  19. package/dist/components/CheckboxInput/styles.js +1 -34
  20. package/dist/components/ChoiceList/index.d.ts +6 -0
  21. package/dist/components/ChoiceList/index.d.ts.map +1 -0
  22. package/dist/components/ChoiceList/index.js +1 -0
  23. package/dist/components/ChoiceList/styles.d.ts +22 -0
  24. package/dist/components/ChoiceList/styles.d.ts.map +1 -0
  25. package/dist/components/ChoiceList/styles.js +1 -0
  26. package/dist/components/ChoiceList/types.d.ts +24 -0
  27. package/dist/components/ChoiceList/types.d.ts.map +1 -0
  28. package/dist/components/ChoiceList/types.js +1 -0
  29. package/dist/components/CollapseCard/ExpandButton/index.js +1 -40
  30. package/dist/components/CollapseCard/ExpandButton/styles.js +1 -16
  31. package/dist/components/CollapseCard/expand-button.test.js +1 -161
  32. package/dist/components/CollapseCard/index.js +1 -98
  33. package/dist/components/CollapseCard/styles.js +1 -26
  34. package/dist/components/ColorPicker/colorpicker.test.js +1 -64
  35. package/dist/components/ColorPicker/components/ColorHue.js +1 -44
  36. package/dist/components/ColorPicker/components/ColorInput.js +1 -63
  37. package/dist/components/ColorPicker/components/ColorPickerBox.js +1 -52
  38. package/dist/components/ColorPicker/components/ColorPointer.js +1 -25
  39. package/dist/components/ColorPicker/components/ColorSelector.js +1 -107
  40. package/dist/components/ColorPicker/hooks/useCachedCallback.js +1 -16
  41. package/dist/components/ColorPicker/hooks/useHsva.js +1 -53
  42. package/dist/components/ColorPicker/index.js +1 -93
  43. package/dist/components/ColorPicker/styles.js +1 -46
  44. package/dist/components/ColorPicker/utils/checkers.js +1 -55
  45. package/dist/components/ColorPicker/utils/conversors.js +2 -243
  46. package/dist/components/ColorPicker/utils/parsers.js +10 -108
  47. package/dist/components/ComposeIcon/index.js +2 -48
  48. package/dist/components/ComposeIcon/styles.js +1 -53
  49. package/dist/components/DateInput/DateInput-example.js +7 -45
  50. package/dist/components/DateInput/components/ModalWrapper/index.js +1 -35
  51. package/dist/components/DateInput/components/ModalWrapper/styles.js +1 -21
  52. package/dist/components/DateInput/dateInput.test.js +2 -43
  53. package/dist/components/DateInput/index.js +2 -104
  54. package/dist/components/DateInput/styles.js +1 -18
  55. package/dist/components/DatePicker/components/DatePickerContent.js +2 -222
  56. package/dist/components/DatePicker/components/DateYearPicker.js +1 -102
  57. package/dist/components/DatePicker/datepicker.test.js +1 -120
  58. package/dist/components/DatePicker/index.js +1 -236
  59. package/dist/components/DatePicker/styles.js +1 -88
  60. package/dist/components/DatePicker/utils/getMonthName.js +1 -11
  61. package/dist/components/Dialog/dialog-example.js +1 -46
  62. package/dist/components/Dialog/dialog.test.js +1 -68
  63. package/dist/components/Dialog/index.js +2 -100
  64. package/dist/components/Dialog/styles.js +1 -31
  65. package/dist/components/Dropzone/dropzone.test.js +1 -69
  66. package/dist/components/Dropzone/index.js +1 -289
  67. package/dist/components/Dropzone/styles.js +1 -75
  68. package/dist/components/Dropzone/utils/accepts.js +2 -27
  69. package/dist/components/EmojiPicker/Emote/index.js +2 -24
  70. package/dist/components/EmojiPicker/Emote/styles.js +1 -27
  71. package/dist/components/EmojiPicker/EmotePickerData/constants.js +1 -51
  72. package/dist/components/EmojiPicker/EmotePickerData/index.js +2 -159
  73. package/dist/components/EmojiPicker/EmotePickerData/styles.js +1 -57
  74. package/dist/components/EmojiPicker/EmotePickerData/utils.js +1 -41
  75. package/dist/components/EmojiPicker/Example/EmotePickerExample.js +1 -43
  76. package/dist/components/EmojiPicker/animation.js +1 -43
  77. package/dist/components/EmojiPicker/index.js +1 -169
  78. package/dist/components/EmojiPicker/styles.js +1 -21
  79. package/dist/components/Flex/flex.test.js +1 -336
  80. package/dist/components/Flex/index.js +1 -49
  81. package/dist/components/Flex/styles.js +1 -25
  82. package/dist/components/Grid/grid.test.js +1 -134
  83. package/dist/components/Grid/index.js +1 -51
  84. package/dist/components/Grid/styles.js +1 -48
  85. package/dist/components/Icon/data/beauty.js +2 -206
  86. package/dist/components/Icon/data/dash.js +2 -2
  87. package/dist/components/Icon/data/ecommerce.js +2 -94
  88. package/dist/components/Icon/data/form.js +2 -248
  89. package/dist/components/Icon/data/health.js +2 -255
  90. package/dist/components/Icon/data/illustrations.js +2 -318
  91. package/dist/components/Icon/data/men.js +2 -52
  92. package/dist/components/Icon/data/payment.js +2 -94
  93. package/dist/components/Icon/data/pedidoPago.js +2 -45
  94. package/dist/components/Icon/data/physicalPerfomance.js +2 -283
  95. package/dist/components/Icon/data/social.js +2 -24
  96. package/dist/components/Icon/data/status.js +2 -115
  97. package/dist/components/Icon/data/summer.js +2 -52
  98. package/dist/components/Icon/data/woman.js +2 -80
  99. package/dist/components/Icon/icon.test.js +1 -57
  100. package/dist/components/Icon/index.js +1 -53
  101. package/dist/components/Icon/scripts/build.js +9 -104
  102. package/dist/components/Icon/scripts/extractor.js +2 -33
  103. package/dist/components/Icon/scripts/run-build.js +2 -7
  104. package/dist/components/Icon/scripts/writers.js +3 -34
  105. package/dist/components/Icon/styles.js +1 -22
  106. package/dist/components/Icon/utils/allIcons.js +1 -28
  107. package/dist/components/Icon/utils/iconExists.js +1 -13
  108. package/dist/components/IconItem/IconItem.test.js +1 -58
  109. package/dist/components/IconItem/index.js +1 -52
  110. package/dist/components/IconItem/styles.js +1 -43
  111. package/dist/components/Illustration/illustration.test.js +4 -50
  112. package/dist/components/Illustration/index.js +2 -65
  113. package/dist/components/Illustration/styles.js +1 -65
  114. package/dist/components/ImageItem/imageFake.js +1 -25
  115. package/dist/components/ImageItem/index.js +2 -66
  116. package/dist/components/ImageItem/input.test.js +1 -85
  117. package/dist/components/ImageItem/styles.js +1 -61
  118. package/dist/components/Input/index.js +1 -163
  119. package/dist/components/Input/input.test.js +1 -120
  120. package/dist/components/Input/styles.js +1 -177
  121. package/dist/components/Label/index.js +1 -45
  122. package/dist/components/Label/label.test.js +1 -83
  123. package/dist/components/Label/styles.js +1 -21
  124. package/dist/components/List/index.js +1 -39
  125. package/dist/components/List/list.test.js +1 -64
  126. package/dist/components/List/styles.js +1 -23
  127. package/dist/components/Modal/ModalExample.js +1 -70
  128. package/dist/components/Modal/index.js +1 -145
  129. package/dist/components/Modal/modal.test.js +1 -179
  130. package/dist/components/Modal/styles.js +1 -33
  131. package/dist/components/MultipleSelect/MultipleSelect.test.js +1 -334
  132. package/dist/components/MultipleSelect/animations.js +1 -25
  133. package/dist/components/MultipleSelect/components/InputWrapper/index.js +1 -26
  134. package/dist/components/MultipleSelect/components/OptionsArea/index.js +1 -244
  135. package/dist/components/MultipleSelect/components/OptionsArea/styles.js +1 -68
  136. package/dist/components/MultipleSelect/components/SelectArea/ButtonsArea.js +1 -27
  137. package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.js +1 -37
  138. package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.js +1 -49
  139. package/dist/components/MultipleSelect/components/SelectArea/index.js +1 -100
  140. package/dist/components/MultipleSelect/components/SelectArea/styles.js +1 -36
  141. package/dist/components/MultipleSelect/components/index.js +1 -38
  142. package/dist/components/MultipleSelect/index.js +1 -209
  143. package/dist/components/NewSelect/Examples/constants.js +1 -56
  144. package/dist/components/NewSelect/Examples/index.js +1 -161
  145. package/dist/components/NewSelect/components/Chip/index.js +1 -36
  146. package/dist/components/NewSelect/components/Chip/styles.js +1 -24
  147. package/dist/components/NewSelect/components/OptionsSelect/styles.js +1 -21
  148. package/dist/components/NewSelect/components/SelectInputSearch/index.js +1 -24
  149. package/dist/components/NewSelect/components/SelectItem/index.js +1 -22
  150. package/dist/components/NewSelect/components/SelectItem/styles.js +1 -24
  151. package/dist/components/NewSelect/index.js +1 -18
  152. package/dist/components/NewSelect/multiple/index.js +1 -246
  153. package/dist/components/NewSelect/newSelect.test.js +1 -108
  154. package/dist/components/NewSelect/single/index.js +1 -183
  155. package/dist/components/NewSelect/styles.js +1 -44
  156. package/dist/components/Observer/index.js +1 -59
  157. package/dist/components/Observer/observer.test.js +2 -43
  158. package/dist/components/Pagination/hooks/usePagination.js +1 -57
  159. package/dist/components/Pagination/index.js +1 -174
  160. package/dist/components/Pagination/pagination.test.js +1 -118
  161. package/dist/components/Pagination/styles.js +1 -78
  162. package/dist/components/Progress/Circle/index.js +1 -102
  163. package/dist/components/Progress/Circle/styles.js +1 -69
  164. package/dist/components/Progress/Linear/index.js +1 -62
  165. package/dist/components/Progress/Linear/styles.js +1 -66
  166. package/dist/components/Progress/getSteps.js +1 -17
  167. package/dist/components/Progress/index.js +1 -39
  168. package/dist/components/Progress/progress.test.js +1 -109
  169. package/dist/components/Radio/components/RadioGroup/index.d.ts +5 -0
  170. package/dist/components/Radio/components/RadioGroup/index.d.ts.map +1 -0
  171. package/dist/components/Radio/components/RadioGroup/index.js +1 -0
  172. package/dist/components/Radio/components/RadioGroup/styles.d.ts +19 -0
  173. package/dist/components/Radio/components/RadioGroup/styles.d.ts.map +1 -0
  174. package/dist/components/Radio/components/RadioGroup/styles.js +1 -0
  175. package/dist/components/Radio/components/RadioGroup/types.d.ts +17 -0
  176. package/dist/components/Radio/components/RadioGroup/types.d.ts.map +1 -0
  177. package/dist/components/Radio/components/RadioGroup/types.js +1 -0
  178. package/dist/components/Radio/index.d.ts +5 -0
  179. package/dist/components/Radio/index.d.ts.map +1 -0
  180. package/dist/components/Radio/index.js +1 -0
  181. package/dist/components/Radio/styles.d.ts +10 -0
  182. package/dist/components/Radio/styles.d.ts.map +1 -0
  183. package/dist/components/Radio/styles.js +1 -0
  184. package/dist/components/Radio/types.d.ts +6 -0
  185. package/dist/components/Radio/types.d.ts.map +1 -0
  186. package/dist/components/Radio/types.js +1 -0
  187. package/dist/components/Rating/index.js +1 -133
  188. package/dist/components/Rating/rating.test.js +1 -63
  189. package/dist/components/Rating/styles.js +1 -27
  190. package/dist/components/ReactPortal/index.js +1 -43
  191. package/dist/components/ReactPortal/reactPortal.test.js +1 -21
  192. package/dist/components/ReactPortal/utils/createWrapperAndApprendToBody.js +1 -12
  193. package/dist/components/Select/components/OptionsSelect/index.js +1 -73
  194. package/dist/components/Select/components/OptionsSelect/styles.js +1 -21
  195. package/dist/components/Select/index.js +4 -247
  196. package/dist/components/Select/select.test.js +1 -58
  197. package/dist/components/Select/styles.js +1 -46
  198. package/dist/components/Skeleton/index.js +1 -28
  199. package/dist/components/Skeleton/skeleton.test.js +1 -90
  200. package/dist/components/Skeleton/styles.js +1 -27
  201. package/dist/components/Slider/SliderExample.js +1 -52
  202. package/dist/components/Slider/components/SliderPointer.js +1 -39
  203. package/dist/components/Slider/components/SliderRail.js +1 -116
  204. package/dist/components/Slider/components/SliderSelector.js +1 -173
  205. package/dist/components/Slider/hooks/useEventCallback.js +1 -16
  206. package/dist/components/Slider/index.js +1 -137
  207. package/dist/components/Slider/slider.test.js +1 -121
  208. package/dist/components/Slider/styles.js +1 -69
  209. package/dist/components/Spinner/index.js +1 -26
  210. package/dist/components/Spinner/spinner.test.js +1 -45
  211. package/dist/components/Spinner/styles.js +1 -23
  212. package/dist/components/Steps/components/StepIcon/index.js +1 -50
  213. package/dist/components/Steps/components/StepIcon/styles.js +1 -42
  214. package/dist/components/Steps/components/StepIcon/utils.js +1 -22
  215. package/dist/components/Steps/index.js +1 -116
  216. package/dist/components/Steps/steps.test.js +1 -53
  217. package/dist/components/Steps/styles.js +1 -96
  218. package/dist/components/Steps/utils.js +1 -15
  219. package/dist/components/Switch/index.js +1 -73
  220. package/dist/components/Switch/styles.js +1 -58
  221. package/dist/components/Switch/switch.test.js +2 -115
  222. package/dist/components/Table/components/MenuItem.js +1 -59
  223. package/dist/components/Table/components/TableSkeleton.js +1 -39
  224. package/dist/components/Table/components/animations.js +1 -24
  225. package/dist/components/Table/index.js +2 -253
  226. package/dist/components/Table/styles.js +1 -49
  227. package/dist/components/Table/table.test.js +1 -114
  228. package/dist/components/Tabs/TabsExample.js +1 -64
  229. package/dist/components/Tabs/components/Tab.js +1 -49
  230. package/dist/components/Tabs/components/TabPanel.js +1 -25
  231. package/dist/components/Tabs/components/Tabs.js +1 -107
  232. package/dist/components/Tabs/index.js +1 -26
  233. package/dist/components/Tabs/styles.js +1 -61
  234. package/dist/components/Tabs/tabs.test.js +1 -146
  235. package/dist/components/Tag/index.js +1 -53
  236. package/dist/components/Tag/styles.js +1 -34
  237. package/dist/components/Tag/tag.test.js +1 -64
  238. package/dist/components/TextAreaInput/index.js +1 -74
  239. package/dist/components/TextAreaInput/styles.js +1 -53
  240. package/dist/components/TextAreaInput/text-area-input.test.js +1 -81
  241. package/dist/components/Thumbnail/index.js +1 -125
  242. package/dist/components/Thumbnail/styles.js +1 -47
  243. package/dist/components/Thumbnail/thumbnail.test.js +1 -66
  244. package/dist/components/Thumbnail/utils/index.js +1 -27
  245. package/dist/components/Thumbnail/utils/validate-file-size.js +1 -10
  246. package/dist/components/Thumbnail/utils/validate-file-type.js +1 -9
  247. package/dist/components/TimeInput/constants.js +1 -29
  248. package/dist/components/TimeInput/index.js +1 -288
  249. package/dist/components/TimeInput/styles.js +1 -34
  250. package/dist/components/TimeInput/utils.js +1 -94
  251. package/dist/components/Timeline/components/Timeline.js +1 -17
  252. package/dist/components/Timeline/components/TimelineContent.js +1 -61
  253. package/dist/components/Timeline/components/TimelineItem.js +1 -25
  254. package/dist/components/Timeline/components/TimelineSeparator.js +1 -20
  255. package/dist/components/Timeline/index.js +1 -33
  256. package/dist/components/Timeline/styles.js +1 -37
  257. package/dist/components/Timeline/timeline.test.js +1 -138
  258. package/dist/components/Toast/button-example.js +1 -31
  259. package/dist/components/Toast/components/Toast.js +1 -79
  260. package/dist/components/Toast/contexts/ToastProvider.js +1 -72
  261. package/dist/components/Toast/hooks/useToast.js +1 -18
  262. package/dist/components/Toast/index.js +1 -111
  263. package/dist/components/Toast/styles.js +1 -36
  264. package/dist/components/Toast/toast.test.js +1 -129
  265. package/dist/components/Tooltip/components/TooltipLabel.js +1 -71
  266. package/dist/components/Tooltip/example.js +1 -27
  267. package/dist/components/Tooltip/index.js +1 -187
  268. package/dist/components/Tooltip/styles.js +1 -20
  269. package/dist/components/Typography/index.js +1 -37
  270. package/dist/components/Typography/styles.js +1 -15
  271. package/dist/components/Typography/typography.test.js +1 -288
  272. package/dist/index.d.ts +5 -2
  273. package/dist/index.d.ts.map +1 -1
  274. package/dist/index.js +1 -548
  275. package/dist/shared/animations/opacityAnimation.js +1 -21
  276. package/dist/shared/assets/emotes.js +1 -1
  277. package/dist/shared/components/FocusLock/index.js +5 -86
  278. package/dist/shared/formatters/format-number.js +5 -41
  279. package/dist/shared/global.js +1 -8
  280. package/dist/shared/hooks/devices.js +1 -14
  281. package/dist/shared/hooks/useBreakpoints.js +2 -95
  282. package/dist/shared/hooks/useDebounce.js +1 -35
  283. package/dist/shared/hooks/useDevices.js +2 -42
  284. package/dist/shared/hooks/useDisableBodyScroll.js +5 -52
  285. package/dist/shared/hooks/useDraggableScroll/index.js +5 -65
  286. package/dist/shared/hooks/useKeyPress.js +1 -18
  287. package/dist/shared/hooks/useObserver.js +2 -29
  288. package/dist/shared/hooks/useOnClickOutside.js +1 -30
  289. package/dist/shared/hooks/useReposition/index.js +2 -53
  290. package/dist/shared/hooks/useSystemTheme.js +1 -38
  291. package/dist/shared/hooks/useWindowSize.js +1 -36
  292. package/dist/shared/tests/test-utils.js +1 -31
  293. package/dist/shared/theme/button-example.js +1 -31
  294. package/dist/shared/theme/contexts/ThemeContext.js +1 -90
  295. package/dist/shared/theme/hooks/useColorMode.js +1 -18
  296. package/dist/shared/theme/hooks/useColorModeValue.js +1 -13
  297. package/dist/shared/theme/hooks/useTheme.js +1 -17
  298. package/dist/shared/theme/index.js +1 -67
  299. package/dist/shared/theme/objects/breakpoints.js +1 -15
  300. package/dist/shared/theme/objects/colors.js +1 -177
  301. package/dist/shared/theme/objects/shadows.js +1 -19
  302. package/dist/shared/theme/objects/sizes.js +6 -33
  303. package/dist/shared/theme/objects/spaces.js +1 -75
  304. package/dist/shared/theme/objects/transitions.js +1 -10
  305. package/dist/shared/theme/objects/typography.js +1 -20
  306. package/dist/shared/theme/objects/z-indexes.js +1 -20
  307. package/dist/shared/theme/theme.js +1 -36
  308. package/dist/shared/theme/theme.test.js +1 -94
  309. package/dist/shared/theme/utils/extendTheme.js +1 -25
  310. package/dist/shared/theme/utils/localStorageController.js +1 -21
  311. package/dist/styled.d.js +1 -3
  312. package/dist/utils/GenerateKey.js +3 -18
  313. package/dist/utils/brightnessColorChange.js +2 -17
  314. package/dist/utils/colorCheck.js +6 -64
  315. package/dist/utils/colorFunctions.js +1 -39
  316. package/dist/utils/colorToGray.js +2 -64
  317. package/dist/utils/customColorMode.js +1 -11
  318. package/dist/utils/file.js +5 -124
  319. package/dist/utils/formatters/bytes.js +2 -17
  320. package/dist/utils/formatters/capitalize.js +2 -11
  321. package/dist/utils/formatters/cep.js +3 -18
  322. package/dist/utils/formatters/cnpj.js +4 -38
  323. package/dist/utils/formatters/color.js +12 -101
  324. package/dist/utils/formatters/cpf.js +16 -85
  325. package/dist/utils/formatters/credit-card.js +5 -54
  326. package/dist/utils/formatters/email.js +1 -8
  327. package/dist/utils/formatters/index.js +1 -170
  328. package/dist/utils/formatters/name.js +4 -31
  329. package/dist/utils/formatters/number.js +5 -14
  330. package/dist/utils/formatters/passport.js +5 -33
  331. package/dist/utils/formatters/phone.js +17 -214
  332. package/dist/utils/formatters/price.js +3 -21
  333. package/dist/utils/formatters/rg.js +3 -18
  334. package/dist/utils/formatters/strings.js +4 -27
  335. package/dist/utils/fuctionsColors.js +1 -39
  336. package/dist/utils/generateUUID.js +1 -13
  337. package/dist/utils/getColorValue.js +2 -23
  338. package/dist/utils/getSvg.js +1 -17
  339. package/dist/utils/getValuesBySize.js +1 -9
  340. package/dist/utils/invertColor.js +4 -40
  341. package/package.json +2 -1
@@ -1,20 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ViewMoreButton = exports.TooltipWrapper = exports.StyledTooltipLabel = void 0;
7
- var _styled = _interopRequireDefault(require("@emotion/styled"));
8
- var _Button = _interopRequireDefault(require("../Button"));
9
- var _customColorMode = require("../../utils/customColorMode");
10
- var _templateObject, _templateObject2;
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
13
- var StyledTooltipLabel = _styled.default.div(function (props) {
14
- return "\n font-family: inherit;\n font-size: ".concat(props.theme.fontSizes.xxs, ";\n font-weight: 400;\n max-width: ").concat(props.maxWidth ? typeof props.maxWidth === 'string' ? props.maxWidth : "".concat(props.maxWidth, "px") : '', ";\n min-width: ").concat(props.minWidth ? typeof props.minWidth === 'string' ? props.minWidth : "".concat(props.minWidth, "px") : '', ";\n width: fit-content;\n border-radius: 8px;\n padding: 12px;\n color: ").concat((0, _customColorMode.customColorMode)(props.theme.colors.neutral.white, props.theme.lightColors.neutral.white), ";\n\n background-color: ").concat((0, _customColorMode.customColorMode)(props.theme.colors.neutral.black, '#222c29'), ";\n position: fixed;\n z-index: ").concat(props.theme.zIndex.level48, ";\n box-shadow: ").concat(props.theme.shadow.level1, "\n ");
15
- });
16
- exports.StyledTooltipLabel = StyledTooltipLabel;
17
- var TooltipWrapper = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral([""])));
18
- exports.TooltipWrapper = TooltipWrapper;
19
- var ViewMoreButton = (0, _styled.default)(_Button.default)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n height: fit-content;\n margin-right: auto;\n text-decoration: underline;\n"])));
20
- exports.ViewMoreButton = ViewMoreButton;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ViewMoreButton=exports.TooltipWrapper=exports.StyledTooltipLabel=void 0;var _templateObject,_templateObject2,_styled=_interopRequireDefault(require("@emotion/styled")),_Button=_interopRequireDefault(require("../Button")),_customColorMode=require("../../utils/customColorMode");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var StyledTooltipLabel=_styled.default.div(function(props){return"\n font-family: inherit;\n font-size: ".concat(props.theme.fontSizes.xxs,";\n font-weight: 400;\n max-width: ").concat(props.maxWidth?"string"==typeof props.maxWidth?props.maxWidth:"".concat(props.maxWidth,"px"):"",";\n min-width: ").concat(props.minWidth?"string"==typeof props.minWidth?props.minWidth:"".concat(props.minWidth,"px"):"",";\n width: fit-content;\n border-radius: 8px;\n padding: 12px;\n color: ").concat((0,_customColorMode.customColorMode)(props.theme.colors.neutral.white,props.theme.lightColors.neutral.white),";\n\n background-color: ").concat((0,_customColorMode.customColorMode)(props.theme.colors.neutral.black,"#222c29"),";\n position: fixed;\n z-index: ").concat(props.theme.zIndex.level48,";\n box-shadow: ").concat(props.theme.shadow.level1,"\n ")});exports.StyledTooltipLabel=StyledTooltipLabel;var TooltipWrapper=_styled.default.div(_templateObject||(_templateObject=_taggedTemplateLiteral([""])));exports.TooltipWrapper=TooltipWrapper;var ViewMoreButton=(0,_styled.default)(_Button.default)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n height: fit-content;\n margin-right: auto;\n text-decoration: underline;\n"])));exports.ViewMoreButton=ViewMoreButton;
@@ -1,37 +1 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _theme = require("../../shared/theme");
9
- var _getColorValue = require("../../utils/getColorValue");
10
- var _styles = require("./styles");
11
- var _jsxRuntime = require("react/jsx-runtime");
12
- var _excluded = ["variant", "color", "children"];
13
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
14
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20
- var Typography = function Typography(_ref) {
21
- var variant = _ref.variant,
22
- _ref$color = _ref.color,
23
- color = _ref$color === void 0 ? 'neutral.neutral6' : _ref$color,
24
- children = _ref.children,
25
- rest = _objectWithoutProperties(_ref, _excluded);
26
- var _useTheme = (0, _theme.useTheme)(),
27
- theme = _useTheme.theme;
28
- var textColor = (0, _getColorValue.getColorValue)(color, theme);
29
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledText, _objectSpread(_objectSpread({
30
- as: variant,
31
- textColor: textColor
32
- }, rest), {}, {
33
- children: children
34
- }));
35
- };
36
- var _default = Typography;
37
- exports.default = _default;
1
+ "use strict";function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _theme=require("../../shared/theme"),_getColorValue=require("../../utils/getColorValue"),_styles=require("./styles"),_jsxRuntime=require("react/jsx-runtime"),_excluded=["variant","color","children"];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;i<arguments.length;i++)source=null==arguments[i]?{}:arguments[i],i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))});return target}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return"symbol"===_typeof(key)?key:key+""}function _toPrimitive(input,hint){if("object"!==_typeof(input)||null===input)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if("object"!==_typeof(res))return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=_objectWithoutPropertiesLoose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],0<=excluded.indexOf(key)||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],0<=excluded.indexOf(key)||(target[key]=source[key]);return target}var Typography=function(_ref){var variant=_ref.variant,_ref$color=_ref.color,color=void 0===_ref$color?"neutral.neutral6":_ref$color,children=_ref.children,rest=_objectWithoutProperties(_ref,_excluded),_useTheme=(0,_theme.useTheme)(),theme=_useTheme.theme,textColor=(0,_getColorValue.getColorValue)(color,theme);return/*#__PURE__*/(0,_jsxRuntime.jsx)(_styles.StyledText,_objectSpread(_objectSpread({as:variant,textColor:textColor},rest),{},{children:children}))},_default=Typography;exports.default=_default;
@@ -1,15 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StyledText = void 0;
7
- var _react = require("@emotion/react");
8
- var _styled = _interopRequireDefault(require("@emotion/styled"));
9
- var _templateObject;
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
- var StyledText = _styled.default.p(function (props) {
13
- return (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-align: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n\n letter-spacing: ", ";\n "])), props.textColor, props.fontSize && (typeof props.fontSize === 'string' ? props.theme.fontSizes[props.fontSize] ? props.theme.fontSizes[props.fontSize] : props.fontSize : props.fontSize + 'px'), props.fontStyle, props.fontWeight, props.lineHeight && (typeof props.lineHeight === 'string' ? props.lineHeight : props.lineHeight + 'px'), props.textAlign, props.textTransform, props.textDecoration, props.letterSpacing && (typeof props.letterSpacing === 'string' ? props.letterSpacing : props.letterSpacing + 'px'));
14
- });
15
- exports.StyledText = StyledText;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StyledText=void 0;var _templateObject,_react=require("@emotion/react"),_styled=_interopRequireDefault(require("@emotion/styled"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var StyledText=_styled.default.p(function(props){return(0,_react.css)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n color: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n text-align: ",";\n text-transform: ",";\n text-decoration: ",";\n\n letter-spacing: ",";\n "])),props.textColor,props.fontSize&&("string"==typeof props.fontSize?props.theme.fontSizes[props.fontSize]?props.theme.fontSizes[props.fontSize]:props.fontSize:props.fontSize+"px"),props.fontStyle,props.fontWeight,props.lineHeight&&("string"==typeof props.lineHeight?props.lineHeight:props.lineHeight+"px"),props.textAlign,props.textTransform,props.textDecoration,props.letterSpacing&&("string"==typeof props.letterSpacing?props.letterSpacing:props.letterSpacing+"px"))});exports.StyledText=StyledText;
@@ -1,288 +1 @@
1
- "use strict";
2
-
3
- var _testUtils = require("../../shared/tests/test-utils");
4
- require("@testing-library/jest-dom");
5
- var _ = _interopRequireDefault(require("."));
6
- var _jsxRuntime = require("react/jsx-runtime");
7
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
9
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
- var setup = function setup(props) {
15
- var utils = (0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, _objectSpread({}, props)));
16
- return _objectSpread({}, utils);
17
- };
18
- describe('Typography', function () {
19
- var sentence = 'Pedido Pago';
20
- it('should render the default text', function () {
21
- var _setup = setup({
22
- children: sentence
23
- }),
24
- getByText = _setup.getByText;
25
- expect(getByText(sentence)).toHaveTextContent(sentence);
26
- });
27
- it('should render the default text with a custom className', function () {
28
- var _setup2 = setup({
29
- children: sentence,
30
- className: 'custom-class'
31
- }),
32
- getByText = _setup2.getByText;
33
- expect(getByText(sentence)).toHaveClass('custom-class');
34
- });
35
- it('should render the default text with a custom className and custom styles', function () {
36
- var _setup3 = setup({
37
- children: sentence,
38
- className: 'custom-class',
39
- style: {
40
- color: 'red'
41
- }
42
- }),
43
- getByText = _setup3.getByText;
44
- expect(getByText(sentence)).toHaveClass('custom-class');
45
- expect(getByText(sentence)).toHaveStyle('color: red');
46
- });
47
- it('should render the default text with a custom className, custom styles and custom props', function () {
48
- var _setup4 = setup({
49
- children: sentence,
50
- className: 'custom-class',
51
- style: {
52
- color: 'red'
53
- },
54
- id: 'custom-id'
55
- }),
56
- getByText = _setup4.getByText;
57
- expect(getByText(sentence)).toHaveClass('custom-class');
58
- expect(getByText(sentence)).toHaveStyle('color: red');
59
- expect(getByText(sentence)).toHaveAttribute('id', 'custom-id');
60
- });
61
- it('should render xxxs text', function () {
62
- var _setup5 = setup({
63
- children: sentence,
64
- fontSize: 'xxxs'
65
- }),
66
- container = _setup5.container;
67
- expect(container).toHaveTextContent(sentence);
68
- expect(container).toBeInTheDocument();
69
- });
70
- it('should render xxs text', function () {
71
- var _setup6 = setup({
72
- children: sentence,
73
- fontSize: 'xxs'
74
- }),
75
- container = _setup6.container;
76
- expect(container).toHaveTextContent(sentence);
77
- expect(container).toBeInTheDocument();
78
- });
79
- it('should render xs text', function () {
80
- var _setup7 = setup({
81
- children: sentence,
82
- fontSize: 'xs'
83
- }),
84
- container = _setup7.container;
85
- expect(container).toHaveTextContent(sentence);
86
- expect(container).toBeInTheDocument();
87
- });
88
- it('should render sm text', function () {
89
- var _setup8 = setup({
90
- children: sentence,
91
- fontSize: 'sm'
92
- }),
93
- container = _setup8.container;
94
- expect(container).toHaveTextContent(sentence);
95
- expect(container).toBeInTheDocument();
96
- });
97
- it('should render md text', function () {
98
- var _setup9 = setup({
99
- children: sentence,
100
- fontSize: 'md'
101
- }),
102
- container = _setup9.container;
103
- expect(container).toHaveTextContent(sentence);
104
- expect(container).toBeInTheDocument();
105
- });
106
- it('should render lg text', function () {
107
- var _setup10 = setup({
108
- children: sentence,
109
- fontSize: 'lg'
110
- }),
111
- container = _setup10.container;
112
- expect(container).toHaveTextContent(sentence);
113
- expect(container).toBeInTheDocument();
114
- });
115
- it('should render xl text', function () {
116
- var _setup11 = setup({
117
- children: sentence,
118
- fontSize: 'xl'
119
- }),
120
- container = _setup11.container;
121
- expect(container).toHaveTextContent(sentence);
122
- expect(container).toBeInTheDocument();
123
- });
124
- it('should render xxl text', function () {
125
- var _setup12 = setup({
126
- children: sentence,
127
- fontSize: 'xxl'
128
- }),
129
- container = _setup12.container;
130
- expect(container).toHaveTextContent(sentence);
131
- expect(container).toBeInTheDocument();
132
- });
133
- it('should render xxxl text', function () {
134
- var _setup13 = setup({
135
- children: sentence,
136
- fontSize: 'xxxl'
137
- }),
138
- container = _setup13.container;
139
- expect(container).toHaveTextContent(sentence);
140
- expect(container).toBeInTheDocument();
141
- });
142
- it('should render display text', function () {
143
- var _setup14 = setup({
144
- children: sentence,
145
- fontSize: 'display'
146
- }),
147
- container = _setup14.container;
148
- expect(container).toHaveTextContent(sentence);
149
- expect(container).toBeInTheDocument();
150
- });
151
- it('should render giant text', function () {
152
- var _setup15 = setup({
153
- children: sentence,
154
- fontSize: 'giant'
155
- }),
156
- container = _setup15.container;
157
- expect(container).toHaveTextContent(sentence);
158
- expect(container).toBeInTheDocument();
159
- });
160
- it('should render the default text with normal weight', function () {
161
- var _setup16 = setup({
162
- children: sentence,
163
- fontWeight: 'normal'
164
- }),
165
- getByText = _setup16.getByText;
166
- expect(getByText(sentence)).toHaveStyle('font-weight: normal');
167
- });
168
- it('should render the default text with bold weight', function () {
169
- var _setup17 = setup({
170
- children: sentence,
171
- fontWeight: 'bold'
172
- }),
173
- getByText = _setup17.getByText;
174
- expect(getByText(sentence)).toHaveStyle('font-weight: bold');
175
- });
176
- it('should render the default text with light weight', function () {
177
- var _setup18 = setup({
178
- children: sentence,
179
- fontWeight: '100'
180
- }),
181
- getByText = _setup18.getByText;
182
- expect(getByText(sentence)).toHaveStyle('font-weight: 100');
183
- });
184
- it('should render the default text with 200 weight', function () {
185
- var _setup19 = setup({
186
- children: sentence,
187
- fontWeight: '200'
188
- }),
189
- getByText = _setup19.getByText;
190
- expect(getByText(sentence)).toHaveStyle('font-weight: 200');
191
- });
192
- it('should render the default text with 300 weight', function () {
193
- var _setup20 = setup({
194
- children: sentence,
195
- fontWeight: '300'
196
- }),
197
- getByText = _setup20.getByText;
198
- expect(getByText(sentence)).toHaveStyle('font-weight: 300');
199
- });
200
- it('should render the default text with 400 weight', function () {
201
- var _setup21 = setup({
202
- children: sentence,
203
- fontWeight: '400'
204
- }),
205
- getByText = _setup21.getByText;
206
- expect(getByText(sentence)).toHaveStyle('font-weight: 400');
207
- });
208
- it('should render the default text with 500 weight', function () {
209
- var _setup22 = setup({
210
- children: sentence,
211
- fontWeight: '500'
212
- }),
213
- getByText = _setup22.getByText;
214
- expect(getByText(sentence)).toHaveStyle('font-weight: 500');
215
- });
216
- it('should render the default text with 600 weight', function () {
217
- var _setup23 = setup({
218
- children: sentence,
219
- fontWeight: '600'
220
- }),
221
- getByText = _setup23.getByText;
222
- expect(getByText(sentence)).toHaveStyle('font-weight: 600');
223
- });
224
- it('should render the default text with 700 weight', function () {
225
- var _setup24 = setup({
226
- children: sentence,
227
- fontWeight: '700'
228
- }),
229
- getByText = _setup24.getByText;
230
- expect(getByText(sentence)).toHaveStyle('font-weight: 700');
231
- });
232
- it('should render the default text with 800 weight', function () {
233
- var _setup25 = setup({
234
- children: sentence,
235
- fontWeight: '800'
236
- }),
237
- getByText = _setup25.getByText;
238
- expect(getByText(sentence)).toHaveStyle('font-weight: 800');
239
- });
240
- it('should render the default text with 900 weight', function () {
241
- var _setup26 = setup({
242
- children: sentence,
243
- fontWeight: '900'
244
- }),
245
- getByText = _setup26.getByText;
246
- expect(getByText(sentence)).toHaveStyle('font-weight: 900');
247
- });
248
- it('should render the default text with italic style', function () {
249
- var _setup27 = setup({
250
- children: sentence,
251
- fontStyle: 'italic'
252
- }),
253
- getByText = _setup27.getByText;
254
- expect(getByText(sentence)).toHaveStyle('font-style: italic');
255
- });
256
- it('should render the default text with normal style', function () {
257
- var _setup28 = setup({
258
- children: sentence,
259
- fontStyle: 'normal'
260
- }),
261
- getByText = _setup28.getByText;
262
- expect(getByText(sentence)).toHaveStyle('font-style: normal');
263
- });
264
- it('should render the default text with oblique style', function () {
265
- var _setup29 = setup({
266
- children: sentence,
267
- fontStyle: 'oblique'
268
- }),
269
- getByText = _setup29.getByText;
270
- expect(getByText(sentence)).toHaveStyle('font-style: oblique');
271
- });
272
- it('should render the default text with underline style', function () {
273
- var _setup30 = setup({
274
- children: sentence,
275
- textDecoration: 'underline'
276
- }),
277
- getByText = _setup30.getByText;
278
- expect(getByText(sentence)).toHaveStyle('text-decoration: underline');
279
- });
280
- it('should render the default text with line-through style', function () {
281
- var _setup31 = setup({
282
- children: sentence,
283
- textDecoration: 'line-through'
284
- }),
285
- getByText = _setup31.getByText;
286
- expect(getByText(sentence)).toHaveStyle('text-decoration: line-through');
287
- });
288
- });
1
+ "use strict";var _testUtils=require("../../shared/tests/test-utils");require("@testing-library/jest-dom");var _=_interopRequireDefault(require(".")),_jsxRuntime=require("react/jsx-runtime");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;i<arguments.length;i++)source=null==arguments[i]?{}:arguments[i],i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))});return target}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return"symbol"===_typeof(key)?key:key+""}function _toPrimitive(input,hint){if("object"!==_typeof(input)||null===input)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if("object"!==_typeof(res))return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}var setup=function(props){var utils=(0,_testUtils.render)(/*#__PURE__*/(0,_jsxRuntime.jsx)(_.default,_objectSpread({},props)));return _objectSpread({},utils)};describe("Typography",function(){var sentence="Pedido Pago";it("should render the default text",function(){var _setup=setup({children:sentence}),getByText=_setup.getByText;expect(getByText(sentence)).toHaveTextContent(sentence)}),it("should render the default text with a custom className",function(){var _setup2=setup({children:sentence,className:"custom-class"}),getByText=_setup2.getByText;expect(getByText(sentence)).toHaveClass("custom-class")}),it("should render the default text with a custom className and custom styles",function(){var _setup3=setup({children:sentence,className:"custom-class",style:{color:"red"}}),getByText=_setup3.getByText;expect(getByText(sentence)).toHaveClass("custom-class"),expect(getByText(sentence)).toHaveStyle("color: red")}),it("should render the default text with a custom className, custom styles and custom props",function(){var _setup4=setup({children:sentence,className:"custom-class",style:{color:"red"},id:"custom-id"}),getByText=_setup4.getByText;expect(getByText(sentence)).toHaveClass("custom-class"),expect(getByText(sentence)).toHaveStyle("color: red"),expect(getByText(sentence)).toHaveAttribute("id","custom-id")}),it("should render xxxs text",function(){var _setup5=setup({children:sentence,fontSize:"xxxs"}),container=_setup5.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render xxs text",function(){var _setup6=setup({children:sentence,fontSize:"xxs"}),container=_setup6.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render xs text",function(){var _setup7=setup({children:sentence,fontSize:"xs"}),container=_setup7.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render sm text",function(){var _setup8=setup({children:sentence,fontSize:"sm"}),container=_setup8.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render md text",function(){var _setup9=setup({children:sentence,fontSize:"md"}),container=_setup9.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render lg text",function(){var _setup10=setup({children:sentence,fontSize:"lg"}),container=_setup10.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render xl text",function(){var _setup11=setup({children:sentence,fontSize:"xl"}),container=_setup11.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render xxl text",function(){var _setup12=setup({children:sentence,fontSize:"xxl"}),container=_setup12.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render xxxl text",function(){var _setup13=setup({children:sentence,fontSize:"xxxl"}),container=_setup13.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render display text",function(){var _setup14=setup({children:sentence,fontSize:"display"}),container=_setup14.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render giant text",function(){var _setup15=setup({children:sentence,fontSize:"giant"}),container=_setup15.container;expect(container).toHaveTextContent(sentence),expect(container).toBeInTheDocument()}),it("should render the default text with normal weight",function(){var _setup16=setup({children:sentence,fontWeight:"normal"}),getByText=_setup16.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: normal")}),it("should render the default text with bold weight",function(){var _setup17=setup({children:sentence,fontWeight:"bold"}),getByText=_setup17.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: bold")}),it("should render the default text with light weight",function(){var _setup18=setup({children:sentence,fontWeight:"100"}),getByText=_setup18.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 100")}),it("should render the default text with 200 weight",function(){var _setup19=setup({children:sentence,fontWeight:"200"}),getByText=_setup19.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 200")}),it("should render the default text with 300 weight",function(){var _setup20=setup({children:sentence,fontWeight:"300"}),getByText=_setup20.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 300")}),it("should render the default text with 400 weight",function(){var _setup21=setup({children:sentence,fontWeight:"400"}),getByText=_setup21.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 400")}),it("should render the default text with 500 weight",function(){var _setup22=setup({children:sentence,fontWeight:"500"}),getByText=_setup22.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 500")}),it("should render the default text with 600 weight",function(){var _setup23=setup({children:sentence,fontWeight:"600"}),getByText=_setup23.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 600")}),it("should render the default text with 700 weight",function(){var _setup24=setup({children:sentence,fontWeight:"700"}),getByText=_setup24.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 700")}),it("should render the default text with 800 weight",function(){var _setup25=setup({children:sentence,fontWeight:"800"}),getByText=_setup25.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 800")}),it("should render the default text with 900 weight",function(){var _setup26=setup({children:sentence,fontWeight:"900"}),getByText=_setup26.getByText;expect(getByText(sentence)).toHaveStyle("font-weight: 900")}),it("should render the default text with italic style",function(){var _setup27=setup({children:sentence,fontStyle:"italic"}),getByText=_setup27.getByText;expect(getByText(sentence)).toHaveStyle("font-style: italic")}),it("should render the default text with normal style",function(){var _setup28=setup({children:sentence,fontStyle:"normal"}),getByText=_setup28.getByText;expect(getByText(sentence)).toHaveStyle("font-style: normal")}),it("should render the default text with oblique style",function(){var _setup29=setup({children:sentence,fontStyle:"oblique"}),getByText=_setup29.getByText;expect(getByText(sentence)).toHaveStyle("font-style: oblique")}),it("should render the default text with underline style",function(){var _setup30=setup({children:sentence,textDecoration:"underline"}),getByText=_setup30.getByText;expect(getByText(sentence)).toHaveStyle("text-decoration: underline")}),it("should render the default text with line-through style",function(){var _setup31=setup({children:sentence,textDecoration:"line-through"}),getByText=_setup31.getByText;expect(getByText(sentence)).toHaveStyle("text-decoration: line-through")})});
package/dist/index.d.ts CHANGED
@@ -47,8 +47,9 @@ export { SelectInputSearch } from './components/NewSelect/components/SelectInput
47
47
  export { SelectItem } from './components/NewSelect/components/SelectItem';
48
48
  export { default as MultipleSelect } from './components/MultipleSelect';
49
49
  export { default as Checkbox } from './components/CheckboxInput';
50
- export { default as ChoiceList } from './components/RadioInput/components/ChoiceList';
51
- export { default as Radio } from './components/RadioInput';
50
+ export { default as ChoiceList } from './components/ChoiceList';
51
+ export { default as Radio } from './components/Radio';
52
+ export { default as RadioGroup } from './components/Radio/components/RadioGroup';
52
53
  export { default as Switch } from './components/Switch';
53
54
  export { default as useToast } from './components/Toast/hooks/useToast';
54
55
  export { default as ToastProvider } from './components/Toast/contexts/ToastProvider';
@@ -62,6 +63,8 @@ export { useWindowSize } from './shared/hooks/useWindowSize';
62
63
  export { useDraggableScroll } from './shared/hooks/useDraggableScroll';
63
64
  export * from './shared/theme';
64
65
  export { iconExists } from './components/Icon/utils/iconExists';
66
+ export * from './utils/getColorValue';
67
+ export * from './utils/colorCheck';
65
68
  export { customColorMode } from './utils/customColorMode';
66
69
  export * from './utils/formatters';
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CA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