mol_dump_lib 0.0.8 → 0.0.10

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.js CHANGED
@@ -2833,6 +2833,9 @@ var $;
2833
2833
  }
2834
2834
  return names;
2835
2835
  }
2836
+ theme() {
2837
+ return null;
2838
+ }
2836
2839
  attr_static() {
2837
2840
  let attrs = {};
2838
2841
  for (let name of this.view_names())
@@ -2840,7 +2843,9 @@ var $;
2840
2843
  return attrs;
2841
2844
  }
2842
2845
  attr() {
2843
- return {};
2846
+ return {
2847
+ mol_theme: this.theme(),
2848
+ };
2844
2849
  }
2845
2850
  style_size() {
2846
2851
  return {
@@ -3013,7 +3018,7 @@ var $;
3013
3018
  if (typeof HTMLElement !== 'function')
3014
3019
  return;
3015
3020
  class Component extends HTMLElement {
3016
- static tag = View.name.replace(/\W/g, '').replace(/^(?=\d+)/, '-').replace(/_/g, '-');
3021
+ static tag = $$.$mol_func_name(View).replace(/\W/g, '').replace(/^(?=\d+)/, '-').replace(/_/g, '-');
3017
3022
  static observedAttributes = new Set;
3018
3023
  view = new View;
3019
3024
  root;