@momentum-design/components 0.106.6 → 0.106.7

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.
@@ -5295,287 +5295,100 @@
5295
5295
  },
5296
5296
  {
5297
5297
  "kind": "javascript-module",
5298
- "path": "components/cardcheckbox/cardcheckbox.component.js",
5298
+ "path": "components/card/card.component.js",
5299
5299
  "declarations": [
5300
5300
  {
5301
5301
  "kind": "class",
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",
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",
5304
5304
  "cssProperties": [
5305
5305
  {
5306
5306
  "description": "The width of the card",
5307
- "name": "--mdc-card-width",
5308
- "inheritedFrom": {
5309
- "name": "Card",
5310
- "module": "src/components/card/card.component.ts"
5311
- }
5307
+ "name": "--mdc-card-width"
5312
5308
  }
5313
5309
  ],
5314
5310
  "cssParts": [
5315
5311
  {
5316
5312
  "description": "The header part of the card",
5317
- "name": "header",
5318
- "inheritedFrom": {
5319
- "name": "Card",
5320
- "module": "src/components/card/card.component.ts"
5321
- }
5313
+ "name": "header"
5322
5314
  },
5323
5315
  {
5324
5316
  "description": "The icon part of the card header",
5325
- "name": "icon",
5326
- "inheritedFrom": {
5327
- "name": "Card",
5328
- "module": "src/components/card/card.component.ts"
5329
- }
5317
+ "name": "icon"
5330
5318
  },
5331
5319
  {
5332
5320
  "description": "The body part of the card",
5333
- "name": "body",
5334
- "inheritedFrom": {
5335
- "name": "Card",
5336
- "module": "src/components/card/card.component.ts"
5337
- }
5321
+ "name": "body"
5338
5322
  },
5339
5323
  {
5340
5324
  "description": "The image part of the card",
5341
- "name": "image",
5342
- "inheritedFrom": {
5343
- "name": "Card",
5344
- "module": "src/components/card/card.component.ts"
5345
- }
5325
+ "name": "image"
5346
5326
  },
5347
5327
  {
5348
5328
  "description": "The footer part of the card",
5349
- "name": "footer",
5350
- "inheritedFrom": {
5351
- "name": "Card",
5352
- "module": "src/components/card/card.component.ts"
5353
- }
5329
+ "name": "footer"
5354
5330
  },
5355
5331
  {
5356
5332
  "description": "The link part of the card footer",
5357
- "name": "footer-link",
5358
- "inheritedFrom": {
5359
- "name": "Card",
5360
- "module": "src/components/card/card.component.ts"
5361
- }
5333
+ "name": "footer-link"
5362
5334
  },
5363
5335
  {
5364
5336
  "description": "The primary button part of the card footer",
5365
- "name": "footer-button-primary",
5366
- "inheritedFrom": {
5367
- "name": "Card",
5368
- "module": "src/components/card/card.component.ts"
5369
- }
5337
+ "name": "footer-button-primary"
5370
5338
  },
5371
5339
  {
5372
5340
  "description": "The secondary button part of the card footer",
5373
- "name": "footer-button-secondary",
5374
- "inheritedFrom": {
5375
- "name": "Card",
5376
- "module": "src/components/card/card.component.ts"
5377
- }
5341
+ "name": "footer-button-secondary"
5378
5342
  },
5379
5343
  {
5380
5344
  "description": "The icon button part of the card header",
5381
- "name": "icon-button",
5382
- "inheritedFrom": {
5383
- "name": "Card",
5384
- "module": "src/components/card/card.component.ts"
5385
- }
5345
+ "name": "icon-button"
5386
5346
  },
5387
5347
  {
5388
5348
  "description": "The text part of the card",
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"
5349
+ "name": "text"
5406
5350
  }
5407
5351
  ],
5408
5352
  "slots": [
5409
5353
  {
5410
5354
  "description": "This slot is for passing the content before the body",
5411
- "name": "before-body",
5412
- "inheritedFrom": {
5413
- "name": "Card",
5414
- "module": "src/components/card/card.component.ts"
5415
- }
5355
+ "name": "before-body"
5416
5356
  },
5417
5357
  {
5418
5358
  "description": "This slot is for passing the text content for the card",
5419
- "name": "body",
5420
- "inheritedFrom": {
5421
- "name": "Card",
5422
- "module": "src/components/card/card.component.ts"
5423
- }
5359
+ "name": "body"
5424
5360
  },
5425
5361
  {
5426
5362
  "description": "This slot is for passing the content after the body",
5427
- "name": "after-body",
5428
- "inheritedFrom": {
5429
- "name": "Card",
5430
- "module": "src/components/card/card.component.ts"
5431
- }
5363
+ "name": "after-body"
5432
5364
  },
5433
5365
  {
5434
5366
  "description": "This slot is for passing `mdc-link` component within the footer section.",
5435
- "name": "footer-link",
5436
- "inheritedFrom": {
5437
- "name": "Card",
5438
- "module": "src/components/card/card.component.ts"
5439
- }
5367
+ "name": "footer-link"
5440
5368
  },
5441
5369
  {
5442
5370
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5443
- "name": "footer-button-primary",
5444
- "inheritedFrom": {
5445
- "name": "Card",
5446
- "module": "src/components/card/card.component.ts"
5447
- }
5371
+ "name": "footer-button-primary"
5448
5372
  },
5449
5373
  {
5450
5374
  "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5451
- "name": "footer-button-secondary",
5452
- "inheritedFrom": {
5453
- "name": "Card",
5454
- "module": "src/components/card/card.component.ts"
5455
- }
5375
+ "name": "footer-button-secondary"
5456
5376
  },
5457
5377
  {
5458
5378
  "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.",
5459
- "name": "footer",
5460
- "inheritedFrom": {
5461
- "name": "Card",
5462
- "module": "src/components/card/card.component.ts"
5463
- }
5379
+ "name": "footer"
5464
5380
  }
5465
5381
  ],
5466
5382
  "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
- },
5536
5383
  {
5537
5384
  "kind": "method",
5538
5385
  "name": "renderHeader",
5539
5386
  "privacy": "protected",
5540
- "description": "Renders the header of the card",
5387
+ "description": "Renders the header of the card if title is provided",
5541
5388
  "return": {
5542
5389
  "type": {
5543
5390
  "text": ""
5544
5391
  }
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"
5579
5392
  }
5580
5393
  },
5581
5394
  {
@@ -5773,81 +5586,24 @@
5773
5586
  }
5774
5587
  }
5775
5588
  ],
5776
- "events": [
5777
- {
5778
- "name": "change",
5779
- "type": {
5780
- "text": "Event"
5781
- },
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
- },
5589
+ "mixins": [
5795
5590
  {
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"
5591
+ "name": "CardComponentMixin",
5592
+ "module": "/src/utils/mixins/CardComponentMixin"
5799
5593
  },
5800
5594
  {
5801
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5802
- "name": "focus",
5803
- "reactName": "onFocus"
5595
+ "name": "FooterMixin",
5596
+ "module": "/src/utils/mixins/FooterMixin"
5804
5597
  }
5805
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,
5806
5606
  "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
5607
  {
5852
5608
  "name": "card-title",
5853
5609
  "type": {
@@ -5964,24 +5720,7 @@
5964
5720
  "module": "src/utils/mixins/CardComponentMixin.ts"
5965
5721
  }
5966
5722
  }
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
5723
+ ]
5985
5724
  }
5986
5725
  ],
5987
5726
  "exports": [
@@ -5989,20 +5728,20 @@
5989
5728
  "kind": "js",
5990
5729
  "name": "default",
5991
5730
  "declaration": {
5992
- "name": "CardCheckbox",
5993
- "module": "components/cardcheckbox/cardcheckbox.component.js"
5731
+ "name": "Card",
5732
+ "module": "components/card/card.component.js"
5994
5733
  }
5995
5734
  }
5996
5735
  ]
5997
5736
  },
5998
5737
  {
5999
5738
  "kind": "javascript-module",
6000
- "path": "components/card/card.component.js",
5739
+ "path": "components/cardbutton/cardbutton.component.js",
6001
5740
  "declarations": [
6002
5741
  {
6003
5742
  "kind": "class",
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",
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",
6006
5745
  "cssProperties": [
6007
5746
  {
6008
5747
  "description": "The width of the card",
@@ -6071,14 +5810,6 @@
6071
5810
  {
6072
5811
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6073
5812
  "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"
6082
5813
  }
6083
5814
  ],
6084
5815
  "members": [
@@ -6273,712 +6004,840 @@
6273
6004
  }
6274
6005
  },
6275
6006
  {
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
- }
6007
+ "kind": "field",
6008
+ "name": "autoFocusOnMount",
6009
+ "type": {
6010
+ "text": "boolean"
6284
6011
  },
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,
6285
6016
  "inheritedFrom": {
6286
- "name": "FooterMixin",
6287
- "module": "utils/mixins/FooterMixin.js"
6017
+ "name": "Buttonsimple",
6018
+ "module": "components/buttonsimple/buttonsimple.component.js"
6288
6019
  }
6289
- }
6290
- ],
6291
- "mixins": [
6292
- {
6293
- "name": "CardComponentMixin",
6294
- "module": "/src/utils/mixins/CardComponentMixin"
6295
6020
  },
6296
6021
  {
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",
6022
+ "kind": "field",
6023
+ "name": "tabIndex",
6311
6024
  "type": {
6312
- "text": "string"
6025
+ "text": "number"
6313
6026
  },
6314
- "default": "''",
6315
- "description": "The title of the card - part of header section",
6316
- "fieldName": "cardTitle",
6027
+ "default": "0",
6028
+ "description": "This property specifies the tab order of the element.",
6029
+ "attribute": "tabIndex",
6030
+ "reflects": true,
6317
6031
  "inheritedFrom": {
6318
- "name": "CardComponentMixin",
6319
- "module": "src/utils/mixins/CardComponentMixin.ts"
6032
+ "name": "Buttonsimple",
6033
+ "module": "components/buttonsimple/buttonsimple.component.js"
6320
6034
  }
6321
6035
  },
6322
6036
  {
6323
- "name": "subtitle",
6037
+ "kind": "field",
6038
+ "name": "disabled",
6324
6039
  "type": {
6325
- "text": "string"
6040
+ "text": "boolean | undefined"
6326
6041
  },
6327
- "default": "''",
6328
- "description": "The subtitle of the card - part of header section",
6329
- "fieldName": "subtitle",
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,
6330
6046
  "inheritedFrom": {
6331
- "name": "CardComponentMixin",
6332
- "module": "src/utils/mixins/CardComponentMixin.ts"
6047
+ "name": "Buttonsimple",
6048
+ "module": "components/buttonsimple/buttonsimple.component.js"
6333
6049
  }
6334
6050
  },
6335
6051
  {
6336
- "name": "image-src",
6052
+ "kind": "field",
6053
+ "name": "active",
6337
6054
  "type": {
6338
- "text": "string"
6055
+ "text": "boolean | undefined"
6339
6056
  },
6340
- "default": "''",
6341
- "description": "The image source URL to render on the card",
6342
- "fieldName": "imageSrc",
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,
6343
6061
  "inheritedFrom": {
6344
- "name": "CardComponentMixin",
6345
- "module": "src/utils/mixins/CardComponentMixin.ts"
6062
+ "name": "Buttonsimple",
6063
+ "module": "components/buttonsimple/buttonsimple.component.js"
6346
6064
  }
6347
6065
  },
6348
6066
  {
6349
- "name": "image-alt",
6067
+ "kind": "field",
6068
+ "name": "softDisabled",
6350
6069
  "type": {
6351
- "text": "string"
6070
+ "text": "boolean | undefined"
6352
6071
  },
6353
- "default": "''",
6354
- "description": "The image alt for accessibility support",
6355
- "fieldName": "imageAlt",
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,
6356
6076
  "inheritedFrom": {
6357
- "name": "CardComponentMixin",
6358
- "module": "src/utils/mixins/CardComponentMixin.ts"
6077
+ "name": "Buttonsimple",
6078
+ "module": "components/buttonsimple/buttonsimple.component.js"
6359
6079
  }
6360
6080
  },
6361
6081
  {
6362
- "name": "variant",
6082
+ "kind": "field",
6083
+ "name": "size",
6363
6084
  "type": {
6364
- "text": "CardVariant"
6085
+ "text": "ButtonSize"
6365
6086
  },
6366
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6367
- "default": "'border'",
6368
- "fieldName": "variant",
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,
6369
6091
  "inheritedFrom": {
6370
- "name": "CardComponentMixin",
6371
- "module": "src/utils/mixins/CardComponentMixin.ts"
6092
+ "name": "Buttonsimple",
6093
+ "module": "components/buttonsimple/buttonsimple.component.js"
6372
6094
  }
6373
6095
  },
6374
6096
  {
6375
- "name": "orientation",
6097
+ "kind": "field",
6098
+ "name": "role",
6376
6099
  "type": {
6377
- "text": "CardOrientation"
6100
+ "text": "RoleType"
6378
6101
  },
6379
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6380
- "default": "'vertical'",
6381
- "fieldName": "orientation",
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,
6382
6106
  "inheritedFrom": {
6383
- "name": "CardComponentMixin",
6384
- "module": "src/utils/mixins/CardComponentMixin.ts"
6107
+ "name": "Buttonsimple",
6108
+ "module": "components/buttonsimple/buttonsimple.component.js"
6385
6109
  }
6386
6110
  },
6387
6111
  {
6388
- "name": "title-tag-name",
6112
+ "kind": "field",
6113
+ "name": "ariaStateKey",
6389
6114
  "type": {
6390
- "text": "TagNameType"
6115
+ "text": "string | undefined"
6391
6116
  },
6392
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6393
- "default": "'span'",
6394
- "fieldName": "titleTagName",
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,
6395
6121
  "inheritedFrom": {
6396
- "name": "CardComponentMixin",
6397
- "module": "src/utils/mixins/CardComponentMixin.ts"
6122
+ "name": "Buttonsimple",
6123
+ "module": "components/buttonsimple/buttonsimple.component.js"
6398
6124
  }
6399
6125
  },
6400
6126
  {
6401
- "name": "subtitle-tag-name",
6127
+ "kind": "field",
6128
+ "name": "type",
6402
6129
  "type": {
6403
- "text": "TagNameType"
6130
+ "text": "ButtonType"
6404
6131
  },
6405
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6406
- "default": "'span'",
6407
- "fieldName": "subtitleTagName",
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,
6408
6136
  "inheritedFrom": {
6409
- "name": "CardComponentMixin",
6410
- "module": "src/utils/mixins/CardComponentMixin.ts"
6137
+ "name": "Buttonsimple",
6138
+ "module": "components/buttonsimple/buttonsimple.component.js"
6411
6139
  }
6412
6140
  },
6413
6141
  {
6414
- "name": "icon-name",
6142
+ "kind": "field",
6143
+ "name": "name",
6415
6144
  "type": {
6416
- "text": "IconNames | undefined"
6145
+ "text": "string | undefined"
6417
6146
  },
6418
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6419
- "fieldName": "iconName",
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,
6420
6150
  "inheritedFrom": {
6421
- "name": "CardComponentMixin",
6422
- "module": "src/utils/mixins/CardComponentMixin.ts"
6151
+ "name": "Buttonsimple",
6152
+ "module": "components/buttonsimple/buttonsimple.component.js"
6423
6153
  }
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"
6457
6154
  },
6458
6155
  {
6459
- "description": "The icon part of the card header",
6460
- "name": "icon"
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
+ }
6461
6168
  },
6462
6169
  {
6463
- "description": "The body part of the card",
6464
- "name": "body"
6170
+ "kind": "method",
6171
+ "name": "executeAction",
6172
+ "privacy": "protected",
6173
+ "inheritedFrom": {
6174
+ "name": "Buttonsimple",
6175
+ "module": "components/buttonsimple/buttonsimple.component.js"
6176
+ }
6465
6177
  },
6466
6178
  {
6467
- "description": "The image part of the card",
6468
- "name": "image"
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
+ }
6469
6204
  },
6470
6205
  {
6471
- "description": "The footer part of the card",
6472
- "name": "footer"
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
+ }
6473
6231
  },
6474
6232
  {
6475
- "description": "The link part of the card footer",
6476
- "name": "footer-link"
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
+ }
6477
6257
  },
6478
6258
  {
6479
- "description": "The primary button part of the card footer",
6480
- "name": "footer-button-primary"
6259
+ "kind": "method",
6260
+ "name": "triggerClickEvent",
6261
+ "privacy": "private",
6262
+ "inheritedFrom": {
6263
+ "name": "Buttonsimple",
6264
+ "module": "components/buttonsimple/buttonsimple.component.js"
6265
+ }
6481
6266
  },
6482
6267
  {
6483
- "description": "The secondary button part of the card footer",
6484
- "name": "footer-button-secondary"
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
+ }
6485
6276
  },
6486
6277
  {
6487
- "description": "The icon button part of the card header",
6488
- "name": "icon-button"
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
+ }
6489
6295
  },
6490
6296
  {
6491
- "description": "The text part of the card",
6492
- "name": "text"
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
+ }
6493
6314
  }
6494
6315
  ],
6495
- "slots": [
6496
- {
6497
- "description": "This slot is for passing the content before the body",
6498
- "name": "before-body"
6499
- },
6316
+ "events": [
6500
6317
  {
6501
- "description": "This slot is for passing the text content for the card",
6502
- "name": "body"
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
+ }
6503
6325
  },
6504
6326
  {
6505
- "description": "This slot is for passing the content after the body",
6506
- "name": "after-body"
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
+ }
6507
6334
  },
6508
6335
  {
6509
- "description": "This slot is for passing `mdc-link` component within the footer section.",
6510
- "name": "footer-link"
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
+ }
6511
6343
  },
6512
6344
  {
6513
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6514
- "name": "footer-button-primary"
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
+ }
6515
6352
  }
6516
6353
  ],
6517
- "members": [
6354
+ "mixins": [
6518
6355
  {
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
- },
6356
+ "name": "CardComponentMixin",
6357
+ "module": "/src/utils/mixins/CardComponentMixin"
6358
+ }
6359
+ ],
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": [
6529
6368
  {
6530
- "kind": "field",
6531
- "name": "cardTitle",
6369
+ "name": "card-title",
6532
6370
  "type": {
6533
6371
  "text": "string"
6534
6372
  },
6535
6373
  "default": "''",
6536
6374
  "description": "The title of the card - part of header section",
6537
- "attribute": "card-title",
6538
- "reflects": true,
6375
+ "fieldName": "cardTitle",
6539
6376
  "inheritedFrom": {
6540
6377
  "name": "CardComponentMixin",
6541
- "module": "utils/mixins/CardComponentMixin.js"
6378
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6542
6379
  }
6543
6380
  },
6544
6381
  {
6545
- "kind": "field",
6546
6382
  "name": "subtitle",
6547
6383
  "type": {
6548
6384
  "text": "string"
6549
6385
  },
6550
6386
  "default": "''",
6551
6387
  "description": "The subtitle of the card - part of header section",
6552
- "attribute": "subtitle",
6553
- "reflects": true,
6388
+ "fieldName": "subtitle",
6554
6389
  "inheritedFrom": {
6555
6390
  "name": "CardComponentMixin",
6556
- "module": "utils/mixins/CardComponentMixin.js"
6391
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6557
6392
  }
6558
6393
  },
6559
6394
  {
6560
- "kind": "field",
6561
- "name": "imageSrc",
6395
+ "name": "image-src",
6562
6396
  "type": {
6563
6397
  "text": "string"
6564
6398
  },
6565
6399
  "default": "''",
6566
6400
  "description": "The image source URL to render on the card",
6567
- "attribute": "image-src",
6568
- "reflects": true,
6401
+ "fieldName": "imageSrc",
6569
6402
  "inheritedFrom": {
6570
6403
  "name": "CardComponentMixin",
6571
- "module": "utils/mixins/CardComponentMixin.js"
6404
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6572
6405
  }
6573
6406
  },
6574
6407
  {
6575
- "kind": "field",
6576
- "name": "imageAlt",
6408
+ "name": "image-alt",
6577
6409
  "type": {
6578
6410
  "text": "string"
6579
6411
  },
6580
6412
  "default": "''",
6581
6413
  "description": "The image alt for accessibility support",
6582
- "attribute": "image-alt",
6583
- "reflects": true,
6414
+ "fieldName": "imageAlt",
6584
6415
  "inheritedFrom": {
6585
6416
  "name": "CardComponentMixin",
6586
- "module": "utils/mixins/CardComponentMixin.js"
6417
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6587
6418
  }
6588
6419
  },
6589
6420
  {
6590
- "kind": "field",
6591
6421
  "name": "variant",
6592
6422
  "type": {
6593
6423
  "text": "CardVariant"
6594
6424
  },
6595
6425
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6596
6426
  "default": "'border'",
6597
- "attribute": "variant",
6598
- "reflects": true,
6427
+ "fieldName": "variant",
6599
6428
  "inheritedFrom": {
6600
6429
  "name": "CardComponentMixin",
6601
- "module": "utils/mixins/CardComponentMixin.js"
6430
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6602
6431
  }
6603
6432
  },
6604
6433
  {
6605
- "kind": "field",
6606
6434
  "name": "orientation",
6607
6435
  "type": {
6608
- "text": "CardOrientation"
6609
- },
6610
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6611
- "default": "'vertical'",
6612
- "attribute": "orientation",
6613
- "reflects": true,
6614
- "inheritedFrom": {
6615
- "name": "CardComponentMixin",
6616
- "module": "utils/mixins/CardComponentMixin.js"
6617
- }
6618
- },
6619
- {
6620
- "kind": "field",
6621
- "name": "titleTagName",
6622
- "type": {
6623
- "text": "TagNameType"
6624
- },
6625
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6626
- "default": "'span'",
6627
- "attribute": "title-tag-name",
6628
- "reflects": true,
6629
- "inheritedFrom": {
6630
- "name": "CardComponentMixin",
6631
- "module": "utils/mixins/CardComponentMixin.js"
6632
- }
6633
- },
6634
- {
6635
- "kind": "field",
6636
- "name": "subtitleTagName",
6637
- "type": {
6638
- "text": "TagNameType"
6639
- },
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,
6436
+ "text": "CardOrientation"
6437
+ },
6438
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6439
+ "default": "'vertical'",
6440
+ "fieldName": "orientation",
6658
6441
  "inheritedFrom": {
6659
6442
  "name": "CardComponentMixin",
6660
- "module": "utils/mixins/CardComponentMixin.js"
6443
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6661
6444
  }
6662
6445
  },
6663
6446
  {
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
- }
6447
+ "name": "title-tag-name",
6448
+ "type": {
6449
+ "text": "TagNameType"
6672
6450
  },
6451
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6452
+ "default": "'span'",
6453
+ "fieldName": "titleTagName",
6673
6454
  "inheritedFrom": {
6674
6455
  "name": "CardComponentMixin",
6675
- "module": "utils/mixins/CardComponentMixin.js"
6456
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6676
6457
  }
6677
6458
  },
6678
6459
  {
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
- }
6460
+ "name": "subtitle-tag-name",
6461
+ "type": {
6462
+ "text": "TagNameType"
6687
6463
  },
6464
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6465
+ "default": "'span'",
6466
+ "fieldName": "subtitleTagName",
6688
6467
  "inheritedFrom": {
6689
6468
  "name": "CardComponentMixin",
6690
- "module": "utils/mixins/CardComponentMixin.js"
6469
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6691
6470
  }
6692
6471
  },
6693
6472
  {
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
- }
6473
+ "name": "icon-name",
6474
+ "type": {
6475
+ "text": "IconNames | undefined"
6702
6476
  },
6477
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6478
+ "fieldName": "iconName",
6703
6479
  "inheritedFrom": {
6704
6480
  "name": "CardComponentMixin",
6705
- "module": "utils/mixins/CardComponentMixin.js"
6481
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6706
6482
  }
6707
6483
  },
6708
6484
  {
6709
- "kind": "field",
6710
- "name": "autoFocusOnMount",
6485
+ "name": "auto-focus-on-mount",
6711
6486
  "type": {
6712
6487
  "text": "boolean"
6713
6488
  },
6714
6489
  "default": "false",
6715
6490
  "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.",
6716
- "attribute": "auto-focus-on-mount",
6717
- "reflects": true,
6491
+ "fieldName": "autoFocusOnMount",
6718
6492
  "inheritedFrom": {
6719
6493
  "name": "Buttonsimple",
6720
- "module": "components/buttonsimple/buttonsimple.component.js"
6494
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6721
6495
  }
6722
6496
  },
6723
6497
  {
6724
- "kind": "field",
6725
6498
  "name": "tabIndex",
6726
6499
  "type": {
6727
6500
  "text": "number"
6728
6501
  },
6729
6502
  "default": "0",
6730
6503
  "description": "This property specifies the tab order of the element.",
6731
- "attribute": "tabIndex",
6732
- "reflects": true,
6504
+ "fieldName": "tabIndex",
6733
6505
  "inheritedFrom": {
6734
6506
  "name": "Buttonsimple",
6735
- "module": "components/buttonsimple/buttonsimple.component.js"
6507
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6736
6508
  }
6737
6509
  },
6738
6510
  {
6739
- "kind": "field",
6740
6511
  "name": "disabled",
6741
6512
  "type": {
6742
6513
  "text": "boolean | undefined"
6743
6514
  },
6744
6515
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6745
6516
  "default": "undefined",
6746
- "attribute": "disabled",
6747
- "reflects": true,
6517
+ "fieldName": "disabled",
6748
6518
  "inheritedFrom": {
6749
6519
  "name": "Buttonsimple",
6750
- "module": "components/buttonsimple/buttonsimple.component.js"
6520
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6751
6521
  }
6752
6522
  },
6753
6523
  {
6754
- "kind": "field",
6755
6524
  "name": "active",
6756
6525
  "type": {
6757
6526
  "text": "boolean | undefined"
6758
6527
  },
6759
6528
  "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.",
6760
6529
  "default": "undefined",
6761
- "attribute": "active",
6762
- "reflects": true,
6530
+ "fieldName": "active",
6763
6531
  "inheritedFrom": {
6764
6532
  "name": "Buttonsimple",
6765
- "module": "components/buttonsimple/buttonsimple.component.js"
6533
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6766
6534
  }
6767
6535
  },
6768
6536
  {
6769
- "kind": "field",
6770
- "name": "softDisabled",
6537
+ "name": "soft-disabled",
6771
6538
  "type": {
6772
6539
  "text": "boolean | undefined"
6773
6540
  },
6774
6541
  "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.",
6775
6542
  "default": "undefined",
6776
- "attribute": "soft-disabled",
6777
- "reflects": true,
6543
+ "fieldName": "softDisabled",
6778
6544
  "inheritedFrom": {
6779
6545
  "name": "Buttonsimple",
6780
- "module": "components/buttonsimple/buttonsimple.component.js"
6546
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6781
6547
  }
6782
6548
  },
6783
6549
  {
6784
- "kind": "field",
6785
6550
  "name": "size",
6786
6551
  "type": {
6787
6552
  "text": "ButtonSize"
6788
6553
  },
6789
6554
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6790
6555
  "default": "32",
6791
- "attribute": "size",
6792
- "reflects": true,
6556
+ "fieldName": "size",
6793
6557
  "inheritedFrom": {
6794
6558
  "name": "Buttonsimple",
6795
- "module": "components/buttonsimple/buttonsimple.component.js"
6559
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6796
6560
  }
6797
6561
  },
6798
6562
  {
6799
- "kind": "field",
6800
6563
  "name": "role",
6801
6564
  "type": {
6802
6565
  "text": "RoleType"
6803
6566
  },
6804
6567
  "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.",
6805
6568
  "default": "button",
6806
- "attribute": "role",
6807
- "reflects": true,
6569
+ "fieldName": "role",
6808
6570
  "inheritedFrom": {
6809
6571
  "name": "Buttonsimple",
6810
- "module": "components/buttonsimple/buttonsimple.component.js"
6572
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6811
6573
  }
6812
6574
  },
6813
6575
  {
6814
- "kind": "field",
6815
6576
  "name": "ariaStateKey",
6816
6577
  "type": {
6817
6578
  "text": "string | undefined"
6818
6579
  },
6819
6580
  "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`",
6820
6581
  "default": "'aria-pressed' (when)",
6821
- "attribute": "ariaStateKey",
6822
- "reflects": true,
6582
+ "fieldName": "ariaStateKey",
6823
6583
  "inheritedFrom": {
6824
6584
  "name": "Buttonsimple",
6825
- "module": "components/buttonsimple/buttonsimple.component.js"
6585
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6586
+ }
6587
+ },
6588
+ {
6589
+ "name": "type",
6590
+ "type": {
6591
+ "text": "ButtonType"
6592
+ },
6593
+ "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
+ "default": "button",
6595
+ "fieldName": "type",
6596
+ "inheritedFrom": {
6597
+ "name": "Buttonsimple",
6598
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6599
+ }
6600
+ },
6601
+ {
6602
+ "name": "name",
6603
+ "type": {
6604
+ "text": "string | undefined"
6605
+ },
6606
+ "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",
6608
+ "inheritedFrom": {
6609
+ "name": "Buttonsimple",
6610
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6611
+ }
6612
+ },
6613
+ {
6614
+ "name": "value",
6615
+ "type": {
6616
+ "text": "string | undefined"
6617
+ },
6618
+ "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",
6620
+ "inheritedFrom": {
6621
+ "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"
6826
6736
  }
6827
6737
  },
6828
6738
  {
6829
- "kind": "field",
6830
- "name": "type",
6831
- "type": {
6832
- "text": "ButtonType"
6833
- },
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.",
6835
- "default": "button",
6836
- "attribute": "type",
6837
- "reflects": true,
6838
- "inheritedFrom": {
6839
- "name": "Buttonsimple",
6840
- "module": "components/buttonsimple/buttonsimple.component.js"
6841
- }
6739
+ "description": "The check part of the card",
6740
+ "name": "check"
6842
6741
  },
6843
6742
  {
6844
- "kind": "field",
6845
- "name": "name",
6846
- "type": {
6847
- "text": "string | undefined"
6848
- },
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.",
6850
- "attribute": "name",
6851
- "reflects": true,
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",
6852
6755
  "inheritedFrom": {
6853
- "name": "Buttonsimple",
6854
- "module": "components/buttonsimple/buttonsimple.component.js"
6756
+ "name": "Card",
6757
+ "module": "src/components/card/card.component.ts"
6855
6758
  }
6856
6759
  },
6857
6760
  {
6858
- "kind": "field",
6859
- "name": "value",
6860
- "type": {
6861
- "text": "string | undefined"
6862
- },
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.",
6864
- "attribute": "value",
6865
- "reflects": true,
6761
+ "description": "This slot is for passing the text content for the card",
6762
+ "name": "body",
6866
6763
  "inheritedFrom": {
6867
- "name": "Buttonsimple",
6868
- "module": "components/buttonsimple/buttonsimple.component.js"
6764
+ "name": "Card",
6765
+ "module": "src/components/card/card.component.ts"
6869
6766
  }
6870
6767
  },
6871
6768
  {
6872
- "kind": "method",
6873
- "name": "executeAction",
6874
- "privacy": "protected",
6769
+ "description": "This slot is for passing the content after the body",
6770
+ "name": "after-body",
6875
6771
  "inheritedFrom": {
6876
- "name": "Buttonsimple",
6877
- "module": "components/buttonsimple/buttonsimple.component.js"
6772
+ "name": "Card",
6773
+ "module": "src/components/card/card.component.ts"
6878
6774
  }
6879
6775
  },
6880
6776
  {
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.",
6777
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
6778
+ "name": "footer-link",
6902
6779
  "inheritedFrom": {
6903
- "name": "Buttonsimple",
6904
- "module": "components/buttonsimple/buttonsimple.component.js"
6780
+ "name": "Card",
6781
+ "module": "src/components/card/card.component.ts"
6905
6782
  }
6906
6783
  },
6907
6784
  {
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.",
6785
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6786
+ "name": "footer-button-primary",
6929
6787
  "inheritedFrom": {
6930
- "name": "Buttonsimple",
6931
- "module": "components/buttonsimple/buttonsimple.component.js"
6788
+ "name": "Card",
6789
+ "module": "src/components/card/card.component.ts"
6932
6790
  }
6933
6791
  },
6934
6792
  {
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.",
6793
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6794
+ "name": "footer-button-secondary",
6955
6795
  "inheritedFrom": {
6956
- "name": "Buttonsimple",
6957
- "module": "components/buttonsimple/buttonsimple.component.js"
6796
+ "name": "Card",
6797
+ "module": "src/components/card/card.component.ts"
6958
6798
  }
6959
6799
  },
6960
6800
  {
6961
- "kind": "method",
6962
- "name": "triggerClickEvent",
6963
- "privacy": "private",
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",
6964
6803
  "inheritedFrom": {
6965
- "name": "Buttonsimple",
6966
- "module": "components/buttonsimple/buttonsimple.component.js"
6804
+ "name": "Card",
6805
+ "module": "src/components/card/card.component.ts"
6967
6806
  }
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
6968
6831
  },
6969
6832
  {
6970
6833
  "kind": "method",
6971
- "name": "handleBlur",
6834
+ "name": "toggleChecked",
6972
6835
  "privacy": "private",
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
- }
6836
+ "description": "Toggles the checked state"
6978
6837
  },
6979
6838
  {
6980
6839
  "kind": "method",
6981
- "name": "handleKeyDown",
6840
+ "name": "toggleOnEnter",
6982
6841
  "privacy": "private",
6983
6842
  "parameters": [
6984
6843
  {
@@ -6986,18 +6845,14 @@
6986
6845
  "type": {
6987
6846
  "text": "KeyboardEvent"
6988
6847
  },
6989
- "description": "The keyboard event."
6848
+ "description": "The keyboard event"
6990
6849
  }
6991
6850
  ],
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
- }
6851
+ "description": "Toggles the checked state when enter key is used"
6997
6852
  },
6998
6853
  {
6999
6854
  "kind": "method",
7000
- "name": "handleKeyUp",
6855
+ "name": "toggleOnSpace",
7001
6856
  "privacy": "private",
7002
6857
  "parameters": [
7003
6858
  {
@@ -7005,195 +6860,322 @@
7005
6860
  "type": {
7006
6861
  "text": "KeyboardEvent"
7007
6862
  },
7008
- "description": "The keyboard event."
6863
+ "description": "The keyboard event"
7009
6864
  }
7010
6865
  ],
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"
6866
+ "description": "Toggles the checked state when space key is used"
6867
+ },
6868
+ {
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
+ }
7015
6877
  }
7016
- }
7017
- ],
7018
- "events": [
6878
+ },
7019
6879
  {
7020
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
7021
- "name": "click",
7022
- "reactName": "onClick",
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
+ },
7023
6889
  "inheritedFrom": {
7024
- "name": "Buttonsimple",
7025
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6890
+ "name": "Card",
6891
+ "module": "components/card/card.component.js"
7026
6892
  }
7027
6893
  },
7028
6894
  {
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",
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,
7032
6904
  "inheritedFrom": {
7033
- "name": "Buttonsimple",
7034
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6905
+ "name": "DisabledMixin",
6906
+ "module": "utils/mixins/DisabledMixin.js"
7035
6907
  }
7036
6908
  },
7037
6909
  {
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",
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,
7041
6919
  "inheritedFrom": {
7042
- "name": "Buttonsimple",
7043
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6920
+ "name": "TabIndexMixin",
6921
+ "module": "utils/mixins/TabIndexMixin.js"
7044
6922
  }
7045
6923
  },
7046
6924
  {
7047
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7048
- "name": "focus",
7049
- "reactName": "onFocus",
7050
- "inheritedFrom": {
7051
- "name": "Buttonsimple",
7052
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7053
- }
7054
- }
7055
- ],
7056
- "mixins": [
7057
- {
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",
6925
+ "kind": "field",
6926
+ "name": "cardTitle",
7072
6927
  "type": {
7073
6928
  "text": "string"
7074
6929
  },
7075
6930
  "default": "''",
7076
6931
  "description": "The title of the card - part of header section",
7077
- "fieldName": "cardTitle",
6932
+ "attribute": "card-title",
6933
+ "reflects": true,
7078
6934
  "inheritedFrom": {
7079
- "name": "CardComponentMixin",
7080
- "module": "src/utils/mixins/CardComponentMixin.ts"
6935
+ "name": "Card",
6936
+ "module": "components/card/card.component.js"
7081
6937
  }
7082
6938
  },
7083
6939
  {
6940
+ "kind": "field",
7084
6941
  "name": "subtitle",
7085
6942
  "type": {
7086
6943
  "text": "string"
7087
6944
  },
7088
6945
  "default": "''",
7089
6946
  "description": "The subtitle of the card - part of header section",
7090
- "fieldName": "subtitle",
6947
+ "attribute": "subtitle",
6948
+ "reflects": true,
7091
6949
  "inheritedFrom": {
7092
- "name": "CardComponentMixin",
7093
- "module": "src/utils/mixins/CardComponentMixin.ts"
6950
+ "name": "Card",
6951
+ "module": "components/card/card.component.js"
7094
6952
  }
7095
6953
  },
7096
6954
  {
7097
- "name": "image-src",
6955
+ "kind": "field",
6956
+ "name": "imageSrc",
7098
6957
  "type": {
7099
6958
  "text": "string"
7100
6959
  },
7101
6960
  "default": "''",
7102
6961
  "description": "The image source URL to render on the card",
7103
- "fieldName": "imageSrc",
6962
+ "attribute": "image-src",
6963
+ "reflects": true,
7104
6964
  "inheritedFrom": {
7105
- "name": "CardComponentMixin",
7106
- "module": "src/utils/mixins/CardComponentMixin.ts"
6965
+ "name": "Card",
6966
+ "module": "components/card/card.component.js"
7107
6967
  }
7108
6968
  },
7109
6969
  {
7110
- "name": "image-alt",
6970
+ "kind": "field",
6971
+ "name": "imageAlt",
7111
6972
  "type": {
7112
6973
  "text": "string"
7113
6974
  },
7114
6975
  "default": "''",
7115
6976
  "description": "The image alt for accessibility support",
7116
- "fieldName": "imageAlt",
6977
+ "attribute": "image-alt",
6978
+ "reflects": true,
7117
6979
  "inheritedFrom": {
7118
- "name": "CardComponentMixin",
7119
- "module": "src/utils/mixins/CardComponentMixin.ts"
6980
+ "name": "Card",
6981
+ "module": "components/card/card.component.js"
7120
6982
  }
7121
6983
  },
7122
6984
  {
6985
+ "kind": "field",
7123
6986
  "name": "variant",
7124
6987
  "type": {
7125
6988
  "text": "CardVariant"
7126
6989
  },
7127
6990
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7128
6991
  "default": "'border'",
7129
- "fieldName": "variant",
6992
+ "attribute": "variant",
6993
+ "reflects": true,
7130
6994
  "inheritedFrom": {
7131
- "name": "CardComponentMixin",
7132
- "module": "src/utils/mixins/CardComponentMixin.ts"
6995
+ "name": "Card",
6996
+ "module": "components/card/card.component.js"
7133
6997
  }
7134
6998
  },
7135
6999
  {
7000
+ "kind": "field",
7136
7001
  "name": "orientation",
7137
7002
  "type": {
7138
7003
  "text": "CardOrientation"
7139
7004
  },
7140
7005
  "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7141
7006
  "default": "'vertical'",
7142
- "fieldName": "orientation",
7007
+ "attribute": "orientation",
7008
+ "reflects": true,
7143
7009
  "inheritedFrom": {
7144
- "name": "CardComponentMixin",
7145
- "module": "src/utils/mixins/CardComponentMixin.ts"
7010
+ "name": "Card",
7011
+ "module": "components/card/card.component.js"
7146
7012
  }
7147
7013
  },
7148
7014
  {
7149
- "name": "title-tag-name",
7015
+ "kind": "field",
7016
+ "name": "titleTagName",
7150
7017
  "type": {
7151
7018
  "text": "TagNameType"
7152
7019
  },
7153
7020
  "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7154
7021
  "default": "'span'",
7155
- "fieldName": "titleTagName",
7022
+ "attribute": "title-tag-name",
7023
+ "reflects": true,
7156
7024
  "inheritedFrom": {
7157
- "name": "CardComponentMixin",
7158
- "module": "src/utils/mixins/CardComponentMixin.ts"
7025
+ "name": "Card",
7026
+ "module": "components/card/card.component.js"
7159
7027
  }
7160
7028
  },
7161
7029
  {
7162
- "name": "subtitle-tag-name",
7030
+ "kind": "field",
7031
+ "name": "subtitleTagName",
7163
7032
  "type": {
7164
7033
  "text": "TagNameType"
7165
7034
  },
7166
7035
  "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7167
7036
  "default": "'span'",
7168
- "fieldName": "subtitleTagName",
7037
+ "attribute": "subtitle-tag-name",
7038
+ "reflects": true,
7169
7039
  "inheritedFrom": {
7170
- "name": "CardComponentMixin",
7171
- "module": "src/utils/mixins/CardComponentMixin.ts"
7040
+ "name": "Card",
7041
+ "module": "components/card/card.component.js"
7172
7042
  }
7173
7043
  },
7174
7044
  {
7175
- "name": "icon-name",
7045
+ "kind": "field",
7046
+ "name": "iconName",
7176
7047
  "type": {
7177
7048
  "text": "IconNames | undefined"
7178
7049
  },
7179
7050
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7180
- "fieldName": "iconName",
7051
+ "attribute": "icon-name",
7052
+ "reflects": true,
7181
7053
  "inheritedFrom": {
7182
- "name": "CardComponentMixin",
7183
- "module": "src/utils/mixins/CardComponentMixin.ts"
7054
+ "name": "Card",
7055
+ "module": "components/card/card.component.js"
7184
7056
  }
7185
7057
  },
7186
7058
  {
7187
- "name": "auto-focus-on-mount",
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
+ },
7113
+ "inheritedFrom": {
7114
+ "name": "Card",
7115
+ "module": "components/card/card.component.js"
7116
+ }
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
+ },
7143
+ {
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",
7188
7152
  "type": {
7189
7153
  "text": "boolean"
7190
7154
  },
7191
7155
  "default": "false",
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",
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",
7194
7176
  "inheritedFrom": {
7195
- "name": "Buttonsimple",
7196
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7177
+ "name": "DisabledMixin",
7178
+ "module": "src/utils/mixins/DisabledMixin.ts"
7197
7179
  }
7198
7180
  },
7199
7181
  {
@@ -7205,126 +7187,144 @@
7205
7187
  "description": "This property specifies the tab order of the element.",
7206
7188
  "fieldName": "tabIndex",
7207
7189
  "inheritedFrom": {
7208
- "name": "Buttonsimple",
7209
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7190
+ "name": "TabIndexMixin",
7191
+ "module": "src/utils/mixins/TabIndexMixin.ts"
7210
7192
  }
7211
7193
  },
7212
7194
  {
7213
- "name": "disabled",
7195
+ "name": "card-title",
7214
7196
  "type": {
7215
- "text": "boolean | undefined"
7197
+ "text": "string"
7216
7198
  },
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",
7199
+ "default": "''",
7200
+ "description": "The title of the card - part of header section",
7201
+ "fieldName": "cardTitle",
7220
7202
  "inheritedFrom": {
7221
- "name": "Buttonsimple",
7222
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7203
+ "name": "Card",
7204
+ "module": "src/components/card/card.component.ts"
7223
7205
  }
7224
7206
  },
7225
7207
  {
7226
- "name": "active",
7208
+ "name": "subtitle",
7227
7209
  "type": {
7228
- "text": "boolean | undefined"
7210
+ "text": "string"
7229
7211
  },
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",
7212
+ "default": "''",
7213
+ "description": "The subtitle of the card - part of header section",
7214
+ "fieldName": "subtitle",
7233
7215
  "inheritedFrom": {
7234
- "name": "Buttonsimple",
7235
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7216
+ "name": "Card",
7217
+ "module": "src/components/card/card.component.ts"
7236
7218
  }
7237
7219
  },
7238
7220
  {
7239
- "name": "soft-disabled",
7221
+ "name": "image-src",
7240
7222
  "type": {
7241
- "text": "boolean | undefined"
7223
+ "text": "string"
7242
7224
  },
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",
7225
+ "default": "''",
7226
+ "description": "The image source URL to render on the card",
7227
+ "fieldName": "imageSrc",
7246
7228
  "inheritedFrom": {
7247
- "name": "Buttonsimple",
7248
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7229
+ "name": "Card",
7230
+ "module": "src/components/card/card.component.ts"
7249
7231
  }
7250
7232
  },
7251
7233
  {
7252
- "name": "size",
7234
+ "name": "image-alt",
7253
7235
  "type": {
7254
- "text": "ButtonSize"
7236
+ "text": "string"
7255
7237
  },
7256
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
7257
- "default": "32",
7258
- "fieldName": "size",
7238
+ "default": "''",
7239
+ "description": "The image alt for accessibility support",
7240
+ "fieldName": "imageAlt",
7259
7241
  "inheritedFrom": {
7260
- "name": "Buttonsimple",
7261
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7242
+ "name": "Card",
7243
+ "module": "src/components/card/card.component.ts"
7262
7244
  }
7263
7245
  },
7264
7246
  {
7265
- "name": "role",
7247
+ "name": "variant",
7266
7248
  "type": {
7267
- "text": "RoleType"
7249
+ "text": "CardVariant"
7268
7250
  },
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",
7251
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7252
+ "default": "'border'",
7253
+ "fieldName": "variant",
7272
7254
  "inheritedFrom": {
7273
- "name": "Buttonsimple",
7274
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7255
+ "name": "Card",
7256
+ "module": "src/components/card/card.component.ts"
7275
7257
  }
7276
7258
  },
7277
7259
  {
7278
- "name": "ariaStateKey",
7260
+ "name": "orientation",
7279
7261
  "type": {
7280
- "text": "string | undefined"
7262
+ "text": "CardOrientation"
7281
7263
  },
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",
7264
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7265
+ "default": "'vertical'",
7266
+ "fieldName": "orientation",
7285
7267
  "inheritedFrom": {
7286
- "name": "Buttonsimple",
7287
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7268
+ "name": "Card",
7269
+ "module": "src/components/card/card.component.ts"
7288
7270
  }
7289
7271
  },
7290
7272
  {
7291
- "name": "type",
7273
+ "name": "title-tag-name",
7292
7274
  "type": {
7293
- "text": "ButtonType"
7275
+ "text": "TagNameType"
7294
7276
  },
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",
7277
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7278
+ "default": "'span'",
7279
+ "fieldName": "titleTagName",
7298
7280
  "inheritedFrom": {
7299
- "name": "Buttonsimple",
7300
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7281
+ "name": "Card",
7282
+ "module": "src/components/card/card.component.ts"
7301
7283
  }
7302
7284
  },
7303
7285
  {
7304
- "name": "name",
7286
+ "name": "subtitle-tag-name",
7305
7287
  "type": {
7306
- "text": "string | undefined"
7288
+ "text": "TagNameType"
7307
7289
  },
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",
7290
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7291
+ "default": "'span'",
7292
+ "fieldName": "subtitleTagName",
7310
7293
  "inheritedFrom": {
7311
- "name": "Buttonsimple",
7312
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7294
+ "name": "Card",
7295
+ "module": "src/components/card/card.component.ts"
7313
7296
  }
7314
7297
  },
7315
7298
  {
7316
- "name": "value",
7299
+ "name": "icon-name",
7317
7300
  "type": {
7318
- "text": "string | undefined"
7301
+ "text": "IconNames | undefined"
7319
7302
  },
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",
7303
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7304
+ "fieldName": "iconName",
7322
7305
  "inheritedFrom": {
7323
- "name": "Buttonsimple",
7324
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7306
+ "name": "Card",
7307
+ "module": "src/components/card/card.component.ts"
7325
7308
  }
7326
7309
  }
7327
- ]
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
7328
7328
  }
7329
7329
  ],
7330
7330
  "exports": [
@@ -7332,8 +7332,8 @@
7332
7332
  "kind": "js",
7333
7333
  "name": "default",
7334
7334
  "declaration": {
7335
- "name": "CardButton",
7336
- "module": "components/cardbutton/cardbutton.component.js"
7335
+ "name": "CardCheckbox",
7336
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
7337
7337
  }
7338
7338
  }
7339
7339
  ]
@@ -11374,6 +11374,47 @@
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
+ },
11377
11418
  {
11378
11419
  "kind": "javascript-module",
11379
11420
  "path": "components/dialog/dialog.component.js",
@@ -17006,31 +17047,145 @@
17006
17047
  },
17007
17048
  {
17008
17049
  "kind": "javascript-module",
17009
- "path": "components/combobox/combobox.component.js",
17050
+ "path": "components/list/list.component.js",
17010
17051
  "declarations": [
17011
17052
  {
17012
17053
  "kind": "class",
17013
- "description": "combobox component, which ...",
17014
- "name": "Combobox",
17015
- "cssProperties": [
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."
17146
+ },
17016
17147
  {
17017
- "description": "Description of the CSS custom property",
17018
- "name": "--custom-property-name"
17019
- }
17020
- ],
17021
- "slots": [
17148
+ "kind": "method",
17149
+ "name": "handleMouseClick",
17150
+ "privacy": "protected",
17151
+ "return": {
17152
+ "type": {
17153
+ "text": "void"
17154
+ }
17155
+ },
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."
17166
+ },
17022
17167
  {
17023
- "description": "This is a default/unnamed slot",
17024
- "name": "default"
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."
17025
17181
  }
17026
17182
  ],
17027
- "members": [],
17028
17183
  "superclass": {
17029
17184
  "name": "Component",
17030
17185
  "module": "/src/models"
17031
17186
  },
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 */",
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 */",
17034
17189
  "customElement": true
17035
17190
  }
17036
17191
  ],
@@ -17039,8 +17194,8 @@
17039
17194
  "kind": "js",
17040
17195
  "name": "default",
17041
17196
  "declaration": {
17042
- "name": "Combobox",
17043
- "module": "components/combobox/combobox.component.js"
17197
+ "name": "List",
17198
+ "module": "components/list/list.component.js"
17044
17199
  }
17045
17200
  }
17046
17201
  ]
@@ -17198,278 +17353,123 @@
17198
17353
  "inheritedFrom": {
17199
17354
  "name": "ListNavigationMixin",
17200
17355
  "module": "utils/mixins/ListNavigationMixin.js"
17201
- }
17202
- },
17203
- {
17204
- "kind": "method",
17205
- "name": "resetTabIndexAndSetFocus",
17206
- "privacy": "protected",
17207
- "parameters": [
17208
- {
17209
- "name": "newIndex",
17210
- "type": {
17211
- "text": "number"
17212
- },
17213
- "description": "The index of the new item to focus."
17214
- },
17215
- {
17216
- "name": "oldIndex",
17217
- "optional": true,
17218
- "type": {
17219
- "text": "number"
17220
- },
17221
- "description": "The index of the currently focused item."
17222
- },
17223
- {
17224
- "name": "focusNewItem",
17225
- "default": "true",
17226
- "description": "Call focus() on the new item or not. It should be false during firstUpdate"
17227
- }
17228
- ],
17229
- "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
17230
- "return": {
17231
- "type": {
17232
- "text": ""
17233
- }
17234
- },
17235
- "inheritedFrom": {
17236
- "name": "ListNavigationMixin",
17237
- "module": "utils/mixins/ListNavigationMixin.js"
17238
- }
17239
- },
17240
- {
17241
- "kind": "method",
17242
- "name": "resolveDirectionKey",
17243
- "privacy": "private",
17244
- "parameters": [
17245
- {
17246
- "name": "key",
17247
- "type": {
17248
- "text": "string"
17249
- },
17250
- "description": "The key pressed by the user."
17251
- },
17252
- {
17253
- "name": "isRtl",
17254
- "type": {
17255
- "text": "boolean"
17256
- },
17257
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
17258
- }
17259
- ],
17260
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
17261
- "return": {
17262
- "type": {
17263
- "text": ""
17264
- }
17265
- },
17266
- "inheritedFrom": {
17267
- "name": "ListNavigationMixin",
17268
- "module": "utils/mixins/ListNavigationMixin.js"
17269
- }
17270
- }
17271
- ],
17272
- "events": [
17273
- {
17274
- "name": "change",
17275
- "type": {
17276
- "text": "Event"
17277
- },
17278
- "description": "(React: onChange) This event is emitted when the selected item changed",
17279
- "reactName": "onChange"
17280
- }
17281
- ],
17282
- "attributes": [
17283
- {
17284
- "name": "name",
17285
- "type": {
17286
- "text": "undefined | string | undefined"
17287
- },
17288
- "default": "undefined",
17289
- "description": "The name attribute is used to identify the listbox",
17290
- "fieldName": "name"
17291
- },
17292
- {
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."
17356
+ }
17396
17357
  },
17397
17358
  {
17398
17359
  "kind": "method",
17399
- "name": "getNewIndexBasedOnKey",
17400
- "privacy": "private",
17401
- "return": {
17402
- "type": {
17403
- "text": ""
17404
- }
17405
- },
17360
+ "name": "resetTabIndexAndSetFocus",
17361
+ "privacy": "protected",
17406
17362
  "parameters": [
17407
17363
  {
17408
- "name": "key",
17364
+ "name": "newIndex",
17409
17365
  "type": {
17410
- "text": "string"
17366
+ "text": "number"
17411
17367
  },
17412
- "description": "The key that was pressed."
17368
+ "description": "The index of the new item to focus."
17413
17369
  },
17414
17370
  {
17415
- "name": "currentIndex",
17371
+ "name": "oldIndex",
17372
+ "optional": true,
17416
17373
  "type": {
17417
17374
  "text": "number"
17418
17375
  },
17419
- "description": "The current index of the focused list item."
17376
+ "description": "The index of the currently focused item."
17420
17377
  },
17421
17378
  {
17422
- "name": "wrappedDivsCount",
17423
- "type": {
17424
- "text": "number"
17425
- },
17426
- "description": "The total number of list items."
17379
+ "name": "focusNewItem",
17380
+ "default": "true",
17381
+ "description": "Call focus() on the new item or not. It should be false during firstUpdate"
17427
17382
  }
17428
17383
  ],
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",
17384
+ "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
17435
17385
  "return": {
17436
17386
  "type": {
17437
- "text": "void"
17387
+ "text": ""
17438
17388
  }
17439
17389
  },
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."
17390
+ "inheritedFrom": {
17391
+ "name": "ListNavigationMixin",
17392
+ "module": "utils/mixins/ListNavigationMixin.js"
17393
+ }
17450
17394
  },
17451
17395
  {
17452
17396
  "kind": "method",
17453
- "name": "resetTabIndexAndSetActiveTabIndex",
17397
+ "name": "resolveDirectionKey",
17454
17398
  "privacy": "private",
17455
17399
  "parameters": [
17456
17400
  {
17457
- "name": "newIndex",
17401
+ "name": "key",
17458
17402
  "type": {
17459
- "text": "number"
17403
+ "text": "string"
17460
17404
  },
17461
- "description": "The index of the new active element in the list."
17405
+ "description": "The key pressed by the user."
17406
+ },
17407
+ {
17408
+ "name": "isRtl",
17409
+ "type": {
17410
+ "text": "boolean"
17411
+ },
17412
+ "description": "A boolean indicating if the layout is right-to-left (RTL)."
17462
17413
  }
17463
17414
  ],
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."
17415
+ "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
17416
+ "return": {
17417
+ "type": {
17418
+ "text": ""
17419
+ }
17420
+ },
17421
+ "inheritedFrom": {
17422
+ "name": "ListNavigationMixin",
17423
+ "module": "utils/mixins/ListNavigationMixin.js"
17424
+ }
17425
+ }
17426
+ ],
17427
+ "events": [
17428
+ {
17429
+ "name": "change",
17430
+ "type": {
17431
+ "text": "Event"
17432
+ },
17433
+ "description": "(React: onChange) This event is emitted when the selected item changed",
17434
+ "reactName": "onChange"
17435
+ }
17436
+ ],
17437
+ "attributes": [
17438
+ {
17439
+ "name": "name",
17440
+ "type": {
17441
+ "text": "undefined | string | undefined"
17442
+ },
17443
+ "default": "undefined",
17444
+ "description": "The name attribute is used to identify the listbox",
17445
+ "fieldName": "name"
17446
+ },
17447
+ {
17448
+ "name": "value",
17449
+ "type": {
17450
+ "text": "undefined | string | undefined"
17451
+ },
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"
17461
+ },
17462
+ {
17463
+ "name": "CaptureDestroyEventForChildElement",
17464
+ "module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
17465
17465
  }
17466
17466
  ],
17467
17467
  "superclass": {
17468
17468
  "name": "Component",
17469
17469
  "module": "/src/models"
17470
17470
  },
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 */",
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 */",
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": "List",
17482
- "module": "components/list/list.component.js"
17481
+ "name": "ListBox",
17482
+ "module": "components/listbox/listbox.component.js"
17483
17483
  }
17484
17484
  }
17485
17485
  ]
@@ -18540,15 +18540,15 @@
18540
18540
  },
18541
18541
  {
18542
18542
  "kind": "javascript-module",
18543
- "path": "components/menuitem/menuitem.component.js",
18543
+ "path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
18544
18544
  "declarations": [
18545
18545
  {
18546
18546
  "kind": "class",
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.",
18548
- "name": "MenuItem",
18547
+ "description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
18548
+ "name": "MenuItemCheckbox",
18549
18549
  "slots": [
18550
18550
  {
18551
- "description": "slot for menu item controls to appear of leading end.",
18551
+ "description": "slot for menu item checkbox controls to appear of leading end.",
18552
18552
  "name": "leading-controls",
18553
18553
  "inheritedFrom": {
18554
18554
  "name": "ListItem",
@@ -18556,7 +18556,7 @@
18556
18556
  }
18557
18557
  },
18558
18558
  {
18559
- "description": "slot for menu item primary label.",
18559
+ "description": "slot for menu item checkbox primary label.",
18560
18560
  "name": "leading-text-primary-label",
18561
18561
  "inheritedFrom": {
18562
18562
  "name": "ListItem",
@@ -18564,7 +18564,7 @@
18564
18564
  }
18565
18565
  },
18566
18566
  {
18567
- "description": "slot for menu item secondary label.",
18567
+ "description": "slot for menu item checkbox secondary label.",
18568
18568
  "name": "leading-text-secondary-label",
18569
18569
  "inheritedFrom": {
18570
18570
  "name": "ListItem",
@@ -18572,7 +18572,7 @@
18572
18572
  }
18573
18573
  },
18574
18574
  {
18575
- "description": "slot for menu item tertiary label.",
18575
+ "description": "slot for menu item checkbox tertiary label.",
18576
18576
  "name": "leading-text-tertiary-label",
18577
18577
  "inheritedFrom": {
18578
18578
  "name": "ListItem",
@@ -18580,7 +18580,7 @@
18580
18580
  }
18581
18581
  },
18582
18582
  {
18583
- "description": "slot for menu item side header text.",
18583
+ "description": "slot for menu item checkbox side header text.",
18584
18584
  "name": "trailing-text-side-header",
18585
18585
  "inheritedFrom": {
18586
18586
  "name": "ListItem",
@@ -18588,7 +18588,7 @@
18588
18588
  }
18589
18589
  },
18590
18590
  {
18591
- "description": "slot for menu item subline text.",
18591
+ "description": "slot for menu item checkbox subline text.",
18592
18592
  "name": "trailing-text-subline",
18593
18593
  "inheritedFrom": {
18594
18594
  "name": "ListItem",
@@ -18596,7 +18596,7 @@
18596
18596
  }
18597
18597
  },
18598
18598
  {
18599
- "description": "slot for menu item controls to appear of trailing end.",
18599
+ "description": "slot for menu item checkbox controls to appear of trailing end.",
18600
18600
  "name": "trailing-controls",
18601
18601
  "inheritedFrom": {
18602
18602
  "name": "ListItem",
@@ -18613,6 +18613,67 @@
18613
18613
  }
18614
18614
  ],
18615
18615
  "members": [
18616
+ {
18617
+ "kind": "field",
18618
+ "name": "checked",
18619
+ "type": {
18620
+ "text": "boolean"
18621
+ },
18622
+ "default": "false",
18623
+ "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
18624
+ "attribute": "checked",
18625
+ "reflects": true
18626
+ },
18627
+ {
18628
+ "kind": "field",
18629
+ "name": "indicator",
18630
+ "type": {
18631
+ "text": "Indicator"
18632
+ },
18633
+ "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
18634
+ "default": "'checkbox'",
18635
+ "attribute": "indicator",
18636
+ "reflects": true
18637
+ },
18638
+ {
18639
+ "kind": "method",
18640
+ "name": "handleMouseClick",
18641
+ "privacy": "private",
18642
+ "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
18643
+ },
18644
+ {
18645
+ "kind": "method",
18646
+ "name": "staticCheckbox",
18647
+ "privacy": "private",
18648
+ "return": {
18649
+ "type": {
18650
+ "text": ""
18651
+ }
18652
+ },
18653
+ "description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
18654
+ },
18655
+ {
18656
+ "kind": "method",
18657
+ "name": "staticToggle",
18658
+ "privacy": "private",
18659
+ "return": {
18660
+ "type": {
18661
+ "text": ""
18662
+ }
18663
+ },
18664
+ "description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
18665
+ },
18666
+ {
18667
+ "kind": "method",
18668
+ "name": "getCheckmarkIcon",
18669
+ "privacy": "private",
18670
+ "return": {
18671
+ "type": {
18672
+ "text": ""
18673
+ }
18674
+ },
18675
+ "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
18676
+ },
18616
18677
  {
18617
18678
  "kind": "field",
18618
18679
  "name": "arrowPosition",
@@ -18621,7 +18682,11 @@
18621
18682
  },
18622
18683
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
18623
18684
  "attribute": "arrow-position",
18624
- "reflects": true
18685
+ "reflects": true,
18686
+ "inheritedFrom": {
18687
+ "name": "MenuItem",
18688
+ "module": "components/menuitem/menuitem.component.js"
18689
+ }
18625
18690
  },
18626
18691
  {
18627
18692
  "kind": "field",
@@ -18631,7 +18696,11 @@
18631
18696
  },
18632
18697
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
18633
18698
  "attribute": "arrow-direction",
18634
- "reflects": true
18699
+ "reflects": true,
18700
+ "inheritedFrom": {
18701
+ "name": "MenuItem",
18702
+ "module": "components/menuitem/menuitem.component.js"
18703
+ }
18635
18704
  },
18636
18705
  {
18637
18706
  "kind": "field",
@@ -18641,7 +18710,11 @@
18641
18710
  },
18642
18711
  "description": "The name attribute is used to identify the menu item when it is selected.",
18643
18712
  "attribute": "name",
18644
- "reflects": true
18713
+ "reflects": true,
18714
+ "inheritedFrom": {
18715
+ "name": "MenuItem",
18716
+ "module": "components/menuitem/menuitem.component.js"
18717
+ }
18645
18718
  },
18646
18719
  {
18647
18720
  "kind": "field",
@@ -18651,7 +18724,11 @@
18651
18724
  },
18652
18725
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
18653
18726
  "attribute": "value",
18654
- "reflects": true
18727
+ "reflects": true,
18728
+ "inheritedFrom": {
18729
+ "name": "MenuItem",
18730
+ "module": "components/menuitem/menuitem.component.js"
18731
+ }
18655
18732
  },
18656
18733
  {
18657
18734
  "kind": "method",
@@ -18695,7 +18772,11 @@
18695
18772
  "description": "The keyboard event that triggered the action."
18696
18773
  }
18697
18774
  ],
18698
- "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
18775
+ "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
18776
+ "inheritedFrom": {
18777
+ "name": "MenuItem",
18778
+ "module": "components/menuitem/menuitem.component.js"
18779
+ }
18699
18780
  },
18700
18781
  {
18701
18782
  "kind": "method",
@@ -18982,7 +19063,15 @@
18982
19063
  ],
18983
19064
  "events": [
18984
19065
  {
18985
- "description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
19066
+ "name": "change",
19067
+ "type": {
19068
+ "text": "Event"
19069
+ },
19070
+ "description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
19071
+ "reactName": "onChange"
19072
+ },
19073
+ {
19074
+ "description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
18986
19075
  "name": "click",
18987
19076
  "reactName": "onClick",
18988
19077
  "inheritedFrom": {
@@ -18990,6 +19079,15 @@
18990
19079
  "module": "src/components/listitem/listitem.component.ts"
18991
19080
  }
18992
19081
  },
19082
+ {
19083
+ "description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
19084
+ "name": "focus",
19085
+ "reactName": "onFocus",
19086
+ "inheritedFrom": {
19087
+ "name": "ListItem",
19088
+ "module": "src/components/listitem/listitem.component.ts"
19089
+ }
19090
+ },
18993
19091
  {
18994
19092
  "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
18995
19093
  "name": "keydown",
@@ -19008,15 +19106,6 @@
19008
19106
  "module": "src/components/listitem/listitem.component.ts"
19009
19107
  }
19010
19108
  },
19011
- {
19012
- "description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
19013
- "name": "focus",
19014
- "reactName": "onFocus",
19015
- "inheritedFrom": {
19016
- "name": "ListItem",
19017
- "module": "src/components/listitem/listitem.component.ts"
19018
- }
19019
- },
19020
19109
  {
19021
19110
  "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
19022
19111
  "name": "enabled",
@@ -19055,13 +19144,35 @@
19055
19144
  }
19056
19145
  ],
19057
19146
  "attributes": [
19147
+ {
19148
+ "name": "checked",
19149
+ "type": {
19150
+ "text": "boolean"
19151
+ },
19152
+ "default": "false",
19153
+ "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
19154
+ "fieldName": "checked"
19155
+ },
19156
+ {
19157
+ "name": "indicator",
19158
+ "type": {
19159
+ "text": "Indicator"
19160
+ },
19161
+ "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
19162
+ "default": "'checkbox'",
19163
+ "fieldName": "indicator"
19164
+ },
19058
19165
  {
19059
19166
  "name": "arrow-position",
19060
19167
  "type": {
19061
19168
  "text": "ArrowPositions | undefined"
19062
19169
  },
19063
19170
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
19064
- "fieldName": "arrowPosition"
19171
+ "fieldName": "arrowPosition",
19172
+ "inheritedFrom": {
19173
+ "name": "MenuItem",
19174
+ "module": "src/components/menuitem/menuitem.component.ts"
19175
+ }
19065
19176
  },
19066
19177
  {
19067
19178
  "name": "arrow-direction",
@@ -19069,7 +19180,11 @@
19069
19180
  "text": "ArrowDirections | undefined"
19070
19181
  },
19071
19182
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
19072
- "fieldName": "arrowDirection"
19183
+ "fieldName": "arrowDirection",
19184
+ "inheritedFrom": {
19185
+ "name": "MenuItem",
19186
+ "module": "src/components/menuitem/menuitem.component.ts"
19187
+ }
19073
19188
  },
19074
19189
  {
19075
19190
  "name": "name",
@@ -19077,7 +19192,11 @@
19077
19192
  "text": "string | undefined"
19078
19193
  },
19079
19194
  "description": "The name attribute is used to identify the menu item when it is selected.",
19080
- "fieldName": "name"
19195
+ "fieldName": "name",
19196
+ "inheritedFrom": {
19197
+ "name": "MenuItem",
19198
+ "module": "src/components/menuitem/menuitem.component.ts"
19199
+ }
19081
19200
  },
19082
19201
  {
19083
19202
  "name": "value",
@@ -19085,7 +19204,11 @@
19085
19204
  "text": "string | undefined"
19086
19205
  },
19087
19206
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
19088
- "fieldName": "value"
19207
+ "fieldName": "value",
19208
+ "inheritedFrom": {
19209
+ "name": "MenuItem",
19210
+ "module": "src/components/menuitem/menuitem.component.ts"
19211
+ }
19089
19212
  },
19090
19213
  {
19091
19214
  "name": "disabled",
@@ -19201,11 +19324,11 @@
19201
19324
  }
19202
19325
  ],
19203
19326
  "superclass": {
19204
- "name": "ListItem",
19205
- "module": "/src/components/listitem/listitem.component"
19327
+ "name": "MenuItem",
19328
+ "module": "/src/components/menuitem/menuitem.component"
19206
19329
  },
19207
- "tagName": "mdc-menuitem",
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 */",
19330
+ "tagName": "mdc-menuitemcheckbox",
19331
+ "jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n */",
19209
19332
  "customElement": true,
19210
19333
  "cssProperties": [
19211
19334
  {
@@ -19312,23 +19435,23 @@
19312
19435
  "kind": "js",
19313
19436
  "name": "default",
19314
19437
  "declaration": {
19315
- "name": "MenuItem",
19316
- "module": "components/menuitem/menuitem.component.js"
19438
+ "name": "MenuItemCheckbox",
19439
+ "module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
19317
19440
  }
19318
19441
  }
19319
19442
  ]
19320
19443
  },
19321
19444
  {
19322
19445
  "kind": "javascript-module",
19323
- "path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
19446
+ "path": "components/menuitem/menuitem.component.js",
19324
19447
  "declarations": [
19325
19448
  {
19326
19449
  "kind": "class",
19327
- "description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
19328
- "name": "MenuItemCheckbox",
19450
+ "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.",
19451
+ "name": "MenuItem",
19329
19452
  "slots": [
19330
19453
  {
19331
- "description": "slot for menu item checkbox controls to appear of leading end.",
19454
+ "description": "slot for menu item controls to appear of leading end.",
19332
19455
  "name": "leading-controls",
19333
19456
  "inheritedFrom": {
19334
19457
  "name": "ListItem",
@@ -19336,7 +19459,7 @@
19336
19459
  }
19337
19460
  },
19338
19461
  {
19339
- "description": "slot for menu item checkbox primary label.",
19462
+ "description": "slot for menu item primary label.",
19340
19463
  "name": "leading-text-primary-label",
19341
19464
  "inheritedFrom": {
19342
19465
  "name": "ListItem",
@@ -19344,7 +19467,7 @@
19344
19467
  }
19345
19468
  },
19346
19469
  {
19347
- "description": "slot for menu item checkbox secondary label.",
19470
+ "description": "slot for menu item secondary label.",
19348
19471
  "name": "leading-text-secondary-label",
19349
19472
  "inheritedFrom": {
19350
19473
  "name": "ListItem",
@@ -19352,7 +19475,7 @@
19352
19475
  }
19353
19476
  },
19354
19477
  {
19355
- "description": "slot for menu item checkbox tertiary label.",
19478
+ "description": "slot for menu item tertiary label.",
19356
19479
  "name": "leading-text-tertiary-label",
19357
19480
  "inheritedFrom": {
19358
19481
  "name": "ListItem",
@@ -19360,7 +19483,7 @@
19360
19483
  }
19361
19484
  },
19362
19485
  {
19363
- "description": "slot for menu item checkbox side header text.",
19486
+ "description": "slot for menu item side header text.",
19364
19487
  "name": "trailing-text-side-header",
19365
19488
  "inheritedFrom": {
19366
19489
  "name": "ListItem",
@@ -19368,7 +19491,7 @@
19368
19491
  }
19369
19492
  },
19370
19493
  {
19371
- "description": "slot for menu item checkbox subline text.",
19494
+ "description": "slot for menu item subline text.",
19372
19495
  "name": "trailing-text-subline",
19373
19496
  "inheritedFrom": {
19374
19497
  "name": "ListItem",
@@ -19376,7 +19499,7 @@
19376
19499
  }
19377
19500
  },
19378
19501
  {
19379
- "description": "slot for menu item checkbox controls to appear of trailing end.",
19502
+ "description": "slot for menu item controls to appear of trailing end.",
19380
19503
  "name": "trailing-controls",
19381
19504
  "inheritedFrom": {
19382
19505
  "name": "ListItem",
@@ -19393,67 +19516,6 @@
19393
19516
  }
19394
19517
  ],
19395
19518
  "members": [
19396
- {
19397
- "kind": "field",
19398
- "name": "checked",
19399
- "type": {
19400
- "text": "boolean"
19401
- },
19402
- "default": "false",
19403
- "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
19404
- "attribute": "checked",
19405
- "reflects": true
19406
- },
19407
- {
19408
- "kind": "field",
19409
- "name": "indicator",
19410
- "type": {
19411
- "text": "Indicator"
19412
- },
19413
- "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
19414
- "default": "'checkbox'",
19415
- "attribute": "indicator",
19416
- "reflects": true
19417
- },
19418
- {
19419
- "kind": "method",
19420
- "name": "handleMouseClick",
19421
- "privacy": "private",
19422
- "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
19423
- },
19424
- {
19425
- "kind": "method",
19426
- "name": "staticCheckbox",
19427
- "privacy": "private",
19428
- "return": {
19429
- "type": {
19430
- "text": ""
19431
- }
19432
- },
19433
- "description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
19434
- },
19435
- {
19436
- "kind": "method",
19437
- "name": "staticToggle",
19438
- "privacy": "private",
19439
- "return": {
19440
- "type": {
19441
- "text": ""
19442
- }
19443
- },
19444
- "description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
19445
- },
19446
- {
19447
- "kind": "method",
19448
- "name": "getCheckmarkIcon",
19449
- "privacy": "private",
19450
- "return": {
19451
- "type": {
19452
- "text": ""
19453
- }
19454
- },
19455
- "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
19456
- },
19457
19519
  {
19458
19520
  "kind": "field",
19459
19521
  "name": "arrowPosition",
@@ -19462,11 +19524,7 @@
19462
19524
  },
19463
19525
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
19464
19526
  "attribute": "arrow-position",
19465
- "reflects": true,
19466
- "inheritedFrom": {
19467
- "name": "MenuItem",
19468
- "module": "components/menuitem/menuitem.component.js"
19469
- }
19527
+ "reflects": true
19470
19528
  },
19471
19529
  {
19472
19530
  "kind": "field",
@@ -19476,11 +19534,7 @@
19476
19534
  },
19477
19535
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
19478
19536
  "attribute": "arrow-direction",
19479
- "reflects": true,
19480
- "inheritedFrom": {
19481
- "name": "MenuItem",
19482
- "module": "components/menuitem/menuitem.component.js"
19483
- }
19537
+ "reflects": true
19484
19538
  },
19485
19539
  {
19486
19540
  "kind": "field",
@@ -19490,11 +19544,7 @@
19490
19544
  },
19491
19545
  "description": "The name attribute is used to identify the menu item when it is selected.",
19492
19546
  "attribute": "name",
19493
- "reflects": true,
19494
- "inheritedFrom": {
19495
- "name": "MenuItem",
19496
- "module": "components/menuitem/menuitem.component.js"
19497
- }
19547
+ "reflects": true
19498
19548
  },
19499
19549
  {
19500
19550
  "kind": "field",
@@ -19504,11 +19554,7 @@
19504
19554
  },
19505
19555
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
19506
19556
  "attribute": "value",
19507
- "reflects": true,
19508
- "inheritedFrom": {
19509
- "name": "MenuItem",
19510
- "module": "components/menuitem/menuitem.component.js"
19511
- }
19557
+ "reflects": true
19512
19558
  },
19513
19559
  {
19514
19560
  "kind": "method",
@@ -19552,11 +19598,7 @@
19552
19598
  "description": "The keyboard event that triggered the action."
19553
19599
  }
19554
19600
  ],
19555
- "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
19556
- "inheritedFrom": {
19557
- "name": "MenuItem",
19558
- "module": "components/menuitem/menuitem.component.js"
19559
- }
19601
+ "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
19560
19602
  },
19561
19603
  {
19562
19604
  "kind": "method",
@@ -19843,15 +19885,7 @@
19843
19885
  ],
19844
19886
  "events": [
19845
19887
  {
19846
- "name": "change",
19847
- "type": {
19848
- "text": "Event"
19849
- },
19850
- "description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
19851
- "reactName": "onChange"
19852
- },
19853
- {
19854
- "description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
19888
+ "description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
19855
19889
  "name": "click",
19856
19890
  "reactName": "onClick",
19857
19891
  "inheritedFrom": {
@@ -19859,15 +19893,6 @@
19859
19893
  "module": "src/components/listitem/listitem.component.ts"
19860
19894
  }
19861
19895
  },
19862
- {
19863
- "description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
19864
- "name": "focus",
19865
- "reactName": "onFocus",
19866
- "inheritedFrom": {
19867
- "name": "ListItem",
19868
- "module": "src/components/listitem/listitem.component.ts"
19869
- }
19870
- },
19871
19896
  {
19872
19897
  "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
19873
19898
  "name": "keydown",
@@ -19886,6 +19911,15 @@
19886
19911
  "module": "src/components/listitem/listitem.component.ts"
19887
19912
  }
19888
19913
  },
19914
+ {
19915
+ "description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
19916
+ "name": "focus",
19917
+ "reactName": "onFocus",
19918
+ "inheritedFrom": {
19919
+ "name": "ListItem",
19920
+ "module": "src/components/listitem/listitem.component.ts"
19921
+ }
19922
+ },
19889
19923
  {
19890
19924
  "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
19891
19925
  "name": "enabled",
@@ -19924,35 +19958,13 @@
19924
19958
  }
19925
19959
  ],
19926
19960
  "attributes": [
19927
- {
19928
- "name": "checked",
19929
- "type": {
19930
- "text": "boolean"
19931
- },
19932
- "default": "false",
19933
- "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
19934
- "fieldName": "checked"
19935
- },
19936
- {
19937
- "name": "indicator",
19938
- "type": {
19939
- "text": "Indicator"
19940
- },
19941
- "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
19942
- "default": "'checkbox'",
19943
- "fieldName": "indicator"
19944
- },
19945
19961
  {
19946
19962
  "name": "arrow-position",
19947
19963
  "type": {
19948
19964
  "text": "ArrowPositions | undefined"
19949
19965
  },
19950
19966
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
19951
- "fieldName": "arrowPosition",
19952
- "inheritedFrom": {
19953
- "name": "MenuItem",
19954
- "module": "src/components/menuitem/menuitem.component.ts"
19955
- }
19967
+ "fieldName": "arrowPosition"
19956
19968
  },
19957
19969
  {
19958
19970
  "name": "arrow-direction",
@@ -19960,11 +19972,7 @@
19960
19972
  "text": "ArrowDirections | undefined"
19961
19973
  },
19962
19974
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
19963
- "fieldName": "arrowDirection",
19964
- "inheritedFrom": {
19965
- "name": "MenuItem",
19966
- "module": "src/components/menuitem/menuitem.component.ts"
19967
- }
19975
+ "fieldName": "arrowDirection"
19968
19976
  },
19969
19977
  {
19970
19978
  "name": "name",
@@ -19972,11 +19980,7 @@
19972
19980
  "text": "string | undefined"
19973
19981
  },
19974
19982
  "description": "The name attribute is used to identify the menu item when it is selected.",
19975
- "fieldName": "name",
19976
- "inheritedFrom": {
19977
- "name": "MenuItem",
19978
- "module": "src/components/menuitem/menuitem.component.ts"
19979
- }
19983
+ "fieldName": "name"
19980
19984
  },
19981
19985
  {
19982
19986
  "name": "value",
@@ -19984,11 +19988,7 @@
19984
19988
  "text": "string | undefined"
19985
19989
  },
19986
19990
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
19987
- "fieldName": "value",
19988
- "inheritedFrom": {
19989
- "name": "MenuItem",
19990
- "module": "src/components/menuitem/menuitem.component.ts"
19991
- }
19991
+ "fieldName": "value"
19992
19992
  },
19993
19993
  {
19994
19994
  "name": "disabled",
@@ -20104,11 +20104,11 @@
20104
20104
  }
20105
20105
  ],
20106
20106
  "superclass": {
20107
- "name": "MenuItem",
20108
- "module": "/src/components/menuitem/menuitem.component"
20107
+ "name": "ListItem",
20108
+ "module": "/src/components/listitem/listitem.component"
20109
20109
  },
20110
- "tagName": "mdc-menuitemcheckbox",
20111
- "jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n */",
20110
+ "tagName": "mdc-menuitem",
20111
+ "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 */",
20112
20112
  "customElement": true,
20113
20113
  "cssProperties": [
20114
20114
  {
@@ -20215,8 +20215,8 @@
20215
20215
  "kind": "js",
20216
20216
  "name": "default",
20217
20217
  "declaration": {
20218
- "name": "MenuItemCheckbox",
20219
- "module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
20218
+ "name": "MenuItem",
20219
+ "module": "components/menuitem/menuitem.component.js"
20220
20220
  }
20221
20221
  }
20222
20222
  ]