mol_dump_lib 0.0.41 → 0.0.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_dump_lib",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
@@ -101,6 +101,7 @@
101
101
  "$mol_style_attach",
102
102
  "$mol_style",
103
103
  "$mol_theme",
104
+ "$mol_style_prop",
104
105
  "$mol_style_func",
105
106
  "$mol_style_unit",
106
107
  "$mol_decor",
package/web.d.ts CHANGED
@@ -678,33 +678,19 @@ declare namespace $ {
678
678
  }
679
679
 
680
680
  declare namespace $ {
681
- const $mol_theme: {
682
- back: $mol_style_func<"var", string[] | "--mol_theme_back">;
683
- hover: $mol_style_func<"var", string[] | "--mol_theme_hover">;
684
- card: $mol_style_func<"var", string[] | "--mol_theme_card">;
685
- current: $mol_style_func<"var", string[] | "--mol_theme_current">;
686
- special: $mol_style_func<"var", string[] | "--mol_theme_special">;
687
- text: $mol_style_func<"var", string[] | "--mol_theme_text">;
688
- control: $mol_style_func<"var", string[] | "--mol_theme_control">;
689
- shade: $mol_style_func<"var", string[] | "--mol_theme_shade">;
690
- line: $mol_style_func<"var", string[] | "--mol_theme_line">;
691
- focus: $mol_style_func<"var", string[] | "--mol_theme_focus">;
692
- field: $mol_style_func<"var", string[] | "--mol_theme_field">;
693
- image: $mol_style_func<"var", string[] | "--mol_theme_image">;
694
- };
681
+ type $mol_style_prop_result = Record<string, $mol_style_func<'var'>>;
682
+ function $mol_style_prop(prefix: string, postfixes: Array<string>): $mol_style_prop_result;
695
683
  }
696
684
 
697
685
  declare namespace $ {
686
+ const $mol_theme: $mol_style_prop_result;
698
687
  }
699
688
 
700
689
  declare namespace $ {
701
- let $mol_gap: {
702
- readonly block: $mol_style_func<"var", string[] | "--mol_gap_block">;
703
- readonly text: $mol_style_func<"var", string[] | "--mol_gap_text">;
704
- readonly round: $mol_style_func<"var", string[] | "--mol_gap_round">;
705
- readonly space: $mol_style_func<"var", string[] | "--mol_gap_space">;
706
- readonly blur: $mol_style_func<"var", string[] | "--mol_gap_blur">;
707
- };
690
+ }
691
+
692
+ declare namespace $ {
693
+ let $mol_gap: $mol_style_prop_result;
708
694
  }
709
695
 
710
696
  declare namespace $ {
@@ -1545,13 +1531,7 @@ declare namespace $ {
1545
1531
  }
1546
1532
 
1547
1533
  declare namespace $ {
1548
- let $mol_layer: {
1549
- readonly hover: $mol_style_func<"var", string[] | "--mol_layer_hover">;
1550
- readonly focus: $mol_style_func<"var", string[] | "--mol_layer_focus">;
1551
- readonly speck: $mol_style_func<"var", string[] | "--mol_layer_speck">;
1552
- readonly float: $mol_style_func<"var", string[] | "--mol_layer_float">;
1553
- readonly popup: $mol_style_func<"var", string[] | "--mol_layer_popup">;
1554
- };
1534
+ let $mol_layer: $mol_style_prop_result;
1555
1535
  }
1556
1536
 
1557
1537
  declare namespace $ {