@hero-design/rn 8.91.3 → 8.91.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 +2 -2
- package/CHANGELOG.md +27 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +433 -450
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +433 -450
- package/package.json +1 -1
- package/src/components/Alert/StyledAlert.tsx +1 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +56 -0
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -18
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +8 -10
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +116 -145
- package/src/components/Avatar/StyledAvatar.tsx +1 -1
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +4 -5
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +8 -10
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +3 -5
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +6 -4
- package/src/components/BottomSheet/StyledBottomSheet.tsx +0 -10
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +0 -16
- package/src/components/Calendar/CalendarRange.tsx +5 -1
- package/src/components/Calendar/__tests__/helper.spec.ts +20 -8
- package/src/components/Calendar/helpers.ts +6 -2
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +28 -28
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -16
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -1
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/FAB/Pair/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/FAB/StyledFAB.tsx +1 -5
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +6 -6
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/FloatingIsland/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/List/StyledListItem.tsx +1 -5
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +9 -11
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +6 -6
- package/src/components/MapPin/StyledMapPin.tsx +14 -3
- package/src/components/MapPin/__tests__/__snapshots__/index.spec.tsx.snap +58 -65
- package/src/components/MapPin/index.tsx +7 -8
- package/src/components/Search/StyledSearch.tsx +1 -4
- package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +3 -2
- package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +3 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -40
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -32
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -8
- package/src/components/Toast/StyledToast.tsx +1 -5
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +21 -21
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +72 -50
- package/src/theme/components/alert.ts +5 -1
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/components/bottomNavigation.ts +7 -5
- package/src/theme/components/bottomSheet.ts +2 -9
- package/src/theme/components/chip.ts +2 -2
- package/src/theme/components/fab.ts +5 -9
- package/src/theme/components/floatingIsland.ts +1 -1
- package/src/theme/components/list.ts +1 -7
- package/src/theme/components/mapPin.ts +6 -2
- package/src/theme/components/search.ts +1 -5
- package/src/theme/components/toast.ts +1 -5
- package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/swagLightGlobal.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +2 -0
- package/src/theme/global/colors/eBens.ts +3 -0
- package/src/theme/global/colors/global.ts +3 -0
- package/src/theme/global/colors/jobs.ts +3 -0
- package/src/theme/global/colors/swag.ts +3 -0
- package/src/theme/global/colors/swagDark.ts +3 -0
- package/src/theme/global/colors/wallet.ts +3 -0
- package/src/theme/global/colors/work.ts +3 -0
- package/stats/8.91.4/rn-stats.html +4842 -0
- package/stats/8.91.5/rn-stats.html +4842 -0
- package/types/components/Avatar/StyledAvatar.d.ts +2 -2
- package/types/components/Calendar/helpers.d.ts +5 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/MapPin/StyledMapPin.d.ts +12 -2
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/theme/components/alert.d.ts +3 -0
- package/types/theme/components/avatar.d.ts +1 -1
- package/types/theme/components/bottomNavigation.d.ts +5 -7
- package/types/theme/components/bottomSheet.d.ts +1 -10
- package/types/theme/components/chip.d.ts +1 -1
- package/types/theme/components/fab.d.ts +2 -9
- package/types/theme/components/list.d.ts +1 -10
- package/types/theme/components/mapPin.d.ts +6 -2
- package/types/theme/components/search.d.ts +1 -8
- package/types/theme/components/toast.d.ts +1 -8
- package/types/theme/global/colors/eBens.d.ts +3 -0
- package/types/theme/global/colors/jobs.d.ts +3 -0
- package/types/theme/global/colors/swag.d.ts +3 -0
- package/types/theme/global/colors/swagDark.d.ts +3 -0
- package/types/theme/global/colors/wallet.d.ts +3 -0
- package/types/theme/global/colors/work.d.ts +3 -0
|
@@ -59,20 +59,20 @@ exports[`FABPair renders correctly 1`] = `
|
|
|
59
59
|
"backgroundColor": "#000000",
|
|
60
60
|
"borderRadius": 999,
|
|
61
61
|
"bottom": undefined,
|
|
62
|
-
"elevation":
|
|
62
|
+
"elevation": 6,
|
|
63
63
|
"flexDirection": "row",
|
|
64
64
|
"height": 48,
|
|
65
65
|
"justifyContent": "center",
|
|
66
66
|
"marginRight": 8,
|
|
67
67
|
"opacity": 1,
|
|
68
68
|
"padding": 20,
|
|
69
|
-
"shadowColor": "#
|
|
69
|
+
"shadowColor": "#001f23",
|
|
70
70
|
"shadowOffset": {
|
|
71
71
|
"height": 2,
|
|
72
72
|
"width": 0,
|
|
73
73
|
},
|
|
74
74
|
"shadowOpacity": 0.12,
|
|
75
|
-
"shadowRadius":
|
|
75
|
+
"shadowRadius": 2,
|
|
76
76
|
"transform": [
|
|
77
77
|
{
|
|
78
78
|
"translateY": 0,
|
|
@@ -170,20 +170,20 @@ exports[`FABPair renders correctly 1`] = `
|
|
|
170
170
|
"backgroundColor": "#000000",
|
|
171
171
|
"borderRadius": 999,
|
|
172
172
|
"bottom": undefined,
|
|
173
|
-
"elevation":
|
|
173
|
+
"elevation": 6,
|
|
174
174
|
"flexDirection": "row",
|
|
175
175
|
"height": 48,
|
|
176
176
|
"justifyContent": "center",
|
|
177
177
|
"marginRight": undefined,
|
|
178
178
|
"opacity": 1,
|
|
179
179
|
"padding": 20,
|
|
180
|
-
"shadowColor": "#
|
|
180
|
+
"shadowColor": "#001f23",
|
|
181
181
|
"shadowOffset": {
|
|
182
182
|
"height": 2,
|
|
183
183
|
"width": 0,
|
|
184
184
|
},
|
|
185
185
|
"shadowOpacity": 0.12,
|
|
186
|
-
"shadowRadius":
|
|
186
|
+
"shadowRadius": 2,
|
|
187
187
|
"transform": [
|
|
188
188
|
{
|
|
189
189
|
"translateY": 0,
|
|
@@ -20,12 +20,8 @@ const StyledFAB = styled(AnimatedTouchableHighlight)<{
|
|
|
20
20
|
alignSelf: 'flex-start',
|
|
21
21
|
padding: theme.__hd__.fab.space.containerPadding,
|
|
22
22
|
flexDirection: 'row',
|
|
23
|
-
elevation: theme.__hd__.fab.shadows.elevation,
|
|
24
|
-
shadowColor: theme.__hd__.fab.shadows.color,
|
|
25
|
-
shadowOffset: theme.__hd__.fab.shadows.offset,
|
|
26
|
-
shadowRadius: theme.__hd__.fab.shadows.radius,
|
|
27
|
-
shadowOpacity: theme.__hd__.fab.shadows.opacity,
|
|
28
23
|
height: theme.__hd__.fab.sizes.height,
|
|
24
|
+
...theme.__hd__.fab.shadows.default,
|
|
29
25
|
}));
|
|
30
26
|
|
|
31
27
|
const StyledFABIcon = styled(Icon)<IconProps>(({ theme }) => ({
|
|
@@ -42,19 +42,19 @@ exports[`StyledFAB renders correctly 1`] = `
|
|
|
42
42
|
"alignSelf": "flex-start",
|
|
43
43
|
"backgroundColor": "#000000",
|
|
44
44
|
"borderRadius": 999,
|
|
45
|
-
"elevation":
|
|
45
|
+
"elevation": 6,
|
|
46
46
|
"flexDirection": "row",
|
|
47
47
|
"height": 64,
|
|
48
48
|
"justifyContent": "center",
|
|
49
49
|
"opacity": 1,
|
|
50
50
|
"padding": 20,
|
|
51
|
-
"shadowColor": "#
|
|
51
|
+
"shadowColor": "#001f23",
|
|
52
52
|
"shadowOffset": {
|
|
53
53
|
"height": 2,
|
|
54
54
|
"width": 0,
|
|
55
55
|
},
|
|
56
56
|
"shadowOpacity": 0.12,
|
|
57
|
-
"shadowRadius":
|
|
57
|
+
"shadowRadius": 2,
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
>
|
|
@@ -144,19 +144,19 @@ exports[`StyledFAB renders correctly 2`] = `
|
|
|
144
144
|
"alignSelf": "flex-start",
|
|
145
145
|
"backgroundColor": "#000000",
|
|
146
146
|
"borderRadius": 999,
|
|
147
|
-
"elevation":
|
|
147
|
+
"elevation": 6,
|
|
148
148
|
"flexDirection": "row",
|
|
149
149
|
"height": 64,
|
|
150
150
|
"justifyContent": "center",
|
|
151
151
|
"opacity": 1,
|
|
152
152
|
"padding": 20,
|
|
153
|
-
"shadowColor": "#
|
|
153
|
+
"shadowColor": "#001f23",
|
|
154
154
|
"shadowOffset": {
|
|
155
155
|
"height": 2,
|
|
156
156
|
"width": 0,
|
|
157
157
|
},
|
|
158
158
|
"shadowOpacity": 0.12,
|
|
159
|
-
"shadowRadius":
|
|
159
|
+
"shadowRadius": 2,
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
>
|
|
@@ -44,19 +44,19 @@ exports[`FAB when animated is false renders StyledFABIcon 1`] = `
|
|
|
44
44
|
"backgroundColor": "#001f23",
|
|
45
45
|
"borderRadius": 999,
|
|
46
46
|
"bottom": undefined,
|
|
47
|
-
"elevation":
|
|
47
|
+
"elevation": 6,
|
|
48
48
|
"flexDirection": "row",
|
|
49
49
|
"height": 64,
|
|
50
50
|
"justifyContent": "center",
|
|
51
51
|
"opacity": 1,
|
|
52
52
|
"padding": 20,
|
|
53
|
-
"shadowColor": "#
|
|
53
|
+
"shadowColor": "#001f23",
|
|
54
54
|
"shadowOffset": {
|
|
55
55
|
"height": 2,
|
|
56
56
|
"width": 0,
|
|
57
57
|
},
|
|
58
58
|
"shadowOpacity": 0.12,
|
|
59
|
-
"shadowRadius":
|
|
59
|
+
"shadowRadius": 2,
|
|
60
60
|
"transform": [
|
|
61
61
|
{
|
|
62
62
|
"translateY": 0,
|
|
@@ -183,19 +183,19 @@ exports[`FAB when animated is true renders animatedFABIcon 1`] = `
|
|
|
183
183
|
"backgroundColor": "#001f23",
|
|
184
184
|
"borderRadius": 999,
|
|
185
185
|
"bottom": undefined,
|
|
186
|
-
"elevation":
|
|
186
|
+
"elevation": 6,
|
|
187
187
|
"flexDirection": "row",
|
|
188
188
|
"height": 64,
|
|
189
189
|
"justifyContent": "center",
|
|
190
190
|
"opacity": 1,
|
|
191
191
|
"padding": 20,
|
|
192
|
-
"shadowColor": "#
|
|
192
|
+
"shadowColor": "#001f23",
|
|
193
193
|
"shadowOffset": {
|
|
194
194
|
"height": 2,
|
|
195
195
|
"width": 0,
|
|
196
196
|
},
|
|
197
197
|
"shadowOpacity": 0.12,
|
|
198
|
-
"shadowRadius":
|
|
198
|
+
"shadowRadius": 2,
|
|
199
199
|
"transform": [
|
|
200
200
|
{
|
|
201
201
|
"translateY": 0,
|
|
@@ -335,19 +335,19 @@ exports[`FAB when title has value renders correctly 1`] = `
|
|
|
335
335
|
"backgroundColor": "#001f23",
|
|
336
336
|
"borderRadius": 999,
|
|
337
337
|
"bottom": undefined,
|
|
338
|
-
"elevation":
|
|
338
|
+
"elevation": 6,
|
|
339
339
|
"flexDirection": "row",
|
|
340
340
|
"height": 64,
|
|
341
341
|
"justifyContent": "center",
|
|
342
342
|
"opacity": 1,
|
|
343
343
|
"padding": 20,
|
|
344
|
-
"shadowColor": "#
|
|
344
|
+
"shadowColor": "#001f23",
|
|
345
345
|
"shadowOffset": {
|
|
346
346
|
"height": 2,
|
|
347
347
|
"width": 0,
|
|
348
348
|
},
|
|
349
349
|
"shadowOpacity": 0.12,
|
|
350
|
-
"shadowRadius":
|
|
350
|
+
"shadowRadius": 2,
|
|
351
351
|
"transform": [
|
|
352
352
|
{
|
|
353
353
|
"translateY": 0,
|
|
@@ -43,20 +43,20 @@ exports[`FloatingIsland renders correctly 1`] = `
|
|
|
43
43
|
"alignSelf": "flex-start",
|
|
44
44
|
"backgroundColor": "#ffffff",
|
|
45
45
|
"borderRadius": 999,
|
|
46
|
-
"elevation":
|
|
46
|
+
"elevation": 6,
|
|
47
47
|
"flexDirection": "row",
|
|
48
48
|
"justifyContent": "center",
|
|
49
49
|
"left": "50%",
|
|
50
50
|
"opacity": 1,
|
|
51
51
|
"padding": 8,
|
|
52
52
|
"position": "absolute",
|
|
53
|
-
"shadowColor": "#
|
|
53
|
+
"shadowColor": "#001f23",
|
|
54
54
|
"shadowOffset": {
|
|
55
55
|
"height": 2,
|
|
56
56
|
"width": 0,
|
|
57
57
|
},
|
|
58
58
|
"shadowOpacity": 0.12,
|
|
59
|
-
"shadowRadius":
|
|
59
|
+
"shadowRadius": 2,
|
|
60
60
|
"top": 12,
|
|
61
61
|
"zIndex": 9999,
|
|
62
62
|
}
|
|
@@ -149,20 +149,20 @@ exports[`FloatingIsland renders icons as prefix and suffix correctly 1`] = `
|
|
|
149
149
|
"alignSelf": "flex-start",
|
|
150
150
|
"backgroundColor": "#ffffff",
|
|
151
151
|
"borderRadius": 999,
|
|
152
|
-
"elevation":
|
|
152
|
+
"elevation": 6,
|
|
153
153
|
"flexDirection": "row",
|
|
154
154
|
"justifyContent": "center",
|
|
155
155
|
"left": "50%",
|
|
156
156
|
"opacity": 1,
|
|
157
157
|
"padding": 8,
|
|
158
158
|
"position": "absolute",
|
|
159
|
-
"shadowColor": "#
|
|
159
|
+
"shadowColor": "#001f23",
|
|
160
160
|
"shadowOffset": {
|
|
161
161
|
"height": 2,
|
|
162
162
|
"width": 0,
|
|
163
163
|
},
|
|
164
164
|
"shadowOpacity": 0.12,
|
|
165
|
-
"shadowRadius":
|
|
165
|
+
"shadowRadius": 2,
|
|
166
166
|
"top": 12,
|
|
167
167
|
"zIndex": 9999,
|
|
168
168
|
}
|
|
@@ -323,20 +323,20 @@ exports[`FloatingIsland renders prefix correctly 1`] = `
|
|
|
323
323
|
"alignSelf": "flex-start",
|
|
324
324
|
"backgroundColor": "#ffffff",
|
|
325
325
|
"borderRadius": 999,
|
|
326
|
-
"elevation":
|
|
326
|
+
"elevation": 6,
|
|
327
327
|
"flexDirection": "row",
|
|
328
328
|
"justifyContent": "center",
|
|
329
329
|
"left": "50%",
|
|
330
330
|
"opacity": 1,
|
|
331
331
|
"padding": 8,
|
|
332
332
|
"position": "absolute",
|
|
333
|
-
"shadowColor": "#
|
|
333
|
+
"shadowColor": "#001f23",
|
|
334
334
|
"shadowOffset": {
|
|
335
335
|
"height": 2,
|
|
336
336
|
"width": 0,
|
|
337
337
|
},
|
|
338
338
|
"shadowOpacity": 0.12,
|
|
339
|
-
"shadowRadius":
|
|
339
|
+
"shadowRadius": 2,
|
|
340
340
|
"top": 12,
|
|
341
341
|
"zIndex": 9999,
|
|
342
342
|
}
|
|
@@ -463,20 +463,20 @@ exports[`FloatingIsland renders suffix correctly 1`] = `
|
|
|
463
463
|
"alignSelf": "flex-start",
|
|
464
464
|
"backgroundColor": "#ffffff",
|
|
465
465
|
"borderRadius": 999,
|
|
466
|
-
"elevation":
|
|
466
|
+
"elevation": 6,
|
|
467
467
|
"flexDirection": "row",
|
|
468
468
|
"justifyContent": "center",
|
|
469
469
|
"left": "50%",
|
|
470
470
|
"opacity": 1,
|
|
471
471
|
"padding": 8,
|
|
472
472
|
"position": "absolute",
|
|
473
|
-
"shadowColor": "#
|
|
473
|
+
"shadowColor": "#001f23",
|
|
474
474
|
"shadowOffset": {
|
|
475
475
|
"height": 2,
|
|
476
476
|
"width": 0,
|
|
477
477
|
},
|
|
478
478
|
"shadowOpacity": 0.12,
|
|
479
|
-
"shadowRadius":
|
|
479
|
+
"shadowRadius": 2,
|
|
480
480
|
"top": 12,
|
|
481
481
|
"zIndex": 9999,
|
|
482
482
|
}
|
|
@@ -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":59136,"payment-summary":59137,"pencil":59138,"phone":59139,"piggy-bank":59140,"plane-up":59141,"plane":59142,"play-arrow":59143,"play-circle":59144,"print":59145,"raising-hands":59146,"reply-arrow":59147,"reply":59148,"reschedule":59149,"rostering":59150,"salary-sacrifice":59151,"save":59152,"schedule-send":59153,"schedule":59154,"search-person":59155,"search":59156,"send":59157,"speaker-active":59158,"speaker":59159,"star-award":59160,"star-badge":59161,"star-circle":59162,"star-medal":59163,"star":59164,"steps-circle":59165,"stopwatch":59166,"suitcase":59167,"surfing":59168,"survey":59169,"swag-pillar-benefit":59170,"swag-pillar-career":59171,"swag-pillar-money":59172,"swag-pillar-work":59173,"swag":59174,"swipe-right":59175,"switch":59176,"tag":59177,"target":59178,"teams":59179,"thumb-down":59180,"timesheet":59181,"touch-id":59182,"trash-bin":59183,"unlock":59184,"user":59185,"video-1":59186,"video-2":59187,"wallet":59188,"warning":59189,"accommodation-outlined":59190,"activate-outlined":59191,"add-credit-card-outlined":59192,"add-person-outlined":59193,"add-section-outlined":59194,"add-time-outlined":59195,"add":59196,"adjustment-outlined":59197,"afternoon-outlined":59198,"ai-outlined":59199,"alignment-2-outlined":59200,"alignment-outlined":59201,"all-caps":59202,"application-outlined":59203,"arrow-down":59204,"arrow-downwards":59205,"arrow-left":59206,"arrow-leftwards":59207,"arrow-right":59208,"arrow-rightwards":59209,"arrow-up":59210,"arrow-upwards":59211,"article-outlined":59212,"at-sign":59213,"auto-graph-outlined":59214,"automotive-outlined":59215,"bakery-outlined":59216,"bar-outlined":59217,"beauty-outlined":59218,"beer-outlined":59219,"bell-active-outlined":59220,"bell-outlined":59221,"bell-slash-outlined":59222,"bill-management-outlined":59223,"billing-outlined":59224,"body-outlined":59225,"bold":59226,"bolt-outlined":59227,"book-outlined":59228,"bookmark-added-outlined":59229,"bookmark-checked-outlined":59230,"bookmark-outlined":59231,"box-1-outlined":59232,"box-check-outlined":59233,"box-outlined":59234,"bullet-points":59235,"cake-outlined":59236,"calendar-dates-outlined":59237,"calendar-star-outlined":59238,"call-outlined":59239,"call-split-outlined":59240,"camera-outlined":59241,"cancel":59242,"car-forward-outlined":59243,"cashback-outlined":59244,"charging-station-outlined":59245,"chat-bubble-outlined":59246,"chat-unread-outlined":59247,"checkmark":59248,"circle-add-outlined":59249,"circle-cancel-outlined":59250,"circle-down-outlined":59251,"circle-info-outlined":59252,"circle-left-outlined":59253,"circle-ok-outlined":59254,"circle-question-outlined":59255,"circle-remove-outlined":59256,"circle-right-outlined":59257,"circle-up-outlined":59258,"circle-warning-outlined":59259,"clock-2-outlined":59260,"clock-in-outlined":59261,"clock-out-outlined":59262,"clock-outlined":59263,"cog-outlined":59264,"coin-outlined":59265,"coin-super-outlined":59266,"comment-outlined":59267,"contacts-outlined":59268,"contacts-user-outlined":59269,"credit-card-outlined":59270,"cultural-site-outlined":59271,"cup-outlined":59272,"dentistry-outlined":59273,"direction-arrows-outlined":59274,"directory-outlined":59275,"document-outlined":59276,"dollar-box-outlined":59277,"dollar-card-outlined":59278,"dollar-coin-shine-outlined":59279,"dollar-credit-card-outlined":59280,"dollar-sign":59281,"double-buildings-outlined":59282,"double-left-arrows":59283,"double-right-arrows":59284,"download-box-outlined":59285,"download-outlined":59286,"edit-template-outlined":59287,"electronics-outlined":59288,"email-outlined":59289,"end-break-outlined":59290,"enter-arrow":59291,"entertainment-outlined":59292,"envelope-outlined":59293,"evening-outlined":59294,"expense-approval-outlined":59295,"expense-outlined":59296,"explore-outlined":59297,"extension-outlined":59298,"external-link":59299,"eye-invisible-outlined":59300,"eye-outlined":59301,"face-id":59302,"face-meh-outlined":59303,"face-open-smiley-outlined":59304,"face-sad-outlined":59305,"face-smiley-outlined":59306,"fastfood-outlined":59307,"feed-outlined":59308,"file-certified-outlined":59309,"file-clone-outlined":59310,"file-copy-outlined":59311,"file-dispose-outlined":59312,"file-dollar-certified-outlined":59313,"file-dollar-outlined":59314,"file-download-outlined":59315,"file-export-outlined":59316,"file-lock-outlined":59317,"file-outlined":59318,"file-search-outlined":59319,"file-secured-outlined":59320,"file-statutory-outlined":59321,"file-verified-outlined":59322,"filter-outlined":59323,"fitness-outlined":59324,"folder-outlined":59325,"folder-upload-outlined":59326,"folder-user-outlined":59327,"form-outlined":59328,"funnel-filter-outline":59329,"goal-outlined":59330,"graph-outlined":59331,"grocery-outlined":59332,"hand-holding-user-outlined":59333,"handshake-outlined":59334,"happy-sun-outlined":59335,"health-bag-outlined":59336,"heart-outlined":59337,"home-active-outlined":59338,"home-outlined":59339,"id-card-outlined":59340,"image-outlined":59341,"import-outlined":59342,"instapay-outlined":59343,"italic":59344,"job-search-outlined":59345,"leave-approval-outlined":59346,"link-1":59347,"link-2":59348,"list-outlined":59349,"live-help-outlined":59350,"local_mall_outlined":59351,"location-on-outlined":59352,"location-outlined":59353,"lock-outlined":59354,"locked-file-outlined":59355,"log-out":59356,"mail-outlined":59357,"map-outlined":59358,"media-content-outlined":59359,"menu-close":59360,"menu-expand":59361,"menu-fold-outlined":59362,"menu-unfold-outlined":59363,"moneybag-outlined":59364,"moon-outlined":59365,"more-horizontal":59366,"more-vertical":59367,"morning-outlined":59368,"multiple-folders-outlined":59369,"multiple-users-outlined":59370,"near-me-outlined":59371,"node-outlined":59372,"number-points":59373,"number":59374,"overview-outlined":59375,"park-outlined":59376,"payment-summary-outlined":59377,"payslip-outlined":59378,"pencil-outlined":59379,"percentage":59380,"phone-outlined":59381,"piggy-bank-outlined":59382,"plane-outlined":59383,"play-circle-outlined":59384,"print-outlined":59385,"propane-tank-outlined":59386,"qr-code-outlined":59387,"qualification-outlined":59388,"re-assign":59389,"redeem":59390,"refresh":59391,"remove":59392,"reply-outlined":59393,"restart":59394,"restaurant-outlined":59395,"resume-outlined":59396,"return-arrow":59397,"rostering-outlined":59398,"safety-outlined":59399,"save-outlined":59400,"schedule-outlined":59401,"search-outlined":59402,"search-secured-outlined":59403,"send-outlined":59404,"share-1":59405,"share-2":59406,"share-outlined-2":59407,"share-outlined":59408,"shop-outlined":59409,"shopping_basket_outlined":59410,"show-chart-outlined":59411,"single-down-arrow":59412,"single-left-arrow":59413,"single-right-arrow":59414,"single-up-arrow":59415,"smart-match-outlined":59416,"sparkle-outlined":59417,"speaker-active-outlined":59418,"speaker-outlined":59419,"star-circle-outlined":59420,"star-outlined":59421,"start-break-outlined":59422,"stash-outlined":59423,"stopwatch-outlined":59424,"strikethrough":59425,"styler-outlined":59426,"suitcase-clock-outlined":59427,"suitcase-outlined":59428,"survey-outlined":59429,"switch-outlined":59430,"sync":59431,"tag-outlined":59432,"target-outlined":59433,"tennis-outlined":59434,"thumb-down-outlined":59435,"ticket-outlined":59436,"timesheet-outlined":59437,"timesheets-outlined":59438,"today-outlined":59439,"transfer":59440,"transportation-outlined":59441,"trash-bin-outlined":59442,"umbrela-outlined":59443,"unavailability-outlined":59444,"unavailable":59445,"underline":59446,"union-outlined":59447,"unlock-outlined":59448,"upload-outlined":59449,"user-circle-outlined":59450,"user-gear-outlined":59451,"user-outlined":59452,"user-rectangle-outlined":59453,"video-1-outlined":59454,"video-2-outlined":59455,"volunteer-outlined":59456,"wallet-outlined":59457,"wellness-outlined":59458}
|
|
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}
|
|
@@ -29,11 +29,7 @@ const StyledListItemContainer = styled(TouchableHighlight)<{
|
|
|
29
29
|
return {
|
|
30
30
|
...sharedStyles,
|
|
31
31
|
alignItems: 'center',
|
|
32
|
-
|
|
33
|
-
shadowRadius: theme.__hd__.list.shadows.card.radius,
|
|
34
|
-
shadowOffset: theme.__hd__.list.shadows.card.offset,
|
|
35
|
-
shadowOpacity: theme.__hd__.list.shadows.card.opacity,
|
|
36
|
-
elevation: theme.__hd__.list.shadows.card.elevation,
|
|
32
|
+
...theme.__hd__.list.shadows.card,
|
|
37
33
|
};
|
|
38
34
|
default:
|
|
39
35
|
return sharedStyles;
|
|
@@ -132,9 +132,9 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
132
132
|
{
|
|
133
133
|
"color": "#001f23",
|
|
134
134
|
"fontFamily": "BeVietnamPro-Regular",
|
|
135
|
-
"fontSize":
|
|
136
|
-
"letterSpacing": 0.
|
|
137
|
-
"lineHeight":
|
|
135
|
+
"fontSize": 16,
|
|
136
|
+
"letterSpacing": 0.48,
|
|
137
|
+
"lineHeight": 24,
|
|
138
138
|
},
|
|
139
139
|
[
|
|
140
140
|
{
|
|
@@ -150,11 +150,10 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
150
150
|
],
|
|
151
151
|
]
|
|
152
152
|
}
|
|
153
|
-
themeFontSize="medium"
|
|
154
|
-
themeFontWeight="regular"
|
|
155
153
|
themeIntent="body"
|
|
156
154
|
themeSize="small"
|
|
157
155
|
themeTypeface="neutral"
|
|
156
|
+
themeVariant="regular"
|
|
158
157
|
>
|
|
159
158
|
ML
|
|
160
159
|
</Text>
|
|
@@ -834,9 +833,9 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
834
833
|
{
|
|
835
834
|
"color": "#001f23",
|
|
836
835
|
"fontFamily": "BeVietnamPro-Regular",
|
|
837
|
-
"fontSize":
|
|
838
|
-
"letterSpacing": 0.
|
|
839
|
-
"lineHeight":
|
|
836
|
+
"fontSize": 16,
|
|
837
|
+
"letterSpacing": 0.48,
|
|
838
|
+
"lineHeight": 24,
|
|
840
839
|
},
|
|
841
840
|
[
|
|
842
841
|
{
|
|
@@ -852,11 +851,10 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
852
851
|
],
|
|
853
852
|
]
|
|
854
853
|
}
|
|
855
|
-
themeFontSize="medium"
|
|
856
|
-
themeFontWeight="regular"
|
|
857
854
|
themeIntent="body"
|
|
858
855
|
themeSize="small"
|
|
859
856
|
themeTypeface="neutral"
|
|
857
|
+
themeVariant="regular"
|
|
860
858
|
>
|
|
861
859
|
ML
|
|
862
860
|
</Text>
|
|
@@ -964,7 +962,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
964
962
|
collapsable={false}
|
|
965
963
|
style={
|
|
966
964
|
{
|
|
967
|
-
"backgroundColor":
|
|
965
|
+
"backgroundColor": "#ffffff",
|
|
968
966
|
"borderRadius": 999,
|
|
969
967
|
"height": 16,
|
|
970
968
|
"left": 24,
|
|
@@ -257,16 +257,16 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
257
257
|
"alignItems": "center",
|
|
258
258
|
"backgroundColor": "#ffffff",
|
|
259
259
|
"borderRadius": 8,
|
|
260
|
-
"elevation":
|
|
260
|
+
"elevation": 6,
|
|
261
261
|
"flexDirection": "row",
|
|
262
262
|
"padding": 16,
|
|
263
|
-
"shadowColor": "#
|
|
263
|
+
"shadowColor": "#001f23",
|
|
264
264
|
"shadowOffset": {
|
|
265
265
|
"height": 2,
|
|
266
266
|
"width": 0,
|
|
267
267
|
},
|
|
268
268
|
"shadowOpacity": 0.12,
|
|
269
|
-
"shadowRadius":
|
|
269
|
+
"shadowRadius": 2,
|
|
270
270
|
},
|
|
271
271
|
undefined,
|
|
272
272
|
]
|
|
@@ -430,16 +430,16 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
430
430
|
"alignItems": "center",
|
|
431
431
|
"backgroundColor": undefined,
|
|
432
432
|
"borderRadius": 8,
|
|
433
|
-
"elevation":
|
|
433
|
+
"elevation": 6,
|
|
434
434
|
"flexDirection": "row",
|
|
435
435
|
"padding": 16,
|
|
436
|
-
"shadowColor": "#
|
|
436
|
+
"shadowColor": "#001f23",
|
|
437
437
|
"shadowOffset": {
|
|
438
438
|
"height": 2,
|
|
439
439
|
"width": 0,
|
|
440
440
|
},
|
|
441
441
|
"shadowOpacity": 0.12,
|
|
442
|
-
"shadowRadius":
|
|
442
|
+
"shadowRadius": 2,
|
|
443
443
|
},
|
|
444
444
|
undefined,
|
|
445
445
|
]
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import styled from '@emotion/native';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import Badge from '../Badge';
|
|
4
3
|
import Icon from '../Icon';
|
|
5
4
|
|
|
6
5
|
type State = 'idle' | 'selected' | 'applied';
|
|
@@ -32,13 +31,17 @@ export const StyledContent = styled(View)<{
|
|
|
32
31
|
alignItems: 'center',
|
|
33
32
|
}));
|
|
34
33
|
|
|
35
|
-
export const StyledBadge = styled(
|
|
34
|
+
export const StyledBadge = styled(View)(({ theme }) => ({
|
|
36
35
|
right: theme.__hd__.mapPin.space.iconRight,
|
|
37
36
|
top: theme.__hd__.mapPin.space.iconTop,
|
|
38
37
|
position: 'absolute',
|
|
39
38
|
backgroundColor: theme.__hd__.mapPin.colors.badge,
|
|
40
|
-
|
|
39
|
+
borderRadius: theme.__hd__.mapPin.radii.badge,
|
|
41
40
|
zIndex: 2,
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
width: theme.__hd__.mapPin.sizes.badge,
|
|
44
|
+
height: theme.__hd__.mapPin.sizes.badge,
|
|
42
45
|
}));
|
|
43
46
|
|
|
44
47
|
export const StyledImage = styled.Image(({ theme }) => ({
|
|
@@ -49,6 +52,14 @@ export const StyledImage = styled.Image(({ theme }) => ({
|
|
|
49
52
|
theme.__hd__.mapPin.borderWidths.default,
|
|
50
53
|
}));
|
|
51
54
|
|
|
55
|
+
export const StyledIcon = styled(Icon)(({ theme }) => ({
|
|
56
|
+
color: theme.__hd__.mapPin.colors.icon,
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
export const StyledBadgeIcon = styled(Icon)(({ theme }) => ({
|
|
60
|
+
color: theme.__hd__.mapPin.colors.badgeIcon,
|
|
61
|
+
}));
|
|
62
|
+
|
|
52
63
|
function hexToRgba(hex: string, a: number) {
|
|
53
64
|
const arrBuff = new ArrayBuffer(4);
|
|
54
65
|
const vw = new DataView(arrBuff);
|