@ovotech/element-native 2.2.0-canary-668a0ee-91 → 2.2.0
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 +2 -2
- package/dist/components/Accordion/Accordion.js +24 -21
- package/dist/components/Accordion/Group.js +32 -10
- package/dist/components/Accordion/Icon.js +14 -19
- package/dist/components/Accordion/hooks.d.ts +1 -1
- package/dist/components/Accordion/hooks.js +26 -3
- package/dist/components/Accordion/styles.d.ts +46 -688
- package/dist/components/Accordion/styles.js +49 -56
- package/dist/components/Badge/Badge.d.ts +46 -54
- package/dist/components/Badge/Badge.js +20 -35
- package/dist/components/CTAButton/CTAButton.d.ts +12 -7
- package/dist/components/CTAButton/CTAButton.js +27 -23
- package/dist/components/CTALink/CTALink.d.ts +4 -4
- package/dist/components/CTALink/CTALink.js +27 -5
- package/dist/components/Card/Card.d.ts +45 -47
- package/dist/components/Card/Card.js +25 -5
- package/dist/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.js +57 -18
- package/dist/components/Checkbox/CheckboxField.js +37 -7
- package/dist/components/DataTable/DataTable.d.ts +12 -3
- package/dist/components/DataTable/DataTable.js +98 -11
- package/dist/components/DataTable/index.d.ts +0 -2
- package/dist/components/DataTable/index.js +0 -16
- package/dist/components/DateField/DateField.d.ts +2 -2
- package/dist/components/DateField/DateField.js +28 -9
- package/dist/components/DescriptionList/DescriptionList.js +32 -8
- package/dist/components/DescriptionList/styled.d.ts +44 -50
- package/dist/components/DescriptionList/styled.js +34 -9
- package/dist/components/Disclosure/Disclosure.d.ts +3 -3
- package/dist/components/Disclosure/Disclosure.js +18 -12
- package/dist/components/Divider/Divider.js +7 -4
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +1 -1
- package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +28 -6
- package/dist/components/ErrorText/ErrorText.d.ts +39 -45
- package/dist/components/ErrorText/ErrorText.js +4 -7
- package/dist/components/Field/Field.d.ts +2 -2
- package/dist/components/Field/Field.js +49 -18
- package/dist/components/FormGroup/FormGroup.js +3 -2
- package/dist/components/Grid/Col.d.ts +39 -45
- package/dist/components/Grid/Col.js +3 -4
- package/dist/components/Grid/Row.d.ts +41 -47
- package/dist/components/Grid/Row.js +10 -7
- package/dist/components/Heading/Heading.js +32 -21
- package/dist/components/HintText/HintText.d.ts +39 -45
- package/dist/components/HintText/HintText.js +4 -7
- package/dist/components/Icon/Icon.d.ts +4 -3
- package/dist/components/Icon/Icon.js +27 -5
- package/dist/components/Input/CurrencyInput.d.ts +6 -6
- package/dist/components/Input/CurrencyInput.js +25 -3
- package/dist/components/Input/EmailInput.d.ts +6 -6
- package/dist/components/Input/EmailInput.js +25 -3
- package/dist/components/Input/Input.d.ts +8 -8
- package/dist/components/Input/Input.js +32 -26
- package/dist/components/Input/NumberInput.d.ts +6 -6
- package/dist/components/Input/NumberInput.js +25 -3
- package/dist/components/Input/PasswordInput.d.ts +6 -6
- package/dist/components/Input/PasswordInput.js +25 -3
- package/dist/components/Input/PasswordInput.styled.d.ts +39 -45
- package/dist/components/Input/PasswordInput.styled.js +5 -2
- package/dist/components/Input/PasswordVisibilityToggle.js +29 -14
- package/dist/components/Input/TelInput.d.ts +10 -0
- package/dist/components/Input/TelInput.js +41 -0
- package/dist/components/Input/TextInput.d.ts +6 -6
- package/dist/components/Input/TextInput.js +25 -3
- package/dist/components/Input/TextareaInput.d.ts +6 -6
- package/dist/components/Input/TextareaInput.js +10 -13
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.js +3 -3
- package/dist/components/LabelText/LabelText.d.ts +39 -45
- package/dist/components/LabelText/LabelText.js +4 -5
- package/dist/components/List/List.d.ts +131 -149
- package/dist/components/List/List.js +44 -30
- package/dist/components/Margin/Margin.d.ts +39 -45
- package/dist/components/Margin/Margin.js +3 -3
- package/dist/components/NavHeader/NavHeader.d.ts +1 -1
- package/dist/components/NavHeader/NavHeader.js +35 -34
- package/dist/components/Notification/Notification.d.ts +100 -104
- package/dist/components/Notification/Notification.js +49 -32
- package/dist/components/Radio/Radio.d.ts +3 -3
- package/dist/components/Radio/Radio.js +61 -16
- package/dist/components/Radio/RadioField.js +41 -11
- package/dist/components/SkeletonLoading/Skeleton.d.ts +39 -45
- package/dist/components/SkeletonLoading/SkeletonAnimation.js +33 -22
- package/dist/components/SkeletonLoading/SkeletonCTA.js +5 -4
- package/dist/components/SkeletonLoading/SkeletonCircle.js +6 -4
- package/dist/components/SkeletonLoading/SkeletonHeading.js +5 -4
- package/dist/components/SkeletonLoading/SkeletonText.js +5 -5
- package/dist/components/Stack/Stack.js +28 -6
- package/dist/components/Stretch/Stretch.js +2 -2
- package/dist/components/SubLabelText/SubLabelText.d.ts +39 -45
- package/dist/components/SubLabelText/SubLabelText.js +4 -5
- package/dist/components/SummaryList/SummaryList.js +32 -8
- package/dist/components/Tabs/Tab.d.ts +4 -4
- package/dist/components/Tabs/Tab.js +20 -23
- package/dist/components/Tabs/TabList.d.ts +222 -11
- package/dist/components/Tabs/TabList.js +18 -22
- package/dist/components/Tabs/TabPanel.js +10 -33
- package/dist/components/Tabs/Tabs.d.ts +227 -8
- package/dist/components/Tabs/Tabs.js +23 -26
- package/dist/components/Text/Text.d.ts +204 -234
- package/dist/components/Text/Text.js +20 -17
- package/dist/components/TextField/CurrencyField.d.ts +6 -6
- package/dist/components/TextField/CurrencyField.js +26 -3
- package/dist/components/TextField/EmailField.d.ts +6 -6
- package/dist/components/TextField/EmailField.js +26 -3
- package/dist/components/TextField/NumberField.d.ts +6 -6
- package/dist/components/TextField/NumberField.js +26 -3
- package/dist/components/TextField/PasswordField.d.ts +6 -6
- package/dist/components/TextField/PasswordField.js +26 -3
- package/dist/components/TextField/TelField.d.ts +6 -10
- package/dist/components/TextField/TelField.js +27 -9
- package/dist/components/TextField/TextField.d.ts +6 -6
- package/dist/components/TextField/TextField.js +26 -3
- package/dist/components/TextField/TextareaField.d.ts +6 -6
- package/dist/components/TextField/TextareaField.js +26 -3
- package/dist/components/TextField/index.d.ts +0 -1
- package/dist/components/TextField/index.js +1 -3
- package/dist/components/TextLink/TextLink.d.ts +4 -4
- package/dist/components/TextLink/TextLink.js +8 -5
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/esm/components/Accordion/Accordion.js +26 -23
- package/dist/esm/components/Accordion/Group.js +9 -10
- package/dist/esm/components/Accordion/Icon.js +12 -20
- package/dist/esm/components/Accordion/hooks.js +3 -3
- package/dist/esm/components/Accordion/styles.js +48 -29
- package/dist/esm/components/Badge/Badge.js +17 -35
- package/dist/esm/components/CTAButton/CTAButton.js +28 -24
- package/dist/esm/components/CTALink/CTALink.js +4 -5
- package/dist/esm/components/Card/Card.js +25 -5
- package/dist/esm/components/Checkbox/Checkbox.js +34 -15
- package/dist/esm/components/Checkbox/CheckboxField.js +14 -7
- package/dist/esm/components/DataTable/DataTable.js +74 -10
- package/dist/esm/components/DataTable/index.js +0 -2
- package/dist/esm/components/DateField/DateField.js +28 -9
- package/dist/esm/components/DescriptionList/DescriptionList.js +9 -8
- package/dist/esm/components/DescriptionList/styled.js +31 -9
- package/dist/esm/components/Disclosure/Disclosure.js +19 -13
- package/dist/esm/components/Divider/Divider.js +4 -4
- package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +5 -6
- package/dist/esm/components/ErrorText/ErrorText.js +4 -7
- package/dist/esm/components/Field/Field.js +26 -18
- package/dist/esm/components/FormGroup/FormGroup.js +3 -2
- package/dist/esm/components/Grid/Col.js +3 -4
- package/dist/esm/components/Grid/Row.js +7 -7
- package/dist/esm/components/Heading/Heading.js +29 -21
- package/dist/esm/components/HintText/HintText.js +4 -7
- package/dist/esm/components/Icon/Icon.js +4 -5
- package/dist/esm/components/Input/CurrencyInput.js +2 -3
- package/dist/esm/components/Input/EmailInput.js +2 -3
- package/dist/esm/components/Input/Input.js +33 -27
- package/dist/esm/components/Input/NumberInput.js +2 -3
- package/dist/esm/components/Input/PasswordInput.js +2 -3
- package/dist/esm/components/Input/PasswordInput.styled.js +5 -2
- package/dist/esm/components/Input/PasswordVisibilityToggle.js +7 -15
- package/dist/esm/components/Input/{PhoneInput.js → TelInput.js} +3 -4
- package/dist/esm/components/Input/TextInput.js +2 -3
- package/dist/esm/components/Input/TextareaInput.js +10 -13
- package/dist/esm/components/Input/index.js +1 -1
- package/dist/esm/components/LabelText/LabelText.js +4 -5
- package/dist/esm/components/List/List.js +45 -31
- package/dist/esm/components/Margin/Margin.js +3 -3
- package/dist/esm/components/NavHeader/NavHeader.js +32 -34
- package/dist/esm/components/Notification/Notification.js +50 -33
- package/dist/esm/components/Radio/Radio.js +38 -16
- package/dist/esm/components/Radio/RadioField.js +18 -11
- package/dist/esm/components/SkeletonLoading/SkeletonAnimation.js +11 -23
- package/dist/esm/components/SkeletonLoading/SkeletonCTA.js +5 -4
- package/dist/esm/components/SkeletonLoading/SkeletonCircle.js +6 -4
- package/dist/esm/components/SkeletonLoading/SkeletonHeading.js +5 -4
- package/dist/esm/components/SkeletonLoading/SkeletonText.js +5 -5
- package/dist/esm/components/Stack/Stack.js +5 -6
- package/dist/esm/components/Stretch/Stretch.js +2 -2
- package/dist/esm/components/SubLabelText/SubLabelText.js +4 -5
- package/dist/esm/components/SummaryList/SummaryList.js +9 -8
- package/dist/esm/components/Tabs/Tab.js +17 -23
- package/dist/esm/components/Tabs/TabList.js +18 -21
- package/dist/esm/components/Tabs/TabPanel.js +7 -10
- package/dist/esm/components/Tabs/Tabs.js +23 -25
- package/dist/esm/components/Text/Text.js +20 -17
- package/dist/esm/components/TextField/CurrencyField.js +3 -3
- package/dist/esm/components/TextField/EmailField.js +3 -3
- package/dist/esm/components/TextField/NumberField.js +3 -3
- package/dist/esm/components/TextField/PasswordField.js +3 -3
- package/dist/esm/components/TextField/TelField.js +4 -9
- package/dist/esm/components/TextField/TextField.js +3 -3
- package/dist/esm/components/TextField/TextareaField.js +3 -3
- package/dist/esm/components/TextField/index.js +0 -1
- package/dist/esm/components/TextLink/TextLink.js +8 -5
- package/dist/esm/components/index.js +0 -1
- package/dist/esm/hooks/use-breakpoint.js +4 -4
- package/dist/esm/providers/IconsProvider.js +2 -3
- package/dist/esm/providers/icons/ArrowDown.js +3 -2
- package/dist/esm/providers/icons/ArrowLeft.js +3 -2
- package/dist/esm/providers/icons/ArrowRight.js +3 -2
- package/dist/esm/providers/icons/ArrowUp.js +3 -2
- package/dist/esm/providers/icons/CaretDown.js +3 -2
- package/dist/esm/providers/icons/CaretLeft.js +3 -2
- package/dist/esm/providers/icons/CaretRight.js +3 -2
- package/dist/esm/providers/icons/CaretUp.js +3 -2
- package/dist/esm/providers/icons/Chart.js +3 -2
- package/dist/esm/providers/icons/Check.js +3 -2
- package/dist/esm/providers/icons/ChevronDown.js +3 -2
- package/dist/esm/providers/icons/ChevronLeft.js +3 -2
- package/dist/esm/providers/icons/ChevronLeftSmall.js +3 -2
- package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +3 -2
- package/dist/esm/providers/icons/ChevronRight.js +3 -2
- package/dist/esm/providers/icons/ChevronRightSmall.js +3 -2
- package/dist/esm/providers/icons/ChevronRightSmallLast.js +3 -2
- package/dist/esm/providers/icons/ChevronUp.js +3 -2
- package/dist/esm/providers/icons/Cross.js +3 -2
- package/dist/esm/providers/icons/Dollar.js +3 -2
- package/dist/esm/providers/icons/Download.js +3 -2
- package/dist/esm/providers/icons/Electricity.js +3 -2
- package/dist/esm/providers/icons/Euro.js +3 -2
- package/dist/esm/providers/icons/Gas.js +4 -2
- package/dist/esm/providers/icons/Help.js +3 -2
- package/dist/esm/providers/icons/Hide.js +3 -2
- package/dist/esm/providers/icons/Home.js +3 -2
- package/dist/esm/providers/icons/Info.js +3 -2
- package/dist/esm/providers/icons/Link.js +4 -2
- package/dist/esm/providers/icons/Logo.js +4 -3
- package/dist/esm/providers/icons/Minus.js +3 -2
- package/dist/esm/providers/icons/NewWindow.js +3 -2
- package/dist/esm/providers/icons/PaymentCard.js +3 -2
- package/dist/esm/providers/icons/Plus.js +3 -2
- package/dist/esm/providers/icons/Pound.js +3 -2
- package/dist/esm/providers/icons/Search.js +3 -2
- package/dist/esm/providers/icons/Show.js +3 -2
- package/dist/esm/providers/icons/User.js +3 -2
- package/dist/esm/theme/create-theme.js +153 -0
- package/dist/esm/utils/utils.js +3 -7
- package/dist/hooks/use-breakpoint.js +4 -4
- package/dist/providers/IconsProvider.js +25 -3
- package/dist/providers/icons/ArrowDown.js +6 -2
- package/dist/providers/icons/ArrowLeft.js +6 -2
- package/dist/providers/icons/ArrowRight.js +6 -2
- package/dist/providers/icons/ArrowUp.js +6 -2
- package/dist/providers/icons/CaretDown.js +6 -2
- package/dist/providers/icons/CaretLeft.js +6 -2
- package/dist/providers/icons/CaretRight.js +6 -2
- package/dist/providers/icons/CaretUp.js +6 -2
- package/dist/providers/icons/Chart.js +6 -2
- package/dist/providers/icons/Check.js +6 -2
- package/dist/providers/icons/ChevronDown.js +6 -2
- package/dist/providers/icons/ChevronLeft.js +6 -2
- package/dist/providers/icons/ChevronLeftSmall.js +6 -2
- package/dist/providers/icons/ChevronLeftSmallFirst.js +6 -2
- package/dist/providers/icons/ChevronRight.js +6 -2
- package/dist/providers/icons/ChevronRightSmall.js +6 -2
- package/dist/providers/icons/ChevronRightSmallLast.js +6 -2
- package/dist/providers/icons/ChevronUp.js +6 -2
- package/dist/providers/icons/Cross.js +6 -2
- package/dist/providers/icons/Dollar.js +6 -2
- package/dist/providers/icons/Download.js +6 -2
- package/dist/providers/icons/Electricity.js +6 -2
- package/dist/providers/icons/Euro.js +6 -2
- package/dist/providers/icons/Gas.js +7 -2
- package/dist/providers/icons/Help.js +6 -2
- package/dist/providers/icons/Hide.js +6 -2
- package/dist/providers/icons/Home.js +6 -2
- package/dist/providers/icons/Info.js +6 -2
- package/dist/providers/icons/Link.js +7 -2
- package/dist/providers/icons/Logo.js +6 -2
- package/dist/providers/icons/Minus.js +6 -2
- package/dist/providers/icons/NewWindow.js +6 -2
- package/dist/providers/icons/PaymentCard.js +6 -2
- package/dist/providers/icons/Plus.js +6 -2
- package/dist/providers/icons/Pound.js +6 -2
- package/dist/providers/icons/Search.js +6 -2
- package/dist/providers/icons/Show.js +6 -2
- package/dist/providers/icons/User.js +6 -2
- package/dist/styled.native.d.ts +234 -270
- package/dist/theme/create-theme.js +153 -0
- package/dist/theme/index.d.ts +39 -45
- package/dist/theme/theme.d.ts +90 -0
- package/dist/utils/utils.d.ts +4 -5
- package/dist/utils/utils.js +26 -8
- package/package.json +5 -6
- package/dist/components/DataTable/TableRow.d.ts +0 -2
- package/dist/components/DataTable/TableRow.js +0 -31
- package/dist/components/DataTable/styles.d.ts +0 -2517
- package/dist/components/DataTable/styles.js +0 -77
- package/dist/components/DataTable/types.d.ts +0 -15
- package/dist/components/DataTable/types.js +0 -2
- package/dist/components/Input/PhoneInput.d.ts +0 -10
- package/dist/components/Input/PhoneInput.js +0 -19
- package/dist/components/SelectField/Select.d.ts +0 -244
- package/dist/components/SelectField/Select.js +0 -102
- package/dist/components/SelectField/SelectField.d.ts +0 -7
- package/dist/components/SelectField/SelectField.js +0 -33
- package/dist/components/SelectField/index.d.ts +0 -1
- package/dist/components/SelectField/index.js +0 -5
- package/dist/components/TextField/PhoneField.d.ts +0 -10
- package/dist/components/TextField/PhoneField.js +0 -33
- package/dist/esm/components/DataTable/TableRow.js +0 -27
- package/dist/esm/components/DataTable/styles.js +0 -51
- package/dist/esm/components/DataTable/types.js +0 -1
- package/dist/esm/components/SelectField/Select.js +0 -75
- package/dist/esm/components/SelectField/SelectField.js +0 -29
- package/dist/esm/components/SelectField/index.js +0 -1
- package/dist/esm/components/TextField/PhoneField.js +0 -30
package/dist/styled.native.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
7
7
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
8
8
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
9
9
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
10
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
10
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
11
11
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
12
|
-
opacity: Record<"
|
|
13
|
-
color: Record<"
|
|
12
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
13
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
14
14
|
lightest: string;
|
|
15
15
|
lighter: string;
|
|
16
16
|
light: string;
|
|
@@ -26,53 +26,71 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
26
26
|
web: string;
|
|
27
27
|
}>;
|
|
28
28
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
29
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
29
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
30
30
|
small: string | number;
|
|
31
31
|
large: string | number;
|
|
32
32
|
}>;
|
|
33
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
33
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
34
34
|
small: string | number;
|
|
35
35
|
large: string | number;
|
|
36
36
|
}>;
|
|
37
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
38
37
|
};
|
|
39
38
|
semantic: {
|
|
40
39
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
41
40
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
42
41
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
43
|
-
focus: Record<"
|
|
44
|
-
inverted: Record<"
|
|
42
|
+
focus: Record<"outline" | "surface", string>;
|
|
43
|
+
inverted: Record<"surface" | "border", string> & {
|
|
45
44
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
46
45
|
};
|
|
47
46
|
success: {
|
|
48
47
|
border: string;
|
|
49
48
|
surface: string;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
message: {
|
|
50
|
+
base: string;
|
|
51
|
+
secondary: string;
|
|
52
|
+
};
|
|
53
53
|
};
|
|
54
54
|
warning: {
|
|
55
55
|
border: string;
|
|
56
56
|
surface: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
message: {
|
|
58
|
+
base: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
};
|
|
60
61
|
};
|
|
61
62
|
error: {
|
|
62
63
|
border: string;
|
|
63
64
|
surface: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
message: {
|
|
66
|
+
base: string;
|
|
67
|
+
secondary: string;
|
|
68
|
+
};
|
|
67
69
|
};
|
|
68
70
|
info: {
|
|
69
71
|
border: string;
|
|
70
72
|
surface: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
message: {
|
|
74
|
+
base: string;
|
|
75
|
+
secondary: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
electricity: {
|
|
79
|
+
border: string;
|
|
80
|
+
surface: string;
|
|
81
|
+
message: {
|
|
82
|
+
base: string;
|
|
83
|
+
secondary: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
gas: {
|
|
87
|
+
border: string;
|
|
88
|
+
surface: string;
|
|
89
|
+
message: {
|
|
90
|
+
base: string;
|
|
91
|
+
secondary: string;
|
|
92
|
+
};
|
|
74
93
|
};
|
|
75
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
76
94
|
};
|
|
77
95
|
component: {
|
|
78
96
|
heading1: {
|
|
@@ -203,30 +221,6 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
203
221
|
backgroundFocused: string;
|
|
204
222
|
};
|
|
205
223
|
};
|
|
206
|
-
badge: {
|
|
207
|
-
variants: {
|
|
208
|
-
red: {
|
|
209
|
-
foreground: string;
|
|
210
|
-
background: string;
|
|
211
|
-
};
|
|
212
|
-
orange: {
|
|
213
|
-
foreground: string;
|
|
214
|
-
background: string;
|
|
215
|
-
};
|
|
216
|
-
yellow: {
|
|
217
|
-
foreground: string;
|
|
218
|
-
background: string;
|
|
219
|
-
};
|
|
220
|
-
green: {
|
|
221
|
-
foreground: string;
|
|
222
|
-
background: string;
|
|
223
|
-
};
|
|
224
|
-
blue: {
|
|
225
|
-
foreground: string;
|
|
226
|
-
background: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
224
|
};
|
|
231
225
|
}>, css: import("styled-components").ThemedCssFunction<import("./theme/theme").Theme & {
|
|
232
226
|
core: {
|
|
@@ -234,10 +228,10 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
234
228
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
235
229
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
236
230
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
237
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
231
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
238
232
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
239
|
-
opacity: Record<"
|
|
240
|
-
color: Record<"
|
|
233
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
234
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
241
235
|
lightest: string;
|
|
242
236
|
lighter: string;
|
|
243
237
|
light: string;
|
|
@@ -253,53 +247,71 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
253
247
|
web: string;
|
|
254
248
|
}>;
|
|
255
249
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
256
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
250
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
257
251
|
small: string | number;
|
|
258
252
|
large: string | number;
|
|
259
253
|
}>;
|
|
260
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
254
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
261
255
|
small: string | number;
|
|
262
256
|
large: string | number;
|
|
263
257
|
}>;
|
|
264
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
265
258
|
};
|
|
266
259
|
semantic: {
|
|
267
260
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
268
261
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
269
262
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
270
|
-
focus: Record<"
|
|
271
|
-
inverted: Record<"
|
|
263
|
+
focus: Record<"outline" | "surface", string>;
|
|
264
|
+
inverted: Record<"surface" | "border", string> & {
|
|
272
265
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
273
266
|
};
|
|
274
267
|
success: {
|
|
275
268
|
border: string;
|
|
276
269
|
surface: string;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
270
|
+
message: {
|
|
271
|
+
base: string;
|
|
272
|
+
secondary: string;
|
|
273
|
+
};
|
|
280
274
|
};
|
|
281
275
|
warning: {
|
|
282
276
|
border: string;
|
|
283
277
|
surface: string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
278
|
+
message: {
|
|
279
|
+
base: string;
|
|
280
|
+
secondary: string;
|
|
281
|
+
};
|
|
287
282
|
};
|
|
288
283
|
error: {
|
|
289
284
|
border: string;
|
|
290
285
|
surface: string;
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
286
|
+
message: {
|
|
287
|
+
base: string;
|
|
288
|
+
secondary: string;
|
|
289
|
+
};
|
|
294
290
|
};
|
|
295
291
|
info: {
|
|
296
292
|
border: string;
|
|
297
293
|
surface: string;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
294
|
+
message: {
|
|
295
|
+
base: string;
|
|
296
|
+
secondary: string;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
electricity: {
|
|
300
|
+
border: string;
|
|
301
|
+
surface: string;
|
|
302
|
+
message: {
|
|
303
|
+
base: string;
|
|
304
|
+
secondary: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
gas: {
|
|
308
|
+
border: string;
|
|
309
|
+
surface: string;
|
|
310
|
+
message: {
|
|
311
|
+
base: string;
|
|
312
|
+
secondary: string;
|
|
313
|
+
};
|
|
301
314
|
};
|
|
302
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
303
315
|
};
|
|
304
316
|
component: {
|
|
305
317
|
heading1: {
|
|
@@ -430,30 +442,6 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
430
442
|
backgroundFocused: string;
|
|
431
443
|
};
|
|
432
444
|
};
|
|
433
|
-
badge: {
|
|
434
|
-
variants: {
|
|
435
|
-
red: {
|
|
436
|
-
foreground: string;
|
|
437
|
-
background: string;
|
|
438
|
-
};
|
|
439
|
-
orange: {
|
|
440
|
-
foreground: string;
|
|
441
|
-
background: string;
|
|
442
|
-
};
|
|
443
|
-
yellow: {
|
|
444
|
-
foreground: string;
|
|
445
|
-
background: string;
|
|
446
|
-
};
|
|
447
|
-
green: {
|
|
448
|
-
foreground: string;
|
|
449
|
-
background: string;
|
|
450
|
-
};
|
|
451
|
-
blue: {
|
|
452
|
-
foreground: string;
|
|
453
|
-
background: string;
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
445
|
};
|
|
458
446
|
}>, ThemeProvider: import("styled-components").ThemeProviderComponent<import("./theme/theme").Theme & {
|
|
459
447
|
core: {
|
|
@@ -461,10 +449,10 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
461
449
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
462
450
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
463
451
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
464
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
452
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
465
453
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
466
|
-
opacity: Record<"
|
|
467
|
-
color: Record<"
|
|
454
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
455
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
468
456
|
lightest: string;
|
|
469
457
|
lighter: string;
|
|
470
458
|
light: string;
|
|
@@ -480,53 +468,71 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
480
468
|
web: string;
|
|
481
469
|
}>;
|
|
482
470
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
483
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
471
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
484
472
|
small: string | number;
|
|
485
473
|
large: string | number;
|
|
486
474
|
}>;
|
|
487
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
475
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
488
476
|
small: string | number;
|
|
489
477
|
large: string | number;
|
|
490
478
|
}>;
|
|
491
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
492
479
|
};
|
|
493
480
|
semantic: {
|
|
494
481
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
495
482
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
496
483
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
497
|
-
focus: Record<"
|
|
498
|
-
inverted: Record<"
|
|
484
|
+
focus: Record<"outline" | "surface", string>;
|
|
485
|
+
inverted: Record<"surface" | "border", string> & {
|
|
499
486
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
500
487
|
};
|
|
501
488
|
success: {
|
|
502
489
|
border: string;
|
|
503
490
|
surface: string;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
491
|
+
message: {
|
|
492
|
+
base: string;
|
|
493
|
+
secondary: string;
|
|
494
|
+
};
|
|
507
495
|
};
|
|
508
496
|
warning: {
|
|
509
497
|
border: string;
|
|
510
498
|
surface: string;
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
499
|
+
message: {
|
|
500
|
+
base: string;
|
|
501
|
+
secondary: string;
|
|
502
|
+
};
|
|
514
503
|
};
|
|
515
504
|
error: {
|
|
516
505
|
border: string;
|
|
517
506
|
surface: string;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
507
|
+
message: {
|
|
508
|
+
base: string;
|
|
509
|
+
secondary: string;
|
|
510
|
+
};
|
|
521
511
|
};
|
|
522
512
|
info: {
|
|
523
513
|
border: string;
|
|
524
514
|
surface: string;
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
515
|
+
message: {
|
|
516
|
+
base: string;
|
|
517
|
+
secondary: string;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
electricity: {
|
|
521
|
+
border: string;
|
|
522
|
+
surface: string;
|
|
523
|
+
message: {
|
|
524
|
+
base: string;
|
|
525
|
+
secondary: string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
gas: {
|
|
529
|
+
border: string;
|
|
530
|
+
surface: string;
|
|
531
|
+
message: {
|
|
532
|
+
base: string;
|
|
533
|
+
secondary: string;
|
|
534
|
+
};
|
|
528
535
|
};
|
|
529
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
530
536
|
};
|
|
531
537
|
component: {
|
|
532
538
|
heading1: {
|
|
@@ -657,30 +663,6 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
657
663
|
backgroundFocused: string;
|
|
658
664
|
};
|
|
659
665
|
};
|
|
660
|
-
badge: {
|
|
661
|
-
variants: {
|
|
662
|
-
red: {
|
|
663
|
-
foreground: string;
|
|
664
|
-
background: string;
|
|
665
|
-
};
|
|
666
|
-
orange: {
|
|
667
|
-
foreground: string;
|
|
668
|
-
background: string;
|
|
669
|
-
};
|
|
670
|
-
yellow: {
|
|
671
|
-
foreground: string;
|
|
672
|
-
background: string;
|
|
673
|
-
};
|
|
674
|
-
green: {
|
|
675
|
-
foreground: string;
|
|
676
|
-
background: string;
|
|
677
|
-
};
|
|
678
|
-
blue: {
|
|
679
|
-
foreground: string;
|
|
680
|
-
background: string;
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
666
|
};
|
|
685
667
|
}, import("./theme/theme").Theme & {
|
|
686
668
|
core: {
|
|
@@ -688,10 +670,10 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
688
670
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
689
671
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
690
672
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
691
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
673
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
692
674
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
693
|
-
opacity: Record<"
|
|
694
|
-
color: Record<"
|
|
675
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
676
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
695
677
|
lightest: string;
|
|
696
678
|
lighter: string;
|
|
697
679
|
light: string;
|
|
@@ -707,53 +689,71 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
707
689
|
web: string;
|
|
708
690
|
}>;
|
|
709
691
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
710
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
692
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
711
693
|
small: string | number;
|
|
712
694
|
large: string | number;
|
|
713
695
|
}>;
|
|
714
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
696
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
715
697
|
small: string | number;
|
|
716
698
|
large: string | number;
|
|
717
699
|
}>;
|
|
718
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
719
700
|
};
|
|
720
701
|
semantic: {
|
|
721
702
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
722
703
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
723
704
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
724
|
-
focus: Record<"
|
|
725
|
-
inverted: Record<"
|
|
705
|
+
focus: Record<"outline" | "surface", string>;
|
|
706
|
+
inverted: Record<"surface" | "border", string> & {
|
|
726
707
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
727
708
|
};
|
|
728
709
|
success: {
|
|
729
710
|
border: string;
|
|
730
711
|
surface: string;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
712
|
+
message: {
|
|
713
|
+
base: string;
|
|
714
|
+
secondary: string;
|
|
715
|
+
};
|
|
734
716
|
};
|
|
735
717
|
warning: {
|
|
736
718
|
border: string;
|
|
737
719
|
surface: string;
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
720
|
+
message: {
|
|
721
|
+
base: string;
|
|
722
|
+
secondary: string;
|
|
723
|
+
};
|
|
741
724
|
};
|
|
742
725
|
error: {
|
|
743
726
|
border: string;
|
|
744
727
|
surface: string;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
728
|
+
message: {
|
|
729
|
+
base: string;
|
|
730
|
+
secondary: string;
|
|
731
|
+
};
|
|
748
732
|
};
|
|
749
733
|
info: {
|
|
750
734
|
border: string;
|
|
751
735
|
surface: string;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
736
|
+
message: {
|
|
737
|
+
base: string;
|
|
738
|
+
secondary: string;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
electricity: {
|
|
742
|
+
border: string;
|
|
743
|
+
surface: string;
|
|
744
|
+
message: {
|
|
745
|
+
base: string;
|
|
746
|
+
secondary: string;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
gas: {
|
|
750
|
+
border: string;
|
|
751
|
+
surface: string;
|
|
752
|
+
message: {
|
|
753
|
+
base: string;
|
|
754
|
+
secondary: string;
|
|
755
|
+
};
|
|
755
756
|
};
|
|
756
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
757
757
|
};
|
|
758
758
|
component: {
|
|
759
759
|
heading1: {
|
|
@@ -884,30 +884,6 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
884
884
|
backgroundFocused: string;
|
|
885
885
|
};
|
|
886
886
|
};
|
|
887
|
-
badge: {
|
|
888
|
-
variants: {
|
|
889
|
-
red: {
|
|
890
|
-
foreground: string;
|
|
891
|
-
background: string;
|
|
892
|
-
};
|
|
893
|
-
orange: {
|
|
894
|
-
foreground: string;
|
|
895
|
-
background: string;
|
|
896
|
-
};
|
|
897
|
-
yellow: {
|
|
898
|
-
foreground: string;
|
|
899
|
-
background: string;
|
|
900
|
-
};
|
|
901
|
-
green: {
|
|
902
|
-
foreground: string;
|
|
903
|
-
background: string;
|
|
904
|
-
};
|
|
905
|
-
blue: {
|
|
906
|
-
foreground: string;
|
|
907
|
-
background: string;
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
};
|
|
911
887
|
};
|
|
912
888
|
}>, ThemeContext: import("react").Context<import("./theme/theme").Theme & {
|
|
913
889
|
core: {
|
|
@@ -915,10 +891,10 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
915
891
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
916
892
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
917
893
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
918
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
894
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
919
895
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
920
|
-
opacity: Record<"
|
|
921
|
-
color: Record<"
|
|
896
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
897
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
922
898
|
lightest: string;
|
|
923
899
|
lighter: string;
|
|
924
900
|
light: string;
|
|
@@ -934,53 +910,71 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
934
910
|
web: string;
|
|
935
911
|
}>;
|
|
936
912
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
937
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
913
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
938
914
|
small: string | number;
|
|
939
915
|
large: string | number;
|
|
940
916
|
}>;
|
|
941
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
917
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
942
918
|
small: string | number;
|
|
943
919
|
large: string | number;
|
|
944
920
|
}>;
|
|
945
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
946
921
|
};
|
|
947
922
|
semantic: {
|
|
948
923
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
949
924
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
950
925
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
951
|
-
focus: Record<"
|
|
952
|
-
inverted: Record<"
|
|
926
|
+
focus: Record<"outline" | "surface", string>;
|
|
927
|
+
inverted: Record<"surface" | "border", string> & {
|
|
953
928
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
954
929
|
};
|
|
955
930
|
success: {
|
|
956
931
|
border: string;
|
|
957
932
|
surface: string;
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
933
|
+
message: {
|
|
934
|
+
base: string;
|
|
935
|
+
secondary: string;
|
|
936
|
+
};
|
|
961
937
|
};
|
|
962
938
|
warning: {
|
|
963
939
|
border: string;
|
|
964
940
|
surface: string;
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
941
|
+
message: {
|
|
942
|
+
base: string;
|
|
943
|
+
secondary: string;
|
|
944
|
+
};
|
|
968
945
|
};
|
|
969
946
|
error: {
|
|
970
947
|
border: string;
|
|
971
948
|
surface: string;
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
949
|
+
message: {
|
|
950
|
+
base: string;
|
|
951
|
+
secondary: string;
|
|
952
|
+
};
|
|
975
953
|
};
|
|
976
954
|
info: {
|
|
977
955
|
border: string;
|
|
978
956
|
surface: string;
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
957
|
+
message: {
|
|
958
|
+
base: string;
|
|
959
|
+
secondary: string;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
electricity: {
|
|
963
|
+
border: string;
|
|
964
|
+
surface: string;
|
|
965
|
+
message: {
|
|
966
|
+
base: string;
|
|
967
|
+
secondary: string;
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
gas: {
|
|
971
|
+
border: string;
|
|
972
|
+
surface: string;
|
|
973
|
+
message: {
|
|
974
|
+
base: string;
|
|
975
|
+
secondary: string;
|
|
976
|
+
};
|
|
982
977
|
};
|
|
983
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
984
978
|
};
|
|
985
979
|
component: {
|
|
986
980
|
heading1: {
|
|
@@ -1111,30 +1105,6 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
1111
1105
|
backgroundFocused: string;
|
|
1112
1106
|
};
|
|
1113
1107
|
};
|
|
1114
|
-
badge: {
|
|
1115
|
-
variants: {
|
|
1116
|
-
red: {
|
|
1117
|
-
foreground: string;
|
|
1118
|
-
background: string;
|
|
1119
|
-
};
|
|
1120
|
-
orange: {
|
|
1121
|
-
foreground: string;
|
|
1122
|
-
background: string;
|
|
1123
|
-
};
|
|
1124
|
-
yellow: {
|
|
1125
|
-
foreground: string;
|
|
1126
|
-
background: string;
|
|
1127
|
-
};
|
|
1128
|
-
green: {
|
|
1129
|
-
foreground: string;
|
|
1130
|
-
background: string;
|
|
1131
|
-
};
|
|
1132
|
-
blue: {
|
|
1133
|
-
foreground: string;
|
|
1134
|
-
background: string;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
};
|
|
1138
1108
|
};
|
|
1139
1109
|
}>, useTheme: () => import("./theme/theme").Theme & {
|
|
1140
1110
|
core: {
|
|
@@ -1142,10 +1112,10 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
1142
1112
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
1143
1113
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
1144
1114
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
1145
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
1115
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
1146
1116
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
1147
|
-
opacity: Record<"
|
|
1148
|
-
color: Record<"
|
|
1117
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
1118
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
1149
1119
|
lightest: string;
|
|
1150
1120
|
lighter: string;
|
|
1151
1121
|
light: string;
|
|
@@ -1161,53 +1131,71 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
1161
1131
|
web: string;
|
|
1162
1132
|
}>;
|
|
1163
1133
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
1164
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
1134
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
1165
1135
|
small: string | number;
|
|
1166
1136
|
large: string | number;
|
|
1167
1137
|
}>;
|
|
1168
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
1138
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
1169
1139
|
small: string | number;
|
|
1170
1140
|
large: string | number;
|
|
1171
1141
|
}>;
|
|
1172
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
1173
1142
|
};
|
|
1174
1143
|
semantic: {
|
|
1175
1144
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
1176
1145
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
1177
1146
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
1178
|
-
focus: Record<"
|
|
1179
|
-
inverted: Record<"
|
|
1147
|
+
focus: Record<"outline" | "surface", string>;
|
|
1148
|
+
inverted: Record<"surface" | "border", string> & {
|
|
1180
1149
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
1181
1150
|
};
|
|
1182
1151
|
success: {
|
|
1183
1152
|
border: string;
|
|
1184
1153
|
surface: string;
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1154
|
+
message: {
|
|
1155
|
+
base: string;
|
|
1156
|
+
secondary: string;
|
|
1157
|
+
};
|
|
1188
1158
|
};
|
|
1189
1159
|
warning: {
|
|
1190
1160
|
border: string;
|
|
1191
1161
|
surface: string;
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1162
|
+
message: {
|
|
1163
|
+
base: string;
|
|
1164
|
+
secondary: string;
|
|
1165
|
+
};
|
|
1195
1166
|
};
|
|
1196
1167
|
error: {
|
|
1197
1168
|
border: string;
|
|
1198
1169
|
surface: string;
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1170
|
+
message: {
|
|
1171
|
+
base: string;
|
|
1172
|
+
secondary: string;
|
|
1173
|
+
};
|
|
1202
1174
|
};
|
|
1203
1175
|
info: {
|
|
1204
1176
|
border: string;
|
|
1205
1177
|
surface: string;
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1178
|
+
message: {
|
|
1179
|
+
base: string;
|
|
1180
|
+
secondary: string;
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
electricity: {
|
|
1184
|
+
border: string;
|
|
1185
|
+
surface: string;
|
|
1186
|
+
message: {
|
|
1187
|
+
base: string;
|
|
1188
|
+
secondary: string;
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
gas: {
|
|
1192
|
+
border: string;
|
|
1193
|
+
surface: string;
|
|
1194
|
+
message: {
|
|
1195
|
+
base: string;
|
|
1196
|
+
secondary: string;
|
|
1197
|
+
};
|
|
1209
1198
|
};
|
|
1210
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
1211
1199
|
};
|
|
1212
1200
|
component: {
|
|
1213
1201
|
heading1: {
|
|
@@ -1338,30 +1326,6 @@ declare const styled: styledComponents.ReactNativeStyledInterface<import("./them
|
|
|
1338
1326
|
backgroundFocused: string;
|
|
1339
1327
|
};
|
|
1340
1328
|
};
|
|
1341
|
-
badge: {
|
|
1342
|
-
variants: {
|
|
1343
|
-
red: {
|
|
1344
|
-
foreground: string;
|
|
1345
|
-
background: string;
|
|
1346
|
-
};
|
|
1347
|
-
orange: {
|
|
1348
|
-
foreground: string;
|
|
1349
|
-
background: string;
|
|
1350
|
-
};
|
|
1351
|
-
yellow: {
|
|
1352
|
-
foreground: string;
|
|
1353
|
-
background: string;
|
|
1354
|
-
};
|
|
1355
|
-
green: {
|
|
1356
|
-
foreground: string;
|
|
1357
|
-
background: string;
|
|
1358
|
-
};
|
|
1359
|
-
blue: {
|
|
1360
|
-
foreground: string;
|
|
1361
|
-
background: string;
|
|
1362
|
-
};
|
|
1363
|
-
};
|
|
1364
|
-
};
|
|
1365
1329
|
};
|
|
1366
1330
|
};
|
|
1367
1331
|
export { css, ThemeProvider, ThemeContext, useTheme };
|