@fluentui/react-radio 0.0.0-nightly-20220504-0420.1 → 0.0.0-nightly-20220509-0421.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +123 -19
- package/CHANGELOG.md +49 -20
- package/README.md +4 -0
- package/dist/index.d.ts +2 -0
- package/lib/contexts/index.d.ts +2 -0
- package/lib/contexts/index.js +3 -0
- package/lib/contexts/index.js.map +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/contexts/index.d.ts +2 -0
- package/lib-commonjs/contexts/index.js +12 -0
- package/lib-commonjs/contexts/index.js.map +1 -0
- package/lib-commonjs/index.d.ts +1 -1
- package/lib-commonjs/index.js +9 -3
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-radio",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-radio_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Mon, 09 May 2022 04:32:20 GMT",
|
6
|
+
"tag": "@fluentui/react-radio_v0.0.0-nightly-20220509-0421.1",
|
7
|
+
"version": "0.0.0-nightly-20220509-0421.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -14,11 +14,115 @@
|
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
16
|
{
|
17
|
-
"author": "
|
17
|
+
"author": "esteban.230@hotmail.com",
|
18
18
|
"package": "@fluentui/react-radio",
|
19
|
-
"commit": "
|
20
|
-
"comment": "
|
19
|
+
"commit": "0fac2d7a6f35c5fcebaf30da68b9604410fe0eb9",
|
20
|
+
"comment": "Updated react-label package version to RC."
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-radio",
|
25
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20220509-0421.1",
|
26
|
+
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-radio",
|
31
|
+
"comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220509-0421.1",
|
32
|
+
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-radio",
|
37
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20220509-0421.1",
|
38
|
+
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-radio",
|
43
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220509-0421.1",
|
44
|
+
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-radio",
|
49
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220509-0421.1",
|
50
|
+
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-radio",
|
55
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220509-0421.1",
|
56
|
+
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"date": "Thu, 05 May 2022 18:26:25 GMT",
|
63
|
+
"tag": "@fluentui/react-radio_v9.0.0-rc.2",
|
64
|
+
"version": "9.0.0-rc.2",
|
65
|
+
"comments": {
|
66
|
+
"none": [
|
67
|
+
{
|
68
|
+
"author": "tristan.watanabe@gmail.com",
|
69
|
+
"package": "@fluentui/react-radio",
|
70
|
+
"commit": "ad3dfcc6d85a8dba3c183612fe552280cd33c20e",
|
71
|
+
"comment": "react-radio: Move to new common folder."
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"prerelease": [
|
75
|
+
{
|
76
|
+
"author": "seanmonahan@microsoft.com",
|
77
|
+
"package": "@fluentui/react-radio",
|
78
|
+
"commit": "f628da463f8a12f39e32785e086ef7a2687275f6",
|
79
|
+
"comment": "update README"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"author": "beachball",
|
83
|
+
"package": "@fluentui/react-radio",
|
84
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.8",
|
85
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"author": "beachball",
|
89
|
+
"package": "@fluentui/react-radio",
|
90
|
+
"comment": "Bump @fluentui/react-label to v9.0.0-beta.12",
|
91
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"author": "beachball",
|
95
|
+
"package": "@fluentui/react-radio",
|
96
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.9",
|
97
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"author": "beachball",
|
101
|
+
"package": "@fluentui/react-radio",
|
102
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
|
103
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"author": "beachball",
|
107
|
+
"package": "@fluentui/react-radio",
|
108
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
|
109
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
21
110
|
},
|
111
|
+
{
|
112
|
+
"author": "beachball",
|
113
|
+
"package": "@fluentui/react-radio",
|
114
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5",
|
115
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
116
|
+
}
|
117
|
+
]
|
118
|
+
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"date": "Wed, 04 May 2022 13:26:48 GMT",
|
122
|
+
"tag": "@fluentui/react-radio_v9.0.0-beta.5",
|
123
|
+
"version": "9.0.0-beta.5",
|
124
|
+
"comments": {
|
125
|
+
"prerelease": [
|
22
126
|
{
|
23
127
|
"author": "seanmonahan@microsoft.com",
|
24
128
|
"package": "@fluentui/react-radio",
|
@@ -50,40 +154,40 @@
|
|
50
154
|
"comment": "write readme"
|
51
155
|
},
|
52
156
|
{
|
53
|
-
"author": "
|
157
|
+
"author": "miroslav.stastny@microsoft.com",
|
54
158
|
"package": "@fluentui/react-radio",
|
55
|
-
"
|
56
|
-
"
|
159
|
+
"commit": "3be7a89d9e9323780bba5b24d3bcc4342e1f1ec7",
|
160
|
+
"comment": "Allow data argument on onChange"
|
57
161
|
},
|
58
162
|
{
|
59
163
|
"author": "beachball",
|
60
164
|
"package": "@fluentui/react-radio",
|
61
|
-
"comment": "Bump @fluentui/react-
|
62
|
-
"commit": "
|
165
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.7",
|
166
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
63
167
|
},
|
64
168
|
{
|
65
169
|
"author": "beachball",
|
66
170
|
"package": "@fluentui/react-radio",
|
67
|
-
"comment": "Bump @fluentui/react-
|
68
|
-
"commit": "
|
171
|
+
"comment": "Bump @fluentui/react-label to v9.0.0-beta.11",
|
172
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
69
173
|
},
|
70
174
|
{
|
71
175
|
"author": "beachball",
|
72
176
|
"package": "@fluentui/react-radio",
|
73
|
-
"comment": "Bump @fluentui/react-
|
74
|
-
"commit": "
|
177
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.8",
|
178
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
75
179
|
},
|
76
180
|
{
|
77
181
|
"author": "beachball",
|
78
182
|
"package": "@fluentui/react-radio",
|
79
|
-
"comment": "Bump @fluentui/react-
|
80
|
-
"commit": "
|
183
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
|
184
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
81
185
|
},
|
82
186
|
{
|
83
187
|
"author": "beachball",
|
84
188
|
"package": "@fluentui/react-radio",
|
85
|
-
"comment": "Bump @fluentui/react-
|
86
|
-
"commit": "
|
189
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
|
190
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
87
191
|
}
|
88
192
|
]
|
89
193
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,33 +1,62 @@
|
|
1
1
|
# Change Log - @fluentui/react-radio
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 09 May 2022 04:32:20 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20220509-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20220509-0421.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-
|
9
|
+
Mon, 09 May 2022 04:32:20 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-rc.2..@fluentui/react-radio_v0.0.0-nightly-20220509-0421.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
|
15
|
-
-
|
15
|
+
- Updated react-label package version to RC. ([PR #22865](https://github.com/microsoft/fluentui/pull/22865) by esteban.230@hotmail.com)
|
16
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball)
|
17
|
+
- Bump @fluentui/react-label to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball)
|
18
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball)
|
19
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball)
|
20
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball)
|
21
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball)
|
22
|
+
|
23
|
+
## [9.0.0-rc.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-rc.2)
|
24
|
+
|
25
|
+
Thu, 05 May 2022 18:26:25 GMT
|
26
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.5..@fluentui/react-radio_v9.0.0-rc.2)
|
27
|
+
|
28
|
+
### Changes
|
29
|
+
|
30
|
+
- update README ([PR #22819](https://github.com/microsoft/fluentui/pull/22819) by seanmonahan@microsoft.com)
|
31
|
+
- Bump @fluentui/react-context-selector to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
32
|
+
- Bump @fluentui/react-label to v9.0.0-beta.12 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
33
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.9 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
34
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
35
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
36
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
37
|
+
|
38
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.5)
|
39
|
+
|
40
|
+
Wed, 04 May 2022 13:26:48 GMT
|
41
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.4..@fluentui/react-radio_v9.0.0-beta.5)
|
42
|
+
|
43
|
+
### Changes
|
44
|
+
|
16
45
|
- react-radio: update context usage ([PR #22803](https://github.com/microsoft/fluentui/pull/22803) by seanmonahan@microsoft.com)
|
17
46
|
- add bundle size fixtures ([PR #22675](https://github.com/microsoft/fluentui/pull/22675) by seanmonahan@microsoft.com)
|
18
47
|
- react-radio: add required prop to RadioGroup ([PR #22809](https://github.com/microsoft/fluentui/pull/22809) by seanmonahan@microsoft.com)
|
19
48
|
- react-radio: remove required indicator from label ([PR #22782](https://github.com/microsoft/fluentui/pull/22782) by seanmonahan@microsoft.com)
|
20
49
|
- write readme ([PR #22676](https://github.com/microsoft/fluentui/pull/22676) by seanmonahan@microsoft.com)
|
21
|
-
-
|
22
|
-
- Bump @fluentui/react-
|
23
|
-
- Bump @fluentui/react-
|
24
|
-
- Bump @fluentui/react-
|
25
|
-
- Bump @fluentui/react-
|
26
|
-
- Bump @fluentui/react-
|
50
|
+
- Allow data argument on onChange ([PR #22753](https://github.com/microsoft/fluentui/pull/22753) by miroslav.stastny@microsoft.com)
|
51
|
+
- Bump @fluentui/react-context-selector to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
52
|
+
- Bump @fluentui/react-label to v9.0.0-beta.11 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
53
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.8 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
54
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
55
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
27
56
|
|
28
57
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.4)
|
29
58
|
|
30
|
-
Mon, 25 Apr 2022 09:32:19 GMT
|
59
|
+
Mon, 25 Apr 2022 09:32:19 GMT
|
31
60
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.3..@fluentui/react-radio_v9.0.0-beta.4)
|
32
61
|
|
33
62
|
### Changes
|
@@ -36,7 +65,7 @@ Mon, 25 Apr 2022 09:32:19 GMT
|
|
36
65
|
|
37
66
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.3)
|
38
67
|
|
39
|
-
Tue, 19 Apr 2022 19:16:50 GMT
|
68
|
+
Tue, 19 Apr 2022 19:16:50 GMT
|
40
69
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.2..@fluentui/react-radio_v9.0.0-beta.3)
|
41
70
|
|
42
71
|
### Changes
|
@@ -55,7 +84,7 @@ Tue, 19 Apr 2022 19:16:50 GMT
|
|
55
84
|
|
56
85
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.2)
|
57
86
|
|
58
|
-
Fri, 04 Mar 2022 05:17:40 GMT
|
87
|
+
Fri, 04 Mar 2022 05:17:40 GMT
|
59
88
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.1..@fluentui/react-radio_v9.0.0-beta.2)
|
60
89
|
|
61
90
|
### Changes
|
@@ -69,7 +98,7 @@ Fri, 04 Mar 2022 05:17:40 GMT
|
|
69
98
|
|
70
99
|
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.1)
|
71
100
|
|
72
|
-
Tue, 01 Mar 2022 02:17:40 GMT
|
101
|
+
Tue, 01 Mar 2022 02:17:40 GMT
|
73
102
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.1..@fluentui/react-radio_v9.0.0-beta.1)
|
74
103
|
|
75
104
|
### Changes
|
@@ -80,7 +109,7 @@ Tue, 01 Mar 2022 02:17:40 GMT
|
|
80
109
|
|
81
110
|
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.1)
|
82
111
|
|
83
|
-
Fri, 18 Feb 2022 13:35:38 GMT
|
112
|
+
Fri, 18 Feb 2022 13:35:38 GMT
|
84
113
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.0..@fluentui/react-radio_v9.0.0-beta.1)
|
85
114
|
|
86
115
|
### Changes
|
@@ -92,7 +121,7 @@ Fri, 18 Feb 2022 13:35:38 GMT
|
|
92
121
|
|
93
122
|
## [9.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.0)
|
94
123
|
|
95
|
-
Thu, 10 Feb 2022 08:52:26 GMT
|
124
|
+
Thu, 10 Feb 2022 08:52:26 GMT
|
96
125
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.0..@fluentui/react-radio_v9.0.0-beta.0)
|
97
126
|
|
98
127
|
### Changes
|
@@ -104,7 +133,7 @@ Thu, 10 Feb 2022 08:52:26 GMT
|
|
104
133
|
|
105
134
|
## [9.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.0)
|
106
135
|
|
107
|
-
Thu, 25 Nov 2021 08:34:17 GMT
|
136
|
+
Thu, 25 Nov 2021 08:34:17 GMT
|
108
137
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.0..@fluentui/react-radio_v9.0.0-beta.0)
|
109
138
|
|
110
139
|
### Changes
|
@@ -117,7 +146,7 @@ Thu, 25 Nov 2021 08:34:17 GMT
|
|
117
146
|
|
118
147
|
## [9.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.0)
|
119
148
|
|
120
|
-
Fri, 12 Nov 2021 13:25:34 GMT
|
149
|
+
Fri, 12 Nov 2021 13:25:34 GMT
|
121
150
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.0..@fluentui/react-radio_v9.0.0-beta.0)
|
122
151
|
|
123
152
|
### Changes
|
@@ -130,7 +159,7 @@ Fri, 12 Nov 2021 13:25:34 GMT
|
|
130
159
|
|
131
160
|
## [9.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.0)
|
132
161
|
|
133
|
-
Wed, 27 Oct 2021 12:14:24 GMT
|
162
|
+
Wed, 27 Oct 2021 12:14:24 GMT
|
134
163
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.0..@fluentui/react-radio_v9.0.0-beta.0)
|
135
164
|
|
136
165
|
### Changes
|
package/README.md
CHANGED
@@ -11,6 +11,10 @@ A Radio allows a user to select a single value from two or more options. All Rad
|
|
11
11
|
Import `Radio` and `RadioGroup`:
|
12
12
|
|
13
13
|
```js
|
14
|
+
// From @fluentui/react-components
|
15
|
+
import { Radio, RadioGroup } from '@fluentui/react-components';
|
16
|
+
|
17
|
+
// Directly from @fluentui/react-radio
|
14
18
|
import { Radio, RadioGroup } from '@fluentui/react-radio';
|
15
19
|
```
|
16
20
|
|
package/dist/index.d.ts
CHANGED
@@ -205,6 +205,8 @@ export declare const useRadio_unstable: (props: RadioProps, ref: React_2.Ref<HTM
|
|
205
205
|
*/
|
206
206
|
export declare const useRadioGroup_unstable: (props: RadioGroupProps, ref: React_2.Ref<HTMLDivElement>) => RadioGroupState;
|
207
207
|
|
208
|
+
export declare const useRadioGroupContextValues: (state: RadioGroupState) => RadioGroupContextValues;
|
209
|
+
|
208
210
|
/**
|
209
211
|
* Apply styling to the RadioGroup slots based on the state
|
210
212
|
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './RadioGroupContext';\nexport * from './useRadioGroupContextValues';\n"]}
|
package/lib/index.d.ts
CHANGED
@@ -2,4 +2,4 @@ export { RadioGroup, radioGroupClassName, radioGroupClassNames, renderRadioGroup
|
|
2
2
|
export type { RadioGroupContextValue, RadioGroupContextValues, RadioGroupOnChangeData, RadioGroupProps, RadioGroupSlots, RadioGroupState, } from './RadioGroup';
|
3
3
|
export { Radio, radioClassName, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable, } from './Radio';
|
4
4
|
export type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';
|
5
|
-
export { RadioGroupContext } from './contexts/
|
5
|
+
export { RadioGroupContext, useRadioGroupContextValues } from './contexts/index';
|
package/lib/index.js
CHANGED
@@ -4,5 +4,5 @@ radioGroupClassName, radioGroupClassNames, renderRadioGroup_unstable, useRadioGr
|
|
4
4
|
export { Radio,
|
5
5
|
/* eslint-disable-next-line deprecation/deprecation */
|
6
6
|
radioClassName, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';
|
7
|
-
export { RadioGroupContext } from './contexts/
|
7
|
+
export { RadioGroupContext, useRadioGroupContextValues } from './contexts/index';
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"AAAA,SACE,UADF;AAEE;AACA,mBAHF,EAIE,oBAJF,EAKE,yBALF,EAME,4BANF,EAOE,sBAPF,QAQO,cARP;AAiBA,SACE,KADF;AAEE;AACA,cAHF,EAIE,eAJF,EAKE,oBALF,EAME,uBANF,EAOE,iBAPF,QAQO,SARP;AAUA,SAAS,iBAAT,
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":"AAAA,SACE,UADF;AAEE;AACA,mBAHF,EAIE,oBAJF,EAKE,yBALF,EAME,4BANF,EAOE,sBAPF,QAQO,cARP;AAiBA,SACE,KADF;AAEE;AACA,cAHF,EAIE,eAJF,EAKE,oBALF,EAME,uBANF,EAOE,iBAPF,QAQO,SARP;AAUA,SAAS,iBAAT,EAA4B,0BAA5B,QAA8D,kBAA9D","sourcesContent":["export {\n RadioGroup,\n /* eslint-disable-next-line deprecation/deprecation */\n radioGroupClassName,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport {\n Radio,\n /* eslint-disable-next-line deprecation/deprecation */\n radioClassName,\n radioClassNames,\n renderRadio_unstable,\n useRadioStyles_unstable,\n useRadio_unstable,\n} from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupContext, useRadioGroupContextValues } from './contexts/index';\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
|
7
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
8
|
+
|
9
|
+
tslib_1.__exportStar(require("./RadioGroupContext"), exports);
|
10
|
+
|
11
|
+
tslib_1.__exportStar(require("./useRadioGroupContextValues"), exports);
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["contexts/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,qBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,8BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './RadioGroupContext';\nexport * from './useRadioGroupContextValues';\n"],"sourceRoot":"../src/"}
|
package/lib-commonjs/index.d.ts
CHANGED
@@ -2,4 +2,4 @@ export { RadioGroup, radioGroupClassName, radioGroupClassNames, renderRadioGroup
|
|
2
2
|
export type { RadioGroupContextValue, RadioGroupContextValues, RadioGroupOnChangeData, RadioGroupProps, RadioGroupSlots, RadioGroupState, } from './RadioGroup';
|
3
3
|
export { Radio, radioClassName, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable, } from './Radio';
|
4
4
|
export type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';
|
5
|
-
export { RadioGroupContext } from './contexts/
|
5
|
+
export { RadioGroupContext, useRadioGroupContextValues } from './contexts/index';
|
package/lib-commonjs/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.RadioGroupContext = exports.useRadio_unstable = exports.useRadioStyles_unstable = exports.renderRadio_unstable = exports.radioClassNames = exports.radioClassName = exports.Radio = exports.useRadioGroup_unstable = exports.useRadioGroupStyles_unstable = exports.renderRadioGroup_unstable = exports.radioGroupClassNames = exports.radioGroupClassName = exports.RadioGroup = void 0;
|
6
|
+
exports.useRadioGroupContextValues = exports.RadioGroupContext = exports.useRadio_unstable = exports.useRadioStyles_unstable = exports.renderRadio_unstable = exports.radioClassNames = exports.radioClassName = exports.Radio = exports.useRadioGroup_unstable = exports.useRadioGroupStyles_unstable = exports.renderRadioGroup_unstable = exports.radioGroupClassNames = exports.radioGroupClassName = exports.RadioGroup = void 0;
|
7
7
|
|
8
8
|
var RadioGroup_1 = /*#__PURE__*/require("./RadioGroup");
|
9
9
|
|
@@ -87,12 +87,18 @@ Object.defineProperty(exports, "useRadio_unstable", {
|
|
87
87
|
}
|
88
88
|
});
|
89
89
|
|
90
|
-
var
|
90
|
+
var index_1 = /*#__PURE__*/require("./contexts/index");
|
91
91
|
|
92
92
|
Object.defineProperty(exports, "RadioGroupContext", {
|
93
93
|
enumerable: true,
|
94
94
|
get: function () {
|
95
|
-
return
|
95
|
+
return index_1.RadioGroupContext;
|
96
|
+
}
|
97
|
+
});
|
98
|
+
Object.defineProperty(exports, "useRadioGroupContextValues", {
|
99
|
+
enumerable: true,
|
100
|
+
get: function () {
|
101
|
+
return index_1.useRadioGroupContextValues;
|
96
102
|
}
|
97
103
|
});
|
98
104
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,YAAA,gBAAA,OAAA,CAAA,cAAA,CAAA;;AACE,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,YAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,YAAA,CAAA,UAAA;AAAU;AAAV,CAAA;AACA;;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA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A,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,OAAA,CAAA,uBAAA;AAAuB;AAAvB,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,mBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,OAAA,CAAA,iBAAA;AAAiB;AAAjB,CAAA;;AAGF,IAAA,OAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,mBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,OAAA,CAAA,iBAAA;AAAiB;AAAjB,CAAA;AAAmB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,4BAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,OAAA,CAAA,0BAAA;AAA0B;AAA1B,CAAA","sourcesContent":["export {\n RadioGroup,\n /* eslint-disable-next-line deprecation/deprecation */\n radioGroupClassName,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport {\n Radio,\n /* eslint-disable-next-line deprecation/deprecation */\n radioClassName,\n radioClassNames,\n renderRadio_unstable,\n useRadioStyles_unstable,\n useRadio_unstable,\n} from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupContext, useRadioGroupContextValues } from './contexts/index';\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-radio",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20220509-0421.1",
|
4
4
|
"description": "Fluent UI Radio component",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"start": "yarn storybook",
|
22
22
|
"test": "jest --passWithNoTests",
|
23
23
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
24
|
-
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node
|
25
|
-
"storybook": "node
|
24
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-radio/src && yarn docs",
|
25
|
+
"storybook": "node ../../../scripts/storybook/runner",
|
26
26
|
"type-check": "tsc -b tsconfig.json"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@fluentui/eslint-plugin": "*",
|
30
30
|
"@fluentui/react-conformance": "*",
|
31
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
31
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220509-0421.1"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@fluentui/react-context-selector": "0.0.0-nightly-
|
34
|
+
"@fluentui/react-context-selector": "0.0.0-nightly-20220509-0421.1",
|
35
35
|
"@fluentui/react-icons": "^2.0.166-rc.3",
|
36
|
-
"@fluentui/react-label": "0.0.0-nightly-
|
37
|
-
"@fluentui/react-tabster": "0.0.0-nightly-
|
38
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
39
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
36
|
+
"@fluentui/react-label": "0.0.0-nightly-20220509-0421.1",
|
37
|
+
"@fluentui/react-tabster": "0.0.0-nightly-20220509-0421.1",
|
38
|
+
"@fluentui/react-theme": "0.0.0-nightly-20220509-0421.1",
|
39
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20220509-0421.1",
|
40
40
|
"@griffel/react": "1.0.3",
|
41
41
|
"tslib": "^2.1.0"
|
42
42
|
},
|