@nmorph/nmorph-ui-kit 2.2.4 → 2.2.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.
- package/dist/index.es.js +3596 -3567
- package/dist/index.umd.js +141 -143
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +1 -0
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +0 -1
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -0
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +2 -0
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +1 -0
- package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +1 -0
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +1 -0
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +1 -0
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -0
- package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +1 -1
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/use-z-index.d.ts +2 -0
- package/dist/src/outside-hooks/index.d.ts +1 -0
- package/dist/src/outside-hooks/use-nmorph-z-index.d.ts +7 -0
- package/dist/src/types/index.d.ts +7 -1
- package/package.json +1 -1
|
@@ -23,12 +23,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
|
23
23
|
color: string;
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
hidden: boolean;
|
|
26
|
+
zIndex: number;
|
|
26
27
|
max: number;
|
|
27
28
|
isDot: boolean;
|
|
28
29
|
isTag: boolean;
|
|
29
30
|
offsetY: number;
|
|
30
31
|
offsetX: number;
|
|
31
|
-
zIndex: number;
|
|
32
32
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
33
33
|
default?: (props: Record<string, never>) => unknown;
|
|
34
34
|
value?: (props: NmorphBadgeValueSlotProps) => unknown;
|
|
@@ -7,6 +7,7 @@ interface INmorphProps {
|
|
|
7
7
|
scaleStep?: number;
|
|
8
8
|
minScaleLevel?: number;
|
|
9
9
|
maxScaleLevel?: number;
|
|
10
|
+
zIndex?: number;
|
|
10
11
|
}
|
|
11
12
|
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
13
|
"update:model-value": (value: boolean) => any;
|
|
@@ -7,6 +7,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
7
7
|
clearable?: boolean;
|
|
8
8
|
list: INmorphAutocompleteListItem[];
|
|
9
9
|
actionCallback?: NmorphAutocompleteActionCallbackType;
|
|
10
|
+
zIndex?: number;
|
|
10
11
|
}
|
|
11
12
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
13
|
select: (value: unknown) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
1
2
|
import { INmorphCheckboxOption, NmorphCheckboxDesignType } from '../../../types';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCheckboxOption, {
|
|
4
4
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
5
5
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -11,6 +11,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
|
11
11
|
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
12
12
|
"onUpdate:model-value"?: (val: string[]) => any;
|
|
13
13
|
}>, {
|
|
14
|
+
height: "default" | "thick" | "thin";
|
|
15
|
+
disabled: boolean;
|
|
14
16
|
modelValue: string[];
|
|
15
17
|
design: NmorphCheckboxDesignType;
|
|
16
18
|
options: INmorphCheckboxOption[];
|
|
@@ -7,6 +7,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
7
7
|
type?: keyof typeof NmorphSelectionDateType;
|
|
8
8
|
textSeparator?: string;
|
|
9
9
|
initialDate?: Date;
|
|
10
|
+
zIndex?: number;
|
|
10
11
|
}
|
|
11
12
|
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
13
|
"update:model-value": (modelValue: NmorphSelectedDateModelType) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
1
2
|
import { INmorphRadioOption, NmorphRadioStyleType } from '../../../types';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
interface INmorphProps extends Omit<INmorphRadioOption, 'value'> {
|
|
4
4
|
value?: string;
|
|
5
5
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
|
13
13
|
"onUpdate:model-value"?: (val: string) => any;
|
|
14
14
|
}>, {
|
|
15
15
|
styleType: "button" | "radio-style";
|
|
16
|
+
height: "default" | "thick" | "thin";
|
|
16
17
|
disabled: boolean;
|
|
17
18
|
modelValue: string;
|
|
18
19
|
options: NmorphListRadioOptionElementType[];
|
|
@@ -11,6 +11,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
11
11
|
open?: boolean;
|
|
12
12
|
fill?: boolean;
|
|
13
13
|
optionsWidth?: 'truncate' | 'auto';
|
|
14
|
+
zIndex?: number;
|
|
14
15
|
}
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
16
17
|
"update:model-value": (val: NmorphSelectModelValueType) => any;
|
|
@@ -9,6 +9,7 @@ interface INmorphProps {
|
|
|
9
9
|
xOffset?: number;
|
|
10
10
|
yOffset?: number;
|
|
11
11
|
fillWidth?: boolean;
|
|
12
|
+
zIndex?: number;
|
|
12
13
|
}
|
|
13
14
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
15
|
"on-outside-click": () => any;
|
|
@@ -2,6 +2,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
show: boolean;
|
|
4
4
|
transparent?: boolean;
|
|
5
|
+
zIndex?: number;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
8
|
"on-outside-click": () => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './use-field-validation';
|
|
2
2
|
export * from './use-form-validation';
|
|
3
3
|
export * from './use-placement';
|
|
4
|
+
export * from './use-z-index';
|
|
4
5
|
export * from '../outside-hooks/use-nmorph-theme';
|
|
5
6
|
export * from './use-nmorph-translation';
|
|
6
7
|
export * from './use-style-class-mixins';
|
|
@@ -2,3 +2,4 @@ export { useNmorphTheme } from './use-nmorph-theme';
|
|
|
2
2
|
export { useNmorphBrowser } from './use-nmorph-browser';
|
|
3
3
|
export { useNmorphNotification } from './use-nmorph-notification';
|
|
4
4
|
export { useNmorph } from './use-nmorph';
|
|
5
|
+
export { useNmorphZIndex } from './use-nmorph-z-index';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { I18n } from 'vue-i18n';
|
|
3
3
|
import { NmorphFormValidationDataType } from '../components';
|
|
4
|
-
import { useNmorphBrowser, useNmorphTheme } from '../outside-hooks';
|
|
4
|
+
import { useNmorphBrowser, useNmorphTheme, useNmorphZIndex } from '../outside-hooks';
|
|
5
5
|
export interface INmorphInstance {
|
|
6
6
|
theme: ReturnType<typeof useNmorphTheme>;
|
|
7
7
|
browser: ReturnType<typeof useNmorphBrowser>;
|
|
8
|
+
zIndex: ReturnType<typeof useNmorphZIndex>;
|
|
8
9
|
}
|
|
9
10
|
export interface INmorphFromDataExpose {
|
|
10
11
|
formData: NmorphFormValidationDataType;
|
|
@@ -86,6 +87,9 @@ export interface INmorphThemeOptions {
|
|
|
86
87
|
export interface INmorphOptions {
|
|
87
88
|
theme?: INmorphThemeOptions;
|
|
88
89
|
i18n?: INmorphApplyTranslation;
|
|
90
|
+
zIndex?: {
|
|
91
|
+
base?: number;
|
|
92
|
+
};
|
|
89
93
|
}
|
|
90
94
|
export type NmorphThemeOptionsType = Record<string, INmorphThemeColors>;
|
|
91
95
|
export interface INmorphStaticColors {
|
|
@@ -165,6 +169,7 @@ export interface INmorphCheckboxOption {
|
|
|
165
169
|
modelValue?: boolean;
|
|
166
170
|
label?: string;
|
|
167
171
|
design?: NmorphCheckboxDesignType;
|
|
172
|
+
height?: keyof typeof NmorphComponentHeight;
|
|
168
173
|
}
|
|
169
174
|
export type NmorphCheckboxDesignType = 'button' | 'checkbox';
|
|
170
175
|
export type NmorphCheckboxGroupSelectedValueInjectionType = Ref<string[]>;
|
|
@@ -174,6 +179,7 @@ export interface INmorphRadioOption {
|
|
|
174
179
|
label?: string;
|
|
175
180
|
value: string;
|
|
176
181
|
tabindex?: number;
|
|
182
|
+
height?: keyof typeof NmorphComponentHeight;
|
|
177
183
|
}
|
|
178
184
|
export declare enum NmorphRadioStyleType {
|
|
179
185
|
'radio-style' = "radio-style",
|