@hero-design/rn 7.3.2 → 7.6.0
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/.expo/README.md +15 -0
- package/.expo/packager-info.json +10 -0
- package/.expo/prebuild/cached-packages.json +4 -0
- package/.expo/settings.json +10 -0
- package/.expo/xcodebuild-error.log +2 -0
- package/.expo/xcodebuild.log +11199 -0
- package/.turbo/turbo-build.log +2 -2
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +7093 -5663
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +7101 -5662
- package/package.json +11 -9
- package/playground/.detoxrc.json +49 -0
- package/playground/.prettierrc.json +8 -0
- package/playground/.turbo/turbo-type-check.log +7 -0
- package/playground/app.json +9 -0
- package/playground/babel.config.js +63 -0
- package/playground/e2e/config.json +9 -0
- package/playground/e2e/environment.js +23 -0
- package/playground/e2e/firstTest.e2e.js +16 -0
- package/{expoEntry.js → playground/expoEntry.js} +1 -1
- package/playground/fonts/be-vietnam-pro-light.ttf +0 -0
- package/playground/fonts/be-vietnam-pro-regular.ttf +0 -0
- package/playground/fonts/be-vietnam-pro-semibold.ttf +0 -0
- package/playground/fonts/hero-icons.ttf +0 -0
- package/playground/index.js +7 -0
- package/playground/ios/MobileHeroDesignPlayground/AppDelegate.h +9 -0
- package/playground/ios/MobileHeroDesignPlayground/AppDelegate.m +75 -0
- package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
- package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/Contents.json +6 -0
- package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/Contents.json +21 -0
- package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
- package/playground/ios/MobileHeroDesignPlayground/Info.plist +85 -0
- package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground-Bridging-Header.h +3 -0
- package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground.entitlements +8 -0
- package/playground/ios/MobileHeroDesignPlayground/SplashScreen.storyboard +40 -0
- package/playground/ios/MobileHeroDesignPlayground/Supporting/Expo.plist +16 -0
- package/playground/ios/MobileHeroDesignPlayground/main.m +10 -0
- package/playground/ios/MobileHeroDesignPlayground/noop-file.swift +4 -0
- package/playground/ios/MobileHeroDesignPlayground.xcodeproj/project.pbxproj +515 -0
- package/playground/ios/MobileHeroDesignPlayground.xcodeproj/xcshareddata/xcschemes/MobileHeroDesignPlayground.xcscheme +88 -0
- package/playground/ios/MobileHeroDesignPlayground.xcworkspace/contents.xcworkspacedata +10 -0
- package/playground/ios/MobileHeroDesignPlayground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/playground/ios/Podfile +49 -0
- package/playground/ios/Podfile.lock +478 -0
- package/playground/ios/Podfile.properties.json +3 -0
- package/{metro.config.js → playground/metro.config.js} +10 -2
- package/playground/package.json +63 -0
- package/playground/src/Alert.tsx +80 -0
- package/playground/{index.tsx → src/App.tsx} +69 -29
- package/playground/{components → src}/Avatar.tsx +1 -1
- package/playground/{components → src}/Badge.tsx +1 -1
- package/playground/{components → src}/BottomNavigation.tsx +1 -1
- package/playground/src/BottomSheet.tsx +43 -0
- package/playground/{components → src}/Button.tsx +1 -1
- package/playground/{components → src}/Card.tsx +1 -1
- package/playground/{components → src}/Collapse.tsx +1 -1
- package/playground/src/ContentNavigator.tsx +58 -0
- package/playground/{components → src}/Divider.tsx +1 -1
- package/playground/{components → src}/Drawer.tsx +1 -1
- package/playground/{components → src}/FAB.tsx +1 -1
- package/playground/{components → src}/Icon.tsx +7 -3
- package/playground/{components → src}/IconButton.tsx +12 -1
- package/playground/src/MultipleThemes.tsx +34 -0
- package/playground/{components → src}/Progress.tsx +1 -1
- package/playground/src/Radio.tsx +25 -0
- package/playground/src/SectionHeading.tsx +68 -0
- package/playground/src/Select.tsx +32 -0
- package/playground/src/Spinner.tsx +19 -0
- package/playground/src/Switch.tsx +80 -0
- package/playground/{components → src}/Tabs.tsx +1 -1
- package/playground/{components → src}/Tag.tsx +1 -1
- package/playground/src/TextInput.tsx +14 -0
- package/playground/{components → src}/Typography.tsx +1 -1
- package/playground/src/emotion.d.ts +7 -0
- package/playground/tsconfig.json +21 -0
- package/src/components/Alert/StyledAlert.tsx +48 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +686 -0
- package/src/components/Alert/__tests__/index.spec.tsx +83 -0
- package/src/components/Alert/index.tsx +109 -0
- package/src/components/BottomSheet/Footer.tsx +19 -0
- package/src/components/BottomSheet/Header.tsx +49 -0
- package/src/components/BottomSheet/StyledBottomSheet.tsx +75 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +531 -0
- package/src/components/BottomSheet/__tests__/index.spec.tsx +107 -0
- package/src/components/BottomSheet/index.tsx +177 -0
- package/src/components/Button/IconButton.tsx +11 -1
- package/src/components/Collapse/StyledCollapse.tsx +11 -2
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +36 -31
- package/src/components/Collapse/__tests__/index.spec.tsx +1 -13
- package/src/components/Collapse/index.tsx +20 -50
- package/src/components/ContentNavigator/StyledContentNavigator.tsx +15 -0
- package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +19 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +43 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +217 -0
- package/src/components/ContentNavigator/__tests__/index.spec.tsx +74 -0
- package/src/components/ContentNavigator/index.tsx +65 -0
- package/src/components/Icon/HeroIcon/index.tsx +13 -2
- package/src/components/Icon/HeroIcon/selection.json +1 -1
- package/src/components/Icon/IconList.ts +8 -0
- package/src/components/Icon/index.tsx +8 -1
- package/src/components/Radio/Radio.tsx +51 -0
- package/src/components/Radio/RadioGroup.tsx +74 -0
- package/src/components/Radio/StyledRadio.tsx +42 -0
- package/src/components/Radio/__tests__/Radio.spec.tsx +38 -0
- package/src/components/Radio/__tests__/RadioGroup.spec.tsx +36 -0
- package/src/components/Radio/__tests__/StyledRadio.spec.tsx +43 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +160 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +248 -0
- package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +124 -0
- package/src/components/Radio/index.tsx +5 -0
- package/src/components/Radio/types.ts +1 -0
- package/src/components/SectionHeading/StyledHeading.tsx +24 -0
- package/src/components/SectionHeading/__tests__/StyledHeading.spec.tsx +28 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +48 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +208 -0
- package/src/components/SectionHeading/__tests__/index.spec.tsx +39 -0
- package/src/components/SectionHeading/index.tsx +93 -0
- package/src/components/Select/MultiSelect/Footer.tsx +15 -0
- package/src/components/Select/MultiSelect/OptionList.tsx +76 -0
- package/src/components/Select/MultiSelect/StyledMultiSelect.tsx +30 -0
- package/src/components/Select/MultiSelect/__tests__/StyledMultiSelect.spec.tsx +49 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/StyledMultiSelect.spec.tsx.snap +108 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1630 -0
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +94 -0
- package/src/components/Select/MultiSelect/index.tsx +103 -0
- package/src/components/Select/MultiSelect/types.ts +1 -0
- package/src/components/Select/index.tsx +5 -0
- package/src/components/Spinner/AnimatedSpinner.tsx +55 -0
- package/src/components/Spinner/StyledSpinner.tsx +59 -0
- package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +11 -0
- package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +56 -0
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +118 -0
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +235 -0
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +141 -0
- package/src/components/Spinner/__tests__/index.spec.tsx +12 -0
- package/src/components/Spinner/index.tsx +22 -0
- package/src/components/Switch/StyledSwitch.tsx +50 -0
- package/src/components/Switch/__tests__/StyledHeading.spec.tsx +42 -0
- package/src/components/Switch/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +74 -0
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +129 -0
- package/src/components/Switch/__tests__/index.spec.tsx +24 -0
- package/src/components/Switch/index.tsx +87 -0
- package/src/components/TextInput/StyledTextInput.tsx +30 -0
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +27 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +67 -0
- package/src/components/TextInput/__tests__/index.spec.tsx +17 -0
- package/src/components/TextInput/index.tsx +74 -0
- package/src/index.ts +18 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +174 -0
- package/src/theme/components/alert.ts +32 -0
- package/src/theme/components/bottomSheet.ts +34 -0
- package/src/theme/components/contentNavigator.ts +11 -0
- package/src/theme/components/icon.ts +1 -0
- package/src/theme/components/radio.ts +34 -0
- package/src/theme/components/sectionHeading.ts +18 -0
- package/src/theme/components/select.ts +23 -0
- package/src/theme/components/spinner.ts +21 -0
- package/src/theme/components/switch.ts +50 -0
- package/src/theme/components/textInput.ts +32 -0
- package/src/theme/global/borders.ts +6 -0
- package/src/theme/global/colors.ts +3 -0
- package/src/theme/index.ts +34 -7
- package/tsconfig.json +11 -3
- package/types/components/Alert/StyledAlert.d.ts +37 -0
- package/types/{src/components/Avatar → components/Alert}/__tests__/index.spec.d.ts +0 -0
- package/types/components/Alert/index.d.ts +42 -0
- package/types/{src/components → components}/Avatar/StyledAvatar.d.ts +0 -1
- package/types/{src/components → components}/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -0
- package/types/{src/components/BottomNavigation → components/Avatar}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Avatar/index.d.ts +0 -0
- package/types/{src/components → components}/Badge/Status.d.ts +0 -0
- package/types/{src/components → components}/Badge/StyledBadge.d.ts +0 -1
- package/types/{src/components → components}/Badge/__tests__/Badge.spec.d.ts +0 -0
- package/types/{src/components → components}/Badge/__tests__/Status.spec.d.ts +0 -0
- package/types/{src/components → components}/Badge/index.d.ts +0 -0
- package/types/{src/components → components}/BottomNavigation/StyledBottomNavigation.d.ts +0 -1
- package/types/{src/components/Button/LoadingIndicator → components/BottomNavigation}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/BottomNavigation/index.d.ts +0 -0
- package/types/components/BottomSheet/Footer.d.ts +6 -0
- package/types/components/BottomSheet/Header.d.ts +8 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +46 -0
- package/types/{src/components/Button → components/BottomSheet}/__tests__/index.spec.d.ts +0 -0
- package/types/components/BottomSheet/index.d.ts +55 -0
- package/types/{src/components → components}/Button/Button.d.ts +0 -0
- package/types/{src/components → components}/Button/IconButton.d.ts +5 -1
- package/types/{src/components → components}/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -1
- package/types/{src/components → components}/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
- package/types/{src/components/Card → components/Button/LoadingIndicator}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Button/LoadingIndicator/index.d.ts +0 -0
- package/types/{src/components → components}/Button/StyledButton.d.ts +0 -1
- package/types/{src/components → components}/Button/__tests__/Button.spec.d.ts +0 -0
- package/types/{src/components → components}/Button/__tests__/IconButton.spec.d.ts +0 -0
- package/types/{src/components → components}/Button/__tests__/StyledButton.spec.d.ts +0 -0
- package/types/{src/components → components}/Button/index.d.ts +0 -0
- package/types/{src/components → components}/Card/StyledCard.d.ts +0 -1
- package/types/{src/components → components}/Card/__tests__/StyledCard.spec.d.ts +0 -0
- package/types/{src/components/Collapse → components/Card}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Card/index.d.ts +0 -0
- package/types/{src/components → components}/Collapse/StyledCollapse.d.ts +12 -2
- package/types/{src/components → components}/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -0
- package/types/{src/components/Drawer → components/Collapse}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Collapse/index.d.ts +1 -5
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +12 -0
- package/types/{src/components/Divider/__tests__/StyledDivider.spec.d.ts → components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts} +0 -0
- package/types/{src/components/FAB → components/ContentNavigator}/__tests__/index.spec.d.ts +0 -0
- package/types/components/ContentNavigator/index.d.ts +33 -0
- package/types/{src/components → components}/Divider/StyledDivider.d.ts +0 -1
- package/types/{src/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts → components/Divider/__tests__/StyledDivider.spec.d.ts} +0 -0
- package/types/{src/components → components}/Divider/index.d.ts +0 -0
- package/types/{src/components → components}/Drawer/StyledDrawer.d.ts +0 -1
- package/types/{src/components/Icon → components/Drawer}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Drawer/index.d.ts +0 -0
- package/types/{src/components → components}/FAB/ActionGroup/ActionItem.d.ts +0 -0
- package/types/{src/components → components}/FAB/ActionGroup/StyledActionGroup.d.ts +0 -1
- package/types/{src/components → components}/FAB/ActionGroup/StyledActionItem.d.ts +0 -1
- package/types/{src/components → components}/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/FAB/ActionGroup/index.d.ts +0 -0
- package/types/{src/components → components}/FAB/AnimatedFABIcon.d.ts +0 -0
- package/types/{src/components → components}/FAB/FAB.d.ts +0 -0
- package/types/{src/components → components}/FAB/StyledFAB.d.ts +0 -1
- package/types/{src/components/FAB/__tests__/StyledFAB.spec.d.ts → components/FAB/__tests__/AnimatedFABIcon.spec.d.ts} +0 -0
- package/types/{src/components/Progress/__tests__/index.spec.d.ts → components/FAB/__tests__/StyledFAB.spec.d.ts} +0 -0
- package/types/{src/components/Tabs → components/FAB}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/FAB/index.d.ts +0 -0
- package/types/{src/components → components}/Icon/HeroIcon/index.d.ts +1 -2
- package/types/components/Icon/IconList.d.ts +2 -0
- package/types/{src/components/Typography/Text → components/Icon}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +2 -0
- package/types/{src/components → components}/Progress/ProgressBar.d.ts +0 -0
- package/types/{src/components → components}/Progress/ProgressCircle.d.ts +0 -0
- package/types/{src/components → components}/Progress/StyledProgressBar.d.ts +0 -1
- package/types/{src/components → components}/Progress/StyledProgressCircle.d.ts +0 -1
- package/types/{src/theme → components/Progress}/__tests__/index.spec.d.ts +0 -0
- package/types/{src/components → components}/Progress/index.d.ts +0 -0
- package/types/{src/components → components}/Progress/types.d.ts +0 -0
- package/types/components/Radio/Radio.d.ts +26 -0
- package/types/components/Radio/RadioGroup.d.ts +32 -0
- package/types/components/Radio/StyledRadio.d.ts +30 -0
- package/types/{src/components/Tabs/__tests__/ScrollableTab.spec.d.ts → components/Radio/__tests__/Radio.spec.d.ts} +0 -0
- package/types/{src/components/Tabs/__tests__/ScrollableTabs.spec.d.ts → components/Radio/__tests__/RadioGroup.spec.d.ts} +0 -0
- package/types/{src/components/Tag/__tests__/Tag.spec.d.ts → components/Radio/__tests__/StyledRadio.spec.d.ts} +0 -0
- package/types/components/Radio/index.d.ts +4 -0
- package/types/components/Radio/types.d.ts +5 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +20 -0
- package/types/{src/components/Typography/Text/__tests__/StyledText.spec.d.ts → components/SectionHeading/__tests__/StyledHeading.spec.d.ts} +0 -0
- package/types/{src/utils/__tests__/scale.spec.d.ts → components/SectionHeading/__tests__/index.spec.d.ts} +0 -0
- package/types/components/SectionHeading/index.d.ts +39 -0
- package/types/components/Select/MultiSelect/Footer.d.ts +5 -0
- package/types/components/Select/MultiSelect/OptionList.d.ts +3 -0
- package/types/components/Select/MultiSelect/StyledMultiSelect.d.ts +26 -0
- package/types/components/Select/MultiSelect/__tests__/StyledMultiSelect.spec.d.ts +1 -0
- package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +1 -0
- package/types/components/Select/MultiSelect/index.d.ts +39 -0
- package/types/components/Select/MultiSelect/types.d.ts +5 -0
- package/types/components/Select/index.d.ts +5 -0
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -0
- package/types/components/Spinner/StyledSpinner.d.ts +30 -0
- package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +1 -0
- package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +1 -0
- package/types/components/Spinner/__tests__/index.spec.d.ts +1 -0
- package/types/components/Spinner/index.d.ts +10 -0
- package/types/components/Switch/StyledSwitch.d.ts +36 -0
- package/types/components/Switch/__tests__/StyledHeading.spec.d.ts +1 -0
- package/types/components/Switch/__tests__/index.spec.d.ts +1 -0
- package/types/components/Switch/index.d.ts +30 -0
- package/types/{src/components → components}/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/{src/components → components}/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/{src/components → components}/Tabs/StyledScrollableTabs.d.ts +0 -1
- package/types/{src/components → components}/Tabs/StyledTabs.d.ts +0 -1
- package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +1 -0
- package/types/components/Tabs/__tests__/index.spec.d.ts +1 -0
- package/types/{src/components → components}/Tabs/index.d.ts +0 -0
- package/types/{src/components → components}/Tabs/utils.d.ts +0 -0
- package/types/{src/components → components}/Tag/StyledTag.d.ts +0 -1
- package/types/components/Tag/__tests__/Tag.spec.d.ts +1 -0
- package/types/{src/components → components}/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +18 -0
- package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +1 -0
- package/types/components/TextInput/__tests__/index.spec.d.ts +1 -0
- package/types/components/TextInput/index.d.ts +34 -0
- package/types/{src/components → components}/Typography/Text/StyledText.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +1 -0
- package/types/components/Typography/Text/__tests__/index.spec.d.ts +1 -0
- package/types/{src/components → components}/Typography/Text/index.d.ts +0 -0
- package/types/{src/components → components}/Typography/index.d.ts +0 -0
- package/types/{src/index.d.ts → index.d.ts} +10 -1
- package/types/{src/testHelpers → testHelpers}/renderWithTheme.d.ts +0 -0
- package/types/theme/__tests__/index.spec.d.ts +1 -0
- package/types/theme/components/alert.d.ts +23 -0
- package/types/{src/theme → theme}/components/avatar.d.ts +0 -0
- package/types/{src/theme → theme}/components/badge.d.ts +0 -0
- package/types/{src/theme → theme}/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +29 -0
- package/types/{src/theme → theme}/components/button.d.ts +0 -0
- package/types/{src/theme → theme}/components/card.d.ts +0 -0
- package/types/theme/components/contentNavigator.d.ts +7 -0
- package/types/{src/theme → theme}/components/divider.d.ts +0 -0
- package/types/{src/theme → theme}/components/drawer.d.ts +0 -0
- package/types/{src/theme → theme}/components/fab.d.ts +0 -0
- package/types/{src/theme → theme}/components/icon.d.ts +1 -0
- package/types/{src/theme → theme}/components/progress.d.ts +0 -0
- package/types/theme/components/radio.d.ts +25 -0
- package/types/theme/components/sectionHeading.d.ts +13 -0
- package/types/theme/components/select.d.ts +17 -0
- package/types/theme/components/spinner.d.ts +15 -0
- package/types/theme/components/switch.d.ts +32 -0
- package/types/{src/theme → theme}/components/tabs.d.ts +0 -0
- package/types/{src/theme → theme}/components/tag.d.ts +0 -0
- package/types/theme/components/textInput.d.ts +24 -0
- package/types/{src/theme → theme}/components/typography.d.ts +0 -0
- package/types/{src/theme → theme}/global/borders.d.ts +3 -0
- package/types/{src/theme → theme}/global/colors.d.ts +3 -0
- package/types/{src/theme → theme}/global/index.d.ts +3 -0
- package/types/{src/theme → theme}/global/scale.d.ts +0 -0
- package/types/{src/theme → theme}/global/space.d.ts +0 -0
- package/types/{src/theme → theme}/global/typography.d.ts +0 -0
- package/types/{src/theme → theme}/index.d.ts +23 -5
- package/types/{src/types.d.ts → types.d.ts} +0 -0
- package/types/utils/__tests__/scale.spec.d.ts +1 -0
- package/types/{src/utils → utils}/helpers.d.ts +0 -0
- package/types/{src/utils → utils}/hooks.d.ts +0 -0
- package/types/{src/utils → utils}/scale.d.ts +0 -0
- package/app.json +0 -8
- package/types/playground/components/Avatar.d.ts +0 -2
- package/types/playground/components/Badge.d.ts +0 -2
- package/types/playground/components/BottomNavigation.d.ts +0 -2
- package/types/playground/components/Button.d.ts +0 -2
- package/types/playground/components/Card.d.ts +0 -2
- package/types/playground/components/Collapse.d.ts +0 -2
- package/types/playground/components/Divider.d.ts +0 -2
- package/types/playground/components/Drawer.d.ts +0 -2
- package/types/playground/components/FAB.d.ts +0 -2
- package/types/playground/components/Icon.d.ts +0 -2
- package/types/playground/components/IconButton.d.ts +0 -2
- package/types/playground/components/Progress.d.ts +0 -2
- package/types/playground/components/Tabs.d.ts +0 -2
- package/types/playground/components/Tag.d.ts +0 -2
- package/types/playground/components/Typography.d.ts +0 -2
- package/types/playground/index.d.ts +0 -2
- package/types/src/components/Icon/IconList.d.ts +0 -2
- package/types/src/components/Icon/utils.d.ts +0 -2
- package/types/src/components/Tabs/ScrollableTab.d.ts +0 -3
- package/types/src/components/Tabs/StyledScrollableTab.d.ts +0 -61
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
declare type ThemeSize = 'small' | 'medium';
|
|
3
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
themeChecked: boolean | undefined;
|
|
8
|
+
themeSize: ThemeSize;
|
|
9
|
+
}, {}, {
|
|
10
|
+
ref?: import("react").Ref<View> | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
declare const StyledDisabledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
themeSize: ThemeSize;
|
|
17
|
+
}, {}, {
|
|
18
|
+
ref?: import("react").Ref<View> | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
declare const StyledThumbWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
+
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
} & {
|
|
24
|
+
themeSize: ThemeSize;
|
|
25
|
+
}, {}, {
|
|
26
|
+
ref?: import("react").Ref<View> | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
declare const StyledKnot: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
29
|
+
children?: import("react").ReactNode;
|
|
30
|
+
} & {
|
|
31
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
32
|
+
as?: import("react").ElementType<any> | undefined;
|
|
33
|
+
} & {
|
|
34
|
+
themeSize: ThemeSize;
|
|
35
|
+
}, {}, {}>;
|
|
36
|
+
export { StyledWrapper, StyledDisabledWrapper, StyledThumbWrapper, StyledKnot };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export interface SwitchProps {
|
|
4
|
+
/**
|
|
5
|
+
* Control whether the switch is checked
|
|
6
|
+
*/
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the switch is disabled
|
|
10
|
+
*/
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Event handler.
|
|
14
|
+
*/
|
|
15
|
+
onPress?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Size of the switch
|
|
18
|
+
*/
|
|
19
|
+
size?: 'small' | 'medium';
|
|
20
|
+
/**
|
|
21
|
+
* Addditional style.
|
|
22
|
+
*/
|
|
23
|
+
style?: StyleProp<ViewStyle>;
|
|
24
|
+
/**
|
|
25
|
+
* Testing id of the component.
|
|
26
|
+
*/
|
|
27
|
+
testID?: string;
|
|
28
|
+
}
|
|
29
|
+
declare const Switch: ({ size, disabled, checked, onPress, style, testID, }: SwitchProps) => ReactElement;
|
|
30
|
+
export default Switch;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TextInput, View } from 'react-native';
|
|
2
|
+
declare const Container: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, {}, {
|
|
6
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
declare const Label: import("@emotion/native").StyledComponent<import("../Typography/Text").TextProps & {
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any> | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
declare const StyledTextInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
}, {}, {
|
|
16
|
+
ref?: import("react").Ref<TextInput> | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export { Container, Label, StyledTextInput };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
export interface TextInputProps extends NativeTextInputProps {
|
|
4
|
+
/**
|
|
5
|
+
* Field label.
|
|
6
|
+
*/
|
|
7
|
+
label?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Name of Icon to render on the left side of the input, before the user's cursor.
|
|
10
|
+
*/
|
|
11
|
+
prefix?: IconName;
|
|
12
|
+
/**
|
|
13
|
+
* Name of Icon to render on the right side of the input.
|
|
14
|
+
*/
|
|
15
|
+
suffix?: IconName;
|
|
16
|
+
/**
|
|
17
|
+
* Additional wrapper style.
|
|
18
|
+
*/
|
|
19
|
+
style?: StyleProp<ViewStyle>;
|
|
20
|
+
/**
|
|
21
|
+
* Input text style.
|
|
22
|
+
*/
|
|
23
|
+
textStyle?: StyleProp<TextStyle>;
|
|
24
|
+
/**
|
|
25
|
+
* Testing id of the component.
|
|
26
|
+
*/
|
|
27
|
+
testID?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Accessibility label for the input (Android).
|
|
30
|
+
*/
|
|
31
|
+
accessibilityLabelledBy?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const TextInput: ({ label, prefix, suffix, style, textStyle, testID, accessibilityLabelledBy, ...nativeProps }: TextInputProps) => JSX.Element;
|
|
34
|
+
export default TextInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { ThemeProvider, useTheme } from '@emotion/react';
|
|
2
2
|
import theme, { getTheme } from './theme';
|
|
3
3
|
import { scale } from './utils/scale';
|
|
4
|
+
import Alert from './components/Alert';
|
|
4
5
|
import Avatar from './components/Avatar';
|
|
5
6
|
import Badge from './components/Badge';
|
|
6
7
|
import BottomNavigation from './components/BottomNavigation';
|
|
8
|
+
import BottomSheet from './components/BottomSheet';
|
|
7
9
|
import Button from './components/Button';
|
|
8
10
|
import Card from './components/Card';
|
|
9
11
|
import Collapse from './components/Collapse';
|
|
12
|
+
import ContentNavigator from './components/ContentNavigator';
|
|
10
13
|
import Divider from './components/Divider';
|
|
11
14
|
import Drawer from './components/Drawer';
|
|
12
15
|
import FAB from './components/FAB';
|
|
13
16
|
import Icon from './components/Icon';
|
|
14
17
|
import Progress from './components/Progress';
|
|
18
|
+
import Spinner from './components/Spinner';
|
|
19
|
+
import Radio from './components/Radio';
|
|
20
|
+
import SectionHeading from './components/SectionHeading';
|
|
21
|
+
import Select from './components/Select';
|
|
22
|
+
import Switch from './components/Switch';
|
|
15
23
|
import Tabs from './components/Tabs';
|
|
16
24
|
import Tag from './components/Tag';
|
|
25
|
+
import TextInput from './components/TextInput';
|
|
17
26
|
import Typography from './components/Typography';
|
|
18
|
-
export { theme, getTheme, useTheme, scale, ThemeProvider, Avatar, Badge, BottomNavigation, Button, Card, Collapse, Divider, Drawer, FAB, Icon, Progress, Tabs, Tag, Typography, };
|
|
27
|
+
export { theme, getTheme, useTheme, scale, ThemeProvider, Alert, Avatar, Badge, BottomNavigation, BottomSheet, Button, Card, Collapse, ContentNavigator, Divider, Drawer, FAB, Icon, Progress, Spinner, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, Typography, };
|
|
19
28
|
export * from './types';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getAlertTheme: (theme: GlobalTheme) => {
|
|
3
|
+
colors: {
|
|
4
|
+
success: string;
|
|
5
|
+
warning: string;
|
|
6
|
+
error: string;
|
|
7
|
+
info: string;
|
|
8
|
+
divider: string;
|
|
9
|
+
};
|
|
10
|
+
radii: {
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
sizes: {
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
space: {
|
|
17
|
+
padding: number;
|
|
18
|
+
};
|
|
19
|
+
borderWidths: {
|
|
20
|
+
base: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default getAlertTheme;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getBottomSheetTheme: (theme: GlobalTheme) => {
|
|
3
|
+
colors: {
|
|
4
|
+
shadow: string;
|
|
5
|
+
background: string;
|
|
6
|
+
backdrop: string;
|
|
7
|
+
};
|
|
8
|
+
shadows: {
|
|
9
|
+
offset: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
13
|
+
opacity: number;
|
|
14
|
+
radius: number;
|
|
15
|
+
elevation: number;
|
|
16
|
+
};
|
|
17
|
+
radii: {
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
sizes: {
|
|
21
|
+
sectionHeight: number;
|
|
22
|
+
closeIconWidth: number;
|
|
23
|
+
};
|
|
24
|
+
space: {
|
|
25
|
+
horizontalPadding: number;
|
|
26
|
+
verticalPadding: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default getBottomSheetTheme;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getRadioTheme: (theme: GlobalTheme) => {
|
|
3
|
+
sizes: {
|
|
4
|
+
circle: number;
|
|
5
|
+
innerCircle: number;
|
|
6
|
+
};
|
|
7
|
+
borderWidths: {
|
|
8
|
+
circle: number;
|
|
9
|
+
};
|
|
10
|
+
space: {
|
|
11
|
+
wrapperPadding: number;
|
|
12
|
+
circleLeftMargin: number;
|
|
13
|
+
groupTopMargin: number;
|
|
14
|
+
};
|
|
15
|
+
colors: {
|
|
16
|
+
circle: string;
|
|
17
|
+
checkedCircle: string;
|
|
18
|
+
wrapper: string;
|
|
19
|
+
checkedWrapper: string;
|
|
20
|
+
};
|
|
21
|
+
radii: {
|
|
22
|
+
wrapper: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default getRadioTheme;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getSectionHeadingTheme: (theme: GlobalTheme) => {
|
|
3
|
+
colors: {
|
|
4
|
+
background: string;
|
|
5
|
+
};
|
|
6
|
+
space: {
|
|
7
|
+
headingVerticalPadding: number;
|
|
8
|
+
headingHorizontalPadding: number;
|
|
9
|
+
headingMarginBottom: number;
|
|
10
|
+
iconMarginRight: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default getSectionHeadingTheme;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getSelectTheme: (theme: GlobalTheme) => {
|
|
3
|
+
space: {
|
|
4
|
+
optionPadding: number;
|
|
5
|
+
optionListPadding: number;
|
|
6
|
+
optionListSpacing: number;
|
|
7
|
+
};
|
|
8
|
+
colors: {
|
|
9
|
+
option: string;
|
|
10
|
+
checkedOption: string;
|
|
11
|
+
footerText: string;
|
|
12
|
+
};
|
|
13
|
+
radii: {
|
|
14
|
+
option: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default getSelectTheme;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getSpinnerTheme: (theme: GlobalTheme) => {
|
|
3
|
+
color: {
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
space: {
|
|
7
|
+
spinnerDot: number;
|
|
8
|
+
spinnerDotPadding: number;
|
|
9
|
+
spinnerTextPaddingTop: number;
|
|
10
|
+
};
|
|
11
|
+
radii: {
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default getSpinnerTheme;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getSwitchTheme: (theme: GlobalTheme) => {
|
|
3
|
+
colors: {
|
|
4
|
+
thumb: string;
|
|
5
|
+
active: string;
|
|
6
|
+
inactive: string;
|
|
7
|
+
};
|
|
8
|
+
thumbSizes: {
|
|
9
|
+
small: number;
|
|
10
|
+
medium: number;
|
|
11
|
+
};
|
|
12
|
+
widths: {
|
|
13
|
+
small: number;
|
|
14
|
+
medium: number;
|
|
15
|
+
};
|
|
16
|
+
heights: {
|
|
17
|
+
small: number;
|
|
18
|
+
medium: number;
|
|
19
|
+
};
|
|
20
|
+
spaces: {
|
|
21
|
+
small: number;
|
|
22
|
+
medium: number;
|
|
23
|
+
inactive: number;
|
|
24
|
+
};
|
|
25
|
+
radii: {
|
|
26
|
+
rounded: number;
|
|
27
|
+
};
|
|
28
|
+
borderWidths: {
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default getSwitchTheme;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getTextInputTheme: (theme: GlobalTheme) => {
|
|
3
|
+
colors: {
|
|
4
|
+
labelBackground: string;
|
|
5
|
+
border: string;
|
|
6
|
+
};
|
|
7
|
+
space: {
|
|
8
|
+
containerPadding: number;
|
|
9
|
+
labelLeft: number;
|
|
10
|
+
labelTop: number;
|
|
11
|
+
labelHorizontalPadding: number;
|
|
12
|
+
inputHorizontalMargin: number;
|
|
13
|
+
};
|
|
14
|
+
fontSizes: {
|
|
15
|
+
text: number;
|
|
16
|
+
};
|
|
17
|
+
borderWidths: {
|
|
18
|
+
container: number;
|
|
19
|
+
};
|
|
20
|
+
radii: {
|
|
21
|
+
container: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default getTextInputTheme;
|
|
File without changes
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
interface BorderWidths {
|
|
2
2
|
base: number;
|
|
3
|
+
medium: number;
|
|
3
4
|
}
|
|
4
5
|
interface Radii {
|
|
5
6
|
rounded: number;
|
|
6
7
|
base: number;
|
|
7
8
|
medium: number;
|
|
9
|
+
large: number;
|
|
10
|
+
xlarge: number;
|
|
8
11
|
}
|
|
9
12
|
declare const getBorderWidths: (baseBorderWidth: number) => BorderWidths;
|
|
10
13
|
declare const getRadii: (baseRadius: number) => Radii;
|
|
@@ -6,6 +6,7 @@ declare const systemPalette: {
|
|
|
6
6
|
secondary: string;
|
|
7
7
|
secondaryLight: string;
|
|
8
8
|
info: string;
|
|
9
|
+
infoMediumLight: string;
|
|
9
10
|
infoLight: string;
|
|
10
11
|
infoBackground: string;
|
|
11
12
|
success: string;
|
|
@@ -26,6 +27,8 @@ declare const systemPalette: {
|
|
|
26
27
|
invertedText: string;
|
|
27
28
|
outline: string;
|
|
28
29
|
archived: string;
|
|
30
|
+
black: string;
|
|
31
|
+
inactiveBackground: string;
|
|
29
32
|
};
|
|
30
33
|
declare type SystemPalette = typeof systemPalette;
|
|
31
34
|
export { systemPalette, SystemPalette };
|
|
@@ -9,6 +9,7 @@ declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
|
|
|
9
9
|
secondary: string;
|
|
10
10
|
secondaryLight: string;
|
|
11
11
|
info: string;
|
|
12
|
+
infoMediumLight: string;
|
|
12
13
|
infoLight: string;
|
|
13
14
|
infoBackground: string;
|
|
14
15
|
success: string;
|
|
@@ -29,6 +30,8 @@ declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
|
|
|
29
30
|
invertedText: string;
|
|
30
31
|
outline: string;
|
|
31
32
|
archived: string;
|
|
33
|
+
black: string;
|
|
34
|
+
inactiveBackground: string;
|
|
32
35
|
};
|
|
33
36
|
fonts: import("./typography").Fonts;
|
|
34
37
|
fontSizes: import("./typography").FontSizes;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,32 +1,50 @@
|
|
|
1
1
|
import { GlobalTheme, Scale, SystemPalette } from './global';
|
|
2
|
+
import getAlertTheme from './components/alert';
|
|
3
|
+
import getAvatarTheme from './components/avatar';
|
|
2
4
|
import getBadgeTheme from './components/badge';
|
|
3
5
|
import getBottomNavigationTheme from './components/bottomNavigation';
|
|
6
|
+
import getBottomSheetTheme from './components/bottomSheet';
|
|
4
7
|
import getButtonTheme from './components/button';
|
|
5
8
|
import getCardTheme from './components/card';
|
|
9
|
+
import getContentNavigatorTheme from './components/contentNavigator';
|
|
6
10
|
import getDividerTheme from './components/divider';
|
|
7
11
|
import getDrawerTheme from './components/drawer';
|
|
8
|
-
import
|
|
9
|
-
import getTagTheme from './components/tag';
|
|
12
|
+
import getFABTheme from './components/fab';
|
|
10
13
|
import getIconTheme from './components/icon';
|
|
11
14
|
import getProgressTheme from './components/progress';
|
|
15
|
+
import getRadioTheme from './components/radio';
|
|
16
|
+
import getSectionHeadingTheme from './components/sectionHeading';
|
|
17
|
+
import getSelectTheme from './components/select';
|
|
18
|
+
import getSpinnerTheme from './components/spinner';
|
|
19
|
+
import getSwitchTheme from './components/switch';
|
|
20
|
+
import getTabsTheme from './components/tabs';
|
|
21
|
+
import getTagTheme from './components/tag';
|
|
22
|
+
import getTextInputTheme from './components/textInput';
|
|
12
23
|
import getTypographyTheme from './components/typography';
|
|
13
|
-
import getFABTheme from './components/fab';
|
|
14
|
-
import getAvatarTheme from './components/avatar';
|
|
15
24
|
declare type Theme = GlobalTheme & {
|
|
16
25
|
__hd__: {
|
|
26
|
+
alert: ReturnType<typeof getAlertTheme>;
|
|
17
27
|
avatar: ReturnType<typeof getAvatarTheme>;
|
|
18
28
|
badge: ReturnType<typeof getBadgeTheme>;
|
|
19
29
|
bottomNavigation: ReturnType<typeof getBottomNavigationTheme>;
|
|
30
|
+
bottomSheet: ReturnType<typeof getBottomSheetTheme>;
|
|
20
31
|
button: ReturnType<typeof getButtonTheme>;
|
|
21
32
|
card: ReturnType<typeof getCardTheme>;
|
|
33
|
+
contentNavigator: ReturnType<typeof getContentNavigatorTheme>;
|
|
22
34
|
divider: ReturnType<typeof getDividerTheme>;
|
|
23
35
|
drawer: ReturnType<typeof getDrawerTheme>;
|
|
36
|
+
fab: ReturnType<typeof getFABTheme>;
|
|
24
37
|
icon: ReturnType<typeof getIconTheme>;
|
|
25
38
|
progress: ReturnType<typeof getProgressTheme>;
|
|
39
|
+
radio: ReturnType<typeof getRadioTheme>;
|
|
40
|
+
sectionHeading: ReturnType<typeof getSectionHeadingTheme>;
|
|
41
|
+
select: ReturnType<typeof getSelectTheme>;
|
|
42
|
+
spinner: ReturnType<typeof getSpinnerTheme>;
|
|
43
|
+
switch: ReturnType<typeof getSwitchTheme>;
|
|
26
44
|
tabs: ReturnType<typeof getTabsTheme>;
|
|
27
45
|
tag: ReturnType<typeof getTagTheme>;
|
|
46
|
+
textInput: ReturnType<typeof getTextInputTheme>;
|
|
28
47
|
typography: ReturnType<typeof getTypographyTheme>;
|
|
29
|
-
fab: ReturnType<typeof getFABTheme>;
|
|
30
48
|
};
|
|
31
49
|
};
|
|
32
50
|
declare const getTheme: (scale?: Scale, systemPallete?: SystemPalette) => Theme;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/app.json
DELETED