@momentum-design/components 0.106.6 → 0.106.8
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 +1 -1
- package/dist/browser/index.js.map +2 -2
- package/dist/components/alertchip/alertchip.component.d.ts +5 -0
- package/dist/components/alertchip/alertchip.component.js +5 -0
- package/dist/components/alertchip/alertchip.types.d.ts +9 -2
- package/dist/components/chip/chip.component.d.ts +7 -0
- package/dist/components/chip/chip.component.js +7 -0
- package/dist/components/chip/chip.types.d.ts +9 -2
- package/dist/components/filterchip/filterchip.component.d.ts +13 -0
- package/dist/components/filterchip/filterchip.component.js +13 -0
- package/dist/components/filterchip/filterchip.types.d.ts +9 -0
- package/dist/components/filterchip/filterchip.types.js +1 -0
- package/dist/components/inputchip/inputchip.component.d.ts +4 -0
- package/dist/components/inputchip/inputchip.component.js +5 -1
- package/dist/custom-elements.json +1646 -1616
- package/dist/react/alertchip/index.d.ts +5 -0
- package/dist/react/alertchip/index.js +5 -0
- package/dist/react/chip/index.d.ts +7 -0
- package/dist/react/chip/index.js +7 -0
- package/dist/react/filterchip/index.d.ts +13 -0
- package/dist/react/filterchip/index.js +13 -0
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/dist/react/inputchip/index.d.ts +4 -0
- package/dist/react/inputchip/index.js +4 -0
- package/package.json +1 -1
@@ -1335,6 +1335,44 @@
|
|
1335
1335
|
}
|
1336
1336
|
}
|
1337
1337
|
],
|
1338
|
+
"events": [
|
1339
|
+
{
|
1340
|
+
"description": "(React: onClick) This event is dispatched when the chip is clicked.",
|
1341
|
+
"name": "click",
|
1342
|
+
"reactName": "onClick",
|
1343
|
+
"inheritedFrom": {
|
1344
|
+
"name": "Buttonsimple",
|
1345
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1346
|
+
}
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the chip.",
|
1350
|
+
"name": "keydown",
|
1351
|
+
"reactName": "onKeyDown",
|
1352
|
+
"inheritedFrom": {
|
1353
|
+
"name": "Buttonsimple",
|
1354
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1355
|
+
}
|
1356
|
+
},
|
1357
|
+
{
|
1358
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the chip.",
|
1359
|
+
"name": "keyup",
|
1360
|
+
"reactName": "onKeyUp",
|
1361
|
+
"inheritedFrom": {
|
1362
|
+
"name": "Buttonsimple",
|
1363
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1364
|
+
}
|
1365
|
+
},
|
1366
|
+
{
|
1367
|
+
"description": "(React: onFocus) This event is dispatched when the chip receives focus.",
|
1368
|
+
"name": "focus",
|
1369
|
+
"reactName": "onFocus",
|
1370
|
+
"inheritedFrom": {
|
1371
|
+
"name": "Buttonsimple",
|
1372
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1373
|
+
}
|
1374
|
+
}
|
1375
|
+
],
|
1338
1376
|
"attributes": [
|
1339
1377
|
{
|
1340
1378
|
"name": "variant",
|
@@ -1501,46 +1539,8 @@
|
|
1501
1539
|
"module": "/src/components/buttonsimple/buttonsimple.component"
|
1502
1540
|
},
|
1503
1541
|
"tagName": "mdc-alertchip",
|
1504
|
-
"jsDoc": "/**\n * mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n *\n * - It supports a leading icon along with label.\n * - It supports 5 variants of alerts - neutral, warning, error, success, and informational\n *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-alertchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the label text\n * @cssproperty --mdc-chip-icon-color - The color of the icon\n * @cssproperty --mdc-chip-border-color - The border color of the alertchip\n * @cssproperty --mdc-chip-background-color - The background color of the alertchip\n *\n * @csspart icon - The alert icon\n * @csspart label - The text label of the alertchip\n */",
|
1505
|
-
"customElement": true
|
1506
|
-
"events": [
|
1507
|
-
{
|
1508
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
1509
|
-
"name": "click",
|
1510
|
-
"reactName": "onClick",
|
1511
|
-
"inheritedFrom": {
|
1512
|
-
"name": "Buttonsimple",
|
1513
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1514
|
-
}
|
1515
|
-
},
|
1516
|
-
{
|
1517
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
1518
|
-
"name": "keydown",
|
1519
|
-
"reactName": "onKeyDown",
|
1520
|
-
"inheritedFrom": {
|
1521
|
-
"name": "Buttonsimple",
|
1522
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1523
|
-
}
|
1524
|
-
},
|
1525
|
-
{
|
1526
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
1527
|
-
"name": "keyup",
|
1528
|
-
"reactName": "onKeyUp",
|
1529
|
-
"inheritedFrom": {
|
1530
|
-
"name": "Buttonsimple",
|
1531
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1532
|
-
}
|
1533
|
-
},
|
1534
|
-
{
|
1535
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
1536
|
-
"name": "focus",
|
1537
|
-
"reactName": "onFocus",
|
1538
|
-
"inheritedFrom": {
|
1539
|
-
"name": "Buttonsimple",
|
1540
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1541
|
-
}
|
1542
|
-
}
|
1543
|
-
]
|
1542
|
+
"jsDoc": "/**\n * mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n *\n * - It supports a leading icon along with label.\n * - It supports 5 variants of alerts - neutral, warning, error, success, and informational\n *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-alertchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the label text\n * @cssproperty --mdc-chip-icon-color - The color of the icon\n * @cssproperty --mdc-chip-border-color - The border color of the alertchip\n * @cssproperty --mdc-chip-background-color - The background color of the alertchip\n *\n * @csspart icon - The alert icon\n * @csspart label - The text label of the alertchip\n *\n * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n */",
|
1543
|
+
"customElement": true
|
1544
1544
|
}
|
1545
1545
|
],
|
1546
1546
|
"exports": [
|
@@ -5295,287 +5295,100 @@
|
|
5295
5295
|
},
|
5296
5296
|
{
|
5297
5297
|
"kind": "javascript-module",
|
5298
|
-
"path": "components/
|
5298
|
+
"path": "components/card/card.component.js",
|
5299
5299
|
"declarations": [
|
5300
5300
|
{
|
5301
5301
|
"kind": "class",
|
5302
|
-
"description": "
|
5303
|
-
"name": "
|
5302
|
+
"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'.",
|
5303
|
+
"name": "Card",
|
5304
5304
|
"cssProperties": [
|
5305
5305
|
{
|
5306
5306
|
"description": "The width of the card",
|
5307
|
-
"name": "--mdc-card-width"
|
5308
|
-
"inheritedFrom": {
|
5309
|
-
"name": "Card",
|
5310
|
-
"module": "src/components/card/card.component.ts"
|
5311
|
-
}
|
5307
|
+
"name": "--mdc-card-width"
|
5312
5308
|
}
|
5313
5309
|
],
|
5314
5310
|
"cssParts": [
|
5315
5311
|
{
|
5316
5312
|
"description": "The header part of the card",
|
5317
|
-
"name": "header"
|
5318
|
-
"inheritedFrom": {
|
5319
|
-
"name": "Card",
|
5320
|
-
"module": "src/components/card/card.component.ts"
|
5321
|
-
}
|
5313
|
+
"name": "header"
|
5322
5314
|
},
|
5323
5315
|
{
|
5324
5316
|
"description": "The icon part of the card header",
|
5325
|
-
"name": "icon"
|
5326
|
-
"inheritedFrom": {
|
5327
|
-
"name": "Card",
|
5328
|
-
"module": "src/components/card/card.component.ts"
|
5329
|
-
}
|
5317
|
+
"name": "icon"
|
5330
5318
|
},
|
5331
5319
|
{
|
5332
5320
|
"description": "The body part of the card",
|
5333
|
-
"name": "body"
|
5334
|
-
"inheritedFrom": {
|
5335
|
-
"name": "Card",
|
5336
|
-
"module": "src/components/card/card.component.ts"
|
5337
|
-
}
|
5321
|
+
"name": "body"
|
5338
5322
|
},
|
5339
5323
|
{
|
5340
5324
|
"description": "The image part of the card",
|
5341
|
-
"name": "image"
|
5342
|
-
"inheritedFrom": {
|
5343
|
-
"name": "Card",
|
5344
|
-
"module": "src/components/card/card.component.ts"
|
5345
|
-
}
|
5325
|
+
"name": "image"
|
5346
5326
|
},
|
5347
5327
|
{
|
5348
5328
|
"description": "The footer part of the card",
|
5349
|
-
"name": "footer"
|
5350
|
-
"inheritedFrom": {
|
5351
|
-
"name": "Card",
|
5352
|
-
"module": "src/components/card/card.component.ts"
|
5353
|
-
}
|
5329
|
+
"name": "footer"
|
5354
5330
|
},
|
5355
5331
|
{
|
5356
5332
|
"description": "The link part of the card footer",
|
5357
|
-
"name": "footer-link"
|
5358
|
-
"inheritedFrom": {
|
5359
|
-
"name": "Card",
|
5360
|
-
"module": "src/components/card/card.component.ts"
|
5361
|
-
}
|
5333
|
+
"name": "footer-link"
|
5362
5334
|
},
|
5363
5335
|
{
|
5364
5336
|
"description": "The primary button part of the card footer",
|
5365
|
-
"name": "footer-button-primary"
|
5366
|
-
"inheritedFrom": {
|
5367
|
-
"name": "Card",
|
5368
|
-
"module": "src/components/card/card.component.ts"
|
5369
|
-
}
|
5337
|
+
"name": "footer-button-primary"
|
5370
5338
|
},
|
5371
5339
|
{
|
5372
5340
|
"description": "The secondary button part of the card footer",
|
5373
|
-
"name": "footer-button-secondary"
|
5374
|
-
"inheritedFrom": {
|
5375
|
-
"name": "Card",
|
5376
|
-
"module": "src/components/card/card.component.ts"
|
5377
|
-
}
|
5341
|
+
"name": "footer-button-secondary"
|
5378
5342
|
},
|
5379
5343
|
{
|
5380
5344
|
"description": "The icon button part of the card header",
|
5381
|
-
"name": "icon-button"
|
5382
|
-
"inheritedFrom": {
|
5383
|
-
"name": "Card",
|
5384
|
-
"module": "src/components/card/card.component.ts"
|
5385
|
-
}
|
5345
|
+
"name": "icon-button"
|
5386
5346
|
},
|
5387
5347
|
{
|
5388
5348
|
"description": "The text part of the card",
|
5389
|
-
"name": "text"
|
5390
|
-
"inheritedFrom": {
|
5391
|
-
"name": "Card",
|
5392
|
-
"module": "src/components/card/card.component.ts"
|
5393
|
-
}
|
5394
|
-
},
|
5395
|
-
{
|
5396
|
-
"description": "The check part of the card",
|
5397
|
-
"name": "check"
|
5398
|
-
},
|
5399
|
-
{
|
5400
|
-
"description": "The check icon part of the card",
|
5401
|
-
"name": "check-icon"
|
5402
|
-
},
|
5403
|
-
{
|
5404
|
-
"description": "The check icon button part of the card",
|
5405
|
-
"name": "check-icon-button"
|
5349
|
+
"name": "text"
|
5406
5350
|
}
|
5407
5351
|
],
|
5408
5352
|
"slots": [
|
5409
5353
|
{
|
5410
5354
|
"description": "This slot is for passing the content before the body",
|
5411
|
-
"name": "before-body"
|
5412
|
-
"inheritedFrom": {
|
5413
|
-
"name": "Card",
|
5414
|
-
"module": "src/components/card/card.component.ts"
|
5415
|
-
}
|
5355
|
+
"name": "before-body"
|
5416
5356
|
},
|
5417
5357
|
{
|
5418
5358
|
"description": "This slot is for passing the text content for the card",
|
5419
|
-
"name": "body"
|
5420
|
-
"inheritedFrom": {
|
5421
|
-
"name": "Card",
|
5422
|
-
"module": "src/components/card/card.component.ts"
|
5423
|
-
}
|
5359
|
+
"name": "body"
|
5424
5360
|
},
|
5425
5361
|
{
|
5426
5362
|
"description": "This slot is for passing the content after the body",
|
5427
|
-
"name": "after-body"
|
5428
|
-
"inheritedFrom": {
|
5429
|
-
"name": "Card",
|
5430
|
-
"module": "src/components/card/card.component.ts"
|
5431
|
-
}
|
5363
|
+
"name": "after-body"
|
5432
5364
|
},
|
5433
5365
|
{
|
5434
5366
|
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
5435
|
-
"name": "footer-link"
|
5436
|
-
"inheritedFrom": {
|
5437
|
-
"name": "Card",
|
5438
|
-
"module": "src/components/card/card.component.ts"
|
5439
|
-
}
|
5367
|
+
"name": "footer-link"
|
5440
5368
|
},
|
5441
5369
|
{
|
5442
5370
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
5443
|
-
"name": "footer-button-primary"
|
5444
|
-
"inheritedFrom": {
|
5445
|
-
"name": "Card",
|
5446
|
-
"module": "src/components/card/card.component.ts"
|
5447
|
-
}
|
5371
|
+
"name": "footer-button-primary"
|
5448
5372
|
},
|
5449
5373
|
{
|
5450
5374
|
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
5451
|
-
"name": "footer-button-secondary"
|
5452
|
-
"inheritedFrom": {
|
5453
|
-
"name": "Card",
|
5454
|
-
"module": "src/components/card/card.component.ts"
|
5455
|
-
}
|
5375
|
+
"name": "footer-button-secondary"
|
5456
5376
|
},
|
5457
5377
|
{
|
5458
5378
|
"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.",
|
5459
|
-
"name": "footer"
|
5460
|
-
"inheritedFrom": {
|
5461
|
-
"name": "Card",
|
5462
|
-
"module": "src/components/card/card.component.ts"
|
5463
|
-
}
|
5379
|
+
"name": "footer"
|
5464
5380
|
}
|
5465
5381
|
],
|
5466
5382
|
"members": [
|
5467
|
-
{
|
5468
|
-
"kind": "field",
|
5469
|
-
"name": "checked",
|
5470
|
-
"type": {
|
5471
|
-
"text": "boolean"
|
5472
|
-
},
|
5473
|
-
"default": "false",
|
5474
|
-
"description": "The checked state of the card",
|
5475
|
-
"attribute": "checked",
|
5476
|
-
"reflects": true
|
5477
|
-
},
|
5478
|
-
{
|
5479
|
-
"kind": "field",
|
5480
|
-
"name": "selectionType",
|
5481
|
-
"type": {
|
5482
|
-
"text": "SelectionType"
|
5483
|
-
},
|
5484
|
-
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
5485
|
-
"default": "'check'",
|
5486
|
-
"attribute": "selection-type",
|
5487
|
-
"reflects": true
|
5488
|
-
},
|
5489
|
-
{
|
5490
|
-
"kind": "method",
|
5491
|
-
"name": "toggleChecked",
|
5492
|
-
"privacy": "private",
|
5493
|
-
"description": "Toggles the checked state"
|
5494
|
-
},
|
5495
|
-
{
|
5496
|
-
"kind": "method",
|
5497
|
-
"name": "toggleOnEnter",
|
5498
|
-
"privacy": "private",
|
5499
|
-
"parameters": [
|
5500
|
-
{
|
5501
|
-
"name": "event",
|
5502
|
-
"type": {
|
5503
|
-
"text": "KeyboardEvent"
|
5504
|
-
},
|
5505
|
-
"description": "The keyboard event"
|
5506
|
-
}
|
5507
|
-
],
|
5508
|
-
"description": "Toggles the checked state when enter key is used"
|
5509
|
-
},
|
5510
|
-
{
|
5511
|
-
"kind": "method",
|
5512
|
-
"name": "toggleOnSpace",
|
5513
|
-
"privacy": "private",
|
5514
|
-
"parameters": [
|
5515
|
-
{
|
5516
|
-
"name": "event",
|
5517
|
-
"type": {
|
5518
|
-
"text": "KeyboardEvent"
|
5519
|
-
},
|
5520
|
-
"description": "The keyboard event"
|
5521
|
-
}
|
5522
|
-
],
|
5523
|
-
"description": "Toggles the checked state when space key is used"
|
5524
|
-
},
|
5525
|
-
{
|
5526
|
-
"kind": "method",
|
5527
|
-
"name": "renderSelection",
|
5528
|
-
"privacy": "private",
|
5529
|
-
"description": "Renders the selection icon or checkbox based on the selection type",
|
5530
|
-
"return": {
|
5531
|
-
"type": {
|
5532
|
-
"text": ""
|
5533
|
-
}
|
5534
|
-
}
|
5535
|
-
},
|
5536
5383
|
{
|
5537
5384
|
"kind": "method",
|
5538
5385
|
"name": "renderHeader",
|
5539
5386
|
"privacy": "protected",
|
5540
|
-
"description": "Renders the header of the card",
|
5387
|
+
"description": "Renders the header of the card if title is provided",
|
5541
5388
|
"return": {
|
5542
5389
|
"type": {
|
5543
5390
|
"text": ""
|
5544
5391
|
}
|
5545
|
-
},
|
5546
|
-
"inheritedFrom": {
|
5547
|
-
"name": "Card",
|
5548
|
-
"module": "components/card/card.component.js"
|
5549
|
-
}
|
5550
|
-
},
|
5551
|
-
{
|
5552
|
-
"kind": "field",
|
5553
|
-
"name": "disabled",
|
5554
|
-
"type": {
|
5555
|
-
"text": "boolean | undefined"
|
5556
|
-
},
|
5557
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5558
|
-
"default": "undefined",
|
5559
|
-
"attribute": "disabled",
|
5560
|
-
"reflects": true,
|
5561
|
-
"inheritedFrom": {
|
5562
|
-
"name": "DisabledMixin",
|
5563
|
-
"module": "utils/mixins/DisabledMixin.js"
|
5564
|
-
}
|
5565
|
-
},
|
5566
|
-
{
|
5567
|
-
"kind": "field",
|
5568
|
-
"name": "tabIndex",
|
5569
|
-
"type": {
|
5570
|
-
"text": "number"
|
5571
|
-
},
|
5572
|
-
"default": "0",
|
5573
|
-
"description": "This property specifies the tab order of the element.",
|
5574
|
-
"attribute": "tabIndex",
|
5575
|
-
"reflects": true,
|
5576
|
-
"inheritedFrom": {
|
5577
|
-
"name": "TabIndexMixin",
|
5578
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
5579
5392
|
}
|
5580
5393
|
},
|
5581
5394
|
{
|
@@ -5773,81 +5586,24 @@
|
|
5773
5586
|
}
|
5774
5587
|
}
|
5775
5588
|
],
|
5776
|
-
"
|
5777
|
-
{
|
5778
|
-
"name": "change",
|
5779
|
-
"type": {
|
5780
|
-
"text": "Event"
|
5781
|
-
},
|
5782
|
-
"description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
|
5783
|
-
"reactName": "onChange"
|
5784
|
-
},
|
5785
|
-
{
|
5786
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
|
5787
|
-
"name": "click",
|
5788
|
-
"reactName": "onClick"
|
5789
|
-
},
|
5790
|
-
{
|
5791
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
|
5792
|
-
"name": "keydown",
|
5793
|
-
"reactName": "onKeyDown"
|
5794
|
-
},
|
5589
|
+
"mixins": [
|
5795
5590
|
{
|
5796
|
-
"
|
5797
|
-
"
|
5798
|
-
"reactName": "onKeyUp"
|
5591
|
+
"name": "CardComponentMixin",
|
5592
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
5799
5593
|
},
|
5800
5594
|
{
|
5801
|
-
"
|
5802
|
-
"
|
5803
|
-
"reactName": "onFocus"
|
5595
|
+
"name": "FooterMixin",
|
5596
|
+
"module": "/src/utils/mixins/FooterMixin"
|
5804
5597
|
}
|
5805
5598
|
],
|
5599
|
+
"superclass": {
|
5600
|
+
"name": "Component",
|
5601
|
+
"module": "/src/models"
|
5602
|
+
},
|
5603
|
+
"tagName": "mdc-card",
|
5604
|
+
"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 */",
|
5605
|
+
"customElement": true,
|
5806
5606
|
"attributes": [
|
5807
|
-
{
|
5808
|
-
"name": "checked",
|
5809
|
-
"type": {
|
5810
|
-
"text": "boolean"
|
5811
|
-
},
|
5812
|
-
"default": "false",
|
5813
|
-
"description": "The checked state of the card",
|
5814
|
-
"fieldName": "checked"
|
5815
|
-
},
|
5816
|
-
{
|
5817
|
-
"name": "selection-type",
|
5818
|
-
"type": {
|
5819
|
-
"text": "SelectionType"
|
5820
|
-
},
|
5821
|
-
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
5822
|
-
"default": "'check'",
|
5823
|
-
"fieldName": "selectionType"
|
5824
|
-
},
|
5825
|
-
{
|
5826
|
-
"name": "disabled",
|
5827
|
-
"type": {
|
5828
|
-
"text": "boolean | undefined"
|
5829
|
-
},
|
5830
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5831
|
-
"default": "undefined",
|
5832
|
-
"fieldName": "disabled",
|
5833
|
-
"inheritedFrom": {
|
5834
|
-
"name": "DisabledMixin",
|
5835
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
5836
|
-
}
|
5837
|
-
},
|
5838
|
-
{
|
5839
|
-
"name": "tabIndex",
|
5840
|
-
"type": {
|
5841
|
-
"text": "number"
|
5842
|
-
},
|
5843
|
-
"default": "0",
|
5844
|
-
"description": "This property specifies the tab order of the element.",
|
5845
|
-
"fieldName": "tabIndex",
|
5846
|
-
"inheritedFrom": {
|
5847
|
-
"name": "TabIndexMixin",
|
5848
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
5849
|
-
}
|
5850
|
-
},
|
5851
5607
|
{
|
5852
5608
|
"name": "card-title",
|
5853
5609
|
"type": {
|
@@ -5964,24 +5720,7 @@
|
|
5964
5720
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5965
5721
|
}
|
5966
5722
|
}
|
5967
|
-
]
|
5968
|
-
"mixins": [
|
5969
|
-
{
|
5970
|
-
"name": "DisabledMixin",
|
5971
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
5972
|
-
},
|
5973
|
-
{
|
5974
|
-
"name": "TabIndexMixin",
|
5975
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
5976
|
-
}
|
5977
|
-
],
|
5978
|
-
"superclass": {
|
5979
|
-
"name": "Card",
|
5980
|
-
"module": "/src/components/card/card.component"
|
5981
|
-
},
|
5982
|
-
"tagName": "mdc-cardcheckbox",
|
5983
|
-
"jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\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 * @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 * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
|
5984
|
-
"customElement": true
|
5723
|
+
]
|
5985
5724
|
}
|
5986
5725
|
],
|
5987
5726
|
"exports": [
|
@@ -5989,20 +5728,20 @@
|
|
5989
5728
|
"kind": "js",
|
5990
5729
|
"name": "default",
|
5991
5730
|
"declaration": {
|
5992
|
-
"name": "
|
5993
|
-
"module": "components/
|
5731
|
+
"name": "Card",
|
5732
|
+
"module": "components/card/card.component.js"
|
5994
5733
|
}
|
5995
5734
|
}
|
5996
5735
|
]
|
5997
5736
|
},
|
5998
5737
|
{
|
5999
5738
|
"kind": "javascript-module",
|
6000
|
-
"path": "components/
|
5739
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
6001
5740
|
"declarations": [
|
6002
5741
|
{
|
6003
5742
|
"kind": "class",
|
6004
|
-
"description": "
|
6005
|
-
"name": "
|
5743
|
+
"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.",
|
5744
|
+
"name": "CardButton",
|
6006
5745
|
"cssProperties": [
|
6007
5746
|
{
|
6008
5747
|
"description": "The width of the card",
|
@@ -6071,14 +5810,6 @@
|
|
6071
5810
|
{
|
6072
5811
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
6073
5812
|
"name": "footer-button-primary"
|
6074
|
-
},
|
6075
|
-
{
|
6076
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
6077
|
-
"name": "footer-button-secondary"
|
6078
|
-
},
|
6079
|
-
{
|
6080
|
-
"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.",
|
6081
|
-
"name": "footer"
|
6082
5813
|
}
|
6083
5814
|
],
|
6084
5815
|
"members": [
|
@@ -6273,712 +6004,840 @@
|
|
6273
6004
|
}
|
6274
6005
|
},
|
6275
6006
|
{
|
6276
|
-
"kind": "
|
6277
|
-
"name": "
|
6278
|
-
"
|
6279
|
-
|
6280
|
-
"return": {
|
6281
|
-
"type": {
|
6282
|
-
"text": ""
|
6283
|
-
}
|
6007
|
+
"kind": "field",
|
6008
|
+
"name": "autoFocusOnMount",
|
6009
|
+
"type": {
|
6010
|
+
"text": "boolean"
|
6284
6011
|
},
|
6012
|
+
"default": "false",
|
6013
|
+
"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.",
|
6014
|
+
"attribute": "auto-focus-on-mount",
|
6015
|
+
"reflects": true,
|
6285
6016
|
"inheritedFrom": {
|
6286
|
-
"name": "
|
6287
|
-
"module": "
|
6017
|
+
"name": "Buttonsimple",
|
6018
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6288
6019
|
}
|
6289
|
-
}
|
6290
|
-
],
|
6291
|
-
"mixins": [
|
6292
|
-
{
|
6293
|
-
"name": "CardComponentMixin",
|
6294
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
6295
6020
|
},
|
6296
6021
|
{
|
6297
|
-
"
|
6298
|
-
"
|
6299
|
-
}
|
6300
|
-
],
|
6301
|
-
"superclass": {
|
6302
|
-
"name": "Component",
|
6303
|
-
"module": "/src/models"
|
6304
|
-
},
|
6305
|
-
"tagName": "mdc-card",
|
6306
|
-
"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 */",
|
6307
|
-
"customElement": true,
|
6308
|
-
"attributes": [
|
6309
|
-
{
|
6310
|
-
"name": "card-title",
|
6022
|
+
"kind": "field",
|
6023
|
+
"name": "tabIndex",
|
6311
6024
|
"type": {
|
6312
|
-
"text": "
|
6025
|
+
"text": "number"
|
6313
6026
|
},
|
6314
|
-
"default": "
|
6315
|
-
"description": "
|
6316
|
-
"
|
6027
|
+
"default": "0",
|
6028
|
+
"description": "This property specifies the tab order of the element.",
|
6029
|
+
"attribute": "tabIndex",
|
6030
|
+
"reflects": true,
|
6317
6031
|
"inheritedFrom": {
|
6318
|
-
"name": "
|
6319
|
-
"module": "
|
6032
|
+
"name": "Buttonsimple",
|
6033
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6320
6034
|
}
|
6321
6035
|
},
|
6322
6036
|
{
|
6323
|
-
"
|
6037
|
+
"kind": "field",
|
6038
|
+
"name": "disabled",
|
6324
6039
|
"type": {
|
6325
|
-
"text": "
|
6040
|
+
"text": "boolean | undefined"
|
6326
6041
|
},
|
6327
|
-
"
|
6328
|
-
"
|
6329
|
-
"
|
6042
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6043
|
+
"default": "undefined",
|
6044
|
+
"attribute": "disabled",
|
6045
|
+
"reflects": true,
|
6330
6046
|
"inheritedFrom": {
|
6331
|
-
"name": "
|
6332
|
-
"module": "
|
6047
|
+
"name": "Buttonsimple",
|
6048
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6333
6049
|
}
|
6334
6050
|
},
|
6335
6051
|
{
|
6336
|
-
"
|
6052
|
+
"kind": "field",
|
6053
|
+
"name": "active",
|
6337
6054
|
"type": {
|
6338
|
-
"text": "
|
6055
|
+
"text": "boolean | undefined"
|
6339
6056
|
},
|
6340
|
-
"
|
6341
|
-
"
|
6342
|
-
"
|
6057
|
+
"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.",
|
6058
|
+
"default": "undefined",
|
6059
|
+
"attribute": "active",
|
6060
|
+
"reflects": true,
|
6343
6061
|
"inheritedFrom": {
|
6344
|
-
"name": "
|
6345
|
-
"module": "
|
6062
|
+
"name": "Buttonsimple",
|
6063
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6346
6064
|
}
|
6347
6065
|
},
|
6348
6066
|
{
|
6349
|
-
"
|
6067
|
+
"kind": "field",
|
6068
|
+
"name": "softDisabled",
|
6350
6069
|
"type": {
|
6351
|
-
"text": "
|
6070
|
+
"text": "boolean | undefined"
|
6352
6071
|
},
|
6353
|
-
"
|
6354
|
-
"
|
6355
|
-
"
|
6072
|
+
"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.",
|
6073
|
+
"default": "undefined",
|
6074
|
+
"attribute": "soft-disabled",
|
6075
|
+
"reflects": true,
|
6356
6076
|
"inheritedFrom": {
|
6357
|
-
"name": "
|
6358
|
-
"module": "
|
6077
|
+
"name": "Buttonsimple",
|
6078
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6359
6079
|
}
|
6360
6080
|
},
|
6361
6081
|
{
|
6362
|
-
"
|
6082
|
+
"kind": "field",
|
6083
|
+
"name": "size",
|
6363
6084
|
"type": {
|
6364
|
-
"text": "
|
6085
|
+
"text": "ButtonSize"
|
6365
6086
|
},
|
6366
|
-
"description": "
|
6367
|
-
"default": "
|
6368
|
-
"
|
6087
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
6088
|
+
"default": "32",
|
6089
|
+
"attribute": "size",
|
6090
|
+
"reflects": true,
|
6369
6091
|
"inheritedFrom": {
|
6370
|
-
"name": "
|
6371
|
-
"module": "
|
6092
|
+
"name": "Buttonsimple",
|
6093
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6372
6094
|
}
|
6373
6095
|
},
|
6374
6096
|
{
|
6375
|
-
"
|
6097
|
+
"kind": "field",
|
6098
|
+
"name": "role",
|
6376
6099
|
"type": {
|
6377
|
-
"text": "
|
6100
|
+
"text": "RoleType"
|
6378
6101
|
},
|
6379
|
-
"description": "
|
6380
|
-
"default": "
|
6381
|
-
"
|
6102
|
+
"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.",
|
6103
|
+
"default": "button",
|
6104
|
+
"attribute": "role",
|
6105
|
+
"reflects": true,
|
6382
6106
|
"inheritedFrom": {
|
6383
|
-
"name": "
|
6384
|
-
"module": "
|
6107
|
+
"name": "Buttonsimple",
|
6108
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6385
6109
|
}
|
6386
6110
|
},
|
6387
6111
|
{
|
6388
|
-
"
|
6112
|
+
"kind": "field",
|
6113
|
+
"name": "ariaStateKey",
|
6389
6114
|
"type": {
|
6390
|
-
"text": "
|
6115
|
+
"text": "string | undefined"
|
6391
6116
|
},
|
6392
|
-
"description": "
|
6393
|
-
"default": "'
|
6394
|
-
"
|
6117
|
+
"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`",
|
6118
|
+
"default": "'aria-pressed' (when)",
|
6119
|
+
"attribute": "ariaStateKey",
|
6120
|
+
"reflects": true,
|
6395
6121
|
"inheritedFrom": {
|
6396
|
-
"name": "
|
6397
|
-
"module": "
|
6122
|
+
"name": "Buttonsimple",
|
6123
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6398
6124
|
}
|
6399
6125
|
},
|
6400
6126
|
{
|
6401
|
-
"
|
6127
|
+
"kind": "field",
|
6128
|
+
"name": "type",
|
6402
6129
|
"type": {
|
6403
|
-
"text": "
|
6130
|
+
"text": "ButtonType"
|
6404
6131
|
},
|
6405
|
-
"description": "
|
6406
|
-
"default": "
|
6407
|
-
"
|
6132
|
+
"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.",
|
6133
|
+
"default": "button",
|
6134
|
+
"attribute": "type",
|
6135
|
+
"reflects": true,
|
6408
6136
|
"inheritedFrom": {
|
6409
|
-
"name": "
|
6410
|
-
"module": "
|
6137
|
+
"name": "Buttonsimple",
|
6138
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6411
6139
|
}
|
6412
6140
|
},
|
6413
6141
|
{
|
6414
|
-
"
|
6142
|
+
"kind": "field",
|
6143
|
+
"name": "name",
|
6415
6144
|
"type": {
|
6416
|
-
"text": "
|
6145
|
+
"text": "string | undefined"
|
6417
6146
|
},
|
6418
|
-
"description": "
|
6419
|
-
"
|
6147
|
+
"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.",
|
6148
|
+
"attribute": "name",
|
6149
|
+
"reflects": true,
|
6420
6150
|
"inheritedFrom": {
|
6421
|
-
"name": "
|
6422
|
-
"module": "
|
6151
|
+
"name": "Buttonsimple",
|
6152
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6423
6153
|
}
|
6424
|
-
}
|
6425
|
-
]
|
6426
|
-
}
|
6427
|
-
],
|
6428
|
-
"exports": [
|
6429
|
-
{
|
6430
|
-
"kind": "js",
|
6431
|
-
"name": "default",
|
6432
|
-
"declaration": {
|
6433
|
-
"name": "Card",
|
6434
|
-
"module": "components/card/card.component.js"
|
6435
|
-
}
|
6436
|
-
}
|
6437
|
-
]
|
6438
|
-
},
|
6439
|
-
{
|
6440
|
-
"kind": "javascript-module",
|
6441
|
-
"path": "components/cardbutton/cardbutton.component.js",
|
6442
|
-
"declarations": [
|
6443
|
-
{
|
6444
|
-
"kind": "class",
|
6445
|
-
"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.",
|
6446
|
-
"name": "CardButton",
|
6447
|
-
"cssProperties": [
|
6448
|
-
{
|
6449
|
-
"description": "The width of the card",
|
6450
|
-
"name": "--mdc-card-width"
|
6451
|
-
}
|
6452
|
-
],
|
6453
|
-
"cssParts": [
|
6454
|
-
{
|
6455
|
-
"description": "The header part of the card",
|
6456
|
-
"name": "header"
|
6457
6154
|
},
|
6458
6155
|
{
|
6459
|
-
"
|
6460
|
-
"name": "
|
6156
|
+
"kind": "field",
|
6157
|
+
"name": "value",
|
6158
|
+
"type": {
|
6159
|
+
"text": "string | undefined"
|
6160
|
+
},
|
6161
|
+
"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.",
|
6162
|
+
"attribute": "value",
|
6163
|
+
"reflects": true,
|
6164
|
+
"inheritedFrom": {
|
6165
|
+
"name": "Buttonsimple",
|
6166
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6167
|
+
}
|
6461
6168
|
},
|
6462
6169
|
{
|
6463
|
-
"
|
6464
|
-
"name": "
|
6170
|
+
"kind": "method",
|
6171
|
+
"name": "executeAction",
|
6172
|
+
"privacy": "protected",
|
6173
|
+
"inheritedFrom": {
|
6174
|
+
"name": "Buttonsimple",
|
6175
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6176
|
+
}
|
6465
6177
|
},
|
6466
6178
|
{
|
6467
|
-
"
|
6468
|
-
"name": "
|
6179
|
+
"kind": "method",
|
6180
|
+
"name": "setActive",
|
6181
|
+
"privacy": "protected",
|
6182
|
+
"parameters": [
|
6183
|
+
{
|
6184
|
+
"name": "element",
|
6185
|
+
"type": {
|
6186
|
+
"text": "HTMLElement"
|
6187
|
+
},
|
6188
|
+
"description": "The button element"
|
6189
|
+
},
|
6190
|
+
{
|
6191
|
+
"name": "active",
|
6192
|
+
"optional": true,
|
6193
|
+
"type": {
|
6194
|
+
"text": "boolean"
|
6195
|
+
},
|
6196
|
+
"description": "The active state of the element"
|
6197
|
+
}
|
6198
|
+
],
|
6199
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
6200
|
+
"inheritedFrom": {
|
6201
|
+
"name": "Buttonsimple",
|
6202
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6203
|
+
}
|
6469
6204
|
},
|
6470
6205
|
{
|
6471
|
-
"
|
6472
|
-
"name": "
|
6206
|
+
"kind": "method",
|
6207
|
+
"name": "setSoftDisabled",
|
6208
|
+
"privacy": "private",
|
6209
|
+
"parameters": [
|
6210
|
+
{
|
6211
|
+
"name": "element",
|
6212
|
+
"type": {
|
6213
|
+
"text": "HTMLElement"
|
6214
|
+
},
|
6215
|
+
"description": "The button element."
|
6216
|
+
},
|
6217
|
+
{
|
6218
|
+
"name": "softDisabled",
|
6219
|
+
"optional": true,
|
6220
|
+
"type": {
|
6221
|
+
"text": "boolean"
|
6222
|
+
},
|
6223
|
+
"description": "The soft-disabled state."
|
6224
|
+
}
|
6225
|
+
],
|
6226
|
+
"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.",
|
6227
|
+
"inheritedFrom": {
|
6228
|
+
"name": "Buttonsimple",
|
6229
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6230
|
+
}
|
6473
6231
|
},
|
6474
6232
|
{
|
6475
|
-
"
|
6476
|
-
"name": "
|
6233
|
+
"kind": "method",
|
6234
|
+
"name": "setDisabled",
|
6235
|
+
"privacy": "private",
|
6236
|
+
"parameters": [
|
6237
|
+
{
|
6238
|
+
"name": "element",
|
6239
|
+
"type": {
|
6240
|
+
"text": "HTMLElement"
|
6241
|
+
},
|
6242
|
+
"description": "The button element."
|
6243
|
+
},
|
6244
|
+
{
|
6245
|
+
"name": "disabled",
|
6246
|
+
"type": {
|
6247
|
+
"text": "boolean"
|
6248
|
+
},
|
6249
|
+
"description": "The disabled state."
|
6250
|
+
}
|
6251
|
+
],
|
6252
|
+
"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.",
|
6253
|
+
"inheritedFrom": {
|
6254
|
+
"name": "Buttonsimple",
|
6255
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6256
|
+
}
|
6477
6257
|
},
|
6478
6258
|
{
|
6479
|
-
"
|
6480
|
-
"name": "
|
6259
|
+
"kind": "method",
|
6260
|
+
"name": "triggerClickEvent",
|
6261
|
+
"privacy": "private",
|
6262
|
+
"inheritedFrom": {
|
6263
|
+
"name": "Buttonsimple",
|
6264
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6265
|
+
}
|
6481
6266
|
},
|
6482
6267
|
{
|
6483
|
-
"
|
6484
|
-
"name": "
|
6268
|
+
"kind": "method",
|
6269
|
+
"name": "handleBlur",
|
6270
|
+
"privacy": "private",
|
6271
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
6272
|
+
"inheritedFrom": {
|
6273
|
+
"name": "Buttonsimple",
|
6274
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6275
|
+
}
|
6485
6276
|
},
|
6486
6277
|
{
|
6487
|
-
"
|
6488
|
-
"name": "
|
6278
|
+
"kind": "method",
|
6279
|
+
"name": "handleKeyDown",
|
6280
|
+
"privacy": "private",
|
6281
|
+
"parameters": [
|
6282
|
+
{
|
6283
|
+
"name": "event",
|
6284
|
+
"type": {
|
6285
|
+
"text": "KeyboardEvent"
|
6286
|
+
},
|
6287
|
+
"description": "The keyboard event."
|
6288
|
+
}
|
6289
|
+
],
|
6290
|
+
"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.",
|
6291
|
+
"inheritedFrom": {
|
6292
|
+
"name": "Buttonsimple",
|
6293
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6294
|
+
}
|
6489
6295
|
},
|
6490
6296
|
{
|
6491
|
-
"
|
6492
|
-
"name": "
|
6297
|
+
"kind": "method",
|
6298
|
+
"name": "handleKeyUp",
|
6299
|
+
"privacy": "private",
|
6300
|
+
"parameters": [
|
6301
|
+
{
|
6302
|
+
"name": "event",
|
6303
|
+
"type": {
|
6304
|
+
"text": "KeyboardEvent"
|
6305
|
+
},
|
6306
|
+
"description": "The keyboard event."
|
6307
|
+
}
|
6308
|
+
],
|
6309
|
+
"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.",
|
6310
|
+
"inheritedFrom": {
|
6311
|
+
"name": "Buttonsimple",
|
6312
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
6313
|
+
}
|
6493
6314
|
}
|
6494
6315
|
],
|
6495
|
-
"
|
6496
|
-
{
|
6497
|
-
"description": "This slot is for passing the content before the body",
|
6498
|
-
"name": "before-body"
|
6499
|
-
},
|
6316
|
+
"events": [
|
6500
6317
|
{
|
6501
|
-
"description": "
|
6502
|
-
"name": "
|
6318
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
6319
|
+
"name": "click",
|
6320
|
+
"reactName": "onClick",
|
6321
|
+
"inheritedFrom": {
|
6322
|
+
"name": "Buttonsimple",
|
6323
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6324
|
+
}
|
6503
6325
|
},
|
6504
6326
|
{
|
6505
|
-
"description": "This
|
6506
|
-
"name": "
|
6327
|
+
"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.",
|
6328
|
+
"name": "keydown",
|
6329
|
+
"reactName": "onKeyDown",
|
6330
|
+
"inheritedFrom": {
|
6331
|
+
"name": "Buttonsimple",
|
6332
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6333
|
+
}
|
6507
6334
|
},
|
6508
6335
|
{
|
6509
|
-
"description": "This
|
6510
|
-
"name": "
|
6336
|
+
"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.",
|
6337
|
+
"name": "keyup",
|
6338
|
+
"reactName": "onKeyUp",
|
6339
|
+
"inheritedFrom": {
|
6340
|
+
"name": "Buttonsimple",
|
6341
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6342
|
+
}
|
6511
6343
|
},
|
6512
6344
|
{
|
6513
|
-
"description": "
|
6514
|
-
"name": "
|
6345
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
6346
|
+
"name": "focus",
|
6347
|
+
"reactName": "onFocus",
|
6348
|
+
"inheritedFrom": {
|
6349
|
+
"name": "Buttonsimple",
|
6350
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6351
|
+
}
|
6515
6352
|
}
|
6516
6353
|
],
|
6517
|
-
"
|
6354
|
+
"mixins": [
|
6518
6355
|
{
|
6519
|
-
"
|
6520
|
-
"
|
6521
|
-
|
6522
|
-
|
6523
|
-
|
6524
|
-
|
6525
|
-
|
6526
|
-
|
6527
|
-
|
6528
|
-
|
6356
|
+
"name": "CardComponentMixin",
|
6357
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
6358
|
+
}
|
6359
|
+
],
|
6360
|
+
"superclass": {
|
6361
|
+
"name": "Buttonsimple",
|
6362
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
6363
|
+
},
|
6364
|
+
"tagName": "mdc-cardbutton",
|
6365
|
+
"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 */",
|
6366
|
+
"customElement": true,
|
6367
|
+
"attributes": [
|
6529
6368
|
{
|
6530
|
-
"
|
6531
|
-
"name": "cardTitle",
|
6369
|
+
"name": "card-title",
|
6532
6370
|
"type": {
|
6533
6371
|
"text": "string"
|
6534
6372
|
},
|
6535
6373
|
"default": "''",
|
6536
6374
|
"description": "The title of the card - part of header section",
|
6537
|
-
"
|
6538
|
-
"reflects": true,
|
6375
|
+
"fieldName": "cardTitle",
|
6539
6376
|
"inheritedFrom": {
|
6540
6377
|
"name": "CardComponentMixin",
|
6541
|
-
"module": "utils/mixins/CardComponentMixin.
|
6378
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6542
6379
|
}
|
6543
6380
|
},
|
6544
6381
|
{
|
6545
|
-
"kind": "field",
|
6546
6382
|
"name": "subtitle",
|
6547
6383
|
"type": {
|
6548
6384
|
"text": "string"
|
6549
6385
|
},
|
6550
6386
|
"default": "''",
|
6551
6387
|
"description": "The subtitle of the card - part of header section",
|
6552
|
-
"
|
6553
|
-
"reflects": true,
|
6388
|
+
"fieldName": "subtitle",
|
6554
6389
|
"inheritedFrom": {
|
6555
6390
|
"name": "CardComponentMixin",
|
6556
|
-
"module": "utils/mixins/CardComponentMixin.
|
6391
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6557
6392
|
}
|
6558
6393
|
},
|
6559
6394
|
{
|
6560
|
-
"
|
6561
|
-
"name": "imageSrc",
|
6395
|
+
"name": "image-src",
|
6562
6396
|
"type": {
|
6563
6397
|
"text": "string"
|
6564
6398
|
},
|
6565
6399
|
"default": "''",
|
6566
6400
|
"description": "The image source URL to render on the card",
|
6567
|
-
"
|
6568
|
-
"reflects": true,
|
6401
|
+
"fieldName": "imageSrc",
|
6569
6402
|
"inheritedFrom": {
|
6570
6403
|
"name": "CardComponentMixin",
|
6571
|
-
"module": "utils/mixins/CardComponentMixin.
|
6404
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6572
6405
|
}
|
6573
6406
|
},
|
6574
6407
|
{
|
6575
|
-
"
|
6576
|
-
"name": "imageAlt",
|
6408
|
+
"name": "image-alt",
|
6577
6409
|
"type": {
|
6578
6410
|
"text": "string"
|
6579
6411
|
},
|
6580
6412
|
"default": "''",
|
6581
6413
|
"description": "The image alt for accessibility support",
|
6582
|
-
"
|
6583
|
-
"reflects": true,
|
6414
|
+
"fieldName": "imageAlt",
|
6584
6415
|
"inheritedFrom": {
|
6585
6416
|
"name": "CardComponentMixin",
|
6586
|
-
"module": "utils/mixins/CardComponentMixin.
|
6417
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6587
6418
|
}
|
6588
6419
|
},
|
6589
6420
|
{
|
6590
|
-
"kind": "field",
|
6591
6421
|
"name": "variant",
|
6592
6422
|
"type": {
|
6593
6423
|
"text": "CardVariant"
|
6594
6424
|
},
|
6595
6425
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
6596
6426
|
"default": "'border'",
|
6597
|
-
"
|
6598
|
-
"reflects": true,
|
6427
|
+
"fieldName": "variant",
|
6599
6428
|
"inheritedFrom": {
|
6600
6429
|
"name": "CardComponentMixin",
|
6601
|
-
"module": "utils/mixins/CardComponentMixin.
|
6430
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6602
6431
|
}
|
6603
6432
|
},
|
6604
6433
|
{
|
6605
|
-
"kind": "field",
|
6606
6434
|
"name": "orientation",
|
6607
6435
|
"type": {
|
6608
6436
|
"text": "CardOrientation"
|
6609
6437
|
},
|
6610
6438
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
6611
6439
|
"default": "'vertical'",
|
6612
|
-
"
|
6613
|
-
"reflects": true,
|
6440
|
+
"fieldName": "orientation",
|
6614
6441
|
"inheritedFrom": {
|
6615
6442
|
"name": "CardComponentMixin",
|
6616
|
-
"module": "utils/mixins/CardComponentMixin.
|
6443
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6617
6444
|
}
|
6618
6445
|
},
|
6619
6446
|
{
|
6620
|
-
"
|
6621
|
-
"name": "titleTagName",
|
6447
|
+
"name": "title-tag-name",
|
6622
6448
|
"type": {
|
6623
6449
|
"text": "TagNameType"
|
6624
6450
|
},
|
6625
6451
|
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
6626
6452
|
"default": "'span'",
|
6627
|
-
"
|
6628
|
-
"reflects": true,
|
6453
|
+
"fieldName": "titleTagName",
|
6629
6454
|
"inheritedFrom": {
|
6630
6455
|
"name": "CardComponentMixin",
|
6631
|
-
"module": "utils/mixins/CardComponentMixin.
|
6456
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6632
6457
|
}
|
6633
6458
|
},
|
6634
6459
|
{
|
6635
|
-
"
|
6636
|
-
"name": "subtitleTagName",
|
6460
|
+
"name": "subtitle-tag-name",
|
6637
6461
|
"type": {
|
6638
6462
|
"text": "TagNameType"
|
6639
6463
|
},
|
6640
6464
|
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
6641
6465
|
"default": "'span'",
|
6642
|
-
"
|
6643
|
-
"reflects": true,
|
6466
|
+
"fieldName": "subtitleTagName",
|
6644
6467
|
"inheritedFrom": {
|
6645
6468
|
"name": "CardComponentMixin",
|
6646
|
-
"module": "utils/mixins/CardComponentMixin.
|
6469
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6647
6470
|
}
|
6648
6471
|
},
|
6649
6472
|
{
|
6650
|
-
"
|
6651
|
-
"name": "iconName",
|
6473
|
+
"name": "icon-name",
|
6652
6474
|
"type": {
|
6653
6475
|
"text": "IconNames | undefined"
|
6654
6476
|
},
|
6655
6477
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
6656
|
-
"
|
6657
|
-
"reflects": true,
|
6658
|
-
"inheritedFrom": {
|
6659
|
-
"name": "CardComponentMixin",
|
6660
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
6661
|
-
}
|
6662
|
-
},
|
6663
|
-
{
|
6664
|
-
"kind": "method",
|
6665
|
-
"name": "renderImage",
|
6666
|
-
"privacy": "protected",
|
6667
|
-
"description": "Renders the image on the card if image source is provided",
|
6668
|
-
"return": {
|
6669
|
-
"type": {
|
6670
|
-
"text": ""
|
6671
|
-
}
|
6672
|
-
},
|
6673
|
-
"inheritedFrom": {
|
6674
|
-
"name": "CardComponentMixin",
|
6675
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
6676
|
-
}
|
6677
|
-
},
|
6678
|
-
{
|
6679
|
-
"kind": "method",
|
6680
|
-
"name": "renderIcon",
|
6681
|
-
"privacy": "protected",
|
6682
|
-
"description": "Renders the icon on the card if icon name is provided",
|
6683
|
-
"return": {
|
6684
|
-
"type": {
|
6685
|
-
"text": ""
|
6686
|
-
}
|
6687
|
-
},
|
6688
|
-
"inheritedFrom": {
|
6689
|
-
"name": "CardComponentMixin",
|
6690
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
6691
|
-
}
|
6692
|
-
},
|
6693
|
-
{
|
6694
|
-
"kind": "method",
|
6695
|
-
"name": "renderTitle",
|
6696
|
-
"privacy": "protected",
|
6697
|
-
"description": "Renders the title and subtitle on the card",
|
6698
|
-
"return": {
|
6699
|
-
"type": {
|
6700
|
-
"text": ""
|
6701
|
-
}
|
6702
|
-
},
|
6478
|
+
"fieldName": "iconName",
|
6703
6479
|
"inheritedFrom": {
|
6704
6480
|
"name": "CardComponentMixin",
|
6705
|
-
"module": "utils/mixins/CardComponentMixin.
|
6481
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
6706
6482
|
}
|
6707
6483
|
},
|
6708
6484
|
{
|
6709
|
-
"
|
6710
|
-
"name": "autoFocusOnMount",
|
6485
|
+
"name": "auto-focus-on-mount",
|
6711
6486
|
"type": {
|
6712
6487
|
"text": "boolean"
|
6713
6488
|
},
|
6714
6489
|
"default": "false",
|
6715
6490
|
"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.",
|
6716
|
-
"
|
6717
|
-
"reflects": true,
|
6491
|
+
"fieldName": "autoFocusOnMount",
|
6718
6492
|
"inheritedFrom": {
|
6719
6493
|
"name": "Buttonsimple",
|
6720
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6494
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6721
6495
|
}
|
6722
6496
|
},
|
6723
6497
|
{
|
6724
|
-
"kind": "field",
|
6725
6498
|
"name": "tabIndex",
|
6726
6499
|
"type": {
|
6727
6500
|
"text": "number"
|
6728
6501
|
},
|
6729
6502
|
"default": "0",
|
6730
6503
|
"description": "This property specifies the tab order of the element.",
|
6731
|
-
"
|
6732
|
-
"reflects": true,
|
6504
|
+
"fieldName": "tabIndex",
|
6733
6505
|
"inheritedFrom": {
|
6734
6506
|
"name": "Buttonsimple",
|
6735
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6507
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6736
6508
|
}
|
6737
6509
|
},
|
6738
6510
|
{
|
6739
|
-
"kind": "field",
|
6740
6511
|
"name": "disabled",
|
6741
6512
|
"type": {
|
6742
6513
|
"text": "boolean | undefined"
|
6743
6514
|
},
|
6744
6515
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6745
6516
|
"default": "undefined",
|
6746
|
-
"
|
6747
|
-
"reflects": true,
|
6517
|
+
"fieldName": "disabled",
|
6748
6518
|
"inheritedFrom": {
|
6749
6519
|
"name": "Buttonsimple",
|
6750
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6520
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6751
6521
|
}
|
6752
6522
|
},
|
6753
6523
|
{
|
6754
|
-
"kind": "field",
|
6755
6524
|
"name": "active",
|
6756
6525
|
"type": {
|
6757
6526
|
"text": "boolean | undefined"
|
6758
6527
|
},
|
6759
6528
|
"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.",
|
6760
6529
|
"default": "undefined",
|
6761
|
-
"
|
6762
|
-
"reflects": true,
|
6530
|
+
"fieldName": "active",
|
6763
6531
|
"inheritedFrom": {
|
6764
6532
|
"name": "Buttonsimple",
|
6765
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6533
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6766
6534
|
}
|
6767
6535
|
},
|
6768
6536
|
{
|
6769
|
-
"
|
6770
|
-
"name": "softDisabled",
|
6537
|
+
"name": "soft-disabled",
|
6771
6538
|
"type": {
|
6772
6539
|
"text": "boolean | undefined"
|
6773
6540
|
},
|
6774
6541
|
"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.",
|
6775
6542
|
"default": "undefined",
|
6776
|
-
"
|
6777
|
-
"reflects": true,
|
6543
|
+
"fieldName": "softDisabled",
|
6778
6544
|
"inheritedFrom": {
|
6779
6545
|
"name": "Buttonsimple",
|
6780
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6546
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6781
6547
|
}
|
6782
6548
|
},
|
6783
6549
|
{
|
6784
|
-
"kind": "field",
|
6785
6550
|
"name": "size",
|
6786
6551
|
"type": {
|
6787
6552
|
"text": "ButtonSize"
|
6788
6553
|
},
|
6789
6554
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
6790
6555
|
"default": "32",
|
6791
|
-
"
|
6792
|
-
"reflects": true,
|
6556
|
+
"fieldName": "size",
|
6793
6557
|
"inheritedFrom": {
|
6794
6558
|
"name": "Buttonsimple",
|
6795
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6559
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6796
6560
|
}
|
6797
6561
|
},
|
6798
6562
|
{
|
6799
|
-
"kind": "field",
|
6800
6563
|
"name": "role",
|
6801
6564
|
"type": {
|
6802
6565
|
"text": "RoleType"
|
6803
6566
|
},
|
6804
6567
|
"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.",
|
6805
6568
|
"default": "button",
|
6806
|
-
"
|
6807
|
-
"reflects": true,
|
6569
|
+
"fieldName": "role",
|
6808
6570
|
"inheritedFrom": {
|
6809
6571
|
"name": "Buttonsimple",
|
6810
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6572
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6811
6573
|
}
|
6812
6574
|
},
|
6813
6575
|
{
|
6814
|
-
"kind": "field",
|
6815
6576
|
"name": "ariaStateKey",
|
6816
6577
|
"type": {
|
6817
6578
|
"text": "string | undefined"
|
6818
6579
|
},
|
6819
6580
|
"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`",
|
6820
6581
|
"default": "'aria-pressed' (when)",
|
6821
|
-
"
|
6822
|
-
"reflects": true,
|
6582
|
+
"fieldName": "ariaStateKey",
|
6823
6583
|
"inheritedFrom": {
|
6824
6584
|
"name": "Buttonsimple",
|
6825
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6585
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6826
6586
|
}
|
6827
6587
|
},
|
6828
6588
|
{
|
6829
|
-
"kind": "field",
|
6830
6589
|
"name": "type",
|
6831
6590
|
"type": {
|
6832
6591
|
"text": "ButtonType"
|
6833
6592
|
},
|
6834
6593
|
"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.",
|
6835
6594
|
"default": "button",
|
6836
|
-
"
|
6837
|
-
"reflects": true,
|
6595
|
+
"fieldName": "type",
|
6838
6596
|
"inheritedFrom": {
|
6839
6597
|
"name": "Buttonsimple",
|
6840
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6598
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6841
6599
|
}
|
6842
6600
|
},
|
6843
6601
|
{
|
6844
|
-
"kind": "field",
|
6845
6602
|
"name": "name",
|
6846
6603
|
"type": {
|
6847
6604
|
"text": "string | undefined"
|
6848
6605
|
},
|
6849
6606
|
"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.",
|
6850
|
-
"
|
6851
|
-
"reflects": true,
|
6607
|
+
"fieldName": "name",
|
6852
6608
|
"inheritedFrom": {
|
6853
6609
|
"name": "Buttonsimple",
|
6854
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6610
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6855
6611
|
}
|
6856
6612
|
},
|
6857
6613
|
{
|
6858
|
-
"kind": "field",
|
6859
6614
|
"name": "value",
|
6860
6615
|
"type": {
|
6861
6616
|
"text": "string | undefined"
|
6862
6617
|
},
|
6863
6618
|
"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.",
|
6864
|
-
"
|
6865
|
-
"reflects": true,
|
6619
|
+
"fieldName": "value",
|
6866
6620
|
"inheritedFrom": {
|
6867
6621
|
"name": "Buttonsimple",
|
6868
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
6622
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
6623
|
+
}
|
6624
|
+
}
|
6625
|
+
]
|
6626
|
+
}
|
6627
|
+
],
|
6628
|
+
"exports": [
|
6629
|
+
{
|
6630
|
+
"kind": "js",
|
6631
|
+
"name": "default",
|
6632
|
+
"declaration": {
|
6633
|
+
"name": "CardButton",
|
6634
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
6635
|
+
}
|
6636
|
+
}
|
6637
|
+
]
|
6638
|
+
},
|
6639
|
+
{
|
6640
|
+
"kind": "javascript-module",
|
6641
|
+
"path": "components/cardcheckbox/cardcheckbox.component.js",
|
6642
|
+
"declarations": [
|
6643
|
+
{
|
6644
|
+
"kind": "class",
|
6645
|
+
"description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
|
6646
|
+
"name": "CardCheckbox",
|
6647
|
+
"cssProperties": [
|
6648
|
+
{
|
6649
|
+
"description": "The width of the card",
|
6650
|
+
"name": "--mdc-card-width",
|
6651
|
+
"inheritedFrom": {
|
6652
|
+
"name": "Card",
|
6653
|
+
"module": "src/components/card/card.component.ts"
|
6654
|
+
}
|
6655
|
+
}
|
6656
|
+
],
|
6657
|
+
"cssParts": [
|
6658
|
+
{
|
6659
|
+
"description": "The header part of the card",
|
6660
|
+
"name": "header",
|
6661
|
+
"inheritedFrom": {
|
6662
|
+
"name": "Card",
|
6663
|
+
"module": "src/components/card/card.component.ts"
|
6869
6664
|
}
|
6870
6665
|
},
|
6871
6666
|
{
|
6872
|
-
"
|
6873
|
-
"name": "
|
6874
|
-
"privacy": "protected",
|
6667
|
+
"description": "The icon part of the card header",
|
6668
|
+
"name": "icon",
|
6875
6669
|
"inheritedFrom": {
|
6876
|
-
"name": "
|
6877
|
-
"module": "components/
|
6670
|
+
"name": "Card",
|
6671
|
+
"module": "src/components/card/card.component.ts"
|
6878
6672
|
}
|
6879
6673
|
},
|
6880
6674
|
{
|
6881
|
-
"
|
6882
|
-
"name": "
|
6883
|
-
"privacy": "protected",
|
6884
|
-
"parameters": [
|
6885
|
-
{
|
6886
|
-
"name": "element",
|
6887
|
-
"type": {
|
6888
|
-
"text": "HTMLElement"
|
6889
|
-
},
|
6890
|
-
"description": "The button element"
|
6891
|
-
},
|
6892
|
-
{
|
6893
|
-
"name": "active",
|
6894
|
-
"optional": true,
|
6895
|
-
"type": {
|
6896
|
-
"text": "boolean"
|
6897
|
-
},
|
6898
|
-
"description": "The active state of the element"
|
6899
|
-
}
|
6900
|
-
],
|
6901
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
6675
|
+
"description": "The body part of the card",
|
6676
|
+
"name": "body",
|
6902
6677
|
"inheritedFrom": {
|
6903
|
-
"name": "
|
6904
|
-
"module": "components/
|
6678
|
+
"name": "Card",
|
6679
|
+
"module": "src/components/card/card.component.ts"
|
6905
6680
|
}
|
6906
6681
|
},
|
6907
6682
|
{
|
6908
|
-
"
|
6909
|
-
"name": "
|
6910
|
-
"privacy": "private",
|
6911
|
-
"parameters": [
|
6912
|
-
{
|
6913
|
-
"name": "element",
|
6914
|
-
"type": {
|
6915
|
-
"text": "HTMLElement"
|
6916
|
-
},
|
6917
|
-
"description": "The button element."
|
6918
|
-
},
|
6919
|
-
{
|
6920
|
-
"name": "softDisabled",
|
6921
|
-
"optional": true,
|
6922
|
-
"type": {
|
6923
|
-
"text": "boolean"
|
6924
|
-
},
|
6925
|
-
"description": "The soft-disabled state."
|
6926
|
-
}
|
6927
|
-
],
|
6928
|
-
"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.",
|
6683
|
+
"description": "The image part of the card",
|
6684
|
+
"name": "image",
|
6929
6685
|
"inheritedFrom": {
|
6930
|
-
"name": "
|
6931
|
-
"module": "components/
|
6686
|
+
"name": "Card",
|
6687
|
+
"module": "src/components/card/card.component.ts"
|
6932
6688
|
}
|
6933
6689
|
},
|
6934
6690
|
{
|
6935
|
-
"
|
6936
|
-
"name": "
|
6937
|
-
"
|
6938
|
-
|
6939
|
-
|
6940
|
-
|
6941
|
-
|
6942
|
-
|
6943
|
-
|
6944
|
-
|
6945
|
-
|
6946
|
-
|
6947
|
-
|
6948
|
-
|
6949
|
-
|
6950
|
-
|
6951
|
-
|
6952
|
-
|
6953
|
-
|
6954
|
-
|
6691
|
+
"description": "The footer part of the card",
|
6692
|
+
"name": "footer",
|
6693
|
+
"inheritedFrom": {
|
6694
|
+
"name": "Card",
|
6695
|
+
"module": "src/components/card/card.component.ts"
|
6696
|
+
}
|
6697
|
+
},
|
6698
|
+
{
|
6699
|
+
"description": "The link part of the card footer",
|
6700
|
+
"name": "footer-link",
|
6701
|
+
"inheritedFrom": {
|
6702
|
+
"name": "Card",
|
6703
|
+
"module": "src/components/card/card.component.ts"
|
6704
|
+
}
|
6705
|
+
},
|
6706
|
+
{
|
6707
|
+
"description": "The primary button part of the card footer",
|
6708
|
+
"name": "footer-button-primary",
|
6709
|
+
"inheritedFrom": {
|
6710
|
+
"name": "Card",
|
6711
|
+
"module": "src/components/card/card.component.ts"
|
6712
|
+
}
|
6713
|
+
},
|
6714
|
+
{
|
6715
|
+
"description": "The secondary button part of the card footer",
|
6716
|
+
"name": "footer-button-secondary",
|
6717
|
+
"inheritedFrom": {
|
6718
|
+
"name": "Card",
|
6719
|
+
"module": "src/components/card/card.component.ts"
|
6720
|
+
}
|
6721
|
+
},
|
6722
|
+
{
|
6723
|
+
"description": "The icon button part of the card header",
|
6724
|
+
"name": "icon-button",
|
6725
|
+
"inheritedFrom": {
|
6726
|
+
"name": "Card",
|
6727
|
+
"module": "src/components/card/card.component.ts"
|
6728
|
+
}
|
6729
|
+
},
|
6730
|
+
{
|
6731
|
+
"description": "The text part of the card",
|
6732
|
+
"name": "text",
|
6733
|
+
"inheritedFrom": {
|
6734
|
+
"name": "Card",
|
6735
|
+
"module": "src/components/card/card.component.ts"
|
6736
|
+
}
|
6737
|
+
},
|
6738
|
+
{
|
6739
|
+
"description": "The check part of the card",
|
6740
|
+
"name": "check"
|
6741
|
+
},
|
6742
|
+
{
|
6743
|
+
"description": "The check icon part of the card",
|
6744
|
+
"name": "check-icon"
|
6745
|
+
},
|
6746
|
+
{
|
6747
|
+
"description": "The check icon button part of the card",
|
6748
|
+
"name": "check-icon-button"
|
6749
|
+
}
|
6750
|
+
],
|
6751
|
+
"slots": [
|
6752
|
+
{
|
6753
|
+
"description": "This slot is for passing the content before the body",
|
6754
|
+
"name": "before-body",
|
6755
|
+
"inheritedFrom": {
|
6756
|
+
"name": "Card",
|
6757
|
+
"module": "src/components/card/card.component.ts"
|
6758
|
+
}
|
6759
|
+
},
|
6760
|
+
{
|
6761
|
+
"description": "This slot is for passing the text content for the card",
|
6762
|
+
"name": "body",
|
6763
|
+
"inheritedFrom": {
|
6764
|
+
"name": "Card",
|
6765
|
+
"module": "src/components/card/card.component.ts"
|
6766
|
+
}
|
6767
|
+
},
|
6768
|
+
{
|
6769
|
+
"description": "This slot is for passing the content after the body",
|
6770
|
+
"name": "after-body",
|
6771
|
+
"inheritedFrom": {
|
6772
|
+
"name": "Card",
|
6773
|
+
"module": "src/components/card/card.component.ts"
|
6774
|
+
}
|
6775
|
+
},
|
6776
|
+
{
|
6777
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
6778
|
+
"name": "footer-link",
|
6779
|
+
"inheritedFrom": {
|
6780
|
+
"name": "Card",
|
6781
|
+
"module": "src/components/card/card.component.ts"
|
6782
|
+
}
|
6783
|
+
},
|
6784
|
+
{
|
6785
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
6786
|
+
"name": "footer-button-primary",
|
6787
|
+
"inheritedFrom": {
|
6788
|
+
"name": "Card",
|
6789
|
+
"module": "src/components/card/card.component.ts"
|
6790
|
+
}
|
6791
|
+
},
|
6792
|
+
{
|
6793
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
6794
|
+
"name": "footer-button-secondary",
|
6955
6795
|
"inheritedFrom": {
|
6956
|
-
"name": "
|
6957
|
-
"module": "components/
|
6796
|
+
"name": "Card",
|
6797
|
+
"module": "src/components/card/card.component.ts"
|
6958
6798
|
}
|
6959
6799
|
},
|
6960
6800
|
{
|
6961
|
-
"
|
6962
|
-
"name": "
|
6963
|
-
"privacy": "private",
|
6801
|
+
"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.",
|
6802
|
+
"name": "footer",
|
6964
6803
|
"inheritedFrom": {
|
6965
|
-
"name": "
|
6966
|
-
"module": "components/
|
6804
|
+
"name": "Card",
|
6805
|
+
"module": "src/components/card/card.component.ts"
|
6967
6806
|
}
|
6807
|
+
}
|
6808
|
+
],
|
6809
|
+
"members": [
|
6810
|
+
{
|
6811
|
+
"kind": "field",
|
6812
|
+
"name": "checked",
|
6813
|
+
"type": {
|
6814
|
+
"text": "boolean"
|
6815
|
+
},
|
6816
|
+
"default": "false",
|
6817
|
+
"description": "The checked state of the card",
|
6818
|
+
"attribute": "checked",
|
6819
|
+
"reflects": true
|
6820
|
+
},
|
6821
|
+
{
|
6822
|
+
"kind": "field",
|
6823
|
+
"name": "selectionType",
|
6824
|
+
"type": {
|
6825
|
+
"text": "SelectionType"
|
6826
|
+
},
|
6827
|
+
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
6828
|
+
"default": "'check'",
|
6829
|
+
"attribute": "selection-type",
|
6830
|
+
"reflects": true
|
6968
6831
|
},
|
6969
6832
|
{
|
6970
6833
|
"kind": "method",
|
6971
|
-
"name": "
|
6834
|
+
"name": "toggleChecked",
|
6972
6835
|
"privacy": "private",
|
6973
|
-
"description": "
|
6974
|
-
"inheritedFrom": {
|
6975
|
-
"name": "Buttonsimple",
|
6976
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
6977
|
-
}
|
6836
|
+
"description": "Toggles the checked state"
|
6978
6837
|
},
|
6979
6838
|
{
|
6980
6839
|
"kind": "method",
|
6981
|
-
"name": "
|
6840
|
+
"name": "toggleOnEnter",
|
6982
6841
|
"privacy": "private",
|
6983
6842
|
"parameters": [
|
6984
6843
|
{
|
@@ -6986,18 +6845,14 @@
|
|
6986
6845
|
"type": {
|
6987
6846
|
"text": "KeyboardEvent"
|
6988
6847
|
},
|
6989
|
-
"description": "The keyboard event
|
6848
|
+
"description": "The keyboard event"
|
6990
6849
|
}
|
6991
6850
|
],
|
6992
|
-
"description": "
|
6993
|
-
"inheritedFrom": {
|
6994
|
-
"name": "Buttonsimple",
|
6995
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
6996
|
-
}
|
6851
|
+
"description": "Toggles the checked state when enter key is used"
|
6997
6852
|
},
|
6998
6853
|
{
|
6999
6854
|
"kind": "method",
|
7000
|
-
"name": "
|
6855
|
+
"name": "toggleOnSpace",
|
7001
6856
|
"privacy": "private",
|
7002
6857
|
"parameters": [
|
7003
6858
|
{
|
@@ -7005,195 +6860,322 @@
|
|
7005
6860
|
"type": {
|
7006
6861
|
"text": "KeyboardEvent"
|
7007
6862
|
},
|
7008
|
-
"description": "The keyboard event
|
6863
|
+
"description": "The keyboard event"
|
7009
6864
|
}
|
7010
6865
|
],
|
7011
|
-
"description": "
|
7012
|
-
|
7013
|
-
"name": "Buttonsimple",
|
7014
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
7015
|
-
}
|
7016
|
-
}
|
7017
|
-
],
|
7018
|
-
"events": [
|
6866
|
+
"description": "Toggles the checked state when space key is used"
|
6867
|
+
},
|
7019
6868
|
{
|
7020
|
-
"
|
7021
|
-
"name": "
|
7022
|
-
"
|
7023
|
-
"
|
7024
|
-
|
7025
|
-
"
|
6869
|
+
"kind": "method",
|
6870
|
+
"name": "renderSelection",
|
6871
|
+
"privacy": "private",
|
6872
|
+
"description": "Renders the selection icon or checkbox based on the selection type",
|
6873
|
+
"return": {
|
6874
|
+
"type": {
|
6875
|
+
"text": ""
|
6876
|
+
}
|
7026
6877
|
}
|
7027
6878
|
},
|
7028
6879
|
{
|
7029
|
-
"
|
7030
|
-
"name": "
|
7031
|
-
"
|
6880
|
+
"kind": "method",
|
6881
|
+
"name": "renderHeader",
|
6882
|
+
"privacy": "protected",
|
6883
|
+
"description": "Renders the header of the card",
|
6884
|
+
"return": {
|
6885
|
+
"type": {
|
6886
|
+
"text": ""
|
6887
|
+
}
|
6888
|
+
},
|
7032
6889
|
"inheritedFrom": {
|
7033
|
-
"name": "
|
7034
|
-
"module": "
|
6890
|
+
"name": "Card",
|
6891
|
+
"module": "components/card/card.component.js"
|
7035
6892
|
}
|
7036
6893
|
},
|
7037
6894
|
{
|
7038
|
-
"
|
7039
|
-
"name": "
|
7040
|
-
"
|
6895
|
+
"kind": "field",
|
6896
|
+
"name": "disabled",
|
6897
|
+
"type": {
|
6898
|
+
"text": "boolean | undefined"
|
6899
|
+
},
|
6900
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6901
|
+
"default": "undefined",
|
6902
|
+
"attribute": "disabled",
|
6903
|
+
"reflects": true,
|
7041
6904
|
"inheritedFrom": {
|
7042
|
-
"name": "
|
7043
|
-
"module": "
|
6905
|
+
"name": "DisabledMixin",
|
6906
|
+
"module": "utils/mixins/DisabledMixin.js"
|
7044
6907
|
}
|
7045
6908
|
},
|
7046
6909
|
{
|
7047
|
-
"
|
7048
|
-
"name": "
|
7049
|
-
"
|
6910
|
+
"kind": "field",
|
6911
|
+
"name": "tabIndex",
|
6912
|
+
"type": {
|
6913
|
+
"text": "number"
|
6914
|
+
},
|
6915
|
+
"default": "0",
|
6916
|
+
"description": "This property specifies the tab order of the element.",
|
6917
|
+
"attribute": "tabIndex",
|
6918
|
+
"reflects": true,
|
7050
6919
|
"inheritedFrom": {
|
7051
|
-
"name": "
|
7052
|
-
"module": "
|
6920
|
+
"name": "TabIndexMixin",
|
6921
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
7053
6922
|
}
|
7054
|
-
}
|
7055
|
-
],
|
7056
|
-
"mixins": [
|
7057
|
-
{
|
7058
|
-
"name": "CardComponentMixin",
|
7059
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
7060
|
-
}
|
7061
|
-
],
|
7062
|
-
"superclass": {
|
7063
|
-
"name": "Buttonsimple",
|
7064
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
7065
|
-
},
|
7066
|
-
"tagName": "mdc-cardbutton",
|
7067
|
-
"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 */",
|
7068
|
-
"customElement": true,
|
7069
|
-
"attributes": [
|
6923
|
+
},
|
7070
6924
|
{
|
7071
|
-
"
|
6925
|
+
"kind": "field",
|
6926
|
+
"name": "cardTitle",
|
7072
6927
|
"type": {
|
7073
6928
|
"text": "string"
|
7074
6929
|
},
|
7075
6930
|
"default": "''",
|
7076
6931
|
"description": "The title of the card - part of header section",
|
7077
|
-
"
|
6932
|
+
"attribute": "card-title",
|
6933
|
+
"reflects": true,
|
7078
6934
|
"inheritedFrom": {
|
7079
|
-
"name": "
|
7080
|
-
"module": "
|
6935
|
+
"name": "Card",
|
6936
|
+
"module": "components/card/card.component.js"
|
7081
6937
|
}
|
7082
6938
|
},
|
7083
6939
|
{
|
6940
|
+
"kind": "field",
|
7084
6941
|
"name": "subtitle",
|
7085
6942
|
"type": {
|
7086
6943
|
"text": "string"
|
7087
6944
|
},
|
7088
6945
|
"default": "''",
|
7089
6946
|
"description": "The subtitle of the card - part of header section",
|
7090
|
-
"
|
6947
|
+
"attribute": "subtitle",
|
6948
|
+
"reflects": true,
|
7091
6949
|
"inheritedFrom": {
|
7092
|
-
"name": "
|
7093
|
-
"module": "
|
6950
|
+
"name": "Card",
|
6951
|
+
"module": "components/card/card.component.js"
|
7094
6952
|
}
|
7095
6953
|
},
|
7096
6954
|
{
|
7097
|
-
"
|
6955
|
+
"kind": "field",
|
6956
|
+
"name": "imageSrc",
|
7098
6957
|
"type": {
|
7099
6958
|
"text": "string"
|
7100
6959
|
},
|
7101
6960
|
"default": "''",
|
7102
6961
|
"description": "The image source URL to render on the card",
|
7103
|
-
"
|
6962
|
+
"attribute": "image-src",
|
6963
|
+
"reflects": true,
|
7104
6964
|
"inheritedFrom": {
|
7105
|
-
"name": "
|
7106
|
-
"module": "
|
6965
|
+
"name": "Card",
|
6966
|
+
"module": "components/card/card.component.js"
|
7107
6967
|
}
|
7108
6968
|
},
|
7109
6969
|
{
|
7110
|
-
"
|
6970
|
+
"kind": "field",
|
6971
|
+
"name": "imageAlt",
|
7111
6972
|
"type": {
|
7112
6973
|
"text": "string"
|
7113
6974
|
},
|
7114
6975
|
"default": "''",
|
7115
6976
|
"description": "The image alt for accessibility support",
|
7116
|
-
"
|
6977
|
+
"attribute": "image-alt",
|
6978
|
+
"reflects": true,
|
7117
6979
|
"inheritedFrom": {
|
7118
|
-
"name": "
|
7119
|
-
"module": "
|
6980
|
+
"name": "Card",
|
6981
|
+
"module": "components/card/card.component.js"
|
7120
6982
|
}
|
7121
6983
|
},
|
7122
6984
|
{
|
6985
|
+
"kind": "field",
|
7123
6986
|
"name": "variant",
|
7124
6987
|
"type": {
|
7125
6988
|
"text": "CardVariant"
|
7126
6989
|
},
|
7127
6990
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
7128
6991
|
"default": "'border'",
|
7129
|
-
"
|
6992
|
+
"attribute": "variant",
|
6993
|
+
"reflects": true,
|
7130
6994
|
"inheritedFrom": {
|
7131
|
-
"name": "
|
7132
|
-
"module": "
|
6995
|
+
"name": "Card",
|
6996
|
+
"module": "components/card/card.component.js"
|
7133
6997
|
}
|
7134
6998
|
},
|
7135
6999
|
{
|
7000
|
+
"kind": "field",
|
7136
7001
|
"name": "orientation",
|
7137
7002
|
"type": {
|
7138
7003
|
"text": "CardOrientation"
|
7139
7004
|
},
|
7140
7005
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
7141
7006
|
"default": "'vertical'",
|
7142
|
-
"
|
7007
|
+
"attribute": "orientation",
|
7008
|
+
"reflects": true,
|
7143
7009
|
"inheritedFrom": {
|
7144
|
-
"name": "
|
7145
|
-
"module": "
|
7010
|
+
"name": "Card",
|
7011
|
+
"module": "components/card/card.component.js"
|
7146
7012
|
}
|
7147
7013
|
},
|
7148
7014
|
{
|
7149
|
-
"
|
7015
|
+
"kind": "field",
|
7016
|
+
"name": "titleTagName",
|
7150
7017
|
"type": {
|
7151
7018
|
"text": "TagNameType"
|
7152
7019
|
},
|
7153
7020
|
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
7154
7021
|
"default": "'span'",
|
7155
|
-
"
|
7022
|
+
"attribute": "title-tag-name",
|
7023
|
+
"reflects": true,
|
7156
7024
|
"inheritedFrom": {
|
7157
|
-
"name": "
|
7158
|
-
"module": "
|
7025
|
+
"name": "Card",
|
7026
|
+
"module": "components/card/card.component.js"
|
7159
7027
|
}
|
7160
7028
|
},
|
7161
7029
|
{
|
7162
|
-
"
|
7030
|
+
"kind": "field",
|
7031
|
+
"name": "subtitleTagName",
|
7163
7032
|
"type": {
|
7164
7033
|
"text": "TagNameType"
|
7165
7034
|
},
|
7166
7035
|
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
7167
7036
|
"default": "'span'",
|
7168
|
-
"
|
7037
|
+
"attribute": "subtitle-tag-name",
|
7038
|
+
"reflects": true,
|
7169
7039
|
"inheritedFrom": {
|
7170
|
-
"name": "
|
7171
|
-
"module": "
|
7040
|
+
"name": "Card",
|
7041
|
+
"module": "components/card/card.component.js"
|
7172
7042
|
}
|
7173
7043
|
},
|
7174
7044
|
{
|
7175
|
-
"
|
7045
|
+
"kind": "field",
|
7046
|
+
"name": "iconName",
|
7176
7047
|
"type": {
|
7177
7048
|
"text": "IconNames | undefined"
|
7178
7049
|
},
|
7179
7050
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
7180
|
-
"
|
7051
|
+
"attribute": "icon-name",
|
7052
|
+
"reflects": true,
|
7181
7053
|
"inheritedFrom": {
|
7182
|
-
"name": "
|
7183
|
-
"module": "
|
7054
|
+
"name": "Card",
|
7055
|
+
"module": "components/card/card.component.js"
|
7184
7056
|
}
|
7185
7057
|
},
|
7186
7058
|
{
|
7187
|
-
"
|
7059
|
+
"kind": "method",
|
7060
|
+
"name": "renderImage",
|
7061
|
+
"privacy": "protected",
|
7062
|
+
"description": "Renders the image on the card if image source is provided",
|
7063
|
+
"return": {
|
7064
|
+
"type": {
|
7065
|
+
"text": ""
|
7066
|
+
}
|
7067
|
+
},
|
7068
|
+
"inheritedFrom": {
|
7069
|
+
"name": "Card",
|
7070
|
+
"module": "components/card/card.component.js"
|
7071
|
+
}
|
7072
|
+
},
|
7073
|
+
{
|
7074
|
+
"kind": "method",
|
7075
|
+
"name": "renderIcon",
|
7076
|
+
"privacy": "protected",
|
7077
|
+
"description": "Renders the icon on the card if icon name is provided",
|
7078
|
+
"return": {
|
7079
|
+
"type": {
|
7080
|
+
"text": ""
|
7081
|
+
}
|
7082
|
+
},
|
7083
|
+
"inheritedFrom": {
|
7084
|
+
"name": "Card",
|
7085
|
+
"module": "components/card/card.component.js"
|
7086
|
+
}
|
7087
|
+
},
|
7088
|
+
{
|
7089
|
+
"kind": "method",
|
7090
|
+
"name": "renderTitle",
|
7091
|
+
"privacy": "protected",
|
7092
|
+
"description": "Renders the title and subtitle on the card",
|
7093
|
+
"return": {
|
7094
|
+
"type": {
|
7095
|
+
"text": ""
|
7096
|
+
}
|
7097
|
+
},
|
7098
|
+
"inheritedFrom": {
|
7099
|
+
"name": "Card",
|
7100
|
+
"module": "components/card/card.component.js"
|
7101
|
+
}
|
7102
|
+
},
|
7103
|
+
{
|
7104
|
+
"kind": "method",
|
7105
|
+
"name": "renderFooter",
|
7106
|
+
"privacy": "protected",
|
7107
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
7108
|
+
"return": {
|
7109
|
+
"type": {
|
7110
|
+
"text": ""
|
7111
|
+
}
|
7112
|
+
},
|
7113
|
+
"inheritedFrom": {
|
7114
|
+
"name": "Card",
|
7115
|
+
"module": "components/card/card.component.js"
|
7116
|
+
}
|
7117
|
+
}
|
7118
|
+
],
|
7119
|
+
"events": [
|
7120
|
+
{
|
7121
|
+
"name": "change",
|
7122
|
+
"type": {
|
7123
|
+
"text": "Event"
|
7124
|
+
},
|
7125
|
+
"description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
|
7126
|
+
"reactName": "onChange"
|
7127
|
+
},
|
7128
|
+
{
|
7129
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
|
7130
|
+
"name": "click",
|
7131
|
+
"reactName": "onClick"
|
7132
|
+
},
|
7133
|
+
{
|
7134
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
|
7135
|
+
"name": "keydown",
|
7136
|
+
"reactName": "onKeyDown"
|
7137
|
+
},
|
7138
|
+
{
|
7139
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
|
7140
|
+
"name": "keyup",
|
7141
|
+
"reactName": "onKeyUp"
|
7142
|
+
},
|
7143
|
+
{
|
7144
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
7145
|
+
"name": "focus",
|
7146
|
+
"reactName": "onFocus"
|
7147
|
+
}
|
7148
|
+
],
|
7149
|
+
"attributes": [
|
7150
|
+
{
|
7151
|
+
"name": "checked",
|
7188
7152
|
"type": {
|
7189
7153
|
"text": "boolean"
|
7190
7154
|
},
|
7191
7155
|
"default": "false",
|
7192
|
-
"description": "
|
7193
|
-
"fieldName": "
|
7156
|
+
"description": "The checked state of the card",
|
7157
|
+
"fieldName": "checked"
|
7158
|
+
},
|
7159
|
+
{
|
7160
|
+
"name": "selection-type",
|
7161
|
+
"type": {
|
7162
|
+
"text": "SelectionType"
|
7163
|
+
},
|
7164
|
+
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
7165
|
+
"default": "'check'",
|
7166
|
+
"fieldName": "selectionType"
|
7167
|
+
},
|
7168
|
+
{
|
7169
|
+
"name": "disabled",
|
7170
|
+
"type": {
|
7171
|
+
"text": "boolean | undefined"
|
7172
|
+
},
|
7173
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7174
|
+
"default": "undefined",
|
7175
|
+
"fieldName": "disabled",
|
7194
7176
|
"inheritedFrom": {
|
7195
|
-
"name": "
|
7196
|
-
"module": "src/
|
7177
|
+
"name": "DisabledMixin",
|
7178
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
7197
7179
|
}
|
7198
7180
|
},
|
7199
7181
|
{
|
@@ -7205,126 +7187,144 @@
|
|
7205
7187
|
"description": "This property specifies the tab order of the element.",
|
7206
7188
|
"fieldName": "tabIndex",
|
7207
7189
|
"inheritedFrom": {
|
7208
|
-
"name": "
|
7209
|
-
"module": "src/
|
7190
|
+
"name": "TabIndexMixin",
|
7191
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
7210
7192
|
}
|
7211
7193
|
},
|
7212
7194
|
{
|
7213
|
-
"name": "
|
7195
|
+
"name": "card-title",
|
7214
7196
|
"type": {
|
7215
|
-
"text": "
|
7197
|
+
"text": "string"
|
7216
7198
|
},
|
7217
|
-
"
|
7218
|
-
"
|
7219
|
-
"fieldName": "
|
7199
|
+
"default": "''",
|
7200
|
+
"description": "The title of the card - part of header section",
|
7201
|
+
"fieldName": "cardTitle",
|
7220
7202
|
"inheritedFrom": {
|
7221
|
-
"name": "
|
7222
|
-
"module": "src/components/
|
7203
|
+
"name": "Card",
|
7204
|
+
"module": "src/components/card/card.component.ts"
|
7223
7205
|
}
|
7224
7206
|
},
|
7225
7207
|
{
|
7226
|
-
"name": "
|
7208
|
+
"name": "subtitle",
|
7227
7209
|
"type": {
|
7228
|
-
"text": "
|
7210
|
+
"text": "string"
|
7229
7211
|
},
|
7230
|
-
"
|
7231
|
-
"
|
7232
|
-
"fieldName": "
|
7212
|
+
"default": "''",
|
7213
|
+
"description": "The subtitle of the card - part of header section",
|
7214
|
+
"fieldName": "subtitle",
|
7233
7215
|
"inheritedFrom": {
|
7234
|
-
"name": "
|
7235
|
-
"module": "src/components/
|
7216
|
+
"name": "Card",
|
7217
|
+
"module": "src/components/card/card.component.ts"
|
7236
7218
|
}
|
7237
7219
|
},
|
7238
7220
|
{
|
7239
|
-
"name": "
|
7221
|
+
"name": "image-src",
|
7240
7222
|
"type": {
|
7241
|
-
"text": "
|
7223
|
+
"text": "string"
|
7242
7224
|
},
|
7243
|
-
"
|
7244
|
-
"
|
7245
|
-
"fieldName": "
|
7225
|
+
"default": "''",
|
7226
|
+
"description": "The image source URL to render on the card",
|
7227
|
+
"fieldName": "imageSrc",
|
7246
7228
|
"inheritedFrom": {
|
7247
|
-
"name": "
|
7248
|
-
"module": "src/components/
|
7229
|
+
"name": "Card",
|
7230
|
+
"module": "src/components/card/card.component.ts"
|
7249
7231
|
}
|
7250
7232
|
},
|
7251
7233
|
{
|
7252
|
-
"name": "
|
7234
|
+
"name": "image-alt",
|
7253
7235
|
"type": {
|
7254
|
-
"text": "
|
7236
|
+
"text": "string"
|
7255
7237
|
},
|
7256
|
-
"
|
7257
|
-
"
|
7258
|
-
"fieldName": "
|
7238
|
+
"default": "''",
|
7239
|
+
"description": "The image alt for accessibility support",
|
7240
|
+
"fieldName": "imageAlt",
|
7259
7241
|
"inheritedFrom": {
|
7260
|
-
"name": "
|
7261
|
-
"module": "src/components/
|
7242
|
+
"name": "Card",
|
7243
|
+
"module": "src/components/card/card.component.ts"
|
7262
7244
|
}
|
7263
7245
|
},
|
7264
7246
|
{
|
7265
|
-
"name": "
|
7247
|
+
"name": "variant",
|
7266
7248
|
"type": {
|
7267
|
-
"text": "
|
7249
|
+
"text": "CardVariant"
|
7268
7250
|
},
|
7269
|
-
"description": "
|
7270
|
-
"default": "
|
7271
|
-
"fieldName": "
|
7251
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
7252
|
+
"default": "'border'",
|
7253
|
+
"fieldName": "variant",
|
7272
7254
|
"inheritedFrom": {
|
7273
|
-
"name": "
|
7274
|
-
"module": "src/components/
|
7255
|
+
"name": "Card",
|
7256
|
+
"module": "src/components/card/card.component.ts"
|
7275
7257
|
}
|
7276
7258
|
},
|
7277
7259
|
{
|
7278
|
-
"name": "
|
7260
|
+
"name": "orientation",
|
7279
7261
|
"type": {
|
7280
|
-
"text": "
|
7262
|
+
"text": "CardOrientation"
|
7281
7263
|
},
|
7282
|
-
"description": "
|
7283
|
-
"default": "'
|
7284
|
-
"fieldName": "
|
7264
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
7265
|
+
"default": "'vertical'",
|
7266
|
+
"fieldName": "orientation",
|
7285
7267
|
"inheritedFrom": {
|
7286
|
-
"name": "
|
7287
|
-
"module": "src/components/
|
7268
|
+
"name": "Card",
|
7269
|
+
"module": "src/components/card/card.component.ts"
|
7288
7270
|
}
|
7289
7271
|
},
|
7290
7272
|
{
|
7291
|
-
"name": "
|
7273
|
+
"name": "title-tag-name",
|
7292
7274
|
"type": {
|
7293
|
-
"text": "
|
7275
|
+
"text": "TagNameType"
|
7294
7276
|
},
|
7295
|
-
"description": "
|
7296
|
-
"default": "
|
7297
|
-
"fieldName": "
|
7277
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
7278
|
+
"default": "'span'",
|
7279
|
+
"fieldName": "titleTagName",
|
7298
7280
|
"inheritedFrom": {
|
7299
|
-
"name": "
|
7300
|
-
"module": "src/components/
|
7281
|
+
"name": "Card",
|
7282
|
+
"module": "src/components/card/card.component.ts"
|
7301
7283
|
}
|
7302
7284
|
},
|
7303
7285
|
{
|
7304
|
-
"name": "name",
|
7286
|
+
"name": "subtitle-tag-name",
|
7305
7287
|
"type": {
|
7306
|
-
"text": "
|
7288
|
+
"text": "TagNameType"
|
7307
7289
|
},
|
7308
|
-
"description": "The name
|
7309
|
-
"
|
7290
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
7291
|
+
"default": "'span'",
|
7292
|
+
"fieldName": "subtitleTagName",
|
7310
7293
|
"inheritedFrom": {
|
7311
|
-
"name": "
|
7312
|
-
"module": "src/components/
|
7294
|
+
"name": "Card",
|
7295
|
+
"module": "src/components/card/card.component.ts"
|
7313
7296
|
}
|
7314
7297
|
},
|
7315
7298
|
{
|
7316
|
-
"name": "
|
7299
|
+
"name": "icon-name",
|
7317
7300
|
"type": {
|
7318
|
-
"text": "
|
7301
|
+
"text": "IconNames | undefined"
|
7319
7302
|
},
|
7320
|
-
"description": "
|
7321
|
-
"fieldName": "
|
7303
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
7304
|
+
"fieldName": "iconName",
|
7322
7305
|
"inheritedFrom": {
|
7323
|
-
"name": "
|
7324
|
-
"module": "src/components/
|
7306
|
+
"name": "Card",
|
7307
|
+
"module": "src/components/card/card.component.ts"
|
7325
7308
|
}
|
7326
7309
|
}
|
7327
|
-
]
|
7310
|
+
],
|
7311
|
+
"mixins": [
|
7312
|
+
{
|
7313
|
+
"name": "DisabledMixin",
|
7314
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
7315
|
+
},
|
7316
|
+
{
|
7317
|
+
"name": "TabIndexMixin",
|
7318
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
7319
|
+
}
|
7320
|
+
],
|
7321
|
+
"superclass": {
|
7322
|
+
"name": "Card",
|
7323
|
+
"module": "/src/components/card/card.component"
|
7324
|
+
},
|
7325
|
+
"tagName": "mdc-cardcheckbox",
|
7326
|
+
"jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\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 * @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 * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
|
7327
|
+
"customElement": true
|
7328
7328
|
}
|
7329
7329
|
],
|
7330
7330
|
"exports": [
|
@@ -7332,8 +7332,8 @@
|
|
7332
7332
|
"kind": "js",
|
7333
7333
|
"name": "default",
|
7334
7334
|
"declaration": {
|
7335
|
-
"name": "
|
7336
|
-
"module": "components/
|
7335
|
+
"name": "CardCheckbox",
|
7336
|
+
"module": "components/cardcheckbox/cardcheckbox.component.js"
|
7337
7337
|
}
|
7338
7338
|
}
|
7339
7339
|
]
|
@@ -8802,6 +8802,12 @@
|
|
8802
8802
|
"name": "--mdc-chip-background-color"
|
8803
8803
|
}
|
8804
8804
|
],
|
8805
|
+
"cssParts": [
|
8806
|
+
{
|
8807
|
+
"description": "The label part of the chip.",
|
8808
|
+
"name": "label"
|
8809
|
+
}
|
8810
|
+
],
|
8805
8811
|
"members": [
|
8806
8812
|
{
|
8807
8813
|
"kind": "field",
|
@@ -9158,6 +9164,44 @@
|
|
9158
9164
|
}
|
9159
9165
|
}
|
9160
9166
|
],
|
9167
|
+
"events": [
|
9168
|
+
{
|
9169
|
+
"description": "(React: onClick) This event is dispatched when the chip is clicked.",
|
9170
|
+
"name": "click",
|
9171
|
+
"reactName": "onClick",
|
9172
|
+
"inheritedFrom": {
|
9173
|
+
"name": "Buttonsimple",
|
9174
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9175
|
+
}
|
9176
|
+
},
|
9177
|
+
{
|
9178
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the chip.",
|
9179
|
+
"name": "keydown",
|
9180
|
+
"reactName": "onKeyDown",
|
9181
|
+
"inheritedFrom": {
|
9182
|
+
"name": "Buttonsimple",
|
9183
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9184
|
+
}
|
9185
|
+
},
|
9186
|
+
{
|
9187
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the chip.",
|
9188
|
+
"name": "keyup",
|
9189
|
+
"reactName": "onKeyUp",
|
9190
|
+
"inheritedFrom": {
|
9191
|
+
"name": "Buttonsimple",
|
9192
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9193
|
+
}
|
9194
|
+
},
|
9195
|
+
{
|
9196
|
+
"description": "(React: onFocus) This event is dispatched when the chip receives focus.",
|
9197
|
+
"name": "focus",
|
9198
|
+
"reactName": "onFocus",
|
9199
|
+
"inheritedFrom": {
|
9200
|
+
"name": "Buttonsimple",
|
9201
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9202
|
+
}
|
9203
|
+
}
|
9204
|
+
],
|
9161
9205
|
"attributes": [
|
9162
9206
|
{
|
9163
9207
|
"name": "color",
|
@@ -9342,46 +9386,8 @@
|
|
9342
9386
|
"module": "/src/components/buttonsimple/buttonsimple.component"
|
9343
9387
|
},
|
9344
9388
|
"tagName": "mdc-chip",
|
9345
|
-
"jsDoc": "/**\n * mdc-chip is an interactive element that can be used to represent a chip. It supports a leading icon along with label.\n * Consumers can wrap this component around a tooltip to provide additional context.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>,\n * including empty spaces to split words.\n *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-chip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\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 */",
|
9346
|
-
"customElement": true
|
9347
|
-
"events": [
|
9348
|
-
{
|
9349
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
9350
|
-
"name": "click",
|
9351
|
-
"reactName": "onClick",
|
9352
|
-
"inheritedFrom": {
|
9353
|
-
"name": "Buttonsimple",
|
9354
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9355
|
-
}
|
9356
|
-
},
|
9357
|
-
{
|
9358
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
9359
|
-
"name": "keydown",
|
9360
|
-
"reactName": "onKeyDown",
|
9361
|
-
"inheritedFrom": {
|
9362
|
-
"name": "Buttonsimple",
|
9363
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9364
|
-
}
|
9365
|
-
},
|
9366
|
-
{
|
9367
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
9368
|
-
"name": "keyup",
|
9369
|
-
"reactName": "onKeyUp",
|
9370
|
-
"inheritedFrom": {
|
9371
|
-
"name": "Buttonsimple",
|
9372
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9373
|
-
}
|
9374
|
-
},
|
9375
|
-
{
|
9376
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
9377
|
-
"name": "focus",
|
9378
|
-
"reactName": "onFocus",
|
9379
|
-
"inheritedFrom": {
|
9380
|
-
"name": "Buttonsimple",
|
9381
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9382
|
-
}
|
9383
|
-
}
|
9384
|
-
]
|
9389
|
+
"jsDoc": "/**\n * mdc-chip is an interactive element that can be used to represent a chip. It supports a leading icon along with label.\n * Consumers can wrap this component around a tooltip to provide additional context.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>,\n * including empty spaces to split words.\n *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-chip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\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 * @csspart label - The label part of the chip.\n *\n * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n *\n */",
|
9390
|
+
"customElement": true
|
9385
9391
|
}
|
9386
9392
|
],
|
9387
9393
|
"exports": [
|
@@ -11374,6 +11380,47 @@
|
|
11374
11380
|
}
|
11375
11381
|
]
|
11376
11382
|
},
|
11383
|
+
{
|
11384
|
+
"kind": "javascript-module",
|
11385
|
+
"path": "components/combobox/combobox.component.js",
|
11386
|
+
"declarations": [
|
11387
|
+
{
|
11388
|
+
"kind": "class",
|
11389
|
+
"description": "combobox component, which ...",
|
11390
|
+
"name": "Combobox",
|
11391
|
+
"cssProperties": [
|
11392
|
+
{
|
11393
|
+
"description": "Description of the CSS custom property",
|
11394
|
+
"name": "--custom-property-name"
|
11395
|
+
}
|
11396
|
+
],
|
11397
|
+
"slots": [
|
11398
|
+
{
|
11399
|
+
"description": "This is a default/unnamed slot",
|
11400
|
+
"name": "default"
|
11401
|
+
}
|
11402
|
+
],
|
11403
|
+
"members": [],
|
11404
|
+
"superclass": {
|
11405
|
+
"name": "Component",
|
11406
|
+
"module": "/src/models"
|
11407
|
+
},
|
11408
|
+
"tagName": "mdc-combobox",
|
11409
|
+
"jsDoc": "/**\n * combobox component, which ...\n *\n * @tagname mdc-combobox\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --custom-property-name - Description of the CSS custom property\n */",
|
11410
|
+
"customElement": true
|
11411
|
+
}
|
11412
|
+
],
|
11413
|
+
"exports": [
|
11414
|
+
{
|
11415
|
+
"kind": "js",
|
11416
|
+
"name": "default",
|
11417
|
+
"declaration": {
|
11418
|
+
"name": "Combobox",
|
11419
|
+
"module": "components/combobox/combobox.component.js"
|
11420
|
+
}
|
11421
|
+
}
|
11422
|
+
]
|
11423
|
+
},
|
11377
11424
|
{
|
11378
11425
|
"kind": "javascript-module",
|
11379
11426
|
"path": "components/dialog/dialog.component.js",
|
@@ -12700,6 +12747,42 @@
|
|
12700
12747
|
"kind": "class",
|
12701
12748
|
"description": "mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\nThey can be found with lists or tables as quick filters.\n\nThis component is built on top of the mdc-chip component.",
|
12702
12749
|
"name": "FilterChip",
|
12750
|
+
"cssProperties": [
|
12751
|
+
{
|
12752
|
+
"description": "The color of the chip.",
|
12753
|
+
"name": "--mdc-chip-color",
|
12754
|
+
"inheritedFrom": {
|
12755
|
+
"name": "Chip",
|
12756
|
+
"module": "src/components/chip/chip.component.ts"
|
12757
|
+
}
|
12758
|
+
},
|
12759
|
+
{
|
12760
|
+
"description": "The border color of the chip.",
|
12761
|
+
"name": "--mdc-chip-border-color",
|
12762
|
+
"inheritedFrom": {
|
12763
|
+
"name": "Chip",
|
12764
|
+
"module": "src/components/chip/chip.component.ts"
|
12765
|
+
}
|
12766
|
+
},
|
12767
|
+
{
|
12768
|
+
"description": "The background color of the chip.",
|
12769
|
+
"name": "--mdc-chip-background-color",
|
12770
|
+
"inheritedFrom": {
|
12771
|
+
"name": "Chip",
|
12772
|
+
"module": "src/components/chip/chip.component.ts"
|
12773
|
+
}
|
12774
|
+
}
|
12775
|
+
],
|
12776
|
+
"cssParts": [
|
12777
|
+
{
|
12778
|
+
"description": "The label part of the chip.",
|
12779
|
+
"name": "label",
|
12780
|
+
"inheritedFrom": {
|
12781
|
+
"name": "Chip",
|
12782
|
+
"module": "src/components/chip/chip.component.ts"
|
12783
|
+
}
|
12784
|
+
}
|
12785
|
+
],
|
12703
12786
|
"members": [
|
12704
12787
|
{
|
12705
12788
|
"kind": "field",
|
@@ -13099,6 +13182,44 @@
|
|
13099
13182
|
}
|
13100
13183
|
}
|
13101
13184
|
],
|
13185
|
+
"events": [
|
13186
|
+
{
|
13187
|
+
"description": "(React: onClick) This event is dispatched when the chip is clicked.",
|
13188
|
+
"name": "click",
|
13189
|
+
"reactName": "onClick",
|
13190
|
+
"inheritedFrom": {
|
13191
|
+
"name": "Buttonsimple",
|
13192
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13193
|
+
}
|
13194
|
+
},
|
13195
|
+
{
|
13196
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the chip.",
|
13197
|
+
"name": "keydown",
|
13198
|
+
"reactName": "onKeyDown",
|
13199
|
+
"inheritedFrom": {
|
13200
|
+
"name": "Buttonsimple",
|
13201
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13202
|
+
}
|
13203
|
+
},
|
13204
|
+
{
|
13205
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the chip.",
|
13206
|
+
"name": "keyup",
|
13207
|
+
"reactName": "onKeyUp",
|
13208
|
+
"inheritedFrom": {
|
13209
|
+
"name": "Buttonsimple",
|
13210
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13211
|
+
}
|
13212
|
+
},
|
13213
|
+
{
|
13214
|
+
"description": "(React: onFocus) This event is dispatched when the chip receives focus.",
|
13215
|
+
"name": "focus",
|
13216
|
+
"reactName": "onFocus",
|
13217
|
+
"inheritedFrom": {
|
13218
|
+
"name": "Buttonsimple",
|
13219
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13220
|
+
}
|
13221
|
+
}
|
13222
|
+
],
|
13102
13223
|
"attributes": [
|
13103
13224
|
{
|
13104
13225
|
"name": "selected",
|
@@ -13294,72 +13415,8 @@
|
|
13294
13415
|
"module": "/src/components/chip/chip.component"
|
13295
13416
|
},
|
13296
13417
|
"tagName": "mdc-filterchip",
|
13297
|
-
"jsDoc": "/**\n * mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\n * They can be found with lists or tables as quick filters.\n *\n * This component is built on top of the mdc-chip component.\n *\n * @tagname mdc-filterchip\n *\n */",
|
13298
|
-
"customElement": true
|
13299
|
-
"cssProperties": [
|
13300
|
-
{
|
13301
|
-
"description": "The color of the chip.",
|
13302
|
-
"name": "--mdc-chip-color",
|
13303
|
-
"inheritedFrom": {
|
13304
|
-
"name": "Chip",
|
13305
|
-
"module": "src/components/chip/chip.component.ts"
|
13306
|
-
}
|
13307
|
-
},
|
13308
|
-
{
|
13309
|
-
"description": "The border color of the chip.",
|
13310
|
-
"name": "--mdc-chip-border-color",
|
13311
|
-
"inheritedFrom": {
|
13312
|
-
"name": "Chip",
|
13313
|
-
"module": "src/components/chip/chip.component.ts"
|
13314
|
-
}
|
13315
|
-
},
|
13316
|
-
{
|
13317
|
-
"description": "The background color of the chip.",
|
13318
|
-
"name": "--mdc-chip-background-color",
|
13319
|
-
"inheritedFrom": {
|
13320
|
-
"name": "Chip",
|
13321
|
-
"module": "src/components/chip/chip.component.ts"
|
13322
|
-
}
|
13323
|
-
}
|
13324
|
-
],
|
13325
|
-
"events": [
|
13326
|
-
{
|
13327
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
13328
|
-
"name": "click",
|
13329
|
-
"reactName": "onClick",
|
13330
|
-
"inheritedFrom": {
|
13331
|
-
"name": "Buttonsimple",
|
13332
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13333
|
-
}
|
13334
|
-
},
|
13335
|
-
{
|
13336
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
13337
|
-
"name": "keydown",
|
13338
|
-
"reactName": "onKeyDown",
|
13339
|
-
"inheritedFrom": {
|
13340
|
-
"name": "Buttonsimple",
|
13341
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13342
|
-
}
|
13343
|
-
},
|
13344
|
-
{
|
13345
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
13346
|
-
"name": "keyup",
|
13347
|
-
"reactName": "onKeyUp",
|
13348
|
-
"inheritedFrom": {
|
13349
|
-
"name": "Buttonsimple",
|
13350
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13351
|
-
}
|
13352
|
-
},
|
13353
|
-
{
|
13354
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
13355
|
-
"name": "focus",
|
13356
|
-
"reactName": "onFocus",
|
13357
|
-
"inheritedFrom": {
|
13358
|
-
"name": "Buttonsimple",
|
13359
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
13360
|
-
}
|
13361
|
-
}
|
13362
|
-
]
|
13418
|
+
"jsDoc": "/**\n * mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\n * They can be found with lists or tables as quick filters.\n *\n * This component is built on top of the mdc-chip component.\n *\n * @tagname mdc-filterchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @csspart label - The label 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 * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n */",
|
13419
|
+
"customElement": true
|
13363
13420
|
}
|
13364
13421
|
],
|
13365
13422
|
"exports": [
|
@@ -15447,6 +15504,20 @@
|
|
15447
15504
|
"name": "--mdc-chip-background-color"
|
15448
15505
|
}
|
15449
15506
|
],
|
15507
|
+
"cssParts": [
|
15508
|
+
{
|
15509
|
+
"description": "The label part of the chip.",
|
15510
|
+
"name": "label"
|
15511
|
+
},
|
15512
|
+
{
|
15513
|
+
"description": "The icon part of the chip.",
|
15514
|
+
"name": "icon"
|
15515
|
+
},
|
15516
|
+
{
|
15517
|
+
"description": "The close icon part of the chip.",
|
15518
|
+
"name": "close-icon"
|
15519
|
+
}
|
15520
|
+
],
|
15450
15521
|
"members": [
|
15451
15522
|
{
|
15452
15523
|
"kind": "field",
|
@@ -15609,7 +15680,7 @@
|
|
15609
15680
|
"module": "/src/models"
|
15610
15681
|
},
|
15611
15682
|
"tagName": "mdc-inputchip",
|
15612
|
-
"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 * @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 */",
|
15683
|
+
"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 */",
|
15613
15684
|
"customElement": true
|
15614
15685
|
}
|
15615
15686
|
],
|
@@ -17006,31 +17077,145 @@
|
|
17006
17077
|
},
|
17007
17078
|
{
|
17008
17079
|
"kind": "javascript-module",
|
17009
|
-
"path": "components/
|
17080
|
+
"path": "components/list/list.component.js",
|
17010
17081
|
"declarations": [
|
17011
17082
|
{
|
17012
17083
|
"kind": "class",
|
17013
|
-
"description": "
|
17014
|
-
"name": "
|
17015
|
-
"
|
17084
|
+
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
17085
|
+
"name": "List",
|
17086
|
+
"cssParts": [
|
17016
17087
|
{
|
17017
|
-
"description": "
|
17018
|
-
"name": "
|
17088
|
+
"description": "The container slot around the list items",
|
17089
|
+
"name": "container"
|
17019
17090
|
}
|
17020
17091
|
],
|
17021
17092
|
"slots": [
|
17022
17093
|
{
|
17023
|
-
"description": "This is a default/unnamed slot",
|
17094
|
+
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
17024
17095
|
"name": "default"
|
17096
|
+
},
|
17097
|
+
{
|
17098
|
+
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
17099
|
+
"name": "list-header"
|
17100
|
+
}
|
17101
|
+
],
|
17102
|
+
"members": [
|
17103
|
+
{
|
17104
|
+
"kind": "method",
|
17105
|
+
"name": "handleKeyDown",
|
17106
|
+
"privacy": "private",
|
17107
|
+
"return": {
|
17108
|
+
"type": {
|
17109
|
+
"text": "void"
|
17110
|
+
}
|
17111
|
+
},
|
17112
|
+
"parameters": [
|
17113
|
+
{
|
17114
|
+
"name": "event",
|
17115
|
+
"type": {
|
17116
|
+
"text": "KeyboardEvent"
|
17117
|
+
},
|
17118
|
+
"description": "The keyboard event."
|
17119
|
+
}
|
17120
|
+
],
|
17121
|
+
"description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
|
17122
|
+
},
|
17123
|
+
{
|
17124
|
+
"kind": "method",
|
17125
|
+
"name": "getCurrentIndex",
|
17126
|
+
"privacy": "private",
|
17127
|
+
"return": {
|
17128
|
+
"type": {
|
17129
|
+
"text": ""
|
17130
|
+
}
|
17131
|
+
},
|
17132
|
+
"parameters": [
|
17133
|
+
{
|
17134
|
+
"name": "target",
|
17135
|
+
"type": {
|
17136
|
+
"text": "EventTarget | null"
|
17137
|
+
},
|
17138
|
+
"description": "The target element to find the index of."
|
17139
|
+
}
|
17140
|
+
],
|
17141
|
+
"description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
|
17142
|
+
},
|
17143
|
+
{
|
17144
|
+
"kind": "method",
|
17145
|
+
"name": "getNewIndexBasedOnKey",
|
17146
|
+
"privacy": "private",
|
17147
|
+
"return": {
|
17148
|
+
"type": {
|
17149
|
+
"text": ""
|
17150
|
+
}
|
17151
|
+
},
|
17152
|
+
"parameters": [
|
17153
|
+
{
|
17154
|
+
"name": "key",
|
17155
|
+
"type": {
|
17156
|
+
"text": "string"
|
17157
|
+
},
|
17158
|
+
"description": "The key that was pressed."
|
17159
|
+
},
|
17160
|
+
{
|
17161
|
+
"name": "currentIndex",
|
17162
|
+
"type": {
|
17163
|
+
"text": "number"
|
17164
|
+
},
|
17165
|
+
"description": "The current index of the focused list item."
|
17166
|
+
},
|
17167
|
+
{
|
17168
|
+
"name": "wrappedDivsCount",
|
17169
|
+
"type": {
|
17170
|
+
"text": "number"
|
17171
|
+
},
|
17172
|
+
"description": "The total number of list items."
|
17173
|
+
}
|
17174
|
+
],
|
17175
|
+
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
|
17176
|
+
},
|
17177
|
+
{
|
17178
|
+
"kind": "method",
|
17179
|
+
"name": "handleMouseClick",
|
17180
|
+
"privacy": "protected",
|
17181
|
+
"return": {
|
17182
|
+
"type": {
|
17183
|
+
"text": "void"
|
17184
|
+
}
|
17185
|
+
},
|
17186
|
+
"parameters": [
|
17187
|
+
{
|
17188
|
+
"name": "event",
|
17189
|
+
"type": {
|
17190
|
+
"text": "MouseEvent"
|
17191
|
+
},
|
17192
|
+
"description": "The mouse event."
|
17193
|
+
}
|
17194
|
+
],
|
17195
|
+
"description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
|
17196
|
+
},
|
17197
|
+
{
|
17198
|
+
"kind": "method",
|
17199
|
+
"name": "resetTabIndexAndSetActiveTabIndex",
|
17200
|
+
"privacy": "private",
|
17201
|
+
"parameters": [
|
17202
|
+
{
|
17203
|
+
"name": "newIndex",
|
17204
|
+
"type": {
|
17205
|
+
"text": "number"
|
17206
|
+
},
|
17207
|
+
"description": "The index of the new active element in the list."
|
17208
|
+
}
|
17209
|
+
],
|
17210
|
+
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
|
17025
17211
|
}
|
17026
17212
|
],
|
17027
|
-
"members": [],
|
17028
17213
|
"superclass": {
|
17029
17214
|
"name": "Component",
|
17030
17215
|
"module": "/src/models"
|
17031
17216
|
},
|
17032
|
-
"tagName": "mdc-
|
17033
|
-
"jsDoc": "/**\n *
|
17217
|
+
"tagName": "mdc-list",
|
17218
|
+
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
17034
17219
|
"customElement": true
|
17035
17220
|
}
|
17036
17221
|
],
|
@@ -17039,8 +17224,8 @@
|
|
17039
17224
|
"kind": "js",
|
17040
17225
|
"name": "default",
|
17041
17226
|
"declaration": {
|
17042
|
-
"name": "
|
17043
|
-
"module": "components/
|
17227
|
+
"name": "List",
|
17228
|
+
"module": "components/list/list.component.js"
|
17044
17229
|
}
|
17045
17230
|
}
|
17046
17231
|
]
|
@@ -17329,161 +17514,6 @@
|
|
17329
17514
|
}
|
17330
17515
|
]
|
17331
17516
|
},
|
17332
|
-
{
|
17333
|
-
"kind": "javascript-module",
|
17334
|
-
"path": "components/list/list.component.js",
|
17335
|
-
"declarations": [
|
17336
|
-
{
|
17337
|
-
"kind": "class",
|
17338
|
-
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
17339
|
-
"name": "List",
|
17340
|
-
"cssParts": [
|
17341
|
-
{
|
17342
|
-
"description": "The container slot around the list items",
|
17343
|
-
"name": "container"
|
17344
|
-
}
|
17345
|
-
],
|
17346
|
-
"slots": [
|
17347
|
-
{
|
17348
|
-
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
17349
|
-
"name": "default"
|
17350
|
-
},
|
17351
|
-
{
|
17352
|
-
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
17353
|
-
"name": "list-header"
|
17354
|
-
}
|
17355
|
-
],
|
17356
|
-
"members": [
|
17357
|
-
{
|
17358
|
-
"kind": "method",
|
17359
|
-
"name": "handleKeyDown",
|
17360
|
-
"privacy": "private",
|
17361
|
-
"return": {
|
17362
|
-
"type": {
|
17363
|
-
"text": "void"
|
17364
|
-
}
|
17365
|
-
},
|
17366
|
-
"parameters": [
|
17367
|
-
{
|
17368
|
-
"name": "event",
|
17369
|
-
"type": {
|
17370
|
-
"text": "KeyboardEvent"
|
17371
|
-
},
|
17372
|
-
"description": "The keyboard event."
|
17373
|
-
}
|
17374
|
-
],
|
17375
|
-
"description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
|
17376
|
-
},
|
17377
|
-
{
|
17378
|
-
"kind": "method",
|
17379
|
-
"name": "getCurrentIndex",
|
17380
|
-
"privacy": "private",
|
17381
|
-
"return": {
|
17382
|
-
"type": {
|
17383
|
-
"text": ""
|
17384
|
-
}
|
17385
|
-
},
|
17386
|
-
"parameters": [
|
17387
|
-
{
|
17388
|
-
"name": "target",
|
17389
|
-
"type": {
|
17390
|
-
"text": "EventTarget | null"
|
17391
|
-
},
|
17392
|
-
"description": "The target element to find the index of."
|
17393
|
-
}
|
17394
|
-
],
|
17395
|
-
"description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
|
17396
|
-
},
|
17397
|
-
{
|
17398
|
-
"kind": "method",
|
17399
|
-
"name": "getNewIndexBasedOnKey",
|
17400
|
-
"privacy": "private",
|
17401
|
-
"return": {
|
17402
|
-
"type": {
|
17403
|
-
"text": ""
|
17404
|
-
}
|
17405
|
-
},
|
17406
|
-
"parameters": [
|
17407
|
-
{
|
17408
|
-
"name": "key",
|
17409
|
-
"type": {
|
17410
|
-
"text": "string"
|
17411
|
-
},
|
17412
|
-
"description": "The key that was pressed."
|
17413
|
-
},
|
17414
|
-
{
|
17415
|
-
"name": "currentIndex",
|
17416
|
-
"type": {
|
17417
|
-
"text": "number"
|
17418
|
-
},
|
17419
|
-
"description": "The current index of the focused list item."
|
17420
|
-
},
|
17421
|
-
{
|
17422
|
-
"name": "wrappedDivsCount",
|
17423
|
-
"type": {
|
17424
|
-
"text": "number"
|
17425
|
-
},
|
17426
|
-
"description": "The total number of list items."
|
17427
|
-
}
|
17428
|
-
],
|
17429
|
-
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
|
17430
|
-
},
|
17431
|
-
{
|
17432
|
-
"kind": "method",
|
17433
|
-
"name": "handleMouseClick",
|
17434
|
-
"privacy": "protected",
|
17435
|
-
"return": {
|
17436
|
-
"type": {
|
17437
|
-
"text": "void"
|
17438
|
-
}
|
17439
|
-
},
|
17440
|
-
"parameters": [
|
17441
|
-
{
|
17442
|
-
"name": "event",
|
17443
|
-
"type": {
|
17444
|
-
"text": "MouseEvent"
|
17445
|
-
},
|
17446
|
-
"description": "The mouse event."
|
17447
|
-
}
|
17448
|
-
],
|
17449
|
-
"description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
|
17450
|
-
},
|
17451
|
-
{
|
17452
|
-
"kind": "method",
|
17453
|
-
"name": "resetTabIndexAndSetActiveTabIndex",
|
17454
|
-
"privacy": "private",
|
17455
|
-
"parameters": [
|
17456
|
-
{
|
17457
|
-
"name": "newIndex",
|
17458
|
-
"type": {
|
17459
|
-
"text": "number"
|
17460
|
-
},
|
17461
|
-
"description": "The index of the new active element in the list."
|
17462
|
-
}
|
17463
|
-
],
|
17464
|
-
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
|
17465
|
-
}
|
17466
|
-
],
|
17467
|
-
"superclass": {
|
17468
|
-
"name": "Component",
|
17469
|
-
"module": "/src/models"
|
17470
|
-
},
|
17471
|
-
"tagName": "mdc-list",
|
17472
|
-
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
17473
|
-
"customElement": true
|
17474
|
-
}
|
17475
|
-
],
|
17476
|
-
"exports": [
|
17477
|
-
{
|
17478
|
-
"kind": "js",
|
17479
|
-
"name": "default",
|
17480
|
-
"declaration": {
|
17481
|
-
"name": "List",
|
17482
|
-
"module": "components/list/list.component.js"
|
17483
|
-
}
|
17484
|
-
}
|
17485
|
-
]
|
17486
|
-
},
|
17487
17517
|
{
|
17488
17518
|
"kind": "javascript-module",
|
17489
17519
|
"path": "components/listheader/listheader.component.js",
|
@@ -33572,43 +33602,474 @@
|
|
33572
33602
|
"members": [
|
33573
33603
|
{
|
33574
33604
|
"kind": "field",
|
33575
|
-
"name": "variant",
|
33605
|
+
"name": "variant",
|
33606
|
+
"type": {
|
33607
|
+
"text": "SkeletonVariant"
|
33608
|
+
},
|
33609
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
33610
|
+
"default": "rectangular",
|
33611
|
+
"attribute": "variant",
|
33612
|
+
"reflects": true
|
33613
|
+
},
|
33614
|
+
{
|
33615
|
+
"kind": "method",
|
33616
|
+
"name": "checkSlotContent",
|
33617
|
+
"privacy": "private",
|
33618
|
+
"return": {
|
33619
|
+
"type": {
|
33620
|
+
"text": "void"
|
33621
|
+
}
|
33622
|
+
}
|
33623
|
+
}
|
33624
|
+
],
|
33625
|
+
"attributes": [
|
33626
|
+
{
|
33627
|
+
"name": "variant",
|
33628
|
+
"type": {
|
33629
|
+
"text": "SkeletonVariant"
|
33630
|
+
},
|
33631
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
33632
|
+
"default": "rectangular",
|
33633
|
+
"fieldName": "variant"
|
33634
|
+
}
|
33635
|
+
],
|
33636
|
+
"superclass": {
|
33637
|
+
"name": "Component",
|
33638
|
+
"module": "/src/models"
|
33639
|
+
},
|
33640
|
+
"tagName": "mdc-skeleton",
|
33641
|
+
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
33642
|
+
"customElement": true
|
33643
|
+
}
|
33644
|
+
],
|
33645
|
+
"exports": [
|
33646
|
+
{
|
33647
|
+
"kind": "js",
|
33648
|
+
"name": "default",
|
33649
|
+
"declaration": {
|
33650
|
+
"name": "Skeleton",
|
33651
|
+
"module": "components/skeleton/skeleton.component.js"
|
33652
|
+
}
|
33653
|
+
}
|
33654
|
+
]
|
33655
|
+
},
|
33656
|
+
{
|
33657
|
+
"kind": "javascript-module",
|
33658
|
+
"path": "components/spinner/spinner.component.js",
|
33659
|
+
"declarations": [
|
33660
|
+
{
|
33661
|
+
"kind": "class",
|
33662
|
+
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
33663
|
+
"name": "Spinner",
|
33664
|
+
"cssProperties": [
|
33665
|
+
{
|
33666
|
+
"description": "Allows customization of the default spinner color.",
|
33667
|
+
"name": "--mdc-spinner-default-color"
|
33668
|
+
},
|
33669
|
+
{
|
33670
|
+
"description": "Allows customization of the inverted spinner color.",
|
33671
|
+
"name": "--mdc-spinner-inverted-color"
|
33672
|
+
},
|
33673
|
+
{
|
33674
|
+
"description": "Allows customization of the spinner Button variant color.",
|
33675
|
+
"name": "--mdc-spinner-button-variant-color"
|
33676
|
+
},
|
33677
|
+
{
|
33678
|
+
"description": "Allows customization of the spinner size.",
|
33679
|
+
"name": "--mdc-spinner-size"
|
33680
|
+
}
|
33681
|
+
],
|
33682
|
+
"cssParts": [
|
33683
|
+
{
|
33684
|
+
"description": "The svg which contains the circle spinner.",
|
33685
|
+
"name": "container"
|
33686
|
+
},
|
33687
|
+
{
|
33688
|
+
"description": "The circle of the spinner.",
|
33689
|
+
"name": "circle"
|
33690
|
+
}
|
33691
|
+
],
|
33692
|
+
"members": [
|
33693
|
+
{
|
33694
|
+
"kind": "field",
|
33695
|
+
"name": "inverted",
|
33696
|
+
"type": {
|
33697
|
+
"text": "boolean | undefined"
|
33698
|
+
},
|
33699
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
33700
|
+
"default": "false",
|
33701
|
+
"attribute": "inverted",
|
33702
|
+
"reflects": true
|
33703
|
+
},
|
33704
|
+
{
|
33705
|
+
"kind": "field",
|
33706
|
+
"name": "size",
|
33707
|
+
"type": {
|
33708
|
+
"text": "SpinnerSize | undefined"
|
33709
|
+
},
|
33710
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
33711
|
+
"default": "midsize",
|
33712
|
+
"attribute": "size",
|
33713
|
+
"reflects": true
|
33714
|
+
},
|
33715
|
+
{
|
33716
|
+
"kind": "field",
|
33717
|
+
"name": "ariaLabel",
|
33718
|
+
"type": {
|
33719
|
+
"text": "string | null"
|
33720
|
+
},
|
33721
|
+
"default": "null",
|
33722
|
+
"description": "Aria-label attribute to be set for accessibility",
|
33723
|
+
"attribute": "aria-label"
|
33724
|
+
},
|
33725
|
+
{
|
33726
|
+
"kind": "field",
|
33727
|
+
"name": "variant",
|
33728
|
+
"type": {
|
33729
|
+
"text": "SpinnerVariant"
|
33730
|
+
},
|
33731
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
33732
|
+
"default": "standalone",
|
33733
|
+
"attribute": "variant",
|
33734
|
+
"reflects": true
|
33735
|
+
}
|
33736
|
+
],
|
33737
|
+
"attributes": [
|
33738
|
+
{
|
33739
|
+
"name": "inverted",
|
33740
|
+
"type": {
|
33741
|
+
"text": "boolean | undefined"
|
33742
|
+
},
|
33743
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
33744
|
+
"default": "false",
|
33745
|
+
"fieldName": "inverted"
|
33746
|
+
},
|
33747
|
+
{
|
33748
|
+
"name": "size",
|
33749
|
+
"type": {
|
33750
|
+
"text": "SpinnerSize | undefined"
|
33751
|
+
},
|
33752
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
33753
|
+
"default": "midsize",
|
33754
|
+
"fieldName": "size"
|
33755
|
+
},
|
33756
|
+
{
|
33757
|
+
"name": "aria-label",
|
33758
|
+
"type": {
|
33759
|
+
"text": "string | null"
|
33760
|
+
},
|
33761
|
+
"default": "null",
|
33762
|
+
"description": "Aria-label attribute to be set for accessibility",
|
33763
|
+
"fieldName": "ariaLabel"
|
33764
|
+
},
|
33765
|
+
{
|
33766
|
+
"name": "variant",
|
33767
|
+
"type": {
|
33768
|
+
"text": "SpinnerVariant"
|
33769
|
+
},
|
33770
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
33771
|
+
"default": "standalone",
|
33772
|
+
"fieldName": "variant"
|
33773
|
+
}
|
33774
|
+
],
|
33775
|
+
"superclass": {
|
33776
|
+
"name": "Component",
|
33777
|
+
"module": "/src/models"
|
33778
|
+
},
|
33779
|
+
"tagName": "mdc-spinner",
|
33780
|
+
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
33781
|
+
"customElement": true
|
33782
|
+
}
|
33783
|
+
],
|
33784
|
+
"exports": [
|
33785
|
+
{
|
33786
|
+
"kind": "js",
|
33787
|
+
"name": "default",
|
33788
|
+
"declaration": {
|
33789
|
+
"name": "Spinner",
|
33790
|
+
"module": "components/spinner/spinner.component.js"
|
33791
|
+
}
|
33792
|
+
}
|
33793
|
+
]
|
33794
|
+
},
|
33795
|
+
{
|
33796
|
+
"kind": "javascript-module",
|
33797
|
+
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
33798
|
+
"declarations": [
|
33799
|
+
{
|
33800
|
+
"kind": "class",
|
33801
|
+
"description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
|
33802
|
+
"name": "StaticCheckbox",
|
33803
|
+
"cssProperties": [
|
33804
|
+
{
|
33805
|
+
"description": "Border color in high contrast.",
|
33806
|
+
"name": "--mdc-staticcheckbox-border-color"
|
33807
|
+
},
|
33808
|
+
{
|
33809
|
+
"description": "Background color for a selected checkbox.",
|
33810
|
+
"name": "--mdc-staticcheckbox-checked-background-color"
|
33811
|
+
},
|
33812
|
+
{
|
33813
|
+
"description": "Background color for a disabled checkbox.",
|
33814
|
+
"name": "--mdc-staticcheckbox-disabled-background-color"
|
33815
|
+
},
|
33816
|
+
{
|
33817
|
+
"description": "Border color for a disabled checkbox.",
|
33818
|
+
"name": "--mdc-checkbox-disabled-border-color"
|
33819
|
+
},
|
33820
|
+
{
|
33821
|
+
"description": "Background color for a disabled, selected checkbox.",
|
33822
|
+
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
33823
|
+
},
|
33824
|
+
{
|
33825
|
+
"description": "Icon color for a disabled checkbox.",
|
33826
|
+
"name": "--mdc-staticcheckbox-disabled-icon-color"
|
33827
|
+
},
|
33828
|
+
{
|
33829
|
+
"description": "Background color for an unselected checkbox.",
|
33830
|
+
"name": "--mdc-staticcheckbox-icon-background-color"
|
33831
|
+
},
|
33832
|
+
{
|
33833
|
+
"description": "Default background color for an unselected checkbox.",
|
33834
|
+
"name": "--mdc-staticcheckbox-icon-border-color"
|
33835
|
+
},
|
33836
|
+
{
|
33837
|
+
"description": "Icon color for an unselected checkbox.",
|
33838
|
+
"name": "--mdc-staticcheckbox-icon-color"
|
33839
|
+
}
|
33840
|
+
],
|
33841
|
+
"members": [
|
33842
|
+
{
|
33843
|
+
"kind": "field",
|
33844
|
+
"name": "checked",
|
33845
|
+
"type": {
|
33846
|
+
"text": "boolean"
|
33847
|
+
},
|
33848
|
+
"default": "false",
|
33849
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
33850
|
+
"attribute": "checked",
|
33851
|
+
"reflects": true
|
33852
|
+
},
|
33853
|
+
{
|
33854
|
+
"kind": "field",
|
33855
|
+
"name": "indeterminate",
|
33856
|
+
"type": {
|
33857
|
+
"text": "boolean"
|
33858
|
+
},
|
33859
|
+
"default": "false",
|
33860
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
33861
|
+
"attribute": "indeterminate",
|
33862
|
+
"reflects": true
|
33863
|
+
},
|
33864
|
+
{
|
33865
|
+
"kind": "field",
|
33866
|
+
"name": "disabled",
|
33867
|
+
"type": {
|
33868
|
+
"text": "boolean | undefined"
|
33869
|
+
},
|
33870
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33871
|
+
"default": "undefined",
|
33872
|
+
"attribute": "disabled",
|
33873
|
+
"reflects": true,
|
33874
|
+
"inheritedFrom": {
|
33875
|
+
"name": "DisabledMixin",
|
33876
|
+
"module": "utils/mixins/DisabledMixin.js"
|
33877
|
+
}
|
33878
|
+
}
|
33879
|
+
],
|
33880
|
+
"attributes": [
|
33881
|
+
{
|
33882
|
+
"name": "checked",
|
33883
|
+
"type": {
|
33884
|
+
"text": "boolean"
|
33885
|
+
},
|
33886
|
+
"default": "false",
|
33887
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
33888
|
+
"fieldName": "checked"
|
33889
|
+
},
|
33890
|
+
{
|
33891
|
+
"name": "indeterminate",
|
33892
|
+
"type": {
|
33893
|
+
"text": "boolean"
|
33894
|
+
},
|
33895
|
+
"default": "false",
|
33896
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
33897
|
+
"fieldName": "indeterminate"
|
33898
|
+
},
|
33899
|
+
{
|
33900
|
+
"name": "disabled",
|
33901
|
+
"type": {
|
33902
|
+
"text": "boolean | undefined"
|
33903
|
+
},
|
33904
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33905
|
+
"default": "undefined",
|
33906
|
+
"fieldName": "disabled",
|
33907
|
+
"inheritedFrom": {
|
33908
|
+
"name": "DisabledMixin",
|
33909
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
33910
|
+
}
|
33911
|
+
}
|
33912
|
+
],
|
33913
|
+
"mixins": [
|
33914
|
+
{
|
33915
|
+
"name": "DisabledMixin",
|
33916
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
33917
|
+
}
|
33918
|
+
],
|
33919
|
+
"superclass": {
|
33920
|
+
"name": "Component",
|
33921
|
+
"module": "/src/models"
|
33922
|
+
},
|
33923
|
+
"tagName": "mdc-staticcheckbox",
|
33924
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
|
33925
|
+
"customElement": true
|
33926
|
+
}
|
33927
|
+
],
|
33928
|
+
"exports": [
|
33929
|
+
{
|
33930
|
+
"kind": "js",
|
33931
|
+
"name": "default",
|
33932
|
+
"declaration": {
|
33933
|
+
"name": "StaticCheckbox",
|
33934
|
+
"module": "components/staticcheckbox/staticcheckbox.component.js"
|
33935
|
+
}
|
33936
|
+
}
|
33937
|
+
]
|
33938
|
+
},
|
33939
|
+
{
|
33940
|
+
"kind": "javascript-module",
|
33941
|
+
"path": "components/staticradio/staticradio.component.js",
|
33942
|
+
"declarations": [
|
33943
|
+
{
|
33944
|
+
"kind": "class",
|
33945
|
+
"description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
|
33946
|
+
"name": "StaticRadio",
|
33947
|
+
"cssProperties": [
|
33948
|
+
{
|
33949
|
+
"description": "size of the inner circle",
|
33950
|
+
"name": "--mdc-staticradio-inner-circle-size"
|
33951
|
+
},
|
33952
|
+
{
|
33953
|
+
"description": "color of the label when disabled",
|
33954
|
+
"name": "--mdc-staticradio-text-disabled-color"
|
33955
|
+
},
|
33956
|
+
{
|
33957
|
+
"description": "color of the radio button border when normal",
|
33958
|
+
"name": "--mdc-staticradio-normal-border-color"
|
33959
|
+
},
|
33960
|
+
{
|
33961
|
+
"description": "color of the radio button border when disabled",
|
33962
|
+
"name": "--mdc-staticradio-disabled-border-color"
|
33963
|
+
},
|
33964
|
+
{
|
33965
|
+
"description": "background color of the inner circle when normal",
|
33966
|
+
"name": "--mdc-staticradio-inner-circle-normal-background"
|
33967
|
+
},
|
33968
|
+
{
|
33969
|
+
"description": "background color of the inner circle when disabled",
|
33970
|
+
"name": "--mdc-staticradio-inner-circle-disabled-background"
|
33971
|
+
},
|
33972
|
+
{
|
33973
|
+
"description": "color of the radio button when inactive",
|
33974
|
+
"name": "--mdc-staticradio-control-inactive-color"
|
33975
|
+
},
|
33976
|
+
{
|
33977
|
+
"description": "background color of the radio button when inactive and disabled",
|
33978
|
+
"name": "--mdc-staticradio-control-inactive-disabled-background"
|
33979
|
+
},
|
33980
|
+
{
|
33981
|
+
"description": "color of the radio button when active",
|
33982
|
+
"name": "--mdc-staticradio-control-active-color"
|
33983
|
+
},
|
33984
|
+
{
|
33985
|
+
"description": "background color of the radio button when active and disabled",
|
33986
|
+
"name": "--mdc-staticradio-control-active-disabled-background"
|
33987
|
+
}
|
33988
|
+
],
|
33989
|
+
"members": [
|
33990
|
+
{
|
33991
|
+
"kind": "field",
|
33992
|
+
"name": "checked",
|
33993
|
+
"type": {
|
33994
|
+
"text": "boolean"
|
33995
|
+
},
|
33996
|
+
"default": "false",
|
33997
|
+
"description": "Determines whether the radio is selected or unselected.",
|
33998
|
+
"attribute": "checked",
|
33999
|
+
"reflects": true
|
34000
|
+
},
|
34001
|
+
{
|
34002
|
+
"kind": "field",
|
34003
|
+
"name": "readonly",
|
33576
34004
|
"type": {
|
33577
|
-
"text": "
|
34005
|
+
"text": "boolean"
|
33578
34006
|
},
|
33579
|
-
"
|
33580
|
-
"
|
33581
|
-
"attribute": "
|
34007
|
+
"default": "false",
|
34008
|
+
"description": "Determines whether the radio is read-only.",
|
34009
|
+
"attribute": "readonly",
|
33582
34010
|
"reflects": true
|
33583
34011
|
},
|
33584
34012
|
{
|
33585
|
-
"kind": "
|
33586
|
-
"name": "
|
33587
|
-
"
|
33588
|
-
|
33589
|
-
|
33590
|
-
|
33591
|
-
|
34013
|
+
"kind": "field",
|
34014
|
+
"name": "disabled",
|
34015
|
+
"type": {
|
34016
|
+
"text": "boolean | undefined"
|
34017
|
+
},
|
34018
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34019
|
+
"default": "undefined",
|
34020
|
+
"attribute": "disabled",
|
34021
|
+
"reflects": true,
|
34022
|
+
"inheritedFrom": {
|
34023
|
+
"name": "DisabledMixin",
|
34024
|
+
"module": "utils/mixins/DisabledMixin.js"
|
33592
34025
|
}
|
33593
34026
|
}
|
33594
34027
|
],
|
33595
34028
|
"attributes": [
|
33596
34029
|
{
|
33597
|
-
"name": "
|
34030
|
+
"name": "checked",
|
33598
34031
|
"type": {
|
33599
|
-
"text": "
|
34032
|
+
"text": "boolean"
|
33600
34033
|
},
|
33601
|
-
"
|
33602
|
-
"
|
33603
|
-
"fieldName": "
|
34034
|
+
"default": "false",
|
34035
|
+
"description": "Determines whether the radio is selected or unselected.",
|
34036
|
+
"fieldName": "checked"
|
34037
|
+
},
|
34038
|
+
{
|
34039
|
+
"name": "readonly",
|
34040
|
+
"type": {
|
34041
|
+
"text": "boolean"
|
34042
|
+
},
|
34043
|
+
"default": "false",
|
34044
|
+
"description": "Determines whether the radio is read-only.",
|
34045
|
+
"fieldName": "readonly"
|
34046
|
+
},
|
34047
|
+
{
|
34048
|
+
"name": "disabled",
|
34049
|
+
"type": {
|
34050
|
+
"text": "boolean | undefined"
|
34051
|
+
},
|
34052
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34053
|
+
"default": "undefined",
|
34054
|
+
"fieldName": "disabled",
|
34055
|
+
"inheritedFrom": {
|
34056
|
+
"name": "DisabledMixin",
|
34057
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
34058
|
+
}
|
34059
|
+
}
|
34060
|
+
],
|
34061
|
+
"mixins": [
|
34062
|
+
{
|
34063
|
+
"name": "DisabledMixin",
|
34064
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
33604
34065
|
}
|
33605
34066
|
],
|
33606
34067
|
"superclass": {
|
33607
34068
|
"name": "Component",
|
33608
34069
|
"module": "/src/models"
|
33609
34070
|
},
|
33610
|
-
"tagName": "mdc-
|
33611
|
-
"jsDoc": "/**\n *
|
34071
|
+
"tagName": "mdc-staticradio",
|
34072
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
|
33612
34073
|
"customElement": true
|
33613
34074
|
}
|
33614
34075
|
],
|
@@ -33617,8 +34078,8 @@
|
|
33617
34078
|
"kind": "js",
|
33618
34079
|
"name": "default",
|
33619
34080
|
"declaration": {
|
33620
|
-
"name": "
|
33621
|
-
"module": "components/
|
34081
|
+
"name": "StaticRadio",
|
34082
|
+
"module": "components/staticradio/staticradio.component.js"
|
33622
34083
|
}
|
33623
34084
|
}
|
33624
34085
|
]
|
@@ -34135,437 +34596,6 @@
|
|
34135
34596
|
}
|
34136
34597
|
]
|
34137
34598
|
},
|
34138
|
-
{
|
34139
|
-
"kind": "javascript-module",
|
34140
|
-
"path": "components/spinner/spinner.component.js",
|
34141
|
-
"declarations": [
|
34142
|
-
{
|
34143
|
-
"kind": "class",
|
34144
|
-
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
34145
|
-
"name": "Spinner",
|
34146
|
-
"cssProperties": [
|
34147
|
-
{
|
34148
|
-
"description": "Allows customization of the default spinner color.",
|
34149
|
-
"name": "--mdc-spinner-default-color"
|
34150
|
-
},
|
34151
|
-
{
|
34152
|
-
"description": "Allows customization of the inverted spinner color.",
|
34153
|
-
"name": "--mdc-spinner-inverted-color"
|
34154
|
-
},
|
34155
|
-
{
|
34156
|
-
"description": "Allows customization of the spinner Button variant color.",
|
34157
|
-
"name": "--mdc-spinner-button-variant-color"
|
34158
|
-
},
|
34159
|
-
{
|
34160
|
-
"description": "Allows customization of the spinner size.",
|
34161
|
-
"name": "--mdc-spinner-size"
|
34162
|
-
}
|
34163
|
-
],
|
34164
|
-
"cssParts": [
|
34165
|
-
{
|
34166
|
-
"description": "The svg which contains the circle spinner.",
|
34167
|
-
"name": "container"
|
34168
|
-
},
|
34169
|
-
{
|
34170
|
-
"description": "The circle of the spinner.",
|
34171
|
-
"name": "circle"
|
34172
|
-
}
|
34173
|
-
],
|
34174
|
-
"members": [
|
34175
|
-
{
|
34176
|
-
"kind": "field",
|
34177
|
-
"name": "inverted",
|
34178
|
-
"type": {
|
34179
|
-
"text": "boolean | undefined"
|
34180
|
-
},
|
34181
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
34182
|
-
"default": "false",
|
34183
|
-
"attribute": "inverted",
|
34184
|
-
"reflects": true
|
34185
|
-
},
|
34186
|
-
{
|
34187
|
-
"kind": "field",
|
34188
|
-
"name": "size",
|
34189
|
-
"type": {
|
34190
|
-
"text": "SpinnerSize | undefined"
|
34191
|
-
},
|
34192
|
-
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
34193
|
-
"default": "midsize",
|
34194
|
-
"attribute": "size",
|
34195
|
-
"reflects": true
|
34196
|
-
},
|
34197
|
-
{
|
34198
|
-
"kind": "field",
|
34199
|
-
"name": "ariaLabel",
|
34200
|
-
"type": {
|
34201
|
-
"text": "string | null"
|
34202
|
-
},
|
34203
|
-
"default": "null",
|
34204
|
-
"description": "Aria-label attribute to be set for accessibility",
|
34205
|
-
"attribute": "aria-label"
|
34206
|
-
},
|
34207
|
-
{
|
34208
|
-
"kind": "field",
|
34209
|
-
"name": "variant",
|
34210
|
-
"type": {
|
34211
|
-
"text": "SpinnerVariant"
|
34212
|
-
},
|
34213
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
34214
|
-
"default": "standalone",
|
34215
|
-
"attribute": "variant",
|
34216
|
-
"reflects": true
|
34217
|
-
}
|
34218
|
-
],
|
34219
|
-
"attributes": [
|
34220
|
-
{
|
34221
|
-
"name": "inverted",
|
34222
|
-
"type": {
|
34223
|
-
"text": "boolean | undefined"
|
34224
|
-
},
|
34225
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
34226
|
-
"default": "false",
|
34227
|
-
"fieldName": "inverted"
|
34228
|
-
},
|
34229
|
-
{
|
34230
|
-
"name": "size",
|
34231
|
-
"type": {
|
34232
|
-
"text": "SpinnerSize | undefined"
|
34233
|
-
},
|
34234
|
-
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
34235
|
-
"default": "midsize",
|
34236
|
-
"fieldName": "size"
|
34237
|
-
},
|
34238
|
-
{
|
34239
|
-
"name": "aria-label",
|
34240
|
-
"type": {
|
34241
|
-
"text": "string | null"
|
34242
|
-
},
|
34243
|
-
"default": "null",
|
34244
|
-
"description": "Aria-label attribute to be set for accessibility",
|
34245
|
-
"fieldName": "ariaLabel"
|
34246
|
-
},
|
34247
|
-
{
|
34248
|
-
"name": "variant",
|
34249
|
-
"type": {
|
34250
|
-
"text": "SpinnerVariant"
|
34251
|
-
},
|
34252
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
34253
|
-
"default": "standalone",
|
34254
|
-
"fieldName": "variant"
|
34255
|
-
}
|
34256
|
-
],
|
34257
|
-
"superclass": {
|
34258
|
-
"name": "Component",
|
34259
|
-
"module": "/src/models"
|
34260
|
-
},
|
34261
|
-
"tagName": "mdc-spinner",
|
34262
|
-
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
34263
|
-
"customElement": true
|
34264
|
-
}
|
34265
|
-
],
|
34266
|
-
"exports": [
|
34267
|
-
{
|
34268
|
-
"kind": "js",
|
34269
|
-
"name": "default",
|
34270
|
-
"declaration": {
|
34271
|
-
"name": "Spinner",
|
34272
|
-
"module": "components/spinner/spinner.component.js"
|
34273
|
-
}
|
34274
|
-
}
|
34275
|
-
]
|
34276
|
-
},
|
34277
|
-
{
|
34278
|
-
"kind": "javascript-module",
|
34279
|
-
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
34280
|
-
"declarations": [
|
34281
|
-
{
|
34282
|
-
"kind": "class",
|
34283
|
-
"description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
|
34284
|
-
"name": "StaticCheckbox",
|
34285
|
-
"cssProperties": [
|
34286
|
-
{
|
34287
|
-
"description": "Border color in high contrast.",
|
34288
|
-
"name": "--mdc-staticcheckbox-border-color"
|
34289
|
-
},
|
34290
|
-
{
|
34291
|
-
"description": "Background color for a selected checkbox.",
|
34292
|
-
"name": "--mdc-staticcheckbox-checked-background-color"
|
34293
|
-
},
|
34294
|
-
{
|
34295
|
-
"description": "Background color for a disabled checkbox.",
|
34296
|
-
"name": "--mdc-staticcheckbox-disabled-background-color"
|
34297
|
-
},
|
34298
|
-
{
|
34299
|
-
"description": "Border color for a disabled checkbox.",
|
34300
|
-
"name": "--mdc-checkbox-disabled-border-color"
|
34301
|
-
},
|
34302
|
-
{
|
34303
|
-
"description": "Background color for a disabled, selected checkbox.",
|
34304
|
-
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
34305
|
-
},
|
34306
|
-
{
|
34307
|
-
"description": "Icon color for a disabled checkbox.",
|
34308
|
-
"name": "--mdc-staticcheckbox-disabled-icon-color"
|
34309
|
-
},
|
34310
|
-
{
|
34311
|
-
"description": "Background color for an unselected checkbox.",
|
34312
|
-
"name": "--mdc-staticcheckbox-icon-background-color"
|
34313
|
-
},
|
34314
|
-
{
|
34315
|
-
"description": "Default background color for an unselected checkbox.",
|
34316
|
-
"name": "--mdc-staticcheckbox-icon-border-color"
|
34317
|
-
},
|
34318
|
-
{
|
34319
|
-
"description": "Icon color for an unselected checkbox.",
|
34320
|
-
"name": "--mdc-staticcheckbox-icon-color"
|
34321
|
-
}
|
34322
|
-
],
|
34323
|
-
"members": [
|
34324
|
-
{
|
34325
|
-
"kind": "field",
|
34326
|
-
"name": "checked",
|
34327
|
-
"type": {
|
34328
|
-
"text": "boolean"
|
34329
|
-
},
|
34330
|
-
"default": "false",
|
34331
|
-
"description": "Determines whether the checkbox is selected or unselected.",
|
34332
|
-
"attribute": "checked",
|
34333
|
-
"reflects": true
|
34334
|
-
},
|
34335
|
-
{
|
34336
|
-
"kind": "field",
|
34337
|
-
"name": "indeterminate",
|
34338
|
-
"type": {
|
34339
|
-
"text": "boolean"
|
34340
|
-
},
|
34341
|
-
"default": "false",
|
34342
|
-
"description": "Determines whether the checkbox is in an indeterminate state.",
|
34343
|
-
"attribute": "indeterminate",
|
34344
|
-
"reflects": true
|
34345
|
-
},
|
34346
|
-
{
|
34347
|
-
"kind": "field",
|
34348
|
-
"name": "disabled",
|
34349
|
-
"type": {
|
34350
|
-
"text": "boolean | undefined"
|
34351
|
-
},
|
34352
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34353
|
-
"default": "undefined",
|
34354
|
-
"attribute": "disabled",
|
34355
|
-
"reflects": true,
|
34356
|
-
"inheritedFrom": {
|
34357
|
-
"name": "DisabledMixin",
|
34358
|
-
"module": "utils/mixins/DisabledMixin.js"
|
34359
|
-
}
|
34360
|
-
}
|
34361
|
-
],
|
34362
|
-
"attributes": [
|
34363
|
-
{
|
34364
|
-
"name": "checked",
|
34365
|
-
"type": {
|
34366
|
-
"text": "boolean"
|
34367
|
-
},
|
34368
|
-
"default": "false",
|
34369
|
-
"description": "Determines whether the checkbox is selected or unselected.",
|
34370
|
-
"fieldName": "checked"
|
34371
|
-
},
|
34372
|
-
{
|
34373
|
-
"name": "indeterminate",
|
34374
|
-
"type": {
|
34375
|
-
"text": "boolean"
|
34376
|
-
},
|
34377
|
-
"default": "false",
|
34378
|
-
"description": "Determines whether the checkbox is in an indeterminate state.",
|
34379
|
-
"fieldName": "indeterminate"
|
34380
|
-
},
|
34381
|
-
{
|
34382
|
-
"name": "disabled",
|
34383
|
-
"type": {
|
34384
|
-
"text": "boolean | undefined"
|
34385
|
-
},
|
34386
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34387
|
-
"default": "undefined",
|
34388
|
-
"fieldName": "disabled",
|
34389
|
-
"inheritedFrom": {
|
34390
|
-
"name": "DisabledMixin",
|
34391
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
34392
|
-
}
|
34393
|
-
}
|
34394
|
-
],
|
34395
|
-
"mixins": [
|
34396
|
-
{
|
34397
|
-
"name": "DisabledMixin",
|
34398
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
34399
|
-
}
|
34400
|
-
],
|
34401
|
-
"superclass": {
|
34402
|
-
"name": "Component",
|
34403
|
-
"module": "/src/models"
|
34404
|
-
},
|
34405
|
-
"tagName": "mdc-staticcheckbox",
|
34406
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
|
34407
|
-
"customElement": true
|
34408
|
-
}
|
34409
|
-
],
|
34410
|
-
"exports": [
|
34411
|
-
{
|
34412
|
-
"kind": "js",
|
34413
|
-
"name": "default",
|
34414
|
-
"declaration": {
|
34415
|
-
"name": "StaticCheckbox",
|
34416
|
-
"module": "components/staticcheckbox/staticcheckbox.component.js"
|
34417
|
-
}
|
34418
|
-
}
|
34419
|
-
]
|
34420
|
-
},
|
34421
|
-
{
|
34422
|
-
"kind": "javascript-module",
|
34423
|
-
"path": "components/staticradio/staticradio.component.js",
|
34424
|
-
"declarations": [
|
34425
|
-
{
|
34426
|
-
"kind": "class",
|
34427
|
-
"description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
|
34428
|
-
"name": "StaticRadio",
|
34429
|
-
"cssProperties": [
|
34430
|
-
{
|
34431
|
-
"description": "size of the inner circle",
|
34432
|
-
"name": "--mdc-staticradio-inner-circle-size"
|
34433
|
-
},
|
34434
|
-
{
|
34435
|
-
"description": "color of the label when disabled",
|
34436
|
-
"name": "--mdc-staticradio-text-disabled-color"
|
34437
|
-
},
|
34438
|
-
{
|
34439
|
-
"description": "color of the radio button border when normal",
|
34440
|
-
"name": "--mdc-staticradio-normal-border-color"
|
34441
|
-
},
|
34442
|
-
{
|
34443
|
-
"description": "color of the radio button border when disabled",
|
34444
|
-
"name": "--mdc-staticradio-disabled-border-color"
|
34445
|
-
},
|
34446
|
-
{
|
34447
|
-
"description": "background color of the inner circle when normal",
|
34448
|
-
"name": "--mdc-staticradio-inner-circle-normal-background"
|
34449
|
-
},
|
34450
|
-
{
|
34451
|
-
"description": "background color of the inner circle when disabled",
|
34452
|
-
"name": "--mdc-staticradio-inner-circle-disabled-background"
|
34453
|
-
},
|
34454
|
-
{
|
34455
|
-
"description": "color of the radio button when inactive",
|
34456
|
-
"name": "--mdc-staticradio-control-inactive-color"
|
34457
|
-
},
|
34458
|
-
{
|
34459
|
-
"description": "background color of the radio button when inactive and disabled",
|
34460
|
-
"name": "--mdc-staticradio-control-inactive-disabled-background"
|
34461
|
-
},
|
34462
|
-
{
|
34463
|
-
"description": "color of the radio button when active",
|
34464
|
-
"name": "--mdc-staticradio-control-active-color"
|
34465
|
-
},
|
34466
|
-
{
|
34467
|
-
"description": "background color of the radio button when active and disabled",
|
34468
|
-
"name": "--mdc-staticradio-control-active-disabled-background"
|
34469
|
-
}
|
34470
|
-
],
|
34471
|
-
"members": [
|
34472
|
-
{
|
34473
|
-
"kind": "field",
|
34474
|
-
"name": "checked",
|
34475
|
-
"type": {
|
34476
|
-
"text": "boolean"
|
34477
|
-
},
|
34478
|
-
"default": "false",
|
34479
|
-
"description": "Determines whether the radio is selected or unselected.",
|
34480
|
-
"attribute": "checked",
|
34481
|
-
"reflects": true
|
34482
|
-
},
|
34483
|
-
{
|
34484
|
-
"kind": "field",
|
34485
|
-
"name": "readonly",
|
34486
|
-
"type": {
|
34487
|
-
"text": "boolean"
|
34488
|
-
},
|
34489
|
-
"default": "false",
|
34490
|
-
"description": "Determines whether the radio is read-only.",
|
34491
|
-
"attribute": "readonly",
|
34492
|
-
"reflects": true
|
34493
|
-
},
|
34494
|
-
{
|
34495
|
-
"kind": "field",
|
34496
|
-
"name": "disabled",
|
34497
|
-
"type": {
|
34498
|
-
"text": "boolean | undefined"
|
34499
|
-
},
|
34500
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34501
|
-
"default": "undefined",
|
34502
|
-
"attribute": "disabled",
|
34503
|
-
"reflects": true,
|
34504
|
-
"inheritedFrom": {
|
34505
|
-
"name": "DisabledMixin",
|
34506
|
-
"module": "utils/mixins/DisabledMixin.js"
|
34507
|
-
}
|
34508
|
-
}
|
34509
|
-
],
|
34510
|
-
"attributes": [
|
34511
|
-
{
|
34512
|
-
"name": "checked",
|
34513
|
-
"type": {
|
34514
|
-
"text": "boolean"
|
34515
|
-
},
|
34516
|
-
"default": "false",
|
34517
|
-
"description": "Determines whether the radio is selected or unselected.",
|
34518
|
-
"fieldName": "checked"
|
34519
|
-
},
|
34520
|
-
{
|
34521
|
-
"name": "readonly",
|
34522
|
-
"type": {
|
34523
|
-
"text": "boolean"
|
34524
|
-
},
|
34525
|
-
"default": "false",
|
34526
|
-
"description": "Determines whether the radio is read-only.",
|
34527
|
-
"fieldName": "readonly"
|
34528
|
-
},
|
34529
|
-
{
|
34530
|
-
"name": "disabled",
|
34531
|
-
"type": {
|
34532
|
-
"text": "boolean | undefined"
|
34533
|
-
},
|
34534
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34535
|
-
"default": "undefined",
|
34536
|
-
"fieldName": "disabled",
|
34537
|
-
"inheritedFrom": {
|
34538
|
-
"name": "DisabledMixin",
|
34539
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
34540
|
-
}
|
34541
|
-
}
|
34542
|
-
],
|
34543
|
-
"mixins": [
|
34544
|
-
{
|
34545
|
-
"name": "DisabledMixin",
|
34546
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
34547
|
-
}
|
34548
|
-
],
|
34549
|
-
"superclass": {
|
34550
|
-
"name": "Component",
|
34551
|
-
"module": "/src/models"
|
34552
|
-
},
|
34553
|
-
"tagName": "mdc-staticradio",
|
34554
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
|
34555
|
-
"customElement": true
|
34556
|
-
}
|
34557
|
-
],
|
34558
|
-
"exports": [
|
34559
|
-
{
|
34560
|
-
"kind": "js",
|
34561
|
-
"name": "default",
|
34562
|
-
"declaration": {
|
34563
|
-
"name": "StaticRadio",
|
34564
|
-
"module": "components/staticradio/staticradio.component.js"
|
34565
|
-
}
|
34566
|
-
}
|
34567
|
-
]
|
34568
|
-
},
|
34569
34599
|
{
|
34570
34600
|
"kind": "javascript-module",
|
34571
34601
|
"path": "components/statictoggle/statictoggle.component.js",
|