@momentum-design/components 0.106.4 → 0.106.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.
Files changed (36) hide show
  1. package/dist/browser/index.js +208 -208
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/listitem/index.d.ts +0 -1
  4. package/dist/components/listitem/index.js +0 -1
  5. package/dist/components/listitem/listitem.component.d.ts +8 -31
  6. package/dist/components/listitem/listitem.component.js +17 -80
  7. package/dist/components/listitem/listitem.constants.d.ts +0 -1
  8. package/dist/components/listitem/listitem.constants.js +0 -2
  9. package/dist/components/menuitem/index.d.ts +0 -1
  10. package/dist/components/menuitem/index.js +0 -1
  11. package/dist/components/menuitem/menuitem.component.d.ts +3 -1
  12. package/dist/components/menuitem/menuitem.component.js +3 -1
  13. package/dist/components/navmenuitem/navmenuitem.component.d.ts +9 -0
  14. package/dist/components/navmenuitem/navmenuitem.component.js +45 -1
  15. package/dist/components/option/index.d.ts +0 -1
  16. package/dist/components/option/index.js +0 -1
  17. package/dist/components/option/option.component.d.ts +3 -3
  18. package/dist/components/option/option.component.js +3 -3
  19. package/dist/components/select/select.component.d.ts +2 -2
  20. package/dist/components/select/select.component.js +2 -2
  21. package/dist/custom-elements.json +1311 -1752
  22. package/dist/react/index.d.ts +4 -4
  23. package/dist/react/index.js +4 -4
  24. package/dist/react/listitem/index.d.ts +2 -5
  25. package/dist/react/listitem/index.js +2 -5
  26. package/dist/react/menuitem/index.d.ts +3 -1
  27. package/dist/react/menuitem/index.js +3 -1
  28. package/dist/react/navmenuitem/index.d.ts +2 -0
  29. package/dist/react/navmenuitem/index.js +2 -0
  30. package/dist/react/option/index.d.ts +3 -3
  31. package/dist/react/option/index.js +3 -3
  32. package/dist/react/select/index.d.ts +2 -2
  33. package/dist/react/select/index.js +2 -2
  34. package/package.json +1 -1
  35. package/dist/components/listitem/listitem.utils.d.ts +0 -3
  36. package/dist/components/listitem/listitem.utils.js +0 -4
@@ -5295,100 +5295,287 @@
5295
5295
  },
5296
5296
  {
5297
5297
  "kind": "javascript-module",
5298
- "path": "components/card/card.component.js",
5298
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
5299
5299
  "declarations": [
5300
5300
  {
5301
5301
  "kind": "class",
5302
- "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
5303
- "name": "Card",
5302
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5303
+ "name": "CardCheckbox",
5304
5304
  "cssProperties": [
5305
5305
  {
5306
5306
  "description": "The width of the card",
5307
- "name": "--mdc-card-width"
5307
+ "name": "--mdc-card-width",
5308
+ "inheritedFrom": {
5309
+ "name": "Card",
5310
+ "module": "src/components/card/card.component.ts"
5311
+ }
5308
5312
  }
5309
5313
  ],
5310
5314
  "cssParts": [
5311
5315
  {
5312
5316
  "description": "The header part of the card",
5313
- "name": "header"
5317
+ "name": "header",
5318
+ "inheritedFrom": {
5319
+ "name": "Card",
5320
+ "module": "src/components/card/card.component.ts"
5321
+ }
5314
5322
  },
5315
5323
  {
5316
5324
  "description": "The icon part of the card header",
5317
- "name": "icon"
5325
+ "name": "icon",
5326
+ "inheritedFrom": {
5327
+ "name": "Card",
5328
+ "module": "src/components/card/card.component.ts"
5329
+ }
5318
5330
  },
5319
5331
  {
5320
5332
  "description": "The body part of the card",
5321
- "name": "body"
5333
+ "name": "body",
5334
+ "inheritedFrom": {
5335
+ "name": "Card",
5336
+ "module": "src/components/card/card.component.ts"
5337
+ }
5322
5338
  },
5323
5339
  {
5324
5340
  "description": "The image part of the card",
5325
- "name": "image"
5341
+ "name": "image",
5342
+ "inheritedFrom": {
5343
+ "name": "Card",
5344
+ "module": "src/components/card/card.component.ts"
5345
+ }
5326
5346
  },
5327
5347
  {
5328
5348
  "description": "The footer part of the card",
5329
- "name": "footer"
5349
+ "name": "footer",
5350
+ "inheritedFrom": {
5351
+ "name": "Card",
5352
+ "module": "src/components/card/card.component.ts"
5353
+ }
5330
5354
  },
5331
5355
  {
5332
5356
  "description": "The link part of the card footer",
5333
- "name": "footer-link"
5357
+ "name": "footer-link",
5358
+ "inheritedFrom": {
5359
+ "name": "Card",
5360
+ "module": "src/components/card/card.component.ts"
5361
+ }
5334
5362
  },
5335
5363
  {
5336
5364
  "description": "The primary button part of the card footer",
5337
- "name": "footer-button-primary"
5365
+ "name": "footer-button-primary",
5366
+ "inheritedFrom": {
5367
+ "name": "Card",
5368
+ "module": "src/components/card/card.component.ts"
5369
+ }
5338
5370
  },
5339
5371
  {
5340
5372
  "description": "The secondary button part of the card footer",
5341
- "name": "footer-button-secondary"
5373
+ "name": "footer-button-secondary",
5374
+ "inheritedFrom": {
5375
+ "name": "Card",
5376
+ "module": "src/components/card/card.component.ts"
5377
+ }
5342
5378
  },
5343
5379
  {
5344
5380
  "description": "The icon button part of the card header",
5345
- "name": "icon-button"
5381
+ "name": "icon-button",
5382
+ "inheritedFrom": {
5383
+ "name": "Card",
5384
+ "module": "src/components/card/card.component.ts"
5385
+ }
5346
5386
  },
5347
5387
  {
5348
5388
  "description": "The text part of the card",
5349
- "name": "text"
5389
+ "name": "text",
5390
+ "inheritedFrom": {
5391
+ "name": "Card",
5392
+ "module": "src/components/card/card.component.ts"
5393
+ }
5394
+ },
5395
+ {
5396
+ "description": "The check part of the card",
5397
+ "name": "check"
5398
+ },
5399
+ {
5400
+ "description": "The check icon part of the card",
5401
+ "name": "check-icon"
5402
+ },
5403
+ {
5404
+ "description": "The check icon button part of the card",
5405
+ "name": "check-icon-button"
5350
5406
  }
5351
5407
  ],
5352
5408
  "slots": [
5353
5409
  {
5354
5410
  "description": "This slot is for passing the content before the body",
5355
- "name": "before-body"
5411
+ "name": "before-body",
5412
+ "inheritedFrom": {
5413
+ "name": "Card",
5414
+ "module": "src/components/card/card.component.ts"
5415
+ }
5356
5416
  },
5357
5417
  {
5358
5418
  "description": "This slot is for passing the text content for the card",
5359
- "name": "body"
5419
+ "name": "body",
5420
+ "inheritedFrom": {
5421
+ "name": "Card",
5422
+ "module": "src/components/card/card.component.ts"
5423
+ }
5360
5424
  },
5361
5425
  {
5362
5426
  "description": "This slot is for passing the content after the body",
5363
- "name": "after-body"
5427
+ "name": "after-body",
5428
+ "inheritedFrom": {
5429
+ "name": "Card",
5430
+ "module": "src/components/card/card.component.ts"
5431
+ }
5364
5432
  },
5365
5433
  {
5366
5434
  "description": "This slot is for passing `mdc-link` component within the footer section.",
5367
- "name": "footer-link"
5435
+ "name": "footer-link",
5436
+ "inheritedFrom": {
5437
+ "name": "Card",
5438
+ "module": "src/components/card/card.component.ts"
5439
+ }
5368
5440
  },
5369
5441
  {
5370
5442
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5371
- "name": "footer-button-primary"
5443
+ "name": "footer-button-primary",
5444
+ "inheritedFrom": {
5445
+ "name": "Card",
5446
+ "module": "src/components/card/card.component.ts"
5447
+ }
5372
5448
  },
5373
5449
  {
5374
5450
  "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5375
- "name": "footer-button-secondary"
5451
+ "name": "footer-button-secondary",
5452
+ "inheritedFrom": {
5453
+ "name": "Card",
5454
+ "module": "src/components/card/card.component.ts"
5455
+ }
5376
5456
  },
5377
5457
  {
5378
5458
  "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5379
- "name": "footer"
5459
+ "name": "footer",
5460
+ "inheritedFrom": {
5461
+ "name": "Card",
5462
+ "module": "src/components/card/card.component.ts"
5463
+ }
5380
5464
  }
5381
5465
  ],
5382
5466
  "members": [
5467
+ {
5468
+ "kind": "field",
5469
+ "name": "checked",
5470
+ "type": {
5471
+ "text": "boolean"
5472
+ },
5473
+ "default": "false",
5474
+ "description": "The checked state of the card",
5475
+ "attribute": "checked",
5476
+ "reflects": true
5477
+ },
5478
+ {
5479
+ "kind": "field",
5480
+ "name": "selectionType",
5481
+ "type": {
5482
+ "text": "SelectionType"
5483
+ },
5484
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5485
+ "default": "'check'",
5486
+ "attribute": "selection-type",
5487
+ "reflects": true
5488
+ },
5489
+ {
5490
+ "kind": "method",
5491
+ "name": "toggleChecked",
5492
+ "privacy": "private",
5493
+ "description": "Toggles the checked state"
5494
+ },
5495
+ {
5496
+ "kind": "method",
5497
+ "name": "toggleOnEnter",
5498
+ "privacy": "private",
5499
+ "parameters": [
5500
+ {
5501
+ "name": "event",
5502
+ "type": {
5503
+ "text": "KeyboardEvent"
5504
+ },
5505
+ "description": "The keyboard event"
5506
+ }
5507
+ ],
5508
+ "description": "Toggles the checked state when enter key is used"
5509
+ },
5510
+ {
5511
+ "kind": "method",
5512
+ "name": "toggleOnSpace",
5513
+ "privacy": "private",
5514
+ "parameters": [
5515
+ {
5516
+ "name": "event",
5517
+ "type": {
5518
+ "text": "KeyboardEvent"
5519
+ },
5520
+ "description": "The keyboard event"
5521
+ }
5522
+ ],
5523
+ "description": "Toggles the checked state when space key is used"
5524
+ },
5525
+ {
5526
+ "kind": "method",
5527
+ "name": "renderSelection",
5528
+ "privacy": "private",
5529
+ "description": "Renders the selection icon or checkbox based on the selection type",
5530
+ "return": {
5531
+ "type": {
5532
+ "text": ""
5533
+ }
5534
+ }
5535
+ },
5383
5536
  {
5384
5537
  "kind": "method",
5385
5538
  "name": "renderHeader",
5386
5539
  "privacy": "protected",
5387
- "description": "Renders the header of the card if title is provided",
5540
+ "description": "Renders the header of the card",
5388
5541
  "return": {
5389
5542
  "type": {
5390
5543
  "text": ""
5391
5544
  }
5545
+ },
5546
+ "inheritedFrom": {
5547
+ "name": "Card",
5548
+ "module": "components/card/card.component.js"
5549
+ }
5550
+ },
5551
+ {
5552
+ "kind": "field",
5553
+ "name": "disabled",
5554
+ "type": {
5555
+ "text": "boolean | undefined"
5556
+ },
5557
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5558
+ "default": "undefined",
5559
+ "attribute": "disabled",
5560
+ "reflects": true,
5561
+ "inheritedFrom": {
5562
+ "name": "DisabledMixin",
5563
+ "module": "utils/mixins/DisabledMixin.js"
5564
+ }
5565
+ },
5566
+ {
5567
+ "kind": "field",
5568
+ "name": "tabIndex",
5569
+ "type": {
5570
+ "text": "number"
5571
+ },
5572
+ "default": "0",
5573
+ "description": "This property specifies the tab order of the element.",
5574
+ "attribute": "tabIndex",
5575
+ "reflects": true,
5576
+ "inheritedFrom": {
5577
+ "name": "TabIndexMixin",
5578
+ "module": "utils/mixins/TabIndexMixin.js"
5392
5579
  }
5393
5580
  },
5394
5581
  {
@@ -5586,31 +5773,88 @@
5586
5773
  }
5587
5774
  }
5588
5775
  ],
5589
- "mixins": [
5590
- {
5591
- "name": "CardComponentMixin",
5592
- "module": "/src/utils/mixins/CardComponentMixin"
5593
- },
5594
- {
5595
- "name": "FooterMixin",
5596
- "module": "/src/utils/mixins/FooterMixin"
5597
- }
5598
- ],
5599
- "superclass": {
5600
- "name": "Component",
5601
- "module": "/src/models"
5602
- },
5603
- "tagName": "mdc-card",
5604
- "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
5605
- "customElement": true,
5606
- "attributes": [
5776
+ "events": [
5607
5777
  {
5608
- "name": "card-title",
5778
+ "name": "change",
5609
5779
  "type": {
5610
- "text": "string"
5780
+ "text": "Event"
5611
5781
  },
5612
- "default": "''",
5613
- "description": "The title of the card - part of header section",
5782
+ "description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
5783
+ "reactName": "onChange"
5784
+ },
5785
+ {
5786
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
5787
+ "name": "click",
5788
+ "reactName": "onClick"
5789
+ },
5790
+ {
5791
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
5792
+ "name": "keydown",
5793
+ "reactName": "onKeyDown"
5794
+ },
5795
+ {
5796
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
5797
+ "name": "keyup",
5798
+ "reactName": "onKeyUp"
5799
+ },
5800
+ {
5801
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5802
+ "name": "focus",
5803
+ "reactName": "onFocus"
5804
+ }
5805
+ ],
5806
+ "attributes": [
5807
+ {
5808
+ "name": "checked",
5809
+ "type": {
5810
+ "text": "boolean"
5811
+ },
5812
+ "default": "false",
5813
+ "description": "The checked state of the card",
5814
+ "fieldName": "checked"
5815
+ },
5816
+ {
5817
+ "name": "selection-type",
5818
+ "type": {
5819
+ "text": "SelectionType"
5820
+ },
5821
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5822
+ "default": "'check'",
5823
+ "fieldName": "selectionType"
5824
+ },
5825
+ {
5826
+ "name": "disabled",
5827
+ "type": {
5828
+ "text": "boolean | undefined"
5829
+ },
5830
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5831
+ "default": "undefined",
5832
+ "fieldName": "disabled",
5833
+ "inheritedFrom": {
5834
+ "name": "DisabledMixin",
5835
+ "module": "src/utils/mixins/DisabledMixin.ts"
5836
+ }
5837
+ },
5838
+ {
5839
+ "name": "tabIndex",
5840
+ "type": {
5841
+ "text": "number"
5842
+ },
5843
+ "default": "0",
5844
+ "description": "This property specifies the tab order of the element.",
5845
+ "fieldName": "tabIndex",
5846
+ "inheritedFrom": {
5847
+ "name": "TabIndexMixin",
5848
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5849
+ }
5850
+ },
5851
+ {
5852
+ "name": "card-title",
5853
+ "type": {
5854
+ "text": "string"
5855
+ },
5856
+ "default": "''",
5857
+ "description": "The title of the card - part of header section",
5614
5858
  "fieldName": "cardTitle",
5615
5859
  "inheritedFrom": {
5616
5860
  "name": "CardComponentMixin",
@@ -5720,7 +5964,24 @@
5720
5964
  "module": "src/utils/mixins/CardComponentMixin.ts"
5721
5965
  }
5722
5966
  }
5723
- ]
5967
+ ],
5968
+ "mixins": [
5969
+ {
5970
+ "name": "DisabledMixin",
5971
+ "module": "/src/utils/mixins/DisabledMixin"
5972
+ },
5973
+ {
5974
+ "name": "TabIndexMixin",
5975
+ "module": "/src/utils/mixins/TabIndexMixin"
5976
+ }
5977
+ ],
5978
+ "superclass": {
5979
+ "name": "Card",
5980
+ "module": "/src/components/card/card.component"
5981
+ },
5982
+ "tagName": "mdc-cardcheckbox",
5983
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
5984
+ "customElement": true
5724
5985
  }
5725
5986
  ],
5726
5987
  "exports": [
@@ -5728,20 +5989,20 @@
5728
5989
  "kind": "js",
5729
5990
  "name": "default",
5730
5991
  "declaration": {
5731
- "name": "Card",
5732
- "module": "components/card/card.component.js"
5992
+ "name": "CardCheckbox",
5993
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
5733
5994
  }
5734
5995
  }
5735
5996
  ]
5736
5997
  },
5737
5998
  {
5738
5999
  "kind": "javascript-module",
5739
- "path": "components/cardbutton/cardbutton.component.js",
6000
+ "path": "components/card/card.component.js",
5740
6001
  "declarations": [
5741
6002
  {
5742
6003
  "kind": "class",
5743
- "description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
5744
- "name": "CardButton",
6004
+ "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
6005
+ "name": "Card",
5745
6006
  "cssProperties": [
5746
6007
  {
5747
6008
  "description": "The width of the card",
@@ -5810,6 +6071,14 @@
5810
6071
  {
5811
6072
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5812
6073
  "name": "footer-button-primary"
6074
+ },
6075
+ {
6076
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6077
+ "name": "footer-button-secondary"
6078
+ },
6079
+ {
6080
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
6081
+ "name": "footer"
5813
6082
  }
5814
6083
  ],
5815
6084
  "members": [
@@ -6004,840 +6273,712 @@
6004
6273
  }
6005
6274
  },
6006
6275
  {
6007
- "kind": "field",
6008
- "name": "autoFocusOnMount",
6009
- "type": {
6010
- "text": "boolean"
6276
+ "kind": "method",
6277
+ "name": "renderFooter",
6278
+ "privacy": "protected",
6279
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6280
+ "return": {
6281
+ "type": {
6282
+ "text": ""
6283
+ }
6011
6284
  },
6012
- "default": "false",
6013
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6014
- "attribute": "auto-focus-on-mount",
6015
- "reflects": true,
6016
6285
  "inheritedFrom": {
6017
- "name": "Buttonsimple",
6018
- "module": "components/buttonsimple/buttonsimple.component.js"
6286
+ "name": "FooterMixin",
6287
+ "module": "utils/mixins/FooterMixin.js"
6019
6288
  }
6289
+ }
6290
+ ],
6291
+ "mixins": [
6292
+ {
6293
+ "name": "CardComponentMixin",
6294
+ "module": "/src/utils/mixins/CardComponentMixin"
6020
6295
  },
6021
6296
  {
6022
- "kind": "field",
6023
- "name": "tabIndex",
6297
+ "name": "FooterMixin",
6298
+ "module": "/src/utils/mixins/FooterMixin"
6299
+ }
6300
+ ],
6301
+ "superclass": {
6302
+ "name": "Component",
6303
+ "module": "/src/models"
6304
+ },
6305
+ "tagName": "mdc-card",
6306
+ "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
6307
+ "customElement": true,
6308
+ "attributes": [
6309
+ {
6310
+ "name": "card-title",
6024
6311
  "type": {
6025
- "text": "number"
6312
+ "text": "string"
6026
6313
  },
6027
- "default": "0",
6028
- "description": "This property specifies the tab order of the element.",
6029
- "attribute": "tabIndex",
6030
- "reflects": true,
6314
+ "default": "''",
6315
+ "description": "The title of the card - part of header section",
6316
+ "fieldName": "cardTitle",
6031
6317
  "inheritedFrom": {
6032
- "name": "Buttonsimple",
6033
- "module": "components/buttonsimple/buttonsimple.component.js"
6318
+ "name": "CardComponentMixin",
6319
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6034
6320
  }
6035
6321
  },
6036
6322
  {
6037
- "kind": "field",
6038
- "name": "disabled",
6323
+ "name": "subtitle",
6039
6324
  "type": {
6040
- "text": "boolean | undefined"
6325
+ "text": "string"
6041
6326
  },
6042
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6043
- "default": "undefined",
6044
- "attribute": "disabled",
6045
- "reflects": true,
6327
+ "default": "''",
6328
+ "description": "The subtitle of the card - part of header section",
6329
+ "fieldName": "subtitle",
6046
6330
  "inheritedFrom": {
6047
- "name": "Buttonsimple",
6048
- "module": "components/buttonsimple/buttonsimple.component.js"
6331
+ "name": "CardComponentMixin",
6332
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6049
6333
  }
6050
6334
  },
6051
6335
  {
6052
- "kind": "field",
6053
- "name": "active",
6336
+ "name": "image-src",
6054
6337
  "type": {
6055
- "text": "boolean | undefined"
6338
+ "text": "string"
6056
6339
  },
6057
- "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.",
6058
- "default": "undefined",
6059
- "attribute": "active",
6060
- "reflects": true,
6340
+ "default": "''",
6341
+ "description": "The image source URL to render on the card",
6342
+ "fieldName": "imageSrc",
6061
6343
  "inheritedFrom": {
6062
- "name": "Buttonsimple",
6063
- "module": "components/buttonsimple/buttonsimple.component.js"
6344
+ "name": "CardComponentMixin",
6345
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6064
6346
  }
6065
6347
  },
6066
6348
  {
6067
- "kind": "field",
6068
- "name": "softDisabled",
6349
+ "name": "image-alt",
6069
6350
  "type": {
6070
- "text": "boolean | undefined"
6351
+ "text": "string"
6071
6352
  },
6072
- "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.",
6073
- "default": "undefined",
6074
- "attribute": "soft-disabled",
6075
- "reflects": true,
6353
+ "default": "''",
6354
+ "description": "The image alt for accessibility support",
6355
+ "fieldName": "imageAlt",
6076
6356
  "inheritedFrom": {
6077
- "name": "Buttonsimple",
6078
- "module": "components/buttonsimple/buttonsimple.component.js"
6357
+ "name": "CardComponentMixin",
6358
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6079
6359
  }
6080
6360
  },
6081
6361
  {
6082
- "kind": "field",
6083
- "name": "size",
6362
+ "name": "variant",
6084
6363
  "type": {
6085
- "text": "ButtonSize"
6364
+ "text": "CardVariant"
6086
6365
  },
6087
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6088
- "default": "32",
6089
- "attribute": "size",
6090
- "reflects": true,
6366
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6367
+ "default": "'border'",
6368
+ "fieldName": "variant",
6091
6369
  "inheritedFrom": {
6092
- "name": "Buttonsimple",
6093
- "module": "components/buttonsimple/buttonsimple.component.js"
6370
+ "name": "CardComponentMixin",
6371
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6094
6372
  }
6095
6373
  },
6096
6374
  {
6097
- "kind": "field",
6098
- "name": "role",
6375
+ "name": "orientation",
6099
6376
  "type": {
6100
- "text": "RoleType"
6377
+ "text": "CardOrientation"
6101
6378
  },
6102
- "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.",
6103
- "default": "button",
6104
- "attribute": "role",
6105
- "reflects": true,
6379
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6380
+ "default": "'vertical'",
6381
+ "fieldName": "orientation",
6106
6382
  "inheritedFrom": {
6107
- "name": "Buttonsimple",
6108
- "module": "components/buttonsimple/buttonsimple.component.js"
6383
+ "name": "CardComponentMixin",
6384
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6109
6385
  }
6110
6386
  },
6111
6387
  {
6112
- "kind": "field",
6113
- "name": "ariaStateKey",
6388
+ "name": "title-tag-name",
6114
6389
  "type": {
6115
- "text": "string | undefined"
6390
+ "text": "TagNameType"
6116
6391
  },
6117
- "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`",
6118
- "default": "'aria-pressed' (when)",
6119
- "attribute": "ariaStateKey",
6120
- "reflects": true,
6392
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6393
+ "default": "'span'",
6394
+ "fieldName": "titleTagName",
6121
6395
  "inheritedFrom": {
6122
- "name": "Buttonsimple",
6123
- "module": "components/buttonsimple/buttonsimple.component.js"
6396
+ "name": "CardComponentMixin",
6397
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6124
6398
  }
6125
6399
  },
6126
6400
  {
6127
- "kind": "field",
6128
- "name": "type",
6401
+ "name": "subtitle-tag-name",
6129
6402
  "type": {
6130
- "text": "ButtonType"
6403
+ "text": "TagNameType"
6131
6404
  },
6132
- "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.",
6133
- "default": "button",
6134
- "attribute": "type",
6135
- "reflects": true,
6405
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6406
+ "default": "'span'",
6407
+ "fieldName": "subtitleTagName",
6136
6408
  "inheritedFrom": {
6137
- "name": "Buttonsimple",
6138
- "module": "components/buttonsimple/buttonsimple.component.js"
6409
+ "name": "CardComponentMixin",
6410
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6139
6411
  }
6140
6412
  },
6141
6413
  {
6142
- "kind": "field",
6143
- "name": "name",
6414
+ "name": "icon-name",
6144
6415
  "type": {
6145
- "text": "string | undefined"
6416
+ "text": "IconNames | undefined"
6146
6417
  },
6147
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6148
- "attribute": "name",
6149
- "reflects": true,
6418
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6419
+ "fieldName": "iconName",
6150
6420
  "inheritedFrom": {
6151
- "name": "Buttonsimple",
6152
- "module": "components/buttonsimple/buttonsimple.component.js"
6421
+ "name": "CardComponentMixin",
6422
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6153
6423
  }
6424
+ }
6425
+ ]
6426
+ }
6427
+ ],
6428
+ "exports": [
6429
+ {
6430
+ "kind": "js",
6431
+ "name": "default",
6432
+ "declaration": {
6433
+ "name": "Card",
6434
+ "module": "components/card/card.component.js"
6435
+ }
6436
+ }
6437
+ ]
6438
+ },
6439
+ {
6440
+ "kind": "javascript-module",
6441
+ "path": "components/cardbutton/cardbutton.component.js",
6442
+ "declarations": [
6443
+ {
6444
+ "kind": "class",
6445
+ "description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
6446
+ "name": "CardButton",
6447
+ "cssProperties": [
6448
+ {
6449
+ "description": "The width of the card",
6450
+ "name": "--mdc-card-width"
6451
+ }
6452
+ ],
6453
+ "cssParts": [
6454
+ {
6455
+ "description": "The header part of the card",
6456
+ "name": "header"
6154
6457
  },
6155
6458
  {
6156
- "kind": "field",
6157
- "name": "value",
6158
- "type": {
6159
- "text": "string | undefined"
6160
- },
6161
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6162
- "attribute": "value",
6163
- "reflects": true,
6164
- "inheritedFrom": {
6165
- "name": "Buttonsimple",
6166
- "module": "components/buttonsimple/buttonsimple.component.js"
6167
- }
6459
+ "description": "The icon part of the card header",
6460
+ "name": "icon"
6168
6461
  },
6169
6462
  {
6170
- "kind": "method",
6171
- "name": "executeAction",
6172
- "privacy": "protected",
6173
- "inheritedFrom": {
6174
- "name": "Buttonsimple",
6175
- "module": "components/buttonsimple/buttonsimple.component.js"
6176
- }
6463
+ "description": "The body part of the card",
6464
+ "name": "body"
6177
6465
  },
6178
6466
  {
6179
- "kind": "method",
6180
- "name": "setActive",
6181
- "privacy": "protected",
6182
- "parameters": [
6183
- {
6184
- "name": "element",
6185
- "type": {
6186
- "text": "HTMLElement"
6187
- },
6188
- "description": "The button element"
6189
- },
6190
- {
6191
- "name": "active",
6192
- "optional": true,
6193
- "type": {
6194
- "text": "boolean"
6195
- },
6196
- "description": "The active state of the element"
6197
- }
6198
- ],
6199
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
6200
- "inheritedFrom": {
6201
- "name": "Buttonsimple",
6202
- "module": "components/buttonsimple/buttonsimple.component.js"
6203
- }
6467
+ "description": "The image part of the card",
6468
+ "name": "image"
6204
6469
  },
6205
6470
  {
6206
- "kind": "method",
6207
- "name": "setSoftDisabled",
6208
- "privacy": "private",
6209
- "parameters": [
6210
- {
6211
- "name": "element",
6212
- "type": {
6213
- "text": "HTMLElement"
6214
- },
6215
- "description": "The button element."
6216
- },
6217
- {
6218
- "name": "softDisabled",
6219
- "optional": true,
6220
- "type": {
6221
- "text": "boolean"
6222
- },
6223
- "description": "The soft-disabled state."
6224
- }
6225
- ],
6226
- "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.",
6227
- "inheritedFrom": {
6228
- "name": "Buttonsimple",
6229
- "module": "components/buttonsimple/buttonsimple.component.js"
6230
- }
6471
+ "description": "The footer part of the card",
6472
+ "name": "footer"
6231
6473
  },
6232
6474
  {
6233
- "kind": "method",
6234
- "name": "setDisabled",
6235
- "privacy": "private",
6236
- "parameters": [
6237
- {
6238
- "name": "element",
6239
- "type": {
6240
- "text": "HTMLElement"
6241
- },
6242
- "description": "The button element."
6243
- },
6244
- {
6245
- "name": "disabled",
6246
- "type": {
6247
- "text": "boolean"
6248
- },
6249
- "description": "The disabled state."
6250
- }
6251
- ],
6252
- "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.",
6253
- "inheritedFrom": {
6254
- "name": "Buttonsimple",
6255
- "module": "components/buttonsimple/buttonsimple.component.js"
6256
- }
6475
+ "description": "The link part of the card footer",
6476
+ "name": "footer-link"
6257
6477
  },
6258
6478
  {
6259
- "kind": "method",
6260
- "name": "triggerClickEvent",
6261
- "privacy": "private",
6262
- "inheritedFrom": {
6263
- "name": "Buttonsimple",
6264
- "module": "components/buttonsimple/buttonsimple.component.js"
6265
- }
6479
+ "description": "The primary button part of the card footer",
6480
+ "name": "footer-button-primary"
6266
6481
  },
6267
6482
  {
6268
- "kind": "method",
6269
- "name": "handleBlur",
6270
- "privacy": "private",
6271
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
6272
- "inheritedFrom": {
6273
- "name": "Buttonsimple",
6274
- "module": "components/buttonsimple/buttonsimple.component.js"
6275
- }
6483
+ "description": "The secondary button part of the card footer",
6484
+ "name": "footer-button-secondary"
6276
6485
  },
6277
6486
  {
6278
- "kind": "method",
6279
- "name": "handleKeyDown",
6280
- "privacy": "private",
6281
- "parameters": [
6282
- {
6283
- "name": "event",
6284
- "type": {
6285
- "text": "KeyboardEvent"
6286
- },
6287
- "description": "The keyboard event."
6288
- }
6289
- ],
6290
- "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.",
6291
- "inheritedFrom": {
6292
- "name": "Buttonsimple",
6293
- "module": "components/buttonsimple/buttonsimple.component.js"
6294
- }
6487
+ "description": "The icon button part of the card header",
6488
+ "name": "icon-button"
6295
6489
  },
6296
6490
  {
6297
- "kind": "method",
6298
- "name": "handleKeyUp",
6299
- "privacy": "private",
6300
- "parameters": [
6301
- {
6302
- "name": "event",
6303
- "type": {
6304
- "text": "KeyboardEvent"
6305
- },
6306
- "description": "The keyboard event."
6307
- }
6308
- ],
6309
- "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.",
6310
- "inheritedFrom": {
6311
- "name": "Buttonsimple",
6312
- "module": "components/buttonsimple/buttonsimple.component.js"
6313
- }
6491
+ "description": "The text part of the card",
6492
+ "name": "text"
6314
6493
  }
6315
6494
  ],
6316
- "events": [
6495
+ "slots": [
6317
6496
  {
6318
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
6319
- "name": "click",
6320
- "reactName": "onClick",
6321
- "inheritedFrom": {
6322
- "name": "Buttonsimple",
6323
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6324
- }
6497
+ "description": "This slot is for passing the content before the body",
6498
+ "name": "before-body"
6325
6499
  },
6326
6500
  {
6327
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
6328
- "name": "keydown",
6329
- "reactName": "onKeyDown",
6330
- "inheritedFrom": {
6331
- "name": "Buttonsimple",
6332
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6333
- }
6501
+ "description": "This slot is for passing the text content for the card",
6502
+ "name": "body"
6334
6503
  },
6335
6504
  {
6336
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
6337
- "name": "keyup",
6338
- "reactName": "onKeyUp",
6339
- "inheritedFrom": {
6340
- "name": "Buttonsimple",
6341
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6342
- }
6505
+ "description": "This slot is for passing the content after the body",
6506
+ "name": "after-body"
6343
6507
  },
6344
6508
  {
6345
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6346
- "name": "focus",
6347
- "reactName": "onFocus",
6348
- "inheritedFrom": {
6349
- "name": "Buttonsimple",
6350
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6351
- }
6352
- }
6353
- ],
6354
- "mixins": [
6509
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
6510
+ "name": "footer-link"
6511
+ },
6355
6512
  {
6356
- "name": "CardComponentMixin",
6357
- "module": "/src/utils/mixins/CardComponentMixin"
6513
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6514
+ "name": "footer-button-primary"
6358
6515
  }
6359
6516
  ],
6360
- "superclass": {
6361
- "name": "Buttonsimple",
6362
- "module": "/src/components/buttonsimple/buttonsimple.component"
6363
- },
6364
- "tagName": "mdc-cardbutton",
6365
- "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
6366
- "customElement": true,
6367
- "attributes": [
6517
+ "members": [
6368
6518
  {
6369
- "name": "card-title",
6519
+ "kind": "method",
6520
+ "name": "renderHeader",
6521
+ "privacy": "protected",
6522
+ "description": "Renders the header of the card if title is provided",
6523
+ "return": {
6524
+ "type": {
6525
+ "text": ""
6526
+ }
6527
+ }
6528
+ },
6529
+ {
6530
+ "kind": "field",
6531
+ "name": "cardTitle",
6370
6532
  "type": {
6371
6533
  "text": "string"
6372
6534
  },
6373
6535
  "default": "''",
6374
6536
  "description": "The title of the card - part of header section",
6375
- "fieldName": "cardTitle",
6537
+ "attribute": "card-title",
6538
+ "reflects": true,
6376
6539
  "inheritedFrom": {
6377
6540
  "name": "CardComponentMixin",
6378
- "module": "src/utils/mixins/CardComponentMixin.ts"
6541
+ "module": "utils/mixins/CardComponentMixin.js"
6379
6542
  }
6380
6543
  },
6381
6544
  {
6545
+ "kind": "field",
6382
6546
  "name": "subtitle",
6383
6547
  "type": {
6384
6548
  "text": "string"
6385
6549
  },
6386
6550
  "default": "''",
6387
6551
  "description": "The subtitle of the card - part of header section",
6388
- "fieldName": "subtitle",
6552
+ "attribute": "subtitle",
6553
+ "reflects": true,
6389
6554
  "inheritedFrom": {
6390
6555
  "name": "CardComponentMixin",
6391
- "module": "src/utils/mixins/CardComponentMixin.ts"
6556
+ "module": "utils/mixins/CardComponentMixin.js"
6392
6557
  }
6393
6558
  },
6394
6559
  {
6395
- "name": "image-src",
6560
+ "kind": "field",
6561
+ "name": "imageSrc",
6396
6562
  "type": {
6397
6563
  "text": "string"
6398
6564
  },
6399
6565
  "default": "''",
6400
6566
  "description": "The image source URL to render on the card",
6401
- "fieldName": "imageSrc",
6567
+ "attribute": "image-src",
6568
+ "reflects": true,
6402
6569
  "inheritedFrom": {
6403
6570
  "name": "CardComponentMixin",
6404
- "module": "src/utils/mixins/CardComponentMixin.ts"
6571
+ "module": "utils/mixins/CardComponentMixin.js"
6405
6572
  }
6406
6573
  },
6407
6574
  {
6408
- "name": "image-alt",
6575
+ "kind": "field",
6576
+ "name": "imageAlt",
6409
6577
  "type": {
6410
6578
  "text": "string"
6411
6579
  },
6412
6580
  "default": "''",
6413
6581
  "description": "The image alt for accessibility support",
6414
- "fieldName": "imageAlt",
6582
+ "attribute": "image-alt",
6583
+ "reflects": true,
6415
6584
  "inheritedFrom": {
6416
6585
  "name": "CardComponentMixin",
6417
- "module": "src/utils/mixins/CardComponentMixin.ts"
6586
+ "module": "utils/mixins/CardComponentMixin.js"
6418
6587
  }
6419
6588
  },
6420
6589
  {
6590
+ "kind": "field",
6421
6591
  "name": "variant",
6422
6592
  "type": {
6423
6593
  "text": "CardVariant"
6424
6594
  },
6425
6595
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6426
6596
  "default": "'border'",
6427
- "fieldName": "variant",
6597
+ "attribute": "variant",
6598
+ "reflects": true,
6428
6599
  "inheritedFrom": {
6429
6600
  "name": "CardComponentMixin",
6430
- "module": "src/utils/mixins/CardComponentMixin.ts"
6601
+ "module": "utils/mixins/CardComponentMixin.js"
6431
6602
  }
6432
6603
  },
6433
6604
  {
6605
+ "kind": "field",
6434
6606
  "name": "orientation",
6435
6607
  "type": {
6436
6608
  "text": "CardOrientation"
6437
6609
  },
6438
6610
  "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6439
6611
  "default": "'vertical'",
6440
- "fieldName": "orientation",
6612
+ "attribute": "orientation",
6613
+ "reflects": true,
6441
6614
  "inheritedFrom": {
6442
6615
  "name": "CardComponentMixin",
6443
- "module": "src/utils/mixins/CardComponentMixin.ts"
6616
+ "module": "utils/mixins/CardComponentMixin.js"
6444
6617
  }
6445
6618
  },
6446
6619
  {
6447
- "name": "title-tag-name",
6620
+ "kind": "field",
6621
+ "name": "titleTagName",
6448
6622
  "type": {
6449
6623
  "text": "TagNameType"
6450
6624
  },
6451
6625
  "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6452
6626
  "default": "'span'",
6453
- "fieldName": "titleTagName",
6627
+ "attribute": "title-tag-name",
6628
+ "reflects": true,
6454
6629
  "inheritedFrom": {
6455
6630
  "name": "CardComponentMixin",
6456
- "module": "src/utils/mixins/CardComponentMixin.ts"
6631
+ "module": "utils/mixins/CardComponentMixin.js"
6457
6632
  }
6458
6633
  },
6459
6634
  {
6460
- "name": "subtitle-tag-name",
6635
+ "kind": "field",
6636
+ "name": "subtitleTagName",
6461
6637
  "type": {
6462
6638
  "text": "TagNameType"
6463
6639
  },
6464
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6465
- "default": "'span'",
6466
- "fieldName": "subtitleTagName",
6640
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6641
+ "default": "'span'",
6642
+ "attribute": "subtitle-tag-name",
6643
+ "reflects": true,
6644
+ "inheritedFrom": {
6645
+ "name": "CardComponentMixin",
6646
+ "module": "utils/mixins/CardComponentMixin.js"
6647
+ }
6648
+ },
6649
+ {
6650
+ "kind": "field",
6651
+ "name": "iconName",
6652
+ "type": {
6653
+ "text": "IconNames | undefined"
6654
+ },
6655
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6656
+ "attribute": "icon-name",
6657
+ "reflects": true,
6658
+ "inheritedFrom": {
6659
+ "name": "CardComponentMixin",
6660
+ "module": "utils/mixins/CardComponentMixin.js"
6661
+ }
6662
+ },
6663
+ {
6664
+ "kind": "method",
6665
+ "name": "renderImage",
6666
+ "privacy": "protected",
6667
+ "description": "Renders the image on the card if image source is provided",
6668
+ "return": {
6669
+ "type": {
6670
+ "text": ""
6671
+ }
6672
+ },
6673
+ "inheritedFrom": {
6674
+ "name": "CardComponentMixin",
6675
+ "module": "utils/mixins/CardComponentMixin.js"
6676
+ }
6677
+ },
6678
+ {
6679
+ "kind": "method",
6680
+ "name": "renderIcon",
6681
+ "privacy": "protected",
6682
+ "description": "Renders the icon on the card if icon name is provided",
6683
+ "return": {
6684
+ "type": {
6685
+ "text": ""
6686
+ }
6687
+ },
6467
6688
  "inheritedFrom": {
6468
6689
  "name": "CardComponentMixin",
6469
- "module": "src/utils/mixins/CardComponentMixin.ts"
6690
+ "module": "utils/mixins/CardComponentMixin.js"
6470
6691
  }
6471
6692
  },
6472
6693
  {
6473
- "name": "icon-name",
6474
- "type": {
6475
- "text": "IconNames | undefined"
6694
+ "kind": "method",
6695
+ "name": "renderTitle",
6696
+ "privacy": "protected",
6697
+ "description": "Renders the title and subtitle on the card",
6698
+ "return": {
6699
+ "type": {
6700
+ "text": ""
6701
+ }
6476
6702
  },
6477
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6478
- "fieldName": "iconName",
6479
6703
  "inheritedFrom": {
6480
6704
  "name": "CardComponentMixin",
6481
- "module": "src/utils/mixins/CardComponentMixin.ts"
6705
+ "module": "utils/mixins/CardComponentMixin.js"
6482
6706
  }
6483
6707
  },
6484
6708
  {
6485
- "name": "auto-focus-on-mount",
6709
+ "kind": "field",
6710
+ "name": "autoFocusOnMount",
6486
6711
  "type": {
6487
6712
  "text": "boolean"
6488
6713
  },
6489
6714
  "default": "false",
6490
6715
  "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6491
- "fieldName": "autoFocusOnMount",
6716
+ "attribute": "auto-focus-on-mount",
6717
+ "reflects": true,
6492
6718
  "inheritedFrom": {
6493
6719
  "name": "Buttonsimple",
6494
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6720
+ "module": "components/buttonsimple/buttonsimple.component.js"
6495
6721
  }
6496
6722
  },
6497
6723
  {
6724
+ "kind": "field",
6498
6725
  "name": "tabIndex",
6499
6726
  "type": {
6500
6727
  "text": "number"
6501
6728
  },
6502
6729
  "default": "0",
6503
6730
  "description": "This property specifies the tab order of the element.",
6504
- "fieldName": "tabIndex",
6731
+ "attribute": "tabIndex",
6732
+ "reflects": true,
6505
6733
  "inheritedFrom": {
6506
6734
  "name": "Buttonsimple",
6507
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6735
+ "module": "components/buttonsimple/buttonsimple.component.js"
6508
6736
  }
6509
6737
  },
6510
6738
  {
6739
+ "kind": "field",
6511
6740
  "name": "disabled",
6512
6741
  "type": {
6513
6742
  "text": "boolean | undefined"
6514
6743
  },
6515
6744
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6516
6745
  "default": "undefined",
6517
- "fieldName": "disabled",
6746
+ "attribute": "disabled",
6747
+ "reflects": true,
6518
6748
  "inheritedFrom": {
6519
6749
  "name": "Buttonsimple",
6520
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6750
+ "module": "components/buttonsimple/buttonsimple.component.js"
6521
6751
  }
6522
6752
  },
6523
6753
  {
6754
+ "kind": "field",
6524
6755
  "name": "active",
6525
6756
  "type": {
6526
6757
  "text": "boolean | undefined"
6527
6758
  },
6528
6759
  "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.",
6529
6760
  "default": "undefined",
6530
- "fieldName": "active",
6761
+ "attribute": "active",
6762
+ "reflects": true,
6531
6763
  "inheritedFrom": {
6532
6764
  "name": "Buttonsimple",
6533
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6765
+ "module": "components/buttonsimple/buttonsimple.component.js"
6534
6766
  }
6535
6767
  },
6536
6768
  {
6537
- "name": "soft-disabled",
6769
+ "kind": "field",
6770
+ "name": "softDisabled",
6538
6771
  "type": {
6539
6772
  "text": "boolean | undefined"
6540
6773
  },
6541
6774
  "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.",
6542
6775
  "default": "undefined",
6543
- "fieldName": "softDisabled",
6776
+ "attribute": "soft-disabled",
6777
+ "reflects": true,
6544
6778
  "inheritedFrom": {
6545
6779
  "name": "Buttonsimple",
6546
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6780
+ "module": "components/buttonsimple/buttonsimple.component.js"
6547
6781
  }
6548
6782
  },
6549
6783
  {
6784
+ "kind": "field",
6550
6785
  "name": "size",
6551
6786
  "type": {
6552
6787
  "text": "ButtonSize"
6553
6788
  },
6554
6789
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6555
6790
  "default": "32",
6556
- "fieldName": "size",
6791
+ "attribute": "size",
6792
+ "reflects": true,
6557
6793
  "inheritedFrom": {
6558
6794
  "name": "Buttonsimple",
6559
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6795
+ "module": "components/buttonsimple/buttonsimple.component.js"
6560
6796
  }
6561
6797
  },
6562
6798
  {
6799
+ "kind": "field",
6563
6800
  "name": "role",
6564
6801
  "type": {
6565
6802
  "text": "RoleType"
6566
6803
  },
6567
6804
  "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.",
6568
6805
  "default": "button",
6569
- "fieldName": "role",
6806
+ "attribute": "role",
6807
+ "reflects": true,
6570
6808
  "inheritedFrom": {
6571
6809
  "name": "Buttonsimple",
6572
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6810
+ "module": "components/buttonsimple/buttonsimple.component.js"
6573
6811
  }
6574
6812
  },
6575
6813
  {
6814
+ "kind": "field",
6576
6815
  "name": "ariaStateKey",
6577
6816
  "type": {
6578
6817
  "text": "string | undefined"
6579
6818
  },
6580
6819
  "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`",
6581
6820
  "default": "'aria-pressed' (when)",
6582
- "fieldName": "ariaStateKey",
6821
+ "attribute": "ariaStateKey",
6822
+ "reflects": true,
6583
6823
  "inheritedFrom": {
6584
6824
  "name": "Buttonsimple",
6585
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6825
+ "module": "components/buttonsimple/buttonsimple.component.js"
6586
6826
  }
6587
6827
  },
6588
6828
  {
6829
+ "kind": "field",
6589
6830
  "name": "type",
6590
6831
  "type": {
6591
6832
  "text": "ButtonType"
6592
6833
  },
6593
6834
  "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.",
6594
6835
  "default": "button",
6595
- "fieldName": "type",
6836
+ "attribute": "type",
6837
+ "reflects": true,
6596
6838
  "inheritedFrom": {
6597
6839
  "name": "Buttonsimple",
6598
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6840
+ "module": "components/buttonsimple/buttonsimple.component.js"
6599
6841
  }
6600
6842
  },
6601
6843
  {
6844
+ "kind": "field",
6602
6845
  "name": "name",
6603
6846
  "type": {
6604
6847
  "text": "string | undefined"
6605
6848
  },
6606
6849
  "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6607
- "fieldName": "name",
6850
+ "attribute": "name",
6851
+ "reflects": true,
6608
6852
  "inheritedFrom": {
6609
6853
  "name": "Buttonsimple",
6610
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6854
+ "module": "components/buttonsimple/buttonsimple.component.js"
6611
6855
  }
6612
6856
  },
6613
6857
  {
6858
+ "kind": "field",
6614
6859
  "name": "value",
6615
6860
  "type": {
6616
6861
  "text": "string | undefined"
6617
6862
  },
6618
6863
  "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6619
- "fieldName": "value",
6864
+ "attribute": "value",
6865
+ "reflects": true,
6620
6866
  "inheritedFrom": {
6621
6867
  "name": "Buttonsimple",
6622
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6623
- }
6624
- }
6625
- ]
6626
- }
6627
- ],
6628
- "exports": [
6629
- {
6630
- "kind": "js",
6631
- "name": "default",
6632
- "declaration": {
6633
- "name": "CardButton",
6634
- "module": "components/cardbutton/cardbutton.component.js"
6635
- }
6636
- }
6637
- ]
6638
- },
6639
- {
6640
- "kind": "javascript-module",
6641
- "path": "components/cardcheckbox/cardcheckbox.component.js",
6642
- "declarations": [
6643
- {
6644
- "kind": "class",
6645
- "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6646
- "name": "CardCheckbox",
6647
- "cssProperties": [
6648
- {
6649
- "description": "The width of the card",
6650
- "name": "--mdc-card-width",
6651
- "inheritedFrom": {
6652
- "name": "Card",
6653
- "module": "src/components/card/card.component.ts"
6654
- }
6655
- }
6656
- ],
6657
- "cssParts": [
6658
- {
6659
- "description": "The header part of the card",
6660
- "name": "header",
6661
- "inheritedFrom": {
6662
- "name": "Card",
6663
- "module": "src/components/card/card.component.ts"
6664
- }
6665
- },
6666
- {
6667
- "description": "The icon part of the card header",
6668
- "name": "icon",
6669
- "inheritedFrom": {
6670
- "name": "Card",
6671
- "module": "src/components/card/card.component.ts"
6672
- }
6673
- },
6674
- {
6675
- "description": "The body part of the card",
6676
- "name": "body",
6677
- "inheritedFrom": {
6678
- "name": "Card",
6679
- "module": "src/components/card/card.component.ts"
6680
- }
6681
- },
6682
- {
6683
- "description": "The image part of the card",
6684
- "name": "image",
6685
- "inheritedFrom": {
6686
- "name": "Card",
6687
- "module": "src/components/card/card.component.ts"
6688
- }
6689
- },
6690
- {
6691
- "description": "The footer part of the card",
6692
- "name": "footer",
6693
- "inheritedFrom": {
6694
- "name": "Card",
6695
- "module": "src/components/card/card.component.ts"
6696
- }
6697
- },
6698
- {
6699
- "description": "The link part of the card footer",
6700
- "name": "footer-link",
6701
- "inheritedFrom": {
6702
- "name": "Card",
6703
- "module": "src/components/card/card.component.ts"
6704
- }
6705
- },
6706
- {
6707
- "description": "The primary button part of the card footer",
6708
- "name": "footer-button-primary",
6709
- "inheritedFrom": {
6710
- "name": "Card",
6711
- "module": "src/components/card/card.component.ts"
6712
- }
6713
- },
6714
- {
6715
- "description": "The secondary button part of the card footer",
6716
- "name": "footer-button-secondary",
6717
- "inheritedFrom": {
6718
- "name": "Card",
6719
- "module": "src/components/card/card.component.ts"
6720
- }
6721
- },
6722
- {
6723
- "description": "The icon button part of the card header",
6724
- "name": "icon-button",
6725
- "inheritedFrom": {
6726
- "name": "Card",
6727
- "module": "src/components/card/card.component.ts"
6728
- }
6729
- },
6730
- {
6731
- "description": "The text part of the card",
6732
- "name": "text",
6733
- "inheritedFrom": {
6734
- "name": "Card",
6735
- "module": "src/components/card/card.component.ts"
6736
- }
6737
- },
6738
- {
6739
- "description": "The check part of the card",
6740
- "name": "check"
6741
- },
6742
- {
6743
- "description": "The check icon part of the card",
6744
- "name": "check-icon"
6745
- },
6746
- {
6747
- "description": "The check icon button part of the card",
6748
- "name": "check-icon-button"
6749
- }
6750
- ],
6751
- "slots": [
6752
- {
6753
- "description": "This slot is for passing the content before the body",
6754
- "name": "before-body",
6755
- "inheritedFrom": {
6756
- "name": "Card",
6757
- "module": "src/components/card/card.component.ts"
6758
- }
6759
- },
6760
- {
6761
- "description": "This slot is for passing the text content for the card",
6762
- "name": "body",
6763
- "inheritedFrom": {
6764
- "name": "Card",
6765
- "module": "src/components/card/card.component.ts"
6868
+ "module": "components/buttonsimple/buttonsimple.component.js"
6766
6869
  }
6767
6870
  },
6768
6871
  {
6769
- "description": "This slot is for passing the content after the body",
6770
- "name": "after-body",
6872
+ "kind": "method",
6873
+ "name": "executeAction",
6874
+ "privacy": "protected",
6771
6875
  "inheritedFrom": {
6772
- "name": "Card",
6773
- "module": "src/components/card/card.component.ts"
6876
+ "name": "Buttonsimple",
6877
+ "module": "components/buttonsimple/buttonsimple.component.js"
6774
6878
  }
6775
6879
  },
6776
6880
  {
6777
- "description": "This slot is for passing `mdc-link` component within the footer section.",
6778
- "name": "footer-link",
6881
+ "kind": "method",
6882
+ "name": "setActive",
6883
+ "privacy": "protected",
6884
+ "parameters": [
6885
+ {
6886
+ "name": "element",
6887
+ "type": {
6888
+ "text": "HTMLElement"
6889
+ },
6890
+ "description": "The button element"
6891
+ },
6892
+ {
6893
+ "name": "active",
6894
+ "optional": true,
6895
+ "type": {
6896
+ "text": "boolean"
6897
+ },
6898
+ "description": "The active state of the element"
6899
+ }
6900
+ ],
6901
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
6779
6902
  "inheritedFrom": {
6780
- "name": "Card",
6781
- "module": "src/components/card/card.component.ts"
6903
+ "name": "Buttonsimple",
6904
+ "module": "components/buttonsimple/buttonsimple.component.js"
6782
6905
  }
6783
6906
  },
6784
6907
  {
6785
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6786
- "name": "footer-button-primary",
6908
+ "kind": "method",
6909
+ "name": "setSoftDisabled",
6910
+ "privacy": "private",
6911
+ "parameters": [
6912
+ {
6913
+ "name": "element",
6914
+ "type": {
6915
+ "text": "HTMLElement"
6916
+ },
6917
+ "description": "The button element."
6918
+ },
6919
+ {
6920
+ "name": "softDisabled",
6921
+ "optional": true,
6922
+ "type": {
6923
+ "text": "boolean"
6924
+ },
6925
+ "description": "The soft-disabled state."
6926
+ }
6927
+ ],
6928
+ "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.",
6787
6929
  "inheritedFrom": {
6788
- "name": "Card",
6789
- "module": "src/components/card/card.component.ts"
6930
+ "name": "Buttonsimple",
6931
+ "module": "components/buttonsimple/buttonsimple.component.js"
6790
6932
  }
6791
6933
  },
6792
6934
  {
6793
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6794
- "name": "footer-button-secondary",
6935
+ "kind": "method",
6936
+ "name": "setDisabled",
6937
+ "privacy": "private",
6938
+ "parameters": [
6939
+ {
6940
+ "name": "element",
6941
+ "type": {
6942
+ "text": "HTMLElement"
6943
+ },
6944
+ "description": "The button element."
6945
+ },
6946
+ {
6947
+ "name": "disabled",
6948
+ "type": {
6949
+ "text": "boolean"
6950
+ },
6951
+ "description": "The disabled state."
6952
+ }
6953
+ ],
6954
+ "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.",
6795
6955
  "inheritedFrom": {
6796
- "name": "Card",
6797
- "module": "src/components/card/card.component.ts"
6956
+ "name": "Buttonsimple",
6957
+ "module": "components/buttonsimple/buttonsimple.component.js"
6798
6958
  }
6799
6959
  },
6800
6960
  {
6801
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
6802
- "name": "footer",
6961
+ "kind": "method",
6962
+ "name": "triggerClickEvent",
6963
+ "privacy": "private",
6803
6964
  "inheritedFrom": {
6804
- "name": "Card",
6805
- "module": "src/components/card/card.component.ts"
6965
+ "name": "Buttonsimple",
6966
+ "module": "components/buttonsimple/buttonsimple.component.js"
6806
6967
  }
6807
- }
6808
- ],
6809
- "members": [
6810
- {
6811
- "kind": "field",
6812
- "name": "checked",
6813
- "type": {
6814
- "text": "boolean"
6815
- },
6816
- "default": "false",
6817
- "description": "The checked state of the card",
6818
- "attribute": "checked",
6819
- "reflects": true
6820
- },
6821
- {
6822
- "kind": "field",
6823
- "name": "selectionType",
6824
- "type": {
6825
- "text": "SelectionType"
6826
- },
6827
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6828
- "default": "'check'",
6829
- "attribute": "selection-type",
6830
- "reflects": true
6831
6968
  },
6832
6969
  {
6833
6970
  "kind": "method",
6834
- "name": "toggleChecked",
6971
+ "name": "handleBlur",
6835
6972
  "privacy": "private",
6836
- "description": "Toggles the checked state"
6973
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
6974
+ "inheritedFrom": {
6975
+ "name": "Buttonsimple",
6976
+ "module": "components/buttonsimple/buttonsimple.component.js"
6977
+ }
6837
6978
  },
6838
6979
  {
6839
6980
  "kind": "method",
6840
- "name": "toggleOnEnter",
6981
+ "name": "handleKeyDown",
6841
6982
  "privacy": "private",
6842
6983
  "parameters": [
6843
6984
  {
@@ -6845,14 +6986,18 @@
6845
6986
  "type": {
6846
6987
  "text": "KeyboardEvent"
6847
6988
  },
6848
- "description": "The keyboard event"
6989
+ "description": "The keyboard event."
6849
6990
  }
6850
6991
  ],
6851
- "description": "Toggles the checked state when enter key is used"
6992
+ "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.",
6993
+ "inheritedFrom": {
6994
+ "name": "Buttonsimple",
6995
+ "module": "components/buttonsimple/buttonsimple.component.js"
6996
+ }
6852
6997
  },
6853
6998
  {
6854
6999
  "kind": "method",
6855
- "name": "toggleOnSpace",
7000
+ "name": "handleKeyUp",
6856
7001
  "privacy": "private",
6857
7002
  "parameters": [
6858
7003
  {
@@ -6860,322 +7005,195 @@
6860
7005
  "type": {
6861
7006
  "text": "KeyboardEvent"
6862
7007
  },
6863
- "description": "The keyboard event"
7008
+ "description": "The keyboard event."
6864
7009
  }
6865
7010
  ],
6866
- "description": "Toggles the checked state when space key is used"
6867
- },
7011
+ "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.",
7012
+ "inheritedFrom": {
7013
+ "name": "Buttonsimple",
7014
+ "module": "components/buttonsimple/buttonsimple.component.js"
7015
+ }
7016
+ }
7017
+ ],
7018
+ "events": [
6868
7019
  {
6869
- "kind": "method",
6870
- "name": "renderSelection",
6871
- "privacy": "private",
6872
- "description": "Renders the selection icon or checkbox based on the selection type",
6873
- "return": {
6874
- "type": {
6875
- "text": ""
6876
- }
7020
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
7021
+ "name": "click",
7022
+ "reactName": "onClick",
7023
+ "inheritedFrom": {
7024
+ "name": "Buttonsimple",
7025
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6877
7026
  }
6878
7027
  },
6879
7028
  {
6880
- "kind": "method",
6881
- "name": "renderHeader",
6882
- "privacy": "protected",
6883
- "description": "Renders the header of the card",
6884
- "return": {
6885
- "type": {
6886
- "text": ""
6887
- }
6888
- },
7029
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
7030
+ "name": "keydown",
7031
+ "reactName": "onKeyDown",
6889
7032
  "inheritedFrom": {
6890
- "name": "Card",
6891
- "module": "components/card/card.component.js"
7033
+ "name": "Buttonsimple",
7034
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6892
7035
  }
6893
7036
  },
6894
7037
  {
6895
- "kind": "field",
6896
- "name": "disabled",
6897
- "type": {
6898
- "text": "boolean | undefined"
6899
- },
6900
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6901
- "default": "undefined",
6902
- "attribute": "disabled",
6903
- "reflects": true,
7038
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
7039
+ "name": "keyup",
7040
+ "reactName": "onKeyUp",
6904
7041
  "inheritedFrom": {
6905
- "name": "DisabledMixin",
6906
- "module": "utils/mixins/DisabledMixin.js"
7042
+ "name": "Buttonsimple",
7043
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6907
7044
  }
6908
7045
  },
6909
7046
  {
6910
- "kind": "field",
6911
- "name": "tabIndex",
6912
- "type": {
6913
- "text": "number"
6914
- },
6915
- "default": "0",
6916
- "description": "This property specifies the tab order of the element.",
6917
- "attribute": "tabIndex",
6918
- "reflects": true,
7047
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7048
+ "name": "focus",
7049
+ "reactName": "onFocus",
6919
7050
  "inheritedFrom": {
6920
- "name": "TabIndexMixin",
6921
- "module": "utils/mixins/TabIndexMixin.js"
7051
+ "name": "Buttonsimple",
7052
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6922
7053
  }
6923
- },
7054
+ }
7055
+ ],
7056
+ "mixins": [
6924
7057
  {
6925
- "kind": "field",
6926
- "name": "cardTitle",
7058
+ "name": "CardComponentMixin",
7059
+ "module": "/src/utils/mixins/CardComponentMixin"
7060
+ }
7061
+ ],
7062
+ "superclass": {
7063
+ "name": "Buttonsimple",
7064
+ "module": "/src/components/buttonsimple/buttonsimple.component"
7065
+ },
7066
+ "tagName": "mdc-cardbutton",
7067
+ "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
7068
+ "customElement": true,
7069
+ "attributes": [
7070
+ {
7071
+ "name": "card-title",
6927
7072
  "type": {
6928
7073
  "text": "string"
6929
7074
  },
6930
7075
  "default": "''",
6931
7076
  "description": "The title of the card - part of header section",
6932
- "attribute": "card-title",
6933
- "reflects": true,
7077
+ "fieldName": "cardTitle",
6934
7078
  "inheritedFrom": {
6935
- "name": "Card",
6936
- "module": "components/card/card.component.js"
7079
+ "name": "CardComponentMixin",
7080
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6937
7081
  }
6938
7082
  },
6939
7083
  {
6940
- "kind": "field",
6941
7084
  "name": "subtitle",
6942
7085
  "type": {
6943
7086
  "text": "string"
6944
7087
  },
6945
7088
  "default": "''",
6946
7089
  "description": "The subtitle of the card - part of header section",
6947
- "attribute": "subtitle",
6948
- "reflects": true,
7090
+ "fieldName": "subtitle",
6949
7091
  "inheritedFrom": {
6950
- "name": "Card",
6951
- "module": "components/card/card.component.js"
7092
+ "name": "CardComponentMixin",
7093
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6952
7094
  }
6953
7095
  },
6954
7096
  {
6955
- "kind": "field",
6956
- "name": "imageSrc",
7097
+ "name": "image-src",
6957
7098
  "type": {
6958
7099
  "text": "string"
6959
7100
  },
6960
7101
  "default": "''",
6961
7102
  "description": "The image source URL to render on the card",
6962
- "attribute": "image-src",
6963
- "reflects": true,
7103
+ "fieldName": "imageSrc",
6964
7104
  "inheritedFrom": {
6965
- "name": "Card",
6966
- "module": "components/card/card.component.js"
7105
+ "name": "CardComponentMixin",
7106
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6967
7107
  }
6968
7108
  },
6969
7109
  {
6970
- "kind": "field",
6971
- "name": "imageAlt",
7110
+ "name": "image-alt",
6972
7111
  "type": {
6973
7112
  "text": "string"
6974
7113
  },
6975
7114
  "default": "''",
6976
7115
  "description": "The image alt for accessibility support",
6977
- "attribute": "image-alt",
6978
- "reflects": true,
7116
+ "fieldName": "imageAlt",
6979
7117
  "inheritedFrom": {
6980
- "name": "Card",
6981
- "module": "components/card/card.component.js"
7118
+ "name": "CardComponentMixin",
7119
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6982
7120
  }
6983
7121
  },
6984
7122
  {
6985
- "kind": "field",
6986
7123
  "name": "variant",
6987
7124
  "type": {
6988
7125
  "text": "CardVariant"
6989
7126
  },
6990
7127
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6991
7128
  "default": "'border'",
6992
- "attribute": "variant",
6993
- "reflects": true,
7129
+ "fieldName": "variant",
6994
7130
  "inheritedFrom": {
6995
- "name": "Card",
6996
- "module": "components/card/card.component.js"
7131
+ "name": "CardComponentMixin",
7132
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6997
7133
  }
6998
7134
  },
6999
7135
  {
7000
- "kind": "field",
7001
7136
  "name": "orientation",
7002
7137
  "type": {
7003
7138
  "text": "CardOrientation"
7004
7139
  },
7005
7140
  "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7006
7141
  "default": "'vertical'",
7007
- "attribute": "orientation",
7008
- "reflects": true,
7142
+ "fieldName": "orientation",
7009
7143
  "inheritedFrom": {
7010
- "name": "Card",
7011
- "module": "components/card/card.component.js"
7144
+ "name": "CardComponentMixin",
7145
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7012
7146
  }
7013
7147
  },
7014
7148
  {
7015
- "kind": "field",
7016
- "name": "titleTagName",
7149
+ "name": "title-tag-name",
7017
7150
  "type": {
7018
7151
  "text": "TagNameType"
7019
7152
  },
7020
7153
  "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7021
7154
  "default": "'span'",
7022
- "attribute": "title-tag-name",
7023
- "reflects": true,
7155
+ "fieldName": "titleTagName",
7024
7156
  "inheritedFrom": {
7025
- "name": "Card",
7026
- "module": "components/card/card.component.js"
7157
+ "name": "CardComponentMixin",
7158
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7027
7159
  }
7028
7160
  },
7029
7161
  {
7030
- "kind": "field",
7031
- "name": "subtitleTagName",
7162
+ "name": "subtitle-tag-name",
7032
7163
  "type": {
7033
7164
  "text": "TagNameType"
7034
7165
  },
7035
7166
  "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7036
7167
  "default": "'span'",
7037
- "attribute": "subtitle-tag-name",
7038
- "reflects": true,
7168
+ "fieldName": "subtitleTagName",
7039
7169
  "inheritedFrom": {
7040
- "name": "Card",
7041
- "module": "components/card/card.component.js"
7170
+ "name": "CardComponentMixin",
7171
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7042
7172
  }
7043
7173
  },
7044
7174
  {
7045
- "kind": "field",
7046
- "name": "iconName",
7175
+ "name": "icon-name",
7047
7176
  "type": {
7048
7177
  "text": "IconNames | undefined"
7049
7178
  },
7050
7179
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7051
- "attribute": "icon-name",
7052
- "reflects": true,
7053
- "inheritedFrom": {
7054
- "name": "Card",
7055
- "module": "components/card/card.component.js"
7056
- }
7057
- },
7058
- {
7059
- "kind": "method",
7060
- "name": "renderImage",
7061
- "privacy": "protected",
7062
- "description": "Renders the image on the card if image source is provided",
7063
- "return": {
7064
- "type": {
7065
- "text": ""
7066
- }
7067
- },
7068
- "inheritedFrom": {
7069
- "name": "Card",
7070
- "module": "components/card/card.component.js"
7071
- }
7072
- },
7073
- {
7074
- "kind": "method",
7075
- "name": "renderIcon",
7076
- "privacy": "protected",
7077
- "description": "Renders the icon on the card if icon name is provided",
7078
- "return": {
7079
- "type": {
7080
- "text": ""
7081
- }
7082
- },
7083
- "inheritedFrom": {
7084
- "name": "Card",
7085
- "module": "components/card/card.component.js"
7086
- }
7087
- },
7088
- {
7089
- "kind": "method",
7090
- "name": "renderTitle",
7091
- "privacy": "protected",
7092
- "description": "Renders the title and subtitle on the card",
7093
- "return": {
7094
- "type": {
7095
- "text": ""
7096
- }
7097
- },
7098
- "inheritedFrom": {
7099
- "name": "Card",
7100
- "module": "components/card/card.component.js"
7101
- }
7102
- },
7103
- {
7104
- "kind": "method",
7105
- "name": "renderFooter",
7106
- "privacy": "protected",
7107
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
7108
- "return": {
7109
- "type": {
7110
- "text": ""
7111
- }
7112
- },
7180
+ "fieldName": "iconName",
7113
7181
  "inheritedFrom": {
7114
- "name": "Card",
7115
- "module": "components/card/card.component.js"
7182
+ "name": "CardComponentMixin",
7183
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7116
7184
  }
7117
- }
7118
- ],
7119
- "events": [
7120
- {
7121
- "name": "change",
7122
- "type": {
7123
- "text": "Event"
7124
- },
7125
- "description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
7126
- "reactName": "onChange"
7127
- },
7128
- {
7129
- "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
7130
- "name": "click",
7131
- "reactName": "onClick"
7132
- },
7133
- {
7134
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
7135
- "name": "keydown",
7136
- "reactName": "onKeyDown"
7137
- },
7138
- {
7139
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
7140
- "name": "keyup",
7141
- "reactName": "onKeyUp"
7142
7185
  },
7143
7186
  {
7144
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7145
- "name": "focus",
7146
- "reactName": "onFocus"
7147
- }
7148
- ],
7149
- "attributes": [
7150
- {
7151
- "name": "checked",
7187
+ "name": "auto-focus-on-mount",
7152
7188
  "type": {
7153
7189
  "text": "boolean"
7154
7190
  },
7155
7191
  "default": "false",
7156
- "description": "The checked state of the card",
7157
- "fieldName": "checked"
7158
- },
7159
- {
7160
- "name": "selection-type",
7161
- "type": {
7162
- "text": "SelectionType"
7163
- },
7164
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
7165
- "default": "'check'",
7166
- "fieldName": "selectionType"
7167
- },
7168
- {
7169
- "name": "disabled",
7170
- "type": {
7171
- "text": "boolean | undefined"
7172
- },
7173
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7174
- "default": "undefined",
7175
- "fieldName": "disabled",
7192
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
7193
+ "fieldName": "autoFocusOnMount",
7176
7194
  "inheritedFrom": {
7177
- "name": "DisabledMixin",
7178
- "module": "src/utils/mixins/DisabledMixin.ts"
7195
+ "name": "Buttonsimple",
7196
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7179
7197
  }
7180
7198
  },
7181
7199
  {
@@ -7187,144 +7205,126 @@
7187
7205
  "description": "This property specifies the tab order of the element.",
7188
7206
  "fieldName": "tabIndex",
7189
7207
  "inheritedFrom": {
7190
- "name": "TabIndexMixin",
7191
- "module": "src/utils/mixins/TabIndexMixin.ts"
7208
+ "name": "Buttonsimple",
7209
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7192
7210
  }
7193
7211
  },
7194
7212
  {
7195
- "name": "card-title",
7213
+ "name": "disabled",
7196
7214
  "type": {
7197
- "text": "string"
7215
+ "text": "boolean | undefined"
7198
7216
  },
7199
- "default": "''",
7200
- "description": "The title of the card - part of header section",
7201
- "fieldName": "cardTitle",
7217
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7218
+ "default": "undefined",
7219
+ "fieldName": "disabled",
7202
7220
  "inheritedFrom": {
7203
- "name": "Card",
7204
- "module": "src/components/card/card.component.ts"
7221
+ "name": "Buttonsimple",
7222
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7205
7223
  }
7206
7224
  },
7207
7225
  {
7208
- "name": "subtitle",
7226
+ "name": "active",
7209
7227
  "type": {
7210
- "text": "string"
7228
+ "text": "boolean | undefined"
7211
7229
  },
7212
- "default": "''",
7213
- "description": "The subtitle of the card - part of header section",
7214
- "fieldName": "subtitle",
7230
+ "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.",
7231
+ "default": "undefined",
7232
+ "fieldName": "active",
7215
7233
  "inheritedFrom": {
7216
- "name": "Card",
7217
- "module": "src/components/card/card.component.ts"
7234
+ "name": "Buttonsimple",
7235
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7218
7236
  }
7219
7237
  },
7220
7238
  {
7221
- "name": "image-src",
7239
+ "name": "soft-disabled",
7222
7240
  "type": {
7223
- "text": "string"
7241
+ "text": "boolean | undefined"
7224
7242
  },
7225
- "default": "''",
7226
- "description": "The image source URL to render on the card",
7227
- "fieldName": "imageSrc",
7243
+ "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.",
7244
+ "default": "undefined",
7245
+ "fieldName": "softDisabled",
7228
7246
  "inheritedFrom": {
7229
- "name": "Card",
7230
- "module": "src/components/card/card.component.ts"
7247
+ "name": "Buttonsimple",
7248
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7231
7249
  }
7232
7250
  },
7233
7251
  {
7234
- "name": "image-alt",
7252
+ "name": "size",
7235
7253
  "type": {
7236
- "text": "string"
7254
+ "text": "ButtonSize"
7237
7255
  },
7238
- "default": "''",
7239
- "description": "The image alt for accessibility support",
7240
- "fieldName": "imageAlt",
7256
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
7257
+ "default": "32",
7258
+ "fieldName": "size",
7241
7259
  "inheritedFrom": {
7242
- "name": "Card",
7243
- "module": "src/components/card/card.component.ts"
7260
+ "name": "Buttonsimple",
7261
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7244
7262
  }
7245
7263
  },
7246
7264
  {
7247
- "name": "variant",
7265
+ "name": "role",
7248
7266
  "type": {
7249
- "text": "CardVariant"
7267
+ "text": "RoleType"
7250
7268
  },
7251
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7252
- "default": "'border'",
7253
- "fieldName": "variant",
7269
+ "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.",
7270
+ "default": "button",
7271
+ "fieldName": "role",
7254
7272
  "inheritedFrom": {
7255
- "name": "Card",
7256
- "module": "src/components/card/card.component.ts"
7273
+ "name": "Buttonsimple",
7274
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7257
7275
  }
7258
7276
  },
7259
7277
  {
7260
- "name": "orientation",
7278
+ "name": "ariaStateKey",
7261
7279
  "type": {
7262
- "text": "CardOrientation"
7280
+ "text": "string | undefined"
7263
7281
  },
7264
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7265
- "default": "'vertical'",
7266
- "fieldName": "orientation",
7282
+ "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`",
7283
+ "default": "'aria-pressed' (when)",
7284
+ "fieldName": "ariaStateKey",
7267
7285
  "inheritedFrom": {
7268
- "name": "Card",
7269
- "module": "src/components/card/card.component.ts"
7286
+ "name": "Buttonsimple",
7287
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7270
7288
  }
7271
7289
  },
7272
7290
  {
7273
- "name": "title-tag-name",
7291
+ "name": "type",
7274
7292
  "type": {
7275
- "text": "TagNameType"
7293
+ "text": "ButtonType"
7276
7294
  },
7277
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7278
- "default": "'span'",
7279
- "fieldName": "titleTagName",
7295
+ "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.",
7296
+ "default": "button",
7297
+ "fieldName": "type",
7280
7298
  "inheritedFrom": {
7281
- "name": "Card",
7282
- "module": "src/components/card/card.component.ts"
7299
+ "name": "Buttonsimple",
7300
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7283
7301
  }
7284
7302
  },
7285
7303
  {
7286
- "name": "subtitle-tag-name",
7304
+ "name": "name",
7287
7305
  "type": {
7288
- "text": "TagNameType"
7306
+ "text": "string | undefined"
7289
7307
  },
7290
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7291
- "default": "'span'",
7292
- "fieldName": "subtitleTagName",
7308
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
7309
+ "fieldName": "name",
7293
7310
  "inheritedFrom": {
7294
- "name": "Card",
7295
- "module": "src/components/card/card.component.ts"
7311
+ "name": "Buttonsimple",
7312
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7296
7313
  }
7297
7314
  },
7298
7315
  {
7299
- "name": "icon-name",
7316
+ "name": "value",
7300
7317
  "type": {
7301
- "text": "IconNames | undefined"
7318
+ "text": "string | undefined"
7302
7319
  },
7303
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7304
- "fieldName": "iconName",
7320
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
7321
+ "fieldName": "value",
7305
7322
  "inheritedFrom": {
7306
- "name": "Card",
7307
- "module": "src/components/card/card.component.ts"
7323
+ "name": "Buttonsimple",
7324
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7308
7325
  }
7309
7326
  }
7310
- ],
7311
- "mixins": [
7312
- {
7313
- "name": "DisabledMixin",
7314
- "module": "/src/utils/mixins/DisabledMixin"
7315
- },
7316
- {
7317
- "name": "TabIndexMixin",
7318
- "module": "/src/utils/mixins/TabIndexMixin"
7319
- }
7320
- ],
7321
- "superclass": {
7322
- "name": "Card",
7323
- "module": "/src/components/card/card.component"
7324
- },
7325
- "tagName": "mdc-cardcheckbox",
7326
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
7327
- "customElement": true
7327
+ ]
7328
7328
  }
7329
7329
  ],
7330
7330
  "exports": [
@@ -7332,8 +7332,8 @@
7332
7332
  "kind": "js",
7333
7333
  "name": "default",
7334
7334
  "declaration": {
7335
- "name": "CardCheckbox",
7336
- "module": "components/cardcheckbox/cardcheckbox.component.js"
7335
+ "name": "CardButton",
7336
+ "module": "components/cardbutton/cardbutton.component.js"
7337
7337
  }
7338
7338
  }
7339
7339
  ]
@@ -11374,47 +11374,6 @@
11374
11374
  }
11375
11375
  ]
11376
11376
  },
11377
- {
11378
- "kind": "javascript-module",
11379
- "path": "components/combobox/combobox.component.js",
11380
- "declarations": [
11381
- {
11382
- "kind": "class",
11383
- "description": "combobox component, which ...",
11384
- "name": "Combobox",
11385
- "cssProperties": [
11386
- {
11387
- "description": "Description of the CSS custom property",
11388
- "name": "--custom-property-name"
11389
- }
11390
- ],
11391
- "slots": [
11392
- {
11393
- "description": "This is a default/unnamed slot",
11394
- "name": "default"
11395
- }
11396
- ],
11397
- "members": [],
11398
- "superclass": {
11399
- "name": "Component",
11400
- "module": "/src/models"
11401
- },
11402
- "tagName": "mdc-combobox",
11403
- "jsDoc": "/**\n * combobox component, which ...\n *\n * @tagname mdc-combobox\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --custom-property-name - Description of the CSS custom property\n */",
11404
- "customElement": true
11405
- }
11406
- ],
11407
- "exports": [
11408
- {
11409
- "kind": "js",
11410
- "name": "default",
11411
- "declaration": {
11412
- "name": "Combobox",
11413
- "module": "components/combobox/combobox.component.js"
11414
- }
11415
- }
11416
- ]
11417
- },
11418
11377
  {
11419
11378
  "kind": "javascript-module",
11420
11379
  "path": "components/dialog/dialog.component.js",
@@ -16980,212 +16939,57 @@
16980
16939
  "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
16981
16940
  "fieldName": "target"
16982
16941
  },
16983
- {
16984
- "name": "rel",
16985
- "type": {
16986
- "text": "string | undefined"
16987
- },
16988
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
16989
- "fieldName": "rel"
16990
- },
16991
- {
16992
- "name": "disabled",
16993
- "type": {
16994
- "text": "boolean | undefined"
16995
- },
16996
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
16997
- "default": "undefined",
16998
- "fieldName": "disabled",
16999
- "inheritedFrom": {
17000
- "name": "DisabledMixin",
17001
- "module": "src/utils/mixins/DisabledMixin.ts"
17002
- }
17003
- },
17004
- {
17005
- "name": "tabIndex",
17006
- "type": {
17007
- "text": "number"
17008
- },
17009
- "default": "0",
17010
- "description": "This property specifies the tab order of the element.",
17011
- "fieldName": "tabIndex",
17012
- "inheritedFrom": {
17013
- "name": "TabIndexMixin",
17014
- "module": "src/utils/mixins/TabIndexMixin.ts"
17015
- }
17016
- }
17017
- ],
17018
- "mixins": [
17019
- {
17020
- "name": "DisabledMixin",
17021
- "module": "/src/utils/mixins/DisabledMixin"
17022
- },
17023
- {
17024
- "name": "TabIndexMixin",
17025
- "module": "/src/utils/mixins/TabIndexMixin"
17026
- }
17027
- ],
17028
- "superclass": {
17029
- "name": "Component",
17030
- "module": "/src/models"
17031
- },
17032
- "tagName": "mdc-linksimple",
17033
- "jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\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 * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
17034
- "customElement": true
17035
- }
17036
- ],
17037
- "exports": [
17038
- {
17039
- "kind": "js",
17040
- "name": "default",
17041
- "declaration": {
17042
- "name": "Linksimple",
17043
- "module": "components/linksimple/linksimple.component.js"
17044
- }
17045
- }
17046
- ]
17047
- },
17048
- {
17049
- "kind": "javascript-module",
17050
- "path": "components/list/list.component.js",
17051
- "declarations": [
17052
- {
17053
- "kind": "class",
17054
- "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
17055
- "name": "List",
17056
- "cssParts": [
17057
- {
17058
- "description": "The container slot around the list items",
17059
- "name": "container"
17060
- }
17061
- ],
17062
- "slots": [
17063
- {
17064
- "description": "This is a default/unnamed slot, where listitems can be placed.",
17065
- "name": "default"
17066
- },
17067
- {
17068
- "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
17069
- "name": "list-header"
17070
- }
17071
- ],
17072
- "members": [
17073
- {
17074
- "kind": "method",
17075
- "name": "handleKeyDown",
17076
- "privacy": "private",
17077
- "return": {
17078
- "type": {
17079
- "text": "void"
17080
- }
17081
- },
17082
- "parameters": [
17083
- {
17084
- "name": "event",
17085
- "type": {
17086
- "text": "KeyboardEvent"
17087
- },
17088
- "description": "The keyboard event."
17089
- }
17090
- ],
17091
- "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
17092
- },
17093
- {
17094
- "kind": "method",
17095
- "name": "getCurrentIndex",
17096
- "privacy": "private",
17097
- "return": {
17098
- "type": {
17099
- "text": ""
17100
- }
17101
- },
17102
- "parameters": [
17103
- {
17104
- "name": "target",
17105
- "type": {
17106
- "text": "EventTarget | null"
17107
- },
17108
- "description": "The target element to find the index of."
17109
- }
17110
- ],
17111
- "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
17112
- },
17113
- {
17114
- "kind": "method",
17115
- "name": "getNewIndexBasedOnKey",
17116
- "privacy": "private",
17117
- "return": {
17118
- "type": {
17119
- "text": ""
17120
- }
17121
- },
17122
- "parameters": [
17123
- {
17124
- "name": "key",
17125
- "type": {
17126
- "text": "string"
17127
- },
17128
- "description": "The key that was pressed."
17129
- },
17130
- {
17131
- "name": "currentIndex",
17132
- "type": {
17133
- "text": "number"
17134
- },
17135
- "description": "The current index of the focused list item."
17136
- },
17137
- {
17138
- "name": "wrappedDivsCount",
17139
- "type": {
17140
- "text": "number"
17141
- },
17142
- "description": "The total number of list items."
17143
- }
17144
- ],
17145
- "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
16942
+ {
16943
+ "name": "rel",
16944
+ "type": {
16945
+ "text": "string | undefined"
16946
+ },
16947
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
16948
+ "fieldName": "rel"
17146
16949
  },
17147
16950
  {
17148
- "kind": "method",
17149
- "name": "handleMouseClick",
17150
- "privacy": "protected",
17151
- "return": {
17152
- "type": {
17153
- "text": "void"
17154
- }
16951
+ "name": "disabled",
16952
+ "type": {
16953
+ "text": "boolean | undefined"
17155
16954
  },
17156
- "parameters": [
17157
- {
17158
- "name": "event",
17159
- "type": {
17160
- "text": "MouseEvent"
17161
- },
17162
- "description": "The mouse event."
17163
- }
17164
- ],
17165
- "description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
16955
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
16956
+ "default": "undefined",
16957
+ "fieldName": "disabled",
16958
+ "inheritedFrom": {
16959
+ "name": "DisabledMixin",
16960
+ "module": "src/utils/mixins/DisabledMixin.ts"
16961
+ }
17166
16962
  },
17167
16963
  {
17168
- "kind": "method",
17169
- "name": "resetTabIndexAndSetActiveTabIndex",
17170
- "privacy": "private",
17171
- "parameters": [
17172
- {
17173
- "name": "newIndex",
17174
- "type": {
17175
- "text": "number"
17176
- },
17177
- "description": "The index of the new active element in the list."
17178
- }
17179
- ],
17180
- "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
16964
+ "name": "tabIndex",
16965
+ "type": {
16966
+ "text": "number"
16967
+ },
16968
+ "default": "0",
16969
+ "description": "This property specifies the tab order of the element.",
16970
+ "fieldName": "tabIndex",
16971
+ "inheritedFrom": {
16972
+ "name": "TabIndexMixin",
16973
+ "module": "src/utils/mixins/TabIndexMixin.ts"
16974
+ }
16975
+ }
16976
+ ],
16977
+ "mixins": [
16978
+ {
16979
+ "name": "DisabledMixin",
16980
+ "module": "/src/utils/mixins/DisabledMixin"
16981
+ },
16982
+ {
16983
+ "name": "TabIndexMixin",
16984
+ "module": "/src/utils/mixins/TabIndexMixin"
17181
16985
  }
17182
16986
  ],
17183
16987
  "superclass": {
17184
16988
  "name": "Component",
17185
16989
  "module": "/src/models"
17186
16990
  },
17187
- "tagName": "mdc-list",
17188
- "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
16991
+ "tagName": "mdc-linksimple",
16992
+ "jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\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 * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
17189
16993
  "customElement": true
17190
16994
  }
17191
16995
  ],
@@ -17194,8 +16998,49 @@
17194
16998
  "kind": "js",
17195
16999
  "name": "default",
17196
17000
  "declaration": {
17197
- "name": "List",
17198
- "module": "components/list/list.component.js"
17001
+ "name": "Linksimple",
17002
+ "module": "components/linksimple/linksimple.component.js"
17003
+ }
17004
+ }
17005
+ ]
17006
+ },
17007
+ {
17008
+ "kind": "javascript-module",
17009
+ "path": "components/combobox/combobox.component.js",
17010
+ "declarations": [
17011
+ {
17012
+ "kind": "class",
17013
+ "description": "combobox component, which ...",
17014
+ "name": "Combobox",
17015
+ "cssProperties": [
17016
+ {
17017
+ "description": "Description of the CSS custom property",
17018
+ "name": "--custom-property-name"
17019
+ }
17020
+ ],
17021
+ "slots": [
17022
+ {
17023
+ "description": "This is a default/unnamed slot",
17024
+ "name": "default"
17025
+ }
17026
+ ],
17027
+ "members": [],
17028
+ "superclass": {
17029
+ "name": "Component",
17030
+ "module": "/src/models"
17031
+ },
17032
+ "tagName": "mdc-combobox",
17033
+ "jsDoc": "/**\n * combobox component, which ...\n *\n * @tagname mdc-combobox\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --custom-property-name - Description of the CSS custom property\n */",
17034
+ "customElement": true
17035
+ }
17036
+ ],
17037
+ "exports": [
17038
+ {
17039
+ "kind": "js",
17040
+ "name": "default",
17041
+ "declaration": {
17042
+ "name": "Combobox",
17043
+ "module": "components/combobox/combobox.component.js"
17199
17044
  }
17200
17045
  }
17201
17046
  ]
@@ -17445,31 +17290,186 @@
17445
17290
  "fieldName": "name"
17446
17291
  },
17447
17292
  {
17448
- "name": "value",
17449
- "type": {
17450
- "text": "undefined | string | undefined"
17293
+ "name": "value",
17294
+ "type": {
17295
+ "text": "undefined | string | undefined"
17296
+ },
17297
+ "default": "undefined",
17298
+ "description": "The value attribute is used to represent the last selected option's value in the listbox.",
17299
+ "fieldName": "value"
17300
+ }
17301
+ ],
17302
+ "mixins": [
17303
+ {
17304
+ "name": "ListNavigationMixin",
17305
+ "module": "/src/utils/mixins/ListNavigationMixin"
17306
+ },
17307
+ {
17308
+ "name": "CaptureDestroyEventForChildElement",
17309
+ "module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
17310
+ }
17311
+ ],
17312
+ "superclass": {
17313
+ "name": "Component",
17314
+ "module": "/src/models"
17315
+ },
17316
+ "tagName": "mdc-listbox",
17317
+ "jsDoc": "/**\n * listbox component presents a list of options and allows a user to select one of them.\n *\n * Notes:\n * - This is a standalone listbox component. Select has its own mdc-selectlistbox component.\n * - this component has name and value attributes and also emits change event,\n * but it is not a form control (yet).\n *\n * @dependency mdc-list\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-option\n * @dependency mdc-optgroup\n *\n * @tagname mdc-listbox\n *\n * @cssproperty --mdc-listbox-max-height - max height of the listbox\n *\n * @slot default - This is a default/unnamed slot, where options and optgroups are placed\n *\n * @csspart container - The container of the listbox\n *\n * @event change - (React: onChange) This event is emitted when the selected item changed\n */",
17318
+ "customElement": true
17319
+ }
17320
+ ],
17321
+ "exports": [
17322
+ {
17323
+ "kind": "js",
17324
+ "name": "default",
17325
+ "declaration": {
17326
+ "name": "ListBox",
17327
+ "module": "components/listbox/listbox.component.js"
17328
+ }
17329
+ }
17330
+ ]
17331
+ },
17332
+ {
17333
+ "kind": "javascript-module",
17334
+ "path": "components/list/list.component.js",
17335
+ "declarations": [
17336
+ {
17337
+ "kind": "class",
17338
+ "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
17339
+ "name": "List",
17340
+ "cssParts": [
17341
+ {
17342
+ "description": "The container slot around the list items",
17343
+ "name": "container"
17344
+ }
17345
+ ],
17346
+ "slots": [
17347
+ {
17348
+ "description": "This is a default/unnamed slot, where listitems can be placed.",
17349
+ "name": "default"
17350
+ },
17351
+ {
17352
+ "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
17353
+ "name": "list-header"
17354
+ }
17355
+ ],
17356
+ "members": [
17357
+ {
17358
+ "kind": "method",
17359
+ "name": "handleKeyDown",
17360
+ "privacy": "private",
17361
+ "return": {
17362
+ "type": {
17363
+ "text": "void"
17364
+ }
17365
+ },
17366
+ "parameters": [
17367
+ {
17368
+ "name": "event",
17369
+ "type": {
17370
+ "text": "KeyboardEvent"
17371
+ },
17372
+ "description": "The keyboard event."
17373
+ }
17374
+ ],
17375
+ "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
17376
+ },
17377
+ {
17378
+ "kind": "method",
17379
+ "name": "getCurrentIndex",
17380
+ "privacy": "private",
17381
+ "return": {
17382
+ "type": {
17383
+ "text": ""
17384
+ }
17385
+ },
17386
+ "parameters": [
17387
+ {
17388
+ "name": "target",
17389
+ "type": {
17390
+ "text": "EventTarget | null"
17391
+ },
17392
+ "description": "The target element to find the index of."
17393
+ }
17394
+ ],
17395
+ "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
17396
+ },
17397
+ {
17398
+ "kind": "method",
17399
+ "name": "getNewIndexBasedOnKey",
17400
+ "privacy": "private",
17401
+ "return": {
17402
+ "type": {
17403
+ "text": ""
17404
+ }
17405
+ },
17406
+ "parameters": [
17407
+ {
17408
+ "name": "key",
17409
+ "type": {
17410
+ "text": "string"
17411
+ },
17412
+ "description": "The key that was pressed."
17413
+ },
17414
+ {
17415
+ "name": "currentIndex",
17416
+ "type": {
17417
+ "text": "number"
17418
+ },
17419
+ "description": "The current index of the focused list item."
17420
+ },
17421
+ {
17422
+ "name": "wrappedDivsCount",
17423
+ "type": {
17424
+ "text": "number"
17425
+ },
17426
+ "description": "The total number of list items."
17427
+ }
17428
+ ],
17429
+ "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
17430
+ },
17431
+ {
17432
+ "kind": "method",
17433
+ "name": "handleMouseClick",
17434
+ "privacy": "protected",
17435
+ "return": {
17436
+ "type": {
17437
+ "text": "void"
17438
+ }
17451
17439
  },
17452
- "default": "undefined",
17453
- "description": "The value attribute is used to represent the last selected option's value in the listbox.",
17454
- "fieldName": "value"
17455
- }
17456
- ],
17457
- "mixins": [
17458
- {
17459
- "name": "ListNavigationMixin",
17460
- "module": "/src/utils/mixins/ListNavigationMixin"
17440
+ "parameters": [
17441
+ {
17442
+ "name": "event",
17443
+ "type": {
17444
+ "text": "MouseEvent"
17445
+ },
17446
+ "description": "The mouse event."
17447
+ }
17448
+ ],
17449
+ "description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
17461
17450
  },
17462
17451
  {
17463
- "name": "CaptureDestroyEventForChildElement",
17464
- "module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
17452
+ "kind": "method",
17453
+ "name": "resetTabIndexAndSetActiveTabIndex",
17454
+ "privacy": "private",
17455
+ "parameters": [
17456
+ {
17457
+ "name": "newIndex",
17458
+ "type": {
17459
+ "text": "number"
17460
+ },
17461
+ "description": "The index of the new active element in the list."
17462
+ }
17463
+ ],
17464
+ "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
17465
17465
  }
17466
17466
  ],
17467
17467
  "superclass": {
17468
17468
  "name": "Component",
17469
17469
  "module": "/src/models"
17470
17470
  },
17471
- "tagName": "mdc-listbox",
17472
- "jsDoc": "/**\n * listbox component presents a list of options and allows a user to select one of them.\n *\n * Notes:\n * - This is a standalone listbox component. Select has its own mdc-selectlistbox component.\n * - this component has name and value attributes and also emits change event,\n * but it is not a form control (yet).\n *\n * @dependency mdc-list\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-option\n * @dependency mdc-optgroup\n *\n * @tagname mdc-listbox\n *\n * @cssproperty --mdc-listbox-max-height - max height of the listbox\n *\n * @slot default - This is a default/unnamed slot, where options and optgroups are placed\n *\n * @csspart container - The container of the listbox\n *\n * @event change - (React: onChange) This event is emitted when the selected item changed\n */",
17471
+ "tagName": "mdc-list",
17472
+ "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
17473
17473
  "customElement": true
17474
17474
  }
17475
17475
  ],
@@ -17478,8 +17478,8 @@
17478
17478
  "kind": "js",
17479
17479
  "name": "default",
17480
17480
  "declaration": {
17481
- "name": "ListBox",
17482
- "module": "components/listbox/listbox.component.js"
17481
+ "name": "List",
17482
+ "module": "components/list/list.component.js"
17483
17483
  }
17484
17484
  }
17485
17485
  ]
@@ -17613,7 +17613,7 @@
17613
17613
  "declarations": [
17614
17614
  {
17615
17615
  "kind": "class",
17616
- "description": "mdc-listitem component is used to display a label with different types of controls.\nThere can be three types of controls, a radio button, a checkbox on the\nleading side and a toggle on the trailing side.\nThe list item can contain an avatar on the leading side and a badge on the trailing side.\nAdditionally, the list item can contain a side header and a subline text.\n\nThe leading and trailing slots can be used to display controls and text. <br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\nPlease use mdc-list as a parent element even when there is only listitem for a11y purpose.\n\nBy providing the tooltip-text attribute, a tooltip will be displayed on hover of the listitem.\nThe placement of the tooltip can be adjusted using the tooltip-placement attribute.\nThis will be helpful when the listitem text is truncated or\nwhen you want to display additional information about the listitem.",
17616
+ "description": "mdc-listitem component is used to display a label with different types of controls.\nThere can be three types of controls, a radio button, a checkbox on the\nleading side and a toggle on the trailing side.\nThe list item can contain an avatar on the leading side and a badge on the trailing side.\nAdditionally, the list item can contain a side header and a subline text.\n\nThe leading and trailing slots can be used to display controls and text. <br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\nPlease use mdc-list as a parent element even when there is only listitem for a11y purpose.\n\n**Note**: If a listitem contains a long text, it is recommended to create a tooltip for the listitem that displays the full text on hover.\nConsumers need to add a unique ID to this listitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the listitem using the `triggerID` attribute.",
17617
17617
  "name": "ListItem",
17618
17618
  "cssProperties": [
17619
17619
  {
@@ -17772,31 +17772,10 @@
17772
17772
  "attribute": "soft-disabled",
17773
17773
  "reflects": true
17774
17774
  },
17775
- {
17776
- "kind": "field",
17777
- "name": "tooltipText",
17778
- "type": {
17779
- "text": "string | undefined"
17780
- },
17781
- "description": "The tooltip text is displayed on hover of the list item.",
17782
- "attribute": "tooltip-text",
17783
- "reflects": true
17784
- },
17785
- {
17786
- "kind": "field",
17787
- "name": "tooltipPlacement",
17788
- "type": {
17789
- "text": "PopoverPlacement"
17790
- },
17791
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
17792
- "default": "'top'",
17793
- "attribute": "tooltip-placement",
17794
- "reflects": true
17795
- },
17796
17775
  {
17797
17776
  "kind": "method",
17798
- "name": "handleKeyDown",
17799
- "privacy": "protected",
17777
+ "name": "handleClick",
17778
+ "privacy": "private",
17800
17779
  "return": {
17801
17780
  "type": {
17802
17781
  "text": "void"
@@ -17806,23 +17785,17 @@
17806
17785
  {
17807
17786
  "name": "event",
17808
17787
  "type": {
17809
- "text": "KeyboardEvent"
17788
+ "text": "MouseEvent"
17810
17789
  },
17811
- "description": "The keyboard event triggered when a key is pressed down."
17790
+ "description": "The mouse event triggered when the list item is clicked."
17812
17791
  }
17813
17792
  ],
17814
- "description": "Fires the click event when the enter or space key is pressed down.\nThis behavior is similar to a button click and key interaction."
17793
+ "description": "Handles the click event on the list item.\nPrevents click when listitem is disabled"
17815
17794
  },
17816
17795
  {
17817
17796
  "kind": "method",
17818
- "name": "triggerClickEvent",
17797
+ "name": "handleKeyDown",
17819
17798
  "privacy": "protected",
17820
- "description": "Triggers a click event on the list item."
17821
- },
17822
- {
17823
- "kind": "method",
17824
- "name": "handleClick",
17825
- "privacy": "private",
17826
17799
  "return": {
17827
17800
  "type": {
17828
17801
  "text": "void"
@@ -17832,33 +17805,18 @@
17832
17805
  {
17833
17806
  "name": "event",
17834
17807
  "type": {
17835
- "text": "MouseEvent"
17836
- }
17808
+ "text": "KeyboardEvent"
17809
+ },
17810
+ "description": "The keyboard event triggered when a key is pressed down."
17837
17811
  }
17838
17812
  ],
17839
- "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first."
17840
- },
17841
- {
17842
- "kind": "method",
17843
- "name": "displayTooltipForLongText",
17844
- "privacy": "private",
17845
- "return": {
17846
- "type": {
17847
- "text": "void"
17848
- }
17849
- },
17850
- "description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element."
17813
+ "description": "Fires the click event when the enter or space key is pressed down.\nThis behavior is similar to a button click and key interaction."
17851
17814
  },
17852
17815
  {
17853
17816
  "kind": "method",
17854
- "name": "hideTooltipOnLeave",
17855
- "privacy": "private",
17856
- "return": {
17857
- "type": {
17858
- "text": "void"
17859
- }
17860
- },
17861
- "description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events."
17817
+ "name": "triggerClickEvent",
17818
+ "privacy": "protected",
17819
+ "description": "Triggers a click event on the list item."
17862
17820
  },
17863
17821
  {
17864
17822
  "kind": "method",
@@ -18090,23 +18048,6 @@
18090
18048
  "default": "undefined",
18091
18049
  "fieldName": "softDisabled"
18092
18050
  },
18093
- {
18094
- "name": "tooltip-text",
18095
- "type": {
18096
- "text": "string | undefined"
18097
- },
18098
- "description": "The tooltip text is displayed on hover of the list item.",
18099
- "fieldName": "tooltipText"
18100
- },
18101
- {
18102
- "name": "tooltip-placement",
18103
- "type": {
18104
- "text": "PopoverPlacement"
18105
- },
18106
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
18107
- "default": "'top'",
18108
- "fieldName": "tooltipPlacement"
18109
- },
18110
18051
  {
18111
18052
  "name": "disabled",
18112
18053
  "type": {
@@ -18153,7 +18094,7 @@
18153
18094
  "module": "/src/models"
18154
18095
  },
18155
18096
  "tagName": "mdc-listitem",
18156
- "jsDoc": "/**\n * mdc-listitem component is used to display a label with different types of controls.\n * There can be three types of controls, a radio button, a checkbox on the\n * leading side and a toggle on the trailing side.\n * The list item can contain an avatar on the leading side and a badge on the trailing side.\n * Additionally, the list item can contain a side header and a subline text.\n *\n * The leading and trailing slots can be used to display controls and text. <br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\n * Please use mdc-list as a parent element even when there is only listitem for a11y purpose.\n *\n * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the listitem.\n * The placement of the tooltip can be adjusted using the tooltip-placement attribute.\n * This will be helpful when the listitem text is truncated or\n * when you want to display additional information about the listitem.\n *\n * @tagname mdc-listitem\n *\n * @dependency mdc-text\n * @dependency mdc-tooltip\n *\n * @slot leading-controls - slot for list item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for list item primary label.\n * @slot leading-text-secondary-label - slot for list item secondary label.\n * @slot leading-text-tertiary-label - slot for list item tertiary label.\n * @slot trailing-text-side-header - slot for list item side header text.\n * @slot trailing-text-subline - slot for list item subline text.\n * @slot trailing-controls - slot for list item controls to appear of trailing end.\n * @slot content - content slot can be used to override the content completely. Be aware that\n * this will override the default content of the list item.\n *\n * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-listitem-background-color-active - Allows customization of the background color when pressed.\n * @cssproperty --mdc-listitem-primary-label-color\n * - Allows customization of the primary label, side header and subline text slot color.\n * @cssproperty --mdc-listitem-secondary-label-color\n * - Allows customization of the secondary and tertiary label text slot color.\n * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.\n * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.\n * @cssproperty --mdc-listitem-padding-left-right - Allows customization of padding left and right.\n * @cssproperty --mdc-listitem-padding-top-bottom - Allows customization of padding top and bottom.\n * @cssproperty --mdc-listitem-cursor - Allows customization of the cursor.\n * @cssproperty --mdc-listitem-width - Allows customization of the width of the list item.\n * @cssproperty --mdc-listitem-height - Allows customization of the height of the list item.\n *\n * @event click - (React: onClick) This event is dispatched when the listitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the listitem.\n * @event focus - (React: onFocus) This event is dispatched when the listitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the listitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the listitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the listitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)\n */",
18097
+ "jsDoc": "/**\n * mdc-listitem component is used to display a label with different types of controls.\n * There can be three types of controls, a radio button, a checkbox on the\n * leading side and a toggle on the trailing side.\n * The list item can contain an avatar on the leading side and a badge on the trailing side.\n * Additionally, the list item can contain a side header and a subline text.\n *\n * The leading and trailing slots can be used to display controls and text. <br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\n * Please use mdc-list as a parent element even when there is only listitem for a11y purpose.\n *\n * **Note**: If a listitem contains a long text, it is recommended to create a tooltip for the listitem that displays the full text on hover.\n * Consumers need to add a unique ID to this listitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the listitem using the `triggerID` attribute.\n *\n * @tagname mdc-listitem\n *\n * @dependency mdc-text\n *\n * @slot leading-controls - slot for list item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for list item primary label.\n * @slot leading-text-secondary-label - slot for list item secondary label.\n * @slot leading-text-tertiary-label - slot for list item tertiary label.\n * @slot trailing-text-side-header - slot for list item side header text.\n * @slot trailing-text-subline - slot for list item subline text.\n * @slot trailing-controls - slot for list item controls to appear of trailing end.\n * @slot content - content slot can be used to override the content completely. Be aware that\n * this will override the default content of the list item.\n *\n * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-listitem-background-color-active - Allows customization of the background color when pressed.\n * @cssproperty --mdc-listitem-primary-label-color\n * - Allows customization of the primary label, side header and subline text slot color.\n * @cssproperty --mdc-listitem-secondary-label-color\n * - Allows customization of the secondary and tertiary label text slot color.\n * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.\n * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.\n * @cssproperty --mdc-listitem-padding-left-right - Allows customization of padding left and right.\n * @cssproperty --mdc-listitem-padding-top-bottom - Allows customization of padding top and bottom.\n * @cssproperty --mdc-listitem-cursor - Allows customization of the cursor.\n * @cssproperty --mdc-listitem-width - Allows customization of the width of the list item.\n * @cssproperty --mdc-listitem-height - Allows customization of the height of the list item.\n *\n * @event click - (React: onClick) This event is dispatched when the listitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the listitem.\n * @event focus - (React: onFocus) This event is dispatched when the listitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the listitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the listitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the listitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)\n */",
18157
18098
  "customElement": true
18158
18099
  }
18159
18100
  ],
@@ -18603,7 +18544,7 @@
18603
18544
  "declarations": [
18604
18545
  {
18605
18546
  "kind": "class",
18606
- "description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.",
18547
+ "description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\n**Note**: If a menuitem contains a long text, it is recommended to create a tooltip for the menuitem that displays the full text on hover.\nConsumers need to add a unique ID to this menuitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the menuitem using the `triggerID` attribute.",
18607
18548
  "name": "MenuItem",
18608
18549
  "slots": [
18609
18550
  {
@@ -18916,45 +18857,6 @@
18916
18857
  "module": "components/listitem/listitem.component.js"
18917
18858
  }
18918
18859
  },
18919
- {
18920
- "kind": "field",
18921
- "name": "tooltipText",
18922
- "type": {
18923
- "text": "string | undefined"
18924
- },
18925
- "description": "The tooltip text is displayed on hover of the list item.",
18926
- "attribute": "tooltip-text",
18927
- "reflects": true,
18928
- "inheritedFrom": {
18929
- "name": "ListItem",
18930
- "module": "components/listitem/listitem.component.js"
18931
- }
18932
- },
18933
- {
18934
- "kind": "field",
18935
- "name": "tooltipPlacement",
18936
- "type": {
18937
- "text": "PopoverPlacement"
18938
- },
18939
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
18940
- "default": "'top'",
18941
- "attribute": "tooltip-placement",
18942
- "reflects": true,
18943
- "inheritedFrom": {
18944
- "name": "ListItem",
18945
- "module": "components/listitem/listitem.component.js"
18946
- }
18947
- },
18948
- {
18949
- "kind": "method",
18950
- "name": "triggerClickEvent",
18951
- "privacy": "protected",
18952
- "description": "Triggers a click event on the list item.",
18953
- "inheritedFrom": {
18954
- "name": "ListItem",
18955
- "module": "components/listitem/listitem.component.js"
18956
- }
18957
- },
18958
18860
  {
18959
18861
  "kind": "method",
18960
18862
  "name": "handleClick",
@@ -18969,25 +18871,11 @@
18969
18871
  "name": "event",
18970
18872
  "type": {
18971
18873
  "text": "MouseEvent"
18972
- }
18874
+ },
18875
+ "description": "The mouse event triggered when the list item is clicked."
18973
18876
  }
18974
18877
  ],
18975
- "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
18976
- "inheritedFrom": {
18977
- "name": "ListItem",
18978
- "module": "components/listitem/listitem.component.js"
18979
- }
18980
- },
18981
- {
18982
- "kind": "method",
18983
- "name": "displayTooltipForLongText",
18984
- "privacy": "private",
18985
- "return": {
18986
- "type": {
18987
- "text": "void"
18988
- }
18989
- },
18990
- "description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
18878
+ "description": "Handles the click event on the list item.\nPrevents click when listitem is disabled",
18991
18879
  "inheritedFrom": {
18992
18880
  "name": "ListItem",
18993
18881
  "module": "components/listitem/listitem.component.js"
@@ -18995,14 +18883,9 @@
18995
18883
  },
18996
18884
  {
18997
18885
  "kind": "method",
18998
- "name": "hideTooltipOnLeave",
18999
- "privacy": "private",
19000
- "return": {
19001
- "type": {
19002
- "text": "void"
19003
- }
19004
- },
19005
- "description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
18886
+ "name": "triggerClickEvent",
18887
+ "privacy": "protected",
18888
+ "description": "Triggers a click event on the list item.",
19006
18889
  "inheritedFrom": {
19007
18890
  "name": "ListItem",
19008
18891
  "module": "components/listitem/listitem.component.js"
@@ -19315,31 +19198,6 @@
19315
19198
  "name": "ListItem",
19316
19199
  "module": "src/components/listitem/listitem.component.ts"
19317
19200
  }
19318
- },
19319
- {
19320
- "name": "tooltip-text",
19321
- "type": {
19322
- "text": "string | undefined"
19323
- },
19324
- "description": "The tooltip text is displayed on hover of the list item.",
19325
- "fieldName": "tooltipText",
19326
- "inheritedFrom": {
19327
- "name": "ListItem",
19328
- "module": "src/components/listitem/listitem.component.ts"
19329
- }
19330
- },
19331
- {
19332
- "name": "tooltip-placement",
19333
- "type": {
19334
- "text": "PopoverPlacement"
19335
- },
19336
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
19337
- "default": "'top'",
19338
- "fieldName": "tooltipPlacement",
19339
- "inheritedFrom": {
19340
- "name": "ListItem",
19341
- "module": "src/components/listitem/listitem.component.ts"
19342
- }
19343
19201
  }
19344
19202
  ],
19345
19203
  "superclass": {
@@ -19347,7 +19205,7 @@
19347
19205
  "module": "/src/components/listitem/listitem.component"
19348
19206
  },
19349
19207
  "tagName": "mdc-menuitem",
19350
- "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the menuitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the menuitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)\n */",
19208
+ "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * **Note**: If a menuitem contains a long text, it is recommended to create a tooltip for the menuitem that displays the full text on hover.\n * Consumers need to add a unique ID to this menuitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the menuitem using the `triggerID` attribute.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the menuitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the menuitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)\n */",
19351
19209
  "customElement": true,
19352
19210
  "cssProperties": [
19353
19211
  {
@@ -19860,45 +19718,6 @@
19860
19718
  "module": "components/listitem/listitem.component.js"
19861
19719
  }
19862
19720
  },
19863
- {
19864
- "kind": "field",
19865
- "name": "tooltipText",
19866
- "type": {
19867
- "text": "string | undefined"
19868
- },
19869
- "description": "The tooltip text is displayed on hover of the list item.",
19870
- "attribute": "tooltip-text",
19871
- "reflects": true,
19872
- "inheritedFrom": {
19873
- "name": "ListItem",
19874
- "module": "components/listitem/listitem.component.js"
19875
- }
19876
- },
19877
- {
19878
- "kind": "field",
19879
- "name": "tooltipPlacement",
19880
- "type": {
19881
- "text": "PopoverPlacement"
19882
- },
19883
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
19884
- "default": "'top'",
19885
- "attribute": "tooltip-placement",
19886
- "reflects": true,
19887
- "inheritedFrom": {
19888
- "name": "ListItem",
19889
- "module": "components/listitem/listitem.component.js"
19890
- }
19891
- },
19892
- {
19893
- "kind": "method",
19894
- "name": "triggerClickEvent",
19895
- "privacy": "protected",
19896
- "description": "Triggers a click event on the list item.",
19897
- "inheritedFrom": {
19898
- "name": "ListItem",
19899
- "module": "components/listitem/listitem.component.js"
19900
- }
19901
- },
19902
19721
  {
19903
19722
  "kind": "method",
19904
19723
  "name": "handleClick",
@@ -19912,26 +19731,12 @@
19912
19731
  {
19913
19732
  "name": "event",
19914
19733
  "type": {
19915
- "text": "MouseEvent"
19916
- }
19917
- }
19918
- ],
19919
- "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
19920
- "inheritedFrom": {
19921
- "name": "ListItem",
19922
- "module": "components/listitem/listitem.component.js"
19923
- }
19924
- },
19925
- {
19926
- "kind": "method",
19927
- "name": "displayTooltipForLongText",
19928
- "privacy": "private",
19929
- "return": {
19930
- "type": {
19931
- "text": "void"
19734
+ "text": "MouseEvent"
19735
+ },
19736
+ "description": "The mouse event triggered when the list item is clicked."
19932
19737
  }
19933
- },
19934
- "description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
19738
+ ],
19739
+ "description": "Handles the click event on the list item.\nPrevents click when listitem is disabled",
19935
19740
  "inheritedFrom": {
19936
19741
  "name": "ListItem",
19937
19742
  "module": "components/listitem/listitem.component.js"
@@ -19939,14 +19744,9 @@
19939
19744
  },
19940
19745
  {
19941
19746
  "kind": "method",
19942
- "name": "hideTooltipOnLeave",
19943
- "privacy": "private",
19944
- "return": {
19945
- "type": {
19946
- "text": "void"
19947
- }
19948
- },
19949
- "description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
19747
+ "name": "triggerClickEvent",
19748
+ "privacy": "protected",
19749
+ "description": "Triggers a click event on the list item.",
19950
19750
  "inheritedFrom": {
19951
19751
  "name": "ListItem",
19952
19752
  "module": "components/listitem/listitem.component.js"
@@ -20301,31 +20101,6 @@
20301
20101
  "name": "ListItem",
20302
20102
  "module": "src/components/listitem/listitem.component.ts"
20303
20103
  }
20304
- },
20305
- {
20306
- "name": "tooltip-text",
20307
- "type": {
20308
- "text": "string | undefined"
20309
- },
20310
- "description": "The tooltip text is displayed on hover of the list item.",
20311
- "fieldName": "tooltipText",
20312
- "inheritedFrom": {
20313
- "name": "ListItem",
20314
- "module": "src/components/listitem/listitem.component.ts"
20315
- }
20316
- },
20317
- {
20318
- "name": "tooltip-placement",
20319
- "type": {
20320
- "text": "PopoverPlacement"
20321
- },
20322
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
20323
- "default": "'top'",
20324
- "fieldName": "tooltipPlacement",
20325
- "inheritedFrom": {
20326
- "name": "ListItem",
20327
- "module": "src/components/listitem/listitem.component.ts"
20328
- }
20329
20104
  }
20330
20105
  ],
20331
20106
  "superclass": {
@@ -20857,45 +20632,6 @@
20857
20632
  "module": "components/listitem/listitem.component.js"
20858
20633
  }
20859
20634
  },
20860
- {
20861
- "kind": "field",
20862
- "name": "tooltipText",
20863
- "type": {
20864
- "text": "string | undefined"
20865
- },
20866
- "description": "The tooltip text is displayed on hover of the list item.",
20867
- "attribute": "tooltip-text",
20868
- "reflects": true,
20869
- "inheritedFrom": {
20870
- "name": "ListItem",
20871
- "module": "components/listitem/listitem.component.js"
20872
- }
20873
- },
20874
- {
20875
- "kind": "field",
20876
- "name": "tooltipPlacement",
20877
- "type": {
20878
- "text": "PopoverPlacement"
20879
- },
20880
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
20881
- "default": "'top'",
20882
- "attribute": "tooltip-placement",
20883
- "reflects": true,
20884
- "inheritedFrom": {
20885
- "name": "ListItem",
20886
- "module": "components/listitem/listitem.component.js"
20887
- }
20888
- },
20889
- {
20890
- "kind": "method",
20891
- "name": "triggerClickEvent",
20892
- "privacy": "protected",
20893
- "description": "Triggers a click event on the list item.",
20894
- "inheritedFrom": {
20895
- "name": "ListItem",
20896
- "module": "components/listitem/listitem.component.js"
20897
- }
20898
- },
20899
20635
  {
20900
20636
  "kind": "method",
20901
20637
  "name": "handleClick",
@@ -20910,25 +20646,11 @@
20910
20646
  "name": "event",
20911
20647
  "type": {
20912
20648
  "text": "MouseEvent"
20913
- }
20649
+ },
20650
+ "description": "The mouse event triggered when the list item is clicked."
20914
20651
  }
20915
20652
  ],
20916
- "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
20917
- "inheritedFrom": {
20918
- "name": "ListItem",
20919
- "module": "components/listitem/listitem.component.js"
20920
- }
20921
- },
20922
- {
20923
- "kind": "method",
20924
- "name": "displayTooltipForLongText",
20925
- "privacy": "private",
20926
- "return": {
20927
- "type": {
20928
- "text": "void"
20929
- }
20930
- },
20931
- "description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
20653
+ "description": "Handles the click event on the list item.\nPrevents click when listitem is disabled",
20932
20654
  "inheritedFrom": {
20933
20655
  "name": "ListItem",
20934
20656
  "module": "components/listitem/listitem.component.js"
@@ -20936,14 +20658,9 @@
20936
20658
  },
20937
20659
  {
20938
20660
  "kind": "method",
20939
- "name": "hideTooltipOnLeave",
20940
- "privacy": "private",
20941
- "return": {
20942
- "type": {
20943
- "text": "void"
20944
- }
20945
- },
20946
- "description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
20661
+ "name": "triggerClickEvent",
20662
+ "privacy": "protected",
20663
+ "description": "Triggers a click event on the list item.",
20947
20664
  "inheritedFrom": {
20948
20665
  "name": "ListItem",
20949
20666
  "module": "components/listitem/listitem.component.js"
@@ -21298,31 +21015,6 @@
21298
21015
  "name": "ListItem",
21299
21016
  "module": "src/components/listitem/listitem.component.ts"
21300
21017
  }
21301
- },
21302
- {
21303
- "name": "tooltip-text",
21304
- "type": {
21305
- "text": "string | undefined"
21306
- },
21307
- "description": "The tooltip text is displayed on hover of the list item.",
21308
- "fieldName": "tooltipText",
21309
- "inheritedFrom": {
21310
- "name": "ListItem",
21311
- "module": "src/components/listitem/listitem.component.ts"
21312
- }
21313
- },
21314
- {
21315
- "name": "tooltip-placement",
21316
- "type": {
21317
- "text": "PopoverPlacement"
21318
- },
21319
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
21320
- "default": "'top'",
21321
- "fieldName": "tooltipPlacement",
21322
- "inheritedFrom": {
21323
- "name": "ListItem",
21324
- "module": "src/components/listitem/listitem.component.ts"
21325
- }
21326
21018
  }
21327
21019
  ],
21328
21020
  "superclass": {
@@ -23833,7 +23525,7 @@
23833
23525
  "declarations": [
23834
23526
  {
23835
23527
  "kind": "class",
23836
- "description": "`mdc-navmenuitem` is a menuitem styled to work as a navigation tab.\nIt supports a leading icon, optional badge and dynamic text rendering.\n\nNote: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation\ncomponent. Its structure, spacing, and interactions are designed to align with\nthe visual and functional requirements of side navigation layouts.",
23528
+ "description": "`mdc-navmenuitem` is a menuitem styled to work as a navigation tab.\nIt supports a leading icon, optional badge and dynamic text rendering.\n\nNote: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation\ncomponent. Its structure, spacing, and interactions are designed to align with\nthe visual and functional requirements of side navigation layouts.\n\nBy providing the tooltip-text attribute, a tooltip will be displayed on hover of the navmenuitem. This tooltip is useful when an active navmenuitem is present within a submenu of the sidenavigation component.",
23837
23529
  "name": "NavMenuItem",
23838
23530
  "cssProperties": [
23839
23531
  {
@@ -24051,6 +23743,31 @@
24051
23743
  "attribute": "disable-aria-current",
24052
23744
  "reflects": true
24053
23745
  },
23746
+ {
23747
+ "kind": "field",
23748
+ "name": "tooltipText",
23749
+ "type": {
23750
+ "text": "string | undefined"
23751
+ },
23752
+ "description": "The tooltip text is displayed on hover of the list item.",
23753
+ "attribute": "tooltip-text",
23754
+ "reflects": true
23755
+ },
23756
+ {
23757
+ "kind": "method",
23758
+ "name": "removeTooltip",
23759
+ "privacy": "private"
23760
+ },
23761
+ {
23762
+ "kind": "method",
23763
+ "name": "renderDynamicTooltip",
23764
+ "privacy": "private",
23765
+ "return": {
23766
+ "type": {
23767
+ "text": "void"
23768
+ }
23769
+ }
23770
+ },
24054
23771
  {
24055
23772
  "kind": "method",
24056
23773
  "name": "isNested",
@@ -24388,45 +24105,6 @@
24388
24105
  "module": "components/listitem/listitem.component.js"
24389
24106
  }
24390
24107
  },
24391
- {
24392
- "kind": "field",
24393
- "name": "tooltipText",
24394
- "type": {
24395
- "text": "string | undefined"
24396
- },
24397
- "description": "The tooltip text is displayed on hover of the list item.",
24398
- "attribute": "tooltip-text",
24399
- "reflects": true,
24400
- "inheritedFrom": {
24401
- "name": "ListItem",
24402
- "module": "components/listitem/listitem.component.js"
24403
- }
24404
- },
24405
- {
24406
- "kind": "field",
24407
- "name": "tooltipPlacement",
24408
- "type": {
24409
- "text": "PopoverPlacement"
24410
- },
24411
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
24412
- "default": "'top'",
24413
- "attribute": "tooltip-placement",
24414
- "reflects": true,
24415
- "inheritedFrom": {
24416
- "name": "ListItem",
24417
- "module": "components/listitem/listitem.component.js"
24418
- }
24419
- },
24420
- {
24421
- "kind": "method",
24422
- "name": "triggerClickEvent",
24423
- "privacy": "protected",
24424
- "description": "Triggers a click event on the list item.",
24425
- "inheritedFrom": {
24426
- "name": "ListItem",
24427
- "module": "components/listitem/listitem.component.js"
24428
- }
24429
- },
24430
24108
  {
24431
24109
  "kind": "method",
24432
24110
  "name": "handleClick",
@@ -24441,10 +24119,11 @@
24441
24119
  "name": "event",
24442
24120
  "type": {
24443
24121
  "text": "MouseEvent"
24444
- }
24122
+ },
24123
+ "description": "The mouse event triggered when the list item is clicked."
24445
24124
  }
24446
24125
  ],
24447
- "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
24126
+ "description": "Handles the click event on the list item.\nPrevents click when listitem is disabled",
24448
24127
  "inheritedFrom": {
24449
24128
  "name": "ListItem",
24450
24129
  "module": "components/listitem/listitem.component.js"
@@ -24452,29 +24131,9 @@
24452
24131
  },
24453
24132
  {
24454
24133
  "kind": "method",
24455
- "name": "displayTooltipForLongText",
24456
- "privacy": "private",
24457
- "return": {
24458
- "type": {
24459
- "text": "void"
24460
- }
24461
- },
24462
- "description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
24463
- "inheritedFrom": {
24464
- "name": "ListItem",
24465
- "module": "components/listitem/listitem.component.js"
24466
- }
24467
- },
24468
- {
24469
- "kind": "method",
24470
- "name": "hideTooltipOnLeave",
24471
- "privacy": "private",
24472
- "return": {
24473
- "type": {
24474
- "text": "void"
24475
- }
24476
- },
24477
- "description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
24134
+ "name": "triggerClickEvent",
24135
+ "privacy": "protected",
24136
+ "description": "Triggers a click event on the list item.",
24478
24137
  "inheritedFrom": {
24479
24138
  "name": "ListItem",
24480
24139
  "module": "components/listitem/listitem.component.js"
@@ -24709,6 +24368,14 @@
24709
24368
  "description": "When set to true, prevents the automatic setting of the `aria-current` attribute on the navmenuitem\nwhen it becomes active. This is useful for cases where you want to maintain the visual active styling\nbut need to handle aria-current attribute differently or not at all.\nThe active button styling will still be applied regardless of this setting.",
24710
24369
  "fieldName": "disableAriaCurrent"
24711
24370
  },
24371
+ {
24372
+ "name": "tooltip-text",
24373
+ "type": {
24374
+ "text": "string | undefined"
24375
+ },
24376
+ "description": "The tooltip text is displayed on hover of the list item.",
24377
+ "fieldName": "tooltipText"
24378
+ },
24712
24379
  {
24713
24380
  "name": "icon-name",
24714
24381
  "type": {
@@ -24880,31 +24547,6 @@
24880
24547
  "name": "ListItem",
24881
24548
  "module": "src/components/listitem/listitem.component.ts"
24882
24549
  }
24883
- },
24884
- {
24885
- "name": "tooltip-text",
24886
- "type": {
24887
- "text": "string | undefined"
24888
- },
24889
- "description": "The tooltip text is displayed on hover of the list item.",
24890
- "fieldName": "tooltipText",
24891
- "inheritedFrom": {
24892
- "name": "ListItem",
24893
- "module": "src/components/listitem/listitem.component.ts"
24894
- }
24895
- },
24896
- {
24897
- "name": "tooltip-placement",
24898
- "type": {
24899
- "text": "PopoverPlacement"
24900
- },
24901
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
24902
- "default": "'top'",
24903
- "fieldName": "tooltipPlacement",
24904
- "inheritedFrom": {
24905
- "name": "ListItem",
24906
- "module": "src/components/listitem/listitem.component.ts"
24907
- }
24908
24550
  }
24909
24551
  ],
24910
24552
  "mixins": [
@@ -24918,7 +24560,7 @@
24918
24560
  "module": "/src/components/menuitem/menuitem.component"
24919
24561
  },
24920
24562
  "tagName": "mdc-navmenuitem",
24921
- "jsDoc": "/**\n * `mdc-navmenuitem` is a menuitem styled to work as a navigation tab.\n * It supports a leading icon, optional badge and dynamic text rendering.\n *\n * Note: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation\n * component. Its structure, spacing, and interactions are designed to align with\n * the visual and functional requirements of side navigation layouts.\n *\n * @tagname mdc-navmenuitem\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-badge\n * @dependency mdc-tooltip\n *\n * @event click - (React: onClick) This event is dispatched when the navmenuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the navmenuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the navmenuitem.\n * @event focus - (React: onFocus) This event is dispatched when the navmenuitem receives focus.\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem changes.\n *\n * @cssproperty --mdc-navmenuitem-color - Text color of the navmenuitem in its normal state.\n * @cssproperty --mdc-navmenuitem-border-color - Border color of the navmenuitem in its normal state.\n * @cssproperty --mdc-navmenuitem-disabled-color - Text color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-expanded-width - Width of the navmenuitem when expanded.\n * @cssproperty --mdc-navmenuitem-hover-background-color - Background color of the navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-hover-active-background-color - Background color of the active navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-pressed-background-color - Background color of the navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-pressed-active-background-color - Background color of the active navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-disabled-background-color - Background color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-disabled-active-background-color - Background color of the active navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.\n */",
24563
+ "jsDoc": "/**\n * `mdc-navmenuitem` is a menuitem styled to work as a navigation tab.\n * It supports a leading icon, optional badge and dynamic text rendering.\n *\n * Note: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation\n * component. Its structure, spacing, and interactions are designed to align with\n * the visual and functional requirements of side navigation layouts.\n *\n * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the navmenuitem. This tooltip is useful when an active navmenuitem is present within a submenu of the sidenavigation component.\n *\n * @tagname mdc-navmenuitem\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-badge\n * @dependency mdc-tooltip\n *\n * @event click - (React: onClick) This event is dispatched when the navmenuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the navmenuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the navmenuitem.\n * @event focus - (React: onFocus) This event is dispatched when the navmenuitem receives focus.\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem changes.\n *\n * @cssproperty --mdc-navmenuitem-color - Text color of the navmenuitem in its normal state.\n * @cssproperty --mdc-navmenuitem-border-color - Border color of the navmenuitem in its normal state.\n * @cssproperty --mdc-navmenuitem-disabled-color - Text color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-expanded-width - Width of the navmenuitem when expanded.\n * @cssproperty --mdc-navmenuitem-hover-background-color - Background color of the navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-hover-active-background-color - Background color of the active navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-pressed-background-color - Background color of the navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-pressed-active-background-color - Background color of the active navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-disabled-background-color - Background color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-disabled-active-background-color - Background color of the active navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.\n */",
24922
24564
  "customElement": true,
24923
24565
  "slots": [
24924
24566
  {
@@ -25143,7 +24785,7 @@
25143
24785
  "declarations": [
25144
24786
  {
25145
24787
  "kind": "class",
25146
- "description": "Option component, which is used within Selectlistbox within Select component.\n\nThe label and secondary label of the option can be set using the `label` and `secondaryLabel` properties respectively.\nThe `label` is the primary text displayed in the option, while the `secondaryLabel` is the secondary text displayed below the primary label.\n\nThe `selected` property is used to indicate whether the option is selected or not.\nWhen the `selected` property is set to true, a checkmark icon will be displayed\non the right side of the option to indicate that it is selected.\n\nThe `prefixIcon` property can be used to display an icon on the left side of the option label.\nWe can show a tooltip by setting `tooltip-text` attribute. This will be displayed on hover or focus of the option.\nThe tooltip will be helpful for a long label text which is truncated with ellipsis.",
24788
+ "description": "Option component, which is used within Selectlistbox within Select component.\n\nThe label and secondary label of the option can be set using the `label` and `secondaryLabel` properties respectively.\nThe `label` is the primary text displayed in the option, while the `secondaryLabel` is the secondary text displayed below the primary label.\n\nThe `selected` property is used to indicate whether the option is selected or not.\nWhen the `selected` property is set to true, a checkmark icon will be displayed\non the right side of the option to indicate that it is selected.\n\nThe `prefixIcon` property can be used to display an icon on the left side of the option label.\n\n**Note**: If an option contains a long text, it is recommended to create a tooltip for the option that displays the full text on hover.\nConsumers need to add a unique ID to this option and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the option using the `triggerID` attribute.",
25147
24789
  "name": "Option",
25148
24790
  "members": [
25149
24791
  {
@@ -25358,35 +25000,7 @@
25358
25000
  "text": "string | undefined"
25359
25001
  },
25360
25002
  "description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
25361
- "attribute": "tertiary-label",
25362
- "reflects": true,
25363
- "inheritedFrom": {
25364
- "name": "ListItem",
25365
- "module": "components/listitem/listitem.component.js"
25366
- }
25367
- },
25368
- {
25369
- "kind": "field",
25370
- "name": "sideHeaderText",
25371
- "type": {
25372
- "text": "string | undefined"
25373
- },
25374
- "description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
25375
- "attribute": "side-header-text",
25376
- "reflects": true,
25377
- "inheritedFrom": {
25378
- "name": "ListItem",
25379
- "module": "components/listitem/listitem.component.js"
25380
- }
25381
- },
25382
- {
25383
- "kind": "field",
25384
- "name": "sublineText",
25385
- "type": {
25386
- "text": "string | undefined"
25387
- },
25388
- "description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
25389
- "attribute": "subline-text",
25003
+ "attribute": "tertiary-label",
25390
25004
  "reflects": true,
25391
25005
  "inheritedFrom": {
25392
25006
  "name": "ListItem",
@@ -25395,13 +25009,12 @@
25395
25009
  },
25396
25010
  {
25397
25011
  "kind": "field",
25398
- "name": "softDisabled",
25012
+ "name": "sideHeaderText",
25399
25013
  "type": {
25400
- "text": "boolean | undefined"
25014
+ "text": "string | undefined"
25401
25015
  },
25402
- "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element 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 element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
25403
- "default": "undefined",
25404
- "attribute": "soft-disabled",
25016
+ "description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
25017
+ "attribute": "side-header-text",
25405
25018
  "reflects": true,
25406
25019
  "inheritedFrom": {
25407
25020
  "name": "ListItem",
@@ -25410,12 +25023,12 @@
25410
25023
  },
25411
25024
  {
25412
25025
  "kind": "field",
25413
- "name": "tooltipText",
25026
+ "name": "sublineText",
25414
25027
  "type": {
25415
25028
  "text": "string | undefined"
25416
25029
  },
25417
- "description": "The tooltip text is displayed on hover of the list item.",
25418
- "attribute": "tooltip-text",
25030
+ "description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
25031
+ "attribute": "subline-text",
25419
25032
  "reflects": true,
25420
25033
  "inheritedFrom": {
25421
25034
  "name": "ListItem",
@@ -25424,13 +25037,13 @@
25424
25037
  },
25425
25038
  {
25426
25039
  "kind": "field",
25427
- "name": "tooltipPlacement",
25040
+ "name": "softDisabled",
25428
25041
  "type": {
25429
- "text": "PopoverPlacement"
25042
+ "text": "boolean | undefined"
25430
25043
  },
25431
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
25432
- "default": "'top'",
25433
- "attribute": "tooltip-placement",
25044
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element 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 element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
25045
+ "default": "undefined",
25046
+ "attribute": "soft-disabled",
25434
25047
  "reflects": true,
25435
25048
  "inheritedFrom": {
25436
25049
  "name": "ListItem",
@@ -25439,8 +25052,8 @@
25439
25052
  },
25440
25053
  {
25441
25054
  "kind": "method",
25442
- "name": "handleKeyDown",
25443
- "privacy": "protected",
25055
+ "name": "handleClick",
25056
+ "privacy": "private",
25444
25057
  "return": {
25445
25058
  "type": {
25446
25059
  "text": "void"
@@ -25450,12 +25063,12 @@
25450
25063
  {
25451
25064
  "name": "event",
25452
25065
  "type": {
25453
- "text": "KeyboardEvent"
25066
+ "text": "MouseEvent"
25454
25067
  },
25455
- "description": "The keyboard event triggered when a key is pressed down."
25068
+ "description": "The mouse event triggered when the list item is clicked."
25456
25069
  }
25457
25070
  ],
25458
- "description": "Fires the click event when the enter or space key is pressed down.\nThis behavior is similar to a button click and key interaction.",
25071
+ "description": "Handles the click event on the list item.\nPrevents click when listitem is disabled",
25459
25072
  "inheritedFrom": {
25460
25073
  "name": "ListItem",
25461
25074
  "module": "components/listitem/listitem.component.js"
@@ -25463,18 +25076,8 @@
25463
25076
  },
25464
25077
  {
25465
25078
  "kind": "method",
25466
- "name": "triggerClickEvent",
25079
+ "name": "handleKeyDown",
25467
25080
  "privacy": "protected",
25468
- "description": "Triggers a click event on the list item.",
25469
- "inheritedFrom": {
25470
- "name": "ListItem",
25471
- "module": "components/listitem/listitem.component.js"
25472
- }
25473
- },
25474
- {
25475
- "kind": "method",
25476
- "name": "handleClick",
25477
- "privacy": "private",
25478
25081
  "return": {
25479
25082
  "type": {
25480
25083
  "text": "void"
@@ -25484,26 +25087,12 @@
25484
25087
  {
25485
25088
  "name": "event",
25486
25089
  "type": {
25487
- "text": "MouseEvent"
25488
- }
25090
+ "text": "KeyboardEvent"
25091
+ },
25092
+ "description": "The keyboard event triggered when a key is pressed down."
25489
25093
  }
25490
25094
  ],
25491
- "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
25492
- "inheritedFrom": {
25493
- "name": "ListItem",
25494
- "module": "components/listitem/listitem.component.js"
25495
- }
25496
- },
25497
- {
25498
- "kind": "method",
25499
- "name": "displayTooltipForLongText",
25500
- "privacy": "private",
25501
- "return": {
25502
- "type": {
25503
- "text": "void"
25504
- }
25505
- },
25506
- "description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
25095
+ "description": "Fires the click event when the enter or space key is pressed down.\nThis behavior is similar to a button click and key interaction.",
25507
25096
  "inheritedFrom": {
25508
25097
  "name": "ListItem",
25509
25098
  "module": "components/listitem/listitem.component.js"
@@ -25511,14 +25100,9 @@
25511
25100
  },
25512
25101
  {
25513
25102
  "kind": "method",
25514
- "name": "hideTooltipOnLeave",
25515
- "privacy": "private",
25516
- "return": {
25517
- "type": {
25518
- "text": "void"
25519
- }
25520
- },
25521
- "description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
25103
+ "name": "triggerClickEvent",
25104
+ "privacy": "protected",
25105
+ "description": "Triggers a click event on the list item.",
25522
25106
  "inheritedFrom": {
25523
25107
  "name": "ListItem",
25524
25108
  "module": "components/listitem/listitem.component.js"
@@ -25893,31 +25477,6 @@
25893
25477
  "name": "ListItem",
25894
25478
  "module": "src/components/listitem/listitem.component.ts"
25895
25479
  }
25896
- },
25897
- {
25898
- "name": "tooltip-text",
25899
- "type": {
25900
- "text": "string | undefined"
25901
- },
25902
- "description": "The tooltip text is displayed on hover of the list item.",
25903
- "fieldName": "tooltipText",
25904
- "inheritedFrom": {
25905
- "name": "ListItem",
25906
- "module": "src/components/listitem/listitem.component.ts"
25907
- }
25908
- },
25909
- {
25910
- "name": "tooltip-placement",
25911
- "type": {
25912
- "text": "PopoverPlacement"
25913
- },
25914
- "description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
25915
- "default": "'top'",
25916
- "fieldName": "tooltipPlacement",
25917
- "inheritedFrom": {
25918
- "name": "ListItem",
25919
- "module": "src/components/listitem/listitem.component.ts"
25920
- }
25921
25480
  }
25922
25481
  ],
25923
25482
  "mixins": [
@@ -25931,7 +25490,7 @@
25931
25490
  "module": "/src/components/listitem/listitem.component"
25932
25491
  },
25933
25492
  "tagName": "mdc-option",
25934
- "jsDoc": "/**\n * Option component, which is used within Selectlistbox within Select component.\n *\n * The label and secondary label of the option can be set using the `label` and `secondaryLabel` properties respectively.\n * The `label` is the primary text displayed in the option, while the `secondaryLabel` is the secondary text displayed below the primary label.\n *\n * The `selected` property is used to indicate whether the option is selected or not.\n * When the `selected` property is set to true, a checkmark icon will be displayed\n * on the right side of the option to indicate that it is selected.\n *\n * The `prefixIcon` property can be used to display an icon on the left side of the option label.\n * We can show a tooltip by setting `tooltip-text` attribute. This will be displayed on hover or focus of the option.\n * The tooltip will be helpful for a long label text which is truncated with ellipsis.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-tooltip\n *\n * @tagname mdc-option\n *\n * @event click - (React: onClick) This event is dispatched when the option is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the option.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the option.\n * @event focus - (React: onFocus) This event is dispatched when the option receives focus.\n */",
25493
+ "jsDoc": "/**\n * Option component, which is used within Selectlistbox within Select component.\n *\n * The label and secondary label of the option can be set using the `label` and `secondaryLabel` properties respectively.\n * The `label` is the primary text displayed in the option, while the `secondaryLabel` is the secondary text displayed below the primary label.\n *\n * The `selected` property is used to indicate whether the option is selected or not.\n * When the `selected` property is set to true, a checkmark icon will be displayed\n * on the right side of the option to indicate that it is selected.\n *\n * The `prefixIcon` property can be used to display an icon on the left side of the option label.\n *\n * **Note**: If an option contains a long text, it is recommended to create a tooltip for the option that displays the full text on hover.\n * Consumers need to add a unique ID to this option and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the option using the `triggerID` attribute.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-option\n *\n * @event click - (React: onClick) This event is dispatched when the option is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the option.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the option.\n * @event focus - (React: onFocus) This event is dispatched when the option receives focus.\n */",
25935
25494
  "customElement": true,
25936
25495
  "slots": [
25937
25496
  {
@@ -32703,7 +32262,7 @@
32703
32262
  "declarations": [
32704
32263
  {
32705
32264
  "kind": "class",
32706
- "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
32265
+ "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n\nIf you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.",
32707
32266
  "name": "Select",
32708
32267
  "cssProperties": [
32709
32268
  {
@@ -33709,7 +33268,7 @@
33709
33268
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
33710
33269
  },
33711
33270
  "tagName": "mdc-select",
33712
- "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
33271
+ "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * If you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
33713
33272
  "customElement": true
33714
33273
  }
33715
33274
  ],
@@ -33982,6 +33541,88 @@
33982
33541
  }
33983
33542
  ]
33984
33543
  },
33544
+ {
33545
+ "kind": "javascript-module",
33546
+ "path": "components/skeleton/skeleton.component.js",
33547
+ "declarations": [
33548
+ {
33549
+ "kind": "class",
33550
+ "description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
33551
+ "name": "Skeleton",
33552
+ "cssProperties": [
33553
+ {
33554
+ "description": "background color of the skeleton",
33555
+ "name": "--mdc-skeleton-background-color"
33556
+ },
33557
+ {
33558
+ "description": "height of the skeleton",
33559
+ "name": "--mdc-skeleton-height"
33560
+ },
33561
+ {
33562
+ "description": "width of the skeleton",
33563
+ "name": "--mdc-skeleton-width"
33564
+ }
33565
+ ],
33566
+ "slots": [
33567
+ {
33568
+ "description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
33569
+ "name": ""
33570
+ }
33571
+ ],
33572
+ "members": [
33573
+ {
33574
+ "kind": "field",
33575
+ "name": "variant",
33576
+ "type": {
33577
+ "text": "SkeletonVariant"
33578
+ },
33579
+ "description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
33580
+ "default": "rectangular",
33581
+ "attribute": "variant",
33582
+ "reflects": true
33583
+ },
33584
+ {
33585
+ "kind": "method",
33586
+ "name": "checkSlotContent",
33587
+ "privacy": "private",
33588
+ "return": {
33589
+ "type": {
33590
+ "text": "void"
33591
+ }
33592
+ }
33593
+ }
33594
+ ],
33595
+ "attributes": [
33596
+ {
33597
+ "name": "variant",
33598
+ "type": {
33599
+ "text": "SkeletonVariant"
33600
+ },
33601
+ "description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
33602
+ "default": "rectangular",
33603
+ "fieldName": "variant"
33604
+ }
33605
+ ],
33606
+ "superclass": {
33607
+ "name": "Component",
33608
+ "module": "/src/models"
33609
+ },
33610
+ "tagName": "mdc-skeleton",
33611
+ "jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
33612
+ "customElement": true
33613
+ }
33614
+ ],
33615
+ "exports": [
33616
+ {
33617
+ "kind": "js",
33618
+ "name": "default",
33619
+ "declaration": {
33620
+ "name": "Skeleton",
33621
+ "module": "components/skeleton/skeleton.component.js"
33622
+ }
33623
+ }
33624
+ ]
33625
+ },
33985
33626
  {
33986
33627
  "kind": "javascript-module",
33987
33628
  "path": "components/slider/slider.component.js",
@@ -34494,88 +34135,6 @@
34494
34135
  }
34495
34136
  ]
34496
34137
  },
34497
- {
34498
- "kind": "javascript-module",
34499
- "path": "components/skeleton/skeleton.component.js",
34500
- "declarations": [
34501
- {
34502
- "kind": "class",
34503
- "description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
34504
- "name": "Skeleton",
34505
- "cssProperties": [
34506
- {
34507
- "description": "background color of the skeleton",
34508
- "name": "--mdc-skeleton-background-color"
34509
- },
34510
- {
34511
- "description": "height of the skeleton",
34512
- "name": "--mdc-skeleton-height"
34513
- },
34514
- {
34515
- "description": "width of the skeleton",
34516
- "name": "--mdc-skeleton-width"
34517
- }
34518
- ],
34519
- "slots": [
34520
- {
34521
- "description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
34522
- "name": ""
34523
- }
34524
- ],
34525
- "members": [
34526
- {
34527
- "kind": "field",
34528
- "name": "variant",
34529
- "type": {
34530
- "text": "SkeletonVariant"
34531
- },
34532
- "description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
34533
- "default": "rectangular",
34534
- "attribute": "variant",
34535
- "reflects": true
34536
- },
34537
- {
34538
- "kind": "method",
34539
- "name": "checkSlotContent",
34540
- "privacy": "private",
34541
- "return": {
34542
- "type": {
34543
- "text": "void"
34544
- }
34545
- }
34546
- }
34547
- ],
34548
- "attributes": [
34549
- {
34550
- "name": "variant",
34551
- "type": {
34552
- "text": "SkeletonVariant"
34553
- },
34554
- "description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
34555
- "default": "rectangular",
34556
- "fieldName": "variant"
34557
- }
34558
- ],
34559
- "superclass": {
34560
- "name": "Component",
34561
- "module": "/src/models"
34562
- },
34563
- "tagName": "mdc-skeleton",
34564
- "jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
34565
- "customElement": true
34566
- }
34567
- ],
34568
- "exports": [
34569
- {
34570
- "kind": "js",
34571
- "name": "default",
34572
- "declaration": {
34573
- "name": "Skeleton",
34574
- "module": "components/skeleton/skeleton.component.js"
34575
- }
34576
- }
34577
- ]
34578
- },
34579
34138
  {
34580
34139
  "kind": "javascript-module",
34581
34140
  "path": "components/spinner/spinner.component.js",