@doodl/slate 1.22.6 → 1.22.8

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,15 @@
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.8](https://bitbucket.org/doodlltd/slate/compare/v1.22.7...v1.22.8) (2022-11-17)
6
+
7
+ ### [1.22.7](https://bitbucket.org/doodlltd/slate/compare/v1.22.6...v1.22.7) (2022-10-06)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * Add missing vertical padding prop to Container react component ([9baf852](https://bitbucket.org/doodlltd/slate/commit/9baf85234a3f920469869c09227057b88ecfc0b1))
13
+
5
14
  ### [1.22.6](https://bitbucket.org/doodlltd/slate/compare/v1.22.5...v1.22.6) (2022-06-08)
6
15
 
7
16
 
@@ -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['container'], (_classNames = {}, _defineProperty(_classNames, styles['center'], center), _defineProperty(_classNames, styles['horizontal-padding'], horizontalPadding), _defineProperty(_classNames, styles['wide'], wide), _classNames), className);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doodl/slate",
3
- "version": "1.22.6",
3
+ "version": "1.22.8",
4
4
  "description": "",
5
5
  "main": "./js/dist/index.js",
6
6
  "module": "./js/dist/index.js",
@@ -138,8 +138,11 @@ form {
138
138
 
139
139
  .actions,
140
140
  .btn-toolbar {
141
- > * + * {
142
- margin-left: $slate-silverstripe-forms-form-action-margin;
141
+ > * {
142
+ margin: $slate-silverstripe-forms-form-action-margin $slate-silverstripe-forms-form-action-margin 0 0;
143
+ @if mixin-exists(slate-silverstripe-forms-actions-action) {
144
+ @include slate-silverstripe-forms-actions-action;
145
+ }
143
146
  }
144
147
  }
145
148
  * + .actions,