@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.
@@ -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["value"];
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>) => any;
29
- value?: (props: NmorphBadgeValueSlotProps) => any;
30
+ default?: (props: Record<string, never>) => unknown;
31
+ value?: (props: NmorphBadgeValueSlotProps) => unknown;
30
32
  }> & {
31
- default?: (props: Record<string, never>) => any;
32
- value?: (props: NmorphBadgeValueSlotProps) => any;
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: File[]) => any;
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: File[]) => any;
17
+ "onUpdate:model-value"?: (val: INmorphCustomFileData[]) => any;
18
18
  "onOn-unsupported-file-type-error"?: (val: string) => any;
19
19
  }>, {
20
20
  disabled: boolean;
@@ -99,6 +99,7 @@ export interface INmorphStaticColors {
99
99
  warnText?: string;
100
100
  gray?: string;
101
101
  accent?: string;
102
+ scrollThumb?: string;
102
103
  white?: string;
103
104
  black?: string;
104
105
  text?: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nmorph/nmorph-ui-kit",
3
3
  "type": "module",
4
4
  "private": false,
5
- "version": "2.1.0",
5
+ "version": "2.1.1",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",