@momentum-design/components 0.121.2 → 0.121.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -477,346 +477,6 @@
477
477
  }
478
478
  ]
479
479
  },
480
- {
481
- "kind": "javascript-module",
482
- "path": "components/accordionbutton/accordionbutton.component.js",
483
- "declarations": [
484
- {
485
- "kind": "class",
486
- "description": "An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n\nIf an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.",
487
- "name": "AccordionButton",
488
- "cssProperties": [
489
- {
490
- "description": "The border color of the accordion button.",
491
- "name": "--mdc-accordionbutton-border-color"
492
- },
493
- {
494
- "description": "The hover color of the accordion button.",
495
- "name": "--mdc-accordionbutton-hover-color"
496
- },
497
- {
498
- "description": "The active color of the accordion button.",
499
- "name": "--mdc-accordionbutton-active-color"
500
- },
501
- {
502
- "description": "The disabled color of the accordion button.",
503
- "name": "--mdc-accordionbutton-disabled-color"
504
- }
505
- ],
506
- "cssParts": [
507
- {
508
- "description": "The body section of the accordion button.",
509
- "name": "body-section"
510
- },
511
- {
512
- "description": "The header button section of the accordion button.",
513
- "name": "header-button-section"
514
- },
515
- {
516
- "description": "The header section of the accordion button.",
517
- "name": "header-section"
518
- },
519
- {
520
- "description": "The leading header of the accordion button.",
521
- "name": "leading-header"
522
- },
523
- {
524
- "description": "The trailing header of the accordion button.",
525
- "name": "trailing-header"
526
- },
527
- {
528
- "description": "The trailing header icon of the accordion button.",
529
- "name": "trailing-header__icon"
530
- }
531
- ],
532
- "slots": [
533
- {
534
- "description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
535
- "name": "default"
536
- }
537
- ],
538
- "members": [
539
- {
540
- "kind": "field",
541
- "name": "size",
542
- "type": {
543
- "text": "Size"
544
- },
545
- "description": "The size of the accordion item.",
546
- "default": "'small'",
547
- "attribute": "size",
548
- "reflects": true
549
- },
550
- {
551
- "kind": "field",
552
- "name": "variant",
553
- "type": {
554
- "text": "Variant"
555
- },
556
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
557
- "default": "'default'",
558
- "attribute": "variant",
559
- "reflects": true
560
- },
561
- {
562
- "kind": "field",
563
- "name": "dataAriaLevel",
564
- "type": {
565
- "text": "number"
566
- },
567
- "description": "The aria level of the accordion component.",
568
- "default": "3",
569
- "attribute": "data-aria-level",
570
- "reflects": true
571
- },
572
- {
573
- "kind": "field",
574
- "name": "expanded",
575
- "type": {
576
- "text": "boolean"
577
- },
578
- "description": "The visibility of the accordion button.",
579
- "default": "false",
580
- "attribute": "expanded",
581
- "reflects": true
582
- },
583
- {
584
- "kind": "field",
585
- "name": "headerText",
586
- "type": {
587
- "text": "string | undefined"
588
- },
589
- "description": "The header text of the accordion item.",
590
- "attribute": "header-text",
591
- "reflects": true
592
- },
593
- {
594
- "kind": "field",
595
- "name": "prefixIcon",
596
- "type": {
597
- "text": "IconNames | undefined"
598
- },
599
- "description": "The leading icon that is displayed before the header text.",
600
- "attribute": "prefix-icon"
601
- },
602
- {
603
- "kind": "method",
604
- "name": "handleHeaderClick",
605
- "privacy": "protected",
606
- "return": {
607
- "type": {
608
- "text": "void"
609
- }
610
- },
611
- "description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
612
- },
613
- {
614
- "kind": "method",
615
- "name": "dispatchHeaderClickEvent",
616
- "privacy": "private",
617
- "return": {
618
- "type": {
619
- "text": "void"
620
- }
621
- },
622
- "description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
623
- },
624
- {
625
- "kind": "method",
626
- "name": "handleKeyDown",
627
- "privacy": "private",
628
- "return": {
629
- "type": {
630
- "text": "void"
631
- }
632
- },
633
- "parameters": [
634
- {
635
- "name": "event",
636
- "type": {
637
- "text": "KeyboardEvent"
638
- },
639
- "description": "The KeyboardEvent fired."
640
- }
641
- ],
642
- "description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
643
- },
644
- {
645
- "kind": "method",
646
- "name": "renderIcon",
647
- "privacy": "protected",
648
- "return": {
649
- "type": {
650
- "text": "TemplateResult | typeof nothing"
651
- }
652
- },
653
- "parameters": [
654
- {
655
- "name": "iconName",
656
- "optional": true,
657
- "type": {
658
- "text": "IconNames"
659
- }
660
- }
661
- ]
662
- },
663
- {
664
- "kind": "method",
665
- "name": "renderHeadingText",
666
- "privacy": "protected",
667
- "return": {
668
- "type": {
669
- "text": "TemplateResult | typeof nothing"
670
- }
671
- }
672
- },
673
- {
674
- "kind": "method",
675
- "name": "renderHeader",
676
- "privacy": "protected",
677
- "return": {
678
- "type": {
679
- "text": "TemplateResult"
680
- }
681
- }
682
- },
683
- {
684
- "kind": "method",
685
- "name": "getArrowIconName",
686
- "privacy": "protected",
687
- "return": {
688
- "type": {
689
- "text": ""
690
- }
691
- },
692
- "description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
693
- },
694
- {
695
- "kind": "method",
696
- "name": "renderBody",
697
- "privacy": "protected",
698
- "return": {
699
- "type": {
700
- "text": "TemplateResult | typeof nothing"
701
- }
702
- }
703
- },
704
- {
705
- "kind": "field",
706
- "name": "disabled",
707
- "type": {
708
- "text": "boolean | undefined"
709
- },
710
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
711
- "default": "undefined",
712
- "attribute": "disabled",
713
- "reflects": true,
714
- "inheritedFrom": {
715
- "name": "DisabledMixin",
716
- "module": "utils/mixins/DisabledMixin.js"
717
- }
718
- }
719
- ],
720
- "events": [
721
- {
722
- "description": "(React: onShown) This event is triggered when the accordion button is expanded.",
723
- "name": "shown",
724
- "reactName": "onShown"
725
- }
726
- ],
727
- "attributes": [
728
- {
729
- "name": "size",
730
- "type": {
731
- "text": "Size"
732
- },
733
- "description": "The size of the accordion item.",
734
- "default": "'small'",
735
- "fieldName": "size"
736
- },
737
- {
738
- "name": "variant",
739
- "type": {
740
- "text": "Variant"
741
- },
742
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
743
- "default": "'default'",
744
- "fieldName": "variant"
745
- },
746
- {
747
- "name": "data-aria-level",
748
- "type": {
749
- "text": "number"
750
- },
751
- "description": "The aria level of the accordion component.",
752
- "default": "3",
753
- "fieldName": "dataAriaLevel"
754
- },
755
- {
756
- "name": "expanded",
757
- "type": {
758
- "text": "boolean"
759
- },
760
- "description": "The visibility of the accordion button.",
761
- "default": "false",
762
- "fieldName": "expanded"
763
- },
764
- {
765
- "name": "header-text",
766
- "type": {
767
- "text": "string | undefined"
768
- },
769
- "description": "The header text of the accordion item.",
770
- "fieldName": "headerText"
771
- },
772
- {
773
- "name": "prefix-icon",
774
- "type": {
775
- "text": "IconNames | undefined"
776
- },
777
- "description": "The leading icon that is displayed before the header text.",
778
- "fieldName": "prefixIcon"
779
- },
780
- {
781
- "name": "disabled",
782
- "type": {
783
- "text": "boolean | undefined"
784
- },
785
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
786
- "default": "undefined",
787
- "fieldName": "disabled",
788
- "inheritedFrom": {
789
- "name": "DisabledMixin",
790
- "module": "src/utils/mixins/DisabledMixin.ts"
791
- }
792
- }
793
- ],
794
- "mixins": [
795
- {
796
- "name": "DisabledMixin",
797
- "module": "/src/utils/mixins/DisabledMixin"
798
- }
799
- ],
800
- "superclass": {
801
- "name": "Component",
802
- "module": "/src/models"
803
- },
804
- "tagName": "mdc-accordionbutton",
805
- "jsDoc": "/**\n * An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n *\n * If an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.\n *\n * @tagname mdc-accordionbutton\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion button is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion button.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion button.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion button.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion button.\n *\n * @csspart body-section - The body section of the accordion button.\n * @csspart header-button-section - The header button section of the accordion button.\n * @csspart header-section - The header section of the accordion button.\n * @csspart leading-header - The leading header of the accordion button.\n * @csspart trailing-header - The trailing header of the accordion button.\n * @csspart trailing-header__icon - The trailing header icon of the accordion button.\n */",
806
- "customElement": true
807
- }
808
- ],
809
- "exports": [
810
- {
811
- "kind": "js",
812
- "name": "default",
813
- "declaration": {
814
- "name": "AccordionButton",
815
- "module": "components/accordionbutton/accordionbutton.component.js"
816
- }
817
- }
818
- ]
819
- },
820
480
  {
821
481
  "kind": "javascript-module",
822
482
  "path": "components/accordiongroup/accordiongroup.component.js",
@@ -1586,6 +1246,346 @@
1586
1246
  }
1587
1247
  ]
1588
1248
  },
1249
+ {
1250
+ "kind": "javascript-module",
1251
+ "path": "components/accordionbutton/accordionbutton.component.js",
1252
+ "declarations": [
1253
+ {
1254
+ "kind": "class",
1255
+ "description": "An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n\nIf an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.",
1256
+ "name": "AccordionButton",
1257
+ "cssProperties": [
1258
+ {
1259
+ "description": "The border color of the accordion button.",
1260
+ "name": "--mdc-accordionbutton-border-color"
1261
+ },
1262
+ {
1263
+ "description": "The hover color of the accordion button.",
1264
+ "name": "--mdc-accordionbutton-hover-color"
1265
+ },
1266
+ {
1267
+ "description": "The active color of the accordion button.",
1268
+ "name": "--mdc-accordionbutton-active-color"
1269
+ },
1270
+ {
1271
+ "description": "The disabled color of the accordion button.",
1272
+ "name": "--mdc-accordionbutton-disabled-color"
1273
+ }
1274
+ ],
1275
+ "cssParts": [
1276
+ {
1277
+ "description": "The body section of the accordion button.",
1278
+ "name": "body-section"
1279
+ },
1280
+ {
1281
+ "description": "The header button section of the accordion button.",
1282
+ "name": "header-button-section"
1283
+ },
1284
+ {
1285
+ "description": "The header section of the accordion button.",
1286
+ "name": "header-section"
1287
+ },
1288
+ {
1289
+ "description": "The leading header of the accordion button.",
1290
+ "name": "leading-header"
1291
+ },
1292
+ {
1293
+ "description": "The trailing header of the accordion button.",
1294
+ "name": "trailing-header"
1295
+ },
1296
+ {
1297
+ "description": "The trailing header icon of the accordion button.",
1298
+ "name": "trailing-header__icon"
1299
+ }
1300
+ ],
1301
+ "slots": [
1302
+ {
1303
+ "description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
1304
+ "name": "default"
1305
+ }
1306
+ ],
1307
+ "members": [
1308
+ {
1309
+ "kind": "field",
1310
+ "name": "size",
1311
+ "type": {
1312
+ "text": "Size"
1313
+ },
1314
+ "description": "The size of the accordion item.",
1315
+ "default": "'small'",
1316
+ "attribute": "size",
1317
+ "reflects": true
1318
+ },
1319
+ {
1320
+ "kind": "field",
1321
+ "name": "variant",
1322
+ "type": {
1323
+ "text": "Variant"
1324
+ },
1325
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
1326
+ "default": "'default'",
1327
+ "attribute": "variant",
1328
+ "reflects": true
1329
+ },
1330
+ {
1331
+ "kind": "field",
1332
+ "name": "dataAriaLevel",
1333
+ "type": {
1334
+ "text": "number"
1335
+ },
1336
+ "description": "The aria level of the accordion component.",
1337
+ "default": "3",
1338
+ "attribute": "data-aria-level",
1339
+ "reflects": true
1340
+ },
1341
+ {
1342
+ "kind": "field",
1343
+ "name": "expanded",
1344
+ "type": {
1345
+ "text": "boolean"
1346
+ },
1347
+ "description": "The visibility of the accordion button.",
1348
+ "default": "false",
1349
+ "attribute": "expanded",
1350
+ "reflects": true
1351
+ },
1352
+ {
1353
+ "kind": "field",
1354
+ "name": "headerText",
1355
+ "type": {
1356
+ "text": "string | undefined"
1357
+ },
1358
+ "description": "The header text of the accordion item.",
1359
+ "attribute": "header-text",
1360
+ "reflects": true
1361
+ },
1362
+ {
1363
+ "kind": "field",
1364
+ "name": "prefixIcon",
1365
+ "type": {
1366
+ "text": "IconNames | undefined"
1367
+ },
1368
+ "description": "The leading icon that is displayed before the header text.",
1369
+ "attribute": "prefix-icon"
1370
+ },
1371
+ {
1372
+ "kind": "method",
1373
+ "name": "handleHeaderClick",
1374
+ "privacy": "protected",
1375
+ "return": {
1376
+ "type": {
1377
+ "text": "void"
1378
+ }
1379
+ },
1380
+ "description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
1381
+ },
1382
+ {
1383
+ "kind": "method",
1384
+ "name": "dispatchHeaderClickEvent",
1385
+ "privacy": "private",
1386
+ "return": {
1387
+ "type": {
1388
+ "text": "void"
1389
+ }
1390
+ },
1391
+ "description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
1392
+ },
1393
+ {
1394
+ "kind": "method",
1395
+ "name": "handleKeyDown",
1396
+ "privacy": "private",
1397
+ "return": {
1398
+ "type": {
1399
+ "text": "void"
1400
+ }
1401
+ },
1402
+ "parameters": [
1403
+ {
1404
+ "name": "event",
1405
+ "type": {
1406
+ "text": "KeyboardEvent"
1407
+ },
1408
+ "description": "The KeyboardEvent fired."
1409
+ }
1410
+ ],
1411
+ "description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
1412
+ },
1413
+ {
1414
+ "kind": "method",
1415
+ "name": "renderIcon",
1416
+ "privacy": "protected",
1417
+ "return": {
1418
+ "type": {
1419
+ "text": "TemplateResult | typeof nothing"
1420
+ }
1421
+ },
1422
+ "parameters": [
1423
+ {
1424
+ "name": "iconName",
1425
+ "optional": true,
1426
+ "type": {
1427
+ "text": "IconNames"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "kind": "method",
1434
+ "name": "renderHeadingText",
1435
+ "privacy": "protected",
1436
+ "return": {
1437
+ "type": {
1438
+ "text": "TemplateResult | typeof nothing"
1439
+ }
1440
+ }
1441
+ },
1442
+ {
1443
+ "kind": "method",
1444
+ "name": "renderHeader",
1445
+ "privacy": "protected",
1446
+ "return": {
1447
+ "type": {
1448
+ "text": "TemplateResult"
1449
+ }
1450
+ }
1451
+ },
1452
+ {
1453
+ "kind": "method",
1454
+ "name": "getArrowIconName",
1455
+ "privacy": "protected",
1456
+ "return": {
1457
+ "type": {
1458
+ "text": ""
1459
+ }
1460
+ },
1461
+ "description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
1462
+ },
1463
+ {
1464
+ "kind": "method",
1465
+ "name": "renderBody",
1466
+ "privacy": "protected",
1467
+ "return": {
1468
+ "type": {
1469
+ "text": "TemplateResult | typeof nothing"
1470
+ }
1471
+ }
1472
+ },
1473
+ {
1474
+ "kind": "field",
1475
+ "name": "disabled",
1476
+ "type": {
1477
+ "text": "boolean | undefined"
1478
+ },
1479
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
1480
+ "default": "undefined",
1481
+ "attribute": "disabled",
1482
+ "reflects": true,
1483
+ "inheritedFrom": {
1484
+ "name": "DisabledMixin",
1485
+ "module": "utils/mixins/DisabledMixin.js"
1486
+ }
1487
+ }
1488
+ ],
1489
+ "events": [
1490
+ {
1491
+ "description": "(React: onShown) This event is triggered when the accordion button is expanded.",
1492
+ "name": "shown",
1493
+ "reactName": "onShown"
1494
+ }
1495
+ ],
1496
+ "attributes": [
1497
+ {
1498
+ "name": "size",
1499
+ "type": {
1500
+ "text": "Size"
1501
+ },
1502
+ "description": "The size of the accordion item.",
1503
+ "default": "'small'",
1504
+ "fieldName": "size"
1505
+ },
1506
+ {
1507
+ "name": "variant",
1508
+ "type": {
1509
+ "text": "Variant"
1510
+ },
1511
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
1512
+ "default": "'default'",
1513
+ "fieldName": "variant"
1514
+ },
1515
+ {
1516
+ "name": "data-aria-level",
1517
+ "type": {
1518
+ "text": "number"
1519
+ },
1520
+ "description": "The aria level of the accordion component.",
1521
+ "default": "3",
1522
+ "fieldName": "dataAriaLevel"
1523
+ },
1524
+ {
1525
+ "name": "expanded",
1526
+ "type": {
1527
+ "text": "boolean"
1528
+ },
1529
+ "description": "The visibility of the accordion button.",
1530
+ "default": "false",
1531
+ "fieldName": "expanded"
1532
+ },
1533
+ {
1534
+ "name": "header-text",
1535
+ "type": {
1536
+ "text": "string | undefined"
1537
+ },
1538
+ "description": "The header text of the accordion item.",
1539
+ "fieldName": "headerText"
1540
+ },
1541
+ {
1542
+ "name": "prefix-icon",
1543
+ "type": {
1544
+ "text": "IconNames | undefined"
1545
+ },
1546
+ "description": "The leading icon that is displayed before the header text.",
1547
+ "fieldName": "prefixIcon"
1548
+ },
1549
+ {
1550
+ "name": "disabled",
1551
+ "type": {
1552
+ "text": "boolean | undefined"
1553
+ },
1554
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
1555
+ "default": "undefined",
1556
+ "fieldName": "disabled",
1557
+ "inheritedFrom": {
1558
+ "name": "DisabledMixin",
1559
+ "module": "src/utils/mixins/DisabledMixin.ts"
1560
+ }
1561
+ }
1562
+ ],
1563
+ "mixins": [
1564
+ {
1565
+ "name": "DisabledMixin",
1566
+ "module": "/src/utils/mixins/DisabledMixin"
1567
+ }
1568
+ ],
1569
+ "superclass": {
1570
+ "name": "Component",
1571
+ "module": "/src/models"
1572
+ },
1573
+ "tagName": "mdc-accordionbutton",
1574
+ "jsDoc": "/**\n * An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n *\n * If an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.\n *\n * @tagname mdc-accordionbutton\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion button is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion button.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion button.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion button.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion button.\n *\n * @csspart body-section - The body section of the accordion button.\n * @csspart header-button-section - The header button section of the accordion button.\n * @csspart header-section - The header section of the accordion button.\n * @csspart leading-header - The leading header of the accordion button.\n * @csspart trailing-header - The trailing header of the accordion button.\n * @csspart trailing-header__icon - The trailing header icon of the accordion button.\n */",
1575
+ "customElement": true
1576
+ }
1577
+ ],
1578
+ "exports": [
1579
+ {
1580
+ "kind": "js",
1581
+ "name": "default",
1582
+ "declaration": {
1583
+ "name": "AccordionButton",
1584
+ "module": "components/accordionbutton/accordionbutton.component.js"
1585
+ }
1586
+ }
1587
+ ]
1588
+ },
1589
1589
  {
1590
1590
  "kind": "javascript-module",
1591
1591
  "path": "components/animation/animation.component.js",
@@ -25837,6 +25837,32 @@
25837
25837
  },
25838
25838
  "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
25839
25839
  },
25840
+ {
25841
+ "kind": "field",
25842
+ "name": "controlTypeProviderContext",
25843
+ "privacy": "private",
25844
+ "readonly": true,
25845
+ "inheritedFrom": {
25846
+ "name": "ControlTypeMixin",
25847
+ "module": "utils/mixins/ControlTypeMixin.js"
25848
+ }
25849
+ },
25850
+ {
25851
+ "kind": "field",
25852
+ "name": "controlType",
25853
+ "type": {
25854
+ "text": "ControlType | undefined"
25855
+ },
25856
+ "privacy": "public",
25857
+ "description": "Indicates whether the component is controlled or uncontrolled.\n- 'controlled' it will not handle any interaction itself, e.g. toggling a checkbox.\n- 'uncontrolled' it will handle interactions\n- undefined it will get the value from controltypeprovider, or default to 'uncontrolled'",
25858
+ "default": "undefined",
25859
+ "attribute": "control-type",
25860
+ "reflects": true,
25861
+ "inheritedFrom": {
25862
+ "name": "ControlTypeMixin",
25863
+ "module": "utils/mixins/ControlTypeMixin.js"
25864
+ }
25865
+ },
25840
25866
  {
25841
25867
  "kind": "field",
25842
25868
  "name": "arrowPosition",
@@ -26339,6 +26365,19 @@
26339
26365
  "default": "'radio'",
26340
26366
  "fieldName": "indicator"
26341
26367
  },
26368
+ {
26369
+ "name": "control-type",
26370
+ "type": {
26371
+ "text": "ControlType | undefined"
26372
+ },
26373
+ "description": "Indicates whether the component is controlled or uncontrolled.\n- 'controlled' it will not handle any interaction itself, e.g. toggling a checkbox.\n- 'uncontrolled' it will handle interactions\n- undefined it will get the value from controltypeprovider, or default to 'uncontrolled'",
26374
+ "default": "undefined",
26375
+ "fieldName": "controlType",
26376
+ "inheritedFrom": {
26377
+ "name": "ControlTypeMixin",
26378
+ "module": "src/utils/mixins/ControlTypeMixin.ts"
26379
+ }
26380
+ },
26342
26381
  {
26343
26382
  "name": "arrow-position",
26344
26383
  "type": {
@@ -26500,6 +26539,12 @@
26500
26539
  }
26501
26540
  }
26502
26541
  ],
26542
+ "mixins": [
26543
+ {
26544
+ "name": "ControlTypeMixin",
26545
+ "module": "/src/utils/mixins/ControlTypeMixin"
26546
+ }
26547
+ ],
26503
26548
  "superclass": {
26504
26549
  "name": "MenuItem",
26505
26550
  "module": "/src/components/menuitem/menuitem.component"
@@ -41299,6 +41344,16 @@
41299
41344
  "attribute": "end-aria-valuetext",
41300
41345
  "reflects": true
41301
41346
  },
41347
+ {
41348
+ "kind": "field",
41349
+ "name": "hideTooltip",
41350
+ "type": {
41351
+ "text": "boolean | undefined"
41352
+ },
41353
+ "description": "Whether to hide the tooltip when the thumb is focused or hovered.",
41354
+ "attribute": "hide-tooltip",
41355
+ "reflects": true
41356
+ },
41302
41357
  {
41303
41358
  "kind": "method",
41304
41359
  "name": "preventChange",
@@ -41709,6 +41764,14 @@
41709
41764
  },
41710
41765
  "description": "Aria value text for the slider's end value displayed when range is true.",
41711
41766
  "fieldName": "endAriaValueText"
41767
+ },
41768
+ {
41769
+ "name": "hide-tooltip",
41770
+ "type": {
41771
+ "text": "boolean | undefined"
41772
+ },
41773
+ "description": "Whether to hide the tooltip when the thumb is focused or hovered.",
41774
+ "fieldName": "hideTooltip"
41712
41775
  }
41713
41776
  ],
41714
41777
  "superclass": {
@@ -42724,303 +42787,6 @@
42724
42787
  }
42725
42788
  ]
42726
42789
  },
42727
- {
42728
- "kind": "javascript-module",
42729
- "path": "components/stepperitem/stepperitem.component.js",
42730
- "declarations": [
42731
- {
42732
- "kind": "class",
42733
- "description": "stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\nIt can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\nThe component supports various visual styles and can be customized with labels, help text, and step numbers.\n\nThis is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\nMake sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n\nAdditionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.",
42734
- "name": "StepperItem",
42735
- "cssProperties": [
42736
- {
42737
- "description": "The background color of the status container.",
42738
- "name": "--mdc-stepperitem-status-container-background"
42739
- },
42740
- {
42741
- "description": "The border color of the status container.",
42742
- "name": "--mdc-stepperitem-status-container-border-color"
42743
- },
42744
- {
42745
- "description": "The color of the label text.",
42746
- "name": "--mdc-stepperitem-label-color"
42747
- },
42748
- {
42749
- "description": "The color of the optional label text.",
42750
- "name": "--mdc-stepperitem-help-text-color"
42751
- },
42752
- {
42753
- "description": "The background color of the label container.",
42754
- "name": "--mdc-stepperitem-label-container-background"
42755
- }
42756
- ],
42757
- "cssParts": [
42758
- {
42759
- "description": "The container for the status icon or step number.",
42760
- "name": "status-container"
42761
- },
42762
- {
42763
- "description": "The container for the label and help text.",
42764
- "name": "label-container"
42765
- },
42766
- {
42767
- "description": "The container for the help text and error icon when applicable.",
42768
- "name": "help-text-container"
42769
- },
42770
- {
42771
- "description": "The icon representing the status of the stepper item.",
42772
- "name": "status-icon"
42773
- },
42774
- {
42775
- "description": "The text representing the step number.",
42776
- "name": "step-number"
42777
- },
42778
- {
42779
- "description": "The text representing the label of the stepper item.",
42780
- "name": "label"
42781
- },
42782
- {
42783
- "description": "The text providing additional information about the stepper item.",
42784
- "name": "help-text"
42785
- },
42786
- {
42787
- "description": "The icon representing an error in the stepper item.",
42788
- "name": "help-icon"
42789
- }
42790
- ],
42791
- "members": [
42792
- {
42793
- "kind": "field",
42794
- "name": "variant",
42795
- "type": {
42796
- "text": "VariantType"
42797
- },
42798
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
42799
- "default": "'inline'",
42800
- "attribute": "variant",
42801
- "reflects": true
42802
- },
42803
- {
42804
- "kind": "field",
42805
- "name": "status",
42806
- "type": {
42807
- "text": "StatusType"
42808
- },
42809
- "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
42810
- "default": "'not-started'",
42811
- "attribute": "status",
42812
- "reflects": true
42813
- },
42814
- {
42815
- "kind": "field",
42816
- "name": "label",
42817
- "type": {
42818
- "text": "string"
42819
- },
42820
- "default": "''",
42821
- "description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
42822
- "attribute": "label",
42823
- "reflects": true
42824
- },
42825
- {
42826
- "kind": "field",
42827
- "name": "helpText",
42828
- "type": {
42829
- "text": "string | undefined"
42830
- },
42831
- "description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
42832
- "default": "''",
42833
- "attribute": "help-text",
42834
- "reflects": true
42835
- },
42836
- {
42837
- "kind": "field",
42838
- "name": "stepNumber",
42839
- "type": {
42840
- "text": "number | undefined"
42841
- },
42842
- "description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
42843
- "default": "''",
42844
- "attribute": "step-number",
42845
- "reflects": true
42846
- },
42847
- {
42848
- "kind": "method",
42849
- "name": "handleKeyDown",
42850
- "privacy": "private",
42851
- "parameters": [
42852
- {
42853
- "name": "event",
42854
- "type": {
42855
- "text": "KeyboardEvent"
42856
- },
42857
- "description": "The keyboard event."
42858
- }
42859
- ],
42860
- "description": "Handles the keydown event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is pressed.\nIf the key is 'Enter', the stepperitem is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the stepperitem's default is prevent to avoid scrolling etc in the host application."
42861
- },
42862
- {
42863
- "kind": "method",
42864
- "name": "triggerClickEvent",
42865
- "privacy": "private",
42866
- "description": "Triggers a click event on the stepper item."
42867
- },
42868
- {
42869
- "kind": "method",
42870
- "name": "handleKeyUp",
42871
- "privacy": "private",
42872
- "parameters": [
42873
- {
42874
- "name": "event",
42875
- "type": {
42876
- "text": "KeyboardEvent"
42877
- },
42878
- "description": "The keyboard event."
42879
- }
42880
- ],
42881
- "description": "Handles the keyup event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is clicked.\nIf the key is 'Space', the stepperitem is pressed. The native HTML button works in the same way."
42882
- },
42883
- {
42884
- "kind": "method",
42885
- "name": "renderStatusIcon",
42886
- "privacy": "private",
42887
- "description": "Renders the status icon based on the current status of the stepper item.\n- If the status is `completed`, it renders a check icon.\n- If the status is `current` or `error-current`, it renders a pencil icon.\n- If the status is `not-started` or `error-incomplete`, it renders the step number.\n- If the status is anything else, it renders nothing.",
42888
- "return": {
42889
- "type": {
42890
- "text": ""
42891
- }
42892
- }
42893
- },
42894
- {
42895
- "kind": "method",
42896
- "name": "renderHelpText",
42897
- "privacy": "private",
42898
- "description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
42899
- "return": {
42900
- "type": {
42901
- "text": ""
42902
- }
42903
- }
42904
- },
42905
- {
42906
- "kind": "field",
42907
- "name": "tabIndex",
42908
- "type": {
42909
- "text": "number"
42910
- },
42911
- "default": "0",
42912
- "description": "This property specifies the tab order of the element.",
42913
- "attribute": "tabIndex",
42914
- "reflects": true,
42915
- "inheritedFrom": {
42916
- "name": "TabIndexMixin",
42917
- "module": "utils/mixins/TabIndexMixin.js"
42918
- }
42919
- }
42920
- ],
42921
- "events": [
42922
- {
42923
- "description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
42924
- "name": "click",
42925
- "reactName": "onClick"
42926
- },
42927
- {
42928
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
42929
- "name": "keydown",
42930
- "reactName": "onKeyDown"
42931
- },
42932
- {
42933
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
42934
- "name": "keyup",
42935
- "reactName": "onKeyUp"
42936
- }
42937
- ],
42938
- "attributes": [
42939
- {
42940
- "name": "variant",
42941
- "type": {
42942
- "text": "VariantType"
42943
- },
42944
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
42945
- "default": "'inline'",
42946
- "fieldName": "variant"
42947
- },
42948
- {
42949
- "name": "status",
42950
- "type": {
42951
- "text": "StatusType"
42952
- },
42953
- "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
42954
- "default": "'not-started'",
42955
- "fieldName": "status"
42956
- },
42957
- {
42958
- "name": "label",
42959
- "type": {
42960
- "text": "string"
42961
- },
42962
- "default": "''",
42963
- "description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
42964
- "fieldName": "label"
42965
- },
42966
- {
42967
- "name": "help-text",
42968
- "type": {
42969
- "text": "string | undefined"
42970
- },
42971
- "description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
42972
- "default": "''",
42973
- "fieldName": "helpText"
42974
- },
42975
- {
42976
- "name": "step-number",
42977
- "type": {
42978
- "text": "number | undefined"
42979
- },
42980
- "description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
42981
- "default": "''",
42982
- "fieldName": "stepNumber"
42983
- },
42984
- {
42985
- "name": "tabIndex",
42986
- "type": {
42987
- "text": "number"
42988
- },
42989
- "default": "0",
42990
- "description": "This property specifies the tab order of the element.",
42991
- "fieldName": "tabIndex",
42992
- "inheritedFrom": {
42993
- "name": "TabIndexMixin",
42994
- "module": "src/utils/mixins/TabIndexMixin.ts"
42995
- }
42996
- }
42997
- ],
42998
- "mixins": [
42999
- {
43000
- "name": "TabIndexMixin",
43001
- "module": "/src/utils/mixins/TabIndexMixin"
43002
- }
43003
- ],
43004
- "superclass": {
43005
- "name": "Component",
43006
- "module": "/src/models"
43007
- },
43008
- "tagName": "mdc-stepperitem",
43009
- "jsDoc": "/**\n * stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\n * It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\n * The component supports various visual styles and can be customized with labels, help text, and step numbers.\n *\n * This is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\n * Make sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n *\n * Additionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-stepperitem\n *\n * @event click - (React: onClick) This event is dispatched when the stepperitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the stepperitem.\n *\n * @csspart status-container - The container for the status icon or step number.\n * @csspart label-container - The container for the label and help text.\n * @csspart help-text-container - The container for the help text and error icon when applicable.\n * @csspart status-icon - The icon representing the status of the stepper item.\n * @csspart step-number - The text representing the step number.\n * @csspart label - The text representing the label of the stepper item.\n * @csspart help-text - The text providing additional information about the stepper item.\n * @csspart help-icon - The icon representing an error in the stepper item.\n *\n * @cssproperty --mdc-stepperitem-status-container-background - The background color of the status container.\n * @cssproperty --mdc-stepperitem-status-container-border-color - The border color of the status container.\n * @cssproperty --mdc-stepperitem-label-color - The color of the label text.\n * @cssproperty --mdc-stepperitem-help-text-color - The color of the optional label text.\n * @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.\n */",
43010
- "customElement": true
43011
- }
43012
- ],
43013
- "exports": [
43014
- {
43015
- "kind": "js",
43016
- "name": "default",
43017
- "declaration": {
43018
- "name": "StepperItem",
43019
- "module": "components/stepperitem/stepperitem.component.js"
43020
- }
43021
- }
43022
- ]
43023
- },
43024
42790
  {
43025
42791
  "kind": "javascript-module",
43026
42792
  "path": "components/tab/tab.component.js",
@@ -43938,6 +43704,303 @@
43938
43704
  }
43939
43705
  ]
43940
43706
  },
43707
+ {
43708
+ "kind": "javascript-module",
43709
+ "path": "components/stepperitem/stepperitem.component.js",
43710
+ "declarations": [
43711
+ {
43712
+ "kind": "class",
43713
+ "description": "stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\nIt can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\nThe component supports various visual styles and can be customized with labels, help text, and step numbers.\n\nThis is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\nMake sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n\nAdditionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.",
43714
+ "name": "StepperItem",
43715
+ "cssProperties": [
43716
+ {
43717
+ "description": "The background color of the status container.",
43718
+ "name": "--mdc-stepperitem-status-container-background"
43719
+ },
43720
+ {
43721
+ "description": "The border color of the status container.",
43722
+ "name": "--mdc-stepperitem-status-container-border-color"
43723
+ },
43724
+ {
43725
+ "description": "The color of the label text.",
43726
+ "name": "--mdc-stepperitem-label-color"
43727
+ },
43728
+ {
43729
+ "description": "The color of the optional label text.",
43730
+ "name": "--mdc-stepperitem-help-text-color"
43731
+ },
43732
+ {
43733
+ "description": "The background color of the label container.",
43734
+ "name": "--mdc-stepperitem-label-container-background"
43735
+ }
43736
+ ],
43737
+ "cssParts": [
43738
+ {
43739
+ "description": "The container for the status icon or step number.",
43740
+ "name": "status-container"
43741
+ },
43742
+ {
43743
+ "description": "The container for the label and help text.",
43744
+ "name": "label-container"
43745
+ },
43746
+ {
43747
+ "description": "The container for the help text and error icon when applicable.",
43748
+ "name": "help-text-container"
43749
+ },
43750
+ {
43751
+ "description": "The icon representing the status of the stepper item.",
43752
+ "name": "status-icon"
43753
+ },
43754
+ {
43755
+ "description": "The text representing the step number.",
43756
+ "name": "step-number"
43757
+ },
43758
+ {
43759
+ "description": "The text representing the label of the stepper item.",
43760
+ "name": "label"
43761
+ },
43762
+ {
43763
+ "description": "The text providing additional information about the stepper item.",
43764
+ "name": "help-text"
43765
+ },
43766
+ {
43767
+ "description": "The icon representing an error in the stepper item.",
43768
+ "name": "help-icon"
43769
+ }
43770
+ ],
43771
+ "members": [
43772
+ {
43773
+ "kind": "field",
43774
+ "name": "variant",
43775
+ "type": {
43776
+ "text": "VariantType"
43777
+ },
43778
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
43779
+ "default": "'inline'",
43780
+ "attribute": "variant",
43781
+ "reflects": true
43782
+ },
43783
+ {
43784
+ "kind": "field",
43785
+ "name": "status",
43786
+ "type": {
43787
+ "text": "StatusType"
43788
+ },
43789
+ "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
43790
+ "default": "'not-started'",
43791
+ "attribute": "status",
43792
+ "reflects": true
43793
+ },
43794
+ {
43795
+ "kind": "field",
43796
+ "name": "label",
43797
+ "type": {
43798
+ "text": "string"
43799
+ },
43800
+ "default": "''",
43801
+ "description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
43802
+ "attribute": "label",
43803
+ "reflects": true
43804
+ },
43805
+ {
43806
+ "kind": "field",
43807
+ "name": "helpText",
43808
+ "type": {
43809
+ "text": "string | undefined"
43810
+ },
43811
+ "description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
43812
+ "default": "''",
43813
+ "attribute": "help-text",
43814
+ "reflects": true
43815
+ },
43816
+ {
43817
+ "kind": "field",
43818
+ "name": "stepNumber",
43819
+ "type": {
43820
+ "text": "number | undefined"
43821
+ },
43822
+ "description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
43823
+ "default": "''",
43824
+ "attribute": "step-number",
43825
+ "reflects": true
43826
+ },
43827
+ {
43828
+ "kind": "method",
43829
+ "name": "handleKeyDown",
43830
+ "privacy": "private",
43831
+ "parameters": [
43832
+ {
43833
+ "name": "event",
43834
+ "type": {
43835
+ "text": "KeyboardEvent"
43836
+ },
43837
+ "description": "The keyboard event."
43838
+ }
43839
+ ],
43840
+ "description": "Handles the keydown event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is pressed.\nIf the key is 'Enter', the stepperitem is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the stepperitem's default is prevent to avoid scrolling etc in the host application."
43841
+ },
43842
+ {
43843
+ "kind": "method",
43844
+ "name": "triggerClickEvent",
43845
+ "privacy": "private",
43846
+ "description": "Triggers a click event on the stepper item."
43847
+ },
43848
+ {
43849
+ "kind": "method",
43850
+ "name": "handleKeyUp",
43851
+ "privacy": "private",
43852
+ "parameters": [
43853
+ {
43854
+ "name": "event",
43855
+ "type": {
43856
+ "text": "KeyboardEvent"
43857
+ },
43858
+ "description": "The keyboard event."
43859
+ }
43860
+ ],
43861
+ "description": "Handles the keyup event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is clicked.\nIf the key is 'Space', the stepperitem is pressed. The native HTML button works in the same way."
43862
+ },
43863
+ {
43864
+ "kind": "method",
43865
+ "name": "renderStatusIcon",
43866
+ "privacy": "private",
43867
+ "description": "Renders the status icon based on the current status of the stepper item.\n- If the status is `completed`, it renders a check icon.\n- If the status is `current` or `error-current`, it renders a pencil icon.\n- If the status is `not-started` or `error-incomplete`, it renders the step number.\n- If the status is anything else, it renders nothing.",
43868
+ "return": {
43869
+ "type": {
43870
+ "text": ""
43871
+ }
43872
+ }
43873
+ },
43874
+ {
43875
+ "kind": "method",
43876
+ "name": "renderHelpText",
43877
+ "privacy": "private",
43878
+ "description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
43879
+ "return": {
43880
+ "type": {
43881
+ "text": ""
43882
+ }
43883
+ }
43884
+ },
43885
+ {
43886
+ "kind": "field",
43887
+ "name": "tabIndex",
43888
+ "type": {
43889
+ "text": "number"
43890
+ },
43891
+ "default": "0",
43892
+ "description": "This property specifies the tab order of the element.",
43893
+ "attribute": "tabIndex",
43894
+ "reflects": true,
43895
+ "inheritedFrom": {
43896
+ "name": "TabIndexMixin",
43897
+ "module": "utils/mixins/TabIndexMixin.js"
43898
+ }
43899
+ }
43900
+ ],
43901
+ "events": [
43902
+ {
43903
+ "description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
43904
+ "name": "click",
43905
+ "reactName": "onClick"
43906
+ },
43907
+ {
43908
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
43909
+ "name": "keydown",
43910
+ "reactName": "onKeyDown"
43911
+ },
43912
+ {
43913
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
43914
+ "name": "keyup",
43915
+ "reactName": "onKeyUp"
43916
+ }
43917
+ ],
43918
+ "attributes": [
43919
+ {
43920
+ "name": "variant",
43921
+ "type": {
43922
+ "text": "VariantType"
43923
+ },
43924
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
43925
+ "default": "'inline'",
43926
+ "fieldName": "variant"
43927
+ },
43928
+ {
43929
+ "name": "status",
43930
+ "type": {
43931
+ "text": "StatusType"
43932
+ },
43933
+ "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
43934
+ "default": "'not-started'",
43935
+ "fieldName": "status"
43936
+ },
43937
+ {
43938
+ "name": "label",
43939
+ "type": {
43940
+ "text": "string"
43941
+ },
43942
+ "default": "''",
43943
+ "description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
43944
+ "fieldName": "label"
43945
+ },
43946
+ {
43947
+ "name": "help-text",
43948
+ "type": {
43949
+ "text": "string | undefined"
43950
+ },
43951
+ "description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
43952
+ "default": "''",
43953
+ "fieldName": "helpText"
43954
+ },
43955
+ {
43956
+ "name": "step-number",
43957
+ "type": {
43958
+ "text": "number | undefined"
43959
+ },
43960
+ "description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
43961
+ "default": "''",
43962
+ "fieldName": "stepNumber"
43963
+ },
43964
+ {
43965
+ "name": "tabIndex",
43966
+ "type": {
43967
+ "text": "number"
43968
+ },
43969
+ "default": "0",
43970
+ "description": "This property specifies the tab order of the element.",
43971
+ "fieldName": "tabIndex",
43972
+ "inheritedFrom": {
43973
+ "name": "TabIndexMixin",
43974
+ "module": "src/utils/mixins/TabIndexMixin.ts"
43975
+ }
43976
+ }
43977
+ ],
43978
+ "mixins": [
43979
+ {
43980
+ "name": "TabIndexMixin",
43981
+ "module": "/src/utils/mixins/TabIndexMixin"
43982
+ }
43983
+ ],
43984
+ "superclass": {
43985
+ "name": "Component",
43986
+ "module": "/src/models"
43987
+ },
43988
+ "tagName": "mdc-stepperitem",
43989
+ "jsDoc": "/**\n * stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\n * It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\n * The component supports various visual styles and can be customized with labels, help text, and step numbers.\n *\n * This is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\n * Make sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n *\n * Additionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-stepperitem\n *\n * @event click - (React: onClick) This event is dispatched when the stepperitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the stepperitem.\n *\n * @csspart status-container - The container for the status icon or step number.\n * @csspart label-container - The container for the label and help text.\n * @csspart help-text-container - The container for the help text and error icon when applicable.\n * @csspart status-icon - The icon representing the status of the stepper item.\n * @csspart step-number - The text representing the step number.\n * @csspart label - The text representing the label of the stepper item.\n * @csspart help-text - The text providing additional information about the stepper item.\n * @csspart help-icon - The icon representing an error in the stepper item.\n *\n * @cssproperty --mdc-stepperitem-status-container-background - The background color of the status container.\n * @cssproperty --mdc-stepperitem-status-container-border-color - The border color of the status container.\n * @cssproperty --mdc-stepperitem-label-color - The color of the label text.\n * @cssproperty --mdc-stepperitem-help-text-color - The color of the optional label text.\n * @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.\n */",
43990
+ "customElement": true
43991
+ }
43992
+ ],
43993
+ "exports": [
43994
+ {
43995
+ "kind": "js",
43996
+ "name": "default",
43997
+ "declaration": {
43998
+ "name": "StepperItem",
43999
+ "module": "components/stepperitem/stepperitem.component.js"
44000
+ }
44001
+ }
44002
+ ]
44003
+ },
43941
44004
  {
43942
44005
  "kind": "javascript-module",
43943
44006
  "path": "components/tablist/tablist.component.js",