@momentum-design/components 0.89.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +158 -158
- package/dist/browser/index.js.map +3 -3
- package/dist/components/menupopover/menupopover.component.d.ts +1 -0
- package/dist/components/menupopover/menupopover.component.js +14 -1
- package/dist/components/menupopover/menupopover.utils.js +4 -2
- package/dist/components/popover/popover.component.d.ts +11 -1
- package/dist/components/popover/popover.component.js +28 -0
- package/dist/custom-elements.json +686 -567
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/package.json +1 -1
@@ -530,6 +530,67 @@
|
|
530
530
|
}
|
531
531
|
]
|
532
532
|
},
|
533
|
+
{
|
534
|
+
"kind": "javascript-module",
|
535
|
+
"path": "components/appheader/appheader.component.js",
|
536
|
+
"declarations": [
|
537
|
+
{
|
538
|
+
"kind": "class",
|
539
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
540
|
+
"name": "Appheader",
|
541
|
+
"cssParts": [
|
542
|
+
{
|
543
|
+
"description": "The main container for styling the header.",
|
544
|
+
"name": "container"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"description": "The leading section of the header.",
|
548
|
+
"name": "leading-section"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"description": "The center section of the header.",
|
552
|
+
"name": "center-section"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"description": "The trailing section of the header.",
|
556
|
+
"name": "trailing-section"
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"slots": [
|
560
|
+
{
|
561
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
562
|
+
"name": "leading"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
566
|
+
"name": "center"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
570
|
+
"name": "trailing"
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"members": [],
|
574
|
+
"superclass": {
|
575
|
+
"name": "Component",
|
576
|
+
"module": "/src/models"
|
577
|
+
},
|
578
|
+
"tagName": "mdc-appheader",
|
579
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
580
|
+
"customElement": true
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"exports": [
|
584
|
+
{
|
585
|
+
"kind": "js",
|
586
|
+
"name": "default",
|
587
|
+
"declaration": {
|
588
|
+
"name": "Appheader",
|
589
|
+
"module": "components/appheader/appheader.component.js"
|
590
|
+
}
|
591
|
+
}
|
592
|
+
]
|
593
|
+
},
|
533
594
|
{
|
534
595
|
"kind": "javascript-module",
|
535
596
|
"path": "components/animation/animation.component.js",
|
@@ -742,67 +803,6 @@
|
|
742
803
|
}
|
743
804
|
]
|
744
805
|
},
|
745
|
-
{
|
746
|
-
"kind": "javascript-module",
|
747
|
-
"path": "components/appheader/appheader.component.js",
|
748
|
-
"declarations": [
|
749
|
-
{
|
750
|
-
"kind": "class",
|
751
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
752
|
-
"name": "Appheader",
|
753
|
-
"cssParts": [
|
754
|
-
{
|
755
|
-
"description": "The main container for styling the header.",
|
756
|
-
"name": "container"
|
757
|
-
},
|
758
|
-
{
|
759
|
-
"description": "The leading section of the header.",
|
760
|
-
"name": "leading-section"
|
761
|
-
},
|
762
|
-
{
|
763
|
-
"description": "The center section of the header.",
|
764
|
-
"name": "center-section"
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"description": "The trailing section of the header.",
|
768
|
-
"name": "trailing-section"
|
769
|
-
}
|
770
|
-
],
|
771
|
-
"slots": [
|
772
|
-
{
|
773
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
774
|
-
"name": "leading"
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
778
|
-
"name": "center"
|
779
|
-
},
|
780
|
-
{
|
781
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
782
|
-
"name": "trailing"
|
783
|
-
}
|
784
|
-
],
|
785
|
-
"members": [],
|
786
|
-
"superclass": {
|
787
|
-
"name": "Component",
|
788
|
-
"module": "/src/models"
|
789
|
-
},
|
790
|
-
"tagName": "mdc-appheader",
|
791
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
792
|
-
"customElement": true
|
793
|
-
}
|
794
|
-
],
|
795
|
-
"exports": [
|
796
|
-
{
|
797
|
-
"kind": "js",
|
798
|
-
"name": "default",
|
799
|
-
"declaration": {
|
800
|
-
"name": "Appheader",
|
801
|
-
"module": "components/appheader/appheader.component.js"
|
802
|
-
}
|
803
|
-
}
|
804
|
-
]
|
805
|
-
},
|
806
806
|
{
|
807
807
|
"kind": "javascript-module",
|
808
808
|
"path": "components/avatar/avatar.component.js",
|
@@ -1069,6 +1069,327 @@
|
|
1069
1069
|
}
|
1070
1070
|
]
|
1071
1071
|
},
|
1072
|
+
{
|
1073
|
+
"kind": "javascript-module",
|
1074
|
+
"path": "components/badge/badge.component.js",
|
1075
|
+
"declarations": [
|
1076
|
+
{
|
1077
|
+
"kind": "class",
|
1078
|
+
"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.",
|
1079
|
+
"name": "Badge",
|
1080
|
+
"cssProperties": [
|
1081
|
+
{
|
1082
|
+
"description": "The foreground color of the primary badge.",
|
1083
|
+
"name": "--mdc-badge-primary-foreground-color"
|
1084
|
+
},
|
1085
|
+
{
|
1086
|
+
"description": "The background color of the primary badge.",
|
1087
|
+
"name": "--mdc-badge-primary-background-color"
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
"description": "The foreground color of the secondary badge.",
|
1091
|
+
"name": "--mdc-badge-secondary-foreground-color"
|
1092
|
+
},
|
1093
|
+
{
|
1094
|
+
"description": "The background color of the secondary badge.",
|
1095
|
+
"name": "--mdc-badge-secondary-background-color"
|
1096
|
+
},
|
1097
|
+
{
|
1098
|
+
"description": "The foreground color of the success badge.",
|
1099
|
+
"name": "--mdc-badge-success-foreground-color"
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"description": "The background color of the success badge.",
|
1103
|
+
"name": "--mdc-badge-success-background-color"
|
1104
|
+
},
|
1105
|
+
{
|
1106
|
+
"description": "The foreground color of the warning badge.",
|
1107
|
+
"name": "--mdc-badge-warning-foreground-color"
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"description": "The background color of the warning badge.",
|
1111
|
+
"name": "--mdc-badge-warning-background-color"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"description": "The foreground color of the error badge.",
|
1115
|
+
"name": "--mdc-badge-error-foreground-color"
|
1116
|
+
},
|
1117
|
+
{
|
1118
|
+
"description": "The background color of the error badge.",
|
1119
|
+
"name": "--mdc-badge-error-background-color"
|
1120
|
+
},
|
1121
|
+
{
|
1122
|
+
"description": "The background color of the badge overlay.",
|
1123
|
+
"name": "--mdc-badge-overlay-background-color"
|
1124
|
+
}
|
1125
|
+
],
|
1126
|
+
"members": [
|
1127
|
+
{
|
1128
|
+
"kind": "field",
|
1129
|
+
"name": "type",
|
1130
|
+
"type": {
|
1131
|
+
"text": "BadgeType | undefined"
|
1132
|
+
},
|
1133
|
+
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
1134
|
+
"attribute": "type",
|
1135
|
+
"reflects": true
|
1136
|
+
},
|
1137
|
+
{
|
1138
|
+
"kind": "field",
|
1139
|
+
"name": "variant",
|
1140
|
+
"type": {
|
1141
|
+
"text": "IconVariant"
|
1142
|
+
},
|
1143
|
+
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
1144
|
+
"default": "primary",
|
1145
|
+
"attribute": "variant",
|
1146
|
+
"reflects": true
|
1147
|
+
},
|
1148
|
+
{
|
1149
|
+
"kind": "field",
|
1150
|
+
"name": "counter",
|
1151
|
+
"type": {
|
1152
|
+
"text": "number | undefined"
|
1153
|
+
},
|
1154
|
+
"description": "Counter is the number which can be provided in the badge.",
|
1155
|
+
"attribute": "counter"
|
1156
|
+
},
|
1157
|
+
{
|
1158
|
+
"kind": "field",
|
1159
|
+
"name": "maxCounter",
|
1160
|
+
"type": {
|
1161
|
+
"text": "number"
|
1162
|
+
},
|
1163
|
+
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
1164
|
+
"default": "99",
|
1165
|
+
"attribute": "max-counter",
|
1166
|
+
"reflects": true
|
1167
|
+
},
|
1168
|
+
{
|
1169
|
+
"kind": "field",
|
1170
|
+
"name": "overlay",
|
1171
|
+
"type": {
|
1172
|
+
"text": "boolean"
|
1173
|
+
},
|
1174
|
+
"default": "false",
|
1175
|
+
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
1176
|
+
"attribute": "overlay"
|
1177
|
+
},
|
1178
|
+
{
|
1179
|
+
"kind": "field",
|
1180
|
+
"name": "ariaLabel",
|
1181
|
+
"type": {
|
1182
|
+
"text": "string | null"
|
1183
|
+
},
|
1184
|
+
"default": "null",
|
1185
|
+
"description": "Aria-label attribute to be set for accessibility",
|
1186
|
+
"attribute": "aria-label"
|
1187
|
+
},
|
1188
|
+
{
|
1189
|
+
"kind": "method",
|
1190
|
+
"name": "getCounterText",
|
1191
|
+
"privacy": "private",
|
1192
|
+
"return": {
|
1193
|
+
"type": {
|
1194
|
+
"text": ""
|
1195
|
+
}
|
1196
|
+
},
|
1197
|
+
"parameters": [
|
1198
|
+
{
|
1199
|
+
"name": "maxCounter",
|
1200
|
+
"type": {
|
1201
|
+
"text": "number"
|
1202
|
+
},
|
1203
|
+
"description": "the maximum limit which can be displayed on the badge"
|
1204
|
+
},
|
1205
|
+
{
|
1206
|
+
"name": "counter",
|
1207
|
+
"optional": true,
|
1208
|
+
"type": {
|
1209
|
+
"text": "number"
|
1210
|
+
},
|
1211
|
+
"description": "the number to be displayed on the badge"
|
1212
|
+
}
|
1213
|
+
],
|
1214
|
+
"description": "If `type` is set to `counter` and if `counter` is greater than `maxCounter`,\nthen it will return a string the maxCounter value as string.\nOtherwise, it will return a string representation of `counter`.\nIf `counter` is not a number, it will return an empty string."
|
1215
|
+
},
|
1216
|
+
{
|
1217
|
+
"kind": "method",
|
1218
|
+
"name": "getBadgeIcon",
|
1219
|
+
"privacy": "private",
|
1220
|
+
"return": {
|
1221
|
+
"type": {
|
1222
|
+
"text": ""
|
1223
|
+
}
|
1224
|
+
},
|
1225
|
+
"parameters": [
|
1226
|
+
{
|
1227
|
+
"name": "iconName",
|
1228
|
+
"type": {
|
1229
|
+
"text": "string"
|
1230
|
+
},
|
1231
|
+
"description": "the name of the icon from the icon set"
|
1232
|
+
},
|
1233
|
+
{
|
1234
|
+
"name": "backgroundClassPostfix",
|
1235
|
+
"type": {
|
1236
|
+
"text": "string"
|
1237
|
+
},
|
1238
|
+
"description": "postfix for the class to style the badge icon."
|
1239
|
+
}
|
1240
|
+
],
|
1241
|
+
"description": "Method to generate the badge icon."
|
1242
|
+
},
|
1243
|
+
{
|
1244
|
+
"kind": "method",
|
1245
|
+
"name": "getBadgeDot",
|
1246
|
+
"privacy": "private",
|
1247
|
+
"return": {
|
1248
|
+
"type": {
|
1249
|
+
"text": ""
|
1250
|
+
}
|
1251
|
+
},
|
1252
|
+
"description": "Method to generate the badge dot template."
|
1253
|
+
},
|
1254
|
+
{
|
1255
|
+
"kind": "method",
|
1256
|
+
"name": "getBadgeCounterText",
|
1257
|
+
"privacy": "private",
|
1258
|
+
"return": {
|
1259
|
+
"type": {
|
1260
|
+
"text": ""
|
1261
|
+
}
|
1262
|
+
},
|
1263
|
+
"description": "Method to generate the badge text and counter template."
|
1264
|
+
},
|
1265
|
+
{
|
1266
|
+
"kind": "method",
|
1267
|
+
"name": "setRoleByAriaLabel",
|
1268
|
+
"privacy": "private",
|
1269
|
+
"return": {
|
1270
|
+
"type": {
|
1271
|
+
"text": "void"
|
1272
|
+
}
|
1273
|
+
},
|
1274
|
+
"description": "Method to set the role based on the aria-label provided.\nIf the aria-label is provided, the role of the element will be 'img'.\nOtherwise, the role will be null."
|
1275
|
+
},
|
1276
|
+
{
|
1277
|
+
"kind": "method",
|
1278
|
+
"name": "getBadgeContentBasedOnType",
|
1279
|
+
"privacy": "private",
|
1280
|
+
"return": {
|
1281
|
+
"type": {
|
1282
|
+
"text": ""
|
1283
|
+
}
|
1284
|
+
},
|
1285
|
+
"description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
|
1286
|
+
},
|
1287
|
+
{
|
1288
|
+
"kind": "field",
|
1289
|
+
"name": "iconName",
|
1290
|
+
"type": {
|
1291
|
+
"text": "IconNames | undefined"
|
1292
|
+
},
|
1293
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
1294
|
+
"attribute": "icon-name",
|
1295
|
+
"inheritedFrom": {
|
1296
|
+
"name": "IconNameMixin",
|
1297
|
+
"module": "utils/mixins/IconNameMixin.js"
|
1298
|
+
}
|
1299
|
+
}
|
1300
|
+
],
|
1301
|
+
"attributes": [
|
1302
|
+
{
|
1303
|
+
"name": "type",
|
1304
|
+
"type": {
|
1305
|
+
"text": "BadgeType | undefined"
|
1306
|
+
},
|
1307
|
+
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
1308
|
+
"fieldName": "type"
|
1309
|
+
},
|
1310
|
+
{
|
1311
|
+
"name": "variant",
|
1312
|
+
"type": {
|
1313
|
+
"text": "IconVariant"
|
1314
|
+
},
|
1315
|
+
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
1316
|
+
"default": "primary",
|
1317
|
+
"fieldName": "variant"
|
1318
|
+
},
|
1319
|
+
{
|
1320
|
+
"name": "counter",
|
1321
|
+
"type": {
|
1322
|
+
"text": "number | undefined"
|
1323
|
+
},
|
1324
|
+
"description": "Counter is the number which can be provided in the badge.",
|
1325
|
+
"fieldName": "counter"
|
1326
|
+
},
|
1327
|
+
{
|
1328
|
+
"name": "max-counter",
|
1329
|
+
"type": {
|
1330
|
+
"text": "number"
|
1331
|
+
},
|
1332
|
+
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
1333
|
+
"default": "99",
|
1334
|
+
"fieldName": "maxCounter"
|
1335
|
+
},
|
1336
|
+
{
|
1337
|
+
"name": "overlay",
|
1338
|
+
"type": {
|
1339
|
+
"text": "boolean"
|
1340
|
+
},
|
1341
|
+
"default": "false",
|
1342
|
+
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
1343
|
+
"fieldName": "overlay"
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"name": "aria-label",
|
1347
|
+
"type": {
|
1348
|
+
"text": "string | null"
|
1349
|
+
},
|
1350
|
+
"default": "null",
|
1351
|
+
"description": "Aria-label attribute to be set for accessibility",
|
1352
|
+
"fieldName": "ariaLabel"
|
1353
|
+
},
|
1354
|
+
{
|
1355
|
+
"name": "icon-name",
|
1356
|
+
"type": {
|
1357
|
+
"text": "IconNames | undefined"
|
1358
|
+
},
|
1359
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
1360
|
+
"fieldName": "iconName",
|
1361
|
+
"inheritedFrom": {
|
1362
|
+
"name": "IconNameMixin",
|
1363
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
1364
|
+
}
|
1365
|
+
}
|
1366
|
+
],
|
1367
|
+
"mixins": [
|
1368
|
+
{
|
1369
|
+
"name": "IconNameMixin",
|
1370
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
1371
|
+
}
|
1372
|
+
],
|
1373
|
+
"superclass": {
|
1374
|
+
"name": "Component",
|
1375
|
+
"module": "/src/models"
|
1376
|
+
},
|
1377
|
+
"tagName": "mdc-badge",
|
1378
|
+
"jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported 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`,\n * it 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 *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n *\n * @cssproperty --mdc-badge-primary-foreground-color - The foreground color of the primary badge.\n * @cssproperty --mdc-badge-primary-background-color - The background color of the primary badge.\n * @cssproperty --mdc-badge-secondary-foreground-color - The foreground color of the secondary badge.\n * @cssproperty --mdc-badge-secondary-background-color - The background color of the secondary badge.\n * @cssproperty --mdc-badge-success-foreground-color - The foreground color of the success badge.\n * @cssproperty --mdc-badge-success-background-color - The background color of the success badge.\n * @cssproperty --mdc-badge-warning-foreground-color - The foreground color of the warning badge.\n * @cssproperty --mdc-badge-warning-background-color - The background color of the warning badge.\n * @cssproperty --mdc-badge-error-foreground-color - The foreground color of the error badge.\n * @cssproperty --mdc-badge-error-background-color - The background color of the error badge.\n * @cssproperty --mdc-badge-overlay-background-color - The background color of the badge overlay.\n */",
|
1379
|
+
"customElement": true
|
1380
|
+
}
|
1381
|
+
],
|
1382
|
+
"exports": [
|
1383
|
+
{
|
1384
|
+
"kind": "js",
|
1385
|
+
"name": "default",
|
1386
|
+
"declaration": {
|
1387
|
+
"name": "Badge",
|
1388
|
+
"module": "components/badge/badge.component.js"
|
1389
|
+
}
|
1390
|
+
}
|
1391
|
+
]
|
1392
|
+
},
|
1072
1393
|
{
|
1073
1394
|
"kind": "javascript-module",
|
1074
1395
|
"path": "components/avatarbutton/avatarbutton.component.js",
|
@@ -1765,327 +2086,6 @@
|
|
1765
2086
|
}
|
1766
2087
|
]
|
1767
2088
|
},
|
1768
|
-
{
|
1769
|
-
"kind": "javascript-module",
|
1770
|
-
"path": "components/badge/badge.component.js",
|
1771
|
-
"declarations": [
|
1772
|
-
{
|
1773
|
-
"kind": "class",
|
1774
|
-
"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.",
|
1775
|
-
"name": "Badge",
|
1776
|
-
"cssProperties": [
|
1777
|
-
{
|
1778
|
-
"description": "The foreground color of the primary badge.",
|
1779
|
-
"name": "--mdc-badge-primary-foreground-color"
|
1780
|
-
},
|
1781
|
-
{
|
1782
|
-
"description": "The background color of the primary badge.",
|
1783
|
-
"name": "--mdc-badge-primary-background-color"
|
1784
|
-
},
|
1785
|
-
{
|
1786
|
-
"description": "The foreground color of the secondary badge.",
|
1787
|
-
"name": "--mdc-badge-secondary-foreground-color"
|
1788
|
-
},
|
1789
|
-
{
|
1790
|
-
"description": "The background color of the secondary badge.",
|
1791
|
-
"name": "--mdc-badge-secondary-background-color"
|
1792
|
-
},
|
1793
|
-
{
|
1794
|
-
"description": "The foreground color of the success badge.",
|
1795
|
-
"name": "--mdc-badge-success-foreground-color"
|
1796
|
-
},
|
1797
|
-
{
|
1798
|
-
"description": "The background color of the success badge.",
|
1799
|
-
"name": "--mdc-badge-success-background-color"
|
1800
|
-
},
|
1801
|
-
{
|
1802
|
-
"description": "The foreground color of the warning badge.",
|
1803
|
-
"name": "--mdc-badge-warning-foreground-color"
|
1804
|
-
},
|
1805
|
-
{
|
1806
|
-
"description": "The background color of the warning badge.",
|
1807
|
-
"name": "--mdc-badge-warning-background-color"
|
1808
|
-
},
|
1809
|
-
{
|
1810
|
-
"description": "The foreground color of the error badge.",
|
1811
|
-
"name": "--mdc-badge-error-foreground-color"
|
1812
|
-
},
|
1813
|
-
{
|
1814
|
-
"description": "The background color of the error badge.",
|
1815
|
-
"name": "--mdc-badge-error-background-color"
|
1816
|
-
},
|
1817
|
-
{
|
1818
|
-
"description": "The background color of the badge overlay.",
|
1819
|
-
"name": "--mdc-badge-overlay-background-color"
|
1820
|
-
}
|
1821
|
-
],
|
1822
|
-
"members": [
|
1823
|
-
{
|
1824
|
-
"kind": "field",
|
1825
|
-
"name": "type",
|
1826
|
-
"type": {
|
1827
|
-
"text": "BadgeType | undefined"
|
1828
|
-
},
|
1829
|
-
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
1830
|
-
"attribute": "type",
|
1831
|
-
"reflects": true
|
1832
|
-
},
|
1833
|
-
{
|
1834
|
-
"kind": "field",
|
1835
|
-
"name": "variant",
|
1836
|
-
"type": {
|
1837
|
-
"text": "IconVariant"
|
1838
|
-
},
|
1839
|
-
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
1840
|
-
"default": "primary",
|
1841
|
-
"attribute": "variant",
|
1842
|
-
"reflects": true
|
1843
|
-
},
|
1844
|
-
{
|
1845
|
-
"kind": "field",
|
1846
|
-
"name": "counter",
|
1847
|
-
"type": {
|
1848
|
-
"text": "number | undefined"
|
1849
|
-
},
|
1850
|
-
"description": "Counter is the number which can be provided in the badge.",
|
1851
|
-
"attribute": "counter"
|
1852
|
-
},
|
1853
|
-
{
|
1854
|
-
"kind": "field",
|
1855
|
-
"name": "maxCounter",
|
1856
|
-
"type": {
|
1857
|
-
"text": "number"
|
1858
|
-
},
|
1859
|
-
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
1860
|
-
"default": "99",
|
1861
|
-
"attribute": "max-counter",
|
1862
|
-
"reflects": true
|
1863
|
-
},
|
1864
|
-
{
|
1865
|
-
"kind": "field",
|
1866
|
-
"name": "overlay",
|
1867
|
-
"type": {
|
1868
|
-
"text": "boolean"
|
1869
|
-
},
|
1870
|
-
"default": "false",
|
1871
|
-
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
1872
|
-
"attribute": "overlay"
|
1873
|
-
},
|
1874
|
-
{
|
1875
|
-
"kind": "field",
|
1876
|
-
"name": "ariaLabel",
|
1877
|
-
"type": {
|
1878
|
-
"text": "string | null"
|
1879
|
-
},
|
1880
|
-
"default": "null",
|
1881
|
-
"description": "Aria-label attribute to be set for accessibility",
|
1882
|
-
"attribute": "aria-label"
|
1883
|
-
},
|
1884
|
-
{
|
1885
|
-
"kind": "method",
|
1886
|
-
"name": "getCounterText",
|
1887
|
-
"privacy": "private",
|
1888
|
-
"return": {
|
1889
|
-
"type": {
|
1890
|
-
"text": ""
|
1891
|
-
}
|
1892
|
-
},
|
1893
|
-
"parameters": [
|
1894
|
-
{
|
1895
|
-
"name": "maxCounter",
|
1896
|
-
"type": {
|
1897
|
-
"text": "number"
|
1898
|
-
},
|
1899
|
-
"description": "the maximum limit which can be displayed on the badge"
|
1900
|
-
},
|
1901
|
-
{
|
1902
|
-
"name": "counter",
|
1903
|
-
"optional": true,
|
1904
|
-
"type": {
|
1905
|
-
"text": "number"
|
1906
|
-
},
|
1907
|
-
"description": "the number to be displayed on the badge"
|
1908
|
-
}
|
1909
|
-
],
|
1910
|
-
"description": "If `type` is set to `counter` and if `counter` is greater than `maxCounter`,\nthen it will return a string the maxCounter value as string.\nOtherwise, it will return a string representation of `counter`.\nIf `counter` is not a number, it will return an empty string."
|
1911
|
-
},
|
1912
|
-
{
|
1913
|
-
"kind": "method",
|
1914
|
-
"name": "getBadgeIcon",
|
1915
|
-
"privacy": "private",
|
1916
|
-
"return": {
|
1917
|
-
"type": {
|
1918
|
-
"text": ""
|
1919
|
-
}
|
1920
|
-
},
|
1921
|
-
"parameters": [
|
1922
|
-
{
|
1923
|
-
"name": "iconName",
|
1924
|
-
"type": {
|
1925
|
-
"text": "string"
|
1926
|
-
},
|
1927
|
-
"description": "the name of the icon from the icon set"
|
1928
|
-
},
|
1929
|
-
{
|
1930
|
-
"name": "backgroundClassPostfix",
|
1931
|
-
"type": {
|
1932
|
-
"text": "string"
|
1933
|
-
},
|
1934
|
-
"description": "postfix for the class to style the badge icon."
|
1935
|
-
}
|
1936
|
-
],
|
1937
|
-
"description": "Method to generate the badge icon."
|
1938
|
-
},
|
1939
|
-
{
|
1940
|
-
"kind": "method",
|
1941
|
-
"name": "getBadgeDot",
|
1942
|
-
"privacy": "private",
|
1943
|
-
"return": {
|
1944
|
-
"type": {
|
1945
|
-
"text": ""
|
1946
|
-
}
|
1947
|
-
},
|
1948
|
-
"description": "Method to generate the badge dot template."
|
1949
|
-
},
|
1950
|
-
{
|
1951
|
-
"kind": "method",
|
1952
|
-
"name": "getBadgeCounterText",
|
1953
|
-
"privacy": "private",
|
1954
|
-
"return": {
|
1955
|
-
"type": {
|
1956
|
-
"text": ""
|
1957
|
-
}
|
1958
|
-
},
|
1959
|
-
"description": "Method to generate the badge text and counter template."
|
1960
|
-
},
|
1961
|
-
{
|
1962
|
-
"kind": "method",
|
1963
|
-
"name": "setRoleByAriaLabel",
|
1964
|
-
"privacy": "private",
|
1965
|
-
"return": {
|
1966
|
-
"type": {
|
1967
|
-
"text": "void"
|
1968
|
-
}
|
1969
|
-
},
|
1970
|
-
"description": "Method to set the role based on the aria-label provided.\nIf the aria-label is provided, the role of the element will be 'img'.\nOtherwise, the role will be null."
|
1971
|
-
},
|
1972
|
-
{
|
1973
|
-
"kind": "method",
|
1974
|
-
"name": "getBadgeContentBasedOnType",
|
1975
|
-
"privacy": "private",
|
1976
|
-
"return": {
|
1977
|
-
"type": {
|
1978
|
-
"text": ""
|
1979
|
-
}
|
1980
|
-
},
|
1981
|
-
"description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
|
1982
|
-
},
|
1983
|
-
{
|
1984
|
-
"kind": "field",
|
1985
|
-
"name": "iconName",
|
1986
|
-
"type": {
|
1987
|
-
"text": "IconNames | undefined"
|
1988
|
-
},
|
1989
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
1990
|
-
"attribute": "icon-name",
|
1991
|
-
"inheritedFrom": {
|
1992
|
-
"name": "IconNameMixin",
|
1993
|
-
"module": "utils/mixins/IconNameMixin.js"
|
1994
|
-
}
|
1995
|
-
}
|
1996
|
-
],
|
1997
|
-
"attributes": [
|
1998
|
-
{
|
1999
|
-
"name": "type",
|
2000
|
-
"type": {
|
2001
|
-
"text": "BadgeType | undefined"
|
2002
|
-
},
|
2003
|
-
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
2004
|
-
"fieldName": "type"
|
2005
|
-
},
|
2006
|
-
{
|
2007
|
-
"name": "variant",
|
2008
|
-
"type": {
|
2009
|
-
"text": "IconVariant"
|
2010
|
-
},
|
2011
|
-
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
2012
|
-
"default": "primary",
|
2013
|
-
"fieldName": "variant"
|
2014
|
-
},
|
2015
|
-
{
|
2016
|
-
"name": "counter",
|
2017
|
-
"type": {
|
2018
|
-
"text": "number | undefined"
|
2019
|
-
},
|
2020
|
-
"description": "Counter is the number which can be provided in the badge.",
|
2021
|
-
"fieldName": "counter"
|
2022
|
-
},
|
2023
|
-
{
|
2024
|
-
"name": "max-counter",
|
2025
|
-
"type": {
|
2026
|
-
"text": "number"
|
2027
|
-
},
|
2028
|
-
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
2029
|
-
"default": "99",
|
2030
|
-
"fieldName": "maxCounter"
|
2031
|
-
},
|
2032
|
-
{
|
2033
|
-
"name": "overlay",
|
2034
|
-
"type": {
|
2035
|
-
"text": "boolean"
|
2036
|
-
},
|
2037
|
-
"default": "false",
|
2038
|
-
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
2039
|
-
"fieldName": "overlay"
|
2040
|
-
},
|
2041
|
-
{
|
2042
|
-
"name": "aria-label",
|
2043
|
-
"type": {
|
2044
|
-
"text": "string | null"
|
2045
|
-
},
|
2046
|
-
"default": "null",
|
2047
|
-
"description": "Aria-label attribute to be set for accessibility",
|
2048
|
-
"fieldName": "ariaLabel"
|
2049
|
-
},
|
2050
|
-
{
|
2051
|
-
"name": "icon-name",
|
2052
|
-
"type": {
|
2053
|
-
"text": "IconNames | undefined"
|
2054
|
-
},
|
2055
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
2056
|
-
"fieldName": "iconName",
|
2057
|
-
"inheritedFrom": {
|
2058
|
-
"name": "IconNameMixin",
|
2059
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
2060
|
-
}
|
2061
|
-
}
|
2062
|
-
],
|
2063
|
-
"mixins": [
|
2064
|
-
{
|
2065
|
-
"name": "IconNameMixin",
|
2066
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
2067
|
-
}
|
2068
|
-
],
|
2069
|
-
"superclass": {
|
2070
|
-
"name": "Component",
|
2071
|
-
"module": "/src/models"
|
2072
|
-
},
|
2073
|
-
"tagName": "mdc-badge",
|
2074
|
-
"jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported 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`,\n * it 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 *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n *\n * @cssproperty --mdc-badge-primary-foreground-color - The foreground color of the primary badge.\n * @cssproperty --mdc-badge-primary-background-color - The background color of the primary badge.\n * @cssproperty --mdc-badge-secondary-foreground-color - The foreground color of the secondary badge.\n * @cssproperty --mdc-badge-secondary-background-color - The background color of the secondary badge.\n * @cssproperty --mdc-badge-success-foreground-color - The foreground color of the success badge.\n * @cssproperty --mdc-badge-success-background-color - The background color of the success badge.\n * @cssproperty --mdc-badge-warning-foreground-color - The foreground color of the warning badge.\n * @cssproperty --mdc-badge-warning-background-color - The background color of the warning badge.\n * @cssproperty --mdc-badge-error-foreground-color - The foreground color of the error badge.\n * @cssproperty --mdc-badge-error-background-color - The background color of the error badge.\n * @cssproperty --mdc-badge-overlay-background-color - The background color of the badge overlay.\n */",
|
2075
|
-
"customElement": true
|
2076
|
-
}
|
2077
|
-
],
|
2078
|
-
"exports": [
|
2079
|
-
{
|
2080
|
-
"kind": "js",
|
2081
|
-
"name": "default",
|
2082
|
-
"declaration": {
|
2083
|
-
"name": "Badge",
|
2084
|
-
"module": "components/badge/badge.component.js"
|
2085
|
-
}
|
2086
|
-
}
|
2087
|
-
]
|
2088
|
-
},
|
2089
2089
|
{
|
2090
2090
|
"kind": "javascript-module",
|
2091
2091
|
"path": "components/brandvisual/brandvisual.component.js",
|
@@ -2190,77 +2190,6 @@
|
|
2190
2190
|
}
|
2191
2191
|
]
|
2192
2192
|
},
|
2193
|
-
{
|
2194
|
-
"kind": "javascript-module",
|
2195
|
-
"path": "components/bullet/bullet.component.js",
|
2196
|
-
"declarations": [
|
2197
|
-
{
|
2198
|
-
"kind": "class",
|
2199
|
-
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
2200
|
-
"name": "Bullet",
|
2201
|
-
"cssProperties": [
|
2202
|
-
{
|
2203
|
-
"description": "background color of the bullet",
|
2204
|
-
"name": "--mdc-bullet-background-color"
|
2205
|
-
},
|
2206
|
-
{
|
2207
|
-
"description": "small size value of the bullet",
|
2208
|
-
"name": "--mdc-bullet-size-small"
|
2209
|
-
},
|
2210
|
-
{
|
2211
|
-
"description": "medium size value of the bullet",
|
2212
|
-
"name": "--mdc-bullet-size-medium"
|
2213
|
-
},
|
2214
|
-
{
|
2215
|
-
"description": "large size value of the bullet",
|
2216
|
-
"name": "--mdc-bullet-size-large"
|
2217
|
-
}
|
2218
|
-
],
|
2219
|
-
"members": [
|
2220
|
-
{
|
2221
|
-
"kind": "field",
|
2222
|
-
"name": "size",
|
2223
|
-
"type": {
|
2224
|
-
"text": "Size"
|
2225
|
-
},
|
2226
|
-
"privacy": "public",
|
2227
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
2228
|
-
"default": "small",
|
2229
|
-
"attribute": "size",
|
2230
|
-
"reflects": true
|
2231
|
-
}
|
2232
|
-
],
|
2233
|
-
"attributes": [
|
2234
|
-
{
|
2235
|
-
"name": "size",
|
2236
|
-
"type": {
|
2237
|
-
"text": "Size"
|
2238
|
-
},
|
2239
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
2240
|
-
"default": "small",
|
2241
|
-
"fieldName": "size"
|
2242
|
-
}
|
2243
|
-
],
|
2244
|
-
"superclass": {
|
2245
|
-
"name": "Component",
|
2246
|
-
"module": "/src/models"
|
2247
|
-
},
|
2248
|
-
"tagName": "mdc-bullet",
|
2249
|
-
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n */",
|
2250
|
-
"customElement": true
|
2251
|
-
}
|
2252
|
-
],
|
2253
|
-
"exports": [
|
2254
|
-
{
|
2255
|
-
"kind": "js",
|
2256
|
-
"name": "default",
|
2257
|
-
"declaration": {
|
2258
|
-
"name": "Bullet",
|
2259
|
-
"module": "components/bullet/bullet.component.js"
|
2260
|
-
}
|
2261
|
-
}
|
2262
|
-
]
|
2263
|
-
},
|
2264
2193
|
{
|
2265
2194
|
"kind": "javascript-module",
|
2266
2195
|
"path": "components/button/button.component.js",
|
@@ -2958,122 +2887,61 @@
|
|
2958
2887
|
},
|
2959
2888
|
{
|
2960
2889
|
"kind": "javascript-module",
|
2961
|
-
"path": "components/
|
2890
|
+
"path": "components/bullet/bullet.component.js",
|
2962
2891
|
"declarations": [
|
2963
2892
|
{
|
2964
2893
|
"kind": "class",
|
2965
|
-
"description": "
|
2966
|
-
"name": "
|
2894
|
+
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
2895
|
+
"name": "Bullet",
|
2967
2896
|
"cssProperties": [
|
2968
2897
|
{
|
2969
|
-
"description": "
|
2970
|
-
"name": "--mdc-
|
2898
|
+
"description": "background color of the bullet",
|
2899
|
+
"name": "--mdc-bullet-background-color"
|
2971
2900
|
},
|
2972
2901
|
{
|
2973
|
-
"description": "
|
2974
|
-
"name": "--mdc-
|
2902
|
+
"description": "small size value of the bullet",
|
2903
|
+
"name": "--mdc-bullet-size-small"
|
2975
2904
|
},
|
2976
2905
|
{
|
2977
|
-
"description": "
|
2978
|
-
"name": "--mdc-
|
2979
|
-
}
|
2980
|
-
],
|
2981
|
-
"slots": [
|
2906
|
+
"description": "medium size value of the bullet",
|
2907
|
+
"name": "--mdc-bullet-size-medium"
|
2908
|
+
},
|
2982
2909
|
{
|
2983
|
-
"description": "
|
2984
|
-
"name": "
|
2910
|
+
"description": "large size value of the bullet",
|
2911
|
+
"name": "--mdc-bullet-size-large"
|
2985
2912
|
}
|
2986
2913
|
],
|
2987
2914
|
"members": [
|
2988
|
-
{
|
2989
|
-
"kind": "field",
|
2990
|
-
"name": "orientation",
|
2991
|
-
"type": {
|
2992
|
-
"text": "ButtonGroupOrientation"
|
2993
|
-
},
|
2994
|
-
"description": "Orientation of the buttongroup.",
|
2995
|
-
"default": "'horizontal'",
|
2996
|
-
"attribute": "orientation",
|
2997
|
-
"reflects": true
|
2998
|
-
},
|
2999
|
-
{
|
3000
|
-
"kind": "field",
|
3001
|
-
"name": "variant",
|
3002
|
-
"type": {
|
3003
|
-
"text": "ButtonGroupVariant"
|
3004
|
-
},
|
3005
|
-
"description": "Variant of the buttons within the buttongroup.",
|
3006
|
-
"default": "'primary'",
|
3007
|
-
"attribute": "variant",
|
3008
|
-
"reflects": true
|
3009
|
-
},
|
3010
2915
|
{
|
3011
2916
|
"kind": "field",
|
3012
2917
|
"name": "size",
|
3013
2918
|
"type": {
|
3014
|
-
"text": "
|
2919
|
+
"text": "Size"
|
3015
2920
|
},
|
3016
|
-
"
|
3017
|
-
"
|
2921
|
+
"privacy": "public",
|
2922
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
2923
|
+
"default": "small",
|
3018
2924
|
"attribute": "size",
|
3019
2925
|
"reflects": true
|
3020
|
-
},
|
3021
|
-
{
|
3022
|
-
"kind": "field",
|
3023
|
-
"name": "compact",
|
3024
|
-
"type": {
|
3025
|
-
"text": "boolean"
|
3026
|
-
},
|
3027
|
-
"default": "false",
|
3028
|
-
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
3029
|
-
"attribute": "compact",
|
3030
|
-
"reflects": true
|
3031
2926
|
}
|
3032
2927
|
],
|
3033
2928
|
"attributes": [
|
3034
|
-
{
|
3035
|
-
"name": "orientation",
|
3036
|
-
"type": {
|
3037
|
-
"text": "ButtonGroupOrientation"
|
3038
|
-
},
|
3039
|
-
"description": "Orientation of the buttongroup.",
|
3040
|
-
"default": "'horizontal'",
|
3041
|
-
"fieldName": "orientation"
|
3042
|
-
},
|
3043
|
-
{
|
3044
|
-
"name": "variant",
|
3045
|
-
"type": {
|
3046
|
-
"text": "ButtonGroupVariant"
|
3047
|
-
},
|
3048
|
-
"description": "Variant of the buttons within the buttongroup.",
|
3049
|
-
"default": "'primary'",
|
3050
|
-
"fieldName": "variant"
|
3051
|
-
},
|
3052
2929
|
{
|
3053
2930
|
"name": "size",
|
3054
2931
|
"type": {
|
3055
|
-
"text": "
|
2932
|
+
"text": "Size"
|
3056
2933
|
},
|
3057
|
-
"description": "Size of the
|
3058
|
-
"default": "
|
2934
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
2935
|
+
"default": "small",
|
3059
2936
|
"fieldName": "size"
|
3060
|
-
},
|
3061
|
-
{
|
3062
|
-
"name": "compact",
|
3063
|
-
"type": {
|
3064
|
-
"text": "boolean"
|
3065
|
-
},
|
3066
|
-
"default": "false",
|
3067
|
-
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
3068
|
-
"fieldName": "compact"
|
3069
2937
|
}
|
3070
2938
|
],
|
3071
2939
|
"superclass": {
|
3072
2940
|
"name": "Component",
|
3073
2941
|
"module": "/src/models"
|
3074
2942
|
},
|
3075
|
-
"tagName": "mdc-
|
3076
|
-
"jsDoc": "/**\n *
|
2943
|
+
"tagName": "mdc-bullet",
|
2944
|
+
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n */",
|
3077
2945
|
"customElement": true
|
3078
2946
|
}
|
3079
2947
|
],
|
@@ -3082,8 +2950,8 @@
|
|
3082
2950
|
"kind": "js",
|
3083
2951
|
"name": "default",
|
3084
2952
|
"declaration": {
|
3085
|
-
"name": "
|
3086
|
-
"module": "components/
|
2953
|
+
"name": "Bullet",
|
2954
|
+
"module": "components/bullet/bullet.component.js"
|
3087
2955
|
}
|
3088
2956
|
}
|
3089
2957
|
]
|
@@ -3702,6 +3570,138 @@
|
|
3702
3570
|
}
|
3703
3571
|
]
|
3704
3572
|
},
|
3573
|
+
{
|
3574
|
+
"kind": "javascript-module",
|
3575
|
+
"path": "components/buttongroup/buttongroup.component.js",
|
3576
|
+
"declarations": [
|
3577
|
+
{
|
3578
|
+
"kind": "class",
|
3579
|
+
"description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
|
3580
|
+
"name": "ButtonGroup",
|
3581
|
+
"cssProperties": [
|
3582
|
+
{
|
3583
|
+
"description": "The border radius of the buttongroup",
|
3584
|
+
"name": "--mdc-buttongroup-border-radius"
|
3585
|
+
},
|
3586
|
+
{
|
3587
|
+
"description": "The border color of the buttongroup",
|
3588
|
+
"name": "--mdc-buttongroup-border-color"
|
3589
|
+
},
|
3590
|
+
{
|
3591
|
+
"description": "The color of the divider between buttons within the buttongroup",
|
3592
|
+
"name": "--mdc-buttongroup-divider-color"
|
3593
|
+
}
|
3594
|
+
],
|
3595
|
+
"slots": [
|
3596
|
+
{
|
3597
|
+
"description": "This is a default/unnamed slot, which contains the buttons",
|
3598
|
+
"name": "default"
|
3599
|
+
}
|
3600
|
+
],
|
3601
|
+
"members": [
|
3602
|
+
{
|
3603
|
+
"kind": "field",
|
3604
|
+
"name": "orientation",
|
3605
|
+
"type": {
|
3606
|
+
"text": "ButtonGroupOrientation"
|
3607
|
+
},
|
3608
|
+
"description": "Orientation of the buttongroup.",
|
3609
|
+
"default": "'horizontal'",
|
3610
|
+
"attribute": "orientation",
|
3611
|
+
"reflects": true
|
3612
|
+
},
|
3613
|
+
{
|
3614
|
+
"kind": "field",
|
3615
|
+
"name": "variant",
|
3616
|
+
"type": {
|
3617
|
+
"text": "ButtonGroupVariant"
|
3618
|
+
},
|
3619
|
+
"description": "Variant of the buttons within the buttongroup.",
|
3620
|
+
"default": "'primary'",
|
3621
|
+
"attribute": "variant",
|
3622
|
+
"reflects": true
|
3623
|
+
},
|
3624
|
+
{
|
3625
|
+
"kind": "field",
|
3626
|
+
"name": "size",
|
3627
|
+
"type": {
|
3628
|
+
"text": "ButtonGroupSize"
|
3629
|
+
},
|
3630
|
+
"description": "Size of the buttons within the buttongroup.",
|
3631
|
+
"default": "'28'",
|
3632
|
+
"attribute": "size",
|
3633
|
+
"reflects": true
|
3634
|
+
},
|
3635
|
+
{
|
3636
|
+
"kind": "field",
|
3637
|
+
"name": "compact",
|
3638
|
+
"type": {
|
3639
|
+
"text": "boolean"
|
3640
|
+
},
|
3641
|
+
"default": "false",
|
3642
|
+
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
3643
|
+
"attribute": "compact",
|
3644
|
+
"reflects": true
|
3645
|
+
}
|
3646
|
+
],
|
3647
|
+
"attributes": [
|
3648
|
+
{
|
3649
|
+
"name": "orientation",
|
3650
|
+
"type": {
|
3651
|
+
"text": "ButtonGroupOrientation"
|
3652
|
+
},
|
3653
|
+
"description": "Orientation of the buttongroup.",
|
3654
|
+
"default": "'horizontal'",
|
3655
|
+
"fieldName": "orientation"
|
3656
|
+
},
|
3657
|
+
{
|
3658
|
+
"name": "variant",
|
3659
|
+
"type": {
|
3660
|
+
"text": "ButtonGroupVariant"
|
3661
|
+
},
|
3662
|
+
"description": "Variant of the buttons within the buttongroup.",
|
3663
|
+
"default": "'primary'",
|
3664
|
+
"fieldName": "variant"
|
3665
|
+
},
|
3666
|
+
{
|
3667
|
+
"name": "size",
|
3668
|
+
"type": {
|
3669
|
+
"text": "ButtonGroupSize"
|
3670
|
+
},
|
3671
|
+
"description": "Size of the buttons within the buttongroup.",
|
3672
|
+
"default": "'28'",
|
3673
|
+
"fieldName": "size"
|
3674
|
+
},
|
3675
|
+
{
|
3676
|
+
"name": "compact",
|
3677
|
+
"type": {
|
3678
|
+
"text": "boolean"
|
3679
|
+
},
|
3680
|
+
"default": "false",
|
3681
|
+
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
3682
|
+
"fieldName": "compact"
|
3683
|
+
}
|
3684
|
+
],
|
3685
|
+
"superclass": {
|
3686
|
+
"name": "Component",
|
3687
|
+
"module": "/src/models"
|
3688
|
+
},
|
3689
|
+
"tagName": "mdc-buttongroup",
|
3690
|
+
"jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
|
3691
|
+
"customElement": true
|
3692
|
+
}
|
3693
|
+
],
|
3694
|
+
"exports": [
|
3695
|
+
{
|
3696
|
+
"kind": "js",
|
3697
|
+
"name": "default",
|
3698
|
+
"declaration": {
|
3699
|
+
"name": "ButtonGroup",
|
3700
|
+
"module": "components/buttongroup/buttongroup.component.js"
|
3701
|
+
}
|
3702
|
+
}
|
3703
|
+
]
|
3704
|
+
},
|
3705
3705
|
{
|
3706
3706
|
"kind": "javascript-module",
|
3707
3707
|
"path": "components/buttonsimple/buttonsimple.component.js",
|
@@ -8906,7 +8906,7 @@
|
|
8906
8906
|
{
|
8907
8907
|
"kind": "method",
|
8908
8908
|
"name": "isOpenUpdated",
|
8909
|
-
"privacy": "
|
8909
|
+
"privacy": "protected",
|
8910
8910
|
"parameters": [
|
8911
8911
|
{
|
8912
8912
|
"name": "oldValue",
|
@@ -9019,6 +9019,30 @@
|
|
9019
9019
|
"module": "components/popover/popover.component.js"
|
9020
9020
|
}
|
9021
9021
|
},
|
9022
|
+
{
|
9023
|
+
"kind": "method",
|
9024
|
+
"name": "findClosestPopover",
|
9025
|
+
"privacy": "protected",
|
9026
|
+
"return": {
|
9027
|
+
"type": {
|
9028
|
+
"text": "Popover | null"
|
9029
|
+
}
|
9030
|
+
},
|
9031
|
+
"parameters": [
|
9032
|
+
{
|
9033
|
+
"name": "element",
|
9034
|
+
"type": {
|
9035
|
+
"text": "Element"
|
9036
|
+
},
|
9037
|
+
"description": "The element to start searching from."
|
9038
|
+
}
|
9039
|
+
],
|
9040
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
9041
|
+
"inheritedFrom": {
|
9042
|
+
"name": "Popover",
|
9043
|
+
"module": "components/popover/popover.component.js"
|
9044
|
+
}
|
9045
|
+
},
|
9022
9046
|
{
|
9023
9047
|
"kind": "field",
|
9024
9048
|
"name": "utils",
|
@@ -18153,6 +18177,35 @@
|
|
18153
18177
|
"module": "components/popover/popover.component.js"
|
18154
18178
|
}
|
18155
18179
|
},
|
18180
|
+
{
|
18181
|
+
"kind": "method",
|
18182
|
+
"name": "isOpenUpdated",
|
18183
|
+
"privacy": "protected",
|
18184
|
+
"parameters": [
|
18185
|
+
{
|
18186
|
+
"name": "oldValue",
|
18187
|
+
"type": {
|
18188
|
+
"text": "boolean"
|
18189
|
+
}
|
18190
|
+
},
|
18191
|
+
{
|
18192
|
+
"name": "newValue",
|
18193
|
+
"type": {
|
18194
|
+
"text": "boolean"
|
18195
|
+
}
|
18196
|
+
}
|
18197
|
+
],
|
18198
|
+
"description": "Handles the popover visibility change and position the popover.\nHandles the exit event to close the popover.",
|
18199
|
+
"return": {
|
18200
|
+
"type": {
|
18201
|
+
"text": "Promise<void>"
|
18202
|
+
}
|
18203
|
+
},
|
18204
|
+
"inheritedFrom": {
|
18205
|
+
"name": "Popover",
|
18206
|
+
"module": "components/popover/popover.component.js"
|
18207
|
+
}
|
18208
|
+
},
|
18156
18209
|
{
|
18157
18210
|
"kind": "method",
|
18158
18211
|
"name": "getCurrentIndex",
|
@@ -19348,32 +19401,6 @@
|
|
19348
19401
|
"module": "components/popover/popover.component.js"
|
19349
19402
|
}
|
19350
19403
|
},
|
19351
|
-
{
|
19352
|
-
"kind": "method",
|
19353
|
-
"name": "isOpenUpdated",
|
19354
|
-
"privacy": "private",
|
19355
|
-
"parameters": [
|
19356
|
-
{
|
19357
|
-
"name": "oldValue",
|
19358
|
-
"type": {
|
19359
|
-
"text": "boolean"
|
19360
|
-
},
|
19361
|
-
"description": "The old value of the visible property."
|
19362
|
-
},
|
19363
|
-
{
|
19364
|
-
"name": "newValue",
|
19365
|
-
"type": {
|
19366
|
-
"text": "boolean"
|
19367
|
-
},
|
19368
|
-
"description": "The new value of the visible property."
|
19369
|
-
}
|
19370
|
-
],
|
19371
|
-
"description": "Handles the popover visibility change and position the popover.\nHandles the exit event to close the popover.",
|
19372
|
-
"inheritedFrom": {
|
19373
|
-
"name": "Popover",
|
19374
|
-
"module": "components/popover/popover.component.js"
|
19375
|
-
}
|
19376
|
-
},
|
19377
19404
|
{
|
19378
19405
|
"kind": "field",
|
19379
19406
|
"name": "handleMouseEnter",
|
@@ -19454,6 +19481,30 @@
|
|
19454
19481
|
"module": "components/popover/popover.component.js"
|
19455
19482
|
}
|
19456
19483
|
},
|
19484
|
+
{
|
19485
|
+
"kind": "method",
|
19486
|
+
"name": "findClosestPopover",
|
19487
|
+
"privacy": "protected",
|
19488
|
+
"return": {
|
19489
|
+
"type": {
|
19490
|
+
"text": "Popover | null"
|
19491
|
+
}
|
19492
|
+
},
|
19493
|
+
"parameters": [
|
19494
|
+
{
|
19495
|
+
"name": "element",
|
19496
|
+
"type": {
|
19497
|
+
"text": "Element"
|
19498
|
+
},
|
19499
|
+
"description": "The element to start searching from."
|
19500
|
+
}
|
19501
|
+
],
|
19502
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
19503
|
+
"inheritedFrom": {
|
19504
|
+
"name": "Popover",
|
19505
|
+
"module": "components/popover/popover.component.js"
|
19506
|
+
}
|
19507
|
+
},
|
19457
19508
|
{
|
19458
19509
|
"kind": "field",
|
19459
19510
|
"name": "utils",
|
@@ -24371,7 +24422,7 @@
|
|
24371
24422
|
{
|
24372
24423
|
"kind": "method",
|
24373
24424
|
"name": "isOpenUpdated",
|
24374
|
-
"privacy": "
|
24425
|
+
"privacy": "protected",
|
24375
24426
|
"parameters": [
|
24376
24427
|
{
|
24377
24428
|
"name": "oldValue",
|
@@ -24444,6 +24495,26 @@
|
|
24444
24495
|
"privacy": "private",
|
24445
24496
|
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position."
|
24446
24497
|
},
|
24498
|
+
{
|
24499
|
+
"kind": "method",
|
24500
|
+
"name": "findClosestPopover",
|
24501
|
+
"privacy": "protected",
|
24502
|
+
"return": {
|
24503
|
+
"type": {
|
24504
|
+
"text": "Popover | null"
|
24505
|
+
}
|
24506
|
+
},
|
24507
|
+
"parameters": [
|
24508
|
+
{
|
24509
|
+
"name": "element",
|
24510
|
+
"type": {
|
24511
|
+
"text": "Element"
|
24512
|
+
},
|
24513
|
+
"description": "The element to start searching from."
|
24514
|
+
}
|
24515
|
+
],
|
24516
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario."
|
24517
|
+
},
|
24447
24518
|
{
|
24448
24519
|
"kind": "field",
|
24449
24520
|
"name": "utils",
|
@@ -34913,7 +34984,7 @@
|
|
34913
34984
|
{
|
34914
34985
|
"kind": "method",
|
34915
34986
|
"name": "isOpenUpdated",
|
34916
|
-
"privacy": "
|
34987
|
+
"privacy": "protected",
|
34917
34988
|
"parameters": [
|
34918
34989
|
{
|
34919
34990
|
"name": "oldValue",
|
@@ -35026,6 +35097,30 @@
|
|
35026
35097
|
"module": "components/popover/popover.component.js"
|
35027
35098
|
}
|
35028
35099
|
},
|
35100
|
+
{
|
35101
|
+
"kind": "method",
|
35102
|
+
"name": "findClosestPopover",
|
35103
|
+
"privacy": "protected",
|
35104
|
+
"return": {
|
35105
|
+
"type": {
|
35106
|
+
"text": "Popover | null"
|
35107
|
+
}
|
35108
|
+
},
|
35109
|
+
"parameters": [
|
35110
|
+
{
|
35111
|
+
"name": "element",
|
35112
|
+
"type": {
|
35113
|
+
"text": "Element"
|
35114
|
+
},
|
35115
|
+
"description": "The element to start searching from."
|
35116
|
+
}
|
35117
|
+
],
|
35118
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
35119
|
+
"inheritedFrom": {
|
35120
|
+
"name": "Popover",
|
35121
|
+
"module": "components/popover/popover.component.js"
|
35122
|
+
}
|
35123
|
+
},
|
35029
35124
|
{
|
35030
35125
|
"kind": "field",
|
35031
35126
|
"name": "utils",
|
@@ -36740,7 +36835,7 @@
|
|
36740
36835
|
{
|
36741
36836
|
"kind": "method",
|
36742
36837
|
"name": "isOpenUpdated",
|
36743
|
-
"privacy": "
|
36838
|
+
"privacy": "protected",
|
36744
36839
|
"parameters": [
|
36745
36840
|
{
|
36746
36841
|
"name": "oldValue",
|
@@ -36853,6 +36948,30 @@
|
|
36853
36948
|
"module": "components/popover/popover.component.js"
|
36854
36949
|
}
|
36855
36950
|
},
|
36951
|
+
{
|
36952
|
+
"kind": "method",
|
36953
|
+
"name": "findClosestPopover",
|
36954
|
+
"privacy": "protected",
|
36955
|
+
"return": {
|
36956
|
+
"type": {
|
36957
|
+
"text": "Popover | null"
|
36958
|
+
}
|
36959
|
+
},
|
36960
|
+
"parameters": [
|
36961
|
+
{
|
36962
|
+
"name": "element",
|
36963
|
+
"type": {
|
36964
|
+
"text": "Element"
|
36965
|
+
},
|
36966
|
+
"description": "The element to start searching from."
|
36967
|
+
}
|
36968
|
+
],
|
36969
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
36970
|
+
"inheritedFrom": {
|
36971
|
+
"name": "Popover",
|
36972
|
+
"module": "components/popover/popover.component.js"
|
36973
|
+
}
|
36974
|
+
},
|
36856
36975
|
{
|
36857
36976
|
"kind": "field",
|
36858
36977
|
"name": "utils",
|