@pedidopago/ui 1.6.9 → 1.6.10
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 +92 -92
- package/dist/components/Card/card.test.d.ts +1 -1
- package/dist/components/Card/index.d.ts +3 -3
- package/dist/components/Card/styles.d.ts +6 -6
- package/dist/components/Card/types.d.ts +17 -17
- package/dist/components/CheckboxInput/checkbox-input.test.d.ts +1 -1
- package/dist/components/CheckboxInput/components/MultipleCheckbox.d.ts +4 -4
- package/dist/components/CheckboxInput/index.d.ts +4 -4
- package/dist/components/CheckboxInput/styles.d.ts +31 -31
- package/dist/components/CheckboxInput/types.d.ts +27 -27
- package/dist/components/CollapseCard/ExpandButton/index.d.ts +3 -3
- package/dist/components/CollapseCard/ExpandButton/styles.d.ts +267 -267
- package/dist/components/CollapseCard/ExpandButton/types.d.ts +5 -5
- package/dist/components/CollapseCard/expand-button.test.d.ts +1 -1
- package/dist/components/CollapseCard/index.d.ts +3 -3
- package/dist/components/CollapseCard/styles.d.ts +265 -265
- package/dist/components/CollapseCard/types.d.ts +12 -12
- package/dist/components/ColorPicker/colorpicker.test.d.ts +1 -1
- package/dist/components/ColorPicker/components/ColorHue.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorInput.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorPickerBox.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorPointer.d.ts +4 -4
- package/dist/components/ColorPicker/components/ColorSelector.d.ts +4 -4
- package/dist/components/ColorPicker/hooks/useCachedCallback.d.ts +1 -1
- package/dist/components/ColorPicker/hooks/useHsva.d.ts +2 -2
- package/dist/components/ColorPicker/index.d.ts +4 -4
- package/dist/components/ColorPicker/styles.d.ts +44 -44
- package/dist/components/ColorPicker/types.d.ts +73 -73
- package/dist/components/ColorPicker/utils/checkers.d.ts +7 -7
- package/dist/components/ColorPicker/utils/conversors.d.ts +60 -60
- package/dist/components/ColorPicker/utils/parsers.d.ts +27 -27
- package/dist/components/DateInput/DateInput-example.d.ts +5 -5
- package/dist/components/DateInput/components/ModalWrapper/index.d.ts +3 -3
- package/dist/components/DateInput/components/ModalWrapper/styles.d.ts +265 -265
- package/dist/components/DateInput/components/ModalWrapper/types.d.ts +15 -15
- package/dist/components/DateInput/dateInput.test.d.ts +1 -1
- package/dist/components/DateInput/index.d.ts +3 -3
- package/dist/components/DateInput/styles.d.ts +10 -10
- package/dist/components/DateInput/types.d.ts +18 -18
- package/dist/components/DatePicker/components/DatePickerContent.d.ts +3 -3
- package/dist/components/DatePicker/components/DateYearPicker.d.ts +3 -3
- package/dist/components/DatePicker/datepicker.test.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +4 -4
- package/dist/components/DatePicker/styles.d.ts +77 -77
- package/dist/components/DatePicker/types.d.ts +69 -69
- package/dist/components/DatePicker/utils/getMonthName.d.ts +1 -1
- package/dist/components/Dialog/dialog-example.d.ts +3 -3
- package/dist/components/Dialog/dialog.test.d.ts +1 -1
- package/dist/components/Dialog/dialog.test.js +4 -4
- package/dist/components/Dialog/index.d.ts +3 -3
- package/dist/components/Dialog/styles.d.ts +25 -25
- package/dist/components/Dialog/types.d.ts +30 -30
- package/dist/components/Dropzone/dropzone.test.d.ts +1 -1
- package/dist/components/Dropzone/index.d.ts +4 -4
- package/dist/components/Dropzone/styles.d.ts +60 -60
- package/dist/components/Dropzone/types.d.ts +27 -27
- package/dist/components/Dropzone/utils/accepts.d.ts +10 -10
- package/dist/components/Flex/flex.test.d.ts +1 -1
- package/dist/components/Flex/index.d.ts +4 -4
- package/dist/components/Flex/styles.d.ts +296 -296
- package/dist/components/Flex/types.d.ts +175 -175
- package/dist/components/Grid/grid.test.d.ts +1 -1
- package/dist/components/Grid/index.d.ts +4 -4
- package/dist/components/Grid/styles.d.ts +288 -288
- package/dist/components/Grid/styles.js +1 -1
- 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 +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/Icon/utils/iconExists.d.ts +4 -4
- package/dist/components/IconItem/IconItem.test.d.ts +1 -1
- package/dist/components/IconItem/index.d.ts +4 -4
- package/dist/components/IconItem/styles.d.ts +18 -18
- package/dist/components/IconItem/types.d.ts +22 -22
- package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +4 -4
- package/dist/components/Illustration/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 +1 -1
- package/dist/components/Illustration/index.d.ts +4 -4
- package/dist/components/Illustration/styles.d.ts +10 -10
- package/dist/components/Illustration/types.d.ts +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 +1 -1
- package/dist/components/ImageItem/styles.d.ts +26 -26
- package/dist/components/ImageItem/types.d.ts +25 -25
- package/dist/components/Input/index.d.ts +4 -4
- package/dist/components/Input/input.test.d.ts +1 -1
- package/dist/components/Input/styles.d.ts +69 -69
- package/dist/components/Input/types.d.ts +28 -28
- package/dist/components/Label/index.d.ts +3 -3
- package/dist/components/Label/label.test.d.ts +1 -1
- package/dist/components/Label/styles.d.ts +6 -6
- package/dist/components/Label/types.d.ts +17 -17
- package/dist/components/List/index.d.ts +4 -4
- package/dist/components/List/list.test.d.ts +1 -1
- package/dist/components/List/styles.d.ts +15 -15
- package/dist/components/List/types.d.ts +8 -8
- package/dist/components/Modal/ModalExample.d.ts +7 -7
- package/dist/components/Modal/index.d.ts +3 -3
- package/dist/components/Modal/modal.test.d.ts +1 -1
- package/dist/components/Modal/modal.test.js +4 -14
- 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 +1 -1
- package/dist/components/MultipleSelect/MultipleSelect.test.js +9 -34
- 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/styles.js +1 -1
- package/dist/components/MultipleSelect/components/OptionsArea/types.d.ts +20 -20
- package/dist/components/MultipleSelect/components/SelectArea/ButtonsArea.d.ts +13 -13
- package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.d.ts +6 -6
- package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts +21 -21
- package/dist/components/MultipleSelect/components/SelectArea/index.d.ts +3 -3
- package/dist/components/MultipleSelect/components/SelectArea/styles.d.ts +18 -18
- package/dist/components/MultipleSelect/components/SelectArea/types.d.ts +22 -22
- package/dist/components/MultipleSelect/components/index.d.ts +3 -3
- package/dist/components/MultipleSelect/index.d.ts +5 -5
- package/dist/components/MultipleSelect/types.d.ts +44 -44
- package/dist/components/Observer/index.d.ts +6 -6
- package/dist/components/Observer/observer.test.d.ts +1 -1
- package/dist/components/Observer/types.d.ts +6 -6
- package/dist/components/Pagination/hooks/usePagination.d.ts +3 -3
- package/dist/components/Pagination/index.d.ts +3 -3
- package/dist/components/Pagination/index.d.ts.map +1 -1
- package/dist/components/Pagination/index.js +5 -2
- package/dist/components/Pagination/pagination.test.d.ts +1 -1
- package/dist/components/Pagination/pagination.test.js +8 -14
- package/dist/components/Pagination/styles.d.ts +34 -34
- package/dist/components/Pagination/types.d.ts +28 -28
- package/dist/components/Progress/Circle/index.d.ts +3 -3
- package/dist/components/Progress/Circle/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 +1 -1
- package/dist/components/Progress/types.d.ts +27 -27
- package/dist/components/RadioInput/components/ChoiceList/index.d.ts +5 -5
- package/dist/components/RadioInput/components/ChoiceList/index.js +2 -3
- package/dist/components/RadioInput/index.d.ts +4 -4
- package/dist/components/RadioInput/radio-input.test.d.ts +1 -1
- package/dist/components/RadioInput/styles.d.ts +30 -30
- package/dist/components/RadioInput/types.d.ts +32 -32
- package/dist/components/RadioInput/types.d.ts.map +1 -1
- package/dist/components/RadioInput/utils/get-colors-props.d.ts +11 -11
- package/dist/components/Rating/index.d.ts +3 -3
- package/dist/components/Rating/rating.test.d.ts +1 -1
- package/dist/components/Rating/styles.d.ts +18 -18
- package/dist/components/Rating/types.d.ts +19 -19
- package/dist/components/ReactPortal/index.d.ts +7 -7
- package/dist/components/ReactPortal/reactPortal.test.d.ts +1 -1
- package/dist/components/ReactPortal/utils/createWrapperAndApprendToBody.d.ts +1 -1
- package/dist/components/Select/components/OptionsSelect/index.d.ts +3 -3
- package/dist/components/Select/components/OptionsSelect/styles.d.ts +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/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Select/select.test.d.ts +1 -1
- package/dist/components/Select/select.test.js +2 -1
- package/dist/components/Select/styles.d.ts +20 -20
- package/dist/components/Select/types.d.ts +26 -26
- package/dist/components/Skeleton/index.d.ts +4 -4
- package/dist/components/Skeleton/skeleton.test.d.ts +1 -1
- package/dist/components/Skeleton/styles.d.ts +7 -7
- package/dist/components/Skeleton/types.d.ts +40 -40
- package/dist/components/Slider/SliderExample.d.ts +3 -3
- package/dist/components/Slider/components/SliderPointer.d.ts +3 -3
- package/dist/components/Slider/components/SliderRail.d.ts +3 -3
- package/dist/components/Slider/components/SliderSelector.d.ts +17 -17
- package/dist/components/Slider/hooks/useEventCallback.d.ts +2 -2
- package/dist/components/Slider/index.d.ts +19 -19
- package/dist/components/Slider/slider.test.d.ts +1 -1
- package/dist/components/Slider/styles.d.ts +65 -65
- package/dist/components/Slider/types.d.ts +40 -40
- package/dist/components/Spinner/index.d.ts +4 -4
- package/dist/components/Spinner/spinner.test.d.ts +1 -1
- package/dist/components/Spinner/styles.d.ts +288 -288
- package/dist/components/Spinner/types.d.ts +11 -11
- package/dist/components/Steps/components/StepIcon/index.d.ts +3 -3
- package/dist/components/Steps/components/StepIconMobile/index.d.ts +3 -3
- package/dist/components/Steps/index.d.ts +4 -4
- package/dist/components/Steps/steps.test.d.ts +1 -1
- package/dist/components/Steps/styles.d.ts +45 -45
- package/dist/components/Steps/types.d.ts +20 -20
- package/dist/components/Steps/utils.d.ts +7 -7
- package/dist/components/Switch/index.d.ts +4 -4
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.js +13 -11
- package/dist/components/Switch/styles.d.ts +18 -18
- package/dist/components/Switch/switch.test.d.ts +1 -1
- package/dist/components/Switch/switch.test.js +21 -133
- package/dist/components/Switch/types.d.ts +14 -14
- package/dist/components/Table/components/MenuItem.d.ts +3 -3
- package/dist/components/Table/components/TableSkeleton.d.ts +3 -3
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/Table/styles.d.ts +34 -34
- package/dist/components/Table/table.test.d.ts +1 -1
- package/dist/components/Table/types.d.ts +53 -53
- package/dist/components/Tabs/TabsExample.d.ts +3 -3
- package/dist/components/Tabs/components/Tab.d.ts +3 -3
- package/dist/components/Tabs/components/TabPanel.d.ts +3 -3
- package/dist/components/Tabs/components/Tabs.d.ts +4 -4
- package/dist/components/Tabs/index.d.ts +3 -3
- package/dist/components/Tabs/styles.d.ts +41 -41
- package/dist/components/Tabs/tabs.test.d.ts +1 -1
- package/dist/components/Tabs/types.d.ts +50 -50
- package/dist/components/Tag/index.d.ts +4 -4
- package/dist/components/Tag/styles.d.ts +869 -869
- package/dist/components/Tag/tag.test.d.ts +1 -1
- package/dist/components/Tag/types.d.ts +9 -9
- package/dist/components/TextAreaInput/index.d.ts +4 -4
- package/dist/components/TextAreaInput/styles.d.ts +18 -18
- package/dist/components/TextAreaInput/text-area-input.test.d.ts +1 -1
- package/dist/components/TextAreaInput/types.d.ts +26 -26
- package/dist/components/Thumbnail/index.d.ts +3 -3
- package/dist/components/Thumbnail/styles.d.ts +38 -38
- package/dist/components/Thumbnail/thumbnail.test.d.ts +1 -1
- package/dist/components/Thumbnail/types.d.ts +28 -28
- package/dist/components/Thumbnail/utils/index.d.ts +2 -2
- package/dist/components/Thumbnail/utils/validate-file-size.d.ts +1 -1
- package/dist/components/Thumbnail/utils/validate-file-type.d.ts +1 -1
- package/dist/components/Timeline/components/Timeline.d.ts +3 -3
- package/dist/components/Timeline/components/TimelineContent.d.ts +3 -3
- package/dist/components/Timeline/components/TimelineItem.d.ts +2 -2
- package/dist/components/Timeline/components/TimelineSeparator.d.ts +3 -3
- package/dist/components/Timeline/index.d.ts +4 -4
- package/dist/components/Timeline/styles.d.ts +31 -31
- package/dist/components/Timeline/timeline.test.d.ts +1 -1
- package/dist/components/Timeline/types.d.ts +20 -20
- package/dist/components/Toast/button-example.d.ts +6 -6
- package/dist/components/Toast/components/Toast.d.ts +4 -4
- package/dist/components/Toast/contexts/ToastProvider.d.ts +5 -5
- package/dist/components/Toast/hooks/useToast.d.ts +2 -2
- package/dist/components/Toast/index.d.ts +3 -3
- package/dist/components/Toast/styles.d.ts +22 -22
- package/dist/components/Toast/toast.test.d.ts +1 -1
- package/dist/components/Toast/types.d.ts +29 -29
- package/dist/components/Tooltip/components/TooltipLabel.d.ts +12 -12
- package/dist/components/Tooltip/example.d.ts +2 -2
- package/dist/components/Tooltip/index.d.ts +4 -4
- package/dist/components/Tooltip/styles.d.ts +13 -13
- package/dist/components/Tooltip/types.d.ts +26 -26
- package/dist/components/Typography/index.d.ts +4 -4
- package/dist/components/Typography/styles.d.ts +21 -21
- package/dist/components/Typography/types.d.ts +16 -16
- package/dist/components/Typography/typography.test.d.ts +1 -1
- package/dist/index.d.ts +57 -57
- package/dist/shared/components/FocusLock/index.d.ts +7 -7
- package/dist/shared/formatters/format-number.d.ts +5 -5
- package/dist/shared/formatters/types.d.ts +5 -5
- package/dist/shared/hooks/devices.d.ts +8 -8
- package/dist/shared/hooks/useBreakpoints.d.ts +25 -25
- package/dist/shared/hooks/useDebounce.d.ts +1 -1
- package/dist/shared/hooks/useDevices.d.ts +8 -8
- package/dist/shared/hooks/useDisableBodyScroll.d.ts +1 -1
- package/dist/shared/hooks/useKeyPress.d.ts +1 -1
- package/dist/shared/hooks/useObserver.d.ts +10 -10
- package/dist/shared/hooks/useOnClickOutside.d.ts +2 -2
- package/dist/shared/hooks/useWindowSize.d.ts +8 -8
- package/dist/shared/tests/test-utils.d.ts +4 -4
- package/dist/shared/tests/types.d.ts +4 -4
- package/dist/shared/theme/button-example.d.ts +2 -2
- package/dist/shared/theme/contexts/ThemeContext.d.ts +15 -15
- package/dist/shared/theme/hooks/useColorMode.d.ts +4 -4
- package/dist/shared/theme/hooks/useColorModeValue.d.ts +1 -1
- package/dist/shared/theme/hooks/useTheme.d.ts +284 -284
- package/dist/shared/theme/index.d.ts +7 -7
- package/dist/shared/theme/theme.d.ts +282 -282
- package/dist/shared/theme/theme.test.d.ts +1 -1
- package/dist/shared/theme/theme.types.d.ts +14 -14
- package/dist/shared/theme/utils/extendTheme.d.ts +2 -2
- package/dist/shared/theme/utils/localStorageController.d.ts +6 -6
- package/dist/shared/types/credit-card.d.ts +5 -5
- package/dist/shared/types/file.d.ts +11 -11
- package/dist/shared/types/name.d.ts +3 -3
- package/dist/utils/GenerateKey.d.ts +10 -10
- package/dist/utils/brightnessColorChange.d.ts +8 -8
- package/dist/utils/colorCheck.d.ts +40 -40
- package/dist/utils/colorFunctions.d.ts +2 -2
- package/dist/utils/colorToGray.d.ts +5 -5
- package/dist/utils/file.d.ts +26 -26
- package/dist/utils/file.d.ts.map +1 -1
- package/dist/utils/file.js +1 -0
- package/dist/utils/formatters/bytes.d.ts +7 -7
- package/dist/utils/formatters/capitalize.d.ts +6 -6
- package/dist/utils/formatters/cep.d.ts +12 -12
- package/dist/utils/formatters/cnpj.d.ts +18 -18
- package/dist/utils/formatters/color.d.ts +15 -15
- package/dist/utils/formatters/cpf.d.ts +18 -18
- package/dist/utils/formatters/credit-card.d.ts +26 -26
- package/dist/utils/formatters/email.d.ts +1 -1
- package/dist/utils/formatters/index.d.ts +15 -15
- package/dist/utils/formatters/name.d.ts +20 -20
- package/dist/utils/formatters/number.d.ts +6 -6
- package/dist/utils/formatters/passport.d.ts +24 -24
- package/dist/utils/formatters/phone.d.ts +59 -59
- package/dist/utils/formatters/price.d.ts +11 -11
- package/dist/utils/formatters/rg.d.ts +12 -12
- package/dist/utils/formatters/strings.d.ts +19 -19
- package/dist/utils/fuctionsColors.d.ts +2 -2
- package/dist/utils/generateUUID.d.ts +1 -1
- package/dist/utils/getColorValue.d.ts +12 -12
- package/dist/utils/getSvg.d.ts +10 -10
- package/dist/utils/getValuesBySize.d.ts +6 -6
- package/dist/utils/invertColor.d.ts +7 -7
- package/package.json +18 -18
package/dist/@types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtendThemeProps } from '../shared/theme/theme.types';
|
|
2
|
-
export declare type GenericStyledProps = {
|
|
3
|
-
theme?: ExtendThemeProps & {
|
|
4
|
-
colorMode: 'light' | 'dark';
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
import { ExtendThemeProps } from '../shared/theme/theme.types';
|
|
2
|
+
export declare type GenericStyledProps = {
|
|
3
|
+
theme?: ExtendThemeProps & {
|
|
4
|
+
colorMode: 'light' | 'dark';
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=alert.test.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { AlertProps } from './types';
|
|
3
|
-
declare const Alert: FC<AlertProps>;
|
|
4
|
-
export default Alert;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AlertProps } from './types';
|
|
3
|
+
declare const Alert: FC<AlertProps>;
|
|
4
|
+
export default Alert;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IStyledAlert } from './types';
|
|
3
|
-
export declare const StyledAlertContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const StyledAlertWrapper: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
} & IStyledAlert, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
-
export declare const StyledIconBox: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
} & IStyledAlert & {
|
|
15
|
-
havePadding: boolean;
|
|
16
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
-
export declare const StyledColumn: import("@emotion/styled").StyledComponent<{
|
|
18
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
-
as?: import("react").ElementType<any> | undefined;
|
|
20
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
-
export declare const StyledCloseIcon: import("@emotion/styled").StyledComponent<{
|
|
22
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
as?: import("react").ElementType<any> | undefined;
|
|
24
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IStyledAlert } from './types';
|
|
3
|
+
export declare const StyledAlertContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const StyledAlertWrapper: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
} & IStyledAlert, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
export declare const StyledIconBox: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
} & IStyledAlert & {
|
|
15
|
+
havePadding: boolean;
|
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
+
export declare const StyledColumn: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const StyledCloseIcon: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
25
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ExtendThemeProps } from 'src';
|
|
3
|
-
import { IconName } from '../Icon/types';
|
|
4
|
-
export declare type AlertProps = {
|
|
5
|
-
/**
|
|
6
|
-
* The icon of the alert.
|
|
7
|
-
* @default 'info'
|
|
8
|
-
*/
|
|
9
|
-
icon?: IconName;
|
|
10
|
-
/**
|
|
11
|
-
* The variantion of the alert component style
|
|
12
|
-
* @default 'filled'
|
|
13
|
-
*/
|
|
14
|
-
variant?: 'outlined' | 'filled' | 'closable';
|
|
15
|
-
/**
|
|
16
|
-
* The type of the alert component
|
|
17
|
-
* @default 'default'
|
|
18
|
-
*/
|
|
19
|
-
type?: 'default' | 'success' | 'warning' | 'error' | 'critical' | 'informative';
|
|
20
|
-
/**
|
|
21
|
-
* The message of the alert
|
|
22
|
-
*/
|
|
23
|
-
content?: ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* The title of the alert
|
|
26
|
-
*/
|
|
27
|
-
title?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Sets a max width to alert
|
|
30
|
-
*/
|
|
31
|
-
maxWidth?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Provides a callback that is called when the close button is clicked.
|
|
34
|
-
* @description This props are available when variant is set to 'closable'
|
|
35
|
-
*/
|
|
36
|
-
onClose?: () => void;
|
|
37
|
-
};
|
|
38
|
-
export declare type IStyledAlert = {
|
|
39
|
-
maxWidth?: number;
|
|
40
|
-
variant?: 'outlined' | 'filled' | 'closable';
|
|
41
|
-
type?: 'default' | 'success' | 'warning' | 'error' | 'critical' | 'informative';
|
|
42
|
-
theme?: ExtendThemeProps;
|
|
43
|
-
haveContent?: boolean;
|
|
44
|
-
};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ExtendThemeProps } from 'src';
|
|
3
|
+
import { IconName } from '../Icon/types';
|
|
4
|
+
export declare type AlertProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The icon of the alert.
|
|
7
|
+
* @default 'info'
|
|
8
|
+
*/
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
/**
|
|
11
|
+
* The variantion of the alert component style
|
|
12
|
+
* @default 'filled'
|
|
13
|
+
*/
|
|
14
|
+
variant?: 'outlined' | 'filled' | 'closable';
|
|
15
|
+
/**
|
|
16
|
+
* The type of the alert component
|
|
17
|
+
* @default 'default'
|
|
18
|
+
*/
|
|
19
|
+
type?: 'default' | 'success' | 'warning' | 'error' | 'critical' | 'informative';
|
|
20
|
+
/**
|
|
21
|
+
* The message of the alert
|
|
22
|
+
*/
|
|
23
|
+
content?: ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* The title of the alert
|
|
26
|
+
*/
|
|
27
|
+
title?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Sets a max width to alert
|
|
30
|
+
*/
|
|
31
|
+
maxWidth?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Provides a callback that is called when the close button is clicked.
|
|
34
|
+
* @description This props are available when variant is set to 'closable'
|
|
35
|
+
*/
|
|
36
|
+
onClose?: () => void;
|
|
37
|
+
};
|
|
38
|
+
export declare type IStyledAlert = {
|
|
39
|
+
maxWidth?: number;
|
|
40
|
+
variant?: 'outlined' | 'filled' | 'closable';
|
|
41
|
+
type?: 'default' | 'success' | 'warning' | 'error' | 'critical' | 'informative';
|
|
42
|
+
theme?: ExtendThemeProps;
|
|
43
|
+
haveContent?: boolean;
|
|
44
|
+
};
|
|
45
45
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=avatar.test.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IAvatarComponent } from './types';
|
|
3
|
-
declare const Avatar: FC<IAvatarComponent>;
|
|
4
|
-
export default Avatar;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IAvatarComponent } from './types';
|
|
3
|
+
declare const Avatar: FC<IAvatarComponent>;
|
|
4
|
+
export default Avatar;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { GenericAvatarStyled } from './types';
|
|
3
|
-
export declare const AvatarWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const AvatarImage: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
11
|
-
export declare const AvatarInitials: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
-
export declare const AvatarInformation: import("@emotion/styled").StyledComponent<{
|
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
-
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
export declare const AvatarSkeleton: import("@emotion/styled").StyledComponent<{
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
-
} & GenericAvatarStyled & {
|
|
23
|
-
circle?: boolean | undefined;
|
|
24
|
-
description?: boolean | undefined;
|
|
25
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenericAvatarStyled } from './types';
|
|
3
|
+
export declare const AvatarWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const AvatarImage: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
11
|
+
export declare const AvatarInitials: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
+
export declare const AvatarInformation: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
} & GenericAvatarStyled, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
+
export declare const AvatarSkeleton: import("@emotion/styled").StyledComponent<{
|
|
20
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
+
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
} & GenericAvatarStyled & {
|
|
23
|
+
circle?: boolean | undefined;
|
|
24
|
+
description?: boolean | undefined;
|
|
25
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ExtendThemeProps, GlobalColorsProps } from 'src';
|
|
2
|
-
export declare type IAvatarComponent = {
|
|
3
|
-
name: string;
|
|
4
|
-
src?: string;
|
|
5
|
-
information?: string;
|
|
6
|
-
boxColor?: GlobalColorsProps | (string & {});
|
|
7
|
-
size?: 'small' | 'medium' | 'large';
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare type GenericAvatarStyled = {
|
|
11
|
-
boxColor?: GlobalColorsProps | (string & {});
|
|
12
|
-
theme?: {
|
|
13
|
-
size: 'small' | 'medium' | 'large';
|
|
14
|
-
} & ExtendThemeProps;
|
|
15
|
-
};
|
|
1
|
+
import { ExtendThemeProps, GlobalColorsProps } from 'src';
|
|
2
|
+
export declare type IAvatarComponent = {
|
|
3
|
+
name: string;
|
|
4
|
+
src?: string;
|
|
5
|
+
information?: string;
|
|
6
|
+
boxColor?: GlobalColorsProps | (string & {});
|
|
7
|
+
size?: 'small' | 'medium' | 'large';
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare type GenericAvatarStyled = {
|
|
11
|
+
boxColor?: GlobalColorsProps | (string & {});
|
|
12
|
+
theme?: {
|
|
13
|
+
size: 'small' | 'medium' | 'large';
|
|
14
|
+
} & ExtendThemeProps;
|
|
15
|
+
};
|
|
16
16
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=badge.test.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IBadgeProps } from './types';
|
|
3
|
-
declare const Badge: FC<IBadgeProps>;
|
|
4
|
-
export default Badge;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IBadgeProps } from './types';
|
|
3
|
+
declare const Badge: FC<IBadgeProps>;
|
|
4
|
+
export default Badge;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BadgeStyledProps } from './types';
|
|
3
|
-
export declare const BadgeContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const BadgeCircle: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
} & BadgeStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
-
export declare const BadgeSkeleton: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
} & {
|
|
15
|
-
circle?: boolean | undefined;
|
|
16
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BadgeStyledProps } from './types';
|
|
3
|
+
export declare const BadgeContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const BadgeCircle: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
} & BadgeStyledProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
export declare const BadgeSkeleton: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
circle?: boolean | undefined;
|
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
17
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
declare type BadgeTypes = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'informative' | 'success' | 'success_secondary' | 'warning' | 'warning_secondary' | 'error' | 'critical';
|
|
3
|
-
export declare type IBadgeProps = {
|
|
4
|
-
type: BadgeTypes;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export declare type BadgeStyledProps = {
|
|
9
|
-
type: BadgeTypes;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
declare type BadgeTypes = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'informative' | 'success' | 'success_secondary' | 'warning' | 'warning_secondary' | 'error' | 'critical';
|
|
3
|
+
export declare type IBadgeProps = {
|
|
4
|
+
type: BadgeTypes;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare type BadgeStyledProps = {
|
|
9
|
+
type: BadgeTypes;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
12
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=Button.test.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { ButtonProps } from './types';
|
|
3
|
-
export default function Button({ children, leftIcon, rightIcon, variant, bgColor, size, fullWidth, textColor, type, iconColor, ...props }: ButtonProps & ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { ButtonProps } from './types';
|
|
3
|
+
export default function Button({ children, leftIcon, rightIcon, variant, bgColor, size, fullWidth, textColor, type, iconColor, ...props }: ButtonProps & ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ButtonProps } from './types';
|
|
3
|
-
export declare const ButtonContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & ButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
7
|
-
export declare const IconContainer: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
-
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from './types';
|
|
3
|
+
export declare const ButtonContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & ButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
7
|
+
export declare const IconContainer: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
15
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { IconName } from '../Icon/types';
|
|
2
|
-
import { GlobalColorsProps } from '../../shared/theme';
|
|
3
|
-
declare type buttonVariant = 'outline' | 'solid' | 'ghost' | 'link';
|
|
4
|
-
declare type buttonColor = GlobalColorsProps | (string & {});
|
|
5
|
-
declare type responsivePattern<T = any> = {
|
|
6
|
-
base?: T;
|
|
7
|
-
sm?: T;
|
|
8
|
-
md?: T;
|
|
9
|
-
lg?: T;
|
|
10
|
-
xl?: T;
|
|
11
|
-
xxl?: T;
|
|
12
|
-
};
|
|
13
|
-
declare type sizeOptions = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
-
export interface ButtonProps {
|
|
15
|
-
/**
|
|
16
|
-
* The button's properties change making it not clickable and changing it's color.
|
|
17
|
-
*
|
|
18
|
-
* @default 'solid'
|
|
19
|
-
* @example 'solid' | 'outline' | 'ghost' | 'link'
|
|
20
|
-
* @type buttonVariant
|
|
21
|
-
* @memberof ButtonProps
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The icon to be displayed on the left side of the button.
|
|
26
|
-
* This property takes priority when rightIcon is passed too.
|
|
27
|
-
*
|
|
28
|
-
* @default ''
|
|
29
|
-
* @type IconName
|
|
30
|
-
* @memberof ButtonProps
|
|
31
|
-
*/
|
|
32
|
-
leftIcon?: IconName;
|
|
33
|
-
/**
|
|
34
|
-
* The icon to be displayed on the right side of the button.
|
|
35
|
-
* This property has no priority and will **not** be rendered
|
|
36
|
-
* when leftIcon is passed.
|
|
37
|
-
*
|
|
38
|
-
* @default ''
|
|
39
|
-
* @type IconName
|
|
40
|
-
* @memberof ButtonProps
|
|
41
|
-
*/
|
|
42
|
-
rightIcon?: IconName;
|
|
43
|
-
/**
|
|
44
|
-
* The button height changes based on the string passed to this prop
|
|
45
|
-
*
|
|
46
|
-
* @default 'md'
|
|
47
|
-
* @type sizeOptions
|
|
48
|
-
* @memberof ButtonProps
|
|
49
|
-
* @example 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
50
|
-
*/
|
|
51
|
-
size?: sizeOptions;
|
|
52
|
-
/**
|
|
53
|
-
* The button's type, it can be ghost, solid, outline or link.
|
|
54
|
-
*
|
|
55
|
-
* @default 'solid'
|
|
56
|
-
* @example 'solid' | 'outline' | 'ghost' | 'link'
|
|
57
|
-
* @type buttonVariant
|
|
58
|
-
* @memberof ButtonProps
|
|
59
|
-
*/
|
|
60
|
-
variant?: buttonVariant;
|
|
61
|
-
/**
|
|
62
|
-
* The button's color, should be passed as a string.
|
|
63
|
-
*
|
|
64
|
-
* @default 'primary'
|
|
65
|
-
* @example 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark'
|
|
66
|
-
* @type buttonColor
|
|
67
|
-
* @memberof ButtonProps
|
|
68
|
-
*/
|
|
69
|
-
bgColor?: buttonColor;
|
|
70
|
-
iconColor?: GlobalColorsProps | string;
|
|
71
|
-
/**
|
|
72
|
-
* Property that makes the button take 100% of the width of the parent component.
|
|
73
|
-
*
|
|
74
|
-
* @default false
|
|
75
|
-
* @example true
|
|
76
|
-
* @example { base: true, sm: false', md: false }
|
|
77
|
-
* @example { base: 'md', md: 'xl' }
|
|
78
|
-
* @type boolean | responsivePattern<boolean>
|
|
79
|
-
* @memberof ButtonProps
|
|
80
|
-
*/
|
|
81
|
-
fullWidth?: boolean | responsivePattern<boolean>;
|
|
82
|
-
/**
|
|
83
|
-
* The color text of the button.
|
|
84
|
-
*
|
|
85
|
-
* @default 'white'
|
|
86
|
-
* @example 'white' | 'black'
|
|
87
|
-
* @type string
|
|
88
|
-
* @memberof ButtonProps
|
|
89
|
-
*/
|
|
90
|
-
textColor?: buttonColor;
|
|
91
|
-
}
|
|
92
|
-
export {};
|
|
1
|
+
import { IconName } from '../Icon/types';
|
|
2
|
+
import { GlobalColorsProps } from '../../shared/theme';
|
|
3
|
+
declare type buttonVariant = 'outline' | 'solid' | 'ghost' | 'link';
|
|
4
|
+
declare type buttonColor = GlobalColorsProps | (string & {});
|
|
5
|
+
declare type responsivePattern<T = any> = {
|
|
6
|
+
base?: T;
|
|
7
|
+
sm?: T;
|
|
8
|
+
md?: T;
|
|
9
|
+
lg?: T;
|
|
10
|
+
xl?: T;
|
|
11
|
+
xxl?: T;
|
|
12
|
+
};
|
|
13
|
+
declare type sizeOptions = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
export interface ButtonProps {
|
|
15
|
+
/**
|
|
16
|
+
* The button's properties change making it not clickable and changing it's color.
|
|
17
|
+
*
|
|
18
|
+
* @default 'solid'
|
|
19
|
+
* @example 'solid' | 'outline' | 'ghost' | 'link'
|
|
20
|
+
* @type buttonVariant
|
|
21
|
+
* @memberof ButtonProps
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The icon to be displayed on the left side of the button.
|
|
26
|
+
* This property takes priority when rightIcon is passed too.
|
|
27
|
+
*
|
|
28
|
+
* @default ''
|
|
29
|
+
* @type IconName
|
|
30
|
+
* @memberof ButtonProps
|
|
31
|
+
*/
|
|
32
|
+
leftIcon?: IconName;
|
|
33
|
+
/**
|
|
34
|
+
* The icon to be displayed on the right side of the button.
|
|
35
|
+
* This property has no priority and will **not** be rendered
|
|
36
|
+
* when leftIcon is passed.
|
|
37
|
+
*
|
|
38
|
+
* @default ''
|
|
39
|
+
* @type IconName
|
|
40
|
+
* @memberof ButtonProps
|
|
41
|
+
*/
|
|
42
|
+
rightIcon?: IconName;
|
|
43
|
+
/**
|
|
44
|
+
* The button height changes based on the string passed to this prop
|
|
45
|
+
*
|
|
46
|
+
* @default 'md'
|
|
47
|
+
* @type sizeOptions
|
|
48
|
+
* @memberof ButtonProps
|
|
49
|
+
* @example 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
50
|
+
*/
|
|
51
|
+
size?: sizeOptions;
|
|
52
|
+
/**
|
|
53
|
+
* The button's type, it can be ghost, solid, outline or link.
|
|
54
|
+
*
|
|
55
|
+
* @default 'solid'
|
|
56
|
+
* @example 'solid' | 'outline' | 'ghost' | 'link'
|
|
57
|
+
* @type buttonVariant
|
|
58
|
+
* @memberof ButtonProps
|
|
59
|
+
*/
|
|
60
|
+
variant?: buttonVariant;
|
|
61
|
+
/**
|
|
62
|
+
* The button's color, should be passed as a string.
|
|
63
|
+
*
|
|
64
|
+
* @default 'primary'
|
|
65
|
+
* @example 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark'
|
|
66
|
+
* @type buttonColor
|
|
67
|
+
* @memberof ButtonProps
|
|
68
|
+
*/
|
|
69
|
+
bgColor?: buttonColor;
|
|
70
|
+
iconColor?: GlobalColorsProps | string;
|
|
71
|
+
/**
|
|
72
|
+
* Property that makes the button take 100% of the width of the parent component.
|
|
73
|
+
*
|
|
74
|
+
* @default false
|
|
75
|
+
* @example true
|
|
76
|
+
* @example { base: true, sm: false', md: false }
|
|
77
|
+
* @example { base: 'md', md: 'xl' }
|
|
78
|
+
* @type boolean | responsivePattern<boolean>
|
|
79
|
+
* @memberof ButtonProps
|
|
80
|
+
*/
|
|
81
|
+
fullWidth?: boolean | responsivePattern<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* The color text of the button.
|
|
84
|
+
*
|
|
85
|
+
* @default 'white'
|
|
86
|
+
* @example 'white' | 'black'
|
|
87
|
+
* @type string
|
|
88
|
+
* @memberof ButtonProps
|
|
89
|
+
*/
|
|
90
|
+
textColor?: buttonColor;
|
|
91
|
+
}
|
|
92
|
+
export {};
|
|
93
93
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=card.test.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CardProps } from './types';
|
|
3
|
-
export declare function Card({ cardPadding, borderRadius, variant, boxShadow, bgColor, children, ...rest }: CardProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CardProps } from './types';
|
|
3
|
+
export declare function Card({ cardPadding, borderRadius, variant, boxShadow, bgColor, children, ...rest }: CardProps): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BodyCardProps } from './types';
|
|
3
|
-
export declare const CardBody: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & BodyCardProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BodyCardProps } from './types';
|
|
3
|
+
export declare const CardBody: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & BodyCardProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
//# sourceMappingURL=styles.d.ts.map
|