@commercetools-uikit/spacings-stack 19.25.1 → 20.0.0
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.
|
@@ -12,8 +12,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
|
|
|
12
12
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
13
13
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
14
14
|
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
15
|
-
var _pt = require('prop-types');
|
|
16
|
-
require('react');
|
|
17
15
|
var utils = require('@commercetools-uikit/utils');
|
|
18
16
|
var react = require('@emotion/react');
|
|
19
17
|
var designSystem = require('@commercetools-uikit/design-system');
|
|
@@ -29,7 +27,6 @@ var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachIns
|
|
|
29
27
|
var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertyDescriptors);
|
|
30
28
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
31
29
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
32
|
-
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
33
30
|
|
|
34
31
|
const getAlignItem = alignment => {
|
|
35
32
|
switch (alignment) {
|
|
@@ -92,16 +89,11 @@ const Stack = _ref => {
|
|
|
92
89
|
children: props.children
|
|
93
90
|
}));
|
|
94
91
|
};
|
|
95
|
-
Stack.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
96
|
-
scale: _pt__default["default"].oneOf(['xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl']),
|
|
97
|
-
alignItems: _pt__default["default"].oneOf(['stretch', 'flex-start', 'flex-end', 'center', 'baseline', 'flexStart', 'flexEnd']),
|
|
98
|
-
children: _pt__default["default"].node.isRequired
|
|
99
|
-
} : {};
|
|
100
92
|
Stack.displayName = 'Stack';
|
|
101
93
|
var Stack$1 = Stack;
|
|
102
94
|
|
|
103
95
|
// NOTE: This string will be replaced on build time with the package version.
|
|
104
|
-
var version = "
|
|
96
|
+
var version = "20.0.0";
|
|
105
97
|
|
|
106
98
|
exports["default"] = Stack$1;
|
|
107
99
|
exports.version = version;
|
|
@@ -12,8 +12,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
|
|
|
12
12
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
13
13
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
14
14
|
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
15
|
-
require('prop-types');
|
|
16
|
-
require('react');
|
|
17
15
|
var utils = require('@commercetools-uikit/utils');
|
|
18
16
|
var react = require('@emotion/react');
|
|
19
17
|
var designSystem = require('@commercetools-uikit/design-system');
|
|
@@ -91,12 +89,11 @@ const Stack = _ref => {
|
|
|
91
89
|
children: props.children
|
|
92
90
|
}));
|
|
93
91
|
};
|
|
94
|
-
Stack.propTypes = {};
|
|
95
92
|
Stack.displayName = 'Stack';
|
|
96
93
|
var Stack$1 = Stack;
|
|
97
94
|
|
|
98
95
|
// NOTE: This string will be replaced on build time with the package version.
|
|
99
|
-
var version = "
|
|
96
|
+
var version = "20.0.0";
|
|
100
97
|
|
|
101
98
|
exports["default"] = Stack$1;
|
|
102
99
|
exports.version = version;
|
|
@@ -8,8 +8,6 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
8
8
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
9
9
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
10
10
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
11
|
-
import _pt from 'prop-types';
|
|
12
|
-
import 'react';
|
|
13
11
|
import { filterDataAttributes } from '@commercetools-uikit/utils';
|
|
14
12
|
import { css } from '@emotion/react';
|
|
15
13
|
import { designTokens } from '@commercetools-uikit/design-system';
|
|
@@ -76,15 +74,10 @@ const Stack = _ref => {
|
|
|
76
74
|
children: props.children
|
|
77
75
|
}));
|
|
78
76
|
};
|
|
79
|
-
Stack.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
80
|
-
scale: _pt.oneOf(['xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl']),
|
|
81
|
-
alignItems: _pt.oneOf(['stretch', 'flex-start', 'flex-end', 'center', 'baseline', 'flexStart', 'flexEnd']),
|
|
82
|
-
children: _pt.node.isRequired
|
|
83
|
-
} : {};
|
|
84
77
|
Stack.displayName = 'Stack';
|
|
85
78
|
var Stack$1 = Stack;
|
|
86
79
|
|
|
87
80
|
// NOTE: This string will be replaced on build time with the package version.
|
|
88
|
-
var version = "
|
|
81
|
+
var version = "20.0.0";
|
|
89
82
|
|
|
90
83
|
export { Stack$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/spacings-stack",
|
|
3
3
|
"description": "A stack spacing component renders its children vertically with a consistent spacing between them.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "20.0.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,15 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/design-system": "
|
|
25
|
-
"@commercetools-uikit/utils": "
|
|
26
|
-
"@emotion/react": "^11.10.5"
|
|
27
|
-
"prop-types": "15.8.1"
|
|
24
|
+
"@commercetools-uikit/design-system": "20.0.0",
|
|
25
|
+
"@commercetools-uikit/utils": "20.0.0",
|
|
26
|
+
"@emotion/react": "^11.10.5"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
|
-
"react": "
|
|
29
|
+
"react": "19.0.0"
|
|
31
30
|
},
|
|
32
31
|
"peerDependencies": {
|
|
33
|
-
"react": "
|
|
32
|
+
"react": "19.x"
|
|
34
33
|
}
|
|
35
34
|
}
|