@whitesev/pops 2.1.12 → 2.1.13
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.amd.js +6 -4
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +6 -4
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +6 -4
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +6 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -4
- package/src/Pops.ts +1 -1
- package/src/components/panel/handlerComponents.ts +7 -3
- package/src/components/panel/index.css +7 -4
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/package.json",
|
|
3
2
|
"name": "@whitesev/pops",
|
|
4
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.13",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"description": "弹窗库",
|
|
7
6
|
"main": "dist/index.cjs.js",
|
|
@@ -37,13 +36,13 @@
|
|
|
37
36
|
"license": "MIT",
|
|
38
37
|
"dependencies": {
|
|
39
38
|
"any-touch": "^2.2.0",
|
|
40
|
-
"worker-timers": "^8.0.
|
|
39
|
+
"worker-timers": "^8.0.23"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
44
43
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
45
44
|
"@rollup/plugin-typescript": "12.1.4",
|
|
46
|
-
"rollup": "^4.
|
|
45
|
+
"rollup": "^4.45.0",
|
|
47
46
|
"rollup-plugin-clear": "^2.0.7",
|
|
48
47
|
"rollup-plugin-import-css": "^4.0.1",
|
|
49
48
|
"tslib": "^2.8.1",
|
package/src/Pops.ts
CHANGED
|
@@ -262,6 +262,7 @@ export const PanelHandlerComponents = () => {
|
|
|
262
262
|
: asideConfig.title;
|
|
263
263
|
PopsSafeUtils.setSafeHTML($li, title);
|
|
264
264
|
/* 处理className */
|
|
265
|
+
this.setElementClassName($li, "pops-panel-aside-item");
|
|
265
266
|
this.setElementClassName($li, asideConfig.className);
|
|
266
267
|
this.setElementAttributes($li, asideConfig.attributes);
|
|
267
268
|
this.setElementProps($li, asideConfig.props);
|
|
@@ -2879,12 +2880,12 @@ export const PanelHandlerComponents = () => {
|
|
|
2879
2880
|
let formContainerListElement = document.createElement("li");
|
|
2880
2881
|
/* 每一项<li>内的子<ul>元素 */
|
|
2881
2882
|
let formContainerULElement = document.createElement("ul");
|
|
2882
|
-
formContainerULElement.classList.add(
|
|
2883
|
-
"pops-panel-forms-container-item-formlist"
|
|
2884
|
-
);
|
|
2885
2883
|
formContainerListElement.classList.add(
|
|
2886
2884
|
"pops-panel-forms-container-item"
|
|
2887
2885
|
);
|
|
2886
|
+
formContainerULElement.classList.add(
|
|
2887
|
+
"pops-panel-forms-container-item-formlist"
|
|
2888
|
+
);
|
|
2888
2889
|
/* 区域头部的文字 */
|
|
2889
2890
|
let formHeaderDivElement = popsDOMUtils.createElement("div", {
|
|
2890
2891
|
className: "pops-panel-forms-container-item-header-text",
|
|
@@ -3057,6 +3058,9 @@ export const PanelHandlerComponents = () => {
|
|
|
3057
3058
|
headerTitleText.trim() !== ""
|
|
3058
3059
|
) {
|
|
3059
3060
|
let $containerHeaderTitle = document.createElement("li");
|
|
3061
|
+
$containerHeaderTitle.classList.add(
|
|
3062
|
+
"pops-panel-container-header-title-text"
|
|
3063
|
+
);
|
|
3060
3064
|
Reflect.set($containerHeaderTitle, "__asideConfig__", asideConfig);
|
|
3061
3065
|
PopsSafeUtils.setSafeHTML($containerHeaderTitle, headerTitleText);
|
|
3062
3066
|
this.sectionContainerHeaderULElement.appendChild(
|
|
@@ -83,8 +83,10 @@ section.pops-panel-container .pops-panel-deepMenu-container-header-ul {
|
|
|
83
83
|
border-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));
|
|
84
84
|
flex: 0 auto;
|
|
85
85
|
}
|
|
86
|
-
section.pops-panel-container .pops-panel-container-header-ul li
|
|
87
|
-
|
|
86
|
+
section.pops-panel-container .pops-panel-container-header-ul li,
|
|
87
|
+
section.pops-panel-container
|
|
88
|
+
.pops-panel-container-header-ul
|
|
89
|
+
li.pops-panel-container-header-title-text {
|
|
88
90
|
display: flex;
|
|
89
91
|
justify-content: flex-start !important;
|
|
90
92
|
margin: 0px !important;
|
|
@@ -93,10 +95,11 @@ section.pops-panel-container .pops-panel-container-header-ul li {
|
|
|
93
95
|
var(--pops-panel-forms-margin-left-right) +
|
|
94
96
|
var(--pops-panel-forms-container-li-padding-left-right)
|
|
95
97
|
);
|
|
98
|
+
text-align: left;
|
|
96
99
|
}
|
|
97
|
-
section.pops-panel-container
|
|
100
|
+
section.pops-panel-container ul.pops-panel-container-main-ul {
|
|
98
101
|
overflow: auto;
|
|
99
|
-
flex: 1
|
|
102
|
+
/*flex: 1;*/
|
|
100
103
|
}
|
|
101
104
|
aside.pops-panel-aside ul li {
|
|
102
105
|
margin: 6px 8px;
|