element-vir 26.14.1 → 26.14.2
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.
|
@@ -3,15 +3,13 @@ import { type DeclarativeElementDefinition } from './declarative-element.js';
|
|
|
3
3
|
* Asserts that the given input is a declarative element definition.
|
|
4
4
|
*
|
|
5
5
|
* @category Util
|
|
6
|
-
* @see
|
|
7
|
-
* - {@link isDeclarativeElementDefinition}
|
|
6
|
+
* @see {@link isDeclarativeElementDefinition}
|
|
8
7
|
*/
|
|
9
8
|
export declare function assertDeclarativeElementDefinition(input: unknown, failMessage?: string | undefined): asserts input is DeclarativeElementDefinition;
|
|
10
9
|
/**
|
|
11
10
|
* Checks that the given input is a declarative element definition.
|
|
12
11
|
*
|
|
13
12
|
* @category Util
|
|
14
|
-
* @see
|
|
15
|
-
* - {@link assertDeclarativeElementDefinition}
|
|
13
|
+
* @see {@link assertDeclarativeElementDefinition}
|
|
16
14
|
*/
|
|
17
15
|
export declare function isDeclarativeElementDefinition(input: unknown): input is DeclarativeElementDefinition;
|
|
@@ -21,8 +21,7 @@ const expectedStaticProperties = getObjectTypedKeys({
|
|
|
21
21
|
* Asserts that the given input is a declarative element definition.
|
|
22
22
|
*
|
|
23
23
|
* @category Util
|
|
24
|
-
* @see
|
|
25
|
-
* - {@link isDeclarativeElementDefinition}
|
|
24
|
+
* @see {@link isDeclarativeElementDefinition}
|
|
26
25
|
*/
|
|
27
26
|
export function assertDeclarativeElementDefinition(input, failMessage) {
|
|
28
27
|
if (!check.isFunction(input)) {
|
|
@@ -38,8 +37,7 @@ export function assertDeclarativeElementDefinition(input, failMessage) {
|
|
|
38
37
|
* Checks that the given input is a declarative element definition.
|
|
39
38
|
*
|
|
40
39
|
* @category Util
|
|
41
|
-
* @see
|
|
42
|
-
* - {@link assertDeclarativeElementDefinition}
|
|
40
|
+
* @see {@link assertDeclarativeElementDefinition}
|
|
43
41
|
*/
|
|
44
42
|
export function isDeclarativeElementDefinition(input) {
|
|
45
43
|
return wrapInTry(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { LitElement, noChange, nothing, svg, unsafeCSS } from 'lit';
|
|
2
|
-
export type {
|
|
1
|
+
export { CSSResult, LitElement, noChange, nothing, svg, unsafeCSS } from 'lit';
|
|
2
|
+
export type { CSSResultGroup, CompiledTemplate, CompiledTemplateResult, HTMLTemplateResult, SVGTemplateResult, TemplateResult, } from 'lit';
|
|
3
3
|
export * from 'lit/async-directive.js';
|
|
4
4
|
export * from 'lit/decorators.js';
|
|
5
5
|
export * from 'lit/directive-helpers.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { LitElement, noChange, nothing, svg, unsafeCSS } from 'lit';
|
|
1
|
+
export { CSSResult, LitElement, noChange, nothing, svg, unsafeCSS } from 'lit';
|
|
2
2
|
export * from 'lit/async-directive.js';
|
|
3
3
|
export * from 'lit/decorators.js';
|
|
4
4
|
export * from 'lit/directive-helpers.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "element-vir",
|
|
3
|
-
"version": "26.14.
|
|
3
|
+
"version": "26.14.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"custom",
|
|
6
6
|
"web",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"test:docs": "virmator docs check"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@augment-vir/assert": "^31.
|
|
43
|
-
"@augment-vir/common": "^31.
|
|
42
|
+
"@augment-vir/assert": "^31.59.0",
|
|
43
|
+
"@augment-vir/common": "^31.59.0",
|
|
44
44
|
"date-vir": "^8.1.0",
|
|
45
45
|
"lit": "^3.3.2",
|
|
46
|
-
"lit-css-vars": "^3.
|
|
46
|
+
"lit-css-vars": "^3.1.1",
|
|
47
47
|
"lit-html": "^3.3.2",
|
|
48
48
|
"object-shape-tester": "^6.11.0",
|
|
49
49
|
"observavir": "^2.3.1",
|
|
50
50
|
"typed-event-target": "^4.1.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@augment-vir/test": "^31.
|
|
54
|
-
"@augment-vir/web": "^31.
|
|
53
|
+
"@augment-vir/test": "^31.59.0",
|
|
54
|
+
"@augment-vir/web": "^31.59.0",
|
|
55
55
|
"@web/dev-server-esbuild": "^1.0.4",
|
|
56
56
|
"@web/test-runner": "^0.20.2",
|
|
57
57
|
"@web/test-runner-commands": "^0.9.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"html-spec-tags": "^2.2.3",
|
|
61
61
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
62
62
|
"markdown-code-example-inserter": "^3.0.3",
|
|
63
|
-
"type-fest": "^5.
|
|
63
|
+
"type-fest": "^5.4.1",
|
|
64
64
|
"typedoc": "^0.28.16",
|
|
65
65
|
"typescript": "5.9.3",
|
|
66
66
|
"vite": "^7.3.1",
|