@hero-design/rn 8.0.0-2 → 8.0.0-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-lint.log +121 -96
- package/.turbo/turbo-test.log +348 -909
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +389 -556
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +389 -556
- package/package.json +5 -5
- package/src/components/Alert/StyledAlert.tsx +2 -3
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +6 -12
- package/src/components/Alert/index.tsx +3 -23
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +4 -26
- package/src/components/Button/Button.tsx +7 -16
- package/src/components/Button/StyledButton.tsx +0 -46
- package/src/components/Button/__tests__/Button.spec.tsx +10 -11
- package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -3
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -91
- package/src/components/Card/StyledCard.tsx +2 -11
- package/src/components/Card/__tests__/StyledCard.spec.tsx +2 -14
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +0 -32
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/Card/__tests__/index.spec.tsx +1 -13
- package/src/components/Card/index.tsx +5 -26
- package/src/components/DatePicker/DatePickerAndroid.tsx +4 -0
- package/src/components/DatePicker/DatePickerIOS.tsx +4 -0
- package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +4 -0
- package/src/components/DatePicker/__tests__/DatePickerAndroid.spec.tsx +4 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/types.ts +8 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +0 -8
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +5 -7
- package/src/components/Select/MultiSelect/index.tsx +1 -20
- package/src/components/Select/SingleSelect/index.tsx +5 -24
- package/src/components/Select/types.ts +1 -11
- package/src/components/Switch/StyledSwitch.tsx +7 -12
- package/src/components/Switch/__tests__/StyledSwitch.spec.tsx +2 -2
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +10 -15
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
- package/src/components/Switch/index.tsx +6 -22
- package/src/components/Tabs/ScrollableTabs.tsx +1 -6
- package/src/components/Tabs/TabWithBadge.tsx +1 -15
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +3 -1
- package/src/components/Tabs/__tests__/TabWithBadge.spec.tsx +4 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +4 -3
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -32
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
- package/src/components/Tabs/__tests__/index.spec.tsx +3 -1
- package/src/components/Tabs/index.tsx +12 -24
- package/src/components/Tag/StyledTag.tsx +0 -1
- package/src/components/Tag/__tests__/Tag.spec.tsx +0 -9
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +0 -40
- package/src/components/Tag/index.tsx +3 -16
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -63
- package/src/theme/components/switch.ts +4 -14
- package/src/theme/components/tag.ts +0 -2
- package/src/theme/global/colors/swag.ts +1 -20
- package/src/theme/global/colors/types.ts +1 -58
- package/src/utils/hooks.ts +1 -1
- package/types/components/Alert/StyledAlert.d.ts +0 -1
- package/types/components/Alert/index.d.ts +1 -6
- package/types/components/BottomSheet/BottomSheetContext.d.ts +5 -0
- package/types/components/BottomSheet/ScrollView.d.ts +3 -0
- package/types/components/Button/Button.d.ts +2 -3
- package/types/components/Button/StyledButton.d.ts +1 -1
- package/types/components/Card/StyledCard.d.ts +1 -8
- package/types/components/Card/index.d.ts +2 -8
- package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
- package/types/components/DatePicker/types.d.ts +8 -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/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +1 -11
- package/types/components/Switch/StyledSwitch.d.ts +0 -4
- package/types/components/Switch/index.d.ts +1 -6
- package/types/components/Tabs/TabWithBadge.d.ts +1 -2
- package/types/components/Tabs/index.d.ts +2 -3
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/Tag/index.d.ts +2 -2
- package/types/theme/components/switch.d.ts +4 -14
- package/types/theme/components/tag.d.ts +0 -2
- package/types/theme/global/colors/types.d.ts +1 -52
- package/types/theme/global/index.d.ts +0 -47
- package/.expo/README.md +0 -15
- package/.expo/packager-info.json +0 -10
- package/.expo/prebuild/cached-packages.json +0 -4
- package/.expo/settings.json +0 -10
- package/.expo/xcodebuild-error.log +0 -2
- package/.expo/xcodebuild.log +0 -11199
- package/.turbo/turbo-build:types.log +0 -2
- package/.turbo/turbo-build:watch.log +0 -1
- package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +0 -13
- package/src/theme/global/colors/legacySystemPalette.ts +0 -53
- package/types/theme/utils.d.ts +0 -2
package/lib/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function _defineProperty(obj, key, value) {
|
|
|
105
105
|
return obj;
|
|
106
106
|
}
|
|
107
107
|
function _extends$1() {
|
|
108
|
-
_extends$1 = Object.assign
|
|
108
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
109
109
|
for (var i = 1; i < arguments.length; i++) {
|
|
110
110
|
var source = arguments[i];
|
|
111
111
|
for (var key in source) {
|
|
@@ -1291,52 +1291,6 @@ var globalPalette = {
|
|
|
1291
1291
|
// End of Updated 21 / Nov / 22
|
|
1292
1292
|
};
|
|
1293
1293
|
|
|
1294
|
-
var legacySystemPalette = {
|
|
1295
|
-
globalPrimary: palette$6.maasstrichtBlue,
|
|
1296
|
-
globalPrimaryLight: palette$6.maasstrichtBlueLight50,
|
|
1297
|
-
globalPrimaryBackground: palette$6.maasstrichtBlueLight90,
|
|
1298
|
-
primaryLight: palette$2.violetLight50,
|
|
1299
|
-
primaryDark: palette$2.scarletGumLight30,
|
|
1300
|
-
primaryBackground: palette$2.violetLight90,
|
|
1301
|
-
primaryBackgroundDark: palette$6.maasstrichtBlueLight30,
|
|
1302
|
-
secondaryLight: palette$2.vodka,
|
|
1303
|
-
secondaryBackground: palette$2.aliceBlue,
|
|
1304
|
-
infoMediumLight: palette$6.vodka,
|
|
1305
|
-
infoLight: palette$6.vodka,
|
|
1306
|
-
infoBackground: palette$6.aliceBlue,
|
|
1307
|
-
successLight: palette$6.emerald,
|
|
1308
|
-
successDark: palette$6.pineGreen,
|
|
1309
|
-
successBackground: palette$6.honeydew,
|
|
1310
|
-
danger: palette$6.vermilion,
|
|
1311
|
-
dangerMediumLight: palette$6.apple,
|
|
1312
|
-
dangerLight: palette$6.pastelRed,
|
|
1313
|
-
dangerBackground: palette$6.linen,
|
|
1314
|
-
warningLight: palette$6.mellowApricot,
|
|
1315
|
-
warningDark: palette$6.deepSaffron,
|
|
1316
|
-
warningBackground: palette$6.seashell,
|
|
1317
|
-
platformBackground: palette$6.white,
|
|
1318
|
-
backgroundLight: palette$6.greyLight90,
|
|
1319
|
-
backgroundDark: palette$6.maasstrichtBlue,
|
|
1320
|
-
text: palette$6.maasstrichtBlue,
|
|
1321
|
-
subduedText: palette$6.maasstrichtBlueLight30,
|
|
1322
|
-
disabledText: palette$6.maasstrichtBlueLight50,
|
|
1323
|
-
disabledLightText: palette$6.greyLight30,
|
|
1324
|
-
invertedText: palette$6.white,
|
|
1325
|
-
outline: palette$6.greyLight75,
|
|
1326
|
-
archivedLight: palette$6.greyLight30,
|
|
1327
|
-
archivedDark: palette$6.sonicSilver,
|
|
1328
|
-
archivedBackground: palette$6.greyLight90,
|
|
1329
|
-
black: palette$6.black,
|
|
1330
|
-
inactiveBackground: palette$6.maasstrichtBlueLight50,
|
|
1331
|
-
shadow: palette$6.greyLight45,
|
|
1332
|
-
// Updated 14 / Nov / 22
|
|
1333
|
-
mutedGlobalPrimary: palette$6.maasstrichtBlueLight30,
|
|
1334
|
-
onGlobalPrimary: palette$6.white,
|
|
1335
|
-
globalSecondary: palette$6.maasstrichtBlueLight30,
|
|
1336
|
-
globalPrimaryOutline: palette$6.maasstrichtBlue,
|
|
1337
|
-
globalSecondaryOutline: palette$6.greyLight75
|
|
1338
|
-
};
|
|
1339
|
-
|
|
1340
1294
|
var swagBrandSystemPallete = {
|
|
1341
1295
|
primary: palette$2.scarletGum,
|
|
1342
1296
|
onPrimary: palette$2.white,
|
|
@@ -1348,14 +1302,7 @@ var swagBrandSystemPallete = {
|
|
|
1348
1302
|
decorativePrimary: palette$2.white,
|
|
1349
1303
|
decorativePrimarySurface: palette$2.maasstrichtBlueLight80
|
|
1350
1304
|
};
|
|
1351
|
-
var
|
|
1352
|
-
mutedPrimary: palette$2.maasstrichtBlueLight90,
|
|
1353
|
-
highlightedSecondarySurface: palette$2.aliceBlue,
|
|
1354
|
-
mutedSecondary: palette$2.maasstrichtBlueLight50,
|
|
1355
|
-
disabledSecondary: palette$2.scarletGumLight50,
|
|
1356
|
-
lightHighlightedSurface: palette$2.scarletGumLight90
|
|
1357
|
-
};
|
|
1358
|
-
var swagSystemPalette = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, legacySystemPalette), swagLegacyBrandSystemPalette), globalPalette), swagBrandSystemPallete);
|
|
1305
|
+
var swagSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette), swagBrandSystemPallete);
|
|
1359
1306
|
|
|
1360
1307
|
var workBrandSystemPallete = {
|
|
1361
1308
|
primary: palette.policeBlue,
|
|
@@ -2424,25 +2371,15 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
2424
2371
|
}
|
|
2425
2372
|
};
|
|
2426
2373
|
var sizes = {
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
},
|
|
2431
|
-
widths: {
|
|
2432
|
-
small: theme.sizes.xxxlarge,
|
|
2433
|
-
medium: theme.sizes.xxxxxlarge
|
|
2434
|
-
},
|
|
2435
|
-
heights: {
|
|
2436
|
-
small: theme.sizes.large,
|
|
2437
|
-
medium: theme.sizes.xlarge
|
|
2438
|
-
},
|
|
2374
|
+
thumb: theme.sizes.medium,
|
|
2375
|
+
width: theme.sizes.xxxlarge,
|
|
2376
|
+
height: theme.sizes.large,
|
|
2439
2377
|
selector: {
|
|
2440
2378
|
height: theme.sizes.xxxxlarge
|
|
2441
2379
|
}
|
|
2442
2380
|
};
|
|
2443
2381
|
var spaces = {
|
|
2444
|
-
|
|
2445
|
-
medium: theme.space.xsmall,
|
|
2382
|
+
paddingHorizontal: theme.space.xsmall,
|
|
2446
2383
|
selector: {
|
|
2447
2384
|
iconPadding: theme.space.medium,
|
|
2448
2385
|
wrapperPadding: theme.space.xsmall
|
|
@@ -2502,8 +2439,6 @@ var getTagTheme = function getTagTheme(theme) {
|
|
|
2502
2439
|
"default": theme.borderWidths.base
|
|
2503
2440
|
};
|
|
2504
2441
|
var colors = {
|
|
2505
|
-
"default": theme.colors.onDefaultGlobalSurface,
|
|
2506
|
-
defaultBackground: undefined,
|
|
2507
2442
|
primary: theme.colors.primary,
|
|
2508
2443
|
primaryBackground: undefined,
|
|
2509
2444
|
info: theme.colors.onInfoSurface,
|
|
@@ -5694,7 +5629,7 @@ var useDeprecation = function useDeprecation(message) {
|
|
|
5694
5629
|
React.useEffect(function () {
|
|
5695
5630
|
// eslint-disable-next-line no-console
|
|
5696
5631
|
if (cond) {
|
|
5697
|
-
console.
|
|
5632
|
+
console.error(message);
|
|
5698
5633
|
}
|
|
5699
5634
|
}, [message, cond]);
|
|
5700
5635
|
};
|
|
@@ -5815,7 +5750,7 @@ var Typography = {
|
|
|
5815
5750
|
};
|
|
5816
5751
|
|
|
5817
5752
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5818
|
-
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', '
|
|
5753
|
+
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', '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'];
|
|
5819
5754
|
|
|
5820
5755
|
var activate = 59000;
|
|
5821
5756
|
var adjustment = 59003;
|
|
@@ -5830,76 +5765,76 @@ var box = 59013;
|
|
|
5830
5765
|
var buildings = 59014;
|
|
5831
5766
|
var cake = 59015;
|
|
5832
5767
|
var calendar = 59017;
|
|
5833
|
-
var clock =
|
|
5834
|
-
var cog =
|
|
5835
|
-
var coin =
|
|
5836
|
-
var contacts =
|
|
5837
|
-
var diamond =
|
|
5838
|
-
var directory =
|
|
5839
|
-
var document$1 =
|
|
5840
|
-
var envelope =
|
|
5841
|
-
var expense =
|
|
5842
|
-
var eye =
|
|
5843
|
-
var feed =
|
|
5844
|
-
var feedbacks =
|
|
5845
|
-
var file =
|
|
5846
|
-
var filter =
|
|
5847
|
-
var folder =
|
|
5848
|
-
var globe =
|
|
5849
|
-
var graph =
|
|
5850
|
-
var heart =
|
|
5851
|
-
var home =
|
|
5852
|
-
var image =
|
|
5853
|
-
var instapay =
|
|
5854
|
-
var list =
|
|
5855
|
-
var loading =
|
|
5856
|
-
var location =
|
|
5857
|
-
var lock =
|
|
5858
|
-
var menu =
|
|
5859
|
-
var moneybag =
|
|
5860
|
-
var moon =
|
|
5861
|
-
var node =
|
|
5862
|
-
var paperclip =
|
|
5863
|
-
var pencil =
|
|
5864
|
-
var phone =
|
|
5865
|
-
var plane =
|
|
5866
|
-
var print =
|
|
5867
|
-
var reply =
|
|
5868
|
-
var reschedule =
|
|
5869
|
-
var rostering =
|
|
5870
|
-
var save =
|
|
5871
|
-
var schedule =
|
|
5872
|
-
var send =
|
|
5873
|
-
var speaker =
|
|
5874
|
-
var star =
|
|
5875
|
-
var stopwatch =
|
|
5876
|
-
var suitcase =
|
|
5877
|
-
var survey =
|
|
5878
|
-
var swag =
|
|
5879
|
-
var tag =
|
|
5880
|
-
var target =
|
|
5881
|
-
var teams =
|
|
5882
|
-
var timesheet =
|
|
5883
|
-
var unlock =
|
|
5884
|
-
var user =
|
|
5885
|
-
var wallet =
|
|
5886
|
-
var warning =
|
|
5887
|
-
var add =
|
|
5888
|
-
var bold =
|
|
5889
|
-
var cancel =
|
|
5890
|
-
var checkmark =
|
|
5891
|
-
var italic =
|
|
5892
|
-
var number =
|
|
5893
|
-
var percentage =
|
|
5894
|
-
var redeem =
|
|
5895
|
-
var refresh =
|
|
5896
|
-
var remove =
|
|
5897
|
-
var restart =
|
|
5898
|
-
var strikethrough =
|
|
5899
|
-
var sync =
|
|
5900
|
-
var transfer =
|
|
5901
|
-
var unavailable =
|
|
5902
|
-
var underline =
|
|
5768
|
+
var clock = 59042;
|
|
5769
|
+
var cog = 59045;
|
|
5770
|
+
var coin = 59046;
|
|
5771
|
+
var contacts = 59047;
|
|
5772
|
+
var diamond = 59049;
|
|
5773
|
+
var directory = 59051;
|
|
5774
|
+
var document$1 = 59052;
|
|
5775
|
+
var envelope = 59056;
|
|
5776
|
+
var expense = 59057;
|
|
5777
|
+
var eye = 59060;
|
|
5778
|
+
var feed = 59064;
|
|
5779
|
+
var feedbacks = 59065;
|
|
5780
|
+
var file = 59083;
|
|
5781
|
+
var filter = 59084;
|
|
5782
|
+
var folder = 59086;
|
|
5783
|
+
var globe = 59096;
|
|
5784
|
+
var graph = 59098;
|
|
5785
|
+
var heart = 59101;
|
|
5786
|
+
var home = 59102;
|
|
5787
|
+
var image = 59103;
|
|
5788
|
+
var instapay = 59106;
|
|
5789
|
+
var list = 59107;
|
|
5790
|
+
var loading = 59109;
|
|
5791
|
+
var location = 59110;
|
|
5792
|
+
var lock = 59111;
|
|
5793
|
+
var menu = 59115;
|
|
5794
|
+
var moneybag = 59116;
|
|
5795
|
+
var moon = 59117;
|
|
5796
|
+
var node = 59120;
|
|
5797
|
+
var paperclip = 59122;
|
|
5798
|
+
var pencil = 59124;
|
|
5799
|
+
var phone = 59125;
|
|
5800
|
+
var plane = 59127;
|
|
5801
|
+
var print = 59129;
|
|
5802
|
+
var reply = 59132;
|
|
5803
|
+
var reschedule = 59133;
|
|
5804
|
+
var rostering = 59134;
|
|
5805
|
+
var save = 59135;
|
|
5806
|
+
var schedule = 59137;
|
|
5807
|
+
var send = 59139;
|
|
5808
|
+
var speaker = 59141;
|
|
5809
|
+
var star = 59145;
|
|
5810
|
+
var stopwatch = 59147;
|
|
5811
|
+
var suitcase = 59148;
|
|
5812
|
+
var survey = 59149;
|
|
5813
|
+
var swag = 59150;
|
|
5814
|
+
var tag = 59152;
|
|
5815
|
+
var target = 59153;
|
|
5816
|
+
var teams = 59154;
|
|
5817
|
+
var timesheet = 59155;
|
|
5818
|
+
var unlock = 59158;
|
|
5819
|
+
var user = 59159;
|
|
5820
|
+
var wallet = 59162;
|
|
5821
|
+
var warning = 59163;
|
|
5822
|
+
var add = 59169;
|
|
5823
|
+
var bold = 59188;
|
|
5824
|
+
var cancel = 59198;
|
|
5825
|
+
var checkmark = 59201;
|
|
5826
|
+
var italic = 59273;
|
|
5827
|
+
var number = 59296;
|
|
5828
|
+
var percentage = 59300;
|
|
5829
|
+
var redeem = 59308;
|
|
5830
|
+
var refresh = 59309;
|
|
5831
|
+
var remove = 59310;
|
|
5832
|
+
var restart = 59312;
|
|
5833
|
+
var strikethrough = 59331;
|
|
5834
|
+
var sync = 59336;
|
|
5835
|
+
var transfer = 59339;
|
|
5836
|
+
var unavailable = 59342;
|
|
5837
|
+
var underline = 59343;
|
|
5903
5838
|
var glyphMap = {
|
|
5904
5839
|
activate: activate,
|
|
5905
5840
|
"add-emoji": 59001,
|
|
@@ -5920,348 +5855,340 @@ var glyphMap = {
|
|
|
5920
5855
|
"calendar-clock": 59016,
|
|
5921
5856
|
calendar: calendar,
|
|
5922
5857
|
"candy-box-menu": 59018,
|
|
5923
|
-
"
|
|
5924
|
-
"
|
|
5925
|
-
"
|
|
5926
|
-
"
|
|
5927
|
-
"
|
|
5928
|
-
"
|
|
5929
|
-
"
|
|
5930
|
-
"
|
|
5931
|
-
"
|
|
5932
|
-
"
|
|
5933
|
-
"
|
|
5934
|
-
"
|
|
5935
|
-
"
|
|
5936
|
-
"
|
|
5937
|
-
"
|
|
5938
|
-
"
|
|
5939
|
-
"
|
|
5940
|
-
"circle-
|
|
5941
|
-
"circle-
|
|
5942
|
-
"circle-
|
|
5943
|
-
"circle-
|
|
5944
|
-
"circle-
|
|
5945
|
-
"
|
|
5946
|
-
"circle-ok": 59042,
|
|
5947
|
-
"circle-pencil": 59043,
|
|
5948
|
-
"circle-question": 59044,
|
|
5949
|
-
"circle-remove": 59045,
|
|
5950
|
-
"circle-right": 59046,
|
|
5951
|
-
"circle-up": 59047,
|
|
5952
|
-
"circle-warning": 59048,
|
|
5953
|
-
"clock-3": 59049,
|
|
5858
|
+
"caret-down-small": 59019,
|
|
5859
|
+
"caret-down": 59020,
|
|
5860
|
+
"caret-left-small": 59021,
|
|
5861
|
+
"caret-left": 59022,
|
|
5862
|
+
"caret-right-small": 59023,
|
|
5863
|
+
"caret-right": 59024,
|
|
5864
|
+
"caret-up-small": 59025,
|
|
5865
|
+
"caret-up": 59026,
|
|
5866
|
+
"check-radio": 59027,
|
|
5867
|
+
"circle-add": 59028,
|
|
5868
|
+
"circle-cancel": 59029,
|
|
5869
|
+
"circle-check": 59030,
|
|
5870
|
+
"circle-down": 59031,
|
|
5871
|
+
"circle-info": 59032,
|
|
5872
|
+
"circle-left": 59033,
|
|
5873
|
+
"circle-ok": 59034,
|
|
5874
|
+
"circle-pencil": 59035,
|
|
5875
|
+
"circle-question": 59036,
|
|
5876
|
+
"circle-remove": 59037,
|
|
5877
|
+
"circle-right": 59038,
|
|
5878
|
+
"circle-up": 59039,
|
|
5879
|
+
"circle-warning": 59040,
|
|
5880
|
+
"clock-3": 59041,
|
|
5954
5881
|
clock: clock,
|
|
5955
|
-
"cloud-download":
|
|
5956
|
-
"cloud-upload":
|
|
5882
|
+
"cloud-download": 59043,
|
|
5883
|
+
"cloud-upload": 59044,
|
|
5957
5884
|
cog: cog,
|
|
5958
5885
|
coin: coin,
|
|
5959
5886
|
contacts: contacts,
|
|
5960
|
-
"credit-card":
|
|
5887
|
+
"credit-card": 59048,
|
|
5961
5888
|
diamond: diamond,
|
|
5962
|
-
"direction-arrows":
|
|
5889
|
+
"direction-arrows": 59050,
|
|
5963
5890
|
directory: directory,
|
|
5964
5891
|
document: document$1,
|
|
5965
|
-
"dollar-coin-shine":
|
|
5966
|
-
"double-buildings":
|
|
5967
|
-
"edit-template":
|
|
5892
|
+
"dollar-coin-shine": 59053,
|
|
5893
|
+
"double-buildings": 59054,
|
|
5894
|
+
"edit-template": 59055,
|
|
5968
5895
|
envelope: envelope,
|
|
5969
5896
|
expense: expense,
|
|
5970
|
-
"eye-circle":
|
|
5971
|
-
"eye-invisible":
|
|
5897
|
+
"eye-circle": 59058,
|
|
5898
|
+
"eye-invisible": 59059,
|
|
5972
5899
|
eye: eye,
|
|
5973
|
-
"face-meh":
|
|
5974
|
-
"face-sad":
|
|
5975
|
-
"face-smiley":
|
|
5900
|
+
"face-meh": 59061,
|
|
5901
|
+
"face-sad": 59062,
|
|
5902
|
+
"face-smiley": 59063,
|
|
5976
5903
|
feed: feed,
|
|
5977
5904
|
feedbacks: feedbacks,
|
|
5978
|
-
"file-certified":
|
|
5979
|
-
"file-clone":
|
|
5980
|
-
"file-copy":
|
|
5981
|
-
"file-csv":
|
|
5982
|
-
"file-dispose":
|
|
5983
|
-
"file-doc":
|
|
5984
|
-
"file-excel":
|
|
5985
|
-
"file-export":
|
|
5986
|
-
"file-lock":
|
|
5987
|
-
"file-pdf":
|
|
5988
|
-
"file-powerpoint":
|
|
5989
|
-
"file-search":
|
|
5990
|
-
"file-secured":
|
|
5991
|
-
"file-sheets":
|
|
5992
|
-
"file-slide":
|
|
5993
|
-
"file-verified":
|
|
5994
|
-
"file-word":
|
|
5905
|
+
"file-certified": 59066,
|
|
5906
|
+
"file-clone": 59067,
|
|
5907
|
+
"file-copy": 59068,
|
|
5908
|
+
"file-csv": 59069,
|
|
5909
|
+
"file-dispose": 59070,
|
|
5910
|
+
"file-doc": 59071,
|
|
5911
|
+
"file-excel": 59072,
|
|
5912
|
+
"file-export": 59073,
|
|
5913
|
+
"file-lock": 59074,
|
|
5914
|
+
"file-pdf": 59075,
|
|
5915
|
+
"file-powerpoint": 59076,
|
|
5916
|
+
"file-search": 59077,
|
|
5917
|
+
"file-secured": 59078,
|
|
5918
|
+
"file-sheets": 59079,
|
|
5919
|
+
"file-slide": 59080,
|
|
5920
|
+
"file-verified": 59081,
|
|
5921
|
+
"file-word": 59082,
|
|
5995
5922
|
file: file,
|
|
5996
5923
|
filter: filter,
|
|
5997
|
-
"folder-user":
|
|
5924
|
+
"folder-user": 59085,
|
|
5998
5925
|
folder: folder,
|
|
5999
|
-
"format-bold":
|
|
6000
|
-
"format-heading1":
|
|
6001
|
-
"format-heading2":
|
|
6002
|
-
"format-italic":
|
|
6003
|
-
"format-list-bulleted":
|
|
6004
|
-
"format-list-numbered":
|
|
6005
|
-
"format-underlined":
|
|
6006
|
-
"funnel-filter":
|
|
6007
|
-
"global-dollar":
|
|
5926
|
+
"format-bold": 59087,
|
|
5927
|
+
"format-heading1": 59088,
|
|
5928
|
+
"format-heading2": 59089,
|
|
5929
|
+
"format-italic": 59090,
|
|
5930
|
+
"format-list-bulleted": 59091,
|
|
5931
|
+
"format-list-numbered": 59092,
|
|
5932
|
+
"format-underlined": 59093,
|
|
5933
|
+
"funnel-filter": 59094,
|
|
5934
|
+
"global-dollar": 59095,
|
|
6008
5935
|
globe: globe,
|
|
6009
|
-
"graduation-cap":
|
|
5936
|
+
"graduation-cap": 59097,
|
|
6010
5937
|
graph: graph,
|
|
6011
|
-
"happy-sun":
|
|
6012
|
-
"health-bag":
|
|
5938
|
+
"happy-sun": 59099,
|
|
5939
|
+
"health-bag": 59100,
|
|
6013
5940
|
heart: heart,
|
|
6014
5941
|
home: home,
|
|
6015
5942
|
image: image,
|
|
6016
|
-
"import":
|
|
6017
|
-
"incident-siren":
|
|
5943
|
+
"import": 59104,
|
|
5944
|
+
"incident-siren": 59105,
|
|
6018
5945
|
instapay: instapay,
|
|
6019
5946
|
list: list,
|
|
6020
|
-
"loading-2":
|
|
5947
|
+
"loading-2": 59108,
|
|
6021
5948
|
loading: loading,
|
|
6022
5949
|
location: location,
|
|
6023
5950
|
lock: lock,
|
|
6024
|
-
"looks-one":
|
|
6025
|
-
"looks-two":
|
|
6026
|
-
"media-content":
|
|
5951
|
+
"looks-one": 59112,
|
|
5952
|
+
"looks-two": 59113,
|
|
5953
|
+
"media-content": 59114,
|
|
6027
5954
|
menu: menu,
|
|
6028
5955
|
moneybag: moneybag,
|
|
6029
5956
|
moon: moon,
|
|
6030
|
-
"multiple-stars":
|
|
6031
|
-
"multiple-users":
|
|
5957
|
+
"multiple-stars": 59118,
|
|
5958
|
+
"multiple-users": 59119,
|
|
6032
5959
|
node: node,
|
|
6033
|
-
"open-folder":
|
|
5960
|
+
"open-folder": 59121,
|
|
6034
5961
|
paperclip: paperclip,
|
|
6035
|
-
"payment-summary":
|
|
5962
|
+
"payment-summary": 59123,
|
|
6036
5963
|
pencil: pencil,
|
|
6037
5964
|
phone: phone,
|
|
6038
|
-
"piggy-bank":
|
|
5965
|
+
"piggy-bank": 59126,
|
|
6039
5966
|
plane: plane,
|
|
6040
|
-
"play-circle":
|
|
5967
|
+
"play-circle": 59128,
|
|
6041
5968
|
print: print,
|
|
6042
|
-
"raising-hands":
|
|
6043
|
-
"reply-arrow":
|
|
5969
|
+
"raising-hands": 59130,
|
|
5970
|
+
"reply-arrow": 59131,
|
|
6044
5971
|
reply: reply,
|
|
6045
5972
|
reschedule: reschedule,
|
|
6046
5973
|
rostering: rostering,
|
|
6047
5974
|
save: save,
|
|
6048
|
-
"schedule-send":
|
|
5975
|
+
"schedule-send": 59136,
|
|
6049
5976
|
schedule: schedule,
|
|
6050
|
-
"search-person":
|
|
5977
|
+
"search-person": 59138,
|
|
6051
5978
|
send: send,
|
|
6052
|
-
"speaker-active":
|
|
5979
|
+
"speaker-active": 59140,
|
|
6053
5980
|
speaker: speaker,
|
|
6054
|
-
"star-award":
|
|
6055
|
-
"star-badge":
|
|
6056
|
-
"star-medal":
|
|
5981
|
+
"star-award": 59142,
|
|
5982
|
+
"star-badge": 59143,
|
|
5983
|
+
"star-medal": 59144,
|
|
6057
5984
|
star: star,
|
|
6058
|
-
"steps-circle":
|
|
5985
|
+
"steps-circle": 59146,
|
|
6059
5986
|
stopwatch: stopwatch,
|
|
6060
5987
|
suitcase: suitcase,
|
|
6061
5988
|
survey: survey,
|
|
6062
5989
|
swag: swag,
|
|
6063
|
-
"switch":
|
|
5990
|
+
"switch": 59151,
|
|
6064
5991
|
tag: tag,
|
|
6065
5992
|
target: target,
|
|
6066
5993
|
teams: teams,
|
|
6067
5994
|
timesheet: timesheet,
|
|
6068
|
-
"touch-id":
|
|
6069
|
-
"trash-bin":
|
|
5995
|
+
"touch-id": 59156,
|
|
5996
|
+
"trash-bin": 59157,
|
|
6070
5997
|
unlock: unlock,
|
|
6071
5998
|
user: user,
|
|
6072
|
-
"video-1":
|
|
6073
|
-
"video-2":
|
|
5999
|
+
"video-1": 59160,
|
|
6000
|
+
"video-2": 59161,
|
|
6074
6001
|
wallet: wallet,
|
|
6075
6002
|
warning: warning,
|
|
6076
|
-
"activate-outlined":
|
|
6077
|
-
"add-credit-card-outlined":
|
|
6078
|
-
"add-person-outlined":
|
|
6079
|
-
"add-section-outlined":
|
|
6080
|
-
"add-time-outlined":
|
|
6003
|
+
"activate-outlined": 59164,
|
|
6004
|
+
"add-credit-card-outlined": 59165,
|
|
6005
|
+
"add-person-outlined": 59166,
|
|
6006
|
+
"add-section-outlined": 59167,
|
|
6007
|
+
"add-time-outlined": 59168,
|
|
6081
6008
|
add: add,
|
|
6082
|
-
"adjustment-outlined":
|
|
6083
|
-
"alignment-2-outlined":
|
|
6084
|
-
"alignment-outlined":
|
|
6085
|
-
"all-caps":
|
|
6086
|
-
"arrow-down":
|
|
6087
|
-
"arrow-downwards":
|
|
6088
|
-
"arrow-left":
|
|
6089
|
-
"arrow-leftwards":
|
|
6090
|
-
"arrow-right":
|
|
6091
|
-
"arrow-rightwards":
|
|
6092
|
-
"arrow-up":
|
|
6093
|
-
"arrow-upwards":
|
|
6094
|
-
"at-sign":
|
|
6095
|
-
"bell-active-outlined":
|
|
6096
|
-
"bell-outlined":
|
|
6097
|
-
"bell-slash-outlined":
|
|
6098
|
-
"billing-outlined":
|
|
6099
|
-
"body-outlined":
|
|
6009
|
+
"adjustment-outlined": 59170,
|
|
6010
|
+
"alignment-2-outlined": 59171,
|
|
6011
|
+
"alignment-outlined": 59172,
|
|
6012
|
+
"all-caps": 59173,
|
|
6013
|
+
"arrow-down": 59174,
|
|
6014
|
+
"arrow-downwards": 59175,
|
|
6015
|
+
"arrow-left": 59176,
|
|
6016
|
+
"arrow-leftwards": 59177,
|
|
6017
|
+
"arrow-right": 59178,
|
|
6018
|
+
"arrow-rightwards": 59179,
|
|
6019
|
+
"arrow-up": 59180,
|
|
6020
|
+
"arrow-upwards": 59181,
|
|
6021
|
+
"at-sign": 59182,
|
|
6022
|
+
"bell-active-outlined": 59183,
|
|
6023
|
+
"bell-outlined": 59184,
|
|
6024
|
+
"bell-slash-outlined": 59185,
|
|
6025
|
+
"billing-outlined": 59186,
|
|
6026
|
+
"body-outlined": 59187,
|
|
6100
6027
|
bold: bold,
|
|
6101
|
-
"bookmark-added-outlined":
|
|
6102
|
-
"bookmark-outlined":
|
|
6103
|
-
"box-check-outlined":
|
|
6104
|
-
"box-outlined":
|
|
6105
|
-
"bullet-points":
|
|
6106
|
-
"cake-outlined":
|
|
6107
|
-
"calendar-dates-outlined":
|
|
6108
|
-
"calendar-star-outlined":
|
|
6109
|
-
"camera-outlined":
|
|
6028
|
+
"bookmark-added-outlined": 59189,
|
|
6029
|
+
"bookmark-outlined": 59190,
|
|
6030
|
+
"box-check-outlined": 59191,
|
|
6031
|
+
"box-outlined": 59192,
|
|
6032
|
+
"bullet-points": 59193,
|
|
6033
|
+
"cake-outlined": 59194,
|
|
6034
|
+
"calendar-dates-outlined": 59195,
|
|
6035
|
+
"calendar-star-outlined": 59196,
|
|
6036
|
+
"camera-outlined": 59197,
|
|
6110
6037
|
cancel: cancel,
|
|
6111
|
-
"chat-bubble-outlined":
|
|
6112
|
-
"chat-unread-outlined":
|
|
6038
|
+
"chat-bubble-outlined": 59199,
|
|
6039
|
+
"chat-unread-outlined": 59200,
|
|
6113
6040
|
checkmark: checkmark,
|
|
6114
|
-
"circle-add-outlined":
|
|
6115
|
-
"circle-cancel-outlined":
|
|
6116
|
-
"circle-down-outlined":
|
|
6117
|
-
"circle-info-outlined":
|
|
6118
|
-
"circle-left-outlined":
|
|
6119
|
-
"circle-ok-outlined":
|
|
6120
|
-
"circle-question-outlined":
|
|
6121
|
-
"circle-remove-outlined":
|
|
6122
|
-
"circle-right-outlined":
|
|
6123
|
-
"circle-up-outlined":
|
|
6124
|
-
"circle-warning-outlined":
|
|
6125
|
-
"clock-2-outlined":
|
|
6126
|
-
"clock-outlined":
|
|
6127
|
-
"cog-outlined":
|
|
6128
|
-
"coin-outlined":
|
|
6129
|
-
"comment-outlined":
|
|
6130
|
-
"contacts-outlined":
|
|
6131
|
-
"credit-card-outlined":
|
|
6132
|
-
"cup-outlined":
|
|
6133
|
-
"direction-arrows-outlined":
|
|
6134
|
-
"directory-outlined":
|
|
6135
|
-
"document-outlined":
|
|
6136
|
-
"dollar-card-outlined":
|
|
6137
|
-
"dollar-coin-shine-outlined":
|
|
6138
|
-
"dollar-sign":
|
|
6139
|
-
"double-buildings-outlined":
|
|
6140
|
-
"double-left-arrows":
|
|
6141
|
-
"double-right-arrows":
|
|
6142
|
-
"download-outlined":
|
|
6143
|
-
"edit-template-outlined":
|
|
6144
|
-
"email-outlined":
|
|
6145
|
-
"enter-arrow":
|
|
6146
|
-
"envelope-outlined":
|
|
6147
|
-
"expense-outlined":
|
|
6148
|
-
"explore-outlined":
|
|
6149
|
-
"external-link":
|
|
6150
|
-
"eye-invisible-outlined":
|
|
6151
|
-
"eye-outlined":
|
|
6152
|
-
"face-id":
|
|
6153
|
-
"face-meh-outlined":
|
|
6154
|
-
"face-open-smiley-outlined":
|
|
6155
|
-
"face-sad-outlined":
|
|
6156
|
-
"face-smiley-outlined":
|
|
6157
|
-
"feed-outlined":
|
|
6158
|
-
"file-certified-outlined":
|
|
6159
|
-
"file-clone-outlined":
|
|
6160
|
-
"file-copy-outlined":
|
|
6161
|
-
"file-dispose-outlined":
|
|
6162
|
-
"file-dollar-outlined":
|
|
6163
|
-
"file-download-outlined":
|
|
6164
|
-
"file-export-outlined":
|
|
6165
|
-
"file-lock-outlined":
|
|
6166
|
-
"file-outlined":
|
|
6167
|
-
"file-search-outlined":
|
|
6168
|
-
"file-secured-outlined":
|
|
6169
|
-
"file-verified-outlined":
|
|
6170
|
-
"filter-outlined":
|
|
6171
|
-
"folder-outlined":
|
|
6172
|
-
"folder-user-outlined":
|
|
6173
|
-
"funnel-filter-outline":
|
|
6174
|
-
"graph-outlined":
|
|
6175
|
-
"hand-holding-user-outlined":
|
|
6176
|
-
"happy-sun-outlined":
|
|
6177
|
-
"health-bag-outlined":
|
|
6178
|
-
"heart-outlined":
|
|
6179
|
-
"home-active-outlined":
|
|
6180
|
-
"home-outlined":
|
|
6181
|
-
"id-card-outlined":
|
|
6182
|
-
"image-outlined":
|
|
6183
|
-
"import-outlined":
|
|
6184
|
-
"instapay-outlined":
|
|
6041
|
+
"circle-add-outlined": 59202,
|
|
6042
|
+
"circle-cancel-outlined": 59203,
|
|
6043
|
+
"circle-down-outlined": 59204,
|
|
6044
|
+
"circle-info-outlined": 59205,
|
|
6045
|
+
"circle-left-outlined": 59206,
|
|
6046
|
+
"circle-ok-outlined": 59207,
|
|
6047
|
+
"circle-question-outlined": 59208,
|
|
6048
|
+
"circle-remove-outlined": 59209,
|
|
6049
|
+
"circle-right-outlined": 59210,
|
|
6050
|
+
"circle-up-outlined": 59211,
|
|
6051
|
+
"circle-warning-outlined": 59212,
|
|
6052
|
+
"clock-2-outlined": 59213,
|
|
6053
|
+
"clock-outlined": 59214,
|
|
6054
|
+
"cog-outlined": 59215,
|
|
6055
|
+
"coin-outlined": 59216,
|
|
6056
|
+
"comment-outlined": 59217,
|
|
6057
|
+
"contacts-outlined": 59218,
|
|
6058
|
+
"credit-card-outlined": 59219,
|
|
6059
|
+
"cup-outlined": 59220,
|
|
6060
|
+
"direction-arrows-outlined": 59221,
|
|
6061
|
+
"directory-outlined": 59222,
|
|
6062
|
+
"document-outlined": 59223,
|
|
6063
|
+
"dollar-card-outlined": 59224,
|
|
6064
|
+
"dollar-coin-shine-outlined": 59225,
|
|
6065
|
+
"dollar-sign": 59226,
|
|
6066
|
+
"double-buildings-outlined": 59227,
|
|
6067
|
+
"double-left-arrows": 59228,
|
|
6068
|
+
"double-right-arrows": 59229,
|
|
6069
|
+
"download-outlined": 59230,
|
|
6070
|
+
"edit-template-outlined": 59231,
|
|
6071
|
+
"email-outlined": 59232,
|
|
6072
|
+
"enter-arrow": 59233,
|
|
6073
|
+
"envelope-outlined": 59234,
|
|
6074
|
+
"expense-outlined": 59235,
|
|
6075
|
+
"explore-outlined": 59236,
|
|
6076
|
+
"external-link": 59237,
|
|
6077
|
+
"eye-invisible-outlined": 59238,
|
|
6078
|
+
"eye-outlined": 59239,
|
|
6079
|
+
"face-id": 59240,
|
|
6080
|
+
"face-meh-outlined": 59241,
|
|
6081
|
+
"face-open-smiley-outlined": 59242,
|
|
6082
|
+
"face-sad-outlined": 59243,
|
|
6083
|
+
"face-smiley-outlined": 59244,
|
|
6084
|
+
"feed-outlined": 59245,
|
|
6085
|
+
"file-certified-outlined": 59246,
|
|
6086
|
+
"file-clone-outlined": 59247,
|
|
6087
|
+
"file-copy-outlined": 59248,
|
|
6088
|
+
"file-dispose-outlined": 59249,
|
|
6089
|
+
"file-dollar-outlined": 59250,
|
|
6090
|
+
"file-download-outlined": 59251,
|
|
6091
|
+
"file-export-outlined": 59252,
|
|
6092
|
+
"file-lock-outlined": 59253,
|
|
6093
|
+
"file-outlined": 59254,
|
|
6094
|
+
"file-search-outlined": 59255,
|
|
6095
|
+
"file-secured-outlined": 59256,
|
|
6096
|
+
"file-verified-outlined": 59257,
|
|
6097
|
+
"filter-outlined": 59258,
|
|
6098
|
+
"folder-outlined": 59259,
|
|
6099
|
+
"folder-user-outlined": 59260,
|
|
6100
|
+
"funnel-filter-outline": 59261,
|
|
6101
|
+
"graph-outlined": 59262,
|
|
6102
|
+
"hand-holding-user-outlined": 59263,
|
|
6103
|
+
"happy-sun-outlined": 59264,
|
|
6104
|
+
"health-bag-outlined": 59265,
|
|
6105
|
+
"heart-outlined": 59266,
|
|
6106
|
+
"home-active-outlined": 59267,
|
|
6107
|
+
"home-outlined": 59268,
|
|
6108
|
+
"id-card-outlined": 59269,
|
|
6109
|
+
"image-outlined": 59270,
|
|
6110
|
+
"import-outlined": 59271,
|
|
6111
|
+
"instapay-outlined": 59272,
|
|
6185
6112
|
italic: italic,
|
|
6186
|
-
"link-1":
|
|
6187
|
-
"link-2":
|
|
6188
|
-
"list-outlined":
|
|
6189
|
-
"live-help-outlined":
|
|
6190
|
-
"location-outlined":
|
|
6191
|
-
"lock-outlined":
|
|
6192
|
-
"locked-file-outlined":
|
|
6193
|
-
"log-out":
|
|
6194
|
-
"media-content-outlined":
|
|
6195
|
-
"menu-close":
|
|
6196
|
-
"menu-expand":
|
|
6197
|
-
"menu-fold-outlined":
|
|
6198
|
-
"menu-unfold-outlined":
|
|
6199
|
-
"moneybag-outlined":
|
|
6200
|
-
"moon-outlined":
|
|
6201
|
-
"more-horizontal":
|
|
6202
|
-
"more-vertical":
|
|
6203
|
-
"multiple-folders-outlined":
|
|
6204
|
-
"multiple-users-outlined":
|
|
6205
|
-
"near-me-outlined":
|
|
6206
|
-
"node-outlined":
|
|
6207
|
-
"number-points":
|
|
6113
|
+
"link-1": 59274,
|
|
6114
|
+
"link-2": 59275,
|
|
6115
|
+
"list-outlined": 59276,
|
|
6116
|
+
"live-help-outlined": 59277,
|
|
6117
|
+
"location-outlined": 59278,
|
|
6118
|
+
"lock-outlined": 59279,
|
|
6119
|
+
"locked-file-outlined": 59280,
|
|
6120
|
+
"log-out": 59281,
|
|
6121
|
+
"media-content-outlined": 59282,
|
|
6122
|
+
"menu-close": 59283,
|
|
6123
|
+
"menu-expand": 59284,
|
|
6124
|
+
"menu-fold-outlined": 59285,
|
|
6125
|
+
"menu-unfold-outlined": 59286,
|
|
6126
|
+
"moneybag-outlined": 59287,
|
|
6127
|
+
"moon-outlined": 59288,
|
|
6128
|
+
"more-horizontal": 59289,
|
|
6129
|
+
"more-vertical": 59290,
|
|
6130
|
+
"multiple-folders-outlined": 59291,
|
|
6131
|
+
"multiple-users-outlined": 59292,
|
|
6132
|
+
"near-me-outlined": 59293,
|
|
6133
|
+
"node-outlined": 59294,
|
|
6134
|
+
"number-points": 59295,
|
|
6208
6135
|
number: number,
|
|
6209
|
-
"payment-summary-outlined":
|
|
6210
|
-
"payslip-outlined":
|
|
6211
|
-
"pencil-outlined":
|
|
6136
|
+
"payment-summary-outlined": 59297,
|
|
6137
|
+
"payslip-outlined": 59298,
|
|
6138
|
+
"pencil-outlined": 59299,
|
|
6212
6139
|
percentage: percentage,
|
|
6213
|
-
"phone-outlined":
|
|
6214
|
-
"piggy-bank-outlined":
|
|
6215
|
-
"plane-outlined":
|
|
6216
|
-
"play-circle-outlined":
|
|
6217
|
-
"print-outlined":
|
|
6218
|
-
"qr-code-outlined":
|
|
6219
|
-
"re-assign":
|
|
6140
|
+
"phone-outlined": 59301,
|
|
6141
|
+
"piggy-bank-outlined": 59302,
|
|
6142
|
+
"plane-outlined": 59303,
|
|
6143
|
+
"play-circle-outlined": 59304,
|
|
6144
|
+
"print-outlined": 59305,
|
|
6145
|
+
"qr-code-outlined": 59306,
|
|
6146
|
+
"re-assign": 59307,
|
|
6220
6147
|
redeem: redeem,
|
|
6221
6148
|
refresh: refresh,
|
|
6222
6149
|
remove: remove,
|
|
6223
|
-
"reply-outlined":
|
|
6150
|
+
"reply-outlined": 59311,
|
|
6224
6151
|
restart: restart,
|
|
6225
|
-
"return-arrow":
|
|
6226
|
-
"rostering-outlined":
|
|
6227
|
-
"save-outlined":
|
|
6228
|
-
"schedule-outlined":
|
|
6229
|
-
"search-outlined":
|
|
6230
|
-
"search-secured-outlined":
|
|
6231
|
-
"send-outlined":
|
|
6232
|
-
"share-1":
|
|
6233
|
-
"share-2":
|
|
6234
|
-
"share-outlined":
|
|
6235
|
-
"single-down-arrow":
|
|
6236
|
-
"single-left-arrow":
|
|
6237
|
-
"single-right-arrow":
|
|
6238
|
-
"single-up-arrow":
|
|
6239
|
-
"speaker-active-outlined":
|
|
6240
|
-
"speaker-outlined":
|
|
6241
|
-
"star-outlined":
|
|
6242
|
-
"stopwatch-outlined":
|
|
6152
|
+
"return-arrow": 59313,
|
|
6153
|
+
"rostering-outlined": 59314,
|
|
6154
|
+
"save-outlined": 59315,
|
|
6155
|
+
"schedule-outlined": 59316,
|
|
6156
|
+
"search-outlined": 59317,
|
|
6157
|
+
"search-secured-outlined": 59318,
|
|
6158
|
+
"send-outlined": 59319,
|
|
6159
|
+
"share-1": 59320,
|
|
6160
|
+
"share-2": 59321,
|
|
6161
|
+
"share-outlined": 59322,
|
|
6162
|
+
"single-down-arrow": 59323,
|
|
6163
|
+
"single-left-arrow": 59324,
|
|
6164
|
+
"single-right-arrow": 59325,
|
|
6165
|
+
"single-up-arrow": 59326,
|
|
6166
|
+
"speaker-active-outlined": 59327,
|
|
6167
|
+
"speaker-outlined": 59328,
|
|
6168
|
+
"star-outlined": 59329,
|
|
6169
|
+
"stopwatch-outlined": 59330,
|
|
6243
6170
|
strikethrough: strikethrough,
|
|
6244
|
-
"suitcase-clock-outlined":
|
|
6245
|
-
"suitcase-outlined":
|
|
6246
|
-
"survey-outlined":
|
|
6247
|
-
"switch-outlined":
|
|
6171
|
+
"suitcase-clock-outlined": 59332,
|
|
6172
|
+
"suitcase-outlined": 59333,
|
|
6173
|
+
"survey-outlined": 59334,
|
|
6174
|
+
"switch-outlined": 59335,
|
|
6248
6175
|
sync: sync,
|
|
6249
|
-
"target-outlined":
|
|
6250
|
-
"timesheet-outlined":
|
|
6176
|
+
"target-outlined": 59337,
|
|
6177
|
+
"timesheet-outlined": 59338,
|
|
6251
6178
|
transfer: transfer,
|
|
6252
|
-
"trash-bin-outlined":
|
|
6253
|
-
"umbrela-outlined":
|
|
6179
|
+
"trash-bin-outlined": 59340,
|
|
6180
|
+
"umbrela-outlined": 59341,
|
|
6254
6181
|
unavailable: unavailable,
|
|
6255
6182
|
underline: underline,
|
|
6256
|
-
"unlock-outlined":
|
|
6257
|
-
"upload-outlined":
|
|
6258
|
-
"user-circle-outlined":
|
|
6259
|
-
"user-gear-outlined":
|
|
6260
|
-
"user-outlined":
|
|
6261
|
-
"user-rectangle-outlined":
|
|
6262
|
-
"video-1-outlined":
|
|
6263
|
-
"video-2-outlined":
|
|
6264
|
-
"wallet-outlined":
|
|
6183
|
+
"unlock-outlined": 59344,
|
|
6184
|
+
"upload-outlined": 59345,
|
|
6185
|
+
"user-circle-outlined": 59346,
|
|
6186
|
+
"user-gear-outlined": 59347,
|
|
6187
|
+
"user-outlined": 59348,
|
|
6188
|
+
"user-rectangle-outlined": 59349,
|
|
6189
|
+
"video-1-outlined": 59350,
|
|
6190
|
+
"video-2-outlined": 59351,
|
|
6191
|
+
"wallet-outlined": 59352
|
|
6265
6192
|
};
|
|
6266
6193
|
|
|
6267
6194
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6410,11 +6337,9 @@ var Accordion = function Accordion(_ref) {
|
|
|
6410
6337
|
|
|
6411
6338
|
var Container$1 = index$a(reactNative.View)(function (_ref) {
|
|
6412
6339
|
var theme = _ref.theme,
|
|
6413
|
-
_ref$themeVariant = _ref.themeVariant,
|
|
6414
|
-
themeVariant = _ref$themeVariant === void 0 ? 'default' : _ref$themeVariant,
|
|
6415
6340
|
themeIntent = _ref.themeIntent;
|
|
6416
6341
|
return {
|
|
6417
|
-
borderRadius:
|
|
6342
|
+
borderRadius: theme.__hd__.alert.radii["default"],
|
|
6418
6343
|
backgroundColor: theme.__hd__.alert.colors[themeIntent],
|
|
6419
6344
|
minHeight: theme.__hd__.alert.sizes.height,
|
|
6420
6345
|
flexDirection: 'row'
|
|
@@ -6483,13 +6408,9 @@ var Alert = function Alert(_ref2) {
|
|
|
6483
6408
|
_ref2$intent = _ref2.intent,
|
|
6484
6409
|
intent = _ref2$intent === void 0 ? 'info' : _ref2$intent,
|
|
6485
6410
|
onClose = _ref2.onClose,
|
|
6486
|
-
_variant = _ref2.variant,
|
|
6487
6411
|
style = _ref2.style,
|
|
6488
6412
|
testID = _ref2.testID;
|
|
6489
|
-
var variant = _variant === undefined ? 'default' : _variant;
|
|
6490
|
-
useDeprecation("Alert's variant prop will be removed in the next major release. Rounded will be the only variant available.", _variant !== undefined);
|
|
6491
6413
|
return /*#__PURE__*/React__default["default"].createElement(Container$1, {
|
|
6492
|
-
themeVariant: variant,
|
|
6493
6414
|
themeIntent: intent,
|
|
6494
6415
|
style: style,
|
|
6495
6416
|
testID: testID
|
|
@@ -7231,28 +7152,6 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
7231
7152
|
}, nativeProps), Array.from(new Array(count), renderLoadingDot, themeVariant));
|
|
7232
7153
|
};
|
|
7233
7154
|
|
|
7234
|
-
var genBasicTransparentContainerStyles = function genBasicTransparentContainerStyles(theme, disabled) {
|
|
7235
|
-
var borderColorStyling = function borderColorStyling() {
|
|
7236
|
-
if (disabled) {
|
|
7237
|
-
return {
|
|
7238
|
-
borderColor: theme.__hd__.button.colors.disabledBorder
|
|
7239
|
-
};
|
|
7240
|
-
}
|
|
7241
|
-
return {
|
|
7242
|
-
borderColor: theme.__hd__.button.colors.invertedText
|
|
7243
|
-
};
|
|
7244
|
-
};
|
|
7245
|
-
return _objectSpread2({
|
|
7246
|
-
width: '100%',
|
|
7247
|
-
flexDirection: 'row',
|
|
7248
|
-
justifyContent: 'center',
|
|
7249
|
-
alignItems: 'center',
|
|
7250
|
-
padding: theme.__hd__.button.space.buttonPadding - theme.__hd__.button.borderWidth["default"],
|
|
7251
|
-
borderWidth: theme.__hd__.button.borderWidth["default"],
|
|
7252
|
-
borderRadius: theme.__hd__.button.radii["default"],
|
|
7253
|
-
backgroundColor: 'transparent'
|
|
7254
|
-
}, borderColorStyling());
|
|
7255
|
-
};
|
|
7256
7155
|
var genFilledContainerStyles = function genFilledContainerStyles(theme, intent, disabled) {
|
|
7257
7156
|
var backgroundColorStyling = function backgroundColorStyling() {
|
|
7258
7157
|
if (disabled) {
|
|
@@ -7333,8 +7232,6 @@ var StyledButtonContainer = index$a(reactNative.TouchableOpacity)(function (_ref
|
|
|
7333
7232
|
themeVariant = _ref.themeVariant,
|
|
7334
7233
|
theme = _ref.theme;
|
|
7335
7234
|
switch (themeVariant) {
|
|
7336
|
-
case 'basic-transparent':
|
|
7337
|
-
return genBasicTransparentContainerStyles(theme, disabled);
|
|
7338
7235
|
case 'filled-primary':
|
|
7339
7236
|
return genFilledContainerStyles(theme, 'primary', disabled);
|
|
7340
7237
|
case 'filled-secondary':
|
|
@@ -7365,12 +7262,6 @@ var StyledButtonText = index$a(Typography.Text)(function (_ref2) {
|
|
|
7365
7262
|
theme = _ref2.theme;
|
|
7366
7263
|
var themeStyling = function themeStyling() {
|
|
7367
7264
|
switch (themeVariant) {
|
|
7368
|
-
case 'basic-transparent':
|
|
7369
|
-
return {
|
|
7370
|
-
fontSize: theme.__hd__.button.fontSize["default"],
|
|
7371
|
-
lineHeight: theme.__hd__.button.lineHeight["default"],
|
|
7372
|
-
color: disabled ? theme.__hd__.button.colors.disabledText : theme.__hd__.button.colors.invertedText
|
|
7373
|
-
};
|
|
7374
7265
|
case 'filled-primary':
|
|
7375
7266
|
case 'filled-secondary':
|
|
7376
7267
|
case 'filled-danger':
|
|
@@ -7419,10 +7310,6 @@ var StyledButtonIcon = index$a(Icon)(function (_ref4) {
|
|
|
7419
7310
|
theme = _ref4.theme;
|
|
7420
7311
|
var themeStyling = function themeStyling() {
|
|
7421
7312
|
switch (themeVariant) {
|
|
7422
|
-
case 'basic-transparent':
|
|
7423
|
-
return {
|
|
7424
|
-
color: disabled ? theme.__hd__.button.colors.disabledText : theme.__hd__.button.colors.invertedText
|
|
7425
|
-
};
|
|
7426
7313
|
case 'filled-primary':
|
|
7427
7314
|
case 'filled-secondary':
|
|
7428
7315
|
case 'filled-danger':
|
|
@@ -7465,8 +7352,6 @@ var TEXT_VARIANTS = {
|
|
|
7465
7352
|
};
|
|
7466
7353
|
var getThemeVariant = function getThemeVariant(variant, intent) {
|
|
7467
7354
|
switch (variant) {
|
|
7468
|
-
case 'basic-transparent':
|
|
7469
|
-
return variant;
|
|
7470
7355
|
case 'filled':
|
|
7471
7356
|
return FILLED_VARIANTS[intent];
|
|
7472
7357
|
case 'outlined':
|
|
@@ -7493,7 +7378,6 @@ var Button = function Button(_ref) {
|
|
|
7493
7378
|
_ref$variant = _ref.variant,
|
|
7494
7379
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant;
|
|
7495
7380
|
var themeVariant = getThemeVariant(variant, intent);
|
|
7496
|
-
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');
|
|
7497
7381
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonContainer, {
|
|
7498
7382
|
accessibilityHint: accessibilityHint,
|
|
7499
7383
|
accessibilityLabel: accessibilityLabel,
|
|
@@ -10542,41 +10426,23 @@ var DataCard = function DataCard(_ref) {
|
|
|
10542
10426
|
};
|
|
10543
10427
|
|
|
10544
10428
|
var StyledCard = index$a(reactNative.View)(function (_ref) {
|
|
10545
|
-
var
|
|
10546
|
-
theme = _ref.theme,
|
|
10429
|
+
var theme = _ref.theme,
|
|
10547
10430
|
themeIntent = _ref.themeIntent;
|
|
10548
|
-
return _objectSpread2(_objectSpread2(
|
|
10549
|
-
flexDirection: 'row'
|
|
10550
|
-
}), themeIntent !== undefined && {
|
|
10431
|
+
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
10551
10432
|
backgroundColor: theme.__hd__.card.colors[themeIntent]
|
|
10552
10433
|
}), {}, {
|
|
10553
10434
|
borderRadius: theme.__hd__.card.radii["default"],
|
|
10554
10435
|
overflow: 'hidden'
|
|
10555
10436
|
});
|
|
10556
10437
|
});
|
|
10557
|
-
// DEPRECATED
|
|
10558
|
-
var LeftDataCard = index$a(reactNative.View)(function (_ref2) {
|
|
10559
|
-
var theme = _ref2.theme;
|
|
10560
|
-
return {
|
|
10561
|
-
backgroundColor: theme.__hd__.card.colors.dataCardIndicator,
|
|
10562
|
-
width: theme.__hd__.card.sizes.indicatorWidth,
|
|
10563
|
-
height: '100%'
|
|
10564
|
-
};
|
|
10565
|
-
});
|
|
10566
10438
|
|
|
10567
|
-
var _excluded$8 = ["
|
|
10439
|
+
var _excluded$8 = ["intent", "children"];
|
|
10568
10440
|
var Card = function Card(_ref) {
|
|
10569
|
-
var
|
|
10570
|
-
intent = _ref.intent,
|
|
10441
|
+
var intent = _ref.intent,
|
|
10571
10442
|
children = _ref.children,
|
|
10572
10443
|
nativeProps = _objectWithoutProperties(_ref, _excluded$8);
|
|
10573
|
-
var variant = _variant === undefined ? 'basic' : _variant;
|
|
10574
|
-
useDeprecation("Card's variant prop is deprecated and will be removed in the next major release.\nPlease remove it or use Card.Data instead.", _variant !== undefined);
|
|
10575
10444
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends$1({}, nativeProps, {
|
|
10576
|
-
themeVariant: variant,
|
|
10577
10445
|
themeIntent: intent
|
|
10578
|
-
}), variant === 'data' && /*#__PURE__*/React__default["default"].createElement(LeftDataCard, {
|
|
10579
|
-
testID: "data-card-indicator"
|
|
10580
10446
|
}), children);
|
|
10581
10447
|
};
|
|
10582
10448
|
var index$8 = Object.assign(Card, {
|
|
@@ -10970,6 +10836,8 @@ var TextInput = function TextInput(_ref2) {
|
|
|
10970
10836
|
|
|
10971
10837
|
var DatePickerAndroid = function DatePickerAndroid(_ref) {
|
|
10972
10838
|
var value = _ref.value,
|
|
10839
|
+
minDate = _ref.minDate,
|
|
10840
|
+
maxDate = _ref.maxDate,
|
|
10973
10841
|
label = _ref.label,
|
|
10974
10842
|
placeholder = _ref.placeholder,
|
|
10975
10843
|
_onChange = _ref.onChange,
|
|
@@ -11011,6 +10879,8 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
|
|
|
11011
10879
|
testID: "datePickerAndroid",
|
|
11012
10880
|
mode: "date",
|
|
11013
10881
|
value: pickerInitValue,
|
|
10882
|
+
minimumDate: minDate,
|
|
10883
|
+
maximumDate: maxDate,
|
|
11014
10884
|
display: "default",
|
|
11015
10885
|
onChange: function onChange(_, date) {
|
|
11016
10886
|
setOpen(false);
|
|
@@ -11030,6 +10900,8 @@ var StyledPickerWrapper$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
11030
10900
|
|
|
11031
10901
|
var DatePickerIOS = function DatePickerIOS(_ref) {
|
|
11032
10902
|
var value = _ref.value,
|
|
10903
|
+
minDate = _ref.minDate,
|
|
10904
|
+
maxDate = _ref.maxDate,
|
|
11033
10905
|
label = _ref.label,
|
|
11034
10906
|
placeholder = _ref.placeholder,
|
|
11035
10907
|
onChange = _ref.onChange,
|
|
@@ -11090,6 +10962,8 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
|
|
|
11090
10962
|
}, /*#__PURE__*/React__default["default"].createElement(StyledPickerWrapper$1, null, /*#__PURE__*/React__default["default"].createElement(DateTimePicker__default["default"], {
|
|
11091
10963
|
testID: "datePickerIOS",
|
|
11092
10964
|
value: selectingDate,
|
|
10965
|
+
minimumDate: minDate,
|
|
10966
|
+
maximumDate: maxDate,
|
|
11093
10967
|
mode: "date",
|
|
11094
10968
|
onChange: function onChange(_, date) {
|
|
11095
10969
|
if (date) {
|
|
@@ -11200,7 +11074,7 @@ var calculateSnapPointsData = function calculateSnapPointsData(minimumHeight, he
|
|
|
11200
11074
|
var uniqSnapPointOffsetValues = Array.from(new Set([].concat(_toConsumableArray(snapPointsOffsetValues), [0])));
|
|
11201
11075
|
return {
|
|
11202
11076
|
list: uniqSnapPointOffsetValues,
|
|
11203
|
-
minHeightOffset: Math.max.apply(Math,
|
|
11077
|
+
minHeightOffset: Math.max.apply(Math, uniqSnapPointOffsetValues),
|
|
11204
11078
|
maxHeightOffset: 0 // Max height
|
|
11205
11079
|
};
|
|
11206
11080
|
};
|
|
@@ -13077,7 +12951,6 @@ function MultiSelect(_ref) {
|
|
|
13077
12951
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
13078
12952
|
inputProps = _ref.inputProps,
|
|
13079
12953
|
onConfirm = _ref.onConfirm,
|
|
13080
|
-
onDimiss = _ref.onDimiss,
|
|
13081
12954
|
onDismiss = _ref.onDismiss,
|
|
13082
12955
|
onEndReached = _ref.onEndReached,
|
|
13083
12956
|
onQueryChange = _ref.onQueryChange,
|
|
@@ -13091,7 +12964,6 @@ function MultiSelect(_ref) {
|
|
|
13091
12964
|
_ref$disabled = _ref.disabled,
|
|
13092
12965
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13093
12966
|
required = _ref.required,
|
|
13094
|
-
numberOfLines = _ref.numberOfLines,
|
|
13095
12967
|
style = _ref.style,
|
|
13096
12968
|
testID = _ref.testID,
|
|
13097
12969
|
value = _ref.value;
|
|
@@ -13114,9 +12986,6 @@ function MultiSelect(_ref) {
|
|
|
13114
12986
|
}).map(function (opt) {
|
|
13115
12987
|
return opt.text;
|
|
13116
12988
|
}).join(', ');
|
|
13117
|
-
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13118
|
-
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13119
|
-
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);
|
|
13120
12989
|
React.useEffect(function () {
|
|
13121
12990
|
setSelectingValue(value);
|
|
13122
12991
|
}, [open]);
|
|
@@ -13128,9 +12997,7 @@ function MultiSelect(_ref) {
|
|
|
13128
12997
|
}
|
|
13129
12998
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13130
12999
|
pointerEvents: "none"
|
|
13131
|
-
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({
|
|
13132
|
-
numberOfLines: numberOfLines
|
|
13133
|
-
}, inputProps, {
|
|
13000
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({}, inputProps, {
|
|
13134
13001
|
label: label,
|
|
13135
13002
|
value: displayedValue,
|
|
13136
13003
|
suffix: "arrow-down",
|
|
@@ -13150,7 +13017,7 @@ function MultiSelect(_ref) {
|
|
|
13150
13017
|
onRequestClose: function onRequestClose() {
|
|
13151
13018
|
return setOpen(false);
|
|
13152
13019
|
},
|
|
13153
|
-
onDismiss: onDismiss
|
|
13020
|
+
onDismiss: onDismiss,
|
|
13154
13021
|
header: label,
|
|
13155
13022
|
style: {
|
|
13156
13023
|
paddingBottom: isKeyboardVisible ? keyboardHeight : 0
|
|
@@ -13269,7 +13136,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13269
13136
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
13270
13137
|
inputProps = _ref.inputProps,
|
|
13271
13138
|
onConfirm = _ref.onConfirm,
|
|
13272
|
-
onDimiss = _ref.onDimiss,
|
|
13273
13139
|
onDismiss = _ref.onDismiss,
|
|
13274
13140
|
onEndReached = _ref.onEndReached,
|
|
13275
13141
|
onQueryChange = _ref.onQueryChange,
|
|
@@ -13283,7 +13149,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13283
13149
|
_ref$disabled = _ref.disabled,
|
|
13284
13150
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13285
13151
|
required = _ref.required,
|
|
13286
|
-
numberOfLines = _ref.numberOfLines,
|
|
13287
13152
|
style = _ref.style,
|
|
13288
13153
|
testID = _ref.testID,
|
|
13289
13154
|
value = _ref.value;
|
|
@@ -13300,9 +13165,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13300
13165
|
var displayedValue = (_flatOptions$find = flatOptions.find(function (opt) {
|
|
13301
13166
|
return value === opt.value;
|
|
13302
13167
|
})) === null || _flatOptions$find === void 0 ? void 0 : _flatOptions$find.text;
|
|
13303
|
-
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13304
|
-
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13305
|
-
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);
|
|
13306
13168
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13307
13169
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
13308
13170
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.TouchableOpacity, {
|
|
@@ -13311,9 +13173,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13311
13173
|
}
|
|
13312
13174
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13313
13175
|
pointerEvents: "none"
|
|
13314
|
-
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({
|
|
13315
|
-
numberOfLines: numberOfLines
|
|
13316
|
-
}, inputProps, {
|
|
13176
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({}, inputProps, {
|
|
13317
13177
|
label: label,
|
|
13318
13178
|
value: displayedValue,
|
|
13319
13179
|
suffix: "arrow-down",
|
|
@@ -13333,7 +13193,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13333
13193
|
onRequestClose: function onRequestClose() {
|
|
13334
13194
|
return setOpen(false);
|
|
13335
13195
|
},
|
|
13336
|
-
onDismiss: onDismiss
|
|
13196
|
+
onDismiss: onDismiss,
|
|
13337
13197
|
header: label,
|
|
13338
13198
|
style: {
|
|
13339
13199
|
paddingBottom: isKeyboardVisible ? keyboardHeight : 0
|
|
@@ -13371,31 +13231,6 @@ var index$4 = Object.assign(SingleSelect, {
|
|
|
13371
13231
|
});
|
|
13372
13232
|
|
|
13373
13233
|
var StyledWrapper$1 = index$a(reactNative.View)(function (_ref) {
|
|
13374
|
-
var theme = _ref.theme,
|
|
13375
|
-
themeVariant = _ref.themeVariant,
|
|
13376
|
-
themeSize = _ref.themeSize;
|
|
13377
|
-
return {
|
|
13378
|
-
height: theme.__hd__["switch"].sizes.heights[themeSize],
|
|
13379
|
-
width: theme.__hd__["switch"].sizes.widths[themeSize],
|
|
13380
|
-
paddingHorizontal: theme.__hd__["switch"].spaces[themeSize],
|
|
13381
|
-
borderRadius: theme.__hd__["switch"].radii.rounded,
|
|
13382
|
-
backgroundColor: theme.__hd__["switch"].colors.backgroundColors[themeVariant],
|
|
13383
|
-
display: 'flex',
|
|
13384
|
-
justifyContent: 'center'
|
|
13385
|
-
};
|
|
13386
|
-
});
|
|
13387
|
-
var StyledKnot = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
13388
|
-
var theme = _ref2.theme,
|
|
13389
|
-
themeSize = _ref2.themeSize;
|
|
13390
|
-
return {
|
|
13391
|
-
width: theme.__hd__["switch"].sizes.thumbs[themeSize],
|
|
13392
|
-
height: theme.__hd__["switch"].sizes.thumbs[themeSize],
|
|
13393
|
-
backgroundColor: theme.__hd__["switch"].colors.thumb,
|
|
13394
|
-
borderRadius: theme.__hd__["switch"].radii.rounded
|
|
13395
|
-
};
|
|
13396
|
-
});
|
|
13397
|
-
|
|
13398
|
-
var StyledWrapper = index$a(reactNative.View)(function (_ref) {
|
|
13399
13234
|
var theme = _ref.theme;
|
|
13400
13235
|
return {
|
|
13401
13236
|
flexDirection: 'row',
|
|
@@ -13475,7 +13310,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
13475
13310
|
return onPress(value);
|
|
13476
13311
|
} : undefined,
|
|
13477
13312
|
testID: testID
|
|
13478
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
13313
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$1, {
|
|
13479
13314
|
style: style
|
|
13480
13315
|
}, options.map(function (opt, index) {
|
|
13481
13316
|
return (
|
|
@@ -13489,6 +13324,29 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
13489
13324
|
})));
|
|
13490
13325
|
};
|
|
13491
13326
|
|
|
13327
|
+
var StyledWrapper = index$a(reactNative.View)(function (_ref) {
|
|
13328
|
+
var theme = _ref.theme,
|
|
13329
|
+
themeVariant = _ref.themeVariant;
|
|
13330
|
+
return {
|
|
13331
|
+
height: theme.__hd__["switch"].sizes.height,
|
|
13332
|
+
width: theme.__hd__["switch"].sizes.width,
|
|
13333
|
+
paddingHorizontal: theme.__hd__["switch"].spaces.paddingHorizontal,
|
|
13334
|
+
borderRadius: theme.__hd__["switch"].radii.rounded,
|
|
13335
|
+
backgroundColor: theme.__hd__["switch"].colors.backgroundColors[themeVariant],
|
|
13336
|
+
display: 'flex',
|
|
13337
|
+
justifyContent: 'center'
|
|
13338
|
+
};
|
|
13339
|
+
});
|
|
13340
|
+
var StyledKnot = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
13341
|
+
var theme = _ref2.theme;
|
|
13342
|
+
return {
|
|
13343
|
+
width: theme.__hd__["switch"].sizes.thumb,
|
|
13344
|
+
height: theme.__hd__["switch"].sizes.thumb,
|
|
13345
|
+
backgroundColor: theme.__hd__["switch"].colors.thumb,
|
|
13346
|
+
borderRadius: theme.__hd__["switch"].radii.rounded
|
|
13347
|
+
};
|
|
13348
|
+
});
|
|
13349
|
+
|
|
13492
13350
|
var getVariant = function getVariant(_ref) {
|
|
13493
13351
|
var disabled = _ref.disabled,
|
|
13494
13352
|
checked = _ref.checked;
|
|
@@ -13498,22 +13356,19 @@ var getVariant = function getVariant(_ref) {
|
|
|
13498
13356
|
return checked ? 'checked' : 'unchecked';
|
|
13499
13357
|
};
|
|
13500
13358
|
var Switch = function Switch(_ref2) {
|
|
13501
|
-
var
|
|
13502
|
-
_ref2$disabled = _ref2.disabled,
|
|
13359
|
+
var _ref2$disabled = _ref2.disabled,
|
|
13503
13360
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
13504
13361
|
_ref2$checked = _ref2.checked,
|
|
13505
13362
|
checked = _ref2$checked === void 0 ? false : _ref2$checked,
|
|
13506
13363
|
onPress = _ref2.onPress,
|
|
13507
13364
|
style = _ref2.style,
|
|
13508
13365
|
testID = _ref2.testID;
|
|
13509
|
-
var size = _size === undefined ? 'medium' : _size;
|
|
13510
13366
|
var theme = useTheme$1();
|
|
13511
13367
|
var variant = getVariant({
|
|
13512
13368
|
disabled: disabled,
|
|
13513
13369
|
checked: checked
|
|
13514
13370
|
});
|
|
13515
|
-
|
|
13516
|
-
var offset = checked ? (theme.__hd__["switch"].sizes.widths[size] - theme.__hd__["switch"].sizes.thumbs[size]) / 2 + theme.__hd__["switch"].sizes.thumbs[size] / 2 : 0;
|
|
13371
|
+
var offset = checked ? (theme.__hd__["switch"].sizes.width - theme.__hd__["switch"].sizes.thumb) / 2 + theme.__hd__["switch"].sizes.thumb / 2 : 0;
|
|
13517
13372
|
var _useState = React.useState(function () {
|
|
13518
13373
|
return new reactNative.Animated.Value(offset);
|
|
13519
13374
|
}),
|
|
@@ -13530,12 +13385,10 @@ var Switch = function Switch(_ref2) {
|
|
|
13530
13385
|
testID: testID,
|
|
13531
13386
|
onPress: onPress,
|
|
13532
13387
|
disabled: disabled
|
|
13533
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper
|
|
13388
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
13534
13389
|
themeVariant: variant,
|
|
13535
|
-
themeSize: size,
|
|
13536
13390
|
style: style
|
|
13537
13391
|
}, /*#__PURE__*/React__default["default"].createElement(StyledKnot, {
|
|
13538
|
-
themeSize: size,
|
|
13539
13392
|
style: {
|
|
13540
13393
|
left: animatedOffset
|
|
13541
13394
|
}
|
|
@@ -13673,20 +13526,9 @@ var useAnimatedValueArray = function useAnimatedValueArray(initialValues) {
|
|
|
13673
13526
|
};
|
|
13674
13527
|
|
|
13675
13528
|
var TabWithBadge = function TabWithBadge(_ref) {
|
|
13676
|
-
var
|
|
13677
|
-
config = _ref.config,
|
|
13529
|
+
var config = _ref.config,
|
|
13678
13530
|
tabItem = _ref.tabItem;
|
|
13679
13531
|
var theme = useTheme$1();
|
|
13680
|
-
// Deprecated. To be removed.
|
|
13681
|
-
if (showBadge !== undefined) {
|
|
13682
|
-
return /*#__PURE__*/React__default["default"].createElement(Badge$1.Status, {
|
|
13683
|
-
testID: "deprecated-badge",
|
|
13684
|
-
visible: showBadge,
|
|
13685
|
-
style: {
|
|
13686
|
-
paddingHorizontal: theme.space.small
|
|
13687
|
-
}
|
|
13688
|
-
}, tabItem);
|
|
13689
|
-
}
|
|
13690
13532
|
if (!config) return /*#__PURE__*/React__default["default"].createElement(reactNative.View, null, tabItem);
|
|
13691
13533
|
if (config.type === 'status') {
|
|
13692
13534
|
return /*#__PURE__*/React__default["default"].createElement(Badge$1.Status, {
|
|
@@ -13815,7 +13657,6 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
13815
13657
|
testID = tab.testID,
|
|
13816
13658
|
activeItem = tab.activeItem,
|
|
13817
13659
|
originalInactiveItem = tab.inactiveItem,
|
|
13818
|
-
showBadge = tab.showBadge,
|
|
13819
13660
|
badge = tab.badge;
|
|
13820
13661
|
var active = selectedTabKey === key;
|
|
13821
13662
|
var activeAnimated = tabsAnims[index];
|
|
@@ -13846,7 +13687,6 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
13846
13687
|
}]
|
|
13847
13688
|
}
|
|
13848
13689
|
})), /*#__PURE__*/React__default["default"].createElement(HeaderTabItemWrapper, null, /*#__PURE__*/React__default["default"].createElement(TabWithBadge, {
|
|
13849
|
-
showBadge: showBadge,
|
|
13850
13690
|
config: badge,
|
|
13851
13691
|
tabItem: tabItem
|
|
13852
13692
|
}))));
|
|
@@ -13909,9 +13749,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13909
13749
|
_ref2$swipeEnabled = _ref2.swipeEnabled,
|
|
13910
13750
|
swipeEnabled = _ref2$swipeEnabled === void 0 ? true : _ref2$swipeEnabled,
|
|
13911
13751
|
componentTestID = _ref2.testID;
|
|
13912
|
-
useDeprecation("Tabs' showBadge will be removed in the next major release. Please use badge prop instead.", tabs.some(function (item) {
|
|
13913
|
-
return item.showBadge !== undefined;
|
|
13914
|
-
}));
|
|
13915
13752
|
var theme = useTheme$1();
|
|
13916
13753
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
13917
13754
|
var pagerViewRef = React__default["default"].useRef(null);
|
|
@@ -13949,7 +13786,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13949
13786
|
testID = tab.testID,
|
|
13950
13787
|
activeItem = tab.activeItem,
|
|
13951
13788
|
originalInactiveItem = tab.inactiveItem,
|
|
13952
|
-
showBadge = tab.showBadge,
|
|
13953
13789
|
badge = tab.badge;
|
|
13954
13790
|
var active = selectedTabKey === key;
|
|
13955
13791
|
var inactiveItem = originalInactiveItem !== null && originalInactiveItem !== void 0 ? originalInactiveItem : activeItem;
|
|
@@ -13965,7 +13801,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13965
13801
|
},
|
|
13966
13802
|
testID: testID
|
|
13967
13803
|
}, /*#__PURE__*/React__default["default"].createElement(HeaderTabItem$1, null, /*#__PURE__*/React__default["default"].createElement(TabWithBadge, {
|
|
13968
|
-
showBadge: showBadge,
|
|
13969
13804
|
config: badge,
|
|
13970
13805
|
tabItem: tabItem
|
|
13971
13806
|
})));
|
|
@@ -14069,7 +13904,6 @@ var Tag = function Tag(_ref) {
|
|
|
14069
13904
|
style = _ref.style,
|
|
14070
13905
|
testID = _ref.testID,
|
|
14071
13906
|
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14072
|
-
useDeprecation("Tag's default intent is deprecated and will be removed in the next major release.\nPlease use primary intent instead.", intent === 'default');
|
|
14073
13907
|
return /*#__PURE__*/React__default["default"].createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14074
13908
|
themeIntent: intent,
|
|
14075
13909
|
themeVariant: variant,
|
|
@@ -25674,8 +25508,7 @@ function checkDCE() {
|
|
|
25674
25508
|
voids: a
|
|
25675
25509
|
}));
|
|
25676
25510
|
if (v.length > 0) if ("continue" === function () {
|
|
25677
|
-
var
|
|
25678
|
-
r = _v[0],
|
|
25511
|
+
var r = v[0],
|
|
25679
25512
|
n = v[v.length - 1],
|
|
25680
25513
|
_r4 = _slicedToArray(r, 2),
|
|
25681
25514
|
o = _r4[1],
|