@neovici/cosmoz-form 3.3.0 → 3.3.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.
|
@@ -15,10 +15,10 @@ export interface Dialog<T extends object> extends Props<T> {
|
|
|
15
15
|
name?: string;
|
|
16
16
|
}
|
|
17
17
|
export declare const formDialog: <T extends object>(props?: Dialog<T>) => Renderable;
|
|
18
|
-
export declare const formDialog$: <T extends object>(
|
|
18
|
+
export declare const formDialog$: <T extends object>(maybeProps$: Resolvable<Dialog<T>> | undefined) => import("lit-html/directive.js").DirectiveResult<{
|
|
19
19
|
new (_partInfo: import("lit-html/directive.js").PartInfo): import("lit-html/directives/until.js").UntilDirective<import("lit-html").TemplateResult<1> | Promise<symbol | {
|
|
20
20
|
toString(): string;
|
|
21
21
|
} | readonly Renderable[] | null | undefined>>;
|
|
22
|
-
}
|
|
22
|
+
}> | undefined;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=form-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../src/form-dialog/form-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,gCAAgC,CAAC;AACxC,OAAO,yBAAyB,CAAC;AAWjC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAqB,MAAM,wBAAwB,CAAC;AAG9E,UAAU,KAAK,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CA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;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAC3C,aAAa,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS;;;;cAO7C,CAAC"}
|
|
@@ -57,4 +57,4 @@ export const formDialog = (props) => {
|
|
|
57
57
|
></cosmoz-form-dialog>`;
|
|
58
58
|
return dialog;
|
|
59
59
|
};
|
|
60
|
-
export const formDialog$ = (props$) => until(invoke$(props$).then(formDialog, () => nothing), html `<cosmoz-dialog-loading></cosmoz-dialog-loading>`);
|
|
60
|
+
export const formDialog$ = (maybeProps$) => when(maybeProps$, (props$) => until(invoke$(props$).then(formDialog, () => nothing), html `<cosmoz-dialog-loading></cosmoz-dialog-loading>`));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-form",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "A pionjs component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -35,26 +35,8 @@
|
|
|
35
35
|
"storybook:build": "storybook build",
|
|
36
36
|
"storybook:deploy": "storybook-to-ghpages",
|
|
37
37
|
"storybook:preview": "npm run storybook:build && http-server -d ./storybook-static/",
|
|
38
|
-
"prepare": "husky"
|
|
39
|
-
|
|
40
|
-
"release": {
|
|
41
|
-
"plugins": [
|
|
42
|
-
"@semantic-release/commit-analyzer",
|
|
43
|
-
"@semantic-release/release-notes-generator",
|
|
44
|
-
"@semantic-release/changelog",
|
|
45
|
-
"@semantic-release/github",
|
|
46
|
-
"@semantic-release/npm",
|
|
47
|
-
"@semantic-release/git"
|
|
48
|
-
],
|
|
49
|
-
"branches": [
|
|
50
|
-
"master",
|
|
51
|
-
"main",
|
|
52
|
-
{
|
|
53
|
-
"name": "beta",
|
|
54
|
-
"prerelease": true
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"preset": "conventionalcommits"
|
|
38
|
+
"prepare": "husky",
|
|
39
|
+
"changeset": "changeset"
|
|
58
40
|
},
|
|
59
41
|
"publishConfig": {
|
|
60
42
|
"access": "public"
|
|
@@ -75,32 +57,30 @@
|
|
|
75
57
|
"@neovici/cosmoz-spinner": "^1.0.2",
|
|
76
58
|
"@neovici/cosmoz-utils": "^6.22.0",
|
|
77
59
|
"@pionjs/pion": "^2.5.2",
|
|
78
|
-
"@playwright/test": "^1.60.0",
|
|
79
|
-
"@web/test-runner-playwright": "^0.11.1",
|
|
80
60
|
"date-fns": "^4.1.0",
|
|
81
61
|
"i18next": ">=23.0.0 <27.0.0",
|
|
82
62
|
"lit-html": "^3.3.1"
|
|
83
63
|
},
|
|
84
64
|
"devDependencies": {
|
|
65
|
+
"@changesets/cli": "^2.27.0",
|
|
85
66
|
"@commitlint/cli": "^20.0.0",
|
|
86
67
|
"@commitlint/config-conventional": "^20.0.0",
|
|
87
68
|
"@neovici/cfg": "^2.13.0",
|
|
88
69
|
"@neovici/testing": "^2.0.0",
|
|
89
70
|
"@open-wc/testing": "^4.0.0",
|
|
90
71
|
"@open-wc/testing-helpers": "^3.0.1",
|
|
91
|
-
"@
|
|
92
|
-
"@semantic-release/git": "^10.0.0",
|
|
72
|
+
"@playwright/test": "1.60.0",
|
|
93
73
|
"@storybook/addon-docs": "^10.2.17",
|
|
94
74
|
"@storybook/addon-links": "^10.2.17",
|
|
95
75
|
"@storybook/web-components": "^10.2.17",
|
|
96
76
|
"@storybook/web-components-vite": "^10.2.17",
|
|
97
77
|
"@types/mocha": "^10.0.0",
|
|
98
78
|
"@types/node": "^24.0.0",
|
|
79
|
+
"@web/test-runner-playwright": "^0.11.1",
|
|
99
80
|
"esbuild": "^0.27.0",
|
|
100
81
|
"http-server": "^14.1.1",
|
|
101
82
|
"husky": "^9.0.11",
|
|
102
83
|
"lint-staged": "^15.4.3",
|
|
103
|
-
"semantic-release": "^25.0.0",
|
|
104
84
|
"sinon": "^19.0.0",
|
|
105
85
|
"storybook": "^10.0.0"
|
|
106
86
|
},
|