mol_dump_lib 0.0.843 → 0.0.845

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/node.mjs CHANGED
@@ -1156,6 +1156,7 @@ var $;
1156
1156
  }
1157
1157
  destructor() {
1158
1158
  super.destructor();
1159
+ $mol_wire_fiber.planning.delete(this);
1159
1160
  if (!$mol_owning_check(this, this.cache))
1160
1161
  return;
1161
1162
  try {
@@ -4443,7 +4444,6 @@ var $;
4443
4444
  }
4444
4445
  dom_node_actual() {
4445
4446
  const node = this.dom_node();
4446
- $mol_dom_render_styles(node, this.style_size());
4447
4447
  const attr = this.attr();
4448
4448
  const style = this.style();
4449
4449
  $mol_dom_render_attributes(node, attr);
@@ -4544,12 +4544,6 @@ var $;
4544
4544
  mol_theme: this.theme() ?? undefined,
4545
4545
  };
4546
4546
  }
4547
- style_size() {
4548
- return {
4549
- minHeight: this.minimal_height(),
4550
- minWidth: this.minimal_width(),
4551
- };
4552
- }
4553
4547
  style() {
4554
4548
  return {};
4555
4549
  }
@@ -5670,7 +5664,8 @@ var $;
5670
5664
  ];
5671
5665
  }
5672
5666
  row_content(path) {
5673
- return this.tokens(path).map((t, i) => this.Token([...path, i]));
5667
+ const content = this.tokens(path).map((t, i) => this.Token([...path, i]));
5668
+ return content.length ? content : ['\n'];
5674
5669
  }
5675
5670
  Token(path) {
5676
5671
  return this.token_type(path) === 'code-link' ? this.Token_link(path) : super.Token(path);
@@ -6401,7 +6396,7 @@ var $;
6401
6396
  "use strict";
6402
6397
  var $;
6403
6398
  (function ($) {
6404
- $mol_style_attach("mol/button/typed/typed.view.css", "[mol_button_typed] {\n\talign-content: center;\n\talign-items: center;\n\tpadding: var(--mol_gap_text);\n\tborder-radius: var(--mol_gap_round);\n\tgap: var(--mol_gap_space);\n\tuser-select: none;\n\tcursor: pointer;\n}\n\n[mol_button_typed][disabled] {\n\tpointer-events: none;\n}\n\n[mol_button_typed]:hover ,\n[mol_button_typed]:focus-visible {\n\tbox-shadow: inset 0 0 0 100vmax var(--mol_theme_hover);\n}\n\n[mol_button_typed]:active {\n\tcolor: var(--mol_theme_focus);\n}\n\n");
6399
+ $mol_style_attach("mol/button/typed/typed.view.css", "[mol_button_typed] {\n\talign-content: center;\n\talign-items: center;\n\tpadding: var(--mol_gap_text);\n\tborder-radius: var(--mol_gap_round);\n\tgap: var(--mol_gap_space);\n\tuser-select: none;\n\tcursor: pointer;\n}\n\n[mol_button_typed][disabled] {\n\tpointer-events: none;\n}\n\n[mol_button_typed]:hover ,\n[mol_button_typed]:focus-visible {\n\tbox-shadow: inset 0 0 0 100vmax var(--mol_theme_hover);\n}\n\n[mol_button_typed]:active {\n\tcolor: var(--mol_theme_focus);\n}\n\n[mol_button_typed]:empty::after {\n\tcontent: \"\\u00A0\";\n}\n");
6405
6400
  })($ || ($ = {}));
6406
6401
 
6407
6402
  ;
@@ -6963,6 +6958,7 @@ var $;
6963
6958
  },
6964
6959
  Rows: {
6965
6960
  padding: $mol_gap.text,
6961
+ minWidth: 0,
6966
6962
  },
6967
6963
  Row: {
6968
6964
  font: {
package/node.test.js CHANGED
@@ -1147,6 +1147,7 @@ var $;
1147
1147
  }
1148
1148
  destructor() {
1149
1149
  super.destructor();
1150
+ $mol_wire_fiber.planning.delete(this);
1150
1151
  if (!$mol_owning_check(this, this.cache))
1151
1152
  return;
1152
1153
  try {
@@ -4434,7 +4435,6 @@ var $;
4434
4435
  }
4435
4436
  dom_node_actual() {
4436
4437
  const node = this.dom_node();
4437
- $mol_dom_render_styles(node, this.style_size());
4438
4438
  const attr = this.attr();
4439
4439
  const style = this.style();
4440
4440
  $mol_dom_render_attributes(node, attr);
@@ -4535,12 +4535,6 @@ var $;
4535
4535
  mol_theme: this.theme() ?? undefined,
4536
4536
  };
4537
4537
  }
4538
- style_size() {
4539
- return {
4540
- minHeight: this.minimal_height(),
4541
- minWidth: this.minimal_width(),
4542
- };
4543
- }
4544
4538
  style() {
4545
4539
  return {};
4546
4540
  }
@@ -5661,7 +5655,8 @@ var $;
5661
5655
  ];
5662
5656
  }
5663
5657
  row_content(path) {
5664
- return this.tokens(path).map((t, i) => this.Token([...path, i]));
5658
+ const content = this.tokens(path).map((t, i) => this.Token([...path, i]));
5659
+ return content.length ? content : ['\n'];
5665
5660
  }
5666
5661
  Token(path) {
5667
5662
  return this.token_type(path) === 'code-link' ? this.Token_link(path) : super.Token(path);
@@ -6392,7 +6387,7 @@ var $;
6392
6387
  "use strict";
6393
6388
  var $;
6394
6389
  (function ($) {
6395
- $mol_style_attach("mol/button/typed/typed.view.css", "[mol_button_typed] {\n\talign-content: center;\n\talign-items: center;\n\tpadding: var(--mol_gap_text);\n\tborder-radius: var(--mol_gap_round);\n\tgap: var(--mol_gap_space);\n\tuser-select: none;\n\tcursor: pointer;\n}\n\n[mol_button_typed][disabled] {\n\tpointer-events: none;\n}\n\n[mol_button_typed]:hover ,\n[mol_button_typed]:focus-visible {\n\tbox-shadow: inset 0 0 0 100vmax var(--mol_theme_hover);\n}\n\n[mol_button_typed]:active {\n\tcolor: var(--mol_theme_focus);\n}\n\n");
6390
+ $mol_style_attach("mol/button/typed/typed.view.css", "[mol_button_typed] {\n\talign-content: center;\n\talign-items: center;\n\tpadding: var(--mol_gap_text);\n\tborder-radius: var(--mol_gap_round);\n\tgap: var(--mol_gap_space);\n\tuser-select: none;\n\tcursor: pointer;\n}\n\n[mol_button_typed][disabled] {\n\tpointer-events: none;\n}\n\n[mol_button_typed]:hover ,\n[mol_button_typed]:focus-visible {\n\tbox-shadow: inset 0 0 0 100vmax var(--mol_theme_hover);\n}\n\n[mol_button_typed]:active {\n\tcolor: var(--mol_theme_focus);\n}\n\n[mol_button_typed]:empty::after {\n\tcontent: \"\\u00A0\";\n}\n");
6396
6391
  })($ || ($ = {}));
6397
6392
 
6398
6393
  ;
@@ -6954,6 +6949,7 @@ var $;
6954
6949
  },
6955
6950
  Rows: {
6956
6951
  padding: $mol_gap.text,
6952
+ minWidth: 0,
6957
6953
  },
6958
6954
  Row: {
6959
6955
  font: {