Skip to content

Commit

Permalink
Deploying to gh-pages from @ b9e61e4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelZubkov committed Jan 1, 2024
1 parent 120e340 commit 6a15fee
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 17 deletions.
6 changes: 4 additions & 2 deletions node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -654,13 +654,15 @@ declare namespace $ {
}

declare namespace $ {
type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'url' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_filter;
type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_image | $mol_style_func_filter;
type $mol_style_func_image = 'url' | 'linear-gradient' | 'radial-gradient' | 'conic-gradient';
type $mol_style_func_filter = 'blur' | 'brightness' | 'contrast' | 'drop-shadow' | 'grayscale' | 'hue-rotate' | 'invert' | 'opacity' | 'sepia' | 'saturate';
class $mol_style_func<Name extends $mol_style_func_name, Value = unknown> extends $mol_decor<Value> {
readonly name: Name;
constructor(name: Name, value: Value);
prefix(): string;
postfix(): string;
static linear_gradient<Value>(value: Value): $mol_style_func<"linear-gradient", Value>;
static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
static vary<Name extends string, Value extends string>(name: Name, defaultValue?: Value): $mol_style_func<"var", Name | (Name | Value)[]>;
static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
Expand Down Expand Up @@ -760,7 +762,7 @@ declare namespace $ {
blendMode?: Mix_blend_mode | Mix_blend_mode[][] | Common;
clip?: Box | Box[][] | Common;
color?: $mol_style_properties_color | Common;
image?: readonly (readonly [$mol_style_func<'url'> | string & {}])[] | 'none' | Common;
image?: readonly (readonly [$mol_style_func<$mol_style_func_image> | string & {}])[] | 'none' | Common;
repeat?: Repeat | [Repeat, Repeat] | Common;
position?: 'left' | 'right' | 'top' | 'bottom' | 'center' | Common;
size?: (BG_size | [BG_size, BG_size])[];
Expand Down
2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2489,6 +2489,9 @@ var $;
}
prefix() { return this.name + '('; }
postfix() { return ')'; }
static linear_gradient(value) {
return new $mol_style_func('linear-gradient', value);
}
static calc(value) {
return new $mol_style_func('calc', value);
}
Expand Down Expand Up @@ -3784,7 +3787,7 @@ var $;
this.status([null]);
}
catch (error) {
this.status([error]);
Promise.resolve().then(() => this.status([error]));
$mol_fail_hidden(error);
}
}
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2489,6 +2489,9 @@ var $;
}
prefix() { return this.name + '('; }
postfix() { return ')'; }
static linear_gradient(value) {
return new $mol_style_func('linear-gradient', value);
}
static calc(value) {
return new $mol_style_func('calc', value);
}
Expand Down Expand Up @@ -3784,7 +3787,7 @@ var $;
this.status([null]);
}
catch (error) {
this.status([error]);
Promise.resolve().then(() => this.status([error]));
$mol_fail_hidden(error);
}
}
Expand Down
8 changes: 6 additions & 2 deletions node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2481,6 +2481,9 @@ var $;
}
prefix() { return this.name + '('; }
postfix() { return ')'; }
static linear_gradient(value) {
return new $mol_style_func('linear-gradient', value);
}
static calc(value) {
return new $mol_style_func('calc', value);
}
Expand Down Expand Up @@ -3776,7 +3779,7 @@ var $;
this.status([null]);
}
catch (error) {
this.status([error]);
Promise.resolve().then(() => this.status([error]));
$mol_fail_hidden(error);
}
}
Expand Down Expand Up @@ -15976,13 +15979,14 @@ var $;
element.dispatchEvent(event);
$mol_assert_not(clicked);
},
'Store error'($) {
async 'Store error'($) {
const clicker = $mol_button.make({
$,
click: (event) => $.$mol_fail(new Error('Test error')),
});
const event = $mol_dom_context.document.createEvent('mouseevent');
$mol_assert_fail(() => clicker.event_activate(event), 'Test error');
await Promise.resolve();
$mol_assert_equal(clicker.status()[0].message, 'Test error');
},
});
Expand Down
2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions web.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,13 +531,15 @@ declare namespace $ {
}

declare namespace $ {
type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'url' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_filter;
type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_image | $mol_style_func_filter;
type $mol_style_func_image = 'url' | 'linear-gradient' | 'radial-gradient' | 'conic-gradient';
type $mol_style_func_filter = 'blur' | 'brightness' | 'contrast' | 'drop-shadow' | 'grayscale' | 'hue-rotate' | 'invert' | 'opacity' | 'sepia' | 'saturate';
class $mol_style_func<Name extends $mol_style_func_name, Value = unknown> extends $mol_decor<Value> {
readonly name: Name;
constructor(name: Name, value: Value);
prefix(): string;
postfix(): string;
static linear_gradient<Value>(value: Value): $mol_style_func<"linear-gradient", Value>;
static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
static vary<Name extends string, Value extends string>(name: Name, defaultValue?: Value): $mol_style_func<"var", Name | (Name | Value)[]>;
static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
Expand Down Expand Up @@ -637,7 +639,7 @@ declare namespace $ {
blendMode?: Mix_blend_mode | Mix_blend_mode[][] | Common;
clip?: Box | Box[][] | Common;
color?: $mol_style_properties_color | Common;
image?: readonly (readonly [$mol_style_func<'url'> | string & {}])[] | 'none' | Common;
image?: readonly (readonly [$mol_style_func<$mol_style_func_image> | string & {}])[] | 'none' | Common;
repeat?: Repeat | [Repeat, Repeat] | Common;
position?: 'left' | 'right' | 'top' | 'bottom' | 'center' | Common;
size?: (BG_size | [BG_size, BG_size])[];
Expand Down
2 changes: 1 addition & 1 deletion web.deps.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion web.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,9 @@ var $;
}
prefix() { return this.name + '('; }
postfix() { return ')'; }
static linear_gradient(value) {
return new $mol_style_func('linear-gradient', value);
}
static calc(value) {
return new $mol_style_func('calc', value);
}
Expand Down Expand Up @@ -3277,7 +3280,7 @@ var $;
this.status([null]);
}
catch (error) {
this.status([error]);
Promise.resolve().then(() => this.status([error]));
$mol_fail_hidden(error);
}
}
Expand Down
3 changes: 2 additions & 1 deletion web.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web.test.js.map

Large diffs are not rendered by default.

0 comments on commit 6a15fee

Please sign in to comment.