@nmorph/nmorph-ui-kit 2.1.1 → 2.2.0

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.
@@ -1,4 +1,5 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type NmorphBadgeSize = 'tiny' | 'extra-small' | 'base';
2
3
  interface INmorphProps {
3
4
  value?: number | string;
4
5
  max?: number;
@@ -6,6 +7,7 @@ interface INmorphProps {
6
7
  isTag?: boolean;
7
8
  hidden?: boolean;
8
9
  color?: string;
10
+ size?: NmorphBadgeSize;
9
11
  offsetY?: number;
10
12
  offsetX?: number;
11
13
  zIndex?: number;
@@ -16,6 +18,7 @@ type NmorphBadgeValueSlotProps = {
16
18
  displayValue: string | number | undefined;
17
19
  };
18
20
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
21
+ size: NmorphBadgeSize;
19
22
  value: string | number;
20
23
  color: string;
21
24
  disabled: boolean;
@@ -1,4 +1,6 @@
1
1
  export { default as NmorphAlert } from './nmorph-alert/NmorphAlert.vue';
2
2
  export * from './nmorph-alert/types';
3
+ export { default as NmorphCallout } from './nmorph-callout/NmorphCallout.vue';
4
+ export * from './nmorph-callout/types';
3
5
  export { default as NmorphDialog } from './nmorph-dialog/NmorphDialog.vue';
4
6
  export { default as NmorphTooltip } from './nmorph-tooltip/NmorphTooltip.vue';
@@ -0,0 +1,11 @@
1
+ import { NmorphCalloutType } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface INmorphProps {
4
+ type?: NmorphCalloutType;
5
+ title: string;
6
+ content: string;
7
+ }
8
+ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
9
+ type: NmorphCalloutType;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1 @@
1
+ export type NmorphCalloutType = 'info' | 'warning';
@@ -4,12 +4,14 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
4
4
  interface INmorphProps extends INmorphCommonInputProps {
5
5
  modelValue?: string;
6
6
  options?: INmorphSelectButtonOption[];
7
+ fill?: boolean;
7
8
  }
8
9
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
9
10
  "update:model-value": (val: string) => any;
10
11
  }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
11
12
  "onUpdate:model-value"?: (val: string) => any;
12
13
  }>, {
14
+ fill: boolean;
13
15
  height: "default" | "thick" | "thin";
14
16
  disabled: boolean;
15
17
  modelValue: string;
@@ -73,7 +73,7 @@ export interface INmorphColorVariable {
73
73
  }
74
74
  export interface INmorphOtherThemeOptions {
75
75
  baseShadowWidth?: string;
76
- shadowBlurCoefficient?: string;
76
+ baseShadowBlurCoefficient?: string;
77
77
  }
78
78
  export interface INmorphThemeOptions {
79
79
  themes?: NmorphThemeOptionsType;
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.1",
5
+ "version": "2.2.0",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",