@momentum-design/components 0.114.0 → 0.115.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.
- package/dist/custom-elements.json +84 -84
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
@@ -38239,90 +38239,6 @@
|
|
38239
38239
|
}
|
38240
38240
|
]
|
38241
38241
|
},
|
38242
|
-
{
|
38243
|
-
"kind": "javascript-module",
|
38244
|
-
"path": "components/text/text.component.js",
|
38245
|
-
"declarations": [
|
38246
|
-
{
|
38247
|
-
"kind": "class",
|
38248
|
-
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
38249
|
-
"name": "Text",
|
38250
|
-
"cssParts": [
|
38251
|
-
{
|
38252
|
-
"description": "The text element",
|
38253
|
-
"name": "text"
|
38254
|
-
}
|
38255
|
-
],
|
38256
|
-
"slots": [
|
38257
|
-
{
|
38258
|
-
"description": "Default slot for text content",
|
38259
|
-
"name": ""
|
38260
|
-
}
|
38261
|
-
],
|
38262
|
-
"members": [
|
38263
|
-
{
|
38264
|
-
"kind": "field",
|
38265
|
-
"name": "type",
|
38266
|
-
"type": {
|
38267
|
-
"text": "TextType"
|
38268
|
-
},
|
38269
|
-
"privacy": "public",
|
38270
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
38271
|
-
"default": "body-midsize-medium",
|
38272
|
-
"attribute": "type",
|
38273
|
-
"reflects": true
|
38274
|
-
},
|
38275
|
-
{
|
38276
|
-
"kind": "field",
|
38277
|
-
"name": "tagname",
|
38278
|
-
"type": {
|
38279
|
-
"text": "TagName | undefined"
|
38280
|
-
},
|
38281
|
-
"privacy": "public",
|
38282
|
-
"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.",
|
38283
|
-
"attribute": "tagname",
|
38284
|
-
"reflects": true
|
38285
|
-
}
|
38286
|
-
],
|
38287
|
-
"attributes": [
|
38288
|
-
{
|
38289
|
-
"name": "type",
|
38290
|
-
"type": {
|
38291
|
-
"text": "TextType"
|
38292
|
-
},
|
38293
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
38294
|
-
"default": "body-midsize-medium",
|
38295
|
-
"fieldName": "type"
|
38296
|
-
},
|
38297
|
-
{
|
38298
|
-
"name": "tagname",
|
38299
|
-
"type": {
|
38300
|
-
"text": "TagName | undefined"
|
38301
|
-
},
|
38302
|
-
"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.",
|
38303
|
-
"fieldName": "tagname"
|
38304
|
-
}
|
38305
|
-
],
|
38306
|
-
"superclass": {
|
38307
|
-
"name": "Component",
|
38308
|
-
"module": "/src/models"
|
38309
|
-
},
|
38310
|
-
"tagName": "mdc-text",
|
38311
|
-
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
38312
|
-
"customElement": true
|
38313
|
-
}
|
38314
|
-
],
|
38315
|
-
"exports": [
|
38316
|
-
{
|
38317
|
-
"kind": "js",
|
38318
|
-
"name": "default",
|
38319
|
-
"declaration": {
|
38320
|
-
"name": "Text",
|
38321
|
-
"module": "components/text/text.component.js"
|
38322
|
-
}
|
38323
|
-
}
|
38324
|
-
]
|
38325
|
-
},
|
38326
38242
|
{
|
38327
38243
|
"kind": "javascript-module",
|
38328
38244
|
"path": "components/textarea/textarea.component.js",
|
@@ -40443,6 +40359,90 @@
|
|
40443
40359
|
}
|
40444
40360
|
]
|
40445
40361
|
},
|
40362
|
+
{
|
40363
|
+
"kind": "javascript-module",
|
40364
|
+
"path": "components/text/text.component.js",
|
40365
|
+
"declarations": [
|
40366
|
+
{
|
40367
|
+
"kind": "class",
|
40368
|
+
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
40369
|
+
"name": "Text",
|
40370
|
+
"cssParts": [
|
40371
|
+
{
|
40372
|
+
"description": "The text element",
|
40373
|
+
"name": "text"
|
40374
|
+
}
|
40375
|
+
],
|
40376
|
+
"slots": [
|
40377
|
+
{
|
40378
|
+
"description": "Default slot for text content",
|
40379
|
+
"name": ""
|
40380
|
+
}
|
40381
|
+
],
|
40382
|
+
"members": [
|
40383
|
+
{
|
40384
|
+
"kind": "field",
|
40385
|
+
"name": "type",
|
40386
|
+
"type": {
|
40387
|
+
"text": "TextType"
|
40388
|
+
},
|
40389
|
+
"privacy": "public",
|
40390
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
40391
|
+
"default": "body-midsize-medium",
|
40392
|
+
"attribute": "type",
|
40393
|
+
"reflects": true
|
40394
|
+
},
|
40395
|
+
{
|
40396
|
+
"kind": "field",
|
40397
|
+
"name": "tagname",
|
40398
|
+
"type": {
|
40399
|
+
"text": "TagName | undefined"
|
40400
|
+
},
|
40401
|
+
"privacy": "public",
|
40402
|
+
"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.",
|
40403
|
+
"attribute": "tagname",
|
40404
|
+
"reflects": true
|
40405
|
+
}
|
40406
|
+
],
|
40407
|
+
"attributes": [
|
40408
|
+
{
|
40409
|
+
"name": "type",
|
40410
|
+
"type": {
|
40411
|
+
"text": "TextType"
|
40412
|
+
},
|
40413
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
40414
|
+
"default": "body-midsize-medium",
|
40415
|
+
"fieldName": "type"
|
40416
|
+
},
|
40417
|
+
{
|
40418
|
+
"name": "tagname",
|
40419
|
+
"type": {
|
40420
|
+
"text": "TagName | undefined"
|
40421
|
+
},
|
40422
|
+
"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.",
|
40423
|
+
"fieldName": "tagname"
|
40424
|
+
}
|
40425
|
+
],
|
40426
|
+
"superclass": {
|
40427
|
+
"name": "Component",
|
40428
|
+
"module": "/src/models"
|
40429
|
+
},
|
40430
|
+
"tagName": "mdc-text",
|
40431
|
+
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
40432
|
+
"customElement": true
|
40433
|
+
}
|
40434
|
+
],
|
40435
|
+
"exports": [
|
40436
|
+
{
|
40437
|
+
"kind": "js",
|
40438
|
+
"name": "default",
|
40439
|
+
"declaration": {
|
40440
|
+
"name": "Text",
|
40441
|
+
"module": "components/text/text.component.js"
|
40442
|
+
}
|
40443
|
+
}
|
40444
|
+
]
|
40445
|
+
},
|
40446
40446
|
{
|
40447
40447
|
"kind": "javascript-module",
|
40448
40448
|
"path": "components/toggletip/toggletip.component.js",
|
package/dist/react/index.d.ts
CHANGED
@@ -71,11 +71,11 @@ export { default as StepperConnector } from './stepperconnector';
|
|
71
71
|
export { default as StepperItem } from './stepperitem';
|
72
72
|
export { default as Tab } from './tab';
|
73
73
|
export { default as TabList } from './tablist';
|
74
|
-
export { default as Text } from './text';
|
75
74
|
export { default as Textarea } from './textarea';
|
76
75
|
export { default as ThemeProvider } from './themeprovider';
|
77
76
|
export { default as Toast } from './toast';
|
78
77
|
export { default as Toggle } from './toggle';
|
78
|
+
export { default as Text } from './text';
|
79
79
|
export { default as ToggleTip } from './toggletip';
|
80
80
|
export { default as Tooltip } from './tooltip';
|
81
81
|
export { default as Typewriter } from './typewriter';
|
package/dist/react/index.js
CHANGED
@@ -71,11 +71,11 @@ export { default as StepperConnector } from './stepperconnector';
|
|
71
71
|
export { default as StepperItem } from './stepperitem';
|
72
72
|
export { default as Tab } from './tab';
|
73
73
|
export { default as TabList } from './tablist';
|
74
|
-
export { default as Text } from './text';
|
75
74
|
export { default as Textarea } from './textarea';
|
76
75
|
export { default as ThemeProvider } from './themeprovider';
|
77
76
|
export { default as Toast } from './toast';
|
78
77
|
export { default as Toggle } from './toggle';
|
78
|
+
export { default as Text } from './text';
|
79
79
|
export { default as ToggleTip } from './toggletip';
|
80
80
|
export { default as Tooltip } from './tooltip';
|
81
81
|
export { default as Typewriter } from './typewriter';
|