carbon-react 100.1.0 → 101.0.2

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.
@@ -19,9 +19,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
19
19
 
20
20
  const FieldHelpStyle = _styledComponents.default.span`
21
21
  display: block;
22
+ flex: 1;
22
23
  margin-top: 8px;
23
24
  white-space: pre-wrap;
24
- width: 100%;
25
25
 
26
26
  ${({
27
27
  labelInline,
@@ -10,6 +10,8 @@ var _mockResizeObserver = _interopRequireDefault(require("./mock-resize-observer
10
10
 
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
12
 
13
+ require("jest-fetch-mock").enableMocks();
14
+
13
15
  (0, _mockResizeObserver.default)();
14
16
  (0, _mockMatchMedia.setup)();
15
17
 
@@ -13,6 +13,8 @@ var _styledComponents = require("styled-components");
13
13
 
14
14
  var _mint = _interopRequireDefault(require("../../style/themes/mint"));
15
15
 
16
+ var _carbonScopedTokensProvider = _interopRequireDefault(require("../../style/design-tokens/carbon-scoped-tokens-provider"));
17
+
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
19
 
18
20
  const CarbonProvider = ({
@@ -20,7 +22,7 @@ const CarbonProvider = ({
20
22
  theme = _mint.default
21
23
  }) => /*#__PURE__*/_react.default.createElement(_styledComponents.ThemeProvider, {
22
24
  theme: theme
23
- }, children);
25
+ }, /*#__PURE__*/_react.default.createElement(_carbonScopedTokensProvider.default, null, children));
24
26
 
25
27
  CarbonProvider.propTypes = {
26
28
  children: _propTypes.default.node.isRequired,
@@ -1 +1,2 @@
1
1
  export { default } from "./pages";
2
+ export { default as Page } from "./page/page";
@@ -9,7 +9,15 @@ Object.defineProperty(exports, "default", {
9
9
  return _pages.default;
10
10
  }
11
11
  });
12
+ Object.defineProperty(exports, "Page", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _page.default;
16
+ }
17
+ });
12
18
 
13
19
  var _pages = _interopRequireDefault(require("./pages.component"));
14
20
 
21
+ var _page = _interopRequireDefault(require("./page/page.component"));
22
+
15
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -235,7 +235,7 @@ const SelectList = /*#__PURE__*/_react.default.forwardRef(({
235
235
  }
236
236
 
237
237
  setListHeight(`${newHeight}px`);
238
- }, [children]);
238
+ }, [children, listRef.current]);
239
239
  (0, _react.useEffect)(() => {
240
240
  const keyboardEvent = "keydown";
241
241
  const listElement = listRef.current;
@@ -74,29 +74,23 @@ const Default = args => {
74
74
  text: "Blue",
75
75
  value: "3"
76
76
  }), /*#__PURE__*/_react.default.createElement(_.Option, {
77
- text: "Brown",
77
+ text: "White",
78
78
  value: "4"
79
79
  }), /*#__PURE__*/_react.default.createElement(_.Option, {
80
80
  text: "Green",
81
81
  value: "5"
82
82
  }), /*#__PURE__*/_react.default.createElement(_.Option, {
83
- text: "Orange",
83
+ text: "Like a lot of intelligent animals, most crows are quite social. For instance, American crows spend most of the year living in pairs or small family groups. During the winter months, they will congregate with hundreds or even thousands of their peers to sleep together at night",
84
84
  value: "6"
85
85
  }), /*#__PURE__*/_react.default.createElement(_.Option, {
86
86
  text: "Pink",
87
87
  value: "7"
88
- }), /*#__PURE__*/_react.default.createElement(_.Option, {
89
- text: "Purple",
90
- value: "8"
91
88
  }), /*#__PURE__*/_react.default.createElement(_.Option, {
92
89
  text: "Red",
93
- value: "9"
94
- }), /*#__PURE__*/_react.default.createElement(_.Option, {
95
- text: "White",
96
- value: "10"
90
+ value: "8"
97
91
  }), /*#__PURE__*/_react.default.createElement(_.Option, {
98
92
  text: "Yellow",
99
- value: "11"
93
+ value: "9"
100
94
  }));
101
95
  };
102
96
 
@@ -24,7 +24,7 @@ const CarbonScopedTokensProvider = _styledComponents.default.div`
24
24
  display: inline;
25
25
  ${({
26
26
  theme
27
- }) => (0, _generateCssVariables.default)(theme)}
27
+ }) => (0, _generateCssVariables.default)(theme.compatibility)}
28
28
  `;
29
29
  var _default = CarbonScopedTokensProvider;
30
30
  exports.default = _default;
@@ -26,7 +26,15 @@ var _default = palette => {
26
26
  },
27
27
  stepSequence: {
28
28
  completedText: palette.productBlueShade(23)
29
+ },
30
+
31
+ get compatibility() {
32
+ return {
33
+ colorsActionMajor500: this.colors.primary,
34
+ colorsActionMajor600: this.colors.secondary
35
+ };
29
36
  }
37
+
30
38
  };
31
39
  };
32
40
 
@@ -337,7 +337,49 @@ var _default = palette => {
337
337
  fullScreenModal: 5000,
338
338
  notification: 6000,
339
339
  aboveAll: 9999
340
+ },
341
+
342
+ get compatibility() {
343
+ return {
344
+ colorsActionMajor500: this.colors.primary,
345
+ colorsActionMajor600: this.colors.secondary,
346
+ colorsActionDisabled500: this.disabled.background,
347
+ colorsSemanticFocus500: this.colors.focus,
348
+ colorsSemanticPositive500: this.colors.success,
349
+ colorsSemanticNegative500: this.colors.error,
350
+ colorsSemanticNegative600: this.colors.destructive.hover,
351
+ colorsSemanticCaution500: this.colors.warning,
352
+ colorsSemanticInfo500: this.colors.info,
353
+ spacing000: `${this.space[0]}px`,
354
+ // 0px
355
+ spacing025: "2px",
356
+ spacing050: "4px",
357
+ spacing075: "6px",
358
+ spacing100: `${this.space[1]}px`,
359
+ // 8px
360
+ spacing125: "10px",
361
+ spacing150: "12px",
362
+ spacing200: `${this.space[2]}px`,
363
+ // 16px
364
+ spacing250: "20px",
365
+ spacing300: `${this.space[3]}px`,
366
+ // 24px
367
+ spacing400: `${this.space[4]}px`,
368
+ // 32px
369
+ spacing500: `${this.space[5]}px`,
370
+ // 40px
371
+ spacing600: `${this.space[6]}px`,
372
+ // 48px
373
+ spacing700: `${this.space[7]}px`,
374
+ // 56px
375
+ spacing800: `${this.space[8]}px`,
376
+ // 64px
377
+ spacing900: `${this.space[9]}px`,
378
+ // 72px
379
+ fontSizes100: this.text.size
380
+ };
340
381
  }
382
+
341
383
  };
342
384
  };
343
385
 
@@ -17,8 +17,6 @@ var _palette = _interopRequireDefault(require("../../palette"));
17
17
 
18
18
  var _addHexSymbols = _interopRequireDefault(require("../../utils/add-hex-symbols"));
19
19
 
20
- var _themeCompatibility = _interopRequireDefault(require("../../design-tokens/theme-compatibility.util"));
21
-
22
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
21
 
24
22
  const colors = (0, _palette.default)(_colorConfig.default);
@@ -36,13 +34,9 @@ exports.default = _default;
36
34
 
37
35
  const mergeWithBase = configureTheme => {
38
36
  const themeToMergeWithBase = configureTheme(palette);
39
- const mergedThemes = { ...(0, _mergeDeep.mergeDeep)(baseTheme, themeToMergeWithBase),
37
+ return { ...(0, _mergeDeep.mergeDeep)(baseTheme, themeToMergeWithBase),
40
38
  palette
41
39
  };
42
- return { ...mergedThemes,
43
- ...(0, _themeCompatibility.default)(mergedThemes),
44
- name: mergedThemes.name
45
- };
46
40
  };
47
41
 
48
42
  exports.mergeWithBase = mergeWithBase;
@@ -20,7 +20,15 @@ var _default = palette => {
20
20
  },
21
21
  stepSequence: {
22
22
  completedText: palette.productGreenShade(23)
23
+ },
24
+
25
+ get compatibility() {
26
+ return {
27
+ colorsActionMajor500: this.colors.primary,
28
+ colorsActionMajor600: this.colors.secondary
29
+ };
23
30
  }
31
+
24
32
  };
25
33
  };
26
34
 
@@ -13,6 +13,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
 
14
14
  var _default = { ..._index.default,
15
15
  ..._common.default,
16
- name: "sage"
16
+ name: "sage (experimental)"
17
17
  };
18
18
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "100.1.0",
3
+ "version": "101.0.2",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {
@@ -30,7 +30,8 @@
30
30
  "babel": "cross-env NODE_ENV=production babel ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*/__spec__.js','**/*.spec.js','**/__definition__.js' --quiet",
31
31
  "clean-lib": "rimraf ./lib",
32
32
  "copy-files": "cpy \"**/\" \"!**/(*.js|*.md|*.mdx|*.stories.*|*.snap)\" ../lib/ --cwd=src --parents",
33
- "commit": "git-cz"
33
+ "commit": "git-cz",
34
+ "generate-metadata": "node ./scripts/generate_metadata/index.mjs"
34
35
  },
35
36
  "repository": {
36
37
  "type": "git",
@@ -58,8 +59,9 @@
58
59
  "@babel/preset-typescript": "7.12.7",
59
60
  "@commitlint/cli": "^11.0.0",
60
61
  "@commitlint/config-conventional": "^11.0.0",
61
- "@semantic-release/changelog": "^5.0.1",
62
- "@semantic-release/git": "^9.0.0",
62
+ "@semantic-release/changelog": "^6.0.1",
63
+ "@semantic-release/exec": "^6.0.2",
64
+ "@semantic-release/git": "^10.0.1",
63
65
  "@storybook/addon-a11y": "^6.3.6",
64
66
  "@storybook/addon-actions": "^6.3.6",
65
67
  "@storybook/addon-controls": "^6.3.7",
@@ -120,6 +122,7 @@
120
122
  "husky": "^4.3.6",
121
123
  "jest": "^26.6.3",
122
124
  "jest-canvas-mock": "^2.3.1",
125
+ "jest-fetch-mock": "^3.0.3",
123
126
  "jest-styled-components": "^6.3.1",
124
127
  "lint-staged": "^10.5.3",
125
128
  "mockdate": "^2.0.2",
@@ -129,7 +132,7 @@
129
132
  "react-dom": "^16.12.0",
130
133
  "react-test-renderer": "^16.12.0",
131
134
  "rimraf": "^3.0.2",
132
- "semantic-release": "^17.4.7",
135
+ "semantic-release": "^18.0.1",
133
136
  "semver": "^7.3.5",
134
137
  "sprintf-js": "^1.1.2",
135
138
  "styled-components": "^4.4.1",
@@ -203,6 +206,12 @@
203
206
  "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
204
207
  }
205
208
  ],
209
+ [
210
+ "@semantic-release/exec",
211
+ {
212
+ "successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
213
+ }
214
+ ],
206
215
  "@semantic-release/github"
207
216
  ]
208
217
  }
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _styledComponents = require("styled-components");
9
-
10
- var _generateCssVariables = _interopRequireDefault(require("../generate-css-variables.util"));
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- /**
15
- *
16
- * Converts theme properties to css variables form and set them globally
17
- *
18
- */
19
- const CarbonGlobalTokensProvider = (0, _styledComponents.createGlobalStyle)`
20
- :root {
21
- ${props => (0, _generateCssVariables.default)(props.theme)}
22
- }
23
- `;
24
- var _default = CarbonGlobalTokensProvider;
25
- exports.default = _default;
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "default", {
7
- enumerable: true,
8
- get: function () {
9
- return _carbonGlobalTokensProvider.default;
10
- }
11
- });
12
-
13
- var _carbonGlobalTokensProvider = _interopRequireDefault(require("./carbon-global-tokens-provider.component"));
14
-
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -1,709 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- /**
9
- *
10
- * Util that maps old theme properties to design tokens
11
- * or assigns hardcoded values if equivalent does not
12
- * exist in old theme.
13
- *
14
- * Its purpose is to provide new property values to
15
- * old themes so both of them can be compatible.
16
- *
17
- * I see no other way, than hardcode those keys and
18
- * assign them values. Hopefully this job will be
19
- * done only once in the beginning.
20
- *
21
- */
22
- var _default = theme => ({ ...theme,
23
- metaName: "Base Theme",
24
- metaPublic: "true",
25
- colorsLogo: "#00D639",
26
- colorsYin030: "rgba(0,0,0,0.3)",
27
- colorsYin055: "rgba(0,0,0,0.55)",
28
- colorsYin065: "rgba(0,0,0,0.65)",
29
- colorsYin090: "rgba(0,0,0,0.9)",
30
- colorsComponentsNavigation500: "#008146",
31
- colorsComponentsNavigation600: "#006738",
32
- colorsComponentsNavigation700: "#004D2A",
33
- colorsComponentsNavigation1000: "#000000",
34
- colorsComponentsNavigation000: "#FFFFFF",
35
- colorsComponentsNavigationTransparent: "rgba(0,0,0,0)",
36
- colorsUtilityMajor100: "#CCD6DB",
37
- colorsUtilityMajor150: "#B3C2C9",
38
- colorsUtilityMajor200: "#99ADB7",
39
- colorsUtilityMajor300: "#668494",
40
- colorsUtilityMajor400: "#335B70",
41
- colorsUtilityMajor500: "#00324C",
42
- colorsUtilityMajor800: "#00141E",
43
- colorsUtilityMajor1000: "#000000",
44
- colorsUtilityMajor000: "#FFFFFF",
45
- colorsUtilityMajor025: "#F2F5F6",
46
- colorsUtilityMajor050: "#E6EBED",
47
- colorsUtilityMajor075: "#D9E0E4",
48
- colorsUtilityMajorTransparent: "rgba(0,0,0,0)",
49
- colorsUtilityDisabled400: "#F2F5F6",
50
- colorsUtilityDisabled500: "#E6EBED",
51
- colorsUtilityDisabled600: "#CCD6DB",
52
- colorsUtilityReadOnly400: "#F2F5F6",
53
- colorsUtilityReadOnly500: "#E6EBED",
54
- colorsUtilityReadOnly600: "#CCD6DB",
55
- colorsActionMajor150: "#B3D9C8",
56
- colorsActionMajor500: theme.colors.primary,
57
- colorsActionMajor600: theme.colors.secondary,
58
- colorsActionMajor700: "#004D2A",
59
- colorsActionMajor1000: "#000000",
60
- colorsActionMajor000: "#FFFFFF",
61
- colorsActionMajorTransparent: "rgba(0,0,0,0)",
62
- colorsActionMinor100: "#E6EBED",
63
- colorsActionMinor200: "#CCD6DB",
64
- colorsActionMinor300: "#99ADB7",
65
- colorsActionMinor400: "#668494",
66
- colorsActionMinor500: "#335B70",
67
- colorsActionMinor600: "#00324C",
68
- colorsActionMinor1000: "#000000",
69
- colorsActionMinor000: "#FFFFFF",
70
- colorsActionMinor025: "#FAFBFB",
71
- colorsActionMinor050: "#F2F5F6",
72
- colorsActionMinorTransparent: "rgba(0,0,0,0)",
73
- colorsActionDisabled400: "#F2F5F6",
74
- colorsActionDisabled500: theme.colors.disabled.disabled,
75
- colorsActionDisabled600: "#CCD6DB",
76
- colorsActionReadOnly400: "#F2F5F6",
77
- colorsActionReadOnly500: "#E6EBED",
78
- colorsActionReadOnly600: "#CCD6DB",
79
- colorsSemanticNeutral200: "#CCD6DB",
80
- colorsSemanticNeutral500: "#335B70",
81
- colorsSemanticNeutral600: "#00324C",
82
- colorsSemanticNeutral1000: "#000000",
83
- colorsSemanticNeutral000: "#FFFFFF",
84
- colorsSemanticNeutralTransparent: "rgba(0,0,0,0)",
85
- colorsSemanticFocus250: "#FFDA80",
86
- colorsSemanticFocus500: theme.colors.focus,
87
- colorsSemanticFocus1000: "#000000",
88
- colorsSemanticFocus000: "#FFFFFF",
89
- colorsSemanticFocusTransparent: "rgba(0,0,0,0)",
90
- colorsSemanticPositive500: theme.colors.success,
91
- colorsSemanticPositive600: "#006e1a",
92
- colorsSemanticPositive1000: "#000000",
93
- colorsSemanticPositive000: "#FFFFFF",
94
- colorsSemanticPositiveTransparent: "rgba(0,0,0,0)",
95
- colorsSemanticNegative500: theme.colors.error,
96
- colorsSemanticNegative600: theme.colors.destructive.hover,
97
- colorsSemanticNegative1000: "#000000",
98
- colorsSemanticNegative000: "#FFFFFF",
99
- colorsSemanticNegativeTransparent: "rgba(0,0,0,0)",
100
- colorsSemanticCaution400: "#f28533",
101
- colorsSemanticCaution500: theme.colors.warning,
102
- colorsSemanticCaution600: "#bf5200",
103
- colorsSemanticCaution1000: "#000000",
104
- colorsSemanticCaution000: "#FFFFFF",
105
- colorsSemanticCautionTransparent: "rgba(0,0,0,0)",
106
- colorsSemanticInfo150: "#b3cfe5",
107
- colorsSemanticInfo500: theme.colors.info,
108
- colorsSemanticInfo600: "#004d86",
109
- colorsSemanticInfo1000: "#000000",
110
- colorsSemanticInfo000: "#FFFFFF",
111
- colorsSemanticInfoTransparent: "rgba(0,0,0,0)",
112
- sizing10: "1px",
113
- sizing100: "8px",
114
- sizing125: "10px",
115
- sizing150: "12px",
116
- sizing175: "14px",
117
- sizing200: "16px",
118
- sizing250: "20px",
119
- sizing300: "24px",
120
- sizing350: "28px",
121
- sizing375: "30px",
122
- sizing400: "32px",
123
- sizing500: "40px",
124
- sizing600: "48px",
125
- sizing700: "56px",
126
- sizing800: "64px",
127
- sizing900: "72px",
128
- sizing1000: "80px",
129
- sizing025: "2px",
130
- sizing050: "4px",
131
- sizing075: "6px",
132
- sizingLogowidth: "40px",
133
- spacing000: `${theme.space[0]}px`,
134
- // 0px
135
- spacing025: "2px",
136
- spacing050: "4px",
137
- spacing075: "6px",
138
- spacing100: `${theme.space[1]}px`,
139
- // 8px
140
- spacing125: "10px",
141
- spacing150: "12px",
142
- spacing200: `${theme.space[2]}px`,
143
- // 16px
144
- spacing250: "20px",
145
- spacing300: `${theme.space[3]}px`,
146
- // 24px
147
- spacing400: `${theme.space[4]}px`,
148
- // 32px
149
- spacing500: `${theme.space[5]}px`,
150
- // 40px
151
- spacing600: `${theme.space[6]}px`,
152
- // 48px
153
- spacing700: `${theme.space[7]}px`,
154
- // 56px
155
- spacing800: `${theme.space[8]}px`,
156
- // 64px
157
- spacing900: `${theme.space[9]}px`,
158
- // 72px
159
- borderWidth100: "1px",
160
- borderWidth200: "2px",
161
- borderWidth300: "3px",
162
- borderWidth400: "4px",
163
- borderWidth000: "0px",
164
- fontSizes100: theme.text.size,
165
- fontSizes200: "16px",
166
- fontSizes300: "18px",
167
- fontSizes400: "20px",
168
- fontSizes500: "22px",
169
- fontSizes600: "24px",
170
- fontSizes700: "32px",
171
- fontSizes800: "48px",
172
- fontSizes900: "56px",
173
- fontSizes1000: "64px",
174
- fontSizes010: "10px",
175
- fontSizes025: "12px",
176
- fontSizes050: "13px",
177
- boxShadow100: {
178
- x: "0",
179
- y: "10px",
180
- blur: "10px",
181
- spread: "0",
182
- color: "rgba(0,20,29,0.1)"
183
- },
184
- boxShadow200: {
185
- x: "0",
186
- y: "20px",
187
- blur: "40px",
188
- spread: "0",
189
- color: "rgba(0,20,29,0.1)"
190
- },
191
- boxShadow300: {
192
- x: "0",
193
- y: "30px",
194
- blur: "60px",
195
- spread: "0",
196
- color: "rgba(0,20,29,0.1)"
197
- },
198
- boxShadow400: {
199
- x: "0",
200
- y: "50px",
201
- blur: "80px",
202
- spread: "0",
203
- color: "rgba(0,20,29,0.1)"
204
- },
205
- opacity100: "10%",
206
- opacity200: "20%",
207
- opacity300: "30%",
208
- opacity400: "40%",
209
- opacity500: "50%",
210
- opacity550: "55%",
211
- opacity600: "60%",
212
- opacity650: "65%",
213
- opacity700: "70%",
214
- opacity800: "80%",
215
- opacity900: "90%",
216
- fontWeights400: "Regular Beta",
217
- fontWeights500: "Medium Beta",
218
- fontWeights600: "SemiBold Beta",
219
- fontWeights700: "Bold Beta",
220
- lineHeights400: "125%",
221
- lineHeights500: "150%",
222
- fontFamiliesDefault: "Sage UI",
223
- fontFamiliesIos: "San Francisco",
224
- fontFamiliesAndroid: "Roboto",
225
- fontFamiliesOther: "Open Sans",
226
- borderRadiusCircle: "50%",
227
- typographyButtonLabelS: {
228
- fontFamily: "Sage UI",
229
- fontWeight: "Bold Beta",
230
- lineHeight: "150%",
231
- fontSize: "14px",
232
- letterSpacing: "0%",
233
- paragraphSpacing: "0px"
234
- },
235
- typographyButtonLabelM: {
236
- fontFamily: "Sage UI",
237
- fontWeight: "Bold Beta",
238
- lineHeight: "150%",
239
- fontSize: "14px",
240
- letterSpacing: "0%",
241
- paragraphSpacing: "0px"
242
- },
243
- typographyButtonLabelL: {
244
- fontFamily: "Sage UI",
245
- fontWeight: "Bold Beta",
246
- lineHeight: "150%",
247
- fontSize: "16px",
248
- letterSpacing: "0%",
249
- paragraphSpacing: "0px"
250
- },
251
- typographyDialogTitleXs: {
252
- fontFamily: "Sage UI",
253
- fontWeight: "Bold Beta",
254
- lineHeight: "125%",
255
- fontSize: "20px",
256
- letterSpacing: "0%",
257
- paragraphSpacing: "0px"
258
- },
259
- typographyDialogTitleS: {
260
- fontFamily: "Sage UI",
261
- fontWeight: "Bold Beta",
262
- lineHeight: "125%",
263
- fontSize: "20px",
264
- letterSpacing: "0%",
265
- paragraphSpacing: "0px"
266
- },
267
- typographyDialogTitleMs: {
268
- fontFamily: "Sage UI",
269
- fontWeight: "Bold Beta",
270
- lineHeight: "125%",
271
- fontSize: "20px",
272
- letterSpacing: "0%",
273
- paragraphSpacing: "0px"
274
- },
275
- typographyDialogTitleM: {
276
- fontFamily: "Sage UI",
277
- fontWeight: "Bold Beta",
278
- lineHeight: "125%",
279
- fontSize: "20px",
280
- letterSpacing: "0%",
281
- paragraphSpacing: "0px"
282
- },
283
- typographyDialogTitleMl: {
284
- fontFamily: "Sage UI",
285
- fontWeight: "Bold Beta",
286
- lineHeight: "125%",
287
- fontSize: "20px",
288
- letterSpacing: "0%",
289
- paragraphSpacing: "0px"
290
- },
291
- typographyDialogTitleL: {
292
- fontFamily: "Sage UI",
293
- fontWeight: "Bold Beta",
294
- lineHeight: "125%",
295
- fontSize: "20px",
296
- letterSpacing: "0%",
297
- paragraphSpacing: "0px"
298
- },
299
- typographyDialogTitleXl: {
300
- fontFamily: "Sage UI",
301
- fontWeight: "Bold Beta",
302
- lineHeight: "125%",
303
- fontSize: "20px",
304
- letterSpacing: "0%",
305
- paragraphSpacing: "0px"
306
- },
307
- typographyFlashTextM: {
308
- fontFamily: "Sage UI",
309
- fontWeight: "Regular Beta",
310
- lineHeight: "150%",
311
- fontSize: "14px",
312
- letterSpacing: "0%",
313
- paragraphSpacing: "0px"
314
- },
315
- typographyFlashTextL: {
316
- fontFamily: "Sage UI",
317
- fontWeight: "Regular Beta",
318
- lineHeight: "150%",
319
- fontSize: "16px",
320
- letterSpacing: "0%",
321
- paragraphSpacing: "0px"
322
- },
323
- typographyFormFieldLabelXs: {
324
- fontFamily: "Sage UI",
325
- fontWeight: "Medium Beta",
326
- lineHeight: "150%",
327
- fontSize: "14px",
328
- letterSpacing: "0%",
329
- paragraphSpacing: "0px"
330
- },
331
- typographyFormFieldLabelS: {
332
- fontFamily: "Sage UI",
333
- fontWeight: "Medium Beta",
334
- lineHeight: "150%",
335
- fontSize: "14px",
336
- letterSpacing: "0%",
337
- paragraphSpacing: "0px"
338
- },
339
- typographyFormFieldLabelM: {
340
- fontFamily: "Sage UI",
341
- fontWeight: "Medium Beta",
342
- lineHeight: "150%",
343
- fontSize: "14px",
344
- letterSpacing: "0%",
345
- paragraphSpacing: "0px"
346
- },
347
- typographyFormFieldLabelL: {
348
- fontFamily: "Sage UI",
349
- fontWeight: "Medium Beta",
350
- lineHeight: "150%",
351
- fontSize: "16px",
352
- letterSpacing: "0%",
353
- paragraphSpacing: "0px"
354
- },
355
- typographyFormFieldHintTextXs: {
356
- fontFamily: "Sage UI",
357
- fontWeight: "Regular Beta",
358
- lineHeight: "150%",
359
- fontSize: "14px",
360
- letterSpacing: "0%",
361
- paragraphSpacing: "0px"
362
- },
363
- typographyFormFieldHintTextS: {
364
- fontFamily: "Sage UI",
365
- fontWeight: "Regular Beta",
366
- lineHeight: "150%",
367
- fontSize: "14px",
368
- letterSpacing: "0%",
369
- paragraphSpacing: "0px"
370
- },
371
- typographyFormFieldHintTextM: {
372
- fontFamily: "Sage UI",
373
- fontWeight: "Regular Beta",
374
- lineHeight: "150%",
375
- fontSize: "14px",
376
- letterSpacing: "0%",
377
- paragraphSpacing: "0px"
378
- },
379
- typographyFormFieldHintTextL: {
380
- fontFamily: "Sage UI",
381
- fontWeight: "Regular Beta",
382
- lineHeight: "150%",
383
- fontSize: "16px",
384
- letterSpacing: "0%",
385
- paragraphSpacing: "0px"
386
- },
387
- typographyFormFieldErrorMessageXs: {
388
- fontFamily: "Sage UI",
389
- fontWeight: "Medium Beta",
390
- lineHeight: "150%",
391
- fontSize: "14px",
392
- letterSpacing: "0%",
393
- paragraphSpacing: "0px"
394
- },
395
- typographyFormFieldErrorMessageS: {
396
- fontFamily: "Sage UI",
397
- fontWeight: "Medium Beta",
398
- lineHeight: "150%",
399
- fontSize: "14px",
400
- letterSpacing: "0%",
401
- paragraphSpacing: "0px"
402
- },
403
- typographyFormFieldErrorMessageM: {
404
- fontFamily: "Sage UI",
405
- fontWeight: "Medium Beta",
406
- lineHeight: "150%",
407
- fontSize: "14px",
408
- letterSpacing: "0%",
409
- paragraphSpacing: "0px"
410
- },
411
- typographyFormFieldErrorMessageL: {
412
- fontFamily: "Sage UI",
413
- fontWeight: "Medium Beta",
414
- lineHeight: "150%",
415
- fontSize: "16px",
416
- letterSpacing: "0%",
417
- paragraphSpacing: "0px"
418
- },
419
- typographyFormFieldCautionMessageXs: {
420
- fontFamily: "Sage UI",
421
- fontWeight: "Regular Beta",
422
- lineHeight: "150%",
423
- fontSize: "14px",
424
- letterSpacing: "0%",
425
- paragraphSpacing: "0px"
426
- },
427
- typographyFormFieldCautionMessageS: {
428
- fontFamily: "Sage UI",
429
- fontWeight: "Regular Beta",
430
- lineHeight: "150%",
431
- fontSize: "14px",
432
- letterSpacing: "0%",
433
- paragraphSpacing: "0px"
434
- },
435
- typographyFormFieldCautionMessageM: {
436
- fontFamily: "Sage UI",
437
- fontWeight: "Regular Beta",
438
- lineHeight: "150%",
439
- fontSize: "14px",
440
- letterSpacing: "0%",
441
- paragraphSpacing: "0px"
442
- },
443
- typographyFormFieldCautionMessageL: {
444
- fontFamily: "Sage UI",
445
- fontWeight: "Regular Beta",
446
- lineHeight: "150%",
447
- fontSize: "16px",
448
- letterSpacing: "0%",
449
- paragraphSpacing: "0px"
450
- },
451
- typographyFormFieldInputTextXs: {
452
- fontFamily: "Sage UI",
453
- fontWeight: "Regular Beta",
454
- lineHeight: "150%",
455
- fontSize: "14px",
456
- letterSpacing: "0%",
457
- paragraphSpacing: "0px"
458
- },
459
- typographyFormFieldInputTextS: {
460
- fontFamily: "Sage UI",
461
- fontWeight: "Regular Beta",
462
- lineHeight: "150%",
463
- fontSize: "14px",
464
- letterSpacing: "0%",
465
- paragraphSpacing: "0px"
466
- },
467
- typographyFormFieldInputTextM: {
468
- fontFamily: "Sage UI",
469
- fontWeight: "Regular Beta",
470
- lineHeight: "150%",
471
- fontSize: "14px",
472
- letterSpacing: "0%",
473
- paragraphSpacing: "0px"
474
- },
475
- typographyFormFieldInputTextL: {
476
- fontFamily: "Sage UI",
477
- fontWeight: "Regular Beta",
478
- lineHeight: "150%",
479
- fontSize: "16px",
480
- letterSpacing: "0%",
481
- paragraphSpacing: "0px"
482
- },
483
- typographyFormFieldDropdownOptionsXs: {
484
- fontFamily: "Sage UI",
485
- fontWeight: "Regular Beta",
486
- lineHeight: "150%",
487
- fontSize: "14px",
488
- letterSpacing: "0%",
489
- paragraphSpacing: "0px"
490
- },
491
- typographyFormFieldDropdownOptionsS: {
492
- fontFamily: "Sage UI",
493
- fontWeight: "Regular Beta",
494
- lineHeight: "150%",
495
- fontSize: "14px",
496
- letterSpacing: "0%",
497
- paragraphSpacing: "0px"
498
- },
499
- typographyFormFieldDropdownOptionsM: {
500
- fontFamily: "Sage UI",
501
- fontWeight: "Regular Beta",
502
- lineHeight: "150%",
503
- fontSize: "14px",
504
- letterSpacing: "0%",
505
- paragraphSpacing: "0px"
506
- },
507
- typographyFormFieldDropdownOptionsL: {
508
- fontFamily: "Sage UI",
509
- fontWeight: "Regular Beta",
510
- lineHeight: "150%",
511
- fontSize: "16px",
512
- letterSpacing: "0%",
513
- paragraphSpacing: "0px"
514
- },
515
- typographyFormFieldSecondLabelXs: {
516
- fontFamily: "Sage UI",
517
- fontWeight: "Medium Beta",
518
- lineHeight: "150%",
519
- fontSize: "14px",
520
- letterSpacing: "0%",
521
- paragraphSpacing: "0px"
522
- },
523
- typographyFormFieldSecondLabelS: {
524
- fontFamily: "Sage UI",
525
- fontWeight: "Medium Beta",
526
- lineHeight: "150%",
527
- fontSize: "14px",
528
- letterSpacing: "0%",
529
- paragraphSpacing: "0px"
530
- },
531
- typographyFormFieldSecondLabelM: {
532
- fontFamily: "Sage UI",
533
- fontWeight: "Medium Beta",
534
- lineHeight: "150%",
535
- fontSize: "14px",
536
- letterSpacing: "0%",
537
- paragraphSpacing: "0px"
538
- },
539
- typographyFormFieldSecondLabelL: {
540
- fontFamily: "Sage UI",
541
- fontWeight: "Medium Beta",
542
- lineHeight: "150%",
543
- fontSize: "16px",
544
- letterSpacing: "0%",
545
- paragraphSpacing: "0px"
546
- },
547
- typographyFormFieldCharacterCountXs: {
548
- fontFamily: "Sage UI",
549
- fontWeight: "Regular Beta",
550
- lineHeight: "150%",
551
- fontSize: "14px",
552
- letterSpacing: "0%",
553
- paragraphSpacing: "0px"
554
- },
555
- typographyFormFieldCharacterCountS: {
556
- fontFamily: "Sage UI",
557
- fontWeight: "Regular Beta",
558
- lineHeight: "150%",
559
- fontSize: "14px",
560
- letterSpacing: "0%",
561
- paragraphSpacing: "0px"
562
- },
563
- typographyFormFieldCharacterCountM: {
564
- fontFamily: "Sage UI",
565
- lineHeight: "150%",
566
- fontWeight: "Regular Beta",
567
- fontSize: "14px",
568
- letterSpacing: "0%",
569
- paragraphSpacing: "0px"
570
- },
571
- typographyFormFieldCharacterCountL: {
572
- fontFamily: "Sage UI",
573
- fontWeight: "Regular Beta",
574
- lineHeight: "150%",
575
- fontSize: "14px",
576
- letterSpacing: "0%",
577
- paragraphSpacing: "0px"
578
- },
579
- typographyLinkTextM: {
580
- fontFamily: "Sage UI",
581
- fontWeight: "Regular Beta",
582
- lineHeight: "150%",
583
- fontSize: "14px",
584
- letterSpacing: "0%",
585
- paragraphSpacing: "0px"
586
- },
587
- typographyLinkTextL: {
588
- fontFamily: "Sage UI",
589
- fontWeight: "Regular Beta",
590
- lineHeight: "150%",
591
- fontSize: "16px",
592
- letterSpacing: "0%",
593
- paragraphSpacing: "0px"
594
- },
595
- typographyMessageHeadingM: {
596
- fontFamily: "Sage UI",
597
- fontWeight: "Bold Beta",
598
- lineHeight: "150%",
599
- fontSize: "14px",
600
- letterSpacing: "0%",
601
- paragraphSpacing: "0px"
602
- },
603
- typographyMessageHeadingL: {
604
- fontFamily: "Sage UI",
605
- fontWeight: "Bold Beta",
606
- lineHeight: "150%",
607
- fontSize: "16px",
608
- letterSpacing: "0%",
609
- paragraphSpacing: "0px"
610
- },
611
- typographyMessageTextM: {
612
- fontFamily: "Sage UI",
613
- fontWeight: "Regular Beta",
614
- lineHeight: "150%",
615
- fontSize: "14px",
616
- letterSpacing: "0%",
617
- paragraphSpacing: "0px"
618
- },
619
- typographyMessageTextL: {
620
- fontFamily: "Sage UI",
621
- fontWeight: "Regular Beta",
622
- lineHeight: "150%",
623
- fontSize: "16px",
624
- letterSpacing: "0%",
625
- paragraphSpacing: "0px"
626
- },
627
- typographyPillLabelS: {
628
- fontFamily: "Sage UI",
629
- fontWeight: "Medium Beta",
630
- lineHeight: "150%",
631
- fontSize: "10px",
632
- letterSpacing: "0%",
633
- paragraphSpacing: "0px"
634
- },
635
- typographyPillLabelM: {
636
- fontFamily: "Sage UI",
637
- fontWeight: "Medium Beta",
638
- lineHeight: "150%",
639
- fontSize: "12px",
640
- letterSpacing: "0%",
641
- paragraphSpacing: "0px"
642
- },
643
- typographyPillLabelL: {
644
- fontFamily: "Sage UI",
645
- fontWeight: "Medium Beta",
646
- lineHeight: "150%",
647
- fontSize: "14px",
648
- letterSpacing: "0%",
649
- paragraphSpacing: "0px"
650
- },
651
- typographyPillLabelXl: {
652
- fontFamily: "Sage UI",
653
- fontWeight: "Medium Beta",
654
- lineHeight: "150%",
655
- fontSize: "16px",
656
- letterSpacing: "0%",
657
- paragraphSpacing: "0px"
658
- },
659
- typographySwitchOptionLabelM: {
660
- fontFamily: "Sage UI",
661
- fontWeight: "Medium Beta",
662
- lineHeight: "150%",
663
- fontSize: "12px",
664
- letterSpacing: "0%",
665
- paragraphSpacing: "0px"
666
- },
667
- typographySwitchOptionLabelL: {
668
- fontFamily: "Sage UI",
669
- fontWeight: "Medium Beta",
670
- lineHeight: "150%",
671
- fontSize: "14px",
672
- letterSpacing: "0%",
673
- paragraphSpacing: "0px"
674
- },
675
- typographyTableHeaderTextM: {
676
- fontFamily: "Sage UI",
677
- fontWeight: "Medium Beta",
678
- lineHeight: "150%",
679
- fontSize: "14px",
680
- letterSpacing: "0%",
681
- paragraphSpacing: "0px"
682
- },
683
- typographyTableCellTextM: {
684
- fontFamily: "Sage UI",
685
- fontWeight: "Regular Beta",
686
- lineHeight: "150%",
687
- fontSize: "14px",
688
- letterSpacing: "0%",
689
- paragraphSpacing: "0px"
690
- },
691
- typographyTooltipTextM: {
692
- fontFamily: "Sage UI",
693
- fontWeight: "Regular Beta",
694
- lineHeight: "150%",
695
- fontSize: "14px",
696
- letterSpacing: "0%",
697
- paragraphSpacing: "0px"
698
- },
699
- typographyTooltipTextL: {
700
- fontFamily: "Sage UI",
701
- fontWeight: "Regular Beta",
702
- lineHeight: "150%",
703
- fontSize: "16px",
704
- letterSpacing: "0%",
705
- paragraphSpacing: "0px"
706
- }
707
- });
708
-
709
- exports.default = _default;