@hero-design/rn 8.110.1 → 8.111.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.
Files changed (139) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +12 -0
  3. package/assets/fonts/BeVietnamPro-BoldItalic.ttf +0 -0
  4. package/assets/fonts/BeVietnamPro-LightItalic.ttf +0 -0
  5. package/assets/fonts/BeVietnamPro-RegularItalic.ttf +0 -0
  6. package/assets/fonts/BeVietnamPro-SemiBoldItalic.ttf +0 -0
  7. package/assets/fonts/Saiga-LightItalic.otf +0 -0
  8. package/assets/fonts/Saiga-MediumItalic.otf +0 -0
  9. package/assets/fonts/Saiga-RegularItalic.otf +0 -0
  10. package/es/index.js +59 -27
  11. package/lib/index.js +59 -27
  12. package/package.json +1 -1
  13. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
  14. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  15. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
  16. package/src/components/Alert/index.tsx +10 -2
  17. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +70 -0
  18. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  19. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -0
  20. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +31 -0
  21. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -0
  22. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  23. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +8 -0
  24. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
  25. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  26. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  27. package/src/components/Button/Button.tsx +10 -4
  28. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  29. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +33 -0
  30. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +13 -0
  31. package/src/components/Calendar/__tests__/__snapshots__/CalendarRangeConnector.spec.tsx.snap +5 -0
  32. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
  33. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
  34. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +16 -0
  35. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +20 -0
  36. package/src/components/Chart/ColumnChart/__tests__/__snapshots__/index.spec.tsx.snap +49 -0
  37. package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +60 -0
  38. package/src/components/Chart/shared/__tests__/__snapshots__/ChartFrame.spec.tsx.snap +62 -0
  39. package/src/components/Chart/shared/__tests__/__snapshots__/ChartHeader.spec.tsx.snap +2 -0
  40. package/src/components/Chart/shared/__tests__/__snapshots__/EmptyState.spec.tsx.snap +2 -0
  41. package/src/components/Chart/shared/__tests__/__snapshots__/XAxis.spec.tsx.snap +12 -0
  42. package/src/components/Chart/shared/__tests__/__snapshots__/YAxis.spec.tsx.snap +36 -0
  43. package/src/components/Checkbox/__tests__/__snapshots__/DefaultCheckBox.spec.tsx.snap +4 -0
  44. package/src/components/Checkbox/__tests__/__snapshots__/InlineCheckBox.spec.tsx.snap +6 -0
  45. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +19 -0
  46. package/src/components/Chip/index.tsx +9 -8
  47. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  48. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +3 -0
  49. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
  50. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +1 -0
  51. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +6 -0
  52. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  53. package/src/components/FAB/Pair/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  54. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -0
  55. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  56. package/src/components/FilterTrigger/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  57. package/src/components/FloatingIsland/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  58. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  59. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
  60. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +13 -0
  61. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
  62. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -0
  63. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  64. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +5 -0
  65. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  66. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  67. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -0
  68. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +4 -0
  69. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +10 -0
  70. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
  71. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +2 -0
  72. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +1 -0
  73. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +4 -0
  74. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
  75. package/src/components/SegmentedControl/__tests__/__snapshots__/SegmentedItem.spec.tsx.snap +1 -0
  76. package/src/components/SegmentedControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  77. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  78. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  79. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  80. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  81. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +24 -0
  82. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +39 -0
  83. package/src/components/StatusScreens/Empty/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
  84. package/src/components/StatusScreens/Error/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
  85. package/src/components/StatusScreens/Success/__tests__/__snapshots__/index.spec.tsx.snap +16 -0
  86. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
  87. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  88. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  89. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  90. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +3 -0
  91. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +9 -0
  92. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +4 -0
  93. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -0
  94. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +18 -0
  95. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +10 -0
  96. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +7 -0
  97. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +40 -0
  98. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +3 -0
  99. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +5 -0
  100. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
  101. package/src/components/Toolbar/ToolbarGroup.tsx +10 -4
  102. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +6 -0
  103. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -0
  104. package/src/components/Typography/Body/StyledBody.tsx +24 -19
  105. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +229 -0
  106. package/src/components/Typography/Body/__tests__/index.spec.tsx +19 -0
  107. package/src/components/Typography/Body/index.tsx +8 -2
  108. package/src/components/Typography/Caption/StyledCaption.tsx +15 -8
  109. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +219 -0
  110. package/src/components/Typography/Caption/__tests__/index.spec.tsx +19 -0
  111. package/src/components/Typography/Caption/index.tsx +18 -10
  112. package/src/components/Typography/Label/StyledLabel.tsx +16 -6
  113. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +8 -0
  114. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +126 -0
  115. package/src/components/Typography/Label/__tests__/index.spec.tsx +12 -0
  116. package/src/components/Typography/Label/index.tsx +17 -9
  117. package/src/components/Typography/Title/StyledTitle.tsx +22 -8
  118. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +441 -0
  119. package/src/components/Typography/Title/__tests__/index.spec.tsx +23 -0
  120. package/src/components/Typography/Title/index.tsx +8 -2
  121. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +24 -10
  122. package/src/theme/components/typography.ts +12 -10
  123. package/src/theme/global/typography.ts +9 -0
  124. package/stats/8.111.0/rn-stats.html +4844 -0
  125. package/types/components/Alert/index.d.ts +8 -2
  126. package/types/components/Button/Button.d.ts +8 -4
  127. package/types/components/Chip/index.d.ts +7 -2
  128. package/types/components/TextInput/StyledTextInput.d.ts +1 -1
  129. package/types/components/Toolbar/ToolbarGroup.d.ts +8 -4
  130. package/types/components/Typography/Body/StyledBody.d.ts +1 -0
  131. package/types/components/Typography/Body/index.d.ts +6 -2
  132. package/types/components/Typography/Caption/StyledCaption.d.ts +1 -0
  133. package/types/components/Typography/Caption/index.d.ts +5 -1
  134. package/types/components/Typography/Label/StyledLabel.d.ts +1 -0
  135. package/types/components/Typography/Label/index.d.ts +5 -1
  136. package/types/components/Typography/Title/StyledTitle.d.ts +1 -0
  137. package/types/components/Typography/Title/index.d.ts +6 -2
  138. package/types/theme/components/typography.d.ts +12 -10
  139. package/types/theme/global/typography.d.ts +3 -0
@@ -1,4 +1,4 @@
1
- (node:2754) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:2763) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2
2
  (Use `node --trace-warnings ...` to show where the warning was created)
3
3
  
4
4
  src/index.ts → lib/index.js, es/index.js...
@@ -9,9 +9,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
9
9
  ...and 12 more
10
10
  (!) [plugin replace] @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
11
11
  (!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/_work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.
12
- created lib/index.js, es/index.js in 2m 13.6s
12
+ created lib/index.js, es/index.js in 2m 5.7s
13
13
  
14
14
  /home/runner/_work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/_work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/_work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/_work/hero-design/hero-design/packages/rn/src/locales/types.ts → ., ....
15
15
  (!) Generated empty chunks
16
16
  "locales/types" and "locales/types"
17
- created ., . in 35.8s
17
+ created ., . in 38.3s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.111.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
+ - [#4285](https://github.com/Thinkei/hero-design/pull/4285) [`52f1ccb86d7c307f93aa95ccf7b9e11ff97e542a`](https://github.com/Thinkei/hero-design/commit/52f1ccb86d7c307f93aa95ccf7b9e11ff97e542a) Thanks [@haudao-eh](https://github.com/haudao-eh)! - Improve component's deprecated props values typing
14
+
3
15
  ## 8.110.1
4
16
 
5
17
  ### Patch Changes
package/es/index.js CHANGED
@@ -5171,13 +5171,19 @@ var getFonts = function getFonts(_ref) {
5171
5171
  return {
5172
5172
  neutral: {
5173
5173
  light: "".concat(neutral, "-Light"),
5174
+ lightItalic: "".concat(neutral, "-LightItalic"),
5174
5175
  regular: "".concat(neutral, "-Regular"),
5175
- semiBold: "".concat(neutral, "-SemiBold")
5176
+ regularItalic: "".concat(neutral, "-RegularItalic"),
5177
+ semiBold: "".concat(neutral, "-SemiBold"),
5178
+ semiBoldItalic: "".concat(neutral, "-SemiBoldItalic")
5176
5179
  },
5177
5180
  playful: {
5178
5181
  light: "".concat(playful, "-Light"),
5182
+ lightItalic: "".concat(playful, "-LightItalic"),
5179
5183
  regular: "".concat(playful, "-Regular"),
5180
- semiBold: "".concat(playful, "-Medium")
5184
+ regularItalic: "".concat(playful, "-RegularItalic"),
5185
+ semiBold: "".concat(playful, "-Medium"),
5186
+ semiBoldItalic: "".concat(playful, "-MediumItalic")
5181
5187
  }
5182
5188
  };
5183
5189
  };
@@ -7442,29 +7448,31 @@ var getTypographyTheme = function getTypographyTheme(theme) {
7442
7448
  titles: {
7443
7449
  neutral: {
7444
7450
  h1: theme.fonts.neutral.regular,
7451
+ h1Italic: theme.fonts.neutral.regularItalic,
7445
7452
  h2: theme.fonts.neutral.semiBold,
7453
+ h2Italic: theme.fonts.neutral.semiBoldItalic,
7446
7454
  h3: theme.fonts.neutral.semiBold,
7455
+ h3Italic: theme.fonts.neutral.semiBoldItalic,
7447
7456
  h4: theme.fonts.neutral.semiBold,
7457
+ h4Italic: theme.fonts.neutral.semiBoldItalic,
7448
7458
  h5: theme.fonts.neutral.semiBold,
7449
- h6: theme.fonts.neutral.regular
7459
+ h5Italic: theme.fonts.neutral.semiBoldItalic,
7460
+ h6: theme.fonts.neutral.regular,
7461
+ h6Italic: theme.fonts.neutral.regularItalic
7450
7462
  },
7451
7463
  playful: {
7452
7464
  h1: theme.fonts.playful.semiBold,
7465
+ h1Italic: theme.fonts.playful.semiBoldItalic,
7453
7466
  h2: theme.fonts.playful.semiBold,
7467
+ h2Italic: theme.fonts.playful.semiBoldItalic,
7454
7468
  h3: theme.fonts.playful.semiBold,
7469
+ h3Italic: theme.fonts.playful.semiBoldItalic,
7455
7470
  h4: theme.fonts.playful.semiBold,
7471
+ h4Italic: theme.fonts.playful.semiBoldItalic,
7456
7472
  h5: theme.fonts.playful.semiBold,
7457
- h6: theme.fonts.playful.regular
7458
- }
7459
- },
7460
- body: {
7461
- neutral: {
7462
- semiBold: theme.fonts.neutral.semiBold,
7463
- regular: theme.fonts.neutral.regular
7464
- },
7465
- playful: {
7466
- semiBold: theme.fonts.playful.semiBold,
7467
- regular: theme.fonts.playful.regular
7473
+ h5Italic: theme.fonts.playful.semiBoldItalic,
7474
+ h6: theme.fonts.playful.regular,
7475
+ h6Italic: theme.fonts.playful.regularItalic
7468
7476
  }
7469
7477
  }
7470
7478
  };
@@ -8060,17 +8068,20 @@ var FONTWEIGHT_MAP$1 = {
8060
8068
  var StyledCaption = index$c(Text$1)(function (_ref) {
8061
8069
  var themeFontWeight = _ref.themeFontWeight,
8062
8070
  themeIntent = _ref.themeIntent,
8063
- theme = _ref.theme;
8071
+ theme = _ref.theme,
8072
+ themeIsItalic = _ref.themeIsItalic;
8073
+ var baseFontWeight = FONTWEIGHT_MAP$1[themeFontWeight];
8074
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts.neutral["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts.neutral[baseFontWeight];
8064
8075
  return {
8065
8076
  fontSize: theme.__hd__.typography.fontSizes.caption,
8066
8077
  lineHeight: theme.__hd__.typography.lineHeights.caption,
8067
8078
  letterSpacing: themeFontWeight === 'regular' ? 0.36 : 0.24,
8068
8079
  color: theme.__hd__.typography.colors[themeIntent],
8069
- fontFamily: theme.__hd__.typography.fonts.neutral[FONTWEIGHT_MAP$1[themeFontWeight]]
8080
+ fontFamily: fontFamily
8070
8081
  };
8071
8082
  });
8072
8083
 
8073
- var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
8084
+ var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle"];
8074
8085
  var Caption = function Caption(_ref) {
8075
8086
  var children = _ref.children,
8076
8087
  _ref$fontWeight = _ref.fontWeight,
@@ -8079,35 +8090,46 @@ var Caption = function Caption(_ref) {
8079
8090
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8080
8091
  _ref$allowFontScaling = _ref.allowFontScaling,
8081
8092
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8093
+ _ref$fontStyle = _ref.fontStyle,
8094
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8082
8095
  nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8083
8096
  return /*#__PURE__*/React__default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8084
8097
  themeFontWeight: fontWeight,
8085
8098
  themeIntent: intent,
8099
+ themeIsItalic: fontStyle === 'italic',
8086
8100
  allowFontScaling: allowFontScaling
8087
8101
  }), children);
8088
8102
  };
8089
8103
 
8090
8104
  var StyledLabel$1 = index$c(Text$1)(function (_ref) {
8091
8105
  var themeIntent = _ref.themeIntent,
8092
- theme = _ref.theme;
8106
+ theme = _ref.theme,
8107
+ themeIsItalic = _ref.themeIsItalic;
8108
+ // For Label, we assume 'regular' weight for base font family
8109
+ var baseFontWeight = 'regular';
8110
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts.neutral["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts.neutral[baseFontWeight];
8093
8111
  return {
8094
8112
  fontSize: theme.__hd__.typography.fontSizes.label,
8095
8113
  lineHeight: theme.__hd__.typography.lineHeights.label,
8096
8114
  letterSpacing: 0,
8097
- color: theme.__hd__.typography.colors[themeIntent]
8115
+ color: theme.__hd__.typography.colors[themeIntent],
8116
+ fontFamily: fontFamily
8098
8117
  };
8099
8118
  });
8100
8119
 
8101
- var _excluded$M = ["children", "intent", "allowFontScaling"];
8120
+ var _excluded$M = ["children", "intent", "allowFontScaling", "fontStyle"];
8102
8121
  var Label = function Label(_ref) {
8103
8122
  var children = _ref.children,
8104
8123
  _ref$intent = _ref.intent,
8105
8124
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8106
8125
  _ref$allowFontScaling = _ref.allowFontScaling,
8107
8126
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8127
+ _ref$fontStyle = _ref.fontStyle,
8128
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8108
8129
  nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8109
8130
  return /*#__PURE__*/React__default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
8110
8131
  themeIntent: intent,
8132
+ themeIsItalic: fontStyle === 'italic',
8111
8133
  allowFontScaling: allowFontScaling
8112
8134
  }), children);
8113
8135
  };
@@ -8116,17 +8138,18 @@ var StyledTitle$1 = index$c(Text$1)(function (_ref) {
8116
8138
  var themeIntent = _ref.themeIntent,
8117
8139
  themeLevel = _ref.themeLevel,
8118
8140
  theme = _ref.theme,
8119
- typeface = _ref.themeTypeface;
8141
+ typeface = _ref.themeTypeface,
8142
+ themeIsItalic = _ref.themeIsItalic;
8120
8143
  return {
8121
8144
  fontSize: theme.__hd__.typography.fontSizes.titles[typeface][themeLevel],
8122
8145
  lineHeight: theme.__hd__.typography.lineHeights.titles[typeface][themeLevel],
8123
8146
  letterSpacing: theme.__hd__.typography.letterSpacings.titles[typeface][themeLevel],
8124
- fontFamily: theme.__hd__.typography.fontWeights.titles[typeface][themeLevel],
8125
- color: theme.__hd__.typography.colors[themeIntent]
8147
+ color: theme.__hd__.typography.colors[themeIntent],
8148
+ fontFamily: themeIsItalic ? theme.__hd__.typography.fontWeights.titles[typeface]["".concat(themeLevel, "Italic")] : theme.__hd__.typography.fontWeights.titles[typeface][themeLevel]
8126
8149
  };
8127
8150
  });
8128
8151
 
8129
- var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
8152
+ var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle"];
8130
8153
  var Title = function Title(_ref) {
8131
8154
  var children = _ref.children,
8132
8155
  _ref$intent = _ref.intent,
@@ -8137,11 +8160,14 @@ var Title = function Title(_ref) {
8137
8160
  level = _ref$level === void 0 ? 'h1' : _ref$level,
8138
8161
  _ref$typeface = _ref.typeface,
8139
8162
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8163
+ _ref$fontStyle = _ref.fontStyle,
8164
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8140
8165
  nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8141
8166
  return /*#__PURE__*/React__default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8142
8167
  themeLevel: level,
8143
8168
  themeTypeface: typeface,
8144
8169
  themeIntent: intent,
8170
+ themeIsItalic: fontStyle === 'italic',
8145
8171
  allowFontScaling: allowFontScaling
8146
8172
  }), children);
8147
8173
  };
@@ -8162,17 +8188,20 @@ var StyledBody$2 = index$c(Text$1)(function (_ref) {
8162
8188
  var themeIntent = _ref.themeIntent,
8163
8189
  theme = _ref.theme,
8164
8190
  themeTypeface = _ref.themeTypeface,
8165
- themeVariant = _ref.themeVariant;
8191
+ themeVariant = _ref.themeVariant,
8192
+ themeIsItalic = _ref.themeIsItalic;
8193
+ var baseFontWeight = FONTWEIGHT_MAP[themeVariant];
8194
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts[themeTypeface]["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts[themeTypeface][baseFontWeight];
8166
8195
  return {
8167
8196
  fontSize: theme.__hd__.typography.fontSizes.body[themeTypeface][FONTSIZE_MAP[themeVariant]],
8168
8197
  lineHeight: theme.__hd__.typography.lineHeights.body[themeTypeface][FONTSIZE_MAP[themeVariant]],
8169
8198
  letterSpacing: theme.__hd__.typography.letterSpacings.body[themeTypeface][FONTWEIGHT_MAP[themeVariant]],
8170
- fontFamily: theme.__hd__.typography.fontWeights.body[themeTypeface][FONTWEIGHT_MAP[themeVariant]],
8199
+ fontFamily: fontFamily,
8171
8200
  color: theme.__hd__.typography.colors[themeIntent]
8172
8201
  };
8173
8202
  });
8174
8203
 
8175
- var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
8204
+ var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle"];
8176
8205
  var Body = function Body(_ref) {
8177
8206
  var children = _ref.children,
8178
8207
  _ref$intent = _ref.intent,
@@ -8183,11 +8212,14 @@ var Body = function Body(_ref) {
8183
8212
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8184
8213
  _ref$variant = _ref.variant,
8185
8214
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
8215
+ _ref$fontStyle = _ref.fontStyle,
8216
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8186
8217
  nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8187
8218
  return /*#__PURE__*/React__default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8188
8219
  themeTypeface: typeface,
8189
8220
  themeIntent: intent,
8190
8221
  themeVariant: variant,
8222
+ themeIsItalic: fontStyle === 'italic',
8191
8223
  allowFontScaling: allowFontScaling
8192
8224
  }), children);
8193
8225
  };
package/lib/index.js CHANGED
@@ -5200,13 +5200,19 @@ var getFonts = function getFonts(_ref) {
5200
5200
  return {
5201
5201
  neutral: {
5202
5202
  light: "".concat(neutral, "-Light"),
5203
+ lightItalic: "".concat(neutral, "-LightItalic"),
5203
5204
  regular: "".concat(neutral, "-Regular"),
5204
- semiBold: "".concat(neutral, "-SemiBold")
5205
+ regularItalic: "".concat(neutral, "-RegularItalic"),
5206
+ semiBold: "".concat(neutral, "-SemiBold"),
5207
+ semiBoldItalic: "".concat(neutral, "-SemiBoldItalic")
5205
5208
  },
5206
5209
  playful: {
5207
5210
  light: "".concat(playful, "-Light"),
5211
+ lightItalic: "".concat(playful, "-LightItalic"),
5208
5212
  regular: "".concat(playful, "-Regular"),
5209
- semiBold: "".concat(playful, "-Medium")
5213
+ regularItalic: "".concat(playful, "-RegularItalic"),
5214
+ semiBold: "".concat(playful, "-Medium"),
5215
+ semiBoldItalic: "".concat(playful, "-MediumItalic")
5210
5216
  }
5211
5217
  };
5212
5218
  };
@@ -7471,29 +7477,31 @@ var getTypographyTheme = function getTypographyTheme(theme) {
7471
7477
  titles: {
7472
7478
  neutral: {
7473
7479
  h1: theme.fonts.neutral.regular,
7480
+ h1Italic: theme.fonts.neutral.regularItalic,
7474
7481
  h2: theme.fonts.neutral.semiBold,
7482
+ h2Italic: theme.fonts.neutral.semiBoldItalic,
7475
7483
  h3: theme.fonts.neutral.semiBold,
7484
+ h3Italic: theme.fonts.neutral.semiBoldItalic,
7476
7485
  h4: theme.fonts.neutral.semiBold,
7486
+ h4Italic: theme.fonts.neutral.semiBoldItalic,
7477
7487
  h5: theme.fonts.neutral.semiBold,
7478
- h6: theme.fonts.neutral.regular
7488
+ h5Italic: theme.fonts.neutral.semiBoldItalic,
7489
+ h6: theme.fonts.neutral.regular,
7490
+ h6Italic: theme.fonts.neutral.regularItalic
7479
7491
  },
7480
7492
  playful: {
7481
7493
  h1: theme.fonts.playful.semiBold,
7494
+ h1Italic: theme.fonts.playful.semiBoldItalic,
7482
7495
  h2: theme.fonts.playful.semiBold,
7496
+ h2Italic: theme.fonts.playful.semiBoldItalic,
7483
7497
  h3: theme.fonts.playful.semiBold,
7498
+ h3Italic: theme.fonts.playful.semiBoldItalic,
7484
7499
  h4: theme.fonts.playful.semiBold,
7500
+ h4Italic: theme.fonts.playful.semiBoldItalic,
7485
7501
  h5: theme.fonts.playful.semiBold,
7486
- h6: theme.fonts.playful.regular
7487
- }
7488
- },
7489
- body: {
7490
- neutral: {
7491
- semiBold: theme.fonts.neutral.semiBold,
7492
- regular: theme.fonts.neutral.regular
7493
- },
7494
- playful: {
7495
- semiBold: theme.fonts.playful.semiBold,
7496
- regular: theme.fonts.playful.regular
7502
+ h5Italic: theme.fonts.playful.semiBoldItalic,
7503
+ h6: theme.fonts.playful.regular,
7504
+ h6Italic: theme.fonts.playful.regularItalic
7497
7505
  }
7498
7506
  }
7499
7507
  };
@@ -8089,17 +8097,20 @@ var FONTWEIGHT_MAP$1 = {
8089
8097
  var StyledCaption = index$c(reactNative.Text)(function (_ref) {
8090
8098
  var themeFontWeight = _ref.themeFontWeight,
8091
8099
  themeIntent = _ref.themeIntent,
8092
- theme = _ref.theme;
8100
+ theme = _ref.theme,
8101
+ themeIsItalic = _ref.themeIsItalic;
8102
+ var baseFontWeight = FONTWEIGHT_MAP$1[themeFontWeight];
8103
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts.neutral["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts.neutral[baseFontWeight];
8093
8104
  return {
8094
8105
  fontSize: theme.__hd__.typography.fontSizes.caption,
8095
8106
  lineHeight: theme.__hd__.typography.lineHeights.caption,
8096
8107
  letterSpacing: themeFontWeight === 'regular' ? 0.36 : 0.24,
8097
8108
  color: theme.__hd__.typography.colors[themeIntent],
8098
- fontFamily: theme.__hd__.typography.fonts.neutral[FONTWEIGHT_MAP$1[themeFontWeight]]
8109
+ fontFamily: fontFamily
8099
8110
  };
8100
8111
  });
8101
8112
 
8102
- var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
8113
+ var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle"];
8103
8114
  var Caption = function Caption(_ref) {
8104
8115
  var children = _ref.children,
8105
8116
  _ref$fontWeight = _ref.fontWeight,
@@ -8108,35 +8119,46 @@ var Caption = function Caption(_ref) {
8108
8119
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8109
8120
  _ref$allowFontScaling = _ref.allowFontScaling,
8110
8121
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8122
+ _ref$fontStyle = _ref.fontStyle,
8123
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8111
8124
  nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8112
8125
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8113
8126
  themeFontWeight: fontWeight,
8114
8127
  themeIntent: intent,
8128
+ themeIsItalic: fontStyle === 'italic',
8115
8129
  allowFontScaling: allowFontScaling
8116
8130
  }), children);
8117
8131
  };
8118
8132
 
8119
8133
  var StyledLabel$1 = index$c(reactNative.Text)(function (_ref) {
8120
8134
  var themeIntent = _ref.themeIntent,
8121
- theme = _ref.theme;
8135
+ theme = _ref.theme,
8136
+ themeIsItalic = _ref.themeIsItalic;
8137
+ // For Label, we assume 'regular' weight for base font family
8138
+ var baseFontWeight = 'regular';
8139
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts.neutral["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts.neutral[baseFontWeight];
8122
8140
  return {
8123
8141
  fontSize: theme.__hd__.typography.fontSizes.label,
8124
8142
  lineHeight: theme.__hd__.typography.lineHeights.label,
8125
8143
  letterSpacing: 0,
8126
- color: theme.__hd__.typography.colors[themeIntent]
8144
+ color: theme.__hd__.typography.colors[themeIntent],
8145
+ fontFamily: fontFamily
8127
8146
  };
8128
8147
  });
8129
8148
 
8130
- var _excluded$M = ["children", "intent", "allowFontScaling"];
8149
+ var _excluded$M = ["children", "intent", "allowFontScaling", "fontStyle"];
8131
8150
  var Label = function Label(_ref) {
8132
8151
  var children = _ref.children,
8133
8152
  _ref$intent = _ref.intent,
8134
8153
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8135
8154
  _ref$allowFontScaling = _ref.allowFontScaling,
8136
8155
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8156
+ _ref$fontStyle = _ref.fontStyle,
8157
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8137
8158
  nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8138
8159
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
8139
8160
  themeIntent: intent,
8161
+ themeIsItalic: fontStyle === 'italic',
8140
8162
  allowFontScaling: allowFontScaling
8141
8163
  }), children);
8142
8164
  };
@@ -8145,17 +8167,18 @@ var StyledTitle$1 = index$c(reactNative.Text)(function (_ref) {
8145
8167
  var themeIntent = _ref.themeIntent,
8146
8168
  themeLevel = _ref.themeLevel,
8147
8169
  theme = _ref.theme,
8148
- typeface = _ref.themeTypeface;
8170
+ typeface = _ref.themeTypeface,
8171
+ themeIsItalic = _ref.themeIsItalic;
8149
8172
  return {
8150
8173
  fontSize: theme.__hd__.typography.fontSizes.titles[typeface][themeLevel],
8151
8174
  lineHeight: theme.__hd__.typography.lineHeights.titles[typeface][themeLevel],
8152
8175
  letterSpacing: theme.__hd__.typography.letterSpacings.titles[typeface][themeLevel],
8153
- fontFamily: theme.__hd__.typography.fontWeights.titles[typeface][themeLevel],
8154
- color: theme.__hd__.typography.colors[themeIntent]
8176
+ color: theme.__hd__.typography.colors[themeIntent],
8177
+ fontFamily: themeIsItalic ? theme.__hd__.typography.fontWeights.titles[typeface]["".concat(themeLevel, "Italic")] : theme.__hd__.typography.fontWeights.titles[typeface][themeLevel]
8155
8178
  };
8156
8179
  });
8157
8180
 
8158
- var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
8181
+ var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle"];
8159
8182
  var Title = function Title(_ref) {
8160
8183
  var children = _ref.children,
8161
8184
  _ref$intent = _ref.intent,
@@ -8166,11 +8189,14 @@ var Title = function Title(_ref) {
8166
8189
  level = _ref$level === void 0 ? 'h1' : _ref$level,
8167
8190
  _ref$typeface = _ref.typeface,
8168
8191
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8192
+ _ref$fontStyle = _ref.fontStyle,
8193
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8169
8194
  nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8170
8195
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8171
8196
  themeLevel: level,
8172
8197
  themeTypeface: typeface,
8173
8198
  themeIntent: intent,
8199
+ themeIsItalic: fontStyle === 'italic',
8174
8200
  allowFontScaling: allowFontScaling
8175
8201
  }), children);
8176
8202
  };
@@ -8191,17 +8217,20 @@ var StyledBody$2 = index$c(reactNative.Text)(function (_ref) {
8191
8217
  var themeIntent = _ref.themeIntent,
8192
8218
  theme = _ref.theme,
8193
8219
  themeTypeface = _ref.themeTypeface,
8194
- themeVariant = _ref.themeVariant;
8220
+ themeVariant = _ref.themeVariant,
8221
+ themeIsItalic = _ref.themeIsItalic;
8222
+ var baseFontWeight = FONTWEIGHT_MAP[themeVariant];
8223
+ var fontFamily = themeIsItalic ? theme.__hd__.typography.fonts[themeTypeface]["".concat(baseFontWeight, "Italic")] : theme.__hd__.typography.fonts[themeTypeface][baseFontWeight];
8195
8224
  return {
8196
8225
  fontSize: theme.__hd__.typography.fontSizes.body[themeTypeface][FONTSIZE_MAP[themeVariant]],
8197
8226
  lineHeight: theme.__hd__.typography.lineHeights.body[themeTypeface][FONTSIZE_MAP[themeVariant]],
8198
8227
  letterSpacing: theme.__hd__.typography.letterSpacings.body[themeTypeface][FONTWEIGHT_MAP[themeVariant]],
8199
- fontFamily: theme.__hd__.typography.fontWeights.body[themeTypeface][FONTWEIGHT_MAP[themeVariant]],
8228
+ fontFamily: fontFamily,
8200
8229
  color: theme.__hd__.typography.colors[themeIntent]
8201
8230
  };
8202
8231
  });
8203
8232
 
8204
- var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
8233
+ var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle"];
8205
8234
  var Body = function Body(_ref) {
8206
8235
  var children = _ref.children,
8207
8236
  _ref$intent = _ref.intent,
@@ -8212,11 +8241,14 @@ var Body = function Body(_ref) {
8212
8241
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8213
8242
  _ref$variant = _ref.variant,
8214
8243
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
8244
+ _ref$fontStyle = _ref.fontStyle,
8245
+ fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8215
8246
  nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8216
8247
  return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8217
8248
  themeTypeface: typeface,
8218
8249
  themeIntent: intent,
8219
8250
  themeVariant: variant,
8251
+ themeIsItalic: fontStyle === 'italic',
8220
8252
  allowFontScaling: allowFontScaling
8221
8253
  }), children);
8222
8254
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.110.1",
3
+ "version": "8.111.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -72,6 +72,7 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
72
72
  ]
73
73
  }
74
74
  themeIntent="body"
75
+ themeIsItalic={false}
75
76
  themeTypeface="neutral"
76
77
  themeVariant="regular"
77
78
  >
@@ -150,6 +151,7 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
150
151
  ]
151
152
  }
152
153
  themeIntent="body"
154
+ themeIsItalic={false}
153
155
  themeTypeface="neutral"
154
156
  themeVariant="regular"
155
157
  >
@@ -254,6 +256,7 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
254
256
  ]
255
257
  }
256
258
  themeIntent="body"
259
+ themeIsItalic={false}
257
260
  themeTypeface="neutral"
258
261
  themeVariant="regular-bold"
259
262
  >
@@ -332,6 +335,7 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
332
335
  ]
333
336
  }
334
337
  themeIntent="body"
338
+ themeIsItalic={false}
335
339
  themeTypeface="neutral"
336
340
  themeVariant="regular"
337
341
  >
@@ -436,6 +440,7 @@ exports[`AccordionItem renders correctly when open 1`] = `
436
440
  ]
437
441
  }
438
442
  themeIntent="body"
443
+ themeIsItalic={false}
439
444
  themeTypeface="neutral"
440
445
  themeVariant="regular-bold"
441
446
  >
@@ -514,6 +519,7 @@ exports[`AccordionItem renders correctly when open 1`] = `
514
519
  ]
515
520
  }
516
521
  themeIntent="body"
522
+ themeIsItalic={false}
517
523
  themeTypeface="neutral"
518
524
  themeVariant="regular"
519
525
  >
@@ -618,6 +624,7 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
618
624
  ]
619
625
  }
620
626
  themeIntent="body"
627
+ themeIsItalic={false}
621
628
  themeTypeface="neutral"
622
629
  themeVariant="regular-bold"
623
630
  >
@@ -696,6 +703,7 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
696
703
  ]
697
704
  }
698
705
  themeIntent="body"
706
+ themeIsItalic={false}
699
707
  themeTypeface="neutral"
700
708
  themeVariant="regular"
701
709
  >
@@ -80,6 +80,7 @@ exports[`Accordion allows fully controlled 1`] = `
80
80
  ]
81
81
  }
82
82
  themeIntent="body"
83
+ themeIsItalic={false}
83
84
  themeTypeface="neutral"
84
85
  themeVariant="regular-bold"
85
86
  >
@@ -158,6 +159,7 @@ exports[`Accordion allows fully controlled 1`] = `
158
159
  ]
159
160
  }
160
161
  themeIntent="body"
162
+ themeIsItalic={false}
161
163
  themeTypeface="neutral"
162
164
  themeVariant="regular"
163
165
  >
@@ -231,6 +233,7 @@ exports[`Accordion allows fully controlled 1`] = `
231
233
  ]
232
234
  }
233
235
  themeIntent="body"
236
+ themeIsItalic={false}
234
237
  themeTypeface="neutral"
235
238
  themeVariant="regular-bold"
236
239
  >
@@ -309,6 +312,7 @@ exports[`Accordion allows fully controlled 1`] = `
309
312
  ]
310
313
  }
311
314
  themeIntent="body"
315
+ themeIsItalic={false}
312
316
  themeTypeface="neutral"
313
317
  themeVariant="regular"
314
318
  >
@@ -422,6 +426,7 @@ exports[`Accordion renders correctly 1`] = `
422
426
  ]
423
427
  }
424
428
  themeIntent="body"
429
+ themeIsItalic={false}
425
430
  themeTypeface="neutral"
426
431
  themeVariant="regular-bold"
427
432
  >
@@ -500,6 +505,7 @@ exports[`Accordion renders correctly 1`] = `
500
505
  ]
501
506
  }
502
507
  themeIntent="body"
508
+ themeIsItalic={false}
503
509
  themeTypeface="neutral"
504
510
  themeVariant="regular"
505
511
  >
@@ -573,6 +579,7 @@ exports[`Accordion renders correctly 1`] = `
573
579
  ]
574
580
  }
575
581
  themeIntent="body"
582
+ themeIsItalic={false}
576
583
  themeTypeface="neutral"
577
584
  themeVariant="regular-bold"
578
585
  >
@@ -651,6 +658,7 @@ exports[`Accordion renders correctly 1`] = `
651
658
  ]
652
659
  }
653
660
  themeIntent="body"
661
+ themeIsItalic={false}
654
662
  themeTypeface="neutral"
655
663
  themeVariant="regular"
656
664
  >
@@ -764,6 +772,7 @@ exports[`Accordion renders correctly when variant is card 1`] = `
764
772
  ]
765
773
  }
766
774
  themeIntent="body"
775
+ themeIsItalic={false}
767
776
  themeTypeface="neutral"
768
777
  themeVariant="regular-bold"
769
778
  >
@@ -842,6 +851,7 @@ exports[`Accordion renders correctly when variant is card 1`] = `
842
851
  ]
843
852
  }
844
853
  themeIntent="body"
854
+ themeIsItalic={false}
845
855
  themeTypeface="neutral"
846
856
  themeVariant="regular"
847
857
  >
@@ -926,6 +936,7 @@ exports[`Accordion renders correctly when variant is card 1`] = `
926
936
  ]
927
937
  }
928
938
  themeIntent="body"
939
+ themeIsItalic={false}
929
940
  themeTypeface="neutral"
930
941
  themeVariant="regular-bold"
931
942
  >
@@ -1004,6 +1015,7 @@ exports[`Accordion renders correctly when variant is card 1`] = `
1004
1015
  ]
1005
1016
  }
1006
1017
  themeIntent="body"
1018
+ themeIsItalic={false}
1007
1019
  themeTypeface="neutral"
1008
1020
  themeVariant="regular"
1009
1021
  >