@fluentui-react-native/tester 0.70.2 → 0.71.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 +138 -3
- package/CHANGELOG.md +30 -2
- package/lib/FluentTester/TestComponents/Notification/NotificationTest.d.ts.map +1 -1
- package/lib/FluentTester/TestComponents/Notification/NotificationTest.js +9 -0
- package/lib/FluentTester/TestComponents/Notification/NotificationTest.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Notification/NotificationTest.d.ts.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Notification/NotificationTest.js +9 -0
- package/lib-commonjs/FluentTester/TestComponents/Notification/NotificationTest.js.map +1 -1
- package/package.json +21 -21
- package/src/FluentTester/TestComponents/Notification/NotificationTest.tsx +19 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,142 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Thu, 07 Jul 2022
|
|
5
|
+
"date": "Thu, 07 Jul 2022 21:22:09 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.71.0",
|
|
7
|
+
"version": "0.71.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "joannaquu@gmail.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "0bd7f44b8568fef76490f87cfd3f2de384807d13",
|
|
14
|
+
"comment": "added letter spacing"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/tester",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/avatar to v1.1.6",
|
|
20
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/tester",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/badge to v0.0.46",
|
|
26
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/tester",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/button to v0.22.30",
|
|
32
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/tester",
|
|
37
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.5.30",
|
|
38
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/tester",
|
|
43
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.15.2",
|
|
44
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui-react-native/tester",
|
|
49
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.15.31",
|
|
50
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui-react-native/tester",
|
|
55
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.11.15",
|
|
56
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui-react-native/tester",
|
|
61
|
+
"comment": "Bump @fluentui-react-native/experimental-drawer to v0.1.14",
|
|
62
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@fluentui-react-native/tester",
|
|
67
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.3.34",
|
|
68
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@fluentui-react-native/tester",
|
|
73
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.3.52",
|
|
74
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@fluentui-react-native/tester",
|
|
79
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.6.34",
|
|
80
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "@fluentui-react-native/tester",
|
|
85
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.4.53",
|
|
86
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"author": "beachball",
|
|
90
|
+
"package": "@fluentui-react-native/tester",
|
|
91
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.9.1",
|
|
92
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"author": "beachball",
|
|
96
|
+
"package": "@fluentui-react-native/tester",
|
|
97
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.31",
|
|
98
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"author": "beachball",
|
|
102
|
+
"package": "@fluentui-react-native/tester",
|
|
103
|
+
"comment": "Bump @fluentui-react-native/icon to v0.12.2",
|
|
104
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"author": "beachball",
|
|
108
|
+
"package": "@fluentui-react-native/tester",
|
|
109
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.16.4",
|
|
110
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"author": "beachball",
|
|
114
|
+
"package": "@fluentui-react-native/tester",
|
|
115
|
+
"comment": "Bump @fluentui-react-native/menu to v1.0.3",
|
|
116
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"author": "beachball",
|
|
120
|
+
"package": "@fluentui-react-native/tester",
|
|
121
|
+
"comment": "Bump @fluentui-react-native/notification to v0.4.0",
|
|
122
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"author": "beachball",
|
|
126
|
+
"package": "@fluentui-react-native/tester",
|
|
127
|
+
"comment": "Bump @fluentui-react-native/stack to v0.6.30",
|
|
128
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"author": "beachball",
|
|
132
|
+
"package": "@fluentui-react-native/tester",
|
|
133
|
+
"comment": "Bump @fluentui/react-native to v0.30.6",
|
|
134
|
+
"commit": "f10be0c3afa914ad42fcb639dc4d0a65a87c6425"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"date": "Thu, 07 Jul 2022 17:57:30 GMT",
|
|
6
141
|
"tag": "@fluentui-react-native/tester_v0.70.2",
|
|
7
142
|
"version": "0.70.2",
|
|
8
143
|
"comments": {
|
|
@@ -17,13 +152,13 @@
|
|
|
17
152
|
"author": "beachball",
|
|
18
153
|
"package": "@fluentui-react-native/tester",
|
|
19
154
|
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.3.51",
|
|
20
|
-
"commit": "
|
|
155
|
+
"commit": "0bd7f44b8568fef76490f87cfd3f2de384807d13"
|
|
21
156
|
},
|
|
22
157
|
{
|
|
23
158
|
"author": "beachball",
|
|
24
159
|
"package": "@fluentui-react-native/tester",
|
|
25
160
|
"comment": "Bump @fluentui/react-native to v0.30.5",
|
|
26
|
-
"commit": "
|
|
161
|
+
"commit": "0bd7f44b8568fef76490f87cfd3f2de384807d13"
|
|
27
162
|
}
|
|
28
163
|
]
|
|
29
164
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,40 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu, 07 Jul 2022
|
|
3
|
+
This log was last generated on Thu, 07 Jul 2022 21:22:09 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.71.0
|
|
8
|
+
|
|
9
|
+
Thu, 07 Jul 2022 21:22:09 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- added letter spacing (joannaquu@gmail.com)
|
|
14
|
+
- Bump @fluentui-react-native/avatar to v1.1.6
|
|
15
|
+
- Bump @fluentui-react-native/badge to v0.0.46
|
|
16
|
+
- Bump @fluentui-react-native/button to v0.22.30
|
|
17
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.5.30
|
|
18
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.15.2
|
|
19
|
+
- Bump @fluentui-react-native/experimental-button to v0.15.31
|
|
20
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.11.15
|
|
21
|
+
- Bump @fluentui-react-native/experimental-drawer to v0.1.14
|
|
22
|
+
- Bump @fluentui-react-native/experimental-expander to v0.3.34
|
|
23
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.3.52
|
|
24
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.6.34
|
|
25
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.4.53
|
|
26
|
+
- Bump @fluentui-react-native/experimental-text to v0.9.1
|
|
27
|
+
- Bump @fluentui-react-native/framework to v0.7.31
|
|
28
|
+
- Bump @fluentui-react-native/icon to v0.12.2
|
|
29
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.16.4
|
|
30
|
+
- Bump @fluentui-react-native/menu to v1.0.3
|
|
31
|
+
- Bump @fluentui-react-native/notification to v0.4.0
|
|
32
|
+
- Bump @fluentui-react-native/stack to v0.6.30
|
|
33
|
+
- Bump @fluentui/react-native to v0.30.6
|
|
34
|
+
|
|
7
35
|
## 0.70.2
|
|
8
36
|
|
|
9
|
-
Thu, 07 Jul 2022 17:57:
|
|
37
|
+
Thu, 07 Jul 2022 17:57:30 GMT
|
|
10
38
|
|
|
11
39
|
### Patches
|
|
12
40
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationTest.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationTest.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkG/B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAYpC,CAAC"}
|
|
@@ -6,6 +6,11 @@ var PrimaryTest = function () {
|
|
|
6
6
|
console.log('Notification tapped');
|
|
7
7
|
} }, "Mail Archived"));
|
|
8
8
|
};
|
|
9
|
+
var PrimaryTestWithTitle = function () {
|
|
10
|
+
return (React.createElement(Notification, { variant: 'primary', title: "Kat's iPhone X", action: "X", onPress: function () {
|
|
11
|
+
console.log('Notification tapped');
|
|
12
|
+
} }, "Listen to Emails \u2022 7 mins"));
|
|
13
|
+
};
|
|
9
14
|
var NeutralTest = function () {
|
|
10
15
|
return (React.createElement(Notification, { variant: 'neutral', action: "Sign in", onPress: function () {
|
|
11
16
|
console.log('Notification tapped');
|
|
@@ -26,6 +31,10 @@ var notificationSections = [
|
|
|
26
31
|
name: 'Primary',
|
|
27
32
|
component: PrimaryTest,
|
|
28
33
|
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Primary With Title',
|
|
36
|
+
component: PrimaryTestWithTitle,
|
|
37
|
+
},
|
|
29
38
|
{
|
|
30
39
|
name: 'Neutral',
|
|
31
40
|
component: NeutralTest,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAE5D,IAAM,WAAW,GAA4B;IAC3C,OAAO,CACL,oBAAC,YAAY,IACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,MAAM,EACb,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,oBAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,WAAW,GAA4B;IAC3C,OAAO,CACL,oBAAC,YAAY,IACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,SAAS,EAChB,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,qDAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,UAAU,GAA4B;IAC1C,OAAO,CACL,oBAAC,YAAY,IACX,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAC,OAAO,EACd,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,sEAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,WAAW,GAA4B;IAC3C,OAAO,CACL,oBAAC,YAAY,IACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,GAAG,EACV,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,gBAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,oBAAoB,GAAkB;IAC1C;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,UAAU;KACtB;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAA4B;IACvD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GAAG,gCAAgC,CAAC;IAErD,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,GAAS,CAAC;AAC1H,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"NotificationTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAA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AC,CAAC;AAEF,IAAM,oBAAoB,GAAkB;IAC1C;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,SAAS,EAAE,oBAAoB;KAChC;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,UAAU;KACtB;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAA4B;IACvD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GAAG,gCAAgC,CAAC;IAErD,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,GAAS,CAAC;AAC1H,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationTest.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationTest.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkG/B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAYpC,CAAC"}
|
|
@@ -10,6 +10,11 @@ var PrimaryTest = function () {
|
|
|
10
10
|
console.log('Notification tapped');
|
|
11
11
|
} }, "Mail Archived"));
|
|
12
12
|
};
|
|
13
|
+
var PrimaryTestWithTitle = function () {
|
|
14
|
+
return (React.createElement(notification_1.Notification, { variant: 'primary', title: "Kat's iPhone X", action: "X", onPress: function () {
|
|
15
|
+
console.log('Notification tapped');
|
|
16
|
+
} }, "Listen to Emails \u2022 7 mins"));
|
|
17
|
+
};
|
|
13
18
|
var NeutralTest = function () {
|
|
14
19
|
return (React.createElement(notification_1.Notification, { variant: 'neutral', action: "Sign in", onPress: function () {
|
|
15
20
|
console.log('Notification tapped');
|
|
@@ -30,6 +35,10 @@ var notificationSections = [
|
|
|
30
35
|
name: 'Primary',
|
|
31
36
|
component: PrimaryTest,
|
|
32
37
|
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Primary With Title',
|
|
40
|
+
component: PrimaryTestWithTitle,
|
|
41
|
+
},
|
|
33
42
|
{
|
|
34
43
|
name: 'Neutral',
|
|
35
44
|
component: NeutralTest,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,oEAAmE;AACnE,gCAA4D;AAE5D,IAAM,WAAW,GAA4B;IAC3C,OAAO,CACL,oBAAC,2BAAY,IACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,MAAM,EACb,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,oBAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,WAAW,GAA4B;IAC3C,OAAO,CACL,oBAAC,2BAAY,IACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,SAAS,EAChB,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,qDAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,UAAU,GAA4B;IAC1C,OAAO,CACL,oBAAC,2BAAY,IACX,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAC,OAAO,EACd,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,sEAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,WAAW,GAA4B;IAC3C,OAAO,CACL,oBAAC,2BAAY,IACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,GAAG,EACV,OAAO,EAAE;YACP,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACrC,CAAC,gBAGY,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,oBAAoB,GAAkB;IAC1C;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,UAAU;KACtB;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;CACF,CAAC;AAEK,IAAM,gBAAgB,GAA4B;IACvD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GAAG,gCAAgC,CAAC;IAErD,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,GAAS,CAAC;AAC1H,CAAC,CAAC;AAZW,QAAA,gBAAgB,oBAY3B"}
|
|
1
|
+
{"version":3,"file":"NotificationTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Notification/NotificationTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,oEAAmE;AACnE,gCAA4D;AAE5D,I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oBAAoB;QAC1B,SAAS,EAAE,oBAAoB;KAChC;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,UAAU;KACtB;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,WAAW;KACvB;CACF,CAAC;AAEK,IAAM,gBAAgB,GAA4B;IACvD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GAAG,gCAAgC,CAAC;IAErD,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,GAAS,CAAC;AAC1H,CAAC,CAAC;AAZW,QAAA,gBAAgB,oBAY3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.71.0",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -27,34 +27,34 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@fluentui-react-native/android-theme": ">=0.10.0 <1.0.0",
|
|
29
29
|
"@fluentui-react-native/apple-theme": ">=0.12.3 <1.0.0",
|
|
30
|
-
"@fluentui-react-native/avatar": "^1.1.
|
|
31
|
-
"@fluentui-react-native/badge": ">=0.0.
|
|
32
|
-
"@fluentui-react-native/button": ">=0.22.
|
|
30
|
+
"@fluentui-react-native/avatar": "^1.1.6",
|
|
31
|
+
"@fluentui-react-native/badge": ">=0.0.46 <1.0.0",
|
|
32
|
+
"@fluentui-react-native/button": ">=0.22.30 <1.0.0",
|
|
33
33
|
"@fluentui-react-native/default-theme": ">=0.13.0 <1.0.0",
|
|
34
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.5.
|
|
35
|
-
"@fluentui-react-native/experimental-avatar": ">=0.15.
|
|
36
|
-
"@fluentui-react-native/experimental-button": "0.15.
|
|
37
|
-
"@fluentui-react-native/experimental-checkbox": "0.11.
|
|
38
|
-
"@fluentui-react-native/experimental-drawer": ">=0.1.
|
|
34
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.5.30 <1.0.0",
|
|
35
|
+
"@fluentui-react-native/experimental-avatar": ">=0.15.2 <1.0.0",
|
|
36
|
+
"@fluentui-react-native/experimental-button": "0.15.31",
|
|
37
|
+
"@fluentui-react-native/experimental-checkbox": "0.11.15",
|
|
38
|
+
"@fluentui-react-native/experimental-drawer": ">=0.1.14 <1.0.0",
|
|
39
39
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.5.0 <1.0.0",
|
|
40
|
-
"@fluentui-react-native/experimental-expander": "0.3.
|
|
41
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.3.
|
|
40
|
+
"@fluentui-react-native/experimental-expander": "0.3.34",
|
|
41
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.3.52 <1.0.0",
|
|
42
42
|
"@fluentui-react-native/experimental-shadow": "0.2.0",
|
|
43
|
-
"@fluentui-react-native/experimental-shimmer": "0.6.
|
|
44
|
-
"@fluentui-react-native/experimental-tabs": "0.4.
|
|
45
|
-
"@fluentui-react-native/experimental-text": ">=0.9.
|
|
46
|
-
"@fluentui-react-native/framework": ">=0.7.
|
|
47
|
-
"@fluentui-react-native/icon": "0.12.
|
|
48
|
-
"@fluentui-react-native/interactive-hooks": ">=0.16.
|
|
49
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
50
|
-
"@fluentui-react-native/notification": "0.
|
|
51
|
-
"@fluentui-react-native/stack": ">=0.6.
|
|
43
|
+
"@fluentui-react-native/experimental-shimmer": "0.6.34",
|
|
44
|
+
"@fluentui-react-native/experimental-tabs": "0.4.53",
|
|
45
|
+
"@fluentui-react-native/experimental-text": ">=0.9.1 <1.0.0",
|
|
46
|
+
"@fluentui-react-native/framework": ">=0.7.31 <1.0.0",
|
|
47
|
+
"@fluentui-react-native/icon": "0.12.2",
|
|
48
|
+
"@fluentui-react-native/interactive-hooks": ">=0.16.4 <1.0.0",
|
|
49
|
+
"@fluentui-react-native/menu": "^1.0.3",
|
|
50
|
+
"@fluentui-react-native/notification": "0.4.0",
|
|
51
|
+
"@fluentui-react-native/stack": ">=0.6.30 <1.0.0",
|
|
52
52
|
"@fluentui-react-native/theme": ">=0.6.11 <1.0.0",
|
|
53
53
|
"@fluentui-react-native/theme-types": ">=0.17.0 <1.0.0",
|
|
54
54
|
"@fluentui-react-native/themed-stylesheet": "^1.3.3",
|
|
55
55
|
"@fluentui-react-native/theming-utils": ">=0.13.0 <1.0.0",
|
|
56
56
|
"@fluentui-react-native/win32-theme": ">=0.19.2 <1.0.0",
|
|
57
|
-
"@fluentui/react-native": ">=0.30.
|
|
57
|
+
"@fluentui/react-native": ">=0.30.6 <1.0.0",
|
|
58
58
|
"@react-native-community/slider": "^4.2.0",
|
|
59
59
|
"@react-native-menu/menu": "^0.1.2",
|
|
60
60
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -16,6 +16,21 @@ const PrimaryTest: React.FunctionComponent = () => {
|
|
|
16
16
|
);
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
+
const PrimaryTestWithTitle: React.FunctionComponent = () => {
|
|
20
|
+
return (
|
|
21
|
+
<Notification
|
|
22
|
+
variant={'primary'}
|
|
23
|
+
title="Kat's iPhone X"
|
|
24
|
+
action="X"
|
|
25
|
+
onPress={() => {
|
|
26
|
+
console.log('Notification tapped');
|
|
27
|
+
}}
|
|
28
|
+
>
|
|
29
|
+
Listen to Emails • 7 mins
|
|
30
|
+
</Notification>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
|
|
19
34
|
const NeutralTest: React.FunctionComponent = () => {
|
|
20
35
|
return (
|
|
21
36
|
<Notification
|
|
@@ -63,6 +78,10 @@ const notificationSections: TestSection[] = [
|
|
|
63
78
|
name: 'Primary',
|
|
64
79
|
component: PrimaryTest,
|
|
65
80
|
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Primary With Title',
|
|
83
|
+
component: PrimaryTestWithTitle,
|
|
84
|
+
},
|
|
66
85
|
{
|
|
67
86
|
name: 'Neutral',
|
|
68
87
|
component: NeutralTest,
|