@schwarzdavid/ui-kit 0.0.1-alpha.7 → 0.0.1-alpha.8
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/dist/ui-kit.d.ts +5 -5
- package/package.json +3 -2
package/dist/ui-kit.d.ts
CHANGED
|
@@ -87,21 +87,21 @@ declare interface DialogValueCta<T> extends DialogCta {
|
|
|
87
87
|
|
|
88
88
|
export declare const email: ValidationRuleWithoutParams<any>;
|
|
89
89
|
|
|
90
|
-
declare type FormDialogAction<T, R> = (value: T) => Promise<R>;
|
|
90
|
+
export declare type FormDialogAction<T, R> = (value: T) => Promise<R>;
|
|
91
91
|
|
|
92
|
-
declare type FormDialogComponent<T> = new () => Omit<ComponentPublicInstance, '$emit'> & FormDialogComponentExposed<T> & {
|
|
92
|
+
export declare type FormDialogComponent<T> = new () => Omit<ComponentPublicInstance, '$emit'> & FormDialogComponentExposed<T> & {
|
|
93
93
|
$emit: EmitFn<FormDialogComponentEmits>;
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
declare type FormDialogComponentEmits = {
|
|
96
|
+
export declare type FormDialogComponentEmits = {
|
|
97
97
|
save: [];
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
declare interface FormDialogComponentExposed<T> {
|
|
100
|
+
export declare interface FormDialogComponentExposed<T> {
|
|
101
101
|
finish(): Promisable<T>;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
declare type FormDialogProps<R, T = R, C extends FormDialogComponent<T> = FormDialogComponent<T>, P extends object = ComponentProps<C>> = DialogProps<P> & {
|
|
104
|
+
export declare type FormDialogProps<R, T = R, C extends FormDialogComponent<T> = FormDialogComponent<T>, P extends object = ComponentProps<C>> = DialogProps<P> & {
|
|
105
105
|
title: string;
|
|
106
106
|
translateTitle?: string;
|
|
107
107
|
saveCta?: Partial<DialogCta>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schwarzdavid/ui-kit",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"preview": "vite preview",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"build:docs": "storybook build",
|
|
11
11
|
"lint": "eslint .",
|
|
12
12
|
"lint:fix": "eslint . --fix",
|
|
13
|
-
"prepublishOnly": "npm run build:lib"
|
|
13
|
+
"prepublishOnly": "npm run build:lib",
|
|
14
|
+
"update:version": "npm version prerelease --preid alpha"
|
|
14
15
|
},
|
|
15
16
|
"author": "David Schwarz <david@ists-wurscht.at>",
|
|
16
17
|
"license": "Apache-2.0",
|