@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
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as reactNative from 'react-native';
|
|
2
|
-
import { Platform, Dimensions, StyleSheet as StyleSheet$1, Animated, View, Easing, TouchableOpacity, Text as Text$1, Image as Image$1, TouchableWithoutFeedback, Pressable, SafeAreaView, KeyboardAvoidingView, Modal, TextInput as TextInput$1, PanResponder, TouchableHighlight, InteractionManager, useWindowDimensions,
|
|
2
|
+
import { Platform, Dimensions, StyleSheet as StyleSheet$1, Animated, View, Easing, TouchableOpacity, Text as Text$1, Image as Image$1, TouchableWithoutFeedback, Pressable, SafeAreaView, KeyboardAvoidingView, Modal, TextInput as TextInput$1, PanResponder, TouchableHighlight, InteractionManager, useWindowDimensions, SectionList, Keyboard, FlatList, LayoutAnimation, RefreshControl as RefreshControl$1 } from 'react-native';
|
|
3
3
|
import React, { useContext, createContext, createElement, useMemo, forwardRef, useEffect, useCallback, useRef, useState, useLayoutEffect, useImperativeHandle } from 'react';
|
|
4
4
|
import { createIconSet } from 'react-native-vector-icons';
|
|
5
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
@@ -76,7 +76,7 @@ function _defineProperty(obj, key, value) {
|
|
|
76
76
|
return obj;
|
|
77
77
|
}
|
|
78
78
|
function _extends$1() {
|
|
79
|
-
_extends$1 = Object.assign
|
|
79
|
+
_extends$1 = Object.assign || function (target) {
|
|
80
80
|
for (var i = 1; i < arguments.length; i++) {
|
|
81
81
|
var source = arguments[i];
|
|
82
82
|
for (var key in source) {
|
|
@@ -230,7 +230,7 @@ var BASE_BORDER_WIDTH = 1;
|
|
|
230
230
|
var BASE_SPACE = 8;
|
|
231
231
|
var BASE_SIZE = 8;
|
|
232
232
|
var NEUTRAL_FONT = 'BeVietnamPro';
|
|
233
|
-
var PLAYFUL_FONT = '
|
|
233
|
+
var PLAYFUL_FONT = 'RebondGrotesque';
|
|
234
234
|
var BASE_FONT_SIZE = 10;
|
|
235
235
|
var BASE_RADIUS = 4;
|
|
236
236
|
var scale$1 = {
|
|
@@ -1231,6 +1231,7 @@ var globalPalette = {
|
|
|
1231
1231
|
disabledOnDefaultGlobalSurface: palette$6.greyLight30,
|
|
1232
1232
|
darkGlobalSurface: palette$6.maasstrichtBlue,
|
|
1233
1233
|
onDarkGlobalSurface: palette$6.white,
|
|
1234
|
+
overlayGlobalSurface: palette$6.black,
|
|
1234
1235
|
// Outlines
|
|
1235
1236
|
primaryOutline: palette$6.maasstrichtBlue,
|
|
1236
1237
|
secondaryOutline: palette$6.greyLight75,
|
|
@@ -1416,7 +1417,7 @@ var getFonts = function getFonts(_ref) {
|
|
|
1416
1417
|
};
|
|
1417
1418
|
};
|
|
1418
1419
|
var getFontSizes = function getFontSizes(baseFontSize) {
|
|
1419
|
-
var fontSizes = Array.from(new Array(
|
|
1420
|
+
var fontSizes = Array.from(new Array(11));
|
|
1420
1421
|
fontSizes.forEach(function (_, index) {
|
|
1421
1422
|
if (index === 0) {
|
|
1422
1423
|
fontSizes[0] = baseFontSize;
|
|
@@ -1426,6 +1427,7 @@ var getFontSizes = function getFontSizes(baseFontSize) {
|
|
|
1426
1427
|
return undefined;
|
|
1427
1428
|
});
|
|
1428
1429
|
return {
|
|
1430
|
+
'7xlarge': scale(fontSizes[10]),
|
|
1429
1431
|
xxxxxlarge: scale(fontSizes[8]),
|
|
1430
1432
|
xxxxlarge: scale(fontSizes[7]),
|
|
1431
1433
|
xxxlarge: scale(fontSizes[6]),
|
|
@@ -1441,6 +1443,7 @@ var getFontSizes = function getFontSizes(baseFontSize) {
|
|
|
1441
1443
|
var getLineHeights = function getLineHeights(fontSizes) {
|
|
1442
1444
|
var additionalSpace = 8;
|
|
1443
1445
|
return {
|
|
1446
|
+
'7xlarge': fontSizes['7xlarge'] + additionalSpace,
|
|
1444
1447
|
xxxxxlarge: fontSizes.xxxxxlarge + additionalSpace,
|
|
1445
1448
|
xxxxlarge: fontSizes.xxxxlarge + additionalSpace,
|
|
1446
1449
|
xxxlarge: fontSizes.xxxlarge + additionalSpace,
|
|
@@ -1601,7 +1604,7 @@ var getAvatarTheme = function getAvatarTheme(theme) {
|
|
|
1601
1604
|
danger: theme.colors.error,
|
|
1602
1605
|
success: theme.colors.success,
|
|
1603
1606
|
warning: theme.colors.warning,
|
|
1604
|
-
text: theme.colors.
|
|
1607
|
+
text: theme.colors.onDarkGlobalSurface
|
|
1605
1608
|
};
|
|
1606
1609
|
var sizes = {
|
|
1607
1610
|
small: theme.sizes.xlarge,
|
|
@@ -1706,7 +1709,7 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
|
|
|
1706
1709
|
var colors = {
|
|
1707
1710
|
shadow: theme.colors.primaryOutline,
|
|
1708
1711
|
background: theme.colors.defaultGlobalSurface,
|
|
1709
|
-
backdrop: theme.colors.
|
|
1712
|
+
backdrop: theme.colors.overlayGlobalSurface
|
|
1710
1713
|
};
|
|
1711
1714
|
var sizes = {
|
|
1712
1715
|
sectionHeight: theme.sizes.xxxxxlarge,
|
|
@@ -1716,16 +1719,16 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
|
|
|
1716
1719
|
headerWrapperVerticalPadding: theme.space.small,
|
|
1717
1720
|
headerWrapperHorizontalPadding: theme.space.medium,
|
|
1718
1721
|
closeIconMargin: theme.space.smallMedium,
|
|
1719
|
-
footerVerticalPadding: theme.space.
|
|
1720
|
-
footerHorizontalPadding: theme.space.
|
|
1722
|
+
footerVerticalPadding: theme.space.medium,
|
|
1723
|
+
footerHorizontalPadding: theme.space.large
|
|
1721
1724
|
};
|
|
1722
1725
|
var shadows = {
|
|
1723
1726
|
offset: {
|
|
1724
1727
|
width: 0,
|
|
1725
1728
|
height: 3
|
|
1726
1729
|
},
|
|
1727
|
-
opacity: 0.
|
|
1728
|
-
radius:
|
|
1730
|
+
opacity: 0.4,
|
|
1731
|
+
radius: theme.radii.xlarge,
|
|
1729
1732
|
elevation: 10
|
|
1730
1733
|
};
|
|
1731
1734
|
var radii = {
|
|
@@ -1964,15 +1967,16 @@ var getEmptyTheme = function getEmptyTheme(theme) {
|
|
|
1964
1967
|
var colors = {
|
|
1965
1968
|
text: theme.colors.onDefaultGlobalSurface,
|
|
1966
1969
|
invertedText: theme.colors.onDarkGlobalSurface,
|
|
1967
|
-
subduedText: theme.colors.
|
|
1970
|
+
subduedText: theme.colors.mutedOnDefaultGlobalSurface,
|
|
1971
|
+
invertedSubduedText: theme.colors.onDarkGlobalSurface
|
|
1968
1972
|
};
|
|
1969
1973
|
var fontSizes = {
|
|
1970
|
-
title: theme.fontSizes.
|
|
1971
|
-
description: theme.fontSizes.
|
|
1974
|
+
title: theme.fontSizes.xxxlarge,
|
|
1975
|
+
description: theme.fontSizes.xlarge
|
|
1972
1976
|
};
|
|
1973
1977
|
var fonts = {
|
|
1974
|
-
title: theme.fonts.
|
|
1975
|
-
description: theme.fonts.
|
|
1978
|
+
title: theme.fonts.playful.semiBold,
|
|
1979
|
+
description: theme.fonts.playful.regular
|
|
1976
1980
|
};
|
|
1977
1981
|
return {
|
|
1978
1982
|
fontSizes: fontSizes,
|
|
@@ -1989,7 +1993,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
1989
1993
|
icon: theme.colors.onPrimary,
|
|
1990
1994
|
headerText: theme.colors.onDarkGlobalSurface,
|
|
1991
1995
|
actionItemBackground: theme.colors.primary,
|
|
1992
|
-
backdropBackground: theme.colors.
|
|
1996
|
+
backdropBackground: theme.colors.overlayGlobalSurface,
|
|
1993
1997
|
titleText: theme.colors.onDarkGlobalSurface,
|
|
1994
1998
|
actionItemText: theme.colors.onPrimary
|
|
1995
1999
|
};
|
|
@@ -2310,10 +2314,12 @@ var getSelectTheme = function getSelectTheme(theme) {
|
|
|
2310
2314
|
minimumOptionListHeight: theme.space.xxxxlarge * 5,
|
|
2311
2315
|
sectionSpacing: theme.space.smallMedium,
|
|
2312
2316
|
optionSpacing: theme.space.xsmall,
|
|
2313
|
-
|
|
2317
|
+
optionListHorizontalPadding: theme.space.smallMedium,
|
|
2314
2318
|
searchBarMarginTopSpacing: theme.space.small,
|
|
2315
2319
|
searchBarHorizontalSpacing: theme.space.medium,
|
|
2316
|
-
searchBarBottomSpacing: theme.space.small
|
|
2320
|
+
searchBarBottomSpacing: theme.space.small,
|
|
2321
|
+
singleSelectContentPaddingBottom: theme.space.medium,
|
|
2322
|
+
suffixMarginRight: theme.space.smallMedium
|
|
2317
2323
|
};
|
|
2318
2324
|
var radii = {
|
|
2319
2325
|
option: theme.radii.base
|
|
@@ -2689,7 +2695,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
|
|
|
2689
2695
|
large: theme.fontSizes.large,
|
|
2690
2696
|
xlarge: theme.fontSizes.xlarge,
|
|
2691
2697
|
xxxlarge: theme.fontSizes.xxxlarge,
|
|
2692
|
-
xxxxxlarge: theme.fontSizes.xxxxxlarge
|
|
2698
|
+
xxxxxlarge: theme.fontSizes.xxxxxlarge,
|
|
2699
|
+
'7xlarge': theme.fontSizes['7xlarge']
|
|
2693
2700
|
};
|
|
2694
2701
|
var lineHeights = {
|
|
2695
2702
|
small: theme.lineHeights.small,
|
|
@@ -2697,7 +2704,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
|
|
|
2697
2704
|
large: theme.lineHeights.large,
|
|
2698
2705
|
xlarge: theme.lineHeights.xlarge,
|
|
2699
2706
|
xxxlarge: theme.lineHeights.xxxlarge,
|
|
2700
|
-
xxxxxlarge: theme.lineHeights.xxxxxlarge
|
|
2707
|
+
xxxxxlarge: theme.lineHeights.xxxxxlarge,
|
|
2708
|
+
'7xlarge': theme.lineHeights['7xlarge']
|
|
2701
2709
|
};
|
|
2702
2710
|
return {
|
|
2703
2711
|
colors: colors,
|
|
@@ -5660,7 +5668,9 @@ var useDeprecation = function useDeprecation(message) {
|
|
|
5660
5668
|
var cond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
5661
5669
|
useEffect(function () {
|
|
5662
5670
|
// eslint-disable-next-line no-console
|
|
5663
|
-
|
|
5671
|
+
if (cond) {
|
|
5672
|
+
console.warn(message);
|
|
5673
|
+
}
|
|
5664
5674
|
}, [message, cond]);
|
|
5665
5675
|
};
|
|
5666
5676
|
|
|
@@ -5780,7 +5790,7 @@ var Typography = {
|
|
|
5780
5790
|
};
|
|
5781
5791
|
|
|
5782
5792
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5783
|
-
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'];
|
|
5793
|
+
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'];
|
|
5784
5794
|
|
|
5785
5795
|
var activate = 59000;
|
|
5786
5796
|
var adjustment = 59003;
|
|
@@ -5860,11 +5870,11 @@ var redeem = 59316;
|
|
|
5860
5870
|
var refresh = 59317;
|
|
5861
5871
|
var remove = 59318;
|
|
5862
5872
|
var restart = 59320;
|
|
5863
|
-
var strikethrough =
|
|
5864
|
-
var sync =
|
|
5865
|
-
var transfer =
|
|
5866
|
-
var unavailable =
|
|
5867
|
-
var underline =
|
|
5873
|
+
var strikethrough = 59339;
|
|
5874
|
+
var sync = 59344;
|
|
5875
|
+
var transfer = 59347;
|
|
5876
|
+
var unavailable = 59350;
|
|
5877
|
+
var underline = 59351;
|
|
5868
5878
|
var glyphMap = {
|
|
5869
5879
|
activate: activate,
|
|
5870
5880
|
"add-emoji": 59001,
|
|
@@ -6196,36 +6206,37 @@ var glyphMap = {
|
|
|
6196
6206
|
"send-outlined": 59327,
|
|
6197
6207
|
"share-1": 59328,
|
|
6198
6208
|
"share-2": 59329,
|
|
6199
|
-
"
|
|
6200
|
-
"single-
|
|
6201
|
-
"single-
|
|
6202
|
-
"single-
|
|
6203
|
-
"
|
|
6204
|
-
"speaker-outlined": 59335,
|
|
6205
|
-
"
|
|
6206
|
-
"
|
|
6209
|
+
"share-outlined": 59330,
|
|
6210
|
+
"single-down-arrow": 59331,
|
|
6211
|
+
"single-left-arrow": 59332,
|
|
6212
|
+
"single-right-arrow": 59333,
|
|
6213
|
+
"single-up-arrow": 59334,
|
|
6214
|
+
"speaker-active-outlined": 59335,
|
|
6215
|
+
"speaker-outlined": 59336,
|
|
6216
|
+
"star-outlined": 59337,
|
|
6217
|
+
"stopwatch-outlined": 59338,
|
|
6207
6218
|
strikethrough: strikethrough,
|
|
6208
|
-
"suitcase-clock-outlined":
|
|
6209
|
-
"suitcase-outlined":
|
|
6210
|
-
"survey-outlined":
|
|
6211
|
-
"switch-outlined":
|
|
6219
|
+
"suitcase-clock-outlined": 59340,
|
|
6220
|
+
"suitcase-outlined": 59341,
|
|
6221
|
+
"survey-outlined": 59342,
|
|
6222
|
+
"switch-outlined": 59343,
|
|
6212
6223
|
sync: sync,
|
|
6213
|
-
"target-outlined":
|
|
6214
|
-
"timesheet-outlined":
|
|
6224
|
+
"target-outlined": 59345,
|
|
6225
|
+
"timesheet-outlined": 59346,
|
|
6215
6226
|
transfer: transfer,
|
|
6216
|
-
"trash-bin-outlined":
|
|
6217
|
-
"umbrela-outlined":
|
|
6227
|
+
"trash-bin-outlined": 59348,
|
|
6228
|
+
"umbrela-outlined": 59349,
|
|
6218
6229
|
unavailable: unavailable,
|
|
6219
6230
|
underline: underline,
|
|
6220
|
-
"unlock-outlined":
|
|
6221
|
-
"upload-outlined":
|
|
6222
|
-
"user-circle-outlined":
|
|
6223
|
-
"user-gear-outlined":
|
|
6224
|
-
"user-outlined":
|
|
6225
|
-
"user-rectangle-outlined":
|
|
6226
|
-
"video-1-outlined":
|
|
6227
|
-
"video-2-outlined":
|
|
6228
|
-
"wallet-outlined":
|
|
6231
|
+
"unlock-outlined": 59352,
|
|
6232
|
+
"upload-outlined": 59353,
|
|
6233
|
+
"user-circle-outlined": 59354,
|
|
6234
|
+
"user-gear-outlined": 59355,
|
|
6235
|
+
"user-outlined": 59356,
|
|
6236
|
+
"user-rectangle-outlined": 59357,
|
|
6237
|
+
"video-1-outlined": 59358,
|
|
6238
|
+
"video-2-outlined": 59359,
|
|
6239
|
+
"wallet-outlined": 59360
|
|
6229
6240
|
};
|
|
6230
6241
|
|
|
6231
6242
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6290,6 +6301,7 @@ var Icon = function Icon(_ref) {
|
|
|
6290
6301
|
testID = _ref.testID,
|
|
6291
6302
|
_ref$spin = _ref.spin,
|
|
6292
6303
|
spin = _ref$spin === void 0 ? false : _ref$spin;
|
|
6304
|
+
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'));
|
|
6293
6305
|
return spin ? /*#__PURE__*/React.createElement(AnimatedIcon, {
|
|
6294
6306
|
name: icon,
|
|
6295
6307
|
themeIntent: intent,
|
|
@@ -6446,10 +6458,11 @@ var Alert = function Alert(_ref2) {
|
|
|
6446
6458
|
_ref2$intent = _ref2.intent,
|
|
6447
6459
|
intent = _ref2$intent === void 0 ? 'info' : _ref2$intent,
|
|
6448
6460
|
onClose = _ref2.onClose,
|
|
6449
|
-
|
|
6450
|
-
variant = _ref2$variant === void 0 ? 'default' : _ref2$variant,
|
|
6461
|
+
_variant = _ref2.variant,
|
|
6451
6462
|
style = _ref2.style,
|
|
6452
6463
|
testID = _ref2.testID;
|
|
6464
|
+
var variant = _variant === undefined ? 'default' : _variant;
|
|
6465
|
+
useDeprecation("Alert's variant prop will be removed in the next major release. Rounded will be the only variant available.", _variant !== undefined);
|
|
6453
6466
|
return /*#__PURE__*/React.createElement(Container$1, {
|
|
6454
6467
|
themeVariant: variant,
|
|
6455
6468
|
themeIntent: intent,
|
|
@@ -7039,7 +7052,7 @@ var StyledBackdrop$2 = index$a(AnimatedPressable$1)(function (_ref2) {
|
|
|
7039
7052
|
var theme = _ref2.theme;
|
|
7040
7053
|
return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
7041
7054
|
backgroundColor: theme.__hd__.bottomSheet.colors.backdrop,
|
|
7042
|
-
opacity: 0.
|
|
7055
|
+
opacity: 0.4
|
|
7043
7056
|
});
|
|
7044
7057
|
});
|
|
7045
7058
|
var StyledHeaderWrapper = index$a(View)(function (_ref3) {
|
|
@@ -7456,6 +7469,7 @@ var Button = function Button(_ref) {
|
|
|
7456
7469
|
_ref$variant = _ref.variant,
|
|
7457
7470
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant;
|
|
7458
7471
|
var themeVariant = getThemeVariant(variant, intent);
|
|
7472
|
+
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');
|
|
7459
7473
|
return /*#__PURE__*/React.createElement(StyledButtonContainer, {
|
|
7460
7474
|
accessibilityHint: accessibilityHint,
|
|
7461
7475
|
accessibilityLabel: accessibilityLabel,
|
|
@@ -7591,7 +7605,7 @@ var Header = function Header(_ref) {
|
|
|
7591
7605
|
onPress: onRequestClose,
|
|
7592
7606
|
intent: "text",
|
|
7593
7607
|
testID: "bottom-sheet-close-icon",
|
|
7594
|
-
size: "
|
|
7608
|
+
size: "xsmall"
|
|
7595
7609
|
})) : null), showDivider ? /*#__PURE__*/React.createElement(Divider, null) : null);
|
|
7596
7610
|
};
|
|
7597
7611
|
|
|
@@ -11161,7 +11175,7 @@ var calculateSnapPointsData = function calculateSnapPointsData(minimumHeight, he
|
|
|
11161
11175
|
var uniqSnapPointOffsetValues = Array.from(new Set([].concat(_toConsumableArray(snapPointsOffsetValues), [0])));
|
|
11162
11176
|
return {
|
|
11163
11177
|
list: uniqSnapPointOffsetValues,
|
|
11164
|
-
minHeightOffset: Math.max.apply(Math, uniqSnapPointOffsetValues),
|
|
11178
|
+
minHeightOffset: Math.max.apply(Math, _toConsumableArray(uniqSnapPointOffsetValues)),
|
|
11165
11179
|
maxHeightOffset: 0 // Max height
|
|
11166
11180
|
};
|
|
11167
11181
|
};
|
|
@@ -11387,7 +11401,7 @@ var StyledDescription = index$a(Text$1)(function (_ref3) {
|
|
|
11387
11401
|
fontFamily: theme.__hd__.empty.fonts.description,
|
|
11388
11402
|
fontSize: theme.__hd__.empty.fontSizes.description,
|
|
11389
11403
|
textAlign: 'center',
|
|
11390
|
-
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.
|
|
11404
|
+
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.invertedSubduedText : theme.__hd__.empty.colors.subduedText
|
|
11391
11405
|
};
|
|
11392
11406
|
});
|
|
11393
11407
|
|
|
@@ -11658,7 +11672,7 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
11658
11672
|
});
|
|
11659
11673
|
var interpolatedBackdropOpacityAnimation = tranlateXAnimation.current.interpolate({
|
|
11660
11674
|
inputRange: [0, 1],
|
|
11661
|
-
outputRange: [0, 0.
|
|
11675
|
+
outputRange: [0, 0.4]
|
|
11662
11676
|
});
|
|
11663
11677
|
var interpolatedActionGroupOpacityAnimation = tranlateXAnimation.current.interpolate({
|
|
11664
11678
|
inputRange: [0, 1],
|
|
@@ -11740,7 +11754,7 @@ var StyledListItemContainer$1 = index$a(TouchableOpacity)(function (_ref) {
|
|
|
11740
11754
|
return _objectSpread2(_objectSpread2({}, sharedStyles), {}, {
|
|
11741
11755
|
alignItems: 'center',
|
|
11742
11756
|
borderRadius: theme.__hd__.list.radii.card,
|
|
11743
|
-
shadowColor: theme.colors.
|
|
11757
|
+
shadowColor: theme.colors.secondaryOutline,
|
|
11744
11758
|
shadowRadius: theme.__hd__.list.radii.cardShadow,
|
|
11745
11759
|
shadowOffset: theme.__hd__.list.shadows.cardOffset,
|
|
11746
11760
|
shadowOpacity: theme.__hd__.list.opacity.cardShadow,
|
|
@@ -12838,6 +12852,12 @@ var StyledSearchBar = index$a(View)(function (_ref4) {
|
|
|
12838
12852
|
paddingBottom: theme.__hd__.select.space.searchBarBottomSpacing
|
|
12839
12853
|
};
|
|
12840
12854
|
});
|
|
12855
|
+
var StyledSectionList = index$a(SectionList)(function (_ref5) {
|
|
12856
|
+
var theme = _ref5.theme;
|
|
12857
|
+
return {
|
|
12858
|
+
paddingHorizontal: theme.__hd__.select.space.optionListHorizontalPadding
|
|
12859
|
+
};
|
|
12860
|
+
});
|
|
12841
12861
|
|
|
12842
12862
|
var Footer = function Footer(_ref) {
|
|
12843
12863
|
var label = _ref.label,
|
|
@@ -12912,7 +12932,7 @@ var useKeyboard = function useKeyboard() {
|
|
|
12912
12932
|
};
|
|
12913
12933
|
};
|
|
12914
12934
|
|
|
12915
|
-
var
|
|
12935
|
+
var BaseOptionList = function BaseOptionList(_ref) {
|
|
12916
12936
|
var keyExtractor = _ref.keyExtractor,
|
|
12917
12937
|
loading = _ref.loading,
|
|
12918
12938
|
onEndReached = _ref.onEndReached,
|
|
@@ -12925,7 +12945,7 @@ var StyledOptionList = function StyledOptionList(_ref) {
|
|
|
12925
12945
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12926
12946
|
onEndReachedCalled = _useState2[0],
|
|
12927
12947
|
setOnEndReachedCalled = _useState2[1];
|
|
12928
|
-
return /*#__PURE__*/React.createElement(
|
|
12948
|
+
return /*#__PURE__*/React.createElement(StyledSectionList, {
|
|
12929
12949
|
ref: sectionListRef,
|
|
12930
12950
|
style: _objectSpread2({}, onQueryChange ? {
|
|
12931
12951
|
height: Dimensions.get('screen').height
|
|
@@ -12967,18 +12987,25 @@ var Option$2 = function Option(_ref) {
|
|
|
12967
12987
|
_ref$disabled = _ref.disabled,
|
|
12968
12988
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12969
12989
|
selected = _ref.selected,
|
|
12970
|
-
onPress = _ref.onPress
|
|
12990
|
+
onPress = _ref.onPress,
|
|
12991
|
+
_ref$highlighted = _ref.highlighted,
|
|
12992
|
+
highlighted = _ref$highlighted === void 0 ? false : _ref$highlighted;
|
|
12971
12993
|
var theme = useTheme();
|
|
12972
|
-
|
|
12994
|
+
var props = {
|
|
12973
12995
|
selected: selected,
|
|
12974
12996
|
disabled: disabled,
|
|
12975
12997
|
onPress: onPress,
|
|
12976
12998
|
title: text,
|
|
12977
|
-
suffix: selected
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
|
|
12981
|
-
|
|
12999
|
+
suffix: selected === true ? /*#__PURE__*/React.createElement(Icon, {
|
|
13000
|
+
icon: "checkmark",
|
|
13001
|
+
intent: disabled ? 'disabled-text' : 'primary',
|
|
13002
|
+
size: "small",
|
|
13003
|
+
style: {
|
|
13004
|
+
marginRight: theme.__hd__.select.space.suffixMarginRight
|
|
13005
|
+
}
|
|
13006
|
+
}) : undefined
|
|
13007
|
+
};
|
|
13008
|
+
return highlighted === true ? /*#__PURE__*/React.createElement(List.Item, props) : /*#__PURE__*/React.createElement(List.BasicItem, props);
|
|
12982
13009
|
};
|
|
12983
13010
|
|
|
12984
13011
|
var OptionList$1 = function OptionList(_ref) {
|
|
@@ -13010,10 +13037,11 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
13010
13037
|
selected: selected,
|
|
13011
13038
|
text: item.text,
|
|
13012
13039
|
disabled: item.disabled,
|
|
13013
|
-
onPress: onItemPress
|
|
13040
|
+
onPress: onItemPress,
|
|
13041
|
+
highlighted: item.highlighted
|
|
13014
13042
|
});
|
|
13015
13043
|
};
|
|
13016
|
-
return /*#__PURE__*/React.createElement(
|
|
13044
|
+
return /*#__PURE__*/React.createElement(BaseOptionList, {
|
|
13017
13045
|
keyExtractor: keyExtractor,
|
|
13018
13046
|
loading: loading,
|
|
13019
13047
|
onEndReached: onEndReached,
|
|
@@ -13068,6 +13096,9 @@ function MultiSelect(_ref) {
|
|
|
13068
13096
|
}).map(function (opt) {
|
|
13069
13097
|
return opt.text;
|
|
13070
13098
|
}).join(', ');
|
|
13099
|
+
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13100
|
+
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13101
|
+
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);
|
|
13071
13102
|
useEffect(function () {
|
|
13072
13103
|
setSelectingValue(value);
|
|
13073
13104
|
}, [open]);
|
|
@@ -13152,19 +13183,25 @@ var Option$1 = function Option(_ref) {
|
|
|
13152
13183
|
_ref$disabled = _ref.disabled,
|
|
13153
13184
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13154
13185
|
selected = _ref.selected,
|
|
13155
|
-
onPress = _ref.onPress
|
|
13156
|
-
|
|
13157
|
-
|
|
13186
|
+
onPress = _ref.onPress,
|
|
13187
|
+
_ref$highlighted = _ref.highlighted,
|
|
13188
|
+
highlighted = _ref$highlighted === void 0 ? false : _ref$highlighted;
|
|
13189
|
+
var props = {
|
|
13158
13190
|
selected: selected,
|
|
13159
13191
|
disabled: disabled,
|
|
13160
13192
|
onPress: onPress,
|
|
13161
|
-
title: text
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
}
|
|
13165
|
-
});
|
|
13193
|
+
title: text
|
|
13194
|
+
};
|
|
13195
|
+
return highlighted === true ? /*#__PURE__*/React.createElement(List.Item, props) : /*#__PURE__*/React.createElement(List.BasicItem, props);
|
|
13166
13196
|
};
|
|
13167
13197
|
|
|
13198
|
+
var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
|
|
13199
|
+
var theme = _ref.theme;
|
|
13200
|
+
return {
|
|
13201
|
+
paddingBottom: theme.__hd__.select.space.singleSelectContentPaddingBottom
|
|
13202
|
+
};
|
|
13203
|
+
});
|
|
13204
|
+
|
|
13168
13205
|
var OptionList = function OptionList(_ref) {
|
|
13169
13206
|
var keyExtractor = _ref.keyExtractor,
|
|
13170
13207
|
loading = _ref.loading,
|
|
@@ -13192,7 +13229,8 @@ var OptionList = function OptionList(_ref) {
|
|
|
13192
13229
|
selected: selected,
|
|
13193
13230
|
text: item.text,
|
|
13194
13231
|
disabled: item.disabled,
|
|
13195
|
-
onPress: onItemPress
|
|
13232
|
+
onPress: onItemPress,
|
|
13233
|
+
highlighted: item.highlighted
|
|
13196
13234
|
});
|
|
13197
13235
|
};
|
|
13198
13236
|
return /*#__PURE__*/React.createElement(StyledOptionList, {
|
|
@@ -13244,6 +13282,9 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13244
13282
|
var displayedValue = (_flatOptions$find = flatOptions.find(function (opt) {
|
|
13245
13283
|
return value === opt.value;
|
|
13246
13284
|
})) === null || _flatOptions$find === void 0 ? void 0 : _flatOptions$find.text;
|
|
13285
|
+
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13286
|
+
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13287
|
+
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);
|
|
13247
13288
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
|
|
13248
13289
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
13249
13290
|
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
@@ -13439,8 +13480,7 @@ var getVariant = function getVariant(_ref) {
|
|
|
13439
13480
|
return checked ? 'checked' : 'unchecked';
|
|
13440
13481
|
};
|
|
13441
13482
|
var Switch = function Switch(_ref2) {
|
|
13442
|
-
var
|
|
13443
|
-
size = _ref2$size === void 0 ? 'medium' : _ref2$size,
|
|
13483
|
+
var _size = _ref2.size,
|
|
13444
13484
|
_ref2$disabled = _ref2.disabled,
|
|
13445
13485
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
13446
13486
|
_ref2$checked = _ref2.checked,
|
|
@@ -13448,11 +13488,13 @@ var Switch = function Switch(_ref2) {
|
|
|
13448
13488
|
onPress = _ref2.onPress,
|
|
13449
13489
|
style = _ref2.style,
|
|
13450
13490
|
testID = _ref2.testID;
|
|
13491
|
+
var size = _size === undefined ? 'medium' : _size;
|
|
13451
13492
|
var theme = useTheme$1();
|
|
13452
13493
|
var variant = getVariant({
|
|
13453
13494
|
disabled: disabled,
|
|
13454
13495
|
checked: checked
|
|
13455
13496
|
});
|
|
13497
|
+
useDeprecation("Switch's size prop will be removed in the next major release.", _size !== undefined);
|
|
13456
13498
|
var offset = checked ? (theme.__hd__["switch"].sizes.widths[size] - theme.__hd__["switch"].sizes.thumbs[size]) / 2 + theme.__hd__["switch"].sizes.thumbs[size] / 2 : 0;
|
|
13457
13499
|
var _useState = useState(function () {
|
|
13458
13500
|
return new Animated.Value(offset);
|
|
@@ -13658,7 +13700,9 @@ var getTabItem$1 = function getTabItem(_ref) {
|
|
|
13658
13700
|
icon: item,
|
|
13659
13701
|
testID: "hero-icon-".concat(item),
|
|
13660
13702
|
size: "small",
|
|
13661
|
-
|
|
13703
|
+
style: {
|
|
13704
|
+
color: color
|
|
13705
|
+
}
|
|
13662
13706
|
});
|
|
13663
13707
|
}
|
|
13664
13708
|
if (typeof item === 'string') {
|
|
@@ -13847,6 +13891,9 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13847
13891
|
_ref2$swipeEnabled = _ref2.swipeEnabled,
|
|
13848
13892
|
swipeEnabled = _ref2$swipeEnabled === void 0 ? true : _ref2$swipeEnabled,
|
|
13849
13893
|
componentTestID = _ref2.testID;
|
|
13894
|
+
useDeprecation("Tabs' showBadge will be removed in the next major release. Please use badge prop instead.", tabs.some(function (item) {
|
|
13895
|
+
return item.showBadge !== undefined;
|
|
13896
|
+
}));
|
|
13850
13897
|
var theme = useTheme$1();
|
|
13851
13898
|
var insets = useSafeAreaInsets();
|
|
13852
13899
|
var pagerViewRef = React.useRef(null);
|
|
@@ -14004,6 +14051,7 @@ var Tag = function Tag(_ref) {
|
|
|
14004
14051
|
style = _ref.style,
|
|
14005
14052
|
testID = _ref.testID,
|
|
14006
14053
|
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14054
|
+
useDeprecation("Tag's default intent is deprecated and will be removed in the next major release.\nPlease use primary intent instead.", intent !== 'default');
|
|
14007
14055
|
return /*#__PURE__*/React.createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14008
14056
|
themeIntent: intent,
|
|
14009
14057
|
themeVariant: variant,
|
|
@@ -14359,7 +14407,7 @@ var ToastContainer = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
14359
14407
|
var _ref2$displayType = _ref2.displayType,
|
|
14360
14408
|
displayType = _ref2$displayType === void 0 ? 'single' : _ref2$displayType,
|
|
14361
14409
|
_ref2$position = _ref2.position,
|
|
14362
|
-
position = _ref2$position === void 0 ? '
|
|
14410
|
+
position = _ref2$position === void 0 ? 'bottom' : _ref2$position,
|
|
14363
14411
|
style = _ref2.style;
|
|
14364
14412
|
var theme = useTheme$1();
|
|
14365
14413
|
var _useState = useState([]),
|
|
@@ -14422,8 +14470,9 @@ var ToastProvider = function ToastProvider(_ref) {
|
|
|
14422
14470
|
var children = _ref.children,
|
|
14423
14471
|
_ref$displayType = _ref.displayType,
|
|
14424
14472
|
displayType = _ref$displayType === void 0 ? 'single' : _ref$displayType,
|
|
14425
|
-
|
|
14426
|
-
|
|
14473
|
+
_position = _ref.position;
|
|
14474
|
+
var position = _position === undefined ? 'bottom' : _position;
|
|
14475
|
+
useDeprecation("Toast's position prop is deprecated and will be removed in the next major release.\nPlease remove it.", _position !== undefined);
|
|
14427
14476
|
var toastRef = useRef(null);
|
|
14428
14477
|
// @ts-expect-error: TODO: @tungv Fix this type error
|
|
14429
14478
|
var _useState = useState(null),
|
|
@@ -14612,7 +14661,7 @@ var StyledSeparator = index$a(View)(function (_ref3) {
|
|
|
14612
14661
|
flexDirection: 'row',
|
|
14613
14662
|
alignItems: 'center',
|
|
14614
14663
|
marginHorizontal: theme.space.small,
|
|
14615
|
-
backgroundColor: theme.colors.
|
|
14664
|
+
backgroundColor: theme.colors.secondaryOutline
|
|
14616
14665
|
};
|
|
14617
14666
|
});
|
|
14618
14667
|
|
|
@@ -14803,7 +14852,7 @@ var MentionList = function MentionList(_ref) {
|
|
|
14803
14852
|
color: theme.colors.secondary,
|
|
14804
14853
|
borderRadius: theme.__hd__.richTextEditor.radii.mention,
|
|
14805
14854
|
padding: highlighted ? theme.__hd__.richTextEditor.space.mention : 0,
|
|
14806
|
-
background: highlighted ? theme.colors.
|
|
14855
|
+
background: highlighted ? theme.colors.highlightedSurface : 'transparent',
|
|
14807
14856
|
marginTop: theme.space.xxsmall,
|
|
14808
14857
|
marginBottom: theme.space.xxsmall,
|
|
14809
14858
|
display: 'inline-flex'
|
|
@@ -25609,7 +25658,8 @@ function checkDCE() {
|
|
|
25609
25658
|
voids: a
|
|
25610
25659
|
}));
|
|
25611
25660
|
if (v.length > 0) if ("continue" === function () {
|
|
25612
|
-
var
|
|
25661
|
+
var _v = _slicedToArray(v, 1),
|
|
25662
|
+
r = _v[0],
|
|
25613
25663
|
n = v[v.length - 1],
|
|
25614
25664
|
_r4 = _slicedToArray(r, 2),
|
|
25615
25665
|
o = _r4[1],
|
|
Binary file
|