@ovotech/element-native 3.8.1-canary-0c92e13-244 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +3 -2
- package/dist/components/Accordion/Accordion.js +97 -130
- package/dist/components/Accordion/Group.js +21 -21
- package/dist/components/Accordion/Icon.js +59 -60
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Accordion/index.js +19 -9
- package/dist/components/Accordion/styles.d.ts +2 -20
- package/dist/components/Accordion/styles.js +50 -59
- package/dist/components/Accordion/types.d.ts +2 -2
- package/dist/components/Accordion/types.js +1 -2
- package/dist/components/ActionCard/ActionCard.d.ts +1 -1
- package/dist/components/ActionCard/ActionCard.js +376 -104
- package/dist/components/ActionCard/CloseIconShape.js +14 -40
- package/dist/components/ActionCard/IndicatorIconShape.js +11 -40
- package/dist/components/ActionCard/index.js +185 -5
- package/dist/components/ActionList/ActionList.d.ts +4 -3
- package/dist/components/ActionList/ActionList.js +202 -56
- package/dist/components/ActionList/index.js +100 -6
- package/dist/components/ActionList/styled.d.ts +5 -523
- package/dist/components/ActionList/styled.js +152 -65
- package/dist/components/Badge/Badge.d.ts +3 -9
- package/dist/components/Badge/Badge.js +39 -96
- package/dist/components/Badge/index.js +8 -5
- package/dist/components/CTAButton/CTAButton.d.ts +8 -9
- package/dist/components/CTAButton/CTAButton.js +181 -118
- package/dist/components/CTAButton/index.js +100 -8
- package/dist/components/CTALink/CTALink.d.ts +5 -5
- package/dist/components/CTALink/CTALink.js +105 -22
- package/dist/components/CTALink/index.js +100 -7
- package/dist/components/Card/Card.d.ts +0 -6
- package/dist/components/Card/Card.js +17 -13
- package/dist/components/Card/index.js +7 -5
- package/dist/components/Checkbox/Checkbox.js +173 -78
- package/dist/components/Checkbox/CheckboxField.d.ts +1 -1
- package/dist/components/Checkbox/CheckboxField.js +39 -43
- package/dist/components/Checkbox/index.js +105 -7
- package/dist/components/CurrencyField/CurrencyField.d.ts +1 -1
- package/dist/components/CurrencyField/CurrencyField.js +109 -32
- package/dist/components/CurrencyField/index.js +108 -5
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/dist/components/CurrencyInput/CurrencyInput.js +118 -36
- package/dist/components/CurrencyInput/index.d.ts +1 -1
- package/dist/components/CurrencyInput/index.js +100 -5
- package/dist/components/DataTable/DataTable.js +62 -45
- package/dist/components/DataTable/TableRow.js +44 -35
- package/dist/components/DataTable/index.js +25 -20
- package/dist/components/DataTable/styles.d.ts +0 -78
- package/dist/components/DataTable/styles.js +119 -86
- package/dist/components/DataTable/types.d.ts +4 -4
- package/dist/components/DataTable/types.js +1 -2
- package/dist/components/DateField/DateField.d.ts +4 -3
- package/dist/components/DateField/DateField.js +229 -87
- package/dist/components/DateField/index.js +107 -5
- package/dist/components/DescriptionList/DescriptionList.d.ts +2 -2
- package/dist/components/DescriptionList/DescriptionList.js +25 -43
- package/dist/components/DescriptionList/index.js +13 -6
- package/dist/components/DescriptionList/styled.d.ts +0 -6
- package/dist/components/DescriptionList/styled.js +42 -85
- package/dist/components/Disclosure/Disclosure.js +153 -79
- package/dist/components/Disclosure/index.js +96 -16
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.js +12 -43
- package/dist/components/Divider/index.js +7 -5
- package/dist/components/Em/Em.d.ts +0 -6
- package/dist/components/Em/Em.js +8 -12
- package/dist/components/Em/index.js +6 -5
- package/dist/components/EmailField/EmailField.d.ts +1 -1
- package/dist/components/EmailField/EmailField.js +108 -32
- package/dist/components/EmailField/index.js +107 -5
- package/dist/components/EmailInput/EmailInput.d.ts +1 -1
- package/dist/components/EmailInput/EmailInput.js +106 -18
- package/dist/components/EmailInput/index.js +98 -5
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +2 -2
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +115 -50
- package/dist/components/ErrorSummaryNotification/index.js +104 -5
- package/dist/components/ErrorText/ErrorText.d.ts +0 -6
- package/dist/components/ErrorText/ErrorText.js +22 -42
- package/dist/components/ErrorText/index.js +11 -5
- package/dist/components/Field/Field.d.ts +2 -2
- package/dist/components/Field/Field.js +62 -58
- package/dist/components/Field/index.js +16 -16
- package/dist/components/FilterSelect/FilterSelect.d.ts +2 -2
- package/dist/components/FilterSelect/FilterSelect.js +201 -77
- package/dist/components/FilterSelect/index.js +102 -5
- package/dist/components/FormGroup/FormGroup.d.ts +1 -1
- package/dist/components/FormGroup/FormGroup.js +9 -42
- package/dist/components/FormGroup/index.js +8 -5
- package/dist/components/Grid/Col.d.ts +1 -7
- package/dist/components/Grid/Col.js +32 -58
- package/dist/components/Grid/Row.d.ts +0 -6
- package/dist/components/Grid/Row.js +34 -72
- package/dist/components/Grid/index.js +13 -7
- package/dist/components/Heading1/Heading1.js +36 -70
- package/dist/components/Heading1/index.js +10 -5
- package/dist/components/Heading2/Heading2.js +36 -70
- package/dist/components/Heading2/index.js +10 -5
- package/dist/components/Heading3/Heading3.js +36 -70
- package/dist/components/Heading3/index.js +10 -5
- package/dist/components/Heading4/Heading4.js +36 -70
- package/dist/components/Heading4/index.js +10 -5
- package/dist/components/HintText/HintText.d.ts +0 -6
- package/dist/components/HintText/HintText.js +22 -42
- package/dist/components/HintText/index.js +11 -5
- package/dist/components/Icon/Icon.d.ts +2 -2
- package/dist/components/Icon/Icon.js +103 -38
- package/dist/components/Icon/index.js +93 -5
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +198 -97
- package/dist/components/Label/Label.js +18 -50
- package/dist/components/Label/index.js +8 -5
- package/dist/components/LabelText/LabelText.d.ts +0 -6
- package/dist/components/LabelText/LabelText.js +20 -42
- package/dist/components/LabelText/index.js +11 -5
- package/dist/components/Lead/Lead.js +18 -52
- package/dist/components/Lead/index.js +8 -5
- package/dist/components/LineThrough/LineThrough.d.ts +0 -6
- package/dist/components/LineThrough/LineThrough.js +7 -12
- package/dist/components/LineThrough/index.js +6 -5
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/List/List.js +38 -32
- package/dist/components/List/index.js +16 -7
- package/dist/components/List/styled.d.ts +0 -25
- package/dist/components/List/styled.js +37 -52
- package/dist/components/Margin/Margin.d.ts +2 -8
- package/dist/components/Margin/Margin.js +68 -50
- package/dist/components/Margin/index.js +11 -5
- package/dist/components/NavHeader/IconButton.d.ts +2 -2
- package/dist/components/NavHeader/IconButton.js +119 -18
- package/dist/components/NavHeader/NavHeader.d.ts +3 -11
- package/dist/components/NavHeader/NavHeader.js +181 -65
- package/dist/components/NavHeader/NavHeader.styles.d.ts +7 -543
- package/dist/components/NavHeader/NavHeader.styles.js +81 -72
- package/dist/components/NavHeader/index.d.ts +1 -1
- package/dist/components/NavHeader/index.js +104 -5
- package/dist/components/Notification/Notification.d.ts +2 -14
- package/dist/components/Notification/Notification.js +190 -103
- package/dist/components/Notification/index.js +100 -9
- package/dist/components/NumberField/NumberField.d.ts +1 -1
- package/dist/components/NumberField/NumberField.js +108 -32
- package/dist/components/NumberField/index.js +107 -5
- package/dist/components/NumberInput/NumberInput.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.js +106 -18
- package/dist/components/NumberInput/index.js +98 -5
- package/dist/components/P/P.js +23 -54
- package/dist/components/P/index.js +10 -5
- package/dist/components/PasswordField/PasswordField.d.ts +1 -1
- package/dist/components/PasswordField/PasswordField.js +110 -32
- package/dist/components/PasswordField/index.js +109 -5
- package/dist/components/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +123 -33
- package/dist/components/PasswordInput/PasswordInput.styled.d.ts +1 -7
- package/dist/components/PasswordInput/PasswordInput.styled.js +18 -37
- package/dist/components/PasswordInput/PasswordVisibilityToggle.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordVisibilityToggle.js +128 -26
- package/dist/components/PasswordInput/index.js +100 -5
- package/dist/components/PhoneField/PhoneField.d.ts +1 -1
- package/dist/components/PhoneField/PhoneField.js +108 -32
- package/dist/components/PhoneField/index.js +107 -5
- package/dist/components/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput/PhoneInput.js +106 -17
- package/dist/components/PhoneInput/index.js +98 -5
- package/dist/components/ProductCarousel/NavigationDots.js +57 -74
- package/dist/components/ProductCarousel/ProductCarousel.js +2174 -126
- package/dist/components/ProductCarousel/anchor-point.js +31 -51
- package/dist/components/ProductCarousel/index.js +101 -5
- package/dist/components/Radio/Radio.js +69 -67
- package/dist/components/Radio/RadioField.d.ts +1 -1
- package/dist/components/Radio/RadioField.js +46 -47
- package/dist/components/Radio/index.js +18 -7
- package/dist/components/RadioCard/RadioCard.js +68 -71
- package/dist/components/RadioCard/index.js +13 -5
- package/dist/components/SelectField/Select.d.ts +2 -8
- package/dist/components/SelectField/Select.js +852 -93
- package/dist/components/SelectField/SelectField.d.ts +1 -1
- package/dist/components/SelectField/SelectField.js +125 -32
- package/dist/components/SelectField/index.js +108 -5
- package/dist/components/SkeletonAnimation/SkeletonAnimation.js +47 -34
- package/dist/components/SkeletonAnimation/index.js +7 -5
- package/dist/components/SkeletonCTA/SkeletonCTA.d.ts +1 -1
- package/dist/components/SkeletonCTA/SkeletonCTA.js +17 -41
- package/dist/components/SkeletonCTA/index.js +12 -5
- package/dist/components/SkeletonCircle/SkeletonCircle.d.ts +1 -1
- package/dist/components/SkeletonCircle/SkeletonCircle.js +16 -44
- package/dist/components/SkeletonCircle/index.js +10 -5
- package/dist/components/SkeletonHeading/SkeletonHeading.d.ts +1 -1
- package/dist/components/SkeletonHeading/SkeletonHeading.js +29 -40
- package/dist/components/SkeletonHeading/index.js +12 -5
- package/dist/components/SkeletonText/SkeletonText.d.ts +1 -1
- package/dist/components/SkeletonText/SkeletonText.js +33 -50
- package/dist/components/SkeletonText/index.js +12 -5
- package/dist/components/Small/Small.d.ts +0 -6
- package/dist/components/Small/Small.js +17 -38
- package/dist/components/Small/index.js +11 -5
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/Spinner/Spinner.js +61 -68
- package/dist/components/Spinner/index.js +9 -5
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/Stack.js +30 -48
- package/dist/components/Stack/index.js +11 -5
- package/dist/components/Stretch/Stretch.d.ts +1 -1
- package/dist/components/Stretch/Stretch.js +11 -55
- package/dist/components/Stretch/index.js +8 -16
- package/dist/components/Strong/Strong.d.ts +0 -6
- package/dist/components/Strong/Strong.js +9 -10
- package/dist/components/Strong/index.js +6 -5
- package/dist/components/SubLabelText/SubLabelText.d.ts +0 -6
- package/dist/components/SubLabelText/SubLabelText.js +20 -42
- package/dist/components/SubLabelText/index.js +11 -5
- package/dist/components/Tabs/Tab.d.ts +2 -1
- package/dist/components/Tabs/Tab.js +60 -76
- package/dist/components/Tabs/TabList.d.ts +2 -2
- package/dist/components/Tabs/TabList.js +37 -77
- package/dist/components/Tabs/TabPanel.js +15 -64
- package/dist/components/Tabs/Tabs.d.ts +3 -2
- package/dist/components/Tabs/Tabs.js +46 -97
- package/dist/components/Tabs/index.js +19 -11
- package/dist/components/TextField/TextField.d.ts +1 -1
- package/dist/components/TextField/TextField.js +108 -32
- package/dist/components/TextField/index.js +107 -5
- package/dist/components/TextGroup/TextGroup.js +23 -40
- package/dist/components/TextGroup/index.js +7 -5
- package/dist/components/TextInput/TextInput.d.ts +1 -1
- package/dist/components/TextInput/TextInput.js +97 -18
- package/dist/components/TextInput/index.js +98 -5
- package/dist/components/TextLink/TextLink.js +118 -74
- package/dist/components/TextLink/index.js +97 -5
- package/dist/components/TextareaField/TextareaField.d.ts +1 -1
- package/dist/components/TextareaField/TextareaField.js +108 -32
- package/dist/components/TextareaField/index.js +107 -5
- package/dist/components/TextareaInput/TextareaInput.d.ts +2 -2
- package/dist/components/TextareaInput/TextareaInput.js +114 -65
- package/dist/components/TextareaInput/index.d.ts +1 -1
- package/dist/components/TextareaInput/index.js +98 -5
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/components/Toast/Toast.js +730 -159
- package/dist/components/Toast/index.js +105 -6
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/Toggle/Toggle.js +73 -55
- package/dist/components/Toggle/index.js +14 -5
- package/dist/components/Toggle/styles.d.ts +1 -25
- package/dist/components/Toggle/styles.js +38 -28
- package/dist/components/components.spec.native.js +199 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +296 -77
- package/dist/hooks/index.js +8 -17
- package/dist/hooks/use-breakpoint.d.ts +2 -2
- package/dist/hooks/use-breakpoint.js +15 -15
- package/dist/hooks/use-full-width.d.ts +1 -1
- package/dist/hooks/use-full-width.js +16 -19
- package/dist/hooks/use-layout.js +17 -19
- package/dist/index-zQHKJ0fC.js +180 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +320 -18
- package/dist/providers/IconsProvider.js +189 -118
- package/dist/providers/icons/Address.js +13 -40
- package/dist/providers/icons/Advice.js +11 -40
- package/dist/providers/icons/Archive.js +13 -40
- package/dist/providers/icons/ArrowDown.js +11 -40
- package/dist/providers/icons/ArrowLeft.js +11 -40
- package/dist/providers/icons/ArrowRight.js +11 -40
- package/dist/providers/icons/ArrowUp.js +11 -40
- package/dist/providers/icons/Award.js +13 -40
- package/dist/providers/icons/Battery.js +13 -40
- package/dist/providers/icons/Cal.js +11 -40
- package/dist/providers/icons/CalBook.js +13 -40
- package/dist/providers/icons/CaretDown.js +5 -40
- package/dist/providers/icons/CaretLeft.js +5 -40
- package/dist/providers/icons/CaretRight.js +5 -40
- package/dist/providers/icons/CaretUp.js +5 -40
- package/dist/providers/icons/Chart.js +13 -40
- package/dist/providers/icons/ChartFilled.js +11 -40
- package/dist/providers/icons/Check.js +11 -40
- package/dist/providers/icons/CheckCircle.js +13 -40
- package/dist/providers/icons/ChevronDown.js +11 -40
- package/dist/providers/icons/ChevronLeft.js +11 -40
- package/dist/providers/icons/ChevronLeftSmall.js +11 -40
- package/dist/providers/icons/ChevronLeftSmallFirst.js +13 -40
- package/dist/providers/icons/ChevronRight.js +11 -40
- package/dist/providers/icons/ChevronRightSmall.js +11 -40
- package/dist/providers/icons/ChevronRightSmallLast.js +13 -40
- package/dist/providers/icons/ChevronUp.js +11 -40
- package/dist/providers/icons/Circle.js +5 -17
- package/dist/providers/icons/CloseCircle.js +13 -40
- package/dist/providers/icons/Cross.js +11 -40
- package/dist/providers/icons/Doc.js +11 -40
- package/dist/providers/icons/Dollar.js +13 -40
- package/dist/providers/icons/Download.js +13 -40
- package/dist/providers/icons/Eco.js +11 -40
- package/dist/providers/icons/EcoHome.js +13 -40
- package/dist/providers/icons/Edit.js +13 -40
- package/dist/providers/icons/ElectricCar.js +13 -40
- package/dist/providers/icons/ElectricHome.js +13 -40
- package/dist/providers/icons/Electricity.js +11 -40
- package/dist/providers/icons/EnergyAdvice.js +13 -40
- package/dist/providers/icons/Equals.js +13 -40
- package/dist/providers/icons/Euro.js +13 -40
- package/dist/providers/icons/Gas.js +11 -40
- package/dist/providers/icons/GlobeAddress.js +11 -40
- package/dist/providers/icons/Help.js +13 -40
- package/dist/providers/icons/Hide.js +11 -40
- package/dist/providers/icons/Home.js +11 -40
- package/dist/providers/icons/HomeFilled.js +11 -40
- package/dist/providers/icons/HydroPower.js +13 -40
- package/dist/providers/icons/Info.js +13 -40
- package/dist/providers/icons/Link.js +40 -39
- package/dist/providers/icons/Logo.js +11 -17
- package/dist/providers/icons/Mail.js +11 -40
- package/dist/providers/icons/MailOpen.js +11 -40
- package/dist/providers/icons/Menu.js +13 -40
- package/dist/providers/icons/Message.js +11 -40
- package/dist/providers/icons/MessageFilled.js +11 -40
- package/dist/providers/icons/Minus.js +5 -40
- package/dist/providers/icons/Mobile.js +13 -40
- package/dist/providers/icons/NewWindow.js +22 -39
- package/dist/providers/icons/PaymentCard.js +13 -40
- package/dist/providers/icons/Phone.js +11 -40
- package/dist/providers/icons/Plus.js +11 -40
- package/dist/providers/icons/Pound.js +13 -40
- package/dist/providers/icons/Pricing.js +11 -40
- package/dist/providers/icons/Search.js +11 -40
- package/dist/providers/icons/Security.js +13 -40
- package/dist/providers/icons/Show.js +13 -40
- package/dist/providers/icons/SmartHome.js +13 -40
- package/dist/providers/icons/SmartMeter.js +13 -40
- package/dist/providers/icons/Solar.js +11 -40
- package/dist/providers/icons/Star.js +11 -40
- package/dist/providers/icons/Sun.js +13 -40
- package/dist/providers/icons/Torch.js +13 -39
- package/dist/providers/icons/Trees.js +13 -40
- package/dist/providers/icons/Tune.js +13 -40
- package/dist/providers/icons/User.js +13 -40
- package/dist/providers/icons/UserFilled.js +11 -40
- package/dist/providers/icons/Wallet.js +13 -40
- package/dist/providers/icons/WalletFilled.js +11 -40
- package/dist/providers/icons/WarmHome.js +13 -40
- package/dist/providers/icons/Warning.js +13 -40
- package/dist/providers/icons/WebAddress.js +11 -40
- package/dist/providers/icons/WindPower.js +11 -40
- package/dist/providers/icons/index.d.ts +0 -3
- package/dist/providers/icons/index.js +171 -102
- package/dist/providers/index.js +92 -17
- package/dist/providers/types.d.ts +3 -3
- package/dist/providers/types.js +1 -2
- package/dist/styled.native-KEscfVp7.js +3872 -0
- package/dist/styled.native.d.ts +0 -36
- package/dist/styled.native.js +8 -32
- package/dist/test/utils.d.ts +4 -0
- package/dist/test/utils.js +16127 -0
- package/dist/theme/index.js +970 -15
- package/dist/theme-native--5aKgQLJ.js +482 -0
- package/dist/theme-web-MrdqV6Ln.js +482 -0
- package/dist/utils/index.js +14 -16
- package/dist/utils/utils.d.ts +1 -2
- package/dist/utils/utils.js +57 -104
- package/dist/utils-HsZygzDh.js +26 -0
- package/package.json +21 -13
- package/components/package.json +0 -6
- package/dist/esm/components/Accordion/Accordion.js +0 -106
- package/dist/esm/components/Accordion/Group.js +0 -18
- package/dist/esm/components/Accordion/Icon.js +0 -35
- package/dist/esm/components/Accordion/index.js +0 -3
- package/dist/esm/components/Accordion/styles.js +0 -31
- package/dist/esm/components/ActionCard/ActionCard.js +0 -77
- package/dist/esm/components/ActionCard/CloseIconShape.js +0 -11
- package/dist/esm/components/ActionCard/IndicatorIconShape.js +0 -11
- package/dist/esm/components/ActionCard/index.js +0 -1
- package/dist/esm/components/ActionList/ActionList.js +0 -54
- package/dist/esm/components/ActionList/index.js +0 -1
- package/dist/esm/components/ActionList/styled.js +0 -40
- package/dist/esm/components/Badge/Badge.js +0 -70
- package/dist/esm/components/Badge/index.js +0 -1
- package/dist/esm/components/CTAButton/CTAButton.js +0 -90
- package/dist/esm/components/CTAButton/index.js +0 -1
- package/dist/esm/components/CTALink/CTALink.js +0 -18
- package/dist/esm/components/CTALink/index.js +0 -1
- package/dist/esm/components/Card/Card.js +0 -8
- package/dist/esm/components/Card/index.js +0 -1
- package/dist/esm/components/Checkbox/Checkbox.js +0 -74
- package/dist/esm/components/Checkbox/CheckboxField.js +0 -42
- package/dist/esm/components/Checkbox/index.js +0 -2
- package/dist/esm/components/CurrencyField/CurrencyField.js +0 -30
- package/dist/esm/components/CurrencyField/index.js +0 -1
- package/dist/esm/components/CurrencyInput/CurrencyInput.js +0 -34
- package/dist/esm/components/CurrencyInput/index.js +0 -1
- package/dist/esm/components/DataTable/DataTable.js +0 -43
- package/dist/esm/components/DataTable/TableRow.js +0 -33
- package/dist/esm/components/DataTable/index.js +0 -3
- package/dist/esm/components/DataTable/styles.js +0 -61
- package/dist/esm/components/DataTable/types.js +0 -1
- package/dist/esm/components/DateField/DateField.js +0 -63
- package/dist/esm/components/DateField/index.js +0 -1
- package/dist/esm/components/DescriptionList/DescriptionList.js +0 -40
- package/dist/esm/components/DescriptionList/index.js +0 -1
- package/dist/esm/components/DescriptionList/styled.js +0 -58
- package/dist/esm/components/Disclosure/Disclosure.js +0 -55
- package/dist/esm/components/Disclosure/index.js +0 -1
- package/dist/esm/components/Divider/Divider.js +0 -17
- package/dist/esm/components/Divider/index.js +0 -1
- package/dist/esm/components/Em/Em.js +0 -7
- package/dist/esm/components/Em/index.js +0 -1
- package/dist/esm/components/EmailField/EmailField.js +0 -30
- package/dist/esm/components/EmailField/index.js +0 -1
- package/dist/esm/components/EmailInput/EmailInput.js +0 -16
- package/dist/esm/components/EmailInput/index.js +0 -1
- package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +0 -49
- package/dist/esm/components/ErrorSummaryNotification/index.js +0 -1
- package/dist/esm/components/ErrorText/ErrorText.js +0 -17
- package/dist/esm/components/ErrorText/index.js +0 -1
- package/dist/esm/components/Field/Field.js +0 -58
- package/dist/esm/components/Field/index.js +0 -1
- package/dist/esm/components/FilterSelect/FilterSelect.js +0 -52
- package/dist/esm/components/FilterSelect/index.js +0 -1
- package/dist/esm/components/FormGroup/FormGroup.js +0 -37
- package/dist/esm/components/FormGroup/index.js +0 -1
- package/dist/esm/components/Grid/Col.js +0 -33
- package/dist/esm/components/Grid/Row.js +0 -47
- package/dist/esm/components/Grid/index.js +0 -2
- package/dist/esm/components/Heading1/Heading1.js +0 -46
- package/dist/esm/components/Heading1/index.js +0 -1
- package/dist/esm/components/Heading2/Heading2.js +0 -46
- package/dist/esm/components/Heading2/index.js +0 -1
- package/dist/esm/components/Heading3/Heading3.js +0 -46
- package/dist/esm/components/Heading3/index.js +0 -1
- package/dist/esm/components/Heading4/Heading4.js +0 -46
- package/dist/esm/components/Heading4/index.js +0 -1
- package/dist/esm/components/HintText/HintText.js +0 -17
- package/dist/esm/components/HintText/index.js +0 -1
- package/dist/esm/components/Icon/Icon.js +0 -36
- package/dist/esm/components/Icon/index.js +0 -1
- package/dist/esm/components/Input/Input.js +0 -74
- package/dist/esm/components/Label/Label.js +0 -25
- package/dist/esm/components/Label/index.js +0 -1
- package/dist/esm/components/LabelText/LabelText.js +0 -17
- package/dist/esm/components/LabelText/index.js +0 -1
- package/dist/esm/components/Lead/Lead.js +0 -27
- package/dist/esm/components/Lead/index.js +0 -1
- package/dist/esm/components/LineThrough/LineThrough.js +0 -7
- package/dist/esm/components/LineThrough/index.js +0 -1
- package/dist/esm/components/List/List.js +0 -29
- package/dist/esm/components/List/index.js +0 -1
- package/dist/esm/components/List/styled.js +0 -27
- package/dist/esm/components/Margin/Margin.js +0 -46
- package/dist/esm/components/Margin/index.js +0 -1
- package/dist/esm/components/NavHeader/IconButton.js +0 -16
- package/dist/esm/components/NavHeader/NavHeader.js +0 -42
- package/dist/esm/components/NavHeader/NavHeader.styles.js +0 -44
- package/dist/esm/components/NavHeader/index.js +0 -1
- package/dist/esm/components/Notification/Notification.js +0 -78
- package/dist/esm/components/Notification/index.js +0 -1
- package/dist/esm/components/NumberField/NumberField.js +0 -30
- package/dist/esm/components/NumberField/index.js +0 -1
- package/dist/esm/components/NumberInput/NumberInput.js +0 -16
- package/dist/esm/components/NumberInput/index.js +0 -1
- package/dist/esm/components/P/P.js +0 -29
- package/dist/esm/components/P/index.js +0 -1
- package/dist/esm/components/PasswordField/PasswordField.js +0 -30
- package/dist/esm/components/PasswordField/index.js +0 -1
- package/dist/esm/components/PasswordInput/PasswordInput.js +0 -32
- package/dist/esm/components/PasswordInput/PasswordInput.styled.js +0 -12
- package/dist/esm/components/PasswordInput/PasswordVisibilityToggle.js +0 -23
- package/dist/esm/components/PasswordInput/index.js +0 -1
- package/dist/esm/components/PhoneField/PhoneField.js +0 -30
- package/dist/esm/components/PhoneField/index.js +0 -1
- package/dist/esm/components/PhoneInput/PhoneInput.js +0 -15
- package/dist/esm/components/PhoneInput/index.js +0 -1
- package/dist/esm/components/ProductCarousel/NavigationDots.js +0 -50
- package/dist/esm/components/ProductCarousel/ProductCarousel.js +0 -98
- package/dist/esm/components/ProductCarousel/anchor-point.js +0 -49
- package/dist/esm/components/ProductCarousel/index.js +0 -1
- package/dist/esm/components/Radio/Radio.js +0 -62
- package/dist/esm/components/Radio/RadioField.js +0 -46
- package/dist/esm/components/Radio/index.js +0 -2
- package/dist/esm/components/RadioCard/RadioCard.js +0 -66
- package/dist/esm/components/RadioCard/index.js +0 -1
- package/dist/esm/components/SelectField/Select.js +0 -66
- package/dist/esm/components/SelectField/SelectField.js +0 -29
- package/dist/esm/components/SelectField/index.js +0 -1
- package/dist/esm/components/SkeletonAnimation/SkeletonAnimation.js +0 -31
- package/dist/esm/components/SkeletonAnimation/index.js +0 -1
- package/dist/esm/components/SkeletonCTA/SkeletonCTA.js +0 -35
- package/dist/esm/components/SkeletonCTA/index.js +0 -1
- package/dist/esm/components/SkeletonCircle/SkeletonCircle.js +0 -38
- package/dist/esm/components/SkeletonCircle/index.js +0 -1
- package/dist/esm/components/SkeletonHeading/SkeletonHeading.js +0 -34
- package/dist/esm/components/SkeletonHeading/index.js +0 -1
- package/dist/esm/components/SkeletonText/SkeletonText.js +0 -45
- package/dist/esm/components/SkeletonText/index.js +0 -1
- package/dist/esm/components/Small/Small.js +0 -13
- package/dist/esm/components/Small/index.js +0 -1
- package/dist/esm/components/Spinner/Spinner.js +0 -44
- package/dist/esm/components/Spinner/index.js +0 -1
- package/dist/esm/components/Stack/Stack.js +0 -43
- package/dist/esm/components/Stack/index.js +0 -1
- package/dist/esm/components/Stretch/Stretch.js +0 -29
- package/dist/esm/components/Stretch/index.js +0 -1
- package/dist/esm/components/Strong/Strong.js +0 -5
- package/dist/esm/components/Strong/index.js +0 -1
- package/dist/esm/components/SubLabelText/SubLabelText.js +0 -17
- package/dist/esm/components/SubLabelText/index.js +0 -1
- package/dist/esm/components/Tabs/Tab.js +0 -53
- package/dist/esm/components/Tabs/TabList.js +0 -51
- package/dist/esm/components/Tabs/TabPanel.js +0 -38
- package/dist/esm/components/Tabs/Tabs.js +0 -72
- package/dist/esm/components/Tabs/index.js +0 -4
- package/dist/esm/components/TextField/TextField.js +0 -30
- package/dist/esm/components/TextField/index.js +0 -1
- package/dist/esm/components/TextGroup/TextGroup.js +0 -39
- package/dist/esm/components/TextGroup/index.js +0 -1
- package/dist/esm/components/TextInput/TextInput.js +0 -16
- package/dist/esm/components/TextInput/index.js +0 -1
- package/dist/esm/components/TextLink/TextLink.js +0 -49
- package/dist/esm/components/TextLink/index.js +0 -1
- package/dist/esm/components/TextareaField/TextareaField.js +0 -30
- package/dist/esm/components/TextareaField/index.js +0 -1
- package/dist/esm/components/TextareaInput/TextareaInput.js +0 -41
- package/dist/esm/components/TextareaInput/index.js +0 -1
- package/dist/esm/components/Toast/Toast.js +0 -141
- package/dist/esm/components/Toast/index.js +0 -1
- package/dist/esm/components/Toggle/Toggle.js +0 -53
- package/dist/esm/components/Toggle/index.js +0 -1
- package/dist/esm/components/Toggle/styles.js +0 -23
- package/dist/esm/components/index.js +0 -62
- package/dist/esm/hooks/index.js +0 -2
- package/dist/esm/hooks/use-breakpoint.js +0 -12
- package/dist/esm/hooks/use-full-width.js +0 -16
- package/dist/esm/hooks/use-layout.js +0 -16
- package/dist/esm/index.js +0 -3
- package/dist/esm/providers/IconsProvider.js +0 -115
- package/dist/esm/providers/icons/Address.js +0 -14
- package/dist/esm/providers/icons/Advice.js +0 -14
- package/dist/esm/providers/icons/Archive.js +0 -14
- package/dist/esm/providers/icons/ArrowDown.js +0 -14
- package/dist/esm/providers/icons/ArrowLeft.js +0 -14
- package/dist/esm/providers/icons/ArrowRight.js +0 -14
- package/dist/esm/providers/icons/ArrowUp.js +0 -14
- package/dist/esm/providers/icons/Award.js +0 -14
- package/dist/esm/providers/icons/Battery.js +0 -14
- package/dist/esm/providers/icons/Cal.js +0 -14
- package/dist/esm/providers/icons/CalBook.js +0 -14
- package/dist/esm/providers/icons/CaretDown.js +0 -14
- package/dist/esm/providers/icons/CaretLeft.js +0 -14
- package/dist/esm/providers/icons/CaretRight.js +0 -14
- package/dist/esm/providers/icons/CaretUp.js +0 -14
- package/dist/esm/providers/icons/Chart.js +0 -14
- package/dist/esm/providers/icons/ChartFilled.js +0 -14
- package/dist/esm/providers/icons/Check.js +0 -14
- package/dist/esm/providers/icons/CheckCircle.js +0 -14
- package/dist/esm/providers/icons/ChevronDown.js +0 -14
- package/dist/esm/providers/icons/ChevronLeft.js +0 -14
- package/dist/esm/providers/icons/ChevronLeftSmall.js +0 -14
- package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +0 -14
- package/dist/esm/providers/icons/ChevronRight.js +0 -14
- package/dist/esm/providers/icons/ChevronRightSmall.js +0 -14
- package/dist/esm/providers/icons/ChevronRightSmallLast.js +0 -14
- package/dist/esm/providers/icons/ChevronUp.js +0 -14
- package/dist/esm/providers/icons/Circle.js +0 -14
- package/dist/esm/providers/icons/CloseCircle.js +0 -14
- package/dist/esm/providers/icons/Cross.js +0 -14
- package/dist/esm/providers/icons/Doc.js +0 -14
- package/dist/esm/providers/icons/Dollar.js +0 -14
- package/dist/esm/providers/icons/Download.js +0 -14
- package/dist/esm/providers/icons/Eco.js +0 -14
- package/dist/esm/providers/icons/EcoHome.js +0 -14
- package/dist/esm/providers/icons/Edit.js +0 -14
- package/dist/esm/providers/icons/ElectricCar.js +0 -14
- package/dist/esm/providers/icons/ElectricHome.js +0 -14
- package/dist/esm/providers/icons/Electricity.js +0 -14
- package/dist/esm/providers/icons/EnergyAdvice.js +0 -14
- package/dist/esm/providers/icons/Equals.js +0 -14
- package/dist/esm/providers/icons/Euro.js +0 -14
- package/dist/esm/providers/icons/Gas.js +0 -14
- package/dist/esm/providers/icons/GlobeAddress.js +0 -14
- package/dist/esm/providers/icons/Help.js +0 -14
- package/dist/esm/providers/icons/HelpFilled.js +0 -14
- package/dist/esm/providers/icons/Hide.js +0 -14
- package/dist/esm/providers/icons/Home.js +0 -14
- package/dist/esm/providers/icons/HomeFilled.js +0 -14
- package/dist/esm/providers/icons/HydroPower.js +0 -14
- package/dist/esm/providers/icons/Info.js +0 -14
- package/dist/esm/providers/icons/Link.js +0 -14
- package/dist/esm/providers/icons/Logo.js +0 -14
- package/dist/esm/providers/icons/Mail.js +0 -14
- package/dist/esm/providers/icons/MailOpen.js +0 -14
- package/dist/esm/providers/icons/Menu.js +0 -14
- package/dist/esm/providers/icons/Message.js +0 -14
- package/dist/esm/providers/icons/MessageFilled.js +0 -14
- package/dist/esm/providers/icons/Minus.js +0 -14
- package/dist/esm/providers/icons/Mobile.js +0 -14
- package/dist/esm/providers/icons/NewWindow.js +0 -14
- package/dist/esm/providers/icons/PaymentCard.js +0 -14
- package/dist/esm/providers/icons/PaymentCardFilled.js +0 -14
- package/dist/esm/providers/icons/Phone.js +0 -14
- package/dist/esm/providers/icons/Plus.js +0 -14
- package/dist/esm/providers/icons/Pound.js +0 -14
- package/dist/esm/providers/icons/Pricing.js +0 -14
- package/dist/esm/providers/icons/Search.js +0 -14
- package/dist/esm/providers/icons/Security.js +0 -14
- package/dist/esm/providers/icons/Show.js +0 -14
- package/dist/esm/providers/icons/SmartHome.js +0 -14
- package/dist/esm/providers/icons/SmartMeter.js +0 -14
- package/dist/esm/providers/icons/Solar.js +0 -14
- package/dist/esm/providers/icons/Star.js +0 -14
- package/dist/esm/providers/icons/StarFilled.js +0 -14
- package/dist/esm/providers/icons/Sun.js +0 -14
- package/dist/esm/providers/icons/Torch.js +0 -14
- package/dist/esm/providers/icons/Trees.js +0 -14
- package/dist/esm/providers/icons/Tune.js +0 -14
- package/dist/esm/providers/icons/User.js +0 -14
- package/dist/esm/providers/icons/UserFilled.js +0 -14
- package/dist/esm/providers/icons/Wallet.js +0 -14
- package/dist/esm/providers/icons/WalletFilled.js +0 -14
- package/dist/esm/providers/icons/WarmHome.js +0 -14
- package/dist/esm/providers/icons/Warning.js +0 -14
- package/dist/esm/providers/icons/WebAddress.js +0 -14
- package/dist/esm/providers/icons/WindPower.js +0 -14
- package/dist/esm/providers/icons/index.js +0 -87
- package/dist/esm/providers/index.js +0 -2
- package/dist/esm/providers/types.js +0 -1
- package/dist/esm/styled.native.js +0 -4
- package/dist/esm/theme/index.js +0 -1
- package/dist/esm/utils/index.js +0 -1
- package/dist/esm/utils/utils.js +0 -95
- package/dist/providers/icons/HelpFilled.d.ts +0 -2
- package/dist/providers/icons/HelpFilled.js +0 -41
- package/dist/providers/icons/PaymentCardFilled.d.ts +0 -2
- package/dist/providers/icons/PaymentCardFilled.js +0 -41
- package/dist/providers/icons/StarFilled.d.ts +0 -2
- package/dist/providers/icons/StarFilled.js +0 -41
- /package/dist/{esm/components/Accordion/types.js → components/components.spec.native.d.ts} +0 -0
package/dist/theme/index.js
CHANGED
|
@@ -1,17 +1,972 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { c as s, n as l, p as i, b as t, r as n, a as o } from "../utils-HsZygzDh.js";
|
|
2
|
+
import { t as g } from "../theme-native--5aKgQLJ.js";
|
|
3
|
+
import { t as u } from "../theme-web-MrdqV6Ln.js";
|
|
4
|
+
var e = {
|
|
5
|
+
core: {
|
|
6
|
+
color: {
|
|
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
|
|
7
226
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
227
|
+
},
|
|
228
|
+
semantic: {
|
|
229
|
+
border: {
|
|
230
|
+
graphic: "#FFFFFF",
|
|
231
|
+
differentiated: "#EBE7E3",
|
|
232
|
+
functional: "#494B41"
|
|
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
|
|
15
972
|
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("@ovotech/element-core"), exports);
|