@momentum-design/components 0.36.3 → 0.36.4
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 +846 -846
- package/dist/index.d.ts +2 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/package.json +1 -1
@@ -465,6 +465,250 @@
|
|
465
465
|
}
|
466
466
|
]
|
467
467
|
},
|
468
|
+
{
|
469
|
+
"kind": "javascript-module",
|
470
|
+
"path": "components/avatar/avatar.component.js",
|
471
|
+
"declarations": [
|
472
|
+
{
|
473
|
+
"kind": "class",
|
474
|
+
"description": "The `mdc-avatar` component is used to represent a person or a space.\nAn avatar can be an icon, initials, counter and photo.\n\nTo set the photo of an avatar,\nyou need to set \"src\" attribute.\n\nWhile the avatar image is loading, as a placeholder,\nwe will show the initials text.\nIf the initials are not specified then,\nwe will show `user-regular` icon as a placeholder.\n\nBy default, if there are no attributes specified,\nthen the default avatar will be an icon with `user-regular` name.\n\nThe avatar component is non clickable and non interactive/focusable component.\nIf the avatar is typing, then the loading indicator will be displayed.\nIf the counter type avatar is set to a negative number, then we will display 0.\nThe presence indicator will be hidden when the counter property is set.",
|
475
|
+
"name": "Avatar",
|
476
|
+
"cssProperties": [
|
477
|
+
{
|
478
|
+
"description": "Allows customization of the default background color.",
|
479
|
+
"name": "--mdc-avatar-default-background-color"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"description": "Allows customization of the default foreground color.",
|
483
|
+
"name": "--mdc-avatar-default-foreground-color"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"description": "Allows customization of the loading indicator background color.",
|
487
|
+
"name": "--mdc-avatar-loading-indicator-background-color"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"description": "Allows customization of the loading indicator foreground color.",
|
491
|
+
"name": "--mdc-avatar-loading-indicator-foreground-color"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"description": "Allows customization of the loading overlay background color.",
|
495
|
+
"name": "--mdc-avatar-loading-overlay-background-color"
|
496
|
+
}
|
497
|
+
],
|
498
|
+
"members": [
|
499
|
+
{
|
500
|
+
"kind": "field",
|
501
|
+
"name": "src",
|
502
|
+
"type": {
|
503
|
+
"text": "string | undefined"
|
504
|
+
},
|
505
|
+
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
506
|
+
"attribute": "src",
|
507
|
+
"inheritedFrom": {
|
508
|
+
"name": "AvatarComponentMixin",
|
509
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
510
|
+
}
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"kind": "field",
|
514
|
+
"name": "initials",
|
515
|
+
"type": {
|
516
|
+
"text": "string | undefined"
|
517
|
+
},
|
518
|
+
"description": "The initials to be displayed for the avatar.",
|
519
|
+
"attribute": "initials",
|
520
|
+
"inheritedFrom": {
|
521
|
+
"name": "AvatarComponentMixin",
|
522
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
523
|
+
}
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"kind": "field",
|
527
|
+
"name": "presence",
|
528
|
+
"type": {
|
529
|
+
"text": "PresenceType | undefined"
|
530
|
+
},
|
531
|
+
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
532
|
+
"attribute": "presence",
|
533
|
+
"inheritedFrom": {
|
534
|
+
"name": "AvatarComponentMixin",
|
535
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
536
|
+
}
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"kind": "field",
|
540
|
+
"name": "size",
|
541
|
+
"type": {
|
542
|
+
"text": "AvatarSize"
|
543
|
+
},
|
544
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
545
|
+
"default": "32",
|
546
|
+
"attribute": "size",
|
547
|
+
"reflects": true,
|
548
|
+
"inheritedFrom": {
|
549
|
+
"name": "AvatarComponentMixin",
|
550
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
551
|
+
}
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"kind": "field",
|
555
|
+
"name": "counter",
|
556
|
+
"type": {
|
557
|
+
"text": "number | undefined"
|
558
|
+
},
|
559
|
+
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
560
|
+
"attribute": "counter",
|
561
|
+
"inheritedFrom": {
|
562
|
+
"name": "AvatarComponentMixin",
|
563
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
564
|
+
}
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"kind": "field",
|
568
|
+
"name": "isTyping",
|
569
|
+
"type": {
|
570
|
+
"text": "boolean"
|
571
|
+
},
|
572
|
+
"default": "false",
|
573
|
+
"description": "Represents the typing indicator when the user is typing.",
|
574
|
+
"attribute": "is-typing",
|
575
|
+
"inheritedFrom": {
|
576
|
+
"name": "AvatarComponentMixin",
|
577
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
578
|
+
}
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"kind": "field",
|
582
|
+
"name": "iconName",
|
583
|
+
"type": {
|
584
|
+
"text": "IconNames | undefined"
|
585
|
+
},
|
586
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
587
|
+
"attribute": "icon-name",
|
588
|
+
"inheritedFrom": {
|
589
|
+
"name": "IconNameMixin",
|
590
|
+
"module": "utils/mixins/IconNameMixin.js"
|
591
|
+
}
|
592
|
+
}
|
593
|
+
],
|
594
|
+
"mixins": [
|
595
|
+
{
|
596
|
+
"name": "AvatarComponentMixin",
|
597
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"name": "IconNameMixin",
|
601
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
602
|
+
}
|
603
|
+
],
|
604
|
+
"superclass": {
|
605
|
+
"name": "Component",
|
606
|
+
"module": "/src/models"
|
607
|
+
},
|
608
|
+
"tagName": "mdc-avatar",
|
609
|
+
"jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n */",
|
610
|
+
"customElement": true,
|
611
|
+
"attributes": [
|
612
|
+
{
|
613
|
+
"name": "src",
|
614
|
+
"type": {
|
615
|
+
"text": "string | undefined"
|
616
|
+
},
|
617
|
+
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
618
|
+
"fieldName": "src",
|
619
|
+
"inheritedFrom": {
|
620
|
+
"name": "AvatarComponentMixin",
|
621
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
622
|
+
}
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"name": "initials",
|
626
|
+
"type": {
|
627
|
+
"text": "string | undefined"
|
628
|
+
},
|
629
|
+
"description": "The initials to be displayed for the avatar.",
|
630
|
+
"fieldName": "initials",
|
631
|
+
"inheritedFrom": {
|
632
|
+
"name": "AvatarComponentMixin",
|
633
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
634
|
+
}
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"name": "presence",
|
638
|
+
"type": {
|
639
|
+
"text": "PresenceType | undefined"
|
640
|
+
},
|
641
|
+
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
642
|
+
"fieldName": "presence",
|
643
|
+
"inheritedFrom": {
|
644
|
+
"name": "AvatarComponentMixin",
|
645
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
646
|
+
}
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"name": "size",
|
650
|
+
"type": {
|
651
|
+
"text": "AvatarSize"
|
652
|
+
},
|
653
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
654
|
+
"default": "32",
|
655
|
+
"fieldName": "size",
|
656
|
+
"inheritedFrom": {
|
657
|
+
"name": "AvatarComponentMixin",
|
658
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
659
|
+
}
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"name": "counter",
|
663
|
+
"type": {
|
664
|
+
"text": "number | undefined"
|
665
|
+
},
|
666
|
+
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
667
|
+
"fieldName": "counter",
|
668
|
+
"inheritedFrom": {
|
669
|
+
"name": "AvatarComponentMixin",
|
670
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
671
|
+
}
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"name": "is-typing",
|
675
|
+
"type": {
|
676
|
+
"text": "boolean"
|
677
|
+
},
|
678
|
+
"default": "false",
|
679
|
+
"description": "Represents the typing indicator when the user is typing.",
|
680
|
+
"fieldName": "isTyping",
|
681
|
+
"inheritedFrom": {
|
682
|
+
"name": "AvatarComponentMixin",
|
683
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
684
|
+
}
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"name": "icon-name",
|
688
|
+
"type": {
|
689
|
+
"text": "IconNames | undefined"
|
690
|
+
},
|
691
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
692
|
+
"fieldName": "iconName",
|
693
|
+
"inheritedFrom": {
|
694
|
+
"name": "IconNameMixin",
|
695
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
696
|
+
}
|
697
|
+
}
|
698
|
+
]
|
699
|
+
}
|
700
|
+
],
|
701
|
+
"exports": [
|
702
|
+
{
|
703
|
+
"kind": "js",
|
704
|
+
"name": "default",
|
705
|
+
"declaration": {
|
706
|
+
"name": "Avatar",
|
707
|
+
"module": "components/avatar/avatar.component.js"
|
708
|
+
}
|
709
|
+
}
|
710
|
+
]
|
711
|
+
},
|
468
712
|
{
|
469
713
|
"kind": "javascript-module",
|
470
714
|
"path": "components/avatarbutton/avatarbutton.component.js",
|
@@ -1071,260 +1315,16 @@
|
|
1071
1315
|
},
|
1072
1316
|
{
|
1073
1317
|
"kind": "javascript-module",
|
1074
|
-
"path": "components/
|
1318
|
+
"path": "components/badge/badge.component.js",
|
1075
1319
|
"declarations": [
|
1076
1320
|
{
|
1077
1321
|
"kind": "class",
|
1078
|
-
"description": "The `mdc-
|
1079
|
-
"name": "
|
1322
|
+
"description": "The `mdc-badge` component is a versatile UI element used to\ndisplay dot, icons, counters, success, warning and error type badge.\n\nSupported badge types:\n- `dot`: Displays a dot notification badge with a blue color.\n- `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n- `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\nit shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n- `success`: Displays a success badge with a check circle icon and green color.\n- `warning`: Displays a warning badge with a warning icon and yellow color.\n- `error`: Displays a error badge with a error legacy icon and red color.\n\nFor `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n\nFor the `counter` type, the `mdc-text` component is used to render the counter value.",
|
1323
|
+
"name": "Badge",
|
1080
1324
|
"cssProperties": [
|
1081
1325
|
{
|
1082
|
-
"description": "
|
1083
|
-
"name": "--mdc-
|
1084
|
-
},
|
1085
|
-
{
|
1086
|
-
"description": "Allows customization of the default foreground color.",
|
1087
|
-
"name": "--mdc-avatar-default-foreground-color"
|
1088
|
-
},
|
1089
|
-
{
|
1090
|
-
"description": "Allows customization of the loading indicator background color.",
|
1091
|
-
"name": "--mdc-avatar-loading-indicator-background-color"
|
1092
|
-
},
|
1093
|
-
{
|
1094
|
-
"description": "Allows customization of the loading indicator foreground color.",
|
1095
|
-
"name": "--mdc-avatar-loading-indicator-foreground-color"
|
1096
|
-
},
|
1097
|
-
{
|
1098
|
-
"description": "Allows customization of the loading overlay background color.",
|
1099
|
-
"name": "--mdc-avatar-loading-overlay-background-color"
|
1100
|
-
}
|
1101
|
-
],
|
1102
|
-
"members": [
|
1103
|
-
{
|
1104
|
-
"kind": "field",
|
1105
|
-
"name": "src",
|
1106
|
-
"type": {
|
1107
|
-
"text": "string | undefined"
|
1108
|
-
},
|
1109
|
-
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
1110
|
-
"attribute": "src",
|
1111
|
-
"inheritedFrom": {
|
1112
|
-
"name": "AvatarComponentMixin",
|
1113
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1114
|
-
}
|
1115
|
-
},
|
1116
|
-
{
|
1117
|
-
"kind": "field",
|
1118
|
-
"name": "initials",
|
1119
|
-
"type": {
|
1120
|
-
"text": "string | undefined"
|
1121
|
-
},
|
1122
|
-
"description": "The initials to be displayed for the avatar.",
|
1123
|
-
"attribute": "initials",
|
1124
|
-
"inheritedFrom": {
|
1125
|
-
"name": "AvatarComponentMixin",
|
1126
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1127
|
-
}
|
1128
|
-
},
|
1129
|
-
{
|
1130
|
-
"kind": "field",
|
1131
|
-
"name": "presence",
|
1132
|
-
"type": {
|
1133
|
-
"text": "PresenceType | undefined"
|
1134
|
-
},
|
1135
|
-
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
1136
|
-
"attribute": "presence",
|
1137
|
-
"inheritedFrom": {
|
1138
|
-
"name": "AvatarComponentMixin",
|
1139
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1140
|
-
}
|
1141
|
-
},
|
1142
|
-
{
|
1143
|
-
"kind": "field",
|
1144
|
-
"name": "size",
|
1145
|
-
"type": {
|
1146
|
-
"text": "AvatarSize"
|
1147
|
-
},
|
1148
|
-
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
1149
|
-
"default": "32",
|
1150
|
-
"attribute": "size",
|
1151
|
-
"reflects": true,
|
1152
|
-
"inheritedFrom": {
|
1153
|
-
"name": "AvatarComponentMixin",
|
1154
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1155
|
-
}
|
1156
|
-
},
|
1157
|
-
{
|
1158
|
-
"kind": "field",
|
1159
|
-
"name": "counter",
|
1160
|
-
"type": {
|
1161
|
-
"text": "number | undefined"
|
1162
|
-
},
|
1163
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
1164
|
-
"attribute": "counter",
|
1165
|
-
"inheritedFrom": {
|
1166
|
-
"name": "AvatarComponentMixin",
|
1167
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1168
|
-
}
|
1169
|
-
},
|
1170
|
-
{
|
1171
|
-
"kind": "field",
|
1172
|
-
"name": "isTyping",
|
1173
|
-
"type": {
|
1174
|
-
"text": "boolean"
|
1175
|
-
},
|
1176
|
-
"default": "false",
|
1177
|
-
"description": "Represents the typing indicator when the user is typing.",
|
1178
|
-
"attribute": "is-typing",
|
1179
|
-
"inheritedFrom": {
|
1180
|
-
"name": "AvatarComponentMixin",
|
1181
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
1182
|
-
}
|
1183
|
-
},
|
1184
|
-
{
|
1185
|
-
"kind": "field",
|
1186
|
-
"name": "iconName",
|
1187
|
-
"type": {
|
1188
|
-
"text": "IconNames | undefined"
|
1189
|
-
},
|
1190
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
1191
|
-
"attribute": "icon-name",
|
1192
|
-
"inheritedFrom": {
|
1193
|
-
"name": "IconNameMixin",
|
1194
|
-
"module": "utils/mixins/IconNameMixin.js"
|
1195
|
-
}
|
1196
|
-
}
|
1197
|
-
],
|
1198
|
-
"mixins": [
|
1199
|
-
{
|
1200
|
-
"name": "AvatarComponentMixin",
|
1201
|
-
"module": "/src/utils/mixins/AvatarComponentMixin"
|
1202
|
-
},
|
1203
|
-
{
|
1204
|
-
"name": "IconNameMixin",
|
1205
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
1206
|
-
}
|
1207
|
-
],
|
1208
|
-
"superclass": {
|
1209
|
-
"name": "Component",
|
1210
|
-
"module": "/src/models"
|
1211
|
-
},
|
1212
|
-
"tagName": "mdc-avatar",
|
1213
|
-
"jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n */",
|
1214
|
-
"customElement": true,
|
1215
|
-
"attributes": [
|
1216
|
-
{
|
1217
|
-
"name": "src",
|
1218
|
-
"type": {
|
1219
|
-
"text": "string | undefined"
|
1220
|
-
},
|
1221
|
-
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
1222
|
-
"fieldName": "src",
|
1223
|
-
"inheritedFrom": {
|
1224
|
-
"name": "AvatarComponentMixin",
|
1225
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1226
|
-
}
|
1227
|
-
},
|
1228
|
-
{
|
1229
|
-
"name": "initials",
|
1230
|
-
"type": {
|
1231
|
-
"text": "string | undefined"
|
1232
|
-
},
|
1233
|
-
"description": "The initials to be displayed for the avatar.",
|
1234
|
-
"fieldName": "initials",
|
1235
|
-
"inheritedFrom": {
|
1236
|
-
"name": "AvatarComponentMixin",
|
1237
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1238
|
-
}
|
1239
|
-
},
|
1240
|
-
{
|
1241
|
-
"name": "presence",
|
1242
|
-
"type": {
|
1243
|
-
"text": "PresenceType | undefined"
|
1244
|
-
},
|
1245
|
-
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
1246
|
-
"fieldName": "presence",
|
1247
|
-
"inheritedFrom": {
|
1248
|
-
"name": "AvatarComponentMixin",
|
1249
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1250
|
-
}
|
1251
|
-
},
|
1252
|
-
{
|
1253
|
-
"name": "size",
|
1254
|
-
"type": {
|
1255
|
-
"text": "AvatarSize"
|
1256
|
-
},
|
1257
|
-
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
1258
|
-
"default": "32",
|
1259
|
-
"fieldName": "size",
|
1260
|
-
"inheritedFrom": {
|
1261
|
-
"name": "AvatarComponentMixin",
|
1262
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1263
|
-
}
|
1264
|
-
},
|
1265
|
-
{
|
1266
|
-
"name": "counter",
|
1267
|
-
"type": {
|
1268
|
-
"text": "number | undefined"
|
1269
|
-
},
|
1270
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
1271
|
-
"fieldName": "counter",
|
1272
|
-
"inheritedFrom": {
|
1273
|
-
"name": "AvatarComponentMixin",
|
1274
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1275
|
-
}
|
1276
|
-
},
|
1277
|
-
{
|
1278
|
-
"name": "is-typing",
|
1279
|
-
"type": {
|
1280
|
-
"text": "boolean"
|
1281
|
-
},
|
1282
|
-
"default": "false",
|
1283
|
-
"description": "Represents the typing indicator when the user is typing.",
|
1284
|
-
"fieldName": "isTyping",
|
1285
|
-
"inheritedFrom": {
|
1286
|
-
"name": "AvatarComponentMixin",
|
1287
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1288
|
-
}
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"name": "icon-name",
|
1292
|
-
"type": {
|
1293
|
-
"text": "IconNames | undefined"
|
1294
|
-
},
|
1295
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
1296
|
-
"fieldName": "iconName",
|
1297
|
-
"inheritedFrom": {
|
1298
|
-
"name": "IconNameMixin",
|
1299
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
1300
|
-
}
|
1301
|
-
}
|
1302
|
-
]
|
1303
|
-
}
|
1304
|
-
],
|
1305
|
-
"exports": [
|
1306
|
-
{
|
1307
|
-
"kind": "js",
|
1308
|
-
"name": "default",
|
1309
|
-
"declaration": {
|
1310
|
-
"name": "Avatar",
|
1311
|
-
"module": "components/avatar/avatar.component.js"
|
1312
|
-
}
|
1313
|
-
}
|
1314
|
-
]
|
1315
|
-
},
|
1316
|
-
{
|
1317
|
-
"kind": "javascript-module",
|
1318
|
-
"path": "components/badge/badge.component.js",
|
1319
|
-
"declarations": [
|
1320
|
-
{
|
1321
|
-
"kind": "class",
|
1322
|
-
"description": "The `mdc-badge` component is a versatile UI element used to\ndisplay dot, icons, counters, success, warning and error type badge.\n\nSupported badge types:\n- `dot`: Displays a dot notification badge with a blue color.\n- `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n- `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\nit shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n- `success`: Displays a success badge with a check circle icon and green color.\n- `warning`: Displays a warning badge with a warning icon and yellow color.\n- `error`: Displays a error badge with a error legacy icon and red color.\n\nFor `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n\nFor the `counter` type, the `mdc-text` component is used to render the counter value.",
|
1323
|
-
"name": "Badge",
|
1324
|
-
"cssProperties": [
|
1325
|
-
{
|
1326
|
-
"description": "The foreground color of the primary badge.",
|
1327
|
-
"name": "--mdc-badge-primary-foreground-color"
|
1326
|
+
"description": "The foreground color of the primary badge.",
|
1327
|
+
"name": "--mdc-badge-primary-foreground-color"
|
1328
1328
|
},
|
1329
1329
|
{
|
1330
1330
|
"description": "The background color of the primary badge.",
|
@@ -5318,259 +5318,13 @@
|
|
5318
5318
|
},
|
5319
5319
|
{
|
5320
5320
|
"kind": "javascript-module",
|
5321
|
-
"path": "components/
|
5321
|
+
"path": "components/filterchip/filterchip.component.js",
|
5322
5322
|
"declarations": [
|
5323
5323
|
{
|
5324
5324
|
"kind": "class",
|
5325
|
-
"description": "
|
5326
|
-
"name": "
|
5327
|
-
"
|
5328
|
-
{
|
5329
|
-
"description": "background color of the divider",
|
5330
|
-
"name": "--mdc-divider-background-color"
|
5331
|
-
},
|
5332
|
-
{
|
5333
|
-
"description": "width of the divider",
|
5334
|
-
"name": "--mdc-divider-width"
|
5335
|
-
},
|
5336
|
-
{
|
5337
|
-
"description": "gradient of the horizontal divider",
|
5338
|
-
"name": "--mdc-divider-horizontal-gradient"
|
5339
|
-
},
|
5340
|
-
{
|
5341
|
-
"description": "gradient of the vertical divider",
|
5342
|
-
"name": "--mdc-divider-vertical-gradient"
|
5343
|
-
},
|
5344
|
-
{
|
5345
|
-
"description": "font size of label in the text divider",
|
5346
|
-
"name": "--mdc-divider-text-size"
|
5347
|
-
},
|
5348
|
-
{
|
5349
|
-
"description": "font color of label in the text divider",
|
5350
|
-
"name": "--mdc-divider-text-color"
|
5351
|
-
},
|
5352
|
-
{
|
5353
|
-
"description": "left and right margin of label in the text divider",
|
5354
|
-
"name": "--mdc-divider-text-margin"
|
5355
|
-
},
|
5356
|
-
{
|
5357
|
-
"description": "line height of label in the text divider",
|
5358
|
-
"name": "--mdc-divider-text-line-height"
|
5359
|
-
},
|
5360
|
-
{
|
5361
|
-
"description": "background color of the grabber button in rest state",
|
5362
|
-
"name": "--mdc-divider-grabber-button-background-color-normal"
|
5363
|
-
},
|
5364
|
-
{
|
5365
|
-
"description": "background color of the grabber button in hover state",
|
5366
|
-
"name": "--mdc-divider-grabber-button-background-color-hover"
|
5367
|
-
},
|
5368
|
-
{
|
5369
|
-
"description": "background color of the grabber button in pressed state",
|
5370
|
-
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
5371
|
-
},
|
5372
|
-
{
|
5373
|
-
"description": "border color of the grabber button",
|
5374
|
-
"name": "--mdc-divider-grabber-button-border-color"
|
5375
|
-
},
|
5376
|
-
{
|
5377
|
-
"description": "border radius of the grabber button",
|
5378
|
-
"name": "--mdc-divider-grabber-button-border-radius"
|
5379
|
-
}
|
5380
|
-
],
|
5381
|
-
"members": [
|
5382
|
-
{
|
5383
|
-
"kind": "field",
|
5384
|
-
"name": "orientation",
|
5385
|
-
"type": {
|
5386
|
-
"text": "DividerOrientation"
|
5387
|
-
},
|
5388
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
5389
|
-
"default": "horizontal",
|
5390
|
-
"attribute": "orientation",
|
5391
|
-
"reflects": true
|
5392
|
-
},
|
5393
|
-
{
|
5394
|
-
"kind": "field",
|
5395
|
-
"name": "variant",
|
5396
|
-
"type": {
|
5397
|
-
"text": "DividerVariant"
|
5398
|
-
},
|
5399
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
5400
|
-
"default": "solid",
|
5401
|
-
"attribute": "variant",
|
5402
|
-
"reflects": true
|
5403
|
-
},
|
5404
|
-
{
|
5405
|
-
"kind": "field",
|
5406
|
-
"name": "arrowDirection",
|
5407
|
-
"type": {
|
5408
|
-
"text": "Directions"
|
5409
|
-
},
|
5410
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
5411
|
-
"default": "'negative'",
|
5412
|
-
"attribute": "arrow-direction",
|
5413
|
-
"reflects": true
|
5414
|
-
},
|
5415
|
-
{
|
5416
|
-
"kind": "field",
|
5417
|
-
"name": "buttonPosition",
|
5418
|
-
"type": {
|
5419
|
-
"text": "Directions"
|
5420
|
-
},
|
5421
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
5422
|
-
"default": "'negative'",
|
5423
|
-
"attribute": "button-position",
|
5424
|
-
"reflects": true
|
5425
|
-
},
|
5426
|
-
{
|
5427
|
-
"kind": "method",
|
5428
|
-
"name": "setVariant",
|
5429
|
-
"privacy": "private",
|
5430
|
-
"parameters": [
|
5431
|
-
{
|
5432
|
-
"name": "variant",
|
5433
|
-
"type": {
|
5434
|
-
"text": "DividerVariant"
|
5435
|
-
},
|
5436
|
-
"description": "The variant to set."
|
5437
|
-
}
|
5438
|
-
],
|
5439
|
-
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
5440
|
-
},
|
5441
|
-
{
|
5442
|
-
"kind": "method",
|
5443
|
-
"name": "setOrientation",
|
5444
|
-
"privacy": "private",
|
5445
|
-
"parameters": [
|
5446
|
-
{
|
5447
|
-
"name": "orientation",
|
5448
|
-
"type": {
|
5449
|
-
"text": "DividerOrientation"
|
5450
|
-
},
|
5451
|
-
"description": "The orientation to set."
|
5452
|
-
}
|
5453
|
-
],
|
5454
|
-
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
5455
|
-
},
|
5456
|
-
{
|
5457
|
-
"kind": "method",
|
5458
|
-
"name": "ensureValidDirections",
|
5459
|
-
"privacy": "private",
|
5460
|
-
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
5461
|
-
"parameters": [
|
5462
|
-
{
|
5463
|
-
"description": "The buttonPosition to set.",
|
5464
|
-
"name": "buttonPosition"
|
5465
|
-
},
|
5466
|
-
{
|
5467
|
-
"description": "The arrowDirection to set.",
|
5468
|
-
"name": "arrowDirection"
|
5469
|
-
}
|
5470
|
-
]
|
5471
|
-
},
|
5472
|
-
{
|
5473
|
-
"kind": "method",
|
5474
|
-
"name": "setGrabberButton",
|
5475
|
-
"privacy": "private",
|
5476
|
-
"return": {
|
5477
|
-
"type": {
|
5478
|
-
"text": "void"
|
5479
|
-
}
|
5480
|
-
},
|
5481
|
-
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
5482
|
-
},
|
5483
|
-
{
|
5484
|
-
"kind": "method",
|
5485
|
-
"name": "getArrowIcon",
|
5486
|
-
"privacy": "private",
|
5487
|
-
"return": {
|
5488
|
-
"type": {
|
5489
|
-
"text": ""
|
5490
|
-
}
|
5491
|
-
},
|
5492
|
-
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
5493
|
-
},
|
5494
|
-
{
|
5495
|
-
"kind": "method",
|
5496
|
-
"name": "inferDividerType",
|
5497
|
-
"privacy": "private",
|
5498
|
-
"description": "Infers the type of divider based on the kind of slot present.",
|
5499
|
-
"parameters": [
|
5500
|
-
{
|
5501
|
-
"description": "default slot of divider",
|
5502
|
-
"name": "slot"
|
5503
|
-
}
|
5504
|
-
]
|
5505
|
-
}
|
5506
|
-
],
|
5507
|
-
"attributes": [
|
5508
|
-
{
|
5509
|
-
"name": "orientation",
|
5510
|
-
"type": {
|
5511
|
-
"text": "DividerOrientation"
|
5512
|
-
},
|
5513
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
5514
|
-
"default": "horizontal",
|
5515
|
-
"fieldName": "orientation"
|
5516
|
-
},
|
5517
|
-
{
|
5518
|
-
"name": "variant",
|
5519
|
-
"type": {
|
5520
|
-
"text": "DividerVariant"
|
5521
|
-
},
|
5522
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
5523
|
-
"default": "solid",
|
5524
|
-
"fieldName": "variant"
|
5525
|
-
},
|
5526
|
-
{
|
5527
|
-
"name": "arrow-direction",
|
5528
|
-
"type": {
|
5529
|
-
"text": "Directions"
|
5530
|
-
},
|
5531
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
5532
|
-
"default": "'negative'",
|
5533
|
-
"fieldName": "arrowDirection"
|
5534
|
-
},
|
5535
|
-
{
|
5536
|
-
"name": "button-position",
|
5537
|
-
"type": {
|
5538
|
-
"text": "Directions"
|
5539
|
-
},
|
5540
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
5541
|
-
"default": "'negative'",
|
5542
|
-
"fieldName": "buttonPosition"
|
5543
|
-
}
|
5544
|
-
],
|
5545
|
-
"superclass": {
|
5546
|
-
"name": "Component",
|
5547
|
-
"module": "/src/models"
|
5548
|
-
},
|
5549
|
-
"tagName": "mdc-divider",
|
5550
|
-
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
5551
|
-
"customElement": true
|
5552
|
-
}
|
5553
|
-
],
|
5554
|
-
"exports": [
|
5555
|
-
{
|
5556
|
-
"kind": "js",
|
5557
|
-
"name": "default",
|
5558
|
-
"declaration": {
|
5559
|
-
"name": "Divider",
|
5560
|
-
"module": "components/divider/divider.component.js"
|
5561
|
-
}
|
5562
|
-
}
|
5563
|
-
]
|
5564
|
-
},
|
5565
|
-
{
|
5566
|
-
"kind": "javascript-module",
|
5567
|
-
"path": "components/filterchip/filterchip.component.js",
|
5568
|
-
"declarations": [
|
5569
|
-
{
|
5570
|
-
"kind": "class",
|
5571
|
-
"description": "mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\nThey can be found with lists or tables as quick filters.\n\nThis component is built on top of the mdc-chip component.",
|
5572
|
-
"name": "FilterChip",
|
5573
|
-
"members": [
|
5325
|
+
"description": "mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\nThey can be found with lists or tables as quick filters.\n\nThis component is built on top of the mdc-chip component.",
|
5326
|
+
"name": "FilterChip",
|
5327
|
+
"members": [
|
5574
5328
|
{
|
5575
5329
|
"kind": "field",
|
5576
5330
|
"name": "selected",
|
@@ -6132,22 +5886,268 @@
|
|
6132
5886
|
},
|
6133
5887
|
{
|
6134
5888
|
"kind": "javascript-module",
|
6135
|
-
"path": "components/
|
5889
|
+
"path": "components/divider/divider.component.js",
|
6136
5890
|
"declarations": [
|
6137
5891
|
{
|
6138
5892
|
"kind": "class",
|
6139
|
-
"description": "`mdc-
|
6140
|
-
"name": "
|
6141
|
-
"
|
5893
|
+
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
5894
|
+
"name": "Divider",
|
5895
|
+
"cssProperties": [
|
6142
5896
|
{
|
6143
|
-
"description": "
|
6144
|
-
"name": "
|
5897
|
+
"description": "background color of the divider",
|
5898
|
+
"name": "--mdc-divider-background-color"
|
6145
5899
|
},
|
6146
5900
|
{
|
6147
|
-
"description": "
|
6148
|
-
"name": "
|
6149
|
-
|
6150
|
-
|
5901
|
+
"description": "width of the divider",
|
5902
|
+
"name": "--mdc-divider-width"
|
5903
|
+
},
|
5904
|
+
{
|
5905
|
+
"description": "gradient of the horizontal divider",
|
5906
|
+
"name": "--mdc-divider-horizontal-gradient"
|
5907
|
+
},
|
5908
|
+
{
|
5909
|
+
"description": "gradient of the vertical divider",
|
5910
|
+
"name": "--mdc-divider-vertical-gradient"
|
5911
|
+
},
|
5912
|
+
{
|
5913
|
+
"description": "font size of label in the text divider",
|
5914
|
+
"name": "--mdc-divider-text-size"
|
5915
|
+
},
|
5916
|
+
{
|
5917
|
+
"description": "font color of label in the text divider",
|
5918
|
+
"name": "--mdc-divider-text-color"
|
5919
|
+
},
|
5920
|
+
{
|
5921
|
+
"description": "left and right margin of label in the text divider",
|
5922
|
+
"name": "--mdc-divider-text-margin"
|
5923
|
+
},
|
5924
|
+
{
|
5925
|
+
"description": "line height of label in the text divider",
|
5926
|
+
"name": "--mdc-divider-text-line-height"
|
5927
|
+
},
|
5928
|
+
{
|
5929
|
+
"description": "background color of the grabber button in rest state",
|
5930
|
+
"name": "--mdc-divider-grabber-button-background-color-normal"
|
5931
|
+
},
|
5932
|
+
{
|
5933
|
+
"description": "background color of the grabber button in hover state",
|
5934
|
+
"name": "--mdc-divider-grabber-button-background-color-hover"
|
5935
|
+
},
|
5936
|
+
{
|
5937
|
+
"description": "background color of the grabber button in pressed state",
|
5938
|
+
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
5939
|
+
},
|
5940
|
+
{
|
5941
|
+
"description": "border color of the grabber button",
|
5942
|
+
"name": "--mdc-divider-grabber-button-border-color"
|
5943
|
+
},
|
5944
|
+
{
|
5945
|
+
"description": "border radius of the grabber button",
|
5946
|
+
"name": "--mdc-divider-grabber-button-border-radius"
|
5947
|
+
}
|
5948
|
+
],
|
5949
|
+
"members": [
|
5950
|
+
{
|
5951
|
+
"kind": "field",
|
5952
|
+
"name": "orientation",
|
5953
|
+
"type": {
|
5954
|
+
"text": "DividerOrientation"
|
5955
|
+
},
|
5956
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
5957
|
+
"default": "horizontal",
|
5958
|
+
"attribute": "orientation",
|
5959
|
+
"reflects": true
|
5960
|
+
},
|
5961
|
+
{
|
5962
|
+
"kind": "field",
|
5963
|
+
"name": "variant",
|
5964
|
+
"type": {
|
5965
|
+
"text": "DividerVariant"
|
5966
|
+
},
|
5967
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
5968
|
+
"default": "solid",
|
5969
|
+
"attribute": "variant",
|
5970
|
+
"reflects": true
|
5971
|
+
},
|
5972
|
+
{
|
5973
|
+
"kind": "field",
|
5974
|
+
"name": "arrowDirection",
|
5975
|
+
"type": {
|
5976
|
+
"text": "Directions"
|
5977
|
+
},
|
5978
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
5979
|
+
"default": "'negative'",
|
5980
|
+
"attribute": "arrow-direction",
|
5981
|
+
"reflects": true
|
5982
|
+
},
|
5983
|
+
{
|
5984
|
+
"kind": "field",
|
5985
|
+
"name": "buttonPosition",
|
5986
|
+
"type": {
|
5987
|
+
"text": "Directions"
|
5988
|
+
},
|
5989
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
5990
|
+
"default": "'negative'",
|
5991
|
+
"attribute": "button-position",
|
5992
|
+
"reflects": true
|
5993
|
+
},
|
5994
|
+
{
|
5995
|
+
"kind": "method",
|
5996
|
+
"name": "setVariant",
|
5997
|
+
"privacy": "private",
|
5998
|
+
"parameters": [
|
5999
|
+
{
|
6000
|
+
"name": "variant",
|
6001
|
+
"type": {
|
6002
|
+
"text": "DividerVariant"
|
6003
|
+
},
|
6004
|
+
"description": "The variant to set."
|
6005
|
+
}
|
6006
|
+
],
|
6007
|
+
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
6008
|
+
},
|
6009
|
+
{
|
6010
|
+
"kind": "method",
|
6011
|
+
"name": "setOrientation",
|
6012
|
+
"privacy": "private",
|
6013
|
+
"parameters": [
|
6014
|
+
{
|
6015
|
+
"name": "orientation",
|
6016
|
+
"type": {
|
6017
|
+
"text": "DividerOrientation"
|
6018
|
+
},
|
6019
|
+
"description": "The orientation to set."
|
6020
|
+
}
|
6021
|
+
],
|
6022
|
+
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
6023
|
+
},
|
6024
|
+
{
|
6025
|
+
"kind": "method",
|
6026
|
+
"name": "ensureValidDirections",
|
6027
|
+
"privacy": "private",
|
6028
|
+
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
6029
|
+
"parameters": [
|
6030
|
+
{
|
6031
|
+
"description": "The buttonPosition to set.",
|
6032
|
+
"name": "buttonPosition"
|
6033
|
+
},
|
6034
|
+
{
|
6035
|
+
"description": "The arrowDirection to set.",
|
6036
|
+
"name": "arrowDirection"
|
6037
|
+
}
|
6038
|
+
]
|
6039
|
+
},
|
6040
|
+
{
|
6041
|
+
"kind": "method",
|
6042
|
+
"name": "setGrabberButton",
|
6043
|
+
"privacy": "private",
|
6044
|
+
"return": {
|
6045
|
+
"type": {
|
6046
|
+
"text": "void"
|
6047
|
+
}
|
6048
|
+
},
|
6049
|
+
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
6050
|
+
},
|
6051
|
+
{
|
6052
|
+
"kind": "method",
|
6053
|
+
"name": "getArrowIcon",
|
6054
|
+
"privacy": "private",
|
6055
|
+
"return": {
|
6056
|
+
"type": {
|
6057
|
+
"text": ""
|
6058
|
+
}
|
6059
|
+
},
|
6060
|
+
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
6061
|
+
},
|
6062
|
+
{
|
6063
|
+
"kind": "method",
|
6064
|
+
"name": "inferDividerType",
|
6065
|
+
"privacy": "private",
|
6066
|
+
"description": "Infers the type of divider based on the kind of slot present.",
|
6067
|
+
"parameters": [
|
6068
|
+
{
|
6069
|
+
"description": "default slot of divider",
|
6070
|
+
"name": "slot"
|
6071
|
+
}
|
6072
|
+
]
|
6073
|
+
}
|
6074
|
+
],
|
6075
|
+
"attributes": [
|
6076
|
+
{
|
6077
|
+
"name": "orientation",
|
6078
|
+
"type": {
|
6079
|
+
"text": "DividerOrientation"
|
6080
|
+
},
|
6081
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
6082
|
+
"default": "horizontal",
|
6083
|
+
"fieldName": "orientation"
|
6084
|
+
},
|
6085
|
+
{
|
6086
|
+
"name": "variant",
|
6087
|
+
"type": {
|
6088
|
+
"text": "DividerVariant"
|
6089
|
+
},
|
6090
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
6091
|
+
"default": "solid",
|
6092
|
+
"fieldName": "variant"
|
6093
|
+
},
|
6094
|
+
{
|
6095
|
+
"name": "arrow-direction",
|
6096
|
+
"type": {
|
6097
|
+
"text": "Directions"
|
6098
|
+
},
|
6099
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
6100
|
+
"default": "'negative'",
|
6101
|
+
"fieldName": "arrowDirection"
|
6102
|
+
},
|
6103
|
+
{
|
6104
|
+
"name": "button-position",
|
6105
|
+
"type": {
|
6106
|
+
"text": "Directions"
|
6107
|
+
},
|
6108
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
6109
|
+
"default": "'negative'",
|
6110
|
+
"fieldName": "buttonPosition"
|
6111
|
+
}
|
6112
|
+
],
|
6113
|
+
"superclass": {
|
6114
|
+
"name": "Component",
|
6115
|
+
"module": "/src/models"
|
6116
|
+
},
|
6117
|
+
"tagName": "mdc-divider",
|
6118
|
+
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
6119
|
+
"customElement": true
|
6120
|
+
}
|
6121
|
+
],
|
6122
|
+
"exports": [
|
6123
|
+
{
|
6124
|
+
"kind": "js",
|
6125
|
+
"name": "default",
|
6126
|
+
"declaration": {
|
6127
|
+
"name": "Divider",
|
6128
|
+
"module": "components/divider/divider.component.js"
|
6129
|
+
}
|
6130
|
+
}
|
6131
|
+
]
|
6132
|
+
},
|
6133
|
+
{
|
6134
|
+
"kind": "javascript-module",
|
6135
|
+
"path": "components/formfieldgroup/formfieldgroup.component.js",
|
6136
|
+
"declarations": [
|
6137
|
+
{
|
6138
|
+
"kind": "class",
|
6139
|
+
"description": "`mdc-formfieldgroup` component, groups the form field components together.\nAll passed in children will have a gap of 12px (0.75rem) each applied.\n\nThis component is specifically for creating a `checkbox` group and a `toggle` group component.\nFor the radiogroup use the RadioGroup component instead.\n\nThe header text and description text are displayed above the items with accessible labels.<br/>\nThe consumer has to provide atleast the header-text or the aria-label,\nlike one of them <b>has</b> to be passed in always, otherwise its not accessible.\n\nThe role will be set to `group`.\nThe aria-label will be set with the data-aria-label property.\nThe aria-labelledby will be set with the header id which contains the header text information.\nThe aria-describedby will be set with the description id which contains the description text information.",
|
6140
|
+
"name": "FormfieldGroup",
|
6141
|
+
"slots": [
|
6142
|
+
{
|
6143
|
+
"description": "This is a default slot for checkbox or toggle components.",
|
6144
|
+
"name": "default"
|
6145
|
+
},
|
6146
|
+
{
|
6147
|
+
"description": "slot to add the label info icon",
|
6148
|
+
"name": "label-info",
|
6149
|
+
"inheritedFrom": {
|
6150
|
+
"name": "FormfieldWrapper",
|
6151
6151
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6152
6152
|
}
|
6153
6153
|
}
|
@@ -6456,230 +6456,7 @@
|
|
6456
6456
|
},
|
6457
6457
|
{
|
6458
6458
|
"kind": "javascript-module",
|
6459
|
-
"path": "components/
|
6460
|
-
"declarations": [
|
6461
|
-
{
|
6462
|
-
"kind": "class",
|
6463
|
-
"description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
6464
|
-
"name": "FormfieldWrapper",
|
6465
|
-
"slots": [
|
6466
|
-
{
|
6467
|
-
"description": "slot to add the label info icon",
|
6468
|
-
"name": "label-info"
|
6469
|
-
}
|
6470
|
-
],
|
6471
|
-
"members": [
|
6472
|
-
{
|
6473
|
-
"kind": "field",
|
6474
|
-
"name": "label",
|
6475
|
-
"type": {
|
6476
|
-
"text": "string | undefined"
|
6477
|
-
},
|
6478
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
6479
|
-
"attribute": "label",
|
6480
|
-
"reflects": true
|
6481
|
-
},
|
6482
|
-
{
|
6483
|
-
"kind": "field",
|
6484
|
-
"name": "requiredLabel",
|
6485
|
-
"type": {
|
6486
|
-
"text": "string | undefined"
|
6487
|
-
},
|
6488
|
-
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
6489
|
-
"attribute": "required-label",
|
6490
|
-
"reflects": true
|
6491
|
-
},
|
6492
|
-
{
|
6493
|
-
"kind": "field",
|
6494
|
-
"name": "id",
|
6495
|
-
"type": {
|
6496
|
-
"text": "string"
|
6497
|
-
},
|
6498
|
-
"default": "''",
|
6499
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
6500
|
-
"attribute": "id"
|
6501
|
-
},
|
6502
|
-
{
|
6503
|
-
"kind": "field",
|
6504
|
-
"name": "helpTextType",
|
6505
|
-
"type": {
|
6506
|
-
"text": "ValidationType"
|
6507
|
-
},
|
6508
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
6509
|
-
"attribute": "help-text-type",
|
6510
|
-
"reflects": true
|
6511
|
-
},
|
6512
|
-
{
|
6513
|
-
"kind": "field",
|
6514
|
-
"name": "helpText",
|
6515
|
-
"type": {
|
6516
|
-
"text": "string | undefined"
|
6517
|
-
},
|
6518
|
-
"description": "The help text that is displayed below the input field.",
|
6519
|
-
"attribute": "help-text",
|
6520
|
-
"reflects": true
|
6521
|
-
},
|
6522
|
-
{
|
6523
|
-
"kind": "method",
|
6524
|
-
"name": "renderLabelElement",
|
6525
|
-
"privacy": "protected",
|
6526
|
-
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
6527
|
-
"return": {
|
6528
|
-
"type": {
|
6529
|
-
"text": ""
|
6530
|
-
}
|
6531
|
-
}
|
6532
|
-
},
|
6533
|
-
{
|
6534
|
-
"kind": "method",
|
6535
|
-
"name": "renderRequiredLabel",
|
6536
|
-
"privacy": "protected"
|
6537
|
-
},
|
6538
|
-
{
|
6539
|
-
"kind": "method",
|
6540
|
-
"name": "renderHelpTextIcon",
|
6541
|
-
"privacy": "protected",
|
6542
|
-
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
6543
|
-
"return": {
|
6544
|
-
"type": {
|
6545
|
-
"text": ""
|
6546
|
-
}
|
6547
|
-
}
|
6548
|
-
},
|
6549
|
-
{
|
6550
|
-
"kind": "method",
|
6551
|
-
"name": "renderHelpText",
|
6552
|
-
"privacy": "protected",
|
6553
|
-
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
6554
|
-
"return": {
|
6555
|
-
"type": {
|
6556
|
-
"text": ""
|
6557
|
-
}
|
6558
|
-
}
|
6559
|
-
},
|
6560
|
-
{
|
6561
|
-
"kind": "method",
|
6562
|
-
"name": "renderLabel",
|
6563
|
-
"privacy": "protected",
|
6564
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
6565
|
-
"return": {
|
6566
|
-
"type": {
|
6567
|
-
"text": ""
|
6568
|
-
}
|
6569
|
-
}
|
6570
|
-
},
|
6571
|
-
{
|
6572
|
-
"kind": "method",
|
6573
|
-
"name": "renderHelperText",
|
6574
|
-
"privacy": "protected",
|
6575
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
6576
|
-
"return": {
|
6577
|
-
"type": {
|
6578
|
-
"text": ""
|
6579
|
-
}
|
6580
|
-
}
|
6581
|
-
},
|
6582
|
-
{
|
6583
|
-
"kind": "field",
|
6584
|
-
"name": "disabled",
|
6585
|
-
"type": {
|
6586
|
-
"text": "boolean"
|
6587
|
-
},
|
6588
|
-
"default": "false",
|
6589
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6590
|
-
"attribute": "disabled",
|
6591
|
-
"reflects": true,
|
6592
|
-
"inheritedFrom": {
|
6593
|
-
"name": "DisabledMixin",
|
6594
|
-
"module": "utils/mixins/DisabledMixin.js"
|
6595
|
-
}
|
6596
|
-
}
|
6597
|
-
],
|
6598
|
-
"attributes": [
|
6599
|
-
{
|
6600
|
-
"name": "label",
|
6601
|
-
"type": {
|
6602
|
-
"text": "string | undefined"
|
6603
|
-
},
|
6604
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
6605
|
-
"fieldName": "label"
|
6606
|
-
},
|
6607
|
-
{
|
6608
|
-
"name": "required-label",
|
6609
|
-
"type": {
|
6610
|
-
"text": "string | undefined"
|
6611
|
-
},
|
6612
|
-
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
6613
|
-
"fieldName": "requiredLabel"
|
6614
|
-
},
|
6615
|
-
{
|
6616
|
-
"name": "id",
|
6617
|
-
"type": {
|
6618
|
-
"text": "string"
|
6619
|
-
},
|
6620
|
-
"default": "''",
|
6621
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
6622
|
-
"fieldName": "id"
|
6623
|
-
},
|
6624
|
-
{
|
6625
|
-
"name": "help-text-type",
|
6626
|
-
"type": {
|
6627
|
-
"text": "ValidationType"
|
6628
|
-
},
|
6629
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
6630
|
-
"fieldName": "helpTextType"
|
6631
|
-
},
|
6632
|
-
{
|
6633
|
-
"name": "help-text",
|
6634
|
-
"type": {
|
6635
|
-
"text": "string | undefined"
|
6636
|
-
},
|
6637
|
-
"description": "The help text that is displayed below the input field.",
|
6638
|
-
"fieldName": "helpText"
|
6639
|
-
},
|
6640
|
-
{
|
6641
|
-
"name": "disabled",
|
6642
|
-
"type": {
|
6643
|
-
"text": "boolean"
|
6644
|
-
},
|
6645
|
-
"default": "false",
|
6646
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6647
|
-
"fieldName": "disabled",
|
6648
|
-
"inheritedFrom": {
|
6649
|
-
"name": "DisabledMixin",
|
6650
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
6651
|
-
}
|
6652
|
-
}
|
6653
|
-
],
|
6654
|
-
"mixins": [
|
6655
|
-
{
|
6656
|
-
"name": "DisabledMixin",
|
6657
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
6658
|
-
}
|
6659
|
-
],
|
6660
|
-
"superclass": {
|
6661
|
-
"name": "Component",
|
6662
|
-
"module": "/src/models"
|
6663
|
-
},
|
6664
|
-
"tagName": "mdc-formfieldwrapper",
|
6665
|
-
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @slot label-info - slot to add the label info icon\n *\n */",
|
6666
|
-
"customElement": true
|
6667
|
-
}
|
6668
|
-
],
|
6669
|
-
"exports": [
|
6670
|
-
{
|
6671
|
-
"kind": "js",
|
6672
|
-
"name": "default",
|
6673
|
-
"declaration": {
|
6674
|
-
"name": "FormfieldWrapper",
|
6675
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
6676
|
-
}
|
6677
|
-
}
|
6678
|
-
]
|
6679
|
-
},
|
6680
|
-
{
|
6681
|
-
"kind": "javascript-module",
|
6682
|
-
"path": "components/icon/icon.component.js",
|
6459
|
+
"path": "components/icon/icon.component.js",
|
6683
6460
|
"declarations": [
|
6684
6461
|
{
|
6685
6462
|
"kind": "class",
|
@@ -6850,61 +6627,284 @@
|
|
6850
6627
|
},
|
6851
6628
|
{
|
6852
6629
|
"kind": "field",
|
6853
|
-
"name": "computedIconSize",
|
6854
|
-
"privacy": "private",
|
6855
|
-
"readonly": true
|
6630
|
+
"name": "computedIconSize",
|
6631
|
+
"privacy": "private",
|
6632
|
+
"readonly": true
|
6633
|
+
}
|
6634
|
+
],
|
6635
|
+
"attributes": [
|
6636
|
+
{
|
6637
|
+
"name": "name",
|
6638
|
+
"type": {
|
6639
|
+
"text": "IconNames | undefined"
|
6640
|
+
},
|
6641
|
+
"description": "Name of the icon (= filename)",
|
6642
|
+
"fieldName": "name"
|
6643
|
+
},
|
6644
|
+
{
|
6645
|
+
"name": "size",
|
6646
|
+
"type": {
|
6647
|
+
"text": "number | undefined"
|
6648
|
+
},
|
6649
|
+
"description": "Size of the icon (works in combination with length unit)",
|
6650
|
+
"fieldName": "size"
|
6651
|
+
},
|
6652
|
+
{
|
6653
|
+
"name": "length-unit",
|
6654
|
+
"type": {
|
6655
|
+
"text": "string | undefined"
|
6656
|
+
},
|
6657
|
+
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
6658
|
+
"fieldName": "lengthUnit"
|
6659
|
+
},
|
6660
|
+
{
|
6661
|
+
"name": "aria-label",
|
6662
|
+
"type": {
|
6663
|
+
"text": "string | null"
|
6664
|
+
},
|
6665
|
+
"default": "null",
|
6666
|
+
"description": "Aria-label attribute to be set for accessibility",
|
6667
|
+
"fieldName": "ariaLabel"
|
6668
|
+
},
|
6669
|
+
{
|
6670
|
+
"name": "aria-labelledby",
|
6671
|
+
"type": {
|
6672
|
+
"text": "string | null"
|
6673
|
+
},
|
6674
|
+
"default": "null",
|
6675
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
6676
|
+
"fieldName": "ariaLabelledBy"
|
6677
|
+
}
|
6678
|
+
],
|
6679
|
+
"superclass": {
|
6680
|
+
"name": "Component",
|
6681
|
+
"module": "/src/models"
|
6682
|
+
},
|
6683
|
+
"tagName": "mdc-icon",
|
6684
|
+
"jsDoc": "/**\n * Icon component that dynamically displays SVG icons based on a valid name.\n *\n * This component must be mounted within an `IconProvider` component.\n *\n * The `IconProvider` defines the source URL from which icons are consumed.\n * The `Icon` component accepts a `name` attribute, which corresponds to\n * the file name of the icon to be loaded from the specified URL.\n *\n * Once fetched, the icon will be rendered. If the fetching process is unsuccessful,\n * no icon will be displayed.\n *\n * The `size` attribute allows for dynamic sizing of the icon based on the provided\n * `length-unit` attribute. This unit can either come from the `IconProvider`\n * or can be overridden for each individual icon. For example:\n * if `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n * `width: 1em; height: 1em`.\n *\n * Regarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n *\n * ### Decorative Icons\n * - Decorative icons do not convey any essential information to the content of a page.\n * - They should be hidden from screen readers (SR) to prevent confusion for users.\n * - For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Icons\n * - Informative icons convey important information that is not adequately represented\n * by surrounding text or components.\n * - They provide valuable context and must be announced by assistive technologies.\n * - For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n * the role will be unset.\n *\n * ### Informative Standalone Icons\n * - If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\n * have a Tooltip that describes what it means.\n * - For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\n * and the `role` will be set to \"img\" automatically.\n * - **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**\n *\n * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n * @cssproperty --mdc-icon-size - Allows customization of the icon size.\n * @cssproperty --mdc-icon-border-radius - Allows customization of the icon border radius.\n */",
|
6685
|
+
"customElement": true
|
6686
|
+
}
|
6687
|
+
],
|
6688
|
+
"exports": [
|
6689
|
+
{
|
6690
|
+
"kind": "js",
|
6691
|
+
"name": "default",
|
6692
|
+
"declaration": {
|
6693
|
+
"name": "Icon",
|
6694
|
+
"module": "components/icon/icon.component.js"
|
6695
|
+
}
|
6696
|
+
}
|
6697
|
+
]
|
6698
|
+
},
|
6699
|
+
{
|
6700
|
+
"kind": "javascript-module",
|
6701
|
+
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
6702
|
+
"declarations": [
|
6703
|
+
{
|
6704
|
+
"kind": "class",
|
6705
|
+
"description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
6706
|
+
"name": "FormfieldWrapper",
|
6707
|
+
"slots": [
|
6708
|
+
{
|
6709
|
+
"description": "slot to add the label info icon",
|
6710
|
+
"name": "label-info"
|
6711
|
+
}
|
6712
|
+
],
|
6713
|
+
"members": [
|
6714
|
+
{
|
6715
|
+
"kind": "field",
|
6716
|
+
"name": "label",
|
6717
|
+
"type": {
|
6718
|
+
"text": "string | undefined"
|
6719
|
+
},
|
6720
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
6721
|
+
"attribute": "label",
|
6722
|
+
"reflects": true
|
6723
|
+
},
|
6724
|
+
{
|
6725
|
+
"kind": "field",
|
6726
|
+
"name": "requiredLabel",
|
6727
|
+
"type": {
|
6728
|
+
"text": "string | undefined"
|
6729
|
+
},
|
6730
|
+
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
6731
|
+
"attribute": "required-label",
|
6732
|
+
"reflects": true
|
6733
|
+
},
|
6734
|
+
{
|
6735
|
+
"kind": "field",
|
6736
|
+
"name": "id",
|
6737
|
+
"type": {
|
6738
|
+
"text": "string"
|
6739
|
+
},
|
6740
|
+
"default": "''",
|
6741
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
6742
|
+
"attribute": "id"
|
6743
|
+
},
|
6744
|
+
{
|
6745
|
+
"kind": "field",
|
6746
|
+
"name": "helpTextType",
|
6747
|
+
"type": {
|
6748
|
+
"text": "ValidationType"
|
6749
|
+
},
|
6750
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
6751
|
+
"attribute": "help-text-type",
|
6752
|
+
"reflects": true
|
6753
|
+
},
|
6754
|
+
{
|
6755
|
+
"kind": "field",
|
6756
|
+
"name": "helpText",
|
6757
|
+
"type": {
|
6758
|
+
"text": "string | undefined"
|
6759
|
+
},
|
6760
|
+
"description": "The help text that is displayed below the input field.",
|
6761
|
+
"attribute": "help-text",
|
6762
|
+
"reflects": true
|
6763
|
+
},
|
6764
|
+
{
|
6765
|
+
"kind": "method",
|
6766
|
+
"name": "renderLabelElement",
|
6767
|
+
"privacy": "protected",
|
6768
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
6769
|
+
"return": {
|
6770
|
+
"type": {
|
6771
|
+
"text": ""
|
6772
|
+
}
|
6773
|
+
}
|
6774
|
+
},
|
6775
|
+
{
|
6776
|
+
"kind": "method",
|
6777
|
+
"name": "renderRequiredLabel",
|
6778
|
+
"privacy": "protected"
|
6779
|
+
},
|
6780
|
+
{
|
6781
|
+
"kind": "method",
|
6782
|
+
"name": "renderHelpTextIcon",
|
6783
|
+
"privacy": "protected",
|
6784
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
6785
|
+
"return": {
|
6786
|
+
"type": {
|
6787
|
+
"text": ""
|
6788
|
+
}
|
6789
|
+
}
|
6790
|
+
},
|
6791
|
+
{
|
6792
|
+
"kind": "method",
|
6793
|
+
"name": "renderHelpText",
|
6794
|
+
"privacy": "protected",
|
6795
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
6796
|
+
"return": {
|
6797
|
+
"type": {
|
6798
|
+
"text": ""
|
6799
|
+
}
|
6800
|
+
}
|
6801
|
+
},
|
6802
|
+
{
|
6803
|
+
"kind": "method",
|
6804
|
+
"name": "renderLabel",
|
6805
|
+
"privacy": "protected",
|
6806
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
6807
|
+
"return": {
|
6808
|
+
"type": {
|
6809
|
+
"text": ""
|
6810
|
+
}
|
6811
|
+
}
|
6812
|
+
},
|
6813
|
+
{
|
6814
|
+
"kind": "method",
|
6815
|
+
"name": "renderHelperText",
|
6816
|
+
"privacy": "protected",
|
6817
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
6818
|
+
"return": {
|
6819
|
+
"type": {
|
6820
|
+
"text": ""
|
6821
|
+
}
|
6822
|
+
}
|
6823
|
+
},
|
6824
|
+
{
|
6825
|
+
"kind": "field",
|
6826
|
+
"name": "disabled",
|
6827
|
+
"type": {
|
6828
|
+
"text": "boolean"
|
6829
|
+
},
|
6830
|
+
"default": "false",
|
6831
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6832
|
+
"attribute": "disabled",
|
6833
|
+
"reflects": true,
|
6834
|
+
"inheritedFrom": {
|
6835
|
+
"name": "DisabledMixin",
|
6836
|
+
"module": "utils/mixins/DisabledMixin.js"
|
6837
|
+
}
|
6856
6838
|
}
|
6857
6839
|
],
|
6858
6840
|
"attributes": [
|
6859
6841
|
{
|
6860
|
-
"name": "
|
6842
|
+
"name": "label",
|
6861
6843
|
"type": {
|
6862
|
-
"text": "
|
6844
|
+
"text": "string | undefined"
|
6863
6845
|
},
|
6864
|
-
"description": "
|
6865
|
-
"fieldName": "
|
6846
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
6847
|
+
"fieldName": "label"
|
6866
6848
|
},
|
6867
6849
|
{
|
6868
|
-
"name": "
|
6850
|
+
"name": "required-label",
|
6869
6851
|
"type": {
|
6870
|
-
"text": "
|
6852
|
+
"text": "string | undefined"
|
6871
6853
|
},
|
6872
|
-
"description": "
|
6873
|
-
"fieldName": "
|
6854
|
+
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
6855
|
+
"fieldName": "requiredLabel"
|
6874
6856
|
},
|
6875
6857
|
{
|
6876
|
-
"name": "
|
6858
|
+
"name": "id",
|
6877
6859
|
"type": {
|
6878
|
-
"text": "string
|
6860
|
+
"text": "string"
|
6879
6861
|
},
|
6880
|
-
"
|
6881
|
-
"
|
6862
|
+
"default": "''",
|
6863
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
6864
|
+
"fieldName": "id"
|
6882
6865
|
},
|
6883
6866
|
{
|
6884
|
-
"name": "
|
6867
|
+
"name": "help-text-type",
|
6885
6868
|
"type": {
|
6886
|
-
"text": "
|
6869
|
+
"text": "ValidationType"
|
6887
6870
|
},
|
6888
|
-
"
|
6889
|
-
"
|
6890
|
-
"fieldName": "ariaLabel"
|
6871
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
6872
|
+
"fieldName": "helpTextType"
|
6891
6873
|
},
|
6892
6874
|
{
|
6893
|
-
"name": "
|
6875
|
+
"name": "help-text",
|
6894
6876
|
"type": {
|
6895
|
-
"text": "string |
|
6877
|
+
"text": "string | undefined"
|
6896
6878
|
},
|
6897
|
-
"
|
6898
|
-
"
|
6899
|
-
|
6879
|
+
"description": "The help text that is displayed below the input field.",
|
6880
|
+
"fieldName": "helpText"
|
6881
|
+
},
|
6882
|
+
{
|
6883
|
+
"name": "disabled",
|
6884
|
+
"type": {
|
6885
|
+
"text": "boolean"
|
6886
|
+
},
|
6887
|
+
"default": "false",
|
6888
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6889
|
+
"fieldName": "disabled",
|
6890
|
+
"inheritedFrom": {
|
6891
|
+
"name": "DisabledMixin",
|
6892
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
6893
|
+
}
|
6894
|
+
}
|
6895
|
+
],
|
6896
|
+
"mixins": [
|
6897
|
+
{
|
6898
|
+
"name": "DisabledMixin",
|
6899
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
6900
6900
|
}
|
6901
6901
|
],
|
6902
6902
|
"superclass": {
|
6903
6903
|
"name": "Component",
|
6904
6904
|
"module": "/src/models"
|
6905
6905
|
},
|
6906
|
-
"tagName": "mdc-
|
6907
|
-
"jsDoc": "/**\n *
|
6906
|
+
"tagName": "mdc-formfieldwrapper",
|
6907
|
+
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @slot label-info - slot to add the label info icon\n *\n */",
|
6908
6908
|
"customElement": true
|
6909
6909
|
}
|
6910
6910
|
],
|
@@ -6913,8 +6913,8 @@
|
|
6913
6913
|
"kind": "js",
|
6914
6914
|
"name": "default",
|
6915
6915
|
"declaration": {
|
6916
|
-
"name": "
|
6917
|
-
"module": "components/
|
6916
|
+
"name": "FormfieldWrapper",
|
6917
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
6918
6918
|
}
|
6919
6919
|
}
|
6920
6920
|
]
|
@@ -13399,90 +13399,6 @@
|
|
13399
13399
|
}
|
13400
13400
|
]
|
13401
13401
|
},
|
13402
|
-
{
|
13403
|
-
"kind": "javascript-module",
|
13404
|
-
"path": "components/text/text.component.js",
|
13405
|
-
"declarations": [
|
13406
|
-
{
|
13407
|
-
"kind": "class",
|
13408
|
-
"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.",
|
13409
|
-
"name": "Text",
|
13410
|
-
"cssParts": [
|
13411
|
-
{
|
13412
|
-
"description": "The text element",
|
13413
|
-
"name": "text"
|
13414
|
-
}
|
13415
|
-
],
|
13416
|
-
"slots": [
|
13417
|
-
{
|
13418
|
-
"description": "Default slot for text content",
|
13419
|
-
"name": ""
|
13420
|
-
}
|
13421
|
-
],
|
13422
|
-
"members": [
|
13423
|
-
{
|
13424
|
-
"kind": "field",
|
13425
|
-
"name": "type",
|
13426
|
-
"type": {
|
13427
|
-
"text": "TextType"
|
13428
|
-
},
|
13429
|
-
"privacy": "public",
|
13430
|
-
"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'",
|
13431
|
-
"default": "body-large-regular",
|
13432
|
-
"attribute": "type",
|
13433
|
-
"reflects": true
|
13434
|
-
},
|
13435
|
-
{
|
13436
|
-
"kind": "field",
|
13437
|
-
"name": "tagname",
|
13438
|
-
"type": {
|
13439
|
-
"text": "TagName | undefined"
|
13440
|
-
},
|
13441
|
-
"privacy": "public",
|
13442
|
-
"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.",
|
13443
|
-
"attribute": "tagname",
|
13444
|
-
"reflects": true
|
13445
|
-
}
|
13446
|
-
],
|
13447
|
-
"attributes": [
|
13448
|
-
{
|
13449
|
-
"name": "type",
|
13450
|
-
"type": {
|
13451
|
-
"text": "TextType"
|
13452
|
-
},
|
13453
|
-
"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'",
|
13454
|
-
"default": "body-large-regular",
|
13455
|
-
"fieldName": "type"
|
13456
|
-
},
|
13457
|
-
{
|
13458
|
-
"name": "tagname",
|
13459
|
-
"type": {
|
13460
|
-
"text": "TagName | undefined"
|
13461
|
-
},
|
13462
|
-
"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.",
|
13463
|
-
"fieldName": "tagname"
|
13464
|
-
}
|
13465
|
-
],
|
13466
|
-
"superclass": {
|
13467
|
-
"name": "Component",
|
13468
|
-
"module": "/src/models"
|
13469
|
-
},
|
13470
|
-
"tagName": "mdc-text",
|
13471
|
-
"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 */",
|
13472
|
-
"customElement": true
|
13473
|
-
}
|
13474
|
-
],
|
13475
|
-
"exports": [
|
13476
|
-
{
|
13477
|
-
"kind": "js",
|
13478
|
-
"name": "default",
|
13479
|
-
"declaration": {
|
13480
|
-
"name": "Text",
|
13481
|
-
"module": "components/text/text.component.js"
|
13482
|
-
}
|
13483
|
-
}
|
13484
|
-
]
|
13485
|
-
},
|
13486
13402
|
{
|
13487
13403
|
"kind": "javascript-module",
|
13488
13404
|
"path": "components/textarea/textarea.component.js",
|
@@ -14419,6 +14335,90 @@
|
|
14419
14335
|
}
|
14420
14336
|
]
|
14421
14337
|
},
|
14338
|
+
{
|
14339
|
+
"kind": "javascript-module",
|
14340
|
+
"path": "components/text/text.component.js",
|
14341
|
+
"declarations": [
|
14342
|
+
{
|
14343
|
+
"kind": "class",
|
14344
|
+
"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.",
|
14345
|
+
"name": "Text",
|
14346
|
+
"cssParts": [
|
14347
|
+
{
|
14348
|
+
"description": "The text element",
|
14349
|
+
"name": "text"
|
14350
|
+
}
|
14351
|
+
],
|
14352
|
+
"slots": [
|
14353
|
+
{
|
14354
|
+
"description": "Default slot for text content",
|
14355
|
+
"name": ""
|
14356
|
+
}
|
14357
|
+
],
|
14358
|
+
"members": [
|
14359
|
+
{
|
14360
|
+
"kind": "field",
|
14361
|
+
"name": "type",
|
14362
|
+
"type": {
|
14363
|
+
"text": "TextType"
|
14364
|
+
},
|
14365
|
+
"privacy": "public",
|
14366
|
+
"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'",
|
14367
|
+
"default": "body-large-regular",
|
14368
|
+
"attribute": "type",
|
14369
|
+
"reflects": true
|
14370
|
+
},
|
14371
|
+
{
|
14372
|
+
"kind": "field",
|
14373
|
+
"name": "tagname",
|
14374
|
+
"type": {
|
14375
|
+
"text": "TagName | undefined"
|
14376
|
+
},
|
14377
|
+
"privacy": "public",
|
14378
|
+
"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.",
|
14379
|
+
"attribute": "tagname",
|
14380
|
+
"reflects": true
|
14381
|
+
}
|
14382
|
+
],
|
14383
|
+
"attributes": [
|
14384
|
+
{
|
14385
|
+
"name": "type",
|
14386
|
+
"type": {
|
14387
|
+
"text": "TextType"
|
14388
|
+
},
|
14389
|
+
"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'",
|
14390
|
+
"default": "body-large-regular",
|
14391
|
+
"fieldName": "type"
|
14392
|
+
},
|
14393
|
+
{
|
14394
|
+
"name": "tagname",
|
14395
|
+
"type": {
|
14396
|
+
"text": "TagName | undefined"
|
14397
|
+
},
|
14398
|
+
"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.",
|
14399
|
+
"fieldName": "tagname"
|
14400
|
+
}
|
14401
|
+
],
|
14402
|
+
"superclass": {
|
14403
|
+
"name": "Component",
|
14404
|
+
"module": "/src/models"
|
14405
|
+
},
|
14406
|
+
"tagName": "mdc-text",
|
14407
|
+
"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 */",
|
14408
|
+
"customElement": true
|
14409
|
+
}
|
14410
|
+
],
|
14411
|
+
"exports": [
|
14412
|
+
{
|
14413
|
+
"kind": "js",
|
14414
|
+
"name": "default",
|
14415
|
+
"declaration": {
|
14416
|
+
"name": "Text",
|
14417
|
+
"module": "components/text/text.component.js"
|
14418
|
+
}
|
14419
|
+
}
|
14420
|
+
]
|
14421
|
+
},
|
14422
14422
|
{
|
14423
14423
|
"kind": "javascript-module",
|
14424
14424
|
"path": "components/themeprovider/themeprovider.component.js",
|