@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/es/index.js
CHANGED
|
@@ -1262,52 +1262,6 @@ var globalPalette = {
|
|
|
1262
1262
|
// End of Updated 21 / Nov / 22
|
|
1263
1263
|
};
|
|
1264
1264
|
|
|
1265
|
-
var legacySystemPalette = {
|
|
1266
|
-
globalPrimary: palette$6.maasstrichtBlue,
|
|
1267
|
-
globalPrimaryLight: palette$6.maasstrichtBlueLight50,
|
|
1268
|
-
globalPrimaryBackground: palette$6.maasstrichtBlueLight90,
|
|
1269
|
-
primaryLight: palette$2.violetLight50,
|
|
1270
|
-
primaryDark: palette$2.scarletGumLight30,
|
|
1271
|
-
primaryBackground: palette$2.violetLight90,
|
|
1272
|
-
primaryBackgroundDark: palette$6.maasstrichtBlueLight30,
|
|
1273
|
-
secondaryLight: palette$2.vodka,
|
|
1274
|
-
secondaryBackground: palette$2.aliceBlue,
|
|
1275
|
-
infoMediumLight: palette$6.vodka,
|
|
1276
|
-
infoLight: palette$6.vodka,
|
|
1277
|
-
infoBackground: palette$6.aliceBlue,
|
|
1278
|
-
successLight: palette$6.emerald,
|
|
1279
|
-
successDark: palette$6.pineGreen,
|
|
1280
|
-
successBackground: palette$6.honeydew,
|
|
1281
|
-
danger: palette$6.vermilion,
|
|
1282
|
-
dangerMediumLight: palette$6.apple,
|
|
1283
|
-
dangerLight: palette$6.pastelRed,
|
|
1284
|
-
dangerBackground: palette$6.linen,
|
|
1285
|
-
warningLight: palette$6.mellowApricot,
|
|
1286
|
-
warningDark: palette$6.deepSaffron,
|
|
1287
|
-
warningBackground: palette$6.seashell,
|
|
1288
|
-
platformBackground: palette$6.white,
|
|
1289
|
-
backgroundLight: palette$6.greyLight90,
|
|
1290
|
-
backgroundDark: palette$6.maasstrichtBlue,
|
|
1291
|
-
text: palette$6.maasstrichtBlue,
|
|
1292
|
-
subduedText: palette$6.maasstrichtBlueLight30,
|
|
1293
|
-
disabledText: palette$6.maasstrichtBlueLight50,
|
|
1294
|
-
disabledLightText: palette$6.greyLight30,
|
|
1295
|
-
invertedText: palette$6.white,
|
|
1296
|
-
outline: palette$6.greyLight75,
|
|
1297
|
-
archivedLight: palette$6.greyLight30,
|
|
1298
|
-
archivedDark: palette$6.sonicSilver,
|
|
1299
|
-
archivedBackground: palette$6.greyLight90,
|
|
1300
|
-
black: palette$6.black,
|
|
1301
|
-
inactiveBackground: palette$6.maasstrichtBlueLight50,
|
|
1302
|
-
shadow: palette$6.greyLight45,
|
|
1303
|
-
// Updated 14 / Nov / 22
|
|
1304
|
-
mutedGlobalPrimary: palette$6.maasstrichtBlueLight30,
|
|
1305
|
-
onGlobalPrimary: palette$6.white,
|
|
1306
|
-
globalSecondary: palette$6.maasstrichtBlueLight30,
|
|
1307
|
-
globalPrimaryOutline: palette$6.maasstrichtBlue,
|
|
1308
|
-
globalSecondaryOutline: palette$6.greyLight75
|
|
1309
|
-
};
|
|
1310
|
-
|
|
1311
1265
|
var swagBrandSystemPallete = {
|
|
1312
1266
|
primary: palette$2.scarletGum,
|
|
1313
1267
|
onPrimary: palette$2.white,
|
|
@@ -1319,14 +1273,7 @@ var swagBrandSystemPallete = {
|
|
|
1319
1273
|
decorativePrimary: palette$2.white,
|
|
1320
1274
|
decorativePrimarySurface: palette$2.maasstrichtBlueLight80
|
|
1321
1275
|
};
|
|
1322
|
-
var
|
|
1323
|
-
mutedPrimary: palette$2.maasstrichtBlueLight90,
|
|
1324
|
-
highlightedSecondarySurface: palette$2.aliceBlue,
|
|
1325
|
-
mutedSecondary: palette$2.maasstrichtBlueLight50,
|
|
1326
|
-
disabledSecondary: palette$2.scarletGumLight50,
|
|
1327
|
-
lightHighlightedSurface: palette$2.scarletGumLight90
|
|
1328
|
-
};
|
|
1329
|
-
var swagSystemPalette = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, legacySystemPalette), swagLegacyBrandSystemPalette), globalPalette), swagBrandSystemPallete);
|
|
1276
|
+
var swagSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette), swagBrandSystemPallete);
|
|
1330
1277
|
|
|
1331
1278
|
var workBrandSystemPallete = {
|
|
1332
1279
|
primary: palette.policeBlue,
|
|
@@ -2395,25 +2342,15 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
2395
2342
|
}
|
|
2396
2343
|
};
|
|
2397
2344
|
var sizes = {
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
},
|
|
2402
|
-
widths: {
|
|
2403
|
-
small: theme.sizes.xxxlarge,
|
|
2404
|
-
medium: theme.sizes.xxxxxlarge
|
|
2405
|
-
},
|
|
2406
|
-
heights: {
|
|
2407
|
-
small: theme.sizes.large,
|
|
2408
|
-
medium: theme.sizes.xlarge
|
|
2409
|
-
},
|
|
2345
|
+
thumb: theme.sizes.medium,
|
|
2346
|
+
width: theme.sizes.xxxlarge,
|
|
2347
|
+
height: theme.sizes.large,
|
|
2410
2348
|
selector: {
|
|
2411
2349
|
height: theme.sizes.xxxxlarge
|
|
2412
2350
|
}
|
|
2413
2351
|
};
|
|
2414
2352
|
var spaces = {
|
|
2415
|
-
|
|
2416
|
-
medium: theme.space.xsmall,
|
|
2353
|
+
paddingHorizontal: theme.space.xsmall,
|
|
2417
2354
|
selector: {
|
|
2418
2355
|
iconPadding: theme.space.medium,
|
|
2419
2356
|
wrapperPadding: theme.space.xsmall
|
|
@@ -2473,8 +2410,6 @@ var getTagTheme = function getTagTheme(theme) {
|
|
|
2473
2410
|
"default": theme.borderWidths.base
|
|
2474
2411
|
};
|
|
2475
2412
|
var colors = {
|
|
2476
|
-
"default": theme.colors.onDefaultGlobalSurface,
|
|
2477
|
-
defaultBackground: undefined,
|
|
2478
2413
|
primary: theme.colors.primary,
|
|
2479
2414
|
primaryBackground: undefined,
|
|
2480
2415
|
info: theme.colors.onInfoSurface,
|
|
@@ -5665,7 +5600,7 @@ var useDeprecation = function useDeprecation(message) {
|
|
|
5665
5600
|
useEffect(function () {
|
|
5666
5601
|
// eslint-disable-next-line no-console
|
|
5667
5602
|
if (cond) {
|
|
5668
|
-
console.
|
|
5603
|
+
console.error(message);
|
|
5669
5604
|
}
|
|
5670
5605
|
}, [message, cond]);
|
|
5671
5606
|
};
|
|
@@ -5786,7 +5721,7 @@ var Typography = {
|
|
|
5786
5721
|
};
|
|
5787
5722
|
|
|
5788
5723
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5789
|
-
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', '
|
|
5724
|
+
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'];
|
|
5790
5725
|
|
|
5791
5726
|
var activate = 59000;
|
|
5792
5727
|
var adjustment = 59003;
|
|
@@ -5801,76 +5736,76 @@ var box = 59013;
|
|
|
5801
5736
|
var buildings = 59014;
|
|
5802
5737
|
var cake = 59015;
|
|
5803
5738
|
var calendar = 59017;
|
|
5804
|
-
var clock =
|
|
5805
|
-
var cog =
|
|
5806
|
-
var coin =
|
|
5807
|
-
var contacts =
|
|
5808
|
-
var diamond =
|
|
5809
|
-
var directory =
|
|
5810
|
-
var document$1 =
|
|
5811
|
-
var envelope =
|
|
5812
|
-
var expense =
|
|
5813
|
-
var eye =
|
|
5814
|
-
var feed =
|
|
5815
|
-
var feedbacks =
|
|
5816
|
-
var file =
|
|
5817
|
-
var filter =
|
|
5818
|
-
var folder =
|
|
5819
|
-
var globe =
|
|
5820
|
-
var graph =
|
|
5821
|
-
var heart =
|
|
5822
|
-
var home =
|
|
5823
|
-
var image =
|
|
5824
|
-
var instapay =
|
|
5825
|
-
var list =
|
|
5826
|
-
var loading =
|
|
5827
|
-
var location =
|
|
5828
|
-
var lock =
|
|
5829
|
-
var menu =
|
|
5830
|
-
var moneybag =
|
|
5831
|
-
var moon =
|
|
5832
|
-
var node =
|
|
5833
|
-
var paperclip =
|
|
5834
|
-
var pencil =
|
|
5835
|
-
var phone =
|
|
5836
|
-
var plane =
|
|
5837
|
-
var print =
|
|
5838
|
-
var reply =
|
|
5839
|
-
var reschedule =
|
|
5840
|
-
var rostering =
|
|
5841
|
-
var save =
|
|
5842
|
-
var schedule =
|
|
5843
|
-
var send =
|
|
5844
|
-
var speaker =
|
|
5845
|
-
var star =
|
|
5846
|
-
var stopwatch =
|
|
5847
|
-
var suitcase =
|
|
5848
|
-
var survey =
|
|
5849
|
-
var swag =
|
|
5850
|
-
var tag =
|
|
5851
|
-
var target =
|
|
5852
|
-
var teams =
|
|
5853
|
-
var timesheet =
|
|
5854
|
-
var unlock =
|
|
5855
|
-
var user =
|
|
5856
|
-
var wallet =
|
|
5857
|
-
var warning =
|
|
5858
|
-
var add =
|
|
5859
|
-
var bold =
|
|
5860
|
-
var cancel =
|
|
5861
|
-
var checkmark =
|
|
5862
|
-
var italic =
|
|
5863
|
-
var number =
|
|
5864
|
-
var percentage =
|
|
5865
|
-
var redeem =
|
|
5866
|
-
var refresh =
|
|
5867
|
-
var remove =
|
|
5868
|
-
var restart =
|
|
5869
|
-
var strikethrough =
|
|
5870
|
-
var sync =
|
|
5871
|
-
var transfer =
|
|
5872
|
-
var unavailable =
|
|
5873
|
-
var underline =
|
|
5739
|
+
var clock = 59042;
|
|
5740
|
+
var cog = 59045;
|
|
5741
|
+
var coin = 59046;
|
|
5742
|
+
var contacts = 59047;
|
|
5743
|
+
var diamond = 59049;
|
|
5744
|
+
var directory = 59051;
|
|
5745
|
+
var document$1 = 59052;
|
|
5746
|
+
var envelope = 59056;
|
|
5747
|
+
var expense = 59057;
|
|
5748
|
+
var eye = 59060;
|
|
5749
|
+
var feed = 59064;
|
|
5750
|
+
var feedbacks = 59065;
|
|
5751
|
+
var file = 59083;
|
|
5752
|
+
var filter = 59084;
|
|
5753
|
+
var folder = 59086;
|
|
5754
|
+
var globe = 59096;
|
|
5755
|
+
var graph = 59098;
|
|
5756
|
+
var heart = 59101;
|
|
5757
|
+
var home = 59102;
|
|
5758
|
+
var image = 59103;
|
|
5759
|
+
var instapay = 59106;
|
|
5760
|
+
var list = 59107;
|
|
5761
|
+
var loading = 59109;
|
|
5762
|
+
var location = 59110;
|
|
5763
|
+
var lock = 59111;
|
|
5764
|
+
var menu = 59115;
|
|
5765
|
+
var moneybag = 59116;
|
|
5766
|
+
var moon = 59117;
|
|
5767
|
+
var node = 59120;
|
|
5768
|
+
var paperclip = 59122;
|
|
5769
|
+
var pencil = 59124;
|
|
5770
|
+
var phone = 59125;
|
|
5771
|
+
var plane = 59127;
|
|
5772
|
+
var print = 59129;
|
|
5773
|
+
var reply = 59132;
|
|
5774
|
+
var reschedule = 59133;
|
|
5775
|
+
var rostering = 59134;
|
|
5776
|
+
var save = 59135;
|
|
5777
|
+
var schedule = 59137;
|
|
5778
|
+
var send = 59139;
|
|
5779
|
+
var speaker = 59141;
|
|
5780
|
+
var star = 59145;
|
|
5781
|
+
var stopwatch = 59147;
|
|
5782
|
+
var suitcase = 59148;
|
|
5783
|
+
var survey = 59149;
|
|
5784
|
+
var swag = 59150;
|
|
5785
|
+
var tag = 59152;
|
|
5786
|
+
var target = 59153;
|
|
5787
|
+
var teams = 59154;
|
|
5788
|
+
var timesheet = 59155;
|
|
5789
|
+
var unlock = 59158;
|
|
5790
|
+
var user = 59159;
|
|
5791
|
+
var wallet = 59162;
|
|
5792
|
+
var warning = 59163;
|
|
5793
|
+
var add = 59169;
|
|
5794
|
+
var bold = 59188;
|
|
5795
|
+
var cancel = 59198;
|
|
5796
|
+
var checkmark = 59201;
|
|
5797
|
+
var italic = 59273;
|
|
5798
|
+
var number = 59296;
|
|
5799
|
+
var percentage = 59300;
|
|
5800
|
+
var redeem = 59308;
|
|
5801
|
+
var refresh = 59309;
|
|
5802
|
+
var remove = 59310;
|
|
5803
|
+
var restart = 59312;
|
|
5804
|
+
var strikethrough = 59331;
|
|
5805
|
+
var sync = 59336;
|
|
5806
|
+
var transfer = 59339;
|
|
5807
|
+
var unavailable = 59342;
|
|
5808
|
+
var underline = 59343;
|
|
5874
5809
|
var glyphMap = {
|
|
5875
5810
|
activate: activate,
|
|
5876
5811
|
"add-emoji": 59001,
|
|
@@ -5891,348 +5826,340 @@ var glyphMap = {
|
|
|
5891
5826
|
"calendar-clock": 59016,
|
|
5892
5827
|
calendar: calendar,
|
|
5893
5828
|
"candy-box-menu": 59018,
|
|
5894
|
-
"
|
|
5895
|
-
"
|
|
5896
|
-
"
|
|
5897
|
-
"
|
|
5898
|
-
"
|
|
5899
|
-
"
|
|
5900
|
-
"
|
|
5901
|
-
"
|
|
5902
|
-
"
|
|
5903
|
-
"
|
|
5904
|
-
"
|
|
5905
|
-
"
|
|
5906
|
-
"
|
|
5907
|
-
"
|
|
5908
|
-
"
|
|
5909
|
-
"
|
|
5910
|
-
"
|
|
5911
|
-
"circle-
|
|
5912
|
-
"circle-
|
|
5913
|
-
"circle-
|
|
5914
|
-
"circle-
|
|
5915
|
-
"circle-
|
|
5916
|
-
"
|
|
5917
|
-
"circle-ok": 59042,
|
|
5918
|
-
"circle-pencil": 59043,
|
|
5919
|
-
"circle-question": 59044,
|
|
5920
|
-
"circle-remove": 59045,
|
|
5921
|
-
"circle-right": 59046,
|
|
5922
|
-
"circle-up": 59047,
|
|
5923
|
-
"circle-warning": 59048,
|
|
5924
|
-
"clock-3": 59049,
|
|
5829
|
+
"caret-down-small": 59019,
|
|
5830
|
+
"caret-down": 59020,
|
|
5831
|
+
"caret-left-small": 59021,
|
|
5832
|
+
"caret-left": 59022,
|
|
5833
|
+
"caret-right-small": 59023,
|
|
5834
|
+
"caret-right": 59024,
|
|
5835
|
+
"caret-up-small": 59025,
|
|
5836
|
+
"caret-up": 59026,
|
|
5837
|
+
"check-radio": 59027,
|
|
5838
|
+
"circle-add": 59028,
|
|
5839
|
+
"circle-cancel": 59029,
|
|
5840
|
+
"circle-check": 59030,
|
|
5841
|
+
"circle-down": 59031,
|
|
5842
|
+
"circle-info": 59032,
|
|
5843
|
+
"circle-left": 59033,
|
|
5844
|
+
"circle-ok": 59034,
|
|
5845
|
+
"circle-pencil": 59035,
|
|
5846
|
+
"circle-question": 59036,
|
|
5847
|
+
"circle-remove": 59037,
|
|
5848
|
+
"circle-right": 59038,
|
|
5849
|
+
"circle-up": 59039,
|
|
5850
|
+
"circle-warning": 59040,
|
|
5851
|
+
"clock-3": 59041,
|
|
5925
5852
|
clock: clock,
|
|
5926
|
-
"cloud-download":
|
|
5927
|
-
"cloud-upload":
|
|
5853
|
+
"cloud-download": 59043,
|
|
5854
|
+
"cloud-upload": 59044,
|
|
5928
5855
|
cog: cog,
|
|
5929
5856
|
coin: coin,
|
|
5930
5857
|
contacts: contacts,
|
|
5931
|
-
"credit-card":
|
|
5858
|
+
"credit-card": 59048,
|
|
5932
5859
|
diamond: diamond,
|
|
5933
|
-
"direction-arrows":
|
|
5860
|
+
"direction-arrows": 59050,
|
|
5934
5861
|
directory: directory,
|
|
5935
5862
|
document: document$1,
|
|
5936
|
-
"dollar-coin-shine":
|
|
5937
|
-
"double-buildings":
|
|
5938
|
-
"edit-template":
|
|
5863
|
+
"dollar-coin-shine": 59053,
|
|
5864
|
+
"double-buildings": 59054,
|
|
5865
|
+
"edit-template": 59055,
|
|
5939
5866
|
envelope: envelope,
|
|
5940
5867
|
expense: expense,
|
|
5941
|
-
"eye-circle":
|
|
5942
|
-
"eye-invisible":
|
|
5868
|
+
"eye-circle": 59058,
|
|
5869
|
+
"eye-invisible": 59059,
|
|
5943
5870
|
eye: eye,
|
|
5944
|
-
"face-meh":
|
|
5945
|
-
"face-sad":
|
|
5946
|
-
"face-smiley":
|
|
5871
|
+
"face-meh": 59061,
|
|
5872
|
+
"face-sad": 59062,
|
|
5873
|
+
"face-smiley": 59063,
|
|
5947
5874
|
feed: feed,
|
|
5948
5875
|
feedbacks: feedbacks,
|
|
5949
|
-
"file-certified":
|
|
5950
|
-
"file-clone":
|
|
5951
|
-
"file-copy":
|
|
5952
|
-
"file-csv":
|
|
5953
|
-
"file-dispose":
|
|
5954
|
-
"file-doc":
|
|
5955
|
-
"file-excel":
|
|
5956
|
-
"file-export":
|
|
5957
|
-
"file-lock":
|
|
5958
|
-
"file-pdf":
|
|
5959
|
-
"file-powerpoint":
|
|
5960
|
-
"file-search":
|
|
5961
|
-
"file-secured":
|
|
5962
|
-
"file-sheets":
|
|
5963
|
-
"file-slide":
|
|
5964
|
-
"file-verified":
|
|
5965
|
-
"file-word":
|
|
5876
|
+
"file-certified": 59066,
|
|
5877
|
+
"file-clone": 59067,
|
|
5878
|
+
"file-copy": 59068,
|
|
5879
|
+
"file-csv": 59069,
|
|
5880
|
+
"file-dispose": 59070,
|
|
5881
|
+
"file-doc": 59071,
|
|
5882
|
+
"file-excel": 59072,
|
|
5883
|
+
"file-export": 59073,
|
|
5884
|
+
"file-lock": 59074,
|
|
5885
|
+
"file-pdf": 59075,
|
|
5886
|
+
"file-powerpoint": 59076,
|
|
5887
|
+
"file-search": 59077,
|
|
5888
|
+
"file-secured": 59078,
|
|
5889
|
+
"file-sheets": 59079,
|
|
5890
|
+
"file-slide": 59080,
|
|
5891
|
+
"file-verified": 59081,
|
|
5892
|
+
"file-word": 59082,
|
|
5966
5893
|
file: file,
|
|
5967
5894
|
filter: filter,
|
|
5968
|
-
"folder-user":
|
|
5895
|
+
"folder-user": 59085,
|
|
5969
5896
|
folder: folder,
|
|
5970
|
-
"format-bold":
|
|
5971
|
-
"format-heading1":
|
|
5972
|
-
"format-heading2":
|
|
5973
|
-
"format-italic":
|
|
5974
|
-
"format-list-bulleted":
|
|
5975
|
-
"format-list-numbered":
|
|
5976
|
-
"format-underlined":
|
|
5977
|
-
"funnel-filter":
|
|
5978
|
-
"global-dollar":
|
|
5897
|
+
"format-bold": 59087,
|
|
5898
|
+
"format-heading1": 59088,
|
|
5899
|
+
"format-heading2": 59089,
|
|
5900
|
+
"format-italic": 59090,
|
|
5901
|
+
"format-list-bulleted": 59091,
|
|
5902
|
+
"format-list-numbered": 59092,
|
|
5903
|
+
"format-underlined": 59093,
|
|
5904
|
+
"funnel-filter": 59094,
|
|
5905
|
+
"global-dollar": 59095,
|
|
5979
5906
|
globe: globe,
|
|
5980
|
-
"graduation-cap":
|
|
5907
|
+
"graduation-cap": 59097,
|
|
5981
5908
|
graph: graph,
|
|
5982
|
-
"happy-sun":
|
|
5983
|
-
"health-bag":
|
|
5909
|
+
"happy-sun": 59099,
|
|
5910
|
+
"health-bag": 59100,
|
|
5984
5911
|
heart: heart,
|
|
5985
5912
|
home: home,
|
|
5986
5913
|
image: image,
|
|
5987
|
-
"import":
|
|
5988
|
-
"incident-siren":
|
|
5914
|
+
"import": 59104,
|
|
5915
|
+
"incident-siren": 59105,
|
|
5989
5916
|
instapay: instapay,
|
|
5990
5917
|
list: list,
|
|
5991
|
-
"loading-2":
|
|
5918
|
+
"loading-2": 59108,
|
|
5992
5919
|
loading: loading,
|
|
5993
5920
|
location: location,
|
|
5994
5921
|
lock: lock,
|
|
5995
|
-
"looks-one":
|
|
5996
|
-
"looks-two":
|
|
5997
|
-
"media-content":
|
|
5922
|
+
"looks-one": 59112,
|
|
5923
|
+
"looks-two": 59113,
|
|
5924
|
+
"media-content": 59114,
|
|
5998
5925
|
menu: menu,
|
|
5999
5926
|
moneybag: moneybag,
|
|
6000
5927
|
moon: moon,
|
|
6001
|
-
"multiple-stars":
|
|
6002
|
-
"multiple-users":
|
|
5928
|
+
"multiple-stars": 59118,
|
|
5929
|
+
"multiple-users": 59119,
|
|
6003
5930
|
node: node,
|
|
6004
|
-
"open-folder":
|
|
5931
|
+
"open-folder": 59121,
|
|
6005
5932
|
paperclip: paperclip,
|
|
6006
|
-
"payment-summary":
|
|
5933
|
+
"payment-summary": 59123,
|
|
6007
5934
|
pencil: pencil,
|
|
6008
5935
|
phone: phone,
|
|
6009
|
-
"piggy-bank":
|
|
5936
|
+
"piggy-bank": 59126,
|
|
6010
5937
|
plane: plane,
|
|
6011
|
-
"play-circle":
|
|
5938
|
+
"play-circle": 59128,
|
|
6012
5939
|
print: print,
|
|
6013
|
-
"raising-hands":
|
|
6014
|
-
"reply-arrow":
|
|
5940
|
+
"raising-hands": 59130,
|
|
5941
|
+
"reply-arrow": 59131,
|
|
6015
5942
|
reply: reply,
|
|
6016
5943
|
reschedule: reschedule,
|
|
6017
5944
|
rostering: rostering,
|
|
6018
5945
|
save: save,
|
|
6019
|
-
"schedule-send":
|
|
5946
|
+
"schedule-send": 59136,
|
|
6020
5947
|
schedule: schedule,
|
|
6021
|
-
"search-person":
|
|
5948
|
+
"search-person": 59138,
|
|
6022
5949
|
send: send,
|
|
6023
|
-
"speaker-active":
|
|
5950
|
+
"speaker-active": 59140,
|
|
6024
5951
|
speaker: speaker,
|
|
6025
|
-
"star-award":
|
|
6026
|
-
"star-badge":
|
|
6027
|
-
"star-medal":
|
|
5952
|
+
"star-award": 59142,
|
|
5953
|
+
"star-badge": 59143,
|
|
5954
|
+
"star-medal": 59144,
|
|
6028
5955
|
star: star,
|
|
6029
|
-
"steps-circle":
|
|
5956
|
+
"steps-circle": 59146,
|
|
6030
5957
|
stopwatch: stopwatch,
|
|
6031
5958
|
suitcase: suitcase,
|
|
6032
5959
|
survey: survey,
|
|
6033
5960
|
swag: swag,
|
|
6034
|
-
"switch":
|
|
5961
|
+
"switch": 59151,
|
|
6035
5962
|
tag: tag,
|
|
6036
5963
|
target: target,
|
|
6037
5964
|
teams: teams,
|
|
6038
5965
|
timesheet: timesheet,
|
|
6039
|
-
"touch-id":
|
|
6040
|
-
"trash-bin":
|
|
5966
|
+
"touch-id": 59156,
|
|
5967
|
+
"trash-bin": 59157,
|
|
6041
5968
|
unlock: unlock,
|
|
6042
5969
|
user: user,
|
|
6043
|
-
"video-1":
|
|
6044
|
-
"video-2":
|
|
5970
|
+
"video-1": 59160,
|
|
5971
|
+
"video-2": 59161,
|
|
6045
5972
|
wallet: wallet,
|
|
6046
5973
|
warning: warning,
|
|
6047
|
-
"activate-outlined":
|
|
6048
|
-
"add-credit-card-outlined":
|
|
6049
|
-
"add-person-outlined":
|
|
6050
|
-
"add-section-outlined":
|
|
6051
|
-
"add-time-outlined":
|
|
5974
|
+
"activate-outlined": 59164,
|
|
5975
|
+
"add-credit-card-outlined": 59165,
|
|
5976
|
+
"add-person-outlined": 59166,
|
|
5977
|
+
"add-section-outlined": 59167,
|
|
5978
|
+
"add-time-outlined": 59168,
|
|
6052
5979
|
add: add,
|
|
6053
|
-
"adjustment-outlined":
|
|
6054
|
-
"alignment-2-outlined":
|
|
6055
|
-
"alignment-outlined":
|
|
6056
|
-
"all-caps":
|
|
6057
|
-
"arrow-down":
|
|
6058
|
-
"arrow-downwards":
|
|
6059
|
-
"arrow-left":
|
|
6060
|
-
"arrow-leftwards":
|
|
6061
|
-
"arrow-right":
|
|
6062
|
-
"arrow-rightwards":
|
|
6063
|
-
"arrow-up":
|
|
6064
|
-
"arrow-upwards":
|
|
6065
|
-
"at-sign":
|
|
6066
|
-
"bell-active-outlined":
|
|
6067
|
-
"bell-outlined":
|
|
6068
|
-
"bell-slash-outlined":
|
|
6069
|
-
"billing-outlined":
|
|
6070
|
-
"body-outlined":
|
|
5980
|
+
"adjustment-outlined": 59170,
|
|
5981
|
+
"alignment-2-outlined": 59171,
|
|
5982
|
+
"alignment-outlined": 59172,
|
|
5983
|
+
"all-caps": 59173,
|
|
5984
|
+
"arrow-down": 59174,
|
|
5985
|
+
"arrow-downwards": 59175,
|
|
5986
|
+
"arrow-left": 59176,
|
|
5987
|
+
"arrow-leftwards": 59177,
|
|
5988
|
+
"arrow-right": 59178,
|
|
5989
|
+
"arrow-rightwards": 59179,
|
|
5990
|
+
"arrow-up": 59180,
|
|
5991
|
+
"arrow-upwards": 59181,
|
|
5992
|
+
"at-sign": 59182,
|
|
5993
|
+
"bell-active-outlined": 59183,
|
|
5994
|
+
"bell-outlined": 59184,
|
|
5995
|
+
"bell-slash-outlined": 59185,
|
|
5996
|
+
"billing-outlined": 59186,
|
|
5997
|
+
"body-outlined": 59187,
|
|
6071
5998
|
bold: bold,
|
|
6072
|
-
"bookmark-added-outlined":
|
|
6073
|
-
"bookmark-outlined":
|
|
6074
|
-
"box-check-outlined":
|
|
6075
|
-
"box-outlined":
|
|
6076
|
-
"bullet-points":
|
|
6077
|
-
"cake-outlined":
|
|
6078
|
-
"calendar-dates-outlined":
|
|
6079
|
-
"calendar-star-outlined":
|
|
6080
|
-
"camera-outlined":
|
|
5999
|
+
"bookmark-added-outlined": 59189,
|
|
6000
|
+
"bookmark-outlined": 59190,
|
|
6001
|
+
"box-check-outlined": 59191,
|
|
6002
|
+
"box-outlined": 59192,
|
|
6003
|
+
"bullet-points": 59193,
|
|
6004
|
+
"cake-outlined": 59194,
|
|
6005
|
+
"calendar-dates-outlined": 59195,
|
|
6006
|
+
"calendar-star-outlined": 59196,
|
|
6007
|
+
"camera-outlined": 59197,
|
|
6081
6008
|
cancel: cancel,
|
|
6082
|
-
"chat-bubble-outlined":
|
|
6083
|
-
"chat-unread-outlined":
|
|
6009
|
+
"chat-bubble-outlined": 59199,
|
|
6010
|
+
"chat-unread-outlined": 59200,
|
|
6084
6011
|
checkmark: checkmark,
|
|
6085
|
-
"circle-add-outlined":
|
|
6086
|
-
"circle-cancel-outlined":
|
|
6087
|
-
"circle-down-outlined":
|
|
6088
|
-
"circle-info-outlined":
|
|
6089
|
-
"circle-left-outlined":
|
|
6090
|
-
"circle-ok-outlined":
|
|
6091
|
-
"circle-question-outlined":
|
|
6092
|
-
"circle-remove-outlined":
|
|
6093
|
-
"circle-right-outlined":
|
|
6094
|
-
"circle-up-outlined":
|
|
6095
|
-
"circle-warning-outlined":
|
|
6096
|
-
"clock-2-outlined":
|
|
6097
|
-
"clock-outlined":
|
|
6098
|
-
"cog-outlined":
|
|
6099
|
-
"coin-outlined":
|
|
6100
|
-
"comment-outlined":
|
|
6101
|
-
"contacts-outlined":
|
|
6102
|
-
"credit-card-outlined":
|
|
6103
|
-
"cup-outlined":
|
|
6104
|
-
"direction-arrows-outlined":
|
|
6105
|
-
"directory-outlined":
|
|
6106
|
-
"document-outlined":
|
|
6107
|
-
"dollar-card-outlined":
|
|
6108
|
-
"dollar-coin-shine-outlined":
|
|
6109
|
-
"dollar-sign":
|
|
6110
|
-
"double-buildings-outlined":
|
|
6111
|
-
"double-left-arrows":
|
|
6112
|
-
"double-right-arrows":
|
|
6113
|
-
"download-outlined":
|
|
6114
|
-
"edit-template-outlined":
|
|
6115
|
-
"email-outlined":
|
|
6116
|
-
"enter-arrow":
|
|
6117
|
-
"envelope-outlined":
|
|
6118
|
-
"expense-outlined":
|
|
6119
|
-
"explore-outlined":
|
|
6120
|
-
"external-link":
|
|
6121
|
-
"eye-invisible-outlined":
|
|
6122
|
-
"eye-outlined":
|
|
6123
|
-
"face-id":
|
|
6124
|
-
"face-meh-outlined":
|
|
6125
|
-
"face-open-smiley-outlined":
|
|
6126
|
-
"face-sad-outlined":
|
|
6127
|
-
"face-smiley-outlined":
|
|
6128
|
-
"feed-outlined":
|
|
6129
|
-
"file-certified-outlined":
|
|
6130
|
-
"file-clone-outlined":
|
|
6131
|
-
"file-copy-outlined":
|
|
6132
|
-
"file-dispose-outlined":
|
|
6133
|
-
"file-dollar-outlined":
|
|
6134
|
-
"file-download-outlined":
|
|
6135
|
-
"file-export-outlined":
|
|
6136
|
-
"file-lock-outlined":
|
|
6137
|
-
"file-outlined":
|
|
6138
|
-
"file-search-outlined":
|
|
6139
|
-
"file-secured-outlined":
|
|
6140
|
-
"file-verified-outlined":
|
|
6141
|
-
"filter-outlined":
|
|
6142
|
-
"folder-outlined":
|
|
6143
|
-
"folder-user-outlined":
|
|
6144
|
-
"funnel-filter-outline":
|
|
6145
|
-
"graph-outlined":
|
|
6146
|
-
"hand-holding-user-outlined":
|
|
6147
|
-
"happy-sun-outlined":
|
|
6148
|
-
"health-bag-outlined":
|
|
6149
|
-
"heart-outlined":
|
|
6150
|
-
"home-active-outlined":
|
|
6151
|
-
"home-outlined":
|
|
6152
|
-
"id-card-outlined":
|
|
6153
|
-
"image-outlined":
|
|
6154
|
-
"import-outlined":
|
|
6155
|
-
"instapay-outlined":
|
|
6012
|
+
"circle-add-outlined": 59202,
|
|
6013
|
+
"circle-cancel-outlined": 59203,
|
|
6014
|
+
"circle-down-outlined": 59204,
|
|
6015
|
+
"circle-info-outlined": 59205,
|
|
6016
|
+
"circle-left-outlined": 59206,
|
|
6017
|
+
"circle-ok-outlined": 59207,
|
|
6018
|
+
"circle-question-outlined": 59208,
|
|
6019
|
+
"circle-remove-outlined": 59209,
|
|
6020
|
+
"circle-right-outlined": 59210,
|
|
6021
|
+
"circle-up-outlined": 59211,
|
|
6022
|
+
"circle-warning-outlined": 59212,
|
|
6023
|
+
"clock-2-outlined": 59213,
|
|
6024
|
+
"clock-outlined": 59214,
|
|
6025
|
+
"cog-outlined": 59215,
|
|
6026
|
+
"coin-outlined": 59216,
|
|
6027
|
+
"comment-outlined": 59217,
|
|
6028
|
+
"contacts-outlined": 59218,
|
|
6029
|
+
"credit-card-outlined": 59219,
|
|
6030
|
+
"cup-outlined": 59220,
|
|
6031
|
+
"direction-arrows-outlined": 59221,
|
|
6032
|
+
"directory-outlined": 59222,
|
|
6033
|
+
"document-outlined": 59223,
|
|
6034
|
+
"dollar-card-outlined": 59224,
|
|
6035
|
+
"dollar-coin-shine-outlined": 59225,
|
|
6036
|
+
"dollar-sign": 59226,
|
|
6037
|
+
"double-buildings-outlined": 59227,
|
|
6038
|
+
"double-left-arrows": 59228,
|
|
6039
|
+
"double-right-arrows": 59229,
|
|
6040
|
+
"download-outlined": 59230,
|
|
6041
|
+
"edit-template-outlined": 59231,
|
|
6042
|
+
"email-outlined": 59232,
|
|
6043
|
+
"enter-arrow": 59233,
|
|
6044
|
+
"envelope-outlined": 59234,
|
|
6045
|
+
"expense-outlined": 59235,
|
|
6046
|
+
"explore-outlined": 59236,
|
|
6047
|
+
"external-link": 59237,
|
|
6048
|
+
"eye-invisible-outlined": 59238,
|
|
6049
|
+
"eye-outlined": 59239,
|
|
6050
|
+
"face-id": 59240,
|
|
6051
|
+
"face-meh-outlined": 59241,
|
|
6052
|
+
"face-open-smiley-outlined": 59242,
|
|
6053
|
+
"face-sad-outlined": 59243,
|
|
6054
|
+
"face-smiley-outlined": 59244,
|
|
6055
|
+
"feed-outlined": 59245,
|
|
6056
|
+
"file-certified-outlined": 59246,
|
|
6057
|
+
"file-clone-outlined": 59247,
|
|
6058
|
+
"file-copy-outlined": 59248,
|
|
6059
|
+
"file-dispose-outlined": 59249,
|
|
6060
|
+
"file-dollar-outlined": 59250,
|
|
6061
|
+
"file-download-outlined": 59251,
|
|
6062
|
+
"file-export-outlined": 59252,
|
|
6063
|
+
"file-lock-outlined": 59253,
|
|
6064
|
+
"file-outlined": 59254,
|
|
6065
|
+
"file-search-outlined": 59255,
|
|
6066
|
+
"file-secured-outlined": 59256,
|
|
6067
|
+
"file-verified-outlined": 59257,
|
|
6068
|
+
"filter-outlined": 59258,
|
|
6069
|
+
"folder-outlined": 59259,
|
|
6070
|
+
"folder-user-outlined": 59260,
|
|
6071
|
+
"funnel-filter-outline": 59261,
|
|
6072
|
+
"graph-outlined": 59262,
|
|
6073
|
+
"hand-holding-user-outlined": 59263,
|
|
6074
|
+
"happy-sun-outlined": 59264,
|
|
6075
|
+
"health-bag-outlined": 59265,
|
|
6076
|
+
"heart-outlined": 59266,
|
|
6077
|
+
"home-active-outlined": 59267,
|
|
6078
|
+
"home-outlined": 59268,
|
|
6079
|
+
"id-card-outlined": 59269,
|
|
6080
|
+
"image-outlined": 59270,
|
|
6081
|
+
"import-outlined": 59271,
|
|
6082
|
+
"instapay-outlined": 59272,
|
|
6156
6083
|
italic: italic,
|
|
6157
|
-
"link-1":
|
|
6158
|
-
"link-2":
|
|
6159
|
-
"list-outlined":
|
|
6160
|
-
"live-help-outlined":
|
|
6161
|
-
"location-outlined":
|
|
6162
|
-
"lock-outlined":
|
|
6163
|
-
"locked-file-outlined":
|
|
6164
|
-
"log-out":
|
|
6165
|
-
"media-content-outlined":
|
|
6166
|
-
"menu-close":
|
|
6167
|
-
"menu-expand":
|
|
6168
|
-
"menu-fold-outlined":
|
|
6169
|
-
"menu-unfold-outlined":
|
|
6170
|
-
"moneybag-outlined":
|
|
6171
|
-
"moon-outlined":
|
|
6172
|
-
"more-horizontal":
|
|
6173
|
-
"more-vertical":
|
|
6174
|
-
"multiple-folders-outlined":
|
|
6175
|
-
"multiple-users-outlined":
|
|
6176
|
-
"near-me-outlined":
|
|
6177
|
-
"node-outlined":
|
|
6178
|
-
"number-points":
|
|
6084
|
+
"link-1": 59274,
|
|
6085
|
+
"link-2": 59275,
|
|
6086
|
+
"list-outlined": 59276,
|
|
6087
|
+
"live-help-outlined": 59277,
|
|
6088
|
+
"location-outlined": 59278,
|
|
6089
|
+
"lock-outlined": 59279,
|
|
6090
|
+
"locked-file-outlined": 59280,
|
|
6091
|
+
"log-out": 59281,
|
|
6092
|
+
"media-content-outlined": 59282,
|
|
6093
|
+
"menu-close": 59283,
|
|
6094
|
+
"menu-expand": 59284,
|
|
6095
|
+
"menu-fold-outlined": 59285,
|
|
6096
|
+
"menu-unfold-outlined": 59286,
|
|
6097
|
+
"moneybag-outlined": 59287,
|
|
6098
|
+
"moon-outlined": 59288,
|
|
6099
|
+
"more-horizontal": 59289,
|
|
6100
|
+
"more-vertical": 59290,
|
|
6101
|
+
"multiple-folders-outlined": 59291,
|
|
6102
|
+
"multiple-users-outlined": 59292,
|
|
6103
|
+
"near-me-outlined": 59293,
|
|
6104
|
+
"node-outlined": 59294,
|
|
6105
|
+
"number-points": 59295,
|
|
6179
6106
|
number: number,
|
|
6180
|
-
"payment-summary-outlined":
|
|
6181
|
-
"payslip-outlined":
|
|
6182
|
-
"pencil-outlined":
|
|
6107
|
+
"payment-summary-outlined": 59297,
|
|
6108
|
+
"payslip-outlined": 59298,
|
|
6109
|
+
"pencil-outlined": 59299,
|
|
6183
6110
|
percentage: percentage,
|
|
6184
|
-
"phone-outlined":
|
|
6185
|
-
"piggy-bank-outlined":
|
|
6186
|
-
"plane-outlined":
|
|
6187
|
-
"play-circle-outlined":
|
|
6188
|
-
"print-outlined":
|
|
6189
|
-
"qr-code-outlined":
|
|
6190
|
-
"re-assign":
|
|
6111
|
+
"phone-outlined": 59301,
|
|
6112
|
+
"piggy-bank-outlined": 59302,
|
|
6113
|
+
"plane-outlined": 59303,
|
|
6114
|
+
"play-circle-outlined": 59304,
|
|
6115
|
+
"print-outlined": 59305,
|
|
6116
|
+
"qr-code-outlined": 59306,
|
|
6117
|
+
"re-assign": 59307,
|
|
6191
6118
|
redeem: redeem,
|
|
6192
6119
|
refresh: refresh,
|
|
6193
6120
|
remove: remove,
|
|
6194
|
-
"reply-outlined":
|
|
6121
|
+
"reply-outlined": 59311,
|
|
6195
6122
|
restart: restart,
|
|
6196
|
-
"return-arrow":
|
|
6197
|
-
"rostering-outlined":
|
|
6198
|
-
"save-outlined":
|
|
6199
|
-
"schedule-outlined":
|
|
6200
|
-
"search-outlined":
|
|
6201
|
-
"search-secured-outlined":
|
|
6202
|
-
"send-outlined":
|
|
6203
|
-
"share-1":
|
|
6204
|
-
"share-2":
|
|
6205
|
-
"share-outlined":
|
|
6206
|
-
"single-down-arrow":
|
|
6207
|
-
"single-left-arrow":
|
|
6208
|
-
"single-right-arrow":
|
|
6209
|
-
"single-up-arrow":
|
|
6210
|
-
"speaker-active-outlined":
|
|
6211
|
-
"speaker-outlined":
|
|
6212
|
-
"star-outlined":
|
|
6213
|
-
"stopwatch-outlined":
|
|
6123
|
+
"return-arrow": 59313,
|
|
6124
|
+
"rostering-outlined": 59314,
|
|
6125
|
+
"save-outlined": 59315,
|
|
6126
|
+
"schedule-outlined": 59316,
|
|
6127
|
+
"search-outlined": 59317,
|
|
6128
|
+
"search-secured-outlined": 59318,
|
|
6129
|
+
"send-outlined": 59319,
|
|
6130
|
+
"share-1": 59320,
|
|
6131
|
+
"share-2": 59321,
|
|
6132
|
+
"share-outlined": 59322,
|
|
6133
|
+
"single-down-arrow": 59323,
|
|
6134
|
+
"single-left-arrow": 59324,
|
|
6135
|
+
"single-right-arrow": 59325,
|
|
6136
|
+
"single-up-arrow": 59326,
|
|
6137
|
+
"speaker-active-outlined": 59327,
|
|
6138
|
+
"speaker-outlined": 59328,
|
|
6139
|
+
"star-outlined": 59329,
|
|
6140
|
+
"stopwatch-outlined": 59330,
|
|
6214
6141
|
strikethrough: strikethrough,
|
|
6215
|
-
"suitcase-clock-outlined":
|
|
6216
|
-
"suitcase-outlined":
|
|
6217
|
-
"survey-outlined":
|
|
6218
|
-
"switch-outlined":
|
|
6142
|
+
"suitcase-clock-outlined": 59332,
|
|
6143
|
+
"suitcase-outlined": 59333,
|
|
6144
|
+
"survey-outlined": 59334,
|
|
6145
|
+
"switch-outlined": 59335,
|
|
6219
6146
|
sync: sync,
|
|
6220
|
-
"target-outlined":
|
|
6221
|
-
"timesheet-outlined":
|
|
6147
|
+
"target-outlined": 59337,
|
|
6148
|
+
"timesheet-outlined": 59338,
|
|
6222
6149
|
transfer: transfer,
|
|
6223
|
-
"trash-bin-outlined":
|
|
6224
|
-
"umbrela-outlined":
|
|
6150
|
+
"trash-bin-outlined": 59340,
|
|
6151
|
+
"umbrela-outlined": 59341,
|
|
6225
6152
|
unavailable: unavailable,
|
|
6226
6153
|
underline: underline,
|
|
6227
|
-
"unlock-outlined":
|
|
6228
|
-
"upload-outlined":
|
|
6229
|
-
"user-circle-outlined":
|
|
6230
|
-
"user-gear-outlined":
|
|
6231
|
-
"user-outlined":
|
|
6232
|
-
"user-rectangle-outlined":
|
|
6233
|
-
"video-1-outlined":
|
|
6234
|
-
"video-2-outlined":
|
|
6235
|
-
"wallet-outlined":
|
|
6154
|
+
"unlock-outlined": 59344,
|
|
6155
|
+
"upload-outlined": 59345,
|
|
6156
|
+
"user-circle-outlined": 59346,
|
|
6157
|
+
"user-gear-outlined": 59347,
|
|
6158
|
+
"user-outlined": 59348,
|
|
6159
|
+
"user-rectangle-outlined": 59349,
|
|
6160
|
+
"video-1-outlined": 59350,
|
|
6161
|
+
"video-2-outlined": 59351,
|
|
6162
|
+
"wallet-outlined": 59352
|
|
6236
6163
|
};
|
|
6237
6164
|
|
|
6238
6165
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6381,11 +6308,9 @@ var Accordion = function Accordion(_ref) {
|
|
|
6381
6308
|
|
|
6382
6309
|
var Container$1 = index$a(View)(function (_ref) {
|
|
6383
6310
|
var theme = _ref.theme,
|
|
6384
|
-
_ref$themeVariant = _ref.themeVariant,
|
|
6385
|
-
themeVariant = _ref$themeVariant === void 0 ? 'default' : _ref$themeVariant,
|
|
6386
6311
|
themeIntent = _ref.themeIntent;
|
|
6387
6312
|
return {
|
|
6388
|
-
borderRadius:
|
|
6313
|
+
borderRadius: theme.__hd__.alert.radii["default"],
|
|
6389
6314
|
backgroundColor: theme.__hd__.alert.colors[themeIntent],
|
|
6390
6315
|
minHeight: theme.__hd__.alert.sizes.height,
|
|
6391
6316
|
flexDirection: 'row'
|
|
@@ -6454,13 +6379,9 @@ var Alert = function Alert(_ref2) {
|
|
|
6454
6379
|
_ref2$intent = _ref2.intent,
|
|
6455
6380
|
intent = _ref2$intent === void 0 ? 'info' : _ref2$intent,
|
|
6456
6381
|
onClose = _ref2.onClose,
|
|
6457
|
-
_variant = _ref2.variant,
|
|
6458
6382
|
style = _ref2.style,
|
|
6459
6383
|
testID = _ref2.testID;
|
|
6460
|
-
var variant = _variant === undefined ? 'default' : _variant;
|
|
6461
|
-
useDeprecation("Alert's variant prop will be removed in the next major release. Rounded will be the only variant available.", _variant !== undefined);
|
|
6462
6384
|
return /*#__PURE__*/React.createElement(Container$1, {
|
|
6463
|
-
themeVariant: variant,
|
|
6464
6385
|
themeIntent: intent,
|
|
6465
6386
|
style: style,
|
|
6466
6387
|
testID: testID
|
|
@@ -7202,28 +7123,6 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
7202
7123
|
}, nativeProps), Array.from(new Array(count), renderLoadingDot, themeVariant));
|
|
7203
7124
|
};
|
|
7204
7125
|
|
|
7205
|
-
var genBasicTransparentContainerStyles = function genBasicTransparentContainerStyles(theme, disabled) {
|
|
7206
|
-
var borderColorStyling = function borderColorStyling() {
|
|
7207
|
-
if (disabled) {
|
|
7208
|
-
return {
|
|
7209
|
-
borderColor: theme.__hd__.button.colors.disabledBorder
|
|
7210
|
-
};
|
|
7211
|
-
}
|
|
7212
|
-
return {
|
|
7213
|
-
borderColor: theme.__hd__.button.colors.invertedText
|
|
7214
|
-
};
|
|
7215
|
-
};
|
|
7216
|
-
return _objectSpread2({
|
|
7217
|
-
width: '100%',
|
|
7218
|
-
flexDirection: 'row',
|
|
7219
|
-
justifyContent: 'center',
|
|
7220
|
-
alignItems: 'center',
|
|
7221
|
-
padding: theme.__hd__.button.space.buttonPadding - theme.__hd__.button.borderWidth["default"],
|
|
7222
|
-
borderWidth: theme.__hd__.button.borderWidth["default"],
|
|
7223
|
-
borderRadius: theme.__hd__.button.radii["default"],
|
|
7224
|
-
backgroundColor: 'transparent'
|
|
7225
|
-
}, borderColorStyling());
|
|
7226
|
-
};
|
|
7227
7126
|
var genFilledContainerStyles = function genFilledContainerStyles(theme, intent, disabled) {
|
|
7228
7127
|
var backgroundColorStyling = function backgroundColorStyling() {
|
|
7229
7128
|
if (disabled) {
|
|
@@ -7304,8 +7203,6 @@ var StyledButtonContainer = index$a(TouchableOpacity)(function (_ref) {
|
|
|
7304
7203
|
themeVariant = _ref.themeVariant,
|
|
7305
7204
|
theme = _ref.theme;
|
|
7306
7205
|
switch (themeVariant) {
|
|
7307
|
-
case 'basic-transparent':
|
|
7308
|
-
return genBasicTransparentContainerStyles(theme, disabled);
|
|
7309
7206
|
case 'filled-primary':
|
|
7310
7207
|
return genFilledContainerStyles(theme, 'primary', disabled);
|
|
7311
7208
|
case 'filled-secondary':
|
|
@@ -7336,12 +7233,6 @@ var StyledButtonText = index$a(Typography.Text)(function (_ref2) {
|
|
|
7336
7233
|
theme = _ref2.theme;
|
|
7337
7234
|
var themeStyling = function themeStyling() {
|
|
7338
7235
|
switch (themeVariant) {
|
|
7339
|
-
case 'basic-transparent':
|
|
7340
|
-
return {
|
|
7341
|
-
fontSize: theme.__hd__.button.fontSize["default"],
|
|
7342
|
-
lineHeight: theme.__hd__.button.lineHeight["default"],
|
|
7343
|
-
color: disabled ? theme.__hd__.button.colors.disabledText : theme.__hd__.button.colors.invertedText
|
|
7344
|
-
};
|
|
7345
7236
|
case 'filled-primary':
|
|
7346
7237
|
case 'filled-secondary':
|
|
7347
7238
|
case 'filled-danger':
|
|
@@ -7390,10 +7281,6 @@ var StyledButtonIcon = index$a(Icon)(function (_ref4) {
|
|
|
7390
7281
|
theme = _ref4.theme;
|
|
7391
7282
|
var themeStyling = function themeStyling() {
|
|
7392
7283
|
switch (themeVariant) {
|
|
7393
|
-
case 'basic-transparent':
|
|
7394
|
-
return {
|
|
7395
|
-
color: disabled ? theme.__hd__.button.colors.disabledText : theme.__hd__.button.colors.invertedText
|
|
7396
|
-
};
|
|
7397
7284
|
case 'filled-primary':
|
|
7398
7285
|
case 'filled-secondary':
|
|
7399
7286
|
case 'filled-danger':
|
|
@@ -7436,8 +7323,6 @@ var TEXT_VARIANTS = {
|
|
|
7436
7323
|
};
|
|
7437
7324
|
var getThemeVariant = function getThemeVariant(variant, intent) {
|
|
7438
7325
|
switch (variant) {
|
|
7439
|
-
case 'basic-transparent':
|
|
7440
|
-
return variant;
|
|
7441
7326
|
case 'filled':
|
|
7442
7327
|
return FILLED_VARIANTS[intent];
|
|
7443
7328
|
case 'outlined':
|
|
@@ -7464,7 +7349,6 @@ var Button = function Button(_ref) {
|
|
|
7464
7349
|
_ref$variant = _ref.variant,
|
|
7465
7350
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant;
|
|
7466
7351
|
var themeVariant = getThemeVariant(variant, intent);
|
|
7467
|
-
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');
|
|
7468
7352
|
return /*#__PURE__*/React.createElement(StyledButtonContainer, {
|
|
7469
7353
|
accessibilityHint: accessibilityHint,
|
|
7470
7354
|
accessibilityLabel: accessibilityLabel,
|
|
@@ -10513,41 +10397,23 @@ var DataCard = function DataCard(_ref) {
|
|
|
10513
10397
|
};
|
|
10514
10398
|
|
|
10515
10399
|
var StyledCard = index$a(View)(function (_ref) {
|
|
10516
|
-
var
|
|
10517
|
-
theme = _ref.theme,
|
|
10400
|
+
var theme = _ref.theme,
|
|
10518
10401
|
themeIntent = _ref.themeIntent;
|
|
10519
|
-
return _objectSpread2(_objectSpread2(
|
|
10520
|
-
flexDirection: 'row'
|
|
10521
|
-
}), themeIntent !== undefined && {
|
|
10402
|
+
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
10522
10403
|
backgroundColor: theme.__hd__.card.colors[themeIntent]
|
|
10523
10404
|
}), {}, {
|
|
10524
10405
|
borderRadius: theme.__hd__.card.radii["default"],
|
|
10525
10406
|
overflow: 'hidden'
|
|
10526
10407
|
});
|
|
10527
10408
|
});
|
|
10528
|
-
// DEPRECATED
|
|
10529
|
-
var LeftDataCard = index$a(View)(function (_ref2) {
|
|
10530
|
-
var theme = _ref2.theme;
|
|
10531
|
-
return {
|
|
10532
|
-
backgroundColor: theme.__hd__.card.colors.dataCardIndicator,
|
|
10533
|
-
width: theme.__hd__.card.sizes.indicatorWidth,
|
|
10534
|
-
height: '100%'
|
|
10535
|
-
};
|
|
10536
|
-
});
|
|
10537
10409
|
|
|
10538
|
-
var _excluded$8 = ["
|
|
10410
|
+
var _excluded$8 = ["intent", "children"];
|
|
10539
10411
|
var Card = function Card(_ref) {
|
|
10540
|
-
var
|
|
10541
|
-
intent = _ref.intent,
|
|
10412
|
+
var intent = _ref.intent,
|
|
10542
10413
|
children = _ref.children,
|
|
10543
10414
|
nativeProps = _objectWithoutProperties(_ref, _excluded$8);
|
|
10544
|
-
var variant = _variant === undefined ? 'basic' : _variant;
|
|
10545
|
-
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);
|
|
10546
10415
|
return /*#__PURE__*/React.createElement(StyledCard, _extends$1({}, nativeProps, {
|
|
10547
|
-
themeVariant: variant,
|
|
10548
10416
|
themeIntent: intent
|
|
10549
|
-
}), variant === 'data' && /*#__PURE__*/React.createElement(LeftDataCard, {
|
|
10550
|
-
testID: "data-card-indicator"
|
|
10551
10417
|
}), children);
|
|
10552
10418
|
};
|
|
10553
10419
|
var index$8 = Object.assign(Card, {
|
|
@@ -13056,7 +12922,6 @@ function MultiSelect(_ref) {
|
|
|
13056
12922
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
13057
12923
|
inputProps = _ref.inputProps,
|
|
13058
12924
|
onConfirm = _ref.onConfirm,
|
|
13059
|
-
onDimiss = _ref.onDimiss,
|
|
13060
12925
|
onDismiss = _ref.onDismiss,
|
|
13061
12926
|
onEndReached = _ref.onEndReached,
|
|
13062
12927
|
onQueryChange = _ref.onQueryChange,
|
|
@@ -13070,7 +12935,6 @@ function MultiSelect(_ref) {
|
|
|
13070
12935
|
_ref$disabled = _ref.disabled,
|
|
13071
12936
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13072
12937
|
required = _ref.required,
|
|
13073
|
-
numberOfLines = _ref.numberOfLines,
|
|
13074
12938
|
style = _ref.style,
|
|
13075
12939
|
testID = _ref.testID,
|
|
13076
12940
|
value = _ref.value;
|
|
@@ -13093,9 +12957,6 @@ function MultiSelect(_ref) {
|
|
|
13093
12957
|
}).map(function (opt) {
|
|
13094
12958
|
return opt.text;
|
|
13095
12959
|
}).join(', ');
|
|
13096
|
-
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13097
|
-
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13098
|
-
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);
|
|
13099
12960
|
useEffect(function () {
|
|
13100
12961
|
setSelectingValue(value);
|
|
13101
12962
|
}, [open]);
|
|
@@ -13107,9 +12968,7 @@ function MultiSelect(_ref) {
|
|
|
13107
12968
|
}
|
|
13108
12969
|
}, /*#__PURE__*/React.createElement(View, {
|
|
13109
12970
|
pointerEvents: "none"
|
|
13110
|
-
}, /*#__PURE__*/React.createElement(TextInput, _extends$1({
|
|
13111
|
-
numberOfLines: numberOfLines
|
|
13112
|
-
}, inputProps, {
|
|
12971
|
+
}, /*#__PURE__*/React.createElement(TextInput, _extends$1({}, inputProps, {
|
|
13113
12972
|
label: label,
|
|
13114
12973
|
value: displayedValue,
|
|
13115
12974
|
suffix: "arrow-down",
|
|
@@ -13129,7 +12988,7 @@ function MultiSelect(_ref) {
|
|
|
13129
12988
|
onRequestClose: function onRequestClose() {
|
|
13130
12989
|
return setOpen(false);
|
|
13131
12990
|
},
|
|
13132
|
-
onDismiss: onDismiss
|
|
12991
|
+
onDismiss: onDismiss,
|
|
13133
12992
|
header: label,
|
|
13134
12993
|
style: {
|
|
13135
12994
|
paddingBottom: isKeyboardVisible ? keyboardHeight : 0
|
|
@@ -13248,7 +13107,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13248
13107
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
13249
13108
|
inputProps = _ref.inputProps,
|
|
13250
13109
|
onConfirm = _ref.onConfirm,
|
|
13251
|
-
onDimiss = _ref.onDimiss,
|
|
13252
13110
|
onDismiss = _ref.onDismiss,
|
|
13253
13111
|
onEndReached = _ref.onEndReached,
|
|
13254
13112
|
onQueryChange = _ref.onQueryChange,
|
|
@@ -13262,7 +13120,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13262
13120
|
_ref$disabled = _ref.disabled,
|
|
13263
13121
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13264
13122
|
required = _ref.required,
|
|
13265
|
-
numberOfLines = _ref.numberOfLines,
|
|
13266
13123
|
style = _ref.style,
|
|
13267
13124
|
testID = _ref.testID,
|
|
13268
13125
|
value = _ref.value;
|
|
@@ -13279,9 +13136,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13279
13136
|
var displayedValue = (_flatOptions$find = flatOptions.find(function (opt) {
|
|
13280
13137
|
return value === opt.value;
|
|
13281
13138
|
})) === null || _flatOptions$find === void 0 ? void 0 : _flatOptions$find.text;
|
|
13282
|
-
useDeprecation("Select's onDimiss is deprecated and will be removed in the next major release. Please use onDismiss instead.", onDimiss !== undefined);
|
|
13283
|
-
useDeprecation("Select's numberOfLines is deprecated and will be removed in the next major release. Please use inputProps.numberOfLines instead.", numberOfLines !== undefined);
|
|
13284
|
-
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);
|
|
13285
13139
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
|
|
13286
13140
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
13287
13141
|
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
@@ -13290,9 +13144,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13290
13144
|
}
|
|
13291
13145
|
}, /*#__PURE__*/React.createElement(View, {
|
|
13292
13146
|
pointerEvents: "none"
|
|
13293
|
-
}, /*#__PURE__*/React.createElement(TextInput, _extends$1({
|
|
13294
|
-
numberOfLines: numberOfLines
|
|
13295
|
-
}, inputProps, {
|
|
13147
|
+
}, /*#__PURE__*/React.createElement(TextInput, _extends$1({}, inputProps, {
|
|
13296
13148
|
label: label,
|
|
13297
13149
|
value: displayedValue,
|
|
13298
13150
|
suffix: "arrow-down",
|
|
@@ -13312,7 +13164,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13312
13164
|
onRequestClose: function onRequestClose() {
|
|
13313
13165
|
return setOpen(false);
|
|
13314
13166
|
},
|
|
13315
|
-
onDismiss: onDismiss
|
|
13167
|
+
onDismiss: onDismiss,
|
|
13316
13168
|
header: label,
|
|
13317
13169
|
style: {
|
|
13318
13170
|
paddingBottom: isKeyboardVisible ? keyboardHeight : 0
|
|
@@ -13350,31 +13202,6 @@ var index$4 = Object.assign(SingleSelect, {
|
|
|
13350
13202
|
});
|
|
13351
13203
|
|
|
13352
13204
|
var StyledWrapper$1 = index$a(View)(function (_ref) {
|
|
13353
|
-
var theme = _ref.theme,
|
|
13354
|
-
themeVariant = _ref.themeVariant,
|
|
13355
|
-
themeSize = _ref.themeSize;
|
|
13356
|
-
return {
|
|
13357
|
-
height: theme.__hd__["switch"].sizes.heights[themeSize],
|
|
13358
|
-
width: theme.__hd__["switch"].sizes.widths[themeSize],
|
|
13359
|
-
paddingHorizontal: theme.__hd__["switch"].spaces[themeSize],
|
|
13360
|
-
borderRadius: theme.__hd__["switch"].radii.rounded,
|
|
13361
|
-
backgroundColor: theme.__hd__["switch"].colors.backgroundColors[themeVariant],
|
|
13362
|
-
display: 'flex',
|
|
13363
|
-
justifyContent: 'center'
|
|
13364
|
-
};
|
|
13365
|
-
});
|
|
13366
|
-
var StyledKnot = index$a(Animated.View)(function (_ref2) {
|
|
13367
|
-
var theme = _ref2.theme,
|
|
13368
|
-
themeSize = _ref2.themeSize;
|
|
13369
|
-
return {
|
|
13370
|
-
width: theme.__hd__["switch"].sizes.thumbs[themeSize],
|
|
13371
|
-
height: theme.__hd__["switch"].sizes.thumbs[themeSize],
|
|
13372
|
-
backgroundColor: theme.__hd__["switch"].colors.thumb,
|
|
13373
|
-
borderRadius: theme.__hd__["switch"].radii.rounded
|
|
13374
|
-
};
|
|
13375
|
-
});
|
|
13376
|
-
|
|
13377
|
-
var StyledWrapper = index$a(View)(function (_ref) {
|
|
13378
13205
|
var theme = _ref.theme;
|
|
13379
13206
|
return {
|
|
13380
13207
|
flexDirection: 'row',
|
|
@@ -13454,7 +13281,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
13454
13281
|
return onPress(value);
|
|
13455
13282
|
} : undefined,
|
|
13456
13283
|
testID: testID
|
|
13457
|
-
}, /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
13284
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper$1, {
|
|
13458
13285
|
style: style
|
|
13459
13286
|
}, options.map(function (opt, index) {
|
|
13460
13287
|
return (
|
|
@@ -13468,6 +13295,29 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
13468
13295
|
})));
|
|
13469
13296
|
};
|
|
13470
13297
|
|
|
13298
|
+
var StyledWrapper = index$a(View)(function (_ref) {
|
|
13299
|
+
var theme = _ref.theme,
|
|
13300
|
+
themeVariant = _ref.themeVariant;
|
|
13301
|
+
return {
|
|
13302
|
+
height: theme.__hd__["switch"].sizes.height,
|
|
13303
|
+
width: theme.__hd__["switch"].sizes.width,
|
|
13304
|
+
paddingHorizontal: theme.__hd__["switch"].spaces.paddingHorizontal,
|
|
13305
|
+
borderRadius: theme.__hd__["switch"].radii.rounded,
|
|
13306
|
+
backgroundColor: theme.__hd__["switch"].colors.backgroundColors[themeVariant],
|
|
13307
|
+
display: 'flex',
|
|
13308
|
+
justifyContent: 'center'
|
|
13309
|
+
};
|
|
13310
|
+
});
|
|
13311
|
+
var StyledKnot = index$a(Animated.View)(function (_ref2) {
|
|
13312
|
+
var theme = _ref2.theme;
|
|
13313
|
+
return {
|
|
13314
|
+
width: theme.__hd__["switch"].sizes.thumb,
|
|
13315
|
+
height: theme.__hd__["switch"].sizes.thumb,
|
|
13316
|
+
backgroundColor: theme.__hd__["switch"].colors.thumb,
|
|
13317
|
+
borderRadius: theme.__hd__["switch"].radii.rounded
|
|
13318
|
+
};
|
|
13319
|
+
});
|
|
13320
|
+
|
|
13471
13321
|
var getVariant = function getVariant(_ref) {
|
|
13472
13322
|
var disabled = _ref.disabled,
|
|
13473
13323
|
checked = _ref.checked;
|
|
@@ -13477,22 +13327,19 @@ var getVariant = function getVariant(_ref) {
|
|
|
13477
13327
|
return checked ? 'checked' : 'unchecked';
|
|
13478
13328
|
};
|
|
13479
13329
|
var Switch = function Switch(_ref2) {
|
|
13480
|
-
var
|
|
13481
|
-
_ref2$disabled = _ref2.disabled,
|
|
13330
|
+
var _ref2$disabled = _ref2.disabled,
|
|
13482
13331
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
13483
13332
|
_ref2$checked = _ref2.checked,
|
|
13484
13333
|
checked = _ref2$checked === void 0 ? false : _ref2$checked,
|
|
13485
13334
|
onPress = _ref2.onPress,
|
|
13486
13335
|
style = _ref2.style,
|
|
13487
13336
|
testID = _ref2.testID;
|
|
13488
|
-
var size = _size === undefined ? 'medium' : _size;
|
|
13489
13337
|
var theme = useTheme$1();
|
|
13490
13338
|
var variant = getVariant({
|
|
13491
13339
|
disabled: disabled,
|
|
13492
13340
|
checked: checked
|
|
13493
13341
|
});
|
|
13494
|
-
|
|
13495
|
-
var offset = checked ? (theme.__hd__["switch"].sizes.widths[size] - theme.__hd__["switch"].sizes.thumbs[size]) / 2 + theme.__hd__["switch"].sizes.thumbs[size] / 2 : 0;
|
|
13342
|
+
var offset = checked ? (theme.__hd__["switch"].sizes.width - theme.__hd__["switch"].sizes.thumb) / 2 + theme.__hd__["switch"].sizes.thumb / 2 : 0;
|
|
13496
13343
|
var _useState = useState(function () {
|
|
13497
13344
|
return new Animated.Value(offset);
|
|
13498
13345
|
}),
|
|
@@ -13509,12 +13356,10 @@ var Switch = function Switch(_ref2) {
|
|
|
13509
13356
|
testID: testID,
|
|
13510
13357
|
onPress: onPress,
|
|
13511
13358
|
disabled: disabled
|
|
13512
|
-
}, /*#__PURE__*/React.createElement(StyledWrapper
|
|
13359
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
13513
13360
|
themeVariant: variant,
|
|
13514
|
-
themeSize: size,
|
|
13515
13361
|
style: style
|
|
13516
13362
|
}, /*#__PURE__*/React.createElement(StyledKnot, {
|
|
13517
|
-
themeSize: size,
|
|
13518
13363
|
style: {
|
|
13519
13364
|
left: animatedOffset
|
|
13520
13365
|
}
|
|
@@ -13652,20 +13497,9 @@ var useAnimatedValueArray = function useAnimatedValueArray(initialValues) {
|
|
|
13652
13497
|
};
|
|
13653
13498
|
|
|
13654
13499
|
var TabWithBadge = function TabWithBadge(_ref) {
|
|
13655
|
-
var
|
|
13656
|
-
config = _ref.config,
|
|
13500
|
+
var config = _ref.config,
|
|
13657
13501
|
tabItem = _ref.tabItem;
|
|
13658
13502
|
var theme = useTheme$1();
|
|
13659
|
-
// Deprecated. To be removed.
|
|
13660
|
-
if (showBadge !== undefined) {
|
|
13661
|
-
return /*#__PURE__*/React.createElement(Badge$1.Status, {
|
|
13662
|
-
testID: "deprecated-badge",
|
|
13663
|
-
visible: showBadge,
|
|
13664
|
-
style: {
|
|
13665
|
-
paddingHorizontal: theme.space.small
|
|
13666
|
-
}
|
|
13667
|
-
}, tabItem);
|
|
13668
|
-
}
|
|
13669
13503
|
if (!config) return /*#__PURE__*/React.createElement(View, null, tabItem);
|
|
13670
13504
|
if (config.type === 'status') {
|
|
13671
13505
|
return /*#__PURE__*/React.createElement(Badge$1.Status, {
|
|
@@ -13794,7 +13628,6 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
13794
13628
|
testID = tab.testID,
|
|
13795
13629
|
activeItem = tab.activeItem,
|
|
13796
13630
|
originalInactiveItem = tab.inactiveItem,
|
|
13797
|
-
showBadge = tab.showBadge,
|
|
13798
13631
|
badge = tab.badge;
|
|
13799
13632
|
var active = selectedTabKey === key;
|
|
13800
13633
|
var activeAnimated = tabsAnims[index];
|
|
@@ -13825,7 +13658,6 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
13825
13658
|
}]
|
|
13826
13659
|
}
|
|
13827
13660
|
})), /*#__PURE__*/React.createElement(HeaderTabItemWrapper, null, /*#__PURE__*/React.createElement(TabWithBadge, {
|
|
13828
|
-
showBadge: showBadge,
|
|
13829
13661
|
config: badge,
|
|
13830
13662
|
tabItem: tabItem
|
|
13831
13663
|
}))));
|
|
@@ -13888,9 +13720,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13888
13720
|
_ref2$swipeEnabled = _ref2.swipeEnabled,
|
|
13889
13721
|
swipeEnabled = _ref2$swipeEnabled === void 0 ? true : _ref2$swipeEnabled,
|
|
13890
13722
|
componentTestID = _ref2.testID;
|
|
13891
|
-
useDeprecation("Tabs' showBadge will be removed in the next major release. Please use badge prop instead.", tabs.some(function (item) {
|
|
13892
|
-
return item.showBadge !== undefined;
|
|
13893
|
-
}));
|
|
13894
13723
|
var theme = useTheme$1();
|
|
13895
13724
|
var insets = useSafeAreaInsets();
|
|
13896
13725
|
var pagerViewRef = React.useRef(null);
|
|
@@ -13928,7 +13757,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13928
13757
|
testID = tab.testID,
|
|
13929
13758
|
activeItem = tab.activeItem,
|
|
13930
13759
|
originalInactiveItem = tab.inactiveItem,
|
|
13931
|
-
showBadge = tab.showBadge,
|
|
13932
13760
|
badge = tab.badge;
|
|
13933
13761
|
var active = selectedTabKey === key;
|
|
13934
13762
|
var inactiveItem = originalInactiveItem !== null && originalInactiveItem !== void 0 ? originalInactiveItem : activeItem;
|
|
@@ -13944,7 +13772,6 @@ var Tabs = function Tabs(_ref2) {
|
|
|
13944
13772
|
},
|
|
13945
13773
|
testID: testID
|
|
13946
13774
|
}, /*#__PURE__*/React.createElement(HeaderTabItem$1, null, /*#__PURE__*/React.createElement(TabWithBadge, {
|
|
13947
|
-
showBadge: showBadge,
|
|
13948
13775
|
config: badge,
|
|
13949
13776
|
tabItem: tabItem
|
|
13950
13777
|
})));
|
|
@@ -14048,7 +13875,6 @@ var Tag = function Tag(_ref) {
|
|
|
14048
13875
|
style = _ref.style,
|
|
14049
13876
|
testID = _ref.testID,
|
|
14050
13877
|
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14051
|
-
useDeprecation("Tag's default intent is deprecated and will be removed in the next major release.\nPlease use primary intent instead.", intent === 'default');
|
|
14052
13878
|
return /*#__PURE__*/React.createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14053
13879
|
themeIntent: intent,
|
|
14054
13880
|
themeVariant: variant,
|