@fluentui/react-divider 9.2.9 → 9.2.10
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 +22 -1
- package/CHANGELOG.md +12 -2
- package/lib/components/Divider/renderDivider.js +4 -4
- package/lib/components/Divider/renderDivider.js.map +1 -1
- package/lib-commonjs/components/Divider/renderDivider.js +4 -5
- package/lib-commonjs/components/Divider/renderDivider.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,28 @@
|
|
2
2
|
"name": "@fluentui/react-divider",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Mon,
|
5
|
+
"date": "Mon, 24 Apr 2023 08:09:11 GMT",
|
6
|
+
"tag": "@fluentui/react-divider_v9.2.10",
|
7
|
+
"version": "9.2.10",
|
8
|
+
"comments": {
|
9
|
+
"patch": [
|
10
|
+
{
|
11
|
+
"author": "bernardo.sunderhus@gmail.com",
|
12
|
+
"package": "@fluentui/react-divider",
|
13
|
+
"commit": "ec5f15a5fb78104ff874f1f16eda663fecde1704",
|
14
|
+
"comment": "chore: adopt custom JSX pragma"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-divider",
|
19
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
|
20
|
+
"commit": "948b5bf9871303d1742f1b9a17a3bd4006ce2fea"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"date": "Mon, 17 Apr 2023 17:54:02 GMT",
|
6
27
|
"tag": "@fluentui/react-divider_v9.2.9",
|
7
28
|
"version": "9.2.9",
|
8
29
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,22 @@
|
|
1
1
|
# Change Log - @fluentui/react-divider
|
2
2
|
|
3
|
-
This log was last generated on Mon,
|
3
|
+
This log was last generated on Mon, 24 Apr 2023 08:09:11 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.2.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.2.10)
|
8
|
+
|
9
|
+
Mon, 24 Apr 2023 08:09:11 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.2.9..@fluentui/react-divider_v9.2.10)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- chore: adopt custom JSX pragma ([PR #27610](https://github.com/microsoft/fluentui/pull/27610) by bernardo.sunderhus@gmail.com)
|
15
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([PR #27632](https://github.com/microsoft/fluentui/pull/27632) by beachball)
|
16
|
+
|
7
17
|
## [9.2.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.2.9)
|
8
18
|
|
9
|
-
Mon, 17 Apr 2023 17:
|
19
|
+
Mon, 17 Apr 2023 17:54:02 GMT
|
10
20
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.2.8..@fluentui/react-divider_v9.2.9)
|
11
21
|
|
12
22
|
### Patches
|
@@ -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
|
* Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.
|
5
5
|
*/
|
@@ -7,7 +7,7 @@ export const renderDivider_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 !== undefined && /*#__PURE__*/createElement(slots.wrapper, slotProps.wrapper, slotProps.root.children));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=renderDivider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createElement","getSlotsNext","renderDivider_unstable","state","slots","slotProps","root","children","undefined","wrapper"],"sources":["../../../src/components/Divider/renderDivider.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport { DividerSlots, DividerState } from './Divider.types';\n\n/**\n * Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.\n */\nexport const renderDivider_unstable = (state: DividerState) => {\n const { slots, slotProps } = getSlotsNext<DividerSlots>(state);\n return (\n <slots.root {...slotProps.root}>\n {slotProps.root.children !== undefined && (\n <slots.wrapper {...slotProps.wrapper}>{slotProps.root.children}</slots.wrapper>\n )}\n </slots.root>\n );\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAG7B;;;AAGA,OAAO,MAAMC,sBAAA,GAA0BC,KAAA,IAAwB;EAC7D,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,YAAA,CAA2BE,KAAA;EACxD,oBACEH,aAbJ,CAaKI,KAAA,CAAME,IAAI,EAAKD,SAAA,CAAUC,IAAI,EAC3BD,SAAA,CAAUC,IAAI,CAACC,QAAQ,KAAKC,SAAA,iBAC3BR,aAfR,CAeSI,KAAA,CAAMK,OAAO,EAAKJ,SAAA,CAAUI,OAAO,EAAGJ,SAAA,CAAUC,IAAI,CAACC,QAAQ;AAItE"}
|
@@ -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, "renderDivider_unstable", {
|
|
6
6
|
enumerable: true,
|
7
7
|
get: ()=>renderDivider_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 renderDivider_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 !== undefined && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.wrapper, slotProps.wrapper, slotProps.root.children));
|
15
14
|
}; //# sourceMappingURL=renderDivider.js.map
|
16
15
|
|
17
16
|
//# sourceMappingURL=renderDivider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/Divider/renderDivider.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../../../lib/components/Divider/renderDivider.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Renders a Divider component by passing the slot props (defined in `state`) to the appropriate slots.\n */\nexport const renderDivider_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children !== undefined && /*#__PURE__*/createElement(slots.wrapper, slotProps.wrapper, slotProps.root.children));\n};\n//# sourceMappingURL=renderDivider.js.map"],"names":["renderDivider_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","undefined","wrapper"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,yBAAyBC,CAAAA,QAAS;IAC7C,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,KAAKC,aAAa,WAAW,GAAEH,IAAAA,8BAAa,EAACH,MAAMO,OAAO,EAAEN,UAAUM,OAAO,EAAEN,UAAUG,IAAI,CAACC,QAAQ;AAC7L,GACA,yCAAyC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-divider",
|
3
|
-
"version": "9.2.
|
3
|
+
"version": "9.2.10",
|
4
4
|
"description": "Fluent UI component to visually separate content.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -33,6 +33,7 @@
|
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"@griffel/react": "^1.5.2",
|
36
|
+
"@fluentui/react-jsx-runtime": "9.0.0-alpha.2",
|
36
37
|
"@fluentui/react-shared-contexts": "^9.3.3",
|
37
38
|
"@fluentui/react-theme": "^9.1.7",
|
38
39
|
"@fluentui/react-utilities": "^9.8.0",
|