@tplc/wot 1.0.25 → 1.0.26

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.26](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.63...v1.0.26) (2026-01-11)
6
+
7
+
8
+ ### ♻️ Code Refactoring | 代码重构
9
+
10
+ * **lcb-video:** update video component styles and extend props for dynamic sizing ([56757fa](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/56757fa5b437bff60015c0f9d7c05d7959d19927))
11
+
5
12
  ### [1.0.25](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.53...v1.0.25) (2026-01-07)
6
13
 
7
14
 
@@ -3,7 +3,7 @@
3
3
  <image
4
4
  v-if="status !== 'success' && !isGif && !isWebp"
5
5
  :class="`wd-img__image coverImg ${customImage}`"
6
- class="absolute"
6
+ class="absolute z-1"
7
7
  :src="wrapPhoto({ photo: src, width: lazyPlaceWidth, type: 2 })"
8
8
  :mode="mode"
9
9
  :lazy-load="lazyLoad"
@@ -41,7 +41,7 @@ const painted = ref<boolean>(active.value) // 初始状态tab不会渲染,必
41
41
 
42
42
  const tabBodyStyle = computed(() => {
43
43
  const style: CSSProperties = {}
44
- if (!active.value && (!isDef(tabs) || !(tabs as any).props.animated)) {
44
+ if (!active.value && (!isDef(tabs) || !(tabs as any).props?.animated)) {
45
45
  style.display = 'none'
46
46
  }
47
47
  return objToStyle(style)
@@ -71,20 +71,20 @@ export const tabsProps = {
71
71
  /**
72
72
  * 字体大小
73
73
  */
74
- itemFontSize: makeStringProp(28),
74
+ itemFontSize: makeNumericProp(28),
75
75
  /**
76
76
  * 字体粗细
77
77
  */
78
- itemFontWeight: makeStringProp('normal'),
78
+ itemFontWeight: makeNumericProp('normal'),
79
79
 
80
80
  /**
81
81
  * 活动状态字体粗细
82
82
  */
83
- activeFontWeight: makeStringProp('normal'),
83
+ activeFontWeight: makeNumericProp('normal'),
84
84
  /**
85
85
  * 活动状态字体大小
86
86
  */
87
- activeFontSize: makeStringProp(28),
87
+ activeFontSize: makeNumericProp(28),
88
88
  }
89
89
 
90
90
  export type TabsProps = ExtractPropTypes<typeof tabsProps>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "1.0.25",
4
+ "version": "1.0.26",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",
@@ -93,28 +93,28 @@ export declare const tabsProps: {
93
93
  * 字体大小
94
94
  */
95
95
  itemFontSize: {
96
- type: import('vue').PropType<number>
96
+ type: (NumberConstructor | StringConstructor)[]
97
97
  default: number
98
98
  }
99
99
  /**
100
100
  * 字体粗细
101
101
  */
102
102
  itemFontWeight: {
103
- type: import('vue').PropType<string>
103
+ type: (NumberConstructor | StringConstructor)[]
104
104
  default: string
105
105
  }
106
106
  /**
107
107
  * 活动状态字体粗细
108
108
  */
109
109
  activeFontWeight: {
110
- type: import('vue').PropType<string>
110
+ type: (NumberConstructor | StringConstructor)[]
111
111
  default: string
112
112
  }
113
113
  /**
114
114
  * 活动状态字体大小
115
115
  */
116
116
  activeFontSize: {
117
- type: import('vue').PropType<number>
117
+ type: (NumberConstructor | StringConstructor)[]
118
118
  default: number
119
119
  }
120
120
  customStyle: {
@@ -48,19 +48,19 @@ declare const _default: __VLS_WithTemplateSlots<
48
48
  default: import('./types').TagsMode
49
49
  }
50
50
  itemFontSize: {
51
- type: import('vue').PropType<number>
51
+ type: (NumberConstructor | StringConstructor)[]
52
52
  default: number
53
53
  }
54
54
  itemFontWeight: {
55
- type: import('vue').PropType<string>
55
+ type: (NumberConstructor | StringConstructor)[]
56
56
  default: string
57
57
  }
58
58
  activeFontWeight: {
59
- type: import('vue').PropType<string>
59
+ type: (NumberConstructor | StringConstructor)[]
60
60
  default: string
61
61
  }
62
62
  activeFontSize: {
63
- type: import('vue').PropType<number>
63
+ type: (NumberConstructor | StringConstructor)[]
64
64
  default: number
65
65
  }
66
66
  customStyle: {
@@ -139,19 +139,19 @@ declare const _default: __VLS_WithTemplateSlots<
139
139
  default: import('./types').TagsMode
140
140
  }
141
141
  itemFontSize: {
142
- type: import('vue').PropType<number>
142
+ type: (NumberConstructor | StringConstructor)[]
143
143
  default: number
144
144
  }
145
145
  itemFontWeight: {
146
- type: import('vue').PropType<string>
146
+ type: (NumberConstructor | StringConstructor)[]
147
147
  default: string
148
148
  }
149
149
  activeFontWeight: {
150
- type: import('vue').PropType<string>
150
+ type: (NumberConstructor | StringConstructor)[]
151
151
  default: string
152
152
  }
153
153
  activeFontSize: {
154
- type: import('vue').PropType<number>
154
+ type: (NumberConstructor | StringConstructor)[]
155
155
  default: number
156
156
  }
157
157
  customStyle: {
@@ -183,10 +183,10 @@ declare const _default: __VLS_WithTemplateSlots<
183
183
  mapNum: number
184
184
  swipeable: boolean
185
185
  animated: boolean
186
- itemFontSize: number
187
- itemFontWeight: string
188
- activeFontWeight: string
189
- activeFontSize: number
186
+ itemFontSize: string | number
187
+ itemFontWeight: string | number
188
+ activeFontWeight: string | number
189
+ activeFontSize: string | number
190
190
  },
191
191
  {}
192
192
  >,