@hero-design/rn-work-uikit 1.8.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @hero-design/rn-work-uikit
2
2
 
3
+ ## 1.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#4287](https://github.com/Thinkei/hero-design/pull/4287) [`e7d09c0d84402f39f49d9de984b435de75fda538`](https://github.com/Thinkei/hero-design/commit/e7d09c0d84402f39f49d9de984b435de75fda538) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Typography.Body][typography.caption][Typography.Label] Support italic style prop
8
+
9
+ - [#4277](https://github.com/Thinkei/hero-design/pull/4277) [`41d0eb39bb03540a9c2d47c40c79846739ebedcf`](https://github.com/Thinkei/hero-design/commit/41d0eb39bb03540a9c2d47c40c79846739ebedcf) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Typography.Title] Support italic style
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`52f1ccb86d7c307f93aa95ccf7b9e11ff97e542a`](https://github.com/Thinkei/hero-design/commit/52f1ccb86d7c307f93aa95ccf7b9e11ff97e542a), [`e7d09c0d84402f39f49d9de984b435de75fda538`](https://github.com/Thinkei/hero-design/commit/e7d09c0d84402f39f49d9de984b435de75fda538), [`41d0eb39bb03540a9c2d47c40c79846739ebedcf`](https://github.com/Thinkei/hero-design/commit/41d0eb39bb03540a9c2d47c40c79846739ebedcf)]:
14
+ - @hero-design/rn@8.111.0
15
+
3
16
  ## 1.8.1
4
17
 
5
18
  ### Patch Changes
package/lib/index.js CHANGED
@@ -5504,13 +5504,19 @@ var getFonts = function getFonts(_ref) {
5504
5504
  return {
5505
5505
  neutral: {
5506
5506
  light: "".concat(neutral, "-Light"),
5507
+ lightItalic: "".concat(neutral, "-LightItalic"),
5507
5508
  regular: "".concat(neutral, "-Regular"),
5508
- semiBold: "".concat(neutral, "-SemiBold")
5509
+ regularItalic: "".concat(neutral, "-RegularItalic"),
5510
+ semiBold: "".concat(neutral, "-SemiBold"),
5511
+ semiBoldItalic: "".concat(neutral, "-SemiBoldItalic")
5509
5512
  },
5510
5513
  playful: {
5511
5514
  light: "".concat(playful, "-Light"),
5515
+ lightItalic: "".concat(playful, "-LightItalic"),
5512
5516
  regular: "".concat(playful, "-Regular"),
5513
- semiBold: "".concat(playful, "-Medium")
5517
+ regularItalic: "".concat(playful, "-RegularItalic"),
5518
+ semiBold: "".concat(playful, "-Medium"),
5519
+ semiBoldItalic: "".concat(playful, "-MediumItalic")
5514
5520
  }
5515
5521
  };
5516
5522
  };
@@ -7622,29 +7628,31 @@ var getTypographyTheme = function getTypographyTheme(theme) {
7622
7628
  titles: {
7623
7629
  neutral: {
7624
7630
  h1: theme.fonts.neutral.regular,
7631
+ h1Italic: theme.fonts.neutral.regularItalic,
7625
7632
  h2: theme.fonts.neutral.semiBold,
7633
+ h2Italic: theme.fonts.neutral.semiBoldItalic,
7626
7634
  h3: theme.fonts.neutral.semiBold,
7635
+ h3Italic: theme.fonts.neutral.semiBoldItalic,
7627
7636
  h4: theme.fonts.neutral.semiBold,
7637
+ h4Italic: theme.fonts.neutral.semiBoldItalic,
7628
7638
  h5: theme.fonts.neutral.semiBold,
7629
- h6: theme.fonts.neutral.regular
7639
+ h5Italic: theme.fonts.neutral.semiBoldItalic,
7640
+ h6: theme.fonts.neutral.regular,
7641
+ h6Italic: theme.fonts.neutral.regularItalic
7630
7642
  },
7631
7643
  playful: {
7632
7644
  h1: theme.fonts.playful.semiBold,
7645
+ h1Italic: theme.fonts.playful.semiBoldItalic,
7633
7646
  h2: theme.fonts.playful.semiBold,
7647
+ h2Italic: theme.fonts.playful.semiBoldItalic,
7634
7648
  h3: theme.fonts.playful.semiBold,
7649
+ h3Italic: theme.fonts.playful.semiBoldItalic,
7635
7650
  h4: theme.fonts.playful.semiBold,
7651
+ h4Italic: theme.fonts.playful.semiBoldItalic,
7636
7652
  h5: theme.fonts.playful.semiBold,
7637
- h6: theme.fonts.playful.regular
7638
- }
7639
- },
7640
- body: {
7641
- neutral: {
7642
- semiBold: theme.fonts.neutral.semiBold,
7643
- regular: theme.fonts.neutral.regular
7644
- },
7645
- playful: {
7646
- semiBold: theme.fonts.playful.semiBold,
7647
- regular: theme.fonts.playful.regular
7653
+ h5Italic: theme.fonts.playful.semiBoldItalic,
7654
+ h6: theme.fonts.playful.regular,
7655
+ h6Italic: theme.fonts.playful.regularItalic
7648
7656
  }
7649
7657
  }
7650
7658
  };
@@ -8860,17 +8868,20 @@ var FONTWEIGHT_MAP$1 = {
8860
8868
  var StyledCaption = index$c(reactNative.Text)(function (_ref) {
8861
8869
  var themeFontWeight = _ref.themeFontWeight,
8862
8870
  themeIntent = _ref.themeIntent,
8863
- theme = _ref.theme;
8871
+ theme = _ref.theme,
8872
+ themeIsItalic = _ref.themeIsItalic;
8873
+ var baseFontWeight = FONTWEIGHT_MAP$1[themeFontWeight];
8874
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts.neutral["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts.neutral[baseFontWeight];
8864
8875
  return {
8865
8876
  fontSize: theme.__hd__.typography.fontSizes.caption,
8866
8877
  lineHeight: theme.__hd__.typography.lineHeights.caption,
8867
8878
  letterSpacing: themeFontWeight === 'regular' ? 0.36 : 0.24,
8868
8879
  color: theme.__hd__.typography.colors[themeIntent],
8869
- fontFamily: theme.__hd__.typography.fonts.neutral[FONTWEIGHT_MAP$1[themeFontWeight]]
8880
+ fontFamily: fontFamily
8870
8881
  };
8871
8882
  });
8872
8883
 
8873
- var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
8884
+ var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle"];
8874
8885
  var Caption = function Caption(_ref) {
8875
8886
  var children = _ref.children,
8876
8887
  _ref$fontWeight = _ref.fontWeight,
@@ -8879,35 +8890,46 @@ var Caption = function Caption(_ref) {
8879
8890
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8880
8891
  _ref$allowFontScaling = _ref.allowFontScaling,
8881
8892
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8893
+ _ref$fontStyle = _ref.fontStyle,
8894
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8882
8895
  nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8883
8896
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8884
8897
  themeFontWeight: fontWeight,
8885
8898
  themeIntent: intent,
8899
+ themeIsItalic: fontStyle === 'italic',
8886
8900
  allowFontScaling: allowFontScaling
8887
8901
  }), children);
8888
8902
  };
8889
8903
 
8890
8904
  var StyledLabel$2 = index$c(reactNative.Text)(function (_ref) {
8891
8905
  var themeIntent = _ref.themeIntent,
8892
- theme = _ref.theme;
8906
+ theme = _ref.theme,
8907
+ themeIsItalic = _ref.themeIsItalic;
8908
+ // For Label, we assume 'regular' weight for base font family
8909
+ var baseFontWeight = 'regular';
8910
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts.neutral["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts.neutral[baseFontWeight];
8893
8911
  return {
8894
8912
  fontSize: theme.__hd__.typography.fontSizes.label,
8895
8913
  lineHeight: theme.__hd__.typography.lineHeights.label,
8896
8914
  letterSpacing: 0,
8897
- color: theme.__hd__.typography.colors[themeIntent]
8915
+ color: theme.__hd__.typography.colors[themeIntent],
8916
+ fontFamily: fontFamily
8898
8917
  };
8899
8918
  });
8900
8919
 
8901
- var _excluded$M = ["children", "intent", "allowFontScaling"];
8920
+ var _excluded$M = ["children", "intent", "allowFontScaling", "fontStyle"];
8902
8921
  var Label = function Label(_ref) {
8903
8922
  var children = _ref.children,
8904
8923
  _ref$intent = _ref.intent,
8905
8924
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8906
8925
  _ref$allowFontScaling = _ref.allowFontScaling,
8907
8926
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8927
+ _ref$fontStyle = _ref.fontStyle,
8928
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8908
8929
  nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8909
8930
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$2, _extends$1({}, nativeProps, {
8910
8931
  themeIntent: intent,
8932
+ themeIsItalic: fontStyle === 'italic',
8911
8933
  allowFontScaling: allowFontScaling
8912
8934
  }), children);
8913
8935
  };
@@ -8916,17 +8938,18 @@ var StyledTitle$1 = index$c(reactNative.Text)(function (_ref) {
8916
8938
  var themeIntent = _ref.themeIntent,
8917
8939
  themeLevel = _ref.themeLevel,
8918
8940
  theme = _ref.theme,
8919
- typeface = _ref.themeTypeface;
8941
+ typeface = _ref.themeTypeface,
8942
+ themeIsItalic = _ref.themeIsItalic;
8920
8943
  return {
8921
8944
  fontSize: theme.__hd__.typography.fontSizes.titles[typeface][themeLevel],
8922
8945
  lineHeight: theme.__hd__.typography.lineHeights.titles[typeface][themeLevel],
8923
8946
  letterSpacing: theme.__hd__.typography.letterSpacings.titles[typeface][themeLevel],
8924
- fontFamily: theme.__hd__.typography.fontWeights.titles[typeface][themeLevel],
8925
- color: theme.__hd__.typography.colors[themeIntent]
8947
+ color: theme.__hd__.typography.colors[themeIntent],
8948
+ fontFamily: themeIsItalic ? theme.__hd__.typography.fontWeights.titles[typeface]["".concat(themeLevel, "Italic")] : theme.__hd__.typography.fontWeights.titles[typeface][themeLevel]
8926
8949
  };
8927
8950
  });
8928
8951
 
8929
- var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
8952
+ var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle"];
8930
8953
  var Title = function Title(_ref) {
8931
8954
  var children = _ref.children,
8932
8955
  _ref$intent = _ref.intent,
@@ -8937,11 +8960,14 @@ var Title = function Title(_ref) {
8937
8960
  level = _ref$level === void 0 ? 'h1' : _ref$level,
8938
8961
  _ref$typeface = _ref.typeface,
8939
8962
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8963
+ _ref$fontStyle = _ref.fontStyle,
8964
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8940
8965
  nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8941
8966
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8942
8967
  themeLevel: level,
8943
8968
  themeTypeface: typeface,
8944
8969
  themeIntent: intent,
8970
+ themeIsItalic: fontStyle === 'italic',
8945
8971
  allowFontScaling: allowFontScaling
8946
8972
  }), children);
8947
8973
  };
@@ -8962,17 +8988,20 @@ var StyledBody$2 = index$c(reactNative.Text)(function (_ref) {
8962
8988
  var themeIntent = _ref.themeIntent,
8963
8989
  theme = _ref.theme,
8964
8990
  themeTypeface = _ref.themeTypeface,
8965
- themeVariant = _ref.themeVariant;
8991
+ themeVariant = _ref.themeVariant,
8992
+ themeIsItalic = _ref.themeIsItalic;
8993
+ var baseFontWeight = FONTWEIGHT_MAP[themeVariant];
8994
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts[themeTypeface]["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts[themeTypeface][baseFontWeight];
8966
8995
  return {
8967
8996
  fontSize: theme.__hd__.typography.fontSizes.body[themeTypeface][FONTSIZE_MAP[themeVariant]],
8968
8997
  lineHeight: theme.__hd__.typography.lineHeights.body[themeTypeface][FONTSIZE_MAP[themeVariant]],
8969
8998
  letterSpacing: theme.__hd__.typography.letterSpacings.body[themeTypeface][FONTWEIGHT_MAP[themeVariant]],
8970
- fontFamily: theme.__hd__.typography.fontWeights.body[themeTypeface][FONTWEIGHT_MAP[themeVariant]],
8999
+ fontFamily: fontFamily,
8971
9000
  color: theme.__hd__.typography.colors[themeIntent]
8972
9001
  };
8973
9002
  });
8974
9003
 
8975
- var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
9004
+ var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle"];
8976
9005
  var Body = function Body(_ref) {
8977
9006
  var children = _ref.children,
8978
9007
  _ref$intent = _ref.intent,
@@ -8983,11 +9012,14 @@ var Body = function Body(_ref) {
8983
9012
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8984
9013
  _ref$variant = _ref.variant,
8985
9014
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
9015
+ _ref$fontStyle = _ref.fontStyle,
9016
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8986
9017
  nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8987
9018
  return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8988
9019
  themeTypeface: typeface,
8989
9020
  themeIntent: intent,
8990
9021
  themeVariant: variant,
9022
+ themeIsItalic: fontStyle === 'italic',
8991
9023
  allowFontScaling: allowFontScaling
8992
9024
  }), children);
8993
9025
  };
@@ -9316,6 +9348,10 @@ var StyledButtonIcon = index$c(Icon)(function (_ref6) {
9316
9348
  }, themeStyling());
9317
9349
  });
9318
9350
 
9351
+ /**
9352
+ * @deprecated Use 'primary' | 'secondary' | 'danger' | 'inverted' instead.
9353
+ */
9354
+
9319
9355
  var isIconName = function isIconName(icon) {
9320
9356
  return typeof icon === 'string';
9321
9357
  };
@@ -15414,6 +15450,11 @@ var AlertIcon = function AlertIcon(_ref) {
15414
15450
  themeIntent: intent
15415
15451
  })) : null;
15416
15452
  };
15453
+
15454
+ /**
15455
+ * @deprecated Use 'success' | 'info' | 'warning' | 'error' instead.
15456
+ */
15457
+
15417
15458
  var Alert = function Alert(_ref2) {
15418
15459
  var content = _ref2.content,
15419
15460
  icon = _ref2.icon,
@@ -22137,6 +22178,11 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
22137
22178
  });
22138
22179
 
22139
22180
  var _excluded$p = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible"];
22181
+
22182
+ /**
22183
+ * @deprecated Use 'selection' | 'filter' | 'compact' | 'compact-outlined' instead.
22184
+ */
22185
+
22140
22186
  var getChipLabel = function getChipLabel(label) {
22141
22187
  if (typeof label === 'string') {
22142
22188
  return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
@@ -28297,6 +28343,10 @@ var ToolbarItem = function ToolbarItem(_ref3) {
28297
28343
  }));
28298
28344
  };
28299
28345
 
28346
+ /**
28347
+ * @deprecated Use 'right' instead.
28348
+ */
28349
+
28300
28350
  var ToolbarGroup = function ToolbarGroup(_ref) {
28301
28351
  var _ref$align = _ref.align,
28302
28352
  align = _ref$align === void 0 ? 'right' : _ref$align,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn-work-uikit",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -23,7 +23,7 @@
23
23
  "@emotion/native": "^11.9.3",
24
24
  "@emotion/primitives-core": "11.0.0",
25
25
  "@emotion/react": "^11.9.3",
26
- "@hero-design/rn": "^8.110.1",
26
+ "@hero-design/rn": "^8.111.0",
27
27
  "hero-editor": "^1.17.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -161,6 +161,7 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
161
161
  testID="input-label-text"
162
162
  themeFontWeight="regular"
163
163
  themeIntent="body"
164
+ themeIsItalic={false}
164
165
  themeState="filled"
165
166
  >
166
167
  Start date
@@ -190,6 +191,7 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
190
191
  }
191
192
  themeFontWeight="regular"
192
193
  themeIntent="body"
194
+ themeIsItalic={false}
193
195
  themeState="filled"
194
196
  >
195
197
  (Optional)
@@ -464,6 +466,7 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
464
466
  ]
465
467
  }
466
468
  themeIntent="body"
469
+ themeIsItalic={false}
467
470
  themeTypeface="neutral"
468
471
  themeVariant="regular-bold"
469
472
  >
@@ -636,6 +639,7 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
636
639
  themeButtonVariant="text-primary"
637
640
  themeIntent="body"
638
641
  themeIsCompact={false}
642
+ themeIsItalic={false}
639
643
  themeIsPressed={false}
640
644
  themeTypeface="neutral"
641
645
  themeVariant="regular-bold"
@@ -813,6 +817,7 @@ exports[`Dialog renders DatePickerAndroid when OS is android 1`] = `
813
817
  testID="input-label-text"
814
818
  themeFontWeight="regular"
815
819
  themeIntent="body"
820
+ themeIsItalic={false}
816
821
  themeState="filled"
817
822
  >
818
823
  Start date
@@ -842,6 +847,7 @@ exports[`Dialog renders DatePickerAndroid when OS is android 1`] = `
842
847
  }
843
848
  themeFontWeight="regular"
844
849
  themeIntent="body"
850
+ themeIsItalic={false}
845
851
  themeState="filled"
846
852
  >
847
853
  (Optional)
@@ -1147,6 +1153,7 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
1147
1153
  testID="input-label-text"
1148
1154
  themeFontWeight="regular"
1149
1155
  themeIntent="body"
1156
+ themeIsItalic={false}
1150
1157
  themeState="filled"
1151
1158
  >
1152
1159
  Start date
@@ -1176,6 +1183,7 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
1176
1183
  }
1177
1184
  themeFontWeight="regular"
1178
1185
  themeIntent="body"
1186
+ themeIsItalic={false}
1179
1187
  themeState="filled"
1180
1188
  >
1181
1189
  (Optional)
@@ -1450,6 +1458,7 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
1450
1458
  ]
1451
1459
  }
1452
1460
  themeIntent="body"
1461
+ themeIsItalic={false}
1453
1462
  themeTypeface="neutral"
1454
1463
  themeVariant="regular-bold"
1455
1464
  >
@@ -1622,6 +1631,7 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
1622
1631
  themeButtonVariant="text-primary"
1623
1632
  themeIntent="body"
1624
1633
  themeIsCompact={false}
1634
+ themeIsItalic={false}
1625
1635
  themeIsPressed={false}
1626
1636
  themeTypeface="neutral"
1627
1637
  themeVariant="regular-bold"
@@ -158,6 +158,7 @@ exports[`FormGroup should render: xxx 1`] = `
158
158
  testID="input-label-text"
159
159
  themeFontWeight="regular"
160
160
  themeIntent="body"
161
+ themeIsItalic={false}
161
162
  themeState="filled"
162
163
  >
163
164
  Text Input 1
@@ -418,6 +419,7 @@ exports[`FormGroup should render: xxx 1`] = `
418
419
  testID="input-label-text-text-input-2"
419
420
  themeFontWeight="regular"
420
421
  themeIntent="body"
422
+ themeIsItalic={false}
421
423
  themeState="error"
422
424
  >
423
425
  Text Input 2
@@ -447,6 +449,7 @@ exports[`FormGroup should render: xxx 1`] = `
447
449
  }
448
450
  themeFontWeight="regular"
449
451
  themeIntent="body"
452
+ themeIsItalic={false}
450
453
  themeState="error"
451
454
  >
452
455
  (Optional)
@@ -618,6 +621,7 @@ exports[`FormGroup should render: xxx 1`] = `
618
621
  testID="input-error-message"
619
622
  themeFontWeight="regular"
620
623
  themeIntent="body"
624
+ themeIsItalic={false}
621
625
  >
622
626
  This is an error
623
627
  </Text>
@@ -786,6 +790,7 @@ exports[`FormGroup should render: xxx 1`] = `
786
790
  testID="input-label-text"
787
791
  themeFontWeight="regular"
788
792
  themeIntent="body"
793
+ themeIsItalic={false}
789
794
  themeState="filled"
790
795
  >
791
796
  Text Input 3
@@ -163,6 +163,7 @@ exports[`MultiSelect renders correctly (snapshot) 1`] = `
163
163
  testID="input-label-text"
164
164
  themeFontWeight="regular"
165
165
  themeIntent="body"
166
+ themeIsItalic={false}
166
167
  themeState="filled"
167
168
  >
168
169
  Select Label
@@ -192,6 +193,7 @@ exports[`MultiSelect renders correctly (snapshot) 1`] = `
192
193
  }
193
194
  themeFontWeight="regular"
194
195
  themeIntent="body"
196
+ themeIsItalic={false}
195
197
  themeState="filled"
196
198
  >
197
199
  (Optional)
@@ -472,6 +474,7 @@ exports[`MultiSelect renders correctly (snapshot) 1`] = `
472
474
  ]
473
475
  }
474
476
  themeIntent="body"
477
+ themeIsItalic={false}
475
478
  themeTypeface="neutral"
476
479
  themeVariant="regular-bold"
477
480
  >
@@ -683,6 +686,7 @@ exports[`MultiSelect renders correctly (snapshot) 1`] = `
683
686
  themeButtonVariant="text-primary"
684
687
  themeIntent="body"
685
688
  themeIsCompact={false}
689
+ themeIsItalic={false}
686
690
  themeIsPressed={false}
687
691
  themeTypeface="neutral"
688
692
  themeVariant="regular-bold"
@@ -862,6 +866,7 @@ exports[`Select renders correctly (snapshot) 1`] = `
862
866
  testID="input-label-text"
863
867
  themeFontWeight="regular"
864
868
  themeIntent="body"
869
+ themeIsItalic={false}
865
870
  themeState="filled"
866
871
  >
867
872
  Select Label
@@ -891,6 +896,7 @@ exports[`Select renders correctly (snapshot) 1`] = `
891
896
  }
892
897
  themeFontWeight="regular"
893
898
  themeIntent="body"
899
+ themeIsItalic={false}
894
900
  themeState="filled"
895
901
  >
896
902
  (Optional)
@@ -1171,6 +1177,7 @@ exports[`Select renders correctly (snapshot) 1`] = `
1171
1177
  ]
1172
1178
  }
1173
1179
  themeIntent="body"
1180
+ themeIsItalic={false}
1174
1181
  themeTypeface="neutral"
1175
1182
  themeVariant="regular-bold"
1176
1183
  >
@@ -143,6 +143,7 @@ exports[`StyledCharacterCount renders correctly with themeState default 1`] = `
143
143
  }
144
144
  themeFontWeight="regular"
145
145
  themeIntent="body"
146
+ themeIsItalic={false}
146
147
  themeState="default"
147
148
  >
148
149
  100/255
@@ -178,6 +179,7 @@ exports[`StyledCharacterCount renders correctly with themeState disabled 1`] = `
178
179
  }
179
180
  themeFontWeight="regular"
180
181
  themeIntent="body"
182
+ themeIsItalic={false}
181
183
  themeState="disabled"
182
184
  >
183
185
  100/255
@@ -213,6 +215,7 @@ exports[`StyledCharacterCount renders correctly with themeState error 1`] = `
213
215
  }
214
216
  themeFontWeight="regular"
215
217
  themeIntent="body"
218
+ themeIsItalic={false}
216
219
  themeState="error"
217
220
  >
218
221
  100/255
@@ -248,6 +251,7 @@ exports[`StyledCharacterCount renders correctly with themeState filled 1`] = `
248
251
  }
249
252
  themeFontWeight="regular"
250
253
  themeIntent="body"
254
+ themeIsItalic={false}
251
255
  themeState="filled"
252
256
  >
253
257
  100/255
@@ -283,6 +287,7 @@ exports[`StyledCharacterCount renders correctly with themeState readonly 1`] = `
283
287
  }
284
288
  themeFontWeight="regular"
285
289
  themeIntent="body"
290
+ themeIsItalic={false}
286
291
  themeState="readonly"
287
292
  >
288
293
  100/255
@@ -316,6 +321,7 @@ exports[`StyledError renders correctly 1`] = `
316
321
  }
317
322
  themeFontWeight="regular"
318
323
  themeIntent="body"
324
+ themeIsItalic={false}
319
325
  >
320
326
  must not exceed character limit
321
327
  </Text>
@@ -359,6 +365,7 @@ exports[`StyledHelperText renders correctly 1`] = `
359
365
  }
360
366
  themeFontWeight="regular"
361
367
  themeIntent="body"
368
+ themeIsItalic={false}
362
369
  >
363
370
  helper text
364
371
  </Text>
@@ -390,6 +397,7 @@ exports[`StyledLabel renders correctly with themeState default 1`] = `
390
397
  }
391
398
  themeFontWeight="regular"
392
399
  themeIntent="body"
400
+ themeIsItalic={false}
393
401
  themeState="default"
394
402
  >
395
403
  Label
@@ -422,6 +430,7 @@ exports[`StyledLabel renders correctly with themeState disabled 1`] = `
422
430
  }
423
431
  themeFontWeight="regular"
424
432
  themeIntent="body"
433
+ themeIsItalic={false}
425
434
  themeState="disabled"
426
435
  >
427
436
  Label
@@ -454,6 +463,7 @@ exports[`StyledLabel renders correctly with themeState error 1`] = `
454
463
  }
455
464
  themeFontWeight="regular"
456
465
  themeIntent="body"
466
+ themeIsItalic={false}
457
467
  themeState="error"
458
468
  >
459
469
  Label
@@ -486,6 +496,7 @@ exports[`StyledLabel renders correctly with themeState filled 1`] = `
486
496
  }
487
497
  themeFontWeight="regular"
488
498
  themeIntent="body"
499
+ themeIsItalic={false}
489
500
  themeState="filled"
490
501
  >
491
502
  Label
@@ -518,6 +529,7 @@ exports[`StyledLabel renders correctly with themeState readonly 1`] = `
518
529
  }
519
530
  themeFontWeight="regular"
520
531
  themeIntent="body"
532
+ themeIsItalic={false}
521
533
  themeState="readonly"
522
534
  >
523
535
  Label