@momentum-design/components 0.22.2 → 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.
@@ -287,6 +287,7 @@
287
287
  "default": "undefined as unknown",
288
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.",
289
289
  "attribute": "active",
290
+ "reflects": true,
290
291
  "inheritedFrom": {
291
292
  "name": "Buttonsimple",
292
293
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -463,7 +464,7 @@
463
464
  {
464
465
  "kind": "method",
465
466
  "name": "executeAction",
466
- "privacy": "private",
467
+ "privacy": "protected",
467
468
  "inheritedFrom": {
468
469
  "name": "Buttonsimple",
469
470
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -471,25 +472,25 @@
471
472
  },
472
473
  {
473
474
  "kind": "method",
474
- "name": "setAriaPressed",
475
- "privacy": "private",
475
+ "name": "setActive",
476
+ "privacy": "protected",
476
477
  "parameters": [
477
478
  {
478
479
  "name": "element",
479
480
  "type": {
480
481
  "text": "HTMLElement"
481
482
  },
482
- "description": "The target element."
483
+ "description": "The button element"
483
484
  },
484
485
  {
485
486
  "name": "active",
486
487
  "type": {
487
488
  "text": "boolean"
488
489
  },
489
- "description": "The active state."
490
+ "description": "The active state of the element"
490
491
  }
491
492
  ],
492
- "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.",
493
494
  "inheritedFrom": {
494
495
  "name": "Buttonsimple",
495
496
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1385,6 +1386,7 @@
1385
1386
  "default": "false",
1386
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.",
1387
1388
  "attribute": "active",
1389
+ "reflects": true,
1388
1390
  "inheritedFrom": {
1389
1391
  "name": "Buttonsimple",
1390
1392
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1422,7 +1424,7 @@
1422
1424
  {
1423
1425
  "kind": "method",
1424
1426
  "name": "executeAction",
1425
- "privacy": "private",
1427
+ "privacy": "protected",
1426
1428
  "inheritedFrom": {
1427
1429
  "name": "Buttonsimple",
1428
1430
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1430,25 +1432,25 @@
1430
1432
  },
1431
1433
  {
1432
1434
  "kind": "method",
1433
- "name": "setAriaPressed",
1434
- "privacy": "private",
1435
+ "name": "setActive",
1436
+ "privacy": "protected",
1435
1437
  "parameters": [
1436
1438
  {
1437
1439
  "name": "element",
1438
1440
  "type": {
1439
1441
  "text": "HTMLElement"
1440
1442
  },
1441
- "description": "The target element."
1443
+ "description": "The button element"
1442
1444
  },
1443
1445
  {
1444
1446
  "name": "active",
1445
1447
  "type": {
1446
1448
  "text": "boolean"
1447
1449
  },
1448
- "description": "The active state."
1450
+ "description": "The active state of the element"
1449
1451
  }
1450
1452
  ],
1451
- "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.",
1452
1454
  "inheritedFrom": {
1453
1455
  "name": "Buttonsimple",
1454
1456
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -1718,7 +1720,8 @@
1718
1720
  },
1719
1721
  "default": "false",
1720
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.",
1721
- "attribute": "active"
1723
+ "attribute": "active",
1724
+ "reflects": true
1722
1725
  },
1723
1726
  {
1724
1727
  "kind": "field",
@@ -1763,29 +1766,29 @@
1763
1766
  {
1764
1767
  "kind": "method",
1765
1768
  "name": "executeAction",
1766
- "privacy": "private"
1769
+ "privacy": "protected"
1767
1770
  },
1768
1771
  {
1769
1772
  "kind": "method",
1770
- "name": "setAriaPressed",
1771
- "privacy": "private",
1773
+ "name": "setActive",
1774
+ "privacy": "protected",
1772
1775
  "parameters": [
1773
1776
  {
1774
1777
  "name": "element",
1775
1778
  "type": {
1776
1779
  "text": "HTMLElement"
1777
1780
  },
1778
- "description": "The target element."
1781
+ "description": "The button element"
1779
1782
  },
1780
1783
  {
1781
1784
  "name": "active",
1782
1785
  "type": {
1783
1786
  "text": "boolean"
1784
1787
  },
1785
- "description": "The active state."
1788
+ "description": "The active state of the element"
1786
1789
  }
1787
1790
  ],
1788
- "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."
1789
1792
  },
1790
1793
  {
1791
1794
  "kind": "method",
@@ -1997,6 +2000,236 @@
1997
2000
  }
1998
2001
  ]
1999
2002
  },
2003
+ {
2004
+ "kind": "javascript-module",
2005
+ "path": "components/divider/divider.component.js",
2006
+ "declarations": [
2007
+ {
2008
+ "kind": "class",
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",
2011
+ "cssProperties": [
2012
+ {
2013
+ "description": "background color of the divider",
2014
+ "name": "--mdc-divider-background-color"
2015
+ },
2016
+ {
2017
+ "description": "width of the divider",
2018
+ "name": "--mdc-divider-width"
2019
+ },
2020
+ {
2021
+ "description": "gradient of the horizontal divider",
2022
+ "name": "--mdc-divider-horizontal-gradient"
2023
+ },
2024
+ {
2025
+ "description": "gradient of the vertical divider",
2026
+ "name": "--mdc-divider-vertical-gradient"
2027
+ },
2028
+ {
2029
+ "description": "font size of label in the text divider",
2030
+ "name": "--mdc-divider-text-size"
2031
+ },
2032
+ {
2033
+ "description": "font color of label in the text divider",
2034
+ "name": "--mdc-divider-text-color"
2035
+ },
2036
+ {
2037
+ "description": "left and right margin of label in the text divider",
2038
+ "name": "--mdc-divider-text-margin"
2039
+ },
2040
+ {
2041
+ "description": "line height of label in the text divider",
2042
+ "name": "--mdc-divider-text-line-height"
2043
+ },
2044
+ {
2045
+ "description": "border radius of the grabber button",
2046
+ "name": "--mdc-divider-grabber-button-border-radius"
2047
+ }
2048
+ ],
2049
+ "members": [
2050
+ {
2051
+ "kind": "field",
2052
+ "name": "orientation",
2053
+ "type": {
2054
+ "text": "DividerOrientation"
2055
+ },
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",
2059
+ "reflects": true
2060
+ },
2061
+ {
2062
+ "kind": "field",
2063
+ "name": "variant",
2064
+ "type": {
2065
+ "text": "DividerVariant"
2066
+ },
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",
2070
+ "reflects": true
2071
+ },
2072
+ {
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
2093
+ },
2094
+ {
2095
+ "kind": "method",
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
+ },
2000
2233
  {
2001
2234
  "kind": "javascript-module",
2002
2235
  "path": "components/checkbox/checkbox.component.js",
@@ -2483,243 +2716,13 @@
2483
2716
  },
2484
2717
  {
2485
2718
  "kind": "javascript-module",
2486
- "path": "components/divider/divider.component.js",
2719
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2487
2720
  "declarations": [
2488
2721
  {
2489
2722
  "kind": "class",
2490
- "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.",
2491
- "name": "Divider",
2492
- "cssProperties": [
2493
- {
2494
- "description": "background color of the divider",
2495
- "name": "--mdc-divider-background-color"
2496
- },
2497
- {
2498
- "description": "width of the divider",
2499
- "name": "--mdc-divider-width"
2500
- },
2501
- {
2502
- "description": "gradient of the horizontal divider",
2503
- "name": "--mdc-divider-horizontal-gradient"
2504
- },
2505
- {
2506
- "description": "gradient of the vertical divider",
2507
- "name": "--mdc-divider-vertical-gradient"
2508
- },
2509
- {
2510
- "description": "font size of label in the text divider",
2511
- "name": "--mdc-divider-text-size"
2512
- },
2513
- {
2514
- "description": "font color of label in the text divider",
2515
- "name": "--mdc-divider-text-color"
2516
- },
2517
- {
2518
- "description": "left and right margin of label in the text divider",
2519
- "name": "--mdc-divider-text-margin"
2520
- },
2521
- {
2522
- "description": "line height of label in the text divider",
2523
- "name": "--mdc-divider-text-line-height"
2524
- },
2525
- {
2526
- "description": "border radius of the grabber button",
2527
- "name": "--mdc-divider-grabber-button-border-radius"
2528
- }
2529
- ],
2530
- "members": [
2531
- {
2532
- "kind": "field",
2533
- "name": "orientation",
2534
- "type": {
2535
- "text": "DividerOrientation"
2536
- },
2537
- "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.",
2538
- "default": "horizontal",
2539
- "attribute": "orientation",
2540
- "reflects": true
2541
- },
2542
- {
2543
- "kind": "field",
2544
- "name": "variant",
2545
- "type": {
2546
- "text": "DividerVariant"
2547
- },
2548
- "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2549
- "default": "solid",
2550
- "attribute": "variant",
2551
- "reflects": true
2552
- },
2553
- {
2554
- "kind": "field",
2555
- "name": "arrowDirection",
2556
- "type": {
2557
- "text": "Directions"
2558
- },
2559
- "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2560
- "default": "'negative'",
2561
- "attribute": "arrow-direction",
2562
- "reflects": true
2563
- },
2564
- {
2565
- "kind": "field",
2566
- "name": "buttonPosition",
2567
- "type": {
2568
- "text": "Directions"
2569
- },
2570
- "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2571
- "default": "'negative'",
2572
- "attribute": "button-position",
2573
- "reflects": true
2574
- },
2575
- {
2576
- "kind": "method",
2577
- "name": "setVariant",
2578
- "privacy": "private",
2579
- "parameters": [
2580
- {
2581
- "name": "variant",
2582
- "type": {
2583
- "text": "DividerVariant"
2584
- },
2585
- "description": "The variant to set."
2586
- }
2587
- ],
2588
- "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."
2589
- },
2590
- {
2591
- "kind": "method",
2592
- "name": "setOrientation",
2593
- "privacy": "private",
2594
- "parameters": [
2595
- {
2596
- "name": "orientation",
2597
- "type": {
2598
- "text": "DividerOrientation"
2599
- },
2600
- "description": "The orientation to set."
2601
- }
2602
- ],
2603
- "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."
2604
- },
2605
- {
2606
- "kind": "method",
2607
- "name": "ensureValidDirections",
2608
- "privacy": "private",
2609
- "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.",
2610
- "parameters": [
2611
- {
2612
- "description": "The buttonPosition to set.",
2613
- "name": "buttonPosition"
2614
- },
2615
- {
2616
- "description": "The arrowDirection to set.",
2617
- "name": "arrowDirection"
2618
- }
2619
- ]
2620
- },
2621
- {
2622
- "kind": "method",
2623
- "name": "setGrabberButton",
2624
- "privacy": "private",
2625
- "return": {
2626
- "type": {
2627
- "text": "void"
2628
- }
2629
- },
2630
- "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."
2631
- },
2632
- {
2633
- "kind": "method",
2634
- "name": "getArrowIcon",
2635
- "privacy": "private",
2636
- "return": {
2637
- "type": {
2638
- "text": ""
2639
- }
2640
- },
2641
- "description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
2642
- },
2643
- {
2644
- "kind": "method",
2645
- "name": "inferDividerType",
2646
- "privacy": "private",
2647
- "description": "Infers the type of divider based on the kind of slot present.",
2648
- "parameters": [
2649
- {
2650
- "description": "default slot of divider",
2651
- "name": "slot"
2652
- }
2653
- ]
2654
- }
2655
- ],
2656
- "attributes": [
2657
- {
2658
- "name": "orientation",
2659
- "type": {
2660
- "text": "DividerOrientation"
2661
- },
2662
- "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.",
2663
- "default": "horizontal",
2664
- "fieldName": "orientation"
2665
- },
2666
- {
2667
- "name": "variant",
2668
- "type": {
2669
- "text": "DividerVariant"
2670
- },
2671
- "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2672
- "default": "solid",
2673
- "fieldName": "variant"
2674
- },
2675
- {
2676
- "name": "arrow-direction",
2677
- "type": {
2678
- "text": "Directions"
2679
- },
2680
- "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2681
- "default": "'negative'",
2682
- "fieldName": "arrowDirection"
2683
- },
2684
- {
2685
- "name": "button-position",
2686
- "type": {
2687
- "text": "Directions"
2688
- },
2689
- "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2690
- "default": "'negative'",
2691
- "fieldName": "buttonPosition"
2692
- }
2693
- ],
2694
- "superclass": {
2695
- "name": "Component",
2696
- "module": "/src/models"
2697
- },
2698
- "tagName": "mdc-divider",
2699
- "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 */",
2700
- "customElement": true
2701
- }
2702
- ],
2703
- "exports": [
2704
- {
2705
- "kind": "js",
2706
- "name": "default",
2707
- "declaration": {
2708
- "name": "Divider",
2709
- "module": "components/divider/divider.component.js"
2710
- }
2711
- }
2712
- ]
2713
- },
2714
- {
2715
- "kind": "javascript-module",
2716
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2717
- "declarations": [
2718
- {
2719
- "kind": "class",
2720
- "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.",
2721
- "name": "FormfieldWrapper",
2722
- "slots": [
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": [
2723
2726
  {
2724
2727
  "description": "slot to add the label info icon",
2725
2728
  "name": "label-info"
@@ -5225,6 +5228,655 @@
5225
5228
  }
5226
5229
  ]
5227
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"
5694
+ }
5695
+ },
5696
+ {
5697
+ "kind": "method",
5698
+ "name": "handleKeyDown",
5699
+ "privacy": "private",
5700
+ "parameters": [
5701
+ {
5702
+ "name": "event",
5703
+ "type": {
5704
+ "text": "KeyboardEvent"
5705
+ },
5706
+ "description": "The keyboard event."
5707
+ }
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.",
5710
+ "inheritedFrom": {
5711
+ "name": "Buttonsimple",
5712
+ "module": "components/buttonsimple/buttonsimple.component.js"
5713
+ }
5714
+ },
5715
+ {
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"
5732
+ }
5733
+ }
5734
+ ],
5735
+ "attributes": [
5736
+ {
5737
+ "name": "text",
5738
+ "type": {
5739
+ "text": "string | undefined"
5740
+ },
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"
5743
+ },
5744
+ {
5745
+ "name": "variant",
5746
+ "type": {
5747
+ "text": "Variant"
5748
+ },
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"
5752
+ },
5753
+ {
5754
+ "name": "icon-name",
5755
+ "type": {
5756
+ "text": "IconNames | undefined"
5757
+ },
5758
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5759
+ "fieldName": "iconName",
5760
+ "inheritedFrom": {
5761
+ "name": "IconNameMixin",
5762
+ "module": "src/utils/mixins/IconNameMixin.ts"
5763
+ }
5764
+ },
5765
+ {
5766
+ "name": "tabIndex",
5767
+ "type": {
5768
+ "text": "number"
5769
+ },
5770
+ "default": "0",
5771
+ "description": "This property specifies the tab order of the element.",
5772
+ "fieldName": "tabIndex",
5773
+ "inheritedFrom": {
5774
+ "name": "Buttonsimple",
5775
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5776
+ }
5777
+ },
5778
+ {
5779
+ "name": "disabled",
5780
+ "type": {
5781
+ "text": "boolean"
5782
+ },
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",
5786
+ "inheritedFrom": {
5787
+ "name": "Buttonsimple",
5788
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5789
+ }
5790
+ },
5791
+ {
5792
+ "name": "active",
5793
+ "type": {
5794
+ "text": "boolean"
5795
+ },
5796
+ "default": "false",
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",
5799
+ "inheritedFrom": {
5800
+ "name": "Buttonsimple",
5801
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5802
+ }
5803
+ },
5804
+ {
5805
+ "name": "soft-disabled",
5806
+ "type": {
5807
+ "text": "boolean"
5808
+ },
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",
5812
+ "inheritedFrom": {
5813
+ "name": "Buttonsimple",
5814
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5815
+ }
5816
+ },
5817
+ {
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",
5825
+ "inheritedFrom": {
5826
+ "name": "Buttonsimple",
5827
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5828
+ }
5829
+ },
5830
+ {
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",
5835
+ "inheritedFrom": {
5836
+ "name": "Buttonsimple",
5837
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5838
+ }
5839
+ },
5840
+ {
5841
+ "name": "type",
5842
+ "type": {
5843
+ "text": "ButtonType"
5844
+ },
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",
5848
+ "inheritedFrom": {
5849
+ "name": "Buttonsimple",
5850
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5851
+ }
5852
+ }
5853
+ ],
5854
+ "mixins": [
5855
+ {
5856
+ "name": "IconNameMixin",
5857
+ "module": "/src/utils/mixins/IconNameMixin"
5858
+ }
5859
+ ],
5860
+ "superclass": {
5861
+ "name": "Buttonsimple",
5862
+ "module": "/src/components/buttonsimple/buttonsimple.component"
5863
+ },
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
5867
+ }
5868
+ ],
5869
+ "exports": [
5870
+ {
5871
+ "kind": "js",
5872
+ "name": "default",
5873
+ "declaration": {
5874
+ "name": "Tab",
5875
+ "module": "components/tab/tab.component.js"
5876
+ }
5877
+ }
5878
+ ]
5879
+ },
5228
5880
  {
5229
5881
  "kind": "javascript-module",
5230
5882
  "path": "components/text/text.component.js",