muigui 0.0.21 → 0.0.24
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/0.x/muigui.js +14 -5
- package/dist/0.x/muigui.js.map +1 -1
- package/dist/0.x/muigui.min.js +1 -1
- package/dist/0.x/muigui.min.js.map +1 -1
- package/dist/0.x/muigui.module.js +14 -5
- package/dist/0.x/muigui.module.js.map +1 -1
- package/dist/0.x/muigui.module.min.js +1 -1
- package/dist/0.x/muigui.module.min.js.map +1 -1
- package/package.json +1 -1
- package/src/controllers/Container.js +4 -0
- package/src/styles/muigui.css.js +9 -4
package/dist/0.x/muigui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* muigui@0.0.
|
|
1
|
+
/* muigui@0.0.24, license MIT */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
.muigui-root>div:nth-child(2),
|
|
210
210
|
.muigui-menu>div:nth-child(2) {
|
|
211
|
-
flex:
|
|
211
|
+
flex: 0 0 auto;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.muigui-controller {
|
|
@@ -283,15 +283,20 @@
|
|
|
283
283
|
background-image: var(--image-closed);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.muigui-open
|
|
286
|
+
.muigui-open > .muigui-open-container {
|
|
287
287
|
transition: all 0.1s ease-out;
|
|
288
288
|
overflow: auto;
|
|
289
|
-
height:
|
|
289
|
+
max-height: calc(100vh - 3em);
|
|
290
290
|
}
|
|
291
291
|
.muigui-closed>.muigui-open-container {
|
|
292
292
|
transition: all 0.1s ease-out;
|
|
293
|
+
max-height: 0;
|
|
294
|
+
height: 0; /* make it unambiguous */
|
|
295
|
+
min-height: 0; /* overrides .muigui-controller min-height */
|
|
293
296
|
overflow: hidden;
|
|
294
|
-
|
|
297
|
+
padding: 0;
|
|
298
|
+
margin: 0;
|
|
299
|
+
border: 0;
|
|
295
300
|
}
|
|
296
301
|
.muigui-open>.muigui-open-container>* {
|
|
297
302
|
transition: all 0.1s ease-out;
|
|
@@ -2756,6 +2761,10 @@
|
|
|
2756
2761
|
const elem = c0.domElement;
|
|
2757
2762
|
elem.remove();
|
|
2758
2763
|
c0.setParent(null);
|
|
2764
|
+
} else {
|
|
2765
|
+
this.#controllers.forEach(c => {
|
|
2766
|
+
c.remove(controller);
|
|
2767
|
+
});
|
|
2759
2768
|
}
|
|
2760
2769
|
return this;
|
|
2761
2770
|
}
|