@zat-design/sisyphus-react 4.5.8-beta.6 → 4.5.9-beta.1
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/dist/index.esm.css +1 -1
- package/dist/less.esm.css +1 -1
- package/es/ProEditTable/components/RenderField/index.js +74 -62
- package/es/ProEditTable/index.js +66 -36
- package/es/ProEditTable/propsType.d.ts +4 -4
- package/es/ProEditTable/utils/useShouldUpdateForTable.d.ts +4 -0
- package/es/ProEditTable/utils/useShouldUpdateForTable.js +16 -4
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +4 -2
- package/es/ProLayout/components/TabsManager/components/TabsHeader.js +1 -0
- package/es/ProLayout/components/TabsManager/style/index.less +1 -2
- package/es/ProLayout/index.js +22 -2
- package/es/ProLayout/style/index.less +2 -3
- package/es/ProTable/components/EditableCell/EditIcon.js +5 -8
- package/es/ProTable/components/EditableCell/index.js +3 -2
- package/es/ProTable/style/index.less +26 -0
- package/es/ProTreeModal/components/Trigger.js +18 -14
- package/es/ProTreeModal/index.js +199 -187
- package/es/ProTreeModal/style/index.less +25 -1
- package/package.json +1 -1
- package/es/ProTable/components/EditableCell/index.less +0 -29
- package/es/assets/edit.svg +0 -1
|
@@ -52,7 +52,23 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.pro-
|
|
55
|
+
.pro-tree-modal-appoint-compact {
|
|
56
|
+
> .pro-tree-modal-input-appoint.@{ant-prefix}-select:not(:last-child) {
|
|
57
|
+
.@{ant-prefix}-select-selector {
|
|
58
|
+
border-top-right-radius: 0 !important;
|
|
59
|
+
border-bottom-right-radius: 0 !important;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
> .pro-tree-modal-input-appoint.@{ant-prefix}-input-disabled:not(:first-child) {
|
|
64
|
+
border-top-left-radius: 0 !important;
|
|
65
|
+
border-bottom-left-radius: 0 !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.pro-enum-input-addonAfter:not(.trigger-no-hover):not(
|
|
70
|
+
.pro-enum-input-addonAfter-not-allowed
|
|
71
|
+
):hover {
|
|
56
72
|
z-index: 2;
|
|
57
73
|
border-color: var(--zaui-brand-hover, #3387ff);
|
|
58
74
|
color: var(--zaui-brand-hover, #3387ff);
|
|
@@ -262,13 +278,21 @@
|
|
|
262
278
|
|
|
263
279
|
&-isView {
|
|
264
280
|
display: flex;
|
|
281
|
+
flex-wrap: nowrap;
|
|
265
282
|
align-items: center;
|
|
283
|
+
white-space: nowrap;
|
|
284
|
+
|
|
285
|
+
&-value {
|
|
286
|
+
flex: 0 0 auto;
|
|
287
|
+
white-space: nowrap;
|
|
288
|
+
}
|
|
266
289
|
|
|
267
290
|
.pro-tree-modal-view-svg {
|
|
268
291
|
margin-left: var(--zaui-space-size-sm, 8px);
|
|
269
292
|
}
|
|
270
293
|
|
|
271
294
|
.pro-enum-input-addonAfter {
|
|
295
|
+
flex: 0 0 auto;
|
|
272
296
|
padding: 0;
|
|
273
297
|
background: transparent;
|
|
274
298
|
border: none;
|
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.editable-cell-wrapper {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
width: 100%;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
gap: 4px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.editable-cell-edit-icon {
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
visibility: hidden;
|
|
14
|
-
color: rgba(0, 0, 0, 0.65);
|
|
15
|
-
flex-shrink: 0;
|
|
16
|
-
|
|
17
|
-
svg path {
|
|
18
|
-
fill: currentColor !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
color: var(--zaui-brand, #006aff);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
td:hover .editable-cell-edit-icon {
|
|
27
|
-
visibility: visible;
|
|
28
|
-
}
|
|
29
|
-
|
package/es/assets/edit.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1775025459029" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7119" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.1953125" height="200"><path d="M181.10185262 930.4882664c-18.69801175 0-33.42977859-15.29837325-33.42977858-33.42977858 0-18.69801175 15.29837325-33.42977859 33.42977858-33.4297786h691.25982844c18.69801175 0 33.42977859 15.29837325 33.42977859 33.4297786 0 18.69801175-15.29837325 33.42977859-33.42977859 33.42977858h-691.25982844z m671.42860384-747.92047012L752.80772713 82.84506694c-12.46534117-12.46534117-32.86317217-12.46534117-45.32851335 0l-100.85594218 100.85594218 145.05124269 145.05124269 100.85594217-100.85594218c12.46534117-12.46534117 12.46534117-32.29656575 0-45.32851335z m-275.93732495 31.16335293L240.59552637 549.72875434c-9.06570266 9.06570266-16.9981925 28.89692726-16.9981925 28.89692726l-52.12779033 165.44907369c-3.96624492 12.46534117 7.93248983 23.7974695 20.397831 20.397831l164.31586085-52.12779034s19.83122459-7.36588342 29.46353368-17.56479891L721.6443742 358.7823919 576.59313151 213.73114921z" fill="#2C2C2C" p-id="7120"></path></svg>
|