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