muigui 0.0.20 → 0.0.22

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.
@@ -1,4 +1,4 @@
1
- /* muigui@0.0.20, license MIT */
1
+ /* muigui@0.0.22, license MIT */
2
2
  var css = {
3
3
  default: `
4
4
  .muigui {
@@ -151,6 +151,10 @@ var css = {
151
151
  --value-color: var(--disabled-color) !important;
152
152
  --range-left-color: var(--disabled-color) !important;
153
153
  }
154
+ /* this shouldn't be needed! */
155
+ .muigui-disabled label {
156
+ color: var(--disabled-color)
157
+ }
154
158
 
155
159
  .muigui canvas,
156
160
  .muigui svg {
@@ -2746,6 +2750,10 @@ class Container extends Controller {
2746
2750
  const elem = c0.domElement;
2747
2751
  elem.remove();
2748
2752
  c0.setParent(null);
2753
+ } else {
2754
+ this.#controllers.forEach(c => {
2755
+ c.remove(controller);
2756
+ });
2749
2757
  }
2750
2758
  return this;
2751
2759
  }