@doodl/slate 1.22.6 → 1.22.7
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.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.22.7](https://bitbucket.org/doodlltd/slate/compare/v1.22.6...v1.22.7) (2022-10-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Add missing vertical padding prop to Container react component ([9baf852](https://bitbucket.org/doodlltd/slate/commit/9baf85234a3f920469869c09227057b88ecfc0b1))
|
|
11
|
+
|
|
5
12
|
### [1.22.6](https://bitbucket.org/doodlltd/slate/compare/v1.22.5...v1.22.6) (2022-06-08)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -12,10 +12,12 @@ var Container = function Container(props) {
|
|
|
12
12
|
center = _props$center === void 0 ? false : _props$center,
|
|
13
13
|
_props$horizontalPadd = props.horizontalPadding,
|
|
14
14
|
horizontalPadding = _props$horizontalPadd === void 0 ? false : _props$horizontalPadd,
|
|
15
|
+
_props$verticalPaddin = props.verticalPadding,
|
|
16
|
+
verticalPadding = _props$verticalPaddin === void 0 ? false : _props$verticalPaddin,
|
|
15
17
|
_props$wide = props.wide,
|
|
16
18
|
wide = _props$wide === void 0 ? false : _props$wide,
|
|
17
19
|
className = props.className;
|
|
18
|
-
var containerClass = classNames(styles
|
|
20
|
+
var containerClass = classNames(styles.container, (_classNames = {}, _defineProperty(_classNames, styles.center, center), _defineProperty(_classNames, styles['horizontal-padding'], horizontalPadding), _defineProperty(_classNames, styles['vertical-padding'], verticalPadding), _defineProperty(_classNames, styles.wide, wide), _classNames), className);
|
|
19
21
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
22
|
className: containerClass
|
|
21
23
|
}, children);
|