@pedidopago/ui 1.5.21 → 1.5.24
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 +2 -0
- package/dist/components/Alert/alert.test.d.ts.map +1 -0
- package/dist/components/Alert/alert.test.js +92 -0
- 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/Alert/types.d.ts.map +1 -1
- package/dist/components/Avatar/avatar.test.d.ts +2 -0
- package/dist/components/Avatar/avatar.test.d.ts.map +1 -0
- package/dist/components/Avatar/avatar.test.js +74 -0
- package/dist/components/Avatar/index.d.ts +4 -4
- 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 +2 -0
- package/dist/components/Badge/badge.test.d.ts.map +1 -0
- package/dist/components/Badge/badge.test.js +82 -0
- 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 +2 -0
- package/dist/components/Button/Button.test.d.ts.map +1 -0
- package/dist/components/Button/Button.test.js +172 -0
- 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 +2 -0
- package/dist/components/Card/card.test.d.ts.map +1 -0
- package/dist/components/Card/card.test.js +37 -0
- 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 +2 -0
- package/dist/components/CheckboxInput/checkbox-input.test.d.ts.map +1 -0
- package/dist/components/CheckboxInput/checkbox-input.test.js +194 -0
- 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 +26 -26
- package/dist/components/CollapseCard/ExpandButton/index.d.ts +3 -3
- package/dist/components/CollapseCard/ExpandButton/styles.d.ts +267 -267
- package/dist/components/CollapseCard/ExpandButton/types.d.ts +5 -5
- package/dist/components/CollapseCard/expand-button.test.d.ts +2 -0
- package/dist/components/CollapseCard/expand-button.test.d.ts.map +1 -0
- package/dist/components/CollapseCard/expand-button.test.js +200 -0
- package/dist/components/CollapseCard/index.d.ts +3 -3
- package/dist/components/CollapseCard/styles.d.ts +265 -265
- package/dist/components/CollapseCard/types.d.ts +12 -12
- package/dist/components/ColorPicker/colorpicker.test.d.ts +2 -0
- package/dist/components/ColorPicker/colorpicker.test.d.ts.map +1 -0
- package/dist/components/ColorPicker/colorpicker.test.js +74 -0
- 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/DateInput/DateInput-example.d.ts +5 -5
- package/dist/components/DateInput/DateInput-example.js +1 -1
- package/dist/components/DateInput/components/ModalWrapper/index.d.ts +3 -3
- package/dist/components/DateInput/components/ModalWrapper/styles.d.ts +265 -265
- package/dist/components/DateInput/components/ModalWrapper/types.d.ts +15 -15
- package/dist/components/DateInput/dateInput.test.d.ts +2 -0
- package/dist/components/DateInput/dateInput.test.d.ts.map +1 -0
- package/dist/components/DateInput/dateInput.test.js +52 -0
- 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/DatePickerContent.d.ts.map +1 -1
- package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
- package/dist/components/DatePicker/datepicker.test.d.ts +2 -0
- package/dist/components/DatePicker/datepicker.test.d.ts.map +1 -0
- package/dist/components/DatePicker/datepicker.test.js +138 -0
- package/dist/components/DatePicker/index.d.ts +4 -4
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/Dialog/dialog.test.d.ts.map +1 -0
- package/dist/components/Dialog/dialog.test.js +81 -0
- 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 +2 -0
- package/dist/components/Dropzone/dropzone.test.d.ts.map +1 -0
- package/dist/components/Dropzone/dropzone.test.js +79 -0
- 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 +2 -0
- package/dist/components/Flex/flex.test.d.ts.map +1 -0
- package/dist/components/Flex/flex.test.js +355 -0
- package/dist/components/Flex/index.d.ts +4 -4
- package/dist/components/Flex/styles.d.ts +296 -296
- package/dist/components/Flex/styles.js +1 -1
- package/dist/components/Flex/types.d.ts +175 -175
- package/dist/components/Flex/types.d.ts.map +1 -1
- package/dist/components/Grid/grid.test.d.ts +2 -0
- package/dist/components/Grid/grid.test.d.ts.map +1 -0
- package/dist/components/Grid/grid.test.js +140 -0
- 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/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/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 +2 -0
- package/dist/components/Icon/icon.test.d.ts.map +1 -0
- package/dist/components/Icon/icon.test.js +70 -0
- 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/utils/allIcons.d.ts +8 -8
- package/dist/components/Icon/utils/iconExists.d.ts +5 -0
- package/dist/components/Icon/utils/iconExists.d.ts.map +1 -0
- package/dist/components/Icon/utils/iconExists.js +16 -0
- package/dist/components/IconItem/IconItem.test.d.ts +2 -0
- package/dist/components/IconItem/IconItem.test.d.ts.map +1 -0
- package/dist/components/IconItem/IconItem.test.js +68 -0
- 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/IconItem/types.d.ts.map +1 -1
- package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoletoSvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoxClosedSvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoxDeliverySvg/index.d.ts +4 -4
- package/dist/components/Illustration/BoxOpenSvg/index.d.ts +4 -4
- package/dist/components/Illustration/CalendarSvg/index.d.ts +4 -4
- package/dist/components/Illustration/CardSvg/index.d.ts +4 -4
- package/dist/components/Illustration/CollaboratorSvg/index.d.ts +4 -4
- package/dist/components/Illustration/InquirySvg/index.d.ts +4 -4
- package/dist/components/Illustration/OrderSvg/index.d.ts +4 -4
- package/dist/components/Illustration/PixSvg/index.d.ts +4 -4
- package/dist/components/Illustration/PrescriptionSvg/index.d.ts +4 -4
- package/dist/components/Illustration/TransportSvg/index.d.ts +4 -4
- package/dist/components/Illustration/illustration.test.d.ts +2 -0
- package/dist/components/Illustration/illustration.test.d.ts.map +1 -0
- package/dist/components/Illustration/illustration.test.js +61 -0
- 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 +6 -6
- 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 +2 -0
- package/dist/components/ImageItem/input.test.d.ts.map +1 -0
- package/dist/components/ImageItem/input.test.js +105 -0
- 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 +2 -0
- package/dist/components/Input/input.test.d.ts.map +1 -0
- package/dist/components/Input/input.test.js +144 -0
- 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 +2 -0
- package/dist/components/Label/label.test.d.ts.map +1 -0
- package/dist/components/Label/label.test.js +109 -0
- 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 +2 -0
- package/dist/components/List/list.test.d.ts.map +1 -0
- package/dist/components/List/list.test.js +71 -0
- package/dist/components/List/styles.d.ts +15 -15
- package/dist/components/List/types.d.ts +8 -7
- package/dist/components/List/types.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/Modal/modal.test.d.ts.map +1 -0
- package/dist/components/Modal/modal.test.js +197 -0
- package/dist/components/Modal/styles.d.ts +532 -532
- package/dist/components/Modal/types.d.ts +37 -37
- package/dist/components/MultipleSelect/MultipleSelect.test.d.ts +2 -0
- package/dist/components/MultipleSelect/MultipleSelect.test.d.ts.map +1 -0
- package/dist/components/MultipleSelect/MultipleSelect.test.js +451 -0
- 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 +272 -272
- 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/MultipleSelect/types.d.ts.map +1 -1
- package/dist/components/Observer/index.d.ts +7 -0
- package/dist/components/Observer/index.d.ts.map +1 -0
- package/dist/components/Observer/index.js +74 -0
- package/dist/components/Observer/observer.test.d.ts +2 -0
- package/dist/components/Observer/observer.test.d.ts.map +1 -0
- package/dist/components/Observer/observer.test.js +47 -0
- package/dist/components/Observer/types.d.ts +7 -0
- package/dist/components/Observer/types.d.ts.map +1 -0
- package/dist/components/Observer/types.js +1 -0
- 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 +2 -0
- package/dist/components/Pagination/pagination.test.d.ts.map +1 -0
- package/dist/components/Pagination/pagination.test.js +152 -0
- package/dist/components/Pagination/styles.d.ts +34 -34
- package/dist/components/Pagination/types.d.ts +28 -28
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/Progress/Circle/index.d.ts +3 -3
- package/dist/components/Progress/Circle/styles.d.ts +27 -27
- package/dist/components/Progress/Circle/types.d.ts +18 -18
- package/dist/components/Progress/Linear/index.d.ts +3 -3
- package/dist/components/Progress/Linear/styles.d.ts +15 -15
- package/dist/components/Progress/Linear/types.d.ts +13 -13
- 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 +2 -0
- package/dist/components/Progress/progress.test.d.ts.map +1 -0
- package/dist/components/Progress/progress.test.js +126 -0
- package/dist/components/Progress/types.d.ts +27 -27
- 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 +2 -0
- package/dist/components/RadioInput/radio-input.test.d.ts.map +1 -0
- package/dist/components/RadioInput/radio-input.test.js +208 -0
- 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 +2 -0
- package/dist/components/Rating/rating.test.d.ts.map +1 -0
- package/dist/components/Rating/rating.test.js +79 -0
- 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 +2 -0
- package/dist/components/ReactPortal/reactPortal.test.d.ts.map +1 -0
- package/dist/components/ReactPortal/reactPortal.test.js +26 -0
- 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 +265 -265
- 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 +2 -0
- package/dist/components/Select/select.test.d.ts.map +1 -0
- package/dist/components/Select/select.test.js +67 -0
- package/dist/components/Select/styles.d.ts +20 -22
- package/dist/components/Select/styles.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/Skeleton/skeleton.test.d.ts.map +1 -0
- package/dist/components/Skeleton/skeleton.test.js +106 -0
- 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/SliderExample.js +1 -1
- 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/hooks/useEventCallback.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +19 -19
- package/dist/components/Slider/slider.test.d.ts +2 -0
- package/dist/components/Slider/slider.test.d.ts.map +1 -0
- package/dist/components/Slider/slider.test.js +134 -0
- 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 +2 -0
- package/dist/components/Spinner/spinner.test.d.ts.map +1 -0
- package/dist/components/Spinner/spinner.test.js +55 -0
- package/dist/components/Spinner/styles.d.ts +288 -288
- package/dist/components/Spinner/types.d.ts +11 -11
- package/dist/components/Spinner/types.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/Steps/steps.test.d.ts.map +1 -0
- package/dist/components/Steps/steps.test.js +63 -0
- 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 +2 -0
- package/dist/components/Switch/switch.test.d.ts.map +1 -0
- package/dist/components/Switch/switch.test.js +253 -0
- 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 +4 -0
- package/dist/components/Table/components/TableSkeleton.d.ts.map +1 -0
- package/dist/components/Table/components/TableSkeleton.js +45 -0
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +14 -2
- package/dist/components/Table/styles.d.ts +34 -34
- package/dist/components/Table/table.test.d.ts +2 -0
- package/dist/components/Table/table.test.d.ts.map +1 -0
- package/dist/components/Table/table.test.js +130 -0
- package/dist/components/Table/types.d.ts +53 -39
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/TabsExample.d.ts +3 -3
- package/dist/components/Tabs/TabsExample.js +1 -1
- 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 +2 -0
- package/dist/components/Tabs/tabs.test.d.ts.map +1 -0
- package/dist/components/Tabs/tabs.test.js +159 -0
- 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 +2 -0
- package/dist/components/Tag/tag.test.d.ts.map +1 -0
- package/dist/components/Tag/tag.test.js +78 -0
- 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 +2 -0
- package/dist/components/TextAreaInput/text-area-input.test.d.ts.map +1 -0
- package/dist/components/TextAreaInput/text-area-input.test.js +96 -0
- 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 -42
- package/dist/components/Thumbnail/styles.d.ts.map +1 -1
- package/dist/components/Thumbnail/thumbnail.test.d.ts +2 -0
- package/dist/components/Thumbnail/thumbnail.test.d.ts.map +1 -0
- package/dist/components/Thumbnail/thumbnail.test.js +82 -0
- 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/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 +2 -0
- package/dist/components/Timeline/timeline.test.d.ts.map +1 -0
- package/dist/components/Timeline/timeline.test.js +152 -0
- 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/contexts/ToastProvider.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/Toast/toast.test.d.ts.map +1 -0
- package/dist/components/Toast/toast.test.js +139 -0
- package/dist/components/Toast/types.d.ts +29 -26
- package/dist/components/Toast/types.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/Typography/typography.test.d.ts.map +1 -0
- package/dist/components/Typography/typography.test.js +325 -0
- package/dist/index.d.ts +57 -55
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- 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/useBreakpoints.d.ts.map +1 -1
- 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/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/test-utils.d.ts.map +1 -1
- package/dist/shared/tests/types.d.ts +5 -0
- package/dist/shared/tests/types.d.ts.map +1 -0
- package/dist/shared/tests/types.js +1 -0
- 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 +2 -0
- package/dist/shared/theme/theme.test.d.ts.map +1 -0
- package/dist/shared/theme/theme.test.js +120 -0
- 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/file.js +8 -4
- 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 -292
- package/dist/utils/getColorValue.d.ts.map +1 -1
- package/dist/utils/getSvg.d.ts +10 -10
- package/dist/utils/getSvg.js +1 -1
- package/dist/utils/getValuesBySize.d.ts +6 -6
- package/dist/utils/invertColor.d.ts +7 -7
- package/package.json +6 -9
- package/dist/shared/global.d.ts +0 -2
- package/dist/shared/global.d.ts.map +0 -1
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
import { defaultTheme } from '
|
|
3
|
-
declare type flexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4
|
-
declare type flexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
5
|
-
declare type flexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
6
|
-
declare type flexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
|
7
|
-
declare type flexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
8
|
-
declare type flexJustifySelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
9
|
-
declare type flexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
10
|
-
declare type flexGrow = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
11
|
-
declare type flexShrink = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
12
|
-
declare type flexBasis = 'auto' | 'content' | 'max-content' | 'min-content' | 'fit-content' | 'fill-available' | (string & {});
|
|
13
|
-
declare type flexSpacing = 'auto' | 'inherit' | 'initial' | 'unset' | keyof typeof defaultTheme.space | (string & {});
|
|
14
|
-
export declare type IFlexProps = {
|
|
15
|
-
/**
|
|
16
|
-
* The flex-direction CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
|
|
17
|
-
* @default 'row'
|
|
18
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
|
|
19
|
-
*/
|
|
20
|
-
direction?: flexDirection | {
|
|
21
|
-
base?: flexDirection;
|
|
22
|
-
sm?: flexDirection;
|
|
23
|
-
md?: flexDirection;
|
|
24
|
-
lg?: flexDirection;
|
|
25
|
-
xl?: flexDirection;
|
|
26
|
-
xxl?: flexDirection;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* The CSS align-items property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.
|
|
30
|
-
* @default 'stretch'
|
|
31
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
32
|
-
*/
|
|
33
|
-
alignItems?: flexAlignItems | {
|
|
34
|
-
base?: flexAlignItems;
|
|
35
|
-
sm?: flexAlignItems;
|
|
36
|
-
md?: flexAlignItems;
|
|
37
|
-
lg?: flexAlignItems;
|
|
38
|
-
xl?: flexAlignItems;
|
|
39
|
-
xxl?: flexAlignItems;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis.
|
|
43
|
-
* @default 'stretch'
|
|
44
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
45
|
-
*/
|
|
46
|
-
alignContent?: flexAlignContent | {
|
|
47
|
-
base?: flexAlignContent;
|
|
48
|
-
sm?: flexAlignContent;
|
|
49
|
-
md?: flexAlignContent;
|
|
50
|
-
lg?: flexAlignContent;
|
|
51
|
-
xl?: flexAlignContent;
|
|
52
|
-
xxl?: flexAlignContent;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* The align-self CSS property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis.
|
|
56
|
-
* @default 'auto'
|
|
57
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-self
|
|
58
|
-
*/
|
|
59
|
-
alignSelf?: flexAlignSelf | {
|
|
60
|
-
base?: flexAlignSelf;
|
|
61
|
-
sm?: flexAlignSelf;
|
|
62
|
-
md?: flexAlignSelf;
|
|
63
|
-
lg?: flexAlignSelf;
|
|
64
|
-
xl?: flexAlignSelf;
|
|
65
|
-
xxl?: flexAlignSelf;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* The CSS justify-content property defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container.
|
|
69
|
-
* @default 'stretch'
|
|
70
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
71
|
-
*/
|
|
72
|
-
justifyContent?: flexJustifyContent | {
|
|
73
|
-
base?: flexJustifyContent;
|
|
74
|
-
sm?: flexJustifyContent;
|
|
75
|
-
md?: flexJustifyContent;
|
|
76
|
-
lg?: flexJustifyContent;
|
|
77
|
-
xl?: flexJustifyContent;
|
|
78
|
-
xxl?: flexJustifyContent;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* The CSS justify-self property sets the way a box is justified inside its alignment container along the appropriate axis.
|
|
82
|
-
* @default 'auto'
|
|
83
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self
|
|
84
|
-
*/
|
|
85
|
-
justifySelf?: flexJustifySelf | {
|
|
86
|
-
base?: flexJustifySelf;
|
|
87
|
-
sm?: flexJustifySelf;
|
|
88
|
-
md?: flexJustifySelf;
|
|
89
|
-
lg?: flexJustifySelf;
|
|
90
|
-
xl?: flexJustifySelf;
|
|
91
|
-
xxl?: flexJustifySelf;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* The spacing provides a gap CSS property that sets the gaps (gutters) between rows and columns. It is a shorthand for row-gap and column-gap.
|
|
95
|
-
* @default '0'
|
|
96
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/gap
|
|
97
|
-
*/
|
|
98
|
-
spacing?: flexSpacing | {
|
|
99
|
-
base?: flexSpacing;
|
|
100
|
-
sm?: flexSpacing;
|
|
101
|
-
md?: flexSpacing;
|
|
102
|
-
lg?: flexSpacing;
|
|
103
|
-
xl?: flexSpacing;
|
|
104
|
-
xxl?: flexSpacing;
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* The flex-wrap CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked.
|
|
108
|
-
* @default '0'
|
|
109
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap
|
|
110
|
-
*/
|
|
111
|
-
wrap?: flexWrap | {
|
|
112
|
-
base?: flexWrap;
|
|
113
|
-
sm?: flexWrap;
|
|
114
|
-
md?: flexWrap;
|
|
115
|
-
lg?: flexWrap;
|
|
116
|
-
xl?: flexWrap;
|
|
117
|
-
xxl?: flexWrap;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* The flex-grow CSS property sets the flex grow factor of a flex item's main size.
|
|
121
|
-
* @default '0'
|
|
122
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow
|
|
123
|
-
*/
|
|
124
|
-
grow?: flexGrow | {
|
|
125
|
-
base?: flexGrow;
|
|
126
|
-
sm?: flexGrow;
|
|
127
|
-
md?: flexGrow;
|
|
128
|
-
lg?: flexGrow;
|
|
129
|
-
xl?: flexGrow;
|
|
130
|
-
xxl?: flexGrow;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink.
|
|
134
|
-
* @default '0'
|
|
135
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink
|
|
136
|
-
*/
|
|
137
|
-
shrink?: flexShrink | {
|
|
138
|
-
base?: flexShrink;
|
|
139
|
-
sm?: flexShrink;
|
|
140
|
-
md?: flexShrink;
|
|
141
|
-
lg?: flexShrink;
|
|
142
|
-
xl?: flexShrink;
|
|
143
|
-
xxl?: flexShrink;
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* The flex-basis CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing.
|
|
147
|
-
* @default '0'
|
|
148
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
|
|
149
|
-
*/
|
|
150
|
-
basis?: flexBasis | {
|
|
151
|
-
base?: flexBasis;
|
|
152
|
-
sm?: flexBasis;
|
|
153
|
-
md?: flexBasis;
|
|
154
|
-
lg?: flexBasis;
|
|
155
|
-
xl?: flexBasis;
|
|
156
|
-
xxl?: flexBasis;
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* The react ref prop for the flex container.
|
|
160
|
-
* @see https://reactjs.org/docs/refs-and-the-dom.html#the-ref-callback-attribute
|
|
161
|
-
*/
|
|
162
|
-
ref?: Ref<any>;
|
|
163
|
-
};
|
|
164
|
-
export declare type IStyledFlex = IFlexProps & {
|
|
165
|
-
theme?: typeof defaultTheme;
|
|
166
|
-
flexDirection?: flexDirection | {
|
|
167
|
-
base?: flexDirection;
|
|
168
|
-
sm?: flexDirection;
|
|
169
|
-
md?: flexDirection;
|
|
170
|
-
lg?: flexDirection;
|
|
171
|
-
xl?: flexDirection;
|
|
172
|
-
xxl?: flexDirection;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
export {};
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
import { defaultTheme } from 'src';
|
|
3
|
+
declare type flexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4
|
+
declare type flexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
5
|
+
declare type flexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
6
|
+
declare type flexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
|
7
|
+
declare type flexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
8
|
+
declare type flexJustifySelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
9
|
+
declare type flexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
10
|
+
declare type flexGrow = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
11
|
+
declare type flexShrink = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
12
|
+
declare type flexBasis = 'auto' | 'content' | 'max-content' | 'min-content' | 'fit-content' | 'fill-available' | (string & {});
|
|
13
|
+
declare type flexSpacing = 'auto' | 'inherit' | 'initial' | 'unset' | keyof typeof defaultTheme.space | (string & {});
|
|
14
|
+
export declare type IFlexProps = {
|
|
15
|
+
/**
|
|
16
|
+
* The flex-direction CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
|
|
17
|
+
* @default 'row'
|
|
18
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
|
|
19
|
+
*/
|
|
20
|
+
direction?: flexDirection | {
|
|
21
|
+
base?: flexDirection;
|
|
22
|
+
sm?: flexDirection;
|
|
23
|
+
md?: flexDirection;
|
|
24
|
+
lg?: flexDirection;
|
|
25
|
+
xl?: flexDirection;
|
|
26
|
+
xxl?: flexDirection;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The CSS align-items property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.
|
|
30
|
+
* @default 'stretch'
|
|
31
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
32
|
+
*/
|
|
33
|
+
alignItems?: flexAlignItems | {
|
|
34
|
+
base?: flexAlignItems;
|
|
35
|
+
sm?: flexAlignItems;
|
|
36
|
+
md?: flexAlignItems;
|
|
37
|
+
lg?: flexAlignItems;
|
|
38
|
+
xl?: flexAlignItems;
|
|
39
|
+
xxl?: flexAlignItems;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis.
|
|
43
|
+
* @default 'stretch'
|
|
44
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
45
|
+
*/
|
|
46
|
+
alignContent?: flexAlignContent | {
|
|
47
|
+
base?: flexAlignContent;
|
|
48
|
+
sm?: flexAlignContent;
|
|
49
|
+
md?: flexAlignContent;
|
|
50
|
+
lg?: flexAlignContent;
|
|
51
|
+
xl?: flexAlignContent;
|
|
52
|
+
xxl?: flexAlignContent;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The align-self CSS property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis.
|
|
56
|
+
* @default 'auto'
|
|
57
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-self
|
|
58
|
+
*/
|
|
59
|
+
alignSelf?: flexAlignSelf | {
|
|
60
|
+
base?: flexAlignSelf;
|
|
61
|
+
sm?: flexAlignSelf;
|
|
62
|
+
md?: flexAlignSelf;
|
|
63
|
+
lg?: flexAlignSelf;
|
|
64
|
+
xl?: flexAlignSelf;
|
|
65
|
+
xxl?: flexAlignSelf;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* The CSS justify-content property defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container.
|
|
69
|
+
* @default 'stretch'
|
|
70
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
71
|
+
*/
|
|
72
|
+
justifyContent?: flexJustifyContent | {
|
|
73
|
+
base?: flexJustifyContent;
|
|
74
|
+
sm?: flexJustifyContent;
|
|
75
|
+
md?: flexJustifyContent;
|
|
76
|
+
lg?: flexJustifyContent;
|
|
77
|
+
xl?: flexJustifyContent;
|
|
78
|
+
xxl?: flexJustifyContent;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* The CSS justify-self property sets the way a box is justified inside its alignment container along the appropriate axis.
|
|
82
|
+
* @default 'auto'
|
|
83
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self
|
|
84
|
+
*/
|
|
85
|
+
justifySelf?: flexJustifySelf | {
|
|
86
|
+
base?: flexJustifySelf;
|
|
87
|
+
sm?: flexJustifySelf;
|
|
88
|
+
md?: flexJustifySelf;
|
|
89
|
+
lg?: flexJustifySelf;
|
|
90
|
+
xl?: flexJustifySelf;
|
|
91
|
+
xxl?: flexJustifySelf;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* The spacing provides a gap CSS property that sets the gaps (gutters) between rows and columns. It is a shorthand for row-gap and column-gap.
|
|
95
|
+
* @default '0'
|
|
96
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/gap
|
|
97
|
+
*/
|
|
98
|
+
spacing?: flexSpacing | {
|
|
99
|
+
base?: flexSpacing;
|
|
100
|
+
sm?: flexSpacing;
|
|
101
|
+
md?: flexSpacing;
|
|
102
|
+
lg?: flexSpacing;
|
|
103
|
+
xl?: flexSpacing;
|
|
104
|
+
xxl?: flexSpacing;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* The flex-wrap CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked.
|
|
108
|
+
* @default '0'
|
|
109
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap
|
|
110
|
+
*/
|
|
111
|
+
wrap?: flexWrap | {
|
|
112
|
+
base?: flexWrap;
|
|
113
|
+
sm?: flexWrap;
|
|
114
|
+
md?: flexWrap;
|
|
115
|
+
lg?: flexWrap;
|
|
116
|
+
xl?: flexWrap;
|
|
117
|
+
xxl?: flexWrap;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* The flex-grow CSS property sets the flex grow factor of a flex item's main size.
|
|
121
|
+
* @default '0'
|
|
122
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow
|
|
123
|
+
*/
|
|
124
|
+
grow?: flexGrow | {
|
|
125
|
+
base?: flexGrow;
|
|
126
|
+
sm?: flexGrow;
|
|
127
|
+
md?: flexGrow;
|
|
128
|
+
lg?: flexGrow;
|
|
129
|
+
xl?: flexGrow;
|
|
130
|
+
xxl?: flexGrow;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink.
|
|
134
|
+
* @default '0'
|
|
135
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink
|
|
136
|
+
*/
|
|
137
|
+
shrink?: flexShrink | {
|
|
138
|
+
base?: flexShrink;
|
|
139
|
+
sm?: flexShrink;
|
|
140
|
+
md?: flexShrink;
|
|
141
|
+
lg?: flexShrink;
|
|
142
|
+
xl?: flexShrink;
|
|
143
|
+
xxl?: flexShrink;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* The flex-basis CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing.
|
|
147
|
+
* @default '0'
|
|
148
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
|
|
149
|
+
*/
|
|
150
|
+
basis?: flexBasis | {
|
|
151
|
+
base?: flexBasis;
|
|
152
|
+
sm?: flexBasis;
|
|
153
|
+
md?: flexBasis;
|
|
154
|
+
lg?: flexBasis;
|
|
155
|
+
xl?: flexBasis;
|
|
156
|
+
xxl?: flexBasis;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* The react ref prop for the flex container.
|
|
160
|
+
* @see https://reactjs.org/docs/refs-and-the-dom.html#the-ref-callback-attribute
|
|
161
|
+
*/
|
|
162
|
+
ref?: Ref<any>;
|
|
163
|
+
};
|
|
164
|
+
export declare type IStyledFlex = IFlexProps & {
|
|
165
|
+
theme?: typeof defaultTheme;
|
|
166
|
+
flexDirection?: flexDirection | {
|
|
167
|
+
base?: flexDirection;
|
|
168
|
+
sm?: flexDirection;
|
|
169
|
+
md?: flexDirection;
|
|
170
|
+
lg?: flexDirection;
|
|
171
|
+
xl?: flexDirection;
|
|
172
|
+
xxl?: flexDirection;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
export {};
|
|
176
176
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.test.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/grid.test.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _testUtils = require("../../shared/tests/test-utils");
|
|
4
|
+
|
|
5
|
+
var _react = require("@testing-library/react");
|
|
6
|
+
|
|
7
|
+
require("@testing-library/jest-dom");
|
|
8
|
+
|
|
9
|
+
var _ = _interopRequireDefault(require("."));
|
|
10
|
+
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
|
|
15
|
+
describe('Grid', function () {
|
|
16
|
+
it('should render the grid container', function () {
|
|
17
|
+
(0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
18
|
+
container: true,
|
|
19
|
+
"data-testid": "grid-container"
|
|
20
|
+
}));
|
|
21
|
+
expect(_react.screen.getByTestId('grid-container')).toBeInTheDocument();
|
|
22
|
+
});
|
|
23
|
+
it('should render grid container with item element', function () {
|
|
24
|
+
(0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
25
|
+
container: true,
|
|
26
|
+
"data-testid": "grid-container",
|
|
27
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
28
|
+
item: true,
|
|
29
|
+
"data-testid": "grid-item"
|
|
30
|
+
})
|
|
31
|
+
}));
|
|
32
|
+
expect(_react.screen.getByTestId('grid-item')).toBeInTheDocument();
|
|
33
|
+
});
|
|
34
|
+
it('should render grid container with multiple items', function () {
|
|
35
|
+
(0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
|
|
36
|
+
container: true,
|
|
37
|
+
templateColumns: "repeat(12, 1fr)",
|
|
38
|
+
"data-testid": "grid-container",
|
|
39
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
40
|
+
item: true,
|
|
41
|
+
"data-testid": "grid-item-1"
|
|
42
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
43
|
+
item: true,
|
|
44
|
+
"data-testid": "grid-item-2"
|
|
45
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
46
|
+
item: true,
|
|
47
|
+
"data-testid": "grid-item-3"
|
|
48
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
49
|
+
item: true,
|
|
50
|
+
"data-testid": "grid-item-4"
|
|
51
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
52
|
+
item: true,
|
|
53
|
+
"data-testid": "grid-item-5"
|
|
54
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
55
|
+
item: true,
|
|
56
|
+
"data-testid": "grid-item-6"
|
|
57
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
58
|
+
item: true,
|
|
59
|
+
"data-testid": "grid-item-7"
|
|
60
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
61
|
+
item: true,
|
|
62
|
+
"data-testid": "grid-item-8"
|
|
63
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
64
|
+
item: true,
|
|
65
|
+
"data-testid": "grid-item-9"
|
|
66
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
67
|
+
item: true,
|
|
68
|
+
"data-testid": "grid-item-10"
|
|
69
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
70
|
+
item: true,
|
|
71
|
+
"data-testid": "grid-item-11"
|
|
72
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
73
|
+
item: true,
|
|
74
|
+
"data-testid": "grid-item-12"
|
|
75
|
+
})]
|
|
76
|
+
}));
|
|
77
|
+
expect(_react.screen.getByTestId('grid-item-1')).toBeInTheDocument();
|
|
78
|
+
expect(_react.screen.getByTestId('grid-item-2')).toBeInTheDocument();
|
|
79
|
+
expect(_react.screen.getByTestId('grid-item-3')).toBeInTheDocument();
|
|
80
|
+
expect(_react.screen.getByTestId('grid-item-4')).toBeInTheDocument();
|
|
81
|
+
expect(_react.screen.getByTestId('grid-item-5')).toBeInTheDocument();
|
|
82
|
+
expect(_react.screen.getByTestId('grid-item-6')).toBeInTheDocument();
|
|
83
|
+
expect(_react.screen.getByTestId('grid-item-7')).toBeInTheDocument();
|
|
84
|
+
expect(_react.screen.getByTestId('grid-item-8')).toBeInTheDocument();
|
|
85
|
+
expect(_react.screen.getByTestId('grid-item-9')).toBeInTheDocument();
|
|
86
|
+
expect(_react.screen.getByTestId('grid-item-10')).toBeInTheDocument();
|
|
87
|
+
expect(_react.screen.getByTestId('grid-item-11')).toBeInTheDocument();
|
|
88
|
+
expect(_react.screen.getByTestId('grid-item-12')).toBeInTheDocument();
|
|
89
|
+
});
|
|
90
|
+
it('should render grid container with multiply elements of different sizes', function () {
|
|
91
|
+
(0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
|
|
92
|
+
container: true,
|
|
93
|
+
gridGap: 6,
|
|
94
|
+
"data-testid": "grid-container",
|
|
95
|
+
templateColumns: "repeat(12, 1fr)",
|
|
96
|
+
templateRows: "repeat(2, 1fr)",
|
|
97
|
+
style: {
|
|
98
|
+
height: '200px'
|
|
99
|
+
},
|
|
100
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
101
|
+
item: true,
|
|
102
|
+
rowSpan: 2,
|
|
103
|
+
colSpan: 2,
|
|
104
|
+
"data-testid": "grid-item-xs-2",
|
|
105
|
+
style: {
|
|
106
|
+
background: '#000'
|
|
107
|
+
}
|
|
108
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
109
|
+
item: true,
|
|
110
|
+
rowSpan: 2,
|
|
111
|
+
colSpan: 4,
|
|
112
|
+
"data-testid": "grid-item-xs-4",
|
|
113
|
+
style: {
|
|
114
|
+
background: '#000'
|
|
115
|
+
}
|
|
116
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
117
|
+
item: true,
|
|
118
|
+
rowSpan: 2,
|
|
119
|
+
colSpan: 6,
|
|
120
|
+
"data-testid": "grid-item-xs-6",
|
|
121
|
+
style: {
|
|
122
|
+
background: '#000'
|
|
123
|
+
}
|
|
124
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
125
|
+
item: true,
|
|
126
|
+
rowSpan: 2,
|
|
127
|
+
colSpan: 10,
|
|
128
|
+
"data-testid": "grid-item-xs-10",
|
|
129
|
+
style: {
|
|
130
|
+
background: '#000'
|
|
131
|
+
}
|
|
132
|
+
})]
|
|
133
|
+
}));
|
|
134
|
+
expect(_react.screen.getByTestId('grid-container')).toBeInTheDocument();
|
|
135
|
+
expect(_react.screen.getByTestId('grid-item-xs-2')).toBeInTheDocument();
|
|
136
|
+
expect(_react.screen.getByTestId('grid-item-xs-4')).toBeInTheDocument();
|
|
137
|
+
expect(_react.screen.getByTestId('grid-item-xs-6')).toBeInTheDocument();
|
|
138
|
+
expect(_react.screen.getByTestId('grid-item-xs-10')).toBeInTheDocument();
|
|
139
|
+
});
|
|
140
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC, HTMLAttributes } from 'react';
|
|
2
|
-
import { IGridProps } from './types';
|
|
3
|
-
declare const Grid: FC<HTMLAttributes<HTMLDivElement> & IGridProps>;
|
|
4
|
-
export default Grid;
|
|
1
|
+
import { FC, HTMLAttributes } from 'react';
|
|
2
|
+
import { IGridProps } from './types';
|
|
3
|
+
declare const Grid: FC<HTMLAttributes<HTMLDivElement> & IGridProps>;
|
|
4
|
+
export default Grid;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|