@ovotech/element-native 3.8.1 → 4.0.0-canary-a872093-246
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/components/package.json +6 -0
- package/dist/components/Accordion/Accordion.d.ts +2 -3
- package/dist/components/Accordion/Accordion.js +130 -97
- package/dist/components/Accordion/Group.js +21 -21
- package/dist/components/Accordion/Icon.js +60 -59
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Accordion/index.js +9 -19
- package/dist/components/Accordion/styles.d.ts +20 -2
- package/dist/components/Accordion/styles.js +59 -50
- package/dist/components/Accordion/types.d.ts +2 -2
- package/dist/components/Accordion/types.js +2 -1
- package/dist/components/ActionCard/ActionCard.d.ts +1 -1
- package/dist/components/ActionCard/ActionCard.js +104 -376
- package/dist/components/ActionCard/CloseIconShape.js +40 -14
- package/dist/components/ActionCard/IndicatorIconShape.js +40 -11
- package/dist/components/ActionCard/index.js +5 -185
- package/dist/components/ActionList/ActionList.d.ts +3 -4
- package/dist/components/ActionList/ActionList.js +56 -202
- package/dist/components/ActionList/index.js +6 -100
- package/dist/components/ActionList/styled.d.ts +523 -5
- package/dist/components/ActionList/styled.js +65 -152
- package/dist/components/Badge/Badge.d.ts +9 -3
- package/dist/components/Badge/Badge.js +96 -39
- package/dist/components/Badge/index.js +5 -8
- package/dist/components/CTAButton/CTAButton.d.ts +9 -8
- package/dist/components/CTAButton/CTAButton.js +118 -181
- package/dist/components/CTAButton/index.js +8 -100
- package/dist/components/CTALink/CTALink.d.ts +5 -5
- package/dist/components/CTALink/CTALink.js +22 -105
- package/dist/components/CTALink/index.js +7 -100
- package/dist/components/Card/Card.d.ts +7 -483
- package/dist/components/Card/Card.js +43 -17
- package/dist/components/Card/index.js +5 -7
- package/dist/components/Checkbox/Checkbox.js +78 -173
- package/dist/components/Checkbox/CheckboxField.d.ts +1 -1
- package/dist/components/Checkbox/CheckboxField.js +43 -39
- package/dist/components/Checkbox/index.js +7 -105
- package/dist/components/CurrencyField/CurrencyField.d.ts +1 -1
- package/dist/components/CurrencyField/CurrencyField.js +32 -109
- package/dist/components/CurrencyField/index.js +5 -108
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/dist/components/CurrencyInput/CurrencyInput.js +36 -118
- package/dist/components/CurrencyInput/index.d.ts +1 -1
- package/dist/components/CurrencyInput/index.js +5 -100
- package/dist/components/DataTable/DataTable.js +45 -62
- package/dist/components/DataTable/TableRow.js +35 -44
- package/dist/components/DataTable/index.js +20 -25
- package/dist/components/DataTable/styles.d.ts +78 -0
- package/dist/components/DataTable/styles.js +86 -119
- package/dist/components/DataTable/types.d.ts +4 -4
- package/dist/components/DataTable/types.js +2 -1
- package/dist/components/DateField/DateField.d.ts +3 -4
- package/dist/components/DateField/DateField.js +87 -229
- package/dist/components/DateField/index.js +5 -107
- package/dist/components/DescriptionList/DescriptionList.d.ts +2 -2
- package/dist/components/DescriptionList/DescriptionList.js +43 -25
- package/dist/components/DescriptionList/index.js +6 -13
- package/dist/components/DescriptionList/styled.d.ts +6 -0
- package/dist/components/DescriptionList/styled.js +85 -42
- package/dist/components/Disclosure/Disclosure.js +79 -153
- package/dist/components/Disclosure/index.js +16 -96
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.js +43 -12
- package/dist/components/Divider/index.js +5 -7
- package/dist/components/Em/Em.d.ts +6 -0
- package/dist/components/Em/Em.js +12 -8
- package/dist/components/Em/index.js +5 -6
- package/dist/components/EmailField/EmailField.d.ts +1 -1
- package/dist/components/EmailField/EmailField.js +32 -108
- package/dist/components/EmailField/index.js +5 -107
- package/dist/components/EmailInput/EmailInput.d.ts +1 -1
- package/dist/components/EmailInput/EmailInput.js +18 -106
- package/dist/components/EmailInput/index.js +5 -98
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +2 -2
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +50 -115
- package/dist/components/ErrorSummaryNotification/index.js +5 -104
- package/dist/components/ErrorText/ErrorText.d.ts +6 -0
- package/dist/components/ErrorText/ErrorText.js +42 -22
- package/dist/components/ErrorText/index.js +5 -11
- package/dist/components/Field/Field.d.ts +2 -2
- package/dist/components/Field/Field.js +58 -62
- package/dist/components/Field/index.js +16 -16
- package/dist/components/FilterSelect/FilterSelect.d.ts +2 -2
- package/dist/components/FilterSelect/FilterSelect.js +77 -201
- package/dist/components/FilterSelect/index.js +5 -102
- package/dist/components/FormGroup/FormGroup.d.ts +1 -1
- package/dist/components/FormGroup/FormGroup.js +42 -9
- package/dist/components/FormGroup/index.js +5 -8
- package/dist/components/Grid/Col.d.ts +7 -1
- package/dist/components/Grid/Col.js +58 -32
- package/dist/components/Grid/Row.d.ts +6 -0
- package/dist/components/Grid/Row.js +72 -34
- package/dist/components/Grid/index.js +7 -13
- package/dist/components/Heading1/Heading1.js +70 -36
- package/dist/components/Heading1/index.js +5 -10
- package/dist/components/Heading2/Heading2.js +70 -36
- package/dist/components/Heading2/index.js +5 -10
- package/dist/components/Heading3/Heading3.js +70 -36
- package/dist/components/Heading3/index.js +5 -10
- package/dist/components/Heading4/Heading4.js +70 -36
- package/dist/components/Heading4/index.js +5 -10
- package/dist/components/HintText/HintText.d.ts +6 -0
- package/dist/components/HintText/HintText.js +42 -22
- package/dist/components/HintText/index.js +5 -11
- package/dist/components/Icon/Icon.d.ts +2 -2
- package/dist/components/Icon/Icon.js +38 -103
- package/dist/components/Icon/index.js +5 -93
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +97 -198
- package/dist/components/Label/Label.js +50 -18
- package/dist/components/Label/index.js +5 -8
- package/dist/components/LabelText/LabelText.d.ts +6 -0
- package/dist/components/LabelText/LabelText.js +42 -20
- package/dist/components/LabelText/index.js +5 -11
- package/dist/components/Lead/Lead.js +52 -18
- package/dist/components/Lead/index.js +5 -8
- package/dist/components/LineThrough/LineThrough.d.ts +6 -0
- package/dist/components/LineThrough/LineThrough.js +12 -7
- package/dist/components/LineThrough/index.js +5 -6
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/List/List.js +32 -38
- package/dist/components/List/index.js +7 -16
- package/dist/components/List/styled.d.ts +25 -0
- package/dist/components/List/styled.js +52 -37
- package/dist/components/Margin/Margin.d.ts +8 -2
- package/dist/components/Margin/Margin.js +50 -68
- package/dist/components/Margin/index.js +5 -11
- package/dist/components/NavHeader/IconButton.d.ts +2 -2
- package/dist/components/NavHeader/IconButton.js +18 -119
- package/dist/components/NavHeader/NavHeader.d.ts +11 -3
- package/dist/components/NavHeader/NavHeader.js +65 -181
- package/dist/components/NavHeader/NavHeader.styles.d.ts +543 -7
- package/dist/components/NavHeader/NavHeader.styles.js +72 -81
- package/dist/components/NavHeader/index.d.ts +1 -1
- package/dist/components/NavHeader/index.js +5 -104
- package/dist/components/Notification/Notification.d.ts +14 -2
- package/dist/components/Notification/Notification.js +103 -190
- package/dist/components/Notification/index.js +9 -100
- package/dist/components/NumberField/NumberField.d.ts +1 -1
- package/dist/components/NumberField/NumberField.js +32 -108
- package/dist/components/NumberField/index.js +5 -107
- package/dist/components/NumberInput/NumberInput.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.js +18 -106
- package/dist/components/NumberInput/index.js +5 -98
- package/dist/components/P/P.js +54 -23
- package/dist/components/P/index.js +5 -10
- package/dist/components/PasswordField/PasswordField.d.ts +1 -1
- package/dist/components/PasswordField/PasswordField.js +32 -110
- package/dist/components/PasswordField/index.js +5 -109
- package/dist/components/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +33 -123
- package/dist/components/PasswordInput/PasswordInput.styled.d.ts +7 -1
- package/dist/components/PasswordInput/PasswordInput.styled.js +37 -18
- package/dist/components/PasswordInput/PasswordVisibilityToggle.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordVisibilityToggle.js +26 -128
- package/dist/components/PasswordInput/index.js +5 -100
- package/dist/components/PhoneField/PhoneField.d.ts +1 -1
- package/dist/components/PhoneField/PhoneField.js +32 -108
- package/dist/components/PhoneField/index.js +5 -107
- package/dist/components/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput/PhoneInput.js +17 -106
- package/dist/components/PhoneInput/index.js +5 -98
- package/dist/components/ProductCarousel/NavigationDots.js +74 -57
- package/dist/components/ProductCarousel/ProductCarousel.js +126 -2174
- package/dist/components/ProductCarousel/anchor-point.js +51 -31
- package/dist/components/ProductCarousel/index.js +5 -101
- package/dist/components/Radio/Radio.js +67 -69
- package/dist/components/Radio/RadioField.d.ts +1 -1
- package/dist/components/Radio/RadioField.js +47 -46
- package/dist/components/Radio/index.js +7 -18
- package/dist/components/RadioCard/RadioCard.js +71 -68
- package/dist/components/RadioCard/index.js +5 -13
- package/dist/components/SelectField/Select.d.ts +8 -2
- package/dist/components/SelectField/Select.js +93 -852
- package/dist/components/SelectField/SelectField.d.ts +1 -1
- package/dist/components/SelectField/SelectField.js +32 -125
- package/dist/components/SelectField/index.js +5 -108
- package/dist/components/SkeletonAnimation/SkeletonAnimation.js +34 -47
- package/dist/components/SkeletonAnimation/index.js +5 -7
- package/dist/components/SkeletonCTA/SkeletonCTA.d.ts +1 -1
- package/dist/components/SkeletonCTA/SkeletonCTA.js +41 -17
- package/dist/components/SkeletonCTA/index.js +5 -12
- package/dist/components/SkeletonCircle/SkeletonCircle.d.ts +1 -1
- package/dist/components/SkeletonCircle/SkeletonCircle.js +44 -16
- package/dist/components/SkeletonCircle/index.js +5 -10
- package/dist/components/SkeletonHeading/SkeletonHeading.d.ts +1 -1
- package/dist/components/SkeletonHeading/SkeletonHeading.js +40 -29
- package/dist/components/SkeletonHeading/index.js +5 -12
- package/dist/components/SkeletonText/SkeletonText.d.ts +1 -1
- package/dist/components/SkeletonText/SkeletonText.js +50 -33
- package/dist/components/SkeletonText/index.js +5 -12
- package/dist/components/Small/Small.d.ts +6 -0
- package/dist/components/Small/Small.js +38 -17
- package/dist/components/Small/index.js +5 -11
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/Spinner/Spinner.js +68 -61
- package/dist/components/Spinner/index.js +5 -9
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/Stack.js +48 -30
- package/dist/components/Stack/index.js +5 -11
- package/dist/components/Stretch/Stretch.d.ts +1 -1
- package/dist/components/Stretch/Stretch.js +55 -11
- package/dist/components/Stretch/index.js +16 -8
- package/dist/components/Strong/Strong.d.ts +6 -0
- package/dist/components/Strong/Strong.js +10 -9
- package/dist/components/Strong/index.js +5 -6
- package/dist/components/SubLabelText/SubLabelText.d.ts +6 -0
- package/dist/components/SubLabelText/SubLabelText.js +42 -20
- package/dist/components/SubLabelText/index.js +5 -11
- package/dist/components/Tabs/Tab.d.ts +1 -2
- package/dist/components/Tabs/Tab.js +76 -60
- package/dist/components/Tabs/TabList.d.ts +2 -2
- package/dist/components/Tabs/TabList.js +77 -37
- package/dist/components/Tabs/TabPanel.js +64 -15
- package/dist/components/Tabs/Tabs.d.ts +2 -3
- package/dist/components/Tabs/Tabs.js +97 -46
- package/dist/components/Tabs/index.js +11 -19
- package/dist/components/TextField/TextField.d.ts +1 -1
- package/dist/components/TextField/TextField.js +32 -108
- package/dist/components/TextField/index.js +5 -107
- package/dist/components/TextGroup/TextGroup.js +40 -23
- package/dist/components/TextGroup/index.js +5 -7
- package/dist/components/TextInput/TextInput.d.ts +1 -1
- package/dist/components/TextInput/TextInput.js +18 -97
- package/dist/components/TextInput/index.js +5 -98
- package/dist/components/TextLink/TextLink.js +74 -118
- package/dist/components/TextLink/index.js +5 -97
- package/dist/components/TextareaField/TextareaField.d.ts +1 -1
- package/dist/components/TextareaField/TextareaField.js +32 -108
- package/dist/components/TextareaField/index.js +5 -107
- package/dist/components/TextareaInput/TextareaInput.d.ts +2 -2
- package/dist/components/TextareaInput/TextareaInput.js +65 -114
- package/dist/components/TextareaInput/index.d.ts +1 -1
- package/dist/components/TextareaInput/index.js +5 -98
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/components/Toast/Toast.js +159 -730
- package/dist/components/Toast/index.js +6 -105
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/Toggle/Toggle.js +55 -73
- package/dist/components/Toggle/index.js +5 -14
- package/dist/components/Toggle/styles.d.ts +25 -1
- package/dist/components/Toggle/styles.js +28 -38
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.js +77 -296
- package/dist/esm/components/Accordion/Accordion.js +106 -0
- package/dist/esm/components/Accordion/Group.js +18 -0
- package/dist/esm/components/Accordion/Icon.js +35 -0
- package/dist/esm/components/Accordion/index.js +3 -0
- package/dist/esm/components/Accordion/styles.js +31 -0
- package/dist/esm/components/ActionCard/ActionCard.js +77 -0
- package/dist/esm/components/ActionCard/CloseIconShape.js +11 -0
- package/dist/esm/components/ActionCard/IndicatorIconShape.js +11 -0
- package/dist/esm/components/ActionCard/index.js +1 -0
- package/dist/esm/components/ActionList/ActionList.js +54 -0
- package/dist/esm/components/ActionList/index.js +1 -0
- package/dist/esm/components/ActionList/styled.js +40 -0
- package/dist/esm/components/Badge/Badge.js +70 -0
- package/dist/esm/components/Badge/index.js +1 -0
- package/dist/esm/components/CTAButton/CTAButton.js +90 -0
- package/dist/esm/components/CTAButton/index.js +1 -0
- package/dist/esm/components/CTALink/CTALink.js +18 -0
- package/dist/esm/components/CTALink/index.js +1 -0
- package/dist/esm/components/Card/Card.js +37 -0
- package/dist/esm/components/Card/index.js +1 -0
- package/dist/esm/components/Checkbox/Checkbox.js +74 -0
- package/dist/esm/components/Checkbox/CheckboxField.js +42 -0
- package/dist/esm/components/Checkbox/index.js +2 -0
- package/dist/esm/components/CurrencyField/CurrencyField.js +30 -0
- package/dist/esm/components/CurrencyField/index.js +1 -0
- package/dist/esm/components/CurrencyInput/CurrencyInput.js +34 -0
- package/dist/esm/components/CurrencyInput/index.js +1 -0
- package/dist/esm/components/DataTable/DataTable.js +43 -0
- package/dist/esm/components/DataTable/TableRow.js +33 -0
- package/dist/esm/components/DataTable/index.js +3 -0
- package/dist/esm/components/DataTable/styles.js +61 -0
- package/dist/esm/components/DataTable/types.js +1 -0
- package/dist/esm/components/DateField/DateField.js +63 -0
- package/dist/esm/components/DateField/index.js +1 -0
- package/dist/esm/components/DescriptionList/DescriptionList.js +40 -0
- package/dist/esm/components/DescriptionList/index.js +1 -0
- package/dist/esm/components/DescriptionList/styled.js +58 -0
- package/dist/esm/components/Disclosure/Disclosure.js +55 -0
- package/dist/esm/components/Disclosure/index.js +1 -0
- package/dist/esm/components/Divider/Divider.js +17 -0
- package/dist/esm/components/Divider/index.js +1 -0
- package/dist/esm/components/Em/Em.js +7 -0
- package/dist/esm/components/Em/index.js +1 -0
- package/dist/esm/components/EmailField/EmailField.js +30 -0
- package/dist/esm/components/EmailField/index.js +1 -0
- package/dist/esm/components/EmailInput/EmailInput.js +16 -0
- package/dist/esm/components/EmailInput/index.js +1 -0
- package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +49 -0
- package/dist/esm/components/ErrorSummaryNotification/index.js +1 -0
- package/dist/esm/components/ErrorText/ErrorText.js +17 -0
- package/dist/esm/components/ErrorText/index.js +1 -0
- package/dist/esm/components/Field/Field.js +58 -0
- package/dist/esm/components/Field/index.js +1 -0
- package/dist/esm/components/FilterSelect/FilterSelect.js +52 -0
- package/dist/esm/components/FilterSelect/index.js +1 -0
- package/dist/esm/components/FormGroup/FormGroup.js +37 -0
- package/dist/esm/components/FormGroup/index.js +1 -0
- package/dist/esm/components/Grid/Col.js +33 -0
- package/dist/esm/components/Grid/Row.js +47 -0
- package/dist/esm/components/Grid/index.js +2 -0
- package/dist/esm/components/Heading1/Heading1.js +46 -0
- package/dist/esm/components/Heading1/index.js +1 -0
- package/dist/esm/components/Heading2/Heading2.js +46 -0
- package/dist/esm/components/Heading2/index.js +1 -0
- package/dist/esm/components/Heading3/Heading3.js +46 -0
- package/dist/esm/components/Heading3/index.js +1 -0
- package/dist/esm/components/Heading4/Heading4.js +46 -0
- package/dist/esm/components/Heading4/index.js +1 -0
- package/dist/esm/components/HintText/HintText.js +17 -0
- package/dist/esm/components/HintText/index.js +1 -0
- package/dist/esm/components/Icon/Icon.js +36 -0
- package/dist/esm/components/Icon/index.js +1 -0
- package/dist/esm/components/Input/Input.js +74 -0
- package/dist/esm/components/Label/Label.js +25 -0
- package/dist/esm/components/Label/index.js +1 -0
- package/dist/esm/components/LabelText/LabelText.js +17 -0
- package/dist/esm/components/LabelText/index.js +1 -0
- package/dist/esm/components/Lead/Lead.js +27 -0
- package/dist/esm/components/Lead/index.js +1 -0
- package/dist/esm/components/LineThrough/LineThrough.js +7 -0
- package/dist/esm/components/LineThrough/index.js +1 -0
- package/dist/esm/components/List/List.js +29 -0
- package/dist/esm/components/List/index.js +1 -0
- package/dist/esm/components/List/styled.js +27 -0
- package/dist/esm/components/Margin/Margin.js +46 -0
- package/dist/esm/components/Margin/index.js +1 -0
- package/dist/esm/components/NavHeader/IconButton.js +16 -0
- package/dist/esm/components/NavHeader/NavHeader.js +42 -0
- package/dist/esm/components/NavHeader/NavHeader.styles.js +44 -0
- package/dist/esm/components/NavHeader/index.js +1 -0
- package/dist/esm/components/Notification/Notification.js +78 -0
- package/dist/esm/components/Notification/index.js +1 -0
- package/dist/esm/components/NumberField/NumberField.js +30 -0
- package/dist/esm/components/NumberField/index.js +1 -0
- package/dist/esm/components/NumberInput/NumberInput.js +16 -0
- package/dist/esm/components/NumberInput/index.js +1 -0
- package/dist/esm/components/P/P.js +29 -0
- package/dist/esm/components/P/index.js +1 -0
- package/dist/esm/components/PasswordField/PasswordField.js +30 -0
- package/dist/esm/components/PasswordField/index.js +1 -0
- package/dist/esm/components/PasswordInput/PasswordInput.js +32 -0
- package/dist/esm/components/PasswordInput/PasswordInput.styled.js +12 -0
- package/dist/esm/components/PasswordInput/PasswordVisibilityToggle.js +23 -0
- package/dist/esm/components/PasswordInput/index.js +1 -0
- package/dist/esm/components/PhoneField/PhoneField.js +30 -0
- package/dist/esm/components/PhoneField/index.js +1 -0
- package/dist/esm/components/PhoneInput/PhoneInput.js +15 -0
- package/dist/esm/components/PhoneInput/index.js +1 -0
- package/dist/esm/components/ProductCarousel/NavigationDots.js +50 -0
- package/dist/esm/components/ProductCarousel/ProductCarousel.js +98 -0
- package/dist/esm/components/ProductCarousel/anchor-point.js +49 -0
- package/dist/esm/components/ProductCarousel/index.js +1 -0
- package/dist/esm/components/Radio/Radio.js +62 -0
- package/dist/esm/components/Radio/RadioField.js +46 -0
- package/dist/esm/components/Radio/index.js +2 -0
- package/dist/esm/components/RadioCard/RadioCard.js +66 -0
- package/dist/esm/components/RadioCard/index.js +1 -0
- package/dist/esm/components/SelectField/Select.js +66 -0
- package/dist/esm/components/SelectField/SelectField.js +29 -0
- package/dist/esm/components/SelectField/index.js +1 -0
- package/dist/esm/components/SkeletonAnimation/SkeletonAnimation.js +31 -0
- package/dist/esm/components/SkeletonAnimation/index.js +1 -0
- package/dist/esm/components/SkeletonCTA/SkeletonCTA.js +35 -0
- package/dist/esm/components/SkeletonCTA/index.js +1 -0
- package/dist/esm/components/SkeletonCircle/SkeletonCircle.js +38 -0
- package/dist/esm/components/SkeletonCircle/index.js +1 -0
- package/dist/esm/components/SkeletonHeading/SkeletonHeading.js +34 -0
- package/dist/esm/components/SkeletonHeading/index.js +1 -0
- package/dist/esm/components/SkeletonText/SkeletonText.js +45 -0
- package/dist/esm/components/SkeletonText/index.js +1 -0
- package/dist/esm/components/Small/Small.js +13 -0
- package/dist/esm/components/Small/index.js +1 -0
- package/dist/esm/components/Spinner/Spinner.js +44 -0
- package/dist/esm/components/Spinner/index.js +1 -0
- package/dist/esm/components/Stack/Stack.js +43 -0
- package/dist/esm/components/Stack/index.js +1 -0
- package/dist/esm/components/Stretch/Stretch.js +29 -0
- package/dist/esm/components/Stretch/index.js +1 -0
- package/dist/esm/components/Strong/Strong.js +5 -0
- package/dist/esm/components/Strong/index.js +1 -0
- package/dist/esm/components/SubLabelText/SubLabelText.js +17 -0
- package/dist/esm/components/SubLabelText/index.js +1 -0
- package/dist/esm/components/Tabs/Tab.js +53 -0
- package/dist/esm/components/Tabs/TabList.js +51 -0
- package/dist/esm/components/Tabs/TabPanel.js +38 -0
- package/dist/esm/components/Tabs/Tabs.js +72 -0
- package/dist/esm/components/Tabs/index.js +4 -0
- package/dist/esm/components/TextField/TextField.js +30 -0
- package/dist/esm/components/TextField/index.js +1 -0
- package/dist/esm/components/TextGroup/TextGroup.js +39 -0
- package/dist/esm/components/TextGroup/index.js +1 -0
- package/dist/esm/components/TextInput/TextInput.js +16 -0
- package/dist/esm/components/TextInput/index.js +1 -0
- package/dist/esm/components/TextLink/TextLink.js +49 -0
- package/dist/esm/components/TextLink/index.js +1 -0
- package/dist/esm/components/TextareaField/TextareaField.js +30 -0
- package/dist/esm/components/TextareaField/index.js +1 -0
- package/dist/esm/components/TextareaInput/TextareaInput.js +41 -0
- package/dist/esm/components/TextareaInput/index.js +1 -0
- package/dist/esm/components/Toast/Toast.js +141 -0
- package/dist/esm/components/Toast/index.js +1 -0
- package/dist/esm/components/Toggle/Toggle.js +53 -0
- package/dist/esm/components/Toggle/index.js +1 -0
- package/dist/esm/components/Toggle/styles.js +23 -0
- package/dist/esm/components/index.js +62 -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 +16 -0
- package/dist/esm/hooks/use-layout.js +16 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/providers/IconsProvider.js +115 -0
- package/dist/esm/providers/icons/Address.js +14 -0
- package/dist/esm/providers/icons/Advice.js +14 -0
- package/dist/esm/providers/icons/Archive.js +14 -0
- package/dist/esm/providers/icons/ArrowDown.js +14 -0
- package/dist/esm/providers/icons/ArrowLeft.js +14 -0
- package/dist/esm/providers/icons/ArrowRight.js +14 -0
- package/dist/esm/providers/icons/ArrowUp.js +14 -0
- package/dist/esm/providers/icons/Award.js +14 -0
- package/dist/esm/providers/icons/Battery.js +14 -0
- package/dist/esm/providers/icons/Cal.js +14 -0
- package/dist/esm/providers/icons/CalBook.js +14 -0
- package/dist/esm/providers/icons/CaretDown.js +14 -0
- package/dist/esm/providers/icons/CaretLeft.js +14 -0
- package/dist/esm/providers/icons/CaretRight.js +14 -0
- package/dist/esm/providers/icons/CaretUp.js +14 -0
- package/dist/esm/providers/icons/Chart.js +14 -0
- package/dist/esm/providers/icons/ChartFilled.js +14 -0
- package/dist/esm/providers/icons/Check.js +14 -0
- package/dist/esm/providers/icons/CheckCircle.js +14 -0
- package/dist/esm/providers/icons/ChevronDown.js +14 -0
- package/dist/esm/providers/icons/ChevronLeft.js +14 -0
- package/dist/esm/providers/icons/ChevronLeftSmall.js +14 -0
- package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +14 -0
- package/dist/esm/providers/icons/ChevronRight.js +14 -0
- package/dist/esm/providers/icons/ChevronRightSmall.js +14 -0
- package/dist/esm/providers/icons/ChevronRightSmallLast.js +14 -0
- package/dist/esm/providers/icons/ChevronUp.js +14 -0
- package/dist/esm/providers/icons/Circle.js +14 -0
- package/dist/esm/providers/icons/CloseCircle.js +14 -0
- package/dist/esm/providers/icons/Cross.js +14 -0
- package/dist/esm/providers/icons/Doc.js +14 -0
- package/dist/esm/providers/icons/Dollar.js +14 -0
- package/dist/esm/providers/icons/Download.js +14 -0
- package/dist/esm/providers/icons/Eco.js +14 -0
- package/dist/esm/providers/icons/EcoHome.js +14 -0
- package/dist/esm/providers/icons/Edit.js +14 -0
- package/dist/esm/providers/icons/ElectricCar.js +14 -0
- package/dist/esm/providers/icons/ElectricHome.js +14 -0
- package/dist/esm/providers/icons/Electricity.js +14 -0
- package/dist/esm/providers/icons/EnergyAdvice.js +14 -0
- package/dist/esm/providers/icons/Equals.js +14 -0
- package/dist/esm/providers/icons/Euro.js +14 -0
- package/dist/esm/providers/icons/Gas.js +14 -0
- package/dist/esm/providers/icons/GlobeAddress.js +14 -0
- package/dist/esm/providers/icons/Help.js +14 -0
- package/dist/esm/providers/icons/HelpFilled.js +14 -0
- package/dist/esm/providers/icons/Hide.js +14 -0
- package/dist/esm/providers/icons/Home.js +14 -0
- package/dist/esm/providers/icons/HomeFilled.js +14 -0
- package/dist/esm/providers/icons/HydroPower.js +14 -0
- package/dist/esm/providers/icons/Info.js +14 -0
- package/dist/esm/providers/icons/Link.js +14 -0
- package/dist/esm/providers/icons/Logo.js +14 -0
- package/dist/esm/providers/icons/Mail.js +14 -0
- package/dist/esm/providers/icons/MailOpen.js +14 -0
- package/dist/esm/providers/icons/Menu.js +14 -0
- package/dist/esm/providers/icons/Message.js +14 -0
- package/dist/esm/providers/icons/MessageFilled.js +14 -0
- package/dist/esm/providers/icons/Minus.js +14 -0
- package/dist/esm/providers/icons/Mobile.js +14 -0
- package/dist/esm/providers/icons/NewWindow.js +14 -0
- package/dist/esm/providers/icons/PaymentCard.js +14 -0
- package/dist/esm/providers/icons/PaymentCardFilled.js +14 -0
- package/dist/esm/providers/icons/Phone.js +14 -0
- package/dist/esm/providers/icons/Plus.js +14 -0
- package/dist/esm/providers/icons/Pound.js +14 -0
- package/dist/esm/providers/icons/Pricing.js +14 -0
- package/dist/esm/providers/icons/Search.js +14 -0
- package/dist/esm/providers/icons/Security.js +14 -0
- package/dist/esm/providers/icons/Show.js +14 -0
- package/dist/esm/providers/icons/SmartHome.js +14 -0
- package/dist/esm/providers/icons/SmartMeter.js +14 -0
- package/dist/esm/providers/icons/Solar.js +14 -0
- package/dist/esm/providers/icons/Star.js +14 -0
- package/dist/esm/providers/icons/StarFilled.js +14 -0
- package/dist/esm/providers/icons/Sun.js +14 -0
- package/dist/esm/providers/icons/Torch.js +14 -0
- package/dist/esm/providers/icons/Trees.js +14 -0
- package/dist/esm/providers/icons/Tune.js +14 -0
- package/dist/esm/providers/icons/User.js +14 -0
- package/dist/esm/providers/icons/UserFilled.js +14 -0
- package/dist/esm/providers/icons/Wallet.js +14 -0
- package/dist/esm/providers/icons/WalletFilled.js +14 -0
- package/dist/esm/providers/icons/WarmHome.js +14 -0
- package/dist/esm/providers/icons/Warning.js +14 -0
- package/dist/esm/providers/icons/WebAddress.js +14 -0
- package/dist/esm/providers/icons/WindPower.js +14 -0
- package/dist/esm/providers/icons/index.js +87 -0
- package/dist/esm/providers/index.js +2 -0
- package/dist/esm/providers/types.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 +95 -0
- package/dist/hooks/index.js +17 -8
- 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 +19 -16
- package/dist/hooks/use-layout.js +19 -17
- package/dist/index.d.ts +0 -2
- package/dist/index.js +18 -320
- package/dist/providers/IconsProvider.js +118 -189
- package/dist/providers/icons/Address.js +40 -13
- package/dist/providers/icons/Advice.js +40 -11
- package/dist/providers/icons/Archive.js +40 -13
- package/dist/providers/icons/ArrowDown.js +40 -11
- package/dist/providers/icons/ArrowLeft.js +40 -11
- package/dist/providers/icons/ArrowRight.js +40 -11
- package/dist/providers/icons/ArrowUp.js +40 -11
- package/dist/providers/icons/Award.js +40 -13
- package/dist/providers/icons/Battery.js +40 -13
- package/dist/providers/icons/Cal.js +40 -11
- package/dist/providers/icons/CalBook.js +40 -13
- package/dist/providers/icons/CaretDown.js +40 -5
- package/dist/providers/icons/CaretLeft.js +40 -5
- package/dist/providers/icons/CaretRight.js +40 -5
- package/dist/providers/icons/CaretUp.js +40 -5
- package/dist/providers/icons/Chart.js +40 -13
- package/dist/providers/icons/ChartFilled.js +40 -11
- package/dist/providers/icons/Check.js +40 -11
- package/dist/providers/icons/CheckCircle.js +40 -13
- package/dist/providers/icons/ChevronDown.js +40 -11
- package/dist/providers/icons/ChevronLeft.js +40 -11
- package/dist/providers/icons/ChevronLeftSmall.js +40 -11
- package/dist/providers/icons/ChevronLeftSmallFirst.js +40 -13
- package/dist/providers/icons/ChevronRight.js +40 -11
- package/dist/providers/icons/ChevronRightSmall.js +40 -11
- package/dist/providers/icons/ChevronRightSmallLast.js +40 -13
- package/dist/providers/icons/ChevronUp.js +40 -11
- package/dist/providers/icons/Circle.js +17 -5
- package/dist/providers/icons/CloseCircle.js +40 -13
- package/dist/providers/icons/Cross.js +40 -11
- package/dist/providers/icons/Doc.js +40 -11
- package/dist/providers/icons/Dollar.js +40 -13
- package/dist/providers/icons/Download.js +40 -13
- package/dist/providers/icons/Eco.js +40 -11
- package/dist/providers/icons/EcoHome.js +40 -13
- package/dist/providers/icons/Edit.js +40 -13
- package/dist/providers/icons/ElectricCar.js +40 -13
- package/dist/providers/icons/ElectricHome.js +40 -13
- package/dist/providers/icons/Electricity.js +40 -11
- package/dist/providers/icons/EnergyAdvice.js +40 -13
- package/dist/providers/icons/Equals.js +40 -13
- package/dist/providers/icons/Euro.js +40 -13
- package/dist/providers/icons/Gas.js +40 -11
- package/dist/providers/icons/GlobeAddress.js +40 -11
- package/dist/providers/icons/Help.js +40 -13
- package/dist/providers/icons/HelpFilled.d.ts +2 -0
- package/dist/providers/icons/HelpFilled.js +41 -0
- package/dist/providers/icons/Hide.js +40 -11
- package/dist/providers/icons/Home.js +40 -11
- package/dist/providers/icons/HomeFilled.js +40 -11
- package/dist/providers/icons/HydroPower.js +40 -13
- package/dist/providers/icons/Info.js +40 -13
- package/dist/providers/icons/Link.js +39 -40
- package/dist/providers/icons/Logo.js +17 -11
- package/dist/providers/icons/Mail.js +40 -11
- package/dist/providers/icons/MailOpen.js +40 -11
- package/dist/providers/icons/Menu.js +40 -13
- package/dist/providers/icons/Message.js +40 -11
- package/dist/providers/icons/MessageFilled.js +40 -11
- package/dist/providers/icons/Minus.js +40 -5
- package/dist/providers/icons/Mobile.js +40 -13
- package/dist/providers/icons/NewWindow.js +39 -22
- package/dist/providers/icons/PaymentCard.js +40 -13
- package/dist/providers/icons/PaymentCardFilled.d.ts +2 -0
- package/dist/providers/icons/PaymentCardFilled.js +41 -0
- package/dist/providers/icons/Phone.js +40 -11
- package/dist/providers/icons/Plus.js +40 -11
- package/dist/providers/icons/Pound.js +40 -13
- package/dist/providers/icons/Pricing.js +40 -11
- package/dist/providers/icons/Search.js +40 -11
- package/dist/providers/icons/Security.js +40 -13
- package/dist/providers/icons/Show.js +40 -13
- package/dist/providers/icons/SmartHome.js +40 -13
- package/dist/providers/icons/SmartMeter.js +40 -13
- package/dist/providers/icons/Solar.js +40 -11
- package/dist/providers/icons/Star.js +40 -11
- package/dist/providers/icons/StarFilled.d.ts +2 -0
- package/dist/providers/icons/StarFilled.js +41 -0
- package/dist/providers/icons/Sun.js +40 -13
- package/dist/providers/icons/Torch.js +39 -13
- package/dist/providers/icons/Trees.js +40 -13
- package/dist/providers/icons/Tune.js +40 -13
- package/dist/providers/icons/User.js +40 -13
- package/dist/providers/icons/UserFilled.js +40 -11
- package/dist/providers/icons/Wallet.js +40 -13
- package/dist/providers/icons/WalletFilled.js +40 -11
- package/dist/providers/icons/WarmHome.js +40 -13
- package/dist/providers/icons/Warning.js +40 -13
- package/dist/providers/icons/WebAddress.js +40 -11
- package/dist/providers/icons/WindPower.js +40 -11
- package/dist/providers/icons/index.d.ts +3 -0
- package/dist/providers/icons/index.js +102 -171
- package/dist/providers/index.js +17 -92
- package/dist/providers/types.d.ts +3 -3
- package/dist/providers/types.js +2 -1
- package/dist/styled.native.d.ts +36 -0
- package/dist/styled.native.js +32 -8
- package/dist/theme/index.js +15 -970
- package/dist/utils/index.js +16 -14
- package/dist/utils/utils.d.ts +2 -1
- package/dist/utils/utils.js +104 -57
- package/package.json +13 -21
- package/dist/components/components.spec.native.js +0 -199
- package/dist/index-zQHKJ0fC.js +0 -180
- package/dist/styled.native-KEscfVp7.js +0 -3872
- package/dist/test/utils.d.ts +0 -4
- package/dist/test/utils.js +0 -16127
- package/dist/theme-native--5aKgQLJ.js +0 -482
- package/dist/theme-web-MrdqV6Ln.js +0 -482
- package/dist/utils-HsZygzDh.js +0 -26
- /package/dist/{components/components.spec.native.d.ts → esm/components/Accordion/types.js} +0 -0
package/dist/theme/index.js
CHANGED
|
@@ -1,972 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
brand: {
|
|
8
|
-
midnight: "#00261C",
|
|
9
|
-
midnightTint: "#808D87",
|
|
10
|
-
forest: "#044D29",
|
|
11
|
-
forestTint: "#86A08F",
|
|
12
|
-
ovo: "#0A9828",
|
|
13
|
-
ovoTint: "#95C59A",
|
|
14
|
-
leaf: "#16B639",
|
|
15
|
-
leafTint: "#A2D99C",
|
|
16
|
-
energised: "#38E44C",
|
|
17
|
-
energisedTint: "#ADEAA6",
|
|
18
|
-
offwhite: "#F9F6F3",
|
|
19
|
-
white: "#FFFFFF",
|
|
20
|
-
black: "#000000"
|
|
21
|
-
},
|
|
22
|
-
neutral: {
|
|
23
|
-
darkest: "#151817",
|
|
24
|
-
darker: "#293026",
|
|
25
|
-
dark: "#494B41",
|
|
26
|
-
base: "#7D7C72",
|
|
27
|
-
light: "#D4CFCB",
|
|
28
|
-
lighter: "#EBE7E3",
|
|
29
|
-
lightest: "#F9F6F3"
|
|
30
|
-
},
|
|
31
|
-
red: {
|
|
32
|
-
darkest: "#520012",
|
|
33
|
-
darker: "#AE072C",
|
|
34
|
-
dark: "#D62349",
|
|
35
|
-
base: "#E04A6A",
|
|
36
|
-
light: "#EB748E",
|
|
37
|
-
lighter: "#F5B2C1",
|
|
38
|
-
lightest: "#FFEDF1"
|
|
39
|
-
},
|
|
40
|
-
orange: {
|
|
41
|
-
darkest: "#571A00",
|
|
42
|
-
darker: "#C13E06",
|
|
43
|
-
dark: "#E95D21",
|
|
44
|
-
base: "#F17B49",
|
|
45
|
-
light: "#F89B73",
|
|
46
|
-
lighter: "#FFC6AD",
|
|
47
|
-
lightest: "#FFEDE5"
|
|
48
|
-
},
|
|
49
|
-
yellow: {
|
|
50
|
-
darkest: "#8F5600",
|
|
51
|
-
darker: "#CB7D07",
|
|
52
|
-
dark: "#E99921",
|
|
53
|
-
base: "#F2AE48",
|
|
54
|
-
light: "#F9C372",
|
|
55
|
-
lighter: "#FFD494",
|
|
56
|
-
lightest: "#FFF3E0"
|
|
57
|
-
},
|
|
58
|
-
green: {
|
|
59
|
-
darkest: "#00261C",
|
|
60
|
-
darker: "#044D29",
|
|
61
|
-
dark: "#007226",
|
|
62
|
-
base: "#0A9828",
|
|
63
|
-
light: "#16B639",
|
|
64
|
-
lighter: "#3BE44C",
|
|
65
|
-
lightest: "#ADEAA6"
|
|
66
|
-
},
|
|
67
|
-
blue: {
|
|
68
|
-
darkest: "#041256",
|
|
69
|
-
darker: "#001EB2",
|
|
70
|
-
dark: "#1F3BCD",
|
|
71
|
-
base: "#4F66DE",
|
|
72
|
-
light: "#788AE9",
|
|
73
|
-
lighter: "#AEBAFB",
|
|
74
|
-
lightest: "#EBEFFF"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
fontFamily: {
|
|
78
|
-
mono: {
|
|
79
|
-
native: "Courier New",
|
|
80
|
-
web: "'IBM Plex Mono', 'Menlo', Courier, monospace"
|
|
81
|
-
},
|
|
82
|
-
heading: {
|
|
83
|
-
native: "OVOCircularTT-Black",
|
|
84
|
-
web: "'OVOCircular', Futura, 'Century Gothic', sans-serif"
|
|
85
|
-
},
|
|
86
|
-
body: {
|
|
87
|
-
native: "OVOCircularTT-Book",
|
|
88
|
-
web: "'OVOCircular', Futura, 'Century Gothic', sans-serif"
|
|
89
|
-
},
|
|
90
|
-
bodyBold: {
|
|
91
|
-
native: "OVOCircularTT-Bold",
|
|
92
|
-
web: "'OVOCircular', Futura, 'Century Gothic', sans-serif"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
fontWeight: {
|
|
96
|
-
book: 450,
|
|
97
|
-
bold: 700,
|
|
98
|
-
black: 900
|
|
99
|
-
},
|
|
100
|
-
fontSize: {
|
|
101
|
-
heading1: {
|
|
102
|
-
small: 32,
|
|
103
|
-
large: 48
|
|
104
|
-
},
|
|
105
|
-
heading2: {
|
|
106
|
-
small: 28,
|
|
107
|
-
large: 36
|
|
108
|
-
},
|
|
109
|
-
heading3: {
|
|
110
|
-
small: 24,
|
|
111
|
-
large: 28
|
|
112
|
-
},
|
|
113
|
-
heading4: {
|
|
114
|
-
small: 20,
|
|
115
|
-
large: 24
|
|
116
|
-
},
|
|
117
|
-
lead: {
|
|
118
|
-
small: 20,
|
|
119
|
-
large: 24
|
|
120
|
-
},
|
|
121
|
-
body: {
|
|
122
|
-
small: 16,
|
|
123
|
-
large: 16
|
|
124
|
-
},
|
|
125
|
-
small: {
|
|
126
|
-
small: 14,
|
|
127
|
-
large: 14
|
|
128
|
-
},
|
|
129
|
-
label: {
|
|
130
|
-
small: 11,
|
|
131
|
-
large: 14
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
letterSpacing: {
|
|
135
|
-
base: 0,
|
|
136
|
-
compressed: -0.02,
|
|
137
|
-
extraCompressed: -0.04
|
|
138
|
-
},
|
|
139
|
-
lineHeight: {
|
|
140
|
-
heading1: {
|
|
141
|
-
small: 32,
|
|
142
|
-
large: 48
|
|
143
|
-
},
|
|
144
|
-
heading2: {
|
|
145
|
-
small: 28,
|
|
146
|
-
large: 36
|
|
147
|
-
},
|
|
148
|
-
heading3: {
|
|
149
|
-
small: 28,
|
|
150
|
-
large: 32
|
|
151
|
-
},
|
|
152
|
-
heading4: {
|
|
153
|
-
small: 24,
|
|
154
|
-
large: 28
|
|
155
|
-
},
|
|
156
|
-
lead: {
|
|
157
|
-
small: 24,
|
|
158
|
-
large: 28
|
|
159
|
-
},
|
|
160
|
-
body: {
|
|
161
|
-
small: 24,
|
|
162
|
-
large: 24
|
|
163
|
-
},
|
|
164
|
-
small: {
|
|
165
|
-
small: 20,
|
|
166
|
-
large: 20
|
|
167
|
-
},
|
|
168
|
-
label: {
|
|
169
|
-
small: 20,
|
|
170
|
-
large: 20
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
borderWidth: {
|
|
174
|
-
small: 1,
|
|
175
|
-
medium: 2,
|
|
176
|
-
large: 4
|
|
177
|
-
},
|
|
178
|
-
breakpoint: {
|
|
179
|
-
small: 576,
|
|
180
|
-
medium: 768,
|
|
181
|
-
large: 1200
|
|
182
|
-
},
|
|
183
|
-
mediaQuery: {
|
|
184
|
-
small: 576,
|
|
185
|
-
medium: 768,
|
|
186
|
-
large: 1200
|
|
187
|
-
},
|
|
188
|
-
customMediaQuery: {
|
|
189
|
-
"small-and-up": 576,
|
|
190
|
-
"medium-and-up": 768,
|
|
191
|
-
"large-and-up": 1200
|
|
192
|
-
},
|
|
193
|
-
opacity: {
|
|
194
|
-
solid: 1,
|
|
195
|
-
translucent: 0.75,
|
|
196
|
-
transparent: 0.25
|
|
197
|
-
},
|
|
198
|
-
radius: {
|
|
199
|
-
small: 4,
|
|
200
|
-
medium: 8,
|
|
201
|
-
large: 12,
|
|
202
|
-
max: 22
|
|
203
|
-
},
|
|
204
|
-
space: {
|
|
205
|
-
0: 0,
|
|
206
|
-
1: 4,
|
|
207
|
-
2: 8,
|
|
208
|
-
3: 12,
|
|
209
|
-
4: 16,
|
|
210
|
-
5: 20,
|
|
211
|
-
6: 24,
|
|
212
|
-
7: 28,
|
|
213
|
-
8: 32,
|
|
214
|
-
9: 36,
|
|
215
|
-
10: 40,
|
|
216
|
-
11: 44,
|
|
217
|
-
12: 48,
|
|
218
|
-
13: 52,
|
|
219
|
-
14: 56,
|
|
220
|
-
15: 60
|
|
221
|
-
},
|
|
222
|
-
transition: {
|
|
223
|
-
slow: 500,
|
|
224
|
-
medium: 300,
|
|
225
|
-
fast: 200
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
226
7
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
branded: {
|
|
235
|
-
surface: "#0A9828",
|
|
236
|
-
message: "#FFFFFF",
|
|
237
|
-
heading: "#FFFFFF"
|
|
238
|
-
},
|
|
239
|
-
neutral: {
|
|
240
|
-
surface: "#EBE7E3",
|
|
241
|
-
message: "#293026",
|
|
242
|
-
surfaceEmphasis: "#293026",
|
|
243
|
-
messageOnEmphasis: "#FFFFFF",
|
|
244
|
-
border: "#FFFFFF"
|
|
245
|
-
},
|
|
246
|
-
success: {
|
|
247
|
-
surface: "#ADEAA6",
|
|
248
|
-
message: "#044D29",
|
|
249
|
-
surfaceEmphasis: "#007226",
|
|
250
|
-
messageOnEmphasis: "#FFFFFF",
|
|
251
|
-
border: "#FFFFFF"
|
|
252
|
-
},
|
|
253
|
-
warning: {
|
|
254
|
-
surface: "#FFEDE5",
|
|
255
|
-
message: "#C13E06",
|
|
256
|
-
surfaceEmphasis: "#C13E06",
|
|
257
|
-
messageOnEmphasis: "#FFFFFF",
|
|
258
|
-
border: "#FFFFFF"
|
|
259
|
-
},
|
|
260
|
-
error: {
|
|
261
|
-
surface: "#FFEDF1",
|
|
262
|
-
message: "#AE072C",
|
|
263
|
-
surfaceEmphasis: "#D62349",
|
|
264
|
-
messageOnEmphasis: "#FFFFFF",
|
|
265
|
-
border: "#FFFFFF"
|
|
266
|
-
},
|
|
267
|
-
info: {
|
|
268
|
-
surface: "#EBEFFF",
|
|
269
|
-
message: "#1F3BCD",
|
|
270
|
-
surfaceEmphasis: "#4F66DE",
|
|
271
|
-
messageOnEmphasis: "#FFFFFF",
|
|
272
|
-
border: "#FFFFFF"
|
|
273
|
-
},
|
|
274
|
-
data: {
|
|
275
|
-
branded: {
|
|
276
|
-
1: "#0A9828",
|
|
277
|
-
2: "#00261C",
|
|
278
|
-
3: "#007226",
|
|
279
|
-
4: "#ADEAA6"
|
|
280
|
-
},
|
|
281
|
-
electric: {
|
|
282
|
-
1: "#CB7D07",
|
|
283
|
-
2: "#00261C",
|
|
284
|
-
3: "#8F5600",
|
|
285
|
-
4: "#FFD494"
|
|
286
|
-
},
|
|
287
|
-
gas: {
|
|
288
|
-
1: "#4F66DE",
|
|
289
|
-
2: "#00261C",
|
|
290
|
-
3: "#001EB2",
|
|
291
|
-
4: "#AEBAFB"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
focus: {
|
|
295
|
-
outline: "#4F66DE",
|
|
296
|
-
hover: "#AEBAFB",
|
|
297
|
-
surface: "#EBEFFF"
|
|
298
|
-
},
|
|
299
|
-
inverted: {
|
|
300
|
-
surface: "#00261C",
|
|
301
|
-
surfaceAlt: "#044D29",
|
|
302
|
-
border: "#044D29",
|
|
303
|
-
borderAlt: "#0A9828",
|
|
304
|
-
message: {
|
|
305
|
-
branded: "#FFFFFF",
|
|
306
|
-
base: "#FFFFFF",
|
|
307
|
-
secondary: "#D4CFCB",
|
|
308
|
-
link: "#38E44C"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
message: {
|
|
312
|
-
base: "#00261C",
|
|
313
|
-
secondary: "#494B41",
|
|
314
|
-
link: "#044D29",
|
|
315
|
-
error: "#AE072C",
|
|
316
|
-
branded: "#0A9828"
|
|
317
|
-
},
|
|
318
|
-
surface: {
|
|
319
|
-
base: "#000000",
|
|
320
|
-
cutout: "#151817",
|
|
321
|
-
elevated: "#151817"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
component: {
|
|
325
|
-
badge: {
|
|
326
|
-
variants: {
|
|
327
|
-
neutral: {
|
|
328
|
-
background: "#EBE7E3",
|
|
329
|
-
foreground: "#494B41"
|
|
330
|
-
},
|
|
331
|
-
red: {
|
|
332
|
-
background: "#FFEDF1",
|
|
333
|
-
foreground: "#AE072C"
|
|
334
|
-
},
|
|
335
|
-
orange: {
|
|
336
|
-
background: "#FFEDE5",
|
|
337
|
-
foreground: "#C13E06"
|
|
338
|
-
},
|
|
339
|
-
yellow: {
|
|
340
|
-
background: "#FFF3E0",
|
|
341
|
-
foreground: "#8F5600"
|
|
342
|
-
},
|
|
343
|
-
green: {
|
|
344
|
-
background: "#ADEAA6",
|
|
345
|
-
foreground: "#044D29"
|
|
346
|
-
},
|
|
347
|
-
blue: {
|
|
348
|
-
background: "#EBEFFF",
|
|
349
|
-
foreground: "#1F3BCD"
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
cta: {
|
|
354
|
-
primary: {
|
|
355
|
-
message: "#00261C",
|
|
356
|
-
surface: "#38E44C",
|
|
357
|
-
messageHover: "#00261C",
|
|
358
|
-
surfaceHover: "#16B639",
|
|
359
|
-
messageFocused: "#00261C",
|
|
360
|
-
surfaceFocused: "#38E44C",
|
|
361
|
-
outlineFocused: "#4F66DE",
|
|
362
|
-
backgroundFocused: "#151817"
|
|
363
|
-
},
|
|
364
|
-
secondary: {
|
|
365
|
-
message: "#FFFFFF",
|
|
366
|
-
surface: "#00261C",
|
|
367
|
-
messageHover: "#FFFFFF",
|
|
368
|
-
surfaceHover: "#000000",
|
|
369
|
-
messageFocused: "#FFFFFF",
|
|
370
|
-
surfaceFocused: "#00261C",
|
|
371
|
-
outlineFocused: "#4F66DE",
|
|
372
|
-
backgroundFocused: "#151817"
|
|
373
|
-
},
|
|
374
|
-
destructive: {
|
|
375
|
-
message: "#FFFFFF",
|
|
376
|
-
surface: "#D62349",
|
|
377
|
-
messageHover: "#FFFFFF",
|
|
378
|
-
surfaceHover: "#AE072C",
|
|
379
|
-
messageFocused: "#FFFFFF",
|
|
380
|
-
surfaceFocused: "#D62349",
|
|
381
|
-
outlineFocused: "#4F66DE",
|
|
382
|
-
backgroundFocused: "#151817"
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
heading1: {
|
|
386
|
-
fontFamily: "OVOCircularTT-Black",
|
|
387
|
-
fontWeight: 900,
|
|
388
|
-
lineHeight: {
|
|
389
|
-
small: 32,
|
|
390
|
-
large: 48
|
|
391
|
-
},
|
|
392
|
-
fontSize: {
|
|
393
|
-
small: 32,
|
|
394
|
-
large: 48
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
heading2: {
|
|
398
|
-
fontFamily: "OVOCircularTT-Black",
|
|
399
|
-
fontWeight: 900,
|
|
400
|
-
lineHeight: {
|
|
401
|
-
small: 28,
|
|
402
|
-
large: 36
|
|
403
|
-
},
|
|
404
|
-
fontSize: {
|
|
405
|
-
small: 28,
|
|
406
|
-
large: 36
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
heading3: {
|
|
410
|
-
fontFamily: "OVOCircularTT-Black",
|
|
411
|
-
fontWeight: 900,
|
|
412
|
-
lineHeight: {
|
|
413
|
-
small: 28,
|
|
414
|
-
large: 32
|
|
415
|
-
},
|
|
416
|
-
fontSize: {
|
|
417
|
-
small: 24,
|
|
418
|
-
large: 28
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
heading4: {
|
|
422
|
-
fontFamily: "OVOCircularTT-Black",
|
|
423
|
-
fontWeight: 900,
|
|
424
|
-
lineHeight: {
|
|
425
|
-
small: 24,
|
|
426
|
-
large: 28
|
|
427
|
-
},
|
|
428
|
-
fontSize: {
|
|
429
|
-
small: 20,
|
|
430
|
-
large: 24
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
lead: {
|
|
434
|
-
fontFamily: "OVOCircularTT-Book",
|
|
435
|
-
fontWeight: 450,
|
|
436
|
-
lineHeight: {
|
|
437
|
-
small: 24,
|
|
438
|
-
large: 28
|
|
439
|
-
},
|
|
440
|
-
fontSize: {
|
|
441
|
-
small: 20,
|
|
442
|
-
large: 24
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
body: {
|
|
446
|
-
fontFamily: "OVOCircularTT-Book",
|
|
447
|
-
fontWeight: 450,
|
|
448
|
-
lineHeight: {
|
|
449
|
-
small: 24,
|
|
450
|
-
large: 24
|
|
451
|
-
},
|
|
452
|
-
fontSize: {
|
|
453
|
-
small: 16,
|
|
454
|
-
large: 16
|
|
455
|
-
}
|
|
456
|
-
},
|
|
457
|
-
small: {
|
|
458
|
-
fontFamily: "OVOCircularTT-Book",
|
|
459
|
-
fontWeight: 450,
|
|
460
|
-
lineHeight: {
|
|
461
|
-
small: 20,
|
|
462
|
-
large: 20
|
|
463
|
-
},
|
|
464
|
-
fontSize: {
|
|
465
|
-
small: 14,
|
|
466
|
-
large: 14
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
label: {
|
|
470
|
-
fontFamily: "OVOCircularTT-Bold",
|
|
471
|
-
fontWeight: 700,
|
|
472
|
-
lineHeight: {
|
|
473
|
-
small: 20,
|
|
474
|
-
large: 20
|
|
475
|
-
},
|
|
476
|
-
fontSize: {
|
|
477
|
-
small: 11,
|
|
478
|
-
large: 14
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}, a = {
|
|
483
|
-
core: {
|
|
484
|
-
color: {
|
|
485
|
-
brand: {
|
|
486
|
-
midnight: "#00261C",
|
|
487
|
-
midnightTint: "#808D87",
|
|
488
|
-
forest: "#044D29",
|
|
489
|
-
forestTint: "#86A08F",
|
|
490
|
-
ovo: "#0A9828",
|
|
491
|
-
ovoTint: "#95C59A",
|
|
492
|
-
leaf: "#16B639",
|
|
493
|
-
leafTint: "#A2D99C",
|
|
494
|
-
energised: "#38E44C",
|
|
495
|
-
energisedTint: "#ADEAA6",
|
|
496
|
-
offwhite: "#F9F6F3",
|
|
497
|
-
white: "#FFFFFF",
|
|
498
|
-
black: "#000000"
|
|
499
|
-
},
|
|
500
|
-
neutral: {
|
|
501
|
-
darkest: "#151817",
|
|
502
|
-
darker: "#293026",
|
|
503
|
-
dark: "#494B41",
|
|
504
|
-
base: "#7D7C72",
|
|
505
|
-
light: "#D4CFCB",
|
|
506
|
-
lighter: "#EBE7E3",
|
|
507
|
-
lightest: "#F9F6F3"
|
|
508
|
-
},
|
|
509
|
-
red: {
|
|
510
|
-
darkest: "#520012",
|
|
511
|
-
darker: "#AE072C",
|
|
512
|
-
dark: "#D62349",
|
|
513
|
-
base: "#E04A6A",
|
|
514
|
-
light: "#EB748E",
|
|
515
|
-
lighter: "#F5B2C1",
|
|
516
|
-
lightest: "#FFEDF1"
|
|
517
|
-
},
|
|
518
|
-
orange: {
|
|
519
|
-
darkest: "#571A00",
|
|
520
|
-
darker: "#C13E06",
|
|
521
|
-
dark: "#E95D21",
|
|
522
|
-
base: "#F17B49",
|
|
523
|
-
light: "#F89B73",
|
|
524
|
-
lighter: "#FFC6AD",
|
|
525
|
-
lightest: "#FFEDE5"
|
|
526
|
-
},
|
|
527
|
-
yellow: {
|
|
528
|
-
darkest: "#8F5600",
|
|
529
|
-
darker: "#CB7D07",
|
|
530
|
-
dark: "#E99921",
|
|
531
|
-
base: "#F2AE48",
|
|
532
|
-
light: "#F9C372",
|
|
533
|
-
lighter: "#FFD494",
|
|
534
|
-
lightest: "#FFF3E0"
|
|
535
|
-
},
|
|
536
|
-
green: {
|
|
537
|
-
darkest: "#00261C",
|
|
538
|
-
darker: "#044D29",
|
|
539
|
-
dark: "#007226",
|
|
540
|
-
base: "#0A9828",
|
|
541
|
-
light: "#16B639",
|
|
542
|
-
lighter: "#3BE44C",
|
|
543
|
-
lightest: "#ADEAA6"
|
|
544
|
-
},
|
|
545
|
-
blue: {
|
|
546
|
-
darkest: "#041256",
|
|
547
|
-
darker: "#001EB2",
|
|
548
|
-
dark: "#1F3BCD",
|
|
549
|
-
base: "#4F66DE",
|
|
550
|
-
light: "#788AE9",
|
|
551
|
-
lighter: "#AEBAFB",
|
|
552
|
-
lightest: "#EBEFFF"
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
fontFamily: {
|
|
556
|
-
mono: {
|
|
557
|
-
native: "Courier New",
|
|
558
|
-
web: "'IBM Plex Mono', 'Menlo', Courier, monospace"
|
|
559
|
-
},
|
|
560
|
-
heading: {
|
|
561
|
-
native: "OVOCircularTT-Black",
|
|
562
|
-
web: "'OVOCircular', Futura, 'Century Gothic', sans-serif"
|
|
563
|
-
},
|
|
564
|
-
body: {
|
|
565
|
-
native: "OVOCircularTT-Book",
|
|
566
|
-
web: "'OVOCircular', Futura, 'Century Gothic', sans-serif"
|
|
567
|
-
},
|
|
568
|
-
bodyBold: {
|
|
569
|
-
native: "OVOCircularTT-Bold",
|
|
570
|
-
web: "'OVOCircular', Futura, 'Century Gothic', sans-serif"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
fontWeight: {
|
|
574
|
-
book: 450,
|
|
575
|
-
bold: 700,
|
|
576
|
-
black: 900
|
|
577
|
-
},
|
|
578
|
-
fontSize: {
|
|
579
|
-
heading1: {
|
|
580
|
-
small: "3.2rem",
|
|
581
|
-
large: "4.8rem"
|
|
582
|
-
},
|
|
583
|
-
heading2: {
|
|
584
|
-
small: "2.8rem",
|
|
585
|
-
large: "3.6rem"
|
|
586
|
-
},
|
|
587
|
-
heading3: {
|
|
588
|
-
small: "2.4rem",
|
|
589
|
-
large: "2.8rem"
|
|
590
|
-
},
|
|
591
|
-
heading4: {
|
|
592
|
-
small: "2rem",
|
|
593
|
-
large: "2.4rem"
|
|
594
|
-
},
|
|
595
|
-
lead: {
|
|
596
|
-
small: "2rem",
|
|
597
|
-
large: "2.4rem"
|
|
598
|
-
},
|
|
599
|
-
body: {
|
|
600
|
-
small: "1.6rem",
|
|
601
|
-
large: "1.6rem"
|
|
602
|
-
},
|
|
603
|
-
small: {
|
|
604
|
-
small: "1.4rem",
|
|
605
|
-
large: "1.4rem"
|
|
606
|
-
},
|
|
607
|
-
label: {
|
|
608
|
-
small: "1.1rem",
|
|
609
|
-
large: "1.4rem"
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
letterSpacing: {
|
|
613
|
-
base: 0,
|
|
614
|
-
compressed: -0.02,
|
|
615
|
-
extraCompressed: -0.04
|
|
616
|
-
},
|
|
617
|
-
lineHeight: {
|
|
618
|
-
heading1: {
|
|
619
|
-
small: "3.2rem",
|
|
620
|
-
large: "4.8rem"
|
|
621
|
-
},
|
|
622
|
-
heading2: {
|
|
623
|
-
small: "2.8rem",
|
|
624
|
-
large: "3.6rem"
|
|
625
|
-
},
|
|
626
|
-
heading3: {
|
|
627
|
-
small: "2.8rem",
|
|
628
|
-
large: "3.2rem"
|
|
629
|
-
},
|
|
630
|
-
heading4: {
|
|
631
|
-
small: "2.4rem",
|
|
632
|
-
large: "2.8rem"
|
|
633
|
-
},
|
|
634
|
-
lead: {
|
|
635
|
-
small: "2.4rem",
|
|
636
|
-
large: "2.8rem"
|
|
637
|
-
},
|
|
638
|
-
body: {
|
|
639
|
-
small: "2.4rem",
|
|
640
|
-
large: "2.4rem"
|
|
641
|
-
},
|
|
642
|
-
small: {
|
|
643
|
-
small: "2rem",
|
|
644
|
-
large: "2rem"
|
|
645
|
-
},
|
|
646
|
-
label: {
|
|
647
|
-
small: "2rem",
|
|
648
|
-
large: "2rem"
|
|
649
|
-
}
|
|
650
|
-
},
|
|
651
|
-
borderWidth: {
|
|
652
|
-
small: "1px",
|
|
653
|
-
medium: "2px",
|
|
654
|
-
large: "4px"
|
|
655
|
-
},
|
|
656
|
-
breakpoint: {
|
|
657
|
-
small: "576px",
|
|
658
|
-
medium: "768px",
|
|
659
|
-
large: "1200px"
|
|
660
|
-
},
|
|
661
|
-
mediaQuery: {
|
|
662
|
-
small: "@media screen and (min-width: 577px)",
|
|
663
|
-
medium: "@media screen and (min-width: 769px)",
|
|
664
|
-
large: "@media screen and (min-width: 1201px)"
|
|
665
|
-
},
|
|
666
|
-
customMediaQuery: {
|
|
667
|
-
"small-and-up": "(min-width: 577px)",
|
|
668
|
-
"medium-and-up": "(min-width: 769px)",
|
|
669
|
-
"large-and-up": "(min-width: 1201px)"
|
|
670
|
-
},
|
|
671
|
-
opacity: {
|
|
672
|
-
solid: 1,
|
|
673
|
-
translucent: 0.75,
|
|
674
|
-
transparent: 0.25
|
|
675
|
-
},
|
|
676
|
-
radius: {
|
|
677
|
-
small: "4px",
|
|
678
|
-
medium: "8px",
|
|
679
|
-
large: "12px",
|
|
680
|
-
max: "22px"
|
|
681
|
-
},
|
|
682
|
-
space: {
|
|
683
|
-
0: "0",
|
|
684
|
-
1: "4px",
|
|
685
|
-
2: "8px",
|
|
686
|
-
3: "12px",
|
|
687
|
-
4: "16px",
|
|
688
|
-
5: "20px",
|
|
689
|
-
6: "24px",
|
|
690
|
-
7: "28px",
|
|
691
|
-
8: "32px",
|
|
692
|
-
9: "36px",
|
|
693
|
-
10: "40px",
|
|
694
|
-
11: "44px",
|
|
695
|
-
12: "48px",
|
|
696
|
-
13: "52px",
|
|
697
|
-
14: "56px",
|
|
698
|
-
15: "60px"
|
|
699
|
-
},
|
|
700
|
-
transition: {
|
|
701
|
-
slow: "0.5s ease",
|
|
702
|
-
medium: "0.3s ease",
|
|
703
|
-
fast: "0.2s ease"
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
semantic: {
|
|
707
|
-
border: {
|
|
708
|
-
graphic: "#FFFFFF",
|
|
709
|
-
differentiated: "#EBE7E3",
|
|
710
|
-
functional: "#494B41"
|
|
711
|
-
},
|
|
712
|
-
branded: {
|
|
713
|
-
surface: "#0A9828",
|
|
714
|
-
message: "#FFFFFF",
|
|
715
|
-
heading: "#FFFFFF"
|
|
716
|
-
},
|
|
717
|
-
neutral: {
|
|
718
|
-
surface: "#EBE7E3",
|
|
719
|
-
message: "#293026",
|
|
720
|
-
surfaceEmphasis: "#293026",
|
|
721
|
-
messageOnEmphasis: "#FFFFFF",
|
|
722
|
-
border: "#FFFFFF"
|
|
723
|
-
},
|
|
724
|
-
success: {
|
|
725
|
-
surface: "#ADEAA6",
|
|
726
|
-
message: "#044D29",
|
|
727
|
-
surfaceEmphasis: "#007226",
|
|
728
|
-
messageOnEmphasis: "#FFFFFF",
|
|
729
|
-
border: "#FFFFFF"
|
|
730
|
-
},
|
|
731
|
-
warning: {
|
|
732
|
-
surface: "#FFEDE5",
|
|
733
|
-
message: "#C13E06",
|
|
734
|
-
surfaceEmphasis: "#C13E06",
|
|
735
|
-
messageOnEmphasis: "#FFFFFF",
|
|
736
|
-
border: "#FFFFFF"
|
|
737
|
-
},
|
|
738
|
-
error: {
|
|
739
|
-
surface: "#FFEDF1",
|
|
740
|
-
message: "#AE072C",
|
|
741
|
-
surfaceEmphasis: "#D62349",
|
|
742
|
-
messageOnEmphasis: "#FFFFFF",
|
|
743
|
-
border: "#FFFFFF"
|
|
744
|
-
},
|
|
745
|
-
info: {
|
|
746
|
-
surface: "#EBEFFF",
|
|
747
|
-
message: "#1F3BCD",
|
|
748
|
-
surfaceEmphasis: "#4F66DE",
|
|
749
|
-
messageOnEmphasis: "#FFFFFF",
|
|
750
|
-
border: "#FFFFFF"
|
|
751
|
-
},
|
|
752
|
-
data: {
|
|
753
|
-
branded: {
|
|
754
|
-
1: "#0A9828",
|
|
755
|
-
2: "#00261C",
|
|
756
|
-
3: "#007226",
|
|
757
|
-
4: "#ADEAA6"
|
|
758
|
-
},
|
|
759
|
-
electric: {
|
|
760
|
-
1: "#CB7D07",
|
|
761
|
-
2: "#00261C",
|
|
762
|
-
3: "#8F5600",
|
|
763
|
-
4: "#FFD494"
|
|
764
|
-
},
|
|
765
|
-
gas: {
|
|
766
|
-
1: "#4F66DE",
|
|
767
|
-
2: "#00261C",
|
|
768
|
-
3: "#001EB2",
|
|
769
|
-
4: "#AEBAFB"
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
focus: {
|
|
773
|
-
outline: "#4F66DE",
|
|
774
|
-
hover: "#AEBAFB",
|
|
775
|
-
surface: "#EBEFFF"
|
|
776
|
-
},
|
|
777
|
-
inverted: {
|
|
778
|
-
surface: "#00261C",
|
|
779
|
-
surfaceAlt: "#044D29",
|
|
780
|
-
border: "#044D29",
|
|
781
|
-
borderAlt: "#0A9828",
|
|
782
|
-
message: {
|
|
783
|
-
branded: "#FFFFFF",
|
|
784
|
-
base: "#FFFFFF",
|
|
785
|
-
secondary: "#D4CFCB",
|
|
786
|
-
link: "#38E44C"
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
message: {
|
|
790
|
-
base: "#00261C",
|
|
791
|
-
secondary: "#494B41",
|
|
792
|
-
link: "#044D29",
|
|
793
|
-
error: "#AE072C",
|
|
794
|
-
branded: "#0A9828"
|
|
795
|
-
},
|
|
796
|
-
surface: {
|
|
797
|
-
base: "#000000",
|
|
798
|
-
cutout: "#151817",
|
|
799
|
-
elevated: "#151817"
|
|
800
|
-
}
|
|
801
|
-
},
|
|
802
|
-
component: {
|
|
803
|
-
badge: {
|
|
804
|
-
variants: {
|
|
805
|
-
neutral: {
|
|
806
|
-
background: "#EBE7E3",
|
|
807
|
-
foreground: "#494B41"
|
|
808
|
-
},
|
|
809
|
-
red: {
|
|
810
|
-
background: "#FFEDF1",
|
|
811
|
-
foreground: "#AE072C"
|
|
812
|
-
},
|
|
813
|
-
orange: {
|
|
814
|
-
background: "#FFEDE5",
|
|
815
|
-
foreground: "#C13E06"
|
|
816
|
-
},
|
|
817
|
-
yellow: {
|
|
818
|
-
background: "#FFF3E0",
|
|
819
|
-
foreground: "#8F5600"
|
|
820
|
-
},
|
|
821
|
-
green: {
|
|
822
|
-
background: "#ADEAA6",
|
|
823
|
-
foreground: "#044D29"
|
|
824
|
-
},
|
|
825
|
-
blue: {
|
|
826
|
-
background: "#EBEFFF",
|
|
827
|
-
foreground: "#1F3BCD"
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
},
|
|
831
|
-
cta: {
|
|
832
|
-
primary: {
|
|
833
|
-
message: "#00261C",
|
|
834
|
-
surface: "#38E44C",
|
|
835
|
-
messageHover: "#00261C",
|
|
836
|
-
surfaceHover: "#16B639",
|
|
837
|
-
messageFocused: "#00261C",
|
|
838
|
-
surfaceFocused: "#38E44C",
|
|
839
|
-
outlineFocused: "#4F66DE",
|
|
840
|
-
backgroundFocused: "#151817"
|
|
841
|
-
},
|
|
842
|
-
secondary: {
|
|
843
|
-
message: "#FFFFFF",
|
|
844
|
-
surface: "#00261C",
|
|
845
|
-
messageHover: "#FFFFFF",
|
|
846
|
-
surfaceHover: "#000000",
|
|
847
|
-
messageFocused: "#FFFFFF",
|
|
848
|
-
surfaceFocused: "#00261C",
|
|
849
|
-
outlineFocused: "#4F66DE",
|
|
850
|
-
backgroundFocused: "#151817"
|
|
851
|
-
},
|
|
852
|
-
destructive: {
|
|
853
|
-
message: "#FFFFFF",
|
|
854
|
-
surface: "#D62349",
|
|
855
|
-
messageHover: "#FFFFFF",
|
|
856
|
-
surfaceHover: "#AE072C",
|
|
857
|
-
messageFocused: "#FFFFFF",
|
|
858
|
-
surfaceFocused: "#D62349",
|
|
859
|
-
outlineFocused: "#4F66DE",
|
|
860
|
-
backgroundFocused: "#151817"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
heading1: {
|
|
864
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
865
|
-
fontWeight: 900,
|
|
866
|
-
lineHeight: {
|
|
867
|
-
small: "3.2rem",
|
|
868
|
-
large: "4.8rem"
|
|
869
|
-
},
|
|
870
|
-
fontSize: {
|
|
871
|
-
small: "3.2rem",
|
|
872
|
-
large: "4.8rem"
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
|
-
heading2: {
|
|
876
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
877
|
-
fontWeight: 900,
|
|
878
|
-
lineHeight: {
|
|
879
|
-
small: "2.8rem",
|
|
880
|
-
large: "3.6rem"
|
|
881
|
-
},
|
|
882
|
-
fontSize: {
|
|
883
|
-
small: "2.8rem",
|
|
884
|
-
large: "3.6rem"
|
|
885
|
-
}
|
|
886
|
-
},
|
|
887
|
-
heading3: {
|
|
888
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
889
|
-
fontWeight: 900,
|
|
890
|
-
lineHeight: {
|
|
891
|
-
small: "2.8rem",
|
|
892
|
-
large: "3.2rem"
|
|
893
|
-
},
|
|
894
|
-
fontSize: {
|
|
895
|
-
small: "2.4rem",
|
|
896
|
-
large: "2.8rem"
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
heading4: {
|
|
900
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
901
|
-
fontWeight: 900,
|
|
902
|
-
lineHeight: {
|
|
903
|
-
small: "2.4rem",
|
|
904
|
-
large: "2.8rem"
|
|
905
|
-
},
|
|
906
|
-
fontSize: {
|
|
907
|
-
small: "2rem",
|
|
908
|
-
large: "2.4rem"
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
lead: {
|
|
912
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
913
|
-
fontWeight: 450,
|
|
914
|
-
lineHeight: {
|
|
915
|
-
small: "2.4rem",
|
|
916
|
-
large: "2.8rem"
|
|
917
|
-
},
|
|
918
|
-
fontSize: {
|
|
919
|
-
small: "2rem",
|
|
920
|
-
large: "2.4rem"
|
|
921
|
-
}
|
|
922
|
-
},
|
|
923
|
-
body: {
|
|
924
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
925
|
-
fontWeight: 450,
|
|
926
|
-
lineHeight: {
|
|
927
|
-
small: "2.4rem",
|
|
928
|
-
large: "2.4rem"
|
|
929
|
-
},
|
|
930
|
-
fontSize: {
|
|
931
|
-
small: "1.6rem",
|
|
932
|
-
large: "1.6rem"
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
small: {
|
|
936
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
937
|
-
fontWeight: 450,
|
|
938
|
-
lineHeight: {
|
|
939
|
-
small: "2rem",
|
|
940
|
-
large: "2rem"
|
|
941
|
-
},
|
|
942
|
-
fontSize: {
|
|
943
|
-
small: "1.4rem",
|
|
944
|
-
large: "1.4rem"
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
label: {
|
|
948
|
-
fontFamily: "'OVOCircular', Futura, 'Century Gothic', sans-serif",
|
|
949
|
-
fontWeight: 700,
|
|
950
|
-
lineHeight: {
|
|
951
|
-
small: "2rem",
|
|
952
|
-
large: "2rem"
|
|
953
|
-
},
|
|
954
|
-
fontSize: {
|
|
955
|
-
small: "1.1rem",
|
|
956
|
-
large: "1.4rem"
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
export {
|
|
962
|
-
s as calculateLineHeight,
|
|
963
|
-
l as numToPx,
|
|
964
|
-
i as pxToNumber,
|
|
965
|
-
t as pxToRem,
|
|
966
|
-
n as remToNumber,
|
|
967
|
-
o as remToPx,
|
|
968
|
-
u as theme,
|
|
969
|
-
a as themeDark,
|
|
970
|
-
g as themeNative,
|
|
971
|
-
e as themeNativeDark
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
972
15
|
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("@ovotech/element-core"), exports);
|