@momentum-design/components 0.120.33 → 0.120.34
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 +12 -2
- package/dist/browser/index.js.map +2 -2
- package/dist/components/avatar/avatar.styles.js +1 -0
- package/dist/components/inputchip/inputchip.component.d.ts +6 -3
- package/dist/components/inputchip/inputchip.component.js +14 -7
- package/dist/components/inputchip/inputchip.styles.js +5 -0
- package/dist/custom-elements.json +730 -724
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/inputchip/index.d.ts +3 -0
- package/dist/react/inputchip/index.js +3 -0
- package/package.json +1 -1
|
@@ -7214,48 +7214,16 @@
|
|
|
7214
7214
|
},
|
|
7215
7215
|
{
|
|
7216
7216
|
"kind": "javascript-module",
|
|
7217
|
-
"path": "components/
|
|
7217
|
+
"path": "components/card/card.component.js",
|
|
7218
7218
|
"declarations": [
|
|
7219
7219
|
{
|
|
7220
7220
|
"kind": "class",
|
|
7221
|
-
"description": "
|
|
7222
|
-
"name": "
|
|
7221
|
+
"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. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\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 `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'.",
|
|
7222
|
+
"name": "Card",
|
|
7223
7223
|
"cssProperties": [
|
|
7224
7224
|
{
|
|
7225
7225
|
"description": "The width of the card",
|
|
7226
7226
|
"name": "--mdc-card-width"
|
|
7227
|
-
},
|
|
7228
|
-
{
|
|
7229
|
-
"description": "Height for button size",
|
|
7230
|
-
"name": "--mdc-button-height",
|
|
7231
|
-
"inheritedFrom": {
|
|
7232
|
-
"name": "Buttonsimple",
|
|
7233
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7234
|
-
}
|
|
7235
|
-
},
|
|
7236
|
-
{
|
|
7237
|
-
"description": "Background color of the button",
|
|
7238
|
-
"name": "--mdc-button-background",
|
|
7239
|
-
"inheritedFrom": {
|
|
7240
|
-
"name": "Buttonsimple",
|
|
7241
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7242
|
-
}
|
|
7243
|
-
},
|
|
7244
|
-
{
|
|
7245
|
-
"description": "Borer color of the button",
|
|
7246
|
-
"name": "--mdc-button-border-color",
|
|
7247
|
-
"inheritedFrom": {
|
|
7248
|
-
"name": "Buttonsimple",
|
|
7249
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7250
|
-
}
|
|
7251
|
-
},
|
|
7252
|
-
{
|
|
7253
|
-
"description": "Text color of the button",
|
|
7254
|
-
"name": "--mdc-button-text-color",
|
|
7255
|
-
"inheritedFrom": {
|
|
7256
|
-
"name": "Buttonsimple",
|
|
7257
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7258
|
-
}
|
|
7259
7227
|
}
|
|
7260
7228
|
],
|
|
7261
7229
|
"cssParts": [
|
|
@@ -7320,6 +7288,14 @@
|
|
|
7320
7288
|
{
|
|
7321
7289
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7322
7290
|
"name": "footer-button-primary"
|
|
7291
|
+
},
|
|
7292
|
+
{
|
|
7293
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7294
|
+
"name": "footer-button-secondary"
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"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.",
|
|
7298
|
+
"name": "footer"
|
|
7323
7299
|
}
|
|
7324
7300
|
],
|
|
7325
7301
|
"members": [
|
|
@@ -7514,651 +7490,214 @@
|
|
|
7514
7490
|
}
|
|
7515
7491
|
},
|
|
7516
7492
|
{
|
|
7517
|
-
"kind": "
|
|
7518
|
-
"name": "
|
|
7519
|
-
"
|
|
7520
|
-
|
|
7493
|
+
"kind": "method",
|
|
7494
|
+
"name": "renderFooter",
|
|
7495
|
+
"privacy": "protected",
|
|
7496
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
7497
|
+
"return": {
|
|
7498
|
+
"type": {
|
|
7499
|
+
"text": ""
|
|
7500
|
+
}
|
|
7521
7501
|
},
|
|
7522
|
-
"default": "false",
|
|
7523
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
7524
|
-
"attribute": "auto-focus-on-mount",
|
|
7525
|
-
"reflects": true,
|
|
7526
7502
|
"inheritedFrom": {
|
|
7527
|
-
"name": "
|
|
7528
|
-
"module": "
|
|
7503
|
+
"name": "FooterMixin",
|
|
7504
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
7529
7505
|
}
|
|
7506
|
+
}
|
|
7507
|
+
],
|
|
7508
|
+
"mixins": [
|
|
7509
|
+
{
|
|
7510
|
+
"name": "CardComponentMixin",
|
|
7511
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7530
7512
|
},
|
|
7531
7513
|
{
|
|
7532
|
-
"
|
|
7533
|
-
"
|
|
7514
|
+
"name": "FooterMixin",
|
|
7515
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
7516
|
+
}
|
|
7517
|
+
],
|
|
7518
|
+
"superclass": {
|
|
7519
|
+
"name": "Component",
|
|
7520
|
+
"module": "/src/models"
|
|
7521
|
+
},
|
|
7522
|
+
"tagName": "mdc-card",
|
|
7523
|
+
"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. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\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 `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 * @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 *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
7524
|
+
"customElement": true,
|
|
7525
|
+
"attributes": [
|
|
7526
|
+
{
|
|
7527
|
+
"name": "card-title",
|
|
7534
7528
|
"type": {
|
|
7535
|
-
"text": "
|
|
7529
|
+
"text": "string"
|
|
7536
7530
|
},
|
|
7537
|
-
"default": "
|
|
7538
|
-
"description": "
|
|
7539
|
-
"
|
|
7540
|
-
"reflects": true,
|
|
7531
|
+
"default": "''",
|
|
7532
|
+
"description": "The title of the card - part of header section",
|
|
7533
|
+
"fieldName": "cardTitle",
|
|
7541
7534
|
"inheritedFrom": {
|
|
7542
|
-
"name": "
|
|
7543
|
-
"module": "
|
|
7535
|
+
"name": "CardComponentMixin",
|
|
7536
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7544
7537
|
}
|
|
7545
7538
|
},
|
|
7546
7539
|
{
|
|
7547
|
-
"
|
|
7548
|
-
"name": "disabled",
|
|
7540
|
+
"name": "subtitle",
|
|
7549
7541
|
"type": {
|
|
7550
|
-
"text": "
|
|
7542
|
+
"text": "string"
|
|
7551
7543
|
},
|
|
7552
|
-
"
|
|
7553
|
-
"
|
|
7554
|
-
"
|
|
7555
|
-
"reflects": true,
|
|
7544
|
+
"default": "''",
|
|
7545
|
+
"description": "The subtitle of the card - part of header section",
|
|
7546
|
+
"fieldName": "subtitle",
|
|
7556
7547
|
"inheritedFrom": {
|
|
7557
|
-
"name": "
|
|
7558
|
-
"module": "
|
|
7548
|
+
"name": "CardComponentMixin",
|
|
7549
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7559
7550
|
}
|
|
7560
7551
|
},
|
|
7561
7552
|
{
|
|
7562
|
-
"
|
|
7563
|
-
"name": "active",
|
|
7553
|
+
"name": "image-src",
|
|
7564
7554
|
"type": {
|
|
7565
|
-
"text": "
|
|
7555
|
+
"text": "string"
|
|
7566
7556
|
},
|
|
7567
|
-
"
|
|
7568
|
-
"
|
|
7569
|
-
"
|
|
7570
|
-
"reflects": true,
|
|
7557
|
+
"default": "''",
|
|
7558
|
+
"description": "The image source URL to render on the card",
|
|
7559
|
+
"fieldName": "imageSrc",
|
|
7571
7560
|
"inheritedFrom": {
|
|
7572
|
-
"name": "
|
|
7573
|
-
"module": "
|
|
7561
|
+
"name": "CardComponentMixin",
|
|
7562
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7574
7563
|
}
|
|
7575
7564
|
},
|
|
7576
7565
|
{
|
|
7577
|
-
"
|
|
7578
|
-
"name": "softDisabled",
|
|
7566
|
+
"name": "image-alt",
|
|
7579
7567
|
"type": {
|
|
7580
|
-
"text": "
|
|
7568
|
+
"text": "string"
|
|
7581
7569
|
},
|
|
7582
|
-
"
|
|
7583
|
-
"
|
|
7584
|
-
"
|
|
7585
|
-
"reflects": true,
|
|
7570
|
+
"default": "''",
|
|
7571
|
+
"description": "The image alt for accessibility support",
|
|
7572
|
+
"fieldName": "imageAlt",
|
|
7586
7573
|
"inheritedFrom": {
|
|
7587
|
-
"name": "
|
|
7588
|
-
"module": "
|
|
7574
|
+
"name": "CardComponentMixin",
|
|
7575
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7589
7576
|
}
|
|
7590
7577
|
},
|
|
7591
7578
|
{
|
|
7592
|
-
"
|
|
7593
|
-
"name": "size",
|
|
7579
|
+
"name": "variant",
|
|
7594
7580
|
"type": {
|
|
7595
|
-
"text": "
|
|
7581
|
+
"text": "CardVariant"
|
|
7596
7582
|
},
|
|
7597
|
-
"description": "
|
|
7598
|
-
"default": "
|
|
7599
|
-
"
|
|
7600
|
-
"reflects": true,
|
|
7583
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7584
|
+
"default": "'border'",
|
|
7585
|
+
"fieldName": "variant",
|
|
7601
7586
|
"inheritedFrom": {
|
|
7602
|
-
"name": "
|
|
7603
|
-
"module": "
|
|
7587
|
+
"name": "CardComponentMixin",
|
|
7588
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7604
7589
|
}
|
|
7605
7590
|
},
|
|
7606
7591
|
{
|
|
7607
|
-
"
|
|
7608
|
-
"name": "role",
|
|
7592
|
+
"name": "orientation",
|
|
7609
7593
|
"type": {
|
|
7610
|
-
"text": "
|
|
7594
|
+
"text": "CardOrientation"
|
|
7611
7595
|
},
|
|
7612
|
-
"description": "
|
|
7613
|
-
"default": "
|
|
7614
|
-
"
|
|
7615
|
-
"reflects": true,
|
|
7596
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7597
|
+
"default": "'vertical'",
|
|
7598
|
+
"fieldName": "orientation",
|
|
7616
7599
|
"inheritedFrom": {
|
|
7617
|
-
"name": "
|
|
7618
|
-
"module": "
|
|
7600
|
+
"name": "CardComponentMixin",
|
|
7601
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7619
7602
|
}
|
|
7620
7603
|
},
|
|
7621
7604
|
{
|
|
7622
|
-
"
|
|
7623
|
-
"name": "ariaStateKey",
|
|
7605
|
+
"name": "title-tag-name",
|
|
7624
7606
|
"type": {
|
|
7625
|
-
"text": "
|
|
7607
|
+
"text": "TagNameType"
|
|
7626
7608
|
},
|
|
7627
|
-
"description": "
|
|
7628
|
-
"default": "'
|
|
7629
|
-
"
|
|
7630
|
-
"reflects": true,
|
|
7609
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7610
|
+
"default": "'span'",
|
|
7611
|
+
"fieldName": "titleTagName",
|
|
7631
7612
|
"inheritedFrom": {
|
|
7632
|
-
"name": "
|
|
7633
|
-
"module": "
|
|
7613
|
+
"name": "CardComponentMixin",
|
|
7614
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7634
7615
|
}
|
|
7635
7616
|
},
|
|
7636
7617
|
{
|
|
7637
|
-
"
|
|
7638
|
-
"name": "type",
|
|
7618
|
+
"name": "subtitle-tag-name",
|
|
7639
7619
|
"type": {
|
|
7640
|
-
"text": "
|
|
7620
|
+
"text": "TagNameType"
|
|
7641
7621
|
},
|
|
7642
|
-
"description": "
|
|
7643
|
-
"default": "
|
|
7644
|
-
"
|
|
7645
|
-
"reflects": true,
|
|
7622
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7623
|
+
"default": "'span'",
|
|
7624
|
+
"fieldName": "subtitleTagName",
|
|
7646
7625
|
"inheritedFrom": {
|
|
7647
|
-
"name": "
|
|
7648
|
-
"module": "
|
|
7626
|
+
"name": "CardComponentMixin",
|
|
7627
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7649
7628
|
}
|
|
7650
7629
|
},
|
|
7651
7630
|
{
|
|
7652
|
-
"
|
|
7653
|
-
"name": "name",
|
|
7631
|
+
"name": "icon-name",
|
|
7654
7632
|
"type": {
|
|
7655
|
-
"text": "
|
|
7633
|
+
"text": "IconNames | undefined"
|
|
7656
7634
|
},
|
|
7657
|
-
"description": "
|
|
7658
|
-
"
|
|
7659
|
-
"reflects": true,
|
|
7635
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7636
|
+
"fieldName": "iconName",
|
|
7660
7637
|
"inheritedFrom": {
|
|
7661
|
-
"name": "
|
|
7662
|
-
"module": "
|
|
7638
|
+
"name": "CardComponentMixin",
|
|
7639
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7663
7640
|
}
|
|
7641
|
+
}
|
|
7642
|
+
]
|
|
7643
|
+
}
|
|
7644
|
+
],
|
|
7645
|
+
"exports": [
|
|
7646
|
+
{
|
|
7647
|
+
"kind": "js",
|
|
7648
|
+
"name": "default",
|
|
7649
|
+
"declaration": {
|
|
7650
|
+
"name": "Card",
|
|
7651
|
+
"module": "components/card/card.component.js"
|
|
7652
|
+
}
|
|
7653
|
+
}
|
|
7654
|
+
]
|
|
7655
|
+
},
|
|
7656
|
+
{
|
|
7657
|
+
"kind": "javascript-module",
|
|
7658
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
7659
|
+
"declarations": [
|
|
7660
|
+
{
|
|
7661
|
+
"kind": "class",
|
|
7662
|
+
"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.",
|
|
7663
|
+
"name": "CardButton",
|
|
7664
|
+
"cssProperties": [
|
|
7665
|
+
{
|
|
7666
|
+
"description": "The width of the card",
|
|
7667
|
+
"name": "--mdc-card-width"
|
|
7664
7668
|
},
|
|
7665
7669
|
{
|
|
7666
|
-
"
|
|
7667
|
-
"name": "
|
|
7668
|
-
"type": {
|
|
7669
|
-
"text": "string | undefined"
|
|
7670
|
-
},
|
|
7671
|
-
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
7672
|
-
"attribute": "value",
|
|
7673
|
-
"reflects": true,
|
|
7674
|
-
"inheritedFrom": {
|
|
7675
|
-
"name": "Buttonsimple",
|
|
7676
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7677
|
-
}
|
|
7678
|
-
},
|
|
7679
|
-
{
|
|
7680
|
-
"kind": "method",
|
|
7681
|
-
"name": "executeAction",
|
|
7682
|
-
"privacy": "protected",
|
|
7683
|
-
"inheritedFrom": {
|
|
7684
|
-
"name": "Buttonsimple",
|
|
7685
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7686
|
-
}
|
|
7687
|
-
},
|
|
7688
|
-
{
|
|
7689
|
-
"kind": "method",
|
|
7690
|
-
"name": "setActive",
|
|
7691
|
-
"privacy": "protected",
|
|
7692
|
-
"parameters": [
|
|
7693
|
-
{
|
|
7694
|
-
"name": "element",
|
|
7695
|
-
"type": {
|
|
7696
|
-
"text": "HTMLElement"
|
|
7697
|
-
},
|
|
7698
|
-
"description": "The button element"
|
|
7699
|
-
},
|
|
7700
|
-
{
|
|
7701
|
-
"name": "active",
|
|
7702
|
-
"optional": true,
|
|
7703
|
-
"type": {
|
|
7704
|
-
"text": "boolean"
|
|
7705
|
-
},
|
|
7706
|
-
"description": "The active state of the element"
|
|
7707
|
-
}
|
|
7708
|
-
],
|
|
7709
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
7710
|
-
"inheritedFrom": {
|
|
7711
|
-
"name": "Buttonsimple",
|
|
7712
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7713
|
-
}
|
|
7714
|
-
},
|
|
7715
|
-
{
|
|
7716
|
-
"kind": "method",
|
|
7717
|
-
"name": "setSoftDisabled",
|
|
7718
|
-
"privacy": "private",
|
|
7719
|
-
"parameters": [
|
|
7720
|
-
{
|
|
7721
|
-
"name": "element",
|
|
7722
|
-
"type": {
|
|
7723
|
-
"text": "HTMLElement"
|
|
7724
|
-
},
|
|
7725
|
-
"description": "The button element."
|
|
7726
|
-
},
|
|
7727
|
-
{
|
|
7728
|
-
"name": "softDisabled",
|
|
7729
|
-
"optional": true,
|
|
7730
|
-
"type": {
|
|
7731
|
-
"text": "boolean"
|
|
7732
|
-
},
|
|
7733
|
-
"description": "The soft-disabled state."
|
|
7734
|
-
}
|
|
7735
|
-
],
|
|
7736
|
-
"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.",
|
|
7737
|
-
"inheritedFrom": {
|
|
7738
|
-
"name": "Buttonsimple",
|
|
7739
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7740
|
-
}
|
|
7741
|
-
},
|
|
7742
|
-
{
|
|
7743
|
-
"kind": "method",
|
|
7744
|
-
"name": "setDisabled",
|
|
7745
|
-
"privacy": "private",
|
|
7746
|
-
"parameters": [
|
|
7747
|
-
{
|
|
7748
|
-
"name": "element",
|
|
7749
|
-
"type": {
|
|
7750
|
-
"text": "HTMLElement"
|
|
7751
|
-
},
|
|
7752
|
-
"description": "The button element."
|
|
7753
|
-
},
|
|
7754
|
-
{
|
|
7755
|
-
"name": "disabled",
|
|
7756
|
-
"type": {
|
|
7757
|
-
"text": "boolean"
|
|
7758
|
-
},
|
|
7759
|
-
"description": "The disabled state."
|
|
7760
|
-
}
|
|
7761
|
-
],
|
|
7762
|
-
"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.",
|
|
7763
|
-
"inheritedFrom": {
|
|
7764
|
-
"name": "Buttonsimple",
|
|
7765
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7766
|
-
}
|
|
7767
|
-
},
|
|
7768
|
-
{
|
|
7769
|
-
"kind": "method",
|
|
7770
|
-
"name": "triggerClickEvent",
|
|
7771
|
-
"privacy": "private",
|
|
7772
|
-
"inheritedFrom": {
|
|
7773
|
-
"name": "Buttonsimple",
|
|
7774
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7775
|
-
}
|
|
7776
|
-
},
|
|
7777
|
-
{
|
|
7778
|
-
"kind": "method",
|
|
7779
|
-
"name": "handleBlur",
|
|
7780
|
-
"privacy": "private",
|
|
7781
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
7782
|
-
"inheritedFrom": {
|
|
7783
|
-
"name": "Buttonsimple",
|
|
7784
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7785
|
-
}
|
|
7786
|
-
},
|
|
7787
|
-
{
|
|
7788
|
-
"kind": "method",
|
|
7789
|
-
"name": "handleKeyDown",
|
|
7790
|
-
"privacy": "private",
|
|
7791
|
-
"parameters": [
|
|
7792
|
-
{
|
|
7793
|
-
"name": "event",
|
|
7794
|
-
"type": {
|
|
7795
|
-
"text": "KeyboardEvent"
|
|
7796
|
-
},
|
|
7797
|
-
"description": "The keyboard event."
|
|
7798
|
-
}
|
|
7799
|
-
],
|
|
7800
|
-
"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.",
|
|
7801
|
-
"inheritedFrom": {
|
|
7802
|
-
"name": "Buttonsimple",
|
|
7803
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7804
|
-
}
|
|
7805
|
-
},
|
|
7806
|
-
{
|
|
7807
|
-
"kind": "method",
|
|
7808
|
-
"name": "handleKeyUp",
|
|
7809
|
-
"privacy": "private",
|
|
7810
|
-
"parameters": [
|
|
7811
|
-
{
|
|
7812
|
-
"name": "event",
|
|
7813
|
-
"type": {
|
|
7814
|
-
"text": "KeyboardEvent"
|
|
7815
|
-
},
|
|
7816
|
-
"description": "The keyboard event."
|
|
7817
|
-
}
|
|
7818
|
-
],
|
|
7819
|
-
"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.",
|
|
7820
|
-
"inheritedFrom": {
|
|
7821
|
-
"name": "Buttonsimple",
|
|
7822
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7823
|
-
}
|
|
7824
|
-
}
|
|
7825
|
-
],
|
|
7826
|
-
"events": [
|
|
7827
|
-
{
|
|
7828
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
7829
|
-
"name": "click",
|
|
7830
|
-
"reactName": "onClick",
|
|
7831
|
-
"inheritedFrom": {
|
|
7832
|
-
"name": "Buttonsimple",
|
|
7833
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7834
|
-
}
|
|
7835
|
-
},
|
|
7836
|
-
{
|
|
7837
|
-
"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.",
|
|
7838
|
-
"name": "keydown",
|
|
7839
|
-
"reactName": "onKeyDown",
|
|
7840
|
-
"inheritedFrom": {
|
|
7841
|
-
"name": "Buttonsimple",
|
|
7842
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7843
|
-
}
|
|
7844
|
-
},
|
|
7845
|
-
{
|
|
7846
|
-
"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.",
|
|
7847
|
-
"name": "keyup",
|
|
7848
|
-
"reactName": "onKeyUp",
|
|
7849
|
-
"inheritedFrom": {
|
|
7850
|
-
"name": "Buttonsimple",
|
|
7851
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7852
|
-
}
|
|
7853
|
-
},
|
|
7854
|
-
{
|
|
7855
|
-
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
7856
|
-
"name": "focus",
|
|
7857
|
-
"reactName": "onFocus",
|
|
7858
|
-
"inheritedFrom": {
|
|
7859
|
-
"name": "Buttonsimple",
|
|
7860
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7861
|
-
}
|
|
7862
|
-
}
|
|
7863
|
-
],
|
|
7864
|
-
"mixins": [
|
|
7865
|
-
{
|
|
7866
|
-
"name": "CardComponentMixin",
|
|
7867
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7868
|
-
}
|
|
7869
|
-
],
|
|
7870
|
-
"superclass": {
|
|
7871
|
-
"name": "Buttonsimple",
|
|
7872
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
7873
|
-
},
|
|
7874
|
-
"tagName": "mdc-cardbutton",
|
|
7875
|
-
"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 * @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 * @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 `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
|
|
7876
|
-
"customElement": true,
|
|
7877
|
-
"attributes": [
|
|
7878
|
-
{
|
|
7879
|
-
"name": "card-title",
|
|
7880
|
-
"type": {
|
|
7881
|
-
"text": "string"
|
|
7882
|
-
},
|
|
7883
|
-
"default": "''",
|
|
7884
|
-
"description": "The title of the card - part of header section",
|
|
7885
|
-
"fieldName": "cardTitle",
|
|
7886
|
-
"inheritedFrom": {
|
|
7887
|
-
"name": "CardComponentMixin",
|
|
7888
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7889
|
-
}
|
|
7890
|
-
},
|
|
7891
|
-
{
|
|
7892
|
-
"name": "subtitle",
|
|
7893
|
-
"type": {
|
|
7894
|
-
"text": "string"
|
|
7895
|
-
},
|
|
7896
|
-
"default": "''",
|
|
7897
|
-
"description": "The subtitle of the card - part of header section",
|
|
7898
|
-
"fieldName": "subtitle",
|
|
7899
|
-
"inheritedFrom": {
|
|
7900
|
-
"name": "CardComponentMixin",
|
|
7901
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7902
|
-
}
|
|
7903
|
-
},
|
|
7904
|
-
{
|
|
7905
|
-
"name": "image-src",
|
|
7906
|
-
"type": {
|
|
7907
|
-
"text": "string"
|
|
7908
|
-
},
|
|
7909
|
-
"default": "''",
|
|
7910
|
-
"description": "The image source URL to render on the card",
|
|
7911
|
-
"fieldName": "imageSrc",
|
|
7912
|
-
"inheritedFrom": {
|
|
7913
|
-
"name": "CardComponentMixin",
|
|
7914
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7915
|
-
}
|
|
7916
|
-
},
|
|
7917
|
-
{
|
|
7918
|
-
"name": "image-alt",
|
|
7919
|
-
"type": {
|
|
7920
|
-
"text": "string"
|
|
7921
|
-
},
|
|
7922
|
-
"default": "''",
|
|
7923
|
-
"description": "The image alt for accessibility support",
|
|
7924
|
-
"fieldName": "imageAlt",
|
|
7925
|
-
"inheritedFrom": {
|
|
7926
|
-
"name": "CardComponentMixin",
|
|
7927
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7928
|
-
}
|
|
7929
|
-
},
|
|
7930
|
-
{
|
|
7931
|
-
"name": "variant",
|
|
7932
|
-
"type": {
|
|
7933
|
-
"text": "CardVariant"
|
|
7934
|
-
},
|
|
7935
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7936
|
-
"default": "'border'",
|
|
7937
|
-
"fieldName": "variant",
|
|
7938
|
-
"inheritedFrom": {
|
|
7939
|
-
"name": "CardComponentMixin",
|
|
7940
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7941
|
-
}
|
|
7942
|
-
},
|
|
7943
|
-
{
|
|
7944
|
-
"name": "orientation",
|
|
7945
|
-
"type": {
|
|
7946
|
-
"text": "CardOrientation"
|
|
7947
|
-
},
|
|
7948
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7949
|
-
"default": "'vertical'",
|
|
7950
|
-
"fieldName": "orientation",
|
|
7951
|
-
"inheritedFrom": {
|
|
7952
|
-
"name": "CardComponentMixin",
|
|
7953
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7954
|
-
}
|
|
7955
|
-
},
|
|
7956
|
-
{
|
|
7957
|
-
"name": "title-tag-name",
|
|
7958
|
-
"type": {
|
|
7959
|
-
"text": "TagNameType"
|
|
7960
|
-
},
|
|
7961
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7962
|
-
"default": "'span'",
|
|
7963
|
-
"fieldName": "titleTagName",
|
|
7964
|
-
"inheritedFrom": {
|
|
7965
|
-
"name": "CardComponentMixin",
|
|
7966
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7967
|
-
}
|
|
7968
|
-
},
|
|
7969
|
-
{
|
|
7970
|
-
"name": "subtitle-tag-name",
|
|
7971
|
-
"type": {
|
|
7972
|
-
"text": "TagNameType"
|
|
7973
|
-
},
|
|
7974
|
-
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7975
|
-
"default": "'span'",
|
|
7976
|
-
"fieldName": "subtitleTagName",
|
|
7977
|
-
"inheritedFrom": {
|
|
7978
|
-
"name": "CardComponentMixin",
|
|
7979
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7980
|
-
}
|
|
7981
|
-
},
|
|
7982
|
-
{
|
|
7983
|
-
"name": "icon-name",
|
|
7984
|
-
"type": {
|
|
7985
|
-
"text": "IconNames | undefined"
|
|
7986
|
-
},
|
|
7987
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7988
|
-
"fieldName": "iconName",
|
|
7989
|
-
"inheritedFrom": {
|
|
7990
|
-
"name": "CardComponentMixin",
|
|
7991
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7992
|
-
}
|
|
7993
|
-
},
|
|
7994
|
-
{
|
|
7995
|
-
"name": "auto-focus-on-mount",
|
|
7996
|
-
"type": {
|
|
7997
|
-
"text": "boolean"
|
|
7998
|
-
},
|
|
7999
|
-
"default": "false",
|
|
8000
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
8001
|
-
"fieldName": "autoFocusOnMount",
|
|
8002
|
-
"inheritedFrom": {
|
|
8003
|
-
"name": "Buttonsimple",
|
|
8004
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8005
|
-
}
|
|
8006
|
-
},
|
|
8007
|
-
{
|
|
8008
|
-
"name": "tabIndex",
|
|
8009
|
-
"type": {
|
|
8010
|
-
"text": "number"
|
|
8011
|
-
},
|
|
8012
|
-
"default": "0",
|
|
8013
|
-
"description": "This property specifies the tab order of the element.",
|
|
8014
|
-
"fieldName": "tabIndex",
|
|
8015
|
-
"inheritedFrom": {
|
|
8016
|
-
"name": "Buttonsimple",
|
|
8017
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8018
|
-
}
|
|
8019
|
-
},
|
|
8020
|
-
{
|
|
8021
|
-
"name": "disabled",
|
|
8022
|
-
"type": {
|
|
8023
|
-
"text": "boolean | undefined"
|
|
8024
|
-
},
|
|
8025
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8026
|
-
"default": "undefined",
|
|
8027
|
-
"fieldName": "disabled",
|
|
8028
|
-
"inheritedFrom": {
|
|
8029
|
-
"name": "Buttonsimple",
|
|
8030
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8031
|
-
}
|
|
8032
|
-
},
|
|
8033
|
-
{
|
|
8034
|
-
"name": "active",
|
|
8035
|
-
"type": {
|
|
8036
|
-
"text": "boolean | undefined"
|
|
8037
|
-
},
|
|
8038
|
-
"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.",
|
|
8039
|
-
"default": "undefined",
|
|
8040
|
-
"fieldName": "active",
|
|
8041
|
-
"inheritedFrom": {
|
|
8042
|
-
"name": "Buttonsimple",
|
|
8043
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8044
|
-
}
|
|
8045
|
-
},
|
|
8046
|
-
{
|
|
8047
|
-
"name": "soft-disabled",
|
|
8048
|
-
"type": {
|
|
8049
|
-
"text": "boolean | undefined"
|
|
8050
|
-
},
|
|
8051
|
-
"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.",
|
|
8052
|
-
"default": "undefined",
|
|
8053
|
-
"fieldName": "softDisabled",
|
|
8054
|
-
"inheritedFrom": {
|
|
8055
|
-
"name": "Buttonsimple",
|
|
8056
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8057
|
-
}
|
|
8058
|
-
},
|
|
8059
|
-
{
|
|
8060
|
-
"name": "size",
|
|
8061
|
-
"type": {
|
|
8062
|
-
"text": "ButtonSize"
|
|
8063
|
-
},
|
|
8064
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8065
|
-
"default": "32",
|
|
8066
|
-
"fieldName": "size",
|
|
8067
|
-
"inheritedFrom": {
|
|
8068
|
-
"name": "Buttonsimple",
|
|
8069
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8070
|
-
}
|
|
8071
|
-
},
|
|
8072
|
-
{
|
|
8073
|
-
"name": "role",
|
|
8074
|
-
"type": {
|
|
8075
|
-
"text": "RoleType"
|
|
8076
|
-
},
|
|
8077
|
-
"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.",
|
|
8078
|
-
"default": "button",
|
|
8079
|
-
"fieldName": "role",
|
|
8080
|
-
"inheritedFrom": {
|
|
8081
|
-
"name": "Buttonsimple",
|
|
8082
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8083
|
-
}
|
|
8084
|
-
},
|
|
8085
|
-
{
|
|
8086
|
-
"name": "ariaStateKey",
|
|
8087
|
-
"type": {
|
|
8088
|
-
"text": "string | undefined"
|
|
8089
|
-
},
|
|
8090
|
-
"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`",
|
|
8091
|
-
"default": "'aria-pressed' (when)",
|
|
8092
|
-
"fieldName": "ariaStateKey",
|
|
7670
|
+
"description": "Height for button size",
|
|
7671
|
+
"name": "--mdc-button-height",
|
|
8093
7672
|
"inheritedFrom": {
|
|
8094
7673
|
"name": "Buttonsimple",
|
|
8095
7674
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8096
7675
|
}
|
|
8097
7676
|
},
|
|
8098
7677
|
{
|
|
8099
|
-
"
|
|
8100
|
-
"
|
|
8101
|
-
"text": "ButtonType"
|
|
8102
|
-
},
|
|
8103
|
-
"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.",
|
|
8104
|
-
"default": "button",
|
|
8105
|
-
"fieldName": "type",
|
|
7678
|
+
"description": "Background color of the button",
|
|
7679
|
+
"name": "--mdc-button-background",
|
|
8106
7680
|
"inheritedFrom": {
|
|
8107
7681
|
"name": "Buttonsimple",
|
|
8108
7682
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8109
7683
|
}
|
|
8110
7684
|
},
|
|
8111
7685
|
{
|
|
8112
|
-
"
|
|
8113
|
-
"
|
|
8114
|
-
"text": "string | undefined"
|
|
8115
|
-
},
|
|
8116
|
-
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8117
|
-
"fieldName": "name",
|
|
7686
|
+
"description": "Borer color of the button",
|
|
7687
|
+
"name": "--mdc-button-border-color",
|
|
8118
7688
|
"inheritedFrom": {
|
|
8119
7689
|
"name": "Buttonsimple",
|
|
8120
7690
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8121
7691
|
}
|
|
8122
7692
|
},
|
|
8123
7693
|
{
|
|
8124
|
-
"
|
|
8125
|
-
"
|
|
8126
|
-
"text": "string | undefined"
|
|
8127
|
-
},
|
|
8128
|
-
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8129
|
-
"fieldName": "value",
|
|
7694
|
+
"description": "Text color of the button",
|
|
7695
|
+
"name": "--mdc-button-text-color",
|
|
8130
7696
|
"inheritedFrom": {
|
|
8131
7697
|
"name": "Buttonsimple",
|
|
8132
7698
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8133
7699
|
}
|
|
8134
7700
|
}
|
|
8135
|
-
]
|
|
8136
|
-
}
|
|
8137
|
-
],
|
|
8138
|
-
"exports": [
|
|
8139
|
-
{
|
|
8140
|
-
"kind": "js",
|
|
8141
|
-
"name": "default",
|
|
8142
|
-
"declaration": {
|
|
8143
|
-
"name": "CardButton",
|
|
8144
|
-
"module": "components/cardbutton/cardbutton.component.js"
|
|
8145
|
-
}
|
|
8146
|
-
}
|
|
8147
|
-
]
|
|
8148
|
-
},
|
|
8149
|
-
{
|
|
8150
|
-
"kind": "javascript-module",
|
|
8151
|
-
"path": "components/card/card.component.js",
|
|
8152
|
-
"declarations": [
|
|
8153
|
-
{
|
|
8154
|
-
"kind": "class",
|
|
8155
|
-
"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. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\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 `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'.",
|
|
8156
|
-
"name": "Card",
|
|
8157
|
-
"cssProperties": [
|
|
8158
|
-
{
|
|
8159
|
-
"description": "The width of the card",
|
|
8160
|
-
"name": "--mdc-card-width"
|
|
8161
|
-
}
|
|
8162
7701
|
],
|
|
8163
7702
|
"cssParts": [
|
|
8164
7703
|
{
|
|
@@ -8222,14 +7761,6 @@
|
|
|
8222
7761
|
{
|
|
8223
7762
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
8224
7763
|
"name": "footer-button-primary"
|
|
8225
|
-
},
|
|
8226
|
-
{
|
|
8227
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
8228
|
-
"name": "footer-button-secondary"
|
|
8229
|
-
},
|
|
8230
|
-
{
|
|
8231
|
-
"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.",
|
|
8232
|
-
"name": "footer"
|
|
8233
7764
|
}
|
|
8234
7765
|
],
|
|
8235
7766
|
"members": [
|
|
@@ -8246,196 +7777,528 @@
|
|
|
8246
7777
|
},
|
|
8247
7778
|
{
|
|
8248
7779
|
"kind": "field",
|
|
8249
|
-
"name": "cardTitle",
|
|
7780
|
+
"name": "cardTitle",
|
|
7781
|
+
"type": {
|
|
7782
|
+
"text": "string"
|
|
7783
|
+
},
|
|
7784
|
+
"default": "''",
|
|
7785
|
+
"description": "The title of the card - part of header section",
|
|
7786
|
+
"attribute": "card-title",
|
|
7787
|
+
"reflects": true,
|
|
7788
|
+
"inheritedFrom": {
|
|
7789
|
+
"name": "CardComponentMixin",
|
|
7790
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
{
|
|
7794
|
+
"kind": "field",
|
|
7795
|
+
"name": "subtitle",
|
|
7796
|
+
"type": {
|
|
7797
|
+
"text": "string"
|
|
7798
|
+
},
|
|
7799
|
+
"default": "''",
|
|
7800
|
+
"description": "The subtitle of the card - part of header section",
|
|
7801
|
+
"attribute": "subtitle",
|
|
7802
|
+
"reflects": true,
|
|
7803
|
+
"inheritedFrom": {
|
|
7804
|
+
"name": "CardComponentMixin",
|
|
7805
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7806
|
+
}
|
|
7807
|
+
},
|
|
7808
|
+
{
|
|
7809
|
+
"kind": "field",
|
|
7810
|
+
"name": "imageSrc",
|
|
7811
|
+
"type": {
|
|
7812
|
+
"text": "string"
|
|
7813
|
+
},
|
|
7814
|
+
"default": "''",
|
|
7815
|
+
"description": "The image source URL to render on the card",
|
|
7816
|
+
"attribute": "image-src",
|
|
7817
|
+
"reflects": true,
|
|
7818
|
+
"inheritedFrom": {
|
|
7819
|
+
"name": "CardComponentMixin",
|
|
7820
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7821
|
+
}
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
"kind": "field",
|
|
7825
|
+
"name": "imageAlt",
|
|
7826
|
+
"type": {
|
|
7827
|
+
"text": "string"
|
|
7828
|
+
},
|
|
7829
|
+
"default": "''",
|
|
7830
|
+
"description": "The image alt for accessibility support",
|
|
7831
|
+
"attribute": "image-alt",
|
|
7832
|
+
"reflects": true,
|
|
7833
|
+
"inheritedFrom": {
|
|
7834
|
+
"name": "CardComponentMixin",
|
|
7835
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7836
|
+
}
|
|
7837
|
+
},
|
|
7838
|
+
{
|
|
7839
|
+
"kind": "field",
|
|
7840
|
+
"name": "variant",
|
|
7841
|
+
"type": {
|
|
7842
|
+
"text": "CardVariant"
|
|
7843
|
+
},
|
|
7844
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7845
|
+
"default": "'border'",
|
|
7846
|
+
"attribute": "variant",
|
|
7847
|
+
"reflects": true,
|
|
7848
|
+
"inheritedFrom": {
|
|
7849
|
+
"name": "CardComponentMixin",
|
|
7850
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7851
|
+
}
|
|
7852
|
+
},
|
|
7853
|
+
{
|
|
7854
|
+
"kind": "field",
|
|
7855
|
+
"name": "orientation",
|
|
7856
|
+
"type": {
|
|
7857
|
+
"text": "CardOrientation"
|
|
7858
|
+
},
|
|
7859
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7860
|
+
"default": "'vertical'",
|
|
7861
|
+
"attribute": "orientation",
|
|
7862
|
+
"reflects": true,
|
|
7863
|
+
"inheritedFrom": {
|
|
7864
|
+
"name": "CardComponentMixin",
|
|
7865
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7866
|
+
}
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
"kind": "field",
|
|
7870
|
+
"name": "titleTagName",
|
|
7871
|
+
"type": {
|
|
7872
|
+
"text": "TagNameType"
|
|
7873
|
+
},
|
|
7874
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7875
|
+
"default": "'span'",
|
|
7876
|
+
"attribute": "title-tag-name",
|
|
7877
|
+
"reflects": true,
|
|
7878
|
+
"inheritedFrom": {
|
|
7879
|
+
"name": "CardComponentMixin",
|
|
7880
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
"kind": "field",
|
|
7885
|
+
"name": "subtitleTagName",
|
|
7886
|
+
"type": {
|
|
7887
|
+
"text": "TagNameType"
|
|
7888
|
+
},
|
|
7889
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7890
|
+
"default": "'span'",
|
|
7891
|
+
"attribute": "subtitle-tag-name",
|
|
7892
|
+
"reflects": true,
|
|
7893
|
+
"inheritedFrom": {
|
|
7894
|
+
"name": "CardComponentMixin",
|
|
7895
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7896
|
+
}
|
|
7897
|
+
},
|
|
7898
|
+
{
|
|
7899
|
+
"kind": "field",
|
|
7900
|
+
"name": "iconName",
|
|
7901
|
+
"type": {
|
|
7902
|
+
"text": "IconNames | undefined"
|
|
7903
|
+
},
|
|
7904
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7905
|
+
"attribute": "icon-name",
|
|
7906
|
+
"reflects": true,
|
|
7907
|
+
"inheritedFrom": {
|
|
7908
|
+
"name": "CardComponentMixin",
|
|
7909
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7910
|
+
}
|
|
7911
|
+
},
|
|
7912
|
+
{
|
|
7913
|
+
"kind": "method",
|
|
7914
|
+
"name": "renderImage",
|
|
7915
|
+
"privacy": "protected",
|
|
7916
|
+
"description": "Renders the image on the card if image source is provided",
|
|
7917
|
+
"return": {
|
|
7918
|
+
"type": {
|
|
7919
|
+
"text": ""
|
|
7920
|
+
}
|
|
7921
|
+
},
|
|
7922
|
+
"inheritedFrom": {
|
|
7923
|
+
"name": "CardComponentMixin",
|
|
7924
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7925
|
+
}
|
|
7926
|
+
},
|
|
7927
|
+
{
|
|
7928
|
+
"kind": "method",
|
|
7929
|
+
"name": "renderIcon",
|
|
7930
|
+
"privacy": "protected",
|
|
7931
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
7932
|
+
"return": {
|
|
7933
|
+
"type": {
|
|
7934
|
+
"text": ""
|
|
7935
|
+
}
|
|
7936
|
+
},
|
|
7937
|
+
"inheritedFrom": {
|
|
7938
|
+
"name": "CardComponentMixin",
|
|
7939
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7940
|
+
}
|
|
7941
|
+
},
|
|
7942
|
+
{
|
|
7943
|
+
"kind": "method",
|
|
7944
|
+
"name": "renderTitle",
|
|
7945
|
+
"privacy": "protected",
|
|
7946
|
+
"description": "Renders the title and subtitle on the card",
|
|
7947
|
+
"return": {
|
|
7948
|
+
"type": {
|
|
7949
|
+
"text": ""
|
|
7950
|
+
}
|
|
7951
|
+
},
|
|
7952
|
+
"inheritedFrom": {
|
|
7953
|
+
"name": "CardComponentMixin",
|
|
7954
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7955
|
+
}
|
|
7956
|
+
},
|
|
7957
|
+
{
|
|
7958
|
+
"kind": "field",
|
|
7959
|
+
"name": "autoFocusOnMount",
|
|
7960
|
+
"type": {
|
|
7961
|
+
"text": "boolean"
|
|
7962
|
+
},
|
|
7963
|
+
"default": "false",
|
|
7964
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
7965
|
+
"attribute": "auto-focus-on-mount",
|
|
7966
|
+
"reflects": true,
|
|
7967
|
+
"inheritedFrom": {
|
|
7968
|
+
"name": "Buttonsimple",
|
|
7969
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7970
|
+
}
|
|
7971
|
+
},
|
|
7972
|
+
{
|
|
7973
|
+
"kind": "field",
|
|
7974
|
+
"name": "tabIndex",
|
|
8250
7975
|
"type": {
|
|
8251
|
-
"text": "
|
|
7976
|
+
"text": "number"
|
|
8252
7977
|
},
|
|
8253
|
-
"default": "
|
|
8254
|
-
"description": "
|
|
8255
|
-
"attribute": "
|
|
7978
|
+
"default": "0",
|
|
7979
|
+
"description": "This property specifies the tab order of the element.",
|
|
7980
|
+
"attribute": "tabIndex",
|
|
8256
7981
|
"reflects": true,
|
|
8257
7982
|
"inheritedFrom": {
|
|
8258
|
-
"name": "
|
|
8259
|
-
"module": "
|
|
7983
|
+
"name": "Buttonsimple",
|
|
7984
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8260
7985
|
}
|
|
8261
7986
|
},
|
|
8262
7987
|
{
|
|
8263
7988
|
"kind": "field",
|
|
8264
|
-
"name": "
|
|
7989
|
+
"name": "disabled",
|
|
8265
7990
|
"type": {
|
|
8266
|
-
"text": "
|
|
7991
|
+
"text": "boolean | undefined"
|
|
8267
7992
|
},
|
|
8268
|
-
"
|
|
8269
|
-
"
|
|
8270
|
-
"attribute": "
|
|
7993
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7994
|
+
"default": "undefined",
|
|
7995
|
+
"attribute": "disabled",
|
|
8271
7996
|
"reflects": true,
|
|
8272
7997
|
"inheritedFrom": {
|
|
8273
|
-
"name": "
|
|
8274
|
-
"module": "
|
|
7998
|
+
"name": "Buttonsimple",
|
|
7999
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8275
8000
|
}
|
|
8276
8001
|
},
|
|
8277
8002
|
{
|
|
8278
8003
|
"kind": "field",
|
|
8279
|
-
"name": "
|
|
8004
|
+
"name": "active",
|
|
8280
8005
|
"type": {
|
|
8281
|
-
"text": "
|
|
8006
|
+
"text": "boolean | undefined"
|
|
8282
8007
|
},
|
|
8283
|
-
"
|
|
8284
|
-
"
|
|
8285
|
-
"attribute": "
|
|
8008
|
+
"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.",
|
|
8009
|
+
"default": "undefined",
|
|
8010
|
+
"attribute": "active",
|
|
8286
8011
|
"reflects": true,
|
|
8287
8012
|
"inheritedFrom": {
|
|
8288
|
-
"name": "
|
|
8289
|
-
"module": "
|
|
8013
|
+
"name": "Buttonsimple",
|
|
8014
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8290
8015
|
}
|
|
8291
8016
|
},
|
|
8292
8017
|
{
|
|
8293
8018
|
"kind": "field",
|
|
8294
|
-
"name": "
|
|
8019
|
+
"name": "softDisabled",
|
|
8295
8020
|
"type": {
|
|
8296
|
-
"text": "
|
|
8021
|
+
"text": "boolean | undefined"
|
|
8297
8022
|
},
|
|
8298
|
-
"
|
|
8299
|
-
"
|
|
8300
|
-
"attribute": "
|
|
8023
|
+
"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.",
|
|
8024
|
+
"default": "undefined",
|
|
8025
|
+
"attribute": "soft-disabled",
|
|
8301
8026
|
"reflects": true,
|
|
8302
8027
|
"inheritedFrom": {
|
|
8303
|
-
"name": "
|
|
8304
|
-
"module": "
|
|
8028
|
+
"name": "Buttonsimple",
|
|
8029
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8305
8030
|
}
|
|
8306
8031
|
},
|
|
8307
8032
|
{
|
|
8308
8033
|
"kind": "field",
|
|
8309
|
-
"name": "
|
|
8034
|
+
"name": "size",
|
|
8310
8035
|
"type": {
|
|
8311
|
-
"text": "
|
|
8036
|
+
"text": "ButtonSize"
|
|
8312
8037
|
},
|
|
8313
|
-
"description": "
|
|
8314
|
-
"default": "
|
|
8315
|
-
"attribute": "
|
|
8038
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8039
|
+
"default": "32",
|
|
8040
|
+
"attribute": "size",
|
|
8316
8041
|
"reflects": true,
|
|
8317
8042
|
"inheritedFrom": {
|
|
8318
|
-
"name": "
|
|
8319
|
-
"module": "
|
|
8043
|
+
"name": "Buttonsimple",
|
|
8044
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8320
8045
|
}
|
|
8321
8046
|
},
|
|
8322
8047
|
{
|
|
8323
8048
|
"kind": "field",
|
|
8324
|
-
"name": "
|
|
8049
|
+
"name": "role",
|
|
8325
8050
|
"type": {
|
|
8326
|
-
"text": "
|
|
8051
|
+
"text": "RoleType"
|
|
8327
8052
|
},
|
|
8328
|
-
"description": "
|
|
8329
|
-
"default": "
|
|
8330
|
-
"attribute": "
|
|
8053
|
+
"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.",
|
|
8054
|
+
"default": "button",
|
|
8055
|
+
"attribute": "role",
|
|
8331
8056
|
"reflects": true,
|
|
8332
8057
|
"inheritedFrom": {
|
|
8333
|
-
"name": "
|
|
8334
|
-
"module": "
|
|
8058
|
+
"name": "Buttonsimple",
|
|
8059
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8335
8060
|
}
|
|
8336
8061
|
},
|
|
8337
8062
|
{
|
|
8338
8063
|
"kind": "field",
|
|
8339
|
-
"name": "
|
|
8064
|
+
"name": "ariaStateKey",
|
|
8340
8065
|
"type": {
|
|
8341
|
-
"text": "
|
|
8066
|
+
"text": "string | undefined"
|
|
8342
8067
|
},
|
|
8343
|
-
"description": "
|
|
8344
|
-
"default": "'
|
|
8345
|
-
"attribute": "
|
|
8068
|
+
"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`",
|
|
8069
|
+
"default": "'aria-pressed' (when)",
|
|
8070
|
+
"attribute": "ariaStateKey",
|
|
8346
8071
|
"reflects": true,
|
|
8347
8072
|
"inheritedFrom": {
|
|
8348
|
-
"name": "
|
|
8349
|
-
"module": "
|
|
8073
|
+
"name": "Buttonsimple",
|
|
8074
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8350
8075
|
}
|
|
8351
8076
|
},
|
|
8352
8077
|
{
|
|
8353
8078
|
"kind": "field",
|
|
8354
|
-
"name": "
|
|
8079
|
+
"name": "type",
|
|
8355
8080
|
"type": {
|
|
8356
|
-
"text": "
|
|
8081
|
+
"text": "ButtonType"
|
|
8357
8082
|
},
|
|
8358
|
-
"description": "
|
|
8359
|
-
"default": "
|
|
8360
|
-
"attribute": "
|
|
8083
|
+
"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.",
|
|
8084
|
+
"default": "button",
|
|
8085
|
+
"attribute": "type",
|
|
8361
8086
|
"reflects": true,
|
|
8362
8087
|
"inheritedFrom": {
|
|
8363
|
-
"name": "
|
|
8364
|
-
"module": "
|
|
8088
|
+
"name": "Buttonsimple",
|
|
8089
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8365
8090
|
}
|
|
8366
8091
|
},
|
|
8367
8092
|
{
|
|
8368
8093
|
"kind": "field",
|
|
8369
|
-
"name": "
|
|
8094
|
+
"name": "name",
|
|
8370
8095
|
"type": {
|
|
8371
|
-
"text": "
|
|
8096
|
+
"text": "string | undefined"
|
|
8372
8097
|
},
|
|
8373
|
-
"description": "
|
|
8374
|
-
"attribute": "
|
|
8098
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8099
|
+
"attribute": "name",
|
|
8100
|
+
"reflects": true,
|
|
8101
|
+
"inheritedFrom": {
|
|
8102
|
+
"name": "Buttonsimple",
|
|
8103
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8104
|
+
}
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
"kind": "field",
|
|
8108
|
+
"name": "value",
|
|
8109
|
+
"type": {
|
|
8110
|
+
"text": "string | undefined"
|
|
8111
|
+
},
|
|
8112
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8113
|
+
"attribute": "value",
|
|
8375
8114
|
"reflects": true,
|
|
8376
8115
|
"inheritedFrom": {
|
|
8377
|
-
"name": "
|
|
8378
|
-
"module": "
|
|
8116
|
+
"name": "Buttonsimple",
|
|
8117
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8118
|
+
}
|
|
8119
|
+
},
|
|
8120
|
+
{
|
|
8121
|
+
"kind": "method",
|
|
8122
|
+
"name": "executeAction",
|
|
8123
|
+
"privacy": "protected",
|
|
8124
|
+
"inheritedFrom": {
|
|
8125
|
+
"name": "Buttonsimple",
|
|
8126
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8127
|
+
}
|
|
8128
|
+
},
|
|
8129
|
+
{
|
|
8130
|
+
"kind": "method",
|
|
8131
|
+
"name": "setActive",
|
|
8132
|
+
"privacy": "protected",
|
|
8133
|
+
"parameters": [
|
|
8134
|
+
{
|
|
8135
|
+
"name": "element",
|
|
8136
|
+
"type": {
|
|
8137
|
+
"text": "HTMLElement"
|
|
8138
|
+
},
|
|
8139
|
+
"description": "The button element"
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
"name": "active",
|
|
8143
|
+
"optional": true,
|
|
8144
|
+
"type": {
|
|
8145
|
+
"text": "boolean"
|
|
8146
|
+
},
|
|
8147
|
+
"description": "The active state of the element"
|
|
8148
|
+
}
|
|
8149
|
+
],
|
|
8150
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
8151
|
+
"inheritedFrom": {
|
|
8152
|
+
"name": "Buttonsimple",
|
|
8153
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8154
|
+
}
|
|
8155
|
+
},
|
|
8156
|
+
{
|
|
8157
|
+
"kind": "method",
|
|
8158
|
+
"name": "setSoftDisabled",
|
|
8159
|
+
"privacy": "private",
|
|
8160
|
+
"parameters": [
|
|
8161
|
+
{
|
|
8162
|
+
"name": "element",
|
|
8163
|
+
"type": {
|
|
8164
|
+
"text": "HTMLElement"
|
|
8165
|
+
},
|
|
8166
|
+
"description": "The button element."
|
|
8167
|
+
},
|
|
8168
|
+
{
|
|
8169
|
+
"name": "softDisabled",
|
|
8170
|
+
"optional": true,
|
|
8171
|
+
"type": {
|
|
8172
|
+
"text": "boolean"
|
|
8173
|
+
},
|
|
8174
|
+
"description": "The soft-disabled state."
|
|
8175
|
+
}
|
|
8176
|
+
],
|
|
8177
|
+
"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.",
|
|
8178
|
+
"inheritedFrom": {
|
|
8179
|
+
"name": "Buttonsimple",
|
|
8180
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8181
|
+
}
|
|
8182
|
+
},
|
|
8183
|
+
{
|
|
8184
|
+
"kind": "method",
|
|
8185
|
+
"name": "setDisabled",
|
|
8186
|
+
"privacy": "private",
|
|
8187
|
+
"parameters": [
|
|
8188
|
+
{
|
|
8189
|
+
"name": "element",
|
|
8190
|
+
"type": {
|
|
8191
|
+
"text": "HTMLElement"
|
|
8192
|
+
},
|
|
8193
|
+
"description": "The button element."
|
|
8194
|
+
},
|
|
8195
|
+
{
|
|
8196
|
+
"name": "disabled",
|
|
8197
|
+
"type": {
|
|
8198
|
+
"text": "boolean"
|
|
8199
|
+
},
|
|
8200
|
+
"description": "The disabled state."
|
|
8201
|
+
}
|
|
8202
|
+
],
|
|
8203
|
+
"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.",
|
|
8204
|
+
"inheritedFrom": {
|
|
8205
|
+
"name": "Buttonsimple",
|
|
8206
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8207
|
+
}
|
|
8208
|
+
},
|
|
8209
|
+
{
|
|
8210
|
+
"kind": "method",
|
|
8211
|
+
"name": "triggerClickEvent",
|
|
8212
|
+
"privacy": "private",
|
|
8213
|
+
"inheritedFrom": {
|
|
8214
|
+
"name": "Buttonsimple",
|
|
8215
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8216
|
+
}
|
|
8217
|
+
},
|
|
8218
|
+
{
|
|
8219
|
+
"kind": "method",
|
|
8220
|
+
"name": "handleBlur",
|
|
8221
|
+
"privacy": "private",
|
|
8222
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
8223
|
+
"inheritedFrom": {
|
|
8224
|
+
"name": "Buttonsimple",
|
|
8225
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8226
|
+
}
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
"kind": "method",
|
|
8230
|
+
"name": "handleKeyDown",
|
|
8231
|
+
"privacy": "private",
|
|
8232
|
+
"parameters": [
|
|
8233
|
+
{
|
|
8234
|
+
"name": "event",
|
|
8235
|
+
"type": {
|
|
8236
|
+
"text": "KeyboardEvent"
|
|
8237
|
+
},
|
|
8238
|
+
"description": "The keyboard event."
|
|
8239
|
+
}
|
|
8240
|
+
],
|
|
8241
|
+
"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.",
|
|
8242
|
+
"inheritedFrom": {
|
|
8243
|
+
"name": "Buttonsimple",
|
|
8244
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8379
8245
|
}
|
|
8380
8246
|
},
|
|
8381
8247
|
{
|
|
8382
8248
|
"kind": "method",
|
|
8383
|
-
"name": "
|
|
8384
|
-
"privacy": "
|
|
8385
|
-
"
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
"
|
|
8249
|
+
"name": "handleKeyUp",
|
|
8250
|
+
"privacy": "private",
|
|
8251
|
+
"parameters": [
|
|
8252
|
+
{
|
|
8253
|
+
"name": "event",
|
|
8254
|
+
"type": {
|
|
8255
|
+
"text": "KeyboardEvent"
|
|
8256
|
+
},
|
|
8257
|
+
"description": "The keyboard event."
|
|
8389
8258
|
}
|
|
8390
|
-
|
|
8259
|
+
],
|
|
8260
|
+
"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.",
|
|
8391
8261
|
"inheritedFrom": {
|
|
8392
|
-
"name": "
|
|
8393
|
-
"module": "
|
|
8262
|
+
"name": "Buttonsimple",
|
|
8263
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8264
|
+
}
|
|
8265
|
+
}
|
|
8266
|
+
],
|
|
8267
|
+
"events": [
|
|
8268
|
+
{
|
|
8269
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
8270
|
+
"name": "click",
|
|
8271
|
+
"reactName": "onClick",
|
|
8272
|
+
"inheritedFrom": {
|
|
8273
|
+
"name": "Buttonsimple",
|
|
8274
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8394
8275
|
}
|
|
8395
8276
|
},
|
|
8396
8277
|
{
|
|
8397
|
-
"
|
|
8398
|
-
"name": "
|
|
8399
|
-
"
|
|
8400
|
-
"description": "Renders the icon on the card if icon name is provided",
|
|
8401
|
-
"return": {
|
|
8402
|
-
"type": {
|
|
8403
|
-
"text": ""
|
|
8404
|
-
}
|
|
8405
|
-
},
|
|
8278
|
+
"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.",
|
|
8279
|
+
"name": "keydown",
|
|
8280
|
+
"reactName": "onKeyDown",
|
|
8406
8281
|
"inheritedFrom": {
|
|
8407
|
-
"name": "
|
|
8408
|
-
"module": "
|
|
8282
|
+
"name": "Buttonsimple",
|
|
8283
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8409
8284
|
}
|
|
8410
8285
|
},
|
|
8411
8286
|
{
|
|
8412
|
-
"
|
|
8413
|
-
"name": "
|
|
8414
|
-
"
|
|
8415
|
-
"description": "Renders the title and subtitle on the card",
|
|
8416
|
-
"return": {
|
|
8417
|
-
"type": {
|
|
8418
|
-
"text": ""
|
|
8419
|
-
}
|
|
8420
|
-
},
|
|
8287
|
+
"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.",
|
|
8288
|
+
"name": "keyup",
|
|
8289
|
+
"reactName": "onKeyUp",
|
|
8421
8290
|
"inheritedFrom": {
|
|
8422
|
-
"name": "
|
|
8423
|
-
"module": "
|
|
8291
|
+
"name": "Buttonsimple",
|
|
8292
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8424
8293
|
}
|
|
8425
8294
|
},
|
|
8426
8295
|
{
|
|
8427
|
-
"
|
|
8428
|
-
"name": "
|
|
8429
|
-
"
|
|
8430
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
8431
|
-
"return": {
|
|
8432
|
-
"type": {
|
|
8433
|
-
"text": ""
|
|
8434
|
-
}
|
|
8435
|
-
},
|
|
8296
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8297
|
+
"name": "focus",
|
|
8298
|
+
"reactName": "onFocus",
|
|
8436
8299
|
"inheritedFrom": {
|
|
8437
|
-
"name": "
|
|
8438
|
-
"module": "
|
|
8300
|
+
"name": "Buttonsimple",
|
|
8301
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8439
8302
|
}
|
|
8440
8303
|
}
|
|
8441
8304
|
],
|
|
@@ -8443,18 +8306,14 @@
|
|
|
8443
8306
|
{
|
|
8444
8307
|
"name": "CardComponentMixin",
|
|
8445
8308
|
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8446
|
-
},
|
|
8447
|
-
{
|
|
8448
|
-
"name": "FooterMixin",
|
|
8449
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
8450
8309
|
}
|
|
8451
8310
|
],
|
|
8452
8311
|
"superclass": {
|
|
8453
|
-
"name": "
|
|
8454
|
-
"module": "/src/
|
|
8312
|
+
"name": "Buttonsimple",
|
|
8313
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
8455
8314
|
},
|
|
8456
|
-
"tagName": "mdc-
|
|
8457
|
-
"jsDoc": "/**\n *
|
|
8315
|
+
"tagName": "mdc-cardbutton",
|
|
8316
|
+
"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 * @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 * @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 `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
|
|
8458
8317
|
"customElement": true,
|
|
8459
8318
|
"attributes": [
|
|
8460
8319
|
{
|
|
@@ -8572,6 +8431,147 @@
|
|
|
8572
8431
|
"name": "CardComponentMixin",
|
|
8573
8432
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8574
8433
|
}
|
|
8434
|
+
},
|
|
8435
|
+
{
|
|
8436
|
+
"name": "auto-focus-on-mount",
|
|
8437
|
+
"type": {
|
|
8438
|
+
"text": "boolean"
|
|
8439
|
+
},
|
|
8440
|
+
"default": "false",
|
|
8441
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
8442
|
+
"fieldName": "autoFocusOnMount",
|
|
8443
|
+
"inheritedFrom": {
|
|
8444
|
+
"name": "Buttonsimple",
|
|
8445
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8446
|
+
}
|
|
8447
|
+
},
|
|
8448
|
+
{
|
|
8449
|
+
"name": "tabIndex",
|
|
8450
|
+
"type": {
|
|
8451
|
+
"text": "number"
|
|
8452
|
+
},
|
|
8453
|
+
"default": "0",
|
|
8454
|
+
"description": "This property specifies the tab order of the element.",
|
|
8455
|
+
"fieldName": "tabIndex",
|
|
8456
|
+
"inheritedFrom": {
|
|
8457
|
+
"name": "Buttonsimple",
|
|
8458
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8459
|
+
}
|
|
8460
|
+
},
|
|
8461
|
+
{
|
|
8462
|
+
"name": "disabled",
|
|
8463
|
+
"type": {
|
|
8464
|
+
"text": "boolean | undefined"
|
|
8465
|
+
},
|
|
8466
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8467
|
+
"default": "undefined",
|
|
8468
|
+
"fieldName": "disabled",
|
|
8469
|
+
"inheritedFrom": {
|
|
8470
|
+
"name": "Buttonsimple",
|
|
8471
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8472
|
+
}
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
"name": "active",
|
|
8476
|
+
"type": {
|
|
8477
|
+
"text": "boolean | undefined"
|
|
8478
|
+
},
|
|
8479
|
+
"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.",
|
|
8480
|
+
"default": "undefined",
|
|
8481
|
+
"fieldName": "active",
|
|
8482
|
+
"inheritedFrom": {
|
|
8483
|
+
"name": "Buttonsimple",
|
|
8484
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8485
|
+
}
|
|
8486
|
+
},
|
|
8487
|
+
{
|
|
8488
|
+
"name": "soft-disabled",
|
|
8489
|
+
"type": {
|
|
8490
|
+
"text": "boolean | undefined"
|
|
8491
|
+
},
|
|
8492
|
+
"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.",
|
|
8493
|
+
"default": "undefined",
|
|
8494
|
+
"fieldName": "softDisabled",
|
|
8495
|
+
"inheritedFrom": {
|
|
8496
|
+
"name": "Buttonsimple",
|
|
8497
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8498
|
+
}
|
|
8499
|
+
},
|
|
8500
|
+
{
|
|
8501
|
+
"name": "size",
|
|
8502
|
+
"type": {
|
|
8503
|
+
"text": "ButtonSize"
|
|
8504
|
+
},
|
|
8505
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8506
|
+
"default": "32",
|
|
8507
|
+
"fieldName": "size",
|
|
8508
|
+
"inheritedFrom": {
|
|
8509
|
+
"name": "Buttonsimple",
|
|
8510
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8511
|
+
}
|
|
8512
|
+
},
|
|
8513
|
+
{
|
|
8514
|
+
"name": "role",
|
|
8515
|
+
"type": {
|
|
8516
|
+
"text": "RoleType"
|
|
8517
|
+
},
|
|
8518
|
+
"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.",
|
|
8519
|
+
"default": "button",
|
|
8520
|
+
"fieldName": "role",
|
|
8521
|
+
"inheritedFrom": {
|
|
8522
|
+
"name": "Buttonsimple",
|
|
8523
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8524
|
+
}
|
|
8525
|
+
},
|
|
8526
|
+
{
|
|
8527
|
+
"name": "ariaStateKey",
|
|
8528
|
+
"type": {
|
|
8529
|
+
"text": "string | undefined"
|
|
8530
|
+
},
|
|
8531
|
+
"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`",
|
|
8532
|
+
"default": "'aria-pressed' (when)",
|
|
8533
|
+
"fieldName": "ariaStateKey",
|
|
8534
|
+
"inheritedFrom": {
|
|
8535
|
+
"name": "Buttonsimple",
|
|
8536
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8537
|
+
}
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
"name": "type",
|
|
8541
|
+
"type": {
|
|
8542
|
+
"text": "ButtonType"
|
|
8543
|
+
},
|
|
8544
|
+
"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.",
|
|
8545
|
+
"default": "button",
|
|
8546
|
+
"fieldName": "type",
|
|
8547
|
+
"inheritedFrom": {
|
|
8548
|
+
"name": "Buttonsimple",
|
|
8549
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8550
|
+
}
|
|
8551
|
+
},
|
|
8552
|
+
{
|
|
8553
|
+
"name": "name",
|
|
8554
|
+
"type": {
|
|
8555
|
+
"text": "string | undefined"
|
|
8556
|
+
},
|
|
8557
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8558
|
+
"fieldName": "name",
|
|
8559
|
+
"inheritedFrom": {
|
|
8560
|
+
"name": "Buttonsimple",
|
|
8561
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8562
|
+
}
|
|
8563
|
+
},
|
|
8564
|
+
{
|
|
8565
|
+
"name": "value",
|
|
8566
|
+
"type": {
|
|
8567
|
+
"text": "string | undefined"
|
|
8568
|
+
},
|
|
8569
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8570
|
+
"fieldName": "value",
|
|
8571
|
+
"inheritedFrom": {
|
|
8572
|
+
"name": "Buttonsimple",
|
|
8573
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8574
|
+
}
|
|
8575
8575
|
}
|
|
8576
8576
|
]
|
|
8577
8577
|
}
|
|
@@ -8581,8 +8581,8 @@
|
|
|
8581
8581
|
"kind": "js",
|
|
8582
8582
|
"name": "default",
|
|
8583
8583
|
"declaration": {
|
|
8584
|
-
"name": "
|
|
8585
|
-
"module": "components/
|
|
8584
|
+
"name": "CardButton",
|
|
8585
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
8586
8586
|
}
|
|
8587
8587
|
}
|
|
8588
8588
|
]
|
|
@@ -20172,7 +20172,7 @@
|
|
|
20172
20172
|
"declarations": [
|
|
20173
20173
|
{
|
|
20174
20174
|
"kind": "class",
|
|
20175
|
-
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
|
20175
|
+
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports a prefix slot for avatars (takes precedence over icon-name).\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
|
20176
20176
|
"name": "InputChip",
|
|
20177
20177
|
"cssProperties": [
|
|
20178
20178
|
{
|
|
@@ -20202,6 +20202,12 @@
|
|
|
20202
20202
|
"name": "close-icon"
|
|
20203
20203
|
}
|
|
20204
20204
|
],
|
|
20205
|
+
"slots": [
|
|
20206
|
+
{
|
|
20207
|
+
"description": "A slot for prefix content such as avatars.",
|
|
20208
|
+
"name": "prefix"
|
|
20209
|
+
}
|
|
20210
|
+
],
|
|
20205
20211
|
"members": [
|
|
20206
20212
|
{
|
|
20207
20213
|
"kind": "field",
|
|
@@ -20235,9 +20241,9 @@
|
|
|
20235
20241
|
},
|
|
20236
20242
|
{
|
|
20237
20243
|
"kind": "method",
|
|
20238
|
-
"name": "
|
|
20244
|
+
"name": "renderPrefix",
|
|
20239
20245
|
"privacy": "private",
|
|
20240
|
-
"description": "Renders the
|
|
20246
|
+
"description": "Renders the prefix content, supporting both icons and slot content.",
|
|
20241
20247
|
"return": {
|
|
20242
20248
|
"type": {
|
|
20243
20249
|
"text": ""
|
|
@@ -20364,7 +20370,7 @@
|
|
|
20364
20370
|
"module": "/src/models"
|
|
20365
20371
|
},
|
|
20366
20372
|
"tagName": "mdc-inputchip",
|
|
20367
|
-
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @csspart label - The label part of the chip.\n * @csspart icon - The icon part of the chip.\n * @csspart close-icon - The close icon part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
|
20373
|
+
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports a prefix slot for avatars (takes precedence over icon-name).\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @slot prefix - A slot for prefix content such as avatars.\n *\n * @csspart label - The label part of the chip.\n * @csspart icon - The icon part of the chip.\n * @csspart close-icon - The close icon part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
|
20368
20374
|
"customElement": true
|
|
20369
20375
|
}
|
|
20370
20376
|
],
|