@fluentui/react-card 9.0.0-beta.1 → 9.0.0-beta.5

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.
Files changed (109) hide show
  1. package/CHANGELOG.json +249 -1
  2. package/CHANGELOG.md +66 -2
  3. package/dist/react-card.d.ts +49 -115
  4. package/lib/components/Card/Card.d.ts +1 -1
  5. package/lib/components/Card/Card.js +3 -3
  6. package/lib/components/Card/Card.js.map +1 -1
  7. package/lib/components/Card/Card.types.d.ts +7 -18
  8. package/lib/components/Card/renderCard.js +7 -8
  9. package/lib/components/Card/renderCard.js.map +1 -1
  10. package/lib/components/Card/useCard.d.ts +1 -2
  11. package/lib/components/Card/useCard.js +17 -9
  12. package/lib/components/Card/useCard.js.map +1 -1
  13. package/lib/components/Card/useCardStyles.d.ts +1 -0
  14. package/lib/components/Card/useCardStyles.js +11 -9
  15. package/lib/components/Card/useCardStyles.js.map +1 -1
  16. package/lib/components/CardFooter/CardFooter.js +2 -2
  17. package/lib/components/CardFooter/CardFooter.js.map +1 -1
  18. package/lib/components/CardFooter/CardFooter.types.d.ts +8 -23
  19. package/lib/components/CardFooter/renderCardFooter.js +7 -8
  20. package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
  21. package/lib/components/CardFooter/useCardFooter.d.ts +3 -4
  22. package/lib/components/CardFooter/useCardFooter.js +17 -11
  23. package/lib/components/CardFooter/useCardFooter.js.map +1 -1
  24. package/lib/components/CardFooter/useCardFooterStyles.d.ts +1 -0
  25. package/lib/components/CardFooter/useCardFooterStyles.js +5 -4
  26. package/lib/components/CardFooter/useCardFooterStyles.js.map +1 -1
  27. package/lib/components/CardHeader/CardHeader.js +2 -2
  28. package/lib/components/CardHeader/CardHeader.js.map +1 -1
  29. package/lib/components/CardHeader/CardHeader.types.d.ts +12 -39
  30. package/lib/components/CardHeader/renderCardHeader.js +8 -9
  31. package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
  32. package/lib/components/CardHeader/useCardHeader.d.ts +3 -7
  33. package/lib/components/CardHeader/useCardHeader.js +34 -30
  34. package/lib/components/CardHeader/useCardHeader.js.map +1 -1
  35. package/lib/components/CardHeader/useCardHeaderStyles.d.ts +1 -0
  36. package/lib/components/CardHeader/useCardHeaderStyles.js +5 -4
  37. package/lib/components/CardHeader/useCardHeaderStyles.js.map +1 -1
  38. package/lib/components/CardPreview/CardPreview.js +2 -2
  39. package/lib/components/CardPreview/CardPreview.js.map +1 -1
  40. package/lib/components/CardPreview/CardPreview.types.d.ts +8 -23
  41. package/lib/components/CardPreview/renderCardPreview.js +8 -9
  42. package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
  43. package/lib/components/CardPreview/useCardPreview.d.ts +3 -4
  44. package/lib/components/CardPreview/useCardPreview.js +17 -14
  45. package/lib/components/CardPreview/useCardPreview.js.map +1 -1
  46. package/lib/components/CardPreview/useCardPreviewStyles.d.ts +1 -0
  47. package/lib/components/CardPreview/useCardPreviewStyles.js +5 -4
  48. package/lib/components/CardPreview/useCardPreviewStyles.js.map +1 -1
  49. package/lib-commonjs/Card.js +1 -1
  50. package/lib-commonjs/CardFooter.js +1 -1
  51. package/lib-commonjs/CardHeader.js +1 -1
  52. package/lib-commonjs/CardPreview.js +1 -1
  53. package/lib-commonjs/components/Card/Card.d.ts +1 -1
  54. package/lib-commonjs/components/Card/Card.js +7 -7
  55. package/lib-commonjs/components/Card/Card.js.map +1 -1
  56. package/lib-commonjs/components/Card/Card.types.d.ts +7 -18
  57. package/lib-commonjs/components/Card/index.js +1 -1
  58. package/lib-commonjs/components/Card/renderCard.js +8 -10
  59. package/lib-commonjs/components/Card/renderCard.js.map +1 -1
  60. package/lib-commonjs/components/Card/useCard.d.ts +1 -2
  61. package/lib-commonjs/components/Card/useCard.js +18 -9
  62. package/lib-commonjs/components/Card/useCard.js.map +1 -1
  63. package/lib-commonjs/components/Card/useCardStyles.d.ts +1 -0
  64. package/lib-commonjs/components/Card/useCardStyles.js +15 -12
  65. package/lib-commonjs/components/Card/useCardStyles.js.map +1 -1
  66. package/lib-commonjs/components/CardFooter/CardFooter.js +6 -6
  67. package/lib-commonjs/components/CardFooter/CardFooter.js.map +1 -1
  68. package/lib-commonjs/components/CardFooter/CardFooter.types.d.ts +8 -23
  69. package/lib-commonjs/components/CardFooter/index.js +1 -1
  70. package/lib-commonjs/components/CardFooter/renderCardFooter.js +9 -11
  71. package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
  72. package/lib-commonjs/components/CardFooter/useCardFooter.d.ts +3 -4
  73. package/lib-commonjs/components/CardFooter/useCardFooter.js +17 -11
  74. package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
  75. package/lib-commonjs/components/CardFooter/useCardFooterStyles.d.ts +1 -0
  76. package/lib-commonjs/components/CardFooter/useCardFooterStyles.js +8 -7
  77. package/lib-commonjs/components/CardFooter/useCardFooterStyles.js.map +1 -1
  78. package/lib-commonjs/components/CardHeader/CardHeader.js +6 -6
  79. package/lib-commonjs/components/CardHeader/CardHeader.js.map +1 -1
  80. package/lib-commonjs/components/CardHeader/CardHeader.types.d.ts +12 -39
  81. package/lib-commonjs/components/CardHeader/index.js +1 -1
  82. package/lib-commonjs/components/CardHeader/renderCardHeader.js +9 -11
  83. package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
  84. package/lib-commonjs/components/CardHeader/useCardHeader.d.ts +3 -7
  85. package/lib-commonjs/components/CardHeader/useCardHeader.js +36 -32
  86. package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
  87. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.d.ts +1 -0
  88. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js +8 -7
  89. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js.map +1 -1
  90. package/lib-commonjs/components/CardPreview/CardPreview.js +6 -6
  91. package/lib-commonjs/components/CardPreview/CardPreview.js.map +1 -1
  92. package/lib-commonjs/components/CardPreview/CardPreview.types.d.ts +8 -23
  93. package/lib-commonjs/components/CardPreview/index.js +1 -1
  94. package/lib-commonjs/components/CardPreview/renderCardPreview.js +9 -11
  95. package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
  96. package/lib-commonjs/components/CardPreview/useCardPreview.d.ts +3 -4
  97. package/lib-commonjs/components/CardPreview/useCardPreview.js +18 -15
  98. package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
  99. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.d.ts +1 -0
  100. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js +8 -7
  101. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js.map +1 -1
  102. package/lib-commonjs/index.js +1 -1
  103. package/package.json +12 -11
  104. package/lib/common/isConformant.d.ts +0 -4
  105. package/lib/common/isConformant.js +0 -11
  106. package/lib/common/isConformant.js.map +0 -1
  107. package/lib-commonjs/common/isConformant.d.ts +0 -4
  108. package/lib-commonjs/common/isConformant.js +0 -22
  109. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,255 @@
2
2
  "name": "@fluentui/react-card",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 06 Oct 2021 10:36:00 GMT",
5
+ "date": "Thu, 25 Nov 2021 08:31:31 GMT",
6
+ "tag": "@fluentui/react-card_v9.0.0-beta.5",
7
+ "version": "9.0.0-beta.5",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "andredias@microsoft.com",
12
+ "package": "@fluentui/react-card",
13
+ "commit": "5f5fb9fe289f45c7f9afe9f052c51f19cfd41160",
14
+ "comment": "Migrate Card"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-card",
19
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
20
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-card",
25
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
26
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-card",
31
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
32
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-card",
37
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
38
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-card",
43
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
44
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-card",
49
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
50
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-card",
55
+ "comment": "Bump @fluentui/react-text to v9.0.0-beta.4",
56
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-card",
61
+ "comment": "Bump @fluentui/react-button to v9.0.0-beta.5",
62
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "date": "Fri, 12 Nov 2021 13:25:17 GMT",
69
+ "tag": "@fluentui/react-card_v9.0.0-beta.4",
70
+ "version": "9.0.0-beta.4",
71
+ "comments": {
72
+ "none": [
73
+ {
74
+ "author": "mgodbolt@microsoft.com",
75
+ "package": "@fluentui/react-card",
76
+ "commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
77
+ "comment": "update docs descriptions"
78
+ },
79
+ {
80
+ "author": "lingfangao@hotmail.com",
81
+ "package": "@fluentui/react-card",
82
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
83
+ "comment": "Remove beta release tag"
84
+ },
85
+ {
86
+ "author": "mgodbolt@microsoft.com",
87
+ "package": "@fluentui/react-card",
88
+ "commit": "114b089957bcbf547bb8713f2bfb4811239fb5a2",
89
+ "comment": "add default and move assets to github urls"
90
+ }
91
+ ],
92
+ "prerelease": [
93
+ {
94
+ "author": "olfedias@microsoft.com",
95
+ "package": "@fluentui/react-card",
96
+ "commit": "22460e1421c0f3b2bdf9c76d80a2cb202fa30079",
97
+ "comment": "export static classes for components"
98
+ },
99
+ {
100
+ "author": "andredias@microsoft.com",
101
+ "package": "@fluentui/react-card",
102
+ "commit": "70e81a56249d55dae418217ddcef5d16e030862a",
103
+ "comment": "Migrate to new useFocusableGroup usage"
104
+ },
105
+ {
106
+ "author": "beachball",
107
+ "package": "@fluentui/react-card",
108
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
109
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
110
+ },
111
+ {
112
+ "author": "beachball",
113
+ "package": "@fluentui/react-card",
114
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
115
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
116
+ },
117
+ {
118
+ "author": "beachball",
119
+ "package": "@fluentui/react-card",
120
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
121
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
122
+ },
123
+ {
124
+ "author": "beachball",
125
+ "package": "@fluentui/react-card",
126
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
127
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-card",
132
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
133
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-card",
138
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
139
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
140
+ },
141
+ {
142
+ "author": "beachball",
143
+ "package": "@fluentui/react-card",
144
+ "comment": "Bump @fluentui/react-text to v9.0.0-beta.3",
145
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-card",
150
+ "comment": "Bump @fluentui/react-button to v9.0.0-beta.4",
151
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
152
+ }
153
+ ]
154
+ }
155
+ },
156
+ {
157
+ "date": "Wed, 27 Oct 2021 12:14:15 GMT",
158
+ "tag": "@fluentui/react-card_v9.0.0-beta.3",
159
+ "version": "9.0.0-beta.3",
160
+ "comments": {
161
+ "prerelease": [
162
+ {
163
+ "author": "peter@draxler.ml",
164
+ "package": "@fluentui/react-card",
165
+ "commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
166
+ "comment": "added styling of documentation"
167
+ },
168
+ {
169
+ "author": "beachball",
170
+ "package": "@fluentui/react-card",
171
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
172
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
173
+ },
174
+ {
175
+ "author": "beachball",
176
+ "package": "@fluentui/react-card",
177
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
178
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
179
+ },
180
+ {
181
+ "author": "beachball",
182
+ "package": "@fluentui/react-card",
183
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.3",
184
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
185
+ },
186
+ {
187
+ "author": "beachball",
188
+ "package": "@fluentui/react-card",
189
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
190
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
191
+ },
192
+ {
193
+ "author": "beachball",
194
+ "package": "@fluentui/react-card",
195
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
196
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
197
+ },
198
+ {
199
+ "author": "beachball",
200
+ "package": "@fluentui/react-card",
201
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
202
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
203
+ },
204
+ {
205
+ "author": "beachball",
206
+ "package": "@fluentui/react-card",
207
+ "comment": "Bump @fluentui/react-text to v9.0.0-beta.2",
208
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
209
+ },
210
+ {
211
+ "author": "beachball",
212
+ "package": "@fluentui/react-card",
213
+ "comment": "Bump @fluentui/react-button to v9.0.0-beta.3",
214
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
215
+ }
216
+ ]
217
+ }
218
+ },
219
+ {
220
+ "date": "Tue, 12 Oct 2021 19:45:58 GMT",
221
+ "tag": "@fluentui/react-card_v9.0.0-beta.2",
222
+ "version": "9.0.0-beta.2",
223
+ "comments": {
224
+ "prerelease": [
225
+ {
226
+ "author": "andredias@microsoft.com",
227
+ "package": "@fluentui/react-card",
228
+ "comment": "Migrate Card to new prop merging",
229
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
230
+ },
231
+ {
232
+ "author": "andredias@microsoft.com",
233
+ "package": "@fluentui/react-card",
234
+ "comment": "Add keyboard focus interactions",
235
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
236
+ },
237
+ {
238
+ "author": "beachball",
239
+ "package": "@fluentui/react-card",
240
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.2",
241
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
242
+ },
243
+ {
244
+ "author": "beachball",
245
+ "package": "@fluentui/react-card",
246
+ "comment": "Bump @fluentui/react-button to v9.0.0-beta.2",
247
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
248
+ }
249
+ ]
250
+ }
251
+ },
252
+ {
253
+ "date": "Wed, 06 Oct 2021 10:37:22 GMT",
6
254
  "tag": "@fluentui/react-card_v9.0.0-beta.1",
7
255
  "version": "9.0.0-beta.1",
8
256
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,76 @@
1
1
  # Change Log - @fluentui/react-card
2
2
 
3
- This log was last generated on Wed, 06 Oct 2021 10:36:00 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 25 Nov 2021 08:31:31 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.5)
8
+
9
+ Thu, 25 Nov 2021 08:31:31 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.4..@fluentui/react-card_v9.0.0-beta.5)
11
+
12
+ ### Changes
13
+
14
+ - Migrate Card ([PR #20599](https://github.com/microsoft/fluentui/pull/20599) by andredias@microsoft.com)
15
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
17
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
18
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
19
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
20
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
21
+ - Bump @fluentui/react-text to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
22
+ - Bump @fluentui/react-button to v9.0.0-beta.5 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
23
+
24
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.4)
25
+
26
+ Fri, 12 Nov 2021 13:25:17 GMT
27
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.3..@fluentui/react-card_v9.0.0-beta.4)
28
+
29
+ ### Changes
30
+
31
+ - export static classes for components ([PR #20447](https://github.com/microsoft/fluentui/pull/20447) by olfedias@microsoft.com)
32
+ - Migrate to new useFocusableGroup usage ([PR #20131](https://github.com/microsoft/fluentui/pull/20131) by andredias@microsoft.com)
33
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
34
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
35
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
36
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
37
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
38
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
39
+ - Bump @fluentui/react-text to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
40
+ - Bump @fluentui/react-button to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
41
+
42
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.3)
43
+
44
+ Wed, 27 Oct 2021 12:14:15 GMT
45
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.2..@fluentui/react-card_v9.0.0-beta.3)
46
+
47
+ ### Changes
48
+
49
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
50
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
51
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
52
+ - Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
53
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
54
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
55
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
56
+ - Bump @fluentui/react-text to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
57
+ - Bump @fluentui/react-button to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
58
+
59
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.2)
60
+
61
+ Tue, 12 Oct 2021 19:45:58 GMT
62
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.1..@fluentui/react-card_v9.0.0-beta.2)
63
+
64
+ ### Changes
65
+
66
+ - Migrate Card to new prop merging ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by andredias@microsoft.com)
67
+ - Add keyboard focus interactions ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by andredias@microsoft.com)
68
+ - Bump @fluentui/react-tabster to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
69
+ - Bump @fluentui/react-button to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
70
+
7
71
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.1)
8
72
 
9
- Wed, 06 Oct 2021 10:36:00 GMT
73
+ Wed, 06 Oct 2021 10:37:22 GMT
10
74
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.18..@fluentui/react-card_v9.0.0-beta.1)
11
75
 
12
76
  ### Changes
@@ -1,175 +1,113 @@
1
- import type { ComponentPropsCompat } from '@fluentui/react-utilities';
2
- import type { ComponentStateCompat } from '@fluentui/react-utilities';
1
+ import type { ComponentProps } from '@fluentui/react-utilities';
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';
4
5
  import * as React_2 from 'react';
5
- import type { ShorthandPropsCompat } from '@fluentui/react-utilities';
6
6
 
7
7
  /**
8
- * Component to provide scaffolding for hosting actions and content for a single topic within a card sized object.
8
+ * A card provides scaffolding for hosting actions and content for a single topic.
9
9
  */
10
10
  export declare const Card: ForwardRefComponent<CardProps>;
11
11
 
12
- /**
13
- * Names of CardProps that have a default value in useCard
14
- */
15
- export declare type CardDefaultedProps = never;
12
+ export declare const cardClassName = "fui-Card";
13
+
14
+ export declare type CardCommons = {};
16
15
 
17
16
  /**
18
17
  * Component to render Button actions in a Card component.
19
18
  */
20
19
  export declare const CardFooter: ForwardRefComponent<CardFooterProps>;
21
20
 
22
- /**
23
- * Names of CardFooterProps that have a default value in useCardFooter
24
- */
25
- export declare type CardFooterDefaultedProps = never;
26
-
27
- /**
28
- * CardFooter Props
29
- */
30
- export declare interface CardFooterProps extends ComponentPropsCompat, React_2.HTMLAttributes<HTMLElement> {
31
- /**
32
- * Actions slot
33
- */
34
- action?: ShorthandPropsCompat<React_2.HTMLAttributes<HTMLElement>>;
35
- }
21
+ export declare const cardFooterClassName = "fui-CardFooter";
36
22
 
37
23
  /**
38
- * Names of the shorthand properties in CardFooterProps
24
+ * CardFooter props
39
25
  */
40
- export declare type CardFooterShorthandProps = 'action';
26
+ export declare type CardFooterProps = ComponentProps<CardFooterSlots>;
41
27
 
42
28
  /**
43
29
  * Array of all shorthand properties listed in CardFooterShorthandProps
44
30
  */
45
- export declare const cardFooterShorthandProps: CardFooterShorthandProps[];
31
+ export declare const cardFooterShorthandProps: Array<keyof CardFooterSlots>;
32
+
33
+ export declare type CardFooterSlots = {
34
+ root: IntrinsicShorthandProps<'div'>;
35
+ action?: IntrinsicShorthandProps<'div'>;
36
+ };
46
37
 
47
38
  /**
48
39
  * State used in rendering CardFooter
49
40
  */
50
- export declare interface CardFooterState extends ComponentStateCompat<CardFooterProps, CardFooterShorthandProps, CardFooterDefaultedProps> {
51
- /**
52
- * Ref to the root element
53
- */
54
- ref: React_2.Ref<HTMLElement>;
55
- }
41
+ export declare type CardFooterState = ComponentState<CardFooterSlots>;
56
42
 
57
43
  /**
58
44
  * Component to render an image, text and an action in a Card component.
59
45
  */
60
46
  export declare const CardHeader: ForwardRefComponent<CardHeaderProps>;
61
47
 
62
- /**
63
- * Names of CardHeaderProps that have a default value in useCardHeader
64
- */
65
- export declare type CardHeaderDefaultedProps = never;
48
+ export declare const cardHeaderClassName = "fui-CardHeader";
66
49
 
67
50
  /**
68
- * CardHeader Props
51
+ * CardHeader props
69
52
  */
70
- export declare interface CardHeaderProps extends ComponentPropsCompat, React_2.HTMLAttributes<HTMLElement> {
71
- /**
72
- * Image slot
73
- */
74
- image: ShorthandPropsCompat<React_2.ImgHTMLAttributes<HTMLImageElement>>;
75
- /**
76
- * Content slot, wrapper of the header and description slots
77
- */
78
- content?: ShorthandPropsCompat<React_2.HTMLAttributes<HTMLElement>>;
79
- /**
80
- * Header title slot
81
- */
82
- header: ShorthandPropsCompat<React_2.HTMLAttributes<HTMLElement>>;
83
- /**
84
- * Description slot
85
- */
86
- description: ShorthandPropsCompat<React_2.HTMLAttributes<HTMLElement>>;
87
- /**
88
- * Actions slot
89
- */
90
- action?: ShorthandPropsCompat<React_2.HTMLAttributes<HTMLElement>>;
91
- }
53
+ export declare type CardHeaderProps = ComponentProps<CardHeaderSlots>;
92
54
 
93
- /**
94
- * Names of the shorthand properties in CardHeaderProps
95
- */
96
- export declare type CardHeaderShorthandProps = 'image' | 'content' | 'header' | 'description' | 'action';
55
+ export declare const cardHeaderShorthandProps: Array<keyof CardHeaderSlots>;
97
56
 
98
- /**
99
- * Array of all shorthand properties listed in CardHeaderShorthandProps
100
- */
101
- export declare const cardHeaderShorthandPropsCompat: CardHeaderShorthandProps[];
57
+ export declare type CardHeaderSlots = {
58
+ root: IntrinsicShorthandProps<'div'>;
59
+ image: IntrinsicShorthandProps<'div'>;
60
+ content?: IntrinsicShorthandProps<'div'>;
61
+ header: IntrinsicShorthandProps<'span'>;
62
+ description: IntrinsicShorthandProps<'span'>;
63
+ action?: IntrinsicShorthandProps<'div'>;
64
+ };
102
65
 
103
66
  /**
104
67
  * State used in rendering CardHeader
105
68
  */
106
- export declare interface CardHeaderState extends ComponentStateCompat<CardHeaderProps, CardHeaderShorthandProps> {
107
- /**
108
- * Ref to the root element
109
- */
110
- ref: React_2.Ref<HTMLElement>;
111
- }
69
+ export declare type CardHeaderState = ComponentState<CardHeaderSlots>;
112
70
 
113
71
  /**
114
72
  * Component to render image previews of documents or articles in a Card component.
115
73
  */
116
74
  export declare const CardPreview: ForwardRefComponent<CardPreviewProps>;
117
75
 
118
- /**
119
- * Names of CardPreviewProps that have a default value in useCardPreview
120
- */
121
- export declare type CardPreviewDefaultedProps = never;
76
+ export declare const cardPreviewClassName = "fui-CardPreview";
122
77
 
123
78
  /**
124
- * CardPreview Props
79
+ * CardPreview props
125
80
  */
126
- export declare interface CardPreviewProps extends ComponentPropsCompat, React_2.HTMLAttributes<HTMLElement> {
127
- /**
128
- * Image slot
129
- */
130
- logo?: ShorthandPropsCompat<React_2.ImgHTMLAttributes<HTMLImageElement>>;
131
- }
132
-
133
- /**
134
- * Names of the shorthand properties in CardPreviewProps
135
- */
136
- export declare type CardPreviewShorthandProps = 'logo';
81
+ export declare type CardPreviewProps = ComponentProps<CardPreviewSlots>;
137
82
 
138
83
  /**
139
84
  * Array of all shorthand properties listed in CardPreviewShorthandProps
140
85
  */
141
- export declare const cardPreviewShorthandPropsCompat: CardPreviewShorthandProps[];
86
+ export declare const cardPreviewShorthandProps: Array<keyof CardPreviewSlots>;
87
+
88
+ export declare type CardPreviewSlots = {
89
+ root: IntrinsicShorthandProps<'div'>;
90
+ logo?: IntrinsicShorthandProps<'div'>;
91
+ };
142
92
 
143
93
  /**
144
94
  * State used in rendering CardPreview
145
95
  */
146
- export declare interface CardPreviewState extends ComponentStateCompat<CardPreviewProps, CardPreviewShorthandProps, CardPreviewDefaultedProps> {
147
- /**
148
- * Ref to the root element
149
- */
150
- ref: React_2.Ref<HTMLElement>;
151
- }
96
+ export declare type CardPreviewState = ComponentState<CardPreviewSlots>;
152
97
 
153
98
  /**
154
99
  * Card Props
155
100
  */
156
- export declare interface CardProps extends ComponentPropsCompat, React_2.HTMLAttributes<HTMLElement> {
157
- }
101
+ export declare type CardProps = ComponentProps<CardSlots> & Partial<CardCommons>;
158
102
 
159
- /**
160
- * Names of the shorthand properties in CardProps
161
- */
162
- export declare type CardShorthandProps = never;
103
+ export declare type CardSlots = {
104
+ root: IntrinsicShorthandProps<'div'>;
105
+ };
163
106
 
164
107
  /**
165
108
  * State used in rendering Card
166
109
  */
167
- export declare interface CardState extends CardProps, ComponentStateCompat<CardProps, CardShorthandProps, CardDefaultedProps> {
168
- /**
169
- * Ref to the root element
170
- */
171
- ref: React_2.Ref<HTMLElement>;
172
- }
110
+ export declare type CardState = ComponentState<CardSlots> & CardCommons;
173
111
 
174
112
  /**
175
113
  * Render the final JSX of Card
@@ -199,9 +137,8 @@ export declare const renderCardPreview: (state: CardPreviewState) => JSX.Element
199
137
  *
200
138
  * @param props - props from this instance of Card
201
139
  * @param ref - reference to root HTMLElement of Card
202
- * @param defaultProps - (optional) default prop values provided by the implementing type
203
140
  */
204
- export declare const useCard: (props: CardProps, ref: React_2.Ref<HTMLElement>, defaultProps?: CardProps | undefined) => CardState;
141
+ export declare const useCard: (props: CardProps, ref: React_2.Ref<HTMLElement>) => CardState;
205
142
 
206
143
  /**
207
144
  * Create the state required to render CardFooter.
@@ -211,9 +148,8 @@ export declare const useCard: (props: CardProps, ref: React_2.Ref<HTMLElement>,
211
148
  *
212
149
  * @param props - props from this instance of CardFooter
213
150
  * @param ref - reference to root HTMLElement of CardFooter
214
- * @param defaultProps - (optional) default prop values provided by the implementing type
215
151
  */
216
- export declare const useCardFooter: (props: CardFooterProps, ref: React_2.Ref<HTMLElement>, defaultProps?: CardFooterProps | undefined) => CardFooterState;
152
+ export declare const useCardFooter: (props: CardFooterProps, ref: React_2.Ref<HTMLElement>) => CardFooterState;
217
153
 
218
154
  /**
219
155
  * Apply styling to the CardFooter slots based on the state
@@ -228,9 +164,8 @@ export declare const useCardFooterStyles: (state: CardFooterState) => CardFooter
228
164
  *
229
165
  * @param props - props from this instance of CardHeader
230
166
  * @param ref - reference to root HTMLElement of CardHeader
231
- * @param defaultProps - (optional) default prop values provided by the implementing type
232
167
  */
233
- export declare const useCardHeader: (props: CardHeaderProps, ref: React_2.Ref<HTMLElement>, defaultProps?: CardHeaderProps | undefined) => CardHeaderState;
168
+ export declare const useCardHeader: (props: CardHeaderProps, ref: React_2.Ref<HTMLElement>) => CardHeaderState;
234
169
 
235
170
  /**
236
171
  * Apply styling to the CardHeader slots based on the state
@@ -245,9 +180,8 @@ export declare const useCardHeaderStyles: (state: CardHeaderState) => CardHeader
245
180
  *
246
181
  * @param props - props from this instance of CardPreview
247
182
  * @param ref - reference to root HTMLElement of CardPreview
248
- * @param defaultProps - (optional) default prop values provided by the implementing type
249
183
  */
250
- export declare const useCardPreview: (props: CardPreviewProps, ref: React_2.Ref<HTMLElement>, defaultProps?: CardPreviewProps | undefined) => CardPreviewState;
184
+ export declare const useCardPreview: (props: CardPreviewProps, ref: React_2.Ref<HTMLElement>) => CardPreviewState;
251
185
 
252
186
  /**
253
187
  * Apply styling to the CardPreview slots based on the state
@@ -1,6 +1,6 @@
1
1
  import type { CardProps } from './Card.types';
2
2
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
3
  /**
4
- * Component to provide scaffolding for hosting actions and content for a single topic within a card sized object.
4
+ * A card provides scaffolding for hosting actions and content for a single topic.
5
5
  */
6
6
  export declare const Card: ForwardRefComponent<CardProps>;
@@ -3,11 +3,11 @@ import { useCard } from './useCard';
3
3
  import { renderCard } from './renderCard';
4
4
  import { useCardStyles } from './useCardStyles';
5
5
  /**
6
- * Component to provide scaffolding for hosting actions and content for a single topic within a card sized object.
6
+ * A card provides scaffolding for hosting actions and content for a single topic.
7
7
  */
8
8
 
9
- export var Card = /*#__PURE__*/React.forwardRef(function (props, ref) {
10
- var state = useCard(props, ref);
9
+ export const Card = /*#__PURE__*/React.forwardRef((props, ref) => {
10
+ const state = useCard(props, ref);
11
11
  useCardStyles(state);
12
12
  return renderCard(state);
13
13
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,OAAT,QAAwB,WAAxB;AACA,SAAS,UAAT,QAA2B,cAA3B;AACA,SAAS,aAAT,QAA8B,iBAA9B;AAIA;;AAEG;;AACH,OAAO,IAAM,IAAI,gBAAmC,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AAC9E,MAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAQ,GAAR,CAArB;AAEA,EAAA,aAAa,CAAC,KAAD,CAAb;AACA,SAAO,UAAU,CAAC,KAAD,CAAjB;AACD,CALmD,CAA7C;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,OAAT,QAAwB,WAAxB;AACA,SAAS,UAAT,QAA2B,cAA3B;AACA,SAAS,aAAT,QAA8B,iBAA9B;AAIA;;AAEG;;AACH,OAAO,MAAM,IAAI,gBAAmC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClF,QAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAQ,GAAR,CAArB;AAEA,EAAA,aAAa,CAAC,KAAD,CAAb;AACA,SAAO,UAAU,CAAC,KAAD,CAAjB;AACD,CALmD,CAA7C;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
@@ -1,24 +1,13 @@
1
- import * as React from 'react';
2
- import type { ComponentPropsCompat, ComponentStateCompat } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
2
+ export declare type CardSlots = {
3
+ root: IntrinsicShorthandProps<'div'>;
4
+ };
5
+ export declare type CardCommons = {};
3
6
  /**
4
7
  * Card Props
5
8
  */
6
- export interface CardProps extends ComponentPropsCompat, React.HTMLAttributes<HTMLElement> {
7
- }
8
- /**
9
- * Names of the shorthand properties in CardProps
10
- */
11
- export declare type CardShorthandProps = never;
12
- /**
13
- * Names of CardProps that have a default value in useCard
14
- */
15
- export declare type CardDefaultedProps = never;
9
+ export declare type CardProps = ComponentProps<CardSlots> & Partial<CardCommons>;
16
10
  /**
17
11
  * State used in rendering Card
18
12
  */
19
- export interface CardState extends CardProps, ComponentStateCompat<CardProps, CardShorthandProps, CardDefaultedProps> {
20
- /**
21
- * Ref to the root element
22
- */
23
- ref: React.Ref<HTMLElement>;
24
- }
13
+ export declare type CardState = ComponentState<CardSlots> & CardCommons;