@lowdefy/layout 4.0.0-rc.0 → 4.0.0-rc.1
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/dist/Area.js +1 -1
- package/dist/BlockLayout.js +16 -16
- package/dist/deriveLayout.js +2 -2
- package/dist/gutterSetup.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layoutParamsToArea.js +1 -1
- package/dist/style.less +1 -1
- package/package.json +16 -15
package/dist/Area.js
CHANGED
package/dist/BlockLayout.js
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
function _extends() {
|
|
2
|
-
_extends = Object.assign || function(target) {
|
|
3
|
-
for(var i = 1; i < arguments.length; i++){
|
|
4
|
-
var source = arguments[i];
|
|
5
|
-
for(var key in source){
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7
|
-
target[key] = source[key];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return target;
|
|
12
|
-
};
|
|
13
|
-
return _extends.apply(this, arguments);
|
|
14
|
-
}
|
|
15
1
|
/*
|
|
16
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2023 Lowdefy, Inc
|
|
17
3
|
|
|
18
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
19
5
|
you may not use this file except in compliance with the License.
|
|
@@ -26,7 +12,21 @@ function _extends() {
|
|
|
26
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27
13
|
See the License for the specific language governing permissions and
|
|
28
14
|
limitations under the License.
|
|
29
|
-
*/
|
|
15
|
+
*/ function _extends() {
|
|
16
|
+
_extends = Object.assign || function(target) {
|
|
17
|
+
for(var i = 1; i < arguments.length; i++){
|
|
18
|
+
var source = arguments[i];
|
|
19
|
+
for(var key in source){
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21
|
+
target[key] = source[key];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return target;
|
|
26
|
+
};
|
|
27
|
+
return _extends.apply(this, arguments);
|
|
28
|
+
}
|
|
29
|
+
import React from 'react';
|
|
30
30
|
import { Col } from 'antd';
|
|
31
31
|
import deriveLayout from './deriveLayout.js';
|
|
32
32
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
package/dist/deriveLayout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2023 Lowdefy, Inc
|
|
3
3
|
|
|
4
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
you may not use this file except in compliance with the License.
|
|
@@ -71,7 +71,7 @@ const diffOffsetAndSpan = (obj)=>{
|
|
|
71
71
|
}
|
|
72
72
|
return obj;
|
|
73
73
|
};
|
|
74
|
-
const deriveLayout = ({ flex , offset , order , pull , push , span , grow , shrink , size , xs , sm , md , lg , xl , xxl
|
|
74
|
+
const deriveLayout = ({ flex , offset , order , pull , push , span , grow , shrink , size , xs , sm , md , lg , xl , xxl })=>{
|
|
75
75
|
let colProps = {
|
|
76
76
|
xs: {
|
|
77
77
|
span: 24
|
package/dist/gutterSetup.js
CHANGED
package/dist/index.js
CHANGED
package/dist/style.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/layout",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -38,25 +38,26 @@
|
|
|
38
38
|
"clean": "rm -rf dist",
|
|
39
39
|
"copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\"",
|
|
40
40
|
"prepublishOnly": "pnpm build",
|
|
41
|
-
"test": "
|
|
41
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lowdefy/block-utils": "4.0.0-rc.
|
|
45
|
-
"@lowdefy/helpers": "4.0.0-rc.
|
|
46
|
-
"antd": "4.
|
|
44
|
+
"@lowdefy/block-utils": "4.0.0-rc.1",
|
|
45
|
+
"@lowdefy/helpers": "4.0.0-rc.1",
|
|
46
|
+
"antd": "4.24.7",
|
|
47
47
|
"react": "18.2.0",
|
|
48
48
|
"react-dom": "18.2.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@emotion/jest": "11.
|
|
52
|
-
"@
|
|
53
|
-
"@lowdefy/
|
|
54
|
-
"@
|
|
55
|
-
"@swc/
|
|
56
|
-
"@swc/
|
|
57
|
-
"@
|
|
58
|
-
"@testing-library/
|
|
59
|
-
"@testing-library/
|
|
51
|
+
"@emotion/jest": "11.10.5",
|
|
52
|
+
"@jest/globals": "28.1.0",
|
|
53
|
+
"@lowdefy/block-dev": "4.0.0-rc.1",
|
|
54
|
+
"@lowdefy/jest-yaml-transform": "4.0.0-rc.1",
|
|
55
|
+
"@swc/cli": "0.1.59",
|
|
56
|
+
"@swc/core": "1.3.24",
|
|
57
|
+
"@swc/jest": "0.2.24",
|
|
58
|
+
"@testing-library/dom": "8.19.1",
|
|
59
|
+
"@testing-library/react": "13.4.0",
|
|
60
|
+
"@testing-library/user-event": "14.4.3",
|
|
60
61
|
"copyfiles": "2.4.1",
|
|
61
62
|
"jest": "28.1.0",
|
|
62
63
|
"jest-environment-jsdom": "28.1.0",
|
|
@@ -65,5 +66,5 @@
|
|
|
65
66
|
"publishConfig": {
|
|
66
67
|
"access": "public"
|
|
67
68
|
},
|
|
68
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
|
|
69
70
|
}
|