@ovotech/element-native 3.8.1-canary-0c92e13-244 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +3 -2
- package/dist/components/Accordion/Accordion.js +97 -130
- package/dist/components/Accordion/Group.js +21 -21
- package/dist/components/Accordion/Icon.js +59 -60
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Accordion/index.js +19 -9
- package/dist/components/Accordion/styles.d.ts +2 -20
- package/dist/components/Accordion/styles.js +50 -59
- package/dist/components/Accordion/types.d.ts +2 -2
- package/dist/components/Accordion/types.js +1 -2
- package/dist/components/ActionCard/ActionCard.d.ts +1 -1
- package/dist/components/ActionCard/ActionCard.js +376 -104
- package/dist/components/ActionCard/CloseIconShape.js +14 -40
- package/dist/components/ActionCard/IndicatorIconShape.js +11 -40
- package/dist/components/ActionCard/index.js +185 -5
- package/dist/components/ActionList/ActionList.d.ts +4 -3
- package/dist/components/ActionList/ActionList.js +202 -56
- package/dist/components/ActionList/index.js +100 -6
- package/dist/components/ActionList/styled.d.ts +5 -523
- package/dist/components/ActionList/styled.js +152 -65
- package/dist/components/Badge/Badge.d.ts +3 -9
- package/dist/components/Badge/Badge.js +39 -96
- package/dist/components/Badge/index.js +8 -5
- package/dist/components/CTAButton/CTAButton.d.ts +8 -9
- package/dist/components/CTAButton/CTAButton.js +181 -118
- package/dist/components/CTAButton/index.js +100 -8
- package/dist/components/CTALink/CTALink.d.ts +5 -5
- package/dist/components/CTALink/CTALink.js +105 -22
- package/dist/components/CTALink/index.js +100 -7
- package/dist/components/Card/Card.d.ts +0 -6
- package/dist/components/Card/Card.js +17 -13
- package/dist/components/Card/index.js +7 -5
- package/dist/components/Checkbox/Checkbox.js +173 -78
- package/dist/components/Checkbox/CheckboxField.d.ts +1 -1
- package/dist/components/Checkbox/CheckboxField.js +39 -43
- package/dist/components/Checkbox/index.js +105 -7
- package/dist/components/CurrencyField/CurrencyField.d.ts +1 -1
- package/dist/components/CurrencyField/CurrencyField.js +109 -32
- package/dist/components/CurrencyField/index.js +108 -5
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/dist/components/CurrencyInput/CurrencyInput.js +118 -36
- package/dist/components/CurrencyInput/index.d.ts +1 -1
- package/dist/components/CurrencyInput/index.js +100 -5
- package/dist/components/DataTable/DataTable.js +62 -45
- package/dist/components/DataTable/TableRow.js +44 -35
- package/dist/components/DataTable/index.js +25 -20
- package/dist/components/DataTable/styles.d.ts +0 -78
- package/dist/components/DataTable/styles.js +119 -86
- package/dist/components/DataTable/types.d.ts +4 -4
- package/dist/components/DataTable/types.js +1 -2
- package/dist/components/DateField/DateField.d.ts +4 -3
- package/dist/components/DateField/DateField.js +229 -87
- package/dist/components/DateField/index.js +107 -5
- package/dist/components/DescriptionList/DescriptionList.d.ts +2 -2
- package/dist/components/DescriptionList/DescriptionList.js +25 -43
- package/dist/components/DescriptionList/index.js +13 -6
- package/dist/components/DescriptionList/styled.d.ts +0 -6
- package/dist/components/DescriptionList/styled.js +42 -85
- package/dist/components/Disclosure/Disclosure.js +153 -79
- package/dist/components/Disclosure/index.js +96 -16
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.js +12 -43
- package/dist/components/Divider/index.js +7 -5
- package/dist/components/Em/Em.d.ts +0 -6
- package/dist/components/Em/Em.js +8 -12
- package/dist/components/Em/index.js +6 -5
- package/dist/components/EmailField/EmailField.d.ts +1 -1
- package/dist/components/EmailField/EmailField.js +108 -32
- package/dist/components/EmailField/index.js +107 -5
- package/dist/components/EmailInput/EmailInput.d.ts +1 -1
- package/dist/components/EmailInput/EmailInput.js +106 -18
- package/dist/components/EmailInput/index.js +98 -5
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +2 -2
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +115 -50
- package/dist/components/ErrorSummaryNotification/index.js +104 -5
- package/dist/components/ErrorText/ErrorText.d.ts +0 -6
- package/dist/components/ErrorText/ErrorText.js +22 -42
- package/dist/components/ErrorText/index.js +11 -5
- package/dist/components/Field/Field.d.ts +2 -2
- package/dist/components/Field/Field.js +62 -58
- package/dist/components/Field/index.js +16 -16
- package/dist/components/FilterSelect/FilterSelect.d.ts +2 -2
- package/dist/components/FilterSelect/FilterSelect.js +201 -77
- package/dist/components/FilterSelect/index.js +102 -5
- package/dist/components/FormGroup/FormGroup.d.ts +1 -1
- package/dist/components/FormGroup/FormGroup.js +9 -42
- package/dist/components/FormGroup/index.js +8 -5
- package/dist/components/Grid/Col.d.ts +1 -7
- package/dist/components/Grid/Col.js +32 -58
- package/dist/components/Grid/Row.d.ts +0 -6
- package/dist/components/Grid/Row.js +34 -72
- package/dist/components/Grid/index.js +13 -7
- package/dist/components/Heading1/Heading1.js +36 -70
- package/dist/components/Heading1/index.js +10 -5
- package/dist/components/Heading2/Heading2.js +36 -70
- package/dist/components/Heading2/index.js +10 -5
- package/dist/components/Heading3/Heading3.js +36 -70
- package/dist/components/Heading3/index.js +10 -5
- package/dist/components/Heading4/Heading4.js +36 -70
- package/dist/components/Heading4/index.js +10 -5
- package/dist/components/HintText/HintText.d.ts +0 -6
- package/dist/components/HintText/HintText.js +22 -42
- package/dist/components/HintText/index.js +11 -5
- package/dist/components/Icon/Icon.d.ts +2 -2
- package/dist/components/Icon/Icon.js +103 -38
- package/dist/components/Icon/index.js +93 -5
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +198 -97
- package/dist/components/Label/Label.js +18 -50
- package/dist/components/Label/index.js +8 -5
- package/dist/components/LabelText/LabelText.d.ts +0 -6
- package/dist/components/LabelText/LabelText.js +20 -42
- package/dist/components/LabelText/index.js +11 -5
- package/dist/components/Lead/Lead.js +18 -52
- package/dist/components/Lead/index.js +8 -5
- package/dist/components/LineThrough/LineThrough.d.ts +0 -6
- package/dist/components/LineThrough/LineThrough.js +7 -12
- package/dist/components/LineThrough/index.js +6 -5
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/List/List.js +38 -32
- package/dist/components/List/index.js +16 -7
- package/dist/components/List/styled.d.ts +0 -25
- package/dist/components/List/styled.js +37 -52
- package/dist/components/Margin/Margin.d.ts +2 -8
- package/dist/components/Margin/Margin.js +68 -50
- package/dist/components/Margin/index.js +11 -5
- package/dist/components/NavHeader/IconButton.d.ts +2 -2
- package/dist/components/NavHeader/IconButton.js +119 -18
- package/dist/components/NavHeader/NavHeader.d.ts +3 -11
- package/dist/components/NavHeader/NavHeader.js +181 -65
- package/dist/components/NavHeader/NavHeader.styles.d.ts +7 -543
- package/dist/components/NavHeader/NavHeader.styles.js +81 -72
- package/dist/components/NavHeader/index.d.ts +1 -1
- package/dist/components/NavHeader/index.js +104 -5
- package/dist/components/Notification/Notification.d.ts +2 -14
- package/dist/components/Notification/Notification.js +190 -103
- package/dist/components/Notification/index.js +100 -9
- package/dist/components/NumberField/NumberField.d.ts +1 -1
- package/dist/components/NumberField/NumberField.js +108 -32
- package/dist/components/NumberField/index.js +107 -5
- package/dist/components/NumberInput/NumberInput.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.js +106 -18
- package/dist/components/NumberInput/index.js +98 -5
- package/dist/components/P/P.js +23 -54
- package/dist/components/P/index.js +10 -5
- package/dist/components/PasswordField/PasswordField.d.ts +1 -1
- package/dist/components/PasswordField/PasswordField.js +110 -32
- package/dist/components/PasswordField/index.js +109 -5
- package/dist/components/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +123 -33
- package/dist/components/PasswordInput/PasswordInput.styled.d.ts +1 -7
- package/dist/components/PasswordInput/PasswordInput.styled.js +18 -37
- package/dist/components/PasswordInput/PasswordVisibilityToggle.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordVisibilityToggle.js +128 -26
- package/dist/components/PasswordInput/index.js +100 -5
- package/dist/components/PhoneField/PhoneField.d.ts +1 -1
- package/dist/components/PhoneField/PhoneField.js +108 -32
- package/dist/components/PhoneField/index.js +107 -5
- package/dist/components/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput/PhoneInput.js +106 -17
- package/dist/components/PhoneInput/index.js +98 -5
- package/dist/components/ProductCarousel/NavigationDots.js +57 -74
- package/dist/components/ProductCarousel/ProductCarousel.js +2174 -126
- package/dist/components/ProductCarousel/anchor-point.js +31 -51
- package/dist/components/ProductCarousel/index.js +101 -5
- package/dist/components/Radio/Radio.js +69 -67
- package/dist/components/Radio/RadioField.d.ts +1 -1
- package/dist/components/Radio/RadioField.js +46 -47
- package/dist/components/Radio/index.js +18 -7
- package/dist/components/RadioCard/RadioCard.js +68 -71
- package/dist/components/RadioCard/index.js +13 -5
- package/dist/components/SelectField/Select.d.ts +2 -8
- package/dist/components/SelectField/Select.js +852 -93
- package/dist/components/SelectField/SelectField.d.ts +1 -1
- package/dist/components/SelectField/SelectField.js +125 -32
- package/dist/components/SelectField/index.js +108 -5
- package/dist/components/SkeletonAnimation/SkeletonAnimation.js +47 -34
- package/dist/components/SkeletonAnimation/index.js +7 -5
- package/dist/components/SkeletonCTA/SkeletonCTA.d.ts +1 -1
- package/dist/components/SkeletonCTA/SkeletonCTA.js +17 -41
- package/dist/components/SkeletonCTA/index.js +12 -5
- package/dist/components/SkeletonCircle/SkeletonCircle.d.ts +1 -1
- package/dist/components/SkeletonCircle/SkeletonCircle.js +16 -44
- package/dist/components/SkeletonCircle/index.js +10 -5
- package/dist/components/SkeletonHeading/SkeletonHeading.d.ts +1 -1
- package/dist/components/SkeletonHeading/SkeletonHeading.js +29 -40
- package/dist/components/SkeletonHeading/index.js +12 -5
- package/dist/components/SkeletonText/SkeletonText.d.ts +1 -1
- package/dist/components/SkeletonText/SkeletonText.js +33 -50
- package/dist/components/SkeletonText/index.js +12 -5
- package/dist/components/Small/Small.d.ts +0 -6
- package/dist/components/Small/Small.js +17 -38
- package/dist/components/Small/index.js +11 -5
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/Spinner/Spinner.js +61 -68
- package/dist/components/Spinner/index.js +9 -5
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/Stack.js +30 -48
- package/dist/components/Stack/index.js +11 -5
- package/dist/components/Stretch/Stretch.d.ts +1 -1
- package/dist/components/Stretch/Stretch.js +11 -55
- package/dist/components/Stretch/index.js +8 -16
- package/dist/components/Strong/Strong.d.ts +0 -6
- package/dist/components/Strong/Strong.js +9 -10
- package/dist/components/Strong/index.js +6 -5
- package/dist/components/SubLabelText/SubLabelText.d.ts +0 -6
- package/dist/components/SubLabelText/SubLabelText.js +20 -42
- package/dist/components/SubLabelText/index.js +11 -5
- package/dist/components/Tabs/Tab.d.ts +2 -1
- package/dist/components/Tabs/Tab.js +60 -76
- package/dist/components/Tabs/TabList.d.ts +2 -2
- package/dist/components/Tabs/TabList.js +37 -77
- package/dist/components/Tabs/TabPanel.js +15 -64
- package/dist/components/Tabs/Tabs.d.ts +3 -2
- package/dist/components/Tabs/Tabs.js +46 -97
- package/dist/components/Tabs/index.js +19 -11
- package/dist/components/TextField/TextField.d.ts +1 -1
- package/dist/components/TextField/TextField.js +108 -32
- package/dist/components/TextField/index.js +107 -5
- package/dist/components/TextGroup/TextGroup.js +23 -40
- package/dist/components/TextGroup/index.js +7 -5
- package/dist/components/TextInput/TextInput.d.ts +1 -1
- package/dist/components/TextInput/TextInput.js +97 -18
- package/dist/components/TextInput/index.js +98 -5
- package/dist/components/TextLink/TextLink.js +118 -74
- package/dist/components/TextLink/index.js +97 -5
- package/dist/components/TextareaField/TextareaField.d.ts +1 -1
- package/dist/components/TextareaField/TextareaField.js +108 -32
- package/dist/components/TextareaField/index.js +107 -5
- package/dist/components/TextareaInput/TextareaInput.d.ts +2 -2
- package/dist/components/TextareaInput/TextareaInput.js +114 -65
- package/dist/components/TextareaInput/index.d.ts +1 -1
- package/dist/components/TextareaInput/index.js +98 -5
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/components/Toast/Toast.js +730 -159
- package/dist/components/Toast/index.js +105 -6
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/Toggle/Toggle.js +73 -55
- package/dist/components/Toggle/index.js +14 -5
- package/dist/components/Toggle/styles.d.ts +1 -25
- package/dist/components/Toggle/styles.js +38 -28
- package/dist/components/components.spec.native.js +199 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +296 -77
- package/dist/hooks/index.js +8 -17
- package/dist/hooks/use-breakpoint.d.ts +2 -2
- package/dist/hooks/use-breakpoint.js +15 -15
- package/dist/hooks/use-full-width.d.ts +1 -1
- package/dist/hooks/use-full-width.js +16 -19
- package/dist/hooks/use-layout.js +17 -19
- package/dist/index-zQHKJ0fC.js +180 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +320 -18
- package/dist/providers/IconsProvider.js +189 -118
- package/dist/providers/icons/Address.js +13 -40
- package/dist/providers/icons/Advice.js +11 -40
- package/dist/providers/icons/Archive.js +13 -40
- package/dist/providers/icons/ArrowDown.js +11 -40
- package/dist/providers/icons/ArrowLeft.js +11 -40
- package/dist/providers/icons/ArrowRight.js +11 -40
- package/dist/providers/icons/ArrowUp.js +11 -40
- package/dist/providers/icons/Award.js +13 -40
- package/dist/providers/icons/Battery.js +13 -40
- package/dist/providers/icons/Cal.js +11 -40
- package/dist/providers/icons/CalBook.js +13 -40
- package/dist/providers/icons/CaretDown.js +5 -40
- package/dist/providers/icons/CaretLeft.js +5 -40
- package/dist/providers/icons/CaretRight.js +5 -40
- package/dist/providers/icons/CaretUp.js +5 -40
- package/dist/providers/icons/Chart.js +13 -40
- package/dist/providers/icons/ChartFilled.js +11 -40
- package/dist/providers/icons/Check.js +11 -40
- package/dist/providers/icons/CheckCircle.js +13 -40
- package/dist/providers/icons/ChevronDown.js +11 -40
- package/dist/providers/icons/ChevronLeft.js +11 -40
- package/dist/providers/icons/ChevronLeftSmall.js +11 -40
- package/dist/providers/icons/ChevronLeftSmallFirst.js +13 -40
- package/dist/providers/icons/ChevronRight.js +11 -40
- package/dist/providers/icons/ChevronRightSmall.js +11 -40
- package/dist/providers/icons/ChevronRightSmallLast.js +13 -40
- package/dist/providers/icons/ChevronUp.js +11 -40
- package/dist/providers/icons/Circle.js +5 -17
- package/dist/providers/icons/CloseCircle.js +13 -40
- package/dist/providers/icons/Cross.js +11 -40
- package/dist/providers/icons/Doc.js +11 -40
- package/dist/providers/icons/Dollar.js +13 -40
- package/dist/providers/icons/Download.js +13 -40
- package/dist/providers/icons/Eco.js +11 -40
- package/dist/providers/icons/EcoHome.js +13 -40
- package/dist/providers/icons/Edit.js +13 -40
- package/dist/providers/icons/ElectricCar.js +13 -40
- package/dist/providers/icons/ElectricHome.js +13 -40
- package/dist/providers/icons/Electricity.js +11 -40
- package/dist/providers/icons/EnergyAdvice.js +13 -40
- package/dist/providers/icons/Equals.js +13 -40
- package/dist/providers/icons/Euro.js +13 -40
- package/dist/providers/icons/Gas.js +11 -40
- package/dist/providers/icons/GlobeAddress.js +11 -40
- package/dist/providers/icons/Help.js +13 -40
- package/dist/providers/icons/Hide.js +11 -40
- package/dist/providers/icons/Home.js +11 -40
- package/dist/providers/icons/HomeFilled.js +11 -40
- package/dist/providers/icons/HydroPower.js +13 -40
- package/dist/providers/icons/Info.js +13 -40
- package/dist/providers/icons/Link.js +40 -39
- package/dist/providers/icons/Logo.js +11 -17
- package/dist/providers/icons/Mail.js +11 -40
- package/dist/providers/icons/MailOpen.js +11 -40
- package/dist/providers/icons/Menu.js +13 -40
- package/dist/providers/icons/Message.js +11 -40
- package/dist/providers/icons/MessageFilled.js +11 -40
- package/dist/providers/icons/Minus.js +5 -40
- package/dist/providers/icons/Mobile.js +13 -40
- package/dist/providers/icons/NewWindow.js +22 -39
- package/dist/providers/icons/PaymentCard.js +13 -40
- package/dist/providers/icons/Phone.js +11 -40
- package/dist/providers/icons/Plus.js +11 -40
- package/dist/providers/icons/Pound.js +13 -40
- package/dist/providers/icons/Pricing.js +11 -40
- package/dist/providers/icons/Search.js +11 -40
- package/dist/providers/icons/Security.js +13 -40
- package/dist/providers/icons/Show.js +13 -40
- package/dist/providers/icons/SmartHome.js +13 -40
- package/dist/providers/icons/SmartMeter.js +13 -40
- package/dist/providers/icons/Solar.js +11 -40
- package/dist/providers/icons/Star.js +11 -40
- package/dist/providers/icons/Sun.js +13 -40
- package/dist/providers/icons/Torch.js +13 -39
- package/dist/providers/icons/Trees.js +13 -40
- package/dist/providers/icons/Tune.js +13 -40
- package/dist/providers/icons/User.js +13 -40
- package/dist/providers/icons/UserFilled.js +11 -40
- package/dist/providers/icons/Wallet.js +13 -40
- package/dist/providers/icons/WalletFilled.js +11 -40
- package/dist/providers/icons/WarmHome.js +13 -40
- package/dist/providers/icons/Warning.js +13 -40
- package/dist/providers/icons/WebAddress.js +11 -40
- package/dist/providers/icons/WindPower.js +11 -40
- package/dist/providers/icons/index.d.ts +0 -3
- package/dist/providers/icons/index.js +171 -102
- package/dist/providers/index.js +92 -17
- package/dist/providers/types.d.ts +3 -3
- package/dist/providers/types.js +1 -2
- package/dist/styled.native-KEscfVp7.js +3872 -0
- package/dist/styled.native.d.ts +0 -36
- package/dist/styled.native.js +8 -32
- package/dist/test/utils.d.ts +4 -0
- package/dist/test/utils.js +16127 -0
- package/dist/theme/index.js +970 -15
- package/dist/theme-native--5aKgQLJ.js +482 -0
- package/dist/theme-web-MrdqV6Ln.js +482 -0
- package/dist/utils/index.js +14 -16
- package/dist/utils/utils.d.ts +1 -2
- package/dist/utils/utils.js +57 -104
- package/dist/utils-HsZygzDh.js +26 -0
- package/package.json +21 -13
- package/components/package.json +0 -6
- package/dist/esm/components/Accordion/Accordion.js +0 -106
- package/dist/esm/components/Accordion/Group.js +0 -18
- package/dist/esm/components/Accordion/Icon.js +0 -35
- package/dist/esm/components/Accordion/index.js +0 -3
- package/dist/esm/components/Accordion/styles.js +0 -31
- package/dist/esm/components/ActionCard/ActionCard.js +0 -77
- package/dist/esm/components/ActionCard/CloseIconShape.js +0 -11
- package/dist/esm/components/ActionCard/IndicatorIconShape.js +0 -11
- package/dist/esm/components/ActionCard/index.js +0 -1
- package/dist/esm/components/ActionList/ActionList.js +0 -54
- package/dist/esm/components/ActionList/index.js +0 -1
- package/dist/esm/components/ActionList/styled.js +0 -40
- package/dist/esm/components/Badge/Badge.js +0 -70
- package/dist/esm/components/Badge/index.js +0 -1
- package/dist/esm/components/CTAButton/CTAButton.js +0 -90
- package/dist/esm/components/CTAButton/index.js +0 -1
- package/dist/esm/components/CTALink/CTALink.js +0 -18
- package/dist/esm/components/CTALink/index.js +0 -1
- package/dist/esm/components/Card/Card.js +0 -8
- package/dist/esm/components/Card/index.js +0 -1
- package/dist/esm/components/Checkbox/Checkbox.js +0 -74
- package/dist/esm/components/Checkbox/CheckboxField.js +0 -42
- package/dist/esm/components/Checkbox/index.js +0 -2
- package/dist/esm/components/CurrencyField/CurrencyField.js +0 -30
- package/dist/esm/components/CurrencyField/index.js +0 -1
- package/dist/esm/components/CurrencyInput/CurrencyInput.js +0 -34
- package/dist/esm/components/CurrencyInput/index.js +0 -1
- package/dist/esm/components/DataTable/DataTable.js +0 -43
- package/dist/esm/components/DataTable/TableRow.js +0 -33
- package/dist/esm/components/DataTable/index.js +0 -3
- package/dist/esm/components/DataTable/styles.js +0 -61
- package/dist/esm/components/DataTable/types.js +0 -1
- package/dist/esm/components/DateField/DateField.js +0 -63
- package/dist/esm/components/DateField/index.js +0 -1
- package/dist/esm/components/DescriptionList/DescriptionList.js +0 -40
- package/dist/esm/components/DescriptionList/index.js +0 -1
- package/dist/esm/components/DescriptionList/styled.js +0 -58
- package/dist/esm/components/Disclosure/Disclosure.js +0 -55
- package/dist/esm/components/Disclosure/index.js +0 -1
- package/dist/esm/components/Divider/Divider.js +0 -17
- package/dist/esm/components/Divider/index.js +0 -1
- package/dist/esm/components/Em/Em.js +0 -7
- package/dist/esm/components/Em/index.js +0 -1
- package/dist/esm/components/EmailField/EmailField.js +0 -30
- package/dist/esm/components/EmailField/index.js +0 -1
- package/dist/esm/components/EmailInput/EmailInput.js +0 -16
- package/dist/esm/components/EmailInput/index.js +0 -1
- package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +0 -49
- package/dist/esm/components/ErrorSummaryNotification/index.js +0 -1
- package/dist/esm/components/ErrorText/ErrorText.js +0 -17
- package/dist/esm/components/ErrorText/index.js +0 -1
- package/dist/esm/components/Field/Field.js +0 -58
- package/dist/esm/components/Field/index.js +0 -1
- package/dist/esm/components/FilterSelect/FilterSelect.js +0 -52
- package/dist/esm/components/FilterSelect/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 -33
- package/dist/esm/components/Grid/Row.js +0 -47
- package/dist/esm/components/Grid/index.js +0 -2
- package/dist/esm/components/Heading1/Heading1.js +0 -46
- package/dist/esm/components/Heading1/index.js +0 -1
- package/dist/esm/components/Heading2/Heading2.js +0 -46
- package/dist/esm/components/Heading2/index.js +0 -1
- package/dist/esm/components/Heading3/Heading3.js +0 -46
- package/dist/esm/components/Heading3/index.js +0 -1
- package/dist/esm/components/Heading4/Heading4.js +0 -46
- package/dist/esm/components/Heading4/index.js +0 -1
- package/dist/esm/components/HintText/HintText.js +0 -17
- package/dist/esm/components/HintText/index.js +0 -1
- package/dist/esm/components/Icon/Icon.js +0 -36
- package/dist/esm/components/Icon/index.js +0 -1
- package/dist/esm/components/Input/Input.js +0 -74
- package/dist/esm/components/Label/Label.js +0 -25
- package/dist/esm/components/Label/index.js +0 -1
- package/dist/esm/components/LabelText/LabelText.js +0 -17
- package/dist/esm/components/LabelText/index.js +0 -1
- package/dist/esm/components/Lead/Lead.js +0 -27
- package/dist/esm/components/Lead/index.js +0 -1
- package/dist/esm/components/LineThrough/LineThrough.js +0 -7
- package/dist/esm/components/LineThrough/index.js +0 -1
- package/dist/esm/components/List/List.js +0 -29
- package/dist/esm/components/List/index.js +0 -1
- package/dist/esm/components/List/styled.js +0 -27
- package/dist/esm/components/Margin/Margin.js +0 -46
- package/dist/esm/components/Margin/index.js +0 -1
- package/dist/esm/components/NavHeader/IconButton.js +0 -16
- package/dist/esm/components/NavHeader/NavHeader.js +0 -42
- package/dist/esm/components/NavHeader/NavHeader.styles.js +0 -44
- package/dist/esm/components/NavHeader/index.js +0 -1
- package/dist/esm/components/Notification/Notification.js +0 -78
- package/dist/esm/components/Notification/index.js +0 -1
- package/dist/esm/components/NumberField/NumberField.js +0 -30
- package/dist/esm/components/NumberField/index.js +0 -1
- package/dist/esm/components/NumberInput/NumberInput.js +0 -16
- package/dist/esm/components/NumberInput/index.js +0 -1
- package/dist/esm/components/P/P.js +0 -29
- package/dist/esm/components/P/index.js +0 -1
- package/dist/esm/components/PasswordField/PasswordField.js +0 -30
- package/dist/esm/components/PasswordField/index.js +0 -1
- package/dist/esm/components/PasswordInput/PasswordInput.js +0 -32
- package/dist/esm/components/PasswordInput/PasswordInput.styled.js +0 -12
- package/dist/esm/components/PasswordInput/PasswordVisibilityToggle.js +0 -23
- package/dist/esm/components/PasswordInput/index.js +0 -1
- package/dist/esm/components/PhoneField/PhoneField.js +0 -30
- package/dist/esm/components/PhoneField/index.js +0 -1
- package/dist/esm/components/PhoneInput/PhoneInput.js +0 -15
- package/dist/esm/components/PhoneInput/index.js +0 -1
- package/dist/esm/components/ProductCarousel/NavigationDots.js +0 -50
- package/dist/esm/components/ProductCarousel/ProductCarousel.js +0 -98
- package/dist/esm/components/ProductCarousel/anchor-point.js +0 -49
- package/dist/esm/components/ProductCarousel/index.js +0 -1
- package/dist/esm/components/Radio/Radio.js +0 -62
- package/dist/esm/components/Radio/RadioField.js +0 -46
- package/dist/esm/components/Radio/index.js +0 -2
- package/dist/esm/components/RadioCard/RadioCard.js +0 -66
- package/dist/esm/components/RadioCard/index.js +0 -1
- package/dist/esm/components/SelectField/Select.js +0 -66
- package/dist/esm/components/SelectField/SelectField.js +0 -29
- package/dist/esm/components/SelectField/index.js +0 -1
- package/dist/esm/components/SkeletonAnimation/SkeletonAnimation.js +0 -31
- package/dist/esm/components/SkeletonAnimation/index.js +0 -1
- package/dist/esm/components/SkeletonCTA/SkeletonCTA.js +0 -35
- package/dist/esm/components/SkeletonCTA/index.js +0 -1
- package/dist/esm/components/SkeletonCircle/SkeletonCircle.js +0 -38
- package/dist/esm/components/SkeletonCircle/index.js +0 -1
- package/dist/esm/components/SkeletonHeading/SkeletonHeading.js +0 -34
- package/dist/esm/components/SkeletonHeading/index.js +0 -1
- package/dist/esm/components/SkeletonText/SkeletonText.js +0 -45
- package/dist/esm/components/SkeletonText/index.js +0 -1
- package/dist/esm/components/Small/Small.js +0 -13
- package/dist/esm/components/Small/index.js +0 -1
- package/dist/esm/components/Spinner/Spinner.js +0 -44
- package/dist/esm/components/Spinner/index.js +0 -1
- package/dist/esm/components/Stack/Stack.js +0 -43
- package/dist/esm/components/Stack/index.js +0 -1
- package/dist/esm/components/Stretch/Stretch.js +0 -29
- package/dist/esm/components/Stretch/index.js +0 -1
- package/dist/esm/components/Strong/Strong.js +0 -5
- package/dist/esm/components/Strong/index.js +0 -1
- package/dist/esm/components/SubLabelText/SubLabelText.js +0 -17
- package/dist/esm/components/SubLabelText/index.js +0 -1
- package/dist/esm/components/Tabs/Tab.js +0 -53
- package/dist/esm/components/Tabs/TabList.js +0 -51
- package/dist/esm/components/Tabs/TabPanel.js +0 -38
- package/dist/esm/components/Tabs/Tabs.js +0 -72
- package/dist/esm/components/Tabs/index.js +0 -4
- package/dist/esm/components/TextField/TextField.js +0 -30
- package/dist/esm/components/TextField/index.js +0 -1
- package/dist/esm/components/TextGroup/TextGroup.js +0 -39
- package/dist/esm/components/TextGroup/index.js +0 -1
- package/dist/esm/components/TextInput/TextInput.js +0 -16
- package/dist/esm/components/TextInput/index.js +0 -1
- package/dist/esm/components/TextLink/TextLink.js +0 -49
- package/dist/esm/components/TextLink/index.js +0 -1
- package/dist/esm/components/TextareaField/TextareaField.js +0 -30
- package/dist/esm/components/TextareaField/index.js +0 -1
- package/dist/esm/components/TextareaInput/TextareaInput.js +0 -41
- package/dist/esm/components/TextareaInput/index.js +0 -1
- package/dist/esm/components/Toast/Toast.js +0 -141
- package/dist/esm/components/Toast/index.js +0 -1
- package/dist/esm/components/Toggle/Toggle.js +0 -53
- package/dist/esm/components/Toggle/index.js +0 -1
- package/dist/esm/components/Toggle/styles.js +0 -23
- package/dist/esm/components/index.js +0 -62
- 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/hooks/use-layout.js +0 -16
- package/dist/esm/index.js +0 -3
- package/dist/esm/providers/IconsProvider.js +0 -115
- package/dist/esm/providers/icons/Address.js +0 -14
- package/dist/esm/providers/icons/Advice.js +0 -14
- package/dist/esm/providers/icons/Archive.js +0 -14
- package/dist/esm/providers/icons/ArrowDown.js +0 -14
- package/dist/esm/providers/icons/ArrowLeft.js +0 -14
- package/dist/esm/providers/icons/ArrowRight.js +0 -14
- package/dist/esm/providers/icons/ArrowUp.js +0 -14
- package/dist/esm/providers/icons/Award.js +0 -14
- package/dist/esm/providers/icons/Battery.js +0 -14
- package/dist/esm/providers/icons/Cal.js +0 -14
- package/dist/esm/providers/icons/CalBook.js +0 -14
- package/dist/esm/providers/icons/CaretDown.js +0 -14
- package/dist/esm/providers/icons/CaretLeft.js +0 -14
- package/dist/esm/providers/icons/CaretRight.js +0 -14
- package/dist/esm/providers/icons/CaretUp.js +0 -14
- package/dist/esm/providers/icons/Chart.js +0 -14
- package/dist/esm/providers/icons/ChartFilled.js +0 -14
- package/dist/esm/providers/icons/Check.js +0 -14
- package/dist/esm/providers/icons/CheckCircle.js +0 -14
- package/dist/esm/providers/icons/ChevronDown.js +0 -14
- package/dist/esm/providers/icons/ChevronLeft.js +0 -14
- package/dist/esm/providers/icons/ChevronLeftSmall.js +0 -14
- package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +0 -14
- package/dist/esm/providers/icons/ChevronRight.js +0 -14
- package/dist/esm/providers/icons/ChevronRightSmall.js +0 -14
- package/dist/esm/providers/icons/ChevronRightSmallLast.js +0 -14
- package/dist/esm/providers/icons/ChevronUp.js +0 -14
- package/dist/esm/providers/icons/Circle.js +0 -14
- package/dist/esm/providers/icons/CloseCircle.js +0 -14
- package/dist/esm/providers/icons/Cross.js +0 -14
- package/dist/esm/providers/icons/Doc.js +0 -14
- package/dist/esm/providers/icons/Dollar.js +0 -14
- package/dist/esm/providers/icons/Download.js +0 -14
- package/dist/esm/providers/icons/Eco.js +0 -14
- package/dist/esm/providers/icons/EcoHome.js +0 -14
- package/dist/esm/providers/icons/Edit.js +0 -14
- package/dist/esm/providers/icons/ElectricCar.js +0 -14
- package/dist/esm/providers/icons/ElectricHome.js +0 -14
- package/dist/esm/providers/icons/Electricity.js +0 -14
- package/dist/esm/providers/icons/EnergyAdvice.js +0 -14
- package/dist/esm/providers/icons/Equals.js +0 -14
- package/dist/esm/providers/icons/Euro.js +0 -14
- package/dist/esm/providers/icons/Gas.js +0 -14
- package/dist/esm/providers/icons/GlobeAddress.js +0 -14
- package/dist/esm/providers/icons/Help.js +0 -14
- package/dist/esm/providers/icons/HelpFilled.js +0 -14
- package/dist/esm/providers/icons/Hide.js +0 -14
- package/dist/esm/providers/icons/Home.js +0 -14
- package/dist/esm/providers/icons/HomeFilled.js +0 -14
- package/dist/esm/providers/icons/HydroPower.js +0 -14
- package/dist/esm/providers/icons/Info.js +0 -14
- package/dist/esm/providers/icons/Link.js +0 -14
- package/dist/esm/providers/icons/Logo.js +0 -14
- package/dist/esm/providers/icons/Mail.js +0 -14
- package/dist/esm/providers/icons/MailOpen.js +0 -14
- package/dist/esm/providers/icons/Menu.js +0 -14
- package/dist/esm/providers/icons/Message.js +0 -14
- package/dist/esm/providers/icons/MessageFilled.js +0 -14
- package/dist/esm/providers/icons/Minus.js +0 -14
- package/dist/esm/providers/icons/Mobile.js +0 -14
- package/dist/esm/providers/icons/NewWindow.js +0 -14
- package/dist/esm/providers/icons/PaymentCard.js +0 -14
- package/dist/esm/providers/icons/PaymentCardFilled.js +0 -14
- package/dist/esm/providers/icons/Phone.js +0 -14
- package/dist/esm/providers/icons/Plus.js +0 -14
- package/dist/esm/providers/icons/Pound.js +0 -14
- package/dist/esm/providers/icons/Pricing.js +0 -14
- package/dist/esm/providers/icons/Search.js +0 -14
- package/dist/esm/providers/icons/Security.js +0 -14
- package/dist/esm/providers/icons/Show.js +0 -14
- package/dist/esm/providers/icons/SmartHome.js +0 -14
- package/dist/esm/providers/icons/SmartMeter.js +0 -14
- package/dist/esm/providers/icons/Solar.js +0 -14
- package/dist/esm/providers/icons/Star.js +0 -14
- package/dist/esm/providers/icons/StarFilled.js +0 -14
- package/dist/esm/providers/icons/Sun.js +0 -14
- package/dist/esm/providers/icons/Torch.js +0 -14
- package/dist/esm/providers/icons/Trees.js +0 -14
- package/dist/esm/providers/icons/Tune.js +0 -14
- package/dist/esm/providers/icons/User.js +0 -14
- package/dist/esm/providers/icons/UserFilled.js +0 -14
- package/dist/esm/providers/icons/Wallet.js +0 -14
- package/dist/esm/providers/icons/WalletFilled.js +0 -14
- package/dist/esm/providers/icons/WarmHome.js +0 -14
- package/dist/esm/providers/icons/Warning.js +0 -14
- package/dist/esm/providers/icons/WebAddress.js +0 -14
- package/dist/esm/providers/icons/WindPower.js +0 -14
- package/dist/esm/providers/icons/index.js +0 -87
- 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/index.js +0 -1
- package/dist/esm/utils/index.js +0 -1
- package/dist/esm/utils/utils.js +0 -95
- package/dist/providers/icons/HelpFilled.d.ts +0 -2
- package/dist/providers/icons/HelpFilled.js +0 -41
- package/dist/providers/icons/PaymentCardFilled.d.ts +0 -2
- package/dist/providers/icons/PaymentCardFilled.js +0 -41
- package/dist/providers/icons/StarFilled.d.ts +0 -2
- package/dist/providers/icons/StarFilled.js +0 -41
- /package/dist/{esm/components/Accordion/types.js → components/components.spec.native.d.ts} +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { s as o } from "../../styled.native-KEscfVp7.js";
|
|
2
|
+
import "react";
|
|
3
|
+
const i = o.Text(
|
|
4
|
+
({ theme: { core: t } }) => `
|
|
5
|
+
font-family: ${t.fontFamily.bodyBold.native};
|
|
6
|
+
`
|
|
7
|
+
);
|
|
8
|
+
export {
|
|
9
|
+
i as Strong
|
|
4
10
|
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Strong = void 0;
|
|
7
|
-
var styled_native_1 = __importDefault(require("../../styled.native"));
|
|
8
|
-
exports.Strong = styled_native_1.default.Text(function (_a) {
|
|
9
|
-
var core = _a.theme.core;
|
|
10
|
-
return "\n font-family: ".concat(core.fontFamily.bodyBold.native, ";\n ");
|
|
11
|
-
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Strong as p } from "./Strong.js";
|
|
2
|
+
import "../../styled.native-KEscfVp7.js";
|
|
3
|
+
import "react";
|
|
4
|
+
export {
|
|
5
|
+
p as Strong
|
|
6
|
+
};
|
|
@@ -364,8 +364,6 @@ declare const SubLabelText: import("react").ForwardRefExoticComponent<Pick<Omit<
|
|
|
364
364
|
surfaceFocused: string;
|
|
365
365
|
outlineFocused: string;
|
|
366
366
|
backgroundFocused: string;
|
|
367
|
-
messageInverted: string;
|
|
368
|
-
surfaceInverted: string;
|
|
369
367
|
};
|
|
370
368
|
secondary: {
|
|
371
369
|
message: string;
|
|
@@ -376,8 +374,6 @@ declare const SubLabelText: import("react").ForwardRefExoticComponent<Pick<Omit<
|
|
|
376
374
|
surfaceFocused: string;
|
|
377
375
|
outlineFocused: string;
|
|
378
376
|
backgroundFocused: string;
|
|
379
|
-
messageInverted: string;
|
|
380
|
-
surfaceInverted: string;
|
|
381
377
|
};
|
|
382
378
|
destructive: {
|
|
383
379
|
message: string;
|
|
@@ -388,8 +384,6 @@ declare const SubLabelText: import("react").ForwardRefExoticComponent<Pick<Omit<
|
|
|
388
384
|
surfaceFocused: string;
|
|
389
385
|
outlineFocused: string;
|
|
390
386
|
backgroundFocused: string;
|
|
391
|
-
messageInverted: string;
|
|
392
|
-
surfaceInverted: string;
|
|
393
387
|
};
|
|
394
388
|
};
|
|
395
389
|
heading1: {
|
|
@@ -1,43 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { n as o } from "../../utils-HsZygzDh.js";
|
|
2
|
+
import { s as m, c as s } from "../../styled.native-KEscfVp7.js";
|
|
3
|
+
import { styledComponentWithBreakpoints as l } from "../../utils/utils.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "../../hooks/use-breakpoint.js";
|
|
7
|
+
import "react-native";
|
|
8
|
+
const a = m.Text(
|
|
9
|
+
({ theme: { core: t, semantic: e }, smallAndUp: i }) => {
|
|
10
|
+
const n = i ? t.fontSize.body.large : t.fontSize.body.small;
|
|
11
|
+
return s`
|
|
12
|
+
font-family: ${t.fontFamily.body.native};
|
|
13
|
+
line-height: ${o(t.lineHeight.body.small)};
|
|
14
|
+
color: ${e.message.secondary};
|
|
15
|
+
font-size: ${o(n)};
|
|
16
|
+
`;
|
|
17
|
+
}
|
|
18
|
+
), h = l(a);
|
|
19
|
+
export {
|
|
20
|
+
h as SubLabelText
|
|
5
21
|
};
|
|
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.SubLabelText = void 0;
|
|
31
|
-
var element_core_1 = require("@ovotech/element-core");
|
|
32
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
33
|
-
var utils_1 = require("../../utils");
|
|
34
|
-
var StyledSubLabelText = styled_native_1.default.Text(function (_a) {
|
|
35
|
-
var _b = _a.theme, core = _b.core, semantic = _b.semantic, smallAndUp = _a.smallAndUp;
|
|
36
|
-
var fontSize = smallAndUp
|
|
37
|
-
? core.fontSize.body.large
|
|
38
|
-
: core.fontSize.body.small;
|
|
39
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n "], ["\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n "])), core.fontFamily.body.native, (0, element_core_1.numToPx)(core.lineHeight.body.small), semantic.message.secondary, (0, element_core_1.numToPx)(fontSize));
|
|
40
|
-
});
|
|
41
|
-
var SubLabelText = (0, utils_1.styledComponentWithBreakpoints)(StyledSubLabelText);
|
|
42
|
-
exports.SubLabelText = SubLabelText;
|
|
43
|
-
var templateObject_1;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SubLabelText as a } from "./SubLabelText.js";
|
|
2
|
+
import "../../utils-HsZygzDh.js";
|
|
3
|
+
import "../../styled.native-KEscfVp7.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../utils/utils.js";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "../../hooks/use-breakpoint.js";
|
|
8
|
+
import "react-native";
|
|
9
|
+
export {
|
|
10
|
+
a as SubLabelText
|
|
11
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TouchableOpacity, GestureResponderEvent } from 'react-native';
|
|
3
|
+
import { FullWidthOptions } from '../../hooks';
|
|
3
4
|
export declare const Tab: import("react").ForwardRefExoticComponent<{
|
|
4
5
|
active?: boolean | undefined;
|
|
5
|
-
fullWidth?:
|
|
6
|
+
fullWidth?: FullWidthOptions | undefined;
|
|
6
7
|
onPress?: ((event: GestureResponderEvent) => void) | undefined;
|
|
7
8
|
testID?: string | undefined;
|
|
8
9
|
} & {
|
|
@@ -1,79 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { n as r } from "../../utils-HsZygzDh.js";
|
|
3
|
+
import { forwardRef as m } from "react";
|
|
4
|
+
import { useFullWidth as n } from "../../hooks/use-full-width.js";
|
|
5
|
+
import { useBreakpoint as p } from "../../hooks/use-breakpoint.js";
|
|
6
|
+
import { s as f, c as e } from "../../styled.native-KEscfVp7.js";
|
|
7
|
+
import "react-native";
|
|
8
|
+
const c = f.Text(
|
|
9
|
+
({ theme: { core: o, semantic: t }, active: s = !1 }) => e`
|
|
10
|
+
font-size: ${r(o.fontSize.body.small)};
|
|
11
|
+
font-family: ${o.fontFamily.bodyBold.native};
|
|
12
|
+
line-height: ${r(o.lineHeight.body.small)};
|
|
13
|
+
color: ${s ? t.focus.outline : t.message.base};
|
|
14
|
+
text-align: center;
|
|
15
|
+
padding: ${r(o.space[3])} ${r(o.space[2])};
|
|
16
|
+
`
|
|
17
|
+
), h = f.TouchableOpacity(
|
|
18
|
+
({
|
|
19
|
+
active: o = !1,
|
|
20
|
+
first: t = !1,
|
|
21
|
+
last: s = !1,
|
|
22
|
+
stretch: d = !1,
|
|
23
|
+
theme: { core: l, semantic: i },
|
|
24
|
+
inline: a
|
|
25
|
+
}) => e`
|
|
26
|
+
flex-grow: ${d ? 1 : 0};
|
|
27
|
+
border: ${r(l.borderWidth.small)} solid
|
|
28
|
+
${i.border.differentiated};
|
|
29
|
+
${o ? e`
|
|
30
|
+
border-bottom-color: ${i.focus.outline};
|
|
31
|
+
border-bottom-width: ${r(l.borderWidth.medium)};
|
|
32
|
+
` : ""}
|
|
33
|
+
${a ? "" : e`
|
|
34
|
+
border-top-color: transparent;
|
|
35
|
+
border-top-width: 0;
|
|
36
|
+
`}
|
|
37
|
+
${s && a ? "" : e`
|
|
38
|
+
border-right-color: transparent;
|
|
39
|
+
border-right-width: 0;
|
|
40
|
+
`}
|
|
41
|
+
${t && a ? "" : e`
|
|
42
|
+
border-left-color: transparent;
|
|
43
|
+
border-left-width: 0;
|
|
44
|
+
`}
|
|
45
|
+
`
|
|
46
|
+
), W = m(({ active: o, fullWidth: t, children: s, ...d }, l) => {
|
|
47
|
+
const i = n(t), a = p();
|
|
48
|
+
return /* @__PURE__ */ b(
|
|
49
|
+
h,
|
|
50
|
+
{
|
|
51
|
+
accessibilityRole: "tab",
|
|
52
|
+
accessibilityState: { selected: o },
|
|
53
|
+
active: o,
|
|
54
|
+
stretch: i,
|
|
55
|
+
ref: l,
|
|
56
|
+
...d,
|
|
57
|
+
children: /* @__PURE__ */ b(c, { active: o, ...a, children: s })
|
|
22
58
|
}
|
|
23
|
-
|
|
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;
|
|
59
|
+
);
|
|
32
60
|
});
|
|
33
|
-
|
|
34
|
-
|
|
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;
|
|
61
|
+
export {
|
|
62
|
+
W as Tab
|
|
50
63
|
};
|
|
51
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52
|
-
exports.Tab = void 0;
|
|
53
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
|
-
var element_core_1 = require("@ovotech/element-core");
|
|
55
|
-
var react_1 = require("react");
|
|
56
|
-
var hooks_1 = require("../../hooks");
|
|
57
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
58
|
-
var TabText = styled_native_1.default.Text(function (_a) {
|
|
59
|
-
var _b = _a.theme, core = _b.core, semantic = _b.semantic, _c = _a.active, active = _c === void 0 ? false : _c;
|
|
60
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n text-align: center;\n padding: ", " ", ";\n "], ["\n font-size: ", ";\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n text-align: center;\n padding: ", " ", ";\n "])), (0, element_core_1.numToPx)(core.fontSize.body.small), core.fontFamily.bodyBold.native, (0, element_core_1.numToPx)(core.lineHeight.body.small), active ? semantic.focus.outline : semantic.message.base, (0, element_core_1.numToPx)(core.space[3]), (0, element_core_1.numToPx)(core.space[2]));
|
|
61
|
-
});
|
|
62
|
-
var TabTouchable = styled_native_1.default.TouchableOpacity(function (_a) {
|
|
63
|
-
var _b = _a.active, active = _b === void 0 ? false : _b, _c = _a.first, first = _c === void 0 ? false : _c, _d = _a.last, last = _d === void 0 ? false : _d, _e = _a.stretch, stretch = _e === void 0 ? false : _e, _f = _a.theme, core = _f.core, semantic = _f.semantic, inline = _a.inline;
|
|
64
|
-
var borderWidth = (0, element_core_1.numToPx)(core.borderWidth.small);
|
|
65
|
-
var borderColor = semantic.border.differentiated;
|
|
66
|
-
return (0, styled_native_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n flex-grow: ", ";\n\n border-bottom-width: ", ";\n border-bottom-style: solid;\n border-bottom-color: ", ";\n\n border-top-width: ", ";\n border-top-style: solid;\n border-top-color: ", ";\n\n border-left-width: ", ";\n border-left-style: solid;\n border-left-color: ", ";\n\n border-right-width: ", ";\n border-right-style: solid;\n border-right-color: ", ";\n\n ", "\n\n ", "\n \n ", "\n \n ", "\n "], ["\n flex-grow: ", ";\n\n border-bottom-width: ", ";\n border-bottom-style: solid;\n border-bottom-color: ", ";\n\n border-top-width: ", ";\n border-top-style: solid;\n border-top-color: ", ";\n\n border-left-width: ", ";\n border-left-style: solid;\n border-left-color: ", ";\n\n border-right-width: ", ";\n border-right-style: solid;\n border-right-color: ", ";\n\n ", "\n\n ", "\n \n ", "\n \n ", "\n "])), stretch ? 1 : 0, borderWidth, borderColor, borderWidth, borderColor, borderWidth, borderColor, borderWidth, borderColor, active
|
|
67
|
-
? (0, styled_native_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-bottom-color: ", ";\n border-bottom-width: ", ";\n "], ["\n border-bottom-color: ", ";\n border-bottom-width: ", ";\n "])), semantic.focus.outline, (0, element_core_1.numToPx)(core.borderWidth.medium)) : '', !inline
|
|
68
|
-
? (0, styled_native_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-top-color: transparent;\n border-top-width: 0;\n "], ["\n border-top-color: transparent;\n border-top-width: 0;\n "]))) : '', last && inline
|
|
69
|
-
? ''
|
|
70
|
-
: (0, styled_native_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-right-color: transparent;\n border-right-width: 0;\n "], ["\n border-right-color: transparent;\n border-right-width: 0;\n "]))), first && inline
|
|
71
|
-
? ''
|
|
72
|
-
: (0, styled_native_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n border-left-color: transparent;\n border-left-width: 0;\n "], ["\n border-left-color: transparent;\n border-left-width: 0;\n "]))));
|
|
73
|
-
});
|
|
74
|
-
exports.Tab = (0, react_1.forwardRef)(function (_a, ref) {
|
|
75
|
-
var active = _a.active, _b = _a.fullWidth, fullWidth = _b === void 0 ? false : _b, children = _a.children, rest = __rest(_a, ["active", "fullWidth", "children"]);
|
|
76
|
-
var breakpoints = (0, hooks_1.useBreakpoint)();
|
|
77
|
-
return ((0, jsx_runtime_1.jsx)(TabTouchable, __assign({ accessibilityRole: "tab", accessibilityState: { selected: active }, active: active, stretch: fullWidth, ref: ref }, rest, { children: (0, jsx_runtime_1.jsx)(TabText, __assign({ active: active }, breakpoints, { children: children })) })));
|
|
78
|
-
});
|
|
79
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ViewProps } from 'react-native';
|
|
3
|
-
type TabListProps = ViewProps & {
|
|
4
|
-
fullWidth?:
|
|
3
|
+
declare type TabListProps = ViewProps & {
|
|
4
|
+
fullWidth?: 'always' | 'never' | 'small';
|
|
5
5
|
setActiveTab?: (i: number) => void;
|
|
6
6
|
activeTab?: number;
|
|
7
7
|
tabRefs?: React.RefObject<any>[];
|
|
@@ -1,78 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { n as c } from "../../utils-HsZygzDh.js";
|
|
3
|
+
import { Children as l, cloneElement as d } from "react";
|
|
4
|
+
import { s as f, c as u } from "../../styled.native-KEscfVp7.js";
|
|
5
|
+
import { callAll as x } from "../../utils/utils.js";
|
|
6
|
+
import "../../hooks/use-breakpoint.js";
|
|
7
|
+
import "react-native";
|
|
8
|
+
const y = f.View(
|
|
9
|
+
({ theme: { core: o } }) => u`
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
margin: -${c(o.borderWidth.small)};
|
|
12
|
+
`
|
|
13
|
+
), C = ({
|
|
14
|
+
children: o,
|
|
15
|
+
setActiveTab: s,
|
|
16
|
+
activeTab: e,
|
|
17
|
+
tabRefs: t,
|
|
18
|
+
fullWidth: i,
|
|
19
|
+
inline: n,
|
|
20
|
+
...p
|
|
21
|
+
}) => /* @__PURE__ */ a(y, { accessibilityRole: "tablist", ...p, children: l.map(
|
|
22
|
+
o,
|
|
23
|
+
(m, r) => m ? d(m, {
|
|
24
|
+
onPress: x(
|
|
25
|
+
() => s && s(r),
|
|
26
|
+
m.props.onPress
|
|
27
|
+
),
|
|
28
|
+
active: e === r,
|
|
29
|
+
fullWidth: i,
|
|
30
|
+
ref: t == null ? void 0 : t[r],
|
|
31
|
+
first: r === 0,
|
|
32
|
+
last: l.count(o) - 1 === r,
|
|
33
|
+
inline: n
|
|
34
|
+
}) : null
|
|
35
|
+
) });
|
|
36
|
+
export {
|
|
37
|
+
C as TabList
|
|
5
38
|
};
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52
|
-
exports.TabList = void 0;
|
|
53
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
|
-
var element_core_1 = require("@ovotech/element-core");
|
|
55
|
-
var react_1 = require("react");
|
|
56
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
57
|
-
var utils_1 = require("../../utils");
|
|
58
|
-
var StyledTabList = styled_native_1.default.View(function (_a) {
|
|
59
|
-
var core = _a.theme.core;
|
|
60
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex-direction: row;\n margin: -", ";\n "], ["\n flex-direction: row;\n margin: -", ";\n "])), (0, element_core_1.numToPx)(core.borderWidth.small));
|
|
61
|
-
});
|
|
62
|
-
var TabList = function (_a) {
|
|
63
|
-
var children = _a.children, setActiveTab = _a.setActiveTab, activeTab = _a.activeTab, tabRefs = _a.tabRefs, fullWidth = _a.fullWidth, inline = _a.inline, rest = __rest(_a, ["children", "setActiveTab", "activeTab", "tabRefs", "fullWidth", "inline"]);
|
|
64
|
-
var validChildren = (0, utils_1.getValidChildren)(children);
|
|
65
|
-
return ((0, jsx_runtime_1.jsx)(StyledTabList, __assign({ accessibilityRole: "tablist" }, rest, { children: react_1.Children.map(validChildren, function (child, i) {
|
|
66
|
-
return (0, react_1.cloneElement)(child, {
|
|
67
|
-
onPress: (0, utils_1.callAll)(function () { return setActiveTab && setActiveTab(i); }, child.props.onPress),
|
|
68
|
-
active: activeTab === i,
|
|
69
|
-
fullWidth: fullWidth,
|
|
70
|
-
ref: tabRefs === null || tabRefs === void 0 ? void 0 : tabRefs[i],
|
|
71
|
-
first: i === 0,
|
|
72
|
-
last: react_1.Children.count(validChildren) - 1 === i,
|
|
73
|
-
inline: inline,
|
|
74
|
-
});
|
|
75
|
-
}) })));
|
|
76
|
-
};
|
|
77
|
-
exports.TabList = TabList;
|
|
78
|
-
var templateObject_1;
|
|
@@ -1,65 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { n as e } from "../../utils-HsZygzDh.js";
|
|
3
|
+
import { s as d, c as s } from "../../styled.native-KEscfVp7.js";
|
|
4
|
+
import "react";
|
|
5
|
+
const i = d.View(
|
|
6
|
+
({ theme: { core: r, semantic: o } }) => s`
|
|
7
|
+
padding: ${e(r.space[4])};
|
|
8
|
+
border-top-width: ${e(r.borderWidth.small)};
|
|
9
|
+
border-style: solid;
|
|
10
|
+
border-color: ${o.border.differentiated};
|
|
11
|
+
z-index: -1;
|
|
12
|
+
`
|
|
13
|
+
), p = ({ ...r }) => /* @__PURE__ */ t(i, { ...r });
|
|
14
|
+
export {
|
|
15
|
+
p as TabPanel
|
|
5
16
|
};
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52
|
-
exports.TabPanel = void 0;
|
|
53
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
|
-
var element_core_1 = require("@ovotech/element-core");
|
|
55
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
56
|
-
var StyledView = styled_native_1.default.View(function (_a) {
|
|
57
|
-
var _b = _a.theme, core = _b.core, semantic = _b.semantic;
|
|
58
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", ";\n border-top-width: ", ";\n border-style: solid;\n border-color: ", ";\n z-index: -1;\n "], ["\n padding: ", ";\n border-top-width: ", ";\n border-style: solid;\n border-color: ", ";\n z-index: -1;\n "])), (0, element_core_1.numToPx)(core.space[4]), (0, element_core_1.numToPx)(core.borderWidth.small), semantic.border.differentiated);
|
|
59
|
-
});
|
|
60
|
-
var TabPanel = function (_a) {
|
|
61
|
-
var rest = __rest(_a, []);
|
|
62
|
-
return (0, jsx_runtime_1.jsx)(StyledView, __assign({}, rest));
|
|
63
|
-
};
|
|
64
|
-
exports.TabPanel = TabPanel;
|
|
65
|
-
var templateObject_1;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
import { FullWidthOptions } from '../../hooks';
|
|
3
|
+
declare type TabsProps = {
|
|
3
4
|
defaultSelected?: number;
|
|
4
5
|
inline?: boolean;
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
onSelected?: (activeTab: number) => void;
|
|
7
|
-
fullWidth?:
|
|
8
|
+
fullWidth?: FullWidthOptions;
|
|
8
9
|
};
|
|
9
10
|
export declare const Tabs: ({ children, defaultSelected, onSelected, fullWidth, inline, ...rest }: TabsProps) => JSX.Element;
|
|
10
11
|
export {};
|