@momentum-design/components 0.22.1 → 0.22.3

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 (42) hide show
  1. package/dist/browser/index.js +397 -141
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/avatar/avatar.component.d.ts +2 -2
  4. package/dist/components/avatar/avatar.component.js +2 -1
  5. package/dist/components/avatarbutton/avatarbutton.component.d.ts +4 -3
  6. package/dist/components/avatarbutton/avatarbutton.component.js +2 -1
  7. package/dist/components/badge/badge.component.d.ts +5 -10
  8. package/dist/components/badge/badge.component.js +3 -6
  9. package/dist/components/button/button.component.d.ts +4 -3
  10. package/dist/components/button/button.component.js +2 -2
  11. package/dist/components/buttonsimple/buttonsimple.component.d.ts +9 -10
  12. package/dist/components/buttonsimple/buttonsimple.component.js +11 -12
  13. package/dist/components/divider/divider.component.d.ts +4 -3
  14. package/dist/components/divider/divider.component.js +1 -1
  15. package/dist/components/formfieldwrapper/formfieldwrapper.types.d.ts +3 -1
  16. package/dist/components/formfieldwrapper/formfieldwrapper.utils.d.ts +2 -3
  17. package/dist/components/link/link.component.d.ts +5 -11
  18. package/dist/components/link/link.component.js +3 -6
  19. package/dist/components/tab/index.d.ts +9 -0
  20. package/dist/components/tab/index.js +6 -0
  21. package/dist/components/tab/tab.component.d.ts +128 -0
  22. package/dist/components/tab/tab.component.js +180 -0
  23. package/dist/components/tab/tab.constants.d.ts +10 -0
  24. package/dist/components/tab/tab.constants.js +11 -0
  25. package/dist/components/tab/tab.styles.d.ts +2 -0
  26. package/dist/components/tab/tab.styles.js +247 -0
  27. package/dist/components/tab/tab.types.d.ts +3 -0
  28. package/dist/components/tab/tab.types.js +1 -0
  29. package/dist/custom-elements.json +1244 -525
  30. package/dist/index.d.ts +2 -1
  31. package/dist/index.js +2 -1
  32. package/dist/react/buttonsimple/index.d.ts +0 -1
  33. package/dist/react/buttonsimple/index.js +0 -1
  34. package/dist/react/index.d.ts +2 -1
  35. package/dist/react/index.js +2 -1
  36. package/dist/react/tab/index.d.ts +82 -0
  37. package/dist/react/tab/index.js +91 -0
  38. package/dist/utils/mixins/AvatarComponentMixin.d.ts +0 -2
  39. package/dist/utils/mixins/AvatarComponentMixin.js +0 -4
  40. package/dist/utils/mixins/IconNameMixin.d.ts +7 -0
  41. package/dist/utils/mixins/IconNameMixin.js +20 -0
  42. package/package.json +1 -1
@@ -87,19 +87,6 @@
87
87
  "module": "utils/mixins/AvatarComponentMixin.js"
88
88
  }
89
89
  },
90
- {
91
- "kind": "field",
92
- "name": "iconName",
93
- "type": {
94
- "text": "IconNames | undefined"
95
- },
96
- "description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
97
- "attribute": "icon-name",
98
- "inheritedFrom": {
99
- "name": "AvatarComponentMixin",
100
- "module": "utils/mixins/AvatarComponentMixin.js"
101
- }
102
- },
103
90
  {
104
91
  "kind": "field",
105
92
  "name": "counter",
@@ -126,12 +113,29 @@
126
113
  "name": "AvatarComponentMixin",
127
114
  "module": "utils/mixins/AvatarComponentMixin.js"
128
115
  }
116
+ },
117
+ {
118
+ "kind": "field",
119
+ "name": "iconName",
120
+ "type": {
121
+ "text": "IconNames | undefined"
122
+ },
123
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
124
+ "attribute": "icon-name",
125
+ "inheritedFrom": {
126
+ "name": "IconNameMixin",
127
+ "module": "utils/mixins/IconNameMixin.js"
128
+ }
129
129
  }
130
130
  ],
131
131
  "mixins": [
132
132
  {
133
133
  "name": "AvatarComponentMixin",
134
134
  "module": "/src/utils/mixins/AvatarComponentMixin"
135
+ },
136
+ {
137
+ "name": "IconNameMixin",
138
+ "module": "/src/utils/mixins/IconNameMixin"
135
139
  }
136
140
  ],
137
141
  "superclass": {
@@ -191,18 +195,6 @@
191
195
  "module": "src/utils/mixins/AvatarComponentMixin.ts"
192
196
  }
193
197
  },
194
- {
195
- "name": "icon-name",
196
- "type": {
197
- "text": "IconNames | undefined"
198
- },
199
- "description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
200
- "fieldName": "iconName",
201
- "inheritedFrom": {
202
- "name": "AvatarComponentMixin",
203
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
204
- }
205
- },
206
198
  {
207
199
  "name": "counter",
208
200
  "type": {
@@ -227,6 +219,18 @@
227
219
  "name": "AvatarComponentMixin",
228
220
  "module": "src/utils/mixins/AvatarComponentMixin.ts"
229
221
  }
222
+ },
223
+ {
224
+ "name": "icon-name",
225
+ "type": {
226
+ "text": "IconNames | undefined"
227
+ },
228
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
229
+ "fieldName": "iconName",
230
+ "inheritedFrom": {
231
+ "name": "IconNameMixin",
232
+ "module": "src/utils/mixins/IconNameMixin.ts"
233
+ }
230
234
  }
231
235
  ]
232
236
  }
@@ -283,6 +287,7 @@
283
287
  "default": "undefined as unknown",
284
288
  "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.",
285
289
  "attribute": "active",
290
+ "reflects": true,
286
291
  "inheritedFrom": {
287
292
  "name": "Buttonsimple",
288
293
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -401,19 +406,6 @@
401
406
  "module": "components/buttonsimple/buttonsimple.component.js"
402
407
  }
403
408
  },
404
- {
405
- "kind": "field",
406
- "name": "iconName",
407
- "type": {
408
- "text": "IconNames | undefined"
409
- },
410
- "description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
411
- "attribute": "icon-name",
412
- "inheritedFrom": {
413
- "name": "AvatarComponentMixin",
414
- "module": "utils/mixins/AvatarComponentMixin.js"
415
- }
416
- },
417
409
  {
418
410
  "kind": "field",
419
411
  "name": "counter",
@@ -441,6 +433,19 @@
441
433
  "module": "utils/mixins/AvatarComponentMixin.js"
442
434
  }
443
435
  },
436
+ {
437
+ "kind": "field",
438
+ "name": "iconName",
439
+ "type": {
440
+ "text": "IconNames | undefined"
441
+ },
442
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
443
+ "attribute": "icon-name",
444
+ "inheritedFrom": {
445
+ "name": "IconNameMixin",
446
+ "module": "utils/mixins/IconNameMixin.js"
447
+ }
448
+ },
444
449
  {
445
450
  "kind": "field",
446
451
  "name": "tabIndex",
@@ -459,7 +464,7 @@
459
464
  {
460
465
  "kind": "method",
461
466
  "name": "executeAction",
462
- "privacy": "private",
467
+ "privacy": "protected",
463
468
  "inheritedFrom": {
464
469
  "name": "Buttonsimple",
465
470
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -467,25 +472,25 @@
467
472
  },
468
473
  {
469
474
  "kind": "method",
470
- "name": "setAriaPressed",
471
- "privacy": "private",
475
+ "name": "setActive",
476
+ "privacy": "protected",
472
477
  "parameters": [
473
478
  {
474
479
  "name": "element",
475
480
  "type": {
476
481
  "text": "HTMLElement"
477
482
  },
478
- "description": "The target element."
483
+ "description": "The button element"
479
484
  },
480
485
  {
481
486
  "name": "active",
482
487
  "type": {
483
488
  "text": "boolean"
484
489
  },
485
- "description": "The active state."
490
+ "description": "The active state of the element"
486
491
  }
487
492
  ],
488
- "description": "Sets the aria-pressed attribute based on the active state.",
493
+ "description": "Sets the aria-pressed attribute based on the active state of the button.",
489
494
  "inheritedFrom": {
490
495
  "name": "Buttonsimple",
491
496
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -650,18 +655,6 @@
650
655
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
651
656
  }
652
657
  },
653
- {
654
- "name": "icon-name",
655
- "type": {
656
- "text": "IconNames | undefined"
657
- },
658
- "description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
659
- "fieldName": "iconName",
660
- "inheritedFrom": {
661
- "name": "AvatarComponentMixin",
662
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
663
- }
664
- },
665
658
  {
666
659
  "name": "counter",
667
660
  "type": {
@@ -687,6 +680,18 @@
687
680
  "module": "src/utils/mixins/AvatarComponentMixin.ts"
688
681
  }
689
682
  },
683
+ {
684
+ "name": "icon-name",
685
+ "type": {
686
+ "text": "IconNames | undefined"
687
+ },
688
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
689
+ "fieldName": "iconName",
690
+ "inheritedFrom": {
691
+ "name": "IconNameMixin",
692
+ "module": "src/utils/mixins/IconNameMixin.ts"
693
+ }
694
+ },
690
695
  {
691
696
  "name": "tabIndex",
692
697
  "type": {
@@ -767,6 +772,10 @@
767
772
  {
768
773
  "name": "AvatarComponentMixin",
769
774
  "module": "/src/utils/mixins/AvatarComponentMixin"
775
+ },
776
+ {
777
+ "name": "IconNameMixin",
778
+ "module": "/src/utils/mixins/IconNameMixin"
770
779
  }
771
780
  ],
772
781
  "superclass": {
@@ -854,15 +863,6 @@
854
863
  "attribute": "type",
855
864
  "reflects": true
856
865
  },
857
- {
858
- "kind": "field",
859
- "name": "iconName",
860
- "type": {
861
- "text": "IconNames | undefined"
862
- },
863
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
864
- "attribute": "icon-name"
865
- },
866
866
  {
867
867
  "kind": "field",
868
868
  "name": "variant",
@@ -1012,6 +1012,19 @@
1012
1012
  }
1013
1013
  },
1014
1014
  "description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
1015
+ },
1016
+ {
1017
+ "kind": "field",
1018
+ "name": "iconName",
1019
+ "type": {
1020
+ "text": "IconNames | undefined"
1021
+ },
1022
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
1023
+ "attribute": "icon-name",
1024
+ "inheritedFrom": {
1025
+ "name": "IconNameMixin",
1026
+ "module": "utils/mixins/IconNameMixin.js"
1027
+ }
1015
1028
  }
1016
1029
  ],
1017
1030
  "attributes": [
@@ -1023,14 +1036,6 @@
1023
1036
  "description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
1024
1037
  "fieldName": "type"
1025
1038
  },
1026
- {
1027
- "name": "icon-name",
1028
- "type": {
1029
- "text": "IconNames | undefined"
1030
- },
1031
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
1032
- "fieldName": "iconName"
1033
- },
1034
1039
  {
1035
1040
  "name": "variant",
1036
1041
  "type": {
@@ -1074,6 +1079,24 @@
1074
1079
  "default": "null",
1075
1080
  "description": "Aria-label attribute to be set for accessibility",
1076
1081
  "fieldName": "ariaLabel"
1082
+ },
1083
+ {
1084
+ "name": "icon-name",
1085
+ "type": {
1086
+ "text": "IconNames | undefined"
1087
+ },
1088
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
1089
+ "fieldName": "iconName",
1090
+ "inheritedFrom": {
1091
+ "name": "IconNameMixin",
1092
+ "module": "src/utils/mixins/IconNameMixin.ts"
1093
+ }
1094
+ }
1095
+ ],
1096
+ "mixins": [
1097
+ {
1098
+ "name": "IconNameMixin",
1099
+ "module": "/src/utils/mixins/IconNameMixin"
1077
1100
  }
1078
1101
  ],
1079
1102
  "superclass": {
@@ -1363,6 +1386,7 @@
1363
1386
  "default": "false",
1364
1387
  "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.",
1365
1388
  "attribute": "active",
1389
+ "reflects": true,
1366
1390
  "inheritedFrom": {
1367
1391
  "name": "Buttonsimple",
1368
1392
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1400,7 +1424,7 @@
1400
1424
  {
1401
1425
  "kind": "method",
1402
1426
  "name": "executeAction",
1403
- "privacy": "private",
1427
+ "privacy": "protected",
1404
1428
  "inheritedFrom": {
1405
1429
  "name": "Buttonsimple",
1406
1430
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1408,25 +1432,25 @@
1408
1432
  },
1409
1433
  {
1410
1434
  "kind": "method",
1411
- "name": "setAriaPressed",
1412
- "privacy": "private",
1435
+ "name": "setActive",
1436
+ "privacy": "protected",
1413
1437
  "parameters": [
1414
1438
  {
1415
1439
  "name": "element",
1416
1440
  "type": {
1417
1441
  "text": "HTMLElement"
1418
1442
  },
1419
- "description": "The target element."
1443
+ "description": "The button element"
1420
1444
  },
1421
1445
  {
1422
1446
  "name": "active",
1423
1447
  "type": {
1424
1448
  "text": "boolean"
1425
1449
  },
1426
- "description": "The active state."
1450
+ "description": "The active state of the element"
1427
1451
  }
1428
1452
  ],
1429
- "description": "Sets the aria-pressed attribute based on the active state.",
1453
+ "description": "Sets the aria-pressed attribute based on the active state of the button.",
1430
1454
  "inheritedFrom": {
1431
1455
  "name": "Buttonsimple",
1432
1456
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1696,7 +1720,8 @@
1696
1720
  },
1697
1721
  "default": "false",
1698
1722
  "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.",
1699
- "attribute": "active"
1723
+ "attribute": "active",
1724
+ "reflects": true
1700
1725
  },
1701
1726
  {
1702
1727
  "kind": "field",
@@ -1741,29 +1766,29 @@
1741
1766
  {
1742
1767
  "kind": "method",
1743
1768
  "name": "executeAction",
1744
- "privacy": "private"
1769
+ "privacy": "protected"
1745
1770
  },
1746
1771
  {
1747
1772
  "kind": "method",
1748
- "name": "setAriaPressed",
1749
- "privacy": "private",
1773
+ "name": "setActive",
1774
+ "privacy": "protected",
1750
1775
  "parameters": [
1751
1776
  {
1752
1777
  "name": "element",
1753
1778
  "type": {
1754
1779
  "text": "HTMLElement"
1755
1780
  },
1756
- "description": "The target element."
1781
+ "description": "The button element"
1757
1782
  },
1758
1783
  {
1759
1784
  "name": "active",
1760
1785
  "type": {
1761
1786
  "text": "boolean"
1762
1787
  },
1763
- "description": "The active state."
1788
+ "description": "The active state of the element"
1764
1789
  }
1765
1790
  ],
1766
- "description": "Sets the aria-pressed attribute based on the active state."
1791
+ "description": "Sets the aria-pressed attribute based on the active state of the button."
1767
1792
  },
1768
1793
  {
1769
1794
  "kind": "method",
@@ -1960,7 +1985,7 @@
1960
1985
  "module": "/src/models"
1961
1986
  },
1962
1987
  "tagName": "mdc-buttonsimple",
1963
- "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 *\n */",
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 */",
1964
1989
  "customElement": true
1965
1990
  }
1966
1991
  ],
@@ -1977,98 +2002,328 @@
1977
2002
  },
1978
2003
  {
1979
2004
  "kind": "javascript-module",
1980
- "path": "components/checkbox/checkbox.component.js",
2005
+ "path": "components/divider/divider.component.js",
1981
2006
  "declarations": [
1982
2007
  {
1983
2008
  "kind": "class",
1984
- "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.",
1985
- "name": "Checkbox",
2009
+ "description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
2010
+ "name": "Divider",
1986
2011
  "cssProperties": [
1987
2012
  {
1988
- "description": "Allows customization of the background color on hover.",
1989
- "name": "--mdc-checkbox-background-color-hover"
1990
- },
1991
- {
1992
- "description": "Border color in high contrast.",
1993
- "name": "--mdc-checkbox-border-color"
1994
- },
1995
- {
1996
- "description": "Background color for a selected checkbox.",
1997
- "name": "--mdc-checkbox-checked-background-color"
1998
- },
1999
- {
2000
- "description": "Background color for a selected checkbox when hovered.",
2001
- "name": "--mdc-checkbox-checked-background-color-hover"
2002
- },
2003
- {
2004
- "description": "Background color for a selected checkbox when pressed.",
2005
- "name": "--mdc-checkbox-checked-pressed-icon-color"
2013
+ "description": "background color of the divider",
2014
+ "name": "--mdc-divider-background-color"
2006
2015
  },
2007
2016
  {
2008
- "description": "Background color for a disabled checkbox.",
2009
- "name": "--mdc-checkbox-disabled-background-color"
2017
+ "description": "width of the divider",
2018
+ "name": "--mdc-divider-width"
2010
2019
  },
2011
2020
  {
2012
- "description": "Border color for a disabled checkbox.",
2013
- "name": "--mdc-checkbox-disabled-border-color"
2021
+ "description": "gradient of the horizontal divider",
2022
+ "name": "--mdc-divider-horizontal-gradient"
2014
2023
  },
2015
2024
  {
2016
- "description": "Background color for a disabled, selected checkbox.",
2017
- "name": "--mdc-checkbox-disabled-checked-icon-color"
2025
+ "description": "gradient of the vertical divider",
2026
+ "name": "--mdc-divider-vertical-gradient"
2018
2027
  },
2019
2028
  {
2020
- "description": "Icon color for a disabled checkbox.",
2021
- "name": "--mdc-checkbox-disabled-icon-color"
2029
+ "description": "font size of label in the text divider",
2030
+ "name": "--mdc-divider-text-size"
2022
2031
  },
2023
2032
  {
2024
- "description": "Background color for an unselected checkbox.",
2025
- "name": "--mdc-checkbox-icon-background-color"
2033
+ "description": "font color of label in the text divider",
2034
+ "name": "--mdc-divider-text-color"
2026
2035
  },
2027
2036
  {
2028
- "description": "Default background color for an unselected checkbox.",
2029
- "name": "--mdc-checkbox-icon-border-color"
2037
+ "description": "left and right margin of label in the text divider",
2038
+ "name": "--mdc-divider-text-margin"
2030
2039
  },
2031
2040
  {
2032
- "description": "Icon color for an unselected checkbox.",
2033
- "name": "--mdc-checkbox-icon-color"
2041
+ "description": "line height of label in the text divider",
2042
+ "name": "--mdc-divider-text-line-height"
2034
2043
  },
2035
2044
  {
2036
- "description": "Background color for a selected checkbox when pressed.",
2037
- "name": "--mdc-checkbox-pressed-icon-color"
2045
+ "description": "border radius of the grabber button",
2046
+ "name": "--mdc-divider-grabber-button-border-radius"
2038
2047
  }
2039
2048
  ],
2040
2049
  "members": [
2041
2050
  {
2042
2051
  "kind": "field",
2043
- "name": "checked",
2052
+ "name": "orientation",
2044
2053
  "type": {
2045
- "text": "boolean"
2054
+ "text": "DividerOrientation"
2046
2055
  },
2047
- "default": "false",
2048
- "description": "Determines whether the checkbox is selected or unselected.",
2049
- "attribute": "checked",
2056
+ "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
2057
+ "default": "horizontal",
2058
+ "attribute": "orientation",
2050
2059
  "reflects": true
2051
2060
  },
2052
2061
  {
2053
2062
  "kind": "field",
2054
- "name": "indeterminate",
2063
+ "name": "variant",
2055
2064
  "type": {
2056
- "text": "boolean"
2065
+ "text": "DividerVariant"
2057
2066
  },
2058
- "default": "false",
2059
- "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
2060
- "attribute": "indeterminate",
2067
+ "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2068
+ "default": "solid",
2069
+ "attribute": "variant",
2061
2070
  "reflects": true
2062
2071
  },
2063
2072
  {
2064
- "kind": "method",
2065
- "name": "setFormValue",
2066
- "privacy": "private",
2067
- "description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
2073
+ "kind": "field",
2074
+ "name": "arrowDirection",
2075
+ "type": {
2076
+ "text": "Directions"
2077
+ },
2078
+ "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2079
+ "default": "'negative'",
2080
+ "attribute": "arrow-direction",
2081
+ "reflects": true
2082
+ },
2083
+ {
2084
+ "kind": "field",
2085
+ "name": "buttonPosition",
2086
+ "type": {
2087
+ "text": "Directions"
2088
+ },
2089
+ "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2090
+ "default": "'negative'",
2091
+ "attribute": "button-position",
2092
+ "reflects": true
2068
2093
  },
2069
2094
  {
2070
2095
  "kind": "method",
2071
- "name": "toggleState",
2096
+ "name": "setVariant",
2097
+ "privacy": "private",
2098
+ "parameters": [
2099
+ {
2100
+ "name": "variant",
2101
+ "type": {
2102
+ "text": "DividerVariant"
2103
+ },
2104
+ "description": "The variant to set."
2105
+ }
2106
+ ],
2107
+ "description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
2108
+ },
2109
+ {
2110
+ "kind": "method",
2111
+ "name": "setOrientation",
2112
+ "privacy": "private",
2113
+ "parameters": [
2114
+ {
2115
+ "name": "orientation",
2116
+ "type": {
2117
+ "text": "DividerOrientation"
2118
+ },
2119
+ "description": "The orientation to set."
2120
+ }
2121
+ ],
2122
+ "description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
2123
+ },
2124
+ {
2125
+ "kind": "method",
2126
+ "name": "ensureValidDirections",
2127
+ "privacy": "private",
2128
+ "description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
2129
+ "parameters": [
2130
+ {
2131
+ "description": "The buttonPosition to set.",
2132
+ "name": "buttonPosition"
2133
+ },
2134
+ {
2135
+ "description": "The arrowDirection to set.",
2136
+ "name": "arrowDirection"
2137
+ }
2138
+ ]
2139
+ },
2140
+ {
2141
+ "kind": "method",
2142
+ "name": "setGrabberButton",
2143
+ "privacy": "private",
2144
+ "return": {
2145
+ "type": {
2146
+ "text": "void"
2147
+ }
2148
+ },
2149
+ "description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
2150
+ },
2151
+ {
2152
+ "kind": "method",
2153
+ "name": "getArrowIcon",
2154
+ "privacy": "private",
2155
+ "return": {
2156
+ "type": {
2157
+ "text": ""
2158
+ }
2159
+ },
2160
+ "description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
2161
+ },
2162
+ {
2163
+ "kind": "method",
2164
+ "name": "inferDividerType",
2165
+ "privacy": "private",
2166
+ "description": "Infers the type of divider based on the kind of slot present.",
2167
+ "parameters": [
2168
+ {
2169
+ "description": "default slot of divider",
2170
+ "name": "slot"
2171
+ }
2172
+ ]
2173
+ }
2174
+ ],
2175
+ "attributes": [
2176
+ {
2177
+ "name": "orientation",
2178
+ "type": {
2179
+ "text": "DividerOrientation"
2180
+ },
2181
+ "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
2182
+ "default": "horizontal",
2183
+ "fieldName": "orientation"
2184
+ },
2185
+ {
2186
+ "name": "variant",
2187
+ "type": {
2188
+ "text": "DividerVariant"
2189
+ },
2190
+ "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2191
+ "default": "solid",
2192
+ "fieldName": "variant"
2193
+ },
2194
+ {
2195
+ "name": "arrow-direction",
2196
+ "type": {
2197
+ "text": "Directions"
2198
+ },
2199
+ "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2200
+ "default": "'negative'",
2201
+ "fieldName": "arrowDirection"
2202
+ },
2203
+ {
2204
+ "name": "button-position",
2205
+ "type": {
2206
+ "text": "Directions"
2207
+ },
2208
+ "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2209
+ "default": "'negative'",
2210
+ "fieldName": "buttonPosition"
2211
+ }
2212
+ ],
2213
+ "superclass": {
2214
+ "name": "Component",
2215
+ "module": "/src/models"
2216
+ },
2217
+ "tagName": "mdc-divider",
2218
+ "jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
2219
+ "customElement": true
2220
+ }
2221
+ ],
2222
+ "exports": [
2223
+ {
2224
+ "kind": "js",
2225
+ "name": "default",
2226
+ "declaration": {
2227
+ "name": "Divider",
2228
+ "module": "components/divider/divider.component.js"
2229
+ }
2230
+ }
2231
+ ]
2232
+ },
2233
+ {
2234
+ "kind": "javascript-module",
2235
+ "path": "components/checkbox/checkbox.component.js",
2236
+ "declarations": [
2237
+ {
2238
+ "kind": "class",
2239
+ "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.",
2240
+ "name": "Checkbox",
2241
+ "cssProperties": [
2242
+ {
2243
+ "description": "Allows customization of the background color on hover.",
2244
+ "name": "--mdc-checkbox-background-color-hover"
2245
+ },
2246
+ {
2247
+ "description": "Border color in high contrast.",
2248
+ "name": "--mdc-checkbox-border-color"
2249
+ },
2250
+ {
2251
+ "description": "Background color for a selected checkbox.",
2252
+ "name": "--mdc-checkbox-checked-background-color"
2253
+ },
2254
+ {
2255
+ "description": "Background color for a selected checkbox when hovered.",
2256
+ "name": "--mdc-checkbox-checked-background-color-hover"
2257
+ },
2258
+ {
2259
+ "description": "Background color for a selected checkbox when pressed.",
2260
+ "name": "--mdc-checkbox-checked-pressed-icon-color"
2261
+ },
2262
+ {
2263
+ "description": "Background color for a disabled checkbox.",
2264
+ "name": "--mdc-checkbox-disabled-background-color"
2265
+ },
2266
+ {
2267
+ "description": "Border color for a disabled checkbox.",
2268
+ "name": "--mdc-checkbox-disabled-border-color"
2269
+ },
2270
+ {
2271
+ "description": "Background color for a disabled, selected checkbox.",
2272
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
2273
+ },
2274
+ {
2275
+ "description": "Icon color for a disabled checkbox.",
2276
+ "name": "--mdc-checkbox-disabled-icon-color"
2277
+ },
2278
+ {
2279
+ "description": "Background color for an unselected checkbox.",
2280
+ "name": "--mdc-checkbox-icon-background-color"
2281
+ },
2282
+ {
2283
+ "description": "Default background color for an unselected checkbox.",
2284
+ "name": "--mdc-checkbox-icon-border-color"
2285
+ },
2286
+ {
2287
+ "description": "Icon color for an unselected checkbox.",
2288
+ "name": "--mdc-checkbox-icon-color"
2289
+ },
2290
+ {
2291
+ "description": "Background color for a selected checkbox when pressed.",
2292
+ "name": "--mdc-checkbox-pressed-icon-color"
2293
+ }
2294
+ ],
2295
+ "members": [
2296
+ {
2297
+ "kind": "field",
2298
+ "name": "checked",
2299
+ "type": {
2300
+ "text": "boolean"
2301
+ },
2302
+ "default": "false",
2303
+ "description": "Determines whether the checkbox is selected or unselected.",
2304
+ "attribute": "checked",
2305
+ "reflects": true
2306
+ },
2307
+ {
2308
+ "kind": "field",
2309
+ "name": "indeterminate",
2310
+ "type": {
2311
+ "text": "boolean"
2312
+ },
2313
+ "default": "false",
2314
+ "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
2315
+ "attribute": "indeterminate",
2316
+ "reflects": true
2317
+ },
2318
+ {
2319
+ "kind": "method",
2320
+ "name": "setFormValue",
2321
+ "privacy": "private",
2322
+ "description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
2323
+ },
2324
+ {
2325
+ "kind": "method",
2326
+ "name": "toggleState",
2072
2327
  "privacy": "private",
2073
2328
  "return": {
2074
2329
  "type": {
@@ -2461,258 +2716,28 @@
2461
2716
  },
2462
2717
  {
2463
2718
  "kind": "javascript-module",
2464
- "path": "components/divider/divider.component.js",
2719
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2465
2720
  "declarations": [
2466
2721
  {
2467
2722
  "kind": "class",
2468
- "description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
2469
- "name": "Divider",
2470
- "cssProperties": [
2723
+ "description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
2724
+ "name": "FormfieldWrapper",
2725
+ "slots": [
2471
2726
  {
2472
- "description": "background color of the divider",
2473
- "name": "--mdc-divider-background-color"
2474
- },
2727
+ "description": "slot to add the label info icon",
2728
+ "name": "label-info"
2729
+ }
2730
+ ],
2731
+ "members": [
2475
2732
  {
2476
- "description": "width of the divider",
2477
- "name": "--mdc-divider-width"
2478
- },
2479
- {
2480
- "description": "gradient of the horizontal divider",
2481
- "name": "--mdc-divider-horizontal-gradient"
2482
- },
2483
- {
2484
- "description": "gradient of the vertical divider",
2485
- "name": "--mdc-divider-vertical-gradient"
2486
- },
2487
- {
2488
- "description": "font size of label in the text divider",
2489
- "name": "--mdc-divider-text-size"
2490
- },
2491
- {
2492
- "description": "font color of label in the text divider",
2493
- "name": "--mdc-divider-text-color"
2494
- },
2495
- {
2496
- "description": "left and right margin of label in the text divider",
2497
- "name": "--mdc-divider-text-margin"
2498
- },
2499
- {
2500
- "description": "line height of label in the text divider",
2501
- "name": "--mdc-divider-text-line-height"
2502
- },
2503
- {
2504
- "description": "border radius of the grabber button",
2505
- "name": "--mdc-divider-grabber-button-border-radius"
2506
- }
2507
- ],
2508
- "members": [
2509
- {
2510
- "kind": "field",
2511
- "name": "orientation",
2512
- "type": {
2513
- "text": "DividerOrientation"
2514
- },
2515
- "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
2516
- "default": "horizontal",
2517
- "attribute": "orientation",
2518
- "reflects": true
2519
- },
2520
- {
2521
- "kind": "field",
2522
- "name": "variant",
2523
- "type": {
2524
- "text": "DividerVariant"
2525
- },
2526
- "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2527
- "default": "solid",
2528
- "attribute": "variant",
2529
- "reflects": true
2530
- },
2531
- {
2532
- "kind": "field",
2533
- "name": "arrowDirection",
2534
- "type": {
2535
- "text": "Directions"
2536
- },
2537
- "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2538
- "default": "'negative'",
2539
- "attribute": "arrow-direction",
2540
- "reflects": true
2541
- },
2542
- {
2543
- "kind": "field",
2544
- "name": "buttonPosition",
2545
- "type": {
2546
- "text": "Directions"
2547
- },
2548
- "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2549
- "default": "'negative'",
2550
- "attribute": "button-position",
2551
- "reflects": true
2552
- },
2553
- {
2554
- "kind": "method",
2555
- "name": "setVariant",
2556
- "privacy": "private",
2557
- "parameters": [
2558
- {
2559
- "name": "variant",
2560
- "type": {
2561
- "text": "DividerVariant"
2562
- },
2563
- "description": "The variant to set."
2564
- }
2565
- ],
2566
- "description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
2567
- },
2568
- {
2569
- "kind": "method",
2570
- "name": "setOrientation",
2571
- "privacy": "private",
2572
- "parameters": [
2573
- {
2574
- "name": "orientation",
2575
- "type": {
2576
- "text": "DividerOrientation"
2577
- },
2578
- "description": "The orientation to set."
2579
- }
2580
- ],
2581
- "description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
2582
- },
2583
- {
2584
- "kind": "method",
2585
- "name": "ensureValidDirections",
2586
- "privacy": "private",
2587
- "description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
2588
- "parameters": [
2589
- {
2590
- "description": "The buttonPosition to set.",
2591
- "name": "buttonPosition"
2592
- },
2593
- {
2594
- "description": "The arrowDirection to set.",
2595
- "name": "arrowDirection"
2596
- }
2597
- ]
2598
- },
2599
- {
2600
- "kind": "method",
2601
- "name": "setGrabberButton",
2602
- "privacy": "private",
2603
- "return": {
2604
- "type": {
2605
- "text": "void"
2606
- }
2607
- },
2608
- "description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
2609
- },
2610
- {
2611
- "kind": "method",
2612
- "name": "getArrowIcon",
2613
- "privacy": "private",
2614
- "return": {
2615
- "type": {
2616
- "text": ""
2617
- }
2618
- },
2619
- "description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
2620
- },
2621
- {
2622
- "kind": "method",
2623
- "name": "inferDividerType",
2624
- "privacy": "private",
2625
- "description": "Infers the type of divider based on the kind of slot present.",
2626
- "parameters": [
2627
- {
2628
- "description": "default slot of divider",
2629
- "name": "slot"
2630
- }
2631
- ]
2632
- }
2633
- ],
2634
- "attributes": [
2635
- {
2636
- "name": "orientation",
2637
- "type": {
2638
- "text": "DividerOrientation"
2639
- },
2640
- "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
2641
- "default": "horizontal",
2642
- "fieldName": "orientation"
2643
- },
2644
- {
2645
- "name": "variant",
2646
- "type": {
2647
- "text": "DividerVariant"
2648
- },
2649
- "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2650
- "default": "solid",
2651
- "fieldName": "variant"
2652
- },
2653
- {
2654
- "name": "arrow-direction",
2655
- "type": {
2656
- "text": "Directions"
2657
- },
2658
- "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2659
- "default": "'negative'",
2660
- "fieldName": "arrowDirection"
2661
- },
2662
- {
2663
- "name": "button-position",
2664
- "type": {
2665
- "text": "Directions"
2666
- },
2667
- "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2668
- "default": "'negative'",
2669
- "fieldName": "buttonPosition"
2670
- }
2671
- ],
2672
- "superclass": {
2673
- "name": "Component",
2674
- "module": "/src/models"
2675
- },
2676
- "tagName": "mdc-divider",
2677
- "jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
2678
- "customElement": true
2679
- }
2680
- ],
2681
- "exports": [
2682
- {
2683
- "kind": "js",
2684
- "name": "default",
2685
- "declaration": {
2686
- "name": "Divider",
2687
- "module": "components/divider/divider.component.js"
2688
- }
2689
- }
2690
- ]
2691
- },
2692
- {
2693
- "kind": "javascript-module",
2694
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2695
- "declarations": [
2696
- {
2697
- "kind": "class",
2698
- "description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
2699
- "name": "FormfieldWrapper",
2700
- "slots": [
2701
- {
2702
- "description": "slot to add the label info icon",
2703
- "name": "label-info"
2704
- }
2705
- ],
2706
- "members": [
2707
- {
2708
- "kind": "field",
2709
- "name": "label",
2710
- "type": {
2711
- "text": "string | undefined"
2712
- },
2713
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2714
- "attribute": "label",
2715
- "reflects": true
2733
+ "kind": "field",
2734
+ "name": "label",
2735
+ "type": {
2736
+ "text": "string | undefined"
2737
+ },
2738
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2739
+ "attribute": "label",
2740
+ "reflects": true
2716
2741
  },
2717
2742
  {
2718
2743
  "kind": "field",
@@ -4104,15 +4129,6 @@
4104
4129
  }
4105
4130
  ],
4106
4131
  "members": [
4107
- {
4108
- "kind": "field",
4109
- "name": "iconName",
4110
- "type": {
4111
- "text": "IconNames | undefined"
4112
- },
4113
- "description": "Name of the icon (= filename) to be used as trailing icon for link.\n\nIf no `icon` is provided, no icon will be rendered.",
4114
- "attribute": "icon-name"
4115
- },
4116
4132
  {
4117
4133
  "kind": "field",
4118
4134
  "name": "inline",
@@ -4192,18 +4208,23 @@
4192
4208
  "name": "DisabledMixin",
4193
4209
  "module": "utils/mixins/DisabledMixin.js"
4194
4210
  }
4195
- }
4196
- ],
4197
- "attributes": [
4211
+ },
4198
4212
  {
4199
- "name": "icon-name",
4213
+ "kind": "field",
4214
+ "name": "iconName",
4200
4215
  "type": {
4201
4216
  "text": "IconNames | undefined"
4202
4217
  },
4203
- "description": "Name of the icon (= filename) to be used as trailing icon for link.\n\nIf no `icon` is provided, no icon will be rendered.",
4204
- "fieldName": "iconName"
4205
- },
4206
- {
4218
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4219
+ "attribute": "icon-name",
4220
+ "inheritedFrom": {
4221
+ "name": "IconNameMixin",
4222
+ "module": "utils/mixins/IconNameMixin.js"
4223
+ }
4224
+ }
4225
+ ],
4226
+ "attributes": [
4227
+ {
4207
4228
  "name": "inline",
4208
4229
  "type": {
4209
4230
  "text": "boolean"
@@ -4242,12 +4263,28 @@
4242
4263
  "name": "DisabledMixin",
4243
4264
  "module": "src/utils/mixins/DisabledMixin.ts"
4244
4265
  }
4266
+ },
4267
+ {
4268
+ "name": "icon-name",
4269
+ "type": {
4270
+ "text": "IconNames | undefined"
4271
+ },
4272
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4273
+ "fieldName": "iconName",
4274
+ "inheritedFrom": {
4275
+ "name": "IconNameMixin",
4276
+ "module": "src/utils/mixins/IconNameMixin.ts"
4277
+ }
4245
4278
  }
4246
4279
  ],
4247
4280
  "mixins": [
4248
4281
  {
4249
4282
  "name": "DisabledMixin",
4250
4283
  "module": "/src/utils/mixins/DisabledMixin"
4284
+ },
4285
+ {
4286
+ "name": "IconNameMixin",
4287
+ "module": "/src/utils/mixins/IconNameMixin"
4251
4288
  }
4252
4289
  ],
4253
4290
  "superclass": {
@@ -5002,182 +5039,831 @@
5002
5039
  }
5003
5040
  },
5004
5041
  "inheritedFrom": {
5005
- "name": "FormfieldWrapper",
5006
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5042
+ "name": "FormfieldWrapper",
5043
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5044
+ }
5045
+ },
5046
+ {
5047
+ "kind": "method",
5048
+ "name": "renderHelperText",
5049
+ "privacy": "protected",
5050
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
5051
+ "return": {
5052
+ "type": {
5053
+ "text": ""
5054
+ }
5055
+ },
5056
+ "inheritedFrom": {
5057
+ "name": "FormfieldWrapper",
5058
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5059
+ }
5060
+ }
5061
+ ],
5062
+ "events": [
5063
+ {
5064
+ "type": {
5065
+ "text": "EventConstructor"
5066
+ }
5067
+ }
5068
+ ],
5069
+ "attributes": [
5070
+ {
5071
+ "name": "checked",
5072
+ "type": {
5073
+ "text": "boolean"
5074
+ },
5075
+ "default": "false",
5076
+ "description": "Determines whether the radio is selected or unselected.",
5077
+ "fieldName": "checked"
5078
+ },
5079
+ {
5080
+ "name": "readonly",
5081
+ "type": {
5082
+ "text": "boolean"
5083
+ },
5084
+ "default": "false",
5085
+ "description": "Determines whether the radio is read-only.",
5086
+ "fieldName": "readonly"
5087
+ },
5088
+ {
5089
+ "name": "name",
5090
+ "type": {
5091
+ "text": "string"
5092
+ },
5093
+ "default": "''",
5094
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5095
+ "fieldName": "name",
5096
+ "inheritedFrom": {
5097
+ "name": "NameMixin",
5098
+ "module": "src/utils/mixins/NameMixin.ts"
5099
+ }
5100
+ },
5101
+ {
5102
+ "name": "value",
5103
+ "type": {
5104
+ "text": "string"
5105
+ },
5106
+ "default": "''",
5107
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5108
+ "fieldName": "value",
5109
+ "inheritedFrom": {
5110
+ "name": "ValueMixin",
5111
+ "module": "src/utils/mixins/ValueMixin.ts"
5112
+ }
5113
+ },
5114
+ {
5115
+ "name": "data-aria-label",
5116
+ "type": {
5117
+ "text": "string | null"
5118
+ },
5119
+ "default": "null",
5120
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5121
+ "fieldName": "dataAriaLabel",
5122
+ "inheritedFrom": {
5123
+ "name": "DataAriaLabelMixin",
5124
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
5125
+ }
5126
+ },
5127
+ {
5128
+ "name": "disabled",
5129
+ "type": {
5130
+ "text": "boolean"
5131
+ },
5132
+ "default": "false",
5133
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5134
+ "fieldName": "disabled",
5135
+ "inheritedFrom": {
5136
+ "name": "FormfieldWrapper",
5137
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5138
+ }
5139
+ },
5140
+ {
5141
+ "name": "label",
5142
+ "type": {
5143
+ "text": "string | undefined"
5144
+ },
5145
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5146
+ "fieldName": "label",
5147
+ "inheritedFrom": {
5148
+ "name": "FormfieldWrapper",
5149
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5150
+ }
5151
+ },
5152
+ {
5153
+ "name": "id",
5154
+ "default": "`mdc-input-${uuidv4()}`",
5155
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
5156
+ "fieldName": "id",
5157
+ "inheritedFrom": {
5158
+ "name": "FormfieldWrapper",
5159
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5160
+ }
5161
+ },
5162
+ {
5163
+ "name": "help-text-type",
5164
+ "type": {
5165
+ "text": "ValidationType"
5166
+ },
5167
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5168
+ "fieldName": "helpTextType",
5169
+ "inheritedFrom": {
5170
+ "name": "FormfieldWrapper",
5171
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5172
+ }
5173
+ },
5174
+ {
5175
+ "name": "help-text",
5176
+ "type": {
5177
+ "text": "string | undefined"
5178
+ },
5179
+ "description": "The help text that is displayed below the input field.",
5180
+ "fieldName": "helpText",
5181
+ "inheritedFrom": {
5182
+ "name": "FormfieldWrapper",
5183
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5184
+ }
5185
+ }
5186
+ ],
5187
+ "mixins": [
5188
+ {
5189
+ "name": "NameMixin",
5190
+ "module": "/src/utils/mixins/NameMixin"
5191
+ },
5192
+ {
5193
+ "name": "ValueMixin",
5194
+ "module": "/src/utils/mixins/ValueMixin"
5195
+ },
5196
+ {
5197
+ "name": "DataAriaLabelMixin",
5198
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
5199
+ }
5200
+ ],
5201
+ "superclass": {
5202
+ "name": "FormfieldWrapper",
5203
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
5204
+ },
5205
+ "tagName": "mdc-radio",
5206
+ "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 */",
5207
+ "customElement": true,
5208
+ "slots": [
5209
+ {
5210
+ "description": "slot to add the label info icon",
5211
+ "name": "label-info",
5212
+ "inheritedFrom": {
5213
+ "name": "FormfieldWrapper",
5214
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5215
+ }
5216
+ }
5217
+ ]
5218
+ }
5219
+ ],
5220
+ "exports": [
5221
+ {
5222
+ "kind": "js",
5223
+ "name": "default",
5224
+ "declaration": {
5225
+ "name": "Radio",
5226
+ "module": "components/radio/radio.component.js"
5227
+ }
5228
+ }
5229
+ ]
5230
+ },
5231
+ {
5232
+ "kind": "javascript-module",
5233
+ "path": "components/tab/tab.component.js",
5234
+ "declarations": [
5235
+ {
5236
+ "kind": "class",
5237
+ "description": "`mdc-tab` is Tab component to be used within the Tabgroup.\n\nPassing in the attribute `text` to the tab component is changing the text displayed in the tab.\n\nThe `slot=\"badge\"` can be used to add a badge to the tab.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
5238
+ "name": "Tab",
5239
+ "cssProperties": [
5240
+ {
5241
+ "description": "Gap between the badge(if provided), icon and text.",
5242
+ "name": "--mdc-tab-content-gap"
5243
+ },
5244
+ {
5245
+ "description": "Height of the tab.",
5246
+ "name": "--mdc-tab-height"
5247
+ },
5248
+ {
5249
+ "description": "Background color for active glass tab in disabled state.",
5250
+ "name": "--mdc-tab-glass-active-background-color-disabled"
5251
+ },
5252
+ {
5253
+ "description": "Background color for active glass tab in hover state.",
5254
+ "name": "--mdc-tab-glass-active-background-color-hover"
5255
+ },
5256
+ {
5257
+ "description": "Background color for active glass tab in rest state.",
5258
+ "name": "--mdc-tab-glass-active-background-color-normal"
5259
+ },
5260
+ {
5261
+ "description": "Background color for active glass tab in pressed state.",
5262
+ "name": "--mdc-tab-glass-active-background-color-pressed"
5263
+ },
5264
+ {
5265
+ "description": "Text and icon color for active glass tab.",
5266
+ "name": "--mdc-tab-glass-active-color"
5267
+ },
5268
+ {
5269
+ "description": "Text and icon color for active glass tab in disabled state.",
5270
+ "name": "--mdc-tab-glass-active-color-disabled"
5271
+ },
5272
+ {
5273
+ "description": "Border radius for glass tab.",
5274
+ "name": "--mdc-tab-glass-border-radius"
5275
+ },
5276
+ {
5277
+ "description": "Background color for inactive glass tab in disabled state.",
5278
+ "name": "--mdc-tab-glass-inactive-background-color-disabled"
5279
+ },
5280
+ {
5281
+ "description": "Background color for inactive glass tab in hover state.",
5282
+ "name": "--mdc-tab-glass-inactive-background-color-hover"
5283
+ },
5284
+ {
5285
+ "description": "Background color for inactive glass tab in rest state.",
5286
+ "name": "--mdc-tab-glass-inactive-background-color-normal"
5287
+ },
5288
+ {
5289
+ "description": "Background color for inactive glass tab in pressed state.",
5290
+ "name": "--mdc-tab-glass-inactive-background-color-pressed"
5291
+ },
5292
+ {
5293
+ "description": "Text and icon color for inactive glass tab.",
5294
+ "name": "--mdc-tab-glass-inactive-color"
5295
+ },
5296
+ {
5297
+ "description": "Text and icon color for inactive glass tab in disabled state.",
5298
+ "name": "--mdc-tab-glass-inactive-color-disabled"
5299
+ },
5300
+ {
5301
+ "description": "Background color for active line tab in pressed state.",
5302
+ "name": "--mdc-tab-line-active-background-color-pressed"
5303
+ },
5304
+ {
5305
+ "description": "Background color for active line tab in disabled state.",
5306
+ "name": "--mdc-tab-line-active-background-color-disabled"
5307
+ },
5308
+ {
5309
+ "description": "Background color for active line tab in hover state.",
5310
+ "name": "--mdc-tab-line-active-background-color-hover"
5311
+ },
5312
+ {
5313
+ "description": "Background color for active line tab in rest state.",
5314
+ "name": "--mdc-tab-line-active-background-color-normal"
5315
+ },
5316
+ {
5317
+ "description": "Text and icon color for active line tab.",
5318
+ "name": "--mdc-tab-line-active-color"
5319
+ },
5320
+ {
5321
+ "description": "Text and icon color for active line tab in disabled state.",
5322
+ "name": "--mdc-tab-line-active-color-disabled"
5323
+ },
5324
+ {
5325
+ "description": "color for indicator in active line tab.",
5326
+ "name": "--mdc-tab-line-active-indicator-color"
5327
+ },
5328
+ {
5329
+ "description": "Color for indicator in active line tab in disabled state.",
5330
+ "name": "--mdc-tab-line-active-indicator-color-disabled"
5331
+ },
5332
+ {
5333
+ "description": "Height for indicator in active line tab.",
5334
+ "name": "--mdc-tab-line-active-indicator-height"
5335
+ },
5336
+ {
5337
+ "description": "Width for indicator in active line tab.",
5338
+ "name": "--mdc-tab-line-active-indicator-width"
5339
+ },
5340
+ {
5341
+ "description": "Bottom left border radius for line tab.",
5342
+ "name": "--mdc-tab-line-border-bottom-left-radius"
5343
+ },
5344
+ {
5345
+ "description": "Bottom right border radius for line tab.",
5346
+ "name": "--mdc-tab-line-border-bottom-right-radius"
5347
+ },
5348
+ {
5349
+ "description": "Top left border radius for line tab.",
5350
+ "name": "--mdc-tab-line-border-top-left-radius"
5351
+ },
5352
+ {
5353
+ "description": "Top right border radius for line tab.",
5354
+ "name": "--mdc-tab-line-border-top-right-radius"
5355
+ },
5356
+ {
5357
+ "description": "Background color for inactive line tab in pressed state.",
5358
+ "name": "--mdc-tab-line-inactive-background-color-pressed"
5359
+ },
5360
+ {
5361
+ "description": "Background color for inactive line tab in disabled state",
5362
+ "name": "--mdc-tab-line-inactive-background-color-disabled"
5363
+ },
5364
+ {
5365
+ "description": "Background color for inactive line tab in hover state.",
5366
+ "name": "--mdc-tab-line-inactive-background-color-hover"
5367
+ },
5368
+ {
5369
+ "description": "Background color for inactive line tab in rest state.",
5370
+ "name": "--mdc-tab-line-inactive-background-color-normal"
5371
+ },
5372
+ {
5373
+ "description": "Text and icon color for inactive line tab.",
5374
+ "name": "--mdc-tab-line-inactive-color"
5375
+ },
5376
+ {
5377
+ "description": "Text and icon color for inactive line tab in disabled state.",
5378
+ "name": "--mdc-tab-line-inactive-color-disabled"
5379
+ },
5380
+ {
5381
+ "description": "Padding left for the tab.",
5382
+ "name": "--mdc-tab-padding-left"
5383
+ },
5384
+ {
5385
+ "description": "Padding right for the tab.",
5386
+ "name": "--mdc-tab-padding-right"
5387
+ },
5388
+ {
5389
+ "description": "Background color for active pill tab in pressed state.",
5390
+ "name": "--mdc-tab-pill-active-background-color-pressed"
5391
+ },
5392
+ {
5393
+ "description": "Background color for active pill tab in disabled state.",
5394
+ "name": "--mdc-tab-pill-active-background-color-disabled"
5395
+ },
5396
+ {
5397
+ "description": "Background color for active pill tab in hover state.",
5398
+ "name": "--mdc-tab-pill-active-background-color-hover"
5399
+ },
5400
+ {
5401
+ "description": "Background color for active pill tab in rest state.",
5402
+ "name": "--mdc-tab-pill-active-background-color-normal"
5403
+ },
5404
+ {
5405
+ "description": "Text and icon color for active pill tab.",
5406
+ "name": "--mdc-tab-pill-active-color"
5407
+ },
5408
+ {
5409
+ "description": "Text and icon color for active pill tab in disabled state.",
5410
+ "name": "--mdc-tab-pill-active-color-disabled"
5411
+ },
5412
+ {
5413
+ "description": "Border radius for pill tab.",
5414
+ "name": "--mdc-tab-pill-border-radius"
5415
+ },
5416
+ {
5417
+ "description": "Background color for inactive pill tab in pressed state.",
5418
+ "name": "--mdc-tab-pill-inactive-background-color-pressed"
5419
+ },
5420
+ {
5421
+ "description": "Background color for inactive pill tab in disabled state.",
5422
+ "name": "--mdc-tab-pill-inactive-background-color-disabled"
5423
+ },
5424
+ {
5425
+ "description": "Background color for inactive pill tab in hover state.",
5426
+ "name": "--mdc-tab-pill-inactive-background-color-hover"
5427
+ },
5428
+ {
5429
+ "description": "Background color for inactive pill tab in rest state.",
5430
+ "name": "--mdc-tab-pill-inactive-background-color-normal"
5431
+ },
5432
+ {
5433
+ "description": "Text and icon color for inactive pill tab.",
5434
+ "name": "--mdc-tab-pill-inactive-color"
5435
+ },
5436
+ {
5437
+ "description": "Text and icon color for inactive pill tab in disabled state.",
5438
+ "name": "--mdc-tab-pill-inactive-color-disabled"
5439
+ }
5440
+ ],
5441
+ "members": [
5442
+ {
5443
+ "kind": "field",
5444
+ "name": "text",
5445
+ "type": {
5446
+ "text": "string | undefined"
5447
+ },
5448
+ "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
5449
+ "attribute": "text",
5450
+ "reflects": true
5451
+ },
5452
+ {
5453
+ "kind": "field",
5454
+ "name": "variant",
5455
+ "type": {
5456
+ "text": "Variant"
5457
+ },
5458
+ "description": "Tab can have two variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
5459
+ "default": "pill",
5460
+ "attribute": "variant",
5461
+ "reflects": true
5462
+ },
5463
+ {
5464
+ "kind": "method",
5465
+ "name": "modifyIconName",
5466
+ "privacy": "private",
5467
+ "return": {
5468
+ "type": {
5469
+ "text": "void"
5470
+ }
5471
+ },
5472
+ "parameters": [
5473
+ {
5474
+ "name": "active",
5475
+ "type": {
5476
+ "text": "boolean"
5477
+ },
5478
+ "description": "The active state."
5479
+ }
5480
+ ],
5481
+ "description": "Modifies the icon name based on the active state.\nIf the tab is active, the icon name is suffixed with '-filled'.\nIf the tab is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
5482
+ },
5483
+ {
5484
+ "kind": "method",
5485
+ "name": "setActive",
5486
+ "privacy": "protected",
5487
+ "parameters": [
5488
+ {
5489
+ "name": "element",
5490
+ "type": {
5491
+ "text": "HTMLElement"
5492
+ },
5493
+ "description": "The tab element."
5494
+ },
5495
+ {
5496
+ "name": "active",
5497
+ "type": {
5498
+ "text": "boolean"
5499
+ },
5500
+ "description": "The active state of the tab."
5501
+ }
5502
+ ],
5503
+ "description": "Sets the aria-selected attribute based on the active state of the Tab.\nIf the tab is active, the filled version of the icon is displayed,\nelse the icon is restored to its original value.",
5504
+ "inheritedFrom": {
5505
+ "name": "Buttonsimple",
5506
+ "module": "components/buttonsimple/buttonsimple.component.js"
5507
+ }
5508
+ },
5509
+ {
5510
+ "kind": "method",
5511
+ "name": "executeAction",
5512
+ "privacy": "protected",
5513
+ "inheritedFrom": {
5514
+ "name": "Buttonsimple",
5515
+ "module": "components/buttonsimple/buttonsimple.component.js"
5516
+ }
5517
+ },
5518
+ {
5519
+ "kind": "field",
5520
+ "name": "role",
5521
+ "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.",
5522
+ "default": "'tab'",
5523
+ "attribute": "role",
5524
+ "reflects": true,
5525
+ "type": {
5526
+ "text": "string"
5527
+ },
5528
+ "inheritedFrom": {
5529
+ "name": "Buttonsimple",
5530
+ "module": "components/buttonsimple/buttonsimple.component.js"
5531
+ }
5532
+ },
5533
+ {
5534
+ "kind": "field",
5535
+ "name": "softDisabled",
5536
+ "type": {
5537
+ "text": "boolean"
5538
+ },
5539
+ "default": "undefined as unknown",
5540
+ "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.",
5541
+ "attribute": "soft-disabled",
5542
+ "inheritedFrom": {
5543
+ "name": "Buttonsimple",
5544
+ "module": "components/buttonsimple/buttonsimple.component.js"
5545
+ }
5546
+ },
5547
+ {
5548
+ "kind": "field",
5549
+ "name": "size",
5550
+ "type": {
5551
+ "text": "ButtonSize"
5552
+ },
5553
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5554
+ "default": "undefined as unknown",
5555
+ "attribute": "size",
5556
+ "reflects": true,
5557
+ "inheritedFrom": {
5558
+ "name": "Buttonsimple",
5559
+ "module": "components/buttonsimple/buttonsimple.component.js"
5560
+ }
5561
+ },
5562
+ {
5563
+ "kind": "field",
5564
+ "name": "type",
5565
+ "type": {
5566
+ "text": "ButtonType"
5567
+ },
5568
+ "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.",
5569
+ "default": "undefined as unknown",
5570
+ "attribute": "type",
5571
+ "reflects": true,
5572
+ "inheritedFrom": {
5573
+ "name": "Buttonsimple",
5574
+ "module": "components/buttonsimple/buttonsimple.component.js"
5575
+ }
5576
+ },
5577
+ {
5578
+ "kind": "field",
5579
+ "name": "iconName",
5580
+ "type": {
5581
+ "text": "IconNames | undefined"
5582
+ },
5583
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5584
+ "attribute": "icon-name",
5585
+ "inheritedFrom": {
5586
+ "name": "IconNameMixin",
5587
+ "module": "utils/mixins/IconNameMixin.js"
5588
+ }
5589
+ },
5590
+ {
5591
+ "kind": "field",
5592
+ "name": "tabIndex",
5593
+ "type": {
5594
+ "text": "number"
5595
+ },
5596
+ "default": "0",
5597
+ "description": "This property specifies the tab order of the element.",
5598
+ "attribute": "tabIndex",
5599
+ "reflects": true,
5600
+ "inheritedFrom": {
5601
+ "name": "Buttonsimple",
5602
+ "module": "components/buttonsimple/buttonsimple.component.js"
5603
+ }
5604
+ },
5605
+ {
5606
+ "kind": "field",
5607
+ "name": "disabled",
5608
+ "type": {
5609
+ "text": "boolean"
5610
+ },
5611
+ "default": "false",
5612
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5613
+ "attribute": "disabled",
5614
+ "reflects": true,
5615
+ "inheritedFrom": {
5616
+ "name": "Buttonsimple",
5617
+ "module": "components/buttonsimple/buttonsimple.component.js"
5618
+ }
5619
+ },
5620
+ {
5621
+ "kind": "field",
5622
+ "name": "active",
5623
+ "type": {
5624
+ "text": "boolean"
5625
+ },
5626
+ "default": "false",
5627
+ "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.",
5628
+ "attribute": "active",
5629
+ "reflects": true,
5630
+ "inheritedFrom": {
5631
+ "name": "Buttonsimple",
5632
+ "module": "components/buttonsimple/buttonsimple.component.js"
5633
+ }
5634
+ },
5635
+ {
5636
+ "kind": "method",
5637
+ "name": "setSoftDisabled",
5638
+ "privacy": "private",
5639
+ "parameters": [
5640
+ {
5641
+ "name": "element",
5642
+ "type": {
5643
+ "text": "HTMLElement"
5644
+ },
5645
+ "description": "The button element."
5646
+ },
5647
+ {
5648
+ "name": "softDisabled",
5649
+ "type": {
5650
+ "text": "boolean"
5651
+ },
5652
+ "description": "The soft-disabled state."
5653
+ }
5654
+ ],
5655
+ "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.",
5656
+ "inheritedFrom": {
5657
+ "name": "Buttonsimple",
5658
+ "module": "components/buttonsimple/buttonsimple.component.js"
5659
+ }
5660
+ },
5661
+ {
5662
+ "kind": "method",
5663
+ "name": "setDisabled",
5664
+ "privacy": "private",
5665
+ "parameters": [
5666
+ {
5667
+ "name": "element",
5668
+ "type": {
5669
+ "text": "HTMLElement"
5670
+ },
5671
+ "description": "The button element."
5672
+ },
5673
+ {
5674
+ "name": "disabled",
5675
+ "type": {
5676
+ "text": "boolean"
5677
+ },
5678
+ "description": "The disabled state."
5679
+ }
5680
+ ],
5681
+ "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.",
5682
+ "inheritedFrom": {
5683
+ "name": "Buttonsimple",
5684
+ "module": "components/buttonsimple/buttonsimple.component.js"
5685
+ }
5686
+ },
5687
+ {
5688
+ "kind": "method",
5689
+ "name": "triggerClickEvent",
5690
+ "privacy": "private",
5691
+ "inheritedFrom": {
5692
+ "name": "Buttonsimple",
5693
+ "module": "components/buttonsimple/buttonsimple.component.js"
5007
5694
  }
5008
5695
  },
5009
5696
  {
5010
5697
  "kind": "method",
5011
- "name": "renderHelperText",
5012
- "privacy": "protected",
5013
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
5014
- "return": {
5015
- "type": {
5016
- "text": ""
5698
+ "name": "handleKeyDown",
5699
+ "privacy": "private",
5700
+ "parameters": [
5701
+ {
5702
+ "name": "event",
5703
+ "type": {
5704
+ "text": "KeyboardEvent"
5705
+ },
5706
+ "description": "The keyboard event."
5017
5707
  }
5018
- },
5708
+ ],
5709
+ "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.",
5019
5710
  "inheritedFrom": {
5020
- "name": "FormfieldWrapper",
5021
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5711
+ "name": "Buttonsimple",
5712
+ "module": "components/buttonsimple/buttonsimple.component.js"
5022
5713
  }
5023
- }
5024
- ],
5025
- "events": [
5714
+ },
5026
5715
  {
5027
- "type": {
5028
- "text": "EventConstructor"
5716
+ "kind": "method",
5717
+ "name": "handleKeyUp",
5718
+ "privacy": "private",
5719
+ "parameters": [
5720
+ {
5721
+ "name": "event",
5722
+ "type": {
5723
+ "text": "KeyboardEvent"
5724
+ },
5725
+ "description": "The keyboard event."
5726
+ }
5727
+ ],
5728
+ "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.",
5729
+ "inheritedFrom": {
5730
+ "name": "Buttonsimple",
5731
+ "module": "components/buttonsimple/buttonsimple.component.js"
5029
5732
  }
5030
5733
  }
5031
5734
  ],
5032
5735
  "attributes": [
5033
5736
  {
5034
- "name": "checked",
5737
+ "name": "text",
5035
5738
  "type": {
5036
- "text": "boolean"
5739
+ "text": "string | undefined"
5037
5740
  },
5038
- "default": "false",
5039
- "description": "Determines whether the radio is selected or unselected.",
5040
- "fieldName": "checked"
5741
+ "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
5742
+ "fieldName": "text"
5041
5743
  },
5042
5744
  {
5043
- "name": "readonly",
5745
+ "name": "variant",
5044
5746
  "type": {
5045
- "text": "boolean"
5747
+ "text": "Variant"
5046
5748
  },
5047
- "default": "false",
5048
- "description": "Determines whether the radio is read-only.",
5049
- "fieldName": "readonly"
5749
+ "description": "Tab can have two variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
5750
+ "default": "pill",
5751
+ "fieldName": "variant"
5050
5752
  },
5051
5753
  {
5052
- "name": "name",
5754
+ "name": "icon-name",
5053
5755
  "type": {
5054
- "text": "string"
5756
+ "text": "IconNames | undefined"
5055
5757
  },
5056
- "default": "''",
5057
- "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5058
- "fieldName": "name",
5758
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5759
+ "fieldName": "iconName",
5059
5760
  "inheritedFrom": {
5060
- "name": "NameMixin",
5061
- "module": "src/utils/mixins/NameMixin.ts"
5761
+ "name": "IconNameMixin",
5762
+ "module": "src/utils/mixins/IconNameMixin.ts"
5062
5763
  }
5063
5764
  },
5064
5765
  {
5065
- "name": "value",
5766
+ "name": "tabIndex",
5066
5767
  "type": {
5067
- "text": "string"
5768
+ "text": "number"
5068
5769
  },
5069
- "default": "''",
5070
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5071
- "fieldName": "value",
5770
+ "default": "0",
5771
+ "description": "This property specifies the tab order of the element.",
5772
+ "fieldName": "tabIndex",
5072
5773
  "inheritedFrom": {
5073
- "name": "ValueMixin",
5074
- "module": "src/utils/mixins/ValueMixin.ts"
5774
+ "name": "Buttonsimple",
5775
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5075
5776
  }
5076
5777
  },
5077
5778
  {
5078
- "name": "data-aria-label",
5779
+ "name": "disabled",
5079
5780
  "type": {
5080
- "text": "string | null"
5781
+ "text": "boolean"
5081
5782
  },
5082
- "default": "null",
5083
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5084
- "fieldName": "dataAriaLabel",
5783
+ "default": "false",
5784
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5785
+ "fieldName": "disabled",
5085
5786
  "inheritedFrom": {
5086
- "name": "DataAriaLabelMixin",
5087
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
5787
+ "name": "Buttonsimple",
5788
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5088
5789
  }
5089
5790
  },
5090
5791
  {
5091
- "name": "disabled",
5792
+ "name": "active",
5092
5793
  "type": {
5093
5794
  "text": "boolean"
5094
5795
  },
5095
5796
  "default": "false",
5096
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5097
- "fieldName": "disabled",
5797
+ "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.",
5798
+ "fieldName": "active",
5098
5799
  "inheritedFrom": {
5099
- "name": "FormfieldWrapper",
5100
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5800
+ "name": "Buttonsimple",
5801
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5101
5802
  }
5102
5803
  },
5103
5804
  {
5104
- "name": "label",
5805
+ "name": "soft-disabled",
5105
5806
  "type": {
5106
- "text": "string | undefined"
5807
+ "text": "boolean"
5107
5808
  },
5108
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5109
- "fieldName": "label",
5809
+ "default": "false",
5810
+ "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.",
5811
+ "fieldName": "softDisabled",
5110
5812
  "inheritedFrom": {
5111
- "name": "FormfieldWrapper",
5112
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5813
+ "name": "Buttonsimple",
5814
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5113
5815
  }
5114
5816
  },
5115
5817
  {
5116
- "name": "id",
5117
- "default": "`mdc-input-${uuidv4()}`",
5118
- "description": "The unique id of the input field. It is used to link the input field with the label.",
5119
- "fieldName": "id",
5818
+ "name": "size",
5819
+ "type": {
5820
+ "text": "ButtonSize"
5821
+ },
5822
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5823
+ "default": "32",
5824
+ "fieldName": "size",
5120
5825
  "inheritedFrom": {
5121
- "name": "FormfieldWrapper",
5122
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5826
+ "name": "Buttonsimple",
5827
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5123
5828
  }
5124
5829
  },
5125
5830
  {
5126
- "name": "help-text-type",
5127
- "type": {
5128
- "text": "ValidationType"
5129
- },
5130
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5131
- "fieldName": "helpTextType",
5831
+ "name": "role",
5832
+ "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.",
5833
+ "default": "button",
5834
+ "fieldName": "role",
5132
5835
  "inheritedFrom": {
5133
- "name": "FormfieldWrapper",
5134
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5836
+ "name": "Buttonsimple",
5837
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5135
5838
  }
5136
5839
  },
5137
5840
  {
5138
- "name": "help-text",
5841
+ "name": "type",
5139
5842
  "type": {
5140
- "text": "string | undefined"
5843
+ "text": "ButtonType"
5141
5844
  },
5142
- "description": "The help text that is displayed below the input field.",
5143
- "fieldName": "helpText",
5845
+ "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.",
5846
+ "default": "button",
5847
+ "fieldName": "type",
5144
5848
  "inheritedFrom": {
5145
- "name": "FormfieldWrapper",
5146
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5849
+ "name": "Buttonsimple",
5850
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5147
5851
  }
5148
5852
  }
5149
5853
  ],
5150
5854
  "mixins": [
5151
5855
  {
5152
- "name": "NameMixin",
5153
- "module": "/src/utils/mixins/NameMixin"
5154
- },
5155
- {
5156
- "name": "ValueMixin",
5157
- "module": "/src/utils/mixins/ValueMixin"
5158
- },
5159
- {
5160
- "name": "DataAriaLabelMixin",
5161
- "module": "/src/utils/mixins/DataAriaLabelMixin"
5856
+ "name": "IconNameMixin",
5857
+ "module": "/src/utils/mixins/IconNameMixin"
5162
5858
  }
5163
5859
  ],
5164
5860
  "superclass": {
5165
- "name": "FormfieldWrapper",
5166
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
5861
+ "name": "Buttonsimple",
5862
+ "module": "/src/components/buttonsimple/buttonsimple.component"
5167
5863
  },
5168
- "tagName": "mdc-radio",
5169
- "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 */",
5170
- "customElement": true,
5171
- "slots": [
5172
- {
5173
- "description": "slot to add the label info icon",
5174
- "name": "label-info",
5175
- "inheritedFrom": {
5176
- "name": "FormfieldWrapper",
5177
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5178
- }
5179
- }
5180
- ]
5864
+ "tagName": "mdc-tab",
5865
+ "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 * For `icon`, the `mdc-icon` component is used to render the icon.\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 */",
5866
+ "customElement": true
5181
5867
  }
5182
5868
  ],
5183
5869
  "exports": [
@@ -5185,8 +5871,8 @@
5185
5871
  "kind": "js",
5186
5872
  "name": "default",
5187
5873
  "declaration": {
5188
- "name": "Radio",
5189
- "module": "components/radio/radio.component.js"
5874
+ "name": "Tab",
5875
+ "module": "components/tab/tab.component.js"
5190
5876
  }
5191
5877
  }
5192
5878
  ]
@@ -5926,15 +6612,6 @@
5926
6612
  "attribute": "size",
5927
6613
  "reflects": true
5928
6614
  },
5929
- {
5930
- "kind": "field",
5931
- "name": "iconName",
5932
- "type": {
5933
- "text": "IconNames | undefined"
5934
- },
5935
- "description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
5936
- "attribute": "icon-name"
5937
- },
5938
6615
  {
5939
6616
  "kind": "field",
5940
6617
  "name": "counter",
@@ -5989,14 +6666,6 @@
5989
6666
  "default": "32",
5990
6667
  "fieldName": "size"
5991
6668
  },
5992
- {
5993
- "name": "icon-name",
5994
- "type": {
5995
- "text": "IconNames | undefined"
5996
- },
5997
- "description": "Name of the icon to be displayed inside the Avatar.\nMust be a valid icon name.",
5998
- "fieldName": "iconName"
5999
- },
6000
6669
  {
6001
6670
  "name": "counter",
6002
6671
  "type": {
@@ -6142,6 +6811,56 @@
6142
6811
  }
6143
6812
  ]
6144
6813
  },
6814
+ {
6815
+ "kind": "javascript-module",
6816
+ "path": "utils/mixins/IconNameMixin.js",
6817
+ "declarations": [
6818
+ {
6819
+ "kind": "mixin",
6820
+ "description": "",
6821
+ "name": "IconNameMixin",
6822
+ "members": [
6823
+ {
6824
+ "kind": "field",
6825
+ "name": "iconName",
6826
+ "type": {
6827
+ "text": "IconNames | undefined"
6828
+ },
6829
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6830
+ "attribute": "icon-name"
6831
+ }
6832
+ ],
6833
+ "attributes": [
6834
+ {
6835
+ "name": "icon-name",
6836
+ "type": {
6837
+ "text": "IconNames | undefined"
6838
+ },
6839
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6840
+ "fieldName": "iconName"
6841
+ }
6842
+ ],
6843
+ "parameters": [
6844
+ {
6845
+ "name": "superClass",
6846
+ "type": {
6847
+ "text": "T"
6848
+ }
6849
+ }
6850
+ ]
6851
+ }
6852
+ ],
6853
+ "exports": [
6854
+ {
6855
+ "kind": "js",
6856
+ "name": "IconNameMixin",
6857
+ "declaration": {
6858
+ "name": "IconNameMixin",
6859
+ "module": "utils/mixins/IconNameMixin.js"
6860
+ }
6861
+ }
6862
+ ]
6863
+ },
6145
6864
  {
6146
6865
  "kind": "javascript-module",
6147
6866
  "path": "utils/mixins/NameMixin.js",