@nmorph/nmorph-ui-kit 0.2.88 → 0.2.90
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 +7 -7
- package/dist/index.umd.js +1 -1
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +5 -4
- package/dist/src/components/data/nmorph-tag-item/NmorphTagItem.vue.d.ts +4 -4
- package/dist/src/components/data/nmorph-tag-item/types.d.ts +2 -2
- package/dist/src/types/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { NmorphSkeletonItemPropsType } from '../../..';
|
|
2
|
+
import { NmorphElementDesignType } from '../../../../types';
|
|
2
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
4
|
|
|
4
5
|
interface INmorphProps {
|
|
5
6
|
variant: keyof typeof NmorphSkeletonItemPropsType;
|
|
6
7
|
width: string;
|
|
7
8
|
height: string;
|
|
8
|
-
|
|
9
|
+
design?: NmorphElementDesignType;
|
|
9
10
|
}
|
|
10
11
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
12
|
variant: string;
|
|
12
13
|
width: string;
|
|
13
14
|
height: string;
|
|
14
|
-
|
|
15
|
+
design: string;
|
|
15
16
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
17
|
variant: string;
|
|
17
18
|
width: string;
|
|
18
19
|
height: string;
|
|
19
|
-
|
|
20
|
+
design: string;
|
|
20
21
|
}>>>, {
|
|
21
22
|
width: string;
|
|
22
23
|
height: string;
|
|
23
|
-
style: "nmorph" | "common";
|
|
24
24
|
variant: keyof typeof NmorphSkeletonItemPropsType;
|
|
25
|
+
design: NmorphElementDesignType;
|
|
25
26
|
}, {}>;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NmorphComponentHeight } from '../../../types';
|
|
1
|
+
import { NmorphComponentHeight, NmorphElementDesignType } from '../../../types';
|
|
2
2
|
import { INmorphTagItemProps } from './types';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
|
|
@@ -7,18 +7,18 @@ interface INmorphProps extends INmorphTagItemProps {
|
|
|
7
7
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
8
|
height: string;
|
|
9
9
|
removable: boolean;
|
|
10
|
-
|
|
10
|
+
design: string;
|
|
11
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
12
|
close: (val: string) => void;
|
|
13
13
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
14
|
height: string;
|
|
15
15
|
removable: boolean;
|
|
16
|
-
|
|
16
|
+
design: string;
|
|
17
17
|
}>>> & {
|
|
18
18
|
onClose?: (val: string) => any;
|
|
19
19
|
}, {
|
|
20
|
-
transparent: boolean;
|
|
21
20
|
height: keyof typeof NmorphComponentHeight;
|
|
21
|
+
design: NmorphElementDesignType;
|
|
22
22
|
removable: boolean;
|
|
23
23
|
}, {}>;
|
|
24
24
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { NmorphComponentHeight } from '../../../types';
|
|
1
|
+
import { NmorphComponentHeight, NmorphElementDesignType } from '../../../types';
|
|
2
2
|
|
|
3
3
|
export interface INmorphTagItemProps {
|
|
4
4
|
value: string;
|
|
5
5
|
text: string;
|
|
6
6
|
removable?: boolean;
|
|
7
7
|
height?: keyof typeof NmorphComponentHeight;
|
|
8
|
-
|
|
8
|
+
design?: NmorphElementDesignType;
|
|
9
9
|
}
|
|
@@ -302,6 +302,7 @@ export declare enum NmorphComponentPosition {
|
|
|
302
302
|
}
|
|
303
303
|
export type NmorphPlacementType = keyof typeof NmorphComponentPosition;
|
|
304
304
|
export type NmorphDomElementType = HTMLElement | null;
|
|
305
|
+
export type NmorphElementDesignType = 'nmorph' | 'common';
|
|
305
306
|
export interface INmorphCoords<T> {
|
|
306
307
|
x: T;
|
|
307
308
|
y: T;
|