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/node.d.ts +4 -2
- package/node.deps.json +1 -1
- package/node.js +3 -0
- package/node.js.map +1 -1
- package/node.mjs +3 -0
- package/node.test.js +3 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +4 -2
- package/web.deps.json +1 -1
- package/web.js +3 -0
- package/web.js.map +1 -1
- package/web.mjs +3 -0
package/package.json
CHANGED
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' | '
|
|
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
|
|
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])[];
|