@hero-design/rn 8.0.0-4 → 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 +9 -9
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +378 -552
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +378 -552
- 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/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/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/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/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +0 -13
- package/src/theme/global/colors/legacySystemPalette.ts +0 -53
package/lib/index.js
CHANGED
|
@@ -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, {
|
|
@@ -13085,7 +12951,6 @@ function MultiSelect(_ref) {
|
|
|
13085
12951
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
13086
12952
|
inputProps = _ref.inputProps,
|
|
13087
12953
|
onConfirm = _ref.onConfirm,
|
|
13088
|
-
onDimiss = _ref.onDimiss,
|
|
13089
12954
|
onDismiss = _ref.onDismiss,
|
|
13090
12955
|
onEndReached = _ref.onEndReached,
|
|
13091
12956
|
onQueryChange = _ref.onQueryChange,
|
|
@@ -13099,7 +12964,6 @@ function MultiSelect(_ref) {
|
|
|
13099
12964
|
_ref$disabled = _ref.disabled,
|
|
13100
12965
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13101
12966
|
required = _ref.required,
|
|
13102
|
-
numberOfLines = _ref.numberOfLines,
|
|
13103
12967
|
style = _ref.style,
|
|
13104
12968
|
testID = _ref.testID,
|
|
13105
12969
|
value = _ref.value;
|
|
@@ -13122,9 +12986,6 @@ function MultiSelect(_ref) {
|
|
|
13122
12986
|
}).map(function (opt) {
|
|
13123
12987
|
return opt.text;
|
|
13124
12988
|
}).join(', ');
|
|
13125
|
-
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13126
|
-
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13127
|
-
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);
|
|
13128
12989
|
React.useEffect(function () {
|
|
13129
12990
|
setSelectingValue(value);
|
|
13130
12991
|
}, [open]);
|
|
@@ -13136,9 +12997,7 @@ function MultiSelect(_ref) {
|
|
|
13136
12997
|
}
|
|
13137
12998
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13138
12999
|
pointerEvents: "none"
|
|
13139
|
-
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({
|
|
13140
|
-
numberOfLines: numberOfLines
|
|
13141
|
-
}, inputProps, {
|
|
13000
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({}, inputProps, {
|
|
13142
13001
|
label: label,
|
|
13143
13002
|
value: displayedValue,
|
|
13144
13003
|
suffix: "arrow-down",
|
|
@@ -13158,7 +13017,7 @@ function MultiSelect(_ref) {
|
|
|
13158
13017
|
onRequestClose: function onRequestClose() {
|
|
13159
13018
|
return setOpen(false);
|
|
13160
13019
|
},
|
|
13161
|
-
onDismiss: onDismiss
|
|
13020
|
+
onDismiss: onDismiss,
|
|
13162
13021
|
header: label,
|
|
13163
13022
|
style: {
|
|
13164
13023
|
paddingBottom: isKeyboardVisible ? keyboardHeight : 0
|
|
@@ -13277,7 +13136,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13277
13136
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
13278
13137
|
inputProps = _ref.inputProps,
|
|
13279
13138
|
onConfirm = _ref.onConfirm,
|
|
13280
|
-
onDimiss = _ref.onDimiss,
|
|
13281
13139
|
onDismiss = _ref.onDismiss,
|
|
13282
13140
|
onEndReached = _ref.onEndReached,
|
|
13283
13141
|
onQueryChange = _ref.onQueryChange,
|
|
@@ -13291,7 +13149,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13291
13149
|
_ref$disabled = _ref.disabled,
|
|
13292
13150
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13293
13151
|
required = _ref.required,
|
|
13294
|
-
numberOfLines = _ref.numberOfLines,
|
|
13295
13152
|
style = _ref.style,
|
|
13296
13153
|
testID = _ref.testID,
|
|
13297
13154
|
value = _ref.value;
|
|
@@ -13308,9 +13165,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13308
13165
|
var displayedValue = (_flatOptions$find = flatOptions.find(function (opt) {
|
|
13309
13166
|
return value === opt.value;
|
|
13310
13167
|
})) === null || _flatOptions$find === void 0 ? void 0 : _flatOptions$find.text;
|
|
13311
|
-
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13312
|
-
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13313
|
-
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);
|
|
13314
13168
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13315
13169
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
13316
13170
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.TouchableOpacity, {
|
|
@@ -13319,9 +13173,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13319
13173
|
}
|
|
13320
13174
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
13321
13175
|
pointerEvents: "none"
|
|
13322
|
-
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({
|
|
13323
|
-
numberOfLines: numberOfLines
|
|
13324
|
-
}, inputProps, {
|
|
13176
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({}, inputProps, {
|
|
13325
13177
|
label: label,
|
|
13326
13178
|
value: displayedValue,
|
|
13327
13179
|
suffix: "arrow-down",
|
|
@@ -13341,7 +13193,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13341
13193
|
onRequestClose: function onRequestClose() {
|
|
13342
13194
|
return setOpen(false);
|
|
13343
13195
|
},
|
|
13344
|
-
onDismiss: onDismiss
|
|
13196
|
+
onDismiss: onDismiss,
|
|
13345
13197
|
header: label,
|
|
13346
13198
|
style: {
|
|
13347
13199
|
paddingBottom: isKeyboardVisible ? keyboardHeight : 0
|
|
@@ -13379,31 +13231,6 @@ var index$4 = Object.assign(SingleSelect, {
|
|
|
13379
13231
|
});
|
|
13380
13232
|
|
|
13381
13233
|
var StyledWrapper$1 = index$a(reactNative.View)(function (_ref) {
|
|
13382
|
-
var theme = _ref.theme,
|
|
13383
|
-
themeVariant = _ref.themeVariant,
|
|
13384
|
-
themeSize = _ref.themeSize;
|
|
13385
|
-
return {
|
|
13386
|
-
height: theme.__hd__["switch"].sizes.heights[themeSize],
|
|
13387
|
-
width: theme.__hd__["switch"].sizes.widths[themeSize],
|
|
13388
|
-
paddingHorizontal: theme.__hd__["switch"].spaces[themeSize],
|
|
13389
|
-
borderRadius: theme.__hd__["switch"].radii.rounded,
|
|
13390
|
-
backgroundColor: theme.__hd__["switch"].colors.backgroundColors[themeVariant],
|
|
13391
|
-
display: 'flex',
|
|
13392
|
-
justifyContent: 'center'
|
|
13393
|
-
};
|
|
13394
|
-
});
|
|
13395
|
-
var StyledKnot = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
13396
|
-
var theme = _ref2.theme,
|
|
13397
|
-
themeSize = _ref2.themeSize;
|
|
13398
|
-
return {
|
|
13399
|
-
width: theme.__hd__["switch"].sizes.thumbs[themeSize],
|
|
13400
|
-
height: theme.__hd__["switch"].sizes.thumbs[themeSize],
|
|
13401
|
-
backgroundColor: theme.__hd__["switch"].colors.thumb,
|
|
13402
|
-
borderRadius: theme.__hd__["switch"].radii.rounded
|
|
13403
|
-
};
|
|
13404
|
-
});
|
|
13405
|
-
|
|
13406
|
-
var StyledWrapper = index$a(reactNative.View)(function (_ref) {
|
|
13407
13234
|
var theme = _ref.theme;
|
|
13408
13235
|
return {
|
|
13409
13236
|
flexDirection: 'row',
|
|
@@ -13483,7 +13310,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
13483
13310
|
return onPress(value);
|
|
13484
13311
|
} : undefined,
|
|
13485
13312
|
testID: testID
|
|
13486
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
13313
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$1, {
|
|
13487
13314
|
style: style
|
|
13488
13315
|
}, options.map(function (opt, index) {
|
|
13489
13316
|
return (
|
|
@@ -13497,6 +13324,29 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
13497
13324
|
})));
|
|
13498
13325
|
};
|
|
13499
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
|
+
|
|
13500
13350
|
var getVariant = function getVariant(_ref) {
|
|
13501
13351
|
var disabled = _ref.disabled,
|
|
13502
13352
|
checked = _ref.checked;
|
|
@@ -13506,22 +13356,19 @@ var getVariant = function getVariant(_ref) {
|
|
|
13506
13356
|
return checked ? 'checked' : 'unchecked';
|
|
13507
13357
|
};
|
|
13508
13358
|
var Switch = function Switch(_ref2) {
|
|
13509
|
-
var
|
|
13510
|
-
_ref2$disabled = _ref2.disabled,
|
|
13359
|
+
var _ref2$disabled = _ref2.disabled,
|
|
13511
13360
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
13512
13361
|
_ref2$checked = _ref2.checked,
|
|
13513
13362
|
checked = _ref2$checked === void 0 ? false : _ref2$checked,
|
|
13514
13363
|
onPress = _ref2.onPress,
|
|
13515
13364
|
style = _ref2.style,
|
|
13516
13365
|
testID = _ref2.testID;
|
|
13517
|
-
var size = _size === undefined ? 'medium' : _size;
|
|
13518
13366
|
var theme = useTheme$1();
|
|
13519
13367
|
var variant = getVariant({
|
|
13520
13368
|
disabled: disabled,
|
|
13521
13369
|
checked: checked
|
|
13522
13370
|
});
|
|
13523
|
-
|
|
13524
|
-
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;
|
|
13525
13372
|
var _useState = React.useState(function () {
|
|
13526
13373
|
return new reactNative.Animated.Value(offset);
|
|
13527
13374
|
}),
|
|
@@ -13538,12 +13385,10 @@ var Switch = function Switch(_ref2) {
|
|
|
13538
13385
|
testID: testID,
|
|
13539
13386
|
onPress: onPress,
|
|
13540
13387
|
disabled: disabled
|
|
13541
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper
|
|
13388
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
13542
13389
|
themeVariant: variant,
|
|
13543
|
-
themeSize: size,
|
|
13544
13390
|
style: style
|
|
13545
13391
|
}, /*#__PURE__*/React__default["default"].createElement(StyledKnot, {
|
|
13546
|
-
themeSize: size,
|
|
13547
13392
|
style: {
|
|
13548
13393
|
left: animatedOffset
|
|
13549
13394
|
}
|
|
@@ -13681,20 +13526,9 @@ var useAnimatedValueArray = function useAnimatedValueArray(initialValues) {
|
|
|
13681
13526
|
};
|
|
13682
13527
|
|
|
13683
13528
|
var TabWithBadge = function TabWithBadge(_ref) {
|
|
13684
|
-
var
|
|
13685
|
-
config = _ref.config,
|
|
13529
|
+
var config = _ref.config,
|
|
13686
13530
|
tabItem = _ref.tabItem;
|
|
13687
13531
|
var theme = useTheme$1();
|
|
13688
|
-
// Deprecated. To be removed.
|
|
13689
|
-
if (showBadge !== undefined) {
|
|
13690
|
-
return /*#__PURE__*/React__default["default"].createElement(Badge$1.Status, {
|
|
13691
|
-
testID: "deprecated-badge",
|
|
13692
|
-
visible: showBadge,
|
|
13693
|
-
style: {
|
|
13694
|
-
paddingHorizontal: theme.space.small
|
|
13695
|
-
}
|
|
13696
|
-
}, tabItem);
|
|
13697
|
-
}
|
|
13698
13532
|
if (!config) return /*#__PURE__*/React__default["default"].createElement(reactNative.View, null, tabItem);
|
|
13699
13533
|
if (config.type === 'status') {
|
|
13700
13534
|
return /*#__PURE__*/React__default["default"].createElement(Badge$1.Status, {
|
|
@@ -13823,7 +13657,6 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
13823
13657
|
testID = tab.testID,
|
|
13824
13658
|
activeItem = tab.activeItem,
|
|
13825
13659
|
originalInactiveItem = tab.inactiveItem,
|
|
13826
|
-
showBadge = tab.showBadge,
|
|
13827
13660
|
badge = tab.badge;
|
|
13828
13661
|
var active = selectedTabKey === key;
|
|
13829
13662
|
var activeAnimated = tabsAnims[index];
|
|
@@ -13854,7 +13687,6 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
13854
13687
|
}]
|
|
13855
13688
|
}
|
|
13856
13689
|
})), /*#__PURE__*/React__default["default"].createElement(HeaderTabItemWrapper, null, /*#__PURE__*/React__default["default"].createElement(TabWithBadge, {
|
|
13857
|
-
showBadge: showBadge,
|
|
13858
13690
|
config: badge,
|
|
13859
13691
|
tabItem: tabItem
|
|
13860
13692
|
}))));
|
|
@@ -13917,9 +13749,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13917
13749
|
_ref2$swipeEnabled = _ref2.swipeEnabled,
|
|
13918
13750
|
swipeEnabled = _ref2$swipeEnabled === void 0 ? true : _ref2$swipeEnabled,
|
|
13919
13751
|
componentTestID = _ref2.testID;
|
|
13920
|
-
useDeprecation("Tabs' showBadge will be removed in the next major release. Please use badge prop instead.", tabs.some(function (item) {
|
|
13921
|
-
return item.showBadge !== undefined;
|
|
13922
|
-
}));
|
|
13923
13752
|
var theme = useTheme$1();
|
|
13924
13753
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
13925
13754
|
var pagerViewRef = React__default["default"].useRef(null);
|
|
@@ -13957,7 +13786,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13957
13786
|
testID = tab.testID,
|
|
13958
13787
|
activeItem = tab.activeItem,
|
|
13959
13788
|
originalInactiveItem = tab.inactiveItem,
|
|
13960
|
-
showBadge = tab.showBadge,
|
|
13961
13789
|
badge = tab.badge;
|
|
13962
13790
|
var active = selectedTabKey === key;
|
|
13963
13791
|
var inactiveItem = originalInactiveItem !== null && originalInactiveItem !== void 0 ? originalInactiveItem : activeItem;
|
|
@@ -13973,7 +13801,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13973
13801
|
},
|
|
13974
13802
|
testID: testID
|
|
13975
13803
|
}, /*#__PURE__*/React__default["default"].createElement(HeaderTabItem$1, null, /*#__PURE__*/React__default["default"].createElement(TabWithBadge, {
|
|
13976
|
-
showBadge: showBadge,
|
|
13977
13804
|
config: badge,
|
|
13978
13805
|
tabItem: tabItem
|
|
13979
13806
|
})));
|
|
@@ -14077,7 +13904,6 @@ var Tag = function Tag(_ref) {
|
|
|
14077
13904
|
style = _ref.style,
|
|
14078
13905
|
testID = _ref.testID,
|
|
14079
13906
|
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14080
|
-
useDeprecation("Tag's default intent is deprecated and will be removed in the next major release.\nPlease use primary intent instead.", intent === 'default');
|
|
14081
13907
|
return /*#__PURE__*/React__default["default"].createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14082
13908
|
themeIntent: intent,
|
|
14083
13909
|
themeVariant: variant,
|