@ovotech/element-native 5.5.0 → 5.6.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/styles.d.ts +9 -0
- package/dist/components/ActionList/Action.d.ts +23 -0
- package/dist/components/ActionList/Action.js +29 -0
- package/dist/components/ActionList/ActionList.d.ts +11 -27
- package/dist/components/ActionList/ActionList.js +9 -25
- package/dist/components/ActionList/ActionListItems/DataListItem.d.ts +23 -0
- package/dist/components/ActionList/ActionListItems/DataListItem.js +21 -0
- package/dist/components/ActionList/ActionListItems/EditableListItem.d.ts +43 -0
- package/dist/components/ActionList/ActionListItems/EditableListItem.js +134 -0
- package/dist/components/ActionList/ActionListItems/NavigationListItem.d.ts +16 -0
- package/dist/components/ActionList/ActionListItems/NavigationListItem.js +30 -0
- package/dist/components/ActionList/ActionListItems/ProgressRing.d.ts +7 -0
- package/dist/components/ActionList/ActionListItems/ProgressRing.js +66 -0
- package/dist/components/ActionList/ActionListItems/ToggleListItem.d.ts +9 -0
- package/dist/components/ActionList/ActionListItems/ToggleListItem.js +13 -0
- package/dist/components/ActionList/ActionListItems/styles.d.ts +10433 -0
- package/dist/components/ActionList/ActionListItems/styles.js +171 -0
- package/dist/components/ActionList/components/ActionListHeading.d.ts +9 -0
- package/dist/components/ActionList/components/ActionListHeading.js +11 -0
- package/dist/components/ActionList/index.d.ts +6 -1
- package/dist/components/ActionList/index.js +11 -2
- package/dist/components/ActionList/styled.d.ts +1187 -7
- package/dist/components/ActionList/styled.js +24 -9
- package/dist/components/Badge/Badge.d.ts +3 -0
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.styles.d.ts +12 -0
- package/dist/components/Card/Card.d.ts +7 -4
- package/dist/components/Card/Card.js +44 -22
- package/dist/components/Card/Card.styles.d.ts +11 -1
- package/dist/components/Card/Card.styles.js +7 -11
- package/dist/components/Cards/AccountCard/AccountCard.styles.d.ts +24 -0
- package/dist/components/Cards/BalanceCard/BalanceCard.styles.d.ts +46 -1
- package/dist/components/Cards/BalanceCard/BalanceCard.styles.js +2 -2
- package/dist/components/Cards/DisruptiveCard/DisruptiveCard.d.ts +13 -0
- package/dist/components/Cards/DisruptiveCard/DisruptiveCard.js +45 -0
- package/dist/components/Cards/DisruptiveCard/DisruptiveCard.styles.d.ts +580 -0
- package/dist/components/Cards/DisruptiveCard/DisruptiveCard.styles.js +11 -0
- package/dist/components/Cards/DisruptiveCard/index.d.ts +1 -0
- package/dist/components/Cards/DisruptiveCard/index.js +17 -0
- package/dist/components/Cards/HeroImageCard/HeroImageCard.d.ts +12 -0
- package/dist/components/Cards/HeroImageCard/HeroImageCard.js +65 -0
- package/dist/components/Cards/HeroImageCard/HeroImageCard.styles.d.ts +1741 -0
- package/dist/components/Cards/HeroImageCard/HeroImageCard.styles.js +27 -0
- package/dist/components/Cards/HeroImageCard/index.d.ts +1 -0
- package/dist/components/Cards/HeroImageCard/index.js +17 -0
- package/dist/components/Cards/IconDataCard/IconDataCard.styles.d.ts +12 -0
- package/dist/components/Cards/IconTextCard/IconTextCard.js +3 -16
- package/dist/components/Cards/IconTextCard/IconTextCard.styles.d.ts +10 -576
- package/dist/components/Cards/IconTextCard/IconTextCard.styles.js +1 -6
- package/dist/components/Cards/IllustrationTextCard/IllustrationTextCard.d.ts +14 -0
- package/dist/components/Cards/IllustrationTextCard/IllustrationTextCard.js +26 -0
- package/dist/components/Cards/IllustrationTextCard/IllustrationTextCard.styles.d.ts +2903 -0
- package/dist/components/Cards/IllustrationTextCard/IllustrationTextCard.styles.js +34 -0
- package/dist/components/Cards/IllustrationTextCard/index.d.ts +1 -0
- package/dist/components/Cards/IllustrationTextCard/index.js +17 -0
- package/dist/components/Cards/LinkTextCard/LinkTextCard.d.ts +2 -2
- package/dist/components/Cards/LinkTextCard/LinkTextCard.js +7 -6
- package/dist/components/Cards/LinkTextCard/LinkTextCard.styles.d.ts +20 -2
- package/dist/components/Cards/LinkTextCard/LinkTextCard.styles.js +9 -6
- package/dist/components/Cards/ProgressBarCard/ProgressBarCard.styles.d.ts +28 -1
- package/dist/components/Cards/QuickLinkCard/QuickLinkCard.d.ts +12 -0
- package/dist/components/Cards/QuickLinkCard/QuickLinkCard.js +27 -0
- package/dist/components/Cards/QuickLinkCard/QuickLinkCard.styles.d.ts +2897 -0
- package/dist/components/Cards/QuickLinkCard/QuickLinkCard.styles.js +31 -0
- package/dist/components/Cards/QuickLinkCard/index.d.ts +1 -0
- package/dist/components/Cards/QuickLinkCard/index.js +17 -0
- package/dist/components/Cards/ServicesImageCard/ServicesImageCard.d.ts +12 -0
- package/dist/components/Cards/ServicesImageCard/ServicesImageCard.js +24 -0
- package/dist/components/Cards/ServicesImageCard/ServicesImageCard.styles.d.ts +2902 -0
- package/dist/components/Cards/ServicesImageCard/ServicesImageCard.styles.js +38 -0
- package/dist/components/Cards/ServicesImageCard/index.d.ts +1 -0
- package/dist/components/Cards/ServicesImageCard/index.js +17 -0
- package/dist/components/Cards/components.d.ts +15 -0
- package/dist/components/Cards/components.js +24 -0
- package/dist/components/Cards/index.d.ts +5 -0
- package/dist/components/Cards/index.js +11 -1
- package/dist/components/Cards/shared.styles.d.ts +2835 -505
- package/dist/components/Cards/shared.styles.js +18 -2
- package/dist/components/Cards/utils.d.ts +1 -0
- package/dist/components/Cards/utils.js +13 -1
- package/dist/components/Checkbox/Checkbox.d.ts +2 -13
- package/dist/components/Checkbox/Checkbox.js +3 -49
- package/dist/components/Checkbox/styled.d.ts +3483 -0
- package/dist/components/Checkbox/styled.js +52 -0
- package/dist/components/Checkbox/types.d.ts +16 -0
- package/dist/components/Checkbox/types.js +2 -0
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -1
- package/dist/components/CurrencyInput/CurrencyInput.js +11 -4
- package/dist/components/CurrencyInput/styled.d.ts +2318 -0
- package/dist/components/CurrencyInput/styled.js +39 -0
- package/dist/components/DataTable/styles.d.ts +39 -0
- package/dist/components/Disclosure/Disclosure.d.ts +3 -0
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.js +3 -1
- package/dist/components/Em/Em.d.ts +3 -0
- package/dist/components/EmailInput/EmailInput.d.ts +4 -1
- package/dist/components/EmailInput/EmailInput.js +18 -2
- package/dist/components/EmptyState/EmptyState.d.ts +2 -0
- package/dist/components/EmptyState/EmptyState.js +17 -0
- package/dist/components/EmptyState/EmptyState.test.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.test.js +92 -0
- package/dist/components/EmptyState/index.d.ts +1 -0
- package/dist/components/EmptyState/index.js +17 -0
- package/dist/components/EmptyState/styles.d.ts +1156 -0
- package/dist/components/EmptyState/styles.js +23 -0
- package/dist/components/EmptyState/types.d.ts +18 -0
- package/dist/components/EmptyState/types.js +2 -0
- package/dist/components/ErrorText/ErrorText.d.ts +3 -0
- package/dist/components/Field/Field.d.ts +3 -2
- package/dist/components/Field/Field.js +3 -2
- package/dist/components/Grid/Col.d.ts +3 -0
- package/dist/components/HintText/HintText.d.ts +3 -0
- package/dist/components/Input/Input.d.ts +2 -1
- package/dist/components/Input/Input.js +6 -97
- package/dist/components/Input/styled.d.ts +1747 -0
- package/dist/components/Input/styled.js +96 -0
- package/dist/components/LabelText/LabelText.d.ts +3 -0
- package/dist/components/LargeValueReference/LargeValueReference.d.ts +11 -0
- package/dist/components/LargeValueReference/LargeValueReference.js +49 -0
- package/dist/components/LargeValueReference/index.d.ts +1 -0
- package/dist/components/LargeValueReference/index.js +17 -0
- package/dist/components/LargeValueReference/styles.d.ts +1741 -0
- package/dist/components/LargeValueReference/styles.js +29 -0
- package/dist/components/LineThrough/LineThrough.d.ts +3 -0
- package/dist/components/List/styled.d.ts +12 -0
- package/dist/components/Margin/Margin.d.ts +3 -0
- package/dist/components/NavHeader/NavHeader.styles.d.ts +33 -0
- package/dist/components/Notification/Notification.styles.d.ts +27 -0
- package/dist/components/PasswordInput/PasswordInput.styled.d.ts +4 -3
- package/dist/components/PasswordInput/PasswordInput.styled.js +5 -3
- package/dist/components/PasswordInput/PasswordVisibilityToggle.js +2 -8
- package/dist/components/RadioCard/RadioCard.d.ts +2 -1
- package/dist/components/RadioCard/RadioCard.js +7 -57
- package/dist/components/RadioCard/RadioCard.styles.d.ts +2901 -0
- package/dist/components/RadioCard/RadioCard.styles.js +97 -0
- package/dist/components/SelectField/Select.d.ts +5 -579
- package/dist/components/SelectField/Select.js +7 -107
- package/dist/components/SelectField/SelectField.d.ts +2 -2
- package/dist/components/SelectField/SelectField.js +2 -2
- package/dist/components/SelectField/styled.d.ts +4642 -0
- package/dist/components/SelectField/styled.js +118 -0
- package/dist/components/SkeletonText/SkeletonText.js +4 -4
- package/dist/components/Strong/Strong.d.ts +3 -0
- package/dist/components/SubLabelText/SubLabelText.d.ts +3 -0
- package/dist/components/Tabs/Tab.d.ts +3 -0
- package/dist/components/TextareaInput/TextareaInput.js +12 -6
- package/dist/components/Toggle/Toggle.d.ts +3 -1
- package/dist/components/Toggle/Toggle.js +4 -6
- package/dist/components/Toggle/styles.d.ts +13 -0
- package/dist/components/Toggle/styles.js +3 -3
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/esm/components/ActionList/Action.js +26 -0
- package/dist/esm/components/ActionList/ActionList.js +12 -28
- package/dist/esm/components/ActionList/ActionListItems/DataListItem.js +17 -0
- package/dist/esm/components/ActionList/ActionListItems/EditableListItem.js +131 -0
- package/dist/esm/components/ActionList/ActionListItems/NavigationListItem.js +26 -0
- package/dist/esm/components/ActionList/ActionListItems/ProgressRing.js +29 -0
- package/dist/esm/components/ActionList/ActionListItems/ToggleListItem.js +9 -0
- package/dist/esm/components/ActionList/ActionListItems/styles.js +135 -0
- package/dist/esm/components/ActionList/components/ActionListHeading.js +7 -0
- package/dist/esm/components/ActionList/index.js +6 -1
- package/dist/esm/components/ActionList/styled.js +23 -8
- package/dist/esm/components/Button/Button.js +1 -1
- package/dist/esm/components/Card/Card.js +45 -23
- package/dist/esm/components/Card/Card.styles.js +8 -12
- package/dist/esm/components/Cards/BalanceCard/BalanceCard.styles.js +2 -2
- package/dist/esm/components/Cards/DisruptiveCard/DisruptiveCard.js +41 -0
- package/dist/esm/components/Cards/DisruptiveCard/DisruptiveCard.styles.js +5 -0
- package/dist/esm/components/Cards/DisruptiveCard/index.js +1 -0
- package/dist/esm/components/Cards/HeroImageCard/HeroImageCard.js +28 -0
- package/dist/esm/components/Cards/HeroImageCard/HeroImageCard.styles.js +21 -0
- package/dist/esm/components/Cards/HeroImageCard/index.js +1 -0
- package/dist/esm/components/Cards/IconTextCard/IconTextCard.js +5 -18
- package/dist/esm/components/Cards/IconTextCard/IconTextCard.styles.js +0 -5
- package/dist/esm/components/Cards/IllustrationTextCard/IllustrationTextCard.js +22 -0
- package/dist/esm/components/Cards/IllustrationTextCard/IllustrationTextCard.styles.js +28 -0
- package/dist/esm/components/Cards/IllustrationTextCard/index.js +1 -0
- package/dist/esm/components/Cards/LinkTextCard/LinkTextCard.js +7 -6
- package/dist/esm/components/Cards/LinkTextCard/LinkTextCard.styles.js +9 -6
- package/dist/esm/components/Cards/QuickLinkCard/QuickLinkCard.js +23 -0
- package/dist/esm/components/Cards/QuickLinkCard/QuickLinkCard.styles.js +25 -0
- package/dist/esm/components/Cards/QuickLinkCard/index.js +1 -0
- package/dist/esm/components/Cards/ServicesImageCard/ServicesImageCard.js +20 -0
- package/dist/esm/components/Cards/ServicesImageCard/ServicesImageCard.styles.js +32 -0
- package/dist/esm/components/Cards/ServicesImageCard/index.js +1 -0
- package/dist/esm/components/Cards/components.js +19 -0
- package/dist/esm/components/Cards/index.js +5 -0
- package/dist/esm/components/Cards/shared.styles.js +17 -1
- package/dist/esm/components/Cards/utils.js +11 -0
- package/dist/esm/components/Checkbox/Checkbox.js +2 -45
- package/dist/esm/components/Checkbox/styled.js +46 -0
- package/dist/esm/components/Checkbox/types.js +1 -0
- package/dist/esm/components/CurrencyInput/CurrencyInput.js +12 -5
- package/dist/esm/components/CurrencyInput/styled.js +33 -0
- package/dist/esm/components/Divider/Divider.js +3 -1
- package/dist/esm/components/EmailInput/EmailInput.js +18 -2
- package/dist/esm/components/EmptyState/EmptyState.js +13 -0
- package/dist/esm/components/EmptyState/EmptyState.test.js +90 -0
- package/dist/esm/components/EmptyState/index.js +1 -0
- package/dist/esm/components/EmptyState/styles.js +17 -0
- package/dist/esm/components/EmptyState/types.js +1 -0
- package/dist/esm/components/Field/Field.js +3 -2
- package/dist/esm/components/Input/Input.js +6 -64
- package/dist/esm/components/Input/styled.js +60 -0
- package/dist/esm/components/LargeValueReference/LargeValueReference.js +45 -0
- package/dist/esm/components/LargeValueReference/index.js +1 -0
- package/dist/esm/components/LargeValueReference/styles.js +23 -0
- package/dist/esm/components/PasswordInput/PasswordInput.styled.js +5 -3
- package/dist/esm/components/PasswordInput/PasswordVisibilityToggle.js +2 -8
- package/dist/esm/components/RadioCard/RadioCard.js +5 -52
- package/dist/esm/components/RadioCard/RadioCard.styles.js +61 -0
- package/dist/esm/components/SelectField/Select.js +7 -74
- package/dist/esm/components/SelectField/SelectField.js +3 -3
- package/dist/esm/components/SelectField/styled.js +82 -0
- package/dist/esm/components/SkeletonText/SkeletonText.js +4 -4
- package/dist/esm/components/TextareaInput/TextareaInput.js +12 -6
- package/dist/esm/components/Toggle/Toggle.js +4 -6
- package/dist/esm/components/Toggle/styles.js +3 -3
- package/dist/esm/components/index.js +3 -0
- package/dist/esm/hooks/use-font-scaling.js +32 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/test/utils.js +12 -0
- package/dist/esm/utils/utils.js +12 -1
- package/dist/hooks/use-font-scaling.d.ts +26 -0
- package/dist/hooks/use-font-scaling.js +35 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/styled.native.d.ts +18 -0
- package/dist/test/utils.d.ts +4 -0
- package/dist/test/utils.js +28 -0
- package/dist/utils/utils.d.ts +11 -1
- package/dist/utils/utils.js +12 -0
- package/package.json +4 -4
- package/dist/components/ErrorWrapper/styles.d.ts +0 -0
- package/dist/components/ErrorWrapper/styles.js +0 -1
- package/dist/esm/components/ErrorWrapper/styles.js +0 -1
|
@@ -33,27 +33,26 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.StyledHintText = exports.StyledTextWrapper = exports.StyledLeftIcon = exports.StyledRightIcon = exports.StyledActionNodeWrapper = exports.StyledActionText = exports.StyledActionInner = exports.StyledActionWrapper = exports.StyledActionList = void 0;
|
|
36
|
+
exports.InfoRowWrapper = exports.GraphicContainer = exports.StyledHintText = exports.StyledTextWrapper = exports.StyledLeftIcon = exports.StyledRightIcon = exports.StyledActionNodeWrapper = exports.StyledActionText = exports.StyledActionInner = exports.StyledActionWrapper = exports.StyledActionList = void 0;
|
|
37
37
|
const element_core_1 = require("@ovotech/element-core");
|
|
38
38
|
const styled_native_1 = __importStar(require("../../styled.native"));
|
|
39
39
|
const utils_1 = require("../../utils");
|
|
40
|
+
const Card_1 = require("../Card");
|
|
40
41
|
const HintText_1 = require("../HintText");
|
|
41
42
|
const Icon_1 = require("../Icon");
|
|
42
|
-
const StyledList = styled_native_1.default.
|
|
43
|
+
const StyledList = (0, styled_native_1.default)(Card_1.Card)(({ theme, smallAndUp, inverted }) => (0, styled_native_1.css) `
|
|
43
44
|
flex-direction: column;
|
|
45
|
+
padding-top: ${(0, element_core_1.numToPx)(theme.space[0])};
|
|
46
|
+
padding-bottom: ${(0, element_core_1.numToPx)(theme.space[0])};
|
|
44
47
|
margin-top: ${(0, element_core_1.numToPx)(smallAndUp ? theme.space[300] : theme.space[200])};
|
|
45
48
|
margin-bottom: ${(0, element_core_1.numToPx)(smallAndUp ? theme.space[300] : theme.space[200])};
|
|
49
|
+
background-color: ${inverted && theme.color.neutral.black};
|
|
46
50
|
`);
|
|
47
51
|
exports.StyledActionList = (0, utils_1.styledComponentWithBreakpoints)(StyledList);
|
|
48
|
-
exports.StyledActionWrapper = styled_native_1.default.View(({ theme
|
|
52
|
+
exports.StyledActionWrapper = styled_native_1.default.View(({ theme }) => (0, styled_native_1.css) `
|
|
49
53
|
width: 100%;
|
|
50
54
|
align-self: flex-start;
|
|
51
|
-
|
|
52
|
-
border-bottom-style: solid;
|
|
53
|
-
border-bottom-color: ${inverted
|
|
54
|
-
? theme.color.surface.dim
|
|
55
|
-
: theme.color.brand.fixed.onBrand};
|
|
56
|
-
padding: ${inList && (hint || badgeText) ? (0, element_core_1.numToPx)(theme.space[200]) : 0} 0;
|
|
55
|
+
padding: ${(0, element_core_1.numToPx)(theme.space[400])} 0 ${(0, element_core_1.numToPx)(theme.space[400])} 0;
|
|
57
56
|
`);
|
|
58
57
|
exports.StyledActionInner = styled_native_1.default.View(({ fullWidth, standalone }) => (0, styled_native_1.css) `
|
|
59
58
|
flex-direction: row;
|
|
@@ -108,3 +107,19 @@ exports.StyledHintText = (0, styled_native_1.default)(HintText_1.HintText)(({ th
|
|
|
108
107
|
: theme.color.surface.onSurfaceVariant};
|
|
109
108
|
`;
|
|
110
109
|
});
|
|
110
|
+
// Action List Heading
|
|
111
|
+
exports.GraphicContainer = styled_native_1.default.View(({ theme }) => (0, styled_native_1.css) `
|
|
112
|
+
width: ${(0, element_core_1.numToPx)(theme.unit[1100])};
|
|
113
|
+
height: ${(0, element_core_1.numToPx)(theme.unit[1100])};
|
|
114
|
+
background-color: ${theme.color.surface.bright};
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
align-items: center;
|
|
118
|
+
border-radius: ${(0, element_core_1.numToPx)(theme.border.radius['2xl'])};
|
|
119
|
+
padding: ${(0, element_core_1.numToPx)(theme.space[200])};
|
|
120
|
+
`);
|
|
121
|
+
exports.InfoRowWrapper = styled_native_1.default.View(({ theme }) => (0, styled_native_1.css) `
|
|
122
|
+
flex-direction: row;
|
|
123
|
+
align-items: center;
|
|
124
|
+
gap: ${(0, element_core_1.numToPx)(theme.space[300])};
|
|
125
|
+
`);
|
|
@@ -53,6 +53,7 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
|
|
|
53
53
|
"30": string;
|
|
54
54
|
"40": string;
|
|
55
55
|
"50": string;
|
|
56
|
+
"55": string;
|
|
56
57
|
"56": string;
|
|
57
58
|
"60": string;
|
|
58
59
|
"70": string;
|
|
@@ -95,6 +96,7 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
|
|
|
95
96
|
onBrandVariant: string;
|
|
96
97
|
aiGradientFrom: string;
|
|
97
98
|
aiGradientTo: string;
|
|
99
|
+
accessible: string;
|
|
98
100
|
fixed: {
|
|
99
101
|
brand: string;
|
|
100
102
|
dark: string;
|
|
@@ -103,6 +105,7 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
|
|
|
103
105
|
bright: string;
|
|
104
106
|
onBrand: string;
|
|
105
107
|
onBrandVariant: string;
|
|
108
|
+
accessible: string;
|
|
106
109
|
};
|
|
107
110
|
};
|
|
108
111
|
outline: {
|
|
@@ -39,6 +39,7 @@ export declare const StyledButtonWrapper: import("styled-components").StyledComp
|
|
|
39
39
|
"30": string;
|
|
40
40
|
"40": string;
|
|
41
41
|
"50": string;
|
|
42
|
+
"55": string;
|
|
42
43
|
"56": string;
|
|
43
44
|
"60": string;
|
|
44
45
|
"70": string;
|
|
@@ -81,6 +82,7 @@ export declare const StyledButtonWrapper: import("styled-components").StyledComp
|
|
|
81
82
|
onBrandVariant: string;
|
|
82
83
|
aiGradientFrom: string;
|
|
83
84
|
aiGradientTo: string;
|
|
85
|
+
accessible: string;
|
|
84
86
|
fixed: {
|
|
85
87
|
brand: string;
|
|
86
88
|
dark: string;
|
|
@@ -89,6 +91,7 @@ export declare const StyledButtonWrapper: import("styled-components").StyledComp
|
|
|
89
91
|
bright: string;
|
|
90
92
|
onBrand: string;
|
|
91
93
|
onBrandVariant: string;
|
|
94
|
+
accessible: string;
|
|
92
95
|
};
|
|
93
96
|
};
|
|
94
97
|
outline: {
|
|
@@ -614,6 +617,7 @@ export declare const StyledInner: import("styled-components").StyledComponent<ty
|
|
|
614
617
|
"30": string;
|
|
615
618
|
"40": string;
|
|
616
619
|
"50": string;
|
|
620
|
+
"55": string;
|
|
617
621
|
"56": string;
|
|
618
622
|
"60": string;
|
|
619
623
|
"70": string;
|
|
@@ -656,6 +660,7 @@ export declare const StyledInner: import("styled-components").StyledComponent<ty
|
|
|
656
660
|
onBrandVariant: string;
|
|
657
661
|
aiGradientFrom: string;
|
|
658
662
|
aiGradientTo: string;
|
|
663
|
+
accessible: string;
|
|
659
664
|
fixed: {
|
|
660
665
|
brand: string;
|
|
661
666
|
dark: string;
|
|
@@ -664,6 +669,7 @@ export declare const StyledInner: import("styled-components").StyledComponent<ty
|
|
|
664
669
|
bright: string;
|
|
665
670
|
onBrand: string;
|
|
666
671
|
onBrandVariant: string;
|
|
672
|
+
accessible: string;
|
|
667
673
|
};
|
|
668
674
|
};
|
|
669
675
|
outline: {
|
|
@@ -1197,6 +1203,7 @@ export declare const StyledButtonIcon: import("styled-components").StyledCompone
|
|
|
1197
1203
|
"30": string;
|
|
1198
1204
|
"40": string;
|
|
1199
1205
|
"50": string;
|
|
1206
|
+
"55": string;
|
|
1200
1207
|
"56": string;
|
|
1201
1208
|
"60": string;
|
|
1202
1209
|
"70": string;
|
|
@@ -1239,6 +1246,7 @@ export declare const StyledButtonIcon: import("styled-components").StyledCompone
|
|
|
1239
1246
|
onBrandVariant: string;
|
|
1240
1247
|
aiGradientFrom: string;
|
|
1241
1248
|
aiGradientTo: string;
|
|
1249
|
+
accessible: string;
|
|
1242
1250
|
fixed: {
|
|
1243
1251
|
brand: string;
|
|
1244
1252
|
dark: string;
|
|
@@ -1247,6 +1255,7 @@ export declare const StyledButtonIcon: import("styled-components").StyledCompone
|
|
|
1247
1255
|
bright: string;
|
|
1248
1256
|
onBrand: string;
|
|
1249
1257
|
onBrandVariant: string;
|
|
1258
|
+
accessible: string;
|
|
1250
1259
|
};
|
|
1251
1260
|
};
|
|
1252
1261
|
outline: {
|
|
@@ -1779,6 +1788,7 @@ export declare const StyledButtonText: import("styled-components").StyledCompone
|
|
|
1779
1788
|
"30": string;
|
|
1780
1789
|
"40": string;
|
|
1781
1790
|
"50": string;
|
|
1791
|
+
"55": string;
|
|
1782
1792
|
"56": string;
|
|
1783
1793
|
"60": string;
|
|
1784
1794
|
"70": string;
|
|
@@ -1821,6 +1831,7 @@ export declare const StyledButtonText: import("styled-components").StyledCompone
|
|
|
1821
1831
|
onBrandVariant: string;
|
|
1822
1832
|
aiGradientFrom: string;
|
|
1823
1833
|
aiGradientTo: string;
|
|
1834
|
+
accessible: string;
|
|
1824
1835
|
fixed: {
|
|
1825
1836
|
brand: string;
|
|
1826
1837
|
dark: string;
|
|
@@ -1829,6 +1840,7 @@ export declare const StyledButtonText: import("styled-components").StyledCompone
|
|
|
1829
1840
|
bright: string;
|
|
1830
1841
|
onBrand: string;
|
|
1831
1842
|
onBrandVariant: string;
|
|
1843
|
+
accessible: string;
|
|
1832
1844
|
};
|
|
1833
1845
|
};
|
|
1834
1846
|
outline: {
|
|
@@ -8,13 +8,16 @@ export type CardProps = ViewProps & {
|
|
|
8
8
|
height?: number | string;
|
|
9
9
|
};
|
|
10
10
|
onPress?: () => void;
|
|
11
|
+
onSelect?: () => void;
|
|
11
12
|
children?: ReactNode;
|
|
12
13
|
};
|
|
13
14
|
export type CardFlags = {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
hasBackground: boolean;
|
|
16
|
+
hasBgImage?: boolean;
|
|
17
|
+
pressable: boolean;
|
|
18
|
+
selectable: boolean;
|
|
16
19
|
isDefault: boolean;
|
|
17
20
|
isOutline: boolean;
|
|
18
21
|
};
|
|
19
|
-
export declare const getCardFlags: (props: Pick<CardProps, "background" | "onPress" | "displayStyle">) => CardFlags;
|
|
20
|
-
export declare const Card: ({ children, displayStyle, background, onPress, ...rest }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const getCardFlags: (props: Pick<CardProps, "background" | "onPress" | "onSelect" | "displayStyle">) => CardFlags;
|
|
23
|
+
export declare const Card: ({ children, displayStyle, background, onPress, onSelect, ...rest }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,12 +19,21 @@ const hooks_1 = require("../../hooks");
|
|
|
19
19
|
const styled_native_1 = require("../../styled.native");
|
|
20
20
|
const Card_styles_1 = require("./Card.styles");
|
|
21
21
|
const getCardFlags = (props) => {
|
|
22
|
-
const { background, onPress, displayStyle } = props;
|
|
23
|
-
const
|
|
24
|
-
const
|
|
22
|
+
const { background, onPress, onSelect, displayStyle } = props;
|
|
23
|
+
const hasBackground = !!background;
|
|
24
|
+
const hasBgImage = hasBackground && typeof background !== 'string';
|
|
25
|
+
const selectable = Boolean(onSelect) && !onPress;
|
|
26
|
+
const pressable = Boolean(onPress) && !onSelect;
|
|
25
27
|
const isDefault = displayStyle === 'default';
|
|
26
28
|
const isOutline = displayStyle === 'outline';
|
|
27
|
-
return {
|
|
29
|
+
return {
|
|
30
|
+
hasBackground,
|
|
31
|
+
hasBgImage,
|
|
32
|
+
pressable,
|
|
33
|
+
selectable,
|
|
34
|
+
isDefault,
|
|
35
|
+
isOutline,
|
|
36
|
+
};
|
|
28
37
|
};
|
|
29
38
|
exports.getCardFlags = getCardFlags;
|
|
30
39
|
function useAnimatedBorder(baseColor, selectedColor, isSelected, duration) {
|
|
@@ -35,46 +44,59 @@ function useAnimatedBorder(baseColor, selectedColor, isSelected, duration) {
|
|
|
35
44
|
duration,
|
|
36
45
|
useNativeDriver: false,
|
|
37
46
|
}).start();
|
|
38
|
-
}, [isSelected, duration]);
|
|
47
|
+
}, [isSelected, duration, borderAnim]);
|
|
39
48
|
return borderAnim.interpolate({
|
|
40
49
|
inputRange: [0, 1],
|
|
41
50
|
outputRange: [baseColor, selectedColor],
|
|
42
51
|
});
|
|
43
52
|
}
|
|
44
53
|
const Card = (_a) => {
|
|
45
|
-
var { children, displayStyle = 'default', background, onPress } = _a, rest = __rest(_a, ["children", "displayStyle", "background", "onPress"]);
|
|
54
|
+
var { children, displayStyle = 'default', background, onPress, onSelect } = _a, rest = __rest(_a, ["children", "displayStyle", "background", "onPress", "onSelect"]);
|
|
46
55
|
const theme = (0, styled_native_1.useTheme)();
|
|
47
56
|
const [isFocused, setFocused] = (0, react_1.useState)(false);
|
|
48
57
|
const [isSelected, setSelected] = (0, react_1.useState)(false);
|
|
49
58
|
const { largeAndUp } = (0, hooks_1.useBreakpoint)();
|
|
50
|
-
const { hasBgImage,
|
|
59
|
+
const { hasBackground, hasBgImage, pressable, selectable, isDefault, isOutline, } = (0, exports.getCardFlags)({
|
|
51
60
|
background,
|
|
52
61
|
onPress,
|
|
53
62
|
displayStyle,
|
|
63
|
+
onSelect,
|
|
54
64
|
});
|
|
55
65
|
let baseBorderColor = theme.color.surface.bright;
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
else if (isDefault) {
|
|
60
|
-
if (hasBgImage)
|
|
66
|
+
if (isDefault) {
|
|
67
|
+
if (hasBgImage) {
|
|
61
68
|
baseBorderColor = 'transparent';
|
|
62
|
-
|
|
69
|
+
}
|
|
70
|
+
else if (typeof background === 'string') {
|
|
63
71
|
baseBorderColor = background;
|
|
64
|
-
|
|
65
|
-
baseBorderColor = theme.color.surface.bright;
|
|
72
|
+
}
|
|
66
73
|
}
|
|
67
74
|
const selectedBorderColor = theme.color.surface.onSurface;
|
|
68
|
-
const
|
|
75
|
+
const shouldHideBorder = hasBackground && !isOutline && !pressable && !selectable;
|
|
76
|
+
const animatedBorderColor = useAnimatedBorder(baseBorderColor, selectedBorderColor, selectable && isSelected, theme.transition.duration.fast);
|
|
69
77
|
const handlePress = () => {
|
|
70
|
-
setSelected(prev => !prev);
|
|
71
78
|
onPress === null || onPress === void 0 ? void 0 : onPress();
|
|
72
79
|
};
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
80
|
+
const handleSelect = () => {
|
|
81
|
+
setSelected(prev => !prev);
|
|
82
|
+
onSelect === null || onSelect === void 0 ? void 0 : onSelect();
|
|
83
|
+
};
|
|
84
|
+
const CardContent = ((0, jsx_runtime_1.jsxs)(Card_styles_1.AnimatedStyledCard, Object.assign({ displayStyle: displayStyle, background: background, largeAndUp: largeAndUp, onPress: onPress, onSelect: onSelect }, rest, { style: [
|
|
85
|
+
{
|
|
86
|
+
borderWidth: shouldHideBorder ? 0 : theme.border.width.md,
|
|
87
|
+
borderColor: animatedBorderColor,
|
|
88
|
+
},
|
|
89
|
+
rest === null || rest === void 0 ? void 0 : rest.style,
|
|
90
|
+
], children: [hasBgImage && ((0, jsx_runtime_1.jsx)(Card_styles_1.BackgroundImage, { source: background, resizeMode: "cover", largeAndUp: largeAndUp })), children] })));
|
|
91
|
+
const isInteractive = pressable || selectable;
|
|
92
|
+
return ((0, jsx_runtime_1.jsx)(Card_styles_1.TappableWrapper, Object.assign({ as: isInteractive ? react_native_1.Pressable : react_native_1.View, largeAndUp: largeAndUp, tappable: isInteractive, focused: isInteractive ? isFocused : false }, (isInteractive && {
|
|
93
|
+
onPress: pressable ? handlePress : handleSelect,
|
|
94
|
+
onFocus: () => setFocused(true),
|
|
95
|
+
onBlur: () => setFocused(false),
|
|
96
|
+
accessibilityRole: 'button',
|
|
97
|
+
style: ({ pressed }) => ({
|
|
77
98
|
opacity: pressed ? 0.9 : 1,
|
|
78
|
-
}),
|
|
99
|
+
}),
|
|
100
|
+
}), { children: CardContent })));
|
|
79
101
|
};
|
|
80
102
|
exports.Card = Card;
|
|
@@ -43,6 +43,7 @@ export declare const AnimatedStyledCard: Animated.AnimatedComponent<(props: Omit
|
|
|
43
43
|
"30": string;
|
|
44
44
|
"40": string;
|
|
45
45
|
"50": string;
|
|
46
|
+
"55": string;
|
|
46
47
|
"56": string;
|
|
47
48
|
"60": string;
|
|
48
49
|
"70": string;
|
|
@@ -85,6 +86,7 @@ export declare const AnimatedStyledCard: Animated.AnimatedComponent<(props: Omit
|
|
|
85
86
|
onBrandVariant: string;
|
|
86
87
|
aiGradientFrom: string;
|
|
87
88
|
aiGradientTo: string;
|
|
89
|
+
accessible: string;
|
|
88
90
|
fixed: {
|
|
89
91
|
brand: string;
|
|
90
92
|
dark: string;
|
|
@@ -93,6 +95,7 @@ export declare const AnimatedStyledCard: Animated.AnimatedComponent<(props: Omit
|
|
|
93
95
|
bright: string;
|
|
94
96
|
onBrand: string;
|
|
95
97
|
onBrandVariant: string;
|
|
98
|
+
accessible: string;
|
|
96
99
|
};
|
|
97
100
|
};
|
|
98
101
|
outline: {
|
|
@@ -622,6 +625,7 @@ export declare const BackgroundImage: import("styled-components").StyledComponen
|
|
|
622
625
|
"30": string;
|
|
623
626
|
"40": string;
|
|
624
627
|
"50": string;
|
|
628
|
+
"55": string;
|
|
625
629
|
"56": string;
|
|
626
630
|
"60": string;
|
|
627
631
|
"70": string;
|
|
@@ -664,6 +668,7 @@ export declare const BackgroundImage: import("styled-components").StyledComponen
|
|
|
664
668
|
onBrandVariant: string;
|
|
665
669
|
aiGradientFrom: string;
|
|
666
670
|
aiGradientTo: string;
|
|
671
|
+
accessible: string;
|
|
667
672
|
fixed: {
|
|
668
673
|
brand: string;
|
|
669
674
|
dark: string;
|
|
@@ -672,6 +677,7 @@ export declare const BackgroundImage: import("styled-components").StyledComponen
|
|
|
672
677
|
bright: string;
|
|
673
678
|
onBrand: string;
|
|
674
679
|
onBrandVariant: string;
|
|
680
|
+
accessible: string;
|
|
675
681
|
};
|
|
676
682
|
};
|
|
677
683
|
outline: {
|
|
@@ -1160,7 +1166,7 @@ export declare const BackgroundImage: import("styled-components").StyledComponen
|
|
|
1160
1166
|
}, {
|
|
1161
1167
|
largeAndUp?: boolean;
|
|
1162
1168
|
}, never>;
|
|
1163
|
-
export declare const TappableWrapper: import("styled-components").StyledComponent<
|
|
1169
|
+
export declare const TappableWrapper: import("styled-components").StyledComponent<typeof View, {
|
|
1164
1170
|
color: {
|
|
1165
1171
|
neutral: {
|
|
1166
1172
|
"20": string;
|
|
@@ -1199,6 +1205,7 @@ export declare const TappableWrapper: import("styled-components").StyledComponen
|
|
|
1199
1205
|
"30": string;
|
|
1200
1206
|
"40": string;
|
|
1201
1207
|
"50": string;
|
|
1208
|
+
"55": string;
|
|
1202
1209
|
"56": string;
|
|
1203
1210
|
"60": string;
|
|
1204
1211
|
"70": string;
|
|
@@ -1241,6 +1248,7 @@ export declare const TappableWrapper: import("styled-components").StyledComponen
|
|
|
1241
1248
|
onBrandVariant: string;
|
|
1242
1249
|
aiGradientFrom: string;
|
|
1243
1250
|
aiGradientTo: string;
|
|
1251
|
+
accessible: string;
|
|
1244
1252
|
fixed: {
|
|
1245
1253
|
brand: string;
|
|
1246
1254
|
dark: string;
|
|
@@ -1249,6 +1257,7 @@ export declare const TappableWrapper: import("styled-components").StyledComponen
|
|
|
1249
1257
|
bright: string;
|
|
1250
1258
|
onBrand: string;
|
|
1251
1259
|
onBrandVariant: string;
|
|
1260
|
+
accessible: string;
|
|
1252
1261
|
};
|
|
1253
1262
|
};
|
|
1254
1263
|
outline: {
|
|
@@ -1735,6 +1744,7 @@ export declare const TappableWrapper: import("styled-components").StyledComponen
|
|
|
1735
1744
|
};
|
|
1736
1745
|
};
|
|
1737
1746
|
}, {
|
|
1747
|
+
tappable: boolean;
|
|
1738
1748
|
focused: boolean;
|
|
1739
1749
|
largeAndUp: boolean;
|
|
1740
1750
|
}, never>;
|
|
@@ -8,20 +8,21 @@ const react_native_1 = require("react-native");
|
|
|
8
8
|
const styled_native_1 = __importDefault(require("../../styled.native"));
|
|
9
9
|
const utils_1 = require("../../utils");
|
|
10
10
|
const Card_1 = require("./Card");
|
|
11
|
-
const StyledCardBase = (0, styled_native_1.default)(react_native_1.View)(({ theme, displayStyle, background, onPress, largeAndUp, size, }) => {
|
|
12
|
-
const { hasBgImage,
|
|
11
|
+
const StyledCardBase = (0, styled_native_1.default)(react_native_1.View)(({ theme, displayStyle, background, onPress, onSelect, largeAndUp, size, }) => {
|
|
12
|
+
const { hasBgImage, pressable, selectable, isDefault } = (0, Card_1.getCardFlags)({
|
|
13
13
|
background,
|
|
14
14
|
onPress,
|
|
15
|
+
onSelect,
|
|
15
16
|
displayStyle,
|
|
16
17
|
});
|
|
17
18
|
const backgroundColor = hasBgImage
|
|
18
19
|
? 'transparent'
|
|
19
20
|
: typeof background === 'string'
|
|
20
21
|
? background
|
|
21
|
-
: isDefault ||
|
|
22
|
+
: isDefault || pressable || selectable
|
|
22
23
|
? theme.color.surface.bright
|
|
23
24
|
: 'transparent';
|
|
24
|
-
return Object.assign(Object.assign({}, (size || {})), { padding: theme.space[400], position: 'relative',
|
|
25
|
+
return Object.assign(Object.assign({}, (size || {})), { padding: theme.space[400], position: 'relative', borderStyle: 'solid', borderRadius: theme.border.radius[largeAndUp ? '2xl' : 'lg'], overflow: 'hidden', backgroundColor });
|
|
25
26
|
});
|
|
26
27
|
const CardBase = (0, utils_1.styledComponentWithBreakpoints)(StyledCardBase);
|
|
27
28
|
exports.AnimatedStyledCard = react_native_1.Animated.createAnimatedComponent(CardBase);
|
|
@@ -34,15 +35,10 @@ exports.BackgroundImage = (0, styled_native_1.default)(react_native_1.ImageBackg
|
|
|
34
35
|
borderRadius: theme.border.radius[largeAndUp ? '2xl' : 'lg'],
|
|
35
36
|
overflow: 'hidden',
|
|
36
37
|
}));
|
|
37
|
-
exports.TappableWrapper = (0, styled_native_1.default)(react_native_1.
|
|
38
|
-
backgroundColor: 'transparent',
|
|
39
|
-
borderColor: focused ? theme.color.outline.outer : 'transparent',
|
|
40
|
-
borderWidth: theme.border.width.md,
|
|
41
|
-
borderRadius: largeAndUp ? 26 : theme.border.radius.xl,
|
|
42
|
-
padding: theme.space[50],
|
|
38
|
+
exports.TappableWrapper = (0, styled_native_1.default)(react_native_1.View)(({ theme, focused, tappable, largeAndUp }) => (Object.assign(Object.assign({}, (tappable && {
|
|
43
39
|
shadowColor: '#000',
|
|
44
40
|
shadowOffset: { width: 0, height: theme.space[100] },
|
|
45
41
|
shadowOpacity: 0.1,
|
|
46
42
|
shadowRadius: theme.space[250],
|
|
47
43
|
elevation: theme.space[150],
|
|
48
|
-
}));
|
|
44
|
+
})), { backgroundColor: 'transparent', borderColor: focused ? theme.color.outline.outer : 'transparent', borderWidth: theme.border.width.md, borderRadius: largeAndUp ? 26 : theme.border.radius.xl, padding: theme.space[50] })));
|
|
@@ -38,6 +38,7 @@ export declare const CardContent: import("styled-components").StyledComponent<ty
|
|
|
38
38
|
"30": string;
|
|
39
39
|
"40": string;
|
|
40
40
|
"50": string;
|
|
41
|
+
"55": string;
|
|
41
42
|
"56": string;
|
|
42
43
|
"60": string;
|
|
43
44
|
"70": string;
|
|
@@ -80,6 +81,7 @@ export declare const CardContent: import("styled-components").StyledComponent<ty
|
|
|
80
81
|
onBrandVariant: string;
|
|
81
82
|
aiGradientFrom: string;
|
|
82
83
|
aiGradientTo: string;
|
|
84
|
+
accessible: string;
|
|
83
85
|
fixed: {
|
|
84
86
|
brand: string;
|
|
85
87
|
dark: string;
|
|
@@ -88,6 +90,7 @@ export declare const CardContent: import("styled-components").StyledComponent<ty
|
|
|
88
90
|
bright: string;
|
|
89
91
|
onBrand: string;
|
|
90
92
|
onBrandVariant: string;
|
|
93
|
+
accessible: string;
|
|
91
94
|
};
|
|
92
95
|
};
|
|
93
96
|
outline: {
|
|
@@ -613,6 +616,7 @@ export declare const Avatar: import("styled-components").StyledComponent<typeof
|
|
|
613
616
|
"30": string;
|
|
614
617
|
"40": string;
|
|
615
618
|
"50": string;
|
|
619
|
+
"55": string;
|
|
616
620
|
"56": string;
|
|
617
621
|
"60": string;
|
|
618
622
|
"70": string;
|
|
@@ -655,6 +659,7 @@ export declare const Avatar: import("styled-components").StyledComponent<typeof
|
|
|
655
659
|
onBrandVariant: string;
|
|
656
660
|
aiGradientFrom: string;
|
|
657
661
|
aiGradientTo: string;
|
|
662
|
+
accessible: string;
|
|
658
663
|
fixed: {
|
|
659
664
|
brand: string;
|
|
660
665
|
dark: string;
|
|
@@ -663,6 +668,7 @@ export declare const Avatar: import("styled-components").StyledComponent<typeof
|
|
|
663
668
|
bright: string;
|
|
664
669
|
onBrand: string;
|
|
665
670
|
onBrandVariant: string;
|
|
671
|
+
accessible: string;
|
|
666
672
|
};
|
|
667
673
|
};
|
|
668
674
|
outline: {
|
|
@@ -1188,6 +1194,7 @@ export declare const TextContent: import("styled-components").StyledComponent<ty
|
|
|
1188
1194
|
"30": string;
|
|
1189
1195
|
"40": string;
|
|
1190
1196
|
"50": string;
|
|
1197
|
+
"55": string;
|
|
1191
1198
|
"56": string;
|
|
1192
1199
|
"60": string;
|
|
1193
1200
|
"70": string;
|
|
@@ -1230,6 +1237,7 @@ export declare const TextContent: import("styled-components").StyledComponent<ty
|
|
|
1230
1237
|
onBrandVariant: string;
|
|
1231
1238
|
aiGradientFrom: string;
|
|
1232
1239
|
aiGradientTo: string;
|
|
1240
|
+
accessible: string;
|
|
1233
1241
|
fixed: {
|
|
1234
1242
|
brand: string;
|
|
1235
1243
|
dark: string;
|
|
@@ -1238,6 +1246,7 @@ export declare const TextContent: import("styled-components").StyledComponent<ty
|
|
|
1238
1246
|
bright: string;
|
|
1239
1247
|
onBrand: string;
|
|
1240
1248
|
onBrandVariant: string;
|
|
1249
|
+
accessible: string;
|
|
1241
1250
|
};
|
|
1242
1251
|
};
|
|
1243
1252
|
outline: {
|
|
@@ -1763,6 +1772,7 @@ export declare const TitleContent: import("styled-components").StyledComponent<t
|
|
|
1763
1772
|
"30": string;
|
|
1764
1773
|
"40": string;
|
|
1765
1774
|
"50": string;
|
|
1775
|
+
"55": string;
|
|
1766
1776
|
"56": string;
|
|
1767
1777
|
"60": string;
|
|
1768
1778
|
"70": string;
|
|
@@ -1805,6 +1815,7 @@ export declare const TitleContent: import("styled-components").StyledComponent<t
|
|
|
1805
1815
|
onBrandVariant: string;
|
|
1806
1816
|
aiGradientFrom: string;
|
|
1807
1817
|
aiGradientTo: string;
|
|
1818
|
+
accessible: string;
|
|
1808
1819
|
fixed: {
|
|
1809
1820
|
brand: string;
|
|
1810
1821
|
dark: string;
|
|
@@ -1813,6 +1824,7 @@ export declare const TitleContent: import("styled-components").StyledComponent<t
|
|
|
1813
1824
|
bright: string;
|
|
1814
1825
|
onBrand: string;
|
|
1815
1826
|
onBrandVariant: string;
|
|
1827
|
+
accessible: string;
|
|
1816
1828
|
};
|
|
1817
1829
|
};
|
|
1818
1830
|
outline: {
|
|
@@ -2342,6 +2354,7 @@ export declare const Title: import("styled-components").StyledComponent<(props:
|
|
|
2342
2354
|
"30": string;
|
|
2343
2355
|
"40": string;
|
|
2344
2356
|
"50": string;
|
|
2357
|
+
"55": string;
|
|
2345
2358
|
"56": string;
|
|
2346
2359
|
"60": string;
|
|
2347
2360
|
"70": string;
|
|
@@ -2384,6 +2397,7 @@ export declare const Title: import("styled-components").StyledComponent<(props:
|
|
|
2384
2397
|
onBrandVariant: string;
|
|
2385
2398
|
aiGradientFrom: string;
|
|
2386
2399
|
aiGradientTo: string;
|
|
2400
|
+
accessible: string;
|
|
2387
2401
|
fixed: {
|
|
2388
2402
|
brand: string;
|
|
2389
2403
|
dark: string;
|
|
@@ -2392,6 +2406,7 @@ export declare const Title: import("styled-components").StyledComponent<(props:
|
|
|
2392
2406
|
bright: string;
|
|
2393
2407
|
onBrand: string;
|
|
2394
2408
|
onBrandVariant: string;
|
|
2409
|
+
accessible: string;
|
|
2395
2410
|
};
|
|
2396
2411
|
};
|
|
2397
2412
|
outline: {
|
|
@@ -2917,6 +2932,7 @@ export declare const BodyContent: import("styled-components").StyledComponent<ty
|
|
|
2917
2932
|
"30": string;
|
|
2918
2933
|
"40": string;
|
|
2919
2934
|
"50": string;
|
|
2935
|
+
"55": string;
|
|
2920
2936
|
"56": string;
|
|
2921
2937
|
"60": string;
|
|
2922
2938
|
"70": string;
|
|
@@ -2959,6 +2975,7 @@ export declare const BodyContent: import("styled-components").StyledComponent<ty
|
|
|
2959
2975
|
onBrandVariant: string;
|
|
2960
2976
|
aiGradientFrom: string;
|
|
2961
2977
|
aiGradientTo: string;
|
|
2978
|
+
accessible: string;
|
|
2962
2979
|
fixed: {
|
|
2963
2980
|
brand: string;
|
|
2964
2981
|
dark: string;
|
|
@@ -2967,6 +2984,7 @@ export declare const BodyContent: import("styled-components").StyledComponent<ty
|
|
|
2967
2984
|
bright: string;
|
|
2968
2985
|
onBrand: string;
|
|
2969
2986
|
onBrandVariant: string;
|
|
2987
|
+
accessible: string;
|
|
2970
2988
|
};
|
|
2971
2989
|
};
|
|
2972
2990
|
outline: {
|
|
@@ -3496,6 +3514,7 @@ export declare const Body: import("styled-components").StyledComponent<(props: i
|
|
|
3496
3514
|
"30": string;
|
|
3497
3515
|
"40": string;
|
|
3498
3516
|
"50": string;
|
|
3517
|
+
"55": string;
|
|
3499
3518
|
"56": string;
|
|
3500
3519
|
"60": string;
|
|
3501
3520
|
"70": string;
|
|
@@ -3538,6 +3557,7 @@ export declare const Body: import("styled-components").StyledComponent<(props: i
|
|
|
3538
3557
|
onBrandVariant: string;
|
|
3539
3558
|
aiGradientFrom: string;
|
|
3540
3559
|
aiGradientTo: string;
|
|
3560
|
+
accessible: string;
|
|
3541
3561
|
fixed: {
|
|
3542
3562
|
brand: string;
|
|
3543
3563
|
dark: string;
|
|
@@ -3546,6 +3566,7 @@ export declare const Body: import("styled-components").StyledComponent<(props: i
|
|
|
3546
3566
|
bright: string;
|
|
3547
3567
|
onBrand: string;
|
|
3548
3568
|
onBrandVariant: string;
|
|
3569
|
+
accessible: string;
|
|
3549
3570
|
};
|
|
3550
3571
|
};
|
|
3551
3572
|
outline: {
|
|
@@ -4073,6 +4094,7 @@ export declare const ButtonContainer: import("styled-components").StyledComponen
|
|
|
4073
4094
|
"30": string;
|
|
4074
4095
|
"40": string;
|
|
4075
4096
|
"50": string;
|
|
4097
|
+
"55": string;
|
|
4076
4098
|
"56": string;
|
|
4077
4099
|
"60": string;
|
|
4078
4100
|
"70": string;
|
|
@@ -4115,6 +4137,7 @@ export declare const ButtonContainer: import("styled-components").StyledComponen
|
|
|
4115
4137
|
onBrandVariant: string;
|
|
4116
4138
|
aiGradientFrom: string;
|
|
4117
4139
|
aiGradientTo: string;
|
|
4140
|
+
accessible: string;
|
|
4118
4141
|
fixed: {
|
|
4119
4142
|
brand: string;
|
|
4120
4143
|
dark: string;
|
|
@@ -4123,6 +4146,7 @@ export declare const ButtonContainer: import("styled-components").StyledComponen
|
|
|
4123
4146
|
bright: string;
|
|
4124
4147
|
onBrand: string;
|
|
4125
4148
|
onBrandVariant: string;
|
|
4149
|
+
accessible: string;
|
|
4126
4150
|
};
|
|
4127
4151
|
};
|
|
4128
4152
|
outline: {
|