@fluentui/react-card 0.0.0-nightly-20220715-0418.1 → 0.0.0-nightly-20221007-1528.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.
Files changed (74) hide show
  1. package/CHANGELOG.json +212 -16
  2. package/CHANGELOG.md +60 -11
  3. package/MIGRATION.md +323 -0
  4. package/README.md +65 -3
  5. package/assets/app_logo.svg +9 -0
  6. package/assets/avatar_colin.svg +13 -0
  7. package/assets/card-example.png +0 -0
  8. package/assets/excel_logo.svg +24 -0
  9. package/assets/logo2.svg +11 -0
  10. package/assets/logo3.svg +17 -0
  11. package/assets/office1.png +0 -0
  12. package/assets/office2.png +0 -0
  13. package/lib/Card.js.map +1 -1
  14. package/lib/CardFooter.js.map +1 -1
  15. package/lib/CardHeader.js.map +1 -1
  16. package/lib/CardPreview.js.map +1 -1
  17. package/lib/components/Card/Card.js.map +1 -1
  18. package/lib/components/Card/Card.types.js.map +1 -1
  19. package/lib/components/Card/index.js.map +1 -1
  20. package/lib/components/Card/renderCard.js.map +1 -1
  21. package/lib/components/Card/useCard.js.map +1 -1
  22. package/lib/components/Card/useCardStyles.js +31 -29
  23. package/lib/components/Card/useCardStyles.js.map +1 -1
  24. package/lib/components/CardFooter/CardFooter.js.map +1 -1
  25. package/lib/components/CardFooter/CardFooter.types.js.map +1 -1
  26. package/lib/components/CardFooter/index.js.map +1 -1
  27. package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
  28. package/lib/components/CardFooter/useCardFooter.js.map +1 -1
  29. package/lib/components/CardFooter/useCardFooterStyles.js.map +1 -1
  30. package/lib/components/CardHeader/CardHeader.js.map +1 -1
  31. package/lib/components/CardHeader/CardHeader.types.js.map +1 -1
  32. package/lib/components/CardHeader/index.js.map +1 -1
  33. package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
  34. package/lib/components/CardHeader/useCardHeader.js.map +1 -1
  35. package/lib/components/CardHeader/useCardHeaderStyles.js.map +1 -1
  36. package/lib/components/CardPreview/CardPreview.js.map +1 -1
  37. package/lib/components/CardPreview/CardPreview.types.js.map +1 -1
  38. package/lib/components/CardPreview/index.js.map +1 -1
  39. package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
  40. package/lib/components/CardPreview/useCardPreview.js.map +1 -1
  41. package/lib/components/CardPreview/useCardPreviewStyles.js.map +1 -1
  42. package/lib/index.js.map +1 -1
  43. package/lib-commonjs/Card.js.map +1 -1
  44. package/lib-commonjs/CardFooter.js.map +1 -1
  45. package/lib-commonjs/CardHeader.js.map +1 -1
  46. package/lib-commonjs/CardPreview.js.map +1 -1
  47. package/lib-commonjs/components/Card/Card.js.map +1 -1
  48. package/lib-commonjs/components/Card/Card.types.js.map +1 -1
  49. package/lib-commonjs/components/Card/index.js.map +1 -1
  50. package/lib-commonjs/components/Card/renderCard.js.map +1 -1
  51. package/lib-commonjs/components/Card/useCard.js.map +1 -1
  52. package/lib-commonjs/components/Card/useCardStyles.js +31 -29
  53. package/lib-commonjs/components/Card/useCardStyles.js.map +1 -1
  54. package/lib-commonjs/components/CardFooter/CardFooter.js.map +1 -1
  55. package/lib-commonjs/components/CardFooter/CardFooter.types.js.map +1 -1
  56. package/lib-commonjs/components/CardFooter/index.js.map +1 -1
  57. package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
  58. package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
  59. package/lib-commonjs/components/CardFooter/useCardFooterStyles.js.map +1 -1
  60. package/lib-commonjs/components/CardHeader/CardHeader.js.map +1 -1
  61. package/lib-commonjs/components/CardHeader/CardHeader.types.js.map +1 -1
  62. package/lib-commonjs/components/CardHeader/index.js.map +1 -1
  63. package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
  64. package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
  65. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js.map +1 -1
  66. package/lib-commonjs/components/CardPreview/CardPreview.js.map +1 -1
  67. package/lib-commonjs/components/CardPreview/CardPreview.types.js.map +1 -1
  68. package/lib-commonjs/components/CardPreview/index.js.map +1 -1
  69. package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
  70. package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
  71. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js.map +1 -1
  72. package/lib-commonjs/index.js.map +1 -1
  73. package/package.json +10 -16
  74. package/dist/tsdoc-metadata.json +0 -11
package/CHANGELOG.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@fluentui/react-card",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 15 Jul 2022 04:31:39 GMT",
6
- "tag": "@fluentui/react-card_v0.0.0-nightly-20220715-0418.1",
7
- "version": "0.0.0-nightly-20220715-0418.1",
5
+ "date": "Fri, 07 Oct 2022 15:34:51 GMT",
6
+ "tag": "@fluentui/react-card_v0.0.0-nightly-20221007-1528.1",
7
+ "version": "0.0.0-nightly-20221007-1528.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
- "author": "email not defined",
11
+ "author": "fluentui-internal@service.microsoft.com",
12
12
  "package": "@fluentui/react-card",
13
13
  "commit": "not available",
14
14
  "comment": "Release nightly v9"
@@ -16,38 +16,234 @@
16
16
  {
17
17
  "author": "beachball",
18
18
  "package": "@fluentui/react-card",
19
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220715-0418.1",
20
- "commit": "e1949f7a18e758e415b4740eda5f84bb8ae19e02"
19
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20221007-1528.1",
20
+ "commit": "827197046ec2b195a8997fadbb514a5693234e6b"
21
21
  },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-card",
25
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20220715-0418.1",
26
- "commit": "e1949f7a18e758e415b4740eda5f84bb8ae19e02"
25
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20221007-1528.1",
26
+ "commit": "827197046ec2b195a8997fadbb514a5693234e6b"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-card",
31
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220715-0418.1",
32
- "commit": "e1949f7a18e758e415b4740eda5f84bb8ae19e02"
31
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20221007-1528.1",
32
+ "commit": "827197046ec2b195a8997fadbb514a5693234e6b"
33
33
  },
34
34
  {
35
35
  "author": "beachball",
36
36
  "package": "@fluentui/react-card",
37
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220715-0418.1",
38
- "commit": "e1949f7a18e758e415b4740eda5f84bb8ae19e02"
37
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221007-1528.1",
38
+ "commit": "827197046ec2b195a8997fadbb514a5693234e6b"
39
39
  },
40
40
  {
41
41
  "author": "beachball",
42
42
  "package": "@fluentui/react-card",
43
- "comment": "Bump @fluentui/react-text to v0.0.0-nightly-20220715-0418.1",
44
- "commit": "e1949f7a18e758e415b4740eda5f84bb8ae19e02"
43
+ "comment": "Bump @fluentui/react-text to v0.0.0-nightly-20221007-1528.1",
44
+ "commit": "827197046ec2b195a8997fadbb514a5693234e6b"
45
45
  },
46
46
  {
47
47
  "author": "beachball",
48
48
  "package": "@fluentui/react-card",
49
- "comment": "Bump @fluentui/react-button to v0.0.0-nightly-20220715-0418.1",
50
- "commit": "e1949f7a18e758e415b4740eda5f84bb8ae19e02"
49
+ "comment": "Bump @fluentui/react-button to v0.0.0-nightly-20221007-1528.1",
50
+ "commit": "827197046ec2b195a8997fadbb514a5693234e6b"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Mon, 03 Oct 2022 22:24:42 GMT",
57
+ "tag": "@fluentui/react-card_v9.0.0-beta.27",
58
+ "version": "9.0.0-beta.27",
59
+ "comments": {
60
+ "prerelease": [
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui/react-card",
64
+ "comment": "Bump @fluentui/react-tabster to v9.1.2",
65
+ "commit": "67a8c98b8d53cd2fa14d668cf639b867b68ad18a"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui/react-card",
70
+ "comment": "Bump @fluentui/react-button to v9.1.3",
71
+ "commit": "67a8c98b8d53cd2fa14d668cf639b867b68ad18a"
72
+ }
73
+ ]
74
+ }
75
+ },
76
+ {
77
+ "date": "Tue, 20 Sep 2022 20:55:45 GMT",
78
+ "tag": "@fluentui/react-card_v9.0.0-beta.26",
79
+ "version": "9.0.0-beta.26",
80
+ "comments": {
81
+ "prerelease": [
82
+ {
83
+ "author": "beachball",
84
+ "package": "@fluentui/react-card",
85
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.14",
86
+ "commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@fluentui/react-card",
91
+ "comment": "Bump @fluentui/react-text to v9.1.1",
92
+ "commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
93
+ },
94
+ {
95
+ "author": "beachball",
96
+ "package": "@fluentui/react-card",
97
+ "comment": "Bump @fluentui/react-button to v9.1.2",
98
+ "commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ "date": "Thu, 15 Sep 2022 09:49:58 GMT",
105
+ "tag": "@fluentui/react-card_v9.0.0-beta.25",
106
+ "version": "9.0.0-beta.25",
107
+ "comments": {
108
+ "none": [
109
+ {
110
+ "author": "martinhochel@microsoft.com",
111
+ "package": "@fluentui/react-card",
112
+ "commit": "e6cf183695d6d67a24e038c49a876224e5ed35e5",
113
+ "comment": "chore: update package scaffold"
114
+ },
115
+ {
116
+ "author": "martinhochel@microsoft.com",
117
+ "package": "@fluentui/react-card",
118
+ "commit": "ba9444d594f3a960cc590eae5237c08bf7c5a07f",
119
+ "comment": "chore: consume cypress.config from it's package boundary"
120
+ }
121
+ ],
122
+ "prerelease": [
123
+ {
124
+ "author": "olfedias@microsoft.com",
125
+ "package": "@fluentui/react-card",
126
+ "commit": "e610024474cfe5d45f61501a8b6a21daf4c794a2",
127
+ "comment": "chore: Update Griffel to latest version"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-card",
132
+ "comment": "Bump @fluentui/react-utilities to v9.1.0",
133
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-card",
138
+ "comment": "Bump @fluentui/react-tabster to v9.1.1",
139
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
140
+ },
141
+ {
142
+ "author": "beachball",
143
+ "package": "@fluentui/react-card",
144
+ "comment": "Bump @fluentui/react-theme to v9.1.0",
145
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-card",
150
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.13",
151
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
152
+ },
153
+ {
154
+ "author": "beachball",
155
+ "package": "@fluentui/react-card",
156
+ "comment": "Bump @fluentui/react-text to v9.1.0",
157
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
158
+ },
159
+ {
160
+ "author": "beachball",
161
+ "package": "@fluentui/react-card",
162
+ "comment": "Bump @fluentui/react-button to v9.1.1",
163
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
164
+ }
165
+ ]
166
+ }
167
+ },
168
+ {
169
+ "date": "Wed, 03 Aug 2022 16:03:40 GMT",
170
+ "tag": "@fluentui/react-card_v9.0.0-beta.24",
171
+ "version": "9.0.0-beta.24",
172
+ "comments": {
173
+ "none": [
174
+ {
175
+ "author": "marcosmoura@microsoft.com",
176
+ "package": "@fluentui/react-card",
177
+ "commit": "8d0180b3bbaad7459257fb8bf7f2235953d12eec",
178
+ "comment": "docs(react-card): create migration guide from v0 to v9"
179
+ },
180
+ {
181
+ "author": "popatudor@microsoft.com",
182
+ "package": "@fluentui/react-card",
183
+ "commit": "59610d4c795d76a580fbb9391e20cf1249408555",
184
+ "comment": {
185
+ "title": "",
186
+ "value": ""
187
+ }
188
+ },
189
+ {
190
+ "author": "39736248+andrefcdias@users.noreply.github.com",
191
+ "package": "@fluentui/react-card",
192
+ "commit": "770a741091a1f5d1f3b6d4bbfecdd29e333fef9c",
193
+ "comment": "chore: add missing Card components to Storybook"
194
+ }
195
+ ],
196
+ "prerelease": [
197
+ {
198
+ "author": "miroslav.stastny@microsoft.com",
199
+ "package": "@fluentui/react-card",
200
+ "commit": "08563664778fd80284561d3c9d254307a0a32362",
201
+ "comment": "chore: Bump Griffel dependencies"
202
+ },
203
+ {
204
+ "author": "beachball",
205
+ "package": "@fluentui/react-card",
206
+ "comment": "Bump @fluentui/react-tabster to v9.1.0",
207
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
208
+ },
209
+ {
210
+ "author": "beachball",
211
+ "package": "@fluentui/react-card",
212
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.12",
213
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
214
+ },
215
+ {
216
+ "author": "beachball",
217
+ "package": "@fluentui/react-card",
218
+ "comment": "Bump @fluentui/react-text to v9.0.4",
219
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
220
+ },
221
+ {
222
+ "author": "beachball",
223
+ "package": "@fluentui/react-card",
224
+ "comment": "Bump @fluentui/react-button to v9.1.0",
225
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
226
+ }
227
+ ]
228
+ }
229
+ },
230
+ {
231
+ "date": "Fri, 15 Jul 2022 18:27:26 GMT",
232
+ "tag": "@fluentui/react-card_v9.0.0-beta.23",
233
+ "version": "9.0.0-beta.23",
234
+ "comments": {
235
+ "none": [
236
+ {
237
+ "author": "39736248+andrefcdias@users.noreply.github.com",
238
+ "package": "@fluentui/react-card",
239
+ "commit": "447b211fec38e4320b13c5ee2f7449c188f8183c",
240
+ "comment": "docs: add missing info to README"
241
+ },
242
+ {
243
+ "author": "39736248+andrefcdias@users.noreply.github.com",
244
+ "package": "@fluentui/react-card",
245
+ "commit": "640408c5aef9c3037f5f6bc08069ff9d9141a7ee",
246
+ "comment": "chore: add templates to stories"
51
247
  }
52
248
  ]
53
249
  }
package/CHANGELOG.md CHANGED
@@ -1,23 +1,72 @@
1
1
  # Change Log - @fluentui/react-card
2
2
 
3
- This log was last generated on Fri, 15 Jul 2022 04:31:39 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 07 Oct 2022 15:34:51 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220715-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightly-20220715-0418.1)
7
+ ## [0.0.0-nightly-20221007-1528.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightly-20221007-1528.1)
8
8
 
9
- Fri, 15 Jul 2022 04:31:39 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.23..@fluentui/react-card_v0.0.0-nightly-20220715-0418.1)
9
+ Fri, 07 Oct 2022 15:34:51 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.27..@fluentui/react-card_v0.0.0-nightly-20221007-1528.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
15
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20220715-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/e1949f7a18e758e415b4740eda5f84bb8ae19e02) by beachball)
16
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20220715-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/e1949f7a18e758e415b4740eda5f84bb8ae19e02) by beachball)
17
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220715-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/e1949f7a18e758e415b4740eda5f84bb8ae19e02) by beachball)
18
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220715-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/e1949f7a18e758e415b4740eda5f84bb8ae19e02) by beachball)
19
- - Bump @fluentui/react-text to v0.0.0-nightly-20220715-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/e1949f7a18e758e415b4740eda5f84bb8ae19e02) by beachball)
20
- - Bump @fluentui/react-button to v0.0.0-nightly-20220715-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/e1949f7a18e758e415b4740eda5f84bb8ae19e02) by beachball)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20221007-1528.1 ([commit](https://github.com/microsoft/fluentui/commit/827197046ec2b195a8997fadbb514a5693234e6b) by beachball)
16
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20221007-1528.1 ([commit](https://github.com/microsoft/fluentui/commit/827197046ec2b195a8997fadbb514a5693234e6b) by beachball)
17
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20221007-1528.1 ([commit](https://github.com/microsoft/fluentui/commit/827197046ec2b195a8997fadbb514a5693234e6b) by beachball)
18
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221007-1528.1 ([commit](https://github.com/microsoft/fluentui/commit/827197046ec2b195a8997fadbb514a5693234e6b) by beachball)
19
+ - Bump @fluentui/react-text to v0.0.0-nightly-20221007-1528.1 ([commit](https://github.com/microsoft/fluentui/commit/827197046ec2b195a8997fadbb514a5693234e6b) by beachball)
20
+ - Bump @fluentui/react-button to v0.0.0-nightly-20221007-1528.1 ([commit](https://github.com/microsoft/fluentui/commit/827197046ec2b195a8997fadbb514a5693234e6b) by beachball)
21
+
22
+ ## [9.0.0-beta.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.27)
23
+
24
+ Mon, 03 Oct 2022 22:24:42 GMT
25
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.26..@fluentui/react-card_v9.0.0-beta.27)
26
+
27
+ ### Changes
28
+
29
+ - Bump @fluentui/react-tabster to v9.1.2 ([PR #25055](https://github.com/microsoft/fluentui/pull/25055) by beachball)
30
+ - Bump @fluentui/react-button to v9.1.3 ([PR #25055](https://github.com/microsoft/fluentui/pull/25055) by beachball)
31
+
32
+ ## [9.0.0-beta.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.26)
33
+
34
+ Tue, 20 Sep 2022 20:55:45 GMT
35
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.25..@fluentui/react-card_v9.0.0-beta.26)
36
+
37
+ ### Changes
38
+
39
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.14 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
40
+ - Bump @fluentui/react-text to v9.1.1 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
41
+ - Bump @fluentui/react-button to v9.1.2 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
42
+
43
+ ## [9.0.0-beta.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.25)
44
+
45
+ Thu, 15 Sep 2022 09:49:58 GMT
46
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.24..@fluentui/react-card_v9.0.0-beta.25)
47
+
48
+ ### Changes
49
+
50
+ - chore: Update Griffel to latest version ([PR #24221](https://github.com/microsoft/fluentui/pull/24221) by olfedias@microsoft.com)
51
+ - Bump @fluentui/react-utilities to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
52
+ - Bump @fluentui/react-tabster to v9.1.1 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
53
+ - Bump @fluentui/react-theme to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
54
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.13 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
55
+ - Bump @fluentui/react-text to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
56
+ - Bump @fluentui/react-button to v9.1.1 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
57
+
58
+ ## [9.0.0-beta.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.24)
59
+
60
+ Wed, 03 Aug 2022 16:03:40 GMT
61
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.23..@fluentui/react-card_v9.0.0-beta.24)
62
+
63
+ ### Changes
64
+
65
+ - chore: Bump Griffel dependencies ([PR #24114](https://github.com/microsoft/fluentui/pull/24114) by miroslav.stastny@microsoft.com)
66
+ - Bump @fluentui/react-tabster to v9.1.0 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
67
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.12 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
68
+ - Bump @fluentui/react-text to v9.0.4 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
69
+ - Bump @fluentui/react-button to v9.1.0 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
21
70
 
22
71
  ## [9.0.0-beta.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.23)
23
72
 
package/MIGRATION.md ADDED
@@ -0,0 +1,323 @@
1
+ - [Migration from v0](#migration-from-v0)
2
+ - [Card](#card)
3
+ - [Property Mapping](#property-mapping)
4
+ - [Props that remain as is](#props-that-remain-as-is)
5
+ - [Props no longer supported with an equivalent functionality](#props-no-longer-supported-with-an-equivalent-functionality)
6
+ - [Props no longer supported](#props-no-longer-supported)
7
+ - [CardHeader](#cardheader)
8
+ - [Property Mapping](#property-mapping-1)
9
+ - [Props that remain as is](#props-that-remain-as-is-1)
10
+ - [Props no longer supported with an equivalent functionality](#props-no-longer-supported-with-an-equivalent-functionality-1)
11
+ - [Props no longer supported](#props-no-longer-supported-1)
12
+ - [CardBody](#cardbody)
13
+ - [CardPreview](#cardpreview)
14
+ - [Property Mapping](#property-mapping-2)
15
+ - [Props that remain as is](#props-that-remain-as-is-2)
16
+ - [Props no longer supported with an equivalent functionality](#props-no-longer-supported-with-an-equivalent-functionality-2)
17
+ - [Props no longer supported](#props-no-longer-supported-2)
18
+ - [Example](#example)
19
+ - [Before](#before)
20
+ - [After](#after)
21
+ - [CardColumn](#cardcolumn)
22
+ - [CardExpandableBox](#cardexpandablebox)
23
+ - [CardTopControls](#cardtopcontrols)
24
+ - [CardFooter](#cardfooter)
25
+ - [Property Mapping](#property-mapping-3)
26
+ - [Props that remain as is](#props-that-remain-as-is-3)
27
+ - [Props no longer supported with an equivalent functionality](#props-no-longer-supported-with-an-equivalent-functionality-3)
28
+ - [Props no longer supported](#props-no-longer-supported-3)
29
+ - [Migration from v8](#migration-from-v8)
30
+
31
+ # Migration from v0
32
+
33
+ ## Card
34
+
35
+ ### Property Mapping
36
+
37
+ | v0 - `Card` | v9 - `Card` |
38
+ | -------------- | ------------- |
39
+ | `acessibility` | - |
40
+ | - | `appearance` |
41
+ | `as` | `as` |
42
+ | `centered` | - |
43
+ | `className` | `className` |
44
+ | `compact` | - |
45
+ | `design` | - |
46
+ | `disabled` | - |
47
+ | `elevated` | - |
48
+ | `expandable` | - |
49
+ | `fluid` | - |
50
+ | - | `focusMode` |
51
+ | `ghost` | - |
52
+ | `inverted` | - |
53
+ | `key` | - |
54
+ | - | `orientation` |
55
+ | `ref` | - |
56
+ | - | `root` slot |
57
+ | `selected` | - |
58
+ | `size` | `size` |
59
+ | `styles` | - |
60
+ | `variables` | - |
61
+
62
+ ### Props that remain as is
63
+
64
+ - `as`
65
+ - `className`
66
+ - `key`
67
+ - `ref`
68
+ - `size` => The size options are now reduced: `'small' | 'medium' | 'large'`
69
+
70
+ ### Props no longer supported with an equivalent functionality
71
+
72
+ - `accessibility` => Override accessibility behavior by composing the `Card` how you want
73
+ - `compact` => Instead, use `size="small"`
74
+ - `ghost` => Instead, use `appearance="subtle"`
75
+ - `inverted` => Instead, use `appearance="filled-alternative"`
76
+
77
+ ### Props no longer supported
78
+
79
+ - `centered` => Can be achieved by overriding the styles of the Card component:
80
+
81
+ ```jsx
82
+ import * as React from 'react';
83
+ import { makeStyles } from '@fluentui/react-components';
84
+ import { Card } from '@fluentui/react-components/unstable';
85
+
86
+ const useStyles = makeStyles({
87
+ centeredCard: {
88
+ justifyItems: 'center',
89
+ },
90
+ });
91
+
92
+ export const CenteredCard = () => {
93
+ const styles = useStyles();
94
+
95
+ return (
96
+ <Card className={styles.centeredCard}>
97
+ <p>Lorem ipsum dolor sit amet.</p>
98
+ </Card>
99
+ );
100
+ };
101
+ ```
102
+
103
+ - `disabled` => No equivalent functionality. Can be created by overriding the styles.
104
+ - `elevated` => All cards are now elevated by default. To change that, use the `appearance` property.
105
+ - `expandable` => No equivalent functionality.
106
+ - `fluid` => All cards are fluid by default. To change that, use a parent container with a defined size:
107
+
108
+ ```jsx
109
+ import * as React from 'react';
110
+ import { makeStyles } from '@fluentui/react-components';
111
+ import { Card } from '@fluentui/react-components/unstable';
112
+
113
+ const useStyles = makeStyles({
114
+ parent: {
115
+ width: '500px',
116
+ },
117
+ });
118
+
119
+ export const SizedCard = () => {
120
+ const styles = useStyles();
121
+
122
+ return (
123
+ <div className={styles.parent}>
124
+ <Card>
125
+ <p>Lorem ipsum dolor sit amet.</p>
126
+ </Card>
127
+ </div>
128
+ );
129
+ };
130
+ ```
131
+
132
+ - `selected` => No equivalent functionality.
133
+
134
+ ## CardHeader
135
+
136
+ ### Property Mapping
137
+
138
+ | v0 - `Cardheader` | v9 - `Cardheader` |
139
+ | ----------------- | ------------------ |
140
+ | `acessibility` | - |
141
+ | - | `root` slot |
142
+ | - | `image` slot |
143
+ | - | `header` slot |
144
+ | - | `description` slot |
145
+ | - | `action` slot |
146
+ | `as` | - |
147
+ | `className` | - |
148
+ | `design` | - |
149
+ | `fitted` | - |
150
+ | `key` | - |
151
+ | `ref` | - |
152
+ | `styles` | - |
153
+ | `variables` | - |
154
+
155
+ ### Props that remain as is
156
+
157
+ - `as`
158
+ - `className`
159
+ - `key`
160
+ - `ref`
161
+
162
+ ### Props no longer supported with an equivalent functionality
163
+
164
+ - `accessibility` => Override accessibility behavior by composing the `CardHeader` how you want
165
+
166
+ ### Props no longer supported
167
+
168
+ - `design`
169
+ - `fitted`
170
+ - `styles`
171
+ - `variables`
172
+
173
+ ## CardBody
174
+
175
+ This component is no longer supported. Instead, pass any content under the main Card component.
176
+
177
+ Before:
178
+
179
+ ```jsx
180
+ import * as React from 'react';
181
+ import { Card, CardBody } from '@fluentui/react-northstar';
182
+
183
+ export const CardBodyExample = () => (
184
+ <Card elevated aria-roledescription="card with image and text">
185
+ <CardBody fitted>
186
+ <p>Lorem ipsum dolor sit amet.</p>
187
+ </CardBody>
188
+ </Card>
189
+ );
190
+ ```
191
+
192
+ After:
193
+
194
+ ```jsx
195
+ import * as React from 'react';
196
+ import { Card } from '@fluentui/react-components/unstable';
197
+
198
+ export const CardBodyExample = () => (
199
+ <Card>
200
+ <p>Lorem ipsum dolor sit amet.</p>
201
+ </Card>
202
+ );
203
+ ```
204
+
205
+ ## CardPreview
206
+
207
+ ### Property Mapping
208
+
209
+ | v0 - `CardPreview` | v9 - `CardPreview` |
210
+ | ------------------ | ------------------ |
211
+ | `acessibility` | - |
212
+ | `as` | - |
213
+ | `className` | - |
214
+ | `design` | - |
215
+ | `fitted` | - |
216
+ | `horizontal` | - |
217
+ | - | `logo` slot |
218
+ | `key` | - |
219
+ | `ref` | - |
220
+ | - | `root` slot |
221
+ | `styles` | - |
222
+ | `variables` | - |
223
+
224
+ ### Props that remain as is
225
+
226
+ - `as`
227
+ - `className`
228
+ - `key`
229
+ - `ref`
230
+
231
+ ### Props no longer supported with an equivalent functionality
232
+
233
+ - `accessibility` => Override accessibility behavior by composing the `CardPreview` how you want
234
+
235
+ ### Props no longer supported
236
+
237
+ - `design`
238
+ - `fitted`
239
+ - `horizontal`
240
+ - `styles`
241
+ - `variables`
242
+
243
+ ### Example
244
+
245
+ #### Before
246
+
247
+ ```jsx
248
+ import * as React from 'react';
249
+ import { Card, CardPreview, Image } from '@fluentui/react-northstar';
250
+
251
+ export const CardPreviewExample = () => (
252
+ <Card aria-roledescription="image card">
253
+ <CardPreview>
254
+ <Image fluid src="https://url-of.the/image.jpg" alt="Preview of a Word document" />
255
+ </CardPreview>
256
+ </Card>
257
+ );
258
+ ```
259
+
260
+ #### After
261
+
262
+ ```jsx
263
+ import * as React from 'react';
264
+ import { Card, CardPreview } from '@fluentui/react-components/unstable';
265
+
266
+ export const CardPreviewExample = () => (
267
+ <Card>
268
+ <CardPreview>
269
+ <img src="https://url-of.the/image.jpg" alt="Preview of a Word document" />
270
+ </CardPreview>
271
+ </Card>
272
+ );
273
+ ```
274
+
275
+ ## CardColumn
276
+
277
+ This component is no longer supported.
278
+
279
+ ## CardExpandableBox
280
+
281
+ This component is no longer supported.
282
+
283
+ ## CardTopControls
284
+
285
+ This component is no longer supported.
286
+
287
+ ## CardFooter
288
+
289
+ ### Property Mapping
290
+
291
+ | v0 - `CardFooter` | v9 - `CardFooter` |
292
+ | ----------------- | ----------------- |
293
+ | `acessibility` | - |
294
+ | `as` | - |
295
+ | `className` | - |
296
+ | `design` | - |
297
+ | `fitted` | - |
298
+ | `key` | - |
299
+ | `ref` | - |
300
+ | `styles` | - |
301
+ | `variables` | - |
302
+
303
+ ### Props that remain as is
304
+
305
+ - `as`
306
+ - `className`
307
+ - `key`
308
+ - `ref`
309
+
310
+ ### Props no longer supported with an equivalent functionality
311
+
312
+ - `accessibility` => Override accessibility behavior by composing the `CardFooter` how you want
313
+
314
+ ### Props no longer supported
315
+
316
+ - `design`
317
+ - `fitted`
318
+ - `styles`
319
+ - `variables`
320
+
321
+ # Migration from v8
322
+
323
+ WIP