@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
|
@@ -11,10 +11,10 @@ declare const LabelText: import("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 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
14
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
15
15
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
16
|
-
opacity: Record<"
|
|
17
|
-
color: Record<"
|
|
16
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
17
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
18
18
|
lightest: string;
|
|
19
19
|
lighter: string;
|
|
20
20
|
light: string;
|
|
@@ -30,53 +30,71 @@ declare const LabelText: import("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" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
34
34
|
small: string | number;
|
|
35
35
|
large: string | number;
|
|
36
36
|
}>;
|
|
37
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
37
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
38
38
|
small: string | number;
|
|
39
39
|
large: string | number;
|
|
40
40
|
}>;
|
|
41
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
42
41
|
};
|
|
43
42
|
semantic: {
|
|
44
43
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
45
44
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
46
45
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
47
|
-
focus: Record<"
|
|
48
|
-
inverted: Record<"
|
|
46
|
+
focus: Record<"outline" | "surface", string>;
|
|
47
|
+
inverted: Record<"surface" | "border", string> & {
|
|
49
48
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
50
49
|
};
|
|
51
50
|
success: {
|
|
52
51
|
border: string;
|
|
53
52
|
surface: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
message: {
|
|
54
|
+
base: string;
|
|
55
|
+
secondary: string;
|
|
56
|
+
};
|
|
57
57
|
};
|
|
58
58
|
warning: {
|
|
59
59
|
border: string;
|
|
60
60
|
surface: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
message: {
|
|
62
|
+
base: string;
|
|
63
|
+
secondary: string;
|
|
64
|
+
};
|
|
64
65
|
};
|
|
65
66
|
error: {
|
|
66
67
|
border: string;
|
|
67
68
|
surface: string;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
message: {
|
|
70
|
+
base: string;
|
|
71
|
+
secondary: string;
|
|
72
|
+
};
|
|
71
73
|
};
|
|
72
74
|
info: {
|
|
73
75
|
border: string;
|
|
74
76
|
surface: string;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
message: {
|
|
78
|
+
base: string;
|
|
79
|
+
secondary: string;
|
|
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
|
+
};
|
|
78
97
|
};
|
|
79
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
80
98
|
};
|
|
81
99
|
component: {
|
|
82
100
|
heading1: {
|
|
@@ -207,30 +225,6 @@ declare const LabelText: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
207
225
|
backgroundFocused: string;
|
|
208
226
|
};
|
|
209
227
|
};
|
|
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
|
-
};
|
|
234
228
|
};
|
|
235
229
|
}) | undefined;
|
|
236
230
|
} & {
|
|
@@ -29,13 +29,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.LabelText = void 0;
|
|
31
31
|
var styled_native_1 = __importStar(require("../../styled.native"));
|
|
32
|
+
var theme_1 = require("../../theme");
|
|
32
33
|
var utils_1 = require("../../utils");
|
|
33
34
|
var StyledLabelText = styled_native_1.default.Text(function (_a) {
|
|
34
|
-
var
|
|
35
|
-
var fontSize = smallAndUp
|
|
36
|
-
|
|
37
|
-
: core.fontSize.body.small;
|
|
38
|
-
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n "], ["\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n "])), core.fontFamily.bodyBold.native, core.lineHeight.body.small, semantic.message.base, fontSize);
|
|
35
|
+
var field = _a.theme.field, smallAndUp = _a.smallAndUp;
|
|
36
|
+
var fontSize = smallAndUp ? field.fontSize[1] : field.fontSize[0];
|
|
37
|
+
return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n "], ["\n font-family: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n "])), field.label.fontFamily, (0, theme_1.calculateLineHeight)(fontSize, field.lineHeight), field.label.color, fontSize);
|
|
39
38
|
});
|
|
40
39
|
var LabelText = (0, utils_1.styledComponentWithBreakpoints)(StyledLabelText);
|
|
41
40
|
exports.LabelText = LabelText;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { Text, View, ViewProps } from 'react-native';
|
|
3
|
-
declare const ListWrapper:
|
|
3
|
+
declare const ListWrapper: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
[x: number]: any;
|
|
6
6
|
[x: symbol]: any;
|
|
@@ -11,10 +11,10 @@ declare const ListWrapper: import("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 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
14
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
15
15
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
16
|
-
opacity: Record<"
|
|
17
|
-
color: Record<"
|
|
16
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
17
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
18
18
|
lightest: string;
|
|
19
19
|
lighter: string;
|
|
20
20
|
light: string;
|
|
@@ -30,53 +30,71 @@ declare const ListWrapper: import("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" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
34
34
|
small: string | number;
|
|
35
35
|
large: string | number;
|
|
36
36
|
}>;
|
|
37
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
37
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
38
38
|
small: string | number;
|
|
39
39
|
large: string | number;
|
|
40
40
|
}>;
|
|
41
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
42
41
|
};
|
|
43
42
|
semantic: {
|
|
44
43
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
45
44
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
46
45
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
47
|
-
focus: Record<"
|
|
48
|
-
inverted: Record<"
|
|
46
|
+
focus: Record<"outline" | "surface", string>;
|
|
47
|
+
inverted: Record<"surface" | "border", string> & {
|
|
49
48
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
50
49
|
};
|
|
51
50
|
success: {
|
|
52
51
|
border: string;
|
|
53
52
|
surface: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
message: {
|
|
54
|
+
base: string;
|
|
55
|
+
secondary: string;
|
|
56
|
+
};
|
|
57
57
|
};
|
|
58
58
|
warning: {
|
|
59
59
|
border: string;
|
|
60
60
|
surface: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
message: {
|
|
62
|
+
base: string;
|
|
63
|
+
secondary: string;
|
|
64
|
+
};
|
|
64
65
|
};
|
|
65
66
|
error: {
|
|
66
67
|
border: string;
|
|
67
68
|
surface: string;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
message: {
|
|
70
|
+
base: string;
|
|
71
|
+
secondary: string;
|
|
72
|
+
};
|
|
71
73
|
};
|
|
72
74
|
info: {
|
|
73
75
|
border: string;
|
|
74
76
|
surface: string;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
message: {
|
|
78
|
+
base: string;
|
|
79
|
+
secondary: string;
|
|
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
|
+
};
|
|
78
97
|
};
|
|
79
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
80
98
|
};
|
|
81
99
|
component: {
|
|
82
100
|
heading1: {
|
|
@@ -207,41 +225,17 @@ declare const ListWrapper: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
207
225
|
backgroundFocused: string;
|
|
208
226
|
};
|
|
209
227
|
};
|
|
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
|
-
};
|
|
234
228
|
};
|
|
235
229
|
}) | undefined;
|
|
236
230
|
} & {
|
|
237
|
-
as?: string |
|
|
238
|
-
forwardedAs?: string |
|
|
239
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> &
|
|
240
|
-
declare const Ul: ({ children, showBullets, ...rest }: PropsWithChildren<ViewProps & {
|
|
231
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
232
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
233
|
+
}, import("../../hooks").BreakpointNames>, string | number | symbol> & React.RefAttributes<View>>;
|
|
234
|
+
declare const Ul: ({ children, showBullets, ...rest }: React.PropsWithChildren<ViewProps & {
|
|
241
235
|
showBullets?: boolean | undefined;
|
|
242
236
|
}>) => JSX.Element;
|
|
243
237
|
declare const Ol: ({ children, ...rest }: PropsWithChildren<ViewProps>) => JSX.Element;
|
|
244
|
-
declare const Li:
|
|
238
|
+
declare const Li: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
245
239
|
[x: string]: any;
|
|
246
240
|
[x: number]: any;
|
|
247
241
|
[x: symbol]: any;
|
|
@@ -252,10 +246,10 @@ declare const Li: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
252
246
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
253
247
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
254
248
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
255
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
249
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
256
250
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
257
|
-
opacity: Record<"
|
|
258
|
-
color: Record<"
|
|
251
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
252
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
259
253
|
lightest: string;
|
|
260
254
|
lighter: string;
|
|
261
255
|
light: string;
|
|
@@ -271,53 +265,71 @@ declare const Li: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
271
265
|
web: string;
|
|
272
266
|
}>;
|
|
273
267
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
274
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
268
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
275
269
|
small: string | number;
|
|
276
270
|
large: string | number;
|
|
277
271
|
}>;
|
|
278
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
272
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
279
273
|
small: string | number;
|
|
280
274
|
large: string | number;
|
|
281
275
|
}>;
|
|
282
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
283
276
|
};
|
|
284
277
|
semantic: {
|
|
285
278
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
286
279
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
287
280
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
288
|
-
focus: Record<"
|
|
289
|
-
inverted: Record<"
|
|
281
|
+
focus: Record<"outline" | "surface", string>;
|
|
282
|
+
inverted: Record<"surface" | "border", string> & {
|
|
290
283
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
291
284
|
};
|
|
292
285
|
success: {
|
|
293
286
|
border: string;
|
|
294
287
|
surface: string;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
288
|
+
message: {
|
|
289
|
+
base: string;
|
|
290
|
+
secondary: string;
|
|
291
|
+
};
|
|
298
292
|
};
|
|
299
293
|
warning: {
|
|
300
294
|
border: string;
|
|
301
295
|
surface: string;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
296
|
+
message: {
|
|
297
|
+
base: string;
|
|
298
|
+
secondary: string;
|
|
299
|
+
};
|
|
305
300
|
};
|
|
306
301
|
error: {
|
|
307
302
|
border: string;
|
|
308
303
|
surface: string;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
304
|
+
message: {
|
|
305
|
+
base: string;
|
|
306
|
+
secondary: string;
|
|
307
|
+
};
|
|
312
308
|
};
|
|
313
309
|
info: {
|
|
314
310
|
border: string;
|
|
315
311
|
surface: string;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
312
|
+
message: {
|
|
313
|
+
base: string;
|
|
314
|
+
secondary: string;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
electricity: {
|
|
318
|
+
border: string;
|
|
319
|
+
surface: string;
|
|
320
|
+
message: {
|
|
321
|
+
base: string;
|
|
322
|
+
secondary: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
gas: {
|
|
326
|
+
border: string;
|
|
327
|
+
surface: string;
|
|
328
|
+
message: {
|
|
329
|
+
base: string;
|
|
330
|
+
secondary: string;
|
|
331
|
+
};
|
|
319
332
|
};
|
|
320
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
321
333
|
};
|
|
322
334
|
component: {
|
|
323
335
|
heading1: {
|
|
@@ -448,41 +460,17 @@ declare const Li: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
448
460
|
backgroundFocused: string;
|
|
449
461
|
};
|
|
450
462
|
};
|
|
451
|
-
badge: {
|
|
452
|
-
variants: {
|
|
453
|
-
red: {
|
|
454
|
-
foreground: string;
|
|
455
|
-
background: string;
|
|
456
|
-
};
|
|
457
|
-
orange: {
|
|
458
|
-
foreground: string;
|
|
459
|
-
background: string;
|
|
460
|
-
};
|
|
461
|
-
yellow: {
|
|
462
|
-
foreground: string;
|
|
463
|
-
background: string;
|
|
464
|
-
};
|
|
465
|
-
green: {
|
|
466
|
-
foreground: string;
|
|
467
|
-
background: string;
|
|
468
|
-
};
|
|
469
|
-
blue: {
|
|
470
|
-
foreground: string;
|
|
471
|
-
background: string;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
463
|
};
|
|
476
464
|
}) | undefined;
|
|
477
465
|
} & {
|
|
478
|
-
as?: string |
|
|
479
|
-
forwardedAs?: string |
|
|
480
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> &
|
|
466
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
467
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
468
|
+
}, import("../../hooks").BreakpointNames>, string | number | symbol> & React.RefAttributes<Text>>;
|
|
481
469
|
/**
|
|
482
470
|
* @deprecated This component has been deprecated and will be removed in a future release.
|
|
483
471
|
* Please use the DescriptionList component instead.
|
|
484
472
|
* */
|
|
485
|
-
declare const Dl:
|
|
473
|
+
declare const Dl: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
486
474
|
[x: string]: any;
|
|
487
475
|
[x: number]: any;
|
|
488
476
|
[x: symbol]: any;
|
|
@@ -493,10 +481,10 @@ declare const Dl: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
493
481
|
borderWidth: Record<"small" | "medium" | "large", string>;
|
|
494
482
|
breakpoint: Record<"small" | "medium" | "large", string | number>;
|
|
495
483
|
mediaQuery: Record<"small" | "medium" | "large", string>;
|
|
496
|
-
space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
484
|
+
space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
|
|
497
485
|
transition: Record<"medium" | "slow" | "fast", string>;
|
|
498
|
-
opacity: Record<"
|
|
499
|
-
color: Record<"
|
|
486
|
+
opacity: Record<"transparent" | "translucent" | "solid", string | number>;
|
|
487
|
+
color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
|
|
500
488
|
lightest: string;
|
|
501
489
|
lighter: string;
|
|
502
490
|
light: string;
|
|
@@ -512,53 +500,71 @@ declare const Dl: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
512
500
|
web: string;
|
|
513
501
|
}>;
|
|
514
502
|
fontWeight: Record<"bold" | "book" | "black", string | number>;
|
|
515
|
-
fontSize: Record<"small" | "body" | "label" | "
|
|
503
|
+
fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
516
504
|
small: string | number;
|
|
517
505
|
large: string | number;
|
|
518
506
|
}>;
|
|
519
|
-
lineHeight: Record<"small" | "body" | "label" | "
|
|
507
|
+
lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
|
|
520
508
|
small: string | number;
|
|
521
509
|
large: string | number;
|
|
522
510
|
}>;
|
|
523
|
-
letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
|
|
524
511
|
};
|
|
525
512
|
semantic: {
|
|
526
513
|
surface: Record<"base" | "cutout" | "elevated", string>;
|
|
527
514
|
message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
|
|
528
515
|
border: Record<"graphic" | "differentiated" | "functional", string>;
|
|
529
|
-
focus: Record<"
|
|
530
|
-
inverted: Record<"
|
|
516
|
+
focus: Record<"outline" | "surface", string>;
|
|
517
|
+
inverted: Record<"surface" | "border", string> & {
|
|
531
518
|
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
532
519
|
};
|
|
533
520
|
success: {
|
|
534
521
|
border: string;
|
|
535
522
|
surface: string;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
523
|
+
message: {
|
|
524
|
+
base: string;
|
|
525
|
+
secondary: string;
|
|
526
|
+
};
|
|
539
527
|
};
|
|
540
528
|
warning: {
|
|
541
529
|
border: string;
|
|
542
530
|
surface: string;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
531
|
+
message: {
|
|
532
|
+
base: string;
|
|
533
|
+
secondary: string;
|
|
534
|
+
};
|
|
546
535
|
};
|
|
547
536
|
error: {
|
|
548
537
|
border: string;
|
|
549
538
|
surface: string;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
539
|
+
message: {
|
|
540
|
+
base: string;
|
|
541
|
+
secondary: string;
|
|
542
|
+
};
|
|
553
543
|
};
|
|
554
544
|
info: {
|
|
555
545
|
border: string;
|
|
556
546
|
surface: string;
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
547
|
+
message: {
|
|
548
|
+
base: string;
|
|
549
|
+
secondary: string;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
electricity: {
|
|
553
|
+
border: string;
|
|
554
|
+
surface: string;
|
|
555
|
+
message: {
|
|
556
|
+
base: string;
|
|
557
|
+
secondary: string;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
gas: {
|
|
561
|
+
border: string;
|
|
562
|
+
surface: string;
|
|
563
|
+
message: {
|
|
564
|
+
base: string;
|
|
565
|
+
secondary: string;
|
|
566
|
+
};
|
|
560
567
|
};
|
|
561
|
-
data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
|
|
562
568
|
};
|
|
563
569
|
component: {
|
|
564
570
|
heading1: {
|
|
@@ -689,36 +695,12 @@ declare const Dl: import("react").ForwardRefExoticComponent<Pick<Omit<{
|
|
|
689
695
|
backgroundFocused: string;
|
|
690
696
|
};
|
|
691
697
|
};
|
|
692
|
-
badge: {
|
|
693
|
-
variants: {
|
|
694
|
-
red: {
|
|
695
|
-
foreground: string;
|
|
696
|
-
background: string;
|
|
697
|
-
};
|
|
698
|
-
orange: {
|
|
699
|
-
foreground: string;
|
|
700
|
-
background: string;
|
|
701
|
-
};
|
|
702
|
-
yellow: {
|
|
703
|
-
foreground: string;
|
|
704
|
-
background: string;
|
|
705
|
-
};
|
|
706
|
-
green: {
|
|
707
|
-
foreground: string;
|
|
708
|
-
background: string;
|
|
709
|
-
};
|
|
710
|
-
blue: {
|
|
711
|
-
foreground: string;
|
|
712
|
-
background: string;
|
|
713
|
-
};
|
|
714
|
-
};
|
|
715
|
-
};
|
|
716
698
|
};
|
|
717
699
|
}) | undefined;
|
|
718
700
|
} & {
|
|
719
|
-
as?: string |
|
|
720
|
-
forwardedAs?: string |
|
|
721
|
-
}, import("../../hooks").BreakpointNames>, string | number | symbol> &
|
|
701
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
702
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
703
|
+
}, import("../../hooks").BreakpointNames>, string | number | symbol> & React.RefAttributes<View>>;
|
|
722
704
|
/**
|
|
723
705
|
* @deprecated This component has been deprecated and will be removed in a future release.
|
|
724
706
|
* Please use the DescriptionList component instead.
|