@wot-ui/ui 2.0.3 → 2.0.4

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
@@ -1,6 +1,8 @@
1
1
  # 更新日志
2
2
 
3
3
 
4
+ ### [2.0.4](https://github.com/wot-ui/wot-ui/compare/v2.0.3...v2.0.4) (2026-04-24)
5
+
4
6
  ### [2.0.3](https://github.com/wot-ui/wot-ui/compare/v2.0.2...v2.0.3) (2026-04-23)
5
7
 
6
8
 
@@ -79,6 +79,8 @@ $cell-margin-horizontal: var(--wot-cell-margin-horizontal, $spacing-loose) !defa
79
79
  $cell-arrow-margin-left: var(--wot-cell-arrow-margin-left, $spacing-tight) !default;
80
80
  // 标签顶部间距
81
81
  $cell-label-margin-top: var(--wot-cell-label-margin-top, $spacing-super-tight) !default;
82
+ // 分割线左右边距
83
+ $cell-border-margin-horizontal: var(--wot-cell-border-margin-horizontal, $spacing-loose) !default;
82
84
 
83
85
  @include b(cell) {
84
86
  position: relative;
@@ -90,7 +92,7 @@ $cell-label-margin-top: var(--wot-cell-label-margin-top, $spacing-super-tight) !
90
92
  width: 100%;
91
93
 
92
94
  @include when(border) {
93
- @include halfPixelBorder('top',$cell-padding,$cell-border-color);
95
+ @include halfPixelBorder('top', $cell-border-margin-horizontal, $cell-border-color);
94
96
  }
95
97
 
96
98
  @include e(wrapper) {
@@ -165,7 +167,7 @@ $cell-label-margin-top: var(--wot-cell-label-margin-top, $spacing-super-tight) !
165
167
  color: $cell-icon-color;
166
168
  }
167
169
 
168
- @include e(body){
170
+ @include e(body) {
169
171
  display: flex;
170
172
  min-width: 0;
171
173
  }
@@ -178,11 +180,11 @@ $cell-label-margin-top: var(--wot-cell-label-margin-top, $spacing-super-tight) !
178
180
  color: $cell-value-color;
179
181
  vertical-align: middle;
180
182
  word-break: break-all;
181
-
183
+
182
184
  @include m(left) {
183
185
  text-align: left;
184
186
  }
185
-
187
+
186
188
  @include m(right) {
187
189
  text-align: right;
188
190
  }
@@ -190,7 +192,7 @@ $cell-label-margin-top: var(--wot-cell-label-margin-top, $spacing-super-tight) !
190
192
  @include m(center) {
191
193
  text-align: center;
192
194
  }
193
-
195
+
194
196
  @include m(ellipsis) {
195
197
  @include lineEllipsis;
196
198
  min-width: 0;
@@ -729,6 +729,7 @@ export type cellThemeVars = {
729
729
  cellBg?: string // 单元格背景色
730
730
  cellBgActive?: string // 单元格激活态背景色
731
731
  cellBorderColor?: string // 边框颜色
732
+ cellBorderMarginHorizontal?: string // 分割线左右边距
732
733
  cellClearColor?: string // 清除图标颜色
733
734
  cellIconColor?: string // 图标颜色
734
735
  cellIconSize?: string // 图标尺寸
package/package.json CHANGED
@@ -1 +1 @@
1
- {"id":"wot-ui","name":"@wot-ui/ui","displayName":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库","version":"2.0.3","license":"MIT","description":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库。","keywords":["wot-ui","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","repository":{"type":"git","url":"https://github.com/wot-ui/wot-ui.git"},"engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/@wot-ui/ui"},"vetur":{"tags":"tags.json","attributes":"attributes.json"},"web-types":"web-types.json","uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y","alipay":"n"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"n","app-uvue":"n"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"y","IE":"u","Edge":"y","Firefox":"y","Safari":"y"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"y","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}}
1
+ {"id":"wot-ui","name":"@wot-ui/ui","displayName":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库","version":"2.0.4","license":"MIT","description":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库。","keywords":["wot-ui","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","repository":{"type":"git","url":"https://github.com/wot-ui/wot-ui.git"},"engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/@wot-ui/ui"},"vetur":{"tags":"tags.json","attributes":"attributes.json"},"web-types":"web-types.json","uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y","alipay":"n"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"n","app-uvue":"n"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"y","IE":"u","Edge":"y","Firefox":"y","Safari":"y"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"y","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}}