@fluentui/react-divider
Advanced tools
Comparing version
{ | ||
"plugins": ["module:@fluentui/babel-make-styles"] | ||
"plugins": ["module:@fluentui/babel-make-styles", "annotate-pure-calls", "@babel/transform-react-pure-annotations"] | ||
} |
@@ -5,3 +5,26 @@ { | ||
{ | ||
"date": "Tue, 18 May 2021 07:31:38 GMT", | ||
"date": "Wed, 19 May 2021 07:30:20 GMT", | ||
"tag": "@fluentui/react-divider_v9.0.0-alpha.26", | ||
"version": "9.0.0-alpha.26", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "chore: add more Babel plugins", | ||
"author": "olfedias@microsoft.com", | ||
"commit": "975140887c6ad2391f8db63003ed440239ec9c25", | ||
"package": "@fluentui/react-divider" | ||
} | ||
], | ||
"patch": [ | ||
{ | ||
"comment": "Bump @fluentui/react-conformance to v0.3.1", | ||
"author": "martinhochel@microsoft.com", | ||
"commit": "616b4b7c381c757871e8a590564d8eff7337834c", | ||
"package": "@fluentui/react-divider" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 18 May 2021 07:34:38 GMT", | ||
"tag": "@fluentui/react-divider_v9.0.0-alpha.25", | ||
@@ -8,0 +31,0 @@ "version": "9.0.0-alpha.25", |
# Change Log - @fluentui/react-divider | ||
This log was last generated on Tue, 18 May 2021 07:31:38 GMT and should not be manually modified. | ||
This log was last generated on Wed, 19 May 2021 07:30:20 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-alpha.26) | ||
Wed, 19 May 2021 07:30:20 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-alpha.25..@fluentui/react-divider_v9.0.0-alpha.26) | ||
### Patches | ||
- Bump @fluentui/react-conformance to v0.3.1 ([PR #18194](https://github.com/microsoft/fluentui/pull/18194) by martinhochel@microsoft.com) | ||
### Changes | ||
- chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com) | ||
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.0.0-alpha.25) | ||
Tue, 18 May 2021 07:31:38 GMT | ||
Tue, 18 May 2021 07:34:38 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.0.0-alpha.24..@fluentui/react-divider_v9.0.0-alpha.25) | ||
@@ -11,0 +24,0 @@ |
@@ -8,3 +8,3 @@ "use strict"; | ||
var react_conformance_1 = require("@fluentui/react-conformance"); | ||
var react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance"); | ||
@@ -11,0 +11,0 @@ function isConformant(testInfo) { |
@@ -8,9 +8,9 @@ "use strict"; | ||
var React = require("react"); | ||
var React = /*#__PURE__*/require("react"); | ||
var renderDivider_1 = require("./renderDivider"); | ||
var renderDivider_1 = /*#__PURE__*/require("./renderDivider"); | ||
var useDivider_1 = require("./useDivider"); | ||
var useDivider_1 = /*#__PURE__*/require("./useDivider"); | ||
var useDividerStyles_1 = require("./useDividerStyles"); | ||
var useDividerStyles_1 = /*#__PURE__*/require("./useDividerStyles"); | ||
/** | ||
@@ -22,3 +22,3 @@ * Define a styled Divider, using the `useDivider` and `useDividerStyles` hooks. | ||
exports.Divider = React.forwardRef(function (props, ref) { | ||
exports.Divider = /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
var state = useDivider_1.useDivider(props, ref); | ||
@@ -25,0 +25,0 @@ useDividerStyles_1.useDividerStyles(state); |
@@ -7,3 +7,3 @@ "use strict"; | ||
var tslib_1 = require("tslib"); | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
@@ -10,0 +10,0 @@ tslib_1.__exportStar(require("./Divider"), exports); |
@@ -8,9 +8,9 @@ "use strict"; | ||
var tslib_1 = require("tslib"); | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
var React = require("react"); | ||
var React = /*#__PURE__*/require("react"); | ||
var react_utilities_1 = require("@fluentui/react-utilities"); | ||
var react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities"); | ||
var useDivider_1 = require("./useDivider"); | ||
var useDivider_1 = /*#__PURE__*/require("./useDivider"); | ||
/** | ||
@@ -17,0 +17,0 @@ * Function that renders the final JSX of the component |
@@ -8,5 +8,5 @@ "use strict"; | ||
var React = require("react"); | ||
var React = /*#__PURE__*/require("react"); | ||
var react_utilities_1 = require("@fluentui/react-utilities"); | ||
var react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities"); | ||
/** | ||
@@ -18,3 +18,3 @@ * Consts listing which props are shorthand props. | ||
exports.dividerShorthandProps = ['wrapper', 'children']; | ||
var mergeProps = react_utilities_1.makeMergeProps({ | ||
var mergeProps = /*#__PURE__*/react_utilities_1.makeMergeProps({ | ||
deepMerge: exports.dividerShorthandProps | ||
@@ -21,0 +21,0 @@ }); |
@@ -8,5 +8,5 @@ "use strict"; | ||
var react_make_styles_1 = require("@fluentui/react-make-styles"); | ||
var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles"); | ||
var useStylesOverride = react_make_styles_1.__styles({ | ||
var useStylesOverride = /*#__PURE__*/react_make_styles_1.__styles({ | ||
root: { | ||
@@ -13,0 +13,0 @@ "zmeg91": ["", "f1cf0ue8", ".f1cf0ue8{--divider-borderMargin:12px;}"], |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = require("tslib"); | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./components/Divider/index"), exports); | ||
//# sourceMappingURL=Divider.js.map |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = require("tslib"); | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./Divider"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -10,3 +10,3 @@ import * as React from 'react'; | ||
export var Divider = React.forwardRef(function (props, ref) { | ||
export var Divider = /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
var state = useDivider(props, ref); | ||
@@ -13,0 +13,0 @@ useDividerStyles(state); |
@@ -15,6 +15,6 @@ import { __assign } from "tslib"; | ||
var children = state.children; | ||
return React.createElement(slots.root, __assign({}, slotProps.root, { | ||
return /*#__PURE__*/React.createElement(slots.root, __assign({}, slotProps.root, { | ||
role: "separator" | ||
}), children !== undefined && React.createElement(slots.wrapper, __assign({}, slotProps.wrapper))); | ||
}), children !== undefined && /*#__PURE__*/React.createElement(slots.wrapper, __assign({}, slotProps.wrapper))); | ||
}; | ||
//# sourceMappingURL=renderDivider.js.map |
@@ -8,3 +8,3 @@ import * as React from 'react'; | ||
export var dividerShorthandProps = ['wrapper', 'children']; | ||
var mergeProps = makeMergeProps({ | ||
var mergeProps = /*#__PURE__*/makeMergeProps({ | ||
deepMerge: dividerShorthandProps | ||
@@ -11,0 +11,0 @@ }); |
import { mergeClasses, __styles } from '@fluentui/react-make-styles'; | ||
var useStylesOverride = __styles({ | ||
var useStylesOverride = /*#__PURE__*/__styles({ | ||
root: { | ||
@@ -5,0 +5,0 @@ "zmeg91": ["", "f1cf0ue8", ".f1cf0ue8{--divider-borderMargin:12px;}"], |
{ | ||
"name": "@fluentui/react-divider", | ||
"version": "9.0.0-alpha.25", | ||
"version": "9.0.0-alpha.26", | ||
"description": "Fluent UI component to visually separate content.", | ||
@@ -26,6 +26,6 @@ "main": "lib-commonjs/index.js", | ||
"devDependencies": { | ||
"@fluentui/babel-make-styles": "^9.0.0-alpha.8", | ||
"@fluentui/babel-make-styles": "^9.0.0-alpha.9", | ||
"@fluentui/eslint-plugin": "^1.2.0", | ||
"@fluentui/jest-serializer-make-styles": "^9.0.0-alpha.11", | ||
"@fluentui/react-conformance": "^0.3.0", | ||
"@fluentui/jest-serializer-make-styles": "^9.0.0-alpha.12", | ||
"@fluentui/react-conformance": "^0.3.1", | ||
"@fluentui/scripts": "^1.0.0", | ||
@@ -44,4 +44,4 @@ "@types/enzyme": "3.10.3", | ||
"dependencies": { | ||
"@fluentui/react-make-styles": "^9.0.0-alpha.34", | ||
"@fluentui/react-utilities": "^9.0.0-alpha.21", | ||
"@fluentui/react-make-styles": "^9.0.0-alpha.35", | ||
"@fluentui/react-utilities": "^9.0.0-alpha.22", | ||
"tslib": "^2.1.0" | ||
@@ -48,0 +48,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
152751
1.13%1729
1.35%23
-8%43
-4.44%256
-0.39%