@cloudbase/lowcode-builder 1.0.23 → 1.0.24

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.
@@ -338,7 +338,7 @@ async function generatePkg(weapp, appRoot, ctx, pageConfigs) {
338
338
  subWxss: rootPath && !((_b = ctx.mainAppData) === null || _b === void 0 ? void 0 : _b.mpPkgUrl)
339
339
  ? `@import "${path_1.default.relative(`/${rootPath}/pages/${page.id}`, '/lowcode')}/style.wxss";`
340
340
  : '',
341
- content: (0, weapps_core_1.toCssText)((0, weapps_core_1.toCssStyle)(page.commonStyle, {
341
+ content: (0, weapps_core_1.toCssText)((0, cals_1.processCommonStyle2CSSProperties)(page.commonStyle, {
342
342
  toRem: false,
343
343
  toRpx: true,
344
344
  }), 'page'),
@@ -5,11 +5,12 @@ const weapps_core_1 = require("@cloudbase/lowcode-generator/lib/weapps-core");
5
5
  const weapp_1 = require("@cloudbase/lowcode-generator/lib/generator/util/weapp");
6
6
  const wxml_1 = require("./wxml");
7
7
  const mp_1 = require("@cloudbase/lowcode-generator/lib/generator/config/mp");
8
+ const cals_1 = require("@cloudbase/cals");
8
9
  function extractWidgetProps(props, compInfo) {
9
10
  var _a, _b;
10
11
  const { classList } = props;
11
12
  const staticProps = {
12
- style: (0, weapps_core_1.toCssStyle)(props.commonStyle, {
13
+ style: (0, cals_1.processCommonStyle2CSSProperties)(props.commonStyle, {
13
14
  toRpx: true,
14
15
  toRem: false,
15
16
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/lowcode-builder",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
@@ -38,8 +38,8 @@
38
38
  "url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
39
39
  },
40
40
  "dependencies": {
41
- "@cloudbase/cals": "^0.4.3",
42
- "@cloudbase/lowcode-generator": "^1.0.9",
41
+ "@cloudbase/cals": "^0.4.4",
42
+ "@cloudbase/lowcode-generator": "^1.0.10",
43
43
  "axios": "^0.21.0",
44
44
  "browserfs": "^1.4.3",
45
45
  "browserify-zlib": "^0.2.0",
@@ -461,7 +461,7 @@
461
461
  ></script>
462
462
  <script
463
463
  crossorigin
464
- src="https://qbase.cdn-go.cn/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.d09b61499ac932efe330.bundle.js"
464
+ src="https://qbase.cdn-go.cn/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.19da26e1c1fbee5e0bc4.bundle.js"
465
465
  ></script>
466
466
  </body>
467
467
  </html>