@momentum-design/components 0.106.5 → 0.106.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5295,100 +5295,287 @@
5295
5295
  },
5296
5296
  {
5297
5297
  "kind": "javascript-module",
5298
- "path": "components/card/card.component.js",
5298
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
5299
5299
  "declarations": [
5300
5300
  {
5301
5301
  "kind": "class",
5302
- "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
5303
- "name": "Card",
5302
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5303
+ "name": "CardCheckbox",
5304
5304
  "cssProperties": [
5305
5305
  {
5306
5306
  "description": "The width of the card",
5307
- "name": "--mdc-card-width"
5307
+ "name": "--mdc-card-width",
5308
+ "inheritedFrom": {
5309
+ "name": "Card",
5310
+ "module": "src/components/card/card.component.ts"
5311
+ }
5308
5312
  }
5309
5313
  ],
5310
5314
  "cssParts": [
5311
5315
  {
5312
5316
  "description": "The header part of the card",
5313
- "name": "header"
5317
+ "name": "header",
5318
+ "inheritedFrom": {
5319
+ "name": "Card",
5320
+ "module": "src/components/card/card.component.ts"
5321
+ }
5314
5322
  },
5315
5323
  {
5316
5324
  "description": "The icon part of the card header",
5317
- "name": "icon"
5325
+ "name": "icon",
5326
+ "inheritedFrom": {
5327
+ "name": "Card",
5328
+ "module": "src/components/card/card.component.ts"
5329
+ }
5318
5330
  },
5319
5331
  {
5320
5332
  "description": "The body part of the card",
5321
- "name": "body"
5333
+ "name": "body",
5334
+ "inheritedFrom": {
5335
+ "name": "Card",
5336
+ "module": "src/components/card/card.component.ts"
5337
+ }
5322
5338
  },
5323
5339
  {
5324
5340
  "description": "The image part of the card",
5325
- "name": "image"
5341
+ "name": "image",
5342
+ "inheritedFrom": {
5343
+ "name": "Card",
5344
+ "module": "src/components/card/card.component.ts"
5345
+ }
5326
5346
  },
5327
5347
  {
5328
5348
  "description": "The footer part of the card",
5329
- "name": "footer"
5349
+ "name": "footer",
5350
+ "inheritedFrom": {
5351
+ "name": "Card",
5352
+ "module": "src/components/card/card.component.ts"
5353
+ }
5330
5354
  },
5331
5355
  {
5332
5356
  "description": "The link part of the card footer",
5333
- "name": "footer-link"
5357
+ "name": "footer-link",
5358
+ "inheritedFrom": {
5359
+ "name": "Card",
5360
+ "module": "src/components/card/card.component.ts"
5361
+ }
5334
5362
  },
5335
5363
  {
5336
5364
  "description": "The primary button part of the card footer",
5337
- "name": "footer-button-primary"
5365
+ "name": "footer-button-primary",
5366
+ "inheritedFrom": {
5367
+ "name": "Card",
5368
+ "module": "src/components/card/card.component.ts"
5369
+ }
5338
5370
  },
5339
5371
  {
5340
5372
  "description": "The secondary button part of the card footer",
5341
- "name": "footer-button-secondary"
5373
+ "name": "footer-button-secondary",
5374
+ "inheritedFrom": {
5375
+ "name": "Card",
5376
+ "module": "src/components/card/card.component.ts"
5377
+ }
5342
5378
  },
5343
5379
  {
5344
5380
  "description": "The icon button part of the card header",
5345
- "name": "icon-button"
5381
+ "name": "icon-button",
5382
+ "inheritedFrom": {
5383
+ "name": "Card",
5384
+ "module": "src/components/card/card.component.ts"
5385
+ }
5346
5386
  },
5347
5387
  {
5348
5388
  "description": "The text part of the card",
5349
- "name": "text"
5389
+ "name": "text",
5390
+ "inheritedFrom": {
5391
+ "name": "Card",
5392
+ "module": "src/components/card/card.component.ts"
5393
+ }
5394
+ },
5395
+ {
5396
+ "description": "The check part of the card",
5397
+ "name": "check"
5398
+ },
5399
+ {
5400
+ "description": "The check icon part of the card",
5401
+ "name": "check-icon"
5402
+ },
5403
+ {
5404
+ "description": "The check icon button part of the card",
5405
+ "name": "check-icon-button"
5350
5406
  }
5351
5407
  ],
5352
5408
  "slots": [
5353
5409
  {
5354
5410
  "description": "This slot is for passing the content before the body",
5355
- "name": "before-body"
5411
+ "name": "before-body",
5412
+ "inheritedFrom": {
5413
+ "name": "Card",
5414
+ "module": "src/components/card/card.component.ts"
5415
+ }
5356
5416
  },
5357
5417
  {
5358
5418
  "description": "This slot is for passing the text content for the card",
5359
- "name": "body"
5419
+ "name": "body",
5420
+ "inheritedFrom": {
5421
+ "name": "Card",
5422
+ "module": "src/components/card/card.component.ts"
5423
+ }
5360
5424
  },
5361
5425
  {
5362
5426
  "description": "This slot is for passing the content after the body",
5363
- "name": "after-body"
5427
+ "name": "after-body",
5428
+ "inheritedFrom": {
5429
+ "name": "Card",
5430
+ "module": "src/components/card/card.component.ts"
5431
+ }
5364
5432
  },
5365
5433
  {
5366
5434
  "description": "This slot is for passing `mdc-link` component within the footer section.",
5367
- "name": "footer-link"
5435
+ "name": "footer-link",
5436
+ "inheritedFrom": {
5437
+ "name": "Card",
5438
+ "module": "src/components/card/card.component.ts"
5439
+ }
5368
5440
  },
5369
5441
  {
5370
5442
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5371
- "name": "footer-button-primary"
5443
+ "name": "footer-button-primary",
5444
+ "inheritedFrom": {
5445
+ "name": "Card",
5446
+ "module": "src/components/card/card.component.ts"
5447
+ }
5372
5448
  },
5373
5449
  {
5374
5450
  "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5375
- "name": "footer-button-secondary"
5451
+ "name": "footer-button-secondary",
5452
+ "inheritedFrom": {
5453
+ "name": "Card",
5454
+ "module": "src/components/card/card.component.ts"
5455
+ }
5376
5456
  },
5377
5457
  {
5378
5458
  "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5379
- "name": "footer"
5459
+ "name": "footer",
5460
+ "inheritedFrom": {
5461
+ "name": "Card",
5462
+ "module": "src/components/card/card.component.ts"
5463
+ }
5380
5464
  }
5381
5465
  ],
5382
5466
  "members": [
5467
+ {
5468
+ "kind": "field",
5469
+ "name": "checked",
5470
+ "type": {
5471
+ "text": "boolean"
5472
+ },
5473
+ "default": "false",
5474
+ "description": "The checked state of the card",
5475
+ "attribute": "checked",
5476
+ "reflects": true
5477
+ },
5478
+ {
5479
+ "kind": "field",
5480
+ "name": "selectionType",
5481
+ "type": {
5482
+ "text": "SelectionType"
5483
+ },
5484
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5485
+ "default": "'check'",
5486
+ "attribute": "selection-type",
5487
+ "reflects": true
5488
+ },
5489
+ {
5490
+ "kind": "method",
5491
+ "name": "toggleChecked",
5492
+ "privacy": "private",
5493
+ "description": "Toggles the checked state"
5494
+ },
5495
+ {
5496
+ "kind": "method",
5497
+ "name": "toggleOnEnter",
5498
+ "privacy": "private",
5499
+ "parameters": [
5500
+ {
5501
+ "name": "event",
5502
+ "type": {
5503
+ "text": "KeyboardEvent"
5504
+ },
5505
+ "description": "The keyboard event"
5506
+ }
5507
+ ],
5508
+ "description": "Toggles the checked state when enter key is used"
5509
+ },
5510
+ {
5511
+ "kind": "method",
5512
+ "name": "toggleOnSpace",
5513
+ "privacy": "private",
5514
+ "parameters": [
5515
+ {
5516
+ "name": "event",
5517
+ "type": {
5518
+ "text": "KeyboardEvent"
5519
+ },
5520
+ "description": "The keyboard event"
5521
+ }
5522
+ ],
5523
+ "description": "Toggles the checked state when space key is used"
5524
+ },
5525
+ {
5526
+ "kind": "method",
5527
+ "name": "renderSelection",
5528
+ "privacy": "private",
5529
+ "description": "Renders the selection icon or checkbox based on the selection type",
5530
+ "return": {
5531
+ "type": {
5532
+ "text": ""
5533
+ }
5534
+ }
5535
+ },
5383
5536
  {
5384
5537
  "kind": "method",
5385
5538
  "name": "renderHeader",
5386
5539
  "privacy": "protected",
5387
- "description": "Renders the header of the card if title is provided",
5540
+ "description": "Renders the header of the card",
5388
5541
  "return": {
5389
5542
  "type": {
5390
5543
  "text": ""
5391
5544
  }
5545
+ },
5546
+ "inheritedFrom": {
5547
+ "name": "Card",
5548
+ "module": "components/card/card.component.js"
5549
+ }
5550
+ },
5551
+ {
5552
+ "kind": "field",
5553
+ "name": "disabled",
5554
+ "type": {
5555
+ "text": "boolean | undefined"
5556
+ },
5557
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5558
+ "default": "undefined",
5559
+ "attribute": "disabled",
5560
+ "reflects": true,
5561
+ "inheritedFrom": {
5562
+ "name": "DisabledMixin",
5563
+ "module": "utils/mixins/DisabledMixin.js"
5564
+ }
5565
+ },
5566
+ {
5567
+ "kind": "field",
5568
+ "name": "tabIndex",
5569
+ "type": {
5570
+ "text": "number"
5571
+ },
5572
+ "default": "0",
5573
+ "description": "This property specifies the tab order of the element.",
5574
+ "attribute": "tabIndex",
5575
+ "reflects": true,
5576
+ "inheritedFrom": {
5577
+ "name": "TabIndexMixin",
5578
+ "module": "utils/mixins/TabIndexMixin.js"
5392
5579
  }
5393
5580
  },
5394
5581
  {
@@ -5586,31 +5773,88 @@
5586
5773
  }
5587
5774
  }
5588
5775
  ],
5589
- "mixins": [
5590
- {
5591
- "name": "CardComponentMixin",
5592
- "module": "/src/utils/mixins/CardComponentMixin"
5593
- },
5594
- {
5595
- "name": "FooterMixin",
5596
- "module": "/src/utils/mixins/FooterMixin"
5597
- }
5598
- ],
5599
- "superclass": {
5600
- "name": "Component",
5601
- "module": "/src/models"
5602
- },
5603
- "tagName": "mdc-card",
5604
- "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
5605
- "customElement": true,
5606
- "attributes": [
5776
+ "events": [
5607
5777
  {
5608
- "name": "card-title",
5778
+ "name": "change",
5609
5779
  "type": {
5610
- "text": "string"
5780
+ "text": "Event"
5611
5781
  },
5612
- "default": "''",
5613
- "description": "The title of the card - part of header section",
5782
+ "description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
5783
+ "reactName": "onChange"
5784
+ },
5785
+ {
5786
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
5787
+ "name": "click",
5788
+ "reactName": "onClick"
5789
+ },
5790
+ {
5791
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
5792
+ "name": "keydown",
5793
+ "reactName": "onKeyDown"
5794
+ },
5795
+ {
5796
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
5797
+ "name": "keyup",
5798
+ "reactName": "onKeyUp"
5799
+ },
5800
+ {
5801
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5802
+ "name": "focus",
5803
+ "reactName": "onFocus"
5804
+ }
5805
+ ],
5806
+ "attributes": [
5807
+ {
5808
+ "name": "checked",
5809
+ "type": {
5810
+ "text": "boolean"
5811
+ },
5812
+ "default": "false",
5813
+ "description": "The checked state of the card",
5814
+ "fieldName": "checked"
5815
+ },
5816
+ {
5817
+ "name": "selection-type",
5818
+ "type": {
5819
+ "text": "SelectionType"
5820
+ },
5821
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5822
+ "default": "'check'",
5823
+ "fieldName": "selectionType"
5824
+ },
5825
+ {
5826
+ "name": "disabled",
5827
+ "type": {
5828
+ "text": "boolean | undefined"
5829
+ },
5830
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5831
+ "default": "undefined",
5832
+ "fieldName": "disabled",
5833
+ "inheritedFrom": {
5834
+ "name": "DisabledMixin",
5835
+ "module": "src/utils/mixins/DisabledMixin.ts"
5836
+ }
5837
+ },
5838
+ {
5839
+ "name": "tabIndex",
5840
+ "type": {
5841
+ "text": "number"
5842
+ },
5843
+ "default": "0",
5844
+ "description": "This property specifies the tab order of the element.",
5845
+ "fieldName": "tabIndex",
5846
+ "inheritedFrom": {
5847
+ "name": "TabIndexMixin",
5848
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5849
+ }
5850
+ },
5851
+ {
5852
+ "name": "card-title",
5853
+ "type": {
5854
+ "text": "string"
5855
+ },
5856
+ "default": "''",
5857
+ "description": "The title of the card - part of header section",
5614
5858
  "fieldName": "cardTitle",
5615
5859
  "inheritedFrom": {
5616
5860
  "name": "CardComponentMixin",
@@ -5720,7 +5964,24 @@
5720
5964
  "module": "src/utils/mixins/CardComponentMixin.ts"
5721
5965
  }
5722
5966
  }
5723
- ]
5967
+ ],
5968
+ "mixins": [
5969
+ {
5970
+ "name": "DisabledMixin",
5971
+ "module": "/src/utils/mixins/DisabledMixin"
5972
+ },
5973
+ {
5974
+ "name": "TabIndexMixin",
5975
+ "module": "/src/utils/mixins/TabIndexMixin"
5976
+ }
5977
+ ],
5978
+ "superclass": {
5979
+ "name": "Card",
5980
+ "module": "/src/components/card/card.component"
5981
+ },
5982
+ "tagName": "mdc-cardcheckbox",
5983
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
5984
+ "customElement": true
5724
5985
  }
5725
5986
  ],
5726
5987
  "exports": [
@@ -5728,20 +5989,20 @@
5728
5989
  "kind": "js",
5729
5990
  "name": "default",
5730
5991
  "declaration": {
5731
- "name": "Card",
5732
- "module": "components/card/card.component.js"
5992
+ "name": "CardCheckbox",
5993
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
5733
5994
  }
5734
5995
  }
5735
5996
  ]
5736
5997
  },
5737
5998
  {
5738
5999
  "kind": "javascript-module",
5739
- "path": "components/cardbutton/cardbutton.component.js",
6000
+ "path": "components/card/card.component.js",
5740
6001
  "declarations": [
5741
6002
  {
5742
6003
  "kind": "class",
5743
- "description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
5744
- "name": "CardButton",
6004
+ "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
6005
+ "name": "Card",
5745
6006
  "cssProperties": [
5746
6007
  {
5747
6008
  "description": "The width of the card",
@@ -5810,6 +6071,14 @@
5810
6071
  {
5811
6072
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5812
6073
  "name": "footer-button-primary"
6074
+ },
6075
+ {
6076
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6077
+ "name": "footer-button-secondary"
6078
+ },
6079
+ {
6080
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
6081
+ "name": "footer"
5813
6082
  }
5814
6083
  ],
5815
6084
  "members": [
@@ -6004,622 +6273,153 @@
6004
6273
  }
6005
6274
  },
6006
6275
  {
6007
- "kind": "field",
6008
- "name": "autoFocusOnMount",
6009
- "type": {
6010
- "text": "boolean"
6276
+ "kind": "method",
6277
+ "name": "renderFooter",
6278
+ "privacy": "protected",
6279
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6280
+ "return": {
6281
+ "type": {
6282
+ "text": ""
6283
+ }
6011
6284
  },
6012
- "default": "false",
6013
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6014
- "attribute": "auto-focus-on-mount",
6015
- "reflects": true,
6016
6285
  "inheritedFrom": {
6017
- "name": "Buttonsimple",
6018
- "module": "components/buttonsimple/buttonsimple.component.js"
6286
+ "name": "FooterMixin",
6287
+ "module": "utils/mixins/FooterMixin.js"
6019
6288
  }
6289
+ }
6290
+ ],
6291
+ "mixins": [
6292
+ {
6293
+ "name": "CardComponentMixin",
6294
+ "module": "/src/utils/mixins/CardComponentMixin"
6020
6295
  },
6021
6296
  {
6022
- "kind": "field",
6023
- "name": "tabIndex",
6297
+ "name": "FooterMixin",
6298
+ "module": "/src/utils/mixins/FooterMixin"
6299
+ }
6300
+ ],
6301
+ "superclass": {
6302
+ "name": "Component",
6303
+ "module": "/src/models"
6304
+ },
6305
+ "tagName": "mdc-card",
6306
+ "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
6307
+ "customElement": true,
6308
+ "attributes": [
6309
+ {
6310
+ "name": "card-title",
6024
6311
  "type": {
6025
- "text": "number"
6312
+ "text": "string"
6026
6313
  },
6027
- "default": "0",
6028
- "description": "This property specifies the tab order of the element.",
6029
- "attribute": "tabIndex",
6030
- "reflects": true,
6314
+ "default": "''",
6315
+ "description": "The title of the card - part of header section",
6316
+ "fieldName": "cardTitle",
6031
6317
  "inheritedFrom": {
6032
- "name": "Buttonsimple",
6033
- "module": "components/buttonsimple/buttonsimple.component.js"
6318
+ "name": "CardComponentMixin",
6319
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6034
6320
  }
6035
6321
  },
6036
6322
  {
6037
- "kind": "field",
6038
- "name": "disabled",
6323
+ "name": "subtitle",
6039
6324
  "type": {
6040
- "text": "boolean | undefined"
6325
+ "text": "string"
6041
6326
  },
6042
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6043
- "default": "undefined",
6044
- "attribute": "disabled",
6045
- "reflects": true,
6327
+ "default": "''",
6328
+ "description": "The subtitle of the card - part of header section",
6329
+ "fieldName": "subtitle",
6046
6330
  "inheritedFrom": {
6047
- "name": "Buttonsimple",
6048
- "module": "components/buttonsimple/buttonsimple.component.js"
6331
+ "name": "CardComponentMixin",
6332
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6049
6333
  }
6050
6334
  },
6051
6335
  {
6052
- "kind": "field",
6053
- "name": "active",
6336
+ "name": "image-src",
6054
6337
  "type": {
6055
- "text": "boolean | undefined"
6338
+ "text": "string"
6056
6339
  },
6057
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6058
- "default": "undefined",
6059
- "attribute": "active",
6060
- "reflects": true,
6340
+ "default": "''",
6341
+ "description": "The image source URL to render on the card",
6342
+ "fieldName": "imageSrc",
6061
6343
  "inheritedFrom": {
6062
- "name": "Buttonsimple",
6063
- "module": "components/buttonsimple/buttonsimple.component.js"
6344
+ "name": "CardComponentMixin",
6345
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6064
6346
  }
6065
6347
  },
6066
6348
  {
6067
- "kind": "field",
6068
- "name": "softDisabled",
6349
+ "name": "image-alt",
6069
6350
  "type": {
6070
- "text": "boolean | undefined"
6351
+ "text": "string"
6071
6352
  },
6072
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6073
- "default": "undefined",
6074
- "attribute": "soft-disabled",
6075
- "reflects": true,
6353
+ "default": "''",
6354
+ "description": "The image alt for accessibility support",
6355
+ "fieldName": "imageAlt",
6076
6356
  "inheritedFrom": {
6077
- "name": "Buttonsimple",
6078
- "module": "components/buttonsimple/buttonsimple.component.js"
6357
+ "name": "CardComponentMixin",
6358
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6079
6359
  }
6080
6360
  },
6081
6361
  {
6082
- "kind": "field",
6083
- "name": "size",
6362
+ "name": "variant",
6084
6363
  "type": {
6085
- "text": "ButtonSize"
6364
+ "text": "CardVariant"
6086
6365
  },
6087
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6088
- "default": "32",
6089
- "attribute": "size",
6090
- "reflects": true,
6366
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6367
+ "default": "'border'",
6368
+ "fieldName": "variant",
6091
6369
  "inheritedFrom": {
6092
- "name": "Buttonsimple",
6093
- "module": "components/buttonsimple/buttonsimple.component.js"
6370
+ "name": "CardComponentMixin",
6371
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6094
6372
  }
6095
6373
  },
6096
6374
  {
6097
- "kind": "field",
6098
- "name": "role",
6375
+ "name": "orientation",
6099
6376
  "type": {
6100
- "text": "RoleType"
6377
+ "text": "CardOrientation"
6101
6378
  },
6102
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6103
- "default": "button",
6104
- "attribute": "role",
6105
- "reflects": true,
6379
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6380
+ "default": "'vertical'",
6381
+ "fieldName": "orientation",
6106
6382
  "inheritedFrom": {
6107
- "name": "Buttonsimple",
6108
- "module": "components/buttonsimple/buttonsimple.component.js"
6383
+ "name": "CardComponentMixin",
6384
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6109
6385
  }
6110
6386
  },
6111
6387
  {
6112
- "kind": "field",
6113
- "name": "ariaStateKey",
6388
+ "name": "title-tag-name",
6114
6389
  "type": {
6115
- "text": "string | undefined"
6390
+ "text": "TagNameType"
6116
6391
  },
6117
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
6118
- "default": "'aria-pressed' (when)",
6119
- "attribute": "ariaStateKey",
6120
- "reflects": true,
6121
- "inheritedFrom": {
6122
- "name": "Buttonsimple",
6123
- "module": "components/buttonsimple/buttonsimple.component.js"
6124
- }
6125
- },
6126
- {
6127
- "kind": "field",
6128
- "name": "type",
6129
- "type": {
6130
- "text": "ButtonType"
6131
- },
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,
6136
- "inheritedFrom": {
6137
- "name": "Buttonsimple",
6138
- "module": "components/buttonsimple/buttonsimple.component.js"
6139
- }
6140
- },
6141
- {
6142
- "kind": "field",
6143
- "name": "name",
6144
- "type": {
6145
- "text": "string | undefined"
6146
- },
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,
6150
- "inheritedFrom": {
6151
- "name": "Buttonsimple",
6152
- "module": "components/buttonsimple/buttonsimple.component.js"
6153
- }
6154
- },
6155
- {
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
- }
6168
- },
6169
- {
6170
- "kind": "method",
6171
- "name": "executeAction",
6172
- "privacy": "protected",
6173
- "inheritedFrom": {
6174
- "name": "Buttonsimple",
6175
- "module": "components/buttonsimple/buttonsimple.component.js"
6176
- }
6177
- },
6178
- {
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
- }
6204
- },
6205
- {
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
- }
6231
- },
6232
- {
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
- }
6257
- },
6258
- {
6259
- "kind": "method",
6260
- "name": "triggerClickEvent",
6261
- "privacy": "private",
6262
- "inheritedFrom": {
6263
- "name": "Buttonsimple",
6264
- "module": "components/buttonsimple/buttonsimple.component.js"
6265
- }
6266
- },
6267
- {
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
- }
6276
- },
6277
- {
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
- }
6295
- },
6296
- {
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
- }
6314
- }
6315
- ],
6316
- "events": [
6317
- {
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
- }
6325
- },
6326
- {
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
- }
6334
- },
6335
- {
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
- }
6343
- },
6344
- {
6345
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6346
- "name": "focus",
6347
- "reactName": "onFocus",
6348
- "inheritedFrom": {
6349
- "name": "Buttonsimple",
6350
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6351
- }
6352
- }
6353
- ],
6354
- "mixins": [
6355
- {
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": [
6368
- {
6369
- "name": "card-title",
6370
- "type": {
6371
- "text": "string"
6372
- },
6373
- "default": "''",
6374
- "description": "The title of the card - part of header section",
6375
- "fieldName": "cardTitle",
6376
- "inheritedFrom": {
6377
- "name": "CardComponentMixin",
6378
- "module": "src/utils/mixins/CardComponentMixin.ts"
6379
- }
6380
- },
6381
- {
6382
- "name": "subtitle",
6383
- "type": {
6384
- "text": "string"
6385
- },
6386
- "default": "''",
6387
- "description": "The subtitle of the card - part of header section",
6388
- "fieldName": "subtitle",
6389
- "inheritedFrom": {
6390
- "name": "CardComponentMixin",
6391
- "module": "src/utils/mixins/CardComponentMixin.ts"
6392
- }
6393
- },
6394
- {
6395
- "name": "image-src",
6396
- "type": {
6397
- "text": "string"
6398
- },
6399
- "default": "''",
6400
- "description": "The image source URL to render on the card",
6401
- "fieldName": "imageSrc",
6402
- "inheritedFrom": {
6403
- "name": "CardComponentMixin",
6404
- "module": "src/utils/mixins/CardComponentMixin.ts"
6405
- }
6406
- },
6407
- {
6408
- "name": "image-alt",
6409
- "type": {
6410
- "text": "string"
6411
- },
6412
- "default": "''",
6413
- "description": "The image alt for accessibility support",
6414
- "fieldName": "imageAlt",
6415
- "inheritedFrom": {
6416
- "name": "CardComponentMixin",
6417
- "module": "src/utils/mixins/CardComponentMixin.ts"
6418
- }
6419
- },
6420
- {
6421
- "name": "variant",
6422
- "type": {
6423
- "text": "CardVariant"
6424
- },
6425
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6426
- "default": "'border'",
6427
- "fieldName": "variant",
6428
- "inheritedFrom": {
6429
- "name": "CardComponentMixin",
6430
- "module": "src/utils/mixins/CardComponentMixin.ts"
6431
- }
6432
- },
6433
- {
6434
- "name": "orientation",
6435
- "type": {
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",
6441
- "inheritedFrom": {
6442
- "name": "CardComponentMixin",
6443
- "module": "src/utils/mixins/CardComponentMixin.ts"
6444
- }
6445
- },
6446
- {
6447
- "name": "title-tag-name",
6448
- "type": {
6449
- "text": "TagNameType"
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",
6454
- "inheritedFrom": {
6455
- "name": "CardComponentMixin",
6456
- "module": "src/utils/mixins/CardComponentMixin.ts"
6457
- }
6458
- },
6459
- {
6460
- "name": "subtitle-tag-name",
6461
- "type": {
6462
- "text": "TagNameType"
6463
- },
6464
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6465
- "default": "'span'",
6466
- "fieldName": "subtitleTagName",
6467
- "inheritedFrom": {
6468
- "name": "CardComponentMixin",
6469
- "module": "src/utils/mixins/CardComponentMixin.ts"
6470
- }
6471
- },
6472
- {
6473
- "name": "icon-name",
6474
- "type": {
6475
- "text": "IconNames | undefined"
6476
- },
6477
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6478
- "fieldName": "iconName",
6479
- "inheritedFrom": {
6480
- "name": "CardComponentMixin",
6481
- "module": "src/utils/mixins/CardComponentMixin.ts"
6482
- }
6483
- },
6484
- {
6485
- "name": "auto-focus-on-mount",
6486
- "type": {
6487
- "text": "boolean"
6488
- },
6489
- "default": "false",
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.",
6491
- "fieldName": "autoFocusOnMount",
6492
- "inheritedFrom": {
6493
- "name": "Buttonsimple",
6494
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6495
- }
6496
- },
6497
- {
6498
- "name": "tabIndex",
6499
- "type": {
6500
- "text": "number"
6501
- },
6502
- "default": "0",
6503
- "description": "This property specifies the tab order of the element.",
6504
- "fieldName": "tabIndex",
6505
- "inheritedFrom": {
6506
- "name": "Buttonsimple",
6507
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6508
- }
6509
- },
6510
- {
6511
- "name": "disabled",
6512
- "type": {
6513
- "text": "boolean | undefined"
6514
- },
6515
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6516
- "default": "undefined",
6517
- "fieldName": "disabled",
6518
- "inheritedFrom": {
6519
- "name": "Buttonsimple",
6520
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6521
- }
6522
- },
6523
- {
6524
- "name": "active",
6525
- "type": {
6526
- "text": "boolean | undefined"
6527
- },
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.",
6529
- "default": "undefined",
6530
- "fieldName": "active",
6531
- "inheritedFrom": {
6532
- "name": "Buttonsimple",
6533
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6534
- }
6535
- },
6536
- {
6537
- "name": "soft-disabled",
6538
- "type": {
6539
- "text": "boolean | undefined"
6540
- },
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.",
6542
- "default": "undefined",
6543
- "fieldName": "softDisabled",
6544
- "inheritedFrom": {
6545
- "name": "Buttonsimple",
6546
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6547
- }
6548
- },
6549
- {
6550
- "name": "size",
6551
- "type": {
6552
- "text": "ButtonSize"
6553
- },
6554
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6555
- "default": "32",
6556
- "fieldName": "size",
6557
- "inheritedFrom": {
6558
- "name": "Buttonsimple",
6559
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6560
- }
6561
- },
6562
- {
6563
- "name": "role",
6564
- "type": {
6565
- "text": "RoleType"
6566
- },
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.",
6568
- "default": "button",
6569
- "fieldName": "role",
6570
- "inheritedFrom": {
6571
- "name": "Buttonsimple",
6572
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6573
- }
6574
- },
6575
- {
6576
- "name": "ariaStateKey",
6577
- "type": {
6578
- "text": "string | undefined"
6579
- },
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`",
6581
- "default": "'aria-pressed' (when)",
6582
- "fieldName": "ariaStateKey",
6583
- "inheritedFrom": {
6584
- "name": "Buttonsimple",
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",
6392
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6393
+ "default": "'span'",
6394
+ "fieldName": "titleTagName",
6596
6395
  "inheritedFrom": {
6597
- "name": "Buttonsimple",
6598
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6396
+ "name": "CardComponentMixin",
6397
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6599
6398
  }
6600
6399
  },
6601
6400
  {
6602
- "name": "name",
6401
+ "name": "subtitle-tag-name",
6603
6402
  "type": {
6604
- "text": "string | undefined"
6403
+ "text": "TagNameType"
6605
6404
  },
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",
6405
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6406
+ "default": "'span'",
6407
+ "fieldName": "subtitleTagName",
6608
6408
  "inheritedFrom": {
6609
- "name": "Buttonsimple",
6610
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6409
+ "name": "CardComponentMixin",
6410
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6611
6411
  }
6612
6412
  },
6613
6413
  {
6614
- "name": "value",
6414
+ "name": "icon-name",
6615
6415
  "type": {
6616
- "text": "string | undefined"
6416
+ "text": "IconNames | undefined"
6617
6417
  },
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",
6418
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6419
+ "fieldName": "iconName",
6620
6420
  "inheritedFrom": {
6621
- "name": "Buttonsimple",
6622
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6421
+ "name": "CardComponentMixin",
6422
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6623
6423
  }
6624
6424
  }
6625
6425
  ]
@@ -6630,280 +6430,294 @@
6630
6430
  "kind": "js",
6631
6431
  "name": "default",
6632
6432
  "declaration": {
6633
- "name": "CardButton",
6634
- "module": "components/cardbutton/cardbutton.component.js"
6433
+ "name": "Card",
6434
+ "module": "components/card/card.component.js"
6635
6435
  }
6636
6436
  }
6637
6437
  ]
6638
6438
  },
6639
6439
  {
6640
6440
  "kind": "javascript-module",
6641
- "path": "components/cardcheckbox/cardcheckbox.component.js",
6441
+ "path": "components/cardbutton/cardbutton.component.js",
6642
6442
  "declarations": [
6643
6443
  {
6644
6444
  "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",
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",
6647
6447
  "cssProperties": [
6648
6448
  {
6649
6449
  "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
- }
6450
+ "name": "--mdc-card-width"
6655
6451
  }
6656
6452
  ],
6657
6453
  "cssParts": [
6658
6454
  {
6659
6455
  "description": "The header part of the card",
6660
- "name": "header",
6661
- "inheritedFrom": {
6662
- "name": "Card",
6663
- "module": "src/components/card/card.component.ts"
6664
- }
6456
+ "name": "header"
6665
6457
  },
6666
6458
  {
6667
6459
  "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
- }
6460
+ "name": "icon"
6673
6461
  },
6674
6462
  {
6675
6463
  "description": "The body part of the card",
6676
- "name": "body",
6677
- "inheritedFrom": {
6678
- "name": "Card",
6679
- "module": "src/components/card/card.component.ts"
6680
- }
6464
+ "name": "body"
6681
6465
  },
6682
6466
  {
6683
6467
  "description": "The image part of the card",
6684
- "name": "image",
6685
- "inheritedFrom": {
6686
- "name": "Card",
6687
- "module": "src/components/card/card.component.ts"
6688
- }
6468
+ "name": "image"
6689
6469
  },
6690
6470
  {
6691
6471
  "description": "The footer part of the card",
6692
- "name": "footer",
6693
- "inheritedFrom": {
6694
- "name": "Card",
6695
- "module": "src/components/card/card.component.ts"
6696
- }
6472
+ "name": "footer"
6697
6473
  },
6698
6474
  {
6699
6475
  "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
- }
6476
+ "name": "footer-link"
6705
6477
  },
6706
6478
  {
6707
6479
  "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
- }
6480
+ "name": "footer-button-primary"
6713
6481
  },
6714
6482
  {
6715
6483
  "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
- }
6484
+ "name": "footer-button-secondary"
6721
6485
  },
6722
6486
  {
6723
6487
  "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
- }
6488
+ "name": "icon-button"
6729
6489
  },
6730
6490
  {
6731
6491
  "description": "The text part of the card",
6732
- "name": "text",
6733
- "inheritedFrom": {
6734
- "name": "Card",
6735
- "module": "src/components/card/card.component.ts"
6736
- }
6492
+ "name": "text"
6493
+ }
6494
+ ],
6495
+ "slots": [
6496
+ {
6497
+ "description": "This slot is for passing the content before the body",
6498
+ "name": "before-body"
6737
6499
  },
6738
6500
  {
6739
- "description": "The check part of the card",
6740
- "name": "check"
6501
+ "description": "This slot is for passing the text content for the card",
6502
+ "name": "body"
6741
6503
  },
6742
6504
  {
6743
- "description": "The check icon part of the card",
6744
- "name": "check-icon"
6505
+ "description": "This slot is for passing the content after the body",
6506
+ "name": "after-body"
6745
6507
  },
6746
6508
  {
6747
- "description": "The check icon button part of the card",
6748
- "name": "check-icon-button"
6509
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
6510
+ "name": "footer-link"
6511
+ },
6512
+ {
6513
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6514
+ "name": "footer-button-primary"
6749
6515
  }
6750
6516
  ],
6751
- "slots": [
6517
+ "members": [
6752
6518
  {
6753
- "description": "This slot is for passing the content before the body",
6754
- "name": "before-body",
6755
- "inheritedFrom": {
6756
- "name": "Card",
6757
- "module": "src/components/card/card.component.ts"
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
+ }
6758
6527
  }
6759
6528
  },
6760
6529
  {
6761
- "description": "This slot is for passing the text content for the card",
6762
- "name": "body",
6530
+ "kind": "field",
6531
+ "name": "cardTitle",
6532
+ "type": {
6533
+ "text": "string"
6534
+ },
6535
+ "default": "''",
6536
+ "description": "The title of the card - part of header section",
6537
+ "attribute": "card-title",
6538
+ "reflects": true,
6763
6539
  "inheritedFrom": {
6764
- "name": "Card",
6765
- "module": "src/components/card/card.component.ts"
6540
+ "name": "CardComponentMixin",
6541
+ "module": "utils/mixins/CardComponentMixin.js"
6766
6542
  }
6767
6543
  },
6768
6544
  {
6769
- "description": "This slot is for passing the content after the body",
6770
- "name": "after-body",
6545
+ "kind": "field",
6546
+ "name": "subtitle",
6547
+ "type": {
6548
+ "text": "string"
6549
+ },
6550
+ "default": "''",
6551
+ "description": "The subtitle of the card - part of header section",
6552
+ "attribute": "subtitle",
6553
+ "reflects": true,
6771
6554
  "inheritedFrom": {
6772
- "name": "Card",
6773
- "module": "src/components/card/card.component.ts"
6555
+ "name": "CardComponentMixin",
6556
+ "module": "utils/mixins/CardComponentMixin.js"
6774
6557
  }
6775
6558
  },
6776
6559
  {
6777
- "description": "This slot is for passing `mdc-link` component within the footer section.",
6778
- "name": "footer-link",
6560
+ "kind": "field",
6561
+ "name": "imageSrc",
6562
+ "type": {
6563
+ "text": "string"
6564
+ },
6565
+ "default": "''",
6566
+ "description": "The image source URL to render on the card",
6567
+ "attribute": "image-src",
6568
+ "reflects": true,
6779
6569
  "inheritedFrom": {
6780
- "name": "Card",
6781
- "module": "src/components/card/card.component.ts"
6570
+ "name": "CardComponentMixin",
6571
+ "module": "utils/mixins/CardComponentMixin.js"
6782
6572
  }
6783
6573
  },
6784
6574
  {
6785
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6786
- "name": "footer-button-primary",
6787
- "inheritedFrom": {
6788
- "name": "Card",
6789
- "module": "src/components/card/card.component.ts"
6575
+ "kind": "field",
6576
+ "name": "imageAlt",
6577
+ "type": {
6578
+ "text": "string"
6579
+ },
6580
+ "default": "''",
6581
+ "description": "The image alt for accessibility support",
6582
+ "attribute": "image-alt",
6583
+ "reflects": true,
6584
+ "inheritedFrom": {
6585
+ "name": "CardComponentMixin",
6586
+ "module": "utils/mixins/CardComponentMixin.js"
6790
6587
  }
6791
6588
  },
6792
6589
  {
6793
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6794
- "name": "footer-button-secondary",
6590
+ "kind": "field",
6591
+ "name": "variant",
6592
+ "type": {
6593
+ "text": "CardVariant"
6594
+ },
6595
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6596
+ "default": "'border'",
6597
+ "attribute": "variant",
6598
+ "reflects": true,
6795
6599
  "inheritedFrom": {
6796
- "name": "Card",
6797
- "module": "src/components/card/card.component.ts"
6600
+ "name": "CardComponentMixin",
6601
+ "module": "utils/mixins/CardComponentMixin.js"
6798
6602
  }
6799
6603
  },
6800
6604
  {
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",
6605
+ "kind": "field",
6606
+ "name": "orientation",
6607
+ "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,
6803
6614
  "inheritedFrom": {
6804
- "name": "Card",
6805
- "module": "src/components/card/card.component.ts"
6615
+ "name": "CardComponentMixin",
6616
+ "module": "utils/mixins/CardComponentMixin.js"
6806
6617
  }
6807
- }
6808
- ],
6809
- "members": [
6618
+ },
6810
6619
  {
6811
6620
  "kind": "field",
6812
- "name": "checked",
6621
+ "name": "titleTagName",
6813
6622
  "type": {
6814
- "text": "boolean"
6623
+ "text": "TagNameType"
6815
6624
  },
6816
- "default": "false",
6817
- "description": "The checked state of the card",
6818
- "attribute": "checked",
6819
- "reflects": true
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
+ }
6820
6633
  },
6821
6634
  {
6822
6635
  "kind": "field",
6823
- "name": "selectionType",
6636
+ "name": "subtitleTagName",
6824
6637
  "type": {
6825
- "text": "SelectionType"
6638
+ "text": "TagNameType"
6826
6639
  },
6827
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6828
- "default": "'check'",
6829
- "attribute": "selection-type",
6830
- "reflects": true
6831
- },
6832
- {
6833
- "kind": "method",
6834
- "name": "toggleChecked",
6835
- "privacy": "private",
6836
- "description": "Toggles the checked state"
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
+ }
6837
6648
  },
6838
6649
  {
6839
- "kind": "method",
6840
- "name": "toggleOnEnter",
6841
- "privacy": "private",
6842
- "parameters": [
6843
- {
6844
- "name": "event",
6845
- "type": {
6846
- "text": "KeyboardEvent"
6847
- },
6848
- "description": "The keyboard event"
6849
- }
6850
- ],
6851
- "description": "Toggles the checked state when enter key is used"
6650
+ "kind": "field",
6651
+ "name": "iconName",
6652
+ "type": {
6653
+ "text": "IconNames | undefined"
6654
+ },
6655
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6656
+ "attribute": "icon-name",
6657
+ "reflects": true,
6658
+ "inheritedFrom": {
6659
+ "name": "CardComponentMixin",
6660
+ "module": "utils/mixins/CardComponentMixin.js"
6661
+ }
6852
6662
  },
6853
6663
  {
6854
6664
  "kind": "method",
6855
- "name": "toggleOnSpace",
6856
- "privacy": "private",
6857
- "parameters": [
6858
- {
6859
- "name": "event",
6860
- "type": {
6861
- "text": "KeyboardEvent"
6862
- },
6863
- "description": "The keyboard event"
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": ""
6864
6671
  }
6865
- ],
6866
- "description": "Toggles the checked state when space key is used"
6672
+ },
6673
+ "inheritedFrom": {
6674
+ "name": "CardComponentMixin",
6675
+ "module": "utils/mixins/CardComponentMixin.js"
6676
+ }
6867
6677
  },
6868
6678
  {
6869
6679
  "kind": "method",
6870
- "name": "renderSelection",
6871
- "privacy": "private",
6872
- "description": "Renders the selection icon or checkbox based on the selection type",
6680
+ "name": "renderIcon",
6681
+ "privacy": "protected",
6682
+ "description": "Renders the icon on the card if icon name is provided",
6873
6683
  "return": {
6874
6684
  "type": {
6875
6685
  "text": ""
6876
6686
  }
6687
+ },
6688
+ "inheritedFrom": {
6689
+ "name": "CardComponentMixin",
6690
+ "module": "utils/mixins/CardComponentMixin.js"
6877
6691
  }
6878
6692
  },
6879
6693
  {
6880
6694
  "kind": "method",
6881
- "name": "renderHeader",
6695
+ "name": "renderTitle",
6882
6696
  "privacy": "protected",
6883
- "description": "Renders the header of the card",
6697
+ "description": "Renders the title and subtitle on the card",
6884
6698
  "return": {
6885
6699
  "type": {
6886
6700
  "text": ""
6887
6701
  }
6888
6702
  },
6889
6703
  "inheritedFrom": {
6890
- "name": "Card",
6891
- "module": "components/card/card.component.js"
6704
+ "name": "CardComponentMixin",
6705
+ "module": "utils/mixins/CardComponentMixin.js"
6892
6706
  }
6893
6707
  },
6894
6708
  {
6895
6709
  "kind": "field",
6896
- "name": "disabled",
6710
+ "name": "autoFocusOnMount",
6897
6711
  "type": {
6898
- "text": "boolean | undefined"
6712
+ "text": "boolean"
6899
6713
  },
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",
6714
+ "default": "false",
6715
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6716
+ "attribute": "auto-focus-on-mount",
6903
6717
  "reflects": true,
6904
6718
  "inheritedFrom": {
6905
- "name": "DisabledMixin",
6906
- "module": "utils/mixins/DisabledMixin.js"
6719
+ "name": "Buttonsimple",
6720
+ "module": "components/buttonsimple/buttonsimple.component.js"
6907
6721
  }
6908
6722
  },
6909
6723
  {
@@ -6917,280 +6731,342 @@
6917
6731
  "attribute": "tabIndex",
6918
6732
  "reflects": true,
6919
6733
  "inheritedFrom": {
6920
- "name": "TabIndexMixin",
6921
- "module": "utils/mixins/TabIndexMixin.js"
6734
+ "name": "Buttonsimple",
6735
+ "module": "components/buttonsimple/buttonsimple.component.js"
6922
6736
  }
6923
6737
  },
6924
6738
  {
6925
6739
  "kind": "field",
6926
- "name": "cardTitle",
6740
+ "name": "disabled",
6927
6741
  "type": {
6928
- "text": "string"
6742
+ "text": "boolean | undefined"
6929
6743
  },
6930
- "default": "''",
6931
- "description": "The title of the card - part of header section",
6932
- "attribute": "card-title",
6744
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6745
+ "default": "undefined",
6746
+ "attribute": "disabled",
6933
6747
  "reflects": true,
6934
6748
  "inheritedFrom": {
6935
- "name": "Card",
6936
- "module": "components/card/card.component.js"
6749
+ "name": "Buttonsimple",
6750
+ "module": "components/buttonsimple/buttonsimple.component.js"
6937
6751
  }
6938
6752
  },
6939
6753
  {
6940
6754
  "kind": "field",
6941
- "name": "subtitle",
6755
+ "name": "active",
6942
6756
  "type": {
6943
- "text": "string"
6757
+ "text": "boolean | undefined"
6944
6758
  },
6945
- "default": "''",
6946
- "description": "The subtitle of the card - part of header section",
6947
- "attribute": "subtitle",
6759
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6760
+ "default": "undefined",
6761
+ "attribute": "active",
6948
6762
  "reflects": true,
6949
6763
  "inheritedFrom": {
6950
- "name": "Card",
6951
- "module": "components/card/card.component.js"
6764
+ "name": "Buttonsimple",
6765
+ "module": "components/buttonsimple/buttonsimple.component.js"
6952
6766
  }
6953
6767
  },
6954
6768
  {
6955
6769
  "kind": "field",
6956
- "name": "imageSrc",
6770
+ "name": "softDisabled",
6957
6771
  "type": {
6958
- "text": "string"
6772
+ "text": "boolean | undefined"
6959
6773
  },
6960
- "default": "''",
6961
- "description": "The image source URL to render on the card",
6962
- "attribute": "image-src",
6774
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6775
+ "default": "undefined",
6776
+ "attribute": "soft-disabled",
6963
6777
  "reflects": true,
6964
6778
  "inheritedFrom": {
6965
- "name": "Card",
6966
- "module": "components/card/card.component.js"
6779
+ "name": "Buttonsimple",
6780
+ "module": "components/buttonsimple/buttonsimple.component.js"
6967
6781
  }
6968
6782
  },
6969
6783
  {
6970
6784
  "kind": "field",
6971
- "name": "imageAlt",
6785
+ "name": "size",
6972
6786
  "type": {
6973
- "text": "string"
6787
+ "text": "ButtonSize"
6974
6788
  },
6975
- "default": "''",
6976
- "description": "The image alt for accessibility support",
6977
- "attribute": "image-alt",
6789
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6790
+ "default": "32",
6791
+ "attribute": "size",
6978
6792
  "reflects": true,
6979
6793
  "inheritedFrom": {
6980
- "name": "Card",
6981
- "module": "components/card/card.component.js"
6794
+ "name": "Buttonsimple",
6795
+ "module": "components/buttonsimple/buttonsimple.component.js"
6982
6796
  }
6983
6797
  },
6984
6798
  {
6985
6799
  "kind": "field",
6986
- "name": "variant",
6800
+ "name": "role",
6987
6801
  "type": {
6988
- "text": "CardVariant"
6802
+ "text": "RoleType"
6989
6803
  },
6990
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6991
- "default": "'border'",
6992
- "attribute": "variant",
6804
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6805
+ "default": "button",
6806
+ "attribute": "role",
6993
6807
  "reflects": true,
6994
6808
  "inheritedFrom": {
6995
- "name": "Card",
6996
- "module": "components/card/card.component.js"
6809
+ "name": "Buttonsimple",
6810
+ "module": "components/buttonsimple/buttonsimple.component.js"
6997
6811
  }
6998
6812
  },
6999
6813
  {
7000
6814
  "kind": "field",
7001
- "name": "orientation",
6815
+ "name": "ariaStateKey",
7002
6816
  "type": {
7003
- "text": "CardOrientation"
6817
+ "text": "string | undefined"
7004
6818
  },
7005
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7006
- "default": "'vertical'",
7007
- "attribute": "orientation",
6819
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
6820
+ "default": "'aria-pressed' (when)",
6821
+ "attribute": "ariaStateKey",
7008
6822
  "reflects": true,
7009
6823
  "inheritedFrom": {
7010
- "name": "Card",
7011
- "module": "components/card/card.component.js"
6824
+ "name": "Buttonsimple",
6825
+ "module": "components/buttonsimple/buttonsimple.component.js"
7012
6826
  }
7013
6827
  },
7014
6828
  {
7015
6829
  "kind": "field",
7016
- "name": "titleTagName",
6830
+ "name": "type",
7017
6831
  "type": {
7018
- "text": "TagNameType"
6832
+ "text": "ButtonType"
7019
6833
  },
7020
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7021
- "default": "'span'",
7022
- "attribute": "title-tag-name",
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",
7023
6837
  "reflects": true,
7024
6838
  "inheritedFrom": {
7025
- "name": "Card",
7026
- "module": "components/card/card.component.js"
6839
+ "name": "Buttonsimple",
6840
+ "module": "components/buttonsimple/buttonsimple.component.js"
7027
6841
  }
7028
6842
  },
7029
6843
  {
7030
6844
  "kind": "field",
7031
- "name": "subtitleTagName",
6845
+ "name": "name",
7032
6846
  "type": {
7033
- "text": "TagNameType"
6847
+ "text": "string | undefined"
7034
6848
  },
7035
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7036
- "default": "'span'",
7037
- "attribute": "subtitle-tag-name",
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",
7038
6851
  "reflects": true,
7039
6852
  "inheritedFrom": {
7040
- "name": "Card",
7041
- "module": "components/card/card.component.js"
6853
+ "name": "Buttonsimple",
6854
+ "module": "components/buttonsimple/buttonsimple.component.js"
7042
6855
  }
7043
6856
  },
7044
6857
  {
7045
6858
  "kind": "field",
7046
- "name": "iconName",
6859
+ "name": "value",
7047
6860
  "type": {
7048
- "text": "IconNames | undefined"
6861
+ "text": "string | undefined"
7049
6862
  },
7050
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7051
- "attribute": "icon-name",
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",
7052
6865
  "reflects": true,
7053
6866
  "inheritedFrom": {
7054
- "name": "Card",
7055
- "module": "components/card/card.component.js"
6867
+ "name": "Buttonsimple",
6868
+ "module": "components/buttonsimple/buttonsimple.component.js"
7056
6869
  }
7057
6870
  },
7058
6871
  {
7059
6872
  "kind": "method",
7060
- "name": "renderImage",
6873
+ "name": "executeAction",
7061
6874
  "privacy": "protected",
7062
- "description": "Renders the image on the card if image source is provided",
7063
- "return": {
7064
- "type": {
7065
- "text": ""
7066
- }
7067
- },
7068
6875
  "inheritedFrom": {
7069
- "name": "Card",
7070
- "module": "components/card/card.component.js"
6876
+ "name": "Buttonsimple",
6877
+ "module": "components/buttonsimple/buttonsimple.component.js"
7071
6878
  }
7072
6879
  },
7073
6880
  {
7074
6881
  "kind": "method",
7075
- "name": "renderIcon",
6882
+ "name": "setActive",
7076
6883
  "privacy": "protected",
7077
- "description": "Renders the icon on the card if icon name is provided",
7078
- "return": {
7079
- "type": {
7080
- "text": ""
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"
7081
6899
  }
7082
- },
6900
+ ],
6901
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
7083
6902
  "inheritedFrom": {
7084
- "name": "Card",
7085
- "module": "components/card/card.component.js"
6903
+ "name": "Buttonsimple",
6904
+ "module": "components/buttonsimple/buttonsimple.component.js"
7086
6905
  }
7087
6906
  },
7088
6907
  {
7089
6908
  "kind": "method",
7090
- "name": "renderTitle",
7091
- "privacy": "protected",
7092
- "description": "Renders the title and subtitle on the card",
7093
- "return": {
7094
- "type": {
7095
- "text": ""
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."
7096
6926
  }
7097
- },
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.",
7098
6929
  "inheritedFrom": {
7099
- "name": "Card",
7100
- "module": "components/card/card.component.js"
6930
+ "name": "Buttonsimple",
6931
+ "module": "components/buttonsimple/buttonsimple.component.js"
7101
6932
  }
7102
6933
  },
7103
6934
  {
7104
6935
  "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": ""
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."
7111
6952
  }
7112
- },
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.",
7113
6955
  "inheritedFrom": {
7114
- "name": "Card",
7115
- "module": "components/card/card.component.js"
6956
+ "name": "Buttonsimple",
6957
+ "module": "components/buttonsimple/buttonsimple.component.js"
7116
6958
  }
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
6959
  },
7128
6960
  {
7129
- "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
7130
- "name": "click",
7131
- "reactName": "onClick"
6961
+ "kind": "method",
6962
+ "name": "triggerClickEvent",
6963
+ "privacy": "private",
6964
+ "inheritedFrom": {
6965
+ "name": "Buttonsimple",
6966
+ "module": "components/buttonsimple/buttonsimple.component.js"
6967
+ }
7132
6968
  },
7133
6969
  {
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"
6970
+ "kind": "method",
6971
+ "name": "handleBlur",
6972
+ "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
+ }
7137
6978
  },
7138
6979
  {
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"
6980
+ "kind": "method",
6981
+ "name": "handleKeyDown",
6982
+ "privacy": "private",
6983
+ "parameters": [
6984
+ {
6985
+ "name": "event",
6986
+ "type": {
6987
+ "text": "KeyboardEvent"
6988
+ },
6989
+ "description": "The keyboard event."
6990
+ }
6991
+ ],
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
+ }
7142
6997
  },
7143
6998
  {
7144
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7145
- "name": "focus",
7146
- "reactName": "onFocus"
6999
+ "kind": "method",
7000
+ "name": "handleKeyUp",
7001
+ "privacy": "private",
7002
+ "parameters": [
7003
+ {
7004
+ "name": "event",
7005
+ "type": {
7006
+ "text": "KeyboardEvent"
7007
+ },
7008
+ "description": "The keyboard event."
7009
+ }
7010
+ ],
7011
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
7012
+ "inheritedFrom": {
7013
+ "name": "Buttonsimple",
7014
+ "module": "components/buttonsimple/buttonsimple.component.js"
7015
+ }
7147
7016
  }
7148
7017
  ],
7149
- "attributes": [
7018
+ "events": [
7150
7019
  {
7151
- "name": "checked",
7152
- "type": {
7153
- "text": "boolean"
7154
- },
7155
- "default": "false",
7156
- "description": "The checked state of the card",
7157
- "fieldName": "checked"
7020
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
7021
+ "name": "click",
7022
+ "reactName": "onClick",
7023
+ "inheritedFrom": {
7024
+ "name": "Buttonsimple",
7025
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7026
+ }
7158
7027
  },
7159
7028
  {
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"
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",
7032
+ "inheritedFrom": {
7033
+ "name": "Buttonsimple",
7034
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7035
+ }
7167
7036
  },
7168
7037
  {
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",
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",
7176
7041
  "inheritedFrom": {
7177
- "name": "DisabledMixin",
7178
- "module": "src/utils/mixins/DisabledMixin.ts"
7042
+ "name": "Buttonsimple",
7043
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7179
7044
  }
7180
7045
  },
7181
7046
  {
7182
- "name": "tabIndex",
7183
- "type": {
7184
- "text": "number"
7185
- },
7186
- "default": "0",
7187
- "description": "This property specifies the tab order of the element.",
7188
- "fieldName": "tabIndex",
7047
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7048
+ "name": "focus",
7049
+ "reactName": "onFocus",
7189
7050
  "inheritedFrom": {
7190
- "name": "TabIndexMixin",
7191
- "module": "src/utils/mixins/TabIndexMixin.ts"
7051
+ "name": "Buttonsimple",
7052
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7192
7053
  }
7193
- },
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": [
7194
7070
  {
7195
7071
  "name": "card-title",
7196
7072
  "type": {
@@ -7200,8 +7076,8 @@
7200
7076
  "description": "The title of the card - part of header section",
7201
7077
  "fieldName": "cardTitle",
7202
7078
  "inheritedFrom": {
7203
- "name": "Card",
7204
- "module": "src/components/card/card.component.ts"
7079
+ "name": "CardComponentMixin",
7080
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7205
7081
  }
7206
7082
  },
7207
7083
  {
@@ -7213,8 +7089,8 @@
7213
7089
  "description": "The subtitle of the card - part of header section",
7214
7090
  "fieldName": "subtitle",
7215
7091
  "inheritedFrom": {
7216
- "name": "Card",
7217
- "module": "src/components/card/card.component.ts"
7092
+ "name": "CardComponentMixin",
7093
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7218
7094
  }
7219
7095
  },
7220
7096
  {
@@ -7226,8 +7102,8 @@
7226
7102
  "description": "The image source URL to render on the card",
7227
7103
  "fieldName": "imageSrc",
7228
7104
  "inheritedFrom": {
7229
- "name": "Card",
7230
- "module": "src/components/card/card.component.ts"
7105
+ "name": "CardComponentMixin",
7106
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7231
7107
  }
7232
7108
  },
7233
7109
  {
@@ -7239,8 +7115,8 @@
7239
7115
  "description": "The image alt for accessibility support",
7240
7116
  "fieldName": "imageAlt",
7241
7117
  "inheritedFrom": {
7242
- "name": "Card",
7243
- "module": "src/components/card/card.component.ts"
7118
+ "name": "CardComponentMixin",
7119
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7244
7120
  }
7245
7121
  },
7246
7122
  {
@@ -7252,8 +7128,8 @@
7252
7128
  "default": "'border'",
7253
7129
  "fieldName": "variant",
7254
7130
  "inheritedFrom": {
7255
- "name": "Card",
7256
- "module": "src/components/card/card.component.ts"
7131
+ "name": "CardComponentMixin",
7132
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7257
7133
  }
7258
7134
  },
7259
7135
  {
@@ -7265,8 +7141,8 @@
7265
7141
  "default": "'vertical'",
7266
7142
  "fieldName": "orientation",
7267
7143
  "inheritedFrom": {
7268
- "name": "Card",
7269
- "module": "src/components/card/card.component.ts"
7144
+ "name": "CardComponentMixin",
7145
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7270
7146
  }
7271
7147
  },
7272
7148
  {
@@ -7278,8 +7154,8 @@
7278
7154
  "default": "'span'",
7279
7155
  "fieldName": "titleTagName",
7280
7156
  "inheritedFrom": {
7281
- "name": "Card",
7282
- "module": "src/components/card/card.component.ts"
7157
+ "name": "CardComponentMixin",
7158
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7283
7159
  }
7284
7160
  },
7285
7161
  {
@@ -7291,8 +7167,8 @@
7291
7167
  "default": "'span'",
7292
7168
  "fieldName": "subtitleTagName",
7293
7169
  "inheritedFrom": {
7294
- "name": "Card",
7295
- "module": "src/components/card/card.component.ts"
7170
+ "name": "CardComponentMixin",
7171
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7296
7172
  }
7297
7173
  },
7298
7174
  {
@@ -7303,28 +7179,152 @@
7303
7179
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7304
7180
  "fieldName": "iconName",
7305
7181
  "inheritedFrom": {
7306
- "name": "Card",
7307
- "module": "src/components/card/card.component.ts"
7182
+ "name": "CardComponentMixin",
7183
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7308
7184
  }
7309
- }
7310
- ],
7311
- "mixins": [
7185
+ },
7312
7186
  {
7313
- "name": "DisabledMixin",
7314
- "module": "/src/utils/mixins/DisabledMixin"
7187
+ "name": "auto-focus-on-mount",
7188
+ "type": {
7189
+ "text": "boolean"
7190
+ },
7191
+ "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",
7194
+ "inheritedFrom": {
7195
+ "name": "Buttonsimple",
7196
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7197
+ }
7315
7198
  },
7316
7199
  {
7317
- "name": "TabIndexMixin",
7318
- "module": "/src/utils/mixins/TabIndexMixin"
7200
+ "name": "tabIndex",
7201
+ "type": {
7202
+ "text": "number"
7203
+ },
7204
+ "default": "0",
7205
+ "description": "This property specifies the tab order of the element.",
7206
+ "fieldName": "tabIndex",
7207
+ "inheritedFrom": {
7208
+ "name": "Buttonsimple",
7209
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7210
+ }
7211
+ },
7212
+ {
7213
+ "name": "disabled",
7214
+ "type": {
7215
+ "text": "boolean | undefined"
7216
+ },
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",
7220
+ "inheritedFrom": {
7221
+ "name": "Buttonsimple",
7222
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7223
+ }
7224
+ },
7225
+ {
7226
+ "name": "active",
7227
+ "type": {
7228
+ "text": "boolean | undefined"
7229
+ },
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",
7233
+ "inheritedFrom": {
7234
+ "name": "Buttonsimple",
7235
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7236
+ }
7237
+ },
7238
+ {
7239
+ "name": "soft-disabled",
7240
+ "type": {
7241
+ "text": "boolean | undefined"
7242
+ },
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",
7246
+ "inheritedFrom": {
7247
+ "name": "Buttonsimple",
7248
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7249
+ }
7250
+ },
7251
+ {
7252
+ "name": "size",
7253
+ "type": {
7254
+ "text": "ButtonSize"
7255
+ },
7256
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
7257
+ "default": "32",
7258
+ "fieldName": "size",
7259
+ "inheritedFrom": {
7260
+ "name": "Buttonsimple",
7261
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7262
+ }
7263
+ },
7264
+ {
7265
+ "name": "role",
7266
+ "type": {
7267
+ "text": "RoleType"
7268
+ },
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",
7272
+ "inheritedFrom": {
7273
+ "name": "Buttonsimple",
7274
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7275
+ }
7276
+ },
7277
+ {
7278
+ "name": "ariaStateKey",
7279
+ "type": {
7280
+ "text": "string | undefined"
7281
+ },
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",
7285
+ "inheritedFrom": {
7286
+ "name": "Buttonsimple",
7287
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7288
+ }
7289
+ },
7290
+ {
7291
+ "name": "type",
7292
+ "type": {
7293
+ "text": "ButtonType"
7294
+ },
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",
7298
+ "inheritedFrom": {
7299
+ "name": "Buttonsimple",
7300
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7301
+ }
7302
+ },
7303
+ {
7304
+ "name": "name",
7305
+ "type": {
7306
+ "text": "string | undefined"
7307
+ },
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",
7310
+ "inheritedFrom": {
7311
+ "name": "Buttonsimple",
7312
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7313
+ }
7314
+ },
7315
+ {
7316
+ "name": "value",
7317
+ "type": {
7318
+ "text": "string | undefined"
7319
+ },
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",
7322
+ "inheritedFrom": {
7323
+ "name": "Buttonsimple",
7324
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7325
+ }
7319
7326
  }
7320
- ],
7321
- "superclass": {
7322
- "name": "Card",
7323
- "module": "/src/components/card/card.component"
7324
- },
7325
- "tagName": "mdc-cardcheckbox",
7326
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
7327
- "customElement": true
7327
+ ]
7328
7328
  }
7329
7329
  ],
7330
7330
  "exports": [
@@ -7332,8 +7332,8 @@
7332
7332
  "kind": "js",
7333
7333
  "name": "default",
7334
7334
  "declaration": {
7335
- "name": "CardCheckbox",
7336
- "module": "components/cardcheckbox/cardcheckbox.component.js"
7335
+ "name": "CardButton",
7336
+ "module": "components/cardbutton/cardbutton.component.js"
7337
7337
  }
7338
7338
  }
7339
7339
  ]
@@ -11342,65 +11342,24 @@
11342
11342
  }
11343
11343
  },
11344
11344
  {
11345
- "name": "keep-connected-tooltip-closed",
11346
- "type": {
11347
- "text": "boolean"
11348
- },
11349
- "description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
11350
- "fieldName": "keepConnectedTooltipClosed",
11351
- "inheritedFrom": {
11352
- "name": "Popover",
11353
- "module": "src/components/popover/popover.component.ts"
11354
- }
11355
- }
11356
- ],
11357
- "superclass": {
11358
- "name": "Popover",
11359
- "module": "/src/components/popover/popover.component"
11360
- },
11361
- "tagName": "mdc-coachmark",
11362
- "jsDoc": "/**\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @event shown - (React: onShown) This event is dispatched when the coachmark is shown\n * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden\n * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is\n * destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n *\n */",
11363
- "customElement": true
11364
- }
11365
- ],
11366
- "exports": [
11367
- {
11368
- "kind": "js",
11369
- "name": "default",
11370
- "declaration": {
11371
- "name": "Coachmark",
11372
- "module": "components/coachmark/coachmark.component.js"
11373
- }
11374
- }
11375
- ]
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"
11345
+ "name": "keep-connected-tooltip-closed",
11346
+ "type": {
11347
+ "text": "boolean"
11348
+ },
11349
+ "description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
11350
+ "fieldName": "keepConnectedTooltipClosed",
11351
+ "inheritedFrom": {
11352
+ "name": "Popover",
11353
+ "module": "src/components/popover/popover.component.ts"
11354
+ }
11395
11355
  }
11396
11356
  ],
11397
- "members": [],
11398
11357
  "superclass": {
11399
- "name": "Component",
11400
- "module": "/src/models"
11358
+ "name": "Popover",
11359
+ "module": "/src/components/popover/popover.component"
11401
11360
  },
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 */",
11361
+ "tagName": "mdc-coachmark",
11362
+ "jsDoc": "/**\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @event shown - (React: onShown) This event is dispatched when the coachmark is shown\n * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden\n * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is\n * destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n *\n */",
11404
11363
  "customElement": true
11405
11364
  }
11406
11365
  ],
@@ -11409,8 +11368,8 @@
11409
11368
  "kind": "js",
11410
11369
  "name": "default",
11411
11370
  "declaration": {
11412
- "name": "Combobox",
11413
- "module": "components/combobox/combobox.component.js"
11371
+ "name": "Coachmark",
11372
+ "module": "components/coachmark/coachmark.component.js"
11414
11373
  }
11415
11374
  }
11416
11375
  ]
@@ -13743,11 +13702,240 @@
13743
13702
  },
13744
13703
  "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
13745
13704
  "default": "'top'",
13746
- "fieldName": "toggletipPlacement",
13747
- "inheritedFrom": {
13748
- "name": "FormfieldWrapper",
13749
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13750
- }
13705
+ "fieldName": "toggletipPlacement",
13706
+ "inheritedFrom": {
13707
+ "name": "FormfieldWrapper",
13708
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13709
+ }
13710
+ },
13711
+ {
13712
+ "name": "info-icon-aria-label",
13713
+ "type": {
13714
+ "text": "string | undefined"
13715
+ },
13716
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
13717
+ "fieldName": "infoIconAriaLabel",
13718
+ "inheritedFrom": {
13719
+ "name": "FormfieldWrapper",
13720
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13721
+ }
13722
+ }
13723
+ ]
13724
+ }
13725
+ ],
13726
+ "exports": [
13727
+ {
13728
+ "kind": "js",
13729
+ "name": "default",
13730
+ "declaration": {
13731
+ "name": "FormfieldGroup",
13732
+ "module": "components/formfieldgroup/formfieldgroup.component.js"
13733
+ }
13734
+ }
13735
+ ]
13736
+ },
13737
+ {
13738
+ "kind": "javascript-module",
13739
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
13740
+ "declarations": [
13741
+ {
13742
+ "kind": "class",
13743
+ "description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
13744
+ "name": "FormfieldWrapper",
13745
+ "members": [
13746
+ {
13747
+ "kind": "field",
13748
+ "name": "label",
13749
+ "type": {
13750
+ "text": "string | undefined"
13751
+ },
13752
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
13753
+ "attribute": "label",
13754
+ "reflects": true
13755
+ },
13756
+ {
13757
+ "kind": "field",
13758
+ "name": "required",
13759
+ "type": {
13760
+ "text": "boolean"
13761
+ },
13762
+ "default": "false",
13763
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
13764
+ "attribute": "required",
13765
+ "reflects": true
13766
+ },
13767
+ {
13768
+ "kind": "field",
13769
+ "name": "helpTextType",
13770
+ "type": {
13771
+ "text": "ValidationType"
13772
+ },
13773
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
13774
+ "attribute": "help-text-type",
13775
+ "reflects": true
13776
+ },
13777
+ {
13778
+ "kind": "field",
13779
+ "name": "helpText",
13780
+ "type": {
13781
+ "text": "string | undefined"
13782
+ },
13783
+ "description": "The help text that is displayed below the input field.",
13784
+ "attribute": "help-text",
13785
+ "reflects": true
13786
+ },
13787
+ {
13788
+ "kind": "field",
13789
+ "name": "toggletipText",
13790
+ "type": {
13791
+ "text": "string | undefined"
13792
+ },
13793
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
13794
+ "attribute": "toggletip-text",
13795
+ "reflects": true
13796
+ },
13797
+ {
13798
+ "kind": "field",
13799
+ "name": "toggletipPlacement",
13800
+ "type": {
13801
+ "text": "PopoverPlacement"
13802
+ },
13803
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
13804
+ "default": "'top'",
13805
+ "attribute": "toggletip-placement",
13806
+ "reflects": true
13807
+ },
13808
+ {
13809
+ "kind": "field",
13810
+ "name": "infoIconAriaLabel",
13811
+ "type": {
13812
+ "text": "string | undefined"
13813
+ },
13814
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
13815
+ "attribute": "info-icon-aria-label",
13816
+ "reflects": true
13817
+ },
13818
+ {
13819
+ "kind": "method",
13820
+ "name": "renderLabelElement",
13821
+ "privacy": "protected",
13822
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
13823
+ "return": {
13824
+ "type": {
13825
+ "text": ""
13826
+ }
13827
+ }
13828
+ },
13829
+ {
13830
+ "kind": "method",
13831
+ "name": "renderHelpTextIcon",
13832
+ "privacy": "protected",
13833
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
13834
+ "return": {
13835
+ "type": {
13836
+ "text": ""
13837
+ }
13838
+ }
13839
+ },
13840
+ {
13841
+ "kind": "method",
13842
+ "name": "renderHelpText",
13843
+ "privacy": "protected",
13844
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
13845
+ "return": {
13846
+ "type": {
13847
+ "text": ""
13848
+ }
13849
+ }
13850
+ },
13851
+ {
13852
+ "kind": "method",
13853
+ "name": "renderLabel",
13854
+ "privacy": "protected",
13855
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
13856
+ "return": {
13857
+ "type": {
13858
+ "text": ""
13859
+ }
13860
+ }
13861
+ },
13862
+ {
13863
+ "kind": "method",
13864
+ "name": "renderHelperText",
13865
+ "privacy": "protected",
13866
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
13867
+ "return": {
13868
+ "type": {
13869
+ "text": ""
13870
+ }
13871
+ }
13872
+ },
13873
+ {
13874
+ "kind": "field",
13875
+ "name": "disabled",
13876
+ "type": {
13877
+ "text": "boolean | undefined"
13878
+ },
13879
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
13880
+ "default": "undefined",
13881
+ "attribute": "disabled",
13882
+ "reflects": true,
13883
+ "inheritedFrom": {
13884
+ "name": "DisabledMixin",
13885
+ "module": "utils/mixins/DisabledMixin.js"
13886
+ }
13887
+ }
13888
+ ],
13889
+ "attributes": [
13890
+ {
13891
+ "name": "label",
13892
+ "type": {
13893
+ "text": "string | undefined"
13894
+ },
13895
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
13896
+ "fieldName": "label"
13897
+ },
13898
+ {
13899
+ "name": "required",
13900
+ "type": {
13901
+ "text": "boolean"
13902
+ },
13903
+ "default": "false",
13904
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
13905
+ "fieldName": "required"
13906
+ },
13907
+ {
13908
+ "name": "help-text-type",
13909
+ "type": {
13910
+ "text": "ValidationType"
13911
+ },
13912
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
13913
+ "fieldName": "helpTextType"
13914
+ },
13915
+ {
13916
+ "name": "help-text",
13917
+ "type": {
13918
+ "text": "string | undefined"
13919
+ },
13920
+ "description": "The help text that is displayed below the input field.",
13921
+ "fieldName": "helpText"
13922
+ },
13923
+ {
13924
+ "name": "toggletip-text",
13925
+ "type": {
13926
+ "text": "string | undefined"
13927
+ },
13928
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
13929
+ "fieldName": "toggletipText"
13930
+ },
13931
+ {
13932
+ "name": "toggletip-placement",
13933
+ "type": {
13934
+ "text": "PopoverPlacement"
13935
+ },
13936
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
13937
+ "default": "'top'",
13938
+ "fieldName": "toggletipPlacement"
13751
13939
  },
13752
13940
  {
13753
13941
  "name": "info-icon-aria-label",
@@ -13755,13 +13943,35 @@
13755
13943
  "text": "string | undefined"
13756
13944
  },
13757
13945
  "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
13758
- "fieldName": "infoIconAriaLabel",
13946
+ "fieldName": "infoIconAriaLabel"
13947
+ },
13948
+ {
13949
+ "name": "disabled",
13950
+ "type": {
13951
+ "text": "boolean | undefined"
13952
+ },
13953
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
13954
+ "default": "undefined",
13955
+ "fieldName": "disabled",
13759
13956
  "inheritedFrom": {
13760
- "name": "FormfieldWrapper",
13761
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13957
+ "name": "DisabledMixin",
13958
+ "module": "src/utils/mixins/DisabledMixin.ts"
13762
13959
  }
13763
13960
  }
13764
- ]
13961
+ ],
13962
+ "mixins": [
13963
+ {
13964
+ "name": "DisabledMixin",
13965
+ "module": "/src/utils/mixins/DisabledMixin"
13966
+ }
13967
+ ],
13968
+ "superclass": {
13969
+ "name": "Component",
13970
+ "module": "/src/models"
13971
+ },
13972
+ "tagName": "mdc-formfieldwrapper",
13973
+ "jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
13974
+ "customElement": true
13765
13975
  }
13766
13976
  ],
13767
13977
  "exports": [
@@ -13769,8 +13979,8 @@
13769
13979
  "kind": "js",
13770
13980
  "name": "default",
13771
13981
  "declaration": {
13772
- "name": "FormfieldGroup",
13773
- "module": "components/formfieldgroup/formfieldgroup.component.js"
13982
+ "name": "FormfieldWrapper",
13983
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
13774
13984
  }
13775
13985
  }
13776
13986
  ]
@@ -13943,323 +14153,72 @@
13943
14153
  "text": "unknown"
13944
14154
  }
13945
14155
  }
13946
- ],
13947
- "description": "Dispatches an 'error' event on the component when the icon fetching has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
13948
- },
13949
- {
13950
- "kind": "method",
13951
- "name": "updateSize",
13952
- "privacy": "private",
13953
- "description": "Updates the size by setting the width and height"
13954
- },
13955
- {
13956
- "kind": "field",
13957
- "name": "computedIconSize",
13958
- "privacy": "private",
13959
- "readonly": true
13960
- }
13961
- ],
13962
- "attributes": [
13963
- {
13964
- "name": "name",
13965
- "type": {
13966
- "text": "IconNames | undefined"
13967
- },
13968
- "description": "Name of the icon (= filename)",
13969
- "fieldName": "name"
13970
- },
13971
- {
13972
- "name": "size",
13973
- "type": {
13974
- "text": "number | undefined"
13975
- },
13976
- "description": "Size of the icon (works in combination with length unit)",
13977
- "fieldName": "size"
13978
- },
13979
- {
13980
- "name": "length-unit",
13981
- "type": {
13982
- "text": "string | undefined"
13983
- },
13984
- "description": "Length unit attribute for overriding length-unit from `IconProvider`",
13985
- "fieldName": "lengthUnit"
13986
- },
13987
- {
13988
- "name": "aria-label",
13989
- "type": {
13990
- "text": "string | null"
13991
- },
13992
- "default": "null",
13993
- "description": "Aria-label attribute to be set for accessibility",
13994
- "fieldName": "ariaLabel"
13995
- },
13996
- {
13997
- "name": "aria-labelledby",
13998
- "type": {
13999
- "text": "string | null"
14000
- },
14001
- "default": "null",
14002
- "description": "Aria-labelledby attribute to be set for accessibility",
14003
- "fieldName": "ariaLabelledBy"
14004
- }
14005
- ],
14006
- "superclass": {
14007
- "name": "Component",
14008
- "module": "/src/models"
14009
- },
14010
- "tagName": "mdc-icon",
14011
- "jsDoc": "/**\n * Icon component that dynamically displays SVG icons based on a valid name.\n *\n * This component must be mounted within an `IconProvider` component.\n *\n * The `IconProvider` defines the source URL from which icons are consumed.\n * The `Icon` component accepts a `name` attribute, which corresponds to\n * the file name of the icon to be loaded from the specified URL.\n *\n * Once fetched, the icon will be rendered. If the fetching process is unsuccessful,\n * no icon will be displayed.\n *\n * The `size` attribute allows for dynamic sizing of the icon based on the provided\n * `length-unit` attribute. This unit can either come from the `IconProvider`\n * or can be overridden for each individual icon. For example:\n * if `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n * `width: 1em; height: 1em`.\n *\n * Regarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n *\n * ### Decorative Icons\n * - Decorative icons do not convey any essential information to the content of a page.\n * - They should be hidden from screen readers (SR) to prevent confusion for users.\n * - For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Icons\n * - Informative icons convey important information that is not adequately represented\n * by surrounding text or components.\n * - They provide valuable context and must be announced by assistive technologies.\n * - For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n * the role will be unset.\n *\n * ### Informative Standalone Icons\n * - If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\n * have a Tooltip that describes what it means.\n * - For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\n * and the `role` will be set to \"img\" automatically.\n * - **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**\n *\n * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n * @cssproperty --mdc-icon-size - Allows customization of the icon size.\n * @cssproperty --mdc-icon-border-radius - Allows customization of the icon border radius.\n *\n * @csspart icon - The svg inside the icon element.\n */",
14012
- "customElement": true
14013
- }
14014
- ],
14015
- "exports": [
14016
- {
14017
- "kind": "js",
14018
- "name": "default",
14019
- "declaration": {
14020
- "name": "Icon",
14021
- "module": "components/icon/icon.component.js"
14022
- }
14023
- }
14024
- ]
14025
- },
14026
- {
14027
- "kind": "javascript-module",
14028
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
14029
- "declarations": [
14030
- {
14031
- "kind": "class",
14032
- "description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
14033
- "name": "FormfieldWrapper",
14034
- "members": [
14035
- {
14036
- "kind": "field",
14037
- "name": "label",
14038
- "type": {
14039
- "text": "string | undefined"
14040
- },
14041
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14042
- "attribute": "label",
14043
- "reflects": true
14044
- },
14045
- {
14046
- "kind": "field",
14047
- "name": "required",
14048
- "type": {
14049
- "text": "boolean"
14050
- },
14051
- "default": "false",
14052
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
14053
- "attribute": "required",
14054
- "reflects": true
14055
- },
14056
- {
14057
- "kind": "field",
14058
- "name": "helpTextType",
14059
- "type": {
14060
- "text": "ValidationType"
14061
- },
14062
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14063
- "attribute": "help-text-type",
14064
- "reflects": true
14065
- },
14066
- {
14067
- "kind": "field",
14068
- "name": "helpText",
14069
- "type": {
14070
- "text": "string | undefined"
14071
- },
14072
- "description": "The help text that is displayed below the input field.",
14073
- "attribute": "help-text",
14074
- "reflects": true
14075
- },
14076
- {
14077
- "kind": "field",
14078
- "name": "toggletipText",
14079
- "type": {
14080
- "text": "string | undefined"
14081
- },
14082
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
14083
- "attribute": "toggletip-text",
14084
- "reflects": true
14085
- },
14086
- {
14087
- "kind": "field",
14088
- "name": "toggletipPlacement",
14089
- "type": {
14090
- "text": "PopoverPlacement"
14091
- },
14092
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
14093
- "default": "'top'",
14094
- "attribute": "toggletip-placement",
14095
- "reflects": true
14096
- },
14097
- {
14098
- "kind": "field",
14099
- "name": "infoIconAriaLabel",
14100
- "type": {
14101
- "text": "string | undefined"
14102
- },
14103
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
14104
- "attribute": "info-icon-aria-label",
14105
- "reflects": true
14106
- },
14107
- {
14108
- "kind": "method",
14109
- "name": "renderLabelElement",
14110
- "privacy": "protected",
14111
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
14112
- "return": {
14113
- "type": {
14114
- "text": ""
14115
- }
14116
- }
14117
- },
14118
- {
14119
- "kind": "method",
14120
- "name": "renderHelpTextIcon",
14121
- "privacy": "protected",
14122
- "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
14123
- "return": {
14124
- "type": {
14125
- "text": ""
14126
- }
14127
- }
14128
- },
14129
- {
14130
- "kind": "method",
14131
- "name": "renderHelpText",
14132
- "privacy": "protected",
14133
- "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
14134
- "return": {
14135
- "type": {
14136
- "text": ""
14137
- }
14138
- }
14139
- },
14140
- {
14141
- "kind": "method",
14142
- "name": "renderLabel",
14143
- "privacy": "protected",
14144
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
14145
- "return": {
14146
- "type": {
14147
- "text": ""
14148
- }
14149
- }
14150
- },
14151
- {
14152
- "kind": "method",
14153
- "name": "renderHelperText",
14154
- "privacy": "protected",
14155
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
14156
- "return": {
14157
- "type": {
14158
- "text": ""
14159
- }
14160
- }
14156
+ ],
14157
+ "description": "Dispatches an 'error' event on the component when the icon fetching has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
14158
+ },
14159
+ {
14160
+ "kind": "method",
14161
+ "name": "updateSize",
14162
+ "privacy": "private",
14163
+ "description": "Updates the size by setting the width and height"
14161
14164
  },
14162
14165
  {
14163
14166
  "kind": "field",
14164
- "name": "disabled",
14165
- "type": {
14166
- "text": "boolean | undefined"
14167
- },
14168
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14169
- "default": "undefined",
14170
- "attribute": "disabled",
14171
- "reflects": true,
14172
- "inheritedFrom": {
14173
- "name": "DisabledMixin",
14174
- "module": "utils/mixins/DisabledMixin.js"
14175
- }
14167
+ "name": "computedIconSize",
14168
+ "privacy": "private",
14169
+ "readonly": true
14176
14170
  }
14177
14171
  ],
14178
14172
  "attributes": [
14179
14173
  {
14180
- "name": "label",
14181
- "type": {
14182
- "text": "string | undefined"
14183
- },
14184
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14185
- "fieldName": "label"
14186
- },
14187
- {
14188
- "name": "required",
14189
- "type": {
14190
- "text": "boolean"
14191
- },
14192
- "default": "false",
14193
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
14194
- "fieldName": "required"
14195
- },
14196
- {
14197
- "name": "help-text-type",
14174
+ "name": "name",
14198
14175
  "type": {
14199
- "text": "ValidationType"
14176
+ "text": "IconNames | undefined"
14200
14177
  },
14201
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14202
- "fieldName": "helpTextType"
14178
+ "description": "Name of the icon (= filename)",
14179
+ "fieldName": "name"
14203
14180
  },
14204
14181
  {
14205
- "name": "help-text",
14182
+ "name": "size",
14206
14183
  "type": {
14207
- "text": "string | undefined"
14184
+ "text": "number | undefined"
14208
14185
  },
14209
- "description": "The help text that is displayed below the input field.",
14210
- "fieldName": "helpText"
14186
+ "description": "Size of the icon (works in combination with length unit)",
14187
+ "fieldName": "size"
14211
14188
  },
14212
14189
  {
14213
- "name": "toggletip-text",
14190
+ "name": "length-unit",
14214
14191
  "type": {
14215
14192
  "text": "string | undefined"
14216
14193
  },
14217
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
14218
- "fieldName": "toggletipText"
14219
- },
14220
- {
14221
- "name": "toggletip-placement",
14222
- "type": {
14223
- "text": "PopoverPlacement"
14224
- },
14225
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
14226
- "default": "'top'",
14227
- "fieldName": "toggletipPlacement"
14194
+ "description": "Length unit attribute for overriding length-unit from `IconProvider`",
14195
+ "fieldName": "lengthUnit"
14228
14196
  },
14229
14197
  {
14230
- "name": "info-icon-aria-label",
14198
+ "name": "aria-label",
14231
14199
  "type": {
14232
- "text": "string | undefined"
14200
+ "text": "string | null"
14233
14201
  },
14234
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
14235
- "fieldName": "infoIconAriaLabel"
14202
+ "default": "null",
14203
+ "description": "Aria-label attribute to be set for accessibility",
14204
+ "fieldName": "ariaLabel"
14236
14205
  },
14237
14206
  {
14238
- "name": "disabled",
14207
+ "name": "aria-labelledby",
14239
14208
  "type": {
14240
- "text": "boolean | undefined"
14209
+ "text": "string | null"
14241
14210
  },
14242
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14243
- "default": "undefined",
14244
- "fieldName": "disabled",
14245
- "inheritedFrom": {
14246
- "name": "DisabledMixin",
14247
- "module": "src/utils/mixins/DisabledMixin.ts"
14248
- }
14249
- }
14250
- ],
14251
- "mixins": [
14252
- {
14253
- "name": "DisabledMixin",
14254
- "module": "/src/utils/mixins/DisabledMixin"
14211
+ "default": "null",
14212
+ "description": "Aria-labelledby attribute to be set for accessibility",
14213
+ "fieldName": "ariaLabelledBy"
14255
14214
  }
14256
14215
  ],
14257
14216
  "superclass": {
14258
14217
  "name": "Component",
14259
14218
  "module": "/src/models"
14260
14219
  },
14261
- "tagName": "mdc-formfieldwrapper",
14262
- "jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
14220
+ "tagName": "mdc-icon",
14221
+ "jsDoc": "/**\n * Icon component that dynamically displays SVG icons based on a valid name.\n *\n * This component must be mounted within an `IconProvider` component.\n *\n * The `IconProvider` defines the source URL from which icons are consumed.\n * The `Icon` component accepts a `name` attribute, which corresponds to\n * the file name of the icon to be loaded from the specified URL.\n *\n * Once fetched, the icon will be rendered. If the fetching process is unsuccessful,\n * no icon will be displayed.\n *\n * The `size` attribute allows for dynamic sizing of the icon based on the provided\n * `length-unit` attribute. This unit can either come from the `IconProvider`\n * or can be overridden for each individual icon. For example:\n * if `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n * `width: 1em; height: 1em`.\n *\n * Regarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n *\n * ### Decorative Icons\n * - Decorative icons do not convey any essential information to the content of a page.\n * - They should be hidden from screen readers (SR) to prevent confusion for users.\n * - For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Icons\n * - Informative icons convey important information that is not adequately represented\n * by surrounding text or components.\n * - They provide valuable context and must be announced by assistive technologies.\n * - For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n * the role will be unset.\n *\n * ### Informative Standalone Icons\n * - If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\n * have a Tooltip that describes what it means.\n * - For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\n * and the `role` will be set to \"img\" automatically.\n * - **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**\n *\n * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n * @cssproperty --mdc-icon-size - Allows customization of the icon size.\n * @cssproperty --mdc-icon-border-radius - Allows customization of the icon border radius.\n *\n * @csspart icon - The svg inside the icon element.\n */",
14263
14222
  "customElement": true
14264
14223
  }
14265
14224
  ],
@@ -14268,8 +14227,8 @@
14268
14227
  "kind": "js",
14269
14228
  "name": "default",
14270
14229
  "declaration": {
14271
- "name": "FormfieldWrapper",
14272
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14230
+ "name": "Icon",
14231
+ "module": "components/icon/icon.component.js"
14273
14232
  }
14274
14233
  }
14275
14234
  ]
@@ -16996,196 +16955,41 @@
16996
16955
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
16997
16956
  "default": "undefined",
16998
16957
  "fieldName": "disabled",
16999
- "inheritedFrom": {
17000
- "name": "DisabledMixin",
17001
- "module": "src/utils/mixins/DisabledMixin.ts"
17002
- }
17003
- },
17004
- {
17005
- "name": "tabIndex",
17006
- "type": {
17007
- "text": "number"
17008
- },
17009
- "default": "0",
17010
- "description": "This property specifies the tab order of the element.",
17011
- "fieldName": "tabIndex",
17012
- "inheritedFrom": {
17013
- "name": "TabIndexMixin",
17014
- "module": "src/utils/mixins/TabIndexMixin.ts"
17015
- }
17016
- }
17017
- ],
17018
- "mixins": [
17019
- {
17020
- "name": "DisabledMixin",
17021
- "module": "/src/utils/mixins/DisabledMixin"
17022
- },
17023
- {
17024
- "name": "TabIndexMixin",
17025
- "module": "/src/utils/mixins/TabIndexMixin"
17026
- }
17027
- ],
17028
- "superclass": {
17029
- "name": "Component",
17030
- "module": "/src/models"
17031
- },
17032
- "tagName": "mdc-linksimple",
17033
- "jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
17034
- "customElement": true
17035
- }
17036
- ],
17037
- "exports": [
17038
- {
17039
- "kind": "js",
17040
- "name": "default",
17041
- "declaration": {
17042
- "name": "Linksimple",
17043
- "module": "components/linksimple/linksimple.component.js"
17044
- }
17045
- }
17046
- ]
17047
- },
17048
- {
17049
- "kind": "javascript-module",
17050
- "path": "components/list/list.component.js",
17051
- "declarations": [
17052
- {
17053
- "kind": "class",
17054
- "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
17055
- "name": "List",
17056
- "cssParts": [
17057
- {
17058
- "description": "The container slot around the list items",
17059
- "name": "container"
17060
- }
17061
- ],
17062
- "slots": [
17063
- {
17064
- "description": "This is a default/unnamed slot, where listitems can be placed.",
17065
- "name": "default"
17066
- },
17067
- {
17068
- "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
17069
- "name": "list-header"
17070
- }
17071
- ],
17072
- "members": [
17073
- {
17074
- "kind": "method",
17075
- "name": "handleKeyDown",
17076
- "privacy": "private",
17077
- "return": {
17078
- "type": {
17079
- "text": "void"
17080
- }
17081
- },
17082
- "parameters": [
17083
- {
17084
- "name": "event",
17085
- "type": {
17086
- "text": "KeyboardEvent"
17087
- },
17088
- "description": "The keyboard event."
17089
- }
17090
- ],
17091
- "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
17092
- },
17093
- {
17094
- "kind": "method",
17095
- "name": "getCurrentIndex",
17096
- "privacy": "private",
17097
- "return": {
17098
- "type": {
17099
- "text": ""
17100
- }
17101
- },
17102
- "parameters": [
17103
- {
17104
- "name": "target",
17105
- "type": {
17106
- "text": "EventTarget | null"
17107
- },
17108
- "description": "The target element to find the index of."
17109
- }
17110
- ],
17111
- "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
17112
- },
17113
- {
17114
- "kind": "method",
17115
- "name": "getNewIndexBasedOnKey",
17116
- "privacy": "private",
17117
- "return": {
17118
- "type": {
17119
- "text": ""
17120
- }
17121
- },
17122
- "parameters": [
17123
- {
17124
- "name": "key",
17125
- "type": {
17126
- "text": "string"
17127
- },
17128
- "description": "The key that was pressed."
17129
- },
17130
- {
17131
- "name": "currentIndex",
17132
- "type": {
17133
- "text": "number"
17134
- },
17135
- "description": "The current index of the focused list item."
17136
- },
17137
- {
17138
- "name": "wrappedDivsCount",
17139
- "type": {
17140
- "text": "number"
17141
- },
17142
- "description": "The total number of list items."
17143
- }
17144
- ],
17145
- "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
16958
+ "inheritedFrom": {
16959
+ "name": "DisabledMixin",
16960
+ "module": "src/utils/mixins/DisabledMixin.ts"
16961
+ }
17146
16962
  },
17147
16963
  {
17148
- "kind": "method",
17149
- "name": "handleMouseClick",
17150
- "privacy": "protected",
17151
- "return": {
17152
- "type": {
17153
- "text": "void"
17154
- }
16964
+ "name": "tabIndex",
16965
+ "type": {
16966
+ "text": "number"
17155
16967
  },
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."
16968
+ "default": "0",
16969
+ "description": "This property specifies the tab order of the element.",
16970
+ "fieldName": "tabIndex",
16971
+ "inheritedFrom": {
16972
+ "name": "TabIndexMixin",
16973
+ "module": "src/utils/mixins/TabIndexMixin.ts"
16974
+ }
16975
+ }
16976
+ ],
16977
+ "mixins": [
16978
+ {
16979
+ "name": "DisabledMixin",
16980
+ "module": "/src/utils/mixins/DisabledMixin"
17166
16981
  },
17167
16982
  {
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."
16983
+ "name": "TabIndexMixin",
16984
+ "module": "/src/utils/mixins/TabIndexMixin"
17181
16985
  }
17182
16986
  ],
17183
16987
  "superclass": {
17184
16988
  "name": "Component",
17185
16989
  "module": "/src/models"
17186
16990
  },
17187
- "tagName": "mdc-list",
17188
- "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
16991
+ "tagName": "mdc-linksimple",
16992
+ "jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
17189
16993
  "customElement": true
17190
16994
  }
17191
16995
  ],
@@ -17194,8 +16998,49 @@
17194
16998
  "kind": "js",
17195
16999
  "name": "default",
17196
17000
  "declaration": {
17197
- "name": "List",
17198
- "module": "components/list/list.component.js"
17001
+ "name": "Linksimple",
17002
+ "module": "components/linksimple/linksimple.component.js"
17003
+ }
17004
+ }
17005
+ ]
17006
+ },
17007
+ {
17008
+ "kind": "javascript-module",
17009
+ "path": "components/combobox/combobox.component.js",
17010
+ "declarations": [
17011
+ {
17012
+ "kind": "class",
17013
+ "description": "combobox component, which ...",
17014
+ "name": "Combobox",
17015
+ "cssProperties": [
17016
+ {
17017
+ "description": "Description of the CSS custom property",
17018
+ "name": "--custom-property-name"
17019
+ }
17020
+ ],
17021
+ "slots": [
17022
+ {
17023
+ "description": "This is a default/unnamed slot",
17024
+ "name": "default"
17025
+ }
17026
+ ],
17027
+ "members": [],
17028
+ "superclass": {
17029
+ "name": "Component",
17030
+ "module": "/src/models"
17031
+ },
17032
+ "tagName": "mdc-combobox",
17033
+ "jsDoc": "/**\n * combobox component, which ...\n *\n * @tagname mdc-combobox\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --custom-property-name - Description of the CSS custom property\n */",
17034
+ "customElement": true
17035
+ }
17036
+ ],
17037
+ "exports": [
17038
+ {
17039
+ "kind": "js",
17040
+ "name": "default",
17041
+ "declaration": {
17042
+ "name": "Combobox",
17043
+ "module": "components/combobox/combobox.component.js"
17199
17044
  }
17200
17045
  }
17201
17046
  ]
@@ -17484,6 +17329,161 @@
17484
17329
  }
17485
17330
  ]
17486
17331
  },
17332
+ {
17333
+ "kind": "javascript-module",
17334
+ "path": "components/list/list.component.js",
17335
+ "declarations": [
17336
+ {
17337
+ "kind": "class",
17338
+ "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
17339
+ "name": "List",
17340
+ "cssParts": [
17341
+ {
17342
+ "description": "The container slot around the list items",
17343
+ "name": "container"
17344
+ }
17345
+ ],
17346
+ "slots": [
17347
+ {
17348
+ "description": "This is a default/unnamed slot, where listitems can be placed.",
17349
+ "name": "default"
17350
+ },
17351
+ {
17352
+ "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
17353
+ "name": "list-header"
17354
+ }
17355
+ ],
17356
+ "members": [
17357
+ {
17358
+ "kind": "method",
17359
+ "name": "handleKeyDown",
17360
+ "privacy": "private",
17361
+ "return": {
17362
+ "type": {
17363
+ "text": "void"
17364
+ }
17365
+ },
17366
+ "parameters": [
17367
+ {
17368
+ "name": "event",
17369
+ "type": {
17370
+ "text": "KeyboardEvent"
17371
+ },
17372
+ "description": "The keyboard event."
17373
+ }
17374
+ ],
17375
+ "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
17376
+ },
17377
+ {
17378
+ "kind": "method",
17379
+ "name": "getCurrentIndex",
17380
+ "privacy": "private",
17381
+ "return": {
17382
+ "type": {
17383
+ "text": ""
17384
+ }
17385
+ },
17386
+ "parameters": [
17387
+ {
17388
+ "name": "target",
17389
+ "type": {
17390
+ "text": "EventTarget | null"
17391
+ },
17392
+ "description": "The target element to find the index of."
17393
+ }
17394
+ ],
17395
+ "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
17396
+ },
17397
+ {
17398
+ "kind": "method",
17399
+ "name": "getNewIndexBasedOnKey",
17400
+ "privacy": "private",
17401
+ "return": {
17402
+ "type": {
17403
+ "text": ""
17404
+ }
17405
+ },
17406
+ "parameters": [
17407
+ {
17408
+ "name": "key",
17409
+ "type": {
17410
+ "text": "string"
17411
+ },
17412
+ "description": "The key that was pressed."
17413
+ },
17414
+ {
17415
+ "name": "currentIndex",
17416
+ "type": {
17417
+ "text": "number"
17418
+ },
17419
+ "description": "The current index of the focused list item."
17420
+ },
17421
+ {
17422
+ "name": "wrappedDivsCount",
17423
+ "type": {
17424
+ "text": "number"
17425
+ },
17426
+ "description": "The total number of list items."
17427
+ }
17428
+ ],
17429
+ "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
17430
+ },
17431
+ {
17432
+ "kind": "method",
17433
+ "name": "handleMouseClick",
17434
+ "privacy": "protected",
17435
+ "return": {
17436
+ "type": {
17437
+ "text": "void"
17438
+ }
17439
+ },
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."
17450
+ },
17451
+ {
17452
+ "kind": "method",
17453
+ "name": "resetTabIndexAndSetActiveTabIndex",
17454
+ "privacy": "private",
17455
+ "parameters": [
17456
+ {
17457
+ "name": "newIndex",
17458
+ "type": {
17459
+ "text": "number"
17460
+ },
17461
+ "description": "The index of the new active element in the list."
17462
+ }
17463
+ ],
17464
+ "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
17465
+ }
17466
+ ],
17467
+ "superclass": {
17468
+ "name": "Component",
17469
+ "module": "/src/models"
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 */",
17473
+ "customElement": true
17474
+ }
17475
+ ],
17476
+ "exports": [
17477
+ {
17478
+ "kind": "js",
17479
+ "name": "default",
17480
+ "declaration": {
17481
+ "name": "List",
17482
+ "module": "components/list/list.component.js"
17483
+ }
17484
+ }
17485
+ ]
17486
+ },
17487
17487
  {
17488
17488
  "kind": "javascript-module",
17489
17489
  "path": "components/listheader/listheader.component.js",