mol_dump_lib 0.0.844 → 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/web.mjs CHANGED
@@ -3277,7 +3277,6 @@ var $;
3277
3277
  }
3278
3278
  dom_node_actual() {
3279
3279
  const node = this.dom_node();
3280
- $mol_dom_render_styles(node, this.style_size());
3281
3280
  const attr = this.attr();
3282
3281
  const style = this.style();
3283
3282
  $mol_dom_render_attributes(node, attr);
@@ -3378,12 +3377,6 @@ var $;
3378
3377
  mol_theme: this.theme() ?? undefined,
3379
3378
  };
3380
3379
  }
3381
- style_size() {
3382
- return {
3383
- minHeight: this.minimal_height(),
3384
- minWidth: this.minimal_width(),
3385
- };
3386
- }
3387
3380
  style() {
3388
3381
  return {};
3389
3382
  }
@@ -4511,7 +4504,8 @@ var $;
4511
4504
  ];
4512
4505
  }
4513
4506
  row_content(path) {
4514
- return this.tokens(path).map((t, i) => this.Token([...path, i]));
4507
+ const content = this.tokens(path).map((t, i) => this.Token([...path, i]));
4508
+ return content.length ? content : ['\n'];
4515
4509
  }
4516
4510
  Token(path) {
4517
4511
  return this.token_type(path) === 'code-link' ? this.Token_link(path) : super.Token(path);
@@ -5133,7 +5127,7 @@ var $;
5133
5127
  "use strict";
5134
5128
  var $;
5135
5129
  (function ($) {
5136
- $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");
5130
+ $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");
5137
5131
  })($ || ($ = {}));
5138
5132
 
5139
5133
  ;
@@ -6498,6 +6492,7 @@ var $;
6498
6492
  },
6499
6493
  Rows: {
6500
6494
  padding: $mol_gap.text,
6495
+ minWidth: 0,
6501
6496
  },
6502
6497
  Row: {
6503
6498
  font: {