@tplc/wot 1.0.24 → 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,20 @@
|
|
|
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
|
+
|
|
12
|
+
### [1.0.25](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.53...v1.0.25) (2026-01-07)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* **lcb-calendar-search, lcb-product-item:** add new props for placeholder styling and image display options ([c17182d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c17182da05d8db59764f3dd7127a98304a096b83))
|
|
18
|
+
|
|
5
19
|
### [1.0.24](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.42...v1.0.24) (2026-01-04)
|
|
6
20
|
|
|
7
21
|
### [1.0.23](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.37...v1.0.23) (2025-12-31)
|
|
@@ -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
|
|
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:
|
|
74
|
+
itemFontSize: makeNumericProp(28),
|
|
75
75
|
/**
|
|
76
76
|
* 字体粗细
|
|
77
77
|
*/
|
|
78
|
-
itemFontWeight:
|
|
78
|
+
itemFontWeight: makeNumericProp('normal'),
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* 活动状态字体粗细
|
|
82
82
|
*/
|
|
83
|
-
activeFontWeight:
|
|
83
|
+
activeFontWeight: makeNumericProp('normal'),
|
|
84
84
|
/**
|
|
85
85
|
* 活动状态字体大小
|
|
86
86
|
*/
|
|
87
|
-
activeFontSize:
|
|
87
|
+
activeFontSize: makeNumericProp(28),
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export type TabsProps = ExtractPropTypes<typeof tabsProps>
|
package/package.json
CHANGED
|
@@ -93,28 +93,28 @@ export declare const tabsProps: {
|
|
|
93
93
|
* 字体大小
|
|
94
94
|
*/
|
|
95
95
|
itemFontSize: {
|
|
96
|
-
type:
|
|
96
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
97
97
|
default: number
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* 字体粗细
|
|
101
101
|
*/
|
|
102
102
|
itemFontWeight: {
|
|
103
|
-
type:
|
|
103
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
104
104
|
default: string
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* 活动状态字体粗细
|
|
108
108
|
*/
|
|
109
109
|
activeFontWeight: {
|
|
110
|
-
type:
|
|
110
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
111
111
|
default: string
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* 活动状态字体大小
|
|
115
115
|
*/
|
|
116
116
|
activeFontSize: {
|
|
117
|
-
type:
|
|
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:
|
|
51
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
52
52
|
default: number
|
|
53
53
|
}
|
|
54
54
|
itemFontWeight: {
|
|
55
|
-
type:
|
|
55
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
56
56
|
default: string
|
|
57
57
|
}
|
|
58
58
|
activeFontWeight: {
|
|
59
|
-
type:
|
|
59
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
60
60
|
default: string
|
|
61
61
|
}
|
|
62
62
|
activeFontSize: {
|
|
63
|
-
type:
|
|
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:
|
|
142
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
143
143
|
default: number
|
|
144
144
|
}
|
|
145
145
|
itemFontWeight: {
|
|
146
|
-
type:
|
|
146
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
147
147
|
default: string
|
|
148
148
|
}
|
|
149
149
|
activeFontWeight: {
|
|
150
|
-
type:
|
|
150
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
151
151
|
default: string
|
|
152
152
|
}
|
|
153
153
|
activeFontSize: {
|
|
154
|
-
type:
|
|
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
|
>,
|