@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.
@@ -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
- style?: 'nmorph' | 'common';
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
- style: string;
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
- style: string;
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
- transparent: boolean;
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
- transparent: boolean;
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
- transparent?: boolean;
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;