@nmorph/nmorph-ui-kit 3.0.15 → 3.0.16
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/components/basic/nmorph-text/NmorphText.vue.js +15 -9
- package/dist/components/basic/nmorph-text/NmorphText.vue2.js +4 -2
- package/dist/index.umd.js +2 -2
- package/dist/package.json.js +1 -1
- package/dist/src/components/basic/nmorph-text/NmorphText.vue.d.ts +1 -0
- package/dist/src/components/basic/nmorph-text/types.d.ts +1 -0
- package/dist/src/types/common.types.d.ts +1 -0
- package/dist/types/common.types.js +1 -0
- package/package.json +1 -1
package/dist/package.json.js
CHANGED
|
@@ -2,6 +2,7 @@ import { INmorphTextProps, NmorphTextTag } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphTextProps> & Readonly<{}>, {
|
|
4
4
|
color: string;
|
|
5
|
+
text: string | number;
|
|
5
6
|
align: "left" | "right" | "inherit" | "center" | "justify";
|
|
6
7
|
as: NmorphTextTag;
|
|
7
8
|
variant: "body" | "caption" | "body-small" | "body-large" | "label" | "title-small" | "title" | "title-large" | "display-large" | "display-medium" | "control-large" | "control" | "control-small" | "control-tiny";
|
|
@@ -2,6 +2,7 @@ import { NmorphTextAlignType, NmorphTypographyColorType, NmorphTypographyVariant
|
|
|
2
2
|
export type NmorphTextTag = 'span' | 'p' | 'div' | 'label' | 'strong' | 'em' | 'small' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
3
|
export interface INmorphTextProps {
|
|
4
4
|
as?: NmorphTextTag;
|
|
5
|
+
text?: string | number;
|
|
5
6
|
variant?: NmorphTypographyVariantType;
|
|
6
7
|
weight?: NmorphTypographyWeightType;
|
|
7
8
|
color?: NmorphTypographyColorType | string;
|
|
@@ -76,6 +76,7 @@ export declare const NmorphTypographyWeight: {
|
|
|
76
76
|
export type NmorphTypographyWeightType = keyof typeof NmorphTypographyWeight;
|
|
77
77
|
export declare const NmorphTypographyColor: {
|
|
78
78
|
readonly text: "text";
|
|
79
|
+
readonly contrast: "contrast";
|
|
79
80
|
readonly 'semi-contrast': "semi-contrast";
|
|
80
81
|
readonly placeholder: "placeholder";
|
|
81
82
|
readonly focus: "focus";
|