@fluentui/react-card 0.0.0-nightly3bc051736320220112.1 → 0.0.0-nightly49d3df438d20220225.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 (127) hide show
  1. package/CHANGELOG.json +187 -25
  2. package/CHANGELOG.md +47 -13
  3. package/README.md +3 -1
  4. package/dist/react-card.d.ts +39 -47
  5. package/lib/Card.js.map +1 -1
  6. package/lib/CardFooter.js.map +1 -1
  7. package/lib/CardHeader.js.map +1 -1
  8. package/lib/CardPreview.js.map +1 -1
  9. package/lib/components/Card/Card.js +6 -6
  10. package/lib/components/Card/Card.js.map +1 -1
  11. package/lib/components/Card/Card.types.d.ts +7 -4
  12. package/lib/components/Card/Card.types.js.map +1 -1
  13. package/lib/components/Card/index.js.map +1 -1
  14. package/lib/components/Card/renderCard.d.ts +1 -1
  15. package/lib/components/Card/renderCard.js +1 -1
  16. package/lib/components/Card/renderCard.js.map +1 -1
  17. package/lib/components/Card/useCard.d.ts +3 -3
  18. package/lib/components/Card/useCard.js +7 -3
  19. package/lib/components/Card/useCard.js.map +1 -1
  20. package/lib/components/Card/useCardStyles.d.ts +1 -1
  21. package/lib/components/Card/useCardStyles.js +119 -21
  22. package/lib/components/Card/useCardStyles.js.map +1 -1
  23. package/lib/components/CardFooter/CardFooter.js +6 -6
  24. package/lib/components/CardFooter/CardFooter.js.map +1 -1
  25. package/lib/components/CardFooter/CardFooter.types.d.ts +3 -3
  26. package/lib/components/CardFooter/CardFooter.types.js.map +1 -1
  27. package/lib/components/CardFooter/index.js.map +1 -1
  28. package/lib/components/CardFooter/renderCardFooter.d.ts +1 -1
  29. package/lib/components/CardFooter/renderCardFooter.js +3 -4
  30. package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
  31. package/lib/components/CardFooter/useCardFooter.d.ts +4 -8
  32. package/lib/components/CardFooter/useCardFooter.js +3 -8
  33. package/lib/components/CardFooter/useCardFooter.js.map +1 -1
  34. package/lib/components/CardFooter/useCardFooterStyles.d.ts +1 -1
  35. package/lib/components/CardFooter/useCardFooterStyles.js +2 -2
  36. package/lib/components/CardFooter/useCardFooterStyles.js.map +1 -1
  37. package/lib/components/CardHeader/CardHeader.js +6 -6
  38. package/lib/components/CardHeader/CardHeader.js.map +1 -1
  39. package/lib/components/CardHeader/CardHeader.types.d.ts +8 -8
  40. package/lib/components/CardHeader/CardHeader.types.js.map +1 -1
  41. package/lib/components/CardHeader/index.js.map +1 -1
  42. package/lib/components/CardHeader/renderCardHeader.d.ts +1 -1
  43. package/lib/components/CardHeader/renderCardHeader.js +4 -5
  44. package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
  45. package/lib/components/CardHeader/useCardHeader.d.ts +4 -5
  46. package/lib/components/CardHeader/useCardHeader.js +3 -4
  47. package/lib/components/CardHeader/useCardHeader.js.map +1 -1
  48. package/lib/components/CardHeader/useCardHeaderStyles.d.ts +1 -1
  49. package/lib/components/CardHeader/useCardHeaderStyles.js +2 -2
  50. package/lib/components/CardHeader/useCardHeaderStyles.js.map +1 -1
  51. package/lib/components/CardPreview/CardPreview.js +6 -6
  52. package/lib/components/CardPreview/CardPreview.js.map +1 -1
  53. package/lib/components/CardPreview/CardPreview.types.d.ts +3 -3
  54. package/lib/components/CardPreview/CardPreview.types.js.map +1 -1
  55. package/lib/components/CardPreview/index.js.map +1 -1
  56. package/lib/components/CardPreview/renderCardPreview.d.ts +1 -1
  57. package/lib/components/CardPreview/renderCardPreview.js +3 -4
  58. package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
  59. package/lib/components/CardPreview/useCardPreview.d.ts +4 -8
  60. package/lib/components/CardPreview/useCardPreview.js +3 -8
  61. package/lib/components/CardPreview/useCardPreview.js.map +1 -1
  62. package/lib/components/CardPreview/useCardPreviewStyles.d.ts +1 -1
  63. package/lib/components/CardPreview/useCardPreviewStyles.js +3 -7
  64. package/lib/components/CardPreview/useCardPreviewStyles.js.map +1 -1
  65. package/lib/index.js.map +1 -1
  66. package/lib-commonjs/Card.js.map +1 -1
  67. package/lib-commonjs/CardFooter.js.map +1 -1
  68. package/lib-commonjs/CardHeader.js.map +1 -1
  69. package/lib-commonjs/CardPreview.js.map +1 -1
  70. package/lib-commonjs/components/Card/Card.js +3 -3
  71. package/lib-commonjs/components/Card/Card.js.map +1 -1
  72. package/lib-commonjs/components/Card/Card.types.d.ts +7 -4
  73. package/lib-commonjs/components/Card/Card.types.js.map +1 -1
  74. package/lib-commonjs/components/Card/index.js.map +1 -1
  75. package/lib-commonjs/components/Card/renderCard.d.ts +1 -1
  76. package/lib-commonjs/components/Card/renderCard.js +3 -3
  77. package/lib-commonjs/components/Card/renderCard.js.map +1 -1
  78. package/lib-commonjs/components/Card/useCard.d.ts +3 -3
  79. package/lib-commonjs/components/Card/useCard.js +9 -5
  80. package/lib-commonjs/components/Card/useCard.js.map +1 -1
  81. package/lib-commonjs/components/Card/useCardStyles.d.ts +1 -1
  82. package/lib-commonjs/components/Card/useCardStyles.js +122 -24
  83. package/lib-commonjs/components/Card/useCardStyles.js.map +1 -1
  84. package/lib-commonjs/components/CardFooter/CardFooter.js +3 -3
  85. package/lib-commonjs/components/CardFooter/CardFooter.js.map +1 -1
  86. package/lib-commonjs/components/CardFooter/CardFooter.types.d.ts +3 -3
  87. package/lib-commonjs/components/CardFooter/CardFooter.types.js.map +1 -1
  88. package/lib-commonjs/components/CardFooter/index.js.map +1 -1
  89. package/lib-commonjs/components/CardFooter/renderCardFooter.d.ts +1 -1
  90. package/lib-commonjs/components/CardFooter/renderCardFooter.js +5 -7
  91. package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
  92. package/lib-commonjs/components/CardFooter/useCardFooter.d.ts +4 -8
  93. package/lib-commonjs/components/CardFooter/useCardFooter.js +6 -11
  94. package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
  95. package/lib-commonjs/components/CardFooter/useCardFooterStyles.d.ts +1 -1
  96. package/lib-commonjs/components/CardFooter/useCardFooterStyles.js +7 -7
  97. package/lib-commonjs/components/CardFooter/useCardFooterStyles.js.map +1 -1
  98. package/lib-commonjs/components/CardHeader/CardHeader.js +3 -3
  99. package/lib-commonjs/components/CardHeader/CardHeader.js.map +1 -1
  100. package/lib-commonjs/components/CardHeader/CardHeader.types.d.ts +8 -8
  101. package/lib-commonjs/components/CardHeader/CardHeader.types.js.map +1 -1
  102. package/lib-commonjs/components/CardHeader/index.js.map +1 -1
  103. package/lib-commonjs/components/CardHeader/renderCardHeader.d.ts +1 -1
  104. package/lib-commonjs/components/CardHeader/renderCardHeader.js +6 -8
  105. package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
  106. package/lib-commonjs/components/CardHeader/useCardHeader.d.ts +4 -5
  107. package/lib-commonjs/components/CardHeader/useCardHeader.js +6 -7
  108. package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
  109. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.d.ts +1 -1
  110. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js +8 -8
  111. package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js.map +1 -1
  112. package/lib-commonjs/components/CardPreview/CardPreview.js +3 -3
  113. package/lib-commonjs/components/CardPreview/CardPreview.js.map +1 -1
  114. package/lib-commonjs/components/CardPreview/CardPreview.types.d.ts +3 -3
  115. package/lib-commonjs/components/CardPreview/CardPreview.types.js.map +1 -1
  116. package/lib-commonjs/components/CardPreview/index.js.map +1 -1
  117. package/lib-commonjs/components/CardPreview/renderCardPreview.d.ts +1 -1
  118. package/lib-commonjs/components/CardPreview/renderCardPreview.js +5 -7
  119. package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
  120. package/lib-commonjs/components/CardPreview/useCardPreview.d.ts +4 -8
  121. package/lib-commonjs/components/CardPreview/useCardPreview.js +6 -11
  122. package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
  123. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.d.ts +1 -1
  124. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js +8 -12
  125. package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js.map +1 -1
  126. package/lib-commonjs/index.js.map +1 -1
  127. package/package.json +10 -11
package/CHANGELOG.json CHANGED
@@ -2,96 +2,258 @@
2
2
  "name": "@fluentui/react-card",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 12 Jan 2022 04:19:41 GMT",
6
- "tag": "@fluentui/react-card_v0.0.0-nightly3bc051736320220112.1",
7
- "version": "0.0.0-nightly3bc051736320220112.1",
5
+ "date": "Fri, 25 Feb 2022 04:15:08 GMT",
6
+ "tag": "@fluentui/react-card_v0.0.0-nightly49d3df438d20220225.1",
7
+ "version": "0.0.0-nightly49d3df438d20220225.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-card",
13
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d",
13
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "olfedias@microsoft.com",
18
+ "package": "@fluentui/react-card",
19
+ "commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
20
+ "comment": "fix: Add react-theme as dependency"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-card",
25
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly49d3df438d20220225.1",
26
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-card",
31
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly49d3df438d20220225.1",
32
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-card",
37
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly49d3df438d20220225.1",
38
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-card",
43
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly49d3df438d20220225.1",
44
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-card",
49
+ "comment": "Bump @fluentui/react-text to v0.0.0-nightly49d3df438d20220225.1",
50
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-card",
55
+ "comment": "Bump @fluentui/react-button to v0.0.0-nightly49d3df438d20220225.1",
56
+ "commit": "fa42aa937219511d0560d7d5deffb23bea6637e1"
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "date": "Fri, 18 Feb 2022 13:35:29 GMT",
63
+ "tag": "@fluentui/react-card_v9.0.0-beta.8",
64
+ "version": "9.0.0-beta.8",
65
+ "comments": {
66
+ "prerelease": [
67
+ {
68
+ "author": "lingfangao@hotmail.com",
69
+ "package": "@fluentui/react-card",
70
+ "commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
71
+ "comment": "fix: Source maps contain original source code"
72
+ },
73
+ {
74
+ "author": "39736248+andrefcdias@users.noreply.github.com",
75
+ "package": "@fluentui/react-card",
76
+ "commit": "6f39f6ae5bd33c8aa46dbb5cc1e46eded1fc2967",
77
+ "comment": "Add new appearance property to allow for different card styles"
78
+ },
79
+ {
80
+ "author": "39736248+andrefcdias@users.noreply.github.com",
81
+ "package": "@fluentui/react-card",
82
+ "commit": "4a28b5a69d0e6cf53c19c5e93bc93465f9b8a132",
83
+ "comment": "fix: top padding issues with CardPreview"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui/react-card",
88
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
89
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-card",
94
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.3",
95
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-card",
100
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
101
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
102
+ },
103
+ {
104
+ "author": "beachball",
105
+ "package": "@fluentui/react-card",
106
+ "comment": "Bump @fluentui/react-text to v9.0.0-rc.3",
107
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
108
+ },
109
+ {
110
+ "author": "beachball",
111
+ "package": "@fluentui/react-card",
112
+ "comment": "Bump @fluentui/react-button to v9.0.0-rc.3",
113
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ {
119
+ "date": "Thu, 10 Feb 2022 08:51:52 GMT",
120
+ "tag": "@fluentui/react-card_v9.0.0-beta.6",
121
+ "version": "9.0.0-beta.6",
122
+ "comments": {
123
+ "prerelease": [
16
124
  {
17
125
  "author": "ololubek@microsoft.com",
18
126
  "package": "@fluentui/react-card",
19
127
  "commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
20
128
  "comment": "Update react-icons usage to resizable icons"
21
129
  },
130
+ {
131
+ "author": "lingfangao@hotmail.com",
132
+ "package": "@fluentui/react-card",
133
+ "commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
134
+ "comment": "Bump Fluent UI dependencies to 9.0.0-rc"
135
+ },
22
136
  {
23
137
  "author": "Humberto.Morimoto@microsoft.com",
24
138
  "package": "@fluentui/react-card",
25
139
  "commit": "37772e1ef0b587bf08984dd053ebb356c57c5247",
26
140
  "comment": "react-card: Replacing use of functions in makeStyles with direct use of tokens."
27
141
  },
142
+ {
143
+ "author": "Humberto.Morimoto@microsoft.com",
144
+ "package": "@fluentui/react-card",
145
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
146
+ "comment": "Updating based on changes to composition types."
147
+ },
28
148
  {
29
149
  "author": "elcraig@microsoft.com",
30
150
  "package": "@fluentui/react-card",
31
151
  "commit": "d892c7f79c543b6008634ecd669b75b5108cad46",
32
152
  "comment": "Remove empty CardCommons type and outdated boilerplate comments"
33
153
  },
154
+ {
155
+ "author": "behowell@microsoft.com",
156
+ "package": "@fluentui/react-card",
157
+ "commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
158
+ "comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
159
+ },
34
160
  {
35
161
  "author": "olfedias@microsoft.com",
36
162
  "package": "@fluentui/react-card",
37
- "commit": "158d89b5d98e3544e06f4f09967d2af8ab43e249",
38
- "comment": "update styles no not use CSS shorthands"
163
+ "commit": "1249d2ee042780865e877fc2ed48f56e0eff25d1",
164
+ "comment": "use Griffel packages"
39
165
  },
40
166
  {
41
- "author": "beachball",
167
+ "author": "behowell@microsoft.com",
42
168
  "package": "@fluentui/react-card",
43
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly3bc051736320220112.1",
44
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
169
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
170
+ "comment": "Refactor component Slot typings"
45
171
  },
46
172
  {
47
- "author": "beachball",
173
+ "author": "olfedias@microsoft.com",
48
174
  "package": "@fluentui/react-card",
49
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly3bc051736320220112.1",
50
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
175
+ "commit": "158d89b5d98e3544e06f4f09967d2af8ab43e249",
176
+ "comment": "update styles no not use CSS shorthands"
51
177
  },
52
178
  {
53
- "author": "beachball",
179
+ "author": "behowell@microsoft.com",
54
180
  "package": "@fluentui/react-card",
55
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly3bc051736320220112.1",
56
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
181
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
182
+ "comment": "Remove component's shorthandProps array"
57
183
  },
58
184
  {
59
185
  "author": "beachball",
60
186
  "package": "@fluentui/react-card",
61
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly3bc051736320220112.1",
62
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
187
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
188
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
63
189
  },
64
190
  {
65
191
  "author": "beachball",
66
192
  "package": "@fluentui/react-card",
67
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly3bc051736320220112.1",
68
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
193
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
194
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
69
195
  },
70
196
  {
71
197
  "author": "beachball",
72
198
  "package": "@fluentui/react-card",
73
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly3bc051736320220112.1",
74
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
199
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
200
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
75
201
  },
76
202
  {
77
203
  "author": "beachball",
78
204
  "package": "@fluentui/react-card",
79
- "comment": "Bump @fluentui/react-text to v0.0.0-nightly3bc051736320220112.1",
80
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
205
+ "comment": "Bump @fluentui/react-text to v9.0.0-rc.1",
206
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
81
207
  },
82
208
  {
83
209
  "author": "beachball",
84
210
  "package": "@fluentui/react-card",
85
- "comment": "Bump @fluentui/react-button to v0.0.0-nightly3bc051736320220112.1",
86
- "commit": "480c16821614e08014fbc10b62ebbf1964c0058d"
211
+ "comment": "Bump @fluentui/react-button to v9.0.0-rc.1",
212
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
87
213
  }
88
214
  ],
89
215
  "none": [
216
+ {
217
+ "author": "39736248+andrefcdias@users.noreply.github.com",
218
+ "package": "@fluentui/react-card",
219
+ "commit": "8e04b14546f264bb197ffce70bdff8ec83762c49",
220
+ "comment": "Add Alpha notice"
221
+ },
222
+ {
223
+ "author": "martinhochel@microsoft.com",
224
+ "package": "@fluentui/react-card",
225
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
226
+ "comment": "chore: use storybook runner for all vNext packages"
227
+ },
90
228
  {
91
229
  "author": "andredias@microsoft.com",
92
230
  "package": "@fluentui/react-card",
93
231
  "commit": "c6c745b664df52f5cbdd5a190cc08cae971216e0",
94
232
  "comment": "Add component spec"
233
+ },
234
+ {
235
+ "author": "olfedias@microsoft.com",
236
+ "package": "@fluentui/react-card",
237
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
238
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
239
+ },
240
+ {
241
+ "author": "me@levithomason.com",
242
+ "package": "@fluentui/react-card",
243
+ "commit": "4bd15194a66379b165043141c266faa0c1ea1502",
244
+ "comment": "document how to import preview components"
245
+ },
246
+ {
247
+ "author": "bsunderhus@microsoft.com",
248
+ "package": "@fluentui/react-card",
249
+ "commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e",
250
+ "comment": "Updates components with nullRender changes"
251
+ },
252
+ {
253
+ "author": "me@levithomason.com",
254
+ "package": "@fluentui/react-card",
255
+ "commit": "a15d363937fad523e90350458ec3e44fe7199dc0",
256
+ "comment": "Move Storybook stories to Preview Components section"
95
257
  }
96
258
  ]
97
259
  }
package/CHANGELOG.md CHANGED
@@ -1,29 +1,63 @@
1
1
  # Change Log - @fluentui/react-card
2
2
 
3
- This log was last generated on Wed, 12 Jan 2022 04:19:41 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 25 Feb 2022 04:15:08 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly3bc051736320220112.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightly3bc051736320220112.1)
7
+ ## [0.0.0-nightly49d3df438d20220225.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightly49d3df438d20220225.1)
8
8
 
9
- Wed, 12 Jan 2022 04:19:41 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v0.0.0-nightly3bc051736320220112.1)
9
+ Fri, 25 Feb 2022 04:15:08 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.8..@fluentui/react-card_v0.0.0-nightly49d3df438d20220225.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by email not defined)
15
+ - fix: Add react-theme as dependency ([PR #21825](https://github.com/microsoft/fluentui/pull/21825) by olfedias@microsoft.com)
16
+ - Bump @fluentui/react-utilities to v0.0.0-nightly49d3df438d20220225.1 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by beachball)
17
+ - Bump @fluentui/react-tabster to v0.0.0-nightly49d3df438d20220225.1 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by beachball)
18
+ - Bump @fluentui/react-theme to v0.0.0-nightly49d3df438d20220225.1 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by beachball)
19
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly49d3df438d20220225.1 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by beachball)
20
+ - Bump @fluentui/react-text to v0.0.0-nightly49d3df438d20220225.1 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by beachball)
21
+ - Bump @fluentui/react-button to v0.0.0-nightly49d3df438d20220225.1 ([commit](https://github.com/microsoft/fluentui/commit/fa42aa937219511d0560d7d5deffb23bea6637e1) by beachball)
22
+
23
+ ## [9.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.8)
24
+
25
+ Fri, 18 Feb 2022 13:35:29 GMT
26
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.6..@fluentui/react-card_v9.0.0-beta.8)
27
+
28
+ ### Changes
29
+
30
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
31
+ - Add new appearance property to allow for different card styles ([PR #21264](https://github.com/microsoft/fluentui/pull/21264) by 39736248+andrefcdias@users.noreply.github.com)
32
+ - fix: top padding issues with CardPreview ([PR #21685](https://github.com/microsoft/fluentui/pull/21685) by 39736248+andrefcdias@users.noreply.github.com)
33
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
34
+ - Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
35
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
36
+ - Bump @fluentui/react-text to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
37
+ - Bump @fluentui/react-button to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
38
+
39
+ ## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.6)
40
+
41
+ Thu, 10 Feb 2022 08:51:52 GMT
42
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v9.0.0-beta.6)
11
43
 
12
44
  ### Changes
13
45
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by email not defined)
15
46
  - Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
47
+ - Bump Fluent UI dependencies to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
16
48
  - react-card: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21040](https://github.com/microsoft/fluentui/pull/21040) by Humberto.Morimoto@microsoft.com)
49
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
17
50
  - Remove empty CardCommons type and outdated boilerplate comments ([PR #21150](https://github.com/microsoft/fluentui/pull/21150) by elcraig@microsoft.com)
51
+ - 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)
52
+ - use Griffel packages ([PR #21417](https://github.com/microsoft/fluentui/pull/21417) by olfedias@microsoft.com)
53
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
18
54
  - update styles no not use CSS shorthands ([PR #20794](https://github.com/microsoft/fluentui/pull/20794) by olfedias@microsoft.com)
19
- - Bump @fluentui/react-make-styles to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
20
- - Bump @fluentui/react-utilities to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
22
- - Bump @fluentui/babel-make-styles to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
23
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
24
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
25
- - Bump @fluentui/react-text to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
26
- - Bump @fluentui/react-button to v0.0.0-nightly3bc051736320220112.1 ([commit](https://github.com/microsoft/fluentui/commit/480c16821614e08014fbc10b62ebbf1964c0058d) by beachball)
55
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
56
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
57
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
58
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
59
+ - Bump @fluentui/react-text to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
60
+ - Bump @fluentui/react-button to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
27
61
 
28
62
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.5)
29
63
 
package/README.md CHANGED
@@ -1,7 +1,9 @@
1
- # @fluentui/react-card
1
+ # @fluentui/react-card [ALPHA]
2
2
 
3
3
  **React Card components for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
4
4
 
5
+ **⚠️ Please note that functionality is still being added to this package. Due to lockstep versioning, the version of this package is aligned with the others in _react-components_.**
6
+
5
7
  These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
6
8
 
7
9
  To import React Card components:
@@ -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 card provides scaffolding for hosting actions and content for a single topic.
@@ -11,6 +11,10 @@ export declare const Card: ForwardRefComponent<CardProps>;
11
11
 
12
12
  export declare const cardClassName = "fui-Card";
13
13
 
14
+ export declare type CardCommons = {
15
+ appearance: 'filled' | 'filled-alternative' | 'outline' | 'subtle';
16
+ };
17
+
14
18
  /**
15
19
  * Component to render Button actions in a Card component.
16
20
  */
@@ -23,14 +27,9 @@ export declare const cardFooterClassName = "fui-CardFooter";
23
27
  */
24
28
  export declare type CardFooterProps = ComponentProps<CardFooterSlots>;
25
29
 
26
- /**
27
- * Array of all shorthand properties listed in CardFooterShorthandProps
28
- */
29
- export declare const cardFooterShorthandProps: Array<keyof CardFooterSlots>;
30
-
31
30
  export declare type CardFooterSlots = {
32
- root: IntrinsicShorthandProps<'div'>;
33
- action?: IntrinsicShorthandProps<'div'>;
31
+ root: Slot<'div'>;
32
+ action?: Slot<'div'>;
34
33
  };
35
34
 
36
35
  /**
@@ -48,17 +47,15 @@ export declare const cardHeaderClassName = "fui-CardHeader";
48
47
  /**
49
48
  * CardHeader props
50
49
  */
51
- export declare type CardHeaderProps = ComponentProps<CardHeaderSlots>;
52
-
53
- export declare const cardHeaderShorthandProps: Array<keyof CardHeaderSlots>;
50
+ export declare type CardHeaderProps = ComponentProps<Partial<CardHeaderSlots>>;
54
51
 
55
52
  export declare type CardHeaderSlots = {
56
- root: IntrinsicShorthandProps<'div'>;
57
- image: IntrinsicShorthandProps<'div'>;
58
- content?: IntrinsicShorthandProps<'div'>;
59
- header: IntrinsicShorthandProps<'span'>;
60
- description: IntrinsicShorthandProps<'span'>;
61
- action?: IntrinsicShorthandProps<'div'>;
53
+ root: Slot<'div'>;
54
+ image: Slot<'div'>;
55
+ content?: Slot<'div'>;
56
+ header: Slot<'span'>;
57
+ description: Slot<'span'>;
58
+ action?: Slot<'div'>;
62
59
  };
63
60
 
64
61
  /**
@@ -78,14 +75,9 @@ export declare const cardPreviewClassName = "fui-CardPreview";
78
75
  */
79
76
  export declare type CardPreviewProps = ComponentProps<CardPreviewSlots>;
80
77
 
81
- /**
82
- * Array of all shorthand properties listed in CardPreviewShorthandProps
83
- */
84
- export declare const cardPreviewShorthandProps: Array<keyof CardPreviewSlots>;
85
-
86
78
  export declare type CardPreviewSlots = {
87
- root: IntrinsicShorthandProps<'div'>;
88
- logo?: IntrinsicShorthandProps<'div'>;
79
+ root: Slot<'div'>;
80
+ logo?: Slot<'div'>;
89
81
  };
90
82
 
91
83
  /**
@@ -96,99 +88,99 @@ export declare type CardPreviewState = ComponentState<CardPreviewSlots>;
96
88
  /**
97
89
  * Card Props
98
90
  */
99
- export declare type CardProps = ComponentProps<CardSlots>;
91
+ export declare type CardProps = ComponentProps<CardSlots> & Partial<CardCommons>;
100
92
 
101
93
  export declare type CardSlots = {
102
- root: IntrinsicShorthandProps<'div'>;
94
+ root: Slot<'div'>;
103
95
  };
104
96
 
105
97
  /**
106
98
  * State used in rendering Card
107
99
  */
108
- export declare type CardState = ComponentState<CardSlots>;
100
+ export declare type CardState = ComponentState<CardSlots> & CardCommons;
109
101
 
110
102
  /**
111
103
  * Render the final JSX of Card
112
104
  */
113
- export declare const renderCard: (state: CardState) => JSX.Element;
105
+ export declare const renderCard_unstable: (state: CardState) => JSX.Element;
114
106
 
115
107
  /**
116
108
  * Render the final JSX of CardFooter
117
109
  */
118
- export declare const renderCardFooter: (state: CardFooterState) => JSX.Element;
110
+ export declare const renderCardFooter_unstable: (state: CardFooterState) => JSX.Element;
119
111
 
120
112
  /**
121
113
  * Render the final JSX of CardHeader
122
114
  */
123
- export declare const renderCardHeader: (state: CardHeaderState) => JSX.Element;
115
+ export declare const renderCardHeader_unstable: (state: CardHeaderState) => JSX.Element;
124
116
 
125
117
  /**
126
118
  * Render the final JSX of CardPreview
127
119
  */
128
- export declare const renderCardPreview: (state: CardPreviewState) => JSX.Element;
120
+ export declare const renderCardPreview_unstable: (state: CardPreviewState) => JSX.Element;
129
121
 
130
122
  /**
131
123
  * Create the state required to render Card.
132
124
  *
133
- * The returned state can be modified with hooks such as useCardStyles,
134
- * before being passed to renderCard.
125
+ * The returned state can be modified with hooks such as useCardStyles_unstable,
126
+ * before being passed to renderCard_unstable.
135
127
  *
136
128
  * @param props - props from this instance of Card
137
129
  * @param ref - reference to root HTMLElement of Card
138
130
  */
139
- export declare const useCard: (props: CardProps, ref: React_2.Ref<HTMLElement>) => CardState;
131
+ export declare const useCard_unstable: (props: CardProps, ref: React_2.Ref<HTMLElement>) => CardState;
140
132
 
141
133
  /**
142
134
  * Create the state required to render CardFooter.
143
135
  *
144
- * The returned state can be modified with hooks such as useCardFooterStyles,
145
- * before being passed to renderCardFooter.
136
+ * The returned state can be modified with hooks such as useCardFooterStyles_unstable,
137
+ * before being passed to renderCardFooter_unstable.
146
138
  *
147
139
  * @param props - props from this instance of CardFooter
148
140
  * @param ref - reference to root HTMLElement of CardFooter
149
141
  */
150
- export declare const useCardFooter: (props: CardFooterProps, ref: React_2.Ref<HTMLElement>) => CardFooterState;
142
+ export declare const useCardFooter_unstable: (props: CardFooterProps, ref: React_2.Ref<HTMLElement>) => CardFooterState;
151
143
 
152
144
  /**
153
145
  * Apply styling to the CardFooter slots based on the state
154
146
  */
155
- export declare const useCardFooterStyles: (state: CardFooterState) => CardFooterState;
147
+ export declare const useCardFooterStyles_unstable: (state: CardFooterState) => CardFooterState;
156
148
 
157
149
  /**
158
150
  * Create the state required to render CardHeader.
159
151
  *
160
- * The returned state can be modified with hooks such as useCardHeaderStyles,
161
- * before being passed to renderCardHeader.
152
+ * The returned state can be modified with hooks such as useCardHeaderStyles_unstable,
153
+ * before being passed to renderCardHeader_unstable.
162
154
  *
163
155
  * @param props - props from this instance of CardHeader
164
156
  * @param ref - reference to root HTMLElement of CardHeader
165
157
  */
166
- export declare const useCardHeader: (props: CardHeaderProps, ref: React_2.Ref<HTMLElement>) => CardHeaderState;
158
+ export declare const useCardHeader_unstable: (props: CardHeaderProps, ref: React_2.Ref<HTMLElement>) => CardHeaderState;
167
159
 
168
160
  /**
169
161
  * Apply styling to the CardHeader slots based on the state
170
162
  */
171
- export declare const useCardHeaderStyles: (state: CardHeaderState) => CardHeaderState;
163
+ export declare const useCardHeaderStyles_unstable: (state: CardHeaderState) => CardHeaderState;
172
164
 
173
165
  /**
174
166
  * Create the state required to render CardPreview.
175
167
  *
176
- * The returned state can be modified with hooks such as useCardPreviewStyles,
177
- * before being passed to renderCardPreview.
168
+ * The returned state can be modified with hooks such as useCardPreviewStyles_unstable,
169
+ * before being passed to renderCardPreview_unstable.
178
170
  *
179
171
  * @param props - props from this instance of CardPreview
180
172
  * @param ref - reference to root HTMLElement of CardPreview
181
173
  */
182
- export declare const useCardPreview: (props: CardPreviewProps, ref: React_2.Ref<HTMLElement>) => CardPreviewState;
174
+ export declare const useCardPreview_unstable: (props: CardPreviewProps, ref: React_2.Ref<HTMLElement>) => CardPreviewState;
183
175
 
184
176
  /**
185
177
  * Apply styling to the CardPreview slots based on the state
186
178
  */
187
- export declare const useCardPreviewStyles: (state: CardPreviewState) => CardPreviewState;
179
+ export declare const useCardPreviewStyles_unstable: (state: CardPreviewState) => CardPreviewState;
188
180
 
189
181
  /**
190
182
  * Apply styling to the Card slots based on the state
191
183
  */
192
- export declare const useCardStyles: (state: CardState) => CardState;
184
+ export declare const useCardStyles_unstable: (state: CardState) => CardState;
193
185
 
194
186
  export { }
package/lib/Card.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Card.js","sourceRoot":"","sources":["../src/Card.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"Card.js","sourceRoot":"../src/","sources":["Card.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './components/Card/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CardFooter.js","sourceRoot":"","sources":["../src/CardFooter.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"CardFooter.js","sourceRoot":"../src/","sources":["CardFooter.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './components/CardFooter/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../src/CardHeader.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"CardHeader.js","sourceRoot":"../src/","sources":["CardHeader.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './components/CardHeader/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CardPreview.js","sourceRoot":"","sources":["../src/CardPreview.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"CardPreview.js","sourceRoot":"../src/","sources":["CardPreview.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/CardPreview/index';\n"]}
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import { useCard } from './useCard';
3
- import { renderCard } from './renderCard';
4
- import { useCardStyles } from './useCardStyles';
2
+ import { useCard_unstable } from './useCard';
3
+ import { renderCard_unstable } from './renderCard';
4
+ import { useCardStyles_unstable } from './useCardStyles';
5
5
  /**
6
6
  * A card provides scaffolding for hosting actions and content for a single topic.
7
7
  */
8
8
 
9
9
  export const Card = /*#__PURE__*/React.forwardRef((props, ref) => {
10
- const state = useCard(props, ref);
11
- useCardStyles(state);
12
- return renderCard(state);
10
+ const state = useCard_unstable(props, ref);
11
+ useCardStyles_unstable(state);
12
+ return renderCard_unstable(state);
13
13
  });
14
14
  Card.displayName = 'Card';
15
15
  //# sourceMappingURL=Card.js.map
@@ -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,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
+ {"version":3,"sources":["components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,gBAAT,QAAiC,WAAjC;AACA,SAAS,mBAAT,QAAoC,cAApC;AACA,SAAS,sBAAT,QAAuC,iBAAvC;AAIA;;AAEG;;AACH,OAAO,MAAM,IAAI,gBAAmC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClF,QAAM,KAAK,GAAG,gBAAgB,CAAC,KAAD,EAAQ,GAAR,CAA9B;AAEA,EAAA,sBAAsB,CAAC,KAAD,CAAtB;AACA,SAAO,mBAAmB,CAAC,KAAD,CAA1B;AACD,CALmD,CAA7C;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourcesContent":["import * as React from 'react';\nimport { useCard_unstable } from './useCard';\nimport { renderCard_unstable } from './renderCard';\nimport { useCardStyles_unstable } from './useCardStyles';\nimport type { CardProps } from './Card.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * A card provides scaffolding for hosting actions and content for a single topic.\n */\nexport const Card: ForwardRefComponent<CardProps> = React.forwardRef((props, ref) => {\n const state = useCard_unstable(props, ref);\n\n useCardStyles_unstable(state);\n return renderCard_unstable(state);\n});\n\nCard.displayName = 'Card';\n"],"sourceRoot":"../src/"}