@momentum-design/components 0.80.5 → 0.81.1
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 +276 -239
- package/dist/browser/index.js.map +4 -4
- package/dist/components/dialog/dialog.component.d.ts +49 -21
- package/dist/components/dialog/dialog.component.js +143 -93
- package/dist/components/dialog/dialog.constants.d.ts +1 -0
- package/dist/components/dialog/dialog.constants.js +1 -0
- package/dist/components/popover/popover.component.d.ts +8 -1
- package/dist/components/popover/popover.component.js +16 -4
- package/dist/components/popover/popover.constants.d.ts +1 -0
- package/dist/components/popover/popover.constants.js +1 -0
- package/dist/components/popover/popover.utils.js +1 -1
- package/dist/components/skeleton/index.d.ts +7 -0
- package/dist/components/skeleton/index.js +4 -0
- package/dist/components/skeleton/skeleton.component.d.ts +46 -0
- package/dist/components/skeleton/skeleton.component.js +86 -0
- package/dist/components/skeleton/skeleton.constants.d.ts +11 -0
- package/dist/components/skeleton/skeleton.constants.js +12 -0
- package/dist/components/skeleton/skeleton.styles.d.ts +2 -0
- package/dist/components/skeleton/skeleton.styles.js +40 -0
- package/dist/components/skeleton/skeleton.types.d.ts +4 -0
- package/dist/components/skeleton/skeleton.types.js +1 -0
- package/dist/components/toggletip/toggletip.component.js +1 -0
- package/dist/components/tooltip/tooltip.component.js +0 -2
- package/dist/custom-elements.json +776 -486
- package/dist/index.d.ts +6 -3
- package/dist/index.js +4 -2
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +2 -1
- package/dist/react/skeleton/index.d.ts +25 -0
- package/dist/react/skeleton/index.js +34 -0
- package/dist/utils/mixins/FocusTrapMixin.d.ts +6 -5
- package/dist/utils/mixins/FocusTrapMixin.js +51 -22
- package/package.json +1 -1
@@ -7842,13 +7842,30 @@
|
|
7842
7842
|
},
|
7843
7843
|
{
|
7844
7844
|
"kind": "field",
|
7845
|
-
"name": "
|
7845
|
+
"name": "focusTrap",
|
7846
7846
|
"type": {
|
7847
7847
|
"text": "boolean"
|
7848
7848
|
},
|
7849
|
-
"default": "false",
|
7850
7849
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
7851
|
-
"
|
7850
|
+
"default": "false",
|
7851
|
+
"attribute": "focus-trap",
|
7852
|
+
"reflects": true,
|
7853
|
+
"privacy": "protected",
|
7854
|
+
"inheritedFrom": {
|
7855
|
+
"name": "Popover",
|
7856
|
+
"module": "components/popover/popover.component.js"
|
7857
|
+
}
|
7858
|
+
},
|
7859
|
+
{
|
7860
|
+
"kind": "field",
|
7861
|
+
"name": "shouldFocusTrapWrap",
|
7862
|
+
"type": {
|
7863
|
+
"text": "boolean"
|
7864
|
+
},
|
7865
|
+
"default": "true",
|
7866
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
7867
|
+
"attribute": "should-focus-trap-wrap",
|
7868
|
+
"reflects": true,
|
7852
7869
|
"inheritedFrom": {
|
7853
7870
|
"name": "FocusTrapMixin",
|
7854
7871
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -7869,11 +7886,10 @@
|
|
7869
7886
|
}
|
7870
7887
|
},
|
7871
7888
|
{
|
7872
|
-
"kind": "
|
7873
|
-
"name": "
|
7874
|
-
"
|
7875
|
-
|
7876
|
-
},
|
7889
|
+
"kind": "method",
|
7890
|
+
"name": "activateFocusTrap",
|
7891
|
+
"privacy": "public",
|
7892
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root",
|
7877
7893
|
"inheritedFrom": {
|
7878
7894
|
"name": "FocusTrapMixin",
|
7879
7895
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -8153,7 +8169,7 @@
|
|
8153
8169
|
"privacy": "public",
|
8154
8170
|
"parameters": [
|
8155
8171
|
{
|
8156
|
-
"name": "
|
8172
|
+
"name": "elementIndexToReceiveFocus",
|
8157
8173
|
"default": "0",
|
8158
8174
|
"type": {
|
8159
8175
|
"text": "number"
|
@@ -8289,7 +8305,7 @@
|
|
8289
8305
|
},
|
8290
8306
|
{
|
8291
8307
|
"kind": "method",
|
8292
|
-
"name": "
|
8308
|
+
"name": "handleTabKeydown",
|
8293
8309
|
"privacy": "private",
|
8294
8310
|
"parameters": [
|
8295
8311
|
{
|
@@ -8396,21 +8412,6 @@
|
|
8396
8412
|
"module": "components/popover/popover.component.js"
|
8397
8413
|
}
|
8398
8414
|
},
|
8399
|
-
{
|
8400
|
-
"kind": "field",
|
8401
|
-
"name": "focusTrap",
|
8402
|
-
"type": {
|
8403
|
-
"text": "boolean"
|
8404
|
-
},
|
8405
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
8406
|
-
"default": "false",
|
8407
|
-
"attribute": "focus-trap",
|
8408
|
-
"reflects": true,
|
8409
|
-
"inheritedFrom": {
|
8410
|
-
"name": "Popover",
|
8411
|
-
"module": "components/popover/popover.component.js"
|
8412
|
-
}
|
8413
|
-
},
|
8414
8415
|
{
|
8415
8416
|
"kind": "field",
|
8416
8417
|
"name": "preventScroll",
|
@@ -8651,6 +8652,21 @@
|
|
8651
8652
|
"module": "components/popover/popover.component.js"
|
8652
8653
|
}
|
8653
8654
|
},
|
8655
|
+
{
|
8656
|
+
"kind": "field",
|
8657
|
+
"name": "disableAriaHasPopup",
|
8658
|
+
"type": {
|
8659
|
+
"text": "boolean"
|
8660
|
+
},
|
8661
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
8662
|
+
"default": "false",
|
8663
|
+
"attribute": "disable-aria-haspopup",
|
8664
|
+
"reflects": true,
|
8665
|
+
"inheritedFrom": {
|
8666
|
+
"name": "Popover",
|
8667
|
+
"module": "components/popover/popover.component.js"
|
8668
|
+
}
|
8669
|
+
},
|
8654
8670
|
{
|
8655
8671
|
"kind": "field",
|
8656
8672
|
"name": "arrowElement",
|
@@ -8943,13 +8959,13 @@
|
|
8943
8959
|
}
|
8944
8960
|
},
|
8945
8961
|
{
|
8946
|
-
"name": "
|
8962
|
+
"name": "should-focus-trap-wrap",
|
8947
8963
|
"type": {
|
8948
8964
|
"text": "boolean"
|
8949
8965
|
},
|
8950
|
-
"default": "
|
8951
|
-
"description": "Determines whether the
|
8952
|
-
"fieldName": "
|
8966
|
+
"default": "true",
|
8967
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
8968
|
+
"fieldName": "shouldFocusTrapWrap",
|
8953
8969
|
"inheritedFrom": {
|
8954
8970
|
"name": "FocusTrapMixin",
|
8955
8971
|
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
@@ -9266,6 +9282,19 @@
|
|
9266
9282
|
"name": "Popover",
|
9267
9283
|
"module": "src/components/popover/popover.component.ts"
|
9268
9284
|
}
|
9285
|
+
},
|
9286
|
+
{
|
9287
|
+
"name": "disable-aria-haspopup",
|
9288
|
+
"type": {
|
9289
|
+
"text": "boolean"
|
9290
|
+
},
|
9291
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
9292
|
+
"default": "false",
|
9293
|
+
"fieldName": "disableAriaHasPopup",
|
9294
|
+
"inheritedFrom": {
|
9295
|
+
"name": "Popover",
|
9296
|
+
"module": "src/components/popover/popover.component.ts"
|
9297
|
+
}
|
9269
9298
|
}
|
9270
9299
|
],
|
9271
9300
|
"superclass": {
|
@@ -9421,6 +9450,17 @@
|
|
9421
9450
|
"description": "Defines a string value for the aria-label attribute for close button accessibility",
|
9422
9451
|
"attribute": "close-button-aria-label"
|
9423
9452
|
},
|
9453
|
+
{
|
9454
|
+
"kind": "field",
|
9455
|
+
"name": "ariaLabel",
|
9456
|
+
"type": {
|
9457
|
+
"text": "string | null"
|
9458
|
+
},
|
9459
|
+
"default": "null",
|
9460
|
+
"description": "Defines a string value for the aria-label attribute when header is not used",
|
9461
|
+
"attribute": "aria-label",
|
9462
|
+
"reflects": true
|
9463
|
+
},
|
9424
9464
|
{
|
9425
9465
|
"kind": "field",
|
9426
9466
|
"name": "ariaLabelledby",
|
@@ -9434,13 +9474,24 @@
|
|
9434
9474
|
},
|
9435
9475
|
{
|
9436
9476
|
"kind": "field",
|
9437
|
-
"name": "
|
9477
|
+
"name": "ariaDescribedBy",
|
9438
9478
|
"type": {
|
9439
9479
|
"text": "string | null"
|
9440
9480
|
},
|
9441
9481
|
"default": "null",
|
9442
|
-
"description": "Defines a string value for the aria-
|
9443
|
-
"attribute": "aria-
|
9482
|
+
"description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
|
9483
|
+
"attribute": "aria-describedby",
|
9484
|
+
"reflects": true
|
9485
|
+
},
|
9486
|
+
{
|
9487
|
+
"kind": "field",
|
9488
|
+
"name": "ariaDescription",
|
9489
|
+
"type": {
|
9490
|
+
"text": "string | null"
|
9491
|
+
},
|
9492
|
+
"default": "null",
|
9493
|
+
"description": "Defines a string value for the aria-description attribute that refers to the element\ndescribing the dialog for accessibility",
|
9494
|
+
"attribute": "aria-description",
|
9444
9495
|
"reflects": true
|
9445
9496
|
},
|
9446
9497
|
{
|
@@ -9495,16 +9546,15 @@
|
|
9495
9546
|
"reflects": true
|
9496
9547
|
},
|
9497
9548
|
{
|
9498
|
-
"kind": "
|
9499
|
-
"name": "
|
9500
|
-
"
|
9501
|
-
|
9502
|
-
|
9503
|
-
|
9504
|
-
"
|
9505
|
-
"
|
9506
|
-
"
|
9507
|
-
"description": "Removes the trigger event listener"
|
9549
|
+
"kind": "field",
|
9550
|
+
"name": "disableAriaHasPopup",
|
9551
|
+
"type": {
|
9552
|
+
"text": "boolean"
|
9553
|
+
},
|
9554
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
9555
|
+
"default": "false",
|
9556
|
+
"attribute": "disable-aria-haspopup",
|
9557
|
+
"reflects": true
|
9508
9558
|
},
|
9509
9559
|
{
|
9510
9560
|
"kind": "method",
|
@@ -9529,20 +9579,29 @@
|
|
9529
9579
|
"description": "Handles the dialog visibility change.\nHandles the exit event to close the dialog."
|
9530
9580
|
},
|
9531
9581
|
{
|
9532
|
-
"kind": "
|
9533
|
-
"name": "
|
9534
|
-
"
|
9535
|
-
|
9582
|
+
"kind": "field",
|
9583
|
+
"name": "focusTrap",
|
9584
|
+
"type": {
|
9585
|
+
"text": "boolean"
|
9586
|
+
},
|
9587
|
+
"privacy": "protected",
|
9588
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
9589
|
+
"default": "false",
|
9590
|
+
"inheritedFrom": {
|
9591
|
+
"name": "FocusTrapMixin",
|
9592
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9593
|
+
}
|
9536
9594
|
},
|
9537
9595
|
{
|
9538
9596
|
"kind": "field",
|
9539
|
-
"name": "
|
9597
|
+
"name": "shouldFocusTrapWrap",
|
9540
9598
|
"type": {
|
9541
9599
|
"text": "boolean"
|
9542
9600
|
},
|
9543
|
-
"default": "
|
9544
|
-
"description": "Determines whether the
|
9545
|
-
"attribute": "
|
9601
|
+
"default": "true",
|
9602
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
9603
|
+
"attribute": "should-focus-trap-wrap",
|
9604
|
+
"reflects": true,
|
9546
9605
|
"inheritedFrom": {
|
9547
9606
|
"name": "FocusTrapMixin",
|
9548
9607
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -9563,11 +9622,10 @@
|
|
9563
9622
|
}
|
9564
9623
|
},
|
9565
9624
|
{
|
9566
|
-
"kind": "
|
9567
|
-
"name": "
|
9568
|
-
"
|
9569
|
-
|
9570
|
-
},
|
9625
|
+
"kind": "method",
|
9626
|
+
"name": "activateFocusTrap",
|
9627
|
+
"privacy": "public",
|
9628
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root",
|
9571
9629
|
"inheritedFrom": {
|
9572
9630
|
"name": "FocusTrapMixin",
|
9573
9631
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -9847,7 +9905,7 @@
|
|
9847
9905
|
"privacy": "public",
|
9848
9906
|
"parameters": [
|
9849
9907
|
{
|
9850
|
-
"name": "
|
9908
|
+
"name": "elementIndexToReceiveFocus",
|
9851
9909
|
"default": "0",
|
9852
9910
|
"type": {
|
9853
9911
|
"text": "number"
|
@@ -9983,7 +10041,7 @@
|
|
9983
10041
|
},
|
9984
10042
|
{
|
9985
10043
|
"kind": "method",
|
9986
|
-
"name": "
|
10044
|
+
"name": "handleTabKeydown",
|
9987
10045
|
"privacy": "private",
|
9988
10046
|
"parameters": [
|
9989
10047
|
{
|
@@ -10102,6 +10160,15 @@
|
|
10102
10160
|
"description": "Defines a string value for the aria-label attribute for close button accessibility",
|
10103
10161
|
"fieldName": "closeButtonAriaLabel"
|
10104
10162
|
},
|
10163
|
+
{
|
10164
|
+
"name": "aria-label",
|
10165
|
+
"type": {
|
10166
|
+
"text": "string | null"
|
10167
|
+
},
|
10168
|
+
"default": "null",
|
10169
|
+
"description": "Defines a string value for the aria-label attribute when header is not used",
|
10170
|
+
"fieldName": "ariaLabel"
|
10171
|
+
},
|
10105
10172
|
{
|
10106
10173
|
"name": "aria-labelledby",
|
10107
10174
|
"type": {
|
@@ -10112,13 +10179,22 @@
|
|
10112
10179
|
"fieldName": "ariaLabelledby"
|
10113
10180
|
},
|
10114
10181
|
{
|
10115
|
-
"name": "aria-
|
10182
|
+
"name": "aria-describedby",
|
10116
10183
|
"type": {
|
10117
10184
|
"text": "string | null"
|
10118
10185
|
},
|
10119
10186
|
"default": "null",
|
10120
|
-
"description": "Defines a string value for the aria-
|
10121
|
-
"fieldName": "
|
10187
|
+
"description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
|
10188
|
+
"fieldName": "ariaDescribedBy"
|
10189
|
+
},
|
10190
|
+
{
|
10191
|
+
"name": "aria-description",
|
10192
|
+
"type": {
|
10193
|
+
"text": "string | null"
|
10194
|
+
},
|
10195
|
+
"default": "null",
|
10196
|
+
"description": "Defines a string value for the aria-description attribute that refers to the element\ndescribing the dialog for accessibility",
|
10197
|
+
"fieldName": "ariaDescription"
|
10122
10198
|
},
|
10123
10199
|
{
|
10124
10200
|
"name": "header-text",
|
@@ -10162,13 +10238,22 @@
|
|
10162
10238
|
"fieldName": "role"
|
10163
10239
|
},
|
10164
10240
|
{
|
10165
|
-
"name": "
|
10241
|
+
"name": "disable-aria-haspopup",
|
10166
10242
|
"type": {
|
10167
10243
|
"text": "boolean"
|
10168
10244
|
},
|
10245
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
10169
10246
|
"default": "false",
|
10170
|
-
"
|
10171
|
-
|
10247
|
+
"fieldName": "disableAriaHasPopup"
|
10248
|
+
},
|
10249
|
+
{
|
10250
|
+
"name": "should-focus-trap-wrap",
|
10251
|
+
"type": {
|
10252
|
+
"text": "boolean"
|
10253
|
+
},
|
10254
|
+
"default": "true",
|
10255
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
10256
|
+
"fieldName": "shouldFocusTrapWrap",
|
10172
10257
|
"inheritedFrom": {
|
10173
10258
|
"name": "FocusTrapMixin",
|
10174
10259
|
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
@@ -11477,128 +11562,111 @@
|
|
11477
11562
|
},
|
11478
11563
|
{
|
11479
11564
|
"kind": "javascript-module",
|
11480
|
-
"path": "components/
|
11565
|
+
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
11481
11566
|
"declarations": [
|
11482
11567
|
{
|
11483
11568
|
"kind": "class",
|
11484
|
-
"description": "
|
11485
|
-
"name": "
|
11486
|
-
"cssProperties": [
|
11487
|
-
{
|
11488
|
-
"description": "Allows customization of the default fill color.",
|
11489
|
-
"name": "--mdc-icon-fill-color"
|
11490
|
-
},
|
11491
|
-
{
|
11492
|
-
"description": "Allows customization of the icon size.",
|
11493
|
-
"name": "--mdc-icon-size"
|
11494
|
-
},
|
11495
|
-
{
|
11496
|
-
"description": "Allows customization of the icon border radius.",
|
11497
|
-
"name": "--mdc-icon-border-radius"
|
11498
|
-
}
|
11499
|
-
],
|
11569
|
+
"description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
11570
|
+
"name": "FormfieldWrapper",
|
11500
11571
|
"members": [
|
11501
11572
|
{
|
11502
11573
|
"kind": "field",
|
11503
|
-
"name": "
|
11574
|
+
"name": "label",
|
11504
11575
|
"type": {
|
11505
|
-
"text": "
|
11576
|
+
"text": "string | undefined"
|
11506
11577
|
},
|
11507
|
-
"
|
11578
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
11579
|
+
"attribute": "label",
|
11580
|
+
"reflects": true
|
11508
11581
|
},
|
11509
11582
|
{
|
11510
11583
|
"kind": "field",
|
11511
|
-
"name": "
|
11584
|
+
"name": "required",
|
11512
11585
|
"type": {
|
11513
|
-
"text": "
|
11586
|
+
"text": "boolean"
|
11514
11587
|
},
|
11515
|
-
"
|
11588
|
+
"default": "false",
|
11589
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
11590
|
+
"attribute": "required",
|
11591
|
+
"reflects": true
|
11516
11592
|
},
|
11517
11593
|
{
|
11518
11594
|
"kind": "field",
|
11519
|
-
"name": "
|
11595
|
+
"name": "id",
|
11520
11596
|
"type": {
|
11521
|
-
"text": "
|
11597
|
+
"text": "string"
|
11522
11598
|
},
|
11523
|
-
"
|
11599
|
+
"default": "''",
|
11600
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
11601
|
+
"attribute": "id"
|
11524
11602
|
},
|
11525
11603
|
{
|
11526
11604
|
"kind": "field",
|
11527
|
-
"name": "
|
11605
|
+
"name": "helpTextType",
|
11528
11606
|
"type": {
|
11529
|
-
"text": "
|
11607
|
+
"text": "ValidationType"
|
11530
11608
|
},
|
11531
|
-
"description": "
|
11532
|
-
"attribute": "
|
11609
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
11610
|
+
"attribute": "help-text-type",
|
11533
11611
|
"reflects": true
|
11534
11612
|
},
|
11535
11613
|
{
|
11536
11614
|
"kind": "field",
|
11537
|
-
"name": "
|
11615
|
+
"name": "helpText",
|
11538
11616
|
"type": {
|
11539
|
-
"text": "
|
11617
|
+
"text": "string | undefined"
|
11540
11618
|
},
|
11541
|
-
"description": "
|
11542
|
-
"attribute": "
|
11619
|
+
"description": "The help text that is displayed below the input field.",
|
11620
|
+
"attribute": "help-text",
|
11621
|
+
"reflects": true
|
11543
11622
|
},
|
11544
11623
|
{
|
11545
11624
|
"kind": "field",
|
11546
|
-
"name": "
|
11625
|
+
"name": "toggletipText",
|
11547
11626
|
"type": {
|
11548
11627
|
"text": "string | undefined"
|
11549
11628
|
},
|
11550
|
-
"description": "
|
11551
|
-
"attribute": "
|
11629
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
11630
|
+
"attribute": "toggletip-text",
|
11631
|
+
"reflects": true
|
11552
11632
|
},
|
11553
11633
|
{
|
11554
11634
|
"kind": "field",
|
11555
|
-
"name": "
|
11635
|
+
"name": "toggletipPlacement",
|
11556
11636
|
"type": {
|
11557
|
-
"text": "
|
11637
|
+
"text": "PopoverPlacement"
|
11558
11638
|
},
|
11559
|
-
"
|
11560
|
-
"
|
11561
|
-
"attribute": "
|
11639
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
11640
|
+
"default": "'top'",
|
11641
|
+
"attribute": "toggletip-placement",
|
11642
|
+
"reflects": true
|
11562
11643
|
},
|
11563
11644
|
{
|
11564
11645
|
"kind": "field",
|
11565
|
-
"name": "
|
11646
|
+
"name": "infoIconAriaLabel",
|
11566
11647
|
"type": {
|
11567
|
-
"text": "string |
|
11648
|
+
"text": "string | undefined"
|
11568
11649
|
},
|
11569
|
-
"
|
11570
|
-
"
|
11571
|
-
"
|
11650
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
11651
|
+
"attribute": "info-icon-aria-label",
|
11652
|
+
"reflects": true
|
11572
11653
|
},
|
11573
11654
|
{
|
11574
|
-
"kind": "
|
11575
|
-
"name": "
|
11576
|
-
"privacy": "
|
11577
|
-
"
|
11578
|
-
|
11579
|
-
|
11580
|
-
|
11581
|
-
|
11582
|
-
|
11583
|
-
"text": "AbortController"
|
11584
|
-
},
|
11585
|
-
"privacy": "private",
|
11586
|
-
"default": "new AbortController()"
|
11655
|
+
"kind": "method",
|
11656
|
+
"name": "renderLabelElement",
|
11657
|
+
"privacy": "protected",
|
11658
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
11659
|
+
"return": {
|
11660
|
+
"type": {
|
11661
|
+
"text": ""
|
11662
|
+
}
|
11663
|
+
}
|
11587
11664
|
},
|
11588
11665
|
{
|
11589
11666
|
"kind": "method",
|
11590
|
-
"name": "
|
11591
|
-
"privacy": "
|
11592
|
-
"
|
11593
|
-
{
|
11594
|
-
"name": "iconData",
|
11595
|
-
"type": {
|
11596
|
-
"text": "string"
|
11597
|
-
},
|
11598
|
-
"description": "The icon string to be parsed"
|
11599
|
-
}
|
11600
|
-
],
|
11601
|
-
"description": "Parse the icon string to an html element, set the attributes and\nreturn the icon element",
|
11667
|
+
"name": "renderHelpTextIcon",
|
11668
|
+
"privacy": "protected",
|
11669
|
+
"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.",
|
11602
11670
|
"return": {
|
11603
11671
|
"type": {
|
11604
11672
|
"text": ""
|
@@ -11607,102 +11675,147 @@
|
|
11607
11675
|
},
|
11608
11676
|
{
|
11609
11677
|
"kind": "method",
|
11610
|
-
"name": "
|
11611
|
-
"privacy": "
|
11612
|
-
"description": "
|
11613
|
-
|
11614
|
-
|
11615
|
-
|
11616
|
-
"name": "handleIconLoadedSuccess",
|
11617
|
-
"privacy": "private",
|
11618
|
-
"parameters": [
|
11619
|
-
{
|
11620
|
-
"name": "iconHtml",
|
11621
|
-
"type": {
|
11622
|
-
"text": "HTMLElement"
|
11623
|
-
},
|
11624
|
-
"description": "The icon html element which has been fetched from the icon provider."
|
11678
|
+
"name": "renderHelpText",
|
11679
|
+
"privacy": "protected",
|
11680
|
+
"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.",
|
11681
|
+
"return": {
|
11682
|
+
"type": {
|
11683
|
+
"text": ""
|
11625
11684
|
}
|
11626
|
-
|
11627
|
-
"description": "Sets the iconData state to the fetched icon.\nDispatches a 'load' event on the component once the icon has been successfully loaded."
|
11685
|
+
}
|
11628
11686
|
},
|
11629
11687
|
{
|
11630
11688
|
"kind": "method",
|
11631
|
-
"name": "
|
11632
|
-
"privacy": "
|
11633
|
-
"
|
11634
|
-
|
11635
|
-
|
11636
|
-
"
|
11637
|
-
"text": "unknown"
|
11638
|
-
}
|
11689
|
+
"name": "renderLabel",
|
11690
|
+
"privacy": "protected",
|
11691
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
11692
|
+
"return": {
|
11693
|
+
"type": {
|
11694
|
+
"text": ""
|
11639
11695
|
}
|
11640
|
-
|
11641
|
-
"description": "Dispatches an 'error' event on the component when the icon fetching has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
|
11696
|
+
}
|
11642
11697
|
},
|
11643
11698
|
{
|
11644
11699
|
"kind": "method",
|
11645
|
-
"name": "
|
11646
|
-
"privacy": "
|
11647
|
-
"description": "
|
11700
|
+
"name": "renderHelperText",
|
11701
|
+
"privacy": "protected",
|
11702
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
11703
|
+
"return": {
|
11704
|
+
"type": {
|
11705
|
+
"text": ""
|
11706
|
+
}
|
11707
|
+
}
|
11648
11708
|
},
|
11649
11709
|
{
|
11650
11710
|
"kind": "field",
|
11651
|
-
"name": "
|
11652
|
-
"
|
11653
|
-
|
11711
|
+
"name": "disabled",
|
11712
|
+
"type": {
|
11713
|
+
"text": "boolean | undefined"
|
11714
|
+
},
|
11715
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
11716
|
+
"default": "undefined",
|
11717
|
+
"attribute": "disabled",
|
11718
|
+
"reflects": true,
|
11719
|
+
"inheritedFrom": {
|
11720
|
+
"name": "DisabledMixin",
|
11721
|
+
"module": "utils/mixins/DisabledMixin.js"
|
11722
|
+
}
|
11654
11723
|
}
|
11655
11724
|
],
|
11656
11725
|
"attributes": [
|
11657
11726
|
{
|
11658
|
-
"name": "
|
11727
|
+
"name": "label",
|
11659
11728
|
"type": {
|
11660
|
-
"text": "
|
11729
|
+
"text": "string | undefined"
|
11661
11730
|
},
|
11662
|
-
"description": "
|
11663
|
-
"fieldName": "
|
11731
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
11732
|
+
"fieldName": "label"
|
11664
11733
|
},
|
11665
11734
|
{
|
11666
|
-
"name": "
|
11735
|
+
"name": "required",
|
11667
11736
|
"type": {
|
11668
|
-
"text": "
|
11737
|
+
"text": "boolean"
|
11669
11738
|
},
|
11670
|
-
"
|
11671
|
-
"
|
11739
|
+
"default": "false",
|
11740
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
11741
|
+
"fieldName": "required"
|
11672
11742
|
},
|
11673
11743
|
{
|
11674
|
-
"name": "
|
11744
|
+
"name": "id",
|
11745
|
+
"type": {
|
11746
|
+
"text": "string"
|
11747
|
+
},
|
11748
|
+
"default": "''",
|
11749
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
11750
|
+
"fieldName": "id"
|
11751
|
+
},
|
11752
|
+
{
|
11753
|
+
"name": "help-text-type",
|
11754
|
+
"type": {
|
11755
|
+
"text": "ValidationType"
|
11756
|
+
},
|
11757
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
11758
|
+
"fieldName": "helpTextType"
|
11759
|
+
},
|
11760
|
+
{
|
11761
|
+
"name": "help-text",
|
11675
11762
|
"type": {
|
11676
11763
|
"text": "string | undefined"
|
11677
11764
|
},
|
11678
|
-
"description": "
|
11679
|
-
"fieldName": "
|
11765
|
+
"description": "The help text that is displayed below the input field.",
|
11766
|
+
"fieldName": "helpText"
|
11680
11767
|
},
|
11681
11768
|
{
|
11682
|
-
"name": "
|
11769
|
+
"name": "toggletip-text",
|
11683
11770
|
"type": {
|
11684
|
-
"text": "string |
|
11771
|
+
"text": "string | undefined"
|
11685
11772
|
},
|
11686
|
-
"
|
11687
|
-
"
|
11688
|
-
"fieldName": "ariaLabel"
|
11773
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
11774
|
+
"fieldName": "toggletipText"
|
11689
11775
|
},
|
11690
11776
|
{
|
11691
|
-
"name": "
|
11777
|
+
"name": "toggletip-placement",
|
11692
11778
|
"type": {
|
11693
|
-
"text": "
|
11779
|
+
"text": "PopoverPlacement"
|
11694
11780
|
},
|
11695
|
-
"
|
11696
|
-
"
|
11697
|
-
"fieldName": "
|
11781
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
11782
|
+
"default": "'top'",
|
11783
|
+
"fieldName": "toggletipPlacement"
|
11784
|
+
},
|
11785
|
+
{
|
11786
|
+
"name": "info-icon-aria-label",
|
11787
|
+
"type": {
|
11788
|
+
"text": "string | undefined"
|
11789
|
+
},
|
11790
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
11791
|
+
"fieldName": "infoIconAriaLabel"
|
11792
|
+
},
|
11793
|
+
{
|
11794
|
+
"name": "disabled",
|
11795
|
+
"type": {
|
11796
|
+
"text": "boolean | undefined"
|
11797
|
+
},
|
11798
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
11799
|
+
"default": "undefined",
|
11800
|
+
"fieldName": "disabled",
|
11801
|
+
"inheritedFrom": {
|
11802
|
+
"name": "DisabledMixin",
|
11803
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
11804
|
+
}
|
11805
|
+
}
|
11806
|
+
],
|
11807
|
+
"mixins": [
|
11808
|
+
{
|
11809
|
+
"name": "DisabledMixin",
|
11810
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
11698
11811
|
}
|
11699
11812
|
],
|
11700
11813
|
"superclass": {
|
11701
11814
|
"name": "Component",
|
11702
11815
|
"module": "/src/models"
|
11703
11816
|
},
|
11704
|
-
"tagName": "mdc-
|
11705
|
-
"jsDoc": "/**\n *
|
11817
|
+
"tagName": "mdc-formfieldwrapper",
|
11818
|
+
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
|
11706
11819
|
"customElement": true
|
11707
11820
|
}
|
11708
11821
|
],
|
@@ -11711,108 +11824,136 @@
|
|
11711
11824
|
"kind": "js",
|
11712
11825
|
"name": "default",
|
11713
11826
|
"declaration": {
|
11714
|
-
"name": "
|
11715
|
-
"module": "components/
|
11827
|
+
"name": "FormfieldWrapper",
|
11828
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
11716
11829
|
}
|
11717
11830
|
}
|
11718
11831
|
]
|
11719
11832
|
},
|
11720
11833
|
{
|
11721
11834
|
"kind": "javascript-module",
|
11722
|
-
"path": "components/
|
11835
|
+
"path": "components/icon/icon.component.js",
|
11723
11836
|
"declarations": [
|
11724
11837
|
{
|
11725
11838
|
"kind": "class",
|
11726
|
-
"description": "
|
11727
|
-
"name": "
|
11839
|
+
"description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `size` attribute allows for dynamic sizing of the icon based on the provided\n`length-unit` attribute. This unit can either come from the `IconProvider`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n\n### Decorative Icons\n- Decorative icons do not convey any essential information to the content of a page.\n- They should be hidden from screen readers (SR) to prevent confusion for users.\n- For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n\n### Informative Icons\n- Informative icons convey important information that is not adequately represented\n by surrounding text or components.\n- They provide valuable context and must be announced by assistive technologies.\n- For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.\n\n### Informative Standalone Icons\n- If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\nhave a Tooltip that describes what it means.\n- For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\nand the `role` will be set to \"img\" automatically.\n- **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**",
|
11840
|
+
"name": "Icon",
|
11841
|
+
"cssProperties": [
|
11842
|
+
{
|
11843
|
+
"description": "Allows customization of the default fill color.",
|
11844
|
+
"name": "--mdc-icon-fill-color"
|
11845
|
+
},
|
11846
|
+
{
|
11847
|
+
"description": "Allows customization of the icon size.",
|
11848
|
+
"name": "--mdc-icon-size"
|
11849
|
+
},
|
11850
|
+
{
|
11851
|
+
"description": "Allows customization of the icon border radius.",
|
11852
|
+
"name": "--mdc-icon-border-radius"
|
11853
|
+
}
|
11854
|
+
],
|
11728
11855
|
"members": [
|
11729
11856
|
{
|
11730
11857
|
"kind": "field",
|
11731
|
-
"name": "
|
11858
|
+
"name": "iconData",
|
11732
11859
|
"type": {
|
11733
|
-
"text": "
|
11860
|
+
"text": "HTMLElement | undefined"
|
11734
11861
|
},
|
11735
|
-
"
|
11736
|
-
"attribute": "label",
|
11737
|
-
"reflects": true
|
11862
|
+
"privacy": "private"
|
11738
11863
|
},
|
11739
11864
|
{
|
11740
11865
|
"kind": "field",
|
11741
|
-
"name": "
|
11866
|
+
"name": "lengthUnitFromContext",
|
11742
11867
|
"type": {
|
11743
|
-
"text": "
|
11868
|
+
"text": "string | undefined"
|
11744
11869
|
},
|
11745
|
-
"
|
11746
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
11747
|
-
"attribute": "required",
|
11748
|
-
"reflects": true
|
11870
|
+
"privacy": "private"
|
11749
11871
|
},
|
11750
11872
|
{
|
11751
11873
|
"kind": "field",
|
11752
|
-
"name": "
|
11874
|
+
"name": "sizeFromContext",
|
11753
11875
|
"type": {
|
11754
|
-
"text": "
|
11876
|
+
"text": "number | undefined"
|
11755
11877
|
},
|
11756
|
-
"
|
11757
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
11758
|
-
"attribute": "id"
|
11878
|
+
"privacy": "private"
|
11759
11879
|
},
|
11760
11880
|
{
|
11761
11881
|
"kind": "field",
|
11762
|
-
"name": "
|
11882
|
+
"name": "name",
|
11763
11883
|
"type": {
|
11764
|
-
"text": "
|
11884
|
+
"text": "IconNames | undefined"
|
11765
11885
|
},
|
11766
|
-
"description": "
|
11767
|
-
"attribute": "
|
11886
|
+
"description": "Name of the icon (= filename)",
|
11887
|
+
"attribute": "name",
|
11768
11888
|
"reflects": true
|
11769
11889
|
},
|
11770
11890
|
{
|
11771
11891
|
"kind": "field",
|
11772
|
-
"name": "
|
11892
|
+
"name": "size",
|
11773
11893
|
"type": {
|
11774
|
-
"text": "
|
11894
|
+
"text": "number | undefined"
|
11775
11895
|
},
|
11776
|
-
"description": "
|
11777
|
-
"attribute": "
|
11778
|
-
"reflects": true
|
11896
|
+
"description": "Size of the icon (works in combination with length unit)",
|
11897
|
+
"attribute": "size"
|
11779
11898
|
},
|
11780
11899
|
{
|
11781
11900
|
"kind": "field",
|
11782
|
-
"name": "
|
11901
|
+
"name": "lengthUnit",
|
11783
11902
|
"type": {
|
11784
11903
|
"text": "string | undefined"
|
11785
11904
|
},
|
11786
|
-
"description": "
|
11787
|
-
"attribute": "
|
11788
|
-
"reflects": true
|
11905
|
+
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
11906
|
+
"attribute": "length-unit"
|
11789
11907
|
},
|
11790
11908
|
{
|
11791
11909
|
"kind": "field",
|
11792
|
-
"name": "
|
11910
|
+
"name": "ariaLabel",
|
11793
11911
|
"type": {
|
11794
|
-
"text": "
|
11912
|
+
"text": "string | null"
|
11795
11913
|
},
|
11796
|
-
"
|
11797
|
-
"
|
11798
|
-
"attribute": "
|
11799
|
-
"reflects": true
|
11914
|
+
"default": "null",
|
11915
|
+
"description": "Aria-label attribute to be set for accessibility",
|
11916
|
+
"attribute": "aria-label"
|
11800
11917
|
},
|
11801
11918
|
{
|
11802
11919
|
"kind": "field",
|
11803
|
-
"name": "
|
11920
|
+
"name": "ariaLabelledBy",
|
11804
11921
|
"type": {
|
11805
|
-
"text": "string |
|
11922
|
+
"text": "string | null"
|
11806
11923
|
},
|
11807
|
-
"
|
11808
|
-
"
|
11809
|
-
"
|
11924
|
+
"default": "null",
|
11925
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
11926
|
+
"attribute": "aria-labelledby"
|
11927
|
+
},
|
11928
|
+
{
|
11929
|
+
"kind": "field",
|
11930
|
+
"name": "iconProviderContext",
|
11931
|
+
"privacy": "private",
|
11932
|
+
"readonly": true
|
11933
|
+
},
|
11934
|
+
{
|
11935
|
+
"kind": "field",
|
11936
|
+
"name": "abortController",
|
11937
|
+
"type": {
|
11938
|
+
"text": "AbortController"
|
11939
|
+
},
|
11940
|
+
"privacy": "private",
|
11941
|
+
"default": "new AbortController()"
|
11810
11942
|
},
|
11811
11943
|
{
|
11812
11944
|
"kind": "method",
|
11813
|
-
"name": "
|
11814
|
-
"privacy": "
|
11815
|
-
"
|
11945
|
+
"name": "prepareIconElement",
|
11946
|
+
"privacy": "private",
|
11947
|
+
"parameters": [
|
11948
|
+
{
|
11949
|
+
"name": "iconData",
|
11950
|
+
"type": {
|
11951
|
+
"text": "string"
|
11952
|
+
},
|
11953
|
+
"description": "The icon string to be parsed"
|
11954
|
+
}
|
11955
|
+
],
|
11956
|
+
"description": "Parse the icon string to an html element, set the attributes and\nreturn the icon element",
|
11816
11957
|
"return": {
|
11817
11958
|
"type": {
|
11818
11959
|
"text": ""
|
@@ -11821,158 +11962,102 @@
|
|
11821
11962
|
},
|
11822
11963
|
{
|
11823
11964
|
"kind": "method",
|
11824
|
-
"name": "
|
11825
|
-
"privacy": "
|
11826
|
-
"description": "
|
11827
|
-
"return": {
|
11828
|
-
"type": {
|
11829
|
-
"text": ""
|
11830
|
-
}
|
11831
|
-
}
|
11965
|
+
"name": "getIconData",
|
11966
|
+
"privacy": "private",
|
11967
|
+
"description": "Fetches the icon (currently only svg) and sets state and attributes once fetched successfully\n\nThis method uses abortController.signal to cancel the fetch request when the component is disconnected or updated.\nIf the request is aborted after the fetch() call has been fulfilled but before the response body has been read,\nthen attempting to read the response body will reject with an AbortError exception."
|
11832
11968
|
},
|
11833
11969
|
{
|
11834
11970
|
"kind": "method",
|
11835
|
-
"name": "
|
11836
|
-
"privacy": "
|
11837
|
-
"
|
11838
|
-
|
11839
|
-
|
11840
|
-
"
|
11971
|
+
"name": "handleIconLoadedSuccess",
|
11972
|
+
"privacy": "private",
|
11973
|
+
"parameters": [
|
11974
|
+
{
|
11975
|
+
"name": "iconHtml",
|
11976
|
+
"type": {
|
11977
|
+
"text": "HTMLElement"
|
11978
|
+
},
|
11979
|
+
"description": "The icon html element which has been fetched from the icon provider."
|
11841
11980
|
}
|
11842
|
-
|
11981
|
+
],
|
11982
|
+
"description": "Sets the iconData state to the fetched icon.\nDispatches a 'load' event on the component once the icon has been successfully loaded."
|
11843
11983
|
},
|
11844
11984
|
{
|
11845
11985
|
"kind": "method",
|
11846
|
-
"name": "
|
11847
|
-
"privacy": "
|
11848
|
-
"
|
11849
|
-
|
11850
|
-
|
11851
|
-
"
|
11986
|
+
"name": "handleIconLoadedFailure",
|
11987
|
+
"privacy": "private",
|
11988
|
+
"parameters": [
|
11989
|
+
{
|
11990
|
+
"name": "error",
|
11991
|
+
"type": {
|
11992
|
+
"text": "unknown"
|
11993
|
+
}
|
11852
11994
|
}
|
11853
|
-
|
11995
|
+
],
|
11996
|
+
"description": "Dispatches an 'error' event on the component when the icon fetching has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
|
11854
11997
|
},
|
11855
11998
|
{
|
11856
11999
|
"kind": "method",
|
11857
|
-
"name": "
|
11858
|
-
"privacy": "
|
11859
|
-
"description": "
|
11860
|
-
"return": {
|
11861
|
-
"type": {
|
11862
|
-
"text": ""
|
11863
|
-
}
|
11864
|
-
}
|
12000
|
+
"name": "updateSize",
|
12001
|
+
"privacy": "private",
|
12002
|
+
"description": "Updates the size by setting the width and height"
|
11865
12003
|
},
|
11866
12004
|
{
|
11867
12005
|
"kind": "field",
|
11868
|
-
"name": "
|
11869
|
-
"
|
11870
|
-
|
11871
|
-
},
|
11872
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
11873
|
-
"default": "undefined",
|
11874
|
-
"attribute": "disabled",
|
11875
|
-
"reflects": true,
|
11876
|
-
"inheritedFrom": {
|
11877
|
-
"name": "DisabledMixin",
|
11878
|
-
"module": "utils/mixins/DisabledMixin.js"
|
11879
|
-
}
|
12006
|
+
"name": "computedIconSize",
|
12007
|
+
"privacy": "private",
|
12008
|
+
"readonly": true
|
11880
12009
|
}
|
11881
12010
|
],
|
11882
12011
|
"attributes": [
|
11883
12012
|
{
|
11884
|
-
"name": "
|
11885
|
-
"type": {
|
11886
|
-
"text": "string | undefined"
|
11887
|
-
},
|
11888
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
11889
|
-
"fieldName": "label"
|
11890
|
-
},
|
11891
|
-
{
|
11892
|
-
"name": "required",
|
11893
|
-
"type": {
|
11894
|
-
"text": "boolean"
|
11895
|
-
},
|
11896
|
-
"default": "false",
|
11897
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
11898
|
-
"fieldName": "required"
|
11899
|
-
},
|
11900
|
-
{
|
11901
|
-
"name": "id",
|
11902
|
-
"type": {
|
11903
|
-
"text": "string"
|
11904
|
-
},
|
11905
|
-
"default": "''",
|
11906
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
11907
|
-
"fieldName": "id"
|
11908
|
-
},
|
11909
|
-
{
|
11910
|
-
"name": "help-text-type",
|
12013
|
+
"name": "name",
|
11911
12014
|
"type": {
|
11912
|
-
"text": "
|
12015
|
+
"text": "IconNames | undefined"
|
11913
12016
|
},
|
11914
|
-
"description": "
|
11915
|
-
"fieldName": "
|
12017
|
+
"description": "Name of the icon (= filename)",
|
12018
|
+
"fieldName": "name"
|
11916
12019
|
},
|
11917
12020
|
{
|
11918
|
-
"name": "
|
12021
|
+
"name": "size",
|
11919
12022
|
"type": {
|
11920
|
-
"text": "
|
12023
|
+
"text": "number | undefined"
|
11921
12024
|
},
|
11922
|
-
"description": "
|
11923
|
-
"fieldName": "
|
12025
|
+
"description": "Size of the icon (works in combination with length unit)",
|
12026
|
+
"fieldName": "size"
|
11924
12027
|
},
|
11925
12028
|
{
|
11926
|
-
"name": "
|
12029
|
+
"name": "length-unit",
|
11927
12030
|
"type": {
|
11928
12031
|
"text": "string | undefined"
|
11929
12032
|
},
|
11930
|
-
"description": "
|
11931
|
-
"fieldName": "
|
11932
|
-
},
|
11933
|
-
{
|
11934
|
-
"name": "toggletip-placement",
|
11935
|
-
"type": {
|
11936
|
-
"text": "PopoverPlacement"
|
11937
|
-
},
|
11938
|
-
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
11939
|
-
"default": "'top'",
|
11940
|
-
"fieldName": "toggletipPlacement"
|
12033
|
+
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
12034
|
+
"fieldName": "lengthUnit"
|
11941
12035
|
},
|
11942
12036
|
{
|
11943
|
-
"name": "
|
12037
|
+
"name": "aria-label",
|
11944
12038
|
"type": {
|
11945
|
-
"text": "string |
|
12039
|
+
"text": "string | null"
|
11946
12040
|
},
|
11947
|
-
"
|
11948
|
-
"
|
12041
|
+
"default": "null",
|
12042
|
+
"description": "Aria-label attribute to be set for accessibility",
|
12043
|
+
"fieldName": "ariaLabel"
|
11949
12044
|
},
|
11950
12045
|
{
|
11951
|
-
"name": "
|
12046
|
+
"name": "aria-labelledby",
|
11952
12047
|
"type": {
|
11953
|
-
"text": "
|
12048
|
+
"text": "string | null"
|
11954
12049
|
},
|
11955
|
-
"
|
11956
|
-
"
|
11957
|
-
"fieldName": "
|
11958
|
-
"inheritedFrom": {
|
11959
|
-
"name": "DisabledMixin",
|
11960
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
11961
|
-
}
|
11962
|
-
}
|
11963
|
-
],
|
11964
|
-
"mixins": [
|
11965
|
-
{
|
11966
|
-
"name": "DisabledMixin",
|
11967
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
12050
|
+
"default": "null",
|
12051
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
12052
|
+
"fieldName": "ariaLabelledBy"
|
11968
12053
|
}
|
11969
12054
|
],
|
11970
12055
|
"superclass": {
|
11971
12056
|
"name": "Component",
|
11972
12057
|
"module": "/src/models"
|
11973
12058
|
},
|
11974
|
-
"tagName": "mdc-
|
11975
|
-
"jsDoc": "/**\n *
|
12059
|
+
"tagName": "mdc-icon",
|
12060
|
+
"jsDoc": "/**\n * Icon component that dynamically displays SVG icons based on a valid name.\n *\n * This component must be mounted within an `IconProvider` component.\n *\n * The `IconProvider` defines the source URL from which icons are consumed.\n * The `Icon` component accepts a `name` attribute, which corresponds to\n * the file name of the icon to be loaded from the specified URL.\n *\n * Once fetched, the icon will be rendered. If the fetching process is unsuccessful,\n * no icon will be displayed.\n *\n * The `size` attribute allows for dynamic sizing of the icon based on the provided\n * `length-unit` attribute. This unit can either come from the `IconProvider`\n * or can be overridden for each individual icon. For example:\n * if `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n * `width: 1em; height: 1em`.\n *\n * Regarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n *\n * ### Decorative Icons\n * - Decorative icons do not convey any essential information to the content of a page.\n * - They should be hidden from screen readers (SR) to prevent confusion for users.\n * - For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n *\n * ### Informative Icons\n * - Informative icons convey important information that is not adequately represented\n * by surrounding text or components.\n * - They provide valuable context and must be announced by assistive technologies.\n * - For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n * the role will be unset.\n *\n * ### Informative Standalone Icons\n * - If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\n * have a Tooltip that describes what it means.\n * - For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\n * and the `role` will be set to \"img\" automatically.\n * - **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**\n *\n * @tagname mdc-icon\n *\n * @cssproperty --mdc-icon-fill-color - Allows customization of the default fill color.\n * @cssproperty --mdc-icon-size - Allows customization of the icon size.\n * @cssproperty --mdc-icon-border-radius - Allows customization of the icon border radius.\n */",
|
11976
12061
|
"customElement": true
|
11977
12062
|
}
|
11978
12063
|
],
|
@@ -11981,8 +12066,8 @@
|
|
11981
12066
|
"kind": "js",
|
11982
12067
|
"name": "default",
|
11983
12068
|
"declaration": {
|
11984
|
-
"name": "
|
11985
|
-
"module": "components/
|
12069
|
+
"name": "Icon",
|
12070
|
+
"module": "components/icon/icon.component.js"
|
11986
12071
|
}
|
11987
12072
|
}
|
11988
12073
|
]
|
@@ -18615,13 +18700,30 @@
|
|
18615
18700
|
},
|
18616
18701
|
{
|
18617
18702
|
"kind": "field",
|
18618
|
-
"name": "
|
18703
|
+
"name": "focusTrap",
|
18619
18704
|
"type": {
|
18620
18705
|
"text": "boolean"
|
18621
18706
|
},
|
18622
|
-
"default": "false",
|
18623
18707
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
18624
|
-
"
|
18708
|
+
"default": "false",
|
18709
|
+
"attribute": "focus-trap",
|
18710
|
+
"reflects": true,
|
18711
|
+
"privacy": "protected",
|
18712
|
+
"inheritedFrom": {
|
18713
|
+
"name": "Popover",
|
18714
|
+
"module": "components/popover/popover.component.js"
|
18715
|
+
}
|
18716
|
+
},
|
18717
|
+
{
|
18718
|
+
"kind": "field",
|
18719
|
+
"name": "shouldFocusTrapWrap",
|
18720
|
+
"type": {
|
18721
|
+
"text": "boolean"
|
18722
|
+
},
|
18723
|
+
"default": "true",
|
18724
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
18725
|
+
"attribute": "should-focus-trap-wrap",
|
18726
|
+
"reflects": true,
|
18625
18727
|
"inheritedFrom": {
|
18626
18728
|
"name": "FocusTrapMixin",
|
18627
18729
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -18642,11 +18744,10 @@
|
|
18642
18744
|
}
|
18643
18745
|
},
|
18644
18746
|
{
|
18645
|
-
"kind": "
|
18646
|
-
"name": "
|
18647
|
-
"
|
18648
|
-
|
18649
|
-
},
|
18747
|
+
"kind": "method",
|
18748
|
+
"name": "activateFocusTrap",
|
18749
|
+
"privacy": "public",
|
18750
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root",
|
18650
18751
|
"inheritedFrom": {
|
18651
18752
|
"name": "FocusTrapMixin",
|
18652
18753
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -18926,7 +19027,7 @@
|
|
18926
19027
|
"privacy": "public",
|
18927
19028
|
"parameters": [
|
18928
19029
|
{
|
18929
|
-
"name": "
|
19030
|
+
"name": "elementIndexToReceiveFocus",
|
18930
19031
|
"default": "0",
|
18931
19032
|
"type": {
|
18932
19033
|
"text": "number"
|
@@ -19062,7 +19163,7 @@
|
|
19062
19163
|
},
|
19063
19164
|
{
|
19064
19165
|
"kind": "method",
|
19065
|
-
"name": "
|
19166
|
+
"name": "handleTabKeydown",
|
19066
19167
|
"privacy": "private",
|
19067
19168
|
"parameters": [
|
19068
19169
|
{
|
@@ -19184,21 +19285,6 @@
|
|
19184
19285
|
"module": "components/popover/popover.component.js"
|
19185
19286
|
}
|
19186
19287
|
},
|
19187
|
-
{
|
19188
|
-
"kind": "field",
|
19189
|
-
"name": "focusTrap",
|
19190
|
-
"type": {
|
19191
|
-
"text": "boolean"
|
19192
|
-
},
|
19193
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
19194
|
-
"default": "false",
|
19195
|
-
"attribute": "focus-trap",
|
19196
|
-
"reflects": true,
|
19197
|
-
"inheritedFrom": {
|
19198
|
-
"name": "Popover",
|
19199
|
-
"module": "components/popover/popover.component.js"
|
19200
|
-
}
|
19201
|
-
},
|
19202
19288
|
{
|
19203
19289
|
"kind": "field",
|
19204
19290
|
"name": "preventScroll",
|
@@ -19475,7 +19561,7 @@
|
|
19475
19561
|
"type": {
|
19476
19562
|
"text": "boolean"
|
19477
19563
|
},
|
19478
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
19564
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
19479
19565
|
"default": "false",
|
19480
19566
|
"attribute": "disable-aria-expanded",
|
19481
19567
|
"reflects": true,
|
@@ -19484,6 +19570,21 @@
|
|
19484
19570
|
"module": "components/popover/popover.component.js"
|
19485
19571
|
}
|
19486
19572
|
},
|
19573
|
+
{
|
19574
|
+
"kind": "field",
|
19575
|
+
"name": "disableAriaHasPopup",
|
19576
|
+
"type": {
|
19577
|
+
"text": "boolean"
|
19578
|
+
},
|
19579
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
19580
|
+
"default": "false",
|
19581
|
+
"attribute": "disable-aria-haspopup",
|
19582
|
+
"reflects": true,
|
19583
|
+
"inheritedFrom": {
|
19584
|
+
"name": "Popover",
|
19585
|
+
"module": "components/popover/popover.component.js"
|
19586
|
+
}
|
19587
|
+
},
|
19487
19588
|
{
|
19488
19589
|
"kind": "field",
|
19489
19590
|
"name": "arrowElement",
|
@@ -19712,13 +19813,13 @@
|
|
19712
19813
|
}
|
19713
19814
|
},
|
19714
19815
|
{
|
19715
|
-
"name": "
|
19816
|
+
"name": "should-focus-trap-wrap",
|
19716
19817
|
"type": {
|
19717
19818
|
"text": "boolean"
|
19718
19819
|
},
|
19719
|
-
"default": "
|
19720
|
-
"description": "Determines whether the
|
19721
|
-
"fieldName": "
|
19820
|
+
"default": "true",
|
19821
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
19822
|
+
"fieldName": "shouldFocusTrapWrap",
|
19722
19823
|
"inheritedFrom": {
|
19723
19824
|
"name": "FocusTrapMixin",
|
19724
19825
|
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
@@ -20080,13 +20181,26 @@
|
|
20080
20181
|
"type": {
|
20081
20182
|
"text": "boolean"
|
20082
20183
|
},
|
20083
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
20184
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
20084
20185
|
"default": "false",
|
20085
20186
|
"fieldName": "disableAriaExpanded",
|
20086
20187
|
"inheritedFrom": {
|
20087
20188
|
"name": "Popover",
|
20088
20189
|
"module": "src/components/popover/popover.component.ts"
|
20089
20190
|
}
|
20191
|
+
},
|
20192
|
+
{
|
20193
|
+
"name": "disable-aria-haspopup",
|
20194
|
+
"type": {
|
20195
|
+
"text": "boolean"
|
20196
|
+
},
|
20197
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
20198
|
+
"default": "false",
|
20199
|
+
"fieldName": "disableAriaHasPopup",
|
20200
|
+
"inheritedFrom": {
|
20201
|
+
"name": "Popover",
|
20202
|
+
"module": "src/components/popover/popover.component.ts"
|
20203
|
+
}
|
20090
20204
|
}
|
20091
20205
|
],
|
20092
20206
|
"cssProperties": [
|
@@ -23120,10 +23234,15 @@
|
|
23120
23234
|
"type": {
|
23121
23235
|
"text": "boolean"
|
23122
23236
|
},
|
23237
|
+
"privacy": "protected",
|
23123
23238
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
23124
23239
|
"default": "false",
|
23125
23240
|
"attribute": "focus-trap",
|
23126
|
-
"reflects": true
|
23241
|
+
"reflects": true,
|
23242
|
+
"inheritedFrom": {
|
23243
|
+
"name": "FocusTrapMixin",
|
23244
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
23245
|
+
}
|
23127
23246
|
},
|
23128
23247
|
{
|
23129
23248
|
"kind": "field",
|
@@ -23329,11 +23448,22 @@
|
|
23329
23448
|
"type": {
|
23330
23449
|
"text": "boolean"
|
23331
23450
|
},
|
23332
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
23451
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
23333
23452
|
"default": "false",
|
23334
23453
|
"attribute": "disable-aria-expanded",
|
23335
23454
|
"reflects": true
|
23336
23455
|
},
|
23456
|
+
{
|
23457
|
+
"kind": "field",
|
23458
|
+
"name": "disableAriaHasPopup",
|
23459
|
+
"type": {
|
23460
|
+
"text": "boolean"
|
23461
|
+
},
|
23462
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
23463
|
+
"default": "false",
|
23464
|
+
"attribute": "disable-aria-haspopup",
|
23465
|
+
"reflects": true
|
23466
|
+
},
|
23337
23467
|
{
|
23338
23468
|
"kind": "field",
|
23339
23469
|
"name": "arrowElement",
|
@@ -23471,13 +23601,14 @@
|
|
23471
23601
|
},
|
23472
23602
|
{
|
23473
23603
|
"kind": "field",
|
23474
|
-
"name": "
|
23604
|
+
"name": "shouldFocusTrapWrap",
|
23475
23605
|
"type": {
|
23476
23606
|
"text": "boolean"
|
23477
23607
|
},
|
23478
|
-
"default": "
|
23479
|
-
"description": "Determines whether the
|
23480
|
-
"attribute": "
|
23608
|
+
"default": "true",
|
23609
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
23610
|
+
"attribute": "should-focus-trap-wrap",
|
23611
|
+
"reflects": true,
|
23481
23612
|
"inheritedFrom": {
|
23482
23613
|
"name": "FocusTrapMixin",
|
23483
23614
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -23498,11 +23629,10 @@
|
|
23498
23629
|
}
|
23499
23630
|
},
|
23500
23631
|
{
|
23501
|
-
"kind": "
|
23502
|
-
"name": "
|
23503
|
-
"
|
23504
|
-
|
23505
|
-
},
|
23632
|
+
"kind": "method",
|
23633
|
+
"name": "activateFocusTrap",
|
23634
|
+
"privacy": "public",
|
23635
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root",
|
23506
23636
|
"inheritedFrom": {
|
23507
23637
|
"name": "FocusTrapMixin",
|
23508
23638
|
"module": "utils/mixins/FocusTrapMixin.js"
|
@@ -23782,7 +23912,7 @@
|
|
23782
23912
|
"privacy": "public",
|
23783
23913
|
"parameters": [
|
23784
23914
|
{
|
23785
|
-
"name": "
|
23915
|
+
"name": "elementIndexToReceiveFocus",
|
23786
23916
|
"default": "0",
|
23787
23917
|
"type": {
|
23788
23918
|
"text": "number"
|
@@ -23918,7 +24048,7 @@
|
|
23918
24048
|
},
|
23919
24049
|
{
|
23920
24050
|
"kind": "method",
|
23921
|
-
"name": "
|
24051
|
+
"name": "handleTabKeydown",
|
23922
24052
|
"privacy": "private",
|
23923
24053
|
"parameters": [
|
23924
24054
|
{
|
@@ -24198,18 +24328,27 @@
|
|
24198
24328
|
"type": {
|
24199
24329
|
"text": "boolean"
|
24200
24330
|
},
|
24201
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
24331
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
24202
24332
|
"default": "false",
|
24203
24333
|
"fieldName": "disableAriaExpanded"
|
24204
24334
|
},
|
24205
24335
|
{
|
24206
|
-
"name": "
|
24336
|
+
"name": "disable-aria-haspopup",
|
24207
24337
|
"type": {
|
24208
24338
|
"text": "boolean"
|
24209
24339
|
},
|
24340
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
24210
24341
|
"default": "false",
|
24211
|
-
"
|
24212
|
-
|
24342
|
+
"fieldName": "disableAriaHasPopup"
|
24343
|
+
},
|
24344
|
+
{
|
24345
|
+
"name": "should-focus-trap-wrap",
|
24346
|
+
"type": {
|
24347
|
+
"text": "boolean"
|
24348
|
+
},
|
24349
|
+
"default": "true",
|
24350
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
24351
|
+
"fieldName": "shouldFocusTrapWrap",
|
24213
24352
|
"inheritedFrom": {
|
24214
24353
|
"name": "FocusTrapMixin",
|
24215
24354
|
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
@@ -29257,6 +29396,88 @@
|
|
29257
29396
|
}
|
29258
29397
|
]
|
29259
29398
|
},
|
29399
|
+
{
|
29400
|
+
"kind": "javascript-module",
|
29401
|
+
"path": "components/skeleton/skeleton.component.js",
|
29402
|
+
"declarations": [
|
29403
|
+
{
|
29404
|
+
"kind": "class",
|
29405
|
+
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
29406
|
+
"name": "Skeleton",
|
29407
|
+
"cssProperties": [
|
29408
|
+
{
|
29409
|
+
"description": "background color of the skeleton",
|
29410
|
+
"name": "--mdc-skeleton-background-color"
|
29411
|
+
},
|
29412
|
+
{
|
29413
|
+
"description": "height of the skeleton",
|
29414
|
+
"name": "--mdc-skeleton-height"
|
29415
|
+
},
|
29416
|
+
{
|
29417
|
+
"description": "width of the skeleton",
|
29418
|
+
"name": "--mdc-skeleton-width"
|
29419
|
+
}
|
29420
|
+
],
|
29421
|
+
"slots": [
|
29422
|
+
{
|
29423
|
+
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
29424
|
+
"name": ""
|
29425
|
+
}
|
29426
|
+
],
|
29427
|
+
"members": [
|
29428
|
+
{
|
29429
|
+
"kind": "field",
|
29430
|
+
"name": "variant",
|
29431
|
+
"type": {
|
29432
|
+
"text": "SkeletonVariant"
|
29433
|
+
},
|
29434
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
29435
|
+
"default": "rectangular",
|
29436
|
+
"attribute": "variant",
|
29437
|
+
"reflects": true
|
29438
|
+
},
|
29439
|
+
{
|
29440
|
+
"kind": "method",
|
29441
|
+
"name": "checkSlotContent",
|
29442
|
+
"privacy": "private",
|
29443
|
+
"return": {
|
29444
|
+
"type": {
|
29445
|
+
"text": "void"
|
29446
|
+
}
|
29447
|
+
}
|
29448
|
+
}
|
29449
|
+
],
|
29450
|
+
"attributes": [
|
29451
|
+
{
|
29452
|
+
"name": "variant",
|
29453
|
+
"type": {
|
29454
|
+
"text": "SkeletonVariant"
|
29455
|
+
},
|
29456
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
29457
|
+
"default": "rectangular",
|
29458
|
+
"fieldName": "variant"
|
29459
|
+
}
|
29460
|
+
],
|
29461
|
+
"superclass": {
|
29462
|
+
"name": "Component",
|
29463
|
+
"module": "/src/models"
|
29464
|
+
},
|
29465
|
+
"tagName": "mdc-skeleton",
|
29466
|
+
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
29467
|
+
"customElement": true
|
29468
|
+
}
|
29469
|
+
],
|
29470
|
+
"exports": [
|
29471
|
+
{
|
29472
|
+
"kind": "js",
|
29473
|
+
"name": "default",
|
29474
|
+
"declaration": {
|
29475
|
+
"name": "Skeleton",
|
29476
|
+
"module": "components/skeleton/skeleton.component.js"
|
29477
|
+
}
|
29478
|
+
}
|
29479
|
+
]
|
29480
|
+
},
|
29260
29481
|
{
|
29261
29482
|
"kind": "javascript-module",
|
29262
29483
|
"path": "components/spinner/spinner.component.js",
|
@@ -32756,13 +32977,30 @@
|
|
32756
32977
|
},
|
32757
32978
|
{
|
32758
32979
|
"kind": "field",
|
32759
|
-
"name": "
|
32980
|
+
"name": "focusTrap",
|
32760
32981
|
"type": {
|
32761
32982
|
"text": "boolean"
|
32762
32983
|
},
|
32763
|
-
"
|
32984
|
+
"privacy": "protected",
|
32764
32985
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
32765
|
-
"
|
32986
|
+
"default": "false",
|
32987
|
+
"attribute": "focus-trap",
|
32988
|
+
"reflects": true,
|
32989
|
+
"inheritedFrom": {
|
32990
|
+
"name": "Popover",
|
32991
|
+
"module": "components/popover/popover.component.js"
|
32992
|
+
}
|
32993
|
+
},
|
32994
|
+
{
|
32995
|
+
"kind": "field",
|
32996
|
+
"name": "shouldFocusTrapWrap",
|
32997
|
+
"type": {
|
32998
|
+
"text": "boolean"
|
32999
|
+
},
|
33000
|
+
"default": "true",
|
33001
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
33002
|
+
"attribute": "should-focus-trap-wrap",
|
33003
|
+
"reflects": true,
|
32766
33004
|
"inheritedFrom": {
|
32767
33005
|
"name": "Popover",
|
32768
33006
|
"module": "components/popover/popover.component.js"
|
@@ -32783,11 +33021,10 @@
|
|
32783
33021
|
}
|
32784
33022
|
},
|
32785
33023
|
{
|
32786
|
-
"kind": "
|
32787
|
-
"name": "
|
32788
|
-
"
|
32789
|
-
|
32790
|
-
},
|
33024
|
+
"kind": "method",
|
33025
|
+
"name": "activateFocusTrap",
|
33026
|
+
"privacy": "public",
|
33027
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root",
|
32791
33028
|
"inheritedFrom": {
|
32792
33029
|
"name": "Popover",
|
32793
33030
|
"module": "components/popover/popover.component.js"
|
@@ -33067,7 +33304,7 @@
|
|
33067
33304
|
"privacy": "public",
|
33068
33305
|
"parameters": [
|
33069
33306
|
{
|
33070
|
-
"name": "
|
33307
|
+
"name": "elementIndexToReceiveFocus",
|
33071
33308
|
"default": "0",
|
33072
33309
|
"type": {
|
33073
33310
|
"text": "number"
|
@@ -33203,7 +33440,7 @@
|
|
33203
33440
|
},
|
33204
33441
|
{
|
33205
33442
|
"kind": "method",
|
33206
|
-
"name": "
|
33443
|
+
"name": "handleTabKeydown",
|
33207
33444
|
"privacy": "private",
|
33208
33445
|
"parameters": [
|
33209
33446
|
{
|
@@ -33325,21 +33562,6 @@
|
|
33325
33562
|
"module": "components/popover/popover.component.js"
|
33326
33563
|
}
|
33327
33564
|
},
|
33328
|
-
{
|
33329
|
-
"kind": "field",
|
33330
|
-
"name": "focusTrap",
|
33331
|
-
"type": {
|
33332
|
-
"text": "boolean"
|
33333
|
-
},
|
33334
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
33335
|
-
"default": "false",
|
33336
|
-
"attribute": "focus-trap",
|
33337
|
-
"reflects": true,
|
33338
|
-
"inheritedFrom": {
|
33339
|
-
"name": "Popover",
|
33340
|
-
"module": "components/popover/popover.component.js"
|
33341
|
-
}
|
33342
|
-
},
|
33343
33565
|
{
|
33344
33566
|
"kind": "field",
|
33345
33567
|
"name": "preventScroll",
|
@@ -33616,7 +33838,7 @@
|
|
33616
33838
|
"type": {
|
33617
33839
|
"text": "boolean"
|
33618
33840
|
},
|
33619
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
33841
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
33620
33842
|
"default": "false",
|
33621
33843
|
"attribute": "disable-aria-expanded",
|
33622
33844
|
"reflects": true,
|
@@ -33625,6 +33847,21 @@
|
|
33625
33847
|
"module": "components/popover/popover.component.js"
|
33626
33848
|
}
|
33627
33849
|
},
|
33850
|
+
{
|
33851
|
+
"kind": "field",
|
33852
|
+
"name": "disableAriaHasPopup",
|
33853
|
+
"type": {
|
33854
|
+
"text": "boolean"
|
33855
|
+
},
|
33856
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
33857
|
+
"default": "false",
|
33858
|
+
"attribute": "disable-aria-haspopup",
|
33859
|
+
"reflects": true,
|
33860
|
+
"inheritedFrom": {
|
33861
|
+
"name": "Popover",
|
33862
|
+
"module": "components/popover/popover.component.js"
|
33863
|
+
}
|
33864
|
+
},
|
33628
33865
|
{
|
33629
33866
|
"kind": "field",
|
33630
33867
|
"name": "arrowElement",
|
@@ -33873,13 +34110,13 @@
|
|
33873
34110
|
"fieldName": "screenreaderAnnouncerIdentity"
|
33874
34111
|
},
|
33875
34112
|
{
|
33876
|
-
"name": "
|
34113
|
+
"name": "should-focus-trap-wrap",
|
33877
34114
|
"type": {
|
33878
34115
|
"text": "boolean"
|
33879
34116
|
},
|
33880
|
-
"default": "
|
33881
|
-
"description": "Determines whether the
|
33882
|
-
"fieldName": "
|
34117
|
+
"default": "true",
|
34118
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
34119
|
+
"fieldName": "shouldFocusTrapWrap",
|
33883
34120
|
"inheritedFrom": {
|
33884
34121
|
"name": "Popover",
|
33885
34122
|
"module": "src/components/popover/popover.component.ts"
|
@@ -34241,13 +34478,26 @@
|
|
34241
34478
|
"type": {
|
34242
34479
|
"text": "boolean"
|
34243
34480
|
},
|
34244
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
34481
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
34245
34482
|
"default": "false",
|
34246
34483
|
"fieldName": "disableAriaExpanded",
|
34247
34484
|
"inheritedFrom": {
|
34248
34485
|
"name": "Popover",
|
34249
34486
|
"module": "src/components/popover/popover.component.ts"
|
34250
34487
|
}
|
34488
|
+
},
|
34489
|
+
{
|
34490
|
+
"name": "disable-aria-haspopup",
|
34491
|
+
"type": {
|
34492
|
+
"text": "boolean"
|
34493
|
+
},
|
34494
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
34495
|
+
"default": "false",
|
34496
|
+
"fieldName": "disableAriaHasPopup",
|
34497
|
+
"inheritedFrom": {
|
34498
|
+
"name": "Popover",
|
34499
|
+
"module": "src/components/popover/popover.component.ts"
|
34500
|
+
}
|
34251
34501
|
}
|
34252
34502
|
],
|
34253
34503
|
"superclass": {
|
@@ -34470,13 +34720,30 @@
|
|
34470
34720
|
},
|
34471
34721
|
{
|
34472
34722
|
"kind": "field",
|
34473
|
-
"name": "
|
34723
|
+
"name": "focusTrap",
|
34474
34724
|
"type": {
|
34475
34725
|
"text": "boolean"
|
34476
34726
|
},
|
34477
|
-
"
|
34727
|
+
"privacy": "protected",
|
34478
34728
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
34479
|
-
"
|
34729
|
+
"default": "false",
|
34730
|
+
"attribute": "focus-trap",
|
34731
|
+
"reflects": true,
|
34732
|
+
"inheritedFrom": {
|
34733
|
+
"name": "Popover",
|
34734
|
+
"module": "components/popover/popover.component.js"
|
34735
|
+
}
|
34736
|
+
},
|
34737
|
+
{
|
34738
|
+
"kind": "field",
|
34739
|
+
"name": "shouldFocusTrapWrap",
|
34740
|
+
"type": {
|
34741
|
+
"text": "boolean"
|
34742
|
+
},
|
34743
|
+
"default": "true",
|
34744
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
34745
|
+
"attribute": "should-focus-trap-wrap",
|
34746
|
+
"reflects": true,
|
34480
34747
|
"inheritedFrom": {
|
34481
34748
|
"name": "Popover",
|
34482
34749
|
"module": "components/popover/popover.component.js"
|
@@ -34497,11 +34764,10 @@
|
|
34497
34764
|
}
|
34498
34765
|
},
|
34499
34766
|
{
|
34500
|
-
"kind": "
|
34501
|
-
"name": "
|
34502
|
-
"
|
34503
|
-
|
34504
|
-
},
|
34767
|
+
"kind": "method",
|
34768
|
+
"name": "activateFocusTrap",
|
34769
|
+
"privacy": "public",
|
34770
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root",
|
34505
34771
|
"inheritedFrom": {
|
34506
34772
|
"name": "Popover",
|
34507
34773
|
"module": "components/popover/popover.component.js"
|
@@ -34781,7 +35047,7 @@
|
|
34781
35047
|
"privacy": "public",
|
34782
35048
|
"parameters": [
|
34783
35049
|
{
|
34784
|
-
"name": "
|
35050
|
+
"name": "elementIndexToReceiveFocus",
|
34785
35051
|
"default": "0",
|
34786
35052
|
"type": {
|
34787
35053
|
"text": "number"
|
@@ -34917,7 +35183,7 @@
|
|
34917
35183
|
},
|
34918
35184
|
{
|
34919
35185
|
"kind": "method",
|
34920
|
-
"name": "
|
35186
|
+
"name": "handleTabKeydown",
|
34921
35187
|
"privacy": "private",
|
34922
35188
|
"parameters": [
|
34923
35189
|
{
|
@@ -35039,21 +35305,6 @@
|
|
35039
35305
|
"module": "components/popover/popover.component.js"
|
35040
35306
|
}
|
35041
35307
|
},
|
35042
|
-
{
|
35043
|
-
"kind": "field",
|
35044
|
-
"name": "focusTrap",
|
35045
|
-
"type": {
|
35046
|
-
"text": "boolean"
|
35047
|
-
},
|
35048
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
35049
|
-
"default": "false",
|
35050
|
-
"attribute": "focus-trap",
|
35051
|
-
"reflects": true,
|
35052
|
-
"inheritedFrom": {
|
35053
|
-
"name": "Popover",
|
35054
|
-
"module": "components/popover/popover.component.js"
|
35055
|
-
}
|
35056
|
-
},
|
35057
35308
|
{
|
35058
35309
|
"kind": "field",
|
35059
35310
|
"name": "preventScroll",
|
@@ -35330,7 +35581,7 @@
|
|
35330
35581
|
"type": {
|
35331
35582
|
"text": "boolean"
|
35332
35583
|
},
|
35333
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
35584
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
35334
35585
|
"default": "false",
|
35335
35586
|
"attribute": "disable-aria-expanded",
|
35336
35587
|
"reflects": true,
|
@@ -35339,6 +35590,21 @@
|
|
35339
35590
|
"module": "components/popover/popover.component.js"
|
35340
35591
|
}
|
35341
35592
|
},
|
35593
|
+
{
|
35594
|
+
"kind": "field",
|
35595
|
+
"name": "disableAriaHasPopup",
|
35596
|
+
"type": {
|
35597
|
+
"text": "boolean"
|
35598
|
+
},
|
35599
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
35600
|
+
"default": "false",
|
35601
|
+
"attribute": "disable-aria-haspopup",
|
35602
|
+
"reflects": true,
|
35603
|
+
"inheritedFrom": {
|
35604
|
+
"name": "Popover",
|
35605
|
+
"module": "components/popover/popover.component.js"
|
35606
|
+
}
|
35607
|
+
},
|
35342
35608
|
{
|
35343
35609
|
"kind": "field",
|
35344
35610
|
"name": "arrowElement",
|
@@ -35588,13 +35854,13 @@
|
|
35588
35854
|
"fieldName": "tooltipType"
|
35589
35855
|
},
|
35590
35856
|
{
|
35591
|
-
"name": "
|
35857
|
+
"name": "should-focus-trap-wrap",
|
35592
35858
|
"type": {
|
35593
35859
|
"text": "boolean"
|
35594
35860
|
},
|
35595
|
-
"default": "
|
35596
|
-
"description": "Determines whether the
|
35597
|
-
"fieldName": "
|
35861
|
+
"default": "true",
|
35862
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
35863
|
+
"fieldName": "shouldFocusTrapWrap",
|
35598
35864
|
"inheritedFrom": {
|
35599
35865
|
"name": "Popover",
|
35600
35866
|
"module": "src/components/popover/popover.component.ts"
|
@@ -35956,13 +36222,26 @@
|
|
35956
36222
|
"type": {
|
35957
36223
|
"text": "boolean"
|
35958
36224
|
},
|
35959
|
-
"description": "Disable aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
36225
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
35960
36226
|
"default": "false",
|
35961
36227
|
"fieldName": "disableAriaExpanded",
|
35962
36228
|
"inheritedFrom": {
|
35963
36229
|
"name": "Popover",
|
35964
36230
|
"module": "src/components/popover/popover.component.ts"
|
35965
36231
|
}
|
36232
|
+
},
|
36233
|
+
{
|
36234
|
+
"name": "disable-aria-haspopup",
|
36235
|
+
"type": {
|
36236
|
+
"text": "boolean"
|
36237
|
+
},
|
36238
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
36239
|
+
"default": "false",
|
36240
|
+
"fieldName": "disableAriaHasPopup",
|
36241
|
+
"inheritedFrom": {
|
36242
|
+
"name": "Popover",
|
36243
|
+
"module": "src/components/popover/popover.component.ts"
|
36244
|
+
}
|
35966
36245
|
}
|
35967
36246
|
],
|
35968
36247
|
"superclass": {
|
@@ -37198,10 +37477,11 @@
|
|
37198
37477
|
"members": [
|
37199
37478
|
{
|
37200
37479
|
"kind": "field",
|
37201
|
-
"name": "
|
37480
|
+
"name": "focusTrap",
|
37202
37481
|
"type": {
|
37203
37482
|
"text": "boolean"
|
37204
|
-
}
|
37483
|
+
},
|
37484
|
+
"privacy": "protected"
|
37205
37485
|
},
|
37206
37486
|
{
|
37207
37487
|
"kind": "field",
|
@@ -37210,15 +37490,6 @@
|
|
37210
37490
|
"text": "boolean"
|
37211
37491
|
}
|
37212
37492
|
},
|
37213
|
-
{
|
37214
|
-
"kind": "method",
|
37215
|
-
"name": "setFocusableElements",
|
37216
|
-
"return": {
|
37217
|
-
"type": {
|
37218
|
-
"text": "void"
|
37219
|
-
}
|
37220
|
-
}
|
37221
|
-
},
|
37222
37493
|
{
|
37223
37494
|
"kind": "method",
|
37224
37495
|
"name": "setInitialFocus",
|
@@ -37229,7 +37500,7 @@
|
|
37229
37500
|
},
|
37230
37501
|
"parameters": [
|
37231
37502
|
{
|
37232
|
-
"name": "
|
37503
|
+
"name": "elementIndexToReceiveFocus",
|
37233
37504
|
"optional": true,
|
37234
37505
|
"type": {
|
37235
37506
|
"text": "number"
|
@@ -37237,6 +37508,15 @@
|
|
37237
37508
|
}
|
37238
37509
|
]
|
37239
37510
|
},
|
37511
|
+
{
|
37512
|
+
"kind": "method",
|
37513
|
+
"name": "activateFocusTrap",
|
37514
|
+
"return": {
|
37515
|
+
"type": {
|
37516
|
+
"text": "void"
|
37517
|
+
}
|
37518
|
+
}
|
37519
|
+
},
|
37240
37520
|
{
|
37241
37521
|
"kind": "method",
|
37242
37522
|
"name": "deactivateFocusTrap",
|
@@ -37255,13 +37535,24 @@
|
|
37255
37535
|
"members": [
|
37256
37536
|
{
|
37257
37537
|
"kind": "field",
|
37258
|
-
"name": "
|
37538
|
+
"name": "focusTrap",
|
37259
37539
|
"type": {
|
37260
37540
|
"text": "boolean"
|
37261
37541
|
},
|
37262
|
-
"
|
37542
|
+
"privacy": "protected",
|
37263
37543
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
37264
|
-
"
|
37544
|
+
"default": "false"
|
37545
|
+
},
|
37546
|
+
{
|
37547
|
+
"kind": "field",
|
37548
|
+
"name": "shouldFocusTrapWrap",
|
37549
|
+
"type": {
|
37550
|
+
"text": "boolean"
|
37551
|
+
},
|
37552
|
+
"default": "true",
|
37553
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
37554
|
+
"attribute": "should-focus-trap-wrap",
|
37555
|
+
"reflects": true
|
37265
37556
|
},
|
37266
37557
|
{
|
37267
37558
|
"kind": "field",
|
@@ -37274,11 +37565,10 @@
|
|
37274
37565
|
"attribute": "enabledPreventScroll"
|
37275
37566
|
},
|
37276
37567
|
{
|
37277
|
-
"kind": "
|
37278
|
-
"name": "
|
37279
|
-
"
|
37280
|
-
|
37281
|
-
}
|
37568
|
+
"kind": "method",
|
37569
|
+
"name": "activateFocusTrap",
|
37570
|
+
"privacy": "public",
|
37571
|
+
"description": "Activate the focus trap\nThis calculates the focusable elements within the component's shadow root"
|
37282
37572
|
},
|
37283
37573
|
{
|
37284
37574
|
"kind": "method",
|
@@ -37506,7 +37796,7 @@
|
|
37506
37796
|
"privacy": "public",
|
37507
37797
|
"parameters": [
|
37508
37798
|
{
|
37509
|
-
"name": "
|
37799
|
+
"name": "elementIndexToReceiveFocus",
|
37510
37800
|
"default": "0",
|
37511
37801
|
"type": {
|
37512
37802
|
"text": "number"
|
@@ -37618,7 +37908,7 @@
|
|
37618
37908
|
},
|
37619
37909
|
{
|
37620
37910
|
"kind": "method",
|
37621
|
-
"name": "
|
37911
|
+
"name": "handleTabKeydown",
|
37622
37912
|
"privacy": "private",
|
37623
37913
|
"parameters": [
|
37624
37914
|
{
|
@@ -37634,13 +37924,13 @@
|
|
37634
37924
|
],
|
37635
37925
|
"attributes": [
|
37636
37926
|
{
|
37637
|
-
"name": "
|
37927
|
+
"name": "should-focus-trap-wrap",
|
37638
37928
|
"type": {
|
37639
37929
|
"text": "boolean"
|
37640
37930
|
},
|
37641
|
-
"default": "
|
37642
|
-
"description": "Determines whether the
|
37643
|
-
"fieldName": "
|
37931
|
+
"default": "true",
|
37932
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `enabledFocusTrap` is true.",
|
37933
|
+
"fieldName": "shouldFocusTrapWrap"
|
37644
37934
|
},
|
37645
37935
|
{
|
37646
37936
|
"name": "enabledPreventScroll",
|