@momentum-design/components 0.70.2 → 0.70.4
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 +112 -90
- package/dist/browser/index.js.map +4 -4
- package/dist/components/card/card.constants.js +1 -1
- package/dist/components/card/card.styles.js +12 -3
- package/dist/components/cardcheckbox/cardcheckbox.component.js +4 -2
- package/dist/components/cardcheckbox/cardcheckbox.styles.js +5 -1
- package/dist/components/cardradio/cardradio.component.d.ts +2 -0
- package/dist/components/cardradio/cardradio.component.js +26 -2
- package/dist/components/cardradio/cardradio.styles.js +5 -1
- package/dist/components/select/select.component.d.ts +3 -0
- package/dist/components/select/select.component.js +9 -0
- package/dist/components/select/select.styles.js +4 -0
- package/dist/custom-elements.json +621 -539
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/utils/mixins/CardComponentMixin.js +8 -8
- package/dist/utils/roles.d.ts +1 -0
- package/dist/utils/roles.js +1 -0
- package/package.json +1 -1
@@ -3566,13 +3566,37 @@
|
|
3566
3566
|
},
|
3567
3567
|
{
|
3568
3568
|
"kind": "javascript-module",
|
3569
|
-
"path": "components/
|
3569
|
+
"path": "components/card/card.component.js",
|
3570
3570
|
"declarations": [
|
3571
3571
|
{
|
3572
3572
|
"kind": "class",
|
3573
|
-
"description": "
|
3574
|
-
"name": "
|
3573
|
+
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of\n`mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
3574
|
+
"name": "Card",
|
3575
3575
|
"slots": [
|
3576
|
+
{
|
3577
|
+
"description": "This slot is for passing the content before the body",
|
3578
|
+
"name": "before-body"
|
3579
|
+
},
|
3580
|
+
{
|
3581
|
+
"description": "This slot is for passing the text content for the card",
|
3582
|
+
"name": "body"
|
3583
|
+
},
|
3584
|
+
{
|
3585
|
+
"description": "This slot is for passing the content after the body",
|
3586
|
+
"name": "after-body"
|
3587
|
+
},
|
3588
|
+
{
|
3589
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
3590
|
+
"name": "footer-link"
|
3591
|
+
},
|
3592
|
+
{
|
3593
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
3594
|
+
"name": "footer-button-primary"
|
3595
|
+
},
|
3596
|
+
{
|
3597
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
3598
|
+
"name": "footer-button-secondary"
|
3599
|
+
},
|
3576
3600
|
{
|
3577
3601
|
"description": "This slot is for passing the content before the body",
|
3578
3602
|
"name": "before-body"
|
@@ -3607,6 +3631,7 @@
|
|
3607
3631
|
"default": "''",
|
3608
3632
|
"description": "The title of the card - part of header section",
|
3609
3633
|
"attribute": "card-title",
|
3634
|
+
"reflects": true,
|
3610
3635
|
"inheritedFrom": {
|
3611
3636
|
"name": "CardComponentMixin",
|
3612
3637
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3621,6 +3646,7 @@
|
|
3621
3646
|
"default": "''",
|
3622
3647
|
"description": "The subtitle of the card - part of header section",
|
3623
3648
|
"attribute": "subtitle",
|
3649
|
+
"reflects": true,
|
3624
3650
|
"inheritedFrom": {
|
3625
3651
|
"name": "CardComponentMixin",
|
3626
3652
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3635,6 +3661,7 @@
|
|
3635
3661
|
"default": "''",
|
3636
3662
|
"description": "The image source URL to render on the card",
|
3637
3663
|
"attribute": "image-src",
|
3664
|
+
"reflects": true,
|
3638
3665
|
"inheritedFrom": {
|
3639
3666
|
"name": "CardComponentMixin",
|
3640
3667
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3649,6 +3676,7 @@
|
|
3649
3676
|
"default": "''",
|
3650
3677
|
"description": "The image alt for accessibility support",
|
3651
3678
|
"attribute": "image-alt",
|
3679
|
+
"reflects": true,
|
3652
3680
|
"inheritedFrom": {
|
3653
3681
|
"name": "CardComponentMixin",
|
3654
3682
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3663,6 +3691,7 @@
|
|
3663
3691
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
3664
3692
|
"default": "'border'",
|
3665
3693
|
"attribute": "variant",
|
3694
|
+
"reflects": true,
|
3666
3695
|
"inheritedFrom": {
|
3667
3696
|
"name": "CardComponentMixin",
|
3668
3697
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3692,6 +3721,7 @@
|
|
3692
3721
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
3693
3722
|
"default": "'span'",
|
3694
3723
|
"attribute": "title-tag-name",
|
3724
|
+
"reflects": true,
|
3695
3725
|
"inheritedFrom": {
|
3696
3726
|
"name": "CardComponentMixin",
|
3697
3727
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3706,6 +3736,7 @@
|
|
3706
3736
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
3707
3737
|
"default": "'span'",
|
3708
3738
|
"attribute": "subtitle-tag-name",
|
3739
|
+
"reflects": true,
|
3709
3740
|
"inheritedFrom": {
|
3710
3741
|
"name": "CardComponentMixin",
|
3711
3742
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3719,6 +3750,7 @@
|
|
3719
3750
|
},
|
3720
3751
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
3721
3752
|
"attribute": "icon-name",
|
3753
|
+
"reflects": true,
|
3722
3754
|
"inheritedFrom": {
|
3723
3755
|
"name": "CardComponentMixin",
|
3724
3756
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3770,794 +3802,681 @@
|
|
3770
3802
|
}
|
3771
3803
|
},
|
3772
3804
|
{
|
3773
|
-
"kind": "
|
3774
|
-
"name": "
|
3805
|
+
"kind": "method",
|
3806
|
+
"name": "renderFooter",
|
3807
|
+
"privacy": "protected",
|
3808
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
3809
|
+
"return": {
|
3810
|
+
"type": {
|
3811
|
+
"text": ""
|
3812
|
+
}
|
3813
|
+
},
|
3814
|
+
"inheritedFrom": {
|
3815
|
+
"name": "CardAndDialogFooterMixin",
|
3816
|
+
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
3817
|
+
}
|
3818
|
+
}
|
3819
|
+
],
|
3820
|
+
"mixins": [
|
3821
|
+
{
|
3822
|
+
"name": "CardComponentMixin",
|
3823
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
3824
|
+
},
|
3825
|
+
{
|
3826
|
+
"name": "CardAndDialogFooterMixin",
|
3827
|
+
"module": "/src/utils/mixins/CardAndDialogFooterMixin"
|
3828
|
+
}
|
3829
|
+
],
|
3830
|
+
"superclass": {
|
3831
|
+
"name": "Component",
|
3832
|
+
"module": "/src/models"
|
3833
|
+
},
|
3834
|
+
"tagName": "mdc-card",
|
3835
|
+
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component 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-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n */",
|
3836
|
+
"customElement": true,
|
3837
|
+
"attributes": [
|
3838
|
+
{
|
3839
|
+
"name": "card-title",
|
3775
3840
|
"type": {
|
3776
|
-
"text": "
|
3841
|
+
"text": "string"
|
3777
3842
|
},
|
3778
|
-
"default": "
|
3779
|
-
"description": "
|
3780
|
-
"
|
3781
|
-
"reflects": true,
|
3843
|
+
"default": "''",
|
3844
|
+
"description": "The title of the card - part of header section",
|
3845
|
+
"fieldName": "cardTitle",
|
3782
3846
|
"inheritedFrom": {
|
3783
|
-
"name": "
|
3784
|
-
"module": "
|
3847
|
+
"name": "CardComponentMixin",
|
3848
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3785
3849
|
}
|
3786
3850
|
},
|
3787
3851
|
{
|
3788
|
-
"
|
3789
|
-
"name": "disabled",
|
3852
|
+
"name": "subtitle",
|
3790
3853
|
"type": {
|
3791
|
-
"text": "
|
3854
|
+
"text": "string"
|
3792
3855
|
},
|
3793
|
-
"
|
3794
|
-
"
|
3795
|
-
"
|
3796
|
-
"reflects": true,
|
3856
|
+
"default": "''",
|
3857
|
+
"description": "The subtitle of the card - part of header section",
|
3858
|
+
"fieldName": "subtitle",
|
3797
3859
|
"inheritedFrom": {
|
3798
|
-
"name": "
|
3799
|
-
"module": "
|
3860
|
+
"name": "CardComponentMixin",
|
3861
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3800
3862
|
}
|
3801
3863
|
},
|
3802
3864
|
{
|
3803
|
-
"
|
3804
|
-
"name": "active",
|
3865
|
+
"name": "image-src",
|
3805
3866
|
"type": {
|
3806
|
-
"text": "
|
3867
|
+
"text": "string"
|
3807
3868
|
},
|
3808
|
-
"
|
3809
|
-
"
|
3810
|
-
"
|
3811
|
-
"reflects": true,
|
3869
|
+
"default": "''",
|
3870
|
+
"description": "The image source URL to render on the card",
|
3871
|
+
"fieldName": "imageSrc",
|
3812
3872
|
"inheritedFrom": {
|
3813
|
-
"name": "
|
3814
|
-
"module": "
|
3873
|
+
"name": "CardComponentMixin",
|
3874
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3815
3875
|
}
|
3816
3876
|
},
|
3817
3877
|
{
|
3818
|
-
"
|
3819
|
-
"name": "softDisabled",
|
3878
|
+
"name": "image-alt",
|
3820
3879
|
"type": {
|
3821
|
-
"text": "
|
3880
|
+
"text": "string"
|
3822
3881
|
},
|
3823
|
-
"
|
3824
|
-
"
|
3825
|
-
"
|
3826
|
-
"reflects": true,
|
3882
|
+
"default": "''",
|
3883
|
+
"description": "The image alt for accessibility support",
|
3884
|
+
"fieldName": "imageAlt",
|
3827
3885
|
"inheritedFrom": {
|
3828
|
-
"name": "
|
3829
|
-
"module": "
|
3886
|
+
"name": "CardComponentMixin",
|
3887
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3830
3888
|
}
|
3831
3889
|
},
|
3832
3890
|
{
|
3833
|
-
"
|
3834
|
-
"name": "size",
|
3891
|
+
"name": "variant",
|
3835
3892
|
"type": {
|
3836
|
-
"text": "
|
3893
|
+
"text": "CardVariant"
|
3837
3894
|
},
|
3838
|
-
"description": "
|
3839
|
-
"default": "
|
3840
|
-
"
|
3841
|
-
"reflects": true,
|
3895
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
3896
|
+
"default": "'border'",
|
3897
|
+
"fieldName": "variant",
|
3842
3898
|
"inheritedFrom": {
|
3843
|
-
"name": "
|
3844
|
-
"module": "
|
3899
|
+
"name": "CardComponentMixin",
|
3900
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3845
3901
|
}
|
3846
3902
|
},
|
3847
3903
|
{
|
3848
|
-
"
|
3849
|
-
"
|
3850
|
-
|
3851
|
-
|
3852
|
-
"
|
3853
|
-
"
|
3904
|
+
"name": "orientation",
|
3905
|
+
"type": {
|
3906
|
+
"text": "CardOrientation"
|
3907
|
+
},
|
3908
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
3909
|
+
"default": "'vertical'",
|
3910
|
+
"fieldName": "orientation",
|
3854
3911
|
"inheritedFrom": {
|
3855
|
-
"name": "
|
3856
|
-
"module": "
|
3912
|
+
"name": "CardComponentMixin",
|
3913
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3857
3914
|
}
|
3858
3915
|
},
|
3859
3916
|
{
|
3860
|
-
"
|
3861
|
-
"name": "ariaStateKey",
|
3917
|
+
"name": "title-tag-name",
|
3862
3918
|
"type": {
|
3863
|
-
"text": "
|
3919
|
+
"text": "TagNameType"
|
3864
3920
|
},
|
3865
|
-
"description": "
|
3866
|
-
"default": "'
|
3867
|
-
"
|
3868
|
-
"reflects": true,
|
3921
|
+
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
3922
|
+
"default": "'span'",
|
3923
|
+
"fieldName": "titleTagName",
|
3869
3924
|
"inheritedFrom": {
|
3870
|
-
"name": "
|
3871
|
-
"module": "
|
3925
|
+
"name": "CardComponentMixin",
|
3926
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3872
3927
|
}
|
3873
3928
|
},
|
3874
3929
|
{
|
3875
|
-
"
|
3876
|
-
"name": "type",
|
3930
|
+
"name": "subtitle-tag-name",
|
3877
3931
|
"type": {
|
3878
|
-
"text": "
|
3932
|
+
"text": "TagNameType"
|
3879
3933
|
},
|
3880
|
-
"description": "
|
3881
|
-
"default": "
|
3882
|
-
"
|
3883
|
-
"reflects": true,
|
3934
|
+
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
3935
|
+
"default": "'span'",
|
3936
|
+
"fieldName": "subtitleTagName",
|
3884
3937
|
"inheritedFrom": {
|
3885
|
-
"name": "
|
3886
|
-
"module": "
|
3938
|
+
"name": "CardComponentMixin",
|
3939
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3887
3940
|
}
|
3888
3941
|
},
|
3889
3942
|
{
|
3890
|
-
"
|
3891
|
-
"
|
3892
|
-
|
3943
|
+
"name": "icon-name",
|
3944
|
+
"type": {
|
3945
|
+
"text": "IconNames | undefined"
|
3946
|
+
},
|
3947
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
3948
|
+
"fieldName": "iconName",
|
3893
3949
|
"inheritedFrom": {
|
3894
|
-
"name": "
|
3895
|
-
"module": "
|
3950
|
+
"name": "CardComponentMixin",
|
3951
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3896
3952
|
}
|
3953
|
+
}
|
3954
|
+
]
|
3955
|
+
}
|
3956
|
+
],
|
3957
|
+
"exports": [
|
3958
|
+
{
|
3959
|
+
"kind": "js",
|
3960
|
+
"name": "default",
|
3961
|
+
"declaration": {
|
3962
|
+
"name": "Card",
|
3963
|
+
"module": "components/card/card.component.js"
|
3964
|
+
}
|
3965
|
+
}
|
3966
|
+
]
|
3967
|
+
},
|
3968
|
+
{
|
3969
|
+
"kind": "javascript-module",
|
3970
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
3971
|
+
"declarations": [
|
3972
|
+
{
|
3973
|
+
"kind": "class",
|
3974
|
+
"description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
|
3975
|
+
"name": "CardButton",
|
3976
|
+
"slots": [
|
3977
|
+
{
|
3978
|
+
"description": "This slot is for passing the content before the body",
|
3979
|
+
"name": "before-body"
|
3980
|
+
},
|
3981
|
+
{
|
3982
|
+
"description": "This slot is for passing the text content for the card",
|
3983
|
+
"name": "body"
|
3897
3984
|
},
|
3985
|
+
{
|
3986
|
+
"description": "This slot is for passing the content after the body",
|
3987
|
+
"name": "after-body"
|
3988
|
+
}
|
3989
|
+
],
|
3990
|
+
"members": [
|
3898
3991
|
{
|
3899
3992
|
"kind": "method",
|
3900
|
-
"name": "
|
3993
|
+
"name": "renderHeader",
|
3901
3994
|
"privacy": "protected",
|
3902
|
-
"
|
3903
|
-
|
3904
|
-
|
3905
|
-
"
|
3906
|
-
"text": "HTMLElement"
|
3907
|
-
},
|
3908
|
-
"description": "The button element"
|
3909
|
-
},
|
3910
|
-
{
|
3911
|
-
"name": "active",
|
3912
|
-
"optional": true,
|
3913
|
-
"type": {
|
3914
|
-
"text": "boolean"
|
3915
|
-
},
|
3916
|
-
"description": "The active state of the element"
|
3917
|
-
}
|
3918
|
-
],
|
3919
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
3920
|
-
"inheritedFrom": {
|
3921
|
-
"name": "Buttonsimple",
|
3922
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3923
|
-
}
|
3924
|
-
},
|
3925
|
-
{
|
3926
|
-
"kind": "method",
|
3927
|
-
"name": "setSoftDisabled",
|
3928
|
-
"privacy": "private",
|
3929
|
-
"parameters": [
|
3930
|
-
{
|
3931
|
-
"name": "element",
|
3932
|
-
"type": {
|
3933
|
-
"text": "HTMLElement"
|
3934
|
-
},
|
3935
|
-
"description": "The button element."
|
3936
|
-
},
|
3937
|
-
{
|
3938
|
-
"name": "softDisabled",
|
3939
|
-
"optional": true,
|
3940
|
-
"type": {
|
3941
|
-
"text": "boolean"
|
3942
|
-
},
|
3943
|
-
"description": "The soft-disabled state."
|
3944
|
-
}
|
3945
|
-
],
|
3946
|
-
"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.",
|
3947
|
-
"inheritedFrom": {
|
3948
|
-
"name": "Buttonsimple",
|
3949
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3950
|
-
}
|
3951
|
-
},
|
3952
|
-
{
|
3953
|
-
"kind": "method",
|
3954
|
-
"name": "setDisabled",
|
3955
|
-
"privacy": "private",
|
3956
|
-
"parameters": [
|
3957
|
-
{
|
3958
|
-
"name": "element",
|
3959
|
-
"type": {
|
3960
|
-
"text": "HTMLElement"
|
3961
|
-
},
|
3962
|
-
"description": "The button element."
|
3963
|
-
},
|
3964
|
-
{
|
3965
|
-
"name": "disabled",
|
3966
|
-
"type": {
|
3967
|
-
"text": "boolean"
|
3968
|
-
},
|
3969
|
-
"description": "The disabled state."
|
3970
|
-
}
|
3971
|
-
],
|
3972
|
-
"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.",
|
3973
|
-
"inheritedFrom": {
|
3974
|
-
"name": "Buttonsimple",
|
3975
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3976
|
-
}
|
3977
|
-
},
|
3978
|
-
{
|
3979
|
-
"kind": "method",
|
3980
|
-
"name": "triggerClickEvent",
|
3981
|
-
"privacy": "private",
|
3982
|
-
"inheritedFrom": {
|
3983
|
-
"name": "Buttonsimple",
|
3984
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3985
|
-
}
|
3986
|
-
},
|
3987
|
-
{
|
3988
|
-
"kind": "method",
|
3989
|
-
"name": "handleBlur",
|
3990
|
-
"privacy": "private",
|
3991
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
3992
|
-
"inheritedFrom": {
|
3993
|
-
"name": "Buttonsimple",
|
3994
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3995
|
-
}
|
3996
|
-
},
|
3997
|
-
{
|
3998
|
-
"kind": "method",
|
3999
|
-
"name": "handleKeyDown",
|
4000
|
-
"privacy": "private",
|
4001
|
-
"parameters": [
|
4002
|
-
{
|
4003
|
-
"name": "event",
|
4004
|
-
"type": {
|
4005
|
-
"text": "KeyboardEvent"
|
4006
|
-
},
|
4007
|
-
"description": "The keyboard event."
|
4008
|
-
}
|
4009
|
-
],
|
4010
|
-
"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.",
|
4011
|
-
"inheritedFrom": {
|
4012
|
-
"name": "Buttonsimple",
|
4013
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
4014
|
-
}
|
4015
|
-
},
|
4016
|
-
{
|
4017
|
-
"kind": "method",
|
4018
|
-
"name": "handleKeyUp",
|
4019
|
-
"privacy": "private",
|
4020
|
-
"parameters": [
|
4021
|
-
{
|
4022
|
-
"name": "event",
|
4023
|
-
"type": {
|
4024
|
-
"text": "KeyboardEvent"
|
4025
|
-
},
|
4026
|
-
"description": "The keyboard event."
|
3995
|
+
"description": "Renders the header of the card if title is provided",
|
3996
|
+
"return": {
|
3997
|
+
"type": {
|
3998
|
+
"text": ""
|
4027
3999
|
}
|
4028
|
-
],
|
4029
|
-
"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.",
|
4030
|
-
"inheritedFrom": {
|
4031
|
-
"name": "Buttonsimple",
|
4032
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
4033
|
-
}
|
4034
|
-
}
|
4035
|
-
],
|
4036
|
-
"events": [
|
4037
|
-
{
|
4038
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
4039
|
-
"name": "click",
|
4040
|
-
"reactName": "onClick",
|
4041
|
-
"inheritedFrom": {
|
4042
|
-
"name": "Buttonsimple",
|
4043
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4044
|
-
}
|
4045
|
-
},
|
4046
|
-
{
|
4047
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
4048
|
-
"name": "keydown",
|
4049
|
-
"reactName": "onKeyDown",
|
4050
|
-
"inheritedFrom": {
|
4051
|
-
"name": "Buttonsimple",
|
4052
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4053
|
-
}
|
4054
|
-
},
|
4055
|
-
{
|
4056
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
|
4057
|
-
"name": "keyup",
|
4058
|
-
"reactName": "onKeyUp",
|
4059
|
-
"inheritedFrom": {
|
4060
|
-
"name": "Buttonsimple",
|
4061
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4062
4000
|
}
|
4063
4001
|
},
|
4064
4002
|
{
|
4065
|
-
"
|
4066
|
-
"name": "
|
4067
|
-
"reactName": "onFocus",
|
4068
|
-
"inheritedFrom": {
|
4069
|
-
"name": "Buttonsimple",
|
4070
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4071
|
-
}
|
4072
|
-
}
|
4073
|
-
],
|
4074
|
-
"mixins": [
|
4075
|
-
{
|
4076
|
-
"name": "CardComponentMixin",
|
4077
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
4078
|
-
}
|
4079
|
-
],
|
4080
|
-
"superclass": {
|
4081
|
-
"name": "Buttonsimple",
|
4082
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
4083
|
-
},
|
4084
|
-
"tagName": "mdc-cardbutton",
|
4085
|
-
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
|
4086
|
-
"customElement": true,
|
4087
|
-
"attributes": [
|
4088
|
-
{
|
4089
|
-
"name": "card-title",
|
4003
|
+
"kind": "field",
|
4004
|
+
"name": "cardTitle",
|
4090
4005
|
"type": {
|
4091
4006
|
"text": "string"
|
4092
4007
|
},
|
4093
4008
|
"default": "''",
|
4094
4009
|
"description": "The title of the card - part of header section",
|
4095
|
-
"
|
4010
|
+
"attribute": "card-title",
|
4011
|
+
"reflects": true,
|
4096
4012
|
"inheritedFrom": {
|
4097
4013
|
"name": "CardComponentMixin",
|
4098
|
-
"module": "
|
4014
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4099
4015
|
}
|
4100
4016
|
},
|
4101
4017
|
{
|
4018
|
+
"kind": "field",
|
4102
4019
|
"name": "subtitle",
|
4103
4020
|
"type": {
|
4104
4021
|
"text": "string"
|
4105
4022
|
},
|
4106
4023
|
"default": "''",
|
4107
4024
|
"description": "The subtitle of the card - part of header section",
|
4108
|
-
"
|
4025
|
+
"attribute": "subtitle",
|
4026
|
+
"reflects": true,
|
4109
4027
|
"inheritedFrom": {
|
4110
4028
|
"name": "CardComponentMixin",
|
4111
|
-
"module": "
|
4029
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4112
4030
|
}
|
4113
4031
|
},
|
4114
4032
|
{
|
4115
|
-
"
|
4033
|
+
"kind": "field",
|
4034
|
+
"name": "imageSrc",
|
4116
4035
|
"type": {
|
4117
4036
|
"text": "string"
|
4118
4037
|
},
|
4119
4038
|
"default": "''",
|
4120
4039
|
"description": "The image source URL to render on the card",
|
4121
|
-
"
|
4040
|
+
"attribute": "image-src",
|
4041
|
+
"reflects": true,
|
4122
4042
|
"inheritedFrom": {
|
4123
4043
|
"name": "CardComponentMixin",
|
4124
|
-
"module": "
|
4044
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4125
4045
|
}
|
4126
4046
|
},
|
4127
4047
|
{
|
4128
|
-
"
|
4048
|
+
"kind": "field",
|
4049
|
+
"name": "imageAlt",
|
4129
4050
|
"type": {
|
4130
4051
|
"text": "string"
|
4131
4052
|
},
|
4132
4053
|
"default": "''",
|
4133
4054
|
"description": "The image alt for accessibility support",
|
4134
|
-
"
|
4055
|
+
"attribute": "image-alt",
|
4056
|
+
"reflects": true,
|
4135
4057
|
"inheritedFrom": {
|
4136
4058
|
"name": "CardComponentMixin",
|
4137
|
-
"module": "
|
4059
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4138
4060
|
}
|
4139
4061
|
},
|
4140
4062
|
{
|
4063
|
+
"kind": "field",
|
4141
4064
|
"name": "variant",
|
4142
4065
|
"type": {
|
4143
4066
|
"text": "CardVariant"
|
4144
4067
|
},
|
4145
4068
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
4146
4069
|
"default": "'border'",
|
4147
|
-
"
|
4070
|
+
"attribute": "variant",
|
4071
|
+
"reflects": true,
|
4148
4072
|
"inheritedFrom": {
|
4149
4073
|
"name": "CardComponentMixin",
|
4150
|
-
"module": "
|
4074
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4151
4075
|
}
|
4152
4076
|
},
|
4153
4077
|
{
|
4078
|
+
"kind": "field",
|
4154
4079
|
"name": "orientation",
|
4155
4080
|
"type": {
|
4156
4081
|
"text": "CardOrientation"
|
4157
4082
|
},
|
4158
4083
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
4159
4084
|
"default": "'vertical'",
|
4160
|
-
"
|
4085
|
+
"attribute": "orientation",
|
4086
|
+
"reflects": true,
|
4161
4087
|
"inheritedFrom": {
|
4162
4088
|
"name": "CardComponentMixin",
|
4163
|
-
"module": "
|
4089
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4164
4090
|
}
|
4165
4091
|
},
|
4166
4092
|
{
|
4167
|
-
"
|
4093
|
+
"kind": "field",
|
4094
|
+
"name": "titleTagName",
|
4168
4095
|
"type": {
|
4169
4096
|
"text": "TagNameType"
|
4170
4097
|
},
|
4171
4098
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4172
4099
|
"default": "'span'",
|
4173
|
-
"
|
4100
|
+
"attribute": "title-tag-name",
|
4101
|
+
"reflects": true,
|
4174
4102
|
"inheritedFrom": {
|
4175
4103
|
"name": "CardComponentMixin",
|
4176
|
-
"module": "
|
4104
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4177
4105
|
}
|
4178
4106
|
},
|
4179
4107
|
{
|
4180
|
-
"
|
4108
|
+
"kind": "field",
|
4109
|
+
"name": "subtitleTagName",
|
4181
4110
|
"type": {
|
4182
4111
|
"text": "TagNameType"
|
4183
4112
|
},
|
4184
4113
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4185
4114
|
"default": "'span'",
|
4186
|
-
"
|
4115
|
+
"attribute": "subtitle-tag-name",
|
4116
|
+
"reflects": true,
|
4187
4117
|
"inheritedFrom": {
|
4188
4118
|
"name": "CardComponentMixin",
|
4189
|
-
"module": "
|
4119
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4190
4120
|
}
|
4191
4121
|
},
|
4192
4122
|
{
|
4193
|
-
"
|
4123
|
+
"kind": "field",
|
4124
|
+
"name": "iconName",
|
4194
4125
|
"type": {
|
4195
4126
|
"text": "IconNames | undefined"
|
4196
4127
|
},
|
4197
4128
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
4198
|
-
"
|
4129
|
+
"attribute": "icon-name",
|
4130
|
+
"reflects": true,
|
4199
4131
|
"inheritedFrom": {
|
4200
4132
|
"name": "CardComponentMixin",
|
4201
|
-
"module": "
|
4133
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4202
4134
|
}
|
4203
4135
|
},
|
4204
4136
|
{
|
4205
|
-
"
|
4206
|
-
"
|
4207
|
-
|
4208
|
-
|
4209
|
-
"
|
4210
|
-
|
4211
|
-
|
4137
|
+
"kind": "method",
|
4138
|
+
"name": "renderImage",
|
4139
|
+
"privacy": "protected",
|
4140
|
+
"description": "Renders the image on the card if image source is provided",
|
4141
|
+
"return": {
|
4142
|
+
"type": {
|
4143
|
+
"text": ""
|
4144
|
+
}
|
4145
|
+
},
|
4146
|
+
"inheritedFrom": {
|
4147
|
+
"name": "CardComponentMixin",
|
4148
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4149
|
+
}
|
4150
|
+
},
|
4151
|
+
{
|
4152
|
+
"kind": "method",
|
4153
|
+
"name": "renderIcon",
|
4154
|
+
"privacy": "protected",
|
4155
|
+
"description": "Renders the icon on the card if icon name is provided",
|
4156
|
+
"return": {
|
4157
|
+
"type": {
|
4158
|
+
"text": ""
|
4159
|
+
}
|
4160
|
+
},
|
4161
|
+
"inheritedFrom": {
|
4162
|
+
"name": "CardComponentMixin",
|
4163
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4164
|
+
}
|
4165
|
+
},
|
4166
|
+
{
|
4167
|
+
"kind": "method",
|
4168
|
+
"name": "renderTitle",
|
4169
|
+
"privacy": "protected",
|
4170
|
+
"description": "Renders the title and subtitle on the card",
|
4171
|
+
"return": {
|
4172
|
+
"type": {
|
4173
|
+
"text": ""
|
4174
|
+
}
|
4175
|
+
},
|
4176
|
+
"inheritedFrom": {
|
4177
|
+
"name": "CardComponentMixin",
|
4178
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4179
|
+
}
|
4180
|
+
},
|
4181
|
+
{
|
4182
|
+
"kind": "field",
|
4183
|
+
"name": "tabIndex",
|
4184
|
+
"type": {
|
4185
|
+
"text": "number"
|
4186
|
+
},
|
4187
|
+
"default": "0",
|
4188
|
+
"description": "This property specifies the tab order of the element.",
|
4189
|
+
"attribute": "tabIndex",
|
4190
|
+
"reflects": true,
|
4212
4191
|
"inheritedFrom": {
|
4213
4192
|
"name": "Buttonsimple",
|
4214
|
-
"module": "
|
4193
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4215
4194
|
}
|
4216
4195
|
},
|
4217
4196
|
{
|
4197
|
+
"kind": "field",
|
4218
4198
|
"name": "disabled",
|
4219
4199
|
"type": {
|
4220
4200
|
"text": "boolean | undefined"
|
4221
4201
|
},
|
4222
4202
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4223
4203
|
"default": "undefined",
|
4224
|
-
"
|
4204
|
+
"attribute": "disabled",
|
4205
|
+
"reflects": true,
|
4225
4206
|
"inheritedFrom": {
|
4226
4207
|
"name": "Buttonsimple",
|
4227
|
-
"module": "
|
4208
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4228
4209
|
}
|
4229
4210
|
},
|
4230
4211
|
{
|
4212
|
+
"kind": "field",
|
4231
4213
|
"name": "active",
|
4232
4214
|
"type": {
|
4233
4215
|
"text": "boolean | undefined"
|
4234
4216
|
},
|
4235
4217
|
"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.",
|
4236
4218
|
"default": "undefined",
|
4237
|
-
"
|
4219
|
+
"attribute": "active",
|
4220
|
+
"reflects": true,
|
4238
4221
|
"inheritedFrom": {
|
4239
4222
|
"name": "Buttonsimple",
|
4240
|
-
"module": "
|
4223
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4241
4224
|
}
|
4242
4225
|
},
|
4243
4226
|
{
|
4244
|
-
"
|
4227
|
+
"kind": "field",
|
4228
|
+
"name": "softDisabled",
|
4245
4229
|
"type": {
|
4246
4230
|
"text": "boolean | undefined"
|
4247
4231
|
},
|
4248
4232
|
"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.",
|
4249
4233
|
"default": "undefined",
|
4250
|
-
"
|
4234
|
+
"attribute": "soft-disabled",
|
4235
|
+
"reflects": true,
|
4251
4236
|
"inheritedFrom": {
|
4252
4237
|
"name": "Buttonsimple",
|
4253
|
-
"module": "
|
4238
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4254
4239
|
}
|
4255
4240
|
},
|
4256
4241
|
{
|
4242
|
+
"kind": "field",
|
4257
4243
|
"name": "size",
|
4258
4244
|
"type": {
|
4259
4245
|
"text": "ButtonSize"
|
4260
4246
|
},
|
4261
4247
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
4262
4248
|
"default": "32",
|
4263
|
-
"
|
4249
|
+
"attribute": "size",
|
4250
|
+
"reflects": true,
|
4264
4251
|
"inheritedFrom": {
|
4265
4252
|
"name": "Buttonsimple",
|
4266
|
-
"module": "
|
4253
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4267
4254
|
}
|
4268
4255
|
},
|
4269
4256
|
{
|
4257
|
+
"kind": "field",
|
4270
4258
|
"name": "role",
|
4271
4259
|
"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.",
|
4272
4260
|
"default": "button",
|
4273
|
-
"
|
4261
|
+
"attribute": "role",
|
4262
|
+
"reflects": true,
|
4274
4263
|
"inheritedFrom": {
|
4275
4264
|
"name": "Buttonsimple",
|
4276
|
-
"module": "
|
4265
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4277
4266
|
}
|
4278
4267
|
},
|
4279
4268
|
{
|
4269
|
+
"kind": "field",
|
4280
4270
|
"name": "ariaStateKey",
|
4281
4271
|
"type": {
|
4282
4272
|
"text": "string | undefined"
|
4283
4273
|
},
|
4284
4274
|
"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`",
|
4285
4275
|
"default": "'aria-pressed' (when)",
|
4286
|
-
"
|
4276
|
+
"attribute": "ariaStateKey",
|
4277
|
+
"reflects": true,
|
4287
4278
|
"inheritedFrom": {
|
4288
4279
|
"name": "Buttonsimple",
|
4289
|
-
"module": "
|
4280
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4290
4281
|
}
|
4291
4282
|
},
|
4292
4283
|
{
|
4284
|
+
"kind": "field",
|
4293
4285
|
"name": "type",
|
4294
4286
|
"type": {
|
4295
4287
|
"text": "ButtonType"
|
4296
4288
|
},
|
4297
4289
|
"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.",
|
4298
4290
|
"default": "button",
|
4299
|
-
"
|
4291
|
+
"attribute": "type",
|
4292
|
+
"reflects": true,
|
4300
4293
|
"inheritedFrom": {
|
4301
4294
|
"name": "Buttonsimple",
|
4302
|
-
"module": "
|
4295
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4303
4296
|
}
|
4304
|
-
}
|
4305
|
-
]
|
4306
|
-
}
|
4307
|
-
],
|
4308
|
-
"exports": [
|
4309
|
-
{
|
4310
|
-
"kind": "js",
|
4311
|
-
"name": "default",
|
4312
|
-
"declaration": {
|
4313
|
-
"name": "CardButton",
|
4314
|
-
"module": "components/cardbutton/cardbutton.component.js"
|
4315
|
-
}
|
4316
|
-
}
|
4317
|
-
]
|
4318
|
-
},
|
4319
|
-
{
|
4320
|
-
"kind": "javascript-module",
|
4321
|
-
"path": "components/card/card.component.js",
|
4322
|
-
"declarations": [
|
4323
|
-
{
|
4324
|
-
"kind": "class",
|
4325
|
-
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of\n`mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
4326
|
-
"name": "Card",
|
4327
|
-
"slots": [
|
4328
|
-
{
|
4329
|
-
"description": "This slot is for passing the content before the body",
|
4330
|
-
"name": "before-body"
|
4331
|
-
},
|
4332
|
-
{
|
4333
|
-
"description": "This slot is for passing the text content for the card",
|
4334
|
-
"name": "body"
|
4335
|
-
},
|
4336
|
-
{
|
4337
|
-
"description": "This slot is for passing the content after the body",
|
4338
|
-
"name": "after-body"
|
4339
|
-
},
|
4340
|
-
{
|
4341
|
-
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
4342
|
-
"name": "footer-link"
|
4343
|
-
},
|
4344
|
-
{
|
4345
|
-
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
4346
|
-
"name": "footer-button-primary"
|
4347
4297
|
},
|
4348
|
-
{
|
4349
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
4350
|
-
"name": "footer-button-secondary"
|
4351
|
-
},
|
4352
|
-
{
|
4353
|
-
"description": "This slot is for passing the content before the body",
|
4354
|
-
"name": "before-body"
|
4355
|
-
},
|
4356
|
-
{
|
4357
|
-
"description": "This slot is for passing the text content for the card",
|
4358
|
-
"name": "body"
|
4359
|
-
},
|
4360
|
-
{
|
4361
|
-
"description": "This slot is for passing the content after the body",
|
4362
|
-
"name": "after-body"
|
4363
|
-
}
|
4364
|
-
],
|
4365
|
-
"members": [
|
4366
4298
|
{
|
4367
4299
|
"kind": "method",
|
4368
|
-
"name": "
|
4300
|
+
"name": "executeAction",
|
4369
4301
|
"privacy": "protected",
|
4370
|
-
"description": "Renders the header of the card if title is provided",
|
4371
|
-
"return": {
|
4372
|
-
"type": {
|
4373
|
-
"text": ""
|
4374
|
-
}
|
4375
|
-
}
|
4376
|
-
},
|
4377
|
-
{
|
4378
|
-
"kind": "field",
|
4379
|
-
"name": "cardTitle",
|
4380
|
-
"type": {
|
4381
|
-
"text": "string"
|
4382
|
-
},
|
4383
|
-
"default": "''",
|
4384
|
-
"description": "The title of the card - part of header section",
|
4385
|
-
"attribute": "card-title",
|
4386
4302
|
"inheritedFrom": {
|
4387
|
-
"name": "
|
4388
|
-
"module": "
|
4389
|
-
}
|
4390
|
-
},
|
4391
|
-
{
|
4392
|
-
"kind": "field",
|
4393
|
-
"name": "subtitle",
|
4394
|
-
"type": {
|
4395
|
-
"text": "string"
|
4396
|
-
},
|
4397
|
-
"default": "''",
|
4398
|
-
"description": "The subtitle of the card - part of header section",
|
4399
|
-
"attribute": "subtitle",
|
4400
|
-
"inheritedFrom": {
|
4401
|
-
"name": "CardComponentMixin",
|
4402
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
4403
|
-
}
|
4404
|
-
},
|
4405
|
-
{
|
4406
|
-
"kind": "field",
|
4407
|
-
"name": "imageSrc",
|
4408
|
-
"type": {
|
4409
|
-
"text": "string"
|
4410
|
-
},
|
4411
|
-
"default": "''",
|
4412
|
-
"description": "The image source URL to render on the card",
|
4413
|
-
"attribute": "image-src",
|
4414
|
-
"inheritedFrom": {
|
4415
|
-
"name": "CardComponentMixin",
|
4416
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
4303
|
+
"name": "Buttonsimple",
|
4304
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4417
4305
|
}
|
4418
4306
|
},
|
4419
4307
|
{
|
4420
|
-
"kind": "
|
4421
|
-
"name": "
|
4422
|
-
"
|
4423
|
-
|
4424
|
-
|
4425
|
-
|
4426
|
-
|
4427
|
-
|
4308
|
+
"kind": "method",
|
4309
|
+
"name": "setActive",
|
4310
|
+
"privacy": "protected",
|
4311
|
+
"parameters": [
|
4312
|
+
{
|
4313
|
+
"name": "element",
|
4314
|
+
"type": {
|
4315
|
+
"text": "HTMLElement"
|
4316
|
+
},
|
4317
|
+
"description": "The button element"
|
4318
|
+
},
|
4319
|
+
{
|
4320
|
+
"name": "active",
|
4321
|
+
"optional": true,
|
4322
|
+
"type": {
|
4323
|
+
"text": "boolean"
|
4324
|
+
},
|
4325
|
+
"description": "The active state of the element"
|
4326
|
+
}
|
4327
|
+
],
|
4328
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
4428
4329
|
"inheritedFrom": {
|
4429
|
-
"name": "
|
4430
|
-
"module": "
|
4330
|
+
"name": "Buttonsimple",
|
4331
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4431
4332
|
}
|
4432
4333
|
},
|
4433
4334
|
{
|
4434
|
-
"kind": "
|
4435
|
-
"name": "
|
4436
|
-
"
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4441
|
-
|
4335
|
+
"kind": "method",
|
4336
|
+
"name": "setSoftDisabled",
|
4337
|
+
"privacy": "private",
|
4338
|
+
"parameters": [
|
4339
|
+
{
|
4340
|
+
"name": "element",
|
4341
|
+
"type": {
|
4342
|
+
"text": "HTMLElement"
|
4343
|
+
},
|
4344
|
+
"description": "The button element."
|
4345
|
+
},
|
4346
|
+
{
|
4347
|
+
"name": "softDisabled",
|
4348
|
+
"optional": true,
|
4349
|
+
"type": {
|
4350
|
+
"text": "boolean"
|
4351
|
+
},
|
4352
|
+
"description": "The soft-disabled state."
|
4353
|
+
}
|
4354
|
+
],
|
4355
|
+
"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.",
|
4442
4356
|
"inheritedFrom": {
|
4443
|
-
"name": "
|
4444
|
-
"module": "
|
4357
|
+
"name": "Buttonsimple",
|
4358
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4445
4359
|
}
|
4446
4360
|
},
|
4447
4361
|
{
|
4448
|
-
"kind": "
|
4449
|
-
"name": "
|
4450
|
-
"
|
4451
|
-
|
4452
|
-
|
4453
|
-
|
4454
|
-
|
4455
|
-
|
4456
|
-
|
4362
|
+
"kind": "method",
|
4363
|
+
"name": "setDisabled",
|
4364
|
+
"privacy": "private",
|
4365
|
+
"parameters": [
|
4366
|
+
{
|
4367
|
+
"name": "element",
|
4368
|
+
"type": {
|
4369
|
+
"text": "HTMLElement"
|
4370
|
+
},
|
4371
|
+
"description": "The button element."
|
4372
|
+
},
|
4373
|
+
{
|
4374
|
+
"name": "disabled",
|
4375
|
+
"type": {
|
4376
|
+
"text": "boolean"
|
4377
|
+
},
|
4378
|
+
"description": "The disabled state."
|
4379
|
+
}
|
4380
|
+
],
|
4381
|
+
"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.",
|
4457
4382
|
"inheritedFrom": {
|
4458
|
-
"name": "
|
4459
|
-
"module": "
|
4383
|
+
"name": "Buttonsimple",
|
4384
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4460
4385
|
}
|
4461
4386
|
},
|
4462
4387
|
{
|
4463
|
-
"kind": "
|
4464
|
-
"name": "
|
4465
|
-
"
|
4466
|
-
"text": "TagNameType"
|
4467
|
-
},
|
4468
|
-
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4469
|
-
"default": "'span'",
|
4470
|
-
"attribute": "title-tag-name",
|
4388
|
+
"kind": "method",
|
4389
|
+
"name": "triggerClickEvent",
|
4390
|
+
"privacy": "private",
|
4471
4391
|
"inheritedFrom": {
|
4472
|
-
"name": "
|
4473
|
-
"module": "
|
4392
|
+
"name": "Buttonsimple",
|
4393
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4474
4394
|
}
|
4475
4395
|
},
|
4476
4396
|
{
|
4477
|
-
"kind": "
|
4478
|
-
"name": "
|
4479
|
-
"
|
4480
|
-
|
4481
|
-
},
|
4482
|
-
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4483
|
-
"default": "'span'",
|
4484
|
-
"attribute": "subtitle-tag-name",
|
4397
|
+
"kind": "method",
|
4398
|
+
"name": "handleBlur",
|
4399
|
+
"privacy": "private",
|
4400
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
4485
4401
|
"inheritedFrom": {
|
4486
|
-
"name": "
|
4487
|
-
"module": "
|
4402
|
+
"name": "Buttonsimple",
|
4403
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4488
4404
|
}
|
4489
4405
|
},
|
4490
4406
|
{
|
4491
|
-
"kind": "
|
4492
|
-
"name": "
|
4493
|
-
"
|
4494
|
-
|
4495
|
-
|
4496
|
-
|
4497
|
-
|
4407
|
+
"kind": "method",
|
4408
|
+
"name": "handleKeyDown",
|
4409
|
+
"privacy": "private",
|
4410
|
+
"parameters": [
|
4411
|
+
{
|
4412
|
+
"name": "event",
|
4413
|
+
"type": {
|
4414
|
+
"text": "KeyboardEvent"
|
4415
|
+
},
|
4416
|
+
"description": "The keyboard event."
|
4417
|
+
}
|
4418
|
+
],
|
4419
|
+
"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.",
|
4498
4420
|
"inheritedFrom": {
|
4499
|
-
"name": "
|
4500
|
-
"module": "
|
4421
|
+
"name": "Buttonsimple",
|
4422
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4501
4423
|
}
|
4502
4424
|
},
|
4503
4425
|
{
|
4504
4426
|
"kind": "method",
|
4505
|
-
"name": "
|
4506
|
-
"privacy": "
|
4507
|
-
"
|
4508
|
-
|
4509
|
-
|
4510
|
-
"
|
4427
|
+
"name": "handleKeyUp",
|
4428
|
+
"privacy": "private",
|
4429
|
+
"parameters": [
|
4430
|
+
{
|
4431
|
+
"name": "event",
|
4432
|
+
"type": {
|
4433
|
+
"text": "KeyboardEvent"
|
4434
|
+
},
|
4435
|
+
"description": "The keyboard event."
|
4511
4436
|
}
|
4512
|
-
|
4437
|
+
],
|
4438
|
+
"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.",
|
4513
4439
|
"inheritedFrom": {
|
4514
|
-
"name": "
|
4515
|
-
"module": "
|
4440
|
+
"name": "Buttonsimple",
|
4441
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4442
|
+
}
|
4443
|
+
}
|
4444
|
+
],
|
4445
|
+
"events": [
|
4446
|
+
{
|
4447
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
4448
|
+
"name": "click",
|
4449
|
+
"reactName": "onClick",
|
4450
|
+
"inheritedFrom": {
|
4451
|
+
"name": "Buttonsimple",
|
4452
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4516
4453
|
}
|
4517
4454
|
},
|
4518
4455
|
{
|
4519
|
-
"
|
4520
|
-
"name": "
|
4521
|
-
"
|
4522
|
-
"description": "Renders the icon on the card if icon name is provided",
|
4523
|
-
"return": {
|
4524
|
-
"type": {
|
4525
|
-
"text": ""
|
4526
|
-
}
|
4527
|
-
},
|
4456
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
4457
|
+
"name": "keydown",
|
4458
|
+
"reactName": "onKeyDown",
|
4528
4459
|
"inheritedFrom": {
|
4529
|
-
"name": "
|
4530
|
-
"module": "
|
4460
|
+
"name": "Buttonsimple",
|
4461
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4531
4462
|
}
|
4532
4463
|
},
|
4533
4464
|
{
|
4534
|
-
"
|
4535
|
-
"name": "
|
4536
|
-
"
|
4537
|
-
"description": "Renders the title and subtitle on the card",
|
4538
|
-
"return": {
|
4539
|
-
"type": {
|
4540
|
-
"text": ""
|
4541
|
-
}
|
4542
|
-
},
|
4465
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
|
4466
|
+
"name": "keyup",
|
4467
|
+
"reactName": "onKeyUp",
|
4543
4468
|
"inheritedFrom": {
|
4544
|
-
"name": "
|
4545
|
-
"module": "
|
4469
|
+
"name": "Buttonsimple",
|
4470
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4546
4471
|
}
|
4547
4472
|
},
|
4548
4473
|
{
|
4549
|
-
"
|
4550
|
-
"name": "
|
4551
|
-
"
|
4552
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
4553
|
-
"return": {
|
4554
|
-
"type": {
|
4555
|
-
"text": ""
|
4556
|
-
}
|
4557
|
-
},
|
4474
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
4475
|
+
"name": "focus",
|
4476
|
+
"reactName": "onFocus",
|
4558
4477
|
"inheritedFrom": {
|
4559
|
-
"name": "
|
4560
|
-
"module": "
|
4478
|
+
"name": "Buttonsimple",
|
4479
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4561
4480
|
}
|
4562
4481
|
}
|
4563
4482
|
],
|
@@ -4565,18 +4484,14 @@
|
|
4565
4484
|
{
|
4566
4485
|
"name": "CardComponentMixin",
|
4567
4486
|
"module": "/src/utils/mixins/CardComponentMixin"
|
4568
|
-
},
|
4569
|
-
{
|
4570
|
-
"name": "CardAndDialogFooterMixin",
|
4571
|
-
"module": "/src/utils/mixins/CardAndDialogFooterMixin"
|
4572
4487
|
}
|
4573
4488
|
],
|
4574
4489
|
"superclass": {
|
4575
|
-
"name": "
|
4576
|
-
"module": "/src/
|
4490
|
+
"name": "Buttonsimple",
|
4491
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
4577
4492
|
},
|
4578
|
-
"tagName": "mdc-
|
4579
|
-
"jsDoc": "/**\n *
|
4493
|
+
"tagName": "mdc-cardbutton",
|
4494
|
+
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
|
4580
4495
|
"customElement": true,
|
4581
4496
|
"attributes": [
|
4582
4497
|
{
|
@@ -4694,6 +4609,107 @@
|
|
4694
4609
|
"name": "CardComponentMixin",
|
4695
4610
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
4696
4611
|
}
|
4612
|
+
},
|
4613
|
+
{
|
4614
|
+
"name": "tabIndex",
|
4615
|
+
"type": {
|
4616
|
+
"text": "number"
|
4617
|
+
},
|
4618
|
+
"default": "0",
|
4619
|
+
"description": "This property specifies the tab order of the element.",
|
4620
|
+
"fieldName": "tabIndex",
|
4621
|
+
"inheritedFrom": {
|
4622
|
+
"name": "Buttonsimple",
|
4623
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4624
|
+
}
|
4625
|
+
},
|
4626
|
+
{
|
4627
|
+
"name": "disabled",
|
4628
|
+
"type": {
|
4629
|
+
"text": "boolean | undefined"
|
4630
|
+
},
|
4631
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4632
|
+
"default": "undefined",
|
4633
|
+
"fieldName": "disabled",
|
4634
|
+
"inheritedFrom": {
|
4635
|
+
"name": "Buttonsimple",
|
4636
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4637
|
+
}
|
4638
|
+
},
|
4639
|
+
{
|
4640
|
+
"name": "active",
|
4641
|
+
"type": {
|
4642
|
+
"text": "boolean | undefined"
|
4643
|
+
},
|
4644
|
+
"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.",
|
4645
|
+
"default": "undefined",
|
4646
|
+
"fieldName": "active",
|
4647
|
+
"inheritedFrom": {
|
4648
|
+
"name": "Buttonsimple",
|
4649
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4650
|
+
}
|
4651
|
+
},
|
4652
|
+
{
|
4653
|
+
"name": "soft-disabled",
|
4654
|
+
"type": {
|
4655
|
+
"text": "boolean | undefined"
|
4656
|
+
},
|
4657
|
+
"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.",
|
4658
|
+
"default": "undefined",
|
4659
|
+
"fieldName": "softDisabled",
|
4660
|
+
"inheritedFrom": {
|
4661
|
+
"name": "Buttonsimple",
|
4662
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4663
|
+
}
|
4664
|
+
},
|
4665
|
+
{
|
4666
|
+
"name": "size",
|
4667
|
+
"type": {
|
4668
|
+
"text": "ButtonSize"
|
4669
|
+
},
|
4670
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
4671
|
+
"default": "32",
|
4672
|
+
"fieldName": "size",
|
4673
|
+
"inheritedFrom": {
|
4674
|
+
"name": "Buttonsimple",
|
4675
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4676
|
+
}
|
4677
|
+
},
|
4678
|
+
{
|
4679
|
+
"name": "role",
|
4680
|
+
"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.",
|
4681
|
+
"default": "button",
|
4682
|
+
"fieldName": "role",
|
4683
|
+
"inheritedFrom": {
|
4684
|
+
"name": "Buttonsimple",
|
4685
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4686
|
+
}
|
4687
|
+
},
|
4688
|
+
{
|
4689
|
+
"name": "ariaStateKey",
|
4690
|
+
"type": {
|
4691
|
+
"text": "string | undefined"
|
4692
|
+
},
|
4693
|
+
"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`",
|
4694
|
+
"default": "'aria-pressed' (when)",
|
4695
|
+
"fieldName": "ariaStateKey",
|
4696
|
+
"inheritedFrom": {
|
4697
|
+
"name": "Buttonsimple",
|
4698
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4699
|
+
}
|
4700
|
+
},
|
4701
|
+
{
|
4702
|
+
"name": "type",
|
4703
|
+
"type": {
|
4704
|
+
"text": "ButtonType"
|
4705
|
+
},
|
4706
|
+
"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.",
|
4707
|
+
"default": "button",
|
4708
|
+
"fieldName": "type",
|
4709
|
+
"inheritedFrom": {
|
4710
|
+
"name": "Buttonsimple",
|
4711
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4712
|
+
}
|
4697
4713
|
}
|
4698
4714
|
]
|
4699
4715
|
}
|
@@ -4703,8 +4719,8 @@
|
|
4703
4719
|
"kind": "js",
|
4704
4720
|
"name": "default",
|
4705
4721
|
"declaration": {
|
4706
|
-
"name": "
|
4707
|
-
"module": "components/
|
4722
|
+
"name": "CardButton",
|
4723
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
4708
4724
|
}
|
4709
4725
|
}
|
4710
4726
|
]
|
@@ -4787,7 +4803,8 @@
|
|
4787
4803
|
},
|
4788
4804
|
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
4789
4805
|
"default": "'check'",
|
4790
|
-
"attribute": "selection-type"
|
4806
|
+
"attribute": "selection-type",
|
4807
|
+
"reflects": true
|
4791
4808
|
},
|
4792
4809
|
{
|
4793
4810
|
"kind": "method",
|
@@ -4890,6 +4907,7 @@
|
|
4890
4907
|
"default": "''",
|
4891
4908
|
"description": "The title of the card - part of header section",
|
4892
4909
|
"attribute": "card-title",
|
4910
|
+
"reflects": true,
|
4893
4911
|
"inheritedFrom": {
|
4894
4912
|
"name": "Card",
|
4895
4913
|
"module": "components/card/card.component.js"
|
@@ -4904,6 +4922,7 @@
|
|
4904
4922
|
"default": "''",
|
4905
4923
|
"description": "The subtitle of the card - part of header section",
|
4906
4924
|
"attribute": "subtitle",
|
4925
|
+
"reflects": true,
|
4907
4926
|
"inheritedFrom": {
|
4908
4927
|
"name": "Card",
|
4909
4928
|
"module": "components/card/card.component.js"
|
@@ -4918,6 +4937,7 @@
|
|
4918
4937
|
"default": "''",
|
4919
4938
|
"description": "The image source URL to render on the card",
|
4920
4939
|
"attribute": "image-src",
|
4940
|
+
"reflects": true,
|
4921
4941
|
"inheritedFrom": {
|
4922
4942
|
"name": "Card",
|
4923
4943
|
"module": "components/card/card.component.js"
|
@@ -4932,6 +4952,7 @@
|
|
4932
4952
|
"default": "''",
|
4933
4953
|
"description": "The image alt for accessibility support",
|
4934
4954
|
"attribute": "image-alt",
|
4955
|
+
"reflects": true,
|
4935
4956
|
"inheritedFrom": {
|
4936
4957
|
"name": "Card",
|
4937
4958
|
"module": "components/card/card.component.js"
|
@@ -4946,6 +4967,7 @@
|
|
4946
4967
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
4947
4968
|
"default": "'border'",
|
4948
4969
|
"attribute": "variant",
|
4970
|
+
"reflects": true,
|
4949
4971
|
"inheritedFrom": {
|
4950
4972
|
"name": "Card",
|
4951
4973
|
"module": "components/card/card.component.js"
|
@@ -4975,6 +4997,7 @@
|
|
4975
4997
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4976
4998
|
"default": "'span'",
|
4977
4999
|
"attribute": "title-tag-name",
|
5000
|
+
"reflects": true,
|
4978
5001
|
"inheritedFrom": {
|
4979
5002
|
"name": "Card",
|
4980
5003
|
"module": "components/card/card.component.js"
|
@@ -4989,6 +5012,7 @@
|
|
4989
5012
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4990
5013
|
"default": "'span'",
|
4991
5014
|
"attribute": "subtitle-tag-name",
|
5015
|
+
"reflects": true,
|
4992
5016
|
"inheritedFrom": {
|
4993
5017
|
"name": "Card",
|
4994
5018
|
"module": "components/card/card.component.js"
|
@@ -5002,6 +5026,7 @@
|
|
5002
5026
|
},
|
5003
5027
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5004
5028
|
"attribute": "icon-name",
|
5029
|
+
"reflects": true,
|
5005
5030
|
"inheritedFrom": {
|
5006
5031
|
"name": "Card",
|
5007
5032
|
"module": "components/card/card.component.js"
|
@@ -5389,6 +5414,47 @@
|
|
5389
5414
|
},
|
5390
5415
|
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
5391
5416
|
},
|
5417
|
+
{
|
5418
|
+
"kind": "method",
|
5419
|
+
"name": "setDisabled",
|
5420
|
+
"return": {
|
5421
|
+
"type": {
|
5422
|
+
"text": "void"
|
5423
|
+
}
|
5424
|
+
},
|
5425
|
+
"parameters": [
|
5426
|
+
{
|
5427
|
+
"name": "disabled",
|
5428
|
+
"type": {
|
5429
|
+
"text": "boolean"
|
5430
|
+
}
|
5431
|
+
}
|
5432
|
+
]
|
5433
|
+
},
|
5434
|
+
{
|
5435
|
+
"kind": "method",
|
5436
|
+
"name": "updateCardRadio",
|
5437
|
+
"privacy": "private",
|
5438
|
+
"return": {
|
5439
|
+
"type": {
|
5440
|
+
"text": "void"
|
5441
|
+
}
|
5442
|
+
},
|
5443
|
+
"parameters": [
|
5444
|
+
{
|
5445
|
+
"name": "cards",
|
5446
|
+
"type": {
|
5447
|
+
"text": "CardRadio[]"
|
5448
|
+
}
|
5449
|
+
},
|
5450
|
+
{
|
5451
|
+
"name": "index",
|
5452
|
+
"type": {
|
5453
|
+
"text": "number"
|
5454
|
+
}
|
5455
|
+
}
|
5456
|
+
]
|
5457
|
+
},
|
5392
5458
|
{
|
5393
5459
|
"kind": "method",
|
5394
5460
|
"name": "toggleOnEnter",
|
@@ -5473,6 +5539,7 @@
|
|
5473
5539
|
"default": "''",
|
5474
5540
|
"description": "The title of the card - part of header section",
|
5475
5541
|
"attribute": "card-title",
|
5542
|
+
"reflects": true,
|
5476
5543
|
"inheritedFrom": {
|
5477
5544
|
"name": "Card",
|
5478
5545
|
"module": "components/card/card.component.js"
|
@@ -5487,6 +5554,7 @@
|
|
5487
5554
|
"default": "''",
|
5488
5555
|
"description": "The subtitle of the card - part of header section",
|
5489
5556
|
"attribute": "subtitle",
|
5557
|
+
"reflects": true,
|
5490
5558
|
"inheritedFrom": {
|
5491
5559
|
"name": "Card",
|
5492
5560
|
"module": "components/card/card.component.js"
|
@@ -5501,6 +5569,7 @@
|
|
5501
5569
|
"default": "''",
|
5502
5570
|
"description": "The image source URL to render on the card",
|
5503
5571
|
"attribute": "image-src",
|
5572
|
+
"reflects": true,
|
5504
5573
|
"inheritedFrom": {
|
5505
5574
|
"name": "Card",
|
5506
5575
|
"module": "components/card/card.component.js"
|
@@ -5515,6 +5584,7 @@
|
|
5515
5584
|
"default": "''",
|
5516
5585
|
"description": "The image alt for accessibility support",
|
5517
5586
|
"attribute": "image-alt",
|
5587
|
+
"reflects": true,
|
5518
5588
|
"inheritedFrom": {
|
5519
5589
|
"name": "Card",
|
5520
5590
|
"module": "components/card/card.component.js"
|
@@ -5529,6 +5599,7 @@
|
|
5529
5599
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
5530
5600
|
"default": "'border'",
|
5531
5601
|
"attribute": "variant",
|
5602
|
+
"reflects": true,
|
5532
5603
|
"inheritedFrom": {
|
5533
5604
|
"name": "Card",
|
5534
5605
|
"module": "components/card/card.component.js"
|
@@ -5558,6 +5629,7 @@
|
|
5558
5629
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
5559
5630
|
"default": "'span'",
|
5560
5631
|
"attribute": "title-tag-name",
|
5632
|
+
"reflects": true,
|
5561
5633
|
"inheritedFrom": {
|
5562
5634
|
"name": "Card",
|
5563
5635
|
"module": "components/card/card.component.js"
|
@@ -5572,6 +5644,7 @@
|
|
5572
5644
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
5573
5645
|
"default": "'span'",
|
5574
5646
|
"attribute": "subtitle-tag-name",
|
5647
|
+
"reflects": true,
|
5575
5648
|
"inheritedFrom": {
|
5576
5649
|
"name": "Card",
|
5577
5650
|
"module": "components/card/card.component.js"
|
@@ -5585,6 +5658,7 @@
|
|
5585
5658
|
},
|
5586
5659
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5587
5660
|
"attribute": "icon-name",
|
5661
|
+
"reflects": true,
|
5588
5662
|
"inheritedFrom": {
|
5589
5663
|
"name": "Card",
|
5590
5664
|
"module": "components/card/card.component.js"
|
@@ -29802,7 +29876,8 @@
|
|
29802
29876
|
},
|
29803
29877
|
"default": "''",
|
29804
29878
|
"description": "The title of the card - part of header section",
|
29805
|
-
"attribute": "card-title"
|
29879
|
+
"attribute": "card-title",
|
29880
|
+
"reflects": true
|
29806
29881
|
},
|
29807
29882
|
{
|
29808
29883
|
"kind": "field",
|
@@ -29812,7 +29887,8 @@
|
|
29812
29887
|
},
|
29813
29888
|
"default": "''",
|
29814
29889
|
"description": "The subtitle of the card - part of header section",
|
29815
|
-
"attribute": "subtitle"
|
29890
|
+
"attribute": "subtitle",
|
29891
|
+
"reflects": true
|
29816
29892
|
},
|
29817
29893
|
{
|
29818
29894
|
"kind": "field",
|
@@ -29822,7 +29898,8 @@
|
|
29822
29898
|
},
|
29823
29899
|
"default": "''",
|
29824
29900
|
"description": "The image source URL to render on the card",
|
29825
|
-
"attribute": "image-src"
|
29901
|
+
"attribute": "image-src",
|
29902
|
+
"reflects": true
|
29826
29903
|
},
|
29827
29904
|
{
|
29828
29905
|
"kind": "field",
|
@@ -29832,7 +29909,8 @@
|
|
29832
29909
|
},
|
29833
29910
|
"default": "''",
|
29834
29911
|
"description": "The image alt for accessibility support",
|
29835
|
-
"attribute": "image-alt"
|
29912
|
+
"attribute": "image-alt",
|
29913
|
+
"reflects": true
|
29836
29914
|
},
|
29837
29915
|
{
|
29838
29916
|
"kind": "field",
|
@@ -29842,7 +29920,8 @@
|
|
29842
29920
|
},
|
29843
29921
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
29844
29922
|
"default": "'border'",
|
29845
|
-
"attribute": "variant"
|
29923
|
+
"attribute": "variant",
|
29924
|
+
"reflects": true
|
29846
29925
|
},
|
29847
29926
|
{
|
29848
29927
|
"kind": "field",
|
@@ -29863,7 +29942,8 @@
|
|
29863
29942
|
},
|
29864
29943
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
29865
29944
|
"default": "'span'",
|
29866
|
-
"attribute": "title-tag-name"
|
29945
|
+
"attribute": "title-tag-name",
|
29946
|
+
"reflects": true
|
29867
29947
|
},
|
29868
29948
|
{
|
29869
29949
|
"kind": "field",
|
@@ -29873,7 +29953,8 @@
|
|
29873
29953
|
},
|
29874
29954
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
29875
29955
|
"default": "'span'",
|
29876
|
-
"attribute": "subtitle-tag-name"
|
29956
|
+
"attribute": "subtitle-tag-name",
|
29957
|
+
"reflects": true
|
29877
29958
|
},
|
29878
29959
|
{
|
29879
29960
|
"kind": "field",
|
@@ -29882,7 +29963,8 @@
|
|
29882
29963
|
"text": "IconNames | undefined"
|
29883
29964
|
},
|
29884
29965
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
29885
|
-
"attribute": "icon-name"
|
29966
|
+
"attribute": "icon-name",
|
29967
|
+
"reflects": true
|
29886
29968
|
},
|
29887
29969
|
{
|
29888
29970
|
"kind": "method",
|