@fluentui/react-card 0.0.0-nightly-20230418-0418.1 → 0.0.0-nightly-20230419-0423.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 +21 -15
- package/CHANGELOG.md +11 -10
- package/lib/components/Card/renderCard.js +5 -5
- package/lib/components/Card/renderCard.js.map +1 -1
- package/lib/components/CardFooter/renderCardFooter.js +4 -4
- package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
- package/lib/components/CardHeader/renderCardHeader.js +4 -4
- package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
- package/lib/components/CardPreview/renderCardPreview.js +4 -4
- package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
- package/lib-commonjs/components/Card/renderCard.js +5 -6
- package/lib-commonjs/components/Card/renderCard.js.map +1 -1
- package/lib-commonjs/components/CardFooter/renderCardFooter.js +4 -5
- package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
- package/lib-commonjs/components/CardHeader/renderCardHeader.js +4 -5
- package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
- package/lib-commonjs/components/CardPreview/renderCardPreview.js +4 -5
- package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
- package/package.json +8 -7
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-card",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-card_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Wed, 19 Apr 2023 04:31:06 GMT",
|
6
|
+
"tag": "@fluentui/react-card_v0.0.0-nightly-20230419-0423.1",
|
7
|
+
"version": "0.0.0-nightly-20230419-0423.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,38 +16,44 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-card",
|
19
|
-
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230419-0423.1",
|
20
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"author": "beachball",
|
24
24
|
"package": "@fluentui/react-card",
|
25
|
-
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-
|
26
|
-
"commit": "
|
25
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20230419-0423.1",
|
26
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"author": "beachball",
|
30
30
|
"package": "@fluentui/react-card",
|
31
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
32
|
-
"commit": "
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230419-0423.1",
|
32
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"author": "beachball",
|
36
36
|
"package": "@fluentui/react-card",
|
37
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
38
|
-
"commit": "
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230419-0423.1",
|
38
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"author": "beachball",
|
42
42
|
"package": "@fluentui/react-card",
|
43
|
-
"comment": "Bump @fluentui/react-
|
44
|
-
"commit": "
|
43
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230419-0423.1",
|
44
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
45
45
|
},
|
46
46
|
{
|
47
47
|
"author": "beachball",
|
48
48
|
"package": "@fluentui/react-card",
|
49
|
-
"comment": "Bump @fluentui/react-
|
50
|
-
"commit": "
|
49
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230419-0423.1",
|
50
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-card",
|
55
|
+
"comment": "Bump @fluentui/react-button to v0.0.0-nightly-20230419-0423.1",
|
56
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
51
57
|
}
|
52
58
|
]
|
53
59
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,23 +1,24 @@
|
|
1
1
|
# Change Log - @fluentui/react-card
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 19 Apr 2023 04:31:06 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-20230419-0423.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightly-20230419-0423.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.7..@fluentui/react-card_v0.0.0-nightly-
|
9
|
+
Wed, 19 Apr 2023 04:31:06 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.7..@fluentui/react-card_v0.0.0-nightly-20230419-0423.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-tabster to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
18
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
19
|
-
- Bump @fluentui/react-
|
20
|
-
- Bump @fluentui/react-
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
16
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
19
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
20
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
21
|
+
- Bump @fluentui/react-button to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
21
22
|
|
22
23
|
## [9.0.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.7)
|
23
24
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import
|
2
|
-
import {
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';
|
2
|
+
import { getSlotsNext } from '@fluentui/react-utilities';
|
3
3
|
import { CardProvider } from './CardContext';
|
4
4
|
/**
|
5
5
|
* Render the final JSX of Card.
|
@@ -8,9 +8,9 @@ export const renderCard_unstable = (state, cardContextValue) => {
|
|
8
8
|
const {
|
9
9
|
slots,
|
10
10
|
slotProps
|
11
|
-
} =
|
12
|
-
return /*#__PURE__*/
|
11
|
+
} = getSlotsNext(state);
|
12
|
+
return /*#__PURE__*/createElement(slots.root, slotProps.root, /*#__PURE__*/createElement(CardProvider, {
|
13
13
|
value: cardContextValue
|
14
|
-
}, slots.checkbox ? /*#__PURE__*/
|
14
|
+
}, slots.checkbox ? /*#__PURE__*/createElement(slots.checkbox, slotProps.checkbox) : null, slots.floatingAction ? /*#__PURE__*/createElement(slots.floatingAction, slotProps.floatingAction) : null, slotProps.root.children));
|
15
15
|
};
|
16
16
|
//# sourceMappingURL=renderCard.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createElement","getSlotsNext","CardProvider","renderCard_unstable","state","cardContextValue","slots","slotProps","root","value","checkbox","floatingAction","children"],"sources":["../../../src/components/Card/renderCard.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport type { CardContextValue, CardSlots, CardState } from './Card.types';\nimport { CardProvider } from './CardContext';\n\n/**\n * Render the final JSX of Card.\n */\nexport const renderCard_unstable = (state: CardState, cardContextValue: CardContextValue) => {\n const { slots, slotProps } = getSlotsNext<CardSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n <CardProvider value={cardContextValue}>\n {slots.checkbox ? <slots.checkbox {...slotProps.checkbox} /> : null}\n {slots.floatingAction ? <slots.floatingAction {...slotProps.floatingAction} /> : null}\n {slotProps.root.children}\n </CardProvider>\n </slots.root>\n );\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAE7B,SAASC,YAAY,QAAQ;AAE7B;;;AAGA,OAAO,MAAMC,mBAAA,GAAsBA,CAACC,KAAA,EAAkBC,gBAAA,KAAuC;EAC3F,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGN,YAAA,CAAwBG,KAAA;EAErD,oBACEJ,aAfJ,CAeKM,KAAA,CAAME,IAAI,EAAKD,SAAA,CAAUC,IAAI,eAC5BR,aAhBN,CAgBOE,YAAA;IAAaO,KAAA,EAAOJ;KAClBC,KAAA,CAAMI,QAAQ,gBAAGV,aAjB1B,CAiB2BM,KAAA,CAAMI,QAAQ,EAAKH,SAAA,CAAUG,QAAQ,IAAO,IAAI,EAClEJ,KAAA,CAAMK,cAAc,gBAAGX,aAlBhC,CAkBiCM,KAAA,CAAMK,cAAc,EAAKJ,SAAA,CAAUI,cAAc,IAAO,IAAI,EACpFJ,SAAA,CAAUC,IAAI,CAACI,QAAQ;AAIhC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import
|
2
|
-
import {
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';
|
2
|
+
import { getSlotsNext } from '@fluentui/react-utilities';
|
3
3
|
/**
|
4
4
|
* Render the final JSX of CardFooter.
|
5
5
|
*/
|
@@ -7,7 +7,7 @@ export const renderCardFooter_unstable = state => {
|
|
7
7
|
const {
|
8
8
|
slots,
|
9
9
|
slotProps
|
10
|
-
} =
|
11
|
-
return /*#__PURE__*/
|
10
|
+
} = getSlotsNext(state);
|
11
|
+
return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children, slots.action && /*#__PURE__*/createElement(slots.action, slotProps.action));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=renderCardFooter.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createElement","getSlotsNext","renderCardFooter_unstable","state","slots","slotProps","root","children","action"],"sources":["../../../src/components/CardFooter/renderCardFooter.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport type { CardFooterSlots, CardFooterState } from './CardFooter.types';\n\n/**\n * Render the final JSX of CardFooter.\n */\nexport const renderCardFooter_unstable = (state: CardFooterState) => {\n const { slots, slotProps } = getSlotsNext<CardFooterSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n {slotProps.root.children}\n {slots.action && <slots.action {...slotProps.action} />}\n </slots.root>\n );\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAG7B;;;AAGA,OAAO,MAAMC,yBAAA,GAA6BC,KAAA,IAA2B;EACnE,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,YAAA,CAA8BE,KAAA;EAE3D,oBACEH,aAdJ,CAcKI,KAAA,CAAME,IAAI,EAAKD,SAAA,CAAUC,IAAI,EAC3BD,SAAA,CAAUC,IAAI,CAACC,QAAQ,EACvBH,KAAA,CAAMI,MAAM,iBAAIR,aAhBvB,CAgBwBI,KAAA,CAAMI,MAAM,EAAKH,SAAA,CAAUG,MAAM;AAGzD"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import
|
2
|
-
import {
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';
|
2
|
+
import { getSlotsNext } from '@fluentui/react-utilities';
|
3
3
|
/**
|
4
4
|
* Render the final JSX of CardHeader.
|
5
5
|
*/
|
@@ -7,7 +7,7 @@ export const renderCardHeader_unstable = state => {
|
|
7
7
|
const {
|
8
8
|
slots,
|
9
9
|
slotProps
|
10
|
-
} =
|
11
|
-
return /*#__PURE__*/
|
10
|
+
} = getSlotsNext(state);
|
11
|
+
return /*#__PURE__*/createElement(slots.root, slotProps.root, slots.image && /*#__PURE__*/createElement(slots.image, slotProps.image), /*#__PURE__*/createElement(slots.header, slotProps.header), slots.description && /*#__PURE__*/createElement(slots.description, slotProps.description), slots.action && /*#__PURE__*/createElement(slots.action, slotProps.action));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=renderCardHeader.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createElement","getSlotsNext","renderCardHeader_unstable","state","slots","slotProps","root","image","header","description","action"],"sources":["../../../src/components/CardHeader/renderCardHeader.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport type { CardHeaderSlots, CardHeaderState } from './CardHeader.types';\n\n/**\n * Render the final JSX of CardHeader.\n */\nexport const renderCardHeader_unstable = (state: CardHeaderState) => {\n const { slots, slotProps } = getSlotsNext<CardHeaderSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n {slots.image && <slots.image {...slotProps.image} />}\n <slots.header {...slotProps.header} />\n {slots.description && <slots.description {...slotProps.description} />}\n {slots.action && <slots.action {...slotProps.action} />}\n </slots.root>\n );\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAG7B;;;AAGA,OAAO,MAAMC,yBAAA,GAA6BC,KAAA,IAA2B;EACnE,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,YAAA,CAA8BE,KAAA;EAE3D,oBACEH,aAdJ,CAcKI,KAAA,CAAME,IAAI,EAAKD,SAAA,CAAUC,IAAI,EAC3BF,KAAA,CAAMG,KAAK,iBAAIP,aAftB,CAeuBI,KAAA,CAAMG,KAAK,EAAKF,SAAA,CAAUE,KAAK,gBAChDP,aAhBN,CAgBOI,KAAA,CAAMI,MAAM,EAAKH,SAAA,CAAUG,MAAM,GACjCJ,KAAA,CAAMK,WAAW,iBAAIT,aAjB5B,CAiB6BI,KAAA,CAAMK,WAAW,EAAKJ,SAAA,CAAUI,WAAW,GACjEL,KAAA,CAAMM,MAAM,iBAAIV,aAlBvB,CAkBwBI,KAAA,CAAMM,MAAM,EAAKL,SAAA,CAAUK,MAAM;AAGzD"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import
|
2
|
-
import {
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';
|
2
|
+
import { getSlotsNext } from '@fluentui/react-utilities';
|
3
3
|
/**
|
4
4
|
* Render the final JSX of CardPreview.
|
5
5
|
*/
|
@@ -7,7 +7,7 @@ export const renderCardPreview_unstable = state => {
|
|
7
7
|
const {
|
8
8
|
slots,
|
9
9
|
slotProps
|
10
|
-
} =
|
11
|
-
return /*#__PURE__*/
|
10
|
+
} = getSlotsNext(state);
|
11
|
+
return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children, slots.logo && /*#__PURE__*/createElement(slots.logo, slotProps.logo));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=renderCardPreview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createElement","getSlotsNext","renderCardPreview_unstable","state","slots","slotProps","root","children","logo"],"sources":["../../../src/components/CardPreview/renderCardPreview.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport type { CardPreviewSlots, CardPreviewState } from './CardPreview.types';\n\n/**\n * Render the final JSX of CardPreview.\n */\nexport const renderCardPreview_unstable = (state: CardPreviewState) => {\n const { slots, slotProps } = getSlotsNext<CardPreviewSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n {slotProps.root.children}\n {slots.logo && <slots.logo {...slotProps.logo} />}\n </slots.root>\n );\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAG7B;;;AAGA,OAAO,MAAMC,0BAAA,GAA8BC,KAAA,IAA4B;EACrE,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,YAAA,CAA+BE,KAAA;EAE5D,oBACEH,aAdJ,CAcKI,KAAA,CAAME,IAAI,EAAKD,SAAA,CAAUC,IAAI,EAC3BD,SAAA,CAAUC,IAAI,CAACC,QAAQ,EACvBH,KAAA,CAAMI,IAAI,iBAAIR,aAhBrB,CAgBsBI,KAAA,CAAMI,IAAI,EAAKH,SAAA,CAAUG,IAAI;AAGnD"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
@@ -6,15 +6,14 @@ Object.defineProperty(exports, "renderCard_unstable", {
|
|
6
6
|
enumerable: true,
|
7
7
|
get: ()=>renderCard_unstable
|
8
8
|
});
|
9
|
-
const
|
10
|
-
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
9
|
+
const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
|
11
10
|
const _reactUtilities = require("@fluentui/react-utilities");
|
12
11
|
const _cardContext = require("./CardContext");
|
13
12
|
const renderCard_unstable = (state, cardContextValue)=>{
|
14
|
-
const { slots , slotProps } = (0, _reactUtilities.
|
15
|
-
return /*#__PURE__*/
|
13
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
|
14
|
+
return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root, /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(_cardContext.CardProvider, {
|
16
15
|
value: cardContextValue
|
17
|
-
}, slots.checkbox ? /*#__PURE__*/
|
16
|
+
}, slots.checkbox ? /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.checkbox, slotProps.checkbox) : null, slots.floatingAction ? /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.floatingAction, slotProps.floatingAction) : null, slotProps.root.children));
|
18
17
|
}; //# sourceMappingURL=renderCard.js.map
|
19
18
|
|
20
19
|
//# sourceMappingURL=renderCard.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/Card/renderCard.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../../../lib/components/Card/renderCard.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport { CardProvider } from './CardContext';\n/**\n * Render the final JSX of Card.\n */\nexport const renderCard_unstable = (state, cardContextValue) => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, /*#__PURE__*/createElement(CardProvider, {\n value: cardContextValue\n }, slots.checkbox ? /*#__PURE__*/createElement(slots.checkbox, slotProps.checkbox) : null, slots.floatingAction ? /*#__PURE__*/createElement(slots.floatingAction, slotProps.floatingAction) : null, slotProps.root.children));\n};\n//# sourceMappingURL=renderCard.js.map"],"names":["renderCard_unstable","state","cardContextValue","slots","slotProps","getSlotsNext","createElement","root","CardProvider","value","checkbox","floatingAction","children"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAMrCA;;aAAAA;;iCANqE;gCACrD;6BACA;AAItB,MAAMA,sBAAsB,CAACC,OAAOC,mBAAqB;IAC9D,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACJ;IACjB,OAAO,WAAW,GAAEK,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAE,WAAW,GAAED,IAAAA,8BAAa,EAACE,yBAAY,EAAE;QACrGC,OAAOP;IACT,GAAGC,MAAMO,QAAQ,GAAG,WAAW,GAAEJ,IAAAA,8BAAa,EAACH,MAAMO,QAAQ,EAAEN,UAAUM,QAAQ,IAAI,IAAI,EAAEP,MAAMQ,cAAc,GAAG,WAAW,GAAEL,IAAAA,8BAAa,EAACH,MAAMQ,cAAc,EAAEP,UAAUO,cAAc,IAAI,IAAI,EAAEP,UAAUG,IAAI,CAACK,QAAQ;AAC9N,GACA,sCAAsC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "renderCardFooter_unstable", {
|
|
6
6
|
enumerable: true,
|
7
7
|
get: ()=>renderCardFooter_unstable
|
8
8
|
});
|
9
|
-
const
|
10
|
-
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
9
|
+
const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
|
11
10
|
const _reactUtilities = require("@fluentui/react-utilities");
|
12
11
|
const renderCardFooter_unstable = (state)=>{
|
13
|
-
const { slots , slotProps } = (0, _reactUtilities.
|
14
|
-
return /*#__PURE__*/
|
12
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
|
13
|
+
return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root, slotProps.root.children, slots.action && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.action, slotProps.action));
|
15
14
|
}; //# sourceMappingURL=renderCardFooter.js.map
|
16
15
|
|
17
16
|
//# sourceMappingURL=renderCardFooter.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/CardFooter/renderCardFooter.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../../../lib/components/CardFooter/renderCardFooter.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardFooter.\n */\nexport const renderCardFooter_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children, slots.action && /*#__PURE__*/createElement(slots.action, slotProps.action));\n};\n//# sourceMappingURL=renderCardFooter.js.map"],"names":["renderCardFooter_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","action"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,4BAA4BC,CAAAA,QAAS;IAChD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEH,UAAUG,IAAI,CAACC,QAAQ,EAAEL,MAAMM,MAAM,IAAI,WAAW,GAAEH,IAAAA,8BAAa,EAACH,MAAMM,MAAM,EAAEL,UAAUK,MAAM;AAClK,GACA,4CAA4C"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "renderCardHeader_unstable", {
|
|
6
6
|
enumerable: true,
|
7
7
|
get: ()=>renderCardHeader_unstable
|
8
8
|
});
|
9
|
-
const
|
10
|
-
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
9
|
+
const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
|
11
10
|
const _reactUtilities = require("@fluentui/react-utilities");
|
12
11
|
const renderCardHeader_unstable = (state)=>{
|
13
|
-
const { slots , slotProps } = (0, _reactUtilities.
|
14
|
-
return /*#__PURE__*/
|
12
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
|
13
|
+
return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root, slots.image && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.image, slotProps.image), /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.header, slotProps.header), slots.description && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.description, slotProps.description), slots.action && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.action, slotProps.action));
|
15
14
|
}; //# sourceMappingURL=renderCardHeader.js.map
|
16
15
|
|
17
16
|
//# sourceMappingURL=renderCardHeader.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/CardHeader/renderCardHeader.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../../../lib/components/CardHeader/renderCardHeader.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardHeader.\n */\nexport const renderCardHeader_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slots.image && /*#__PURE__*/createElement(slots.image, slotProps.image), /*#__PURE__*/createElement(slots.header, slotProps.header), slots.description && /*#__PURE__*/createElement(slots.description, slotProps.description), slots.action && /*#__PURE__*/createElement(slots.action, slotProps.action));\n};\n//# sourceMappingURL=renderCardHeader.js.map"],"names":["renderCardHeader_unstable","state","slots","slotProps","getSlotsNext","createElement","root","image","header","description","action"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,4BAA4BC,CAAAA,QAAS;IAChD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEJ,MAAMK,KAAK,IAAI,WAAW,GAAEF,IAAAA,8BAAa,EAACH,MAAMK,KAAK,EAAEJ,UAAUI,KAAK,GAAG,WAAW,GAAEF,IAAAA,8BAAa,EAACH,MAAMM,MAAM,EAAEL,UAAUK,MAAM,GAAGN,MAAMO,WAAW,IAAI,WAAW,GAAEJ,IAAAA,8BAAa,EAACH,MAAMO,WAAW,EAAEN,UAAUM,WAAW,GAAGP,MAAMQ,MAAM,IAAI,WAAW,GAAEL,IAAAA,8BAAa,EAACH,MAAMQ,MAAM,EAAEP,UAAUO,MAAM;AACzW,GACA,4CAA4C"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "renderCardPreview_unstable", {
|
|
6
6
|
enumerable: true,
|
7
7
|
get: ()=>renderCardPreview_unstable
|
8
8
|
});
|
9
|
-
const
|
10
|
-
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
9
|
+
const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
|
11
10
|
const _reactUtilities = require("@fluentui/react-utilities");
|
12
11
|
const renderCardPreview_unstable = (state)=>{
|
13
|
-
const { slots , slotProps } = (0, _reactUtilities.
|
14
|
-
return /*#__PURE__*/
|
12
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
|
13
|
+
return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root, slotProps.root.children, slots.logo && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.logo, slotProps.logo));
|
15
14
|
}; //# sourceMappingURL=renderCardPreview.js.map
|
16
15
|
|
17
16
|
//# sourceMappingURL=renderCardPreview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/CardPreview/renderCardPreview.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../../../lib/components/CardPreview/renderCardPreview.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardPreview.\n */\nexport const renderCardPreview_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children, slots.logo && /*#__PURE__*/createElement(slots.logo, slotProps.logo));\n};\n//# sourceMappingURL=renderCardPreview.js.map"],"names":["renderCardPreview_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","logo"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,6BAA6BC,CAAAA,QAAS;IACjD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEH,UAAUG,IAAI,CAACC,QAAQ,EAAEL,MAAMM,IAAI,IAAI,WAAW,GAAEH,IAAAA,8BAAa,EAACH,MAAMM,IAAI,EAAEL,UAAUK,IAAI;AAC5J,GACA,6CAA6C"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-card",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20230419-0423.1",
|
4
4
|
"private": false,
|
5
5
|
"description": "Card container components for Fluent UI React.",
|
6
6
|
"main": "lib-commonjs/index.js",
|
@@ -29,18 +29,19 @@
|
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
31
|
"@fluentui/eslint-plugin": "*",
|
32
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
32
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20230419-0423.1",
|
33
33
|
"@fluentui/react-conformance": "*",
|
34
|
-
"@fluentui/react-button": "0.0.0-nightly-
|
34
|
+
"@fluentui/react-button": "0.0.0-nightly-20230419-0423.1",
|
35
35
|
"@fluentui/scripts-api-extractor": "*",
|
36
36
|
"@fluentui/scripts-cypress": "*",
|
37
37
|
"@fluentui/scripts-tasks": "*"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@fluentui/keyboard-keys": "0.0.0-nightly-
|
41
|
-
"@fluentui/react-tabster": "0.0.0-nightly-
|
42
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
43
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
40
|
+
"@fluentui/keyboard-keys": "0.0.0-nightly-20230419-0423.1",
|
41
|
+
"@fluentui/react-tabster": "0.0.0-nightly-20230419-0423.1",
|
42
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230419-0423.1",
|
43
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20230419-0423.1",
|
44
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20230419-0423.1",
|
44
45
|
"@griffel/react": "^1.5.2",
|
45
46
|
"@swc/helpers": "^0.4.14"
|
46
47
|
},
|