@zat-design/sisyphus-react 3.4.5-beta.31 → 3.4.5-beta.32

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.
@@ -2362,6 +2362,19 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2362
2362
  .pro-tree-modal .ant-input-group-wrapper:hover .ant-input-disabled + span .close-icon {
2363
2363
  display: none;
2364
2364
  }
2365
+ .pro-modal-select .ant-input-affix-wrapper,
2366
+ .pro-tree-modal .ant-input-affix-wrapper {
2367
+ border-top-right-radius: 0;
2368
+ border-bottom-right-radius: 0;
2369
+ }
2370
+ .pro-modal-select .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn,
2371
+ .pro-tree-modal .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn {
2372
+ border: 1px solid var(--ant-error-color);
2373
+ }
2374
+ .pro-modal-select .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn > .viewSvg,
2375
+ .pro-tree-modal .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn > .viewSvg {
2376
+ color: var(--ant-error-color);
2377
+ }
2365
2378
  .pro-modal-select .pro-tree-modal-input-appoint .ant-input,
2366
2379
  .pro-tree-modal .pro-tree-modal-input-appoint .ant-input {
2367
2380
  border-top-left-radius: 0;
package/dist/less.esm.css CHANGED
@@ -2362,6 +2362,19 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2362
2362
  .pro-tree-modal .ant-input-group-wrapper:hover .ant-input-disabled + span .close-icon {
2363
2363
  display: none;
2364
2364
  }
2365
+ .pro-modal-select .ant-input-affix-wrapper,
2366
+ .pro-tree-modal .ant-input-affix-wrapper {
2367
+ border-top-right-radius: 0;
2368
+ border-bottom-right-radius: 0;
2369
+ }
2370
+ .pro-modal-select .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn,
2371
+ .pro-tree-modal .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn {
2372
+ border: 1px solid var(--ant-error-color);
2373
+ }
2374
+ .pro-modal-select .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn > .viewSvg,
2375
+ .pro-tree-modal .ant-input-affix-wrapper.ant-input-affix-wrapper-status-error + .ant-btn > .viewSvg {
2376
+ color: var(--ant-error-color);
2377
+ }
2365
2378
  .pro-modal-select .pro-tree-modal-input-appoint .ant-input,
2366
2379
  .pro-tree-modal .pro-tree-modal-input-appoint .ant-input {
2367
2380
  border-top-left-radius: 0;
@@ -53,6 +53,20 @@
53
53
  }
54
54
  }
55
55
 
56
+ // 新加适用于 readonly false
57
+ .@{ant-prefix}-input-affix-wrapper {
58
+ border-top-right-radius: 0;
59
+ border-bottom-right-radius: 0;
60
+ &.ant-input-affix-wrapper-status-error{
61
+ & + .@{ant-prefix}-btn{
62
+ border: 1px solid var(--ant-error-color);
63
+ >.viewSvg{
64
+ color: var(--ant-error-color);
65
+ }
66
+ }
67
+ }
68
+ }
69
+
56
70
  .pro-tree-modal-input-appoint {
57
71
  .@{ant-prefix}-input {
58
72
  border-top-left-radius: 0;
@@ -100,12 +114,6 @@
100
114
  color: var(--ant-error-color);
101
115
  }
102
116
  }
103
- // &.@{ant-prefix}-select-focused{
104
- // & + .@{ant-prefix}-btn{
105
- // >.viewSvg{
106
- // box-shadow: 0 0 0 2px var(--ant-error-color-outline);
107
- // }
108
- // }
109
117
  }
110
118
 
111
119
  .@{ant-prefix}-input-group-addon {
@@ -53,6 +53,20 @@
53
53
  }
54
54
  }
55
55
 
56
+ // 新加适用于 readonly false
57
+ .@{ant-prefix}-input-affix-wrapper {
58
+ border-top-right-radius: 0;
59
+ border-bottom-right-radius: 0;
60
+ &.ant-input-affix-wrapper-status-error{
61
+ & + .@{ant-prefix}-btn{
62
+ border: 1px solid var(--ant-error-color);
63
+ >.viewSvg{
64
+ color: var(--ant-error-color);
65
+ }
66
+ }
67
+ }
68
+ }
69
+
56
70
  .pro-tree-modal-input-appoint {
57
71
  .@{ant-prefix}-input {
58
72
  border-top-left-radius: 0;
@@ -100,12 +114,6 @@
100
114
  color: var(--ant-error-color);
101
115
  }
102
116
  }
103
- // &.@{ant-prefix}-select-focused{
104
- // & + .@{ant-prefix}-btn{
105
- // >.viewSvg{
106
- // box-shadow: 0 0 0 2px var(--ant-error-color-outline);
107
- // }
108
- // }
109
117
  }
110
118
 
111
119
  .@{ant-prefix}-input-group-addon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.4.5-beta.31",
3
+ "version": "3.4.5-beta.32",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",