@rainbow-oh/yee-c 0.8.9 → 0.8.11
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/cjs/Popconfirm/popconfirm.js +2 -2
- package/dist/cjs/Popconfirm/style/index.less +4 -1
- package/dist/cjs/Table/style/index.less +3 -4
- package/dist/cjs/Table/theader/filter.js +1 -1
- package/dist/cjs/style/size.css +5 -2
- package/dist/cjs/style/themes.css +1 -1
- package/dist/cjs/style/variables.css +6 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Popconfirm/popconfirm.js +4 -2
- package/dist/esm/Popconfirm/style/index.less +4 -1
- package/dist/esm/Table/style/index.less +3 -4
- package/dist/esm/Table/theader/filter.js +1 -1
- package/dist/esm/style/size.css +5 -2
- package/dist/esm/style/themes.css +1 -1
- package/dist/esm/style/variables.css +6 -3
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/umd/yee-c.min.css +2 -2
- package/dist/umd/yee-c.min.js +1 -1
- package/package.json +1 -1
- package/src/Popconfirm/popconfirm.tsx +6 -2
- package/src/Popconfirm/style/index.less +4 -1
- package/src/Table/style/index.less +3 -4
- package/src/Table/theader/filter.tsx +1 -1
- package/src/style/size.css +5 -2
- package/src/version.ts +1 -1
|
@@ -146,7 +146,7 @@ var Popconfirm = (baseprops) => {
|
|
|
146
146
|
if (node) {
|
|
147
147
|
const btn = node.querySelector("[data-confirm]");
|
|
148
148
|
if (btn)
|
|
149
|
-
btn.focus();
|
|
149
|
+
btn.focus({ preventScroll: true });
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
},
|
|
@@ -193,7 +193,7 @@ var Popconfirm = (baseprops) => {
|
|
|
193
193
|
open: mergedOpen,
|
|
194
194
|
onOpenChange: handleOpenChange
|
|
195
195
|
}),
|
|
196
|
-
/* @__PURE__ */ import_react.default.createElement("
|
|
196
|
+
import_react.default.isValidElement(children) ? children : /* @__PURE__ */ import_react.default.createElement("span", { className: `${prefixCls}-trigger` }, children)
|
|
197
197
|
);
|
|
198
198
|
};
|
|
199
199
|
Popconfirm.displayName = "Popconfirm";
|
|
@@ -11,10 +11,13 @@
|
|
|
11
11
|
display: flex;
|
|
12
12
|
gap: var(--yee-popconfirm-header-gap);
|
|
13
13
|
align-items: center;
|
|
14
|
+
margin-bottom: var(--yee-popconfirm-header-margin-bottom);
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
&-title {
|
|
17
|
-
margin:
|
|
18
|
+
margin: 0;
|
|
19
|
+
font-size: var(--yee-popconfirm-title-font-size);
|
|
20
|
+
font-weight: var(--yee-popconfirm-title-font-weight);
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
&-footer {
|
|
@@ -72,14 +72,13 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&-filter {
|
|
75
|
+
max-height: var(--yee-table-filter-popup-height);
|
|
76
|
+
background-color: var(--yee-table-filter-list-bg-color);
|
|
77
|
+
|
|
75
78
|
&-trigger {
|
|
76
79
|
display: inline-flex;
|
|
77
80
|
cursor: pointer;
|
|
78
81
|
}
|
|
79
|
-
|
|
80
|
-
&-popup {
|
|
81
|
-
background-color: var(--yee-table-filter-list-bg-color);
|
|
82
|
-
}
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
&-content {
|
|
@@ -172,7 +172,7 @@ var HeaderFilter = import_react.default.memo((props) => {
|
|
|
172
172
|
{
|
|
173
173
|
trigger: "click",
|
|
174
174
|
placement: "bottomRight",
|
|
175
|
-
|
|
175
|
+
className: `${prefixCls}-filter`,
|
|
176
176
|
content: popup,
|
|
177
177
|
arrow: true,
|
|
178
178
|
open,
|
package/dist/cjs/style/size.css
CHANGED
|
@@ -383,12 +383,14 @@
|
|
|
383
383
|
|
|
384
384
|
/* --Popconfirm-- */
|
|
385
385
|
--yee-popconfirm-z-index: var(--yee-z-index-tooltip);
|
|
386
|
-
--yee-popconfirm-padding:
|
|
386
|
+
--yee-popconfirm-padding: 12px;
|
|
387
387
|
--yee-popconfirm-border-radius: 4px;
|
|
388
388
|
--yee-popconfirm-box-shadow: 0 8px 24px 0 var(--yee-box-shadow-color);
|
|
389
389
|
--yee-popconfirm-header-gap: 16px;
|
|
390
|
-
--yee-popconfirm-
|
|
390
|
+
--yee-popconfirm-header-margin-bottom: 8px;
|
|
391
391
|
--yee-popconfirm-footer-margin-top: 16px;
|
|
392
|
+
--yee-popconfirm-title-font-size: 16px;
|
|
393
|
+
--yee-popconfirm-title-font-weight: 600;
|
|
392
394
|
|
|
393
395
|
/* --Popover-- */
|
|
394
396
|
--yee-popover-z-index: var(--yee-z-index-tooltip);
|
|
@@ -401,6 +403,7 @@
|
|
|
401
403
|
--yee-popover-header-line-height: 24px;
|
|
402
404
|
--yee-popover-arrow-width: var(--yee-popup-arrow-width);
|
|
403
405
|
--yee-popover-arrow-height: var(--yee-popup-arrow-height);
|
|
406
|
+
--yee-table-filter-popup-height: 400px;
|
|
404
407
|
|
|
405
408
|
/* --Progress-- */
|
|
406
409
|
--yee-progress-text-width: 48px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @rainbow-oh/yee-c CSS Variables
|
|
3
3
|
* Auto-generated, do not edit manually
|
|
4
|
-
* Generated on 2026-07-
|
|
4
|
+
* Generated on 2026-07-29T03:43:59.991Z
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/* ========== color.css ========== */
|
|
@@ -1505,12 +1505,14 @@
|
|
|
1505
1505
|
|
|
1506
1506
|
/* --Popconfirm-- */
|
|
1507
1507
|
--yee-popconfirm-z-index: var(--yee-z-index-tooltip);
|
|
1508
|
-
--yee-popconfirm-padding:
|
|
1508
|
+
--yee-popconfirm-padding: 12px;
|
|
1509
1509
|
--yee-popconfirm-border-radius: 4px;
|
|
1510
1510
|
--yee-popconfirm-box-shadow: 0 8px 24px 0 var(--yee-box-shadow-color);
|
|
1511
1511
|
--yee-popconfirm-header-gap: 16px;
|
|
1512
|
-
--yee-popconfirm-
|
|
1512
|
+
--yee-popconfirm-header-margin-bottom: 8px;
|
|
1513
1513
|
--yee-popconfirm-footer-margin-top: 16px;
|
|
1514
|
+
--yee-popconfirm-title-font-size: 16px;
|
|
1515
|
+
--yee-popconfirm-title-font-weight: 600;
|
|
1514
1516
|
|
|
1515
1517
|
/* --Popover-- */
|
|
1516
1518
|
--yee-popover-z-index: var(--yee-z-index-tooltip);
|
|
@@ -1523,6 +1525,7 @@
|
|
|
1523
1525
|
--yee-popover-header-line-height: 24px;
|
|
1524
1526
|
--yee-popover-arrow-width: var(--yee-popup-arrow-width);
|
|
1525
1527
|
--yee-popover-arrow-height: var(--yee-popup-arrow-height);
|
|
1528
|
+
--yee-table-filter-popup-height: 400px;
|
|
1526
1529
|
|
|
1527
1530
|
/* --Progress-- */
|
|
1528
1531
|
--yee-progress-text-width: 48px;
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
|
@@ -86,7 +86,9 @@ var Popconfirm = function Popconfirm(baseprops) {
|
|
|
86
86
|
ref: function ref(node) {
|
|
87
87
|
if (node) {
|
|
88
88
|
var btn = node.querySelector('[data-confirm]');
|
|
89
|
-
if (btn) btn.focus(
|
|
89
|
+
if (btn) btn.focus({
|
|
90
|
+
preventScroll: true
|
|
91
|
+
});
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -122,7 +124,7 @@ var Popconfirm = function Popconfirm(baseprops) {
|
|
|
122
124
|
popup: popup,
|
|
123
125
|
open: mergedOpen,
|
|
124
126
|
onOpenChange: handleOpenChange
|
|
125
|
-
}), /*#__PURE__*/React.createElement("
|
|
127
|
+
}), /*#__PURE__*/React.isValidElement(children) ? children : /*#__PURE__*/React.createElement("span", {
|
|
126
128
|
className: "".concat(prefixCls, "-trigger")
|
|
127
129
|
}, children));
|
|
128
130
|
};
|
|
@@ -11,10 +11,13 @@
|
|
|
11
11
|
display: flex;
|
|
12
12
|
gap: var(--yee-popconfirm-header-gap);
|
|
13
13
|
align-items: center;
|
|
14
|
+
margin-bottom: var(--yee-popconfirm-header-margin-bottom);
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
&-title {
|
|
17
|
-
margin:
|
|
18
|
+
margin: 0;
|
|
19
|
+
font-size: var(--yee-popconfirm-title-font-size);
|
|
20
|
+
font-weight: var(--yee-popconfirm-title-font-weight);
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
&-footer {
|
|
@@ -72,14 +72,13 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&-filter {
|
|
75
|
+
max-height: var(--yee-table-filter-popup-height);
|
|
76
|
+
background-color: var(--yee-table-filter-list-bg-color);
|
|
77
|
+
|
|
75
78
|
&-trigger {
|
|
76
79
|
display: inline-flex;
|
|
77
80
|
cursor: pointer;
|
|
78
81
|
}
|
|
79
|
-
|
|
80
|
-
&-popup {
|
|
81
|
-
background-color: var(--yee-table-filter-list-bg-color);
|
|
82
|
-
}
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
&-content {
|
|
@@ -199,7 +199,7 @@ var HeaderFilter = /*#__PURE__*/React.memo(function (props) {
|
|
|
199
199
|
return /*#__PURE__*/React.createElement(Popover, {
|
|
200
200
|
trigger: "click",
|
|
201
201
|
placement: "bottomRight",
|
|
202
|
-
|
|
202
|
+
className: "".concat(prefixCls, "-filter"),
|
|
203
203
|
content: popup,
|
|
204
204
|
arrow: true,
|
|
205
205
|
open: open,
|
package/dist/esm/style/size.css
CHANGED
|
@@ -383,12 +383,14 @@
|
|
|
383
383
|
|
|
384
384
|
/* --Popconfirm-- */
|
|
385
385
|
--yee-popconfirm-z-index: var(--yee-z-index-tooltip);
|
|
386
|
-
--yee-popconfirm-padding:
|
|
386
|
+
--yee-popconfirm-padding: 12px;
|
|
387
387
|
--yee-popconfirm-border-radius: 4px;
|
|
388
388
|
--yee-popconfirm-box-shadow: 0 8px 24px 0 var(--yee-box-shadow-color);
|
|
389
389
|
--yee-popconfirm-header-gap: 16px;
|
|
390
|
-
--yee-popconfirm-
|
|
390
|
+
--yee-popconfirm-header-margin-bottom: 8px;
|
|
391
391
|
--yee-popconfirm-footer-margin-top: 16px;
|
|
392
|
+
--yee-popconfirm-title-font-size: 16px;
|
|
393
|
+
--yee-popconfirm-title-font-weight: 600;
|
|
392
394
|
|
|
393
395
|
/* --Popover-- */
|
|
394
396
|
--yee-popover-z-index: var(--yee-z-index-tooltip);
|
|
@@ -401,6 +403,7 @@
|
|
|
401
403
|
--yee-popover-header-line-height: 24px;
|
|
402
404
|
--yee-popover-arrow-width: var(--yee-popup-arrow-width);
|
|
403
405
|
--yee-popover-arrow-height: var(--yee-popup-arrow-height);
|
|
406
|
+
--yee-table-filter-popup-height: 400px;
|
|
404
407
|
|
|
405
408
|
/* --Progress-- */
|
|
406
409
|
--yee-progress-text-width: 48px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @rainbow-oh/yee-c CSS Variables
|
|
3
3
|
* Auto-generated, do not edit manually
|
|
4
|
-
* Generated on 2026-07-
|
|
4
|
+
* Generated on 2026-07-29T03:43:59.991Z
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/* ========== color.css ========== */
|
|
@@ -1505,12 +1505,14 @@
|
|
|
1505
1505
|
|
|
1506
1506
|
/* --Popconfirm-- */
|
|
1507
1507
|
--yee-popconfirm-z-index: var(--yee-z-index-tooltip);
|
|
1508
|
-
--yee-popconfirm-padding:
|
|
1508
|
+
--yee-popconfirm-padding: 12px;
|
|
1509
1509
|
--yee-popconfirm-border-radius: 4px;
|
|
1510
1510
|
--yee-popconfirm-box-shadow: 0 8px 24px 0 var(--yee-box-shadow-color);
|
|
1511
1511
|
--yee-popconfirm-header-gap: 16px;
|
|
1512
|
-
--yee-popconfirm-
|
|
1512
|
+
--yee-popconfirm-header-margin-bottom: 8px;
|
|
1513
1513
|
--yee-popconfirm-footer-margin-top: 16px;
|
|
1514
|
+
--yee-popconfirm-title-font-size: 16px;
|
|
1515
|
+
--yee-popconfirm-title-font-weight: 600;
|
|
1514
1516
|
|
|
1515
1517
|
/* --Popover-- */
|
|
1516
1518
|
--yee-popover-z-index: var(--yee-z-index-tooltip);
|
|
@@ -1523,6 +1525,7 @@
|
|
|
1523
1525
|
--yee-popover-header-line-height: 24px;
|
|
1524
1526
|
--yee-popover-arrow-width: var(--yee-popup-arrow-width);
|
|
1525
1527
|
--yee-popover-arrow-height: var(--yee-popup-arrow-height);
|
|
1528
|
+
--yee-table-filter-popup-height: 400px;
|
|
1526
1529
|
|
|
1527
1530
|
/* --Progress-- */
|
|
1528
1531
|
--yee-progress-text-width: 48px;
|
package/dist/esm/version.d.ts
CHANGED
package/dist/esm/version.js
CHANGED