@ovotech/element-native 5.4.0 → 5.4.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 +5 -0
- package/dist/components/Accordion/Accordion.js +65 -0
- package/dist/components/Accordion/Group.d.ts +6 -0
- package/dist/components/Accordion/Group.js +15 -0
- package/dist/components/Accordion/Icon.d.ts +4 -0
- package/dist/components/Accordion/Icon.js +34 -0
- package/dist/components/Accordion/index.d.ts +4 -0
- package/dist/components/Accordion/index.js +3 -0
- package/dist/components/Accordion/styles.d.ts +1699 -0
- package/dist/components/Accordion/styles.js +45 -0
- package/dist/components/Accordion/types.d.ts +21 -0
- package/dist/components/Accordion/types.js +1 -0
- package/dist/components/ActionCard/ActionCard.d.ts +21 -0
- package/dist/components/ActionCard/ActionCard.js +103 -0
- package/dist/components/ActionCard/CloseIconShape.d.ts +3 -0
- package/dist/components/ActionCard/CloseIconShape.js +7 -0
- package/dist/components/ActionCard/IndicatorIconShape.d.ts +3 -0
- package/dist/components/ActionCard/IndicatorIconShape.js +7 -0
- package/dist/components/ActionCard/index.d.ts +1 -0
- package/dist/components/ActionCard/index.js +1 -0
- package/dist/components/ActionList/ActionList.d.ts +25 -0
- package/dist/components/ActionList/ActionList.js +24 -0
- package/dist/components/ActionList/index.d.ts +1 -0
- package/dist/components/ActionList/index.js +1 -0
- package/dist/components/ActionList/styled.d.ts +3979 -0
- package/dist/components/ActionList/styled.js +58 -0
- package/dist/components/Badge/Badge.d.ts +579 -0
- package/dist/components/Badge/Badge.js +52 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.js +1 -0
- package/dist/components/CTAButton/CTAButton.d.ts +18 -0
- package/dist/components/CTAButton/CTAButton.js +81 -0
- package/dist/components/CTAButton/index.d.ts +1 -0
- package/dist/components/CTAButton/index.js +1 -0
- package/dist/components/CTALink/CTALink.d.ts +8 -0
- package/dist/components/CTALink/CTALink.js +6 -0
- package/dist/components/CTALink/index.d.ts +1 -0
- package/dist/components/CTALink/index.js +1 -0
- package/dist/components/Card/Card.d.ts +7 -0
- package/dist/components/Card/Card.js +15 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.js +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +14 -0
- package/dist/components/Checkbox/Checkbox.js +58 -0
- package/dist/components/Checkbox/CheckboxField.d.ts +9 -0
- package/dist/components/Checkbox/CheckboxField.js +17 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.js +2 -0
- package/dist/components/CurrencyField/CurrencyField.d.ts +5 -0
- package/dist/components/CurrencyField/CurrencyField.js +6 -0
- package/dist/components/CurrencyField/index.d.ts +1 -0
- package/dist/components/CurrencyField/index.js +1 -0
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +9 -0
- package/dist/components/CurrencyInput/CurrencyInput.js +11 -0
- package/dist/components/CurrencyInput/index.d.ts +1 -0
- package/dist/components/CurrencyInput/index.js +1 -0
- package/dist/components/DataTable/DataTable.d.ts +2 -0
- package/dist/components/DataTable/DataTable.js +19 -0
- package/dist/components/DataTable/TableRow.d.ts +2 -0
- package/dist/components/DataTable/TableRow.js +21 -0
- package/dist/components/DataTable/index.d.ts +3 -0
- package/dist/components/DataTable/index.js +3 -0
- package/dist/components/DataTable/styles.d.ts +7356 -0
- package/dist/components/DataTable/styles.js +100 -0
- package/dist/components/DataTable/types.d.ts +21 -0
- package/dist/components/DataTable/types.js +1 -0
- package/dist/components/DateField/DateField.d.ts +22 -0
- package/dist/components/DateField/DateField.js +68 -0
- package/dist/components/DateField/index.d.ts +1 -0
- package/dist/components/DateField/index.js +1 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts +10 -0
- package/dist/components/DescriptionList/DescriptionList.js +12 -0
- package/dist/components/DescriptionList/index.d.ts +1 -0
- package/dist/components/DescriptionList/index.js +1 -0
- package/dist/components/DescriptionList/styled.d.ts +570 -0
- package/dist/components/DescriptionList/styled.js +35 -0
- package/dist/components/Disclosure/Disclosure.d.ts +576 -0
- package/dist/components/Disclosure/Disclosure.js +36 -0
- package/dist/components/Disclosure/index.d.ts +1 -0
- package/dist/components/Disclosure/index.js +1 -0
- package/dist/components/Display0/Display0.d.ts +5 -0
- package/dist/components/Display0/Display0.js +23 -0
- package/dist/components/Display0/index.d.ts +1 -0
- package/dist/components/Display0/index.js +1 -0
- package/dist/components/Display1/Display1.d.ts +5 -0
- package/dist/components/Display1/Display1.js +23 -0
- package/dist/components/Display1/index.d.ts +1 -0
- package/dist/components/Display1/index.js +1 -0
- package/dist/components/Display2/Display2.d.ts +5 -0
- package/dist/components/Display2/Display2.js +23 -0
- package/dist/components/Display2/index.d.ts +1 -0
- package/dist/components/Display2/index.js +1 -0
- package/dist/components/Display3/Display3.d.ts +5 -0
- package/dist/components/Display3/Display3.js +23 -0
- package/dist/components/Display3/index.d.ts +1 -0
- package/dist/components/Display3/index.js +1 -0
- package/dist/components/Divider/Divider.d.ts +5 -0
- package/dist/components/Divider/Divider.js +14 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Divider/index.js +1 -0
- package/dist/components/Em/Em.d.ts +565 -0
- package/dist/components/Em/Em.js +6 -0
- package/dist/components/Em/index.d.ts +1 -0
- package/dist/components/Em/index.js +1 -0
- package/dist/components/EmailField/EmailField.d.ts +5 -0
- package/dist/components/EmailField/EmailField.js +6 -0
- package/dist/components/EmailField/index.d.ts +1 -0
- package/dist/components/EmailField/index.js +1 -0
- package/dist/components/EmailInput/EmailInput.d.ts +3 -0
- package/dist/components/EmailInput/EmailInput.js +4 -0
- package/dist/components/EmailInput/index.d.ts +1 -0
- package/dist/components/EmailInput/index.js +1 -0
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +18 -0
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +23 -0
- package/dist/components/ErrorSummaryNotification/index.d.ts +1 -0
- package/dist/components/ErrorSummaryNotification/index.js +1 -0
- package/dist/components/ErrorText/ErrorText.d.ts +575 -0
- package/dist/components/ErrorText/ErrorText.js +18 -0
- package/dist/components/ErrorText/index.d.ts +1 -0
- package/dist/components/ErrorText/index.js +1 -0
- package/dist/components/Field/Field.d.ts +14 -0
- package/dist/components/Field/Field.js +38 -0
- package/dist/components/Field/index.d.ts +1 -0
- package/dist/components/Field/index.js +1 -0
- package/dist/components/FilterSelect/FilterSelect.d.ts +17 -0
- package/dist/components/FilterSelect/FilterSelect.js +67 -0
- package/dist/components/FilterSelect/index.d.ts +1 -0
- package/dist/components/FilterSelect/index.js +1 -0
- package/dist/components/FormGroup/FormGroup.d.ts +8 -0
- package/dist/components/FormGroup/FormGroup.js +9 -0
- package/dist/components/FormGroup/index.d.ts +1 -0
- package/dist/components/FormGroup/index.js +1 -0
- package/dist/components/Grid/Col.d.ts +575 -0
- package/dist/components/Grid/Col.js +35 -0
- package/dist/components/Grid/Row.d.ts +7 -0
- package/dist/components/Grid/Row.js +35 -0
- package/dist/components/Grid/index.d.ts +2 -0
- package/dist/components/Grid/index.js +2 -0
- package/dist/components/Heading1/Heading1.d.ts +5 -0
- package/dist/components/Heading1/Heading1.js +23 -0
- package/dist/components/Heading1/index.d.ts +1 -0
- package/dist/components/Heading1/index.js +1 -0
- package/dist/components/Heading2/Heading2.d.ts +5 -0
- package/dist/components/Heading2/Heading2.js +23 -0
- package/dist/components/Heading2/index.d.ts +1 -0
- package/dist/components/Heading2/index.js +1 -0
- package/dist/components/Heading3/Heading3.d.ts +5 -0
- package/dist/components/Heading3/Heading3.js +23 -0
- package/dist/components/Heading3/index.d.ts +1 -0
- package/dist/components/Heading3/index.js +1 -0
- package/dist/components/Heading4/Heading4.d.ts +5 -0
- package/dist/components/Heading4/Heading4.js +23 -0
- package/dist/components/Heading4/index.d.ts +1 -0
- package/dist/components/Heading4/index.js +1 -0
- package/dist/components/HintText/HintText.d.ts +575 -0
- package/dist/components/HintText/HintText.js +18 -0
- package/dist/components/HintText/index.d.ts +1 -0
- package/dist/components/HintText/index.js +1 -0
- package/dist/components/Icon/Icon.d.ts +9 -0
- package/dist/components/Icon/Icon.js +13 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Icon/index.js +1 -0
- package/dist/components/Input/Input.d.ts +13 -0
- package/dist/components/Input/Input.js +78 -0
- package/dist/components/Label/Label.d.ts +8 -0
- package/dist/components/Label/Label.js +10 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/Label/index.js +1 -0
- package/dist/components/LabelText/LabelText.d.ts +575 -0
- package/dist/components/LabelText/LabelText.js +16 -0
- package/dist/components/LabelText/index.d.ts +1 -0
- package/dist/components/LabelText/index.js +1 -0
- package/dist/components/Lead/Lead.d.ts +8 -0
- package/dist/components/Lead/Lead.js +12 -0
- package/dist/components/Lead/index.d.ts +1 -0
- package/dist/components/Lead/index.js +1 -0
- package/dist/components/LineThrough/LineThrough.d.ts +565 -0
- package/dist/components/LineThrough/LineThrough.js +4 -0
- package/dist/components/LineThrough/index.d.ts +1 -0
- package/dist/components/LineThrough/index.js +1 -0
- package/dist/components/List/List.d.ts +8 -0
- package/dist/components/List/List.js +26 -0
- package/dist/components/List/index.d.ts +1 -0
- package/dist/components/List/index.js +1 -0
- package/dist/components/List/styled.d.ts +2266 -0
- package/dist/components/List/styled.js +40 -0
- package/dist/components/Margin/Margin.d.ts +589 -0
- package/dist/components/Margin/Margin.js +36 -0
- package/dist/components/Margin/index.d.ts +1 -0
- package/dist/components/Margin/index.js +1 -0
- package/dist/components/NavHeader/IconButton.d.ts +15 -0
- package/dist/components/NavHeader/IconButton.js +13 -0
- package/dist/components/NavHeader/NavHeader.d.ts +18 -0
- package/dist/components/NavHeader/NavHeader.js +43 -0
- package/dist/components/NavHeader/NavHeader.styles.d.ts +5102 -0
- package/dist/components/NavHeader/NavHeader.styles.js +82 -0
- package/dist/components/NavHeader/index.d.ts +1 -0
- package/dist/components/NavHeader/index.js +1 -0
- package/dist/components/Notification/Notification.d.ts +1153 -0
- package/dist/components/Notification/Notification.js +81 -0
- package/dist/components/Notification/index.d.ts +1 -0
- package/dist/components/Notification/index.js +1 -0
- package/dist/components/NumberField/NumberField.d.ts +5 -0
- package/dist/components/NumberField/NumberField.js +6 -0
- package/dist/components/NumberField/index.d.ts +1 -0
- package/dist/components/NumberField/index.js +1 -0
- package/dist/components/NumberInput/NumberInput.d.ts +3 -0
- package/dist/components/NumberInput/NumberInput.js +4 -0
- package/dist/components/NumberInput/index.d.ts +1 -0
- package/dist/components/NumberInput/index.js +1 -0
- package/dist/components/P/P.d.ts +8 -0
- package/dist/components/P/P.js +14 -0
- package/dist/components/P/index.d.ts +1 -0
- package/dist/components/P/index.js +1 -0
- package/dist/components/PasswordField/PasswordField.d.ts +7 -0
- package/dist/components/PasswordField/PasswordField.js +6 -0
- package/dist/components/PasswordField/index.d.ts +1 -0
- package/dist/components/PasswordField/index.js +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +6 -0
- package/dist/components/PasswordInput/PasswordInput.js +8 -0
- package/dist/components/PasswordInput/PasswordInput.styled.d.ts +567 -0
- package/dist/components/PasswordInput/PasswordInput.styled.js +14 -0
- package/dist/components/PasswordInput/PasswordVisibilityToggle.d.ts +12 -0
- package/dist/components/PasswordInput/PasswordVisibilityToggle.js +22 -0
- package/dist/components/PasswordInput/index.d.ts +1 -0
- package/dist/components/PasswordInput/index.js +1 -0
- package/dist/components/PhoneField/PhoneField.d.ts +5 -0
- package/dist/components/PhoneField/PhoneField.js +6 -0
- package/dist/components/PhoneField/index.d.ts +1 -0
- package/dist/components/PhoneField/index.js +1 -0
- package/dist/components/PhoneInput/PhoneInput.d.ts +2 -0
- package/dist/components/PhoneInput/PhoneInput.js +3 -0
- package/dist/components/PhoneInput/index.d.ts +1 -0
- package/dist/components/PhoneInput/index.js +1 -0
- package/dist/components/ProductCarousel/NavigationDots.d.ts +5 -0
- package/dist/components/ProductCarousel/NavigationDots.js +48 -0
- package/dist/components/ProductCarousel/ProductCarousel.d.ts +14 -0
- package/dist/components/ProductCarousel/ProductCarousel.js +81 -0
- package/dist/components/ProductCarousel/anchor-point.d.ts +207 -0
- package/dist/components/ProductCarousel/anchor-point.js +43 -0
- package/dist/components/ProductCarousel/index.d.ts +1 -0
- package/dist/components/ProductCarousel/index.js +1 -0
- package/dist/components/Radio/Radio.d.ts +14 -0
- package/dist/components/Radio/Radio.js +52 -0
- package/dist/components/Radio/RadioField.d.ts +11 -0
- package/dist/components/Radio/RadioField.js +21 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Radio/index.js +2 -0
- package/dist/components/RadioCard/RadioCard.d.ts +12 -0
- package/dist/components/RadioCard/RadioCard.js +57 -0
- package/dist/components/RadioCard/index.d.ts +1 -0
- package/dist/components/RadioCard/index.js +1 -0
- package/dist/components/SegmentedControls/SegmentedControls.d.ts +18 -0
- package/dist/components/SegmentedControls/SegmentedControls.js +48 -0
- package/dist/components/SegmentedControls/components/SegmentButton.d.ts +17 -0
- package/dist/components/SegmentedControls/components/SegmentButton.js +78 -0
- package/dist/components/SegmentedControls/index.d.ts +2 -0
- package/dist/components/SegmentedControls/index.js +2 -0
- package/dist/components/SelectField/Select.d.ts +582 -0
- package/dist/components/SelectField/Select.js +93 -0
- package/dist/components/SelectField/SelectField.d.ts +7 -0
- package/dist/components/SelectField/SelectField.js +4 -0
- package/dist/components/SelectField/index.d.ts +1 -0
- package/dist/components/SelectField/index.js +1 -0
- package/dist/components/SkeletonAnimation/SkeletonAnimation.d.ts +6 -0
- package/dist/components/SkeletonAnimation/SkeletonAnimation.js +30 -0
- package/dist/components/SkeletonAnimation/index.d.ts +1 -0
- package/dist/components/SkeletonAnimation/index.js +1 -0
- package/dist/components/SkeletonCTA/SkeletonCTA.d.ts +6 -0
- package/dist/components/SkeletonCTA/SkeletonCTA.js +11 -0
- package/dist/components/SkeletonCTA/index.d.ts +1 -0
- package/dist/components/SkeletonCTA/index.js +1 -0
- package/dist/components/SkeletonCircle/SkeletonCircle.d.ts +6 -0
- package/dist/components/SkeletonCircle/SkeletonCircle.js +12 -0
- package/dist/components/SkeletonCircle/index.d.ts +1 -0
- package/dist/components/SkeletonCircle/index.js +1 -0
- package/dist/components/SkeletonHeading/SkeletonHeading.d.ts +8 -0
- package/dist/components/SkeletonHeading/SkeletonHeading.js +9 -0
- package/dist/components/SkeletonHeading/index.d.ts +1 -0
- package/dist/components/SkeletonHeading/index.js +1 -0
- package/dist/components/SkeletonText/SkeletonText.d.ts +6 -0
- package/dist/components/SkeletonText/SkeletonText.js +27 -0
- package/dist/components/SkeletonText/index.d.ts +1 -0
- package/dist/components/SkeletonText/index.js +1 -0
- package/dist/components/Small/Small.d.ts +574 -0
- package/dist/components/Small/Small.js +8 -0
- package/dist/components/Small/index.d.ts +1 -0
- package/dist/components/Small/index.js +1 -0
- package/dist/components/Spinner/Spinner.d.ts +8 -0
- package/dist/components/Spinner/Spinner.js +43 -0
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/Spinner/index.js +1 -0
- package/dist/components/Stack/Stack.d.ts +9 -0
- package/dist/components/Stack/Stack.js +17 -0
- package/dist/components/Stack/index.d.ts +1 -0
- package/dist/components/Stack/index.js +1 -0
- package/dist/components/Stretch/Stretch.d.ts +7 -0
- package/dist/components/Stretch/Stretch.js +13 -0
- package/dist/components/Stretch/index.d.ts +1 -0
- package/dist/components/Stretch/index.js +1 -0
- package/dist/components/Strong/Strong.d.ts +565 -0
- package/dist/components/Strong/Strong.js +4 -0
- package/dist/components/Strong/index.d.ts +1 -0
- package/dist/components/Strong/index.js +1 -0
- package/dist/components/SubLabelText/SubLabelText.d.ts +575 -0
- package/dist/components/SubLabelText/SubLabelText.js +16 -0
- package/dist/components/SubLabelText/index.d.ts +1 -0
- package/dist/components/SubLabelText/index.js +1 -0
- package/dist/components/Tabs/Tab.d.ts +582 -0
- package/dist/components/Tabs/Tab.js +67 -0
- package/dist/components/Tabs/TabList.d.ts +10 -0
- package/dist/components/Tabs/TabList.js +21 -0
- package/dist/components/Tabs/TabPanel.d.ts +3 -0
- package/dist/components/Tabs/TabPanel.js +13 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -0
- package/dist/components/Tabs/Tabs.js +42 -0
- package/dist/components/Tabs/index.d.ts +4 -0
- package/dist/components/Tabs/index.js +4 -0
- package/dist/components/TextField/TextField.d.ts +5 -0
- package/dist/components/TextField/TextField.js +6 -0
- package/dist/components/TextField/index.d.ts +1 -0
- package/dist/components/TextField/index.js +1 -0
- package/dist/components/TextGroup/TextGroup.d.ts +3 -0
- package/dist/components/TextGroup/TextGroup.js +20 -0
- package/dist/components/TextGroup/index.d.ts +1 -0
- package/dist/components/TextGroup/index.js +1 -0
- package/dist/components/TextInput/TextInput.d.ts +8 -0
- package/dist/components/TextInput/TextInput.js +4 -0
- package/dist/components/TextInput/index.d.ts +1 -0
- package/dist/components/TextInput/index.js +1 -0
- package/dist/components/TextLink/TextLink.d.ts +8 -0
- package/dist/components/TextLink/TextLink.js +21 -0
- package/dist/components/TextLink/index.d.ts +1 -0
- package/dist/components/TextLink/index.js +1 -0
- package/dist/components/TextareaField/TextareaField.d.ts +5 -0
- package/dist/components/TextareaField/TextareaField.js +6 -0
- package/dist/components/TextareaField/index.d.ts +1 -0
- package/dist/components/TextareaField/index.js +1 -0
- package/dist/components/TextareaInput/TextareaInput.d.ts +6 -0
- package/dist/components/TextareaInput/TextareaInput.js +13 -0
- package/dist/components/TextareaInput/index.d.ts +1 -0
- package/dist/components/TextareaInput/index.js +1 -0
- package/dist/components/Toast/Toast.d.ts +13 -0
- package/dist/components/Toast/Toast.js +126 -0
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Toast/index.js +1 -0
- package/dist/components/Toggle/Toggle.d.ts +13 -0
- package/dist/components/Toggle/Toggle.js +25 -0
- package/dist/components/Toggle/index.d.ts +1 -0
- package/dist/components/Toggle/index.js +1 -0
- package/dist/components/Toggle/styles.d.ts +2272 -0
- package/dist/components/Toggle/styles.js +37 -0
- package/dist/components/index.d.ts +67 -0
- package/dist/components/index.js +67 -0
- package/dist/esm/components/Accordion/Accordion.js +65 -0
- package/dist/esm/components/Accordion/Group.js +15 -0
- package/dist/esm/components/Accordion/Icon.js +34 -0
- package/dist/esm/components/Accordion/index.js +3 -0
- package/dist/esm/components/Accordion/styles.js +45 -0
- package/dist/esm/components/Accordion/types.js +1 -0
- package/dist/esm/components/ActionCard/ActionCard.js +103 -0
- package/dist/esm/components/ActionCard/CloseIconShape.js +7 -0
- package/dist/esm/components/ActionCard/IndicatorIconShape.js +7 -0
- package/dist/esm/components/ActionCard/index.js +1 -0
- package/dist/esm/components/ActionList/ActionList.js +24 -0
- package/dist/esm/components/ActionList/index.js +1 -0
- package/dist/esm/components/ActionList/styled.js +58 -0
- package/dist/esm/components/Badge/Badge.js +52 -0
- package/dist/esm/components/Badge/index.js +1 -0
- package/dist/esm/components/CTAButton/CTAButton.js +81 -0
- package/dist/esm/components/CTAButton/index.js +1 -0
- package/dist/esm/components/CTALink/CTALink.js +6 -0
- package/dist/esm/components/CTALink/index.js +1 -0
- package/dist/esm/components/Card/Card.js +15 -0
- package/dist/esm/components/Card/index.js +1 -0
- package/dist/esm/components/Checkbox/Checkbox.js +58 -0
- package/dist/esm/components/Checkbox/CheckboxField.js +17 -0
- package/dist/esm/components/Checkbox/index.js +2 -0
- package/dist/esm/components/CurrencyField/CurrencyField.js +6 -0
- package/dist/esm/components/CurrencyField/index.js +1 -0
- package/dist/esm/components/CurrencyInput/CurrencyInput.js +11 -0
- package/dist/esm/components/CurrencyInput/index.js +1 -0
- package/dist/esm/components/DataTable/DataTable.js +19 -0
- package/dist/esm/components/DataTable/TableRow.js +21 -0
- package/dist/esm/components/DataTable/index.js +3 -0
- package/dist/esm/components/DataTable/styles.js +100 -0
- package/dist/esm/components/DataTable/types.js +1 -0
- package/dist/esm/components/DateField/DateField.js +68 -0
- package/dist/esm/components/DateField/index.js +1 -0
- package/dist/esm/components/DescriptionList/DescriptionList.js +12 -0
- package/dist/esm/components/DescriptionList/index.js +1 -0
- package/dist/esm/components/DescriptionList/styled.js +35 -0
- package/dist/esm/components/Disclosure/Disclosure.js +36 -0
- package/dist/esm/components/Disclosure/index.js +1 -0
- package/dist/esm/components/Display0/Display0.js +23 -0
- package/dist/esm/components/Display0/index.js +1 -0
- package/dist/esm/components/Display1/Display1.js +23 -0
- package/dist/esm/components/Display1/index.js +1 -0
- package/dist/esm/components/Display2/Display2.js +23 -0
- package/dist/esm/components/Display2/index.js +1 -0
- package/dist/esm/components/Display3/Display3.js +23 -0
- package/dist/esm/components/Display3/index.js +1 -0
- package/dist/esm/components/Divider/Divider.js +14 -0
- package/dist/esm/components/Divider/index.js +1 -0
- package/dist/esm/components/Em/Em.js +6 -0
- package/dist/esm/components/Em/index.js +1 -0
- package/dist/esm/components/EmailField/EmailField.js +6 -0
- package/dist/esm/components/EmailField/index.js +1 -0
- package/dist/esm/components/EmailInput/EmailInput.js +4 -0
- package/dist/esm/components/EmailInput/index.js +1 -0
- package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +23 -0
- package/dist/esm/components/ErrorSummaryNotification/index.js +1 -0
- package/dist/esm/components/ErrorText/ErrorText.js +18 -0
- package/dist/esm/components/ErrorText/index.js +1 -0
- package/dist/esm/components/Field/Field.js +38 -0
- package/dist/esm/components/Field/index.js +1 -0
- package/dist/esm/components/FilterSelect/FilterSelect.js +67 -0
- package/dist/esm/components/FilterSelect/index.js +1 -0
- package/dist/esm/components/FormGroup/FormGroup.js +9 -0
- package/dist/esm/components/FormGroup/index.js +1 -0
- package/dist/esm/components/Grid/Col.js +35 -0
- package/dist/esm/components/Grid/Row.js +35 -0
- package/dist/esm/components/Grid/index.js +2 -0
- package/dist/esm/components/Heading1/Heading1.js +23 -0
- package/dist/esm/components/Heading1/index.js +1 -0
- package/dist/esm/components/Heading2/Heading2.js +23 -0
- package/dist/esm/components/Heading2/index.js +1 -0
- package/dist/esm/components/Heading3/Heading3.js +23 -0
- package/dist/esm/components/Heading3/index.js +1 -0
- package/dist/esm/components/Heading4/Heading4.js +23 -0
- package/dist/esm/components/Heading4/index.js +1 -0
- package/dist/esm/components/HintText/HintText.js +18 -0
- package/dist/esm/components/HintText/index.js +1 -0
- package/dist/esm/components/Icon/Icon.js +13 -0
- package/dist/esm/components/Icon/index.js +1 -0
- package/dist/esm/components/Input/Input.js +78 -0
- package/dist/esm/components/Label/Label.js +10 -0
- package/dist/esm/components/Label/index.js +1 -0
- package/dist/esm/components/LabelText/LabelText.js +16 -0
- package/dist/esm/components/LabelText/index.js +1 -0
- package/dist/esm/components/Lead/Lead.js +12 -0
- package/dist/esm/components/Lead/index.js +1 -0
- package/dist/esm/components/LineThrough/LineThrough.js +4 -0
- package/dist/esm/components/LineThrough/index.js +1 -0
- package/dist/esm/components/List/List.js +26 -0
- package/dist/esm/components/List/index.js +1 -0
- package/dist/esm/components/List/styled.js +40 -0
- package/dist/esm/components/Margin/Margin.js +36 -0
- package/dist/esm/components/Margin/index.js +1 -0
- package/dist/esm/components/NavHeader/IconButton.js +13 -0
- package/dist/esm/components/NavHeader/NavHeader.js +43 -0
- package/dist/esm/components/NavHeader/NavHeader.styles.js +82 -0
- package/dist/esm/components/NavHeader/index.js +1 -0
- package/dist/esm/components/Notification/Notification.js +81 -0
- package/dist/esm/components/Notification/index.js +1 -0
- package/dist/esm/components/NumberField/NumberField.js +6 -0
- package/dist/esm/components/NumberField/index.js +1 -0
- package/dist/esm/components/NumberInput/NumberInput.js +4 -0
- package/dist/esm/components/NumberInput/index.js +1 -0
- package/dist/esm/components/P/P.js +14 -0
- package/dist/esm/components/P/index.js +1 -0
- package/dist/esm/components/PasswordField/PasswordField.js +6 -0
- package/dist/esm/components/PasswordField/index.js +1 -0
- package/dist/esm/components/PasswordInput/PasswordInput.js +8 -0
- package/dist/esm/components/PasswordInput/PasswordInput.styled.js +14 -0
- package/dist/esm/components/PasswordInput/PasswordVisibilityToggle.js +22 -0
- package/dist/esm/components/PasswordInput/index.js +1 -0
- package/dist/esm/components/PhoneField/PhoneField.js +6 -0
- package/dist/esm/components/PhoneField/index.js +1 -0
- package/dist/esm/components/PhoneInput/PhoneInput.js +3 -0
- package/dist/esm/components/PhoneInput/index.js +1 -0
- package/dist/esm/components/ProductCarousel/NavigationDots.js +48 -0
- package/dist/esm/components/ProductCarousel/ProductCarousel.js +81 -0
- package/dist/esm/components/ProductCarousel/anchor-point.js +43 -0
- package/dist/esm/components/ProductCarousel/index.js +1 -0
- package/dist/esm/components/Radio/Radio.js +52 -0
- package/dist/esm/components/Radio/RadioField.js +21 -0
- package/dist/esm/components/Radio/index.js +2 -0
- package/dist/esm/components/RadioCard/RadioCard.js +57 -0
- package/dist/esm/components/RadioCard/index.js +1 -0
- package/dist/esm/components/SegmentedControls/SegmentedControls.js +48 -0
- package/dist/esm/components/SegmentedControls/components/SegmentButton.js +78 -0
- package/dist/esm/components/SegmentedControls/index.js +2 -0
- package/dist/esm/components/SelectField/Select.js +93 -0
- package/dist/esm/components/SelectField/SelectField.js +4 -0
- package/dist/esm/components/SelectField/index.js +1 -0
- package/dist/esm/components/SkeletonAnimation/SkeletonAnimation.js +30 -0
- package/dist/esm/components/SkeletonAnimation/index.js +1 -0
- package/dist/esm/components/SkeletonCTA/SkeletonCTA.js +11 -0
- package/dist/esm/components/SkeletonCTA/index.js +1 -0
- package/dist/esm/components/SkeletonCircle/SkeletonCircle.js +12 -0
- package/dist/esm/components/SkeletonCircle/index.js +1 -0
- package/dist/esm/components/SkeletonHeading/SkeletonHeading.js +9 -0
- package/dist/esm/components/SkeletonHeading/index.js +1 -0
- package/dist/esm/components/SkeletonText/SkeletonText.js +27 -0
- package/dist/esm/components/SkeletonText/index.js +1 -0
- package/dist/esm/components/Small/Small.js +8 -0
- package/dist/esm/components/Small/index.js +1 -0
- package/dist/esm/components/Spinner/Spinner.js +43 -0
- package/dist/esm/components/Spinner/index.js +1 -0
- package/dist/esm/components/Stack/Stack.js +17 -0
- package/dist/esm/components/Stack/index.js +1 -0
- package/dist/esm/components/Stretch/Stretch.js +13 -0
- package/dist/esm/components/Stretch/index.js +1 -0
- package/dist/esm/components/Strong/Strong.js +4 -0
- package/dist/esm/components/Strong/index.js +1 -0
- package/dist/esm/components/SubLabelText/SubLabelText.js +16 -0
- package/dist/esm/components/SubLabelText/index.js +1 -0
- package/dist/esm/components/Tabs/Tab.js +67 -0
- package/dist/esm/components/Tabs/TabList.js +21 -0
- package/dist/esm/components/Tabs/TabPanel.js +13 -0
- package/dist/esm/components/Tabs/Tabs.js +42 -0
- package/dist/esm/components/Tabs/index.js +4 -0
- package/dist/esm/components/TextField/TextField.js +6 -0
- package/dist/esm/components/TextField/index.js +1 -0
- package/dist/esm/components/TextGroup/TextGroup.js +20 -0
- package/dist/esm/components/TextGroup/index.js +1 -0
- package/dist/esm/components/TextInput/TextInput.js +4 -0
- package/dist/esm/components/TextInput/index.js +1 -0
- package/dist/esm/components/TextLink/TextLink.js +21 -0
- package/dist/esm/components/TextLink/index.js +1 -0
- package/dist/esm/components/TextareaField/TextareaField.js +6 -0
- package/dist/esm/components/TextareaField/index.js +1 -0
- package/dist/esm/components/TextareaInput/TextareaInput.js +13 -0
- package/dist/esm/components/TextareaInput/index.js +1 -0
- package/dist/esm/components/Toast/Toast.js +126 -0
- package/dist/esm/components/Toast/index.js +1 -0
- package/dist/esm/components/Toggle/Toggle.js +25 -0
- package/dist/esm/components/Toggle/index.js +1 -0
- package/dist/esm/components/Toggle/styles.js +37 -0
- package/dist/esm/components/index.js +67 -0
- package/dist/esm/hooks/index.js +2 -0
- package/dist/esm/hooks/use-breakpoint.js +12 -0
- package/dist/esm/hooks/use-full-width.js +15 -0
- package/dist/esm/hooks/use-layout.js +16 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/providers/IconsProvider.js +112 -0
- package/dist/esm/providers/icons/Address.js +3 -0
- package/dist/esm/providers/icons/Advice.js +3 -0
- package/dist/esm/providers/icons/Archive.js +3 -0
- package/dist/esm/providers/icons/ArrowDown.js +3 -0
- package/dist/esm/providers/icons/ArrowLeft.js +3 -0
- package/dist/esm/providers/icons/ArrowRight.js +3 -0
- package/dist/esm/providers/icons/ArrowUp.js +3 -0
- package/dist/esm/providers/icons/Award.js +3 -0
- package/dist/esm/providers/icons/Battery.js +3 -0
- package/dist/esm/providers/icons/Cal.js +3 -0
- package/dist/esm/providers/icons/CalBook.js +3 -0
- package/dist/esm/providers/icons/CaretArrowDown.js +3 -0
- package/dist/esm/providers/icons/CaretArrowLeft.js +3 -0
- package/dist/esm/providers/icons/CaretArrowRight.js +3 -0
- package/dist/esm/providers/icons/CaretArrowUp.js +3 -0
- package/dist/esm/providers/icons/CaretDown.js +3 -0
- package/dist/esm/providers/icons/CaretLeft.js +3 -0
- package/dist/esm/providers/icons/CaretRight.js +3 -0
- package/dist/esm/providers/icons/CaretUp.js +3 -0
- package/dist/esm/providers/icons/Chart.js +3 -0
- package/dist/esm/providers/icons/ChartFilled.js +3 -0
- package/dist/esm/providers/icons/Check.js +3 -0
- package/dist/esm/providers/icons/CheckCircle.js +3 -0
- package/dist/esm/providers/icons/ChevronDown.js +3 -0
- package/dist/esm/providers/icons/ChevronLeft.js +3 -0
- package/dist/esm/providers/icons/ChevronLeftSmall.js +3 -0
- package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +3 -0
- package/dist/esm/providers/icons/ChevronRight.js +3 -0
- package/dist/esm/providers/icons/ChevronRightSmall.js +3 -0
- package/dist/esm/providers/icons/ChevronRightSmallLast.js +3 -0
- package/dist/esm/providers/icons/ChevronUp.js +3 -0
- package/dist/esm/providers/icons/Circle.js +3 -0
- package/dist/esm/providers/icons/CloseCircle.js +3 -0
- package/dist/esm/providers/icons/Cross.js +3 -0
- package/dist/esm/providers/icons/Doc.js +3 -0
- package/dist/esm/providers/icons/Dollar.js +3 -0
- package/dist/esm/providers/icons/Download.js +3 -0
- package/dist/esm/providers/icons/Eco.js +3 -0
- package/dist/esm/providers/icons/EcoHome.js +3 -0
- package/dist/esm/providers/icons/Edit.js +3 -0
- package/dist/esm/providers/icons/ElectricCar.js +3 -0
- package/dist/esm/providers/icons/ElectricHome.js +3 -0
- package/dist/esm/providers/icons/Electricity.js +3 -0
- package/dist/esm/providers/icons/EnergyAdvice.js +3 -0
- package/dist/esm/providers/icons/Equals.js +3 -0
- package/dist/esm/providers/icons/Euro.js +3 -0
- package/dist/esm/providers/icons/Gas.js +3 -0
- package/dist/esm/providers/icons/GlobeAddress.js +3 -0
- package/dist/esm/providers/icons/Help.js +3 -0
- package/dist/esm/providers/icons/HelpFilled.js +3 -0
- package/dist/esm/providers/icons/Hide.js +3 -0
- package/dist/esm/providers/icons/Home.js +3 -0
- package/dist/esm/providers/icons/HomeFilled.js +3 -0
- package/dist/esm/providers/icons/HydroPower.js +3 -0
- package/dist/esm/providers/icons/Info.js +3 -0
- package/dist/esm/providers/icons/Link.js +3 -0
- package/dist/esm/providers/icons/Logo.js +3 -0
- package/dist/esm/providers/icons/Mail.js +3 -0
- package/dist/esm/providers/icons/MailOpen.js +3 -0
- package/dist/esm/providers/icons/Menu.js +3 -0
- package/dist/esm/providers/icons/Message.js +3 -0
- package/dist/esm/providers/icons/MessageFilled.js +3 -0
- package/dist/esm/providers/icons/Minus.js +3 -0
- package/dist/esm/providers/icons/Mobile.js +3 -0
- package/dist/esm/providers/icons/NewWindow.js +3 -0
- package/dist/esm/providers/icons/PaymentCard.js +3 -0
- package/dist/esm/providers/icons/PaymentCardFilled.js +3 -0
- package/dist/esm/providers/icons/Phone.js +3 -0
- package/dist/esm/providers/icons/Plus.js +3 -0
- package/dist/esm/providers/icons/Pound.js +3 -0
- package/dist/esm/providers/icons/Pricing.js +3 -0
- package/dist/esm/providers/icons/PricingFilled.js +3 -0
- package/dist/esm/providers/icons/Search.js +3 -0
- package/dist/esm/providers/icons/Security.js +3 -0
- package/dist/esm/providers/icons/Shop.js +3 -0
- package/dist/esm/providers/icons/ShopFilled.js +3 -0
- package/dist/esm/providers/icons/Show.js +3 -0
- package/dist/esm/providers/icons/SmartHome.js +3 -0
- package/dist/esm/providers/icons/SmartMeter.js +3 -0
- package/dist/esm/providers/icons/Solar.js +3 -0
- package/dist/esm/providers/icons/Star.js +3 -0
- package/dist/esm/providers/icons/StarFilled.js +3 -0
- package/dist/esm/providers/icons/Sun.js +3 -0
- package/dist/esm/providers/icons/Torch.js +3 -0
- package/dist/esm/providers/icons/Trees.js +3 -0
- package/dist/esm/providers/icons/Tune.js +3 -0
- package/dist/esm/providers/icons/User.js +3 -0
- package/dist/esm/providers/icons/UserFilled.js +3 -0
- package/dist/esm/providers/icons/Wallet.js +3 -0
- package/dist/esm/providers/icons/WalletFilled.js +3 -0
- package/dist/esm/providers/icons/WarmHome.js +3 -0
- package/dist/esm/providers/icons/Warning.js +3 -0
- package/dist/esm/providers/icons/WebAddress.js +3 -0
- package/dist/esm/providers/icons/WindPower.js +3 -0
- package/dist/esm/providers/icons/index.js +93 -0
- package/dist/esm/providers/index.js +2 -0
- package/dist/esm/providers/types.js +1 -0
- package/dist/esm/src/components/{NavigationIcon/NavigationIcon.js → NavIcon/NavIcon.js} +1 -1
- package/dist/esm/src/components/NavIcon/index.js +1 -0
- package/dist/esm/src/components/index.js +1 -0
- package/dist/esm/styled.native.js +4 -0
- package/dist/esm/theme/index.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/utils.js +68 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/use-breakpoint.d.ts +7 -0
- package/dist/hooks/use-breakpoint.js +12 -0
- package/dist/hooks/use-full-width.d.ts +2 -0
- package/dist/hooks/use-full-width.js +15 -0
- package/dist/hooks/use-layout.d.ts +6 -0
- package/dist/hooks/use-layout.js +16 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/providers/IconsProvider.d.ts +8 -0
- package/dist/providers/IconsProvider.js +112 -0
- package/dist/providers/icons/Address.d.ts +2 -0
- package/dist/providers/icons/Address.js +3 -0
- package/dist/providers/icons/Advice.d.ts +2 -0
- package/dist/providers/icons/Advice.js +3 -0
- package/dist/providers/icons/Archive.d.ts +2 -0
- package/dist/providers/icons/Archive.js +3 -0
- package/dist/providers/icons/ArrowDown.d.ts +2 -0
- package/dist/providers/icons/ArrowDown.js +3 -0
- package/dist/providers/icons/ArrowLeft.d.ts +2 -0
- package/dist/providers/icons/ArrowLeft.js +3 -0
- package/dist/providers/icons/ArrowRight.d.ts +2 -0
- package/dist/providers/icons/ArrowRight.js +3 -0
- package/dist/providers/icons/ArrowUp.d.ts +2 -0
- package/dist/providers/icons/ArrowUp.js +3 -0
- package/dist/providers/icons/Award.d.ts +2 -0
- package/dist/providers/icons/Award.js +3 -0
- package/dist/providers/icons/Battery.d.ts +2 -0
- package/dist/providers/icons/Battery.js +3 -0
- package/dist/providers/icons/Cal.d.ts +2 -0
- package/dist/providers/icons/Cal.js +3 -0
- package/dist/providers/icons/CalBook.d.ts +2 -0
- package/dist/providers/icons/CalBook.js +3 -0
- package/dist/providers/icons/CaretArrowDown.d.ts +2 -0
- package/dist/providers/icons/CaretArrowDown.js +3 -0
- package/dist/providers/icons/CaretArrowLeft.d.ts +2 -0
- package/dist/providers/icons/CaretArrowLeft.js +3 -0
- package/dist/providers/icons/CaretArrowRight.d.ts +2 -0
- package/dist/providers/icons/CaretArrowRight.js +3 -0
- package/dist/providers/icons/CaretArrowUp.d.ts +2 -0
- package/dist/providers/icons/CaretArrowUp.js +3 -0
- package/dist/providers/icons/CaretDown.d.ts +2 -0
- package/dist/providers/icons/CaretDown.js +3 -0
- package/dist/providers/icons/CaretLeft.d.ts +2 -0
- package/dist/providers/icons/CaretLeft.js +3 -0
- package/dist/providers/icons/CaretRight.d.ts +2 -0
- package/dist/providers/icons/CaretRight.js +3 -0
- package/dist/providers/icons/CaretUp.d.ts +2 -0
- package/dist/providers/icons/CaretUp.js +3 -0
- package/dist/providers/icons/Chart.d.ts +2 -0
- package/dist/providers/icons/Chart.js +3 -0
- package/dist/providers/icons/ChartFilled.d.ts +2 -0
- package/dist/providers/icons/ChartFilled.js +3 -0
- package/dist/providers/icons/Check.d.ts +2 -0
- package/dist/providers/icons/Check.js +3 -0
- package/dist/providers/icons/CheckCircle.d.ts +2 -0
- package/dist/providers/icons/CheckCircle.js +3 -0
- package/dist/providers/icons/ChevronDown.d.ts +2 -0
- package/dist/providers/icons/ChevronDown.js +3 -0
- package/dist/providers/icons/ChevronLeft.d.ts +2 -0
- package/dist/providers/icons/ChevronLeft.js +3 -0
- package/dist/providers/icons/ChevronLeftSmall.d.ts +2 -0
- package/dist/providers/icons/ChevronLeftSmall.js +3 -0
- package/dist/providers/icons/ChevronLeftSmallFirst.d.ts +2 -0
- package/dist/providers/icons/ChevronLeftSmallFirst.js +3 -0
- package/dist/providers/icons/ChevronRight.d.ts +2 -0
- package/dist/providers/icons/ChevronRight.js +3 -0
- package/dist/providers/icons/ChevronRightSmall.d.ts +2 -0
- package/dist/providers/icons/ChevronRightSmall.js +3 -0
- package/dist/providers/icons/ChevronRightSmallLast.d.ts +2 -0
- package/dist/providers/icons/ChevronRightSmallLast.js +3 -0
- package/dist/providers/icons/ChevronUp.d.ts +2 -0
- package/dist/providers/icons/ChevronUp.js +3 -0
- package/dist/providers/icons/Circle.d.ts +2 -0
- package/dist/providers/icons/Circle.js +3 -0
- package/dist/providers/icons/CloseCircle.d.ts +2 -0
- package/dist/providers/icons/CloseCircle.js +3 -0
- package/dist/providers/icons/Cross.d.ts +2 -0
- package/dist/providers/icons/Cross.js +3 -0
- package/dist/providers/icons/Doc.d.ts +2 -0
- package/dist/providers/icons/Doc.js +3 -0
- package/dist/providers/icons/Dollar.d.ts +2 -0
- package/dist/providers/icons/Dollar.js +3 -0
- package/dist/providers/icons/Download.d.ts +2 -0
- package/dist/providers/icons/Download.js +3 -0
- package/dist/providers/icons/Eco.d.ts +2 -0
- package/dist/providers/icons/Eco.js +3 -0
- package/dist/providers/icons/EcoHome.d.ts +2 -0
- package/dist/providers/icons/EcoHome.js +3 -0
- package/dist/providers/icons/Edit.d.ts +2 -0
- package/dist/providers/icons/Edit.js +3 -0
- package/dist/providers/icons/ElectricCar.d.ts +2 -0
- package/dist/providers/icons/ElectricCar.js +3 -0
- package/dist/providers/icons/ElectricHome.d.ts +2 -0
- package/dist/providers/icons/ElectricHome.js +3 -0
- package/dist/providers/icons/Electricity.d.ts +2 -0
- package/dist/providers/icons/Electricity.js +3 -0
- package/dist/providers/icons/EnergyAdvice.d.ts +2 -0
- package/dist/providers/icons/EnergyAdvice.js +3 -0
- package/dist/providers/icons/Equals.d.ts +2 -0
- package/dist/providers/icons/Equals.js +3 -0
- package/dist/providers/icons/Euro.d.ts +2 -0
- package/dist/providers/icons/Euro.js +3 -0
- package/dist/providers/icons/Gas.d.ts +2 -0
- package/dist/providers/icons/Gas.js +3 -0
- package/dist/providers/icons/GlobeAddress.d.ts +2 -0
- package/dist/providers/icons/GlobeAddress.js +3 -0
- package/dist/providers/icons/Help.d.ts +2 -0
- package/dist/providers/icons/Help.js +3 -0
- package/dist/providers/icons/HelpFilled.d.ts +2 -0
- package/dist/providers/icons/HelpFilled.js +3 -0
- package/dist/providers/icons/Hide.d.ts +2 -0
- package/dist/providers/icons/Hide.js +3 -0
- package/dist/providers/icons/Home.d.ts +2 -0
- package/dist/providers/icons/Home.js +3 -0
- package/dist/providers/icons/HomeFilled.d.ts +2 -0
- package/dist/providers/icons/HomeFilled.js +3 -0
- package/dist/providers/icons/HydroPower.d.ts +2 -0
- package/dist/providers/icons/HydroPower.js +3 -0
- package/dist/providers/icons/Info.d.ts +2 -0
- package/dist/providers/icons/Info.js +3 -0
- package/dist/providers/icons/Link.d.ts +2 -0
- package/dist/providers/icons/Link.js +3 -0
- package/dist/providers/icons/Logo.d.ts +2 -0
- package/dist/providers/icons/Logo.js +3 -0
- package/dist/providers/icons/Mail.d.ts +2 -0
- package/dist/providers/icons/Mail.js +3 -0
- package/dist/providers/icons/MailOpen.d.ts +2 -0
- package/dist/providers/icons/MailOpen.js +3 -0
- package/dist/providers/icons/Menu.d.ts +2 -0
- package/dist/providers/icons/Menu.js +3 -0
- package/dist/providers/icons/Message.d.ts +2 -0
- package/dist/providers/icons/Message.js +3 -0
- package/dist/providers/icons/MessageFilled.d.ts +2 -0
- package/dist/providers/icons/MessageFilled.js +3 -0
- package/dist/providers/icons/Minus.d.ts +2 -0
- package/dist/providers/icons/Minus.js +3 -0
- package/dist/providers/icons/Mobile.d.ts +2 -0
- package/dist/providers/icons/Mobile.js +3 -0
- package/dist/providers/icons/NewWindow.d.ts +2 -0
- package/dist/providers/icons/NewWindow.js +3 -0
- package/dist/providers/icons/PaymentCard.d.ts +2 -0
- package/dist/providers/icons/PaymentCard.js +3 -0
- package/dist/providers/icons/PaymentCardFilled.d.ts +2 -0
- package/dist/providers/icons/PaymentCardFilled.js +3 -0
- package/dist/providers/icons/Phone.d.ts +2 -0
- package/dist/providers/icons/Phone.js +3 -0
- package/dist/providers/icons/Plus.d.ts +2 -0
- package/dist/providers/icons/Plus.js +3 -0
- package/dist/providers/icons/Pound.d.ts +2 -0
- package/dist/providers/icons/Pound.js +3 -0
- package/dist/providers/icons/Pricing.d.ts +2 -0
- package/dist/providers/icons/Pricing.js +3 -0
- package/dist/providers/icons/PricingFilled.d.ts +2 -0
- package/dist/providers/icons/PricingFilled.js +3 -0
- package/dist/providers/icons/Search.d.ts +2 -0
- package/dist/providers/icons/Search.js +3 -0
- package/dist/providers/icons/Security.d.ts +2 -0
- package/dist/providers/icons/Security.js +3 -0
- package/dist/providers/icons/Shop.d.ts +2 -0
- package/dist/providers/icons/Shop.js +3 -0
- package/dist/providers/icons/ShopFilled.d.ts +2 -0
- package/dist/providers/icons/ShopFilled.js +3 -0
- package/dist/providers/icons/Show.d.ts +2 -0
- package/dist/providers/icons/Show.js +3 -0
- package/dist/providers/icons/SmartHome.d.ts +2 -0
- package/dist/providers/icons/SmartHome.js +3 -0
- package/dist/providers/icons/SmartMeter.d.ts +2 -0
- package/dist/providers/icons/SmartMeter.js +3 -0
- package/dist/providers/icons/Solar.d.ts +2 -0
- package/dist/providers/icons/Solar.js +3 -0
- package/dist/providers/icons/Star.d.ts +2 -0
- package/dist/providers/icons/Star.js +3 -0
- package/dist/providers/icons/StarFilled.d.ts +2 -0
- package/dist/providers/icons/StarFilled.js +3 -0
- package/dist/providers/icons/Sun.d.ts +2 -0
- package/dist/providers/icons/Sun.js +3 -0
- package/dist/providers/icons/Torch.d.ts +2 -0
- package/dist/providers/icons/Torch.js +3 -0
- package/dist/providers/icons/Trees.d.ts +2 -0
- package/dist/providers/icons/Trees.js +3 -0
- package/dist/providers/icons/Tune.d.ts +2 -0
- package/dist/providers/icons/Tune.js +3 -0
- package/dist/providers/icons/User.d.ts +2 -0
- package/dist/providers/icons/User.js +3 -0
- package/dist/providers/icons/UserFilled.d.ts +2 -0
- package/dist/providers/icons/UserFilled.js +3 -0
- package/dist/providers/icons/Wallet.d.ts +2 -0
- package/dist/providers/icons/Wallet.js +3 -0
- package/dist/providers/icons/WalletFilled.d.ts +2 -0
- package/dist/providers/icons/WalletFilled.js +3 -0
- package/dist/providers/icons/WarmHome.d.ts +2 -0
- package/dist/providers/icons/WarmHome.js +3 -0
- package/dist/providers/icons/Warning.d.ts +2 -0
- package/dist/providers/icons/Warning.js +3 -0
- package/dist/providers/icons/WebAddress.d.ts +2 -0
- package/dist/providers/icons/WebAddress.js +3 -0
- package/dist/providers/icons/WindPower.d.ts +2 -0
- package/dist/providers/icons/WindPower.js +3 -0
- package/dist/providers/icons/index.d.ts +93 -0
- package/dist/providers/icons/index.js +93 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.js +2 -0
- package/dist/providers/types.d.ts +5 -0
- package/dist/providers/types.js +1 -0
- package/dist/src/components/{NavigationIcon/NavigationIcon.d.ts → NavIcon/NavIcon.d.ts} +2 -2
- package/dist/src/components/{NavigationIcon/NavigationIcon.js → NavIcon/NavIcon.js} +1 -1
- package/dist/src/components/NavIcon/index.d.ts +1 -0
- package/dist/src/components/NavIcon/index.js +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.js +1 -0
- package/dist/styled.native.d.ts +3388 -0
- package/dist/styled.native.js +4 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.js +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/utils.d.ts +15 -0
- package/dist/utils/utils.js +68 -0
- package/package.json +1 -1
- package/dist/esm/src/components/NavigationIcon/index.js +0 -1
- package/dist/src/components/NavigationIcon/index.d.ts +0 -1
- package/dist/src/components/NavigationIcon/index.js +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Star = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "m8 5.013.782 1.394.303.539.595.169 1.752.499-1.037.904-.642.56.153.839.279 1.529-1.553-.721L8 10.43l-.632.294-1.553.721.279-1.53.153-.838-.642-.56-1.037-.905 1.752-.498.595-.169.303-.54L8 5.014ZM8 1.95 5.91 5.672 1.5 6.925l3.118 2.723-.799 4.38L8 12.085l4.18 1.942-.798-4.38 3.118-2.72-4.41-1.255-2.09-3.723H8Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const StarFilled = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "M8 1.948v.001l2.089 3.722 4.41 1.255-3.118 2.72.799 4.38L8 12.085l-4.18 1.943.798-4.38L1.5 6.924l4.41-1.253L8 1.95h-.001H8Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Sun = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M8.75 1.5h-1.5v1.418h1.5V1.5Zm2.079 3.671A3.987 3.987 0 0 0 8 4a4 4 0 1 0 2.829 1.171ZM9.768 9.768c-.472.473-1.1.732-1.768.732-.667 0-1.295-.26-1.768-.732A2.484 2.484 0 0 1 5.5 8c0-.668.26-1.296.733-1.769A2.484 2.484 0 0 1 8.001 5.5c.667 0 1.295.26 1.768.731.472.473.732 1.1.732 1.769 0 .668-.26 1.295-.733 1.768ZM1.5 7.239h1.43v1.5H1.5v-1.5Zm5.75 5.821V14.5h1.5v-1.441h-1.5Zm5.82-5.82h1.43v1.5h-1.43v-1.5Zm-1.049-4.332-.966.966 1.061 1.06.966-.965-1.06-1.061Zm-9.103 1.06 1.06-1.06.967.966-1.061 1.06-.966-.966Zm.966 7.077-.966.966 1.061 1.06.966-.966-1.06-1.06Zm7.171 1.06 1.06-1.06.967.965-1.061 1.061-.966-.966Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Torch = (props) => (_jsxs(Svg, { viewBox: "0 0 16 16", ...props, children: [_jsx(Path, { fill: "currentColor", d: "M4.728 14V6.714L3.016 5.012 3 1h10v4.012L11.273 6.73v6.173l-1.5-.402L9.37 14H4.726ZM11.5 3.494V2.5H4.506l.004.994h6.99ZM9.773 12.5V6.105l.442-.44.675-.671H5.124l.66.656.442.44v6.41h3.547Z" }), _jsx(Path, { fill: "currentColor", d: "M7 10V8h2v2H7Z" })] }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Trees = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M9.755 2.7a3.093 3.093 0 0 1 3.043 2.542 3.093 3.093 0 0 1-2.047 5.785V14.5h-1.5v-2.877a3.093 3.093 0 0 1-2.565-5.456A3.093 3.093 0 0 1 9.755 2.7Zm1.218 6.836A1.595 1.595 0 0 0 13 8.003c0-.604-.336-1.149-.877-1.422l-.669-.337-.133-.737A1.589 1.589 0 0 0 9.755 4.2a1.595 1.595 0 0 0-1.58 1.787l.1.838-.664.522A1.585 1.585 0 0 0 7 8.599a1.595 1.595 0 0 0 2.25 1.453V7.89l1.5-.402v1.984l.223.063Zm-6.264.422.218-.18a3.71 3.71 0 0 0 1.472 1.945v2.788h-1.5v-2.96a2.543 2.543 0 0 1-2.424-4.397 2.543 2.543 0 0 1 3.662-2.582 3.689 3.689 0 0 0-.225 1.19l-.003.196-.135.14a.922.922 0 0 0-.011.012l-.011.012a1.043 1.043 0 0 0-1.788.851l.101.838-.664.521a1.045 1.045 0 1 0 1.308 1.626Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Tune = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "m4 1.485-1.5.405V4.5h-1V6H5V4.5H4V1.485Zm3.25.42 1.5-.405v8.75h1v1.5h-3.5v-1.5h1V1.905Zm1.5 12.19-1.5.405v-1.75h1.5v1.345Zm3.25.39 1.5-.405V9.75H12v4.735Zm-8-.405-1.5.405V7H4v7.08Zm9.5-12.595V7.25h1v1.5H11v-1.5h1V1.89l1.5-.405Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const User = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M11.255 4.756a3.255 3.255 0 1 1-6.51 0 3.255 3.255 0 0 1 6.51 0Zm-1.5 0C9.755 3.786 8.968 3 8 3c-.968 0-1.755.788-1.755 1.755 0 .968.787 1.756 1.755 1.756.968 0 1.755-.788 1.755-1.756ZM14.5 9.979v2.619l-1.5.401v-1.865L8 9.813l-5 1.321V13h9.999l.402 1.5H1.5V9.979L8 8.262l6.5 1.717Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const UserFilled = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M11.255 4.756a3.255 3.255 0 1 1-6.51 0 3.255 3.255 0 0 1 6.51 0ZM14.5 14.5V9.979L8 8.262 1.5 9.979V14.5h13Zm0 0L12.999 13H3h10v-.001l1.5 1.501Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Wallet = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M14.5 3.025v8.073L13 11.5V4.525H9.126l-.003.013-.049-.013H3V11.5h10l.402 1.5H1.5V3.025h1.651l.41-1.53 5.71 1.53H14.5Zm-4.38 4.447 1.438-.381.381 1.437-1.437.381-.382-1.437Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const WalletFilled = (props) => (_jsx(Svg, { viewBox: "0 0 21 20", ...props, children: _jsx(Path, { fill: "currentColor", d: "M18.325 3.781h-6.537L4.65 1.87 4.137 3.78H2.075V16.25h16.25V3.781ZM14.65 8.863l.475 1.793-1.794.475-.475-1.793 1.794-.475Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const WarmHome = (props) => (_jsxs(Svg, { viewBox: "0 0 16 16", ...props, children: [_jsx(Path, { fill: "currentColor", d: "m13 13 1.5-.402V5L8 1.5 1.5 5v9.5h11.902L13 13Zm0 0H3V5.896l5-2.692 5 2.692V13Z" }), _jsx(Path, { fill: "currentColor", d: "m9.604 11.804-.452-.599c-.406-.539-.928-1.878.004-3.091.497-.647-.024-1.444-.029-1.452L8.71 6.04l1.248-.833.416.623c.42.628.886 2.009-.029 3.199a.934.934 0 0 0-.179.855c.061.24.182.417.184.419l.451.598-1.197.903v.001ZM6.102 11.804l-.452-.599c-.405-.539-.928-1.878.004-3.091.498-.647-.023-1.444-.029-1.452L5.21 6.04l1.248-.833.416.623c.42.628.885 2.009-.029 3.199a.934.934 0 0 0-.179.855c.06.24.182.417.183.419l.452.598-1.198.903v.001Z" })] }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Warning = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M1.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0ZM3 8c0 2.757 2.243 5 5 5s5-2.243 5-5-2.243-5-5-5-5 2.243-5 5Zm5.56 1.275.35-4.87H7.09l.35 4.87h1.12Zm-.02.46-1.47.39.39 1.47 1.47-.39-.39-1.47Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const WebAddress = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "m11.644 10.805-.848.848-1.737-1.738-1.061-1.06-1.061 1.06-.244.244-1.41-4.873 4.885 1.399-.261.26-1.061 1.061 1.06 1.061 1.737 1.736.776-1.345-1.452-1.452 2.062-2.062-9.94-2.847 2.869 9.918 2.04-2.039 2.798 2.798 2.193-2.193-1.345-.776Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const WindPower = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "m9.548 8.401 3.674.029.344-.595-3.962-1.062A1.617 1.617 0 0 0 8.4 5.385v-.65L6.588 1.539h-.687l1.108 4.137a1.611 1.611 0 0 0-.592 1.585l-.555.32L4 10.748l.344.596 2.914-2.915-1.018 6.043h3.52L8.733 8.383c.13-.066.25-.15.356-.247l.458.264v.001Zm-2.125 5.072L8 10.048l.577 3.425H7.423ZM8.54 7.238a.614.614 0 0 1-.419.312l-.026.004a.613.613 0 1 1 .446-.316Z" }) }));
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export * from './Address';
|
|
2
|
+
export * from './Advice';
|
|
3
|
+
export * from './Archive';
|
|
4
|
+
export * from './ArrowDown';
|
|
5
|
+
export * from './ArrowLeft';
|
|
6
|
+
export * from './ArrowRight';
|
|
7
|
+
export * from './ArrowUp';
|
|
8
|
+
export * from './Award';
|
|
9
|
+
export * from './Battery';
|
|
10
|
+
export * from './CalBook';
|
|
11
|
+
export * from './Cal';
|
|
12
|
+
export * from './CaretArrowDown';
|
|
13
|
+
export * from './CaretArrowLeft';
|
|
14
|
+
export * from './CaretArrowRight';
|
|
15
|
+
export * from './CaretArrowUp';
|
|
16
|
+
export * from './CaretDown';
|
|
17
|
+
export * from './CaretLeft';
|
|
18
|
+
export * from './CaretRight';
|
|
19
|
+
export * from './CaretUp';
|
|
20
|
+
export * from './ChartFilled';
|
|
21
|
+
export * from './Chart';
|
|
22
|
+
export * from './CheckCircle';
|
|
23
|
+
export * from './Check';
|
|
24
|
+
export * from './ChevronDown';
|
|
25
|
+
export * from './ChevronLeftSmallFirst';
|
|
26
|
+
export * from './ChevronLeftSmall';
|
|
27
|
+
export * from './ChevronLeft';
|
|
28
|
+
export * from './ChevronRightSmallLast';
|
|
29
|
+
export * from './ChevronRightSmall';
|
|
30
|
+
export * from './ChevronRight';
|
|
31
|
+
export * from './ChevronUp';
|
|
32
|
+
export * from './Circle';
|
|
33
|
+
export * from './CloseCircle';
|
|
34
|
+
export * from './Cross';
|
|
35
|
+
export * from './Doc';
|
|
36
|
+
export * from './Dollar';
|
|
37
|
+
export * from './Download';
|
|
38
|
+
export * from './EcoHome';
|
|
39
|
+
export * from './Eco';
|
|
40
|
+
export * from './Edit';
|
|
41
|
+
export * from './ElectricCar';
|
|
42
|
+
export * from './ElectricHome';
|
|
43
|
+
export * from './Electricity';
|
|
44
|
+
export * from './EnergyAdvice';
|
|
45
|
+
export * from './Equals';
|
|
46
|
+
export * from './Euro';
|
|
47
|
+
export * from './Gas';
|
|
48
|
+
export * from './GlobeAddress';
|
|
49
|
+
export * from './HelpFilled';
|
|
50
|
+
export * from './Help';
|
|
51
|
+
export * from './Hide';
|
|
52
|
+
export * from './HomeFilled';
|
|
53
|
+
export * from './Home';
|
|
54
|
+
export * from './HydroPower';
|
|
55
|
+
export * from './Info';
|
|
56
|
+
export * from './Link';
|
|
57
|
+
export * from './Logo';
|
|
58
|
+
export * from './MailOpen';
|
|
59
|
+
export * from './Mail';
|
|
60
|
+
export * from './Menu';
|
|
61
|
+
export * from './MessageFilled';
|
|
62
|
+
export * from './Message';
|
|
63
|
+
export * from './Minus';
|
|
64
|
+
export * from './Mobile';
|
|
65
|
+
export * from './NewWindow';
|
|
66
|
+
export * from './PaymentCardFilled';
|
|
67
|
+
export * from './PaymentCard';
|
|
68
|
+
export * from './Phone';
|
|
69
|
+
export * from './Plus';
|
|
70
|
+
export * from './Pound';
|
|
71
|
+
export * from './PricingFilled';
|
|
72
|
+
export * from './Pricing';
|
|
73
|
+
export * from './Search';
|
|
74
|
+
export * from './Security';
|
|
75
|
+
export * from './ShopFilled';
|
|
76
|
+
export * from './Shop';
|
|
77
|
+
export * from './Show';
|
|
78
|
+
export * from './SmartHome';
|
|
79
|
+
export * from './SmartMeter';
|
|
80
|
+
export * from './Solar';
|
|
81
|
+
export * from './StarFilled';
|
|
82
|
+
export * from './Star';
|
|
83
|
+
export * from './Sun';
|
|
84
|
+
export * from './Torch';
|
|
85
|
+
export * from './Trees';
|
|
86
|
+
export * from './Tune';
|
|
87
|
+
export * from './UserFilled';
|
|
88
|
+
export * from './User';
|
|
89
|
+
export * from './Wallet';
|
|
90
|
+
export * from './WarmHome';
|
|
91
|
+
export * from './Warning';
|
|
92
|
+
export * from './WebAddress';
|
|
93
|
+
export * from './WindPower';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -23,7 +23,7 @@ const RedDotContainer = styled.View `
|
|
|
23
23
|
height: 0;
|
|
24
24
|
z-index: 1;
|
|
25
25
|
`;
|
|
26
|
-
export const
|
|
26
|
+
export const NavIcon = ({ label, iconName, focused, isStatusDotEnabled = false, onPress, size = 24, tintColor, style, accessibilityState, }) => {
|
|
27
27
|
const isFocused = focused ?? accessibilityState?.selected ?? false;
|
|
28
28
|
const testID = `${label.toLowerCase()}-tab`;
|
|
29
29
|
const theme = useTheme();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NavIcon } from './NavIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@ovotech/element-core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Children, } from 'react';
|
|
3
|
+
import { useBreakpoint } from '../hooks';
|
|
4
|
+
function mergeRefs(...refs) {
|
|
5
|
+
return value => {
|
|
6
|
+
refs.forEach(ref => {
|
|
7
|
+
assignRef(ref, value);
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function assignRef(ref, element) {
|
|
12
|
+
if (typeof ref === 'function') {
|
|
13
|
+
ref(element);
|
|
14
|
+
}
|
|
15
|
+
else if (ref) {
|
|
16
|
+
ref.current = element;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function getText(children) {
|
|
20
|
+
if (!Boolean(children) && typeof children !== 'number') {
|
|
21
|
+
return '';
|
|
22
|
+
}
|
|
23
|
+
if (typeof children === 'object' &&
|
|
24
|
+
children.props) {
|
|
25
|
+
return Children.map(children.props.children, child => getText(child)).join('');
|
|
26
|
+
}
|
|
27
|
+
return String(children);
|
|
28
|
+
}
|
|
29
|
+
function styledComponentWithBreakpoints(Component) {
|
|
30
|
+
return (props) => {
|
|
31
|
+
const breakpoints = useBreakpoint();
|
|
32
|
+
// @ts-ignore.
|
|
33
|
+
return _jsx(Component, { ...props, ...breakpoints, ref: props.ref });
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function responsiveStyle(property, value, breakpoints, formatter) {
|
|
37
|
+
let values;
|
|
38
|
+
if (Array.isArray(value)) {
|
|
39
|
+
values = value;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
values = [value];
|
|
43
|
+
}
|
|
44
|
+
const ascMediaQueries = [
|
|
45
|
+
breakpoints.smallAndUp,
|
|
46
|
+
breakpoints.mediumAndUp,
|
|
47
|
+
breakpoints.largeAndUp,
|
|
48
|
+
];
|
|
49
|
+
const [base, ...rest] = values;
|
|
50
|
+
return rest.reduce((acc, val, i) => ascMediaQueries[i]
|
|
51
|
+
? `${property}: ${formatter ? formatter(val) : val};`
|
|
52
|
+
: acc, `${property}: ${formatter ? formatter(base) : base};`);
|
|
53
|
+
}
|
|
54
|
+
function getErrorMessage(id, errors) {
|
|
55
|
+
return (errors.find(({ id: errorId }) => id === errorId) || { message: null })
|
|
56
|
+
.message;
|
|
57
|
+
}
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
59
|
+
function callAll(...fns) {
|
|
60
|
+
return (...args) => fns.forEach(fn => fn && fn(...args));
|
|
61
|
+
}
|
|
62
|
+
function filterChildrenByType(children, type) {
|
|
63
|
+
return Children.toArray(children).filter(child => child?.type === type);
|
|
64
|
+
}
|
|
65
|
+
function getValidChildren(children) {
|
|
66
|
+
return Children.toArray(children).filter(Boolean);
|
|
67
|
+
}
|
|
68
|
+
export { callAll, filterChildrenByType, getErrorMessage, getValidChildren, getText, mergeRefs, responsiveStyle, styledComponentWithBreakpoints, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useContext } from 'react';
|
|
2
|
+
import { useWindowDimensions } from 'react-native';
|
|
3
|
+
import { ThemeContext } from '../styled.native';
|
|
4
|
+
export const useBreakpoint = () => {
|
|
5
|
+
const { core: { breakpoint }, } = useContext(ThemeContext);
|
|
6
|
+
const { width } = useWindowDimensions();
|
|
7
|
+
return {
|
|
8
|
+
smallAndUp: width > Number(breakpoint.small),
|
|
9
|
+
mediumAndUp: width > Number(breakpoint.medium),
|
|
10
|
+
largeAndUp: width > Number(breakpoint.large),
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import { useBreakpoint } from './use-breakpoint';
|
|
3
|
+
export const useFullWidth = (fullWidth = 'small') => {
|
|
4
|
+
const [isFullWidth, setIsfullWidth] = useState(true);
|
|
5
|
+
const { smallAndUp } = useBreakpoint();
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
const values = {
|
|
8
|
+
small: !smallAndUp,
|
|
9
|
+
always: true,
|
|
10
|
+
never: false,
|
|
11
|
+
};
|
|
12
|
+
setIsfullWidth(values[fullWidth]);
|
|
13
|
+
}, [isFullWidth, smallAndUp, setIsfullWidth]);
|
|
14
|
+
return isFullWidth;
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useCallback, useState } from 'react';
|
|
2
|
+
export const useLayout = (defaultHeight) => {
|
|
3
|
+
const [layout, setLayout] = useState({ height: defaultHeight || 0, width: 0, measured: false });
|
|
4
|
+
const onLayout = useCallback((e) => {
|
|
5
|
+
const { height, width } = e.nativeEvent.layout;
|
|
6
|
+
if (height === layout.height && width === layout.width) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
setLayout({
|
|
10
|
+
height,
|
|
11
|
+
width,
|
|
12
|
+
measured: true,
|
|
13
|
+
});
|
|
14
|
+
}, [layout.height, layout.width]);
|
|
15
|
+
return [layout, onLayout];
|
|
16
|
+
};
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { IconsType } from './types';
|
|
3
|
+
declare const defaultIcons: IconsType;
|
|
4
|
+
declare function useIcons<T extends IconsType = string & object>(): IconsType & T;
|
|
5
|
+
declare function IconsProvider({ children, icons, }: PropsWithChildren<{
|
|
6
|
+
icons?: IconsType;
|
|
7
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { useIcons, IconsProvider, defaultIcons };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext } from 'react';
|
|
3
|
+
import { Address, Advice, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Award, Battery, CalBook, Cal, CaretArrowDown, CaretArrowLeft, CaretArrowRight, CaretArrowUp, CaretDown, CaretLeft, CaretRight, CaretUp, ChartFilled, Chart, CheckCircle, Check, ChevronDown, ChevronLeftSmallFirst, ChevronLeftSmall, ChevronLeft, ChevronRightSmallLast, ChevronRightSmall, ChevronRight, ChevronUp, Circle, CloseCircle, Cross, Doc, Dollar, Download, EcoHome, Eco, Edit, ElectricCar, ElectricHome, Electricity, EnergyAdvice, Equals, Euro, Gas, GlobeAddress, HelpFilled, Help, Hide, HomeFilled, Home, HydroPower, Info, Link, Logo, MailOpen, Mail, Menu, MessageFilled, Message, Minus, Mobile, NewWindow, PaymentCardFilled, PaymentCard, Phone, Plus, Pound, PricingFilled, Pricing, Search, Security, ShopFilled, Shop, Show, SmartHome, SmartMeter, Solar, StarFilled, Star, Sun, Torch, Trees, Tune, UserFilled, User, Wallet, WarmHome, Warning, WebAddress, WindPower, } from './icons';
|
|
4
|
+
const defaultIcons = {
|
|
5
|
+
address: Address,
|
|
6
|
+
advice: Advice,
|
|
7
|
+
archive: Archive,
|
|
8
|
+
'arrow-down': ArrowDown,
|
|
9
|
+
'arrow-left': ArrowLeft,
|
|
10
|
+
'arrow-right': ArrowRight,
|
|
11
|
+
'arrow-up': ArrowUp,
|
|
12
|
+
award: Award,
|
|
13
|
+
battery: Battery,
|
|
14
|
+
'cal-book': CalBook,
|
|
15
|
+
cal: Cal,
|
|
16
|
+
'caret-arrow-down': CaretArrowDown,
|
|
17
|
+
'caret-arrow-left': CaretArrowLeft,
|
|
18
|
+
'caret-arrow-right': CaretArrowRight,
|
|
19
|
+
'caret-arrow-up': CaretArrowUp,
|
|
20
|
+
'caret-down': CaretDown,
|
|
21
|
+
'caret-left': CaretLeft,
|
|
22
|
+
'caret-right': CaretRight,
|
|
23
|
+
'caret-up': CaretUp,
|
|
24
|
+
'chart-filled': ChartFilled,
|
|
25
|
+
chart: Chart,
|
|
26
|
+
'check-circle': CheckCircle,
|
|
27
|
+
check: Check,
|
|
28
|
+
'chevron-down': ChevronDown,
|
|
29
|
+
'chevron-left-small-first': ChevronLeftSmallFirst,
|
|
30
|
+
'chevron-left-small': ChevronLeftSmall,
|
|
31
|
+
'chevron-left': ChevronLeft,
|
|
32
|
+
'chevron-right-small-last': ChevronRightSmallLast,
|
|
33
|
+
'chevron-right-small': ChevronRightSmall,
|
|
34
|
+
'chevron-right': ChevronRight,
|
|
35
|
+
'chevron-up': ChevronUp,
|
|
36
|
+
circle: Circle,
|
|
37
|
+
'close-circle': CloseCircle,
|
|
38
|
+
cross: Cross,
|
|
39
|
+
doc: Doc,
|
|
40
|
+
dollar: Dollar,
|
|
41
|
+
download: Download,
|
|
42
|
+
'eco-home': EcoHome,
|
|
43
|
+
eco: Eco,
|
|
44
|
+
edit: Edit,
|
|
45
|
+
'electric-car': ElectricCar,
|
|
46
|
+
'electric-home': ElectricHome,
|
|
47
|
+
electricity: Electricity,
|
|
48
|
+
'energy-advice': EnergyAdvice,
|
|
49
|
+
equals: Equals,
|
|
50
|
+
euro: Euro,
|
|
51
|
+
gas: Gas,
|
|
52
|
+
'globe-address': GlobeAddress,
|
|
53
|
+
'help-filled': HelpFilled,
|
|
54
|
+
help: Help,
|
|
55
|
+
hide: Hide,
|
|
56
|
+
'home-filled': HomeFilled,
|
|
57
|
+
home: Home,
|
|
58
|
+
'hydro-power': HydroPower,
|
|
59
|
+
info: Info,
|
|
60
|
+
link: Link,
|
|
61
|
+
logo: Logo,
|
|
62
|
+
'mail-open': MailOpen,
|
|
63
|
+
mail: Mail,
|
|
64
|
+
menu: Menu,
|
|
65
|
+
'message-filled': MessageFilled,
|
|
66
|
+
message: Message,
|
|
67
|
+
minus: Minus,
|
|
68
|
+
mobile: Mobile,
|
|
69
|
+
'new-window': NewWindow,
|
|
70
|
+
'payment-card-filled': PaymentCardFilled,
|
|
71
|
+
'payment-card': PaymentCard,
|
|
72
|
+
phone: Phone,
|
|
73
|
+
plus: Plus,
|
|
74
|
+
pound: Pound,
|
|
75
|
+
'pricing-filled': PricingFilled,
|
|
76
|
+
pricing: Pricing,
|
|
77
|
+
search: Search,
|
|
78
|
+
security: Security,
|
|
79
|
+
'shop-filled': ShopFilled,
|
|
80
|
+
shop: Shop,
|
|
81
|
+
show: Show,
|
|
82
|
+
'smart-home': SmartHome,
|
|
83
|
+
'smart-meter': SmartMeter,
|
|
84
|
+
solar: Solar,
|
|
85
|
+
'star-filled': StarFilled,
|
|
86
|
+
star: Star,
|
|
87
|
+
sun: Sun,
|
|
88
|
+
torch: Torch,
|
|
89
|
+
trees: Trees,
|
|
90
|
+
tune: Tune,
|
|
91
|
+
'user-filled': UserFilled,
|
|
92
|
+
user: User,
|
|
93
|
+
wallet: Wallet,
|
|
94
|
+
'warm-home': WarmHome,
|
|
95
|
+
warning: Warning,
|
|
96
|
+
'web-address': WebAddress,
|
|
97
|
+
'wind-power': WindPower,
|
|
98
|
+
};
|
|
99
|
+
const IconsContext = createContext(null);
|
|
100
|
+
function useIcons() {
|
|
101
|
+
const icons = useContext(IconsContext) || defaultIcons;
|
|
102
|
+
return icons;
|
|
103
|
+
}
|
|
104
|
+
function IconsProvider({ children, icons = {}, }) {
|
|
105
|
+
const baseIcons = useContext(IconsContext) || defaultIcons;
|
|
106
|
+
const mergedIcons = {
|
|
107
|
+
...baseIcons,
|
|
108
|
+
...icons,
|
|
109
|
+
};
|
|
110
|
+
return (_jsx(IconsContext.Provider, { value: mergedIcons, children: children }));
|
|
111
|
+
}
|
|
112
|
+
export { useIcons, IconsProvider, defaultIcons };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Address = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M2.5 6.45C2.5 2.853 5.76 1.5 8 1.5s5.5 1.478 5.5 4.95C13.5 9.922 8 14.5 8 14.5s-5.5-4.454-5.5-8.05Zm7.145 4.313c.723-.835 1.295-1.623 1.697-2.34.43-.77.658-1.452.658-1.973 0-1.072-.437-1.936-1.297-2.568-.886-.65-1.958-.881-2.703-.881-.745 0-1.85.222-2.714.844C4.421 4.466 4 5.319 4 6.45c0 .624.305 2.02 2.349 4.353a24.081 24.081 0 0 0 1.64 1.686 25.59 25.59 0 0 0 1.656-1.726ZM7.09 5.385l1.437-.381.381 1.437-1.437.381-.381-1.437Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Advice = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "M14.5 5.5h-1.59c-.441-2.275-2.475-4-4.91-4s-4.469 1.725-4.91 4H1.5v5H5v-5h-.369C5.046 4.06 6.4 3 8 3c1.601 0 2.954 1.06 3.368 2.5H11v4.983h.502a2.757 2.757 0 0 1-1.99 2.42V12.2h-1.5v2.307h.75a4.256 4.256 0 0 0 4.244-4.024h1.495V5.498L14.5 5.5ZM3.5 9H3V7h.5v2Zm9-2h.5v1.983h-.5V7Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Archive = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M1.5 7V3h13v4h-.75v4.1l-1.5.402.402 1.498H2.25V7H1.5Zm2.25 4.5h8.5V7h-8.5v4.5ZM3 5.5h10v-1H3v1Zm4.09 3.222 1.438-.382.381 1.437-1.437.382-.381-1.438Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const ArrowDown = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "m9.051 13.402 3.62-3.62-.449-1.672-3.481 3.481V1.53l-1.5.402v9.659L3.766 8.117 3.318 9.79l3.612 3.612 1.06 1.06 1.061-1.06Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const ArrowLeft = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "m2.589 6.94 3.619-3.62 1.673.449L4.399 7.25H14.46l-.402 1.5H4.4l3.474 3.474-1.673.448L2.59 9.061 1.528 8l1.061-1.06Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const ArrowRight = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "M13.4 6.94 9.78 3.32l-1.672.449 3.481 3.481H1.528l.402 1.5h9.66l-3.474 3.474 1.673.448L13.4 9.061 14.46 8 13.4 6.94Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const ArrowUp = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "m6.938 2.59-3.62 3.62.449 1.673 3.482-3.482v10.062l1.5-.402V4.4l3.473 3.474.449-1.673-3.612-3.611-1.06-1.061-1.061 1.06Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Award = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M12.529 6.029c0 1.17-.443 2.235-1.17 3.039h-.001l1.901 5.341L8 12.991l-5.259 1.418L4.64 9.066a4.53 4.53 0 1 1 7.89-3.037Zm-1.5 0C11.029 4.36 9.67 3 7.999 3 6.33 3 4.97 4.402 4.97 6.03a3.033 3.033 0 0 0 2.903 3.026h.252A3.004 3.004 0 0 0 11.03 6.03Zm-3.78 4.467a4.498 4.498 0 0 1-1.363-.46l-.774 2.18 2.137-.576v-1.144Zm1.5 0v1.143l2.137.576-.775-2.178a4.487 4.487 0 0 1-1.362.459ZM7.09 5.501l1.438-.381.381 1.437-1.437.381-.382-1.437Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Battery = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M10 3h2v9.595l-1.5.402V4.5h-5V13h5v-.002l.402 1.502H4V3h2v-.75h4V3ZM6.617 6.615l1.85-.516v1.355l.916-.245-1.226 3.89-.62-1.822-.92.247V6.616Z", clipRule: "evenodd" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const Cal = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", d: "M14.5 11.098V3.025h-3.25V1.544h-1.5v1.48h-3.5v-1.48h-1.5v1.48H1.5V13h11.902L13 11.5H3V8h10v3.5l1.5-.402ZM3 6.5V4.525h1.75v.973l1.5-.402v-.571h3.5v.948l1.5-.403v-.545H13v1.976H3V6.5Z" }) }));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
export const CalBook = (props) => (_jsx(Svg, { viewBox: "0 0 16 16", ...props, children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M11.25 1.544v1.48h3.25v8.074L13 11.5l.402 1.5H9.9l1.5-1.5H13V8H3v3.5h1.612l1.5 1.5H1.5V3.025h3.25V1.544h1.5v1.48h3.5v-1.48h1.5ZM3 6.5h10V4.525h-1.75v.545l-1.5.403v-.948h-3.5v.57l-1.5.403v-.973H3V6.5Zm5.005 6.98L5.43 10.902 6.49 9.842l1.515 1.516 3.063-3.062 1.06 1.06-4.123 4.123Z", clipRule: "evenodd" }) }));
|