@momentum-design/components 0.27.2 → 0.27.4

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 (52) hide show
  1. package/dist/browser/index.js +68 -68
  2. package/dist/browser/index.js.map +3 -3
  3. package/dist/components/avatarbutton/avatarbutton.component.d.ts +5 -0
  4. package/dist/components/avatarbutton/avatarbutton.component.js +5 -0
  5. package/dist/components/button/button.component.d.ts +5 -0
  6. package/dist/components/button/button.component.js +25 -16
  7. package/dist/components/buttonsimple/buttonsimple.component.d.ts +5 -0
  8. package/dist/components/buttonsimple/buttonsimple.component.js +5 -0
  9. package/dist/components/checkbox/checkbox.component.d.ts +3 -0
  10. package/dist/components/checkbox/checkbox.component.js +3 -0
  11. package/dist/components/icon/icon.component.js +29 -16
  12. package/dist/components/icon/icon.utils.d.ts +2 -2
  13. package/dist/components/icon/icon.utils.js +2 -2
  14. package/dist/components/iconprovider/iconprovider.component.d.ts +33 -29
  15. package/dist/components/iconprovider/iconprovider.component.js +33 -5
  16. package/dist/components/iconprovider/iconprovider.constants.d.ts +1 -0
  17. package/dist/components/iconprovider/iconprovider.constants.js +1 -0
  18. package/dist/components/iconprovider/iconprovider.context.d.ts +3 -1
  19. package/dist/components/iconprovider/iconprovider.types.d.ts +3 -0
  20. package/dist/components/iconprovider/iconprovider.types.js +1 -0
  21. package/dist/components/input/input.component.d.ts +5 -0
  22. package/dist/components/input/input.component.js +5 -0
  23. package/dist/components/radio/radio.component.d.ts +3 -0
  24. package/dist/components/radio/radio.component.js +3 -0
  25. package/dist/components/tab/tab.component.d.ts +5 -0
  26. package/dist/components/tab/tab.component.js +5 -0
  27. package/dist/components/toggle/toggle.component.d.ts +3 -0
  28. package/dist/components/toggle/toggle.component.js +3 -0
  29. package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +2 -0
  30. package/dist/components/virtualizedlist/virtualizedlist.component.js +2 -0
  31. package/dist/custom-elements.json +261 -21
  32. package/dist/react/avatarbutton/index.d.ts +11 -1
  33. package/dist/react/avatarbutton/index.js +11 -1
  34. package/dist/react/button/index.d.ts +11 -1
  35. package/dist/react/button/index.js +11 -1
  36. package/dist/react/buttonsimple/index.d.ts +11 -1
  37. package/dist/react/buttonsimple/index.js +11 -1
  38. package/dist/react/checkbox/index.d.ts +8 -1
  39. package/dist/react/checkbox/index.js +8 -1
  40. package/dist/react/iconprovider/index.d.ts +11 -5
  41. package/dist/react/iconprovider/index.js +11 -5
  42. package/dist/react/input/index.d.ts +12 -1
  43. package/dist/react/input/index.js +12 -1
  44. package/dist/react/radio/index.d.ts +8 -1
  45. package/dist/react/radio/index.js +8 -1
  46. package/dist/react/tab/index.d.ts +11 -1
  47. package/dist/react/tab/index.js +11 -1
  48. package/dist/react/toggle/index.d.ts +8 -1
  49. package/dist/react/toggle/index.js +8 -1
  50. package/dist/react/virtualizedlist/index.d.ts +5 -1
  51. package/dist/react/virtualizedlist/index.js +5 -1
  52. package/package.json +1 -1
@@ -596,6 +596,48 @@
596
596
  }
597
597
  }
598
598
  ],
599
+ "events": [
600
+ {
601
+ "description": "(React: onClick) This event is dispatched when the avatarbutton is clicked.",
602
+ "name": "click",
603
+ "reactName": "onClick",
604
+ "eventName": "ClickEvent",
605
+ "inheritedFrom": {
606
+ "name": "Buttonsimple",
607
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
608
+ }
609
+ },
610
+ {
611
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the avatarbutton.",
612
+ "name": "keydown",
613
+ "reactName": "onKeyDown",
614
+ "eventName": "KeydownEvent",
615
+ "inheritedFrom": {
616
+ "name": "Buttonsimple",
617
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
618
+ }
619
+ },
620
+ {
621
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the avatarbutton.",
622
+ "name": "keyup",
623
+ "reactName": "onKeyUp",
624
+ "eventName": "KeyupEvent",
625
+ "inheritedFrom": {
626
+ "name": "Buttonsimple",
627
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
628
+ }
629
+ },
630
+ {
631
+ "description": "(React: onFocus) This event is dispatched when the avatarbutton receives focus.",
632
+ "name": "focus",
633
+ "reactName": "onFocus",
634
+ "eventName": "FocusEvent",
635
+ "inheritedFrom": {
636
+ "name": "Buttonsimple",
637
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
638
+ }
639
+ }
640
+ ],
599
641
  "attributes": [
600
642
  {
601
643
  "name": "aria-label",
@@ -783,7 +825,7 @@
783
825
  "module": "/src/components/buttonsimple/buttonsimple.component"
784
826
  },
785
827
  "tagName": "mdc-avatarbutton",
786
- "jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n *\n * This component is made by extending `buttonsimple` class.\n * The button component acts as a wrapper for the avatar component.\n *\n * @dependency mdc-avatar\n *\n * @tagname mdc-avatarbutton\n */",
828
+ "jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n *\n * This component is made by extending `buttonsimple` class.\n * The button component acts as a wrapper for the avatar component.\n *\n * @dependency mdc-avatar\n *\n * @event click - (React: onClick) This event is dispatched when the avatarbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the avatarbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the avatarbutton.\n * @event focus - (React: onFocus) This event is dispatched when the avatarbutton receives focus.\n *\n * @tagname mdc-avatarbutton\n */",
787
829
  "customElement": true
788
830
  }
789
831
  ],
@@ -1556,6 +1598,48 @@
1556
1598
  }
1557
1599
  }
1558
1600
  ],
1601
+ "events": [
1602
+ {
1603
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
1604
+ "name": "click",
1605
+ "reactName": "onClick",
1606
+ "eventName": "ClickEvent",
1607
+ "inheritedFrom": {
1608
+ "name": "Buttonsimple",
1609
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
1614
+ "name": "keydown",
1615
+ "reactName": "onKeyDown",
1616
+ "eventName": "KeydownEvent",
1617
+ "inheritedFrom": {
1618
+ "name": "Buttonsimple",
1619
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
1620
+ }
1621
+ },
1622
+ {
1623
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
1624
+ "name": "keyup",
1625
+ "reactName": "onKeyUp",
1626
+ "eventName": "KeyupEvent",
1627
+ "inheritedFrom": {
1628
+ "name": "Buttonsimple",
1629
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
1630
+ }
1631
+ },
1632
+ {
1633
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
1634
+ "name": "focus",
1635
+ "reactName": "onFocus",
1636
+ "eventName": "FocusEvent",
1637
+ "inheritedFrom": {
1638
+ "name": "Buttonsimple",
1639
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
1640
+ }
1641
+ }
1642
+ ],
1559
1643
  "attributes": [
1560
1644
  {
1561
1645
  "name": "prefix-icon",
@@ -1688,7 +1772,7 @@
1688
1772
  "module": "/src/components/buttonsimple/buttonsimple.component"
1689
1773
  },
1690
1774
  "tagName": "mdc-button",
1691
- "jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\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.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n */",
1775
+ "jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\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.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\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-button\n *\n * @slot - Text label of the button.\n */",
1692
1776
  "customElement": true
1693
1777
  }
1694
1778
  ],
@@ -1900,6 +1984,32 @@
1900
1984
  }
1901
1985
  }
1902
1986
  ],
1987
+ "events": [
1988
+ {
1989
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
1990
+ "name": "click",
1991
+ "reactName": "onClick",
1992
+ "eventName": "ClickEvent"
1993
+ },
1994
+ {
1995
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
1996
+ "name": "keydown",
1997
+ "reactName": "onKeyDown",
1998
+ "eventName": "KeydownEvent"
1999
+ },
2000
+ {
2001
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
2002
+ "name": "keyup",
2003
+ "reactName": "onKeyUp",
2004
+ "eventName": "KeyupEvent"
2005
+ },
2006
+ {
2007
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
2008
+ "name": "focus",
2009
+ "reactName": "onFocus",
2010
+ "eventName": "FocusEvent"
2011
+ }
2012
+ ],
1903
2013
  "attributes": [
1904
2014
  {
1905
2015
  "name": "active",
@@ -1985,7 +2095,7 @@
1985
2095
  "module": "/src/models"
1986
2096
  },
1987
2097
  "tagName": "mdc-buttonsimple",
1988
- "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 * @tagname mdc-buttonsimple\n */",
2098
+ "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 */",
1989
2099
  "customElement": true
1990
2100
  }
1991
2101
  ],
@@ -2363,6 +2473,18 @@
2363
2473
  "type": {
2364
2474
  "text": "EventConstructor"
2365
2475
  }
2476
+ },
2477
+ {
2478
+ "description": "(React: onChange) Event that gets dispatched when the checkbox state changes.",
2479
+ "name": "change",
2480
+ "reactName": "onChange",
2481
+ "eventName": "ChangeEvent"
2482
+ },
2483
+ {
2484
+ "description": "(React: onFocus) Event that gets dispatched when the checkbox receives focus.",
2485
+ "name": "focus",
2486
+ "reactName": "onFocus",
2487
+ "eventName": "FocusEvent"
2366
2488
  }
2367
2489
  ],
2368
2490
  "attributes": [
@@ -2514,7 +2636,7 @@
2514
2636
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
2515
2637
  },
2516
2638
  "tagName": "mdc-checkbox",
2517
- "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2639
+ "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2518
2640
  "customElement": true,
2519
2641
  "slots": [
2520
2642
  {
@@ -3549,7 +3671,7 @@
3549
3671
  "declarations": [
3550
3672
  {
3551
3673
  "kind": "class",
3552
- "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.\n\nIf `cacheStrategy` is provided, the IconProvider will cache the icons\nin 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).",
3674
+ "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).",
3553
3675
  "name": "IconProvider",
3554
3676
  "slots": [
3555
3677
  {
@@ -3566,13 +3688,24 @@
3566
3688
  "description": "Context object of the IconProvider, to be consumed by child components",
3567
3689
  "readonly": true
3568
3690
  },
3691
+ {
3692
+ "kind": "field",
3693
+ "name": "iconSet",
3694
+ "type": {
3695
+ "text": "IconSet | undefined"
3696
+ },
3697
+ "description": "Icon set to be used\n\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.",
3698
+ "default": "momentum-icons",
3699
+ "attribute": "icon-set",
3700
+ "reflects": true
3701
+ },
3569
3702
  {
3570
3703
  "kind": "field",
3571
3704
  "name": "url",
3572
3705
  "type": {
3573
3706
  "text": "string | undefined"
3574
3707
  },
3575
- "description": "Url of where icons will be fetched from",
3708
+ "description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
3576
3709
  "attribute": "url"
3577
3710
  },
3578
3711
  {
@@ -3581,7 +3714,7 @@
3581
3714
  "type": {
3582
3715
  "text": "string | undefined"
3583
3716
  },
3584
- "description": "File extension of icons",
3717
+ "description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
3585
3718
  "default": "svg",
3586
3719
  "attribute": "file-extension",
3587
3720
  "reflects": true
@@ -3612,9 +3745,9 @@
3612
3745
  "kind": "field",
3613
3746
  "name": "cacheStrategy",
3614
3747
  "type": {
3615
- "text": "'in-memory-cache' | 'web-cache-api' | undefined"
3748
+ "text": "CacheStrategy | undefined"
3616
3749
  },
3617
- "description": "Icons Cache Strategy to use\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons 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 icons will not be cached.",
3750
+ "description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons 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 icons will not be cached.",
3618
3751
  "default": "undefined",
3619
3752
  "attribute": "cache-strategy"
3620
3753
  },
@@ -3624,7 +3757,7 @@
3624
3757
  "type": {
3625
3758
  "text": "string | undefined"
3626
3759
  },
3627
- "description": "Icons Cache Name to use\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.",
3760
+ "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.",
3628
3761
  "default": "undefined",
3629
3762
  "attribute": "cache-name"
3630
3763
  },
@@ -3645,12 +3778,21 @@
3645
3778
  }
3646
3779
  ],
3647
3780
  "attributes": [
3781
+ {
3782
+ "name": "icon-set",
3783
+ "type": {
3784
+ "text": "IconSet | undefined"
3785
+ },
3786
+ "description": "Icon set to be used\n\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.",
3787
+ "default": "momentum-icons",
3788
+ "fieldName": "iconSet"
3789
+ },
3648
3790
  {
3649
3791
  "name": "url",
3650
3792
  "type": {
3651
3793
  "text": "string | undefined"
3652
3794
  },
3653
- "description": "Url of where icons will be fetched from",
3795
+ "description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
3654
3796
  "fieldName": "url"
3655
3797
  },
3656
3798
  {
@@ -3658,7 +3800,7 @@
3658
3800
  "type": {
3659
3801
  "text": "string | undefined"
3660
3802
  },
3661
- "description": "File extension of icons",
3803
+ "description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
3662
3804
  "default": "svg",
3663
3805
  "fieldName": "fileExtension"
3664
3806
  },
@@ -3683,9 +3825,9 @@
3683
3825
  {
3684
3826
  "name": "cache-strategy",
3685
3827
  "type": {
3686
- "text": "'in-memory-cache' | 'web-cache-api' | undefined"
3828
+ "text": "CacheStrategy | undefined"
3687
3829
  },
3688
- "description": "Icons Cache Strategy to use\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons 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 icons will not be cached.",
3830
+ "description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons 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 icons will not be cached.",
3689
3831
  "default": "undefined",
3690
3832
  "fieldName": "cacheStrategy"
3691
3833
  },
@@ -3694,7 +3836,7 @@
3694
3836
  "type": {
3695
3837
  "text": "string | undefined"
3696
3838
  },
3697
- "description": "Icons Cache Name to use\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.",
3839
+ "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.",
3698
3840
  "default": "undefined",
3699
3841
  "fieldName": "cacheName"
3700
3842
  }
@@ -3704,7 +3846,7 @@
3704
3846
  "module": "/src/models"
3705
3847
  },
3706
3848
  "tagName": "mdc-iconprovider",
3707
- "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * If `cacheStrategy` is provided, the IconProvider will cache the icons\n * 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 */",
3849
+ "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 */",
3708
3850
  "customElement": true
3709
3851
  }
3710
3852
  ],
@@ -4274,6 +4416,30 @@
4274
4416
  "type": {
4275
4417
  "text": "EventConstructor"
4276
4418
  }
4419
+ },
4420
+ {
4421
+ "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
4422
+ "name": "input",
4423
+ "reactName": "onInput",
4424
+ "eventName": "InputEvent"
4425
+ },
4426
+ {
4427
+ "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
4428
+ "name": "change",
4429
+ "reactName": "onChange",
4430
+ "eventName": "ChangeEvent"
4431
+ },
4432
+ {
4433
+ "description": "(React: onFocus) This event is dispatched when the input receives focus.",
4434
+ "name": "focus",
4435
+ "reactName": "onFocus",
4436
+ "eventName": "FocusEvent"
4437
+ },
4438
+ {
4439
+ "description": "(React: onBlur) This event is dispatched when the input loses focus.",
4440
+ "name": "blur",
4441
+ "reactName": "onBlur",
4442
+ "eventName": "BlurEvent"
4277
4443
  }
4278
4444
  ],
4279
4445
  "attributes": [
@@ -4535,7 +4701,7 @@
4535
4701
  "module": "/src/components/formfieldwrapper"
4536
4702
  },
4537
4703
  "tagName": "mdc-input",
4538
- "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
4704
+ "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\n *\n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
4539
4705
  "customElement": true,
4540
4706
  "slots": [
4541
4707
  {
@@ -5573,6 +5739,18 @@
5573
5739
  "type": {
5574
5740
  "text": "EventConstructor"
5575
5741
  }
5742
+ },
5743
+ {
5744
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
5745
+ "name": "change",
5746
+ "reactName": "onChange",
5747
+ "eventName": "ChangeEvent"
5748
+ },
5749
+ {
5750
+ "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
5751
+ "name": "focus",
5752
+ "reactName": "onFocus",
5753
+ "eventName": "FocusEvent"
5576
5754
  }
5577
5755
  ],
5578
5756
  "attributes": [
@@ -5724,7 +5902,7 @@
5724
5902
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
5725
5903
  },
5726
5904
  "tagName": "mdc-radio",
5727
- "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-radio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-radio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-radio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-radio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-radio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n */",
5905
+ "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-radio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-radio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-radio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-radio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-radio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n */",
5728
5906
  "customElement": true,
5729
5907
  "slots": [
5730
5908
  {
@@ -6406,6 +6584,48 @@
6406
6584
  }
6407
6585
  }
6408
6586
  ],
6587
+ "events": [
6588
+ {
6589
+ "description": "(React: onClick) This event is dispatched when the tab is clicked.",
6590
+ "name": "click",
6591
+ "reactName": "onClick",
6592
+ "eventName": "ClickEvent",
6593
+ "inheritedFrom": {
6594
+ "name": "Buttonsimple",
6595
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6596
+ }
6597
+ },
6598
+ {
6599
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the tab.",
6600
+ "name": "keydown",
6601
+ "reactName": "onKeyDown",
6602
+ "eventName": "KeydownEvent",
6603
+ "inheritedFrom": {
6604
+ "name": "Buttonsimple",
6605
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6606
+ }
6607
+ },
6608
+ {
6609
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the tab.",
6610
+ "name": "keyup",
6611
+ "reactName": "onKeyUp",
6612
+ "eventName": "KeyupEvent",
6613
+ "inheritedFrom": {
6614
+ "name": "Buttonsimple",
6615
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6616
+ }
6617
+ },
6618
+ {
6619
+ "description": "(React: onFocus) This event is dispatched when the tab receives focus.",
6620
+ "name": "focus",
6621
+ "reactName": "onFocus",
6622
+ "eventName": "FocusEvent",
6623
+ "inheritedFrom": {
6624
+ "name": "Buttonsimple",
6625
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6626
+ }
6627
+ }
6628
+ ],
6409
6629
  "attributes": [
6410
6630
  {
6411
6631
  "name": "text",
@@ -6536,7 +6756,7 @@
6536
6756
  "module": "/src/components/buttonsimple/buttonsimple.component"
6537
6757
  },
6538
6758
  "tagName": "mdc-tab",
6539
- "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
6759
+ "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
6540
6760
  "customElement": true
6541
6761
  }
6542
6762
  ],
@@ -7098,6 +7318,18 @@
7098
7318
  "type": {
7099
7319
  "text": "EventConstructor"
7100
7320
  }
7321
+ },
7322
+ {
7323
+ "description": "(React: onChange) Event that gets dispatched when the toggle state changes.",
7324
+ "name": "change",
7325
+ "reactName": "onChange",
7326
+ "eventName": "ChangeEvent"
7327
+ },
7328
+ {
7329
+ "description": "(React: onFocus) Event that gets dispatched when the toggle receives focus.",
7330
+ "name": "focus",
7331
+ "reactName": "onFocus",
7332
+ "eventName": "FocusEvent"
7101
7333
  }
7102
7334
  ],
7103
7335
  "attributes": [
@@ -7249,7 +7481,7 @@
7249
7481
  "module": "/src/components/formfieldwrapper"
7250
7482
  },
7251
7483
  "tagName": "mdc-toggle",
7252
- "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @cssproperty --mdc-toggle-width - width of the toggle\n * @cssproperty --mdc-toggle-height - height of the toggle\n * @cssproperty --mdc-toggle-width-compact - width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border-radius - border radius of the toggle\n * @cssproperty --mdc-toggle-border-radius-compact - border radius of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border - border of the toggle\n * @cssproperty --mdc-toggle-inactive-rest-color - background color of the inactive toggle in rest state\n * @cssproperty --mdc-toggle-inactive-hover-color - background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - background color of the inactive toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-disabled-color - background color of the inactive toggle in disabled state\n * @cssproperty --mdc-toggle-active-rest-color - background color of the active toggle in rest state\n * @cssproperty --mdc-toggle-active-hover-color - background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-active-disabled-color - background color of the active toggle in disabled state\n * @cssproperty --mdc-toggle-help-text-color - color of the help text label\n * @cssproperty --mdc-toggle-label-color-disabled - color of the toggle label and help text in disabled state\n *\n */",
7484
+ "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @event change - (React: onChange) Event that gets dispatched when the toggle state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.\n *\n * @cssproperty --mdc-toggle-width - width of the toggle\n * @cssproperty --mdc-toggle-height - height of the toggle\n * @cssproperty --mdc-toggle-width-compact - width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border-radius - border radius of the toggle\n * @cssproperty --mdc-toggle-border-radius-compact - border radius of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border - border of the toggle\n * @cssproperty --mdc-toggle-inactive-rest-color - background color of the inactive toggle in rest state\n * @cssproperty --mdc-toggle-inactive-hover-color - background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - background color of the inactive toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-disabled-color - background color of the inactive toggle in disabled state\n * @cssproperty --mdc-toggle-active-rest-color - background color of the active toggle in rest state\n * @cssproperty --mdc-toggle-active-hover-color - background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-active-disabled-color - background color of the active toggle in disabled state\n * @cssproperty --mdc-toggle-help-text-color - color of the help text label\n * @cssproperty --mdc-toggle-label-color-disabled - color of the toggle label and help text in disabled state\n *\n */",
7253
7485
  "customElement": true,
7254
7486
  "slots": [
7255
7487
  {
@@ -7344,6 +7576,14 @@
7344
7576
  "default": "null"
7345
7577
  }
7346
7578
  ],
7579
+ "events": [
7580
+ {
7581
+ "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
7582
+ "name": "onscroll",
7583
+ "reactName": "onScroll",
7584
+ "eventName": "OnscrollEvent"
7585
+ }
7586
+ ],
7347
7587
  "attributes": [
7348
7588
  {
7349
7589
  "name": "onscroll",
@@ -7377,7 +7617,7 @@
7377
7617
  "module": "/src/models"
7378
7618
  },
7379
7619
  "tagName": "mdc-virtualizedlist",
7380
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @slot - Client side List with nested list items.\n */",
7620
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
7381
7621
  "customElement": true
7382
7622
  }
7383
7623
  ],
@@ -7,7 +7,17 @@ import Component from '../../components/avatarbutton';
7
7
  *
8
8
  * @dependency mdc-avatar
9
9
  *
10
+ * @event click - (React: onClick) This event is dispatched when the avatarbutton is clicked.
11
+ * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the avatarbutton.
12
+ * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the avatarbutton.
13
+ * @event focus - (React: onFocus) This event is dispatched when the avatarbutton receives focus.
14
+ *
10
15
  * @tagname mdc-avatarbutton
11
16
  */
12
- declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
17
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
18
+ onClick: string;
19
+ onKeyDown: string;
20
+ onKeyUp: string;
21
+ onFocus: string;
22
+ }>;
13
23
  export default reactWrapper;
@@ -10,13 +10,23 @@ import { TAG_NAME } from '../../components/avatarbutton/avatarbutton.constants';
10
10
  *
11
11
  * @dependency mdc-avatar
12
12
  *
13
+ * @event click - (React: onClick) This event is dispatched when the avatarbutton is clicked.
14
+ * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the avatarbutton.
15
+ * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the avatarbutton.
16
+ * @event focus - (React: onFocus) This event is dispatched when the avatarbutton receives focus.
17
+ *
13
18
  * @tagname mdc-avatarbutton
14
19
  */
15
20
  const reactWrapper = createComponent({
16
21
  tagName: TAG_NAME,
17
22
  elementClass: Component,
18
23
  react: React,
19
- events: {},
24
+ events: {
25
+ onClick: 'click',
26
+ onKeyDown: 'keydown',
27
+ onKeyUp: 'keyup',
28
+ onFocus: 'focus',
29
+ },
20
30
  displayName: 'AvatarButton',
21
31
  });
22
32
  export default reactWrapper;
@@ -27,9 +27,19 @@ import Component from '../../components/button';
27
27
  *
28
28
  * @dependency mdc-icon
29
29
  *
30
+ * @event click - (React: onClick) This event is dispatched when the button is clicked.
31
+ * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.
32
+ * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.
33
+ * @event focus - (React: onFocus) This event is dispatched when the button receives focus.
34
+ *
30
35
  * @tagname mdc-button
31
36
  *
32
37
  * @slot - Text label of the button.
33
38
  */
34
- declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
39
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
40
+ onClick: string;
41
+ onKeyDown: string;
42
+ onKeyUp: string;
43
+ onFocus: string;
44
+ }>;
35
45
  export default reactWrapper;