@viasat/beam-web-components 2.55.2 → 2.57.0

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.
@@ -294,428 +294,376 @@
294
294
  },
295
295
  {
296
296
  "kind": "javascript-module",
297
- "path": "libs/web-components/src/lib/Alert/Alert.ts",
297
+ "path": "libs/web-components/src/lib/Avatar/Avatar.ts",
298
298
  "declarations": [
299
299
  {
300
300
  "kind": "class",
301
- "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing",
302
- "name": "BmAlert",
301
+ "description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** ",
302
+ "name": "BmAvatar",
303
303
  "slots": [
304
304
  {
305
- "description": "Specify a different icon for the Alert",
305
+ "description": "Customize the default icon",
306
306
  "name": "icon"
307
- },
308
- {
309
- "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
310
- "name": "heading"
311
- },
312
- {
313
- "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
314
- "name": "body"
315
- },
316
- {
317
- "description": "Specify if actions display on the Alert",
318
- "name": "actions"
319
307
  }
320
308
  ],
321
309
  "members": [
322
310
  {
323
311
  "kind": "field",
324
- "name": "heading",
312
+ "name": "appearance",
325
313
  "type": {
326
- "text": "string | undefined"
314
+ "text": "'accent' | 'neutral' | undefined"
327
315
  },
328
- "description": "Specify the heading text for Alert",
329
- "attribute": "heading"
316
+ "default": "'neutral'",
317
+ "description": "Specify the appearance of the Avatar",
318
+ "attribute": "appearance"
330
319
  },
331
320
  {
332
321
  "kind": "field",
333
- "name": "body",
322
+ "name": "name",
334
323
  "type": {
335
324
  "text": "string | undefined"
336
325
  },
337
- "description": "Specify the body text for Alert",
338
- "attribute": "body"
339
- },
340
- {
341
- "kind": "field",
342
- "name": "size",
343
- "type": {
344
- "text": "'sm' | 'md'"
345
- },
346
- "default": "'sm'",
347
- "description": "Specify the size of the Alert",
348
- "attribute": "size"
326
+ "description": "Specify a name to display initials in the Avatar",
327
+ "attribute": "name"
349
328
  },
350
329
  {
351
330
  "kind": "field",
352
- "name": "fullWidth",
331
+ "name": "src",
353
332
  "type": {
354
- "text": "boolean"
333
+ "text": "string | undefined"
355
334
  },
356
- "default": "false",
357
- "description": "Specify if the Alert has no border radius",
358
- "attribute": "fullWidth"
335
+ "description": "Pass an image to the Avatar",
336
+ "attribute": "src"
359
337
  },
360
338
  {
361
339
  "kind": "field",
362
- "name": "theme",
340
+ "name": "alt",
363
341
  "type": {
364
- "text": "'light' | 'dark' | undefined"
342
+ "text": "string | undefined"
365
343
  },
366
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
367
- "attribute": "theme"
344
+ "description": "Specify alt for image",
345
+ "attribute": "alt"
368
346
  },
369
347
  {
370
348
  "kind": "field",
371
- "name": "appearance",
349
+ "name": "size",
372
350
  "type": {
373
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
351
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
374
352
  },
375
- "default": "'infoPrimary'",
376
- "description": "Specify the appearance of the Alert",
377
- "attribute": "appearance"
353
+ "default": "'md'",
354
+ "description": "Specify the size of the Avatar",
355
+ "attribute": "size"
378
356
  },
379
357
  {
380
358
  "kind": "field",
381
- "name": "hidden",
359
+ "name": "disabled",
382
360
  "type": {
383
- "text": "boolean"
361
+ "text": "boolean | undefined"
384
362
  },
385
363
  "default": "false",
386
- "description": "Specify if the Alert is hidden",
387
- "attribute": "hidden"
364
+ "description": "Specify if the Avatar is disabled",
365
+ "attribute": "disabled"
388
366
  },
389
367
  {
390
368
  "kind": "field",
391
- "name": "hideIcon",
369
+ "name": "shape",
392
370
  "type": {
393
- "text": "boolean"
371
+ "text": "'circle' | 'square' | undefined"
394
372
  },
395
- "default": "false",
396
- "description": "Specify if the icon displays on the Alert",
397
- "attribute": "hideIcon"
373
+ "default": "'circle'",
374
+ "description": "Specify the shape of the Avatar",
375
+ "attribute": "shape"
398
376
  },
399
377
  {
400
378
  "kind": "field",
401
- "name": "dismissible",
379
+ "name": "isInteractive",
402
380
  "type": {
403
381
  "text": "boolean"
404
382
  },
405
383
  "default": "false",
406
- "description": "Specify if the Alert can be dismissed",
407
- "attribute": "dismissible"
384
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
385
+ "attribute": "isInteractive"
408
386
  },
409
387
  {
410
388
  "kind": "field",
411
- "name": "disableAutoFocus",
389
+ "name": "isFocusable",
412
390
  "type": {
413
391
  "text": "boolean"
414
392
  },
415
393
  "default": "false",
416
- "description": "Prevent autofocus on show",
417
- "attribute": "disableAutoFocus"
394
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
395
+ "attribute": "isFocusable"
418
396
  },
419
397
  {
420
398
  "kind": "field",
421
- "name": "disableCloseOnEscape",
399
+ "name": "withBorder",
422
400
  "type": {
423
401
  "text": "boolean"
424
402
  },
425
403
  "default": "false",
426
- "description": "Prevent Escape from closing",
427
- "attribute": "disableCloseOnEscape"
428
- }
429
- ],
430
- "events": [
431
- {
432
- "description": "Dispatched when the Alert has been dismissed",
433
- "name": "bm-dismiss"
404
+ "attribute": "withBorder"
434
405
  }
435
406
  ],
436
407
  "attributes": [
437
408
  {
438
- "name": "heading",
409
+ "name": "appearance",
439
410
  "type": {
440
- "text": "string | undefined"
411
+ "text": "'accent' | 'neutral' | undefined"
441
412
  },
442
- "description": "Specify the heading text for Alert",
443
- "fieldName": "heading"
413
+ "default": "'neutral'",
414
+ "description": "Specify the appearance of the Avatar",
415
+ "fieldName": "appearance"
444
416
  },
445
417
  {
446
- "name": "body",
418
+ "name": "name",
447
419
  "type": {
448
420
  "text": "string | undefined"
449
421
  },
450
- "description": "Specify the body text for Alert",
451
- "fieldName": "body"
452
- },
453
- {
454
- "name": "size",
455
- "type": {
456
- "text": "'sm' | 'md'"
457
- },
458
- "default": "'sm'",
459
- "description": "Specify the size of the Alert",
460
- "fieldName": "size"
422
+ "description": "Specify a name to display initials in the Avatar",
423
+ "fieldName": "name"
461
424
  },
462
425
  {
463
- "name": "fullWidth",
426
+ "name": "src",
464
427
  "type": {
465
- "text": "boolean"
428
+ "text": "string | undefined"
466
429
  },
467
- "default": "false",
468
- "description": "Specify if the Alert has no border radius",
469
- "fieldName": "fullWidth"
430
+ "description": "Pass an image to the Avatar",
431
+ "fieldName": "src"
470
432
  },
471
433
  {
472
- "name": "theme",
434
+ "name": "alt",
473
435
  "type": {
474
- "text": "'light' | 'dark' | undefined"
436
+ "text": "string | undefined"
475
437
  },
476
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
477
- "fieldName": "theme"
438
+ "description": "Specify alt for image",
439
+ "fieldName": "alt"
478
440
  },
479
441
  {
480
- "name": "appearance",
442
+ "name": "size",
481
443
  "type": {
482
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
444
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
483
445
  },
484
- "default": "'infoPrimary'",
485
- "description": "Specify the appearance of the Alert",
486
- "fieldName": "appearance"
446
+ "default": "'md'",
447
+ "description": "Specify the size of the Avatar",
448
+ "fieldName": "size"
487
449
  },
488
450
  {
489
- "name": "hidden",
451
+ "name": "disabled",
490
452
  "type": {
491
- "text": "boolean"
453
+ "text": "boolean | undefined"
492
454
  },
493
455
  "default": "false",
494
- "description": "Specify if the Alert is hidden",
495
- "fieldName": "hidden"
456
+ "description": "Specify if the Avatar is disabled",
457
+ "fieldName": "disabled"
496
458
  },
497
459
  {
498
- "name": "hideIcon",
460
+ "name": "shape",
499
461
  "type": {
500
- "text": "boolean"
462
+ "text": "'circle' | 'square' | undefined"
501
463
  },
502
- "default": "false",
503
- "description": "Specify if the icon displays on the Alert",
504
- "fieldName": "hideIcon"
464
+ "default": "'circle'",
465
+ "description": "Specify the shape of the Avatar",
466
+ "fieldName": "shape"
505
467
  },
506
468
  {
507
- "name": "dismissible",
469
+ "name": "isInteractive",
508
470
  "type": {
509
471
  "text": "boolean"
510
472
  },
511
473
  "default": "false",
512
- "description": "Specify if the Alert can be dismissed",
513
- "fieldName": "dismissible"
474
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
475
+ "fieldName": "isInteractive"
514
476
  },
515
477
  {
516
- "name": "disableAutoFocus",
478
+ "name": "isFocusable",
517
479
  "type": {
518
480
  "text": "boolean"
519
481
  },
520
482
  "default": "false",
521
- "description": "Prevent autofocus on show",
522
- "fieldName": "disableAutoFocus"
483
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
484
+ "fieldName": "isFocusable"
523
485
  },
524
486
  {
525
- "name": "disableCloseOnEscape",
487
+ "name": "withBorder",
526
488
  "type": {
527
489
  "text": "boolean"
528
490
  },
529
491
  "default": "false",
530
- "description": "Prevent Escape from closing",
531
- "fieldName": "disableCloseOnEscape"
492
+ "fieldName": "withBorder"
532
493
  }
533
494
  ],
534
495
  "superclass": {
535
496
  "name": "LitElement",
536
497
  "package": "lit"
537
498
  },
538
- "tagName": "bm-alert",
499
+ "tagName": "bm-avatar",
539
500
  "customElement": true
540
501
  }
541
502
  ],
542
503
  "exports": [
543
504
  {
544
505
  "kind": "js",
545
- "name": "BmAlert",
506
+ "name": "BmAvatar",
546
507
  "declaration": {
547
- "name": "BmAlert",
548
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
508
+ "name": "BmAvatar",
509
+ "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
549
510
  }
550
511
  },
551
512
  {
552
513
  "kind": "custom-element-definition",
553
- "name": "bm-alert",
514
+ "name": "bm-avatar",
554
515
  "declaration": {
555
- "name": "BmAlert",
556
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
516
+ "name": "BmAvatar",
517
+ "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
557
518
  }
558
519
  }
559
520
  ]
560
521
  },
561
522
  {
562
523
  "kind": "javascript-module",
563
- "path": "libs/web-components/src/lib/Alert/index.ts",
564
- "declarations": [],
524
+ "path": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts",
525
+ "declarations": [
526
+ {
527
+ "kind": "variable",
528
+ "name": "AvatarGroupCtx"
529
+ }
530
+ ],
565
531
  "exports": [
566
532
  {
567
533
  "kind": "js",
568
- "name": "*",
534
+ "name": "AvatarGroupCtx",
569
535
  "declaration": {
570
- "name": "*",
571
- "package": "./Alert"
536
+ "name": "AvatarGroupCtx",
537
+ "module": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts"
572
538
  }
573
539
  }
574
540
  ]
575
541
  },
576
542
  {
577
543
  "kind": "javascript-module",
578
- "path": "libs/web-components/src/lib/Badge/Badge.ts",
544
+ "path": "libs/web-components/src/lib/Avatar/AvatarGroup.ts",
579
545
  "declarations": [
580
546
  {
581
547
  "kind": "class",
582
- "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
583
- "name": "BmBadge",
548
+ "description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.",
549
+ "name": "BmAvatarGroup",
584
550
  "slots": [
585
551
  {
586
- "description": "Provide text for the Badge",
552
+ "description": "Add Avatars to create a group",
587
553
  "name": "default"
588
- },
589
- {
590
- "description": "Specify a different icon for the Badge",
591
- "name": "icon"
592
554
  }
593
555
  ],
594
556
  "members": [
595
557
  {
596
558
  "kind": "field",
597
- "name": "appearance",
559
+ "name": "wrapping",
598
560
  "type": {
599
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
561
+ "text": "boolean"
600
562
  },
601
- "default": "'infoPrimary'",
602
- "description": "Specify the appearance of the Badge",
603
- "attribute": "appearance"
563
+ "default": "false",
564
+ "description": "Specify if the AvatarGroup wraps",
565
+ "attribute": "wrapping"
604
566
  },
605
567
  {
606
568
  "kind": "field",
607
- "name": "theme",
569
+ "name": "maxCount",
608
570
  "type": {
609
- "text": "'light' | 'dark' | undefined"
571
+ "text": "number"
610
572
  },
611
- "description": "Theme of the Badge",
612
- "attribute": "theme"
573
+ "default": "5",
574
+ "description": "Specify the max number of avatars displayed in the group.",
575
+ "attribute": "maxCount",
576
+ "reflects": true
613
577
  },
614
578
  {
615
579
  "kind": "field",
616
580
  "name": "size",
617
581
  "type": {
618
- "text": "'sm' | 'md' | undefined"
582
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
619
583
  },
620
- "default": "'sm'",
621
- "description": "Specify the size of the Badge",
584
+ "default": "'md'",
585
+ "description": "Specify the size of all Avatars",
622
586
  "attribute": "size"
623
587
  },
624
588
  {
625
589
  "kind": "field",
626
- "name": "emphasis",
627
- "type": {
628
- "text": "'strong' | 'medium' | 'subtle'"
629
- },
630
- "default": "'strong'",
631
- "description": "Specify the emphasis of the Badge",
632
- "attribute": "emphasis"
633
- },
634
- {
635
- "kind": "field",
636
- "name": "hideIcon",
590
+ "name": "layout",
637
591
  "type": {
638
- "text": "boolean | undefined"
592
+ "text": "'stacked' | 'spaced' | undefined"
639
593
  },
640
- "description": "Hides Badge icon",
641
- "attribute": "hideIcon"
594
+ "default": "'stacked'",
595
+ "description": "Specify the kind of the group.",
596
+ "attribute": "layout"
642
597
  }
643
598
  ],
644
599
  "attributes": [
645
600
  {
646
- "name": "appearance",
601
+ "name": "wrapping",
647
602
  "type": {
648
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
603
+ "text": "boolean"
649
604
  },
650
- "default": "'infoPrimary'",
651
- "description": "Specify the appearance of the Badge",
652
- "fieldName": "appearance"
605
+ "default": "false",
606
+ "description": "Specify if the AvatarGroup wraps",
607
+ "fieldName": "wrapping"
653
608
  },
654
609
  {
655
- "name": "theme",
610
+ "name": "maxCount",
656
611
  "type": {
657
- "text": "'light' | 'dark' | undefined"
612
+ "text": "number"
658
613
  },
659
- "description": "Theme of the Badge",
660
- "fieldName": "theme"
614
+ "default": "5",
615
+ "description": "Specify the max number of avatars displayed in the group.",
616
+ "fieldName": "maxCount"
661
617
  },
662
618
  {
663
619
  "name": "size",
664
620
  "type": {
665
- "text": "'sm' | 'md' | undefined"
621
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
666
622
  },
667
- "default": "'sm'",
668
- "description": "Specify the size of the Badge",
623
+ "default": "'md'",
624
+ "description": "Specify the size of all Avatars",
669
625
  "fieldName": "size"
670
626
  },
671
627
  {
672
- "name": "emphasis",
673
- "type": {
674
- "text": "'strong' | 'medium' | 'subtle'"
675
- },
676
- "default": "'strong'",
677
- "description": "Specify the emphasis of the Badge",
678
- "fieldName": "emphasis"
679
- },
680
- {
681
- "name": "hideIcon",
628
+ "name": "layout",
682
629
  "type": {
683
- "text": "boolean | undefined"
630
+ "text": "'stacked' | 'spaced' | undefined"
684
631
  },
685
- "description": "Hides Badge icon",
686
- "fieldName": "hideIcon"
632
+ "default": "'stacked'",
633
+ "description": "Specify the kind of the group.",
634
+ "fieldName": "layout"
687
635
  }
688
636
  ],
689
637
  "superclass": {
690
638
  "name": "LitElement",
691
639
  "package": "lit"
692
640
  },
693
- "tagName": "bm-badge",
641
+ "tagName": "bm-avatar-group",
694
642
  "customElement": true
695
643
  }
696
644
  ],
697
645
  "exports": [
698
646
  {
699
647
  "kind": "js",
700
- "name": "BmBadge",
648
+ "name": "BmAvatarGroup",
701
649
  "declaration": {
702
- "name": "BmBadge",
703
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
650
+ "name": "BmAvatarGroup",
651
+ "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
704
652
  }
705
653
  },
706
654
  {
707
655
  "kind": "custom-element-definition",
708
- "name": "bm-badge",
656
+ "name": "bm-avatar-group",
709
657
  "declaration": {
710
- "name": "BmBadge",
711
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
658
+ "name": "BmAvatarGroup",
659
+ "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
712
660
  }
713
661
  }
714
662
  ]
715
663
  },
716
664
  {
717
665
  "kind": "javascript-module",
718
- "path": "libs/web-components/src/lib/Badge/index.ts",
666
+ "path": "libs/web-components/src/lib/Avatar/index.ts",
719
667
  "declarations": [],
720
668
  "exports": [
721
669
  {
@@ -723,131 +671,162 @@
723
671
  "name": "*",
724
672
  "declaration": {
725
673
  "name": "*",
726
- "package": "./Badge"
674
+ "package": "./Avatar"
675
+ }
676
+ },
677
+ {
678
+ "kind": "js",
679
+ "name": "*",
680
+ "declaration": {
681
+ "name": "*",
682
+ "package": "./AvatarGroup"
727
683
  }
728
684
  }
729
685
  ]
730
686
  },
731
687
  {
732
688
  "kind": "javascript-module",
733
- "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
689
+ "path": "libs/web-components/src/lib/Badge/Badge.ts",
734
690
  "declarations": [
735
691
  {
736
692
  "kind": "class",
737
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
738
- "name": "BmBadgeDot",
693
+ "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
694
+ "name": "BmBadge",
739
695
  "slots": [
740
696
  {
741
- "description": "Provide text for the BadgeDot",
697
+ "description": "Provide text for the Badge",
742
698
  "name": "default"
699
+ },
700
+ {
701
+ "description": "Specify a different icon for the Badge",
702
+ "name": "icon"
743
703
  }
744
704
  ],
745
705
  "members": [
706
+ {
707
+ "kind": "field",
708
+ "name": "appearance",
709
+ "type": {
710
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
711
+ },
712
+ "default": "'infoPrimary'",
713
+ "description": "Specify the appearance of the Badge",
714
+ "attribute": "appearance"
715
+ },
746
716
  {
747
717
  "kind": "field",
748
718
  "name": "theme",
749
719
  "type": {
750
720
  "text": "'light' | 'dark' | undefined"
751
721
  },
752
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
722
+ "description": "Theme of the Badge",
753
723
  "attribute": "theme"
754
724
  },
755
725
  {
756
726
  "kind": "field",
757
- "name": "appearance",
727
+ "name": "size",
758
728
  "type": {
759
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
729
+ "text": "'sm' | 'md' | undefined"
760
730
  },
761
- "default": "'infoPrimary'",
762
- "description": "Specify the appearance of the BadgeDot",
763
- "attribute": "appearance"
731
+ "default": "'sm'",
732
+ "description": "Specify the size of the Badge",
733
+ "attribute": "size"
764
734
  },
765
735
  {
766
736
  "kind": "field",
767
737
  "name": "emphasis",
768
738
  "type": {
769
- "text": "'strong' | 'subtle'"
739
+ "text": "'strong' | 'medium' | 'subtle'"
770
740
  },
771
741
  "default": "'strong'",
772
- "description": "Specify the emphasis of the BadgeDot",
742
+ "description": "Specify the emphasis of the Badge",
773
743
  "attribute": "emphasis"
774
744
  },
775
745
  {
776
746
  "kind": "field",
777
- "name": "overrideDotColor",
747
+ "name": "hideIcon",
778
748
  "type": {
779
- "text": "string | undefined"
749
+ "text": "boolean | undefined"
780
750
  },
781
- "description": "Overrides default dot color",
782
- "attribute": "overrideDotColor"
751
+ "description": "Hides Badge icon",
752
+ "attribute": "hideIcon"
783
753
  }
784
754
  ],
785
755
  "attributes": [
756
+ {
757
+ "name": "appearance",
758
+ "type": {
759
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
760
+ },
761
+ "default": "'infoPrimary'",
762
+ "description": "Specify the appearance of the Badge",
763
+ "fieldName": "appearance"
764
+ },
786
765
  {
787
766
  "name": "theme",
788
767
  "type": {
789
768
  "text": "'light' | 'dark' | undefined"
790
769
  },
791
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
770
+ "description": "Theme of the Badge",
792
771
  "fieldName": "theme"
793
772
  },
794
773
  {
795
- "name": "appearance",
774
+ "name": "size",
796
775
  "type": {
797
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
776
+ "text": "'sm' | 'md' | undefined"
798
777
  },
799
- "default": "'infoPrimary'",
800
- "description": "Specify the appearance of the BadgeDot",
801
- "fieldName": "appearance"
778
+ "default": "'sm'",
779
+ "description": "Specify the size of the Badge",
780
+ "fieldName": "size"
802
781
  },
803
782
  {
804
783
  "name": "emphasis",
805
784
  "type": {
806
- "text": "'strong' | 'subtle'"
785
+ "text": "'strong' | 'medium' | 'subtle'"
807
786
  },
808
787
  "default": "'strong'",
809
- "description": "Specify the emphasis of the BadgeDot",
788
+ "description": "Specify the emphasis of the Badge",
810
789
  "fieldName": "emphasis"
811
790
  },
812
791
  {
813
- "name": "overrideDotColor",
792
+ "name": "hideIcon",
814
793
  "type": {
815
- "text": "string | undefined"
794
+ "text": "boolean | undefined"
816
795
  },
817
- "description": "Overrides default dot color",
818
- "fieldName": "overrideDotColor"
796
+ "description": "Hides Badge icon",
797
+ "fieldName": "hideIcon"
819
798
  }
820
799
  ],
821
800
  "superclass": {
822
801
  "name": "LitElement",
823
802
  "package": "lit"
824
803
  },
825
- "tagName": "bm-badge-dot",
804
+ "tagName": "bm-badge",
826
805
  "customElement": true
827
806
  }
828
807
  ],
829
808
  "exports": [
830
809
  {
831
810
  "kind": "js",
832
- "name": "BmBadgeDot",
811
+ "name": "BmBadge",
833
812
  "declaration": {
834
- "name": "BmBadgeDot",
835
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
813
+ "name": "BmBadge",
814
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
836
815
  }
837
816
  },
838
817
  {
839
818
  "kind": "custom-element-definition",
840
- "name": "bm-badge-dot",
819
+ "name": "bm-badge",
841
820
  "declaration": {
842
- "name": "BmBadgeDot",
843
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
821
+ "name": "BmBadge",
822
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
844
823
  }
845
824
  }
846
825
  ]
847
826
  },
848
827
  {
849
828
  "kind": "javascript-module",
850
- "path": "libs/web-components/src/lib/BadgeDot/index.ts",
829
+ "path": "libs/web-components/src/lib/Badge/index.ts",
851
830
  "declarations": [],
852
831
  "exports": [
853
832
  {
@@ -855,383 +834,280 @@
855
834
  "name": "*",
856
835
  "declaration": {
857
836
  "name": "*",
858
- "package": "./BadgeDot"
837
+ "package": "./Badge"
859
838
  }
860
839
  }
861
840
  ]
862
841
  },
863
842
  {
864
843
  "kind": "javascript-module",
865
- "path": "libs/web-components/src/lib/Avatar/Avatar.ts",
844
+ "path": "libs/web-components/src/lib/Alert/Alert.ts",
866
845
  "declarations": [
867
846
  {
868
847
  "kind": "class",
869
- "description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** ",
870
- "name": "BmAvatar",
848
+ "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing",
849
+ "name": "BmAlert",
871
850
  "slots": [
872
851
  {
873
- "description": "Customize the default icon",
852
+ "description": "Specify a different icon for the Alert",
874
853
  "name": "icon"
875
- }
876
- ],
877
- "members": [
854
+ },
878
855
  {
879
- "kind": "field",
880
- "name": "appearance",
881
- "type": {
882
- "text": "'accent' | 'neutral' | undefined"
883
- },
884
- "default": "'neutral'",
885
- "description": "Specify the appearance of the Avatar",
886
- "attribute": "appearance"
856
+ "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
857
+ "name": "heading"
887
858
  },
888
859
  {
889
- "kind": "field",
890
- "name": "name",
891
- "type": {
892
- "text": "string | undefined"
893
- },
894
- "description": "Specify a name to display initials in the Avatar",
895
- "attribute": "name"
860
+ "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
861
+ "name": "body"
896
862
  },
863
+ {
864
+ "description": "Specify if actions display on the Alert",
865
+ "name": "actions"
866
+ }
867
+ ],
868
+ "members": [
897
869
  {
898
870
  "kind": "field",
899
- "name": "src",
871
+ "name": "heading",
900
872
  "type": {
901
873
  "text": "string | undefined"
902
874
  },
903
- "description": "Pass an image to the Avatar",
904
- "attribute": "src"
875
+ "description": "Specify the heading text for Alert",
876
+ "attribute": "heading"
905
877
  },
906
878
  {
907
879
  "kind": "field",
908
- "name": "alt",
880
+ "name": "body",
909
881
  "type": {
910
882
  "text": "string | undefined"
911
883
  },
912
- "description": "Specify alt for image",
913
- "attribute": "alt"
884
+ "description": "Specify the body text for Alert",
885
+ "attribute": "body"
914
886
  },
915
887
  {
916
888
  "kind": "field",
917
889
  "name": "size",
918
890
  "type": {
919
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
891
+ "text": "'sm' | 'md'"
920
892
  },
921
- "default": "'md'",
922
- "description": "Specify the size of the Avatar",
893
+ "default": "'sm'",
894
+ "description": "Specify the size of the Alert",
923
895
  "attribute": "size"
924
896
  },
925
897
  {
926
898
  "kind": "field",
927
- "name": "disabled",
899
+ "name": "fullWidth",
928
900
  "type": {
929
- "text": "boolean | undefined"
901
+ "text": "boolean"
930
902
  },
931
903
  "default": "false",
932
- "description": "Specify if the Avatar is disabled",
933
- "attribute": "disabled"
904
+ "description": "Specify if the Alert has no border radius",
905
+ "attribute": "fullWidth"
934
906
  },
935
907
  {
936
908
  "kind": "field",
937
- "name": "shape",
909
+ "name": "theme",
938
910
  "type": {
939
- "text": "'circle' | 'square' | undefined"
911
+ "text": "'light' | 'dark' | undefined"
940
912
  },
941
- "default": "'circle'",
942
- "description": "Specify the shape of the Avatar",
943
- "attribute": "shape"
913
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
914
+ "attribute": "theme"
944
915
  },
945
916
  {
946
917
  "kind": "field",
947
- "name": "isInteractive",
918
+ "name": "appearance",
948
919
  "type": {
949
- "text": "boolean"
920
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
950
921
  },
951
- "default": "false",
952
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
953
- "attribute": "isInteractive"
922
+ "default": "'infoPrimary'",
923
+ "description": "Specify the appearance of the Alert",
924
+ "attribute": "appearance"
954
925
  },
955
926
  {
956
927
  "kind": "field",
957
- "name": "isFocusable",
928
+ "name": "hidden",
958
929
  "type": {
959
930
  "text": "boolean"
960
931
  },
961
932
  "default": "false",
962
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
963
- "attribute": "isFocusable"
933
+ "description": "Specify if the Alert is hidden",
934
+ "attribute": "hidden"
964
935
  },
965
936
  {
966
937
  "kind": "field",
967
- "name": "withBorder",
938
+ "name": "hideIcon",
968
939
  "type": {
969
940
  "text": "boolean"
970
941
  },
971
942
  "default": "false",
972
- "attribute": "withBorder"
973
- }
974
- ],
975
- "attributes": [
976
- {
977
- "name": "appearance",
978
- "type": {
979
- "text": "'accent' | 'neutral' | undefined"
980
- },
981
- "default": "'neutral'",
982
- "description": "Specify the appearance of the Avatar",
983
- "fieldName": "appearance"
984
- },
985
- {
986
- "name": "name",
987
- "type": {
988
- "text": "string | undefined"
989
- },
990
- "description": "Specify a name to display initials in the Avatar",
991
- "fieldName": "name"
992
- },
993
- {
994
- "name": "src",
995
- "type": {
996
- "text": "string | undefined"
997
- },
998
- "description": "Pass an image to the Avatar",
999
- "fieldName": "src"
1000
- },
1001
- {
1002
- "name": "alt",
1003
- "type": {
1004
- "text": "string | undefined"
1005
- },
1006
- "description": "Specify alt for image",
1007
- "fieldName": "alt"
1008
- },
1009
- {
1010
- "name": "size",
1011
- "type": {
1012
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
1013
- },
1014
- "default": "'md'",
1015
- "description": "Specify the size of the Avatar",
1016
- "fieldName": "size"
1017
- },
1018
- {
1019
- "name": "disabled",
1020
- "type": {
1021
- "text": "boolean | undefined"
1022
- },
1023
- "default": "false",
1024
- "description": "Specify if the Avatar is disabled",
1025
- "fieldName": "disabled"
1026
- },
1027
- {
1028
- "name": "shape",
1029
- "type": {
1030
- "text": "'circle' | 'square' | undefined"
1031
- },
1032
- "default": "'circle'",
1033
- "description": "Specify the shape of the Avatar",
1034
- "fieldName": "shape"
943
+ "description": "Specify if the icon displays on the Alert",
944
+ "attribute": "hideIcon"
1035
945
  },
1036
946
  {
1037
- "name": "isInteractive",
947
+ "kind": "field",
948
+ "name": "dismissible",
1038
949
  "type": {
1039
950
  "text": "boolean"
1040
951
  },
1041
952
  "default": "false",
1042
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
1043
- "fieldName": "isInteractive"
953
+ "description": "Specify if the Alert can be dismissed",
954
+ "attribute": "dismissible"
1044
955
  },
1045
956
  {
1046
- "name": "isFocusable",
957
+ "kind": "field",
958
+ "name": "disableAutoFocus",
1047
959
  "type": {
1048
960
  "text": "boolean"
1049
961
  },
1050
962
  "default": "false",
1051
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
1052
- "fieldName": "isFocusable"
963
+ "description": "Prevent autofocus on show",
964
+ "attribute": "disableAutoFocus"
1053
965
  },
1054
966
  {
1055
- "name": "withBorder",
967
+ "kind": "field",
968
+ "name": "disableCloseOnEscape",
1056
969
  "type": {
1057
970
  "text": "boolean"
1058
971
  },
1059
972
  "default": "false",
1060
- "fieldName": "withBorder"
973
+ "description": "Prevent Escape from closing",
974
+ "attribute": "disableCloseOnEscape"
1061
975
  }
1062
976
  ],
1063
- "superclass": {
1064
- "name": "LitElement",
1065
- "package": "lit"
1066
- },
1067
- "tagName": "bm-avatar",
1068
- "customElement": true
1069
- }
1070
- ],
1071
- "exports": [
1072
- {
1073
- "kind": "js",
1074
- "name": "BmAvatar",
1075
- "declaration": {
1076
- "name": "BmAvatar",
1077
- "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
1078
- }
1079
- },
1080
- {
1081
- "kind": "custom-element-definition",
1082
- "name": "bm-avatar",
1083
- "declaration": {
1084
- "name": "BmAvatar",
1085
- "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
1086
- }
1087
- }
1088
- ]
1089
- },
1090
- {
1091
- "kind": "javascript-module",
1092
- "path": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts",
1093
- "declarations": [
1094
- {
1095
- "kind": "variable",
1096
- "name": "AvatarGroupCtx"
1097
- }
1098
- ],
1099
- "exports": [
1100
- {
1101
- "kind": "js",
1102
- "name": "AvatarGroupCtx",
1103
- "declaration": {
1104
- "name": "AvatarGroupCtx",
1105
- "module": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts"
1106
- }
1107
- }
1108
- ]
1109
- },
1110
- {
1111
- "kind": "javascript-module",
1112
- "path": "libs/web-components/src/lib/Avatar/AvatarGroup.ts",
1113
- "declarations": [
1114
- {
1115
- "kind": "class",
1116
- "description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.",
1117
- "name": "BmAvatarGroup",
1118
- "slots": [
977
+ "events": [
978
+ {
979
+ "description": "Dispatched when the Alert has been dismissed",
980
+ "name": "bm-dismiss"
981
+ }
982
+ ],
983
+ "attributes": [
984
+ {
985
+ "name": "heading",
986
+ "type": {
987
+ "text": "string | undefined"
988
+ },
989
+ "description": "Specify the heading text for Alert",
990
+ "fieldName": "heading"
991
+ },
1119
992
  {
1120
- "description": "Add Avatars to create a group",
1121
- "name": "default"
1122
- }
1123
- ],
1124
- "members": [
993
+ "name": "body",
994
+ "type": {
995
+ "text": "string | undefined"
996
+ },
997
+ "description": "Specify the body text for Alert",
998
+ "fieldName": "body"
999
+ },
1125
1000
  {
1126
- "kind": "field",
1127
- "name": "wrapping",
1001
+ "name": "size",
1002
+ "type": {
1003
+ "text": "'sm' | 'md'"
1004
+ },
1005
+ "default": "'sm'",
1006
+ "description": "Specify the size of the Alert",
1007
+ "fieldName": "size"
1008
+ },
1009
+ {
1010
+ "name": "fullWidth",
1128
1011
  "type": {
1129
1012
  "text": "boolean"
1130
1013
  },
1131
1014
  "default": "false",
1132
- "description": "Specify if the AvatarGroup wraps",
1133
- "attribute": "wrapping"
1015
+ "description": "Specify if the Alert has no border radius",
1016
+ "fieldName": "fullWidth"
1134
1017
  },
1135
1018
  {
1136
- "kind": "field",
1137
- "name": "maxCount",
1019
+ "name": "theme",
1138
1020
  "type": {
1139
- "text": "number"
1021
+ "text": "'light' | 'dark' | undefined"
1140
1022
  },
1141
- "default": "5",
1142
- "description": "Specify the max number of avatars displayed in the group.",
1143
- "attribute": "maxCount",
1144
- "reflects": true
1023
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
1024
+ "fieldName": "theme"
1145
1025
  },
1146
1026
  {
1147
- "kind": "field",
1148
- "name": "size",
1027
+ "name": "appearance",
1149
1028
  "type": {
1150
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1029
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1151
1030
  },
1152
- "default": "'md'",
1153
- "description": "Specify the size of all Avatars",
1154
- "attribute": "size"
1031
+ "default": "'infoPrimary'",
1032
+ "description": "Specify the appearance of the Alert",
1033
+ "fieldName": "appearance"
1155
1034
  },
1156
1035
  {
1157
- "kind": "field",
1158
- "name": "layout",
1036
+ "name": "hidden",
1159
1037
  "type": {
1160
- "text": "'stacked' | 'spaced' | undefined"
1038
+ "text": "boolean"
1161
1039
  },
1162
- "default": "'stacked'",
1163
- "description": "Specify the kind of the group.",
1164
- "attribute": "layout"
1165
- }
1166
- ],
1167
- "attributes": [
1040
+ "default": "false",
1041
+ "description": "Specify if the Alert is hidden",
1042
+ "fieldName": "hidden"
1043
+ },
1168
1044
  {
1169
- "name": "wrapping",
1045
+ "name": "hideIcon",
1170
1046
  "type": {
1171
1047
  "text": "boolean"
1172
1048
  },
1173
1049
  "default": "false",
1174
- "description": "Specify if the AvatarGroup wraps",
1175
- "fieldName": "wrapping"
1050
+ "description": "Specify if the icon displays on the Alert",
1051
+ "fieldName": "hideIcon"
1176
1052
  },
1177
1053
  {
1178
- "name": "maxCount",
1054
+ "name": "dismissible",
1179
1055
  "type": {
1180
- "text": "number"
1056
+ "text": "boolean"
1181
1057
  },
1182
- "default": "5",
1183
- "description": "Specify the max number of avatars displayed in the group.",
1184
- "fieldName": "maxCount"
1058
+ "default": "false",
1059
+ "description": "Specify if the Alert can be dismissed",
1060
+ "fieldName": "dismissible"
1185
1061
  },
1186
1062
  {
1187
- "name": "size",
1063
+ "name": "disableAutoFocus",
1188
1064
  "type": {
1189
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1065
+ "text": "boolean"
1190
1066
  },
1191
- "default": "'md'",
1192
- "description": "Specify the size of all Avatars",
1193
- "fieldName": "size"
1067
+ "default": "false",
1068
+ "description": "Prevent autofocus on show",
1069
+ "fieldName": "disableAutoFocus"
1194
1070
  },
1195
1071
  {
1196
- "name": "layout",
1072
+ "name": "disableCloseOnEscape",
1197
1073
  "type": {
1198
- "text": "'stacked' | 'spaced' | undefined"
1074
+ "text": "boolean"
1199
1075
  },
1200
- "default": "'stacked'",
1201
- "description": "Specify the kind of the group.",
1202
- "fieldName": "layout"
1076
+ "default": "false",
1077
+ "description": "Prevent Escape from closing",
1078
+ "fieldName": "disableCloseOnEscape"
1203
1079
  }
1204
1080
  ],
1205
1081
  "superclass": {
1206
1082
  "name": "LitElement",
1207
1083
  "package": "lit"
1208
1084
  },
1209
- "tagName": "bm-avatar-group",
1085
+ "tagName": "bm-alert",
1210
1086
  "customElement": true
1211
1087
  }
1212
1088
  ],
1213
1089
  "exports": [
1214
1090
  {
1215
1091
  "kind": "js",
1216
- "name": "BmAvatarGroup",
1092
+ "name": "BmAlert",
1217
1093
  "declaration": {
1218
- "name": "BmAvatarGroup",
1219
- "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
1094
+ "name": "BmAlert",
1095
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
1220
1096
  }
1221
1097
  },
1222
1098
  {
1223
1099
  "kind": "custom-element-definition",
1224
- "name": "bm-avatar-group",
1100
+ "name": "bm-alert",
1225
1101
  "declaration": {
1226
- "name": "BmAvatarGroup",
1227
- "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
1102
+ "name": "BmAlert",
1103
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
1228
1104
  }
1229
1105
  }
1230
1106
  ]
1231
1107
  },
1232
1108
  {
1233
1109
  "kind": "javascript-module",
1234
- "path": "libs/web-components/src/lib/Avatar/index.ts",
1110
+ "path": "libs/web-components/src/lib/Alert/index.ts",
1235
1111
  "declarations": [],
1236
1112
  "exports": [
1237
1113
  {
@@ -1239,15 +1115,7 @@
1239
1115
  "name": "*",
1240
1116
  "declaration": {
1241
1117
  "name": "*",
1242
- "package": "./Avatar"
1243
- }
1244
- },
1245
- {
1246
- "kind": "js",
1247
- "name": "*",
1248
- "declaration": {
1249
- "name": "*",
1250
- "package": "./AvatarGroup"
1118
+ "package": "./Alert"
1251
1119
  }
1252
1120
  }
1253
1121
  ]
@@ -1564,82 +1432,214 @@
1564
1432
  {
1565
1433
  "name": "mBefore",
1566
1434
  "type": {
1567
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1435
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1436
+ },
1437
+ "description": "Specify before margin of a Box",
1438
+ "fieldName": "mBefore"
1439
+ },
1440
+ {
1441
+ "name": "mAfter",
1442
+ "type": {
1443
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1444
+ },
1445
+ "description": "Specify after margin of a Box",
1446
+ "fieldName": "mAfter"
1447
+ },
1448
+ {
1449
+ "name": "m",
1450
+ "type": {
1451
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1452
+ },
1453
+ "description": "Specify all margin",
1454
+ "fieldName": "m"
1455
+ },
1456
+ {
1457
+ "name": "p",
1458
+ "type": {
1459
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1460
+ },
1461
+ "description": "Specify all padding",
1462
+ "fieldName": "p"
1463
+ },
1464
+ {
1465
+ "name": "gap",
1466
+ "type": {
1467
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1468
+ },
1469
+ "description": "Specify gap between child elements",
1470
+ "fieldName": "gap"
1471
+ },
1472
+ {
1473
+ "name": "shadow",
1474
+ "type": {
1475
+ "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
1476
+ },
1477
+ "description": "Specify if a Box has a shadow",
1478
+ "fieldName": "shadow"
1479
+ }
1480
+ ],
1481
+ "superclass": {
1482
+ "name": "LitElement",
1483
+ "package": "lit"
1484
+ },
1485
+ "tagName": "bm-box",
1486
+ "customElement": true
1487
+ }
1488
+ ],
1489
+ "exports": [
1490
+ {
1491
+ "kind": "js",
1492
+ "name": "BmBox",
1493
+ "declaration": {
1494
+ "name": "BmBox",
1495
+ "module": "libs/web-components/src/lib/Box/Box.ts"
1496
+ }
1497
+ },
1498
+ {
1499
+ "kind": "custom-element-definition",
1500
+ "name": "bm-box",
1501
+ "declaration": {
1502
+ "name": "BmBox",
1503
+ "module": "libs/web-components/src/lib/Box/Box.ts"
1504
+ }
1505
+ }
1506
+ ]
1507
+ },
1508
+ {
1509
+ "kind": "javascript-module",
1510
+ "path": "libs/web-components/src/lib/Box/index.ts",
1511
+ "declarations": [],
1512
+ "exports": [
1513
+ {
1514
+ "kind": "js",
1515
+ "name": "*",
1516
+ "declaration": {
1517
+ "name": "*",
1518
+ "package": "./Box"
1519
+ }
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ "kind": "javascript-module",
1525
+ "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
1526
+ "declarations": [
1527
+ {
1528
+ "kind": "class",
1529
+ "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
1530
+ "name": "BmBadgeDot",
1531
+ "slots": [
1532
+ {
1533
+ "description": "Provide text for the BadgeDot",
1534
+ "name": "default"
1535
+ }
1536
+ ],
1537
+ "members": [
1538
+ {
1539
+ "kind": "field",
1540
+ "name": "theme",
1541
+ "type": {
1542
+ "text": "'light' | 'dark' | undefined"
1543
+ },
1544
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1545
+ "attribute": "theme"
1546
+ },
1547
+ {
1548
+ "kind": "field",
1549
+ "name": "appearance",
1550
+ "type": {
1551
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1552
+ },
1553
+ "default": "'infoPrimary'",
1554
+ "description": "Specify the appearance of the BadgeDot",
1555
+ "attribute": "appearance"
1556
+ },
1557
+ {
1558
+ "kind": "field",
1559
+ "name": "emphasis",
1560
+ "type": {
1561
+ "text": "'strong' | 'subtle'"
1568
1562
  },
1569
- "description": "Specify before margin of a Box",
1570
- "fieldName": "mBefore"
1563
+ "default": "'strong'",
1564
+ "description": "Specify the emphasis of the BadgeDot",
1565
+ "attribute": "emphasis"
1571
1566
  },
1572
1567
  {
1573
- "name": "mAfter",
1568
+ "kind": "field",
1569
+ "name": "overrideDotColor",
1574
1570
  "type": {
1575
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1571
+ "text": "string | undefined"
1576
1572
  },
1577
- "description": "Specify after margin of a Box",
1578
- "fieldName": "mAfter"
1579
- },
1573
+ "description": "Overrides default dot color",
1574
+ "attribute": "overrideDotColor"
1575
+ }
1576
+ ],
1577
+ "attributes": [
1580
1578
  {
1581
- "name": "m",
1579
+ "name": "theme",
1582
1580
  "type": {
1583
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1581
+ "text": "'light' | 'dark' | undefined"
1584
1582
  },
1585
- "description": "Specify all margin",
1586
- "fieldName": "m"
1583
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1584
+ "fieldName": "theme"
1587
1585
  },
1588
1586
  {
1589
- "name": "p",
1587
+ "name": "appearance",
1590
1588
  "type": {
1591
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1589
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1592
1590
  },
1593
- "description": "Specify all padding",
1594
- "fieldName": "p"
1591
+ "default": "'infoPrimary'",
1592
+ "description": "Specify the appearance of the BadgeDot",
1593
+ "fieldName": "appearance"
1595
1594
  },
1596
1595
  {
1597
- "name": "gap",
1596
+ "name": "emphasis",
1598
1597
  "type": {
1599
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1598
+ "text": "'strong' | 'subtle'"
1600
1599
  },
1601
- "description": "Specify gap between child elements",
1602
- "fieldName": "gap"
1600
+ "default": "'strong'",
1601
+ "description": "Specify the emphasis of the BadgeDot",
1602
+ "fieldName": "emphasis"
1603
1603
  },
1604
1604
  {
1605
- "name": "shadow",
1605
+ "name": "overrideDotColor",
1606
1606
  "type": {
1607
- "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
1607
+ "text": "string | undefined"
1608
1608
  },
1609
- "description": "Specify if a Box has a shadow",
1610
- "fieldName": "shadow"
1609
+ "description": "Overrides default dot color",
1610
+ "fieldName": "overrideDotColor"
1611
1611
  }
1612
1612
  ],
1613
1613
  "superclass": {
1614
1614
  "name": "LitElement",
1615
1615
  "package": "lit"
1616
1616
  },
1617
- "tagName": "bm-box",
1617
+ "tagName": "bm-badge-dot",
1618
1618
  "customElement": true
1619
1619
  }
1620
1620
  ],
1621
1621
  "exports": [
1622
1622
  {
1623
1623
  "kind": "js",
1624
- "name": "BmBox",
1624
+ "name": "BmBadgeDot",
1625
1625
  "declaration": {
1626
- "name": "BmBox",
1627
- "module": "libs/web-components/src/lib/Box/Box.ts"
1626
+ "name": "BmBadgeDot",
1627
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1628
1628
  }
1629
1629
  },
1630
1630
  {
1631
1631
  "kind": "custom-element-definition",
1632
- "name": "bm-box",
1632
+ "name": "bm-badge-dot",
1633
1633
  "declaration": {
1634
- "name": "BmBox",
1635
- "module": "libs/web-components/src/lib/Box/Box.ts"
1634
+ "name": "BmBadgeDot",
1635
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1636
1636
  }
1637
1637
  }
1638
1638
  ]
1639
1639
  },
1640
1640
  {
1641
1641
  "kind": "javascript-module",
1642
- "path": "libs/web-components/src/lib/Box/index.ts",
1642
+ "path": "libs/web-components/src/lib/BadgeDot/index.ts",
1643
1643
  "declarations": [],
1644
1644
  "exports": [
1645
1645
  {
@@ -1647,7 +1647,7 @@
1647
1647
  "name": "*",
1648
1648
  "declaration": {
1649
1649
  "name": "*",
1650
- "package": "./Box"
1650
+ "package": "./BadgeDot"
1651
1651
  }
1652
1652
  }
1653
1653
  ]
@@ -2218,6 +2218,98 @@
2218
2218
  }
2219
2219
  ]
2220
2220
  },
2221
+ {
2222
+ "kind": "javascript-module",
2223
+ "path": "libs/web-components/src/lib/CloseButton/CloseButton.ts",
2224
+ "declarations": [
2225
+ {
2226
+ "kind": "class",
2227
+ "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled",
2228
+ "name": "BmCloseButton",
2229
+ "members": [
2230
+ {
2231
+ "kind": "field",
2232
+ "name": "size",
2233
+ "type": {
2234
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2235
+ },
2236
+ "default": "'md'",
2237
+ "description": "Specify the size of the CloseButton",
2238
+ "attribute": "size"
2239
+ },
2240
+ {
2241
+ "kind": "field",
2242
+ "name": "disabled",
2243
+ "type": {
2244
+ "text": "boolean"
2245
+ },
2246
+ "default": "false",
2247
+ "description": "Specify if the CloseButton is disabled",
2248
+ "attribute": "disabled"
2249
+ }
2250
+ ],
2251
+ "attributes": [
2252
+ {
2253
+ "name": "size",
2254
+ "type": {
2255
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2256
+ },
2257
+ "default": "'md'",
2258
+ "description": "Specify the size of the CloseButton",
2259
+ "fieldName": "size"
2260
+ },
2261
+ {
2262
+ "name": "disabled",
2263
+ "type": {
2264
+ "text": "boolean"
2265
+ },
2266
+ "default": "false",
2267
+ "description": "Specify if the CloseButton is disabled",
2268
+ "fieldName": "disabled"
2269
+ }
2270
+ ],
2271
+ "superclass": {
2272
+ "name": "LitElement",
2273
+ "package": "lit"
2274
+ },
2275
+ "tagName": "bm-close-button",
2276
+ "customElement": true
2277
+ }
2278
+ ],
2279
+ "exports": [
2280
+ {
2281
+ "kind": "js",
2282
+ "name": "BmCloseButton",
2283
+ "declaration": {
2284
+ "name": "BmCloseButton",
2285
+ "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2286
+ }
2287
+ },
2288
+ {
2289
+ "kind": "custom-element-definition",
2290
+ "name": "bm-close-button",
2291
+ "declaration": {
2292
+ "name": "BmCloseButton",
2293
+ "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2294
+ }
2295
+ }
2296
+ ]
2297
+ },
2298
+ {
2299
+ "kind": "javascript-module",
2300
+ "path": "libs/web-components/src/lib/CloseButton/index.ts",
2301
+ "declarations": [],
2302
+ "exports": [
2303
+ {
2304
+ "kind": "js",
2305
+ "name": "*",
2306
+ "declaration": {
2307
+ "name": "*",
2308
+ "package": "./CloseButton"
2309
+ }
2310
+ }
2311
+ ]
2312
+ },
2221
2313
  {
2222
2314
  "kind": "javascript-module",
2223
2315
  "path": "libs/web-components/src/lib/Divider/Divider.ts",
@@ -2355,142 +2447,50 @@
2355
2447
  {
2356
2448
  "name": "length",
2357
2449
  "type": {
2358
- "text": "string | undefined"
2359
- },
2360
- "fieldName": "length"
2361
- },
2362
- {
2363
- "name": "inset",
2364
- "type": {
2365
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2366
- },
2367
- "default": "'0'",
2368
- "description": "Add equal padding to each side of the Divider",
2369
- "fieldName": "inset"
2370
- }
2371
- ],
2372
- "superclass": {
2373
- "name": "LitElement",
2374
- "package": "lit"
2375
- },
2376
- "tagName": "bm-divider",
2377
- "customElement": true
2378
- }
2379
- ],
2380
- "exports": [
2381
- {
2382
- "kind": "js",
2383
- "name": "BmDivider",
2384
- "declaration": {
2385
- "name": "BmDivider",
2386
- "module": "libs/web-components/src/lib/Divider/Divider.ts"
2387
- }
2388
- },
2389
- {
2390
- "kind": "custom-element-definition",
2391
- "name": "bm-divider",
2392
- "declaration": {
2393
- "name": "BmDivider",
2394
- "module": "libs/web-components/src/lib/Divider/Divider.ts"
2395
- }
2396
- }
2397
- ]
2398
- },
2399
- {
2400
- "kind": "javascript-module",
2401
- "path": "libs/web-components/src/lib/Divider/index.ts",
2402
- "declarations": [],
2403
- "exports": [
2404
- {
2405
- "kind": "js",
2406
- "name": "*",
2407
- "declaration": {
2408
- "name": "*",
2409
- "package": "./Divider"
2410
- }
2411
- }
2412
- ]
2413
- },
2414
- {
2415
- "kind": "javascript-module",
2416
- "path": "libs/web-components/src/lib/CloseButton/CloseButton.ts",
2417
- "declarations": [
2418
- {
2419
- "kind": "class",
2420
- "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled",
2421
- "name": "BmCloseButton",
2422
- "members": [
2423
- {
2424
- "kind": "field",
2425
- "name": "size",
2426
- "type": {
2427
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2428
- },
2429
- "default": "'md'",
2430
- "description": "Specify the size of the CloseButton",
2431
- "attribute": "size"
2432
- },
2433
- {
2434
- "kind": "field",
2435
- "name": "disabled",
2436
- "type": {
2437
- "text": "boolean"
2438
- },
2439
- "default": "false",
2440
- "description": "Specify if the CloseButton is disabled",
2441
- "attribute": "disabled"
2442
- }
2443
- ],
2444
- "attributes": [
2445
- {
2446
- "name": "size",
2447
- "type": {
2448
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2450
+ "text": "string | undefined"
2449
2451
  },
2450
- "default": "'md'",
2451
- "description": "Specify the size of the CloseButton",
2452
- "fieldName": "size"
2452
+ "fieldName": "length"
2453
2453
  },
2454
2454
  {
2455
- "name": "disabled",
2455
+ "name": "inset",
2456
2456
  "type": {
2457
- "text": "boolean"
2457
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2458
2458
  },
2459
- "default": "false",
2460
- "description": "Specify if the CloseButton is disabled",
2461
- "fieldName": "disabled"
2459
+ "default": "'0'",
2460
+ "description": "Add equal padding to each side of the Divider",
2461
+ "fieldName": "inset"
2462
2462
  }
2463
2463
  ],
2464
2464
  "superclass": {
2465
2465
  "name": "LitElement",
2466
2466
  "package": "lit"
2467
2467
  },
2468
- "tagName": "bm-close-button",
2468
+ "tagName": "bm-divider",
2469
2469
  "customElement": true
2470
2470
  }
2471
2471
  ],
2472
2472
  "exports": [
2473
2473
  {
2474
2474
  "kind": "js",
2475
- "name": "BmCloseButton",
2475
+ "name": "BmDivider",
2476
2476
  "declaration": {
2477
- "name": "BmCloseButton",
2478
- "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2477
+ "name": "BmDivider",
2478
+ "module": "libs/web-components/src/lib/Divider/Divider.ts"
2479
2479
  }
2480
2480
  },
2481
2481
  {
2482
2482
  "kind": "custom-element-definition",
2483
- "name": "bm-close-button",
2483
+ "name": "bm-divider",
2484
2484
  "declaration": {
2485
- "name": "BmCloseButton",
2486
- "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2485
+ "name": "BmDivider",
2486
+ "module": "libs/web-components/src/lib/Divider/Divider.ts"
2487
2487
  }
2488
2488
  }
2489
2489
  ]
2490
2490
  },
2491
2491
  {
2492
2492
  "kind": "javascript-module",
2493
- "path": "libs/web-components/src/lib/CloseButton/index.ts",
2493
+ "path": "libs/web-components/src/lib/Divider/index.ts",
2494
2494
  "declarations": [],
2495
2495
  "exports": [
2496
2496
  {
@@ -2498,7 +2498,7 @@
2498
2498
  "name": "*",
2499
2499
  "declaration": {
2500
2500
  "name": "*",
2501
- "package": "./CloseButton"
2501
+ "package": "./Divider"
2502
2502
  }
2503
2503
  }
2504
2504
  ]
@@ -8969,232 +8969,10 @@
8969
8969
  {
8970
8970
  "name": "value",
8971
8971
  "type": {
8972
- "text": "string | undefined"
8973
- },
8974
- "description": "The value attribute for the input element",
8975
- "fieldName": "value"
8976
- },
8977
- {
8978
- "name": "checked",
8979
- "type": {
8980
- "text": "boolean"
8981
- },
8982
- "default": "false",
8983
- "description": "The checked attribute for the input element",
8984
- "fieldName": "checked"
8985
- },
8986
- {
8987
- "name": "onKeyDown",
8988
- "type": {
8989
- "text": "(event: KeyboardEvent) => void | undefined"
8990
- },
8991
- "description": "A user-defined function to handle keydown events",
8992
- "fieldName": "onKeyDown"
8993
- }
8994
- ],
8995
- "superclass": {
8996
- "name": "LitElement",
8997
- "package": "lit"
8998
- },
8999
- "tagName": "bm-radio-button",
9000
- "customElement": true
9001
- }
9002
- ],
9003
- "exports": [
9004
- {
9005
- "kind": "js",
9006
- "name": "BmRadioButton",
9007
- "declaration": {
9008
- "name": "BmRadioButton",
9009
- "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9010
- }
9011
- },
9012
- {
9013
- "kind": "custom-element-definition",
9014
- "name": "bm-radio-button",
9015
- "declaration": {
9016
- "name": "BmRadioButton",
9017
- "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9018
- }
9019
- }
9020
- ]
9021
- },
9022
- {
9023
- "kind": "javascript-module",
9024
- "path": "libs/web-components/src/lib/wip/RadioButton/index.ts",
9025
- "declarations": [],
9026
- "exports": [
9027
- {
9028
- "kind": "js",
9029
- "name": "*",
9030
- "declaration": {
9031
- "name": "*",
9032
- "package": "./RadioButton"
9033
- }
9034
- },
9035
- {
9036
- "kind": "js",
9037
- "name": "*",
9038
- "declaration": {
9039
- "name": "*",
9040
- "package": "./RadioButtonGroup/RadioButtonGroup"
9041
- }
9042
- }
9043
- ]
9044
- },
9045
- {
9046
- "kind": "javascript-module",
9047
- "path": "libs/web-components/src/lib/wip/Switch/Switch.ts",
9048
- "declarations": [
9049
- {
9050
- "kind": "class",
9051
- "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element",
9052
- "name": "BmSwitch",
9053
- "slots": [
9054
- {
9055
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9056
- "name": "onText"
9057
- },
9058
- {
9059
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9060
- "name": "offText"
9061
- }
9062
- ],
9063
- "members": [
9064
- {
9065
- "kind": "field",
9066
- "name": "inputChoiceGroupContext",
9067
- "type": {
9068
- "text": "InputChoiceGroupContextProps"
9069
- }
9070
- },
9071
- {
9072
- "kind": "field",
9073
- "name": "onText",
9074
- "type": {
9075
- "text": "string | undefined"
9076
- },
9077
- "default": "undefined",
9078
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9079
- "attribute": "onText"
9080
- },
9081
- {
9082
- "kind": "field",
9083
- "name": "offText",
9084
- "type": {
9085
- "text": "string | undefined"
9086
- },
9087
- "default": "undefined",
9088
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9089
- "attribute": "offText"
9090
- },
9091
- {
9092
- "kind": "field",
9093
- "name": "theme",
9094
- "type": {
9095
- "text": "ThemeTypes | undefined"
9096
- },
9097
- "default": "undefined",
9098
- "description": "Specify the theme of the Switch. By default it inherits the theme from the parent"
9099
- },
9100
- {
9101
- "kind": "field",
9102
- "name": "textPosition",
9103
- "type": {
9104
- "text": "'before' | 'after'"
9105
- },
9106
- "default": "'after'",
9107
- "description": "Specify the position of the side label",
9108
- "attribute": "textPosition"
9109
- },
9110
- {
9111
- "kind": "field",
9112
- "name": "readOnly",
9113
- "type": {
9114
- "text": "boolean"
9115
- },
9116
- "default": "false",
9117
- "description": "Specify if Switch displays in a read-only state",
9118
- "attribute": "readOnly"
9119
- },
9120
- {
9121
- "kind": "field",
9122
- "name": "disabled",
9123
- "type": {
9124
- "text": "boolean"
9125
- },
9126
- "default": "false",
9127
- "description": "Specify if Switch displays in a disabled state",
9128
- "attribute": "disabled"
9129
- },
9130
- {
9131
- "kind": "field",
9132
- "name": "checked",
9133
- "type": {
9134
- "text": "boolean"
9135
- },
9136
- "default": "false",
9137
- "attribute": "checked"
9138
- },
9139
- {
9140
- "kind": "field",
9141
- "name": "value",
9142
- "type": {
9143
- "text": "string | undefined"
9144
- },
9145
- "description": "The value attribute for the input element",
9146
- "attribute": "value"
9147
- },
9148
- {
9149
- "kind": "field",
9150
- "name": "switchRef"
9151
- }
9152
- ],
9153
- "attributes": [
9154
- {
9155
- "name": "onText",
9156
- "type": {
9157
- "text": "string | undefined"
9158
- },
9159
- "default": "undefined",
9160
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9161
- "fieldName": "onText"
9162
- },
9163
- {
9164
- "name": "offText",
9165
- "type": {
9166
- "text": "string | undefined"
9167
- },
9168
- "default": "undefined",
9169
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9170
- "fieldName": "offText"
9171
- },
9172
- {
9173
- "name": "textPosition",
9174
- "type": {
9175
- "text": "'before' | 'after'"
9176
- },
9177
- "default": "'after'",
9178
- "description": "Specify the position of the side label",
9179
- "fieldName": "textPosition"
9180
- },
9181
- {
9182
- "name": "readOnly",
9183
- "type": {
9184
- "text": "boolean"
9185
- },
9186
- "default": "false",
9187
- "description": "Specify if Switch displays in a read-only state",
9188
- "fieldName": "readOnly"
9189
- },
9190
- {
9191
- "name": "disabled",
9192
- "type": {
9193
- "text": "boolean"
8972
+ "text": "string | undefined"
9194
8973
  },
9195
- "default": "false",
9196
- "description": "Specify if Switch displays in a disabled state",
9197
- "fieldName": "disabled"
8974
+ "description": "The value attribute for the input element",
8975
+ "fieldName": "value"
9198
8976
  },
9199
8977
  {
9200
8978
  "name": "checked",
@@ -9202,47 +8980,48 @@
9202
8980
  "text": "boolean"
9203
8981
  },
9204
8982
  "default": "false",
8983
+ "description": "The checked attribute for the input element",
9205
8984
  "fieldName": "checked"
9206
8985
  },
9207
8986
  {
9208
- "name": "value",
8987
+ "name": "onKeyDown",
9209
8988
  "type": {
9210
- "text": "string | undefined"
8989
+ "text": "(event: KeyboardEvent) => void | undefined"
9211
8990
  },
9212
- "description": "The value attribute for the input element",
9213
- "fieldName": "value"
8991
+ "description": "A user-defined function to handle keydown events",
8992
+ "fieldName": "onKeyDown"
9214
8993
  }
9215
8994
  ],
9216
8995
  "superclass": {
9217
8996
  "name": "LitElement",
9218
8997
  "package": "lit"
9219
8998
  },
9220
- "tagName": "bm-switch",
8999
+ "tagName": "bm-radio-button",
9221
9000
  "customElement": true
9222
9001
  }
9223
9002
  ],
9224
9003
  "exports": [
9225
9004
  {
9226
9005
  "kind": "js",
9227
- "name": "BmSwitch",
9006
+ "name": "BmRadioButton",
9228
9007
  "declaration": {
9229
- "name": "BmSwitch",
9230
- "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9008
+ "name": "BmRadioButton",
9009
+ "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9231
9010
  }
9232
9011
  },
9233
9012
  {
9234
9013
  "kind": "custom-element-definition",
9235
- "name": "bm-switch",
9014
+ "name": "bm-radio-button",
9236
9015
  "declaration": {
9237
- "name": "BmSwitch",
9238
- "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9016
+ "name": "BmRadioButton",
9017
+ "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9239
9018
  }
9240
9019
  }
9241
9020
  ]
9242
9021
  },
9243
9022
  {
9244
9023
  "kind": "javascript-module",
9245
- "path": "libs/web-components/src/lib/wip/Switch/index.ts",
9024
+ "path": "libs/web-components/src/lib/wip/RadioButton/index.ts",
9246
9025
  "declarations": [],
9247
9026
  "exports": [
9248
9027
  {
@@ -9250,7 +9029,7 @@
9250
9029
  "name": "*",
9251
9030
  "declaration": {
9252
9031
  "name": "*",
9253
- "package": "./Switch"
9032
+ "package": "./RadioButton"
9254
9033
  }
9255
9034
  },
9256
9035
  {
@@ -9258,7 +9037,7 @@
9258
9037
  "name": "*",
9259
9038
  "declaration": {
9260
9039
  "name": "*",
9261
- "package": "./SwitchGroup/SwitchGroup"
9040
+ "package": "./RadioButtonGroup/RadioButtonGroup"
9262
9041
  }
9263
9042
  }
9264
9043
  ]
@@ -9778,6 +9557,227 @@
9778
9557
  }
9779
9558
  ]
9780
9559
  },
9560
+ {
9561
+ "kind": "javascript-module",
9562
+ "path": "libs/web-components/src/lib/wip/Switch/Switch.ts",
9563
+ "declarations": [
9564
+ {
9565
+ "kind": "class",
9566
+ "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element",
9567
+ "name": "BmSwitch",
9568
+ "slots": [
9569
+ {
9570
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9571
+ "name": "onText"
9572
+ },
9573
+ {
9574
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9575
+ "name": "offText"
9576
+ }
9577
+ ],
9578
+ "members": [
9579
+ {
9580
+ "kind": "field",
9581
+ "name": "inputChoiceGroupContext",
9582
+ "type": {
9583
+ "text": "InputChoiceGroupContextProps"
9584
+ }
9585
+ },
9586
+ {
9587
+ "kind": "field",
9588
+ "name": "onText",
9589
+ "type": {
9590
+ "text": "string | undefined"
9591
+ },
9592
+ "default": "undefined",
9593
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9594
+ "attribute": "onText"
9595
+ },
9596
+ {
9597
+ "kind": "field",
9598
+ "name": "offText",
9599
+ "type": {
9600
+ "text": "string | undefined"
9601
+ },
9602
+ "default": "undefined",
9603
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9604
+ "attribute": "offText"
9605
+ },
9606
+ {
9607
+ "kind": "field",
9608
+ "name": "theme",
9609
+ "type": {
9610
+ "text": "ThemeTypes | undefined"
9611
+ },
9612
+ "default": "undefined",
9613
+ "description": "Specify the theme of the Switch. By default it inherits the theme from the parent"
9614
+ },
9615
+ {
9616
+ "kind": "field",
9617
+ "name": "textPosition",
9618
+ "type": {
9619
+ "text": "'before' | 'after'"
9620
+ },
9621
+ "default": "'after'",
9622
+ "description": "Specify the position of the side label",
9623
+ "attribute": "textPosition"
9624
+ },
9625
+ {
9626
+ "kind": "field",
9627
+ "name": "readOnly",
9628
+ "type": {
9629
+ "text": "boolean"
9630
+ },
9631
+ "default": "false",
9632
+ "description": "Specify if Switch displays in a read-only state",
9633
+ "attribute": "readOnly"
9634
+ },
9635
+ {
9636
+ "kind": "field",
9637
+ "name": "disabled",
9638
+ "type": {
9639
+ "text": "boolean"
9640
+ },
9641
+ "default": "false",
9642
+ "description": "Specify if Switch displays in a disabled state",
9643
+ "attribute": "disabled"
9644
+ },
9645
+ {
9646
+ "kind": "field",
9647
+ "name": "checked",
9648
+ "type": {
9649
+ "text": "boolean"
9650
+ },
9651
+ "default": "false",
9652
+ "attribute": "checked"
9653
+ },
9654
+ {
9655
+ "kind": "field",
9656
+ "name": "value",
9657
+ "type": {
9658
+ "text": "string | undefined"
9659
+ },
9660
+ "description": "The value attribute for the input element",
9661
+ "attribute": "value"
9662
+ },
9663
+ {
9664
+ "kind": "field",
9665
+ "name": "switchRef"
9666
+ }
9667
+ ],
9668
+ "attributes": [
9669
+ {
9670
+ "name": "onText",
9671
+ "type": {
9672
+ "text": "string | undefined"
9673
+ },
9674
+ "default": "undefined",
9675
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9676
+ "fieldName": "onText"
9677
+ },
9678
+ {
9679
+ "name": "offText",
9680
+ "type": {
9681
+ "text": "string | undefined"
9682
+ },
9683
+ "default": "undefined",
9684
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9685
+ "fieldName": "offText"
9686
+ },
9687
+ {
9688
+ "name": "textPosition",
9689
+ "type": {
9690
+ "text": "'before' | 'after'"
9691
+ },
9692
+ "default": "'after'",
9693
+ "description": "Specify the position of the side label",
9694
+ "fieldName": "textPosition"
9695
+ },
9696
+ {
9697
+ "name": "readOnly",
9698
+ "type": {
9699
+ "text": "boolean"
9700
+ },
9701
+ "default": "false",
9702
+ "description": "Specify if Switch displays in a read-only state",
9703
+ "fieldName": "readOnly"
9704
+ },
9705
+ {
9706
+ "name": "disabled",
9707
+ "type": {
9708
+ "text": "boolean"
9709
+ },
9710
+ "default": "false",
9711
+ "description": "Specify if Switch displays in a disabled state",
9712
+ "fieldName": "disabled"
9713
+ },
9714
+ {
9715
+ "name": "checked",
9716
+ "type": {
9717
+ "text": "boolean"
9718
+ },
9719
+ "default": "false",
9720
+ "fieldName": "checked"
9721
+ },
9722
+ {
9723
+ "name": "value",
9724
+ "type": {
9725
+ "text": "string | undefined"
9726
+ },
9727
+ "description": "The value attribute for the input element",
9728
+ "fieldName": "value"
9729
+ }
9730
+ ],
9731
+ "superclass": {
9732
+ "name": "LitElement",
9733
+ "package": "lit"
9734
+ },
9735
+ "tagName": "bm-switch",
9736
+ "customElement": true
9737
+ }
9738
+ ],
9739
+ "exports": [
9740
+ {
9741
+ "kind": "js",
9742
+ "name": "BmSwitch",
9743
+ "declaration": {
9744
+ "name": "BmSwitch",
9745
+ "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9746
+ }
9747
+ },
9748
+ {
9749
+ "kind": "custom-element-definition",
9750
+ "name": "bm-switch",
9751
+ "declaration": {
9752
+ "name": "BmSwitch",
9753
+ "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9754
+ }
9755
+ }
9756
+ ]
9757
+ },
9758
+ {
9759
+ "kind": "javascript-module",
9760
+ "path": "libs/web-components/src/lib/wip/Switch/index.ts",
9761
+ "declarations": [],
9762
+ "exports": [
9763
+ {
9764
+ "kind": "js",
9765
+ "name": "*",
9766
+ "declaration": {
9767
+ "name": "*",
9768
+ "package": "./Switch"
9769
+ }
9770
+ },
9771
+ {
9772
+ "kind": "js",
9773
+ "name": "*",
9774
+ "declaration": {
9775
+ "name": "*",
9776
+ "package": "./SwitchGroup/SwitchGroup"
9777
+ }
9778
+ }
9779
+ ]
9780
+ },
9781
9781
  {
9782
9782
  "kind": "javascript-module",
9783
9783
  "path": "libs/web-components/src/lib/wip/Checkbox/CheckboxGroup/CheckboxGroup.ts",