mol_plot_all 1.2.861 → 1.2.862

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_plot_all",
3
- "version": "1.2.861",
3
+ "version": "1.2.862",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.d.ts CHANGED
@@ -531,13 +531,15 @@ declare namespace $ {
531
531
  }
532
532
 
533
533
  declare namespace $ {
534
- type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'url' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_filter;
534
+ type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_image | $mol_style_func_filter;
535
+ type $mol_style_func_image = 'url' | 'linear-gradient' | 'radial-gradient' | 'conic-gradient';
535
536
  type $mol_style_func_filter = 'blur' | 'brightness' | 'contrast' | 'drop-shadow' | 'grayscale' | 'hue-rotate' | 'invert' | 'opacity' | 'sepia' | 'saturate';
536
537
  class $mol_style_func<Name extends $mol_style_func_name, Value = unknown> extends $mol_decor<Value> {
537
538
  readonly name: Name;
538
539
  constructor(name: Name, value: Value);
539
540
  prefix(): string;
540
541
  postfix(): string;
542
+ static linear_gradient<Value>(value: Value): $mol_style_func<"linear-gradient", Value>;
541
543
  static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
542
544
  static vary<Name extends string, Value extends string>(name: Name, defaultValue?: Value): $mol_style_func<"var", Name | (Name | Value)[]>;
543
545
  static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
@@ -637,7 +639,7 @@ declare namespace $ {
637
639
  blendMode?: Mix_blend_mode | Mix_blend_mode[][] | Common;
638
640
  clip?: Box | Box[][] | Common;
639
641
  color?: $mol_style_properties_color | Common;
640
- image?: readonly (readonly [$mol_style_func<'url'> | string & {}])[] | 'none' | Common;
642
+ image?: readonly (readonly [$mol_style_func<$mol_style_func_image> | string & {}])[] | 'none' | Common;
641
643
  repeat?: Repeat | [Repeat, Repeat] | Common;
642
644
  position?: 'left' | 'right' | 'top' | 'bottom' | 'center' | Common;
643
645
  size?: (BG_size | [BG_size, BG_size])[];