@nmorph/nmorph-ui-kit 2.1.0 → 2.1.1
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/index.es.js +2357 -2319
- package/dist/index.umd.js +219 -203
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +7 -5
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +2 -0
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +4 -4
- package/dist/src/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8,10 +8,11 @@ interface INmorphProps {
|
|
|
8
8
|
color?: string;
|
|
9
9
|
offsetY?: number;
|
|
10
10
|
offsetX?: number;
|
|
11
|
+
zIndex?: number;
|
|
11
12
|
disabled?: boolean;
|
|
12
13
|
}
|
|
13
14
|
type NmorphBadgeValueSlotProps = {
|
|
14
|
-
value: INmorphProps[
|
|
15
|
+
value: INmorphProps['value'];
|
|
15
16
|
displayValue: string | number | undefined;
|
|
16
17
|
};
|
|
17
18
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
@@ -24,12 +25,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
|
24
25
|
isTag: boolean;
|
|
25
26
|
offsetY: number;
|
|
26
27
|
offsetX: number;
|
|
28
|
+
zIndex: number;
|
|
27
29
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
28
|
-
default?: (props: Record<string, never>) =>
|
|
29
|
-
value?: (props: NmorphBadgeValueSlotProps) =>
|
|
30
|
+
default?: (props: Record<string, never>) => unknown;
|
|
31
|
+
value?: (props: NmorphBadgeValueSlotProps) => unknown;
|
|
30
32
|
}> & {
|
|
31
|
-
default?: (props: Record<string, never>) =>
|
|
32
|
-
value?: (props: NmorphBadgeValueSlotProps) =>
|
|
33
|
+
default?: (props: Record<string, never>) => unknown;
|
|
34
|
+
value?: (props: NmorphBadgeValueSlotProps) => unknown;
|
|
33
35
|
}>;
|
|
34
36
|
export default _default;
|
|
35
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -20,11 +20,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
|
20
20
|
width: string;
|
|
21
21
|
title: string;
|
|
22
22
|
modelValue: boolean;
|
|
23
|
+
zIndex: number;
|
|
23
24
|
openDelay: number;
|
|
24
25
|
closeDelay: number;
|
|
25
26
|
closeOnClickModal: boolean;
|
|
26
27
|
showClose: boolean;
|
|
27
|
-
zIndex: number;
|
|
28
28
|
closeOnOverlay: boolean;
|
|
29
29
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
30
30
|
header?(_: {}): any;
|
|
@@ -3,6 +3,7 @@ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProv
|
|
|
3
3
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
showValue?: boolean;
|
|
6
|
+
displayFormat?: 'hex' | 'rgb' | 'hsl';
|
|
6
7
|
}
|
|
7
8
|
declare const _default: DefineComponent<INmorphProps, {
|
|
8
9
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
@@ -19,5 +20,6 @@ declare const _default: DefineComponent<INmorphProps, {
|
|
|
19
20
|
disabled: boolean;
|
|
20
21
|
modelValue: string;
|
|
21
22
|
showValue: boolean;
|
|
23
|
+
displayFormat: "hex" | "rgb" | "hsl";
|
|
22
24
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
23
25
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
1
|
import { INmorphCustomFileData, NmorphResolutionType } from '../..';
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
modelValue?: INmorphCustomFileData[];
|
|
5
5
|
disabled?: boolean;
|
|
@@ -8,13 +8,13 @@ interface INmorphProps {
|
|
|
8
8
|
photoWithPreview?: boolean;
|
|
9
9
|
buttonText?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<INmorphProps, {
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
12
12
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
13
13
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
|
-
"update:model-value": (val:
|
|
14
|
+
"update:model-value": (val: INmorphCustomFileData[]) => any;
|
|
15
15
|
"on-unsupported-file-type-error": (val: string) => any;
|
|
16
16
|
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
17
|
-
"onUpdate:model-value"?: (val:
|
|
17
|
+
"onUpdate:model-value"?: (val: INmorphCustomFileData[]) => any;
|
|
18
18
|
"onOn-unsupported-file-type-error"?: (val: string) => any;
|
|
19
19
|
}>, {
|
|
20
20
|
disabled: boolean;
|