@momentum-design/components 0.116.2 → 0.117.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/browser/index.js +319 -310
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/icon/icon.utils.d.ts +1 -1
  4. package/dist/components/icon/icon.utils.js +2 -2
  5. package/dist/components/iconprovider/iconprovider.component.d.ts +3 -1
  6. package/dist/components/iconprovider/iconprovider.component.js +1 -1
  7. package/dist/components/iconprovider/iconprovider.constants.d.ts +0 -1
  8. package/dist/components/iconprovider/iconprovider.constants.js +0 -1
  9. package/dist/components/illustration/illustration.component.d.ts +91 -0
  10. package/dist/components/illustration/illustration.component.js +220 -0
  11. package/dist/components/illustration/illustration.constants.d.ts +5 -0
  12. package/dist/components/illustration/illustration.constants.js +6 -0
  13. package/dist/components/illustration/illustration.styles.d.ts +2 -0
  14. package/dist/components/illustration/illustration.styles.js +15 -0
  15. package/dist/components/illustration/illustration.types.d.ts +2 -0
  16. package/dist/components/illustration/illustration.types.js +1 -0
  17. package/dist/components/illustration/illustration.utils.d.ts +32 -0
  18. package/dist/components/illustration/illustration.utils.js +79 -0
  19. package/dist/components/illustration/index.d.ts +7 -0
  20. package/dist/components/illustration/index.js +4 -0
  21. package/dist/components/illustrationprovider/illustrationprovider.component.d.ts +97 -0
  22. package/dist/components/illustrationprovider/illustrationprovider.component.js +123 -0
  23. package/dist/components/illustrationprovider/illustrationprovider.constants.d.ts +7 -0
  24. package/dist/components/illustrationprovider/illustrationprovider.constants.js +8 -0
  25. package/dist/components/illustrationprovider/illustrationprovider.context.d.ts +12 -0
  26. package/dist/components/illustrationprovider/illustrationprovider.context.js +7 -0
  27. package/dist/components/illustrationprovider/illustrationprovider.types.d.ts +3 -0
  28. package/dist/components/illustrationprovider/illustrationprovider.types.js +1 -0
  29. package/dist/components/illustrationprovider/index.d.ts +7 -0
  30. package/dist/components/illustrationprovider/index.js +4 -0
  31. package/dist/components/toast/index.d.ts +0 -1
  32. package/dist/components/toast/index.js +0 -1
  33. package/dist/components/toast/toast.component.d.ts +2 -1
  34. package/dist/components/toast/toast.component.js +6 -4
  35. package/dist/custom-elements.json +1394 -1060
  36. package/dist/index.d.ts +5 -3
  37. package/dist/index.js +5 -3
  38. package/dist/react/iconprovider/index.d.ts +1 -1
  39. package/dist/react/iconprovider/index.js +1 -1
  40. package/dist/react/illustration/index.d.ts +40 -0
  41. package/dist/react/illustration/index.js +49 -0
  42. package/dist/react/illustrationprovider/index.d.ts +31 -0
  43. package/dist/react/illustrationprovider/index.js +40 -0
  44. package/dist/react/index.d.ts +3 -1
  45. package/dist/react/index.js +3 -1
  46. package/dist/react/toast/index.d.ts +0 -1
  47. package/dist/react/toast/index.js +0 -1
  48. package/dist/utils/{icon-cache → assets-cache}/index.d.ts +2 -2
  49. package/dist/utils/{icon-cache → assets-cache}/index.js +3 -3
  50. package/package.json +1 -1
@@ -4478,22 +4478,44 @@
4478
4478
  },
4479
4479
  {
4480
4480
  "kind": "javascript-module",
4481
- "path": "components/buttonsimple/buttonsimple.component.js",
4481
+ "path": "components/buttonlink/buttonlink.component.js",
4482
4482
  "declarations": [
4483
4483
  {
4484
4484
  "kind": "class",
4485
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
4486
- "name": "Buttonsimple",
4485
+ "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
4486
+ "name": "ButtonLink",
4487
+ "cssParts": [
4488
+ {
4489
+ "description": "The anchor element that wraps the buttonlink content.",
4490
+ "name": "anchor",
4491
+ "inheritedFrom": {
4492
+ "name": "Linksimple",
4493
+ "module": "src/components/linksimple/linksimple.component.ts"
4494
+ }
4495
+ },
4496
+ {
4497
+ "description": "The prefix icon element.",
4498
+ "name": "prefix-icon"
4499
+ },
4500
+ {
4501
+ "description": "The slot containing the buttonlink text.",
4502
+ "name": "button-text"
4503
+ },
4504
+ {
4505
+ "description": "The postfix icon element.",
4506
+ "name": "postfix-icon"
4507
+ }
4508
+ ],
4487
4509
  "members": [
4488
4510
  {
4489
4511
  "kind": "field",
4490
- "name": "active",
4512
+ "name": "size",
4491
4513
  "type": {
4492
- "text": "boolean | undefined"
4514
+ "text": "PillButtonSize | IconButtonSize"
4493
4515
  },
4494
- "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.",
4495
- "default": "undefined",
4496
- "attribute": "active",
4516
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
4517
+ "default": "32",
4518
+ "attribute": "size",
4497
4519
  "reflects": true
4498
4520
  },
4499
4521
  {
@@ -4502,217 +4524,181 @@
4502
4524
  "type": {
4503
4525
  "text": "boolean | undefined"
4504
4526
  },
4505
- "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.",
4527
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4506
4528
  "default": "undefined",
4507
4529
  "attribute": "soft-disabled",
4508
4530
  "reflects": true
4509
4531
  },
4510
4532
  {
4511
- "kind": "field",
4512
- "name": "size",
4513
- "type": {
4514
- "text": "ButtonSize"
4515
- },
4516
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4517
- "default": "32",
4518
- "attribute": "size",
4519
- "reflects": true
4533
+ "kind": "method",
4534
+ "name": "setSoftDisabled",
4535
+ "privacy": "private",
4536
+ "parameters": [
4537
+ {
4538
+ "name": "element",
4539
+ "type": {
4540
+ "text": "HTMLElement"
4541
+ },
4542
+ "description": "The buttonlink element."
4543
+ },
4544
+ {
4545
+ "name": "softDisabled",
4546
+ "optional": true,
4547
+ "type": {
4548
+ "text": "boolean"
4549
+ },
4550
+ "description": "The soft-disabled state."
4551
+ }
4552
+ ],
4553
+ "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
4520
4554
  },
4521
4555
  {
4522
- "kind": "field",
4523
- "name": "role",
4524
- "type": {
4525
- "text": "RoleType"
4526
- },
4527
- "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.",
4528
- "default": "button",
4529
- "attribute": "role",
4530
- "reflects": true
4556
+ "kind": "method",
4557
+ "name": "renderAnchorContent",
4558
+ "privacy": "protected"
4531
4559
  },
4532
4560
  {
4533
4561
  "kind": "field",
4534
- "name": "ariaStateKey",
4562
+ "name": "prefixIcon",
4535
4563
  "type": {
4536
- "text": "string | undefined"
4564
+ "text": "IconNames | undefined"
4537
4565
  },
4538
- "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`",
4539
- "default": "'aria-pressed' (when)",
4540
- "attribute": "ariaStateKey",
4541
- "reflects": true
4566
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
4567
+ "attribute": "prefix-icon",
4568
+ "reflects": true,
4569
+ "inheritedFrom": {
4570
+ "name": "ButtonComponentMixin",
4571
+ "module": "utils/mixins/ButtonComponentMixin.js"
4572
+ }
4542
4573
  },
4543
4574
  {
4544
4575
  "kind": "field",
4545
- "name": "type",
4576
+ "name": "postfixIcon",
4546
4577
  "type": {
4547
- "text": "ButtonType"
4578
+ "text": "IconNames | undefined"
4548
4579
  },
4549
- "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.",
4550
- "default": "button",
4551
- "attribute": "type",
4552
- "reflects": true
4580
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
4581
+ "attribute": "postfix-icon",
4582
+ "reflects": true,
4583
+ "inheritedFrom": {
4584
+ "name": "ButtonComponentMixin",
4585
+ "module": "utils/mixins/ButtonComponentMixin.js"
4586
+ }
4553
4587
  },
4554
4588
  {
4555
4589
  "kind": "field",
4556
- "name": "name",
4590
+ "name": "variant",
4557
4591
  "type": {
4558
- "text": "string | undefined"
4592
+ "text": "ButtonVariant"
4559
4593
  },
4560
- "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.",
4561
- "attribute": "name",
4562
- "reflects": true
4594
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
4595
+ "default": "primary",
4596
+ "attribute": "variant",
4597
+ "inheritedFrom": {
4598
+ "name": "ButtonComponentMixin",
4599
+ "module": "utils/mixins/ButtonComponentMixin.js"
4600
+ }
4563
4601
  },
4564
4602
  {
4565
4603
  "kind": "field",
4566
- "name": "value",
4604
+ "name": "color",
4567
4605
  "type": {
4568
- "text": "string | undefined"
4606
+ "text": "ButtonColor"
4569
4607
  },
4570
- "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.",
4571
- "attribute": "value",
4572
- "reflects": true
4573
- },
4574
- {
4575
- "kind": "method",
4576
- "name": "executeAction",
4577
- "privacy": "protected"
4608
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
4609
+ "default": "default",
4610
+ "attribute": "color",
4611
+ "inheritedFrom": {
4612
+ "name": "ButtonComponentMixin",
4613
+ "module": "utils/mixins/ButtonComponentMixin.js"
4614
+ }
4578
4615
  },
4579
4616
  {
4580
4617
  "kind": "method",
4581
- "name": "setActive",
4618
+ "name": "setVariant",
4582
4619
  "privacy": "protected",
4583
4620
  "parameters": [
4584
4621
  {
4585
- "name": "element",
4586
- "type": {
4587
- "text": "HTMLElement"
4588
- },
4589
- "description": "The button element"
4590
- },
4591
- {
4592
- "name": "active",
4593
- "optional": true,
4594
- "type": {
4595
- "text": "boolean"
4596
- },
4597
- "description": "The active state of the element"
4598
- }
4599
- ],
4600
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
4601
- },
4602
- {
4603
- "kind": "method",
4604
- "name": "setSoftDisabled",
4605
- "privacy": "private",
4606
- "parameters": [
4607
- {
4608
- "name": "element",
4609
- "type": {
4610
- "text": "HTMLElement"
4611
- },
4612
- "description": "The button element."
4613
- },
4614
- {
4615
- "name": "softDisabled",
4616
- "optional": true,
4622
+ "name": "variant",
4617
4623
  "type": {
4618
- "text": "boolean"
4624
+ "text": "ButtonVariant"
4619
4625
  },
4620
- "description": "The soft-disabled state."
4626
+ "description": "The variant to set."
4621
4627
  }
4622
4628
  ],
4623
- "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."
4629
+ "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
4630
+ "inheritedFrom": {
4631
+ "name": "ButtonComponentMixin",
4632
+ "module": "utils/mixins/ButtonComponentMixin.js"
4633
+ }
4624
4634
  },
4625
4635
  {
4626
4636
  "kind": "method",
4627
- "name": "setDisabled",
4628
- "privacy": "private",
4637
+ "name": "setColor",
4638
+ "privacy": "protected",
4629
4639
  "parameters": [
4630
4640
  {
4631
- "name": "element",
4632
- "type": {
4633
- "text": "HTMLElement"
4634
- },
4635
- "description": "The button element."
4636
- },
4637
- {
4638
- "name": "disabled",
4641
+ "name": "color",
4639
4642
  "type": {
4640
- "text": "boolean"
4643
+ "text": "ButtonColor"
4641
4644
  },
4642
- "description": "The disabled state."
4645
+ "description": "The color to set."
4643
4646
  }
4644
4647
  ],
4645
- "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."
4646
- },
4647
- {
4648
- "kind": "method",
4649
- "name": "triggerClickEvent",
4650
- "privacy": "private"
4651
- },
4652
- {
4653
- "kind": "method",
4654
- "name": "handleBlur",
4655
- "privacy": "private",
4656
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4648
+ "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
4649
+ "inheritedFrom": {
4650
+ "name": "ButtonComponentMixin",
4651
+ "module": "utils/mixins/ButtonComponentMixin.js"
4652
+ }
4657
4653
  },
4658
4654
  {
4659
4655
  "kind": "method",
4660
- "name": "handleKeyDown",
4661
- "privacy": "private",
4656
+ "name": "setSize",
4657
+ "privacy": "protected",
4662
4658
  "parameters": [
4663
4659
  {
4664
- "name": "event",
4660
+ "name": "size",
4665
4661
  "type": {
4666
- "text": "KeyboardEvent"
4662
+ "text": "PillButtonSize | IconButtonSize"
4667
4663
  },
4668
- "description": "The keyboard event."
4664
+ "description": "The size to set."
4669
4665
  }
4670
4666
  ],
4671
- "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."
4667
+ "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
4668
+ "inheritedFrom": {
4669
+ "name": "ButtonComponentMixin",
4670
+ "module": "utils/mixins/ButtonComponentMixin.js"
4671
+ }
4672
4672
  },
4673
4673
  {
4674
4674
  "kind": "method",
4675
- "name": "handleKeyUp",
4676
- "privacy": "private",
4675
+ "name": "inferButtonType",
4676
+ "privacy": "protected",
4677
+ "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
4677
4678
  "parameters": [
4678
4679
  {
4679
- "name": "event",
4680
- "type": {
4681
- "text": "KeyboardEvent"
4682
- },
4683
- "description": "The keyboard event."
4680
+ "description": "default slot of button",
4681
+ "name": "slot"
4684
4682
  }
4685
4683
  ],
4686
- "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."
4687
- },
4688
- {
4689
- "kind": "field",
4690
- "name": "autoFocusOnMount",
4691
- "type": {
4692
- "text": "boolean"
4693
- },
4694
- "default": "false",
4695
- "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.",
4696
- "attribute": "auto-focus-on-mount",
4697
- "reflects": true,
4698
4684
  "inheritedFrom": {
4699
- "name": "AutoFocusOnMountMixin",
4700
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
4685
+ "name": "ButtonComponentMixin",
4686
+ "module": "utils/mixins/ButtonComponentMixin.js"
4701
4687
  }
4702
4688
  },
4703
4689
  {
4704
4690
  "kind": "field",
4705
- "name": "tabIndex",
4691
+ "name": "dataAriaLabel",
4706
4692
  "type": {
4707
- "text": "number"
4693
+ "text": "string | null"
4708
4694
  },
4709
- "default": "0",
4710
- "description": "This property specifies the tab order of the element.",
4711
- "attribute": "tabIndex",
4695
+ "default": "null",
4696
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
4697
+ "attribute": "data-aria-label",
4712
4698
  "reflects": true,
4713
4699
  "inheritedFrom": {
4714
- "name": "TabIndexMixin",
4715
- "module": "utils/mixins/TabIndexMixin.js"
4700
+ "name": "DataAriaLabelMixin",
4701
+ "module": "utils/mixins/DataAriaLabelMixin.js"
4716
4702
  }
4717
4703
  },
4718
4704
  {
@@ -4729,600 +4715,533 @@
4729
4715
  "name": "DisabledMixin",
4730
4716
  "module": "utils/mixins/DisabledMixin.js"
4731
4717
  }
4732
- }
4733
- ],
4734
- "events": [
4735
- {
4736
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
4737
- "name": "click",
4738
- "reactName": "onClick"
4739
- },
4740
- {
4741
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4742
- "name": "keydown",
4743
- "reactName": "onKeyDown"
4744
- },
4745
- {
4746
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4747
- "name": "keyup",
4748
- "reactName": "onKeyUp"
4749
4718
  },
4750
4719
  {
4751
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4752
- "name": "focus",
4753
- "reactName": "onFocus"
4754
- }
4755
- ],
4756
- "attributes": [
4757
- {
4758
- "name": "active",
4720
+ "kind": "field",
4721
+ "name": "inline",
4759
4722
  "type": {
4760
- "text": "boolean | undefined"
4723
+ "text": "boolean"
4761
4724
  },
4762
- "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.",
4763
- "default": "undefined",
4764
- "fieldName": "active"
4725
+ "description": "The link can be inline or standalone.",
4726
+ "default": "false",
4727
+ "attribute": "inline",
4728
+ "reflects": true,
4729
+ "inheritedFrom": {
4730
+ "name": "Linksimple",
4731
+ "module": "components/linksimple/linksimple.component.js"
4732
+ }
4765
4733
  },
4766
4734
  {
4767
- "name": "soft-disabled",
4735
+ "kind": "field",
4736
+ "name": "inverted",
4768
4737
  "type": {
4769
- "text": "boolean | undefined"
4738
+ "text": "boolean"
4770
4739
  },
4771
- "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.",
4772
- "default": "undefined",
4773
- "fieldName": "softDisabled"
4740
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
4741
+ "default": "false",
4742
+ "attribute": "inverted",
4743
+ "reflects": true,
4744
+ "inheritedFrom": {
4745
+ "name": "Linksimple",
4746
+ "module": "components/linksimple/linksimple.component.js"
4747
+ }
4774
4748
  },
4775
4749
  {
4776
- "name": "size",
4750
+ "kind": "field",
4751
+ "name": "href",
4777
4752
  "type": {
4778
- "text": "ButtonSize"
4753
+ "text": "string | undefined"
4779
4754
  },
4780
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4781
- "default": "32",
4782
- "fieldName": "size"
4755
+ "description": "Href for navigation. The URL that the hyperlink points to",
4756
+ "attribute": "href",
4757
+ "reflects": true,
4758
+ "inheritedFrom": {
4759
+ "name": "Linksimple",
4760
+ "module": "components/linksimple/linksimple.component.js"
4761
+ }
4783
4762
  },
4784
4763
  {
4785
- "name": "role",
4764
+ "kind": "field",
4765
+ "name": "target",
4786
4766
  "type": {
4787
- "text": "RoleType"
4767
+ "text": "string"
4788
4768
  },
4789
- "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.",
4790
- "default": "button",
4791
- "fieldName": "role"
4769
+ "default": "'_self'",
4770
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
4771
+ "attribute": "target",
4772
+ "reflects": true,
4773
+ "inheritedFrom": {
4774
+ "name": "Linksimple",
4775
+ "module": "components/linksimple/linksimple.component.js"
4776
+ }
4792
4777
  },
4793
4778
  {
4794
- "name": "ariaStateKey",
4779
+ "kind": "field",
4780
+ "name": "rel",
4795
4781
  "type": {
4796
4782
  "text": "string | undefined"
4797
4783
  },
4798
- "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`",
4799
- "default": "'aria-pressed' (when)",
4800
- "fieldName": "ariaStateKey"
4784
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
4785
+ "attribute": "rel",
4786
+ "reflects": true,
4787
+ "inheritedFrom": {
4788
+ "name": "Linksimple",
4789
+ "module": "components/linksimple/linksimple.component.js"
4790
+ }
4801
4791
  },
4802
4792
  {
4803
- "name": "type",
4793
+ "kind": "field",
4794
+ "name": "download",
4804
4795
  "type": {
4805
- "text": "ButtonType"
4796
+ "text": "string | undefined"
4806
4797
  },
4807
- "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.",
4808
- "default": "button",
4809
- "fieldName": "type"
4798
+ "description": "Optional download attribute to instruct browsers to download the linked resource.",
4799
+ "attribute": "download",
4800
+ "reflects": true,
4801
+ "inheritedFrom": {
4802
+ "name": "Linksimple",
4803
+ "module": "components/linksimple/linksimple.component.js"
4804
+ }
4810
4805
  },
4811
4806
  {
4812
- "name": "name",
4807
+ "kind": "field",
4808
+ "name": "ping",
4813
4809
  "type": {
4814
4810
  "text": "string | undefined"
4815
4811
  },
4816
- "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.",
4817
- "fieldName": "name"
4812
+ "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
4813
+ "attribute": "ping",
4814
+ "reflects": true,
4815
+ "inheritedFrom": {
4816
+ "name": "Linksimple",
4817
+ "module": "components/linksimple/linksimple.component.js"
4818
+ }
4818
4819
  },
4819
4820
  {
4820
- "name": "value",
4821
+ "kind": "field",
4822
+ "name": "hreflang",
4821
4823
  "type": {
4822
4824
  "text": "string | undefined"
4823
4825
  },
4824
- "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.",
4825
- "fieldName": "value"
4826
+ "description": "Optional hreflang attribute specifying the language of the linked resource.",
4827
+ "attribute": "hreflang",
4828
+ "reflects": true,
4829
+ "inheritedFrom": {
4830
+ "name": "Linksimple",
4831
+ "module": "components/linksimple/linksimple.component.js"
4832
+ }
4826
4833
  },
4827
4834
  {
4828
- "name": "auto-focus-on-mount",
4835
+ "kind": "field",
4836
+ "name": "type",
4829
4837
  "type": {
4830
- "text": "boolean"
4838
+ "text": "string | undefined"
4831
4839
  },
4832
- "default": "false",
4833
- "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.",
4834
- "fieldName": "autoFocusOnMount",
4840
+ "description": "Optional type attribute indicating the MIME type of the linked resource.",
4841
+ "attribute": "type",
4842
+ "reflects": true,
4835
4843
  "inheritedFrom": {
4836
- "name": "AutoFocusOnMountMixin",
4837
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
4844
+ "name": "Linksimple",
4845
+ "module": "components/linksimple/linksimple.component.js"
4838
4846
  }
4839
4847
  },
4840
4848
  {
4841
- "name": "tabIndex",
4849
+ "kind": "field",
4850
+ "name": "referrerpolicy",
4842
4851
  "type": {
4843
- "text": "number"
4852
+ "text": "string | undefined"
4844
4853
  },
4845
- "default": "0",
4846
- "description": "This property specifies the tab order of the element.",
4847
- "fieldName": "tabIndex",
4854
+ "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
4855
+ "attribute": "referrerpolicy",
4856
+ "reflects": true,
4848
4857
  "inheritedFrom": {
4849
- "name": "TabIndexMixin",
4850
- "module": "src/utils/mixins/TabIndexMixin.ts"
4858
+ "name": "Linksimple",
4859
+ "module": "components/linksimple/linksimple.component.js"
4851
4860
  }
4852
4861
  },
4853
4862
  {
4854
- "name": "disabled",
4855
- "type": {
4856
- "text": "boolean | undefined"
4863
+ "kind": "method",
4864
+ "name": "handleNavigation",
4865
+ "privacy": "protected",
4866
+ "return": {
4867
+ "type": {
4868
+ "text": "void"
4869
+ }
4857
4870
  },
4858
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4859
- "default": "undefined",
4860
- "fieldName": "disabled",
4871
+ "parameters": [
4872
+ {
4873
+ "name": "e",
4874
+ "type": {
4875
+ "text": "MouseEvent | KeyboardEvent"
4876
+ }
4877
+ }
4878
+ ],
4861
4879
  "inheritedFrom": {
4862
- "name": "DisabledMixin",
4863
- "module": "src/utils/mixins/DisabledMixin.ts"
4880
+ "name": "Linksimple",
4881
+ "module": "components/linksimple/linksimple.component.js"
4882
+ }
4883
+ },
4884
+ {
4885
+ "kind": "method",
4886
+ "name": "setDisabled",
4887
+ "privacy": "private",
4888
+ "parameters": [
4889
+ {
4890
+ "name": "disabled",
4891
+ "type": {
4892
+ "text": "boolean"
4893
+ },
4894
+ "description": "Whether the element should be disabled"
4895
+ }
4896
+ ],
4897
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
4898
+ "inheritedFrom": {
4899
+ "name": "Linksimple",
4900
+ "module": "components/linksimple/linksimple.component.js"
4864
4901
  }
4865
4902
  }
4866
4903
  ],
4867
- "mixins": [
4868
- {
4869
- "name": "AutoFocusOnMountMixin",
4870
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
4871
- },
4904
+ "events": [
4872
4905
  {
4873
- "name": "TabIndexMixin",
4874
- "module": "/src/utils/mixins/TabIndexMixin"
4906
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
4907
+ "name": "click",
4908
+ "reactName": "onClick",
4909
+ "inheritedFrom": {
4910
+ "name": "Linksimple",
4911
+ "module": "src/components/linksimple/linksimple.component.ts"
4912
+ }
4875
4913
  },
4876
4914
  {
4877
- "name": "DisabledMixin",
4878
- "module": "/src/utils/mixins/DisabledMixin"
4879
- }
4880
- ],
4881
- "superclass": {
4882
- "name": "Component",
4883
- "module": "/src/models"
4884
- },
4885
- "tagName": "mdc-buttonsimple",
4886
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
4887
- "customElement": true
4888
- }
4889
- ],
4890
- "exports": [
4891
- {
4892
- "kind": "js",
4893
- "name": "default",
4894
- "declaration": {
4895
- "name": "Buttonsimple",
4896
- "module": "components/buttonsimple/buttonsimple.component.js"
4897
- }
4898
- }
4899
- ]
4900
- },
4901
- {
4902
- "kind": "javascript-module",
4903
- "path": "components/card/card.component.js",
4904
- "declarations": [
4905
- {
4906
- "kind": "class",
4907
- "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'.",
4908
- "name": "Card",
4909
- "cssProperties": [
4910
- {
4911
- "description": "The width of the card",
4912
- "name": "--mdc-card-width"
4913
- }
4914
- ],
4915
- "cssParts": [
4916
- {
4917
- "description": "The header part of the card",
4918
- "name": "header"
4919
- },
4920
- {
4921
- "description": "The icon part of the card header",
4922
- "name": "icon"
4923
- },
4924
- {
4925
- "description": "The body part of the card",
4926
- "name": "body"
4927
- },
4928
- {
4929
- "description": "The image part of the card",
4930
- "name": "image"
4931
- },
4932
- {
4933
- "description": "The footer part of the card",
4934
- "name": "footer"
4935
- },
4936
- {
4937
- "description": "The link part of the card footer",
4938
- "name": "footer-link"
4939
- },
4940
- {
4941
- "description": "The primary button part of the card footer",
4942
- "name": "footer-button-primary"
4943
- },
4944
- {
4945
- "description": "The secondary button part of the card footer",
4946
- "name": "footer-button-secondary"
4915
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
4916
+ "name": "keydown",
4917
+ "reactName": "onKeyDown",
4918
+ "inheritedFrom": {
4919
+ "name": "Linksimple",
4920
+ "module": "src/components/linksimple/linksimple.component.ts"
4921
+ }
4947
4922
  },
4948
4923
  {
4949
- "description": "The icon button part of the card header",
4950
- "name": "icon-button"
4924
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
4925
+ "name": "focus",
4926
+ "reactName": "onFocus",
4927
+ "inheritedFrom": {
4928
+ "name": "Linksimple",
4929
+ "module": "src/components/linksimple/linksimple.component.ts"
4930
+ }
4951
4931
  },
4952
4932
  {
4953
- "description": "The text part of the card",
4954
- "name": "text"
4933
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
4934
+ "name": "blur",
4935
+ "reactName": "onBlur",
4936
+ "inheritedFrom": {
4937
+ "name": "Linksimple",
4938
+ "module": "src/components/linksimple/linksimple.component.ts"
4939
+ }
4955
4940
  }
4956
4941
  ],
4957
- "slots": [
4958
- {
4959
- "description": "This slot is for passing the content before the body",
4960
- "name": "before-body"
4961
- },
4962
- {
4963
- "description": "This slot is for passing the text content for the card",
4964
- "name": "body"
4965
- },
4942
+ "attributes": [
4966
4943
  {
4967
- "description": "This slot is for passing the content after the body",
4968
- "name": "after-body"
4944
+ "name": "size",
4945
+ "type": {
4946
+ "text": "PillButtonSize | IconButtonSize"
4947
+ },
4948
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
4949
+ "default": "32",
4950
+ "fieldName": "size"
4969
4951
  },
4970
4952
  {
4971
- "description": "This slot is for passing `mdc-link` component within the footer section.",
4972
- "name": "footer-link"
4953
+ "name": "soft-disabled",
4954
+ "type": {
4955
+ "text": "boolean | undefined"
4956
+ },
4957
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4958
+ "default": "undefined",
4959
+ "fieldName": "softDisabled"
4973
4960
  },
4974
4961
  {
4975
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4976
- "name": "footer-button-primary"
4962
+ "name": "prefix-icon",
4963
+ "type": {
4964
+ "text": "IconNames | undefined"
4965
+ },
4966
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
4967
+ "fieldName": "prefixIcon",
4968
+ "inheritedFrom": {
4969
+ "name": "ButtonComponentMixin",
4970
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
4971
+ }
4977
4972
  },
4978
4973
  {
4979
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
4980
- "name": "footer-button-secondary"
4974
+ "name": "postfix-icon",
4975
+ "type": {
4976
+ "text": "IconNames | undefined"
4977
+ },
4978
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
4979
+ "fieldName": "postfixIcon",
4980
+ "inheritedFrom": {
4981
+ "name": "ButtonComponentMixin",
4982
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
4983
+ }
4981
4984
  },
4982
4985
  {
4983
- "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.",
4984
- "name": "footer"
4985
- }
4986
- ],
4987
- "members": [
4988
- {
4989
- "kind": "method",
4990
- "name": "renderHeader",
4991
- "privacy": "protected",
4992
- "description": "Renders the header of the card if title is provided",
4993
- "return": {
4994
- "type": {
4995
- "text": ""
4996
- }
4986
+ "name": "variant",
4987
+ "type": {
4988
+ "text": "ButtonVariant"
4989
+ },
4990
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
4991
+ "default": "primary",
4992
+ "fieldName": "variant",
4993
+ "inheritedFrom": {
4994
+ "name": "ButtonComponentMixin",
4995
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
4997
4996
  }
4998
4997
  },
4999
4998
  {
5000
- "kind": "field",
5001
- "name": "cardTitle",
4999
+ "name": "color",
5002
5000
  "type": {
5003
- "text": "string"
5001
+ "text": "ButtonColor"
5004
5002
  },
5005
- "default": "''",
5006
- "description": "The title of the card - part of header section",
5007
- "attribute": "card-title",
5008
- "reflects": true,
5003
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
5004
+ "default": "default",
5005
+ "fieldName": "color",
5009
5006
  "inheritedFrom": {
5010
- "name": "CardComponentMixin",
5011
- "module": "utils/mixins/CardComponentMixin.js"
5007
+ "name": "ButtonComponentMixin",
5008
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
5012
5009
  }
5013
5010
  },
5014
5011
  {
5015
- "kind": "field",
5016
- "name": "subtitle",
5012
+ "name": "data-aria-label",
5017
5013
  "type": {
5018
- "text": "string"
5014
+ "text": "string | null"
5019
5015
  },
5020
- "default": "''",
5021
- "description": "The subtitle of the card - part of header section",
5022
- "attribute": "subtitle",
5023
- "reflects": true,
5016
+ "default": "null",
5017
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5018
+ "fieldName": "dataAriaLabel",
5024
5019
  "inheritedFrom": {
5025
- "name": "CardComponentMixin",
5026
- "module": "utils/mixins/CardComponentMixin.js"
5020
+ "name": "DataAriaLabelMixin",
5021
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
5027
5022
  }
5028
5023
  },
5029
5024
  {
5030
- "kind": "field",
5031
- "name": "imageSrc",
5025
+ "name": "disabled",
5032
5026
  "type": {
5033
- "text": "string"
5027
+ "text": "boolean | undefined"
5034
5028
  },
5035
- "default": "''",
5036
- "description": "The image source URL to render on the card",
5037
- "attribute": "image-src",
5038
- "reflects": true,
5029
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5030
+ "default": "undefined",
5031
+ "fieldName": "disabled",
5039
5032
  "inheritedFrom": {
5040
- "name": "CardComponentMixin",
5041
- "module": "utils/mixins/CardComponentMixin.js"
5033
+ "name": "DisabledMixin",
5034
+ "module": "src/utils/mixins/DisabledMixin.ts"
5042
5035
  }
5043
5036
  },
5044
5037
  {
5045
- "kind": "field",
5046
- "name": "imageAlt",
5038
+ "name": "inline",
5047
5039
  "type": {
5048
- "text": "string"
5040
+ "text": "boolean"
5049
5041
  },
5050
- "default": "''",
5051
- "description": "The image alt for accessibility support",
5052
- "attribute": "image-alt",
5053
- "reflects": true,
5042
+ "description": "The link can be inline or standalone.",
5043
+ "default": "false",
5044
+ "fieldName": "inline",
5054
5045
  "inheritedFrom": {
5055
- "name": "CardComponentMixin",
5056
- "module": "utils/mixins/CardComponentMixin.js"
5046
+ "name": "Linksimple",
5047
+ "module": "src/components/linksimple/linksimple.component.ts"
5057
5048
  }
5058
5049
  },
5059
5050
  {
5060
- "kind": "field",
5061
- "name": "variant",
5051
+ "name": "inverted",
5062
5052
  "type": {
5063
- "text": "CardVariant"
5053
+ "text": "boolean"
5064
5054
  },
5065
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5066
- "default": "'border'",
5067
- "attribute": "variant",
5068
- "reflects": true,
5055
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
5056
+ "default": "false",
5057
+ "fieldName": "inverted",
5069
5058
  "inheritedFrom": {
5070
- "name": "CardComponentMixin",
5071
- "module": "utils/mixins/CardComponentMixin.js"
5059
+ "name": "Linksimple",
5060
+ "module": "src/components/linksimple/linksimple.component.ts"
5072
5061
  }
5073
5062
  },
5074
5063
  {
5075
- "kind": "field",
5076
- "name": "orientation",
5064
+ "name": "href",
5077
5065
  "type": {
5078
- "text": "CardOrientation"
5066
+ "text": "string | undefined"
5079
5067
  },
5080
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5081
- "default": "'vertical'",
5082
- "attribute": "orientation",
5083
- "reflects": true,
5068
+ "description": "Href for navigation. The URL that the hyperlink points to",
5069
+ "fieldName": "href",
5084
5070
  "inheritedFrom": {
5085
- "name": "CardComponentMixin",
5086
- "module": "utils/mixins/CardComponentMixin.js"
5071
+ "name": "Linksimple",
5072
+ "module": "src/components/linksimple/linksimple.component.ts"
5087
5073
  }
5088
5074
  },
5089
5075
  {
5090
- "kind": "field",
5091
- "name": "titleTagName",
5076
+ "name": "target",
5092
5077
  "type": {
5093
- "text": "TagNameType"
5078
+ "text": "string"
5094
5079
  },
5095
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5096
- "default": "'span'",
5097
- "attribute": "title-tag-name",
5098
- "reflects": true,
5080
+ "default": "'_self'",
5081
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
5082
+ "fieldName": "target",
5099
5083
  "inheritedFrom": {
5100
- "name": "CardComponentMixin",
5101
- "module": "utils/mixins/CardComponentMixin.js"
5084
+ "name": "Linksimple",
5085
+ "module": "src/components/linksimple/linksimple.component.ts"
5102
5086
  }
5103
5087
  },
5104
5088
  {
5105
- "kind": "field",
5106
- "name": "subtitleTagName",
5089
+ "name": "rel",
5107
5090
  "type": {
5108
- "text": "TagNameType"
5091
+ "text": "string | undefined"
5109
5092
  },
5110
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5111
- "default": "'span'",
5112
- "attribute": "subtitle-tag-name",
5113
- "reflects": true,
5093
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
5094
+ "fieldName": "rel",
5114
5095
  "inheritedFrom": {
5115
- "name": "CardComponentMixin",
5116
- "module": "utils/mixins/CardComponentMixin.js"
5096
+ "name": "Linksimple",
5097
+ "module": "src/components/linksimple/linksimple.component.ts"
5117
5098
  }
5118
5099
  },
5119
5100
  {
5120
- "kind": "field",
5121
- "name": "iconName",
5101
+ "name": "download",
5122
5102
  "type": {
5123
- "text": "IconNames | undefined"
5103
+ "text": "string | undefined"
5124
5104
  },
5125
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5126
- "attribute": "icon-name",
5127
- "reflects": true,
5105
+ "description": "Optional download attribute to instruct browsers to download the linked resource.",
5106
+ "fieldName": "download",
5128
5107
  "inheritedFrom": {
5129
- "name": "CardComponentMixin",
5130
- "module": "utils/mixins/CardComponentMixin.js"
5108
+ "name": "Linksimple",
5109
+ "module": "src/components/linksimple/linksimple.component.ts"
5131
5110
  }
5132
5111
  },
5133
5112
  {
5134
- "kind": "method",
5135
- "name": "renderImage",
5136
- "privacy": "protected",
5137
- "description": "Renders the image on the card if image source is provided",
5138
- "return": {
5139
- "type": {
5140
- "text": ""
5141
- }
5113
+ "name": "ping",
5114
+ "type": {
5115
+ "text": "string | undefined"
5142
5116
  },
5117
+ "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
5118
+ "fieldName": "ping",
5143
5119
  "inheritedFrom": {
5144
- "name": "CardComponentMixin",
5145
- "module": "utils/mixins/CardComponentMixin.js"
5120
+ "name": "Linksimple",
5121
+ "module": "src/components/linksimple/linksimple.component.ts"
5146
5122
  }
5147
5123
  },
5148
5124
  {
5149
- "kind": "method",
5150
- "name": "renderIcon",
5151
- "privacy": "protected",
5152
- "description": "Renders the icon on the card if icon name is provided",
5153
- "return": {
5154
- "type": {
5155
- "text": ""
5156
- }
5125
+ "name": "hreflang",
5126
+ "type": {
5127
+ "text": "string | undefined"
5157
5128
  },
5129
+ "description": "Optional hreflang attribute specifying the language of the linked resource.",
5130
+ "fieldName": "hreflang",
5158
5131
  "inheritedFrom": {
5159
- "name": "CardComponentMixin",
5160
- "module": "utils/mixins/CardComponentMixin.js"
5132
+ "name": "Linksimple",
5133
+ "module": "src/components/linksimple/linksimple.component.ts"
5161
5134
  }
5162
5135
  },
5163
5136
  {
5164
- "kind": "method",
5165
- "name": "renderTitle",
5166
- "privacy": "protected",
5167
- "description": "Renders the title and subtitle on the card",
5168
- "return": {
5169
- "type": {
5170
- "text": ""
5171
- }
5137
+ "name": "type",
5138
+ "type": {
5139
+ "text": "string | undefined"
5172
5140
  },
5141
+ "description": "Optional type attribute indicating the MIME type of the linked resource.",
5142
+ "fieldName": "type",
5173
5143
  "inheritedFrom": {
5174
- "name": "CardComponentMixin",
5175
- "module": "utils/mixins/CardComponentMixin.js"
5144
+ "name": "Linksimple",
5145
+ "module": "src/components/linksimple/linksimple.component.ts"
5176
5146
  }
5177
5147
  },
5178
5148
  {
5179
- "kind": "method",
5180
- "name": "renderFooter",
5181
- "privacy": "protected",
5182
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
5183
- "return": {
5184
- "type": {
5185
- "text": ""
5186
- }
5149
+ "name": "referrerpolicy",
5150
+ "type": {
5151
+ "text": "string | undefined"
5187
5152
  },
5153
+ "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
5154
+ "fieldName": "referrerpolicy",
5188
5155
  "inheritedFrom": {
5189
- "name": "FooterMixin",
5190
- "module": "utils/mixins/FooterMixin.js"
5156
+ "name": "Linksimple",
5157
+ "module": "src/components/linksimple/linksimple.component.ts"
5191
5158
  }
5192
5159
  }
5193
5160
  ],
5194
5161
  "mixins": [
5195
5162
  {
5196
- "name": "CardComponentMixin",
5197
- "module": "/src/utils/mixins/CardComponentMixin"
5198
- },
5199
- {
5200
- "name": "FooterMixin",
5201
- "module": "/src/utils/mixins/FooterMixin"
5163
+ "name": "ButtonComponentMixin",
5164
+ "module": "/src/utils/mixins/ButtonComponentMixin"
5202
5165
  }
5203
5166
  ],
5204
5167
  "superclass": {
5205
- "name": "Component",
5206
- "module": "/src/models"
5168
+ "name": "Linksimple",
5169
+ "module": "/src/components/linksimple/linksimple.component"
5207
5170
  },
5208
- "tagName": "mdc-card",
5209
- "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 */",
5171
+ "tagName": "mdc-buttonlink",
5172
+ "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @csspart anchor - The anchor element that wraps the buttonlink content.\n * @csspart prefix-icon - The prefix icon element.\n * @csspart button-text - The slot containing the buttonlink text.\n * @csspart postfix-icon - The postfix icon element.\n *\n */",
5210
5173
  "customElement": true,
5211
- "attributes": [
5174
+ "cssProperties": [
5212
5175
  {
5213
- "name": "card-title",
5214
- "type": {
5215
- "text": "string"
5216
- },
5217
- "default": "''",
5218
- "description": "The title of the card - part of header section",
5219
- "fieldName": "cardTitle",
5176
+ "description": "Border radius of the link.",
5177
+ "name": "--mdc-link-border-radius",
5220
5178
  "inheritedFrom": {
5221
- "name": "CardComponentMixin",
5222
- "module": "src/utils/mixins/CardComponentMixin.ts"
5179
+ "name": "Linksimple",
5180
+ "module": "src/components/linksimple/linksimple.component.ts"
5223
5181
  }
5224
5182
  },
5225
5183
  {
5226
- "name": "subtitle",
5227
- "type": {
5228
- "text": "string"
5229
- },
5230
- "default": "''",
5231
- "description": "The subtitle of the card - part of header section",
5232
- "fieldName": "subtitle",
5184
+ "description": "Color of the link’s child content in the active state.",
5185
+ "name": "--mdc-link-color-active",
5233
5186
  "inheritedFrom": {
5234
- "name": "CardComponentMixin",
5235
- "module": "src/utils/mixins/CardComponentMixin.ts"
5187
+ "name": "Linksimple",
5188
+ "module": "src/components/linksimple/linksimple.component.ts"
5236
5189
  }
5237
5190
  },
5238
5191
  {
5239
- "name": "image-src",
5240
- "type": {
5241
- "text": "string"
5242
- },
5243
- "default": "''",
5244
- "description": "The image source URL to render on the card",
5245
- "fieldName": "imageSrc",
5192
+ "description": "Color of the link’s child content in the disabled state.",
5193
+ "name": "--mdc-link-color-disabled",
5246
5194
  "inheritedFrom": {
5247
- "name": "CardComponentMixin",
5248
- "module": "src/utils/mixins/CardComponentMixin.ts"
5195
+ "name": "Linksimple",
5196
+ "module": "src/components/linksimple/linksimple.component.ts"
5249
5197
  }
5250
5198
  },
5251
5199
  {
5252
- "name": "image-alt",
5253
- "type": {
5254
- "text": "string"
5255
- },
5256
- "default": "''",
5257
- "description": "The image alt for accessibility support",
5258
- "fieldName": "imageAlt",
5200
+ "description": "Color of the link’s child content in the hover state.",
5201
+ "name": "--mdc-link-color-hover",
5259
5202
  "inheritedFrom": {
5260
- "name": "CardComponentMixin",
5261
- "module": "src/utils/mixins/CardComponentMixin.ts"
5203
+ "name": "Linksimple",
5204
+ "module": "src/components/linksimple/linksimple.component.ts"
5262
5205
  }
5263
5206
  },
5264
5207
  {
5265
- "name": "variant",
5266
- "type": {
5267
- "text": "CardVariant"
5268
- },
5269
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5270
- "default": "'border'",
5271
- "fieldName": "variant",
5208
+ "description": "Color of the link’s child content in the normal state.",
5209
+ "name": "--mdc-link-color-normal",
5272
5210
  "inheritedFrom": {
5273
- "name": "CardComponentMixin",
5274
- "module": "src/utils/mixins/CardComponentMixin.ts"
5211
+ "name": "Linksimple",
5212
+ "module": "src/components/linksimple/linksimple.component.ts"
5275
5213
  }
5276
5214
  },
5277
5215
  {
5278
- "name": "orientation",
5279
- "type": {
5280
- "text": "CardOrientation"
5281
- },
5282
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5283
- "default": "'vertical'",
5284
- "fieldName": "orientation",
5216
+ "description": "Color of the inverted link’s child content in the active state.",
5217
+ "name": "--mdc-link-inverted-color-active",
5285
5218
  "inheritedFrom": {
5286
- "name": "CardComponentMixin",
5287
- "module": "src/utils/mixins/CardComponentMixin.ts"
5219
+ "name": "Linksimple",
5220
+ "module": "src/components/linksimple/linksimple.component.ts"
5288
5221
  }
5289
5222
  },
5290
5223
  {
5291
- "name": "title-tag-name",
5292
- "type": {
5293
- "text": "TagNameType"
5294
- },
5295
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5296
- "default": "'span'",
5297
- "fieldName": "titleTagName",
5224
+ "description": "Color of the inverted link’s child content in the disabled state.",
5225
+ "name": "--mdc-link-inverted-color-disabled",
5298
5226
  "inheritedFrom": {
5299
- "name": "CardComponentMixin",
5300
- "module": "src/utils/mixins/CardComponentMixin.ts"
5227
+ "name": "Linksimple",
5228
+ "module": "src/components/linksimple/linksimple.component.ts"
5301
5229
  }
5302
5230
  },
5303
5231
  {
5304
- "name": "subtitle-tag-name",
5305
- "type": {
5306
- "text": "TagNameType"
5307
- },
5308
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5309
- "default": "'span'",
5310
- "fieldName": "subtitleTagName",
5232
+ "description": "Color of the inverted link’s child content in the hover state.",
5233
+ "name": "--mdc-link-inverted-color-hover",
5311
5234
  "inheritedFrom": {
5312
- "name": "CardComponentMixin",
5313
- "module": "src/utils/mixins/CardComponentMixin.ts"
5235
+ "name": "Linksimple",
5236
+ "module": "src/components/linksimple/linksimple.component.ts"
5314
5237
  }
5315
5238
  },
5316
5239
  {
5317
- "name": "icon-name",
5318
- "type": {
5319
- "text": "IconNames | undefined"
5320
- },
5321
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5322
- "fieldName": "iconName",
5240
+ "description": "Color of the inverted link’s child content in the normal state.",
5241
+ "name": "--mdc-link-inverted-color-normal",
5323
5242
  "inheritedFrom": {
5324
- "name": "CardComponentMixin",
5325
- "module": "src/utils/mixins/CardComponentMixin.ts"
5243
+ "name": "Linksimple",
5244
+ "module": "src/components/linksimple/linksimple.component.ts"
5326
5245
  }
5327
5246
  }
5328
5247
  ]
@@ -5333,52 +5252,30 @@
5333
5252
  "kind": "js",
5334
5253
  "name": "default",
5335
5254
  "declaration": {
5336
- "name": "Card",
5337
- "module": "components/card/card.component.js"
5255
+ "name": "ButtonLink",
5256
+ "module": "components/buttonlink/buttonlink.component.js"
5338
5257
  }
5339
5258
  }
5340
5259
  ]
5341
5260
  },
5342
5261
  {
5343
5262
  "kind": "javascript-module",
5344
- "path": "components/buttonlink/buttonlink.component.js",
5263
+ "path": "components/buttonsimple/buttonsimple.component.js",
5345
5264
  "declarations": [
5346
5265
  {
5347
5266
  "kind": "class",
5348
- "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
5349
- "name": "ButtonLink",
5350
- "cssParts": [
5351
- {
5352
- "description": "The anchor element that wraps the buttonlink content.",
5353
- "name": "anchor",
5354
- "inheritedFrom": {
5355
- "name": "Linksimple",
5356
- "module": "src/components/linksimple/linksimple.component.ts"
5357
- }
5358
- },
5359
- {
5360
- "description": "The prefix icon element.",
5361
- "name": "prefix-icon"
5362
- },
5363
- {
5364
- "description": "The slot containing the buttonlink text.",
5365
- "name": "button-text"
5366
- },
5367
- {
5368
- "description": "The postfix icon element.",
5369
- "name": "postfix-icon"
5370
- }
5371
- ],
5267
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
5268
+ "name": "Buttonsimple",
5372
5269
  "members": [
5373
5270
  {
5374
5271
  "kind": "field",
5375
- "name": "size",
5272
+ "name": "active",
5376
5273
  "type": {
5377
- "text": "PillButtonSize | IconButtonSize"
5274
+ "text": "boolean | undefined"
5378
5275
  },
5379
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
5380
- "default": "32",
5381
- "attribute": "size",
5276
+ "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.",
5277
+ "default": "undefined",
5278
+ "attribute": "active",
5382
5279
  "reflects": true
5383
5280
  },
5384
5281
  {
@@ -5387,181 +5284,217 @@
5387
5284
  "type": {
5388
5285
  "text": "boolean | undefined"
5389
5286
  },
5390
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
5287
+ "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.",
5391
5288
  "default": "undefined",
5392
5289
  "attribute": "soft-disabled",
5393
5290
  "reflects": true
5394
5291
  },
5395
5292
  {
5396
- "kind": "method",
5397
- "name": "setSoftDisabled",
5398
- "privacy": "private",
5399
- "parameters": [
5400
- {
5401
- "name": "element",
5402
- "type": {
5403
- "text": "HTMLElement"
5404
- },
5405
- "description": "The buttonlink element."
5406
- },
5407
- {
5408
- "name": "softDisabled",
5409
- "optional": true,
5410
- "type": {
5411
- "text": "boolean"
5412
- },
5413
- "description": "The soft-disabled state."
5414
- }
5415
- ],
5416
- "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
5293
+ "kind": "field",
5294
+ "name": "size",
5295
+ "type": {
5296
+ "text": "ButtonSize"
5297
+ },
5298
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5299
+ "default": "32",
5300
+ "attribute": "size",
5301
+ "reflects": true
5417
5302
  },
5418
5303
  {
5419
- "kind": "method",
5420
- "name": "renderAnchorContent",
5421
- "privacy": "protected"
5304
+ "kind": "field",
5305
+ "name": "role",
5306
+ "type": {
5307
+ "text": "RoleType"
5308
+ },
5309
+ "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.",
5310
+ "default": "button",
5311
+ "attribute": "role",
5312
+ "reflects": true
5422
5313
  },
5423
5314
  {
5424
5315
  "kind": "field",
5425
- "name": "prefixIcon",
5316
+ "name": "ariaStateKey",
5426
5317
  "type": {
5427
- "text": "IconNames | undefined"
5318
+ "text": "string | undefined"
5428
5319
  },
5429
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
5430
- "attribute": "prefix-icon",
5431
- "reflects": true,
5432
- "inheritedFrom": {
5433
- "name": "ButtonComponentMixin",
5434
- "module": "utils/mixins/ButtonComponentMixin.js"
5435
- }
5320
+ "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`",
5321
+ "default": "'aria-pressed' (when)",
5322
+ "attribute": "ariaStateKey",
5323
+ "reflects": true
5436
5324
  },
5437
5325
  {
5438
5326
  "kind": "field",
5439
- "name": "postfixIcon",
5327
+ "name": "type",
5440
5328
  "type": {
5441
- "text": "IconNames | undefined"
5329
+ "text": "ButtonType"
5442
5330
  },
5443
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
5444
- "attribute": "postfix-icon",
5445
- "reflects": true,
5446
- "inheritedFrom": {
5447
- "name": "ButtonComponentMixin",
5448
- "module": "utils/mixins/ButtonComponentMixin.js"
5449
- }
5331
+ "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.",
5332
+ "default": "button",
5333
+ "attribute": "type",
5334
+ "reflects": true
5450
5335
  },
5451
5336
  {
5452
5337
  "kind": "field",
5453
- "name": "variant",
5338
+ "name": "name",
5454
5339
  "type": {
5455
- "text": "ButtonVariant"
5340
+ "text": "string | undefined"
5456
5341
  },
5457
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
5458
- "default": "primary",
5459
- "attribute": "variant",
5460
- "inheritedFrom": {
5461
- "name": "ButtonComponentMixin",
5462
- "module": "utils/mixins/ButtonComponentMixin.js"
5463
- }
5342
+ "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.",
5343
+ "attribute": "name",
5344
+ "reflects": true
5464
5345
  },
5465
5346
  {
5466
5347
  "kind": "field",
5467
- "name": "color",
5348
+ "name": "value",
5468
5349
  "type": {
5469
- "text": "ButtonColor"
5350
+ "text": "string | undefined"
5470
5351
  },
5471
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
5472
- "default": "default",
5473
- "attribute": "color",
5474
- "inheritedFrom": {
5475
- "name": "ButtonComponentMixin",
5476
- "module": "utils/mixins/ButtonComponentMixin.js"
5477
- }
5352
+ "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.",
5353
+ "attribute": "value",
5354
+ "reflects": true
5478
5355
  },
5479
5356
  {
5480
5357
  "kind": "method",
5481
- "name": "setVariant",
5358
+ "name": "executeAction",
5359
+ "privacy": "protected"
5360
+ },
5361
+ {
5362
+ "kind": "method",
5363
+ "name": "setActive",
5482
5364
  "privacy": "protected",
5483
5365
  "parameters": [
5484
5366
  {
5485
- "name": "variant",
5367
+ "name": "element",
5486
5368
  "type": {
5487
- "text": "ButtonVariant"
5369
+ "text": "HTMLElement"
5488
5370
  },
5489
- "description": "The variant to set."
5371
+ "description": "The button element"
5372
+ },
5373
+ {
5374
+ "name": "active",
5375
+ "optional": true,
5376
+ "type": {
5377
+ "text": "boolean"
5378
+ },
5379
+ "description": "The active state of the element"
5490
5380
  }
5491
5381
  ],
5492
- "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
5493
- "inheritedFrom": {
5494
- "name": "ButtonComponentMixin",
5495
- "module": "utils/mixins/ButtonComponentMixin.js"
5496
- }
5382
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
5497
5383
  },
5498
5384
  {
5499
5385
  "kind": "method",
5500
- "name": "setColor",
5501
- "privacy": "protected",
5386
+ "name": "setSoftDisabled",
5387
+ "privacy": "private",
5502
5388
  "parameters": [
5503
5389
  {
5504
- "name": "color",
5390
+ "name": "element",
5505
5391
  "type": {
5506
- "text": "ButtonColor"
5392
+ "text": "HTMLElement"
5507
5393
  },
5508
- "description": "The color to set."
5394
+ "description": "The button element."
5395
+ },
5396
+ {
5397
+ "name": "softDisabled",
5398
+ "optional": true,
5399
+ "type": {
5400
+ "text": "boolean"
5401
+ },
5402
+ "description": "The soft-disabled state."
5509
5403
  }
5510
5404
  ],
5511
- "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
5512
- "inheritedFrom": {
5513
- "name": "ButtonComponentMixin",
5514
- "module": "utils/mixins/ButtonComponentMixin.js"
5515
- }
5405
+ "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."
5516
5406
  },
5517
5407
  {
5518
5408
  "kind": "method",
5519
- "name": "setSize",
5520
- "privacy": "protected",
5409
+ "name": "setDisabled",
5410
+ "privacy": "private",
5521
5411
  "parameters": [
5522
5412
  {
5523
- "name": "size",
5413
+ "name": "element",
5524
5414
  "type": {
5525
- "text": "PillButtonSize | IconButtonSize"
5415
+ "text": "HTMLElement"
5526
5416
  },
5527
- "description": "The size to set."
5417
+ "description": "The button element."
5418
+ },
5419
+ {
5420
+ "name": "disabled",
5421
+ "type": {
5422
+ "text": "boolean"
5423
+ },
5424
+ "description": "The disabled state."
5528
5425
  }
5529
5426
  ],
5530
- "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
5531
- "inheritedFrom": {
5532
- "name": "ButtonComponentMixin",
5533
- "module": "utils/mixins/ButtonComponentMixin.js"
5534
- }
5427
+ "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."
5535
5428
  },
5536
5429
  {
5537
5430
  "kind": "method",
5538
- "name": "inferButtonType",
5539
- "privacy": "protected",
5540
- "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
5431
+ "name": "triggerClickEvent",
5432
+ "privacy": "private"
5433
+ },
5434
+ {
5435
+ "kind": "method",
5436
+ "name": "handleBlur",
5437
+ "privacy": "private",
5438
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
5439
+ },
5440
+ {
5441
+ "kind": "method",
5442
+ "name": "handleKeyDown",
5443
+ "privacy": "private",
5541
5444
  "parameters": [
5542
5445
  {
5543
- "description": "default slot of button",
5544
- "name": "slot"
5446
+ "name": "event",
5447
+ "type": {
5448
+ "text": "KeyboardEvent"
5449
+ },
5450
+ "description": "The keyboard event."
5545
5451
  }
5546
5452
  ],
5453
+ "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."
5454
+ },
5455
+ {
5456
+ "kind": "method",
5457
+ "name": "handleKeyUp",
5458
+ "privacy": "private",
5459
+ "parameters": [
5460
+ {
5461
+ "name": "event",
5462
+ "type": {
5463
+ "text": "KeyboardEvent"
5464
+ },
5465
+ "description": "The keyboard event."
5466
+ }
5467
+ ],
5468
+ "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."
5469
+ },
5470
+ {
5471
+ "kind": "field",
5472
+ "name": "autoFocusOnMount",
5473
+ "type": {
5474
+ "text": "boolean"
5475
+ },
5476
+ "default": "false",
5477
+ "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.",
5478
+ "attribute": "auto-focus-on-mount",
5479
+ "reflects": true,
5547
5480
  "inheritedFrom": {
5548
- "name": "ButtonComponentMixin",
5549
- "module": "utils/mixins/ButtonComponentMixin.js"
5481
+ "name": "AutoFocusOnMountMixin",
5482
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
5550
5483
  }
5551
5484
  },
5552
5485
  {
5553
5486
  "kind": "field",
5554
- "name": "dataAriaLabel",
5487
+ "name": "tabIndex",
5555
5488
  "type": {
5556
- "text": "string | null"
5489
+ "text": "number"
5557
5490
  },
5558
- "default": "null",
5559
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5560
- "attribute": "data-aria-label",
5491
+ "default": "0",
5492
+ "description": "This property specifies the tab order of the element.",
5493
+ "attribute": "tabIndex",
5561
5494
  "reflects": true,
5562
5495
  "inheritedFrom": {
5563
- "name": "DataAriaLabelMixin",
5564
- "module": "utils/mixins/DataAriaLabelMixin.js"
5496
+ "name": "TabIndexMixin",
5497
+ "module": "utils/mixins/TabIndexMixin.js"
5565
5498
  }
5566
5499
  },
5567
5500
  {
@@ -5578,533 +5511,600 @@
5578
5511
  "name": "DisabledMixin",
5579
5512
  "module": "utils/mixins/DisabledMixin.js"
5580
5513
  }
5514
+ }
5515
+ ],
5516
+ "events": [
5517
+ {
5518
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
5519
+ "name": "click",
5520
+ "reactName": "onClick"
5581
5521
  },
5582
5522
  {
5583
- "kind": "field",
5584
- "name": "inline",
5523
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
5524
+ "name": "keydown",
5525
+ "reactName": "onKeyDown"
5526
+ },
5527
+ {
5528
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
5529
+ "name": "keyup",
5530
+ "reactName": "onKeyUp"
5531
+ },
5532
+ {
5533
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
5534
+ "name": "focus",
5535
+ "reactName": "onFocus"
5536
+ }
5537
+ ],
5538
+ "attributes": [
5539
+ {
5540
+ "name": "active",
5541
+ "type": {
5542
+ "text": "boolean | undefined"
5543
+ },
5544
+ "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.",
5545
+ "default": "undefined",
5546
+ "fieldName": "active"
5547
+ },
5548
+ {
5549
+ "name": "soft-disabled",
5550
+ "type": {
5551
+ "text": "boolean | undefined"
5552
+ },
5553
+ "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.",
5554
+ "default": "undefined",
5555
+ "fieldName": "softDisabled"
5556
+ },
5557
+ {
5558
+ "name": "size",
5559
+ "type": {
5560
+ "text": "ButtonSize"
5561
+ },
5562
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5563
+ "default": "32",
5564
+ "fieldName": "size"
5565
+ },
5566
+ {
5567
+ "name": "role",
5568
+ "type": {
5569
+ "text": "RoleType"
5570
+ },
5571
+ "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.",
5572
+ "default": "button",
5573
+ "fieldName": "role"
5574
+ },
5575
+ {
5576
+ "name": "ariaStateKey",
5577
+ "type": {
5578
+ "text": "string | undefined"
5579
+ },
5580
+ "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`",
5581
+ "default": "'aria-pressed' (when)",
5582
+ "fieldName": "ariaStateKey"
5583
+ },
5584
+ {
5585
+ "name": "type",
5586
+ "type": {
5587
+ "text": "ButtonType"
5588
+ },
5589
+ "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.",
5590
+ "default": "button",
5591
+ "fieldName": "type"
5592
+ },
5593
+ {
5594
+ "name": "name",
5595
+ "type": {
5596
+ "text": "string | undefined"
5597
+ },
5598
+ "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.",
5599
+ "fieldName": "name"
5600
+ },
5601
+ {
5602
+ "name": "value",
5603
+ "type": {
5604
+ "text": "string | undefined"
5605
+ },
5606
+ "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.",
5607
+ "fieldName": "value"
5608
+ },
5609
+ {
5610
+ "name": "auto-focus-on-mount",
5585
5611
  "type": {
5586
5612
  "text": "boolean"
5587
5613
  },
5588
- "description": "The link can be inline or standalone.",
5589
5614
  "default": "false",
5590
- "attribute": "inline",
5591
- "reflects": true,
5615
+ "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.",
5616
+ "fieldName": "autoFocusOnMount",
5592
5617
  "inheritedFrom": {
5593
- "name": "Linksimple",
5594
- "module": "components/linksimple/linksimple.component.js"
5618
+ "name": "AutoFocusOnMountMixin",
5619
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
5620
+ }
5621
+ },
5622
+ {
5623
+ "name": "tabIndex",
5624
+ "type": {
5625
+ "text": "number"
5626
+ },
5627
+ "default": "0",
5628
+ "description": "This property specifies the tab order of the element.",
5629
+ "fieldName": "tabIndex",
5630
+ "inheritedFrom": {
5631
+ "name": "TabIndexMixin",
5632
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5633
+ }
5634
+ },
5635
+ {
5636
+ "name": "disabled",
5637
+ "type": {
5638
+ "text": "boolean | undefined"
5639
+ },
5640
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5641
+ "default": "undefined",
5642
+ "fieldName": "disabled",
5643
+ "inheritedFrom": {
5644
+ "name": "DisabledMixin",
5645
+ "module": "src/utils/mixins/DisabledMixin.ts"
5646
+ }
5647
+ }
5648
+ ],
5649
+ "mixins": [
5650
+ {
5651
+ "name": "AutoFocusOnMountMixin",
5652
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
5653
+ },
5654
+ {
5655
+ "name": "TabIndexMixin",
5656
+ "module": "/src/utils/mixins/TabIndexMixin"
5657
+ },
5658
+ {
5659
+ "name": "DisabledMixin",
5660
+ "module": "/src/utils/mixins/DisabledMixin"
5661
+ }
5662
+ ],
5663
+ "superclass": {
5664
+ "name": "Component",
5665
+ "module": "/src/models"
5666
+ },
5667
+ "tagName": "mdc-buttonsimple",
5668
+ "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
5669
+ "customElement": true
5670
+ }
5671
+ ],
5672
+ "exports": [
5673
+ {
5674
+ "kind": "js",
5675
+ "name": "default",
5676
+ "declaration": {
5677
+ "name": "Buttonsimple",
5678
+ "module": "components/buttonsimple/buttonsimple.component.js"
5679
+ }
5680
+ }
5681
+ ]
5682
+ },
5683
+ {
5684
+ "kind": "javascript-module",
5685
+ "path": "components/card/card.component.js",
5686
+ "declarations": [
5687
+ {
5688
+ "kind": "class",
5689
+ "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'.",
5690
+ "name": "Card",
5691
+ "cssProperties": [
5692
+ {
5693
+ "description": "The width of the card",
5694
+ "name": "--mdc-card-width"
5695
+ }
5696
+ ],
5697
+ "cssParts": [
5698
+ {
5699
+ "description": "The header part of the card",
5700
+ "name": "header"
5701
+ },
5702
+ {
5703
+ "description": "The icon part of the card header",
5704
+ "name": "icon"
5705
+ },
5706
+ {
5707
+ "description": "The body part of the card",
5708
+ "name": "body"
5709
+ },
5710
+ {
5711
+ "description": "The image part of the card",
5712
+ "name": "image"
5713
+ },
5714
+ {
5715
+ "description": "The footer part of the card",
5716
+ "name": "footer"
5717
+ },
5718
+ {
5719
+ "description": "The link part of the card footer",
5720
+ "name": "footer-link"
5721
+ },
5722
+ {
5723
+ "description": "The primary button part of the card footer",
5724
+ "name": "footer-button-primary"
5725
+ },
5726
+ {
5727
+ "description": "The secondary button part of the card footer",
5728
+ "name": "footer-button-secondary"
5729
+ },
5730
+ {
5731
+ "description": "The icon button part of the card header",
5732
+ "name": "icon-button"
5733
+ },
5734
+ {
5735
+ "description": "The text part of the card",
5736
+ "name": "text"
5737
+ }
5738
+ ],
5739
+ "slots": [
5740
+ {
5741
+ "description": "This slot is for passing the content before the body",
5742
+ "name": "before-body"
5743
+ },
5744
+ {
5745
+ "description": "This slot is for passing the text content for the card",
5746
+ "name": "body"
5747
+ },
5748
+ {
5749
+ "description": "This slot is for passing the content after the body",
5750
+ "name": "after-body"
5751
+ },
5752
+ {
5753
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
5754
+ "name": "footer-link"
5755
+ },
5756
+ {
5757
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5758
+ "name": "footer-button-primary"
5759
+ },
5760
+ {
5761
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5762
+ "name": "footer-button-secondary"
5763
+ },
5764
+ {
5765
+ "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.",
5766
+ "name": "footer"
5767
+ }
5768
+ ],
5769
+ "members": [
5770
+ {
5771
+ "kind": "method",
5772
+ "name": "renderHeader",
5773
+ "privacy": "protected",
5774
+ "description": "Renders the header of the card if title is provided",
5775
+ "return": {
5776
+ "type": {
5777
+ "text": ""
5778
+ }
5595
5779
  }
5596
5780
  },
5597
5781
  {
5598
5782
  "kind": "field",
5599
- "name": "inverted",
5783
+ "name": "cardTitle",
5600
5784
  "type": {
5601
- "text": "boolean"
5785
+ "text": "string"
5602
5786
  },
5603
- "description": "The link color can be inverted by setting the inverted attribute to true.",
5604
- "default": "false",
5605
- "attribute": "inverted",
5787
+ "default": "''",
5788
+ "description": "The title of the card - part of header section",
5789
+ "attribute": "card-title",
5606
5790
  "reflects": true,
5607
5791
  "inheritedFrom": {
5608
- "name": "Linksimple",
5609
- "module": "components/linksimple/linksimple.component.js"
5792
+ "name": "CardComponentMixin",
5793
+ "module": "utils/mixins/CardComponentMixin.js"
5610
5794
  }
5611
5795
  },
5612
5796
  {
5613
5797
  "kind": "field",
5614
- "name": "href",
5798
+ "name": "subtitle",
5615
5799
  "type": {
5616
- "text": "string | undefined"
5800
+ "text": "string"
5617
5801
  },
5618
- "description": "Href for navigation. The URL that the hyperlink points to",
5619
- "attribute": "href",
5802
+ "default": "''",
5803
+ "description": "The subtitle of the card - part of header section",
5804
+ "attribute": "subtitle",
5620
5805
  "reflects": true,
5621
5806
  "inheritedFrom": {
5622
- "name": "Linksimple",
5623
- "module": "components/linksimple/linksimple.component.js"
5807
+ "name": "CardComponentMixin",
5808
+ "module": "utils/mixins/CardComponentMixin.js"
5624
5809
  }
5625
5810
  },
5626
5811
  {
5627
5812
  "kind": "field",
5628
- "name": "target",
5813
+ "name": "imageSrc",
5629
5814
  "type": {
5630
5815
  "text": "string"
5631
5816
  },
5632
- "default": "'_self'",
5633
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
5634
- "attribute": "target",
5817
+ "default": "''",
5818
+ "description": "The image source URL to render on the card",
5819
+ "attribute": "image-src",
5635
5820
  "reflects": true,
5636
5821
  "inheritedFrom": {
5637
- "name": "Linksimple",
5638
- "module": "components/linksimple/linksimple.component.js"
5822
+ "name": "CardComponentMixin",
5823
+ "module": "utils/mixins/CardComponentMixin.js"
5639
5824
  }
5640
5825
  },
5641
5826
  {
5642
5827
  "kind": "field",
5643
- "name": "rel",
5828
+ "name": "imageAlt",
5644
5829
  "type": {
5645
- "text": "string | undefined"
5830
+ "text": "string"
5646
5831
  },
5647
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
5648
- "attribute": "rel",
5832
+ "default": "''",
5833
+ "description": "The image alt for accessibility support",
5834
+ "attribute": "image-alt",
5649
5835
  "reflects": true,
5650
5836
  "inheritedFrom": {
5651
- "name": "Linksimple",
5652
- "module": "components/linksimple/linksimple.component.js"
5837
+ "name": "CardComponentMixin",
5838
+ "module": "utils/mixins/CardComponentMixin.js"
5653
5839
  }
5654
5840
  },
5655
5841
  {
5656
5842
  "kind": "field",
5657
- "name": "download",
5843
+ "name": "variant",
5658
5844
  "type": {
5659
- "text": "string | undefined"
5845
+ "text": "CardVariant"
5660
5846
  },
5661
- "description": "Optional download attribute to instruct browsers to download the linked resource.",
5662
- "attribute": "download",
5847
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5848
+ "default": "'border'",
5849
+ "attribute": "variant",
5663
5850
  "reflects": true,
5664
5851
  "inheritedFrom": {
5665
- "name": "Linksimple",
5666
- "module": "components/linksimple/linksimple.component.js"
5852
+ "name": "CardComponentMixin",
5853
+ "module": "utils/mixins/CardComponentMixin.js"
5667
5854
  }
5668
5855
  },
5669
5856
  {
5670
5857
  "kind": "field",
5671
- "name": "ping",
5858
+ "name": "orientation",
5672
5859
  "type": {
5673
- "text": "string | undefined"
5860
+ "text": "CardOrientation"
5674
5861
  },
5675
- "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
5676
- "attribute": "ping",
5862
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5863
+ "default": "'vertical'",
5864
+ "attribute": "orientation",
5677
5865
  "reflects": true,
5678
5866
  "inheritedFrom": {
5679
- "name": "Linksimple",
5680
- "module": "components/linksimple/linksimple.component.js"
5867
+ "name": "CardComponentMixin",
5868
+ "module": "utils/mixins/CardComponentMixin.js"
5681
5869
  }
5682
5870
  },
5683
5871
  {
5684
5872
  "kind": "field",
5685
- "name": "hreflang",
5873
+ "name": "titleTagName",
5686
5874
  "type": {
5687
- "text": "string | undefined"
5875
+ "text": "TagNameType"
5688
5876
  },
5689
- "description": "Optional hreflang attribute specifying the language of the linked resource.",
5690
- "attribute": "hreflang",
5877
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5878
+ "default": "'span'",
5879
+ "attribute": "title-tag-name",
5691
5880
  "reflects": true,
5692
5881
  "inheritedFrom": {
5693
- "name": "Linksimple",
5694
- "module": "components/linksimple/linksimple.component.js"
5882
+ "name": "CardComponentMixin",
5883
+ "module": "utils/mixins/CardComponentMixin.js"
5695
5884
  }
5696
5885
  },
5697
5886
  {
5698
5887
  "kind": "field",
5699
- "name": "type",
5888
+ "name": "subtitleTagName",
5700
5889
  "type": {
5701
- "text": "string | undefined"
5890
+ "text": "TagNameType"
5702
5891
  },
5703
- "description": "Optional type attribute indicating the MIME type of the linked resource.",
5704
- "attribute": "type",
5892
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5893
+ "default": "'span'",
5894
+ "attribute": "subtitle-tag-name",
5705
5895
  "reflects": true,
5706
5896
  "inheritedFrom": {
5707
- "name": "Linksimple",
5708
- "module": "components/linksimple/linksimple.component.js"
5897
+ "name": "CardComponentMixin",
5898
+ "module": "utils/mixins/CardComponentMixin.js"
5709
5899
  }
5710
5900
  },
5711
5901
  {
5712
5902
  "kind": "field",
5713
- "name": "referrerpolicy",
5903
+ "name": "iconName",
5714
5904
  "type": {
5715
- "text": "string | undefined"
5905
+ "text": "IconNames | undefined"
5716
5906
  },
5717
- "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
5718
- "attribute": "referrerpolicy",
5907
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5908
+ "attribute": "icon-name",
5719
5909
  "reflects": true,
5720
5910
  "inheritedFrom": {
5721
- "name": "Linksimple",
5722
- "module": "components/linksimple/linksimple.component.js"
5911
+ "name": "CardComponentMixin",
5912
+ "module": "utils/mixins/CardComponentMixin.js"
5723
5913
  }
5724
5914
  },
5725
5915
  {
5726
5916
  "kind": "method",
5727
- "name": "handleNavigation",
5917
+ "name": "renderImage",
5728
5918
  "privacy": "protected",
5919
+ "description": "Renders the image on the card if image source is provided",
5729
5920
  "return": {
5730
5921
  "type": {
5731
- "text": "void"
5922
+ "text": ""
5732
5923
  }
5733
5924
  },
5734
- "parameters": [
5735
- {
5736
- "name": "e",
5737
- "type": {
5738
- "text": "MouseEvent | KeyboardEvent"
5739
- }
5740
- }
5741
- ],
5742
5925
  "inheritedFrom": {
5743
- "name": "Linksimple",
5744
- "module": "components/linksimple/linksimple.component.js"
5926
+ "name": "CardComponentMixin",
5927
+ "module": "utils/mixins/CardComponentMixin.js"
5745
5928
  }
5746
5929
  },
5747
5930
  {
5748
5931
  "kind": "method",
5749
- "name": "setDisabled",
5750
- "privacy": "private",
5751
- "parameters": [
5752
- {
5753
- "name": "disabled",
5754
- "type": {
5755
- "text": "boolean"
5756
- },
5757
- "description": "Whether the element should be disabled"
5932
+ "name": "renderIcon",
5933
+ "privacy": "protected",
5934
+ "description": "Renders the icon on the card if icon name is provided",
5935
+ "return": {
5936
+ "type": {
5937
+ "text": ""
5758
5938
  }
5759
- ],
5760
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
5761
- "inheritedFrom": {
5762
- "name": "Linksimple",
5763
- "module": "components/linksimple/linksimple.component.js"
5764
- }
5765
- }
5766
- ],
5767
- "events": [
5768
- {
5769
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
5770
- "name": "click",
5771
- "reactName": "onClick",
5772
- "inheritedFrom": {
5773
- "name": "Linksimple",
5774
- "module": "src/components/linksimple/linksimple.component.ts"
5775
- }
5776
- },
5777
- {
5778
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
5779
- "name": "keydown",
5780
- "reactName": "onKeyDown",
5781
- "inheritedFrom": {
5782
- "name": "Linksimple",
5783
- "module": "src/components/linksimple/linksimple.component.ts"
5784
- }
5785
- },
5786
- {
5787
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
5788
- "name": "focus",
5789
- "reactName": "onFocus",
5790
- "inheritedFrom": {
5791
- "name": "Linksimple",
5792
- "module": "src/components/linksimple/linksimple.component.ts"
5793
- }
5794
- },
5795
- {
5796
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
5797
- "name": "blur",
5798
- "reactName": "onBlur",
5799
- "inheritedFrom": {
5800
- "name": "Linksimple",
5801
- "module": "src/components/linksimple/linksimple.component.ts"
5802
- }
5803
- }
5804
- ],
5805
- "attributes": [
5806
- {
5807
- "name": "size",
5808
- "type": {
5809
- "text": "PillButtonSize | IconButtonSize"
5810
- },
5811
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
5812
- "default": "32",
5813
- "fieldName": "size"
5814
- },
5815
- {
5816
- "name": "soft-disabled",
5817
- "type": {
5818
- "text": "boolean | undefined"
5819
- },
5820
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
5821
- "default": "undefined",
5822
- "fieldName": "softDisabled"
5823
- },
5824
- {
5825
- "name": "prefix-icon",
5826
- "type": {
5827
- "text": "IconNames | undefined"
5828
- },
5829
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
5830
- "fieldName": "prefixIcon",
5831
- "inheritedFrom": {
5832
- "name": "ButtonComponentMixin",
5833
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
5834
- }
5835
- },
5836
- {
5837
- "name": "postfix-icon",
5838
- "type": {
5839
- "text": "IconNames | undefined"
5840
- },
5841
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
5842
- "fieldName": "postfixIcon",
5843
- "inheritedFrom": {
5844
- "name": "ButtonComponentMixin",
5845
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
5846
- }
5847
- },
5848
- {
5849
- "name": "variant",
5850
- "type": {
5851
- "text": "ButtonVariant"
5852
5939
  },
5853
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
5854
- "default": "primary",
5855
- "fieldName": "variant",
5856
5940
  "inheritedFrom": {
5857
- "name": "ButtonComponentMixin",
5858
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
5941
+ "name": "CardComponentMixin",
5942
+ "module": "utils/mixins/CardComponentMixin.js"
5859
5943
  }
5860
5944
  },
5861
5945
  {
5862
- "name": "color",
5863
- "type": {
5864
- "text": "ButtonColor"
5946
+ "kind": "method",
5947
+ "name": "renderTitle",
5948
+ "privacy": "protected",
5949
+ "description": "Renders the title and subtitle on the card",
5950
+ "return": {
5951
+ "type": {
5952
+ "text": ""
5953
+ }
5865
5954
  },
5866
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
5867
- "default": "default",
5868
- "fieldName": "color",
5869
5955
  "inheritedFrom": {
5870
- "name": "ButtonComponentMixin",
5871
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
5956
+ "name": "CardComponentMixin",
5957
+ "module": "utils/mixins/CardComponentMixin.js"
5872
5958
  }
5873
5959
  },
5874
5960
  {
5875
- "name": "data-aria-label",
5876
- "type": {
5877
- "text": "string | null"
5961
+ "kind": "method",
5962
+ "name": "renderFooter",
5963
+ "privacy": "protected",
5964
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
5965
+ "return": {
5966
+ "type": {
5967
+ "text": ""
5968
+ }
5878
5969
  },
5879
- "default": "null",
5880
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5881
- "fieldName": "dataAriaLabel",
5882
5970
  "inheritedFrom": {
5883
- "name": "DataAriaLabelMixin",
5884
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
5971
+ "name": "FooterMixin",
5972
+ "module": "utils/mixins/FooterMixin.js"
5885
5973
  }
5886
- },
5974
+ }
5975
+ ],
5976
+ "mixins": [
5887
5977
  {
5888
- "name": "disabled",
5889
- "type": {
5890
- "text": "boolean | undefined"
5891
- },
5892
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5893
- "default": "undefined",
5894
- "fieldName": "disabled",
5895
- "inheritedFrom": {
5896
- "name": "DisabledMixin",
5897
- "module": "src/utils/mixins/DisabledMixin.ts"
5898
- }
5978
+ "name": "CardComponentMixin",
5979
+ "module": "/src/utils/mixins/CardComponentMixin"
5899
5980
  },
5900
5981
  {
5901
- "name": "inline",
5902
- "type": {
5903
- "text": "boolean"
5904
- },
5905
- "description": "The link can be inline or standalone.",
5906
- "default": "false",
5907
- "fieldName": "inline",
5908
- "inheritedFrom": {
5909
- "name": "Linksimple",
5910
- "module": "src/components/linksimple/linksimple.component.ts"
5911
- }
5912
- },
5982
+ "name": "FooterMixin",
5983
+ "module": "/src/utils/mixins/FooterMixin"
5984
+ }
5985
+ ],
5986
+ "superclass": {
5987
+ "name": "Component",
5988
+ "module": "/src/models"
5989
+ },
5990
+ "tagName": "mdc-card",
5991
+ "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 */",
5992
+ "customElement": true,
5993
+ "attributes": [
5913
5994
  {
5914
- "name": "inverted",
5995
+ "name": "card-title",
5915
5996
  "type": {
5916
- "text": "boolean"
5997
+ "text": "string"
5917
5998
  },
5918
- "description": "The link color can be inverted by setting the inverted attribute to true.",
5919
- "default": "false",
5920
- "fieldName": "inverted",
5999
+ "default": "''",
6000
+ "description": "The title of the card - part of header section",
6001
+ "fieldName": "cardTitle",
5921
6002
  "inheritedFrom": {
5922
- "name": "Linksimple",
5923
- "module": "src/components/linksimple/linksimple.component.ts"
6003
+ "name": "CardComponentMixin",
6004
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5924
6005
  }
5925
6006
  },
5926
6007
  {
5927
- "name": "href",
6008
+ "name": "subtitle",
5928
6009
  "type": {
5929
- "text": "string | undefined"
6010
+ "text": "string"
5930
6011
  },
5931
- "description": "Href for navigation. The URL that the hyperlink points to",
5932
- "fieldName": "href",
6012
+ "default": "''",
6013
+ "description": "The subtitle of the card - part of header section",
6014
+ "fieldName": "subtitle",
5933
6015
  "inheritedFrom": {
5934
- "name": "Linksimple",
5935
- "module": "src/components/linksimple/linksimple.component.ts"
6016
+ "name": "CardComponentMixin",
6017
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5936
6018
  }
5937
6019
  },
5938
6020
  {
5939
- "name": "target",
6021
+ "name": "image-src",
5940
6022
  "type": {
5941
6023
  "text": "string"
5942
6024
  },
5943
- "default": "'_self'",
5944
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
5945
- "fieldName": "target",
6025
+ "default": "''",
6026
+ "description": "The image source URL to render on the card",
6027
+ "fieldName": "imageSrc",
5946
6028
  "inheritedFrom": {
5947
- "name": "Linksimple",
5948
- "module": "src/components/linksimple/linksimple.component.ts"
6029
+ "name": "CardComponentMixin",
6030
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5949
6031
  }
5950
6032
  },
5951
6033
  {
5952
- "name": "rel",
6034
+ "name": "image-alt",
5953
6035
  "type": {
5954
- "text": "string | undefined"
6036
+ "text": "string"
5955
6037
  },
5956
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
5957
- "fieldName": "rel",
6038
+ "default": "''",
6039
+ "description": "The image alt for accessibility support",
6040
+ "fieldName": "imageAlt",
5958
6041
  "inheritedFrom": {
5959
- "name": "Linksimple",
5960
- "module": "src/components/linksimple/linksimple.component.ts"
6042
+ "name": "CardComponentMixin",
6043
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5961
6044
  }
5962
6045
  },
5963
6046
  {
5964
- "name": "download",
6047
+ "name": "variant",
5965
6048
  "type": {
5966
- "text": "string | undefined"
6049
+ "text": "CardVariant"
5967
6050
  },
5968
- "description": "Optional download attribute to instruct browsers to download the linked resource.",
5969
- "fieldName": "download",
6051
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6052
+ "default": "'border'",
6053
+ "fieldName": "variant",
5970
6054
  "inheritedFrom": {
5971
- "name": "Linksimple",
5972
- "module": "src/components/linksimple/linksimple.component.ts"
6055
+ "name": "CardComponentMixin",
6056
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5973
6057
  }
5974
6058
  },
5975
6059
  {
5976
- "name": "ping",
6060
+ "name": "orientation",
5977
6061
  "type": {
5978
- "text": "string | undefined"
6062
+ "text": "CardOrientation"
5979
6063
  },
5980
- "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
5981
- "fieldName": "ping",
6064
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6065
+ "default": "'vertical'",
6066
+ "fieldName": "orientation",
5982
6067
  "inheritedFrom": {
5983
- "name": "Linksimple",
5984
- "module": "src/components/linksimple/linksimple.component.ts"
6068
+ "name": "CardComponentMixin",
6069
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5985
6070
  }
5986
6071
  },
5987
6072
  {
5988
- "name": "hreflang",
6073
+ "name": "title-tag-name",
5989
6074
  "type": {
5990
- "text": "string | undefined"
6075
+ "text": "TagNameType"
5991
6076
  },
5992
- "description": "Optional hreflang attribute specifying the language of the linked resource.",
5993
- "fieldName": "hreflang",
6077
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6078
+ "default": "'span'",
6079
+ "fieldName": "titleTagName",
5994
6080
  "inheritedFrom": {
5995
- "name": "Linksimple",
5996
- "module": "src/components/linksimple/linksimple.component.ts"
6081
+ "name": "CardComponentMixin",
6082
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5997
6083
  }
5998
6084
  },
5999
6085
  {
6000
- "name": "type",
6086
+ "name": "subtitle-tag-name",
6001
6087
  "type": {
6002
- "text": "string | undefined"
6088
+ "text": "TagNameType"
6003
6089
  },
6004
- "description": "Optional type attribute indicating the MIME type of the linked resource.",
6005
- "fieldName": "type",
6090
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6091
+ "default": "'span'",
6092
+ "fieldName": "subtitleTagName",
6006
6093
  "inheritedFrom": {
6007
- "name": "Linksimple",
6008
- "module": "src/components/linksimple/linksimple.component.ts"
6094
+ "name": "CardComponentMixin",
6095
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6009
6096
  }
6010
6097
  },
6011
6098
  {
6012
- "name": "referrerpolicy",
6099
+ "name": "icon-name",
6013
6100
  "type": {
6014
- "text": "string | undefined"
6101
+ "text": "IconNames | undefined"
6015
6102
  },
6016
- "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
6017
- "fieldName": "referrerpolicy",
6018
- "inheritedFrom": {
6019
- "name": "Linksimple",
6020
- "module": "src/components/linksimple/linksimple.component.ts"
6021
- }
6022
- }
6023
- ],
6024
- "mixins": [
6025
- {
6026
- "name": "ButtonComponentMixin",
6027
- "module": "/src/utils/mixins/ButtonComponentMixin"
6028
- }
6029
- ],
6030
- "superclass": {
6031
- "name": "Linksimple",
6032
- "module": "/src/components/linksimple/linksimple.component"
6033
- },
6034
- "tagName": "mdc-buttonlink",
6035
- "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @csspart anchor - The anchor element that wraps the buttonlink content.\n * @csspart prefix-icon - The prefix icon element.\n * @csspart button-text - The slot containing the buttonlink text.\n * @csspart postfix-icon - The postfix icon element.\n *\n */",
6036
- "customElement": true,
6037
- "cssProperties": [
6038
- {
6039
- "description": "Border radius of the link.",
6040
- "name": "--mdc-link-border-radius",
6041
- "inheritedFrom": {
6042
- "name": "Linksimple",
6043
- "module": "src/components/linksimple/linksimple.component.ts"
6044
- }
6045
- },
6046
- {
6047
- "description": "Color of the link’s child content in the active state.",
6048
- "name": "--mdc-link-color-active",
6049
- "inheritedFrom": {
6050
- "name": "Linksimple",
6051
- "module": "src/components/linksimple/linksimple.component.ts"
6052
- }
6053
- },
6054
- {
6055
- "description": "Color of the link’s child content in the disabled state.",
6056
- "name": "--mdc-link-color-disabled",
6057
- "inheritedFrom": {
6058
- "name": "Linksimple",
6059
- "module": "src/components/linksimple/linksimple.component.ts"
6060
- }
6061
- },
6062
- {
6063
- "description": "Color of the link’s child content in the hover state.",
6064
- "name": "--mdc-link-color-hover",
6065
- "inheritedFrom": {
6066
- "name": "Linksimple",
6067
- "module": "src/components/linksimple/linksimple.component.ts"
6068
- }
6069
- },
6070
- {
6071
- "description": "Color of the link’s child content in the normal state.",
6072
- "name": "--mdc-link-color-normal",
6073
- "inheritedFrom": {
6074
- "name": "Linksimple",
6075
- "module": "src/components/linksimple/linksimple.component.ts"
6076
- }
6077
- },
6078
- {
6079
- "description": "Color of the inverted link’s child content in the active state.",
6080
- "name": "--mdc-link-inverted-color-active",
6081
- "inheritedFrom": {
6082
- "name": "Linksimple",
6083
- "module": "src/components/linksimple/linksimple.component.ts"
6084
- }
6085
- },
6086
- {
6087
- "description": "Color of the inverted link’s child content in the disabled state.",
6088
- "name": "--mdc-link-inverted-color-disabled",
6089
- "inheritedFrom": {
6090
- "name": "Linksimple",
6091
- "module": "src/components/linksimple/linksimple.component.ts"
6092
- }
6093
- },
6094
- {
6095
- "description": "Color of the inverted link’s child content in the hover state.",
6096
- "name": "--mdc-link-inverted-color-hover",
6097
- "inheritedFrom": {
6098
- "name": "Linksimple",
6099
- "module": "src/components/linksimple/linksimple.component.ts"
6100
- }
6101
- },
6102
- {
6103
- "description": "Color of the inverted link’s child content in the normal state.",
6104
- "name": "--mdc-link-inverted-color-normal",
6103
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6104
+ "fieldName": "iconName",
6105
6105
  "inheritedFrom": {
6106
- "name": "Linksimple",
6107
- "module": "src/components/linksimple/linksimple.component.ts"
6106
+ "name": "CardComponentMixin",
6107
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6108
6108
  }
6109
6109
  }
6110
6110
  ]
@@ -6115,8 +6115,8 @@
6115
6115
  "kind": "js",
6116
6116
  "name": "default",
6117
6117
  "declaration": {
6118
- "name": "ButtonLink",
6119
- "module": "components/buttonlink/buttonlink.component.js"
6118
+ "name": "Card",
6119
+ "module": "components/card/card.component.js"
6120
6120
  }
6121
6121
  }
6122
6122
  ]
@@ -15796,7 +15796,7 @@
15796
15796
  "declarations": [
15797
15797
  {
15798
15798
  "kind": "class",
15799
- "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.\n\nIf `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\nIconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIconProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
15799
+ "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-design/icons` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.\n\nIf `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\nIconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIconProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
15800
15800
  "name": "IconProvider",
15801
15801
  "slots": [
15802
15802
  {
@@ -15882,7 +15882,7 @@
15882
15882
  "type": {
15883
15883
  "text": "string | undefined"
15884
15884
  },
15885
- "description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
15885
+ "description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nIcons cache name must be unique, independent from other asset caches.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
15886
15886
  "default": "undefined",
15887
15887
  "attribute": "cache-name"
15888
15888
  },
@@ -15961,7 +15961,7 @@
15961
15961
  "type": {
15962
15962
  "text": "string | undefined"
15963
15963
  },
15964
- "description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
15964
+ "description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nIcons cache name must be unique, independent from other asset caches.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
15965
15965
  "default": "undefined",
15966
15966
  "fieldName": "cacheName"
15967
15967
  }
@@ -15971,7 +15971,7 @@
15971
15971
  "module": "/src/models"
15972
15972
  },
15973
15973
  "tagName": "mdc-iconprovider",
15974
- "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-designs` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
15974
+ "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-design/icons` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
15975
15975
  "customElement": true
15976
15976
  }
15977
15977
  ],
@@ -15986,6 +15986,340 @@
15986
15986
  }
15987
15987
  ]
15988
15988
  },
15989
+ {
15990
+ "kind": "javascript-module",
15991
+ "path": "components/illustration/illustration.component.js",
15992
+ "declarations": [
15993
+ {
15994
+ "kind": "class",
15995
+ "description": "Illustration component that dynamically displays SVG illustrations based on a valid name.\n\nThis component must be mounted within an `IllustrationProvider` component.\n\nThe `IllustrationProvider` defines the source URL from which illustrations are consumed.\nThe `Illustration` component accepts a `name` attribute, which corresponds to\nthe file name of the illustration to be loaded from the specified URL.\n\nOnce fetched, the illustration will be rendered. If the fetching process is unsuccessful,\nno illustration will be displayed.\n\nDefault sizing of the illustration is controlled by choosing a different illustration name, can be overridden with the `--mdc-illustration-size` CSS property.\nColoring of the illustration is currently baked into the svg, meaning that the illustration name determines\nthe coloring.\n\nRegarding accessibility, there are two types of illustrations: decorative and informative.\n\n### Decorative Illustrations\n- Decorative illustrations 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 illustrations, an `aria-label` is not required, and the `role` will be set to null.\n\n### Informative Illustrations\n- Informative illustrations 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 illustrations, 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.",
15996
+ "name": "Illustration",
15997
+ "cssProperties": [
15998
+ {
15999
+ "description": "Allows customization of the illustration size.",
16000
+ "name": "--mdc-illustration-size"
16001
+ }
16002
+ ],
16003
+ "cssParts": [
16004
+ {
16005
+ "description": "The svg inside the illustration element.",
16006
+ "name": "illustration"
16007
+ }
16008
+ ],
16009
+ "members": [
16010
+ {
16011
+ "kind": "field",
16012
+ "name": "illustrationData",
16013
+ "type": {
16014
+ "text": "HTMLElement | undefined"
16015
+ },
16016
+ "privacy": "private"
16017
+ },
16018
+ {
16019
+ "kind": "field",
16020
+ "name": "name",
16021
+ "type": {
16022
+ "text": "IllustrationNames | undefined"
16023
+ },
16024
+ "description": "Name of the illustration (= filename)",
16025
+ "attribute": "name",
16026
+ "reflects": true
16027
+ },
16028
+ {
16029
+ "kind": "field",
16030
+ "name": "ariaLabel",
16031
+ "type": {
16032
+ "text": "string | null"
16033
+ },
16034
+ "default": "null",
16035
+ "description": "Aria-label attribute to be set for accessibility",
16036
+ "attribute": "aria-label"
16037
+ },
16038
+ {
16039
+ "kind": "field",
16040
+ "name": "ariaLabelledby",
16041
+ "type": {
16042
+ "text": "string | null"
16043
+ },
16044
+ "default": "null",
16045
+ "description": "Aria-labelledby attribute to be set for accessibility",
16046
+ "attribute": "aria-labelledby"
16047
+ },
16048
+ {
16049
+ "kind": "field",
16050
+ "name": "illustrationProviderContext",
16051
+ "privacy": "private",
16052
+ "readonly": true
16053
+ },
16054
+ {
16055
+ "kind": "field",
16056
+ "name": "abortController",
16057
+ "type": {
16058
+ "text": "AbortController | undefined"
16059
+ },
16060
+ "privacy": "private",
16061
+ "default": "new AbortController()"
16062
+ },
16063
+ {
16064
+ "kind": "method",
16065
+ "name": "prepareIllustrationElement",
16066
+ "privacy": "private",
16067
+ "parameters": [
16068
+ {
16069
+ "name": "illustrationData",
16070
+ "type": {
16071
+ "text": "string"
16072
+ },
16073
+ "description": "The illustration string to be parsed"
16074
+ }
16075
+ ],
16076
+ "description": "Parse the illustration string to an html element, set the attributes and\nreturn the illustration element",
16077
+ "return": {
16078
+ "type": {
16079
+ "text": ""
16080
+ }
16081
+ }
16082
+ },
16083
+ {
16084
+ "kind": "method",
16085
+ "name": "getIllustrationData",
16086
+ "privacy": "private",
16087
+ "description": "Fetches the illustration (currently only svg) and sets state and attributes once fetched successfully\n\nThis method uses abortController.signal to cancel the fetch request when the component is disconnected or updated.\nIf the request is aborted after the fetch() call has been fulfilled but before the response body has been read,\nthen attempting to read the response body will reject with an AbortError exception."
16088
+ },
16089
+ {
16090
+ "kind": "method",
16091
+ "name": "handleIllustrationLoadedSuccess",
16092
+ "privacy": "private",
16093
+ "parameters": [
16094
+ {
16095
+ "name": "illustrationHtml",
16096
+ "type": {
16097
+ "text": "HTMLElement"
16098
+ },
16099
+ "description": "The illustration html element which has been fetched from the illustration provider."
16100
+ }
16101
+ ],
16102
+ "description": "Sets the illustrationData state to the fetched illustration.\nDispatches a 'load' event on the component once the illustration has been successfully loaded."
16103
+ },
16104
+ {
16105
+ "kind": "method",
16106
+ "name": "handleIllustrationLoadedFailure",
16107
+ "privacy": "private",
16108
+ "parameters": [
16109
+ {
16110
+ "name": "error",
16111
+ "type": {
16112
+ "text": "unknown"
16113
+ }
16114
+ }
16115
+ ],
16116
+ "description": "Dispatches an 'error' event on the component when the illustration fetching has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
16117
+ }
16118
+ ],
16119
+ "attributes": [
16120
+ {
16121
+ "name": "name",
16122
+ "type": {
16123
+ "text": "IllustrationNames | undefined"
16124
+ },
16125
+ "description": "Name of the illustration (= filename)",
16126
+ "fieldName": "name"
16127
+ },
16128
+ {
16129
+ "name": "aria-label",
16130
+ "type": {
16131
+ "text": "string | null"
16132
+ },
16133
+ "default": "null",
16134
+ "description": "Aria-label attribute to be set for accessibility",
16135
+ "fieldName": "ariaLabel"
16136
+ },
16137
+ {
16138
+ "name": "aria-labelledby",
16139
+ "type": {
16140
+ "text": "string | null"
16141
+ },
16142
+ "default": "null",
16143
+ "description": "Aria-labelledby attribute to be set for accessibility",
16144
+ "fieldName": "ariaLabelledby"
16145
+ }
16146
+ ],
16147
+ "superclass": {
16148
+ "name": "Component",
16149
+ "module": "/src/models"
16150
+ },
16151
+ "tagName": "mdc-illustration",
16152
+ "jsDoc": "/**\n * Illustration component that dynamically displays SVG illustrations based on a valid name.\n *\n * This component must be mounted within an `IllustrationProvider` component.\n *\n * The `IllustrationProvider` defines the source URL from which illustrations are consumed.\n * The `Illustration` component accepts a `name` attribute, which corresponds to\n * the file name of the illustration to be loaded from the specified URL.\n *\n * Once fetched, the illustration will be rendered. If the fetching process is unsuccessful,\n * no illustration will be displayed.\n *\n * Default sizing of the illustration is controlled by choosing a different illustration name, can be overridden with the `--mdc-illustration-size` CSS property.\n * Coloring of the illustration is currently baked into the svg, meaning that the illustration name determines\n * the coloring.\n *\n * Regarding accessibility, there are two types of illustrations: decorative and informative.\n *\n * ### Decorative Illustrations\n * - Decorative illustrations 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 illustrations, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Illustrations\n * - Informative illustrations 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 illustrations, 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 * @tagname mdc-illustration\n *\n * @cssproperty --mdc-illustration-size - Allows customization of the illustration size.\n *\n * @csspart illustration - The svg inside the illustration element.\n */",
16153
+ "customElement": true
16154
+ }
16155
+ ],
16156
+ "exports": [
16157
+ {
16158
+ "kind": "js",
16159
+ "name": "default",
16160
+ "declaration": {
16161
+ "name": "Illustration",
16162
+ "module": "components/illustration/illustration.component.js"
16163
+ }
16164
+ }
16165
+ ]
16166
+ },
16167
+ {
16168
+ "kind": "javascript-module",
16169
+ "path": "components/illustrationprovider/illustrationprovider.component.js",
16170
+ "declarations": [
16171
+ {
16172
+ "kind": "class",
16173
+ "description": "IllustrationProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `illustrationSet` can be set to either `momentum-illustrations` or `custom-illustrations`.\nIf `momentum-illustrations` is selected, the illustrations will be fetched from the\nMomentum Design System illustration set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-design/illustrations` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-illustrations` is selected, the illustrations will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the illustrations will be fetched and\nthe consumer needs to make sure to bundle the illustrations in the application.\n\nIf `cacheStrategy` is provided (only works with illustrationSet = `custom-illustrations`), the\nIllustrationProvider will cache the illustrations in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same illustration multiple times over the network.\nThis is useful when the same illustration is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIllustrationProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
16174
+ "name": "IllustrationProvider",
16175
+ "slots": [
16176
+ {
16177
+ "description": "children",
16178
+ "name": ""
16179
+ }
16180
+ ],
16181
+ "members": [
16182
+ {
16183
+ "kind": "field",
16184
+ "name": "Context",
16185
+ "privacy": "public",
16186
+ "static": true,
16187
+ "description": "Context object of the IllustrationProviderContext, to be consumed by child components",
16188
+ "readonly": true
16189
+ },
16190
+ {
16191
+ "kind": "field",
16192
+ "name": "illustrationSet",
16193
+ "type": {
16194
+ "text": "IllustrationSet | undefined"
16195
+ },
16196
+ "description": "Illustration set to be used\n\nIf `momentum-illustrations` is selected, the illustrations will be fetched from the\nMomentum Design System illustration set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-illustrations` is selected, the illustrations will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the illustrations will be fetched and\nthe consumer needs to make sure to bundle the illustrations in the application.",
16197
+ "default": "momentum-illustrations",
16198
+ "attribute": "illustration-set",
16199
+ "reflects": true
16200
+ },
16201
+ {
16202
+ "kind": "field",
16203
+ "name": "url",
16204
+ "type": {
16205
+ "text": "string | undefined"
16206
+ },
16207
+ "description": "Url of where illustrations will be fetched from\n(if Illustration set is `custom-illustrations`, this will be the base url)",
16208
+ "attribute": "url"
16209
+ },
16210
+ {
16211
+ "kind": "field",
16212
+ "name": "fileExtension",
16213
+ "type": {
16214
+ "text": "string | undefined"
16215
+ },
16216
+ "description": "File extension of illustrations\n(if Illustration set is `custom-illustrations`, this will be the file extension for illustrations)",
16217
+ "default": "svg",
16218
+ "attribute": "file-extension",
16219
+ "reflects": true
16220
+ },
16221
+ {
16222
+ "kind": "field",
16223
+ "name": "cacheStrategy",
16224
+ "type": {
16225
+ "text": "CacheStrategy | undefined"
16226
+ },
16227
+ "description": "Illustrations Cache Strategy to use\n\n**Can only be used if Illustration set is `custom-illustrations`**\n\nChoose `in-memory-cache` to cache illustrations in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache illustrations using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the illustrations will not be cached.",
16228
+ "default": "undefined",
16229
+ "attribute": "cache-strategy"
16230
+ },
16231
+ {
16232
+ "kind": "field",
16233
+ "name": "cacheName",
16234
+ "type": {
16235
+ "text": "string | undefined"
16236
+ },
16237
+ "description": "Illustrations Cache Name to use (cache strategy must be provided)\n\nIf provided, Illustrations inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nIllustrations cache name must be unique, independent from other asset caches.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the illustrations will not be cached.",
16238
+ "default": "undefined",
16239
+ "attribute": "cache-name"
16240
+ },
16241
+ {
16242
+ "kind": "method",
16243
+ "name": "updateValuesInContext",
16244
+ "privacy": "private"
16245
+ },
16246
+ {
16247
+ "kind": "method",
16248
+ "name": "updateContext",
16249
+ "privacy": "protected",
16250
+ "return": {
16251
+ "type": {
16252
+ "text": "void"
16253
+ }
16254
+ }
16255
+ }
16256
+ ],
16257
+ "attributes": [
16258
+ {
16259
+ "name": "illustration-set",
16260
+ "type": {
16261
+ "text": "IllustrationSet | undefined"
16262
+ },
16263
+ "description": "Illustration set to be used\n\nIf `momentum-illustrations` is selected, the illustrations will be fetched from the\nMomentum Design System illustration set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-illustrations` is selected, the illustrations will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the illustrations will be fetched and\nthe consumer needs to make sure to bundle the illustrations in the application.",
16264
+ "default": "momentum-illustrations",
16265
+ "fieldName": "illustrationSet"
16266
+ },
16267
+ {
16268
+ "name": "url",
16269
+ "type": {
16270
+ "text": "string | undefined"
16271
+ },
16272
+ "description": "Url of where illustrations will be fetched from\n(if Illustration set is `custom-illustrations`, this will be the base url)",
16273
+ "fieldName": "url"
16274
+ },
16275
+ {
16276
+ "name": "file-extension",
16277
+ "type": {
16278
+ "text": "string | undefined"
16279
+ },
16280
+ "description": "File extension of illustrations\n(if Illustration set is `custom-illustrations`, this will be the file extension for illustrations)",
16281
+ "default": "svg",
16282
+ "fieldName": "fileExtension"
16283
+ },
16284
+ {
16285
+ "name": "cache-strategy",
16286
+ "type": {
16287
+ "text": "CacheStrategy | undefined"
16288
+ },
16289
+ "description": "Illustrations Cache Strategy to use\n\n**Can only be used if Illustration set is `custom-illustrations`**\n\nChoose `in-memory-cache` to cache illustrations in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache illustrations using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the illustrations will not be cached.",
16290
+ "default": "undefined",
16291
+ "fieldName": "cacheStrategy"
16292
+ },
16293
+ {
16294
+ "name": "cache-name",
16295
+ "type": {
16296
+ "text": "string | undefined"
16297
+ },
16298
+ "description": "Illustrations Cache Name to use (cache strategy must be provided)\n\nIf provided, Illustrations inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nIllustrations cache name must be unique, independent from other asset caches.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the illustrations will not be cached.",
16299
+ "default": "undefined",
16300
+ "fieldName": "cacheName"
16301
+ }
16302
+ ],
16303
+ "superclass": {
16304
+ "name": "Provider",
16305
+ "module": "/src/models"
16306
+ },
16307
+ "tagName": "mdc-illustrationprovider",
16308
+ "jsDoc": "/**\n * IllustrationProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `illustrationSet` can be set to either `momentum-illustrations` or `custom-illustrations`.\n * If `momentum-illustrations` is selected, the illustrations will be fetched from the\n * Momentum Design System illustration set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-design/illustrations` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-illustrations` is selected, the illustrations will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the illustrations will be fetched and\n * the consumer needs to make sure to bundle the illustrations in the application.\n *\n * If `cacheStrategy` is provided (only works with illustrationSet = `custom-illustrations`), the\n * IllustrationProvider will cache the illustrations in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same illustration multiple times over the network.\n * This is useful when the same illustration is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IllustrationProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-illustrationprovider\n *\n * @slot - children\n */",
16309
+ "customElement": true
16310
+ }
16311
+ ],
16312
+ "exports": [
16313
+ {
16314
+ "kind": "js",
16315
+ "name": "default",
16316
+ "declaration": {
16317
+ "name": "IllustrationProvider",
16318
+ "module": "components/illustrationprovider/illustrationprovider.component.js"
16319
+ }
16320
+ }
16321
+ ]
16322
+ },
15989
16323
  {
15990
16324
  "kind": "javascript-module",
15991
16325
  "path": "components/input/input.component.js",
@@ -39606,7 +39940,7 @@
39606
39940
  "type": {
39607
39941
  "text": "ToastVariant"
39608
39942
  },
39609
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
39943
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
39610
39944
  "default": "'custom'",
39611
39945
  "attribute": "variant",
39612
39946
  "reflects": true
@@ -39810,7 +40144,7 @@
39810
40144
  "type": {
39811
40145
  "text": "ToastVariant"
39812
40146
  },
39813
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
40147
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
39814
40148
  "default": "'custom'",
39815
40149
  "fieldName": "variant"
39816
40150
  },
@@ -39876,7 +40210,7 @@
39876
40210
  "module": "/src/models"
39877
40211
  },
39878
40212
  "tagName": "mdc-toast",
39879
- "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n * \n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-linkbutton\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n * \n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
40213
+ "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n * \n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n * \n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
39880
40214
  "customElement": true
39881
40215
  }
39882
40216
  ],