@fluentui/react-card 0.0.0-nightlyecca467a8920220110.1 → 0.0.0-nightlyf6116328d620220124.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 +50 -26
- package/CHANGELOG.md +15 -14
- package/README.md +3 -1
- package/dist/react-card.d.ts +0 -12
- package/lib/components/CardFooter/renderCardFooter.js +1 -2
- package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
- package/lib/components/CardFooter/useCardFooter.d.ts +1 -5
- package/lib/components/CardFooter/useCardFooter.js +0 -5
- package/lib/components/CardFooter/useCardFooter.js.map +1 -1
- package/lib/components/CardHeader/renderCardHeader.js +1 -2
- package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
- package/lib/components/CardHeader/useCardHeader.d.ts +1 -2
- package/lib/components/CardHeader/useCardHeader.js +0 -1
- package/lib/components/CardHeader/useCardHeader.js.map +1 -1
- package/lib/components/CardPreview/renderCardPreview.js +1 -2
- package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
- package/lib/components/CardPreview/useCardPreview.d.ts +1 -5
- package/lib/components/CardPreview/useCardPreview.js +0 -5
- package/lib/components/CardPreview/useCardPreview.js.map +1 -1
- package/lib-commonjs/components/CardFooter/renderCardFooter.js +1 -3
- package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
- package/lib-commonjs/components/CardFooter/useCardFooter.d.ts +1 -5
- package/lib-commonjs/components/CardFooter/useCardFooter.js +2 -7
- package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
- package/lib-commonjs/components/CardHeader/renderCardHeader.js +1 -3
- package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
- package/lib-commonjs/components/CardHeader/useCardHeader.d.ts +1 -2
- package/lib-commonjs/components/CardHeader/useCardHeader.js +2 -3
- package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
- package/lib-commonjs/components/CardPreview/renderCardPreview.js +1 -3
- package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
- package/lib-commonjs/components/CardPreview/useCardPreview.d.ts +1 -5
- package/lib-commonjs/components/CardPreview/useCardPreview.js +2 -7
- package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.json
CHANGED
@@ -2,17 +2,29 @@
|
|
2
2
|
"name": "@fluentui/react-card",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Mon,
|
6
|
-
"tag": "@fluentui/react-card_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Mon, 24 Jan 2022 04:14:06 GMT",
|
6
|
+
"tag": "@fluentui/react-card_v0.0.0-nightlyf6116328d620220124.1",
|
7
|
+
"version": "0.0.0-nightlyf6116328d620220124.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-card",
|
13
|
-
"commit": "
|
13
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-card",
|
19
|
+
"commit": "158d89b5d98e3544e06f4f09967d2af8ab43e249",
|
20
|
+
"comment": "update styles no not use CSS shorthands"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "behowell@microsoft.com",
|
24
|
+
"package": "@fluentui/react-card",
|
25
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
26
|
+
"comment": "Remove component's shorthandProps array"
|
27
|
+
},
|
16
28
|
{
|
17
29
|
"author": "ololubek@microsoft.com",
|
18
30
|
"package": "@fluentui/react-card",
|
@@ -31,62 +43,74 @@
|
|
31
43
|
"commit": "d892c7f79c543b6008634ecd669b75b5108cad46",
|
32
44
|
"comment": "Remove empty CardCommons type and outdated boilerplate comments"
|
33
45
|
},
|
34
|
-
{
|
35
|
-
"author": "olfedias@microsoft.com",
|
36
|
-
"package": "@fluentui/react-card",
|
37
|
-
"commit": "158d89b5d98e3544e06f4f09967d2af8ab43e249",
|
38
|
-
"comment": "update styles no not use CSS shorthands"
|
39
|
-
},
|
40
46
|
{
|
41
47
|
"author": "beachball",
|
42
48
|
"package": "@fluentui/react-card",
|
43
|
-
"comment": "Bump @fluentui/react-make-styles to v0.0.0-
|
44
|
-
"commit": "
|
49
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
50
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
45
51
|
},
|
46
52
|
{
|
47
53
|
"author": "beachball",
|
48
54
|
"package": "@fluentui/react-card",
|
49
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-
|
50
|
-
"commit": "
|
55
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyf6116328d620220124.1",
|
56
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
51
57
|
},
|
52
58
|
{
|
53
59
|
"author": "beachball",
|
54
60
|
"package": "@fluentui/react-card",
|
55
|
-
"comment": "Bump @fluentui/react-tabster to v0.0.0-
|
56
|
-
"commit": "
|
61
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyf6116328d620220124.1",
|
62
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
57
63
|
},
|
58
64
|
{
|
59
65
|
"author": "beachball",
|
60
66
|
"package": "@fluentui/react-card",
|
61
|
-
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-
|
62
|
-
"commit": "
|
67
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
68
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
63
69
|
},
|
64
70
|
{
|
65
71
|
"author": "beachball",
|
66
72
|
"package": "@fluentui/react-card",
|
67
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-
|
68
|
-
"commit": "
|
73
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
74
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
69
75
|
},
|
70
76
|
{
|
71
77
|
"author": "beachball",
|
72
78
|
"package": "@fluentui/react-card",
|
73
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-
|
74
|
-
"commit": "
|
79
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
80
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
75
81
|
},
|
76
82
|
{
|
77
83
|
"author": "beachball",
|
78
84
|
"package": "@fluentui/react-card",
|
79
|
-
"comment": "Bump @fluentui/react-text to v0.0.0-
|
80
|
-
"commit": "
|
85
|
+
"comment": "Bump @fluentui/react-text to v0.0.0-nightlyf6116328d620220124.1",
|
86
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
81
87
|
},
|
82
88
|
{
|
83
89
|
"author": "beachball",
|
84
90
|
"package": "@fluentui/react-card",
|
85
|
-
"comment": "Bump @fluentui/react-button to v0.0.0-
|
86
|
-
"commit": "
|
91
|
+
"comment": "Bump @fluentui/react-button to v0.0.0-nightlyf6116328d620220124.1",
|
92
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
87
93
|
}
|
88
94
|
],
|
89
95
|
"none": [
|
96
|
+
{
|
97
|
+
"author": "olfedias@microsoft.com",
|
98
|
+
"package": "@fluentui/react-card",
|
99
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
100
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"author": "39736248+andrefcdias@users.noreply.github.com",
|
104
|
+
"package": "@fluentui/react-card",
|
105
|
+
"commit": "8e04b14546f264bb197ffce70bdff8ec83762c49",
|
106
|
+
"comment": "Add Alpha notice"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"author": "martinhochel@microsoft.com",
|
110
|
+
"package": "@fluentui/react-card",
|
111
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
112
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
113
|
+
},
|
90
114
|
{
|
91
115
|
"author": "andredias@microsoft.com",
|
92
116
|
"package": "@fluentui/react-card",
|
package/CHANGELOG.md
CHANGED
@@ -1,29 +1,30 @@
|
|
1
1
|
# Change Log - @fluentui/react-card
|
2
2
|
|
3
|
-
This log was last generated on Mon,
|
3
|
+
This log was last generated on Mon, 24 Jan 2022 04:14:06 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyf6116328d620220124.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightlyf6116328d620220124.1)
|
8
8
|
|
9
|
-
Mon,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v0.0.0-
|
9
|
+
Mon, 24 Jan 2022 04:14:06 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v0.0.0-nightlyf6116328d620220124.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by email not defined)
|
15
|
+
- update styles no not use CSS shorthands ([PR #20794](https://github.com/microsoft/fluentui/pull/20794) by olfedias@microsoft.com)
|
16
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
15
17
|
- Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
|
16
18
|
- 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)
|
17
19
|
- Remove empty CardCommons type and outdated boilerplate comments ([PR #21150](https://github.com/microsoft/fluentui/pull/21150) by elcraig@microsoft.com)
|
18
|
-
-
|
19
|
-
- Bump @fluentui/react-
|
20
|
-
- Bump @fluentui/react-
|
21
|
-
- Bump @fluentui/
|
22
|
-
- Bump @fluentui/
|
23
|
-
- Bump @fluentui/
|
24
|
-
- Bump @fluentui/react-
|
25
|
-
- Bump @fluentui/react-
|
26
|
-
- Bump @fluentui/react-button to v0.0.0-nightlyecca467a8920220110.1 ([commit](https://github.com/microsoft/fluentui/commit/0e3456c586480a46e3664c6acc9d28cbef8bd814) by beachball)
|
20
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
22
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
23
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
24
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
25
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
26
|
+
- Bump @fluentui/react-text to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
27
|
+
- Bump @fluentui/react-button to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
27
28
|
|
28
29
|
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.5)
|
29
30
|
|
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:
|
package/dist/react-card.d.ts
CHANGED
@@ -23,11 +23,6 @@ export declare const cardFooterClassName = "fui-CardFooter";
|
|
23
23
|
*/
|
24
24
|
export declare type CardFooterProps = ComponentProps<CardFooterSlots>;
|
25
25
|
|
26
|
-
/**
|
27
|
-
* Array of all shorthand properties listed in CardFooterShorthandProps
|
28
|
-
*/
|
29
|
-
export declare const cardFooterShorthandProps: Array<keyof CardFooterSlots>;
|
30
|
-
|
31
26
|
export declare type CardFooterSlots = {
|
32
27
|
root: IntrinsicShorthandProps<'div'>;
|
33
28
|
action?: IntrinsicShorthandProps<'div'>;
|
@@ -50,8 +45,6 @@ export declare const cardHeaderClassName = "fui-CardHeader";
|
|
50
45
|
*/
|
51
46
|
export declare type CardHeaderProps = ComponentProps<CardHeaderSlots>;
|
52
47
|
|
53
|
-
export declare const cardHeaderShorthandProps: Array<keyof CardHeaderSlots>;
|
54
|
-
|
55
48
|
export declare type CardHeaderSlots = {
|
56
49
|
root: IntrinsicShorthandProps<'div'>;
|
57
50
|
image: IntrinsicShorthandProps<'div'>;
|
@@ -78,11 +71,6 @@ export declare const cardPreviewClassName = "fui-CardPreview";
|
|
78
71
|
*/
|
79
72
|
export declare type CardPreviewProps = ComponentProps<CardPreviewSlots>;
|
80
73
|
|
81
|
-
/**
|
82
|
-
* Array of all shorthand properties listed in CardPreviewShorthandProps
|
83
|
-
*/
|
84
|
-
export declare const cardPreviewShorthandProps: Array<keyof CardPreviewSlots>;
|
85
|
-
|
86
74
|
export declare type CardPreviewSlots = {
|
87
75
|
root: IntrinsicShorthandProps<'div'>;
|
88
76
|
logo?: IntrinsicShorthandProps<'div'>;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { getSlots } from '@fluentui/react-utilities';
|
3
|
-
import { cardFooterShorthandProps } from './useCardFooter';
|
4
3
|
/**
|
5
4
|
* Render the final JSX of CardFooter
|
6
5
|
*/
|
@@ -9,7 +8,7 @@ export const renderCardFooter = state => {
|
|
9
8
|
const {
|
10
9
|
slots,
|
11
10
|
slotProps
|
12
|
-
} = getSlots(state
|
11
|
+
} = getSlots(state);
|
13
12
|
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
14
13
|
}, slotProps.root.children, /*#__PURE__*/React.createElement(slots.action, { ...slotProps.action
|
15
14
|
}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardFooter/renderCardFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;
|
1
|
+
{"version":3,"sources":["../../../src/components/CardFooter/renderCardFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,gBAAgB,GAAI,KAAD,IAA2B;AACzD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAkB,KAAlB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,SAAS,CAAC,IAAV,CAAe,QADlB,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,MAAP,EAAa,EAAA,GAAK,SAAS,CAAC;AAAf,GAAb,CAFF,CADF;AAMD,CATM","sourceRoot":""}
|
@@ -1,9 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { CardFooterProps,
|
3
|
-
/**
|
4
|
-
* Array of all shorthand properties listed in CardFooterShorthandProps
|
5
|
-
*/
|
6
|
-
export declare const cardFooterShorthandProps: Array<keyof CardFooterSlots>;
|
2
|
+
import type { CardFooterProps, CardFooterState } from './CardFooter.types';
|
7
3
|
/**
|
8
4
|
* Create the state required to render CardFooter.
|
9
5
|
*
|
@@ -1,9 +1,4 @@
|
|
1
1
|
import { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities';
|
2
|
-
/**
|
3
|
-
* Array of all shorthand properties listed in CardFooterShorthandProps
|
4
|
-
*/
|
5
|
-
|
6
|
-
export const cardFooterShorthandProps = ['root', 'action'];
|
7
2
|
/**
|
8
3
|
* Create the state required to render CardFooter.
|
9
4
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardFooter/useCardFooter.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,EAAgC,gBAAhC,QAAwD,2BAAxD;AAGA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardFooter/useCardFooter.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,EAAgC,gBAAhC,QAAwD,2BAAxD;AAGA;;;;;;;;AAQG;;AACH,OAAO,MAAM,aAAa,GAAG,CAAC,KAAD,EAAyB,GAAzB,KAAyE;AACpG,QAAM;AAAE,IAAA;AAAF,MAAa,KAAnB;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,MAAM,EAAE;AAFE,KADP;AAML,IAAA,IAAI,EAAE,qBAAqB,CAAC,KAAD,EAAQ;AACjC,MAAA,GADiC;AAEjC,SAAG;AAF8B,KAAR,CANtB;AAUL,IAAA,MAAM,EAAE,gBAAgB,CAAC,MAAD;AAVnB,GAAP;AAYD,CAfM","sourceRoot":""}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { getSlots } from '@fluentui/react-utilities';
|
3
|
-
import { cardHeaderShorthandProps } from './useCardHeader';
|
4
3
|
/**
|
5
4
|
* Render the final JSX of CardHeader
|
6
5
|
*/
|
@@ -9,7 +8,7 @@ export const renderCardHeader = state => {
|
|
9
8
|
const {
|
10
9
|
slots,
|
11
10
|
slotProps
|
12
|
-
} = getSlots(state
|
11
|
+
} = getSlots(state);
|
13
12
|
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
14
13
|
}, /*#__PURE__*/React.createElement(slots.image, { ...slotProps.image
|
15
14
|
}), /*#__PURE__*/React.createElement(slots.content, { ...slotProps.content
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardHeader/renderCardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;
|
1
|
+
{"version":3,"sources":["../../../src/components/CardHeader/renderCardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,gBAAgB,GAAI,KAAD,IAA2B;AACzD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAkB,KAAlB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,KAAP,EAAY,EAAA,GAAK,SAAS,CAAC;AAAf,GAAZ,CADF,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,MAAP,EAAa,EAAA,GAAK,SAAS,CAAC;AAAf,GAAb,CADF,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,WAAP,EAAkB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAlB,CAFF,CAFF,eAME,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,MAAP,EAAa,EAAA,GAAK,SAAS,CAAC;AAAf,GAAb,CANF,CADF;AAUD,CAbM","sourceRoot":""}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { CardHeaderProps,
|
3
|
-
export declare const cardHeaderShorthandProps: Array<keyof CardHeaderSlots>;
|
2
|
+
import type { CardHeaderProps, CardHeaderState } from './CardHeader.types';
|
4
3
|
/**
|
5
4
|
* Create the state required to render CardHeader.
|
6
5
|
*
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities';
|
3
|
-
export const cardHeaderShorthandProps = ['root', 'image', 'content', 'header', 'description', 'action'];
|
4
3
|
/**
|
5
4
|
* Create the state required to render CardHeader.
|
6
5
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardHeader/useCardHeader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,qBAAT,EAAgC,gBAAhC,QAAwD,2BAAxD;AAGA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardHeader/useCardHeader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,qBAAT,EAAgC,gBAAhC,QAAwD,2BAAxD;AAGA;;;;;;;;AAQG;;AACH,OAAO,MAAM,aAAa,GAAG,CAAC,KAAD,EAAyB,GAAzB,KAAyE;AACpG,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA,OAAT;AAAkB,IAAA,MAAlB;AAA0B,IAAA,WAA1B;AAAuC,IAAA;AAAvC,MAAkD,KAAxD;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,KAAK,EAAE,KAFG;AAGV,MAAA,OAAO,EAAE,KAHC;AAIV,MAAA,MAAM,EAAE,KAAK,CAAC,QAJJ;AAKV,MAAA,WAAW,EAAE,KAAK,CAAC,QALT;AAMV,MAAA,MAAM,EAAE;AANE,KADP;AAUL,IAAA,IAAI,EAAE,qBAAqB,CAAC,KAAD,EAAQ;AACjC,MAAA,GADiC;AAEjC,SAAG;AAF8B,KAAR,CAVtB;AAcL,IAAA,KAAK,EAAE,gBAAgB,CAAC,KAAD,EAAQ;AAC7B,MAAA,QAAQ,EAAE;AADmB,KAAR,CAdlB;AAiBL,IAAA,OAAO,EAAE,gBAAgB,CAAC,OAAO,IAAI,EAAZ,CAjBpB;AAkBL,IAAA,MAAM,EAAE,gBAAgB,CAAC,MAAD,EAAS;AAC/B,MAAA,QAAQ,EAAE;AADqB,KAAT,CAlBnB;AAqBL,IAAA,WAAW,EAAE,gBAAgB,CAAC,WAAD,EAAc;AACzC,MAAA,QAAQ,EAAE;AAD+B,KAAd,CArBxB;AAwBL,IAAA,MAAM,EAAE,gBAAgB,CAAC,MAAD;AAxBnB,GAAP;AA0BD,CA7BM","sourceRoot":""}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { getSlots } from '@fluentui/react-utilities';
|
3
|
-
import { cardPreviewShorthandProps } from './useCardPreview';
|
4
3
|
/**
|
5
4
|
* Render the final JSX of CardPreview
|
6
5
|
*/
|
@@ -9,7 +8,7 @@ export const renderCardPreview = state => {
|
|
9
8
|
const {
|
10
9
|
slots,
|
11
10
|
slotProps
|
12
|
-
} = getSlots(state
|
11
|
+
} = getSlots(state);
|
13
12
|
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
14
13
|
}, slotProps.root.children, /*#__PURE__*/React.createElement(slots.logo, { ...slotProps.logo
|
15
14
|
}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardPreview/renderCardPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;
|
1
|
+
{"version":3,"sources":["../../../src/components/CardPreview/renderCardPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAA4B;AAC3D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAmB,KAAnB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,SAAS,CAAC,IAAV,CAAe,QADlB,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAFF,CADF;AAMD,CATM","sourceRoot":""}
|
@@ -1,9 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { CardPreviewProps,
|
3
|
-
/**
|
4
|
-
* Array of all shorthand properties listed in CardPreviewShorthandProps
|
5
|
-
*/
|
6
|
-
export declare const cardPreviewShorthandProps: Array<keyof CardPreviewSlots>;
|
2
|
+
import type { CardPreviewProps, CardPreviewState } from './CardPreview.types';
|
7
3
|
/**
|
8
4
|
* Create the state required to render CardPreview.
|
9
5
|
*
|
@@ -1,9 +1,4 @@
|
|
1
1
|
import { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities';
|
2
|
-
/**
|
3
|
-
* Array of all shorthand properties listed in CardPreviewShorthandProps
|
4
|
-
*/
|
5
|
-
|
6
|
-
export const cardPreviewShorthandProps = ['root', 'logo'];
|
7
2
|
/**
|
8
3
|
* Create the state required to render CardPreview.
|
9
4
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardPreview/useCardPreview.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,EAAgC,gBAAhC,QAAwD,2BAAxD;AAGA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardPreview/useCardPreview.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,EAAgC,gBAAhC,QAAwD,2BAAxD;AAGA;;;;;;;;AAQG;;AACH,OAAO,MAAM,cAAc,GAAG,CAAC,KAAD,EAA0B,GAA1B,KAA2E;AACvG,QAAM;AAAE,IAAA;AAAF,MAAW,KAAjB;AACA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,IAAI,EAAE;AAFI,KADP;AAML,IAAA,IAAI,EAAE,qBAAqB,CAAC,KAAD,EAAQ;AACjC,MAAA,GADiC;AAEjC,SAAG;AAF8B,KAAR,CANtB;AAUL,IAAA,IAAI,EAAE,gBAAgB,CAAC,IAAD;AAVjB,GAAP;AAYD,CAdM","sourceRoot":""}
|
@@ -8,8 +8,6 @@ exports.renderCardFooter = void 0;
|
|
8
8
|
const React = /*#__PURE__*/require("react");
|
9
9
|
|
10
10
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
11
|
-
|
12
|
-
const useCardFooter_1 = /*#__PURE__*/require("./useCardFooter");
|
13
11
|
/**
|
14
12
|
* Render the final JSX of CardFooter
|
15
13
|
*/
|
@@ -19,7 +17,7 @@ const renderCardFooter = state => {
|
|
19
17
|
const {
|
20
18
|
slots,
|
21
19
|
slotProps
|
22
|
-
} = react_utilities_1.getSlots(state
|
20
|
+
} = react_utilities_1.getSlots(state);
|
23
21
|
return React.createElement(slots.root, { ...slotProps.root
|
24
22
|
}, slotProps.root.children, React.createElement(slots.action, { ...slotProps.action
|
25
23
|
}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardFooter/renderCardFooter.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardFooter/renderCardFooter.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,gBAAgB,GAAI,KAAD,IAA2B;AACzD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA0B,KAA1B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,SAAS,CAAC,IAAV,CAAe,QADlB,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,MAAP,EAAa,EAAA,GAAK,SAAS,CAAC;AAAf,GAAb,CAFF,CADF;AAMD,CATM;;AAAM,OAAA,CAAA,gBAAA,GAAgB,gBAAhB","sourceRoot":""}
|
@@ -1,9 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { CardFooterProps,
|
3
|
-
/**
|
4
|
-
* Array of all shorthand properties listed in CardFooterShorthandProps
|
5
|
-
*/
|
6
|
-
export declare const cardFooterShorthandProps: Array<keyof CardFooterSlots>;
|
2
|
+
import type { CardFooterProps, CardFooterState } from './CardFooter.types';
|
7
3
|
/**
|
8
4
|
* Create the state required to render CardFooter.
|
9
5
|
*
|
@@ -3,15 +3,9 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.useCardFooter =
|
6
|
+
exports.useCardFooter = void 0;
|
7
7
|
|
8
8
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
9
|
-
/**
|
10
|
-
* Array of all shorthand properties listed in CardFooterShorthandProps
|
11
|
-
*/
|
12
|
-
|
13
|
-
|
14
|
-
exports.cardFooterShorthandProps = ['root', 'action'];
|
15
9
|
/**
|
16
10
|
* Create the state required to render CardFooter.
|
17
11
|
*
|
@@ -22,6 +16,7 @@ exports.cardFooterShorthandProps = ['root', 'action'];
|
|
22
16
|
* @param ref - reference to root HTMLElement of CardFooter
|
23
17
|
*/
|
24
18
|
|
19
|
+
|
25
20
|
const useCardFooter = (props, ref) => {
|
26
21
|
const {
|
27
22
|
action
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardFooter/useCardFooter.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardFooter/useCardFooter.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;;;;;;AAQG;;;AACI,MAAM,aAAa,GAAG,CAAC,KAAD,EAAyB,GAAzB,KAAyE;AACpG,QAAM;AAAE,IAAA;AAAF,MAAa,KAAnB;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,MAAM,EAAE;AAFE,KADP;AAML,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,SAAG;AAF8B,KAA7B,CAND;AAUL,IAAA,MAAM,EAAE,iBAAA,CAAA,gBAAA,CAAiB,MAAjB;AAVH,GAAP;AAYD,CAfM;;AAAM,OAAA,CAAA,aAAA,GAAa,aAAb","sourceRoot":""}
|
@@ -8,8 +8,6 @@ exports.renderCardHeader = void 0;
|
|
8
8
|
const React = /*#__PURE__*/require("react");
|
9
9
|
|
10
10
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
11
|
-
|
12
|
-
const useCardHeader_1 = /*#__PURE__*/require("./useCardHeader");
|
13
11
|
/**
|
14
12
|
* Render the final JSX of CardHeader
|
15
13
|
*/
|
@@ -19,7 +17,7 @@ const renderCardHeader = state => {
|
|
19
17
|
const {
|
20
18
|
slots,
|
21
19
|
slotProps
|
22
|
-
} = react_utilities_1.getSlots(state
|
20
|
+
} = react_utilities_1.getSlots(state);
|
23
21
|
return React.createElement(slots.root, { ...slotProps.root
|
24
22
|
}, React.createElement(slots.image, { ...slotProps.image
|
25
23
|
}), React.createElement(slots.content, { ...slotProps.content
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardHeader/renderCardHeader.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardHeader/renderCardHeader.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,gBAAgB,GAAI,KAAD,IAA2B;AACzD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA0B,KAA1B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,KAAP,EAAY,EAAA,GAAK,SAAS,CAAC;AAAf,GAAZ,CADF,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,MAAP,EAAa,EAAA,GAAK,SAAS,CAAC;AAAf,GAAb,CADF,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,WAAP,EAAkB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAlB,CAFF,CAFF,EAME,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,MAAP,EAAa,EAAA,GAAK,SAAS,CAAC;AAAf,GAAb,CANF,CADF;AAUD,CAbM;;AAAM,OAAA,CAAA,gBAAA,GAAgB,gBAAhB","sourceRoot":""}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { CardHeaderProps,
|
3
|
-
export declare const cardHeaderShorthandProps: Array<keyof CardHeaderSlots>;
|
2
|
+
import type { CardHeaderProps, CardHeaderState } from './CardHeader.types';
|
4
3
|
/**
|
5
4
|
* Create the state required to render CardHeader.
|
6
5
|
*
|
@@ -3,13 +3,11 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.useCardHeader =
|
6
|
+
exports.useCardHeader = void 0;
|
7
7
|
|
8
8
|
const React = /*#__PURE__*/require("react");
|
9
9
|
|
10
10
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
11
|
-
|
12
|
-
exports.cardHeaderShorthandProps = ['root', 'image', 'content', 'header', 'description', 'action'];
|
13
11
|
/**
|
14
12
|
* Create the state required to render CardHeader.
|
15
13
|
*
|
@@ -20,6 +18,7 @@ exports.cardHeaderShorthandProps = ['root', 'image', 'content', 'header', 'descr
|
|
20
18
|
* @param ref - reference to root HTMLElement of CardHeader
|
21
19
|
*/
|
22
20
|
|
21
|
+
|
23
22
|
const useCardHeader = (props, ref) => {
|
24
23
|
const {
|
25
24
|
image,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardHeader/useCardHeader.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardHeader/useCardHeader.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;;;;;;AAQG;;;AACI,MAAM,aAAa,GAAG,CAAC,KAAD,EAAyB,GAAzB,KAAyE;AACpG,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA,OAAT;AAAkB,IAAA,MAAlB;AAA0B,IAAA,WAA1B;AAAuC,IAAA;AAAvC,MAAkD,KAAxD;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,KAAK,EAAE,KAFG;AAGV,MAAA,OAAO,EAAE,KAHC;AAIV,MAAA,MAAM,EAAE,KAAK,CAAC,QAJJ;AAKV,MAAA,WAAW,EAAE,KAAK,CAAC,QALT;AAMV,MAAA,MAAM,EAAE;AANE,KADP;AAUL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,SAAG;AAF8B,KAA7B,CAVD;AAcL,IAAA,KAAK,EAAE,iBAAA,CAAA,gBAAA,CAAiB,KAAjB,EAAwB;AAC7B,MAAA,QAAQ,EAAE;AADmB,KAAxB,CAdF;AAiBL,IAAA,OAAO,EAAE,iBAAA,CAAA,gBAAA,CAAiB,OAAO,IAAI,EAA5B,CAjBJ;AAkBL,IAAA,MAAM,EAAE,iBAAA,CAAA,gBAAA,CAAiB,MAAjB,EAAyB;AAC/B,MAAA,QAAQ,EAAE;AADqB,KAAzB,CAlBH;AAqBL,IAAA,WAAW,EAAE,iBAAA,CAAA,gBAAA,CAAiB,WAAjB,EAA8B;AACzC,MAAA,QAAQ,EAAE;AAD+B,KAA9B,CArBR;AAwBL,IAAA,MAAM,EAAE,iBAAA,CAAA,gBAAA,CAAiB,MAAjB;AAxBH,GAAP;AA0BD,CA7BM;;AAAM,OAAA,CAAA,aAAA,GAAa,aAAb","sourceRoot":""}
|
@@ -8,8 +8,6 @@ exports.renderCardPreview = void 0;
|
|
8
8
|
const React = /*#__PURE__*/require("react");
|
9
9
|
|
10
10
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
11
|
-
|
12
|
-
const useCardPreview_1 = /*#__PURE__*/require("./useCardPreview");
|
13
11
|
/**
|
14
12
|
* Render the final JSX of CardPreview
|
15
13
|
*/
|
@@ -19,7 +17,7 @@ const renderCardPreview = state => {
|
|
19
17
|
const {
|
20
18
|
slots,
|
21
19
|
slotProps
|
22
|
-
} = react_utilities_1.getSlots(state
|
20
|
+
} = react_utilities_1.getSlots(state);
|
23
21
|
return React.createElement(slots.root, { ...slotProps.root
|
24
22
|
}, slotProps.root.children, React.createElement(slots.logo, { ...slotProps.logo
|
25
23
|
}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardPreview/renderCardPreview.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardPreview/renderCardPreview.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAA4B;AAC3D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA2B,KAA3B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,SAAS,CAAC,IAAV,CAAe,QADlB,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAFF,CADF;AAMD,CATM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
|
@@ -1,9 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { CardPreviewProps,
|
3
|
-
/**
|
4
|
-
* Array of all shorthand properties listed in CardPreviewShorthandProps
|
5
|
-
*/
|
6
|
-
export declare const cardPreviewShorthandProps: Array<keyof CardPreviewSlots>;
|
2
|
+
import type { CardPreviewProps, CardPreviewState } from './CardPreview.types';
|
7
3
|
/**
|
8
4
|
* Create the state required to render CardPreview.
|
9
5
|
*
|
@@ -3,15 +3,9 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.useCardPreview =
|
6
|
+
exports.useCardPreview = void 0;
|
7
7
|
|
8
8
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
9
|
-
/**
|
10
|
-
* Array of all shorthand properties listed in CardPreviewShorthandProps
|
11
|
-
*/
|
12
|
-
|
13
|
-
|
14
|
-
exports.cardPreviewShorthandProps = ['root', 'logo'];
|
15
9
|
/**
|
16
10
|
* Create the state required to render CardPreview.
|
17
11
|
*
|
@@ -22,6 +16,7 @@ exports.cardPreviewShorthandProps = ['root', 'logo'];
|
|
22
16
|
* @param ref - reference to root HTMLElement of CardPreview
|
23
17
|
*/
|
24
18
|
|
19
|
+
|
25
20
|
const useCardPreview = (props, ref) => {
|
26
21
|
const {
|
27
22
|
logo
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CardPreview/useCardPreview.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA
|
1
|
+
{"version":3,"sources":["../../../src/components/CardPreview/useCardPreview.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;;;;;;AAQG;;;AACI,MAAM,cAAc,GAAG,CAAC,KAAD,EAA0B,GAA1B,KAA2E;AACvG,QAAM;AAAE,IAAA;AAAF,MAAW,KAAjB;AACA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,IAAI,EAAE;AAFI,KADP;AAML,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,SAAG;AAF8B,KAA7B,CAND;AAUL,IAAA,IAAI,EAAE,iBAAA,CAAA,gBAAA,CAAiB,IAAjB;AAVD,GAAP;AAYD,CAdM;;AAAM,OAAA,CAAA,cAAA,GAAc,cAAd","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-card",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-nightlyf6116328d620220124.1",
|
4
4
|
"private": false,
|
5
5
|
"description": "Card container components for Fluent UI React.",
|
6
6
|
"main": "lib-commonjs/index.js",
|
@@ -20,21 +20,21 @@
|
|
20
20
|
"just": "just-scripts",
|
21
21
|
"lint": "just-scripts lint",
|
22
22
|
"start": "yarn storybook",
|
23
|
-
"test": "jest",
|
23
|
+
"test": "jest --passWithNoTests",
|
24
24
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
25
25
|
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-card/src && yarn docs",
|
26
|
-
"storybook": "
|
26
|
+
"storybook": "node ../../scripts/storybook/runner",
|
27
27
|
"type-check": "tsc -b tsconfig.json"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@fluentui/babel-make-styles": "0.0.0-
|
30
|
+
"@fluentui/babel-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
31
31
|
"@fluentui/eslint-plugin": "*",
|
32
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
32
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
33
33
|
"@fluentui/react-conformance": "*",
|
34
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
34
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
35
35
|
"@fluentui/scripts": "^1.0.0",
|
36
|
-
"@fluentui/react-text": "0.0.0-
|
37
|
-
"@fluentui/react-button": "0.0.0-
|
36
|
+
"@fluentui/react-text": "0.0.0-nightlyf6116328d620220124.1",
|
37
|
+
"@fluentui/react-button": "0.0.0-nightlyf6116328d620220124.1",
|
38
38
|
"@types/enzyme": "3.10.3",
|
39
39
|
"@types/enzyme-adapter-react-16": "1.0.3",
|
40
40
|
"@types/react": "16.9.42",
|
@@ -47,9 +47,9 @@
|
|
47
47
|
"react-test-renderer": "^16.3.0"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@fluentui/react-make-styles": "0.0.0-
|
51
|
-
"@fluentui/react-utilities": "0.0.0-
|
52
|
-
"@fluentui/react-tabster": "0.0.0-
|
50
|
+
"@fluentui/react-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
51
|
+
"@fluentui/react-utilities": "0.0.0-nightlyf6116328d620220124.1",
|
52
|
+
"@fluentui/react-tabster": "0.0.0-nightlyf6116328d620220124.1",
|
53
53
|
"tslib": "^2.1.0"
|
54
54
|
},
|
55
55
|
"peerDependencies": {
|