@fluentui/react-card 0.0.0-nightly-20220531-0421.1 → 0.0.0-nightly-20220607-0421.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +68 -11
- package/CHANGELOG.md +24 -8
- package/Spec.md +1 -1
- package/assets/logo.svg +9 -0
- package/dist/index.d.ts +94 -18
- package/lib/components/Card/Card.js.map +1 -1
- package/lib/components/Card/Card.types.js.map +1 -1
- package/lib/components/Card/renderCard.js +1 -1
- package/lib/components/Card/renderCard.js.map +1 -1
- package/lib/components/Card/useCard.js +5 -1
- package/lib/components/Card/useCard.js.map +1 -1
- package/lib/components/Card/useCardStyles.js +67 -18
- package/lib/components/Card/useCardStyles.js.map +1 -1
- package/lib/components/CardFooter/CardFooter.js.map +1 -1
- package/lib/components/CardFooter/CardFooter.types.js.map +1 -1
- package/lib/components/CardFooter/renderCardFooter.js +1 -1
- package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
- package/lib/components/CardFooter/useCardFooter.js.map +1 -1
- package/lib/components/CardFooter/useCardFooterStyles.js +5 -4
- package/lib/components/CardFooter/useCardFooterStyles.js.map +1 -1
- package/lib/components/CardHeader/CardHeader.js.map +1 -1
- package/lib/components/CardHeader/CardHeader.types.js.map +1 -1
- package/lib/components/CardHeader/renderCardHeader.js +1 -1
- package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
- package/lib/components/CardHeader/useCardHeader.js.map +1 -1
- package/lib/components/CardHeader/useCardHeaderStyles.js +5 -4
- package/lib/components/CardHeader/useCardHeaderStyles.js.map +1 -1
- package/lib/components/CardPreview/CardPreview.js.map +1 -1
- package/lib/components/CardPreview/CardPreview.types.js.map +1 -1
- package/lib/components/CardPreview/renderCardPreview.js +1 -1
- package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
- package/lib/components/CardPreview/useCardPreview.js.map +1 -1
- package/lib/components/CardPreview/useCardPreviewStyles.js +9 -7
- package/lib/components/CardPreview/useCardPreviewStyles.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/components/Card/Card.js.map +1 -1
- package/lib-commonjs/components/Card/renderCard.js +1 -1
- package/lib-commonjs/components/Card/renderCard.js.map +1 -1
- package/lib-commonjs/components/Card/useCard.js +5 -1
- package/lib-commonjs/components/Card/useCard.js.map +1 -1
- package/lib-commonjs/components/Card/useCardStyles.js +70 -19
- package/lib-commonjs/components/Card/useCardStyles.js.map +1 -1
- package/lib-commonjs/components/CardFooter/CardFooter.js.map +1 -1
- package/lib-commonjs/components/CardFooter/renderCardFooter.js +1 -1
- package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
- package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
- package/lib-commonjs/components/CardFooter/useCardFooterStyles.js +5 -4
- package/lib-commonjs/components/CardFooter/useCardFooterStyles.js.map +1 -1
- package/lib-commonjs/components/CardHeader/CardHeader.js.map +1 -1
- package/lib-commonjs/components/CardHeader/renderCardHeader.js +1 -1
- package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
- package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
- package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js +5 -4
- package/lib-commonjs/components/CardHeader/useCardHeaderStyles.js.map +1 -1
- package/lib-commonjs/components/CardPreview/CardPreview.js.map +1 -1
- package/lib-commonjs/components/CardPreview/renderCardPreview.js +1 -1
- package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
- package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
- package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js +9 -7
- package/lib-commonjs/components/CardPreview/useCardPreviewStyles.js.map +1 -1
- package/lib-commonjs/index.js +7 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.json
CHANGED
@@ -2,11 +2,62 @@
|
|
2
2
|
"name": "@fluentui/react-card",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Tue,
|
6
|
-
"tag": "@fluentui/react-card_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Tue, 07 Jun 2022 04:34:23 GMT",
|
6
|
+
"tag": "@fluentui/react-card_v0.0.0-nightly-20220607-0421.1",
|
7
|
+
"version": "0.0.0-nightly-20220607-0421.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "39736248+andrefcdias@users.noreply.github.com",
|
12
|
+
"package": "@fluentui/react-card",
|
13
|
+
"commit": "06030b7cbf61b157df4b2a203a456aca6380ea6b",
|
14
|
+
"comment": "feat: add `orientation` prop"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "39736248+andrefcdias@users.noreply.github.com",
|
18
|
+
"package": "@fluentui/react-card",
|
19
|
+
"commit": "0a35ab4703e21e5f6763b17ed33a48ad3ae4409b",
|
20
|
+
"comment": "chore: add basic API documentation"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-card",
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220607-0421.1",
|
26
|
+
"commit": "b264fd655a010e09847726c4b0481262f8f4a949"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-card",
|
31
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20220607-0421.1",
|
32
|
+
"commit": "b264fd655a010e09847726c4b0481262f8f4a949"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-card",
|
37
|
+
"comment": "Bump @fluentui/react-text to v0.0.0-nightly-20220607-0421.1",
|
38
|
+
"commit": "b264fd655a010e09847726c4b0481262f8f4a949"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-card",
|
43
|
+
"comment": "Bump @fluentui/react-button to v0.0.0-nightly-20220607-0421.1",
|
44
|
+
"commit": "b264fd655a010e09847726c4b0481262f8f4a949"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"date": "Tue, 31 May 2022 21:28:36 GMT",
|
51
|
+
"tag": "@fluentui/react-card_v9.0.0-beta.18",
|
52
|
+
"version": "9.0.0-beta.18",
|
53
|
+
"comments": {
|
54
|
+
"prerelease": [
|
55
|
+
{
|
56
|
+
"author": "39736248+andrefcdias@users.noreply.github.com",
|
57
|
+
"package": "@fluentui/react-card",
|
58
|
+
"commit": "8caa7bbfd4c5cb91324def7470a280ac9bf6dec8",
|
59
|
+
"comment": "feat: Add `size` property to control card padding and border radius"
|
60
|
+
},
|
10
61
|
{
|
11
62
|
"author": "olfedias@microsoft.com",
|
12
63
|
"package": "@fluentui/react-card",
|
@@ -16,26 +67,32 @@
|
|
16
67
|
{
|
17
68
|
"author": "beachball",
|
18
69
|
"package": "@fluentui/react-card",
|
19
|
-
"comment": "Bump @fluentui/react-
|
20
|
-
"commit": "
|
70
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
|
71
|
+
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"author": "beachball",
|
75
|
+
"package": "@fluentui/react-card",
|
76
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.13",
|
77
|
+
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
21
78
|
},
|
22
79
|
{
|
23
80
|
"author": "beachball",
|
24
81
|
"package": "@fluentui/react-card",
|
25
|
-
"comment": "Bump @fluentui/react-conformance-griffel to
|
26
|
-
"commit": "
|
82
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8",
|
83
|
+
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
27
84
|
},
|
28
85
|
{
|
29
86
|
"author": "beachball",
|
30
87
|
"package": "@fluentui/react-card",
|
31
|
-
"comment": "Bump @fluentui/react-text to
|
32
|
-
"commit": "
|
88
|
+
"comment": "Bump @fluentui/react-text to v9.0.0-rc.11",
|
89
|
+
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
33
90
|
},
|
34
91
|
{
|
35
92
|
"author": "beachball",
|
36
93
|
"package": "@fluentui/react-card",
|
37
|
-
"comment": "Bump @fluentui/react-button to
|
38
|
-
"commit": "
|
94
|
+
"comment": "Bump @fluentui/react-button to v9.0.0-rc.13",
|
95
|
+
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
39
96
|
}
|
40
97
|
]
|
41
98
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,37 @@
|
|
1
1
|
# Change Log - @fluentui/react-card
|
2
2
|
|
3
|
-
This log was last generated on Tue,
|
3
|
+
This log was last generated on Tue, 07 Jun 2022 04:34:23 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20220607-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightly-20220607-0421.1)
|
8
8
|
|
9
|
-
Tue,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.
|
9
|
+
Tue, 07 Jun 2022 04:34:23 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.18..@fluentui/react-card_v0.0.0-nightly-20220607-0421.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
+
- feat: add `orientation` prop ([PR #23037](https://github.com/microsoft/fluentui/pull/23037) by 39736248+andrefcdias@users.noreply.github.com)
|
15
|
+
- chore: add basic API documentation ([PR #23410](https://github.com/microsoft/fluentui/pull/23410) by 39736248+andrefcdias@users.noreply.github.com)
|
16
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220607-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/b264fd655a010e09847726c4b0481262f8f4a949) by beachball)
|
17
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20220607-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/b264fd655a010e09847726c4b0481262f8f4a949) by beachball)
|
18
|
+
- Bump @fluentui/react-text to v0.0.0-nightly-20220607-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/b264fd655a010e09847726c4b0481262f8f4a949) by beachball)
|
19
|
+
- Bump @fluentui/react-button to v0.0.0-nightly-20220607-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/b264fd655a010e09847726c4b0481262f8f4a949) by beachball)
|
20
|
+
|
21
|
+
## [9.0.0-beta.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.18)
|
22
|
+
|
23
|
+
Tue, 31 May 2022 21:28:36 GMT
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.17..@fluentui/react-card_v9.0.0-beta.18)
|
25
|
+
|
26
|
+
### Changes
|
27
|
+
|
28
|
+
- feat: Add `size` property to control card padding and border radius ([PR #22915](https://github.com/microsoft/fluentui/pull/22915) by 39736248+andrefcdias@users.noreply.github.com)
|
14
29
|
- chore: Update Griffel to latest version ([PR #23275](https://github.com/microsoft/fluentui/pull/23275) by olfedias@microsoft.com)
|
15
|
-
- Bump @fluentui/react-
|
16
|
-
- Bump @fluentui/react-
|
17
|
-
- Bump @fluentui/react-
|
18
|
-
- Bump @fluentui/react-
|
30
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
|
31
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.13 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
|
32
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
|
33
|
+
- Bump @fluentui/react-text to v9.0.0-rc.11 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
|
34
|
+
- Bump @fluentui/react-button to v9.0.0-rc.13 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
|
19
35
|
|
20
36
|
## [9.0.0-beta.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.17)
|
21
37
|
|
package/Spec.md
CHANGED
@@ -105,7 +105,7 @@ Card goes for a more structural and generic approach to a card component and is
|
|
105
105
|
| Property | Values | Default | Purpose |
|
106
106
|
| ----------- | ------------------------------------------------------------------------------------ | ---------- | -------------------------------------------------------------------------------- |
|
107
107
|
| orientation | `vertical`, `horizontal` | `vertical` | Orientation of the card |
|
108
|
-
| size | `
|
108
|
+
| size | `small`, `medium`, `large` | `medium` | Define the minimum size of the card. Smaller sizes only apply to horizontal card |
|
109
109
|
| scale | `fixed`, `auto-width`, `auto-height`, `auto`, `fluid-width`, `fluid-height`, `fluid` | `auto` | Manages how the card handles it's scaling depending on the content |
|
110
110
|
| appearance | `filled`, `filled-alternative`, `outline`, `subtle` | `filled` | Define the appearance of the card |
|
111
111
|
| selectable | boolean | false | Makes the card selectable by adding a checkbox to the _Actions_ area |
|
package/assets/logo.svg
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<svg width="192" height="192" viewBox="0 0 192 192" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2
|
+
<rect width="192" height="192" fill="url(#pattern0)"/>
|
3
|
+
<defs>
|
4
|
+
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
5
|
+
<use xlink:href="#image0_8855_1044" transform="scale(0.00520833)"/>
|
6
|
+
</pattern>
|
7
|
+
<image id="image0_8855_1044" width="192" height="192" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAACXBIWXMAACE4AAAhOAFFljFg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gFRjAEg1BoBUYwBINQaAVGMASDUGgFRjAEg1BoBUYwBINQaAVGMASDUGgFRjAEg1BoBUYwBINQaAVGMASDW82Y2vSCKtov8B9vsf8IxA1OsAAAAASUVORK5CYII="/>
|
8
|
+
</defs>
|
9
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
@@ -10,27 +10,49 @@ import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
10
10
|
*/
|
11
11
|
export declare const Card: ForwardRefComponent<CardProps>;
|
12
12
|
|
13
|
+
/**
|
14
|
+
* Static CSS class names used internally for the component slots.
|
15
|
+
*/
|
13
16
|
export declare const cardClassNames: SlotClassNames<CardSlots>;
|
14
17
|
|
18
|
+
/**
|
19
|
+
* CSS variable names used internally for uniform styling in Card.
|
20
|
+
*/
|
21
|
+
export declare const cardCSSVars: {
|
22
|
+
cardSizeVar: string;
|
23
|
+
};
|
24
|
+
|
15
25
|
/**
|
16
26
|
* Component to render Button actions in a Card component.
|
17
27
|
*/
|
18
28
|
export declare const CardFooter: ForwardRefComponent<CardFooterProps>;
|
19
29
|
|
30
|
+
/**
|
31
|
+
* Static CSS class names used internally for the component slots.
|
32
|
+
*/
|
20
33
|
export declare const cardFooterClassNames: SlotClassNames<CardFooterSlots>;
|
21
34
|
|
22
35
|
/**
|
23
|
-
* CardFooter props
|
36
|
+
* CardFooter component props.
|
24
37
|
*/
|
25
38
|
export declare type CardFooterProps = ComponentProps<CardFooterSlots>;
|
26
39
|
|
40
|
+
/**
|
41
|
+
* Slots available in the CardFooter component.
|
42
|
+
*/
|
27
43
|
export declare type CardFooterSlots = {
|
44
|
+
/**
|
45
|
+
* Root element of the component.
|
46
|
+
*/
|
28
47
|
root: Slot<'div'>;
|
48
|
+
/**
|
49
|
+
* Container that renders on the far end of the footer, used for action buttons.
|
50
|
+
*/
|
29
51
|
action?: Slot<'div'>;
|
30
52
|
};
|
31
53
|
|
32
54
|
/**
|
33
|
-
* State used in rendering CardFooter
|
55
|
+
* State used in rendering CardFooter.
|
34
56
|
*/
|
35
57
|
export declare type CardFooterState = ComponentState<CardFooterSlots>;
|
36
58
|
|
@@ -39,24 +61,48 @@ export declare type CardFooterState = ComponentState<CardFooterSlots>;
|
|
39
61
|
*/
|
40
62
|
export declare const CardHeader: ForwardRefComponent<CardHeaderProps>;
|
41
63
|
|
64
|
+
/**
|
65
|
+
* Static CSS class names used internally for the component slots.
|
66
|
+
*/
|
42
67
|
export declare const cardHeaderClassNames: SlotClassNames<CardHeaderSlots>;
|
43
68
|
|
44
69
|
/**
|
45
|
-
* CardHeader props
|
70
|
+
* CardHeader component props.
|
46
71
|
*/
|
47
72
|
export declare type CardHeaderProps = ComponentProps<Partial<CardHeaderSlots>>;
|
48
73
|
|
74
|
+
/**
|
75
|
+
* Slots available in the CardHeader component.
|
76
|
+
*/
|
49
77
|
export declare type CardHeaderSlots = {
|
78
|
+
/**
|
79
|
+
* Root element of the component.
|
80
|
+
*/
|
50
81
|
root: Slot<'div'>;
|
82
|
+
/**
|
83
|
+
* Element used to render an image or avatar related to the card.
|
84
|
+
*/
|
51
85
|
image: Slot<'div'>;
|
86
|
+
/**
|
87
|
+
* Parent container of the header and description slots.
|
88
|
+
*/
|
52
89
|
content?: Slot<'div'>;
|
90
|
+
/**
|
91
|
+
* Element used to render the main header title.
|
92
|
+
*/
|
53
93
|
header: Slot<'span'>;
|
94
|
+
/**
|
95
|
+
* Element used to render short descriptions related to the title.
|
96
|
+
*/
|
54
97
|
description: Slot<'span'>;
|
98
|
+
/**
|
99
|
+
* Container that renders on the far end of the footer, used for action buttons.
|
100
|
+
*/
|
55
101
|
action?: Slot<'div'>;
|
56
102
|
};
|
57
103
|
|
58
104
|
/**
|
59
|
-
* State used in rendering CardHeader
|
105
|
+
* State used in rendering CardHeader.
|
60
106
|
*/
|
61
107
|
export declare type CardHeaderState = ComponentState<CardHeaderSlots>;
|
62
108
|
|
@@ -65,25 +111,37 @@ export declare type CardHeaderState = ComponentState<CardHeaderSlots>;
|
|
65
111
|
*/
|
66
112
|
export declare const CardPreview: ForwardRefComponent<CardPreviewProps>;
|
67
113
|
|
114
|
+
/**
|
115
|
+
* Static CSS class names used internally for the component slots.
|
116
|
+
*/
|
68
117
|
export declare const cardPreviewClassNames: SlotClassNames<CardPreviewSlots>;
|
69
118
|
|
70
119
|
/**
|
71
|
-
* CardPreview props
|
120
|
+
* CardPreview component props.
|
72
121
|
*/
|
73
122
|
export declare type CardPreviewProps = ComponentProps<CardPreviewSlots>;
|
74
123
|
|
124
|
+
/**
|
125
|
+
* Slots available in the Card component.
|
126
|
+
*/
|
75
127
|
export declare type CardPreviewSlots = {
|
128
|
+
/**
|
129
|
+
* Root element of the component.
|
130
|
+
*/
|
76
131
|
root: Slot<'div'>;
|
132
|
+
/**
|
133
|
+
* Container that holds a logo related to the image preview provided.
|
134
|
+
*/
|
77
135
|
logo?: Slot<'div'>;
|
78
136
|
};
|
79
137
|
|
80
138
|
/**
|
81
|
-
* State used in rendering CardPreview
|
139
|
+
* State used in rendering CardPreview.
|
82
140
|
*/
|
83
141
|
export declare type CardPreviewState = ComponentState<CardPreviewSlots>;
|
84
142
|
|
85
143
|
/**
|
86
|
-
* Card
|
144
|
+
* Card component props.
|
87
145
|
*/
|
88
146
|
export declare type CardProps = ComponentProps<CardSlots> & {
|
89
147
|
appearance?: 'filled' | 'filled-alternative' | 'outline' | 'subtle';
|
@@ -105,37 +163,55 @@ export declare type CardProps = ComponentProps<CardSlots> & {
|
|
105
163
|
* This behaviour will cycle through all elements inside of the Card when pressing the Tab key and then release focus
|
106
164
|
* after the last inner element.
|
107
165
|
*
|
108
|
-
* @
|
166
|
+
* @default 'off'
|
109
167
|
*/
|
110
168
|
focusMode?: 'off' | 'no-tab' | 'tab-exit' | 'tab-only';
|
169
|
+
/**
|
170
|
+
* Defines the orientation of the card.
|
171
|
+
*
|
172
|
+
* @default 'vertical'
|
173
|
+
*/
|
174
|
+
orientation?: 'horizontal' | 'vertical';
|
175
|
+
/**
|
176
|
+
* Controls the card's border radius and padding between inner elements.
|
177
|
+
*
|
178
|
+
* @default 'medium'
|
179
|
+
*/
|
180
|
+
size?: 'small' | 'medium' | 'large';
|
111
181
|
};
|
112
182
|
|
183
|
+
/**
|
184
|
+
* Slots available in the Card component.
|
185
|
+
*/
|
113
186
|
export declare type CardSlots = {
|
187
|
+
/**
|
188
|
+
* Root element of the component.
|
189
|
+
*/
|
114
190
|
root: Slot<'div'>;
|
115
191
|
};
|
116
192
|
|
117
193
|
/**
|
118
|
-
* State used in rendering Card
|
194
|
+
* State used in rendering Card.
|
119
195
|
*/
|
120
|
-
export declare type CardState = ComponentState<CardSlots> & Required<Pick<CardProps, 'appearance'>>;
|
196
|
+
export declare type CardState = ComponentState<CardSlots> & Required<Pick<CardProps, 'appearance' | 'orientation' | 'size'>>;
|
121
197
|
|
122
198
|
/**
|
123
|
-
* Render the final JSX of Card
|
199
|
+
* Render the final JSX of Card.
|
124
200
|
*/
|
125
201
|
export declare const renderCard_unstable: (state: CardState) => JSX.Element;
|
126
202
|
|
127
203
|
/**
|
128
|
-
* Render the final JSX of CardFooter
|
204
|
+
* Render the final JSX of CardFooter.
|
129
205
|
*/
|
130
206
|
export declare const renderCardFooter_unstable: (state: CardFooterState) => JSX.Element;
|
131
207
|
|
132
208
|
/**
|
133
|
-
* Render the final JSX of CardHeader
|
209
|
+
* Render the final JSX of CardHeader.
|
134
210
|
*/
|
135
211
|
export declare const renderCardHeader_unstable: (state: CardHeaderState) => JSX.Element;
|
136
212
|
|
137
213
|
/**
|
138
|
-
* Render the final JSX of CardPreview
|
214
|
+
* Render the final JSX of CardPreview.
|
139
215
|
*/
|
140
216
|
export declare const renderCardPreview_unstable: (state: CardPreviewState) => JSX.Element;
|
141
217
|
|
@@ -162,7 +238,7 @@ export declare const useCard_unstable: (props: CardProps, ref: React_2.Ref<HTMLE
|
|
162
238
|
export declare const useCardFooter_unstable: (props: CardFooterProps, ref: React_2.Ref<HTMLElement>) => CardFooterState;
|
163
239
|
|
164
240
|
/**
|
165
|
-
* Apply styling to the CardFooter slots based on the state
|
241
|
+
* Apply styling to the CardFooter slots based on the state.
|
166
242
|
*/
|
167
243
|
export declare const useCardFooterStyles_unstable: (state: CardFooterState) => CardFooterState;
|
168
244
|
|
@@ -178,7 +254,7 @@ export declare const useCardFooterStyles_unstable: (state: CardFooterState) => C
|
|
178
254
|
export declare const useCardHeader_unstable: (props: CardHeaderProps, ref: React_2.Ref<HTMLElement>) => CardHeaderState;
|
179
255
|
|
180
256
|
/**
|
181
|
-
* Apply styling to the CardHeader slots based on the state
|
257
|
+
* Apply styling to the CardHeader slots based on the state.
|
182
258
|
*/
|
183
259
|
export declare const useCardHeaderStyles_unstable: (state: CardHeaderState) => CardHeaderState;
|
184
260
|
|
@@ -194,12 +270,12 @@ export declare const useCardHeaderStyles_unstable: (state: CardHeaderState) => C
|
|
194
270
|
export declare const useCardPreview_unstable: (props: CardPreviewProps, ref: React_2.Ref<HTMLElement>) => CardPreviewState;
|
195
271
|
|
196
272
|
/**
|
197
|
-
* Apply styling to the CardPreview slots based on the state
|
273
|
+
* Apply styling to the CardPreview slots based on the state.
|
198
274
|
*/
|
199
275
|
export declare const useCardPreviewStyles_unstable: (state: CardPreviewState) => CardPreviewState;
|
200
276
|
|
201
277
|
/**
|
202
|
-
* Apply styling to the Card slots based on the state
|
278
|
+
* Apply styling to the Card slots based on the state.
|
203
279
|
*/
|
204
280
|
export declare const useCardStyles_unstable: (state: CardState) => CardState;
|
205
281
|
|
@@ -1 +1 @@
|
|
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;
|
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;EAClF,MAAM,KAAK,GAAG,gBAAgB,CAAC,KAAD,EAAQ,GAAR,CAA9B;EAEA,sBAAsB,CAAC,KAAD,CAAtB;EACA,OAAO,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/"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Card.types.js","sourceRoot":"../src/","sources":["components/Card/Card.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type CardSlots = {\n root: Slot<'div'>;\n};\n\n/**\n * Card
|
1
|
+
{"version":3,"file":"Card.types.js","sourceRoot":"../src/","sources":["components/Card/Card.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Slots available in the Card component.\n */\nexport type CardSlots = {\n /**\n * Root element of the component.\n */\n root: Slot<'div'>;\n};\n\n/**\n * Card component props.\n */\nexport type CardProps = ComponentProps<CardSlots> & {\n appearance?: 'filled' | 'filled-alternative' | 'outline' | 'subtle';\n\n /**\n * Sets the focus behavior for the card. If `true`, the card will use the `noTab` focus behavior.\n *\n * `off`\n * The card will not focusable.\n *\n * `no-tab`\n * This behaviour traps the focus inside of the Card when pressing the Enter key and will only release focus when\n * pressing the Escape key.\n *\n * `tab-exit`\n * This behaviour traps the focus inside of the Card when pressing the Enter key but will release focus when pressing\n * the Tab key on the last inner element.\n *\n * `tab-only`\n * This behaviour will cycle through all elements inside of the Card when pressing the Tab key and then release focus\n * after the last inner element.\n *\n * @default 'off'\n */\n focusMode?: 'off' | 'no-tab' | 'tab-exit' | 'tab-only';\n\n /**\n * Defines the orientation of the card.\n *\n * @default 'vertical'\n */\n orientation?: 'horizontal' | 'vertical';\n\n /**\n * Controls the card's border radius and padding between inner elements.\n *\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n};\n\n/**\n * State used in rendering Card.\n */\nexport type CardState = ComponentState<CardSlots> & Required<Pick<CardProps, 'appearance' | 'orientation' | 'size'>>;\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Card/renderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,mBAAmB,GAAI,KAAD,IAAqB;
|
1
|
+
{"version":3,"sources":["components/Card/renderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,mBAAmB,GAAI,KAAD,IAAqB;EACtD,MAAM;IAAE,KAAF;IAAS;EAAT,IAAuB,QAAQ,CAAY,KAAZ,CAArC;EAEA,oBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;EAAf,CAAX,CAAP;AACD,CAJM","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { CardSlots, CardState } from './Card.types';\n\n/**\n * Render the final JSX of Card.\n */\nexport const renderCard_unstable = (state: CardState) => {\n const { slots, slotProps } = getSlots<CardSlots>(state);\n\n return <slots.root {...slotProps.root} />;\n};\n"],"sourceRoot":"../src/"}
|
@@ -13,7 +13,9 @@ import { useFocusableGroup } from '@fluentui/react-tabster';
|
|
13
13
|
export const useCard_unstable = (props, ref) => {
|
14
14
|
const {
|
15
15
|
appearance = 'filled',
|
16
|
-
focusMode = 'off'
|
16
|
+
focusMode = 'off',
|
17
|
+
orientation = 'vertical',
|
18
|
+
size = 'medium'
|
17
19
|
} = props;
|
18
20
|
const focusMap = {
|
19
21
|
off: undefined,
|
@@ -30,6 +32,8 @@ export const useCard_unstable = (props, ref) => {
|
|
30
32
|
} : null;
|
31
33
|
return {
|
32
34
|
appearance,
|
35
|
+
orientation,
|
36
|
+
size,
|
33
37
|
components: {
|
34
38
|
root: 'div'
|
35
39
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Card/useCard.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,QAAsC,2BAAtC;AAEA,SAAS,iBAAT,QAAkC,yBAAlC;AAEA;;;;;;;;AAQG;;AACH,OAAO,MAAM,gBAAgB,GAAG,CAAC,KAAD,EAAmB,GAAnB,KAA6D;
|
1
|
+
{"version":3,"sources":["components/Card/useCard.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,QAAsC,2BAAtC;AAEA,SAAS,iBAAT,QAAkC,yBAAlC;AAEA;;;;;;;;AAQG;;AACH,OAAO,MAAM,gBAAgB,GAAG,CAAC,KAAD,EAAmB,GAAnB,KAA6D;EAC3F,MAAM;IAAE,UAAU,GAAG,QAAf;IAAyB,SAAS,GAAG,KAArC;IAA4C,WAAW,GAAG,UAA1D;IAAsE,IAAI,GAAG;EAA7E,IAA0F,KAAhG;EAEA,MAAM,QAAQ,GAAG;IACf,GAAG,EAAE,SADU;IAEf,UAAU,oBAFK;IAGf,YAAY,SAHG;IAIf,YAAY;EAJG,CAAjB;EAOA,MAAM,aAAa,GAAG,iBAAiB,CAAC;IACtC,WAAW,EAAE,QAAQ,CAAC,SAAD;EADiB,CAAD,CAAvC;EAIA,MAAM,UAAU,GAAG,SAAS,KAAK,KAAd,GAAsB;IAAE,QAAQ,EAAE,CAAZ;IAAe,GAAG;EAAlB,CAAtB,GAA0D,IAA7E;EAEA,OAAO;IACL,UADK;IAEL,WAFK;IAGL,IAHK;IAKL,UAAU,EAAE;MAAE,IAAI,EAAE;IAAR,CALP;IAML,IAAI,EAAE,qBAAqB,CAAC,KAAK,CAAC,EAAN,IAAY,KAAb,EAAoB;MAC7C,GAD6C;MAE7C,IAAI,EAAE,OAFuC;MAG7C,GAAG,UAH0C;MAI7C,GAAG;IAJ0C,CAApB;EANtB,CAAP;AAaD,CA7BM","sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } from '@fluentui/react-utilities';\nimport type { CardProps, CardState } from './Card.types';\nimport { useFocusableGroup } from '@fluentui/react-tabster';\n\n/**\n * Create the state required to render Card.\n *\n * The returned state can be modified with hooks such as useCardStyles_unstable,\n * before being passed to renderCard_unstable.\n *\n * @param props - props from this instance of Card\n * @param ref - reference to root HTMLElement of Card\n */\nexport const useCard_unstable = (props: CardProps, ref: React.Ref<HTMLElement>): CardState => {\n const { appearance = 'filled', focusMode = 'off', orientation = 'vertical', size = 'medium' } = props;\n\n const focusMap = {\n off: undefined,\n 'no-tab': 'limited-trap-focus',\n 'tab-exit': 'limited',\n 'tab-only': 'unlimited',\n } as const;\n\n const groupperAttrs = useFocusableGroup({\n tabBehavior: focusMap[focusMode],\n });\n\n const focusAttrs = focusMode !== 'off' ? { tabIndex: 0, ...groupperAttrs } : null;\n\n return {\n appearance,\n orientation,\n size,\n\n components: { root: 'div' },\n root: getNativeElementProps(props.as || 'div', {\n ref,\n role: 'group',\n ...focusAttrs,\n ...props,\n }),\n };\n};\n"],"sourceRoot":"../src/"}
|