@neovici/cosmoz-form 3.4.0-beta.5 → 3.4.0-beta.7
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,wBAAwB,CAAC;AAChC,OAAO,EAAU,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,gCAAgC,CAAC;AAWxC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAqB,MAAM,wBAAwB,CAAC;AAE9E,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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AoBhE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAC3C,aAAa,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS;;;;cAO7C,CAAC"}
|
|
@@ -63,4 +63,4 @@ export const formDialog = (props) => {
|
|
|
63
63
|
></cosmoz-form-dialog>`;
|
|
64
64
|
return dialog;
|
|
65
65
|
};
|
|
66
|
-
export const formDialog$ = (props$) => until(invoke$(props$).then(formDialog, () => nothing), html `<cosmoz-dialog-loading></cosmoz-dialog-loading>`);
|
|
66
|
+
export const formDialog$ = (maybeProps$) => when(maybeProps$, (props$) => until(invoke$(props$).then(formDialog, () => nothing), html `<cosmoz-dialog-loading></cosmoz-dialog-loading>`));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/render/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/render/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,QAoDlB,CAAC"}
|
package/dist/render/styles.js
CHANGED
|
@@ -41,6 +41,7 @@ export const styles = css `
|
|
|
41
41
|
}
|
|
42
42
|
cosmoz-button {
|
|
43
43
|
margin-inline: var(--cz-spacing);
|
|
44
|
+
align-items: center;
|
|
44
45
|
}
|
|
45
46
|
/* Empty stand-in matching the remove button's footprint, so rows without a
|
|
46
47
|
remove button (the header row and the add row) keep their columns aligned
|