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/node.d.ts +2 -5
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +4 -9
- package/node.js.map +1 -1
- package/node.mjs +4 -9
- package/node.test.js +4 -9
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -5
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +4 -9
- package/web.js.map +1 -1
- package/web.mjs +4 -9
package/node.mjs
CHANGED
|
@@ -4444,7 +4444,6 @@ var $;
|
|
|
4444
4444
|
}
|
|
4445
4445
|
dom_node_actual() {
|
|
4446
4446
|
const node = this.dom_node();
|
|
4447
|
-
$mol_dom_render_styles(node, this.style_size());
|
|
4448
4447
|
const attr = this.attr();
|
|
4449
4448
|
const style = this.style();
|
|
4450
4449
|
$mol_dom_render_attributes(node, attr);
|
|
@@ -4545,12 +4544,6 @@ var $;
|
|
|
4545
4544
|
mol_theme: this.theme() ?? undefined,
|
|
4546
4545
|
};
|
|
4547
4546
|
}
|
|
4548
|
-
style_size() {
|
|
4549
|
-
return {
|
|
4550
|
-
minHeight: this.minimal_height(),
|
|
4551
|
-
minWidth: this.minimal_width(),
|
|
4552
|
-
};
|
|
4553
|
-
}
|
|
4554
4547
|
style() {
|
|
4555
4548
|
return {};
|
|
4556
4549
|
}
|
|
@@ -5671,7 +5664,8 @@ var $;
|
|
|
5671
5664
|
];
|
|
5672
5665
|
}
|
|
5673
5666
|
row_content(path) {
|
|
5674
|
-
|
|
5667
|
+
const content = this.tokens(path).map((t, i) => this.Token([...path, i]));
|
|
5668
|
+
return content.length ? content : ['\n'];
|
|
5675
5669
|
}
|
|
5676
5670
|
Token(path) {
|
|
5677
5671
|
return this.token_type(path) === 'code-link' ? this.Token_link(path) : super.Token(path);
|
|
@@ -6402,7 +6396,7 @@ var $;
|
|
|
6402
6396
|
"use strict";
|
|
6403
6397
|
var $;
|
|
6404
6398
|
(function ($) {
|
|
6405
|
-
$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");
|
|
6406
6400
|
})($ || ($ = {}));
|
|
6407
6401
|
|
|
6408
6402
|
;
|
|
@@ -6964,6 +6958,7 @@ var $;
|
|
|
6964
6958
|
},
|
|
6965
6959
|
Rows: {
|
|
6966
6960
|
padding: $mol_gap.text,
|
|
6961
|
+
minWidth: 0,
|
|
6967
6962
|
},
|
|
6968
6963
|
Row: {
|
|
6969
6964
|
font: {
|
package/node.test.js
CHANGED
|
@@ -4435,7 +4435,6 @@ var $;
|
|
|
4435
4435
|
}
|
|
4436
4436
|
dom_node_actual() {
|
|
4437
4437
|
const node = this.dom_node();
|
|
4438
|
-
$mol_dom_render_styles(node, this.style_size());
|
|
4439
4438
|
const attr = this.attr();
|
|
4440
4439
|
const style = this.style();
|
|
4441
4440
|
$mol_dom_render_attributes(node, attr);
|
|
@@ -4536,12 +4535,6 @@ var $;
|
|
|
4536
4535
|
mol_theme: this.theme() ?? undefined,
|
|
4537
4536
|
};
|
|
4538
4537
|
}
|
|
4539
|
-
style_size() {
|
|
4540
|
-
return {
|
|
4541
|
-
minHeight: this.minimal_height(),
|
|
4542
|
-
minWidth: this.minimal_width(),
|
|
4543
|
-
};
|
|
4544
|
-
}
|
|
4545
4538
|
style() {
|
|
4546
4539
|
return {};
|
|
4547
4540
|
}
|
|
@@ -5662,7 +5655,8 @@ var $;
|
|
|
5662
5655
|
];
|
|
5663
5656
|
}
|
|
5664
5657
|
row_content(path) {
|
|
5665
|
-
|
|
5658
|
+
const content = this.tokens(path).map((t, i) => this.Token([...path, i]));
|
|
5659
|
+
return content.length ? content : ['\n'];
|
|
5666
5660
|
}
|
|
5667
5661
|
Token(path) {
|
|
5668
5662
|
return this.token_type(path) === 'code-link' ? this.Token_link(path) : super.Token(path);
|
|
@@ -6393,7 +6387,7 @@ var $;
|
|
|
6393
6387
|
"use strict";
|
|
6394
6388
|
var $;
|
|
6395
6389
|
(function ($) {
|
|
6396
|
-
$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");
|
|
6397
6391
|
})($ || ($ = {}));
|
|
6398
6392
|
|
|
6399
6393
|
;
|
|
@@ -6955,6 +6949,7 @@ var $;
|
|
|
6955
6949
|
},
|
|
6956
6950
|
Rows: {
|
|
6957
6951
|
padding: $mol_gap.text,
|
|
6952
|
+
minWidth: 0,
|
|
6958
6953
|
},
|
|
6959
6954
|
Row: {
|
|
6960
6955
|
font: {
|