@momentum-design/components 0.28.5 → 0.28.7
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 +67 -59
- package/dist/browser/index.js.map +3 -3
- package/dist/components/checkbox/checkbox.component.d.ts +1 -0
- package/dist/components/checkbox/checkbox.component.js +9 -5
- package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +1 -1
- package/dist/components/formfieldwrapper/formfieldwrapper.component.js +2 -0
- package/dist/components/radio/radio.component.d.ts +1 -0
- package/dist/components/radio/radio.component.js +9 -5
- package/dist/components/toggle/toggle.styles.js +10 -2
- package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +13 -3
- package/dist/components/virtualizedlist/virtualizedlist.component.js +42 -24
- package/dist/components/virtualizedlist/virtualizedlist.helper.test.d.ts +2 -2
- package/dist/components/virtualizedlist/virtualizedlist.helper.test.js +7 -7
- package/dist/custom-elements.json +391 -465
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/virtualizedlist/virtualizedlist.test.component.d.ts +0 -17
- package/dist/components/virtualizedlist/virtualizedlist.test.component.js +0 -79
@@ -2739,6 +2739,11 @@
|
|
2739
2739
|
],
|
2740
2740
|
"description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
|
2741
2741
|
},
|
2742
|
+
{
|
2743
|
+
"kind": "field",
|
2744
|
+
"name": "renderLabelAndHelperText",
|
2745
|
+
"privacy": "private"
|
2746
|
+
},
|
2742
2747
|
{
|
2743
2748
|
"kind": "field",
|
2744
2749
|
"name": "helpTextType",
|
@@ -3238,6 +3243,252 @@
|
|
3238
3243
|
}
|
3239
3244
|
]
|
3240
3245
|
},
|
3246
|
+
{
|
3247
|
+
"kind": "javascript-module",
|
3248
|
+
"path": "components/divider/divider.component.js",
|
3249
|
+
"declarations": [
|
3250
|
+
{
|
3251
|
+
"kind": "class",
|
3252
|
+
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
3253
|
+
"name": "Divider",
|
3254
|
+
"cssProperties": [
|
3255
|
+
{
|
3256
|
+
"description": "background color of the divider",
|
3257
|
+
"name": "--mdc-divider-background-color"
|
3258
|
+
},
|
3259
|
+
{
|
3260
|
+
"description": "width of the divider",
|
3261
|
+
"name": "--mdc-divider-width"
|
3262
|
+
},
|
3263
|
+
{
|
3264
|
+
"description": "gradient of the horizontal divider",
|
3265
|
+
"name": "--mdc-divider-horizontal-gradient"
|
3266
|
+
},
|
3267
|
+
{
|
3268
|
+
"description": "gradient of the vertical divider",
|
3269
|
+
"name": "--mdc-divider-vertical-gradient"
|
3270
|
+
},
|
3271
|
+
{
|
3272
|
+
"description": "font size of label in the text divider",
|
3273
|
+
"name": "--mdc-divider-text-size"
|
3274
|
+
},
|
3275
|
+
{
|
3276
|
+
"description": "font color of label in the text divider",
|
3277
|
+
"name": "--mdc-divider-text-color"
|
3278
|
+
},
|
3279
|
+
{
|
3280
|
+
"description": "left and right margin of label in the text divider",
|
3281
|
+
"name": "--mdc-divider-text-margin"
|
3282
|
+
},
|
3283
|
+
{
|
3284
|
+
"description": "line height of label in the text divider",
|
3285
|
+
"name": "--mdc-divider-text-line-height"
|
3286
|
+
},
|
3287
|
+
{
|
3288
|
+
"description": "background color of the grabber button in rest state",
|
3289
|
+
"name": "--mdc-divider-grabber-button-background-color-normal"
|
3290
|
+
},
|
3291
|
+
{
|
3292
|
+
"description": "background color of the grabber button in hover state",
|
3293
|
+
"name": "--mdc-divider-grabber-button-background-color-hover"
|
3294
|
+
},
|
3295
|
+
{
|
3296
|
+
"description": "background color of the grabber button in pressed state",
|
3297
|
+
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
3298
|
+
},
|
3299
|
+
{
|
3300
|
+
"description": "border color of the grabber button",
|
3301
|
+
"name": "--mdc-divider-grabber-button-border-color"
|
3302
|
+
},
|
3303
|
+
{
|
3304
|
+
"description": "border radius of the grabber button",
|
3305
|
+
"name": "--mdc-divider-grabber-button-border-radius"
|
3306
|
+
}
|
3307
|
+
],
|
3308
|
+
"members": [
|
3309
|
+
{
|
3310
|
+
"kind": "field",
|
3311
|
+
"name": "orientation",
|
3312
|
+
"type": {
|
3313
|
+
"text": "DividerOrientation"
|
3314
|
+
},
|
3315
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3316
|
+
"default": "horizontal",
|
3317
|
+
"attribute": "orientation",
|
3318
|
+
"reflects": true
|
3319
|
+
},
|
3320
|
+
{
|
3321
|
+
"kind": "field",
|
3322
|
+
"name": "variant",
|
3323
|
+
"type": {
|
3324
|
+
"text": "DividerVariant"
|
3325
|
+
},
|
3326
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3327
|
+
"default": "solid",
|
3328
|
+
"attribute": "variant",
|
3329
|
+
"reflects": true
|
3330
|
+
},
|
3331
|
+
{
|
3332
|
+
"kind": "field",
|
3333
|
+
"name": "arrowDirection",
|
3334
|
+
"type": {
|
3335
|
+
"text": "Directions"
|
3336
|
+
},
|
3337
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3338
|
+
"default": "'negative'",
|
3339
|
+
"attribute": "arrow-direction",
|
3340
|
+
"reflects": true
|
3341
|
+
},
|
3342
|
+
{
|
3343
|
+
"kind": "field",
|
3344
|
+
"name": "buttonPosition",
|
3345
|
+
"type": {
|
3346
|
+
"text": "Directions"
|
3347
|
+
},
|
3348
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3349
|
+
"default": "'negative'",
|
3350
|
+
"attribute": "button-position",
|
3351
|
+
"reflects": true
|
3352
|
+
},
|
3353
|
+
{
|
3354
|
+
"kind": "method",
|
3355
|
+
"name": "setVariant",
|
3356
|
+
"privacy": "private",
|
3357
|
+
"parameters": [
|
3358
|
+
{
|
3359
|
+
"name": "variant",
|
3360
|
+
"type": {
|
3361
|
+
"text": "DividerVariant"
|
3362
|
+
},
|
3363
|
+
"description": "The variant to set."
|
3364
|
+
}
|
3365
|
+
],
|
3366
|
+
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
3367
|
+
},
|
3368
|
+
{
|
3369
|
+
"kind": "method",
|
3370
|
+
"name": "setOrientation",
|
3371
|
+
"privacy": "private",
|
3372
|
+
"parameters": [
|
3373
|
+
{
|
3374
|
+
"name": "orientation",
|
3375
|
+
"type": {
|
3376
|
+
"text": "DividerOrientation"
|
3377
|
+
},
|
3378
|
+
"description": "The orientation to set."
|
3379
|
+
}
|
3380
|
+
],
|
3381
|
+
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
3382
|
+
},
|
3383
|
+
{
|
3384
|
+
"kind": "method",
|
3385
|
+
"name": "ensureValidDirections",
|
3386
|
+
"privacy": "private",
|
3387
|
+
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
3388
|
+
"parameters": [
|
3389
|
+
{
|
3390
|
+
"description": "The buttonPosition to set.",
|
3391
|
+
"name": "buttonPosition"
|
3392
|
+
},
|
3393
|
+
{
|
3394
|
+
"description": "The arrowDirection to set.",
|
3395
|
+
"name": "arrowDirection"
|
3396
|
+
}
|
3397
|
+
]
|
3398
|
+
},
|
3399
|
+
{
|
3400
|
+
"kind": "method",
|
3401
|
+
"name": "setGrabberButton",
|
3402
|
+
"privacy": "private",
|
3403
|
+
"return": {
|
3404
|
+
"type": {
|
3405
|
+
"text": "void"
|
3406
|
+
}
|
3407
|
+
},
|
3408
|
+
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
3409
|
+
},
|
3410
|
+
{
|
3411
|
+
"kind": "method",
|
3412
|
+
"name": "getArrowIcon",
|
3413
|
+
"privacy": "private",
|
3414
|
+
"return": {
|
3415
|
+
"type": {
|
3416
|
+
"text": ""
|
3417
|
+
}
|
3418
|
+
},
|
3419
|
+
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
3420
|
+
},
|
3421
|
+
{
|
3422
|
+
"kind": "method",
|
3423
|
+
"name": "inferDividerType",
|
3424
|
+
"privacy": "private",
|
3425
|
+
"description": "Infers the type of divider based on the kind of slot present.",
|
3426
|
+
"parameters": [
|
3427
|
+
{
|
3428
|
+
"description": "default slot of divider",
|
3429
|
+
"name": "slot"
|
3430
|
+
}
|
3431
|
+
]
|
3432
|
+
}
|
3433
|
+
],
|
3434
|
+
"attributes": [
|
3435
|
+
{
|
3436
|
+
"name": "orientation",
|
3437
|
+
"type": {
|
3438
|
+
"text": "DividerOrientation"
|
3439
|
+
},
|
3440
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3441
|
+
"default": "horizontal",
|
3442
|
+
"fieldName": "orientation"
|
3443
|
+
},
|
3444
|
+
{
|
3445
|
+
"name": "variant",
|
3446
|
+
"type": {
|
3447
|
+
"text": "DividerVariant"
|
3448
|
+
},
|
3449
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3450
|
+
"default": "solid",
|
3451
|
+
"fieldName": "variant"
|
3452
|
+
},
|
3453
|
+
{
|
3454
|
+
"name": "arrow-direction",
|
3455
|
+
"type": {
|
3456
|
+
"text": "Directions"
|
3457
|
+
},
|
3458
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3459
|
+
"default": "'negative'",
|
3460
|
+
"fieldName": "arrowDirection"
|
3461
|
+
},
|
3462
|
+
{
|
3463
|
+
"name": "button-position",
|
3464
|
+
"type": {
|
3465
|
+
"text": "Directions"
|
3466
|
+
},
|
3467
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3468
|
+
"default": "'negative'",
|
3469
|
+
"fieldName": "buttonPosition"
|
3470
|
+
}
|
3471
|
+
],
|
3472
|
+
"superclass": {
|
3473
|
+
"name": "Component",
|
3474
|
+
"module": "/src/models"
|
3475
|
+
},
|
3476
|
+
"tagName": "mdc-divider",
|
3477
|
+
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
3478
|
+
"customElement": true
|
3479
|
+
}
|
3480
|
+
],
|
3481
|
+
"exports": [
|
3482
|
+
{
|
3483
|
+
"kind": "js",
|
3484
|
+
"name": "default",
|
3485
|
+
"declaration": {
|
3486
|
+
"name": "Divider",
|
3487
|
+
"module": "components/divider/divider.component.js"
|
3488
|
+
}
|
3489
|
+
}
|
3490
|
+
]
|
3491
|
+
},
|
3241
3492
|
{
|
3242
3493
|
"kind": "javascript-module",
|
3243
3494
|
"path": "components/formfieldgroup/formfieldgroup.component.js",
|
@@ -3390,411 +3641,165 @@
|
|
3390
3641
|
"kind": "method",
|
3391
3642
|
"name": "renderHelpTextIcon",
|
3392
3643
|
"privacy": "protected",
|
3393
|
-
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
3394
|
-
"return": {
|
3395
|
-
"type": {
|
3396
|
-
"text": ""
|
3397
|
-
}
|
3398
|
-
},
|
3399
|
-
"inheritedFrom": {
|
3400
|
-
"name": "FormfieldWrapper",
|
3401
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3402
|
-
}
|
3403
|
-
},
|
3404
|
-
{
|
3405
|
-
"kind": "method",
|
3406
|
-
"name": "renderHelpText",
|
3407
|
-
"privacy": "protected",
|
3408
|
-
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
3409
|
-
"return": {
|
3410
|
-
"type": {
|
3411
|
-
"text": ""
|
3412
|
-
}
|
3413
|
-
},
|
3414
|
-
"inheritedFrom": {
|
3415
|
-
"name": "FormfieldWrapper",
|
3416
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3417
|
-
}
|
3418
|
-
},
|
3419
|
-
{
|
3420
|
-
"kind": "method",
|
3421
|
-
"name": "renderLabel",
|
3422
|
-
"privacy": "protected",
|
3423
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
3424
|
-
"return": {
|
3425
|
-
"type": {
|
3426
|
-
"text": ""
|
3427
|
-
}
|
3428
|
-
},
|
3429
|
-
"inheritedFrom": {
|
3430
|
-
"name": "FormfieldWrapper",
|
3431
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3432
|
-
}
|
3433
|
-
},
|
3434
|
-
{
|
3435
|
-
"kind": "method",
|
3436
|
-
"name": "renderHelperText",
|
3437
|
-
"privacy": "protected",
|
3438
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
3439
|
-
"return": {
|
3440
|
-
"type": {
|
3441
|
-
"text": ""
|
3442
|
-
}
|
3443
|
-
},
|
3444
|
-
"inheritedFrom": {
|
3445
|
-
"name": "FormfieldWrapper",
|
3446
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3447
|
-
}
|
3448
|
-
}
|
3449
|
-
],
|
3450
|
-
"mixins": [
|
3451
|
-
{
|
3452
|
-
"name": "DataAriaLabelMixin",
|
3453
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
3454
|
-
}
|
3455
|
-
],
|
3456
|
-
"superclass": {
|
3457
|
-
"name": "FormfieldWrapper",
|
3458
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
3459
|
-
},
|
3460
|
-
"tagName": "mdc-formfieldgroup",
|
3461
|
-
"jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n */",
|
3462
|
-
"customElement": true,
|
3463
|
-
"attributes": [
|
3464
|
-
{
|
3465
|
-
"name": "data-aria-label",
|
3466
|
-
"type": {
|
3467
|
-
"text": "string | null"
|
3468
|
-
},
|
3469
|
-
"default": "null",
|
3470
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
3471
|
-
"fieldName": "dataAriaLabel",
|
3472
|
-
"inheritedFrom": {
|
3473
|
-
"name": "DataAriaLabelMixin",
|
3474
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
3475
|
-
}
|
3476
|
-
},
|
3477
|
-
{
|
3478
|
-
"name": "disabled",
|
3479
|
-
"type": {
|
3480
|
-
"text": "boolean"
|
3481
|
-
},
|
3482
|
-
"default": "false",
|
3483
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
3484
|
-
"fieldName": "disabled",
|
3485
|
-
"inheritedFrom": {
|
3486
|
-
"name": "DisabledMixin",
|
3487
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
3488
|
-
}
|
3489
|
-
},
|
3490
|
-
{
|
3491
|
-
"name": "label",
|
3492
|
-
"type": {
|
3493
|
-
"text": "string | undefined"
|
3494
|
-
},
|
3495
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
3496
|
-
"fieldName": "label",
|
3497
|
-
"inheritedFrom": {
|
3498
|
-
"name": "FormfieldWrapper",
|
3499
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3500
|
-
}
|
3501
|
-
},
|
3502
|
-
{
|
3503
|
-
"name": "required-label",
|
3504
|
-
"type": {
|
3505
|
-
"text": "string | undefined"
|
3506
|
-
},
|
3507
|
-
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
3508
|
-
"fieldName": "requiredLabel",
|
3509
|
-
"inheritedFrom": {
|
3510
|
-
"name": "FormfieldWrapper",
|
3511
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3512
|
-
}
|
3513
|
-
},
|
3514
|
-
{
|
3515
|
-
"name": "id",
|
3516
|
-
"type": {
|
3517
|
-
"text": "string"
|
3518
|
-
},
|
3519
|
-
"default": "''",
|
3520
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
3521
|
-
"fieldName": "id",
|
3522
|
-
"inheritedFrom": {
|
3523
|
-
"name": "FormfieldWrapper",
|
3524
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3525
|
-
}
|
3526
|
-
},
|
3527
|
-
{
|
3528
|
-
"name": "help-text-type",
|
3529
|
-
"type": {
|
3530
|
-
"text": "ValidationType"
|
3531
|
-
},
|
3532
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
3533
|
-
"fieldName": "helpTextType",
|
3534
|
-
"inheritedFrom": {
|
3535
|
-
"name": "FormfieldWrapper",
|
3536
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3537
|
-
}
|
3538
|
-
},
|
3539
|
-
{
|
3540
|
-
"name": "help-text",
|
3541
|
-
"type": {
|
3542
|
-
"text": "string | undefined"
|
3543
|
-
},
|
3544
|
-
"description": "The help text that is displayed below the input field.",
|
3545
|
-
"fieldName": "helpText",
|
3546
|
-
"inheritedFrom": {
|
3547
|
-
"name": "FormfieldWrapper",
|
3548
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3549
|
-
}
|
3550
|
-
}
|
3551
|
-
]
|
3552
|
-
}
|
3553
|
-
],
|
3554
|
-
"exports": [
|
3555
|
-
{
|
3556
|
-
"kind": "js",
|
3557
|
-
"name": "default",
|
3558
|
-
"declaration": {
|
3559
|
-
"name": "FormfieldGroup",
|
3560
|
-
"module": "components/formfieldgroup/formfieldgroup.component.js"
|
3561
|
-
}
|
3562
|
-
}
|
3563
|
-
]
|
3564
|
-
},
|
3565
|
-
{
|
3566
|
-
"kind": "javascript-module",
|
3567
|
-
"path": "components/divider/divider.component.js",
|
3568
|
-
"declarations": [
|
3569
|
-
{
|
3570
|
-
"kind": "class",
|
3571
|
-
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
3572
|
-
"name": "Divider",
|
3573
|
-
"cssProperties": [
|
3574
|
-
{
|
3575
|
-
"description": "background color of the divider",
|
3576
|
-
"name": "--mdc-divider-background-color"
|
3577
|
-
},
|
3578
|
-
{
|
3579
|
-
"description": "width of the divider",
|
3580
|
-
"name": "--mdc-divider-width"
|
3581
|
-
},
|
3582
|
-
{
|
3583
|
-
"description": "gradient of the horizontal divider",
|
3584
|
-
"name": "--mdc-divider-horizontal-gradient"
|
3585
|
-
},
|
3586
|
-
{
|
3587
|
-
"description": "gradient of the vertical divider",
|
3588
|
-
"name": "--mdc-divider-vertical-gradient"
|
3589
|
-
},
|
3590
|
-
{
|
3591
|
-
"description": "font size of label in the text divider",
|
3592
|
-
"name": "--mdc-divider-text-size"
|
3593
|
-
},
|
3594
|
-
{
|
3595
|
-
"description": "font color of label in the text divider",
|
3596
|
-
"name": "--mdc-divider-text-color"
|
3597
|
-
},
|
3598
|
-
{
|
3599
|
-
"description": "left and right margin of label in the text divider",
|
3600
|
-
"name": "--mdc-divider-text-margin"
|
3601
|
-
},
|
3602
|
-
{
|
3603
|
-
"description": "line height of label in the text divider",
|
3604
|
-
"name": "--mdc-divider-text-line-height"
|
3605
|
-
},
|
3606
|
-
{
|
3607
|
-
"description": "background color of the grabber button in rest state",
|
3608
|
-
"name": "--mdc-divider-grabber-button-background-color-normal"
|
3609
|
-
},
|
3610
|
-
{
|
3611
|
-
"description": "background color of the grabber button in hover state",
|
3612
|
-
"name": "--mdc-divider-grabber-button-background-color-hover"
|
3613
|
-
},
|
3614
|
-
{
|
3615
|
-
"description": "background color of the grabber button in pressed state",
|
3616
|
-
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
3617
|
-
},
|
3618
|
-
{
|
3619
|
-
"description": "border color of the grabber button",
|
3620
|
-
"name": "--mdc-divider-grabber-button-border-color"
|
3621
|
-
},
|
3622
|
-
{
|
3623
|
-
"description": "border radius of the grabber button",
|
3624
|
-
"name": "--mdc-divider-grabber-button-border-radius"
|
3625
|
-
}
|
3626
|
-
],
|
3627
|
-
"members": [
|
3628
|
-
{
|
3629
|
-
"kind": "field",
|
3630
|
-
"name": "orientation",
|
3631
|
-
"type": {
|
3632
|
-
"text": "DividerOrientation"
|
3633
|
-
},
|
3634
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3635
|
-
"default": "horizontal",
|
3636
|
-
"attribute": "orientation",
|
3637
|
-
"reflects": true
|
3638
|
-
},
|
3639
|
-
{
|
3640
|
-
"kind": "field",
|
3641
|
-
"name": "variant",
|
3642
|
-
"type": {
|
3643
|
-
"text": "DividerVariant"
|
3644
|
-
},
|
3645
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3646
|
-
"default": "solid",
|
3647
|
-
"attribute": "variant",
|
3648
|
-
"reflects": true
|
3649
|
-
},
|
3650
|
-
{
|
3651
|
-
"kind": "field",
|
3652
|
-
"name": "arrowDirection",
|
3653
|
-
"type": {
|
3654
|
-
"text": "Directions"
|
3655
|
-
},
|
3656
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3657
|
-
"default": "'negative'",
|
3658
|
-
"attribute": "arrow-direction",
|
3659
|
-
"reflects": true
|
3660
|
-
},
|
3661
|
-
{
|
3662
|
-
"kind": "field",
|
3663
|
-
"name": "buttonPosition",
|
3664
|
-
"type": {
|
3665
|
-
"text": "Directions"
|
3666
|
-
},
|
3667
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3668
|
-
"default": "'negative'",
|
3669
|
-
"attribute": "button-position",
|
3670
|
-
"reflects": true
|
3671
|
-
},
|
3672
|
-
{
|
3673
|
-
"kind": "method",
|
3674
|
-
"name": "setVariant",
|
3675
|
-
"privacy": "private",
|
3676
|
-
"parameters": [
|
3677
|
-
{
|
3678
|
-
"name": "variant",
|
3679
|
-
"type": {
|
3680
|
-
"text": "DividerVariant"
|
3681
|
-
},
|
3682
|
-
"description": "The variant to set."
|
3683
|
-
}
|
3684
|
-
],
|
3685
|
-
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
3686
|
-
},
|
3687
|
-
{
|
3688
|
-
"kind": "method",
|
3689
|
-
"name": "setOrientation",
|
3690
|
-
"privacy": "private",
|
3691
|
-
"parameters": [
|
3692
|
-
{
|
3693
|
-
"name": "orientation",
|
3694
|
-
"type": {
|
3695
|
-
"text": "DividerOrientation"
|
3696
|
-
},
|
3697
|
-
"description": "The orientation to set."
|
3698
|
-
}
|
3699
|
-
],
|
3700
|
-
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
3701
|
-
},
|
3702
|
-
{
|
3703
|
-
"kind": "method",
|
3704
|
-
"name": "ensureValidDirections",
|
3705
|
-
"privacy": "private",
|
3706
|
-
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
3707
|
-
"parameters": [
|
3708
|
-
{
|
3709
|
-
"description": "The buttonPosition to set.",
|
3710
|
-
"name": "buttonPosition"
|
3711
|
-
},
|
3712
|
-
{
|
3713
|
-
"description": "The arrowDirection to set.",
|
3714
|
-
"name": "arrowDirection"
|
3644
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
3645
|
+
"return": {
|
3646
|
+
"type": {
|
3647
|
+
"text": ""
|
3715
3648
|
}
|
3716
|
-
|
3649
|
+
},
|
3650
|
+
"inheritedFrom": {
|
3651
|
+
"name": "FormfieldWrapper",
|
3652
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3653
|
+
}
|
3717
3654
|
},
|
3718
3655
|
{
|
3719
3656
|
"kind": "method",
|
3720
|
-
"name": "
|
3721
|
-
"privacy": "
|
3657
|
+
"name": "renderHelpText",
|
3658
|
+
"privacy": "protected",
|
3659
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
3722
3660
|
"return": {
|
3723
3661
|
"type": {
|
3724
|
-
"text": "
|
3662
|
+
"text": ""
|
3725
3663
|
}
|
3726
3664
|
},
|
3727
|
-
"
|
3665
|
+
"inheritedFrom": {
|
3666
|
+
"name": "FormfieldWrapper",
|
3667
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3668
|
+
}
|
3728
3669
|
},
|
3729
3670
|
{
|
3730
3671
|
"kind": "method",
|
3731
|
-
"name": "
|
3732
|
-
"privacy": "
|
3672
|
+
"name": "renderLabel",
|
3673
|
+
"privacy": "protected",
|
3674
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
3733
3675
|
"return": {
|
3734
3676
|
"type": {
|
3735
3677
|
"text": ""
|
3736
3678
|
}
|
3737
3679
|
},
|
3738
|
-
"
|
3680
|
+
"inheritedFrom": {
|
3681
|
+
"name": "FormfieldWrapper",
|
3682
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3683
|
+
}
|
3739
3684
|
},
|
3740
3685
|
{
|
3741
3686
|
"kind": "method",
|
3742
|
-
"name": "
|
3743
|
-
"privacy": "
|
3744
|
-
"description": "
|
3745
|
-
"
|
3746
|
-
{
|
3747
|
-
"
|
3748
|
-
"name": "slot"
|
3687
|
+
"name": "renderHelperText",
|
3688
|
+
"privacy": "protected",
|
3689
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
3690
|
+
"return": {
|
3691
|
+
"type": {
|
3692
|
+
"text": ""
|
3749
3693
|
}
|
3750
|
-
|
3694
|
+
},
|
3695
|
+
"inheritedFrom": {
|
3696
|
+
"name": "FormfieldWrapper",
|
3697
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3698
|
+
}
|
3699
|
+
}
|
3700
|
+
],
|
3701
|
+
"mixins": [
|
3702
|
+
{
|
3703
|
+
"name": "DataAriaLabelMixin",
|
3704
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
3751
3705
|
}
|
3752
3706
|
],
|
3707
|
+
"superclass": {
|
3708
|
+
"name": "FormfieldWrapper",
|
3709
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
3710
|
+
},
|
3711
|
+
"tagName": "mdc-formfieldgroup",
|
3712
|
+
"jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n */",
|
3713
|
+
"customElement": true,
|
3753
3714
|
"attributes": [
|
3754
3715
|
{
|
3755
|
-
"name": "
|
3716
|
+
"name": "data-aria-label",
|
3756
3717
|
"type": {
|
3757
|
-
"text": "
|
3718
|
+
"text": "string | null"
|
3758
3719
|
},
|
3759
|
-
"
|
3760
|
-
"
|
3761
|
-
"fieldName": "
|
3720
|
+
"default": "null",
|
3721
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
3722
|
+
"fieldName": "dataAriaLabel",
|
3723
|
+
"inheritedFrom": {
|
3724
|
+
"name": "DataAriaLabelMixin",
|
3725
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
3726
|
+
}
|
3762
3727
|
},
|
3763
3728
|
{
|
3764
|
-
"name": "
|
3729
|
+
"name": "disabled",
|
3765
3730
|
"type": {
|
3766
|
-
"text": "
|
3731
|
+
"text": "boolean"
|
3767
3732
|
},
|
3768
|
-
"
|
3769
|
-
"
|
3770
|
-
"fieldName": "
|
3733
|
+
"default": "false",
|
3734
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
3735
|
+
"fieldName": "disabled",
|
3736
|
+
"inheritedFrom": {
|
3737
|
+
"name": "DisabledMixin",
|
3738
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
3739
|
+
}
|
3771
3740
|
},
|
3772
3741
|
{
|
3773
|
-
"name": "
|
3742
|
+
"name": "label",
|
3774
3743
|
"type": {
|
3775
|
-
"text": "
|
3744
|
+
"text": "string | undefined"
|
3776
3745
|
},
|
3777
|
-
"description": "
|
3778
|
-
"
|
3779
|
-
"
|
3746
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
3747
|
+
"fieldName": "label",
|
3748
|
+
"inheritedFrom": {
|
3749
|
+
"name": "FormfieldWrapper",
|
3750
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3751
|
+
}
|
3780
3752
|
},
|
3781
3753
|
{
|
3782
|
-
"name": "
|
3754
|
+
"name": "required-label",
|
3783
3755
|
"type": {
|
3784
|
-
"text": "
|
3756
|
+
"text": "string | undefined"
|
3785
3757
|
},
|
3786
|
-
"description": "
|
3787
|
-
"
|
3788
|
-
"
|
3758
|
+
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
3759
|
+
"fieldName": "requiredLabel",
|
3760
|
+
"inheritedFrom": {
|
3761
|
+
"name": "FormfieldWrapper",
|
3762
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3763
|
+
}
|
3764
|
+
},
|
3765
|
+
{
|
3766
|
+
"name": "id",
|
3767
|
+
"type": {
|
3768
|
+
"text": "string"
|
3769
|
+
},
|
3770
|
+
"default": "''",
|
3771
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
3772
|
+
"fieldName": "id",
|
3773
|
+
"inheritedFrom": {
|
3774
|
+
"name": "FormfieldWrapper",
|
3775
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3776
|
+
}
|
3777
|
+
},
|
3778
|
+
{
|
3779
|
+
"name": "help-text-type",
|
3780
|
+
"type": {
|
3781
|
+
"text": "ValidationType"
|
3782
|
+
},
|
3783
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
3784
|
+
"fieldName": "helpTextType",
|
3785
|
+
"inheritedFrom": {
|
3786
|
+
"name": "FormfieldWrapper",
|
3787
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3788
|
+
}
|
3789
|
+
},
|
3790
|
+
{
|
3791
|
+
"name": "help-text",
|
3792
|
+
"type": {
|
3793
|
+
"text": "string | undefined"
|
3794
|
+
},
|
3795
|
+
"description": "The help text that is displayed below the input field.",
|
3796
|
+
"fieldName": "helpText",
|
3797
|
+
"inheritedFrom": {
|
3798
|
+
"name": "FormfieldWrapper",
|
3799
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3800
|
+
}
|
3789
3801
|
}
|
3790
|
-
]
|
3791
|
-
"superclass": {
|
3792
|
-
"name": "Component",
|
3793
|
-
"module": "/src/models"
|
3794
|
-
},
|
3795
|
-
"tagName": "mdc-divider",
|
3796
|
-
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
3797
|
-
"customElement": true
|
3802
|
+
]
|
3798
3803
|
}
|
3799
3804
|
],
|
3800
3805
|
"exports": [
|
@@ -3802,8 +3807,8 @@
|
|
3802
3807
|
"kind": "js",
|
3803
3808
|
"name": "default",
|
3804
3809
|
"declaration": {
|
3805
|
-
"name": "
|
3806
|
-
"module": "components/
|
3810
|
+
"name": "FormfieldGroup",
|
3811
|
+
"module": "components/formfieldgroup/formfieldgroup.component.js"
|
3807
3812
|
}
|
3808
3813
|
}
|
3809
3814
|
]
|
@@ -7587,6 +7592,11 @@
|
|
7587
7592
|
},
|
7588
7593
|
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
7589
7594
|
},
|
7595
|
+
{
|
7596
|
+
"kind": "field",
|
7597
|
+
"name": "renderLabelAndHelperText",
|
7598
|
+
"privacy": "private"
|
7599
|
+
},
|
7590
7600
|
{
|
7591
7601
|
"kind": "field",
|
7592
7602
|
"name": "helpTextType",
|
@@ -10338,7 +10348,7 @@
|
|
10338
10348
|
"kind": "field",
|
10339
10349
|
"name": "onscroll",
|
10340
10350
|
"type": {
|
10341
|
-
"text": "((this: GlobalEventHandlers, ev: Event) =>
|
10351
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
10342
10352
|
},
|
10343
10353
|
"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.",
|
10344
10354
|
"default": "null",
|
@@ -10346,7 +10356,7 @@
|
|
10346
10356
|
},
|
10347
10357
|
{
|
10348
10358
|
"kind": "field",
|
10349
|
-
"name": "
|
10359
|
+
"name": "virtualizerProps",
|
10350
10360
|
"type": {
|
10351
10361
|
"text": "VirtualizerProps"
|
10352
10362
|
},
|
@@ -10380,6 +10390,15 @@
|
|
10380
10390
|
"privacy": "public",
|
10381
10391
|
"default": "null"
|
10382
10392
|
},
|
10393
|
+
{
|
10394
|
+
"kind": "field",
|
10395
|
+
"name": "virtualItems",
|
10396
|
+
"type": {
|
10397
|
+
"text": "Array<VirtualItem>"
|
10398
|
+
},
|
10399
|
+
"privacy": "public",
|
10400
|
+
"default": "[]"
|
10401
|
+
},
|
10383
10402
|
{
|
10384
10403
|
"kind": "field",
|
10385
10404
|
"name": "virtualizerController",
|
@@ -10401,7 +10420,7 @@
|
|
10401
10420
|
{
|
10402
10421
|
"name": "onscroll",
|
10403
10422
|
"type": {
|
10404
|
-
"text": "((this: GlobalEventHandlers, ev: Event) =>
|
10423
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
10405
10424
|
},
|
10406
10425
|
"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.",
|
10407
10426
|
"default": "null",
|
@@ -10413,7 +10432,7 @@
|
|
10413
10432
|
"text": "VirtualizerProps"
|
10414
10433
|
},
|
10415
10434
|
"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)",
|
10416
|
-
"fieldName": "
|
10435
|
+
"fieldName": "virtualizerProps"
|
10417
10436
|
},
|
10418
10437
|
{
|
10419
10438
|
"name": "setlistdata",
|
@@ -10445,99 +10464,6 @@
|
|
10445
10464
|
}
|
10446
10465
|
]
|
10447
10466
|
},
|
10448
|
-
{
|
10449
|
-
"kind": "javascript-module",
|
10450
|
-
"path": "components/virtualizedlist/virtualizedlist.test.component.js",
|
10451
|
-
"declarations": [
|
10452
|
-
{
|
10453
|
-
"kind": "class",
|
10454
|
-
"description": "",
|
10455
|
-
"name": "VirtualizedWrapper",
|
10456
|
-
"members": [
|
10457
|
-
{
|
10458
|
-
"kind": "field",
|
10459
|
-
"name": "onscroll",
|
10460
|
-
"type": {
|
10461
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => any) | null"
|
10462
|
-
},
|
10463
|
-
"default": "null",
|
10464
|
-
"attribute": "onscroll"
|
10465
|
-
},
|
10466
|
-
{
|
10467
|
-
"kind": "field",
|
10468
|
-
"name": "virtualizerprops",
|
10469
|
-
"type": {
|
10470
|
-
"text": "VirtualizerProps"
|
10471
|
-
},
|
10472
|
-
"default": "{ count: 100, estimateSize: () => 100 }",
|
10473
|
-
"attribute": "virtualizerprops"
|
10474
|
-
},
|
10475
|
-
{
|
10476
|
-
"kind": "field",
|
10477
|
-
"name": "list",
|
10478
|
-
"type": {
|
10479
|
-
"text": "TemplateResult<1>"
|
10480
|
-
},
|
10481
|
-
"default": "html``"
|
10482
|
-
},
|
10483
|
-
{
|
10484
|
-
"kind": "field",
|
10485
|
-
"name": "listItemTexts"
|
10486
|
-
},
|
10487
|
-
{
|
10488
|
-
"kind": "method",
|
10489
|
-
"name": "updateListItemTextArray",
|
10490
|
-
"privacy": "private"
|
10491
|
-
},
|
10492
|
-
{
|
10493
|
-
"kind": "method",
|
10494
|
-
"name": "setListData",
|
10495
|
-
"privacy": "private",
|
10496
|
-
"parameters": [
|
10497
|
-
{
|
10498
|
-
"name": "{ virtualItems, measureElement, listStyle }",
|
10499
|
-
"type": {
|
10500
|
-
"text": "SetListDataProps"
|
10501
|
-
}
|
10502
|
-
}
|
10503
|
-
]
|
10504
|
-
}
|
10505
|
-
],
|
10506
|
-
"attributes": [
|
10507
|
-
{
|
10508
|
-
"name": "onscroll",
|
10509
|
-
"type": {
|
10510
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => any) | null"
|
10511
|
-
},
|
10512
|
-
"default": "null",
|
10513
|
-
"fieldName": "onscroll"
|
10514
|
-
},
|
10515
|
-
{
|
10516
|
-
"name": "virtualizerprops",
|
10517
|
-
"type": {
|
10518
|
-
"text": "VirtualizerProps"
|
10519
|
-
},
|
10520
|
-
"default": "{ count: 100, estimateSize: () => 100 }",
|
10521
|
-
"fieldName": "virtualizerprops"
|
10522
|
-
}
|
10523
|
-
],
|
10524
|
-
"superclass": {
|
10525
|
-
"name": "Component",
|
10526
|
-
"module": "/src/models"
|
10527
|
-
}
|
10528
|
-
}
|
10529
|
-
],
|
10530
|
-
"exports": [
|
10531
|
-
{
|
10532
|
-
"kind": "js",
|
10533
|
-
"name": "default",
|
10534
|
-
"declaration": {
|
10535
|
-
"name": "VirtualizedWrapper",
|
10536
|
-
"module": "components/virtualizedlist/virtualizedlist.test.component.js"
|
10537
|
-
}
|
10538
|
-
}
|
10539
|
-
]
|
10540
|
-
},
|
10541
10467
|
{
|
10542
10468
|
"kind": "javascript-module",
|
10543
10469
|
"path": "utils/mixins/AvatarComponentMixin.js",
|