@hero-design/rn 7.27.1 → 8.0.0-rc.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/.expo/README.md +15 -0
- package/.expo/packager-info.json +10 -0
- package/.expo/prebuild/cached-packages.json +4 -0
- package/.expo/settings.json +10 -0
- package/.expo/xcodebuild-error.log +2 -0
- package/.expo/xcodebuild.log +11199 -0
- package/.turbo/turbo-build.log +9 -9
- package/.turbo/turbo-build:types.log +2 -0
- package/.turbo/turbo-build:watch.log +1 -0
- package/.turbo/turbo-lint.log +96 -0
- package/.turbo/turbo-test.log +909 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +139 -89
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +138 -88
- package/package.json +4 -4
- package/src/components/Alert/index.tsx +43 -31
- package/src/components/BottomSheet/Header.tsx +1 -1
- package/src/components/BottomSheet/StyledBottomSheet.tsx +1 -1
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
- package/src/components/Button/Button.tsx +7 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +7 -7
- package/src/components/Empty/StyledEmpty.tsx +1 -1
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/FAB/__tests__/index.spec.tsx +4 -4
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/Icon/index.tsx +12 -2
- package/src/components/List/ListItem.tsx +2 -2
- package/src/components/List/StyledListItem.tsx +1 -1
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
- package/src/components/RichTextEditor/MentionList.tsx +1 -1
- package/src/components/RichTextEditor/StyledToolbar.ts +1 -1
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
- package/src/components/Select/{StyledOptionList.tsx → BaseOptionList.tsx} +6 -6
- package/src/components/Select/MultiSelect/Option.tsx +24 -11
- package/src/components/Select/MultiSelect/OptionList.tsx +3 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +3 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +47 -21
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +99 -72
- package/src/components/Select/MultiSelect/index.tsx +16 -0
- package/src/components/Select/SingleSelect/Option.tsx +12 -12
- package/src/components/Select/SingleSelect/OptionList.tsx +3 -2
- package/src/components/Select/SingleSelect/StyledSingleSelect.tsx +6 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +32 -16
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +65 -54
- package/src/components/Select/SingleSelect/index.tsx +16 -0
- package/src/components/Select/StyledSelect.tsx +12 -2
- package/src/components/Select/types.ts +1 -0
- package/src/components/Switch/index.tsx +9 -1
- package/src/components/Tabs/ScrollableTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +9 -3
- package/src/components/Tabs/index.tsx +6 -0
- package/src/components/Tag/index.tsx +25 -17
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/TextInput/__tests__/index.spec.tsx +1 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +7 -7
- package/src/components/Toast/ToastContainer.tsx +1 -1
- package/src/components/Toast/ToastProvider.tsx +10 -1
- package/src/components/Toast/__tests__/ToastContainer.spec.tsx +5 -5
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +4 -4
- package/src/components/Typography/Text/StyledText.tsx +2 -1
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/components/Typography/Text/index.tsx +2 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +26 -18
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/components/bottomSheet.ts +5 -5
- package/src/theme/components/empty.ts +6 -5
- package/src/theme/components/fab.ts +1 -1
- package/src/theme/components/select.ts +3 -1
- package/src/theme/components/typography.ts +2 -0
- package/src/theme/global/colors/global.ts +1 -0
- package/src/theme/global/colors/types.ts +1 -0
- package/src/theme/global/scale.ts +1 -1
- package/src/theme/global/typography.ts +4 -1
- package/src/utils/hooks.ts +3 -1
- package/types/components/Accordion/AccordionItem.d.ts +0 -0
- package/types/components/Accordion/StyledAccordion.d.ts +0 -0
- package/types/components/Accordion/index.d.ts +0 -0
- package/types/components/Accordion/utils.d.ts +1 -0
- package/types/components/Alert/StyledAlert.d.ts +0 -0
- package/types/components/Alert/index.d.ts +2 -1
- package/types/components/Attachment/StyledAttachment.d.ts +0 -0
- package/types/components/Attachment/index.d.ts +0 -0
- package/types/components/Avatar/Avatar.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
- package/types/components/Avatar/StyledAvatar.d.ts +0 -0
- package/types/components/Avatar/index.d.ts +0 -0
- package/types/components/Badge/Status.d.ts +0 -0
- package/types/components/Badge/StyledBadge.d.ts +0 -0
- package/types/components/Badge/index.d.ts +0 -0
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
- package/types/components/BottomNavigation/index.d.ts +0 -0
- package/types/components/BottomSheet/Footer.d.ts +0 -0
- package/types/components/BottomSheet/Header.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
- package/types/components/BottomSheet/index.d.ts +0 -0
- package/types/components/Box/StyledBox.d.ts +0 -0
- package/types/components/Box/config.d.ts +0 -0
- package/types/components/Box/index.d.ts +0 -0
- package/types/components/Box/types.d.ts +0 -0
- package/types/components/Button/Button.d.ts +0 -0
- package/types/components/Button/IconButton.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
- package/types/components/Button/StyledButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/index.d.ts +0 -0
- package/types/components/Button/index.d.ts +0 -0
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
- package/types/components/Calendar/StyledCalendar.d.ts +0 -0
- package/types/components/Calendar/helpers.d.ts +0 -0
- package/types/components/Calendar/index.d.ts +0 -0
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
- package/types/components/Card/DataCard/index.d.ts +0 -0
- package/types/components/Card/StyledCard.d.ts +0 -0
- package/types/components/Card/index.d.ts +0 -0
- package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
- package/types/components/Checkbox/index.d.ts +0 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -0
- package/types/components/Collapse/index.d.ts +0 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
- package/types/components/ContentNavigator/index.d.ts +0 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
- package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
- package/types/components/DatePicker/index.d.ts +0 -0
- package/types/components/DatePicker/types.d.ts +0 -0
- package/types/components/Divider/StyledDivider.d.ts +0 -0
- package/types/components/Divider/index.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
- package/types/components/Drawer/StyledDrawer.d.ts +0 -0
- package/types/components/Drawer/index.d.ts +0 -0
- package/types/components/Empty/StyledEmpty.d.ts +0 -0
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/index.d.ts +0 -0
- package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
- package/types/components/FAB/FAB.d.ts +0 -0
- package/types/components/FAB/StyledFAB.d.ts +0 -0
- package/types/components/FAB/index.d.ts +0 -0
- package/types/components/Icon/AnimatedIcon.d.ts +0 -0
- package/types/components/Icon/HeroIcon/index.d.ts +0 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +0 -0
- package/types/components/List/BasicListItem.d.ts +0 -0
- package/types/components/List/ListItem.d.ts +2 -2
- package/types/components/List/StyledBasicListItem.d.ts +0 -0
- package/types/components/List/StyledListItem.d.ts +0 -0
- package/types/components/List/index.d.ts +0 -0
- package/types/components/PinInput/PinCell.d.ts +0 -0
- package/types/components/PinInput/StyledPinInput.d.ts +0 -0
- package/types/components/PinInput/index.d.ts +0 -0
- package/types/components/Progress/ProgressBar.d.ts +0 -0
- package/types/components/Progress/ProgressCircle.d.ts +0 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
- package/types/components/Progress/constants.d.ts +0 -0
- package/types/components/Progress/index.d.ts +0 -0
- package/types/components/Progress/types.d.ts +0 -0
- package/types/components/Radio/Radio.d.ts +0 -0
- package/types/components/Radio/RadioGroup.d.ts +0 -0
- package/types/components/Radio/StyledRadio.d.ts +0 -0
- package/types/components/Radio/index.d.ts +0 -0
- package/types/components/Radio/types.d.ts +0 -0
- package/types/components/RefreshControl/index.d.ts +0 -0
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/MentionList.d.ts +0 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/constants.d.ts +0 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/index.d.ts +0 -0
- package/types/components/RichTextEditor/types.d.ts +0 -0
- package/types/components/RichTextEditor/utils/events.d.ts +0 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
- package/types/components/SectionHeading/index.d.ts +0 -0
- package/types/components/Select/BaseOptionList.d.ts +12 -0
- package/types/components/Select/Footer.d.ts +0 -0
- package/types/components/Select/MultiSelect/Option.d.ts +2 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
- package/types/components/Select/MultiSelect/index.d.ts +0 -0
- package/types/components/Select/SingleSelect/Option.d.ts +2 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -0
- package/types/components/Select/SingleSelect/index.d.ts +0 -0
- package/types/components/Select/StyledOptionList.d.ts +0 -0
- package/types/components/Select/StyledSelect.d.ts +3 -2
- package/types/components/Select/helpers.d.ts +0 -0
- package/types/components/Select/index.d.ts +0 -0
- package/types/components/Select/types.d.ts +1 -0
- package/types/components/Slider/index.d.ts +0 -0
- package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
- package/types/components/Spinner/StyledSpinner.d.ts +0 -0
- package/types/components/Spinner/index.d.ts +0 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
- package/types/components/Swipeable/index.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
- package/types/components/Switch/StyledSwitch.d.ts +0 -0
- package/types/components/Switch/index.d.ts +1 -1
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/StyledTabs.d.ts +0 -0
- package/types/components/Tabs/TabWithBadge.d.ts +0 -0
- package/types/components/Tabs/index.d.ts +0 -0
- package/types/components/Tabs/utils.d.ts +0 -0
- package/types/components/Tag/StyledTag.d.ts +0 -0
- package/types/components/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +0 -0
- package/types/components/TextInput/index.d.ts +0 -0
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
- package/types/components/TimePicker/index.d.ts +0 -0
- package/types/components/TimePicker/types.d.ts +0 -0
- package/types/components/Toast/StyledToast.d.ts +0 -0
- package/types/components/Toast/Toast.d.ts +0 -0
- package/types/components/Toast/ToastContainer.d.ts +0 -0
- package/types/components/Toast/ToastContext.d.ts +0 -0
- package/types/components/Toast/ToastProvider.d.ts +1 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toast/types.d.ts +0 -0
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
- package/types/components/Toolbar/index.d.ts +0 -0
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/components/Typography/index.d.ts +0 -0
- package/types/index.d.ts +0 -0
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +0 -0
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +0 -0
- package/types/theme/components/attachment.d.ts +0 -0
- package/types/theme/components/avatar.d.ts +0 -0
- package/types/theme/components/badge.d.ts +0 -0
- package/types/theme/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +0 -0
- package/types/theme/components/button.d.ts +0 -0
- package/types/theme/components/calendar.d.ts +0 -0
- package/types/theme/components/card.d.ts +0 -0
- package/types/theme/components/checkbox.d.ts +0 -0
- package/types/theme/components/contentNavigator.d.ts +0 -0
- package/types/theme/components/datePicker.d.ts +0 -0
- package/types/theme/components/divider.d.ts +0 -0
- package/types/theme/components/drawer.d.ts +0 -0
- package/types/theme/components/empty.d.ts +1 -0
- package/types/theme/components/fab.d.ts +0 -0
- package/types/theme/components/icon.d.ts +0 -0
- package/types/theme/components/image.d.ts +0 -0
- package/types/theme/components/list.d.ts +0 -0
- package/types/theme/components/pinInput.d.ts +0 -0
- package/types/theme/components/progress.d.ts +0 -0
- package/types/theme/components/radio.d.ts +0 -0
- package/types/theme/components/refreshControl.d.ts +0 -0
- package/types/theme/components/richTextEditor.d.ts +0 -0
- package/types/theme/components/sectionHeading.d.ts +0 -0
- package/types/theme/components/select.d.ts +3 -1
- package/types/theme/components/slider.d.ts +0 -0
- package/types/theme/components/spinner.d.ts +0 -0
- package/types/theme/components/swipeable.d.ts +0 -0
- package/types/theme/components/switch.d.ts +0 -0
- package/types/theme/components/tabs.d.ts +0 -0
- package/types/theme/components/tag.d.ts +0 -0
- package/types/theme/components/textInput.d.ts +0 -0
- package/types/theme/components/timePicker.d.ts +0 -0
- package/types/theme/components/toast.d.ts +0 -0
- package/types/theme/components/toolbar.d.ts +0 -0
- package/types/theme/components/typography.d.ts +2 -0
- package/types/theme/getTheme.d.ts +0 -0
- package/types/theme/global/borders.d.ts +0 -0
- package/types/theme/global/colors/eBens.d.ts +0 -0
- package/types/theme/global/colors/global.d.ts +0 -0
- package/types/theme/global/colors/jobs.d.ts +0 -0
- package/types/theme/global/colors/legacySystemPalette.d.ts +0 -0
- package/types/theme/global/colors/swag.d.ts +0 -0
- package/types/theme/global/colors/types.d.ts +1 -0
- package/types/theme/global/colors/wallet.d.ts +0 -0
- package/types/theme/global/colors/work.d.ts +0 -0
- package/types/theme/global/index.d.ts +1 -0
- package/types/theme/global/scale.d.ts +0 -0
- package/types/theme/global/sizes.d.ts +0 -0
- package/types/theme/global/space.d.ts +0 -0
- package/types/theme/global/typography.d.ts +1 -0
- package/types/theme/index.d.ts +0 -0
- package/types/theme/utils.d.ts +2 -0
- package/types/types.d.ts +0 -0
- package/types/utils/functions.d.ts +0 -0
- package/types/utils/helpers.d.ts +0 -0
- package/types/utils/hooks.d.ts +0 -0
- package/types/utils/scale.d.ts +0 -0
package/lib/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function _defineProperty(obj, key, value) {
|
|
|
105
105
|
return obj;
|
|
106
106
|
}
|
|
107
107
|
function _extends$1() {
|
|
108
|
-
_extends$1 = Object.assign
|
|
108
|
+
_extends$1 = Object.assign || function (target) {
|
|
109
109
|
for (var i = 1; i < arguments.length; i++) {
|
|
110
110
|
var source = arguments[i];
|
|
111
111
|
for (var key in source) {
|
|
@@ -259,7 +259,7 @@ var BASE_BORDER_WIDTH = 1;
|
|
|
259
259
|
var BASE_SPACE = 8;
|
|
260
260
|
var BASE_SIZE = 8;
|
|
261
261
|
var NEUTRAL_FONT = 'BeVietnamPro';
|
|
262
|
-
var PLAYFUL_FONT = '
|
|
262
|
+
var PLAYFUL_FONT = 'RebondGrotesque';
|
|
263
263
|
var BASE_FONT_SIZE = 10;
|
|
264
264
|
var BASE_RADIUS = 4;
|
|
265
265
|
var scale$1 = {
|
|
@@ -1260,6 +1260,7 @@ var globalPalette = {
|
|
|
1260
1260
|
disabledOnDefaultGlobalSurface: palette$6.greyLight30,
|
|
1261
1261
|
darkGlobalSurface: palette$6.maasstrichtBlue,
|
|
1262
1262
|
onDarkGlobalSurface: palette$6.white,
|
|
1263
|
+
overlayGlobalSurface: palette$6.black,
|
|
1263
1264
|
// Outlines
|
|
1264
1265
|
primaryOutline: palette$6.maasstrichtBlue,
|
|
1265
1266
|
secondaryOutline: palette$6.greyLight75,
|
|
@@ -1445,7 +1446,7 @@ var getFonts = function getFonts(_ref) {
|
|
|
1445
1446
|
};
|
|
1446
1447
|
};
|
|
1447
1448
|
var getFontSizes = function getFontSizes(baseFontSize) {
|
|
1448
|
-
var fontSizes = Array.from(new Array(
|
|
1449
|
+
var fontSizes = Array.from(new Array(11));
|
|
1449
1450
|
fontSizes.forEach(function (_, index) {
|
|
1450
1451
|
if (index === 0) {
|
|
1451
1452
|
fontSizes[0] = baseFontSize;
|
|
@@ -1455,6 +1456,7 @@ var getFontSizes = function getFontSizes(baseFontSize) {
|
|
|
1455
1456
|
return undefined;
|
|
1456
1457
|
});
|
|
1457
1458
|
return {
|
|
1459
|
+
'7xlarge': scale(fontSizes[10]),
|
|
1458
1460
|
xxxxxlarge: scale(fontSizes[8]),
|
|
1459
1461
|
xxxxlarge: scale(fontSizes[7]),
|
|
1460
1462
|
xxxlarge: scale(fontSizes[6]),
|
|
@@ -1470,6 +1472,7 @@ var getFontSizes = function getFontSizes(baseFontSize) {
|
|
|
1470
1472
|
var getLineHeights = function getLineHeights(fontSizes) {
|
|
1471
1473
|
var additionalSpace = 8;
|
|
1472
1474
|
return {
|
|
1475
|
+
'7xlarge': fontSizes['7xlarge'] + additionalSpace,
|
|
1473
1476
|
xxxxxlarge: fontSizes.xxxxxlarge + additionalSpace,
|
|
1474
1477
|
xxxxlarge: fontSizes.xxxxlarge + additionalSpace,
|
|
1475
1478
|
xxxlarge: fontSizes.xxxlarge + additionalSpace,
|
|
@@ -1630,7 +1633,7 @@ var getAvatarTheme = function getAvatarTheme(theme) {
|
|
|
1630
1633
|
danger: theme.colors.error,
|
|
1631
1634
|
success: theme.colors.success,
|
|
1632
1635
|
warning: theme.colors.warning,
|
|
1633
|
-
text: theme.colors.
|
|
1636
|
+
text: theme.colors.onDarkGlobalSurface
|
|
1634
1637
|
};
|
|
1635
1638
|
var sizes = {
|
|
1636
1639
|
small: theme.sizes.xlarge,
|
|
@@ -1735,7 +1738,7 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
|
|
|
1735
1738
|
var colors = {
|
|
1736
1739
|
shadow: theme.colors.primaryOutline,
|
|
1737
1740
|
background: theme.colors.defaultGlobalSurface,
|
|
1738
|
-
backdrop: theme.colors.
|
|
1741
|
+
backdrop: theme.colors.overlayGlobalSurface
|
|
1739
1742
|
};
|
|
1740
1743
|
var sizes = {
|
|
1741
1744
|
sectionHeight: theme.sizes.xxxxxlarge,
|
|
@@ -1745,16 +1748,16 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
|
|
|
1745
1748
|
headerWrapperVerticalPadding: theme.space.small,
|
|
1746
1749
|
headerWrapperHorizontalPadding: theme.space.medium,
|
|
1747
1750
|
closeIconMargin: theme.space.smallMedium,
|
|
1748
|
-
footerVerticalPadding: theme.space.
|
|
1749
|
-
footerHorizontalPadding: theme.space.
|
|
1751
|
+
footerVerticalPadding: theme.space.medium,
|
|
1752
|
+
footerHorizontalPadding: theme.space.large
|
|
1750
1753
|
};
|
|
1751
1754
|
var shadows = {
|
|
1752
1755
|
offset: {
|
|
1753
1756
|
width: 0,
|
|
1754
1757
|
height: 3
|
|
1755
1758
|
},
|
|
1756
|
-
opacity: 0.
|
|
1757
|
-
radius:
|
|
1759
|
+
opacity: 0.4,
|
|
1760
|
+
radius: theme.radii.xlarge,
|
|
1758
1761
|
elevation: 10
|
|
1759
1762
|
};
|
|
1760
1763
|
var radii = {
|
|
@@ -1993,15 +1996,16 @@ var getEmptyTheme = function getEmptyTheme(theme) {
|
|
|
1993
1996
|
var colors = {
|
|
1994
1997
|
text: theme.colors.onDefaultGlobalSurface,
|
|
1995
1998
|
invertedText: theme.colors.onDarkGlobalSurface,
|
|
1996
|
-
subduedText: theme.colors.
|
|
1999
|
+
subduedText: theme.colors.mutedOnDefaultGlobalSurface,
|
|
2000
|
+
invertedSubduedText: theme.colors.onDarkGlobalSurface
|
|
1997
2001
|
};
|
|
1998
2002
|
var fontSizes = {
|
|
1999
|
-
title: theme.fontSizes.
|
|
2000
|
-
description: theme.fontSizes.
|
|
2003
|
+
title: theme.fontSizes.xxxlarge,
|
|
2004
|
+
description: theme.fontSizes.xlarge
|
|
2001
2005
|
};
|
|
2002
2006
|
var fonts = {
|
|
2003
|
-
title: theme.fonts.
|
|
2004
|
-
description: theme.fonts.
|
|
2007
|
+
title: theme.fonts.playful.semiBold,
|
|
2008
|
+
description: theme.fonts.playful.regular
|
|
2005
2009
|
};
|
|
2006
2010
|
return {
|
|
2007
2011
|
fontSizes: fontSizes,
|
|
@@ -2018,7 +2022,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
2018
2022
|
icon: theme.colors.onPrimary,
|
|
2019
2023
|
headerText: theme.colors.onDarkGlobalSurface,
|
|
2020
2024
|
actionItemBackground: theme.colors.primary,
|
|
2021
|
-
backdropBackground: theme.colors.
|
|
2025
|
+
backdropBackground: theme.colors.overlayGlobalSurface,
|
|
2022
2026
|
titleText: theme.colors.onDarkGlobalSurface,
|
|
2023
2027
|
actionItemText: theme.colors.onPrimary
|
|
2024
2028
|
};
|
|
@@ -2339,10 +2343,12 @@ var getSelectTheme = function getSelectTheme(theme) {
|
|
|
2339
2343
|
minimumOptionListHeight: theme.space.xxxxlarge * 5,
|
|
2340
2344
|
sectionSpacing: theme.space.smallMedium,
|
|
2341
2345
|
optionSpacing: theme.space.xsmall,
|
|
2342
|
-
|
|
2346
|
+
optionListHorizontalPadding: theme.space.smallMedium,
|
|
2343
2347
|
searchBarMarginTopSpacing: theme.space.small,
|
|
2344
2348
|
searchBarHorizontalSpacing: theme.space.medium,
|
|
2345
|
-
searchBarBottomSpacing: theme.space.small
|
|
2349
|
+
searchBarBottomSpacing: theme.space.small,
|
|
2350
|
+
singleSelectContentPaddingBottom: theme.space.medium,
|
|
2351
|
+
suffixMarginRight: theme.space.smallMedium
|
|
2346
2352
|
};
|
|
2347
2353
|
var radii = {
|
|
2348
2354
|
option: theme.radii.base
|
|
@@ -2718,7 +2724,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
|
|
|
2718
2724
|
large: theme.fontSizes.large,
|
|
2719
2725
|
xlarge: theme.fontSizes.xlarge,
|
|
2720
2726
|
xxxlarge: theme.fontSizes.xxxlarge,
|
|
2721
|
-
xxxxxlarge: theme.fontSizes.xxxxxlarge
|
|
2727
|
+
xxxxxlarge: theme.fontSizes.xxxxxlarge,
|
|
2728
|
+
'7xlarge': theme.fontSizes['7xlarge']
|
|
2722
2729
|
};
|
|
2723
2730
|
var lineHeights = {
|
|
2724
2731
|
small: theme.lineHeights.small,
|
|
@@ -2726,7 +2733,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
|
|
|
2726
2733
|
large: theme.lineHeights.large,
|
|
2727
2734
|
xlarge: theme.lineHeights.xlarge,
|
|
2728
2735
|
xxxlarge: theme.lineHeights.xxxlarge,
|
|
2729
|
-
xxxxxlarge: theme.lineHeights.xxxxxlarge
|
|
2736
|
+
xxxxxlarge: theme.lineHeights.xxxxxlarge,
|
|
2737
|
+
'7xlarge': theme.lineHeights['7xlarge']
|
|
2730
2738
|
};
|
|
2731
2739
|
return {
|
|
2732
2740
|
colors: colors,
|
|
@@ -5689,7 +5697,9 @@ var useDeprecation = function useDeprecation(message) {
|
|
|
5689
5697
|
var cond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
5690
5698
|
React.useEffect(function () {
|
|
5691
5699
|
// eslint-disable-next-line no-console
|
|
5692
|
-
|
|
5700
|
+
if (cond) {
|
|
5701
|
+
console.warn(message);
|
|
5702
|
+
}
|
|
5693
5703
|
}, [message, cond]);
|
|
5694
5704
|
};
|
|
5695
5705
|
|
|
@@ -5809,7 +5819,7 @@ var Typography = {
|
|
|
5809
5819
|
};
|
|
5810
5820
|
|
|
5811
5821
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5812
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'carat-down-small', 'carat-down', 'carat-left-small', 'carat-left', 'carat-right-small', 'carat-right', 'carat-up-small', 'carat-up', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5822
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'carat-down-small', 'carat-down', 'carat-left-small', 'carat-left', 'carat-right-small', 'carat-right', 'carat-up-small', 'carat-up', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5813
5823
|
|
|
5814
5824
|
var activate = 59000;
|
|
5815
5825
|
var adjustment = 59003;
|
|
@@ -5889,11 +5899,11 @@ var redeem = 59316;
|
|
|
5889
5899
|
var refresh = 59317;
|
|
5890
5900
|
var remove = 59318;
|
|
5891
5901
|
var restart = 59320;
|
|
5892
|
-
var strikethrough =
|
|
5893
|
-
var sync =
|
|
5894
|
-
var transfer =
|
|
5895
|
-
var unavailable =
|
|
5896
|
-
var underline =
|
|
5902
|
+
var strikethrough = 59339;
|
|
5903
|
+
var sync = 59344;
|
|
5904
|
+
var transfer = 59347;
|
|
5905
|
+
var unavailable = 59350;
|
|
5906
|
+
var underline = 59351;
|
|
5897
5907
|
var glyphMap = {
|
|
5898
5908
|
activate: activate,
|
|
5899
5909
|
"add-emoji": 59001,
|
|
@@ -6225,36 +6235,37 @@ var glyphMap = {
|
|
|
6225
6235
|
"send-outlined": 59327,
|
|
6226
6236
|
"share-1": 59328,
|
|
6227
6237
|
"share-2": 59329,
|
|
6228
|
-
"
|
|
6229
|
-
"single-
|
|
6230
|
-
"single-
|
|
6231
|
-
"single-
|
|
6232
|
-
"
|
|
6233
|
-
"speaker-outlined": 59335,
|
|
6234
|
-
"
|
|
6235
|
-
"
|
|
6238
|
+
"share-outlined": 59330,
|
|
6239
|
+
"single-down-arrow": 59331,
|
|
6240
|
+
"single-left-arrow": 59332,
|
|
6241
|
+
"single-right-arrow": 59333,
|
|
6242
|
+
"single-up-arrow": 59334,
|
|
6243
|
+
"speaker-active-outlined": 59335,
|
|
6244
|
+
"speaker-outlined": 59336,
|
|
6245
|
+
"star-outlined": 59337,
|
|
6246
|
+
"stopwatch-outlined": 59338,
|
|
6236
6247
|
strikethrough: strikethrough,
|
|
6237
|
-
"suitcase-clock-outlined":
|
|
6238
|
-
"suitcase-outlined":
|
|
6239
|
-
"survey-outlined":
|
|
6240
|
-
"switch-outlined":
|
|
6248
|
+
"suitcase-clock-outlined": 59340,
|
|
6249
|
+
"suitcase-outlined": 59341,
|
|
6250
|
+
"survey-outlined": 59342,
|
|
6251
|
+
"switch-outlined": 59343,
|
|
6241
6252
|
sync: sync,
|
|
6242
|
-
"target-outlined":
|
|
6243
|
-
"timesheet-outlined":
|
|
6253
|
+
"target-outlined": 59345,
|
|
6254
|
+
"timesheet-outlined": 59346,
|
|
6244
6255
|
transfer: transfer,
|
|
6245
|
-
"trash-bin-outlined":
|
|
6246
|
-
"umbrela-outlined":
|
|
6256
|
+
"trash-bin-outlined": 59348,
|
|
6257
|
+
"umbrela-outlined": 59349,
|
|
6247
6258
|
unavailable: unavailable,
|
|
6248
6259
|
underline: underline,
|
|
6249
|
-
"unlock-outlined":
|
|
6250
|
-
"upload-outlined":
|
|
6251
|
-
"user-circle-outlined":
|
|
6252
|
-
"user-gear-outlined":
|
|
6253
|
-
"user-outlined":
|
|
6254
|
-
"user-rectangle-outlined":
|
|
6255
|
-
"video-1-outlined":
|
|
6256
|
-
"video-2-outlined":
|
|
6257
|
-
"wallet-outlined":
|
|
6260
|
+
"unlock-outlined": 59352,
|
|
6261
|
+
"upload-outlined": 59353,
|
|
6262
|
+
"user-circle-outlined": 59354,
|
|
6263
|
+
"user-gear-outlined": 59355,
|
|
6264
|
+
"user-outlined": 59356,
|
|
6265
|
+
"user-rectangle-outlined": 59357,
|
|
6266
|
+
"video-1-outlined": 59358,
|
|
6267
|
+
"video-2-outlined": 59359,
|
|
6268
|
+
"wallet-outlined": 59360
|
|
6258
6269
|
};
|
|
6259
6270
|
|
|
6260
6271
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6319,6 +6330,7 @@ var Icon = function Icon(_ref) {
|
|
|
6319
6330
|
testID = _ref.testID,
|
|
6320
6331
|
_ref$spin = _ref.spin,
|
|
6321
6332
|
spin = _ref$spin === void 0 ? false : _ref$spin;
|
|
6333
|
+
useDeprecation("".concat(icon, " icon is deprecated and will be removed in the next major release, please use ").concat(icon.replace('carat', 'caret'), " instead."), icon.startsWith('carat'));
|
|
6322
6334
|
return spin ? /*#__PURE__*/React__default["default"].createElement(AnimatedIcon, {
|
|
6323
6335
|
name: icon,
|
|
6324
6336
|
themeIntent: intent,
|
|
@@ -6475,10 +6487,11 @@ var Alert = function Alert(_ref2) {
|
|
|
6475
6487
|
_ref2$intent = _ref2.intent,
|
|
6476
6488
|
intent = _ref2$intent === void 0 ? 'info' : _ref2$intent,
|
|
6477
6489
|
onClose = _ref2.onClose,
|
|
6478
|
-
|
|
6479
|
-
variant = _ref2$variant === void 0 ? 'default' : _ref2$variant,
|
|
6490
|
+
_variant = _ref2.variant,
|
|
6480
6491
|
style = _ref2.style,
|
|
6481
6492
|
testID = _ref2.testID;
|
|
6493
|
+
var variant = _variant === undefined ? 'default' : _variant;
|
|
6494
|
+
useDeprecation("Alert's variant prop will be removed in the next major release. Rounded will be the only variant available.", _variant !== undefined);
|
|
6482
6495
|
return /*#__PURE__*/React__default["default"].createElement(Container$1, {
|
|
6483
6496
|
themeVariant: variant,
|
|
6484
6497
|
themeIntent: intent,
|
|
@@ -7068,7 +7081,7 @@ var StyledBackdrop$2 = index$a(AnimatedPressable$1)(function (_ref2) {
|
|
|
7068
7081
|
var theme = _ref2.theme;
|
|
7069
7082
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
7070
7083
|
backgroundColor: theme.__hd__.bottomSheet.colors.backdrop,
|
|
7071
|
-
opacity: 0.
|
|
7084
|
+
opacity: 0.4
|
|
7072
7085
|
});
|
|
7073
7086
|
});
|
|
7074
7087
|
var StyledHeaderWrapper = index$a(reactNative.View)(function (_ref3) {
|
|
@@ -7485,6 +7498,7 @@ var Button = function Button(_ref) {
|
|
|
7485
7498
|
_ref$variant = _ref.variant,
|
|
7486
7499
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant;
|
|
7487
7500
|
var themeVariant = getThemeVariant(variant, intent);
|
|
7501
|
+
useDeprecation("Button's basic-transparent variant is deprecated and will be removed in the next major release.\nPlease use other variants instead.", variant === 'basic-transparent');
|
|
7488
7502
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonContainer, {
|
|
7489
7503
|
accessibilityHint: accessibilityHint,
|
|
7490
7504
|
accessibilityLabel: accessibilityLabel,
|
|
@@ -7620,7 +7634,7 @@ var Header = function Header(_ref) {
|
|
|
7620
7634
|
onPress: onRequestClose,
|
|
7621
7635
|
intent: "text",
|
|
7622
7636
|
testID: "bottom-sheet-close-icon",
|
|
7623
|
-
size: "
|
|
7637
|
+
size: "xsmall"
|
|
7624
7638
|
})) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
|
|
7625
7639
|
};
|
|
7626
7640
|
|
|
@@ -11190,7 +11204,7 @@ var calculateSnapPointsData = function calculateSnapPointsData(minimumHeight, he
|
|
|
11190
11204
|
var uniqSnapPointOffsetValues = Array.from(new Set([].concat(_toConsumableArray(snapPointsOffsetValues), [0])));
|
|
11191
11205
|
return {
|
|
11192
11206
|
list: uniqSnapPointOffsetValues,
|
|
11193
|
-
minHeightOffset: Math.max.apply(Math, uniqSnapPointOffsetValues),
|
|
11207
|
+
minHeightOffset: Math.max.apply(Math, _toConsumableArray(uniqSnapPointOffsetValues)),
|
|
11194
11208
|
maxHeightOffset: 0 // Max height
|
|
11195
11209
|
};
|
|
11196
11210
|
};
|
|
@@ -11416,7 +11430,7 @@ var StyledDescription = index$a(reactNative.Text)(function (_ref3) {
|
|
|
11416
11430
|
fontFamily: theme.__hd__.empty.fonts.description,
|
|
11417
11431
|
fontSize: theme.__hd__.empty.fontSizes.description,
|
|
11418
11432
|
textAlign: 'center',
|
|
11419
|
-
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.
|
|
11433
|
+
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.invertedSubduedText : theme.__hd__.empty.colors.subduedText
|
|
11420
11434
|
};
|
|
11421
11435
|
});
|
|
11422
11436
|
|
|
@@ -11687,7 +11701,7 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
11687
11701
|
});
|
|
11688
11702
|
var interpolatedBackdropOpacityAnimation = tranlateXAnimation.current.interpolate({
|
|
11689
11703
|
inputRange: [0, 1],
|
|
11690
|
-
outputRange: [0, 0.
|
|
11704
|
+
outputRange: [0, 0.4]
|
|
11691
11705
|
});
|
|
11692
11706
|
var interpolatedActionGroupOpacityAnimation = tranlateXAnimation.current.interpolate({
|
|
11693
11707
|
inputRange: [0, 1],
|
|
@@ -11769,7 +11783,7 @@ var StyledListItemContainer$1 = index$a(reactNative.TouchableOpacity)(function (
|
|
|
11769
11783
|
return _objectSpread2(_objectSpread2({}, sharedStyles), {}, {
|
|
11770
11784
|
alignItems: 'center',
|
|
11771
11785
|
borderRadius: theme.__hd__.list.radii.card,
|
|
11772
|
-
shadowColor: theme.colors.
|
|
11786
|
+
shadowColor: theme.colors.secondaryOutline,
|
|
11773
11787
|
shadowRadius: theme.__hd__.list.radii.cardShadow,
|
|
11774
11788
|
shadowOffset: theme.__hd__.list.shadows.cardOffset,
|
|
11775
11789
|
shadowOpacity: theme.__hd__.list.opacity.cardShadow,
|
|
@@ -12867,6 +12881,12 @@ var StyledSearchBar = index$a(reactNative.View)(function (_ref4) {
|
|
|
12867
12881
|
paddingBottom: theme.__hd__.select.space.searchBarBottomSpacing
|
|
12868
12882
|
};
|
|
12869
12883
|
});
|
|
12884
|
+
var StyledSectionList = index$a(reactNative.SectionList)(function (_ref5) {
|
|
12885
|
+
var theme = _ref5.theme;
|
|
12886
|
+
return {
|
|
12887
|
+
paddingHorizontal: theme.__hd__.select.space.optionListHorizontalPadding
|
|
12888
|
+
};
|
|
12889
|
+
});
|
|
12870
12890
|
|
|
12871
12891
|
var Footer = function Footer(_ref) {
|
|
12872
12892
|
var label = _ref.label,
|
|
@@ -12941,7 +12961,7 @@ var useKeyboard = function useKeyboard() {
|
|
|
12941
12961
|
};
|
|
12942
12962
|
};
|
|
12943
12963
|
|
|
12944
|
-
var
|
|
12964
|
+
var BaseOptionList = function BaseOptionList(_ref) {
|
|
12945
12965
|
var keyExtractor = _ref.keyExtractor,
|
|
12946
12966
|
loading = _ref.loading,
|
|
12947
12967
|
onEndReached = _ref.onEndReached,
|
|
@@ -12954,7 +12974,7 @@ var StyledOptionList = function StyledOptionList(_ref) {
|
|
|
12954
12974
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12955
12975
|
onEndReachedCalled = _useState2[0],
|
|
12956
12976
|
setOnEndReachedCalled = _useState2[1];
|
|
12957
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
12977
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledSectionList, {
|
|
12958
12978
|
ref: sectionListRef,
|
|
12959
12979
|
style: _objectSpread2({}, onQueryChange ? {
|
|
12960
12980
|
height: reactNative.Dimensions.get('screen').height
|
|
@@ -12996,18 +13016,25 @@ var Option$2 = function Option(_ref) {
|
|
|
12996
13016
|
_ref$disabled = _ref.disabled,
|
|
12997
13017
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12998
13018
|
selected = _ref.selected,
|
|
12999
|
-
onPress = _ref.onPress
|
|
13019
|
+
onPress = _ref.onPress,
|
|
13020
|
+
_ref$highlighted = _ref.highlighted,
|
|
13021
|
+
highlighted = _ref$highlighted === void 0 ? false : _ref$highlighted;
|
|
13000
13022
|
var theme = useTheme();
|
|
13001
|
-
|
|
13023
|
+
var props = {
|
|
13002
13024
|
selected: selected,
|
|
13003
13025
|
disabled: disabled,
|
|
13004
13026
|
onPress: onPress,
|
|
13005
13027
|
title: text,
|
|
13006
|
-
suffix: selected
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13028
|
+
suffix: selected === true ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
13029
|
+
icon: "checkmark",
|
|
13030
|
+
intent: disabled ? 'disabled-text' : 'primary',
|
|
13031
|
+
size: "small",
|
|
13032
|
+
style: {
|
|
13033
|
+
marginRight: theme.__hd__.select.space.suffixMarginRight
|
|
13034
|
+
}
|
|
13035
|
+
}) : undefined
|
|
13036
|
+
};
|
|
13037
|
+
return highlighted === true ? /*#__PURE__*/React__default["default"].createElement(List.Item, props) : /*#__PURE__*/React__default["default"].createElement(List.BasicItem, props);
|
|
13011
13038
|
};
|
|
13012
13039
|
|
|
13013
13040
|
var OptionList$1 = function OptionList(_ref) {
|
|
@@ -13039,10 +13066,11 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
13039
13066
|
selected: selected,
|
|
13040
13067
|
text: item.text,
|
|
13041
13068
|
disabled: item.disabled,
|
|
13042
|
-
onPress: onItemPress
|
|
13069
|
+
onPress: onItemPress,
|
|
13070
|
+
highlighted: item.highlighted
|
|
13043
13071
|
});
|
|
13044
13072
|
};
|
|
13045
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
13073
|
+
return /*#__PURE__*/React__default["default"].createElement(BaseOptionList, {
|
|
13046
13074
|
keyExtractor: keyExtractor,
|
|
13047
13075
|
loading: loading,
|
|
13048
13076
|
onEndReached: onEndReached,
|
|
@@ -13097,6 +13125,9 @@ function MultiSelect(_ref) {
|
|
|
13097
13125
|
}).map(function (opt) {
|
|
13098
13126
|
return opt.text;
|
|
13099
13127
|
}).join(', ');
|
|
13128
|
+
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13129
|
+
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13130
|
+
useDeprecation("Select's inputProps.required is deprecated and will be removed in the next major release. Please use Select's required prop instead.", (inputProps === null || inputProps === void 0 ? void 0 : inputProps.required) !== undefined);
|
|
13100
13131
|
React.useEffect(function () {
|
|
13101
13132
|
setSelectingValue(value);
|
|
13102
13133
|
}, [open]);
|
|
@@ -13181,19 +13212,25 @@ var Option$1 = function Option(_ref) {
|
|
|
13181
13212
|
_ref$disabled = _ref.disabled,
|
|
13182
13213
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13183
13214
|
selected = _ref.selected,
|
|
13184
|
-
onPress = _ref.onPress
|
|
13185
|
-
|
|
13186
|
-
|
|
13215
|
+
onPress = _ref.onPress,
|
|
13216
|
+
_ref$highlighted = _ref.highlighted,
|
|
13217
|
+
highlighted = _ref$highlighted === void 0 ? false : _ref$highlighted;
|
|
13218
|
+
var props = {
|
|
13187
13219
|
selected: selected,
|
|
13188
13220
|
disabled: disabled,
|
|
13189
13221
|
onPress: onPress,
|
|
13190
|
-
title: text
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
}
|
|
13194
|
-
});
|
|
13222
|
+
title: text
|
|
13223
|
+
};
|
|
13224
|
+
return highlighted === true ? /*#__PURE__*/React__default["default"].createElement(List.Item, props) : /*#__PURE__*/React__default["default"].createElement(List.BasicItem, props);
|
|
13195
13225
|
};
|
|
13196
13226
|
|
|
13227
|
+
var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
|
|
13228
|
+
var theme = _ref.theme;
|
|
13229
|
+
return {
|
|
13230
|
+
paddingBottom: theme.__hd__.select.space.singleSelectContentPaddingBottom
|
|
13231
|
+
};
|
|
13232
|
+
});
|
|
13233
|
+
|
|
13197
13234
|
var OptionList = function OptionList(_ref) {
|
|
13198
13235
|
var keyExtractor = _ref.keyExtractor,
|
|
13199
13236
|
loading = _ref.loading,
|
|
@@ -13221,7 +13258,8 @@ var OptionList = function OptionList(_ref) {
|
|
|
13221
13258
|
selected: selected,
|
|
13222
13259
|
text: item.text,
|
|
13223
13260
|
disabled: item.disabled,
|
|
13224
|
-
onPress: onItemPress
|
|
13261
|
+
onPress: onItemPress,
|
|
13262
|
+
highlighted: item.highlighted
|
|
13225
13263
|
});
|
|
13226
13264
|
};
|
|
13227
13265
|
return /*#__PURE__*/React__default["default"].createElement(StyledOptionList, {
|
|
@@ -13273,6 +13311,9 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13273
13311
|
var displayedValue = (_flatOptions$find = flatOptions.find(function (opt) {
|
|
13274
13312
|
return value === opt.value;
|
|
13275
13313
|
})) === null || _flatOptions$find === void 0 ? void 0 : _flatOptions$find.text;
|
|
13314
|
+
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13315
|
+
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13316
|
+
useDeprecation("Select's inputProps.required is deprecated and will be removed in the next major release. Please use Select's required prop instead.", (inputProps === null || inputProps === void 0 ? void 0 : inputProps.required) !== undefined);
|
|
13276
13317
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13277
13318
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
13278
13319
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.TouchableOpacity, {
|
|
@@ -13468,8 +13509,7 @@ var getVariant = function getVariant(_ref) {
|
|
|
13468
13509
|
return checked ? 'checked' : 'unchecked';
|
|
13469
13510
|
};
|
|
13470
13511
|
var Switch = function Switch(_ref2) {
|
|
13471
|
-
var
|
|
13472
|
-
size = _ref2$size === void 0 ? 'medium' : _ref2$size,
|
|
13512
|
+
var _size = _ref2.size,
|
|
13473
13513
|
_ref2$disabled = _ref2.disabled,
|
|
13474
13514
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
13475
13515
|
_ref2$checked = _ref2.checked,
|
|
@@ -13477,11 +13517,13 @@ var Switch = function Switch(_ref2) {
|
|
|
13477
13517
|
onPress = _ref2.onPress,
|
|
13478
13518
|
style = _ref2.style,
|
|
13479
13519
|
testID = _ref2.testID;
|
|
13520
|
+
var size = _size === undefined ? 'medium' : _size;
|
|
13480
13521
|
var theme = useTheme$1();
|
|
13481
13522
|
var variant = getVariant({
|
|
13482
13523
|
disabled: disabled,
|
|
13483
13524
|
checked: checked
|
|
13484
13525
|
});
|
|
13526
|
+
useDeprecation("Switch's size prop will be removed in the next major release.", _size !== undefined);
|
|
13485
13527
|
var offset = checked ? (theme.__hd__["switch"].sizes.widths[size] - theme.__hd__["switch"].sizes.thumbs[size]) / 2 + theme.__hd__["switch"].sizes.thumbs[size] / 2 : 0;
|
|
13486
13528
|
var _useState = React.useState(function () {
|
|
13487
13529
|
return new reactNative.Animated.Value(offset);
|
|
@@ -13687,7 +13729,9 @@ var getTabItem$1 = function getTabItem(_ref) {
|
|
|
13687
13729
|
icon: item,
|
|
13688
13730
|
testID: "hero-icon-".concat(item),
|
|
13689
13731
|
size: "small",
|
|
13690
|
-
|
|
13732
|
+
style: {
|
|
13733
|
+
color: color
|
|
13734
|
+
}
|
|
13691
13735
|
});
|
|
13692
13736
|
}
|
|
13693
13737
|
if (typeof item === 'string') {
|
|
@@ -13876,6 +13920,9 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13876
13920
|
_ref2$swipeEnabled = _ref2.swipeEnabled,
|
|
13877
13921
|
swipeEnabled = _ref2$swipeEnabled === void 0 ? true : _ref2$swipeEnabled,
|
|
13878
13922
|
componentTestID = _ref2.testID;
|
|
13923
|
+
useDeprecation("Tabs' showBadge will be removed in the next major release. Please use badge prop instead.", tabs.some(function (item) {
|
|
13924
|
+
return item.showBadge !== undefined;
|
|
13925
|
+
}));
|
|
13879
13926
|
var theme = useTheme$1();
|
|
13880
13927
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
13881
13928
|
var pagerViewRef = React__default["default"].useRef(null);
|
|
@@ -14033,6 +14080,7 @@ var Tag = function Tag(_ref) {
|
|
|
14033
14080
|
style = _ref.style,
|
|
14034
14081
|
testID = _ref.testID,
|
|
14035
14082
|
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14083
|
+
useDeprecation("Tag's default intent is deprecated and will be removed in the next major release.\nPlease use primary intent instead.", intent !== 'default');
|
|
14036
14084
|
return /*#__PURE__*/React__default["default"].createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14037
14085
|
themeIntent: intent,
|
|
14038
14086
|
themeVariant: variant,
|
|
@@ -14388,7 +14436,7 @@ var ToastContainer = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
14388
14436
|
var _ref2$displayType = _ref2.displayType,
|
|
14389
14437
|
displayType = _ref2$displayType === void 0 ? 'single' : _ref2$displayType,
|
|
14390
14438
|
_ref2$position = _ref2.position,
|
|
14391
|
-
position = _ref2$position === void 0 ? '
|
|
14439
|
+
position = _ref2$position === void 0 ? 'bottom' : _ref2$position,
|
|
14392
14440
|
style = _ref2.style;
|
|
14393
14441
|
var theme = useTheme$1();
|
|
14394
14442
|
var _useState = React.useState([]),
|
|
@@ -14451,8 +14499,9 @@ var ToastProvider = function ToastProvider(_ref) {
|
|
|
14451
14499
|
var children = _ref.children,
|
|
14452
14500
|
_ref$displayType = _ref.displayType,
|
|
14453
14501
|
displayType = _ref$displayType === void 0 ? 'single' : _ref$displayType,
|
|
14454
|
-
|
|
14455
|
-
|
|
14502
|
+
_position = _ref.position;
|
|
14503
|
+
var position = _position === undefined ? 'bottom' : _position;
|
|
14504
|
+
useDeprecation("Toast's position prop is deprecated and will be removed in the next major release.\nPlease remove it.", _position !== undefined);
|
|
14456
14505
|
var toastRef = React.useRef(null);
|
|
14457
14506
|
// @ts-expect-error: TODO: @tungv Fix this type error
|
|
14458
14507
|
var _useState = React.useState(null),
|
|
@@ -14641,7 +14690,7 @@ var StyledSeparator = index$a(reactNative.View)(function (_ref3) {
|
|
|
14641
14690
|
flexDirection: 'row',
|
|
14642
14691
|
alignItems: 'center',
|
|
14643
14692
|
marginHorizontal: theme.space.small,
|
|
14644
|
-
backgroundColor: theme.colors.
|
|
14693
|
+
backgroundColor: theme.colors.secondaryOutline
|
|
14645
14694
|
};
|
|
14646
14695
|
});
|
|
14647
14696
|
|
|
@@ -14832,7 +14881,7 @@ var MentionList = function MentionList(_ref) {
|
|
|
14832
14881
|
color: theme.colors.secondary,
|
|
14833
14882
|
borderRadius: theme.__hd__.richTextEditor.radii.mention,
|
|
14834
14883
|
padding: highlighted ? theme.__hd__.richTextEditor.space.mention : 0,
|
|
14835
|
-
background: highlighted ? theme.colors.
|
|
14884
|
+
background: highlighted ? theme.colors.highlightedSurface : 'transparent',
|
|
14836
14885
|
marginTop: theme.space.xxsmall,
|
|
14837
14886
|
marginBottom: theme.space.xxsmall,
|
|
14838
14887
|
display: 'inline-flex'
|
|
@@ -25638,7 +25687,8 @@ function checkDCE() {
|
|
|
25638
25687
|
voids: a
|
|
25639
25688
|
}));
|
|
25640
25689
|
if (v.length > 0) if ("continue" === function () {
|
|
25641
|
-
var
|
|
25690
|
+
var _v = _slicedToArray(v, 1),
|
|
25691
|
+
r = _v[0],
|
|
25642
25692
|
n = v[v.length - 1],
|
|
25643
25693
|
_r4 = _slicedToArray(r, 2),
|
|
25644
25694
|
o = _r4[1],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@emotion/native": "^11.9.3",
|
|
22
22
|
"@emotion/react": "^11.9.3",
|
|
23
|
-
"@hero-design/colors": "
|
|
23
|
+
"@hero-design/colors": "8.0.0-rc.0",
|
|
24
24
|
"date-fns": "^2.16.1",
|
|
25
25
|
"events": "^3.2.0",
|
|
26
26
|
"hero-editor": "^1.9.12"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@types/react-native": "^0.67.7",
|
|
59
59
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
60
60
|
"babel-plugin-inline-import": "^3.0.0",
|
|
61
|
-
"eslint-config-hd": "
|
|
61
|
+
"eslint-config-hd": "8.0.0-rc.0",
|
|
62
62
|
"jest": "^27.3.1",
|
|
63
63
|
"react": "17.0.2",
|
|
64
64
|
"react-native": "0.65.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"rollup-plugin-copy": "^3.4.0",
|
|
73
73
|
"rollup-plugin-flow": "^1.1.1",
|
|
74
74
|
"ts-jest": "^27.0.7",
|
|
75
|
-
"prettier-config-hd": "
|
|
75
|
+
"prettier-config-hd": "8.0.0-rc.0",
|
|
76
76
|
"rn-7-23-0": "npm:@hero-design/rn@7.23.0"
|
|
77
77
|
},
|
|
78
78
|
"prettier": "prettier-config-hd"
|