@fluentui/react-card 9.0.0-beta.12 → 9.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +54 -1
- package/CHANGELOG.md +54 -40
- package/dist/{react-card.d.ts → index.d.ts} +0 -0
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/package.json +9 -9
- package/lib/Card.d.ts +0 -1
- package/lib/CardFooter.d.ts +0 -1
- package/lib/CardHeader.d.ts +0 -1
- package/lib/CardPreview.d.ts +0 -1
- package/lib/components/Card/Card.d.ts +0 -6
- package/lib/components/Card/Card.types.d.ts +0 -15
- package/lib/components/Card/index.d.ts +0 -5
- package/lib/components/Card/renderCard.d.ts +0 -5
- package/lib/components/Card/useCard.d.ts +0 -12
- package/lib/components/Card/useCardStyles.d.ts +0 -11
- package/lib/components/CardFooter/CardFooter.d.ts +0 -6
- package/lib/components/CardFooter/CardFooter.types.d.ts +0 -13
- package/lib/components/CardFooter/index.d.ts +0 -5
- package/lib/components/CardFooter/renderCardFooter.d.ts +0 -5
- package/lib/components/CardFooter/useCardFooter.d.ts +0 -12
- package/lib/components/CardFooter/useCardFooterStyles.d.ts +0 -11
- package/lib/components/CardHeader/CardHeader.d.ts +0 -6
- package/lib/components/CardHeader/CardHeader.types.d.ts +0 -17
- package/lib/components/CardHeader/index.d.ts +0 -5
- package/lib/components/CardHeader/renderCardHeader.d.ts +0 -5
- package/lib/components/CardHeader/useCardHeader.d.ts +0 -12
- package/lib/components/CardHeader/useCardHeaderStyles.d.ts +0 -11
- package/lib/components/CardPreview/CardPreview.d.ts +0 -6
- package/lib/components/CardPreview/CardPreview.types.d.ts +0 -13
- package/lib/components/CardPreview/index.d.ts +0 -5
- package/lib/components/CardPreview/renderCardPreview.d.ts +0 -5
- package/lib/components/CardPreview/useCardPreview.d.ts +0 -12
- package/lib/components/CardPreview/useCardPreviewStyles.d.ts +0 -11
- package/lib/index.d.ts +0 -8
- package/lib-commonjs/Card.d.ts +0 -1
- package/lib-commonjs/CardFooter.d.ts +0 -1
- package/lib-commonjs/CardHeader.d.ts +0 -1
- package/lib-commonjs/CardPreview.d.ts +0 -1
- package/lib-commonjs/components/Card/Card.d.ts +0 -6
- package/lib-commonjs/components/Card/Card.types.d.ts +0 -15
- package/lib-commonjs/components/Card/index.d.ts +0 -5
- package/lib-commonjs/components/Card/renderCard.d.ts +0 -5
- package/lib-commonjs/components/Card/useCard.d.ts +0 -12
- package/lib-commonjs/components/Card/useCardStyles.d.ts +0 -11
- package/lib-commonjs/components/CardFooter/CardFooter.d.ts +0 -6
- package/lib-commonjs/components/CardFooter/CardFooter.types.d.ts +0 -13
- package/lib-commonjs/components/CardFooter/index.d.ts +0 -5
- package/lib-commonjs/components/CardFooter/renderCardFooter.d.ts +0 -5
- package/lib-commonjs/components/CardFooter/useCardFooter.d.ts +0 -12
- package/lib-commonjs/components/CardFooter/useCardFooterStyles.d.ts +0 -11
- package/lib-commonjs/components/CardHeader/CardHeader.d.ts +0 -6
- package/lib-commonjs/components/CardHeader/CardHeader.types.d.ts +0 -17
- package/lib-commonjs/components/CardHeader/index.d.ts +0 -5
- package/lib-commonjs/components/CardHeader/renderCardHeader.d.ts +0 -5
- package/lib-commonjs/components/CardHeader/useCardHeader.d.ts +0 -12
- package/lib-commonjs/components/CardHeader/useCardHeaderStyles.d.ts +0 -11
- package/lib-commonjs/components/CardPreview/CardPreview.d.ts +0 -6
- package/lib-commonjs/components/CardPreview/CardPreview.types.d.ts +0 -13
- package/lib-commonjs/components/CardPreview/index.d.ts +0 -5
- package/lib-commonjs/components/CardPreview/renderCardPreview.d.ts +0 -5
- package/lib-commonjs/components/CardPreview/useCardPreview.d.ts +0 -12
- package/lib-commonjs/components/CardPreview/useCardPreviewStyles.d.ts +0 -11
- package/lib-commonjs/index.d.ts +0 -8
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,60 @@
|
|
2
2
|
"name": "@fluentui/react-card",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Wed, 04 May 2022 13:24:06 GMT",
|
6
|
+
"tag": "@fluentui/react-card_v9.0.0-beta.13",
|
7
|
+
"version": "9.0.0-beta.13",
|
8
|
+
"comments": {
|
9
|
+
"none": [
|
10
|
+
{
|
11
|
+
"author": "tristan.watanabe@gmail.com",
|
12
|
+
"package": "@fluentui/react-card",
|
13
|
+
"commit": "b8dde556ff82051c140074a3140e83bfdd56f4dc",
|
14
|
+
"comment": "react-card: Move to new common folder."
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"prerelease": [
|
18
|
+
{
|
19
|
+
"author": "martinhochel@microsoft.com",
|
20
|
+
"package": "@fluentui/react-card",
|
21
|
+
"commit": "fd41e5b15e3a2f08245cd4e4bbcc0f07a367ce3b",
|
22
|
+
"comment": "feat: ship rolluped only dts"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"author": "beachball",
|
26
|
+
"package": "@fluentui/react-card",
|
27
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
|
28
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"author": "beachball",
|
32
|
+
"package": "@fluentui/react-card",
|
33
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.8",
|
34
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"author": "beachball",
|
38
|
+
"package": "@fluentui/react-card",
|
39
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
|
40
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"author": "beachball",
|
44
|
+
"package": "@fluentui/react-card",
|
45
|
+
"comment": "Bump @fluentui/react-text to v9.0.0-rc.7",
|
46
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"author": "beachball",
|
50
|
+
"package": "@fluentui/react-card",
|
51
|
+
"comment": "Bump @fluentui/react-button to v9.0.0-rc.8",
|
52
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
53
|
+
}
|
54
|
+
]
|
55
|
+
}
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"date": "Mon, 25 Apr 2022 09:32:19 GMT",
|
6
59
|
"tag": "@fluentui/react-card_v9.0.0-beta.12",
|
7
60
|
"version": "9.0.0-beta.12",
|
8
61
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,26 @@
|
|
1
1
|
# Change Log - @fluentui/react-card
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 04 May 2022 13:24:06 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-beta.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.13)
|
8
|
+
|
9
|
+
Wed, 04 May 2022 13:24:06 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.12..@fluentui/react-card_v9.0.0-beta.13)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- feat: ship rolluped only dts ([PR #22708](https://github.com/microsoft/fluentui/pull/22708) by martinhochel@microsoft.com)
|
15
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
16
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.8 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
18
|
+
- Bump @fluentui/react-text to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
19
|
+
- Bump @fluentui/react-button to v9.0.0-rc.8 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
20
|
+
|
7
21
|
## [9.0.0-beta.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.12)
|
8
22
|
|
9
|
-
Mon, 25 Apr 2022 09:
|
23
|
+
Mon, 25 Apr 2022 09:32:19 GMT
|
10
24
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.11..@fluentui/react-card_v9.0.0-beta.12)
|
11
25
|
|
12
26
|
### Changes
|
@@ -16,7 +30,7 @@ Mon, 25 Apr 2022 09:31:20 GMT
|
|
16
30
|
|
17
31
|
## [9.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.11)
|
18
32
|
|
19
|
-
Tue, 19 Apr 2022 19:17:14 GMT
|
33
|
+
Tue, 19 Apr 2022 19:17:14 GMT
|
20
34
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.10..@fluentui/react-card_v9.0.0-beta.11)
|
21
35
|
|
22
36
|
### Changes
|
@@ -32,7 +46,7 @@ Tue, 19 Apr 2022 19:17:14 GMT
|
|
32
46
|
|
33
47
|
## [9.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.10)
|
34
48
|
|
35
|
-
Fri, 04 Mar 2022 05:17:35 GMT
|
49
|
+
Fri, 04 Mar 2022 05:17:35 GMT
|
36
50
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.9..@fluentui/react-card_v9.0.0-beta.10)
|
37
51
|
|
38
52
|
### Changes
|
@@ -46,7 +60,7 @@ Fri, 04 Mar 2022 05:17:35 GMT
|
|
46
60
|
|
47
61
|
## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.9)
|
48
62
|
|
49
|
-
Tue, 01 Mar 2022 02:17:35 GMT
|
63
|
+
Tue, 01 Mar 2022 02:17:35 GMT
|
50
64
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.8..@fluentui/react-card_v9.0.0-beta.9)
|
51
65
|
|
52
66
|
### Changes
|
@@ -59,7 +73,7 @@ Tue, 01 Mar 2022 02:17:35 GMT
|
|
59
73
|
|
60
74
|
## [9.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.8)
|
61
75
|
|
62
|
-
Fri, 18 Feb 2022 13:35:29 GMT
|
76
|
+
Fri, 18 Feb 2022 13:35:29 GMT
|
63
77
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.6..@fluentui/react-card_v9.0.0-beta.8)
|
64
78
|
|
65
79
|
### Changes
|
@@ -75,7 +89,7 @@ Fri, 18 Feb 2022 13:35:29 GMT
|
|
75
89
|
|
76
90
|
## [9.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.6)
|
77
91
|
|
78
|
-
Thu, 10 Feb 2022 08:51:52 GMT
|
92
|
+
Thu, 10 Feb 2022 08:51:52 GMT
|
79
93
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v9.0.0-beta.6)
|
80
94
|
|
81
95
|
### Changes
|
@@ -85,7 +99,7 @@ Thu, 10 Feb 2022 08:51:52 GMT
|
|
85
99
|
- 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)
|
86
100
|
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
87
101
|
- Remove empty CardCommons type and outdated boilerplate comments ([PR #21150](https://github.com/microsoft/fluentui/pull/21150) by elcraig@microsoft.com)
|
88
|
-
- 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)
|
102
|
+
- 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)
|
89
103
|
- use Griffel packages ([PR #21417](https://github.com/microsoft/fluentui/pull/21417) by olfedias@microsoft.com)
|
90
104
|
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
|
91
105
|
- update styles no not use CSS shorthands ([PR #20794](https://github.com/microsoft/fluentui/pull/20794) by olfedias@microsoft.com)
|
@@ -98,7 +112,7 @@ Thu, 10 Feb 2022 08:51:52 GMT
|
|
98
112
|
|
99
113
|
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.5)
|
100
114
|
|
101
|
-
Thu, 25 Nov 2021 08:34:12 GMT
|
115
|
+
Thu, 25 Nov 2021 08:34:12 GMT
|
102
116
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.4..@fluentui/react-card_v9.0.0-beta.5)
|
103
117
|
|
104
118
|
### Changes
|
@@ -115,7 +129,7 @@ Thu, 25 Nov 2021 08:34:12 GMT
|
|
115
129
|
|
116
130
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.4)
|
117
131
|
|
118
|
-
Fri, 12 Nov 2021 13:25:17 GMT
|
132
|
+
Fri, 12 Nov 2021 13:25:17 GMT
|
119
133
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.3..@fluentui/react-card_v9.0.0-beta.4)
|
120
134
|
|
121
135
|
### Changes
|
@@ -133,7 +147,7 @@ Fri, 12 Nov 2021 13:25:17 GMT
|
|
133
147
|
|
134
148
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.3)
|
135
149
|
|
136
|
-
Wed, 27 Oct 2021 12:14:15 GMT
|
150
|
+
Wed, 27 Oct 2021 12:14:15 GMT
|
137
151
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.2..@fluentui/react-card_v9.0.0-beta.3)
|
138
152
|
|
139
153
|
### Changes
|
@@ -150,7 +164,7 @@ Wed, 27 Oct 2021 12:14:15 GMT
|
|
150
164
|
|
151
165
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.2)
|
152
166
|
|
153
|
-
Tue, 12 Oct 2021 19:45:58 GMT
|
167
|
+
Tue, 12 Oct 2021 19:45:58 GMT
|
154
168
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.1..@fluentui/react-card_v9.0.0-beta.2)
|
155
169
|
|
156
170
|
### Changes
|
@@ -162,7 +176,7 @@ Tue, 12 Oct 2021 19:45:58 GMT
|
|
162
176
|
|
163
177
|
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.1)
|
164
178
|
|
165
|
-
Wed, 06 Oct 2021 10:37:22 GMT
|
179
|
+
Wed, 06 Oct 2021 10:37:22 GMT
|
166
180
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.18..@fluentui/react-card_v9.0.0-beta.1)
|
167
181
|
|
168
182
|
### Changes
|
@@ -178,7 +192,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
|
|
178
192
|
|
179
193
|
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.18)
|
180
194
|
|
181
|
-
Tue, 05 Oct 2021 12:47:58 GMT
|
195
|
+
Tue, 05 Oct 2021 12:47:58 GMT
|
182
196
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.17..@fluentui/react-card_v9.0.0-alpha.18)
|
183
197
|
|
184
198
|
### Changes
|
@@ -192,7 +206,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
|
|
192
206
|
|
193
207
|
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.17)
|
194
208
|
|
195
|
-
Tue, 05 Oct 2021 09:28:07 GMT
|
209
|
+
Tue, 05 Oct 2021 09:28:07 GMT
|
196
210
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.16..@fluentui/react-card_v9.0.0-alpha.17)
|
197
211
|
|
198
212
|
### Changes
|
@@ -208,7 +222,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
|
|
208
222
|
|
209
223
|
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.16)
|
210
224
|
|
211
|
-
Mon, 04 Oct 2021 08:03:04 GMT
|
225
|
+
Mon, 04 Oct 2021 08:03:04 GMT
|
212
226
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.15..@fluentui/react-card_v9.0.0-alpha.16)
|
213
227
|
|
214
228
|
### Changes
|
@@ -217,7 +231,7 @@ Mon, 04 Oct 2021 08:03:04 GMT
|
|
217
231
|
|
218
232
|
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.15)
|
219
233
|
|
220
|
-
Fri, 01 Oct 2021 14:13:08 GMT
|
234
|
+
Fri, 01 Oct 2021 14:13:08 GMT
|
221
235
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.13..@fluentui/react-card_v9.0.0-alpha.15)
|
222
236
|
|
223
237
|
### Changes
|
@@ -233,7 +247,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
|
|
233
247
|
|
234
248
|
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.13)
|
235
249
|
|
236
|
-
Fri, 01 Oct 2021 12:30:46 GMT
|
250
|
+
Fri, 01 Oct 2021 12:30:46 GMT
|
237
251
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.12..@fluentui/react-card_v9.0.0-alpha.13)
|
238
252
|
|
239
253
|
### Changes
|
@@ -242,7 +256,7 @@ Fri, 01 Oct 2021 12:30:46 GMT
|
|
242
256
|
|
243
257
|
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.12)
|
244
258
|
|
245
|
-
Fri, 01 Oct 2021 09:44:56 GMT
|
259
|
+
Fri, 01 Oct 2021 09:44:56 GMT
|
246
260
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.11..@fluentui/react-card_v9.0.0-alpha.12)
|
247
261
|
|
248
262
|
### Changes
|
@@ -251,7 +265,7 @@ Fri, 01 Oct 2021 09:44:56 GMT
|
|
251
265
|
|
252
266
|
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.11)
|
253
267
|
|
254
|
-
Thu, 30 Sep 2021 09:18:15 GMT
|
268
|
+
Thu, 30 Sep 2021 09:18:15 GMT
|
255
269
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.10..@fluentui/react-card_v9.0.0-alpha.11)
|
256
270
|
|
257
271
|
### Changes
|
@@ -260,7 +274,7 @@ Thu, 30 Sep 2021 09:18:15 GMT
|
|
260
274
|
|
261
275
|
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.10)
|
262
276
|
|
263
|
-
Wed, 29 Sep 2021 08:06:11 GMT
|
277
|
+
Wed, 29 Sep 2021 08:06:11 GMT
|
264
278
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.9..@fluentui/react-card_v9.0.0-alpha.10)
|
265
279
|
|
266
280
|
### Changes
|
@@ -274,7 +288,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
|
|
274
288
|
|
275
289
|
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.9)
|
276
290
|
|
277
|
-
Mon, 27 Sep 2021 08:06:00 GMT
|
291
|
+
Mon, 27 Sep 2021 08:06:00 GMT
|
278
292
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.8..@fluentui/react-card_v9.0.0-alpha.9)
|
279
293
|
|
280
294
|
### Changes
|
@@ -289,7 +303,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
|
|
289
303
|
|
290
304
|
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.8)
|
291
305
|
|
292
|
-
Fri, 24 Sep 2021 09:17:17 GMT
|
306
|
+
Fri, 24 Sep 2021 09:17:17 GMT
|
293
307
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.7..@fluentui/react-card_v9.0.0-alpha.8)
|
294
308
|
|
295
309
|
### Changes
|
@@ -304,7 +318,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
|
|
304
318
|
|
305
319
|
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.7)
|
306
320
|
|
307
|
-
Thu, 23 Sep 2021 08:21:34 GMT
|
321
|
+
Thu, 23 Sep 2021 08:21:34 GMT
|
308
322
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.6..@fluentui/react-card_v9.0.0-alpha.7)
|
309
323
|
|
310
324
|
### Changes
|
@@ -321,7 +335,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
|
|
321
335
|
|
322
336
|
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.6)
|
323
337
|
|
324
|
-
Wed, 22 Sep 2021 10:10:07 GMT
|
338
|
+
Wed, 22 Sep 2021 10:10:07 GMT
|
325
339
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.5..@fluentui/react-card_v9.0.0-alpha.6)
|
326
340
|
|
327
341
|
### Changes
|
@@ -336,7 +350,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
|
|
336
350
|
|
337
351
|
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.5)
|
338
352
|
|
339
|
-
Tue, 21 Sep 2021 07:42:34 GMT
|
353
|
+
Tue, 21 Sep 2021 07:42:34 GMT
|
340
354
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.4..@fluentui/react-card_v9.0.0-alpha.5)
|
341
355
|
|
342
356
|
### Changes
|
@@ -350,7 +364,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
|
|
350
364
|
|
351
365
|
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.4)
|
352
366
|
|
353
|
-
Mon, 20 Sep 2021 07:36:26 GMT
|
367
|
+
Mon, 20 Sep 2021 07:36:26 GMT
|
354
368
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.3..@fluentui/react-card_v9.0.0-alpha.4)
|
355
369
|
|
356
370
|
### Changes
|
@@ -359,7 +373,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
|
|
359
373
|
|
360
374
|
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.3)
|
361
375
|
|
362
|
-
Fri, 17 Sep 2021 07:35:26 GMT
|
376
|
+
Fri, 17 Sep 2021 07:35:26 GMT
|
363
377
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.2..@fluentui/react-card_v9.0.0-alpha.3)
|
364
378
|
|
365
379
|
### Changes
|
@@ -368,7 +382,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
|
|
368
382
|
|
369
383
|
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.2)
|
370
384
|
|
371
|
-
Thu, 16 Sep 2021 07:38:39 GMT
|
385
|
+
Thu, 16 Sep 2021 07:38:39 GMT
|
372
386
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.1..@fluentui/react-card_v9.0.0-alpha.2)
|
373
387
|
|
374
388
|
### Changes
|
@@ -377,7 +391,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
|
|
377
391
|
|
378
392
|
## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.1)
|
379
393
|
|
380
|
-
Tue, 14 Sep 2021 20:09:02 GMT
|
394
|
+
Tue, 14 Sep 2021 20:09:02 GMT
|
381
395
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.1)
|
382
396
|
|
383
397
|
### Changes
|
@@ -387,7 +401,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
|
|
387
401
|
|
388
402
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
389
403
|
|
390
|
-
Fri, 10 Sep 2021 16:31:53 GMT
|
404
|
+
Fri, 10 Sep 2021 16:31:53 GMT
|
391
405
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
392
406
|
|
393
407
|
### Changes
|
@@ -396,7 +410,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
|
|
396
410
|
|
397
411
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
398
412
|
|
399
|
-
Fri, 10 Sep 2021 07:39:51 GMT
|
413
|
+
Fri, 10 Sep 2021 07:39:51 GMT
|
400
414
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
401
415
|
|
402
416
|
### Changes
|
@@ -405,7 +419,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
|
|
405
419
|
|
406
420
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
407
421
|
|
408
|
-
Mon, 06 Sep 2021 07:34:53 GMT
|
422
|
+
Mon, 06 Sep 2021 07:34:53 GMT
|
409
423
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
410
424
|
|
411
425
|
### Changes
|
@@ -414,7 +428,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
|
|
414
428
|
|
415
429
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
416
430
|
|
417
|
-
Thu, 02 Sep 2021 07:36:46 GMT
|
431
|
+
Thu, 02 Sep 2021 07:36:46 GMT
|
418
432
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
419
433
|
|
420
434
|
### Patches
|
@@ -427,7 +441,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
|
|
427
441
|
|
428
442
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
429
443
|
|
430
|
-
Wed, 01 Sep 2021 07:39:56 GMT
|
444
|
+
Wed, 01 Sep 2021 07:39:56 GMT
|
431
445
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
432
446
|
|
433
447
|
### Changes
|
@@ -436,7 +450,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
|
|
436
450
|
|
437
451
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
438
452
|
|
439
|
-
Tue, 31 Aug 2021 07:37:47 GMT
|
453
|
+
Tue, 31 Aug 2021 07:37:47 GMT
|
440
454
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
441
455
|
|
442
456
|
### Changes
|
@@ -445,7 +459,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
|
|
445
459
|
|
446
460
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
447
461
|
|
448
|
-
Fri, 27 Aug 2021 07:33:32 GMT
|
462
|
+
Fri, 27 Aug 2021 07:33:32 GMT
|
449
463
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
450
464
|
|
451
465
|
### Changes
|
@@ -454,7 +468,7 @@ Fri, 27 Aug 2021 07:33:32 GMT
|
|
454
468
|
|
455
469
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
456
470
|
|
457
|
-
Thu, 26 Aug 2021 07:35:43 GMT
|
471
|
+
Thu, 26 Aug 2021 07:35:43 GMT
|
458
472
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
459
473
|
|
460
474
|
### Changes
|
@@ -463,7 +477,7 @@ Thu, 26 Aug 2021 07:35:43 GMT
|
|
463
477
|
|
464
478
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
465
479
|
|
466
|
-
Fri, 20 Aug 2021 07:37:28 GMT
|
480
|
+
Fri, 20 Aug 2021 07:37:28 GMT
|
467
481
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
468
482
|
|
469
483
|
### Changes
|
@@ -472,7 +486,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
|
|
472
486
|
|
473
487
|
## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-alpha.0)
|
474
488
|
|
475
|
-
Thu, 19 Aug 2021 07:41:35 GMT
|
489
|
+
Thu, 19 Aug 2021 07:41:35 GMT
|
476
490
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-alpha.0..@fluentui/react-card_v9.0.0-alpha.0)
|
477
491
|
|
478
492
|
### Changes
|
File without changes
|
File without changes
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-card",
|
3
|
-
"version": "9.0.0-beta.
|
3
|
+
"version": "9.0.0-beta.13",
|
4
4
|
"private": false,
|
5
5
|
"description": "Card container components for Fluent UI React.",
|
6
6
|
"main": "lib-commonjs/index.js",
|
7
7
|
"module": "lib/index.js",
|
8
|
-
"typings": "
|
8
|
+
"typings": "dist/index.d.ts",
|
9
9
|
"sideEffects": false,
|
10
10
|
"repository": {
|
11
11
|
"type": "git",
|
@@ -22,8 +22,8 @@
|
|
22
22
|
"start": "yarn storybook",
|
23
23
|
"test": "jest --passWithNoTests",
|
24
24
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
25
|
-
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node
|
26
|
-
"storybook": "node
|
25
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-card/src && yarn docs",
|
26
|
+
"storybook": "node ../../../scripts/storybook/runner",
|
27
27
|
"type-check": "tsc -b tsconfig.json"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
@@ -31,14 +31,14 @@
|
|
31
31
|
"@fluentui/react-conformance": "*",
|
32
32
|
"@fluentui/react-conformance-griffel": "9.0.0-beta.4",
|
33
33
|
"@fluentui/scripts": "^1.0.0",
|
34
|
-
"@fluentui/react-text": "9.0.0-rc.
|
35
|
-
"@fluentui/react-button": "9.0.0-rc.
|
34
|
+
"@fluentui/react-text": "9.0.0-rc.7",
|
35
|
+
"@fluentui/react-button": "9.0.0-rc.8"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
38
|
"@griffel/react": "1.0.3",
|
39
|
-
"@fluentui/react-utilities": "9.0.0-rc.
|
40
|
-
"@fluentui/react-tabster": "9.0.0-rc.
|
41
|
-
"@fluentui/react-theme": "9.0.0-rc.
|
39
|
+
"@fluentui/react-utilities": "9.0.0-rc.7",
|
40
|
+
"@fluentui/react-tabster": "9.0.0-rc.8",
|
41
|
+
"@fluentui/react-theme": "9.0.0-rc.6",
|
42
42
|
"tslib": "^2.1.0"
|
43
43
|
},
|
44
44
|
"peerDependencies": {
|
package/lib/Card.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Card/index';
|
package/lib/CardFooter.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/CardFooter/index';
|
package/lib/CardHeader.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/CardHeader/index';
|
package/lib/CardPreview.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/CardPreview/index';
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardProps } from './Card.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* A card provides scaffolding for hosting actions and content for a single topic.
|
5
|
-
*/
|
6
|
-
export declare const Card: ForwardRefComponent<CardProps>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
};
|
5
|
-
export declare type CardCommons = {
|
6
|
-
appearance: 'filled' | 'filled-alternative' | 'outline' | 'subtle';
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Card Props
|
10
|
-
*/
|
11
|
-
export declare type CardProps = ComponentProps<CardSlots> & Partial<CardCommons>;
|
12
|
-
/**
|
13
|
-
* State used in rendering Card
|
14
|
-
*/
|
15
|
-
export declare type CardState = ComponentState<CardSlots> & CardCommons;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardProps, CardState } from './Card.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render Card.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardStyles_unstable,
|
7
|
-
* before being passed to renderCard_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of Card
|
10
|
-
* @param ref - reference to root HTMLElement of Card
|
11
|
-
*/
|
12
|
-
export declare const useCard_unstable: (props: CardProps, ref: React.Ref<HTMLElement>) => CardState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { CardSlots, CardState } from './Card.types';
|
2
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardClassName = "fui-Card";
|
7
|
-
export declare const cardClassNames: SlotClassNames<CardSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the Card slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardStyles_unstable: (state: CardState) => CardState;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardFooterProps } from './CardFooter.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* Component to render Button actions in a Card component.
|
5
|
-
*/
|
6
|
-
export declare const CardFooter: ForwardRefComponent<CardFooterProps>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardFooterSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
action?: Slot<'div'>;
|
5
|
-
};
|
6
|
-
/**
|
7
|
-
* CardFooter props
|
8
|
-
*/
|
9
|
-
export declare type CardFooterProps = ComponentProps<CardFooterSlots>;
|
10
|
-
/**
|
11
|
-
* State used in rendering CardFooter
|
12
|
-
*/
|
13
|
-
export declare type CardFooterState = ComponentState<CardFooterSlots>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardFooterProps, CardFooterState } from './CardFooter.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render CardFooter.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardFooterStyles_unstable,
|
7
|
-
* before being passed to renderCardFooter_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of CardFooter
|
10
|
-
* @param ref - reference to root HTMLElement of CardFooter
|
11
|
-
*/
|
12
|
-
export declare const useCardFooter_unstable: (props: CardFooterProps, ref: React.Ref<HTMLElement>) => CardFooterState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
2
|
-
import type { CardFooterSlots, CardFooterState } from './CardFooter.types';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardFooterClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardFooterClassName = "fui-CardFooter";
|
7
|
-
export declare const cardFooterClassNames: SlotClassNames<CardFooterSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the CardFooter slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardFooterStyles_unstable: (state: CardFooterState) => CardFooterState;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardHeaderProps } from './CardHeader.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* Component to render an image, text and an action in a Card component.
|
5
|
-
*/
|
6
|
-
export declare const CardHeader: ForwardRefComponent<CardHeaderProps>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardHeaderSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
image: Slot<'div'>;
|
5
|
-
content?: Slot<'div'>;
|
6
|
-
header: Slot<'span'>;
|
7
|
-
description: Slot<'span'>;
|
8
|
-
action?: Slot<'div'>;
|
9
|
-
};
|
10
|
-
/**
|
11
|
-
* CardHeader props
|
12
|
-
*/
|
13
|
-
export declare type CardHeaderProps = ComponentProps<Partial<CardHeaderSlots>>;
|
14
|
-
/**
|
15
|
-
* State used in rendering CardHeader
|
16
|
-
*/
|
17
|
-
export declare type CardHeaderState = ComponentState<CardHeaderSlots>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardHeaderProps, CardHeaderState } from './CardHeader.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render CardHeader.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardHeaderStyles_unstable,
|
7
|
-
* before being passed to renderCardHeader_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of CardHeader
|
10
|
-
* @param ref - reference to root HTMLElement of CardHeader
|
11
|
-
*/
|
12
|
-
export declare const useCardHeader_unstable: (props: CardHeaderProps, ref: React.Ref<HTMLElement>) => CardHeaderState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
2
|
-
import type { CardHeaderSlots, CardHeaderState } from './CardHeader.types';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardHeaderClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardHeaderClassName = "fui-CardHeader";
|
7
|
-
export declare const cardHeaderClassNames: SlotClassNames<CardHeaderSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the CardHeader slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardHeaderStyles_unstable: (state: CardHeaderState) => CardHeaderState;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardPreviewProps } from './CardPreview.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* Component to render image previews of documents or articles in a Card component.
|
5
|
-
*/
|
6
|
-
export declare const CardPreview: ForwardRefComponent<CardPreviewProps>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardPreviewSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
logo?: Slot<'div'>;
|
5
|
-
};
|
6
|
-
/**
|
7
|
-
* CardPreview props
|
8
|
-
*/
|
9
|
-
export declare type CardPreviewProps = ComponentProps<CardPreviewSlots>;
|
10
|
-
/**
|
11
|
-
* State used in rendering CardPreview
|
12
|
-
*/
|
13
|
-
export declare type CardPreviewState = ComponentState<CardPreviewSlots>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardPreviewProps, CardPreviewState } from './CardPreview.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render CardPreview.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardPreviewStyles_unstable,
|
7
|
-
* before being passed to renderCardPreview_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of CardPreview
|
10
|
-
* @param ref - reference to root HTMLElement of CardPreview
|
11
|
-
*/
|
12
|
-
export declare const useCardPreview_unstable: (props: CardPreviewProps, ref: React.Ref<HTMLElement>) => CardPreviewState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
2
|
-
import type { CardPreviewSlots, CardPreviewState } from './CardPreview.types';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardPreviewClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardPreviewClassName = "fui-CardPreview";
|
7
|
-
export declare const cardPreviewClassNames: SlotClassNames<CardPreviewSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the CardPreview slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardPreviewStyles_unstable: (state: CardPreviewState) => CardPreviewState;
|
package/lib/index.d.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
export { Card, cardClassName, cardClassNames, renderCard_unstable, useCardStyles_unstable, useCard_unstable, } from './Card';
|
2
|
-
export type { CardCommons, CardProps, CardSlots, CardState } from './Card';
|
3
|
-
export { CardFooter, cardFooterClassName, cardFooterClassNames, renderCardFooter_unstable, useCardFooterStyles_unstable, useCardFooter_unstable, } from './CardFooter';
|
4
|
-
export type { CardFooterProps, CardFooterSlots, CardFooterState } from './CardFooter';
|
5
|
-
export { CardHeader, cardHeaderClassName, cardHeaderClassNames, renderCardHeader_unstable, useCardHeaderStyles_unstable, useCardHeader_unstable, } from './CardHeader';
|
6
|
-
export type { CardHeaderProps, CardHeaderSlots, CardHeaderState } from './CardHeader';
|
7
|
-
export { CardPreview, cardPreviewClassName, cardPreviewClassNames, renderCardPreview_unstable, useCardPreviewStyles_unstable, useCardPreview_unstable, } from './CardPreview';
|
8
|
-
export type { CardPreviewProps, CardPreviewSlots, CardPreviewState } from './CardPreview';
|
package/lib-commonjs/Card.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Card/index';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/CardFooter/index';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/CardHeader/index';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/CardPreview/index';
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardProps } from './Card.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* A card provides scaffolding for hosting actions and content for a single topic.
|
5
|
-
*/
|
6
|
-
export declare const Card: ForwardRefComponent<CardProps>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
};
|
5
|
-
export declare type CardCommons = {
|
6
|
-
appearance: 'filled' | 'filled-alternative' | 'outline' | 'subtle';
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Card Props
|
10
|
-
*/
|
11
|
-
export declare type CardProps = ComponentProps<CardSlots> & Partial<CardCommons>;
|
12
|
-
/**
|
13
|
-
* State used in rendering Card
|
14
|
-
*/
|
15
|
-
export declare type CardState = ComponentState<CardSlots> & CardCommons;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardProps, CardState } from './Card.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render Card.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardStyles_unstable,
|
7
|
-
* before being passed to renderCard_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of Card
|
10
|
-
* @param ref - reference to root HTMLElement of Card
|
11
|
-
*/
|
12
|
-
export declare const useCard_unstable: (props: CardProps, ref: React.Ref<HTMLElement>) => CardState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { CardSlots, CardState } from './Card.types';
|
2
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardClassName = "fui-Card";
|
7
|
-
export declare const cardClassNames: SlotClassNames<CardSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the Card slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardStyles_unstable: (state: CardState) => CardState;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardFooterProps } from './CardFooter.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* Component to render Button actions in a Card component.
|
5
|
-
*/
|
6
|
-
export declare const CardFooter: ForwardRefComponent<CardFooterProps>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardFooterSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
action?: Slot<'div'>;
|
5
|
-
};
|
6
|
-
/**
|
7
|
-
* CardFooter props
|
8
|
-
*/
|
9
|
-
export declare type CardFooterProps = ComponentProps<CardFooterSlots>;
|
10
|
-
/**
|
11
|
-
* State used in rendering CardFooter
|
12
|
-
*/
|
13
|
-
export declare type CardFooterState = ComponentState<CardFooterSlots>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardFooterProps, CardFooterState } from './CardFooter.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render CardFooter.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardFooterStyles_unstable,
|
7
|
-
* before being passed to renderCardFooter_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of CardFooter
|
10
|
-
* @param ref - reference to root HTMLElement of CardFooter
|
11
|
-
*/
|
12
|
-
export declare const useCardFooter_unstable: (props: CardFooterProps, ref: React.Ref<HTMLElement>) => CardFooterState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
2
|
-
import type { CardFooterSlots, CardFooterState } from './CardFooter.types';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardFooterClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardFooterClassName = "fui-CardFooter";
|
7
|
-
export declare const cardFooterClassNames: SlotClassNames<CardFooterSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the CardFooter slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardFooterStyles_unstable: (state: CardFooterState) => CardFooterState;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardHeaderProps } from './CardHeader.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* Component to render an image, text and an action in a Card component.
|
5
|
-
*/
|
6
|
-
export declare const CardHeader: ForwardRefComponent<CardHeaderProps>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardHeaderSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
image: Slot<'div'>;
|
5
|
-
content?: Slot<'div'>;
|
6
|
-
header: Slot<'span'>;
|
7
|
-
description: Slot<'span'>;
|
8
|
-
action?: Slot<'div'>;
|
9
|
-
};
|
10
|
-
/**
|
11
|
-
* CardHeader props
|
12
|
-
*/
|
13
|
-
export declare type CardHeaderProps = ComponentProps<Partial<CardHeaderSlots>>;
|
14
|
-
/**
|
15
|
-
* State used in rendering CardHeader
|
16
|
-
*/
|
17
|
-
export declare type CardHeaderState = ComponentState<CardHeaderSlots>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardHeaderProps, CardHeaderState } from './CardHeader.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render CardHeader.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardHeaderStyles_unstable,
|
7
|
-
* before being passed to renderCardHeader_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of CardHeader
|
10
|
-
* @param ref - reference to root HTMLElement of CardHeader
|
11
|
-
*/
|
12
|
-
export declare const useCardHeader_unstable: (props: CardHeaderProps, ref: React.Ref<HTMLElement>) => CardHeaderState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
2
|
-
import type { CardHeaderSlots, CardHeaderState } from './CardHeader.types';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardHeaderClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardHeaderClassName = "fui-CardHeader";
|
7
|
-
export declare const cardHeaderClassNames: SlotClassNames<CardHeaderSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the CardHeader slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardHeaderStyles_unstable: (state: CardHeaderState) => CardHeaderState;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { CardPreviewProps } from './CardPreview.types';
|
2
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
3
|
-
/**
|
4
|
-
* Component to render image previews of documents or articles in a Card component.
|
5
|
-
*/
|
6
|
-
export declare const CardPreview: ForwardRefComponent<CardPreviewProps>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
2
|
-
export declare type CardPreviewSlots = {
|
3
|
-
root: Slot<'div'>;
|
4
|
-
logo?: Slot<'div'>;
|
5
|
-
};
|
6
|
-
/**
|
7
|
-
* CardPreview props
|
8
|
-
*/
|
9
|
-
export declare type CardPreviewProps = ComponentProps<CardPreviewSlots>;
|
10
|
-
/**
|
11
|
-
* State used in rendering CardPreview
|
12
|
-
*/
|
13
|
-
export declare type CardPreviewState = ComponentState<CardPreviewSlots>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { CardPreviewProps, CardPreviewState } from './CardPreview.types';
|
3
|
-
/**
|
4
|
-
* Create the state required to render CardPreview.
|
5
|
-
*
|
6
|
-
* The returned state can be modified with hooks such as useCardPreviewStyles_unstable,
|
7
|
-
* before being passed to renderCardPreview_unstable.
|
8
|
-
*
|
9
|
-
* @param props - props from this instance of CardPreview
|
10
|
-
* @param ref - reference to root HTMLElement of CardPreview
|
11
|
-
*/
|
12
|
-
export declare const useCardPreview_unstable: (props: CardPreviewProps, ref: React.Ref<HTMLElement>) => CardPreviewState;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
2
|
-
import type { CardPreviewSlots, CardPreviewState } from './CardPreview.types';
|
3
|
-
/**
|
4
|
-
* @deprecated Use `cardPreviewClassNames.root` instead.
|
5
|
-
*/
|
6
|
-
export declare const cardPreviewClassName = "fui-CardPreview";
|
7
|
-
export declare const cardPreviewClassNames: SlotClassNames<CardPreviewSlots>;
|
8
|
-
/**
|
9
|
-
* Apply styling to the CardPreview slots based on the state
|
10
|
-
*/
|
11
|
-
export declare const useCardPreviewStyles_unstable: (state: CardPreviewState) => CardPreviewState;
|
package/lib-commonjs/index.d.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
export { Card, cardClassName, cardClassNames, renderCard_unstable, useCardStyles_unstable, useCard_unstable, } from './Card';
|
2
|
-
export type { CardCommons, CardProps, CardSlots, CardState } from './Card';
|
3
|
-
export { CardFooter, cardFooterClassName, cardFooterClassNames, renderCardFooter_unstable, useCardFooterStyles_unstable, useCardFooter_unstable, } from './CardFooter';
|
4
|
-
export type { CardFooterProps, CardFooterSlots, CardFooterState } from './CardFooter';
|
5
|
-
export { CardHeader, cardHeaderClassName, cardHeaderClassNames, renderCardHeader_unstable, useCardHeaderStyles_unstable, useCardHeader_unstable, } from './CardHeader';
|
6
|
-
export type { CardHeaderProps, CardHeaderSlots, CardHeaderState } from './CardHeader';
|
7
|
-
export { CardPreview, cardPreviewClassName, cardPreviewClassNames, renderCardPreview_unstable, useCardPreviewStyles_unstable, useCardPreview_unstable, } from './CardPreview';
|
8
|
-
export type { CardPreviewProps, CardPreviewSlots, CardPreviewState } from './CardPreview';
|