mol_dump_lib 0.0.41 → 0.0.43

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 CHANGED
@@ -826,33 +826,19 @@ declare namespace $ {
826
826
  }
827
827
 
828
828
  declare namespace $ {
829
- const $mol_theme: {
830
- back: $mol_style_func<"var", string[] | "--mol_theme_back">;
831
- hover: $mol_style_func<"var", string[] | "--mol_theme_hover">;
832
- card: $mol_style_func<"var", string[] | "--mol_theme_card">;
833
- current: $mol_style_func<"var", string[] | "--mol_theme_current">;
834
- special: $mol_style_func<"var", string[] | "--mol_theme_special">;
835
- text: $mol_style_func<"var", string[] | "--mol_theme_text">;
836
- control: $mol_style_func<"var", string[] | "--mol_theme_control">;
837
- shade: $mol_style_func<"var", string[] | "--mol_theme_shade">;
838
- line: $mol_style_func<"var", string[] | "--mol_theme_line">;
839
- focus: $mol_style_func<"var", string[] | "--mol_theme_focus">;
840
- field: $mol_style_func<"var", string[] | "--mol_theme_field">;
841
- image: $mol_style_func<"var", string[] | "--mol_theme_image">;
842
- };
829
+ type $mol_style_prop_result = Record<string, $mol_style_func<'var'>>;
830
+ function $mol_style_prop(prefix: string, postfixes: Array<string>): $mol_style_prop_result;
843
831
  }
844
832
 
845
833
  declare namespace $ {
834
+ const $mol_theme: $mol_style_prop_result;
846
835
  }
847
836
 
848
837
  declare namespace $ {
849
- let $mol_gap: {
850
- readonly block: $mol_style_func<"var", string[] | "--mol_gap_block">;
851
- readonly text: $mol_style_func<"var", string[] | "--mol_gap_text">;
852
- readonly round: $mol_style_func<"var", string[] | "--mol_gap_round">;
853
- readonly space: $mol_style_func<"var", string[] | "--mol_gap_space">;
854
- readonly blur: $mol_style_func<"var", string[] | "--mol_gap_blur">;
855
- };
838
+ }
839
+
840
+ declare namespace $ {
841
+ let $mol_gap: $mol_style_prop_result;
856
842
  }
857
843
 
858
844
  declare namespace $ {
@@ -1687,13 +1673,7 @@ declare namespace $ {
1687
1673
  }
1688
1674
 
1689
1675
  declare namespace $ {
1690
- let $mol_layer: {
1691
- readonly hover: $mol_style_func<"var", string[] | "--mol_layer_hover">;
1692
- readonly focus: $mol_style_func<"var", string[] | "--mol_layer_focus">;
1693
- readonly speck: $mol_style_func<"var", string[] | "--mol_layer_speck">;
1694
- readonly float: $mol_style_func<"var", string[] | "--mol_layer_float">;
1695
- readonly popup: $mol_style_func<"var", string[] | "--mol_layer_popup">;
1696
- };
1676
+ let $mol_layer: $mol_style_prop_result;
1697
1677
  }
1698
1678
 
1699
1679
  declare namespace $ {