@momentum-design/components 0.108.0 → 0.108.1
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/browser/index.js +169 -164
- package/dist/browser/index.js.map +4 -4
- package/dist/components/brandvisual/brandvisual.component.d.ts +9 -2
- package/dist/components/brandvisual/brandvisual.component.js +32 -14
- package/dist/components/brandvisual/brandvisual.constants.d.ts +1 -4
- package/dist/components/brandvisual/brandvisual.constants.js +1 -4
- package/dist/components/brandvisual/brandvisual.styles.js +5 -0
- package/dist/components/brandvisual/brandvisual.types.d.ts +4 -1
- package/dist/custom-elements.json +403 -331
- package/dist/react/brandvisual/index.d.ts +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/package.json +1 -1
@@ -477,157 +477,6 @@
|
|
477
477
|
}
|
478
478
|
]
|
479
479
|
},
|
480
|
-
{
|
481
|
-
"kind": "javascript-module",
|
482
|
-
"path": "components/accordiongroup/accordiongroup.component.js",
|
483
|
-
"declarations": [
|
484
|
-
{
|
485
|
-
"kind": "class",
|
486
|
-
"description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
|
487
|
-
"name": "AccordionGroup",
|
488
|
-
"cssProperties": [
|
489
|
-
{
|
490
|
-
"description": "The border color of the entire accordiongroup",
|
491
|
-
"name": "--mdc-accordiongroup-border-color"
|
492
|
-
}
|
493
|
-
],
|
494
|
-
"slots": [
|
495
|
-
{
|
496
|
-
"description": "The default slot can contain the `accordion` or `accordionbutton` components.",
|
497
|
-
"name": "default"
|
498
|
-
}
|
499
|
-
],
|
500
|
-
"members": [
|
501
|
-
{
|
502
|
-
"kind": "field",
|
503
|
-
"name": "size",
|
504
|
-
"type": {
|
505
|
-
"text": "Size"
|
506
|
-
},
|
507
|
-
"description": "The size of the accordion item.",
|
508
|
-
"default": "'small'",
|
509
|
-
"attribute": "size",
|
510
|
-
"reflects": true
|
511
|
-
},
|
512
|
-
{
|
513
|
-
"kind": "field",
|
514
|
-
"name": "variant",
|
515
|
-
"type": {
|
516
|
-
"text": "Variant"
|
517
|
-
},
|
518
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
519
|
-
"default": "'stacked'",
|
520
|
-
"attribute": "variant",
|
521
|
-
"reflects": true
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"kind": "field",
|
525
|
-
"name": "allowMultiple",
|
526
|
-
"type": {
|
527
|
-
"text": "boolean"
|
528
|
-
},
|
529
|
-
"default": "false",
|
530
|
-
"description": "If true, multiple accordion items can be visible at the same time.",
|
531
|
-
"attribute": "allow-multiple",
|
532
|
-
"reflects": true
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"kind": "method",
|
536
|
-
"name": "handleAccordionExpanded",
|
537
|
-
"privacy": "private",
|
538
|
-
"return": {
|
539
|
-
"type": {
|
540
|
-
"text": "void"
|
541
|
-
}
|
542
|
-
},
|
543
|
-
"parameters": [
|
544
|
-
{
|
545
|
-
"name": "event",
|
546
|
-
"type": {
|
547
|
-
"text": "Event"
|
548
|
-
},
|
549
|
-
"description": "The event object from the 'shown' event."
|
550
|
-
}
|
551
|
-
],
|
552
|
-
"description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
|
553
|
-
},
|
554
|
-
{
|
555
|
-
"kind": "method",
|
556
|
-
"name": "setChildrenAccordionAttributes",
|
557
|
-
"privacy": "private",
|
558
|
-
"return": {
|
559
|
-
"type": {
|
560
|
-
"text": "void"
|
561
|
-
}
|
562
|
-
},
|
563
|
-
"parameters": [
|
564
|
-
{
|
565
|
-
"name": "attributeName",
|
566
|
-
"type": {
|
567
|
-
"text": "string"
|
568
|
-
},
|
569
|
-
"description": "The name of the attribute to set."
|
570
|
-
},
|
571
|
-
{
|
572
|
-
"name": "attributeValue",
|
573
|
-
"type": {
|
574
|
-
"text": "string"
|
575
|
-
},
|
576
|
-
"description": "The value to set the attribute to."
|
577
|
-
}
|
578
|
-
],
|
579
|
-
"description": "Sets the given attribute on all child accordion or accordionbutton components."
|
580
|
-
}
|
581
|
-
],
|
582
|
-
"attributes": [
|
583
|
-
{
|
584
|
-
"name": "size",
|
585
|
-
"type": {
|
586
|
-
"text": "Size"
|
587
|
-
},
|
588
|
-
"description": "The size of the accordion item.",
|
589
|
-
"default": "'small'",
|
590
|
-
"fieldName": "size"
|
591
|
-
},
|
592
|
-
{
|
593
|
-
"name": "variant",
|
594
|
-
"type": {
|
595
|
-
"text": "Variant"
|
596
|
-
},
|
597
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
598
|
-
"default": "'stacked'",
|
599
|
-
"fieldName": "variant"
|
600
|
-
},
|
601
|
-
{
|
602
|
-
"name": "allow-multiple",
|
603
|
-
"type": {
|
604
|
-
"text": "boolean"
|
605
|
-
},
|
606
|
-
"default": "false",
|
607
|
-
"description": "If true, multiple accordion items can be visible at the same time.",
|
608
|
-
"fieldName": "allowMultiple"
|
609
|
-
}
|
610
|
-
],
|
611
|
-
"superclass": {
|
612
|
-
"name": "Component",
|
613
|
-
"module": "/src/models"
|
614
|
-
},
|
615
|
-
"tagName": "mdc-accordiongroup",
|
616
|
-
"jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
|
617
|
-
"customElement": true
|
618
|
-
}
|
619
|
-
],
|
620
|
-
"exports": [
|
621
|
-
{
|
622
|
-
"kind": "js",
|
623
|
-
"name": "default",
|
624
|
-
"declaration": {
|
625
|
-
"name": "AccordionGroup",
|
626
|
-
"module": "components/accordiongroup/accordiongroup.component.js"
|
627
|
-
}
|
628
|
-
}
|
629
|
-
]
|
630
|
-
},
|
631
480
|
{
|
632
481
|
"kind": "javascript-module",
|
633
482
|
"path": "components/accordionbutton/accordionbutton.component.js",
|
@@ -968,6 +817,157 @@
|
|
968
817
|
}
|
969
818
|
]
|
970
819
|
},
|
820
|
+
{
|
821
|
+
"kind": "javascript-module",
|
822
|
+
"path": "components/accordiongroup/accordiongroup.component.js",
|
823
|
+
"declarations": [
|
824
|
+
{
|
825
|
+
"kind": "class",
|
826
|
+
"description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
|
827
|
+
"name": "AccordionGroup",
|
828
|
+
"cssProperties": [
|
829
|
+
{
|
830
|
+
"description": "The border color of the entire accordiongroup",
|
831
|
+
"name": "--mdc-accordiongroup-border-color"
|
832
|
+
}
|
833
|
+
],
|
834
|
+
"slots": [
|
835
|
+
{
|
836
|
+
"description": "The default slot can contain the `accordion` or `accordionbutton` components.",
|
837
|
+
"name": "default"
|
838
|
+
}
|
839
|
+
],
|
840
|
+
"members": [
|
841
|
+
{
|
842
|
+
"kind": "field",
|
843
|
+
"name": "size",
|
844
|
+
"type": {
|
845
|
+
"text": "Size"
|
846
|
+
},
|
847
|
+
"description": "The size of the accordion item.",
|
848
|
+
"default": "'small'",
|
849
|
+
"attribute": "size",
|
850
|
+
"reflects": true
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"kind": "field",
|
854
|
+
"name": "variant",
|
855
|
+
"type": {
|
856
|
+
"text": "Variant"
|
857
|
+
},
|
858
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
859
|
+
"default": "'stacked'",
|
860
|
+
"attribute": "variant",
|
861
|
+
"reflects": true
|
862
|
+
},
|
863
|
+
{
|
864
|
+
"kind": "field",
|
865
|
+
"name": "allowMultiple",
|
866
|
+
"type": {
|
867
|
+
"text": "boolean"
|
868
|
+
},
|
869
|
+
"default": "false",
|
870
|
+
"description": "If true, multiple accordion items can be visible at the same time.",
|
871
|
+
"attribute": "allow-multiple",
|
872
|
+
"reflects": true
|
873
|
+
},
|
874
|
+
{
|
875
|
+
"kind": "method",
|
876
|
+
"name": "handleAccordionExpanded",
|
877
|
+
"privacy": "private",
|
878
|
+
"return": {
|
879
|
+
"type": {
|
880
|
+
"text": "void"
|
881
|
+
}
|
882
|
+
},
|
883
|
+
"parameters": [
|
884
|
+
{
|
885
|
+
"name": "event",
|
886
|
+
"type": {
|
887
|
+
"text": "Event"
|
888
|
+
},
|
889
|
+
"description": "The event object from the 'shown' event."
|
890
|
+
}
|
891
|
+
],
|
892
|
+
"description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"kind": "method",
|
896
|
+
"name": "setChildrenAccordionAttributes",
|
897
|
+
"privacy": "private",
|
898
|
+
"return": {
|
899
|
+
"type": {
|
900
|
+
"text": "void"
|
901
|
+
}
|
902
|
+
},
|
903
|
+
"parameters": [
|
904
|
+
{
|
905
|
+
"name": "attributeName",
|
906
|
+
"type": {
|
907
|
+
"text": "string"
|
908
|
+
},
|
909
|
+
"description": "The name of the attribute to set."
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"name": "attributeValue",
|
913
|
+
"type": {
|
914
|
+
"text": "string"
|
915
|
+
},
|
916
|
+
"description": "The value to set the attribute to."
|
917
|
+
}
|
918
|
+
],
|
919
|
+
"description": "Sets the given attribute on all child accordion or accordionbutton components."
|
920
|
+
}
|
921
|
+
],
|
922
|
+
"attributes": [
|
923
|
+
{
|
924
|
+
"name": "size",
|
925
|
+
"type": {
|
926
|
+
"text": "Size"
|
927
|
+
},
|
928
|
+
"description": "The size of the accordion item.",
|
929
|
+
"default": "'small'",
|
930
|
+
"fieldName": "size"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"name": "variant",
|
934
|
+
"type": {
|
935
|
+
"text": "Variant"
|
936
|
+
},
|
937
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
938
|
+
"default": "'stacked'",
|
939
|
+
"fieldName": "variant"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"name": "allow-multiple",
|
943
|
+
"type": {
|
944
|
+
"text": "boolean"
|
945
|
+
},
|
946
|
+
"default": "false",
|
947
|
+
"description": "If true, multiple accordion items can be visible at the same time.",
|
948
|
+
"fieldName": "allowMultiple"
|
949
|
+
}
|
950
|
+
],
|
951
|
+
"superclass": {
|
952
|
+
"name": "Component",
|
953
|
+
"module": "/src/models"
|
954
|
+
},
|
955
|
+
"tagName": "mdc-accordiongroup",
|
956
|
+
"jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
|
957
|
+
"customElement": true
|
958
|
+
}
|
959
|
+
],
|
960
|
+
"exports": [
|
961
|
+
{
|
962
|
+
"kind": "js",
|
963
|
+
"name": "default",
|
964
|
+
"declaration": {
|
965
|
+
"name": "AccordionGroup",
|
966
|
+
"module": "components/accordiongroup/accordiongroup.component.js"
|
967
|
+
}
|
968
|
+
}
|
969
|
+
]
|
970
|
+
},
|
971
971
|
{
|
972
972
|
"kind": "javascript-module",
|
973
973
|
"path": "components/alertchip/alertchip.component.js",
|
@@ -3181,7 +3181,7 @@
|
|
3181
3181
|
"kind": "field",
|
3182
3182
|
"name": "brandVisualData",
|
3183
3183
|
"type": {
|
3184
|
-
"text": "
|
3184
|
+
"text": "Element | TemplateResult | undefined"
|
3185
3185
|
},
|
3186
3186
|
"privacy": "private"
|
3187
3187
|
},
|
@@ -3195,11 +3195,75 @@
|
|
3195
3195
|
"attribute": "name",
|
3196
3196
|
"reflects": true
|
3197
3197
|
},
|
3198
|
+
{
|
3199
|
+
"kind": "field",
|
3200
|
+
"name": "altText",
|
3201
|
+
"type": {
|
3202
|
+
"text": "string | undefined"
|
3203
|
+
},
|
3204
|
+
"description": "Alt text for the brandvisual image for accessibility.\nThis will only be set if the brandvisual is an image (png).",
|
3205
|
+
"attribute": "altText",
|
3206
|
+
"reflects": true
|
3207
|
+
},
|
3198
3208
|
{
|
3199
3209
|
"kind": "method",
|
3200
3210
|
"name": "getBrandVisualData",
|
3201
3211
|
"privacy": "private"
|
3202
3212
|
},
|
3213
|
+
{
|
3214
|
+
"kind": "method",
|
3215
|
+
"name": "injectTemplateAttributes",
|
3216
|
+
"privacy": "private",
|
3217
|
+
"return": {
|
3218
|
+
"type": {
|
3219
|
+
"text": "Element | TemplateResult"
|
3220
|
+
}
|
3221
|
+
},
|
3222
|
+
"parameters": [
|
3223
|
+
{
|
3224
|
+
"name": "litTemplate",
|
3225
|
+
"type": {
|
3226
|
+
"text": "TemplateResult"
|
3227
|
+
}
|
3228
|
+
},
|
3229
|
+
{
|
3230
|
+
"name": "tag",
|
3231
|
+
"type": {
|
3232
|
+
"text": "string"
|
3233
|
+
}
|
3234
|
+
},
|
3235
|
+
{
|
3236
|
+
"name": "props",
|
3237
|
+
"type": {
|
3238
|
+
"text": "any"
|
3239
|
+
}
|
3240
|
+
}
|
3241
|
+
]
|
3242
|
+
},
|
3243
|
+
{
|
3244
|
+
"kind": "method",
|
3245
|
+
"name": "injectHtmlAttributes",
|
3246
|
+
"privacy": "private",
|
3247
|
+
"return": {
|
3248
|
+
"type": {
|
3249
|
+
"text": "Element"
|
3250
|
+
}
|
3251
|
+
},
|
3252
|
+
"parameters": [
|
3253
|
+
{
|
3254
|
+
"name": "html",
|
3255
|
+
"type": {
|
3256
|
+
"text": "Element"
|
3257
|
+
}
|
3258
|
+
},
|
3259
|
+
{
|
3260
|
+
"name": "props",
|
3261
|
+
"type": {
|
3262
|
+
"text": "imageProps"
|
3263
|
+
}
|
3264
|
+
}
|
3265
|
+
]
|
3266
|
+
},
|
3203
3267
|
{
|
3204
3268
|
"kind": "method",
|
3205
3269
|
"name": "handleBrandVisualLoadedSuccess",
|
@@ -3208,7 +3272,7 @@
|
|
3208
3272
|
{
|
3209
3273
|
"name": "brandVisualHtml",
|
3210
3274
|
"type": {
|
3211
|
-
"text": "
|
3275
|
+
"text": "TemplateResult"
|
3212
3276
|
},
|
3213
3277
|
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
3214
3278
|
}
|
@@ -3250,6 +3314,14 @@
|
|
3250
3314
|
},
|
3251
3315
|
"description": "Name of the brandVisual (= filename)",
|
3252
3316
|
"fieldName": "name"
|
3317
|
+
},
|
3318
|
+
{
|
3319
|
+
"name": "altText",
|
3320
|
+
"type": {
|
3321
|
+
"text": "string | undefined"
|
3322
|
+
},
|
3323
|
+
"description": "Alt text for the brandvisual image for accessibility.\nThis will only be set if the brandvisual is an image (png).",
|
3324
|
+
"fieldName": "altText"
|
3253
3325
|
}
|
3254
3326
|
],
|
3255
3327
|
"superclass": {
|
@@ -35303,6 +35375,184 @@
|
|
35303
35375
|
}
|
35304
35376
|
]
|
35305
35377
|
},
|
35378
|
+
{
|
35379
|
+
"kind": "javascript-module",
|
35380
|
+
"path": "components/tablist/tablist.component.js",
|
35381
|
+
"declarations": [
|
35382
|
+
{
|
35383
|
+
"kind": "class",
|
35384
|
+
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
35385
|
+
"name": "TabList",
|
35386
|
+
"cssProperties": [
|
35387
|
+
{
|
35388
|
+
"description": "Gap between tabs",
|
35389
|
+
"name": "--mdc-tablist-gap"
|
35390
|
+
},
|
35391
|
+
{
|
35392
|
+
"description": "Width of the tablist",
|
35393
|
+
"name": "--mdc-tablist-width"
|
35394
|
+
},
|
35395
|
+
{
|
35396
|
+
"description": "Margin value for the arrow button",
|
35397
|
+
"name": "--mdc-tablist-arrow-button-margin"
|
35398
|
+
}
|
35399
|
+
],
|
35400
|
+
"slots": [
|
35401
|
+
{
|
35402
|
+
"description": "slot for mdc-tab elements.",
|
35403
|
+
"name": "Default"
|
35404
|
+
}
|
35405
|
+
],
|
35406
|
+
"members": [
|
35407
|
+
{
|
35408
|
+
"kind": "field",
|
35409
|
+
"name": "activeTabId",
|
35410
|
+
"type": {
|
35411
|
+
"text": "string | undefined"
|
35412
|
+
},
|
35413
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
35414
|
+
"attribute": "active-tab-id",
|
35415
|
+
"reflects": true
|
35416
|
+
},
|
35417
|
+
{
|
35418
|
+
"kind": "field",
|
35419
|
+
"name": "dataAriaLabel",
|
35420
|
+
"type": {
|
35421
|
+
"text": "string | undefined"
|
35422
|
+
},
|
35423
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
35424
|
+
"attribute": "data-aria-label"
|
35425
|
+
}
|
35426
|
+
],
|
35427
|
+
"events": [
|
35428
|
+
{
|
35429
|
+
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
35430
|
+
"name": "change",
|
35431
|
+
"reactName": "onChange"
|
35432
|
+
}
|
35433
|
+
],
|
35434
|
+
"attributes": [
|
35435
|
+
{
|
35436
|
+
"name": "active-tab-id",
|
35437
|
+
"type": {
|
35438
|
+
"text": "string | undefined"
|
35439
|
+
},
|
35440
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
35441
|
+
"fieldName": "activeTabId"
|
35442
|
+
},
|
35443
|
+
{
|
35444
|
+
"name": "data-aria-label",
|
35445
|
+
"type": {
|
35446
|
+
"text": "string | undefined"
|
35447
|
+
},
|
35448
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
35449
|
+
"fieldName": "dataAriaLabel"
|
35450
|
+
}
|
35451
|
+
],
|
35452
|
+
"superclass": {
|
35453
|
+
"name": "Component",
|
35454
|
+
"module": "/src/models"
|
35455
|
+
},
|
35456
|
+
"tagName": "mdc-tablist",
|
35457
|
+
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n */",
|
35458
|
+
"customElement": true
|
35459
|
+
}
|
35460
|
+
],
|
35461
|
+
"exports": [
|
35462
|
+
{
|
35463
|
+
"kind": "js",
|
35464
|
+
"name": "default",
|
35465
|
+
"declaration": {
|
35466
|
+
"name": "TabList",
|
35467
|
+
"module": "components/tablist/tablist.component.js"
|
35468
|
+
}
|
35469
|
+
}
|
35470
|
+
]
|
35471
|
+
},
|
35472
|
+
{
|
35473
|
+
"kind": "javascript-module",
|
35474
|
+
"path": "components/text/text.component.js",
|
35475
|
+
"declarations": [
|
35476
|
+
{
|
35477
|
+
"kind": "class",
|
35478
|
+
"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.",
|
35479
|
+
"name": "Text",
|
35480
|
+
"cssParts": [
|
35481
|
+
{
|
35482
|
+
"description": "The text element",
|
35483
|
+
"name": "text"
|
35484
|
+
}
|
35485
|
+
],
|
35486
|
+
"slots": [
|
35487
|
+
{
|
35488
|
+
"description": "Default slot for text content",
|
35489
|
+
"name": ""
|
35490
|
+
}
|
35491
|
+
],
|
35492
|
+
"members": [
|
35493
|
+
{
|
35494
|
+
"kind": "field",
|
35495
|
+
"name": "type",
|
35496
|
+
"type": {
|
35497
|
+
"text": "TextType"
|
35498
|
+
},
|
35499
|
+
"privacy": "public",
|
35500
|
+
"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'",
|
35501
|
+
"default": "body-midsize-medium",
|
35502
|
+
"attribute": "type",
|
35503
|
+
"reflects": true
|
35504
|
+
},
|
35505
|
+
{
|
35506
|
+
"kind": "field",
|
35507
|
+
"name": "tagname",
|
35508
|
+
"type": {
|
35509
|
+
"text": "TagName | undefined"
|
35510
|
+
},
|
35511
|
+
"privacy": "public",
|
35512
|
+
"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.",
|
35513
|
+
"attribute": "tagname",
|
35514
|
+
"reflects": true
|
35515
|
+
}
|
35516
|
+
],
|
35517
|
+
"attributes": [
|
35518
|
+
{
|
35519
|
+
"name": "type",
|
35520
|
+
"type": {
|
35521
|
+
"text": "TextType"
|
35522
|
+
},
|
35523
|
+
"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'",
|
35524
|
+
"default": "body-midsize-medium",
|
35525
|
+
"fieldName": "type"
|
35526
|
+
},
|
35527
|
+
{
|
35528
|
+
"name": "tagname",
|
35529
|
+
"type": {
|
35530
|
+
"text": "TagName | undefined"
|
35531
|
+
},
|
35532
|
+
"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.",
|
35533
|
+
"fieldName": "tagname"
|
35534
|
+
}
|
35535
|
+
],
|
35536
|
+
"superclass": {
|
35537
|
+
"name": "Component",
|
35538
|
+
"module": "/src/models"
|
35539
|
+
},
|
35540
|
+
"tagName": "mdc-text",
|
35541
|
+
"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 */",
|
35542
|
+
"customElement": true
|
35543
|
+
}
|
35544
|
+
],
|
35545
|
+
"exports": [
|
35546
|
+
{
|
35547
|
+
"kind": "js",
|
35548
|
+
"name": "default",
|
35549
|
+
"declaration": {
|
35550
|
+
"name": "Text",
|
35551
|
+
"module": "components/text/text.component.js"
|
35552
|
+
}
|
35553
|
+
}
|
35554
|
+
]
|
35555
|
+
},
|
35306
35556
|
{
|
35307
35557
|
"kind": "javascript-module",
|
35308
35558
|
"path": "components/tab/tab.component.js",
|
@@ -36170,184 +36420,6 @@
|
|
36170
36420
|
}
|
36171
36421
|
]
|
36172
36422
|
},
|
36173
|
-
{
|
36174
|
-
"kind": "javascript-module",
|
36175
|
-
"path": "components/tablist/tablist.component.js",
|
36176
|
-
"declarations": [
|
36177
|
-
{
|
36178
|
-
"kind": "class",
|
36179
|
-
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
36180
|
-
"name": "TabList",
|
36181
|
-
"cssProperties": [
|
36182
|
-
{
|
36183
|
-
"description": "Gap between tabs",
|
36184
|
-
"name": "--mdc-tablist-gap"
|
36185
|
-
},
|
36186
|
-
{
|
36187
|
-
"description": "Width of the tablist",
|
36188
|
-
"name": "--mdc-tablist-width"
|
36189
|
-
},
|
36190
|
-
{
|
36191
|
-
"description": "Margin value for the arrow button",
|
36192
|
-
"name": "--mdc-tablist-arrow-button-margin"
|
36193
|
-
}
|
36194
|
-
],
|
36195
|
-
"slots": [
|
36196
|
-
{
|
36197
|
-
"description": "slot for mdc-tab elements.",
|
36198
|
-
"name": "Default"
|
36199
|
-
}
|
36200
|
-
],
|
36201
|
-
"members": [
|
36202
|
-
{
|
36203
|
-
"kind": "field",
|
36204
|
-
"name": "activeTabId",
|
36205
|
-
"type": {
|
36206
|
-
"text": "string | undefined"
|
36207
|
-
},
|
36208
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
36209
|
-
"attribute": "active-tab-id",
|
36210
|
-
"reflects": true
|
36211
|
-
},
|
36212
|
-
{
|
36213
|
-
"kind": "field",
|
36214
|
-
"name": "dataAriaLabel",
|
36215
|
-
"type": {
|
36216
|
-
"text": "string | undefined"
|
36217
|
-
},
|
36218
|
-
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
36219
|
-
"attribute": "data-aria-label"
|
36220
|
-
}
|
36221
|
-
],
|
36222
|
-
"events": [
|
36223
|
-
{
|
36224
|
-
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
36225
|
-
"name": "change",
|
36226
|
-
"reactName": "onChange"
|
36227
|
-
}
|
36228
|
-
],
|
36229
|
-
"attributes": [
|
36230
|
-
{
|
36231
|
-
"name": "active-tab-id",
|
36232
|
-
"type": {
|
36233
|
-
"text": "string | undefined"
|
36234
|
-
},
|
36235
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
36236
|
-
"fieldName": "activeTabId"
|
36237
|
-
},
|
36238
|
-
{
|
36239
|
-
"name": "data-aria-label",
|
36240
|
-
"type": {
|
36241
|
-
"text": "string | undefined"
|
36242
|
-
},
|
36243
|
-
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
36244
|
-
"fieldName": "dataAriaLabel"
|
36245
|
-
}
|
36246
|
-
],
|
36247
|
-
"superclass": {
|
36248
|
-
"name": "Component",
|
36249
|
-
"module": "/src/models"
|
36250
|
-
},
|
36251
|
-
"tagName": "mdc-tablist",
|
36252
|
-
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n */",
|
36253
|
-
"customElement": true
|
36254
|
-
}
|
36255
|
-
],
|
36256
|
-
"exports": [
|
36257
|
-
{
|
36258
|
-
"kind": "js",
|
36259
|
-
"name": "default",
|
36260
|
-
"declaration": {
|
36261
|
-
"name": "TabList",
|
36262
|
-
"module": "components/tablist/tablist.component.js"
|
36263
|
-
}
|
36264
|
-
}
|
36265
|
-
]
|
36266
|
-
},
|
36267
|
-
{
|
36268
|
-
"kind": "javascript-module",
|
36269
|
-
"path": "components/text/text.component.js",
|
36270
|
-
"declarations": [
|
36271
|
-
{
|
36272
|
-
"kind": "class",
|
36273
|
-
"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.",
|
36274
|
-
"name": "Text",
|
36275
|
-
"cssParts": [
|
36276
|
-
{
|
36277
|
-
"description": "The text element",
|
36278
|
-
"name": "text"
|
36279
|
-
}
|
36280
|
-
],
|
36281
|
-
"slots": [
|
36282
|
-
{
|
36283
|
-
"description": "Default slot for text content",
|
36284
|
-
"name": ""
|
36285
|
-
}
|
36286
|
-
],
|
36287
|
-
"members": [
|
36288
|
-
{
|
36289
|
-
"kind": "field",
|
36290
|
-
"name": "type",
|
36291
|
-
"type": {
|
36292
|
-
"text": "TextType"
|
36293
|
-
},
|
36294
|
-
"privacy": "public",
|
36295
|
-
"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'",
|
36296
|
-
"default": "body-midsize-medium",
|
36297
|
-
"attribute": "type",
|
36298
|
-
"reflects": true
|
36299
|
-
},
|
36300
|
-
{
|
36301
|
-
"kind": "field",
|
36302
|
-
"name": "tagname",
|
36303
|
-
"type": {
|
36304
|
-
"text": "TagName | undefined"
|
36305
|
-
},
|
36306
|
-
"privacy": "public",
|
36307
|
-
"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.",
|
36308
|
-
"attribute": "tagname",
|
36309
|
-
"reflects": true
|
36310
|
-
}
|
36311
|
-
],
|
36312
|
-
"attributes": [
|
36313
|
-
{
|
36314
|
-
"name": "type",
|
36315
|
-
"type": {
|
36316
|
-
"text": "TextType"
|
36317
|
-
},
|
36318
|
-
"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'",
|
36319
|
-
"default": "body-midsize-medium",
|
36320
|
-
"fieldName": "type"
|
36321
|
-
},
|
36322
|
-
{
|
36323
|
-
"name": "tagname",
|
36324
|
-
"type": {
|
36325
|
-
"text": "TagName | undefined"
|
36326
|
-
},
|
36327
|
-
"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.",
|
36328
|
-
"fieldName": "tagname"
|
36329
|
-
}
|
36330
|
-
],
|
36331
|
-
"superclass": {
|
36332
|
-
"name": "Component",
|
36333
|
-
"module": "/src/models"
|
36334
|
-
},
|
36335
|
-
"tagName": "mdc-text",
|
36336
|
-
"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 */",
|
36337
|
-
"customElement": true
|
36338
|
-
}
|
36339
|
-
],
|
36340
|
-
"exports": [
|
36341
|
-
{
|
36342
|
-
"kind": "js",
|
36343
|
-
"name": "default",
|
36344
|
-
"declaration": {
|
36345
|
-
"name": "Text",
|
36346
|
-
"module": "components/text/text.component.js"
|
36347
|
-
}
|
36348
|
-
}
|
36349
|
-
]
|
36350
|
-
},
|
36351
36423
|
{
|
36352
36424
|
"kind": "javascript-module",
|
36353
36425
|
"path": "components/textarea/textarea.component.js",
|