@fluentui-react-native/tester 0.83.0 → 0.84.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.
- package/CHANGELOG.json +63 -1
- package/CHANGELOG.md +29 -2
- package/android/build.gradle +7 -2
- package/app.json +23 -0
- package/assets/fluent_app_icon_ios.png +0 -0
- package/assets/fluent_app_icon_macos.png +0 -0
- package/assets/res/drawable/fluent_app_icon_android_background.xml +74 -0
- package/assets/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
- package/assets/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
- package/assets/res/mipmap-hdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-hdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-hdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-mdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-mdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-mdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-xhdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-xhdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-xhdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-xxhdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-xxhdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-xxhdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-xxxhdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-xxxhdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-xxxhdpi/fluent_app_icon_android_round.png +0 -0
- package/ios/Podfile.lock +9 -13
- package/lib/TestComponents/Badge/BadgeTest.d.ts +1 -2
- package/lib/TestComponents/Badge/BadgeTest.d.ts.map +1 -1
- package/lib/TestComponents/Badge/BadgeTest.js +12 -108
- package/lib/TestComponents/Badge/BadgeTest.js.map +1 -1
- package/lib/TestComponents/Badge/BasicBadgeTest.d.ts +3 -0
- package/lib/TestComponents/Badge/BasicBadgeTest.d.ts.map +1 -0
- package/lib/TestComponents/Badge/BasicBadgeTest.js +83 -0
- package/lib/TestComponents/Badge/BasicBadgeTest.js.map +1 -0
- package/lib/TestComponents/Badge/CounterBadgeTest.d.ts +3 -0
- package/lib/TestComponents/Badge/CounterBadgeTest.d.ts.map +1 -0
- package/lib/TestComponents/Badge/CounterBadgeTest.js +24 -0
- package/lib/TestComponents/Badge/CounterBadgeTest.js.map +1 -0
- package/lib/TestComponents/Badge/PresenceBadgeTest.d.ts +3 -0
- package/lib/TestComponents/Badge/PresenceBadgeTest.d.ts.map +1 -0
- package/lib/TestComponents/Badge/PresenceBadgeTest.js +18 -0
- package/lib/TestComponents/Badge/PresenceBadgeTest.js.map +1 -0
- package/lib/TestComponents/Switch/CustomizedSwitch.d.ts +3 -0
- package/lib/TestComponents/Switch/CustomizedSwitch.d.ts.map +1 -0
- package/lib/TestComponents/Switch/CustomizedSwitch.js +159 -0
- package/lib/TestComponents/Switch/CustomizedSwitch.js.map +1 -0
- package/lib/TestComponents/Switch/Switch.d.ts.map +1 -1
- package/lib/TestComponents/Switch/Switch.js +5 -0
- package/lib/TestComponents/Switch/Switch.js.map +1 -1
- package/lib-commonjs/TestComponents/Badge/BadgeTest.d.ts +1 -2
- package/lib-commonjs/TestComponents/Badge/BadgeTest.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/Badge/BadgeTest.js +15 -111
- package/lib-commonjs/TestComponents/Badge/BadgeTest.js.map +1 -1
- package/lib-commonjs/TestComponents/Badge/BasicBadgeTest.d.ts +3 -0
- package/lib-commonjs/TestComponents/Badge/BasicBadgeTest.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/Badge/BasicBadgeTest.js +87 -0
- package/lib-commonjs/TestComponents/Badge/BasicBadgeTest.js.map +1 -0
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.d.ts +3 -0
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.js +29 -0
- package/lib-commonjs/TestComponents/Badge/CounterBadgeTest.js.map +1 -0
- package/lib-commonjs/TestComponents/Badge/PresenceBadgeTest.d.ts +3 -0
- package/lib-commonjs/TestComponents/Badge/PresenceBadgeTest.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/Badge/PresenceBadgeTest.js +23 -0
- package/lib-commonjs/TestComponents/Badge/PresenceBadgeTest.js.map +1 -0
- package/lib-commonjs/TestComponents/Switch/CustomizedSwitch.d.ts +3 -0
- package/lib-commonjs/TestComponents/Switch/CustomizedSwitch.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/Switch/CustomizedSwitch.js +164 -0
- package/lib-commonjs/TestComponents/Switch/CustomizedSwitch.js.map +1 -0
- package/lib-commonjs/TestComponents/Switch/Switch.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/Switch/Switch.js +5 -0
- package/lib-commonjs/TestComponents/Switch/Switch.js.map +1 -1
- package/macos/Podfile.lock +223 -227
- package/package.json +5 -5
- package/src/TestComponents/Badge/BadgeTest.tsx +12 -181
- package/src/TestComponents/Badge/BasicBadgeTest.tsx +120 -0
- package/src/TestComponents/Badge/CounterBadgeTest.tsx +30 -0
- package/src/TestComponents/Badge/PresenceBadgeTest.tsx +26 -0
- package/src/TestComponents/Switch/CustomizedSwitch.tsx +281 -0
- package/src/TestComponents/Switch/Switch.tsx +5 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,69 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 08 Aug 2022 21:40:25 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.84.0",
|
|
7
|
+
"version": "0.84.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "nkhalil942@gmail.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "abeef208893a37feffab338d8074de3e064c7703",
|
|
14
|
+
"comment": "Added Token Customization section for Switch"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/tester",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/switch to v0.4.0",
|
|
20
|
+
"commit": "abeef208893a37feffab338d8074de3e064c7703"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Mon, 08 Aug 2022 11:50:27 GMT",
|
|
27
|
+
"tag": "@fluentui-react-native/tester_v0.83.2",
|
|
28
|
+
"version": "0.83.2",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "v.kozova13@gmail.com",
|
|
33
|
+
"package": "@fluentui-react-native/tester",
|
|
34
|
+
"commit": "b9e1f165db6bd4bfbb61ce614ede3f8b43e315d2",
|
|
35
|
+
"comment": "Added CounterBadge"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/tester",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/avatar to v1.1.34",
|
|
41
|
+
"commit": "b9e1f165db6bd4bfbb61ce614ede3f8b43e315d2"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/tester",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/badge to v0.1.19",
|
|
47
|
+
"commit": "b9e1f165db6bd4bfbb61ce614ede3f8b43e315d2"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"date": "Sun, 07 Aug 2022 20:38:13 GMT",
|
|
54
|
+
"tag": "@fluentui-react-native/tester_v0.83.1",
|
|
55
|
+
"version": "0.83.1",
|
|
56
|
+
"comments": {
|
|
57
|
+
"patch": [
|
|
58
|
+
{
|
|
59
|
+
"author": "sanajmi@microsoft.com",
|
|
60
|
+
"package": "@fluentui-react-native/tester",
|
|
61
|
+
"commit": "757b02b2c8712c6936b615ff4e8cdfeed11352f3"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"date": "Fri, 05 Aug 2022 23:22:37 GMT",
|
|
6
68
|
"tag": "@fluentui-react-native/tester_v0.83.0",
|
|
7
69
|
"version": "0.83.0",
|
|
8
70
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,39 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 08 Aug 2022 21:40:25 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.84.0
|
|
8
|
+
|
|
9
|
+
Mon, 08 Aug 2022 21:40:25 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Added Token Customization section for Switch (nkhalil942@gmail.com)
|
|
14
|
+
- Bump @fluentui-react-native/switch to v0.4.0
|
|
15
|
+
|
|
16
|
+
## 0.83.2
|
|
17
|
+
|
|
18
|
+
Mon, 08 Aug 2022 11:50:27 GMT
|
|
19
|
+
|
|
20
|
+
### Patches
|
|
21
|
+
|
|
22
|
+
- Added CounterBadge (v.kozova13@gmail.com)
|
|
23
|
+
- Bump @fluentui-react-native/avatar to v1.1.34
|
|
24
|
+
- Bump @fluentui-react-native/badge to v0.1.19
|
|
25
|
+
|
|
26
|
+
## 0.83.1
|
|
27
|
+
|
|
28
|
+
Sun, 07 Aug 2022 20:38:13 GMT
|
|
29
|
+
|
|
30
|
+
### Patches
|
|
31
|
+
|
|
32
|
+
- undefined (sanajmi@microsoft.com)
|
|
33
|
+
|
|
7
34
|
## 0.83.0
|
|
8
35
|
|
|
9
|
-
Fri, 05 Aug 2022 23:
|
|
36
|
+
Fri, 05 Aug 2022 23:22:37 GMT
|
|
10
37
|
|
|
11
38
|
### Minor changes
|
|
12
39
|
|
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
buildscript {
|
|
2
2
|
def androidTestAppDir = "../../../node_modules/react-native-test-app/android"
|
|
3
3
|
apply(from: "${androidTestAppDir}/dependencies.gradle")
|
|
4
|
+
apply(from: "${androidTestAppDir}/test-app-util.gradle")
|
|
4
5
|
|
|
5
6
|
repositories {
|
|
6
7
|
mavenCentral()
|
|
@@ -8,8 +9,12 @@ buildscript {
|
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
dependencies {
|
|
11
|
-
classpath
|
|
12
|
-
|
|
12
|
+
classpath("com.android.tools.build:gradle:${androidPluginVersion}")
|
|
13
|
+
|
|
14
|
+
if (isNewArchitectureEnabled(project)) {
|
|
15
|
+
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
16
|
+
classpath("de.undercouch:gradle-download-task:5.1.0")
|
|
17
|
+
}
|
|
13
18
|
}
|
|
14
19
|
}
|
|
15
20
|
|
package/app.json
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
"displayName": "FluentTester",
|
|
4
4
|
"singleApp": "fluent-tester",
|
|
5
5
|
"components": [{ "appKey": "FluentTester", "displayName": "Fluent Tester", "slug": "fluent-tester" }],
|
|
6
|
+
"android": {
|
|
7
|
+
"icons": "assets/res"
|
|
8
|
+
},
|
|
9
|
+
"ios": {
|
|
10
|
+
"icons": {
|
|
11
|
+
"primaryIcon": {
|
|
12
|
+
"filename": "assets/fluent_app_icon_ios.png",
|
|
13
|
+
"prerendered": true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"macos": {
|
|
18
|
+
"icons": {
|
|
19
|
+
"primaryIcon": {
|
|
20
|
+
"filename": "assets/fluent_app_icon_macos.png",
|
|
21
|
+
"prerendered": true
|
|
22
|
+
},
|
|
23
|
+
"alternateIcon": {
|
|
24
|
+
"filename": "assets/fluent_app_icon_macos.png",
|
|
25
|
+
"prerendered": true
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
6
29
|
"resources": {
|
|
7
30
|
"android": ["dist/res", "dist/index.android.bundle"],
|
|
8
31
|
"ios": ["dist/assets", "dist/index.ios.jsbundle"],
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector
|
|
3
|
+
android:height="108dp"
|
|
4
|
+
android:width="108dp"
|
|
5
|
+
android:viewportHeight="108"
|
|
6
|
+
android:viewportWidth="108"
|
|
7
|
+
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
8
|
+
<path android:fillColor="#3DDC84"
|
|
9
|
+
android:pathData="M0,0h108v108h-108z"/>
|
|
10
|
+
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
|
|
11
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
12
|
+
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
|
|
13
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
14
|
+
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
|
|
15
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
16
|
+
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
|
|
17
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
18
|
+
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
|
|
19
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
20
|
+
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
|
|
21
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
22
|
+
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
|
|
23
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
24
|
+
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
|
|
25
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
26
|
+
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
|
|
27
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
28
|
+
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
|
|
29
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
30
|
+
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
|
|
31
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
32
|
+
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
|
|
33
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
34
|
+
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
|
|
35
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
36
|
+
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
|
|
37
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
38
|
+
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
|
|
39
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
40
|
+
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
|
|
41
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
42
|
+
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
|
|
43
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
44
|
+
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
|
|
45
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
46
|
+
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
|
|
47
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
48
|
+
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
|
|
49
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
50
|
+
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
|
|
51
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
52
|
+
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
|
|
53
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
54
|
+
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
|
|
55
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
56
|
+
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
|
|
57
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
58
|
+
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
|
|
59
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
60
|
+
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
|
|
61
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
62
|
+
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
|
|
63
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
64
|
+
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
|
|
65
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
66
|
+
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
|
|
67
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
68
|
+
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
|
|
69
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
70
|
+
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
|
|
71
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
72
|
+
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
|
|
73
|
+
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
|
74
|
+
</vector>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@drawable/fluent_app_icon_android_background"/>
|
|
4
|
+
<foreground android:drawable="@mipmap/fluent_app_icon_android_foreground"/>
|
|
5
|
+
</adaptive-icon>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@drawable/fluent_app_icon_android_background"/>
|
|
4
|
+
<foreground android:drawable="@mipmap/fluent_app_icon_android_foreground"/>
|
|
5
|
+
</adaptive-icon>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ios/Podfile.lock
CHANGED
|
@@ -10,11 +10,11 @@ PODS:
|
|
|
10
10
|
- React-jsi (= 0.66.4)
|
|
11
11
|
- ReactCommon/turbomodule/core (= 0.66.4)
|
|
12
12
|
- fmt (6.2.1)
|
|
13
|
-
- FRNAvatar (0.16.
|
|
13
|
+
- FRNAvatar (0.16.1):
|
|
14
14
|
- MicrosoftFluentUI (= 0.6.1)
|
|
15
15
|
- MicrosoftFluentUI/Avatar_ios (= 0.6.1)
|
|
16
16
|
- React
|
|
17
|
-
- FRNDatePicker (0.6.
|
|
17
|
+
- FRNDatePicker (0.6.1):
|
|
18
18
|
- MicrosoftFluentUI (= 0.6.1)
|
|
19
19
|
- React
|
|
20
20
|
- glog (0.3.5)
|
|
@@ -443,15 +443,14 @@ PODS:
|
|
|
443
443
|
- React-jsi (= 0.66.4)
|
|
444
444
|
- React-logger (= 0.66.4)
|
|
445
445
|
- React-perflogger (= 0.66.4)
|
|
446
|
-
- ReactTestApp-DevSupport (1.
|
|
446
|
+
- ReactTestApp-DevSupport (1.6.2):
|
|
447
447
|
- React-Core
|
|
448
448
|
- React-jsi
|
|
449
449
|
- ReactTestApp-Resources (1.0.0-dev)
|
|
450
|
-
- RNCPicker (2.4.
|
|
450
|
+
- RNCPicker (2.4.2):
|
|
451
451
|
- React-Core
|
|
452
452
|
- RNSVG (12.3.0):
|
|
453
453
|
- React-Core
|
|
454
|
-
- SwiftLint (0.47.1)
|
|
455
454
|
- Yoga (1.14.0)
|
|
456
455
|
|
|
457
456
|
DEPENDENCIES:
|
|
@@ -494,14 +493,12 @@ DEPENDENCIES:
|
|
|
494
493
|
- ReactTestApp-Resources (from `..`)
|
|
495
494
|
- "RNCPicker (from `../../../node_modules/@react-native-picker/picker`)"
|
|
496
495
|
- RNSVG (from `../../../node_modules/react-native-svg`)
|
|
497
|
-
- SwiftLint
|
|
498
496
|
- Yoga (from `../../../node_modules/react-native/ReactCommon/yoga`)
|
|
499
497
|
|
|
500
498
|
SPEC REPOS:
|
|
501
499
|
trunk:
|
|
502
500
|
- fmt
|
|
503
501
|
- MicrosoftFluentUI
|
|
504
|
-
- SwiftLint
|
|
505
502
|
|
|
506
503
|
EXTERNAL SOURCES:
|
|
507
504
|
boost:
|
|
@@ -587,8 +584,8 @@ SPEC CHECKSUMS:
|
|
|
587
584
|
FBLazyVector: e5569e42a1c79ca00521846c223173a57aca1fe1
|
|
588
585
|
FBReactNativeSpec: fe08c1cd7e2e205718d77ad14b34957cce949b58
|
|
589
586
|
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
|
590
|
-
FRNAvatar:
|
|
591
|
-
FRNDatePicker:
|
|
587
|
+
FRNAvatar: 106dad851d08d0cea35d56310b64db6a065c2099
|
|
588
|
+
FRNDatePicker: 75eb1d59c15ec0cfe681e91316105cd2fc206bea
|
|
592
589
|
glog: 5337263514dd6f09803962437687240c5dc39aa4
|
|
593
590
|
MicrosoftFluentUI: 28925cbf24aa550b9942f844d293b90d1a5db330
|
|
594
591
|
RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9
|
|
@@ -617,11 +614,10 @@ SPEC CHECKSUMS:
|
|
|
617
614
|
React-RCTVibration: e3ffca672dd3772536cb844274094b0e2c31b187
|
|
618
615
|
React-runtimeexecutor: dec32ee6f2e2a26e13e58152271535fadff5455a
|
|
619
616
|
ReactCommon: 57b69f6383eafcbd7da625bfa6003810332313c4
|
|
620
|
-
ReactTestApp-DevSupport:
|
|
621
|
-
ReactTestApp-Resources:
|
|
622
|
-
RNCPicker:
|
|
617
|
+
ReactTestApp-DevSupport: 2fa32bc5aec307737d9836a8e40dfaa3745e7525
|
|
618
|
+
ReactTestApp-Resources: ecba662266ac5af3e30e1e3004c0fa8c0298b61a
|
|
619
|
+
RNCPicker: 0250e95ad170569a96f5b0555cdd5e65b9084dca
|
|
623
620
|
RNSVG: 302bfc9905bd8122f08966dc2ce2d07b7b52b9f8
|
|
624
|
-
SwiftLint: f80f1be7fa96d30e0aa68e58d45d4ea1ccaac519
|
|
625
621
|
Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280
|
|
626
622
|
|
|
627
623
|
PODFILE CHECKSUM: 471bcded6dd3e64a1865525c60e6a27d0b4961a9
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Badge/BadgeTest.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BadgeTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Badge/BadgeTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuB/B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAa7B,CAAC"}
|
|
@@ -1,119 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
-
import React, { useState, useCallback } from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
4
2
|
import { BADGE_TESTPAGE } from './consts';
|
|
5
3
|
import { Test } from '../Test';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { StyledPicker } from '../Common/StyledPicker';
|
|
10
|
-
import { satyaPhotoUrl } from './../PersonaCoin/styles';
|
|
11
|
-
import TestSvg from '../../FluentTester/test-data/test.svg';
|
|
12
|
-
import { ToggleButton } from '@fluentui/react-native';
|
|
13
|
-
var badgeColors = __spreadArray([], BadgeColors, true);
|
|
14
|
-
var badgeShapes = __spreadArray([], BadgeShapes, true);
|
|
15
|
-
var badgeSizes = __spreadArray([], BadgeSizes, true);
|
|
16
|
-
var badgeAppearances = __spreadArray([], BadgeAppearances, true);
|
|
17
|
-
var badgeIconPositions = ['before', 'after'];
|
|
18
|
-
var StyledBadge = Badge.customize({
|
|
19
|
-
backgroundColor: 'yellow',
|
|
20
|
-
borderColor: '#f09',
|
|
21
|
-
borderWidth: 4,
|
|
22
|
-
});
|
|
23
|
-
export var BasicBadge = function () {
|
|
24
|
-
var _a = useState('filled'), badgeAppearance = _a[0], setBadgeAppearance = _a[1];
|
|
25
|
-
var _b = useState('brand'), badgeColor = _b[0], setBadgeColor = _b[1];
|
|
26
|
-
var _c = useState('circular'), shape = _c[0], setShape = _c[1];
|
|
27
|
-
var _d = useState('medium'), size = _d[0], setSize = _d[1];
|
|
28
|
-
var _e = useState(false), showIcon = _e[0], setShowIcon = _e[1];
|
|
29
|
-
var _f = useState('before'), iconPosition = _f[0], setIconPosition = _f[1];
|
|
30
|
-
var onBadgeAppearanceChange = useCallback(function (value) { return setBadgeAppearance(value); }, []);
|
|
31
|
-
var onBadgeColorChange = useCallback(function (value) { return setBadgeColor(value); }, []);
|
|
32
|
-
var onShapeChange = useCallback(function (value) { return setShape(value); }, []);
|
|
33
|
-
var onSizeChange = useCallback(function (value) { return setSize(value); }, []);
|
|
34
|
-
var onIconPositionChange = useCallback(function (value) { return setIconPosition(value); }, []);
|
|
35
|
-
var svgProps = {
|
|
36
|
-
src: TestSvg,
|
|
37
|
-
viewBox: '0 0 500 500',
|
|
38
|
-
};
|
|
39
|
-
var fontBuiltInProps = {
|
|
40
|
-
fontFamily: 'Arial',
|
|
41
|
-
codepoint: 0x2663,
|
|
42
|
-
fontSize: 16,
|
|
43
|
-
};
|
|
44
|
-
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(Platform.OS);
|
|
45
|
-
var iconProps = { svgSource: svgProps, width: 20, height: 20 };
|
|
46
|
-
var badgeConfig = {
|
|
47
|
-
appearance: badgeAppearance,
|
|
48
|
-
color: badgeColor,
|
|
49
|
-
size: size,
|
|
50
|
-
shape: shape,
|
|
51
|
-
};
|
|
52
|
-
var badgeContent = size !== 'tiny' && size !== 'extraSmall' ? 'Basic badge' : '';
|
|
53
|
-
return (React.createElement(View, null,
|
|
54
|
-
React.createElement(View, { style: { flexDirection: 'row' } },
|
|
55
|
-
React.createElement(View, null,
|
|
56
|
-
React.createElement(StyledPicker, { prompt: "Badge appearance", selected: badgeAppearance, onChange: onBadgeAppearanceChange, collection: badgeAppearances }),
|
|
57
|
-
React.createElement(StyledPicker, { prompt: "Badge color", selected: badgeColor, onChange: onBadgeColorChange, collection: badgeColors }),
|
|
58
|
-
React.createElement(StyledPicker, { prompt: "Shape", selected: shape, onChange: onShapeChange, collection: badgeShapes }),
|
|
59
|
-
React.createElement(StyledPicker, { prompt: "Size", selected: size, onChange: onSizeChange, collection: badgeSizes }),
|
|
60
|
-
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
61
|
-
React.createElement(ToggleButton, { onClick: function () { return setShowIcon(!showIcon); }, checked: showIcon },
|
|
62
|
-
"Set ",
|
|
63
|
-
showIcon ? ' Hide icon' : ' Show icon'),
|
|
64
|
-
React.createElement(StyledPicker, { prompt: "Icon position", selected: iconPosition, onChange: onIconPositionChange, collection: badgeIconPositions })))),
|
|
65
|
-
React.createElement(View, { style: __assign({ paddingHorizontal: 40 }, commonTestStyles.vmargin) }, svgIconsEnabled && showIcon ? (React.createElement(Badge, __assign({}, badgeConfig, { icon: { svgSource: svgProps }, iconPosition: iconPosition }), badgeContent)) : (React.createElement(Badge, __assign({}, badgeConfig), badgeContent)))),
|
|
66
|
-
React.createElement(View, { style: { flexDirection: 'row' } },
|
|
67
|
-
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
68
|
-
React.createElement(View, null,
|
|
69
|
-
React.createElement(Badge, { size: "small", icon: { svgSource: svgProps } }),
|
|
70
|
-
React.createElement(Badge, { size: "medium", icon: { svgSource: svgProps } }),
|
|
71
|
-
React.createElement(Badge, { size: "large", icon: { svgSource: svgProps } }),
|
|
72
|
-
React.createElement(Badge, { size: "extraLarge", icon: { svgSource: svgProps } })),
|
|
73
|
-
React.createElement(View, null,
|
|
74
|
-
React.createElement(Badge, { size: "small", icon: { svgSource: svgProps } }, "999+"),
|
|
75
|
-
React.createElement(Badge, { size: "medium", icon: { svgSource: svgProps } }, "999+"),
|
|
76
|
-
React.createElement(Badge, { size: "large", icon: { svgSource: svgProps } }, "999+"),
|
|
77
|
-
React.createElement(Badge, { size: "extraLarge", icon: { svgSource: svgProps } }, "999+")),
|
|
78
|
-
React.createElement(View, null,
|
|
79
|
-
React.createElement(Badge, { icon: { svgSource: svgProps } }),
|
|
80
|
-
React.createElement(Badge, { icon: { svgSource: svgProps } }, "Icon before by default"),
|
|
81
|
-
React.createElement(Badge, { icon: { svgSource: svgProps }, iconPosition: "before" }, "Icon before"),
|
|
82
|
-
React.createElement(Badge, { icon: { svgSource: svgProps }, iconPosition: "after" }, "Icon after")))),
|
|
83
|
-
React.createElement(Text, null, "Size"),
|
|
84
|
-
React.createElement(Badge, { size: "tiny", shape: "circular" }),
|
|
85
|
-
React.createElement(Badge, { size: "extraSmall", shape: "circular" }),
|
|
86
|
-
React.createElement(Badge, { size: "small" }, "Small"),
|
|
87
|
-
React.createElement(Badge, { size: "medium" }, "Medium"),
|
|
88
|
-
React.createElement(Badge, { size: "large" }, "Large"),
|
|
89
|
-
React.createElement(Badge, { size: "extraLarge" }, "Extra Large")),
|
|
90
|
-
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
91
|
-
React.createElement(Text, null, "Badge with icon"),
|
|
92
|
-
React.createElement(Badge, { icon: { svgSource: svgProps }, iconPosition: "after" },
|
|
93
|
-
React.createElement(Image, { source: { uri: satyaPhotoUrl }, style: { width: 20, height: 20 } }),
|
|
94
|
-
"Badge with",
|
|
95
|
-
React.createElement(Image, { source: { uri: satyaPhotoUrl }, style: { width: 20, height: 20 } }),
|
|
96
|
-
React.createElement(Text, { style: { backgroundColor: 'yellow' } }, "optional content")),
|
|
97
|
-
React.createElement(Badge, { appearance: "outline", icon: iconProps }),
|
|
98
|
-
React.createElement(Badge, { icon: { fontSource: __assign({}, fontBuiltInProps), color: '#fff' } }, "Badge with icon"))),
|
|
99
|
-
React.createElement(StyledBadge, { appearance: "outline" }, "Styled badge"),
|
|
100
|
-
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
101
|
-
React.createElement(Text, null, "Presence Badge"),
|
|
102
|
-
React.createElement(PresenceBadge, { status: "available", size: "extraLarge" }),
|
|
103
|
-
React.createElement(PresenceBadge, { status: "available", outOfOffice: true, size: "large" }),
|
|
104
|
-
React.createElement(PresenceBadge, { status: "doNotDisturb", outOfOffice: true }),
|
|
105
|
-
React.createElement(PresenceBadge, { status: "away", size: "small" }),
|
|
106
|
-
React.createElement(PresenceBadge, { status: "busy", size: "tiny" }),
|
|
107
|
-
React.createElement(PresenceBadge, { status: "offline" }),
|
|
108
|
-
React.createElement(PresenceBadge, { status: "outOfOffice" }),
|
|
109
|
-
React.createElement(PresenceBadge, { status: "away" })))));
|
|
110
|
-
};
|
|
4
|
+
import { BasicBadge } from './BasicBadgeTest';
|
|
5
|
+
import { CounterBadgeTest } from './CounterBadgeTest';
|
|
6
|
+
import { PresenceBadgeTest } from './PresenceBadgeTest';
|
|
111
7
|
var badgeSections = [
|
|
112
8
|
{
|
|
113
9
|
name: 'Basic Badge',
|
|
114
10
|
testID: BADGE_TESTPAGE,
|
|
115
11
|
component: BasicBadge,
|
|
116
12
|
},
|
|
13
|
+
{
|
|
14
|
+
name: 'Counter Badge',
|
|
15
|
+
component: CounterBadgeTest,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'Presence Badge',
|
|
19
|
+
component: PresenceBadgeTest,
|
|
20
|
+
},
|
|
117
21
|
];
|
|
118
22
|
export var BadgeTest = function () {
|
|
119
23
|
var status = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeTest.js","sourceRoot":"","sources":["../../../src/TestComponents/Badge/BadgeTest.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BadgeTest.js","sourceRoot":"","sources":["../../../src/TestComponents/Badge/BadgeTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,IAAM,aAAa,GAAkB;IACnC;QACE,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,cAAc;QACtB,SAAS,EAAE,UAAU;KACtB;IACD;QACE,IAAI,EAAE,eAAe;QACrB,SAAS,EAAE,gBAAgB;KAC5B;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,iBAAiB;KAC7B;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,SAAS,GAA4B;IAChD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,uSAAuS,CAAC;IAE1S,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAS,CAAC;AAC5G,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicBadgeTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Badge/BasicBadgeTest.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAqCrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAiF9B,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { __assign, __spreadArray } from "tslib";
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
+
import React, { useState, useCallback } from 'react';
|
|
4
|
+
import { View, Platform, Text, Image } from 'react-native';
|
|
5
|
+
import { Badge, BadgeAppearances, BadgeColors, BadgeShapes, BadgeSizes, } from '@fluentui-react-native/badge';
|
|
6
|
+
import { StyledPicker } from '../Common/StyledPicker';
|
|
7
|
+
import { satyaPhotoUrl } from './../PersonaCoin/styles';
|
|
8
|
+
import TestSvg from '../../FluentTester/test-data/test.svg';
|
|
9
|
+
import { ToggleButton } from '@fluentui/react-native';
|
|
10
|
+
var badgeColors = __spreadArray([], BadgeColors, true);
|
|
11
|
+
var badgeShapes = __spreadArray([], BadgeShapes, true);
|
|
12
|
+
var badgeSizes = __spreadArray([], BadgeSizes, true);
|
|
13
|
+
var badgeAppearances = __spreadArray([], BadgeAppearances, true);
|
|
14
|
+
var badgeIconPositions = ['before', 'after'];
|
|
15
|
+
var BadgeNoBorder = Badge.customize({
|
|
16
|
+
borderColor: 'transparent',
|
|
17
|
+
borderWidth: 0,
|
|
18
|
+
});
|
|
19
|
+
var StyledBadge = Badge.customize({
|
|
20
|
+
backgroundColor: 'yellow',
|
|
21
|
+
borderColor: '#f09',
|
|
22
|
+
borderWidth: 4,
|
|
23
|
+
});
|
|
24
|
+
export var BasicBadge = function () {
|
|
25
|
+
var _a = useState('filled'), badgeAppearance = _a[0], setBadgeAppearance = _a[1];
|
|
26
|
+
var _b = useState('brand'), badgeColor = _b[0], setBadgeColor = _b[1];
|
|
27
|
+
var _c = useState('circular'), shape = _c[0], setShape = _c[1];
|
|
28
|
+
var _d = useState('medium'), size = _d[0], setSize = _d[1];
|
|
29
|
+
var _e = useState(false), showIcon = _e[0], setShowIcon = _e[1];
|
|
30
|
+
var _f = useState('before'), iconPosition = _f[0], setIconPosition = _f[1];
|
|
31
|
+
var onBadgeAppearanceChange = useCallback(function (value) { return setBadgeAppearance(value); }, []);
|
|
32
|
+
var onBadgeColorChange = useCallback(function (value) { return setBadgeColor(value); }, []);
|
|
33
|
+
var onShapeChange = useCallback(function (value) { return setShape(value); }, []);
|
|
34
|
+
var onSizeChange = useCallback(function (value) { return setSize(value); }, []);
|
|
35
|
+
var onIconPositionChange = useCallback(function (value) { return setIconPosition(value); }, []);
|
|
36
|
+
var svgProps = {
|
|
37
|
+
src: TestSvg,
|
|
38
|
+
viewBox: '0 0 500 500',
|
|
39
|
+
};
|
|
40
|
+
var fontBuiltInProps = {
|
|
41
|
+
fontFamily: 'Arial',
|
|
42
|
+
codepoint: 0x2663,
|
|
43
|
+
fontSize: 16,
|
|
44
|
+
};
|
|
45
|
+
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(Platform.OS);
|
|
46
|
+
var iconProps = { svgSource: svgProps, width: 20, height: 20 };
|
|
47
|
+
var badgeConfig = {
|
|
48
|
+
appearance: badgeAppearance,
|
|
49
|
+
color: badgeColor,
|
|
50
|
+
size: size,
|
|
51
|
+
shape: shape,
|
|
52
|
+
};
|
|
53
|
+
return (React.createElement(View, null,
|
|
54
|
+
React.createElement(StyledPicker, { prompt: "Badge appearance", selected: badgeAppearance, onChange: onBadgeAppearanceChange, collection: badgeAppearances }),
|
|
55
|
+
React.createElement(StyledPicker, { prompt: "Badge color", selected: badgeColor, onChange: onBadgeColorChange, collection: badgeColors }),
|
|
56
|
+
React.createElement(StyledPicker, { prompt: "Shape", selected: shape, onChange: onShapeChange, collection: badgeShapes }),
|
|
57
|
+
React.createElement(StyledPicker, { prompt: "Size", selected: size, onChange: onSizeChange, collection: badgeSizes }),
|
|
58
|
+
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
59
|
+
React.createElement(ToggleButton, { onClick: function () { return setShowIcon(!showIcon); }, checked: showIcon },
|
|
60
|
+
"Set ",
|
|
61
|
+
showIcon ? ' Hide icon' : ' Show icon'),
|
|
62
|
+
React.createElement(StyledPicker, { prompt: "Icon position", selected: iconPosition, onChange: onIconPositionChange, collection: badgeIconPositions }))),
|
|
63
|
+
svgIconsEnabled && showIcon ? (React.createElement(Badge, __assign({}, badgeConfig, { icon: { svgSource: svgProps }, iconPosition: iconPosition }), "Basic badge")) : (React.createElement(Badge, __assign({}, badgeConfig), "Basic badge")),
|
|
64
|
+
React.createElement(Text, null, "Size"),
|
|
65
|
+
React.createElement(Badge, { size: "tiny", shape: "circular" }),
|
|
66
|
+
React.createElement(Badge, { size: "extraSmall", shape: "circular" }),
|
|
67
|
+
React.createElement(Badge, { size: "small" }, "Small"),
|
|
68
|
+
React.createElement(Badge, { size: "medium" }, "Medium"),
|
|
69
|
+
React.createElement(Badge, { size: "large" }, "Large"),
|
|
70
|
+
React.createElement(Badge, { size: "extraLarge" }, "Extra Large"),
|
|
71
|
+
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
72
|
+
React.createElement(Text, null, "Badge with icon"),
|
|
73
|
+
React.createElement(Badge, { icon: { svgSource: svgProps }, iconPosition: "after" },
|
|
74
|
+
"Badge with",
|
|
75
|
+
React.createElement(Image, { source: { uri: satyaPhotoUrl }, style: { width: 20, height: 20 } }),
|
|
76
|
+
React.createElement(Text, { style: { backgroundColor: 'yellow' } }, "optional content")),
|
|
77
|
+
React.createElement(Badge, { appearance: "outline", icon: iconProps }),
|
|
78
|
+
React.createElement(Badge, { icon: { fontSource: __assign({}, fontBuiltInProps), color: '#fff' } }, "Badge with icon"),
|
|
79
|
+
React.createElement(Text, null, "Customized Badge"),
|
|
80
|
+
React.createElement(BadgeNoBorder, { appearance: "outline", icon: iconProps }))),
|
|
81
|
+
React.createElement(StyledBadge, { appearance: "outline" }, "Styled badge")));
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=BasicBadgeTest.js.map
|