@momentum-design/components
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -63,4 +63,15 @@ import { CSSResult } from 'lit'; | ||
* | ||
* Acceptable values include: 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'small', 'span', 'div', 'section'. | ||
* Acceptable values include: | ||
* | ||
* - 'h1' | ||
* - 'h2' | ||
* - 'h3' | ||
* - 'h4' | ||
* - 'h5' | ||
* - 'h6' | ||
* - 'p' | ||
* - 'small' | ||
* - 'span' | ||
* - 'div' | ||
* | ||
* For instance, setting this attribute to `h2` will render the text element as an `h2` element. | ||
@@ -67,0 +78,0 @@ * Note that the styling is determined by the `type` attribute. |
@@ -70,4 +70,15 @@ "use strict"; | ||
* | ||
* Acceptable values include: 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'small', 'span', 'div', 'section'. | ||
* Acceptable values include: | ||
* | ||
* - 'h1' | ||
* - 'h2' | ||
* - 'h3' | ||
* - 'h4' | ||
* - 'h5' | ||
* - 'h6' | ||
* - 'p' | ||
* - 'small' | ||
* - 'span' | ||
* - 'div' | ||
* | ||
* For instance, setting this attribute to `h2` will render the text element as an `h2` element. | ||
@@ -74,0 +85,0 @@ * Note that the styling is determined by the `type` attribute. |
@@ -51,3 +51,2 @@ "use strict"; | ||
'div', | ||
'section', | ||
], | ||
@@ -54,0 +53,0 @@ }; |
export type FontType = 'body-small-regular' | 'body-small-medium' | 'body-small-bold' | 'body-midsize-regular' | 'body-midsize-medium' | 'body-midsize-bold' | 'body-large-regular' | 'body-large-medium' | 'body-large-bold' | 'body-small-regular-underline' | 'body-small-medium-underline' | 'body-midsize-regular-underline' | 'body-midsize-medium-underline' | 'body-large-regular-underline' | 'body-large-medium-underline' | 'heading-small-regular' | 'heading-small-medium' | 'heading-small-bold' | 'heading-midsize-regular' | 'heading-midsize-medium' | 'heading-midsize-bold' | 'heading-large-regular' | 'heading-large-medium' | 'heading-large-bold' | 'heading-xlarge-regular' | 'heading-xlarge-medium' | 'heading-xlarge-bold' | 'headline-small-light' | 'headline-small-regular'; | ||
export type ValidTextTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'small' | 'span' | 'div' | 'section'; | ||
export type ValidTextTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'small' | 'span' | 'div'; |
@@ -604,3 +604,3 @@ { | ||
"privacy": "public", | ||
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include: 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'small', 'span', 'div', 'section'.\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.", | ||
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.", | ||
"attribute": "tagname", | ||
@@ -624,3 +624,3 @@ "reflects": true | ||
}, | ||
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include: 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'small', 'span', 'div', 'section'.\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.", | ||
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.", | ||
"fieldName": "tagname" | ||
@@ -627,0 +627,0 @@ } |
@@ -40,3 +40,3 @@ { | ||
}, | ||
"version": "0.4.1" | ||
"version": "0.4.2" | ||
} |
Sorry, the diff of this file is not supported yet
475444
3822