@momentum-design/components 0.81.3 → 0.81.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +230 -225
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatarbutton/avatarbutton.component.js +2 -1
- package/dist/components/badge/badge.component.js +2 -1
- package/dist/components/optgroup/optgroup.component.js +3 -2
- package/dist/components/option/option.component.d.ts +0 -4
- package/dist/components/option/option.component.js +3 -9
- package/dist/components/popover/popover.component.js +4 -4
- package/dist/components/popover/popover.utils.js +7 -7
- package/dist/components/progressbar/progressbar.component.js +2 -1
- package/dist/components/progressspinner/progressspinner.component.js +2 -1
- package/dist/components/radio/radio.component.js +2 -1
- package/dist/components/select/select.component.d.ts +0 -10
- package/dist/components/select/select.component.js +67 -53
- package/dist/components/select/select.constants.d.ts +2 -1
- package/dist/components/select/select.constants.js +2 -1
- package/dist/components/select/select.styles.js +2 -1
- package/dist/components/spinner/spinner.component.js +2 -1
- package/dist/components/tab/tab.component.js +2 -1
- package/dist/components/tablist/tablist.component.js +2 -1
- package/dist/components/toggle/toggle.component.js +2 -1
- package/dist/custom-elements.json +708 -753
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/dist/utils/keys.d.ts +1 -0
- package/dist/utils/keys.js +1 -0
- package/dist/utils/mixins/FormInternalsMixin.js +1 -1
- package/dist/utils/roles.d.ts +9 -0
- package/dist/utils/roles.js +9 -0
- package/package.json +1 -1
|
@@ -520,6 +520,67 @@
|
|
|
520
520
|
}
|
|
521
521
|
]
|
|
522
522
|
},
|
|
523
|
+
{
|
|
524
|
+
"kind": "javascript-module",
|
|
525
|
+
"path": "components/appheader/appheader.component.js",
|
|
526
|
+
"declarations": [
|
|
527
|
+
{
|
|
528
|
+
"kind": "class",
|
|
529
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
|
530
|
+
"name": "Appheader",
|
|
531
|
+
"cssParts": [
|
|
532
|
+
{
|
|
533
|
+
"description": "The main container for styling the header.",
|
|
534
|
+
"name": "container"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"description": "The leading section of the header.",
|
|
538
|
+
"name": "leading-section"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"description": "The center section of the header.",
|
|
542
|
+
"name": "center-section"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"description": "The trailing section of the header.",
|
|
546
|
+
"name": "trailing-section"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"slots": [
|
|
550
|
+
{
|
|
551
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
|
552
|
+
"name": "leading"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
|
556
|
+
"name": "center"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
|
560
|
+
"name": "trailing"
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"members": [],
|
|
564
|
+
"superclass": {
|
|
565
|
+
"name": "Component",
|
|
566
|
+
"module": "/src/models"
|
|
567
|
+
},
|
|
568
|
+
"tagName": "mdc-appheader",
|
|
569
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
|
570
|
+
"customElement": true
|
|
571
|
+
}
|
|
572
|
+
],
|
|
573
|
+
"exports": [
|
|
574
|
+
{
|
|
575
|
+
"kind": "js",
|
|
576
|
+
"name": "default",
|
|
577
|
+
"declaration": {
|
|
578
|
+
"name": "Appheader",
|
|
579
|
+
"module": "components/appheader/appheader.component.js"
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
},
|
|
523
584
|
{
|
|
524
585
|
"kind": "javascript-module",
|
|
525
586
|
"path": "components/animation/animation.component.js",
|
|
@@ -732,67 +793,6 @@
|
|
|
732
793
|
}
|
|
733
794
|
]
|
|
734
795
|
},
|
|
735
|
-
{
|
|
736
|
-
"kind": "javascript-module",
|
|
737
|
-
"path": "components/appheader/appheader.component.js",
|
|
738
|
-
"declarations": [
|
|
739
|
-
{
|
|
740
|
-
"kind": "class",
|
|
741
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
|
742
|
-
"name": "Appheader",
|
|
743
|
-
"cssParts": [
|
|
744
|
-
{
|
|
745
|
-
"description": "The main container for styling the header.",
|
|
746
|
-
"name": "container"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"description": "The leading section of the header.",
|
|
750
|
-
"name": "leading-section"
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
"description": "The center section of the header.",
|
|
754
|
-
"name": "center-section"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"description": "The trailing section of the header.",
|
|
758
|
-
"name": "trailing-section"
|
|
759
|
-
}
|
|
760
|
-
],
|
|
761
|
-
"slots": [
|
|
762
|
-
{
|
|
763
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
|
764
|
-
"name": "leading"
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
|
768
|
-
"name": "center"
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
|
772
|
-
"name": "trailing"
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
"members": [],
|
|
776
|
-
"superclass": {
|
|
777
|
-
"name": "Component",
|
|
778
|
-
"module": "/src/models"
|
|
779
|
-
},
|
|
780
|
-
"tagName": "mdc-appheader",
|
|
781
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
|
782
|
-
"customElement": true
|
|
783
|
-
}
|
|
784
|
-
],
|
|
785
|
-
"exports": [
|
|
786
|
-
{
|
|
787
|
-
"kind": "js",
|
|
788
|
-
"name": "default",
|
|
789
|
-
"declaration": {
|
|
790
|
-
"name": "Appheader",
|
|
791
|
-
"module": "components/appheader/appheader.component.js"
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
]
|
|
795
|
-
},
|
|
796
796
|
{
|
|
797
797
|
"kind": "javascript-module",
|
|
798
798
|
"path": "components/avatar/avatar.component.js",
|
|
@@ -2203,138 +2203,6 @@
|
|
|
2203
2203
|
}
|
|
2204
2204
|
]
|
|
2205
2205
|
},
|
|
2206
|
-
{
|
|
2207
|
-
"kind": "javascript-module",
|
|
2208
|
-
"path": "components/buttongroup/buttongroup.component.js",
|
|
2209
|
-
"declarations": [
|
|
2210
|
-
{
|
|
2211
|
-
"kind": "class",
|
|
2212
|
-
"description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
|
|
2213
|
-
"name": "ButtonGroup",
|
|
2214
|
-
"cssProperties": [
|
|
2215
|
-
{
|
|
2216
|
-
"description": "The border radius of the buttongroup",
|
|
2217
|
-
"name": "--mdc-buttongroup-border-radius"
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"description": "The border color of the buttongroup",
|
|
2221
|
-
"name": "--mdc-buttongroup-border-color"
|
|
2222
|
-
},
|
|
2223
|
-
{
|
|
2224
|
-
"description": "The color of the divider between buttons within the buttongroup",
|
|
2225
|
-
"name": "--mdc-buttongroup-divider-color"
|
|
2226
|
-
}
|
|
2227
|
-
],
|
|
2228
|
-
"slots": [
|
|
2229
|
-
{
|
|
2230
|
-
"description": "This is a default/unnamed slot, which contains the buttons",
|
|
2231
|
-
"name": "default"
|
|
2232
|
-
}
|
|
2233
|
-
],
|
|
2234
|
-
"members": [
|
|
2235
|
-
{
|
|
2236
|
-
"kind": "field",
|
|
2237
|
-
"name": "orientation",
|
|
2238
|
-
"type": {
|
|
2239
|
-
"text": "ButtonGroupOrientation"
|
|
2240
|
-
},
|
|
2241
|
-
"description": "Orientation of the buttongroup.",
|
|
2242
|
-
"default": "'horizontal'",
|
|
2243
|
-
"attribute": "orientation",
|
|
2244
|
-
"reflects": true
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
"kind": "field",
|
|
2248
|
-
"name": "variant",
|
|
2249
|
-
"type": {
|
|
2250
|
-
"text": "ButtonGroupVariant"
|
|
2251
|
-
},
|
|
2252
|
-
"description": "Variant of the buttons within the buttongroup.",
|
|
2253
|
-
"default": "'primary'",
|
|
2254
|
-
"attribute": "variant",
|
|
2255
|
-
"reflects": true
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"kind": "field",
|
|
2259
|
-
"name": "size",
|
|
2260
|
-
"type": {
|
|
2261
|
-
"text": "ButtonGroupSize"
|
|
2262
|
-
},
|
|
2263
|
-
"description": "Size of the buttons within the buttongroup.",
|
|
2264
|
-
"default": "'28'",
|
|
2265
|
-
"attribute": "size",
|
|
2266
|
-
"reflects": true
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
"kind": "field",
|
|
2270
|
-
"name": "compact",
|
|
2271
|
-
"type": {
|
|
2272
|
-
"text": "boolean"
|
|
2273
|
-
},
|
|
2274
|
-
"default": "false",
|
|
2275
|
-
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
|
2276
|
-
"attribute": "compact",
|
|
2277
|
-
"reflects": true
|
|
2278
|
-
}
|
|
2279
|
-
],
|
|
2280
|
-
"attributes": [
|
|
2281
|
-
{
|
|
2282
|
-
"name": "orientation",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "ButtonGroupOrientation"
|
|
2285
|
-
},
|
|
2286
|
-
"description": "Orientation of the buttongroup.",
|
|
2287
|
-
"default": "'horizontal'",
|
|
2288
|
-
"fieldName": "orientation"
|
|
2289
|
-
},
|
|
2290
|
-
{
|
|
2291
|
-
"name": "variant",
|
|
2292
|
-
"type": {
|
|
2293
|
-
"text": "ButtonGroupVariant"
|
|
2294
|
-
},
|
|
2295
|
-
"description": "Variant of the buttons within the buttongroup.",
|
|
2296
|
-
"default": "'primary'",
|
|
2297
|
-
"fieldName": "variant"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"name": "size",
|
|
2301
|
-
"type": {
|
|
2302
|
-
"text": "ButtonGroupSize"
|
|
2303
|
-
},
|
|
2304
|
-
"description": "Size of the buttons within the buttongroup.",
|
|
2305
|
-
"default": "'28'",
|
|
2306
|
-
"fieldName": "size"
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"name": "compact",
|
|
2310
|
-
"type": {
|
|
2311
|
-
"text": "boolean"
|
|
2312
|
-
},
|
|
2313
|
-
"default": "false",
|
|
2314
|
-
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
|
2315
|
-
"fieldName": "compact"
|
|
2316
|
-
}
|
|
2317
|
-
],
|
|
2318
|
-
"superclass": {
|
|
2319
|
-
"name": "Component",
|
|
2320
|
-
"module": "/src/models"
|
|
2321
|
-
},
|
|
2322
|
-
"tagName": "mdc-buttongroup",
|
|
2323
|
-
"jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
|
|
2324
|
-
"customElement": true
|
|
2325
|
-
}
|
|
2326
|
-
],
|
|
2327
|
-
"exports": [
|
|
2328
|
-
{
|
|
2329
|
-
"kind": "js",
|
|
2330
|
-
"name": "default",
|
|
2331
|
-
"declaration": {
|
|
2332
|
-
"name": "ButtonGroup",
|
|
2333
|
-
"module": "components/buttongroup/buttongroup.component.js"
|
|
2334
|
-
}
|
|
2335
|
-
}
|
|
2336
|
-
]
|
|
2337
|
-
},
|
|
2338
2206
|
{
|
|
2339
2207
|
"kind": "javascript-module",
|
|
2340
2208
|
"path": "components/button/button.component.js",
|
|
@@ -3030,6 +2898,138 @@
|
|
|
3030
2898
|
}
|
|
3031
2899
|
]
|
|
3032
2900
|
},
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "javascript-module",
|
|
2903
|
+
"path": "components/buttongroup/buttongroup.component.js",
|
|
2904
|
+
"declarations": [
|
|
2905
|
+
{
|
|
2906
|
+
"kind": "class",
|
|
2907
|
+
"description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
|
|
2908
|
+
"name": "ButtonGroup",
|
|
2909
|
+
"cssProperties": [
|
|
2910
|
+
{
|
|
2911
|
+
"description": "The border radius of the buttongroup",
|
|
2912
|
+
"name": "--mdc-buttongroup-border-radius"
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"description": "The border color of the buttongroup",
|
|
2916
|
+
"name": "--mdc-buttongroup-border-color"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"description": "The color of the divider between buttons within the buttongroup",
|
|
2920
|
+
"name": "--mdc-buttongroup-divider-color"
|
|
2921
|
+
}
|
|
2922
|
+
],
|
|
2923
|
+
"slots": [
|
|
2924
|
+
{
|
|
2925
|
+
"description": "This is a default/unnamed slot, which contains the buttons",
|
|
2926
|
+
"name": "default"
|
|
2927
|
+
}
|
|
2928
|
+
],
|
|
2929
|
+
"members": [
|
|
2930
|
+
{
|
|
2931
|
+
"kind": "field",
|
|
2932
|
+
"name": "orientation",
|
|
2933
|
+
"type": {
|
|
2934
|
+
"text": "ButtonGroupOrientation"
|
|
2935
|
+
},
|
|
2936
|
+
"description": "Orientation of the buttongroup.",
|
|
2937
|
+
"default": "'horizontal'",
|
|
2938
|
+
"attribute": "orientation",
|
|
2939
|
+
"reflects": true
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"kind": "field",
|
|
2943
|
+
"name": "variant",
|
|
2944
|
+
"type": {
|
|
2945
|
+
"text": "ButtonGroupVariant"
|
|
2946
|
+
},
|
|
2947
|
+
"description": "Variant of the buttons within the buttongroup.",
|
|
2948
|
+
"default": "'primary'",
|
|
2949
|
+
"attribute": "variant",
|
|
2950
|
+
"reflects": true
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
"kind": "field",
|
|
2954
|
+
"name": "size",
|
|
2955
|
+
"type": {
|
|
2956
|
+
"text": "ButtonGroupSize"
|
|
2957
|
+
},
|
|
2958
|
+
"description": "Size of the buttons within the buttongroup.",
|
|
2959
|
+
"default": "'28'",
|
|
2960
|
+
"attribute": "size",
|
|
2961
|
+
"reflects": true
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"kind": "field",
|
|
2965
|
+
"name": "compact",
|
|
2966
|
+
"type": {
|
|
2967
|
+
"text": "boolean"
|
|
2968
|
+
},
|
|
2969
|
+
"default": "false",
|
|
2970
|
+
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
|
2971
|
+
"attribute": "compact",
|
|
2972
|
+
"reflects": true
|
|
2973
|
+
}
|
|
2974
|
+
],
|
|
2975
|
+
"attributes": [
|
|
2976
|
+
{
|
|
2977
|
+
"name": "orientation",
|
|
2978
|
+
"type": {
|
|
2979
|
+
"text": "ButtonGroupOrientation"
|
|
2980
|
+
},
|
|
2981
|
+
"description": "Orientation of the buttongroup.",
|
|
2982
|
+
"default": "'horizontal'",
|
|
2983
|
+
"fieldName": "orientation"
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"name": "variant",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "ButtonGroupVariant"
|
|
2989
|
+
},
|
|
2990
|
+
"description": "Variant of the buttons within the buttongroup.",
|
|
2991
|
+
"default": "'primary'",
|
|
2992
|
+
"fieldName": "variant"
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"name": "size",
|
|
2996
|
+
"type": {
|
|
2997
|
+
"text": "ButtonGroupSize"
|
|
2998
|
+
},
|
|
2999
|
+
"description": "Size of the buttons within the buttongroup.",
|
|
3000
|
+
"default": "'28'",
|
|
3001
|
+
"fieldName": "size"
|
|
3002
|
+
},
|
|
3003
|
+
{
|
|
3004
|
+
"name": "compact",
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "boolean"
|
|
3007
|
+
},
|
|
3008
|
+
"default": "false",
|
|
3009
|
+
"description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
|
|
3010
|
+
"fieldName": "compact"
|
|
3011
|
+
}
|
|
3012
|
+
],
|
|
3013
|
+
"superclass": {
|
|
3014
|
+
"name": "Component",
|
|
3015
|
+
"module": "/src/models"
|
|
3016
|
+
},
|
|
3017
|
+
"tagName": "mdc-buttongroup",
|
|
3018
|
+
"jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
|
|
3019
|
+
"customElement": true
|
|
3020
|
+
}
|
|
3021
|
+
],
|
|
3022
|
+
"exports": [
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "js",
|
|
3025
|
+
"name": "default",
|
|
3026
|
+
"declaration": {
|
|
3027
|
+
"name": "ButtonGroup",
|
|
3028
|
+
"module": "components/buttongroup/buttongroup.component.js"
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
]
|
|
3032
|
+
},
|
|
3033
3033
|
{
|
|
3034
3034
|
"kind": "javascript-module",
|
|
3035
3035
|
"path": "components/buttonlink/buttonlink.component.js",
|
|
@@ -3644,386 +3644,6 @@
|
|
|
3644
3644
|
}
|
|
3645
3645
|
]
|
|
3646
3646
|
},
|
|
3647
|
-
{
|
|
3648
|
-
"kind": "javascript-module",
|
|
3649
|
-
"path": "components/buttonsimple/buttonsimple.component.js",
|
|
3650
|
-
"declarations": [
|
|
3651
|
-
{
|
|
3652
|
-
"kind": "class",
|
|
3653
|
-
"description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
|
|
3654
|
-
"name": "Buttonsimple",
|
|
3655
|
-
"members": [
|
|
3656
|
-
{
|
|
3657
|
-
"kind": "field",
|
|
3658
|
-
"name": "active",
|
|
3659
|
-
"type": {
|
|
3660
|
-
"text": "boolean | undefined"
|
|
3661
|
-
},
|
|
3662
|
-
"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.",
|
|
3663
|
-
"default": "undefined",
|
|
3664
|
-
"attribute": "active",
|
|
3665
|
-
"reflects": true
|
|
3666
|
-
},
|
|
3667
|
-
{
|
|
3668
|
-
"kind": "field",
|
|
3669
|
-
"name": "softDisabled",
|
|
3670
|
-
"type": {
|
|
3671
|
-
"text": "boolean | undefined"
|
|
3672
|
-
},
|
|
3673
|
-
"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.",
|
|
3674
|
-
"default": "undefined",
|
|
3675
|
-
"attribute": "soft-disabled",
|
|
3676
|
-
"reflects": true
|
|
3677
|
-
},
|
|
3678
|
-
{
|
|
3679
|
-
"kind": "field",
|
|
3680
|
-
"name": "size",
|
|
3681
|
-
"type": {
|
|
3682
|
-
"text": "ButtonSize"
|
|
3683
|
-
},
|
|
3684
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
3685
|
-
"default": "32",
|
|
3686
|
-
"attribute": "size",
|
|
3687
|
-
"reflects": true
|
|
3688
|
-
},
|
|
3689
|
-
{
|
|
3690
|
-
"kind": "field",
|
|
3691
|
-
"name": "role",
|
|
3692
|
-
"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.",
|
|
3693
|
-
"default": "button",
|
|
3694
|
-
"attribute": "role",
|
|
3695
|
-
"reflects": true
|
|
3696
|
-
},
|
|
3697
|
-
{
|
|
3698
|
-
"kind": "field",
|
|
3699
|
-
"name": "ariaStateKey",
|
|
3700
|
-
"type": {
|
|
3701
|
-
"text": "string | undefined"
|
|
3702
|
-
},
|
|
3703
|
-
"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`",
|
|
3704
|
-
"default": "'aria-pressed' (when)",
|
|
3705
|
-
"attribute": "ariaStateKey",
|
|
3706
|
-
"reflects": true
|
|
3707
|
-
},
|
|
3708
|
-
{
|
|
3709
|
-
"kind": "field",
|
|
3710
|
-
"name": "type",
|
|
3711
|
-
"type": {
|
|
3712
|
-
"text": "ButtonType"
|
|
3713
|
-
},
|
|
3714
|
-
"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.",
|
|
3715
|
-
"default": "button",
|
|
3716
|
-
"attribute": "type",
|
|
3717
|
-
"reflects": true
|
|
3718
|
-
},
|
|
3719
|
-
{
|
|
3720
|
-
"kind": "method",
|
|
3721
|
-
"name": "executeAction",
|
|
3722
|
-
"privacy": "protected"
|
|
3723
|
-
},
|
|
3724
|
-
{
|
|
3725
|
-
"kind": "method",
|
|
3726
|
-
"name": "setActive",
|
|
3727
|
-
"privacy": "protected",
|
|
3728
|
-
"parameters": [
|
|
3729
|
-
{
|
|
3730
|
-
"name": "element",
|
|
3731
|
-
"type": {
|
|
3732
|
-
"text": "HTMLElement"
|
|
3733
|
-
},
|
|
3734
|
-
"description": "The button element"
|
|
3735
|
-
},
|
|
3736
|
-
{
|
|
3737
|
-
"name": "active",
|
|
3738
|
-
"optional": true,
|
|
3739
|
-
"type": {
|
|
3740
|
-
"text": "boolean"
|
|
3741
|
-
},
|
|
3742
|
-
"description": "The active state of the element"
|
|
3743
|
-
}
|
|
3744
|
-
],
|
|
3745
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
3746
|
-
},
|
|
3747
|
-
{
|
|
3748
|
-
"kind": "method",
|
|
3749
|
-
"name": "setSoftDisabled",
|
|
3750
|
-
"privacy": "private",
|
|
3751
|
-
"parameters": [
|
|
3752
|
-
{
|
|
3753
|
-
"name": "element",
|
|
3754
|
-
"type": {
|
|
3755
|
-
"text": "HTMLElement"
|
|
3756
|
-
},
|
|
3757
|
-
"description": "The button element."
|
|
3758
|
-
},
|
|
3759
|
-
{
|
|
3760
|
-
"name": "softDisabled",
|
|
3761
|
-
"optional": true,
|
|
3762
|
-
"type": {
|
|
3763
|
-
"text": "boolean"
|
|
3764
|
-
},
|
|
3765
|
-
"description": "The soft-disabled state."
|
|
3766
|
-
}
|
|
3767
|
-
],
|
|
3768
|
-
"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."
|
|
3769
|
-
},
|
|
3770
|
-
{
|
|
3771
|
-
"kind": "method",
|
|
3772
|
-
"name": "setDisabled",
|
|
3773
|
-
"privacy": "private",
|
|
3774
|
-
"parameters": [
|
|
3775
|
-
{
|
|
3776
|
-
"name": "element",
|
|
3777
|
-
"type": {
|
|
3778
|
-
"text": "HTMLElement"
|
|
3779
|
-
},
|
|
3780
|
-
"description": "The button element."
|
|
3781
|
-
},
|
|
3782
|
-
{
|
|
3783
|
-
"name": "disabled",
|
|
3784
|
-
"type": {
|
|
3785
|
-
"text": "boolean"
|
|
3786
|
-
},
|
|
3787
|
-
"description": "The disabled state."
|
|
3788
|
-
}
|
|
3789
|
-
],
|
|
3790
|
-
"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."
|
|
3791
|
-
},
|
|
3792
|
-
{
|
|
3793
|
-
"kind": "method",
|
|
3794
|
-
"name": "triggerClickEvent",
|
|
3795
|
-
"privacy": "private"
|
|
3796
|
-
},
|
|
3797
|
-
{
|
|
3798
|
-
"kind": "method",
|
|
3799
|
-
"name": "handleBlur",
|
|
3800
|
-
"privacy": "private",
|
|
3801
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
3802
|
-
},
|
|
3803
|
-
{
|
|
3804
|
-
"kind": "method",
|
|
3805
|
-
"name": "handleKeyDown",
|
|
3806
|
-
"privacy": "private",
|
|
3807
|
-
"parameters": [
|
|
3808
|
-
{
|
|
3809
|
-
"name": "event",
|
|
3810
|
-
"type": {
|
|
3811
|
-
"text": "KeyboardEvent"
|
|
3812
|
-
},
|
|
3813
|
-
"description": "The keyboard event."
|
|
3814
|
-
}
|
|
3815
|
-
],
|
|
3816
|
-
"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."
|
|
3817
|
-
},
|
|
3818
|
-
{
|
|
3819
|
-
"kind": "method",
|
|
3820
|
-
"name": "handleKeyUp",
|
|
3821
|
-
"privacy": "private",
|
|
3822
|
-
"parameters": [
|
|
3823
|
-
{
|
|
3824
|
-
"name": "event",
|
|
3825
|
-
"type": {
|
|
3826
|
-
"text": "KeyboardEvent"
|
|
3827
|
-
},
|
|
3828
|
-
"description": "The keyboard event."
|
|
3829
|
-
}
|
|
3830
|
-
],
|
|
3831
|
-
"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."
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"kind": "field",
|
|
3835
|
-
"name": "autofocus",
|
|
3836
|
-
"type": {
|
|
3837
|
-
"text": "boolean"
|
|
3838
|
-
},
|
|
3839
|
-
"default": "false",
|
|
3840
|
-
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
3841
|
-
"attribute": "autofocus",
|
|
3842
|
-
"reflects": true,
|
|
3843
|
-
"inheritedFrom": {
|
|
3844
|
-
"name": "AutoFocusMixin",
|
|
3845
|
-
"module": "utils/mixins/AutoFocusMixin.js"
|
|
3846
|
-
}
|
|
3847
|
-
},
|
|
3848
|
-
{
|
|
3849
|
-
"kind": "field",
|
|
3850
|
-
"name": "tabIndex",
|
|
3851
|
-
"type": {
|
|
3852
|
-
"text": "number"
|
|
3853
|
-
},
|
|
3854
|
-
"default": "0",
|
|
3855
|
-
"description": "This property specifies the tab order of the element.",
|
|
3856
|
-
"attribute": "tabIndex",
|
|
3857
|
-
"reflects": true,
|
|
3858
|
-
"inheritedFrom": {
|
|
3859
|
-
"name": "TabIndexMixin",
|
|
3860
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
|
3861
|
-
}
|
|
3862
|
-
},
|
|
3863
|
-
{
|
|
3864
|
-
"kind": "field",
|
|
3865
|
-
"name": "disabled",
|
|
3866
|
-
"type": {
|
|
3867
|
-
"text": "boolean | undefined"
|
|
3868
|
-
},
|
|
3869
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
3870
|
-
"default": "undefined",
|
|
3871
|
-
"attribute": "disabled",
|
|
3872
|
-
"reflects": true,
|
|
3873
|
-
"inheritedFrom": {
|
|
3874
|
-
"name": "DisabledMixin",
|
|
3875
|
-
"module": "utils/mixins/DisabledMixin.js"
|
|
3876
|
-
}
|
|
3877
|
-
}
|
|
3878
|
-
],
|
|
3879
|
-
"events": [
|
|
3880
|
-
{
|
|
3881
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
3882
|
-
"name": "click",
|
|
3883
|
-
"reactName": "onClick"
|
|
3884
|
-
},
|
|
3885
|
-
{
|
|
3886
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
|
3887
|
-
"name": "keydown",
|
|
3888
|
-
"reactName": "onKeyDown"
|
|
3889
|
-
},
|
|
3890
|
-
{
|
|
3891
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
3892
|
-
"name": "keyup",
|
|
3893
|
-
"reactName": "onKeyUp"
|
|
3894
|
-
},
|
|
3895
|
-
{
|
|
3896
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
3897
|
-
"name": "focus",
|
|
3898
|
-
"reactName": "onFocus"
|
|
3899
|
-
}
|
|
3900
|
-
],
|
|
3901
|
-
"attributes": [
|
|
3902
|
-
{
|
|
3903
|
-
"name": "active",
|
|
3904
|
-
"type": {
|
|
3905
|
-
"text": "boolean | undefined"
|
|
3906
|
-
},
|
|
3907
|
-
"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.",
|
|
3908
|
-
"default": "undefined",
|
|
3909
|
-
"fieldName": "active"
|
|
3910
|
-
},
|
|
3911
|
-
{
|
|
3912
|
-
"name": "soft-disabled",
|
|
3913
|
-
"type": {
|
|
3914
|
-
"text": "boolean | undefined"
|
|
3915
|
-
},
|
|
3916
|
-
"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.",
|
|
3917
|
-
"default": "undefined",
|
|
3918
|
-
"fieldName": "softDisabled"
|
|
3919
|
-
},
|
|
3920
|
-
{
|
|
3921
|
-
"name": "size",
|
|
3922
|
-
"type": {
|
|
3923
|
-
"text": "ButtonSize"
|
|
3924
|
-
},
|
|
3925
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
3926
|
-
"default": "32",
|
|
3927
|
-
"fieldName": "size"
|
|
3928
|
-
},
|
|
3929
|
-
{
|
|
3930
|
-
"name": "role",
|
|
3931
|
-
"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.",
|
|
3932
|
-
"default": "button",
|
|
3933
|
-
"fieldName": "role"
|
|
3934
|
-
},
|
|
3935
|
-
{
|
|
3936
|
-
"name": "ariaStateKey",
|
|
3937
|
-
"type": {
|
|
3938
|
-
"text": "string | undefined"
|
|
3939
|
-
},
|
|
3940
|
-
"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`",
|
|
3941
|
-
"default": "'aria-pressed' (when)",
|
|
3942
|
-
"fieldName": "ariaStateKey"
|
|
3943
|
-
},
|
|
3944
|
-
{
|
|
3945
|
-
"name": "type",
|
|
3946
|
-
"type": {
|
|
3947
|
-
"text": "ButtonType"
|
|
3948
|
-
},
|
|
3949
|
-
"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.",
|
|
3950
|
-
"default": "button",
|
|
3951
|
-
"fieldName": "type"
|
|
3952
|
-
},
|
|
3953
|
-
{
|
|
3954
|
-
"name": "autofocus",
|
|
3955
|
-
"type": {
|
|
3956
|
-
"text": "boolean"
|
|
3957
|
-
},
|
|
3958
|
-
"default": "false",
|
|
3959
|
-
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
3960
|
-
"fieldName": "autofocus",
|
|
3961
|
-
"inheritedFrom": {
|
|
3962
|
-
"name": "AutoFocusMixin",
|
|
3963
|
-
"module": "src/utils/mixins/AutoFocusMixin.ts"
|
|
3964
|
-
}
|
|
3965
|
-
},
|
|
3966
|
-
{
|
|
3967
|
-
"name": "tabIndex",
|
|
3968
|
-
"type": {
|
|
3969
|
-
"text": "number"
|
|
3970
|
-
},
|
|
3971
|
-
"default": "0",
|
|
3972
|
-
"description": "This property specifies the tab order of the element.",
|
|
3973
|
-
"fieldName": "tabIndex",
|
|
3974
|
-
"inheritedFrom": {
|
|
3975
|
-
"name": "TabIndexMixin",
|
|
3976
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
3977
|
-
}
|
|
3978
|
-
},
|
|
3979
|
-
{
|
|
3980
|
-
"name": "disabled",
|
|
3981
|
-
"type": {
|
|
3982
|
-
"text": "boolean | undefined"
|
|
3983
|
-
},
|
|
3984
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
3985
|
-
"default": "undefined",
|
|
3986
|
-
"fieldName": "disabled",
|
|
3987
|
-
"inheritedFrom": {
|
|
3988
|
-
"name": "DisabledMixin",
|
|
3989
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
3990
|
-
}
|
|
3991
|
-
}
|
|
3992
|
-
],
|
|
3993
|
-
"mixins": [
|
|
3994
|
-
{
|
|
3995
|
-
"name": "AutoFocusMixin",
|
|
3996
|
-
"module": "/src/utils/mixins/AutoFocusMixin"
|
|
3997
|
-
},
|
|
3998
|
-
{
|
|
3999
|
-
"name": "TabIndexMixin",
|
|
4000
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
|
4001
|
-
},
|
|
4002
|
-
{
|
|
4003
|
-
"name": "DisabledMixin",
|
|
4004
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
|
4005
|
-
}
|
|
4006
|
-
],
|
|
4007
|
-
"superclass": {
|
|
4008
|
-
"name": "Component",
|
|
4009
|
-
"module": "/src/models"
|
|
4010
|
-
},
|
|
4011
|
-
"tagName": "mdc-buttonsimple",
|
|
4012
|
-
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
|
|
4013
|
-
"customElement": true
|
|
4014
|
-
}
|
|
4015
|
-
],
|
|
4016
|
-
"exports": [
|
|
4017
|
-
{
|
|
4018
|
-
"kind": "js",
|
|
4019
|
-
"name": "default",
|
|
4020
|
-
"declaration": {
|
|
4021
|
-
"name": "Buttonsimple",
|
|
4022
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
4023
|
-
}
|
|
4024
|
-
}
|
|
4025
|
-
]
|
|
4026
|
-
},
|
|
4027
3647
|
{
|
|
4028
3648
|
"kind": "javascript-module",
|
|
4029
3649
|
"path": "components/card/card.component.js",
|
|
@@ -4425,6 +4045,386 @@
|
|
|
4425
4045
|
}
|
|
4426
4046
|
]
|
|
4427
4047
|
},
|
|
4048
|
+
{
|
|
4049
|
+
"kind": "javascript-module",
|
|
4050
|
+
"path": "components/buttonsimple/buttonsimple.component.js",
|
|
4051
|
+
"declarations": [
|
|
4052
|
+
{
|
|
4053
|
+
"kind": "class",
|
|
4054
|
+
"description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
|
|
4055
|
+
"name": "Buttonsimple",
|
|
4056
|
+
"members": [
|
|
4057
|
+
{
|
|
4058
|
+
"kind": "field",
|
|
4059
|
+
"name": "active",
|
|
4060
|
+
"type": {
|
|
4061
|
+
"text": "boolean | undefined"
|
|
4062
|
+
},
|
|
4063
|
+
"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.",
|
|
4064
|
+
"default": "undefined",
|
|
4065
|
+
"attribute": "active",
|
|
4066
|
+
"reflects": true
|
|
4067
|
+
},
|
|
4068
|
+
{
|
|
4069
|
+
"kind": "field",
|
|
4070
|
+
"name": "softDisabled",
|
|
4071
|
+
"type": {
|
|
4072
|
+
"text": "boolean | undefined"
|
|
4073
|
+
},
|
|
4074
|
+
"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.",
|
|
4075
|
+
"default": "undefined",
|
|
4076
|
+
"attribute": "soft-disabled",
|
|
4077
|
+
"reflects": true
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"kind": "field",
|
|
4081
|
+
"name": "size",
|
|
4082
|
+
"type": {
|
|
4083
|
+
"text": "ButtonSize"
|
|
4084
|
+
},
|
|
4085
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
4086
|
+
"default": "32",
|
|
4087
|
+
"attribute": "size",
|
|
4088
|
+
"reflects": true
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
"kind": "field",
|
|
4092
|
+
"name": "role",
|
|
4093
|
+
"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.",
|
|
4094
|
+
"default": "button",
|
|
4095
|
+
"attribute": "role",
|
|
4096
|
+
"reflects": true
|
|
4097
|
+
},
|
|
4098
|
+
{
|
|
4099
|
+
"kind": "field",
|
|
4100
|
+
"name": "ariaStateKey",
|
|
4101
|
+
"type": {
|
|
4102
|
+
"text": "string | undefined"
|
|
4103
|
+
},
|
|
4104
|
+
"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`",
|
|
4105
|
+
"default": "'aria-pressed' (when)",
|
|
4106
|
+
"attribute": "ariaStateKey",
|
|
4107
|
+
"reflects": true
|
|
4108
|
+
},
|
|
4109
|
+
{
|
|
4110
|
+
"kind": "field",
|
|
4111
|
+
"name": "type",
|
|
4112
|
+
"type": {
|
|
4113
|
+
"text": "ButtonType"
|
|
4114
|
+
},
|
|
4115
|
+
"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.",
|
|
4116
|
+
"default": "button",
|
|
4117
|
+
"attribute": "type",
|
|
4118
|
+
"reflects": true
|
|
4119
|
+
},
|
|
4120
|
+
{
|
|
4121
|
+
"kind": "method",
|
|
4122
|
+
"name": "executeAction",
|
|
4123
|
+
"privacy": "protected"
|
|
4124
|
+
},
|
|
4125
|
+
{
|
|
4126
|
+
"kind": "method",
|
|
4127
|
+
"name": "setActive",
|
|
4128
|
+
"privacy": "protected",
|
|
4129
|
+
"parameters": [
|
|
4130
|
+
{
|
|
4131
|
+
"name": "element",
|
|
4132
|
+
"type": {
|
|
4133
|
+
"text": "HTMLElement"
|
|
4134
|
+
},
|
|
4135
|
+
"description": "The button element"
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
"name": "active",
|
|
4139
|
+
"optional": true,
|
|
4140
|
+
"type": {
|
|
4141
|
+
"text": "boolean"
|
|
4142
|
+
},
|
|
4143
|
+
"description": "The active state of the element"
|
|
4144
|
+
}
|
|
4145
|
+
],
|
|
4146
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"kind": "method",
|
|
4150
|
+
"name": "setSoftDisabled",
|
|
4151
|
+
"privacy": "private",
|
|
4152
|
+
"parameters": [
|
|
4153
|
+
{
|
|
4154
|
+
"name": "element",
|
|
4155
|
+
"type": {
|
|
4156
|
+
"text": "HTMLElement"
|
|
4157
|
+
},
|
|
4158
|
+
"description": "The button element."
|
|
4159
|
+
},
|
|
4160
|
+
{
|
|
4161
|
+
"name": "softDisabled",
|
|
4162
|
+
"optional": true,
|
|
4163
|
+
"type": {
|
|
4164
|
+
"text": "boolean"
|
|
4165
|
+
},
|
|
4166
|
+
"description": "The soft-disabled state."
|
|
4167
|
+
}
|
|
4168
|
+
],
|
|
4169
|
+
"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."
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
"kind": "method",
|
|
4173
|
+
"name": "setDisabled",
|
|
4174
|
+
"privacy": "private",
|
|
4175
|
+
"parameters": [
|
|
4176
|
+
{
|
|
4177
|
+
"name": "element",
|
|
4178
|
+
"type": {
|
|
4179
|
+
"text": "HTMLElement"
|
|
4180
|
+
},
|
|
4181
|
+
"description": "The button element."
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
"name": "disabled",
|
|
4185
|
+
"type": {
|
|
4186
|
+
"text": "boolean"
|
|
4187
|
+
},
|
|
4188
|
+
"description": "The disabled state."
|
|
4189
|
+
}
|
|
4190
|
+
],
|
|
4191
|
+
"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."
|
|
4192
|
+
},
|
|
4193
|
+
{
|
|
4194
|
+
"kind": "method",
|
|
4195
|
+
"name": "triggerClickEvent",
|
|
4196
|
+
"privacy": "private"
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"kind": "method",
|
|
4200
|
+
"name": "handleBlur",
|
|
4201
|
+
"privacy": "private",
|
|
4202
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"kind": "method",
|
|
4206
|
+
"name": "handleKeyDown",
|
|
4207
|
+
"privacy": "private",
|
|
4208
|
+
"parameters": [
|
|
4209
|
+
{
|
|
4210
|
+
"name": "event",
|
|
4211
|
+
"type": {
|
|
4212
|
+
"text": "KeyboardEvent"
|
|
4213
|
+
},
|
|
4214
|
+
"description": "The keyboard event."
|
|
4215
|
+
}
|
|
4216
|
+
],
|
|
4217
|
+
"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."
|
|
4218
|
+
},
|
|
4219
|
+
{
|
|
4220
|
+
"kind": "method",
|
|
4221
|
+
"name": "handleKeyUp",
|
|
4222
|
+
"privacy": "private",
|
|
4223
|
+
"parameters": [
|
|
4224
|
+
{
|
|
4225
|
+
"name": "event",
|
|
4226
|
+
"type": {
|
|
4227
|
+
"text": "KeyboardEvent"
|
|
4228
|
+
},
|
|
4229
|
+
"description": "The keyboard event."
|
|
4230
|
+
}
|
|
4231
|
+
],
|
|
4232
|
+
"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."
|
|
4233
|
+
},
|
|
4234
|
+
{
|
|
4235
|
+
"kind": "field",
|
|
4236
|
+
"name": "autofocus",
|
|
4237
|
+
"type": {
|
|
4238
|
+
"text": "boolean"
|
|
4239
|
+
},
|
|
4240
|
+
"default": "false",
|
|
4241
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
4242
|
+
"attribute": "autofocus",
|
|
4243
|
+
"reflects": true,
|
|
4244
|
+
"inheritedFrom": {
|
|
4245
|
+
"name": "AutoFocusMixin",
|
|
4246
|
+
"module": "utils/mixins/AutoFocusMixin.js"
|
|
4247
|
+
}
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"kind": "field",
|
|
4251
|
+
"name": "tabIndex",
|
|
4252
|
+
"type": {
|
|
4253
|
+
"text": "number"
|
|
4254
|
+
},
|
|
4255
|
+
"default": "0",
|
|
4256
|
+
"description": "This property specifies the tab order of the element.",
|
|
4257
|
+
"attribute": "tabIndex",
|
|
4258
|
+
"reflects": true,
|
|
4259
|
+
"inheritedFrom": {
|
|
4260
|
+
"name": "TabIndexMixin",
|
|
4261
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
4262
|
+
}
|
|
4263
|
+
},
|
|
4264
|
+
{
|
|
4265
|
+
"kind": "field",
|
|
4266
|
+
"name": "disabled",
|
|
4267
|
+
"type": {
|
|
4268
|
+
"text": "boolean | undefined"
|
|
4269
|
+
},
|
|
4270
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
4271
|
+
"default": "undefined",
|
|
4272
|
+
"attribute": "disabled",
|
|
4273
|
+
"reflects": true,
|
|
4274
|
+
"inheritedFrom": {
|
|
4275
|
+
"name": "DisabledMixin",
|
|
4276
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
],
|
|
4280
|
+
"events": [
|
|
4281
|
+
{
|
|
4282
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
4283
|
+
"name": "click",
|
|
4284
|
+
"reactName": "onClick"
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
|
4288
|
+
"name": "keydown",
|
|
4289
|
+
"reactName": "onKeyDown"
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
4293
|
+
"name": "keyup",
|
|
4294
|
+
"reactName": "onKeyUp"
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
4298
|
+
"name": "focus",
|
|
4299
|
+
"reactName": "onFocus"
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
4302
|
+
"attributes": [
|
|
4303
|
+
{
|
|
4304
|
+
"name": "active",
|
|
4305
|
+
"type": {
|
|
4306
|
+
"text": "boolean | undefined"
|
|
4307
|
+
},
|
|
4308
|
+
"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.",
|
|
4309
|
+
"default": "undefined",
|
|
4310
|
+
"fieldName": "active"
|
|
4311
|
+
},
|
|
4312
|
+
{
|
|
4313
|
+
"name": "soft-disabled",
|
|
4314
|
+
"type": {
|
|
4315
|
+
"text": "boolean | undefined"
|
|
4316
|
+
},
|
|
4317
|
+
"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.",
|
|
4318
|
+
"default": "undefined",
|
|
4319
|
+
"fieldName": "softDisabled"
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"name": "size",
|
|
4323
|
+
"type": {
|
|
4324
|
+
"text": "ButtonSize"
|
|
4325
|
+
},
|
|
4326
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
4327
|
+
"default": "32",
|
|
4328
|
+
"fieldName": "size"
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"name": "role",
|
|
4332
|
+
"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.",
|
|
4333
|
+
"default": "button",
|
|
4334
|
+
"fieldName": "role"
|
|
4335
|
+
},
|
|
4336
|
+
{
|
|
4337
|
+
"name": "ariaStateKey",
|
|
4338
|
+
"type": {
|
|
4339
|
+
"text": "string | undefined"
|
|
4340
|
+
},
|
|
4341
|
+
"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`",
|
|
4342
|
+
"default": "'aria-pressed' (when)",
|
|
4343
|
+
"fieldName": "ariaStateKey"
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"name": "type",
|
|
4347
|
+
"type": {
|
|
4348
|
+
"text": "ButtonType"
|
|
4349
|
+
},
|
|
4350
|
+
"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.",
|
|
4351
|
+
"default": "button",
|
|
4352
|
+
"fieldName": "type"
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
"name": "autofocus",
|
|
4356
|
+
"type": {
|
|
4357
|
+
"text": "boolean"
|
|
4358
|
+
},
|
|
4359
|
+
"default": "false",
|
|
4360
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
4361
|
+
"fieldName": "autofocus",
|
|
4362
|
+
"inheritedFrom": {
|
|
4363
|
+
"name": "AutoFocusMixin",
|
|
4364
|
+
"module": "src/utils/mixins/AutoFocusMixin.ts"
|
|
4365
|
+
}
|
|
4366
|
+
},
|
|
4367
|
+
{
|
|
4368
|
+
"name": "tabIndex",
|
|
4369
|
+
"type": {
|
|
4370
|
+
"text": "number"
|
|
4371
|
+
},
|
|
4372
|
+
"default": "0",
|
|
4373
|
+
"description": "This property specifies the tab order of the element.",
|
|
4374
|
+
"fieldName": "tabIndex",
|
|
4375
|
+
"inheritedFrom": {
|
|
4376
|
+
"name": "TabIndexMixin",
|
|
4377
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
4378
|
+
}
|
|
4379
|
+
},
|
|
4380
|
+
{
|
|
4381
|
+
"name": "disabled",
|
|
4382
|
+
"type": {
|
|
4383
|
+
"text": "boolean | undefined"
|
|
4384
|
+
},
|
|
4385
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
4386
|
+
"default": "undefined",
|
|
4387
|
+
"fieldName": "disabled",
|
|
4388
|
+
"inheritedFrom": {
|
|
4389
|
+
"name": "DisabledMixin",
|
|
4390
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
4391
|
+
}
|
|
4392
|
+
}
|
|
4393
|
+
],
|
|
4394
|
+
"mixins": [
|
|
4395
|
+
{
|
|
4396
|
+
"name": "AutoFocusMixin",
|
|
4397
|
+
"module": "/src/utils/mixins/AutoFocusMixin"
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"name": "TabIndexMixin",
|
|
4401
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
4402
|
+
},
|
|
4403
|
+
{
|
|
4404
|
+
"name": "DisabledMixin",
|
|
4405
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
|
4406
|
+
}
|
|
4407
|
+
],
|
|
4408
|
+
"superclass": {
|
|
4409
|
+
"name": "Component",
|
|
4410
|
+
"module": "/src/models"
|
|
4411
|
+
},
|
|
4412
|
+
"tagName": "mdc-buttonsimple",
|
|
4413
|
+
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
|
|
4414
|
+
"customElement": true
|
|
4415
|
+
}
|
|
4416
|
+
],
|
|
4417
|
+
"exports": [
|
|
4418
|
+
{
|
|
4419
|
+
"kind": "js",
|
|
4420
|
+
"name": "default",
|
|
4421
|
+
"declaration": {
|
|
4422
|
+
"name": "Buttonsimple",
|
|
4423
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
4424
|
+
}
|
|
4425
|
+
}
|
|
4426
|
+
]
|
|
4427
|
+
},
|
|
4428
4428
|
{
|
|
4429
4429
|
"kind": "javascript-module",
|
|
4430
4430
|
"path": "components/cardbutton/cardbutton.component.js",
|
|
@@ -22083,31 +22083,6 @@
|
|
|
22083
22083
|
"privacy": "private",
|
|
22084
22084
|
"description": "Listens to changes in the default slot and updates the label of the option accordingly.\nThis is used to set the label of the option when it is not explicitly set.\nIt is called internally when the slot is changed."
|
|
22085
22085
|
},
|
|
22086
|
-
{
|
|
22087
|
-
"kind": "method",
|
|
22088
|
-
"name": "updateAttribute",
|
|
22089
|
-
"privacy": "private",
|
|
22090
|
-
"return": {
|
|
22091
|
-
"type": {
|
|
22092
|
-
"text": "void"
|
|
22093
|
-
}
|
|
22094
|
-
},
|
|
22095
|
-
"parameters": [
|
|
22096
|
-
{
|
|
22097
|
-
"name": "attributeName",
|
|
22098
|
-
"type": {
|
|
22099
|
-
"text": "string"
|
|
22100
|
-
}
|
|
22101
|
-
},
|
|
22102
|
-
{
|
|
22103
|
-
"name": "value",
|
|
22104
|
-
"type": {
|
|
22105
|
-
"text": "string"
|
|
22106
|
-
}
|
|
22107
|
-
}
|
|
22108
|
-
],
|
|
22109
|
-
"description": "Updates the attribute of the option to reflect the current state."
|
|
22110
|
-
},
|
|
22111
22086
|
{
|
|
22112
22087
|
"kind": "field",
|
|
22113
22088
|
"name": "name",
|
|
@@ -28232,26 +28207,6 @@
|
|
|
28232
28207
|
}
|
|
28233
28208
|
]
|
|
28234
28209
|
},
|
|
28235
|
-
{
|
|
28236
|
-
"kind": "method",
|
|
28237
|
-
"name": "handleKeydown",
|
|
28238
|
-
"privacy": "private",
|
|
28239
|
-
"return": {
|
|
28240
|
-
"type": {
|
|
28241
|
-
"text": "void"
|
|
28242
|
-
}
|
|
28243
|
-
},
|
|
28244
|
-
"parameters": [
|
|
28245
|
-
{
|
|
28246
|
-
"name": "event",
|
|
28247
|
-
"type": {
|
|
28248
|
-
"text": "KeyboardEvent"
|
|
28249
|
-
},
|
|
28250
|
-
"description": "The keyboard event."
|
|
28251
|
-
}
|
|
28252
|
-
],
|
|
28253
|
-
"description": "Handles the keydown event on the select element.\nIf the popover is open, then it calls `handlePopoverOnOpen` with the event.\nIf the popover is closed, then it calls `handlePopoverOnClose` with the event."
|
|
28254
|
-
},
|
|
28255
28210
|
{
|
|
28256
28211
|
"kind": "method",
|
|
28257
28212
|
"name": "handlePopoverOnOpen",
|
|
@@ -28270,7 +28225,7 @@
|
|
|
28270
28225
|
"description": "The keyboard event."
|
|
28271
28226
|
}
|
|
28272
28227
|
],
|
|
28273
|
-
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- SPACE or ENTER: Selects the currently active option and closes the popover.\n-
|
|
28228
|
+
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- SPACE or ENTER: Selects the currently active option and closes the popover.\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
|
|
28274
28229
|
},
|
|
28275
28230
|
{
|
|
28276
28231
|
"kind": "method",
|
|
@@ -34295,6 +34250,140 @@
|
|
|
34295
34250
|
}
|
|
34296
34251
|
]
|
|
34297
34252
|
},
|
|
34253
|
+
{
|
|
34254
|
+
"kind": "javascript-module",
|
|
34255
|
+
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
|
34256
|
+
"declarations": [
|
|
34257
|
+
{
|
|
34258
|
+
"kind": "class",
|
|
34259
|
+
"description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
|
|
34260
|
+
"name": "VirtualizedList",
|
|
34261
|
+
"slots": [
|
|
34262
|
+
{
|
|
34263
|
+
"description": "Client side List with nested list items.",
|
|
34264
|
+
"name": ""
|
|
34265
|
+
}
|
|
34266
|
+
],
|
|
34267
|
+
"members": [
|
|
34268
|
+
{
|
|
34269
|
+
"kind": "field",
|
|
34270
|
+
"name": "onscroll",
|
|
34271
|
+
"type": {
|
|
34272
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
|
34273
|
+
},
|
|
34274
|
+
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
|
34275
|
+
"default": "null",
|
|
34276
|
+
"attribute": "onscroll"
|
|
34277
|
+
},
|
|
34278
|
+
{
|
|
34279
|
+
"kind": "field",
|
|
34280
|
+
"name": "virtualizerProps",
|
|
34281
|
+
"type": {
|
|
34282
|
+
"text": "VirtualizerProps"
|
|
34283
|
+
},
|
|
34284
|
+
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
|
34285
|
+
"attribute": "virtualizerprops"
|
|
34286
|
+
},
|
|
34287
|
+
{
|
|
34288
|
+
"kind": "field",
|
|
34289
|
+
"name": "setlistdata",
|
|
34290
|
+
"type": {
|
|
34291
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
|
34292
|
+
},
|
|
34293
|
+
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
|
34294
|
+
"default": "null",
|
|
34295
|
+
"attribute": "setlistdata"
|
|
34296
|
+
},
|
|
34297
|
+
{
|
|
34298
|
+
"kind": "field",
|
|
34299
|
+
"name": "scrollElementRef",
|
|
34300
|
+
"type": {
|
|
34301
|
+
"text": "Ref<HTMLDivElement>"
|
|
34302
|
+
},
|
|
34303
|
+
"privacy": "public"
|
|
34304
|
+
},
|
|
34305
|
+
{
|
|
34306
|
+
"kind": "field",
|
|
34307
|
+
"name": "virtualizer",
|
|
34308
|
+
"type": {
|
|
34309
|
+
"text": "Virtualizer<Element, Element> | null"
|
|
34310
|
+
},
|
|
34311
|
+
"privacy": "public",
|
|
34312
|
+
"default": "null"
|
|
34313
|
+
},
|
|
34314
|
+
{
|
|
34315
|
+
"kind": "field",
|
|
34316
|
+
"name": "virtualItems",
|
|
34317
|
+
"type": {
|
|
34318
|
+
"text": "Array<VirtualItem>"
|
|
34319
|
+
},
|
|
34320
|
+
"privacy": "public",
|
|
34321
|
+
"default": "[]"
|
|
34322
|
+
},
|
|
34323
|
+
{
|
|
34324
|
+
"kind": "field",
|
|
34325
|
+
"name": "virtualizerController",
|
|
34326
|
+
"type": {
|
|
34327
|
+
"text": "null"
|
|
34328
|
+
},
|
|
34329
|
+
"default": "null"
|
|
34330
|
+
}
|
|
34331
|
+
],
|
|
34332
|
+
"events": [
|
|
34333
|
+
{
|
|
34334
|
+
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
|
34335
|
+
"name": "onscroll",
|
|
34336
|
+
"reactName": "onScroll"
|
|
34337
|
+
}
|
|
34338
|
+
],
|
|
34339
|
+
"attributes": [
|
|
34340
|
+
{
|
|
34341
|
+
"name": "onscroll",
|
|
34342
|
+
"type": {
|
|
34343
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
|
34344
|
+
},
|
|
34345
|
+
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
|
34346
|
+
"default": "null",
|
|
34347
|
+
"fieldName": "onscroll"
|
|
34348
|
+
},
|
|
34349
|
+
{
|
|
34350
|
+
"name": "virtualizerprops",
|
|
34351
|
+
"type": {
|
|
34352
|
+
"text": "VirtualizerProps"
|
|
34353
|
+
},
|
|
34354
|
+
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
|
34355
|
+
"fieldName": "virtualizerProps"
|
|
34356
|
+
},
|
|
34357
|
+
{
|
|
34358
|
+
"name": "setlistdata",
|
|
34359
|
+
"type": {
|
|
34360
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
|
34361
|
+
},
|
|
34362
|
+
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
|
34363
|
+
"default": "null",
|
|
34364
|
+
"fieldName": "setlistdata"
|
|
34365
|
+
}
|
|
34366
|
+
],
|
|
34367
|
+
"superclass": {
|
|
34368
|
+
"name": "Component",
|
|
34369
|
+
"module": "/src/models"
|
|
34370
|
+
},
|
|
34371
|
+
"tagName": "mdc-virtualizedlist",
|
|
34372
|
+
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
|
|
34373
|
+
"customElement": true
|
|
34374
|
+
}
|
|
34375
|
+
],
|
|
34376
|
+
"exports": [
|
|
34377
|
+
{
|
|
34378
|
+
"kind": "js",
|
|
34379
|
+
"name": "default",
|
|
34380
|
+
"declaration": {
|
|
34381
|
+
"name": "VirtualizedList",
|
|
34382
|
+
"module": "components/virtualizedlist/virtualizedlist.component.js"
|
|
34383
|
+
}
|
|
34384
|
+
}
|
|
34385
|
+
]
|
|
34386
|
+
},
|
|
34298
34387
|
{
|
|
34299
34388
|
"kind": "javascript-module",
|
|
34300
34389
|
"path": "components/tooltip/tooltip.component.js",
|
|
@@ -36049,140 +36138,6 @@
|
|
|
36049
36138
|
}
|
|
36050
36139
|
]
|
|
36051
36140
|
},
|
|
36052
|
-
{
|
|
36053
|
-
"kind": "javascript-module",
|
|
36054
|
-
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
|
36055
|
-
"declarations": [
|
|
36056
|
-
{
|
|
36057
|
-
"kind": "class",
|
|
36058
|
-
"description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
|
|
36059
|
-
"name": "VirtualizedList",
|
|
36060
|
-
"slots": [
|
|
36061
|
-
{
|
|
36062
|
-
"description": "Client side List with nested list items.",
|
|
36063
|
-
"name": ""
|
|
36064
|
-
}
|
|
36065
|
-
],
|
|
36066
|
-
"members": [
|
|
36067
|
-
{
|
|
36068
|
-
"kind": "field",
|
|
36069
|
-
"name": "onscroll",
|
|
36070
|
-
"type": {
|
|
36071
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
|
36072
|
-
},
|
|
36073
|
-
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
|
36074
|
-
"default": "null",
|
|
36075
|
-
"attribute": "onscroll"
|
|
36076
|
-
},
|
|
36077
|
-
{
|
|
36078
|
-
"kind": "field",
|
|
36079
|
-
"name": "virtualizerProps",
|
|
36080
|
-
"type": {
|
|
36081
|
-
"text": "VirtualizerProps"
|
|
36082
|
-
},
|
|
36083
|
-
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
|
36084
|
-
"attribute": "virtualizerprops"
|
|
36085
|
-
},
|
|
36086
|
-
{
|
|
36087
|
-
"kind": "field",
|
|
36088
|
-
"name": "setlistdata",
|
|
36089
|
-
"type": {
|
|
36090
|
-
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
|
36091
|
-
},
|
|
36092
|
-
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
|
36093
|
-
"default": "null",
|
|
36094
|
-
"attribute": "setlistdata"
|
|
36095
|
-
},
|
|
36096
|
-
{
|
|
36097
|
-
"kind": "field",
|
|
36098
|
-
"name": "scrollElementRef",
|
|
36099
|
-
"type": {
|
|
36100
|
-
"text": "Ref<HTMLDivElement>"
|
|
36101
|
-
},
|
|
36102
|
-
"privacy": "public"
|
|
36103
|
-
},
|
|
36104
|
-
{
|
|
36105
|
-
"kind": "field",
|
|
36106
|
-
"name": "virtualizer",
|
|
36107
|
-
"type": {
|
|
36108
|
-
"text": "Virtualizer<Element, Element> | null"
|
|
36109
|
-
},
|
|
36110
|
-
"privacy": "public",
|
|
36111
|
-
"default": "null"
|
|
36112
|
-
},
|
|
36113
|
-
{
|
|
36114
|
-
"kind": "field",
|
|
36115
|
-
"name": "virtualItems",
|
|
36116
|
-
"type": {
|
|
36117
|
-
"text": "Array<VirtualItem>"
|
|
36118
|
-
},
|
|
36119
|
-
"privacy": "public",
|
|
36120
|
-
"default": "[]"
|
|
36121
|
-
},
|
|
36122
|
-
{
|
|
36123
|
-
"kind": "field",
|
|
36124
|
-
"name": "virtualizerController",
|
|
36125
|
-
"type": {
|
|
36126
|
-
"text": "null"
|
|
36127
|
-
},
|
|
36128
|
-
"default": "null"
|
|
36129
|
-
}
|
|
36130
|
-
],
|
|
36131
|
-
"events": [
|
|
36132
|
-
{
|
|
36133
|
-
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
|
36134
|
-
"name": "onscroll",
|
|
36135
|
-
"reactName": "onScroll"
|
|
36136
|
-
}
|
|
36137
|
-
],
|
|
36138
|
-
"attributes": [
|
|
36139
|
-
{
|
|
36140
|
-
"name": "onscroll",
|
|
36141
|
-
"type": {
|
|
36142
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
|
36143
|
-
},
|
|
36144
|
-
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
|
36145
|
-
"default": "null",
|
|
36146
|
-
"fieldName": "onscroll"
|
|
36147
|
-
},
|
|
36148
|
-
{
|
|
36149
|
-
"name": "virtualizerprops",
|
|
36150
|
-
"type": {
|
|
36151
|
-
"text": "VirtualizerProps"
|
|
36152
|
-
},
|
|
36153
|
-
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
|
36154
|
-
"fieldName": "virtualizerProps"
|
|
36155
|
-
},
|
|
36156
|
-
{
|
|
36157
|
-
"name": "setlistdata",
|
|
36158
|
-
"type": {
|
|
36159
|
-
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
|
36160
|
-
},
|
|
36161
|
-
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
|
36162
|
-
"default": "null",
|
|
36163
|
-
"fieldName": "setlistdata"
|
|
36164
|
-
}
|
|
36165
|
-
],
|
|
36166
|
-
"superclass": {
|
|
36167
|
-
"name": "Component",
|
|
36168
|
-
"module": "/src/models"
|
|
36169
|
-
},
|
|
36170
|
-
"tagName": "mdc-virtualizedlist",
|
|
36171
|
-
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
|
|
36172
|
-
"customElement": true
|
|
36173
|
-
}
|
|
36174
|
-
],
|
|
36175
|
-
"exports": [
|
|
36176
|
-
{
|
|
36177
|
-
"kind": "js",
|
|
36178
|
-
"name": "default",
|
|
36179
|
-
"declaration": {
|
|
36180
|
-
"name": "VirtualizedList",
|
|
36181
|
-
"module": "components/virtualizedlist/virtualizedlist.component.js"
|
|
36182
|
-
}
|
|
36183
|
-
}
|
|
36184
|
-
]
|
|
36185
|
-
},
|
|
36186
36141
|
{
|
|
36187
36142
|
"kind": "javascript-module",
|
|
36188
36143
|
"path": "utils/mixins/AutoFocusMixin.js",
|