mol_dump_lib 0.0.196 → 0.0.198

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
@@ -654,13 +654,15 @@ declare namespace $ {
654
654
  }
655
655
 
656
656
  declare namespace $ {
657
- type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'url' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_filter;
657
+ type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_image | $mol_style_func_filter;
658
+ type $mol_style_func_image = 'url' | 'linear-gradient' | 'radial-gradient' | 'conic-gradient';
658
659
  type $mol_style_func_filter = 'blur' | 'brightness' | 'contrast' | 'drop-shadow' | 'grayscale' | 'hue-rotate' | 'invert' | 'opacity' | 'sepia' | 'saturate';
659
660
  class $mol_style_func<Name extends $mol_style_func_name, Value = unknown> extends $mol_decor<Value> {
660
661
  readonly name: Name;
661
662
  constructor(name: Name, value: Value);
662
663
  prefix(): string;
663
664
  postfix(): string;
665
+ static linear_gradient<Value>(value: Value): $mol_style_func<"linear-gradient", Value>;
664
666
  static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
665
667
  static vary<Name extends string, Value extends string>(name: Name, defaultValue?: Value): $mol_style_func<"var", Name | (Name | Value)[]>;
666
668
  static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
@@ -760,7 +762,7 @@ declare namespace $ {
760
762
  blendMode?: Mix_blend_mode | Mix_blend_mode[][] | Common;
761
763
  clip?: Box | Box[][] | Common;
762
764
  color?: $mol_style_properties_color | Common;
763
- image?: readonly (readonly [$mol_style_func<'url'> | string & {}])[] | 'none' | Common;
765
+ image?: readonly (readonly [$mol_style_func<$mol_style_func_image> | string & {}])[] | 'none' | Common;
764
766
  repeat?: Repeat | [Repeat, Repeat] | Common;
765
767
  position?: 'left' | 'right' | 'top' | 'bottom' | 'center' | Common;
766
768
  size?: (BG_size | [BG_size, BG_size])[];