@spaced-out/ui-design-system 0.1.60 → 0.1.61
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/CHANGELOG.md +8 -0
- package/design-tokens/font/base-font.json +6 -0
- package/lib/components/Avatar/Avatar.js +10 -2
- package/lib/components/Avatar/Avatar.js.flow +7 -0
- package/lib/components/Avatar/Avatar.module.css +15 -1
- package/lib/components/AvatarGroup/AvatarGroup.js +3 -1
- package/lib/components/AvatarGroup/AvatarGroup.js.flow +2 -0
- package/lib/components/AvatarGroup/AvatarGroup.module.css +6 -1
- package/lib/components/Icon/Icon.js +2 -1
- package/lib/components/Icon/Icon.js.flow +1 -0
- package/lib/components/Text/Text.js +69 -46
- package/lib/components/Text/Text.js.flow +35 -0
- package/lib/components/Text/index.js +6 -0
- package/lib/components/Text/index.js.flow +1 -0
- package/lib/styles/index.css +4 -0
- package/lib/styles/index.js +6 -2
- package/lib/styles/index.js.flow +4 -0
- package/lib/styles/typography.module.css +22 -6
- package/lib/styles/variables/_font.css +4 -0
- package/lib/styles/variables/_font.js +5 -1
- package/lib/styles/variables/_font.js.flow +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.61](https://github.com/spaced-out/ui-design-system/compare/v0.1.60...v0.1.61) (2023-10-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 🆎 JumboLarge typography and changes to base font tokens ([529dd89](https://github.com/spaced-out/ui-design-system/commit/529dd89e7248596c6ab450f65915e690f46a1d49))
|
|
11
|
+
* add avatar and icon large ([#148](https://github.com/spaced-out/ui-design-system/issues/148)) ([f6a8b70](https://github.com/spaced-out/ui-design-system/commit/f6a8b70e5b88c5eaf6b3dd74f5d4563449fc1553))
|
|
12
|
+
|
|
5
13
|
### [0.1.60](https://github.com/spaced-out/ui-design-system/compare/v0.1.59...v0.1.60) (2023-10-16)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"26": {
|
|
36
36
|
"value": "26px"
|
|
37
37
|
},
|
|
38
|
+
"36": {
|
|
39
|
+
"value": "36px"
|
|
40
|
+
},
|
|
38
41
|
"46": {
|
|
39
42
|
"value": "46px"
|
|
40
43
|
}
|
|
@@ -58,6 +61,9 @@
|
|
|
58
61
|
"minus2": {
|
|
59
62
|
"value": "-0.02em"
|
|
60
63
|
},
|
|
64
|
+
"minus3": {
|
|
65
|
+
"value": "-0.03em"
|
|
66
|
+
},
|
|
61
67
|
"minus4": {
|
|
62
68
|
"value": "-0.04em"
|
|
63
69
|
}
|
|
@@ -18,7 +18,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
18
18
|
const AVATAR_SIZE = Object.freeze({
|
|
19
19
|
small: 'small',
|
|
20
20
|
medium: 'medium',
|
|
21
|
-
large: 'large'
|
|
21
|
+
large: 'large',
|
|
22
|
+
extraLarge: 'extraLarge'
|
|
22
23
|
});
|
|
23
24
|
exports.AVATAR_SIZE = AVATAR_SIZE;
|
|
24
25
|
const avatarSizeOptions = [...Object.keys(AVATAR_SIZE)];
|
|
@@ -58,6 +59,10 @@ const AvatarTextDecorator = _ref => {
|
|
|
58
59
|
return /*#__PURE__*/React.createElement(_Text.SubTitleLarge, {
|
|
59
60
|
className: className
|
|
60
61
|
}, avatarText);
|
|
62
|
+
case 'extraLarge':
|
|
63
|
+
return /*#__PURE__*/React.createElement(_Text.JumboSmall, {
|
|
64
|
+
className: className
|
|
65
|
+
}, avatarText);
|
|
61
66
|
}
|
|
62
67
|
};
|
|
63
68
|
|
|
@@ -65,7 +70,8 @@ const AvatarTextDecorator = _ref => {
|
|
|
65
70
|
const iconSize = Object.freeze({
|
|
66
71
|
small: 'small',
|
|
67
72
|
medium: 'medium',
|
|
68
|
-
large: 'medium'
|
|
73
|
+
large: 'medium',
|
|
74
|
+
extraLarge: 'large'
|
|
69
75
|
});
|
|
70
76
|
const AvatarConditionalContent = _ref2 => {
|
|
71
77
|
let {
|
|
@@ -123,6 +129,7 @@ const Avatar = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
|
|
|
123
129
|
} = _ref3;
|
|
124
130
|
return /*#__PURE__*/React.createElement("div", {
|
|
125
131
|
className: (0, _classify.default)(_AvatarModule.default.container, {
|
|
132
|
+
[_AvatarModule.default.extraLargeSize]: size === 'extraLarge',
|
|
126
133
|
[_AvatarModule.default.largeSize]: size === 'large',
|
|
127
134
|
[_AvatarModule.default.mediumSize]: size === 'medium',
|
|
128
135
|
[_AvatarModule.default.smallSize]: size === 'small'
|
|
@@ -166,6 +173,7 @@ const BaseAvatar = _ref4 => {
|
|
|
166
173
|
} = _ref4;
|
|
167
174
|
return /*#__PURE__*/React.createElement("div", {
|
|
168
175
|
className: (0, _classify.default)(_AvatarModule.default.container, {
|
|
176
|
+
[_AvatarModule.default.baseExtraLargeSize]: size === 'extraLarge',
|
|
169
177
|
[_AvatarModule.default.baseLargeSize]: size === 'large',
|
|
170
178
|
[_AvatarModule.default.baseMediumSize]: size === 'medium',
|
|
171
179
|
[_AvatarModule.default.baseSmallSize]: size === 'small'
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
+
JumboSmall,
|
|
6
7
|
SubTitleLarge,
|
|
7
8
|
SubTitleMedium,
|
|
8
9
|
SubTitleSmall,
|
|
@@ -38,6 +39,7 @@ export const AVATAR_SIZE = Object.freeze({
|
|
|
38
39
|
small: 'small',
|
|
39
40
|
medium: 'medium',
|
|
40
41
|
large: 'large',
|
|
42
|
+
extraLarge: 'extraLarge',
|
|
41
43
|
});
|
|
42
44
|
export const avatarSizeOptions: Array<mixed> = [...Object.keys(AVATAR_SIZE)];
|
|
43
45
|
|
|
@@ -94,6 +96,8 @@ const AvatarTextDecorator = ({
|
|
|
94
96
|
);
|
|
95
97
|
case 'large':
|
|
96
98
|
return <SubTitleLarge className={className}>{avatarText}</SubTitleLarge>;
|
|
99
|
+
case 'extraLarge':
|
|
100
|
+
return <JumboSmall className={className}>{avatarText}</JumboSmall>;
|
|
97
101
|
}
|
|
98
102
|
};
|
|
99
103
|
|
|
@@ -102,6 +106,7 @@ const iconSize = Object.freeze({
|
|
|
102
106
|
small: 'small',
|
|
103
107
|
medium: 'medium',
|
|
104
108
|
large: 'medium',
|
|
109
|
+
extraLarge: 'large',
|
|
105
110
|
});
|
|
106
111
|
|
|
107
112
|
export type AvatarContentProps = {
|
|
@@ -193,6 +198,7 @@ export const Avatar: React$AbstractComponent<AvatarProps, HTMLDivElement> =
|
|
|
193
198
|
className={classify(
|
|
194
199
|
css.container,
|
|
195
200
|
{
|
|
201
|
+
[css.extraLargeSize]: size === 'extraLarge',
|
|
196
202
|
[css.largeSize]: size === 'large',
|
|
197
203
|
[css.mediumSize]: size === 'medium',
|
|
198
204
|
[css.smallSize]: size === 'small',
|
|
@@ -246,6 +252,7 @@ export const BaseAvatar = ({
|
|
|
246
252
|
className={classify(
|
|
247
253
|
css.container,
|
|
248
254
|
{
|
|
255
|
+
[css.baseExtraLargeSize]: size === 'extraLarge',
|
|
249
256
|
[css.baseLargeSize]: size === 'large',
|
|
250
257
|
[css.baseMediumSize]: size === 'medium',
|
|
251
258
|
[css.baseSmallSize]: size === 'small',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@value (colorFillPrimary, colorBackgroundTertiary, colorInformation, colorInformationLightest) from '../../styles/variables/_color.css';
|
|
2
|
-
@value ( size34, size42, size60, sizeFluid) from '../../styles/variables/_size.css';
|
|
2
|
+
@value ( size34, size42, size60, size100, sizeFluid) from '../../styles/variables/_size.css';
|
|
3
3
|
@value (borderRadiusCircle, borderRadiusLarge, borderRadiusXLarge, borderWidthSecondary) from '../../styles/variables/_border.css';
|
|
4
4
|
@value (spaceNone, spaceXXSmall, spaceXSmall) from '../../styles/variables/_space.css';
|
|
5
5
|
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
justify-content: center;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.container.extraLargeSize {
|
|
14
|
+
width: size100;
|
|
15
|
+
height: size100;
|
|
16
|
+
min-width: size100;
|
|
17
|
+
min-height: size100;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.container.largeSize {
|
|
14
21
|
width: size60;
|
|
15
22
|
height: size60;
|
|
@@ -31,6 +38,13 @@
|
|
|
31
38
|
min-height: size34;
|
|
32
39
|
}
|
|
33
40
|
|
|
41
|
+
.container.baseExtraLargeSize {
|
|
42
|
+
min-width: size100;
|
|
43
|
+
height: size100;
|
|
44
|
+
border-radius: borderRadiusCircle;
|
|
45
|
+
padding: spaceNone spaceSmall;
|
|
46
|
+
}
|
|
47
|
+
|
|
34
48
|
.container.baseLargeSize {
|
|
35
49
|
min-width: size60;
|
|
36
50
|
height: size60;
|
|
@@ -30,7 +30,8 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
30
30
|
const leftOverlap = {
|
|
31
31
|
small: _space.spaceXXSmall,
|
|
32
32
|
medium: `${parseInt(_space.spaceSmall) / 2}px`,
|
|
33
|
-
large: _space.spaceXSmall
|
|
33
|
+
large: _space.spaceXSmall,
|
|
34
|
+
extraLarge: _space.spaceSmall
|
|
34
35
|
};
|
|
35
36
|
let colorIndex = -1;
|
|
36
37
|
const avatarInGroup = (child, index, color) => {
|
|
@@ -113,6 +114,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
113
114
|
});
|
|
114
115
|
return /*#__PURE__*/React.createElement("div", {
|
|
115
116
|
className: (0, _classify.default)(_AvatarGroupModule.default.avatarGroupContainer, {
|
|
117
|
+
[_AvatarGroupModule.default.extraLargeSize]: size === 'extraLarge',
|
|
116
118
|
[_AvatarGroupModule.default.largeSize]: size === 'large',
|
|
117
119
|
[_AvatarGroupModule.default.mediumSize]: size === 'medium',
|
|
118
120
|
[_AvatarGroupModule.default.smallSize]: size === 'small'
|
|
@@ -51,6 +51,7 @@ export const AvatarGroup: React$AbstractComponent<
|
|
|
51
51
|
small: spaceXXSmall,
|
|
52
52
|
medium: `${parseInt(spaceSmall) / 2}px`,
|
|
53
53
|
large: spaceXSmall,
|
|
54
|
+
extraLarge: spaceSmall,
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
let colorIndex = -1;
|
|
@@ -142,6 +143,7 @@ export const AvatarGroup: React$AbstractComponent<
|
|
|
142
143
|
return (
|
|
143
144
|
<div
|
|
144
145
|
className={classify(css.avatarGroupContainer, {
|
|
146
|
+
[css.extraLargeSize]: size === 'extraLarge',
|
|
145
147
|
[css.largeSize]: size === 'large',
|
|
146
148
|
[css.mediumSize]: size === 'medium',
|
|
147
149
|
[css.smallSize]: size === 'small',
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
@value (colorFillPrimary, colorBackgroundTertiary) from '../../styles/variables/_color.css';
|
|
2
2
|
@value (borderWidthTertiary) from '../../styles/variables/_border.css';
|
|
3
|
-
@value ( size34, size42, size60) from '../../styles/variables/_size.css';
|
|
3
|
+
@value ( size34, size42, size60, size100) from '../../styles/variables/_size.css';
|
|
4
4
|
|
|
5
5
|
.avatarGroupContainer {
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
.avatarGroupContainer.extraLargeSize {
|
|
11
|
+
height: size100;
|
|
12
|
+
width: size100;
|
|
13
|
+
}
|
|
14
|
+
|
|
10
15
|
.avatarGroupContainer.largeSize {
|
|
11
16
|
height: size60;
|
|
12
17
|
}
|
|
@@ -14,7 +14,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
14
14
|
|
|
15
15
|
const ICON_SIZE = Object.freeze({
|
|
16
16
|
small: 'small',
|
|
17
|
-
medium: 'medium'
|
|
17
|
+
medium: 'medium',
|
|
18
|
+
large: 'large'
|
|
18
19
|
});
|
|
19
20
|
exports.ICON_SIZE = ICON_SIZE;
|
|
20
21
|
const Icon = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.TitleMedium = exports.SubTitleSmall = exports.SubTitleMedium = exports.SubTitleLarge = exports.SubTitleExtraSmall = exports.JumboSmall = exports.JumboMedium = exports.FormLabelSmall = exports.FormLabelMedium = exports.FormInputSmall = exports.FormInputMedium = exports.ButtonTextSmallUnderline = exports.ButtonTextSmall = exports.ButtonTextMediumUnderline = exports.ButtonTextMedium = exports.ButtonTextExtraSmallUnderline = exports.ButtonTextExtraSmall = exports.BodySmallBold = exports.BodySmall = exports.BodyMediumBold = exports.BodyMedium = exports.BodyLargeBold = exports.BodyLarge = void 0;
|
|
6
|
+
exports.TitleMedium = exports.SubTitleSmall = exports.SubTitleMedium = exports.SubTitleLarge = exports.SubTitleExtraSmall = exports.JumboSmall = exports.JumboMedium = exports.JumboLarge = exports.FormLabelSmall = exports.FormLabelMedium = exports.FormInputSmall = exports.FormInputMedium = exports.ButtonTextSmallUnderline = exports.ButtonTextSmall = exports.ButtonTextMediumUnderline = exports.ButtonTextMedium = exports.ButtonTextExtraSmallUnderline = exports.ButtonTextExtraSmall = exports.BodySmallBold = exports.BodySmall = exports.BodyMediumBold = exports.BodyMedium = exports.BodyLargeBold = exports.BodyLarge = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _typography = require("../../types/typography");
|
|
9
9
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
@@ -39,7 +39,7 @@ const HighlightText = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
39
39
|
}, part) : part;
|
|
40
40
|
}));
|
|
41
41
|
});
|
|
42
|
-
const
|
|
42
|
+
const JumboLarge = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
43
43
|
let {
|
|
44
44
|
color = _typography.TEXT_COLORS.primary,
|
|
45
45
|
children,
|
|
@@ -50,6 +50,29 @@ const JumboMedium = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
|
50
50
|
highlightWithBackground,
|
|
51
51
|
...props
|
|
52
52
|
} = _ref2;
|
|
53
|
+
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
54
|
+
className: (0, _classify.default)(_typographyModule.default.jumboLarge, _typographyModule.default[color], className),
|
|
55
|
+
ref: ref
|
|
56
|
+
}), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
|
|
57
|
+
text: children,
|
|
58
|
+
highlight: highlightString,
|
|
59
|
+
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
60
|
+
highlightClassName: highlightedTextClassName,
|
|
61
|
+
highlightWithBackground: highlightWithBackground
|
|
62
|
+
}) : children);
|
|
63
|
+
});
|
|
64
|
+
exports.JumboLarge = JumboLarge;
|
|
65
|
+
const JumboMedium = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
|
|
66
|
+
let {
|
|
67
|
+
color = _typography.TEXT_COLORS.primary,
|
|
68
|
+
children,
|
|
69
|
+
className,
|
|
70
|
+
highlightedTextClassName,
|
|
71
|
+
highlightString,
|
|
72
|
+
caseSensitiveHighlighting,
|
|
73
|
+
highlightWithBackground,
|
|
74
|
+
...props
|
|
75
|
+
} = _ref3;
|
|
53
76
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
54
77
|
className: (0, _classify.default)(_typographyModule.default.jumboMedium, _typographyModule.default[color], className),
|
|
55
78
|
ref: ref
|
|
@@ -62,7 +85,7 @@ const JumboMedium = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
|
62
85
|
}) : children);
|
|
63
86
|
});
|
|
64
87
|
exports.JumboMedium = JumboMedium;
|
|
65
|
-
const JumboSmall = /*#__PURE__*/React.forwardRef((
|
|
88
|
+
const JumboSmall = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
|
|
66
89
|
let {
|
|
67
90
|
color = _typography.TEXT_COLORS.primary,
|
|
68
91
|
children,
|
|
@@ -72,7 +95,7 @@ const JumboSmall = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
|
|
|
72
95
|
caseSensitiveHighlighting,
|
|
73
96
|
highlightWithBackground,
|
|
74
97
|
...props
|
|
75
|
-
} =
|
|
98
|
+
} = _ref4;
|
|
76
99
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
77
100
|
className: (0, _classify.default)(_typographyModule.default.jumboSmall, _typographyModule.default[color], className),
|
|
78
101
|
ref: ref
|
|
@@ -85,7 +108,7 @@ const JumboSmall = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
|
|
|
85
108
|
}) : children);
|
|
86
109
|
});
|
|
87
110
|
exports.JumboSmall = JumboSmall;
|
|
88
|
-
const TitleMedium = /*#__PURE__*/React.forwardRef((
|
|
111
|
+
const TitleMedium = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
|
|
89
112
|
let {
|
|
90
113
|
color = _typography.TEXT_COLORS.primary,
|
|
91
114
|
children,
|
|
@@ -95,7 +118,7 @@ const TitleMedium = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
|
|
|
95
118
|
caseSensitiveHighlighting,
|
|
96
119
|
highlightWithBackground,
|
|
97
120
|
...props
|
|
98
|
-
} =
|
|
121
|
+
} = _ref5;
|
|
99
122
|
return /*#__PURE__*/React.createElement("h1", _extends({}, props, {
|
|
100
123
|
className: (0, _classify.default)(_typographyModule.default.titleMedium, _typographyModule.default[color], className),
|
|
101
124
|
ref: ref
|
|
@@ -108,7 +131,7 @@ const TitleMedium = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
|
|
|
108
131
|
}) : children);
|
|
109
132
|
});
|
|
110
133
|
exports.TitleMedium = TitleMedium;
|
|
111
|
-
const SubTitleLarge = /*#__PURE__*/React.forwardRef((
|
|
134
|
+
const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
|
|
112
135
|
let {
|
|
113
136
|
color = _typography.TEXT_COLORS.primary,
|
|
114
137
|
children,
|
|
@@ -118,7 +141,7 @@ const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
|
|
|
118
141
|
caseSensitiveHighlighting,
|
|
119
142
|
highlightWithBackground,
|
|
120
143
|
...props
|
|
121
|
-
} =
|
|
144
|
+
} = _ref6;
|
|
122
145
|
return /*#__PURE__*/React.createElement("h2", _extends({}, props, {
|
|
123
146
|
className: (0, _classify.default)(_typographyModule.default.subTitleLarge, _typographyModule.default[color], className),
|
|
124
147
|
ref: ref
|
|
@@ -131,7 +154,7 @@ const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
|
|
|
131
154
|
}) : children);
|
|
132
155
|
});
|
|
133
156
|
exports.SubTitleLarge = SubTitleLarge;
|
|
134
|
-
const SubTitleMedium = /*#__PURE__*/React.forwardRef((
|
|
157
|
+
const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
|
|
135
158
|
let {
|
|
136
159
|
color = _typography.TEXT_COLORS.primary,
|
|
137
160
|
children,
|
|
@@ -141,7 +164,7 @@ const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
|
|
|
141
164
|
caseSensitiveHighlighting,
|
|
142
165
|
highlightWithBackground,
|
|
143
166
|
...props
|
|
144
|
-
} =
|
|
167
|
+
} = _ref7;
|
|
145
168
|
return /*#__PURE__*/React.createElement("h3", _extends({}, props, {
|
|
146
169
|
className: (0, _classify.default)(_typographyModule.default.subTitleMedium, _typographyModule.default[color], className),
|
|
147
170
|
ref: ref
|
|
@@ -154,7 +177,7 @@ const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
|
|
|
154
177
|
}) : children);
|
|
155
178
|
});
|
|
156
179
|
exports.SubTitleMedium = SubTitleMedium;
|
|
157
|
-
const SubTitleSmall = /*#__PURE__*/React.forwardRef((
|
|
180
|
+
const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
|
|
158
181
|
let {
|
|
159
182
|
color = _typography.TEXT_COLORS.primary,
|
|
160
183
|
children,
|
|
@@ -164,7 +187,7 @@ const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
|
|
|
164
187
|
caseSensitiveHighlighting,
|
|
165
188
|
highlightWithBackground,
|
|
166
189
|
...props
|
|
167
|
-
} =
|
|
190
|
+
} = _ref8;
|
|
168
191
|
return /*#__PURE__*/React.createElement("h4", _extends({}, props, {
|
|
169
192
|
className: (0, _classify.default)(_typographyModule.default.subTitleSmall, _typographyModule.default[color], className),
|
|
170
193
|
ref: ref
|
|
@@ -177,7 +200,7 @@ const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
|
|
|
177
200
|
}) : children);
|
|
178
201
|
});
|
|
179
202
|
exports.SubTitleSmall = SubTitleSmall;
|
|
180
|
-
const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((
|
|
203
|
+
const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
|
|
181
204
|
let {
|
|
182
205
|
color = _typography.TEXT_COLORS.primary,
|
|
183
206
|
children,
|
|
@@ -187,7 +210,7 @@ const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
|
|
|
187
210
|
caseSensitiveHighlighting,
|
|
188
211
|
highlightWithBackground,
|
|
189
212
|
...props
|
|
190
|
-
} =
|
|
213
|
+
} = _ref9;
|
|
191
214
|
return /*#__PURE__*/React.createElement("h5", _extends({}, props, {
|
|
192
215
|
className: (0, _classify.default)(_typographyModule.default.subTitleExtraSmall, _typographyModule.default[color], className),
|
|
193
216
|
ref: ref
|
|
@@ -200,7 +223,7 @@ const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
|
|
|
200
223
|
}) : children);
|
|
201
224
|
});
|
|
202
225
|
exports.SubTitleExtraSmall = SubTitleExtraSmall;
|
|
203
|
-
const ButtonTextMedium = /*#__PURE__*/React.forwardRef((
|
|
226
|
+
const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
|
|
204
227
|
let {
|
|
205
228
|
color = _typography.TEXT_COLORS.primary,
|
|
206
229
|
children,
|
|
@@ -210,7 +233,7 @@ const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
|
|
|
210
233
|
caseSensitiveHighlighting,
|
|
211
234
|
highlightWithBackground,
|
|
212
235
|
...props
|
|
213
|
-
} =
|
|
236
|
+
} = _ref10;
|
|
214
237
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
215
238
|
className: (0, _classify.default)(_typographyModule.default.buttonTextMedium, _typographyModule.default[color], className),
|
|
216
239
|
ref: ref
|
|
@@ -223,7 +246,7 @@ const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
|
|
|
223
246
|
}) : children);
|
|
224
247
|
});
|
|
225
248
|
exports.ButtonTextMedium = ButtonTextMedium;
|
|
226
|
-
const ButtonTextSmall = /*#__PURE__*/React.forwardRef((
|
|
249
|
+
const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
|
|
227
250
|
let {
|
|
228
251
|
color = _typography.TEXT_COLORS.primary,
|
|
229
252
|
children,
|
|
@@ -233,7 +256,7 @@ const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
|
|
|
233
256
|
caseSensitiveHighlighting,
|
|
234
257
|
highlightWithBackground,
|
|
235
258
|
...props
|
|
236
|
-
} =
|
|
259
|
+
} = _ref11;
|
|
237
260
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
238
261
|
className: (0, _classify.default)(_typographyModule.default.buttonTextSmall, _typographyModule.default[color], className),
|
|
239
262
|
ref: ref
|
|
@@ -246,7 +269,7 @@ const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
|
|
|
246
269
|
}) : children);
|
|
247
270
|
});
|
|
248
271
|
exports.ButtonTextSmall = ButtonTextSmall;
|
|
249
|
-
const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((
|
|
272
|
+
const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
|
|
250
273
|
let {
|
|
251
274
|
color = _typography.TEXT_COLORS.primary,
|
|
252
275
|
children,
|
|
@@ -256,7 +279,7 @@ const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
|
|
|
256
279
|
caseSensitiveHighlighting,
|
|
257
280
|
highlightWithBackground,
|
|
258
281
|
...props
|
|
259
|
-
} =
|
|
282
|
+
} = _ref12;
|
|
260
283
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
261
284
|
className: (0, _classify.default)(_typographyModule.default.buttonTextExtraSmall, _typographyModule.default[color], className),
|
|
262
285
|
ref: ref
|
|
@@ -269,7 +292,7 @@ const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
|
|
|
269
292
|
}) : children);
|
|
270
293
|
});
|
|
271
294
|
exports.ButtonTextExtraSmall = ButtonTextExtraSmall;
|
|
272
|
-
const ButtonTextMediumUnderline = /*#__PURE__*/React.forwardRef((
|
|
295
|
+
const ButtonTextMediumUnderline = /*#__PURE__*/React.forwardRef((_ref13, ref) => {
|
|
273
296
|
let {
|
|
274
297
|
color = _typography.TEXT_COLORS.primary,
|
|
275
298
|
children,
|
|
@@ -279,7 +302,7 @@ const ButtonTextMediumUnderline = /*#__PURE__*/React.forwardRef((_ref12, ref) =>
|
|
|
279
302
|
caseSensitiveHighlighting,
|
|
280
303
|
highlightWithBackground,
|
|
281
304
|
...props
|
|
282
|
-
} =
|
|
305
|
+
} = _ref13;
|
|
283
306
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
284
307
|
className: (0, _classify.default)(_typographyModule.default.buttonTextMedium, _typographyModule.default.underline, _typographyModule.default[color], className),
|
|
285
308
|
ref: ref
|
|
@@ -292,7 +315,7 @@ const ButtonTextMediumUnderline = /*#__PURE__*/React.forwardRef((_ref12, ref) =>
|
|
|
292
315
|
}) : children);
|
|
293
316
|
});
|
|
294
317
|
exports.ButtonTextMediumUnderline = ButtonTextMediumUnderline;
|
|
295
|
-
const ButtonTextSmallUnderline = /*#__PURE__*/React.forwardRef((
|
|
318
|
+
const ButtonTextSmallUnderline = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
|
|
296
319
|
let {
|
|
297
320
|
color = _typography.TEXT_COLORS.primary,
|
|
298
321
|
children,
|
|
@@ -302,7 +325,7 @@ const ButtonTextSmallUnderline = /*#__PURE__*/React.forwardRef((_ref13, ref) =>
|
|
|
302
325
|
caseSensitiveHighlighting,
|
|
303
326
|
highlightWithBackground,
|
|
304
327
|
...props
|
|
305
|
-
} =
|
|
328
|
+
} = _ref14;
|
|
306
329
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
307
330
|
className: (0, _classify.default)(_typographyModule.default.buttonTextSmall, _typographyModule.default.underline, _typographyModule.default[color], className),
|
|
308
331
|
ref: ref
|
|
@@ -315,7 +338,7 @@ const ButtonTextSmallUnderline = /*#__PURE__*/React.forwardRef((_ref13, ref) =>
|
|
|
315
338
|
}) : children);
|
|
316
339
|
});
|
|
317
340
|
exports.ButtonTextSmallUnderline = ButtonTextSmallUnderline;
|
|
318
|
-
const ButtonTextExtraSmallUnderline = /*#__PURE__*/React.forwardRef((
|
|
341
|
+
const ButtonTextExtraSmallUnderline = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
|
|
319
342
|
let {
|
|
320
343
|
color = _typography.TEXT_COLORS.primary,
|
|
321
344
|
children,
|
|
@@ -325,7 +348,7 @@ const ButtonTextExtraSmallUnderline = /*#__PURE__*/React.forwardRef((_ref14, ref
|
|
|
325
348
|
caseSensitiveHighlighting,
|
|
326
349
|
highlightWithBackground,
|
|
327
350
|
...props
|
|
328
|
-
} =
|
|
351
|
+
} = _ref15;
|
|
329
352
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
330
353
|
className: (0, _classify.default)(_typographyModule.default.buttonTextExtraSmall, _typographyModule.default.underline, _typographyModule.default[color], className),
|
|
331
354
|
ref: ref
|
|
@@ -338,7 +361,7 @@ const ButtonTextExtraSmallUnderline = /*#__PURE__*/React.forwardRef((_ref14, ref
|
|
|
338
361
|
}) : children);
|
|
339
362
|
});
|
|
340
363
|
exports.ButtonTextExtraSmallUnderline = ButtonTextExtraSmallUnderline;
|
|
341
|
-
const FormInputMedium = /*#__PURE__*/React.forwardRef((
|
|
364
|
+
const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
|
|
342
365
|
let {
|
|
343
366
|
color = _typography.TEXT_COLORS.primary,
|
|
344
367
|
children,
|
|
@@ -348,7 +371,7 @@ const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
|
|
|
348
371
|
caseSensitiveHighlighting,
|
|
349
372
|
highlightWithBackground,
|
|
350
373
|
...props
|
|
351
|
-
} =
|
|
374
|
+
} = _ref16;
|
|
352
375
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
353
376
|
className: (0, _classify.default)(_typographyModule.default.formInputMedium, _typographyModule.default[color], className),
|
|
354
377
|
ref: ref
|
|
@@ -361,7 +384,7 @@ const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
|
|
|
361
384
|
}) : children);
|
|
362
385
|
});
|
|
363
386
|
exports.FormInputMedium = FormInputMedium;
|
|
364
|
-
const FormInputSmall = /*#__PURE__*/React.forwardRef((
|
|
387
|
+
const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref17, ref) => {
|
|
365
388
|
let {
|
|
366
389
|
color = _typography.TEXT_COLORS.primary,
|
|
367
390
|
children,
|
|
@@ -371,7 +394,7 @@ const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
|
|
|
371
394
|
caseSensitiveHighlighting,
|
|
372
395
|
highlightWithBackground,
|
|
373
396
|
...props
|
|
374
|
-
} =
|
|
397
|
+
} = _ref17;
|
|
375
398
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
376
399
|
className: (0, _classify.default)(_typographyModule.default.formInputSmall, _typographyModule.default[color], className),
|
|
377
400
|
ref: ref
|
|
@@ -384,7 +407,7 @@ const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
|
|
|
384
407
|
}) : children);
|
|
385
408
|
});
|
|
386
409
|
exports.FormInputSmall = FormInputSmall;
|
|
387
|
-
const BodyLarge = /*#__PURE__*/React.forwardRef((
|
|
410
|
+
const BodyLarge = /*#__PURE__*/React.forwardRef((_ref18, ref) => {
|
|
388
411
|
let {
|
|
389
412
|
color = _typography.TEXT_COLORS.primary,
|
|
390
413
|
children,
|
|
@@ -394,7 +417,7 @@ const BodyLarge = /*#__PURE__*/React.forwardRef((_ref17, ref) => {
|
|
|
394
417
|
caseSensitiveHighlighting,
|
|
395
418
|
highlightWithBackground,
|
|
396
419
|
...props
|
|
397
|
-
} =
|
|
420
|
+
} = _ref18;
|
|
398
421
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
399
422
|
className: (0, _classify.default)(_typographyModule.default.bodyLarge, _typographyModule.default[color], className),
|
|
400
423
|
ref: ref
|
|
@@ -407,7 +430,7 @@ const BodyLarge = /*#__PURE__*/React.forwardRef((_ref17, ref) => {
|
|
|
407
430
|
}) : children);
|
|
408
431
|
});
|
|
409
432
|
exports.BodyLarge = BodyLarge;
|
|
410
|
-
const BodyMedium = /*#__PURE__*/React.forwardRef((
|
|
433
|
+
const BodyMedium = /*#__PURE__*/React.forwardRef((_ref19, ref) => {
|
|
411
434
|
let {
|
|
412
435
|
color = _typography.TEXT_COLORS.primary,
|
|
413
436
|
children,
|
|
@@ -417,7 +440,7 @@ const BodyMedium = /*#__PURE__*/React.forwardRef((_ref18, ref) => {
|
|
|
417
440
|
caseSensitiveHighlighting,
|
|
418
441
|
highlightWithBackground,
|
|
419
442
|
...props
|
|
420
|
-
} =
|
|
443
|
+
} = _ref19;
|
|
421
444
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
422
445
|
className: (0, _classify.default)(_typographyModule.default.bodyMedium, _typographyModule.default[color], className),
|
|
423
446
|
ref: ref
|
|
@@ -430,7 +453,7 @@ const BodyMedium = /*#__PURE__*/React.forwardRef((_ref18, ref) => {
|
|
|
430
453
|
}) : children);
|
|
431
454
|
});
|
|
432
455
|
exports.BodyMedium = BodyMedium;
|
|
433
|
-
const BodySmall = /*#__PURE__*/React.forwardRef((
|
|
456
|
+
const BodySmall = /*#__PURE__*/React.forwardRef((_ref20, ref) => {
|
|
434
457
|
let {
|
|
435
458
|
color = _typography.TEXT_COLORS.primary,
|
|
436
459
|
children,
|
|
@@ -440,7 +463,7 @@ const BodySmall = /*#__PURE__*/React.forwardRef((_ref19, ref) => {
|
|
|
440
463
|
caseSensitiveHighlighting,
|
|
441
464
|
highlightWithBackground,
|
|
442
465
|
...props
|
|
443
|
-
} =
|
|
466
|
+
} = _ref20;
|
|
444
467
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
445
468
|
className: (0, _classify.default)(_typographyModule.default.bodySmall, _typographyModule.default[color], className),
|
|
446
469
|
ref: ref
|
|
@@ -453,7 +476,7 @@ const BodySmall = /*#__PURE__*/React.forwardRef((_ref19, ref) => {
|
|
|
453
476
|
}) : children);
|
|
454
477
|
});
|
|
455
478
|
exports.BodySmall = BodySmall;
|
|
456
|
-
const BodyLargeBold = /*#__PURE__*/React.forwardRef((
|
|
479
|
+
const BodyLargeBold = /*#__PURE__*/React.forwardRef((_ref21, ref) => {
|
|
457
480
|
let {
|
|
458
481
|
color = _typography.TEXT_COLORS.primary,
|
|
459
482
|
children,
|
|
@@ -463,7 +486,7 @@ const BodyLargeBold = /*#__PURE__*/React.forwardRef((_ref20, ref) => {
|
|
|
463
486
|
caseSensitiveHighlighting,
|
|
464
487
|
highlightWithBackground,
|
|
465
488
|
...props
|
|
466
|
-
} =
|
|
489
|
+
} = _ref21;
|
|
467
490
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
468
491
|
className: (0, _classify.default)(_typographyModule.default.bodyLarge, _typographyModule.default.bold, _typographyModule.default[color], className),
|
|
469
492
|
ref: ref
|
|
@@ -476,7 +499,7 @@ const BodyLargeBold = /*#__PURE__*/React.forwardRef((_ref20, ref) => {
|
|
|
476
499
|
}) : children);
|
|
477
500
|
});
|
|
478
501
|
exports.BodyLargeBold = BodyLargeBold;
|
|
479
|
-
const BodyMediumBold = /*#__PURE__*/React.forwardRef((
|
|
502
|
+
const BodyMediumBold = /*#__PURE__*/React.forwardRef((_ref22, ref) => {
|
|
480
503
|
let {
|
|
481
504
|
color = _typography.TEXT_COLORS.primary,
|
|
482
505
|
children,
|
|
@@ -486,7 +509,7 @@ const BodyMediumBold = /*#__PURE__*/React.forwardRef((_ref21, ref) => {
|
|
|
486
509
|
caseSensitiveHighlighting,
|
|
487
510
|
highlightWithBackground,
|
|
488
511
|
...props
|
|
489
|
-
} =
|
|
512
|
+
} = _ref22;
|
|
490
513
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
491
514
|
className: (0, _classify.default)(_typographyModule.default.bodyMedium, _typographyModule.default.bold, _typographyModule.default[color], className),
|
|
492
515
|
ref: ref
|
|
@@ -499,7 +522,7 @@ const BodyMediumBold = /*#__PURE__*/React.forwardRef((_ref21, ref) => {
|
|
|
499
522
|
}) : children);
|
|
500
523
|
});
|
|
501
524
|
exports.BodyMediumBold = BodyMediumBold;
|
|
502
|
-
const BodySmallBold = /*#__PURE__*/React.forwardRef((
|
|
525
|
+
const BodySmallBold = /*#__PURE__*/React.forwardRef((_ref23, ref) => {
|
|
503
526
|
let {
|
|
504
527
|
color = _typography.TEXT_COLORS.primary,
|
|
505
528
|
children,
|
|
@@ -509,7 +532,7 @@ const BodySmallBold = /*#__PURE__*/React.forwardRef((_ref22, ref) => {
|
|
|
509
532
|
caseSensitiveHighlighting,
|
|
510
533
|
highlightWithBackground,
|
|
511
534
|
...props
|
|
512
|
-
} =
|
|
535
|
+
} = _ref23;
|
|
513
536
|
return /*#__PURE__*/React.createElement("p", _extends({}, props, {
|
|
514
537
|
className: (0, _classify.default)(_typographyModule.default.bodySmall, _typographyModule.default.bold, _typographyModule.default[color], className),
|
|
515
538
|
ref: ref
|
|
@@ -522,7 +545,7 @@ const BodySmallBold = /*#__PURE__*/React.forwardRef((_ref22, ref) => {
|
|
|
522
545
|
}) : children);
|
|
523
546
|
});
|
|
524
547
|
exports.BodySmallBold = BodySmallBold;
|
|
525
|
-
const FormLabelMedium = /*#__PURE__*/React.forwardRef((
|
|
548
|
+
const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref24, ref) => {
|
|
526
549
|
let {
|
|
527
550
|
color = _typography.TEXT_COLORS.primary,
|
|
528
551
|
children,
|
|
@@ -532,7 +555,7 @@ const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref23, ref) => {
|
|
|
532
555
|
caseSensitiveHighlighting,
|
|
533
556
|
highlightWithBackground,
|
|
534
557
|
...props
|
|
535
|
-
} =
|
|
558
|
+
} = _ref24;
|
|
536
559
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
537
560
|
className: (0, _classify.default)(_typographyModule.default.formLabelMedium, _typographyModule.default[color], className),
|
|
538
561
|
ref: ref
|
|
@@ -545,7 +568,7 @@ const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref23, ref) => {
|
|
|
545
568
|
}) : children);
|
|
546
569
|
});
|
|
547
570
|
exports.FormLabelMedium = FormLabelMedium;
|
|
548
|
-
const FormLabelSmall = /*#__PURE__*/React.forwardRef((
|
|
571
|
+
const FormLabelSmall = /*#__PURE__*/React.forwardRef((_ref25, ref) => {
|
|
549
572
|
let {
|
|
550
573
|
color = _typography.TEXT_COLORS.primary,
|
|
551
574
|
children,
|
|
@@ -555,7 +578,7 @@ const FormLabelSmall = /*#__PURE__*/React.forwardRef((_ref24, ref) => {
|
|
|
555
578
|
caseSensitiveHighlighting,
|
|
556
579
|
highlightWithBackground,
|
|
557
580
|
...props
|
|
558
|
-
} =
|
|
581
|
+
} = _ref25;
|
|
559
582
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
560
583
|
className: (0, _classify.default)(_typographyModule.default.formLabelSmall, _typographyModule.default[color], className),
|
|
561
584
|
ref: ref
|
|
@@ -88,6 +88,41 @@ const HighlightText: React$AbstractComponent<
|
|
|
88
88
|
},
|
|
89
89
|
);
|
|
90
90
|
|
|
91
|
+
export const JumboLarge: React$AbstractComponent<TextProps, HTMLSpanElement> =
|
|
92
|
+
React.forwardRef<TextProps, HTMLSpanElement>(
|
|
93
|
+
(
|
|
94
|
+
{
|
|
95
|
+
color = TEXT_COLORS.primary,
|
|
96
|
+
children,
|
|
97
|
+
className,
|
|
98
|
+
highlightedTextClassName,
|
|
99
|
+
highlightString,
|
|
100
|
+
caseSensitiveHighlighting,
|
|
101
|
+
highlightWithBackground,
|
|
102
|
+
...props
|
|
103
|
+
}: TextProps,
|
|
104
|
+
ref,
|
|
105
|
+
): React.Node => (
|
|
106
|
+
<span
|
|
107
|
+
{...props}
|
|
108
|
+
className={classify(css.jumboLarge, css[color], className)}
|
|
109
|
+
ref={ref}
|
|
110
|
+
>
|
|
111
|
+
{!!highlightString?.length && typeof children === 'string' ? (
|
|
112
|
+
<HighlightText
|
|
113
|
+
text={children}
|
|
114
|
+
highlight={highlightString}
|
|
115
|
+
caseSensitiveHighlighting={caseSensitiveHighlighting}
|
|
116
|
+
highlightClassName={highlightedTextClassName}
|
|
117
|
+
highlightWithBackground={highlightWithBackground}
|
|
118
|
+
/>
|
|
119
|
+
) : (
|
|
120
|
+
children
|
|
121
|
+
)}
|
|
122
|
+
</span>
|
|
123
|
+
),
|
|
124
|
+
);
|
|
125
|
+
|
|
91
126
|
export const JumboMedium: React$AbstractComponent<TextProps, HTMLSpanElement> =
|
|
92
127
|
React.forwardRef<TextProps, HTMLSpanElement>(
|
|
93
128
|
(
|
|
@@ -99,6 +99,12 @@ Object.defineProperty(exports, "FormLabelSmall", {
|
|
|
99
99
|
return _Text.FormLabelSmall;
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
+
Object.defineProperty(exports, "JumboLarge", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return _Text.JumboLarge;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
102
108
|
Object.defineProperty(exports, "JumboMedium", {
|
|
103
109
|
enumerable: true,
|
|
104
110
|
get: function () {
|
package/lib/styles/index.css
CHANGED
|
@@ -204,6 +204,8 @@
|
|
|
204
204
|
|
|
205
205
|
@value fontSize26: 26px;
|
|
206
206
|
|
|
207
|
+
@value fontSize36: 36px;
|
|
208
|
+
|
|
207
209
|
@value fontSize46: 46px;
|
|
208
210
|
|
|
209
211
|
@value fontLetterSpacing0: 0em;
|
|
@@ -218,6 +220,8 @@
|
|
|
218
220
|
|
|
219
221
|
@value fontLetterSpacingMinus2: -0.02em;
|
|
220
222
|
|
|
223
|
+
@value fontLetterSpacingMinus3: -0.03em;
|
|
224
|
+
|
|
221
225
|
@value fontLetterSpacingMinus4: -0.04em;
|
|
222
226
|
|
|
223
227
|
@value fontLineHeight100: 100%;
|
package/lib/styles/index.js
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.fontLetterSpacingMinus2 = exports.fontLetterSpacingMinus1 = exports.fontLetterSpacing4 = exports.fontLetterSpacing2 = exports.fontLetterSpacing1 = exports.fontLetterSpacing0 = exports.fontFamilyCentra = exports.elevationTooltip = exports.elevationToast = exports.elevationNone = exports.elevationModal = exports.elevationMenu = exports.elevationCard = exports.elevationBackdrop = exports.colorWarningLightest = exports.colorWarningLight = exports.colorWarningDarkest = exports.colorWarningDark = exports.colorWarning = exports.colorTooltipFill = exports.colorTextWarning = exports.colorTextTertiary = exports.colorTextSuccess = exports.colorTextSecondary = exports.colorTextPrimary = exports.colorTextNeutral = exports.colorTextInverseSecondary = exports.colorTextInversePrimary = exports.colorTextInformation = exports.colorTextDisabled = exports.colorTextDanger = exports.colorTextClickable = exports.colorSuccessLightest = exports.colorSuccessLight = exports.colorSuccessDarkest = exports.colorSuccessDark = exports.colorSuccess = exports.colorSubMenuStar = exports.colorSubMenuBackgroundDefault = exports.colorSideMenuIconDefault = exports.colorSideMenuIconActive = exports.colorNeutralLightest = exports.colorNeutralLight = exports.colorNeutralDarkest = exports.colorNeutralDark = exports.colorNeutral = exports.colorInformationLightest = exports.colorInformationLight = exports.colorInformationDarkest = exports.colorInformationDark = exports.colorInformation = exports.colorGrayLightest = exports.colorFocusPrimary = exports.colorFocusDanger = exports.colorFillSecondary = exports.colorFillPrimary = exports.colorFillNone = exports.colorFillInversePrimary = exports.colorFillDisabled = exports.colorDangerLightest = exports.colorDangerLight = exports.colorDangerDarkest = exports.colorDangerDark = exports.colorDanger = exports.colorButtonFillTertiaryPressed = exports.colorButtonFillTertiaryHovered = exports.colorButtonFillTertiaryEnabled = exports.colorButtonFillSecondaryPressed = exports.colorButtonFillSecondaryHovered = exports.colorButtonFillSecondaryEnabled = exports.colorButtonFillPrimaryPressed = exports.colorButtonFillPrimaryHovered = exports.colorButtonFillPrimaryEnabled = exports.colorButtonFillGhostPressed = exports.colorButtonFillGhostHovered = exports.colorButtonFillGhostEnabled = exports.colorButtonFillDangerPressed = exports.colorButtonFillDangerHovered = exports.colorButtonFillDangerEnabled = exports.colorBorderTertiary = exports.colorBorderSecondary = exports.colorBorderPrimary = exports.colorBorderDanger = exports.colorBackgroundTertiary = exports.colorBackgroundSecondary = exports.colorBackgroundPrimary = exports.colorBackgroundBrand = exports.colorBackdropFill = exports.borderWidthTertiary = exports.borderWidthSecondary = exports.borderWidthPrimary = exports.borderWidthNone = exports.borderRadiusXSmall = exports.borderRadiusXLarge = exports.borderRadiusSmall = exports.borderRadiusRadioButton = exports.borderRadiusNone = exports.borderRadiusMedium = exports.borderRadiusLarge = exports.borderRadiusCircle = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.spaceXXSmall = exports.spaceXXLarge = exports.spaceXSmall = exports.spaceXLarge = exports.spaceSmall = exports.spaceNone = exports.spaceNegHalfFluid = exports.spaceNegFluid = exports.spaceMedium = exports.spaceLarge = exports.spaceHalfFluid = exports.spaceFluid = exports.sizeFullViewportWidth = exports.sizeFullViewportHeight = exports.sizeFluid = exports.size960 = exports.size90 = exports.size8 = exports.size720 = exports.size70 = exports.size640 = exports.size60 = exports.size580 = exports.size58 = void 0;
|
|
7
|
+
exports.size5 = exports.size480 = exports.size48 = exports.size42 = exports.size400 = exports.size40 = exports.size4 = exports.size380 = exports.size38 = exports.size36 = exports.size34 = exports.size320 = exports.size300 = exports.size30 = exports.size276 = exports.size260 = exports.size26 = exports.size252 = exports.size240 = exports.size24 = exports.size228 = exports.size22 = exports.size20 = exports.size2 = exports.size18 = exports.size160 = exports.size140 = exports.size125 = exports.size12 = exports.size110 = exports.size100 = exports.size10 = exports.shadowBoxShadow4Y = exports.shadowBoxShadow4X = exports.shadowBoxShadow4Type = exports.shadowBoxShadow4Spread = exports.shadowBoxShadow4Color = exports.shadowBoxShadow4Blur = exports.shadowBoxShadow3Y = exports.shadowBoxShadow3X = exports.shadowBoxShadow3Type = exports.shadowBoxShadow3Spread = exports.shadowBoxShadow3Color = exports.shadowBoxShadow3Blur = exports.shadowBoxShadow2Y = exports.shadowBoxShadow2X = exports.shadowBoxShadow2Type = exports.shadowBoxShadow2Spread = exports.shadowBoxShadow2Color = exports.shadowBoxShadow2Blur = exports.shadowBoxShadow1Y = exports.shadowBoxShadow1X = exports.shadowBoxShadow1Type = exports.shadowBoxShadow1Spread = exports.shadowBoxShadow1Color = exports.shadowBoxShadow1Blur = exports.opacity95 = exports.opacity90 = exports.opacity85 = exports.opacity80 = exports.opacity70 = exports.opacity60 = exports.opacity50 = exports.opacity5 = exports.opacity40 = exports.opacity30 = exports.opacity20 = exports.opacity15 = exports.opacity100 = exports.opacity10 = exports.opacity0 = exports.motionEaseInEaseOut = exports.motionDurationSlowest = exports.motionDurationSlower = exports.motionDurationSlow = exports.motionDurationNormal = exports.motionDurationFast = exports.fontWeightMedium = exports.fontWeightBook = exports.fontTextDecorationNone = exports.fontTextCaseNone = exports.fontSize46 = exports.fontSize36 = exports.fontSize26 = exports.fontSize24 = exports.fontSize18 = exports.fontSize16 = exports.fontSize14 = exports.fontSize13 = exports.fontSize12 = exports.fontParagraphSpacing0 = exports.fontLineHeight170 = exports.fontLineHeight150 = exports.fontLineHeight140 = exports.fontLineHeight130 = exports.fontLineHeight125 = exports.fontLineHeight120 = exports.fontLineHeight100 = exports.fontLetterSpacingMinus4 = exports.fontLetterSpacingMinus3 = void 0;
|
|
8
|
+
exports.spaceXXSmall = exports.spaceXXLarge = exports.spaceXSmall = exports.spaceXLarge = exports.spaceSmall = exports.spaceNone = exports.spaceNegHalfFluid = exports.spaceNegFluid = exports.spaceMedium = exports.spaceLarge = exports.spaceHalfFluid = exports.spaceFluid = exports.sizeFullViewportWidth = exports.sizeFullViewportHeight = exports.sizeFluid = exports.size960 = exports.size90 = exports.size8 = exports.size720 = exports.size70 = exports.size640 = exports.size60 = exports.size580 = exports.size58 = exports.size500 = exports.size50 = void 0;
|
|
9
9
|
|
|
10
10
|
const borderWidthNone = '0px';
|
|
11
11
|
exports.borderWidthNone = borderWidthNone;
|
|
@@ -213,6 +213,8 @@ const fontSize24 = '24px';
|
|
|
213
213
|
exports.fontSize24 = fontSize24;
|
|
214
214
|
const fontSize26 = '26px';
|
|
215
215
|
exports.fontSize26 = fontSize26;
|
|
216
|
+
const fontSize36 = '36px';
|
|
217
|
+
exports.fontSize36 = fontSize36;
|
|
216
218
|
const fontSize46 = '46px';
|
|
217
219
|
exports.fontSize46 = fontSize46;
|
|
218
220
|
const fontLetterSpacing0 = '0em';
|
|
@@ -227,6 +229,8 @@ const fontLetterSpacingMinus1 = '-0.01em';
|
|
|
227
229
|
exports.fontLetterSpacingMinus1 = fontLetterSpacingMinus1;
|
|
228
230
|
const fontLetterSpacingMinus2 = '-0.02em';
|
|
229
231
|
exports.fontLetterSpacingMinus2 = fontLetterSpacingMinus2;
|
|
232
|
+
const fontLetterSpacingMinus3 = '-0.03em';
|
|
233
|
+
exports.fontLetterSpacingMinus3 = fontLetterSpacingMinus3;
|
|
230
234
|
const fontLetterSpacingMinus4 = '-0.04em';
|
|
231
235
|
exports.fontLetterSpacingMinus4 = fontLetterSpacingMinus4;
|
|
232
236
|
const fontLineHeight100 = '100%';
|
package/lib/styles/index.js.flow
CHANGED
|
@@ -206,6 +206,8 @@ export const fontSize24 = '24px';
|
|
|
206
206
|
|
|
207
207
|
export const fontSize26 = '26px';
|
|
208
208
|
|
|
209
|
+
export const fontSize36 = '36px';
|
|
210
|
+
|
|
209
211
|
export const fontSize46 = '46px';
|
|
210
212
|
|
|
211
213
|
export const fontLetterSpacing0 = '0em';
|
|
@@ -220,6 +222,8 @@ export const fontLetterSpacingMinus1 = '-0.01em';
|
|
|
220
222
|
|
|
221
223
|
export const fontLetterSpacingMinus2 = '-0.02em';
|
|
222
224
|
|
|
225
|
+
export const fontLetterSpacingMinus3 = '-0.03em';
|
|
226
|
+
|
|
223
227
|
export const fontLetterSpacingMinus4 = '-0.04em';
|
|
224
228
|
|
|
225
229
|
export const fontLineHeight100 = '100%';
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@value (
|
|
19
19
|
fontFamilyCentra,
|
|
20
20
|
fontSize46,
|
|
21
|
-
|
|
21
|
+
fontSize36,
|
|
22
22
|
fontSize26,
|
|
23
23
|
fontSize18,
|
|
24
24
|
fontSize16,
|
|
@@ -37,13 +37,14 @@
|
|
|
37
37
|
fontLetterSpacing0,
|
|
38
38
|
fontLetterSpacingMinus1,
|
|
39
39
|
fontLetterSpacingMinus2,
|
|
40
|
+
fontLetterSpacingMinus3,
|
|
40
41
|
fontLetterSpacingMinus4,
|
|
41
42
|
fontLetterSpacing1,
|
|
42
43
|
fontLetterSpacing2,
|
|
43
44
|
fontLetterSpacing4
|
|
44
45
|
) from 'variables/_font.css';
|
|
45
46
|
|
|
46
|
-
@value (size24, size18) from 'variables/_size.css';
|
|
47
|
+
@value (size36, size24, size18) from 'variables/_size.css';
|
|
47
48
|
|
|
48
49
|
@value (spaceXXSmall, spaceNone) from 'variables/_space.css';
|
|
49
50
|
|
|
@@ -66,18 +67,25 @@
|
|
|
66
67
|
text-decoration: underline;
|
|
67
68
|
}
|
|
68
69
|
|
|
69
|
-
.
|
|
70
|
+
.jumboLarge {
|
|
70
71
|
composes: baseType;
|
|
71
72
|
font-size: fontSize46;
|
|
72
73
|
line-height: fontLineHeight100;
|
|
73
74
|
letter-spacing: fontLetterSpacingMinus4;
|
|
74
75
|
}
|
|
75
76
|
|
|
77
|
+
.jumboMedium {
|
|
78
|
+
composes: baseType;
|
|
79
|
+
font-size: fontSize36;
|
|
80
|
+
line-height: fontLineHeight100;
|
|
81
|
+
letter-spacing: fontLetterSpacingMinus3;
|
|
82
|
+
}
|
|
83
|
+
|
|
76
84
|
.jumboSmall {
|
|
77
85
|
composes: baseType;
|
|
78
|
-
font-size:
|
|
79
|
-
line-height:
|
|
80
|
-
letter-spacing:
|
|
86
|
+
font-size: fontSize26;
|
|
87
|
+
line-height: fontLineHeight100;
|
|
88
|
+
letter-spacing: fontLetterSpacingMinus3;
|
|
81
89
|
}
|
|
82
90
|
|
|
83
91
|
.titleMedium {
|
|
@@ -243,6 +251,14 @@
|
|
|
243
251
|
min-height: size24;
|
|
244
252
|
}
|
|
245
253
|
|
|
254
|
+
.largeIcon {
|
|
255
|
+
font-size: fontSize26;
|
|
256
|
+
height: size36;
|
|
257
|
+
width: size36;
|
|
258
|
+
min-width: size36;
|
|
259
|
+
min-height: size36;
|
|
260
|
+
}
|
|
261
|
+
|
|
246
262
|
.centerAlignFlex {
|
|
247
263
|
display: flex;
|
|
248
264
|
align-items: center;
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
@value fontSize26: 26px;
|
|
20
20
|
|
|
21
|
+
@value fontSize36: 36px;
|
|
22
|
+
|
|
21
23
|
@value fontSize46: 46px;
|
|
22
24
|
|
|
23
25
|
@value fontLetterSpacing0: 0em;
|
|
@@ -32,6 +34,8 @@
|
|
|
32
34
|
|
|
33
35
|
@value fontLetterSpacingMinus2: -0.02em;
|
|
34
36
|
|
|
37
|
+
@value fontLetterSpacingMinus3: -0.03em;
|
|
38
|
+
|
|
35
39
|
@value fontLetterSpacingMinus4: -0.04em;
|
|
36
40
|
|
|
37
41
|
@value fontLineHeight100: 100%;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.fontWeightMedium = exports.fontWeightBook = exports.fontTextDecorationNone = exports.fontTextCaseNone = exports.fontSize46 = exports.fontSize26 = exports.fontSize24 = exports.fontSize18 = exports.fontSize16 = exports.fontSize14 = exports.fontSize13 = exports.fontSize12 = exports.fontParagraphSpacing0 = exports.fontLineHeight170 = exports.fontLineHeight150 = exports.fontLineHeight140 = exports.fontLineHeight130 = exports.fontLineHeight125 = exports.fontLineHeight120 = exports.fontLineHeight100 = exports.fontLetterSpacingMinus4 = exports.fontLetterSpacingMinus2 = exports.fontLetterSpacingMinus1 = exports.fontLetterSpacing4 = exports.fontLetterSpacing2 = exports.fontLetterSpacing1 = exports.fontLetterSpacing0 = exports.fontFamilyCentra = void 0;
|
|
6
|
+
exports.fontWeightMedium = exports.fontWeightBook = exports.fontTextDecorationNone = exports.fontTextCaseNone = exports.fontSize46 = exports.fontSize36 = exports.fontSize26 = exports.fontSize24 = exports.fontSize18 = exports.fontSize16 = exports.fontSize14 = exports.fontSize13 = exports.fontSize12 = exports.fontParagraphSpacing0 = exports.fontLineHeight170 = exports.fontLineHeight150 = exports.fontLineHeight140 = exports.fontLineHeight130 = exports.fontLineHeight125 = exports.fontLineHeight120 = exports.fontLineHeight100 = exports.fontLetterSpacingMinus4 = exports.fontLetterSpacingMinus3 = exports.fontLetterSpacingMinus2 = exports.fontLetterSpacingMinus1 = exports.fontLetterSpacing4 = exports.fontLetterSpacing2 = exports.fontLetterSpacing1 = exports.fontLetterSpacing0 = exports.fontFamilyCentra = void 0;
|
|
7
7
|
|
|
8
8
|
const fontFamilyCentra = '"Centra No2"';
|
|
9
9
|
exports.fontFamilyCentra = fontFamilyCentra;
|
|
@@ -25,6 +25,8 @@ const fontSize24 = '24px';
|
|
|
25
25
|
exports.fontSize24 = fontSize24;
|
|
26
26
|
const fontSize26 = '26px';
|
|
27
27
|
exports.fontSize26 = fontSize26;
|
|
28
|
+
const fontSize36 = '36px';
|
|
29
|
+
exports.fontSize36 = fontSize36;
|
|
28
30
|
const fontSize46 = '46px';
|
|
29
31
|
exports.fontSize46 = fontSize46;
|
|
30
32
|
const fontLetterSpacing0 = '0em';
|
|
@@ -39,6 +41,8 @@ const fontLetterSpacingMinus1 = '-0.01em';
|
|
|
39
41
|
exports.fontLetterSpacingMinus1 = fontLetterSpacingMinus1;
|
|
40
42
|
const fontLetterSpacingMinus2 = '-0.02em';
|
|
41
43
|
exports.fontLetterSpacingMinus2 = fontLetterSpacingMinus2;
|
|
44
|
+
const fontLetterSpacingMinus3 = '-0.03em';
|
|
45
|
+
exports.fontLetterSpacingMinus3 = fontLetterSpacingMinus3;
|
|
42
46
|
const fontLetterSpacingMinus4 = '-0.04em';
|
|
43
47
|
exports.fontLetterSpacingMinus4 = fontLetterSpacingMinus4;
|
|
44
48
|
const fontLineHeight100 = '100%';
|
|
@@ -20,6 +20,8 @@ export const fontSize24 = '24px';
|
|
|
20
20
|
|
|
21
21
|
export const fontSize26 = '26px';
|
|
22
22
|
|
|
23
|
+
export const fontSize36 = '36px';
|
|
24
|
+
|
|
23
25
|
export const fontSize46 = '46px';
|
|
24
26
|
|
|
25
27
|
export const fontLetterSpacing0 = '0em';
|
|
@@ -34,6 +36,8 @@ export const fontLetterSpacingMinus1 = '-0.01em';
|
|
|
34
36
|
|
|
35
37
|
export const fontLetterSpacingMinus2 = '-0.02em';
|
|
36
38
|
|
|
39
|
+
export const fontLetterSpacingMinus3 = '-0.03em';
|
|
40
|
+
|
|
37
41
|
export const fontLetterSpacingMinus4 = '-0.04em';
|
|
38
42
|
|
|
39
43
|
export const fontLineHeight100 = '100%';
|