@momentum-design/components 0.129.0 → 0.129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3294,6 +3294,268 @@
3294
3294
  }
3295
3295
  ]
3296
3296
  },
3297
+ {
3298
+ "kind": "javascript-module",
3299
+ "path": "components/avatar/avatar.component.js",
3300
+ "declarations": [
3301
+ {
3302
+ "kind": "class",
3303
+ "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.",
3304
+ "name": "Avatar",
3305
+ "cssProperties": [
3306
+ {
3307
+ "description": "Allows customization of the default background color.",
3308
+ "name": "--mdc-avatar-default-background-color"
3309
+ },
3310
+ {
3311
+ "description": "Allows customization of the default foreground color.",
3312
+ "name": "--mdc-avatar-default-foreground-color"
3313
+ },
3314
+ {
3315
+ "description": "Allows customization of the loading indicator background color.",
3316
+ "name": "--mdc-avatar-loading-indicator-background-color"
3317
+ },
3318
+ {
3319
+ "description": "Allows customization of the loading indicator foreground color.",
3320
+ "name": "--mdc-avatar-loading-indicator-foreground-color"
3321
+ },
3322
+ {
3323
+ "description": "Allows customization of the loading overlay background color.",
3324
+ "name": "--mdc-avatar-loading-overlay-background-color"
3325
+ }
3326
+ ],
3327
+ "cssParts": [
3328
+ {
3329
+ "description": "The photo of the avatar.",
3330
+ "name": "photo"
3331
+ },
3332
+ {
3333
+ "description": "The presence indicator of the avatar.",
3334
+ "name": "presence"
3335
+ },
3336
+ {
3337
+ "description": "The wrapper for the loading indicator.",
3338
+ "name": "loading-wrapper"
3339
+ },
3340
+ {
3341
+ "description": "The loading indicator of the avatar.",
3342
+ "name": "loader"
3343
+ }
3344
+ ],
3345
+ "members": [
3346
+ {
3347
+ "kind": "field",
3348
+ "name": "src",
3349
+ "type": {
3350
+ "text": "string | undefined"
3351
+ },
3352
+ "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.",
3353
+ "attribute": "src",
3354
+ "inheritedFrom": {
3355
+ "name": "AvatarComponentMixin",
3356
+ "module": "utils/mixins/AvatarComponentMixin.js"
3357
+ }
3358
+ },
3359
+ {
3360
+ "kind": "field",
3361
+ "name": "initials",
3362
+ "type": {
3363
+ "text": "string | undefined"
3364
+ },
3365
+ "description": "The initials to be displayed for the avatar.",
3366
+ "attribute": "initials",
3367
+ "inheritedFrom": {
3368
+ "name": "AvatarComponentMixin",
3369
+ "module": "utils/mixins/AvatarComponentMixin.js"
3370
+ }
3371
+ },
3372
+ {
3373
+ "kind": "field",
3374
+ "name": "presence",
3375
+ "type": {
3376
+ "text": "PresenceType | undefined"
3377
+ },
3378
+ "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`",
3379
+ "attribute": "presence",
3380
+ "inheritedFrom": {
3381
+ "name": "AvatarComponentMixin",
3382
+ "module": "utils/mixins/AvatarComponentMixin.js"
3383
+ }
3384
+ },
3385
+ {
3386
+ "kind": "field",
3387
+ "name": "size",
3388
+ "type": {
3389
+ "text": "AvatarSize"
3390
+ },
3391
+ "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
3392
+ "default": "32",
3393
+ "attribute": "size",
3394
+ "reflects": true,
3395
+ "inheritedFrom": {
3396
+ "name": "AvatarComponentMixin",
3397
+ "module": "utils/mixins/AvatarComponentMixin.js"
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "field",
3402
+ "name": "counter",
3403
+ "type": {
3404
+ "text": "number | undefined"
3405
+ },
3406
+ "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`.",
3407
+ "attribute": "counter",
3408
+ "inheritedFrom": {
3409
+ "name": "AvatarComponentMixin",
3410
+ "module": "utils/mixins/AvatarComponentMixin.js"
3411
+ }
3412
+ },
3413
+ {
3414
+ "kind": "field",
3415
+ "name": "isTyping",
3416
+ "type": {
3417
+ "text": "boolean"
3418
+ },
3419
+ "default": "false",
3420
+ "description": "Represents the typing indicator when the user is typing.",
3421
+ "attribute": "is-typing",
3422
+ "inheritedFrom": {
3423
+ "name": "AvatarComponentMixin",
3424
+ "module": "utils/mixins/AvatarComponentMixin.js"
3425
+ }
3426
+ },
3427
+ {
3428
+ "kind": "field",
3429
+ "name": "iconName",
3430
+ "type": {
3431
+ "text": "IconNames | undefined"
3432
+ },
3433
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
3434
+ "attribute": "icon-name",
3435
+ "inheritedFrom": {
3436
+ "name": "IconNameMixin",
3437
+ "module": "utils/mixins/IconNameMixin.js"
3438
+ }
3439
+ }
3440
+ ],
3441
+ "mixins": [
3442
+ {
3443
+ "name": "AvatarComponentMixin",
3444
+ "module": "/src/utils/mixins/AvatarComponentMixin"
3445
+ },
3446
+ {
3447
+ "name": "IconNameMixin",
3448
+ "module": "/src/utils/mixins/IconNameMixin"
3449
+ }
3450
+ ],
3451
+ "superclass": {
3452
+ "name": "Component",
3453
+ "module": "/src/models"
3454
+ },
3455
+ "tagName": "mdc-avatar",
3456
+ "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 *\n * @csspart photo - The photo of the avatar.\n * @csspart presence - The presence indicator of the avatar.\n * @csspart loading-wrapper - The wrapper for the loading indicator.\n * @csspart loader - The loading indicator of the avatar.\n */",
3457
+ "customElement": true,
3458
+ "attributes": [
3459
+ {
3460
+ "name": "src",
3461
+ "type": {
3462
+ "text": "string | undefined"
3463
+ },
3464
+ "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.",
3465
+ "fieldName": "src",
3466
+ "inheritedFrom": {
3467
+ "name": "AvatarComponentMixin",
3468
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
3469
+ }
3470
+ },
3471
+ {
3472
+ "name": "initials",
3473
+ "type": {
3474
+ "text": "string | undefined"
3475
+ },
3476
+ "description": "The initials to be displayed for the avatar.",
3477
+ "fieldName": "initials",
3478
+ "inheritedFrom": {
3479
+ "name": "AvatarComponentMixin",
3480
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
3481
+ }
3482
+ },
3483
+ {
3484
+ "name": "presence",
3485
+ "type": {
3486
+ "text": "PresenceType | undefined"
3487
+ },
3488
+ "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`",
3489
+ "fieldName": "presence",
3490
+ "inheritedFrom": {
3491
+ "name": "AvatarComponentMixin",
3492
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
3493
+ }
3494
+ },
3495
+ {
3496
+ "name": "size",
3497
+ "type": {
3498
+ "text": "AvatarSize"
3499
+ },
3500
+ "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
3501
+ "default": "32",
3502
+ "fieldName": "size",
3503
+ "inheritedFrom": {
3504
+ "name": "AvatarComponentMixin",
3505
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
3506
+ }
3507
+ },
3508
+ {
3509
+ "name": "counter",
3510
+ "type": {
3511
+ "text": "number | undefined"
3512
+ },
3513
+ "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`.",
3514
+ "fieldName": "counter",
3515
+ "inheritedFrom": {
3516
+ "name": "AvatarComponentMixin",
3517
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
3518
+ }
3519
+ },
3520
+ {
3521
+ "name": "is-typing",
3522
+ "type": {
3523
+ "text": "boolean"
3524
+ },
3525
+ "default": "false",
3526
+ "description": "Represents the typing indicator when the user is typing.",
3527
+ "fieldName": "isTyping",
3528
+ "inheritedFrom": {
3529
+ "name": "AvatarComponentMixin",
3530
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
3531
+ }
3532
+ },
3533
+ {
3534
+ "name": "icon-name",
3535
+ "type": {
3536
+ "text": "IconNames | undefined"
3537
+ },
3538
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
3539
+ "fieldName": "iconName",
3540
+ "inheritedFrom": {
3541
+ "name": "IconNameMixin",
3542
+ "module": "src/utils/mixins/IconNameMixin.ts"
3543
+ }
3544
+ }
3545
+ ]
3546
+ }
3547
+ ],
3548
+ "exports": [
3549
+ {
3550
+ "kind": "js",
3551
+ "name": "default",
3552
+ "declaration": {
3553
+ "name": "Avatar",
3554
+ "module": "components/avatar/avatar.component.js"
3555
+ }
3556
+ }
3557
+ ]
3558
+ },
3297
3559
  {
3298
3560
  "kind": "javascript-module",
3299
3561
  "path": "components/avatarbutton/avatarbutton.component.js",
@@ -4080,268 +4342,6 @@
4080
4342
  }
4081
4343
  ]
4082
4344
  },
4083
- {
4084
- "kind": "javascript-module",
4085
- "path": "components/avatar/avatar.component.js",
4086
- "declarations": [
4087
- {
4088
- "kind": "class",
4089
- "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.",
4090
- "name": "Avatar",
4091
- "cssProperties": [
4092
- {
4093
- "description": "Allows customization of the default background color.",
4094
- "name": "--mdc-avatar-default-background-color"
4095
- },
4096
- {
4097
- "description": "Allows customization of the default foreground color.",
4098
- "name": "--mdc-avatar-default-foreground-color"
4099
- },
4100
- {
4101
- "description": "Allows customization of the loading indicator background color.",
4102
- "name": "--mdc-avatar-loading-indicator-background-color"
4103
- },
4104
- {
4105
- "description": "Allows customization of the loading indicator foreground color.",
4106
- "name": "--mdc-avatar-loading-indicator-foreground-color"
4107
- },
4108
- {
4109
- "description": "Allows customization of the loading overlay background color.",
4110
- "name": "--mdc-avatar-loading-overlay-background-color"
4111
- }
4112
- ],
4113
- "cssParts": [
4114
- {
4115
- "description": "The photo of the avatar.",
4116
- "name": "photo"
4117
- },
4118
- {
4119
- "description": "The presence indicator of the avatar.",
4120
- "name": "presence"
4121
- },
4122
- {
4123
- "description": "The wrapper for the loading indicator.",
4124
- "name": "loading-wrapper"
4125
- },
4126
- {
4127
- "description": "The loading indicator of the avatar.",
4128
- "name": "loader"
4129
- }
4130
- ],
4131
- "members": [
4132
- {
4133
- "kind": "field",
4134
- "name": "src",
4135
- "type": {
4136
- "text": "string | undefined"
4137
- },
4138
- "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.",
4139
- "attribute": "src",
4140
- "inheritedFrom": {
4141
- "name": "AvatarComponentMixin",
4142
- "module": "utils/mixins/AvatarComponentMixin.js"
4143
- }
4144
- },
4145
- {
4146
- "kind": "field",
4147
- "name": "initials",
4148
- "type": {
4149
- "text": "string | undefined"
4150
- },
4151
- "description": "The initials to be displayed for the avatar.",
4152
- "attribute": "initials",
4153
- "inheritedFrom": {
4154
- "name": "AvatarComponentMixin",
4155
- "module": "utils/mixins/AvatarComponentMixin.js"
4156
- }
4157
- },
4158
- {
4159
- "kind": "field",
4160
- "name": "presence",
4161
- "type": {
4162
- "text": "PresenceType | undefined"
4163
- },
4164
- "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`",
4165
- "attribute": "presence",
4166
- "inheritedFrom": {
4167
- "name": "AvatarComponentMixin",
4168
- "module": "utils/mixins/AvatarComponentMixin.js"
4169
- }
4170
- },
4171
- {
4172
- "kind": "field",
4173
- "name": "size",
4174
- "type": {
4175
- "text": "AvatarSize"
4176
- },
4177
- "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
4178
- "default": "32",
4179
- "attribute": "size",
4180
- "reflects": true,
4181
- "inheritedFrom": {
4182
- "name": "AvatarComponentMixin",
4183
- "module": "utils/mixins/AvatarComponentMixin.js"
4184
- }
4185
- },
4186
- {
4187
- "kind": "field",
4188
- "name": "counter",
4189
- "type": {
4190
- "text": "number | undefined"
4191
- },
4192
- "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`.",
4193
- "attribute": "counter",
4194
- "inheritedFrom": {
4195
- "name": "AvatarComponentMixin",
4196
- "module": "utils/mixins/AvatarComponentMixin.js"
4197
- }
4198
- },
4199
- {
4200
- "kind": "field",
4201
- "name": "isTyping",
4202
- "type": {
4203
- "text": "boolean"
4204
- },
4205
- "default": "false",
4206
- "description": "Represents the typing indicator when the user is typing.",
4207
- "attribute": "is-typing",
4208
- "inheritedFrom": {
4209
- "name": "AvatarComponentMixin",
4210
- "module": "utils/mixins/AvatarComponentMixin.js"
4211
- }
4212
- },
4213
- {
4214
- "kind": "field",
4215
- "name": "iconName",
4216
- "type": {
4217
- "text": "IconNames | undefined"
4218
- },
4219
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4220
- "attribute": "icon-name",
4221
- "inheritedFrom": {
4222
- "name": "IconNameMixin",
4223
- "module": "utils/mixins/IconNameMixin.js"
4224
- }
4225
- }
4226
- ],
4227
- "mixins": [
4228
- {
4229
- "name": "AvatarComponentMixin",
4230
- "module": "/src/utils/mixins/AvatarComponentMixin"
4231
- },
4232
- {
4233
- "name": "IconNameMixin",
4234
- "module": "/src/utils/mixins/IconNameMixin"
4235
- }
4236
- ],
4237
- "superclass": {
4238
- "name": "Component",
4239
- "module": "/src/models"
4240
- },
4241
- "tagName": "mdc-avatar",
4242
- "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 *\n * @csspart photo - The photo of the avatar.\n * @csspart presence - The presence indicator of the avatar.\n * @csspart loading-wrapper - The wrapper for the loading indicator.\n * @csspart loader - The loading indicator of the avatar.\n */",
4243
- "customElement": true,
4244
- "attributes": [
4245
- {
4246
- "name": "src",
4247
- "type": {
4248
- "text": "string | undefined"
4249
- },
4250
- "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.",
4251
- "fieldName": "src",
4252
- "inheritedFrom": {
4253
- "name": "AvatarComponentMixin",
4254
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
4255
- }
4256
- },
4257
- {
4258
- "name": "initials",
4259
- "type": {
4260
- "text": "string | undefined"
4261
- },
4262
- "description": "The initials to be displayed for the avatar.",
4263
- "fieldName": "initials",
4264
- "inheritedFrom": {
4265
- "name": "AvatarComponentMixin",
4266
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
4267
- }
4268
- },
4269
- {
4270
- "name": "presence",
4271
- "type": {
4272
- "text": "PresenceType | undefined"
4273
- },
4274
- "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`",
4275
- "fieldName": "presence",
4276
- "inheritedFrom": {
4277
- "name": "AvatarComponentMixin",
4278
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
4279
- }
4280
- },
4281
- {
4282
- "name": "size",
4283
- "type": {
4284
- "text": "AvatarSize"
4285
- },
4286
- "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
4287
- "default": "32",
4288
- "fieldName": "size",
4289
- "inheritedFrom": {
4290
- "name": "AvatarComponentMixin",
4291
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
4292
- }
4293
- },
4294
- {
4295
- "name": "counter",
4296
- "type": {
4297
- "text": "number | undefined"
4298
- },
4299
- "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`.",
4300
- "fieldName": "counter",
4301
- "inheritedFrom": {
4302
- "name": "AvatarComponentMixin",
4303
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
4304
- }
4305
- },
4306
- {
4307
- "name": "is-typing",
4308
- "type": {
4309
- "text": "boolean"
4310
- },
4311
- "default": "false",
4312
- "description": "Represents the typing indicator when the user is typing.",
4313
- "fieldName": "isTyping",
4314
- "inheritedFrom": {
4315
- "name": "AvatarComponentMixin",
4316
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
4317
- }
4318
- },
4319
- {
4320
- "name": "icon-name",
4321
- "type": {
4322
- "text": "IconNames | undefined"
4323
- },
4324
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4325
- "fieldName": "iconName",
4326
- "inheritedFrom": {
4327
- "name": "IconNameMixin",
4328
- "module": "src/utils/mixins/IconNameMixin.ts"
4329
- }
4330
- }
4331
- ]
4332
- }
4333
- ],
4334
- "exports": [
4335
- {
4336
- "kind": "js",
4337
- "name": "default",
4338
- "declaration": {
4339
- "name": "Avatar",
4340
- "module": "components/avatar/avatar.component.js"
4341
- }
4342
- }
4343
- ]
4344
- },
4345
4345
  {
4346
4346
  "kind": "javascript-module",
4347
4347
  "path": "components/badge/badge.component.js",
@@ -22306,6 +22306,10 @@
22306
22306
  "name": "focusNewItem",
22307
22307
  "default": "true",
22308
22308
  "description": "Call focus() on the new item or not. It should be false during firstUpdate"
22309
+ },
22310
+ {
22311
+ "name": "scrollToNewItem",
22312
+ "default": "true"
22309
22313
  }
22310
22314
  ],
22311
22315
  "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
@@ -22603,6 +22607,10 @@
22603
22607
  "name": "focusNewItem",
22604
22608
  "default": "true",
22605
22609
  "description": "Call focus() on the new item or not. It should be false during firstUpdate"
22610
+ },
22611
+ {
22612
+ "name": "scrollToNewItem",
22613
+ "default": "true"
22606
22614
  }
22607
22615
  ],
22608
22616
  "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
@@ -42302,6 +42310,10 @@
42302
42310
  "name": "focusNewItem",
42303
42311
  "default": "true",
42304
42312
  "description": "Call focus() on the new item or not. It should be false during firstUpdate"
42313
+ },
42314
+ {
42315
+ "name": "scrollToNewItem",
42316
+ "default": "true"
42305
42317
  }
42306
42318
  ],
42307
42319
  "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
@@ -47909,506 +47921,6 @@
47909
47921
  }
47910
47922
  ]
47911
47923
  },
47912
- {
47913
- "kind": "javascript-module",
47914
- "path": "components/themeprovider/themeprovider.component.js",
47915
- "declarations": [
47916
- {
47917
- "kind": "class",
47918
- "description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
47919
- "name": "ThemeProvider",
47920
- "cssProperties": [
47921
- {
47922
- "description": "Option to override the default color, default: color-theme-text-primary-normal",
47923
- "name": "--mdc-themeprovider-color-default"
47924
- },
47925
- {
47926
- "description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
47927
- "name": "--mdc-themeprovider-font-family"
47928
- },
47929
- {
47930
- "description": "Option to override the font weight, default: `400`",
47931
- "name": "--mdc-themeprovider-font-weight"
47932
- },
47933
- {
47934
- "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
47935
- "name": "--mdc-themeprovider-letter-spacing-adjustment"
47936
- },
47937
- {
47938
- "description": "Option to override the font feature settings, default: `\"ss02\" on`",
47939
- "name": "--mdc-themeprovider-font-feature-settings"
47940
- },
47941
- {
47942
- "description": "Option to override the color of the scrollbar track.",
47943
- "name": "--mdc-themeprovider-scrollbar-track-color"
47944
- },
47945
- {
47946
- "description": "Option to override the color of the scrollbar thumb.",
47947
- "name": "--mdc-themeprovider-scrollbar-thumb-color"
47948
- }
47949
- ],
47950
- "slots": [
47951
- {
47952
- "description": "children",
47953
- "name": ""
47954
- }
47955
- ],
47956
- "members": [
47957
- {
47958
- "kind": "field",
47959
- "name": "Context",
47960
- "privacy": "public",
47961
- "static": true,
47962
- "description": "Context object of the ThemeProvider, to be consumed by child components",
47963
- "readonly": true
47964
- },
47965
- {
47966
- "kind": "field",
47967
- "name": "themeclass",
47968
- "type": {
47969
- "text": "string"
47970
- },
47971
- "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
47972
- "attribute": "themeclass"
47973
- },
47974
- {
47975
- "kind": "method",
47976
- "name": "updateContext",
47977
- "privacy": "protected",
47978
- "return": {
47979
- "type": {
47980
- "text": "void"
47981
- }
47982
- },
47983
- "description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
47984
- },
47985
- {
47986
- "kind": "method",
47987
- "name": "setThemeInClassList",
47988
- "privacy": "private",
47989
- "description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
47990
- }
47991
- ],
47992
- "attributes": [
47993
- {
47994
- "name": "themeclass",
47995
- "type": {
47996
- "text": "string"
47997
- },
47998
- "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
47999
- "fieldName": "themeclass"
48000
- }
48001
- ],
48002
- "superclass": {
48003
- "name": "Provider",
48004
- "module": "/src/models"
48005
- },
48006
- "tagName": "mdc-themeprovider",
48007
- "jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n */",
48008
- "customElement": true
48009
- }
48010
- ],
48011
- "exports": [
48012
- {
48013
- "kind": "js",
48014
- "name": "default",
48015
- "declaration": {
48016
- "name": "ThemeProvider",
48017
- "module": "components/themeprovider/themeprovider.component.js"
48018
- }
48019
- }
48020
- ]
48021
- },
48022
- {
48023
- "kind": "javascript-module",
48024
- "path": "components/toast/toast.component.js",
48025
- "declarations": [
48026
- {
48027
- "kind": "class",
48028
- "description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
48029
- "name": "Toast",
48030
- "cssProperties": [
48031
- {
48032
- "description": "Background color of the toast.",
48033
- "name": "--mdc-toast-background-color"
48034
- },
48035
- {
48036
- "description": "Border color of the toast.",
48037
- "name": "--mdc-toast-border-color"
48038
- },
48039
- {
48040
- "description": "Color of the header text in the toast.",
48041
- "name": "--mdc-toast-header-text-color"
48042
- },
48043
- {
48044
- "description": "Color of the icon in the toast.",
48045
- "name": "--mdc-toast-icon-color"
48046
- },
48047
- {
48048
- "description": "Elevation effect applied to the toast.",
48049
- "name": "--mdc-toast-elevation-3"
48050
- },
48051
- {
48052
- "description": "Width of the toast.",
48053
- "name": "--mdc-toast-width"
48054
- },
48055
- {
48056
- "description": "Padding inside the toast.",
48057
- "name": "--mdc-toast-padding"
48058
- }
48059
- ],
48060
- "cssParts": [
48061
- {
48062
- "description": "The container for the toast's main content, including icon, text, and close button.",
48063
- "name": "content-container"
48064
- },
48065
- {
48066
- "description": "The icon shown at the start of the toast, styled by variant.",
48067
- "name": "toast-prefix-icon"
48068
- },
48069
- {
48070
- "description": "The container for the header and body content of the toast.",
48071
- "name": "toast-content"
48072
- },
48073
- {
48074
- "description": "The header text of the toast.",
48075
- "name": "toast-header"
48076
- },
48077
- {
48078
- "description": "The container for the toast's footer, including toggle and action buttons.",
48079
- "name": "footer"
48080
- },
48081
- {
48082
- "description": "The toggle button for showing/hiding detailed content.",
48083
- "name": "footer-button-toggle"
48084
- },
48085
- {
48086
- "description": "The close button for the toast.",
48087
- "name": "toast-close-btn"
48088
- },
48089
- {
48090
- "description": "Applied to the footer when it contains buttons or a toggle button.",
48091
- "name": "has-footer-buttons"
48092
- }
48093
- ],
48094
- "slots": [
48095
- {
48096
- "description": "Slot for custom content before the icon (only for custom variant).",
48097
- "name": "content-prefix"
48098
- },
48099
- {
48100
- "description": "Slot for the main body content of the toast.",
48101
- "name": "toast-body-normal"
48102
- },
48103
- {
48104
- "description": "Slot for additional detailed content, shown when expanded.",
48105
- "name": "toast-body-detailed"
48106
- },
48107
- {
48108
- "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
48109
- "name": "footer"
48110
- },
48111
- {
48112
- "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
48113
- "name": "footer-button-primary"
48114
- },
48115
- {
48116
- "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
48117
- "name": "footer-button-secondary"
48118
- }
48119
- ],
48120
- "members": [
48121
- {
48122
- "kind": "field",
48123
- "name": "variant",
48124
- "type": {
48125
- "text": "ToastVariant"
48126
- },
48127
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
48128
- "default": "'custom'",
48129
- "attribute": "variant",
48130
- "reflects": true
48131
- },
48132
- {
48133
- "kind": "field",
48134
- "name": "closeButtonAriaLabel",
48135
- "type": {
48136
- "text": "string | undefined"
48137
- },
48138
- "description": "Defines aria-label attribute for close button accessibility",
48139
- "attribute": "close-button-aria-label"
48140
- },
48141
- {
48142
- "kind": "field",
48143
- "name": "headerText",
48144
- "type": {
48145
- "text": "string | undefined"
48146
- },
48147
- "description": "Defines a string value to display as the title of the toast",
48148
- "attribute": "header-text",
48149
- "reflects": true
48150
- },
48151
- {
48152
- "kind": "field",
48153
- "name": "headerTagName",
48154
- "type": {
48155
- "text": "TagName"
48156
- },
48157
- "description": "The html tag to be used for the header text",
48158
- "default": "'h2'",
48159
- "attribute": "header-tag-name",
48160
- "reflects": true
48161
- },
48162
- {
48163
- "kind": "field",
48164
- "name": "ariaLabel",
48165
- "type": {
48166
- "text": "string | null"
48167
- },
48168
- "default": "null",
48169
- "description": "Defines aria-label attribute when header is not used",
48170
- "attribute": "aria-label",
48171
- "reflects": true
48172
- },
48173
- {
48174
- "kind": "field",
48175
- "name": "showMoreText",
48176
- "type": {
48177
- "text": "string | undefined"
48178
- },
48179
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
48180
- "attribute": "show-more-text",
48181
- "reflects": true
48182
- },
48183
- {
48184
- "kind": "field",
48185
- "name": "showLessText",
48186
- "type": {
48187
- "text": "string | undefined"
48188
- },
48189
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
48190
- "attribute": "show-less-text",
48191
- "reflects": true
48192
- },
48193
- {
48194
- "kind": "field",
48195
- "name": "isDetailVisible",
48196
- "type": {
48197
- "text": "boolean"
48198
- },
48199
- "privacy": "private",
48200
- "default": "false"
48201
- },
48202
- {
48203
- "kind": "field",
48204
- "name": "hasDetailedSlot",
48205
- "type": {
48206
- "text": "boolean"
48207
- },
48208
- "privacy": "private",
48209
- "default": "false"
48210
- },
48211
- {
48212
- "kind": "field",
48213
- "name": "detailedElements",
48214
- "type": {
48215
- "text": "HTMLElement[]"
48216
- },
48217
- "privacy": "private"
48218
- },
48219
- {
48220
- "kind": "field",
48221
- "name": "hasFooterButtons",
48222
- "type": {
48223
- "text": "string"
48224
- },
48225
- "privacy": "private",
48226
- "default": "''"
48227
- },
48228
- {
48229
- "kind": "method",
48230
- "name": "closeToast",
48231
- "privacy": "private",
48232
- "description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
48233
- },
48234
- {
48235
- "kind": "method",
48236
- "name": "toggleDetailVisibility",
48237
- "privacy": "private"
48238
- },
48239
- {
48240
- "kind": "method",
48241
- "name": "updateDetailedSlotPresence",
48242
- "privacy": "private"
48243
- },
48244
- {
48245
- "kind": "method",
48246
- "name": "updateFooterButtonsPresence",
48247
- "privacy": "private"
48248
- },
48249
- {
48250
- "kind": "method",
48251
- "name": "renderIcon",
48252
- "privacy": "protected",
48253
- "parameters": [
48254
- {
48255
- "name": "iconName",
48256
- "type": {
48257
- "text": "string"
48258
- }
48259
- }
48260
- ]
48261
- },
48262
- {
48263
- "kind": "method",
48264
- "name": "shouldRenderToggleButton",
48265
- "privacy": "private"
48266
- },
48267
- {
48268
- "kind": "method",
48269
- "name": "renderToggleDetailButton",
48270
- "privacy": "private"
48271
- },
48272
- {
48273
- "kind": "method",
48274
- "name": "renderHeader",
48275
- "privacy": "protected"
48276
- },
48277
- {
48278
- "kind": "method",
48279
- "name": "handleFooterSlot",
48280
- "privacy": "protected",
48281
- "return": {
48282
- "type": {
48283
- "text": "void"
48284
- }
48285
- },
48286
- "parameters": [
48287
- {
48288
- "name": "tagname",
48289
- "type": {
48290
- "text": "string"
48291
- }
48292
- },
48293
- {
48294
- "name": "variant",
48295
- "optional": true,
48296
- "type": {
48297
- "text": "string | undefined"
48298
- }
48299
- }
48300
- ]
48301
- },
48302
- {
48303
- "kind": "method",
48304
- "name": "renderFooter",
48305
- "privacy": "protected",
48306
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
48307
- "return": {
48308
- "type": {
48309
- "text": ""
48310
- }
48311
- },
48312
- "inheritedFrom": {
48313
- "name": "FooterMixin",
48314
- "module": "utils/mixins/FooterMixin.js"
48315
- }
48316
- }
48317
- ],
48318
- "events": [
48319
- {
48320
- "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
48321
- "name": "close",
48322
- "reactName": "onClose"
48323
- }
48324
- ],
48325
- "attributes": [
48326
- {
48327
- "name": "variant",
48328
- "type": {
48329
- "text": "ToastVariant"
48330
- },
48331
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
48332
- "default": "'custom'",
48333
- "fieldName": "variant"
48334
- },
48335
- {
48336
- "name": "close-button-aria-label",
48337
- "type": {
48338
- "text": "string | undefined"
48339
- },
48340
- "description": "Defines aria-label attribute for close button accessibility",
48341
- "fieldName": "closeButtonAriaLabel"
48342
- },
48343
- {
48344
- "name": "header-text",
48345
- "type": {
48346
- "text": "string | undefined"
48347
- },
48348
- "description": "Defines a string value to display as the title of the toast",
48349
- "fieldName": "headerText"
48350
- },
48351
- {
48352
- "name": "header-tag-name",
48353
- "type": {
48354
- "text": "TagName"
48355
- },
48356
- "description": "The html tag to be used for the header text",
48357
- "default": "'h2'",
48358
- "fieldName": "headerTagName"
48359
- },
48360
- {
48361
- "name": "aria-label",
48362
- "type": {
48363
- "text": "string | null"
48364
- },
48365
- "default": "null",
48366
- "description": "Defines aria-label attribute when header is not used",
48367
- "fieldName": "ariaLabel"
48368
- },
48369
- {
48370
- "name": "show-more-text",
48371
- "type": {
48372
- "text": "string | undefined"
48373
- },
48374
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
48375
- "fieldName": "showMoreText"
48376
- },
48377
- {
48378
- "name": "show-less-text",
48379
- "type": {
48380
- "text": "string | undefined"
48381
- },
48382
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
48383
- "fieldName": "showLessText"
48384
- }
48385
- ],
48386
- "mixins": [
48387
- {
48388
- "name": "FooterMixin",
48389
- "module": "/src/utils/mixins/FooterMixin"
48390
- }
48391
- ],
48392
- "superclass": {
48393
- "name": "Component",
48394
- "module": "/src/models"
48395
- },
48396
- "tagName": "mdc-toast",
48397
- "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
48398
- "customElement": true
48399
- }
48400
- ],
48401
- "exports": [
48402
- {
48403
- "kind": "js",
48404
- "name": "default",
48405
- "declaration": {
48406
- "name": "Toast",
48407
- "module": "components/toast/toast.component.js"
48408
- }
48409
- }
48410
- ]
48411
- },
48412
47924
  {
48413
47925
  "kind": "javascript-module",
48414
47926
  "path": "components/toggle/toggle.component.js",
@@ -54088,10 +53600,11 @@
54088
53600
  },
54089
53601
  {
54090
53602
  "name": "focusNewItem",
54091
- "optional": true,
54092
- "type": {
54093
- "text": "boolean"
54094
- }
53603
+ "default": "true"
53604
+ },
53605
+ {
53606
+ "name": "scrollToNewItem",
53607
+ "default": "focusNewItem"
54095
53608
  }
54096
53609
  ],
54097
53610
  "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
@@ -54393,6 +53906,506 @@
54393
53906
  }
54394
53907
  ]
54395
53908
  },
53909
+ {
53910
+ "kind": "javascript-module",
53911
+ "path": "components/themeprovider/themeprovider.component.js",
53912
+ "declarations": [
53913
+ {
53914
+ "kind": "class",
53915
+ "description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
53916
+ "name": "ThemeProvider",
53917
+ "cssProperties": [
53918
+ {
53919
+ "description": "Option to override the default color, default: color-theme-text-primary-normal",
53920
+ "name": "--mdc-themeprovider-color-default"
53921
+ },
53922
+ {
53923
+ "description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
53924
+ "name": "--mdc-themeprovider-font-family"
53925
+ },
53926
+ {
53927
+ "description": "Option to override the font weight, default: `400`",
53928
+ "name": "--mdc-themeprovider-font-weight"
53929
+ },
53930
+ {
53931
+ "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
53932
+ "name": "--mdc-themeprovider-letter-spacing-adjustment"
53933
+ },
53934
+ {
53935
+ "description": "Option to override the font feature settings, default: `\"ss02\" on`",
53936
+ "name": "--mdc-themeprovider-font-feature-settings"
53937
+ },
53938
+ {
53939
+ "description": "Option to override the color of the scrollbar track.",
53940
+ "name": "--mdc-themeprovider-scrollbar-track-color"
53941
+ },
53942
+ {
53943
+ "description": "Option to override the color of the scrollbar thumb.",
53944
+ "name": "--mdc-themeprovider-scrollbar-thumb-color"
53945
+ }
53946
+ ],
53947
+ "slots": [
53948
+ {
53949
+ "description": "children",
53950
+ "name": ""
53951
+ }
53952
+ ],
53953
+ "members": [
53954
+ {
53955
+ "kind": "field",
53956
+ "name": "Context",
53957
+ "privacy": "public",
53958
+ "static": true,
53959
+ "description": "Context object of the ThemeProvider, to be consumed by child components",
53960
+ "readonly": true
53961
+ },
53962
+ {
53963
+ "kind": "field",
53964
+ "name": "themeclass",
53965
+ "type": {
53966
+ "text": "string"
53967
+ },
53968
+ "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
53969
+ "attribute": "themeclass"
53970
+ },
53971
+ {
53972
+ "kind": "method",
53973
+ "name": "updateContext",
53974
+ "privacy": "protected",
53975
+ "return": {
53976
+ "type": {
53977
+ "text": "void"
53978
+ }
53979
+ },
53980
+ "description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
53981
+ },
53982
+ {
53983
+ "kind": "method",
53984
+ "name": "setThemeInClassList",
53985
+ "privacy": "private",
53986
+ "description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
53987
+ }
53988
+ ],
53989
+ "attributes": [
53990
+ {
53991
+ "name": "themeclass",
53992
+ "type": {
53993
+ "text": "string"
53994
+ },
53995
+ "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
53996
+ "fieldName": "themeclass"
53997
+ }
53998
+ ],
53999
+ "superclass": {
54000
+ "name": "Provider",
54001
+ "module": "/src/models"
54002
+ },
54003
+ "tagName": "mdc-themeprovider",
54004
+ "jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n */",
54005
+ "customElement": true
54006
+ }
54007
+ ],
54008
+ "exports": [
54009
+ {
54010
+ "kind": "js",
54011
+ "name": "default",
54012
+ "declaration": {
54013
+ "name": "ThemeProvider",
54014
+ "module": "components/themeprovider/themeprovider.component.js"
54015
+ }
54016
+ }
54017
+ ]
54018
+ },
54019
+ {
54020
+ "kind": "javascript-module",
54021
+ "path": "components/toast/toast.component.js",
54022
+ "declarations": [
54023
+ {
54024
+ "kind": "class",
54025
+ "description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
54026
+ "name": "Toast",
54027
+ "cssProperties": [
54028
+ {
54029
+ "description": "Background color of the toast.",
54030
+ "name": "--mdc-toast-background-color"
54031
+ },
54032
+ {
54033
+ "description": "Border color of the toast.",
54034
+ "name": "--mdc-toast-border-color"
54035
+ },
54036
+ {
54037
+ "description": "Color of the header text in the toast.",
54038
+ "name": "--mdc-toast-header-text-color"
54039
+ },
54040
+ {
54041
+ "description": "Color of the icon in the toast.",
54042
+ "name": "--mdc-toast-icon-color"
54043
+ },
54044
+ {
54045
+ "description": "Elevation effect applied to the toast.",
54046
+ "name": "--mdc-toast-elevation-3"
54047
+ },
54048
+ {
54049
+ "description": "Width of the toast.",
54050
+ "name": "--mdc-toast-width"
54051
+ },
54052
+ {
54053
+ "description": "Padding inside the toast.",
54054
+ "name": "--mdc-toast-padding"
54055
+ }
54056
+ ],
54057
+ "cssParts": [
54058
+ {
54059
+ "description": "The container for the toast's main content, including icon, text, and close button.",
54060
+ "name": "content-container"
54061
+ },
54062
+ {
54063
+ "description": "The icon shown at the start of the toast, styled by variant.",
54064
+ "name": "toast-prefix-icon"
54065
+ },
54066
+ {
54067
+ "description": "The container for the header and body content of the toast.",
54068
+ "name": "toast-content"
54069
+ },
54070
+ {
54071
+ "description": "The header text of the toast.",
54072
+ "name": "toast-header"
54073
+ },
54074
+ {
54075
+ "description": "The container for the toast's footer, including toggle and action buttons.",
54076
+ "name": "footer"
54077
+ },
54078
+ {
54079
+ "description": "The toggle button for showing/hiding detailed content.",
54080
+ "name": "footer-button-toggle"
54081
+ },
54082
+ {
54083
+ "description": "The close button for the toast.",
54084
+ "name": "toast-close-btn"
54085
+ },
54086
+ {
54087
+ "description": "Applied to the footer when it contains buttons or a toggle button.",
54088
+ "name": "has-footer-buttons"
54089
+ }
54090
+ ],
54091
+ "slots": [
54092
+ {
54093
+ "description": "Slot for custom content before the icon (only for custom variant).",
54094
+ "name": "content-prefix"
54095
+ },
54096
+ {
54097
+ "description": "Slot for the main body content of the toast.",
54098
+ "name": "toast-body-normal"
54099
+ },
54100
+ {
54101
+ "description": "Slot for additional detailed content, shown when expanded.",
54102
+ "name": "toast-body-detailed"
54103
+ },
54104
+ {
54105
+ "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
54106
+ "name": "footer"
54107
+ },
54108
+ {
54109
+ "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
54110
+ "name": "footer-button-primary"
54111
+ },
54112
+ {
54113
+ "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
54114
+ "name": "footer-button-secondary"
54115
+ }
54116
+ ],
54117
+ "members": [
54118
+ {
54119
+ "kind": "field",
54120
+ "name": "variant",
54121
+ "type": {
54122
+ "text": "ToastVariant"
54123
+ },
54124
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
54125
+ "default": "'custom'",
54126
+ "attribute": "variant",
54127
+ "reflects": true
54128
+ },
54129
+ {
54130
+ "kind": "field",
54131
+ "name": "closeButtonAriaLabel",
54132
+ "type": {
54133
+ "text": "string | undefined"
54134
+ },
54135
+ "description": "Defines aria-label attribute for close button accessibility",
54136
+ "attribute": "close-button-aria-label"
54137
+ },
54138
+ {
54139
+ "kind": "field",
54140
+ "name": "headerText",
54141
+ "type": {
54142
+ "text": "string | undefined"
54143
+ },
54144
+ "description": "Defines a string value to display as the title of the toast",
54145
+ "attribute": "header-text",
54146
+ "reflects": true
54147
+ },
54148
+ {
54149
+ "kind": "field",
54150
+ "name": "headerTagName",
54151
+ "type": {
54152
+ "text": "TagName"
54153
+ },
54154
+ "description": "The html tag to be used for the header text",
54155
+ "default": "'h2'",
54156
+ "attribute": "header-tag-name",
54157
+ "reflects": true
54158
+ },
54159
+ {
54160
+ "kind": "field",
54161
+ "name": "ariaLabel",
54162
+ "type": {
54163
+ "text": "string | null"
54164
+ },
54165
+ "default": "null",
54166
+ "description": "Defines aria-label attribute when header is not used",
54167
+ "attribute": "aria-label",
54168
+ "reflects": true
54169
+ },
54170
+ {
54171
+ "kind": "field",
54172
+ "name": "showMoreText",
54173
+ "type": {
54174
+ "text": "string | undefined"
54175
+ },
54176
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
54177
+ "attribute": "show-more-text",
54178
+ "reflects": true
54179
+ },
54180
+ {
54181
+ "kind": "field",
54182
+ "name": "showLessText",
54183
+ "type": {
54184
+ "text": "string | undefined"
54185
+ },
54186
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
54187
+ "attribute": "show-less-text",
54188
+ "reflects": true
54189
+ },
54190
+ {
54191
+ "kind": "field",
54192
+ "name": "isDetailVisible",
54193
+ "type": {
54194
+ "text": "boolean"
54195
+ },
54196
+ "privacy": "private",
54197
+ "default": "false"
54198
+ },
54199
+ {
54200
+ "kind": "field",
54201
+ "name": "hasDetailedSlot",
54202
+ "type": {
54203
+ "text": "boolean"
54204
+ },
54205
+ "privacy": "private",
54206
+ "default": "false"
54207
+ },
54208
+ {
54209
+ "kind": "field",
54210
+ "name": "detailedElements",
54211
+ "type": {
54212
+ "text": "HTMLElement[]"
54213
+ },
54214
+ "privacy": "private"
54215
+ },
54216
+ {
54217
+ "kind": "field",
54218
+ "name": "hasFooterButtons",
54219
+ "type": {
54220
+ "text": "string"
54221
+ },
54222
+ "privacy": "private",
54223
+ "default": "''"
54224
+ },
54225
+ {
54226
+ "kind": "method",
54227
+ "name": "closeToast",
54228
+ "privacy": "private",
54229
+ "description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
54230
+ },
54231
+ {
54232
+ "kind": "method",
54233
+ "name": "toggleDetailVisibility",
54234
+ "privacy": "private"
54235
+ },
54236
+ {
54237
+ "kind": "method",
54238
+ "name": "updateDetailedSlotPresence",
54239
+ "privacy": "private"
54240
+ },
54241
+ {
54242
+ "kind": "method",
54243
+ "name": "updateFooterButtonsPresence",
54244
+ "privacy": "private"
54245
+ },
54246
+ {
54247
+ "kind": "method",
54248
+ "name": "renderIcon",
54249
+ "privacy": "protected",
54250
+ "parameters": [
54251
+ {
54252
+ "name": "iconName",
54253
+ "type": {
54254
+ "text": "string"
54255
+ }
54256
+ }
54257
+ ]
54258
+ },
54259
+ {
54260
+ "kind": "method",
54261
+ "name": "shouldRenderToggleButton",
54262
+ "privacy": "private"
54263
+ },
54264
+ {
54265
+ "kind": "method",
54266
+ "name": "renderToggleDetailButton",
54267
+ "privacy": "private"
54268
+ },
54269
+ {
54270
+ "kind": "method",
54271
+ "name": "renderHeader",
54272
+ "privacy": "protected"
54273
+ },
54274
+ {
54275
+ "kind": "method",
54276
+ "name": "handleFooterSlot",
54277
+ "privacy": "protected",
54278
+ "return": {
54279
+ "type": {
54280
+ "text": "void"
54281
+ }
54282
+ },
54283
+ "parameters": [
54284
+ {
54285
+ "name": "tagname",
54286
+ "type": {
54287
+ "text": "string"
54288
+ }
54289
+ },
54290
+ {
54291
+ "name": "variant",
54292
+ "optional": true,
54293
+ "type": {
54294
+ "text": "string | undefined"
54295
+ }
54296
+ }
54297
+ ]
54298
+ },
54299
+ {
54300
+ "kind": "method",
54301
+ "name": "renderFooter",
54302
+ "privacy": "protected",
54303
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
54304
+ "return": {
54305
+ "type": {
54306
+ "text": ""
54307
+ }
54308
+ },
54309
+ "inheritedFrom": {
54310
+ "name": "FooterMixin",
54311
+ "module": "utils/mixins/FooterMixin.js"
54312
+ }
54313
+ }
54314
+ ],
54315
+ "events": [
54316
+ {
54317
+ "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
54318
+ "name": "close",
54319
+ "reactName": "onClose"
54320
+ }
54321
+ ],
54322
+ "attributes": [
54323
+ {
54324
+ "name": "variant",
54325
+ "type": {
54326
+ "text": "ToastVariant"
54327
+ },
54328
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
54329
+ "default": "'custom'",
54330
+ "fieldName": "variant"
54331
+ },
54332
+ {
54333
+ "name": "close-button-aria-label",
54334
+ "type": {
54335
+ "text": "string | undefined"
54336
+ },
54337
+ "description": "Defines aria-label attribute for close button accessibility",
54338
+ "fieldName": "closeButtonAriaLabel"
54339
+ },
54340
+ {
54341
+ "name": "header-text",
54342
+ "type": {
54343
+ "text": "string | undefined"
54344
+ },
54345
+ "description": "Defines a string value to display as the title of the toast",
54346
+ "fieldName": "headerText"
54347
+ },
54348
+ {
54349
+ "name": "header-tag-name",
54350
+ "type": {
54351
+ "text": "TagName"
54352
+ },
54353
+ "description": "The html tag to be used for the header text",
54354
+ "default": "'h2'",
54355
+ "fieldName": "headerTagName"
54356
+ },
54357
+ {
54358
+ "name": "aria-label",
54359
+ "type": {
54360
+ "text": "string | null"
54361
+ },
54362
+ "default": "null",
54363
+ "description": "Defines aria-label attribute when header is not used",
54364
+ "fieldName": "ariaLabel"
54365
+ },
54366
+ {
54367
+ "name": "show-more-text",
54368
+ "type": {
54369
+ "text": "string | undefined"
54370
+ },
54371
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
54372
+ "fieldName": "showMoreText"
54373
+ },
54374
+ {
54375
+ "name": "show-less-text",
54376
+ "type": {
54377
+ "text": "string | undefined"
54378
+ },
54379
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
54380
+ "fieldName": "showLessText"
54381
+ }
54382
+ ],
54383
+ "mixins": [
54384
+ {
54385
+ "name": "FooterMixin",
54386
+ "module": "/src/utils/mixins/FooterMixin"
54387
+ }
54388
+ ],
54389
+ "superclass": {
54390
+ "name": "Component",
54391
+ "module": "/src/models"
54392
+ },
54393
+ "tagName": "mdc-toast",
54394
+ "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
54395
+ "customElement": true
54396
+ }
54397
+ ],
54398
+ "exports": [
54399
+ {
54400
+ "kind": "js",
54401
+ "name": "default",
54402
+ "declaration": {
54403
+ "name": "Toast",
54404
+ "module": "components/toast/toast.component.js"
54405
+ }
54406
+ }
54407
+ ]
54408
+ },
54396
54409
  {
54397
54410
  "kind": "javascript-module",
54398
54411
  "path": "utils/mixins/AutoFocusOnMountMixin.js",
@@ -56597,6 +56610,13 @@
56597
56610
  "type": {
56598
56611
  "text": "boolean"
56599
56612
  }
56613
+ },
56614
+ {
56615
+ "name": "scrollToNewItem",
56616
+ "optional": true,
56617
+ "type": {
56618
+ "text": "boolean"
56619
+ }
56600
56620
  }
56601
56621
  ]
56602
56622
  },
@@ -56704,6 +56724,10 @@
56704
56724
  "name": "focusNewItem",
56705
56725
  "default": "true",
56706
56726
  "description": "Call focus() on the new item or not. It should be false during firstUpdate"
56727
+ },
56728
+ {
56729
+ "name": "scrollToNewItem",
56730
+ "default": "true"
56707
56731
  }
56708
56732
  ],
56709
56733
  "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",