@nmorph/nmorph-ui-kit 1.1.5 → 1.1.6

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.
@@ -77,6 +77,7 @@ export { default as NmorphIconEdit } from '../../../assets/icons/edit.svg';
77
77
  export { default as NmorphIconEnlarge } from '../../../assets/icons/enlarge.svg';
78
78
  export { default as NmorphIconExpand } from '../../../assets/icons/expand.svg';
79
79
  export { default as NmorphIconError } from '../../../assets/icons/error.svg';
80
+ export { default as NmorphIconExit } from '../../../assets/icons/exit.svg';
80
81
  export { default as NmorphIconEye } from '../../../assets/icons/eye.svg';
81
82
  export { default as NmorphIconEyeBlocked } from '../../../assets/icons/eye-blocked.svg';
82
83
  export { default as NmorphIconFailed } from '../../../assets/icons/failed.svg';
@@ -244,6 +245,7 @@ export { default as NmorphIconUploadFilled } from '../../../assets/icons/upload-
244
245
  export { default as NmorphIconUpload } from '../../../assets/icons/upload.svg';
245
246
  export { default as NmorphIconUserFilled } from '../../../assets/icons/user-filled.svg';
246
247
  export { default as NmorphIconUser } from '../../../assets/icons/user.svg';
248
+ export { default as NmorphIconUsers } from '../../../assets/icons/users.svg';
247
249
  export { default as NmorphIconVan } from '../../../assets/icons/van.svg';
248
250
  export { default as NmorphIconVideoCamera } from '../../../assets/icons/view.svg';
249
251
  export { default as NmorphIconVideoPause } from '../../../assets/icons/video-pause.svg';
@@ -17,5 +17,5 @@ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentO
17
17
  shape: "square" | "circle";
18
18
  frameBorder: number;
19
19
  imagePadding: number;
20
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
21
21
  export default _default;
@@ -1,8 +1,9 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  interface INmorphProps {
3
- value: number | string;
3
+ value?: number | string;
4
4
  max?: number;
5
5
  isDot?: boolean;
6
+ isTag?: boolean;
6
7
  hidden?: boolean;
7
8
  color?: string;
8
9
  offsetY?: number;
@@ -10,15 +11,15 @@ interface INmorphProps {
10
11
  disabled?: boolean;
11
12
  }
12
13
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
13
- value: string | number;
14
14
  disabled: boolean;
15
15
  color: string;
16
16
  hidden: boolean;
17
17
  max: number;
18
18
  isDot: boolean;
19
+ isTag: boolean;
19
20
  offsetY: number;
20
21
  offsetX: number;
21
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
22
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
22
23
  default?(_: {}): any;
23
24
  default?(_: {}): any;
24
25
  value?(_: {}): any;
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
18
18
  alt: string;
19
19
  loadingText: string;
20
20
  loadFailedText: string;
21
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
21
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
22
22
  error?(_: {}): any;
23
23
  loading?(_: {}): any;
24
24
  }>;
@@ -1,6 +1,7 @@
1
1
  export { default as NmorphCheckbox } from './nmorph-checkbox/NmorphCheckbox.vue';
2
2
  export { default as NmorphCheckboxGroup } from './nmorph-checkbox-group/NmorphCheckboxGroup.vue';
3
3
  export { default as NmorphAutocomplete } from './nmorph-autocomplete/NmorphAutocomplete.vue';
4
+ export { default as NmorphColorPicker } from './nmorph-color-picker/NmorphColorPicker.vue';
4
5
  export * from './nmorph-autocomplete/types';
5
6
  export { default as NmorphDatePicker } from './nmorph-date-picker/NmorphDatePicker.vue';
6
7
  export { default as NmorphFileUpload } from './nmorph-file-upload/NmorphFileUpload.vue';
@@ -0,0 +1,23 @@
1
+ import { INmorphCommonInputProps } from '../../../types';
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface INmorphProps extends INmorphCommonInputProps {
4
+ modelValue?: string;
5
+ showValue?: boolean;
6
+ }
7
+ declare const _default: DefineComponent<INmorphProps, {
8
+ inputDOMRef: Ref<HTMLElement, HTMLElement>;
9
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
+ blur: () => any;
11
+ focus: () => any;
12
+ "update:model-value": (val: string) => any;
13
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
14
+ onBlur?: () => any;
15
+ onFocus?: () => any;
16
+ "onUpdate:model-value"?: (val: string) => any;
17
+ }>, {
18
+ height: "default" | "thick" | "thin";
19
+ disabled: boolean;
20
+ modelValue: string;
21
+ showValue: boolean;
22
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
@@ -21,7 +21,7 @@ export interface INmorphRule {
21
21
  numberCompareType?: keyof typeof NmorphNumberCompareOperator;
22
22
  booleanCompareType?: keyof typeof NmorphBooleanCompareOperator;
23
23
  arrayCompareType?: keyof typeof NmorphArrayValidationOperator;
24
- compareValue?: number | string | string[];
24
+ compareValue?: boolean | number | string | string[];
25
25
  error: string;
26
26
  }
27
27
  export type NmorphValidationInputValueType = NmorphAvailableFormValueType | null;
@@ -39,7 +39,7 @@ export interface INmorphNumberValidationRule extends INmorphRule {
39
39
  }
40
40
  export interface INmorphRadioGroupValidationRule extends INmorphRule {
41
41
  booleanCompareType: NmorphBooleanCompareOperator;
42
- compareValue: string;
42
+ compareValue: boolean | string;
43
43
  }
44
44
  export interface INmorphCheckboxGroupValidationRule extends INmorphRule {
45
45
  arrayCompareType: keyof typeof NmorphArrayValidationOperator;
@@ -147,7 +147,7 @@ export interface INmorphDimensions {
147
147
  height: number;
148
148
  }
149
149
  export interface INmorphImage {
150
- src: string;
150
+ src?: string;
151
151
  srcSet?: string;
152
152
  fit?: keyof typeof NmorphImageFit;
153
153
  alt?: 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": "1.1.5",
5
+ "version": "1.1.6",
6
6
  "license": "MIT",
7
7
  "engines": {
8
8
  "node": ">=18.13.0",