@pedidopago/ui 1.7.0-0 → 1.7.2
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.
- package/dist/@types/index.d.ts +6 -6
- package/dist/components/Alert/alert.test.d.ts +1 -1
- package/dist/components/Alert/index.d.ts +4 -4
- package/dist/components/Alert/styles.d.ts +24 -24
- package/dist/components/Alert/types.d.ts +44 -44
- package/dist/components/Avatar/avatar.test.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts +4 -4
- package/dist/components/Avatar/index.js +3 -3
- package/dist/components/Avatar/styles.d.ts +25 -25
- package/dist/components/Avatar/types.d.ts +15 -15
- package/dist/components/Avatar/types.d.ts.map +1 -1
- package/dist/components/Badge/badge.test.d.ts +1 -1
- package/dist/components/Badge/index.d.ts +4 -4
- package/dist/components/Badge/styles.d.ts +16 -16
- package/dist/components/Badge/types.d.ts +11 -11
- package/dist/components/Button/Button.test.d.ts +1 -1
- package/dist/components/Button/index.d.ts +3 -3
- package/dist/components/Button/styles.d.ts +14 -14
- package/dist/components/Button/types.d.ts +92 -92
- package/dist/components/Card/card.test.d.ts +1 -1
- package/dist/components/Card/index.d.ts +3 -3
- package/dist/components/Card/styles.d.ts +6 -6
- package/dist/components/Card/types.d.ts +17 -17
- package/dist/components/CheckboxInput/checkbox-input.test.d.ts +1 -1
- package/dist/components/CheckboxInput/components/MultipleCheckbox.d.ts +4 -4
- package/dist/components/CheckboxInput/index.d.ts +4 -4
- package/dist/components/CheckboxInput/styles.d.ts +31 -31
- package/dist/components/CheckboxInput/types.d.ts +27 -27
- package/dist/components/CollapseCard/ExpandButton/index.d.ts +3 -3
- package/dist/components/CollapseCard/ExpandButton/styles.d.ts +269 -269
- package/dist/components/CollapseCard/ExpandButton/types.d.ts +5 -5
- package/dist/components/CollapseCard/expand-button.test.d.ts +1 -1
- package/dist/components/CollapseCard/index.d.ts +3 -3
- package/dist/components/CollapseCard/styles.d.ts +268 -268
- package/dist/components/CollapseCard/types.d.ts +12 -12
- package/dist/components/ColorPicker/colorpicker.test.d.ts +1 -1
- package/dist/components/ColorPicker/components/ColorHue.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorInput.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorPickerBox.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorPointer.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorSelector.d.ts +4 -4
- package/dist/components/ColorPicker/hooks/useCachedCallback.d.ts +1 -1
- package/dist/components/ColorPicker/hooks/useHsva.d.ts +2 -2
- package/dist/components/ColorPicker/index.d.ts +4 -4
- package/dist/components/ColorPicker/styles.d.ts +44 -44
- package/dist/components/ColorPicker/types.d.ts +73 -73
- package/dist/components/ColorPicker/utils/checkers.d.ts +7 -7
- package/dist/components/ColorPicker/utils/conversors.d.ts +60 -60
- package/dist/components/ColorPicker/utils/parsers.d.ts +27 -27
- package/dist/components/ComposeIcon/index.d.ts +4 -4
- package/dist/components/ComposeIcon/styles.d.ts +10 -10
- package/dist/components/ComposeIcon/types.d.ts +9 -9
- package/dist/components/DateInput/DateInput-example.d.ts +5 -5
- package/dist/components/DateInput/components/ModalWrapper/index.d.ts +3 -3
- package/dist/components/DateInput/components/ModalWrapper/styles.d.ts +268 -268
- package/dist/components/DateInput/components/ModalWrapper/types.d.ts +15 -15
- package/dist/components/DateInput/dateInput.test.d.ts +1 -1
- package/dist/components/DateInput/index.d.ts +3 -3
- package/dist/components/DateInput/styles.d.ts +10 -10
- package/dist/components/DateInput/types.d.ts +18 -18
- package/dist/components/DatePicker/components/DatePickerContent.d.ts +3 -3
- package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
- package/dist/components/DatePicker/datepicker.test.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +4 -4
- package/dist/components/DatePicker/styles.d.ts +77 -77
- package/dist/components/DatePicker/types.d.ts +69 -69
- package/dist/components/DatePicker/utils/getMonthName.d.ts +1 -1
- package/dist/components/Dialog/dialog-example.d.ts +3 -3
- package/dist/components/Dialog/dialog.test.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts +3 -3
- package/dist/components/Dialog/styles.d.ts +25 -25
- package/dist/components/Dialog/types.d.ts +30 -30
- package/dist/components/Dropzone/dropzone.test.d.ts +1 -1
- package/dist/components/Dropzone/index.d.ts +4 -4
- package/dist/components/Dropzone/styles.d.ts +60 -60
- package/dist/components/Dropzone/types.d.ts +27 -27
- package/dist/components/Dropzone/utils/accepts.d.ts +10 -10
- package/dist/components/Flex/flex.test.d.ts +1 -1
- package/dist/components/Flex/index.d.ts +4 -4
- package/dist/components/Flex/styles.d.ts +296 -296
- package/dist/components/Flex/types.d.ts +175 -175
- package/dist/components/Grid/grid.test.d.ts +1 -1
- package/dist/components/Grid/index.d.ts +4 -4
- package/dist/components/Grid/styles.d.ts +288 -288
- package/dist/components/Grid/types.d.ts +88 -88
- package/dist/components/Icon/data/beauty.d.ts +8 -8
- package/dist/components/Icon/data/dash.d.ts +8 -8
- package/dist/components/Icon/data/dash.d.ts.map +1 -1
- package/dist/components/Icon/data/dash.js +1 -1
- package/dist/components/Icon/data/ecommerce.d.ts +8 -8
- package/dist/components/Icon/data/form.d.ts +8 -8
- package/dist/components/Icon/data/health.d.ts +8 -8
- package/dist/components/Icon/data/illustrations.d.ts +8 -8
- package/dist/components/Icon/data/illustrations.d.ts.map +1 -1
- package/dist/components/Icon/data/illustrations.js +7 -0
- package/dist/components/Icon/data/men.d.ts +8 -8
- package/dist/components/Icon/data/payment.d.ts +8 -8
- package/dist/components/Icon/data/pedidoPago.d.ts +8 -8
- package/dist/components/Icon/data/physicalPerfomance.d.ts +8 -8
- package/dist/components/Icon/data/social.d.ts +8 -8
- package/dist/components/Icon/data/status.d.ts +8 -8
- package/dist/components/Icon/data/summer.d.ts +8 -8
- package/dist/components/Icon/data/woman.d.ts +8 -8
- package/dist/components/Icon/icon.test.d.ts +1 -1
- package/dist/components/Icon/index.d.ts +4 -4
- package/dist/components/Icon/scripts/build.d.ts +5 -5
- package/dist/components/Icon/scripts/extractor.d.ts +15 -15
- package/dist/components/Icon/scripts/run-build.d.ts +1 -1
- package/dist/components/Icon/scripts/writers.d.ts +22 -22
- package/dist/components/Icon/styles.d.ts +13 -13
- package/dist/components/Icon/types.d.ts +8 -8
- package/dist/components/Icon/types.d.ts.map +1 -1
- package/dist/components/Icon/utils/allIcons.d.ts +8 -8
- package/dist/components/Icon/utils/iconExists.d.ts +4 -4
- package/dist/components/IconItem/IconItem.test.d.ts +1 -1
- package/dist/components/IconItem/index.d.ts +4 -4
- package/dist/components/IconItem/styles.d.ts +18 -18
- package/dist/components/IconItem/types.d.ts +22 -22
- package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +4 -4
- package/dist/components/Illustration/AlternativeOrderSvg/index.js +0 -2
- package/dist/components/Illustration/BoletoSvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoletoSvg/index.js +0 -2
- package/dist/components/Illustration/BoxClosedSvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoxClosedSvg/index.js +0 -2
- package/dist/components/Illustration/BoxDeliverySvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoxDeliverySvg/index.js +0 -2
- package/dist/components/Illustration/BoxOpenSvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoxOpenSvg/index.js +0 -2
- package/dist/components/Illustration/CalendarSvg/index.d.ts +4 -4
- package/dist/components/Illustration/CalendarSvg/index.js +0 -2
- package/dist/components/Illustration/CardSvg/index.d.ts +4 -4
- package/dist/components/Illustration/CardSvg/index.js +0 -2
- package/dist/components/Illustration/CollaboratorSvg/index.d.ts +4 -4
- package/dist/components/Illustration/CollaboratorSvg/index.js +0 -2
- package/dist/components/Illustration/InquirySvg/index.d.ts +4 -4
- package/dist/components/Illustration/InquirySvg/index.js +0 -2
- package/dist/components/Illustration/OrderSvg/index.d.ts +4 -4
- package/dist/components/Illustration/OrderSvg/index.js +0 -2
- package/dist/components/Illustration/PixSvg/index.d.ts +4 -4
- package/dist/components/Illustration/PixSvg/index.js +0 -2
- package/dist/components/Illustration/PrescriptionSvg/index.d.ts +4 -4
- package/dist/components/Illustration/PrescriptionSvg/index.js +0 -2
- package/dist/components/Illustration/TransportSvg/index.d.ts +4 -4
- package/dist/components/Illustration/TransportSvg/index.js +0 -2
- package/dist/components/Illustration/illustration.test.d.ts +1 -1
- package/dist/components/Illustration/index.d.ts +4 -4
- package/dist/components/Illustration/styles.d.ts +10 -10
- package/dist/components/Illustration/types.d.ts +11 -11
- package/dist/components/ImageItem/imageFake.d.ts +2 -2
- package/dist/components/ImageItem/index.d.ts +4 -4
- package/dist/components/ImageItem/input.test.d.ts +1 -1
- package/dist/components/ImageItem/styles.d.ts +26 -26
- package/dist/components/ImageItem/types.d.ts +25 -25
- package/dist/components/Input/index.d.ts +4 -4
- package/dist/components/Input/input.test.d.ts +1 -1
- package/dist/components/Input/styles.d.ts +69 -69
- package/dist/components/Input/types.d.ts +28 -28
- package/dist/components/Label/index.d.ts +3 -3
- package/dist/components/Label/label.test.d.ts +1 -1
- package/dist/components/Label/styles.d.ts +6 -6
- package/dist/components/Label/types.d.ts +17 -17
- package/dist/components/List/index.d.ts +4 -4
- package/dist/components/List/list.test.d.ts +1 -1
- package/dist/components/List/styles.d.ts +15 -15
- package/dist/components/List/types.d.ts +8 -8
- package/dist/components/Modal/ModalExample.d.ts +7 -7
- package/dist/components/Modal/index.d.ts +3 -3
- package/dist/components/Modal/modal.test.d.ts +1 -1
- package/dist/components/Modal/styles.d.ts +538 -538
- package/dist/components/Modal/types.d.ts +37 -37
- package/dist/components/MultipleSelect/MultipleSelect.test.d.ts +1 -1
- package/dist/components/MultipleSelect/animations.d.ts +2 -2
- package/dist/components/MultipleSelect/components/InputWrapper/index.d.ts +10 -10
- package/dist/components/MultipleSelect/components/InputWrapper/types.d.ts +4 -4
- package/dist/components/MultipleSelect/components/OptionsArea/index.d.ts +3 -3
- package/dist/components/MultipleSelect/components/OptionsArea/styles.d.ts +275 -275
- package/dist/components/MultipleSelect/components/OptionsArea/types.d.ts +20 -20
- package/dist/components/MultipleSelect/components/SelectArea/ButtonsArea.d.ts +13 -13
- package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.d.ts +6 -6
- package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts +21 -21
- package/dist/components/MultipleSelect/components/SelectArea/index.d.ts +3 -3
- package/dist/components/MultipleSelect/components/SelectArea/styles.d.ts +18 -18
- package/dist/components/MultipleSelect/components/SelectArea/types.d.ts +22 -22
- package/dist/components/MultipleSelect/components/index.d.ts +3 -3
- package/dist/components/MultipleSelect/index.d.ts +5 -5
- package/dist/components/MultipleSelect/types.d.ts +44 -44
- package/dist/components/Observer/index.d.ts +6 -6
- package/dist/components/Observer/observer.test.d.ts +1 -1
- package/dist/components/Observer/types.d.ts +6 -6
- package/dist/components/Pagination/hooks/usePagination.d.ts +3 -3
- package/dist/components/Pagination/index.d.ts +3 -3
- package/dist/components/Pagination/pagination.test.d.ts +1 -1
- package/dist/components/Pagination/styles.d.ts +34 -34
- package/dist/components/Pagination/types.d.ts +28 -28
- package/dist/components/Progress/Circle/index.d.ts +3 -3
- package/dist/components/Progress/Circle/index.d.ts.map +1 -1
- package/dist/components/Progress/Circle/index.js +14 -6
- package/dist/components/Progress/Circle/styles.d.ts +27 -27
- package/dist/components/Progress/Circle/styles.js +1 -1
- package/dist/components/Progress/Circle/types.d.ts +18 -18
- package/dist/components/Progress/Circle/types.d.ts.map +1 -1
- package/dist/components/Progress/Linear/index.d.ts +3 -3
- package/dist/components/Progress/Linear/index.d.ts.map +1 -1
- package/dist/components/Progress/Linear/index.js +8 -3
- package/dist/components/Progress/Linear/styles.d.ts +15 -15
- package/dist/components/Progress/Linear/styles.js +1 -1
- package/dist/components/Progress/Linear/types.d.ts +13 -13
- package/dist/components/Progress/Linear/types.d.ts.map +1 -1
- package/dist/components/Progress/getSteps.d.ts +1 -1
- package/dist/components/Progress/index.d.ts +4 -4
- package/dist/components/Progress/progress.test.d.ts +1 -1
- package/dist/components/Progress/types.d.ts +27 -27
- package/dist/components/Progress/types.d.ts.map +1 -1
- package/dist/components/RadioInput/components/ChoiceList/index.d.ts +5 -5
- package/dist/components/RadioInput/index.d.ts +4 -4
- package/dist/components/RadioInput/radio-input.test.d.ts +1 -1
- package/dist/components/RadioInput/styles.d.ts +30 -30
- package/dist/components/RadioInput/types.d.ts +32 -32
- package/dist/components/RadioInput/utils/get-colors-props.d.ts +11 -11
- package/dist/components/Rating/index.d.ts +3 -3
- package/dist/components/Rating/rating.test.d.ts +1 -1
- package/dist/components/Rating/styles.d.ts +18 -18
- package/dist/components/Rating/types.d.ts +19 -19
- package/dist/components/ReactPortal/index.d.ts +7 -7
- package/dist/components/ReactPortal/reactPortal.test.d.ts +1 -1
- package/dist/components/ReactPortal/utils/createWrapperAndApprendToBody.d.ts +1 -1
- package/dist/components/Select/components/OptionsSelect/index.d.ts +3 -3
- package/dist/components/Select/components/OptionsSelect/styles.d.ts +268 -268
- package/dist/components/Select/components/OptionsSelect/types.d.ts +17 -17
- package/dist/components/Select/index.d.ts +4 -4
- package/dist/components/Select/select.test.d.ts +1 -1
- package/dist/components/Select/styles.d.ts +20 -20
- package/dist/components/Select/types.d.ts +26 -26
- package/dist/components/Skeleton/index.d.ts +4 -4
- package/dist/components/Skeleton/skeleton.test.d.ts +1 -1
- package/dist/components/Skeleton/styles.d.ts +7 -7
- package/dist/components/Skeleton/types.d.ts +40 -40
- package/dist/components/Slider/SliderExample.d.ts +3 -3
- package/dist/components/Slider/components/SliderPointer.d.ts +3 -3
- package/dist/components/Slider/components/SliderRail.d.ts +3 -3
- package/dist/components/Slider/components/SliderSelector.d.ts +17 -17
- package/dist/components/Slider/hooks/useEventCallback.d.ts +2 -2
- package/dist/components/Slider/index.d.ts +19 -19
- package/dist/components/Slider/slider.test.d.ts +1 -1
- package/dist/components/Slider/styles.d.ts +65 -65
- package/dist/components/Slider/types.d.ts +40 -40
- package/dist/components/Spinner/index.d.ts +4 -4
- package/dist/components/Spinner/spinner.test.d.ts +1 -1
- package/dist/components/Spinner/styles.d.ts +288 -288
- package/dist/components/Spinner/types.d.ts +11 -11
- package/dist/components/Steps/components/StepIcon/index.d.ts +3 -3
- package/dist/components/Steps/components/StepIconMobile/index.d.ts +3 -3
- package/dist/components/Steps/index.d.ts +4 -4
- package/dist/components/Steps/steps.test.d.ts +1 -1
- package/dist/components/Steps/styles.d.ts +45 -45
- package/dist/components/Steps/types.d.ts +20 -20
- package/dist/components/Steps/utils.d.ts +7 -7
- package/dist/components/Switch/index.d.ts +4 -4
- package/dist/components/Switch/styles.d.ts +18 -18
- package/dist/components/Switch/switch.test.d.ts +1 -1
- package/dist/components/Switch/types.d.ts +14 -14
- package/dist/components/Table/components/MenuItem.d.ts +3 -3
- package/dist/components/Table/components/TableSkeleton.d.ts +3 -3
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/Table/styles.d.ts +34 -34
- package/dist/components/Table/table.test.d.ts +1 -1
- package/dist/components/Table/types.d.ts +53 -53
- package/dist/components/Tabs/TabsExample.d.ts +3 -3
- package/dist/components/Tabs/components/Tab.d.ts +3 -3
- package/dist/components/Tabs/components/TabPanel.d.ts +3 -3
- package/dist/components/Tabs/components/Tabs.d.ts +4 -4
- package/dist/components/Tabs/index.d.ts +3 -3
- package/dist/components/Tabs/styles.d.ts +41 -41
- package/dist/components/Tabs/tabs.test.d.ts +1 -1
- package/dist/components/Tabs/types.d.ts +50 -50
- package/dist/components/Tag/index.d.ts +4 -4
- package/dist/components/Tag/styles.d.ts +869 -869
- package/dist/components/Tag/tag.test.d.ts +1 -1
- package/dist/components/Tag/types.d.ts +9 -9
- package/dist/components/TextAreaInput/index.d.ts +4 -4
- package/dist/components/TextAreaInput/styles.d.ts +18 -18
- package/dist/components/TextAreaInput/text-area-input.test.d.ts +1 -1
- package/dist/components/TextAreaInput/types.d.ts +26 -26
- package/dist/components/Thumbnail/index.d.ts +3 -3
- package/dist/components/Thumbnail/styles.d.ts +38 -38
- package/dist/components/Thumbnail/thumbnail.test.d.ts +1 -1
- package/dist/components/Thumbnail/types.d.ts +28 -28
- package/dist/components/Thumbnail/utils/index.d.ts +2 -2
- package/dist/components/Thumbnail/utils/validate-file-size.d.ts +1 -1
- package/dist/components/Thumbnail/utils/validate-file-type.d.ts +1 -1
- package/dist/components/TimeInput/constants.d.ts +4 -4
- package/dist/components/TimeInput/index.d.ts +4 -4
- package/dist/components/TimeInput/styles.d.ts +16 -16
- package/dist/components/TimeInput/types.d.ts +4 -4
- package/dist/components/TimeInput/utils.d.ts +8 -8
- package/dist/components/Timeline/components/Timeline.d.ts +3 -3
- package/dist/components/Timeline/components/TimelineContent.d.ts +3 -3
- package/dist/components/Timeline/components/TimelineItem.d.ts +2 -2
- package/dist/components/Timeline/components/TimelineSeparator.d.ts +3 -3
- package/dist/components/Timeline/index.d.ts +4 -4
- package/dist/components/Timeline/styles.d.ts +31 -31
- package/dist/components/Timeline/timeline.test.d.ts +1 -1
- package/dist/components/Timeline/types.d.ts +20 -20
- package/dist/components/Toast/button-example.d.ts +6 -6
- package/dist/components/Toast/components/Toast.d.ts +4 -4
- package/dist/components/Toast/contexts/ToastProvider.d.ts +5 -5
- package/dist/components/Toast/hooks/useToast.d.ts +2 -2
- package/dist/components/Toast/index.d.ts +3 -3
- package/dist/components/Toast/styles.d.ts +22 -22
- package/dist/components/Toast/toast.test.d.ts +1 -1
- package/dist/components/Toast/types.d.ts +29 -29
- package/dist/components/Tooltip/components/TooltipLabel.d.ts +12 -12
- package/dist/components/Tooltip/example.d.ts +2 -2
- package/dist/components/Tooltip/index.d.ts +4 -4
- package/dist/components/Tooltip/styles.d.ts +13 -13
- package/dist/components/Tooltip/types.d.ts +26 -26
- package/dist/components/Typography/index.d.ts +4 -4
- package/dist/components/Typography/styles.d.ts +21 -21
- package/dist/components/Typography/types.d.ts +16 -16
- package/dist/components/Typography/typography.test.d.ts +1 -1
- package/dist/index.d.ts +60 -60
- package/dist/shared/components/FocusLock/index.d.ts +7 -7
- package/dist/shared/formatters/format-number.d.ts +5 -5
- package/dist/shared/formatters/types.d.ts +5 -5
- package/dist/shared/hooks/devices.d.ts +8 -8
- package/dist/shared/hooks/useBreakpoints.d.ts +25 -25
- package/dist/shared/hooks/useDebounce.d.ts +1 -1
- package/dist/shared/hooks/useDevices.d.ts +8 -8
- package/dist/shared/hooks/useDisableBodyScroll.d.ts +1 -1
- package/dist/shared/hooks/useDraggableScroll/index.d.ts +9 -9
- package/dist/shared/hooks/useDraggableScroll/types.d.ts +5 -5
- package/dist/shared/hooks/useKeyPress.d.ts +1 -1
- package/dist/shared/hooks/useObserver.d.ts +10 -10
- package/dist/shared/hooks/useOnClickOutside.d.ts +2 -2
- package/dist/shared/hooks/useWindowSize.d.ts +8 -8
- package/dist/shared/tests/test-utils.d.ts +4 -4
- package/dist/shared/tests/types.d.ts +4 -4
- package/dist/shared/theme/button-example.d.ts +2 -2
- package/dist/shared/theme/contexts/ThemeContext.d.ts +15 -15
- package/dist/shared/theme/hooks/useColorMode.d.ts +4 -4
- package/dist/shared/theme/hooks/useColorModeValue.d.ts +1 -1
- package/dist/shared/theme/hooks/useTheme.d.ts +284 -284
- package/dist/shared/theme/index.d.ts +7 -7
- package/dist/shared/theme/theme.d.ts +282 -282
- package/dist/shared/theme/theme.test.d.ts +1 -1
- package/dist/shared/theme/theme.types.d.ts +14 -14
- package/dist/shared/theme/utils/extendTheme.d.ts +2 -2
- package/dist/shared/theme/utils/localStorageController.d.ts +6 -6
- package/dist/shared/types/credit-card.d.ts +5 -5
- package/dist/shared/types/file.d.ts +11 -11
- package/dist/shared/types/name.d.ts +3 -3
- package/dist/utils/GenerateKey.d.ts +10 -10
- package/dist/utils/brightnessColorChange.d.ts +8 -8
- package/dist/utils/colorCheck.d.ts +40 -40
- package/dist/utils/colorFunctions.d.ts +2 -2
- package/dist/utils/colorToGray.d.ts +5 -5
- package/dist/utils/file.d.ts +26 -26
- package/dist/utils/formatters/bytes.d.ts +7 -7
- package/dist/utils/formatters/capitalize.d.ts +6 -6
- package/dist/utils/formatters/cep.d.ts +12 -12
- package/dist/utils/formatters/cnpj.d.ts +18 -18
- package/dist/utils/formatters/color.d.ts +15 -15
- package/dist/utils/formatters/cpf.d.ts +18 -18
- package/dist/utils/formatters/credit-card.d.ts +26 -26
- package/dist/utils/formatters/email.d.ts +1 -1
- package/dist/utils/formatters/index.d.ts +15 -15
- package/dist/utils/formatters/name.d.ts +20 -20
- package/dist/utils/formatters/number.d.ts +6 -6
- package/dist/utils/formatters/passport.d.ts +24 -24
- package/dist/utils/formatters/phone.d.ts +59 -59
- package/dist/utils/formatters/price.d.ts +11 -11
- package/dist/utils/formatters/rg.d.ts +12 -12
- package/dist/utils/formatters/strings.d.ts +19 -19
- package/dist/utils/fuctionsColors.d.ts +2 -2
- package/dist/utils/generateUUID.d.ts +1 -1
- package/dist/utils/getColorValue.d.ts +12 -12
- package/dist/utils/getSvg.d.ts +10 -10
- package/dist/utils/getValuesBySize.d.ts +6 -6
- package/dist/utils/invertColor.d.ts +7 -7
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { GenericStyledProps } from '../../@types';
|
|
3
|
-
export declare const StyledToastContainerOverlay: 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 StyledToastManagerOverlay: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
} & GenericStyledProps & {
|
|
11
|
-
position: 'top' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'bottom';
|
|
12
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
-
export declare const StyledToastManagerInner: import("@emotion/styled").StyledComponent<{
|
|
14
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
-
} & GenericStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
-
export declare const StyledToastComponent: import("@emotion/styled").StyledComponent<{
|
|
18
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
-
as?: import("react").ElementType<any> | undefined;
|
|
20
|
-
} & {
|
|
21
|
-
toastPos?: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
22
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenericStyledProps } from '../../@types';
|
|
3
|
+
export declare const StyledToastContainerOverlay: 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 StyledToastManagerOverlay: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
} & GenericStyledProps & {
|
|
11
|
+
position: 'top' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'bottom';
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const StyledToastManagerInner: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
+
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
} & GenericStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
+
export declare const StyledToastComponent: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
toastPos?: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
22
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
23
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=toast.test.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IconName } from '../Icon/types';
|
|
3
|
-
export type IToastConfig = {
|
|
4
|
-
title: string;
|
|
5
|
-
content: ReactNode;
|
|
6
|
-
position?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right';
|
|
7
|
-
type?: 'default' | 'success' | 'warning' | 'error' | 'critical';
|
|
8
|
-
duration?: number;
|
|
9
|
-
icon?: IconName;
|
|
10
|
-
onClose?: (id: string) => void;
|
|
11
|
-
};
|
|
12
|
-
export type IToastList = {
|
|
13
|
-
id: string;
|
|
14
|
-
config: Required<Omit<IToastConfig, 'onClose'>> & {
|
|
15
|
-
onClose?: (id: string) => void;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export type Toast = IToastConfig & {
|
|
19
|
-
toastId: string;
|
|
20
|
-
close: (id: string) => void;
|
|
21
|
-
};
|
|
22
|
-
export type ToastContextProps = {
|
|
23
|
-
add: (options: IToastConfig) => void;
|
|
24
|
-
remove: (id: string) => void;
|
|
25
|
-
toasts: IToastList[];
|
|
26
|
-
};
|
|
27
|
-
export type ToastProviderProps = {
|
|
28
|
-
children?: React.ReactNode;
|
|
29
|
-
};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconName } from '../Icon/types';
|
|
3
|
+
export type IToastConfig = {
|
|
4
|
+
title: string;
|
|
5
|
+
content: ReactNode;
|
|
6
|
+
position?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right';
|
|
7
|
+
type?: 'default' | 'success' | 'warning' | 'error' | 'critical';
|
|
8
|
+
duration?: number;
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
onClose?: (id: string) => void;
|
|
11
|
+
};
|
|
12
|
+
export type IToastList = {
|
|
13
|
+
id: string;
|
|
14
|
+
config: Required<Omit<IToastConfig, 'onClose'>> & {
|
|
15
|
+
onClose?: (id: string) => void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type Toast = IToastConfig & {
|
|
19
|
+
toastId: string;
|
|
20
|
+
close: (id: string) => void;
|
|
21
|
+
};
|
|
22
|
+
export type ToastContextProps = {
|
|
23
|
+
add: (options: IToastConfig) => void;
|
|
24
|
+
remove: (id: string) => void;
|
|
25
|
+
toasts: IToastList[];
|
|
26
|
+
};
|
|
27
|
+
export type ToastProviderProps = {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
};
|
|
30
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const TooltipLabel: import("react").ForwardRefExoticComponent<import("../types").TooltipProps & {
|
|
3
|
-
tooltipPositions: {
|
|
4
|
-
top: number;
|
|
5
|
-
left: number;
|
|
6
|
-
transform: string;
|
|
7
|
-
};
|
|
8
|
-
isVisible: boolean;
|
|
9
|
-
setShowTooltip: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
-
showLabelModal: boolean;
|
|
11
|
-
setShowLabelModal: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TooltipLabel: import("react").ForwardRefExoticComponent<import("../types").TooltipProps & {
|
|
3
|
+
tooltipPositions: {
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
transform: string;
|
|
7
|
+
};
|
|
8
|
+
isVisible: boolean;
|
|
9
|
+
setShowTooltip: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
+
showLabelModal: boolean;
|
|
11
|
+
setShowLabelModal: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
13
|
//# sourceMappingURL=TooltipLabel.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare function ExampleTooltip(): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function ExampleTooltip(): JSX.Element;
|
|
3
3
|
//# sourceMappingURL=example.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { TooltipProps } from './types';
|
|
3
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
4
|
-
export default Tooltip;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { TooltipProps } from './types';
|
|
3
|
+
declare const Tooltip: FC<TooltipProps>;
|
|
4
|
+
export default Tooltip;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TooltipProps } from './types';
|
|
3
|
-
export declare const StyledTooltipLabel: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & TooltipProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
-
export declare const ViewMoreButton: import("@emotion/styled").StyledComponent<import("../Button/types").ButtonProps & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
}, {}, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TooltipProps } from './types';
|
|
3
|
+
export declare const StyledTooltipLabel: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & TooltipProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
export declare const ViewMoreButton: import("@emotion/styled").StyledComponent<import("../Button/types").ButtonProps & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
14
14
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
2
|
-
import { GlobalColorsProps } from '../../shared/theme';
|
|
3
|
-
export type positionType = 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
-
export type TooltipProps = {
|
|
5
|
-
position?: positionType;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
label: ReactNode;
|
|
8
|
-
labelColor?: GlobalColorsProps | (string & {});
|
|
9
|
-
bgColor?: GlobalColorsProps | (string & {});
|
|
10
|
-
maxWidth?: number;
|
|
11
|
-
offset?: number;
|
|
12
|
-
animationDuration?: number;
|
|
13
|
-
minWidth?: number;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
};
|
|
16
|
-
export type TooltipLabelProps = TooltipProps & {
|
|
17
|
-
tooltipPositions: {
|
|
18
|
-
top: number;
|
|
19
|
-
left: number;
|
|
20
|
-
transform: string;
|
|
21
|
-
};
|
|
22
|
-
isVisible: boolean;
|
|
23
|
-
setShowTooltip: Dispatch<SetStateAction<boolean>>;
|
|
24
|
-
showLabelModal: boolean;
|
|
25
|
-
setShowLabelModal: Dispatch<SetStateAction<boolean>>;
|
|
26
|
-
};
|
|
1
|
+
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
2
|
+
import { GlobalColorsProps } from '../../shared/theme';
|
|
3
|
+
export type positionType = 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
+
export type TooltipProps = {
|
|
5
|
+
position?: positionType;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
labelColor?: GlobalColorsProps | (string & {});
|
|
9
|
+
bgColor?: GlobalColorsProps | (string & {});
|
|
10
|
+
maxWidth?: number;
|
|
11
|
+
offset?: number;
|
|
12
|
+
animationDuration?: number;
|
|
13
|
+
minWidth?: number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type TooltipLabelProps = TooltipProps & {
|
|
17
|
+
tooltipPositions: {
|
|
18
|
+
top: number;
|
|
19
|
+
left: number;
|
|
20
|
+
transform: string;
|
|
21
|
+
};
|
|
22
|
+
isVisible: boolean;
|
|
23
|
+
setShowTooltip: Dispatch<SetStateAction<boolean>>;
|
|
24
|
+
showLabelModal: boolean;
|
|
25
|
+
setShowLabelModal: Dispatch<SetStateAction<boolean>>;
|
|
26
|
+
};
|
|
27
27
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TypographyProps } from './types';
|
|
3
|
-
declare const Typography: ({ variant, color, children, ...rest }: TypographyProps) => JSX.Element;
|
|
4
|
-
export default Typography;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypographyProps } from './types';
|
|
3
|
+
declare const Typography: ({ variant, color, children, ...rest }: TypographyProps) => JSX.Element;
|
|
4
|
+
export default Typography;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { GenericStyledProps } from './../../@types/index';
|
|
3
|
-
export declare const StyledText: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & GenericStyledProps & import("react").HTMLAttributes<HTMLLabelElement | HTMLParagraphElement> & {
|
|
7
|
-
variant?: "caption" | "em" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "p" | "small" | "span" | "strong" | undefined;
|
|
8
|
-
color?: import("../..").GlobalColorsProps | (string & {}) | undefined;
|
|
9
|
-
fontSize?: number | "display" | "tiny" | "xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "giant" | undefined;
|
|
10
|
-
fontWeight?: "400" | "700" | "100" | "200" | "300" | "500" | "600" | "800" | "900" | "bold" | "normal" | undefined;
|
|
11
|
-
fontStyle?: "inherit" | "initial" | "italic" | "normal" | "oblique" | undefined;
|
|
12
|
-
lineHeight?: string | number | undefined;
|
|
13
|
-
textAlign?: "center" | "end" | "start" | undefined;
|
|
14
|
-
textTransform?: "none" | "capitalize" | "lowercase" | "uppercase" | undefined;
|
|
15
|
-
textDecoration?: "none" | "underline" | "line-through" | undefined;
|
|
16
|
-
letterSpacing?: string | number | undefined;
|
|
17
|
-
htmlFor?: string | undefined;
|
|
18
|
-
children?: import("react").ReactNode;
|
|
19
|
-
} & {
|
|
20
|
-
textColor: string;
|
|
21
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenericStyledProps } from './../../@types/index';
|
|
3
|
+
export declare const StyledText: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & GenericStyledProps & import("react").HTMLAttributes<HTMLLabelElement | HTMLParagraphElement> & {
|
|
7
|
+
variant?: "caption" | "em" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "p" | "small" | "span" | "strong" | undefined;
|
|
8
|
+
color?: import("../..").GlobalColorsProps | (string & {}) | undefined;
|
|
9
|
+
fontSize?: number | "display" | "tiny" | "xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "giant" | undefined;
|
|
10
|
+
fontWeight?: "400" | "700" | "100" | "200" | "300" | "500" | "600" | "800" | "900" | "bold" | "normal" | undefined;
|
|
11
|
+
fontStyle?: "inherit" | "initial" | "italic" | "normal" | "oblique" | undefined;
|
|
12
|
+
lineHeight?: string | number | undefined;
|
|
13
|
+
textAlign?: "center" | "end" | "start" | undefined;
|
|
14
|
+
textTransform?: "none" | "capitalize" | "lowercase" | "uppercase" | undefined;
|
|
15
|
+
textDecoration?: "none" | "underline" | "line-through" | undefined;
|
|
16
|
+
letterSpacing?: string | number | undefined;
|
|
17
|
+
htmlFor?: string | undefined;
|
|
18
|
+
children?: import("react").ReactNode;
|
|
19
|
+
} & {
|
|
20
|
+
textColor: string;
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
22
22
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { GlobalColorsProps, defaultTheme } from './../../shared/theme';
|
|
3
|
-
export type TypographyProps = HTMLAttributes<HTMLParagraphElement | HTMLLabelElement> & {
|
|
4
|
-
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'label' | 'caption' | 'small' | 'strong' | 'em';
|
|
5
|
-
color?: GlobalColorsProps | (string & {});
|
|
6
|
-
fontSize?: keyof typeof defaultTheme.fontSizes | number;
|
|
7
|
-
fontWeight?: keyof typeof defaultTheme.fontWeight;
|
|
8
|
-
fontStyle?: 'italic' | 'normal' | 'oblique' | 'initial' | 'inherit';
|
|
9
|
-
lineHeight?: string | number;
|
|
10
|
-
textAlign?: 'start' | 'center' | 'end';
|
|
11
|
-
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
12
|
-
textDecoration?: 'underline' | 'line-through' | 'none';
|
|
13
|
-
letterSpacing?: string | number;
|
|
14
|
-
htmlFor?: string;
|
|
15
|
-
children?: ReactNode;
|
|
16
|
-
};
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { GlobalColorsProps, defaultTheme } from './../../shared/theme';
|
|
3
|
+
export type TypographyProps = HTMLAttributes<HTMLParagraphElement | HTMLLabelElement> & {
|
|
4
|
+
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'label' | 'caption' | 'small' | 'strong' | 'em';
|
|
5
|
+
color?: GlobalColorsProps | (string & {});
|
|
6
|
+
fontSize?: keyof typeof defaultTheme.fontSizes | number;
|
|
7
|
+
fontWeight?: keyof typeof defaultTheme.fontWeight;
|
|
8
|
+
fontStyle?: 'italic' | 'normal' | 'oblique' | 'initial' | 'inherit';
|
|
9
|
+
lineHeight?: string | number;
|
|
10
|
+
textAlign?: 'start' | 'center' | 'end';
|
|
11
|
+
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
12
|
+
textDecoration?: 'underline' | 'line-through' | 'none';
|
|
13
|
+
letterSpacing?: string | number;
|
|
14
|
+
htmlFor?: string;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
};
|
|
17
17
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=typography.test.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
export { default as Alert } from './components/Alert';
|
|
2
|
-
export { default as Avatar } from './components/Avatar';
|
|
3
|
-
export { default as Badge } from './components/Badge';
|
|
4
|
-
export { default as Button } from './components/Button';
|
|
5
|
-
export { Card } from './components/Card';
|
|
6
|
-
export { default as ColorPicker } from './components/ColorPicker';
|
|
7
|
-
export { default as DatePicker } from './components/DatePicker';
|
|
8
|
-
export { Dialog } from './components/Dialog';
|
|
9
|
-
export { default as Dropzone } from './components/Dropzone';
|
|
10
|
-
export { default as Flex } from './components/Flex';
|
|
11
|
-
export { default as Grid } from './components/Grid';
|
|
12
|
-
export { default as Icon } from './components/Icon';
|
|
13
|
-
export { type IconName } from './components/Icon/types';
|
|
14
|
-
export { default as IconItem } from './components/IconItem';
|
|
15
|
-
export { ReactPortal } from './components/ReactPortal';
|
|
16
|
-
export { default as Illustration } from './components/Illustration';
|
|
17
|
-
export { default as ComposeIcon } from './components/ComposeIcon';
|
|
18
|
-
export { default as Label } from './components/Label';
|
|
19
|
-
export { default as List } from './components/List';
|
|
20
|
-
export { Modal } from './components/Modal';
|
|
21
|
-
export { Pagination } from './components/Pagination';
|
|
22
|
-
export { default as Progress } from './components/Progress';
|
|
23
|
-
export { Rating } from './components/Rating';
|
|
24
|
-
export { default as Skeleton } from './components/Skeleton';
|
|
25
|
-
export { default as Slider } from './components/Slider';
|
|
26
|
-
export { default as Spinner } from './components/Spinner';
|
|
27
|
-
export { default as Steps } from './components/Steps';
|
|
28
|
-
export { Table } from './components/Table';
|
|
29
|
-
export * from './components/Tabs';
|
|
30
|
-
export { default as Tag } from './components/Tag';
|
|
31
|
-
export { default as TextArea } from './components/TextAreaInput';
|
|
32
|
-
export { Thumbnail } from './components/Thumbnail';
|
|
33
|
-
export * from './components/Timeline';
|
|
34
|
-
export { default as Toast } from './components/Toast';
|
|
35
|
-
export { default as Tooltip } from './components/Tooltip';
|
|
36
|
-
export { default as Typography } from './components/Typography';
|
|
37
|
-
export { CollapseCard } from './components/CollapseCard';
|
|
38
|
-
export { Observer } from './components/Observer';
|
|
39
|
-
export { default as Input } from './components/Input';
|
|
40
|
-
export { DateInput } from './components/DateInput';
|
|
41
|
-
export { TimeInput } from './components/TimeInput';
|
|
42
|
-
export { default as Select } from './components/Select';
|
|
43
|
-
export { default as MultipleSelect } from './components/MultipleSelect';
|
|
44
|
-
export { default as Checkbox } from './components/CheckboxInput';
|
|
45
|
-
export { default as ChoiceList } from './components/RadioInput/components/ChoiceList';
|
|
46
|
-
export { default as Radio } from './components/RadioInput';
|
|
47
|
-
export { default as Switch } from './components/Switch';
|
|
48
|
-
export { default as useToast } from './components/Toast/hooks/useToast';
|
|
49
|
-
export { default as ToastProvider } from './components/Toast/contexts/ToastProvider';
|
|
50
|
-
export { useDevices } from './shared/hooks/useDevices';
|
|
51
|
-
export { useBreakpoints } from './shared/hooks/useBreakpoints';
|
|
52
|
-
export { useDebounce } from './shared/hooks/useDebounce';
|
|
53
|
-
export { useDisableBodyScroll } from './shared/hooks/useDisableBodyScroll';
|
|
54
|
-
export { useKeyPress } from './shared/hooks/useKeyPress';
|
|
55
|
-
export { useOnClickOutside } from './shared/hooks/useOnClickOutside';
|
|
56
|
-
export { useWindowSize } from './shared/hooks/useWindowSize';
|
|
57
|
-
export { useDraggableScroll } from './shared/hooks/useDraggableScroll';
|
|
58
|
-
export * from './shared/theme';
|
|
59
|
-
export { iconExists } from './components/Icon/utils/iconExists';
|
|
60
|
-
export * from './utils/formatters';
|
|
1
|
+
export { default as Alert } from './components/Alert';
|
|
2
|
+
export { default as Avatar } from './components/Avatar';
|
|
3
|
+
export { default as Badge } from './components/Badge';
|
|
4
|
+
export { default as Button } from './components/Button';
|
|
5
|
+
export { Card } from './components/Card';
|
|
6
|
+
export { default as ColorPicker } from './components/ColorPicker';
|
|
7
|
+
export { default as DatePicker } from './components/DatePicker';
|
|
8
|
+
export { Dialog } from './components/Dialog';
|
|
9
|
+
export { default as Dropzone } from './components/Dropzone';
|
|
10
|
+
export { default as Flex } from './components/Flex';
|
|
11
|
+
export { default as Grid } from './components/Grid';
|
|
12
|
+
export { default as Icon } from './components/Icon';
|
|
13
|
+
export { type IconName } from './components/Icon/types';
|
|
14
|
+
export { default as IconItem } from './components/IconItem';
|
|
15
|
+
export { ReactPortal } from './components/ReactPortal';
|
|
16
|
+
export { default as Illustration } from './components/Illustration';
|
|
17
|
+
export { default as ComposeIcon } from './components/ComposeIcon';
|
|
18
|
+
export { default as Label } from './components/Label';
|
|
19
|
+
export { default as List } from './components/List';
|
|
20
|
+
export { Modal } from './components/Modal';
|
|
21
|
+
export { Pagination } from './components/Pagination';
|
|
22
|
+
export { default as Progress } from './components/Progress';
|
|
23
|
+
export { Rating } from './components/Rating';
|
|
24
|
+
export { default as Skeleton } from './components/Skeleton';
|
|
25
|
+
export { default as Slider } from './components/Slider';
|
|
26
|
+
export { default as Spinner } from './components/Spinner';
|
|
27
|
+
export { default as Steps } from './components/Steps';
|
|
28
|
+
export { Table } from './components/Table';
|
|
29
|
+
export * from './components/Tabs';
|
|
30
|
+
export { default as Tag } from './components/Tag';
|
|
31
|
+
export { default as TextArea } from './components/TextAreaInput';
|
|
32
|
+
export { Thumbnail } from './components/Thumbnail';
|
|
33
|
+
export * from './components/Timeline';
|
|
34
|
+
export { default as Toast } from './components/Toast';
|
|
35
|
+
export { default as Tooltip } from './components/Tooltip';
|
|
36
|
+
export { default as Typography } from './components/Typography';
|
|
37
|
+
export { CollapseCard } from './components/CollapseCard';
|
|
38
|
+
export { Observer } from './components/Observer';
|
|
39
|
+
export { default as Input } from './components/Input';
|
|
40
|
+
export { DateInput } from './components/DateInput';
|
|
41
|
+
export { TimeInput } from './components/TimeInput';
|
|
42
|
+
export { default as Select } from './components/Select';
|
|
43
|
+
export { default as MultipleSelect } from './components/MultipleSelect';
|
|
44
|
+
export { default as Checkbox } from './components/CheckboxInput';
|
|
45
|
+
export { default as ChoiceList } from './components/RadioInput/components/ChoiceList';
|
|
46
|
+
export { default as Radio } from './components/RadioInput';
|
|
47
|
+
export { default as Switch } from './components/Switch';
|
|
48
|
+
export { default as useToast } from './components/Toast/hooks/useToast';
|
|
49
|
+
export { default as ToastProvider } from './components/Toast/contexts/ToastProvider';
|
|
50
|
+
export { useDevices } from './shared/hooks/useDevices';
|
|
51
|
+
export { useBreakpoints } from './shared/hooks/useBreakpoints';
|
|
52
|
+
export { useDebounce } from './shared/hooks/useDebounce';
|
|
53
|
+
export { useDisableBodyScroll } from './shared/hooks/useDisableBodyScroll';
|
|
54
|
+
export { useKeyPress } from './shared/hooks/useKeyPress';
|
|
55
|
+
export { useOnClickOutside } from './shared/hooks/useOnClickOutside';
|
|
56
|
+
export { useWindowSize } from './shared/hooks/useWindowSize';
|
|
57
|
+
export { useDraggableScroll } from './shared/hooks/useDraggableScroll';
|
|
58
|
+
export * from './shared/theme';
|
|
59
|
+
export { iconExists } from './components/Icon/utils/iconExists';
|
|
60
|
+
export * from './utils/formatters';
|
|
61
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface FocusLockProps {
|
|
3
|
-
isLocked: boolean;
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const FocusLock: ({ isLocked, children, ...otherProps }: FocusLockProps) => JSX.Element;
|
|
7
|
-
export default FocusLock;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface FocusLockProps {
|
|
3
|
+
isLocked: boolean;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const FocusLock: ({ isLocked, children, ...otherProps }: FocusLockProps) => JSX.Element;
|
|
7
|
+
export default FocusLock;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FormatCurrency } from './types';
|
|
2
|
-
export declare function formatCurrency({ amount, currency, locale }: FormatCurrency): string;
|
|
3
|
-
export declare function formatNumber(number: string): string;
|
|
4
|
-
export declare function sanitizeNumber(number: string): string;
|
|
5
|
-
export declare function formatCurrencyWithoutSymbol(value: string): string;
|
|
1
|
+
import { FormatCurrency } from './types';
|
|
2
|
+
export declare function formatCurrency({ amount, currency, locale }: FormatCurrency): string;
|
|
3
|
+
export declare function formatNumber(number: string): string;
|
|
4
|
+
export declare function sanitizeNumber(number: string): string;
|
|
5
|
+
export declare function formatCurrencyWithoutSymbol(value: string): string;
|
|
6
6
|
//# sourceMappingURL=format-number.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface FormatCurrency {
|
|
2
|
-
amount: number;
|
|
3
|
-
currency?: string;
|
|
4
|
-
locale?: string;
|
|
5
|
-
}
|
|
1
|
+
export interface FormatCurrency {
|
|
2
|
+
amount: number;
|
|
3
|
+
currency?: string;
|
|
4
|
+
locale?: string;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const devices: {
|
|
2
|
-
mobile: number;
|
|
3
|
-
tablet: number;
|
|
4
|
-
'monitor-small': number;
|
|
5
|
-
'monitor-wide': number;
|
|
6
|
-
'monitor-ultra': number;
|
|
7
|
-
};
|
|
8
|
-
export type DeviceTypes = 'mobile' | 'tablet' | 'monitor-small' | 'monitor-wide' | 'monitor-ultra' | number;
|
|
1
|
+
export declare const devices: {
|
|
2
|
+
mobile: number;
|
|
3
|
+
tablet: number;
|
|
4
|
+
'monitor-small': number;
|
|
5
|
+
'monitor-wide': number;
|
|
6
|
+
'monitor-ultra': number;
|
|
7
|
+
};
|
|
8
|
+
export type DeviceTypes = 'mobile' | 'tablet' | 'monitor-small' | 'monitor-wide' | 'monitor-ultra' | number;
|
|
9
9
|
//# sourceMappingURL=devices.d.ts.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
type BreakpointsConfig = {
|
|
2
|
-
base: number;
|
|
3
|
-
sm: number;
|
|
4
|
-
md: number;
|
|
5
|
-
lg: number;
|
|
6
|
-
xl: number;
|
|
7
|
-
xxl: number;
|
|
8
|
-
};
|
|
9
|
-
type BreakpointName = 'base' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
10
|
-
type BreakpointValue<T> = {
|
|
11
|
-
[key in BreakpointName]?: T;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* It returns a function that takes a breakpoint value object and returns the value
|
|
15
|
-
* of the closest breakpoint to the current window size
|
|
16
|
-
* @param {BreakpointsConfig} [breakpointsConfig] - This is an optional parameter
|
|
17
|
-
* that allows you to pass in your own breakpoints.
|
|
18
|
-
* @returns a `breakpointPicker` function, which receives an object with breakpoint keys and values.
|
|
19
|
-
* @example const flexDirection = breapointPicker({ sm: 'column', lg: 'row' });
|
|
20
|
-
*/
|
|
21
|
-
export declare const useBreakpoints: (breakpointsConfig?: BreakpointsConfig) => {
|
|
22
|
-
breakpoint: BreakpointName | null;
|
|
23
|
-
breakpointPicker: <T = string>(breakpointValues: BreakpointValue<T>) => T | undefined;
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
1
|
+
type BreakpointsConfig = {
|
|
2
|
+
base: number;
|
|
3
|
+
sm: number;
|
|
4
|
+
md: number;
|
|
5
|
+
lg: number;
|
|
6
|
+
xl: number;
|
|
7
|
+
xxl: number;
|
|
8
|
+
};
|
|
9
|
+
type BreakpointName = 'base' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
10
|
+
type BreakpointValue<T> = {
|
|
11
|
+
[key in BreakpointName]?: T;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* It returns a function that takes a breakpoint value object and returns the value
|
|
15
|
+
* of the closest breakpoint to the current window size
|
|
16
|
+
* @param {BreakpointsConfig} [breakpointsConfig] - This is an optional parameter
|
|
17
|
+
* that allows you to pass in your own breakpoints.
|
|
18
|
+
* @returns a `breakpointPicker` function, which receives an object with breakpoint keys and values.
|
|
19
|
+
* @example const flexDirection = breapointPicker({ sm: 'column', lg: 'row' });
|
|
20
|
+
*/
|
|
21
|
+
export declare const useBreakpoints: (breakpointsConfig?: BreakpointsConfig) => {
|
|
22
|
+
breakpoint: BreakpointName | null;
|
|
23
|
+
breakpointPicker: <T = string>(breakpointValues: BreakpointValue<T>) => T | undefined;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
26
|
//# sourceMappingURL=useBreakpoints.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function useDebounce<T extends (...args: any[]) => any>(callback: T, delay: number, eachStep?: boolean): (...args: Parameters<T>) => void;
|
|
1
|
+
export declare function useDebounce<T extends (...args: any[]) => any>(callback: T, delay: number, eachStep?: boolean): (...args: Parameters<T>) => void;
|
|
2
2
|
//# sourceMappingURL=useDebounce.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DeviceTypes } from './devices';
|
|
2
|
-
/**
|
|
3
|
-
* Checks if the screen width matches the device in a certain direction everytime the screen resizes.
|
|
4
|
-
* @param device The target device to compare. Can use one of the specified devices or a custom one passing a number.
|
|
5
|
-
* @param direction The direction to compare. "Down" will return true if the screen width is shorter than the device. "Up" will return true if it's larger.
|
|
6
|
-
* @returns If the screen width matches the device in a certain direction.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useDevices(device: DeviceTypes, direction?: 'up' | 'down'): boolean;
|
|
1
|
+
import { DeviceTypes } from './devices';
|
|
2
|
+
/**
|
|
3
|
+
* Checks if the screen width matches the device in a certain direction everytime the screen resizes.
|
|
4
|
+
* @param device The target device to compare. Can use one of the specified devices or a custom one passing a number.
|
|
5
|
+
* @param direction The direction to compare. "Down" will return true if the screen width is shorter than the device. "Up" will return true if it's larger.
|
|
6
|
+
* @returns If the screen width matches the device in a certain direction.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useDevices(device: DeviceTypes, direction?: 'up' | 'down'): boolean;
|
|
9
9
|
//# sourceMappingURL=useDevices.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useDisableBodyScroll: (isDisabled: boolean, type?: 'modal' | 'child_element', noScrollbarPadding?: boolean) => void;
|
|
1
|
+
export declare const useDisableBodyScroll: (isDisabled: boolean, type?: 'modal' | 'child_element', noScrollbarPadding?: boolean) => void;
|
|
2
2
|
//# sourceMappingURL=useDisableBodyScroll.d.ts.map
|