@spaced-out/ui-design-system 0.1.56 → 0.1.58

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/design-tokens/font/base-font.json +6 -0
  3. package/design-tokens/size/base-size.json +3 -0
  4. package/lib/components/Banner/Banner.js +6 -5
  5. package/lib/components/Banner/Banner.js.flow +2 -1
  6. package/lib/components/Icon/SemanticIcon.js +30 -0
  7. package/lib/components/Icon/SemanticIcon.js.flow +42 -0
  8. package/lib/components/Icon/SemanticIcon.module.css +47 -0
  9. package/lib/components/Icon/index.js +8 -1
  10. package/lib/components/Icon/index.js.flow +2 -0
  11. package/lib/components/InContextAlert/InContextAlert.js +13 -20
  12. package/lib/components/InContextAlert/InContextAlert.js.flow +2 -9
  13. package/lib/components/KPIBox/KPIBox.js +46 -0
  14. package/lib/components/KPIBox/KPIBox.js.flow +97 -0
  15. package/lib/components/KPIBox/KPIBox.module.css +47 -0
  16. package/lib/components/KPIBox/index.js +16 -0
  17. package/lib/components/KPIBox/index.js.flow +3 -0
  18. package/lib/components/Text/Text.js +191 -30
  19. package/lib/components/Text/Text.js.flow +272 -0
  20. package/lib/components/Text/index.js +42 -0
  21. package/lib/components/Text/index.js.flow +7 -0
  22. package/lib/components/Toggle/Toggle.js +5 -2
  23. package/lib/components/Toggle/Toggle.js.flow +8 -1
  24. package/lib/components/index.js +11 -0
  25. package/lib/components/index.js.flow +1 -0
  26. package/lib/styles/index.css +6 -0
  27. package/lib/styles/index.js +8 -2
  28. package/lib/styles/index.js.flow +6 -0
  29. package/lib/styles/typography.module.css +19 -1
  30. package/lib/styles/variables/_font.css +4 -0
  31. package/lib/styles/variables/_font.js +5 -1
  32. package/lib/styles/variables/_font.js.flow +4 -0
  33. package/lib/styles/variables/_size.css +2 -0
  34. package/lib/styles/variables/_size.js +3 -1
  35. package/lib/styles/variables/_size.js.flow +2 -0
  36. package/lib/types/common.js +15 -0
  37. package/lib/types/common.js.flow +10 -0
  38. package/lib/utils/array/are-arrays-equal.js +11 -0
  39. package/lib/utils/array/are-arrays-equal.js.flow +14 -0
  40. package/lib/utils/array/index.js +16 -0
  41. package/lib/utils/array/index.js.flow +3 -0
  42. package/lib/utils/index.js +11 -0
  43. package/lib/utils/index.js.flow +1 -0
  44. package/package.json +1 -1
@@ -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.JumboMedium = exports.FormLabelSmall = exports.FormLabelMedium = exports.FormInputSmall = exports.FormInputMedium = exports.ButtonTextSmall = exports.ButtonTextMedium = exports.ButtonTextExtraSmall = exports.BodySmall = exports.BodyMedium = exports.BodyLarge = void 0;
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;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _typography = require("../../types/typography");
9
9
  var _classify = _interopRequireDefault(require("../../utils/classify"));
@@ -62,7 +62,7 @@ const JumboMedium = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
62
62
  }) : children);
63
63
  });
64
64
  exports.JumboMedium = JumboMedium;
65
- const TitleMedium = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
65
+ const JumboSmall = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
66
66
  let {
67
67
  color = _typography.TEXT_COLORS.primary,
68
68
  children,
@@ -73,6 +73,29 @@ const TitleMedium = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
73
73
  highlightWithBackground,
74
74
  ...props
75
75
  } = _ref3;
76
+ return /*#__PURE__*/React.createElement("span", _extends({}, props, {
77
+ className: (0, _classify.default)(_typographyModule.default.jumboSmall, _typographyModule.default[color], className),
78
+ ref: ref
79
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
80
+ text: children,
81
+ highlight: highlightString,
82
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
83
+ highlightClassName: highlightedTextClassName,
84
+ highlightWithBackground: highlightWithBackground
85
+ }) : children);
86
+ });
87
+ exports.JumboSmall = JumboSmall;
88
+ const TitleMedium = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
89
+ let {
90
+ color = _typography.TEXT_COLORS.primary,
91
+ children,
92
+ className,
93
+ highlightedTextClassName,
94
+ highlightString,
95
+ caseSensitiveHighlighting,
96
+ highlightWithBackground,
97
+ ...props
98
+ } = _ref4;
76
99
  return /*#__PURE__*/React.createElement("h1", _extends({}, props, {
77
100
  className: (0, _classify.default)(_typographyModule.default.titleMedium, _typographyModule.default[color], className),
78
101
  ref: ref
@@ -85,7 +108,7 @@ const TitleMedium = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
85
108
  }) : children);
86
109
  });
87
110
  exports.TitleMedium = TitleMedium;
88
- const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
111
+ const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
89
112
  let {
90
113
  color = _typography.TEXT_COLORS.primary,
91
114
  children,
@@ -95,7 +118,7 @@ const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
95
118
  caseSensitiveHighlighting,
96
119
  highlightWithBackground,
97
120
  ...props
98
- } = _ref4;
121
+ } = _ref5;
99
122
  return /*#__PURE__*/React.createElement("h2", _extends({}, props, {
100
123
  className: (0, _classify.default)(_typographyModule.default.subTitleLarge, _typographyModule.default[color], className),
101
124
  ref: ref
@@ -108,7 +131,7 @@ const SubTitleLarge = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
108
131
  }) : children);
109
132
  });
110
133
  exports.SubTitleLarge = SubTitleLarge;
111
- const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
134
+ const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
112
135
  let {
113
136
  color = _typography.TEXT_COLORS.primary,
114
137
  children,
@@ -118,7 +141,7 @@ const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
118
141
  caseSensitiveHighlighting,
119
142
  highlightWithBackground,
120
143
  ...props
121
- } = _ref5;
144
+ } = _ref6;
122
145
  return /*#__PURE__*/React.createElement("h3", _extends({}, props, {
123
146
  className: (0, _classify.default)(_typographyModule.default.subTitleMedium, _typographyModule.default[color], className),
124
147
  ref: ref
@@ -131,7 +154,7 @@ const SubTitleMedium = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
131
154
  }) : children);
132
155
  });
133
156
  exports.SubTitleMedium = SubTitleMedium;
134
- const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
157
+ const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
135
158
  let {
136
159
  color = _typography.TEXT_COLORS.primary,
137
160
  children,
@@ -141,7 +164,7 @@ const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
141
164
  caseSensitiveHighlighting,
142
165
  highlightWithBackground,
143
166
  ...props
144
- } = _ref6;
167
+ } = _ref7;
145
168
  return /*#__PURE__*/React.createElement("h4", _extends({}, props, {
146
169
  className: (0, _classify.default)(_typographyModule.default.subTitleSmall, _typographyModule.default[color], className),
147
170
  ref: ref
@@ -154,7 +177,7 @@ const SubTitleSmall = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
154
177
  }) : children);
155
178
  });
156
179
  exports.SubTitleSmall = SubTitleSmall;
157
- const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
180
+ const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
158
181
  let {
159
182
  color = _typography.TEXT_COLORS.primary,
160
183
  children,
@@ -164,7 +187,7 @@ const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
164
187
  caseSensitiveHighlighting,
165
188
  highlightWithBackground,
166
189
  ...props
167
- } = _ref7;
190
+ } = _ref8;
168
191
  return /*#__PURE__*/React.createElement("h5", _extends({}, props, {
169
192
  className: (0, _classify.default)(_typographyModule.default.subTitleExtraSmall, _typographyModule.default[color], className),
170
193
  ref: ref
@@ -177,7 +200,7 @@ const SubTitleExtraSmall = /*#__PURE__*/React.forwardRef((_ref7, ref) => {
177
200
  }) : children);
178
201
  });
179
202
  exports.SubTitleExtraSmall = SubTitleExtraSmall;
180
- const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
203
+ const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
181
204
  let {
182
205
  color = _typography.TEXT_COLORS.primary,
183
206
  children,
@@ -187,7 +210,7 @@ const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
187
210
  caseSensitiveHighlighting,
188
211
  highlightWithBackground,
189
212
  ...props
190
- } = _ref8;
213
+ } = _ref9;
191
214
  return /*#__PURE__*/React.createElement("span", _extends({}, props, {
192
215
  className: (0, _classify.default)(_typographyModule.default.buttonTextMedium, _typographyModule.default[color], className),
193
216
  ref: ref
@@ -200,7 +223,7 @@ const ButtonTextMedium = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
200
223
  }) : children);
201
224
  });
202
225
  exports.ButtonTextMedium = ButtonTextMedium;
203
- const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
226
+ const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
204
227
  let {
205
228
  color = _typography.TEXT_COLORS.primary,
206
229
  children,
@@ -210,7 +233,7 @@ const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
210
233
  caseSensitiveHighlighting,
211
234
  highlightWithBackground,
212
235
  ...props
213
- } = _ref9;
236
+ } = _ref10;
214
237
  return /*#__PURE__*/React.createElement("span", _extends({}, props, {
215
238
  className: (0, _classify.default)(_typographyModule.default.buttonTextSmall, _typographyModule.default[color], className),
216
239
  ref: ref
@@ -223,7 +246,7 @@ const ButtonTextSmall = /*#__PURE__*/React.forwardRef((_ref9, ref) => {
223
246
  }) : children);
224
247
  });
225
248
  exports.ButtonTextSmall = ButtonTextSmall;
226
- const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
249
+ const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
227
250
  let {
228
251
  color = _typography.TEXT_COLORS.primary,
229
252
  children,
@@ -233,7 +256,7 @@ const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
233
256
  caseSensitiveHighlighting,
234
257
  highlightWithBackground,
235
258
  ...props
236
- } = _ref10;
259
+ } = _ref11;
237
260
  return /*#__PURE__*/React.createElement("span", _extends({}, props, {
238
261
  className: (0, _classify.default)(_typographyModule.default.buttonTextExtraSmall, _typographyModule.default[color], className),
239
262
  ref: ref
@@ -246,7 +269,7 @@ const ButtonTextExtraSmall = /*#__PURE__*/React.forwardRef((_ref10, ref) => {
246
269
  }) : children);
247
270
  });
248
271
  exports.ButtonTextExtraSmall = ButtonTextExtraSmall;
249
- const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
272
+ const ButtonTextMediumUnderline = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
250
273
  let {
251
274
  color = _typography.TEXT_COLORS.primary,
252
275
  children,
@@ -256,7 +279,76 @@ const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
256
279
  caseSensitiveHighlighting,
257
280
  highlightWithBackground,
258
281
  ...props
259
- } = _ref11;
282
+ } = _ref12;
283
+ return /*#__PURE__*/React.createElement("span", _extends({}, props, {
284
+ className: (0, _classify.default)(_typographyModule.default.buttonTextMedium, _typographyModule.default.underline, _typographyModule.default[color], className),
285
+ ref: ref
286
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
287
+ text: children,
288
+ highlight: highlightString,
289
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
290
+ highlightClassName: highlightedTextClassName,
291
+ highlightWithBackground: highlightWithBackground
292
+ }) : children);
293
+ });
294
+ exports.ButtonTextMediumUnderline = ButtonTextMediumUnderline;
295
+ const ButtonTextSmallUnderline = /*#__PURE__*/React.forwardRef((_ref13, ref) => {
296
+ let {
297
+ color = _typography.TEXT_COLORS.primary,
298
+ children,
299
+ className,
300
+ highlightedTextClassName,
301
+ highlightString,
302
+ caseSensitiveHighlighting,
303
+ highlightWithBackground,
304
+ ...props
305
+ } = _ref13;
306
+ return /*#__PURE__*/React.createElement("span", _extends({}, props, {
307
+ className: (0, _classify.default)(_typographyModule.default.buttonTextSmall, _typographyModule.default.underline, _typographyModule.default[color], className),
308
+ ref: ref
309
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
310
+ text: children,
311
+ highlight: highlightString,
312
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
313
+ highlightClassName: highlightedTextClassName,
314
+ highlightWithBackground: highlightWithBackground
315
+ }) : children);
316
+ });
317
+ exports.ButtonTextSmallUnderline = ButtonTextSmallUnderline;
318
+ const ButtonTextExtraSmallUnderline = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
319
+ let {
320
+ color = _typography.TEXT_COLORS.primary,
321
+ children,
322
+ className,
323
+ highlightedTextClassName,
324
+ highlightString,
325
+ caseSensitiveHighlighting,
326
+ highlightWithBackground,
327
+ ...props
328
+ } = _ref14;
329
+ return /*#__PURE__*/React.createElement("span", _extends({}, props, {
330
+ className: (0, _classify.default)(_typographyModule.default.buttonTextExtraSmall, _typographyModule.default.underline, _typographyModule.default[color], className),
331
+ ref: ref
332
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
333
+ text: children,
334
+ highlight: highlightString,
335
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
336
+ highlightClassName: highlightedTextClassName,
337
+ highlightWithBackground: highlightWithBackground
338
+ }) : children);
339
+ });
340
+ exports.ButtonTextExtraSmallUnderline = ButtonTextExtraSmallUnderline;
341
+ const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
342
+ let {
343
+ color = _typography.TEXT_COLORS.primary,
344
+ children,
345
+ className,
346
+ highlightedTextClassName,
347
+ highlightString,
348
+ caseSensitiveHighlighting,
349
+ highlightWithBackground,
350
+ ...props
351
+ } = _ref15;
260
352
  return /*#__PURE__*/React.createElement("p", _extends({}, props, {
261
353
  className: (0, _classify.default)(_typographyModule.default.formInputMedium, _typographyModule.default[color], className),
262
354
  ref: ref
@@ -269,7 +361,7 @@ const FormInputMedium = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
269
361
  }) : children);
270
362
  });
271
363
  exports.FormInputMedium = FormInputMedium;
272
- const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
364
+ const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
273
365
  let {
274
366
  color = _typography.TEXT_COLORS.primary,
275
367
  children,
@@ -279,7 +371,7 @@ const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
279
371
  caseSensitiveHighlighting,
280
372
  highlightWithBackground,
281
373
  ...props
282
- } = _ref12;
374
+ } = _ref16;
283
375
  return /*#__PURE__*/React.createElement("p", _extends({}, props, {
284
376
  className: (0, _classify.default)(_typographyModule.default.formInputSmall, _typographyModule.default[color], className),
285
377
  ref: ref
@@ -292,7 +384,7 @@ const FormInputSmall = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
292
384
  }) : children);
293
385
  });
294
386
  exports.FormInputSmall = FormInputSmall;
295
- const BodyLarge = /*#__PURE__*/React.forwardRef((_ref13, ref) => {
387
+ const BodyLarge = /*#__PURE__*/React.forwardRef((_ref17, ref) => {
296
388
  let {
297
389
  color = _typography.TEXT_COLORS.primary,
298
390
  children,
@@ -302,7 +394,7 @@ const BodyLarge = /*#__PURE__*/React.forwardRef((_ref13, ref) => {
302
394
  caseSensitiveHighlighting,
303
395
  highlightWithBackground,
304
396
  ...props
305
- } = _ref13;
397
+ } = _ref17;
306
398
  return /*#__PURE__*/React.createElement("p", _extends({}, props, {
307
399
  className: (0, _classify.default)(_typographyModule.default.bodyLarge, _typographyModule.default[color], className),
308
400
  ref: ref
@@ -315,7 +407,7 @@ const BodyLarge = /*#__PURE__*/React.forwardRef((_ref13, ref) => {
315
407
  }) : children);
316
408
  });
317
409
  exports.BodyLarge = BodyLarge;
318
- const BodyMedium = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
410
+ const BodyMedium = /*#__PURE__*/React.forwardRef((_ref18, ref) => {
319
411
  let {
320
412
  color = _typography.TEXT_COLORS.primary,
321
413
  children,
@@ -325,7 +417,7 @@ const BodyMedium = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
325
417
  caseSensitiveHighlighting,
326
418
  highlightWithBackground,
327
419
  ...props
328
- } = _ref14;
420
+ } = _ref18;
329
421
  return /*#__PURE__*/React.createElement("p", _extends({}, props, {
330
422
  className: (0, _classify.default)(_typographyModule.default.bodyMedium, _typographyModule.default[color], className),
331
423
  ref: ref
@@ -338,7 +430,7 @@ const BodyMedium = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
338
430
  }) : children);
339
431
  });
340
432
  exports.BodyMedium = BodyMedium;
341
- const BodySmall = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
433
+ const BodySmall = /*#__PURE__*/React.forwardRef((_ref19, ref) => {
342
434
  let {
343
435
  color = _typography.TEXT_COLORS.primary,
344
436
  children,
@@ -348,7 +440,7 @@ const BodySmall = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
348
440
  caseSensitiveHighlighting,
349
441
  highlightWithBackground,
350
442
  ...props
351
- } = _ref15;
443
+ } = _ref19;
352
444
  return /*#__PURE__*/React.createElement("p", _extends({}, props, {
353
445
  className: (0, _classify.default)(_typographyModule.default.bodySmall, _typographyModule.default[color], className),
354
446
  ref: ref
@@ -361,7 +453,7 @@ const BodySmall = /*#__PURE__*/React.forwardRef((_ref15, ref) => {
361
453
  }) : children);
362
454
  });
363
455
  exports.BodySmall = BodySmall;
364
- const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
456
+ const BodyLargeBold = /*#__PURE__*/React.forwardRef((_ref20, ref) => {
365
457
  let {
366
458
  color = _typography.TEXT_COLORS.primary,
367
459
  children,
@@ -371,7 +463,76 @@ const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
371
463
  caseSensitiveHighlighting,
372
464
  highlightWithBackground,
373
465
  ...props
374
- } = _ref16;
466
+ } = _ref20;
467
+ return /*#__PURE__*/React.createElement("p", _extends({}, props, {
468
+ className: (0, _classify.default)(_typographyModule.default.bodyLarge, _typographyModule.default.bold, _typographyModule.default[color], className),
469
+ ref: ref
470
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
471
+ text: children,
472
+ highlight: highlightString,
473
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
474
+ highlightClassName: highlightedTextClassName,
475
+ highlightWithBackground: highlightWithBackground
476
+ }) : children);
477
+ });
478
+ exports.BodyLargeBold = BodyLargeBold;
479
+ const BodyMediumBold = /*#__PURE__*/React.forwardRef((_ref21, ref) => {
480
+ let {
481
+ color = _typography.TEXT_COLORS.primary,
482
+ children,
483
+ className,
484
+ highlightedTextClassName,
485
+ highlightString,
486
+ caseSensitiveHighlighting,
487
+ highlightWithBackground,
488
+ ...props
489
+ } = _ref21;
490
+ return /*#__PURE__*/React.createElement("p", _extends({}, props, {
491
+ className: (0, _classify.default)(_typographyModule.default.bodyMedium, _typographyModule.default.bold, _typographyModule.default[color], className),
492
+ ref: ref
493
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
494
+ text: children,
495
+ highlight: highlightString,
496
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
497
+ highlightClassName: highlightedTextClassName,
498
+ highlightWithBackground: highlightWithBackground
499
+ }) : children);
500
+ });
501
+ exports.BodyMediumBold = BodyMediumBold;
502
+ const BodySmallBold = /*#__PURE__*/React.forwardRef((_ref22, ref) => {
503
+ let {
504
+ color = _typography.TEXT_COLORS.primary,
505
+ children,
506
+ className,
507
+ highlightedTextClassName,
508
+ highlightString,
509
+ caseSensitiveHighlighting,
510
+ highlightWithBackground,
511
+ ...props
512
+ } = _ref22;
513
+ return /*#__PURE__*/React.createElement("p", _extends({}, props, {
514
+ className: (0, _classify.default)(_typographyModule.default.bodySmall, _typographyModule.default.bold, _typographyModule.default[color], className),
515
+ ref: ref
516
+ }), !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/React.createElement(HighlightText, {
517
+ text: children,
518
+ highlight: highlightString,
519
+ caseSensitiveHighlighting: caseSensitiveHighlighting,
520
+ highlightClassName: highlightedTextClassName,
521
+ highlightWithBackground: highlightWithBackground
522
+ }) : children);
523
+ });
524
+ exports.BodySmallBold = BodySmallBold;
525
+ const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref23, ref) => {
526
+ let {
527
+ color = _typography.TEXT_COLORS.primary,
528
+ children,
529
+ className,
530
+ highlightedTextClassName,
531
+ highlightString,
532
+ caseSensitiveHighlighting,
533
+ highlightWithBackground,
534
+ ...props
535
+ } = _ref23;
375
536
  return /*#__PURE__*/React.createElement("span", _extends({}, props, {
376
537
  className: (0, _classify.default)(_typographyModule.default.formLabelMedium, _typographyModule.default[color], className),
377
538
  ref: ref
@@ -384,7 +545,7 @@ const FormLabelMedium = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
384
545
  }) : children);
385
546
  });
386
547
  exports.FormLabelMedium = FormLabelMedium;
387
- const FormLabelSmall = /*#__PURE__*/React.forwardRef((_ref17, ref) => {
548
+ const FormLabelSmall = /*#__PURE__*/React.forwardRef((_ref24, ref) => {
388
549
  let {
389
550
  color = _typography.TEXT_COLORS.primary,
390
551
  children,
@@ -394,7 +555,7 @@ const FormLabelSmall = /*#__PURE__*/React.forwardRef((_ref17, ref) => {
394
555
  caseSensitiveHighlighting,
395
556
  highlightWithBackground,
396
557
  ...props
397
- } = _ref17;
558
+ } = _ref24;
398
559
  return /*#__PURE__*/React.createElement("span", _extends({}, props, {
399
560
  className: (0, _classify.default)(_typographyModule.default.formLabelSmall, _typographyModule.default[color], className),
400
561
  ref: ref