@tplc/wot 1.0.17 → 1.0.19

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,21 @@
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.19](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.18...v1.0.19) (2025-12-29)
6
+
7
+ ### [1.0.18](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.17...v1.0.18) (2025-12-29)
8
+
9
+
10
+ ### 🚀 Chore | 构建/工程依赖/工具
11
+
12
+ * **release:** 0.7.33 ([1d6cbfd](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/1d6cbfd08c7bfca80e6116ac40d46b909b49b888))
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * Add `payCardId` to payment form and component, and refine payment type watch logic with minor UI alignment. ([0cac8e4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0cac8e49e678a81f3a1340b251c05aa591e28146))
18
+ * add button type to SelectPicker and implement remote search functionality ([2e09dea](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2e09dea2be7087b925d732b0211641d2e1039424))
19
+
5
20
  ### [1.0.17](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.32...v1.0.17) (2025-12-28)
6
21
 
7
22
 
@@ -3,84 +3,173 @@
3
3
 
4
4
  .wot-theme-dark {
5
5
  @include b(select-picker) {
6
- :deep(.wd-select-picker__arrow),
7
- :deep(.wd-select-picker__close),
8
- :deep(.wd-select-picker__clear) {
6
+ @include when(border) {
7
+ .wd-select-picker__cell {
8
+ @include halfPixelBorder('top', $-cell-padding, $-dark-border-color);
9
+ }
10
+ }
11
+
12
+ @include e(cell) {
9
13
  color: $-dark-color;
14
+ background-color: $-dark-background2;
15
+ @include when(disabled) {
16
+ .wd-select-picker__value {
17
+ color: $-dark-color3;
18
+ }
19
+ }
10
20
  }
11
21
 
12
- :deep(.wd-select-picker__cell--placeholder) {
13
- .wd-cell__value {
22
+ @include e(label) {
23
+ color: $-dark-color;
24
+ }
25
+ @include e(value) {
26
+ color: $-dark-color;
27
+ @include m(placeholder) {
14
28
  color: $-dark-color-gray;
15
29
  }
16
30
  }
31
+
32
+ :deep(.wd-select-picker__arrow),
33
+ :deep(.wd-select-picker__close) {
34
+ color: $-dark-color;
35
+ }
17
36
  }
18
37
  }
19
38
 
20
39
  @include b(select-picker) {
21
- @include edeep(cell) {
40
+ @include when(border) {
41
+ .wd-select-picker__cell {
42
+ @include halfPixelBorder('top', $-cell-padding);
43
+ }
44
+ }
45
+ @include e(cell) {
46
+ position: relative;
47
+ display: flex;
48
+ align-items: flex-start;
49
+ padding: $-cell-wrapper-padding $-cell-padding;
50
+ overflow: hidden;
51
+ font-size: $-cell-title-fs;
52
+ line-height: $-cell-line-height;
53
+ color: $-cell-title-color;
54
+ text-decoration: none;
55
+ background-color: $-color-white;
56
+ }
57
+ @include e(cell) {
22
58
  @include when(disabled) {
23
- .wd-cell__value {
59
+ .wd-select-picker__value {
24
60
  color: $-input-disabled-color;
25
- cursor: not-allowed;
61
+ }
62
+ }
63
+ @include when(align-right) {
64
+ .wd-select-picker__value {
65
+ text-align: right;
26
66
  }
27
67
  }
28
68
  @include when(error) {
29
- .wd-cell__value {
69
+ .wd-select-picker__value {
30
70
  color: $-input-error-color;
31
71
  }
32
- .wd-select-picker__arrow {
72
+ :deep(.wd-select-picker__arrow) {
33
73
  color: $-input-error-color;
34
74
  }
35
75
  }
76
+ @include when(large) {
77
+ font-size: $-cell-title-fs-large;
36
78
 
37
- @include m(placeholder) {
38
- .wd-cell__value {
39
- color: $-input-placeholder-color;
79
+ :deep(.wd-select-picker__arrow) {
80
+ font-size: $-cell-icon-size-large;
40
81
  }
41
82
  }
83
+ }
84
+ @include e(error-message) {
85
+ font-size: $-form-item-error-message-font-size;
86
+ line-height: $-form-item-error-message-line-height;
87
+ color: $-form-item-error-message-color;
88
+ text-align: left;
89
+ vertical-align: middle;
90
+ }
91
+ @include e(label) {
92
+ position: relative;
93
+ box-sizing: border-box;
94
+ width: $-input-cell-label-width;
95
+ margin-right: $-cell-padding;
96
+ color: $-cell-title-color;
42
97
 
43
- @include when(large) {
44
- .wd-select-picker__arrow,
45
- .wd-select-picker__clear {
46
- font-size: $-cell-icon-size-large;
98
+ @include when(required) {
99
+ .wd-select-picker__label-inner {
100
+ position: relative;
101
+ &::after {
102
+ position: absolute;
103
+ top: 2px;
104
+ right: -24rpx;
105
+ font-size: $-cell-required-size;
106
+ line-height: 1.1;
107
+ color: $-cell-required-color;
108
+ content: '*';
109
+ }
47
110
  }
48
111
  }
49
112
  }
50
-
51
- @include edeep(arrow, clear) {
113
+ @include e(value-wraper) {
114
+ display: flex;
115
+ }
116
+ @include e(value) {
117
+ flex: 1;
118
+ margin-right: 10px;
119
+ color: $-cell-value-color;
120
+
121
+ @include when(ellipsis) {
122
+ @include lineEllipsis;
123
+ }
124
+ @include m(placeholder) {
125
+ color: $-input-placeholder-color;
126
+ }
127
+ }
128
+ @include e(body) {
129
+ flex: 1;
130
+ }
131
+ @include edeep(arrow) {
52
132
  display: block;
53
133
  font-size: $-cell-icon-size;
54
- color: $-cell-arrow-color;
55
134
  line-height: $-cell-line-height;
135
+ color: $-cell-arrow-color;
56
136
  }
57
137
 
58
- @include edeep(clear) {
59
- color: $-cell-clear-color;
60
- }
61
-
62
138
  @include e(loading) {
63
139
  position: absolute;
64
- display: flex;
65
140
  top: 0;
66
141
  right: 0;
67
142
  bottom: 0;
68
143
  left: 0;
144
+ z-index: 3;
145
+ display: flex;
146
+ align-items: center;
147
+ justify-content: center;
148
+ background: $-picker-loading-bg;
149
+ }
150
+ @include e(no-more) {
151
+ text-align: center;
152
+ color: $-cell-arrow-color;
153
+ padding: 24rpx 0;
154
+ font-size: 28rpx;
155
+ }
156
+ @include e(innerLoading) {
157
+ display: flex;
69
158
  align-items: center;
70
159
  justify-content: center;
71
- z-index: 3;
72
160
  background: $-picker-loading-bg;
161
+ padding: 24rpx 0;
73
162
  }
74
-
163
+ // selectPiceker多出的样式
75
164
  @include edeep(header) {
76
165
  height: 72px;
77
166
  line-height: 72px;
78
167
  }
79
168
  @include e(wrapper) {
80
- padding: 0 10px;
81
169
  position: relative;
82
- max-height: 356px;
83
170
  box-sizing: border-box;
171
+ max-height: 356px;
172
+ padding: 0 10px;
84
173
  overflow: auto;
85
174
 
86
175
  @include when(filterable) {
@@ -95,31 +184,6 @@
95
184
  @include e(text-active) {
96
185
  color: $-color-theme;
97
186
  }
98
-
99
- @include e(footer) {
100
- padding: 24px 15px;
101
- }
102
-
103
- // ========== 你的自定义样式 ==========
104
-
105
- // 没有更多数据样式
106
- @include e(no-more) {
107
- text-align: center;
108
- color: $-cell-arrow-color;
109
- padding: 24rpx 0;
110
- font-size: 28rpx;
111
- }
112
-
113
- // 内部加载样式
114
- @include e(innerLoading) {
115
- display: flex;
116
- align-items: center;
117
- justify-content: center;
118
- background: $-picker-loading-bg;
119
- padding: 24rpx 0;
120
- }
121
-
122
- // 按钮样式
123
187
  @include e(button) {
124
188
  width: 100%;
125
189
  height: 72rpx;
@@ -135,5 +199,8 @@
135
199
  border: 1px solid $-color-theme;
136
200
  }
137
201
  }
138
- }
139
202
 
203
+ @include e(footer) {
204
+ padding: 24px 15px;
205
+ }
206
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "1.0.17",
4
+ "version": "1.0.19",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",