@ovotech/element-native 2.0.0-beta.1 → 2.0.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/package.json +1 -1
- package/dist/components/Accordion/Accordion.d.ts +0 -5
- package/dist/components/Accordion/Accordion.js +0 -139
- package/dist/components/Accordion/Group.d.ts +0 -3
- package/dist/components/Accordion/Group.js +0 -41
- package/dist/components/Accordion/Icon.d.ts +0 -4
- package/dist/components/Accordion/Icon.js +0 -68
- package/dist/components/Accordion/hooks.d.ts +0 -6
- package/dist/components/Accordion/hooks.js +0 -43
- package/dist/components/Accordion/index.d.ts +0 -4
- package/dist/components/Accordion/index.js +0 -9
- package/dist/components/Accordion/styles.d.ts +0 -46
- package/dist/components/Accordion/styles.js +0 -52
- package/dist/components/Accordion/types.d.ts +0 -20
- package/dist/components/Accordion/types.js +0 -2
- package/dist/components/Badge/Badge.d.ts +0 -12
- package/dist/components/Badge/Badge.js +0 -79
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Badge/index.js +0 -5
- package/dist/components/CTAButton/CTAButton.d.ts +0 -24
- package/dist/components/CTAButton/CTAButton.js +0 -107
- package/dist/components/CTAButton/index.d.ts +0 -1
- package/dist/components/CTAButton/index.js +0 -8
- package/dist/components/CTALink/CTALink.d.ts +0 -12
- package/dist/components/CTALink/CTALink.js +0 -45
- package/dist/components/CTALink/index.d.ts +0 -1
- package/dist/components/CTALink/index.js +0 -7
- package/dist/components/Card/Card.d.ts +0 -7
- package/dist/components/Card/Card.js +0 -33
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Card/index.js +0 -5
- package/dist/components/Checkbox/Checkbox.d.ts +0 -12
- package/dist/components/Checkbox/Checkbox.js +0 -121
- package/dist/components/Checkbox/CheckboxField.d.ts +0 -9
- package/dist/components/Checkbox/CheckboxField.js +0 -73
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Checkbox/index.js +0 -7
- package/dist/components/DataTable/DataTable.d.ts +0 -13
- package/dist/components/DataTable/DataTable.js +0 -134
- package/dist/components/DataTable/index.d.ts +0 -1
- package/dist/components/DataTable/index.js +0 -5
- package/dist/components/DateField/DateField.d.ts +0 -21
- package/dist/components/DateField/DateField.js +0 -109
- package/dist/components/DateField/index.d.ts +0 -1
- package/dist/components/DateField/index.js +0 -5
- package/dist/components/Disclosure/Disclosure.d.ts +0 -8
- package/dist/components/Disclosure/Disclosure.js +0 -86
- package/dist/components/Disclosure/index.d.ts +0 -1
- package/dist/components/Disclosure/index.js +0 -17
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +0 -18
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +0 -73
- package/dist/components/ErrorSummaryNotification/index.d.ts +0 -1
- package/dist/components/ErrorSummaryNotification/index.js +0 -5
- package/dist/components/ErrorText/ErrorText.d.ts +0 -13
- package/dist/components/ErrorText/ErrorText.js +0 -41
- package/dist/components/ErrorText/index.d.ts +0 -1
- package/dist/components/ErrorText/index.js +0 -5
- package/dist/components/Field/Field.d.ts +0 -13
- package/dist/components/Field/Field.js +0 -94
- package/dist/components/Field/index.d.ts +0 -1
- package/dist/components/Field/index.js +0 -17
- package/dist/components/FormGroup/FormGroup.d.ts +0 -8
- package/dist/components/FormGroup/FormGroup.js +0 -43
- package/dist/components/FormGroup/index.d.ts +0 -1
- package/dist/components/FormGroup/index.js +0 -5
- package/dist/components/Grid/Col.d.ts +0 -12
- package/dist/components/Grid/Col.js +0 -58
- package/dist/components/Grid/Row.d.ts +0 -9
- package/dist/components/Grid/Row.js +0 -76
- package/dist/components/Grid/index.d.ts +0 -2
- package/dist/components/Grid/index.js +0 -7
- package/dist/components/Heading/Heading.d.ts +0 -6
- package/dist/components/Heading/Heading.js +0 -115
- package/dist/components/Heading/index.d.ts +0 -1
- package/dist/components/Heading/index.js +0 -8
- package/dist/components/HintText/HintText.d.ts +0 -13
- package/dist/components/HintText/HintText.js +0 -41
- package/dist/components/HintText/index.d.ts +0 -1
- package/dist/components/HintText/index.js +0 -5
- package/dist/components/Icon/Icon.d.ts +0 -11
- package/dist/components/Icon/Icon.js +0 -62
- package/dist/components/Icon/index.d.ts +0 -1
- package/dist/components/Icon/index.js +0 -5
- package/dist/components/Input/CurrencyInput.d.ts +0 -15
- package/dist/components/Input/CurrencyInput.js +0 -59
- package/dist/components/Input/EmailInput.d.ts +0 -9
- package/dist/components/Input/EmailInput.js +0 -41
- package/dist/components/Input/Input.d.ts +0 -16
- package/dist/components/Input/Input.js +0 -102
- package/dist/components/Input/NumberInput.d.ts +0 -9
- package/dist/components/Input/NumberInput.js +0 -41
- package/dist/components/Input/PasswordInput.d.ts +0 -9
- package/dist/components/Input/PasswordInput.js +0 -55
- package/dist/components/Input/TelInput.d.ts +0 -9
- package/dist/components/Input/TelInput.js +0 -41
- package/dist/components/Input/TextInput.d.ts +0 -9
- package/dist/components/Input/TextInput.js +0 -41
- package/dist/components/Input/TextareaInput.d.ts +0 -15
- package/dist/components/Input/TextareaInput.js +0 -64
- package/dist/components/Input/index.d.ts +0 -7
- package/dist/components/Input/index.js +0 -17
- package/dist/components/LabelText/LabelText.d.ts +0 -13
- package/dist/components/LabelText/LabelText.js +0 -41
- package/dist/components/LabelText/index.d.ts +0 -1
- package/dist/components/LabelText/index.js +0 -5
- package/dist/components/List/List.d.ts +0 -29
- package/dist/components/List/List.js +0 -154
- package/dist/components/List/index.d.ts +0 -1
- package/dist/components/List/index.js +0 -10
- package/dist/components/Margin/Margin.d.ts +0 -23
- package/dist/components/Margin/Margin.js +0 -53
- package/dist/components/Margin/index.d.ts +0 -1
- package/dist/components/Margin/index.js +0 -5
- package/dist/components/NavHeader/NavHeader.d.ts +0 -15
- package/dist/components/NavHeader/NavHeader.js +0 -93
- package/dist/components/NavHeader/index.d.ts +0 -1
- package/dist/components/NavHeader/index.js +0 -5
- package/dist/components/Notification/Notification.d.ts +0 -31
- package/dist/components/Notification/Notification.js +0 -123
- package/dist/components/Notification/index.d.ts +0 -1
- package/dist/components/Notification/index.js +0 -9
- package/dist/components/Radio/Radio.d.ts +0 -12
- package/dist/components/Radio/Radio.js +0 -114
- package/dist/components/Radio/RadioField.d.ts +0 -11
- package/dist/components/Radio/RadioField.js +0 -78
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/index.js +0 -7
- package/dist/components/SkeletonLoading/Skeleton.d.ts +0 -1
- package/dist/components/SkeletonLoading/Skeleton.js +0 -33
- package/dist/components/SkeletonLoading/SkeletonCTA.d.ts +0 -6
- package/dist/components/SkeletonLoading/SkeletonCTA.js +0 -41
- package/dist/components/SkeletonLoading/SkeletonCircle.d.ts +0 -6
- package/dist/components/SkeletonLoading/SkeletonCircle.js +0 -46
- package/dist/components/SkeletonLoading/SkeletonHeading.d.ts +0 -8
- package/dist/components/SkeletonLoading/SkeletonHeading.js +0 -41
- package/dist/components/SkeletonLoading/SkeletonText.d.ts +0 -6
- package/dist/components/SkeletonLoading/SkeletonText.js +0 -49
- package/dist/components/SkeletonLoading/index.d.ts +0 -5
- package/dist/components/SkeletonLoading/index.js +0 -21
- package/dist/components/Stack/Stack.d.ts +0 -10
- package/dist/components/Stack/Stack.js +0 -75
- package/dist/components/Stack/index.d.ts +0 -1
- package/dist/components/Stack/index.js +0 -5
- package/dist/components/Stretch/Stretch.d.ts +0 -7
- package/dist/components/Stretch/Stretch.js +0 -31
- package/dist/components/Stretch/index.d.ts +0 -1
- package/dist/components/Stretch/index.js +0 -17
- package/dist/components/SubLabelText/SubLabelText.d.ts +0 -13
- package/dist/components/SubLabelText/SubLabelText.js +0 -41
- package/dist/components/SubLabelText/index.d.ts +0 -1
- package/dist/components/SubLabelText/index.js +0 -5
- package/dist/components/SummaryList/SummaryList.d.ts +0 -10
- package/dist/components/SummaryList/SummaryList.js +0 -66
- package/dist/components/SummaryList/index.d.ts +0 -1
- package/dist/components/SummaryList/index.js +0 -6
- package/dist/components/Tabs/Tab.d.ts +0 -11
- package/dist/components/Tabs/Tab.js +0 -74
- package/dist/components/Tabs/TabList.d.ts +0 -1
- package/dist/components/Tabs/TabList.js +0 -74
- package/dist/components/Tabs/TabPanel.d.ts +0 -3
- package/dist/components/Tabs/TabPanel.js +0 -41
- package/dist/components/Tabs/Tabs.d.ts +0 -9
- package/dist/components/Tabs/Tabs.js +0 -95
- package/dist/components/Tabs/index.d.ts +0 -4
- package/dist/components/Tabs/index.js +0 -11
- package/dist/components/Text/Text.d.ts +0 -26
- package/dist/components/Text/Text.js +0 -96
- package/dist/components/Text/index.d.ts +0 -1
- package/dist/components/Text/index.js +0 -10
- package/dist/components/TextField/CurrencyField.d.ts +0 -11
- package/dist/components/TextField/CurrencyField.js +0 -56
- package/dist/components/TextField/EmailField.d.ts +0 -9
- package/dist/components/TextField/EmailField.js +0 -56
- package/dist/components/TextField/NumberField.d.ts +0 -9
- package/dist/components/TextField/NumberField.js +0 -56
- package/dist/components/TextField/PasswordField.d.ts +0 -9
- package/dist/components/TextField/PasswordField.js +0 -56
- package/dist/components/TextField/TelField.d.ts +0 -9
- package/dist/components/TextField/TelField.js +0 -56
- package/dist/components/TextField/TextField.d.ts +0 -9
- package/dist/components/TextField/TextField.js +0 -56
- package/dist/components/TextField/TextareaField.d.ts +0 -11
- package/dist/components/TextField/TextareaField.js +0 -56
- package/dist/components/TextField/index.d.ts +0 -7
- package/dist/components/TextField/index.js +0 -17
- package/dist/components/TextLink/TextLink.d.ts +0 -8
- package/dist/components/TextLink/TextLink.js +0 -75
- package/dist/components/TextLink/index.d.ts +0 -1
- package/dist/components/TextLink/index.js +0 -5
- package/dist/components/index.d.ts +0 -27
- package/dist/components/index.js +0 -43
- package/dist/esm/components/Accordion/Accordion.js +0 -111
- package/dist/esm/components/Accordion/Group.js +0 -14
- package/dist/esm/components/Accordion/Icon.js +0 -38
- package/dist/esm/components/Accordion/hooks.js +0 -16
- package/dist/esm/components/Accordion/index.js +0 -3
- package/dist/esm/components/Accordion/styles.js +0 -49
- package/dist/esm/components/Accordion/types.js +0 -1
- package/dist/esm/components/Badge/Badge.js +0 -49
- package/dist/esm/components/Badge/index.js +0 -1
- package/dist/esm/components/CTAButton/CTAButton.js +0 -78
- package/dist/esm/components/CTAButton/index.js +0 -1
- package/dist/esm/components/CTALink/CTALink.js +0 -17
- package/dist/esm/components/CTALink/index.js +0 -1
- package/dist/esm/components/Card/Card.js +0 -27
- package/dist/esm/components/Card/index.js +0 -1
- package/dist/esm/components/Checkbox/Checkbox.js +0 -95
- package/dist/esm/components/Checkbox/CheckboxField.js +0 -47
- package/dist/esm/components/Checkbox/index.js +0 -2
- package/dist/esm/components/DataTable/DataTable.js +0 -108
- package/dist/esm/components/DataTable/index.js +0 -1
- package/dist/esm/components/DateField/DateField.js +0 -83
- package/dist/esm/components/DateField/index.js +0 -1
- package/dist/esm/components/Disclosure/Disclosure.js +0 -60
- package/dist/esm/components/Disclosure/index.js +0 -1
- package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +0 -47
- package/dist/esm/components/ErrorSummaryNotification/index.js +0 -1
- package/dist/esm/components/ErrorText/ErrorText.js +0 -15
- package/dist/esm/components/ErrorText/index.js +0 -1
- package/dist/esm/components/Field/Field.js +0 -68
- package/dist/esm/components/Field/index.js +0 -1
- package/dist/esm/components/FormGroup/FormGroup.js +0 -37
- package/dist/esm/components/FormGroup/index.js +0 -1
- package/dist/esm/components/Grid/Col.js +0 -32
- package/dist/esm/components/Grid/Row.js +0 -47
- package/dist/esm/components/Grid/index.js +0 -2
- package/dist/esm/components/Heading/Heading.js +0 -82
- package/dist/esm/components/Heading/index.js +0 -1
- package/dist/esm/components/HintText/HintText.js +0 -15
- package/dist/esm/components/HintText/index.js +0 -1
- package/dist/esm/components/Icon/Icon.js +0 -35
- package/dist/esm/components/Icon/index.js +0 -1
- package/dist/esm/components/Input/CurrencyInput.js +0 -33
- package/dist/esm/components/Input/EmailInput.js +0 -15
- package/dist/esm/components/Input/Input.js +0 -76
- package/dist/esm/components/Input/NumberInput.js +0 -15
- package/dist/esm/components/Input/PasswordInput.js +0 -29
- package/dist/esm/components/Input/TelInput.js +0 -15
- package/dist/esm/components/Input/TextInput.js +0 -15
- package/dist/esm/components/Input/TextareaInput.js +0 -38
- package/dist/esm/components/Input/index.js +0 -7
- package/dist/esm/components/LabelText/LabelText.js +0 -15
- package/dist/esm/components/LabelText/index.js +0 -1
- package/dist/esm/components/List/List.js +0 -123
- package/dist/esm/components/List/index.js +0 -1
- package/dist/esm/components/Margin/Margin.js +0 -47
- package/dist/esm/components/Margin/index.js +0 -1
- package/dist/esm/components/NavHeader/NavHeader.js +0 -63
- package/dist/esm/components/NavHeader/index.js +0 -1
- package/dist/esm/components/Notification/Notification.js +0 -97
- package/dist/esm/components/Notification/index.js +0 -1
- package/dist/esm/components/Radio/Radio.js +0 -85
- package/dist/esm/components/Radio/RadioField.js +0 -52
- package/dist/esm/components/Radio/index.js +0 -2
- package/dist/esm/components/SkeletonLoading/Skeleton.js +0 -7
- package/dist/esm/components/SkeletonLoading/SkeletonCTA.js +0 -34
- package/dist/esm/components/SkeletonLoading/SkeletonCircle.js +0 -39
- package/dist/esm/components/SkeletonLoading/SkeletonHeading.js +0 -34
- package/dist/esm/components/SkeletonLoading/SkeletonText.js +0 -42
- package/dist/esm/components/SkeletonLoading/index.js +0 -5
- package/dist/esm/components/Stack/Stack.js +0 -46
- package/dist/esm/components/Stack/index.js +0 -1
- package/dist/esm/components/Stretch/Stretch.js +0 -24
- package/dist/esm/components/Stretch/index.js +0 -1
- package/dist/esm/components/SubLabelText/SubLabelText.js +0 -15
- package/dist/esm/components/SubLabelText/index.js +0 -1
- package/dist/esm/components/SummaryList/SummaryList.js +0 -39
- package/dist/esm/components/SummaryList/index.js +0 -1
- package/dist/esm/components/Tabs/Tab.js +0 -45
- package/dist/esm/components/Tabs/TabList.js +0 -48
- package/dist/esm/components/Tabs/TabPanel.js +0 -34
- package/dist/esm/components/Tabs/Tabs.js +0 -69
- package/dist/esm/components/Tabs/index.js +0 -4
- package/dist/esm/components/Text/Text.js +0 -69
- package/dist/esm/components/Text/index.js +0 -1
- package/dist/esm/components/TextField/CurrencyField.js +0 -30
- package/dist/esm/components/TextField/EmailField.js +0 -30
- package/dist/esm/components/TextField/NumberField.js +0 -30
- package/dist/esm/components/TextField/PasswordField.js +0 -30
- package/dist/esm/components/TextField/TelField.js +0 -30
- package/dist/esm/components/TextField/TextField.js +0 -30
- package/dist/esm/components/TextField/TextareaField.js +0 -30
- package/dist/esm/components/TextField/index.js +0 -7
- package/dist/esm/components/TextLink/TextLink.js +0 -49
- package/dist/esm/components/TextLink/index.js +0 -1
- package/dist/esm/components/index.js +0 -27
- package/dist/esm/hooks/index.js +0 -2
- package/dist/esm/hooks/use-breakpoint.js +0 -12
- package/dist/esm/hooks/use-full-width.js +0 -16
- package/dist/esm/index.js +0 -3
- package/dist/esm/providers/IconsProvider.js +0 -65
- package/dist/esm/providers/icons/ArrowDown.js +0 -15
- package/dist/esm/providers/icons/ArrowLeft.js +0 -15
- package/dist/esm/providers/icons/ArrowRight.js +0 -15
- package/dist/esm/providers/icons/ArrowUp.js +0 -15
- package/dist/esm/providers/icons/CaretDown.js +0 -15
- package/dist/esm/providers/icons/CaretLeft.js +0 -15
- package/dist/esm/providers/icons/CaretRight.js +0 -15
- package/dist/esm/providers/icons/CaretUp.js +0 -15
- package/dist/esm/providers/icons/Chart.js +0 -15
- package/dist/esm/providers/icons/Check.js +0 -15
- package/dist/esm/providers/icons/ChevronDown.js +0 -15
- package/dist/esm/providers/icons/ChevronLeft.js +0 -15
- package/dist/esm/providers/icons/ChevronLeftSmall.js +0 -15
- package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +0 -15
- package/dist/esm/providers/icons/ChevronRight.js +0 -15
- package/dist/esm/providers/icons/ChevronRightSmall.js +0 -15
- package/dist/esm/providers/icons/ChevronRightSmallLast.js +0 -15
- package/dist/esm/providers/icons/ChevronUp.js +0 -15
- package/dist/esm/providers/icons/Cross.js +0 -15
- package/dist/esm/providers/icons/Dollar.js +0 -15
- package/dist/esm/providers/icons/Download.js +0 -15
- package/dist/esm/providers/icons/Electricity.js +0 -15
- package/dist/esm/providers/icons/Euro.js +0 -15
- package/dist/esm/providers/icons/Gas.js +0 -16
- package/dist/esm/providers/icons/Help.js +0 -15
- package/dist/esm/providers/icons/Hide.js +0 -15
- package/dist/esm/providers/icons/HidePassword.js +0 -15
- package/dist/esm/providers/icons/Home.js +0 -15
- package/dist/esm/providers/icons/Info.js +0 -15
- package/dist/esm/providers/icons/Link.js +0 -16
- package/dist/esm/providers/icons/Logo.js +0 -15
- package/dist/esm/providers/icons/Minus.js +0 -15
- package/dist/esm/providers/icons/NewWindow.js +0 -15
- package/dist/esm/providers/icons/Payment.js +0 -15
- package/dist/esm/providers/icons/PaymentCard.js +0 -15
- package/dist/esm/providers/icons/Plus.js +0 -15
- package/dist/esm/providers/icons/Pound.js +0 -15
- package/dist/esm/providers/icons/Search.js +0 -15
- package/dist/esm/providers/icons/Show.js +0 -15
- package/dist/esm/providers/icons/ShowPassword.js +0 -15
- package/dist/esm/providers/icons/Usage.js +0 -15
- package/dist/esm/providers/icons/User.js +0 -15
- package/dist/esm/providers/icons/index.js +0 -38
- package/dist/esm/providers/index.js +0 -2
- package/dist/esm/providers/types.js +0 -1
- package/dist/esm/styled.native.js +0 -4
- package/dist/esm/theme/create-theme.js +0 -503
- package/dist/esm/theme/index.js +0 -8
- package/dist/esm/theme/theme.js +0 -1
- package/dist/esm/utils/index.js +0 -1
- package/dist/esm/utils/utils.js +0 -93
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.js +0 -18
- package/dist/hooks/use-breakpoint.d.ts +0 -7
- package/dist/hooks/use-breakpoint.js +0 -16
- package/dist/hooks/use-full-width.d.ts +0 -2
- package/dist/hooks/use-full-width.js +0 -20
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -19
- package/dist/providers/IconsProvider.d.ts +0 -8
- package/dist/providers/IconsProvider.js +0 -93
- package/dist/providers/icons/ArrowDown.d.ts +0 -2
- package/dist/providers/icons/ArrowDown.js +0 -22
- package/dist/providers/icons/ArrowLeft.d.ts +0 -2
- package/dist/providers/icons/ArrowLeft.js +0 -22
- package/dist/providers/icons/ArrowRight.d.ts +0 -2
- package/dist/providers/icons/ArrowRight.js +0 -22
- package/dist/providers/icons/ArrowUp.d.ts +0 -2
- package/dist/providers/icons/ArrowUp.js +0 -22
- package/dist/providers/icons/CaretDown.d.ts +0 -2
- package/dist/providers/icons/CaretDown.js +0 -22
- package/dist/providers/icons/CaretLeft.d.ts +0 -2
- package/dist/providers/icons/CaretLeft.js +0 -22
- package/dist/providers/icons/CaretRight.d.ts +0 -2
- package/dist/providers/icons/CaretRight.js +0 -22
- package/dist/providers/icons/CaretUp.d.ts +0 -2
- package/dist/providers/icons/CaretUp.js +0 -22
- package/dist/providers/icons/Chart.d.ts +0 -2
- package/dist/providers/icons/Chart.js +0 -22
- package/dist/providers/icons/Check.d.ts +0 -2
- package/dist/providers/icons/Check.js +0 -22
- package/dist/providers/icons/ChevronDown.d.ts +0 -2
- package/dist/providers/icons/ChevronDown.js +0 -22
- package/dist/providers/icons/ChevronLeft.d.ts +0 -2
- package/dist/providers/icons/ChevronLeft.js +0 -22
- package/dist/providers/icons/ChevronLeftSmall.d.ts +0 -2
- package/dist/providers/icons/ChevronLeftSmall.js +0 -22
- package/dist/providers/icons/ChevronLeftSmallFirst.d.ts +0 -2
- package/dist/providers/icons/ChevronLeftSmallFirst.js +0 -22
- package/dist/providers/icons/ChevronRight.d.ts +0 -2
- package/dist/providers/icons/ChevronRight.js +0 -22
- package/dist/providers/icons/ChevronRightSmall.d.ts +0 -2
- package/dist/providers/icons/ChevronRightSmall.js +0 -22
- package/dist/providers/icons/ChevronRightSmallLast.d.ts +0 -2
- package/dist/providers/icons/ChevronRightSmallLast.js +0 -22
- package/dist/providers/icons/ChevronUp.d.ts +0 -2
- package/dist/providers/icons/ChevronUp.js +0 -22
- package/dist/providers/icons/Cross.d.ts +0 -2
- package/dist/providers/icons/Cross.js +0 -22
- package/dist/providers/icons/Dollar.d.ts +0 -2
- package/dist/providers/icons/Dollar.js +0 -22
- package/dist/providers/icons/Download.d.ts +0 -2
- package/dist/providers/icons/Download.js +0 -22
- package/dist/providers/icons/Electricity.d.ts +0 -2
- package/dist/providers/icons/Electricity.js +0 -22
- package/dist/providers/icons/Euro.d.ts +0 -2
- package/dist/providers/icons/Euro.js +0 -22
- package/dist/providers/icons/Gas.d.ts +0 -2
- package/dist/providers/icons/Gas.js +0 -23
- package/dist/providers/icons/Help.d.ts +0 -2
- package/dist/providers/icons/Help.js +0 -22
- package/dist/providers/icons/Hide.d.ts +0 -2
- package/dist/providers/icons/Hide.js +0 -22
- package/dist/providers/icons/HidePassword.d.ts +0 -2
- package/dist/providers/icons/HidePassword.js +0 -22
- package/dist/providers/icons/Home.d.ts +0 -2
- package/dist/providers/icons/Home.js +0 -22
- package/dist/providers/icons/Info.d.ts +0 -2
- package/dist/providers/icons/Info.js +0 -22
- package/dist/providers/icons/Link.d.ts +0 -2
- package/dist/providers/icons/Link.js +0 -23
- package/dist/providers/icons/Logo.d.ts +0 -2
- package/dist/providers/icons/Logo.js +0 -22
- package/dist/providers/icons/Minus.d.ts +0 -2
- package/dist/providers/icons/Minus.js +0 -22
- package/dist/providers/icons/NewWindow.d.ts +0 -2
- package/dist/providers/icons/NewWindow.js +0 -22
- package/dist/providers/icons/Payment.d.ts +0 -2
- package/dist/providers/icons/Payment.js +0 -22
- package/dist/providers/icons/PaymentCard.d.ts +0 -2
- package/dist/providers/icons/PaymentCard.js +0 -22
- package/dist/providers/icons/Plus.d.ts +0 -2
- package/dist/providers/icons/Plus.js +0 -22
- package/dist/providers/icons/Pound.d.ts +0 -2
- package/dist/providers/icons/Pound.js +0 -22
- package/dist/providers/icons/Search.d.ts +0 -2
- package/dist/providers/icons/Search.js +0 -22
- package/dist/providers/icons/Show.d.ts +0 -2
- package/dist/providers/icons/Show.js +0 -22
- package/dist/providers/icons/ShowPassword.d.ts +0 -2
- package/dist/providers/icons/ShowPassword.js +0 -22
- package/dist/providers/icons/Usage.d.ts +0 -2
- package/dist/providers/icons/Usage.js +0 -22
- package/dist/providers/icons/User.d.ts +0 -2
- package/dist/providers/icons/User.js +0 -22
- package/dist/providers/icons/index.d.ts +0 -38
- package/dist/providers/icons/index.js +0 -54
- package/dist/providers/index.d.ts +0 -2
- package/dist/providers/index.js +0 -18
- package/dist/providers/types.d.ts +0 -4
- package/dist/providers/types.js +0 -2
- package/dist/styled.native.d.ts +0 -6
- package/dist/styled.native.js +0 -33
- package/dist/theme/create-theme.d.ts +0 -18
- package/dist/theme/create-theme.js +0 -510
- package/dist/theme/index.d.ts +0 -5
- package/dist/theme/index.js +0 -26
- package/dist/theme/theme.d.ts +0 -301
- package/dist/theme/theme.js +0 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -17
- package/dist/utils/utils.d.ts +0 -15
- package/dist/utils/utils.js +0 -126
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Col: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
[x: number]: any;
|
|
5
|
-
[x: symbol]: any;
|
|
6
|
-
} & {
|
|
7
|
-
theme?: import("../../theme/theme").Theme | undefined;
|
|
8
|
-
} & {
|
|
9
|
-
as?: string | import("react").ComponentType<any> | undefined;
|
|
10
|
-
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
11
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> & import("react").RefAttributes<import("react-native").View>>;
|
|
12
|
-
export { Col };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.Col = void 0;
|
|
31
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
32
|
-
var utils_1 = require("../../utils");
|
|
33
|
-
var utils_2 = require("../../utils/utils");
|
|
34
|
-
var StyledCol = styled_native_1.default.View(function (_a) {
|
|
35
|
-
var grid = _a.theme.grid, _b = _a.span, span = _b === void 0 ? 12 : _b, small = _a.small, medium = _a.medium, large = _a.large, smallAndUp = _a.smallAndUp, mediumAndUp = _a.mediumAndUp, largeAndUp = _a.largeAndUp;
|
|
36
|
-
var halfGutter = grid.gutter.map(function (g) { return (0, utils_2.pxToNumber)(g) / 2 + 'px'; });
|
|
37
|
-
var smallScreen = !smallAndUp;
|
|
38
|
-
var percentage = (span / 12) * 100;
|
|
39
|
-
var smallPercentage = small ? (small / 12) * 100 : percentage;
|
|
40
|
-
var mediumPercentage = medium ? (medium / 12) * 100 : smallPercentage;
|
|
41
|
-
var largePercentage = large ? (large / 12) * 100 : mediumPercentage;
|
|
42
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex: 0 0 auto;\n flex-basis: ", "%;\n max-width: ", "%;\n padding-left: ", ";\n padding-right: ", ";\n margin-bottom: ", ";\n width: 100%;\n "], ["\n flex: 0 0 auto;\n flex-basis: ", "%;\n max-width: ", "%;\n padding-left: ", ";\n padding-right: ", ";\n margin-bottom: ", ";\n width: 100%;\n "])), largeAndUp
|
|
43
|
-
? largePercentage
|
|
44
|
-
: mediumAndUp
|
|
45
|
-
? mediumPercentage
|
|
46
|
-
: smallAndUp
|
|
47
|
-
? smallPercentage
|
|
48
|
-
: percentage, largeAndUp
|
|
49
|
-
? largePercentage
|
|
50
|
-
: mediumAndUp
|
|
51
|
-
? mediumPercentage
|
|
52
|
-
: smallAndUp
|
|
53
|
-
? smallPercentage
|
|
54
|
-
: percentage, smallScreen ? halfGutter[0] : halfGutter[1], smallScreen ? halfGutter[0] : halfGutter[1], smallScreen ? grid.gutter[0] : grid.gutter[1]);
|
|
55
|
-
});
|
|
56
|
-
var Col = (0, utils_1.styledComponentWithBreakpoints)(StyledCol);
|
|
57
|
-
exports.Col = Col;
|
|
58
|
-
var templateObject_1;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ComponentProps } from 'react';
|
|
2
|
-
import { Breakpoints } from '../../hooks';
|
|
3
|
-
declare const StyledRow: import("styled-components").StyledComponent<typeof import("react-native").View, import("../../theme/theme").Theme, {
|
|
4
|
-
isNested?: boolean | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
} & Breakpoints, never>;
|
|
8
|
-
declare const Row: ({ children, ...rest }: ComponentProps<typeof StyledRow>) => JSX.Element;
|
|
9
|
-
export { Row };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
-
}
|
|
23
|
-
Object.defineProperty(o, k2, desc);
|
|
24
|
-
}) : (function(o, m, k, k2) {
|
|
25
|
-
if (k2 === undefined) k2 = k;
|
|
26
|
-
o[k2] = m[k];
|
|
27
|
-
}));
|
|
28
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
-
}) : function(o, v) {
|
|
31
|
-
o["default"] = v;
|
|
32
|
-
});
|
|
33
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
-
if (mod && mod.__esModule) return mod;
|
|
35
|
-
var result = {};
|
|
36
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
-
__setModuleDefault(result, mod);
|
|
38
|
-
return result;
|
|
39
|
-
};
|
|
40
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
41
|
-
var t = {};
|
|
42
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
43
|
-
t[p] = s[p];
|
|
44
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
45
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
46
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
47
|
-
t[p[i]] = s[p[i]];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
52
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
53
|
-
};
|
|
54
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
-
exports.Row = void 0;
|
|
56
|
-
var react_1 = __importDefault(require("react"));
|
|
57
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
58
|
-
var utils_1 = require("../../utils");
|
|
59
|
-
var utils_2 = require("../../utils/utils");
|
|
60
|
-
var StyledRow = styled_native_1.default.View(function (_a) {
|
|
61
|
-
var grid = _a.theme.grid, isNested = _a.isNested, smallAndUp = _a.smallAndUp;
|
|
62
|
-
var halfGutter = grid.gutter.map(function (g) { return (0, utils_2.pxToNumber)(g) / 2 + 'px'; });
|
|
63
|
-
var smallScreen = !smallAndUp;
|
|
64
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n margin: 0 auto;\n width: ", ";\n max-width: 100%;\n margin-bottom: -", ";\n\n ", "\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n margin: 0 auto;\n width: ", ";\n max-width: 100%;\n margin-bottom: -", ";\n\n ", "\n "])), smallScreen ? halfGutter[0] : halfGutter[1], smallScreen ? halfGutter[0] : halfGutter[1], grid.maxWidth, smallScreen ? grid.gutter[0] : grid.gutter[1], isNested
|
|
65
|
-
? "\n margin-left: -".concat(smallScreen ? grid.gutter[0] : grid.gutter[1], ";\n margin-right: -").concat(smallScreen ? grid.gutter[0] : grid.gutter[1], ";\n width: auto;\n max-width: 200%; /* max width none not supported in RN */\n ")
|
|
66
|
-
: null);
|
|
67
|
-
});
|
|
68
|
-
var WidthRow = (0, utils_1.styledComponentWithBreakpoints)(StyledRow);
|
|
69
|
-
var RowInner = styled_native_1.default.View(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex: 0 1 auto;\n flex-direction: row;\n flex-wrap: wrap;\n"], ["\n display: flex;\n flex: 0 1 auto;\n flex-direction: row;\n flex-wrap: wrap;\n"])));
|
|
70
|
-
var Row = function (_a) {
|
|
71
|
-
var children = _a.children, rest = __rest(_a, ["children"]);
|
|
72
|
-
return (react_1.default.createElement(WidthRow, __assign({}, rest),
|
|
73
|
-
react_1.default.createElement(RowInner, null, children)));
|
|
74
|
-
};
|
|
75
|
-
exports.Row = Row;
|
|
76
|
-
var templateObject_1, templateObject_2;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Col = exports.Row = void 0;
|
|
4
|
-
var Row_1 = require("./Row");
|
|
5
|
-
Object.defineProperty(exports, "Row", { enumerable: true, get: function () { return Row_1.Row; } });
|
|
6
|
-
var Col_1 = require("./Col");
|
|
7
|
-
Object.defineProperty(exports, "Col", { enumerable: true, get: function () { return Col_1.Col; } });
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { TextProps } from 'react-native';
|
|
3
|
-
export declare const Heading1: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
|
|
4
|
-
export declare const Heading2: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
|
|
5
|
-
export declare const Heading3: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
|
|
6
|
-
export declare const Heading4: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
-
}
|
|
23
|
-
Object.defineProperty(o, k2, desc);
|
|
24
|
-
}) : (function(o, m, k, k2) {
|
|
25
|
-
if (k2 === undefined) k2 = k;
|
|
26
|
-
o[k2] = m[k];
|
|
27
|
-
}));
|
|
28
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
-
}) : function(o, v) {
|
|
31
|
-
o["default"] = v;
|
|
32
|
-
});
|
|
33
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
-
if (mod && mod.__esModule) return mod;
|
|
35
|
-
var result = {};
|
|
36
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
-
__setModuleDefault(result, mod);
|
|
38
|
-
return result;
|
|
39
|
-
};
|
|
40
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
41
|
-
var t = {};
|
|
42
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
43
|
-
t[p] = s[p];
|
|
44
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
45
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
46
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
47
|
-
t[p[i]] = s[p[i]];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
52
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
53
|
-
};
|
|
54
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
-
exports.Heading4 = exports.Heading3 = exports.Heading2 = exports.Heading1 = void 0;
|
|
56
|
-
var react_1 = __importDefault(require("react"));
|
|
57
|
-
var hooks_1 = require("../../hooks");
|
|
58
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
59
|
-
var StyledHeading1 = styled_native_1.default.Text(function (_a) {
|
|
60
|
-
var heading = _a.theme.heading, smallAndUp = _a.smallAndUp;
|
|
61
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "])), heading.fontFamily, heading.heading1.fontWeight || heading.fontWeight, heading.color, heading.heading1.fontSize[smallAndUp ? 1 : 0], heading.heading1.lineHeight[smallAndUp ? 1 : 0], smallAndUp
|
|
62
|
-
? heading.heading1.marginTop[1]
|
|
63
|
-
: heading.heading1.marginTop[0], smallAndUp
|
|
64
|
-
? heading.heading1.marginBottom[1]
|
|
65
|
-
: heading.heading1.marginBottom[0]);
|
|
66
|
-
});
|
|
67
|
-
var Heading1 = function (_a) {
|
|
68
|
-
var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
|
|
69
|
-
var breakpoints = (0, hooks_1.useBreakpoint)();
|
|
70
|
-
return (react_1.default.createElement(StyledHeading1, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
|
|
71
|
-
};
|
|
72
|
-
exports.Heading1 = Heading1;
|
|
73
|
-
var StyledHeading2 = styled_native_1.default.Text(function (_a) {
|
|
74
|
-
var heading = _a.theme.heading, smallAndUp = _a.smallAndUp;
|
|
75
|
-
return (0, styled_native_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n color: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n color: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "])), heading.fontFamily, heading.heading2.fontSize[smallAndUp ? 1 : 0], heading.heading2.lineHeight[smallAndUp ? 1 : 0], heading.heading2.fontWeight || heading.fontWeight, heading.color, smallAndUp
|
|
76
|
-
? heading.heading2.marginTop[1]
|
|
77
|
-
: heading.heading2.marginTop[0], smallAndUp
|
|
78
|
-
? heading.heading2.marginBottom[1]
|
|
79
|
-
: heading.heading2.marginBottom[0]);
|
|
80
|
-
});
|
|
81
|
-
var Heading2 = function (_a) {
|
|
82
|
-
var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
|
|
83
|
-
var breakpoints = (0, hooks_1.useBreakpoint)();
|
|
84
|
-
return (react_1.default.createElement(StyledHeading2, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
|
|
85
|
-
};
|
|
86
|
-
exports.Heading2 = Heading2;
|
|
87
|
-
var StyledHeading3 = styled_native_1.default.Text(function (_a) {
|
|
88
|
-
var heading = _a.theme.heading, smallAndUp = _a.smallAndUp;
|
|
89
|
-
return (0, styled_native_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n color: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n color: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "])), heading.fontFamily, heading.heading3.fontSize[smallAndUp ? 1 : 0], heading.heading3.lineHeight[smallAndUp ? 1 : 0], heading.heading3.fontWeight || heading.fontWeight, heading.color, smallAndUp
|
|
90
|
-
? heading.heading3.marginTop[1]
|
|
91
|
-
: heading.heading3.marginTop[0], smallAndUp
|
|
92
|
-
? heading.heading3.marginBottom[1]
|
|
93
|
-
: heading.heading3.marginBottom[0]);
|
|
94
|
-
});
|
|
95
|
-
var Heading3 = function (_a) {
|
|
96
|
-
var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
|
|
97
|
-
var breakpoints = (0, hooks_1.useBreakpoint)();
|
|
98
|
-
return (react_1.default.createElement(StyledHeading3, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
|
|
99
|
-
};
|
|
100
|
-
exports.Heading3 = Heading3;
|
|
101
|
-
var StyledHeading4 = styled_native_1.default.Text(function (_a) {
|
|
102
|
-
var heading = _a.theme.heading, smallAndUp = _a.smallAndUp;
|
|
103
|
-
return (0, styled_native_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n color: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n color: ", ";\n margin-top: ", ";\n margin-bottom: ", ";\n "])), heading.fontFamily, heading.heading3.fontSize[smallAndUp ? 1 : 0], heading.heading3.lineHeight[smallAndUp ? 1 : 0], heading.heading4.fontWeight || heading.fontWeight, heading.color, smallAndUp
|
|
104
|
-
? heading.heading4.marginTop[1]
|
|
105
|
-
: heading.heading4.marginTop[0], smallAndUp
|
|
106
|
-
? heading.heading4.marginBottom[1]
|
|
107
|
-
: heading.heading4.marginBottom[0]);
|
|
108
|
-
});
|
|
109
|
-
var Heading4 = function (_a) {
|
|
110
|
-
var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
|
|
111
|
-
var breakpoints = (0, hooks_1.useBreakpoint)();
|
|
112
|
-
return (react_1.default.createElement(StyledHeading4, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
|
|
113
|
-
};
|
|
114
|
-
exports.Heading4 = Heading4;
|
|
115
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Heading1, Heading2, Heading3, Heading4 } from './Heading';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Heading4 = exports.Heading3 = exports.Heading2 = exports.Heading1 = void 0;
|
|
4
|
-
var Heading_1 = require("./Heading");
|
|
5
|
-
Object.defineProperty(exports, "Heading1", { enumerable: true, get: function () { return Heading_1.Heading1; } });
|
|
6
|
-
Object.defineProperty(exports, "Heading2", { enumerable: true, get: function () { return Heading_1.Heading2; } });
|
|
7
|
-
Object.defineProperty(exports, "Heading3", { enumerable: true, get: function () { return Heading_1.Heading3; } });
|
|
8
|
-
Object.defineProperty(exports, "Heading4", { enumerable: true, get: function () { return Heading_1.Heading4; } });
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Text } from 'react-native';
|
|
3
|
-
declare const HintText: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
[x: number]: any;
|
|
6
|
-
[x: symbol]: any;
|
|
7
|
-
} & {
|
|
8
|
-
theme?: import("../../theme/theme").Theme | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
as?: string | import("react").ComponentType<any> | undefined;
|
|
11
|
-
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
12
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> & import("react").RefAttributes<Text>>;
|
|
13
|
-
export { HintText };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.HintText = void 0;
|
|
31
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
32
|
-
var theme_1 = require("../../theme");
|
|
33
|
-
var utils_1 = require("../../utils");
|
|
34
|
-
var StyledHintText = styled_native_1.default.Text(function (_a) {
|
|
35
|
-
var field = _a.theme.field, smallAndUp = _a.smallAndUp;
|
|
36
|
-
var fontSize = smallAndUp ? field.fontSize[1] : field.fontSize[0];
|
|
37
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n "])), field.fontFamily, field.hint.fontWeight, fontSize, (0, theme_1.calculateLineHeight)(fontSize, field.lineHeight), field.hint.color);
|
|
38
|
-
});
|
|
39
|
-
var HintText = (0, utils_1.styledComponentWithBreakpoints)(StyledHintText);
|
|
40
|
-
exports.HintText = HintText;
|
|
41
|
-
var templateObject_1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { HintText } from './HintText';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SvgProps } from 'react-native-svg';
|
|
3
|
-
import { IconName } from '../../providers';
|
|
4
|
-
export declare type IconBase = React.FunctionComponent<SvgProps>;
|
|
5
|
-
declare type Props = SvgProps & {
|
|
6
|
-
name: IconName | (string & {});
|
|
7
|
-
color?: string;
|
|
8
|
-
size: string | number;
|
|
9
|
-
};
|
|
10
|
-
export declare const Icon: ({ name, size, color, testID, ...rest }: Props) => JSX.Element | null;
|
|
11
|
-
export {};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
-
var t = {};
|
|
38
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
-
t[p] = s[p];
|
|
40
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
-
t[p[i]] = s[p[i]];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.Icon = void 0;
|
|
49
|
-
var react_1 = __importStar(require("react"));
|
|
50
|
-
var providers_1 = require("../../providers");
|
|
51
|
-
var styled_native_1 = require("../../styled.native");
|
|
52
|
-
var Icon = function (_a) {
|
|
53
|
-
var name = _a.name, size = _a.size, color = _a.color, testID = _a.testID, rest = __rest(_a, ["name", "size", "color", "testID"]);
|
|
54
|
-
var icons = (0, providers_1.useIcons)();
|
|
55
|
-
var colors = (0, react_1.useContext)(styled_native_1.ThemeContext).colors;
|
|
56
|
-
// @ts-ignore to support additional icons.
|
|
57
|
-
var Svg = name && icons[name];
|
|
58
|
-
return Svg ? (react_1.default.createElement(Svg, __assign({ testID: testID ? testID : "element-icon".concat(name ? "-".concat(name) : ''),
|
|
59
|
-
// @ts-ignore this is valid.
|
|
60
|
-
color: color !== null && color !== void 0 ? color : colors.body, width: size, height: size }, rest))) : null;
|
|
61
|
-
};
|
|
62
|
-
exports.Icon = Icon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Icon } from './Icon';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextInput } from 'react-native';
|
|
3
|
-
import { InputProps } from './Input';
|
|
4
|
-
export declare type CurrencyInputProps = InputProps & {
|
|
5
|
-
currency?: 'GBP' | 'EUR' | 'AUD' | 'USD';
|
|
6
|
-
};
|
|
7
|
-
declare const CurrencyInput: React.ForwardRefExoticComponent<import("react-native").TextInputProps & {
|
|
8
|
-
invalid?: boolean | undefined;
|
|
9
|
-
stretch?: boolean | undefined;
|
|
10
|
-
iconLeft?: (string & {}) | import("../../providers").IconName | undefined;
|
|
11
|
-
iconRight?: (string & {}) | import("../../providers").IconName | undefined;
|
|
12
|
-
} & {
|
|
13
|
-
currency?: "GBP" | "EUR" | "AUD" | "USD" | undefined;
|
|
14
|
-
} & React.RefAttributes<TextInput>>;
|
|
15
|
-
export { CurrencyInput };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
-
var t = {};
|
|
38
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
-
t[p] = s[p];
|
|
40
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
-
t[p[i]] = s[p[i]];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.CurrencyInput = void 0;
|
|
49
|
-
var react_1 = __importStar(require("react"));
|
|
50
|
-
var utils_1 = require("../../utils");
|
|
51
|
-
var NumberInput_1 = require("./NumberInput");
|
|
52
|
-
var CurrencyInput = (0, react_1.forwardRef)(function (_a, ref) {
|
|
53
|
-
var _b = _a.currency, currency = _b === void 0 ? 'GBP' : _b, invalid = _a.invalid, _c = _a.accessibilityLabel, accessibilityLabel = _c === void 0 ? '' : _c, rest = __rest(_a, ["currency", "invalid", "accessibilityLabel"]);
|
|
54
|
-
var inputRef = (0, react_1.createRef)();
|
|
55
|
-
var updatedAccessibilityLabel = "".concat(accessibilityLabel, " ").concat(currency === 'GBP' ? 'pounds' : currency === 'EUR' ? 'euro' : 'dollar').trim();
|
|
56
|
-
var iconName = currency === 'GBP' ? 'pound' : currency === 'EUR' ? 'euro' : 'dollar';
|
|
57
|
-
return (react_1.default.createElement(NumberInput_1.NumberInput, __assign({}, rest, { invalid: invalid, accessibilityLabel: updatedAccessibilityLabel, ref: (0, utils_1.mergeRefs)(ref, inputRef), iconLeft: iconName })));
|
|
58
|
-
});
|
|
59
|
-
exports.CurrencyInput = CurrencyInput;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextInput } from 'react-native';
|
|
3
|
-
declare const EmailInput: React.ForwardRefExoticComponent<import("react-native").TextInputProps & {
|
|
4
|
-
invalid?: boolean | undefined;
|
|
5
|
-
stretch?: boolean | undefined;
|
|
6
|
-
iconLeft?: (string & {}) | import("../../providers").IconName | undefined;
|
|
7
|
-
iconRight?: (string & {}) | import("../../providers").IconName | undefined;
|
|
8
|
-
} & React.RefAttributes<TextInput>>;
|
|
9
|
-
export { EmailInput };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.EmailInput = void 0;
|
|
38
|
-
var react_1 = __importStar(require("react"));
|
|
39
|
-
var Input_1 = require("./Input");
|
|
40
|
-
var EmailInput = (0, react_1.forwardRef)(function (props, ref) { return (react_1.default.createElement(Input_1.Input, __assign({}, props, { keyboardType: "email-address", autoCapitalize: "none", autoCorrect: false, ref: ref }))); });
|
|
41
|
-
exports.EmailInput = EmailInput;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextInputProps, TextInput } from 'react-native';
|
|
3
|
-
import { IconName } from '../../providers/types';
|
|
4
|
-
export declare type InputProps = TextInputProps & {
|
|
5
|
-
invalid?: boolean;
|
|
6
|
-
stretch?: boolean;
|
|
7
|
-
iconLeft?: IconName | (string & {});
|
|
8
|
-
iconRight?: IconName | (string & {});
|
|
9
|
-
};
|
|
10
|
-
declare const Input: React.ForwardRefExoticComponent<TextInputProps & {
|
|
11
|
-
invalid?: boolean | undefined;
|
|
12
|
-
stretch?: boolean | undefined;
|
|
13
|
-
iconLeft?: (string & {}) | IconName | undefined;
|
|
14
|
-
iconRight?: (string & {}) | IconName | undefined;
|
|
15
|
-
} & React.RefAttributes<TextInput>>;
|
|
16
|
-
export { Input };
|