@pedidopago/ui 1.3.4 → 1.3.7
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/styles.d.ts +25 -25
- package/dist/components/Avatar/types.d.ts +15 -15
- 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 +101 -101
- package/dist/components/Card/card.test.tsx.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 +16 -16
- 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 +26 -26
- 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/DateInput/DateInput-example.d.ts +5 -5
- package/dist/components/DateInput/components/ModalWrapper/index.d.ts +4 -0
- package/dist/components/DateInput/components/ModalWrapper/index.d.ts.map +1 -0
- package/dist/components/DateInput/components/ModalWrapper/index.js +43 -0
- package/dist/components/DateInput/components/ModalWrapper/styles.d.ts +265 -0
- package/dist/components/DateInput/components/ModalWrapper/styles.d.ts.map +1 -0
- package/dist/components/DateInput/components/ModalWrapper/styles.js +32 -0
- package/dist/components/DateInput/components/ModalWrapper/types.d.ts +16 -0
- package/dist/components/DateInput/components/ModalWrapper/types.d.ts.map +1 -0
- package/dist/components/DateInput/components/{types.js → ModalWrapper/types.js} +0 -0
- package/dist/components/DateInput/dateInput.test.d.ts +1 -1
- package/dist/components/DateInput/index.d.ts +3 -3
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/DateInput/index.js +63 -34
- package/dist/components/DateInput/styles.d.ts +266 -261
- package/dist/components/DateInput/styles.d.ts.map +1 -1
- package/dist/components/DateInput/styles.js +10 -3
- package/dist/components/DateInput/types.d.ts +14 -13
- package/dist/components/DateInput/types.d.ts.map +1 -1
- 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/DatePickerContent.js +2 -0
- package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
- package/dist/components/DatePicker/components/DateYearPicker.d.ts.map +1 -1
- package/dist/components/DatePicker/components/DateYearPicker.js +2 -0
- 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 +74 -74
- package/dist/components/DatePicker/types.d.ts +58 -58
- 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 +46 -46
- package/dist/components/Dropzone/types.d.ts +19 -19
- 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/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/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/utils/allIcons.d.ts +8 -8
- 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/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 +68 -68
- package/dist/components/Input/types.d.ts +26 -26
- package/dist/components/Label/index.d.ts +4 -4
- 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 +15 -15
- 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 +7 -7
- package/dist/components/Modal/ModalExample.d.ts +3 -3
- 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 +27 -27
- package/dist/components/Modal/types.d.ts +35 -35
- package/dist/components/MultipleSelect/MultipleSelect.test.d.ts +1 -1
- package/dist/components/MultipleSelect/MultipleSelect.test.js +9 -9
- package/dist/components/MultipleSelect/components/InputWrapper/index.d.ts +10 -10
- package/dist/components/MultipleSelect/components/OptionsArea/OptionsArea.d.ts +18 -18
- package/dist/components/MultipleSelect/components/OptionsArea/index.d.ts +15 -15
- package/dist/components/MultipleSelect/components/OptionsArea/index.js +4 -4
- package/dist/components/MultipleSelect/components/SelectArea/ButtonsArea.d.ts +10 -10
- package/dist/components/MultipleSelect/components/SelectArea/Label.d.ts +6 -6
- package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.d.ts +6 -6
- package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts +18 -18
- package/dist/components/MultipleSelect/components/SelectArea/index.d.ts +16 -16
- package/dist/components/MultipleSelect/components/SelectArea/index.js +4 -4
- package/dist/components/MultipleSelect/components/index.d.ts +3 -3
- package/dist/components/MultipleSelect/index.d.ts +5 -5
- package/dist/components/MultipleSelect/index.d.ts.map +1 -1
- package/dist/components/MultipleSelect/index.js +1 -1
- package/dist/components/MultipleSelect/types.d.ts +37 -37
- package/dist/components/MultipleSelect/types.d.ts.map +1 -1
- 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/Linear/index.d.ts +3 -3
- 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/style.d.ts +38 -38
- package/dist/components/Progress/type.d.ts +69 -69
- 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 +60 -60
- package/dist/components/RadioInput/utils/get-colors-props.d.ts +11 -11
- package/dist/components/Rating/components/GradientIcon/data/dash.d.ts +8 -8
- package/dist/components/Rating/components/GradientIcon/data/ecommerce.d.ts +8 -8
- package/dist/components/Rating/components/GradientIcon/index.d.ts +4 -4
- package/dist/components/Rating/components/GradientIcon/scripts/build.d.ts +7 -7
- package/dist/components/Rating/components/GradientIcon/scripts/extractor.d.ts +15 -15
- package/dist/components/Rating/components/GradientIcon/scripts/writers.d.ts +22 -22
- package/dist/components/Rating/components/GradientIcon/styles.d.ts +12 -12
- package/dist/components/Rating/components/GradientIcon/types.d.ts +15 -15
- package/dist/components/Rating/components/GradientIcon/utils/allIcons.d.ts +8 -8
- package/dist/components/Rating/components/RatingWithMultipleValues/RatingWithMultipleValues.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithMultipleValues/styles.d.ts +6 -6
- package/dist/components/Rating/components/RatingWithMultipleValues/types.d.ts +16 -16
- package/dist/components/Rating/components/RatingWithSingleValue/RatingWithSingleValue.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithSingleValue/icons/0.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithSingleValue/icons/1.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithSingleValue/icons/2.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithSingleValue/icons/3.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithSingleValue/icons/4.d.ts +3 -3
- package/dist/components/Rating/components/RatingWithSingleValue/icons/index.d.ts +6 -6
- package/dist/components/Rating/components/RatingWithSingleValue/styles.d.ts +6 -6
- package/dist/components/Rating/components/RatingWithSingleValue/types.d.ts +10 -10
- package/dist/components/Rating/index.d.ts +4 -4
- package/dist/components/Rating/rating.test.d.ts +1 -1
- package/dist/components/Rating/types.d.ts +28 -28
- package/dist/components/Rating/utils/IconObjectsController.d.ts +9 -9
- package/dist/components/Rating/utils/svgDataTratamentFunction.d.ts +9 -9
- 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 +264 -264
- package/dist/components/Select/components/OptionsSelect/types.d.ts +15 -15
- package/dist/components/Select/index.d.ts +4 -4
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +26 -21
- package/dist/components/Select/select.test.d.ts +1 -1
- package/dist/components/Select/styles.d.ts +17 -17
- package/dist/components/Select/types.d.ts +22 -22
- 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 +35 -35
- 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 +3 -3
- package/dist/components/Slider/hooks/useEventCallback.d.ts +2 -2
- package/dist/components/Slider/index.d.ts +4 -4
- 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 +38 -38
- 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 +15 -15
- 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 +17 -17
- package/dist/components/Table/components/MenuItem.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 +39 -39
- 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 +39 -39
- package/dist/components/Tabs/tabs.test.d.ts +1 -1
- package/dist/components/Tabs/types.d.ts +49 -49
- 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 +25 -25
- package/dist/components/Thumbnail/index.d.ts +3 -3
- package/dist/components/Thumbnail/styles.d.ts +42 -42
- 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/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 +26 -26
- package/dist/components/Tooltip/components/TooltipLabel.d.ts +3 -3
- package/dist/components/Tooltip/index.d.ts +4 -4
- package/dist/components/Tooltip/styles.d.ts +261 -261
- package/dist/components/Tooltip/types.d.ts +21 -21
- package/dist/components/Typography/index.d.ts +4 -4
- package/dist/components/Typography/styles.d.ts +20 -20
- package/dist/components/Typography/types.d.ts +15 -15
- package/dist/components/Typography/typography.test.d.ts +1 -1
- package/dist/index.d.ts +45 -45
- package/dist/shared/components/FocusLock/index.d.ts +7 -7
- package/dist/shared/hooks/breakpoints.d.ts +8 -8
- package/dist/shared/hooks/useBreakpoint.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/useOnClickOutside.d.ts +2 -2
- package/dist/shared/hooks/useWindowSize.d.ts +4 -4
- package/dist/shared/tests/test-utils.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/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/fuctionsColors.d.ts +2 -2
- package/dist/utils/generateUUID.d.ts +1 -1
- package/dist/utils/getColorValue.d.ts +291 -291
- package/dist/utils/getSvg.d.ts +10 -10
- package/dist/utils/invertColor.d.ts +7 -7
- package/package.json +1 -1
- package/dist/components/Card/ButtonCard/index.d.ts +0 -4
- package/dist/components/Card/ButtonCard/index.d.ts.map +0 -1
- package/dist/components/Card/ButtonCard/index.js +0 -44
- package/dist/components/Card/ButtonCard/styles.d.ts +0 -14
- package/dist/components/Card/ButtonCard/styles.d.ts.map +0 -1
- package/dist/components/Card/ButtonCard/styles.js +0 -28
- package/dist/components/Card/Expansion/index.d.ts +0 -6
- package/dist/components/Card/Expansion/index.d.ts.map +0 -1
- package/dist/components/Card/Expansion/index.js +0 -64
- package/dist/components/Card/Expansion/style.d.ts +0 -15
- package/dist/components/Card/Expansion/style.d.ts.map +0 -1
- package/dist/components/Card/Expansion/style.js +0 -32
- package/dist/components/Card/card.test.d.ts +0 -2
- package/dist/components/Card/card.test.d.ts.map +0 -1
- package/dist/components/Card/card.test.js +0 -169
- package/dist/components/DateInput/components/SelectButton.d.ts +0 -4
- package/dist/components/DateInput/components/SelectButton.d.ts.map +0 -1
- package/dist/components/DateInput/components/SelectButton.js +0 -55
- package/dist/components/DateInput/components/styles.d.ts +0 -27
- package/dist/components/DateInput/components/styles.d.ts.map +0 -1
- package/dist/components/DateInput/components/styles.js +0 -76
- package/dist/components/DateInput/components/types.d.ts +0 -20
- package/dist/components/DateInput/components/types.d.ts.map +0 -1
- package/dist/components/Label/input.test.d.ts +0 -2
- package/dist/components/Label/input.test.d.ts.map +0 -1
- package/dist/components/Label/input.test.js +0 -115
- package/dist/components/Tooltip/componenteTeste.d.ts +0 -7
- package/dist/components/Tooltip/componenteTeste.d.ts.map +0 -1
- package/dist/components/Tooltip/componenteTeste.js +0 -67
- package/dist/components/Tooltip/tooltip.test.d.ts +0 -2
- package/dist/components/Tooltip/tooltip.test.d.ts.map +0 -1
- package/dist/components/Tooltip/tooltip.test.js +0 -165
- package/dist/components/Tooltip/util.d.ts +0 -28
- package/dist/components/Tooltip/util.d.ts.map +0 -1
- package/dist/components/Tooltip/util.js +0 -91
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const dashIcons: {
|
|
2
|
-
name: string;
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
viewBox: string;
|
|
6
|
-
html: string;
|
|
7
|
-
xmlns: string;
|
|
8
|
-
}[];
|
|
1
|
+
export declare const dashIcons: {
|
|
2
|
+
name: string;
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
viewBox: string;
|
|
6
|
+
html: string;
|
|
7
|
+
xmlns: string;
|
|
8
|
+
}[];
|
|
9
9
|
//# sourceMappingURL=dash.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const ecommerceIcons: {
|
|
2
|
-
name: string;
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
viewBox: string;
|
|
6
|
-
html: string;
|
|
7
|
-
xmlns: string;
|
|
8
|
-
}[];
|
|
1
|
+
export declare const ecommerceIcons: {
|
|
2
|
+
name: string;
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
viewBox: string;
|
|
6
|
+
html: string;
|
|
7
|
+
xmlns: string;
|
|
8
|
+
}[];
|
|
9
9
|
//# sourceMappingURL=ecommerce.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IIconComponentProps } from './types';
|
|
3
|
-
declare const Icon: FC<IIconComponentProps>;
|
|
4
|
-
export default Icon;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IIconComponentProps } from './types';
|
|
3
|
+
declare const Icon: FC<IIconComponentProps>;
|
|
4
|
+
export default Icon;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Builds the icons and types files.
|
|
3
|
-
* To run this script, you need to call this at the test file:
|
|
4
|
-
* `require('./scripts/build')` or `import build from './scripts/build'`
|
|
5
|
-
*/
|
|
6
|
-
declare const builder: () => void;
|
|
7
|
-
export default builder;
|
|
1
|
+
/**
|
|
2
|
+
* Builds the icons and types files.
|
|
3
|
+
* To run this script, you need to call this at the test file:
|
|
4
|
+
* `require('./scripts/build')` or `import build from './scripts/build'`
|
|
5
|
+
*/
|
|
6
|
+
declare const builder: () => void;
|
|
7
|
+
export default builder;
|
|
8
8
|
//# sourceMappingURL=build.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Extractor is a function that extracts the svg content from the icon file.
|
|
3
|
-
* @param files - The directory with the files to extract.
|
|
4
|
-
* @param currentPath - The current path of the file
|
|
5
|
-
* @returns Array of objects with the name and the content of the icon svg.
|
|
6
|
-
*/
|
|
7
|
-
declare const extractor: (files: string[], currentPath: string) => {
|
|
8
|
-
name: string;
|
|
9
|
-
width: string;
|
|
10
|
-
height: string;
|
|
11
|
-
viewBox: string;
|
|
12
|
-
xmlns: string;
|
|
13
|
-
html: string;
|
|
14
|
-
}[];
|
|
15
|
-
export default extractor;
|
|
1
|
+
/**
|
|
2
|
+
* Extractor is a function that extracts the svg content from the icon file.
|
|
3
|
+
* @param files - The directory with the files to extract.
|
|
4
|
+
* @param currentPath - The current path of the file
|
|
5
|
+
* @returns Array of objects with the name and the content of the icon svg.
|
|
6
|
+
*/
|
|
7
|
+
declare const extractor: (files: string[], currentPath: string) => {
|
|
8
|
+
name: string;
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
viewBox: string;
|
|
12
|
+
xmlns: string;
|
|
13
|
+
html: string;
|
|
14
|
+
}[];
|
|
15
|
+
export default extractor;
|
|
16
16
|
//# sourceMappingURL=extractor.d.ts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
declare type iconsList = {
|
|
2
|
-
name: string;
|
|
3
|
-
width: string;
|
|
4
|
-
height: string;
|
|
5
|
-
viewBox: string;
|
|
6
|
-
html: string;
|
|
7
|
-
xmlns: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* This function generates the types file for the Icon component
|
|
11
|
-
* @param iconsList - The list of icons
|
|
12
|
-
* @param overwrite - If true, the file will be overwritten
|
|
13
|
-
*/
|
|
14
|
-
export declare const writeTypesFile: (iconsList: iconsList[], overwrite?: boolean) => void;
|
|
15
|
-
/**
|
|
16
|
-
* This function generates the icons json file for the Icon component
|
|
17
|
-
* @param iconsList - The list of icons
|
|
18
|
-
* @param jsonFileName - The name of the json file
|
|
19
|
-
* @param overwrite - If true, the file will be overwritten
|
|
20
|
-
*/
|
|
21
|
-
export declare const writeIconsFile: (iconsList: iconsList[], jsonFileName: string, overwrite?: boolean) => void;
|
|
22
|
-
export {};
|
|
1
|
+
declare type iconsList = {
|
|
2
|
+
name: string;
|
|
3
|
+
width: string;
|
|
4
|
+
height: string;
|
|
5
|
+
viewBox: string;
|
|
6
|
+
html: string;
|
|
7
|
+
xmlns: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* This function generates the types file for the Icon component
|
|
11
|
+
* @param iconsList - The list of icons
|
|
12
|
+
* @param overwrite - If true, the file will be overwritten
|
|
13
|
+
*/
|
|
14
|
+
export declare const writeTypesFile: (iconsList: iconsList[], overwrite?: boolean) => void;
|
|
15
|
+
/**
|
|
16
|
+
* This function generates the icons json file for the Icon component
|
|
17
|
+
* @param iconsList - The list of icons
|
|
18
|
+
* @param jsonFileName - The name of the json file
|
|
19
|
+
* @param overwrite - If true, the file will be overwritten
|
|
20
|
+
*/
|
|
21
|
+
export declare const writeIconsFile: (iconsList: iconsList[], jsonFileName: string, overwrite?: boolean) => void;
|
|
22
|
+
export {};
|
|
23
23
|
//# sourceMappingURL=writers.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ExtendThemeProps } from '../../../../shared/theme';
|
|
3
|
-
declare type StyledIconProps = {
|
|
4
|
-
theme?: ExtendThemeProps;
|
|
5
|
-
strokeColor?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const IconComponent: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
-
} & StyledIconProps, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
12
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ExtendThemeProps } from '../../../../shared/theme';
|
|
3
|
+
declare type StyledIconProps = {
|
|
4
|
+
theme?: ExtendThemeProps;
|
|
5
|
+
strokeColor?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const IconComponent: import("@emotion/styled").StyledComponent<{
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any> | undefined;
|
|
11
|
+
} & StyledIconProps, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
12
|
+
export {};
|
|
13
13
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { GlobalColorsProps } from '../../../../shared/theme';
|
|
3
|
-
import { SizeType } from '../../types';
|
|
4
|
-
export declare type GradientIconName = 'bookmark' | 'circle' | 'droplet' | 'facebook' | 'filter' | 'folder' | 'heart' | 'hexagon' | 'message-square' | 'moon' | 'navigation-2' | 'navigation' | 'octagon' | 'play' | 'satisfaction' | 'square' | 'star' | 'tool' | 'triangle' | 'volume' | 'zap' | 'ecc-client' | 'ecc-logout';
|
|
5
|
-
export declare type fillStateType = 'filled' | 'halfFilled' | 'empty';
|
|
6
|
-
export interface IIconComponentProps extends HTMLAttributes<SVGSVGElement> {
|
|
7
|
-
name?: GradientIconName;
|
|
8
|
-
size?: number | string | SizeType;
|
|
9
|
-
color?: GlobalColorsProps | (string & {});
|
|
10
|
-
secondaryColor?: GlobalColorsProps | (string & {});
|
|
11
|
-
primaryColor?: string;
|
|
12
|
-
strokeColor?: string;
|
|
13
|
-
fillState?: fillStateType;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { GlobalColorsProps } from '../../../../shared/theme';
|
|
3
|
+
import { SizeType } from '../../types';
|
|
4
|
+
export declare type GradientIconName = 'bookmark' | 'circle' | 'droplet' | 'facebook' | 'filter' | 'folder' | 'heart' | 'hexagon' | 'message-square' | 'moon' | 'navigation-2' | 'navigation' | 'octagon' | 'play' | 'satisfaction' | 'square' | 'star' | 'tool' | 'triangle' | 'volume' | 'zap' | 'ecc-client' | 'ecc-logout';
|
|
5
|
+
export declare type fillStateType = 'filled' | 'halfFilled' | 'empty';
|
|
6
|
+
export interface IIconComponentProps extends HTMLAttributes<SVGSVGElement> {
|
|
7
|
+
name?: GradientIconName;
|
|
8
|
+
size?: number | string | SizeType;
|
|
9
|
+
color?: GlobalColorsProps | (string & {});
|
|
10
|
+
secondaryColor?: GlobalColorsProps | (string & {});
|
|
11
|
+
primaryColor?: string;
|
|
12
|
+
strokeColor?: string;
|
|
13
|
+
fillState?: fillStateType;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
16
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const allIcons: {
|
|
2
|
-
name: string;
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
viewBox: string;
|
|
6
|
-
html: string;
|
|
7
|
-
xmlns: string;
|
|
8
|
-
}[];
|
|
1
|
+
export declare const allIcons: {
|
|
2
|
+
name: string;
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
viewBox: string;
|
|
6
|
+
html: string;
|
|
7
|
+
xmlns: string;
|
|
8
|
+
}[];
|
|
9
9
|
//# sourceMappingURL=allIcons.d.ts.map
|
package/dist/components/Rating/components/RatingWithMultipleValues/RatingWithMultipleValues.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RatingWithMultipleValuesProps } from './types';
|
|
3
|
-
export declare function RatingWithMultipleValues({ disabled, iconsQuantity, defaultValue, readOnly, name, onChange, size, primaryColor, secondaryColor, strokeColor, onChangeValue, precision, value, }: RatingWithMultipleValuesProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RatingWithMultipleValuesProps } from './types';
|
|
3
|
+
export declare function RatingWithMultipleValues({ disabled, iconsQuantity, defaultValue, readOnly, name, onChange, size, primaryColor, secondaryColor, strokeColor, onChangeValue, precision, value, }: RatingWithMultipleValuesProps): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=RatingWithMultipleValues.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IStyleProps } from '../../types';
|
|
3
|
-
export declare const RatingWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & IStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IStyleProps } from '../../types';
|
|
3
|
+
export declare const RatingWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & IStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { GradientIconName } from '../GradientIcon/types';
|
|
2
|
-
export interface RatingWithMultipleValuesProps {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
iconsQuantity: number;
|
|
5
|
-
defaultValue: number;
|
|
6
|
-
readOnly: boolean;
|
|
7
|
-
size: string | number;
|
|
8
|
-
primaryColor?: string;
|
|
9
|
-
secondaryColor?: string;
|
|
10
|
-
strokeColor?: string;
|
|
11
|
-
name: GradientIconName;
|
|
12
|
-
precision: '1' | '0.5';
|
|
13
|
-
value: number;
|
|
14
|
-
onChange?: (value: number) => void;
|
|
15
|
-
onChangeValue?: (value: number) => void;
|
|
16
|
-
}
|
|
1
|
+
import { GradientIconName } from '../GradientIcon/types';
|
|
2
|
+
export interface RatingWithMultipleValuesProps {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
iconsQuantity: number;
|
|
5
|
+
defaultValue: number;
|
|
6
|
+
readOnly: boolean;
|
|
7
|
+
size: string | number;
|
|
8
|
+
primaryColor?: string;
|
|
9
|
+
secondaryColor?: string;
|
|
10
|
+
strokeColor?: string;
|
|
11
|
+
name: GradientIconName;
|
|
12
|
+
precision: '1' | '0.5';
|
|
13
|
+
value: number;
|
|
14
|
+
onChange?: (value: number) => void;
|
|
15
|
+
onChangeValue?: (value: number) => void;
|
|
16
|
+
}
|
|
17
17
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RatingWithSingleValueProps } from './types';
|
|
3
|
-
export declare function RatingWithSingleValue({ disabled, size, onChangeValue, primaryColor, secondaryColor, }: RatingWithSingleValueProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RatingWithSingleValueProps } from './types';
|
|
3
|
+
export declare function RatingWithSingleValue({ disabled, size, onChangeValue, primaryColor, secondaryColor, }: RatingWithSingleValueProps): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=RatingWithSingleValue.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: import("react").ReactSVGElement;
|
|
3
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ReactSVGElement;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=0.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: import("react").ReactSVGElement;
|
|
3
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ReactSVGElement;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=1.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: import("react").ReactSVGElement;
|
|
3
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ReactSVGElement;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=2.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: import("react").ReactSVGElement;
|
|
3
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ReactSVGElement;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=3.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: import("react").ReactSVGElement;
|
|
3
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ReactSVGElement;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=4.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const icons: {
|
|
3
|
-
id: number;
|
|
4
|
-
icon: import("react").ReactSVGElement;
|
|
5
|
-
selected: boolean;
|
|
6
|
-
}[];
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const icons: {
|
|
3
|
+
id: number;
|
|
4
|
+
icon: import("react").ReactSVGElement;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
}[];
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IStyleProps } from '../../types';
|
|
3
|
-
export declare const RatingWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & IStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IStyleProps } from '../../types';
|
|
3
|
+
export declare const RatingWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & IStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface RatingWithSingleValueProps {
|
|
2
|
-
disabled: boolean;
|
|
3
|
-
primaryColor?: string;
|
|
4
|
-
secondaryColor?: string;
|
|
5
|
-
strokeColor?: string;
|
|
6
|
-
readOnly: boolean;
|
|
7
|
-
size: string | number;
|
|
8
|
-
onChange?: (value: number) => void;
|
|
9
|
-
onChangeValue?: (value: number) => void;
|
|
10
|
-
}
|
|
1
|
+
export interface RatingWithSingleValueProps {
|
|
2
|
+
disabled: boolean;
|
|
3
|
+
primaryColor?: string;
|
|
4
|
+
secondaryColor?: string;
|
|
5
|
+
strokeColor?: string;
|
|
6
|
+
readOnly: boolean;
|
|
7
|
+
size: string | number;
|
|
8
|
+
onChange?: (value: number) => void;
|
|
9
|
+
onChangeValue?: (value: number) => void;
|
|
10
|
+
}
|
|
11
11
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IInputProps } from './types';
|
|
3
|
-
declare const RatingComponent: FC<IInputProps>;
|
|
4
|
-
export default RatingComponent;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IInputProps } from './types';
|
|
3
|
+
declare const RatingComponent: FC<IInputProps>;
|
|
4
|
+
export default RatingComponent;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/extend-expect';
|
|
1
|
+
import '@testing-library/jest-dom/extend-expect';
|
|
2
2
|
//# sourceMappingURL=rating.test.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ExtendThemeProps } from '../../shared/theme';
|
|
2
|
-
import { GradientIconName } from './components/GradientIcon/types';
|
|
3
|
-
export declare type SizeType = 'small' | 'medium' | 'large';
|
|
4
|
-
export declare type IStyleProps = {
|
|
5
|
-
primaryColor?: string;
|
|
6
|
-
secondaryColor?: string;
|
|
7
|
-
theme?: ExtendThemeProps;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
size?: SizeType;
|
|
11
|
-
isActive?: boolean;
|
|
12
|
-
SwitchType?: 'success' | 'error' | 'warning' | 'informative' | 'critical' | 'success_secondary' | 'warning_secondary';
|
|
13
|
-
};
|
|
14
|
-
export declare type IInputProps = {
|
|
15
|
-
name: GradientIconName;
|
|
16
|
-
value?: number;
|
|
17
|
-
defaultValue?: number;
|
|
18
|
-
iconsQuantity?: number;
|
|
19
|
-
precision?: '1' | '0.5';
|
|
20
|
-
size?: SizeType;
|
|
21
|
-
readOnly?: boolean;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
primaryColor?: string;
|
|
24
|
-
secondaryColor?: string;
|
|
25
|
-
strokeColor?: string;
|
|
26
|
-
onChangeValue?: (value: number) => void;
|
|
27
|
-
onChange?: (value: number) => void;
|
|
28
|
-
};
|
|
1
|
+
import { ExtendThemeProps } from '../../shared/theme';
|
|
2
|
+
import { GradientIconName } from './components/GradientIcon/types';
|
|
3
|
+
export declare type SizeType = 'small' | 'medium' | 'large';
|
|
4
|
+
export declare type IStyleProps = {
|
|
5
|
+
primaryColor?: string;
|
|
6
|
+
secondaryColor?: string;
|
|
7
|
+
theme?: ExtendThemeProps;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
size?: SizeType;
|
|
11
|
+
isActive?: boolean;
|
|
12
|
+
SwitchType?: 'success' | 'error' | 'warning' | 'informative' | 'critical' | 'success_secondary' | 'warning_secondary';
|
|
13
|
+
};
|
|
14
|
+
export declare type IInputProps = {
|
|
15
|
+
name: GradientIconName;
|
|
16
|
+
value?: number;
|
|
17
|
+
defaultValue?: number;
|
|
18
|
+
iconsQuantity?: number;
|
|
19
|
+
precision?: '1' | '0.5';
|
|
20
|
+
size?: SizeType;
|
|
21
|
+
readOnly?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
primaryColor?: string;
|
|
24
|
+
secondaryColor?: string;
|
|
25
|
+
strokeColor?: string;
|
|
26
|
+
onChangeValue?: (value: number) => void;
|
|
27
|
+
onChange?: (value: number) => void;
|
|
28
|
+
};
|
|
29
29
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { fillStateType } from '../components/GradientIcon/types';
|
|
2
|
-
export interface IIconsObject {
|
|
3
|
-
id: number;
|
|
4
|
-
fillState: 'filled' | 'halfFilled' | 'empty';
|
|
5
|
-
}
|
|
6
|
-
export declare function createIconObjects(stars: number, defaultValue?: number): IIconsObject[];
|
|
7
|
-
export declare function makeIconEmptyById(icons: IIconsObject[], id: number): IIconsObject[];
|
|
8
|
-
export declare function controlIconsFillState(icons: IIconsObject[], id: number, fillState: fillStateType): IIconsObject[];
|
|
9
|
-
export declare function convertFillStateToValue(icons: IIconsObject[]): number;
|
|
1
|
+
import { fillStateType } from '../components/GradientIcon/types';
|
|
2
|
+
export interface IIconsObject {
|
|
3
|
+
id: number;
|
|
4
|
+
fillState: 'filled' | 'halfFilled' | 'empty';
|
|
5
|
+
}
|
|
6
|
+
export declare function createIconObjects(stars: number, defaultValue?: number): IIconsObject[];
|
|
7
|
+
export declare function makeIconEmptyById(icons: IIconsObject[], id: number): IIconsObject[];
|
|
8
|
+
export declare function controlIconsFillState(icons: IIconsObject[], id: number, fillState: fillStateType): IIconsObject[];
|
|
9
|
+
export declare function convertFillStateToValue(icons: IIconsObject[]): number;
|
|
10
10
|
//# sourceMappingURL=IconObjectsController.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import { fillStateType } from '../components/GradientIcon/types';
|
|
3
|
-
interface svgDataTratamentFunctionReturn {
|
|
4
|
-
fillState: fillStateType;
|
|
5
|
-
isMouseLeave: boolean;
|
|
6
|
-
isMouseMove: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function svgDataTratamentFunction(e: MouseEvent<SVGSVGElement>, precision: '1' | '0.5'): svgDataTratamentFunctionReturn;
|
|
9
|
-
export {};
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { fillStateType } from '../components/GradientIcon/types';
|
|
3
|
+
interface svgDataTratamentFunctionReturn {
|
|
4
|
+
fillState: fillStateType;
|
|
5
|
+
isMouseLeave: boolean;
|
|
6
|
+
isMouseMove: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function svgDataTratamentFunction(e: MouseEvent<SVGSVGElement>, precision: '1' | '0.5'): svgDataTratamentFunctionReturn;
|
|
9
|
+
export {};
|
|
10
10
|
//# sourceMappingURL=svgDataTratamentFunction.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface ReactPortalProps {
|
|
3
|
-
wrapperId: string;
|
|
4
|
-
children: ReactNode | ReactNode[] | JSX.Element | JSX.Element[];
|
|
5
|
-
}
|
|
6
|
-
export declare function ReactPortal({ children, wrapperId }: ReactPortalProps): import("react").ReactPortal | null;
|
|
7
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface ReactPortalProps {
|
|
3
|
+
wrapperId: string;
|
|
4
|
+
children: ReactNode | ReactNode[] | JSX.Element | JSX.Element[];
|
|
5
|
+
}
|
|
6
|
+
export declare function ReactPortal({ children, wrapperId }: ReactPortalProps): import("react").ReactPortal | null;
|
|
7
|
+
export {};
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=reactPortal.test.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function createWrapperAndAppendToBody(wrapperId: string): HTMLDivElement;
|
|
1
|
+
export declare function createWrapperAndAppendToBody(wrapperId: string): HTMLDivElement;
|
|
2
2
|
//# sourceMappingURL=createWrapperAndApprendToBody.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { OptionsSelectProps } from './types';
|
|
3
|
-
export declare const OptionsSelect: import("react").ForwardRefExoticComponent<OptionsSelectProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { OptionsSelectProps } from './types';
|
|
3
|
+
export declare const OptionsSelect: import("react").ForwardRefExoticComponent<OptionsSelectProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|