@hero-design/rn 8.51.0 → 8.52.1
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 +1 -1
- package/CHANGELOG.md +20 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +258 -254
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +258 -254
- package/package.json +1 -1
- package/src/components/Carousel/CardCarousel.tsx +1 -5
- package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +92 -172
- package/src/components/Carousel/__tests__/index.spec.tsx +14 -0
- package/src/components/Carousel/index.tsx +15 -14
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +6 -3
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +2 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -1
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +4 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +12 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +10 -5
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +90 -54
- package/src/components/Swipeable/index.tsx +31 -17
- package/src/components/TextInput/StyledTextInput.tsx +3 -4
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +34 -25
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +4 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +5 -12
- package/src/theme/components/cardCarousel.ts +1 -8
- package/src/theme/components/swipeable.ts +6 -1
- package/src/theme/components/textInput.ts +1 -2
- package/types/components/Carousel/StyledCardCarousel.d.ts +1 -7
- 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/theme/components/cardCarousel.d.ts +0 -10
- package/types/theme/components/swipeable.d.ts +4 -0
- package/types/theme/components/textInput.d.ts +1 -2
package/package.json
CHANGED
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
StyledCard,
|
|
21
21
|
StyledItemWrapper,
|
|
22
22
|
StyledPageControl,
|
|
23
|
-
StyledShadow,
|
|
24
23
|
StyledWrapper,
|
|
25
24
|
} from './StyledCardCarousel';
|
|
26
25
|
import { ITEM_WIDTH_RATE, VIEW_POSITION_CENTER } from './contants';
|
|
@@ -186,10 +185,7 @@ export const CardCarousel = forwardRef<CardCarouselHandles, CardCarouselProps>(
|
|
|
186
185
|
({ item }) => {
|
|
187
186
|
return (
|
|
188
187
|
<StyledItemWrapper style={{ width: itemWidth }}>
|
|
189
|
-
{
|
|
190
|
-
<StyledShadow>
|
|
191
|
-
<StyledCard>{item}</StyledCard>
|
|
192
|
-
</StyledShadow>
|
|
188
|
+
<StyledCard>{item}</StyledCard>
|
|
193
189
|
</StyledItemWrapper>
|
|
194
190
|
);
|
|
195
191
|
},
|
|
@@ -17,24 +17,9 @@ const StyledCard = styled(Card)<CardProps>(({ theme }) => ({
|
|
|
17
17
|
overflow: 'hidden',
|
|
18
18
|
flex: 1,
|
|
19
19
|
}));
|
|
20
|
-
const StyledShadow = styled(View)<ViewProps>(({ theme }) => ({
|
|
21
|
-
borderRadius: theme.__hd__.cardCarousel.radii.card,
|
|
22
|
-
shadowColor: theme.__hd__.cardCarousel.shadows.color,
|
|
23
|
-
shadowOffset: theme.__hd__.cardCarousel.shadows.offset,
|
|
24
|
-
shadowRadius: theme.__hd__.cardCarousel.shadows.radius,
|
|
25
|
-
shadowOpacity: theme.__hd__.cardCarousel.shadows.opacity,
|
|
26
|
-
elevation: theme.__hd__.cardCarousel.shadows.elevation,
|
|
27
|
-
flex: 1,
|
|
28
|
-
}));
|
|
29
20
|
|
|
30
21
|
const StyledItemWrapper = styled(View)<ViewProps>(({ theme }) => ({
|
|
31
22
|
padding: theme.__hd__.cardCarousel.space.carouselItemSpacing,
|
|
32
23
|
}));
|
|
33
24
|
|
|
34
|
-
export {
|
|
35
|
-
StyledCard,
|
|
36
|
-
StyledShadow,
|
|
37
|
-
StyledItemWrapper,
|
|
38
|
-
StyledWrapper,
|
|
39
|
-
StyledPageControl,
|
|
40
|
-
};
|
|
25
|
+
export { StyledCard, StyledItemWrapper, StyledWrapper, StyledPageControl };
|
|
@@ -111,60 +111,40 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
|
|
|
111
111
|
style={
|
|
112
112
|
[
|
|
113
113
|
{
|
|
114
|
-
"borderRadius":
|
|
115
|
-
"
|
|
116
|
-
"flex": 1,
|
|
117
|
-
"shadowColor": "#001f23",
|
|
118
|
-
"shadowOffset": {
|
|
119
|
-
"height": 2,
|
|
120
|
-
"width": 0,
|
|
121
|
-
},
|
|
122
|
-
"shadowOpacity": 0.12,
|
|
123
|
-
"shadowRadius": 4,
|
|
114
|
+
"borderRadius": 12,
|
|
115
|
+
"overflow": "hidden",
|
|
124
116
|
},
|
|
125
|
-
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
|
+
"borderRadius": 8,
|
|
120
|
+
"flex": 1,
|
|
121
|
+
"overflow": "hidden",
|
|
122
|
+
},
|
|
123
|
+
undefined,
|
|
124
|
+
],
|
|
126
125
|
]
|
|
127
126
|
}
|
|
128
127
|
>
|
|
129
|
-
<
|
|
128
|
+
<Text
|
|
129
|
+
allowFontScaling={false}
|
|
130
130
|
style={
|
|
131
131
|
[
|
|
132
132
|
{
|
|
133
|
-
"
|
|
134
|
-
"
|
|
133
|
+
"color": "#001f23",
|
|
134
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
135
|
+
"fontSize": 14,
|
|
136
|
+
"letterSpacing": 0.48,
|
|
137
|
+
"lineHeight": 22,
|
|
135
138
|
},
|
|
136
|
-
|
|
137
|
-
{
|
|
138
|
-
"borderRadius": 8,
|
|
139
|
-
"flex": 1,
|
|
140
|
-
"overflow": "hidden",
|
|
141
|
-
},
|
|
142
|
-
undefined,
|
|
143
|
-
],
|
|
139
|
+
undefined,
|
|
144
140
|
]
|
|
145
141
|
}
|
|
142
|
+
themeIntent="body"
|
|
143
|
+
themeTypeface="neutral"
|
|
144
|
+
themeVariant="small"
|
|
146
145
|
>
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
style={
|
|
150
|
-
[
|
|
151
|
-
{
|
|
152
|
-
"color": "#001f23",
|
|
153
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
154
|
-
"fontSize": 14,
|
|
155
|
-
"letterSpacing": 0.48,
|
|
156
|
-
"lineHeight": 22,
|
|
157
|
-
},
|
|
158
|
-
undefined,
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
themeIntent="body"
|
|
162
|
-
themeTypeface="neutral"
|
|
163
|
-
themeVariant="small"
|
|
164
|
-
>
|
|
165
|
-
screen 1
|
|
166
|
-
</Text>
|
|
167
|
-
</View>
|
|
146
|
+
screen 1
|
|
147
|
+
</Text>
|
|
168
148
|
</View>
|
|
169
149
|
</View>
|
|
170
150
|
</View>
|
|
@@ -195,60 +175,40 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
|
|
|
195
175
|
style={
|
|
196
176
|
[
|
|
197
177
|
{
|
|
198
|
-
"borderRadius":
|
|
199
|
-
"
|
|
200
|
-
"flex": 1,
|
|
201
|
-
"shadowColor": "#001f23",
|
|
202
|
-
"shadowOffset": {
|
|
203
|
-
"height": 2,
|
|
204
|
-
"width": 0,
|
|
205
|
-
},
|
|
206
|
-
"shadowOpacity": 0.12,
|
|
207
|
-
"shadowRadius": 4,
|
|
178
|
+
"borderRadius": 12,
|
|
179
|
+
"overflow": "hidden",
|
|
208
180
|
},
|
|
209
|
-
|
|
181
|
+
[
|
|
182
|
+
{
|
|
183
|
+
"borderRadius": 8,
|
|
184
|
+
"flex": 1,
|
|
185
|
+
"overflow": "hidden",
|
|
186
|
+
},
|
|
187
|
+
undefined,
|
|
188
|
+
],
|
|
210
189
|
]
|
|
211
190
|
}
|
|
212
191
|
>
|
|
213
|
-
<
|
|
192
|
+
<Text
|
|
193
|
+
allowFontScaling={false}
|
|
214
194
|
style={
|
|
215
195
|
[
|
|
216
196
|
{
|
|
217
|
-
"
|
|
218
|
-
"
|
|
197
|
+
"color": "#001f23",
|
|
198
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
199
|
+
"fontSize": 14,
|
|
200
|
+
"letterSpacing": 0.48,
|
|
201
|
+
"lineHeight": 22,
|
|
219
202
|
},
|
|
220
|
-
|
|
221
|
-
{
|
|
222
|
-
"borderRadius": 8,
|
|
223
|
-
"flex": 1,
|
|
224
|
-
"overflow": "hidden",
|
|
225
|
-
},
|
|
226
|
-
undefined,
|
|
227
|
-
],
|
|
203
|
+
undefined,
|
|
228
204
|
]
|
|
229
205
|
}
|
|
206
|
+
themeIntent="body"
|
|
207
|
+
themeTypeface="neutral"
|
|
208
|
+
themeVariant="small"
|
|
230
209
|
>
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
style={
|
|
234
|
-
[
|
|
235
|
-
{
|
|
236
|
-
"color": "#001f23",
|
|
237
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
238
|
-
"fontSize": 14,
|
|
239
|
-
"letterSpacing": 0.48,
|
|
240
|
-
"lineHeight": 22,
|
|
241
|
-
},
|
|
242
|
-
undefined,
|
|
243
|
-
]
|
|
244
|
-
}
|
|
245
|
-
themeIntent="body"
|
|
246
|
-
themeTypeface="neutral"
|
|
247
|
-
themeVariant="small"
|
|
248
|
-
>
|
|
249
|
-
screen 2
|
|
250
|
-
</Text>
|
|
251
|
-
</View>
|
|
210
|
+
screen 2
|
|
211
|
+
</Text>
|
|
252
212
|
</View>
|
|
253
213
|
</View>
|
|
254
214
|
</View>
|
|
@@ -446,60 +406,40 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
|
|
|
446
406
|
style={
|
|
447
407
|
[
|
|
448
408
|
{
|
|
449
|
-
"borderRadius":
|
|
450
|
-
"
|
|
451
|
-
"flex": 1,
|
|
452
|
-
"shadowColor": "#001f23",
|
|
453
|
-
"shadowOffset": {
|
|
454
|
-
"height": 2,
|
|
455
|
-
"width": 0,
|
|
456
|
-
},
|
|
457
|
-
"shadowOpacity": 0.12,
|
|
458
|
-
"shadowRadius": 4,
|
|
409
|
+
"borderRadius": 12,
|
|
410
|
+
"overflow": "hidden",
|
|
459
411
|
},
|
|
460
|
-
|
|
412
|
+
[
|
|
413
|
+
{
|
|
414
|
+
"borderRadius": 8,
|
|
415
|
+
"flex": 1,
|
|
416
|
+
"overflow": "hidden",
|
|
417
|
+
},
|
|
418
|
+
undefined,
|
|
419
|
+
],
|
|
461
420
|
]
|
|
462
421
|
}
|
|
463
422
|
>
|
|
464
|
-
<
|
|
423
|
+
<Text
|
|
424
|
+
allowFontScaling={false}
|
|
465
425
|
style={
|
|
466
426
|
[
|
|
467
427
|
{
|
|
468
|
-
"
|
|
469
|
-
"
|
|
428
|
+
"color": "#001f23",
|
|
429
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
430
|
+
"fontSize": 14,
|
|
431
|
+
"letterSpacing": 0.48,
|
|
432
|
+
"lineHeight": 22,
|
|
470
433
|
},
|
|
471
|
-
|
|
472
|
-
{
|
|
473
|
-
"borderRadius": 8,
|
|
474
|
-
"flex": 1,
|
|
475
|
-
"overflow": "hidden",
|
|
476
|
-
},
|
|
477
|
-
undefined,
|
|
478
|
-
],
|
|
434
|
+
undefined,
|
|
479
435
|
]
|
|
480
436
|
}
|
|
437
|
+
themeIntent="body"
|
|
438
|
+
themeTypeface="neutral"
|
|
439
|
+
themeVariant="small"
|
|
481
440
|
>
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
style={
|
|
485
|
-
[
|
|
486
|
-
{
|
|
487
|
-
"color": "#001f23",
|
|
488
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
489
|
-
"fontSize": 14,
|
|
490
|
-
"letterSpacing": 0.48,
|
|
491
|
-
"lineHeight": 22,
|
|
492
|
-
},
|
|
493
|
-
undefined,
|
|
494
|
-
]
|
|
495
|
-
}
|
|
496
|
-
themeIntent="body"
|
|
497
|
-
themeTypeface="neutral"
|
|
498
|
-
themeVariant="small"
|
|
499
|
-
>
|
|
500
|
-
screen 1
|
|
501
|
-
</Text>
|
|
502
|
-
</View>
|
|
441
|
+
screen 1
|
|
442
|
+
</Text>
|
|
503
443
|
</View>
|
|
504
444
|
</View>
|
|
505
445
|
</View>
|
|
@@ -530,60 +470,40 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
|
|
|
530
470
|
style={
|
|
531
471
|
[
|
|
532
472
|
{
|
|
533
|
-
"borderRadius":
|
|
534
|
-
"
|
|
535
|
-
"flex": 1,
|
|
536
|
-
"shadowColor": "#001f23",
|
|
537
|
-
"shadowOffset": {
|
|
538
|
-
"height": 2,
|
|
539
|
-
"width": 0,
|
|
540
|
-
},
|
|
541
|
-
"shadowOpacity": 0.12,
|
|
542
|
-
"shadowRadius": 4,
|
|
473
|
+
"borderRadius": 12,
|
|
474
|
+
"overflow": "hidden",
|
|
543
475
|
},
|
|
544
|
-
|
|
476
|
+
[
|
|
477
|
+
{
|
|
478
|
+
"borderRadius": 8,
|
|
479
|
+
"flex": 1,
|
|
480
|
+
"overflow": "hidden",
|
|
481
|
+
},
|
|
482
|
+
undefined,
|
|
483
|
+
],
|
|
545
484
|
]
|
|
546
485
|
}
|
|
547
486
|
>
|
|
548
|
-
<
|
|
487
|
+
<Text
|
|
488
|
+
allowFontScaling={false}
|
|
549
489
|
style={
|
|
550
490
|
[
|
|
551
491
|
{
|
|
552
|
-
"
|
|
553
|
-
"
|
|
492
|
+
"color": "#001f23",
|
|
493
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
494
|
+
"fontSize": 14,
|
|
495
|
+
"letterSpacing": 0.48,
|
|
496
|
+
"lineHeight": 22,
|
|
554
497
|
},
|
|
555
|
-
|
|
556
|
-
{
|
|
557
|
-
"borderRadius": 8,
|
|
558
|
-
"flex": 1,
|
|
559
|
-
"overflow": "hidden",
|
|
560
|
-
},
|
|
561
|
-
undefined,
|
|
562
|
-
],
|
|
498
|
+
undefined,
|
|
563
499
|
]
|
|
564
500
|
}
|
|
501
|
+
themeIntent="body"
|
|
502
|
+
themeTypeface="neutral"
|
|
503
|
+
themeVariant="small"
|
|
565
504
|
>
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
style={
|
|
569
|
-
[
|
|
570
|
-
{
|
|
571
|
-
"color": "#001f23",
|
|
572
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
573
|
-
"fontSize": 14,
|
|
574
|
-
"letterSpacing": 0.48,
|
|
575
|
-
"lineHeight": 22,
|
|
576
|
-
},
|
|
577
|
-
undefined,
|
|
578
|
-
]
|
|
579
|
-
}
|
|
580
|
-
themeIntent="body"
|
|
581
|
-
themeTypeface="neutral"
|
|
582
|
-
themeVariant="small"
|
|
583
|
-
>
|
|
584
|
-
screen 2
|
|
585
|
-
</Text>
|
|
586
|
-
</View>
|
|
505
|
+
screen 2
|
|
506
|
+
</Text>
|
|
587
507
|
</View>
|
|
588
508
|
</View>
|
|
589
509
|
</View>
|
|
@@ -159,4 +159,18 @@ describe('Carousel', () => {
|
|
|
159
159
|
selected: true,
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
|
+
it('should not render page control when there is only one item', () => {
|
|
163
|
+
const onPress = jest.fn();
|
|
164
|
+
const { queryByTestId } = renderWithTheme(
|
|
165
|
+
<Carousel
|
|
166
|
+
testID="carousel"
|
|
167
|
+
items={[carouselData[0]]}
|
|
168
|
+
renderActions={(_) => {
|
|
169
|
+
return <Button text="Skip" onPress={onPress} />;
|
|
170
|
+
}}
|
|
171
|
+
/>
|
|
172
|
+
);
|
|
173
|
+
|
|
174
|
+
expect(queryByTestId('page-control-indicator1')).toBeFalsy();
|
|
175
|
+
});
|
|
162
176
|
});
|
|
@@ -106,6 +106,9 @@ const Carousel = ({
|
|
|
106
106
|
const [currentSlideIndex, setCurrentSlideIndex] =
|
|
107
107
|
useStateFromProp(selectedItemIndex);
|
|
108
108
|
|
|
109
|
+
const shouldRenderPagination =
|
|
110
|
+
items.length > 1 && shouldShowPagination(currentSlideIndex);
|
|
111
|
+
|
|
109
112
|
const internalOnItemIndexChange = useCallback(
|
|
110
113
|
(index: number) => {
|
|
111
114
|
setCurrentSlideIndex(index);
|
|
@@ -155,13 +158,12 @@ const Carousel = ({
|
|
|
155
158
|
/>
|
|
156
159
|
|
|
157
160
|
<StyledPageControlWrapper>
|
|
158
|
-
{pageControlPosition === 'top' &&
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
)}
|
|
161
|
+
{pageControlPosition === 'top' && shouldRenderPagination && (
|
|
162
|
+
<StyledPageControl
|
|
163
|
+
numberOfPages={items.length}
|
|
164
|
+
currentPage={currentSlideIndex}
|
|
165
|
+
/>
|
|
166
|
+
)}
|
|
165
167
|
</StyledPageControlWrapper>
|
|
166
168
|
|
|
167
169
|
<StyledCarouselView>
|
|
@@ -198,13 +200,12 @@ const Carousel = ({
|
|
|
198
200
|
/>
|
|
199
201
|
<StyledCarouselFooterWrapper>
|
|
200
202
|
{renderActions && renderActions(currentSlideIndex)}
|
|
201
|
-
{pageControlPosition === 'bottom' &&
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
)}
|
|
203
|
+
{pageControlPosition === 'bottom' && shouldRenderPagination && (
|
|
204
|
+
<StyledPageControl
|
|
205
|
+
numberOfPages={items.length}
|
|
206
|
+
currentPage={currentSlideIndex}
|
|
207
|
+
/>
|
|
208
|
+
)}
|
|
208
209
|
</StyledCarouselFooterWrapper>
|
|
209
210
|
</StyledCarouselView>
|
|
210
211
|
</View>
|
|
@@ -235,7 +235,7 @@ exports[`DatePicker renders DatePickerAndroid when OS is android 1`] = `
|
|
|
235
235
|
[
|
|
236
236
|
{
|
|
237
237
|
"minHeight": 16,
|
|
238
|
-
"
|
|
238
|
+
"paddingHorizontal": 16,
|
|
239
239
|
"paddingTop": 2,
|
|
240
240
|
},
|
|
241
241
|
undefined,
|
|
@@ -246,6 +246,7 @@ exports[`DatePicker renders DatePickerAndroid when OS is android 1`] = `
|
|
|
246
246
|
style={
|
|
247
247
|
[
|
|
248
248
|
{
|
|
249
|
+
"alignItems": "flex-start",
|
|
249
250
|
"flexDirection": "row",
|
|
250
251
|
"justifyContent": "space-between",
|
|
251
252
|
},
|
|
@@ -515,7 +516,7 @@ exports[`DatePicker renders DatePickerIOS when OS is iOS 1`] = `
|
|
|
515
516
|
[
|
|
516
517
|
{
|
|
517
518
|
"minHeight": 16,
|
|
518
|
-
"
|
|
519
|
+
"paddingHorizontal": 16,
|
|
519
520
|
"paddingTop": 2,
|
|
520
521
|
},
|
|
521
522
|
undefined,
|
|
@@ -526,6 +527,7 @@ exports[`DatePicker renders DatePickerIOS when OS is iOS 1`] = `
|
|
|
526
527
|
style={
|
|
527
528
|
[
|
|
528
529
|
{
|
|
530
|
+
"alignItems": "flex-start",
|
|
529
531
|
"flexDirection": "row",
|
|
530
532
|
"justifyContent": "space-between",
|
|
531
533
|
},
|
|
@@ -801,7 +803,7 @@ exports[`DatePicker renders variant Calendar 1`] = `
|
|
|
801
803
|
[
|
|
802
804
|
{
|
|
803
805
|
"minHeight": 16,
|
|
804
|
-
"
|
|
806
|
+
"paddingHorizontal": 16,
|
|
805
807
|
"paddingTop": 2,
|
|
806
808
|
},
|
|
807
809
|
undefined,
|
|
@@ -812,6 +814,7 @@ exports[`DatePicker renders variant Calendar 1`] = `
|
|
|
812
814
|
style={
|
|
813
815
|
[
|
|
814
816
|
{
|
|
817
|
+
"alignItems": "flex-start",
|
|
815
818
|
"flexDirection": "row",
|
|
816
819
|
"justifyContent": "space-between",
|
|
817
820
|
},
|
|
@@ -235,7 +235,7 @@ exports[`DatePickerAndroid renders correctly 1`] = `
|
|
|
235
235
|
[
|
|
236
236
|
{
|
|
237
237
|
"minHeight": 16,
|
|
238
|
-
"
|
|
238
|
+
"paddingHorizontal": 16,
|
|
239
239
|
"paddingTop": 2,
|
|
240
240
|
},
|
|
241
241
|
undefined,
|
|
@@ -246,6 +246,7 @@ exports[`DatePickerAndroid renders correctly 1`] = `
|
|
|
246
246
|
style={
|
|
247
247
|
[
|
|
248
248
|
{
|
|
249
|
+
"alignItems": "flex-start",
|
|
249
250
|
"flexDirection": "row",
|
|
250
251
|
"justifyContent": "space-between",
|
|
251
252
|
},
|
|
@@ -235,7 +235,7 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
235
235
|
[
|
|
236
236
|
{
|
|
237
237
|
"minHeight": 16,
|
|
238
|
-
"
|
|
238
|
+
"paddingHorizontal": 16,
|
|
239
239
|
"paddingTop": 2,
|
|
240
240
|
},
|
|
241
241
|
undefined,
|
|
@@ -246,6 +246,7 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
246
246
|
style={
|
|
247
247
|
[
|
|
248
248
|
{
|
|
249
|
+
"alignItems": "flex-start",
|
|
249
250
|
"flexDirection": "row",
|
|
250
251
|
"justifyContent": "space-between",
|
|
251
252
|
},
|
|
@@ -235,7 +235,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
235
235
|
[
|
|
236
236
|
{
|
|
237
237
|
"minHeight": 16,
|
|
238
|
-
"
|
|
238
|
+
"paddingHorizontal": 16,
|
|
239
239
|
"paddingTop": 2,
|
|
240
240
|
},
|
|
241
241
|
undefined,
|
|
@@ -246,6 +246,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
246
246
|
style={
|
|
247
247
|
[
|
|
248
248
|
{
|
|
249
|
+
"alignItems": "flex-start",
|
|
249
250
|
"flexDirection": "row",
|
|
250
251
|
"justifyContent": "space-between",
|
|
251
252
|
},
|
|
@@ -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":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expand-content":59061,"expense":59062,"eye-circle":59063,"eye-invisible":59064,"eye":59065,"face-meh":59066,"face-sad":59067,"face-smiley":59068,"feed":59069,"feedbacks":59070,"file-certified":59071,"file-clone":59072,"file-copy":59073,"file-csv":59074,"file-dispose":59075,"file-doc":59076,"file-excel":59077,"file-export":59078,"file-lock":59079,"file-pdf":59080,"file-powerpoint":59081,"file-search":59082,"file-secured":59083,"file-sheets":59084,"file-slide":59085,"file-verified":59086,"file-word":59087,"file":59088,"filter":59089,"folder-user":59090,"folder":59091,"format-bold":59092,"format-heading1":59093,"format-heading2":59094,"format-italic":59095,"format-list-bulleted":59096,"format-list-numbered":59097,"format-underlined":59098,"funnel-filter":59099,"global-dollar":59100,"globe":59101,"graduation-cap":59102,"graph":59103,"happy-sun":59104,"health-bag":59105,"heart":59106,"home":59107,"image":59108,"import":59109,"incident-siren":59110,"instapay":59111,"list":59112,"loading-2":59113,"loading":59114,"location-on":59115,"location":59116,"lock":59117,"looks-one":59118,"looks-two":59119,"media-content":59120,"menu":59121,"money-notes":59122,"moneybag":59123,"moon":59124,"multiple-stars":59125,"multiple-users":59126,"near-me":59127,"node":59128,"open-folder":59129,"paperclip":59130,"payment-summary":59131,"pencil":59132,"phone":59133,"piggy-bank":59134,"plane-up":59135,"plane":59136,"play-circle":59137,"print":59138,"raising-hands":59139,"reply-arrow":59140,"reply":59141,"reschedule":59142,"rostering":59143,"save":59144,"schedule-send":59145,"schedule":59146,"search-person":59147,"send":59148,"speaker-active":59149,"speaker":59150,"star-award":59151,"star-badge":59152,"star-circle":59153,"star-medal":59154,"star":59155,"steps-circle":59156,"stopwatch":59157,"suitcase":59158,"surfing":59159,"survey":59160,"swag-pillar-benefit":59161,"swag-pillar-career":59162,"swag-pillar-money":59163,"swag-pillar-work":59164,"swag":59165,"swipe-right":59166,"switch":59167,"tag":59168,"target":59169,"teams":59170,"timesheet":59171,"touch-id":59172,"trash-bin":59173,"unlock":59174,"user":59175,"video-1":59176,"video-2":59177,"wallet":59178,"warning":59179,"activate-outlined":59180,"add-credit-card-outlined":59181,"add-person-outlined":59182,"add-section-outlined":59183,"add-time-outlined":59184,"add":59185,"adjustment-outlined":59186,"ai-outlined":59187,"alignment-2-outlined":59188,"alignment-outlined":59189,"all-caps":59190,"arrow-down":
|
|
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":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expand-content":59061,"expense":59062,"eye-circle":59063,"eye-invisible":59064,"eye":59065,"face-meh":59066,"face-sad":59067,"face-smiley":59068,"feed":59069,"feedbacks":59070,"file-certified":59071,"file-clone":59072,"file-copy":59073,"file-csv":59074,"file-dispose":59075,"file-doc":59076,"file-excel":59077,"file-export":59078,"file-lock":59079,"file-pdf":59080,"file-powerpoint":59081,"file-search":59082,"file-secured":59083,"file-sheets":59084,"file-slide":59085,"file-verified":59086,"file-word":59087,"file":59088,"filter":59089,"folder-user":59090,"folder":59091,"format-bold":59092,"format-heading1":59093,"format-heading2":59094,"format-italic":59095,"format-list-bulleted":59096,"format-list-numbered":59097,"format-underlined":59098,"funnel-filter":59099,"global-dollar":59100,"globe":59101,"graduation-cap":59102,"graph":59103,"happy-sun":59104,"health-bag":59105,"heart":59106,"home":59107,"image":59108,"import":59109,"incident-siren":59110,"instapay":59111,"list":59112,"loading-2":59113,"loading":59114,"location-on":59115,"location":59116,"lock":59117,"looks-one":59118,"looks-two":59119,"media-content":59120,"menu":59121,"money-notes":59122,"moneybag":59123,"moon":59124,"multiple-stars":59125,"multiple-users":59126,"near-me":59127,"node":59128,"open-folder":59129,"paperclip":59130,"payment-summary":59131,"pencil":59132,"phone":59133,"piggy-bank":59134,"plane-up":59135,"plane":59136,"play-circle":59137,"print":59138,"raising-hands":59139,"reply-arrow":59140,"reply":59141,"reschedule":59142,"rostering":59143,"save":59144,"schedule-send":59145,"schedule":59146,"search-person":59147,"send":59148,"speaker-active":59149,"speaker":59150,"star-award":59151,"star-badge":59152,"star-circle":59153,"star-medal":59154,"star":59155,"steps-circle":59156,"stopwatch":59157,"suitcase":59158,"surfing":59159,"survey":59160,"swag-pillar-benefit":59161,"swag-pillar-career":59162,"swag-pillar-money":59163,"swag-pillar-work":59164,"swag":59165,"swipe-right":59166,"switch":59167,"tag":59168,"target":59169,"teams":59170,"timesheet":59171,"touch-id":59172,"trash-bin":59173,"unlock":59174,"user":59175,"video-1":59176,"video-2":59177,"wallet":59178,"warning":59179,"activate-outlined":59180,"add-credit-card-outlined":59181,"add-person-outlined":59182,"add-section-outlined":59183,"add-time-outlined":59184,"add":59185,"adjustment-outlined":59186,"ai-outlined":59187,"alignment-2-outlined":59188,"alignment-outlined":59189,"all-caps":59190,"application-outlined":59191,"arrow-down":59192,"arrow-downwards":59193,"arrow-left":59194,"arrow-leftwards":59195,"arrow-right":59196,"arrow-rightwards":59197,"arrow-up":59198,"arrow-upwards":59199,"article-outlined":59200,"at-sign":59201,"auto-graph-outlined":59202,"beer-outlined":59203,"bell-active-outlined":59204,"bell-outlined":59205,"bell-slash-outlined":59206,"billing-outlined":59207,"body-outlined":59208,"bold":59209,"bolt-outlined":59210,"book-outlined":59211,"bookmark-added-outlined":59212,"bookmark-outlined":59213,"box-check-outlined":59214,"box-outlined":59215,"bullet-points":59216,"cake-outlined":59217,"calendar-dates-outlined":59218,"calendar-star-outlined":59219,"call-outlined":59220,"call-split-outlined":59221,"camera-outlined":59222,"cancel":59223,"car-forward-outlined":59224,"charging-station-outlined":59225,"chat-bubble-outlined":59226,"chat-unread-outlined":59227,"checkmark":59228,"circle-add-outlined":59229,"circle-cancel-outlined":59230,"circle-down-outlined":59231,"circle-info-outlined":59232,"circle-left-outlined":59233,"circle-ok-outlined":59234,"circle-question-outlined":59235,"circle-remove-outlined":59236,"circle-right-outlined":59237,"circle-up-outlined":59238,"circle-warning-outlined":59239,"clock-2-outlined":59240,"clock-outlined":59241,"cog-outlined":59242,"coin-outlined":59243,"coin-super-outlined":59244,"comment-outlined":59245,"contacts-outlined":59246,"contacts-user-outlined":59247,"credit-card-outlined":59248,"cup-outlined":59249,"dentistry-outlined":59250,"direction-arrows-outlined":59251,"directory-outlined":59252,"document-outlined":59253,"dollar-box-outlined":59254,"dollar-card-outlined":59255,"dollar-coin-shine-outlined":59256,"dollar-credit-card-outlined":59257,"dollar-sign":59258,"double-buildings-outlined":59259,"double-left-arrows":59260,"double-right-arrows":59261,"download-box-outlined":59262,"download-outlined":59263,"edit-template-outlined":59264,"email-outlined":59265,"enter-arrow":59266,"envelope-outlined":59267,"expense-approval-outlined":59268,"expense-outlined":59269,"explore-outlined":59270,"extension-outlined":59271,"external-link":59272,"eye-invisible-outlined":59273,"eye-outlined":59274,"face-id":59275,"face-meh-outlined":59276,"face-open-smiley-outlined":59277,"face-sad-outlined":59278,"face-smiley-outlined":59279,"fastfood-outlined":59280,"feed-outlined":59281,"file-certified-outlined":59282,"file-clone-outlined":59283,"file-copy-outlined":59284,"file-dispose-outlined":59285,"file-dollar-certified-outlined":59286,"file-dollar-outlined":59287,"file-download-outlined":59288,"file-export-outlined":59289,"file-lock-outlined":59290,"file-outlined":59291,"file-search-outlined":59292,"file-secured-outlined":59293,"file-statutory-outlined":59294,"file-verified-outlined":59295,"filter-outlined":59296,"folder-outlined":59297,"folder-user-outlined":59298,"form-outlined":59299,"funnel-filter-outline":59300,"goal-outlined":59301,"graph-outlined":59302,"hand-holding-user-outlined":59303,"happy-sun-outlined":59304,"health-bag-outlined":59305,"heart-outlined":59306,"home-active-outlined":59307,"home-outlined":59308,"id-card-outlined":59309,"image-outlined":59310,"import-outlined":59311,"instapay-outlined":59312,"italic":59313,"job-search-outlined":59314,"leave-approval-outlined":59315,"link-1":59316,"link-2":59317,"list-outlined":59318,"live-help-outlined":59319,"location-on-outlined":59320,"location-outlined":59321,"lock-outlined":59322,"locked-file-outlined":59323,"log-out":59324,"mail-outlined":59325,"media-content-outlined":59326,"menu-close":59327,"menu-expand":59328,"menu-fold-outlined":59329,"menu-unfold-outlined":59330,"moneybag-outlined":59331,"moon-outlined":59332,"more-horizontal":59333,"more-vertical":59334,"multiple-folders-outlined":59335,"multiple-users-outlined":59336,"near-me-outlined":59337,"node-outlined":59338,"number-points":59339,"number":59340,"overview-outlined":59341,"payment-summary-outlined":59342,"payslip-outlined":59343,"pencil-outlined":59344,"percentage":59345,"phone-outlined":59346,"piggy-bank-outlined":59347,"plane-outlined":59348,"play-circle-outlined":59349,"print-outlined":59350,"propane-tank-outlined":59351,"qr-code-outlined":59352,"qualification-outlined":59353,"re-assign":59354,"redeem":59355,"refresh":59356,"remove":59357,"reply-outlined":59358,"restart":59359,"resume-outlined":59360,"return-arrow":59361,"rostering-outlined":59362,"save-outlined":59363,"schedule-outlined":59364,"search-outlined":59365,"search-secured-outlined":59366,"send-outlined":59367,"share-1":59368,"share-2":59369,"share-outlined":59370,"show-chart-outlined":59371,"single-down-arrow":59372,"single-left-arrow":59373,"single-right-arrow":59374,"single-up-arrow":59375,"smart-match-outlined":59376,"sparkle-outlined":59377,"speaker-active-outlined":59378,"speaker-outlined":59379,"star-circle-outlined":59380,"star-outlined":59381,"stopwatch-outlined":59382,"strikethrough":59383,"styler-outlined":59384,"suitcase-clock-outlined":59385,"suitcase-outlined":59386,"survey-outlined":59387,"switch-outlined":59388,"sync":59389,"tag-outlined":59390,"target-outlined":59391,"tennis-outlined":59392,"ticket-outlined":59393,"timesheet-outlined":59394,"timesheets-outlined":59395,"today-outlined":59396,"transfer":59397,"trash-bin-outlined":59398,"umbrela-outlined":59399,"unavailable":59400,"underline":59401,"union-outlined":59402,"unlock-outlined":59403,"upload-outlined":59404,"user-circle-outlined":59405,"user-gear-outlined":59406,"user-outlined":59407,"user-rectangle-outlined":59408,"video-1-outlined":59409,"video-2-outlined":59410,"volunteer-outlined":59411,"wallet-outlined":59412}
|
|
@@ -191,6 +191,7 @@ const IconList = [
|
|
|
191
191
|
'alignment-2-outlined',
|
|
192
192
|
'alignment-outlined',
|
|
193
193
|
'all-caps',
|
|
194
|
+
'application-outlined',
|
|
194
195
|
'arrow-down',
|
|
195
196
|
'arrow-downwards',
|
|
196
197
|
'arrow-left',
|
|
@@ -313,6 +314,7 @@ const IconList = [
|
|
|
313
314
|
'import-outlined',
|
|
314
315
|
'instapay-outlined',
|
|
315
316
|
'italic',
|
|
317
|
+
'job-search-outlined',
|
|
316
318
|
'leave-approval-outlined',
|
|
317
319
|
'link-1',
|
|
318
320
|
'link-2',
|
|
@@ -358,6 +360,7 @@ const IconList = [
|
|
|
358
360
|
'remove',
|
|
359
361
|
'reply-outlined',
|
|
360
362
|
'restart',
|
|
363
|
+
'resume-outlined',
|
|
361
364
|
'return-arrow',
|
|
362
365
|
'rostering-outlined',
|
|
363
366
|
'save-outlined',
|
|
@@ -373,6 +376,7 @@ const IconList = [
|
|
|
373
376
|
'single-left-arrow',
|
|
374
377
|
'single-right-arrow',
|
|
375
378
|
'single-up-arrow',
|
|
379
|
+
'smart-match-outlined',
|
|
376
380
|
'sparkle-outlined',
|
|
377
381
|
'speaker-active-outlined',
|
|
378
382
|
'speaker-outlined',
|