@hero-design/rn 8.92.2 → 8.92.3
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 +2 -2
- package/CHANGELOG.md +18 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +588 -720
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +589 -720
- package/package.json +4 -2
- package/rollup.config.mjs +1 -0
- package/src/components/Button/StyledButton.tsx +15 -8
- package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +5 -3
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +61 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +26 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/MapPin/StyledMapPin.tsx +1 -9
- package/src/components/Progress/ProgressCircle.tsx +53 -109
- package/src/components/Progress/StyledProgressBar.tsx +4 -1
- package/src/components/Progress/StyledProgressCircle.tsx +1 -57
- package/src/components/Progress/StyledStep.tsx +1 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +299 -647
- package/src/components/Search/SearchOneLine.tsx +2 -2
- package/src/components/Search/SearchTwoLine.tsx +1 -1
- package/src/components/Search/StyledSearch.tsx +20 -35
- package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +51 -51
- package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +2 -2
- package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +13 -15
- package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +4 -4
- package/src/components/Search/utils.tsx +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/Tabs/TabWithBadge.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +15 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +6 -6
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -3
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +15 -9
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -0
- package/src/components/Toolbar/StyledToolbar.tsx +1 -0
- package/src/components/Toolbar/ToolbarMessage.tsx +3 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarMessage.spec.tsx.snap +8 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +20 -23
- package/src/theme/components/button.ts +10 -0
- package/src/theme/components/progress.ts +21 -26
- package/src/theme/components/search.ts +2 -10
- package/src/theme/components/toolbar.ts +2 -0
- package/src/utils/helpers.ts +9 -0
- package/stats/8.92.3/rn-stats.html +4842 -0
- package/types/components/Button/StyledButton.d.ts +2 -2
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Progress/StyledProgressCircle.d.ts +1 -32
- package/types/components/Search/StyledSearch.d.ts +0 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/theme/components/button.d.ts +3 -0
- package/types/theme/components/progress.d.ts +6 -6
- package/types/theme/components/search.d.ts +2 -10
- package/types/theme/components/toolbar.d.ts +2 -0
- package/types/utils/helpers.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "8.92.
|
|
3
|
+
"version": "8.92.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"react-native-linear-gradient": "^2.8.3",
|
|
39
39
|
"react-native-pager-view": "^6.2.1",
|
|
40
40
|
"react-native-safe-area-context": "^4.7.0",
|
|
41
|
+
"react-native-svg": "^15.11.2",
|
|
41
42
|
"react-native-vector-icons": "^9.1.0",
|
|
42
43
|
"react-native-webview": "^13.10.2"
|
|
43
44
|
},
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"@babel/preset-env": "^7.20.0",
|
|
47
48
|
"@babel/preset-react": "^7.20.0",
|
|
48
49
|
"@babel/preset-typescript": "^7.20.0",
|
|
49
|
-
"@babel/runtime": "^7.
|
|
50
|
+
"@babel/runtime": "^7.26.10",
|
|
50
51
|
"@emotion/jest": "^11.11.0",
|
|
51
52
|
"@eslint/compat": "^1.1.1",
|
|
52
53
|
"@eslint/eslintrc": "^3.1.0",
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
"react-native-linear-gradient": "2.8.3",
|
|
86
87
|
"react-native-pager-view": "^6.2.1",
|
|
87
88
|
"react-native-safe-area-context": "^4.7.0",
|
|
89
|
+
"react-native-svg": "^15.11.2",
|
|
88
90
|
"react-native-vector-icons": "^9.1.0",
|
|
89
91
|
"react-native-webview": "13.10.3",
|
|
90
92
|
"react-test-renderer": "18.2.0",
|
package/rollup.config.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TouchableHighlight, View } from 'react-native';
|
|
2
|
-
import styled from '@emotion/native';
|
|
3
1
|
import type { ReactNativeStyle } from '@emotion/native';
|
|
2
|
+
import styled from '@emotion/native';
|
|
4
3
|
import type { Theme } from '@emotion/react';
|
|
4
|
+
import { TouchableHighlight, View } from 'react-native';
|
|
5
|
+
import { scale } from '../../utils/scale';
|
|
5
6
|
import Icon from '../Icon';
|
|
6
7
|
import Typography from '../Typography';
|
|
7
|
-
import { scale } from '../../utils/scale';
|
|
8
8
|
|
|
9
9
|
type Intent = 'primary' | 'secondary' | 'danger' | 'white';
|
|
10
10
|
|
|
@@ -319,11 +319,17 @@ const StyledButtonText = styled(Typography.Title)<{
|
|
|
319
319
|
return {
|
|
320
320
|
flexShrink: 1,
|
|
321
321
|
textAlign: 'center',
|
|
322
|
+
textAlignVertical: 'center',
|
|
323
|
+
lineHeight: theme.__hd__.button.lineHeights.buttonText,
|
|
322
324
|
...themeStyling(),
|
|
323
325
|
};
|
|
324
326
|
});
|
|
325
327
|
|
|
326
|
-
const StyledSmallButtonText =
|
|
328
|
+
const StyledSmallButtonText = styled(
|
|
329
|
+
StyledButtonText.withComponent(Typography.Body)
|
|
330
|
+
)(({ theme }) => ({
|
|
331
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText,
|
|
332
|
+
}));
|
|
327
333
|
|
|
328
334
|
const StyledButtonTitleOfVariantText = styled(Typography.Body)<{
|
|
329
335
|
disabled?: boolean;
|
|
@@ -352,8 +358,9 @@ const StyledButtonTitleOfVariantText = styled(Typography.Body)<{
|
|
|
352
358
|
};
|
|
353
359
|
return {
|
|
354
360
|
flexShrink: 1,
|
|
355
|
-
lineHeight: theme.__hd__.button.lineHeights.titleOfTextVariant,
|
|
361
|
+
lineHeight: theme.__hd__.button.lineHeights.titleOfTextVariant,
|
|
356
362
|
textAlign: 'center',
|
|
363
|
+
textAlignVertical: 'center',
|
|
357
364
|
...themeStyling(),
|
|
358
365
|
};
|
|
359
366
|
});
|
|
@@ -427,10 +434,10 @@ const StyledButtonIcon = styled(Icon)<{
|
|
|
427
434
|
|
|
428
435
|
export {
|
|
429
436
|
StyledButtonContainer,
|
|
430
|
-
StyledButtonText,
|
|
431
|
-
StyledSmallButtonText,
|
|
432
|
-
StyledButtonIconWrapper,
|
|
433
437
|
StyledButtonIcon,
|
|
438
|
+
StyledButtonIconWrapper,
|
|
439
|
+
StyledButtonText,
|
|
434
440
|
StyledButtonTitleOfVariantText,
|
|
441
|
+
StyledSmallButtonText,
|
|
435
442
|
};
|
|
436
443
|
export type { Intent, ThemeVariant };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { View, TouchableOpacity } from 'react-native';
|
|
2
1
|
import styled from '@emotion/native';
|
|
2
|
+
import { TouchableOpacity, View } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import Typography from '../../Typography';
|
|
5
5
|
|
|
@@ -17,7 +17,9 @@ export const IconWrapper = styled(View)(({ theme }) => ({
|
|
|
17
17
|
paddingRight: theme.__hd__.button.space.default.iconPadding,
|
|
18
18
|
}));
|
|
19
19
|
|
|
20
|
-
export const ButtonText = styled(Typography.Body)({
|
|
20
|
+
export const ButtonText = styled(Typography.Body)(({ theme }) => ({
|
|
21
21
|
flexShrink: 1,
|
|
22
22
|
textAlign: 'center',
|
|
23
|
-
|
|
23
|
+
textAlignVertical: 'center',
|
|
24
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText,
|
|
25
|
+
}));
|
|
@@ -90,7 +90,9 @@ exports[`UtilityButton snapshot has intent primary style 1`] = `
|
|
|
90
90
|
[
|
|
91
91
|
{
|
|
92
92
|
"flexShrink": 1,
|
|
93
|
+
"lineHeight": undefined,
|
|
93
94
|
"textAlign": "center",
|
|
95
|
+
"textAlignVertical": "center",
|
|
94
96
|
},
|
|
95
97
|
undefined,
|
|
96
98
|
],
|
|
@@ -216,7 +218,9 @@ exports[`UtilityButton snapshot has intent text style 1`] = `
|
|
|
216
218
|
[
|
|
217
219
|
{
|
|
218
220
|
"flexShrink": 1,
|
|
221
|
+
"lineHeight": undefined,
|
|
219
222
|
"textAlign": "center",
|
|
223
|
+
"textAlignVertical": "center",
|
|
220
224
|
},
|
|
221
225
|
undefined,
|
|
222
226
|
],
|
|
@@ -93,7 +93,9 @@ exports[`Button allows render custom icon 1`] = `
|
|
|
93
93
|
{
|
|
94
94
|
"color": "#ffffff",
|
|
95
95
|
"flexShrink": 1,
|
|
96
|
+
"lineHeight": undefined,
|
|
96
97
|
"textAlign": "center",
|
|
98
|
+
"textAlignVertical": "center",
|
|
97
99
|
},
|
|
98
100
|
undefined,
|
|
99
101
|
],
|
|
@@ -223,7 +225,9 @@ exports[`Button renders correctly 1`] = `
|
|
|
223
225
|
{
|
|
224
226
|
"color": "#ffffff",
|
|
225
227
|
"flexShrink": 1,
|
|
228
|
+
"lineHeight": undefined,
|
|
226
229
|
"textAlign": "center",
|
|
230
|
+
"textAlignVertical": "center",
|
|
227
231
|
},
|
|
228
232
|
undefined,
|
|
229
233
|
],
|
|
@@ -501,7 +505,9 @@ exports[`Button renders correctly 3`] = `
|
|
|
501
505
|
{
|
|
502
506
|
"color": "#ffffff",
|
|
503
507
|
"flexShrink": 1,
|
|
508
|
+
"lineHeight": undefined,
|
|
504
509
|
"textAlign": "center",
|
|
510
|
+
"textAlignVertical": "center",
|
|
505
511
|
},
|
|
506
512
|
undefined,
|
|
507
513
|
],
|
|
@@ -603,7 +609,9 @@ exports[`Button renders correctly 4`] = `
|
|
|
603
609
|
{
|
|
604
610
|
"color": "#401960",
|
|
605
611
|
"flexShrink": 1,
|
|
612
|
+
"lineHeight": undefined,
|
|
606
613
|
"textAlign": "center",
|
|
614
|
+
"textAlignVertical": "center",
|
|
607
615
|
},
|
|
608
616
|
undefined,
|
|
609
617
|
],
|
|
@@ -881,7 +889,9 @@ exports[`Button renders correctly 6`] = `
|
|
|
881
889
|
{
|
|
882
890
|
"color": "#ffffff",
|
|
883
891
|
"flexShrink": 1,
|
|
892
|
+
"lineHeight": undefined,
|
|
884
893
|
"textAlign": "center",
|
|
894
|
+
"textAlignVertical": "center",
|
|
885
895
|
},
|
|
886
896
|
undefined,
|
|
887
897
|
],
|
|
@@ -985,7 +995,9 @@ exports[`Button renders correctly 7`] = `
|
|
|
985
995
|
{
|
|
986
996
|
"color": "#401960",
|
|
987
997
|
"flexShrink": 1,
|
|
998
|
+
"lineHeight": undefined,
|
|
988
999
|
"textAlign": "center",
|
|
1000
|
+
"textAlignVertical": "center",
|
|
989
1001
|
},
|
|
990
1002
|
undefined,
|
|
991
1003
|
],
|
|
@@ -1267,7 +1279,9 @@ exports[`Button renders correctly 9`] = `
|
|
|
1267
1279
|
{
|
|
1268
1280
|
"color": "#bfc1c5",
|
|
1269
1281
|
"flexShrink": 1,
|
|
1282
|
+
"lineHeight": undefined,
|
|
1270
1283
|
"textAlign": "center",
|
|
1284
|
+
"textAlignVertical": "center",
|
|
1271
1285
|
},
|
|
1272
1286
|
undefined,
|
|
1273
1287
|
],
|
|
@@ -1371,7 +1385,9 @@ exports[`Button renders correctly 10`] = `
|
|
|
1371
1385
|
{
|
|
1372
1386
|
"color": "#ffffff",
|
|
1373
1387
|
"flexShrink": 1,
|
|
1388
|
+
"lineHeight": undefined,
|
|
1374
1389
|
"textAlign": "center",
|
|
1390
|
+
"textAlignVertical": "center",
|
|
1375
1391
|
},
|
|
1376
1392
|
undefined,
|
|
1377
1393
|
],
|
|
@@ -1653,7 +1669,9 @@ exports[`Button renders correctly 12`] = `
|
|
|
1653
1669
|
{
|
|
1654
1670
|
"color": "#bfc1c5",
|
|
1655
1671
|
"flexShrink": 1,
|
|
1672
|
+
"lineHeight": undefined,
|
|
1656
1673
|
"textAlign": "center",
|
|
1674
|
+
"textAlignVertical": "center",
|
|
1657
1675
|
},
|
|
1658
1676
|
undefined,
|
|
1659
1677
|
],
|
|
@@ -1757,6 +1775,7 @@ exports[`Button renders correctly 13`] = `
|
|
|
1757
1775
|
"flexShrink": 1,
|
|
1758
1776
|
"lineHeight": 22,
|
|
1759
1777
|
"textAlign": "center",
|
|
1778
|
+
"textAlignVertical": "center",
|
|
1760
1779
|
},
|
|
1761
1780
|
undefined,
|
|
1762
1781
|
],
|
|
@@ -2037,6 +2056,7 @@ exports[`Button renders correctly 15`] = `
|
|
|
2037
2056
|
"flexShrink": 1,
|
|
2038
2057
|
"lineHeight": 22,
|
|
2039
2058
|
"textAlign": "center",
|
|
2059
|
+
"textAlignVertical": "center",
|
|
2040
2060
|
},
|
|
2041
2061
|
undefined,
|
|
2042
2062
|
],
|
|
@@ -2141,6 +2161,7 @@ exports[`Button renders correctly 16`] = `
|
|
|
2141
2161
|
"flexShrink": 1,
|
|
2142
2162
|
"lineHeight": 22,
|
|
2143
2163
|
"textAlign": "center",
|
|
2164
|
+
"textAlignVertical": "center",
|
|
2144
2165
|
},
|
|
2145
2166
|
undefined,
|
|
2146
2167
|
],
|
|
@@ -2421,6 +2442,7 @@ exports[`Button renders correctly 18`] = `
|
|
|
2421
2442
|
"flexShrink": 1,
|
|
2422
2443
|
"lineHeight": 22,
|
|
2423
2444
|
"textAlign": "center",
|
|
2445
|
+
"textAlignVertical": "center",
|
|
2424
2446
|
},
|
|
2425
2447
|
undefined,
|
|
2426
2448
|
],
|
|
@@ -2525,6 +2547,7 @@ exports[`Button renders correctly 19`] = `
|
|
|
2525
2547
|
"flexShrink": 1,
|
|
2526
2548
|
"lineHeight": 22,
|
|
2527
2549
|
"textAlign": "center",
|
|
2550
|
+
"textAlignVertical": "center",
|
|
2528
2551
|
},
|
|
2529
2552
|
undefined,
|
|
2530
2553
|
],
|
|
@@ -2805,6 +2828,7 @@ exports[`Button renders correctly 21`] = `
|
|
|
2805
2828
|
"flexShrink": 1,
|
|
2806
2829
|
"lineHeight": 22,
|
|
2807
2830
|
"textAlign": "center",
|
|
2831
|
+
"textAlignVertical": "center",
|
|
2808
2832
|
},
|
|
2809
2833
|
undefined,
|
|
2810
2834
|
],
|
|
@@ -2909,6 +2933,7 @@ exports[`Button renders correctly 22`] = `
|
|
|
2909
2933
|
"flexShrink": 1,
|
|
2910
2934
|
"lineHeight": 22,
|
|
2911
2935
|
"textAlign": "center",
|
|
2936
|
+
"textAlignVertical": "center",
|
|
2912
2937
|
},
|
|
2913
2938
|
undefined,
|
|
2914
2939
|
],
|
|
@@ -3189,6 +3214,7 @@ exports[`Button renders correctly 24`] = `
|
|
|
3189
3214
|
"flexShrink": 1,
|
|
3190
3215
|
"lineHeight": 22,
|
|
3191
3216
|
"textAlign": "center",
|
|
3217
|
+
"textAlignVertical": "center",
|
|
3192
3218
|
},
|
|
3193
3219
|
undefined,
|
|
3194
3220
|
],
|
|
@@ -3293,6 +3319,7 @@ exports[`Button renders correctly 25`] = `
|
|
|
3293
3319
|
"flexShrink": 1,
|
|
3294
3320
|
"lineHeight": 22,
|
|
3295
3321
|
"textAlign": "center",
|
|
3322
|
+
"textAlignVertical": "center",
|
|
3296
3323
|
},
|
|
3297
3324
|
undefined,
|
|
3298
3325
|
],
|
|
@@ -3573,6 +3600,7 @@ exports[`Button renders correctly 27`] = `
|
|
|
3573
3600
|
"flexShrink": 1,
|
|
3574
3601
|
"lineHeight": 22,
|
|
3575
3602
|
"textAlign": "center",
|
|
3603
|
+
"textAlignVertical": "center",
|
|
3576
3604
|
},
|
|
3577
3605
|
undefined,
|
|
3578
3606
|
],
|
|
@@ -3853,6 +3881,7 @@ exports[`Button renders correctly 29`] = `
|
|
|
3853
3881
|
"flexShrink": 1,
|
|
3854
3882
|
"lineHeight": 22,
|
|
3855
3883
|
"textAlign": "center",
|
|
3884
|
+
"textAlignVertical": "center",
|
|
3856
3885
|
},
|
|
3857
3886
|
undefined,
|
|
3858
3887
|
],
|
|
@@ -3956,9 +3985,16 @@ exports[`Button renders correctly 30`] = `
|
|
|
3956
3985
|
{
|
|
3957
3986
|
"color": "#ffffff",
|
|
3958
3987
|
"flexShrink": 1,
|
|
3988
|
+
"lineHeight": undefined,
|
|
3959
3989
|
"textAlign": "center",
|
|
3990
|
+
"textAlignVertical": "center",
|
|
3960
3991
|
},
|
|
3961
|
-
|
|
3992
|
+
[
|
|
3993
|
+
{
|
|
3994
|
+
"lineHeight": undefined,
|
|
3995
|
+
},
|
|
3996
|
+
undefined,
|
|
3997
|
+
],
|
|
3962
3998
|
],
|
|
3963
3999
|
]
|
|
3964
4000
|
}
|
|
@@ -4236,9 +4272,16 @@ exports[`Button renders correctly 32`] = `
|
|
|
4236
4272
|
{
|
|
4237
4273
|
"color": "#ffffff",
|
|
4238
4274
|
"flexShrink": 1,
|
|
4275
|
+
"lineHeight": undefined,
|
|
4239
4276
|
"textAlign": "center",
|
|
4277
|
+
"textAlignVertical": "center",
|
|
4240
4278
|
},
|
|
4241
|
-
|
|
4279
|
+
[
|
|
4280
|
+
{
|
|
4281
|
+
"lineHeight": undefined,
|
|
4282
|
+
},
|
|
4283
|
+
undefined,
|
|
4284
|
+
],
|
|
4242
4285
|
],
|
|
4243
4286
|
]
|
|
4244
4287
|
}
|
|
@@ -4341,9 +4384,16 @@ exports[`Button renders correctly 33`] = `
|
|
|
4341
4384
|
{
|
|
4342
4385
|
"color": "#401960",
|
|
4343
4386
|
"flexShrink": 1,
|
|
4387
|
+
"lineHeight": undefined,
|
|
4344
4388
|
"textAlign": "center",
|
|
4389
|
+
"textAlignVertical": "center",
|
|
4345
4390
|
},
|
|
4346
|
-
|
|
4391
|
+
[
|
|
4392
|
+
{
|
|
4393
|
+
"lineHeight": undefined,
|
|
4394
|
+
},
|
|
4395
|
+
undefined,
|
|
4396
|
+
],
|
|
4347
4397
|
],
|
|
4348
4398
|
]
|
|
4349
4399
|
}
|
|
@@ -4625,9 +4675,16 @@ exports[`Button renders correctly 35`] = `
|
|
|
4625
4675
|
{
|
|
4626
4676
|
"color": "#bfc1c5",
|
|
4627
4677
|
"flexShrink": 1,
|
|
4678
|
+
"lineHeight": undefined,
|
|
4628
4679
|
"textAlign": "center",
|
|
4680
|
+
"textAlignVertical": "center",
|
|
4629
4681
|
},
|
|
4630
|
-
|
|
4682
|
+
[
|
|
4683
|
+
{
|
|
4684
|
+
"lineHeight": undefined,
|
|
4685
|
+
},
|
|
4686
|
+
undefined,
|
|
4687
|
+
],
|
|
4631
4688
|
],
|
|
4632
4689
|
]
|
|
4633
4690
|
}
|
|
@@ -2373,7 +2373,9 @@ exports[`StyledButtonText has filled-danger style 1`] = `
|
|
|
2373
2373
|
{
|
|
2374
2374
|
"color": "#ffffff",
|
|
2375
2375
|
"flexShrink": 1,
|
|
2376
|
+
"lineHeight": undefined,
|
|
2376
2377
|
"textAlign": "center",
|
|
2378
|
+
"textAlignVertical": "center",
|
|
2377
2379
|
},
|
|
2378
2380
|
undefined,
|
|
2379
2381
|
],
|
|
@@ -2432,7 +2434,9 @@ exports[`StyledButtonText has filled-primary style 1`] = `
|
|
|
2432
2434
|
{
|
|
2433
2435
|
"color": "#ffffff",
|
|
2434
2436
|
"flexShrink": 1,
|
|
2437
|
+
"lineHeight": undefined,
|
|
2435
2438
|
"textAlign": "center",
|
|
2439
|
+
"textAlignVertical": "center",
|
|
2436
2440
|
},
|
|
2437
2441
|
undefined,
|
|
2438
2442
|
],
|
|
@@ -2491,7 +2495,9 @@ exports[`StyledButtonText has filled-secondary style 1`] = `
|
|
|
2491
2495
|
{
|
|
2492
2496
|
"color": "#ffffff",
|
|
2493
2497
|
"flexShrink": 1,
|
|
2498
|
+
"lineHeight": undefined,
|
|
2494
2499
|
"textAlign": "center",
|
|
2500
|
+
"textAlignVertical": "center",
|
|
2495
2501
|
},
|
|
2496
2502
|
undefined,
|
|
2497
2503
|
],
|
|
@@ -2550,7 +2556,9 @@ exports[`StyledButtonText has filled-white style 1`] = `
|
|
|
2550
2556
|
{
|
|
2551
2557
|
"color": "#401960",
|
|
2552
2558
|
"flexShrink": 1,
|
|
2559
|
+
"lineHeight": undefined,
|
|
2553
2560
|
"textAlign": "center",
|
|
2561
|
+
"textAlignVertical": "center",
|
|
2554
2562
|
},
|
|
2555
2563
|
undefined,
|
|
2556
2564
|
],
|
|
@@ -2609,7 +2617,9 @@ exports[`StyledButtonText has outlined-danger style 1`] = `
|
|
|
2609
2617
|
{
|
|
2610
2618
|
"color": "#cb300a",
|
|
2611
2619
|
"flexShrink": 1,
|
|
2620
|
+
"lineHeight": undefined,
|
|
2612
2621
|
"textAlign": "center",
|
|
2622
|
+
"textAlignVertical": "center",
|
|
2613
2623
|
},
|
|
2614
2624
|
undefined,
|
|
2615
2625
|
],
|
|
@@ -2668,7 +2678,9 @@ exports[`StyledButtonText has outlined-primary style 1`] = `
|
|
|
2668
2678
|
{
|
|
2669
2679
|
"color": "#401960",
|
|
2670
2680
|
"flexShrink": 1,
|
|
2681
|
+
"lineHeight": undefined,
|
|
2671
2682
|
"textAlign": "center",
|
|
2683
|
+
"textAlignVertical": "center",
|
|
2672
2684
|
},
|
|
2673
2685
|
undefined,
|
|
2674
2686
|
],
|
|
@@ -2727,7 +2739,9 @@ exports[`StyledButtonText has outlined-secondary style 1`] = `
|
|
|
2727
2739
|
{
|
|
2728
2740
|
"color": "#4d6265",
|
|
2729
2741
|
"flexShrink": 1,
|
|
2742
|
+
"lineHeight": undefined,
|
|
2730
2743
|
"textAlign": "center",
|
|
2744
|
+
"textAlignVertical": "center",
|
|
2731
2745
|
},
|
|
2732
2746
|
undefined,
|
|
2733
2747
|
],
|
|
@@ -2786,7 +2800,9 @@ exports[`StyledButtonText has outlined-white style 1`] = `
|
|
|
2786
2800
|
{
|
|
2787
2801
|
"color": "#ffffff",
|
|
2788
2802
|
"flexShrink": 1,
|
|
2803
|
+
"lineHeight": undefined,
|
|
2789
2804
|
"textAlign": "center",
|
|
2805
|
+
"textAlignVertical": "center",
|
|
2790
2806
|
},
|
|
2791
2807
|
undefined,
|
|
2792
2808
|
],
|
|
@@ -2845,7 +2861,9 @@ exports[`StyledButtonText has text-danger style 1`] = `
|
|
|
2845
2861
|
{
|
|
2846
2862
|
"color": "#cb300a",
|
|
2847
2863
|
"flexShrink": 1,
|
|
2864
|
+
"lineHeight": undefined,
|
|
2848
2865
|
"textAlign": "center",
|
|
2866
|
+
"textAlignVertical": "center",
|
|
2849
2867
|
},
|
|
2850
2868
|
undefined,
|
|
2851
2869
|
],
|
|
@@ -2904,7 +2922,9 @@ exports[`StyledButtonText has text-primary style 1`] = `
|
|
|
2904
2922
|
{
|
|
2905
2923
|
"color": "#401960",
|
|
2906
2924
|
"flexShrink": 1,
|
|
2925
|
+
"lineHeight": undefined,
|
|
2907
2926
|
"textAlign": "center",
|
|
2927
|
+
"textAlignVertical": "center",
|
|
2908
2928
|
},
|
|
2909
2929
|
undefined,
|
|
2910
2930
|
],
|
|
@@ -2963,7 +2983,9 @@ exports[`StyledButtonText has text-secondary style 1`] = `
|
|
|
2963
2983
|
{
|
|
2964
2984
|
"color": "#4d6265",
|
|
2965
2985
|
"flexShrink": 1,
|
|
2986
|
+
"lineHeight": undefined,
|
|
2966
2987
|
"textAlign": "center",
|
|
2988
|
+
"textAlignVertical": "center",
|
|
2967
2989
|
},
|
|
2968
2990
|
undefined,
|
|
2969
2991
|
],
|
|
@@ -3022,7 +3044,9 @@ exports[`StyledButtonText has text-white style 1`] = `
|
|
|
3022
3044
|
{
|
|
3023
3045
|
"color": "#ffffff",
|
|
3024
3046
|
"flexShrink": 1,
|
|
3047
|
+
"lineHeight": undefined,
|
|
3025
3048
|
"textAlign": "center",
|
|
3049
|
+
"textAlignVertical": "center",
|
|
3026
3050
|
},
|
|
3027
3051
|
undefined,
|
|
3028
3052
|
],
|
|
@@ -3082,7 +3106,9 @@ exports[`StyledButtonText renders disabled correctly 1`] = `
|
|
|
3082
3106
|
{
|
|
3083
3107
|
"color": "#ffffff",
|
|
3084
3108
|
"flexShrink": 1,
|
|
3109
|
+
"lineHeight": undefined,
|
|
3085
3110
|
"textAlign": "center",
|
|
3111
|
+
"textAlignVertical": "center",
|
|
3086
3112
|
},
|
|
3087
3113
|
undefined,
|
|
3088
3114
|
],
|
|
@@ -730,7 +730,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
730
730
|
{
|
|
731
731
|
"color": "#ffffff",
|
|
732
732
|
"flexShrink": 1,
|
|
733
|
+
"lineHeight": undefined,
|
|
733
734
|
"textAlign": "center",
|
|
735
|
+
"textAlignVertical": "center",
|
|
734
736
|
},
|
|
735
737
|
undefined,
|
|
736
738
|
],
|
|
@@ -1725,7 +1727,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1725
1727
|
{
|
|
1726
1728
|
"color": "#ffffff",
|
|
1727
1729
|
"flexShrink": 1,
|
|
1730
|
+
"lineHeight": undefined,
|
|
1728
1731
|
"textAlign": "center",
|
|
1732
|
+
"textAlignVertical": "center",
|
|
1729
1733
|
},
|
|
1730
1734
|
undefined,
|
|
1731
1735
|
],
|
|
@@ -2001,7 +2005,9 @@ exports[`Carousel should render correctly when image is undefined 1`] = `
|
|
|
2001
2005
|
{
|
|
2002
2006
|
"color": "#ffffff",
|
|
2003
2007
|
"flexShrink": 1,
|
|
2008
|
+
"lineHeight": undefined,
|
|
2004
2009
|
"textAlign": "center",
|
|
2010
|
+
"textAlignVertical": "center",
|
|
2005
2011
|
},
|
|
2006
2012
|
undefined,
|
|
2007
2013
|
],
|
|
@@ -634,6 +634,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
634
634
|
"flexShrink": 1,
|
|
635
635
|
"lineHeight": 22,
|
|
636
636
|
"textAlign": "center",
|
|
637
|
+
"textAlignVertical": "center",
|
|
637
638
|
},
|
|
638
639
|
undefined,
|
|
639
640
|
],
|
|
@@ -1316,6 +1317,7 @@ exports[`DatePickerIOS renders correctly with custom locale 1`] = `
|
|
|
1316
1317
|
"flexShrink": 1,
|
|
1317
1318
|
"lineHeight": 22,
|
|
1318
1319
|
"textAlign": "center",
|
|
1320
|
+
"textAlignVertical": "center",
|
|
1319
1321
|
},
|
|
1320
1322
|
undefined,
|
|
1321
1323
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bolt":59011,"bookmark-added":59012,"bookmark-checked":59013,"bookmark":59014,"box-check":59015,"box":59016,"bpay":59017,"buildings":59018,"cake":59019,"calendar-clock":59020,"calendar":59021,"candy-box-menu":59022,"caret-down-small":59023,"caret-down":59024,"caret-left-small":59025,"caret-left":59026,"caret-right-small":59027,"caret-right":59028,"caret-up-small":59029,"caret-up":59030,"check-radio":59031,"circle-add":59032,"circle-cancel":59033,"circle-check":59034,"circle-down":59035,"circle-info":59036,"circle-left":59037,"circle-ok":59038,"circle-pencil":59039,"circle-question":59040,"circle-remove":59041,"circle-right":59042,"circle-up":59043,"circle-warning":59044,"clock-3":59045,"clock":59046,"cloud-download":59047,"cloud-upload":59048,"cog":59049,"coin":59050,"contacts":59051,"credit-card":59052,"diamond":59053,"direction-arrows":59054,"directory":59055,"document":59056,"dollar-coin-shine":59057,"dot":59058,"double-buildings":59059,"edit-template":59060,"envelope":59061,"exclude":59062,"expand-content":59063,"expense":59064,"explore_nearby":59065,"eye-circle":59066,"eye-invisible":59067,"eye":59068,"face-meh":59069,"face-sad":59070,"face-smiley":59071,"feed":59072,"feedbacks":59073,"file-certified":59074,"file-clone":59075,"file-copy":59076,"file-csv":59077,"file-dispose":59078,"file-doc":59079,"file-excel":59080,"file-export":59081,"file-lock":59082,"file-pdf":59083,"file-powerpoint":59084,"file-search":59085,"file-secured":59086,"file-sheets":59087,"file-slide":59088,"file-verified":59089,"file-word":59090,"file":59091,"filter":59092,"folder-user":59093,"folder":59094,"format-bold":59095,"format-heading1":59096,"format-heading2":59097,"format-italic":59098,"format-list-bulleted":59099,"format-list-numbered":59100,"format-underlined":59101,"funnel-filter":59102,"global-dollar":59103,"globe":59104,"graduation-cap":59105,"graph":59106,"happy-sun":59107,"health-bag":59108,"heart":59109,"hero-points":59110,"home":59111,"image":59112,"import":59113,"incident-siren":59114,"instapay-daily":59115,"instapay-now":59116,"instapay":59117,"list":59118,"loading-2":59119,"loading":59120,"location-on":59121,"location":59122,"lock":59123,"looks-one":59124,"looks-two":59125,"media-content":59126,"menu":59127,"money-notes":59128,"moneybag":59129,"moon":59130,"multiple-stars":59131,"multiple-users":59132,"near-me":59133,"node":59134,"open-folder":59135,"paperclip-vertical":59136,"paperclip":59137,"payment-summary":59138,"pencil":59139,"phone":59140,"piggy-bank":59141,"plane-up":59142,"plane":59143,"play-arrow":59144,"play-circle":59145,"print":59146,"raising-hands":59147,"reply-arrow":59148,"reply":59149,"reschedule":59150,"rostering":59151,"salary-sacrifice":59152,"save":59153,"schedule-send":59154,"schedule":59155,"search-person":59156,"search":59157,"send":59158,"speaker-active":59159,"speaker":59160,"star-award":59161,"star-badge":59162,"star-circle":59163,"star-medal":59164,"star":59165,"steps-circle":59166,"stopwatch":59167,"suitcase":59168,"surfing":59169,"survey":59170,"swag-pillar-benefit":59171,"swag-pillar-career":59172,"swag-pillar-money":59173,"swag-pillar-work":59174,"swag":59175,"swipe-right":59176,"switch":59177,"tag":59178,"target":59179,"teams":59180,"thumb-down":59181,"timesheet":59182,"touch-id":59183,"trash-bin":59184,"unlock":59185,"user":59186,"video-1":59187,"video-2":59188,"wallet":59189,"warning":59190,"accommodation-outlined":59191,"activate-outlined":59192,"add-credit-card-outlined":59193,"add-person-outlined":59194,"add-section-outlined":59195,"add-time-outlined":59196,"add":59197,"adjustment-outlined":59198,"afternoon-outlined":59199,"ai-outlined":59200,"alignment-2-outlined":59201,"alignment-outlined":59202,"all-caps":59203,"application-outlined":59204,"arrow-down":59205,"arrow-downwards":59206,"arrow-left":59207,"arrow-leftwards":59208,"arrow-right":59209,"arrow-rightwards":59210,"arrow-up":59211,"arrow-upwards":59212,"article-outlined":59213,"at-sign":59214,"auto-graph-outlined":59215,"automotive-outlined":59216,"bakery-outlined":59217,"bar-outlined":59218,"beauty-outlined":59219,"beer-outlined":59220,"bell-active-outlined":59221,"bell-outlined":59222,"bell-slash-outlined":59223,"bill-management-outlined":59224,"billing-outlined":59225,"body-outlined":59226,"bold":59227,"bolt-outlined":59228,"book-outlined":59229,"bookmark-added-outlined":59230,"bookmark-checked-outlined":59231,"bookmark-outlined":59232,"box-1-outlined":59233,"box-check-outlined":59234,"box-outlined":59235,"bullet-points":59236,"cake-outlined":59237,"calendar-dates-outlined":59238,"calendar-star-outlined":59239,"call-outlined":59240,"call-split-outlined":59241,"camera-outlined":59242,"cancel":59243,"car-forward-outlined":59244,"cashback-outlined":59245,"charging-station-outlined":59246,"chat-bubble-outlined":59247,"chat-unread-outlined":59248,"checkmark":59249,"circle-add-outlined":59250,"circle-cancel-outlined":59251,"circle-down-outlined":59252,"circle-info-outlined":59253,"circle-left-outlined":59254,"circle-ok-outlined":59255,"circle-question-outlined":59256,"circle-remove-outlined":59257,"circle-right-outlined":59258,"circle-up-outlined":59259,"circle-warning-outlined":59260,"clock-2-outlined":59261,"clock-in-outlined":59262,"clock-out-outlined":59263,"clock-outlined":59264,"cog-outlined":59265,"coin-outlined":59266,"coin-super-outlined":59267,"comment-outlined":59268,"contacts-outlined":59269,"contacts-user-outlined":59270,"credit-card-outlined":59271,"cultural-site-outlined":59272,"cup-outlined":59273,"dentistry-outlined":59274,"direction-arrows-outlined":59275,"directory-outlined":59276,"document-outlined":59277,"dollar-box-outlined":59278,"dollar-card-outlined":59279,"dollar-coin-shine-outlined":59280,"dollar-credit-card-outlined":59281,"dollar-sign":59282,"double-buildings-outlined":59283,"double-left-arrows":59284,"double-right-arrows":59285,"download-box-outlined":59286,"download-outlined":59287,"edit-template-outlined":59288,"electronics-outlined":59289,"email-outlined":59290,"end-break-outlined":59291,"enter-arrow":59292,"entertainment-outlined":59293,"envelope-outlined":59294,"evening-outlined":59295,"expense-approval-outlined":59296,"expense-outlined":59297,"explore-outlined":59298,"extension-outlined":59299,"external-link":59300,"eye-invisible-outlined":59301,"eye-outlined":59302,"face-id":59303,"face-meh-outlined":59304,"face-open-smiley-outlined":59305,"face-sad-outlined":59306,"face-smiley-outlined":59307,"fastfood-outlined":59308,"feed-outlined":59309,"file-certified-outlined":59310,"file-clone-outlined":59311,"file-copy-outlined":59312,"file-dispose-outlined":59313,"file-dollar-certified-outlined":59314,"file-dollar-outlined":59315,"file-download-outlined":59316,"file-export-outlined":59317,"file-lock-outlined":59318,"file-outlined":59319,"file-search-outlined":59320,"file-secured-outlined":59321,"file-statutory-outlined":59322,"file-verified-outlined":59323,"filter-outlined":59324,"fitness-outlined":59325,"folder-outlined":59326,"folder-upload-outlined":59327,"folder-user-outlined":59328,"form-outlined":59329,"funnel-filter-outline":59330,"goal-outlined":59331,"graph-outlined":59332,"grocery-outlined":59333,"hand-holding-user-outlined":59334,"handshake-outlined":59335,"happy-sun-outlined":59336,"health-bag-outlined":59337,"heart-outlined":59338,"home-active-outlined":59339,"home-outlined":59340,"id-card-outlined":59341,"image-outlined":59342,"import-outlined":59343,"instapay-outlined":59344,"italic":59345,"job-search-outlined":59346,"leave-approval-outlined":59347,"link-1":59348,"link-2":59349,"list-outlined":59350,"live-help-outlined":59351,"local_mall_outlined":59352,"location-on-outlined":59353,"location-outlined":59354,"lock-outlined":59355,"locked-file-outlined":59356,"log-out":59357,"mail-outlined":59358,"map-outlined":59359,"media-content-outlined":59360,"menu-close":59361,"menu-expand":59362,"menu-fold-outlined":59363,"menu-unfold-outlined":59364,"moneybag-outlined":59365,"moon-outlined":59366,"more-horizontal":59367,"more-vertical":59368,"morning-outlined":59369,"multiple-folders-outlined":59370,"multiple-users-outlined":59371,"near-me-outlined":59372,"node-outlined":59373,"number-points":59374,"number":59375,"overview-outlined":59376,"park-outlined":59377,"payment-summary-outlined":59378,"payslip-outlined":59379,"pencil-outlined":59380,"percentage":59381,"phone-outlined":59382,"piggy-bank-outlined":59383,"plane-outlined":59384,"play-circle-outlined":59385,"print-outlined":59386,"propane-tank-outlined":59387,"qr-code-outlined":59388,"qualification-outlined":59389,"re-assign":59390,"redeem":59391,"refresh":59392,"remove":59393,"reply-outlined":59394,"restart":59395,"restaurant-outlined":59396,"resume-outlined":59397,"return-arrow":59398,"rostering-outlined":59399,"safety-outlined":59400,"save-outlined":59401,"schedule-outlined":59402,"search-outlined":59403,"search-secured-outlined":59404,"send-outlined":59405,"share-1":59406,"share-2":59407,"share-outlined-2":59408,"share-outlined":59409,"shop-outlined":59410,"shopping_basket_outlined":59411,"show-chart-outlined":59412,"single-down-arrow":59413,"single-left-arrow":59414,"single-right-arrow":59415,"single-up-arrow":59416,"smart-match-outlined":59417,"sparkle-outlined":59418,"speaker-active-outlined":59419,"speaker-outlined":59420,"star-circle-outlined":59421,"star-outlined":59422,"start-break-outlined":59423,"stash-outlined":59424,"stopwatch-outlined":59425,"strikethrough":59426,"styler-outlined":59427,"suitcase-clock-outlined":59428,"suitcase-outlined":59429,"survey-outlined":59430,"switch-outlined":59431,"sync":59432,"tag-outlined":59433,"target-outlined":59434,"tennis-outlined":59435,"thumb-down-outlined":59436,"ticket-outlined":59437,"timesheet-outlined":59438,"timesheets-outlined":59439,"today-outlined":59440,"transfer":59441,"transportation-outlined":59442,"trash-bin-outlined":59443,"umbrela-outlined":59444,"unavailability-outlined":59445,"unavailable":59446,"underline":59447,"union-outlined":59448,"unlock-outlined":59449,"upload-outlined":59450,"user-circle-outlined":59451,"user-gear-outlined":59452,"user-outlined":59453,"user-rectangle-outlined":59454,"video-1-outlined":59455,"video-2-outlined":59456,"volunteer-outlined":59457,"wallet-outlined":59458,"wellness-outlined":59459}
|
|
1
|
+
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bolt":59011,"bookmark-added":59012,"bookmark-checked":59013,"bookmark":59014,"box-check":59015,"box":59016,"bpay":59017,"buildings":59018,"cake":59019,"calendar-clock":59020,"calendar":59021,"candy-box-menu":59022,"caret-down-small":59023,"caret-down":59024,"caret-left-small":59025,"caret-left":59026,"caret-right-small":59027,"caret-right":59028,"caret-up-small":59029,"caret-up":59030,"check-radio":59031,"circle-add":59032,"circle-cancel":59033,"circle-check":59034,"circle-down":59035,"circle-info":59036,"circle-left":59037,"circle-ok":59038,"circle-pencil":59039,"circle-question":59040,"circle-remove":59041,"circle-right":59042,"circle-up":59043,"circle-warning":59044,"clock-3":59045,"clock":59046,"cloud-download":59047,"cloud-upload":59048,"cog":59049,"coin":59050,"contacts":59051,"credit-card":59052,"diamond":59053,"direction-arrows":59054,"directory":59055,"document":59056,"dollar-coin-shine":59057,"dot":59058,"double-buildings":59059,"edit-template":59060,"envelope":59061,"exclude":59062,"expand-content":59063,"expense":59064,"explore_nearby":59065,"eye-circle":59066,"eye-invisible":59067,"eye":59068,"face-meh":59069,"face-sad":59070,"face-smiley":59071,"feed":59072,"feedbacks":59073,"file-certified":59074,"file-clone":59075,"file-copy":59076,"file-csv":59077,"file-dispose":59078,"file-doc":59079,"file-excel":59080,"file-export":59081,"file-lock":59082,"file-pdf":59083,"file-powerpoint":59084,"file-search":59085,"file-secured":59086,"file-sheets":59087,"file-slide":59088,"file-verified":59089,"file-word":59090,"file":59091,"filter":59092,"folder-user":59093,"folder":59094,"format-bold":59095,"format-heading1":59096,"format-heading2":59097,"format-italic":59098,"format-list-bulleted":59099,"format-list-numbered":59100,"format-underlined":59101,"funnel-filter":59102,"global-dollar":59103,"globe":59104,"graduation-cap":59105,"graph":59106,"happy-sun":59107,"health-bag":59108,"heart":59109,"hero-points":59110,"home":59111,"image":59112,"import":59113,"incident-siren":59114,"instapay-daily":59115,"instapay-now":59116,"instapay":59117,"list":59118,"loading-2":59119,"loading":59120,"location-on":59121,"location":59122,"lock":59123,"looks-one":59124,"looks-two":59125,"media-content":59126,"menu":59127,"money-notes":59128,"moneybag":59129,"moon":59130,"multiple-stars":59131,"multiple-users":59132,"near-me":59133,"node":59134,"open-folder":59135,"paperclip-vertical":59136,"paperclip":59137,"payment-summary":59138,"pencil":59139,"phone":59140,"piggy-bank":59141,"plane-up":59142,"plane":59143,"play-arrow":59144,"play-circle":59145,"print":59146,"raising-hands":59147,"reply-arrow":59148,"reply":59149,"reschedule":59150,"rostering":59151,"salary-sacrifice":59152,"save":59153,"schedule-send":59154,"schedule":59155,"search-person":59156,"search":59157,"send":59158,"speaker-active":59159,"speaker":59160,"star-award":59161,"star-badge":59162,"star-circle":59163,"star-medal":59164,"star":59165,"steps-circle":59166,"stopwatch":59167,"suitcase":59168,"surfing":59169,"survey":59170,"swag-pillar-benefit":59171,"swag-pillar-career":59172,"swag-pillar-money":59173,"swag-pillar-work":59174,"swag":59175,"swipe-right":59176,"switch":59177,"tag":59178,"target":59179,"teams":59180,"thumb-down":59181,"timesheet":59182,"touch-id":59183,"trash-bin":59184,"unlock":59185,"user":59186,"video-1":59187,"video-2":59188,"wallet":59189,"warning":59190,"accommodation-outlined":59191,"activate-outlined":59192,"add-credit-card-outlined":59193,"add-person-outlined":59194,"add-section-outlined":59195,"add-time-outlined":59196,"add":59197,"adjustment-outlined":59198,"afternoon-outlined":59199,"ai-outlined":59200,"alignment-2-outlined":59201,"alignment-outlined":59202,"all-caps":59203,"application-outlined":59204,"arrow-down":59205,"arrow-downwards":59206,"arrow-left":59207,"arrow-leftwards":59208,"arrow-right":59209,"arrow-rightwards":59210,"arrow-up":59211,"arrow-upwards":59212,"article-outlined":59213,"at-sign":59214,"auto-graph-outlined":59215,"automotive-outlined":59216,"bakery-outlined":59217,"bar-outlined":59218,"beauty-outlined":59219,"beer-outlined":59220,"bell-active-outlined":59221,"bell-outlined":59222,"bell-slash-outlined":59223,"bill-management-outlined":59224,"billing-outlined":59225,"body-outlined":59226,"bold":59227,"bolt-outlined":59228,"book-outlined":59229,"bookmark-added-outlined":59230,"bookmark-checked-outlined":59231,"bookmark-outlined":59232,"box-1-outlined":59233,"box-check-outlined":59234,"box-outlined":59235,"bullet-points":59236,"cake-outlined":59237,"calculator-outlined":59238,"calendar-dates-outlined":59239,"calendar-star-outlined":59240,"call-outlined":59241,"call-split-outlined":59242,"camera-outlined":59243,"cancel":59244,"car-forward-outlined":59245,"cashback-outlined":59246,"charging-station-outlined":59247,"chat-bubble-outlined":59248,"chat-unread-outlined":59249,"checkmark":59250,"circle-add-outlined":59251,"circle-cancel-outlined":59252,"circle-down-outlined":59253,"circle-info-outlined":59254,"circle-left-outlined":59255,"circle-ok-outlined":59256,"circle-question-outlined":59257,"circle-remove-outlined":59258,"circle-right-outlined":59259,"circle-up-outlined":59260,"circle-warning-outlined":59261,"clock-2-outlined":59262,"clock-in-outlined":59263,"clock-out-outlined":59264,"clock-outlined":59265,"cog-outlined":59266,"coin-outlined":59267,"coin-super-outlined":59268,"comment-outlined":59269,"contacts-outlined":59270,"contacts-user-outlined":59271,"credit-card-outlined":59272,"cultural-site-outlined":59273,"cup-outlined":59274,"dentistry-outlined":59275,"direction-arrows-outlined":59276,"directory-outlined":59277,"document-outlined":59278,"dollar-box-outlined":59279,"dollar-card-outlined":59280,"dollar-coin-shine-outlined":59281,"dollar-credit-card-outlined":59282,"dollar-sign":59283,"double-buildings-outlined":59284,"double-left-arrows":59285,"double-right-arrows":59286,"download-box-outlined":59287,"download-outlined":59288,"edit-template-outlined":59289,"electronics-outlined":59290,"email-outlined":59291,"end-break-outlined":59292,"enter-arrow":59293,"entertainment-outlined":59294,"envelope-outlined":59295,"evening-outlined":59296,"expense-approval-outlined":59297,"expense-outlined":59298,"explore-outlined":59299,"extension-outlined":59300,"external-link":59301,"eye-invisible-outlined":59302,"eye-outlined":59303,"face-id":59304,"face-meh-outlined":59305,"face-open-smiley-outlined":59306,"face-sad-outlined":59307,"face-smiley-outlined":59308,"fastfood-outlined":59309,"feed-outlined":59310,"file-certified-outlined":59311,"file-clone-outlined":59312,"file-copy-outlined":59313,"file-dispose-outlined":59314,"file-dollar-certified-outlined":59315,"file-dollar-outlined":59316,"file-download-outlined":59317,"file-export-outlined":59318,"file-lock-outlined":59319,"file-outlined":59320,"file-search-outlined":59321,"file-secured-outlined":59322,"file-statutory-outlined":59323,"file-verified-outlined":59324,"filter-outlined":59325,"fitness-outlined":59326,"folder-outlined":59327,"folder-upload-outlined":59328,"folder-user-outlined":59329,"form-outlined":59330,"funnel-filter-outline":59331,"goal-outlined":59332,"graph-outlined":59333,"grocery-outlined":59334,"hand-holding-user-outlined":59335,"handshake-outlined":59336,"happy-sun-outlined":59337,"health-bag-outlined":59338,"heart-outlined":59339,"home-active-outlined":59340,"home-outlined":59341,"id-card-outlined":59342,"image-outlined":59343,"import-outlined":59344,"instapay-outlined":59345,"italic":59346,"job-search-outlined":59347,"leave-approval-outlined":59348,"link-1":59349,"link-2":59350,"list-outlined":59351,"live-help-outlined":59352,"local_mall_outlined":59353,"location-on-outlined":59354,"location-outlined":59355,"lock-outlined":59356,"locked-file-outlined":59357,"log-out":59358,"mail-outlined":59359,"map-outlined":59360,"media-content-outlined":59361,"menu-close":59362,"menu-expand":59363,"menu-fold-outlined":59364,"menu-unfold-outlined":59365,"moneybag-outlined":59366,"moon-outlined":59367,"more-horizontal":59368,"more-vertical":59369,"morning-outlined":59370,"multiple-folders-outlined":59371,"multiple-users-outlined":59372,"near-me-outlined":59373,"node-outlined":59374,"number-points":59375,"number":59376,"overview-outlined":59377,"park-outlined":59378,"payment-summary-outlined":59379,"payslip-outlined":59380,"pencil-outlined":59381,"percentage":59382,"phone-outlined":59383,"piggy-bank-outlined":59384,"plane-outlined":59385,"play-circle-outlined":59386,"print-outlined":59387,"propane-tank-outlined":59388,"qr-code-outlined":59389,"qualification-outlined":59390,"re-assign":59391,"redeem":59392,"refresh":59393,"remove":59394,"reply-outlined":59395,"restart":59396,"restaurant-outlined":59397,"resume-outlined":59398,"return-arrow":59399,"rostering-outlined":59400,"safety-outlined":59401,"save-outlined":59402,"schedule-outlined":59403,"search-outlined":59404,"search-secured-outlined":59405,"send-outlined":59406,"share-1":59407,"share-2":59408,"share-outlined-2":59409,"share-outlined":59410,"shop-outlined":59411,"shopping_basket_outlined":59412,"show-chart-outlined":59413,"single-down-arrow":59414,"single-left-arrow":59415,"single-right-arrow":59416,"single-up-arrow":59417,"smart-match-outlined":59418,"sparkle-outlined":59419,"speaker-active-outlined":59420,"speaker-outlined":59421,"star-circle-outlined":59422,"star-outlined":59423,"start-break-outlined":59424,"stash-outlined":59425,"stopwatch-outlined":59426,"strikethrough":59427,"styler-outlined":59428,"suitcase-clock-outlined":59429,"suitcase-outlined":59430,"survey-outlined":59431,"switch-outlined":59432,"sync":59433,"tag-outlined":59434,"target-outlined":59435,"tennis-outlined":59436,"thumb-down-outlined":59437,"ticket-outlined":59438,"timesheet-outlined":59439,"timesheets-outlined":59440,"today-outlined":59441,"transfer":59442,"transportation-outlined":59443,"trash-bin-outlined":59444,"umbrela-outlined":59445,"unavailability-outlined":59446,"unavailable":59447,"underline":59448,"union-outlined":59449,"unlock-outlined":59450,"upload-outlined":59451,"user-circle-outlined":59452,"user-gear-outlined":59453,"user-outlined":59454,"user-rectangle-outlined":59455,"video-1-outlined":59456,"video-2-outlined":59457,"volunteer-outlined":59458,"wallet-outlined":59459,"wellness-outlined":59460}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import styled from '@emotion/native';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
|
+
import { hexToRgba } from '../../utils/helpers';
|
|
4
5
|
|
|
5
6
|
type State = 'idle' | 'selected' | 'applied';
|
|
6
7
|
|
|
@@ -60,15 +61,6 @@ export const StyledBadgeIcon = styled(Icon)(({ theme }) => ({
|
|
|
60
61
|
color: theme.__hd__.mapPin.colors.badgeIcon,
|
|
61
62
|
}));
|
|
62
63
|
|
|
63
|
-
function hexToRgba(hex: string, a: number) {
|
|
64
|
-
const arrBuff = new ArrayBuffer(4);
|
|
65
|
-
const vw = new DataView(arrBuff);
|
|
66
|
-
vw.setUint32(0, parseInt(hex, 16), false);
|
|
67
|
-
const arrByte = new Uint8Array(arrBuff);
|
|
68
|
-
const [r, g, b] = arrByte;
|
|
69
|
-
return `rgba(${r},${g},${b},${a})`;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
64
|
export const StyledFocusIcon = styled(Icon)(({ theme }) => ({
|
|
73
65
|
fontSize: theme.__hd__.mapPin.fontSizes.icon,
|
|
74
66
|
textShadowColor: hexToRgba(
|