@hero-design/rn-work-uikit 1.6.2-alpha.0 → 1.6.2-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn-work-uikit",
3
- "version": "1.6.2-alpha.0",
3
+ "version": "1.6.2-alpha.2",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -23,7 +23,7 @@
23
23
  "@emotion/native": "^11.9.3",
24
24
  "@emotion/primitives-core": "11.0.0",
25
25
  "@emotion/react": "^11.9.3",
26
- "@hero-design/rn": "^8.104.1-alpha.0",
26
+ "@hero-design/rn": "^8.105.1-alpha.0",
27
27
  "hero-editor": "^1.15.5"
28
28
  },
29
29
  "peerDependencies": {
@@ -326,7 +326,7 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
326
326
  themeIntent="text"
327
327
  themeSize="medium"
328
328
  >
329
-
329
+
330
330
  </Text>
331
331
  </View>
332
332
  </Pressable>
@@ -519,7 +519,7 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
519
519
  themeIntent="text"
520
520
  themeSize="xsmall"
521
521
  >
522
-
522
+
523
523
  </Text>
524
524
  </TouchableOpacity>
525
525
  </View>
@@ -976,7 +976,7 @@ exports[`Dialog renders DatePickerAndroid when OS is android 1`] = `
976
976
  themeIntent="text"
977
977
  themeSize="medium"
978
978
  >
979
-
979
+
980
980
  </Text>
981
981
  </View>
982
982
  </Pressable>
@@ -1310,7 +1310,7 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
1310
1310
  themeIntent="text"
1311
1311
  themeSize="medium"
1312
1312
  >
1313
-
1313
+
1314
1314
  </Text>
1315
1315
  </View>
1316
1316
  </Pressable>
@@ -1503,7 +1503,7 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
1503
1503
  themeIntent="text"
1504
1504
  themeSize="xsmall"
1505
1505
  >
1506
-
1506
+
1507
1507
  </Text>
1508
1508
  </TouchableOpacity>
1509
1509
  </View>
@@ -330,7 +330,7 @@ exports[`MultiSelect renders correctly (snapshot) 1`] = `
330
330
  themeIntent="text"
331
331
  themeSize="medium"
332
332
  >
333
-
333
+
334
334
  </Text>
335
335
  </View>
336
336
  </Pressable>
@@ -527,7 +527,7 @@ exports[`MultiSelect renders correctly (snapshot) 1`] = `
527
527
  themeIntent="text"
528
528
  themeSize="xsmall"
529
529
  >
530
-
530
+
531
531
  </Text>
532
532
  </TouchableOpacity>
533
533
  </View>
@@ -1027,7 +1027,7 @@ exports[`Select renders correctly (snapshot) 1`] = `
1027
1027
  themeIntent="text"
1028
1028
  themeSize="medium"
1029
1029
  >
1030
-
1030
+
1031
1031
  </Text>
1032
1032
  </View>
1033
1033
  </Pressable>
@@ -1224,7 +1224,7 @@ exports[`Select renders correctly (snapshot) 1`] = `
1224
1224
  themeIntent="text"
1225
1225
  themeSize="xsmall"
1226
1226
  >
1227
-
1227
+
1228
1228
  </Text>
1229
1229
  </TouchableOpacity>
1230
1230
  </View>
@@ -211,7 +211,7 @@ exports[`TextInput when user applies custom styling should respect user-provided
211
211
  themeIntent="text"
212
212
  themeSize="xsmall"
213
213
  >
214
-
214
+
215
215
  </Text>
216
216
  </View>
217
217
  </View>
@@ -1153,7 +1153,7 @@ exports[`TextInput when user encounters a read-only field should display content
1153
1153
  themeIntent="text"
1154
1154
  themeSize="xsmall"
1155
1155
  >
1156
-
1156
+
1157
1157
  </Text>
1158
1158
  </View>
1159
1159
  </View>
@@ -1269,7 +1269,7 @@ exports[`TextInput when user encounters a read-only field should display content
1269
1269
  themeIntent="text"
1270
1270
  themeSize="medium"
1271
1271
  >
1272
-
1272
+
1273
1273
  </Text>
1274
1274
  </View>
1275
1275
  </Pressable>
@@ -1515,7 +1515,7 @@ exports[`TextInput when user has entered text should show the input content and
1515
1515
  themeIntent="text"
1516
1516
  themeSize="xsmall"
1517
1517
  >
1518
-
1518
+
1519
1519
  </Text>
1520
1520
  </View>
1521
1521
  </View>
@@ -1631,7 +1631,7 @@ exports[`TextInput when user has entered text should show the input content and
1631
1631
  themeIntent="text"
1632
1632
  themeSize="medium"
1633
1633
  >
1634
-
1634
+
1635
1635
  </Text>
1636
1636
  </View>
1637
1637
  </Pressable>
@@ -1848,7 +1848,7 @@ exports[`TextInput when user interacts with placeholder text starting from empty
1848
1848
  themeIntent="text"
1849
1849
  themeSize="xsmall"
1850
1850
  >
1851
-
1851
+
1852
1852
  </Text>
1853
1853
  </View>
1854
1854
  </View>
@@ -2445,7 +2445,7 @@ exports[`TextInput when user provides default values starting with pre-filled co
2445
2445
  themeIntent="text"
2446
2446
  themeSize="xsmall"
2447
2447
  >
2448
-
2448
+
2449
2449
  </Text>
2450
2450
  </View>
2451
2451
  </View>
@@ -2800,7 +2800,7 @@ exports[`TextInput when user provides default values when both default and contr
2800
2800
  themeIntent="text"
2801
2801
  themeSize="xsmall"
2802
2802
  >
2803
-
2803
+
2804
2804
  </Text>
2805
2805
  </View>
2806
2806
  </View>
@@ -3185,7 +3185,7 @@ exports[`TextInput when user sees a loading state should show loading indicator
3185
3185
  themeIntent="text"
3186
3186
  themeSize="xsmall"
3187
3187
  >
3188
-
3188
+
3189
3189
  </Text>
3190
3190
  </View>
3191
3191
  </View>
@@ -3537,7 +3537,7 @@ exports[`TextInput when user sees a required field should indicate the field is
3537
3537
  themeIntent="text"
3538
3538
  themeSize="xsmall"
3539
3539
  >
3540
-
3540
+
3541
3541
  </Text>
3542
3542
  </View>
3543
3543
  </View>
@@ -3652,7 +3652,7 @@ exports[`TextInput when user sees a required field should indicate the field is
3652
3652
  themeIntent="text"
3653
3653
  themeSize="medium"
3654
3654
  >
3655
-
3655
+
3656
3656
  </Text>
3657
3657
  </View>
3658
3658
  </Pressable>
@@ -3898,7 +3898,7 @@ exports[`TextInput when user sees a textarea with character count should display
3898
3898
  themeIntent="text"
3899
3899
  themeSize="xsmall"
3900
3900
  >
3901
-
3901
+
3902
3902
  </Text>
3903
3903
  </View>
3904
3904
  </View>
@@ -4051,7 +4051,7 @@ exports[`TextInput when user sees a textarea with character count should display
4051
4051
  themeIntent="text"
4052
4052
  themeSize="medium"
4053
4053
  >
4054
-
4054
+
4055
4055
  </Text>
4056
4056
  </View>
4057
4057
  </Pressable>
@@ -4297,7 +4297,7 @@ exports[`TextInput when user sees a textarea with character count should hide ch
4297
4297
  themeIntent="text"
4298
4298
  themeSize="xsmall"
4299
4299
  >
4300
-
4300
+
4301
4301
  </Text>
4302
4302
  </View>
4303
4303
  </View>
@@ -4415,7 +4415,7 @@ exports[`TextInput when user sees a textarea with character count should hide ch
4415
4415
  themeIntent="text"
4416
4416
  themeSize="medium"
4417
4417
  >
4418
-
4418
+
4419
4419
  </Text>
4420
4420
  </View>
4421
4421
  </Pressable>
@@ -4663,7 +4663,7 @@ exports[`TextInput when user sees an empty input field should display label and
4663
4663
  themeIntent="text"
4664
4664
  themeSize="xsmall"
4665
4665
  >
4666
-
4666
+
4667
4667
  </Text>
4668
4668
  </View>
4669
4669
  </View>
@@ -4778,7 +4778,7 @@ exports[`TextInput when user sees an empty input field should display label and
4778
4778
  themeIntent="text"
4779
4779
  themeSize="medium"
4780
4780
  >
4781
-
4781
+
4782
4782
  </Text>
4783
4783
  </View>
4784
4784
  </Pressable>
@@ -4995,7 +4995,7 @@ exports[`TextInput when user sees an error state should display error message to
4995
4995
  themeIntent="text"
4996
4996
  themeSize="xsmall"
4997
4997
  >
4998
-
4998
+
4999
4999
  </Text>
5000
5000
  </View>
5001
5001
  </View>
@@ -5372,7 +5372,7 @@ exports[`TextInput when user sees helper text should display guidance text to as
5372
5372
  themeIntent="text"
5373
5373
  themeSize="xsmall"
5374
5374
  >
5375
-
5375
+
5376
5376
  </Text>
5377
5377
  </View>
5378
5378
  </View>
@@ -1151,6 +1151,59 @@ exports[`theme returns correct theme object 1`] = `
1151
1151
  "iconMarginRight": 11.76923076923077,
1152
1152
  },
1153
1153
  },
1154
+ "segmentedControl": {
1155
+ "colors": {
1156
+ "itemBackground": {
1157
+ "active": "#ffffff",
1158
+ "inactive": "transparent",
1159
+ },
1160
+ "wrapperBackground": "#f6f6f7",
1161
+ },
1162
+ "lineHeights": {
1163
+ "itemText": undefined,
1164
+ },
1165
+ "radii": {
1166
+ "item": {
1167
+ "large": 16,
1168
+ "medium": 12,
1169
+ },
1170
+ "wrapper": {
1171
+ "large": 20,
1172
+ "medium": 16,
1173
+ },
1174
+ },
1175
+ "shadows": {
1176
+ "item": {
1177
+ "active": {
1178
+ "elevation": 6,
1179
+ "shadowColor": "#001f23",
1180
+ "shadowOffset": {
1181
+ "height": 2,
1182
+ "width": 0,
1183
+ },
1184
+ "shadowOpacity": 0.12,
1185
+ "shadowRadius": 2,
1186
+ },
1187
+ "inactive": undefined,
1188
+ },
1189
+ },
1190
+ "sizes": {
1191
+ "itemHeight": {
1192
+ "large": 35.30769230769231,
1193
+ "medium": 27.46153846153846,
1194
+ },
1195
+ "wrapperHeight": {
1196
+ "large": 43.15384615384615,
1197
+ "medium": 35.30769230769231,
1198
+ },
1199
+ },
1200
+ "space": {
1201
+ "itemAffixGap": 7.846153846153847,
1202
+ "itemLabelGap": 3.9230769230769234,
1203
+ "itemLabelMarginEnd": 11.76923076923077,
1204
+ "wrapperHorizontalPadding": 3.9230769230769234,
1205
+ },
1206
+ },
1154
1207
  "select": {
1155
1208
  "radii": {
1156
1209
  "option": 4,
@@ -1583,6 +1636,7 @@ exports[`theme returns correct theme object 1`] = `
1583
1636
  "body": "#001f23",
1584
1637
  "danger": "#f46363",
1585
1638
  "disabled": "#bfc1c5",
1639
+ "inactive": "#808f91",
1586
1640
  "info": "#355bfb",
1587
1641
  "inverted": "#ffffff",
1588
1642
  "muted": "#4d6265",