@hero-design/rn 8.110.0 → 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.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +18 -0
- package/assets/fonts/BeVietnamPro-BoldItalic.ttf +0 -0
- package/assets/fonts/BeVietnamPro-LightItalic.ttf +0 -0
- package/assets/fonts/BeVietnamPro-RegularItalic.ttf +0 -0
- package/assets/fonts/BeVietnamPro-SemiBoldItalic.ttf +0 -0
- package/assets/fonts/Saiga-LightItalic.otf +0 -0
- package/assets/fonts/Saiga-MediumItalic.otf +0 -0
- package/assets/fonts/Saiga-RegularItalic.otf +0 -0
- package/es/index.js +86 -40
- package/lib/index.js +86 -40
- package/package.json +7 -7
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +48 -24
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +72 -36
- package/src/components/Accordion/index.tsx +6 -1
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
- package/src/components/Alert/index.tsx +10 -2
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +70 -0
- package/src/components/AppCue/__tests__/__snapshots__/StyledAppCue.tsx.snap +121 -97
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +31 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -0
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +8 -0
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +8 -3
- package/src/components/Button/Button.tsx +10 -4
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +51 -18
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +13 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRangeConnector.spec.tsx.snap +5 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +16 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +20 -0
- package/src/components/Chart/ColumnChart/__tests__/__snapshots__/index.spec.tsx.snap +49 -0
- package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +60 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/ChartFrame.spec.tsx.snap +62 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/ChartHeader.spec.tsx.snap +2 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/EmptyState.spec.tsx.snap +2 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/XAxis.spec.tsx.snap +12 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/YAxis.spec.tsx.snap +36 -0
- package/src/components/Checkbox/__tests__/__snapshots__/DefaultCheckBox.spec.tsx.snap +4 -0
- package/src/components/Checkbox/__tests__/__snapshots__/InlineCheckBox.spec.tsx.snap +6 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +19 -0
- package/src/components/Chip/index.tsx +15 -8
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +8 -5
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +20 -12
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +3 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +6 -0
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +13 -9
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/FAB/Pair/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/FilterTrigger/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/FloatingIsland/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +13 -0
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -0
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +5 -0
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/PinInput/index.tsx +6 -1
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -0
- package/src/components/Radio/RadioGroup.tsx +6 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +4 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +10 -0
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +84 -48
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
- package/src/components/Search/SearchOneLine.tsx +6 -0
- package/src/components/Search/SearchTwoLine.tsx +6 -1
- package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +2 -0
- package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +1 -0
- package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +4 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
- package/src/components/SegmentedControl/__tests__/__snapshots__/SegmentedItem.spec.tsx.snap +1 -0
- package/src/components/SegmentedControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +57 -3
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +24 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +45 -3
- package/src/components/StatusScreens/Empty/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
- package/src/components/StatusScreens/Error/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
- package/src/components/StatusScreens/Success/__tests__/__snapshots__/index.spec.tsx.snap +16 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +9 -6
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +3 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +219 -138
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +102 -62
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +18 -0
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +10 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +7 -0
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +40 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +3 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +5 -0
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
- package/src/components/Toolbar/ToolbarGroup.tsx +18 -4
- package/src/components/Toolbar/__tests__/ToolbarGroup.spec.tsx +34 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +9 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -0
- package/src/components/Typography/Body/StyledBody.tsx +24 -19
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +229 -0
- package/src/components/Typography/Body/__tests__/index.spec.tsx +19 -0
- package/src/components/Typography/Body/index.tsx +8 -2
- package/src/components/Typography/Caption/StyledCaption.tsx +15 -8
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +219 -0
- package/src/components/Typography/Caption/__tests__/index.spec.tsx +19 -0
- package/src/components/Typography/Caption/index.tsx +18 -10
- package/src/components/Typography/Label/StyledLabel.tsx +16 -6
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +8 -0
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +126 -0
- package/src/components/Typography/Label/__tests__/index.spec.tsx +12 -0
- package/src/components/Typography/Label/index.tsx +17 -9
- package/src/components/Typography/Title/StyledTitle.tsx +22 -8
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +441 -0
- package/src/components/Typography/Title/__tests__/index.spec.tsx +23 -0
- package/src/components/Typography/Title/index.tsx +8 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +24 -10
- package/src/theme/components/typography.ts +12 -10
- package/src/theme/global/typography.ts +9 -0
- package/stats/8.110.1/rn-stats.html +4844 -0
- package/stats/8.111.0/rn-stats.html +4844 -0
- package/types/components/Accordion/index.d.ts +5 -1
- package/types/components/Alert/index.d.ts +8 -2
- package/types/components/Button/Button.d.ts +8 -4
- package/types/components/Chip/index.d.ts +12 -3
- package/types/components/PinInput/index.d.ts +4 -0
- package/types/components/Radio/RadioGroup.d.ts +5 -1
- package/types/components/Radio/index.d.ts +1 -1
- package/types/components/Search/SearchOneLine.d.ts +4 -0
- package/types/components/Search/SearchTwoLine.d.ts +4 -0
- package/types/components/TextInput/StyledTextInput.d.ts +1 -1
- package/types/components/Toolbar/ToolbarGroup.d.ts +11 -3
- package/types/components/Toolbar/index.d.ts +1 -1
- package/types/components/Typography/Body/StyledBody.d.ts +1 -0
- package/types/components/Typography/Body/index.d.ts +6 -2
- package/types/components/Typography/Caption/StyledCaption.d.ts +1 -0
- package/types/components/Typography/Caption/index.d.ts +5 -1
- package/types/components/Typography/Label/StyledLabel.d.ts +1 -0
- package/types/components/Typography/Label/index.d.ts +5 -1
- package/types/components/Typography/Title/StyledTitle.d.ts +1 -0
- package/types/components/Typography/Title/index.d.ts +6 -2
- package/types/theme/components/typography.d.ts +12 -10
- package/types/theme/global/typography.d.ts +3 -0
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
8154
|
-
|
|
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:
|
|
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
|
};
|
|
@@ -8932,7 +8964,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
8932
8964
|
_ref$variant = _ref.variant,
|
|
8933
8965
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
8934
8966
|
style = _ref.style,
|
|
8935
|
-
testID = _ref.testID
|
|
8967
|
+
testID = _ref.testID,
|
|
8968
|
+
accessible = _ref.accessible;
|
|
8936
8969
|
var defaultValue = React.useMemo(function () {
|
|
8937
8970
|
return typeof activeItemKey === 'number' ? NaN : '';
|
|
8938
8971
|
}, [activeItemKey]);
|
|
@@ -8942,7 +8975,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
8942
8975
|
_onItemPress = _usePropsOrInternalSt2[1];
|
|
8943
8976
|
return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$e, {
|
|
8944
8977
|
style: style,
|
|
8945
|
-
testID: testID
|
|
8978
|
+
testID: testID,
|
|
8979
|
+
accessible: accessible
|
|
8946
8980
|
}, items.map(function (_ref2, index) {
|
|
8947
8981
|
var key = _ref2.key,
|
|
8948
8982
|
props = _objectWithoutProperties(_ref2, _excluded$I);
|
|
@@ -20041,7 +20075,7 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
|
|
|
20041
20075
|
};
|
|
20042
20076
|
});
|
|
20043
20077
|
|
|
20044
|
-
var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
|
|
20078
|
+
var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible"];
|
|
20045
20079
|
var getChipLabel = function getChipLabel(label) {
|
|
20046
20080
|
if (typeof label === 'string') {
|
|
20047
20081
|
return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
@@ -20074,6 +20108,7 @@ var Chip = function Chip(_ref) {
|
|
|
20074
20108
|
onPress = _ref.onPress,
|
|
20075
20109
|
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
20076
20110
|
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
20111
|
+
accessible = _ref.accessible,
|
|
20077
20112
|
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
20078
20113
|
useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
|
|
20079
20114
|
var renamedVariant = getChipVariant(variant);
|
|
@@ -20084,7 +20119,8 @@ var Chip = function Chip(_ref) {
|
|
|
20084
20119
|
return /*#__PURE__*/React__namespace.default.createElement(StyledChipWrapper, _extends$1({
|
|
20085
20120
|
onPress: onPress,
|
|
20086
20121
|
themeVariant: renamedVariant,
|
|
20087
|
-
themeSelected: selected
|
|
20122
|
+
themeSelected: selected,
|
|
20123
|
+
accessible: accessible
|
|
20088
20124
|
}, otherProps), icon && /*#__PURE__*/React__namespace.default.createElement(Box, {
|
|
20089
20125
|
marginRight: "small"
|
|
20090
20126
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledChipIcon, {
|
|
@@ -24987,7 +25023,8 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
24987
25023
|
style = _ref2.style,
|
|
24988
25024
|
testID = _ref2.testID,
|
|
24989
25025
|
textContentType = _ref2.textContentType,
|
|
24990
|
-
autoComplete = _ref2.autoComplete
|
|
25026
|
+
autoComplete = _ref2.autoComplete,
|
|
25027
|
+
accessible = _ref2.accessible;
|
|
24991
25028
|
var inputRef = React.useRef(null);
|
|
24992
25029
|
var _useState = React.useState(autoFocus),
|
|
24993
25030
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -25048,7 +25085,8 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
25048
25085
|
}, [trimmedValue]);
|
|
25049
25086
|
return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$6, {
|
|
25050
25087
|
style: style,
|
|
25051
|
-
testID: testID
|
|
25088
|
+
testID: testID,
|
|
25089
|
+
accessible: accessible
|
|
25052
25090
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledPinWrapper, {
|
|
25053
25091
|
onPress: focus,
|
|
25054
25092
|
disabled: disabled,
|
|
@@ -25858,11 +25896,13 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
25858
25896
|
keyExtractor = _ref.keyExtractor,
|
|
25859
25897
|
style = _ref.style,
|
|
25860
25898
|
testID = _ref.testID,
|
|
25899
|
+
accessible = _ref.accessible,
|
|
25861
25900
|
_ref$inactiveIntent = _ref.inactiveIntent,
|
|
25862
25901
|
inactiveIntent = _ref$inactiveIntent === void 0 ? 'light' : _ref$inactiveIntent;
|
|
25863
25902
|
return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
25864
25903
|
style: style,
|
|
25865
|
-
testID: testID
|
|
25904
|
+
testID: testID,
|
|
25905
|
+
accessible: accessible
|
|
25866
25906
|
}, options.map(function (option, index) {
|
|
25867
25907
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
|
|
25868
25908
|
key: getKey(option, index, keyExtractor)
|
|
@@ -28197,10 +28237,12 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
|
|
|
28197
28237
|
var _ref$align = _ref.align,
|
|
28198
28238
|
align = _ref$align === void 0 ? 'right' : _ref$align,
|
|
28199
28239
|
_ref$items = _ref.items,
|
|
28200
|
-
items = _ref$items === void 0 ? [] : _ref$items
|
|
28240
|
+
items = _ref$items === void 0 ? [] : _ref$items,
|
|
28241
|
+
accessible = _ref.accessible;
|
|
28201
28242
|
useDeprecation("Toolbar's align prop is deprecated for 'left' and 'center' alignment. Please use 'right' instead.", align !== 'right');
|
|
28202
28243
|
return /*#__PURE__*/React__namespace.default.createElement(ToolbarGroupWrapper, {
|
|
28203
|
-
align: align
|
|
28244
|
+
align: align,
|
|
28245
|
+
accessible: accessible
|
|
28204
28246
|
}, items.map(function (_ref2) {
|
|
28205
28247
|
var label = _ref2.label,
|
|
28206
28248
|
icon = _ref2.icon,
|
|
@@ -48171,10 +48213,12 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
48171
48213
|
content = props.content,
|
|
48172
48214
|
testID = props.testID,
|
|
48173
48215
|
_props$variant = props.variant,
|
|
48174
|
-
variant = _props$variant === void 0 ? 'basic' : _props$variant
|
|
48216
|
+
variant = _props$variant === void 0 ? 'basic' : _props$variant,
|
|
48217
|
+
accessible = props.accessible;
|
|
48175
48218
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, {
|
|
48176
48219
|
style: style,
|
|
48177
|
-
testID: testID
|
|
48220
|
+
testID: testID,
|
|
48221
|
+
accessible: accessible
|
|
48178
48222
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
48179
48223
|
themeVariant: variant
|
|
48180
48224
|
}, renderPrefix({
|
|
@@ -48186,7 +48230,7 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
48186
48230
|
})));
|
|
48187
48231
|
};
|
|
48188
48232
|
|
|
48189
|
-
var _excluded$2 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant", "clearable"];
|
|
48233
|
+
var _excluded$2 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant", "clearable", "accessible"];
|
|
48190
48234
|
var getState = function getState(_ref) {
|
|
48191
48235
|
var disabled = _ref.disabled,
|
|
48192
48236
|
editable = _ref.editable,
|
|
@@ -48230,6 +48274,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
48230
48274
|
variant = _props$variant === void 0 ? 'basic' : _props$variant,
|
|
48231
48275
|
_props$clearable = props.clearable,
|
|
48232
48276
|
clearable = _props$clearable === void 0 ? false : _props$clearable,
|
|
48277
|
+
accessible = props.accessible,
|
|
48233
48278
|
nativeProps = _objectWithoutProperties(props, _excluded$2);
|
|
48234
48279
|
var _React$useState = React__namespace.default.useState(false),
|
|
48235
48280
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -48291,7 +48336,8 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
48291
48336
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, {
|
|
48292
48337
|
pointerEvents: state === 'disabled' || state === 'readonly' ? 'none' : 'auto',
|
|
48293
48338
|
testID: testID,
|
|
48294
|
-
style: style
|
|
48339
|
+
style: style,
|
|
48340
|
+
accessible: accessible
|
|
48295
48341
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
48296
48342
|
themeVariant: variant
|
|
48297
48343
|
}, renderPrefix({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.111.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@react-native-community/datetimepicker": "^3.5.2 || ^7.6.1",
|
|
35
35
|
"@react-native-community/slider": "^4.5.1",
|
|
36
36
|
"react": "18.3.1",
|
|
37
|
-
"react-native": "0.76.9",
|
|
37
|
+
"react-native": "0.77.3 || 0.76.9",
|
|
38
38
|
"react-native-gesture-handler": "~2.20.2",
|
|
39
39
|
"react-native-linear-gradient": "^2.8.3",
|
|
40
40
|
"react-native-pager-view": "^6.7.0",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
65
65
|
"@react-native-community/datetimepicker": "8.2.0",
|
|
66
66
|
"@react-native-community/slider": "^4.5.1",
|
|
67
|
-
"@react-native/babel-preset": "0.
|
|
68
|
-
"@react-native/eslint-config": "0.
|
|
69
|
-
"@react-native/metro-config": "0.
|
|
70
|
-
"@react-native/typescript-config": "0.
|
|
67
|
+
"@react-native/babel-preset": "0.77.3",
|
|
68
|
+
"@react-native/eslint-config": "0.77.3",
|
|
69
|
+
"@react-native/metro-config": "0.77.3",
|
|
70
|
+
"@react-native/typescript-config": "0.77.3",
|
|
71
71
|
"@rollup/plugin-babel": "^6.0.4",
|
|
72
72
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
73
73
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"prettier-config-hd": "8.42.4",
|
|
105
105
|
"react": "18.3.1",
|
|
106
106
|
"react-dom": "^18.2.0",
|
|
107
|
-
"react-native": "0.
|
|
107
|
+
"react-native": "0.77.3",
|
|
108
108
|
"react-native-gesture-handler": "~2.20.2",
|
|
109
109
|
"react-native-linear-gradient": "2.8.3",
|
|
110
110
|
"react-native-pager-view": "6.5.1",
|
|
@@ -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
|
>
|
|
@@ -96,12 +97,16 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
|
|
|
96
97
|
collapsable={false}
|
|
97
98
|
onLayout={[Function]}
|
|
98
99
|
style={
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
[
|
|
101
|
+
{
|
|
102
|
+
"margin": 0,
|
|
103
|
+
"overflow": "hidden",
|
|
104
|
+
"padding": 0,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"height": 0,
|
|
108
|
+
},
|
|
109
|
+
]
|
|
105
110
|
}
|
|
106
111
|
>
|
|
107
112
|
<View
|
|
@@ -146,6 +151,7 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
|
|
|
146
151
|
]
|
|
147
152
|
}
|
|
148
153
|
themeIntent="body"
|
|
154
|
+
themeIsItalic={false}
|
|
149
155
|
themeTypeface="neutral"
|
|
150
156
|
themeVariant="regular"
|
|
151
157
|
>
|
|
@@ -250,6 +256,7 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
|
|
|
250
256
|
]
|
|
251
257
|
}
|
|
252
258
|
themeIntent="body"
|
|
259
|
+
themeIsItalic={false}
|
|
253
260
|
themeTypeface="neutral"
|
|
254
261
|
themeVariant="regular-bold"
|
|
255
262
|
>
|
|
@@ -274,12 +281,16 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
|
|
|
274
281
|
collapsable={false}
|
|
275
282
|
onLayout={[Function]}
|
|
276
283
|
style={
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
284
|
+
[
|
|
285
|
+
{
|
|
286
|
+
"margin": 0,
|
|
287
|
+
"overflow": "hidden",
|
|
288
|
+
"padding": 0,
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"height": 0,
|
|
292
|
+
},
|
|
293
|
+
]
|
|
283
294
|
}
|
|
284
295
|
>
|
|
285
296
|
<View
|
|
@@ -324,6 +335,7 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
|
|
|
324
335
|
]
|
|
325
336
|
}
|
|
326
337
|
themeIntent="body"
|
|
338
|
+
themeIsItalic={false}
|
|
327
339
|
themeTypeface="neutral"
|
|
328
340
|
themeVariant="regular"
|
|
329
341
|
>
|
|
@@ -428,6 +440,7 @@ exports[`AccordionItem renders correctly when open 1`] = `
|
|
|
428
440
|
]
|
|
429
441
|
}
|
|
430
442
|
themeIntent="body"
|
|
443
|
+
themeIsItalic={false}
|
|
431
444
|
themeTypeface="neutral"
|
|
432
445
|
themeVariant="regular-bold"
|
|
433
446
|
>
|
|
@@ -452,12 +465,16 @@ exports[`AccordionItem renders correctly when open 1`] = `
|
|
|
452
465
|
collapsable={false}
|
|
453
466
|
onLayout={[Function]}
|
|
454
467
|
style={
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
468
|
+
[
|
|
469
|
+
{
|
|
470
|
+
"margin": 0,
|
|
471
|
+
"overflow": "hidden",
|
|
472
|
+
"padding": 0,
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"height": 0,
|
|
476
|
+
},
|
|
477
|
+
]
|
|
461
478
|
}
|
|
462
479
|
>
|
|
463
480
|
<View
|
|
@@ -502,6 +519,7 @@ exports[`AccordionItem renders correctly when open 1`] = `
|
|
|
502
519
|
]
|
|
503
520
|
}
|
|
504
521
|
themeIntent="body"
|
|
522
|
+
themeIsItalic={false}
|
|
505
523
|
themeTypeface="neutral"
|
|
506
524
|
themeVariant="regular"
|
|
507
525
|
>
|
|
@@ -606,6 +624,7 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
|
|
|
606
624
|
]
|
|
607
625
|
}
|
|
608
626
|
themeIntent="body"
|
|
627
|
+
themeIsItalic={false}
|
|
609
628
|
themeTypeface="neutral"
|
|
610
629
|
themeVariant="regular-bold"
|
|
611
630
|
>
|
|
@@ -630,12 +649,16 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
|
|
|
630
649
|
collapsable={false}
|
|
631
650
|
onLayout={[Function]}
|
|
632
651
|
style={
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
652
|
+
[
|
|
653
|
+
{
|
|
654
|
+
"margin": 0,
|
|
655
|
+
"overflow": "hidden",
|
|
656
|
+
"padding": 0,
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"height": 0,
|
|
660
|
+
},
|
|
661
|
+
]
|
|
639
662
|
}
|
|
640
663
|
>
|
|
641
664
|
<View
|
|
@@ -680,6 +703,7 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
|
|
|
680
703
|
]
|
|
681
704
|
}
|
|
682
705
|
themeIntent="body"
|
|
706
|
+
themeIsItalic={false}
|
|
683
707
|
themeTypeface="neutral"
|
|
684
708
|
themeVariant="regular"
|
|
685
709
|
>
|