@lowdefy/plugin-aws 4.0.0-alpha.7 → 4.0.0-alpha.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.
@@ -1,4 +1,3 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  /*
3
2
  Copyright 2020-2021 Lowdefy, Inc
4
3
 
@@ -138,7 +137,7 @@ const S3UploadButtonBlock = ({ blockId , components , events , methods , propert
138
137
  properties,
139
138
  value
140
139
  });
141
- return(/*#__PURE__*/ _jsx(Upload, {
140
+ return(/*#__PURE__*/ React.createElement(Upload, {
142
141
  accept: properties.accept,
143
142
  customRequest: customRequest,
144
143
  disabled: disabled,
@@ -150,21 +149,20 @@ const S3UploadButtonBlock = ({ blockId , components , events , methods , propert
150
149
  methods.triggerEvent({
151
150
  name: 'onChange'
152
151
  });
152
+ }
153
+ }, /*#__PURE__*/ React.createElement(Button, {
154
+ blockId: `${blockId}_button`,
155
+ components: components,
156
+ events: events,
157
+ properties: {
158
+ disabled,
159
+ icon: 'AiOutlineUpload',
160
+ title: 'Upload',
161
+ type: 'default',
162
+ ...properties.button
153
163
  },
154
- children: /*#__PURE__*/ _jsx(Button, {
155
- blockId: `${blockId}_button`,
156
- components: components,
157
- events: events,
158
- properties: {
159
- disabled,
160
- icon: 'AiOutlineUpload',
161
- title: 'Upload',
162
- type: 'default',
163
- ...properties.button
164
- },
165
- methods: methods
166
- })
167
- }));
164
+ methods: methods
165
+ })));
168
166
  };
169
167
  S3UploadButtonBlock.defaultProps = blockDefaultProps;
170
168
  S3UploadButtonBlock.meta = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/plugin-aws",
3
- "version": "4.0.0-alpha.7",
3
+ "version": "4.0.0-alpha.8",
4
4
  "licence": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -42,18 +42,18 @@
42
42
  "test": "jest --coverage"
43
43
  },
44
44
  "dependencies": {
45
- "@lowdefy/block-utils": "4.0.0-alpha.7",
46
- "@lowdefy/blocks-antd": "4.0.0-alpha.7",
47
- "@lowdefy/helpers": "4.0.0-alpha.7",
48
- "antd": "4.17.0-alpha.7",
45
+ "@lowdefy/block-utils": "4.0.0-alpha.8",
46
+ "@lowdefy/blocks-antd": "4.0.0-alpha.8",
47
+ "@lowdefy/helpers": "4.0.0-alpha.8",
48
+ "antd": "4.18.2",
49
49
  "aws-sdk": "2.1066.0",
50
- "react": "18.0.0-rc.0",
51
- "react-dom": "18.0.0-rc.0"
50
+ "react": "17.0.2",
51
+ "react-dom": "17.0.2"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@emotion/jest": "11.7.1",
55
- "@lowdefy/ajv": "4.0.0-alpha.7",
56
- "@lowdefy/block-dev": "4.0.0-alpha.7",
55
+ "@lowdefy/ajv": "4.0.0-alpha.8",
56
+ "@lowdefy/block-dev": "4.0.0-alpha.8",
57
57
  "@swc/cli": "0.1.55",
58
58
  "@swc/core": "1.2.135",
59
59
  "@swc/jest": "0.2.17",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "52ec14639d00de910cf9b8ab25bf933ca891cff5"
71
+ "gitHead": "9d56b83cf45e868afe3a1eeba750fe826eb74c8c"
72
72
  }