@gympass/yoga 7.88.0 → 7.88.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Accordion/Accordion.theme.js +46 -0
- package/cjs/Accordion/index.js +35 -0
- package/cjs/ActionRequirement/ActionRequirement.theme.js +25 -0
- package/cjs/ActionRequirement/index.js +35 -0
- package/cjs/ActionRequirement/index.native.js +35 -0
- package/cjs/AutoComplete/AutoComplete.theme.js +77 -0
- package/cjs/AutoComplete/index.js +35 -0
- package/cjs/Avatar/Avatar.theme.js +25 -0
- package/cjs/Avatar/index.js +37 -0
- package/cjs/Avatar/index.native.js +37 -0
- package/cjs/Banner/Banner.theme.js +30 -0
- package/cjs/Banner/index.js +35 -0
- package/cjs/Banner/index.native.js +35 -0
- package/cjs/BottomSheet/BottomSheet.theme.js +44 -0
- package/cjs/BottomSheet/index.js +35 -0
- package/cjs/Box/index.js +35 -0
- package/cjs/Box/index.native.js +35 -0
- package/cjs/Button/Button.theme.js +157 -0
- package/cjs/Button/index.js +43 -0
- package/cjs/Button/index.native.js +41 -0
- package/cjs/Card/Card.native.theme.js +64 -0
- package/cjs/Card/Card.theme.js +177 -0
- package/cjs/Card/Card.web.theme.js +61 -0
- package/cjs/Card/index.js +32 -0
- package/cjs/Card/index.native.js +34 -0
- package/cjs/Checkbox/CheckIcon.js +25 -0
- package/cjs/Checkbox/Checkbox.theme.js +68 -0
- package/cjs/Checkbox/CheckboxSwitch.theme.js +90 -0
- package/cjs/Checkbox/index.js +26 -0
- package/cjs/Checkbox/index.native.js +26 -0
- package/cjs/Chips/index.js +35 -0
- package/cjs/Chips/index.native.js +35 -0
- package/cjs/Datepicker/Datepicker.theme.js +32 -0
- package/cjs/Datepicker/index.js +35 -0
- package/cjs/Dialog/Dialog.theme.js +43 -0
- package/cjs/Dialog/index.js +35 -0
- package/cjs/Divider/Divider.theme.js +25 -0
- package/cjs/Divider/index.js +35 -0
- package/cjs/Divider/index.native.js +35 -0
- package/cjs/Drawer/Drawer.theme.js +35 -0
- package/cjs/Drawer/index.js +35 -0
- package/cjs/Dropdown/Dropdown.theme.js +205 -0
- package/cjs/Dropdown/index.js +35 -0
- package/cjs/Dropdown/index.native.js +35 -0
- package/cjs/Feedback/Feedback.theme.js +29 -0
- package/cjs/Feedback/index.js +35 -0
- package/cjs/Grid/Grid.theme.js +43 -0
- package/cjs/Grid/index.js +34 -0
- package/cjs/Header/Header.theme.js +34 -0
- package/cjs/Header/index.js +35 -0
- package/cjs/Heading/Heading.theme.js +38 -0
- package/cjs/Heading/index.js +35 -0
- package/cjs/Icon/Icon.js +193 -0
- package/cjs/Icon/Icon.theme.js +25 -0
- package/cjs/Icon/index.js +35 -0
- package/cjs/Icon/index.native.js +35 -0
- package/cjs/Input/Input.theme.js +86 -0
- package/cjs/Input/index.js +30 -0
- package/cjs/Input/index.native.js +29 -0
- package/cjs/List/List.theme.js +49 -0
- package/cjs/List/index.js +27 -0
- package/cjs/List/index.native.js +26 -0
- package/cjs/Menu/Menu.theme.js +63 -0
- package/cjs/Menu/index.js +41 -0
- package/cjs/Popover/Popover.theme.js +25 -0
- package/cjs/Popover/index.js +35 -0
- package/cjs/Progress/Progress.theme.js +38 -0
- package/cjs/Progress/index.js +35 -0
- package/cjs/Progress/index.native.js +35 -0
- package/cjs/RadioGroup/RadioGroup.theme.js +76 -0
- package/cjs/RadioGroup/RadioGroupContext.js +26 -0
- package/cjs/RadioGroup/index.js +27 -0
- package/cjs/RadioGroup/index.native.js +27 -0
- package/cjs/Rating/Rating.theme.js +31 -0
- package/cjs/Rating/index.js +35 -0
- package/cjs/Rating/index.native.js +35 -0
- package/cjs/Result/Result.theme.js +25 -0
- package/cjs/Result/index.native.js +41 -0
- package/cjs/Skeleton/Skeleton.theme.js +42 -0
- package/cjs/Skeleton/index.js +35 -0
- package/cjs/Skeleton/index.native.js +35 -0
- package/cjs/Slider/Slider.theme.js +95 -0
- package/cjs/Slider/index.js +35 -0
- package/cjs/Slider/index.native.js +35 -0
- package/cjs/Snackbar/Snackbar.theme.js +81 -0
- package/cjs/Snackbar/index.js +35 -0
- package/cjs/Snackbar/index.native.js +35 -0
- package/cjs/Spinner/Spinner.theme.js +25 -0
- package/cjs/Spinner/index.js +35 -0
- package/cjs/Stepper/Stepper.theme.js +56 -0
- package/cjs/Stepper/activeDot.js +25 -0
- package/cjs/Stepper/index.js +26 -0
- package/cjs/Stepper/index.native.js +26 -0
- package/cjs/Tag/Tag.theme.js +58 -0
- package/cjs/Tag/index.js +37 -0
- package/cjs/Tag/index.native.js +37 -0
- package/cjs/Text/Text.theme.js +93 -0
- package/cjs/Text/index.js +39 -0
- package/cjs/Text/index.native.js +39 -0
- package/cjs/Text/sharedTextStyle.js +64 -0
- package/cjs/Text/textStyle.android.js +57 -0
- package/cjs/Text/textStyle.ios.js +39 -0
- package/cjs/Text/textStyle.web.js +47 -0
- package/cjs/TextArea/TextArea.theme.js +36 -0
- package/cjs/TextArea/index.js +35 -0
- package/cjs/TextArea/index.native.js +35 -0
- package/cjs/Theme/Provider/Provider.js +103 -0
- package/cjs/Theme/Provider/index.js +30 -0
- package/cjs/Theme/Provider/index.native.js +35 -0
- package/cjs/Theme/Provider/native/index.js +35 -0
- package/cjs/Theme/Provider/web/FontLoader.js +51 -0
- package/cjs/Theme/Provider/web/FontLoader.test.js +39 -0
- package/cjs/Theme/Provider/web/GlobalStyle.js +38 -0
- package/cjs/Theme/Provider/web/GlobalStyle.test.js +44 -0
- package/cjs/Theme/Provider/web/ThemeProvider.js +78 -0
- package/cjs/Theme/Provider/web/expectCssMatches.js +34 -0
- package/cjs/Theme/Provider/web/index.js +41 -0
- package/cjs/Theme/helpers/themeGenerator/index.js +35 -0
- package/cjs/Theme/helpers/themeGenerator/themeGenerator.js +33 -0
- package/cjs/Theme/helpers/themeGenerator/themeGenerator.test.js +43 -0
- package/cjs/Theme/helpers/themeReader/base.test.js +96 -0
- package/cjs/Theme/helpers/themeReader/index.js +56 -0
- package/cjs/Theme/helpers/themeReader/native/native.test.js +61 -0
- package/cjs/Theme/helpers/themeReader/web/web.test.js +55 -0
- package/cjs/Theme/index.js +48 -0
- package/cjs/Theme/index.native.js +46 -0
- package/cjs/Theme/theme/componentThemes.js +112 -0
- package/cjs/Theme/theme/index.js +35 -0
- package/cjs/Theme/theme/theme.js +109 -0
- package/cjs/hooks/index.js +26 -0
- package/cjs/hooks/useCombinedRefs.js +44 -0
- package/cjs/hooks/useKeyPress.js +50 -0
- package/cjs/hooks/usePortal.js +63 -0
- package/cjs/index.js +164 -0
- package/cjs/index.native.js +122 -0
- package/cjs/shared/HiddenInput.js +45 -0
- package/cjs/shared/index.js +49 -0
- package/cjs/shared/index.native.js +36 -0
- package/cjs/shared/propTypes/charLength.js +36 -0
- package/cjs/shared/propTypes/deprecated.js +34 -0
- package/cjs/shared/propTypes/index.js +50 -0
- package/cjs/shared/propTypes/limitChildren.js +35 -0
- package/cjs/shared/propTypes/max.js +35 -0
- package/cjs/shared/propTypes/typeof.js +47 -0
- package/esm/Accordion/Accordion.theme.js +26 -0
- package/esm/Accordion/index.js +5 -0
- package/esm/ActionRequirement/ActionRequirement.theme.js +5 -0
- package/esm/ActionRequirement/index.js +5 -0
- package/esm/ActionRequirement/index.native.js +5 -0
- package/esm/ActionRequirement/native/ActionRequirement.js +57 -0
- package/esm/ActionRequirement/native/ActionRequirement.test.js +49 -0
- package/esm/ActionRequirement/native/ActionRequirementStyles.js +69 -0
- package/esm/ActionRequirement/native/index.js +13 -0
- package/esm/AutoComplete/AutoComplete.theme.js +49 -0
- package/esm/AutoComplete/index.js +5 -0
- package/esm/Avatar/Avatar.theme.js +5 -0
- package/esm/Avatar/index.js +7 -0
- package/esm/Avatar/index.native.js +7 -0
- package/esm/Avatar/native/Avatar.js +141 -0
- package/esm/Avatar/native/Avatar.test.js +39 -0
- package/esm/Avatar/native/AvatarCircle.js +54 -0
- package/esm/Banner/Banner.theme.js +10 -0
- package/esm/Banner/index.js +5 -0
- package/esm/Banner/index.native.js +5 -0
- package/esm/Banner/native/Banner.js +160 -0
- package/esm/Banner/native/Banner.test.js +113 -0
- package/esm/Banner/native/index.js +5 -0
- package/esm/BottomSheet/BottomSheet.theme.js +24 -0
- package/esm/BottomSheet/index.js +5 -0
- package/esm/Box/index.js +5 -0
- package/esm/Box/index.native.js +5 -0
- package/esm/Box/native/Box.js +7 -0
- package/esm/Box/native/Box.test.js +21 -0
- package/esm/Box/native/index.js +5 -0
- package/esm/Button/Button.theme.js +137 -0
- package/esm/Button/index.js +13 -0
- package/esm/Button/index.native.js +11 -0
- package/esm/Button/native/Button.js +198 -0
- package/esm/Button/native/Button.test.js +342 -0
- package/esm/Button/native/Icon.js +156 -0
- package/esm/Button/native/Link.js +64 -0
- package/esm/Button/native/Text.js +130 -0
- package/esm/Button/native/withTouchable.js +89 -0
- package/esm/Card/Card.native.theme.js +44 -0
- package/esm/Card/Card.theme.js +157 -0
- package/esm/Card/Card.web.theme.js +41 -0
- package/esm/Card/index.js +6 -0
- package/esm/Card/index.native.js +7 -0
- package/esm/Card/native/Card/Actions.js +11 -0
- package/esm/Card/native/Card/Card.js +181 -0
- package/esm/Card/native/Card/Card.test.js +20 -0
- package/esm/Card/native/Card/Content.js +7 -0
- package/esm/Card/native/Card/Header.js +7 -0
- package/esm/Card/native/Card/index.js +11 -0
- package/esm/Card/native/EventCard/EventCard.js +212 -0
- package/esm/Card/native/EventCard/EventCard.test.js +73 -0
- package/esm/Card/native/EventCard/index.js +5 -0
- package/esm/Card/native/GymCard/CheckIn/Avatar.js +47 -0
- package/esm/Card/native/GymCard/CheckIn/CheckIn.js +113 -0
- package/esm/Card/native/GymCard/CheckIn/CheckIn.test.js +46 -0
- package/esm/Card/native/GymCard/CheckIn/Content.js +21 -0
- package/esm/Card/native/GymCard/CheckIn/Header.js +24 -0
- package/esm/Card/native/GymCard/CheckIn/index.js +5 -0
- package/esm/Card/native/GymCard/index.js +8 -0
- package/esm/Card/native/PlanCard/Actions.js +27 -0
- package/esm/Card/native/PlanCard/Content.js +134 -0
- package/esm/Card/native/PlanCard/List.js +113 -0
- package/esm/Card/native/PlanCard/PlanCard.js +114 -0
- package/esm/Card/native/PlanCard/PlanCard.test.js +100 -0
- package/esm/Card/native/PlanCard/Subtitle.js +25 -0
- package/esm/Card/native/PlanCard/Tag.js +62 -0
- package/esm/Card/native/PlanCard/index.js +18 -0
- package/esm/Card/native/index.js +10 -0
- package/esm/Checkbox/CheckIcon.js +5 -0
- package/esm/Checkbox/Checkbox.theme.js +48 -0
- package/esm/Checkbox/CheckboxSwitch.theme.js +70 -0
- package/esm/Checkbox/index.js +6 -0
- package/esm/Checkbox/index.native.js +6 -0
- package/esm/Checkbox/native/Checkbox.js +276 -0
- package/esm/Checkbox/native/Checkbox.test.js +108 -0
- package/esm/Checkbox/native/Switch.js +166 -0
- package/esm/Checkbox/native/Switch.test.js +50 -0
- package/esm/Checkbox/native/index.js +6 -0
- package/esm/Chips/index.js +5 -0
- package/esm/Chips/index.native.js +5 -0
- package/esm/Chips/native/Chips.js +182 -0
- package/esm/Chips/native/Chips.test.js +108 -0
- package/esm/Chips/native/Counter.js +36 -0
- package/esm/Chips/native/index.js +5 -0
- package/esm/Datepicker/Datepicker.theme.js +12 -0
- package/esm/Datepicker/index.js +5 -0
- package/esm/Dialog/Dialog.theme.js +23 -0
- package/esm/Dialog/index.js +5 -0
- package/esm/Divider/Divider.theme.js +5 -0
- package/esm/Divider/index.js +5 -0
- package/esm/Divider/index.native.js +5 -0
- package/esm/Divider/native/Divider.js +33 -0
- package/esm/Divider/native/Divider.test.js +44 -0
- package/esm/Divider/native/index.js +5 -0
- package/esm/Drawer/Drawer.theme.js +15 -0
- package/esm/Drawer/index.js +5 -0
- package/esm/Dropdown/Dropdown.theme.js +185 -0
- package/esm/Dropdown/index.js +5 -0
- package/esm/Dropdown/index.native.js +5 -0
- package/esm/Dropdown/native/Backdrop.js +157 -0
- package/esm/Dropdown/native/Backdrop.test.js +22 -0
- package/esm/Dropdown/native/Dropdown.js +220 -0
- package/esm/Dropdown/native/Dropdown.test.js +76 -0
- package/esm/Dropdown/native/Options.android.js +81 -0
- package/esm/Dropdown/native/Options.ios.js +97 -0
- package/esm/Dropdown/native/index.js +5 -0
- package/esm/Feedback/Feedback.theme.js +9 -0
- package/esm/Feedback/index.js +5 -0
- package/esm/Grid/Grid.theme.js +23 -0
- package/esm/Grid/index.js +7 -0
- package/esm/Header/Header.theme.js +14 -0
- package/esm/Header/index.js +5 -0
- package/esm/Heading/Heading.theme.js +18 -0
- package/esm/Heading/index.js +5 -0
- package/esm/Icon/Icon.js +172 -0
- package/esm/Icon/Icon.theme.js +5 -0
- package/esm/Icon/index.js +5 -0
- package/esm/Icon/index.native.js +5 -0
- package/esm/Icon/native/Icon.test.js +69 -0
- package/esm/Icon/native/index.js +5 -0
- package/esm/Input/Input.theme.js +66 -0
- package/esm/Input/index.js +10 -0
- package/esm/Input/index.native.js +9 -0
- package/esm/Input/native/Email.js +37 -0
- package/esm/Input/native/Email.test.js +14 -0
- package/esm/Input/native/Helper.js +87 -0
- package/esm/Input/native/Input.js +365 -0
- package/esm/Input/native/Input.test.js +132 -0
- package/esm/Input/native/Number.js +29 -0
- package/esm/Input/native/Number.test.js +14 -0
- package/esm/Input/native/Password.js +166 -0
- package/esm/Input/native/Password.test.js +109 -0
- package/esm/Input/native/Tel.js +36 -0
- package/esm/Input/native/Tel.test.js +14 -0
- package/esm/Input/native/index.js +12 -0
- package/esm/List/List.theme.js +29 -0
- package/esm/List/index.js +7 -0
- package/esm/List/index.native.js +6 -0
- package/esm/List/native/List.js +43 -0
- package/esm/List/native/List.test.js +88 -0
- package/esm/List/native/ListItem.js +109 -0
- package/esm/List/native/index.js +6 -0
- package/esm/Menu/Menu.theme.js +43 -0
- package/esm/Menu/index.js +11 -0
- package/esm/Popover/Popover.theme.js +5 -0
- package/esm/Popover/index.js +5 -0
- package/esm/Progress/Progress.theme.js +18 -0
- package/esm/Progress/index.js +5 -0
- package/esm/Progress/index.native.js +5 -0
- package/esm/Progress/native/Progress.js +198 -0
- package/esm/Progress/native/Progress.test.js +134 -0
- package/esm/Progress/native/index.js +5 -0
- package/esm/RadioGroup/RadioGroup.theme.js +56 -0
- package/esm/RadioGroup/RadioGroupContext.js +6 -0
- package/esm/RadioGroup/index.js +7 -0
- package/esm/RadioGroup/index.native.js +7 -0
- package/esm/RadioGroup/native/Button/RadioButton.js +113 -0
- package/esm/RadioGroup/native/Button/RadioButton.test.js +70 -0
- package/esm/RadioGroup/native/Radio/Radio.js +171 -0
- package/esm/RadioGroup/native/Radio/Radio.test.js +74 -0
- package/esm/RadioGroup/native/RadioGroup.js +107 -0
- package/esm/RadioGroup/native/RadioGroup.test.js +56 -0
- package/esm/RadioGroup/native/index.js +8 -0
- package/esm/Rating/Rating.theme.js +11 -0
- package/esm/Rating/index.js +5 -0
- package/esm/Rating/index.native.js +5 -0
- package/esm/Rating/native/Rating.js +197 -0
- package/esm/Rating/native/Rating.test.js +91 -0
- package/esm/Rating/native/index.js +5 -0
- package/esm/Result/Result.theme.js +5 -0
- package/esm/Result/index.native.js +11 -0
- package/esm/Result/native/Attendances.js +54 -0
- package/esm/Result/native/Details.js +130 -0
- package/esm/Result/native/Rate.js +39 -0
- package/esm/Result/native/Result.js +98 -0
- package/esm/Result/native/Result.test.js +128 -0
- package/esm/Result/native/ResultButton.js +20 -0
- package/esm/Result/native/Tags.js +65 -0
- package/esm/Result/native/TinyTextIcon.js +29 -0
- package/esm/Result/native/index.js +5 -0
- package/esm/Skeleton/Skeleton.theme.js +22 -0
- package/esm/Skeleton/index.js +5 -0
- package/esm/Skeleton/index.native.js +5 -0
- package/esm/Skeleton/native/Skeleton.js +142 -0
- package/esm/Skeleton/native/Skeleton.test.js +40 -0
- package/esm/Skeleton/native/index.js +5 -0
- package/esm/Slider/Slider.theme.js +75 -0
- package/esm/Slider/index.js +5 -0
- package/esm/Slider/index.native.js +5 -0
- package/esm/Slider/native/Label.js +33 -0
- package/esm/Slider/native/Marker.js +84 -0
- package/esm/Slider/native/Slider.js +169 -0
- package/esm/Slider/native/Slider.test.js +105 -0
- package/esm/Slider/native/Step.js +27 -0
- package/esm/Slider/native/Tooltip.js +177 -0
- package/esm/Snackbar/Snackbar.theme.js +61 -0
- package/esm/Snackbar/index.js +5 -0
- package/esm/Snackbar/index.native.js +5 -0
- package/esm/Snackbar/native/Snackbar.js +246 -0
- package/esm/Snackbar/native/Snackbar.test.js +108 -0
- package/esm/Snackbar/native/SnackbarAnimationWrapper.js +114 -0
- package/esm/Snackbar/native/index.js +5 -0
- package/esm/Spinner/Spinner.theme.js +5 -0
- package/esm/Spinner/index.js +5 -0
- package/esm/Stepper/Stepper.theme.js +36 -0
- package/esm/Stepper/activeDot.js +5 -0
- package/esm/Stepper/index.js +6 -0
- package/esm/Stepper/index.native.js +6 -0
- package/esm/Stepper/native/Dots.js +75 -0
- package/esm/Stepper/native/Line.js +68 -0
- package/esm/Stepper/native/Step.js +33 -0
- package/esm/Stepper/native/Stepper.js +97 -0
- package/esm/Stepper/native/Stepper.test.js +64 -0
- package/esm/Stepper/native/index.js +6 -0
- package/esm/Tag/Tag.theme.js +38 -0
- package/esm/Tag/index.js +7 -0
- package/esm/Tag/index.native.js +7 -0
- package/esm/Tag/native/Informative.js +127 -0
- package/esm/Tag/native/Tag.js +121 -0
- package/esm/Tag/native/Tag.test.js +74 -0
- package/esm/Tag/native/index.js +5 -0
- package/esm/Text/Text.theme.js +73 -0
- package/esm/Text/index.js +35 -0
- package/esm/Text/index.native.js +35 -0
- package/esm/Text/native/Text.js +123 -0
- package/esm/Text/native/Text.test.js +150 -0
- package/esm/Text/native/index.js +34 -0
- package/esm/Text/sharedTextStyle.js +44 -0
- package/esm/Text/textStyle.android.js +27 -0
- package/esm/Text/textStyle.ios.js +9 -0
- package/esm/Text/textStyle.web.js +17 -0
- package/esm/TextArea/TextArea.theme.js +6 -0
- package/esm/TextArea/index.js +5 -0
- package/esm/TextArea/index.native.js +5 -0
- package/esm/TextArea/native/TextArea.js +64 -0
- package/esm/TextArea/native/TextArea.test.js +12 -0
- package/esm/TextArea/native/index.js +5 -0
- package/esm/Theme/Provider/Provider.js +75 -0
- package/esm/Theme/Provider/index.js +5 -0
- package/esm/Theme/Provider/index.native.js +5 -0
- package/esm/Theme/Provider/native/index.js +5 -0
- package/esm/Theme/Provider/web/FontLoader.js +21 -0
- package/esm/Theme/Provider/web/FontLoader.test.js +16 -0
- package/esm/Theme/Provider/web/GlobalStyle.js +18 -0
- package/esm/Theme/Provider/web/GlobalStyle.test.js +21 -0
- package/esm/Theme/Provider/web/ThemeProvider.js +50 -0
- package/esm/Theme/Provider/web/expectCssMatches.js +14 -0
- package/esm/Theme/Provider/web/index.js +6 -0
- package/esm/Theme/helpers/themeGenerator/index.js +5 -0
- package/esm/Theme/helpers/themeGenerator/themeGenerator.js +13 -0
- package/esm/Theme/helpers/themeGenerator/themeGenerator.test.js +20 -0
- package/esm/Theme/helpers/themeReader/base.test.js +73 -0
- package/esm/Theme/helpers/themeReader/index.js +26 -0
- package/esm/Theme/helpers/themeReader/native/native.test.js +38 -0
- package/esm/Theme/helpers/themeReader/web/web.test.js +32 -0
- package/esm/Theme/index.js +11 -0
- package/esm/Theme/index.native.js +10 -0
- package/esm/Theme/theme/componentThemes.js +82 -0
- package/esm/Theme/theme/index.js +5 -0
- package/esm/Theme/theme/theme.js +81 -0
- package/esm/hooks/index.js +3 -0
- package/esm/hooks/useCombinedRefs.js +20 -0
- package/esm/hooks/useKeyPress.js +26 -0
- package/esm/hooks/usePortal.js +39 -0
- package/esm/index.js +90 -0
- package/esm/index.native.js +58 -0
- package/esm/shared/HiddenInput.js +15 -0
- package/esm/shared/index.js +16 -0
- package/esm/shared/index.native.js +14 -0
- package/esm/shared/propTypes/charLength.js +16 -0
- package/esm/shared/propTypes/deprecated.js +14 -0
- package/esm/shared/propTypes/index.js +12 -0
- package/esm/shared/propTypes/limitChildren.js +15 -0
- package/esm/shared/propTypes/max.js +15 -0
- package/esm/shared/propTypes/typeof.js +17 -0
- package/package.json +2 -2
package/cjs/index.js
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var src_exports = {};
|
|
30
|
+
__export(src_exports, {
|
|
31
|
+
Accordion: () => import_Accordion.default,
|
|
32
|
+
ActionRequirement: () => import_ActionRequirement.default,
|
|
33
|
+
AutoComplete: () => import_AutoComplete.default,
|
|
34
|
+
Avatar: () => import_Avatar.default,
|
|
35
|
+
Banner: () => import_Banner.default,
|
|
36
|
+
BottomSheet: () => import_BottomSheet.default,
|
|
37
|
+
Box: () => import_Box.default,
|
|
38
|
+
Button: () => import_Button.default,
|
|
39
|
+
Card: () => import_Card.Card,
|
|
40
|
+
Checkbox: () => import_Checkbox.default,
|
|
41
|
+
Chips: () => import_Chips.default,
|
|
42
|
+
Col: () => import_Grid.Col,
|
|
43
|
+
Container: () => import_Grid.Container,
|
|
44
|
+
Datepicker: () => import_Datepicker.default,
|
|
45
|
+
Dialog: () => import_Dialog.default,
|
|
46
|
+
Divider: () => import_Divider.default,
|
|
47
|
+
Drawer: () => import_Drawer.default,
|
|
48
|
+
Dropdown: () => import_Dropdown.default,
|
|
49
|
+
EventCard: () => import_Card.EventCard,
|
|
50
|
+
Feedback: () => import_Feedback.default,
|
|
51
|
+
FontLoader: () => import_Theme.FontLoader,
|
|
52
|
+
Header: () => import_Header.default,
|
|
53
|
+
Heading: () => import_Heading.default,
|
|
54
|
+
Hide: () => import_Grid.Hide,
|
|
55
|
+
Icon: () => import_Icon.default,
|
|
56
|
+
Input: () => import_Input.default,
|
|
57
|
+
List: () => import_List.default,
|
|
58
|
+
Menu: () => import_Menu.default,
|
|
59
|
+
PlanCard: () => import_Card.PlanCard,
|
|
60
|
+
Popover: () => import_Popover.default,
|
|
61
|
+
Progress: () => import_Progress.default,
|
|
62
|
+
RadioGroup: () => import_RadioGroup.default,
|
|
63
|
+
Rating: () => import_Rating.default,
|
|
64
|
+
Row: () => import_Grid.Row,
|
|
65
|
+
Skeleton: () => import_Skeleton.default,
|
|
66
|
+
Slider: () => import_Slider.default,
|
|
67
|
+
Snackbar: () => import_Snackbar.default,
|
|
68
|
+
Spinner: () => import_Spinner.default,
|
|
69
|
+
Stepper: () => import_Stepper.default,
|
|
70
|
+
Tag: () => import_Tag.default,
|
|
71
|
+
Text: () => import_Text.default,
|
|
72
|
+
TextArea: () => import_TextArea.default,
|
|
73
|
+
ThemeProvider: () => import_Theme.default,
|
|
74
|
+
createTheme: () => import_Theme.createTheme,
|
|
75
|
+
theme: () => import_Theme.theme,
|
|
76
|
+
yogaTheme: () => import_Theme.yogaTheme
|
|
77
|
+
});
|
|
78
|
+
module.exports = __toCommonJS(src_exports);
|
|
79
|
+
var import_Theme = __toESM(require("./Theme"));
|
|
80
|
+
var import_Accordion = __toESM(require("./Accordion"));
|
|
81
|
+
var import_Button = __toESM(require("./Button"));
|
|
82
|
+
var import_List = __toESM(require("./List"));
|
|
83
|
+
var import_Checkbox = __toESM(require("./Checkbox"));
|
|
84
|
+
var import_Slider = __toESM(require("./Slider"));
|
|
85
|
+
var import_RadioGroup = __toESM(require("./RadioGroup"));
|
|
86
|
+
var import_Card = require("./Card");
|
|
87
|
+
var import_Stepper = __toESM(require("./Stepper"));
|
|
88
|
+
var import_Grid = require("./Grid");
|
|
89
|
+
var import_Text = __toESM(require("./Text"));
|
|
90
|
+
var import_Rating = __toESM(require("./Rating"));
|
|
91
|
+
var import_Tag = __toESM(require("./Tag"));
|
|
92
|
+
var import_Input = __toESM(require("./Input"));
|
|
93
|
+
var import_Progress = __toESM(require("./Progress"));
|
|
94
|
+
var import_Dropdown = __toESM(require("./Dropdown"));
|
|
95
|
+
var import_TextArea = __toESM(require("./TextArea"));
|
|
96
|
+
var import_AutoComplete = __toESM(require("./AutoComplete"));
|
|
97
|
+
var import_Icon = __toESM(require("./Icon"));
|
|
98
|
+
var import_Chips = __toESM(require("./Chips"));
|
|
99
|
+
var import_Box = __toESM(require("./Box"));
|
|
100
|
+
var import_Snackbar = __toESM(require("./Snackbar"));
|
|
101
|
+
var import_Avatar = __toESM(require("./Avatar"));
|
|
102
|
+
var import_BottomSheet = __toESM(require("./BottomSheet"));
|
|
103
|
+
var import_Dialog = __toESM(require("./Dialog"));
|
|
104
|
+
var import_Divider = __toESM(require("./Divider"));
|
|
105
|
+
var import_Header = __toESM(require("./Header"));
|
|
106
|
+
var import_Menu = __toESM(require("./Menu"));
|
|
107
|
+
var import_Banner = __toESM(require("./Banner"));
|
|
108
|
+
var import_Heading = __toESM(require("./Heading"));
|
|
109
|
+
var import_Feedback = __toESM(require("./Feedback"));
|
|
110
|
+
var import_Datepicker = __toESM(require("./Datepicker"));
|
|
111
|
+
var import_Drawer = __toESM(require("./Drawer"));
|
|
112
|
+
var import_Skeleton = __toESM(require("./Skeleton"));
|
|
113
|
+
var import_ActionRequirement = __toESM(require("./ActionRequirement"));
|
|
114
|
+
var import_Popover = __toESM(require("./Popover"));
|
|
115
|
+
var import_Spinner = __toESM(require("./Spinner"));
|
|
116
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
117
|
+
0 && (module.exports = {
|
|
118
|
+
Accordion,
|
|
119
|
+
ActionRequirement,
|
|
120
|
+
AutoComplete,
|
|
121
|
+
Avatar,
|
|
122
|
+
Banner,
|
|
123
|
+
BottomSheet,
|
|
124
|
+
Box,
|
|
125
|
+
Button,
|
|
126
|
+
Card,
|
|
127
|
+
Checkbox,
|
|
128
|
+
Chips,
|
|
129
|
+
Col,
|
|
130
|
+
Container,
|
|
131
|
+
Datepicker,
|
|
132
|
+
Dialog,
|
|
133
|
+
Divider,
|
|
134
|
+
Drawer,
|
|
135
|
+
Dropdown,
|
|
136
|
+
EventCard,
|
|
137
|
+
Feedback,
|
|
138
|
+
FontLoader,
|
|
139
|
+
Header,
|
|
140
|
+
Heading,
|
|
141
|
+
Hide,
|
|
142
|
+
Icon,
|
|
143
|
+
Input,
|
|
144
|
+
List,
|
|
145
|
+
Menu,
|
|
146
|
+
PlanCard,
|
|
147
|
+
Popover,
|
|
148
|
+
Progress,
|
|
149
|
+
RadioGroup,
|
|
150
|
+
Rating,
|
|
151
|
+
Row,
|
|
152
|
+
Skeleton,
|
|
153
|
+
Slider,
|
|
154
|
+
Snackbar,
|
|
155
|
+
Spinner,
|
|
156
|
+
Stepper,
|
|
157
|
+
Tag,
|
|
158
|
+
Text,
|
|
159
|
+
TextArea,
|
|
160
|
+
ThemeProvider,
|
|
161
|
+
createTheme,
|
|
162
|
+
theme,
|
|
163
|
+
yogaTheme
|
|
164
|
+
});
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var index_native_exports = {};
|
|
30
|
+
__export(index_native_exports, {
|
|
31
|
+
ActionRequirement: () => import_ActionRequirement.default,
|
|
32
|
+
Avatar: () => import_Avatar.default,
|
|
33
|
+
Banner: () => import_Banner.default,
|
|
34
|
+
Box: () => import_Box.default,
|
|
35
|
+
Button: () => import_Button.default,
|
|
36
|
+
Card: () => import_native.Card,
|
|
37
|
+
Checkbox: () => import_Checkbox.default,
|
|
38
|
+
Chips: () => import_Chips.default,
|
|
39
|
+
Divider: () => import_Divider.default,
|
|
40
|
+
Dropdown: () => import_Dropdown.default,
|
|
41
|
+
EventCard: () => import_native.EventCard,
|
|
42
|
+
GymCard: () => import_native.GymCard,
|
|
43
|
+
Icon: () => import_Icon.default,
|
|
44
|
+
Input: () => import_Input.default,
|
|
45
|
+
List: () => import_List.default,
|
|
46
|
+
PlanCard: () => import_native.PlanCard,
|
|
47
|
+
Progress: () => import_Progress.default,
|
|
48
|
+
RadioGroup: () => import_RadioGroup.default,
|
|
49
|
+
Rating: () => import_Rating.default,
|
|
50
|
+
Result: () => import_Result.default,
|
|
51
|
+
Skeleton: () => import_Skeleton.default,
|
|
52
|
+
Slider: () => import_Slider.default,
|
|
53
|
+
Snackbar: () => import_Snackbar.default,
|
|
54
|
+
Stepper: () => import_Stepper.default,
|
|
55
|
+
Tag: () => import_Tag.default,
|
|
56
|
+
Text: () => import_Text.default,
|
|
57
|
+
TextArea: () => import_TextArea.default,
|
|
58
|
+
ThemeProvider: () => import_Theme.default,
|
|
59
|
+
createTheme: () => import_Theme.createTheme,
|
|
60
|
+
theme: () => import_Theme.theme,
|
|
61
|
+
yogaTheme: () => import_Theme.yogaTheme
|
|
62
|
+
});
|
|
63
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
64
|
+
var import_Theme = __toESM(require("./Theme"));
|
|
65
|
+
var import_Button = __toESM(require("./Button"));
|
|
66
|
+
var import_List = __toESM(require("./List"));
|
|
67
|
+
var import_Checkbox = __toESM(require("./Checkbox"));
|
|
68
|
+
var import_Slider = __toESM(require("./Slider"));
|
|
69
|
+
var import_RadioGroup = __toESM(require("./RadioGroup"));
|
|
70
|
+
var import_native = require("./Card/native");
|
|
71
|
+
var import_Stepper = __toESM(require("./Stepper"));
|
|
72
|
+
var import_Text = __toESM(require("./Text"));
|
|
73
|
+
var import_Rating = __toESM(require("./Rating"));
|
|
74
|
+
var import_Tag = __toESM(require("./Tag"));
|
|
75
|
+
var import_Input = __toESM(require("./Input"));
|
|
76
|
+
var import_Progress = __toESM(require("./Progress"));
|
|
77
|
+
var import_Dropdown = __toESM(require("./Dropdown"));
|
|
78
|
+
var import_TextArea = __toESM(require("./TextArea"));
|
|
79
|
+
var import_Icon = __toESM(require("./Icon"));
|
|
80
|
+
var import_Chips = __toESM(require("./Chips"));
|
|
81
|
+
var import_Box = __toESM(require("./Box"));
|
|
82
|
+
var import_Avatar = __toESM(require("./Avatar"));
|
|
83
|
+
var import_Result = __toESM(require("./Result"));
|
|
84
|
+
var import_Divider = __toESM(require("./Divider"));
|
|
85
|
+
var import_Snackbar = __toESM(require("./Snackbar"));
|
|
86
|
+
var import_Banner = __toESM(require("./Banner"));
|
|
87
|
+
var import_Skeleton = __toESM(require("./Skeleton"));
|
|
88
|
+
var import_ActionRequirement = __toESM(require("./ActionRequirement"));
|
|
89
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
90
|
+
0 && (module.exports = {
|
|
91
|
+
ActionRequirement,
|
|
92
|
+
Avatar,
|
|
93
|
+
Banner,
|
|
94
|
+
Box,
|
|
95
|
+
Button,
|
|
96
|
+
Card,
|
|
97
|
+
Checkbox,
|
|
98
|
+
Chips,
|
|
99
|
+
Divider,
|
|
100
|
+
Dropdown,
|
|
101
|
+
EventCard,
|
|
102
|
+
GymCard,
|
|
103
|
+
Icon,
|
|
104
|
+
Input,
|
|
105
|
+
List,
|
|
106
|
+
PlanCard,
|
|
107
|
+
Progress,
|
|
108
|
+
RadioGroup,
|
|
109
|
+
Rating,
|
|
110
|
+
Result,
|
|
111
|
+
Skeleton,
|
|
112
|
+
Slider,
|
|
113
|
+
Snackbar,
|
|
114
|
+
Stepper,
|
|
115
|
+
Tag,
|
|
116
|
+
Text,
|
|
117
|
+
TextArea,
|
|
118
|
+
ThemeProvider,
|
|
119
|
+
createTheme,
|
|
120
|
+
theme,
|
|
121
|
+
yogaTheme
|
|
122
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var HiddenInput_exports = {};
|
|
30
|
+
__export(HiddenInput_exports, {
|
|
31
|
+
default: () => HiddenInput_default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(HiddenInput_exports);
|
|
34
|
+
var import_styled_components = __toESM(require("styled-components"));
|
|
35
|
+
const HiddenInput = import_styled_components.default.input`
|
|
36
|
+
border: 0;
|
|
37
|
+
height: 0;
|
|
38
|
+
margin: 0;
|
|
39
|
+
opacity: 0;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
padding: 0;
|
|
42
|
+
position: absolute;
|
|
43
|
+
width: 0;
|
|
44
|
+
`;
|
|
45
|
+
var HiddenInput_default = HiddenInput;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var shared_exports = {};
|
|
30
|
+
__export(shared_exports, {
|
|
31
|
+
HiddenInput: () => import_HiddenInput.default,
|
|
32
|
+
charLength: () => import_propTypes.charLength,
|
|
33
|
+
deprecated: () => import_propTypes.deprecated,
|
|
34
|
+
limitChildren: () => import_propTypes.limitChildren,
|
|
35
|
+
max: () => import_propTypes.max,
|
|
36
|
+
typeOf: () => import_propTypes.typeOf
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(shared_exports);
|
|
39
|
+
var import_HiddenInput = __toESM(require("./HiddenInput"));
|
|
40
|
+
var import_propTypes = require("./propTypes");
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
HiddenInput,
|
|
44
|
+
charLength,
|
|
45
|
+
deprecated,
|
|
46
|
+
limitChildren,
|
|
47
|
+
max,
|
|
48
|
+
typeOf
|
|
49
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var index_native_exports = {};
|
|
20
|
+
__export(index_native_exports, {
|
|
21
|
+
charLength: () => import_propTypes.charLength,
|
|
22
|
+
deprecated: () => import_propTypes.deprecated,
|
|
23
|
+
limitChildren: () => import_propTypes.limitChildren,
|
|
24
|
+
max: () => import_propTypes.max,
|
|
25
|
+
typeOf: () => import_propTypes.typeOf
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
28
|
+
var import_propTypes = require("./propTypes");
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
charLength,
|
|
32
|
+
deprecated,
|
|
33
|
+
limitChildren,
|
|
34
|
+
max,
|
|
35
|
+
typeOf
|
|
36
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var charLength_exports = {};
|
|
20
|
+
__export(charLength_exports, {
|
|
21
|
+
default: () => charLength_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(charLength_exports);
|
|
24
|
+
var import_prop_types = require("prop-types");
|
|
25
|
+
const charLength = (length, proptypes) => (props, propName, componentName) => {
|
|
26
|
+
const MAX_CHARS = length;
|
|
27
|
+
const { [propName]: valueProp } = props;
|
|
28
|
+
(0, import_prop_types.checkPropTypes)({ [propName]: proptypes }, props, "prop", componentName);
|
|
29
|
+
if (!isNaN(valueProp) && valueProp.toString().length > MAX_CHARS) {
|
|
30
|
+
return new Error(
|
|
31
|
+
`Invalid prop ${propName} supplied to ${componentName}. ${propName} must have up to ${MAX_CHARS} characters`
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
};
|
|
36
|
+
var charLength_default = charLength;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var deprecated_exports = {};
|
|
20
|
+
__export(deprecated_exports, {
|
|
21
|
+
default: () => deprecated_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(deprecated_exports);
|
|
24
|
+
const deprecated = (propType, explanation) => {
|
|
25
|
+
return function validate(props, propName, componentName, ...rest) {
|
|
26
|
+
if (props[propName] != null) {
|
|
27
|
+
const message = `"${propName}" property of "${componentName}" has been deprecated.
|
|
28
|
+
${explanation}`;
|
|
29
|
+
console.warn(message);
|
|
30
|
+
}
|
|
31
|
+
return propType(props, propName, componentName, ...rest);
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
var deprecated_default = deprecated;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var propTypes_exports = {};
|
|
30
|
+
__export(propTypes_exports, {
|
|
31
|
+
charLength: () => import_charLength.default,
|
|
32
|
+
deprecated: () => import_deprecated.default,
|
|
33
|
+
limitChildren: () => import_limitChildren.default,
|
|
34
|
+
max: () => import_max.default,
|
|
35
|
+
typeOf: () => import_typeof.default
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(propTypes_exports);
|
|
38
|
+
var import_limitChildren = __toESM(require("./limitChildren"));
|
|
39
|
+
var import_typeof = __toESM(require("./typeof"));
|
|
40
|
+
var import_charLength = __toESM(require("./charLength"));
|
|
41
|
+
var import_max = __toESM(require("./max"));
|
|
42
|
+
var import_deprecated = __toESM(require("./deprecated"));
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {
|
|
45
|
+
charLength,
|
|
46
|
+
deprecated,
|
|
47
|
+
limitChildren,
|
|
48
|
+
max,
|
|
49
|
+
typeOf
|
|
50
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var limitChildren_exports = {};
|
|
20
|
+
__export(limitChildren_exports, {
|
|
21
|
+
default: () => limitChildren_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(limitChildren_exports);
|
|
24
|
+
var import_prop_types = require("prop-types");
|
|
25
|
+
const limitChildren = (props, propName, componentName) => {
|
|
26
|
+
const { children, [propName]: activeStep } = props;
|
|
27
|
+
(0, import_prop_types.checkPropTypes)({ [propName]: import_prop_types.number }, props, "prop", componentName);
|
|
28
|
+
if (activeStep > children.length - 1) {
|
|
29
|
+
return new Error(
|
|
30
|
+
`Invalid prop "${propName}" supplied to "${componentName}". "${propName}" must be smaller or equal the number of children.`
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
};
|
|
35
|
+
var limitChildren_default = limitChildren;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var max_exports = {};
|
|
20
|
+
__export(max_exports, {
|
|
21
|
+
default: () => max_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(max_exports);
|
|
24
|
+
var import_prop_types = require("prop-types");
|
|
25
|
+
const max = (value, proptypes = import_prop_types.number) => (props, propName, componentName) => {
|
|
26
|
+
const { [propName]: valueProp } = props;
|
|
27
|
+
(0, import_prop_types.checkPropTypes)({ [propName]: proptypes }, props, "prop", componentName);
|
|
28
|
+
if (valueProp > value) {
|
|
29
|
+
return new Error(
|
|
30
|
+
`Invalid prop ${propName} supplied to ${componentName}. ${propName} must be a value with maximum of ${value}`
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
};
|
|
35
|
+
var max_default = max;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var typeof_exports = {};
|
|
30
|
+
__export(typeof_exports, {
|
|
31
|
+
default: () => typeof_default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(typeof_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
35
|
+
const typeOf = ({ displayName: childType }) => (props, propName, componentName) => {
|
|
36
|
+
let error;
|
|
37
|
+
const prop = props[propName];
|
|
38
|
+
import_react.default.Children.forEach(prop, (child) => {
|
|
39
|
+
if (child.type.displayName !== childType) {
|
|
40
|
+
error = new Error(
|
|
41
|
+
`"${componentName}" only accepts children of type "${childType}".`
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
return error;
|
|
46
|
+
};
|
|
47
|
+
var typeof_default = typeOf;
|