@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,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
export type AccordionProps = PropsWithChildren<{
|
|
2
|
+
export declare type AccordionProps = PropsWithChildren<{
|
|
3
3
|
title: ReactNode;
|
|
4
4
|
expanded?: boolean;
|
|
5
5
|
children?: ReactNode;
|
|
@@ -12,7 +12,7 @@ export type AccordionProps = PropsWithChildren<{
|
|
|
12
12
|
last?: boolean;
|
|
13
13
|
testId?: string;
|
|
14
14
|
}>;
|
|
15
|
-
export type AccordionGroupProps = {
|
|
15
|
+
export declare type AccordionGroupProps = {
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated inline prop is no longer affects styling
|
|
18
18
|
*/
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { ImageSourcePropType } from 'react-native';
|
|
3
3
|
import { CTAVariantName } from '../CTAButton/CTAButton';
|
|
4
|
-
export type ActionCardProps = {
|
|
4
|
+
export declare type ActionCardProps = {
|
|
5
5
|
title: string;
|
|
6
6
|
body?: string | ReactElement;
|
|
7
7
|
onPressCloseButton?: () => void;
|
|
@@ -1,107 +1,379 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { n as y } from "../../utils-HsZygzDh.js";
|
|
3
|
+
import C from "@react-native-masked-view/masked-view";
|
|
4
|
+
import { useContext as P, useEffect as j } from "react";
|
|
5
|
+
import { View as d, Image as z, Pressable as v } from "react-native";
|
|
6
|
+
import "react-native-reanimated";
|
|
7
|
+
import { s as x, T as D } from "../../styled.native-KEscfVp7.js";
|
|
8
|
+
import "../Heading4/Heading4.js";
|
|
9
|
+
import "../Accordion/Group.js";
|
|
10
|
+
import "../Accordion/Icon.js";
|
|
11
|
+
import "../Accordion/styles.js";
|
|
12
|
+
import { Action as H } from "../ActionList/ActionList.js";
|
|
13
|
+
import "../Badge/Badge.js";
|
|
14
|
+
import "../Card/Card.js";
|
|
15
|
+
import "../Checkbox/Checkbox.js";
|
|
16
|
+
import "../ErrorText/ErrorText.js";
|
|
17
|
+
import "../FormGroup/FormGroup.js";
|
|
18
|
+
import "../HintText/HintText.js";
|
|
19
|
+
import "../LabelText/LabelText.js";
|
|
20
|
+
import { Stack as M } from "../Stack/Stack.js";
|
|
21
|
+
import { CTAButton as A } from "../CTAButton/CTAButton.js";
|
|
22
|
+
import "../CTALink/CTALink.js";
|
|
23
|
+
import "../CurrencyField/CurrencyField.js";
|
|
24
|
+
import "../CurrencyInput/CurrencyInput.js";
|
|
25
|
+
import "../DataTable/DataTable.js";
|
|
26
|
+
import "../DataTable/styles.js";
|
|
27
|
+
import "../DateField/DateField.js";
|
|
28
|
+
import "../DescriptionList/styled.js";
|
|
29
|
+
import "../Disclosure/Disclosure.js";
|
|
30
|
+
import "../Divider/Divider.js";
|
|
31
|
+
import "../Em/Em.js";
|
|
32
|
+
import "../EmailField/EmailField.js";
|
|
33
|
+
import "../EmailInput/EmailInput.js";
|
|
34
|
+
import { Margin as $ } from "../Margin/Margin.js";
|
|
35
|
+
import "../List/styled.js";
|
|
36
|
+
import "../Notification/Notification.js";
|
|
37
|
+
import { P as E } from "../P/P.js";
|
|
38
|
+
import "../Field/Field.js";
|
|
39
|
+
import "../FilterSelect/FilterSelect.js";
|
|
40
|
+
import "../Grid/Row.js";
|
|
41
|
+
import "../Grid/Col.js";
|
|
42
|
+
import "../Heading1/Heading1.js";
|
|
43
|
+
import { Heading2 as I } from "../Heading2/Heading2.js";
|
|
44
|
+
import { Heading3 as L } from "../Heading3/Heading3.js";
|
|
45
|
+
import { Icon as w } from "../Icon/Icon.js";
|
|
46
|
+
import "../Label/Label.js";
|
|
47
|
+
import "../Lead/Lead.js";
|
|
48
|
+
import "../LineThrough/LineThrough.js";
|
|
49
|
+
import "../NavHeader/NavHeader.styles.js";
|
|
50
|
+
import "../NumberField/NumberField.js";
|
|
51
|
+
import "../NumberInput/NumberInput.js";
|
|
52
|
+
import "../PasswordField/PasswordField.js";
|
|
53
|
+
import "../PasswordInput/PasswordInput.js";
|
|
54
|
+
import "../PhoneField/PhoneField.js";
|
|
55
|
+
import "../PhoneInput/PhoneInput.js";
|
|
56
|
+
import "../Radio/Radio.js";
|
|
57
|
+
import "../SelectField/Select.js";
|
|
58
|
+
import "../SkeletonCircle/SkeletonCircle.js";
|
|
59
|
+
import "../SkeletonCTA/SkeletonCTA.js";
|
|
60
|
+
import "../SkeletonHeading/SkeletonHeading.js";
|
|
61
|
+
import "../SkeletonText/SkeletonText.js";
|
|
62
|
+
import "../Small/Small.js";
|
|
63
|
+
import "react-native-svg";
|
|
64
|
+
import "../Strong/Strong.js";
|
|
65
|
+
import "../Tabs/Tabs.js";
|
|
66
|
+
import "../Tabs/Tab.js";
|
|
67
|
+
import "../Tabs/TabList.js";
|
|
68
|
+
import "../Tabs/TabPanel.js";
|
|
69
|
+
import "../TextareaField/TextareaField.js";
|
|
70
|
+
import "../TextareaInput/TextareaInput.js";
|
|
71
|
+
import "../TextField/TextField.js";
|
|
72
|
+
import "../TextInput/TextInput.js";
|
|
73
|
+
import "../TextLink/TextLink.js";
|
|
74
|
+
import "../Toggle/Toggle.js";
|
|
75
|
+
import "../Toast/Toast.js";
|
|
76
|
+
import "../ProductCarousel/ProductCarousel.js";
|
|
77
|
+
import "../RadioCard/RadioCard.js";
|
|
78
|
+
import { CloseIconShape as T } from "./CloseIconShape.js";
|
|
79
|
+
import { IndicatorIconShape as V } from "./IndicatorIconShape.js";
|
|
80
|
+
import "../../hooks/use-breakpoint.js";
|
|
81
|
+
import "../ActionList/styled.js";
|
|
82
|
+
import "../../utils/utils.js";
|
|
83
|
+
import "../../providers/IconsProvider.js";
|
|
84
|
+
import "../../providers/icons/Address.js";
|
|
85
|
+
import "../../providers/icons/Advice.js";
|
|
86
|
+
import "../../providers/icons/Archive.js";
|
|
87
|
+
import "../../providers/icons/ArrowDown.js";
|
|
88
|
+
import "../../providers/icons/ArrowLeft.js";
|
|
89
|
+
import "../../providers/icons/ArrowRight.js";
|
|
90
|
+
import "../../providers/icons/ArrowUp.js";
|
|
91
|
+
import "../../providers/icons/Award.js";
|
|
92
|
+
import "../../providers/icons/Battery.js";
|
|
93
|
+
import "../../providers/icons/Cal.js";
|
|
94
|
+
import "../../providers/icons/CalBook.js";
|
|
95
|
+
import "../../providers/icons/CaretDown.js";
|
|
96
|
+
import "../../providers/icons/CaretLeft.js";
|
|
97
|
+
import "../../providers/icons/CaretRight.js";
|
|
98
|
+
import "../../providers/icons/CaretUp.js";
|
|
99
|
+
import "../../providers/icons/Chart.js";
|
|
100
|
+
import "../../providers/icons/ChartFilled.js";
|
|
101
|
+
import "../../providers/icons/Check.js";
|
|
102
|
+
import "../../providers/icons/CheckCircle.js";
|
|
103
|
+
import "../../providers/icons/ChevronDown.js";
|
|
104
|
+
import "../../providers/icons/ChevronLeft.js";
|
|
105
|
+
import "../../providers/icons/ChevronLeftSmall.js";
|
|
106
|
+
import "../../providers/icons/ChevronLeftSmallFirst.js";
|
|
107
|
+
import "../../providers/icons/ChevronRight.js";
|
|
108
|
+
import "../../providers/icons/ChevronRightSmall.js";
|
|
109
|
+
import "../../providers/icons/ChevronRightSmallLast.js";
|
|
110
|
+
import "../../providers/icons/ChevronUp.js";
|
|
111
|
+
import "../../providers/icons/Circle.js";
|
|
112
|
+
import "../../providers/icons/CloseCircle.js";
|
|
113
|
+
import "../../providers/icons/Cross.js";
|
|
114
|
+
import "../../providers/icons/Doc.js";
|
|
115
|
+
import "../../providers/icons/Dollar.js";
|
|
116
|
+
import "../../providers/icons/Download.js";
|
|
117
|
+
import "../../providers/icons/Eco.js";
|
|
118
|
+
import "../../providers/icons/EcoHome.js";
|
|
119
|
+
import "../../providers/icons/Edit.js";
|
|
120
|
+
import "../../providers/icons/ElectricCar.js";
|
|
121
|
+
import "../../providers/icons/ElectricHome.js";
|
|
122
|
+
import "../../providers/icons/Electricity.js";
|
|
123
|
+
import "../../providers/icons/EnergyAdvice.js";
|
|
124
|
+
import "../../providers/icons/Equals.js";
|
|
125
|
+
import "../../providers/icons/Euro.js";
|
|
126
|
+
import "../../providers/icons/Gas.js";
|
|
127
|
+
import "../../providers/icons/GlobeAddress.js";
|
|
128
|
+
import "../../providers/icons/Help.js";
|
|
129
|
+
import "../../providers/icons/Hide.js";
|
|
130
|
+
import "../../providers/icons/Home.js";
|
|
131
|
+
import "../../providers/icons/HomeFilled.js";
|
|
132
|
+
import "../../providers/icons/HydroPower.js";
|
|
133
|
+
import "../../providers/icons/Info.js";
|
|
134
|
+
import "../../providers/icons/Link.js";
|
|
135
|
+
import "../../providers/icons/Logo.js";
|
|
136
|
+
import "../../providers/icons/Mail.js";
|
|
137
|
+
import "../../providers/icons/MailOpen.js";
|
|
138
|
+
import "../../providers/icons/Menu.js";
|
|
139
|
+
import "../../providers/icons/Message.js";
|
|
140
|
+
import "../../providers/icons/MessageFilled.js";
|
|
141
|
+
import "../../providers/icons/Minus.js";
|
|
142
|
+
import "../../providers/icons/Mobile.js";
|
|
143
|
+
import "../../providers/icons/NewWindow.js";
|
|
144
|
+
import "../../providers/icons/PaymentCard.js";
|
|
145
|
+
import "../../providers/icons/Phone.js";
|
|
146
|
+
import "../../providers/icons/Plus.js";
|
|
147
|
+
import "../../providers/icons/Pound.js";
|
|
148
|
+
import "../../providers/icons/Pricing.js";
|
|
149
|
+
import "../../providers/icons/Search.js";
|
|
150
|
+
import "../../providers/icons/Security.js";
|
|
151
|
+
import "../../providers/icons/Show.js";
|
|
152
|
+
import "../../providers/icons/SmartHome.js";
|
|
153
|
+
import "../../providers/icons/SmartMeter.js";
|
|
154
|
+
import "../../providers/icons/Solar.js";
|
|
155
|
+
import "../../providers/icons/Star.js";
|
|
156
|
+
import "../../providers/icons/Sun.js";
|
|
157
|
+
import "../../providers/icons/Torch.js";
|
|
158
|
+
import "../../providers/icons/Trees.js";
|
|
159
|
+
import "../../providers/icons/Tune.js";
|
|
160
|
+
import "../../providers/icons/User.js";
|
|
161
|
+
import "../../providers/icons/UserFilled.js";
|
|
162
|
+
import "../../providers/icons/Wallet.js";
|
|
163
|
+
import "../../providers/icons/WalletFilled.js";
|
|
164
|
+
import "../../providers/icons/WarmHome.js";
|
|
165
|
+
import "../../providers/icons/Warning.js";
|
|
166
|
+
import "../../providers/icons/WebAddress.js";
|
|
167
|
+
import "../../providers/icons/WindPower.js";
|
|
168
|
+
import "../Stretch/Stretch.js";
|
|
169
|
+
import "../Input/Input.js";
|
|
170
|
+
import "../DataTable/TableRow.js";
|
|
171
|
+
import "../../hooks/use-full-width.js";
|
|
172
|
+
import "../SubLabelText/SubLabelText.js";
|
|
173
|
+
import "../PasswordInput/PasswordVisibilityToggle.js";
|
|
174
|
+
import "../PasswordInput/PasswordInput.styled.js";
|
|
175
|
+
import "../SkeletonAnimation/SkeletonAnimation.js";
|
|
176
|
+
import "../Toggle/styles.js";
|
|
177
|
+
import "react-native-safe-area-context";
|
|
178
|
+
import "react-native-gesture-handler";
|
|
179
|
+
import "../ProductCarousel/NavigationDots.js";
|
|
180
|
+
import "../ProductCarousel/anchor-point.js";
|
|
181
|
+
import "styled-components";
|
|
182
|
+
const X = x.Pressable(({ theme: { core: r, semantic: i }, inline: o, inverted: n, reducedBottomPadding: a }) => {
|
|
183
|
+
const l = o ? r.space[4] : r.space[6], m = o ? r.space[3] : r.space[5];
|
|
184
|
+
return `
|
|
185
|
+
border-radius: ${o ? y(r.space[6]) : 0};
|
|
186
|
+
background-color: ${n ? i.inverted.surface : i.surface.elevated};
|
|
187
|
+
padding: ${y(l)};
|
|
188
|
+
padding-bottom: ${y(
|
|
189
|
+
a ? m : l
|
|
190
|
+
)};
|
|
191
|
+
overflow: hidden;
|
|
192
|
+
border-width: 0;
|
|
193
|
+
width: 100%;
|
|
194
|
+
`;
|
|
195
|
+
}), Y = x(E)(
|
|
196
|
+
({ theme: { semantic: r }, inverted: i }) => `
|
|
197
|
+
color: ${i ? r.inverted.message.base : r.message.base};
|
|
198
|
+
`
|
|
199
|
+
), si = ({
|
|
200
|
+
onPressCloseButton: r,
|
|
201
|
+
onPressActionButton: i,
|
|
202
|
+
onPressIndicator: o,
|
|
203
|
+
onMount: n,
|
|
204
|
+
body: a,
|
|
205
|
+
title: l,
|
|
206
|
+
buttonTitle: m,
|
|
207
|
+
ctaVariant: u,
|
|
208
|
+
image: h,
|
|
209
|
+
testID: p,
|
|
210
|
+
accessibilityLabel: k = "image",
|
|
211
|
+
inverted: g = !0,
|
|
212
|
+
inline: e = !1
|
|
213
|
+
}) => {
|
|
214
|
+
const { core: R, semantic: f } = P(D);
|
|
215
|
+
j(() => {
|
|
216
|
+
n && n();
|
|
217
|
+
}, []);
|
|
218
|
+
const S = e ? L : I, b = R.space[e ? 4 : 6], s = -b;
|
|
219
|
+
return /* @__PURE__ */ t(
|
|
220
|
+
X,
|
|
221
|
+
{
|
|
222
|
+
onPress: o,
|
|
223
|
+
inline: e,
|
|
224
|
+
inverted: g,
|
|
225
|
+
reducedBottomPadding: !!(m && !u),
|
|
226
|
+
testID: `${p}-card`,
|
|
227
|
+
children: /* @__PURE__ */ c(d, { style: { flexDirection: "row" }, children: [
|
|
228
|
+
/* @__PURE__ */ t(d, { style: { flex: 1 }, children: /* @__PURE__ */ c(M, { spaceBetween: 2, children: [
|
|
229
|
+
/* @__PURE__ */ t(
|
|
230
|
+
S,
|
|
231
|
+
{
|
|
232
|
+
style: {
|
|
233
|
+
color: g ? f.inverted.message.link : f.message.branded,
|
|
234
|
+
paddingRight: h || !r ? 0 : b
|
|
235
|
+
},
|
|
236
|
+
testID: `${p}-heading`,
|
|
237
|
+
children: l
|
|
238
|
+
}
|
|
239
|
+
),
|
|
240
|
+
/* @__PURE__ */ c(d, { children: [
|
|
241
|
+
typeof a == "string" ? /* @__PURE__ */ t(
|
|
242
|
+
d,
|
|
243
|
+
{
|
|
244
|
+
style: {
|
|
245
|
+
paddingRight: !h && !l && r ? b : 0
|
|
246
|
+
},
|
|
247
|
+
children: /* @__PURE__ */ t(Y, { inverted: g, children: a })
|
|
248
|
+
}
|
|
249
|
+
) : a,
|
|
250
|
+
m && i && !o ? u ? /* @__PURE__ */ t($, { top: 4, children: /* @__PURE__ */ t(
|
|
251
|
+
A,
|
|
252
|
+
{
|
|
253
|
+
onPress: i,
|
|
254
|
+
testID: `${p}-button`,
|
|
255
|
+
variant: u,
|
|
256
|
+
children: m
|
|
257
|
+
}
|
|
258
|
+
) }) : /* @__PURE__ */ t($, { top: 2, children: /* @__PURE__ */ t(
|
|
259
|
+
H,
|
|
260
|
+
{
|
|
261
|
+
inverted: g,
|
|
262
|
+
inline: !0,
|
|
263
|
+
onPress: i,
|
|
264
|
+
testID: `${p}-button`,
|
|
265
|
+
iconRight: "chevron-right-small",
|
|
266
|
+
children: m
|
|
267
|
+
}
|
|
268
|
+
) }) : null
|
|
269
|
+
] })
|
|
270
|
+
] }) }),
|
|
271
|
+
h ? /* @__PURE__ */ t(
|
|
272
|
+
C,
|
|
273
|
+
{
|
|
274
|
+
style: {
|
|
275
|
+
flex: 1,
|
|
276
|
+
flexDirection: "row",
|
|
277
|
+
height: "100%",
|
|
278
|
+
marginTop: s,
|
|
279
|
+
marginRight: s
|
|
280
|
+
},
|
|
281
|
+
maskElement: /* @__PURE__ */ t(
|
|
282
|
+
d,
|
|
283
|
+
{
|
|
284
|
+
style: {
|
|
285
|
+
width: "100%",
|
|
286
|
+
height: 165,
|
|
287
|
+
backgroundColor: "olive",
|
|
288
|
+
transform: [
|
|
289
|
+
{ rotate: "-16deg" },
|
|
290
|
+
{ translateX: 40 },
|
|
291
|
+
{ translateY: 25 }
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
),
|
|
296
|
+
children: /* @__PURE__ */ t(
|
|
297
|
+
z,
|
|
298
|
+
{
|
|
299
|
+
resizeMode: "cover",
|
|
300
|
+
source: h,
|
|
301
|
+
style: {
|
|
302
|
+
width: "100%",
|
|
303
|
+
height: 200,
|
|
304
|
+
position: "absolute",
|
|
305
|
+
top: 0,
|
|
306
|
+
right: 0
|
|
307
|
+
},
|
|
308
|
+
accessible: !0,
|
|
309
|
+
accessibilityRole: "image",
|
|
310
|
+
accessibilityLabel: k
|
|
311
|
+
}
|
|
312
|
+
)
|
|
313
|
+
}
|
|
314
|
+
) : null,
|
|
315
|
+
o ? /* @__PURE__ */ c(
|
|
316
|
+
v,
|
|
317
|
+
{
|
|
318
|
+
style: {
|
|
319
|
+
position: "absolute",
|
|
320
|
+
right: s,
|
|
321
|
+
bottom: s
|
|
322
|
+
},
|
|
323
|
+
onPress: o,
|
|
324
|
+
testID: `${p}-indicator-button`,
|
|
325
|
+
children: [
|
|
326
|
+
/* @__PURE__ */ t(V, {}),
|
|
327
|
+
/* @__PURE__ */ t(
|
|
328
|
+
w,
|
|
329
|
+
{
|
|
330
|
+
size: 14,
|
|
331
|
+
style: {
|
|
332
|
+
position: "absolute",
|
|
333
|
+
right: e ? 8 : 6,
|
|
334
|
+
bottom: 16
|
|
335
|
+
},
|
|
336
|
+
color: f.surface.elevated,
|
|
337
|
+
name: "chevron-right",
|
|
338
|
+
accessibilityLabel: "chevron-right"
|
|
339
|
+
}
|
|
340
|
+
)
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
) : null,
|
|
344
|
+
r && !o ? /* @__PURE__ */ c(
|
|
345
|
+
v,
|
|
346
|
+
{
|
|
347
|
+
style: {
|
|
348
|
+
position: "absolute",
|
|
349
|
+
right: s,
|
|
350
|
+
top: s
|
|
351
|
+
},
|
|
352
|
+
onPress: r,
|
|
353
|
+
testID: `${p}-close-button`,
|
|
354
|
+
children: [
|
|
355
|
+
/* @__PURE__ */ t(T, {}),
|
|
356
|
+
/* @__PURE__ */ t(
|
|
357
|
+
w,
|
|
358
|
+
{
|
|
359
|
+
size: 14,
|
|
360
|
+
style: {
|
|
361
|
+
position: "absolute",
|
|
362
|
+
top: e ? 14 : 12,
|
|
363
|
+
right: e ? 14 : 12
|
|
364
|
+
},
|
|
365
|
+
color: f.surface.elevated,
|
|
366
|
+
name: "cross",
|
|
367
|
+
accessibilityLabel: "close"
|
|
368
|
+
}
|
|
369
|
+
)
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
) : null
|
|
373
|
+
] })
|
|
7
374
|
}
|
|
8
|
-
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
375
|
+
);
|
|
24
376
|
};
|
|
25
|
-
|
|
26
|
-
|
|
377
|
+
export {
|
|
378
|
+
si as ActionCard
|
|
27
379
|
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ActionCard = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var element_core_1 = require("@ovotech/element-core");
|
|
32
|
-
var masked_view_1 = __importDefault(require("@react-native-masked-view/masked-view"));
|
|
33
|
-
var react_1 = require("react");
|
|
34
|
-
var react_native_1 = require("react-native");
|
|
35
|
-
var __1 = require("../");
|
|
36
|
-
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
37
|
-
var P_1 = require("../P");
|
|
38
|
-
var CloseIconShape_1 = require("./CloseIconShape");
|
|
39
|
-
var IndicatorIconShape_1 = require("./IndicatorIconShape");
|
|
40
|
-
var StyledCard = styled_native_1.default.Pressable(function (_a) {
|
|
41
|
-
var _b = _a.theme, core = _b.core, semantic = _b.semantic, inline = _a.inline, inverted = _a.inverted, reducedBottomPadding = _a.reducedBottomPadding;
|
|
42
|
-
var paddingVal = inline ? core.space[4] : core.space[6];
|
|
43
|
-
var reducedBottomPaddingVal = inline ? core.space[3] : core.space[5];
|
|
44
|
-
return "\n border-radius: ".concat(inline ? (0, element_core_1.numToPx)(core.space[6]) : 0, ";\n background-color: ").concat(inverted ? semantic.inverted.surface : semantic.surface.elevated, ";\n padding: ").concat((0, element_core_1.numToPx)(paddingVal), ";\n padding-bottom: ").concat((0, element_core_1.numToPx)(reducedBottomPadding ? reducedBottomPaddingVal : paddingVal), ";\n overflow: hidden;\n border-width: 0;\n width: 100%;\n ");
|
|
45
|
-
});
|
|
46
|
-
var StyledP = (0, styled_native_1.default)(P_1.P)(function (_a) {
|
|
47
|
-
var semantic = _a.theme.semantic, inverted = _a.inverted;
|
|
48
|
-
return "\n color: ".concat(inverted ? semantic.inverted.message.base : semantic.message.base, ";\n");
|
|
49
|
-
});
|
|
50
|
-
var ActionCard = function (_a) {
|
|
51
|
-
var onPressCloseButton = _a.onPressCloseButton, onPressActionButton = _a.onPressActionButton, onPressIndicator = _a.onPressIndicator, onMount = _a.onMount, body = _a.body, title = _a.title, buttonTitle = _a.buttonTitle, ctaVariant = _a.ctaVariant, image = _a.image, testID = _a.testID, _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'image' : _b, _c = _a.inverted, inverted = _c === void 0 ? true : _c, _d = _a.inline, inline = _d === void 0 ? false : _d;
|
|
52
|
-
var _e = (0, react_1.useContext)(styled_native_1.ThemeContext), core = _e.core, semantic = _e.semantic;
|
|
53
|
-
(0, react_1.useEffect)(function () {
|
|
54
|
-
if (onMount) {
|
|
55
|
-
onMount();
|
|
56
|
-
}
|
|
57
|
-
}, []);
|
|
58
|
-
var Heading = inline ? __1.Heading3 : __1.Heading2;
|
|
59
|
-
var cardPadding = core.space[inline ? 4 : 6];
|
|
60
|
-
var negativeMarginAdjustment = -cardPadding;
|
|
61
|
-
return ((0, jsx_runtime_1.jsx)(StyledCard, { onPress: onPressIndicator, inline: inline, inverted: inverted, reducedBottomPadding: Boolean(buttonTitle && !ctaVariant), testID: "".concat(testID, "-card"), children: (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: { flexDirection: 'row' }, children: [(0, jsx_runtime_1.jsx)(react_native_1.View, { style: { flex: 1 }, children: (0, jsx_runtime_1.jsxs)(__1.Stack, { spaceBetween: 2, children: [(0, jsx_runtime_1.jsx)(Heading, { style: {
|
|
62
|
-
color: inverted
|
|
63
|
-
? semantic.inverted.message.link
|
|
64
|
-
: semantic.message.branded,
|
|
65
|
-
paddingRight: image || !onPressCloseButton ? 0 : cardPadding,
|
|
66
|
-
}, testID: "".concat(testID, "-heading"), children: title }), (0, jsx_runtime_1.jsxs)(react_native_1.View, { children: [typeof body === 'string' ? ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: {
|
|
67
|
-
paddingRight: !image && !title && onPressCloseButton ? cardPadding : 0,
|
|
68
|
-
}, children: (0, jsx_runtime_1.jsx)(StyledP, { inverted: inverted, children: body }) })) : (body), buttonTitle && onPressActionButton && !onPressIndicator ? (!ctaVariant ? ((0, jsx_runtime_1.jsx)(__1.Margin, { top: 2, children: (0, jsx_runtime_1.jsx)(__1.Action, { inverted: inverted, inline: true, onPress: onPressActionButton, testID: "".concat(testID, "-button"), iconRight: "chevron-right-small", children: buttonTitle }) })) : ((0, jsx_runtime_1.jsx)(__1.Margin, { top: 4, children: (0, jsx_runtime_1.jsx)(__1.CTAButton, { onPress: onPressActionButton, testID: "".concat(testID, "-button"), variant: ctaVariant, children: buttonTitle }) }))) : null] })] }) }), image ? ((0, jsx_runtime_1.jsx)(masked_view_1.default, { style: {
|
|
69
|
-
flex: 1,
|
|
70
|
-
flexDirection: 'row',
|
|
71
|
-
height: '100%',
|
|
72
|
-
marginTop: negativeMarginAdjustment,
|
|
73
|
-
marginRight: negativeMarginAdjustment,
|
|
74
|
-
}, maskElement: (0, jsx_runtime_1.jsx)(react_native_1.View, { style: {
|
|
75
|
-
width: '100%',
|
|
76
|
-
height: 165,
|
|
77
|
-
backgroundColor: 'olive',
|
|
78
|
-
transform: [
|
|
79
|
-
{ rotate: '-16deg' },
|
|
80
|
-
{ translateX: 40 },
|
|
81
|
-
{ translateY: 25 },
|
|
82
|
-
],
|
|
83
|
-
} }), children: (0, jsx_runtime_1.jsx)(react_native_1.Image, { resizeMode: "cover", source: image, style: {
|
|
84
|
-
width: '100%',
|
|
85
|
-
height: 200,
|
|
86
|
-
position: 'absolute',
|
|
87
|
-
top: 0,
|
|
88
|
-
right: 0,
|
|
89
|
-
}, accessible: true, accessibilityRole: "image", accessibilityLabel: accessibilityLabel }) })) : null, onPressIndicator ? ((0, jsx_runtime_1.jsxs)(react_native_1.Pressable, { style: {
|
|
90
|
-
position: 'absolute',
|
|
91
|
-
right: negativeMarginAdjustment,
|
|
92
|
-
bottom: negativeMarginAdjustment,
|
|
93
|
-
}, onPress: onPressIndicator, testID: "".concat(testID, "-indicator-button"), children: [(0, jsx_runtime_1.jsx)(IndicatorIconShape_1.IndicatorIconShape, {}), (0, jsx_runtime_1.jsx)(__1.Icon, { size: 14, style: {
|
|
94
|
-
position: 'absolute',
|
|
95
|
-
right: inline ? 8 : 6,
|
|
96
|
-
bottom: 16,
|
|
97
|
-
}, color: semantic.surface.elevated, name: "chevron-right", accessibilityLabel: "chevron-right" })] })) : null, onPressCloseButton && !onPressIndicator ? ((0, jsx_runtime_1.jsxs)(react_native_1.Pressable, { style: {
|
|
98
|
-
position: 'absolute',
|
|
99
|
-
right: negativeMarginAdjustment,
|
|
100
|
-
top: negativeMarginAdjustment,
|
|
101
|
-
}, onPress: onPressCloseButton, testID: "".concat(testID, "-close-button"), children: [(0, jsx_runtime_1.jsx)(CloseIconShape_1.CloseIconShape, {}), (0, jsx_runtime_1.jsx)(__1.Icon, { size: 14, style: {
|
|
102
|
-
position: 'absolute',
|
|
103
|
-
top: inline ? 14 : 12,
|
|
104
|
-
right: inline ? 14 : 12,
|
|
105
|
-
}, color: semantic.surface.elevated, name: "cross", accessibilityLabel: "close" })] })) : null] }) }));
|
|
106
|
-
};
|
|
107
|
-
exports.ActionCard = ActionCard;
|
|
@@ -1,41 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import r, { Path as h, Defs as s, ClipPath as d } from "react-native-svg";
|
|
3
|
+
import { s as l } from "../../styled.native-KEscfVp7.js";
|
|
4
|
+
import "react";
|
|
5
|
+
const f = l(h)(
|
|
6
|
+
({ theme: { semantic: t }, color: i }) => `
|
|
7
|
+
fill: ${i ?? t.message.branded}
|
|
8
|
+
`
|
|
9
|
+
), c = ({ color: t }) => /* @__PURE__ */ o(r, { width: 44, height: 44, children: [
|
|
10
|
+
/* @__PURE__ */ e(f, { color: t, d: "M11.632 44 0 0h44v35.402L11.632 44Z" }),
|
|
11
|
+
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(d, { id: "a", children: /* @__PURE__ */ e(h, { fill: "#fff", d: "M16 16h12v12H16z" }) }) })
|
|
12
|
+
] });
|
|
13
|
+
export {
|
|
14
|
+
c as CloseIconShape
|
|
24
15
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.CloseIconShape = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
32
|
-
var styled_native_1 = __importDefault(require("../../styled.native"));
|
|
33
|
-
var StyledPath = (0, styled_native_1.default)(react_native_svg_1.Path)(function (_a) {
|
|
34
|
-
var semantic = _a.theme.semantic, color = _a.color;
|
|
35
|
-
return "\n fill: ".concat(color !== null && color !== void 0 ? color : semantic.message.branded, "\n");
|
|
36
|
-
});
|
|
37
|
-
var CloseIconShape = function (_a) {
|
|
38
|
-
var color = _a.color;
|
|
39
|
-
return ((0, jsx_runtime_1.jsxs)(react_native_svg_1.default, { width: 44, height: 44, children: [(0, jsx_runtime_1.jsx)(StyledPath, { color: color, d: "M11.632 44 0 0h44v35.402L11.632 44Z" }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Defs, { children: (0, jsx_runtime_1.jsx)(react_native_svg_1.ClipPath, { id: "a", children: (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { fill: "#fff", d: "M16 16h12v12H16z" }) }) })] }));
|
|
40
|
-
};
|
|
41
|
-
exports.CloseIconShape = CloseIconShape;
|
|
@@ -1,41 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import r, { Path as i } from "react-native-svg";
|
|
3
|
+
import { s as m } from "../../styled.native-KEscfVp7.js";
|
|
4
|
+
import "react";
|
|
5
|
+
const d = m(i)(
|
|
6
|
+
({ theme: { semantic: t }, color: e }) => `
|
|
7
|
+
fill: ${e ?? t.message.branded}
|
|
8
|
+
`
|
|
9
|
+
), p = ({ color: t }) => /* @__PURE__ */ o(r, { width: 32, height: 48, children: /* @__PURE__ */ o(d, { color: t, d: "M0 9.5 32 1v47H10.5L0 9.5Z" }) });
|
|
10
|
+
export {
|
|
11
|
+
p as IndicatorIconShape
|
|
24
12
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.IndicatorIconShape = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
32
|
-
var styled_native_1 = __importDefault(require("../../styled.native"));
|
|
33
|
-
var StyledPath = (0, styled_native_1.default)(react_native_svg_1.Path)(function (_a) {
|
|
34
|
-
var semantic = _a.theme.semantic, color = _a.color;
|
|
35
|
-
return "\n fill: ".concat(color !== null && color !== void 0 ? color : semantic.message.branded, "\n");
|
|
36
|
-
});
|
|
37
|
-
var IndicatorIconShape = function (_a) {
|
|
38
|
-
var color = _a.color;
|
|
39
|
-
return ((0, jsx_runtime_1.jsx)(react_native_svg_1.default, { width: 32, height: 48, children: (0, jsx_runtime_1.jsx)(StyledPath, { color: color, d: "M0 9.5 32 1v47H10.5L0 9.5Z" }) }));
|
|
40
|
-
};
|
|
41
|
-
exports.IndicatorIconShape = IndicatorIconShape;
|