@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { Text, ViewProps } from 'react-native';
|
|
3
|
-
export declare const P:
|
|
3
|
+
export declare const P: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
[x: number]: any;
|
|
6
6
|
[x: symbol]: any;
|
|
@@ -11,10 +11,10 @@ export declare const P: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
11
11
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
12
12
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
13
13
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
14
|
-
space: Record<0 | 2 | 1 |
|
|
14
|
+
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
|
|
15
15
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
16
|
-
opacity: Record<"
|
|
17
|
-
color: Record<"
|
|
16
|
+
opacity: Record<"solid" | "transparent" | "translucent", string | number>;
|
|
17
|
+
color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
|
|
18
18
|
lightest: string;
|
|
19
19
|
lighter: string;
|
|
20
20
|
light: string;
|
|
@@ -30,71 +30,53 @@ export declare const P: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
30
30
|
web: string;
|
|
31
31
|
}>;
|
|
32
32
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
33
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
33
|
+
fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
34
34
|
small: string | number;
|
|
35
35
|
large: string | number;
|
|
36
36
|
}>;
|
|
37
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
37
|
+
lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
38
38
|
small: string | number;
|
|
39
39
|
large: string | number;
|
|
40
40
|
}>;
|
|
41
|
+
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
41
42
|
};
|
|
42
43
|
semantic: {
|
|
43
44
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
44
45
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
45
46
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
46
|
-
focus: Record<"outline" | "
|
|
47
|
-
inverted: Record<"
|
|
47
|
+
focus: Record<"surface" | "outline" | "hover", string>;
|
|
48
|
+
inverted: Record<"border" | "surface", string> & {
|
|
48
49
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
49
50
|
};
|
|
50
51
|
success: {
|
|
51
52
|
border: string;
|
|
52
53
|
surface: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
};
|
|
54
|
+
surfaceEmphasis: string;
|
|
55
|
+
message: string;
|
|
56
|
+
messageOnEmphasis: string;
|
|
57
57
|
};
|
|
58
58
|
warning: {
|
|
59
59
|
border: string;
|
|
60
60
|
surface: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
61
|
+
surfaceEmphasis: string;
|
|
62
|
+
message: string;
|
|
63
|
+
messageOnEmphasis: string;
|
|
65
64
|
};
|
|
66
65
|
error: {
|
|
67
66
|
border: string;
|
|
68
67
|
surface: string;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
};
|
|
68
|
+
surfaceEmphasis: string;
|
|
69
|
+
message: string;
|
|
70
|
+
messageOnEmphasis: string;
|
|
73
71
|
};
|
|
74
72
|
info: {
|
|
75
73
|
border: string;
|
|
76
74
|
surface: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
electricity: {
|
|
83
|
-
border: string;
|
|
84
|
-
surface: string;
|
|
85
|
-
message: {
|
|
86
|
-
base: string;
|
|
87
|
-
secondary: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
gas: {
|
|
91
|
-
border: string;
|
|
92
|
-
surface: string;
|
|
93
|
-
message: {
|
|
94
|
-
base: string;
|
|
95
|
-
secondary: string;
|
|
96
|
-
};
|
|
75
|
+
surfaceEmphasis: string;
|
|
76
|
+
message: string;
|
|
77
|
+
messageOnEmphasis: string;
|
|
97
78
|
};
|
|
79
|
+
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
98
80
|
};
|
|
99
81
|
component: {
|
|
100
82
|
heading1: {
|
|
@@ -225,13 +207,37 @@ export declare const P: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
225
207
|
backgroundFocused: string;
|
|
226
208
|
};
|
|
227
209
|
};
|
|
210
|
+
badge: {
|
|
211
|
+
variants: {
|
|
212
|
+
red: {
|
|
213
|
+
foreground: string;
|
|
214
|
+
background: string;
|
|
215
|
+
};
|
|
216
|
+
orange: {
|
|
217
|
+
foreground: string;
|
|
218
|
+
background: string;
|
|
219
|
+
};
|
|
220
|
+
yellow: {
|
|
221
|
+
foreground: string;
|
|
222
|
+
background: string;
|
|
223
|
+
};
|
|
224
|
+
green: {
|
|
225
|
+
foreground: string;
|
|
226
|
+
background: string;
|
|
227
|
+
};
|
|
228
|
+
blue: {
|
|
229
|
+
foreground: string;
|
|
230
|
+
background: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
228
234
|
};
|
|
229
235
|
}) | undefined;
|
|
230
236
|
} & {
|
|
231
|
-
as?: string |
|
|
232
|
-
forwardedAs?: string |
|
|
233
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> &
|
|
234
|
-
export declare const Small:
|
|
237
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
238
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
239
|
+
}, import("../../hooks").BreakpointNames>, string | number | symbol> & import("react").RefAttributes<Text>>;
|
|
240
|
+
export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
235
241
|
[x: string]: any;
|
|
236
242
|
[x: number]: any;
|
|
237
243
|
[x: symbol]: any;
|
|
@@ -242,10 +248,10 @@ export declare const Small: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
242
248
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
243
249
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
244
250
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
245
|
-
space: Record<0 | 2 | 1 |
|
|
251
|
+
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
|
|
246
252
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
247
|
-
opacity: Record<"
|
|
248
|
-
color: Record<"
|
|
253
|
+
opacity: Record<"solid" | "transparent" | "translucent", string | number>;
|
|
254
|
+
color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
|
|
249
255
|
lightest: string;
|
|
250
256
|
lighter: string;
|
|
251
257
|
light: string;
|
|
@@ -261,71 +267,53 @@ export declare const Small: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
261
267
|
web: string;
|
|
262
268
|
}>;
|
|
263
269
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
264
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
270
|
+
fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
265
271
|
small: string | number;
|
|
266
272
|
large: string | number;
|
|
267
273
|
}>;
|
|
268
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
274
|
+
lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
269
275
|
small: string | number;
|
|
270
276
|
large: string | number;
|
|
271
277
|
}>;
|
|
278
|
+
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
272
279
|
};
|
|
273
280
|
semantic: {
|
|
274
281
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
275
282
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
276
283
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
277
|
-
focus: Record<"outline" | "
|
|
278
|
-
inverted: Record<"
|
|
284
|
+
focus: Record<"surface" | "outline" | "hover", string>;
|
|
285
|
+
inverted: Record<"border" | "surface", string> & {
|
|
279
286
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
280
287
|
};
|
|
281
288
|
success: {
|
|
282
289
|
border: string;
|
|
283
290
|
surface: string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
};
|
|
291
|
+
surfaceEmphasis: string;
|
|
292
|
+
message: string;
|
|
293
|
+
messageOnEmphasis: string;
|
|
288
294
|
};
|
|
289
295
|
warning: {
|
|
290
296
|
border: string;
|
|
291
297
|
surface: string;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
};
|
|
298
|
+
surfaceEmphasis: string;
|
|
299
|
+
message: string;
|
|
300
|
+
messageOnEmphasis: string;
|
|
296
301
|
};
|
|
297
302
|
error: {
|
|
298
303
|
border: string;
|
|
299
304
|
surface: string;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
};
|
|
305
|
+
surfaceEmphasis: string;
|
|
306
|
+
message: string;
|
|
307
|
+
messageOnEmphasis: string;
|
|
304
308
|
};
|
|
305
309
|
info: {
|
|
306
310
|
border: string;
|
|
307
311
|
surface: string;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
electricity: {
|
|
314
|
-
border: string;
|
|
315
|
-
surface: string;
|
|
316
|
-
message: {
|
|
317
|
-
base: string;
|
|
318
|
-
secondary: string;
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
gas: {
|
|
322
|
-
border: string;
|
|
323
|
-
surface: string;
|
|
324
|
-
message: {
|
|
325
|
-
base: string;
|
|
326
|
-
secondary: string;
|
|
327
|
-
};
|
|
312
|
+
surfaceEmphasis: string;
|
|
313
|
+
message: string;
|
|
314
|
+
messageOnEmphasis: string;
|
|
328
315
|
};
|
|
316
|
+
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
329
317
|
};
|
|
330
318
|
component: {
|
|
331
319
|
heading1: {
|
|
@@ -456,22 +444,46 @@ export declare const Small: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
456
444
|
backgroundFocused: string;
|
|
457
445
|
};
|
|
458
446
|
};
|
|
447
|
+
badge: {
|
|
448
|
+
variants: {
|
|
449
|
+
red: {
|
|
450
|
+
foreground: string;
|
|
451
|
+
background: string;
|
|
452
|
+
};
|
|
453
|
+
orange: {
|
|
454
|
+
foreground: string;
|
|
455
|
+
background: string;
|
|
456
|
+
};
|
|
457
|
+
yellow: {
|
|
458
|
+
foreground: string;
|
|
459
|
+
background: string;
|
|
460
|
+
};
|
|
461
|
+
green: {
|
|
462
|
+
foreground: string;
|
|
463
|
+
background: string;
|
|
464
|
+
};
|
|
465
|
+
blue: {
|
|
466
|
+
foreground: string;
|
|
467
|
+
background: string;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
};
|
|
459
471
|
};
|
|
460
472
|
}) | undefined;
|
|
461
473
|
} & {
|
|
462
|
-
as?: string |
|
|
463
|
-
forwardedAs?: string |
|
|
464
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> &
|
|
474
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
475
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
476
|
+
}, import("../../hooks").BreakpointNames>, string | number | symbol> & import("react").RefAttributes<Text>>;
|
|
465
477
|
export declare const Strong: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
|
|
466
478
|
core: {
|
|
467
479
|
radius: Record<"small" | "medium" | "large" | "max", string>;
|
|
468
480
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
469
481
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
470
482
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
471
|
-
space: Record<0 | 2 | 1 |
|
|
483
|
+
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
|
|
472
484
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
473
|
-
opacity: Record<"
|
|
474
|
-
color: Record<"
|
|
485
|
+
opacity: Record<"solid" | "transparent" | "translucent", string | number>;
|
|
486
|
+
color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
|
|
475
487
|
lightest: string;
|
|
476
488
|
lighter: string;
|
|
477
489
|
light: string;
|
|
@@ -487,71 +499,53 @@ export declare const Strong: import("styled-components").StyledComponent<typeof
|
|
|
487
499
|
web: string;
|
|
488
500
|
}>;
|
|
489
501
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
490
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
502
|
+
fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
491
503
|
small: string | number;
|
|
492
504
|
large: string | number;
|
|
493
505
|
}>;
|
|
494
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
506
|
+
lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
495
507
|
small: string | number;
|
|
496
508
|
large: string | number;
|
|
497
509
|
}>;
|
|
510
|
+
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
498
511
|
};
|
|
499
512
|
semantic: {
|
|
500
513
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
501
514
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
502
515
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
503
|
-
focus: Record<"outline" | "
|
|
504
|
-
inverted: Record<"
|
|
516
|
+
focus: Record<"surface" | "outline" | "hover", string>;
|
|
517
|
+
inverted: Record<"border" | "surface", string> & {
|
|
505
518
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
506
519
|
};
|
|
507
520
|
success: {
|
|
508
521
|
border: string;
|
|
509
522
|
surface: string;
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
};
|
|
523
|
+
surfaceEmphasis: string;
|
|
524
|
+
message: string;
|
|
525
|
+
messageOnEmphasis: string;
|
|
514
526
|
};
|
|
515
527
|
warning: {
|
|
516
528
|
border: string;
|
|
517
529
|
surface: string;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
};
|
|
530
|
+
surfaceEmphasis: string;
|
|
531
|
+
message: string;
|
|
532
|
+
messageOnEmphasis: string;
|
|
522
533
|
};
|
|
523
534
|
error: {
|
|
524
535
|
border: string;
|
|
525
536
|
surface: string;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
};
|
|
537
|
+
surfaceEmphasis: string;
|
|
538
|
+
message: string;
|
|
539
|
+
messageOnEmphasis: string;
|
|
530
540
|
};
|
|
531
541
|
info: {
|
|
532
542
|
border: string;
|
|
533
543
|
surface: string;
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
|
-
electricity: {
|
|
540
|
-
border: string;
|
|
541
|
-
surface: string;
|
|
542
|
-
message: {
|
|
543
|
-
base: string;
|
|
544
|
-
secondary: string;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
gas: {
|
|
548
|
-
border: string;
|
|
549
|
-
surface: string;
|
|
550
|
-
message: {
|
|
551
|
-
base: string;
|
|
552
|
-
secondary: string;
|
|
553
|
-
};
|
|
544
|
+
surfaceEmphasis: string;
|
|
545
|
+
message: string;
|
|
546
|
+
messageOnEmphasis: string;
|
|
554
547
|
};
|
|
548
|
+
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
555
549
|
};
|
|
556
550
|
component: {
|
|
557
551
|
heading1: {
|
|
@@ -682,6 +676,30 @@ export declare const Strong: import("styled-components").StyledComponent<typeof
|
|
|
682
676
|
backgroundFocused: string;
|
|
683
677
|
};
|
|
684
678
|
};
|
|
679
|
+
badge: {
|
|
680
|
+
variants: {
|
|
681
|
+
red: {
|
|
682
|
+
foreground: string;
|
|
683
|
+
background: string;
|
|
684
|
+
};
|
|
685
|
+
orange: {
|
|
686
|
+
foreground: string;
|
|
687
|
+
background: string;
|
|
688
|
+
};
|
|
689
|
+
yellow: {
|
|
690
|
+
foreground: string;
|
|
691
|
+
background: string;
|
|
692
|
+
};
|
|
693
|
+
green: {
|
|
694
|
+
foreground: string;
|
|
695
|
+
background: string;
|
|
696
|
+
};
|
|
697
|
+
blue: {
|
|
698
|
+
foreground: string;
|
|
699
|
+
background: string;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
};
|
|
685
703
|
};
|
|
686
704
|
}, {}, never>;
|
|
687
705
|
export declare const Em: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
|
|
@@ -690,10 +708,10 @@ export declare const Em: import("styled-components").StyledComponent<typeof impo
|
|
|
690
708
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
691
709
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
692
710
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
693
|
-
space: Record<0 | 2 | 1 |
|
|
711
|
+
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
|
|
694
712
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
695
|
-
opacity: Record<"
|
|
696
|
-
color: Record<"
|
|
713
|
+
opacity: Record<"solid" | "transparent" | "translucent", string | number>;
|
|
714
|
+
color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
|
|
697
715
|
lightest: string;
|
|
698
716
|
lighter: string;
|
|
699
717
|
light: string;
|
|
@@ -709,71 +727,53 @@ export declare const Em: import("styled-components").StyledComponent<typeof impo
|
|
|
709
727
|
web: string;
|
|
710
728
|
}>;
|
|
711
729
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
712
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
730
|
+
fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
713
731
|
small: string | number;
|
|
714
732
|
large: string | number;
|
|
715
733
|
}>;
|
|
716
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
734
|
+
lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
717
735
|
small: string | number;
|
|
718
736
|
large: string | number;
|
|
719
737
|
}>;
|
|
738
|
+
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
720
739
|
};
|
|
721
740
|
semantic: {
|
|
722
741
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
723
742
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
724
743
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
725
|
-
focus: Record<"outline" | "
|
|
726
|
-
inverted: Record<"
|
|
744
|
+
focus: Record<"surface" | "outline" | "hover", string>;
|
|
745
|
+
inverted: Record<"border" | "surface", string> & {
|
|
727
746
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
728
747
|
};
|
|
729
748
|
success: {
|
|
730
749
|
border: string;
|
|
731
750
|
surface: string;
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
};
|
|
751
|
+
surfaceEmphasis: string;
|
|
752
|
+
message: string;
|
|
753
|
+
messageOnEmphasis: string;
|
|
736
754
|
};
|
|
737
755
|
warning: {
|
|
738
756
|
border: string;
|
|
739
757
|
surface: string;
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
};
|
|
758
|
+
surfaceEmphasis: string;
|
|
759
|
+
message: string;
|
|
760
|
+
messageOnEmphasis: string;
|
|
744
761
|
};
|
|
745
762
|
error: {
|
|
746
763
|
border: string;
|
|
747
764
|
surface: string;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
};
|
|
765
|
+
surfaceEmphasis: string;
|
|
766
|
+
message: string;
|
|
767
|
+
messageOnEmphasis: string;
|
|
752
768
|
};
|
|
753
769
|
info: {
|
|
754
770
|
border: string;
|
|
755
771
|
surface: string;
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
|
-
electricity: {
|
|
762
|
-
border: string;
|
|
763
|
-
surface: string;
|
|
764
|
-
message: {
|
|
765
|
-
base: string;
|
|
766
|
-
secondary: string;
|
|
767
|
-
};
|
|
768
|
-
};
|
|
769
|
-
gas: {
|
|
770
|
-
border: string;
|
|
771
|
-
surface: string;
|
|
772
|
-
message: {
|
|
773
|
-
base: string;
|
|
774
|
-
secondary: string;
|
|
775
|
-
};
|
|
772
|
+
surfaceEmphasis: string;
|
|
773
|
+
message: string;
|
|
774
|
+
messageOnEmphasis: string;
|
|
776
775
|
};
|
|
776
|
+
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
777
777
|
};
|
|
778
778
|
component: {
|
|
779
779
|
heading1: {
|
|
@@ -904,6 +904,30 @@ export declare const Em: import("styled-components").StyledComponent<typeof impo
|
|
|
904
904
|
backgroundFocused: string;
|
|
905
905
|
};
|
|
906
906
|
};
|
|
907
|
+
badge: {
|
|
908
|
+
variants: {
|
|
909
|
+
red: {
|
|
910
|
+
foreground: string;
|
|
911
|
+
background: string;
|
|
912
|
+
};
|
|
913
|
+
orange: {
|
|
914
|
+
foreground: string;
|
|
915
|
+
background: string;
|
|
916
|
+
};
|
|
917
|
+
yellow: {
|
|
918
|
+
foreground: string;
|
|
919
|
+
background: string;
|
|
920
|
+
};
|
|
921
|
+
green: {
|
|
922
|
+
foreground: string;
|
|
923
|
+
background: string;
|
|
924
|
+
};
|
|
925
|
+
blue: {
|
|
926
|
+
foreground: string;
|
|
927
|
+
background: string;
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
};
|
|
907
931
|
};
|
|
908
932
|
}, {}, never>;
|
|
909
933
|
export declare const LineThrough: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
|
|
@@ -912,10 +936,10 @@ export declare const LineThrough: import("styled-components").StyledComponent<ty
|
|
|
912
936
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
913
937
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
914
938
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
915
|
-
space: Record<0 | 2 | 1 |
|
|
939
|
+
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
|
|
916
940
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
917
|
-
opacity: Record<"
|
|
918
|
-
color: Record<"
|
|
941
|
+
opacity: Record<"solid" | "transparent" | "translucent", string | number>;
|
|
942
|
+
color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
|
|
919
943
|
lightest: string;
|
|
920
944
|
lighter: string;
|
|
921
945
|
light: string;
|
|
@@ -931,71 +955,53 @@ export declare const LineThrough: import("styled-components").StyledComponent<ty
|
|
|
931
955
|
web: string;
|
|
932
956
|
}>;
|
|
933
957
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
934
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
958
|
+
fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
935
959
|
small: string | number;
|
|
936
960
|
large: string | number;
|
|
937
961
|
}>;
|
|
938
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
962
|
+
lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
|
|
939
963
|
small: string | number;
|
|
940
964
|
large: string | number;
|
|
941
965
|
}>;
|
|
966
|
+
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
942
967
|
};
|
|
943
968
|
semantic: {
|
|
944
969
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
945
970
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
946
971
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
947
|
-
focus: Record<"outline" | "
|
|
948
|
-
inverted: Record<"
|
|
972
|
+
focus: Record<"surface" | "outline" | "hover", string>;
|
|
973
|
+
inverted: Record<"border" | "surface", string> & {
|
|
949
974
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
950
975
|
};
|
|
951
976
|
success: {
|
|
952
977
|
border: string;
|
|
953
978
|
surface: string;
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
};
|
|
979
|
+
surfaceEmphasis: string;
|
|
980
|
+
message: string;
|
|
981
|
+
messageOnEmphasis: string;
|
|
958
982
|
};
|
|
959
983
|
warning: {
|
|
960
984
|
border: string;
|
|
961
985
|
surface: string;
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
};
|
|
986
|
+
surfaceEmphasis: string;
|
|
987
|
+
message: string;
|
|
988
|
+
messageOnEmphasis: string;
|
|
966
989
|
};
|
|
967
990
|
error: {
|
|
968
991
|
border: string;
|
|
969
992
|
surface: string;
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
};
|
|
993
|
+
surfaceEmphasis: string;
|
|
994
|
+
message: string;
|
|
995
|
+
messageOnEmphasis: string;
|
|
974
996
|
};
|
|
975
997
|
info: {
|
|
976
998
|
border: string;
|
|
977
999
|
surface: string;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
};
|
|
982
|
-
};
|
|
983
|
-
electricity: {
|
|
984
|
-
border: string;
|
|
985
|
-
surface: string;
|
|
986
|
-
message: {
|
|
987
|
-
base: string;
|
|
988
|
-
secondary: string;
|
|
989
|
-
};
|
|
990
|
-
};
|
|
991
|
-
gas: {
|
|
992
|
-
border: string;
|
|
993
|
-
surface: string;
|
|
994
|
-
message: {
|
|
995
|
-
base: string;
|
|
996
|
-
secondary: string;
|
|
997
|
-
};
|
|
1000
|
+
surfaceEmphasis: string;
|
|
1001
|
+
message: string;
|
|
1002
|
+
messageOnEmphasis: string;
|
|
998
1003
|
};
|
|
1004
|
+
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
999
1005
|
};
|
|
1000
1006
|
component: {
|
|
1001
1007
|
heading1: {
|
|
@@ -1126,6 +1132,30 @@ export declare const LineThrough: import("styled-components").StyledComponent<ty
|
|
|
1126
1132
|
backgroundFocused: string;
|
|
1127
1133
|
};
|
|
1128
1134
|
};
|
|
1135
|
+
badge: {
|
|
1136
|
+
variants: {
|
|
1137
|
+
red: {
|
|
1138
|
+
foreground: string;
|
|
1139
|
+
background: string;
|
|
1140
|
+
};
|
|
1141
|
+
orange: {
|
|
1142
|
+
foreground: string;
|
|
1143
|
+
background: string;
|
|
1144
|
+
};
|
|
1145
|
+
yellow: {
|
|
1146
|
+
foreground: string;
|
|
1147
|
+
background: string;
|
|
1148
|
+
};
|
|
1149
|
+
green: {
|
|
1150
|
+
foreground: string;
|
|
1151
|
+
background: string;
|
|
1152
|
+
};
|
|
1153
|
+
blue: {
|
|
1154
|
+
foreground: string;
|
|
1155
|
+
background: string;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1129
1159
|
};
|
|
1130
1160
|
}, {}, never>;
|
|
1131
1161
|
export declare const TextGroup: ({ children, ...rest }: PropsWithChildren<ViewProps>) => JSX.Element;
|