@fluentui/react-divider 0.0.0-nightly627ad67f1120211109.1 → 0.0.0-nightly695230dc7220220301.1
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 +253 -14
- package/CHANGELOG.md +78 -10
- package/dist/react-divider.d.ts +8 -8
- package/lib/Divider.js.map +1 -1
- package/lib/components/Divider/Divider.js +6 -6
- package/lib/components/Divider/Divider.js.map +1 -1
- package/lib/components/Divider/Divider.types.d.ts +6 -5
- package/lib/components/Divider/Divider.types.js.map +1 -1
- package/lib/components/Divider/index.js.map +1 -1
- package/lib/components/Divider/renderDivider.d.ts +1 -1
- package/lib/components/Divider/renderDivider.js +5 -3
- package/lib/components/Divider/renderDivider.js.map +1 -1
- package/lib/components/Divider/useDivider.d.ts +1 -1
- package/lib/components/Divider/useDivider.js +2 -1
- package/lib/components/Divider/useDivider.js.map +1 -1
- package/lib/components/Divider/useDividerStyles.d.ts +1 -1
- package/lib/components/Divider/useDividerStyles.js +15 -8
- package/lib/components/Divider/useDividerStyles.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Divider.js.map +1 -1
- package/lib-commonjs/components/Divider/Divider.js +3 -3
- package/lib-commonjs/components/Divider/Divider.js.map +1 -1
- package/lib-commonjs/components/Divider/Divider.types.d.ts +6 -5
- package/lib-commonjs/components/Divider/Divider.types.js.map +1 -1
- package/lib-commonjs/components/Divider/index.js.map +1 -1
- package/lib-commonjs/components/Divider/renderDivider.d.ts +1 -1
- package/lib-commonjs/components/Divider/renderDivider.js +7 -5
- package/lib-commonjs/components/Divider/renderDivider.js.map +1 -1
- package/lib-commonjs/components/Divider/useDivider.d.ts +1 -1
- package/lib-commonjs/components/Divider/useDivider.js +4 -3
- package/lib-commonjs/components/Divider/useDivider.js.map +1 -1
- package/lib-commonjs/components/Divider/useDividerStyles.d.ts +1 -1
- package/lib-commonjs/components/Divider/useDividerStyles.js +22 -14
- package/lib-commonjs/components/Divider/useDividerStyles.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +9 -10
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -11
- package/lib/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -22
- package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,17 +2,250 @@
|
|
2
2
|
"name": "@fluentui/react-divider",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Tue,
|
6
|
-
"tag": "@fluentui/react-divider_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Tue, 01 Mar 2022 04:14:58 GMT",
|
6
|
+
"tag": "@fluentui/react-divider_v0.0.0-nightly695230dc7220220301.1",
|
7
|
+
"version": "0.0.0-nightly695230dc7220220301.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-divider",
|
13
|
-
"commit": "
|
13
|
+
"commit": "be1864c428aedd3bb265318a6cb6cf161ded2472",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-divider",
|
19
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly695230dc7220220301.1",
|
20
|
+
"commit": "be1864c428aedd3bb265318a6cb6cf161ded2472"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-divider",
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly695230dc7220220301.1",
|
26
|
+
"commit": "be1864c428aedd3bb265318a6cb6cf161ded2472"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-divider",
|
31
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly695230dc7220220301.1",
|
32
|
+
"commit": "be1864c428aedd3bb265318a6cb6cf161ded2472"
|
33
|
+
}
|
34
|
+
]
|
35
|
+
}
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"date": "Tue, 01 Mar 2022 02:17:36 GMT",
|
39
|
+
"tag": "@fluentui/react-divider_v9.0.0-rc.4",
|
40
|
+
"version": "9.0.0-rc.4",
|
41
|
+
"comments": {
|
42
|
+
"prerelease": [
|
43
|
+
{
|
44
|
+
"author": "olfedias@microsoft.com",
|
45
|
+
"package": "@fluentui/react-divider",
|
46
|
+
"commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
|
47
|
+
"comment": "fix: Add react-theme as dependency"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"author": "beachball",
|
51
|
+
"package": "@fluentui/react-divider",
|
52
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.4",
|
53
|
+
"commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
|
54
|
+
}
|
55
|
+
]
|
56
|
+
}
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"date": "Fri, 18 Feb 2022 13:35:31 GMT",
|
60
|
+
"tag": "@fluentui/react-divider_v9.0.0-rc.3",
|
61
|
+
"version": "9.0.0-rc.3",
|
62
|
+
"comments": {
|
63
|
+
"prerelease": [
|
64
|
+
{
|
65
|
+
"author": "lingfangao@hotmail.com",
|
66
|
+
"package": "@fluentui/react-divider",
|
67
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
68
|
+
"comment": "fix: Source maps contain original source code"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"author": "beachball",
|
72
|
+
"package": "@fluentui/react-divider",
|
73
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
|
74
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"author": "beachball",
|
78
|
+
"package": "@fluentui/react-divider",
|
79
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
|
80
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
81
|
+
}
|
82
|
+
]
|
83
|
+
}
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"date": "Thu, 10 Feb 2022 08:51:10 GMT",
|
87
|
+
"tag": "@fluentui/react-divider_v9.0.0-rc.1",
|
88
|
+
"version": "9.0.0-rc.1",
|
89
|
+
"comments": {
|
90
|
+
"prerelease": [
|
91
|
+
{
|
92
|
+
"author": "gcox@microsoft.com",
|
93
|
+
"package": "@fluentui/react-divider",
|
94
|
+
"commit": "f6116328d6599342eef231f81d3c0724478a3d47",
|
95
|
+
"comment": "set minimum line length based on a11y review"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"author": "olfedias@microsoft.com",
|
99
|
+
"package": "@fluentui/react-divider",
|
100
|
+
"commit": "203cf1b61b1238c81ebe502678fe4714722cb435",
|
101
|
+
"comment": "update styles to not use CSS shorthands"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
105
|
+
"package": "@fluentui/react-divider",
|
106
|
+
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
|
107
|
+
"comment": "Updating based on changes to composition types."
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
111
|
+
"package": "@fluentui/react-divider",
|
112
|
+
"commit": "034044d59be68915df76c57a84edc8299d3ca175",
|
113
|
+
"comment": "react-divider: Replacing use of functions in makeStyles with direct use of tokens."
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"author": "behowell@microsoft.com",
|
117
|
+
"package": "@fluentui/react-divider",
|
118
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
119
|
+
"comment": "Remove component's shorthandProps array"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"author": "mgodbolt@microsoft.com",
|
123
|
+
"package": "@fluentui/react-divider",
|
124
|
+
"commit": "839ec14849e112b85aa321d034739ec421199141",
|
125
|
+
"comment": "remove export of commons types"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"author": "lingfangao@hotmail.com",
|
129
|
+
"package": "@fluentui/react-divider",
|
130
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
131
|
+
"comment": "Bump Fluent UI packages to 9.0.0-rc"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"author": "gcox@microsoft.com",
|
135
|
+
"package": "@fluentui/react-divider",
|
136
|
+
"commit": "ae269d1c40fce9dcfb41d9dafa4678d025576201",
|
137
|
+
"comment": "Added aria-orientation to divider"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"author": "gcox@microsoft.com",
|
141
|
+
"package": "@fluentui/react-divider",
|
142
|
+
"commit": "cc44f3625c6c6b5775bc08f00c5b8f52145ad52b",
|
143
|
+
"comment": "Added missing descriptions to divider stories"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"author": "behowell@microsoft.com",
|
147
|
+
"package": "@fluentui/react-divider",
|
148
|
+
"commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
|
149
|
+
"comment": "Refactor component Slot typings"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"author": "behowell@microsoft.com",
|
153
|
+
"package": "@fluentui/react-divider",
|
154
|
+
"commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
|
155
|
+
"comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
159
|
+
"package": "@fluentui/react-divider",
|
160
|
+
"commit": "00a5d945904c896a0664de6ba72c145a255f0848",
|
161
|
+
"comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"author": "olfedias@microsoft.com",
|
165
|
+
"package": "@fluentui/react-divider",
|
166
|
+
"commit": "7f2bb0ceb2a4d079c34fb58ebc9a5e15245a2cbe",
|
167
|
+
"comment": "Replace make-styles packages with griffel equivalents."
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"author": "beachball",
|
171
|
+
"package": "@fluentui/react-divider",
|
172
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
173
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"author": "beachball",
|
177
|
+
"package": "@fluentui/react-divider",
|
178
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
|
179
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
"none": [
|
183
|
+
{
|
184
|
+
"author": "tkrasniqi@microsoft.com",
|
185
|
+
"package": "@fluentui/react-divider",
|
186
|
+
"commit": "57677496452840365886d4f12a98b62739e65286",
|
187
|
+
"comment": "Migration to ts config solution"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"author": "olfedias@microsoft.com",
|
191
|
+
"package": "@fluentui/react-divider",
|
192
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
193
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"author": "martinhochel@microsoft.com",
|
197
|
+
"package": "@fluentui/react-divider",
|
198
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
199
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
200
|
+
}
|
201
|
+
]
|
202
|
+
}
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"date": "Thu, 25 Nov 2021 08:34:17 GMT",
|
206
|
+
"tag": "@fluentui/react-divider_v9.0.0-beta.4",
|
207
|
+
"version": "9.0.0-beta.4",
|
208
|
+
"comments": {
|
209
|
+
"prerelease": [
|
210
|
+
{
|
211
|
+
"author": "beachball",
|
212
|
+
"package": "@fluentui/react-divider",
|
213
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
214
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"author": "beachball",
|
218
|
+
"package": "@fluentui/react-divider",
|
219
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
220
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"author": "beachball",
|
224
|
+
"package": "@fluentui/react-divider",
|
225
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
226
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"author": "beachball",
|
230
|
+
"package": "@fluentui/react-divider",
|
231
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
232
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"author": "beachball",
|
236
|
+
"package": "@fluentui/react-divider",
|
237
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
238
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
239
|
+
}
|
240
|
+
]
|
241
|
+
}
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"date": "Fri, 12 Nov 2021 13:25:23 GMT",
|
245
|
+
"tag": "@fluentui/react-divider_v9.0.0-beta.3",
|
246
|
+
"version": "9.0.0-beta.3",
|
247
|
+
"comments": {
|
248
|
+
"prerelease": [
|
16
249
|
{
|
17
250
|
"author": "gcox@microsoft.com",
|
18
251
|
"package": "@fluentui/react-divider",
|
@@ -46,35 +279,41 @@
|
|
46
279
|
{
|
47
280
|
"author": "beachball",
|
48
281
|
"package": "@fluentui/react-divider",
|
49
|
-
"comment": "Bump @fluentui/react-make-styles to
|
50
|
-
"commit": "
|
282
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
283
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
51
284
|
},
|
52
285
|
{
|
53
286
|
"author": "beachball",
|
54
287
|
"package": "@fluentui/react-divider",
|
55
|
-
"comment": "Bump @fluentui/react-utilities to
|
56
|
-
"commit": "
|
288
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
289
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
57
290
|
},
|
58
291
|
{
|
59
292
|
"author": "beachball",
|
60
293
|
"package": "@fluentui/react-divider",
|
61
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
62
|
-
"commit": "
|
294
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
295
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
63
296
|
},
|
64
297
|
{
|
65
298
|
"author": "beachball",
|
66
299
|
"package": "@fluentui/react-divider",
|
67
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
68
|
-
"commit": "
|
300
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
301
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
69
302
|
},
|
70
303
|
{
|
71
304
|
"author": "beachball",
|
72
305
|
"package": "@fluentui/react-divider",
|
73
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
74
|
-
"commit": "
|
306
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
307
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
75
308
|
}
|
76
309
|
],
|
77
310
|
"none": [
|
311
|
+
{
|
312
|
+
"author": "lingfangao@hotmail.com",
|
313
|
+
"package": "@fluentui/react-divider",
|
314
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
315
|
+
"comment": "Remove beta release tag"
|
316
|
+
},
|
78
317
|
{
|
79
318
|
"author": "mgodbolt@microsoft.com",
|
80
319
|
"package": "@fluentui/react-divider",
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,95 @@
|
|
1
1
|
# Change Log - @fluentui/react-divider
|
2
2
|
|
3
|
-
This log was last generated on Tue,
|
3
|
+
This log was last generated on Tue, 01 Mar 2022 04:14:58 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightly695230dc7220220301.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v0.0.0-nightly695230dc7220220301.1)
|
8
8
|
|
9
|
-
Tue,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-
|
9
|
+
Tue, 01 Mar 2022 04:14:58 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-rc.4..@fluentui/react-divider_v0.0.0-nightly695230dc7220220301.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/be1864c428aedd3bb265318a6cb6cf161ded2472) by email not defined)
|
15
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly695230dc7220220301.1 ([commit](https://github.com/microsoft/fluentui/commit/be1864c428aedd3bb265318a6cb6cf161ded2472) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly695230dc7220220301.1 ([commit](https://github.com/microsoft/fluentui/commit/be1864c428aedd3bb265318a6cb6cf161ded2472) by beachball)
|
17
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly695230dc7220220301.1 ([commit](https://github.com/microsoft/fluentui/commit/be1864c428aedd3bb265318a6cb6cf161ded2472) by beachball)
|
18
|
+
|
19
|
+
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-rc.4)
|
20
|
+
|
21
|
+
Tue, 01 Mar 2022 02:17:36 GMT
|
22
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-rc.3..@fluentui/react-divider_v9.0.0-rc.4)
|
23
|
+
|
24
|
+
### Changes
|
25
|
+
|
26
|
+
- fix: Add react-theme as dependency ([PR #21825](https://github.com/microsoft/fluentui/pull/21825) by olfedias@microsoft.com)
|
27
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
|
28
|
+
|
29
|
+
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-rc.3)
|
30
|
+
|
31
|
+
Fri, 18 Feb 2022 13:35:31 GMT
|
32
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-rc.1..@fluentui/react-divider_v9.0.0-rc.3)
|
33
|
+
|
34
|
+
### Changes
|
35
|
+
|
36
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
37
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
38
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
39
|
+
|
40
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-rc.1)
|
41
|
+
|
42
|
+
Thu, 10 Feb 2022 08:51:10 GMT
|
43
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-beta.4..@fluentui/react-divider_v9.0.0-rc.1)
|
44
|
+
|
45
|
+
### Changes
|
46
|
+
|
47
|
+
- set minimum line length based on a11y review ([PR #21362](https://github.com/microsoft/fluentui/pull/21362) by gcox@microsoft.com)
|
48
|
+
- update styles to not use CSS shorthands ([PR #20817](https://github.com/microsoft/fluentui/pull/20817) by olfedias@microsoft.com)
|
49
|
+
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
50
|
+
- react-divider: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21043](https://github.com/microsoft/fluentui/pull/21043) by Humberto.Morimoto@microsoft.com)
|
51
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
52
|
+
- remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
|
53
|
+
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
54
|
+
- Added aria-orientation to divider ([PR #21292](https://github.com/microsoft/fluentui/pull/21292) by gcox@microsoft.com)
|
55
|
+
- Added missing descriptions to divider stories ([PR #21067](https://github.com/microsoft/fluentui/pull/21067) by gcox@microsoft.com)
|
56
|
+
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
|
57
|
+
- BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
|
58
|
+
- Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
|
59
|
+
- Replace make-styles packages with griffel equivalents. ([PR #21433](https://github.com/microsoft/fluentui/pull/21433) by olfedias@microsoft.com)
|
60
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
61
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
62
|
+
|
63
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-beta.4)
|
64
|
+
|
65
|
+
Thu, 25 Nov 2021 08:34:17 GMT
|
66
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-beta.3..@fluentui/react-divider_v9.0.0-beta.4)
|
67
|
+
|
68
|
+
### Changes
|
69
|
+
|
70
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
71
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
72
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
73
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
74
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
75
|
+
|
76
|
+
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-beta.3)
|
77
|
+
|
78
|
+
Fri, 12 Nov 2021 13:25:23 GMT
|
79
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-beta.2..@fluentui/react-divider_v9.0.0-beta.3)
|
11
80
|
|
12
81
|
### Changes
|
13
82
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by email not defined)
|
15
83
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
16
84
|
- Refactored divider stories for codesandbox ([PR #20393](https://github.com/microsoft/fluentui/pull/20393) by gcox@microsoft.com)
|
17
85
|
- export static classes for components ([PR #20454](https://github.com/microsoft/fluentui/pull/20454) by olfedias@microsoft.com)
|
18
86
|
- Divider: Updating the component to the latest patterns. ([PR #20273](https://github.com/microsoft/fluentui/pull/20273) by Humberto.Morimoto@microsoft.com)
|
19
87
|
- Divider: Updating Spec to reflect changes that have happened since it was first created. ([PR #20441](https://github.com/microsoft/fluentui/pull/20441) by Humberto.Morimoto@microsoft.com)
|
20
|
-
- Bump @fluentui/react-make-styles to
|
21
|
-
- Bump @fluentui/react-utilities to
|
22
|
-
- Bump @fluentui/babel-make-styles to
|
23
|
-
- Bump @fluentui/jest-serializer-make-styles to
|
24
|
-
- Bump @fluentui/react-conformance-make-styles to
|
88
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
89
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
90
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
91
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
92
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
25
93
|
|
26
94
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-beta.2)
|
27
95
|
|
package/dist/react-divider.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import type { ComponentProps } from '@fluentui/react-utilities';
|
2
2
|
import type { ComponentState } from '@fluentui/react-utilities';
|
3
3
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
4
|
-
import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
|
5
4
|
import * as React_2 from 'react';
|
5
|
+
import type { Slot } from '@fluentui/react-utilities';
|
6
6
|
|
7
7
|
/**
|
8
8
|
* A divider visually segments content into groups.
|
@@ -11,7 +11,7 @@ export declare const Divider: ForwardRefComponent<DividerProps>;
|
|
11
11
|
|
12
12
|
export declare const dividerClassName = "fui-Divider";
|
13
13
|
|
14
|
-
|
14
|
+
declare type DividerCommons = {
|
15
15
|
/**
|
16
16
|
* Determines the alignment of the content within the divider.
|
17
17
|
* @defaultvalue 'center'
|
@@ -34,17 +34,17 @@ export declare type DividerCommons = {
|
|
34
34
|
vertical: boolean;
|
35
35
|
};
|
36
36
|
|
37
|
-
export declare type DividerProps = ComponentProps<DividerSlots
|
37
|
+
export declare type DividerProps = ComponentProps<Partial<DividerSlots>> & Partial<DividerCommons>;
|
38
38
|
|
39
39
|
export declare type DividerSlots = {
|
40
40
|
/**
|
41
41
|
* Root of the component that renders as a `<div>` tag.
|
42
42
|
*/
|
43
|
-
root:
|
43
|
+
root: Slot<'div'>;
|
44
44
|
/**
|
45
45
|
* Accessibility wrapper for content when presented.
|
46
46
|
*/
|
47
|
-
wrapper:
|
47
|
+
wrapper: Slot<'div'>;
|
48
48
|
};
|
49
49
|
|
50
50
|
export declare type DividerState = ComponentState<DividerSlots> & DividerCommons;
|
@@ -52,15 +52,15 @@ export declare type DividerState = ComponentState<DividerSlots> & DividerCommons
|
|
52
52
|
/**
|
53
53
|
* Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.
|
54
54
|
*/
|
55
|
-
export declare const
|
55
|
+
export declare const renderDivider_unstable: (state: DividerState) => JSX.Element;
|
56
56
|
|
57
57
|
/**
|
58
58
|
* Returns the props and state required to render the component
|
59
59
|
* @param props - User-provided props to the Divider component.
|
60
60
|
* @param ref - User-provided ref to be passed to the Divider component.
|
61
61
|
*/
|
62
|
-
export declare const
|
62
|
+
export declare const useDivider_unstable: (props: DividerProps, ref: React_2.Ref<HTMLElement>) => DividerState;
|
63
63
|
|
64
|
-
export declare const
|
64
|
+
export declare const useDividerStyles_unstable: (state: DividerState) => DividerState;
|
65
65
|
|
66
66
|
export { }
|
package/lib/Divider.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Divider.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Divider.js","sourceRoot":"../src/","sources":["Divider.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Divider/index';\n"]}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
2
|
+
import { renderDivider_unstable } from './renderDivider';
|
3
|
+
import { useDivider_unstable } from './useDivider';
|
4
|
+
import { useDividerStyles_unstable } from './useDividerStyles';
|
5
5
|
/**
|
6
6
|
* A divider visually segments content into groups.
|
7
7
|
*/
|
8
8
|
|
9
9
|
export const Divider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
|
-
const state =
|
11
|
-
|
12
|
-
return
|
10
|
+
const state = useDivider_unstable(props, ref);
|
11
|
+
useDividerStyles_unstable(state);
|
12
|
+
return renderDivider_unstable(state);
|
13
13
|
});
|
14
14
|
Divider.displayName = 'Divider';
|
15
15
|
//# sourceMappingURL=Divider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,sBAAT,QAAuC,iBAAvC;AACA,SAAS,mBAAT,QAAoC,cAApC;AACA,SAAS,yBAAT,QAA0C,oBAA1C;AAIA;;AAEG;;AACH,OAAO,MAAM,OAAO,gBAAsC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACxF,QAAM,KAAK,GAAG,mBAAmB,CAAC,KAAD,EAAQ,GAAR,CAAjC;AAEA,EAAA,yBAAyB,CAAC,KAAD,CAAzB;AAEA,SAAO,sBAAsB,CAAC,KAAD,CAA7B;AACD,CANyD,CAAnD;AAQP,OAAO,CAAC,WAAR,GAAsB,SAAtB","sourcesContent":["import * as React from 'react';\nimport { renderDivider_unstable } from './renderDivider';\nimport { useDivider_unstable } from './useDivider';\nimport { useDividerStyles_unstable } from './useDividerStyles';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { DividerProps } from './Divider.types';\n\n/**\n * A divider visually segments content into groups.\n */\nexport const Divider: ForwardRefComponent<DividerProps> = React.forwardRef((props, ref) => {\n const state = useDivider_unstable(props, ref);\n\n useDividerStyles_unstable(state);\n\n return renderDivider_unstable(state);\n});\n\nDivider.displayName = 'Divider';\n"],"sourceRoot":"../src/"}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import type { ComponentProps, ComponentState,
|
1
|
+
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
2
|
export declare type DividerSlots = {
|
3
3
|
/**
|
4
4
|
* Root of the component that renders as a `<div>` tag.
|
5
5
|
*/
|
6
|
-
root:
|
6
|
+
root: Slot<'div'>;
|
7
7
|
/**
|
8
8
|
* Accessibility wrapper for content when presented.
|
9
9
|
*/
|
10
|
-
wrapper:
|
10
|
+
wrapper: Slot<'div'>;
|
11
11
|
};
|
12
|
-
|
12
|
+
declare type DividerCommons = {
|
13
13
|
/**
|
14
14
|
* Determines the alignment of the content within the divider.
|
15
15
|
* @defaultvalue 'center'
|
@@ -31,5 +31,6 @@ export declare type DividerCommons = {
|
|
31
31
|
*/
|
32
32
|
vertical: boolean;
|
33
33
|
};
|
34
|
-
export declare type DividerProps = ComponentProps<DividerSlots
|
34
|
+
export declare type DividerProps = ComponentProps<Partial<DividerSlots>> & Partial<DividerCommons>;
|
35
35
|
export declare type DividerState = ComponentState<DividerSlots> & DividerCommons;
|
36
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Divider.types.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Divider.types.js","sourceRoot":"../src/","sources":["components/Divider/Divider.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type DividerSlots = {\n /**\n * Root of the component that renders as a `<div>` tag.\n */\n root: Slot<'div'>;\n\n /**\n * Accessibility wrapper for content when presented.\n */\n wrapper: Slot<'div'>;\n};\n\ntype DividerCommons = {\n /**\n * Determines the alignment of the content within the divider.\n * @defaultvalue 'center'\n */\n alignContent: 'start' | 'center' | 'end';\n\n /**\n * A divider can have one of the preset appearances.\n * When not specified, the divider has its default appearance.\n */\n appearance?: 'brand' | 'strong' | 'subtle';\n\n /**\n * Adds padding to the beginning and end of the divider.\n * @default false\n */\n inset: boolean;\n\n /**\n * A divider can be horizontal (default) or vertical.\n * @default false\n */\n vertical: boolean;\n};\n\nexport type DividerProps = ComponentProps<Partial<DividerSlots>> & Partial<DividerCommons>;\n\nexport type DividerState = ComponentState<DividerSlots> & DividerCommons;\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Divider/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC","sourcesContent":["export * from './Divider';\nexport * from './Divider.types';\nexport * from './renderDivider';\nexport * from './useDivider';\nexport * from './useDividerStyles';\n"]}
|
@@ -2,4 +2,4 @@ import { DividerState } from './Divider.types';
|
|
2
2
|
/**
|
3
3
|
* Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.
|
4
4
|
*/
|
5
|
-
export declare const
|
5
|
+
export declare const renderDivider_unstable: (state: DividerState) => JSX.Element;
|
@@ -4,11 +4,13 @@ import { getSlots } from '@fluentui/react-utilities';
|
|
4
4
|
* Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.
|
5
5
|
*/
|
6
6
|
|
7
|
-
export const
|
7
|
+
export const renderDivider_unstable = state => {
|
8
8
|
const {
|
9
9
|
slots,
|
10
10
|
slotProps
|
11
|
-
} = getSlots(state
|
12
|
-
return /*#__PURE__*/React.createElement(slots.root,
|
11
|
+
} = getSlots(state);
|
12
|
+
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
13
|
+
}, slotProps.root.children !== undefined && /*#__PURE__*/React.createElement(slots.wrapper, { ...slotProps.wrapper
|
14
|
+
}, slotProps.root.children));
|
13
15
|
};
|
14
16
|
//# sourceMappingURL=renderDivider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["components/Divider/renderDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,sBAAsB,GAAI,KAAD,IAAwB;AAC5D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAe,KAAf,CAArC;AACA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,SAAS,CAAC,IAAV,CAAe,QAAf,KAA4B,SAA5B,iBACC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,EAAuC,SAAS,CAAC,IAAV,CAAe,QAAtD,CAFJ,CADF;AAOD,CATM","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport { DividerSlots, DividerState } from './Divider.types';\n\n/**\n * Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.\n */\nexport const renderDivider_unstable = (state: DividerState) => {\n const { slots, slotProps } = getSlots<DividerSlots>(state);\n return (\n <slots.root {...slotProps.root}>\n {slotProps.root.children !== undefined && (\n <slots.wrapper {...slotProps.wrapper}>{slotProps.root.children}</slots.wrapper>\n )}\n </slots.root>\n );\n};\n"],"sourceRoot":"../src/"}
|
@@ -5,4 +5,4 @@ import type { DividerProps, DividerState } from './Divider.types';
|
|
5
5
|
* @param props - User-provided props to the Divider component.
|
6
6
|
* @param ref - User-provided ref to be passed to the Divider component.
|
7
7
|
*/
|
8
|
-
export declare const
|
8
|
+
export declare const useDivider_unstable: (props: DividerProps, ref: React.Ref<HTMLElement>) => DividerState;
|
@@ -5,7 +5,7 @@ import { getNativeElementProps, resolveShorthand, useId } from '@fluentui/react-
|
|
5
5
|
* @param ref - User-provided ref to be passed to the Divider component.
|
6
6
|
*/
|
7
7
|
|
8
|
-
export const
|
8
|
+
export const useDivider_unstable = (props, ref) => {
|
9
9
|
const {
|
10
10
|
alignContent = 'center',
|
11
11
|
appearance,
|
@@ -28,6 +28,7 @@ export const useDivider = (props, ref) => {
|
|
28
28
|
root: getNativeElementProps('div', { ...props,
|
29
29
|
ref,
|
30
30
|
role: 'separator',
|
31
|
+
'aria-orientation': vertical ? 'vertical' : 'horizontal',
|
31
32
|
'aria-labelledby': props.children ? dividerId : undefined
|
32
33
|
}),
|
33
34
|
wrapper: resolveShorthand(wrapper, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["components/Divider/useDivider.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,EAAgC,gBAAhC,EAAkD,KAAlD,QAA+D,2BAA/D;AAGA;;;;AAIG;;AACH,OAAO,MAAM,mBAAmB,GAAG,CAAC,KAAD,EAAsB,GAAtB,KAAmE;AACpG,QAAM;AAAE,IAAA,YAAY,GAAG,QAAjB;AAA2B,IAAA,UAA3B;AAAuC,IAAA,KAAK,GAAG,KAA/C;AAAsD,IAAA,QAAQ,GAAG,KAAjE;AAAwE,IAAA;AAAxE,MAAoF,KAA1F;AACA,QAAM,SAAS,GAAG,KAAK,CAAC,UAAD,CAAvB;AAEA,SAAO;AACL;AACA,IAAA,YAFK;AAGL,IAAA,UAHK;AAIL,IAAA,KAJK;AAKL,IAAA,QALK;AAOL;AACA,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,OAAO,EAAE;AAFC,KARP;AAaL,IAAA,IAAI,EAAE,qBAAqB,CAAC,KAAD,EAAQ,EACjC,GAAG,KAD8B;AAEjC,MAAA,GAFiC;AAGjC,MAAA,IAAI,EAAE,WAH2B;AAIjC,0BAAoB,QAAQ,GAAG,UAAH,GAAgB,YAJX;AAKjC,yBAAmB,KAAK,CAAC,QAAN,GAAiB,SAAjB,GAA6B;AALf,KAAR,CAbtB;AAoBL,IAAA,OAAO,EAAE,gBAAgB,CAAC,OAAD,EAAU;AACjC,MAAA,QAAQ,EAAE,IADuB;AAEjC,MAAA,YAAY,EAAE;AACZ,QAAA,EAAE,EAAE,SADQ;AAEZ,QAAA,QAAQ,EAAE,KAAK,CAAC;AAFJ;AAFmB,KAAV;AApBpB,GAAP;AA4BD,CAhCM","sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useId } from '@fluentui/react-utilities';\nimport type { DividerProps, DividerState } from './Divider.types';\n\n/**\n * Returns the props and state required to render the component\n * @param props - User-provided props to the Divider component.\n * @param ref - User-provided ref to be passed to the Divider component.\n */\nexport const useDivider_unstable = (props: DividerProps, ref: React.Ref<HTMLElement>): DividerState => {\n const { alignContent = 'center', appearance, inset = false, vertical = false, wrapper } = props;\n const dividerId = useId('divider-');\n\n return {\n // Props passed at the top-level\n alignContent,\n appearance,\n inset,\n vertical,\n\n // Slots definition\n components: {\n root: 'div',\n wrapper: 'div',\n },\n\n root: getNativeElementProps('div', {\n ...props,\n ref,\n role: 'separator',\n 'aria-orientation': vertical ? 'vertical' : 'horizontal',\n 'aria-labelledby': props.children ? dividerId : undefined,\n }),\n wrapper: resolveShorthand(wrapper, {\n required: true,\n defaultProps: {\n id: dividerId,\n children: props.children,\n },\n }),\n };\n};\n"],"sourceRoot":"../src/"}
|