@nmorph/nmorph-ui-kit 0.2.158 → 0.2.159
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 +1911 -1965
- package/dist/index.umd.js +3 -3
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +1 -1
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +2 -2
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +3 -3
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +1 -1
- package/dist/src/hooks/index.d.ts +1 -3
- package/dist/src/main.d.ts +2 -3
- package/dist/src/outside-utils/index.d.ts +6 -0
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/utils/case-transformers.d.ts +5 -0
- package/dist/src/utils/index.d.ts +1 -10
- package/dist/style.css +1 -1
- package/package.json +1 -2
- package/dist/src/histoire.setup.d.ts +0 -0
- package/dist/src/hooks/use-a11y-props.d.ts +0 -3
- package/dist/src/hooks/use-event-manager.d.ts +0 -1
- package/dist/src/utils/any-to-pascal.d.ts +0 -1
- package/dist/src/utils/camel-to-kebab.d.ts +0 -1
- package/dist/src/utils/camel-to-title.d.ts +0 -1
- package/dist/src/utils/capitalize-first-char.d.ts +0 -1
- package/dist/src/utils/deep-clone.d.ts +0 -1
- package/dist/src/utils/generateUUID.d.ts +0 -1
- package/dist/src/utils/is-string-html.d.ts +0 -1
- package/dist/src/utils/log.d.ts +0 -3
- package/dist/src/utils/pascal-to-kebab.d.ts +0 -1
- package/dist/src/utils/pascal-to-space.d.ts +0 -1
- /package/dist/src/{providers → outside-hooks}/index.d.ts +0 -0
- /package/dist/src/{providers → outside-hooks}/use-nmorph-browser.d.ts +0 -0
- /package/dist/src/{providers → outside-hooks}/use-nmorph-theme.d.ts +0 -0
- /package/dist/src/{providers → outside-hooks}/use-nmorph.d.ts +0 -0
|
@@ -53,10 +53,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
53
53
|
fill: boolean;
|
|
54
54
|
text: string | number;
|
|
55
55
|
disabled: boolean;
|
|
56
|
+
shape: keyof typeof NmorphButtonShape;
|
|
56
57
|
styleType: keyof typeof NmorphButtonStyle;
|
|
57
58
|
accentBgOnHover: boolean;
|
|
58
59
|
ripple: boolean;
|
|
59
|
-
shape: keyof typeof NmorphButtonShape;
|
|
60
60
|
icon: keyof typeof NmorphIconList;
|
|
61
61
|
tabindex: number;
|
|
62
62
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -73,8 +73,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
73
73
|
updateOnlyOnScrollEnd: boolean;
|
|
74
74
|
yBarWidthInPx: number;
|
|
75
75
|
xBarWidthInPx: number;
|
|
76
|
-
yGapInPx: number;
|
|
77
76
|
xGapInPx: number;
|
|
77
|
+
yGapInPx: number;
|
|
78
78
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
79
79
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
80
80
|
export default _default;
|
|
@@ -38,8 +38,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
38
38
|
max: number;
|
|
39
39
|
hidden: boolean;
|
|
40
40
|
isDot: boolean;
|
|
41
|
-
offsetX: number;
|
|
42
41
|
offsetY: number;
|
|
42
|
+
offsetX: number;
|
|
43
43
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
45
|
export default _default;
|
|
@@ -31,12 +31,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
31
31
|
onError?: (event: Event) => any;
|
|
32
32
|
onLoad?: (event: Event) => any;
|
|
33
33
|
}>, {
|
|
34
|
-
loadingText: string;
|
|
35
|
-
loadFailedText: string;
|
|
36
34
|
frameBorder: number;
|
|
37
35
|
srcSet: string;
|
|
38
36
|
fit: keyof NmorphImageFit;
|
|
39
37
|
alt: string;
|
|
38
|
+
loadingText: string;
|
|
39
|
+
loadFailedText: string;
|
|
40
40
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
42
|
export default _default;
|
|
@@ -21,8 +21,8 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
21
21
|
}>>> & Readonly<{}>, {
|
|
22
22
|
width: string;
|
|
23
23
|
height: string;
|
|
24
|
-
variant: keyof typeof NmorphSkeletonItemPropsType;
|
|
25
24
|
design: NmorphElementDesignType;
|
|
25
|
+
variant: keyof typeof NmorphSkeletonItemPropsType;
|
|
26
26
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|
|
28
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -39,11 +39,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
39
39
|
fill: boolean;
|
|
40
40
|
html: string;
|
|
41
41
|
title: string;
|
|
42
|
+
bordered: boolean;
|
|
42
43
|
id: string;
|
|
43
44
|
closable: boolean;
|
|
44
45
|
content: string;
|
|
45
46
|
showIcon: boolean;
|
|
46
|
-
bordered: boolean;
|
|
47
47
|
closeIconPosition: string;
|
|
48
48
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -43,12 +43,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
43
43
|
}>, {
|
|
44
44
|
width: string;
|
|
45
45
|
title: string;
|
|
46
|
-
zIndex: number;
|
|
47
46
|
modelValue: boolean;
|
|
48
47
|
openDelay: number;
|
|
49
48
|
closeDelay: number;
|
|
50
49
|
closeOnClickModal: boolean;
|
|
51
50
|
showClose: boolean;
|
|
51
|
+
zIndex: number;
|
|
52
52
|
closeOnOverlay: boolean;
|
|
53
53
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
54
54
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -26,9 +26,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
26
26
|
}>, {
|
|
27
27
|
label: string;
|
|
28
28
|
disabled: boolean;
|
|
29
|
-
id: string;
|
|
30
29
|
modelValue: boolean;
|
|
31
30
|
design: NmorphCheckboxDesignType;
|
|
31
|
+
id: string;
|
|
32
32
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
33
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
34
34
|
export default _default;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
31
31
|
"onUpdate:model-value"?: (val: string) => any;
|
|
32
32
|
}>, {
|
|
33
33
|
disabled: boolean;
|
|
34
|
-
styleType: keyof typeof NmorphRadioStyleType;
|
|
35
34
|
modelValue: string;
|
|
35
|
+
styleType: keyof typeof NmorphRadioStyleType;
|
|
36
36
|
options: NmorphListRadioOptionElementType[];
|
|
37
37
|
direction: keyof typeof NmorphComponentDirection;
|
|
38
38
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -49,13 +49,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
49
49
|
name: string;
|
|
50
50
|
height: keyof typeof NmorphComponentHeight;
|
|
51
51
|
disabled: boolean;
|
|
52
|
-
noElementPlaceholder: string;
|
|
53
|
-
id: string;
|
|
54
52
|
modelValue: NmorphSelectModelValueType;
|
|
53
|
+
id: string;
|
|
54
|
+
open: boolean;
|
|
55
55
|
options: INmorphSelectOption[];
|
|
56
|
+
noElementPlaceholder: string;
|
|
56
57
|
valueRequired: boolean;
|
|
57
58
|
optionsMap: INmorphSelectOption[];
|
|
58
|
-
open: boolean;
|
|
59
59
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
61
61
|
export default _default;
|
|
@@ -16,8 +16,8 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
16
16
|
zIndex: number;
|
|
17
17
|
quantity: number;
|
|
18
18
|
}>>> & Readonly<{}>, {
|
|
19
|
-
placement: keyof typeof NmorphNotificationPlacement;
|
|
20
19
|
zIndex: number;
|
|
20
|
+
placement: keyof typeof NmorphNotificationPlacement;
|
|
21
21
|
quantity: number;
|
|
22
22
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
23
23
|
export default _default;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './use-field-validation';
|
|
2
2
|
export * from './use-form-validation';
|
|
3
3
|
export * from './use-placement';
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '../providers/use-nmorph-theme';
|
|
4
|
+
export * from '../outside-hooks/use-nmorph-theme';
|
|
6
5
|
export * from './use-nmorph-translation';
|
|
7
6
|
export * from './use-nmorph-notification';
|
|
8
|
-
export * from './use-a11y-props';
|
package/dist/src/main.d.ts
CHANGED
|
@@ -2,9 +2,8 @@ import { Plugin } from 'vue';
|
|
|
2
2
|
|
|
3
3
|
declare const library: Plugin;
|
|
4
4
|
export * from './types/index.ts';
|
|
5
|
+
export * from './outside-hooks';
|
|
6
|
+
export * from './outside-utils';
|
|
5
7
|
export * from './components';
|
|
6
|
-
export * from './utils';
|
|
7
|
-
export * from './hooks';
|
|
8
8
|
export * from './locales';
|
|
9
|
-
export * from './providers';
|
|
10
9
|
export default library;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const capitalizeFirstChar: (str: string) => string;
|
|
2
|
+
export declare const deepClone: <T>(obj: T) => T;
|
|
3
|
+
export declare const generateUUID: () => string;
|
|
4
|
+
type ConsoleType = 'error' | 'success' | 'warn' | 'info';
|
|
5
|
+
export declare const nmorphLog: (type: ConsoleType, message: string) => void;
|
|
6
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { I18n } from 'vue-i18n';
|
|
3
3
|
import { NmorphFormValidationDataType } from '../components';
|
|
4
|
-
import { useNmorphBrowser, useNmorphTheme } from '../
|
|
4
|
+
import { useNmorphBrowser, useNmorphTheme } from '../outside-hooks';
|
|
5
5
|
|
|
6
6
|
export interface INmorphInstance {
|
|
7
7
|
theme: ReturnType<typeof useNmorphTheme>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const anyToPascalCase: (str: string) => string;
|
|
2
|
+
export declare const camelToKebab: (input: string) => string;
|
|
3
|
+
export declare const camelToTitle: (str: string) => string;
|
|
4
|
+
export declare const pascalToKebab: (str: string) => string;
|
|
5
|
+
export declare const pascalToSpace: (str: string) => string;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
1
|
export * from './create-modifiers';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './is-string-html';
|
|
4
|
-
export * from './generateUUID';
|
|
5
|
-
export * from './capitalize-first-char';
|
|
6
|
-
export * from './camel-to-kebab';
|
|
7
|
-
export * from './log';
|
|
8
|
-
export * from './any-to-pascal';
|
|
9
|
-
export * from './camel-to-title';
|
|
10
|
-
export * from './pascal-to-kebab';
|
|
11
|
-
export * from './pascal-to-space';
|
|
2
|
+
export * from './case-transformers';
|