@pisell/materials 6.11.248 → 6.11.250

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.
Files changed (25) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +3 -3
  6. package/build/lowcode/preview.js +1 -1
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +48 -48
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +48 -48
  11. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  12. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  13. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  14. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  15. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +1 -1
  16. package/es/components/productCard/cartSkuCard/components/specs/index.less +9 -4
  17. package/es/components/productCard/cartSkuCard/index.less +3 -0
  18. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  19. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  20. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  21. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  22. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +1 -1
  23. package/lib/components/productCard/cartSkuCard/components/specs/index.less +9 -4
  24. package/lib/components/productCard/cartSkuCard/index.less +3 -0
  25. package/package.json +3 -3
@@ -6,7 +6,7 @@ import * as _$antd from "antd";
6
6
  declare const Subdomain: React.FC<_$antd.InputProps & {
7
7
  onChange: (value: string) => void;
8
8
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
9
- rootDomain: "custom" | "saas" | "xzero";
9
+ rootDomain: "saas" | "custom" | "xzero";
10
10
  customDomain?: string | undefined;
11
11
  value?: string | undefined;
12
12
  tenantId: string;
@@ -5,7 +5,7 @@ import React from "react";
5
5
  //#region src/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts
6
6
  declare const RecordListWrapperWithDataSource: (props: RecordListWrapperProps & WithModeProps & WithFormItemProps & {
7
7
  options?: any;
8
- optionSourceType?: "default" | "custom" | "api" | undefined;
8
+ optionSourceType?: "default" | "api" | "custom" | undefined;
9
9
  labelField: string;
10
10
  valueField: string;
11
11
  extraParams?: Record<string, any> | undefined;
@@ -6,7 +6,7 @@ import * as _$antd_es_select0 from "antd/es/select";
6
6
  //#region src/components/dataSourceComponents/fields/Select/index.d.ts
7
7
  declare const SelectWithDataSource: (props: _$antd.SelectProps<any, _$antd_es_select0.DefaultOptionType> & WithModeProps & WithFormItemProps & {
8
8
  options?: any;
9
- optionSourceType?: "default" | "custom" | "api" | undefined;
9
+ optionSourceType?: "default" | "api" | "custom" | undefined;
10
10
  labelField: string;
11
11
  valueField: string;
12
12
  extraParams?: Record<string, any> | undefined;
@@ -7,7 +7,7 @@ import * as _$react from "react";
7
7
  /** 包装 DataSource 层(提供数据源上下文) */
8
8
  declare const FormItemTabs: (props: TabsProps & WithModeProps & WithFormItemProps & {
9
9
  options?: any;
10
- optionSourceType?: "default" | "custom" | "api" | undefined;
10
+ optionSourceType?: "default" | "api" | "custom" | undefined;
11
11
  labelField: string;
12
12
  valueField: string;
13
13
  extraParams?: Record<string, any> | undefined;
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  &__footer-price-wrap--weighing {
26
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
26
+ font-size: var(--pisell-cart-sku-card-weighing-summary-font-size, 18px);
27
27
  line-height: 1.3;
28
28
  letter-spacing: -0.02em;
29
29
  }
@@ -47,9 +47,9 @@
47
47
 
48
48
  .pisell-cart-sku-card__product-meta--weighing & {
49
49
  .pisell-lowcode-packages-product-bundle-option {
50
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
50
+ font-size: var(--pisell-cart-sku-card-weighing-meta-font-size, 18px);
51
51
  line-height: 1.3;
52
- letter-spacing: -0.04em;
52
+ letter-spacing: -0.01em;
53
53
  }
54
54
  }
55
55
 
@@ -62,8 +62,13 @@
62
62
 
63
63
  .pisell-cart-sku-card__product-meta--weighing {
64
64
  .pisell-cart-sku-card__specs {
65
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
65
+ font-size: var(--pisell-cart-sku-card-weighing-meta-font-size, 18px);
66
66
  line-height: 1.3;
67
- letter-spacing: -0.04em;
67
+ letter-spacing: -0.01em;
68
+ }
69
+
70
+ .pisell-cart-sku-card__specs-more {
71
+ font-size: 14px;
72
+ line-height: 18px;
68
73
  }
69
74
  }
@@ -36,6 +36,9 @@
36
36
  var(--pisell-cart-sku-card-weighing-font-base) *
37
37
  var(--pisell-cart-sku-card-device-font-scale)
38
38
  );
39
+ // 称重卡片的辅助信息保持易读,但不与毛重/净重争夺视觉层级。
40
+ --pisell-cart-sku-card-weighing-meta-font-size: 18px;
41
+ --pisell-cart-sku-card-weighing-summary-font-size: 18px;
39
42
 
40
43
  padding: 4px 8px 4px 4px;
41
44
  border-radius: inherit;
@@ -6,7 +6,7 @@ import * as _$antd from "antd";
6
6
  declare const Subdomain: React.FC<_$antd.InputProps & {
7
7
  onChange: (value: string) => void;
8
8
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
9
- rootDomain: "custom" | "saas" | "xzero";
9
+ rootDomain: "saas" | "custom" | "xzero";
10
10
  customDomain?: string | undefined;
11
11
  value?: string | undefined;
12
12
  tenantId: string;
@@ -5,7 +5,7 @@ import React from "react";
5
5
  //#region src/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts
6
6
  declare const RecordListWrapperWithDataSource: (props: RecordListWrapperProps & WithModeProps & WithFormItemProps & {
7
7
  options?: any;
8
- optionSourceType?: "default" | "custom" | "api" | undefined;
8
+ optionSourceType?: "default" | "api" | "custom" | undefined;
9
9
  labelField: string;
10
10
  valueField: string;
11
11
  extraParams?: Record<string, any> | undefined;
@@ -6,7 +6,7 @@ import * as _$antd_es_select0 from "antd/es/select";
6
6
  //#region src/components/dataSourceComponents/fields/Select/index.d.ts
7
7
  declare const SelectWithDataSource: (props: _$antd.SelectProps<any, _$antd_es_select0.DefaultOptionType> & WithModeProps & WithFormItemProps & {
8
8
  options?: any;
9
- optionSourceType?: "default" | "custom" | "api" | undefined;
9
+ optionSourceType?: "default" | "api" | "custom" | undefined;
10
10
  labelField: string;
11
11
  valueField: string;
12
12
  extraParams?: Record<string, any> | undefined;
@@ -7,7 +7,7 @@ import * as _$react from "react";
7
7
  /** 包装 DataSource 层(提供数据源上下文) */
8
8
  declare const FormItemTabs: (props: TabsProps & WithModeProps & WithFormItemProps & {
9
9
  options?: any;
10
- optionSourceType?: "default" | "custom" | "api" | undefined;
10
+ optionSourceType?: "default" | "api" | "custom" | undefined;
11
11
  labelField: string;
12
12
  valueField: string;
13
13
  extraParams?: Record<string, any> | undefined;
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  &__footer-price-wrap--weighing {
26
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
26
+ font-size: var(--pisell-cart-sku-card-weighing-summary-font-size, 18px);
27
27
  line-height: 1.3;
28
28
  letter-spacing: -0.02em;
29
29
  }
@@ -47,9 +47,9 @@
47
47
 
48
48
  .pisell-cart-sku-card__product-meta--weighing & {
49
49
  .pisell-lowcode-packages-product-bundle-option {
50
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
50
+ font-size: var(--pisell-cart-sku-card-weighing-meta-font-size, 18px);
51
51
  line-height: 1.3;
52
- letter-spacing: -0.04em;
52
+ letter-spacing: -0.01em;
53
53
  }
54
54
  }
55
55
 
@@ -62,8 +62,13 @@
62
62
 
63
63
  .pisell-cart-sku-card__product-meta--weighing {
64
64
  .pisell-cart-sku-card__specs {
65
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
65
+ font-size: var(--pisell-cart-sku-card-weighing-meta-font-size, 18px);
66
66
  line-height: 1.3;
67
- letter-spacing: -0.04em;
67
+ letter-spacing: -0.01em;
68
+ }
69
+
70
+ .pisell-cart-sku-card__specs-more {
71
+ font-size: 14px;
72
+ line-height: 18px;
68
73
  }
69
74
  }
@@ -36,6 +36,9 @@
36
36
  var(--pisell-cart-sku-card-weighing-font-base) *
37
37
  var(--pisell-cart-sku-card-device-font-scale)
38
38
  );
39
+ // 称重卡片的辅助信息保持易读,但不与毛重/净重争夺视觉层级。
40
+ --pisell-cart-sku-card-weighing-meta-font-size: 18px;
41
+ --pisell-cart-sku-card-weighing-summary-font-size: 18px;
39
42
 
40
43
  padding: 4px 8px 4px 4px;
41
44
  border-radius: inherit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.11.248",
3
+ "version": "6.11.250",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -95,9 +95,9 @@
95
95
  "swiper": "^8.4.7",
96
96
  "antd-mobile": "^5.38.1",
97
97
  "vod-js-sdk-v6": "^1.4.11",
98
+ "@pisell/icon": "0.0.11",
98
99
  "@pisell/date-picker": "3.0.10",
99
- "@pisell/utils": "3.0.4",
100
- "@pisell/icon": "0.0.11"
100
+ "@pisell/utils": "3.0.4"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": "^18.0.0",