@hero-design/rn 8.9.1 → 8.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +9 -9
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +543 -326
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +543 -326
- package/package.json +5 -5
- package/src/components/Card/index.tsx +1 -1
- package/src/components/Carousel/CardCarousel.tsx +218 -0
- package/src/components/Carousel/StyledCardCarousel.tsx +40 -0
- package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +105 -0
- package/src/components/Carousel/__tests__/StyledCardCarousel.spec.tsx +38 -0
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +289 -0
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +109 -0
- package/src/components/Carousel/contants.ts +10 -0
- package/src/components/Carousel/index.tsx +4 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +0 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -1
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +6 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1 -6
- package/src/components/TextInput/StyledTextInput.tsx +1 -2
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +5 -6
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +6 -20
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +0 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +24 -4
- package/src/theme/components/cardCarousel.ts +28 -0
- package/src/theme/components/textInput.ts +2 -6
- package/src/theme/getTheme.ts +3 -0
- package/src/types.ts +2 -0
- package/types/components/Card/index.d.ts +1 -1
- package/types/components/Carousel/CardCarousel.d.ts +40 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +31 -0
- package/types/components/Carousel/contants.d.ts +2 -0
- package/types/components/Carousel/index.d.ts +5 -3
- 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/theme/components/cardCarousel.d.ts +25 -0
- package/types/theme/components/textInput.d.ts +1 -4
- package/types/theme/getTheme.d.ts +2 -0
- package/types/types.d.ts +2 -1
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, ScrollView, Modal,
|
|
2
|
+
import { Platform, Dimensions, StyleSheet as StyleSheet$1, Animated, View, Easing, TouchableOpacity, Text as Text$1, Image as Image$1, TouchableWithoutFeedback, Pressable, SafeAreaView, KeyboardAvoidingView, ScrollView, Modal, FlatList, useWindowDimensions, TextInput as TextInput$1, PanResponder, TouchableHighlight, InteractionManager, Keyboard, SectionList, 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';
|
|
@@ -1826,6 +1826,36 @@ var getCarouselTheme = function getCarouselTheme(theme) {
|
|
|
1826
1826
|
};
|
|
1827
1827
|
};
|
|
1828
1828
|
|
|
1829
|
+
var getCardCarouselTheme = function getCardCarouselTheme(theme) {
|
|
1830
|
+
var space = {
|
|
1831
|
+
pageControlMarginTop: theme.space.medium,
|
|
1832
|
+
carouselItemSpacing: theme.space.small,
|
|
1833
|
+
contentContainerPaddingHorizontal: theme.space.large
|
|
1834
|
+
};
|
|
1835
|
+
var colors = {
|
|
1836
|
+
shadow: theme.colors.primaryOutline,
|
|
1837
|
+
carouselItemBackground: theme.colors.defaultSurface
|
|
1838
|
+
};
|
|
1839
|
+
var shadows = {
|
|
1840
|
+
offset: {
|
|
1841
|
+
width: 0,
|
|
1842
|
+
height: 2
|
|
1843
|
+
},
|
|
1844
|
+
opacity: 0.12,
|
|
1845
|
+
radius: theme.radii.medium,
|
|
1846
|
+
elevation: 4
|
|
1847
|
+
};
|
|
1848
|
+
var radii = {
|
|
1849
|
+
card: theme.radii.medium
|
|
1850
|
+
};
|
|
1851
|
+
return {
|
|
1852
|
+
shadows: shadows,
|
|
1853
|
+
colors: colors,
|
|
1854
|
+
space: space,
|
|
1855
|
+
radii: radii
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1829
1859
|
var getCheckboxTheme = function getCheckboxTheme(theme) {
|
|
1830
1860
|
var colors = {
|
|
1831
1861
|
"default": theme.colors.primaryOutline,
|
|
@@ -2551,7 +2581,8 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
2551
2581
|
errorMarginLeft: theme.space.xsmall,
|
|
2552
2582
|
maxLengthLabelMarginLeft: theme.space.xsmall,
|
|
2553
2583
|
errorAndHelpTextContainerPaddingLeft: theme.space.medium,
|
|
2554
|
-
containerMarginTop: theme.space.small
|
|
2584
|
+
containerMarginTop: theme.space.small,
|
|
2585
|
+
labelInsideTextInputMarginTop: -theme.space.xxsmall
|
|
2555
2586
|
};
|
|
2556
2587
|
var fontSizes = {
|
|
2557
2588
|
text: theme.fontSizes.medium,
|
|
@@ -2560,10 +2591,6 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
2560
2591
|
maxLength: theme.fontSizes.small,
|
|
2561
2592
|
asteriskLabel: theme.fontSizes.medium
|
|
2562
2593
|
};
|
|
2563
|
-
var lineHeights = {
|
|
2564
|
-
text: theme.lineHeights.xsmall,
|
|
2565
|
-
labelInsideTextInput: theme.lineHeights.xsmall
|
|
2566
|
-
};
|
|
2567
2594
|
var borderWidths = {
|
|
2568
2595
|
container: {
|
|
2569
2596
|
normal: theme.borderWidths.base,
|
|
@@ -2582,7 +2609,6 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
2582
2609
|
fontSizes: fontSizes,
|
|
2583
2610
|
borderWidths: borderWidths,
|
|
2584
2611
|
radii: radii,
|
|
2585
|
-
lineHeights: lineHeights,
|
|
2586
2612
|
sizes: sizes
|
|
2587
2613
|
};
|
|
2588
2614
|
};
|
|
@@ -2729,6 +2755,7 @@ var getTheme$1 = function getTheme() {
|
|
|
2729
2755
|
calendar: getCalendarTheme(globalTheme),
|
|
2730
2756
|
card: getCardTheme(globalTheme),
|
|
2731
2757
|
carousel: getCarouselTheme(globalTheme),
|
|
2758
|
+
cardCarousel: getCardCarouselTheme(globalTheme),
|
|
2732
2759
|
checkbox: getCheckboxTheme(globalTheme),
|
|
2733
2760
|
contentNavigator: getContentNavigatorTheme(globalTheme),
|
|
2734
2761
|
datePicker: getDatePickerTheme(globalTheme),
|
|
@@ -5624,7 +5651,7 @@ var index$a = components.reduce(function (acc, comp) {
|
|
|
5624
5651
|
});
|
|
5625
5652
|
}, styled);
|
|
5626
5653
|
|
|
5627
|
-
var StyledWrapper$
|
|
5654
|
+
var StyledWrapper$c = index$a(Animated.View)(function () {
|
|
5628
5655
|
return {
|
|
5629
5656
|
margin: 0,
|
|
5630
5657
|
padding: 0,
|
|
@@ -5698,7 +5725,7 @@ var Collapse = function Collapse(_ref) {
|
|
|
5698
5725
|
var height = _ref2.height;
|
|
5699
5726
|
setContentHeight(height);
|
|
5700
5727
|
}, []);
|
|
5701
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
5728
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$c, {
|
|
5702
5729
|
style: {
|
|
5703
5730
|
height: collapseAnim
|
|
5704
5731
|
},
|
|
@@ -5711,10 +5738,10 @@ var Collapse = function Collapse(_ref) {
|
|
|
5711
5738
|
}, children)));
|
|
5712
5739
|
};
|
|
5713
5740
|
|
|
5714
|
-
var StyledWrapper$
|
|
5741
|
+
var StyledWrapper$b = index$a(View)(function () {
|
|
5715
5742
|
return {};
|
|
5716
5743
|
});
|
|
5717
|
-
var StyledItemWrapper = index$a(View)(function (_ref) {
|
|
5744
|
+
var StyledItemWrapper$1 = index$a(View)(function (_ref) {
|
|
5718
5745
|
var theme = _ref.theme,
|
|
5719
5746
|
themeVariant = _ref.themeVariant;
|
|
5720
5747
|
return {
|
|
@@ -5789,7 +5816,7 @@ var Typography = {
|
|
|
5789
5816
|
};
|
|
5790
5817
|
|
|
5791
5818
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5792
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', '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', 'exclude', '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', 'money-notes', '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-circle', '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', 'article-outlined', 'at-sign', 'auto-graph-outlined', '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', 'call-split-outlined', 'camera-outlined', 'cancel', 'charging-station-outlined', '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', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-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-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-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-on-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', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-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', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5819
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', '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', 'exclude', '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', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', '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-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', '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', 'article-outlined', 'at-sign', 'auto-graph-outlined', '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', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', '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', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-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-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-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-on-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', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-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', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5793
5820
|
|
|
5794
5821
|
var activate = 59000;
|
|
5795
5822
|
var adjustment = 59003;
|
|
@@ -5838,44 +5865,44 @@ var node = 59124;
|
|
|
5838
5865
|
var paperclip = 59126;
|
|
5839
5866
|
var pencil = 59128;
|
|
5840
5867
|
var phone = 59129;
|
|
5841
|
-
var plane =
|
|
5842
|
-
var print =
|
|
5843
|
-
var reply =
|
|
5844
|
-
var reschedule =
|
|
5845
|
-
var rostering =
|
|
5846
|
-
var save =
|
|
5847
|
-
var schedule =
|
|
5848
|
-
var send =
|
|
5849
|
-
var speaker =
|
|
5850
|
-
var star =
|
|
5851
|
-
var stopwatch =
|
|
5852
|
-
var suitcase =
|
|
5853
|
-
var survey =
|
|
5854
|
-
var swag =
|
|
5855
|
-
var tag =
|
|
5856
|
-
var target =
|
|
5857
|
-
var teams =
|
|
5858
|
-
var timesheet =
|
|
5859
|
-
var unlock =
|
|
5860
|
-
var user =
|
|
5861
|
-
var wallet =
|
|
5862
|
-
var warning =
|
|
5863
|
-
var add =
|
|
5864
|
-
var bold =
|
|
5865
|
-
var cancel =
|
|
5866
|
-
var checkmark =
|
|
5867
|
-
var italic =
|
|
5868
|
-
var number =
|
|
5869
|
-
var percentage =
|
|
5870
|
-
var redeem =
|
|
5871
|
-
var refresh =
|
|
5872
|
-
var remove =
|
|
5873
|
-
var restart =
|
|
5874
|
-
var strikethrough =
|
|
5875
|
-
var sync =
|
|
5876
|
-
var transfer =
|
|
5877
|
-
var unavailable =
|
|
5878
|
-
var underline =
|
|
5868
|
+
var plane = 59132;
|
|
5869
|
+
var print = 59134;
|
|
5870
|
+
var reply = 59137;
|
|
5871
|
+
var reschedule = 59138;
|
|
5872
|
+
var rostering = 59139;
|
|
5873
|
+
var save = 59140;
|
|
5874
|
+
var schedule = 59142;
|
|
5875
|
+
var send = 59144;
|
|
5876
|
+
var speaker = 59146;
|
|
5877
|
+
var star = 59151;
|
|
5878
|
+
var stopwatch = 59153;
|
|
5879
|
+
var suitcase = 59154;
|
|
5880
|
+
var survey = 59155;
|
|
5881
|
+
var swag = 59160;
|
|
5882
|
+
var tag = 59162;
|
|
5883
|
+
var target = 59163;
|
|
5884
|
+
var teams = 59164;
|
|
5885
|
+
var timesheet = 59165;
|
|
5886
|
+
var unlock = 59168;
|
|
5887
|
+
var user = 59169;
|
|
5888
|
+
var wallet = 59172;
|
|
5889
|
+
var warning = 59173;
|
|
5890
|
+
var add = 59179;
|
|
5891
|
+
var bold = 59200;
|
|
5892
|
+
var cancel = 59211;
|
|
5893
|
+
var checkmark = 59216;
|
|
5894
|
+
var italic = 59293;
|
|
5895
|
+
var number = 59317;
|
|
5896
|
+
var percentage = 59322;
|
|
5897
|
+
var redeem = 59331;
|
|
5898
|
+
var refresh = 59332;
|
|
5899
|
+
var remove = 59333;
|
|
5900
|
+
var restart = 59335;
|
|
5901
|
+
var strikethrough = 59356;
|
|
5902
|
+
var sync = 59361;
|
|
5903
|
+
var transfer = 59365;
|
|
5904
|
+
var unavailable = 59368;
|
|
5905
|
+
var underline = 59369;
|
|
5879
5906
|
var glyphMap = {
|
|
5880
5907
|
activate: activate,
|
|
5881
5908
|
"add-emoji": 59001,
|
|
@@ -6008,249 +6035,255 @@ var glyphMap = {
|
|
|
6008
6035
|
pencil: pencil,
|
|
6009
6036
|
phone: phone,
|
|
6010
6037
|
"piggy-bank": 59130,
|
|
6038
|
+
"plane-up": 59131,
|
|
6011
6039
|
plane: plane,
|
|
6012
|
-
"play-circle":
|
|
6040
|
+
"play-circle": 59133,
|
|
6013
6041
|
print: print,
|
|
6014
|
-
"raising-hands":
|
|
6015
|
-
"reply-arrow":
|
|
6042
|
+
"raising-hands": 59135,
|
|
6043
|
+
"reply-arrow": 59136,
|
|
6016
6044
|
reply: reply,
|
|
6017
6045
|
reschedule: reschedule,
|
|
6018
6046
|
rostering: rostering,
|
|
6019
6047
|
save: save,
|
|
6020
|
-
"schedule-send":
|
|
6048
|
+
"schedule-send": 59141,
|
|
6021
6049
|
schedule: schedule,
|
|
6022
|
-
"search-person":
|
|
6050
|
+
"search-person": 59143,
|
|
6023
6051
|
send: send,
|
|
6024
|
-
"speaker-active":
|
|
6052
|
+
"speaker-active": 59145,
|
|
6025
6053
|
speaker: speaker,
|
|
6026
|
-
"star-award":
|
|
6027
|
-
"star-badge":
|
|
6028
|
-
"star-circle":
|
|
6029
|
-
"star-medal":
|
|
6054
|
+
"star-award": 59147,
|
|
6055
|
+
"star-badge": 59148,
|
|
6056
|
+
"star-circle": 59149,
|
|
6057
|
+
"star-medal": 59150,
|
|
6030
6058
|
star: star,
|
|
6031
|
-
"steps-circle":
|
|
6059
|
+
"steps-circle": 59152,
|
|
6032
6060
|
stopwatch: stopwatch,
|
|
6033
6061
|
suitcase: suitcase,
|
|
6034
6062
|
survey: survey,
|
|
6063
|
+
"swag-pillar-benefit": 59156,
|
|
6064
|
+
"swag-pillar-career": 59157,
|
|
6065
|
+
"swag-pillar-money": 59158,
|
|
6066
|
+
"swag-pillar-work": 59159,
|
|
6035
6067
|
swag: swag,
|
|
6036
|
-
"switch":
|
|
6068
|
+
"switch": 59161,
|
|
6037
6069
|
tag: tag,
|
|
6038
6070
|
target: target,
|
|
6039
6071
|
teams: teams,
|
|
6040
6072
|
timesheet: timesheet,
|
|
6041
|
-
"touch-id":
|
|
6042
|
-
"trash-bin":
|
|
6073
|
+
"touch-id": 59166,
|
|
6074
|
+
"trash-bin": 59167,
|
|
6043
6075
|
unlock: unlock,
|
|
6044
6076
|
user: user,
|
|
6045
|
-
"video-1":
|
|
6046
|
-
"video-2":
|
|
6077
|
+
"video-1": 59170,
|
|
6078
|
+
"video-2": 59171,
|
|
6047
6079
|
wallet: wallet,
|
|
6048
6080
|
warning: warning,
|
|
6049
|
-
"activate-outlined":
|
|
6050
|
-
"add-credit-card-outlined":
|
|
6051
|
-
"add-person-outlined":
|
|
6052
|
-
"add-section-outlined":
|
|
6053
|
-
"add-time-outlined":
|
|
6081
|
+
"activate-outlined": 59174,
|
|
6082
|
+
"add-credit-card-outlined": 59175,
|
|
6083
|
+
"add-person-outlined": 59176,
|
|
6084
|
+
"add-section-outlined": 59177,
|
|
6085
|
+
"add-time-outlined": 59178,
|
|
6054
6086
|
add: add,
|
|
6055
|
-
"adjustment-outlined":
|
|
6056
|
-
"alignment-2-outlined":
|
|
6057
|
-
"alignment-outlined":
|
|
6058
|
-
"all-caps":
|
|
6059
|
-
"arrow-down":
|
|
6060
|
-
"arrow-downwards":
|
|
6061
|
-
"arrow-left":
|
|
6062
|
-
"arrow-leftwards":
|
|
6063
|
-
"arrow-right":
|
|
6064
|
-
"arrow-rightwards":
|
|
6065
|
-
"arrow-up":
|
|
6066
|
-
"arrow-upwards":
|
|
6067
|
-
"article-outlined":
|
|
6068
|
-
"at-sign":
|
|
6069
|
-
"auto-graph-outlined":
|
|
6070
|
-
"bell-active-outlined":
|
|
6071
|
-
"bell-outlined":
|
|
6072
|
-
"bell-slash-outlined":
|
|
6073
|
-
"billing-outlined":
|
|
6074
|
-
"body-outlined":
|
|
6087
|
+
"adjustment-outlined": 59180,
|
|
6088
|
+
"alignment-2-outlined": 59181,
|
|
6089
|
+
"alignment-outlined": 59182,
|
|
6090
|
+
"all-caps": 59183,
|
|
6091
|
+
"arrow-down": 59184,
|
|
6092
|
+
"arrow-downwards": 59185,
|
|
6093
|
+
"arrow-left": 59186,
|
|
6094
|
+
"arrow-leftwards": 59187,
|
|
6095
|
+
"arrow-right": 59188,
|
|
6096
|
+
"arrow-rightwards": 59189,
|
|
6097
|
+
"arrow-up": 59190,
|
|
6098
|
+
"arrow-upwards": 59191,
|
|
6099
|
+
"article-outlined": 59192,
|
|
6100
|
+
"at-sign": 59193,
|
|
6101
|
+
"auto-graph-outlined": 59194,
|
|
6102
|
+
"bell-active-outlined": 59195,
|
|
6103
|
+
"bell-outlined": 59196,
|
|
6104
|
+
"bell-slash-outlined": 59197,
|
|
6105
|
+
"billing-outlined": 59198,
|
|
6106
|
+
"body-outlined": 59199,
|
|
6075
6107
|
bold: bold,
|
|
6076
|
-
"bookmark-added-outlined":
|
|
6077
|
-
"bookmark-outlined":
|
|
6078
|
-
"box-check-outlined":
|
|
6079
|
-
"box-outlined":
|
|
6080
|
-
"bullet-points":
|
|
6081
|
-
"cake-outlined":
|
|
6082
|
-
"calendar-dates-outlined":
|
|
6083
|
-
"calendar-star-outlined":
|
|
6084
|
-
"call-split-outlined":
|
|
6085
|
-
"camera-outlined":
|
|
6108
|
+
"bookmark-added-outlined": 59201,
|
|
6109
|
+
"bookmark-outlined": 59202,
|
|
6110
|
+
"box-check-outlined": 59203,
|
|
6111
|
+
"box-outlined": 59204,
|
|
6112
|
+
"bullet-points": 59205,
|
|
6113
|
+
"cake-outlined": 59206,
|
|
6114
|
+
"calendar-dates-outlined": 59207,
|
|
6115
|
+
"calendar-star-outlined": 59208,
|
|
6116
|
+
"call-split-outlined": 59209,
|
|
6117
|
+
"camera-outlined": 59210,
|
|
6086
6118
|
cancel: cancel,
|
|
6087
|
-
"
|
|
6088
|
-
"
|
|
6089
|
-
"chat-
|
|
6119
|
+
"car-forward-outlined": 59212,
|
|
6120
|
+
"charging-station-outlined": 59213,
|
|
6121
|
+
"chat-bubble-outlined": 59214,
|
|
6122
|
+
"chat-unread-outlined": 59215,
|
|
6090
6123
|
checkmark: checkmark,
|
|
6091
|
-
"circle-add-outlined":
|
|
6092
|
-
"circle-cancel-outlined":
|
|
6093
|
-
"circle-down-outlined":
|
|
6094
|
-
"circle-info-outlined":
|
|
6095
|
-
"circle-left-outlined":
|
|
6096
|
-
"circle-ok-outlined":
|
|
6097
|
-
"circle-question-outlined":
|
|
6098
|
-
"circle-remove-outlined":
|
|
6099
|
-
"circle-right-outlined":
|
|
6100
|
-
"circle-up-outlined":
|
|
6101
|
-
"circle-warning-outlined":
|
|
6102
|
-
"clock-2-outlined":
|
|
6103
|
-
"clock-outlined":
|
|
6104
|
-
"cog-outlined":
|
|
6105
|
-
"coin-outlined":
|
|
6106
|
-
"comment-outlined":
|
|
6107
|
-
"contacts-outlined":
|
|
6108
|
-
"contacts-user-outlined":
|
|
6109
|
-
"credit-card-outlined":
|
|
6110
|
-
"cup-outlined":
|
|
6111
|
-
"direction-arrows-outlined":
|
|
6112
|
-
"directory-outlined":
|
|
6113
|
-
"document-outlined":
|
|
6114
|
-
"dollar-box-outlined":
|
|
6115
|
-
"dollar-card-outlined":
|
|
6116
|
-
"dollar-coin-shine-outlined":
|
|
6117
|
-
"dollar-credit-card-outlined":
|
|
6118
|
-
"dollar-sign":
|
|
6119
|
-
"double-buildings-outlined":
|
|
6120
|
-
"double-left-arrows":
|
|
6121
|
-
"double-right-arrows":
|
|
6122
|
-
"download-outlined":
|
|
6123
|
-
"edit-template-outlined":
|
|
6124
|
-
"email-outlined":
|
|
6125
|
-
"enter-arrow":
|
|
6126
|
-
"envelope-outlined":
|
|
6127
|
-
"expense-outlined":
|
|
6128
|
-
"explore-outlined":
|
|
6129
|
-
"external-link":
|
|
6130
|
-
"eye-invisible-outlined":
|
|
6131
|
-
"eye-outlined":
|
|
6132
|
-
"face-id":
|
|
6133
|
-
"face-meh-outlined":
|
|
6134
|
-
"face-open-smiley-outlined":
|
|
6135
|
-
"face-sad-outlined":
|
|
6136
|
-
"face-smiley-outlined":
|
|
6137
|
-
"feed-outlined":
|
|
6138
|
-
"file-certified-outlined":
|
|
6139
|
-
"file-clone-outlined":
|
|
6140
|
-
"file-copy-outlined":
|
|
6141
|
-
"file-dispose-outlined":
|
|
6142
|
-
"file-dollar-certified-outlined":
|
|
6143
|
-
"file-dollar-outlined":
|
|
6144
|
-
"file-download-outlined":
|
|
6145
|
-
"file-export-outlined":
|
|
6146
|
-
"file-lock-outlined":
|
|
6147
|
-
"file-outlined":
|
|
6148
|
-
"file-search-outlined":
|
|
6149
|
-
"file-secured-outlined":
|
|
6150
|
-
"file-statutory-outlined":
|
|
6151
|
-
"file-verified-outlined":
|
|
6152
|
-
"filter-outlined":
|
|
6153
|
-
"folder-outlined":
|
|
6154
|
-
"folder-user-outlined":
|
|
6155
|
-
"funnel-filter-outline":
|
|
6156
|
-
"graph-outlined":
|
|
6157
|
-
"hand-holding-user-outlined":
|
|
6158
|
-
"happy-sun-outlined":
|
|
6159
|
-
"health-bag-outlined":
|
|
6160
|
-
"heart-outlined":
|
|
6161
|
-
"home-active-outlined":
|
|
6162
|
-
"home-outlined":
|
|
6163
|
-
"id-card-outlined":
|
|
6164
|
-
"image-outlined":
|
|
6165
|
-
"import-outlined":
|
|
6166
|
-
"instapay-outlined":
|
|
6124
|
+
"circle-add-outlined": 59217,
|
|
6125
|
+
"circle-cancel-outlined": 59218,
|
|
6126
|
+
"circle-down-outlined": 59219,
|
|
6127
|
+
"circle-info-outlined": 59220,
|
|
6128
|
+
"circle-left-outlined": 59221,
|
|
6129
|
+
"circle-ok-outlined": 59222,
|
|
6130
|
+
"circle-question-outlined": 59223,
|
|
6131
|
+
"circle-remove-outlined": 59224,
|
|
6132
|
+
"circle-right-outlined": 59225,
|
|
6133
|
+
"circle-up-outlined": 59226,
|
|
6134
|
+
"circle-warning-outlined": 59227,
|
|
6135
|
+
"clock-2-outlined": 59228,
|
|
6136
|
+
"clock-outlined": 59229,
|
|
6137
|
+
"cog-outlined": 59230,
|
|
6138
|
+
"coin-outlined": 59231,
|
|
6139
|
+
"comment-outlined": 59232,
|
|
6140
|
+
"contacts-outlined": 59233,
|
|
6141
|
+
"contacts-user-outlined": 59234,
|
|
6142
|
+
"credit-card-outlined": 59235,
|
|
6143
|
+
"cup-outlined": 59236,
|
|
6144
|
+
"direction-arrows-outlined": 59237,
|
|
6145
|
+
"directory-outlined": 59238,
|
|
6146
|
+
"document-outlined": 59239,
|
|
6147
|
+
"dollar-box-outlined": 59240,
|
|
6148
|
+
"dollar-card-outlined": 59241,
|
|
6149
|
+
"dollar-coin-shine-outlined": 59242,
|
|
6150
|
+
"dollar-credit-card-outlined": 59243,
|
|
6151
|
+
"dollar-sign": 59244,
|
|
6152
|
+
"double-buildings-outlined": 59245,
|
|
6153
|
+
"double-left-arrows": 59246,
|
|
6154
|
+
"double-right-arrows": 59247,
|
|
6155
|
+
"download-outlined": 59248,
|
|
6156
|
+
"edit-template-outlined": 59249,
|
|
6157
|
+
"email-outlined": 59250,
|
|
6158
|
+
"enter-arrow": 59251,
|
|
6159
|
+
"envelope-outlined": 59252,
|
|
6160
|
+
"expense-outlined": 59253,
|
|
6161
|
+
"explore-outlined": 59254,
|
|
6162
|
+
"external-link": 59255,
|
|
6163
|
+
"eye-invisible-outlined": 59256,
|
|
6164
|
+
"eye-outlined": 59257,
|
|
6165
|
+
"face-id": 59258,
|
|
6166
|
+
"face-meh-outlined": 59259,
|
|
6167
|
+
"face-open-smiley-outlined": 59260,
|
|
6168
|
+
"face-sad-outlined": 59261,
|
|
6169
|
+
"face-smiley-outlined": 59262,
|
|
6170
|
+
"feed-outlined": 59263,
|
|
6171
|
+
"file-certified-outlined": 59264,
|
|
6172
|
+
"file-clone-outlined": 59265,
|
|
6173
|
+
"file-copy-outlined": 59266,
|
|
6174
|
+
"file-dispose-outlined": 59267,
|
|
6175
|
+
"file-dollar-certified-outlined": 59268,
|
|
6176
|
+
"file-dollar-outlined": 59269,
|
|
6177
|
+
"file-download-outlined": 59270,
|
|
6178
|
+
"file-export-outlined": 59271,
|
|
6179
|
+
"file-lock-outlined": 59272,
|
|
6180
|
+
"file-outlined": 59273,
|
|
6181
|
+
"file-search-outlined": 59274,
|
|
6182
|
+
"file-secured-outlined": 59275,
|
|
6183
|
+
"file-statutory-outlined": 59276,
|
|
6184
|
+
"file-verified-outlined": 59277,
|
|
6185
|
+
"filter-outlined": 59278,
|
|
6186
|
+
"folder-outlined": 59279,
|
|
6187
|
+
"folder-user-outlined": 59280,
|
|
6188
|
+
"funnel-filter-outline": 59281,
|
|
6189
|
+
"graph-outlined": 59282,
|
|
6190
|
+
"hand-holding-user-outlined": 59283,
|
|
6191
|
+
"happy-sun-outlined": 59284,
|
|
6192
|
+
"health-bag-outlined": 59285,
|
|
6193
|
+
"heart-outlined": 59286,
|
|
6194
|
+
"home-active-outlined": 59287,
|
|
6195
|
+
"home-outlined": 59288,
|
|
6196
|
+
"id-card-outlined": 59289,
|
|
6197
|
+
"image-outlined": 59290,
|
|
6198
|
+
"import-outlined": 59291,
|
|
6199
|
+
"instapay-outlined": 59292,
|
|
6167
6200
|
italic: italic,
|
|
6168
|
-
"link-1":
|
|
6169
|
-
"link-2":
|
|
6170
|
-
"list-outlined":
|
|
6171
|
-
"live-help-outlined":
|
|
6172
|
-
"location-on-outlined":
|
|
6173
|
-
"location-outlined":
|
|
6174
|
-
"lock-outlined":
|
|
6175
|
-
"locked-file-outlined":
|
|
6176
|
-
"log-out":
|
|
6177
|
-
"media-content-outlined":
|
|
6178
|
-
"menu-close":
|
|
6179
|
-
"menu-expand":
|
|
6180
|
-
"menu-fold-outlined":
|
|
6181
|
-
"menu-unfold-outlined":
|
|
6182
|
-
"moneybag-outlined":
|
|
6183
|
-
"moon-outlined":
|
|
6184
|
-
"more-horizontal":
|
|
6185
|
-
"more-vertical":
|
|
6186
|
-
"multiple-folders-outlined":
|
|
6187
|
-
"multiple-users-outlined":
|
|
6188
|
-
"near-me-outlined":
|
|
6189
|
-
"node-outlined":
|
|
6190
|
-
"number-points":
|
|
6201
|
+
"link-1": 59294,
|
|
6202
|
+
"link-2": 59295,
|
|
6203
|
+
"list-outlined": 59296,
|
|
6204
|
+
"live-help-outlined": 59297,
|
|
6205
|
+
"location-on-outlined": 59298,
|
|
6206
|
+
"location-outlined": 59299,
|
|
6207
|
+
"lock-outlined": 59300,
|
|
6208
|
+
"locked-file-outlined": 59301,
|
|
6209
|
+
"log-out": 59302,
|
|
6210
|
+
"media-content-outlined": 59303,
|
|
6211
|
+
"menu-close": 59304,
|
|
6212
|
+
"menu-expand": 59305,
|
|
6213
|
+
"menu-fold-outlined": 59306,
|
|
6214
|
+
"menu-unfold-outlined": 59307,
|
|
6215
|
+
"moneybag-outlined": 59308,
|
|
6216
|
+
"moon-outlined": 59309,
|
|
6217
|
+
"more-horizontal": 59310,
|
|
6218
|
+
"more-vertical": 59311,
|
|
6219
|
+
"multiple-folders-outlined": 59312,
|
|
6220
|
+
"multiple-users-outlined": 59313,
|
|
6221
|
+
"near-me-outlined": 59314,
|
|
6222
|
+
"node-outlined": 59315,
|
|
6223
|
+
"number-points": 59316,
|
|
6191
6224
|
number: number,
|
|
6192
|
-
"overview-outlined":
|
|
6193
|
-
"payment-summary-outlined":
|
|
6194
|
-
"payslip-outlined":
|
|
6195
|
-
"pencil-outlined":
|
|
6225
|
+
"overview-outlined": 59318,
|
|
6226
|
+
"payment-summary-outlined": 59319,
|
|
6227
|
+
"payslip-outlined": 59320,
|
|
6228
|
+
"pencil-outlined": 59321,
|
|
6196
6229
|
percentage: percentage,
|
|
6197
|
-
"phone-outlined":
|
|
6198
|
-
"piggy-bank-outlined":
|
|
6199
|
-
"plane-outlined":
|
|
6200
|
-
"play-circle-outlined":
|
|
6201
|
-
"print-outlined":
|
|
6202
|
-
"qr-code-outlined":
|
|
6203
|
-
"qualification-outlined":
|
|
6204
|
-
"re-assign":
|
|
6230
|
+
"phone-outlined": 59323,
|
|
6231
|
+
"piggy-bank-outlined": 59324,
|
|
6232
|
+
"plane-outlined": 59325,
|
|
6233
|
+
"play-circle-outlined": 59326,
|
|
6234
|
+
"print-outlined": 59327,
|
|
6235
|
+
"qr-code-outlined": 59328,
|
|
6236
|
+
"qualification-outlined": 59329,
|
|
6237
|
+
"re-assign": 59330,
|
|
6205
6238
|
redeem: redeem,
|
|
6206
6239
|
refresh: refresh,
|
|
6207
6240
|
remove: remove,
|
|
6208
|
-
"reply-outlined":
|
|
6241
|
+
"reply-outlined": 59334,
|
|
6209
6242
|
restart: restart,
|
|
6210
|
-
"return-arrow":
|
|
6211
|
-
"rostering-outlined":
|
|
6212
|
-
"save-outlined":
|
|
6213
|
-
"schedule-outlined":
|
|
6214
|
-
"search-outlined":
|
|
6215
|
-
"search-secured-outlined":
|
|
6216
|
-
"send-outlined":
|
|
6217
|
-
"share-1":
|
|
6218
|
-
"share-2":
|
|
6219
|
-
"share-outlined":
|
|
6220
|
-
"show-chart-outlined":
|
|
6221
|
-
"single-down-arrow":
|
|
6222
|
-
"single-left-arrow":
|
|
6223
|
-
"single-right-arrow":
|
|
6224
|
-
"single-up-arrow":
|
|
6225
|
-
"speaker-active-outlined":
|
|
6226
|
-
"speaker-outlined":
|
|
6227
|
-
"star-circle-outlined":
|
|
6228
|
-
"star-outlined":
|
|
6229
|
-
"stopwatch-outlined":
|
|
6243
|
+
"return-arrow": 59336,
|
|
6244
|
+
"rostering-outlined": 59337,
|
|
6245
|
+
"save-outlined": 59338,
|
|
6246
|
+
"schedule-outlined": 59339,
|
|
6247
|
+
"search-outlined": 59340,
|
|
6248
|
+
"search-secured-outlined": 59341,
|
|
6249
|
+
"send-outlined": 59342,
|
|
6250
|
+
"share-1": 59343,
|
|
6251
|
+
"share-2": 59344,
|
|
6252
|
+
"share-outlined": 59345,
|
|
6253
|
+
"show-chart-outlined": 59346,
|
|
6254
|
+
"single-down-arrow": 59347,
|
|
6255
|
+
"single-left-arrow": 59348,
|
|
6256
|
+
"single-right-arrow": 59349,
|
|
6257
|
+
"single-up-arrow": 59350,
|
|
6258
|
+
"speaker-active-outlined": 59351,
|
|
6259
|
+
"speaker-outlined": 59352,
|
|
6260
|
+
"star-circle-outlined": 59353,
|
|
6261
|
+
"star-outlined": 59354,
|
|
6262
|
+
"stopwatch-outlined": 59355,
|
|
6230
6263
|
strikethrough: strikethrough,
|
|
6231
|
-
"suitcase-clock-outlined":
|
|
6232
|
-
"suitcase-outlined":
|
|
6233
|
-
"survey-outlined":
|
|
6234
|
-
"switch-outlined":
|
|
6264
|
+
"suitcase-clock-outlined": 59357,
|
|
6265
|
+
"suitcase-outlined": 59358,
|
|
6266
|
+
"survey-outlined": 59359,
|
|
6267
|
+
"switch-outlined": 59360,
|
|
6235
6268
|
sync: sync,
|
|
6236
|
-
"target-outlined":
|
|
6237
|
-
"timesheet-outlined":
|
|
6238
|
-
"today-outlined":
|
|
6269
|
+
"target-outlined": 59362,
|
|
6270
|
+
"timesheet-outlined": 59363,
|
|
6271
|
+
"today-outlined": 59364,
|
|
6239
6272
|
transfer: transfer,
|
|
6240
|
-
"trash-bin-outlined":
|
|
6241
|
-
"umbrela-outlined":
|
|
6273
|
+
"trash-bin-outlined": 59366,
|
|
6274
|
+
"umbrela-outlined": 59367,
|
|
6242
6275
|
unavailable: unavailable,
|
|
6243
6276
|
underline: underline,
|
|
6244
|
-
"union-outlined":
|
|
6245
|
-
"unlock-outlined":
|
|
6246
|
-
"upload-outlined":
|
|
6247
|
-
"user-circle-outlined":
|
|
6248
|
-
"user-gear-outlined":
|
|
6249
|
-
"user-outlined":
|
|
6250
|
-
"user-rectangle-outlined":
|
|
6251
|
-
"video-1-outlined":
|
|
6252
|
-
"video-2-outlined":
|
|
6253
|
-
"wallet-outlined":
|
|
6277
|
+
"union-outlined": 59370,
|
|
6278
|
+
"unlock-outlined": 59371,
|
|
6279
|
+
"upload-outlined": 59372,
|
|
6280
|
+
"user-circle-outlined": 59373,
|
|
6281
|
+
"user-gear-outlined": 59374,
|
|
6282
|
+
"user-outlined": 59375,
|
|
6283
|
+
"user-rectangle-outlined": 59376,
|
|
6284
|
+
"video-1-outlined": 59377,
|
|
6285
|
+
"video-2-outlined": 59378,
|
|
6286
|
+
"wallet-outlined": 59379
|
|
6254
6287
|
};
|
|
6255
6288
|
|
|
6256
6289
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6366,7 +6399,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
6366
6399
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
6367
6400
|
style = _ref.style,
|
|
6368
6401
|
testID = _ref.testID;
|
|
6369
|
-
return /*#__PURE__*/React.createElement(StyledItemWrapper, {
|
|
6402
|
+
return /*#__PURE__*/React.createElement(StyledItemWrapper$1, {
|
|
6370
6403
|
themeVariant: variant,
|
|
6371
6404
|
style: style,
|
|
6372
6405
|
testID: testID
|
|
@@ -6400,7 +6433,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
6400
6433
|
_usePropsOrInternalSt2 = _slicedToArray(_usePropsOrInternalSt, 2),
|
|
6401
6434
|
_activeItemKey = _usePropsOrInternalSt2[0],
|
|
6402
6435
|
_onItemPress = _usePropsOrInternalSt2[1];
|
|
6403
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
6436
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$b, {
|
|
6404
6437
|
style: style,
|
|
6405
6438
|
testID: testID
|
|
6406
6439
|
}, items.map(function (_ref2, index) {
|
|
@@ -6587,7 +6620,7 @@ var Attachment = function Attachment(_ref) {
|
|
|
6587
6620
|
})) : null);
|
|
6588
6621
|
};
|
|
6589
6622
|
|
|
6590
|
-
var StyledWrapper$
|
|
6623
|
+
var StyledWrapper$a = index$a(TouchableOpacity)(function (_ref) {
|
|
6591
6624
|
var themeSize = _ref.themeSize,
|
|
6592
6625
|
themeIntent = _ref.themeIntent,
|
|
6593
6626
|
theme = _ref.theme;
|
|
@@ -6642,7 +6675,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
6642
6675
|
hasImageError = _useState2[0],
|
|
6643
6676
|
setHasImageError = _useState2[1];
|
|
6644
6677
|
if (title === undefined && source === undefined) return null;
|
|
6645
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
6678
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$a, {
|
|
6646
6679
|
testID: testID,
|
|
6647
6680
|
onPress: onPress,
|
|
6648
6681
|
disabled: onPress === undefined,
|
|
@@ -6666,7 +6699,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
6666
6699
|
};
|
|
6667
6700
|
|
|
6668
6701
|
var VISIBLE_RATIO = 0.7;
|
|
6669
|
-
var StyledWrapper$
|
|
6702
|
+
var StyledWrapper$9 = index$a(View)(function (_ref) {
|
|
6670
6703
|
var theme = _ref.theme,
|
|
6671
6704
|
themeSize = _ref.themeSize,
|
|
6672
6705
|
themeAvatarCount = _ref.themeAvatarCount;
|
|
@@ -6728,7 +6761,7 @@ var AvatarStack = function AvatarStack(_ref) {
|
|
|
6728
6761
|
});
|
|
6729
6762
|
avatars.push(remainingAvatar);
|
|
6730
6763
|
}
|
|
6731
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
6764
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$9, {
|
|
6732
6765
|
themeSize: size,
|
|
6733
6766
|
themeAvatarCount: avatars.length,
|
|
6734
6767
|
style: style,
|
|
@@ -7063,7 +7096,7 @@ var Divider = function Divider(_ref) {
|
|
|
7063
7096
|
|
|
7064
7097
|
var AnimatedPressable$1 = Animated.createAnimatedComponent(Pressable);
|
|
7065
7098
|
var AnimatedSafeAreaView = Animated.createAnimatedComponent(SafeAreaView);
|
|
7066
|
-
var StyledWrapper$
|
|
7099
|
+
var StyledWrapper$8 = index$a(View)(_objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
7067
7100
|
flexDirection: 'column-reverse'
|
|
7068
7101
|
}));
|
|
7069
7102
|
var StyledKeyboardAvoidingView = index$a(KeyboardAvoidingView)(function () {
|
|
@@ -7722,7 +7755,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
7722
7755
|
transparent: true,
|
|
7723
7756
|
testID: testID,
|
|
7724
7757
|
onShow: onOpen
|
|
7725
|
-
}, /*#__PURE__*/React.createElement(StyledWrapper$
|
|
7758
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper$8, {
|
|
7726
7759
|
pointerEvents: "box-none"
|
|
7727
7760
|
}, /*#__PURE__*/React.createElement(StyledKeyboardAvoidingView, _extends$1({
|
|
7728
7761
|
behavior: Platform.OS === 'ios' ? 'padding' : 'height'
|
|
@@ -10553,7 +10586,7 @@ var Image = function Image(_ref) {
|
|
|
10553
10586
|
}, imageNativeProps));
|
|
10554
10587
|
};
|
|
10555
10588
|
|
|
10556
|
-
var StyledPageControl$
|
|
10589
|
+
var StyledPageControl$2 = index$a(View)(function () {
|
|
10557
10590
|
return {
|
|
10558
10591
|
flexDirection: 'row',
|
|
10559
10592
|
alignItems: 'center'
|
|
@@ -10581,7 +10614,7 @@ var PageControl = function PageControl(_ref) {
|
|
|
10581
10614
|
React.useEffect(function () {
|
|
10582
10615
|
animatedValue.setValue(currentPage);
|
|
10583
10616
|
}, [currentPage]);
|
|
10584
|
-
return /*#__PURE__*/React.createElement(StyledPageControl$
|
|
10617
|
+
return /*#__PURE__*/React.createElement(StyledPageControl$2, {
|
|
10585
10618
|
testID: testID,
|
|
10586
10619
|
style: style
|
|
10587
10620
|
}, new Array(numberOfPages).fill('').map(function (_, index) {
|
|
@@ -10670,7 +10703,7 @@ var StyledCarouselFooterWrapper = index$a(View)(function (_ref5) {
|
|
|
10670
10703
|
marginBottom: theme.__hd__.carousel.space.footerMarginBottom
|
|
10671
10704
|
};
|
|
10672
10705
|
});
|
|
10673
|
-
var StyledPageControl = index$a(PageControl)({
|
|
10706
|
+
var StyledPageControl$1 = index$a(PageControl)({
|
|
10674
10707
|
marginStart: 'auto'
|
|
10675
10708
|
});
|
|
10676
10709
|
|
|
@@ -10705,7 +10738,243 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
10705
10738
|
}, body) : null));
|
|
10706
10739
|
};
|
|
10707
10740
|
|
|
10708
|
-
|
|
10741
|
+
/*
|
|
10742
|
+
* Carousel item width.
|
|
10743
|
+
* the percentage of the Card Carousel width
|
|
10744
|
+
*/
|
|
10745
|
+
var ITEM_WIDTH_RATE = 0.85;
|
|
10746
|
+
/*
|
|
10747
|
+
* view position when scroll to Index
|
|
10748
|
+
*/
|
|
10749
|
+
var VIEW_POSITION_CENTER = 0.5;
|
|
10750
|
+
|
|
10751
|
+
var StyledDataCard = index$a(View)(function (_ref) {
|
|
10752
|
+
var theme = _ref.theme;
|
|
10753
|
+
return {
|
|
10754
|
+
borderRadius: theme.__hd__.card.radii["default"],
|
|
10755
|
+
overflow: 'hidden',
|
|
10756
|
+
flexDirection: 'row'
|
|
10757
|
+
};
|
|
10758
|
+
});
|
|
10759
|
+
var Indicator = index$a(View)(function (_ref2) {
|
|
10760
|
+
var theme = _ref2.theme,
|
|
10761
|
+
themeIntent = _ref2.themeIntent;
|
|
10762
|
+
return {
|
|
10763
|
+
backgroundColor: theme.__hd__.card.colors[themeIntent],
|
|
10764
|
+
width: theme.__hd__.card.sizes.indicatorWidth,
|
|
10765
|
+
height: '100%'
|
|
10766
|
+
};
|
|
10767
|
+
});
|
|
10768
|
+
|
|
10769
|
+
var _excluded$d = ["intent", "children"];
|
|
10770
|
+
var DataCard = function DataCard(_ref) {
|
|
10771
|
+
var _ref$intent = _ref.intent,
|
|
10772
|
+
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
10773
|
+
children = _ref.children,
|
|
10774
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$d);
|
|
10775
|
+
return /*#__PURE__*/React.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React.createElement(Indicator, {
|
|
10776
|
+
themeIntent: intent,
|
|
10777
|
+
testID: "data-card-indicator"
|
|
10778
|
+
}), children);
|
|
10779
|
+
};
|
|
10780
|
+
|
|
10781
|
+
var StyledCard$1 = index$a(View)(function (_ref) {
|
|
10782
|
+
var theme = _ref.theme,
|
|
10783
|
+
themeIntent = _ref.themeIntent;
|
|
10784
|
+
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
10785
|
+
backgroundColor: theme.__hd__.card.colors[themeIntent]
|
|
10786
|
+
}), {}, {
|
|
10787
|
+
borderRadius: theme.__hd__.card.radii["default"],
|
|
10788
|
+
overflow: 'hidden'
|
|
10789
|
+
});
|
|
10790
|
+
});
|
|
10791
|
+
|
|
10792
|
+
var _excluded$c = ["intent", "children"];
|
|
10793
|
+
var Card = function Card(_ref) {
|
|
10794
|
+
var intent = _ref.intent,
|
|
10795
|
+
children = _ref.children,
|
|
10796
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$c);
|
|
10797
|
+
return /*#__PURE__*/React.createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
10798
|
+
themeIntent: intent
|
|
10799
|
+
}), children);
|
|
10800
|
+
};
|
|
10801
|
+
var Card$1 = Object.assign(Card, {
|
|
10802
|
+
Data: DataCard
|
|
10803
|
+
});
|
|
10804
|
+
|
|
10805
|
+
var StyledPageControl = index$a(PageControl)(function (_ref) {
|
|
10806
|
+
var theme = _ref.theme;
|
|
10807
|
+
return {
|
|
10808
|
+
alignSelf: 'center',
|
|
10809
|
+
marginTop: theme.__hd__.cardCarousel.space.pageControlMarginTop
|
|
10810
|
+
};
|
|
10811
|
+
});
|
|
10812
|
+
var StyledWrapper$7 = index$a(View)({});
|
|
10813
|
+
var StyledCard = index$a(Card$1)(function (_ref2) {
|
|
10814
|
+
var theme = _ref2.theme;
|
|
10815
|
+
return {
|
|
10816
|
+
borderRadius: theme.__hd__.cardCarousel.radii.card,
|
|
10817
|
+
overflow: 'hidden',
|
|
10818
|
+
flex: 1
|
|
10819
|
+
};
|
|
10820
|
+
});
|
|
10821
|
+
var StyledShadow = index$a(View)(function (_ref3) {
|
|
10822
|
+
var theme = _ref3.theme;
|
|
10823
|
+
return {
|
|
10824
|
+
borderRadius: theme.__hd__.cardCarousel.radii.card,
|
|
10825
|
+
shadowColor: theme.__hd__.cardCarousel.colors.shadow,
|
|
10826
|
+
shadowOffset: theme.__hd__.cardCarousel.shadows.offset,
|
|
10827
|
+
shadowRadius: theme.__hd__.cardCarousel.shadows.radius,
|
|
10828
|
+
shadowOpacity: theme.__hd__.cardCarousel.shadows.opacity,
|
|
10829
|
+
elevation: theme.__hd__.cardCarousel.shadows.elevation,
|
|
10830
|
+
flex: 1
|
|
10831
|
+
};
|
|
10832
|
+
});
|
|
10833
|
+
var StyledItemWrapper = index$a(View)(function (_ref4) {
|
|
10834
|
+
var theme = _ref4.theme;
|
|
10835
|
+
return {
|
|
10836
|
+
padding: theme.__hd__.cardCarousel.space.carouselItemSpacing
|
|
10837
|
+
};
|
|
10838
|
+
});
|
|
10839
|
+
|
|
10840
|
+
var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10841
|
+
var onItemIndexChange = _ref.onItemIndexChange,
|
|
10842
|
+
items = _ref.items,
|
|
10843
|
+
_ref$hidePageControl = _ref.hidePageControl,
|
|
10844
|
+
hidePageControl = _ref$hidePageControl === void 0 ? false : _ref$hidePageControl,
|
|
10845
|
+
style = _ref.style,
|
|
10846
|
+
testID = _ref.testID,
|
|
10847
|
+
_ref$autoPlay = _ref.autoPlay,
|
|
10848
|
+
autoPlay = _ref$autoPlay === void 0 ? false : _ref$autoPlay,
|
|
10849
|
+
_ref$autoPlayInterval = _ref.autoPlayInterval,
|
|
10850
|
+
autoPlayInterval = _ref$autoPlayInterval === void 0 ? 3000 : _ref$autoPlayInterval;
|
|
10851
|
+
var _useState = useState(0),
|
|
10852
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
10853
|
+
currentIndex = _useState2[0],
|
|
10854
|
+
setCurrentIndex = _useState2[1];
|
|
10855
|
+
var theme = useTheme();
|
|
10856
|
+
var _useState3 = useState(0),
|
|
10857
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
10858
|
+
flatListWidth = _useState4[0],
|
|
10859
|
+
setFlatListWidth = _useState4[1];
|
|
10860
|
+
var itemWidth = flatListWidth * ITEM_WIDTH_RATE;
|
|
10861
|
+
var carouselRef = useRef(null);
|
|
10862
|
+
var _snapToIndex = useCallback(function (index) {
|
|
10863
|
+
var _carouselRef$current;
|
|
10864
|
+
var validIndex = 0;
|
|
10865
|
+
if (index < 0) {
|
|
10866
|
+
validIndex = 0;
|
|
10867
|
+
} else if (index >= items.length) {
|
|
10868
|
+
validIndex = items.length - 1;
|
|
10869
|
+
} else {
|
|
10870
|
+
validIndex = index;
|
|
10871
|
+
}
|
|
10872
|
+
(_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 ? void 0 : _carouselRef$current.scrollToIndex({
|
|
10873
|
+
index: validIndex,
|
|
10874
|
+
animated: true,
|
|
10875
|
+
viewPosition: VIEW_POSITION_CENTER
|
|
10876
|
+
});
|
|
10877
|
+
}, [carouselRef, itemWidth]);
|
|
10878
|
+
/*
|
|
10879
|
+
* snap to the next index. If the curent index is the last one, snap to the first one.
|
|
10880
|
+
*/
|
|
10881
|
+
var snapToNext = useCallback(function () {
|
|
10882
|
+
var _carouselRef$current2;
|
|
10883
|
+
var nextIndex = currentIndex + 1;
|
|
10884
|
+
if (nextIndex >= items.length) {
|
|
10885
|
+
nextIndex = 0;
|
|
10886
|
+
}
|
|
10887
|
+
(_carouselRef$current2 = carouselRef.current) === null || _carouselRef$current2 === void 0 ? void 0 : _carouselRef$current2.scrollToIndex({
|
|
10888
|
+
index: nextIndex,
|
|
10889
|
+
animated: true,
|
|
10890
|
+
viewPosition: VIEW_POSITION_CENTER
|
|
10891
|
+
});
|
|
10892
|
+
}, [carouselRef, currentIndex, itemWidth, items.length]);
|
|
10893
|
+
React.useImperativeHandle(ref, function () {
|
|
10894
|
+
return {
|
|
10895
|
+
snapToIndex: function snapToIndex(index) {
|
|
10896
|
+
_snapToIndex(index);
|
|
10897
|
+
},
|
|
10898
|
+
// we don't expose this method, it's for testing https://medium.com/developer-rants/how-to-test-useref-without-mocking-useref-699165f4994e
|
|
10899
|
+
getFlatListRef: function getFlatListRef() {
|
|
10900
|
+
return carouselRef.current;
|
|
10901
|
+
}
|
|
10902
|
+
};
|
|
10903
|
+
}, [_snapToIndex]);
|
|
10904
|
+
useEffect(function () {
|
|
10905
|
+
var timer;
|
|
10906
|
+
if (autoPlay) {
|
|
10907
|
+
timer = setInterval(function () {
|
|
10908
|
+
snapToNext();
|
|
10909
|
+
}, autoPlayInterval);
|
|
10910
|
+
}
|
|
10911
|
+
return function () {
|
|
10912
|
+
clearInterval(timer);
|
|
10913
|
+
};
|
|
10914
|
+
}, [autoPlay, snapToNext, currentIndex, autoPlayInterval]);
|
|
10915
|
+
var visibleSlideChanged = useCallback(function (_ref2) {
|
|
10916
|
+
var viewableItems = _ref2.viewableItems;
|
|
10917
|
+
if (!viewableItems || viewableItems && !viewableItems.length) return;
|
|
10918
|
+
var index = viewableItems[0].index;
|
|
10919
|
+
setCurrentIndex(index);
|
|
10920
|
+
if (onItemIndexChange) {
|
|
10921
|
+
onItemIndexChange(index);
|
|
10922
|
+
}
|
|
10923
|
+
}, [onItemIndexChange]);
|
|
10924
|
+
var getItemLayout = useCallback(function (_, index) {
|
|
10925
|
+
return {
|
|
10926
|
+
length: itemWidth,
|
|
10927
|
+
offset: itemWidth * index,
|
|
10928
|
+
index: index
|
|
10929
|
+
};
|
|
10930
|
+
}, [itemWidth]);
|
|
10931
|
+
var onLayout = useCallback(function (e) {
|
|
10932
|
+
setFlatListWidth(e.nativeEvent.layout.width);
|
|
10933
|
+
}, [setFlatListWidth]);
|
|
10934
|
+
var renderItem = useCallback(function (_ref3) {
|
|
10935
|
+
var item = _ref3.item;
|
|
10936
|
+
return /*#__PURE__*/React.createElement(StyledItemWrapper, {
|
|
10937
|
+
style: {
|
|
10938
|
+
width: itemWidth
|
|
10939
|
+
}
|
|
10940
|
+
}, /*#__PURE__*/React.createElement(StyledShadow, null, /*#__PURE__*/React.createElement(StyledCard, null, item)));
|
|
10941
|
+
}, [itemWidth]);
|
|
10942
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$7, {
|
|
10943
|
+
style: style,
|
|
10944
|
+
testID: testID
|
|
10945
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
10946
|
+
contentContainerStyle: {
|
|
10947
|
+
paddingHorizontal: theme.__hd__.cardCarousel.space.contentContainerPaddingHorizontal
|
|
10948
|
+
},
|
|
10949
|
+
onLayout: onLayout,
|
|
10950
|
+
data: items,
|
|
10951
|
+
horizontal: true,
|
|
10952
|
+
showsHorizontalScrollIndicator: false,
|
|
10953
|
+
pagingEnabled: true,
|
|
10954
|
+
bounces: false,
|
|
10955
|
+
scrollEventThrottle: 32,
|
|
10956
|
+
snapToAlignment: "center",
|
|
10957
|
+
getItemLayout: getItemLayout,
|
|
10958
|
+
ref: carouselRef,
|
|
10959
|
+
renderItem: renderItem,
|
|
10960
|
+
keyExtractor: function keyExtractor(_, index) {
|
|
10961
|
+
return "".concat(index);
|
|
10962
|
+
},
|
|
10963
|
+
decelerationRate: "fast",
|
|
10964
|
+
renderToHardwareTextureAndroid: true,
|
|
10965
|
+
snapToInterval: itemWidth + theme.__hd__.cardCarousel.space.carouselItemSpacing,
|
|
10966
|
+
onViewableItemsChanged: visibleSlideChanged,
|
|
10967
|
+
viewabilityConfig: {
|
|
10968
|
+
itemVisiblePercentThreshold: 80
|
|
10969
|
+
}
|
|
10970
|
+
}), !hidePageControl && /*#__PURE__*/React.createElement(StyledPageControl, {
|
|
10971
|
+
testID: "pageControl",
|
|
10972
|
+
currentPage: currentIndex,
|
|
10973
|
+
numberOfPages: items.length
|
|
10974
|
+
}));
|
|
10975
|
+
});
|
|
10976
|
+
|
|
10977
|
+
var _excluded$b = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination"];
|
|
10709
10978
|
function useStateFromProp(initialValue) {
|
|
10710
10979
|
var _useState = useState(initialValue),
|
|
10711
10980
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -10727,7 +10996,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
10727
10996
|
shouldShowPagination = _ref$shouldShowPagina === void 0 ? function () {
|
|
10728
10997
|
return true;
|
|
10729
10998
|
} : _ref$shouldShowPagina,
|
|
10730
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10999
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$b);
|
|
10731
11000
|
var carouselRef = useRef(null);
|
|
10732
11001
|
var _useStateFromProp = useStateFromProp(selectedItemIndex),
|
|
10733
11002
|
_useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
|
|
@@ -10803,64 +11072,13 @@ var Carousel = function Carousel(_ref) {
|
|
|
10803
11072
|
width: width
|
|
10804
11073
|
});
|
|
10805
11074
|
}
|
|
10806
|
-
}), /*#__PURE__*/React.createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React.createElement(StyledPageControl, {
|
|
11075
|
+
}), /*#__PURE__*/React.createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React.createElement(StyledPageControl$1, {
|
|
10807
11076
|
numberOfPages: items.length,
|
|
10808
11077
|
currentPage: currentSlideIndex
|
|
10809
11078
|
}))));
|
|
10810
11079
|
};
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
var theme = _ref.theme;
|
|
10814
|
-
return {
|
|
10815
|
-
borderRadius: theme.__hd__.card.radii["default"],
|
|
10816
|
-
overflow: 'hidden',
|
|
10817
|
-
flexDirection: 'row'
|
|
10818
|
-
};
|
|
10819
|
-
});
|
|
10820
|
-
var Indicator = index$a(View)(function (_ref2) {
|
|
10821
|
-
var theme = _ref2.theme,
|
|
10822
|
-
themeIntent = _ref2.themeIntent;
|
|
10823
|
-
return {
|
|
10824
|
-
backgroundColor: theme.__hd__.card.colors[themeIntent],
|
|
10825
|
-
width: theme.__hd__.card.sizes.indicatorWidth,
|
|
10826
|
-
height: '100%'
|
|
10827
|
-
};
|
|
10828
|
-
});
|
|
10829
|
-
|
|
10830
|
-
var _excluded$c = ["intent", "children"];
|
|
10831
|
-
var DataCard = function DataCard(_ref) {
|
|
10832
|
-
var _ref$intent = _ref.intent,
|
|
10833
|
-
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
10834
|
-
children = _ref.children,
|
|
10835
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$c);
|
|
10836
|
-
return /*#__PURE__*/React.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React.createElement(Indicator, {
|
|
10837
|
-
themeIntent: intent,
|
|
10838
|
-
testID: "data-card-indicator"
|
|
10839
|
-
}), children);
|
|
10840
|
-
};
|
|
10841
|
-
|
|
10842
|
-
var StyledCard = index$a(View)(function (_ref) {
|
|
10843
|
-
var theme = _ref.theme,
|
|
10844
|
-
themeIntent = _ref.themeIntent;
|
|
10845
|
-
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
10846
|
-
backgroundColor: theme.__hd__.card.colors[themeIntent]
|
|
10847
|
-
}), {}, {
|
|
10848
|
-
borderRadius: theme.__hd__.card.radii["default"],
|
|
10849
|
-
overflow: 'hidden'
|
|
10850
|
-
});
|
|
10851
|
-
});
|
|
10852
|
-
|
|
10853
|
-
var _excluded$b = ["intent", "children"];
|
|
10854
|
-
var Card = function Card(_ref) {
|
|
10855
|
-
var intent = _ref.intent,
|
|
10856
|
-
children = _ref.children,
|
|
10857
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$b);
|
|
10858
|
-
return /*#__PURE__*/React.createElement(StyledCard, _extends$1({}, nativeProps, {
|
|
10859
|
-
themeIntent: intent
|
|
10860
|
-
}), children);
|
|
10861
|
-
};
|
|
10862
|
-
var index$8 = Object.assign(Card, {
|
|
10863
|
-
Data: DataCard
|
|
11080
|
+
var index$8 = Object.assign(Carousel, {
|
|
11081
|
+
Card: CardCarousel
|
|
10864
11082
|
});
|
|
10865
11083
|
|
|
10866
11084
|
var StyledWrapper$6 = index$a(TouchableOpacity)(function (_ref) {
|
|
@@ -10985,9 +11203,9 @@ var StyledLabelInsideTextInput = index$a(Typography.Text)(function (_ref5) {
|
|
|
10985
11203
|
textAlignVertical: 'center',
|
|
10986
11204
|
alignContent: 'center',
|
|
10987
11205
|
fontSize: theme.__hd__.textInput.fontSizes.labelInsideTextInput,
|
|
10988
|
-
lineHeight: theme.__hd__.textInput.lineHeights.labelInsideTextInput,
|
|
10989
11206
|
alignItems: 'center',
|
|
10990
|
-
color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant]
|
|
11207
|
+
color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant],
|
|
11208
|
+
marginTop: theme.__hd__.textInput.space.labelInsideTextInputMarginTop
|
|
10991
11209
|
};
|
|
10992
11210
|
});
|
|
10993
11211
|
var StyledAsteriskLabelInsideTextInput = index$a(Typography.Text)(function (_ref6) {
|
|
@@ -11040,7 +11258,6 @@ var StyledTextInput = index$a(TextInput$1)(function (_ref11) {
|
|
|
11040
11258
|
return {
|
|
11041
11259
|
textAlignVertical: 'center',
|
|
11042
11260
|
fontSize: theme.__hd__.textInput.fontSizes.text,
|
|
11043
|
-
lineHeight: theme.__hd__.textInput.lineHeights.text,
|
|
11044
11261
|
alignSelf: 'stretch',
|
|
11045
11262
|
flexGrow: 2,
|
|
11046
11263
|
marginHorizontal: theme.__hd__.textInput.space.inputHorizontalMargin,
|
|
@@ -31323,4 +31540,4 @@ var index = Object.assign(RichTextEditor$1, {
|
|
|
31323
31540
|
Toolbar: EditorToolbar
|
|
31324
31541
|
});
|
|
31325
31542
|
|
|
31326
|
-
export { Accordion, Alert, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar,
|
|
31543
|
+
export { Accordion, Alert, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$8 as Carousel, Checkbox, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, index$6 as FAB, Icon, Image, List, PageControl, PinInput, Progress, CompoundRadio as Radio, RefreshControl, index as RichTextEditor, SectionHeading, index$4 as Select, Slider, Spinner, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, workSystemPalette };
|