@momentum-design/components 0.22.3 → 0.22.5

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.
@@ -2000,236 +2000,6 @@
2000
2000
  }
2001
2001
  ]
2002
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
- },
2233
2003
  {
2234
2004
  "kind": "javascript-module",
2235
2005
  "path": "components/checkbox/checkbox.component.js",
@@ -2716,28 +2486,258 @@
2716
2486
  },
2717
2487
  {
2718
2488
  "kind": "javascript-module",
2719
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2489
+ "path": "components/divider/divider.component.js",
2720
2490
  "declarations": [
2721
2491
  {
2722
2492
  "kind": "class",
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": [
2493
+ "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.",
2494
+ "name": "Divider",
2495
+ "cssProperties": [
2726
2496
  {
2727
- "description": "slot to add the label info icon",
2728
- "name": "label-info"
2729
- }
2730
- ],
2731
- "members": [
2497
+ "description": "background color of the divider",
2498
+ "name": "--mdc-divider-background-color"
2499
+ },
2732
2500
  {
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
2501
+ "description": "width of the divider",
2502
+ "name": "--mdc-divider-width"
2503
+ },
2504
+ {
2505
+ "description": "gradient of the horizontal divider",
2506
+ "name": "--mdc-divider-horizontal-gradient"
2507
+ },
2508
+ {
2509
+ "description": "gradient of the vertical divider",
2510
+ "name": "--mdc-divider-vertical-gradient"
2511
+ },
2512
+ {
2513
+ "description": "font size of label in the text divider",
2514
+ "name": "--mdc-divider-text-size"
2515
+ },
2516
+ {
2517
+ "description": "font color of label in the text divider",
2518
+ "name": "--mdc-divider-text-color"
2519
+ },
2520
+ {
2521
+ "description": "left and right margin of label in the text divider",
2522
+ "name": "--mdc-divider-text-margin"
2523
+ },
2524
+ {
2525
+ "description": "line height of label in the text divider",
2526
+ "name": "--mdc-divider-text-line-height"
2527
+ },
2528
+ {
2529
+ "description": "border radius of the grabber button",
2530
+ "name": "--mdc-divider-grabber-button-border-radius"
2531
+ }
2532
+ ],
2533
+ "members": [
2534
+ {
2535
+ "kind": "field",
2536
+ "name": "orientation",
2537
+ "type": {
2538
+ "text": "DividerOrientation"
2539
+ },
2540
+ "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.",
2541
+ "default": "horizontal",
2542
+ "attribute": "orientation",
2543
+ "reflects": true
2544
+ },
2545
+ {
2546
+ "kind": "field",
2547
+ "name": "variant",
2548
+ "type": {
2549
+ "text": "DividerVariant"
2550
+ },
2551
+ "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2552
+ "default": "solid",
2553
+ "attribute": "variant",
2554
+ "reflects": true
2555
+ },
2556
+ {
2557
+ "kind": "field",
2558
+ "name": "arrowDirection",
2559
+ "type": {
2560
+ "text": "Directions"
2561
+ },
2562
+ "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2563
+ "default": "'negative'",
2564
+ "attribute": "arrow-direction",
2565
+ "reflects": true
2566
+ },
2567
+ {
2568
+ "kind": "field",
2569
+ "name": "buttonPosition",
2570
+ "type": {
2571
+ "text": "Directions"
2572
+ },
2573
+ "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2574
+ "default": "'negative'",
2575
+ "attribute": "button-position",
2576
+ "reflects": true
2577
+ },
2578
+ {
2579
+ "kind": "method",
2580
+ "name": "setVariant",
2581
+ "privacy": "private",
2582
+ "parameters": [
2583
+ {
2584
+ "name": "variant",
2585
+ "type": {
2586
+ "text": "DividerVariant"
2587
+ },
2588
+ "description": "The variant to set."
2589
+ }
2590
+ ],
2591
+ "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."
2592
+ },
2593
+ {
2594
+ "kind": "method",
2595
+ "name": "setOrientation",
2596
+ "privacy": "private",
2597
+ "parameters": [
2598
+ {
2599
+ "name": "orientation",
2600
+ "type": {
2601
+ "text": "DividerOrientation"
2602
+ },
2603
+ "description": "The orientation to set."
2604
+ }
2605
+ ],
2606
+ "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."
2607
+ },
2608
+ {
2609
+ "kind": "method",
2610
+ "name": "ensureValidDirections",
2611
+ "privacy": "private",
2612
+ "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.",
2613
+ "parameters": [
2614
+ {
2615
+ "description": "The buttonPosition to set.",
2616
+ "name": "buttonPosition"
2617
+ },
2618
+ {
2619
+ "description": "The arrowDirection to set.",
2620
+ "name": "arrowDirection"
2621
+ }
2622
+ ]
2623
+ },
2624
+ {
2625
+ "kind": "method",
2626
+ "name": "setGrabberButton",
2627
+ "privacy": "private",
2628
+ "return": {
2629
+ "type": {
2630
+ "text": "void"
2631
+ }
2632
+ },
2633
+ "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."
2634
+ },
2635
+ {
2636
+ "kind": "method",
2637
+ "name": "getArrowIcon",
2638
+ "privacy": "private",
2639
+ "return": {
2640
+ "type": {
2641
+ "text": ""
2642
+ }
2643
+ },
2644
+ "description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
2645
+ },
2646
+ {
2647
+ "kind": "method",
2648
+ "name": "inferDividerType",
2649
+ "privacy": "private",
2650
+ "description": "Infers the type of divider based on the kind of slot present.",
2651
+ "parameters": [
2652
+ {
2653
+ "description": "default slot of divider",
2654
+ "name": "slot"
2655
+ }
2656
+ ]
2657
+ }
2658
+ ],
2659
+ "attributes": [
2660
+ {
2661
+ "name": "orientation",
2662
+ "type": {
2663
+ "text": "DividerOrientation"
2664
+ },
2665
+ "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.",
2666
+ "default": "horizontal",
2667
+ "fieldName": "orientation"
2668
+ },
2669
+ {
2670
+ "name": "variant",
2671
+ "type": {
2672
+ "text": "DividerVariant"
2673
+ },
2674
+ "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2675
+ "default": "solid",
2676
+ "fieldName": "variant"
2677
+ },
2678
+ {
2679
+ "name": "arrow-direction",
2680
+ "type": {
2681
+ "text": "Directions"
2682
+ },
2683
+ "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2684
+ "default": "'negative'",
2685
+ "fieldName": "arrowDirection"
2686
+ },
2687
+ {
2688
+ "name": "button-position",
2689
+ "type": {
2690
+ "text": "Directions"
2691
+ },
2692
+ "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2693
+ "default": "'negative'",
2694
+ "fieldName": "buttonPosition"
2695
+ }
2696
+ ],
2697
+ "superclass": {
2698
+ "name": "Component",
2699
+ "module": "/src/models"
2700
+ },
2701
+ "tagName": "mdc-divider",
2702
+ "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 */",
2703
+ "customElement": true
2704
+ }
2705
+ ],
2706
+ "exports": [
2707
+ {
2708
+ "kind": "js",
2709
+ "name": "default",
2710
+ "declaration": {
2711
+ "name": "Divider",
2712
+ "module": "components/divider/divider.component.js"
2713
+ }
2714
+ }
2715
+ ]
2716
+ },
2717
+ {
2718
+ "kind": "javascript-module",
2719
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2720
+ "declarations": [
2721
+ {
2722
+ "kind": "class",
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": [
2726
+ {
2727
+ "description": "slot to add the label info icon",
2728
+ "name": "label-info"
2729
+ }
2730
+ ],
2731
+ "members": [
2732
+ {
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
2741
2741
  },
2742
2742
  {
2743
2743
  "kind": "field",
@@ -3008,11 +3008,31 @@
3008
3008
  "privacy": "private",
3009
3009
  "default": "new AbortController()"
3010
3010
  },
3011
+ {
3012
+ "kind": "method",
3013
+ "name": "prepareIconElement",
3014
+ "privacy": "private",
3015
+ "parameters": [
3016
+ {
3017
+ "name": "iconData",
3018
+ "type": {
3019
+ "text": "string"
3020
+ },
3021
+ "description": "The icon string to be parsed"
3022
+ }
3023
+ ],
3024
+ "description": "Parse the icon string to an html element, set the attributes and\nreturn the icon element",
3025
+ "return": {
3026
+ "type": {
3027
+ "text": ""
3028
+ }
3029
+ }
3030
+ },
3011
3031
  {
3012
3032
  "kind": "method",
3013
3033
  "name": "getIconData",
3014
3034
  "privacy": "private",
3015
- "description": "Get Icon Data function which will fetch the icon (currently only svg)\nand sets state and attributes once fetched successfully\n\nThis method uses abortController.signal to cancel the fetch request when the component is disconnected or updated.\nIf the request is aborted after the fetch() call has been fulfilled but before the response body has been read,\nthen attempting to read the response body will reject with an AbortError exception."
3035
+ "description": "Fetches the icon (currently only svg) and sets state and attributes once fetched successfully\n\nThis method uses abortController.signal to cancel the fetch request when the component is disconnected or updated.\nIf the request is aborted after the fetch() call has been fulfilled but before the response body has been read,\nthen attempting to read the response body will reject with an AbortError exception."
3016
3036
  },
3017
3037
  {
3018
3038
  "kind": "method",
@@ -3113,145 +3133,7 @@
3113
3133
  },
3114
3134
  {
3115
3135
  "kind": "javascript-module",
3116
- "path": "components/iconprovider/iconprovider.component.js",
3117
- "declarations": [
3118
- {
3119
- "kind": "class",
3120
- "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.",
3121
- "name": "IconProvider",
3122
- "slots": [
3123
- {
3124
- "description": "children",
3125
- "name": ""
3126
- }
3127
- ],
3128
- "members": [
3129
- {
3130
- "kind": "field",
3131
- "name": "Context",
3132
- "privacy": "public",
3133
- "static": true,
3134
- "description": "Context object of the IconProvider, to be consumed by child components",
3135
- "readonly": true
3136
- },
3137
- {
3138
- "kind": "field",
3139
- "name": "url",
3140
- "type": {
3141
- "text": "string | undefined"
3142
- },
3143
- "description": "Url of where icons will be fetched from",
3144
- "attribute": "url"
3145
- },
3146
- {
3147
- "kind": "field",
3148
- "name": "fileExtension",
3149
- "type": {
3150
- "text": "string | undefined"
3151
- },
3152
- "description": "File extension of icons",
3153
- "default": "svg",
3154
- "attribute": "file-extension",
3155
- "reflects": true
3156
- },
3157
- {
3158
- "kind": "field",
3159
- "name": "lengthUnit",
3160
- "type": {
3161
- "text": "string"
3162
- },
3163
- "description": "Length unit used for sizing of icons",
3164
- "default": "em",
3165
- "attribute": "length-unit",
3166
- "reflects": true
3167
- },
3168
- {
3169
- "kind": "field",
3170
- "name": "size",
3171
- "type": {
3172
- "text": "number | undefined"
3173
- },
3174
- "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
3175
- "default": "1",
3176
- "attribute": "size",
3177
- "reflects": true
3178
- },
3179
- {
3180
- "kind": "method",
3181
- "name": "updateValuesInContext",
3182
- "privacy": "private"
3183
- },
3184
- {
3185
- "kind": "method",
3186
- "name": "updateContext",
3187
- "privacy": "protected",
3188
- "return": {
3189
- "type": {
3190
- "text": "void"
3191
- }
3192
- }
3193
- }
3194
- ],
3195
- "attributes": [
3196
- {
3197
- "name": "url",
3198
- "type": {
3199
- "text": "string | undefined"
3200
- },
3201
- "description": "Url of where icons will be fetched from",
3202
- "fieldName": "url"
3203
- },
3204
- {
3205
- "name": "file-extension",
3206
- "type": {
3207
- "text": "string | undefined"
3208
- },
3209
- "description": "File extension of icons",
3210
- "default": "svg",
3211
- "fieldName": "fileExtension"
3212
- },
3213
- {
3214
- "name": "length-unit",
3215
- "type": {
3216
- "text": "string"
3217
- },
3218
- "description": "Length unit used for sizing of icons",
3219
- "default": "em",
3220
- "fieldName": "lengthUnit"
3221
- },
3222
- {
3223
- "name": "size",
3224
- "type": {
3225
- "text": "number | undefined"
3226
- },
3227
- "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
3228
- "default": "1",
3229
- "fieldName": "size"
3230
- }
3231
- ],
3232
- "superclass": {
3233
- "name": "Provider",
3234
- "module": "/src/models"
3235
- },
3236
- "tagName": "mdc-iconprovider",
3237
- "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
3238
- "customElement": true
3239
- }
3240
- ],
3241
- "exports": [
3242
- {
3243
- "kind": "js",
3244
- "name": "default",
3245
- "declaration": {
3246
- "name": "IconProvider",
3247
- "module": "components/iconprovider/iconprovider.component.js"
3248
- }
3249
- }
3250
- ]
3251
- },
3252
- {
3253
- "kind": "javascript-module",
3254
- "path": "components/input/input.component.js",
3136
+ "path": "components/input/input.component.js",
3255
3137
  "declarations": [
3256
3138
  {
3257
3139
  "kind": "class",
@@ -4380,109 +4262,148 @@
4380
4262
  },
4381
4263
  {
4382
4264
  "kind": "javascript-module",
4383
- "path": "components/modalcontainer/modalcontainer.component.js",
4265
+ "path": "components/iconprovider/iconprovider.component.js",
4384
4266
  "declarations": [
4385
4267
  {
4386
4268
  "kind": "class",
4387
- "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4388
- "name": "Modalcontainer",
4389
- "cssProperties": [
4269
+ "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.\n\nIf `shouldCache` is set to true, the IconProvider will cache the icons\nin a Map to avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nKeep in mind that this cache is not persisted and will be lost when the\nIconProvider is removed from the DOM.",
4270
+ "name": "IconProvider",
4271
+ "slots": [
4390
4272
  {
4391
- "description": "primary background color of the modalcontainer",
4392
- "name": "--mdc-modalcontainer-primary-background-color"
4393
- },
4273
+ "description": "children",
4274
+ "name": ""
4275
+ }
4276
+ ],
4277
+ "members": [
4394
4278
  {
4395
- "description": "border color of the modalcontainer",
4396
- "name": "--mdc-modalcontainer-border-color"
4279
+ "kind": "field",
4280
+ "name": "Context",
4281
+ "privacy": "public",
4282
+ "static": true,
4283
+ "description": "Context object of the IconProvider, to be consumed by child components",
4284
+ "readonly": true
4397
4285
  },
4398
4286
  {
4399
- "description": "inverted background color of the modalcontainer",
4400
- "name": "--mdc-modalcontainer-inverted-background-color"
4287
+ "kind": "field",
4288
+ "name": "url",
4289
+ "type": {
4290
+ "text": "string | undefined"
4291
+ },
4292
+ "description": "Url of where icons will be fetched from",
4293
+ "attribute": "url"
4401
4294
  },
4402
4295
  {
4403
- "description": "inverted border color of the modalcontainer",
4404
- "name": "--mdc-modalcontainer-inverted-border-color"
4296
+ "kind": "field",
4297
+ "name": "fileExtension",
4298
+ "type": {
4299
+ "text": "string | undefined"
4300
+ },
4301
+ "description": "File extension of icons",
4302
+ "default": "svg",
4303
+ "attribute": "file-extension",
4304
+ "reflects": true
4405
4305
  },
4406
- {
4407
- "description": "inverted text color of the modalcontainer",
4408
- "name": "--mdc-modalcontainer-inverted-text-color"
4409
- }
4410
- ],
4411
- "slots": [
4412
- {
4413
- "description": "Default slot for modal container",
4414
- "name": ""
4415
- }
4416
- ],
4417
- "members": [
4418
4306
  {
4419
4307
  "kind": "field",
4420
- "name": "color",
4308
+ "name": "lengthUnit",
4421
4309
  "type": {
4422
- "text": "ModalContainerColor"
4310
+ "text": "string"
4423
4311
  },
4424
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4425
- "default": "tonal",
4426
- "attribute": "color",
4312
+ "description": "Length unit used for sizing of icons",
4313
+ "default": "em",
4314
+ "attribute": "length-unit",
4427
4315
  "reflects": true
4428
4316
  },
4429
4317
  {
4430
4318
  "kind": "field",
4431
- "name": "elevation",
4319
+ "name": "size",
4432
4320
  "type": {
4433
- "text": "ModalContainerElevation"
4321
+ "text": "number | undefined"
4434
4322
  },
4435
- "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4436
- "default": "0",
4437
- "attribute": "elevation",
4323
+ "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
4324
+ "default": "1",
4325
+ "attribute": "size",
4438
4326
  "reflects": true
4439
4327
  },
4440
4328
  {
4441
4329
  "kind": "field",
4442
- "name": "role",
4330
+ "name": "shouldCache",
4443
4331
  "type": {
4444
- "text": "ModalContainerRole"
4332
+ "text": "boolean | undefined"
4445
4333
  },
4446
- "description": "Role of the modalcontainer",
4447
- "default": "dialog",
4448
- "attribute": "role"
4334
+ "description": "If the IconProvider should cache the icons\nin a Map to avoid fetching the same icon multiple times",
4335
+ "default": "false",
4336
+ "attribute": "should-cache",
4337
+ "reflects": true
4338
+ },
4339
+ {
4340
+ "kind": "method",
4341
+ "name": "updateValuesInContext",
4342
+ "privacy": "private"
4343
+ },
4344
+ {
4345
+ "kind": "method",
4346
+ "name": "updateContext",
4347
+ "privacy": "protected",
4348
+ "return": {
4349
+ "type": {
4350
+ "text": "void"
4351
+ }
4352
+ }
4449
4353
  }
4450
4354
  ],
4451
4355
  "attributes": [
4452
4356
  {
4453
- "name": "color",
4357
+ "name": "url",
4454
4358
  "type": {
4455
- "text": "ModalContainerColor"
4359
+ "text": "string | undefined"
4456
4360
  },
4457
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4458
- "default": "tonal",
4459
- "fieldName": "color"
4361
+ "description": "Url of where icons will be fetched from",
4362
+ "fieldName": "url"
4460
4363
  },
4461
4364
  {
4462
- "name": "elevation",
4365
+ "name": "file-extension",
4463
4366
  "type": {
4464
- "text": "ModalContainerElevation"
4367
+ "text": "string | undefined"
4465
4368
  },
4466
- "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4467
- "default": "0",
4468
- "fieldName": "elevation"
4369
+ "description": "File extension of icons",
4370
+ "default": "svg",
4371
+ "fieldName": "fileExtension"
4469
4372
  },
4470
4373
  {
4471
- "name": "role",
4374
+ "name": "length-unit",
4472
4375
  "type": {
4473
- "text": "ModalContainerRole"
4376
+ "text": "string"
4474
4377
  },
4475
- "description": "Role of the modalcontainer",
4476
- "default": "dialog",
4477
- "fieldName": "role"
4378
+ "description": "Length unit used for sizing of icons",
4379
+ "default": "em",
4380
+ "fieldName": "lengthUnit"
4381
+ },
4382
+ {
4383
+ "name": "size",
4384
+ "type": {
4385
+ "text": "number | undefined"
4386
+ },
4387
+ "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
4388
+ "default": "1",
4389
+ "fieldName": "size"
4390
+ },
4391
+ {
4392
+ "name": "should-cache",
4393
+ "type": {
4394
+ "text": "boolean | undefined"
4395
+ },
4396
+ "description": "If the IconProvider should cache the icons\nin a Map to avoid fetching the same icon multiple times",
4397
+ "default": "false",
4398
+ "fieldName": "shouldCache"
4478
4399
  }
4479
4400
  ],
4480
4401
  "superclass": {
4481
- "name": "Component",
4402
+ "name": "Provider",
4482
4403
  "module": "/src/models"
4483
4404
  },
4484
- "tagName": "mdc-modalcontainer",
4485
- "jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
4405
+ "tagName": "mdc-iconprovider",
4406
+ "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * If `shouldCache` is set to true, the IconProvider will cache the icons\n * in a Map to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * Keep in mind that this cache is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
4486
4407
  "customElement": true
4487
4408
  }
4488
4409
  ],
@@ -4491,8 +4412,8 @@
4491
4412
  "kind": "js",
4492
4413
  "name": "default",
4493
4414
  "declaration": {
4494
- "name": "Modalcontainer",
4495
- "module": "components/modalcontainer/modalcontainer.component.js"
4415
+ "name": "IconProvider",
4416
+ "module": "components/iconprovider/iconprovider.component.js"
4496
4417
  }
4497
4418
  }
4498
4419
  ]
@@ -4667,6 +4588,125 @@
4667
4588
  }
4668
4589
  ]
4669
4590
  },
4591
+ {
4592
+ "kind": "javascript-module",
4593
+ "path": "components/modalcontainer/modalcontainer.component.js",
4594
+ "declarations": [
4595
+ {
4596
+ "kind": "class",
4597
+ "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4598
+ "name": "Modalcontainer",
4599
+ "cssProperties": [
4600
+ {
4601
+ "description": "primary background color of the modalcontainer",
4602
+ "name": "--mdc-modalcontainer-primary-background-color"
4603
+ },
4604
+ {
4605
+ "description": "border color of the modalcontainer",
4606
+ "name": "--mdc-modalcontainer-border-color"
4607
+ },
4608
+ {
4609
+ "description": "inverted background color of the modalcontainer",
4610
+ "name": "--mdc-modalcontainer-inverted-background-color"
4611
+ },
4612
+ {
4613
+ "description": "inverted border color of the modalcontainer",
4614
+ "name": "--mdc-modalcontainer-inverted-border-color"
4615
+ },
4616
+ {
4617
+ "description": "inverted text color of the modalcontainer",
4618
+ "name": "--mdc-modalcontainer-inverted-text-color"
4619
+ }
4620
+ ],
4621
+ "slots": [
4622
+ {
4623
+ "description": "Default slot for modal container",
4624
+ "name": ""
4625
+ }
4626
+ ],
4627
+ "members": [
4628
+ {
4629
+ "kind": "field",
4630
+ "name": "color",
4631
+ "type": {
4632
+ "text": "ModalContainerColor"
4633
+ },
4634
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4635
+ "default": "tonal",
4636
+ "attribute": "color",
4637
+ "reflects": true
4638
+ },
4639
+ {
4640
+ "kind": "field",
4641
+ "name": "elevation",
4642
+ "type": {
4643
+ "text": "ModalContainerElevation"
4644
+ },
4645
+ "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4646
+ "default": "0",
4647
+ "attribute": "elevation",
4648
+ "reflects": true
4649
+ },
4650
+ {
4651
+ "kind": "field",
4652
+ "name": "role",
4653
+ "type": {
4654
+ "text": "ModalContainerRole"
4655
+ },
4656
+ "description": "Role of the modalcontainer",
4657
+ "default": "dialog",
4658
+ "attribute": "role"
4659
+ }
4660
+ ],
4661
+ "attributes": [
4662
+ {
4663
+ "name": "color",
4664
+ "type": {
4665
+ "text": "ModalContainerColor"
4666
+ },
4667
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4668
+ "default": "tonal",
4669
+ "fieldName": "color"
4670
+ },
4671
+ {
4672
+ "name": "elevation",
4673
+ "type": {
4674
+ "text": "ModalContainerElevation"
4675
+ },
4676
+ "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4677
+ "default": "0",
4678
+ "fieldName": "elevation"
4679
+ },
4680
+ {
4681
+ "name": "role",
4682
+ "type": {
4683
+ "text": "ModalContainerRole"
4684
+ },
4685
+ "description": "Role of the modalcontainer",
4686
+ "default": "dialog",
4687
+ "fieldName": "role"
4688
+ }
4689
+ ],
4690
+ "superclass": {
4691
+ "name": "Component",
4692
+ "module": "/src/models"
4693
+ },
4694
+ "tagName": "mdc-modalcontainer",
4695
+ "jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
4696
+ "customElement": true
4697
+ }
4698
+ ],
4699
+ "exports": [
4700
+ {
4701
+ "kind": "js",
4702
+ "name": "default",
4703
+ "declaration": {
4704
+ "name": "Modalcontainer",
4705
+ "module": "components/modalcontainer/modalcontainer.component.js"
4706
+ }
4707
+ }
4708
+ ]
4709
+ },
4670
4710
  {
4671
4711
  "kind": "javascript-module",
4672
4712
  "path": "components/radio/radio.component.js",