@momentum-design/components 0.102.5 → 0.102.6

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.
@@ -4068,22 +4068,22 @@
4068
4068
  },
4069
4069
  {
4070
4070
  "kind": "javascript-module",
4071
- "path": "components/buttonlink/buttonlink.component.js",
4071
+ "path": "components/buttonsimple/buttonsimple.component.js",
4072
4072
  "declarations": [
4073
4073
  {
4074
4074
  "kind": "class",
4075
- "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
4076
- "name": "ButtonLink",
4075
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
4076
+ "name": "Buttonsimple",
4077
4077
  "members": [
4078
4078
  {
4079
4079
  "kind": "field",
4080
- "name": "size",
4080
+ "name": "active",
4081
4081
  "type": {
4082
- "text": "PillButtonSize | IconButtonSize"
4082
+ "text": "boolean | undefined"
4083
4083
  },
4084
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
4085
- "default": "32",
4086
- "attribute": "size",
4084
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
4085
+ "default": "undefined",
4086
+ "attribute": "active",
4087
4087
  "reflects": true
4088
4088
  },
4089
4089
  {
@@ -4092,176 +4092,182 @@
4092
4092
  "type": {
4093
4093
  "text": "boolean | undefined"
4094
4094
  },
4095
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4095
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4096
4096
  "default": "undefined",
4097
4097
  "attribute": "soft-disabled",
4098
4098
  "reflects": true
4099
4099
  },
4100
- {
4101
- "kind": "method",
4102
- "name": "setSoftDisabled",
4103
- "privacy": "private",
4104
- "parameters": [
4105
- {
4106
- "name": "element",
4107
- "type": {
4108
- "text": "HTMLElement"
4109
- },
4110
- "description": "The buttonlink element."
4111
- },
4112
- {
4113
- "name": "softDisabled",
4114
- "optional": true,
4115
- "type": {
4116
- "text": "boolean"
4117
- },
4118
- "description": "The soft-disabled state."
4119
- }
4120
- ],
4121
- "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
4122
- },
4123
4100
  {
4124
4101
  "kind": "field",
4125
- "name": "prefixIcon",
4102
+ "name": "size",
4126
4103
  "type": {
4127
- "text": "IconNames | undefined"
4104
+ "text": "ButtonSize"
4128
4105
  },
4129
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
4130
- "attribute": "prefix-icon",
4131
- "reflects": true,
4132
- "inheritedFrom": {
4133
- "name": "ButtonComponentMixin",
4134
- "module": "utils/mixins/ButtonComponentMixin.js"
4135
- }
4106
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4107
+ "default": "32",
4108
+ "attribute": "size",
4109
+ "reflects": true
4136
4110
  },
4137
4111
  {
4138
4112
  "kind": "field",
4139
- "name": "postfixIcon",
4113
+ "name": "role",
4140
4114
  "type": {
4141
- "text": "IconNames | undefined"
4115
+ "text": "RoleType"
4142
4116
  },
4143
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
4144
- "attribute": "postfix-icon",
4145
- "reflects": true,
4146
- "inheritedFrom": {
4147
- "name": "ButtonComponentMixin",
4148
- "module": "utils/mixins/ButtonComponentMixin.js"
4149
- }
4117
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
4118
+ "default": "button",
4119
+ "attribute": "role",
4120
+ "reflects": true
4150
4121
  },
4151
4122
  {
4152
4123
  "kind": "field",
4153
- "name": "variant",
4124
+ "name": "ariaStateKey",
4154
4125
  "type": {
4155
- "text": "ButtonVariant"
4126
+ "text": "string | undefined"
4156
4127
  },
4157
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
4158
- "default": "primary",
4159
- "attribute": "variant",
4160
- "inheritedFrom": {
4161
- "name": "ButtonComponentMixin",
4162
- "module": "utils/mixins/ButtonComponentMixin.js"
4163
- }
4128
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
4129
+ "default": "'aria-pressed' (when)",
4130
+ "attribute": "ariaStateKey",
4131
+ "reflects": true
4164
4132
  },
4165
4133
  {
4166
4134
  "kind": "field",
4167
- "name": "color",
4135
+ "name": "type",
4168
4136
  "type": {
4169
- "text": "ButtonColor"
4137
+ "text": "ButtonType"
4170
4138
  },
4171
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
4172
- "default": "default",
4173
- "attribute": "color",
4174
- "inheritedFrom": {
4175
- "name": "ButtonComponentMixin",
4176
- "module": "utils/mixins/ButtonComponentMixin.js"
4177
- }
4139
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
4140
+ "default": "button",
4141
+ "attribute": "type",
4142
+ "reflects": true
4178
4143
  },
4179
4144
  {
4180
4145
  "kind": "method",
4181
- "name": "setVariant",
4146
+ "name": "executeAction",
4147
+ "privacy": "protected"
4148
+ },
4149
+ {
4150
+ "kind": "method",
4151
+ "name": "setActive",
4182
4152
  "privacy": "protected",
4183
4153
  "parameters": [
4184
4154
  {
4185
- "name": "variant",
4155
+ "name": "element",
4186
4156
  "type": {
4187
- "text": "ButtonVariant"
4157
+ "text": "HTMLElement"
4188
4158
  },
4189
- "description": "The variant to set."
4159
+ "description": "The button element"
4160
+ },
4161
+ {
4162
+ "name": "active",
4163
+ "optional": true,
4164
+ "type": {
4165
+ "text": "boolean"
4166
+ },
4167
+ "description": "The active state of the element"
4190
4168
  }
4191
4169
  ],
4192
- "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
4193
- "inheritedFrom": {
4194
- "name": "ButtonComponentMixin",
4195
- "module": "utils/mixins/ButtonComponentMixin.js"
4196
- }
4170
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
4197
4171
  },
4198
4172
  {
4199
4173
  "kind": "method",
4200
- "name": "setColor",
4201
- "privacy": "protected",
4174
+ "name": "setSoftDisabled",
4175
+ "privacy": "private",
4202
4176
  "parameters": [
4203
4177
  {
4204
- "name": "color",
4178
+ "name": "element",
4205
4179
  "type": {
4206
- "text": "ButtonColor"
4180
+ "text": "HTMLElement"
4207
4181
  },
4208
- "description": "The color to set."
4182
+ "description": "The button element."
4183
+ },
4184
+ {
4185
+ "name": "softDisabled",
4186
+ "optional": true,
4187
+ "type": {
4188
+ "text": "boolean"
4189
+ },
4190
+ "description": "The soft-disabled state."
4209
4191
  }
4210
4192
  ],
4211
- "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
4212
- "inheritedFrom": {
4213
- "name": "ButtonComponentMixin",
4214
- "module": "utils/mixins/ButtonComponentMixin.js"
4215
- }
4193
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
4216
4194
  },
4217
4195
  {
4218
4196
  "kind": "method",
4219
- "name": "setSize",
4220
- "privacy": "protected",
4197
+ "name": "setDisabled",
4198
+ "privacy": "private",
4221
4199
  "parameters": [
4222
4200
  {
4223
- "name": "size",
4201
+ "name": "element",
4224
4202
  "type": {
4225
- "text": "PillButtonSize | IconButtonSize"
4203
+ "text": "HTMLElement"
4226
4204
  },
4227
- "description": "The size to set."
4205
+ "description": "The button element."
4206
+ },
4207
+ {
4208
+ "name": "disabled",
4209
+ "type": {
4210
+ "text": "boolean"
4211
+ },
4212
+ "description": "The disabled state."
4228
4213
  }
4229
4214
  ],
4230
- "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
4231
- "inheritedFrom": {
4232
- "name": "ButtonComponentMixin",
4233
- "module": "utils/mixins/ButtonComponentMixin.js"
4234
- }
4215
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
4235
4216
  },
4236
4217
  {
4237
4218
  "kind": "method",
4238
- "name": "inferButtonType",
4239
- "privacy": "protected",
4240
- "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
4219
+ "name": "triggerClickEvent",
4220
+ "privacy": "private"
4221
+ },
4222
+ {
4223
+ "kind": "method",
4224
+ "name": "handleBlur",
4225
+ "privacy": "private",
4226
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4227
+ },
4228
+ {
4229
+ "kind": "method",
4230
+ "name": "handleKeyDown",
4231
+ "privacy": "private",
4241
4232
  "parameters": [
4242
4233
  {
4243
- "description": "default slot of button",
4244
- "name": "slot"
4234
+ "name": "event",
4235
+ "type": {
4236
+ "text": "KeyboardEvent"
4237
+ },
4238
+ "description": "The keyboard event."
4245
4239
  }
4246
4240
  ],
4247
- "inheritedFrom": {
4248
- "name": "ButtonComponentMixin",
4249
- "module": "utils/mixins/ButtonComponentMixin.js"
4250
- }
4241
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
4242
+ },
4243
+ {
4244
+ "kind": "method",
4245
+ "name": "handleKeyUp",
4246
+ "privacy": "private",
4247
+ "parameters": [
4248
+ {
4249
+ "name": "event",
4250
+ "type": {
4251
+ "text": "KeyboardEvent"
4252
+ },
4253
+ "description": "The keyboard event."
4254
+ }
4255
+ ],
4256
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
4251
4257
  },
4252
4258
  {
4253
4259
  "kind": "field",
4254
- "name": "disabled",
4260
+ "name": "autofocus",
4255
4261
  "type": {
4256
- "text": "boolean | undefined"
4262
+ "text": "boolean"
4257
4263
  },
4258
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4259
- "default": "undefined",
4260
- "attribute": "disabled",
4264
+ "default": "false",
4265
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4266
+ "attribute": "autofocus",
4261
4267
  "reflects": true,
4262
4268
  "inheritedFrom": {
4263
- "name": "DisabledMixin",
4264
- "module": "utils/mixins/DisabledMixin.js"
4269
+ "name": "AutoFocusMixin",
4270
+ "module": "utils/mixins/AutoFocusMixin.js"
4265
4271
  }
4266
4272
  },
4267
4273
  {
@@ -4281,238 +4287,108 @@
4281
4287
  },
4282
4288
  {
4283
4289
  "kind": "field",
4284
- "name": "inline",
4285
- "type": {
4286
- "text": "boolean"
4287
- },
4288
- "description": "The link can be inline or standalone.",
4289
- "default": "false",
4290
- "attribute": "inline",
4291
- "reflects": true,
4292
- "inheritedFrom": {
4293
- "name": "Linksimple",
4294
- "module": "components/linksimple/linksimple.component.js"
4295
- }
4296
- },
4297
- {
4298
- "kind": "field",
4299
- "name": "inverted",
4300
- "type": {
4301
- "text": "boolean"
4302
- },
4303
- "description": "The link color can be inverted by setting the inverted attribute to true.",
4304
- "default": "false",
4305
- "attribute": "inverted",
4306
- "reflects": true,
4307
- "inheritedFrom": {
4308
- "name": "Linksimple",
4309
- "module": "components/linksimple/linksimple.component.js"
4310
- }
4311
- },
4312
- {
4313
- "kind": "field",
4314
- "name": "href",
4315
- "type": {
4316
- "text": "string"
4317
- },
4318
- "default": "'#'",
4319
- "description": "Href for navigation. The URL that the hyperlink points to",
4320
- "attribute": "href",
4321
- "reflects": true,
4322
- "inheritedFrom": {
4323
- "name": "Linksimple",
4324
- "module": "components/linksimple/linksimple.component.js"
4325
- }
4326
- },
4327
- {
4328
- "kind": "field",
4329
- "name": "target",
4330
- "type": {
4331
- "text": "string"
4332
- },
4333
- "default": "'_self'",
4334
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
4335
- "attribute": "target",
4336
- "reflects": true,
4337
- "inheritedFrom": {
4338
- "name": "Linksimple",
4339
- "module": "components/linksimple/linksimple.component.js"
4340
- }
4341
- },
4342
- {
4343
- "kind": "field",
4344
- "name": "rel",
4290
+ "name": "disabled",
4345
4291
  "type": {
4346
- "text": "string | undefined"
4292
+ "text": "boolean | undefined"
4347
4293
  },
4348
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
4349
- "attribute": "rel",
4294
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4295
+ "default": "undefined",
4296
+ "attribute": "disabled",
4350
4297
  "reflects": true,
4351
4298
  "inheritedFrom": {
4352
- "name": "Linksimple",
4353
- "module": "components/linksimple/linksimple.component.js"
4354
- }
4355
- },
4356
- {
4357
- "kind": "method",
4358
- "name": "handleNavigation",
4359
- "privacy": "private",
4360
- "return": {
4361
- "type": {
4362
- "text": "void"
4363
- }
4364
- },
4365
- "parameters": [
4366
- {
4367
- "name": "e",
4368
- "type": {
4369
- "text": "MouseEvent | KeyboardEvent"
4370
- }
4371
- }
4372
- ],
4373
- "inheritedFrom": {
4374
- "name": "Linksimple",
4375
- "module": "components/linksimple/linksimple.component.js"
4376
- }
4377
- },
4378
- {
4379
- "kind": "method",
4380
- "name": "setDisabled",
4381
- "privacy": "private",
4382
- "parameters": [
4383
- {
4384
- "name": "disabled",
4385
- "type": {
4386
- "text": "boolean"
4387
- },
4388
- "description": "Whether the element should be disabled"
4389
- }
4390
- ],
4391
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
4392
- "inheritedFrom": {
4393
- "name": "Linksimple",
4394
- "module": "components/linksimple/linksimple.component.js"
4299
+ "name": "DisabledMixin",
4300
+ "module": "utils/mixins/DisabledMixin.js"
4395
4301
  }
4396
4302
  }
4397
4303
  ],
4398
4304
  "events": [
4399
4305
  {
4400
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
4306
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
4401
4307
  "name": "click",
4402
- "reactName": "onClick",
4403
- "inheritedFrom": {
4404
- "name": "Linksimple",
4405
- "module": "src/components/linksimple/linksimple.component.ts"
4406
- }
4308
+ "reactName": "onClick"
4407
4309
  },
4408
4310
  {
4409
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
4311
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4410
4312
  "name": "keydown",
4411
- "reactName": "onKeyDown",
4412
- "inheritedFrom": {
4413
- "name": "Linksimple",
4414
- "module": "src/components/linksimple/linksimple.component.ts"
4415
- }
4313
+ "reactName": "onKeyDown"
4416
4314
  },
4417
4315
  {
4418
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
4419
- "name": "focus",
4420
- "reactName": "onFocus",
4421
- "inheritedFrom": {
4422
- "name": "Linksimple",
4423
- "module": "src/components/linksimple/linksimple.component.ts"
4424
- }
4316
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4317
+ "name": "keyup",
4318
+ "reactName": "onKeyUp"
4425
4319
  },
4426
4320
  {
4427
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
4428
- "name": "blur",
4429
- "reactName": "onBlur",
4430
- "inheritedFrom": {
4431
- "name": "Linksimple",
4432
- "module": "src/components/linksimple/linksimple.component.ts"
4433
- }
4321
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4322
+ "name": "focus",
4323
+ "reactName": "onFocus"
4434
4324
  }
4435
4325
  ],
4436
4326
  "attributes": [
4437
4327
  {
4438
- "name": "size",
4328
+ "name": "active",
4439
4329
  "type": {
4440
- "text": "PillButtonSize | IconButtonSize"
4330
+ "text": "boolean | undefined"
4441
4331
  },
4442
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
4443
- "default": "32",
4444
- "fieldName": "size"
4332
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
4333
+ "default": "undefined",
4334
+ "fieldName": "active"
4445
4335
  },
4446
4336
  {
4447
4337
  "name": "soft-disabled",
4448
4338
  "type": {
4449
4339
  "text": "boolean | undefined"
4450
4340
  },
4451
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4341
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4452
4342
  "default": "undefined",
4453
4343
  "fieldName": "softDisabled"
4454
4344
  },
4455
4345
  {
4456
- "name": "prefix-icon",
4346
+ "name": "size",
4457
4347
  "type": {
4458
- "text": "IconNames | undefined"
4348
+ "text": "ButtonSize"
4459
4349
  },
4460
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
4461
- "fieldName": "prefixIcon",
4462
- "inheritedFrom": {
4463
- "name": "ButtonComponentMixin",
4464
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
4465
- }
4350
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4351
+ "default": "32",
4352
+ "fieldName": "size"
4466
4353
  },
4467
4354
  {
4468
- "name": "postfix-icon",
4355
+ "name": "role",
4469
4356
  "type": {
4470
- "text": "IconNames | undefined"
4357
+ "text": "RoleType"
4471
4358
  },
4472
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
4473
- "fieldName": "postfixIcon",
4474
- "inheritedFrom": {
4475
- "name": "ButtonComponentMixin",
4476
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
4477
- }
4359
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
4360
+ "default": "button",
4361
+ "fieldName": "role"
4478
4362
  },
4479
4363
  {
4480
- "name": "variant",
4364
+ "name": "ariaStateKey",
4481
4365
  "type": {
4482
- "text": "ButtonVariant"
4366
+ "text": "string | undefined"
4483
4367
  },
4484
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
4485
- "default": "primary",
4486
- "fieldName": "variant",
4487
- "inheritedFrom": {
4488
- "name": "ButtonComponentMixin",
4489
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
4490
- }
4368
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
4369
+ "default": "'aria-pressed' (when)",
4370
+ "fieldName": "ariaStateKey"
4491
4371
  },
4492
4372
  {
4493
- "name": "color",
4373
+ "name": "type",
4494
4374
  "type": {
4495
- "text": "ButtonColor"
4375
+ "text": "ButtonType"
4496
4376
  },
4497
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
4498
- "default": "default",
4499
- "fieldName": "color",
4500
- "inheritedFrom": {
4501
- "name": "ButtonComponentMixin",
4502
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
4503
- }
4377
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
4378
+ "default": "button",
4379
+ "fieldName": "type"
4504
4380
  },
4505
4381
  {
4506
- "name": "disabled",
4382
+ "name": "autofocus",
4507
4383
  "type": {
4508
- "text": "boolean | undefined"
4384
+ "text": "boolean"
4509
4385
  },
4510
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4511
- "default": "undefined",
4512
- "fieldName": "disabled",
4386
+ "default": "false",
4387
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4388
+ "fieldName": "autofocus",
4513
4389
  "inheritedFrom": {
4514
- "name": "DisabledMixin",
4515
- "module": "src/utils/mixins/DisabledMixin.ts"
4390
+ "name": "AutoFocusMixin",
4391
+ "module": "src/utils/mixins/AutoFocusMixin.ts"
4516
4392
  }
4517
4393
  },
4518
4394
  {
@@ -4529,530 +4405,27 @@
4529
4405
  }
4530
4406
  },
4531
4407
  {
4532
- "name": "inline",
4408
+ "name": "disabled",
4533
4409
  "type": {
4534
- "text": "boolean"
4410
+ "text": "boolean | undefined"
4535
4411
  },
4536
- "description": "The link can be inline or standalone.",
4537
- "default": "false",
4538
- "fieldName": "inline",
4412
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4413
+ "default": "undefined",
4414
+ "fieldName": "disabled",
4539
4415
  "inheritedFrom": {
4540
- "name": "Linksimple",
4541
- "module": "src/components/linksimple/linksimple.component.ts"
4416
+ "name": "DisabledMixin",
4417
+ "module": "src/utils/mixins/DisabledMixin.ts"
4542
4418
  }
4543
- },
4419
+ }
4420
+ ],
4421
+ "mixins": [
4544
4422
  {
4545
- "name": "inverted",
4546
- "type": {
4547
- "text": "boolean"
4548
- },
4549
- "description": "The link color can be inverted by setting the inverted attribute to true.",
4550
- "default": "false",
4551
- "fieldName": "inverted",
4552
- "inheritedFrom": {
4553
- "name": "Linksimple",
4554
- "module": "src/components/linksimple/linksimple.component.ts"
4555
- }
4423
+ "name": "AutoFocusMixin",
4424
+ "module": "/src/utils/mixins/AutoFocusMixin"
4556
4425
  },
4557
4426
  {
4558
- "name": "href",
4559
- "type": {
4560
- "text": "string"
4561
- },
4562
- "default": "'#'",
4563
- "description": "Href for navigation. The URL that the hyperlink points to",
4564
- "fieldName": "href",
4565
- "inheritedFrom": {
4566
- "name": "Linksimple",
4567
- "module": "src/components/linksimple/linksimple.component.ts"
4568
- }
4569
- },
4570
- {
4571
- "name": "target",
4572
- "type": {
4573
- "text": "string"
4574
- },
4575
- "default": "'_self'",
4576
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
4577
- "fieldName": "target",
4578
- "inheritedFrom": {
4579
- "name": "Linksimple",
4580
- "module": "src/components/linksimple/linksimple.component.ts"
4581
- }
4582
- },
4583
- {
4584
- "name": "rel",
4585
- "type": {
4586
- "text": "string | undefined"
4587
- },
4588
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
4589
- "fieldName": "rel",
4590
- "inheritedFrom": {
4591
- "name": "Linksimple",
4592
- "module": "src/components/linksimple/linksimple.component.ts"
4593
- }
4594
- }
4595
- ],
4596
- "mixins": [
4597
- {
4598
- "name": "ButtonComponentMixin",
4599
- "module": "/src/utils/mixins/ButtonComponentMixin"
4600
- }
4601
- ],
4602
- "superclass": {
4603
- "name": "Linksimple",
4604
- "module": "/src/components/linksimple/linksimple.component"
4605
- },
4606
- "tagName": "mdc-buttonlink",
4607
- "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
4608
- "customElement": true,
4609
- "cssProperties": [
4610
- {
4611
- "description": "Border radius of the link.",
4612
- "name": "--mdc-link-border-radius",
4613
- "inheritedFrom": {
4614
- "name": "Linksimple",
4615
- "module": "src/components/linksimple/linksimple.component.ts"
4616
- }
4617
- },
4618
- {
4619
- "description": "Color of the link’s child content in the active state.",
4620
- "name": "--mdc-link-color-active",
4621
- "inheritedFrom": {
4622
- "name": "Linksimple",
4623
- "module": "src/components/linksimple/linksimple.component.ts"
4624
- }
4625
- },
4626
- {
4627
- "description": "Color of the link’s child content in the disabled state.",
4628
- "name": "--mdc-link-color-disabled",
4629
- "inheritedFrom": {
4630
- "name": "Linksimple",
4631
- "module": "src/components/linksimple/linksimple.component.ts"
4632
- }
4633
- },
4634
- {
4635
- "description": "Color of the link’s child content in the hover state.",
4636
- "name": "--mdc-link-color-hover",
4637
- "inheritedFrom": {
4638
- "name": "Linksimple",
4639
- "module": "src/components/linksimple/linksimple.component.ts"
4640
- }
4641
- },
4642
- {
4643
- "description": "Color of the link’s child content in the normal state.",
4644
- "name": "--mdc-link-color-normal",
4645
- "inheritedFrom": {
4646
- "name": "Linksimple",
4647
- "module": "src/components/linksimple/linksimple.component.ts"
4648
- }
4649
- },
4650
- {
4651
- "description": "Color of the inverted link’s child content in the active state.",
4652
- "name": "--mdc-link-inverted-color-active",
4653
- "inheritedFrom": {
4654
- "name": "Linksimple",
4655
- "module": "src/components/linksimple/linksimple.component.ts"
4656
- }
4657
- },
4658
- {
4659
- "description": "Color of the inverted link’s child content in the disabled state.",
4660
- "name": "--mdc-link-inverted-color-disabled",
4661
- "inheritedFrom": {
4662
- "name": "Linksimple",
4663
- "module": "src/components/linksimple/linksimple.component.ts"
4664
- }
4665
- },
4666
- {
4667
- "description": "Color of the inverted link’s child content in the hover state.",
4668
- "name": "--mdc-link-inverted-color-hover",
4669
- "inheritedFrom": {
4670
- "name": "Linksimple",
4671
- "module": "src/components/linksimple/linksimple.component.ts"
4672
- }
4673
- },
4674
- {
4675
- "description": "Color of the inverted link’s child content in the normal state.",
4676
- "name": "--mdc-link-inverted-color-normal",
4677
- "inheritedFrom": {
4678
- "name": "Linksimple",
4679
- "module": "src/components/linksimple/linksimple.component.ts"
4680
- }
4681
- }
4682
- ]
4683
- }
4684
- ],
4685
- "exports": [
4686
- {
4687
- "kind": "js",
4688
- "name": "default",
4689
- "declaration": {
4690
- "name": "ButtonLink",
4691
- "module": "components/buttonlink/buttonlink.component.js"
4692
- }
4693
- }
4694
- ]
4695
- },
4696
- {
4697
- "kind": "javascript-module",
4698
- "path": "components/buttonsimple/buttonsimple.component.js",
4699
- "declarations": [
4700
- {
4701
- "kind": "class",
4702
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
4703
- "name": "Buttonsimple",
4704
- "members": [
4705
- {
4706
- "kind": "field",
4707
- "name": "active",
4708
- "type": {
4709
- "text": "boolean | undefined"
4710
- },
4711
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
4712
- "default": "undefined",
4713
- "attribute": "active",
4714
- "reflects": true
4715
- },
4716
- {
4717
- "kind": "field",
4718
- "name": "softDisabled",
4719
- "type": {
4720
- "text": "boolean | undefined"
4721
- },
4722
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4723
- "default": "undefined",
4724
- "attribute": "soft-disabled",
4725
- "reflects": true
4726
- },
4727
- {
4728
- "kind": "field",
4729
- "name": "size",
4730
- "type": {
4731
- "text": "ButtonSize"
4732
- },
4733
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4734
- "default": "32",
4735
- "attribute": "size",
4736
- "reflects": true
4737
- },
4738
- {
4739
- "kind": "field",
4740
- "name": "role",
4741
- "type": {
4742
- "text": "RoleType"
4743
- },
4744
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
4745
- "default": "button",
4746
- "attribute": "role",
4747
- "reflects": true
4748
- },
4749
- {
4750
- "kind": "field",
4751
- "name": "ariaStateKey",
4752
- "type": {
4753
- "text": "string | undefined"
4754
- },
4755
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
4756
- "default": "'aria-pressed' (when)",
4757
- "attribute": "ariaStateKey",
4758
- "reflects": true
4759
- },
4760
- {
4761
- "kind": "field",
4762
- "name": "type",
4763
- "type": {
4764
- "text": "ButtonType"
4765
- },
4766
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
4767
- "default": "button",
4768
- "attribute": "type",
4769
- "reflects": true
4770
- },
4771
- {
4772
- "kind": "method",
4773
- "name": "executeAction",
4774
- "privacy": "protected"
4775
- },
4776
- {
4777
- "kind": "method",
4778
- "name": "setActive",
4779
- "privacy": "protected",
4780
- "parameters": [
4781
- {
4782
- "name": "element",
4783
- "type": {
4784
- "text": "HTMLElement"
4785
- },
4786
- "description": "The button element"
4787
- },
4788
- {
4789
- "name": "active",
4790
- "optional": true,
4791
- "type": {
4792
- "text": "boolean"
4793
- },
4794
- "description": "The active state of the element"
4795
- }
4796
- ],
4797
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
4798
- },
4799
- {
4800
- "kind": "method",
4801
- "name": "setSoftDisabled",
4802
- "privacy": "private",
4803
- "parameters": [
4804
- {
4805
- "name": "element",
4806
- "type": {
4807
- "text": "HTMLElement"
4808
- },
4809
- "description": "The button element."
4810
- },
4811
- {
4812
- "name": "softDisabled",
4813
- "optional": true,
4814
- "type": {
4815
- "text": "boolean"
4816
- },
4817
- "description": "The soft-disabled state."
4818
- }
4819
- ],
4820
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
4821
- },
4822
- {
4823
- "kind": "method",
4824
- "name": "setDisabled",
4825
- "privacy": "private",
4826
- "parameters": [
4827
- {
4828
- "name": "element",
4829
- "type": {
4830
- "text": "HTMLElement"
4831
- },
4832
- "description": "The button element."
4833
- },
4834
- {
4835
- "name": "disabled",
4836
- "type": {
4837
- "text": "boolean"
4838
- },
4839
- "description": "The disabled state."
4840
- }
4841
- ],
4842
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
4843
- },
4844
- {
4845
- "kind": "method",
4846
- "name": "triggerClickEvent",
4847
- "privacy": "private"
4848
- },
4849
- {
4850
- "kind": "method",
4851
- "name": "handleBlur",
4852
- "privacy": "private",
4853
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4854
- },
4855
- {
4856
- "kind": "method",
4857
- "name": "handleKeyDown",
4858
- "privacy": "private",
4859
- "parameters": [
4860
- {
4861
- "name": "event",
4862
- "type": {
4863
- "text": "KeyboardEvent"
4864
- },
4865
- "description": "The keyboard event."
4866
- }
4867
- ],
4868
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
4869
- },
4870
- {
4871
- "kind": "method",
4872
- "name": "handleKeyUp",
4873
- "privacy": "private",
4874
- "parameters": [
4875
- {
4876
- "name": "event",
4877
- "type": {
4878
- "text": "KeyboardEvent"
4879
- },
4880
- "description": "The keyboard event."
4881
- }
4882
- ],
4883
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
4884
- },
4885
- {
4886
- "kind": "field",
4887
- "name": "autofocus",
4888
- "type": {
4889
- "text": "boolean"
4890
- },
4891
- "default": "false",
4892
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4893
- "attribute": "autofocus",
4894
- "reflects": true,
4895
- "inheritedFrom": {
4896
- "name": "AutoFocusMixin",
4897
- "module": "utils/mixins/AutoFocusMixin.js"
4898
- }
4899
- },
4900
- {
4901
- "kind": "field",
4902
- "name": "tabIndex",
4903
- "type": {
4904
- "text": "number"
4905
- },
4906
- "default": "0",
4907
- "description": "This property specifies the tab order of the element.",
4908
- "attribute": "tabIndex",
4909
- "reflects": true,
4910
- "inheritedFrom": {
4911
- "name": "TabIndexMixin",
4912
- "module": "utils/mixins/TabIndexMixin.js"
4913
- }
4914
- },
4915
- {
4916
- "kind": "field",
4917
- "name": "disabled",
4918
- "type": {
4919
- "text": "boolean | undefined"
4920
- },
4921
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4922
- "default": "undefined",
4923
- "attribute": "disabled",
4924
- "reflects": true,
4925
- "inheritedFrom": {
4926
- "name": "DisabledMixin",
4927
- "module": "utils/mixins/DisabledMixin.js"
4928
- }
4929
- }
4930
- ],
4931
- "events": [
4932
- {
4933
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
4934
- "name": "click",
4935
- "reactName": "onClick"
4936
- },
4937
- {
4938
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4939
- "name": "keydown",
4940
- "reactName": "onKeyDown"
4941
- },
4942
- {
4943
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4944
- "name": "keyup",
4945
- "reactName": "onKeyUp"
4946
- },
4947
- {
4948
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4949
- "name": "focus",
4950
- "reactName": "onFocus"
4951
- }
4952
- ],
4953
- "attributes": [
4954
- {
4955
- "name": "active",
4956
- "type": {
4957
- "text": "boolean | undefined"
4958
- },
4959
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
4960
- "default": "undefined",
4961
- "fieldName": "active"
4962
- },
4963
- {
4964
- "name": "soft-disabled",
4965
- "type": {
4966
- "text": "boolean | undefined"
4967
- },
4968
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4969
- "default": "undefined",
4970
- "fieldName": "softDisabled"
4971
- },
4972
- {
4973
- "name": "size",
4974
- "type": {
4975
- "text": "ButtonSize"
4976
- },
4977
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4978
- "default": "32",
4979
- "fieldName": "size"
4980
- },
4981
- {
4982
- "name": "role",
4983
- "type": {
4984
- "text": "RoleType"
4985
- },
4986
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
4987
- "default": "button",
4988
- "fieldName": "role"
4989
- },
4990
- {
4991
- "name": "ariaStateKey",
4992
- "type": {
4993
- "text": "string | undefined"
4994
- },
4995
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
4996
- "default": "'aria-pressed' (when)",
4997
- "fieldName": "ariaStateKey"
4998
- },
4999
- {
5000
- "name": "type",
5001
- "type": {
5002
- "text": "ButtonType"
5003
- },
5004
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
5005
- "default": "button",
5006
- "fieldName": "type"
5007
- },
5008
- {
5009
- "name": "autofocus",
5010
- "type": {
5011
- "text": "boolean"
5012
- },
5013
- "default": "false",
5014
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5015
- "fieldName": "autofocus",
5016
- "inheritedFrom": {
5017
- "name": "AutoFocusMixin",
5018
- "module": "src/utils/mixins/AutoFocusMixin.ts"
5019
- }
5020
- },
5021
- {
5022
- "name": "tabIndex",
5023
- "type": {
5024
- "text": "number"
5025
- },
5026
- "default": "0",
5027
- "description": "This property specifies the tab order of the element.",
5028
- "fieldName": "tabIndex",
5029
- "inheritedFrom": {
5030
- "name": "TabIndexMixin",
5031
- "module": "src/utils/mixins/TabIndexMixin.ts"
5032
- }
5033
- },
5034
- {
5035
- "name": "disabled",
5036
- "type": {
5037
- "text": "boolean | undefined"
5038
- },
5039
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5040
- "default": "undefined",
5041
- "fieldName": "disabled",
5042
- "inheritedFrom": {
5043
- "name": "DisabledMixin",
5044
- "module": "src/utils/mixins/DisabledMixin.ts"
5045
- }
5046
- }
5047
- ],
5048
- "mixins": [
5049
- {
5050
- "name": "AutoFocusMixin",
5051
- "module": "/src/utils/mixins/AutoFocusMixin"
5052
- },
5053
- {
5054
- "name": "TabIndexMixin",
5055
- "module": "/src/utils/mixins/TabIndexMixin"
4427
+ "name": "TabIndexMixin",
4428
+ "module": "/src/utils/mixins/TabIndexMixin"
5056
4429
  },
5057
4430
  {
5058
4431
  "name": "DisabledMixin",
@@ -6370,6 +5743,633 @@
6370
5743
  }
6371
5744
  ]
6372
5745
  },
5746
+ {
5747
+ "kind": "javascript-module",
5748
+ "path": "components/buttonlink/buttonlink.component.js",
5749
+ "declarations": [
5750
+ {
5751
+ "kind": "class",
5752
+ "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
5753
+ "name": "ButtonLink",
5754
+ "members": [
5755
+ {
5756
+ "kind": "field",
5757
+ "name": "size",
5758
+ "type": {
5759
+ "text": "PillButtonSize | IconButtonSize"
5760
+ },
5761
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
5762
+ "default": "32",
5763
+ "attribute": "size",
5764
+ "reflects": true
5765
+ },
5766
+ {
5767
+ "kind": "field",
5768
+ "name": "softDisabled",
5769
+ "type": {
5770
+ "text": "boolean | undefined"
5771
+ },
5772
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
5773
+ "default": "undefined",
5774
+ "attribute": "soft-disabled",
5775
+ "reflects": true
5776
+ },
5777
+ {
5778
+ "kind": "method",
5779
+ "name": "setSoftDisabled",
5780
+ "privacy": "private",
5781
+ "parameters": [
5782
+ {
5783
+ "name": "element",
5784
+ "type": {
5785
+ "text": "HTMLElement"
5786
+ },
5787
+ "description": "The buttonlink element."
5788
+ },
5789
+ {
5790
+ "name": "softDisabled",
5791
+ "optional": true,
5792
+ "type": {
5793
+ "text": "boolean"
5794
+ },
5795
+ "description": "The soft-disabled state."
5796
+ }
5797
+ ],
5798
+ "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
5799
+ },
5800
+ {
5801
+ "kind": "field",
5802
+ "name": "prefixIcon",
5803
+ "type": {
5804
+ "text": "IconNames | undefined"
5805
+ },
5806
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
5807
+ "attribute": "prefix-icon",
5808
+ "reflects": true,
5809
+ "inheritedFrom": {
5810
+ "name": "ButtonComponentMixin",
5811
+ "module": "utils/mixins/ButtonComponentMixin.js"
5812
+ }
5813
+ },
5814
+ {
5815
+ "kind": "field",
5816
+ "name": "postfixIcon",
5817
+ "type": {
5818
+ "text": "IconNames | undefined"
5819
+ },
5820
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
5821
+ "attribute": "postfix-icon",
5822
+ "reflects": true,
5823
+ "inheritedFrom": {
5824
+ "name": "ButtonComponentMixin",
5825
+ "module": "utils/mixins/ButtonComponentMixin.js"
5826
+ }
5827
+ },
5828
+ {
5829
+ "kind": "field",
5830
+ "name": "variant",
5831
+ "type": {
5832
+ "text": "ButtonVariant"
5833
+ },
5834
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
5835
+ "default": "primary",
5836
+ "attribute": "variant",
5837
+ "inheritedFrom": {
5838
+ "name": "ButtonComponentMixin",
5839
+ "module": "utils/mixins/ButtonComponentMixin.js"
5840
+ }
5841
+ },
5842
+ {
5843
+ "kind": "field",
5844
+ "name": "color",
5845
+ "type": {
5846
+ "text": "ButtonColor"
5847
+ },
5848
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
5849
+ "default": "default",
5850
+ "attribute": "color",
5851
+ "inheritedFrom": {
5852
+ "name": "ButtonComponentMixin",
5853
+ "module": "utils/mixins/ButtonComponentMixin.js"
5854
+ }
5855
+ },
5856
+ {
5857
+ "kind": "method",
5858
+ "name": "setVariant",
5859
+ "privacy": "protected",
5860
+ "parameters": [
5861
+ {
5862
+ "name": "variant",
5863
+ "type": {
5864
+ "text": "ButtonVariant"
5865
+ },
5866
+ "description": "The variant to set."
5867
+ }
5868
+ ],
5869
+ "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
5870
+ "inheritedFrom": {
5871
+ "name": "ButtonComponentMixin",
5872
+ "module": "utils/mixins/ButtonComponentMixin.js"
5873
+ }
5874
+ },
5875
+ {
5876
+ "kind": "method",
5877
+ "name": "setColor",
5878
+ "privacy": "protected",
5879
+ "parameters": [
5880
+ {
5881
+ "name": "color",
5882
+ "type": {
5883
+ "text": "ButtonColor"
5884
+ },
5885
+ "description": "The color to set."
5886
+ }
5887
+ ],
5888
+ "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
5889
+ "inheritedFrom": {
5890
+ "name": "ButtonComponentMixin",
5891
+ "module": "utils/mixins/ButtonComponentMixin.js"
5892
+ }
5893
+ },
5894
+ {
5895
+ "kind": "method",
5896
+ "name": "setSize",
5897
+ "privacy": "protected",
5898
+ "parameters": [
5899
+ {
5900
+ "name": "size",
5901
+ "type": {
5902
+ "text": "PillButtonSize | IconButtonSize"
5903
+ },
5904
+ "description": "The size to set."
5905
+ }
5906
+ ],
5907
+ "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
5908
+ "inheritedFrom": {
5909
+ "name": "ButtonComponentMixin",
5910
+ "module": "utils/mixins/ButtonComponentMixin.js"
5911
+ }
5912
+ },
5913
+ {
5914
+ "kind": "method",
5915
+ "name": "inferButtonType",
5916
+ "privacy": "protected",
5917
+ "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
5918
+ "parameters": [
5919
+ {
5920
+ "description": "default slot of button",
5921
+ "name": "slot"
5922
+ }
5923
+ ],
5924
+ "inheritedFrom": {
5925
+ "name": "ButtonComponentMixin",
5926
+ "module": "utils/mixins/ButtonComponentMixin.js"
5927
+ }
5928
+ },
5929
+ {
5930
+ "kind": "field",
5931
+ "name": "disabled",
5932
+ "type": {
5933
+ "text": "boolean | undefined"
5934
+ },
5935
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5936
+ "default": "undefined",
5937
+ "attribute": "disabled",
5938
+ "reflects": true,
5939
+ "inheritedFrom": {
5940
+ "name": "DisabledMixin",
5941
+ "module": "utils/mixins/DisabledMixin.js"
5942
+ }
5943
+ },
5944
+ {
5945
+ "kind": "field",
5946
+ "name": "tabIndex",
5947
+ "type": {
5948
+ "text": "number"
5949
+ },
5950
+ "default": "0",
5951
+ "description": "This property specifies the tab order of the element.",
5952
+ "attribute": "tabIndex",
5953
+ "reflects": true,
5954
+ "inheritedFrom": {
5955
+ "name": "TabIndexMixin",
5956
+ "module": "utils/mixins/TabIndexMixin.js"
5957
+ }
5958
+ },
5959
+ {
5960
+ "kind": "field",
5961
+ "name": "inline",
5962
+ "type": {
5963
+ "text": "boolean"
5964
+ },
5965
+ "description": "The link can be inline or standalone.",
5966
+ "default": "false",
5967
+ "attribute": "inline",
5968
+ "reflects": true,
5969
+ "inheritedFrom": {
5970
+ "name": "Linksimple",
5971
+ "module": "components/linksimple/linksimple.component.js"
5972
+ }
5973
+ },
5974
+ {
5975
+ "kind": "field",
5976
+ "name": "inverted",
5977
+ "type": {
5978
+ "text": "boolean"
5979
+ },
5980
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
5981
+ "default": "false",
5982
+ "attribute": "inverted",
5983
+ "reflects": true,
5984
+ "inheritedFrom": {
5985
+ "name": "Linksimple",
5986
+ "module": "components/linksimple/linksimple.component.js"
5987
+ }
5988
+ },
5989
+ {
5990
+ "kind": "field",
5991
+ "name": "href",
5992
+ "type": {
5993
+ "text": "string"
5994
+ },
5995
+ "default": "'#'",
5996
+ "description": "Href for navigation. The URL that the hyperlink points to",
5997
+ "attribute": "href",
5998
+ "reflects": true,
5999
+ "inheritedFrom": {
6000
+ "name": "Linksimple",
6001
+ "module": "components/linksimple/linksimple.component.js"
6002
+ }
6003
+ },
6004
+ {
6005
+ "kind": "field",
6006
+ "name": "target",
6007
+ "type": {
6008
+ "text": "string"
6009
+ },
6010
+ "default": "'_self'",
6011
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
6012
+ "attribute": "target",
6013
+ "reflects": true,
6014
+ "inheritedFrom": {
6015
+ "name": "Linksimple",
6016
+ "module": "components/linksimple/linksimple.component.js"
6017
+ }
6018
+ },
6019
+ {
6020
+ "kind": "field",
6021
+ "name": "rel",
6022
+ "type": {
6023
+ "text": "string | undefined"
6024
+ },
6025
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
6026
+ "attribute": "rel",
6027
+ "reflects": true,
6028
+ "inheritedFrom": {
6029
+ "name": "Linksimple",
6030
+ "module": "components/linksimple/linksimple.component.js"
6031
+ }
6032
+ },
6033
+ {
6034
+ "kind": "method",
6035
+ "name": "handleNavigation",
6036
+ "privacy": "private",
6037
+ "return": {
6038
+ "type": {
6039
+ "text": "void"
6040
+ }
6041
+ },
6042
+ "parameters": [
6043
+ {
6044
+ "name": "e",
6045
+ "type": {
6046
+ "text": "MouseEvent | KeyboardEvent"
6047
+ }
6048
+ }
6049
+ ],
6050
+ "inheritedFrom": {
6051
+ "name": "Linksimple",
6052
+ "module": "components/linksimple/linksimple.component.js"
6053
+ }
6054
+ },
6055
+ {
6056
+ "kind": "method",
6057
+ "name": "setDisabled",
6058
+ "privacy": "private",
6059
+ "parameters": [
6060
+ {
6061
+ "name": "disabled",
6062
+ "type": {
6063
+ "text": "boolean"
6064
+ },
6065
+ "description": "Whether the element should be disabled"
6066
+ }
6067
+ ],
6068
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
6069
+ "inheritedFrom": {
6070
+ "name": "Linksimple",
6071
+ "module": "components/linksimple/linksimple.component.js"
6072
+ }
6073
+ }
6074
+ ],
6075
+ "events": [
6076
+ {
6077
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
6078
+ "name": "click",
6079
+ "reactName": "onClick",
6080
+ "inheritedFrom": {
6081
+ "name": "Linksimple",
6082
+ "module": "src/components/linksimple/linksimple.component.ts"
6083
+ }
6084
+ },
6085
+ {
6086
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
6087
+ "name": "keydown",
6088
+ "reactName": "onKeyDown",
6089
+ "inheritedFrom": {
6090
+ "name": "Linksimple",
6091
+ "module": "src/components/linksimple/linksimple.component.ts"
6092
+ }
6093
+ },
6094
+ {
6095
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
6096
+ "name": "focus",
6097
+ "reactName": "onFocus",
6098
+ "inheritedFrom": {
6099
+ "name": "Linksimple",
6100
+ "module": "src/components/linksimple/linksimple.component.ts"
6101
+ }
6102
+ },
6103
+ {
6104
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
6105
+ "name": "blur",
6106
+ "reactName": "onBlur",
6107
+ "inheritedFrom": {
6108
+ "name": "Linksimple",
6109
+ "module": "src/components/linksimple/linksimple.component.ts"
6110
+ }
6111
+ }
6112
+ ],
6113
+ "attributes": [
6114
+ {
6115
+ "name": "size",
6116
+ "type": {
6117
+ "text": "PillButtonSize | IconButtonSize"
6118
+ },
6119
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
6120
+ "default": "32",
6121
+ "fieldName": "size"
6122
+ },
6123
+ {
6124
+ "name": "soft-disabled",
6125
+ "type": {
6126
+ "text": "boolean | undefined"
6127
+ },
6128
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6129
+ "default": "undefined",
6130
+ "fieldName": "softDisabled"
6131
+ },
6132
+ {
6133
+ "name": "prefix-icon",
6134
+ "type": {
6135
+ "text": "IconNames | undefined"
6136
+ },
6137
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
6138
+ "fieldName": "prefixIcon",
6139
+ "inheritedFrom": {
6140
+ "name": "ButtonComponentMixin",
6141
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6142
+ }
6143
+ },
6144
+ {
6145
+ "name": "postfix-icon",
6146
+ "type": {
6147
+ "text": "IconNames | undefined"
6148
+ },
6149
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
6150
+ "fieldName": "postfixIcon",
6151
+ "inheritedFrom": {
6152
+ "name": "ButtonComponentMixin",
6153
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6154
+ }
6155
+ },
6156
+ {
6157
+ "name": "variant",
6158
+ "type": {
6159
+ "text": "ButtonVariant"
6160
+ },
6161
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
6162
+ "default": "primary",
6163
+ "fieldName": "variant",
6164
+ "inheritedFrom": {
6165
+ "name": "ButtonComponentMixin",
6166
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6167
+ }
6168
+ },
6169
+ {
6170
+ "name": "color",
6171
+ "type": {
6172
+ "text": "ButtonColor"
6173
+ },
6174
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
6175
+ "default": "default",
6176
+ "fieldName": "color",
6177
+ "inheritedFrom": {
6178
+ "name": "ButtonComponentMixin",
6179
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6180
+ }
6181
+ },
6182
+ {
6183
+ "name": "disabled",
6184
+ "type": {
6185
+ "text": "boolean | undefined"
6186
+ },
6187
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6188
+ "default": "undefined",
6189
+ "fieldName": "disabled",
6190
+ "inheritedFrom": {
6191
+ "name": "DisabledMixin",
6192
+ "module": "src/utils/mixins/DisabledMixin.ts"
6193
+ }
6194
+ },
6195
+ {
6196
+ "name": "tabIndex",
6197
+ "type": {
6198
+ "text": "number"
6199
+ },
6200
+ "default": "0",
6201
+ "description": "This property specifies the tab order of the element.",
6202
+ "fieldName": "tabIndex",
6203
+ "inheritedFrom": {
6204
+ "name": "TabIndexMixin",
6205
+ "module": "src/utils/mixins/TabIndexMixin.ts"
6206
+ }
6207
+ },
6208
+ {
6209
+ "name": "inline",
6210
+ "type": {
6211
+ "text": "boolean"
6212
+ },
6213
+ "description": "The link can be inline or standalone.",
6214
+ "default": "false",
6215
+ "fieldName": "inline",
6216
+ "inheritedFrom": {
6217
+ "name": "Linksimple",
6218
+ "module": "src/components/linksimple/linksimple.component.ts"
6219
+ }
6220
+ },
6221
+ {
6222
+ "name": "inverted",
6223
+ "type": {
6224
+ "text": "boolean"
6225
+ },
6226
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
6227
+ "default": "false",
6228
+ "fieldName": "inverted",
6229
+ "inheritedFrom": {
6230
+ "name": "Linksimple",
6231
+ "module": "src/components/linksimple/linksimple.component.ts"
6232
+ }
6233
+ },
6234
+ {
6235
+ "name": "href",
6236
+ "type": {
6237
+ "text": "string"
6238
+ },
6239
+ "default": "'#'",
6240
+ "description": "Href for navigation. The URL that the hyperlink points to",
6241
+ "fieldName": "href",
6242
+ "inheritedFrom": {
6243
+ "name": "Linksimple",
6244
+ "module": "src/components/linksimple/linksimple.component.ts"
6245
+ }
6246
+ },
6247
+ {
6248
+ "name": "target",
6249
+ "type": {
6250
+ "text": "string"
6251
+ },
6252
+ "default": "'_self'",
6253
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
6254
+ "fieldName": "target",
6255
+ "inheritedFrom": {
6256
+ "name": "Linksimple",
6257
+ "module": "src/components/linksimple/linksimple.component.ts"
6258
+ }
6259
+ },
6260
+ {
6261
+ "name": "rel",
6262
+ "type": {
6263
+ "text": "string | undefined"
6264
+ },
6265
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
6266
+ "fieldName": "rel",
6267
+ "inheritedFrom": {
6268
+ "name": "Linksimple",
6269
+ "module": "src/components/linksimple/linksimple.component.ts"
6270
+ }
6271
+ }
6272
+ ],
6273
+ "mixins": [
6274
+ {
6275
+ "name": "ButtonComponentMixin",
6276
+ "module": "/src/utils/mixins/ButtonComponentMixin"
6277
+ }
6278
+ ],
6279
+ "superclass": {
6280
+ "name": "Linksimple",
6281
+ "module": "/src/components/linksimple/linksimple.component"
6282
+ },
6283
+ "tagName": "mdc-buttonlink",
6284
+ "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
6285
+ "customElement": true,
6286
+ "cssProperties": [
6287
+ {
6288
+ "description": "Border radius of the link.",
6289
+ "name": "--mdc-link-border-radius",
6290
+ "inheritedFrom": {
6291
+ "name": "Linksimple",
6292
+ "module": "src/components/linksimple/linksimple.component.ts"
6293
+ }
6294
+ },
6295
+ {
6296
+ "description": "Color of the link’s child content in the active state.",
6297
+ "name": "--mdc-link-color-active",
6298
+ "inheritedFrom": {
6299
+ "name": "Linksimple",
6300
+ "module": "src/components/linksimple/linksimple.component.ts"
6301
+ }
6302
+ },
6303
+ {
6304
+ "description": "Color of the link’s child content in the disabled state.",
6305
+ "name": "--mdc-link-color-disabled",
6306
+ "inheritedFrom": {
6307
+ "name": "Linksimple",
6308
+ "module": "src/components/linksimple/linksimple.component.ts"
6309
+ }
6310
+ },
6311
+ {
6312
+ "description": "Color of the link’s child content in the hover state.",
6313
+ "name": "--mdc-link-color-hover",
6314
+ "inheritedFrom": {
6315
+ "name": "Linksimple",
6316
+ "module": "src/components/linksimple/linksimple.component.ts"
6317
+ }
6318
+ },
6319
+ {
6320
+ "description": "Color of the link’s child content in the normal state.",
6321
+ "name": "--mdc-link-color-normal",
6322
+ "inheritedFrom": {
6323
+ "name": "Linksimple",
6324
+ "module": "src/components/linksimple/linksimple.component.ts"
6325
+ }
6326
+ },
6327
+ {
6328
+ "description": "Color of the inverted link’s child content in the active state.",
6329
+ "name": "--mdc-link-inverted-color-active",
6330
+ "inheritedFrom": {
6331
+ "name": "Linksimple",
6332
+ "module": "src/components/linksimple/linksimple.component.ts"
6333
+ }
6334
+ },
6335
+ {
6336
+ "description": "Color of the inverted link’s child content in the disabled state.",
6337
+ "name": "--mdc-link-inverted-color-disabled",
6338
+ "inheritedFrom": {
6339
+ "name": "Linksimple",
6340
+ "module": "src/components/linksimple/linksimple.component.ts"
6341
+ }
6342
+ },
6343
+ {
6344
+ "description": "Color of the inverted link’s child content in the hover state.",
6345
+ "name": "--mdc-link-inverted-color-hover",
6346
+ "inheritedFrom": {
6347
+ "name": "Linksimple",
6348
+ "module": "src/components/linksimple/linksimple.component.ts"
6349
+ }
6350
+ },
6351
+ {
6352
+ "description": "Color of the inverted link’s child content in the normal state.",
6353
+ "name": "--mdc-link-inverted-color-normal",
6354
+ "inheritedFrom": {
6355
+ "name": "Linksimple",
6356
+ "module": "src/components/linksimple/linksimple.component.ts"
6357
+ }
6358
+ }
6359
+ ]
6360
+ }
6361
+ ],
6362
+ "exports": [
6363
+ {
6364
+ "kind": "js",
6365
+ "name": "default",
6366
+ "declaration": {
6367
+ "name": "ButtonLink",
6368
+ "module": "components/buttonlink/buttonlink.component.js"
6369
+ }
6370
+ }
6371
+ ]
6372
+ },
6373
6373
  {
6374
6374
  "kind": "javascript-module",
6375
6375
  "path": "components/cardcheckbox/cardcheckbox.component.js",
@@ -37301,24 +37301,28 @@
37301
37301
  },
37302
37302
  {
37303
37303
  "kind": "javascript-module",
37304
- "path": "components/toggletip/toggletip.component.js",
37304
+ "path": "components/tooltip/tooltip.component.js",
37305
37305
  "declarations": [
37306
37306
  {
37307
37307
  "kind": "class",
37308
- "description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
37309
- "name": "ToggleTip",
37308
+ "description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
37309
+ "name": "Tooltip",
37310
37310
  "cssProperties": [
37311
37311
  {
37312
- "description": "The maximum width of the toggletip.",
37313
- "name": "--mdc-toggletip-max-width"
37312
+ "description": "The maximum width of the tooltip.",
37313
+ "name": "--mdc-tooltip-max-width"
37314
37314
  },
37315
37315
  {
37316
- "description": "The text color of the toggletip.",
37317
- "name": "--mdc-toggletip-text-color"
37316
+ "description": "The padding of the tooltip.",
37317
+ "name": "--mdc-tooltip-padding"
37318
37318
  },
37319
37319
  {
37320
- "description": "The text color of the toggletip when the color is contrast.",
37321
- "name": "--mdc-toggletip-text-color-contrast"
37320
+ "description": "The text color of the tooltip.",
37321
+ "name": "--mdc-tooltip-text-color"
37322
+ },
37323
+ {
37324
+ "description": "The text color of the tooltip when the color is contrast.",
37325
+ "name": "--mdc-tooltip-text-color-contrast"
37322
37326
  },
37323
37327
  {
37324
37328
  "description": "radius of the arrow border",
@@ -37401,53 +37405,29 @@
37401
37405
  }
37402
37406
  }
37403
37407
  ],
37404
- "slots": [
37405
- {
37406
- "description": "Default slot for the toggletip content",
37407
- "name": "",
37408
- "inheritedFrom": {
37409
- "name": "Popover",
37410
- "module": "src/components/popover/popover.component.ts"
37411
- }
37412
- }
37413
- ],
37414
37408
  "members": [
37415
37409
  {
37416
37410
  "kind": "field",
37417
- "name": "defaultSlotNodes",
37418
- "type": {
37419
- "text": "Array<Node>"
37420
- },
37421
- "privacy": "private"
37422
- },
37423
- {
37424
- "kind": "field",
37425
- "name": "screenreaderAnnouncerIdentity",
37411
+ "name": "tooltipType",
37426
37412
  "type": {
37427
- "text": "string | undefined"
37413
+ "text": "TooltipType"
37428
37414
  },
37429
- "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
37430
- "attribute": "screenreader-announcer-identity",
37415
+ "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
37416
+ "default": "'description'",
37417
+ "attribute": "tooltip-type",
37431
37418
  "reflects": true
37432
37419
  },
37433
37420
  {
37434
37421
  "kind": "field",
37435
- "name": "placement",
37422
+ "name": "defaultSlotNodes",
37436
37423
  "type": {
37437
- "text": "PopoverPlacement"
37424
+ "text": "Array<Node>"
37438
37425
  },
37439
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
37440
- "default": "bottom",
37441
- "attribute": "placement",
37442
- "reflects": true,
37443
- "inheritedFrom": {
37444
- "name": "Popover",
37445
- "module": "components/popover/popover.component.js"
37446
- }
37426
+ "privacy": "private"
37447
37427
  },
37448
37428
  {
37449
37429
  "kind": "method",
37450
- "name": "getToggleTipText",
37430
+ "name": "getTooltipText",
37451
37431
  "privacy": "private",
37452
37432
  "return": {
37453
37433
  "type": {
@@ -37455,6 +37435,37 @@
37455
37435
  }
37456
37436
  }
37457
37437
  },
37438
+ {
37439
+ "kind": "method",
37440
+ "name": "setTooltipType",
37441
+ "privacy": "private",
37442
+ "return": {
37443
+ "type": {
37444
+ "text": "void"
37445
+ }
37446
+ },
37447
+ "parameters": [
37448
+ {
37449
+ "name": "type",
37450
+ "type": {
37451
+ "text": "TooltipType"
37452
+ },
37453
+ "description": "The type to set."
37454
+ }
37455
+ ],
37456
+ "description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
37457
+ },
37458
+ {
37459
+ "kind": "method",
37460
+ "name": "onIdUpdated",
37461
+ "privacy": "private",
37462
+ "return": {
37463
+ "type": {
37464
+ "text": "Promise<void>"
37465
+ }
37466
+ },
37467
+ "description": "Updates the tooltip id if it is empty."
37468
+ },
37458
37469
  {
37459
37470
  "kind": "method",
37460
37471
  "name": "onPlacementUpdated",
@@ -37464,7 +37475,27 @@
37464
37475
  "text": "void"
37465
37476
  }
37466
37477
  },
37467
- "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
37478
+ "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
37479
+ },
37480
+ {
37481
+ "kind": "method",
37482
+ "name": "onTooltipTypeUpdated",
37483
+ "privacy": "private",
37484
+ "return": {
37485
+ "type": {
37486
+ "text": "void"
37487
+ }
37488
+ },
37489
+ "parameters": [
37490
+ {
37491
+ "name": "changedProperties",
37492
+ "type": {
37493
+ "text": "PropertyValues"
37494
+ },
37495
+ "description": "The changed properties."
37496
+ }
37497
+ ],
37498
+ "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
37468
37499
  },
37469
37500
  {
37470
37501
  "kind": "field",
@@ -38057,6 +38088,21 @@
38057
38088
  "module": "components/popover/popover.component.js"
38058
38089
  }
38059
38090
  },
38091
+ {
38092
+ "kind": "field",
38093
+ "name": "placement",
38094
+ "type": {
38095
+ "text": "PopoverPlacement"
38096
+ },
38097
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
38098
+ "default": "bottom",
38099
+ "attribute": "placement",
38100
+ "reflects": true,
38101
+ "inheritedFrom": {
38102
+ "name": "Popover",
38103
+ "module": "components/popover/popover.component.js"
38104
+ }
38105
+ },
38060
38106
  {
38061
38107
  "kind": "field",
38062
38108
  "name": "color",
@@ -38685,550 +38731,1031 @@
38685
38731
  "description": "Hides the popover.",
38686
38732
  "inheritedFrom": {
38687
38733
  "name": "Popover",
38688
- "module": "components/popover/popover.component.js"
38734
+ "module": "components/popover/popover.component.js"
38735
+ }
38736
+ },
38737
+ {
38738
+ "kind": "field",
38739
+ "name": "togglePopoverVisible",
38740
+ "privacy": "public",
38741
+ "description": "Toggles the popover visibility.",
38742
+ "inheritedFrom": {
38743
+ "name": "Popover",
38744
+ "module": "components/popover/popover.component.js"
38745
+ }
38746
+ },
38747
+ {
38748
+ "kind": "field",
38749
+ "name": "positionPopover",
38750
+ "privacy": "private",
38751
+ "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.",
38752
+ "inheritedFrom": {
38753
+ "name": "Popover",
38754
+ "module": "components/popover/popover.component.js"
38755
+ }
38756
+ },
38757
+ {
38758
+ "kind": "field",
38759
+ "name": "findClosestPopover",
38760
+ "privacy": "protected",
38761
+ "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.",
38762
+ "parameters": [
38763
+ {
38764
+ "description": "The element to start searching from.",
38765
+ "name": "element"
38766
+ }
38767
+ ],
38768
+ "inheritedFrom": {
38769
+ "name": "Popover",
38770
+ "module": "components/popover/popover.component.js"
38771
+ }
38772
+ },
38773
+ {
38774
+ "kind": "field",
38775
+ "name": "utils",
38776
+ "default": "new PopoverUtils(this)",
38777
+ "inheritedFrom": {
38778
+ "name": "Popover",
38779
+ "module": "components/popover/popover.component.js"
38780
+ }
38781
+ }
38782
+ ],
38783
+ "events": [
38784
+ {
38785
+ "description": "(React: onShown) This event is dispatched when the tooltip is shown",
38786
+ "name": "shown",
38787
+ "reactName": "onShown",
38788
+ "inheritedFrom": {
38789
+ "name": "Popover",
38790
+ "module": "src/components/popover/popover.component.ts"
38791
+ }
38792
+ },
38793
+ {
38794
+ "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
38795
+ "name": "hidden",
38796
+ "reactName": "onHidden",
38797
+ "inheritedFrom": {
38798
+ "name": "Popover",
38799
+ "module": "src/components/popover/popover.component.ts"
38800
+ }
38801
+ },
38802
+ {
38803
+ "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
38804
+ "name": "created",
38805
+ "reactName": "onCreated",
38806
+ "inheritedFrom": {
38807
+ "name": "Popover",
38808
+ "module": "src/components/popover/popover.component.ts"
38809
+ }
38810
+ },
38811
+ {
38812
+ "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
38813
+ "name": "destroyed",
38814
+ "reactName": "onDestroyed",
38815
+ "inheritedFrom": {
38816
+ "name": "Popover",
38817
+ "module": "src/components/popover/popover.component.ts"
38818
+ }
38819
+ }
38820
+ ],
38821
+ "attributes": [
38822
+ {
38823
+ "name": "tooltip-type",
38824
+ "type": {
38825
+ "text": "TooltipType"
38826
+ },
38827
+ "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
38828
+ "default": "'description'",
38829
+ "fieldName": "tooltipType"
38830
+ },
38831
+ {
38832
+ "name": "should-focus-trap-wrap",
38833
+ "type": {
38834
+ "text": "boolean"
38835
+ },
38836
+ "default": "true",
38837
+ "description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
38838
+ "fieldName": "shouldFocusTrapWrap",
38839
+ "inheritedFrom": {
38840
+ "name": "Popover",
38841
+ "module": "src/components/popover/popover.component.ts"
38842
+ }
38843
+ },
38844
+ {
38845
+ "name": "id",
38846
+ "type": {
38847
+ "text": "string"
38848
+ },
38849
+ "default": "''",
38850
+ "description": "The unique ID of the popover.",
38851
+ "fieldName": "id",
38852
+ "inheritedFrom": {
38853
+ "name": "Popover",
38854
+ "module": "src/components/popover/popover.component.ts"
38855
+ }
38856
+ },
38857
+ {
38858
+ "name": "triggerID",
38859
+ "type": {
38860
+ "text": "string"
38861
+ },
38862
+ "default": "''",
38863
+ "description": "The ID of the element that triggers the popover.\nThis attribute is required for the popover to work.",
38864
+ "fieldName": "triggerID",
38865
+ "inheritedFrom": {
38866
+ "name": "Popover",
38867
+ "module": "src/components/popover/popover.component.ts"
38868
+ }
38869
+ },
38870
+ {
38871
+ "name": "trigger",
38872
+ "type": {
38873
+ "text": "PopoverTrigger"
38874
+ },
38875
+ "description": "Determines the events that cause the Popover to show.\nMultiple event names should be separated by spaces.\nFor example to allow both click and hover, use 'click mouseenter' as the trigger.\n- **click**\n- **mouseenter**\n- **focusin**\n- **manual**",
38876
+ "default": "click",
38877
+ "fieldName": "trigger",
38878
+ "inheritedFrom": {
38879
+ "name": "Popover",
38880
+ "module": "src/components/popover/popover.component.ts"
38881
+ }
38882
+ },
38883
+ {
38884
+ "name": "placement",
38885
+ "type": {
38886
+ "text": "PopoverPlacement"
38887
+ },
38888
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
38889
+ "default": "bottom",
38890
+ "fieldName": "placement",
38891
+ "inheritedFrom": {
38892
+ "name": "Popover",
38893
+ "module": "src/components/popover/popover.component.ts"
38894
+ }
38895
+ },
38896
+ {
38897
+ "name": "color",
38898
+ "type": {
38899
+ "text": "PopoverColor"
38900
+ },
38901
+ "description": "Color of the popover\n- **tonal**\n- **contrast**",
38902
+ "default": "tonal",
38903
+ "fieldName": "color",
38904
+ "inheritedFrom": {
38905
+ "name": "Popover",
38906
+ "module": "src/components/popover/popover.component.ts"
38907
+ }
38908
+ },
38909
+ {
38910
+ "name": "visible",
38911
+ "type": {
38912
+ "text": "boolean"
38913
+ },
38914
+ "description": "The visibility of the popover.",
38915
+ "default": "false",
38916
+ "fieldName": "visible",
38917
+ "inheritedFrom": {
38918
+ "name": "Popover",
38919
+ "module": "src/components/popover/popover.component.ts"
38920
+ }
38921
+ },
38922
+ {
38923
+ "name": "offset",
38924
+ "type": {
38925
+ "text": "number"
38926
+ },
38927
+ "description": "The offset of the popover.",
38928
+ "default": "4",
38929
+ "fieldName": "offset",
38930
+ "inheritedFrom": {
38931
+ "name": "Popover",
38932
+ "module": "src/components/popover/popover.component.ts"
38933
+ }
38934
+ },
38935
+ {
38936
+ "name": "boundary",
38937
+ "type": {
38938
+ "text": "'clippingAncestors' | string"
38939
+ },
38940
+ "description": "This describes the clipping element(s) or area that overflow will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
38941
+ "default": "'clippingAncestors'",
38942
+ "fieldName": "boundary",
38943
+ "inheritedFrom": {
38944
+ "name": "Popover",
38945
+ "module": "src/components/popover/popover.component.ts"
38946
+ }
38947
+ },
38948
+ {
38949
+ "name": "boundary-root",
38950
+ "type": {
38951
+ "text": "'viewport' | 'document'"
38952
+ },
38953
+ "description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
38954
+ "default": "'viewport'",
38955
+ "fieldName": "boundaryRoot",
38956
+ "inheritedFrom": {
38957
+ "name": "Popover",
38958
+ "module": "src/components/popover/popover.component.ts"
38959
+ }
38960
+ },
38961
+ {
38962
+ "name": "boundary-padding",
38963
+ "type": {
38964
+ "text": "undefined | number"
38965
+ },
38966
+ "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
38967
+ "default": "undefined",
38968
+ "fieldName": "boundaryPadding",
38969
+ "inheritedFrom": {
38970
+ "name": "Popover",
38971
+ "module": "src/components/popover/popover.component.ts"
38972
+ }
38973
+ },
38974
+ {
38975
+ "name": "focus-trap",
38976
+ "type": {
38977
+ "text": "boolean"
38978
+ },
38979
+ "description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
38980
+ "default": "false",
38981
+ "fieldName": "focusTrap",
38982
+ "inheritedFrom": {
38983
+ "name": "Popover",
38984
+ "module": "src/components/popover/popover.component.ts"
38689
38985
  }
38690
38986
  },
38691
38987
  {
38692
- "kind": "field",
38693
- "name": "togglePopoverVisible",
38694
- "privacy": "public",
38695
- "description": "Toggles the popover visibility.",
38988
+ "name": "prevent-scroll",
38989
+ "type": {
38990
+ "text": "boolean"
38991
+ },
38992
+ "description": "Prevent outside scrolling when popover is shown.",
38993
+ "default": "false",
38994
+ "fieldName": "preventScroll",
38696
38995
  "inheritedFrom": {
38697
38996
  "name": "Popover",
38698
- "module": "components/popover/popover.component.js"
38997
+ "module": "src/components/popover/popover.component.ts"
38699
38998
  }
38700
38999
  },
38701
39000
  {
38702
- "kind": "field",
38703
- "name": "positionPopover",
38704
- "privacy": "private",
38705
- "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.",
39001
+ "name": "show-arrow",
39002
+ "type": {
39003
+ "text": "boolean"
39004
+ },
39005
+ "description": "The arrow visibility of the popover.",
39006
+ "default": "false",
39007
+ "fieldName": "showArrow",
38706
39008
  "inheritedFrom": {
38707
39009
  "name": "Popover",
38708
- "module": "components/popover/popover.component.js"
39010
+ "module": "src/components/popover/popover.component.ts"
38709
39011
  }
38710
39012
  },
38711
39013
  {
38712
- "kind": "field",
38713
- "name": "findClosestPopover",
38714
- "privacy": "protected",
38715
- "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.",
38716
- "parameters": [
38717
- {
38718
- "description": "The element to start searching from.",
38719
- "name": "element"
38720
- }
38721
- ],
39014
+ "name": "close-button",
39015
+ "type": {
39016
+ "text": "boolean"
39017
+ },
39018
+ "description": "The close button visibility of the popover.",
39019
+ "default": "false",
39020
+ "fieldName": "closeButton",
38722
39021
  "inheritedFrom": {
38723
39022
  "name": "Popover",
38724
- "module": "components/popover/popover.component.js"
39023
+ "module": "src/components/popover/popover.component.ts"
38725
39024
  }
38726
39025
  },
38727
39026
  {
38728
- "kind": "field",
38729
- "name": "utils",
38730
- "default": "new PopoverUtils(this)",
39027
+ "name": "interactive",
39028
+ "type": {
39029
+ "text": "boolean"
39030
+ },
39031
+ "description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
39032
+ "default": "false",
39033
+ "fieldName": "interactive",
38731
39034
  "inheritedFrom": {
38732
39035
  "name": "Popover",
38733
- "module": "components/popover/popover.component.js"
39036
+ "module": "src/components/popover/popover.component.ts"
38734
39037
  }
38735
- }
38736
- ],
38737
- "events": [
39038
+ },
38738
39039
  {
38739
- "description": "(React: onShown) This event is dispatched when the toggletip is shown",
38740
- "name": "shown",
38741
- "reactName": "onShown",
39040
+ "name": "delay",
39041
+ "type": {
39042
+ "text": "string"
39043
+ },
39044
+ "description": "The delay of the show/hide popover.",
39045
+ "default": "0,0",
39046
+ "fieldName": "delay",
38742
39047
  "inheritedFrom": {
38743
39048
  "name": "Popover",
38744
39049
  "module": "src/components/popover/popover.component.ts"
38745
39050
  }
38746
39051
  },
38747
39052
  {
38748
- "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
38749
- "name": "hidden",
38750
- "reactName": "onHidden",
39053
+ "name": "hide-on-escape",
39054
+ "type": {
39055
+ "text": "boolean"
39056
+ },
39057
+ "description": "Hide popover on escape key press.",
39058
+ "default": "false",
39059
+ "fieldName": "hideOnEscape",
38751
39060
  "inheritedFrom": {
38752
39061
  "name": "Popover",
38753
39062
  "module": "src/components/popover/popover.component.ts"
38754
39063
  }
38755
39064
  },
38756
39065
  {
38757
- "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
38758
- "name": "created",
38759
- "reactName": "onCreated",
39066
+ "name": "propagate-event-on-escape",
39067
+ "type": {
39068
+ "text": "boolean"
39069
+ },
39070
+ "description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
39071
+ "default": "false",
39072
+ "fieldName": "propagateEventOnEscape",
38760
39073
  "inheritedFrom": {
38761
39074
  "name": "Popover",
38762
39075
  "module": "src/components/popover/popover.component.ts"
38763
39076
  }
38764
39077
  },
38765
39078
  {
38766
- "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
38767
- "name": "destroyed",
38768
- "reactName": "onDestroyed",
39079
+ "name": "hide-on-blur",
39080
+ "type": {
39081
+ "text": "boolean"
39082
+ },
39083
+ "description": "Hide popover on blur.",
39084
+ "default": "false",
39085
+ "fieldName": "hideOnBlur",
38769
39086
  "inheritedFrom": {
38770
39087
  "name": "Popover",
38771
39088
  "module": "src/components/popover/popover.component.ts"
38772
39089
  }
38773
- }
38774
- ],
38775
- "attributes": [
38776
- {
38777
- "name": "screenreader-announcer-identity",
38778
- "type": {
38779
- "text": "string | undefined"
38780
- },
38781
- "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
38782
- "fieldName": "screenreaderAnnouncerIdentity"
38783
39090
  },
38784
39091
  {
38785
- "name": "placement",
39092
+ "name": "hide-on-outside-click",
38786
39093
  "type": {
38787
- "text": "PopoverPlacement"
39094
+ "text": "boolean"
38788
39095
  },
38789
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
38790
- "default": "bottom",
38791
- "fieldName": "placement",
39096
+ "description": "Hide on outside click of the popover.",
39097
+ "default": "false",
39098
+ "fieldName": "hideOnOutsideClick",
38792
39099
  "inheritedFrom": {
38793
39100
  "name": "Popover",
38794
39101
  "module": "src/components/popover/popover.component.ts"
38795
39102
  }
38796
39103
  },
38797
39104
  {
38798
- "name": "should-focus-trap-wrap",
39105
+ "name": "focus-back-to-trigger",
38799
39106
  "type": {
38800
39107
  "text": "boolean"
38801
39108
  },
38802
- "default": "true",
38803
- "description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
38804
- "fieldName": "shouldFocusTrapWrap",
39109
+ "description": "The focus back to trigger after the popover hide.",
39110
+ "default": "false",
39111
+ "fieldName": "focusBackToTrigger",
38805
39112
  "inheritedFrom": {
38806
39113
  "name": "Popover",
38807
39114
  "module": "src/components/popover/popover.component.ts"
38808
39115
  }
38809
39116
  },
38810
39117
  {
38811
- "name": "id",
39118
+ "name": "backdrop",
38812
39119
  "type": {
38813
- "text": "string"
39120
+ "text": "boolean"
38814
39121
  },
38815
- "default": "''",
38816
- "description": "The unique ID of the popover.",
38817
- "fieldName": "id",
39122
+ "description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
39123
+ "default": "false",
39124
+ "fieldName": "backdrop",
38818
39125
  "inheritedFrom": {
38819
39126
  "name": "Popover",
38820
39127
  "module": "src/components/popover/popover.component.ts"
38821
39128
  }
38822
39129
  },
38823
39130
  {
38824
- "name": "triggerID",
39131
+ "name": "flip",
38825
39132
  "type": {
38826
- "text": "string"
39133
+ "text": "boolean"
38827
39134
  },
38828
- "default": "''",
38829
- "description": "The ID of the element that triggers the popover.\nThis attribute is required for the popover to work.",
38830
- "fieldName": "triggerID",
39135
+ "description": "Changes the placement of popover to keep it in view when scrolling.",
39136
+ "default": "true",
39137
+ "fieldName": "flip",
38831
39138
  "inheritedFrom": {
38832
39139
  "name": "Popover",
38833
39140
  "module": "src/components/popover/popover.component.ts"
38834
39141
  }
38835
39142
  },
38836
39143
  {
38837
- "name": "trigger",
39144
+ "name": "size",
38838
39145
  "type": {
38839
- "text": "PopoverTrigger"
39146
+ "text": "boolean"
38840
39147
  },
38841
- "description": "Determines the events that cause the Popover to show.\nMultiple event names should be separated by spaces.\nFor example to allow both click and hover, use 'click mouseenter' as the trigger.\n- **click**\n- **mouseenter**\n- **focusin**\n- **manual**",
38842
- "default": "click",
38843
- "fieldName": "trigger",
39148
+ "description": "Changes the size of popover to keep it in view when scrolling.",
39149
+ "default": "false",
39150
+ "fieldName": "size",
38844
39151
  "inheritedFrom": {
38845
39152
  "name": "Popover",
38846
39153
  "module": "src/components/popover/popover.component.ts"
38847
39154
  }
38848
39155
  },
38849
39156
  {
38850
- "name": "color",
39157
+ "name": "z-index",
38851
39158
  "type": {
38852
- "text": "PopoverColor"
39159
+ "text": "number"
38853
39160
  },
38854
- "description": "Color of the popover\n- **tonal**\n- **contrast**",
38855
- "default": "tonal",
38856
- "fieldName": "color",
39161
+ "description": "The z-index of the popover.",
39162
+ "default": "1000",
39163
+ "fieldName": "zIndex",
38857
39164
  "inheritedFrom": {
38858
39165
  "name": "Popover",
38859
39166
  "module": "src/components/popover/popover.component.ts"
38860
39167
  }
38861
39168
  },
38862
39169
  {
38863
- "name": "visible",
39170
+ "name": "append-to",
38864
39171
  "type": {
38865
- "text": "boolean"
39172
+ "text": "string | undefined"
38866
39173
  },
38867
- "description": "The visibility of the popover.",
38868
- "default": "false",
38869
- "fieldName": "visible",
39174
+ "description": "Element ID that the popover append to.",
39175
+ "default": "''",
39176
+ "fieldName": "appendTo",
38870
39177
  "inheritedFrom": {
38871
39178
  "name": "Popover",
38872
39179
  "module": "src/components/popover/popover.component.ts"
38873
39180
  }
38874
39181
  },
38875
39182
  {
38876
- "name": "offset",
39183
+ "name": "close-button-aria-label",
38877
39184
  "type": {
38878
- "text": "number"
39185
+ "text": "string | null"
38879
39186
  },
38880
- "description": "The offset of the popover.",
38881
- "default": "4",
38882
- "fieldName": "offset",
39187
+ "default": "null",
39188
+ "description": "aria-label attribute to be set for close button accessibility.",
39189
+ "fieldName": "closeButtonAriaLabel",
38883
39190
  "inheritedFrom": {
38884
39191
  "name": "Popover",
38885
39192
  "module": "src/components/popover/popover.component.ts"
38886
39193
  }
38887
39194
  },
38888
39195
  {
38889
- "name": "boundary",
39196
+ "name": "role",
38890
39197
  "type": {
38891
- "text": "'clippingAncestors' | string"
39198
+ "text": "HTMLElement['role']"
38892
39199
  },
38893
- "description": "This describes the clipping element(s) or area that overflow will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
38894
- "default": "'clippingAncestors'",
38895
- "fieldName": "boundary",
39200
+ "description": "Role of the popover",
39201
+ "default": "dialog",
39202
+ "fieldName": "role",
38896
39203
  "inheritedFrom": {
38897
39204
  "name": "Popover",
38898
39205
  "module": "src/components/popover/popover.component.ts"
38899
39206
  }
38900
39207
  },
38901
39208
  {
38902
- "name": "boundary-root",
39209
+ "name": "aria-labelledby",
38903
39210
  "type": {
38904
- "text": "'viewport' | 'document'"
39211
+ "text": "string | null"
38905
39212
  },
38906
- "description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
38907
- "default": "'viewport'",
38908
- "fieldName": "boundaryRoot",
39213
+ "default": "null",
39214
+ "description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
39215
+ "fieldName": "ariaLabelledby",
38909
39216
  "inheritedFrom": {
38910
39217
  "name": "Popover",
38911
39218
  "module": "src/components/popover/popover.component.ts"
38912
39219
  }
38913
39220
  },
38914
39221
  {
38915
- "name": "boundary-padding",
39222
+ "name": "aria-describedby",
38916
39223
  "type": {
38917
- "text": "undefined | number"
39224
+ "text": "string | null"
38918
39225
  },
38919
- "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
38920
- "default": "undefined",
38921
- "fieldName": "boundaryPadding",
39226
+ "default": "null",
39227
+ "description": "aria-describedby of the popover.",
39228
+ "fieldName": "ariaDescribedby",
38922
39229
  "inheritedFrom": {
38923
39230
  "name": "Popover",
38924
39231
  "module": "src/components/popover/popover.component.ts"
38925
39232
  }
38926
39233
  },
38927
39234
  {
38928
- "name": "focus-trap",
39235
+ "name": "disable-aria-expanded",
38929
39236
  "type": {
38930
39237
  "text": "boolean"
38931
39238
  },
38932
- "description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
39239
+ "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
38933
39240
  "default": "false",
38934
- "fieldName": "focusTrap",
39241
+ "fieldName": "disableAriaExpanded",
38935
39242
  "inheritedFrom": {
38936
39243
  "name": "Popover",
38937
39244
  "module": "src/components/popover/popover.component.ts"
38938
39245
  }
38939
39246
  },
38940
39247
  {
38941
- "name": "prevent-scroll",
39248
+ "name": "disable-aria-haspopup",
38942
39249
  "type": {
38943
39250
  "text": "boolean"
38944
39251
  },
38945
- "description": "Prevent outside scrolling when popover is shown.",
39252
+ "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
38946
39253
  "default": "false",
38947
- "fieldName": "preventScroll",
39254
+ "fieldName": "disableAriaHasPopup",
38948
39255
  "inheritedFrom": {
38949
39256
  "name": "Popover",
38950
39257
  "module": "src/components/popover/popover.component.ts"
38951
39258
  }
38952
39259
  },
38953
39260
  {
38954
- "name": "show-arrow",
39261
+ "name": "keep-connected-tooltip-closed",
38955
39262
  "type": {
38956
39263
  "text": "boolean"
38957
39264
  },
38958
- "description": "The arrow visibility of the popover.",
38959
- "default": "false",
38960
- "fieldName": "showArrow",
39265
+ "description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
39266
+ "fieldName": "keepConnectedTooltipClosed",
39267
+ "inheritedFrom": {
39268
+ "name": "Popover",
39269
+ "module": "src/components/popover/popover.component.ts"
39270
+ }
39271
+ }
39272
+ ],
39273
+ "superclass": {
39274
+ "name": "Popover",
39275
+ "module": "/src/components/popover/popover.component"
39276
+ },
39277
+ "tagName": "mdc-tooltip",
39278
+ "jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
39279
+ "customElement": true,
39280
+ "slots": [
39281
+ {
39282
+ "description": "Default slot for the popover content",
39283
+ "name": "",
38961
39284
  "inheritedFrom": {
38962
39285
  "name": "Popover",
38963
39286
  "module": "src/components/popover/popover.component.ts"
38964
39287
  }
39288
+ }
39289
+ ]
39290
+ }
39291
+ ],
39292
+ "exports": [
39293
+ {
39294
+ "kind": "js",
39295
+ "name": "default",
39296
+ "declaration": {
39297
+ "name": "Tooltip",
39298
+ "module": "components/tooltip/tooltip.component.js"
39299
+ }
39300
+ }
39301
+ ]
39302
+ },
39303
+ {
39304
+ "kind": "javascript-module",
39305
+ "path": "components/typewriter/typewriter.component.js",
39306
+ "declarations": [
39307
+ {
39308
+ "kind": "class",
39309
+ "description": "Typewriter component that creates a typewriter effect on text content.\nIt uses the Text component internally, adding a progressive typing effect.\n\nThe `type` attribute allows changing the text style (passed to the internal Text component).\nThe `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\nThe default tag name is `p`.\n\nThe `speed` attribute controls typing speed in milliseconds per character:\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds\n\nAdvanced features:\n- Dynamic speed adjustment during typing\n- Chunked text addition via addTextChunk() method\n- Instant text addition via addInstantTextChunk() method or instant parameter\n- Mixed instant and animated chunks in queue\n- Continues typing in background tabs\n- Performance optimized for large text\n- maxQueueSize to limit memory usage from excessive queuing\n- event handling for typing completion and content changes\n\nThe component includes accessibility features:\n- Screen readers announce the complete text, not character by character\n- Uses aria-live=\"polite\" for dynamic content updates\n- Sets aria-busy during typing animation",
39310
+ "name": "Typewriter",
39311
+ "cssParts": [
39312
+ {
39313
+ "description": "Container for the text element",
39314
+ "name": "container"
39315
+ },
39316
+ {
39317
+ "description": "The text element (forwarded to mdc-text)",
39318
+ "name": "text"
39319
+ }
39320
+ ],
39321
+ "slots": [
39322
+ {
39323
+ "description": "Default slot for text content",
39324
+ "name": ""
39325
+ }
39326
+ ],
39327
+ "members": [
39328
+ {
39329
+ "kind": "field",
39330
+ "name": "type",
39331
+ "type": {
39332
+ "text": "TextType"
39333
+ },
39334
+ "privacy": "public",
39335
+ "description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
39336
+ "default": "body-large-regular",
39337
+ "attribute": "type",
39338
+ "reflects": true
39339
+ },
39340
+ {
39341
+ "kind": "field",
39342
+ "name": "tagname",
39343
+ "type": {
39344
+ "text": "TagName | undefined"
39345
+ },
39346
+ "privacy": "public",
39347
+ "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
39348
+ "attribute": "tagname",
39349
+ "reflects": true
39350
+ },
39351
+ {
39352
+ "kind": "field",
39353
+ "name": "speed",
39354
+ "type": {
39355
+ "text": "TypewriterSpeed"
39356
+ },
39357
+ "privacy": "public",
39358
+ "description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
39359
+ "default": "'normal' (60ms per character)",
39360
+ "attribute": "speed",
39361
+ "reflects": true
39362
+ },
39363
+ {
39364
+ "kind": "field",
39365
+ "name": "maxQueueSize",
39366
+ "type": {
39367
+ "text": "number"
39368
+ },
39369
+ "privacy": "public",
39370
+ "description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
39371
+ "default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
39372
+ "attribute": "max-queue-size",
39373
+ "reflects": true
39374
+ },
39375
+ {
39376
+ "kind": "method",
39377
+ "name": "createTimeout",
39378
+ "privacy": "private",
39379
+ "return": {
39380
+ "type": {
39381
+ "text": "number"
39382
+ }
39383
+ },
39384
+ "parameters": [
39385
+ {
39386
+ "name": "callback",
39387
+ "type": {
39388
+ "text": "() => void"
39389
+ }
39390
+ },
39391
+ {
39392
+ "name": "delay",
39393
+ "type": {
39394
+ "text": "number"
39395
+ }
39396
+ }
39397
+ ],
39398
+ "description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
39399
+ },
39400
+ {
39401
+ "kind": "method",
39402
+ "name": "clearAllTimeouts",
39403
+ "privacy": "private",
39404
+ "return": {
39405
+ "type": {
39406
+ "text": "void"
39407
+ }
39408
+ },
39409
+ "description": "Clear all pending timeouts"
39410
+ },
39411
+ {
39412
+ "kind": "method",
39413
+ "name": "clearQueue",
39414
+ "privacy": "public",
39415
+ "return": {
39416
+ "type": {
39417
+ "text": "void"
39418
+ }
39419
+ },
39420
+ "description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
39421
+ },
39422
+ {
39423
+ "kind": "method",
39424
+ "name": "addTextChunk",
39425
+ "privacy": "public",
39426
+ "return": {
39427
+ "type": {
39428
+ "text": "void"
39429
+ }
39430
+ },
39431
+ "parameters": [
39432
+ {
39433
+ "name": "text",
39434
+ "type": {
39435
+ "text": "string"
39436
+ },
39437
+ "description": "The text to add"
39438
+ },
39439
+ {
39440
+ "name": "speed",
39441
+ "optional": true,
39442
+ "type": {
39443
+ "text": "TypewriterSpeed"
39444
+ },
39445
+ "description": "Optional speed override for this chunk"
39446
+ },
39447
+ {
39448
+ "name": "instant",
39449
+ "optional": true,
39450
+ "type": {
39451
+ "text": "boolean"
39452
+ },
39453
+ "description": "If true, text appears instantly without animation"
39454
+ }
39455
+ ],
39456
+ "description": "Adds a chunk of text to be typed out, optionally with a different speed"
39457
+ },
39458
+ {
39459
+ "kind": "method",
39460
+ "name": "addInstantTextChunk",
39461
+ "privacy": "public",
39462
+ "return": {
39463
+ "type": {
39464
+ "text": "void"
39465
+ }
39466
+ },
39467
+ "parameters": [
39468
+ {
39469
+ "name": "text",
39470
+ "type": {
39471
+ "text": "string"
39472
+ },
39473
+ "description": "The text to add instantly"
39474
+ }
39475
+ ],
39476
+ "description": "Adds a chunk of text instantly without typing animation"
39477
+ },
39478
+ {
39479
+ "kind": "method",
39480
+ "name": "processChunkQueue",
39481
+ "privacy": "private",
39482
+ "return": {
39483
+ "type": {
39484
+ "text": "void"
39485
+ }
39486
+ },
39487
+ "description": "Processes all chunks in the queue"
39488
+ },
39489
+ {
39490
+ "kind": "method",
39491
+ "name": "processNextChunk",
39492
+ "privacy": "private",
39493
+ "return": {
39494
+ "type": {
39495
+ "text": "void"
39496
+ }
39497
+ },
39498
+ "description": "Processes the next chunk in the queue"
39499
+ },
39500
+ {
39501
+ "kind": "method",
39502
+ "name": "getTypingDelayMs",
39503
+ "privacy": "private",
39504
+ "return": {
39505
+ "type": {
39506
+ "text": "number"
39507
+ }
39508
+ },
39509
+ "description": "Gets the typing delay in milliseconds per character"
39510
+ },
39511
+ {
39512
+ "kind": "method",
39513
+ "name": "captureAndProcessContent",
39514
+ "privacy": "private",
39515
+ "return": {
39516
+ "type": {
39517
+ "text": "void"
39518
+ }
39519
+ },
39520
+ "description": "Captures slot content and starts typewriter animation"
39521
+ },
39522
+ {
39523
+ "kind": "method",
39524
+ "name": "startTypingAnimation",
39525
+ "privacy": "private",
39526
+ "return": {
39527
+ "type": {
39528
+ "text": "void"
39529
+ }
39530
+ },
39531
+ "parameters": [
39532
+ {
39533
+ "name": "onComplete",
39534
+ "optional": true,
39535
+ "type": {
39536
+ "text": "() => void"
39537
+ }
39538
+ }
39539
+ ],
39540
+ "description": "Starts the typewriter animation"
38965
39541
  },
38966
39542
  {
38967
- "name": "close-button",
38968
- "type": {
38969
- "text": "boolean"
39543
+ "kind": "method",
39544
+ "name": "clearTypingAnimation",
39545
+ "privacy": "private",
39546
+ "return": {
39547
+ "type": {
39548
+ "text": "void"
39549
+ }
38970
39550
  },
38971
- "description": "The close button visibility of the popover.",
38972
- "default": "false",
38973
- "fieldName": "closeButton",
38974
- "inheritedFrom": {
38975
- "name": "Popover",
38976
- "module": "src/components/popover/popover.component.ts"
38977
- }
39551
+ "description": "Clears the typing animation timeout"
38978
39552
  },
38979
39553
  {
38980
- "name": "interactive",
38981
- "type": {
38982
- "text": "boolean"
39554
+ "kind": "method",
39555
+ "name": "handleSlotChange",
39556
+ "privacy": "private",
39557
+ "return": {
39558
+ "type": {
39559
+ "text": "void"
39560
+ }
38983
39561
  },
38984
- "description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
38985
- "default": "false",
38986
- "fieldName": "interactive",
38987
- "inheritedFrom": {
38988
- "name": "Popover",
38989
- "module": "src/components/popover/popover.component.ts"
38990
- }
38991
- },
39562
+ "description": "Handler for slotchange event"
39563
+ }
39564
+ ],
39565
+ "events": [
38992
39566
  {
38993
- "name": "delay",
38994
39567
  "type": {
38995
- "text": "string"
38996
- },
38997
- "description": "The delay of the show/hide popover.",
38998
- "default": "0,0",
38999
- "fieldName": "delay",
39000
- "inheritedFrom": {
39001
- "name": "Popover",
39002
- "module": "src/components/popover/popover.component.ts"
39568
+ "text": "CustomEvent"
39003
39569
  }
39004
39570
  },
39005
39571
  {
39006
- "name": "hide-on-escape",
39007
- "type": {
39008
- "text": "boolean"
39009
- },
39010
- "description": "Hide popover on escape key press.",
39011
- "default": "false",
39012
- "fieldName": "hideOnEscape",
39013
- "inheritedFrom": {
39014
- "name": "Popover",
39015
- "module": "src/components/popover/popover.component.ts"
39016
- }
39572
+ "description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
39573
+ "name": "typing-complete",
39574
+ "reactName": "onTypingComplete"
39017
39575
  },
39018
39576
  {
39019
- "name": "propagate-event-on-escape",
39020
- "type": {
39021
- "text": "boolean"
39022
- },
39023
- "description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
39024
- "default": "false",
39025
- "fieldName": "propagateEventOnEscape",
39026
- "inheritedFrom": {
39027
- "name": "Popover",
39028
- "module": "src/components/popover/popover.component.ts"
39029
- }
39030
- },
39577
+ "description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
39578
+ "name": "change",
39579
+ "reactName": "onChange"
39580
+ }
39581
+ ],
39582
+ "attributes": [
39031
39583
  {
39032
- "name": "hide-on-blur",
39584
+ "name": "type",
39033
39585
  "type": {
39034
- "text": "boolean"
39586
+ "text": "TextType"
39035
39587
  },
39036
- "description": "Hide popover on blur.",
39037
- "default": "false",
39038
- "fieldName": "hideOnBlur",
39039
- "inheritedFrom": {
39040
- "name": "Popover",
39041
- "module": "src/components/popover/popover.component.ts"
39042
- }
39588
+ "description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
39589
+ "default": "body-large-regular",
39590
+ "fieldName": "type"
39043
39591
  },
39044
39592
  {
39045
- "name": "hide-on-outside-click",
39593
+ "name": "tagname",
39046
39594
  "type": {
39047
- "text": "boolean"
39595
+ "text": "TagName | undefined"
39048
39596
  },
39049
- "description": "Hide on outside click of the popover.",
39050
- "default": "false",
39051
- "fieldName": "hideOnOutsideClick",
39052
- "inheritedFrom": {
39053
- "name": "Popover",
39054
- "module": "src/components/popover/popover.component.ts"
39055
- }
39597
+ "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
39598
+ "fieldName": "tagname"
39056
39599
  },
39057
39600
  {
39058
- "name": "focus-back-to-trigger",
39601
+ "name": "speed",
39059
39602
  "type": {
39060
- "text": "boolean"
39603
+ "text": "TypewriterSpeed"
39061
39604
  },
39062
- "description": "The focus back to trigger after the popover hide.",
39063
- "default": "false",
39064
- "fieldName": "focusBackToTrigger",
39065
- "inheritedFrom": {
39066
- "name": "Popover",
39067
- "module": "src/components/popover/popover.component.ts"
39068
- }
39605
+ "description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
39606
+ "default": "'normal' (60ms per character)",
39607
+ "fieldName": "speed"
39069
39608
  },
39070
39609
  {
39071
- "name": "backdrop",
39610
+ "name": "max-queue-size",
39072
39611
  "type": {
39073
- "text": "boolean"
39612
+ "text": "number"
39074
39613
  },
39075
- "description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
39076
- "default": "false",
39077
- "fieldName": "backdrop",
39078
- "inheritedFrom": {
39079
- "name": "Popover",
39080
- "module": "src/components/popover/popover.component.ts"
39081
- }
39082
- },
39614
+ "description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
39615
+ "default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
39616
+ "fieldName": "maxQueueSize"
39617
+ }
39618
+ ],
39619
+ "superclass": {
39620
+ "name": "Component",
39621
+ "module": "/src/models"
39622
+ },
39623
+ "tagName": "mdc-typewriter",
39624
+ "jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
39625
+ "customElement": true
39626
+ }
39627
+ ],
39628
+ "exports": [
39629
+ {
39630
+ "kind": "js",
39631
+ "name": "default",
39632
+ "declaration": {
39633
+ "name": "Typewriter",
39634
+ "module": "components/typewriter/typewriter.component.js"
39635
+ }
39636
+ }
39637
+ ]
39638
+ },
39639
+ {
39640
+ "kind": "javascript-module",
39641
+ "path": "components/virtualizedlist/virtualizedlist.component.js",
39642
+ "declarations": [
39643
+ {
39644
+ "kind": "class",
39645
+ "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
39646
+ "name": "VirtualizedList",
39647
+ "slots": [
39083
39648
  {
39084
- "name": "flip",
39085
- "type": {
39086
- "text": "boolean"
39087
- },
39088
- "description": "Changes the placement of popover to keep it in view when scrolling.",
39089
- "default": "true",
39090
- "fieldName": "flip",
39091
- "inheritedFrom": {
39092
- "name": "Popover",
39093
- "module": "src/components/popover/popover.component.ts"
39094
- }
39095
- },
39649
+ "description": "Client side List with nested list items.",
39650
+ "name": ""
39651
+ }
39652
+ ],
39653
+ "members": [
39096
39654
  {
39097
- "name": "size",
39655
+ "kind": "field",
39656
+ "name": "onscroll",
39098
39657
  "type": {
39099
- "text": "boolean"
39658
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
39100
39659
  },
39101
- "description": "Changes the size of popover to keep it in view when scrolling.",
39102
- "default": "false",
39103
- "fieldName": "size",
39104
- "inheritedFrom": {
39105
- "name": "Popover",
39106
- "module": "src/components/popover/popover.component.ts"
39107
- }
39660
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
39661
+ "default": "null",
39662
+ "attribute": "onscroll"
39108
39663
  },
39109
39664
  {
39110
- "name": "z-index",
39665
+ "kind": "field",
39666
+ "name": "virtualizerProps",
39111
39667
  "type": {
39112
- "text": "number"
39668
+ "text": "VirtualizerProps"
39113
39669
  },
39114
- "description": "The z-index of the popover.",
39115
- "default": "1000",
39116
- "fieldName": "zIndex",
39117
- "inheritedFrom": {
39118
- "name": "Popover",
39119
- "module": "src/components/popover/popover.component.ts"
39120
- }
39670
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
39671
+ "attribute": "virtualizerprops"
39121
39672
  },
39122
39673
  {
39123
- "name": "append-to",
39674
+ "kind": "field",
39675
+ "name": "setlistdata",
39124
39676
  "type": {
39125
- "text": "string | undefined"
39677
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
39126
39678
  },
39127
- "description": "Element ID that the popover append to.",
39128
- "default": "''",
39129
- "fieldName": "appendTo",
39130
- "inheritedFrom": {
39131
- "name": "Popover",
39132
- "module": "src/components/popover/popover.component.ts"
39133
- }
39679
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
39680
+ "default": "null",
39681
+ "attribute": "setlistdata"
39134
39682
  },
39135
39683
  {
39136
- "name": "close-button-aria-label",
39684
+ "kind": "field",
39685
+ "name": "scrollElementRef",
39137
39686
  "type": {
39138
- "text": "string | null"
39687
+ "text": "Ref<HTMLDivElement>"
39139
39688
  },
39140
- "default": "null",
39141
- "description": "aria-label attribute to be set for close button accessibility.",
39142
- "fieldName": "closeButtonAriaLabel",
39143
- "inheritedFrom": {
39144
- "name": "Popover",
39145
- "module": "src/components/popover/popover.component.ts"
39146
- }
39689
+ "privacy": "public"
39147
39690
  },
39148
39691
  {
39149
- "name": "role",
39692
+ "kind": "field",
39693
+ "name": "virtualizer",
39150
39694
  "type": {
39151
- "text": "HTMLElement['role']"
39695
+ "text": "Virtualizer<Element, Element> | null"
39152
39696
  },
39153
- "description": "Role of the popover",
39154
- "default": "dialog",
39155
- "fieldName": "role",
39156
- "inheritedFrom": {
39157
- "name": "Popover",
39158
- "module": "src/components/popover/popover.component.ts"
39159
- }
39697
+ "privacy": "public",
39698
+ "default": "null"
39160
39699
  },
39161
39700
  {
39162
- "name": "aria-labelledby",
39701
+ "kind": "field",
39702
+ "name": "virtualItems",
39163
39703
  "type": {
39164
- "text": "string | null"
39704
+ "text": "Array<VirtualItem>"
39165
39705
  },
39166
- "default": "null",
39167
- "description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
39168
- "fieldName": "ariaLabelledby",
39169
- "inheritedFrom": {
39170
- "name": "Popover",
39171
- "module": "src/components/popover/popover.component.ts"
39172
- }
39706
+ "privacy": "public",
39707
+ "default": "[]"
39173
39708
  },
39174
39709
  {
39175
- "name": "aria-describedby",
39710
+ "kind": "field",
39711
+ "name": "virtualizerController",
39176
39712
  "type": {
39177
- "text": "string | null"
39713
+ "text": "null"
39178
39714
  },
39179
- "default": "null",
39180
- "description": "aria-describedby of the popover.",
39181
- "fieldName": "ariaDescribedby",
39182
- "inheritedFrom": {
39183
- "name": "Popover",
39184
- "module": "src/components/popover/popover.component.ts"
39185
- }
39186
- },
39715
+ "default": "null"
39716
+ }
39717
+ ],
39718
+ "events": [
39187
39719
  {
39188
- "name": "disable-aria-expanded",
39720
+ "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
39721
+ "name": "onscroll",
39722
+ "reactName": "onScroll"
39723
+ }
39724
+ ],
39725
+ "attributes": [
39726
+ {
39727
+ "name": "onscroll",
39189
39728
  "type": {
39190
- "text": "boolean"
39729
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
39191
39730
  },
39192
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
39193
- "default": "false",
39194
- "fieldName": "disableAriaExpanded",
39195
- "inheritedFrom": {
39196
- "name": "Popover",
39197
- "module": "src/components/popover/popover.component.ts"
39198
- }
39731
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
39732
+ "default": "null",
39733
+ "fieldName": "onscroll"
39199
39734
  },
39200
39735
  {
39201
- "name": "disable-aria-haspopup",
39736
+ "name": "virtualizerprops",
39202
39737
  "type": {
39203
- "text": "boolean"
39738
+ "text": "VirtualizerProps"
39204
39739
  },
39205
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
39206
- "default": "false",
39207
- "fieldName": "disableAriaHasPopup",
39208
- "inheritedFrom": {
39209
- "name": "Popover",
39210
- "module": "src/components/popover/popover.component.ts"
39211
- }
39740
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
39741
+ "fieldName": "virtualizerProps"
39212
39742
  },
39213
39743
  {
39214
- "name": "keep-connected-tooltip-closed",
39744
+ "name": "setlistdata",
39215
39745
  "type": {
39216
- "text": "boolean"
39746
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
39217
39747
  },
39218
- "description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
39219
- "fieldName": "keepConnectedTooltipClosed",
39220
- "inheritedFrom": {
39221
- "name": "Popover",
39222
- "module": "src/components/popover/popover.component.ts"
39223
- }
39748
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
39749
+ "default": "null",
39750
+ "fieldName": "setlistdata"
39224
39751
  }
39225
39752
  ],
39226
39753
  "superclass": {
39227
- "name": "Popover",
39228
- "module": "/src/components/popover/popover.component"
39754
+ "name": "Component",
39755
+ "module": "/src/models"
39229
39756
  },
39230
- "tagName": "mdc-toggletip",
39231
- "jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
39757
+ "tagName": "mdc-virtualizedlist",
39758
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
39232
39759
  "customElement": true
39233
39760
  }
39234
39761
  ],
@@ -39237,36 +39764,32 @@
39237
39764
  "kind": "js",
39238
39765
  "name": "default",
39239
39766
  "declaration": {
39240
- "name": "ToggleTip",
39241
- "module": "components/toggletip/toggletip.component.js"
39767
+ "name": "VirtualizedList",
39768
+ "module": "components/virtualizedlist/virtualizedlist.component.js"
39242
39769
  }
39243
39770
  }
39244
39771
  ]
39245
39772
  },
39246
39773
  {
39247
39774
  "kind": "javascript-module",
39248
- "path": "components/tooltip/tooltip.component.js",
39775
+ "path": "components/toggletip/toggletip.component.js",
39249
39776
  "declarations": [
39250
39777
  {
39251
39778
  "kind": "class",
39252
- "description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
39253
- "name": "Tooltip",
39779
+ "description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
39780
+ "name": "ToggleTip",
39254
39781
  "cssProperties": [
39255
39782
  {
39256
- "description": "The maximum width of the tooltip.",
39257
- "name": "--mdc-tooltip-max-width"
39258
- },
39259
- {
39260
- "description": "The padding of the tooltip.",
39261
- "name": "--mdc-tooltip-padding"
39783
+ "description": "The maximum width of the toggletip.",
39784
+ "name": "--mdc-toggletip-max-width"
39262
39785
  },
39263
39786
  {
39264
- "description": "The text color of the tooltip.",
39265
- "name": "--mdc-tooltip-text-color"
39787
+ "description": "The text color of the toggletip.",
39788
+ "name": "--mdc-toggletip-text-color"
39266
39789
  },
39267
39790
  {
39268
- "description": "The text color of the tooltip when the color is contrast.",
39269
- "name": "--mdc-tooltip-text-color-contrast"
39791
+ "description": "The text color of the toggletip when the color is contrast.",
39792
+ "name": "--mdc-toggletip-text-color-contrast"
39270
39793
  },
39271
39794
  {
39272
39795
  "description": "radius of the arrow border",
@@ -39349,18 +39872,17 @@
39349
39872
  }
39350
39873
  }
39351
39874
  ],
39352
- "members": [
39875
+ "slots": [
39353
39876
  {
39354
- "kind": "field",
39355
- "name": "tooltipType",
39356
- "type": {
39357
- "text": "TooltipType"
39358
- },
39359
- "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
39360
- "default": "'description'",
39361
- "attribute": "tooltip-type",
39362
- "reflects": true
39363
- },
39877
+ "description": "Default slot for the toggletip content",
39878
+ "name": "",
39879
+ "inheritedFrom": {
39880
+ "name": "Popover",
39881
+ "module": "src/components/popover/popover.component.ts"
39882
+ }
39883
+ }
39884
+ ],
39885
+ "members": [
39364
39886
  {
39365
39887
  "kind": "field",
39366
39888
  "name": "defaultSlotNodes",
@@ -39370,76 +39892,50 @@
39370
39892
  "privacy": "private"
39371
39893
  },
39372
39894
  {
39373
- "kind": "method",
39374
- "name": "getTooltipText",
39375
- "privacy": "private",
39376
- "return": {
39377
- "type": {
39378
- "text": ""
39379
- }
39380
- }
39381
- },
39382
- {
39383
- "kind": "method",
39384
- "name": "setTooltipType",
39385
- "privacy": "private",
39386
- "return": {
39387
- "type": {
39388
- "text": "void"
39389
- }
39895
+ "kind": "field",
39896
+ "name": "screenreaderAnnouncerIdentity",
39897
+ "type": {
39898
+ "text": "string | undefined"
39390
39899
  },
39391
- "parameters": [
39392
- {
39393
- "name": "type",
39394
- "type": {
39395
- "text": "TooltipType"
39396
- },
39397
- "description": "The type to set."
39398
- }
39399
- ],
39400
- "description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
39900
+ "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
39901
+ "attribute": "screenreader-announcer-identity",
39902
+ "reflects": true
39401
39903
  },
39402
39904
  {
39403
- "kind": "method",
39404
- "name": "onIdUpdated",
39405
- "privacy": "private",
39406
- "return": {
39407
- "type": {
39408
- "text": "Promise<void>"
39409
- }
39905
+ "kind": "field",
39906
+ "name": "placement",
39907
+ "type": {
39908
+ "text": "PopoverPlacement"
39410
39909
  },
39411
- "description": "Updates the tooltip id if it is empty."
39910
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
39911
+ "default": "bottom",
39912
+ "attribute": "placement",
39913
+ "reflects": true,
39914
+ "inheritedFrom": {
39915
+ "name": "Popover",
39916
+ "module": "components/popover/popover.component.js"
39917
+ }
39412
39918
  },
39413
39919
  {
39414
39920
  "kind": "method",
39415
- "name": "onPlacementUpdated",
39921
+ "name": "getToggleTipText",
39416
39922
  "privacy": "private",
39417
39923
  "return": {
39418
39924
  "type": {
39419
- "text": "void"
39925
+ "text": ""
39420
39926
  }
39421
- },
39422
- "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
39927
+ }
39423
39928
  },
39424
39929
  {
39425
39930
  "kind": "method",
39426
- "name": "onTooltipTypeUpdated",
39931
+ "name": "onPlacementUpdated",
39427
39932
  "privacy": "private",
39428
39933
  "return": {
39429
39934
  "type": {
39430
39935
  "text": "void"
39431
39936
  }
39432
39937
  },
39433
- "parameters": [
39434
- {
39435
- "name": "changedProperties",
39436
- "type": {
39437
- "text": "PropertyValues"
39438
- },
39439
- "description": "The changed properties."
39440
- }
39441
- ],
39442
- "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
39938
+ "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
39443
39939
  },
39444
39940
  {
39445
39941
  "kind": "field",
@@ -40032,21 +40528,6 @@
40032
40528
  "module": "components/popover/popover.component.js"
40033
40529
  }
40034
40530
  },
40035
- {
40036
- "kind": "field",
40037
- "name": "placement",
40038
- "type": {
40039
- "text": "PopoverPlacement"
40040
- },
40041
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
40042
- "default": "bottom",
40043
- "attribute": "placement",
40044
- "reflects": true,
40045
- "inheritedFrom": {
40046
- "name": "Popover",
40047
- "module": "components/popover/popover.component.js"
40048
- }
40049
- },
40050
40531
  {
40051
40532
  "kind": "field",
40052
40533
  "name": "color",
@@ -40726,7 +41207,7 @@
40726
41207
  ],
40727
41208
  "events": [
40728
41209
  {
40729
- "description": "(React: onShown) This event is dispatched when the tooltip is shown",
41210
+ "description": "(React: onShown) This event is dispatched when the toggletip is shown",
40730
41211
  "name": "shown",
40731
41212
  "reactName": "onShown",
40732
41213
  "inheritedFrom": {
@@ -40735,7 +41216,7 @@
40735
41216
  }
40736
41217
  },
40737
41218
  {
40738
- "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
41219
+ "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
40739
41220
  "name": "hidden",
40740
41221
  "reactName": "onHidden",
40741
41222
  "inheritedFrom": {
@@ -40744,7 +41225,7 @@
40744
41225
  }
40745
41226
  },
40746
41227
  {
40747
- "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
41228
+ "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
40748
41229
  "name": "created",
40749
41230
  "reactName": "onCreated",
40750
41231
  "inheritedFrom": {
@@ -40753,24 +41234,36 @@
40753
41234
  }
40754
41235
  },
40755
41236
  {
40756
- "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
41237
+ "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
40757
41238
  "name": "destroyed",
40758
41239
  "reactName": "onDestroyed",
40759
41240
  "inheritedFrom": {
40760
41241
  "name": "Popover",
40761
41242
  "module": "src/components/popover/popover.component.ts"
40762
41243
  }
40763
- }
40764
- ],
40765
- "attributes": [
40766
- {
40767
- "name": "tooltip-type",
40768
- "type": {
40769
- "text": "TooltipType"
40770
- },
40771
- "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
40772
- "default": "'description'",
40773
- "fieldName": "tooltipType"
41244
+ }
41245
+ ],
41246
+ "attributes": [
41247
+ {
41248
+ "name": "screenreader-announcer-identity",
41249
+ "type": {
41250
+ "text": "string | undefined"
41251
+ },
41252
+ "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
41253
+ "fieldName": "screenreaderAnnouncerIdentity"
41254
+ },
41255
+ {
41256
+ "name": "placement",
41257
+ "type": {
41258
+ "text": "PopoverPlacement"
41259
+ },
41260
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
41261
+ "default": "bottom",
41262
+ "fieldName": "placement",
41263
+ "inheritedFrom": {
41264
+ "name": "Popover",
41265
+ "module": "src/components/popover/popover.component.ts"
41266
+ }
40774
41267
  },
40775
41268
  {
40776
41269
  "name": "should-focus-trap-wrap",
@@ -40824,19 +41317,6 @@
40824
41317
  "module": "src/components/popover/popover.component.ts"
40825
41318
  }
40826
41319
  },
40827
- {
40828
- "name": "placement",
40829
- "type": {
40830
- "text": "PopoverPlacement"
40831
- },
40832
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
40833
- "default": "bottom",
40834
- "fieldName": "placement",
40835
- "inheritedFrom": {
40836
- "name": "Popover",
40837
- "module": "src/components/popover/popover.component.ts"
40838
- }
40839
- },
40840
41320
  {
40841
41321
  "name": "color",
40842
41322
  "type": {
@@ -41218,488 +41698,8 @@
41218
41698
  "name": "Popover",
41219
41699
  "module": "/src/components/popover/popover.component"
41220
41700
  },
41221
- "tagName": "mdc-tooltip",
41222
- "jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
41223
- "customElement": true,
41224
- "slots": [
41225
- {
41226
- "description": "Default slot for the popover content",
41227
- "name": "",
41228
- "inheritedFrom": {
41229
- "name": "Popover",
41230
- "module": "src/components/popover/popover.component.ts"
41231
- }
41232
- }
41233
- ]
41234
- }
41235
- ],
41236
- "exports": [
41237
- {
41238
- "kind": "js",
41239
- "name": "default",
41240
- "declaration": {
41241
- "name": "Tooltip",
41242
- "module": "components/tooltip/tooltip.component.js"
41243
- }
41244
- }
41245
- ]
41246
- },
41247
- {
41248
- "kind": "javascript-module",
41249
- "path": "components/typewriter/typewriter.component.js",
41250
- "declarations": [
41251
- {
41252
- "kind": "class",
41253
- "description": "Typewriter component that creates a typewriter effect on text content.\nIt uses the Text component internally, adding a progressive typing effect.\n\nThe `type` attribute allows changing the text style (passed to the internal Text component).\nThe `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\nThe default tag name is `p`.\n\nThe `speed` attribute controls typing speed in milliseconds per character:\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds\n\nAdvanced features:\n- Dynamic speed adjustment during typing\n- Chunked text addition via addTextChunk() method\n- Instant text addition via addInstantTextChunk() method or instant parameter\n- Mixed instant and animated chunks in queue\n- Continues typing in background tabs\n- Performance optimized for large text\n- maxQueueSize to limit memory usage from excessive queuing\n- event handling for typing completion and content changes\n\nThe component includes accessibility features:\n- Screen readers announce the complete text, not character by character\n- Uses aria-live=\"polite\" for dynamic content updates\n- Sets aria-busy during typing animation",
41254
- "name": "Typewriter",
41255
- "cssParts": [
41256
- {
41257
- "description": "Container for the text element",
41258
- "name": "container"
41259
- },
41260
- {
41261
- "description": "The text element (forwarded to mdc-text)",
41262
- "name": "text"
41263
- }
41264
- ],
41265
- "slots": [
41266
- {
41267
- "description": "Default slot for text content",
41268
- "name": ""
41269
- }
41270
- ],
41271
- "members": [
41272
- {
41273
- "kind": "field",
41274
- "name": "type",
41275
- "type": {
41276
- "text": "TextType"
41277
- },
41278
- "privacy": "public",
41279
- "description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
41280
- "default": "body-large-regular",
41281
- "attribute": "type",
41282
- "reflects": true
41283
- },
41284
- {
41285
- "kind": "field",
41286
- "name": "tagname",
41287
- "type": {
41288
- "text": "TagName | undefined"
41289
- },
41290
- "privacy": "public",
41291
- "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
41292
- "attribute": "tagname",
41293
- "reflects": true
41294
- },
41295
- {
41296
- "kind": "field",
41297
- "name": "speed",
41298
- "type": {
41299
- "text": "TypewriterSpeed"
41300
- },
41301
- "privacy": "public",
41302
- "description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
41303
- "default": "'normal' (60ms per character)",
41304
- "attribute": "speed",
41305
- "reflects": true
41306
- },
41307
- {
41308
- "kind": "field",
41309
- "name": "maxQueueSize",
41310
- "type": {
41311
- "text": "number"
41312
- },
41313
- "privacy": "public",
41314
- "description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
41315
- "default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
41316
- "attribute": "max-queue-size",
41317
- "reflects": true
41318
- },
41319
- {
41320
- "kind": "method",
41321
- "name": "createTimeout",
41322
- "privacy": "private",
41323
- "return": {
41324
- "type": {
41325
- "text": "number"
41326
- }
41327
- },
41328
- "parameters": [
41329
- {
41330
- "name": "callback",
41331
- "type": {
41332
- "text": "() => void"
41333
- }
41334
- },
41335
- {
41336
- "name": "delay",
41337
- "type": {
41338
- "text": "number"
41339
- }
41340
- }
41341
- ],
41342
- "description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
41343
- },
41344
- {
41345
- "kind": "method",
41346
- "name": "clearAllTimeouts",
41347
- "privacy": "private",
41348
- "return": {
41349
- "type": {
41350
- "text": "void"
41351
- }
41352
- },
41353
- "description": "Clear all pending timeouts"
41354
- },
41355
- {
41356
- "kind": "method",
41357
- "name": "clearQueue",
41358
- "privacy": "public",
41359
- "return": {
41360
- "type": {
41361
- "text": "void"
41362
- }
41363
- },
41364
- "description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
41365
- },
41366
- {
41367
- "kind": "method",
41368
- "name": "addTextChunk",
41369
- "privacy": "public",
41370
- "return": {
41371
- "type": {
41372
- "text": "void"
41373
- }
41374
- },
41375
- "parameters": [
41376
- {
41377
- "name": "text",
41378
- "type": {
41379
- "text": "string"
41380
- },
41381
- "description": "The text to add"
41382
- },
41383
- {
41384
- "name": "speed",
41385
- "optional": true,
41386
- "type": {
41387
- "text": "TypewriterSpeed"
41388
- },
41389
- "description": "Optional speed override for this chunk"
41390
- },
41391
- {
41392
- "name": "instant",
41393
- "optional": true,
41394
- "type": {
41395
- "text": "boolean"
41396
- },
41397
- "description": "If true, text appears instantly without animation"
41398
- }
41399
- ],
41400
- "description": "Adds a chunk of text to be typed out, optionally with a different speed"
41401
- },
41402
- {
41403
- "kind": "method",
41404
- "name": "addInstantTextChunk",
41405
- "privacy": "public",
41406
- "return": {
41407
- "type": {
41408
- "text": "void"
41409
- }
41410
- },
41411
- "parameters": [
41412
- {
41413
- "name": "text",
41414
- "type": {
41415
- "text": "string"
41416
- },
41417
- "description": "The text to add instantly"
41418
- }
41419
- ],
41420
- "description": "Adds a chunk of text instantly without typing animation"
41421
- },
41422
- {
41423
- "kind": "method",
41424
- "name": "processChunkQueue",
41425
- "privacy": "private",
41426
- "return": {
41427
- "type": {
41428
- "text": "void"
41429
- }
41430
- },
41431
- "description": "Processes all chunks in the queue"
41432
- },
41433
- {
41434
- "kind": "method",
41435
- "name": "processNextChunk",
41436
- "privacy": "private",
41437
- "return": {
41438
- "type": {
41439
- "text": "void"
41440
- }
41441
- },
41442
- "description": "Processes the next chunk in the queue"
41443
- },
41444
- {
41445
- "kind": "method",
41446
- "name": "getTypingDelayMs",
41447
- "privacy": "private",
41448
- "return": {
41449
- "type": {
41450
- "text": "number"
41451
- }
41452
- },
41453
- "description": "Gets the typing delay in milliseconds per character"
41454
- },
41455
- {
41456
- "kind": "method",
41457
- "name": "captureAndProcessContent",
41458
- "privacy": "private",
41459
- "return": {
41460
- "type": {
41461
- "text": "void"
41462
- }
41463
- },
41464
- "description": "Captures slot content and starts typewriter animation"
41465
- },
41466
- {
41467
- "kind": "method",
41468
- "name": "startTypingAnimation",
41469
- "privacy": "private",
41470
- "return": {
41471
- "type": {
41472
- "text": "void"
41473
- }
41474
- },
41475
- "parameters": [
41476
- {
41477
- "name": "onComplete",
41478
- "optional": true,
41479
- "type": {
41480
- "text": "() => void"
41481
- }
41482
- }
41483
- ],
41484
- "description": "Starts the typewriter animation"
41485
- },
41486
- {
41487
- "kind": "method",
41488
- "name": "clearTypingAnimation",
41489
- "privacy": "private",
41490
- "return": {
41491
- "type": {
41492
- "text": "void"
41493
- }
41494
- },
41495
- "description": "Clears the typing animation timeout"
41496
- },
41497
- {
41498
- "kind": "method",
41499
- "name": "handleSlotChange",
41500
- "privacy": "private",
41501
- "return": {
41502
- "type": {
41503
- "text": "void"
41504
- }
41505
- },
41506
- "description": "Handler for slotchange event"
41507
- }
41508
- ],
41509
- "events": [
41510
- {
41511
- "type": {
41512
- "text": "CustomEvent"
41513
- }
41514
- },
41515
- {
41516
- "description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
41517
- "name": "typing-complete",
41518
- "reactName": "onTypingComplete"
41519
- },
41520
- {
41521
- "description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
41522
- "name": "change",
41523
- "reactName": "onChange"
41524
- }
41525
- ],
41526
- "attributes": [
41527
- {
41528
- "name": "type",
41529
- "type": {
41530
- "text": "TextType"
41531
- },
41532
- "description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
41533
- "default": "body-large-regular",
41534
- "fieldName": "type"
41535
- },
41536
- {
41537
- "name": "tagname",
41538
- "type": {
41539
- "text": "TagName | undefined"
41540
- },
41541
- "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
41542
- "fieldName": "tagname"
41543
- },
41544
- {
41545
- "name": "speed",
41546
- "type": {
41547
- "text": "TypewriterSpeed"
41548
- },
41549
- "description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
41550
- "default": "'normal' (60ms per character)",
41551
- "fieldName": "speed"
41552
- },
41553
- {
41554
- "name": "max-queue-size",
41555
- "type": {
41556
- "text": "number"
41557
- },
41558
- "description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
41559
- "default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
41560
- "fieldName": "maxQueueSize"
41561
- }
41562
- ],
41563
- "superclass": {
41564
- "name": "Component",
41565
- "module": "/src/models"
41566
- },
41567
- "tagName": "mdc-typewriter",
41568
- "jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
41569
- "customElement": true
41570
- }
41571
- ],
41572
- "exports": [
41573
- {
41574
- "kind": "js",
41575
- "name": "default",
41576
- "declaration": {
41577
- "name": "Typewriter",
41578
- "module": "components/typewriter/typewriter.component.js"
41579
- }
41580
- }
41581
- ]
41582
- },
41583
- {
41584
- "kind": "javascript-module",
41585
- "path": "components/virtualizedlist/virtualizedlist.component.js",
41586
- "declarations": [
41587
- {
41588
- "kind": "class",
41589
- "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
41590
- "name": "VirtualizedList",
41591
- "slots": [
41592
- {
41593
- "description": "Client side List with nested list items.",
41594
- "name": ""
41595
- }
41596
- ],
41597
- "members": [
41598
- {
41599
- "kind": "field",
41600
- "name": "onscroll",
41601
- "type": {
41602
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41603
- },
41604
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41605
- "default": "null",
41606
- "attribute": "onscroll"
41607
- },
41608
- {
41609
- "kind": "field",
41610
- "name": "virtualizerProps",
41611
- "type": {
41612
- "text": "VirtualizerProps"
41613
- },
41614
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41615
- "attribute": "virtualizerprops"
41616
- },
41617
- {
41618
- "kind": "field",
41619
- "name": "setlistdata",
41620
- "type": {
41621
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41622
- },
41623
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41624
- "default": "null",
41625
- "attribute": "setlistdata"
41626
- },
41627
- {
41628
- "kind": "field",
41629
- "name": "scrollElementRef",
41630
- "type": {
41631
- "text": "Ref<HTMLDivElement>"
41632
- },
41633
- "privacy": "public"
41634
- },
41635
- {
41636
- "kind": "field",
41637
- "name": "virtualizer",
41638
- "type": {
41639
- "text": "Virtualizer<Element, Element> | null"
41640
- },
41641
- "privacy": "public",
41642
- "default": "null"
41643
- },
41644
- {
41645
- "kind": "field",
41646
- "name": "virtualItems",
41647
- "type": {
41648
- "text": "Array<VirtualItem>"
41649
- },
41650
- "privacy": "public",
41651
- "default": "[]"
41652
- },
41653
- {
41654
- "kind": "field",
41655
- "name": "virtualizerController",
41656
- "type": {
41657
- "text": "null"
41658
- },
41659
- "default": "null"
41660
- }
41661
- ],
41662
- "events": [
41663
- {
41664
- "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
41665
- "name": "onscroll",
41666
- "reactName": "onScroll"
41667
- }
41668
- ],
41669
- "attributes": [
41670
- {
41671
- "name": "onscroll",
41672
- "type": {
41673
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41674
- },
41675
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41676
- "default": "null",
41677
- "fieldName": "onscroll"
41678
- },
41679
- {
41680
- "name": "virtualizerprops",
41681
- "type": {
41682
- "text": "VirtualizerProps"
41683
- },
41684
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41685
- "fieldName": "virtualizerProps"
41686
- },
41687
- {
41688
- "name": "setlistdata",
41689
- "type": {
41690
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41691
- },
41692
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41693
- "default": "null",
41694
- "fieldName": "setlistdata"
41695
- }
41696
- ],
41697
- "superclass": {
41698
- "name": "Component",
41699
- "module": "/src/models"
41700
- },
41701
- "tagName": "mdc-virtualizedlist",
41702
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
41701
+ "tagName": "mdc-toggletip",
41702
+ "jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
41703
41703
  "customElement": true
41704
41704
  }
41705
41705
  ],
@@ -41708,8 +41708,8 @@
41708
41708
  "kind": "js",
41709
41709
  "name": "default",
41710
41710
  "declaration": {
41711
- "name": "VirtualizedList",
41712
- "module": "components/virtualizedlist/virtualizedlist.component.js"
41711
+ "name": "ToggleTip",
41712
+ "module": "components/toggletip/toggletip.component.js"
41713
41713
  }
41714
41714
  }
41715
41715
  ]