@momentum-design/components 0.127.8 → 0.127.9
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.
- package/dist/browser/index.js +5 -5
- package/dist/browser/index.js.map +3 -3
- package/dist/components/popover/popover.component.d.ts +31 -5
- package/dist/components/popover/popover.component.js +42 -14
- package/dist/components/popover/popover.stack.d.ts +2 -1
- package/dist/components/popover/popover.stack.js +2 -0
- package/dist/custom-elements.json +1017 -1042
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/dist/react/popover/index.d.ts +2 -2
- package/dist/react/popover/index.js +2 -2
- package/dist/utils/mixins/BackdropMixin.js +2 -2
- package/package.json +1 -1
|
@@ -1654,6 +1654,218 @@
|
|
|
1654
1654
|
}
|
|
1655
1655
|
]
|
|
1656
1656
|
},
|
|
1657
|
+
{
|
|
1658
|
+
"kind": "javascript-module",
|
|
1659
|
+
"path": "components/animation/animation.component.js",
|
|
1660
|
+
"declarations": [
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "class",
|
|
1663
|
+
"description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
|
|
1664
|
+
"name": "Animation",
|
|
1665
|
+
"members": [
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "field",
|
|
1668
|
+
"name": "name",
|
|
1669
|
+
"type": {
|
|
1670
|
+
"text": "AnimationNames | undefined"
|
|
1671
|
+
},
|
|
1672
|
+
"description": "Name of the animation (= filename)",
|
|
1673
|
+
"attribute": "name",
|
|
1674
|
+
"reflects": true
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"kind": "field",
|
|
1678
|
+
"name": "loop",
|
|
1679
|
+
"type": {
|
|
1680
|
+
"text": "LoopType | undefined"
|
|
1681
|
+
},
|
|
1682
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
1683
|
+
"attribute": "loop",
|
|
1684
|
+
"reflects": true
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"kind": "field",
|
|
1688
|
+
"name": "autoplay",
|
|
1689
|
+
"type": {
|
|
1690
|
+
"text": "boolean | undefined"
|
|
1691
|
+
},
|
|
1692
|
+
"description": "Weather start the animation automatically",
|
|
1693
|
+
"attribute": "autoplay",
|
|
1694
|
+
"reflects": true
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "field",
|
|
1698
|
+
"name": "ariaLabel",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "string | null"
|
|
1701
|
+
},
|
|
1702
|
+
"default": "null",
|
|
1703
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
1704
|
+
"attribute": "aria-label"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "field",
|
|
1708
|
+
"name": "ariaLabelledby",
|
|
1709
|
+
"type": {
|
|
1710
|
+
"text": "string | null"
|
|
1711
|
+
},
|
|
1712
|
+
"default": "null",
|
|
1713
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
1714
|
+
"attribute": "aria-labelledby"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"kind": "field",
|
|
1718
|
+
"name": "lottieInstance",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "AnimationItem | undefined"
|
|
1721
|
+
},
|
|
1722
|
+
"privacy": "private",
|
|
1723
|
+
"description": "Lottie animation instance"
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"kind": "field",
|
|
1727
|
+
"name": "containerRef",
|
|
1728
|
+
"type": {
|
|
1729
|
+
"text": "Ref<HTMLDivElement>"
|
|
1730
|
+
},
|
|
1731
|
+
"privacy": "private",
|
|
1732
|
+
"description": "Container for the animation"
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "field",
|
|
1736
|
+
"name": "animation",
|
|
1737
|
+
"description": "Exposed API of the animation library (lottie)",
|
|
1738
|
+
"readonly": true
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "method",
|
|
1742
|
+
"name": "getLoopValue",
|
|
1743
|
+
"privacy": "private"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "method",
|
|
1747
|
+
"name": "onLoadSuccessHandler",
|
|
1748
|
+
"privacy": "private",
|
|
1749
|
+
"parameters": [
|
|
1750
|
+
{
|
|
1751
|
+
"name": "animationData",
|
|
1752
|
+
"type": {
|
|
1753
|
+
"text": "any"
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
],
|
|
1757
|
+
"description": "Create new lotty instance for the loaded data"
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"kind": "method",
|
|
1761
|
+
"name": "onLoadFailHandler",
|
|
1762
|
+
"privacy": "private",
|
|
1763
|
+
"parameters": [
|
|
1764
|
+
{
|
|
1765
|
+
"name": "error",
|
|
1766
|
+
"type": {
|
|
1767
|
+
"text": "Error"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
],
|
|
1771
|
+
"description": "Error handler for animation loading"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"kind": "method",
|
|
1775
|
+
"name": "getAnimationData",
|
|
1776
|
+
"privacy": "private",
|
|
1777
|
+
"description": "Import animation data dynamically"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"kind": "field",
|
|
1781
|
+
"name": "onCompleteHandler",
|
|
1782
|
+
"description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
|
|
1783
|
+
}
|
|
1784
|
+
],
|
|
1785
|
+
"events": [
|
|
1786
|
+
{
|
|
1787
|
+
"name": "load",
|
|
1788
|
+
"type": {
|
|
1789
|
+
"text": "CustomEvent"
|
|
1790
|
+
},
|
|
1791
|
+
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
|
1792
|
+
"reactName": "onLoad"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
|
1796
|
+
"name": "complete",
|
|
1797
|
+
"reactName": "onComplete"
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"description": "(React: onError) This event is dispatched when animation loading failed",
|
|
1801
|
+
"name": "error",
|
|
1802
|
+
"reactName": "onError"
|
|
1803
|
+
}
|
|
1804
|
+
],
|
|
1805
|
+
"attributes": [
|
|
1806
|
+
{
|
|
1807
|
+
"name": "name",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "AnimationNames | undefined"
|
|
1810
|
+
},
|
|
1811
|
+
"description": "Name of the animation (= filename)",
|
|
1812
|
+
"fieldName": "name"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "loop",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "LoopType | undefined"
|
|
1818
|
+
},
|
|
1819
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
1820
|
+
"fieldName": "loop"
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"name": "autoplay",
|
|
1824
|
+
"type": {
|
|
1825
|
+
"text": "boolean | undefined"
|
|
1826
|
+
},
|
|
1827
|
+
"description": "Weather start the animation automatically",
|
|
1828
|
+
"fieldName": "autoplay"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"name": "aria-label",
|
|
1832
|
+
"type": {
|
|
1833
|
+
"text": "string | null"
|
|
1834
|
+
},
|
|
1835
|
+
"default": "null",
|
|
1836
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
1837
|
+
"fieldName": "ariaLabel"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "aria-labelledby",
|
|
1841
|
+
"type": {
|
|
1842
|
+
"text": "string | null"
|
|
1843
|
+
},
|
|
1844
|
+
"default": "null",
|
|
1845
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
1846
|
+
"fieldName": "ariaLabelledby"
|
|
1847
|
+
}
|
|
1848
|
+
],
|
|
1849
|
+
"superclass": {
|
|
1850
|
+
"name": "Component",
|
|
1851
|
+
"module": "/src/models"
|
|
1852
|
+
},
|
|
1853
|
+
"tagName": "mdc-animation",
|
|
1854
|
+
"jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
|
|
1855
|
+
"customElement": true
|
|
1856
|
+
}
|
|
1857
|
+
],
|
|
1858
|
+
"exports": [
|
|
1859
|
+
{
|
|
1860
|
+
"kind": "js",
|
|
1861
|
+
"name": "default",
|
|
1862
|
+
"declaration": {
|
|
1863
|
+
"name": "Animation",
|
|
1864
|
+
"module": "components/animation/animation.component.js"
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
]
|
|
1868
|
+
},
|
|
1657
1869
|
{
|
|
1658
1870
|
"kind": "javascript-module",
|
|
1659
1871
|
"path": "components/announcementdialog/announcementdialog.component.js",
|
|
@@ -1890,7 +2102,7 @@
|
|
|
1890
2102
|
"type": {
|
|
1891
2103
|
"text": "number"
|
|
1892
2104
|
},
|
|
1893
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
2105
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
1894
2106
|
"default": "1000",
|
|
1895
2107
|
"attribute": "z-index",
|
|
1896
2108
|
"reflects": true,
|
|
@@ -3082,218 +3294,6 @@
|
|
|
3082
3294
|
}
|
|
3083
3295
|
]
|
|
3084
3296
|
},
|
|
3085
|
-
{
|
|
3086
|
-
"kind": "javascript-module",
|
|
3087
|
-
"path": "components/animation/animation.component.js",
|
|
3088
|
-
"declarations": [
|
|
3089
|
-
{
|
|
3090
|
-
"kind": "class",
|
|
3091
|
-
"description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
|
|
3092
|
-
"name": "Animation",
|
|
3093
|
-
"members": [
|
|
3094
|
-
{
|
|
3095
|
-
"kind": "field",
|
|
3096
|
-
"name": "name",
|
|
3097
|
-
"type": {
|
|
3098
|
-
"text": "AnimationNames | undefined"
|
|
3099
|
-
},
|
|
3100
|
-
"description": "Name of the animation (= filename)",
|
|
3101
|
-
"attribute": "name",
|
|
3102
|
-
"reflects": true
|
|
3103
|
-
},
|
|
3104
|
-
{
|
|
3105
|
-
"kind": "field",
|
|
3106
|
-
"name": "loop",
|
|
3107
|
-
"type": {
|
|
3108
|
-
"text": "LoopType | undefined"
|
|
3109
|
-
},
|
|
3110
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
3111
|
-
"attribute": "loop",
|
|
3112
|
-
"reflects": true
|
|
3113
|
-
},
|
|
3114
|
-
{
|
|
3115
|
-
"kind": "field",
|
|
3116
|
-
"name": "autoplay",
|
|
3117
|
-
"type": {
|
|
3118
|
-
"text": "boolean | undefined"
|
|
3119
|
-
},
|
|
3120
|
-
"description": "Weather start the animation automatically",
|
|
3121
|
-
"attribute": "autoplay",
|
|
3122
|
-
"reflects": true
|
|
3123
|
-
},
|
|
3124
|
-
{
|
|
3125
|
-
"kind": "field",
|
|
3126
|
-
"name": "ariaLabel",
|
|
3127
|
-
"type": {
|
|
3128
|
-
"text": "string | null"
|
|
3129
|
-
},
|
|
3130
|
-
"default": "null",
|
|
3131
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
3132
|
-
"attribute": "aria-label"
|
|
3133
|
-
},
|
|
3134
|
-
{
|
|
3135
|
-
"kind": "field",
|
|
3136
|
-
"name": "ariaLabelledby",
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "string | null"
|
|
3139
|
-
},
|
|
3140
|
-
"default": "null",
|
|
3141
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
3142
|
-
"attribute": "aria-labelledby"
|
|
3143
|
-
},
|
|
3144
|
-
{
|
|
3145
|
-
"kind": "field",
|
|
3146
|
-
"name": "lottieInstance",
|
|
3147
|
-
"type": {
|
|
3148
|
-
"text": "AnimationItem | undefined"
|
|
3149
|
-
},
|
|
3150
|
-
"privacy": "private",
|
|
3151
|
-
"description": "Lottie animation instance"
|
|
3152
|
-
},
|
|
3153
|
-
{
|
|
3154
|
-
"kind": "field",
|
|
3155
|
-
"name": "containerRef",
|
|
3156
|
-
"type": {
|
|
3157
|
-
"text": "Ref<HTMLDivElement>"
|
|
3158
|
-
},
|
|
3159
|
-
"privacy": "private",
|
|
3160
|
-
"description": "Container for the animation"
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"kind": "field",
|
|
3164
|
-
"name": "animation",
|
|
3165
|
-
"description": "Exposed API of the animation library (lottie)",
|
|
3166
|
-
"readonly": true
|
|
3167
|
-
},
|
|
3168
|
-
{
|
|
3169
|
-
"kind": "method",
|
|
3170
|
-
"name": "getLoopValue",
|
|
3171
|
-
"privacy": "private"
|
|
3172
|
-
},
|
|
3173
|
-
{
|
|
3174
|
-
"kind": "method",
|
|
3175
|
-
"name": "onLoadSuccessHandler",
|
|
3176
|
-
"privacy": "private",
|
|
3177
|
-
"parameters": [
|
|
3178
|
-
{
|
|
3179
|
-
"name": "animationData",
|
|
3180
|
-
"type": {
|
|
3181
|
-
"text": "any"
|
|
3182
|
-
}
|
|
3183
|
-
}
|
|
3184
|
-
],
|
|
3185
|
-
"description": "Create new lotty instance for the loaded data"
|
|
3186
|
-
},
|
|
3187
|
-
{
|
|
3188
|
-
"kind": "method",
|
|
3189
|
-
"name": "onLoadFailHandler",
|
|
3190
|
-
"privacy": "private",
|
|
3191
|
-
"parameters": [
|
|
3192
|
-
{
|
|
3193
|
-
"name": "error",
|
|
3194
|
-
"type": {
|
|
3195
|
-
"text": "Error"
|
|
3196
|
-
}
|
|
3197
|
-
}
|
|
3198
|
-
],
|
|
3199
|
-
"description": "Error handler for animation loading"
|
|
3200
|
-
},
|
|
3201
|
-
{
|
|
3202
|
-
"kind": "method",
|
|
3203
|
-
"name": "getAnimationData",
|
|
3204
|
-
"privacy": "private",
|
|
3205
|
-
"description": "Import animation data dynamically"
|
|
3206
|
-
},
|
|
3207
|
-
{
|
|
3208
|
-
"kind": "field",
|
|
3209
|
-
"name": "onCompleteHandler",
|
|
3210
|
-
"description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
|
|
3211
|
-
}
|
|
3212
|
-
],
|
|
3213
|
-
"events": [
|
|
3214
|
-
{
|
|
3215
|
-
"name": "load",
|
|
3216
|
-
"type": {
|
|
3217
|
-
"text": "CustomEvent"
|
|
3218
|
-
},
|
|
3219
|
-
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
|
3220
|
-
"reactName": "onLoad"
|
|
3221
|
-
},
|
|
3222
|
-
{
|
|
3223
|
-
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
|
3224
|
-
"name": "complete",
|
|
3225
|
-
"reactName": "onComplete"
|
|
3226
|
-
},
|
|
3227
|
-
{
|
|
3228
|
-
"description": "(React: onError) This event is dispatched when animation loading failed",
|
|
3229
|
-
"name": "error",
|
|
3230
|
-
"reactName": "onError"
|
|
3231
|
-
}
|
|
3232
|
-
],
|
|
3233
|
-
"attributes": [
|
|
3234
|
-
{
|
|
3235
|
-
"name": "name",
|
|
3236
|
-
"type": {
|
|
3237
|
-
"text": "AnimationNames | undefined"
|
|
3238
|
-
},
|
|
3239
|
-
"description": "Name of the animation (= filename)",
|
|
3240
|
-
"fieldName": "name"
|
|
3241
|
-
},
|
|
3242
|
-
{
|
|
3243
|
-
"name": "loop",
|
|
3244
|
-
"type": {
|
|
3245
|
-
"text": "LoopType | undefined"
|
|
3246
|
-
},
|
|
3247
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
3248
|
-
"fieldName": "loop"
|
|
3249
|
-
},
|
|
3250
|
-
{
|
|
3251
|
-
"name": "autoplay",
|
|
3252
|
-
"type": {
|
|
3253
|
-
"text": "boolean | undefined"
|
|
3254
|
-
},
|
|
3255
|
-
"description": "Weather start the animation automatically",
|
|
3256
|
-
"fieldName": "autoplay"
|
|
3257
|
-
},
|
|
3258
|
-
{
|
|
3259
|
-
"name": "aria-label",
|
|
3260
|
-
"type": {
|
|
3261
|
-
"text": "string | null"
|
|
3262
|
-
},
|
|
3263
|
-
"default": "null",
|
|
3264
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
3265
|
-
"fieldName": "ariaLabel"
|
|
3266
|
-
},
|
|
3267
|
-
{
|
|
3268
|
-
"name": "aria-labelledby",
|
|
3269
|
-
"type": {
|
|
3270
|
-
"text": "string | null"
|
|
3271
|
-
},
|
|
3272
|
-
"default": "null",
|
|
3273
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
3274
|
-
"fieldName": "ariaLabelledby"
|
|
3275
|
-
}
|
|
3276
|
-
],
|
|
3277
|
-
"superclass": {
|
|
3278
|
-
"name": "Component",
|
|
3279
|
-
"module": "/src/models"
|
|
3280
|
-
},
|
|
3281
|
-
"tagName": "mdc-animation",
|
|
3282
|
-
"jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
|
|
3283
|
-
"customElement": true
|
|
3284
|
-
}
|
|
3285
|
-
],
|
|
3286
|
-
"exports": [
|
|
3287
|
-
{
|
|
3288
|
-
"kind": "js",
|
|
3289
|
-
"name": "default",
|
|
3290
|
-
"declaration": {
|
|
3291
|
-
"name": "Animation",
|
|
3292
|
-
"module": "components/animation/animation.component.js"
|
|
3293
|
-
}
|
|
3294
|
-
}
|
|
3295
|
-
]
|
|
3296
|
-
},
|
|
3297
3297
|
{
|
|
3298
3298
|
"kind": "javascript-module",
|
|
3299
3299
|
"path": "components/avatar/avatar.component.js",
|
|
@@ -7298,48 +7298,16 @@
|
|
|
7298
7298
|
},
|
|
7299
7299
|
{
|
|
7300
7300
|
"kind": "javascript-module",
|
|
7301
|
-
"path": "components/
|
|
7301
|
+
"path": "components/card/card.component.js",
|
|
7302
7302
|
"declarations": [
|
|
7303
7303
|
{
|
|
7304
7304
|
"kind": "class",
|
|
7305
|
-
"description": "
|
|
7306
|
-
"name": "
|
|
7305
|
+
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
7306
|
+
"name": "Card",
|
|
7307
7307
|
"cssProperties": [
|
|
7308
7308
|
{
|
|
7309
7309
|
"description": "The width of the card",
|
|
7310
7310
|
"name": "--mdc-card-width"
|
|
7311
|
-
},
|
|
7312
|
-
{
|
|
7313
|
-
"description": "Height for button size",
|
|
7314
|
-
"name": "--mdc-button-height",
|
|
7315
|
-
"inheritedFrom": {
|
|
7316
|
-
"name": "Buttonsimple",
|
|
7317
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7318
|
-
}
|
|
7319
|
-
},
|
|
7320
|
-
{
|
|
7321
|
-
"description": "Background color of the button",
|
|
7322
|
-
"name": "--mdc-button-background",
|
|
7323
|
-
"inheritedFrom": {
|
|
7324
|
-
"name": "Buttonsimple",
|
|
7325
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7326
|
-
}
|
|
7327
|
-
},
|
|
7328
|
-
{
|
|
7329
|
-
"description": "Borer color of the button",
|
|
7330
|
-
"name": "--mdc-button-border-color",
|
|
7331
|
-
"inheritedFrom": {
|
|
7332
|
-
"name": "Buttonsimple",
|
|
7333
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7334
|
-
}
|
|
7335
|
-
},
|
|
7336
|
-
{
|
|
7337
|
-
"description": "Text color of the button",
|
|
7338
|
-
"name": "--mdc-button-text-color",
|
|
7339
|
-
"inheritedFrom": {
|
|
7340
|
-
"name": "Buttonsimple",
|
|
7341
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7342
|
-
}
|
|
7343
7311
|
}
|
|
7344
7312
|
],
|
|
7345
7313
|
"cssParts": [
|
|
@@ -7404,6 +7372,14 @@
|
|
|
7404
7372
|
{
|
|
7405
7373
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7406
7374
|
"name": "footer-button-primary"
|
|
7375
|
+
},
|
|
7376
|
+
{
|
|
7377
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7378
|
+
"name": "footer-button-secondary"
|
|
7379
|
+
},
|
|
7380
|
+
{
|
|
7381
|
+
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
|
|
7382
|
+
"name": "footer"
|
|
7407
7383
|
}
|
|
7408
7384
|
],
|
|
7409
7385
|
"members": [
|
|
@@ -7597,351 +7573,19 @@
|
|
|
7597
7573
|
"module": "utils/mixins/CardComponentMixin.js"
|
|
7598
7574
|
}
|
|
7599
7575
|
},
|
|
7600
|
-
{
|
|
7601
|
-
"kind": "field",
|
|
7602
|
-
"name": "autoFocusOnMount",
|
|
7603
|
-
"type": {
|
|
7604
|
-
"text": "boolean"
|
|
7605
|
-
},
|
|
7606
|
-
"default": "false",
|
|
7607
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
7608
|
-
"attribute": "auto-focus-on-mount",
|
|
7609
|
-
"reflects": true,
|
|
7610
|
-
"inheritedFrom": {
|
|
7611
|
-
"name": "Buttonsimple",
|
|
7612
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7613
|
-
}
|
|
7614
|
-
},
|
|
7615
|
-
{
|
|
7616
|
-
"kind": "field",
|
|
7617
|
-
"name": "tabIndex",
|
|
7618
|
-
"type": {
|
|
7619
|
-
"text": "number"
|
|
7620
|
-
},
|
|
7621
|
-
"default": "0",
|
|
7622
|
-
"description": "This property specifies the tab order of the element.",
|
|
7623
|
-
"attribute": "tabIndex",
|
|
7624
|
-
"reflects": true,
|
|
7625
|
-
"inheritedFrom": {
|
|
7626
|
-
"name": "Buttonsimple",
|
|
7627
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7628
|
-
}
|
|
7629
|
-
},
|
|
7630
|
-
{
|
|
7631
|
-
"kind": "field",
|
|
7632
|
-
"name": "disabled",
|
|
7633
|
-
"type": {
|
|
7634
|
-
"text": "boolean | undefined"
|
|
7635
|
-
},
|
|
7636
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7637
|
-
"default": "undefined",
|
|
7638
|
-
"attribute": "disabled",
|
|
7639
|
-
"reflects": true,
|
|
7640
|
-
"inheritedFrom": {
|
|
7641
|
-
"name": "Buttonsimple",
|
|
7642
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7643
|
-
}
|
|
7644
|
-
},
|
|
7645
|
-
{
|
|
7646
|
-
"kind": "field",
|
|
7647
|
-
"name": "active",
|
|
7648
|
-
"type": {
|
|
7649
|
-
"text": "boolean | undefined"
|
|
7650
|
-
},
|
|
7651
|
-
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
|
7652
|
-
"default": "undefined",
|
|
7653
|
-
"attribute": "active",
|
|
7654
|
-
"reflects": true,
|
|
7655
|
-
"inheritedFrom": {
|
|
7656
|
-
"name": "Buttonsimple",
|
|
7657
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7658
|
-
}
|
|
7659
|
-
},
|
|
7660
|
-
{
|
|
7661
|
-
"kind": "field",
|
|
7662
|
-
"name": "softDisabled",
|
|
7663
|
-
"type": {
|
|
7664
|
-
"text": "boolean | undefined"
|
|
7665
|
-
},
|
|
7666
|
-
"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.",
|
|
7667
|
-
"default": "undefined",
|
|
7668
|
-
"attribute": "soft-disabled",
|
|
7669
|
-
"reflects": true,
|
|
7670
|
-
"inheritedFrom": {
|
|
7671
|
-
"name": "Buttonsimple",
|
|
7672
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7673
|
-
}
|
|
7674
|
-
},
|
|
7675
|
-
{
|
|
7676
|
-
"kind": "field",
|
|
7677
|
-
"name": "size",
|
|
7678
|
-
"type": {
|
|
7679
|
-
"text": "ButtonSize"
|
|
7680
|
-
},
|
|
7681
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
7682
|
-
"default": "32",
|
|
7683
|
-
"attribute": "size",
|
|
7684
|
-
"reflects": true,
|
|
7685
|
-
"inheritedFrom": {
|
|
7686
|
-
"name": "Buttonsimple",
|
|
7687
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7688
|
-
}
|
|
7689
|
-
},
|
|
7690
|
-
{
|
|
7691
|
-
"kind": "field",
|
|
7692
|
-
"name": "role",
|
|
7693
|
-
"type": {
|
|
7694
|
-
"text": "RoleType"
|
|
7695
|
-
},
|
|
7696
|
-
"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.",
|
|
7697
|
-
"default": "button",
|
|
7698
|
-
"attribute": "role",
|
|
7699
|
-
"reflects": true,
|
|
7700
|
-
"inheritedFrom": {
|
|
7701
|
-
"name": "Buttonsimple",
|
|
7702
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7703
|
-
}
|
|
7704
|
-
},
|
|
7705
|
-
{
|
|
7706
|
-
"kind": "field",
|
|
7707
|
-
"name": "ariaStateKey",
|
|
7708
|
-
"type": {
|
|
7709
|
-
"text": "string | undefined"
|
|
7710
|
-
},
|
|
7711
|
-
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
|
7712
|
-
"default": "'aria-pressed' (when)",
|
|
7713
|
-
"attribute": "ariaStateKey",
|
|
7714
|
-
"reflects": true,
|
|
7715
|
-
"inheritedFrom": {
|
|
7716
|
-
"name": "Buttonsimple",
|
|
7717
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7718
|
-
}
|
|
7719
|
-
},
|
|
7720
|
-
{
|
|
7721
|
-
"kind": "field",
|
|
7722
|
-
"name": "type",
|
|
7723
|
-
"type": {
|
|
7724
|
-
"text": "ButtonType"
|
|
7725
|
-
},
|
|
7726
|
-
"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.",
|
|
7727
|
-
"default": "button",
|
|
7728
|
-
"attribute": "type",
|
|
7729
|
-
"reflects": true,
|
|
7730
|
-
"inheritedFrom": {
|
|
7731
|
-
"name": "Buttonsimple",
|
|
7732
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7733
|
-
}
|
|
7734
|
-
},
|
|
7735
|
-
{
|
|
7736
|
-
"kind": "field",
|
|
7737
|
-
"name": "name",
|
|
7738
|
-
"type": {
|
|
7739
|
-
"text": "string | undefined"
|
|
7740
|
-
},
|
|
7741
|
-
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
7742
|
-
"attribute": "name",
|
|
7743
|
-
"reflects": true,
|
|
7744
|
-
"inheritedFrom": {
|
|
7745
|
-
"name": "Buttonsimple",
|
|
7746
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7747
|
-
}
|
|
7748
|
-
},
|
|
7749
|
-
{
|
|
7750
|
-
"kind": "field",
|
|
7751
|
-
"name": "value",
|
|
7752
|
-
"type": {
|
|
7753
|
-
"text": "string | undefined"
|
|
7754
|
-
},
|
|
7755
|
-
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
7756
|
-
"attribute": "value",
|
|
7757
|
-
"reflects": true,
|
|
7758
|
-
"inheritedFrom": {
|
|
7759
|
-
"name": "Buttonsimple",
|
|
7760
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7761
|
-
}
|
|
7762
|
-
},
|
|
7763
7576
|
{
|
|
7764
7577
|
"kind": "method",
|
|
7765
|
-
"name": "
|
|
7766
|
-
"privacy": "protected",
|
|
7767
|
-
"inheritedFrom": {
|
|
7768
|
-
"name": "Buttonsimple",
|
|
7769
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7770
|
-
}
|
|
7771
|
-
},
|
|
7772
|
-
{
|
|
7773
|
-
"kind": "method",
|
|
7774
|
-
"name": "setActive",
|
|
7578
|
+
"name": "renderFooter",
|
|
7775
7579
|
"privacy": "protected",
|
|
7776
|
-
"
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
"
|
|
7780
|
-
"text": "HTMLElement"
|
|
7781
|
-
},
|
|
7782
|
-
"description": "The button element"
|
|
7783
|
-
},
|
|
7784
|
-
{
|
|
7785
|
-
"name": "active",
|
|
7786
|
-
"optional": true,
|
|
7787
|
-
"type": {
|
|
7788
|
-
"text": "boolean"
|
|
7789
|
-
},
|
|
7790
|
-
"description": "The active state of the element"
|
|
7791
|
-
}
|
|
7792
|
-
],
|
|
7793
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
7794
|
-
"inheritedFrom": {
|
|
7795
|
-
"name": "Buttonsimple",
|
|
7796
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7797
|
-
}
|
|
7798
|
-
},
|
|
7799
|
-
{
|
|
7800
|
-
"kind": "method",
|
|
7801
|
-
"name": "setSoftDisabled",
|
|
7802
|
-
"privacy": "private",
|
|
7803
|
-
"parameters": [
|
|
7804
|
-
{
|
|
7805
|
-
"name": "element",
|
|
7806
|
-
"type": {
|
|
7807
|
-
"text": "HTMLElement"
|
|
7808
|
-
},
|
|
7809
|
-
"description": "The button element."
|
|
7810
|
-
},
|
|
7811
|
-
{
|
|
7812
|
-
"name": "softDisabled",
|
|
7813
|
-
"optional": true,
|
|
7814
|
-
"type": {
|
|
7815
|
-
"text": "boolean"
|
|
7816
|
-
},
|
|
7817
|
-
"description": "The soft-disabled state."
|
|
7818
|
-
}
|
|
7819
|
-
],
|
|
7820
|
-
"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.",
|
|
7821
|
-
"inheritedFrom": {
|
|
7822
|
-
"name": "Buttonsimple",
|
|
7823
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7824
|
-
}
|
|
7825
|
-
},
|
|
7826
|
-
{
|
|
7827
|
-
"kind": "method",
|
|
7828
|
-
"name": "setDisabled",
|
|
7829
|
-
"privacy": "private",
|
|
7830
|
-
"parameters": [
|
|
7831
|
-
{
|
|
7832
|
-
"name": "element",
|
|
7833
|
-
"type": {
|
|
7834
|
-
"text": "HTMLElement"
|
|
7835
|
-
},
|
|
7836
|
-
"description": "The button element."
|
|
7837
|
-
},
|
|
7838
|
-
{
|
|
7839
|
-
"name": "disabled",
|
|
7840
|
-
"type": {
|
|
7841
|
-
"text": "boolean"
|
|
7842
|
-
},
|
|
7843
|
-
"description": "The disabled state."
|
|
7844
|
-
}
|
|
7845
|
-
],
|
|
7846
|
-
"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.",
|
|
7847
|
-
"inheritedFrom": {
|
|
7848
|
-
"name": "Buttonsimple",
|
|
7849
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7850
|
-
}
|
|
7851
|
-
},
|
|
7852
|
-
{
|
|
7853
|
-
"kind": "method",
|
|
7854
|
-
"name": "triggerClickEvent",
|
|
7855
|
-
"privacy": "private",
|
|
7856
|
-
"inheritedFrom": {
|
|
7857
|
-
"name": "Buttonsimple",
|
|
7858
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7859
|
-
}
|
|
7860
|
-
},
|
|
7861
|
-
{
|
|
7862
|
-
"kind": "method",
|
|
7863
|
-
"name": "handleBlur",
|
|
7864
|
-
"privacy": "private",
|
|
7865
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
7866
|
-
"inheritedFrom": {
|
|
7867
|
-
"name": "Buttonsimple",
|
|
7868
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7869
|
-
}
|
|
7870
|
-
},
|
|
7871
|
-
{
|
|
7872
|
-
"kind": "method",
|
|
7873
|
-
"name": "handleKeyDown",
|
|
7874
|
-
"privacy": "private",
|
|
7875
|
-
"parameters": [
|
|
7876
|
-
{
|
|
7877
|
-
"name": "event",
|
|
7878
|
-
"type": {
|
|
7879
|
-
"text": "KeyboardEvent"
|
|
7880
|
-
},
|
|
7881
|
-
"description": "The keyboard event."
|
|
7882
|
-
}
|
|
7883
|
-
],
|
|
7884
|
-
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
|
7885
|
-
"inheritedFrom": {
|
|
7886
|
-
"name": "Buttonsimple",
|
|
7887
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7888
|
-
}
|
|
7889
|
-
},
|
|
7890
|
-
{
|
|
7891
|
-
"kind": "method",
|
|
7892
|
-
"name": "handleKeyUp",
|
|
7893
|
-
"privacy": "private",
|
|
7894
|
-
"parameters": [
|
|
7895
|
-
{
|
|
7896
|
-
"name": "event",
|
|
7897
|
-
"type": {
|
|
7898
|
-
"text": "KeyboardEvent"
|
|
7899
|
-
},
|
|
7900
|
-
"description": "The keyboard event."
|
|
7580
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
7581
|
+
"return": {
|
|
7582
|
+
"type": {
|
|
7583
|
+
"text": ""
|
|
7901
7584
|
}
|
|
7902
|
-
|
|
7903
|
-
"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.",
|
|
7904
|
-
"inheritedFrom": {
|
|
7905
|
-
"name": "Buttonsimple",
|
|
7906
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7907
|
-
}
|
|
7908
|
-
}
|
|
7909
|
-
],
|
|
7910
|
-
"events": [
|
|
7911
|
-
{
|
|
7912
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
7913
|
-
"name": "click",
|
|
7914
|
-
"reactName": "onClick",
|
|
7915
|
-
"inheritedFrom": {
|
|
7916
|
-
"name": "Buttonsimple",
|
|
7917
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7918
|
-
}
|
|
7919
|
-
},
|
|
7920
|
-
{
|
|
7921
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
|
7922
|
-
"name": "keydown",
|
|
7923
|
-
"reactName": "onKeyDown",
|
|
7924
|
-
"inheritedFrom": {
|
|
7925
|
-
"name": "Buttonsimple",
|
|
7926
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7927
|
-
}
|
|
7928
|
-
},
|
|
7929
|
-
{
|
|
7930
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
|
|
7931
|
-
"name": "keyup",
|
|
7932
|
-
"reactName": "onKeyUp",
|
|
7933
|
-
"inheritedFrom": {
|
|
7934
|
-
"name": "Buttonsimple",
|
|
7935
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7936
|
-
}
|
|
7937
|
-
},
|
|
7938
|
-
{
|
|
7939
|
-
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
7940
|
-
"name": "focus",
|
|
7941
|
-
"reactName": "onFocus",
|
|
7585
|
+
},
|
|
7942
7586
|
"inheritedFrom": {
|
|
7943
|
-
"name": "
|
|
7944
|
-
"module": "
|
|
7587
|
+
"name": "FooterMixin",
|
|
7588
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
7945
7589
|
}
|
|
7946
7590
|
}
|
|
7947
7591
|
],
|
|
@@ -7949,14 +7593,18 @@
|
|
|
7949
7593
|
{
|
|
7950
7594
|
"name": "CardComponentMixin",
|
|
7951
7595
|
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7596
|
+
},
|
|
7597
|
+
{
|
|
7598
|
+
"name": "FooterMixin",
|
|
7599
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
7952
7600
|
}
|
|
7953
7601
|
],
|
|
7954
7602
|
"superclass": {
|
|
7955
|
-
"name": "
|
|
7956
|
-
"module": "/src/
|
|
7603
|
+
"name": "Component",
|
|
7604
|
+
"module": "/src/models"
|
|
7957
7605
|
},
|
|
7958
|
-
"tagName": "mdc-
|
|
7959
|
-
"jsDoc": "/**\n *
|
|
7606
|
+
"tagName": "mdc-card",
|
|
7607
|
+
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
7960
7608
|
"customElement": true,
|
|
7961
7609
|
"attributes": [
|
|
7962
7610
|
{
|
|
@@ -8074,175 +7722,66 @@
|
|
|
8074
7722
|
"name": "CardComponentMixin",
|
|
8075
7723
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8076
7724
|
}
|
|
8077
|
-
}
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8102
|
-
}
|
|
8103
|
-
},
|
|
8104
|
-
{
|
|
8105
|
-
"name": "disabled",
|
|
8106
|
-
"type": {
|
|
8107
|
-
"text": "boolean | undefined"
|
|
8108
|
-
},
|
|
8109
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8110
|
-
"default": "undefined",
|
|
8111
|
-
"fieldName": "disabled",
|
|
8112
|
-
"inheritedFrom": {
|
|
8113
|
-
"name": "Buttonsimple",
|
|
8114
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8115
|
-
}
|
|
8116
|
-
},
|
|
8117
|
-
{
|
|
8118
|
-
"name": "active",
|
|
8119
|
-
"type": {
|
|
8120
|
-
"text": "boolean | undefined"
|
|
8121
|
-
},
|
|
8122
|
-
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
|
8123
|
-
"default": "undefined",
|
|
8124
|
-
"fieldName": "active",
|
|
8125
|
-
"inheritedFrom": {
|
|
8126
|
-
"name": "Buttonsimple",
|
|
8127
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8128
|
-
}
|
|
8129
|
-
},
|
|
8130
|
-
{
|
|
8131
|
-
"name": "soft-disabled",
|
|
8132
|
-
"type": {
|
|
8133
|
-
"text": "boolean | undefined"
|
|
8134
|
-
},
|
|
8135
|
-
"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.",
|
|
8136
|
-
"default": "undefined",
|
|
8137
|
-
"fieldName": "softDisabled",
|
|
8138
|
-
"inheritedFrom": {
|
|
8139
|
-
"name": "Buttonsimple",
|
|
8140
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8141
|
-
}
|
|
8142
|
-
},
|
|
8143
|
-
{
|
|
8144
|
-
"name": "size",
|
|
8145
|
-
"type": {
|
|
8146
|
-
"text": "ButtonSize"
|
|
8147
|
-
},
|
|
8148
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8149
|
-
"default": "32",
|
|
8150
|
-
"fieldName": "size",
|
|
8151
|
-
"inheritedFrom": {
|
|
8152
|
-
"name": "Buttonsimple",
|
|
8153
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8154
|
-
}
|
|
8155
|
-
},
|
|
7725
|
+
}
|
|
7726
|
+
]
|
|
7727
|
+
}
|
|
7728
|
+
],
|
|
7729
|
+
"exports": [
|
|
7730
|
+
{
|
|
7731
|
+
"kind": "js",
|
|
7732
|
+
"name": "default",
|
|
7733
|
+
"declaration": {
|
|
7734
|
+
"name": "Card",
|
|
7735
|
+
"module": "components/card/card.component.js"
|
|
7736
|
+
}
|
|
7737
|
+
}
|
|
7738
|
+
]
|
|
7739
|
+
},
|
|
7740
|
+
{
|
|
7741
|
+
"kind": "javascript-module",
|
|
7742
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
7743
|
+
"declarations": [
|
|
7744
|
+
{
|
|
7745
|
+
"kind": "class",
|
|
7746
|
+
"description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
|
|
7747
|
+
"name": "CardButton",
|
|
7748
|
+
"cssProperties": [
|
|
8156
7749
|
{
|
|
8157
|
-
"
|
|
8158
|
-
"
|
|
8159
|
-
"text": "RoleType"
|
|
8160
|
-
},
|
|
8161
|
-
"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.",
|
|
8162
|
-
"default": "button",
|
|
8163
|
-
"fieldName": "role",
|
|
8164
|
-
"inheritedFrom": {
|
|
8165
|
-
"name": "Buttonsimple",
|
|
8166
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8167
|
-
}
|
|
7750
|
+
"description": "The width of the card",
|
|
7751
|
+
"name": "--mdc-card-width"
|
|
8168
7752
|
},
|
|
8169
7753
|
{
|
|
8170
|
-
"
|
|
8171
|
-
"
|
|
8172
|
-
"text": "string | undefined"
|
|
8173
|
-
},
|
|
8174
|
-
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
|
8175
|
-
"default": "'aria-pressed' (when)",
|
|
8176
|
-
"fieldName": "ariaStateKey",
|
|
7754
|
+
"description": "Height for button size",
|
|
7755
|
+
"name": "--mdc-button-height",
|
|
8177
7756
|
"inheritedFrom": {
|
|
8178
7757
|
"name": "Buttonsimple",
|
|
8179
7758
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8180
7759
|
}
|
|
8181
7760
|
},
|
|
8182
7761
|
{
|
|
8183
|
-
"
|
|
8184
|
-
"
|
|
8185
|
-
"text": "ButtonType"
|
|
8186
|
-
},
|
|
8187
|
-
"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.",
|
|
8188
|
-
"default": "button",
|
|
8189
|
-
"fieldName": "type",
|
|
7762
|
+
"description": "Background color of the button",
|
|
7763
|
+
"name": "--mdc-button-background",
|
|
8190
7764
|
"inheritedFrom": {
|
|
8191
7765
|
"name": "Buttonsimple",
|
|
8192
7766
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8193
7767
|
}
|
|
8194
7768
|
},
|
|
8195
7769
|
{
|
|
8196
|
-
"
|
|
8197
|
-
"
|
|
8198
|
-
"text": "string | undefined"
|
|
8199
|
-
},
|
|
8200
|
-
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8201
|
-
"fieldName": "name",
|
|
7770
|
+
"description": "Borer color of the button",
|
|
7771
|
+
"name": "--mdc-button-border-color",
|
|
8202
7772
|
"inheritedFrom": {
|
|
8203
7773
|
"name": "Buttonsimple",
|
|
8204
7774
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8205
7775
|
}
|
|
8206
7776
|
},
|
|
8207
7777
|
{
|
|
8208
|
-
"
|
|
8209
|
-
"
|
|
8210
|
-
"text": "string | undefined"
|
|
8211
|
-
},
|
|
8212
|
-
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8213
|
-
"fieldName": "value",
|
|
7778
|
+
"description": "Text color of the button",
|
|
7779
|
+
"name": "--mdc-button-text-color",
|
|
8214
7780
|
"inheritedFrom": {
|
|
8215
7781
|
"name": "Buttonsimple",
|
|
8216
7782
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8217
7783
|
}
|
|
8218
7784
|
}
|
|
8219
|
-
]
|
|
8220
|
-
}
|
|
8221
|
-
],
|
|
8222
|
-
"exports": [
|
|
8223
|
-
{
|
|
8224
|
-
"kind": "js",
|
|
8225
|
-
"name": "default",
|
|
8226
|
-
"declaration": {
|
|
8227
|
-
"name": "CardButton",
|
|
8228
|
-
"module": "components/cardbutton/cardbutton.component.js"
|
|
8229
|
-
}
|
|
8230
|
-
}
|
|
8231
|
-
]
|
|
8232
|
-
},
|
|
8233
|
-
{
|
|
8234
|
-
"kind": "javascript-module",
|
|
8235
|
-
"path": "components/card/card.component.js",
|
|
8236
|
-
"declarations": [
|
|
8237
|
-
{
|
|
8238
|
-
"kind": "class",
|
|
8239
|
-
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
8240
|
-
"name": "Card",
|
|
8241
|
-
"cssProperties": [
|
|
8242
|
-
{
|
|
8243
|
-
"description": "The width of the card",
|
|
8244
|
-
"name": "--mdc-card-width"
|
|
8245
|
-
}
|
|
8246
7785
|
],
|
|
8247
7786
|
"cssParts": [
|
|
8248
7787
|
{
|
|
@@ -8306,14 +7845,6 @@
|
|
|
8306
7845
|
{
|
|
8307
7846
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
8308
7847
|
"name": "footer-button-primary"
|
|
8309
|
-
},
|
|
8310
|
-
{
|
|
8311
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
8312
|
-
"name": "footer-button-secondary"
|
|
8313
|
-
},
|
|
8314
|
-
{
|
|
8315
|
-
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
|
|
8316
|
-
"name": "footer"
|
|
8317
7848
|
}
|
|
8318
7849
|
],
|
|
8319
7850
|
"members": [
|
|
@@ -8507,19 +8038,351 @@
|
|
|
8507
8038
|
"module": "utils/mixins/CardComponentMixin.js"
|
|
8508
8039
|
}
|
|
8509
8040
|
},
|
|
8041
|
+
{
|
|
8042
|
+
"kind": "field",
|
|
8043
|
+
"name": "autoFocusOnMount",
|
|
8044
|
+
"type": {
|
|
8045
|
+
"text": "boolean"
|
|
8046
|
+
},
|
|
8047
|
+
"default": "false",
|
|
8048
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
8049
|
+
"attribute": "auto-focus-on-mount",
|
|
8050
|
+
"reflects": true,
|
|
8051
|
+
"inheritedFrom": {
|
|
8052
|
+
"name": "Buttonsimple",
|
|
8053
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8054
|
+
}
|
|
8055
|
+
},
|
|
8056
|
+
{
|
|
8057
|
+
"kind": "field",
|
|
8058
|
+
"name": "tabIndex",
|
|
8059
|
+
"type": {
|
|
8060
|
+
"text": "number"
|
|
8061
|
+
},
|
|
8062
|
+
"default": "0",
|
|
8063
|
+
"description": "This property specifies the tab order of the element.",
|
|
8064
|
+
"attribute": "tabIndex",
|
|
8065
|
+
"reflects": true,
|
|
8066
|
+
"inheritedFrom": {
|
|
8067
|
+
"name": "Buttonsimple",
|
|
8068
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8069
|
+
}
|
|
8070
|
+
},
|
|
8071
|
+
{
|
|
8072
|
+
"kind": "field",
|
|
8073
|
+
"name": "disabled",
|
|
8074
|
+
"type": {
|
|
8075
|
+
"text": "boolean | undefined"
|
|
8076
|
+
},
|
|
8077
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8078
|
+
"default": "undefined",
|
|
8079
|
+
"attribute": "disabled",
|
|
8080
|
+
"reflects": true,
|
|
8081
|
+
"inheritedFrom": {
|
|
8082
|
+
"name": "Buttonsimple",
|
|
8083
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8084
|
+
}
|
|
8085
|
+
},
|
|
8086
|
+
{
|
|
8087
|
+
"kind": "field",
|
|
8088
|
+
"name": "active",
|
|
8089
|
+
"type": {
|
|
8090
|
+
"text": "boolean | undefined"
|
|
8091
|
+
},
|
|
8092
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
|
8093
|
+
"default": "undefined",
|
|
8094
|
+
"attribute": "active",
|
|
8095
|
+
"reflects": true,
|
|
8096
|
+
"inheritedFrom": {
|
|
8097
|
+
"name": "Buttonsimple",
|
|
8098
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8099
|
+
}
|
|
8100
|
+
},
|
|
8101
|
+
{
|
|
8102
|
+
"kind": "field",
|
|
8103
|
+
"name": "softDisabled",
|
|
8104
|
+
"type": {
|
|
8105
|
+
"text": "boolean | undefined"
|
|
8106
|
+
},
|
|
8107
|
+
"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.",
|
|
8108
|
+
"default": "undefined",
|
|
8109
|
+
"attribute": "soft-disabled",
|
|
8110
|
+
"reflects": true,
|
|
8111
|
+
"inheritedFrom": {
|
|
8112
|
+
"name": "Buttonsimple",
|
|
8113
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8114
|
+
}
|
|
8115
|
+
},
|
|
8116
|
+
{
|
|
8117
|
+
"kind": "field",
|
|
8118
|
+
"name": "size",
|
|
8119
|
+
"type": {
|
|
8120
|
+
"text": "ButtonSize"
|
|
8121
|
+
},
|
|
8122
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8123
|
+
"default": "32",
|
|
8124
|
+
"attribute": "size",
|
|
8125
|
+
"reflects": true,
|
|
8126
|
+
"inheritedFrom": {
|
|
8127
|
+
"name": "Buttonsimple",
|
|
8128
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8129
|
+
}
|
|
8130
|
+
},
|
|
8131
|
+
{
|
|
8132
|
+
"kind": "field",
|
|
8133
|
+
"name": "role",
|
|
8134
|
+
"type": {
|
|
8135
|
+
"text": "RoleType"
|
|
8136
|
+
},
|
|
8137
|
+
"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.",
|
|
8138
|
+
"default": "button",
|
|
8139
|
+
"attribute": "role",
|
|
8140
|
+
"reflects": true,
|
|
8141
|
+
"inheritedFrom": {
|
|
8142
|
+
"name": "Buttonsimple",
|
|
8143
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8144
|
+
}
|
|
8145
|
+
},
|
|
8146
|
+
{
|
|
8147
|
+
"kind": "field",
|
|
8148
|
+
"name": "ariaStateKey",
|
|
8149
|
+
"type": {
|
|
8150
|
+
"text": "string | undefined"
|
|
8151
|
+
},
|
|
8152
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
|
8153
|
+
"default": "'aria-pressed' (when)",
|
|
8154
|
+
"attribute": "ariaStateKey",
|
|
8155
|
+
"reflects": true,
|
|
8156
|
+
"inheritedFrom": {
|
|
8157
|
+
"name": "Buttonsimple",
|
|
8158
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8159
|
+
}
|
|
8160
|
+
},
|
|
8161
|
+
{
|
|
8162
|
+
"kind": "field",
|
|
8163
|
+
"name": "type",
|
|
8164
|
+
"type": {
|
|
8165
|
+
"text": "ButtonType"
|
|
8166
|
+
},
|
|
8167
|
+
"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.",
|
|
8168
|
+
"default": "button",
|
|
8169
|
+
"attribute": "type",
|
|
8170
|
+
"reflects": true,
|
|
8171
|
+
"inheritedFrom": {
|
|
8172
|
+
"name": "Buttonsimple",
|
|
8173
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8174
|
+
}
|
|
8175
|
+
},
|
|
8176
|
+
{
|
|
8177
|
+
"kind": "field",
|
|
8178
|
+
"name": "name",
|
|
8179
|
+
"type": {
|
|
8180
|
+
"text": "string | undefined"
|
|
8181
|
+
},
|
|
8182
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8183
|
+
"attribute": "name",
|
|
8184
|
+
"reflects": true,
|
|
8185
|
+
"inheritedFrom": {
|
|
8186
|
+
"name": "Buttonsimple",
|
|
8187
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8188
|
+
}
|
|
8189
|
+
},
|
|
8190
|
+
{
|
|
8191
|
+
"kind": "field",
|
|
8192
|
+
"name": "value",
|
|
8193
|
+
"type": {
|
|
8194
|
+
"text": "string | undefined"
|
|
8195
|
+
},
|
|
8196
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8197
|
+
"attribute": "value",
|
|
8198
|
+
"reflects": true,
|
|
8199
|
+
"inheritedFrom": {
|
|
8200
|
+
"name": "Buttonsimple",
|
|
8201
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8202
|
+
}
|
|
8203
|
+
},
|
|
8510
8204
|
{
|
|
8511
8205
|
"kind": "method",
|
|
8512
|
-
"name": "
|
|
8206
|
+
"name": "executeAction",
|
|
8513
8207
|
"privacy": "protected",
|
|
8514
|
-
"
|
|
8515
|
-
|
|
8516
|
-
"
|
|
8517
|
-
|
|
8208
|
+
"inheritedFrom": {
|
|
8209
|
+
"name": "Buttonsimple",
|
|
8210
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8211
|
+
}
|
|
8212
|
+
},
|
|
8213
|
+
{
|
|
8214
|
+
"kind": "method",
|
|
8215
|
+
"name": "setActive",
|
|
8216
|
+
"privacy": "protected",
|
|
8217
|
+
"parameters": [
|
|
8218
|
+
{
|
|
8219
|
+
"name": "element",
|
|
8220
|
+
"type": {
|
|
8221
|
+
"text": "HTMLElement"
|
|
8222
|
+
},
|
|
8223
|
+
"description": "The button element"
|
|
8224
|
+
},
|
|
8225
|
+
{
|
|
8226
|
+
"name": "active",
|
|
8227
|
+
"optional": true,
|
|
8228
|
+
"type": {
|
|
8229
|
+
"text": "boolean"
|
|
8230
|
+
},
|
|
8231
|
+
"description": "The active state of the element"
|
|
8518
8232
|
}
|
|
8519
|
-
|
|
8233
|
+
],
|
|
8234
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
8520
8235
|
"inheritedFrom": {
|
|
8521
|
-
"name": "
|
|
8522
|
-
"module": "
|
|
8236
|
+
"name": "Buttonsimple",
|
|
8237
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8238
|
+
}
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"kind": "method",
|
|
8242
|
+
"name": "setSoftDisabled",
|
|
8243
|
+
"privacy": "private",
|
|
8244
|
+
"parameters": [
|
|
8245
|
+
{
|
|
8246
|
+
"name": "element",
|
|
8247
|
+
"type": {
|
|
8248
|
+
"text": "HTMLElement"
|
|
8249
|
+
},
|
|
8250
|
+
"description": "The button element."
|
|
8251
|
+
},
|
|
8252
|
+
{
|
|
8253
|
+
"name": "softDisabled",
|
|
8254
|
+
"optional": true,
|
|
8255
|
+
"type": {
|
|
8256
|
+
"text": "boolean"
|
|
8257
|
+
},
|
|
8258
|
+
"description": "The soft-disabled state."
|
|
8259
|
+
}
|
|
8260
|
+
],
|
|
8261
|
+
"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.",
|
|
8262
|
+
"inheritedFrom": {
|
|
8263
|
+
"name": "Buttonsimple",
|
|
8264
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8265
|
+
}
|
|
8266
|
+
},
|
|
8267
|
+
{
|
|
8268
|
+
"kind": "method",
|
|
8269
|
+
"name": "setDisabled",
|
|
8270
|
+
"privacy": "private",
|
|
8271
|
+
"parameters": [
|
|
8272
|
+
{
|
|
8273
|
+
"name": "element",
|
|
8274
|
+
"type": {
|
|
8275
|
+
"text": "HTMLElement"
|
|
8276
|
+
},
|
|
8277
|
+
"description": "The button element."
|
|
8278
|
+
},
|
|
8279
|
+
{
|
|
8280
|
+
"name": "disabled",
|
|
8281
|
+
"type": {
|
|
8282
|
+
"text": "boolean"
|
|
8283
|
+
},
|
|
8284
|
+
"description": "The disabled state."
|
|
8285
|
+
}
|
|
8286
|
+
],
|
|
8287
|
+
"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.",
|
|
8288
|
+
"inheritedFrom": {
|
|
8289
|
+
"name": "Buttonsimple",
|
|
8290
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8291
|
+
}
|
|
8292
|
+
},
|
|
8293
|
+
{
|
|
8294
|
+
"kind": "method",
|
|
8295
|
+
"name": "triggerClickEvent",
|
|
8296
|
+
"privacy": "private",
|
|
8297
|
+
"inheritedFrom": {
|
|
8298
|
+
"name": "Buttonsimple",
|
|
8299
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8300
|
+
}
|
|
8301
|
+
},
|
|
8302
|
+
{
|
|
8303
|
+
"kind": "method",
|
|
8304
|
+
"name": "handleBlur",
|
|
8305
|
+
"privacy": "private",
|
|
8306
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
8307
|
+
"inheritedFrom": {
|
|
8308
|
+
"name": "Buttonsimple",
|
|
8309
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8310
|
+
}
|
|
8311
|
+
},
|
|
8312
|
+
{
|
|
8313
|
+
"kind": "method",
|
|
8314
|
+
"name": "handleKeyDown",
|
|
8315
|
+
"privacy": "private",
|
|
8316
|
+
"parameters": [
|
|
8317
|
+
{
|
|
8318
|
+
"name": "event",
|
|
8319
|
+
"type": {
|
|
8320
|
+
"text": "KeyboardEvent"
|
|
8321
|
+
},
|
|
8322
|
+
"description": "The keyboard event."
|
|
8323
|
+
}
|
|
8324
|
+
],
|
|
8325
|
+
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
|
8326
|
+
"inheritedFrom": {
|
|
8327
|
+
"name": "Buttonsimple",
|
|
8328
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8329
|
+
}
|
|
8330
|
+
},
|
|
8331
|
+
{
|
|
8332
|
+
"kind": "method",
|
|
8333
|
+
"name": "handleKeyUp",
|
|
8334
|
+
"privacy": "private",
|
|
8335
|
+
"parameters": [
|
|
8336
|
+
{
|
|
8337
|
+
"name": "event",
|
|
8338
|
+
"type": {
|
|
8339
|
+
"text": "KeyboardEvent"
|
|
8340
|
+
},
|
|
8341
|
+
"description": "The keyboard event."
|
|
8342
|
+
}
|
|
8343
|
+
],
|
|
8344
|
+
"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.",
|
|
8345
|
+
"inheritedFrom": {
|
|
8346
|
+
"name": "Buttonsimple",
|
|
8347
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8348
|
+
}
|
|
8349
|
+
}
|
|
8350
|
+
],
|
|
8351
|
+
"events": [
|
|
8352
|
+
{
|
|
8353
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
8354
|
+
"name": "click",
|
|
8355
|
+
"reactName": "onClick",
|
|
8356
|
+
"inheritedFrom": {
|
|
8357
|
+
"name": "Buttonsimple",
|
|
8358
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8359
|
+
}
|
|
8360
|
+
},
|
|
8361
|
+
{
|
|
8362
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
|
8363
|
+
"name": "keydown",
|
|
8364
|
+
"reactName": "onKeyDown",
|
|
8365
|
+
"inheritedFrom": {
|
|
8366
|
+
"name": "Buttonsimple",
|
|
8367
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8368
|
+
}
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
|
|
8372
|
+
"name": "keyup",
|
|
8373
|
+
"reactName": "onKeyUp",
|
|
8374
|
+
"inheritedFrom": {
|
|
8375
|
+
"name": "Buttonsimple",
|
|
8376
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8377
|
+
}
|
|
8378
|
+
},
|
|
8379
|
+
{
|
|
8380
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8381
|
+
"name": "focus",
|
|
8382
|
+
"reactName": "onFocus",
|
|
8383
|
+
"inheritedFrom": {
|
|
8384
|
+
"name": "Buttonsimple",
|
|
8385
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8523
8386
|
}
|
|
8524
8387
|
}
|
|
8525
8388
|
],
|
|
@@ -8527,18 +8390,14 @@
|
|
|
8527
8390
|
{
|
|
8528
8391
|
"name": "CardComponentMixin",
|
|
8529
8392
|
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8530
|
-
},
|
|
8531
|
-
{
|
|
8532
|
-
"name": "FooterMixin",
|
|
8533
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
8534
8393
|
}
|
|
8535
8394
|
],
|
|
8536
8395
|
"superclass": {
|
|
8537
|
-
"name": "
|
|
8538
|
-
"module": "/src/
|
|
8396
|
+
"name": "Buttonsimple",
|
|
8397
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
8539
8398
|
},
|
|
8540
|
-
"tagName": "mdc-
|
|
8541
|
-
"jsDoc": "/**\n *
|
|
8399
|
+
"tagName": "mdc-cardbutton",
|
|
8400
|
+
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
|
|
8542
8401
|
"customElement": true,
|
|
8543
8402
|
"attributes": [
|
|
8544
8403
|
{
|
|
@@ -8656,6 +8515,147 @@
|
|
|
8656
8515
|
"name": "CardComponentMixin",
|
|
8657
8516
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8658
8517
|
}
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
"name": "auto-focus-on-mount",
|
|
8521
|
+
"type": {
|
|
8522
|
+
"text": "boolean"
|
|
8523
|
+
},
|
|
8524
|
+
"default": "false",
|
|
8525
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
8526
|
+
"fieldName": "autoFocusOnMount",
|
|
8527
|
+
"inheritedFrom": {
|
|
8528
|
+
"name": "Buttonsimple",
|
|
8529
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8530
|
+
}
|
|
8531
|
+
},
|
|
8532
|
+
{
|
|
8533
|
+
"name": "tabIndex",
|
|
8534
|
+
"type": {
|
|
8535
|
+
"text": "number"
|
|
8536
|
+
},
|
|
8537
|
+
"default": "0",
|
|
8538
|
+
"description": "This property specifies the tab order of the element.",
|
|
8539
|
+
"fieldName": "tabIndex",
|
|
8540
|
+
"inheritedFrom": {
|
|
8541
|
+
"name": "Buttonsimple",
|
|
8542
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8543
|
+
}
|
|
8544
|
+
},
|
|
8545
|
+
{
|
|
8546
|
+
"name": "disabled",
|
|
8547
|
+
"type": {
|
|
8548
|
+
"text": "boolean | undefined"
|
|
8549
|
+
},
|
|
8550
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8551
|
+
"default": "undefined",
|
|
8552
|
+
"fieldName": "disabled",
|
|
8553
|
+
"inheritedFrom": {
|
|
8554
|
+
"name": "Buttonsimple",
|
|
8555
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8556
|
+
}
|
|
8557
|
+
},
|
|
8558
|
+
{
|
|
8559
|
+
"name": "active",
|
|
8560
|
+
"type": {
|
|
8561
|
+
"text": "boolean | undefined"
|
|
8562
|
+
},
|
|
8563
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
|
8564
|
+
"default": "undefined",
|
|
8565
|
+
"fieldName": "active",
|
|
8566
|
+
"inheritedFrom": {
|
|
8567
|
+
"name": "Buttonsimple",
|
|
8568
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8569
|
+
}
|
|
8570
|
+
},
|
|
8571
|
+
{
|
|
8572
|
+
"name": "soft-disabled",
|
|
8573
|
+
"type": {
|
|
8574
|
+
"text": "boolean | undefined"
|
|
8575
|
+
},
|
|
8576
|
+
"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.",
|
|
8577
|
+
"default": "undefined",
|
|
8578
|
+
"fieldName": "softDisabled",
|
|
8579
|
+
"inheritedFrom": {
|
|
8580
|
+
"name": "Buttonsimple",
|
|
8581
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8582
|
+
}
|
|
8583
|
+
},
|
|
8584
|
+
{
|
|
8585
|
+
"name": "size",
|
|
8586
|
+
"type": {
|
|
8587
|
+
"text": "ButtonSize"
|
|
8588
|
+
},
|
|
8589
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8590
|
+
"default": "32",
|
|
8591
|
+
"fieldName": "size",
|
|
8592
|
+
"inheritedFrom": {
|
|
8593
|
+
"name": "Buttonsimple",
|
|
8594
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8595
|
+
}
|
|
8596
|
+
},
|
|
8597
|
+
{
|
|
8598
|
+
"name": "role",
|
|
8599
|
+
"type": {
|
|
8600
|
+
"text": "RoleType"
|
|
8601
|
+
},
|
|
8602
|
+
"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.",
|
|
8603
|
+
"default": "button",
|
|
8604
|
+
"fieldName": "role",
|
|
8605
|
+
"inheritedFrom": {
|
|
8606
|
+
"name": "Buttonsimple",
|
|
8607
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8608
|
+
}
|
|
8609
|
+
},
|
|
8610
|
+
{
|
|
8611
|
+
"name": "ariaStateKey",
|
|
8612
|
+
"type": {
|
|
8613
|
+
"text": "string | undefined"
|
|
8614
|
+
},
|
|
8615
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
|
8616
|
+
"default": "'aria-pressed' (when)",
|
|
8617
|
+
"fieldName": "ariaStateKey",
|
|
8618
|
+
"inheritedFrom": {
|
|
8619
|
+
"name": "Buttonsimple",
|
|
8620
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8621
|
+
}
|
|
8622
|
+
},
|
|
8623
|
+
{
|
|
8624
|
+
"name": "type",
|
|
8625
|
+
"type": {
|
|
8626
|
+
"text": "ButtonType"
|
|
8627
|
+
},
|
|
8628
|
+
"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.",
|
|
8629
|
+
"default": "button",
|
|
8630
|
+
"fieldName": "type",
|
|
8631
|
+
"inheritedFrom": {
|
|
8632
|
+
"name": "Buttonsimple",
|
|
8633
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8634
|
+
}
|
|
8635
|
+
},
|
|
8636
|
+
{
|
|
8637
|
+
"name": "name",
|
|
8638
|
+
"type": {
|
|
8639
|
+
"text": "string | undefined"
|
|
8640
|
+
},
|
|
8641
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8642
|
+
"fieldName": "name",
|
|
8643
|
+
"inheritedFrom": {
|
|
8644
|
+
"name": "Buttonsimple",
|
|
8645
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8646
|
+
}
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
"name": "value",
|
|
8650
|
+
"type": {
|
|
8651
|
+
"text": "string | undefined"
|
|
8652
|
+
},
|
|
8653
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8654
|
+
"fieldName": "value",
|
|
8655
|
+
"inheritedFrom": {
|
|
8656
|
+
"name": "Buttonsimple",
|
|
8657
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8658
|
+
}
|
|
8659
8659
|
}
|
|
8660
8660
|
]
|
|
8661
8661
|
}
|
|
@@ -8665,8 +8665,8 @@
|
|
|
8665
8665
|
"kind": "js",
|
|
8666
8666
|
"name": "default",
|
|
8667
8667
|
"declaration": {
|
|
8668
|
-
"name": "
|
|
8669
|
-
"module": "components/
|
|
8668
|
+
"name": "CardButton",
|
|
8669
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
8670
8670
|
}
|
|
8671
8671
|
}
|
|
8672
8672
|
]
|
|
@@ -11906,13 +11906,12 @@
|
|
|
11906
11906
|
{
|
|
11907
11907
|
"kind": "field",
|
|
11908
11908
|
"name": "zIndex",
|
|
11909
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
11910
|
+
"attribute": "z-index",
|
|
11911
|
+
"reflects": true,
|
|
11909
11912
|
"type": {
|
|
11910
11913
|
"text": "number"
|
|
11911
11914
|
},
|
|
11912
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1`.",
|
|
11913
|
-
"default": "1000",
|
|
11914
|
-
"attribute": "z-index",
|
|
11915
|
-
"reflects": true,
|
|
11916
11915
|
"inheritedFrom": {
|
|
11917
11916
|
"name": "Popover",
|
|
11918
11917
|
"module": "components/popover/popover.component.js"
|
|
@@ -13567,11 +13566,7 @@
|
|
|
13567
13566
|
},
|
|
13568
13567
|
{
|
|
13569
13568
|
"name": "z-index",
|
|
13570
|
-
"
|
|
13571
|
-
"text": "number"
|
|
13572
|
-
},
|
|
13573
|
-
"description": "The z-index of the popover.",
|
|
13574
|
-
"default": "1000",
|
|
13569
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
13575
13570
|
"fieldName": "zIndex",
|
|
13576
13571
|
"inheritedFrom": {
|
|
13577
13572
|
"name": "Popover",
|
|
@@ -27281,13 +27276,12 @@
|
|
|
27281
27276
|
{
|
|
27282
27277
|
"kind": "field",
|
|
27283
27278
|
"name": "zIndex",
|
|
27279
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
27280
|
+
"attribute": "z-index",
|
|
27281
|
+
"reflects": true,
|
|
27284
27282
|
"type": {
|
|
27285
27283
|
"text": "number"
|
|
27286
27284
|
},
|
|
27287
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1`.",
|
|
27288
|
-
"default": "1000",
|
|
27289
|
-
"attribute": "z-index",
|
|
27290
|
-
"reflects": true,
|
|
27291
27285
|
"inheritedFrom": {
|
|
27292
27286
|
"name": "Popover",
|
|
27293
27287
|
"module": "components/popover/popover.component.js"
|
|
@@ -28932,11 +28926,7 @@
|
|
|
28932
28926
|
},
|
|
28933
28927
|
{
|
|
28934
28928
|
"name": "z-index",
|
|
28935
|
-
"
|
|
28936
|
-
"text": "number"
|
|
28937
|
-
},
|
|
28938
|
-
"description": "The z-index of the popover.",
|
|
28939
|
-
"default": "1000",
|
|
28929
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
28940
28930
|
"fieldName": "zIndex",
|
|
28941
28931
|
"inheritedFrom": {
|
|
28942
28932
|
"name": "Popover",
|
|
@@ -33412,7 +33402,7 @@
|
|
|
33412
33402
|
"declarations": [
|
|
33413
33403
|
{
|
|
33414
33404
|
"kind": "class",
|
|
33415
|
-
"description": "Popover is
|
|
33405
|
+
"description": "Popover is generic overlay which can be triggered by any actionable element.\n\nIt can be used for tooltips, dropdowns, menus or any showing any other contextual content.\n\nThe popover automatically positions itself based on available space and\nsupports dynamic height adjustments with scrollable content when needed.\nIt uses [Floating UI](https://floating-ui.com/) for maintaining the position of the popover.\n\n## Limitations\n\n### On trigger for multiple popovers\n\nA component (button, etc.) can trigger more than one popover, but only one of them should change the\naria-expanded and aria-haspopup attributes on the trigger.\n\nTo prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked\nPopovers except one.\n\n### React Popover with append-to attribute\n\nReact mounts the popover based on the virtual DOM, but when the append-to attribute is set, the popover removes itself\nand mounts to the specified element. React will not know about the move and will not know about the\nnewly created mdc-popoverportal element either. This throws a `NotFoundError` error when the Popover is directly\nadded/removed by React, for example:\n\n```tsx\nconst SomeComponent = () => {\n const [isOpen, setIsOpen] = useState(false);\n return (<div>\n {isOpen && <Popover append-to=\"some-element-id\">...</mdc-popover>}\n </div>);\n}\n```\nAs a workaround Popover need to wrap with any other element/component, for example:\n```tsx\nconst SomeComponent = () => {\n const [isOpen, setIsOpen] = useState(false);\n return (<div>\n {isOpen && <div>\n <Popover append-to=\"some-element-id\">...</mdc-popover>\n <div>}\n </div>);\n}\n```\nNote the wrapper <div> around the Popover component (React.Fragment does not work).",
|
|
33416
33406
|
"name": "Popover",
|
|
33417
33407
|
"cssProperties": [
|
|
33418
33408
|
{
|
|
@@ -33778,8 +33768,7 @@
|
|
|
33778
33768
|
"type": {
|
|
33779
33769
|
"text": "number"
|
|
33780
33770
|
},
|
|
33781
|
-
"description": "The z-index of the popover.",
|
|
33782
|
-
"default": "1000",
|
|
33771
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
33783
33772
|
"attribute": "z-index",
|
|
33784
33773
|
"reflects": true,
|
|
33785
33774
|
"inheritedFrom": {
|
|
@@ -34835,11 +34824,7 @@
|
|
|
34835
34824
|
},
|
|
34836
34825
|
{
|
|
34837
34826
|
"name": "z-index",
|
|
34838
|
-
"
|
|
34839
|
-
"text": "number"
|
|
34840
|
-
},
|
|
34841
|
-
"description": "The z-index of the popover.",
|
|
34842
|
-
"default": "1000",
|
|
34827
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
34843
34828
|
"fieldName": "zIndex"
|
|
34844
34829
|
},
|
|
34845
34830
|
{
|
|
@@ -34955,7 +34940,7 @@
|
|
|
34955
34940
|
"module": "/src/models"
|
|
34956
34941
|
},
|
|
34957
34942
|
"tagName": "mdc-popover",
|
|
34958
|
-
"jsDoc": "/**\n * Popover is
|
|
34943
|
+
"jsDoc": "/**\n * Popover is generic overlay which can be triggered by any actionable element.\n *\n * It can be used for tooltips, dropdowns, menus or any showing any other contextual content.\n *\n * The popover automatically positions itself based on available space and\n * supports dynamic height adjustments with scrollable content when needed.\n * It uses [Floating UI](https://floating-ui.com/) for maintaining the position of the popover.\n *\n * ## Limitations\n *\n * ### On trigger for multiple popovers\n *\n * A component (button, etc.) can trigger more than one popover, but only one of them should change the\n * aria-expanded and aria-haspopup attributes on the trigger.\n *\n * To prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked\n * Popovers except one.\n *\n * ### React Popover with append-to attribute\n *\n * React mounts the popover based on the virtual DOM, but when the append-to attribute is set, the popover removes itself\n * and mounts to the specified element. React will not know about the move and will not know about the\n * newly created mdc-popoverportal element either. This throws a `NotFoundError` error when the Popover is directly\n * added/removed by React, for example:\n *\n * ```tsx\n * const SomeComponent = () => {\n * const [isOpen, setIsOpen] = useState(false);\n * return (<div>\n * {isOpen && <Popover append-to=\"some-element-id\">...</mdc-popover>}\n * </div>);\n * }\n * ```\n * As a workaround Popover need to wrap with any other element/component, for example:\n * ```tsx\n * const SomeComponent = () => {\n * const [isOpen, setIsOpen] = useState(false);\n * return (<div>\n * {isOpen && <div>\n * <Popover append-to=\"some-element-id\">...</mdc-popover>\n * <div>}\n * </div>);\n * }\n * ```\n * Note the wrapper <div> around the Popover component (React.Fragment does not work).\n *\n * @dependency mdc-button\n *\n * @tagname mdc-popover\n *\n * @event shown - (React: onShown) This event is dispatched when the popover is shown\n * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden\n * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n * @cssproperty --mdc-popover-max-width - max width of the popover\n * @cssproperty --mdc-popover-max-height - max height of the popover\n * @cssproperty --mdc-popover-width - width of the popover\n *\n * @slot - Default slot for the popover content\n *\n * @csspart popover-close - The close button of the popover.\n * @csspart popover-content - The content of the popover.\n * @csspart popover-hover-bridge - The hover bridge of the popover.\n */",
|
|
34959
34944
|
"customElement": true
|
|
34960
34945
|
}
|
|
34961
34946
|
],
|
|
@@ -44291,145 +44276,6 @@
|
|
|
44291
44276
|
}
|
|
44292
44277
|
]
|
|
44293
44278
|
},
|
|
44294
|
-
{
|
|
44295
|
-
"kind": "javascript-module",
|
|
44296
|
-
"path": "components/spinner/spinner.component.js",
|
|
44297
|
-
"declarations": [
|
|
44298
|
-
{
|
|
44299
|
-
"kind": "class",
|
|
44300
|
-
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
|
44301
|
-
"name": "Spinner",
|
|
44302
|
-
"cssProperties": [
|
|
44303
|
-
{
|
|
44304
|
-
"description": "Allows customization of the default spinner color.",
|
|
44305
|
-
"name": "--mdc-spinner-default-color"
|
|
44306
|
-
},
|
|
44307
|
-
{
|
|
44308
|
-
"description": "Allows customization of the inverted spinner color.",
|
|
44309
|
-
"name": "--mdc-spinner-inverted-color"
|
|
44310
|
-
},
|
|
44311
|
-
{
|
|
44312
|
-
"description": "Allows customization of the spinner Button variant color.",
|
|
44313
|
-
"name": "--mdc-spinner-button-variant-color"
|
|
44314
|
-
},
|
|
44315
|
-
{
|
|
44316
|
-
"description": "Allows customization of the spinner size.",
|
|
44317
|
-
"name": "--mdc-spinner-size"
|
|
44318
|
-
}
|
|
44319
|
-
],
|
|
44320
|
-
"cssParts": [
|
|
44321
|
-
{
|
|
44322
|
-
"description": "The svg which contains the circle spinner.",
|
|
44323
|
-
"name": "container"
|
|
44324
|
-
},
|
|
44325
|
-
{
|
|
44326
|
-
"description": "The circle of the spinner.",
|
|
44327
|
-
"name": "circle"
|
|
44328
|
-
}
|
|
44329
|
-
],
|
|
44330
|
-
"members": [
|
|
44331
|
-
{
|
|
44332
|
-
"kind": "field",
|
|
44333
|
-
"name": "inverted",
|
|
44334
|
-
"type": {
|
|
44335
|
-
"text": "boolean | undefined"
|
|
44336
|
-
},
|
|
44337
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44338
|
-
"default": "false",
|
|
44339
|
-
"attribute": "inverted",
|
|
44340
|
-
"reflects": true
|
|
44341
|
-
},
|
|
44342
|
-
{
|
|
44343
|
-
"kind": "field",
|
|
44344
|
-
"name": "size",
|
|
44345
|
-
"type": {
|
|
44346
|
-
"text": "SpinnerSize | undefined"
|
|
44347
|
-
},
|
|
44348
|
-
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44349
|
-
"default": "midsize",
|
|
44350
|
-
"attribute": "size",
|
|
44351
|
-
"reflects": true
|
|
44352
|
-
},
|
|
44353
|
-
{
|
|
44354
|
-
"kind": "field",
|
|
44355
|
-
"name": "ariaLabel",
|
|
44356
|
-
"type": {
|
|
44357
|
-
"text": "string | null"
|
|
44358
|
-
},
|
|
44359
|
-
"default": "null",
|
|
44360
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
44361
|
-
"attribute": "aria-label"
|
|
44362
|
-
},
|
|
44363
|
-
{
|
|
44364
|
-
"kind": "field",
|
|
44365
|
-
"name": "variant",
|
|
44366
|
-
"type": {
|
|
44367
|
-
"text": "SpinnerVariant"
|
|
44368
|
-
},
|
|
44369
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44370
|
-
"default": "standalone",
|
|
44371
|
-
"attribute": "variant",
|
|
44372
|
-
"reflects": true
|
|
44373
|
-
}
|
|
44374
|
-
],
|
|
44375
|
-
"attributes": [
|
|
44376
|
-
{
|
|
44377
|
-
"name": "inverted",
|
|
44378
|
-
"type": {
|
|
44379
|
-
"text": "boolean | undefined"
|
|
44380
|
-
},
|
|
44381
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44382
|
-
"default": "false",
|
|
44383
|
-
"fieldName": "inverted"
|
|
44384
|
-
},
|
|
44385
|
-
{
|
|
44386
|
-
"name": "size",
|
|
44387
|
-
"type": {
|
|
44388
|
-
"text": "SpinnerSize | undefined"
|
|
44389
|
-
},
|
|
44390
|
-
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44391
|
-
"default": "midsize",
|
|
44392
|
-
"fieldName": "size"
|
|
44393
|
-
},
|
|
44394
|
-
{
|
|
44395
|
-
"name": "aria-label",
|
|
44396
|
-
"type": {
|
|
44397
|
-
"text": "string | null"
|
|
44398
|
-
},
|
|
44399
|
-
"default": "null",
|
|
44400
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
44401
|
-
"fieldName": "ariaLabel"
|
|
44402
|
-
},
|
|
44403
|
-
{
|
|
44404
|
-
"name": "variant",
|
|
44405
|
-
"type": {
|
|
44406
|
-
"text": "SpinnerVariant"
|
|
44407
|
-
},
|
|
44408
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44409
|
-
"default": "standalone",
|
|
44410
|
-
"fieldName": "variant"
|
|
44411
|
-
}
|
|
44412
|
-
],
|
|
44413
|
-
"superclass": {
|
|
44414
|
-
"name": "Component",
|
|
44415
|
-
"module": "/src/models"
|
|
44416
|
-
},
|
|
44417
|
-
"tagName": "mdc-spinner",
|
|
44418
|
-
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
|
44419
|
-
"customElement": true
|
|
44420
|
-
}
|
|
44421
|
-
],
|
|
44422
|
-
"exports": [
|
|
44423
|
-
{
|
|
44424
|
-
"kind": "js",
|
|
44425
|
-
"name": "default",
|
|
44426
|
-
"declaration": {
|
|
44427
|
-
"name": "Spinner",
|
|
44428
|
-
"module": "components/spinner/spinner.component.js"
|
|
44429
|
-
}
|
|
44430
|
-
}
|
|
44431
|
-
]
|
|
44432
|
-
},
|
|
44433
44279
|
{
|
|
44434
44280
|
"kind": "javascript-module",
|
|
44435
44281
|
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
|
@@ -44903,6 +44749,145 @@
|
|
|
44903
44749
|
}
|
|
44904
44750
|
]
|
|
44905
44751
|
},
|
|
44752
|
+
{
|
|
44753
|
+
"kind": "javascript-module",
|
|
44754
|
+
"path": "components/spinner/spinner.component.js",
|
|
44755
|
+
"declarations": [
|
|
44756
|
+
{
|
|
44757
|
+
"kind": "class",
|
|
44758
|
+
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
|
44759
|
+
"name": "Spinner",
|
|
44760
|
+
"cssProperties": [
|
|
44761
|
+
{
|
|
44762
|
+
"description": "Allows customization of the default spinner color.",
|
|
44763
|
+
"name": "--mdc-spinner-default-color"
|
|
44764
|
+
},
|
|
44765
|
+
{
|
|
44766
|
+
"description": "Allows customization of the inverted spinner color.",
|
|
44767
|
+
"name": "--mdc-spinner-inverted-color"
|
|
44768
|
+
},
|
|
44769
|
+
{
|
|
44770
|
+
"description": "Allows customization of the spinner Button variant color.",
|
|
44771
|
+
"name": "--mdc-spinner-button-variant-color"
|
|
44772
|
+
},
|
|
44773
|
+
{
|
|
44774
|
+
"description": "Allows customization of the spinner size.",
|
|
44775
|
+
"name": "--mdc-spinner-size"
|
|
44776
|
+
}
|
|
44777
|
+
],
|
|
44778
|
+
"cssParts": [
|
|
44779
|
+
{
|
|
44780
|
+
"description": "The svg which contains the circle spinner.",
|
|
44781
|
+
"name": "container"
|
|
44782
|
+
},
|
|
44783
|
+
{
|
|
44784
|
+
"description": "The circle of the spinner.",
|
|
44785
|
+
"name": "circle"
|
|
44786
|
+
}
|
|
44787
|
+
],
|
|
44788
|
+
"members": [
|
|
44789
|
+
{
|
|
44790
|
+
"kind": "field",
|
|
44791
|
+
"name": "inverted",
|
|
44792
|
+
"type": {
|
|
44793
|
+
"text": "boolean | undefined"
|
|
44794
|
+
},
|
|
44795
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44796
|
+
"default": "false",
|
|
44797
|
+
"attribute": "inverted",
|
|
44798
|
+
"reflects": true
|
|
44799
|
+
},
|
|
44800
|
+
{
|
|
44801
|
+
"kind": "field",
|
|
44802
|
+
"name": "size",
|
|
44803
|
+
"type": {
|
|
44804
|
+
"text": "SpinnerSize | undefined"
|
|
44805
|
+
},
|
|
44806
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44807
|
+
"default": "midsize",
|
|
44808
|
+
"attribute": "size",
|
|
44809
|
+
"reflects": true
|
|
44810
|
+
},
|
|
44811
|
+
{
|
|
44812
|
+
"kind": "field",
|
|
44813
|
+
"name": "ariaLabel",
|
|
44814
|
+
"type": {
|
|
44815
|
+
"text": "string | null"
|
|
44816
|
+
},
|
|
44817
|
+
"default": "null",
|
|
44818
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
44819
|
+
"attribute": "aria-label"
|
|
44820
|
+
},
|
|
44821
|
+
{
|
|
44822
|
+
"kind": "field",
|
|
44823
|
+
"name": "variant",
|
|
44824
|
+
"type": {
|
|
44825
|
+
"text": "SpinnerVariant"
|
|
44826
|
+
},
|
|
44827
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44828
|
+
"default": "standalone",
|
|
44829
|
+
"attribute": "variant",
|
|
44830
|
+
"reflects": true
|
|
44831
|
+
}
|
|
44832
|
+
],
|
|
44833
|
+
"attributes": [
|
|
44834
|
+
{
|
|
44835
|
+
"name": "inverted",
|
|
44836
|
+
"type": {
|
|
44837
|
+
"text": "boolean | undefined"
|
|
44838
|
+
},
|
|
44839
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44840
|
+
"default": "false",
|
|
44841
|
+
"fieldName": "inverted"
|
|
44842
|
+
},
|
|
44843
|
+
{
|
|
44844
|
+
"name": "size",
|
|
44845
|
+
"type": {
|
|
44846
|
+
"text": "SpinnerSize | undefined"
|
|
44847
|
+
},
|
|
44848
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44849
|
+
"default": "midsize",
|
|
44850
|
+
"fieldName": "size"
|
|
44851
|
+
},
|
|
44852
|
+
{
|
|
44853
|
+
"name": "aria-label",
|
|
44854
|
+
"type": {
|
|
44855
|
+
"text": "string | null"
|
|
44856
|
+
},
|
|
44857
|
+
"default": "null",
|
|
44858
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
44859
|
+
"fieldName": "ariaLabel"
|
|
44860
|
+
},
|
|
44861
|
+
{
|
|
44862
|
+
"name": "variant",
|
|
44863
|
+
"type": {
|
|
44864
|
+
"text": "SpinnerVariant"
|
|
44865
|
+
},
|
|
44866
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44867
|
+
"default": "standalone",
|
|
44868
|
+
"fieldName": "variant"
|
|
44869
|
+
}
|
|
44870
|
+
],
|
|
44871
|
+
"superclass": {
|
|
44872
|
+
"name": "Component",
|
|
44873
|
+
"module": "/src/models"
|
|
44874
|
+
},
|
|
44875
|
+
"tagName": "mdc-spinner",
|
|
44876
|
+
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
|
44877
|
+
"customElement": true
|
|
44878
|
+
}
|
|
44879
|
+
],
|
|
44880
|
+
"exports": [
|
|
44881
|
+
{
|
|
44882
|
+
"kind": "js",
|
|
44883
|
+
"name": "default",
|
|
44884
|
+
"declaration": {
|
|
44885
|
+
"name": "Spinner",
|
|
44886
|
+
"module": "components/spinner/spinner.component.js"
|
|
44887
|
+
}
|
|
44888
|
+
}
|
|
44889
|
+
]
|
|
44890
|
+
},
|
|
44906
44891
|
{
|
|
44907
44892
|
"kind": "javascript-module",
|
|
44908
44893
|
"path": "components/statictoggle/statictoggle.component.js",
|
|
@@ -46498,106 +46483,6 @@
|
|
|
46498
46483
|
}
|
|
46499
46484
|
]
|
|
46500
46485
|
},
|
|
46501
|
-
{
|
|
46502
|
-
"kind": "javascript-module",
|
|
46503
|
-
"path": "components/tablist/tablist.component.js",
|
|
46504
|
-
"declarations": [
|
|
46505
|
-
{
|
|
46506
|
-
"kind": "class",
|
|
46507
|
-
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
|
46508
|
-
"name": "TabList",
|
|
46509
|
-
"cssProperties": [
|
|
46510
|
-
{
|
|
46511
|
-
"description": "Gap between tabs",
|
|
46512
|
-
"name": "--mdc-tablist-gap"
|
|
46513
|
-
},
|
|
46514
|
-
{
|
|
46515
|
-
"description": "Width of the tablist",
|
|
46516
|
-
"name": "--mdc-tablist-width"
|
|
46517
|
-
},
|
|
46518
|
-
{
|
|
46519
|
-
"description": "Margin value for the arrow button",
|
|
46520
|
-
"name": "--mdc-tablist-arrow-button-margin"
|
|
46521
|
-
}
|
|
46522
|
-
],
|
|
46523
|
-
"cssParts": [
|
|
46524
|
-
{
|
|
46525
|
-
"description": "The tablist container.",
|
|
46526
|
-
"name": "container"
|
|
46527
|
-
}
|
|
46528
|
-
],
|
|
46529
|
-
"slots": [
|
|
46530
|
-
{
|
|
46531
|
-
"description": "slot for mdc-tab elements.",
|
|
46532
|
-
"name": "Default"
|
|
46533
|
-
}
|
|
46534
|
-
],
|
|
46535
|
-
"members": [
|
|
46536
|
-
{
|
|
46537
|
-
"kind": "field",
|
|
46538
|
-
"name": "activeTabId",
|
|
46539
|
-
"type": {
|
|
46540
|
-
"text": "string | undefined"
|
|
46541
|
-
},
|
|
46542
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
46543
|
-
"attribute": "active-tab-id",
|
|
46544
|
-
"reflects": true
|
|
46545
|
-
},
|
|
46546
|
-
{
|
|
46547
|
-
"kind": "field",
|
|
46548
|
-
"name": "dataAriaLabel",
|
|
46549
|
-
"type": {
|
|
46550
|
-
"text": "string | undefined"
|
|
46551
|
-
},
|
|
46552
|
-
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
46553
|
-
"attribute": "data-aria-label"
|
|
46554
|
-
}
|
|
46555
|
-
],
|
|
46556
|
-
"events": [
|
|
46557
|
-
{
|
|
46558
|
-
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
|
46559
|
-
"name": "change",
|
|
46560
|
-
"reactName": "onChange"
|
|
46561
|
-
}
|
|
46562
|
-
],
|
|
46563
|
-
"attributes": [
|
|
46564
|
-
{
|
|
46565
|
-
"name": "active-tab-id",
|
|
46566
|
-
"type": {
|
|
46567
|
-
"text": "string | undefined"
|
|
46568
|
-
},
|
|
46569
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
46570
|
-
"fieldName": "activeTabId"
|
|
46571
|
-
},
|
|
46572
|
-
{
|
|
46573
|
-
"name": "data-aria-label",
|
|
46574
|
-
"type": {
|
|
46575
|
-
"text": "string | undefined"
|
|
46576
|
-
},
|
|
46577
|
-
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
46578
|
-
"fieldName": "dataAriaLabel"
|
|
46579
|
-
}
|
|
46580
|
-
],
|
|
46581
|
-
"superclass": {
|
|
46582
|
-
"name": "Component",
|
|
46583
|
-
"module": "/src/models"
|
|
46584
|
-
},
|
|
46585
|
-
"tagName": "mdc-tablist",
|
|
46586
|
-
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n *\n * @csspart container - The tablist container.\n */",
|
|
46587
|
-
"customElement": true
|
|
46588
|
-
}
|
|
46589
|
-
],
|
|
46590
|
-
"exports": [
|
|
46591
|
-
{
|
|
46592
|
-
"kind": "js",
|
|
46593
|
-
"name": "default",
|
|
46594
|
-
"declaration": {
|
|
46595
|
-
"name": "TabList",
|
|
46596
|
-
"module": "components/tablist/tablist.component.js"
|
|
46597
|
-
}
|
|
46598
|
-
}
|
|
46599
|
-
]
|
|
46600
|
-
},
|
|
46601
46486
|
{
|
|
46602
46487
|
"kind": "javascript-module",
|
|
46603
46488
|
"path": "components/text/text.component.js",
|
|
@@ -48034,6 +47919,106 @@
|
|
|
48034
47919
|
}
|
|
48035
47920
|
]
|
|
48036
47921
|
},
|
|
47922
|
+
{
|
|
47923
|
+
"kind": "javascript-module",
|
|
47924
|
+
"path": "components/tablist/tablist.component.js",
|
|
47925
|
+
"declarations": [
|
|
47926
|
+
{
|
|
47927
|
+
"kind": "class",
|
|
47928
|
+
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
|
47929
|
+
"name": "TabList",
|
|
47930
|
+
"cssProperties": [
|
|
47931
|
+
{
|
|
47932
|
+
"description": "Gap between tabs",
|
|
47933
|
+
"name": "--mdc-tablist-gap"
|
|
47934
|
+
},
|
|
47935
|
+
{
|
|
47936
|
+
"description": "Width of the tablist",
|
|
47937
|
+
"name": "--mdc-tablist-width"
|
|
47938
|
+
},
|
|
47939
|
+
{
|
|
47940
|
+
"description": "Margin value for the arrow button",
|
|
47941
|
+
"name": "--mdc-tablist-arrow-button-margin"
|
|
47942
|
+
}
|
|
47943
|
+
],
|
|
47944
|
+
"cssParts": [
|
|
47945
|
+
{
|
|
47946
|
+
"description": "The tablist container.",
|
|
47947
|
+
"name": "container"
|
|
47948
|
+
}
|
|
47949
|
+
],
|
|
47950
|
+
"slots": [
|
|
47951
|
+
{
|
|
47952
|
+
"description": "slot for mdc-tab elements.",
|
|
47953
|
+
"name": "Default"
|
|
47954
|
+
}
|
|
47955
|
+
],
|
|
47956
|
+
"members": [
|
|
47957
|
+
{
|
|
47958
|
+
"kind": "field",
|
|
47959
|
+
"name": "activeTabId",
|
|
47960
|
+
"type": {
|
|
47961
|
+
"text": "string | undefined"
|
|
47962
|
+
},
|
|
47963
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
47964
|
+
"attribute": "active-tab-id",
|
|
47965
|
+
"reflects": true
|
|
47966
|
+
},
|
|
47967
|
+
{
|
|
47968
|
+
"kind": "field",
|
|
47969
|
+
"name": "dataAriaLabel",
|
|
47970
|
+
"type": {
|
|
47971
|
+
"text": "string | undefined"
|
|
47972
|
+
},
|
|
47973
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
47974
|
+
"attribute": "data-aria-label"
|
|
47975
|
+
}
|
|
47976
|
+
],
|
|
47977
|
+
"events": [
|
|
47978
|
+
{
|
|
47979
|
+
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
|
47980
|
+
"name": "change",
|
|
47981
|
+
"reactName": "onChange"
|
|
47982
|
+
}
|
|
47983
|
+
],
|
|
47984
|
+
"attributes": [
|
|
47985
|
+
{
|
|
47986
|
+
"name": "active-tab-id",
|
|
47987
|
+
"type": {
|
|
47988
|
+
"text": "string | undefined"
|
|
47989
|
+
},
|
|
47990
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
47991
|
+
"fieldName": "activeTabId"
|
|
47992
|
+
},
|
|
47993
|
+
{
|
|
47994
|
+
"name": "data-aria-label",
|
|
47995
|
+
"type": {
|
|
47996
|
+
"text": "string | undefined"
|
|
47997
|
+
},
|
|
47998
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
47999
|
+
"fieldName": "dataAriaLabel"
|
|
48000
|
+
}
|
|
48001
|
+
],
|
|
48002
|
+
"superclass": {
|
|
48003
|
+
"name": "Component",
|
|
48004
|
+
"module": "/src/models"
|
|
48005
|
+
},
|
|
48006
|
+
"tagName": "mdc-tablist",
|
|
48007
|
+
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n *\n * @csspart container - The tablist container.\n */",
|
|
48008
|
+
"customElement": true
|
|
48009
|
+
}
|
|
48010
|
+
],
|
|
48011
|
+
"exports": [
|
|
48012
|
+
{
|
|
48013
|
+
"kind": "js",
|
|
48014
|
+
"name": "default",
|
|
48015
|
+
"declaration": {
|
|
48016
|
+
"name": "TabList",
|
|
48017
|
+
"module": "components/tablist/tablist.component.js"
|
|
48018
|
+
}
|
|
48019
|
+
}
|
|
48020
|
+
]
|
|
48021
|
+
},
|
|
48037
48022
|
{
|
|
48038
48023
|
"kind": "javascript-module",
|
|
48039
48024
|
"path": "components/toast/toast.component.js",
|
|
@@ -49553,8 +49538,7 @@
|
|
|
49553
49538
|
"type": {
|
|
49554
49539
|
"text": "number"
|
|
49555
49540
|
},
|
|
49556
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
49557
|
-
"default": "1000",
|
|
49541
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
49558
49542
|
"attribute": "z-index",
|
|
49559
49543
|
"reflects": true,
|
|
49560
49544
|
"inheritedFrom": {
|
|
@@ -51251,11 +51235,7 @@
|
|
|
51251
51235
|
},
|
|
51252
51236
|
{
|
|
51253
51237
|
"name": "z-index",
|
|
51254
|
-
"
|
|
51255
|
-
"text": "number"
|
|
51256
|
-
},
|
|
51257
|
-
"description": "The z-index of the popover.",
|
|
51258
|
-
"default": "1000",
|
|
51238
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
51259
51239
|
"fieldName": "zIndex",
|
|
51260
51240
|
"inheritedFrom": {
|
|
51261
51241
|
"name": "Popover",
|
|
@@ -51619,8 +51599,7 @@
|
|
|
51619
51599
|
"type": {
|
|
51620
51600
|
"text": "number"
|
|
51621
51601
|
},
|
|
51622
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
51623
|
-
"default": "1000",
|
|
51602
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
51624
51603
|
"attribute": "z-index",
|
|
51625
51604
|
"reflects": true,
|
|
51626
51605
|
"inheritedFrom": {
|
|
@@ -53333,11 +53312,7 @@
|
|
|
53333
53312
|
},
|
|
53334
53313
|
{
|
|
53335
53314
|
"name": "z-index",
|
|
53336
|
-
"
|
|
53337
|
-
"text": "number"
|
|
53338
|
-
},
|
|
53339
|
-
"description": "The z-index of the popover.",
|
|
53340
|
-
"default": "1000",
|
|
53315
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
53341
53316
|
"fieldName": "zIndex",
|
|
53342
53317
|
"inheritedFrom": {
|
|
53343
53318
|
"name": "Popover",
|
|
@@ -54760,7 +54735,7 @@
|
|
|
54760
54735
|
"type": {
|
|
54761
54736
|
"text": "number"
|
|
54762
54737
|
},
|
|
54763
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
54738
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable."
|
|
54764
54739
|
}
|
|
54765
54740
|
],
|
|
54766
54741
|
"parameters": [
|