@hero-design/rn 8.9.1 → 8.11.0

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.
Files changed (44) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +543 -326
  4. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/lib/index.js +543 -326
  6. package/package.json +5 -5
  7. package/src/components/Card/index.tsx +1 -1
  8. package/src/components/Carousel/CardCarousel.tsx +218 -0
  9. package/src/components/Carousel/StyledCardCarousel.tsx +40 -0
  10. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +105 -0
  11. package/src/components/Carousel/__tests__/StyledCardCarousel.spec.tsx +38 -0
  12. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +289 -0
  13. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +109 -0
  14. package/src/components/Carousel/contants.ts +10 -0
  15. package/src/components/Carousel/index.tsx +4 -1
  16. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +0 -1
  17. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -1
  18. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  19. package/src/components/Icon/IconList.ts +6 -0
  20. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -2
  21. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1 -6
  22. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1 -6
  23. package/src/components/TextInput/StyledTextInput.tsx +1 -2
  24. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +5 -6
  25. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +6 -20
  26. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +0 -2
  27. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -2
  28. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +24 -4
  29. package/src/theme/components/cardCarousel.ts +28 -0
  30. package/src/theme/components/textInput.ts +2 -6
  31. package/src/theme/getTheme.ts +3 -0
  32. package/src/types.ts +2 -0
  33. package/types/components/Card/index.d.ts +1 -1
  34. package/types/components/Carousel/CardCarousel.d.ts +40 -0
  35. package/types/components/Carousel/StyledCardCarousel.d.ts +31 -0
  36. package/types/components/Carousel/contants.d.ts +2 -0
  37. package/types/components/Carousel/index.d.ts +5 -3
  38. package/types/components/Icon/IconList.d.ts +1 -1
  39. package/types/components/Icon/index.d.ts +1 -1
  40. package/types/components/Icon/utils.d.ts +1 -1
  41. package/types/theme/components/cardCarousel.d.ts +25 -0
  42. package/types/theme/components/textInput.d.ts +1 -4
  43. package/types/theme/getTheme.d.ts +2 -0
  44. package/types/types.d.ts +2 -1
@@ -0,0 +1,289 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`CardCarousel should render correctly 1`] = `
4
+ <View
5
+ style={
6
+ Array [
7
+ Object {},
8
+ Object {
9
+ "height": 100,
10
+ "width": 100,
11
+ },
12
+ ]
13
+ }
14
+ testID="cardCarousel"
15
+ >
16
+ <RCTScrollView
17
+ bounces={false}
18
+ contentContainerStyle={
19
+ Object {
20
+ "paddingHorizontal": 24,
21
+ }
22
+ }
23
+ data={
24
+ Array [
25
+ <Text>
26
+ screen 1
27
+ </Text>,
28
+ <Text>
29
+ screen 2
30
+ </Text>,
31
+ ]
32
+ }
33
+ decelerationRate="fast"
34
+ getItem={[Function]}
35
+ getItemCount={[Function]}
36
+ getItemLayout={[Function]}
37
+ horizontal={true}
38
+ keyExtractor={[Function]}
39
+ onContentSizeChange={[Function]}
40
+ onLayout={[Function]}
41
+ onMomentumScrollBegin={[Function]}
42
+ onMomentumScrollEnd={[Function]}
43
+ onScroll={[Function]}
44
+ onScrollBeginDrag={[Function]}
45
+ onScrollEndDrag={[Function]}
46
+ onViewableItemsChanged={[Function]}
47
+ pagingEnabled={true}
48
+ removeClippedSubviews={false}
49
+ renderItem={[Function]}
50
+ renderToHardwareTextureAndroid={true}
51
+ scrollEventThrottle={32}
52
+ showsHorizontalScrollIndicator={false}
53
+ snapToAlignment="center"
54
+ snapToInterval={8}
55
+ stickyHeaderIndices={Array []}
56
+ viewabilityConfig={
57
+ Object {
58
+ "itemVisiblePercentThreshold": 80,
59
+ }
60
+ }
61
+ viewabilityConfigCallbackPairs={
62
+ Array [
63
+ Object {
64
+ "onViewableItemsChanged": [Function],
65
+ "viewabilityConfig": Object {
66
+ "itemVisiblePercentThreshold": 80,
67
+ },
68
+ },
69
+ ]
70
+ }
71
+ >
72
+ <View>
73
+ <View
74
+ style={
75
+ Array [
76
+ Object {
77
+ "flexDirection": "row",
78
+ },
79
+ null,
80
+ ]
81
+ }
82
+ >
83
+ <View
84
+ style={
85
+ Array [
86
+ Object {
87
+ "padding": 8,
88
+ },
89
+ Object {
90
+ "width": 0,
91
+ },
92
+ ]
93
+ }
94
+ >
95
+ <View
96
+ style={
97
+ Array [
98
+ Object {
99
+ "borderRadius": 8,
100
+ "elevation": 4,
101
+ "flex": 1,
102
+ "shadowColor": "#001f23",
103
+ "shadowOffset": Object {
104
+ "height": 2,
105
+ "width": 0,
106
+ },
107
+ "shadowOpacity": 0.12,
108
+ "shadowRadius": 8,
109
+ },
110
+ undefined,
111
+ ]
112
+ }
113
+ >
114
+ <View
115
+ style={
116
+ Array [
117
+ Object {
118
+ "borderRadius": 12,
119
+ "overflow": "hidden",
120
+ },
121
+ Array [
122
+ Object {
123
+ "borderRadius": 8,
124
+ "flex": 1,
125
+ "overflow": "hidden",
126
+ },
127
+ undefined,
128
+ ],
129
+ ]
130
+ }
131
+ >
132
+ <Text
133
+ style={
134
+ Array [
135
+ Object {
136
+ "color": "#001f23",
137
+ "fontFamily": "BeVietnamPro-Regular",
138
+ "fontSize": 14,
139
+ "letterSpacing": 0.42,
140
+ "lineHeight": 22,
141
+ },
142
+ undefined,
143
+ ]
144
+ }
145
+ themeFontSize="medium"
146
+ themeFontWeight="regular"
147
+ themeIntent="body"
148
+ themeTypeface="neutral"
149
+ >
150
+ screen 1
151
+ </Text>
152
+ </View>
153
+ </View>
154
+ </View>
155
+ </View>
156
+ <View
157
+ style={
158
+ Array [
159
+ Object {
160
+ "flexDirection": "row",
161
+ },
162
+ null,
163
+ ]
164
+ }
165
+ >
166
+ <View
167
+ style={
168
+ Array [
169
+ Object {
170
+ "padding": 8,
171
+ },
172
+ Object {
173
+ "width": 0,
174
+ },
175
+ ]
176
+ }
177
+ >
178
+ <View
179
+ style={
180
+ Array [
181
+ Object {
182
+ "borderRadius": 8,
183
+ "elevation": 4,
184
+ "flex": 1,
185
+ "shadowColor": "#001f23",
186
+ "shadowOffset": Object {
187
+ "height": 2,
188
+ "width": 0,
189
+ },
190
+ "shadowOpacity": 0.12,
191
+ "shadowRadius": 8,
192
+ },
193
+ undefined,
194
+ ]
195
+ }
196
+ >
197
+ <View
198
+ style={
199
+ Array [
200
+ Object {
201
+ "borderRadius": 12,
202
+ "overflow": "hidden",
203
+ },
204
+ Array [
205
+ Object {
206
+ "borderRadius": 8,
207
+ "flex": 1,
208
+ "overflow": "hidden",
209
+ },
210
+ undefined,
211
+ ],
212
+ ]
213
+ }
214
+ >
215
+ <Text
216
+ style={
217
+ Array [
218
+ Object {
219
+ "color": "#001f23",
220
+ "fontFamily": "BeVietnamPro-Regular",
221
+ "fontSize": 14,
222
+ "letterSpacing": 0.42,
223
+ "lineHeight": 22,
224
+ },
225
+ undefined,
226
+ ]
227
+ }
228
+ themeFontSize="medium"
229
+ themeFontWeight="regular"
230
+ themeIntent="body"
231
+ themeTypeface="neutral"
232
+ >
233
+ screen 2
234
+ </Text>
235
+ </View>
236
+ </View>
237
+ </View>
238
+ </View>
239
+ </View>
240
+ </RCTScrollView>
241
+ <View
242
+ style={
243
+ Array [
244
+ Object {
245
+ "alignItems": "center",
246
+ "flexDirection": "row",
247
+ },
248
+ Array [
249
+ Object {
250
+ "alignSelf": "center",
251
+ "marginTop": 16,
252
+ },
253
+ undefined,
254
+ ],
255
+ ]
256
+ }
257
+ testID="pageControl"
258
+ >
259
+ <View
260
+ collapsable={false}
261
+ style={
262
+ Object {
263
+ "backgroundColor": "#401960",
264
+ "borderRadius": 999,
265
+ "height": 8,
266
+ "marginHorizontal": 8,
267
+ "opacity": 1,
268
+ "width": 24,
269
+ }
270
+ }
271
+ testID="page-control-indicator0"
272
+ />
273
+ <View
274
+ collapsable={false}
275
+ style={
276
+ Object {
277
+ "backgroundColor": "#401960",
278
+ "borderRadius": 999,
279
+ "height": 8,
280
+ "marginHorizontal": 8,
281
+ "opacity": 0.5,
282
+ "width": 8,
283
+ }
284
+ }
285
+ testID="page-control-indicator1"
286
+ />
287
+ </View>
288
+ </View>
289
+ `;
@@ -0,0 +1,109 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`StyledCard should render correctly 1`] = `
4
+ <View
5
+ style={
6
+ Array [
7
+ Object {
8
+ "borderRadius": 12,
9
+ "overflow": "hidden",
10
+ },
11
+ Array [
12
+ Object {
13
+ "borderRadius": 8,
14
+ "flex": 1,
15
+ "overflow": "hidden",
16
+ },
17
+ undefined,
18
+ ],
19
+ ]
20
+ }
21
+ />
22
+ `;
23
+
24
+ exports[`StyledItemWrapper should render correctly 1`] = `
25
+ <View
26
+ style={
27
+ Array [
28
+ Object {
29
+ "padding": 8,
30
+ },
31
+ undefined,
32
+ ]
33
+ }
34
+ />
35
+ `;
36
+
37
+ exports[`StyledPageControl should render correctly 1`] = `
38
+ <View
39
+ style={
40
+ Array [
41
+ Object {
42
+ "alignItems": "center",
43
+ "flexDirection": "row",
44
+ },
45
+ Array [
46
+ Object {
47
+ "alignSelf": "center",
48
+ "marginTop": 16,
49
+ },
50
+ undefined,
51
+ ],
52
+ ]
53
+ }
54
+ >
55
+ <View
56
+ collapsable={false}
57
+ style={
58
+ Object {
59
+ "backgroundColor": "#401960",
60
+ "borderRadius": 999,
61
+ "height": 8,
62
+ "marginHorizontal": 8,
63
+ "opacity": 0.5,
64
+ "width": 8,
65
+ }
66
+ }
67
+ testID="page-control-indicator0"
68
+ />
69
+ <View
70
+ collapsable={false}
71
+ style={
72
+ Object {
73
+ "backgroundColor": "#401960",
74
+ "borderRadius": 999,
75
+ "height": 8,
76
+ "marginHorizontal": 8,
77
+ "opacity": 1,
78
+ "width": 24,
79
+ }
80
+ }
81
+ testID="page-control-indicator1"
82
+ />
83
+ <View
84
+ collapsable={false}
85
+ style={
86
+ Object {
87
+ "backgroundColor": "#401960",
88
+ "borderRadius": 999,
89
+ "height": 8,
90
+ "marginHorizontal": 8,
91
+ "opacity": 0.5,
92
+ "width": 8,
93
+ }
94
+ }
95
+ testID="page-control-indicator2"
96
+ />
97
+ </View>
98
+ `;
99
+
100
+ exports[`StyledWrapper should render correctly 1`] = `
101
+ <View
102
+ style={
103
+ Array [
104
+ Object {},
105
+ undefined,
106
+ ]
107
+ }
108
+ />
109
+ `;
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Carousel item width.
3
+ * the percentage of the Card Carousel width
4
+ */
5
+ export const ITEM_WIDTH_RATE = 0.85;
6
+
7
+ /*
8
+ * view position when scroll to Index
9
+ */
10
+ export const VIEW_POSITION_CENTER = 0.5;
@@ -24,6 +24,7 @@ import {
24
24
  StyledPageControl,
25
25
  } from './StyledCarousel';
26
26
  import CarouselItem from './CarouselItem';
27
+ import { CardCarousel } from './CardCarousel';
27
28
 
28
29
  interface CarouselProps extends ViewProps {
29
30
  /**
@@ -164,4 +165,6 @@ const Carousel = ({
164
165
  );
165
166
  };
166
167
 
167
- export default Carousel;
168
+ export default Object.assign(Carousel, {
169
+ Card: CardCarousel,
170
+ });
@@ -146,7 +146,6 @@ exports[`DatePickerAndroid renders correctly 1`] = `
146
146
  "alignSelf": "stretch",
147
147
  "flexGrow": 2,
148
148
  "fontSize": 14,
149
- "lineHeight": 18,
150
149
  "marginHorizontal": 8,
151
150
  "paddingVertical": 0,
152
151
  "textAlignVertical": "center",
@@ -146,7 +146,6 @@ exports[`DatePickerIOS renders correctly 1`] = `
146
146
  "alignSelf": "stretch",
147
147
  "flexGrow": 2,
148
148
  "fontSize": 14,
149
- "lineHeight": 18,
150
149
  "marginHorizontal": 8,
151
150
  "paddingVertical": 0,
152
151
  "textAlignVertical": "center",
@@ -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,"bookmark-added":59011,"bookmark":59012,"box-check":59013,"box":59014,"bpay":59015,"buildings":59016,"cake":59017,"calendar-clock":59018,"calendar":59019,"candy-box-menu":59020,"caret-down-small":59021,"caret-down":59022,"caret-left-small":59023,"caret-left":59024,"caret-right-small":59025,"caret-right":59026,"caret-up-small":59027,"caret-up":59028,"check-radio":59029,"circle-add":59030,"circle-cancel":59031,"circle-check":59032,"circle-down":59033,"circle-info":59034,"circle-left":59035,"circle-ok":59036,"circle-pencil":59037,"circle-question":59038,"circle-remove":59039,"circle-right":59040,"circle-up":59041,"circle-warning":59042,"clock-3":59043,"clock":59044,"cloud-download":59045,"cloud-upload":59046,"cog":59047,"coin":59048,"contacts":59049,"credit-card":59050,"diamond":59051,"direction-arrows":59052,"directory":59053,"document":59054,"dollar-coin-shine":59055,"double-buildings":59056,"edit-template":59057,"envelope":59058,"exclude":59059,"expense":59060,"eye-circle":59061,"eye-invisible":59062,"eye":59063,"face-meh":59064,"face-sad":59065,"face-smiley":59066,"feed":59067,"feedbacks":59068,"file-certified":59069,"file-clone":59070,"file-copy":59071,"file-csv":59072,"file-dispose":59073,"file-doc":59074,"file-excel":59075,"file-export":59076,"file-lock":59077,"file-pdf":59078,"file-powerpoint":59079,"file-search":59080,"file-secured":59081,"file-sheets":59082,"file-slide":59083,"file-verified":59084,"file-word":59085,"file":59086,"filter":59087,"folder-user":59088,"folder":59089,"format-bold":59090,"format-heading1":59091,"format-heading2":59092,"format-italic":59093,"format-list-bulleted":59094,"format-list-numbered":59095,"format-underlined":59096,"funnel-filter":59097,"global-dollar":59098,"globe":59099,"graduation-cap":59100,"graph":59101,"happy-sun":59102,"health-bag":59103,"heart":59104,"home":59105,"image":59106,"import":59107,"incident-siren":59108,"instapay":59109,"list":59110,"loading-2":59111,"loading":59112,"location":59113,"lock":59114,"looks-one":59115,"looks-two":59116,"media-content":59117,"menu":59118,"money-notes":59119,"moneybag":59120,"moon":59121,"multiple-stars":59122,"multiple-users":59123,"node":59124,"open-folder":59125,"paperclip":59126,"payment-summary":59127,"pencil":59128,"phone":59129,"piggy-bank":59130,"plane":59131,"play-circle":59132,"print":59133,"raising-hands":59134,"reply-arrow":59135,"reply":59136,"reschedule":59137,"rostering":59138,"save":59139,"schedule-send":59140,"schedule":59141,"search-person":59142,"send":59143,"speaker-active":59144,"speaker":59145,"star-award":59146,"star-badge":59147,"star-circle":59148,"star-medal":59149,"star":59150,"steps-circle":59151,"stopwatch":59152,"suitcase":59153,"survey":59154,"swag":59155,"switch":59156,"tag":59157,"target":59158,"teams":59159,"timesheet":59160,"touch-id":59161,"trash-bin":59162,"unlock":59163,"user":59164,"video-1":59165,"video-2":59166,"wallet":59167,"warning":59168,"activate-outlined":59169,"add-credit-card-outlined":59170,"add-person-outlined":59171,"add-section-outlined":59172,"add-time-outlined":59173,"add":59174,"adjustment-outlined":59175,"alignment-2-outlined":59176,"alignment-outlined":59177,"all-caps":59178,"arrow-down":59179,"arrow-downwards":59180,"arrow-left":59181,"arrow-leftwards":59182,"arrow-right":59183,"arrow-rightwards":59184,"arrow-up":59185,"arrow-upwards":59186,"article-outlined":59187,"at-sign":59188,"auto-graph-outlined":59189,"bell-active-outlined":59190,"bell-outlined":59191,"bell-slash-outlined":59192,"billing-outlined":59193,"body-outlined":59194,"bold":59195,"bookmark-added-outlined":59196,"bookmark-outlined":59197,"box-check-outlined":59198,"box-outlined":59199,"bullet-points":59200,"cake-outlined":59201,"calendar-dates-outlined":59202,"calendar-star-outlined":59203,"call-split-outlined":59204,"camera-outlined":59205,"cancel":59206,"charging-station-outlined":59207,"chat-bubble-outlined":59208,"chat-unread-outlined":59209,"checkmark":59210,"circle-add-outlined":59211,"circle-cancel-outlined":59212,"circle-down-outlined":59213,"circle-info-outlined":59214,"circle-left-outlined":59215,"circle-ok-outlined":59216,"circle-question-outlined":59217,"circle-remove-outlined":59218,"circle-right-outlined":59219,"circle-up-outlined":59220,"circle-warning-outlined":59221,"clock-2-outlined":59222,"clock-outlined":59223,"cog-outlined":59224,"coin-outlined":59225,"comment-outlined":59226,"contacts-outlined":59227,"contacts-user-outlined":59228,"credit-card-outlined":59229,"cup-outlined":59230,"direction-arrows-outlined":59231,"directory-outlined":59232,"document-outlined":59233,"dollar-box-outlined":59234,"dollar-card-outlined":59235,"dollar-coin-shine-outlined":59236,"dollar-credit-card-outlined":59237,"dollar-sign":59238,"double-buildings-outlined":59239,"double-left-arrows":59240,"double-right-arrows":59241,"download-outlined":59242,"edit-template-outlined":59243,"email-outlined":59244,"enter-arrow":59245,"envelope-outlined":59246,"expense-outlined":59247,"explore-outlined":59248,"external-link":59249,"eye-invisible-outlined":59250,"eye-outlined":59251,"face-id":59252,"face-meh-outlined":59253,"face-open-smiley-outlined":59254,"face-sad-outlined":59255,"face-smiley-outlined":59256,"feed-outlined":59257,"file-certified-outlined":59258,"file-clone-outlined":59259,"file-copy-outlined":59260,"file-dispose-outlined":59261,"file-dollar-certified-outlined":59262,"file-dollar-outlined":59263,"file-download-outlined":59264,"file-export-outlined":59265,"file-lock-outlined":59266,"file-outlined":59267,"file-search-outlined":59268,"file-secured-outlined":59269,"file-statutory-outlined":59270,"file-verified-outlined":59271,"filter-outlined":59272,"folder-outlined":59273,"folder-user-outlined":59274,"funnel-filter-outline":59275,"graph-outlined":59276,"hand-holding-user-outlined":59277,"happy-sun-outlined":59278,"health-bag-outlined":59279,"heart-outlined":59280,"home-active-outlined":59281,"home-outlined":59282,"id-card-outlined":59283,"image-outlined":59284,"import-outlined":59285,"instapay-outlined":59286,"italic":59287,"link-1":59288,"link-2":59289,"list-outlined":59290,"live-help-outlined":59291,"location-on-outlined":59292,"location-outlined":59293,"lock-outlined":59294,"locked-file-outlined":59295,"log-out":59296,"media-content-outlined":59297,"menu-close":59298,"menu-expand":59299,"menu-fold-outlined":59300,"menu-unfold-outlined":59301,"moneybag-outlined":59302,"moon-outlined":59303,"more-horizontal":59304,"more-vertical":59305,"multiple-folders-outlined":59306,"multiple-users-outlined":59307,"near-me-outlined":59308,"node-outlined":59309,"number-points":59310,"number":59311,"overview-outlined":59312,"payment-summary-outlined":59313,"payslip-outlined":59314,"pencil-outlined":59315,"percentage":59316,"phone-outlined":59317,"piggy-bank-outlined":59318,"plane-outlined":59319,"play-circle-outlined":59320,"print-outlined":59321,"qr-code-outlined":59322,"qualification-outlined":59323,"re-assign":59324,"redeem":59325,"refresh":59326,"remove":59327,"reply-outlined":59328,"restart":59329,"return-arrow":59330,"rostering-outlined":59331,"save-outlined":59332,"schedule-outlined":59333,"search-outlined":59334,"search-secured-outlined":59335,"send-outlined":59336,"share-1":59337,"share-2":59338,"share-outlined":59339,"show-chart-outlined":59340,"single-down-arrow":59341,"single-left-arrow":59342,"single-right-arrow":59343,"single-up-arrow":59344,"speaker-active-outlined":59345,"speaker-outlined":59346,"star-circle-outlined":59347,"star-outlined":59348,"stopwatch-outlined":59349,"strikethrough":59350,"suitcase-clock-outlined":59351,"suitcase-outlined":59352,"survey-outlined":59353,"switch-outlined":59354,"sync":59355,"target-outlined":59356,"timesheet-outlined":59357,"today-outlined":59358,"transfer":59359,"trash-bin-outlined":59360,"umbrela-outlined":59361,"unavailable":59362,"underline":59363,"union-outlined":59364,"unlock-outlined":59365,"upload-outlined":59366,"user-circle-outlined":59367,"user-gear-outlined":59368,"user-outlined":59369,"user-rectangle-outlined":59370,"video-1-outlined":59371,"video-2-outlined":59372,"wallet-outlined":59373}
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,"bookmark-added":59011,"bookmark":59012,"box-check":59013,"box":59014,"bpay":59015,"buildings":59016,"cake":59017,"calendar-clock":59018,"calendar":59019,"candy-box-menu":59020,"caret-down-small":59021,"caret-down":59022,"caret-left-small":59023,"caret-left":59024,"caret-right-small":59025,"caret-right":59026,"caret-up-small":59027,"caret-up":59028,"check-radio":59029,"circle-add":59030,"circle-cancel":59031,"circle-check":59032,"circle-down":59033,"circle-info":59034,"circle-left":59035,"circle-ok":59036,"circle-pencil":59037,"circle-question":59038,"circle-remove":59039,"circle-right":59040,"circle-up":59041,"circle-warning":59042,"clock-3":59043,"clock":59044,"cloud-download":59045,"cloud-upload":59046,"cog":59047,"coin":59048,"contacts":59049,"credit-card":59050,"diamond":59051,"direction-arrows":59052,"directory":59053,"document":59054,"dollar-coin-shine":59055,"double-buildings":59056,"edit-template":59057,"envelope":59058,"exclude":59059,"expense":59060,"eye-circle":59061,"eye-invisible":59062,"eye":59063,"face-meh":59064,"face-sad":59065,"face-smiley":59066,"feed":59067,"feedbacks":59068,"file-certified":59069,"file-clone":59070,"file-copy":59071,"file-csv":59072,"file-dispose":59073,"file-doc":59074,"file-excel":59075,"file-export":59076,"file-lock":59077,"file-pdf":59078,"file-powerpoint":59079,"file-search":59080,"file-secured":59081,"file-sheets":59082,"file-slide":59083,"file-verified":59084,"file-word":59085,"file":59086,"filter":59087,"folder-user":59088,"folder":59089,"format-bold":59090,"format-heading1":59091,"format-heading2":59092,"format-italic":59093,"format-list-bulleted":59094,"format-list-numbered":59095,"format-underlined":59096,"funnel-filter":59097,"global-dollar":59098,"globe":59099,"graduation-cap":59100,"graph":59101,"happy-sun":59102,"health-bag":59103,"heart":59104,"home":59105,"image":59106,"import":59107,"incident-siren":59108,"instapay":59109,"list":59110,"loading-2":59111,"loading":59112,"location":59113,"lock":59114,"looks-one":59115,"looks-two":59116,"media-content":59117,"menu":59118,"money-notes":59119,"moneybag":59120,"moon":59121,"multiple-stars":59122,"multiple-users":59123,"node":59124,"open-folder":59125,"paperclip":59126,"payment-summary":59127,"pencil":59128,"phone":59129,"piggy-bank":59130,"plane-up":59131,"plane":59132,"play-circle":59133,"print":59134,"raising-hands":59135,"reply-arrow":59136,"reply":59137,"reschedule":59138,"rostering":59139,"save":59140,"schedule-send":59141,"schedule":59142,"search-person":59143,"send":59144,"speaker-active":59145,"speaker":59146,"star-award":59147,"star-badge":59148,"star-circle":59149,"star-medal":59150,"star":59151,"steps-circle":59152,"stopwatch":59153,"suitcase":59154,"survey":59155,"swag-pillar-benefit":59156,"swag-pillar-career":59157,"swag-pillar-money":59158,"swag-pillar-work":59159,"swag":59160,"switch":59161,"tag":59162,"target":59163,"teams":59164,"timesheet":59165,"touch-id":59166,"trash-bin":59167,"unlock":59168,"user":59169,"video-1":59170,"video-2":59171,"wallet":59172,"warning":59173,"activate-outlined":59174,"add-credit-card-outlined":59175,"add-person-outlined":59176,"add-section-outlined":59177,"add-time-outlined":59178,"add":59179,"adjustment-outlined":59180,"alignment-2-outlined":59181,"alignment-outlined":59182,"all-caps":59183,"arrow-down":59184,"arrow-downwards":59185,"arrow-left":59186,"arrow-leftwards":59187,"arrow-right":59188,"arrow-rightwards":59189,"arrow-up":59190,"arrow-upwards":59191,"article-outlined":59192,"at-sign":59193,"auto-graph-outlined":59194,"bell-active-outlined":59195,"bell-outlined":59196,"bell-slash-outlined":59197,"billing-outlined":59198,"body-outlined":59199,"bold":59200,"bookmark-added-outlined":59201,"bookmark-outlined":59202,"box-check-outlined":59203,"box-outlined":59204,"bullet-points":59205,"cake-outlined":59206,"calendar-dates-outlined":59207,"calendar-star-outlined":59208,"call-split-outlined":59209,"camera-outlined":59210,"cancel":59211,"car-forward-outlined":59212,"charging-station-outlined":59213,"chat-bubble-outlined":59214,"chat-unread-outlined":59215,"checkmark":59216,"circle-add-outlined":59217,"circle-cancel-outlined":59218,"circle-down-outlined":59219,"circle-info-outlined":59220,"circle-left-outlined":59221,"circle-ok-outlined":59222,"circle-question-outlined":59223,"circle-remove-outlined":59224,"circle-right-outlined":59225,"circle-up-outlined":59226,"circle-warning-outlined":59227,"clock-2-outlined":59228,"clock-outlined":59229,"cog-outlined":59230,"coin-outlined":59231,"comment-outlined":59232,"contacts-outlined":59233,"contacts-user-outlined":59234,"credit-card-outlined":59235,"cup-outlined":59236,"direction-arrows-outlined":59237,"directory-outlined":59238,"document-outlined":59239,"dollar-box-outlined":59240,"dollar-card-outlined":59241,"dollar-coin-shine-outlined":59242,"dollar-credit-card-outlined":59243,"dollar-sign":59244,"double-buildings-outlined":59245,"double-left-arrows":59246,"double-right-arrows":59247,"download-outlined":59248,"edit-template-outlined":59249,"email-outlined":59250,"enter-arrow":59251,"envelope-outlined":59252,"expense-outlined":59253,"explore-outlined":59254,"external-link":59255,"eye-invisible-outlined":59256,"eye-outlined":59257,"face-id":59258,"face-meh-outlined":59259,"face-open-smiley-outlined":59260,"face-sad-outlined":59261,"face-smiley-outlined":59262,"feed-outlined":59263,"file-certified-outlined":59264,"file-clone-outlined":59265,"file-copy-outlined":59266,"file-dispose-outlined":59267,"file-dollar-certified-outlined":59268,"file-dollar-outlined":59269,"file-download-outlined":59270,"file-export-outlined":59271,"file-lock-outlined":59272,"file-outlined":59273,"file-search-outlined":59274,"file-secured-outlined":59275,"file-statutory-outlined":59276,"file-verified-outlined":59277,"filter-outlined":59278,"folder-outlined":59279,"folder-user-outlined":59280,"funnel-filter-outline":59281,"graph-outlined":59282,"hand-holding-user-outlined":59283,"happy-sun-outlined":59284,"health-bag-outlined":59285,"heart-outlined":59286,"home-active-outlined":59287,"home-outlined":59288,"id-card-outlined":59289,"image-outlined":59290,"import-outlined":59291,"instapay-outlined":59292,"italic":59293,"link-1":59294,"link-2":59295,"list-outlined":59296,"live-help-outlined":59297,"location-on-outlined":59298,"location-outlined":59299,"lock-outlined":59300,"locked-file-outlined":59301,"log-out":59302,"media-content-outlined":59303,"menu-close":59304,"menu-expand":59305,"menu-fold-outlined":59306,"menu-unfold-outlined":59307,"moneybag-outlined":59308,"moon-outlined":59309,"more-horizontal":59310,"more-vertical":59311,"multiple-folders-outlined":59312,"multiple-users-outlined":59313,"near-me-outlined":59314,"node-outlined":59315,"number-points":59316,"number":59317,"overview-outlined":59318,"payment-summary-outlined":59319,"payslip-outlined":59320,"pencil-outlined":59321,"percentage":59322,"phone-outlined":59323,"piggy-bank-outlined":59324,"plane-outlined":59325,"play-circle-outlined":59326,"print-outlined":59327,"qr-code-outlined":59328,"qualification-outlined":59329,"re-assign":59330,"redeem":59331,"refresh":59332,"remove":59333,"reply-outlined":59334,"restart":59335,"return-arrow":59336,"rostering-outlined":59337,"save-outlined":59338,"schedule-outlined":59339,"search-outlined":59340,"search-secured-outlined":59341,"send-outlined":59342,"share-1":59343,"share-2":59344,"share-outlined":59345,"show-chart-outlined":59346,"single-down-arrow":59347,"single-left-arrow":59348,"single-right-arrow":59349,"single-up-arrow":59350,"speaker-active-outlined":59351,"speaker-outlined":59352,"star-circle-outlined":59353,"star-outlined":59354,"stopwatch-outlined":59355,"strikethrough":59356,"suitcase-clock-outlined":59357,"suitcase-outlined":59358,"survey-outlined":59359,"switch-outlined":59360,"sync":59361,"target-outlined":59362,"timesheet-outlined":59363,"today-outlined":59364,"transfer":59365,"trash-bin-outlined":59366,"umbrela-outlined":59367,"unavailable":59368,"underline":59369,"union-outlined":59370,"unlock-outlined":59371,"upload-outlined":59372,"user-circle-outlined":59373,"user-gear-outlined":59374,"user-outlined":59375,"user-rectangle-outlined":59376,"video-1-outlined":59377,"video-2-outlined":59378,"wallet-outlined":59379}
@@ -131,6 +131,7 @@ const IconList = [
131
131
  'pencil',
132
132
  'phone',
133
133
  'piggy-bank',
134
+ 'plane-up',
134
135
  'plane',
135
136
  'play-circle',
136
137
  'print',
@@ -155,6 +156,10 @@ const IconList = [
155
156
  'stopwatch',
156
157
  'suitcase',
157
158
  'survey',
159
+ 'swag-pillar-benefit',
160
+ 'swag-pillar-career',
161
+ 'swag-pillar-money',
162
+ 'swag-pillar-work',
158
163
  'swag',
159
164
  'switch',
160
165
  'tag',
@@ -207,6 +212,7 @@ const IconList = [
207
212
  'call-split-outlined',
208
213
  'camera-outlined',
209
214
  'cancel',
215
+ 'car-forward-outlined',
210
216
  'charging-station-outlined',
211
217
  'chat-bubble-outlined',
212
218
  'chat-unread-outlined',
@@ -91,7 +91,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
91
91
  "alignItems": "center",
92
92
  "color": "#001f23",
93
93
  "fontSize": 14,
94
- "lineHeight": 18,
94
+ "marginTop": -2,
95
95
  "textAlignVertical": "center",
96
96
  },
97
97
  undefined,
@@ -356,7 +356,7 @@ exports[`RichTextEditor should render correctly 1`] = `
356
356
  "alignItems": "center",
357
357
  "color": "#001f23",
358
358
  "fontSize": 14,
359
- "lineHeight": 18,
359
+ "marginTop": -2,
360
360
  "textAlignVertical": "center",
361
361
  },
362
362
  undefined,
@@ -116,7 +116,7 @@ Array [
116
116
  "alignItems": "center",
117
117
  "color": "#001f23",
118
118
  "fontSize": 14,
119
- "lineHeight": 18,
119
+ "marginTop": -2,
120
120
  "textAlignVertical": "center",
121
121
  },
122
122
  undefined,
@@ -152,7 +152,6 @@ Array [
152
152
  "alignSelf": "stretch",
153
153
  "flexGrow": 2,
154
154
  "fontSize": 14,
155
- "lineHeight": 18,
156
155
  "marginHorizontal": 8,
157
156
  "paddingVertical": 0,
158
157
  "textAlignVertical": "center",
@@ -1509,7 +1508,6 @@ Array [
1509
1508
  "alignSelf": "stretch",
1510
1509
  "flexGrow": 2,
1511
1510
  "fontSize": 14,
1512
- "lineHeight": 18,
1513
1511
  "marginHorizontal": 8,
1514
1512
  "paddingVertical": 0,
1515
1513
  "textAlignVertical": "center",
@@ -1721,7 +1719,6 @@ Array [
1721
1719
  "alignSelf": "stretch",
1722
1720
  "flexGrow": 2,
1723
1721
  "fontSize": 14,
1724
- "lineHeight": 18,
1725
1722
  "marginHorizontal": 8,
1726
1723
  "paddingVertical": 0,
1727
1724
  "textAlignVertical": "center",
@@ -3255,7 +3252,6 @@ Array [
3255
3252
  "alignSelf": "stretch",
3256
3253
  "flexGrow": 2,
3257
3254
  "fontSize": 14,
3258
- "lineHeight": 18,
3259
3255
  "marginHorizontal": 8,
3260
3256
  "paddingVertical": 0,
3261
3257
  "textAlignVertical": "center",
@@ -3480,7 +3476,6 @@ Array [
3480
3476
  "alignSelf": "stretch",
3481
3477
  "flexGrow": 2,
3482
3478
  "fontSize": 14,
3483
- "lineHeight": 18,
3484
3479
  "marginHorizontal": 8,
3485
3480
  "paddingVertical": 0,
3486
3481
  "textAlignVertical": "center",
@@ -116,7 +116,7 @@ Array [
116
116
  "alignItems": "center",
117
117
  "color": "#001f23",
118
118
  "fontSize": 14,
119
- "lineHeight": 18,
119
+ "marginTop": -2,
120
120
  "textAlignVertical": "center",
121
121
  },
122
122
  undefined,
@@ -152,7 +152,6 @@ Array [
152
152
  "alignSelf": "stretch",
153
153
  "flexGrow": 2,
154
154
  "fontSize": 14,
155
- "lineHeight": 18,
156
155
  "marginHorizontal": 8,
157
156
  "paddingVertical": 0,
158
157
  "textAlignVertical": "center",
@@ -1434,7 +1433,6 @@ Array [
1434
1433
  "alignSelf": "stretch",
1435
1434
  "flexGrow": 2,
1436
1435
  "fontSize": 14,
1437
- "lineHeight": 18,
1438
1436
  "marginHorizontal": 8,
1439
1437
  "paddingVertical": 0,
1440
1438
  "textAlignVertical": "center",
@@ -1646,7 +1644,6 @@ Array [
1646
1644
  "alignSelf": "stretch",
1647
1645
  "flexGrow": 2,
1648
1646
  "fontSize": 14,
1649
- "lineHeight": 18,
1650
1647
  "marginHorizontal": 8,
1651
1648
  "paddingVertical": 0,
1652
1649
  "textAlignVertical": "center",
@@ -3052,7 +3049,6 @@ Array [
3052
3049
  "alignSelf": "stretch",
3053
3050
  "flexGrow": 2,
3054
3051
  "fontSize": 14,
3055
- "lineHeight": 18,
3056
3052
  "marginHorizontal": 8,
3057
3053
  "paddingVertical": 0,
3058
3054
  "textAlignVertical": "center",
@@ -3277,7 +3273,6 @@ Array [
3277
3273
  "alignSelf": "stretch",
3278
3274
  "flexGrow": 2,
3279
3275
  "fontSize": 14,
3280
- "lineHeight": 18,
3281
3276
  "marginHorizontal": 8,
3282
3277
  "paddingVertical": 0,
3283
3278
  "textAlignVertical": "center",
@@ -43,9 +43,9 @@ const StyledLabelInsideTextInput = styled(Typography.Text)<{
43
43
  textAlignVertical: 'center',
44
44
  alignContent: 'center',
45
45
  fontSize: theme.__hd__.textInput.fontSizes.labelInsideTextInput,
46
- lineHeight: theme.__hd__.textInput.lineHeights.labelInsideTextInput,
47
46
  alignItems: 'center',
48
47
  color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant],
48
+ marginTop: theme.__hd__.textInput.space.labelInsideTextInputMarginTop,
49
49
  }));
50
50
 
51
51
  const StyledAsteriskLabelInsideTextInput = styled(Typography.Text)<{
@@ -87,7 +87,6 @@ const StyledHelperText = styled(Typography.Text)(({ theme }) => ({
87
87
  const StyledTextInput = styled(TextInput)(({ theme }) => ({
88
88
  textAlignVertical: 'center',
89
89
  fontSize: theme.__hd__.textInput.fontSizes.text,
90
- lineHeight: theme.__hd__.textInput.lineHeights.text,
91
90
  alignSelf: 'stretch',
92
91
  flexGrow: 2,
93
92
  marginHorizontal: theme.__hd__.textInput.space.inputHorizontalMargin,