@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
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.
@@ -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-2022 Lowdefy, Inc
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
- */ import React from 'react';
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';
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
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
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
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.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
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.
package/dist/style.less CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/layout",
3
- "version": "4.0.0-rc.0",
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": "jest --coverage"
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.0",
45
- "@lowdefy/helpers": "4.0.0-rc.0",
46
- "antd": "4.22.5",
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.9.1",
52
- "@lowdefy/block-dev": "4.0.0-rc.0",
53
- "@lowdefy/jest-yaml-transform": "4.0.0-rc.0",
54
- "@swc/cli": "0.1.57",
55
- "@swc/core": "1.2.194",
56
- "@swc/jest": "0.2.21",
57
- "@testing-library/dom": "8.13.0",
58
- "@testing-library/react": "13.3.0",
59
- "@testing-library/user-event": "14.2.0",
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": "f6872d7ff6da421710096536fce7b2016ef8f35c"
69
+ "gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
69
70
  }