mol_dump_lib 0.0.196 → 0.0.197
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 +4 -1
- package/node.js.map +1 -1
- package/node.mjs +4 -1
- package/node.test.js +6 -2
- 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 +4 -1
- package/web.js.map +1 -1
- package/web.mjs +4 -1
- package/web.test.js +2 -1
- package/web.test.js.map +1 -1
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' | '
|
|
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
|
|
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])[];
|