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/web.js CHANGED
@@ -2266,6 +2266,9 @@ var $;
2266
2266
  }
2267
2267
  return names;
2268
2268
  }
2269
+ theme() {
2270
+ return null;
2271
+ }
2269
2272
  attr_static() {
2270
2273
  let attrs = {};
2271
2274
  for (let name of this.view_names())
@@ -2273,7 +2276,9 @@ var $;
2273
2276
  return attrs;
2274
2277
  }
2275
2278
  attr() {
2276
- return {};
2279
+ return {
2280
+ mol_theme: this.theme(),
2281
+ };
2277
2282
  }
2278
2283
  style_size() {
2279
2284
  return {
@@ -2453,7 +2458,7 @@ var $;
2453
2458
  if (typeof HTMLElement !== 'function')
2454
2459
  return;
2455
2460
  class Component extends HTMLElement {
2456
- static tag = View.name.replace(/\W/g, '').replace(/^(?=\d+)/, '-').replace(/_/g, '-');
2461
+ static tag = $$.$mol_func_name(View).replace(/\W/g, '').replace(/^(?=\d+)/, '-').replace(/_/g, '-');
2457
2462
  static observedAttributes = new Set;
2458
2463
  view = new View;
2459
2464
  root;