@momentum-design/components 0.95.3 → 0.95.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +5 -5
- package/dist/browser/index.js.map +3 -3
- package/dist/components/listitem/listitem.component.d.ts +2 -3
- package/dist/components/listitem/listitem.component.js +4 -5
- package/dist/components/select/select.component.d.ts +7 -0
- package/dist/components/select/select.component.js +16 -0
- package/dist/custom-elements.json +1491 -1480
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/package.json +1 -1
@@ -9589,473 +9589,518 @@
|
|
9589
9589
|
},
|
9590
9590
|
{
|
9591
9591
|
"kind": "javascript-module",
|
9592
|
-
"path": "components/
|
9592
|
+
"path": "components/divider/divider.component.js",
|
9593
9593
|
"declarations": [
|
9594
9594
|
{
|
9595
9595
|
"kind": "class",
|
9596
|
-
"description": "
|
9597
|
-
"name": "
|
9596
|
+
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
9597
|
+
"name": "Divider",
|
9598
9598
|
"cssProperties": [
|
9599
9599
|
{
|
9600
|
-
"description": "
|
9601
|
-
"name": "--mdc-
|
9600
|
+
"description": "background color of the divider",
|
9601
|
+
"name": "--mdc-divider-background-color"
|
9602
9602
|
},
|
9603
9603
|
{
|
9604
|
-
"description": "
|
9605
|
-
"name": "--mdc-
|
9604
|
+
"description": "width of the divider",
|
9605
|
+
"name": "--mdc-divider-width"
|
9606
9606
|
},
|
9607
9607
|
{
|
9608
|
-
"description": "
|
9609
|
-
"name": "--mdc-
|
9608
|
+
"description": "gradient of the horizontal divider",
|
9609
|
+
"name": "--mdc-divider-horizontal-gradient"
|
9610
9610
|
},
|
9611
9611
|
{
|
9612
|
-
"description": "
|
9613
|
-
"name": "--mdc-
|
9612
|
+
"description": "gradient of the vertical divider",
|
9613
|
+
"name": "--mdc-divider-vertical-gradient"
|
9614
9614
|
},
|
9615
9615
|
{
|
9616
|
-
"description": "
|
9617
|
-
"name": "--mdc-
|
9616
|
+
"description": "font size of label in the text divider",
|
9617
|
+
"name": "--mdc-divider-text-size"
|
9618
9618
|
},
|
9619
9619
|
{
|
9620
|
-
"description": "
|
9621
|
-
"name": "--mdc-
|
9622
|
-
}
|
9623
|
-
],
|
9624
|
-
"slots": [
|
9620
|
+
"description": "font color of label in the text divider",
|
9621
|
+
"name": "--mdc-divider-text-color"
|
9622
|
+
},
|
9625
9623
|
{
|
9626
|
-
"description": "
|
9627
|
-
"name": "
|
9624
|
+
"description": "left and right margin of label in the text divider",
|
9625
|
+
"name": "--mdc-divider-text-margin"
|
9628
9626
|
},
|
9629
9627
|
{
|
9630
|
-
"description": "
|
9631
|
-
"name": "
|
9628
|
+
"description": "line height of label in the text divider",
|
9629
|
+
"name": "--mdc-divider-text-line-height"
|
9632
9630
|
},
|
9633
9631
|
{
|
9634
|
-
"description": "
|
9635
|
-
"name": "
|
9632
|
+
"description": "background color of the grabber button in rest state",
|
9633
|
+
"name": "--mdc-divider-grabber-button-background-color-normal"
|
9636
9634
|
},
|
9637
9635
|
{
|
9638
|
-
"description": "
|
9639
|
-
"name": "
|
9636
|
+
"description": "background color of the grabber button in hover state",
|
9637
|
+
"name": "--mdc-divider-grabber-button-background-color-hover"
|
9640
9638
|
},
|
9641
9639
|
{
|
9642
|
-
"description": "
|
9643
|
-
"name": "
|
9640
|
+
"description": "background color of the grabber button in pressed state",
|
9641
|
+
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
9644
9642
|
},
|
9645
9643
|
{
|
9646
|
-
"description": "
|
9647
|
-
"name": "
|
9644
|
+
"description": "border color of the grabber button",
|
9645
|
+
"name": "--mdc-divider-grabber-button-border-color"
|
9646
|
+
},
|
9647
|
+
{
|
9648
|
+
"description": "border radius of the grabber button",
|
9649
|
+
"name": "--mdc-divider-grabber-button-border-radius"
|
9648
9650
|
}
|
9649
9651
|
],
|
9650
9652
|
"members": [
|
9651
9653
|
{
|
9652
9654
|
"kind": "field",
|
9653
|
-
"name": "
|
9655
|
+
"name": "orientation",
|
9654
9656
|
"type": {
|
9655
|
-
"text": "
|
9657
|
+
"text": "DividerOrientation"
|
9656
9658
|
},
|
9657
|
-
"
|
9658
|
-
"
|
9659
|
-
"attribute": "
|
9659
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
9660
|
+
"default": "horizontal",
|
9661
|
+
"attribute": "orientation",
|
9660
9662
|
"reflects": true
|
9661
9663
|
},
|
9662
9664
|
{
|
9663
9665
|
"kind": "field",
|
9664
|
-
"name": "
|
9666
|
+
"name": "variant",
|
9665
9667
|
"type": {
|
9666
|
-
"text": "
|
9668
|
+
"text": "DividerVariant"
|
9667
9669
|
},
|
9668
|
-
"description": "
|
9669
|
-
"default": "
|
9670
|
-
"attribute": "
|
9670
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
9671
|
+
"default": "solid",
|
9672
|
+
"attribute": "variant",
|
9671
9673
|
"reflects": true
|
9672
9674
|
},
|
9673
9675
|
{
|
9674
9676
|
"kind": "field",
|
9675
|
-
"name": "
|
9677
|
+
"name": "arrowDirection",
|
9676
9678
|
"type": {
|
9677
|
-
"text": "
|
9679
|
+
"text": "Directions"
|
9678
9680
|
},
|
9679
|
-
"description": "
|
9680
|
-
"default": "
|
9681
|
-
"attribute": "
|
9681
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
9682
|
+
"default": "'negative'",
|
9683
|
+
"attribute": "arrow-direction",
|
9682
9684
|
"reflects": true
|
9683
9685
|
},
|
9684
9686
|
{
|
9685
9687
|
"kind": "field",
|
9686
|
-
"name": "
|
9688
|
+
"name": "buttonPosition",
|
9687
9689
|
"type": {
|
9688
|
-
"text": "
|
9690
|
+
"text": "Directions"
|
9689
9691
|
},
|
9690
|
-
"description": "
|
9691
|
-
"default": "
|
9692
|
-
"attribute": "
|
9692
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
9693
|
+
"default": "'negative'",
|
9694
|
+
"attribute": "button-position",
|
9693
9695
|
"reflects": true
|
9694
9696
|
},
|
9695
9697
|
{
|
9696
|
-
"kind": "
|
9697
|
-
"name": "
|
9698
|
-
"
|
9699
|
-
|
9700
|
-
|
9701
|
-
|
9702
|
-
|
9703
|
-
|
9704
|
-
|
9698
|
+
"kind": "method",
|
9699
|
+
"name": "setVariant",
|
9700
|
+
"privacy": "private",
|
9701
|
+
"parameters": [
|
9702
|
+
{
|
9703
|
+
"name": "variant",
|
9704
|
+
"type": {
|
9705
|
+
"text": "DividerVariant"
|
9706
|
+
},
|
9707
|
+
"description": "The variant to set."
|
9708
|
+
}
|
9709
|
+
],
|
9710
|
+
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
9705
9711
|
},
|
9706
9712
|
{
|
9707
|
-
"kind": "
|
9708
|
-
"name": "
|
9709
|
-
"
|
9710
|
-
|
9711
|
-
|
9712
|
-
|
9713
|
-
|
9714
|
-
|
9715
|
-
|
9713
|
+
"kind": "method",
|
9714
|
+
"name": "setOrientation",
|
9715
|
+
"privacy": "private",
|
9716
|
+
"parameters": [
|
9717
|
+
{
|
9718
|
+
"name": "orientation",
|
9719
|
+
"type": {
|
9720
|
+
"text": "DividerOrientation"
|
9721
|
+
},
|
9722
|
+
"description": "The orientation to set."
|
9723
|
+
}
|
9724
|
+
],
|
9725
|
+
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
9716
9726
|
},
|
9717
9727
|
{
|
9718
|
-
"kind": "
|
9719
|
-
"name": "
|
9720
|
-
"
|
9721
|
-
|
9722
|
-
|
9723
|
-
|
9724
|
-
|
9725
|
-
|
9728
|
+
"kind": "method",
|
9729
|
+
"name": "ensureValidDirections",
|
9730
|
+
"privacy": "private",
|
9731
|
+
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
9732
|
+
"parameters": [
|
9733
|
+
{
|
9734
|
+
"description": "The buttonPosition to set.",
|
9735
|
+
"name": "buttonPosition"
|
9736
|
+
},
|
9737
|
+
{
|
9738
|
+
"description": "The arrowDirection to set.",
|
9739
|
+
"name": "arrowDirection"
|
9740
|
+
}
|
9741
|
+
]
|
9726
9742
|
},
|
9727
9743
|
{
|
9728
|
-
"kind": "
|
9729
|
-
"name": "
|
9730
|
-
"
|
9731
|
-
|
9744
|
+
"kind": "method",
|
9745
|
+
"name": "setGrabberButton",
|
9746
|
+
"privacy": "private",
|
9747
|
+
"return": {
|
9748
|
+
"type": {
|
9749
|
+
"text": "void"
|
9750
|
+
}
|
9732
9751
|
},
|
9733
|
-
"
|
9734
|
-
"description": "Defines a string value for the aria-label attribute when header is not used",
|
9735
|
-
"attribute": "aria-label",
|
9736
|
-
"reflects": true
|
9752
|
+
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
9737
9753
|
},
|
9738
9754
|
{
|
9739
|
-
"kind": "
|
9740
|
-
"name": "
|
9741
|
-
"
|
9742
|
-
|
9755
|
+
"kind": "method",
|
9756
|
+
"name": "getArrowIcon",
|
9757
|
+
"privacy": "private",
|
9758
|
+
"return": {
|
9759
|
+
"type": {
|
9760
|
+
"text": ""
|
9761
|
+
}
|
9743
9762
|
},
|
9744
|
-
"
|
9745
|
-
"description": "Defines a string value for the aria-labelledby attribute that refers to the element\nlabeling the dialog for accessibility",
|
9746
|
-
"attribute": "aria-labelledby",
|
9747
|
-
"reflects": true
|
9763
|
+
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
9748
9764
|
},
|
9749
9765
|
{
|
9750
|
-
"kind": "
|
9751
|
-
"name": "
|
9766
|
+
"kind": "method",
|
9767
|
+
"name": "inferDividerType",
|
9768
|
+
"privacy": "private",
|
9769
|
+
"description": "Infers the type of divider based on the kind of slot present.",
|
9770
|
+
"parameters": [
|
9771
|
+
{
|
9772
|
+
"description": "default slot of divider",
|
9773
|
+
"name": "slot"
|
9774
|
+
}
|
9775
|
+
]
|
9776
|
+
}
|
9777
|
+
],
|
9778
|
+
"attributes": [
|
9779
|
+
{
|
9780
|
+
"name": "orientation",
|
9752
9781
|
"type": {
|
9753
|
-
"text": "
|
9782
|
+
"text": "DividerOrientation"
|
9754
9783
|
},
|
9755
|
-
"
|
9756
|
-
"
|
9757
|
-
"
|
9758
|
-
"reflects": true
|
9784
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
9785
|
+
"default": "horizontal",
|
9786
|
+
"fieldName": "orientation"
|
9759
9787
|
},
|
9760
9788
|
{
|
9761
|
-
"
|
9762
|
-
"name": "ariaDescription",
|
9789
|
+
"name": "variant",
|
9763
9790
|
"type": {
|
9764
|
-
"text": "
|
9791
|
+
"text": "DividerVariant"
|
9765
9792
|
},
|
9766
|
-
"
|
9767
|
-
"
|
9768
|
-
"
|
9769
|
-
"reflects": true
|
9793
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
9794
|
+
"default": "solid",
|
9795
|
+
"fieldName": "variant"
|
9770
9796
|
},
|
9771
9797
|
{
|
9772
|
-
"
|
9773
|
-
"name": "headerText",
|
9798
|
+
"name": "arrow-direction",
|
9774
9799
|
"type": {
|
9775
|
-
"text": "
|
9800
|
+
"text": "Directions"
|
9776
9801
|
},
|
9777
|
-
"description": "
|
9778
|
-
"
|
9779
|
-
"
|
9802
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
9803
|
+
"default": "'negative'",
|
9804
|
+
"fieldName": "arrowDirection"
|
9780
9805
|
},
|
9781
9806
|
{
|
9782
|
-
"
|
9783
|
-
"name": "descriptionText",
|
9807
|
+
"name": "button-position",
|
9784
9808
|
"type": {
|
9785
|
-
"text": "
|
9809
|
+
"text": "Directions"
|
9786
9810
|
},
|
9787
|
-
"description": "
|
9788
|
-
"
|
9789
|
-
"
|
9790
|
-
}
|
9811
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
9812
|
+
"default": "'negative'",
|
9813
|
+
"fieldName": "buttonPosition"
|
9814
|
+
}
|
9815
|
+
],
|
9816
|
+
"superclass": {
|
9817
|
+
"name": "Component",
|
9818
|
+
"module": "/src/models"
|
9819
|
+
},
|
9820
|
+
"tagName": "mdc-divider",
|
9821
|
+
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
9822
|
+
"customElement": true
|
9823
|
+
}
|
9824
|
+
],
|
9825
|
+
"exports": [
|
9826
|
+
{
|
9827
|
+
"kind": "js",
|
9828
|
+
"name": "default",
|
9829
|
+
"declaration": {
|
9830
|
+
"name": "Divider",
|
9831
|
+
"module": "components/divider/divider.component.js"
|
9832
|
+
}
|
9833
|
+
}
|
9834
|
+
]
|
9835
|
+
},
|
9836
|
+
{
|
9837
|
+
"kind": "javascript-module",
|
9838
|
+
"path": "components/filterchip/filterchip.component.js",
|
9839
|
+
"declarations": [
|
9840
|
+
{
|
9841
|
+
"kind": "class",
|
9842
|
+
"description": "mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\nThey can be found with lists or tables as quick filters.\n\nThis component is built on top of the mdc-chip component.",
|
9843
|
+
"name": "FilterChip",
|
9844
|
+
"members": [
|
9791
9845
|
{
|
9792
9846
|
"kind": "field",
|
9793
|
-
"name": "
|
9847
|
+
"name": "selected",
|
9794
9848
|
"type": {
|
9795
|
-
"text": "
|
9849
|
+
"text": "boolean"
|
9796
9850
|
},
|
9797
|
-
"
|
9798
|
-
"
|
9851
|
+
"default": "false",
|
9852
|
+
"description": "The selected state of the filterchip.",
|
9853
|
+
"attribute": "selected",
|
9799
9854
|
"reflects": true
|
9800
9855
|
},
|
9801
9856
|
{
|
9802
|
-
"kind": "
|
9803
|
-
"name": "
|
9804
|
-
"
|
9805
|
-
|
9806
|
-
|
9807
|
-
|
9808
|
-
|
9809
|
-
|
9857
|
+
"kind": "method",
|
9858
|
+
"name": "setSelected",
|
9859
|
+
"privacy": "private",
|
9860
|
+
"parameters": [
|
9861
|
+
{
|
9862
|
+
"name": "selected",
|
9863
|
+
"type": {
|
9864
|
+
"text": "boolean"
|
9865
|
+
},
|
9866
|
+
"description": "The selected state of the filterchip."
|
9867
|
+
}
|
9868
|
+
],
|
9869
|
+
"description": "Sets the selected state of the filterchip along with the icon.\naria-pressed attribute is also set to true or false."
|
9810
9870
|
},
|
9811
9871
|
{
|
9812
|
-
"kind": "
|
9813
|
-
"name": "
|
9814
|
-
"
|
9815
|
-
|
9872
|
+
"kind": "method",
|
9873
|
+
"name": "executeAction",
|
9874
|
+
"privacy": "protected",
|
9875
|
+
"inheritedFrom": {
|
9876
|
+
"name": "Buttonsimple",
|
9877
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9816
9878
|
},
|
9817
|
-
"
|
9818
|
-
|
9819
|
-
|
9820
|
-
|
9879
|
+
"return": {
|
9880
|
+
"type": {
|
9881
|
+
"text": "void"
|
9882
|
+
}
|
9883
|
+
}
|
9821
9884
|
},
|
9822
9885
|
{
|
9823
9886
|
"kind": "field",
|
9824
|
-
"name": "
|
9887
|
+
"name": "iconName",
|
9825
9888
|
"type": {
|
9826
|
-
"text": "
|
9889
|
+
"text": "IconNames | undefined"
|
9827
9890
|
},
|
9828
|
-
"description": "
|
9829
|
-
"
|
9830
|
-
"
|
9831
|
-
|
9891
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
9892
|
+
"attribute": "icon-name",
|
9893
|
+
"inheritedFrom": {
|
9894
|
+
"name": "IconNameMixin",
|
9895
|
+
"module": "utils/mixins/IconNameMixin.js"
|
9896
|
+
}
|
9832
9897
|
},
|
9833
9898
|
{
|
9834
9899
|
"kind": "field",
|
9835
|
-
"name": "
|
9900
|
+
"name": "color",
|
9836
9901
|
"type": {
|
9837
|
-
"text": "
|
9902
|
+
"text": "ColorType"
|
9838
9903
|
},
|
9839
|
-
"
|
9840
|
-
"
|
9841
|
-
"
|
9842
|
-
"attribute": "focus-trap",
|
9904
|
+
"description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
|
9905
|
+
"default": "default",
|
9906
|
+
"attribute": "color",
|
9843
9907
|
"reflects": true,
|
9844
9908
|
"inheritedFrom": {
|
9845
|
-
"name": "
|
9846
|
-
"module": "
|
9909
|
+
"name": "Chip",
|
9910
|
+
"module": "components/chip/chip.component.js"
|
9847
9911
|
}
|
9848
9912
|
},
|
9849
9913
|
{
|
9850
|
-
"kind": "
|
9851
|
-
"name": "
|
9852
|
-
"
|
9853
|
-
|
9914
|
+
"kind": "field",
|
9915
|
+
"name": "label",
|
9916
|
+
"type": {
|
9917
|
+
"text": "string"
|
9918
|
+
},
|
9919
|
+
"default": "''",
|
9920
|
+
"description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
9921
|
+
"attribute": "label",
|
9922
|
+
"inheritedFrom": {
|
9923
|
+
"name": "Chip",
|
9924
|
+
"module": "components/chip/chip.component.js"
|
9925
|
+
}
|
9854
9926
|
},
|
9855
9927
|
{
|
9856
9928
|
"kind": "method",
|
9857
|
-
"name": "
|
9929
|
+
"name": "renderIcon",
|
9858
9930
|
"privacy": "private",
|
9859
|
-
"
|
9860
|
-
|
9861
|
-
|
9862
|
-
"
|
9863
|
-
"text": "boolean | undefined"
|
9864
|
-
},
|
9865
|
-
"description": "The old value of the visible property."
|
9866
|
-
},
|
9867
|
-
{
|
9868
|
-
"name": "newValue",
|
9869
|
-
"type": {
|
9870
|
-
"text": "boolean"
|
9871
|
-
},
|
9872
|
-
"description": "The new value of the visible property."
|
9931
|
+
"description": "Renders the icon element if available.",
|
9932
|
+
"return": {
|
9933
|
+
"type": {
|
9934
|
+
"text": ""
|
9873
9935
|
}
|
9874
|
-
|
9875
|
-
"
|
9936
|
+
},
|
9937
|
+
"inheritedFrom": {
|
9938
|
+
"name": "Chip",
|
9939
|
+
"module": "components/chip/chip.component.js"
|
9940
|
+
}
|
9876
9941
|
},
|
9877
9942
|
{
|
9878
9943
|
"kind": "field",
|
9879
|
-
"name": "
|
9944
|
+
"name": "autofocus",
|
9880
9945
|
"type": {
|
9881
9946
|
"text": "boolean"
|
9882
9947
|
},
|
9883
|
-
"
|
9884
|
-
"description": "
|
9948
|
+
"default": "false",
|
9949
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
9950
|
+
"attribute": "autofocus",
|
9951
|
+
"reflects": true,
|
9885
9952
|
"inheritedFrom": {
|
9886
|
-
"name": "
|
9887
|
-
"module": "
|
9953
|
+
"name": "Buttonsimple",
|
9954
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9888
9955
|
}
|
9889
9956
|
},
|
9890
9957
|
{
|
9891
|
-
"kind": "
|
9892
|
-
"name": "
|
9893
|
-
"
|
9958
|
+
"kind": "field",
|
9959
|
+
"name": "tabIndex",
|
9960
|
+
"type": {
|
9961
|
+
"text": "number"
|
9962
|
+
},
|
9963
|
+
"default": "0",
|
9964
|
+
"description": "This property specifies the tab order of the element.",
|
9965
|
+
"attribute": "tabIndex",
|
9966
|
+
"reflects": true,
|
9894
9967
|
"inheritedFrom": {
|
9895
|
-
"name": "
|
9896
|
-
"module": "
|
9968
|
+
"name": "Buttonsimple",
|
9969
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9897
9970
|
}
|
9898
9971
|
},
|
9899
9972
|
{
|
9900
|
-
"kind": "
|
9901
|
-
"name": "
|
9902
|
-
"
|
9973
|
+
"kind": "field",
|
9974
|
+
"name": "disabled",
|
9975
|
+
"type": {
|
9976
|
+
"text": "boolean | undefined"
|
9977
|
+
},
|
9978
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
9979
|
+
"default": "undefined",
|
9980
|
+
"attribute": "disabled",
|
9981
|
+
"reflects": true,
|
9903
9982
|
"inheritedFrom": {
|
9904
|
-
"name": "
|
9905
|
-
"module": "
|
9983
|
+
"name": "Buttonsimple",
|
9984
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9906
9985
|
}
|
9907
9986
|
},
|
9908
9987
|
{
|
9909
9988
|
"kind": "field",
|
9910
|
-
"name": "
|
9989
|
+
"name": "active",
|
9911
9990
|
"type": {
|
9912
|
-
"text": "boolean"
|
9991
|
+
"text": "boolean | undefined"
|
9913
9992
|
},
|
9914
|
-
"
|
9915
|
-
"
|
9916
|
-
"attribute": "
|
9993
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
9994
|
+
"default": "undefined",
|
9995
|
+
"attribute": "active",
|
9917
9996
|
"reflects": true,
|
9918
9997
|
"inheritedFrom": {
|
9919
|
-
"name": "
|
9920
|
-
"module": "
|
9998
|
+
"name": "Buttonsimple",
|
9999
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9921
10000
|
}
|
9922
10001
|
},
|
9923
10002
|
{
|
9924
|
-
"kind": "
|
9925
|
-
"name": "
|
9926
|
-
"
|
9927
|
-
|
9928
|
-
|
9929
|
-
|
9930
|
-
|
9931
|
-
|
9932
|
-
|
9933
|
-
}
|
9934
|
-
],
|
10003
|
+
"kind": "field",
|
10004
|
+
"name": "softDisabled",
|
10005
|
+
"type": {
|
10006
|
+
"text": "boolean | undefined"
|
10007
|
+
},
|
10008
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
10009
|
+
"default": "undefined",
|
10010
|
+
"attribute": "soft-disabled",
|
10011
|
+
"reflects": true,
|
9935
10012
|
"inheritedFrom": {
|
9936
|
-
"name": "
|
9937
|
-
"module": "
|
10013
|
+
"name": "Buttonsimple",
|
10014
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9938
10015
|
}
|
9939
10016
|
},
|
9940
10017
|
{
|
9941
|
-
"kind": "
|
9942
|
-
"name": "
|
9943
|
-
"
|
9944
|
-
|
10018
|
+
"kind": "field",
|
10019
|
+
"name": "size",
|
10020
|
+
"type": {
|
10021
|
+
"text": "ButtonSize"
|
10022
|
+
},
|
10023
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
10024
|
+
"default": "32",
|
10025
|
+
"attribute": "size",
|
10026
|
+
"reflects": true,
|
9945
10027
|
"inheritedFrom": {
|
9946
|
-
"name": "
|
9947
|
-
"module": "
|
10028
|
+
"name": "Buttonsimple",
|
10029
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9948
10030
|
}
|
9949
10031
|
},
|
9950
10032
|
{
|
9951
|
-
"kind": "
|
9952
|
-
"name": "
|
9953
|
-
"
|
9954
|
-
"
|
10033
|
+
"kind": "field",
|
10034
|
+
"name": "role",
|
10035
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
10036
|
+
"default": "button",
|
10037
|
+
"attribute": "role",
|
10038
|
+
"reflects": true,
|
9955
10039
|
"inheritedFrom": {
|
9956
|
-
"name": "
|
9957
|
-
"module": "
|
10040
|
+
"name": "Buttonsimple",
|
10041
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9958
10042
|
}
|
9959
10043
|
},
|
9960
10044
|
{
|
9961
|
-
"kind": "
|
9962
|
-
"name": "
|
9963
|
-
"
|
9964
|
-
|
9965
|
-
{
|
9966
|
-
"name": "element",
|
9967
|
-
"type": {
|
9968
|
-
"text": "HTMLElement"
|
9969
|
-
},
|
9970
|
-
"description": "The element to check."
|
9971
|
-
}
|
9972
|
-
],
|
9973
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
9974
|
-
"return": {
|
9975
|
-
"type": {
|
9976
|
-
"text": ""
|
9977
|
-
}
|
10045
|
+
"kind": "field",
|
10046
|
+
"name": "ariaStateKey",
|
10047
|
+
"type": {
|
10048
|
+
"text": "string | undefined"
|
9978
10049
|
},
|
10050
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
10051
|
+
"default": "'aria-pressed' (when)",
|
10052
|
+
"attribute": "ariaStateKey",
|
10053
|
+
"reflects": true,
|
9979
10054
|
"inheritedFrom": {
|
9980
|
-
"name": "
|
9981
|
-
"module": "
|
10055
|
+
"name": "Buttonsimple",
|
10056
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9982
10057
|
}
|
9983
10058
|
},
|
9984
10059
|
{
|
9985
|
-
"kind": "
|
9986
|
-
"name": "
|
9987
|
-
"
|
9988
|
-
|
9989
|
-
{
|
9990
|
-
"name": "element",
|
9991
|
-
"type": {
|
9992
|
-
"text": "HTMLElement"
|
9993
|
-
},
|
9994
|
-
"description": "The element to check."
|
9995
|
-
}
|
9996
|
-
],
|
9997
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
9998
|
-
"return": {
|
9999
|
-
"type": {
|
10000
|
-
"text": ""
|
10001
|
-
}
|
10060
|
+
"kind": "field",
|
10061
|
+
"name": "type",
|
10062
|
+
"type": {
|
10063
|
+
"text": "ButtonType"
|
10002
10064
|
},
|
10065
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
10066
|
+
"default": "button",
|
10067
|
+
"attribute": "type",
|
10068
|
+
"reflects": true,
|
10003
10069
|
"inheritedFrom": {
|
10004
|
-
"name": "
|
10005
|
-
"module": "
|
10070
|
+
"name": "Buttonsimple",
|
10071
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10006
10072
|
}
|
10007
10073
|
},
|
10008
10074
|
{
|
10009
10075
|
"kind": "method",
|
10010
|
-
"name": "
|
10011
|
-
"privacy": "
|
10076
|
+
"name": "setActive",
|
10077
|
+
"privacy": "protected",
|
10012
10078
|
"parameters": [
|
10013
10079
|
{
|
10014
10080
|
"name": "element",
|
10015
10081
|
"type": {
|
10016
10082
|
"text": "HTMLElement"
|
10017
10083
|
},
|
10018
|
-
"description": "The element
|
10019
|
-
}
|
10020
|
-
],
|
10021
|
-
"description": "Determines if the element is not visible in the DOM.",
|
10022
|
-
"return": {
|
10023
|
-
"type": {
|
10024
|
-
"text": ""
|
10025
|
-
}
|
10026
|
-
},
|
10027
|
-
"inheritedFrom": {
|
10028
|
-
"name": "FocusTrapMixin",
|
10029
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
10030
|
-
}
|
10031
|
-
},
|
10032
|
-
{
|
10033
|
-
"kind": "method",
|
10034
|
-
"name": "hasHiddenStyle",
|
10035
|
-
"privacy": "private",
|
10036
|
-
"parameters": [
|
10084
|
+
"description": "The button element"
|
10085
|
+
},
|
10037
10086
|
{
|
10038
|
-
"name": "
|
10087
|
+
"name": "active",
|
10088
|
+
"optional": true,
|
10039
10089
|
"type": {
|
10040
|
-
"text": "
|
10090
|
+
"text": "boolean"
|
10041
10091
|
},
|
10042
|
-
"description": "The
|
10092
|
+
"description": "The active state of the element"
|
10043
10093
|
}
|
10044
10094
|
],
|
10045
|
-
"description": "
|
10046
|
-
"return": {
|
10047
|
-
"type": {
|
10048
|
-
"text": ""
|
10049
|
-
}
|
10050
|
-
},
|
10095
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
10051
10096
|
"inheritedFrom": {
|
10052
|
-
"name": "
|
10053
|
-
"module": "
|
10097
|
+
"name": "Buttonsimple",
|
10098
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10054
10099
|
}
|
10055
10100
|
},
|
10056
10101
|
{
|
10057
10102
|
"kind": "method",
|
10058
|
-
"name": "
|
10103
|
+
"name": "setSoftDisabled",
|
10059
10104
|
"privacy": "private",
|
10060
10105
|
"parameters": [
|
10061
10106
|
{
|
@@ -10063,23 +10108,26 @@
|
|
10063
10108
|
"type": {
|
10064
10109
|
"text": "HTMLElement"
|
10065
10110
|
},
|
10066
|
-
"description": "The element
|
10111
|
+
"description": "The button element."
|
10112
|
+
},
|
10113
|
+
{
|
10114
|
+
"name": "softDisabled",
|
10115
|
+
"optional": true,
|
10116
|
+
"type": {
|
10117
|
+
"text": "boolean"
|
10118
|
+
},
|
10119
|
+
"description": "The soft-disabled state."
|
10067
10120
|
}
|
10068
10121
|
],
|
10069
|
-
"description": "
|
10070
|
-
"return": {
|
10071
|
-
"type": {
|
10072
|
-
"text": ""
|
10073
|
-
}
|
10074
|
-
},
|
10122
|
+
"description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
|
10075
10123
|
"inheritedFrom": {
|
10076
|
-
"name": "
|
10077
|
-
"module": "
|
10124
|
+
"name": "Buttonsimple",
|
10125
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10078
10126
|
}
|
10079
10127
|
},
|
10080
10128
|
{
|
10081
10129
|
"kind": "method",
|
10082
|
-
"name": "
|
10130
|
+
"name": "setDisabled",
|
10083
10131
|
"privacy": "private",
|
10084
10132
|
"parameters": [
|
10085
10133
|
{
|
@@ -10087,1175 +10135,1125 @@
|
|
10087
10135
|
"type": {
|
10088
10136
|
"text": "HTMLElement"
|
10089
10137
|
},
|
10090
|
-
"description": "The element
|
10138
|
+
"description": "The button element."
|
10139
|
+
},
|
10140
|
+
{
|
10141
|
+
"name": "disabled",
|
10142
|
+
"type": {
|
10143
|
+
"text": "boolean"
|
10144
|
+
},
|
10145
|
+
"description": "The disabled state."
|
10091
10146
|
}
|
10092
10147
|
],
|
10093
|
-
"description": "
|
10094
|
-
"return": {
|
10095
|
-
"type": {
|
10096
|
-
"text": ""
|
10097
|
-
}
|
10098
|
-
},
|
10148
|
+
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
10099
10149
|
"inheritedFrom": {
|
10100
|
-
"name": "
|
10101
|
-
"module": "
|
10150
|
+
"name": "Buttonsimple",
|
10151
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10102
10152
|
}
|
10103
10153
|
},
|
10104
10154
|
{
|
10105
10155
|
"kind": "method",
|
10106
|
-
"name": "
|
10156
|
+
"name": "triggerClickEvent",
|
10107
10157
|
"privacy": "private",
|
10108
|
-
"parameters": [
|
10109
|
-
{
|
10110
|
-
"name": "element",
|
10111
|
-
"type": {
|
10112
|
-
"text": "any"
|
10113
|
-
},
|
10114
|
-
"description": "The element to check."
|
10115
|
-
}
|
10116
|
-
],
|
10117
|
-
"description": "Checks if the element is disabled.",
|
10118
|
-
"return": {
|
10119
|
-
"type": {
|
10120
|
-
"text": ""
|
10121
|
-
}
|
10122
|
-
},
|
10123
10158
|
"inheritedFrom": {
|
10124
|
-
"name": "
|
10125
|
-
"module": "
|
10159
|
+
"name": "Buttonsimple",
|
10160
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10126
10161
|
}
|
10127
10162
|
},
|
10128
10163
|
{
|
10129
10164
|
"kind": "method",
|
10130
|
-
"name": "
|
10165
|
+
"name": "handleBlur",
|
10131
10166
|
"privacy": "private",
|
10132
|
-
"
|
10133
|
-
{
|
10134
|
-
"name": "element",
|
10135
|
-
"type": {
|
10136
|
-
"text": "HTMLElement"
|
10137
|
-
},
|
10138
|
-
"description": "The element to check."
|
10139
|
-
}
|
10140
|
-
],
|
10141
|
-
"description": "Checks if the element is not tabbable.",
|
10142
|
-
"return": {
|
10143
|
-
"type": {
|
10144
|
-
"text": ""
|
10145
|
-
}
|
10146
|
-
},
|
10167
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
10147
10168
|
"inheritedFrom": {
|
10148
|
-
"name": "
|
10149
|
-
"module": "
|
10169
|
+
"name": "Buttonsimple",
|
10170
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10150
10171
|
}
|
10151
10172
|
},
|
10152
10173
|
{
|
10153
10174
|
"kind": "method",
|
10154
|
-
"name": "
|
10175
|
+
"name": "handleKeyDown",
|
10155
10176
|
"privacy": "private",
|
10156
|
-
"return": {
|
10157
|
-
"type": {
|
10158
|
-
"text": ""
|
10159
|
-
}
|
10160
|
-
},
|
10161
10177
|
"parameters": [
|
10162
10178
|
{
|
10163
|
-
"name": "
|
10179
|
+
"name": "event",
|
10164
10180
|
"type": {
|
10165
|
-
"text": "
|
10181
|
+
"text": "KeyboardEvent"
|
10166
10182
|
},
|
10167
|
-
"description": "The
|
10183
|
+
"description": "The keyboard event."
|
10168
10184
|
}
|
10169
10185
|
],
|
10170
|
-
"description": "
|
10186
|
+
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
10171
10187
|
"inheritedFrom": {
|
10172
|
-
"name": "
|
10173
|
-
"module": "
|
10188
|
+
"name": "Buttonsimple",
|
10189
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10174
10190
|
}
|
10175
10191
|
},
|
10176
10192
|
{
|
10177
10193
|
"kind": "method",
|
10178
|
-
"name": "
|
10194
|
+
"name": "handleKeyUp",
|
10179
10195
|
"privacy": "private",
|
10180
10196
|
"parameters": [
|
10181
10197
|
{
|
10182
|
-
"name": "
|
10198
|
+
"name": "event",
|
10183
10199
|
"type": {
|
10184
|
-
"text": "
|
10200
|
+
"text": "KeyboardEvent"
|
10185
10201
|
},
|
10186
|
-
"description": "The
|
10202
|
+
"description": "The keyboard event."
|
10187
10203
|
}
|
10188
10204
|
],
|
10189
|
-
"description": "
|
10190
|
-
"return": {
|
10191
|
-
"type": {
|
10192
|
-
"text": ""
|
10193
|
-
}
|
10194
|
-
},
|
10205
|
+
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
|
10195
10206
|
"inheritedFrom": {
|
10196
|
-
"name": "
|
10197
|
-
"module": "
|
10207
|
+
"name": "Buttonsimple",
|
10208
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
10198
10209
|
}
|
10199
|
-
}
|
10210
|
+
}
|
10211
|
+
],
|
10212
|
+
"attributes": [
|
10200
10213
|
{
|
10201
|
-
"
|
10202
|
-
"
|
10203
|
-
|
10204
|
-
"return": {
|
10205
|
-
"type": {
|
10206
|
-
"text": ""
|
10207
|
-
}
|
10214
|
+
"name": "selected",
|
10215
|
+
"type": {
|
10216
|
+
"text": "boolean"
|
10208
10217
|
},
|
10209
|
-
"
|
10210
|
-
|
10211
|
-
|
10212
|
-
|
10213
|
-
|
10214
|
-
|
10215
|
-
|
10216
|
-
|
10217
|
-
|
10218
|
-
|
10219
|
-
|
10220
|
-
"type": {
|
10221
|
-
"text": "Set<HTMLElement>"
|
10222
|
-
},
|
10223
|
-
"description": "The set of focusable elements."
|
10224
|
-
}
|
10225
|
-
],
|
10226
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
10218
|
+
"default": "false",
|
10219
|
+
"description": "The selected state of the filterchip.",
|
10220
|
+
"fieldName": "selected"
|
10221
|
+
},
|
10222
|
+
{
|
10223
|
+
"name": "icon-name",
|
10224
|
+
"type": {
|
10225
|
+
"text": "IconNames | undefined"
|
10226
|
+
},
|
10227
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
10228
|
+
"fieldName": "iconName",
|
10227
10229
|
"inheritedFrom": {
|
10228
|
-
"name": "
|
10229
|
-
"module": "utils/mixins/
|
10230
|
+
"name": "IconNameMixin",
|
10231
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
10230
10232
|
}
|
10231
10233
|
},
|
10232
10234
|
{
|
10233
|
-
"
|
10234
|
-
"
|
10235
|
-
|
10236
|
-
|
10235
|
+
"name": "color",
|
10236
|
+
"type": {
|
10237
|
+
"text": "ColorType"
|
10238
|
+
},
|
10239
|
+
"description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
|
10240
|
+
"default": "default",
|
10241
|
+
"fieldName": "color",
|
10237
10242
|
"inheritedFrom": {
|
10238
|
-
"name": "
|
10239
|
-
"module": "
|
10243
|
+
"name": "Chip",
|
10244
|
+
"module": "src/components/chip/chip.component.ts"
|
10240
10245
|
}
|
10241
10246
|
},
|
10242
10247
|
{
|
10243
|
-
"
|
10244
|
-
"
|
10245
|
-
|
10246
|
-
|
10247
|
-
|
10248
|
-
|
10249
|
-
|
10250
|
-
"type": {
|
10251
|
-
"text": "number"
|
10252
|
-
},
|
10253
|
-
"description": "The index of the preferable element to focus."
|
10254
|
-
}
|
10255
|
-
],
|
10256
|
-
"description": "Sets the initial focus within the container.",
|
10248
|
+
"name": "label",
|
10249
|
+
"type": {
|
10250
|
+
"text": "string"
|
10251
|
+
},
|
10252
|
+
"default": "''",
|
10253
|
+
"description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
10254
|
+
"fieldName": "label",
|
10257
10255
|
"inheritedFrom": {
|
10258
|
-
"name": "
|
10259
|
-
"module": "
|
10256
|
+
"name": "Chip",
|
10257
|
+
"module": "src/components/chip/chip.component.ts"
|
10260
10258
|
}
|
10261
10259
|
},
|
10262
10260
|
{
|
10263
|
-
"
|
10264
|
-
"
|
10265
|
-
|
10266
|
-
"parameters": [
|
10267
|
-
{
|
10268
|
-
"name": "currentIndex",
|
10269
|
-
"type": {
|
10270
|
-
"text": "number"
|
10271
|
-
},
|
10272
|
-
"description": "The current index."
|
10273
|
-
},
|
10274
|
-
{
|
10275
|
-
"name": "step",
|
10276
|
-
"type": {
|
10277
|
-
"text": "number"
|
10278
|
-
},
|
10279
|
-
"description": "The step to calculate the next index."
|
10280
|
-
}
|
10281
|
-
],
|
10282
|
-
"description": "Calculates the next index for the focus trap.",
|
10283
|
-
"return": {
|
10284
|
-
"type": {
|
10285
|
-
"text": ""
|
10286
|
-
}
|
10261
|
+
"name": "autofocus",
|
10262
|
+
"type": {
|
10263
|
+
"text": "boolean"
|
10287
10264
|
},
|
10265
|
+
"default": "false",
|
10266
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
10267
|
+
"fieldName": "autofocus",
|
10288
10268
|
"inheritedFrom": {
|
10289
|
-
"name": "
|
10290
|
-
"module": "
|
10269
|
+
"name": "Buttonsimple",
|
10270
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10291
10271
|
}
|
10292
10272
|
},
|
10293
10273
|
{
|
10294
|
-
"
|
10295
|
-
"
|
10296
|
-
|
10297
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
10298
|
-
"return": {
|
10299
|
-
"type": {
|
10300
|
-
"text": ""
|
10301
|
-
}
|
10274
|
+
"name": "tabIndex",
|
10275
|
+
"type": {
|
10276
|
+
"text": "number"
|
10302
10277
|
},
|
10278
|
+
"default": "0",
|
10279
|
+
"description": "This property specifies the tab order of the element.",
|
10280
|
+
"fieldName": "tabIndex",
|
10303
10281
|
"inheritedFrom": {
|
10304
|
-
"name": "
|
10305
|
-
"module": "
|
10282
|
+
"name": "Buttonsimple",
|
10283
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10306
10284
|
}
|
10307
10285
|
},
|
10308
10286
|
{
|
10309
|
-
"
|
10310
|
-
"
|
10311
|
-
|
10312
|
-
"parameters": [
|
10313
|
-
{
|
10314
|
-
"name": "activeElement",
|
10315
|
-
"type": {
|
10316
|
-
"text": "HTMLElement"
|
10317
|
-
},
|
10318
|
-
"description": "The active element."
|
10319
|
-
}
|
10320
|
-
],
|
10321
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
10322
|
-
"return": {
|
10323
|
-
"type": {
|
10324
|
-
"text": ""
|
10325
|
-
}
|
10287
|
+
"name": "disabled",
|
10288
|
+
"type": {
|
10289
|
+
"text": "boolean | undefined"
|
10326
10290
|
},
|
10291
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
10292
|
+
"default": "undefined",
|
10293
|
+
"fieldName": "disabled",
|
10327
10294
|
"inheritedFrom": {
|
10328
|
-
"name": "
|
10329
|
-
"module": "
|
10295
|
+
"name": "Buttonsimple",
|
10296
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10330
10297
|
}
|
10331
10298
|
},
|
10332
10299
|
{
|
10333
|
-
"
|
10334
|
-
"
|
10335
|
-
|
10336
|
-
"parameters": [
|
10337
|
-
{
|
10338
|
-
"name": "activeElement",
|
10339
|
-
"type": {
|
10340
|
-
"text": "HTMLElement"
|
10341
|
-
},
|
10342
|
-
"description": "The active element."
|
10343
|
-
},
|
10344
|
-
{
|
10345
|
-
"name": "element",
|
10346
|
-
"type": {
|
10347
|
-
"text": "HTMLElement"
|
10348
|
-
},
|
10349
|
-
"description": "The element to compare."
|
10350
|
-
}
|
10351
|
-
],
|
10352
|
-
"description": "Checks if the active element is equal to the given element.",
|
10353
|
-
"return": {
|
10354
|
-
"type": {
|
10355
|
-
"text": ""
|
10356
|
-
}
|
10300
|
+
"name": "active",
|
10301
|
+
"type": {
|
10302
|
+
"text": "boolean | undefined"
|
10357
10303
|
},
|
10304
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
10305
|
+
"default": "undefined",
|
10306
|
+
"fieldName": "active",
|
10358
10307
|
"inheritedFrom": {
|
10359
|
-
"name": "
|
10360
|
-
"module": "
|
10308
|
+
"name": "Buttonsimple",
|
10309
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10361
10310
|
}
|
10362
10311
|
},
|
10363
10312
|
{
|
10364
|
-
"
|
10365
|
-
"
|
10366
|
-
|
10367
|
-
|
10368
|
-
|
10369
|
-
|
10370
|
-
|
10371
|
-
"text": "KeyboardEvent"
|
10372
|
-
}
|
10373
|
-
},
|
10374
|
-
{
|
10375
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
10376
|
-
"name": "direction"
|
10377
|
-
}
|
10378
|
-
],
|
10379
|
-
"description": "Traps focus within the container.",
|
10313
|
+
"name": "soft-disabled",
|
10314
|
+
"type": {
|
10315
|
+
"text": "boolean | undefined"
|
10316
|
+
},
|
10317
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
10318
|
+
"default": "undefined",
|
10319
|
+
"fieldName": "softDisabled",
|
10380
10320
|
"inheritedFrom": {
|
10381
|
-
"name": "
|
10382
|
-
"module": "
|
10321
|
+
"name": "Buttonsimple",
|
10322
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10383
10323
|
}
|
10384
10324
|
},
|
10385
10325
|
{
|
10386
|
-
"
|
10387
|
-
"
|
10388
|
-
|
10389
|
-
|
10390
|
-
|
10391
|
-
|
10392
|
-
|
10393
|
-
"text": "KeyboardEvent"
|
10394
|
-
},
|
10395
|
-
"description": "The keyboard event."
|
10396
|
-
}
|
10397
|
-
],
|
10398
|
-
"description": "Traps focus within the container.",
|
10326
|
+
"name": "size",
|
10327
|
+
"type": {
|
10328
|
+
"text": "ButtonSize"
|
10329
|
+
},
|
10330
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
10331
|
+
"default": "32",
|
10332
|
+
"fieldName": "size",
|
10399
10333
|
"inheritedFrom": {
|
10400
|
-
"name": "
|
10401
|
-
"module": "
|
10334
|
+
"name": "Buttonsimple",
|
10335
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10402
10336
|
}
|
10403
10337
|
},
|
10404
10338
|
{
|
10405
|
-
"
|
10406
|
-
"
|
10407
|
-
"
|
10408
|
-
"
|
10409
|
-
"
|
10410
|
-
"
|
10411
|
-
|
10412
|
-
|
10339
|
+
"name": "role",
|
10340
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
10341
|
+
"default": "button",
|
10342
|
+
"fieldName": "role",
|
10343
|
+
"inheritedFrom": {
|
10344
|
+
"name": "Buttonsimple",
|
10345
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10346
|
+
}
|
10347
|
+
},
|
10348
|
+
{
|
10349
|
+
"name": "ariaStateKey",
|
10350
|
+
"type": {
|
10351
|
+
"text": "string | undefined"
|
10413
10352
|
},
|
10353
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
10354
|
+
"default": "'aria-pressed' (when)",
|
10355
|
+
"fieldName": "ariaStateKey",
|
10414
10356
|
"inheritedFrom": {
|
10415
|
-
"name": "
|
10416
|
-
"module": "
|
10357
|
+
"name": "Buttonsimple",
|
10358
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10359
|
+
}
|
10360
|
+
},
|
10361
|
+
{
|
10362
|
+
"name": "type",
|
10363
|
+
"type": {
|
10364
|
+
"text": "ButtonType"
|
10365
|
+
},
|
10366
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
10367
|
+
"default": "button",
|
10368
|
+
"fieldName": "type",
|
10369
|
+
"inheritedFrom": {
|
10370
|
+
"name": "Buttonsimple",
|
10371
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10372
|
+
}
|
10373
|
+
}
|
10374
|
+
],
|
10375
|
+
"superclass": {
|
10376
|
+
"name": "Chip",
|
10377
|
+
"module": "/src/components/chip/chip.component"
|
10378
|
+
},
|
10379
|
+
"tagName": "mdc-filterchip",
|
10380
|
+
"jsDoc": "/**\n * mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\n * They can be found with lists or tables as quick filters.\n *\n * This component is built on top of the mdc-chip component.\n *\n * @tagname mdc-filterchip\n *\n */",
|
10381
|
+
"customElement": true,
|
10382
|
+
"cssProperties": [
|
10383
|
+
{
|
10384
|
+
"description": "The color of the chip.",
|
10385
|
+
"name": "--mdc-chip-color",
|
10386
|
+
"inheritedFrom": {
|
10387
|
+
"name": "Chip",
|
10388
|
+
"module": "src/components/chip/chip.component.ts"
|
10389
|
+
}
|
10390
|
+
},
|
10391
|
+
{
|
10392
|
+
"description": "The border color of the chip.",
|
10393
|
+
"name": "--mdc-chip-border-color",
|
10394
|
+
"inheritedFrom": {
|
10395
|
+
"name": "Chip",
|
10396
|
+
"module": "src/components/chip/chip.component.ts"
|
10397
|
+
}
|
10398
|
+
},
|
10399
|
+
{
|
10400
|
+
"description": "The background color of the chip.",
|
10401
|
+
"name": "--mdc-chip-background-color",
|
10402
|
+
"inheritedFrom": {
|
10403
|
+
"name": "Chip",
|
10404
|
+
"module": "src/components/chip/chip.component.ts"
|
10417
10405
|
}
|
10418
10406
|
}
|
10419
10407
|
],
|
10420
10408
|
"events": [
|
10421
10409
|
{
|
10422
|
-
"description": "(React:
|
10423
|
-
"name": "
|
10424
|
-
"reactName": "
|
10410
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
10411
|
+
"name": "click",
|
10412
|
+
"reactName": "onClick",
|
10413
|
+
"inheritedFrom": {
|
10414
|
+
"name": "Buttonsimple",
|
10415
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10416
|
+
}
|
10425
10417
|
},
|
10426
10418
|
{
|
10427
|
-
"description": "(React:
|
10428
|
-
"name": "
|
10429
|
-
"reactName": "
|
10419
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
10420
|
+
"name": "keydown",
|
10421
|
+
"reactName": "onKeyDown",
|
10422
|
+
"inheritedFrom": {
|
10423
|
+
"name": "Buttonsimple",
|
10424
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10425
|
+
}
|
10426
|
+
},
|
10427
|
+
{
|
10428
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
10429
|
+
"name": "keyup",
|
10430
|
+
"reactName": "onKeyUp",
|
10431
|
+
"inheritedFrom": {
|
10432
|
+
"name": "Buttonsimple",
|
10433
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10434
|
+
}
|
10435
|
+
},
|
10436
|
+
{
|
10437
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
10438
|
+
"name": "focus",
|
10439
|
+
"reactName": "onFocus",
|
10440
|
+
"inheritedFrom": {
|
10441
|
+
"name": "Buttonsimple",
|
10442
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
10443
|
+
}
|
10444
|
+
}
|
10445
|
+
]
|
10446
|
+
}
|
10447
|
+
],
|
10448
|
+
"exports": [
|
10449
|
+
{
|
10450
|
+
"kind": "js",
|
10451
|
+
"name": "default",
|
10452
|
+
"declaration": {
|
10453
|
+
"name": "FilterChip",
|
10454
|
+
"module": "components/filterchip/filterchip.component.js"
|
10455
|
+
}
|
10456
|
+
}
|
10457
|
+
]
|
10458
|
+
},
|
10459
|
+
{
|
10460
|
+
"kind": "javascript-module",
|
10461
|
+
"path": "components/dialog/dialog.component.js",
|
10462
|
+
"declarations": [
|
10463
|
+
{
|
10464
|
+
"kind": "class",
|
10465
|
+
"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 5 sizes: small, medium, large, xlarge and fullscreen. 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\nThe dialog can be controlled solely through the `visible` property, no trigger element is required.\nIf a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\nremember the previously focused element before the dialog was opened.\n\nThe dialog is a controlled component, meaning it does not have its own state management for visibility.\nUse the `visible` property to control the visibility of the dialog.\nUse the `onClose` event to handle the close action of the dialog (fired when Close button is clicked\nor Escape is pressed).\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",
|
10466
|
+
"name": "Dialog",
|
10467
|
+
"cssProperties": [
|
10468
|
+
{
|
10469
|
+
"description": "primary background color of the dialog",
|
10470
|
+
"name": "--mdc-dialog-primary-background-color"
|
10471
|
+
},
|
10472
|
+
{
|
10473
|
+
"description": "border color of the dialog",
|
10474
|
+
"name": "--mdc-dialog-border-color"
|
10475
|
+
},
|
10476
|
+
{
|
10477
|
+
"description": "text color of the header/title of the dialog",
|
10478
|
+
"name": "--mdc-dialog-header-text-color"
|
10479
|
+
},
|
10480
|
+
{
|
10481
|
+
"description": "text color of the below header description of the dialog",
|
10482
|
+
"name": "--mdc-dialog-description-text-color"
|
10483
|
+
},
|
10484
|
+
{
|
10485
|
+
"description": "elevation of the dialog",
|
10486
|
+
"name": "--mdc-dialog-elevation-3"
|
10487
|
+
},
|
10488
|
+
{
|
10489
|
+
"description": "width of the dialog",
|
10490
|
+
"name": "--mdc-dialog-width"
|
10491
|
+
}
|
10492
|
+
],
|
10493
|
+
"slots": [
|
10494
|
+
{
|
10495
|
+
"description": "Slot for the dialog header content. This can be used to pass custom header content.",
|
10496
|
+
"name": "header-prefix"
|
10497
|
+
},
|
10498
|
+
{
|
10499
|
+
"description": "Slot for the dialog body content",
|
10500
|
+
"name": "dialog-body"
|
10501
|
+
},
|
10502
|
+
{
|
10503
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
10504
|
+
"name": "footer-link"
|
10430
10505
|
},
|
10431
10506
|
{
|
10432
|
-
"description": "
|
10433
|
-
"name": "
|
10434
|
-
"reactName": "onCreated"
|
10507
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
10508
|
+
"name": "footer-button-secondary"
|
10435
10509
|
},
|
10436
10510
|
{
|
10437
|
-
"description": "
|
10438
|
-
"name": "
|
10439
|
-
"reactName": "onDestroyed"
|
10511
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
10512
|
+
"name": "footer-button-primary"
|
10440
10513
|
},
|
10441
10514
|
{
|
10442
|
-
"description": "
|
10443
|
-
"name": "
|
10444
|
-
"reactName": "onClose"
|
10515
|
+
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred",
|
10516
|
+
"name": "footer"
|
10445
10517
|
}
|
10446
10518
|
],
|
10447
|
-
"
|
10519
|
+
"members": [
|
10448
10520
|
{
|
10521
|
+
"kind": "field",
|
10449
10522
|
"name": "id",
|
10450
10523
|
"type": {
|
10451
10524
|
"text": "string"
|
10452
10525
|
},
|
10453
10526
|
"default": "''",
|
10454
10527
|
"description": "The unique ID of the dialog",
|
10455
|
-
"
|
10528
|
+
"attribute": "id",
|
10529
|
+
"reflects": true
|
10456
10530
|
},
|
10457
10531
|
{
|
10532
|
+
"kind": "field",
|
10458
10533
|
"name": "triggerId",
|
10459
10534
|
"type": {
|
10460
10535
|
"text": "string | undefined"
|
10461
10536
|
},
|
10462
10537
|
"description": "The ID of the element that triggers the dialog",
|
10463
10538
|
"default": "undefined",
|
10464
|
-
"
|
10539
|
+
"attribute": "triggerId",
|
10540
|
+
"reflects": true
|
10465
10541
|
},
|
10466
10542
|
{
|
10543
|
+
"kind": "field",
|
10467
10544
|
"name": "visible",
|
10468
10545
|
"type": {
|
10469
10546
|
"text": "boolean"
|
10470
10547
|
},
|
10471
10548
|
"description": "The visibility of the dialog\n\nDialog is a controlled component, visible is the only property that controls the visibility of the dialog.",
|
10472
10549
|
"default": "false",
|
10473
|
-
"
|
10550
|
+
"attribute": "visible",
|
10551
|
+
"reflects": true
|
10474
10552
|
},
|
10475
10553
|
{
|
10476
|
-
"
|
10554
|
+
"kind": "field",
|
10555
|
+
"name": "zIndex",
|
10477
10556
|
"type": {
|
10478
10557
|
"text": "number"
|
10479
10558
|
},
|
10480
10559
|
"description": "The z-index of the dialog\n\nThe backdrop will have z-index of `zIndex - 1`",
|
10481
10560
|
"default": "1000",
|
10482
|
-
"
|
10561
|
+
"attribute": "z-index",
|
10562
|
+
"reflects": true
|
10483
10563
|
},
|
10484
10564
|
{
|
10565
|
+
"kind": "field",
|
10485
10566
|
"name": "size",
|
10486
10567
|
"type": {
|
10487
10568
|
"text": "DialogSize"
|
10488
10569
|
},
|
10489
10570
|
"description": "The size of the dialog, can be 'small' (432px width), 'medium' (656px width), 'large' (992px width), 'xlarge' (90% width) or 'fullscreen' (100% width).",
|
10490
10571
|
"default": "small",
|
10491
|
-
"
|
10572
|
+
"attribute": "size",
|
10573
|
+
"reflects": true
|
10492
10574
|
},
|
10493
10575
|
{
|
10576
|
+
"kind": "field",
|
10494
10577
|
"name": "variant",
|
10495
10578
|
"type": {
|
10496
10579
|
"text": "DialogVariant"
|
10497
10580
|
},
|
10498
10581
|
"description": "The variant of the dialog, can be 'default' or 'promotional'",
|
10499
10582
|
"default": "default",
|
10500
|
-
"
|
10583
|
+
"attribute": "variant",
|
10584
|
+
"reflects": true
|
10501
10585
|
},
|
10502
10586
|
{
|
10503
|
-
"
|
10587
|
+
"kind": "field",
|
10588
|
+
"name": "closeButtonAriaLabel",
|
10504
10589
|
"type": {
|
10505
10590
|
"text": "string | null"
|
10506
10591
|
},
|
10507
10592
|
"default": "null",
|
10508
10593
|
"description": "Defines a string value for the aria-label attribute for close button accessibility",
|
10509
|
-
"
|
10510
|
-
},
|
10511
|
-
{
|
10512
|
-
"name": "aria-label",
|
10513
|
-
"type": {
|
10514
|
-
"text": "string | null"
|
10515
|
-
},
|
10516
|
-
"default": "null",
|
10517
|
-
"description": "Defines a string value for the aria-label attribute when header is not used",
|
10518
|
-
"fieldName": "ariaLabel"
|
10519
|
-
},
|
10520
|
-
{
|
10521
|
-
"name": "aria-labelledby",
|
10522
|
-
"type": {
|
10523
|
-
"text": "string | null"
|
10524
|
-
},
|
10525
|
-
"default": "null",
|
10526
|
-
"description": "Defines a string value for the aria-labelledby attribute that refers to the element\nlabeling the dialog for accessibility",
|
10527
|
-
"fieldName": "ariaLabelledby"
|
10528
|
-
},
|
10529
|
-
{
|
10530
|
-
"name": "aria-describedby",
|
10531
|
-
"type": {
|
10532
|
-
"text": "string | null"
|
10533
|
-
},
|
10534
|
-
"default": "null",
|
10535
|
-
"description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
|
10536
|
-
"fieldName": "ariaDescribedBy"
|
10537
|
-
},
|
10538
|
-
{
|
10539
|
-
"name": "aria-description",
|
10540
|
-
"type": {
|
10541
|
-
"text": "string | null"
|
10542
|
-
},
|
10543
|
-
"default": "null",
|
10544
|
-
"description": "Defines a string value for the aria-description attribute that refers to the element\ndescribing the dialog for accessibility",
|
10545
|
-
"fieldName": "ariaDescription"
|
10546
|
-
},
|
10547
|
-
{
|
10548
|
-
"name": "header-text",
|
10549
|
-
"type": {
|
10550
|
-
"text": "string | undefined"
|
10551
|
-
},
|
10552
|
-
"description": "Defines a string value to display as the title of the dialog",
|
10553
|
-
"fieldName": "headerText"
|
10554
|
-
},
|
10555
|
-
{
|
10556
|
-
"name": "description-text",
|
10557
|
-
"type": {
|
10558
|
-
"text": "string | undefined"
|
10559
|
-
},
|
10560
|
-
"description": "Defines a string value to display as the under-header description of the dialog",
|
10561
|
-
"fieldName": "descriptionText"
|
10562
|
-
},
|
10563
|
-
{
|
10564
|
-
"name": "header-tag-name",
|
10565
|
-
"type": {
|
10566
|
-
"text": "string"
|
10567
|
-
},
|
10568
|
-
"description": "The html tag to be used for the header text",
|
10569
|
-
"fieldName": "headerTagName"
|
10570
|
-
},
|
10571
|
-
{
|
10572
|
-
"name": "description-tag-name",
|
10573
|
-
"type": {
|
10574
|
-
"text": "string"
|
10575
|
-
},
|
10576
|
-
"description": "The html tag to be used for the below-header description text",
|
10577
|
-
"fieldName": "descriptionTagName"
|
10578
|
-
},
|
10579
|
-
{
|
10580
|
-
"name": "role",
|
10581
|
-
"type": {
|
10582
|
-
"text": "DialogRole"
|
10583
|
-
},
|
10584
|
-
"description": "Role of the dialog",
|
10585
|
-
"default": "dialog",
|
10586
|
-
"fieldName": "role"
|
10587
|
-
},
|
10588
|
-
{
|
10589
|
-
"name": "disable-aria-haspopup",
|
10590
|
-
"type": {
|
10591
|
-
"text": "boolean"
|
10592
|
-
},
|
10593
|
-
"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.",
|
10594
|
-
"default": "false",
|
10595
|
-
"fieldName": "disableAriaHasPopup"
|
10596
|
-
},
|
10597
|
-
{
|
10598
|
-
"name": "focus-trap",
|
10599
|
-
"type": {
|
10600
|
-
"text": "boolean"
|
10601
|
-
},
|
10602
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nNOTE: this should only be disabled in rare cases! By default a Modal Dialog\nshould trap focus always.",
|
10603
|
-
"default": "true",
|
10604
|
-
"fieldName": "focusTrap"
|
10605
|
-
},
|
10606
|
-
{
|
10607
|
-
"name": "should-focus-trap-wrap",
|
10608
|
-
"type": {
|
10609
|
-
"text": "boolean"
|
10610
|
-
},
|
10611
|
-
"default": "true",
|
10612
|
-
"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 `focusTrap` is true.",
|
10613
|
-
"fieldName": "shouldFocusTrapWrap",
|
10614
|
-
"inheritedFrom": {
|
10615
|
-
"name": "FocusTrapMixin",
|
10616
|
-
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
10617
|
-
}
|
10618
|
-
}
|
10619
|
-
],
|
10620
|
-
"mixins": [
|
10621
|
-
{
|
10622
|
-
"name": "PreventScrollMixin",
|
10623
|
-
"module": "/src/utils/mixins/PreventScrollMixin"
|
10624
|
-
},
|
10625
|
-
{
|
10626
|
-
"name": "FocusTrapMixin",
|
10627
|
-
"module": "/src/utils/mixins/FocusTrapMixin"
|
10628
|
-
},
|
10629
|
-
{
|
10630
|
-
"name": "FooterMixin",
|
10631
|
-
"module": "/src/utils/mixins/FooterMixin"
|
10632
|
-
}
|
10633
|
-
],
|
10634
|
-
"superclass": {
|
10635
|
-
"name": "Component",
|
10636
|
-
"module": "/src/models"
|
10637
|
-
},
|
10638
|
-
"tagName": "mdc-dialog",
|
10639
|
-
"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 5 sizes: small, medium, large, xlarge and fullscreen. 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 * The dialog can be controlled solely through the `visible` property, no trigger element is required.\n * If a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\n * remember the previously focused element before the dialog was opened.\n *\n * The dialog is a controlled component, meaning it does not have its own state management for visibility.\n * Use the `visible` property to control the visibility of the dialog.\n * Use the `onClose` event to handle the close action of the dialog (fired when Close button is clicked\n * or Escape is pressed).\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 * @event close - (React: onClose) Dispatched when the Close Button is clicked or Escape key is pressed\n * (this does not hide the dialog)\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 header-prefix - Slot for the dialog header content. This can be used to pass custom header content.\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 * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred\n */",
|
10640
|
-
"customElement": true
|
10641
|
-
}
|
10642
|
-
],
|
10643
|
-
"exports": [
|
10644
|
-
{
|
10645
|
-
"kind": "js",
|
10646
|
-
"name": "default",
|
10647
|
-
"declaration": {
|
10648
|
-
"name": "Dialog",
|
10649
|
-
"module": "components/dialog/dialog.component.js"
|
10650
|
-
}
|
10651
|
-
}
|
10652
|
-
]
|
10653
|
-
},
|
10654
|
-
{
|
10655
|
-
"kind": "javascript-module",
|
10656
|
-
"path": "components/divider/divider.component.js",
|
10657
|
-
"declarations": [
|
10658
|
-
{
|
10659
|
-
"kind": "class",
|
10660
|
-
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
10661
|
-
"name": "Divider",
|
10662
|
-
"cssProperties": [
|
10663
|
-
{
|
10664
|
-
"description": "background color of the divider",
|
10665
|
-
"name": "--mdc-divider-background-color"
|
10666
|
-
},
|
10667
|
-
{
|
10668
|
-
"description": "width of the divider",
|
10669
|
-
"name": "--mdc-divider-width"
|
10670
|
-
},
|
10671
|
-
{
|
10672
|
-
"description": "gradient of the horizontal divider",
|
10673
|
-
"name": "--mdc-divider-horizontal-gradient"
|
10674
|
-
},
|
10675
|
-
{
|
10676
|
-
"description": "gradient of the vertical divider",
|
10677
|
-
"name": "--mdc-divider-vertical-gradient"
|
10678
|
-
},
|
10679
|
-
{
|
10680
|
-
"description": "font size of label in the text divider",
|
10681
|
-
"name": "--mdc-divider-text-size"
|
10682
|
-
},
|
10683
|
-
{
|
10684
|
-
"description": "font color of label in the text divider",
|
10685
|
-
"name": "--mdc-divider-text-color"
|
10686
|
-
},
|
10687
|
-
{
|
10688
|
-
"description": "left and right margin of label in the text divider",
|
10689
|
-
"name": "--mdc-divider-text-margin"
|
10690
|
-
},
|
10691
|
-
{
|
10692
|
-
"description": "line height of label in the text divider",
|
10693
|
-
"name": "--mdc-divider-text-line-height"
|
10694
|
-
},
|
10695
|
-
{
|
10696
|
-
"description": "background color of the grabber button in rest state",
|
10697
|
-
"name": "--mdc-divider-grabber-button-background-color-normal"
|
10698
|
-
},
|
10699
|
-
{
|
10700
|
-
"description": "background color of the grabber button in hover state",
|
10701
|
-
"name": "--mdc-divider-grabber-button-background-color-hover"
|
10702
|
-
},
|
10703
|
-
{
|
10704
|
-
"description": "background color of the grabber button in pressed state",
|
10705
|
-
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
10706
|
-
},
|
10707
|
-
{
|
10708
|
-
"description": "border color of the grabber button",
|
10709
|
-
"name": "--mdc-divider-grabber-button-border-color"
|
10594
|
+
"attribute": "close-button-aria-label"
|
10710
10595
|
},
|
10711
|
-
{
|
10712
|
-
"description": "border radius of the grabber button",
|
10713
|
-
"name": "--mdc-divider-grabber-button-border-radius"
|
10714
|
-
}
|
10715
|
-
],
|
10716
|
-
"members": [
|
10717
10596
|
{
|
10718
10597
|
"kind": "field",
|
10719
|
-
"name": "
|
10598
|
+
"name": "ariaLabel",
|
10720
10599
|
"type": {
|
10721
|
-
"text": "
|
10600
|
+
"text": "string | null"
|
10722
10601
|
},
|
10723
|
-
"
|
10724
|
-
"
|
10725
|
-
"attribute": "
|
10602
|
+
"default": "null",
|
10603
|
+
"description": "Defines a string value for the aria-label attribute when header is not used",
|
10604
|
+
"attribute": "aria-label",
|
10726
10605
|
"reflects": true
|
10727
10606
|
},
|
10728
10607
|
{
|
10729
10608
|
"kind": "field",
|
10730
|
-
"name": "
|
10609
|
+
"name": "ariaLabelledby",
|
10731
10610
|
"type": {
|
10732
|
-
"text": "
|
10611
|
+
"text": "string | null"
|
10733
10612
|
},
|
10734
|
-
"
|
10735
|
-
"
|
10736
|
-
"attribute": "
|
10613
|
+
"default": "null",
|
10614
|
+
"description": "Defines a string value for the aria-labelledby attribute that refers to the element\nlabeling the dialog for accessibility",
|
10615
|
+
"attribute": "aria-labelledby",
|
10737
10616
|
"reflects": true
|
10738
10617
|
},
|
10739
10618
|
{
|
10740
10619
|
"kind": "field",
|
10741
|
-
"name": "
|
10620
|
+
"name": "ariaDescribedBy",
|
10742
10621
|
"type": {
|
10743
|
-
"text": "
|
10622
|
+
"text": "string | null"
|
10744
10623
|
},
|
10745
|
-
"
|
10746
|
-
"
|
10747
|
-
"attribute": "
|
10624
|
+
"default": "null",
|
10625
|
+
"description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
|
10626
|
+
"attribute": "aria-describedby",
|
10748
10627
|
"reflects": true
|
10749
10628
|
},
|
10750
10629
|
{
|
10751
10630
|
"kind": "field",
|
10752
|
-
"name": "
|
10631
|
+
"name": "ariaDescription",
|
10753
10632
|
"type": {
|
10754
|
-
"text": "
|
10633
|
+
"text": "string | null"
|
10755
10634
|
},
|
10756
|
-
"
|
10757
|
-
"
|
10758
|
-
"attribute": "
|
10635
|
+
"default": "null",
|
10636
|
+
"description": "Defines a string value for the aria-description attribute that refers to the element\ndescribing the dialog for accessibility",
|
10637
|
+
"attribute": "aria-description",
|
10759
10638
|
"reflects": true
|
10760
10639
|
},
|
10761
10640
|
{
|
10762
|
-
"kind": "
|
10763
|
-
"name": "
|
10764
|
-
"
|
10765
|
-
|
10766
|
-
{
|
10767
|
-
"name": "variant",
|
10768
|
-
"type": {
|
10769
|
-
"text": "DividerVariant"
|
10770
|
-
},
|
10771
|
-
"description": "The variant to set."
|
10772
|
-
}
|
10773
|
-
],
|
10774
|
-
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
10775
|
-
},
|
10776
|
-
{
|
10777
|
-
"kind": "method",
|
10778
|
-
"name": "setOrientation",
|
10779
|
-
"privacy": "private",
|
10780
|
-
"parameters": [
|
10781
|
-
{
|
10782
|
-
"name": "orientation",
|
10783
|
-
"type": {
|
10784
|
-
"text": "DividerOrientation"
|
10785
|
-
},
|
10786
|
-
"description": "The orientation to set."
|
10787
|
-
}
|
10788
|
-
],
|
10789
|
-
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
10790
|
-
},
|
10791
|
-
{
|
10792
|
-
"kind": "method",
|
10793
|
-
"name": "ensureValidDirections",
|
10794
|
-
"privacy": "private",
|
10795
|
-
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
10796
|
-
"parameters": [
|
10797
|
-
{
|
10798
|
-
"description": "The buttonPosition to set.",
|
10799
|
-
"name": "buttonPosition"
|
10800
|
-
},
|
10801
|
-
{
|
10802
|
-
"description": "The arrowDirection to set.",
|
10803
|
-
"name": "arrowDirection"
|
10804
|
-
}
|
10805
|
-
]
|
10806
|
-
},
|
10807
|
-
{
|
10808
|
-
"kind": "method",
|
10809
|
-
"name": "setGrabberButton",
|
10810
|
-
"privacy": "private",
|
10811
|
-
"return": {
|
10812
|
-
"type": {
|
10813
|
-
"text": "void"
|
10814
|
-
}
|
10641
|
+
"kind": "field",
|
10642
|
+
"name": "headerText",
|
10643
|
+
"type": {
|
10644
|
+
"text": "string | undefined"
|
10815
10645
|
},
|
10816
|
-
"description": "
|
10646
|
+
"description": "Defines a string value to display as the title of the dialog",
|
10647
|
+
"attribute": "header-text",
|
10648
|
+
"reflects": true
|
10817
10649
|
},
|
10818
10650
|
{
|
10819
|
-
"kind": "
|
10820
|
-
"name": "
|
10821
|
-
"
|
10822
|
-
|
10823
|
-
"type": {
|
10824
|
-
"text": ""
|
10825
|
-
}
|
10651
|
+
"kind": "field",
|
10652
|
+
"name": "descriptionText",
|
10653
|
+
"type": {
|
10654
|
+
"text": "string | undefined"
|
10826
10655
|
},
|
10827
|
-
"description": "
|
10656
|
+
"description": "Defines a string value to display as the under-header description of the dialog",
|
10657
|
+
"attribute": "description-text",
|
10658
|
+
"reflects": true
|
10828
10659
|
},
|
10829
10660
|
{
|
10830
|
-
"kind": "
|
10831
|
-
"name": "
|
10832
|
-
"privacy": "private",
|
10833
|
-
"description": "Infers the type of divider based on the kind of slot present.",
|
10834
|
-
"parameters": [
|
10835
|
-
{
|
10836
|
-
"description": "default slot of divider",
|
10837
|
-
"name": "slot"
|
10838
|
-
}
|
10839
|
-
]
|
10840
|
-
}
|
10841
|
-
],
|
10842
|
-
"attributes": [
|
10843
|
-
{
|
10844
|
-
"name": "orientation",
|
10661
|
+
"kind": "field",
|
10662
|
+
"name": "headerTagName",
|
10845
10663
|
"type": {
|
10846
|
-
"text": "
|
10664
|
+
"text": "string"
|
10847
10665
|
},
|
10848
|
-
"description": "
|
10849
|
-
"
|
10850
|
-
"
|
10666
|
+
"description": "The html tag to be used for the header text",
|
10667
|
+
"attribute": "header-tag-name",
|
10668
|
+
"reflects": true
|
10851
10669
|
},
|
10852
10670
|
{
|
10853
|
-
"
|
10671
|
+
"kind": "field",
|
10672
|
+
"name": "descriptionTagName",
|
10854
10673
|
"type": {
|
10855
|
-
"text": "
|
10674
|
+
"text": "string"
|
10856
10675
|
},
|
10857
|
-
"description": "
|
10858
|
-
"
|
10859
|
-
"
|
10676
|
+
"description": "The html tag to be used for the below-header description text",
|
10677
|
+
"attribute": "description-tag-name",
|
10678
|
+
"reflects": true
|
10860
10679
|
},
|
10861
10680
|
{
|
10862
|
-
"
|
10681
|
+
"kind": "field",
|
10682
|
+
"name": "role",
|
10863
10683
|
"type": {
|
10864
|
-
"text": "
|
10684
|
+
"text": "DialogRole"
|
10865
10685
|
},
|
10866
|
-
"description": "
|
10867
|
-
"default": "
|
10868
|
-
"
|
10686
|
+
"description": "Role of the dialog",
|
10687
|
+
"default": "dialog",
|
10688
|
+
"attribute": "role",
|
10689
|
+
"reflects": true
|
10869
10690
|
},
|
10870
10691
|
{
|
10871
|
-
"
|
10692
|
+
"kind": "field",
|
10693
|
+
"name": "disableAriaHasPopup",
|
10872
10694
|
"type": {
|
10873
|
-
"text": "
|
10695
|
+
"text": "boolean"
|
10874
10696
|
},
|
10875
|
-
"description": "
|
10876
|
-
"default": "
|
10877
|
-
"
|
10878
|
-
|
10879
|
-
|
10880
|
-
"superclass": {
|
10881
|
-
"name": "Component",
|
10882
|
-
"module": "/src/models"
|
10883
|
-
},
|
10884
|
-
"tagName": "mdc-divider",
|
10885
|
-
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
10886
|
-
"customElement": true
|
10887
|
-
}
|
10888
|
-
],
|
10889
|
-
"exports": [
|
10890
|
-
{
|
10891
|
-
"kind": "js",
|
10892
|
-
"name": "default",
|
10893
|
-
"declaration": {
|
10894
|
-
"name": "Divider",
|
10895
|
-
"module": "components/divider/divider.component.js"
|
10896
|
-
}
|
10897
|
-
}
|
10898
|
-
]
|
10899
|
-
},
|
10900
|
-
{
|
10901
|
-
"kind": "javascript-module",
|
10902
|
-
"path": "components/filterchip/filterchip.component.js",
|
10903
|
-
"declarations": [
|
10904
|
-
{
|
10905
|
-
"kind": "class",
|
10906
|
-
"description": "mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\nThey can be found with lists or tables as quick filters.\n\nThis component is built on top of the mdc-chip component.",
|
10907
|
-
"name": "FilterChip",
|
10908
|
-
"members": [
|
10697
|
+
"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.",
|
10698
|
+
"default": "false",
|
10699
|
+
"attribute": "disable-aria-haspopup",
|
10700
|
+
"reflects": true
|
10701
|
+
},
|
10909
10702
|
{
|
10910
10703
|
"kind": "field",
|
10911
|
-
"name": "
|
10704
|
+
"name": "focusTrap",
|
10912
10705
|
"type": {
|
10913
10706
|
"text": "boolean"
|
10914
10707
|
},
|
10915
|
-
"
|
10916
|
-
"description": "
|
10917
|
-
"
|
10918
|
-
"
|
10708
|
+
"privacy": "protected",
|
10709
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nNOTE: this should only be disabled in rare cases! By default a Modal Dialog\nshould trap focus always.",
|
10710
|
+
"default": "true",
|
10711
|
+
"attribute": "focus-trap",
|
10712
|
+
"reflects": true,
|
10713
|
+
"inheritedFrom": {
|
10714
|
+
"name": "FocusTrapMixin",
|
10715
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
10716
|
+
}
|
10919
10717
|
},
|
10920
10718
|
{
|
10921
10719
|
"kind": "method",
|
10922
|
-
"name": "
|
10720
|
+
"name": "closeDialog",
|
10721
|
+
"privacy": "private",
|
10722
|
+
"description": "Fired when Close Button is clicked or Escape key is pressed.\nThis method dispatches the close event. Setting visible to false\nhas to be done by the consumer of the component."
|
10723
|
+
},
|
10724
|
+
{
|
10725
|
+
"kind": "method",
|
10726
|
+
"name": "isOpenUpdated",
|
10923
10727
|
"privacy": "private",
|
10924
10728
|
"parameters": [
|
10925
10729
|
{
|
10926
|
-
"name": "
|
10730
|
+
"name": "oldValue",
|
10731
|
+
"type": {
|
10732
|
+
"text": "boolean | undefined"
|
10733
|
+
},
|
10734
|
+
"description": "The old value of the visible property."
|
10735
|
+
},
|
10736
|
+
{
|
10737
|
+
"name": "newValue",
|
10927
10738
|
"type": {
|
10928
10739
|
"text": "boolean"
|
10929
10740
|
},
|
10930
|
-
"description": "The
|
10741
|
+
"description": "The new value of the visible property."
|
10931
10742
|
}
|
10932
10743
|
],
|
10933
|
-
"description": "
|
10744
|
+
"description": "Handles the dialog visibility change.\nHandles the exit event to close the dialog."
|
10745
|
+
},
|
10746
|
+
{
|
10747
|
+
"kind": "field",
|
10748
|
+
"name": "preventScroll",
|
10749
|
+
"type": {
|
10750
|
+
"text": "boolean"
|
10751
|
+
},
|
10752
|
+
"privacy": "protected",
|
10753
|
+
"description": "Prevent outside scrolling when element is shown.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
10754
|
+
"inheritedFrom": {
|
10755
|
+
"name": "PreventScrollMixin",
|
10756
|
+
"module": "utils/mixins/PreventScrollMixin.js"
|
10757
|
+
}
|
10934
10758
|
},
|
10935
10759
|
{
|
10936
10760
|
"kind": "method",
|
10937
|
-
"name": "
|
10761
|
+
"name": "activatePreventScroll",
|
10938
10762
|
"privacy": "protected",
|
10939
10763
|
"inheritedFrom": {
|
10940
|
-
"name": "
|
10941
|
-
"module": "
|
10942
|
-
},
|
10943
|
-
"return": {
|
10944
|
-
"type": {
|
10945
|
-
"text": "void"
|
10946
|
-
}
|
10764
|
+
"name": "PreventScrollMixin",
|
10765
|
+
"module": "utils/mixins/PreventScrollMixin.js"
|
10947
10766
|
}
|
10948
10767
|
},
|
10949
10768
|
{
|
10950
|
-
"kind": "
|
10951
|
-
"name": "
|
10952
|
-
"
|
10953
|
-
"text": "IconNames | undefined"
|
10954
|
-
},
|
10955
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
10956
|
-
"attribute": "icon-name",
|
10769
|
+
"kind": "method",
|
10770
|
+
"name": "deactivatePreventScroll",
|
10771
|
+
"privacy": "protected",
|
10957
10772
|
"inheritedFrom": {
|
10958
|
-
"name": "
|
10959
|
-
"module": "utils/mixins/
|
10773
|
+
"name": "PreventScrollMixin",
|
10774
|
+
"module": "utils/mixins/PreventScrollMixin.js"
|
10960
10775
|
}
|
10961
10776
|
},
|
10962
10777
|
{
|
10963
10778
|
"kind": "field",
|
10964
|
-
"name": "
|
10779
|
+
"name": "shouldFocusTrapWrap",
|
10965
10780
|
"type": {
|
10966
|
-
"text": "
|
10781
|
+
"text": "boolean"
|
10967
10782
|
},
|
10968
|
-
"
|
10969
|
-
"
|
10970
|
-
"attribute": "
|
10783
|
+
"default": "true",
|
10784
|
+
"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 `focusTrap` is true.",
|
10785
|
+
"attribute": "should-focus-trap-wrap",
|
10971
10786
|
"reflects": true,
|
10972
10787
|
"inheritedFrom": {
|
10973
|
-
"name": "
|
10974
|
-
"module": "
|
10788
|
+
"name": "FocusTrapMixin",
|
10789
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
10975
10790
|
}
|
10976
10791
|
},
|
10977
10792
|
{
|
10978
|
-
"kind": "
|
10979
|
-
"name": "
|
10980
|
-
"
|
10981
|
-
|
10982
|
-
|
10983
|
-
|
10984
|
-
|
10985
|
-
|
10793
|
+
"kind": "method",
|
10794
|
+
"name": "setIsFocusTrapActivated",
|
10795
|
+
"privacy": "private",
|
10796
|
+
"parameters": [
|
10797
|
+
{
|
10798
|
+
"name": "isActivated",
|
10799
|
+
"type": {
|
10800
|
+
"text": "boolean"
|
10801
|
+
}
|
10802
|
+
}
|
10803
|
+
],
|
10986
10804
|
"inheritedFrom": {
|
10987
|
-
"name": "
|
10988
|
-
"module": "
|
10805
|
+
"name": "FocusTrapMixin",
|
10806
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
10989
10807
|
}
|
10990
10808
|
},
|
10991
10809
|
{
|
10992
10810
|
"kind": "method",
|
10993
|
-
"name": "
|
10994
|
-
"privacy": "
|
10995
|
-
"description": "
|
10996
|
-
"return": {
|
10997
|
-
"type": {
|
10998
|
-
"text": ""
|
10999
|
-
}
|
11000
|
-
},
|
10811
|
+
"name": "activateFocusTrap",
|
10812
|
+
"privacy": "public",
|
10813
|
+
"description": "Activate the focus trap",
|
11001
10814
|
"inheritedFrom": {
|
11002
|
-
"name": "
|
11003
|
-
"module": "
|
10815
|
+
"name": "FocusTrapMixin",
|
10816
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11004
10817
|
}
|
11005
10818
|
},
|
11006
10819
|
{
|
11007
|
-
"kind": "
|
11008
|
-
"name": "
|
11009
|
-
"
|
11010
|
-
|
11011
|
-
},
|
11012
|
-
"default": "false",
|
11013
|
-
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
11014
|
-
"attribute": "autofocus",
|
11015
|
-
"reflects": true,
|
10820
|
+
"kind": "method",
|
10821
|
+
"name": "deactivateFocusTrap",
|
10822
|
+
"privacy": "public",
|
10823
|
+
"description": "Deactivate the focus trap.",
|
11016
10824
|
"inheritedFrom": {
|
11017
|
-
"name": "
|
11018
|
-
"module": "
|
10825
|
+
"name": "FocusTrapMixin",
|
10826
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11019
10827
|
}
|
11020
10828
|
},
|
11021
10829
|
{
|
11022
|
-
"kind": "
|
11023
|
-
"name": "
|
11024
|
-
"
|
11025
|
-
|
10830
|
+
"kind": "method",
|
10831
|
+
"name": "hasNoClientRects",
|
10832
|
+
"privacy": "private",
|
10833
|
+
"parameters": [
|
10834
|
+
{
|
10835
|
+
"name": "element",
|
10836
|
+
"type": {
|
10837
|
+
"text": "HTMLElement"
|
10838
|
+
},
|
10839
|
+
"description": "The element to check."
|
10840
|
+
}
|
10841
|
+
],
|
10842
|
+
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
10843
|
+
"return": {
|
10844
|
+
"type": {
|
10845
|
+
"text": ""
|
10846
|
+
}
|
11026
10847
|
},
|
11027
|
-
"default": "0",
|
11028
|
-
"description": "This property specifies the tab order of the element.",
|
11029
|
-
"attribute": "tabIndex",
|
11030
|
-
"reflects": true,
|
11031
10848
|
"inheritedFrom": {
|
11032
|
-
"name": "
|
11033
|
-
"module": "
|
10849
|
+
"name": "FocusTrapMixin",
|
10850
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11034
10851
|
}
|
11035
10852
|
},
|
11036
10853
|
{
|
11037
|
-
"kind": "
|
11038
|
-
"name": "
|
11039
|
-
"
|
11040
|
-
|
10854
|
+
"kind": "method",
|
10855
|
+
"name": "hasZeroDimensions",
|
10856
|
+
"privacy": "private",
|
10857
|
+
"parameters": [
|
10858
|
+
{
|
10859
|
+
"name": "element",
|
10860
|
+
"type": {
|
10861
|
+
"text": "HTMLElement"
|
10862
|
+
},
|
10863
|
+
"description": "The element to check."
|
10864
|
+
}
|
10865
|
+
],
|
10866
|
+
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
10867
|
+
"return": {
|
10868
|
+
"type": {
|
10869
|
+
"text": ""
|
10870
|
+
}
|
11041
10871
|
},
|
11042
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
11043
|
-
"default": "undefined",
|
11044
|
-
"attribute": "disabled",
|
11045
|
-
"reflects": true,
|
11046
10872
|
"inheritedFrom": {
|
11047
|
-
"name": "
|
11048
|
-
"module": "
|
10873
|
+
"name": "FocusTrapMixin",
|
10874
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11049
10875
|
}
|
11050
10876
|
},
|
11051
10877
|
{
|
11052
|
-
"kind": "
|
11053
|
-
"name": "
|
11054
|
-
"
|
11055
|
-
|
10878
|
+
"kind": "method",
|
10879
|
+
"name": "isNotVisible",
|
10880
|
+
"privacy": "private",
|
10881
|
+
"parameters": [
|
10882
|
+
{
|
10883
|
+
"name": "element",
|
10884
|
+
"type": {
|
10885
|
+
"text": "HTMLElement"
|
10886
|
+
},
|
10887
|
+
"description": "The element to check."
|
10888
|
+
}
|
10889
|
+
],
|
10890
|
+
"description": "Determines if the element is not visible in the DOM.",
|
10891
|
+
"return": {
|
10892
|
+
"type": {
|
10893
|
+
"text": ""
|
10894
|
+
}
|
11056
10895
|
},
|
11057
|
-
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
11058
|
-
"default": "undefined",
|
11059
|
-
"attribute": "active",
|
11060
|
-
"reflects": true,
|
11061
10896
|
"inheritedFrom": {
|
11062
|
-
"name": "
|
11063
|
-
"module": "
|
10897
|
+
"name": "FocusTrapMixin",
|
10898
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11064
10899
|
}
|
11065
10900
|
},
|
11066
10901
|
{
|
11067
|
-
"kind": "
|
11068
|
-
"name": "
|
11069
|
-
"
|
11070
|
-
|
10902
|
+
"kind": "method",
|
10903
|
+
"name": "hasHiddenStyle",
|
10904
|
+
"privacy": "private",
|
10905
|
+
"parameters": [
|
10906
|
+
{
|
10907
|
+
"name": "element",
|
10908
|
+
"type": {
|
10909
|
+
"text": "HTMLElement"
|
10910
|
+
},
|
10911
|
+
"description": "The element to check."
|
10912
|
+
}
|
10913
|
+
],
|
10914
|
+
"description": "Checks if the element has inline styles that make it hidden.",
|
10915
|
+
"return": {
|
10916
|
+
"type": {
|
10917
|
+
"text": ""
|
10918
|
+
}
|
11071
10919
|
},
|
11072
|
-
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
11073
|
-
"default": "undefined",
|
11074
|
-
"attribute": "soft-disabled",
|
11075
|
-
"reflects": true,
|
11076
10920
|
"inheritedFrom": {
|
11077
|
-
"name": "
|
11078
|
-
"module": "
|
10921
|
+
"name": "FocusTrapMixin",
|
10922
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11079
10923
|
}
|
11080
10924
|
},
|
11081
10925
|
{
|
11082
|
-
"kind": "
|
11083
|
-
"name": "
|
11084
|
-
"
|
11085
|
-
|
10926
|
+
"kind": "method",
|
10927
|
+
"name": "hasComputedHidden",
|
10928
|
+
"privacy": "private",
|
10929
|
+
"parameters": [
|
10930
|
+
{
|
10931
|
+
"name": "element",
|
10932
|
+
"type": {
|
10933
|
+
"text": "HTMLElement"
|
10934
|
+
},
|
10935
|
+
"description": "The element to check."
|
10936
|
+
}
|
10937
|
+
],
|
10938
|
+
"description": "Checks if the element is hidden by a computed style.",
|
10939
|
+
"return": {
|
10940
|
+
"type": {
|
10941
|
+
"text": ""
|
10942
|
+
}
|
11086
10943
|
},
|
11087
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
11088
|
-
"default": "32",
|
11089
|
-
"attribute": "size",
|
11090
|
-
"reflects": true,
|
11091
10944
|
"inheritedFrom": {
|
11092
|
-
"name": "
|
11093
|
-
"module": "
|
10945
|
+
"name": "FocusTrapMixin",
|
10946
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11094
10947
|
}
|
11095
10948
|
},
|
11096
10949
|
{
|
11097
|
-
"kind": "
|
11098
|
-
"name": "
|
11099
|
-
"
|
11100
|
-
"
|
11101
|
-
|
11102
|
-
|
10950
|
+
"kind": "method",
|
10951
|
+
"name": "isHidden",
|
10952
|
+
"privacy": "private",
|
10953
|
+
"parameters": [
|
10954
|
+
{
|
10955
|
+
"name": "element",
|
10956
|
+
"type": {
|
10957
|
+
"text": "HTMLElement"
|
10958
|
+
},
|
10959
|
+
"description": "The element to check."
|
10960
|
+
}
|
10961
|
+
],
|
10962
|
+
"description": "Checks if the element is hidden from the user.",
|
10963
|
+
"return": {
|
10964
|
+
"type": {
|
10965
|
+
"text": ""
|
10966
|
+
}
|
10967
|
+
},
|
11103
10968
|
"inheritedFrom": {
|
11104
|
-
"name": "
|
11105
|
-
"module": "
|
10969
|
+
"name": "FocusTrapMixin",
|
10970
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11106
10971
|
}
|
11107
10972
|
},
|
11108
10973
|
{
|
11109
|
-
"kind": "
|
11110
|
-
"name": "
|
11111
|
-
"
|
11112
|
-
|
10974
|
+
"kind": "method",
|
10975
|
+
"name": "isDisabled",
|
10976
|
+
"privacy": "private",
|
10977
|
+
"parameters": [
|
10978
|
+
{
|
10979
|
+
"name": "element",
|
10980
|
+
"type": {
|
10981
|
+
"text": "any"
|
10982
|
+
},
|
10983
|
+
"description": "The element to check."
|
10984
|
+
}
|
10985
|
+
],
|
10986
|
+
"description": "Checks if the element is disabled.",
|
10987
|
+
"return": {
|
10988
|
+
"type": {
|
10989
|
+
"text": ""
|
10990
|
+
}
|
11113
10991
|
},
|
11114
|
-
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
11115
|
-
"default": "'aria-pressed' (when)",
|
11116
|
-
"attribute": "ariaStateKey",
|
11117
|
-
"reflects": true,
|
11118
10992
|
"inheritedFrom": {
|
11119
|
-
"name": "
|
11120
|
-
"module": "
|
10993
|
+
"name": "FocusTrapMixin",
|
10994
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11121
10995
|
}
|
11122
10996
|
},
|
11123
10997
|
{
|
11124
|
-
"kind": "
|
11125
|
-
"name": "
|
11126
|
-
"
|
11127
|
-
|
10998
|
+
"kind": "method",
|
10999
|
+
"name": "isNotTabbable",
|
11000
|
+
"privacy": "private",
|
11001
|
+
"parameters": [
|
11002
|
+
{
|
11003
|
+
"name": "element",
|
11004
|
+
"type": {
|
11005
|
+
"text": "HTMLElement"
|
11006
|
+
},
|
11007
|
+
"description": "The element to check."
|
11008
|
+
}
|
11009
|
+
],
|
11010
|
+
"description": "Checks if the element is not tabbable.",
|
11011
|
+
"return": {
|
11012
|
+
"type": {
|
11013
|
+
"text": ""
|
11014
|
+
}
|
11128
11015
|
},
|
11129
|
-
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
11130
|
-
"default": "button",
|
11131
|
-
"attribute": "type",
|
11132
|
-
"reflects": true,
|
11133
11016
|
"inheritedFrom": {
|
11134
|
-
"name": "
|
11135
|
-
"module": "
|
11017
|
+
"name": "FocusTrapMixin",
|
11018
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11136
11019
|
}
|
11137
11020
|
},
|
11138
11021
|
{
|
11139
11022
|
"kind": "method",
|
11140
|
-
"name": "
|
11141
|
-
"privacy": "
|
11023
|
+
"name": "isInteractiveElement",
|
11024
|
+
"privacy": "private",
|
11025
|
+
"return": {
|
11026
|
+
"type": {
|
11027
|
+
"text": ""
|
11028
|
+
}
|
11029
|
+
},
|
11142
11030
|
"parameters": [
|
11143
11031
|
{
|
11144
11032
|
"name": "element",
|
11145
11033
|
"type": {
|
11146
11034
|
"text": "HTMLElement"
|
11147
11035
|
},
|
11148
|
-
"description": "The
|
11149
|
-
}
|
11036
|
+
"description": "The element to check."
|
11037
|
+
}
|
11038
|
+
],
|
11039
|
+
"description": "Checks if the element is interactive.",
|
11040
|
+
"inheritedFrom": {
|
11041
|
+
"name": "FocusTrapMixin",
|
11042
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11043
|
+
}
|
11044
|
+
},
|
11045
|
+
{
|
11046
|
+
"kind": "method",
|
11047
|
+
"name": "isFocusable",
|
11048
|
+
"privacy": "private",
|
11049
|
+
"parameters": [
|
11150
11050
|
{
|
11151
|
-
"name": "
|
11152
|
-
"optional": true,
|
11051
|
+
"name": "element",
|
11153
11052
|
"type": {
|
11154
|
-
"text": "
|
11053
|
+
"text": "HTMLElement"
|
11155
11054
|
},
|
11156
|
-
"description": "The
|
11055
|
+
"description": "The element to check."
|
11157
11056
|
}
|
11158
11057
|
],
|
11159
|
-
"description": "
|
11058
|
+
"description": "Checks if the element is focusable.",
|
11059
|
+
"return": {
|
11060
|
+
"type": {
|
11061
|
+
"text": ""
|
11062
|
+
}
|
11063
|
+
},
|
11160
11064
|
"inheritedFrom": {
|
11161
|
-
"name": "
|
11162
|
-
"module": "
|
11065
|
+
"name": "FocusTrapMixin",
|
11066
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11163
11067
|
}
|
11164
11068
|
},
|
11165
11069
|
{
|
11166
11070
|
"kind": "method",
|
11167
|
-
"name": "
|
11071
|
+
"name": "findFocusable",
|
11168
11072
|
"privacy": "private",
|
11073
|
+
"return": {
|
11074
|
+
"type": {
|
11075
|
+
"text": ""
|
11076
|
+
}
|
11077
|
+
},
|
11169
11078
|
"parameters": [
|
11170
11079
|
{
|
11171
|
-
"name": "
|
11080
|
+
"name": "root",
|
11172
11081
|
"type": {
|
11173
|
-
"text": "HTMLElement"
|
11082
|
+
"text": "ShadowRoot | HTMLElement"
|
11174
11083
|
},
|
11175
|
-
"description": "The
|
11084
|
+
"description": "The root element to search for focusable elements."
|
11176
11085
|
},
|
11177
11086
|
{
|
11178
|
-
"name": "
|
11179
|
-
"
|
11087
|
+
"name": "matches",
|
11088
|
+
"default": "new Set()",
|
11180
11089
|
"type": {
|
11181
|
-
"text": "
|
11090
|
+
"text": "Set<HTMLElement>"
|
11182
11091
|
},
|
11183
|
-
"description": "The
|
11092
|
+
"description": "The set of focusable elements."
|
11184
11093
|
}
|
11185
11094
|
],
|
11186
|
-
"description": "
|
11095
|
+
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
11187
11096
|
"inheritedFrom": {
|
11188
|
-
"name": "
|
11189
|
-
"module": "
|
11097
|
+
"name": "FocusTrapMixin",
|
11098
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11190
11099
|
}
|
11191
11100
|
},
|
11192
11101
|
{
|
11193
11102
|
"kind": "method",
|
11194
|
-
"name": "
|
11103
|
+
"name": "setFocusableElements",
|
11195
11104
|
"privacy": "private",
|
11105
|
+
"description": "Updates the list of focusable elements within the component's shadow root.",
|
11106
|
+
"inheritedFrom": {
|
11107
|
+
"name": "FocusTrapMixin",
|
11108
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11109
|
+
}
|
11110
|
+
},
|
11111
|
+
{
|
11112
|
+
"kind": "method",
|
11113
|
+
"name": "setInitialFocus",
|
11114
|
+
"privacy": "public",
|
11196
11115
|
"parameters": [
|
11197
11116
|
{
|
11198
|
-
"name": "
|
11117
|
+
"name": "elementIndexToReceiveFocus",
|
11118
|
+
"default": "0",
|
11199
11119
|
"type": {
|
11200
|
-
"text": "
|
11120
|
+
"text": "number"
|
11201
11121
|
},
|
11202
|
-
"description": "The
|
11122
|
+
"description": "The index of the preferable element to focus."
|
11123
|
+
}
|
11124
|
+
],
|
11125
|
+
"description": "Sets the initial focus within the container.",
|
11126
|
+
"inheritedFrom": {
|
11127
|
+
"name": "FocusTrapMixin",
|
11128
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11129
|
+
}
|
11130
|
+
},
|
11131
|
+
{
|
11132
|
+
"kind": "method",
|
11133
|
+
"name": "calculateNextIndex",
|
11134
|
+
"privacy": "private",
|
11135
|
+
"parameters": [
|
11136
|
+
{
|
11137
|
+
"name": "currentIndex",
|
11138
|
+
"type": {
|
11139
|
+
"text": "number"
|
11140
|
+
},
|
11141
|
+
"description": "The current index."
|
11203
11142
|
},
|
11204
11143
|
{
|
11205
|
-
"name": "
|
11144
|
+
"name": "step",
|
11206
11145
|
"type": {
|
11207
|
-
"text": "
|
11146
|
+
"text": "number"
|
11208
11147
|
},
|
11209
|
-
"description": "The
|
11148
|
+
"description": "The step to calculate the next index."
|
11210
11149
|
}
|
11211
11150
|
],
|
11212
|
-
"description": "
|
11151
|
+
"description": "Calculates the next index for the focus trap.",
|
11152
|
+
"return": {
|
11153
|
+
"type": {
|
11154
|
+
"text": ""
|
11155
|
+
}
|
11156
|
+
},
|
11213
11157
|
"inheritedFrom": {
|
11214
|
-
"name": "
|
11215
|
-
"module": "
|
11158
|
+
"name": "FocusTrapMixin",
|
11159
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11216
11160
|
}
|
11217
11161
|
},
|
11218
11162
|
{
|
11219
11163
|
"kind": "method",
|
11220
|
-
"name": "
|
11164
|
+
"name": "getDeepActiveElement",
|
11221
11165
|
"privacy": "private",
|
11166
|
+
"description": "Returns the deepest active element in the shadow DOM.",
|
11167
|
+
"return": {
|
11168
|
+
"type": {
|
11169
|
+
"text": ""
|
11170
|
+
}
|
11171
|
+
},
|
11222
11172
|
"inheritedFrom": {
|
11223
|
-
"name": "
|
11224
|
-
"module": "
|
11173
|
+
"name": "FocusTrapMixin",
|
11174
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11225
11175
|
}
|
11226
11176
|
},
|
11227
11177
|
{
|
11228
11178
|
"kind": "method",
|
11229
|
-
"name": "
|
11179
|
+
"name": "findElement",
|
11230
11180
|
"privacy": "private",
|
11231
|
-
"
|
11181
|
+
"parameters": [
|
11182
|
+
{
|
11183
|
+
"name": "activeElement",
|
11184
|
+
"type": {
|
11185
|
+
"text": "HTMLElement"
|
11186
|
+
},
|
11187
|
+
"description": "The active element."
|
11188
|
+
}
|
11189
|
+
],
|
11190
|
+
"description": "Finds the index of the active element within the focusable elements.",
|
11191
|
+
"return": {
|
11192
|
+
"type": {
|
11193
|
+
"text": ""
|
11194
|
+
}
|
11195
|
+
},
|
11232
11196
|
"inheritedFrom": {
|
11233
|
-
"name": "
|
11234
|
-
"module": "
|
11197
|
+
"name": "FocusTrapMixin",
|
11198
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11199
|
+
}
|
11200
|
+
},
|
11201
|
+
{
|
11202
|
+
"kind": "method",
|
11203
|
+
"name": "isEqualFocusNode",
|
11204
|
+
"privacy": "private",
|
11205
|
+
"parameters": [
|
11206
|
+
{
|
11207
|
+
"name": "activeElement",
|
11208
|
+
"type": {
|
11209
|
+
"text": "HTMLElement"
|
11210
|
+
},
|
11211
|
+
"description": "The active element."
|
11212
|
+
},
|
11213
|
+
{
|
11214
|
+
"name": "element",
|
11215
|
+
"type": {
|
11216
|
+
"text": "HTMLElement"
|
11217
|
+
},
|
11218
|
+
"description": "The element to compare."
|
11219
|
+
}
|
11220
|
+
],
|
11221
|
+
"description": "Checks if the active element is equal to the given element.",
|
11222
|
+
"return": {
|
11223
|
+
"type": {
|
11224
|
+
"text": ""
|
11225
|
+
}
|
11226
|
+
},
|
11227
|
+
"inheritedFrom": {
|
11228
|
+
"name": "FocusTrapMixin",
|
11229
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11235
11230
|
}
|
11236
11231
|
},
|
11237
11232
|
{
|
11238
11233
|
"kind": "method",
|
11239
|
-
"name": "
|
11234
|
+
"name": "trapFocus",
|
11240
11235
|
"privacy": "private",
|
11241
11236
|
"parameters": [
|
11242
11237
|
{
|
11243
11238
|
"name": "event",
|
11244
11239
|
"type": {
|
11245
11240
|
"text": "KeyboardEvent"
|
11246
|
-
}
|
11247
|
-
|
11241
|
+
}
|
11242
|
+
},
|
11243
|
+
{
|
11244
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
11245
|
+
"name": "direction"
|
11248
11246
|
}
|
11249
11247
|
],
|
11250
|
-
"description": "
|
11248
|
+
"description": "Traps focus within the container.",
|
11251
11249
|
"inheritedFrom": {
|
11252
|
-
"name": "
|
11253
|
-
"module": "
|
11250
|
+
"name": "FocusTrapMixin",
|
11251
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11254
11252
|
}
|
11255
11253
|
},
|
11256
11254
|
{
|
11257
11255
|
"kind": "method",
|
11258
|
-
"name": "
|
11256
|
+
"name": "handleTabKeydown",
|
11259
11257
|
"privacy": "private",
|
11260
11258
|
"parameters": [
|
11261
11259
|
{
|
@@ -11266,247 +11264,249 @@
|
|
11266
11264
|
"description": "The keyboard event."
|
11267
11265
|
}
|
11268
11266
|
],
|
11269
|
-
"description": "
|
11267
|
+
"description": "Traps focus within the container.",
|
11270
11268
|
"inheritedFrom": {
|
11271
|
-
"name": "
|
11272
|
-
"module": "
|
11269
|
+
"name": "FocusTrapMixin",
|
11270
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
11271
|
+
}
|
11272
|
+
},
|
11273
|
+
{
|
11274
|
+
"kind": "method",
|
11275
|
+
"name": "renderFooter",
|
11276
|
+
"privacy": "protected",
|
11277
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
11278
|
+
"return": {
|
11279
|
+
"type": {
|
11280
|
+
"text": ""
|
11281
|
+
}
|
11282
|
+
},
|
11283
|
+
"inheritedFrom": {
|
11284
|
+
"name": "FooterMixin",
|
11285
|
+
"module": "utils/mixins/FooterMixin.js"
|
11273
11286
|
}
|
11274
11287
|
}
|
11275
11288
|
],
|
11289
|
+
"events": [
|
11290
|
+
{
|
11291
|
+
"description": "(React: onShown) Dispatched when the dialog is shown",
|
11292
|
+
"name": "shown",
|
11293
|
+
"reactName": "onShown"
|
11294
|
+
},
|
11295
|
+
{
|
11296
|
+
"description": "(React: onHidden) Dispatched when the dialog is hidden",
|
11297
|
+
"name": "hidden",
|
11298
|
+
"reactName": "onHidden"
|
11299
|
+
},
|
11300
|
+
{
|
11301
|
+
"description": "(React: onCreated) Dispatched when the dialog is created (added to the DOM)",
|
11302
|
+
"name": "created",
|
11303
|
+
"reactName": "onCreated"
|
11304
|
+
},
|
11305
|
+
{
|
11306
|
+
"description": "(React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)",
|
11307
|
+
"name": "destroyed",
|
11308
|
+
"reactName": "onDestroyed"
|
11309
|
+
},
|
11310
|
+
{
|
11311
|
+
"description": "(React: onClose) Dispatched when the Close Button is clicked or Escape key is pressed (this does not hide the dialog)",
|
11312
|
+
"name": "close",
|
11313
|
+
"reactName": "onClose"
|
11314
|
+
}
|
11315
|
+
],
|
11276
11316
|
"attributes": [
|
11277
11317
|
{
|
11278
|
-
"name": "
|
11318
|
+
"name": "id",
|
11319
|
+
"type": {
|
11320
|
+
"text": "string"
|
11321
|
+
},
|
11322
|
+
"default": "''",
|
11323
|
+
"description": "The unique ID of the dialog",
|
11324
|
+
"fieldName": "id"
|
11325
|
+
},
|
11326
|
+
{
|
11327
|
+
"name": "triggerId",
|
11328
|
+
"type": {
|
11329
|
+
"text": "string | undefined"
|
11330
|
+
},
|
11331
|
+
"description": "The ID of the element that triggers the dialog",
|
11332
|
+
"default": "undefined",
|
11333
|
+
"fieldName": "triggerId"
|
11334
|
+
},
|
11335
|
+
{
|
11336
|
+
"name": "visible",
|
11279
11337
|
"type": {
|
11280
11338
|
"text": "boolean"
|
11281
11339
|
},
|
11340
|
+
"description": "The visibility of the dialog\n\nDialog is a controlled component, visible is the only property that controls the visibility of the dialog.",
|
11282
11341
|
"default": "false",
|
11283
|
-
"
|
11284
|
-
"fieldName": "selected"
|
11342
|
+
"fieldName": "visible"
|
11285
11343
|
},
|
11286
11344
|
{
|
11287
|
-
"name": "
|
11345
|
+
"name": "z-index",
|
11288
11346
|
"type": {
|
11289
|
-
"text": "
|
11347
|
+
"text": "number"
|
11290
11348
|
},
|
11291
|
-
"description": "
|
11292
|
-
"
|
11293
|
-
"
|
11294
|
-
"name": "IconNameMixin",
|
11295
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
11296
|
-
}
|
11349
|
+
"description": "The z-index of the dialog\n\nThe backdrop will have z-index of `zIndex - 1`",
|
11350
|
+
"default": "1000",
|
11351
|
+
"fieldName": "zIndex"
|
11297
11352
|
},
|
11298
11353
|
{
|
11299
|
-
"name": "
|
11354
|
+
"name": "size",
|
11300
11355
|
"type": {
|
11301
|
-
"text": "
|
11356
|
+
"text": "DialogSize"
|
11302
11357
|
},
|
11303
|
-
"description": "The
|
11358
|
+
"description": "The size of the dialog, can be 'small' (432px width), 'medium' (656px width), 'large' (992px width), 'xlarge' (90% width) or 'fullscreen' (100% width).",
|
11359
|
+
"default": "small",
|
11360
|
+
"fieldName": "size"
|
11361
|
+
},
|
11362
|
+
{
|
11363
|
+
"name": "variant",
|
11364
|
+
"type": {
|
11365
|
+
"text": "DialogVariant"
|
11366
|
+
},
|
11367
|
+
"description": "The variant of the dialog, can be 'default' or 'promotional'",
|
11304
11368
|
"default": "default",
|
11305
|
-
"fieldName": "
|
11306
|
-
"inheritedFrom": {
|
11307
|
-
"name": "Chip",
|
11308
|
-
"module": "src/components/chip/chip.component.ts"
|
11309
|
-
}
|
11369
|
+
"fieldName": "variant"
|
11310
11370
|
},
|
11311
11371
|
{
|
11312
|
-
"name": "label",
|
11372
|
+
"name": "close-button-aria-label",
|
11313
11373
|
"type": {
|
11314
|
-
"text": "string"
|
11374
|
+
"text": "string | null"
|
11315
11375
|
},
|
11316
|
-
"default": "
|
11317
|
-
"description": "
|
11318
|
-
"fieldName": "
|
11319
|
-
"inheritedFrom": {
|
11320
|
-
"name": "Chip",
|
11321
|
-
"module": "src/components/chip/chip.component.ts"
|
11322
|
-
}
|
11376
|
+
"default": "null",
|
11377
|
+
"description": "Defines a string value for the aria-label attribute for close button accessibility",
|
11378
|
+
"fieldName": "closeButtonAriaLabel"
|
11323
11379
|
},
|
11324
11380
|
{
|
11325
|
-
"name": "
|
11381
|
+
"name": "aria-label",
|
11326
11382
|
"type": {
|
11327
|
-
"text": "
|
11383
|
+
"text": "string | null"
|
11328
11384
|
},
|
11329
|
-
"default": "
|
11330
|
-
"description": "
|
11331
|
-
"fieldName": "
|
11332
|
-
"inheritedFrom": {
|
11333
|
-
"name": "Buttonsimple",
|
11334
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11335
|
-
}
|
11385
|
+
"default": "null",
|
11386
|
+
"description": "Defines a string value for the aria-label attribute when header is not used",
|
11387
|
+
"fieldName": "ariaLabel"
|
11336
11388
|
},
|
11337
11389
|
{
|
11338
|
-
"name": "
|
11390
|
+
"name": "aria-labelledby",
|
11339
11391
|
"type": {
|
11340
|
-
"text": "
|
11392
|
+
"text": "string | null"
|
11341
11393
|
},
|
11342
|
-
"default": "
|
11343
|
-
"description": "
|
11344
|
-
"fieldName": "
|
11345
|
-
"inheritedFrom": {
|
11346
|
-
"name": "Buttonsimple",
|
11347
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11348
|
-
}
|
11394
|
+
"default": "null",
|
11395
|
+
"description": "Defines a string value for the aria-labelledby attribute that refers to the element\nlabeling the dialog for accessibility",
|
11396
|
+
"fieldName": "ariaLabelledby"
|
11349
11397
|
},
|
11350
11398
|
{
|
11351
|
-
"name": "
|
11399
|
+
"name": "aria-describedby",
|
11352
11400
|
"type": {
|
11353
|
-
"text": "
|
11401
|
+
"text": "string | null"
|
11354
11402
|
},
|
11355
|
-
"
|
11356
|
-
"
|
11357
|
-
"fieldName": "
|
11358
|
-
"inheritedFrom": {
|
11359
|
-
"name": "Buttonsimple",
|
11360
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11361
|
-
}
|
11403
|
+
"default": "null",
|
11404
|
+
"description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
|
11405
|
+
"fieldName": "ariaDescribedBy"
|
11362
11406
|
},
|
11363
11407
|
{
|
11364
|
-
"name": "
|
11408
|
+
"name": "aria-description",
|
11365
11409
|
"type": {
|
11366
|
-
"text": "
|
11410
|
+
"text": "string | null"
|
11367
11411
|
},
|
11368
|
-
"
|
11369
|
-
"
|
11370
|
-
"fieldName": "
|
11371
|
-
"inheritedFrom": {
|
11372
|
-
"name": "Buttonsimple",
|
11373
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11374
|
-
}
|
11412
|
+
"default": "null",
|
11413
|
+
"description": "Defines a string value for the aria-description attribute that refers to the element\ndescribing the dialog for accessibility",
|
11414
|
+
"fieldName": "ariaDescription"
|
11375
11415
|
},
|
11376
11416
|
{
|
11377
|
-
"name": "
|
11417
|
+
"name": "header-text",
|
11378
11418
|
"type": {
|
11379
|
-
"text": "
|
11419
|
+
"text": "string | undefined"
|
11380
11420
|
},
|
11381
|
-
"description": "
|
11382
|
-
"
|
11383
|
-
"fieldName": "softDisabled",
|
11384
|
-
"inheritedFrom": {
|
11385
|
-
"name": "Buttonsimple",
|
11386
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11387
|
-
}
|
11421
|
+
"description": "Defines a string value to display as the title of the dialog",
|
11422
|
+
"fieldName": "headerText"
|
11388
11423
|
},
|
11389
11424
|
{
|
11390
|
-
"name": "
|
11425
|
+
"name": "description-text",
|
11391
11426
|
"type": {
|
11392
|
-
"text": "
|
11427
|
+
"text": "string | undefined"
|
11393
11428
|
},
|
11394
|
-
"description": "
|
11395
|
-
"
|
11396
|
-
|
11397
|
-
|
11398
|
-
|
11399
|
-
|
11400
|
-
|
11429
|
+
"description": "Defines a string value to display as the under-header description of the dialog",
|
11430
|
+
"fieldName": "descriptionText"
|
11431
|
+
},
|
11432
|
+
{
|
11433
|
+
"name": "header-tag-name",
|
11434
|
+
"type": {
|
11435
|
+
"text": "string"
|
11436
|
+
},
|
11437
|
+
"description": "The html tag to be used for the header text",
|
11438
|
+
"fieldName": "headerTagName"
|
11439
|
+
},
|
11440
|
+
{
|
11441
|
+
"name": "description-tag-name",
|
11442
|
+
"type": {
|
11443
|
+
"text": "string"
|
11444
|
+
},
|
11445
|
+
"description": "The html tag to be used for the below-header description text",
|
11446
|
+
"fieldName": "descriptionTagName"
|
11401
11447
|
},
|
11402
11448
|
{
|
11403
11449
|
"name": "role",
|
11404
|
-
"
|
11405
|
-
|
11406
|
-
|
11407
|
-
"
|
11408
|
-
|
11409
|
-
|
11410
|
-
|
11450
|
+
"type": {
|
11451
|
+
"text": "DialogRole"
|
11452
|
+
},
|
11453
|
+
"description": "Role of the dialog",
|
11454
|
+
"default": "dialog",
|
11455
|
+
"fieldName": "role"
|
11456
|
+
},
|
11457
|
+
{
|
11458
|
+
"name": "disable-aria-haspopup",
|
11459
|
+
"type": {
|
11460
|
+
"text": "boolean"
|
11461
|
+
},
|
11462
|
+
"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.",
|
11463
|
+
"default": "false",
|
11464
|
+
"fieldName": "disableAriaHasPopup"
|
11411
11465
|
},
|
11412
11466
|
{
|
11413
|
-
"name": "
|
11467
|
+
"name": "focus-trap",
|
11414
11468
|
"type": {
|
11415
|
-
"text": "
|
11469
|
+
"text": "boolean"
|
11416
11470
|
},
|
11417
|
-
"description": "
|
11418
|
-
"default": "
|
11419
|
-
"fieldName": "
|
11420
|
-
"inheritedFrom": {
|
11421
|
-
"name": "Buttonsimple",
|
11422
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11423
|
-
}
|
11471
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nNOTE: this should only be disabled in rare cases! By default a Modal Dialog\nshould trap focus always.",
|
11472
|
+
"default": "true",
|
11473
|
+
"fieldName": "focusTrap"
|
11424
11474
|
},
|
11425
11475
|
{
|
11426
|
-
"name": "
|
11476
|
+
"name": "should-focus-trap-wrap",
|
11427
11477
|
"type": {
|
11428
|
-
"text": "
|
11478
|
+
"text": "boolean"
|
11429
11479
|
},
|
11430
|
-
"
|
11431
|
-
"
|
11432
|
-
"fieldName": "
|
11480
|
+
"default": "true",
|
11481
|
+
"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 `focusTrap` is true.",
|
11482
|
+
"fieldName": "shouldFocusTrapWrap",
|
11433
11483
|
"inheritedFrom": {
|
11434
|
-
"name": "
|
11435
|
-
"module": "src/
|
11484
|
+
"name": "FocusTrapMixin",
|
11485
|
+
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
11436
11486
|
}
|
11437
11487
|
}
|
11438
11488
|
],
|
11439
|
-
"
|
11440
|
-
"name": "Chip",
|
11441
|
-
"module": "/src/components/chip/chip.component"
|
11442
|
-
},
|
11443
|
-
"tagName": "mdc-filterchip",
|
11444
|
-
"jsDoc": "/**\n * mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\n * They can be found with lists or tables as quick filters.\n *\n * This component is built on top of the mdc-chip component.\n *\n * @tagname mdc-filterchip\n *\n */",
|
11445
|
-
"customElement": true,
|
11446
|
-
"cssProperties": [
|
11489
|
+
"mixins": [
|
11447
11490
|
{
|
11448
|
-
"
|
11449
|
-
"
|
11450
|
-
"inheritedFrom": {
|
11451
|
-
"name": "Chip",
|
11452
|
-
"module": "src/components/chip/chip.component.ts"
|
11453
|
-
}
|
11491
|
+
"name": "PreventScrollMixin",
|
11492
|
+
"module": "/src/utils/mixins/PreventScrollMixin"
|
11454
11493
|
},
|
11455
11494
|
{
|
11456
|
-
"
|
11457
|
-
"
|
11458
|
-
"inheritedFrom": {
|
11459
|
-
"name": "Chip",
|
11460
|
-
"module": "src/components/chip/chip.component.ts"
|
11461
|
-
}
|
11495
|
+
"name": "FocusTrapMixin",
|
11496
|
+
"module": "/src/utils/mixins/FocusTrapMixin"
|
11462
11497
|
},
|
11463
11498
|
{
|
11464
|
-
"
|
11465
|
-
"
|
11466
|
-
"inheritedFrom": {
|
11467
|
-
"name": "Chip",
|
11468
|
-
"module": "src/components/chip/chip.component.ts"
|
11469
|
-
}
|
11499
|
+
"name": "FooterMixin",
|
11500
|
+
"module": "/src/utils/mixins/FooterMixin"
|
11470
11501
|
}
|
11471
11502
|
],
|
11472
|
-
"
|
11473
|
-
|
11474
|
-
|
11475
|
-
|
11476
|
-
|
11477
|
-
|
11478
|
-
|
11479
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11480
|
-
}
|
11481
|
-
},
|
11482
|
-
{
|
11483
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
11484
|
-
"name": "keydown",
|
11485
|
-
"reactName": "onKeyDown",
|
11486
|
-
"inheritedFrom": {
|
11487
|
-
"name": "Buttonsimple",
|
11488
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11489
|
-
}
|
11490
|
-
},
|
11491
|
-
{
|
11492
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
11493
|
-
"name": "keyup",
|
11494
|
-
"reactName": "onKeyUp",
|
11495
|
-
"inheritedFrom": {
|
11496
|
-
"name": "Buttonsimple",
|
11497
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11498
|
-
}
|
11499
|
-
},
|
11500
|
-
{
|
11501
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
11502
|
-
"name": "focus",
|
11503
|
-
"reactName": "onFocus",
|
11504
|
-
"inheritedFrom": {
|
11505
|
-
"name": "Buttonsimple",
|
11506
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
11507
|
-
}
|
11508
|
-
}
|
11509
|
-
]
|
11503
|
+
"superclass": {
|
11504
|
+
"name": "Component",
|
11505
|
+
"module": "/src/models"
|
11506
|
+
},
|
11507
|
+
"tagName": "mdc-dialog",
|
11508
|
+
"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 5 sizes: small, medium, large, xlarge and fullscreen. 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 * The dialog can be controlled solely through the `visible` property, no trigger element is required.\n * If a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\n * remember the previously focused element before the dialog was opened.\n *\n * The dialog is a controlled component, meaning it does not have its own state management for visibility.\n * Use the `visible` property to control the visibility of the dialog.\n * Use the `onClose` event to handle the close action of the dialog (fired when Close button is clicked\n * or Escape is pressed).\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 * @event close - (React: onClose) Dispatched when the Close Button is clicked or Escape key is pressed\n * (this does not hide the dialog)\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 header-prefix - Slot for the dialog header content. This can be used to pass custom header content.\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 * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred\n */",
|
11509
|
+
"customElement": true
|
11510
11510
|
}
|
11511
11511
|
],
|
11512
11512
|
"exports": [
|
@@ -11514,8 +11514,8 @@
|
|
11514
11514
|
"kind": "js",
|
11515
11515
|
"name": "default",
|
11516
11516
|
"declaration": {
|
11517
|
-
"name": "
|
11518
|
-
"module": "components/
|
11517
|
+
"name": "Dialog",
|
11518
|
+
"module": "components/dialog/dialog.component.js"
|
11519
11519
|
}
|
11520
11520
|
}
|
11521
11521
|
]
|
@@ -29837,6 +29837,17 @@
|
|
29837
29837
|
],
|
29838
29838
|
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
|
29839
29839
|
},
|
29840
|
+
{
|
29841
|
+
"kind": "method",
|
29842
|
+
"name": "updateState",
|
29843
|
+
"privacy": "public",
|
29844
|
+
"return": {
|
29845
|
+
"type": {
|
29846
|
+
"text": "void"
|
29847
|
+
}
|
29848
|
+
},
|
29849
|
+
"description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
|
29850
|
+
},
|
29840
29851
|
{
|
29841
29852
|
"kind": "field",
|
29842
29853
|
"name": "name",
|
@@ -30832,30 +30843,174 @@
|
|
30832
30843
|
"fieldName": "size"
|
30833
30844
|
},
|
30834
30845
|
{
|
30835
|
-
"name": "aria-label",
|
30846
|
+
"name": "aria-label",
|
30847
|
+
"type": {
|
30848
|
+
"text": "string | null"
|
30849
|
+
},
|
30850
|
+
"default": "null",
|
30851
|
+
"description": "Aria-label attribute to be set for accessibility",
|
30852
|
+
"fieldName": "ariaLabel"
|
30853
|
+
},
|
30854
|
+
{
|
30855
|
+
"name": "variant",
|
30856
|
+
"type": {
|
30857
|
+
"text": "SpinnerVariant"
|
30858
|
+
},
|
30859
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
30860
|
+
"default": "standalone",
|
30861
|
+
"fieldName": "variant"
|
30862
|
+
}
|
30863
|
+
],
|
30864
|
+
"superclass": {
|
30865
|
+
"name": "Component",
|
30866
|
+
"module": "/src/models"
|
30867
|
+
},
|
30868
|
+
"tagName": "mdc-spinner",
|
30869
|
+
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
30870
|
+
"customElement": true
|
30871
|
+
}
|
30872
|
+
],
|
30873
|
+
"exports": [
|
30874
|
+
{
|
30875
|
+
"kind": "js",
|
30876
|
+
"name": "default",
|
30877
|
+
"declaration": {
|
30878
|
+
"name": "Spinner",
|
30879
|
+
"module": "components/spinner/spinner.component.js"
|
30880
|
+
}
|
30881
|
+
}
|
30882
|
+
]
|
30883
|
+
},
|
30884
|
+
{
|
30885
|
+
"kind": "javascript-module",
|
30886
|
+
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
30887
|
+
"declarations": [
|
30888
|
+
{
|
30889
|
+
"kind": "class",
|
30890
|
+
"description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
|
30891
|
+
"name": "StaticCheckbox",
|
30892
|
+
"cssProperties": [
|
30893
|
+
{
|
30894
|
+
"description": "Border color in high contrast.",
|
30895
|
+
"name": "--mdc-staticcheckbox-border-color"
|
30896
|
+
},
|
30897
|
+
{
|
30898
|
+
"description": "Background color for a selected checkbox.",
|
30899
|
+
"name": "--mdc-staticcheckbox-checked-background-color"
|
30900
|
+
},
|
30901
|
+
{
|
30902
|
+
"description": "Background color for a disabled checkbox.",
|
30903
|
+
"name": "--mdc-staticcheckbox-disabled-background-color"
|
30904
|
+
},
|
30905
|
+
{
|
30906
|
+
"description": "Border color for a disabled checkbox.",
|
30907
|
+
"name": "--mdc-checkbox-disabled-border-color"
|
30908
|
+
},
|
30909
|
+
{
|
30910
|
+
"description": "Background color for a disabled, selected checkbox.",
|
30911
|
+
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
30912
|
+
},
|
30913
|
+
{
|
30914
|
+
"description": "Icon color for a disabled checkbox.",
|
30915
|
+
"name": "--mdc-staticcheckbox-disabled-icon-color"
|
30916
|
+
},
|
30917
|
+
{
|
30918
|
+
"description": "Background color for an unselected checkbox.",
|
30919
|
+
"name": "--mdc-staticcheckbox-icon-background-color"
|
30920
|
+
},
|
30921
|
+
{
|
30922
|
+
"description": "Default background color for an unselected checkbox.",
|
30923
|
+
"name": "--mdc-staticcheckbox-icon-border-color"
|
30924
|
+
},
|
30925
|
+
{
|
30926
|
+
"description": "Icon color for an unselected checkbox.",
|
30927
|
+
"name": "--mdc-staticcheckbox-icon-color"
|
30928
|
+
}
|
30929
|
+
],
|
30930
|
+
"members": [
|
30931
|
+
{
|
30932
|
+
"kind": "field",
|
30933
|
+
"name": "checked",
|
30934
|
+
"type": {
|
30935
|
+
"text": "boolean"
|
30936
|
+
},
|
30937
|
+
"default": "false",
|
30938
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
30939
|
+
"attribute": "checked",
|
30940
|
+
"reflects": true
|
30941
|
+
},
|
30942
|
+
{
|
30943
|
+
"kind": "field",
|
30944
|
+
"name": "indeterminate",
|
30945
|
+
"type": {
|
30946
|
+
"text": "boolean"
|
30947
|
+
},
|
30948
|
+
"default": "false",
|
30949
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
30950
|
+
"attribute": "indeterminate",
|
30951
|
+
"reflects": true
|
30952
|
+
},
|
30953
|
+
{
|
30954
|
+
"kind": "field",
|
30955
|
+
"name": "disabled",
|
30956
|
+
"type": {
|
30957
|
+
"text": "boolean | undefined"
|
30958
|
+
},
|
30959
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
30960
|
+
"default": "undefined",
|
30961
|
+
"attribute": "disabled",
|
30962
|
+
"reflects": true,
|
30963
|
+
"inheritedFrom": {
|
30964
|
+
"name": "DisabledMixin",
|
30965
|
+
"module": "utils/mixins/DisabledMixin.js"
|
30966
|
+
}
|
30967
|
+
}
|
30968
|
+
],
|
30969
|
+
"attributes": [
|
30970
|
+
{
|
30971
|
+
"name": "checked",
|
30972
|
+
"type": {
|
30973
|
+
"text": "boolean"
|
30974
|
+
},
|
30975
|
+
"default": "false",
|
30976
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
30977
|
+
"fieldName": "checked"
|
30978
|
+
},
|
30979
|
+
{
|
30980
|
+
"name": "indeterminate",
|
30836
30981
|
"type": {
|
30837
|
-
"text": "
|
30982
|
+
"text": "boolean"
|
30838
30983
|
},
|
30839
|
-
"default": "
|
30840
|
-
"description": "
|
30841
|
-
"fieldName": "
|
30984
|
+
"default": "false",
|
30985
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
30986
|
+
"fieldName": "indeterminate"
|
30842
30987
|
},
|
30843
30988
|
{
|
30844
|
-
"name": "
|
30989
|
+
"name": "disabled",
|
30845
30990
|
"type": {
|
30846
|
-
"text": "
|
30991
|
+
"text": "boolean | undefined"
|
30847
30992
|
},
|
30848
|
-
"description": "
|
30849
|
-
"default": "
|
30850
|
-
"fieldName": "
|
30993
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
30994
|
+
"default": "undefined",
|
30995
|
+
"fieldName": "disabled",
|
30996
|
+
"inheritedFrom": {
|
30997
|
+
"name": "DisabledMixin",
|
30998
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
30999
|
+
}
|
31000
|
+
}
|
31001
|
+
],
|
31002
|
+
"mixins": [
|
31003
|
+
{
|
31004
|
+
"name": "DisabledMixin",
|
31005
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
30851
31006
|
}
|
30852
31007
|
],
|
30853
31008
|
"superclass": {
|
30854
31009
|
"name": "Component",
|
30855
31010
|
"module": "/src/models"
|
30856
31011
|
},
|
30857
|
-
"tagName": "mdc-
|
30858
|
-
"jsDoc": "/**\n *
|
31012
|
+
"tagName": "mdc-staticcheckbox",
|
31013
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
|
30859
31014
|
"customElement": true
|
30860
31015
|
}
|
30861
31016
|
],
|
@@ -30864,56 +31019,60 @@
|
|
30864
31019
|
"kind": "js",
|
30865
31020
|
"name": "default",
|
30866
31021
|
"declaration": {
|
30867
|
-
"name": "
|
30868
|
-
"module": "components/
|
31022
|
+
"name": "StaticCheckbox",
|
31023
|
+
"module": "components/staticcheckbox/staticcheckbox.component.js"
|
30869
31024
|
}
|
30870
31025
|
}
|
30871
31026
|
]
|
30872
31027
|
},
|
30873
31028
|
{
|
30874
31029
|
"kind": "javascript-module",
|
30875
|
-
"path": "components/
|
31030
|
+
"path": "components/staticradio/staticradio.component.js",
|
30876
31031
|
"declarations": [
|
30877
31032
|
{
|
30878
31033
|
"kind": "class",
|
30879
|
-
"description": "This is a decorative component that is styled to look as a
|
30880
|
-
"name": "
|
31034
|
+
"description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
|
31035
|
+
"name": "StaticRadio",
|
30881
31036
|
"cssProperties": [
|
30882
31037
|
{
|
30883
|
-
"description": "
|
30884
|
-
"name": "--mdc-
|
31038
|
+
"description": "size of the inner circle",
|
31039
|
+
"name": "--mdc-staticradio-inner-circle-size"
|
30885
31040
|
},
|
30886
31041
|
{
|
30887
|
-
"description": "
|
30888
|
-
"name": "--mdc-
|
31042
|
+
"description": "color of the label when disabled",
|
31043
|
+
"name": "--mdc-staticradio-text-disabled-color"
|
30889
31044
|
},
|
30890
31045
|
{
|
30891
|
-
"description": "
|
30892
|
-
"name": "--mdc-
|
31046
|
+
"description": "color of the radio button border when normal",
|
31047
|
+
"name": "--mdc-staticradio-normal-border-color"
|
30893
31048
|
},
|
30894
31049
|
{
|
30895
|
-
"description": "
|
30896
|
-
"name": "--mdc-
|
31050
|
+
"description": "color of the radio button border when disabled",
|
31051
|
+
"name": "--mdc-staticradio-disabled-border-color"
|
30897
31052
|
},
|
30898
31053
|
{
|
30899
|
-
"description": "
|
30900
|
-
"name": "--mdc-
|
31054
|
+
"description": "background color of the inner circle when normal",
|
31055
|
+
"name": "--mdc-staticradio-inner-circle-normal-background"
|
30901
31056
|
},
|
30902
31057
|
{
|
30903
|
-
"description": "
|
30904
|
-
"name": "--mdc-
|
31058
|
+
"description": "background color of the inner circle when disabled",
|
31059
|
+
"name": "--mdc-staticradio-inner-circle-disabled-background"
|
30905
31060
|
},
|
30906
31061
|
{
|
30907
|
-
"description": "
|
30908
|
-
"name": "--mdc-
|
31062
|
+
"description": "color of the radio button when inactive",
|
31063
|
+
"name": "--mdc-staticradio-control-inactive-color"
|
30909
31064
|
},
|
30910
31065
|
{
|
30911
|
-
"description": "
|
30912
|
-
"name": "--mdc-
|
31066
|
+
"description": "background color of the radio button when inactive and disabled",
|
31067
|
+
"name": "--mdc-staticradio-control-inactive-disabled-background"
|
30913
31068
|
},
|
30914
31069
|
{
|
30915
|
-
"description": "
|
30916
|
-
"name": "--mdc-
|
31070
|
+
"description": "color of the radio button when active",
|
31071
|
+
"name": "--mdc-staticradio-control-active-color"
|
31072
|
+
},
|
31073
|
+
{
|
31074
|
+
"description": "background color of the radio button when active and disabled",
|
31075
|
+
"name": "--mdc-staticradio-control-active-disabled-background"
|
30917
31076
|
}
|
30918
31077
|
],
|
30919
31078
|
"members": [
|
@@ -30924,19 +31083,19 @@
|
|
30924
31083
|
"text": "boolean"
|
30925
31084
|
},
|
30926
31085
|
"default": "false",
|
30927
|
-
"description": "Determines whether the
|
31086
|
+
"description": "Determines whether the radio is selected or unselected.",
|
30928
31087
|
"attribute": "checked",
|
30929
31088
|
"reflects": true
|
30930
31089
|
},
|
30931
31090
|
{
|
30932
31091
|
"kind": "field",
|
30933
|
-
"name": "
|
31092
|
+
"name": "readonly",
|
30934
31093
|
"type": {
|
30935
31094
|
"text": "boolean"
|
30936
31095
|
},
|
30937
31096
|
"default": "false",
|
30938
|
-
"description": "Determines whether the
|
30939
|
-
"attribute": "
|
31097
|
+
"description": "Determines whether the radio is read-only.",
|
31098
|
+
"attribute": "readonly",
|
30940
31099
|
"reflects": true
|
30941
31100
|
},
|
30942
31101
|
{
|
@@ -30962,17 +31121,17 @@
|
|
30962
31121
|
"text": "boolean"
|
30963
31122
|
},
|
30964
31123
|
"default": "false",
|
30965
|
-
"description": "Determines whether the
|
31124
|
+
"description": "Determines whether the radio is selected or unselected.",
|
30966
31125
|
"fieldName": "checked"
|
30967
31126
|
},
|
30968
31127
|
{
|
30969
|
-
"name": "
|
31128
|
+
"name": "readonly",
|
30970
31129
|
"type": {
|
30971
31130
|
"text": "boolean"
|
30972
31131
|
},
|
30973
31132
|
"default": "false",
|
30974
|
-
"description": "Determines whether the
|
30975
|
-
"fieldName": "
|
31133
|
+
"description": "Determines whether the radio is read-only.",
|
31134
|
+
"fieldName": "readonly"
|
30976
31135
|
},
|
30977
31136
|
{
|
30978
31137
|
"name": "disabled",
|
@@ -30998,8 +31157,8 @@
|
|
30998
31157
|
"name": "Component",
|
30999
31158
|
"module": "/src/models"
|
31000
31159
|
},
|
31001
|
-
"tagName": "mdc-
|
31002
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a
|
31160
|
+
"tagName": "mdc-staticradio",
|
31161
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
|
31003
31162
|
"customElement": true
|
31004
31163
|
}
|
31005
31164
|
],
|
@@ -31008,8 +31167,8 @@
|
|
31008
31167
|
"kind": "js",
|
31009
31168
|
"name": "default",
|
31010
31169
|
"declaration": {
|
31011
|
-
"name": "
|
31012
|
-
"module": "components/
|
31170
|
+
"name": "StaticRadio",
|
31171
|
+
"module": "components/staticradio/staticradio.component.js"
|
31013
31172
|
}
|
31014
31173
|
}
|
31015
31174
|
]
|
@@ -32091,154 +32250,6 @@
|
|
32091
32250
|
}
|
32092
32251
|
]
|
32093
32252
|
},
|
32094
|
-
{
|
32095
|
-
"kind": "javascript-module",
|
32096
|
-
"path": "components/staticradio/staticradio.component.js",
|
32097
|
-
"declarations": [
|
32098
|
-
{
|
32099
|
-
"kind": "class",
|
32100
|
-
"description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
|
32101
|
-
"name": "StaticRadio",
|
32102
|
-
"cssProperties": [
|
32103
|
-
{
|
32104
|
-
"description": "size of the inner circle",
|
32105
|
-
"name": "--mdc-staticradio-inner-circle-size"
|
32106
|
-
},
|
32107
|
-
{
|
32108
|
-
"description": "color of the label when disabled",
|
32109
|
-
"name": "--mdc-staticradio-text-disabled-color"
|
32110
|
-
},
|
32111
|
-
{
|
32112
|
-
"description": "color of the radio button border when normal",
|
32113
|
-
"name": "--mdc-staticradio-normal-border-color"
|
32114
|
-
},
|
32115
|
-
{
|
32116
|
-
"description": "color of the radio button border when disabled",
|
32117
|
-
"name": "--mdc-staticradio-disabled-border-color"
|
32118
|
-
},
|
32119
|
-
{
|
32120
|
-
"description": "background color of the inner circle when normal",
|
32121
|
-
"name": "--mdc-staticradio-inner-circle-normal-background"
|
32122
|
-
},
|
32123
|
-
{
|
32124
|
-
"description": "background color of the inner circle when disabled",
|
32125
|
-
"name": "--mdc-staticradio-inner-circle-disabled-background"
|
32126
|
-
},
|
32127
|
-
{
|
32128
|
-
"description": "color of the radio button when inactive",
|
32129
|
-
"name": "--mdc-staticradio-control-inactive-color"
|
32130
|
-
},
|
32131
|
-
{
|
32132
|
-
"description": "background color of the radio button when inactive and disabled",
|
32133
|
-
"name": "--mdc-staticradio-control-inactive-disabled-background"
|
32134
|
-
},
|
32135
|
-
{
|
32136
|
-
"description": "color of the radio button when active",
|
32137
|
-
"name": "--mdc-staticradio-control-active-color"
|
32138
|
-
},
|
32139
|
-
{
|
32140
|
-
"description": "background color of the radio button when active and disabled",
|
32141
|
-
"name": "--mdc-staticradio-control-active-disabled-background"
|
32142
|
-
}
|
32143
|
-
],
|
32144
|
-
"members": [
|
32145
|
-
{
|
32146
|
-
"kind": "field",
|
32147
|
-
"name": "checked",
|
32148
|
-
"type": {
|
32149
|
-
"text": "boolean"
|
32150
|
-
},
|
32151
|
-
"default": "false",
|
32152
|
-
"description": "Determines whether the radio is selected or unselected.",
|
32153
|
-
"attribute": "checked",
|
32154
|
-
"reflects": true
|
32155
|
-
},
|
32156
|
-
{
|
32157
|
-
"kind": "field",
|
32158
|
-
"name": "readonly",
|
32159
|
-
"type": {
|
32160
|
-
"text": "boolean"
|
32161
|
-
},
|
32162
|
-
"default": "false",
|
32163
|
-
"description": "Determines whether the radio is read-only.",
|
32164
|
-
"attribute": "readonly",
|
32165
|
-
"reflects": true
|
32166
|
-
},
|
32167
|
-
{
|
32168
|
-
"kind": "field",
|
32169
|
-
"name": "disabled",
|
32170
|
-
"type": {
|
32171
|
-
"text": "boolean | undefined"
|
32172
|
-
},
|
32173
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
32174
|
-
"default": "undefined",
|
32175
|
-
"attribute": "disabled",
|
32176
|
-
"reflects": true,
|
32177
|
-
"inheritedFrom": {
|
32178
|
-
"name": "DisabledMixin",
|
32179
|
-
"module": "utils/mixins/DisabledMixin.js"
|
32180
|
-
}
|
32181
|
-
}
|
32182
|
-
],
|
32183
|
-
"attributes": [
|
32184
|
-
{
|
32185
|
-
"name": "checked",
|
32186
|
-
"type": {
|
32187
|
-
"text": "boolean"
|
32188
|
-
},
|
32189
|
-
"default": "false",
|
32190
|
-
"description": "Determines whether the radio is selected or unselected.",
|
32191
|
-
"fieldName": "checked"
|
32192
|
-
},
|
32193
|
-
{
|
32194
|
-
"name": "readonly",
|
32195
|
-
"type": {
|
32196
|
-
"text": "boolean"
|
32197
|
-
},
|
32198
|
-
"default": "false",
|
32199
|
-
"description": "Determines whether the radio is read-only.",
|
32200
|
-
"fieldName": "readonly"
|
32201
|
-
},
|
32202
|
-
{
|
32203
|
-
"name": "disabled",
|
32204
|
-
"type": {
|
32205
|
-
"text": "boolean | undefined"
|
32206
|
-
},
|
32207
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
32208
|
-
"default": "undefined",
|
32209
|
-
"fieldName": "disabled",
|
32210
|
-
"inheritedFrom": {
|
32211
|
-
"name": "DisabledMixin",
|
32212
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
32213
|
-
}
|
32214
|
-
}
|
32215
|
-
],
|
32216
|
-
"mixins": [
|
32217
|
-
{
|
32218
|
-
"name": "DisabledMixin",
|
32219
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
32220
|
-
}
|
32221
|
-
],
|
32222
|
-
"superclass": {
|
32223
|
-
"name": "Component",
|
32224
|
-
"module": "/src/models"
|
32225
|
-
},
|
32226
|
-
"tagName": "mdc-staticradio",
|
32227
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
|
32228
|
-
"customElement": true
|
32229
|
-
}
|
32230
|
-
],
|
32231
|
-
"exports": [
|
32232
|
-
{
|
32233
|
-
"kind": "js",
|
32234
|
-
"name": "default",
|
32235
|
-
"declaration": {
|
32236
|
-
"name": "StaticRadio",
|
32237
|
-
"module": "components/staticradio/staticradio.component.js"
|
32238
|
-
}
|
32239
|
-
}
|
32240
|
-
]
|
32241
|
-
},
|
32242
32253
|
{
|
32243
32254
|
"kind": "javascript-module",
|
32244
32255
|
"path": "components/text/text.component.js",
|