unicorn-demo-app 7.26.1 → 7.26.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
|
@@ -1908,7 +1908,6 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
1908
1908
|
}
|
|
1909
1909
|
style={
|
|
1910
1910
|
[
|
|
1911
|
-
undefined,
|
|
1912
1911
|
undefined,
|
|
1913
1912
|
{
|
|
1914
1913
|
"height": 16,
|
|
@@ -1916,6 +1915,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
1916
1915
|
},
|
|
1917
1916
|
undefined,
|
|
1918
1917
|
false,
|
|
1918
|
+
undefined,
|
|
1919
1919
|
]
|
|
1920
1920
|
}
|
|
1921
1921
|
/>
|
|
@@ -2763,20 +2763,18 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
2763
2763
|
}
|
|
2764
2764
|
style={
|
|
2765
2765
|
[
|
|
2766
|
-
[
|
|
2767
|
-
{
|
|
2768
|
-
"tintColor": "#5A48F5",
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"tintColor": "#A6ACB1",
|
|
2772
|
-
},
|
|
2773
|
-
],
|
|
2774
2766
|
undefined,
|
|
2775
2767
|
undefined,
|
|
2776
2768
|
undefined,
|
|
2777
2769
|
{
|
|
2778
2770
|
"tintColor": "#5A48F5",
|
|
2779
2771
|
},
|
|
2772
|
+
[
|
|
2773
|
+
{},
|
|
2774
|
+
{
|
|
2775
|
+
"tintColor": "#A6ACB1",
|
|
2776
|
+
},
|
|
2777
|
+
],
|
|
2780
2778
|
]
|
|
2781
2779
|
}
|
|
2782
2780
|
testID="undefined.clearButton.icon"
|
|
@@ -2796,8 +2794,8 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
2796
2794
|
undefined,
|
|
2797
2795
|
undefined,
|
|
2798
2796
|
undefined,
|
|
2799
|
-
undefined,
|
|
2800
2797
|
false,
|
|
2798
|
+
undefined,
|
|
2801
2799
|
]
|
|
2802
2800
|
}
|
|
2803
2801
|
/>
|
|
@@ -3432,18 +3430,16 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
3432
3430
|
}
|
|
3433
3431
|
style={
|
|
3434
3432
|
[
|
|
3435
|
-
[
|
|
3436
|
-
{
|
|
3437
|
-
"tintColor": "#20303C",
|
|
3438
|
-
},
|
|
3439
|
-
undefined,
|
|
3440
|
-
],
|
|
3441
3433
|
undefined,
|
|
3442
3434
|
undefined,
|
|
3443
3435
|
undefined,
|
|
3444
3436
|
{
|
|
3445
3437
|
"tintColor": "#20303C",
|
|
3446
3438
|
},
|
|
3439
|
+
[
|
|
3440
|
+
{},
|
|
3441
|
+
undefined,
|
|
3442
|
+
],
|
|
3447
3443
|
]
|
|
3448
3444
|
}
|
|
3449
3445
|
testID="undefined.icon"
|
|
@@ -5399,7 +5395,6 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
5399
5395
|
}
|
|
5400
5396
|
style={
|
|
5401
5397
|
[
|
|
5402
|
-
undefined,
|
|
5403
5398
|
{
|
|
5404
5399
|
"marginLeft": 4,
|
|
5405
5400
|
},
|
|
@@ -5409,6 +5404,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
5409
5404
|
},
|
|
5410
5405
|
undefined,
|
|
5411
5406
|
false,
|
|
5407
|
+
undefined,
|
|
5412
5408
|
]
|
|
5413
5409
|
}
|
|
5414
5410
|
/>
|
|
@@ -215,6 +215,10 @@ export default class ButtonsScreen extends Component {
|
|
|
215
215
|
</View>
|
|
216
216
|
|
|
217
217
|
<Button style={{marginBottom: ButtonSpace}} size={Button.sizes.small} iconSource={plusIcon} label="Icon"/>
|
|
218
|
+
|
|
219
|
+
<Button marginB-s5 iconSource={plusIcon} iconProps={{tintColor: 'red'}} label="Custom icon color"/>
|
|
220
|
+
|
|
221
|
+
<Button marginB-s5 iconSource={plusIcon} iconStyle={{tintColor: 'pink'}} label="Custom icon style"/>
|
|
218
222
|
|
|
219
223
|
<Button style={{marginBottom: ButtonSpace}} outline iconSource={plusIcon} label="Icon"/>
|
|
220
224
|
|
|
@@ -234,15 +238,16 @@ export default class ButtonsScreen extends Component {
|
|
|
234
238
|
style={{marginBottom: ButtonSpace}}
|
|
235
239
|
iconSource={iconStyle => (
|
|
236
240
|
<View
|
|
237
|
-
style={
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
241
|
+
style={[
|
|
242
|
+
iconStyle,
|
|
243
|
+
{
|
|
244
|
+
width: 20,
|
|
245
|
+
height: 20,
|
|
246
|
+
// @ts-expect-error
|
|
247
|
+
backgroundColor: iconStyle[0]?.tintColor,
|
|
248
|
+
borderRadius: 10
|
|
249
|
+
}
|
|
250
|
+
]}
|
|
246
251
|
/>
|
|
247
252
|
)}
|
|
248
253
|
/>
|
|
@@ -266,7 +266,7 @@ export default class PickerScreen extends Component {
|
|
|
266
266
|
<Picker
|
|
267
267
|
value={this.state.filter}
|
|
268
268
|
onChange={value => this.setState({filter: value})}
|
|
269
|
-
label="Your Posts"
|
|
269
|
+
label="Your Posts: "
|
|
270
270
|
placeholder="Filter posts"
|
|
271
271
|
fieldType={Picker.fieldTypes.filter}
|
|
272
272
|
marginB-s3
|