@kdcloudjs/kdesign 1.2.1 → 1.2.2

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.
@@ -113,13 +113,12 @@
113
113
  list-style: none;
114
114
  -webkit-font-feature-settings: 'tnum';
115
115
  font-feature-settings: 'tnum';
116
- overflow: hidden;
117
- text-overflow: ellipsis;
118
116
  position: relative;
119
117
  display: inline-block;
120
118
  padding-left: var(--kd-c-radio-square-sizing-width-height, 14px);
121
119
  margin-right: var(--kd-c-radio-spacing-margin-right, 8px);
122
120
  white-space: nowrap;
121
+ text-overflow: ellipsis;
123
122
  cursor: pointer;
124
123
  vertical-align: middle;
125
124
  color: var(--kd-c-radio-color-font, var(--kd-g-color-text-primary, #212121));
@@ -179,8 +178,8 @@
179
178
  border-color: var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3));
180
179
  }
181
180
  .kd-radio-checked:focus-within::before {
182
- -webkit-box-shadow: 0 0 0 3px rgba(var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3)), 10%);
183
- box-shadow: 0 0 0 3px rgba(var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3)), 10%);
181
+ -webkit-box-shadow: 0 0 0 3px rgba(85, 130, 243, 0.1);
182
+ box-shadow: 0 0 0 3px rgba(85, 130, 243, 0.1);
184
183
  }
185
184
  .kd-radio-checked::after {
186
185
  position: absolute;
@@ -293,8 +292,8 @@
293
292
  border-color: var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3));
294
293
  }
295
294
  .kd-radio-square-checked:focus-within {
296
- -webkit-box-shadow: 0 0 0 3px rgba(var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3)), 10%);
297
- box-shadow: 0 0 0 3px rgba(var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3)), 10%);
295
+ -webkit-box-shadow: 0 0 0 3px rgba(85, 130, 243, 0.1);
296
+ box-shadow: 0 0 0 3px rgba(85, 130, 243, 0.1);
298
297
  }
299
298
  .kd-radio-square-checked::after {
300
299
  position: absolute;
@@ -402,8 +401,8 @@
402
401
  background-color: var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3));
403
402
  }
404
403
  .kd-radio-button-checked:focus-within {
405
- -webkit-box-shadow: 0 0 0 3px rgba(var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3)), 10%);
406
- box-shadow: 0 0 0 3px rgba(var(--kd-c-radio-color-theme, var(--kd-g-color-theme, #5582f3)), 10%);
404
+ -webkit-box-shadow: 0 0 0 3px rgba(85, 130, 243, 0.1);
405
+ box-shadow: 0 0 0 3px rgba(85, 130, 243, 0.1);
407
406
  }
408
407
  .kd-radio-button-checked:hover {
409
408
  color: var(--kd-c-radio-color-background, var(--kd-g-color-white, #fff));
@@ -5,12 +5,11 @@
5
5
  @radio-square-prefix-cls: ~'@{radio-prefix-cls}-square';
6
6
  @radio-button-prefix-cls: ~'@{radio-prefix-cls}-button';
7
7
  @radio-group-prefix-cls: ~'@{radio-prefix-cls}-group';
8
- @radio-focus-shadow: 0 0 0 3px rgba(@radio-color-theme, 10%);
8
+ @radio-focus-shadow: 0 0 0 3px rgba(85, 130, 243, 10%);
9
9
 
10
10
  // 默认类型(单选项)
11
11
  .@{radio-prefix-cls} {
12
12
  .reset-component();
13
- .ellipsis();
14
13
 
15
14
  // 默认状态
16
15
  position: relative;
@@ -18,6 +17,7 @@
18
17
  padding-left: @radio-circle-size;
19
18
  margin-right: @radio-margin-right;
20
19
  white-space: nowrap;
20
+ text-overflow: ellipsis;
21
21
  cursor: pointer;
22
22
  vertical-align: middle;
23
23
  color: @radio-font-color;
package/lib/tabs/tabs.js CHANGED
@@ -178,7 +178,7 @@ var Tabs = function Tabs(props) {
178
178
  });
179
179
 
180
180
  if (index !== -1) {
181
- (_a = carouselRef.current) === null || _a === void 0 ? void 0 : _a.jumpTo(index);
181
+ (_a = carouselRef.current) === null || _a === void 0 ? void 0 : _a.jumpTo(index, true);
182
182
  }
183
183
  }, [curActiveKey, carouselRef, carouselData]);
184
184
  (0, _react.useEffect)(function () {
@@ -464,6 +464,11 @@ var Tabs = function Tabs(props) {
464
464
 
465
465
  carouselData.push(item);
466
466
  });
467
+
468
+ if (effect !== 'none') {
469
+ console.log('effect', effect);
470
+ }
471
+
467
472
  return /*#__PURE__*/_react.default.createElement(_carousel.default, {
468
473
  ref: carouselRef,
469
474
  dots: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [