@momentum-design/components 0.66.4 → 0.68.0
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 +369 -211
- package/dist/browser/index.js.map +4 -4
- package/dist/components/card/card.component.d.ts +4 -35
- package/dist/components/card/card.component.js +9 -79
- package/dist/components/dialog/dialog.component.d.ts +150 -0
- package/dist/components/dialog/dialog.component.js +340 -0
- package/dist/components/dialog/dialog.constants.d.ts +18 -0
- package/dist/components/dialog/dialog.constants.js +19 -0
- package/dist/components/dialog/dialog.events.d.ts +34 -0
- package/dist/components/dialog/dialog.events.js +47 -0
- package/dist/components/dialog/dialog.styles.d.ts +2 -0
- package/dist/components/dialog/dialog.styles.js +108 -0
- package/dist/components/dialog/dialog.types.d.ts +12 -0
- package/dist/components/dialog/dialog.types.js +1 -0
- package/dist/components/dialog/dialog.utils.d.ts +7 -0
- package/dist/components/dialog/dialog.utils.js +33 -0
- package/dist/components/dialog/index.d.ts +9 -0
- package/dist/components/dialog/index.js +6 -0
- package/dist/components/popover/popover.styles.js +5 -0
- package/dist/components/toggletip/toggletip.styles.js +8 -0
- package/dist/custom-elements.json +1211 -105
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -3
- package/dist/react/dialog/index.d.ts +51 -0
- package/dist/react/dialog/index.js +59 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +1 -0
- package/dist/utils/mixins/CardAndDialogFooterMixin.d.ts +11 -0
- package/dist/utils/mixins/CardAndDialogFooterMixin.js +102 -0
- package/dist/utils/mixins/FocusTrapMixin.js +4 -5
- package/package.json +1 -1
@@ -3792,12 +3792,31 @@
|
|
3792
3792
|
"name": "CardComponentMixin",
|
3793
3793
|
"module": "utils/mixins/CardComponentMixin.js"
|
3794
3794
|
}
|
3795
|
+
},
|
3796
|
+
{
|
3797
|
+
"kind": "method",
|
3798
|
+
"name": "renderFooter",
|
3799
|
+
"privacy": "protected",
|
3800
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
3801
|
+
"return": {
|
3802
|
+
"type": {
|
3803
|
+
"text": ""
|
3804
|
+
}
|
3805
|
+
},
|
3806
|
+
"inheritedFrom": {
|
3807
|
+
"name": "CardAndDialogFooterMixin",
|
3808
|
+
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
3809
|
+
}
|
3795
3810
|
}
|
3796
3811
|
],
|
3797
3812
|
"mixins": [
|
3798
3813
|
{
|
3799
3814
|
"name": "CardComponentMixin",
|
3800
3815
|
"module": "/src/utils/mixins/CardComponentMixin"
|
3816
|
+
},
|
3817
|
+
{
|
3818
|
+
"name": "CardAndDialogFooterMixin",
|
3819
|
+
"module": "/src/utils/mixins/CardAndDialogFooterMixin"
|
3801
3820
|
}
|
3802
3821
|
],
|
3803
3822
|
"superclass": {
|
@@ -5032,6 +5051,21 @@
|
|
5032
5051
|
"name": "Card",
|
5033
5052
|
"module": "components/card/card.component.js"
|
5034
5053
|
}
|
5054
|
+
},
|
5055
|
+
{
|
5056
|
+
"kind": "method",
|
5057
|
+
"name": "renderFooter",
|
5058
|
+
"privacy": "protected",
|
5059
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
5060
|
+
"return": {
|
5061
|
+
"type": {
|
5062
|
+
"text": ""
|
5063
|
+
}
|
5064
|
+
},
|
5065
|
+
"inheritedFrom": {
|
5066
|
+
"name": "Card",
|
5067
|
+
"module": "components/card/card.component.js"
|
5068
|
+
}
|
5035
5069
|
}
|
5036
5070
|
],
|
5037
5071
|
"events": [
|
@@ -5600,6 +5634,21 @@
|
|
5600
5634
|
"name": "Card",
|
5601
5635
|
"module": "components/card/card.component.js"
|
5602
5636
|
}
|
5637
|
+
},
|
5638
|
+
{
|
5639
|
+
"kind": "method",
|
5640
|
+
"name": "renderFooter",
|
5641
|
+
"privacy": "protected",
|
5642
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
5643
|
+
"return": {
|
5644
|
+
"type": {
|
5645
|
+
"text": ""
|
5646
|
+
}
|
5647
|
+
},
|
5648
|
+
"inheritedFrom": {
|
5649
|
+
"name": "Card",
|
5650
|
+
"module": "components/card/card.component.js"
|
5651
|
+
}
|
5603
5652
|
}
|
5604
5653
|
],
|
5605
5654
|
"events": [
|
@@ -7144,8 +7193,8 @@
|
|
7144
7193
|
"type": {
|
7145
7194
|
"text": "boolean"
|
7146
7195
|
},
|
7147
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
7148
7196
|
"default": "false",
|
7197
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
7149
7198
|
"attribute": "enabledFocusTrap",
|
7150
7199
|
"inheritedFrom": {
|
7151
7200
|
"name": "FocusTrapMixin",
|
@@ -7158,8 +7207,8 @@
|
|
7158
7207
|
"type": {
|
7159
7208
|
"text": "boolean"
|
7160
7209
|
},
|
7161
|
-
"description": "Prevent outside scrolling when popover show.",
|
7162
7210
|
"default": "false",
|
7211
|
+
"description": "Prevent outside scrolling when element is shown.",
|
7163
7212
|
"attribute": "enabledPreventScroll",
|
7164
7213
|
"inheritedFrom": {
|
7165
7214
|
"name": "FocusTrapMixin",
|
@@ -7456,7 +7505,7 @@
|
|
7456
7505
|
"type": {
|
7457
7506
|
"text": "number"
|
7458
7507
|
},
|
7459
|
-
"description": "The index of the
|
7508
|
+
"description": "The index of the preferable element to focus."
|
7460
7509
|
}
|
7461
7510
|
],
|
7462
7511
|
"description": "Sets the initial focus within the container.",
|
@@ -8245,8 +8294,8 @@
|
|
8245
8294
|
"type": {
|
8246
8295
|
"text": "boolean"
|
8247
8296
|
},
|
8248
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
8249
8297
|
"default": "false",
|
8298
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
8250
8299
|
"fieldName": "enabledFocusTrap",
|
8251
8300
|
"inheritedFrom": {
|
8252
8301
|
"name": "FocusTrapMixin",
|
@@ -8258,8 +8307,8 @@
|
|
8258
8307
|
"type": {
|
8259
8308
|
"text": "boolean"
|
8260
8309
|
},
|
8261
|
-
"description": "Prevent outside scrolling when popover show.",
|
8262
8310
|
"default": "false",
|
8311
|
+
"description": "Prevent outside scrolling when element is shown.",
|
8263
8312
|
"fieldName": "enabledPreventScroll",
|
8264
8313
|
"inheritedFrom": {
|
8265
8314
|
"name": "FocusTrapMixin",
|
@@ -8449,129 +8498,1055 @@
|
|
8449
8498
|
}
|
8450
8499
|
},
|
8451
8500
|
{
|
8452
|
-
"name": "backdrop",
|
8501
|
+
"name": "backdrop",
|
8502
|
+
"type": {
|
8503
|
+
"text": "boolean"
|
8504
|
+
},
|
8505
|
+
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
8506
|
+
"default": "false",
|
8507
|
+
"fieldName": "backdrop",
|
8508
|
+
"inheritedFrom": {
|
8509
|
+
"name": "Popover",
|
8510
|
+
"module": "src/components/popover/popover.component.ts"
|
8511
|
+
}
|
8512
|
+
},
|
8513
|
+
{
|
8514
|
+
"name": "flip",
|
8515
|
+
"type": {
|
8516
|
+
"text": "boolean"
|
8517
|
+
},
|
8518
|
+
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
8519
|
+
"default": "true",
|
8520
|
+
"fieldName": "flip",
|
8521
|
+
"inheritedFrom": {
|
8522
|
+
"name": "Popover",
|
8523
|
+
"module": "src/components/popover/popover.component.ts"
|
8524
|
+
}
|
8525
|
+
},
|
8526
|
+
{
|
8527
|
+
"name": "size",
|
8528
|
+
"type": {
|
8529
|
+
"text": "boolean"
|
8530
|
+
},
|
8531
|
+
"description": "Changes the size of popover to keep it in view when scrolling.",
|
8532
|
+
"default": "false",
|
8533
|
+
"fieldName": "size",
|
8534
|
+
"inheritedFrom": {
|
8535
|
+
"name": "Popover",
|
8536
|
+
"module": "src/components/popover/popover.component.ts"
|
8537
|
+
}
|
8538
|
+
},
|
8539
|
+
{
|
8540
|
+
"name": "z-index",
|
8541
|
+
"type": {
|
8542
|
+
"text": "number"
|
8543
|
+
},
|
8544
|
+
"description": "The z-index of the popover.",
|
8545
|
+
"default": "1000",
|
8546
|
+
"fieldName": "zIndex",
|
8547
|
+
"inheritedFrom": {
|
8548
|
+
"name": "Popover",
|
8549
|
+
"module": "src/components/popover/popover.component.ts"
|
8550
|
+
}
|
8551
|
+
},
|
8552
|
+
{
|
8553
|
+
"name": "append-to",
|
8554
|
+
"type": {
|
8555
|
+
"text": "string"
|
8556
|
+
},
|
8557
|
+
"default": "''",
|
8558
|
+
"description": "Element ID that the popover append to.",
|
8559
|
+
"fieldName": "appendTo",
|
8560
|
+
"inheritedFrom": {
|
8561
|
+
"name": "Popover",
|
8562
|
+
"module": "src/components/popover/popover.component.ts"
|
8563
|
+
}
|
8564
|
+
},
|
8565
|
+
{
|
8566
|
+
"name": "close-button-aria-label",
|
8567
|
+
"type": {
|
8568
|
+
"text": "string | null"
|
8569
|
+
},
|
8570
|
+
"default": "null",
|
8571
|
+
"description": "aria-label attribute to be set for close button accessibility.",
|
8572
|
+
"fieldName": "closeButtonAriaLabel",
|
8573
|
+
"inheritedFrom": {
|
8574
|
+
"name": "Popover",
|
8575
|
+
"module": "src/components/popover/popover.component.ts"
|
8576
|
+
}
|
8577
|
+
},
|
8578
|
+
{
|
8579
|
+
"name": "role",
|
8580
|
+
"type": {
|
8581
|
+
"text": "HTMLElement['role']"
|
8582
|
+
},
|
8583
|
+
"description": "Role of the popover",
|
8584
|
+
"default": "dialog",
|
8585
|
+
"fieldName": "role",
|
8586
|
+
"inheritedFrom": {
|
8587
|
+
"name": "Popover",
|
8588
|
+
"module": "src/components/popover/popover.component.ts"
|
8589
|
+
}
|
8590
|
+
},
|
8591
|
+
{
|
8592
|
+
"name": "aria-labelledby",
|
8593
|
+
"type": {
|
8594
|
+
"text": "string | null"
|
8595
|
+
},
|
8596
|
+
"default": "null",
|
8597
|
+
"description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
|
8598
|
+
"fieldName": "ariaLabelledby",
|
8599
|
+
"inheritedFrom": {
|
8600
|
+
"name": "Popover",
|
8601
|
+
"module": "src/components/popover/popover.component.ts"
|
8602
|
+
}
|
8603
|
+
},
|
8604
|
+
{
|
8605
|
+
"name": "aria-describedby",
|
8606
|
+
"type": {
|
8607
|
+
"text": "string | null"
|
8608
|
+
},
|
8609
|
+
"default": "null",
|
8610
|
+
"description": "aria-describedby of the popover.",
|
8611
|
+
"fieldName": "ariaDescribedby",
|
8612
|
+
"inheritedFrom": {
|
8613
|
+
"name": "Popover",
|
8614
|
+
"module": "src/components/popover/popover.component.ts"
|
8615
|
+
}
|
8616
|
+
}
|
8617
|
+
],
|
8618
|
+
"superclass": {
|
8619
|
+
"name": "Popover",
|
8620
|
+
"module": "/src/components/popover/popover.component"
|
8621
|
+
},
|
8622
|
+
"tagName": "mdc-coachmark",
|
8623
|
+
"jsDoc": "/**\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @event shown - (React: onShown) This event is dispatched when the coachmark is shown\n * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden\n * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is\n * destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n *\n */",
|
8624
|
+
"customElement": true
|
8625
|
+
}
|
8626
|
+
],
|
8627
|
+
"exports": [
|
8628
|
+
{
|
8629
|
+
"kind": "js",
|
8630
|
+
"name": "default",
|
8631
|
+
"declaration": {
|
8632
|
+
"name": "Coachmark",
|
8633
|
+
"module": "components/coachmark/coachmark.component.js"
|
8634
|
+
}
|
8635
|
+
}
|
8636
|
+
]
|
8637
|
+
},
|
8638
|
+
{
|
8639
|
+
"kind": "javascript-module",
|
8640
|
+
"path": "components/dialog/dialog.component.js",
|
8641
|
+
"declarations": [
|
8642
|
+
{
|
8643
|
+
"kind": "class",
|
8644
|
+
"description": "Dialog component is a modal dialog that can be used to display information or prompt the user for input.\nIt can be used to create custom dialogs where content for the body and footer actions is provided by the consumer.\nThe dialog is available in three sizes: small, medium, and large. It may also receive custom styling/sizing.\nThe dialog interrupts the user and will block interaction with the rest of the application until it is closed.\n\nDialog component have 2 variants: default and promotional.\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- The dialog should have an aria-label or aria-labelledby attribute to provide a label for screen readers.\n- Use aria-labelledby to reference the ID of the element that labels the dialog when there is no visible title.\n\n**Note: Programmatic show/hide requires the ? prefix on the visible attribute**\n- Use `?visible=true/false` as an attribute instead of `visible=true/false`\n- Reference docs for more info: https://lit.dev/docs/templates/expressions/#boolean-attribute-expressions",
|
8645
|
+
"name": "Dialog",
|
8646
|
+
"cssProperties": [
|
8647
|
+
{
|
8648
|
+
"description": "primary background color of the dialog",
|
8649
|
+
"name": "--mdc-dialog-primary-background-color"
|
8650
|
+
},
|
8651
|
+
{
|
8652
|
+
"description": "border color of the dialog",
|
8653
|
+
"name": "--mdc-dialog-border-color"
|
8654
|
+
},
|
8655
|
+
{
|
8656
|
+
"description": "text color of the header/title of the dialog",
|
8657
|
+
"name": "--mdc-dialog-header-text-color"
|
8658
|
+
},
|
8659
|
+
{
|
8660
|
+
"description": "text color of the below header description of the dialog",
|
8661
|
+
"name": "--mdc-dialog-description-text-color"
|
8662
|
+
},
|
8663
|
+
{
|
8664
|
+
"description": "elevation of the dialog",
|
8665
|
+
"name": "--mdc-dialog-elevation-3"
|
8666
|
+
},
|
8667
|
+
{
|
8668
|
+
"description": "width of the dialog",
|
8669
|
+
"name": "--mdc-dialog-width"
|
8670
|
+
}
|
8671
|
+
],
|
8672
|
+
"slots": [
|
8673
|
+
{
|
8674
|
+
"description": "Slot for the dialog body content",
|
8675
|
+
"name": "dialog-body"
|
8676
|
+
},
|
8677
|
+
{
|
8678
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
8679
|
+
"name": "footer-link"
|
8680
|
+
},
|
8681
|
+
{
|
8682
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
8683
|
+
"name": "footer-button-secondary"
|
8684
|
+
},
|
8685
|
+
{
|
8686
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
8687
|
+
"name": "footer-button-primary"
|
8688
|
+
}
|
8689
|
+
],
|
8690
|
+
"members": [
|
8691
|
+
{
|
8692
|
+
"kind": "field",
|
8693
|
+
"name": "id",
|
8694
|
+
"type": {
|
8695
|
+
"text": "string"
|
8696
|
+
},
|
8697
|
+
"default": "''",
|
8698
|
+
"description": "The unique ID of the dialog",
|
8699
|
+
"attribute": "id",
|
8700
|
+
"reflects": true
|
8701
|
+
},
|
8702
|
+
{
|
8703
|
+
"kind": "field",
|
8704
|
+
"name": "triggerId",
|
8705
|
+
"type": {
|
8706
|
+
"text": "string"
|
8707
|
+
},
|
8708
|
+
"default": "''",
|
8709
|
+
"description": "The ID of the element that triggers the dialog",
|
8710
|
+
"attribute": "triggerId",
|
8711
|
+
"reflects": true
|
8712
|
+
},
|
8713
|
+
{
|
8714
|
+
"kind": "field",
|
8715
|
+
"name": "visible",
|
8716
|
+
"type": {
|
8717
|
+
"text": "boolean"
|
8718
|
+
},
|
8719
|
+
"description": "The visibility of the dialog",
|
8720
|
+
"default": "false",
|
8721
|
+
"attribute": "visible",
|
8722
|
+
"reflects": true
|
8723
|
+
},
|
8724
|
+
{
|
8725
|
+
"kind": "field",
|
8726
|
+
"name": "zIndex",
|
8727
|
+
"type": {
|
8728
|
+
"text": "number"
|
8729
|
+
},
|
8730
|
+
"description": "The z-index of the dialog",
|
8731
|
+
"default": "1000",
|
8732
|
+
"attribute": "z-index",
|
8733
|
+
"reflects": true
|
8734
|
+
},
|
8735
|
+
{
|
8736
|
+
"kind": "field",
|
8737
|
+
"name": "size",
|
8738
|
+
"type": {
|
8739
|
+
"text": "DialogSize"
|
8740
|
+
},
|
8741
|
+
"description": "The size of the dialog, can be 'small' (432x332), 'medium' (656x356), or 'large' (992x412)",
|
8742
|
+
"default": "small",
|
8743
|
+
"attribute": "size",
|
8744
|
+
"reflects": true
|
8745
|
+
},
|
8746
|
+
{
|
8747
|
+
"kind": "field",
|
8748
|
+
"name": "variant",
|
8749
|
+
"type": {
|
8750
|
+
"text": "DialogVariant"
|
8751
|
+
},
|
8752
|
+
"attribute": "variant",
|
8753
|
+
"reflects": true
|
8754
|
+
},
|
8755
|
+
{
|
8756
|
+
"kind": "field",
|
8757
|
+
"name": "closeButtonAriaLabel",
|
8758
|
+
"type": {
|
8759
|
+
"text": "string | null"
|
8760
|
+
},
|
8761
|
+
"default": "null",
|
8762
|
+
"description": "Defines a string value for the aria-label attribute for close button accessibility",
|
8763
|
+
"attribute": "close-button-aria-label"
|
8764
|
+
},
|
8765
|
+
{
|
8766
|
+
"kind": "field",
|
8767
|
+
"name": "ariaLabelledby",
|
8768
|
+
"type": {
|
8769
|
+
"text": "string | null"
|
8770
|
+
},
|
8771
|
+
"default": "null",
|
8772
|
+
"description": "Defines a string value for the aria-labelledby attribute that refers to the element\nlabeling the dialog for accessibility",
|
8773
|
+
"attribute": "aria-labelledby",
|
8774
|
+
"reflects": true
|
8775
|
+
},
|
8776
|
+
{
|
8777
|
+
"kind": "field",
|
8778
|
+
"name": "ariaLabel",
|
8779
|
+
"type": {
|
8780
|
+
"text": "string | null"
|
8781
|
+
},
|
8782
|
+
"default": "null",
|
8783
|
+
"description": "Defines a string value for the aria-label attribute when header is not used",
|
8784
|
+
"attribute": "aria-label",
|
8785
|
+
"reflects": true
|
8786
|
+
},
|
8787
|
+
{
|
8788
|
+
"kind": "field",
|
8789
|
+
"name": "headerText",
|
8790
|
+
"type": {
|
8791
|
+
"text": "string"
|
8792
|
+
},
|
8793
|
+
"default": "''",
|
8794
|
+
"description": "Defines a string value to display as the title of the dialog",
|
8795
|
+
"attribute": "header-text",
|
8796
|
+
"reflects": true
|
8797
|
+
},
|
8798
|
+
{
|
8799
|
+
"kind": "field",
|
8800
|
+
"name": "descriptionText",
|
8801
|
+
"type": {
|
8802
|
+
"text": "string"
|
8803
|
+
},
|
8804
|
+
"default": "''",
|
8805
|
+
"description": "Defines a string value to display as the under-header description of the dialog",
|
8806
|
+
"attribute": "description-text",
|
8807
|
+
"reflects": true
|
8808
|
+
},
|
8809
|
+
{
|
8810
|
+
"kind": "field",
|
8811
|
+
"name": "headerTagName",
|
8812
|
+
"type": {
|
8813
|
+
"text": "string"
|
8814
|
+
},
|
8815
|
+
"description": "The html tag to be used for the header text",
|
8816
|
+
"attribute": "header-tag-name",
|
8817
|
+
"reflects": true
|
8818
|
+
},
|
8819
|
+
{
|
8820
|
+
"kind": "field",
|
8821
|
+
"name": "descriptionTagName",
|
8822
|
+
"type": {
|
8823
|
+
"text": "string"
|
8824
|
+
},
|
8825
|
+
"description": "The html tag to be used for the below-header description text",
|
8826
|
+
"attribute": "description-tag-name",
|
8827
|
+
"reflects": true
|
8828
|
+
},
|
8829
|
+
{
|
8830
|
+
"kind": "field",
|
8831
|
+
"name": "role",
|
8832
|
+
"type": {
|
8833
|
+
"text": "DialogRole"
|
8834
|
+
},
|
8835
|
+
"description": "Role of the dialog",
|
8836
|
+
"default": "dialog",
|
8837
|
+
"attribute": "role",
|
8838
|
+
"reflects": true
|
8839
|
+
},
|
8840
|
+
{
|
8841
|
+
"kind": "method",
|
8842
|
+
"name": "setupTriggerListener",
|
8843
|
+
"privacy": "private",
|
8844
|
+
"description": "Sets up the trigger listener for focus trap"
|
8845
|
+
},
|
8846
|
+
{
|
8847
|
+
"kind": "method",
|
8848
|
+
"name": "removeEventListeners",
|
8849
|
+
"privacy": "private",
|
8850
|
+
"description": "Removes the trigger event listener"
|
8851
|
+
},
|
8852
|
+
{
|
8853
|
+
"kind": "method",
|
8854
|
+
"name": "isOpenUpdated",
|
8855
|
+
"privacy": "private",
|
8856
|
+
"parameters": [
|
8857
|
+
{
|
8858
|
+
"name": "oldValue",
|
8859
|
+
"type": {
|
8860
|
+
"text": "boolean | undefined"
|
8861
|
+
},
|
8862
|
+
"description": "The old value of the visible property."
|
8863
|
+
},
|
8864
|
+
{
|
8865
|
+
"name": "newValue",
|
8866
|
+
"type": {
|
8867
|
+
"text": "boolean"
|
8868
|
+
},
|
8869
|
+
"description": "The new value of the visible property."
|
8870
|
+
}
|
8871
|
+
],
|
8872
|
+
"description": "Handles the dialog visibility change.\nHandles the exit event to close the dialog."
|
8873
|
+
},
|
8874
|
+
{
|
8875
|
+
"kind": "method",
|
8876
|
+
"name": "handleCreateDialogFirstUpdate",
|
8877
|
+
"privacy": "private",
|
8878
|
+
"description": "Sets the focusable elements inside the dialog."
|
8879
|
+
},
|
8880
|
+
{
|
8881
|
+
"kind": "field",
|
8882
|
+
"name": "enabledFocusTrap",
|
8883
|
+
"type": {
|
8884
|
+
"text": "boolean"
|
8885
|
+
},
|
8886
|
+
"default": "false",
|
8887
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
8888
|
+
"attribute": "enabledFocusTrap",
|
8889
|
+
"inheritedFrom": {
|
8890
|
+
"name": "FocusTrapMixin",
|
8891
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8892
|
+
}
|
8893
|
+
},
|
8894
|
+
{
|
8895
|
+
"kind": "field",
|
8896
|
+
"name": "enabledPreventScroll",
|
8897
|
+
"type": {
|
8898
|
+
"text": "boolean"
|
8899
|
+
},
|
8900
|
+
"default": "false",
|
8901
|
+
"description": "Prevent outside scrolling when element is shown.",
|
8902
|
+
"attribute": "enabledPreventScroll",
|
8903
|
+
"inheritedFrom": {
|
8904
|
+
"name": "FocusTrapMixin",
|
8905
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8906
|
+
}
|
8907
|
+
},
|
8908
|
+
{
|
8909
|
+
"kind": "field",
|
8910
|
+
"name": "shouldWrapFocus",
|
8911
|
+
"type": {
|
8912
|
+
"text": "() => boolean"
|
8913
|
+
},
|
8914
|
+
"inheritedFrom": {
|
8915
|
+
"name": "FocusTrapMixin",
|
8916
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8917
|
+
}
|
8918
|
+
},
|
8919
|
+
{
|
8920
|
+
"kind": "method",
|
8921
|
+
"name": "deactivateFocusTrap",
|
8922
|
+
"privacy": "public",
|
8923
|
+
"description": "Deactivate the focus trap.",
|
8924
|
+
"inheritedFrom": {
|
8925
|
+
"name": "FocusTrapMixin",
|
8926
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8927
|
+
}
|
8928
|
+
},
|
8929
|
+
{
|
8930
|
+
"kind": "method",
|
8931
|
+
"name": "hasNoClientRects",
|
8932
|
+
"privacy": "private",
|
8933
|
+
"parameters": [
|
8934
|
+
{
|
8935
|
+
"name": "element",
|
8936
|
+
"type": {
|
8937
|
+
"text": "HTMLElement"
|
8938
|
+
},
|
8939
|
+
"description": "The element to check."
|
8940
|
+
}
|
8941
|
+
],
|
8942
|
+
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
8943
|
+
"return": {
|
8944
|
+
"type": {
|
8945
|
+
"text": ""
|
8946
|
+
}
|
8947
|
+
},
|
8948
|
+
"inheritedFrom": {
|
8949
|
+
"name": "FocusTrapMixin",
|
8950
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8951
|
+
}
|
8952
|
+
},
|
8953
|
+
{
|
8954
|
+
"kind": "method",
|
8955
|
+
"name": "hasZeroDimensions",
|
8956
|
+
"privacy": "private",
|
8957
|
+
"parameters": [
|
8958
|
+
{
|
8959
|
+
"name": "element",
|
8960
|
+
"type": {
|
8961
|
+
"text": "HTMLElement"
|
8962
|
+
},
|
8963
|
+
"description": "The element to check."
|
8964
|
+
}
|
8965
|
+
],
|
8966
|
+
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
8967
|
+
"return": {
|
8968
|
+
"type": {
|
8969
|
+
"text": ""
|
8970
|
+
}
|
8971
|
+
},
|
8972
|
+
"inheritedFrom": {
|
8973
|
+
"name": "FocusTrapMixin",
|
8974
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8975
|
+
}
|
8976
|
+
},
|
8977
|
+
{
|
8978
|
+
"kind": "method",
|
8979
|
+
"name": "isNotVisible",
|
8980
|
+
"privacy": "private",
|
8981
|
+
"parameters": [
|
8982
|
+
{
|
8983
|
+
"name": "element",
|
8984
|
+
"type": {
|
8985
|
+
"text": "HTMLElement"
|
8986
|
+
},
|
8987
|
+
"description": "The element to check."
|
8988
|
+
}
|
8989
|
+
],
|
8990
|
+
"description": "Determines if the element is not visible in the DOM.",
|
8991
|
+
"return": {
|
8992
|
+
"type": {
|
8993
|
+
"text": ""
|
8994
|
+
}
|
8995
|
+
},
|
8996
|
+
"inheritedFrom": {
|
8997
|
+
"name": "FocusTrapMixin",
|
8998
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
8999
|
+
}
|
9000
|
+
},
|
9001
|
+
{
|
9002
|
+
"kind": "method",
|
9003
|
+
"name": "hasHiddenStyle",
|
9004
|
+
"privacy": "private",
|
9005
|
+
"parameters": [
|
9006
|
+
{
|
9007
|
+
"name": "element",
|
9008
|
+
"type": {
|
9009
|
+
"text": "HTMLElement"
|
9010
|
+
},
|
9011
|
+
"description": "The element to check."
|
9012
|
+
}
|
9013
|
+
],
|
9014
|
+
"description": "Checks if the element has inline styles that make it hidden.",
|
9015
|
+
"return": {
|
9016
|
+
"type": {
|
9017
|
+
"text": ""
|
9018
|
+
}
|
9019
|
+
},
|
9020
|
+
"inheritedFrom": {
|
9021
|
+
"name": "FocusTrapMixin",
|
9022
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9023
|
+
}
|
9024
|
+
},
|
9025
|
+
{
|
9026
|
+
"kind": "method",
|
9027
|
+
"name": "hasComputedHidden",
|
9028
|
+
"privacy": "private",
|
9029
|
+
"parameters": [
|
9030
|
+
{
|
9031
|
+
"name": "element",
|
9032
|
+
"type": {
|
9033
|
+
"text": "HTMLElement"
|
9034
|
+
},
|
9035
|
+
"description": "The element to check."
|
9036
|
+
}
|
9037
|
+
],
|
9038
|
+
"description": "Checks if the element is hidden by a computed style.",
|
9039
|
+
"return": {
|
9040
|
+
"type": {
|
9041
|
+
"text": ""
|
9042
|
+
}
|
9043
|
+
},
|
9044
|
+
"inheritedFrom": {
|
9045
|
+
"name": "FocusTrapMixin",
|
9046
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9047
|
+
}
|
9048
|
+
},
|
9049
|
+
{
|
9050
|
+
"kind": "method",
|
9051
|
+
"name": "isHidden",
|
9052
|
+
"privacy": "private",
|
9053
|
+
"parameters": [
|
9054
|
+
{
|
9055
|
+
"name": "element",
|
9056
|
+
"type": {
|
9057
|
+
"text": "HTMLElement"
|
9058
|
+
},
|
9059
|
+
"description": "The element to check."
|
9060
|
+
}
|
9061
|
+
],
|
9062
|
+
"description": "Checks if the element is hidden from the user.",
|
9063
|
+
"return": {
|
9064
|
+
"type": {
|
9065
|
+
"text": ""
|
9066
|
+
}
|
9067
|
+
},
|
9068
|
+
"inheritedFrom": {
|
9069
|
+
"name": "FocusTrapMixin",
|
9070
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9071
|
+
}
|
9072
|
+
},
|
9073
|
+
{
|
9074
|
+
"kind": "method",
|
9075
|
+
"name": "isNotTabbable",
|
9076
|
+
"privacy": "private",
|
9077
|
+
"parameters": [
|
9078
|
+
{
|
9079
|
+
"name": "element",
|
9080
|
+
"type": {
|
9081
|
+
"text": "HTMLElement"
|
9082
|
+
},
|
9083
|
+
"description": "The element to check."
|
9084
|
+
}
|
9085
|
+
],
|
9086
|
+
"description": "Checks if the element is not tabbable.",
|
9087
|
+
"return": {
|
9088
|
+
"type": {
|
9089
|
+
"text": ""
|
9090
|
+
}
|
9091
|
+
},
|
9092
|
+
"inheritedFrom": {
|
9093
|
+
"name": "FocusTrapMixin",
|
9094
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9095
|
+
}
|
9096
|
+
},
|
9097
|
+
{
|
9098
|
+
"kind": "method",
|
9099
|
+
"name": "isInteractiveElement",
|
9100
|
+
"privacy": "private",
|
9101
|
+
"return": {
|
9102
|
+
"type": {
|
9103
|
+
"text": ""
|
9104
|
+
}
|
9105
|
+
},
|
9106
|
+
"parameters": [
|
9107
|
+
{
|
9108
|
+
"name": "element",
|
9109
|
+
"type": {
|
9110
|
+
"text": "HTMLElement"
|
9111
|
+
},
|
9112
|
+
"description": "The element to check."
|
9113
|
+
}
|
9114
|
+
],
|
9115
|
+
"description": "Checks if the element is interactive.",
|
9116
|
+
"inheritedFrom": {
|
9117
|
+
"name": "FocusTrapMixin",
|
9118
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9119
|
+
}
|
9120
|
+
},
|
9121
|
+
{
|
9122
|
+
"kind": "method",
|
9123
|
+
"name": "isFocusable",
|
9124
|
+
"privacy": "private",
|
9125
|
+
"parameters": [
|
9126
|
+
{
|
9127
|
+
"name": "element",
|
9128
|
+
"type": {
|
9129
|
+
"text": "HTMLElement"
|
9130
|
+
},
|
9131
|
+
"description": "The element to check."
|
9132
|
+
}
|
9133
|
+
],
|
9134
|
+
"description": "Checks if the element is focusable.",
|
9135
|
+
"return": {
|
9136
|
+
"type": {
|
9137
|
+
"text": ""
|
9138
|
+
}
|
9139
|
+
},
|
9140
|
+
"inheritedFrom": {
|
9141
|
+
"name": "FocusTrapMixin",
|
9142
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9143
|
+
}
|
9144
|
+
},
|
9145
|
+
{
|
9146
|
+
"kind": "method",
|
9147
|
+
"name": "findFocusable",
|
9148
|
+
"privacy": "private",
|
9149
|
+
"return": {
|
9150
|
+
"type": {
|
9151
|
+
"text": ""
|
9152
|
+
}
|
9153
|
+
},
|
9154
|
+
"parameters": [
|
9155
|
+
{
|
9156
|
+
"name": "root",
|
9157
|
+
"type": {
|
9158
|
+
"text": "ShadowRoot | HTMLElement"
|
9159
|
+
},
|
9160
|
+
"description": "The root element to search for focusable elements."
|
9161
|
+
},
|
9162
|
+
{
|
9163
|
+
"name": "matches",
|
9164
|
+
"default": "new Set()",
|
9165
|
+
"type": {
|
9166
|
+
"text": "Set<HTMLElement>"
|
9167
|
+
},
|
9168
|
+
"description": "The set of focusable elements."
|
9169
|
+
}
|
9170
|
+
],
|
9171
|
+
"description": "Recursively finds all focusable elements within the given root and its descendants.",
|
9172
|
+
"inheritedFrom": {
|
9173
|
+
"name": "FocusTrapMixin",
|
9174
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9175
|
+
}
|
9176
|
+
},
|
9177
|
+
{
|
9178
|
+
"kind": "method",
|
9179
|
+
"name": "setFocusableElements",
|
9180
|
+
"privacy": "public",
|
9181
|
+
"description": "Updates the list of focusable elements within the component's shadow root.",
|
9182
|
+
"inheritedFrom": {
|
9183
|
+
"name": "FocusTrapMixin",
|
9184
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9185
|
+
}
|
9186
|
+
},
|
9187
|
+
{
|
9188
|
+
"kind": "method",
|
9189
|
+
"name": "setInitialFocus",
|
9190
|
+
"privacy": "public",
|
9191
|
+
"parameters": [
|
9192
|
+
{
|
9193
|
+
"name": "prefferableElement",
|
9194
|
+
"default": "0",
|
9195
|
+
"type": {
|
9196
|
+
"text": "number"
|
9197
|
+
},
|
9198
|
+
"description": "The index of the preferable element to focus."
|
9199
|
+
}
|
9200
|
+
],
|
9201
|
+
"description": "Sets the initial focus within the container.",
|
9202
|
+
"inheritedFrom": {
|
9203
|
+
"name": "FocusTrapMixin",
|
9204
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9205
|
+
}
|
9206
|
+
},
|
9207
|
+
{
|
9208
|
+
"kind": "method",
|
9209
|
+
"name": "calculateNextIndex",
|
9210
|
+
"privacy": "private",
|
9211
|
+
"parameters": [
|
9212
|
+
{
|
9213
|
+
"name": "currentIndex",
|
9214
|
+
"type": {
|
9215
|
+
"text": "number"
|
9216
|
+
},
|
9217
|
+
"description": "The current index."
|
9218
|
+
},
|
9219
|
+
{
|
9220
|
+
"name": "step",
|
9221
|
+
"type": {
|
9222
|
+
"text": "number"
|
9223
|
+
},
|
9224
|
+
"description": "The step to calculate the next index."
|
9225
|
+
}
|
9226
|
+
],
|
9227
|
+
"description": "Calculates the next index for the focus trap.",
|
9228
|
+
"return": {
|
9229
|
+
"type": {
|
9230
|
+
"text": ""
|
9231
|
+
}
|
9232
|
+
},
|
9233
|
+
"inheritedFrom": {
|
9234
|
+
"name": "FocusTrapMixin",
|
9235
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9236
|
+
}
|
9237
|
+
},
|
9238
|
+
{
|
9239
|
+
"kind": "method",
|
9240
|
+
"name": "getDeepActiveElement",
|
9241
|
+
"privacy": "private",
|
9242
|
+
"description": "Returns the deepest active element in the shadow DOM.",
|
9243
|
+
"return": {
|
9244
|
+
"type": {
|
9245
|
+
"text": ""
|
9246
|
+
}
|
9247
|
+
},
|
9248
|
+
"inheritedFrom": {
|
9249
|
+
"name": "FocusTrapMixin",
|
9250
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9251
|
+
}
|
9252
|
+
},
|
9253
|
+
{
|
9254
|
+
"kind": "method",
|
9255
|
+
"name": "findElement",
|
9256
|
+
"privacy": "private",
|
9257
|
+
"parameters": [
|
9258
|
+
{
|
9259
|
+
"name": "activeElement",
|
9260
|
+
"type": {
|
9261
|
+
"text": "HTMLElement"
|
9262
|
+
},
|
9263
|
+
"description": "The active element."
|
9264
|
+
}
|
9265
|
+
],
|
9266
|
+
"description": "Finds the index of the active element within the focusable elements.",
|
9267
|
+
"return": {
|
9268
|
+
"type": {
|
9269
|
+
"text": ""
|
9270
|
+
}
|
9271
|
+
},
|
9272
|
+
"inheritedFrom": {
|
9273
|
+
"name": "FocusTrapMixin",
|
9274
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9275
|
+
}
|
9276
|
+
},
|
9277
|
+
{
|
9278
|
+
"kind": "method",
|
9279
|
+
"name": "isEqualFocusNode",
|
9280
|
+
"privacy": "private",
|
9281
|
+
"parameters": [
|
9282
|
+
{
|
9283
|
+
"name": "activeElement",
|
9284
|
+
"type": {
|
9285
|
+
"text": "HTMLElement"
|
9286
|
+
},
|
9287
|
+
"description": "The active element."
|
9288
|
+
},
|
9289
|
+
{
|
9290
|
+
"name": "element",
|
9291
|
+
"type": {
|
9292
|
+
"text": "HTMLElement"
|
9293
|
+
},
|
9294
|
+
"description": "The element to compare."
|
9295
|
+
}
|
9296
|
+
],
|
9297
|
+
"description": "Checks if the active element is equal to the given element.",
|
9298
|
+
"return": {
|
9299
|
+
"type": {
|
9300
|
+
"text": ""
|
9301
|
+
}
|
9302
|
+
},
|
9303
|
+
"inheritedFrom": {
|
9304
|
+
"name": "FocusTrapMixin",
|
9305
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9306
|
+
}
|
9307
|
+
},
|
9308
|
+
{
|
9309
|
+
"kind": "method",
|
9310
|
+
"name": "trapFocus",
|
9311
|
+
"privacy": "private",
|
9312
|
+
"parameters": [
|
9313
|
+
{
|
9314
|
+
"name": "direction",
|
9315
|
+
"type": {
|
9316
|
+
"text": "boolean"
|
9317
|
+
},
|
9318
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element."
|
9319
|
+
}
|
9320
|
+
],
|
9321
|
+
"description": "Traps focus within the container.",
|
9322
|
+
"inheritedFrom": {
|
9323
|
+
"name": "FocusTrapMixin",
|
9324
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9325
|
+
}
|
9326
|
+
},
|
9327
|
+
{
|
9328
|
+
"kind": "method",
|
9329
|
+
"name": "handleKeydown",
|
9330
|
+
"privacy": "private",
|
9331
|
+
"parameters": [
|
9332
|
+
{
|
9333
|
+
"name": "event",
|
9334
|
+
"type": {
|
9335
|
+
"text": "KeyboardEvent"
|
9336
|
+
},
|
9337
|
+
"description": "The keyboard event."
|
9338
|
+
}
|
9339
|
+
],
|
9340
|
+
"description": "Traps focus within the container.",
|
9341
|
+
"inheritedFrom": {
|
9342
|
+
"name": "FocusTrapMixin",
|
9343
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
9344
|
+
}
|
9345
|
+
},
|
9346
|
+
{
|
9347
|
+
"kind": "method",
|
9348
|
+
"name": "renderFooter",
|
9349
|
+
"privacy": "protected",
|
9350
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
9351
|
+
"return": {
|
9352
|
+
"type": {
|
9353
|
+
"text": ""
|
9354
|
+
}
|
9355
|
+
},
|
9356
|
+
"inheritedFrom": {
|
9357
|
+
"name": "CardAndDialogFooterMixin",
|
9358
|
+
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
9359
|
+
}
|
9360
|
+
}
|
9361
|
+
],
|
9362
|
+
"events": [
|
9363
|
+
{
|
9364
|
+
"description": "(React: onShown) Dispatched when the dialog is shown",
|
9365
|
+
"name": "shown",
|
9366
|
+
"reactName": "onShown"
|
9367
|
+
},
|
9368
|
+
{
|
9369
|
+
"description": "(React: onHidden) Dispatched when the dialog is hidden",
|
9370
|
+
"name": "hidden",
|
9371
|
+
"reactName": "onHidden"
|
9372
|
+
},
|
9373
|
+
{
|
9374
|
+
"description": "(React: onCreated) Dispatched when the dialog is created (added to the DOM)",
|
9375
|
+
"name": "created",
|
9376
|
+
"reactName": "onCreated"
|
9377
|
+
},
|
9378
|
+
{
|
9379
|
+
"description": "(React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)",
|
9380
|
+
"name": "destroyed",
|
9381
|
+
"reactName": "onDestroyed"
|
9382
|
+
}
|
9383
|
+
],
|
9384
|
+
"attributes": [
|
9385
|
+
{
|
9386
|
+
"name": "id",
|
9387
|
+
"type": {
|
9388
|
+
"text": "string"
|
9389
|
+
},
|
9390
|
+
"default": "''",
|
9391
|
+
"description": "The unique ID of the dialog",
|
9392
|
+
"fieldName": "id"
|
9393
|
+
},
|
9394
|
+
{
|
9395
|
+
"name": "triggerId",
|
9396
|
+
"type": {
|
9397
|
+
"text": "string"
|
9398
|
+
},
|
9399
|
+
"default": "''",
|
9400
|
+
"description": "The ID of the element that triggers the dialog",
|
9401
|
+
"fieldName": "triggerId"
|
9402
|
+
},
|
9403
|
+
{
|
9404
|
+
"name": "visible",
|
9405
|
+
"type": {
|
9406
|
+
"text": "boolean"
|
9407
|
+
},
|
9408
|
+
"description": "The visibility of the dialog",
|
9409
|
+
"default": "false",
|
9410
|
+
"fieldName": "visible"
|
9411
|
+
},
|
9412
|
+
{
|
9413
|
+
"name": "z-index",
|
9414
|
+
"type": {
|
9415
|
+
"text": "number"
|
9416
|
+
},
|
9417
|
+
"description": "The z-index of the dialog",
|
9418
|
+
"default": "1000",
|
9419
|
+
"fieldName": "zIndex"
|
9420
|
+
},
|
9421
|
+
{
|
9422
|
+
"name": "size",
|
9423
|
+
"type": {
|
9424
|
+
"text": "DialogSize"
|
9425
|
+
},
|
9426
|
+
"description": "The size of the dialog, can be 'small' (432x332), 'medium' (656x356), or 'large' (992x412)",
|
9427
|
+
"default": "small",
|
9428
|
+
"fieldName": "size"
|
9429
|
+
},
|
9430
|
+
{
|
9431
|
+
"name": "variant",
|
9432
|
+
"type": {
|
9433
|
+
"text": "DialogVariant"
|
9434
|
+
},
|
9435
|
+
"fieldName": "variant"
|
9436
|
+
},
|
9437
|
+
{
|
9438
|
+
"name": "close-button-aria-label",
|
9439
|
+
"type": {
|
9440
|
+
"text": "string | null"
|
9441
|
+
},
|
9442
|
+
"default": "null",
|
9443
|
+
"description": "Defines a string value for the aria-label attribute for close button accessibility",
|
9444
|
+
"fieldName": "closeButtonAriaLabel"
|
9445
|
+
},
|
9446
|
+
{
|
9447
|
+
"name": "aria-labelledby",
|
8453
9448
|
"type": {
|
8454
|
-
"text": "
|
9449
|
+
"text": "string | null"
|
8455
9450
|
},
|
8456
|
-
"
|
8457
|
-
"
|
8458
|
-
"fieldName": "
|
8459
|
-
"inheritedFrom": {
|
8460
|
-
"name": "Popover",
|
8461
|
-
"module": "src/components/popover/popover.component.ts"
|
8462
|
-
}
|
9451
|
+
"default": "null",
|
9452
|
+
"description": "Defines a string value for the aria-labelledby attribute that refers to the element\nlabeling the dialog for accessibility",
|
9453
|
+
"fieldName": "ariaLabelledby"
|
8463
9454
|
},
|
8464
9455
|
{
|
8465
|
-
"name": "
|
9456
|
+
"name": "aria-label",
|
8466
9457
|
"type": {
|
8467
|
-
"text": "
|
9458
|
+
"text": "string | null"
|
8468
9459
|
},
|
8469
|
-
"
|
8470
|
-
"
|
8471
|
-
"fieldName": "
|
8472
|
-
"inheritedFrom": {
|
8473
|
-
"name": "Popover",
|
8474
|
-
"module": "src/components/popover/popover.component.ts"
|
8475
|
-
}
|
9460
|
+
"default": "null",
|
9461
|
+
"description": "Defines a string value for the aria-label attribute when header is not used",
|
9462
|
+
"fieldName": "ariaLabel"
|
8476
9463
|
},
|
8477
9464
|
{
|
8478
|
-
"name": "
|
9465
|
+
"name": "header-text",
|
8479
9466
|
"type": {
|
8480
|
-
"text": "
|
9467
|
+
"text": "string"
|
8481
9468
|
},
|
8482
|
-
"
|
8483
|
-
"
|
8484
|
-
"fieldName": "
|
8485
|
-
"inheritedFrom": {
|
8486
|
-
"name": "Popover",
|
8487
|
-
"module": "src/components/popover/popover.component.ts"
|
8488
|
-
}
|
9469
|
+
"default": "''",
|
9470
|
+
"description": "Defines a string value to display as the title of the dialog",
|
9471
|
+
"fieldName": "headerText"
|
8489
9472
|
},
|
8490
9473
|
{
|
8491
|
-
"name": "
|
9474
|
+
"name": "description-text",
|
8492
9475
|
"type": {
|
8493
|
-
"text": "
|
9476
|
+
"text": "string"
|
8494
9477
|
},
|
8495
|
-
"
|
8496
|
-
"
|
8497
|
-
"fieldName": "
|
8498
|
-
"inheritedFrom": {
|
8499
|
-
"name": "Popover",
|
8500
|
-
"module": "src/components/popover/popover.component.ts"
|
8501
|
-
}
|
9478
|
+
"default": "''",
|
9479
|
+
"description": "Defines a string value to display as the under-header description of the dialog",
|
9480
|
+
"fieldName": "descriptionText"
|
8502
9481
|
},
|
8503
9482
|
{
|
8504
|
-
"name": "
|
9483
|
+
"name": "header-tag-name",
|
8505
9484
|
"type": {
|
8506
9485
|
"text": "string"
|
8507
9486
|
},
|
8508
|
-
"
|
8509
|
-
"
|
8510
|
-
"fieldName": "appendTo",
|
8511
|
-
"inheritedFrom": {
|
8512
|
-
"name": "Popover",
|
8513
|
-
"module": "src/components/popover/popover.component.ts"
|
8514
|
-
}
|
9487
|
+
"description": "The html tag to be used for the header text",
|
9488
|
+
"fieldName": "headerTagName"
|
8515
9489
|
},
|
8516
9490
|
{
|
8517
|
-
"name": "
|
9491
|
+
"name": "description-tag-name",
|
8518
9492
|
"type": {
|
8519
|
-
"text": "string
|
9493
|
+
"text": "string"
|
8520
9494
|
},
|
8521
|
-
"
|
8522
|
-
"
|
8523
|
-
"fieldName": "closeButtonAriaLabel",
|
8524
|
-
"inheritedFrom": {
|
8525
|
-
"name": "Popover",
|
8526
|
-
"module": "src/components/popover/popover.component.ts"
|
8527
|
-
}
|
9495
|
+
"description": "The html tag to be used for the below-header description text",
|
9496
|
+
"fieldName": "descriptionTagName"
|
8528
9497
|
},
|
8529
9498
|
{
|
8530
9499
|
"name": "role",
|
8531
9500
|
"type": {
|
8532
|
-
"text": "
|
9501
|
+
"text": "DialogRole"
|
8533
9502
|
},
|
8534
|
-
"description": "Role of the
|
9503
|
+
"description": "Role of the dialog",
|
8535
9504
|
"default": "dialog",
|
8536
|
-
"fieldName": "role"
|
8537
|
-
"inheritedFrom": {
|
8538
|
-
"name": "Popover",
|
8539
|
-
"module": "src/components/popover/popover.component.ts"
|
8540
|
-
}
|
9505
|
+
"fieldName": "role"
|
8541
9506
|
},
|
8542
9507
|
{
|
8543
|
-
"name": "
|
9508
|
+
"name": "enabledFocusTrap",
|
8544
9509
|
"type": {
|
8545
|
-
"text": "
|
9510
|
+
"text": "boolean"
|
8546
9511
|
},
|
8547
|
-
"default": "
|
8548
|
-
"description": "
|
8549
|
-
"fieldName": "
|
9512
|
+
"default": "false",
|
9513
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
9514
|
+
"fieldName": "enabledFocusTrap",
|
8550
9515
|
"inheritedFrom": {
|
8551
|
-
"name": "
|
8552
|
-
"module": "src/
|
9516
|
+
"name": "FocusTrapMixin",
|
9517
|
+
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
8553
9518
|
}
|
8554
9519
|
},
|
8555
9520
|
{
|
8556
|
-
"name": "
|
9521
|
+
"name": "enabledPreventScroll",
|
8557
9522
|
"type": {
|
8558
|
-
"text": "
|
9523
|
+
"text": "boolean"
|
8559
9524
|
},
|
8560
|
-
"default": "
|
8561
|
-
"description": "
|
8562
|
-
"fieldName": "
|
9525
|
+
"default": "false",
|
9526
|
+
"description": "Prevent outside scrolling when element is shown.",
|
9527
|
+
"fieldName": "enabledPreventScroll",
|
8563
9528
|
"inheritedFrom": {
|
8564
|
-
"name": "
|
8565
|
-
"module": "src/
|
9529
|
+
"name": "FocusTrapMixin",
|
9530
|
+
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
8566
9531
|
}
|
8567
9532
|
}
|
8568
9533
|
],
|
9534
|
+
"mixins": [
|
9535
|
+
{
|
9536
|
+
"name": "FocusTrapMixin",
|
9537
|
+
"module": "/src/utils/mixins/FocusTrapMixin"
|
9538
|
+
},
|
9539
|
+
{
|
9540
|
+
"name": "CardAndDialogFooterMixin",
|
9541
|
+
"module": "/src/utils/mixins/CardAndDialogFooterMixin"
|
9542
|
+
}
|
9543
|
+
],
|
8569
9544
|
"superclass": {
|
8570
|
-
"name": "
|
8571
|
-
"module": "/src/
|
9545
|
+
"name": "Component",
|
9546
|
+
"module": "/src/models"
|
8572
9547
|
},
|
8573
|
-
"tagName": "mdc-
|
8574
|
-
"jsDoc": "/**\n *
|
9548
|
+
"tagName": "mdc-dialog",
|
9549
|
+
"jsDoc": "/**\n * Dialog component is a modal dialog that can be used to display information or prompt the user for input.\n * It can be used to create custom dialogs where content for the body and footer actions is provided by the consumer.\n * The dialog is available in three sizes: small, medium, and large. It may also receive custom styling/sizing.\n * The dialog interrupts the user and will block interaction with the rest of the application until it is closed.\n *\n * Dialog component have 2 variants: default and promotional.\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - The dialog should have an aria-label or aria-labelledby attribute to provide a label for screen readers.\n * - Use aria-labelledby to reference the ID of the element that labels the dialog when there is no visible title.\n *\n * **Note: Programmatic show/hide requires the ? prefix on the visible attribute**\n * - Use `?visible=true/false` as an attribute instead of `visible=true/false`\n * - Reference docs for more info: https://lit.dev/docs/templates/expressions/#boolean-attribute-expressions\n *\n * @dependency mdc-button\n * @dependency mdc-text\n *\n * @tagname mdc-dialog\n *\n * @event shown - (React: onShown) Dispatched when the dialog is shown\n * @event hidden - (React: onHidden) Dispatched when the dialog is hidden\n * @event created - (React: onCreated) Dispatched when the dialog is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-dialog-primary-background-color - primary background color of the dialog\n * @cssproperty --mdc-dialog-border-color - border color of the dialog\n * @cssproperty --mdc-dialog-header-text-color - text color of the header/title of the dialog\n * @cssproperty --mdc-dialog-description-text-color - text color of the below header description of the dialog\n * @cssproperty --mdc-dialog-elevation-3 - elevation of the dialog\n * @cssproperty --mdc-dialog-width - width of the dialog\n *\n * @slot dialog-body - Slot for the dialog body content\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n *\n */",
|
8575
9550
|
"customElement": true
|
8576
9551
|
}
|
8577
9552
|
],
|
@@ -8580,8 +9555,8 @@
|
|
8580
9555
|
"kind": "js",
|
8581
9556
|
"name": "default",
|
8582
9557
|
"declaration": {
|
8583
|
-
"name": "
|
8584
|
-
"module": "components/
|
9558
|
+
"name": "Dialog",
|
9559
|
+
"module": "components/dialog/dialog.component.js"
|
8585
9560
|
}
|
8586
9561
|
}
|
8587
9562
|
]
|
@@ -16202,8 +17177,8 @@
|
|
16202
17177
|
"type": {
|
16203
17178
|
"text": "boolean"
|
16204
17179
|
},
|
16205
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
16206
17180
|
"default": "false",
|
17181
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
16207
17182
|
"attribute": "enabledFocusTrap",
|
16208
17183
|
"inheritedFrom": {
|
16209
17184
|
"name": "FocusTrapMixin",
|
@@ -16216,8 +17191,8 @@
|
|
16216
17191
|
"type": {
|
16217
17192
|
"text": "boolean"
|
16218
17193
|
},
|
16219
|
-
"description": "Prevent outside scrolling when popover show.",
|
16220
17194
|
"default": "false",
|
17195
|
+
"description": "Prevent outside scrolling when element is shown.",
|
16221
17196
|
"attribute": "enabledPreventScroll",
|
16222
17197
|
"inheritedFrom": {
|
16223
17198
|
"name": "FocusTrapMixin",
|
@@ -16514,7 +17489,7 @@
|
|
16514
17489
|
"type": {
|
16515
17490
|
"text": "number"
|
16516
17491
|
},
|
16517
|
-
"description": "The index of the
|
17492
|
+
"description": "The index of the preferable element to focus."
|
16518
17493
|
}
|
16519
17494
|
],
|
16520
17495
|
"description": "Sets the initial focus within the container.",
|
@@ -16934,8 +17909,8 @@
|
|
16934
17909
|
"type": {
|
16935
17910
|
"text": "boolean"
|
16936
17911
|
},
|
16937
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
16938
17912
|
"default": "false",
|
17913
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
16939
17914
|
"fieldName": "enabledFocusTrap",
|
16940
17915
|
"inheritedFrom": {
|
16941
17916
|
"name": "FocusTrapMixin",
|
@@ -16947,8 +17922,8 @@
|
|
16947
17922
|
"type": {
|
16948
17923
|
"text": "boolean"
|
16949
17924
|
},
|
16950
|
-
"description": "Prevent outside scrolling when popover show.",
|
16951
17925
|
"default": "false",
|
17926
|
+
"description": "Prevent outside scrolling when element is shown.",
|
16952
17927
|
"fieldName": "enabledPreventScroll",
|
16953
17928
|
"inheritedFrom": {
|
16954
17929
|
"name": "FocusTrapMixin",
|
@@ -24796,8 +25771,8 @@
|
|
24796
25771
|
"type": {
|
24797
25772
|
"text": "boolean"
|
24798
25773
|
},
|
24799
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
24800
25774
|
"default": "false",
|
25775
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
24801
25776
|
"attribute": "enabledFocusTrap",
|
24802
25777
|
"inheritedFrom": {
|
24803
25778
|
"name": "Popover",
|
@@ -24810,8 +25785,8 @@
|
|
24810
25785
|
"type": {
|
24811
25786
|
"text": "boolean"
|
24812
25787
|
},
|
24813
|
-
"description": "Prevent outside scrolling when popover show.",
|
24814
25788
|
"default": "false",
|
25789
|
+
"description": "Prevent outside scrolling when element is shown.",
|
24815
25790
|
"attribute": "enabledPreventScroll",
|
24816
25791
|
"inheritedFrom": {
|
24817
25792
|
"name": "Popover",
|
@@ -25108,7 +26083,7 @@
|
|
25108
26083
|
"type": {
|
25109
26084
|
"text": "number"
|
25110
26085
|
},
|
25111
|
-
"description": "The index of the
|
26086
|
+
"description": "The index of the preferable element to focus."
|
25112
26087
|
}
|
25113
26088
|
],
|
25114
26089
|
"description": "Sets the initial focus within the container.",
|
@@ -25914,8 +26889,8 @@
|
|
25914
26889
|
"type": {
|
25915
26890
|
"text": "boolean"
|
25916
26891
|
},
|
25917
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
25918
26892
|
"default": "false",
|
26893
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
25919
26894
|
"fieldName": "enabledFocusTrap",
|
25920
26895
|
"inheritedFrom": {
|
25921
26896
|
"name": "Popover",
|
@@ -25927,8 +26902,8 @@
|
|
25927
26902
|
"type": {
|
25928
26903
|
"text": "boolean"
|
25929
26904
|
},
|
25930
|
-
"description": "Prevent outside scrolling when popover show.",
|
25931
26905
|
"default": "false",
|
26906
|
+
"description": "Prevent outside scrolling when element is shown.",
|
25932
26907
|
"fieldName": "enabledPreventScroll",
|
25933
26908
|
"inheritedFrom": {
|
25934
26909
|
"name": "Popover",
|
@@ -26511,8 +27486,8 @@
|
|
26511
27486
|
"type": {
|
26512
27487
|
"text": "boolean"
|
26513
27488
|
},
|
26514
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
26515
27489
|
"default": "false",
|
27490
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
26516
27491
|
"attribute": "enabledFocusTrap",
|
26517
27492
|
"inheritedFrom": {
|
26518
27493
|
"name": "Popover",
|
@@ -26525,8 +27500,8 @@
|
|
26525
27500
|
"type": {
|
26526
27501
|
"text": "boolean"
|
26527
27502
|
},
|
26528
|
-
"description": "Prevent outside scrolling when popover show.",
|
26529
27503
|
"default": "false",
|
27504
|
+
"description": "Prevent outside scrolling when element is shown.",
|
26530
27505
|
"attribute": "enabledPreventScroll",
|
26531
27506
|
"inheritedFrom": {
|
26532
27507
|
"name": "Popover",
|
@@ -26823,7 +27798,7 @@
|
|
26823
27798
|
"type": {
|
26824
27799
|
"text": "number"
|
26825
27800
|
},
|
26826
|
-
"description": "The index of the
|
27801
|
+
"description": "The index of the preferable element to focus."
|
26827
27802
|
}
|
26828
27803
|
],
|
26829
27804
|
"description": "Sets the initial focus within the container.",
|
@@ -27629,8 +28604,8 @@
|
|
27629
28604
|
"type": {
|
27630
28605
|
"text": "boolean"
|
27631
28606
|
},
|
27632
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
27633
28607
|
"default": "false",
|
28608
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
27634
28609
|
"fieldName": "enabledFocusTrap",
|
27635
28610
|
"inheritedFrom": {
|
27636
28611
|
"name": "Popover",
|
@@ -27642,8 +28617,8 @@
|
|
27642
28617
|
"type": {
|
27643
28618
|
"text": "boolean"
|
27644
28619
|
},
|
27645
|
-
"description": "Prevent outside scrolling when popover show.",
|
27646
28620
|
"default": "false",
|
28621
|
+
"description": "Prevent outside scrolling when element is shown.",
|
27647
28622
|
"fieldName": "enabledPreventScroll",
|
27648
28623
|
"inheritedFrom": {
|
27649
28624
|
"name": "Popover",
|
@@ -28585,6 +29560,137 @@
|
|
28585
29560
|
}
|
28586
29561
|
]
|
28587
29562
|
},
|
29563
|
+
{
|
29564
|
+
"kind": "javascript-module",
|
29565
|
+
"path": "utils/mixins/CardAndDialogFooterMixin.js",
|
29566
|
+
"declarations": [
|
29567
|
+
{
|
29568
|
+
"kind": "class",
|
29569
|
+
"description": "",
|
29570
|
+
"name": "CardAndDialogFooterMixinInterface",
|
29571
|
+
"members": [
|
29572
|
+
{
|
29573
|
+
"kind": "field",
|
29574
|
+
"name": "footerLink",
|
29575
|
+
"type": {
|
29576
|
+
"text": "Array<HTMLElement> | undefined"
|
29577
|
+
}
|
29578
|
+
},
|
29579
|
+
{
|
29580
|
+
"kind": "field",
|
29581
|
+
"name": "footerButtonPrimary",
|
29582
|
+
"type": {
|
29583
|
+
"text": "Array<HTMLElement> | undefined"
|
29584
|
+
}
|
29585
|
+
},
|
29586
|
+
{
|
29587
|
+
"kind": "field",
|
29588
|
+
"name": "footerButtonSecondary",
|
29589
|
+
"type": {
|
29590
|
+
"text": "Array<HTMLElement> | undefined"
|
29591
|
+
}
|
29592
|
+
},
|
29593
|
+
{
|
29594
|
+
"kind": "method",
|
29595
|
+
"name": "updateFooterButtonColors",
|
29596
|
+
"privacy": "protected",
|
29597
|
+
"return": {
|
29598
|
+
"type": {
|
29599
|
+
"text": "void"
|
29600
|
+
}
|
29601
|
+
},
|
29602
|
+
"parameters": [
|
29603
|
+
{
|
29604
|
+
"name": "variant",
|
29605
|
+
"type": {
|
29606
|
+
"text": "string"
|
29607
|
+
}
|
29608
|
+
}
|
29609
|
+
]
|
29610
|
+
},
|
29611
|
+
{
|
29612
|
+
"kind": "method",
|
29613
|
+
"name": "handleFooterSlot",
|
29614
|
+
"privacy": "protected",
|
29615
|
+
"return": {
|
29616
|
+
"type": {
|
29617
|
+
"text": "void"
|
29618
|
+
}
|
29619
|
+
},
|
29620
|
+
"parameters": [
|
29621
|
+
{
|
29622
|
+
"name": "tagname",
|
29623
|
+
"type": {
|
29624
|
+
"text": "string"
|
29625
|
+
}
|
29626
|
+
},
|
29627
|
+
{
|
29628
|
+
"name": "variant",
|
29629
|
+
"optional": true,
|
29630
|
+
"type": {
|
29631
|
+
"text": "string"
|
29632
|
+
}
|
29633
|
+
}
|
29634
|
+
]
|
29635
|
+
},
|
29636
|
+
{
|
29637
|
+
"kind": "method",
|
29638
|
+
"name": "renderFooter",
|
29639
|
+
"privacy": "protected",
|
29640
|
+
"return": {
|
29641
|
+
"type": {
|
29642
|
+
"text": "TemplateResult"
|
29643
|
+
}
|
29644
|
+
}
|
29645
|
+
}
|
29646
|
+
]
|
29647
|
+
},
|
29648
|
+
{
|
29649
|
+
"kind": "mixin",
|
29650
|
+
"description": "",
|
29651
|
+
"name": "CardAndDialogFooterMixin",
|
29652
|
+
"members": [
|
29653
|
+
{
|
29654
|
+
"kind": "method",
|
29655
|
+
"name": "renderFooter",
|
29656
|
+
"privacy": "protected",
|
29657
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
29658
|
+
"return": {
|
29659
|
+
"type": {
|
29660
|
+
"text": ""
|
29661
|
+
}
|
29662
|
+
}
|
29663
|
+
}
|
29664
|
+
],
|
29665
|
+
"parameters": [
|
29666
|
+
{
|
29667
|
+
"name": "superClass",
|
29668
|
+
"type": {
|
29669
|
+
"text": "T"
|
29670
|
+
}
|
29671
|
+
}
|
29672
|
+
]
|
29673
|
+
}
|
29674
|
+
],
|
29675
|
+
"exports": [
|
29676
|
+
{
|
29677
|
+
"kind": "js",
|
29678
|
+
"name": "CardAndDialogFooterMixinInterface",
|
29679
|
+
"declaration": {
|
29680
|
+
"name": "CardAndDialogFooterMixinInterface",
|
29681
|
+
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
29682
|
+
}
|
29683
|
+
},
|
29684
|
+
{
|
29685
|
+
"kind": "js",
|
29686
|
+
"name": "CardAndDialogFooterMixin",
|
29687
|
+
"declaration": {
|
29688
|
+
"name": "CardAndDialogFooterMixin",
|
29689
|
+
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
29690
|
+
}
|
29691
|
+
}
|
29692
|
+
]
|
29693
|
+
},
|
28588
29694
|
{
|
28589
29695
|
"kind": "javascript-module",
|
28590
29696
|
"path": "utils/mixins/CardComponentMixin.js",
|
@@ -29101,8 +30207,8 @@
|
|
29101
30207
|
"type": {
|
29102
30208
|
"text": "boolean"
|
29103
30209
|
},
|
29104
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
29105
30210
|
"default": "false",
|
30211
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
29106
30212
|
"attribute": "enabledFocusTrap"
|
29107
30213
|
},
|
29108
30214
|
{
|
@@ -29111,8 +30217,8 @@
|
|
29111
30217
|
"type": {
|
29112
30218
|
"text": "boolean"
|
29113
30219
|
},
|
29114
|
-
"description": "Prevent outside scrolling when popover show.",
|
29115
30220
|
"default": "false",
|
30221
|
+
"description": "Prevent outside scrolling when element is shown.",
|
29116
30222
|
"attribute": "enabledPreventScroll"
|
29117
30223
|
},
|
29118
30224
|
{
|
@@ -29353,7 +30459,7 @@
|
|
29353
30459
|
"type": {
|
29354
30460
|
"text": "number"
|
29355
30461
|
},
|
29356
|
-
"description": "The index of the
|
30462
|
+
"description": "The index of the preferable element to focus."
|
29357
30463
|
}
|
29358
30464
|
],
|
29359
30465
|
"description": "Sets the initial focus within the container."
|
@@ -29480,8 +30586,8 @@
|
|
29480
30586
|
"type": {
|
29481
30587
|
"text": "boolean"
|
29482
30588
|
},
|
29483
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
29484
30589
|
"default": "false",
|
30590
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
29485
30591
|
"fieldName": "enabledFocusTrap"
|
29486
30592
|
},
|
29487
30593
|
{
|
@@ -29489,8 +30595,8 @@
|
|
29489
30595
|
"type": {
|
29490
30596
|
"text": "boolean"
|
29491
30597
|
},
|
29492
|
-
"description": "Prevent outside scrolling when popover show.",
|
29493
30598
|
"default": "false",
|
30599
|
+
"description": "Prevent outside scrolling when element is shown.",
|
29494
30600
|
"fieldName": "enabledPreventScroll"
|
29495
30601
|
}
|
29496
30602
|
],
|