@nmorph/nmorph-ui-kit 0.2.79 → 0.2.81
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 +949 -944
- package/dist/index.umd.js +6 -6
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +9 -9
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +4 -0
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +5 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { INmorphImage, AvatarShapeType
|
|
1
|
+
import { INmorphImage, AvatarShapeType } from '../../../types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends INmorphImage {
|
|
5
5
|
size?: number;
|
|
6
6
|
shape?: keyof typeof AvatarShapeType;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
frameBorder?: number;
|
|
8
|
+
borderPadding?: number;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
11
|
size: number;
|
|
12
12
|
shape: string;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
frameBorder: number;
|
|
14
|
+
borderPadding: number;
|
|
15
15
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
16
|
error: (event: Event) => void;
|
|
17
17
|
load: (event: Event) => void;
|
|
18
18
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
19
|
size: number;
|
|
20
20
|
shape: string;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
frameBorder: number;
|
|
22
|
+
borderPadding: number;
|
|
23
23
|
}>>> & {
|
|
24
24
|
onLoad?: (event: Event) => any;
|
|
25
25
|
onError?: (event: Event) => any;
|
|
26
26
|
}, {
|
|
27
27
|
size: number;
|
|
28
28
|
shape: keyof typeof AvatarShapeType;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
frameBorder: number;
|
|
30
|
+
borderPadding: number;
|
|
31
31
|
}, {}>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -3,6 +3,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
|
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
shadowType?: keyof typeof NmorphShadowType;
|
|
6
|
+
combinedShadowBorderWidth?: number;
|
|
6
7
|
}
|
|
7
8
|
declare function __VLS_template(): {
|
|
8
9
|
header?(_: {}): any;
|
|
@@ -11,10 +12,13 @@ declare function __VLS_template(): {
|
|
|
11
12
|
};
|
|
12
13
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
14
|
shadowType: string;
|
|
15
|
+
combinedShadowBorderWidth: number;
|
|
14
16
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
17
|
shadowType: string;
|
|
18
|
+
combinedShadowBorderWidth: number;
|
|
16
19
|
}>>>, {
|
|
17
20
|
shadowType: keyof typeof NmorphShadowType;
|
|
21
|
+
combinedShadowBorderWidth: number;
|
|
18
22
|
}, {}>;
|
|
19
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
24
|
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { INmorphImage,
|
|
1
|
+
import { INmorphImage, NmorphImageFit } from '../../../types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends INmorphImage {
|
|
5
5
|
loadingText?: string;
|
|
6
6
|
loadFailedText?: string;
|
|
7
|
-
|
|
8
|
-
combinedShadowBorderWidth?: number;
|
|
7
|
+
frameBorder?: number;
|
|
9
8
|
}
|
|
10
9
|
declare function __VLS_template(): {
|
|
11
10
|
error?(_: {}): any;
|
|
@@ -17,8 +16,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
17
16
|
loadingText: string;
|
|
18
17
|
loadFailedText: string;
|
|
19
18
|
srcSet: string;
|
|
20
|
-
|
|
21
|
-
combinedShadowBorderWidth: number;
|
|
19
|
+
frameBorder: number;
|
|
22
20
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
21
|
error: (event: Event) => void;
|
|
24
22
|
load: (event: Event) => void;
|
|
@@ -28,14 +26,12 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
28
26
|
loadingText: string;
|
|
29
27
|
loadFailedText: string;
|
|
30
28
|
srcSet: string;
|
|
31
|
-
|
|
32
|
-
combinedShadowBorderWidth: number;
|
|
29
|
+
frameBorder: number;
|
|
33
30
|
}>>> & {
|
|
34
31
|
onLoad?: (event: Event) => any;
|
|
35
32
|
onError?: (event: Event) => any;
|
|
36
33
|
}, {
|
|
37
|
-
|
|
38
|
-
combinedShadowBorderWidth: number;
|
|
34
|
+
frameBorder: number;
|
|
39
35
|
srcSet: string;
|
|
40
36
|
fit: keyof NmorphImageFit;
|
|
41
37
|
alt: string;
|