@nmorph/nmorph-ui-kit 0.2.27 → 0.2.29
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 +2966 -2937
- 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 +23 -5
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.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/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +3 -3
- package/dist/src/components/form/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +1 -1
- package/dist/src/components/form/checkbox/types.d.ts +2 -2
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +1 -1
- package/dist/src/components/form/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +1 -1
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +1 -1
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useA11yProps.d.ts +3 -0
- package/dist/src/types/index.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -53,10 +53,10 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
53
53
|
type: keyof typeof NmorphButtonType;
|
|
54
54
|
text: string | number;
|
|
55
55
|
disabled: boolean;
|
|
56
|
-
shape: keyof typeof NmorphButtonShape;
|
|
57
56
|
styleType: keyof typeof NmorphButtonStyle;
|
|
58
57
|
accentBgOnHover: boolean;
|
|
59
58
|
ripple: boolean;
|
|
59
|
+
shape: keyof typeof NmorphButtonShape;
|
|
60
60
|
icon: keyof typeof NmorphIconList;
|
|
61
61
|
}, {}>;
|
|
62
62
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { INmorphA11yProps } from '../../../types';
|
|
1
2
|
import { NmorphCoordsType, NmorphOverflowProp, NmorphScrollBehavior } from '../..';
|
|
2
3
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
4
|
|
|
4
|
-
interface INmorphProps {
|
|
5
|
+
interface INmorphProps extends INmorphA11yProps {
|
|
5
6
|
height?: string;
|
|
6
7
|
maxHeight?: string;
|
|
7
8
|
modelValue?: NmorphCoordsType;
|
|
@@ -9,7 +10,12 @@ interface INmorphProps {
|
|
|
9
10
|
scrollXProp?: keyof typeof NmorphOverflowProp;
|
|
10
11
|
cssScrollBehavior?: keyof typeof NmorphScrollBehavior;
|
|
11
12
|
scrollEndDelay?: number;
|
|
12
|
-
|
|
13
|
+
updateOnlyOnScrollEnd?: boolean;
|
|
14
|
+
barWidthInPx?: number;
|
|
15
|
+
barHeightInPx?: number;
|
|
16
|
+
xGapInPx?: number;
|
|
17
|
+
yGapInPx?: number;
|
|
18
|
+
alwaysShow?: boolean;
|
|
13
19
|
}
|
|
14
20
|
declare function __VLS_template(): {
|
|
15
21
|
default?(_: {}): any;
|
|
@@ -25,7 +31,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
25
31
|
scrollXProp: string;
|
|
26
32
|
cssScrollBehavior: string;
|
|
27
33
|
scrollEndDelay: number;
|
|
28
|
-
|
|
34
|
+
updateOnlyOnScrollEnd: boolean;
|
|
35
|
+
barWidthInPx: number;
|
|
36
|
+
barHeightInPx: number;
|
|
37
|
+
yGapInPx: number;
|
|
38
|
+
xGapInPx: number;
|
|
29
39
|
}>, {
|
|
30
40
|
scrollDOMContainer: Ref<HTMLElement>;
|
|
31
41
|
moveTo: (coords: NmorphCoordsType) => void;
|
|
@@ -44,7 +54,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
44
54
|
scrollXProp: string;
|
|
45
55
|
cssScrollBehavior: string;
|
|
46
56
|
scrollEndDelay: number;
|
|
47
|
-
|
|
57
|
+
updateOnlyOnScrollEnd: boolean;
|
|
58
|
+
barWidthInPx: number;
|
|
59
|
+
barHeightInPx: number;
|
|
60
|
+
yGapInPx: number;
|
|
61
|
+
xGapInPx: number;
|
|
48
62
|
}>>> & {
|
|
49
63
|
"onOn-scroll"?: (event: Event) => any;
|
|
50
64
|
"onUpdate:modelValue"?: (coords: NmorphCoordsType) => any;
|
|
@@ -57,7 +71,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
57
71
|
scrollXProp: keyof typeof NmorphOverflowProp;
|
|
58
72
|
cssScrollBehavior: keyof typeof NmorphScrollBehavior;
|
|
59
73
|
scrollEndDelay: number;
|
|
60
|
-
|
|
74
|
+
updateOnlyOnScrollEnd: boolean;
|
|
75
|
+
barWidthInPx: number;
|
|
76
|
+
barHeightInPx: number;
|
|
77
|
+
yGapInPx: number;
|
|
78
|
+
xGapInPx: number;
|
|
61
79
|
}, {}>;
|
|
62
80
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
63
81
|
export default _default;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
33
33
|
hidden: boolean;
|
|
34
34
|
max: number;
|
|
35
35
|
isDot: boolean;
|
|
36
|
-
offsetY: number;
|
|
37
36
|
offsetX: number;
|
|
37
|
+
offsetY: number;
|
|
38
38
|
}, {}>;
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
40
|
export default _default;
|
|
@@ -30,9 +30,9 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
30
30
|
}>>>, {
|
|
31
31
|
alt: string;
|
|
32
32
|
fit: keyof typeof NmorphImageFit;
|
|
33
|
-
srcset: string;
|
|
34
33
|
loadingText: string;
|
|
35
34
|
loadFailedText: string;
|
|
35
|
+
srcset: string;
|
|
36
36
|
}, {}>;
|
|
37
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
38
38
|
export default _default;
|
|
@@ -33,10 +33,10 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
33
33
|
type: keyof typeof NmorphAlertType;
|
|
34
34
|
html: string;
|
|
35
35
|
title: string;
|
|
36
|
-
bordered: boolean;
|
|
37
36
|
closable: boolean;
|
|
38
37
|
content: string;
|
|
39
38
|
showIcon: boolean;
|
|
39
|
+
bordered: boolean;
|
|
40
40
|
}, {}>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
42
|
export default _default;
|
|
@@ -40,12 +40,12 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
40
40
|
}, {
|
|
41
41
|
width: string;
|
|
42
42
|
title: string;
|
|
43
|
+
zIndex: number;
|
|
43
44
|
modelValue: boolean;
|
|
44
45
|
openDelay: number;
|
|
45
46
|
closeDelay: number;
|
|
46
47
|
closeOnClickModal: boolean;
|
|
47
48
|
showClose: boolean;
|
|
48
|
-
zIndex: number;
|
|
49
49
|
}, {}>;
|
|
50
50
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
51
51
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
modelValue: boolean;
|
|
11
11
|
label: string;
|
|
12
|
-
|
|
12
|
+
design: string;
|
|
13
13
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
14
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
15
15
|
"update:modelValue": (val: boolean) => void;
|
|
@@ -17,15 +17,15 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
modelValue: boolean;
|
|
19
19
|
label: string;
|
|
20
|
-
|
|
20
|
+
design: string;
|
|
21
21
|
}>>> & {
|
|
22
22
|
"onUpdate:modelValue"?: (val: boolean) => any;
|
|
23
23
|
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
24
24
|
}, {
|
|
25
25
|
label: string;
|
|
26
|
-
style: keyof NmorphCheckboxStyleType;
|
|
27
26
|
disabled: boolean;
|
|
28
27
|
modelValue: boolean;
|
|
28
|
+
design: keyof NmorphCheckboxStyleType;
|
|
29
29
|
}, {}>;
|
|
30
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
31
|
export default _default;
|
package/dist/src/components/form/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
26
26
|
}>>> & {
|
|
27
27
|
"onUpdate:modelValue"?: (val: string[]) => any;
|
|
28
28
|
}, {
|
|
29
|
-
modelValue: string[];
|
|
30
29
|
styleType: keyof typeof NmorphCheckboxStyleType;
|
|
30
|
+
modelValue: string[];
|
|
31
31
|
options: INmorphCheckboxOption[];
|
|
32
32
|
direction: keyof typeof NmorphComponentDirection;
|
|
33
33
|
}, {}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
|
|
3
3
|
export interface INmorphCheckboxOption {
|
|
4
|
-
id
|
|
4
|
+
id?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
modelValue?: boolean;
|
|
7
7
|
label?: string;
|
|
8
|
-
|
|
8
|
+
design?: keyof typeof NmorphCheckboxStyleType;
|
|
9
9
|
}
|
|
10
10
|
export declare enum NmorphCheckboxStyleType {
|
|
11
11
|
checkbox = "checkbox",
|
|
@@ -46,11 +46,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
46
46
|
height: keyof typeof NmorphComponentHeight;
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
modelValue: NmorphSelectModelValueType;
|
|
49
|
-
open: boolean;
|
|
50
49
|
options: INmorphSelectOption[];
|
|
51
50
|
noElementPlaceholder: string;
|
|
52
51
|
valueRequired: boolean;
|
|
53
52
|
optionsMap: INmorphSelectOption[];
|
|
53
|
+
open: boolean;
|
|
54
54
|
}, {}>;
|
|
55
55
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
56
56
|
export default _default;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
31
31
|
"onUpdate:modelValue"?: (val: string) => any;
|
|
32
32
|
}, {
|
|
33
33
|
disabled: boolean;
|
|
34
|
-
modelValue: string;
|
|
35
34
|
styleType: keyof typeof NmorphRadioStyleType;
|
|
35
|
+
modelValue: string;
|
|
36
36
|
options: INmorphRadioOption[];
|
|
37
37
|
direction: keyof typeof NmorphComponentDirection;
|
|
38
38
|
}, {}>;
|
|
@@ -16,8 +16,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
16
16
|
zIndex: number;
|
|
17
17
|
quantity: number;
|
|
18
18
|
}>>>, {
|
|
19
|
-
zIndex: number;
|
|
20
19
|
placement: keyof typeof NmorphNotificationPlacement;
|
|
20
|
+
zIndex: number;
|
|
21
21
|
quantity: number;
|
|
22
22
|
}, {}>;
|
|
23
23
|
export default _default;
|