@momentum-design/components 0.85.2 → 0.85.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +107 -107
- package/dist/browser/index.js.map +3 -3
- package/dist/components/menupopover/menupopover.component.d.ts +2 -0
- package/dist/components/menupopover/menupopover.component.js +13 -2
- package/dist/components/popover/popover.stack.d.ts +7 -0
- package/dist/components/popover/popover.stack.js +9 -0
- package/dist/custom-elements.json +702 -692
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -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",
|
@@ -18207,6 +18207,16 @@
|
|
18207
18207
|
"kind": "method",
|
18208
18208
|
"name": "closeAllMenuPopovers",
|
18209
18209
|
"privacy": "private",
|
18210
|
+
"parameters": [
|
18211
|
+
{
|
18212
|
+
"name": "until",
|
18213
|
+
"optional": true,
|
18214
|
+
"type": {
|
18215
|
+
"text": "Element"
|
18216
|
+
},
|
18217
|
+
"description": "The popover to close until."
|
18218
|
+
}
|
18219
|
+
],
|
18210
18220
|
"description": "Closes all menu popovers in the stack.\nThis method is used to ensure that when a menu item is clicked,\nall other open popovers are closed, maintaining a clean user interface.\nIt iterates through the `popoverStack` and hides each popover until the stack is empty."
|
18211
18221
|
},
|
18212
18222
|
{
|
@@ -24289,59 +24299,165 @@
|
|
24289
24299
|
},
|
24290
24300
|
{
|
24291
24301
|
"kind": "javascript-module",
|
24292
|
-
"path": "components/
|
24302
|
+
"path": "components/progressspinner/progressspinner.component.js",
|
24293
24303
|
"declarations": [
|
24294
24304
|
{
|
24295
24305
|
"kind": "class",
|
24296
|
-
"description": "mdc-
|
24297
|
-
"name": "
|
24306
|
+
"description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
|
24307
|
+
"name": "Progressspinner",
|
24298
24308
|
"cssProperties": [
|
24309
|
+
{
|
24310
|
+
"description": "The size of the spinner.",
|
24311
|
+
"name": "--mdc-spinner-size"
|
24312
|
+
},
|
24313
|
+
{
|
24314
|
+
"description": "The color of the spinner track.",
|
24315
|
+
"name": "--mdc-track-color"
|
24316
|
+
},
|
24317
|
+
{
|
24318
|
+
"description": "The color of the spinner progress.",
|
24319
|
+
"name": "--mdc-progress-color"
|
24320
|
+
},
|
24321
|
+
{
|
24322
|
+
"description": "The color of the spinner when in success state.",
|
24323
|
+
"name": "--mdc-progress-success-color"
|
24324
|
+
},
|
24325
|
+
{
|
24326
|
+
"description": "The color of the spinner when in error state.",
|
24327
|
+
"name": "--mdc-progress-error-color"
|
24328
|
+
},
|
24299
24329
|
{
|
24300
24330
|
"description": "Background color of the progressbar when inactive.",
|
24301
|
-
"name": "--mdc-progressbar-default-background-color"
|
24331
|
+
"name": "--mdc-progressbar-default-background-color",
|
24332
|
+
"inheritedFrom": {
|
24333
|
+
"name": "Progressbar",
|
24334
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24335
|
+
}
|
24302
24336
|
},
|
24303
24337
|
{
|
24304
24338
|
"description": "Background color of the progressbar when active.",
|
24305
|
-
"name": "--mdc-progressbar-default-active-background-color"
|
24339
|
+
"name": "--mdc-progressbar-default-active-background-color",
|
24340
|
+
"inheritedFrom": {
|
24341
|
+
"name": "Progressbar",
|
24342
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24343
|
+
}
|
24306
24344
|
},
|
24307
24345
|
{
|
24308
24346
|
"description": "Background color of the progressbar when in success state.",
|
24309
|
-
"name": "--mdc-progressbar-success-background-color"
|
24347
|
+
"name": "--mdc-progressbar-success-background-color",
|
24348
|
+
"inheritedFrom": {
|
24349
|
+
"name": "Progressbar",
|
24350
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24351
|
+
}
|
24310
24352
|
},
|
24311
24353
|
{
|
24312
24354
|
"description": "Background color of the progressbar when in error state.",
|
24313
|
-
"name": "--mdc-progressbar-error-background-color"
|
24355
|
+
"name": "--mdc-progressbar-error-background-color",
|
24356
|
+
"inheritedFrom": {
|
24357
|
+
"name": "Progressbar",
|
24358
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24359
|
+
}
|
24314
24360
|
},
|
24315
24361
|
{
|
24316
24362
|
"description": "The height of the progressbar.",
|
24317
|
-
"name": "--mdc-progressbar-height"
|
24363
|
+
"name": "--mdc-progressbar-height",
|
24364
|
+
"inheritedFrom": {
|
24365
|
+
"name": "Progressbar",
|
24366
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24367
|
+
}
|
24318
24368
|
},
|
24319
24369
|
{
|
24320
24370
|
"description": "The border radius of the progressbar.",
|
24321
|
-
"name": "--mdc-progressbar-border-radius"
|
24371
|
+
"name": "--mdc-progressbar-border-radius",
|
24372
|
+
"inheritedFrom": {
|
24373
|
+
"name": "Progressbar",
|
24374
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24375
|
+
}
|
24322
24376
|
},
|
24323
24377
|
{
|
24324
24378
|
"description": "Color of the progressbar label text.",
|
24325
|
-
"name": "--mdc-progressbar-label-color"
|
24379
|
+
"name": "--mdc-progressbar-label-color",
|
24380
|
+
"inheritedFrom": {
|
24381
|
+
"name": "Progressbar",
|
24382
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24383
|
+
}
|
24326
24384
|
},
|
24327
24385
|
{
|
24328
24386
|
"description": "Line height of the label text.",
|
24329
|
-
"name": "--mdc-progressbar-label-lineheight"
|
24387
|
+
"name": "--mdc-progressbar-label-lineheight",
|
24388
|
+
"inheritedFrom": {
|
24389
|
+
"name": "Progressbar",
|
24390
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24391
|
+
}
|
24330
24392
|
},
|
24331
24393
|
{
|
24332
24394
|
"description": "Font size of the label text.",
|
24333
|
-
"name": "--mdc-progressbar-label-fontsize"
|
24395
|
+
"name": "--mdc-progressbar-label-fontsize",
|
24396
|
+
"inheritedFrom": {
|
24397
|
+
"name": "Progressbar",
|
24398
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24399
|
+
}
|
24334
24400
|
},
|
24335
24401
|
{
|
24336
24402
|
"description": "Font weight of the label text.",
|
24337
|
-
"name": "--mdc-progressbar-label-fontweight"
|
24403
|
+
"name": "--mdc-progressbar-label-fontweight",
|
24404
|
+
"inheritedFrom": {
|
24405
|
+
"name": "Progressbar",
|
24406
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24407
|
+
}
|
24338
24408
|
},
|
24339
24409
|
{
|
24340
24410
|
"description": "Color of the help text.",
|
24341
|
-
"name": "--mdc-progressbar-help-text-color"
|
24411
|
+
"name": "--mdc-progressbar-help-text-color",
|
24412
|
+
"inheritedFrom": {
|
24413
|
+
"name": "Progressbar",
|
24414
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24415
|
+
}
|
24342
24416
|
}
|
24343
24417
|
],
|
24344
24418
|
"members": [
|
24419
|
+
{
|
24420
|
+
"kind": "method",
|
24421
|
+
"name": "renderProgressSpinner",
|
24422
|
+
"privacy": "private"
|
24423
|
+
},
|
24424
|
+
{
|
24425
|
+
"kind": "method",
|
24426
|
+
"name": "renderErrorState",
|
24427
|
+
"privacy": "private",
|
24428
|
+
"description": "Renders the error state of the progress spinner.",
|
24429
|
+
"return": {
|
24430
|
+
"type": {
|
24431
|
+
"text": ""
|
24432
|
+
}
|
24433
|
+
}
|
24434
|
+
},
|
24435
|
+
{
|
24436
|
+
"kind": "method",
|
24437
|
+
"name": "renderSuccessState",
|
24438
|
+
"privacy": "private",
|
24439
|
+
"description": "Renders the success state of the progress spinner.",
|
24440
|
+
"return": {
|
24441
|
+
"type": {
|
24442
|
+
"text": ""
|
24443
|
+
}
|
24444
|
+
}
|
24445
|
+
},
|
24446
|
+
{
|
24447
|
+
"kind": "field",
|
24448
|
+
"name": "dataAriaLabel",
|
24449
|
+
"type": {
|
24450
|
+
"text": "string | null"
|
24451
|
+
},
|
24452
|
+
"default": "null",
|
24453
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24454
|
+
"attribute": "data-aria-label",
|
24455
|
+
"reflects": true,
|
24456
|
+
"inheritedFrom": {
|
24457
|
+
"name": "DataAriaLabelMixin",
|
24458
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
24459
|
+
}
|
24460
|
+
},
|
24345
24461
|
{
|
24346
24462
|
"kind": "field",
|
24347
24463
|
"name": "variant",
|
@@ -24351,7 +24467,11 @@
|
|
24351
24467
|
"description": "Types of the progressbar\n- **Default**\n- **Inline**",
|
24352
24468
|
"default": "default",
|
24353
24469
|
"attribute": "variant",
|
24354
|
-
"reflects": true
|
24470
|
+
"reflects": true,
|
24471
|
+
"inheritedFrom": {
|
24472
|
+
"name": "Progressbar",
|
24473
|
+
"module": "components/progressbar/progressbar.component.js"
|
24474
|
+
}
|
24355
24475
|
},
|
24356
24476
|
{
|
24357
24477
|
"kind": "field",
|
@@ -24362,7 +24482,11 @@
|
|
24362
24482
|
"default": "'0'",
|
24363
24483
|
"description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
|
24364
24484
|
"attribute": "value",
|
24365
|
-
"reflects": true
|
24485
|
+
"reflects": true,
|
24486
|
+
"inheritedFrom": {
|
24487
|
+
"name": "Progressbar",
|
24488
|
+
"module": "components/progressbar/progressbar.component.js"
|
24489
|
+
}
|
24366
24490
|
},
|
24367
24491
|
{
|
24368
24492
|
"kind": "field",
|
@@ -24372,7 +24496,11 @@
|
|
24372
24496
|
},
|
24373
24497
|
"default": "false",
|
24374
24498
|
"description": "Define error state of the progressbar\n- **true**\n- **false**",
|
24375
|
-
"attribute": "error"
|
24499
|
+
"attribute": "error",
|
24500
|
+
"inheritedFrom": {
|
24501
|
+
"name": "Progressbar",
|
24502
|
+
"module": "components/progressbar/progressbar.component.js"
|
24503
|
+
}
|
24376
24504
|
},
|
24377
24505
|
{
|
24378
24506
|
"kind": "method",
|
@@ -24383,21 +24511,10 @@
|
|
24383
24511
|
"type": {
|
24384
24512
|
"text": ""
|
24385
24513
|
}
|
24386
|
-
}
|
24387
|
-
},
|
24388
|
-
{
|
24389
|
-
"kind": "field",
|
24390
|
-
"name": "dataAriaLabel",
|
24391
|
-
"type": {
|
24392
|
-
"text": "string | null"
|
24393
24514
|
},
|
24394
|
-
"default": "null",
|
24395
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24396
|
-
"attribute": "data-aria-label",
|
24397
|
-
"reflects": true,
|
24398
24515
|
"inheritedFrom": {
|
24399
|
-
"name": "
|
24400
|
-
"module": "
|
24516
|
+
"name": "Progressbar",
|
24517
|
+
"module": "components/progressbar/progressbar.component.js"
|
24401
24518
|
}
|
24402
24519
|
},
|
24403
24520
|
{
|
@@ -24605,7 +24722,27 @@
|
|
24605
24722
|
}
|
24606
24723
|
}
|
24607
24724
|
],
|
24725
|
+
"superclass": {
|
24726
|
+
"name": "Progressbar",
|
24727
|
+
"module": "/src/components/progressbar/progressbar.component"
|
24728
|
+
},
|
24729
|
+
"tagName": "mdc-progressspinner",
|
24730
|
+
"jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
|
24731
|
+
"customElement": true,
|
24608
24732
|
"attributes": [
|
24733
|
+
{
|
24734
|
+
"name": "data-aria-label",
|
24735
|
+
"type": {
|
24736
|
+
"text": "string | null"
|
24737
|
+
},
|
24738
|
+
"default": "null",
|
24739
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24740
|
+
"fieldName": "dataAriaLabel",
|
24741
|
+
"inheritedFrom": {
|
24742
|
+
"name": "DataAriaLabelMixin",
|
24743
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
24744
|
+
}
|
24745
|
+
},
|
24609
24746
|
{
|
24610
24747
|
"name": "variant",
|
24611
24748
|
"type": {
|
@@ -24613,7 +24750,11 @@
|
|
24613
24750
|
},
|
24614
24751
|
"description": "Types of the progressbar\n- **Default**\n- **Inline**",
|
24615
24752
|
"default": "default",
|
24616
|
-
"fieldName": "variant"
|
24753
|
+
"fieldName": "variant",
|
24754
|
+
"inheritedFrom": {
|
24755
|
+
"name": "Progressbar",
|
24756
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24757
|
+
}
|
24617
24758
|
},
|
24618
24759
|
{
|
24619
24760
|
"name": "value",
|
@@ -24622,7 +24763,11 @@
|
|
24622
24763
|
},
|
24623
24764
|
"default": "'0'",
|
24624
24765
|
"description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
|
24625
|
-
"fieldName": "value"
|
24766
|
+
"fieldName": "value",
|
24767
|
+
"inheritedFrom": {
|
24768
|
+
"name": "Progressbar",
|
24769
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24770
|
+
}
|
24626
24771
|
},
|
24627
24772
|
{
|
24628
24773
|
"name": "error",
|
@@ -24631,19 +24776,10 @@
|
|
24631
24776
|
},
|
24632
24777
|
"default": "false",
|
24633
24778
|
"description": "Define error state of the progressbar\n- **true**\n- **false**",
|
24634
|
-
"fieldName": "error"
|
24635
|
-
},
|
24636
|
-
{
|
24637
|
-
"name": "data-aria-label",
|
24638
|
-
"type": {
|
24639
|
-
"text": "string | null"
|
24640
|
-
},
|
24641
|
-
"default": "null",
|
24642
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24643
|
-
"fieldName": "dataAriaLabel",
|
24779
|
+
"fieldName": "error",
|
24644
24780
|
"inheritedFrom": {
|
24645
|
-
"name": "
|
24646
|
-
"module": "src/
|
24781
|
+
"name": "Progressbar",
|
24782
|
+
"module": "src/components/progressbar/progressbar.component.ts"
|
24647
24783
|
}
|
24648
24784
|
},
|
24649
24785
|
{
|
@@ -24758,20 +24894,7 @@
|
|
24758
24894
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24759
24895
|
}
|
24760
24896
|
}
|
24761
|
-
]
|
24762
|
-
"mixins": [
|
24763
|
-
{
|
24764
|
-
"name": "DataAriaLabelMixin",
|
24765
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
24766
|
-
}
|
24767
|
-
],
|
24768
|
-
"superclass": {
|
24769
|
-
"name": "FormfieldWrapper",
|
24770
|
-
"module": "/src/components/formfieldwrapper"
|
24771
|
-
},
|
24772
|
-
"tagName": "mdc-progressbar",
|
24773
|
-
"jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.\n * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.\n * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
|
24774
|
-
"customElement": true
|
24897
|
+
]
|
24775
24898
|
}
|
24776
24899
|
],
|
24777
24900
|
"exports": [
|
@@ -24779,173 +24902,67 @@
|
|
24779
24902
|
"kind": "js",
|
24780
24903
|
"name": "default",
|
24781
24904
|
"declaration": {
|
24782
|
-
"name": "
|
24783
|
-
"module": "components/
|
24905
|
+
"name": "Progressspinner",
|
24906
|
+
"module": "components/progressspinner/progressspinner.component.js"
|
24784
24907
|
}
|
24785
24908
|
}
|
24786
24909
|
]
|
24787
24910
|
},
|
24788
24911
|
{
|
24789
24912
|
"kind": "javascript-module",
|
24790
|
-
"path": "components/
|
24913
|
+
"path": "components/progressbar/progressbar.component.js",
|
24791
24914
|
"declarations": [
|
24792
24915
|
{
|
24793
24916
|
"kind": "class",
|
24794
|
-
"description": "
|
24795
|
-
"name": "
|
24917
|
+
"description": "mdc-progressbar component visually represents a progress indicator, typically used to show\nthe completion state of an ongoing process (e.g., loading, file upload, etc.).\nIt contains an optional label and an optional helper text.\n\n- It supports mainly two types: Default and Inline\n- It supports three validation variants: Default, Success and Error.\n\nThis component is created by extending FormfieldWrapper.",
|
24918
|
+
"name": "Progressbar",
|
24796
24919
|
"cssProperties": [
|
24797
|
-
{
|
24798
|
-
"description": "The size of the spinner.",
|
24799
|
-
"name": "--mdc-spinner-size"
|
24800
|
-
},
|
24801
|
-
{
|
24802
|
-
"description": "The color of the spinner track.",
|
24803
|
-
"name": "--mdc-track-color"
|
24804
|
-
},
|
24805
|
-
{
|
24806
|
-
"description": "The color of the spinner progress.",
|
24807
|
-
"name": "--mdc-progress-color"
|
24808
|
-
},
|
24809
|
-
{
|
24810
|
-
"description": "The color of the spinner when in success state.",
|
24811
|
-
"name": "--mdc-progress-success-color"
|
24812
|
-
},
|
24813
|
-
{
|
24814
|
-
"description": "The color of the spinner when in error state.",
|
24815
|
-
"name": "--mdc-progress-error-color"
|
24816
|
-
},
|
24817
24920
|
{
|
24818
24921
|
"description": "Background color of the progressbar when inactive.",
|
24819
|
-
"name": "--mdc-progressbar-default-background-color"
|
24820
|
-
"inheritedFrom": {
|
24821
|
-
"name": "Progressbar",
|
24822
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24823
|
-
}
|
24922
|
+
"name": "--mdc-progressbar-default-background-color"
|
24824
24923
|
},
|
24825
24924
|
{
|
24826
24925
|
"description": "Background color of the progressbar when active.",
|
24827
|
-
"name": "--mdc-progressbar-default-active-background-color"
|
24828
|
-
"inheritedFrom": {
|
24829
|
-
"name": "Progressbar",
|
24830
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24831
|
-
}
|
24926
|
+
"name": "--mdc-progressbar-default-active-background-color"
|
24832
24927
|
},
|
24833
24928
|
{
|
24834
24929
|
"description": "Background color of the progressbar when in success state.",
|
24835
|
-
"name": "--mdc-progressbar-success-background-color"
|
24836
|
-
"inheritedFrom": {
|
24837
|
-
"name": "Progressbar",
|
24838
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24839
|
-
}
|
24930
|
+
"name": "--mdc-progressbar-success-background-color"
|
24840
24931
|
},
|
24841
24932
|
{
|
24842
24933
|
"description": "Background color of the progressbar when in error state.",
|
24843
|
-
"name": "--mdc-progressbar-error-background-color"
|
24844
|
-
"inheritedFrom": {
|
24845
|
-
"name": "Progressbar",
|
24846
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24847
|
-
}
|
24934
|
+
"name": "--mdc-progressbar-error-background-color"
|
24848
24935
|
},
|
24849
24936
|
{
|
24850
24937
|
"description": "The height of the progressbar.",
|
24851
|
-
"name": "--mdc-progressbar-height"
|
24852
|
-
"inheritedFrom": {
|
24853
|
-
"name": "Progressbar",
|
24854
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24855
|
-
}
|
24938
|
+
"name": "--mdc-progressbar-height"
|
24856
24939
|
},
|
24857
24940
|
{
|
24858
24941
|
"description": "The border radius of the progressbar.",
|
24859
|
-
"name": "--mdc-progressbar-border-radius"
|
24860
|
-
"inheritedFrom": {
|
24861
|
-
"name": "Progressbar",
|
24862
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24863
|
-
}
|
24942
|
+
"name": "--mdc-progressbar-border-radius"
|
24864
24943
|
},
|
24865
24944
|
{
|
24866
24945
|
"description": "Color of the progressbar label text.",
|
24867
|
-
"name": "--mdc-progressbar-label-color"
|
24868
|
-
"inheritedFrom": {
|
24869
|
-
"name": "Progressbar",
|
24870
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24871
|
-
}
|
24946
|
+
"name": "--mdc-progressbar-label-color"
|
24872
24947
|
},
|
24873
24948
|
{
|
24874
24949
|
"description": "Line height of the label text.",
|
24875
|
-
"name": "--mdc-progressbar-label-lineheight"
|
24876
|
-
"inheritedFrom": {
|
24877
|
-
"name": "Progressbar",
|
24878
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24879
|
-
}
|
24950
|
+
"name": "--mdc-progressbar-label-lineheight"
|
24880
24951
|
},
|
24881
24952
|
{
|
24882
24953
|
"description": "Font size of the label text.",
|
24883
|
-
"name": "--mdc-progressbar-label-fontsize"
|
24884
|
-
"inheritedFrom": {
|
24885
|
-
"name": "Progressbar",
|
24886
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24887
|
-
}
|
24954
|
+
"name": "--mdc-progressbar-label-fontsize"
|
24888
24955
|
},
|
24889
24956
|
{
|
24890
24957
|
"description": "Font weight of the label text.",
|
24891
|
-
"name": "--mdc-progressbar-label-fontweight"
|
24892
|
-
"inheritedFrom": {
|
24893
|
-
"name": "Progressbar",
|
24894
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24895
|
-
}
|
24958
|
+
"name": "--mdc-progressbar-label-fontweight"
|
24896
24959
|
},
|
24897
24960
|
{
|
24898
24961
|
"description": "Color of the help text.",
|
24899
|
-
"name": "--mdc-progressbar-help-text-color"
|
24900
|
-
"inheritedFrom": {
|
24901
|
-
"name": "Progressbar",
|
24902
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
24903
|
-
}
|
24962
|
+
"name": "--mdc-progressbar-help-text-color"
|
24904
24963
|
}
|
24905
24964
|
],
|
24906
24965
|
"members": [
|
24907
|
-
{
|
24908
|
-
"kind": "method",
|
24909
|
-
"name": "renderProgressSpinner",
|
24910
|
-
"privacy": "private"
|
24911
|
-
},
|
24912
|
-
{
|
24913
|
-
"kind": "method",
|
24914
|
-
"name": "renderErrorState",
|
24915
|
-
"privacy": "private",
|
24916
|
-
"description": "Renders the error state of the progress spinner.",
|
24917
|
-
"return": {
|
24918
|
-
"type": {
|
24919
|
-
"text": ""
|
24920
|
-
}
|
24921
|
-
}
|
24922
|
-
},
|
24923
|
-
{
|
24924
|
-
"kind": "method",
|
24925
|
-
"name": "renderSuccessState",
|
24926
|
-
"privacy": "private",
|
24927
|
-
"description": "Renders the success state of the progress spinner.",
|
24928
|
-
"return": {
|
24929
|
-
"type": {
|
24930
|
-
"text": ""
|
24931
|
-
}
|
24932
|
-
}
|
24933
|
-
},
|
24934
|
-
{
|
24935
|
-
"kind": "field",
|
24936
|
-
"name": "dataAriaLabel",
|
24937
|
-
"type": {
|
24938
|
-
"text": "string | null"
|
24939
|
-
},
|
24940
|
-
"default": "null",
|
24941
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24942
|
-
"attribute": "data-aria-label",
|
24943
|
-
"reflects": true,
|
24944
|
-
"inheritedFrom": {
|
24945
|
-
"name": "DataAriaLabelMixin",
|
24946
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
24947
|
-
}
|
24948
|
-
},
|
24949
24966
|
{
|
24950
24967
|
"kind": "field",
|
24951
24968
|
"name": "variant",
|
@@ -24955,11 +24972,7 @@
|
|
24955
24972
|
"description": "Types of the progressbar\n- **Default**\n- **Inline**",
|
24956
24973
|
"default": "default",
|
24957
24974
|
"attribute": "variant",
|
24958
|
-
"reflects": true
|
24959
|
-
"inheritedFrom": {
|
24960
|
-
"name": "Progressbar",
|
24961
|
-
"module": "components/progressbar/progressbar.component.js"
|
24962
|
-
}
|
24975
|
+
"reflects": true
|
24963
24976
|
},
|
24964
24977
|
{
|
24965
24978
|
"kind": "field",
|
@@ -24970,11 +24983,7 @@
|
|
24970
24983
|
"default": "'0'",
|
24971
24984
|
"description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
|
24972
24985
|
"attribute": "value",
|
24973
|
-
"reflects": true
|
24974
|
-
"inheritedFrom": {
|
24975
|
-
"name": "Progressbar",
|
24976
|
-
"module": "components/progressbar/progressbar.component.js"
|
24977
|
-
}
|
24986
|
+
"reflects": true
|
24978
24987
|
},
|
24979
24988
|
{
|
24980
24989
|
"kind": "field",
|
@@ -24984,11 +24993,7 @@
|
|
24984
24993
|
},
|
24985
24994
|
"default": "false",
|
24986
24995
|
"description": "Define error state of the progressbar\n- **true**\n- **false**",
|
24987
|
-
"attribute": "error"
|
24988
|
-
"inheritedFrom": {
|
24989
|
-
"name": "Progressbar",
|
24990
|
-
"module": "components/progressbar/progressbar.component.js"
|
24991
|
-
}
|
24996
|
+
"attribute": "error"
|
24992
24997
|
},
|
24993
24998
|
{
|
24994
24999
|
"kind": "method",
|
@@ -24999,10 +25004,21 @@
|
|
24999
25004
|
"type": {
|
25000
25005
|
"text": ""
|
25001
25006
|
}
|
25007
|
+
}
|
25008
|
+
},
|
25009
|
+
{
|
25010
|
+
"kind": "field",
|
25011
|
+
"name": "dataAriaLabel",
|
25012
|
+
"type": {
|
25013
|
+
"text": "string | null"
|
25002
25014
|
},
|
25015
|
+
"default": "null",
|
25016
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
25017
|
+
"attribute": "data-aria-label",
|
25018
|
+
"reflects": true,
|
25003
25019
|
"inheritedFrom": {
|
25004
|
-
"name": "
|
25005
|
-
"module": "
|
25020
|
+
"name": "DataAriaLabelMixin",
|
25021
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
25006
25022
|
}
|
25007
25023
|
},
|
25008
25024
|
{
|
@@ -25210,27 +25226,7 @@
|
|
25210
25226
|
}
|
25211
25227
|
}
|
25212
25228
|
],
|
25213
|
-
"superclass": {
|
25214
|
-
"name": "Progressbar",
|
25215
|
-
"module": "/src/components/progressbar/progressbar.component"
|
25216
|
-
},
|
25217
|
-
"tagName": "mdc-progressspinner",
|
25218
|
-
"jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
|
25219
|
-
"customElement": true,
|
25220
25229
|
"attributes": [
|
25221
|
-
{
|
25222
|
-
"name": "data-aria-label",
|
25223
|
-
"type": {
|
25224
|
-
"text": "string | null"
|
25225
|
-
},
|
25226
|
-
"default": "null",
|
25227
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
25228
|
-
"fieldName": "dataAriaLabel",
|
25229
|
-
"inheritedFrom": {
|
25230
|
-
"name": "DataAriaLabelMixin",
|
25231
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
25232
|
-
}
|
25233
|
-
},
|
25234
25230
|
{
|
25235
25231
|
"name": "variant",
|
25236
25232
|
"type": {
|
@@ -25238,11 +25234,7 @@
|
|
25238
25234
|
},
|
25239
25235
|
"description": "Types of the progressbar\n- **Default**\n- **Inline**",
|
25240
25236
|
"default": "default",
|
25241
|
-
"fieldName": "variant"
|
25242
|
-
"inheritedFrom": {
|
25243
|
-
"name": "Progressbar",
|
25244
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
25245
|
-
}
|
25237
|
+
"fieldName": "variant"
|
25246
25238
|
},
|
25247
25239
|
{
|
25248
25240
|
"name": "value",
|
@@ -25251,11 +25243,7 @@
|
|
25251
25243
|
},
|
25252
25244
|
"default": "'0'",
|
25253
25245
|
"description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
|
25254
|
-
"fieldName": "value"
|
25255
|
-
"inheritedFrom": {
|
25256
|
-
"name": "Progressbar",
|
25257
|
-
"module": "src/components/progressbar/progressbar.component.ts"
|
25258
|
-
}
|
25246
|
+
"fieldName": "value"
|
25259
25247
|
},
|
25260
25248
|
{
|
25261
25249
|
"name": "error",
|
@@ -25264,10 +25252,19 @@
|
|
25264
25252
|
},
|
25265
25253
|
"default": "false",
|
25266
25254
|
"description": "Define error state of the progressbar\n- **true**\n- **false**",
|
25267
|
-
"fieldName": "error"
|
25255
|
+
"fieldName": "error"
|
25256
|
+
},
|
25257
|
+
{
|
25258
|
+
"name": "data-aria-label",
|
25259
|
+
"type": {
|
25260
|
+
"text": "string | null"
|
25261
|
+
},
|
25262
|
+
"default": "null",
|
25263
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
25264
|
+
"fieldName": "dataAriaLabel",
|
25268
25265
|
"inheritedFrom": {
|
25269
|
-
"name": "
|
25270
|
-
"module": "src/
|
25266
|
+
"name": "DataAriaLabelMixin",
|
25267
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
25271
25268
|
}
|
25272
25269
|
},
|
25273
25270
|
{
|
@@ -25382,7 +25379,20 @@
|
|
25382
25379
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25383
25380
|
}
|
25384
25381
|
}
|
25385
|
-
]
|
25382
|
+
],
|
25383
|
+
"mixins": [
|
25384
|
+
{
|
25385
|
+
"name": "DataAriaLabelMixin",
|
25386
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
25387
|
+
}
|
25388
|
+
],
|
25389
|
+
"superclass": {
|
25390
|
+
"name": "FormfieldWrapper",
|
25391
|
+
"module": "/src/components/formfieldwrapper"
|
25392
|
+
},
|
25393
|
+
"tagName": "mdc-progressbar",
|
25394
|
+
"jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.\n * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.\n * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
|
25395
|
+
"customElement": true
|
25386
25396
|
}
|
25387
25397
|
],
|
25388
25398
|
"exports": [
|
@@ -25390,8 +25400,8 @@
|
|
25390
25400
|
"kind": "js",
|
25391
25401
|
"name": "default",
|
25392
25402
|
"declaration": {
|
25393
|
-
"name": "
|
25394
|
-
"module": "components/
|
25403
|
+
"name": "Progressbar",
|
25404
|
+
"module": "components/progressbar/progressbar.component.js"
|
25395
25405
|
}
|
25396
25406
|
}
|
25397
25407
|
]
|
@@ -32528,28 +32538,24 @@
|
|
32528
32538
|
},
|
32529
32539
|
{
|
32530
32540
|
"kind": "javascript-module",
|
32531
|
-
"path": "components/
|
32541
|
+
"path": "components/toggletip/toggletip.component.js",
|
32532
32542
|
"declarations": [
|
32533
32543
|
{
|
32534
32544
|
"kind": "class",
|
32535
|
-
"description": "A
|
32536
|
-
"name": "
|
32545
|
+
"description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
32546
|
+
"name": "ToggleTip",
|
32537
32547
|
"cssProperties": [
|
32538
32548
|
{
|
32539
|
-
"description": "The maximum width of the
|
32540
|
-
"name": "--mdc-
|
32541
|
-
},
|
32542
|
-
{
|
32543
|
-
"description": "The padding of the tooltip.",
|
32544
|
-
"name": "--mdc-tooltip-padding"
|
32549
|
+
"description": "The maximum width of the toggletip.",
|
32550
|
+
"name": "--mdc-toggletip-max-width"
|
32545
32551
|
},
|
32546
32552
|
{
|
32547
|
-
"description": "The text color of the
|
32548
|
-
"name": "--mdc-
|
32553
|
+
"description": "The text color of the toggletip.",
|
32554
|
+
"name": "--mdc-toggletip-text-color"
|
32549
32555
|
},
|
32550
32556
|
{
|
32551
|
-
"description": "The text color of the
|
32552
|
-
"name": "--mdc-
|
32557
|
+
"description": "The text color of the toggletip when the color is contrast.",
|
32558
|
+
"name": "--mdc-toggletip-text-color-contrast"
|
32553
32559
|
},
|
32554
32560
|
{
|
32555
32561
|
"description": "radius of the arrow border",
|
@@ -32632,18 +32638,17 @@
|
|
32632
32638
|
}
|
32633
32639
|
}
|
32634
32640
|
],
|
32635
|
-
"
|
32641
|
+
"slots": [
|
32636
32642
|
{
|
32637
|
-
"
|
32638
|
-
"name": "
|
32639
|
-
"
|
32640
|
-
"
|
32641
|
-
|
32642
|
-
|
32643
|
-
|
32644
|
-
|
32645
|
-
|
32646
|
-
},
|
32643
|
+
"description": "Default slot for the toggletip content",
|
32644
|
+
"name": "",
|
32645
|
+
"inheritedFrom": {
|
32646
|
+
"name": "Popover",
|
32647
|
+
"module": "src/components/popover/popover.component.ts"
|
32648
|
+
}
|
32649
|
+
}
|
32650
|
+
],
|
32651
|
+
"members": [
|
32647
32652
|
{
|
32648
32653
|
"kind": "field",
|
32649
32654
|
"name": "defaultSlotNodes",
|
@@ -32653,76 +32658,50 @@
|
|
32653
32658
|
"privacy": "private"
|
32654
32659
|
},
|
32655
32660
|
{
|
32656
|
-
"kind": "
|
32657
|
-
"name": "
|
32658
|
-
"
|
32659
|
-
|
32660
|
-
"type": {
|
32661
|
-
"text": ""
|
32662
|
-
}
|
32663
|
-
}
|
32664
|
-
},
|
32665
|
-
{
|
32666
|
-
"kind": "method",
|
32667
|
-
"name": "setTooltipType",
|
32668
|
-
"privacy": "private",
|
32669
|
-
"return": {
|
32670
|
-
"type": {
|
32671
|
-
"text": "void"
|
32672
|
-
}
|
32661
|
+
"kind": "field",
|
32662
|
+
"name": "screenreaderAnnouncerIdentity",
|
32663
|
+
"type": {
|
32664
|
+
"text": "string | undefined"
|
32673
32665
|
},
|
32674
|
-
"
|
32675
|
-
|
32676
|
-
|
32677
|
-
"type": {
|
32678
|
-
"text": "TooltipType"
|
32679
|
-
},
|
32680
|
-
"description": "The type to set."
|
32681
|
-
}
|
32682
|
-
],
|
32683
|
-
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
32666
|
+
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
32667
|
+
"attribute": "screenreader-announcer-identity",
|
32668
|
+
"reflects": true
|
32684
32669
|
},
|
32685
32670
|
{
|
32686
|
-
"kind": "
|
32687
|
-
"name": "
|
32688
|
-
"
|
32689
|
-
|
32690
|
-
"type": {
|
32691
|
-
"text": "void"
|
32692
|
-
}
|
32671
|
+
"kind": "field",
|
32672
|
+
"name": "placement",
|
32673
|
+
"type": {
|
32674
|
+
"text": "PopoverPlacement"
|
32693
32675
|
},
|
32694
|
-
"description": "
|
32676
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
32677
|
+
"default": "bottom",
|
32678
|
+
"attribute": "placement",
|
32679
|
+
"reflects": true,
|
32680
|
+
"inheritedFrom": {
|
32681
|
+
"name": "Popover",
|
32682
|
+
"module": "components/popover/popover.component.js"
|
32683
|
+
}
|
32695
32684
|
},
|
32696
32685
|
{
|
32697
32686
|
"kind": "method",
|
32698
|
-
"name": "
|
32687
|
+
"name": "getToggleTipText",
|
32699
32688
|
"privacy": "private",
|
32700
32689
|
"return": {
|
32701
32690
|
"type": {
|
32702
|
-
"text": "
|
32691
|
+
"text": ""
|
32703
32692
|
}
|
32704
|
-
}
|
32705
|
-
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
32693
|
+
}
|
32706
32694
|
},
|
32707
32695
|
{
|
32708
32696
|
"kind": "method",
|
32709
|
-
"name": "
|
32697
|
+
"name": "onPlacementUpdated",
|
32710
32698
|
"privacy": "private",
|
32711
32699
|
"return": {
|
32712
32700
|
"type": {
|
32713
32701
|
"text": "void"
|
32714
32702
|
}
|
32715
32703
|
},
|
32716
|
-
"
|
32717
|
-
{
|
32718
|
-
"name": "changedProperties",
|
32719
|
-
"type": {
|
32720
|
-
"text": "PropertyValues"
|
32721
|
-
},
|
32722
|
-
"description": "The changed properties."
|
32723
|
-
}
|
32724
|
-
],
|
32725
|
-
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
32704
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
|
32726
32705
|
},
|
32727
32706
|
{
|
32728
32707
|
"kind": "field",
|
@@ -33315,21 +33294,6 @@
|
|
33315
33294
|
"module": "components/popover/popover.component.js"
|
33316
33295
|
}
|
33317
33296
|
},
|
33318
|
-
{
|
33319
|
-
"kind": "field",
|
33320
|
-
"name": "placement",
|
33321
|
-
"type": {
|
33322
|
-
"text": "PopoverPlacement"
|
33323
|
-
},
|
33324
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
33325
|
-
"default": "bottom",
|
33326
|
-
"attribute": "placement",
|
33327
|
-
"reflects": true,
|
33328
|
-
"inheritedFrom": {
|
33329
|
-
"name": "Popover",
|
33330
|
-
"module": "components/popover/popover.component.js"
|
33331
|
-
}
|
33332
|
-
},
|
33333
33297
|
{
|
33334
33298
|
"kind": "field",
|
33335
33299
|
"name": "color",
|
@@ -33897,7 +33861,7 @@
|
|
33897
33861
|
],
|
33898
33862
|
"events": [
|
33899
33863
|
{
|
33900
|
-
"description": "(React: onShown) This event is dispatched when the
|
33864
|
+
"description": "(React: onShown) This event is dispatched when the toggletip is shown",
|
33901
33865
|
"name": "shown",
|
33902
33866
|
"reactName": "onShown",
|
33903
33867
|
"inheritedFrom": {
|
@@ -33906,7 +33870,7 @@
|
|
33906
33870
|
}
|
33907
33871
|
},
|
33908
33872
|
{
|
33909
|
-
"description": "(React: onHidden) This event is dispatched when the
|
33873
|
+
"description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
|
33910
33874
|
"name": "hidden",
|
33911
33875
|
"reactName": "onHidden",
|
33912
33876
|
"inheritedFrom": {
|
@@ -33915,7 +33879,7 @@
|
|
33915
33879
|
}
|
33916
33880
|
},
|
33917
33881
|
{
|
33918
|
-
"description": "(React: onCreated) This event is dispatched when the
|
33882
|
+
"description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
|
33919
33883
|
"name": "created",
|
33920
33884
|
"reactName": "onCreated",
|
33921
33885
|
"inheritedFrom": {
|
@@ -33924,7 +33888,7 @@
|
|
33924
33888
|
}
|
33925
33889
|
},
|
33926
33890
|
{
|
33927
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
33891
|
+
"description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
|
33928
33892
|
"name": "destroyed",
|
33929
33893
|
"reactName": "onDestroyed",
|
33930
33894
|
"inheritedFrom": {
|
@@ -33935,13 +33899,25 @@
|
|
33935
33899
|
],
|
33936
33900
|
"attributes": [
|
33937
33901
|
{
|
33938
|
-
"name": "
|
33902
|
+
"name": "screenreader-announcer-identity",
|
33939
33903
|
"type": {
|
33940
|
-
"text": "
|
33904
|
+
"text": "string | undefined"
|
33941
33905
|
},
|
33942
|
-
"description": "
|
33943
|
-
"
|
33944
|
-
|
33906
|
+
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
33907
|
+
"fieldName": "screenreaderAnnouncerIdentity"
|
33908
|
+
},
|
33909
|
+
{
|
33910
|
+
"name": "placement",
|
33911
|
+
"type": {
|
33912
|
+
"text": "PopoverPlacement"
|
33913
|
+
},
|
33914
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
33915
|
+
"default": "bottom",
|
33916
|
+
"fieldName": "placement",
|
33917
|
+
"inheritedFrom": {
|
33918
|
+
"name": "Popover",
|
33919
|
+
"module": "src/components/popover/popover.component.ts"
|
33920
|
+
}
|
33945
33921
|
},
|
33946
33922
|
{
|
33947
33923
|
"name": "should-focus-trap-wrap",
|
@@ -33995,19 +33971,6 @@
|
|
33995
33971
|
"module": "src/components/popover/popover.component.ts"
|
33996
33972
|
}
|
33997
33973
|
},
|
33998
|
-
{
|
33999
|
-
"name": "placement",
|
34000
|
-
"type": {
|
34001
|
-
"text": "PopoverPlacement"
|
34002
|
-
},
|
34003
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
34004
|
-
"default": "bottom",
|
34005
|
-
"fieldName": "placement",
|
34006
|
-
"inheritedFrom": {
|
34007
|
-
"name": "Popover",
|
34008
|
-
"module": "src/components/popover/popover.component.ts"
|
34009
|
-
}
|
34010
|
-
},
|
34011
33974
|
{
|
34012
33975
|
"name": "color",
|
34013
33976
|
"type": {
|
@@ -34338,152 +34301,8 @@
|
|
34338
34301
|
"name": "Popover",
|
34339
34302
|
"module": "/src/components/popover/popover.component"
|
34340
34303
|
},
|
34341
|
-
"tagName": "mdc-
|
34342
|
-
"jsDoc": "/**\n * A
|
34343
|
-
"customElement": true,
|
34344
|
-
"slots": [
|
34345
|
-
{
|
34346
|
-
"description": "Default slot for the popover content",
|
34347
|
-
"name": "",
|
34348
|
-
"inheritedFrom": {
|
34349
|
-
"name": "Popover",
|
34350
|
-
"module": "src/components/popover/popover.component.ts"
|
34351
|
-
}
|
34352
|
-
}
|
34353
|
-
]
|
34354
|
-
}
|
34355
|
-
],
|
34356
|
-
"exports": [
|
34357
|
-
{
|
34358
|
-
"kind": "js",
|
34359
|
-
"name": "default",
|
34360
|
-
"declaration": {
|
34361
|
-
"name": "Tooltip",
|
34362
|
-
"module": "components/tooltip/tooltip.component.js"
|
34363
|
-
}
|
34364
|
-
}
|
34365
|
-
]
|
34366
|
-
},
|
34367
|
-
{
|
34368
|
-
"kind": "javascript-module",
|
34369
|
-
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
34370
|
-
"declarations": [
|
34371
|
-
{
|
34372
|
-
"kind": "class",
|
34373
|
-
"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.",
|
34374
|
-
"name": "VirtualizedList",
|
34375
|
-
"slots": [
|
34376
|
-
{
|
34377
|
-
"description": "Client side List with nested list items.",
|
34378
|
-
"name": ""
|
34379
|
-
}
|
34380
|
-
],
|
34381
|
-
"members": [
|
34382
|
-
{
|
34383
|
-
"kind": "field",
|
34384
|
-
"name": "onscroll",
|
34385
|
-
"type": {
|
34386
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
34387
|
-
},
|
34388
|
-
"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.",
|
34389
|
-
"default": "null",
|
34390
|
-
"attribute": "onscroll"
|
34391
|
-
},
|
34392
|
-
{
|
34393
|
-
"kind": "field",
|
34394
|
-
"name": "virtualizerProps",
|
34395
|
-
"type": {
|
34396
|
-
"text": "VirtualizerProps"
|
34397
|
-
},
|
34398
|
-
"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)",
|
34399
|
-
"attribute": "virtualizerprops"
|
34400
|
-
},
|
34401
|
-
{
|
34402
|
-
"kind": "field",
|
34403
|
-
"name": "setlistdata",
|
34404
|
-
"type": {
|
34405
|
-
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
34406
|
-
},
|
34407
|
-
"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.",
|
34408
|
-
"default": "null",
|
34409
|
-
"attribute": "setlistdata"
|
34410
|
-
},
|
34411
|
-
{
|
34412
|
-
"kind": "field",
|
34413
|
-
"name": "scrollElementRef",
|
34414
|
-
"type": {
|
34415
|
-
"text": "Ref<HTMLDivElement>"
|
34416
|
-
},
|
34417
|
-
"privacy": "public"
|
34418
|
-
},
|
34419
|
-
{
|
34420
|
-
"kind": "field",
|
34421
|
-
"name": "virtualizer",
|
34422
|
-
"type": {
|
34423
|
-
"text": "Virtualizer<Element, Element> | null"
|
34424
|
-
},
|
34425
|
-
"privacy": "public",
|
34426
|
-
"default": "null"
|
34427
|
-
},
|
34428
|
-
{
|
34429
|
-
"kind": "field",
|
34430
|
-
"name": "virtualItems",
|
34431
|
-
"type": {
|
34432
|
-
"text": "Array<VirtualItem>"
|
34433
|
-
},
|
34434
|
-
"privacy": "public",
|
34435
|
-
"default": "[]"
|
34436
|
-
},
|
34437
|
-
{
|
34438
|
-
"kind": "field",
|
34439
|
-
"name": "virtualizerController",
|
34440
|
-
"type": {
|
34441
|
-
"text": "null"
|
34442
|
-
},
|
34443
|
-
"default": "null"
|
34444
|
-
}
|
34445
|
-
],
|
34446
|
-
"events": [
|
34447
|
-
{
|
34448
|
-
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
34449
|
-
"name": "onscroll",
|
34450
|
-
"reactName": "onScroll"
|
34451
|
-
}
|
34452
|
-
],
|
34453
|
-
"attributes": [
|
34454
|
-
{
|
34455
|
-
"name": "onscroll",
|
34456
|
-
"type": {
|
34457
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
34458
|
-
},
|
34459
|
-
"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.",
|
34460
|
-
"default": "null",
|
34461
|
-
"fieldName": "onscroll"
|
34462
|
-
},
|
34463
|
-
{
|
34464
|
-
"name": "virtualizerprops",
|
34465
|
-
"type": {
|
34466
|
-
"text": "VirtualizerProps"
|
34467
|
-
},
|
34468
|
-
"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)",
|
34469
|
-
"fieldName": "virtualizerProps"
|
34470
|
-
},
|
34471
|
-
{
|
34472
|
-
"name": "setlistdata",
|
34473
|
-
"type": {
|
34474
|
-
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
34475
|
-
},
|
34476
|
-
"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.",
|
34477
|
-
"default": "null",
|
34478
|
-
"fieldName": "setlistdata"
|
34479
|
-
}
|
34480
|
-
],
|
34481
|
-
"superclass": {
|
34482
|
-
"name": "Component",
|
34483
|
-
"module": "/src/models"
|
34484
|
-
},
|
34485
|
-
"tagName": "mdc-virtualizedlist",
|
34486
|
-
"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 */",
|
34304
|
+
"tagName": "mdc-toggletip",
|
34305
|
+
"jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
|
34487
34306
|
"customElement": true
|
34488
34307
|
}
|
34489
34308
|
],
|
@@ -34492,32 +34311,36 @@
|
|
34492
34311
|
"kind": "js",
|
34493
34312
|
"name": "default",
|
34494
34313
|
"declaration": {
|
34495
|
-
"name": "
|
34496
|
-
"module": "components/
|
34314
|
+
"name": "ToggleTip",
|
34315
|
+
"module": "components/toggletip/toggletip.component.js"
|
34497
34316
|
}
|
34498
34317
|
}
|
34499
34318
|
]
|
34500
34319
|
},
|
34501
34320
|
{
|
34502
34321
|
"kind": "javascript-module",
|
34503
|
-
"path": "components/
|
34322
|
+
"path": "components/tooltip/tooltip.component.js",
|
34504
34323
|
"declarations": [
|
34505
34324
|
{
|
34506
34325
|
"kind": "class",
|
34507
|
-
"description": "A
|
34508
|
-
"name": "
|
34326
|
+
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
34327
|
+
"name": "Tooltip",
|
34509
34328
|
"cssProperties": [
|
34510
34329
|
{
|
34511
|
-
"description": "The maximum width of the
|
34512
|
-
"name": "--mdc-
|
34330
|
+
"description": "The maximum width of the tooltip.",
|
34331
|
+
"name": "--mdc-tooltip-max-width"
|
34513
34332
|
},
|
34514
34333
|
{
|
34515
|
-
"description": "The
|
34516
|
-
"name": "--mdc-
|
34334
|
+
"description": "The padding of the tooltip.",
|
34335
|
+
"name": "--mdc-tooltip-padding"
|
34517
34336
|
},
|
34518
34337
|
{
|
34519
|
-
"description": "The text color of the
|
34520
|
-
"name": "--mdc-
|
34338
|
+
"description": "The text color of the tooltip.",
|
34339
|
+
"name": "--mdc-tooltip-text-color"
|
34340
|
+
},
|
34341
|
+
{
|
34342
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
34343
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
34521
34344
|
},
|
34522
34345
|
{
|
34523
34346
|
"description": "radius of the arrow border",
|
@@ -34600,53 +34423,29 @@
|
|
34600
34423
|
}
|
34601
34424
|
}
|
34602
34425
|
],
|
34603
|
-
"slots": [
|
34604
|
-
{
|
34605
|
-
"description": "Default slot for the toggletip content",
|
34606
|
-
"name": "",
|
34607
|
-
"inheritedFrom": {
|
34608
|
-
"name": "Popover",
|
34609
|
-
"module": "src/components/popover/popover.component.ts"
|
34610
|
-
}
|
34611
|
-
}
|
34612
|
-
],
|
34613
34426
|
"members": [
|
34614
34427
|
{
|
34615
34428
|
"kind": "field",
|
34616
|
-
"name": "
|
34617
|
-
"type": {
|
34618
|
-
"text": "Array<Node>"
|
34619
|
-
},
|
34620
|
-
"privacy": "private"
|
34621
|
-
},
|
34622
|
-
{
|
34623
|
-
"kind": "field",
|
34624
|
-
"name": "screenreaderAnnouncerIdentity",
|
34429
|
+
"name": "tooltipType",
|
34625
34430
|
"type": {
|
34626
|
-
"text": "
|
34431
|
+
"text": "TooltipType"
|
34627
34432
|
},
|
34628
|
-
"description": "
|
34629
|
-
"
|
34433
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
34434
|
+
"default": "'description'",
|
34435
|
+
"attribute": "tooltip-type",
|
34630
34436
|
"reflects": true
|
34631
34437
|
},
|
34632
34438
|
{
|
34633
34439
|
"kind": "field",
|
34634
|
-
"name": "
|
34440
|
+
"name": "defaultSlotNodes",
|
34635
34441
|
"type": {
|
34636
|
-
"text": "
|
34442
|
+
"text": "Array<Node>"
|
34637
34443
|
},
|
34638
|
-
"
|
34639
|
-
"default": "bottom",
|
34640
|
-
"attribute": "placement",
|
34641
|
-
"reflects": true,
|
34642
|
-
"inheritedFrom": {
|
34643
|
-
"name": "Popover",
|
34644
|
-
"module": "components/popover/popover.component.js"
|
34645
|
-
}
|
34444
|
+
"privacy": "private"
|
34646
34445
|
},
|
34647
34446
|
{
|
34648
34447
|
"kind": "method",
|
34649
|
-
"name": "
|
34448
|
+
"name": "getTooltipText",
|
34650
34449
|
"privacy": "private",
|
34651
34450
|
"return": {
|
34652
34451
|
"type": {
|
@@ -34654,6 +34453,37 @@
|
|
34654
34453
|
}
|
34655
34454
|
}
|
34656
34455
|
},
|
34456
|
+
{
|
34457
|
+
"kind": "method",
|
34458
|
+
"name": "setTooltipType",
|
34459
|
+
"privacy": "private",
|
34460
|
+
"return": {
|
34461
|
+
"type": {
|
34462
|
+
"text": "void"
|
34463
|
+
}
|
34464
|
+
},
|
34465
|
+
"parameters": [
|
34466
|
+
{
|
34467
|
+
"name": "type",
|
34468
|
+
"type": {
|
34469
|
+
"text": "TooltipType"
|
34470
|
+
},
|
34471
|
+
"description": "The type to set."
|
34472
|
+
}
|
34473
|
+
],
|
34474
|
+
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
34475
|
+
},
|
34476
|
+
{
|
34477
|
+
"kind": "method",
|
34478
|
+
"name": "onIdUpdated",
|
34479
|
+
"privacy": "private",
|
34480
|
+
"return": {
|
34481
|
+
"type": {
|
34482
|
+
"text": "void"
|
34483
|
+
}
|
34484
|
+
},
|
34485
|
+
"description": "Updates the tooltip id if it is empty."
|
34486
|
+
},
|
34657
34487
|
{
|
34658
34488
|
"kind": "method",
|
34659
34489
|
"name": "onPlacementUpdated",
|
@@ -34663,7 +34493,27 @@
|
|
34663
34493
|
"text": "void"
|
34664
34494
|
}
|
34665
34495
|
},
|
34666
|
-
"description": "Updates the placement attribute if it is not a valid placement.\
|
34496
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
34497
|
+
},
|
34498
|
+
{
|
34499
|
+
"kind": "method",
|
34500
|
+
"name": "onTooltipTypeUpdated",
|
34501
|
+
"privacy": "private",
|
34502
|
+
"return": {
|
34503
|
+
"type": {
|
34504
|
+
"text": "void"
|
34505
|
+
}
|
34506
|
+
},
|
34507
|
+
"parameters": [
|
34508
|
+
{
|
34509
|
+
"name": "changedProperties",
|
34510
|
+
"type": {
|
34511
|
+
"text": "PropertyValues"
|
34512
|
+
},
|
34513
|
+
"description": "The changed properties."
|
34514
|
+
}
|
34515
|
+
],
|
34516
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
34667
34517
|
},
|
34668
34518
|
{
|
34669
34519
|
"kind": "field",
|
@@ -35256,6 +35106,21 @@
|
|
35256
35106
|
"module": "components/popover/popover.component.js"
|
35257
35107
|
}
|
35258
35108
|
},
|
35109
|
+
{
|
35110
|
+
"kind": "field",
|
35111
|
+
"name": "placement",
|
35112
|
+
"type": {
|
35113
|
+
"text": "PopoverPlacement"
|
35114
|
+
},
|
35115
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
35116
|
+
"default": "bottom",
|
35117
|
+
"attribute": "placement",
|
35118
|
+
"reflects": true,
|
35119
|
+
"inheritedFrom": {
|
35120
|
+
"name": "Popover",
|
35121
|
+
"module": "components/popover/popover.component.js"
|
35122
|
+
}
|
35123
|
+
},
|
35259
35124
|
{
|
35260
35125
|
"kind": "field",
|
35261
35126
|
"name": "color",
|
@@ -35823,7 +35688,7 @@
|
|
35823
35688
|
],
|
35824
35689
|
"events": [
|
35825
35690
|
{
|
35826
|
-
"description": "(React: onShown) This event is dispatched when the
|
35691
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
35827
35692
|
"name": "shown",
|
35828
35693
|
"reactName": "onShown",
|
35829
35694
|
"inheritedFrom": {
|
@@ -35832,7 +35697,7 @@
|
|
35832
35697
|
}
|
35833
35698
|
},
|
35834
35699
|
{
|
35835
|
-
"description": "(React: onHidden) This event is dispatched when the
|
35700
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
35836
35701
|
"name": "hidden",
|
35837
35702
|
"reactName": "onHidden",
|
35838
35703
|
"inheritedFrom": {
|
@@ -35841,7 +35706,7 @@
|
|
35841
35706
|
}
|
35842
35707
|
},
|
35843
35708
|
{
|
35844
|
-
"description": "(React: onCreated) This event is dispatched when the
|
35709
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
35845
35710
|
"name": "created",
|
35846
35711
|
"reactName": "onCreated",
|
35847
35712
|
"inheritedFrom": {
|
@@ -35850,7 +35715,7 @@
|
|
35850
35715
|
}
|
35851
35716
|
},
|
35852
35717
|
{
|
35853
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
35718
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
35854
35719
|
"name": "destroyed",
|
35855
35720
|
"reactName": "onDestroyed",
|
35856
35721
|
"inheritedFrom": {
|
@@ -35861,25 +35726,13 @@
|
|
35861
35726
|
],
|
35862
35727
|
"attributes": [
|
35863
35728
|
{
|
35864
|
-
"name": "
|
35865
|
-
"type": {
|
35866
|
-
"text": "string | undefined"
|
35867
|
-
},
|
35868
|
-
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
35869
|
-
"fieldName": "screenreaderAnnouncerIdentity"
|
35870
|
-
},
|
35871
|
-
{
|
35872
|
-
"name": "placement",
|
35729
|
+
"name": "tooltip-type",
|
35873
35730
|
"type": {
|
35874
|
-
"text": "
|
35731
|
+
"text": "TooltipType"
|
35875
35732
|
},
|
35876
|
-
"description": "The
|
35877
|
-
"default": "
|
35878
|
-
"fieldName": "
|
35879
|
-
"inheritedFrom": {
|
35880
|
-
"name": "Popover",
|
35881
|
-
"module": "src/components/popover/popover.component.ts"
|
35882
|
-
}
|
35733
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
35734
|
+
"default": "'description'",
|
35735
|
+
"fieldName": "tooltipType"
|
35883
35736
|
},
|
35884
35737
|
{
|
35885
35738
|
"name": "should-focus-trap-wrap",
|
@@ -35933,6 +35786,19 @@
|
|
35933
35786
|
"module": "src/components/popover/popover.component.ts"
|
35934
35787
|
}
|
35935
35788
|
},
|
35789
|
+
{
|
35790
|
+
"name": "placement",
|
35791
|
+
"type": {
|
35792
|
+
"text": "PopoverPlacement"
|
35793
|
+
},
|
35794
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
35795
|
+
"default": "bottom",
|
35796
|
+
"fieldName": "placement",
|
35797
|
+
"inheritedFrom": {
|
35798
|
+
"name": "Popover",
|
35799
|
+
"module": "src/components/popover/popover.component.ts"
|
35800
|
+
}
|
35801
|
+
},
|
35936
35802
|
{
|
35937
35803
|
"name": "color",
|
35938
35804
|
"type": {
|
@@ -36263,8 +36129,152 @@
|
|
36263
36129
|
"name": "Popover",
|
36264
36130
|
"module": "/src/components/popover/popover.component"
|
36265
36131
|
},
|
36266
|
-
"tagName": "mdc-
|
36267
|
-
"jsDoc": "/**\n * A
|
36132
|
+
"tagName": "mdc-tooltip",
|
36133
|
+
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
36134
|
+
"customElement": true,
|
36135
|
+
"slots": [
|
36136
|
+
{
|
36137
|
+
"description": "Default slot for the popover content",
|
36138
|
+
"name": "",
|
36139
|
+
"inheritedFrom": {
|
36140
|
+
"name": "Popover",
|
36141
|
+
"module": "src/components/popover/popover.component.ts"
|
36142
|
+
}
|
36143
|
+
}
|
36144
|
+
]
|
36145
|
+
}
|
36146
|
+
],
|
36147
|
+
"exports": [
|
36148
|
+
{
|
36149
|
+
"kind": "js",
|
36150
|
+
"name": "default",
|
36151
|
+
"declaration": {
|
36152
|
+
"name": "Tooltip",
|
36153
|
+
"module": "components/tooltip/tooltip.component.js"
|
36154
|
+
}
|
36155
|
+
}
|
36156
|
+
]
|
36157
|
+
},
|
36158
|
+
{
|
36159
|
+
"kind": "javascript-module",
|
36160
|
+
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
36161
|
+
"declarations": [
|
36162
|
+
{
|
36163
|
+
"kind": "class",
|
36164
|
+
"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.",
|
36165
|
+
"name": "VirtualizedList",
|
36166
|
+
"slots": [
|
36167
|
+
{
|
36168
|
+
"description": "Client side List with nested list items.",
|
36169
|
+
"name": ""
|
36170
|
+
}
|
36171
|
+
],
|
36172
|
+
"members": [
|
36173
|
+
{
|
36174
|
+
"kind": "field",
|
36175
|
+
"name": "onscroll",
|
36176
|
+
"type": {
|
36177
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
36178
|
+
},
|
36179
|
+
"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.",
|
36180
|
+
"default": "null",
|
36181
|
+
"attribute": "onscroll"
|
36182
|
+
},
|
36183
|
+
{
|
36184
|
+
"kind": "field",
|
36185
|
+
"name": "virtualizerProps",
|
36186
|
+
"type": {
|
36187
|
+
"text": "VirtualizerProps"
|
36188
|
+
},
|
36189
|
+
"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)",
|
36190
|
+
"attribute": "virtualizerprops"
|
36191
|
+
},
|
36192
|
+
{
|
36193
|
+
"kind": "field",
|
36194
|
+
"name": "setlistdata",
|
36195
|
+
"type": {
|
36196
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
36197
|
+
},
|
36198
|
+
"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.",
|
36199
|
+
"default": "null",
|
36200
|
+
"attribute": "setlistdata"
|
36201
|
+
},
|
36202
|
+
{
|
36203
|
+
"kind": "field",
|
36204
|
+
"name": "scrollElementRef",
|
36205
|
+
"type": {
|
36206
|
+
"text": "Ref<HTMLDivElement>"
|
36207
|
+
},
|
36208
|
+
"privacy": "public"
|
36209
|
+
},
|
36210
|
+
{
|
36211
|
+
"kind": "field",
|
36212
|
+
"name": "virtualizer",
|
36213
|
+
"type": {
|
36214
|
+
"text": "Virtualizer<Element, Element> | null"
|
36215
|
+
},
|
36216
|
+
"privacy": "public",
|
36217
|
+
"default": "null"
|
36218
|
+
},
|
36219
|
+
{
|
36220
|
+
"kind": "field",
|
36221
|
+
"name": "virtualItems",
|
36222
|
+
"type": {
|
36223
|
+
"text": "Array<VirtualItem>"
|
36224
|
+
},
|
36225
|
+
"privacy": "public",
|
36226
|
+
"default": "[]"
|
36227
|
+
},
|
36228
|
+
{
|
36229
|
+
"kind": "field",
|
36230
|
+
"name": "virtualizerController",
|
36231
|
+
"type": {
|
36232
|
+
"text": "null"
|
36233
|
+
},
|
36234
|
+
"default": "null"
|
36235
|
+
}
|
36236
|
+
],
|
36237
|
+
"events": [
|
36238
|
+
{
|
36239
|
+
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
36240
|
+
"name": "onscroll",
|
36241
|
+
"reactName": "onScroll"
|
36242
|
+
}
|
36243
|
+
],
|
36244
|
+
"attributes": [
|
36245
|
+
{
|
36246
|
+
"name": "onscroll",
|
36247
|
+
"type": {
|
36248
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
36249
|
+
},
|
36250
|
+
"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.",
|
36251
|
+
"default": "null",
|
36252
|
+
"fieldName": "onscroll"
|
36253
|
+
},
|
36254
|
+
{
|
36255
|
+
"name": "virtualizerprops",
|
36256
|
+
"type": {
|
36257
|
+
"text": "VirtualizerProps"
|
36258
|
+
},
|
36259
|
+
"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)",
|
36260
|
+
"fieldName": "virtualizerProps"
|
36261
|
+
},
|
36262
|
+
{
|
36263
|
+
"name": "setlistdata",
|
36264
|
+
"type": {
|
36265
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
36266
|
+
},
|
36267
|
+
"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.",
|
36268
|
+
"default": "null",
|
36269
|
+
"fieldName": "setlistdata"
|
36270
|
+
}
|
36271
|
+
],
|
36272
|
+
"superclass": {
|
36273
|
+
"name": "Component",
|
36274
|
+
"module": "/src/models"
|
36275
|
+
},
|
36276
|
+
"tagName": "mdc-virtualizedlist",
|
36277
|
+
"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 */",
|
36268
36278
|
"customElement": true
|
36269
36279
|
}
|
36270
36280
|
],
|
@@ -36273,8 +36283,8 @@
|
|
36273
36283
|
"kind": "js",
|
36274
36284
|
"name": "default",
|
36275
36285
|
"declaration": {
|
36276
|
-
"name": "
|
36277
|
-
"module": "components/
|
36286
|
+
"name": "VirtualizedList",
|
36287
|
+
"module": "components/virtualizedlist/virtualizedlist.component.js"
|
36278
36288
|
}
|
36279
36289
|
}
|
36280
36290
|
]
|