@viasat/beam-web-components 2.38.0 → 2.39.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,26 +294,76 @@
294
294
  },
295
295
  {
296
296
  "kind": "javascript-module",
297
- "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
297
+ "path": "libs/web-components/src/lib/Alert/Alert.ts",
298
298
  "declarations": [
299
299
  {
300
300
  "kind": "class",
301
- "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",
302
- "name": "BmBadgeDot",
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",
303
303
  "slots": [
304
304
  {
305
- "description": "Provide text for the BadgeDot",
306
- "name": "default"
305
+ "description": "Specify a different icon for the Alert",
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"
307
319
  }
308
320
  ],
309
321
  "members": [
322
+ {
323
+ "kind": "field",
324
+ "name": "heading",
325
+ "type": {
326
+ "text": "string | undefined"
327
+ },
328
+ "description": "Specify the heading text for Alert",
329
+ "attribute": "heading"
330
+ },
331
+ {
332
+ "kind": "field",
333
+ "name": "body",
334
+ "type": {
335
+ "text": "string | undefined"
336
+ },
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"
349
+ },
350
+ {
351
+ "kind": "field",
352
+ "name": "fullWidth",
353
+ "type": {
354
+ "text": "boolean"
355
+ },
356
+ "default": "false",
357
+ "description": "Specify if the Alert has no border radius",
358
+ "attribute": "fullWidth"
359
+ },
310
360
  {
311
361
  "kind": "field",
312
362
  "name": "theme",
313
363
  "type": {
314
364
  "text": "'light' | 'dark' | undefined"
315
365
  },
316
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
366
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
317
367
  "attribute": "theme"
318
368
  },
319
369
  {
@@ -323,36 +373,107 @@
323
373
  "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
324
374
  },
325
375
  "default": "'infoPrimary'",
326
- "description": "Specify the appearance of the BadgeDot",
376
+ "description": "Specify the appearance of the Alert",
327
377
  "attribute": "appearance"
328
378
  },
329
379
  {
330
380
  "kind": "field",
331
- "name": "emphasis",
381
+ "name": "hidden",
332
382
  "type": {
333
- "text": "'strong' | 'subtle'"
383
+ "text": "boolean"
334
384
  },
335
- "default": "'strong'",
336
- "description": "Specify the emphasis of the BadgeDot",
337
- "attribute": "emphasis"
385
+ "default": "false",
386
+ "description": "Specify if the Alert is hidden",
387
+ "attribute": "hidden"
338
388
  },
339
389
  {
340
390
  "kind": "field",
341
- "name": "overrideDotColor",
391
+ "name": "hideIcon",
342
392
  "type": {
343
- "text": "string | undefined"
393
+ "text": "boolean"
344
394
  },
345
- "description": "Overrides default dot color",
346
- "attribute": "overrideDotColor"
395
+ "default": "false",
396
+ "description": "Specify if the icon displays on the Alert",
397
+ "attribute": "hideIcon"
398
+ },
399
+ {
400
+ "kind": "field",
401
+ "name": "dismissible",
402
+ "type": {
403
+ "text": "boolean"
404
+ },
405
+ "default": "false",
406
+ "description": "Specify if the Alert can be dismissed",
407
+ "attribute": "dismissible"
408
+ },
409
+ {
410
+ "kind": "field",
411
+ "name": "disableAutoFocus",
412
+ "type": {
413
+ "text": "boolean"
414
+ },
415
+ "default": "false",
416
+ "description": "Prevent autofocus on show",
417
+ "attribute": "disableAutoFocus"
418
+ },
419
+ {
420
+ "kind": "field",
421
+ "name": "disableCloseOnEscape",
422
+ "type": {
423
+ "text": "boolean"
424
+ },
425
+ "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"
347
434
  }
348
435
  ],
349
436
  "attributes": [
437
+ {
438
+ "name": "heading",
439
+ "type": {
440
+ "text": "string | undefined"
441
+ },
442
+ "description": "Specify the heading text for Alert",
443
+ "fieldName": "heading"
444
+ },
445
+ {
446
+ "name": "body",
447
+ "type": {
448
+ "text": "string | undefined"
449
+ },
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"
461
+ },
462
+ {
463
+ "name": "fullWidth",
464
+ "type": {
465
+ "text": "boolean"
466
+ },
467
+ "default": "false",
468
+ "description": "Specify if the Alert has no border radius",
469
+ "fieldName": "fullWidth"
470
+ },
350
471
  {
351
472
  "name": "theme",
352
473
  "type": {
353
474
  "text": "'light' | 'dark' | undefined"
354
475
  },
355
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
476
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
356
477
  "fieldName": "theme"
357
478
  },
358
479
  {
@@ -361,57 +482,85 @@
361
482
  "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
362
483
  },
363
484
  "default": "'infoPrimary'",
364
- "description": "Specify the appearance of the BadgeDot",
485
+ "description": "Specify the appearance of the Alert",
365
486
  "fieldName": "appearance"
366
487
  },
367
488
  {
368
- "name": "emphasis",
489
+ "name": "hidden",
369
490
  "type": {
370
- "text": "'strong' | 'subtle'"
491
+ "text": "boolean"
371
492
  },
372
- "default": "'strong'",
373
- "description": "Specify the emphasis of the BadgeDot",
374
- "fieldName": "emphasis"
493
+ "default": "false",
494
+ "description": "Specify if the Alert is hidden",
495
+ "fieldName": "hidden"
375
496
  },
376
497
  {
377
- "name": "overrideDotColor",
498
+ "name": "hideIcon",
378
499
  "type": {
379
- "text": "string | undefined"
500
+ "text": "boolean"
380
501
  },
381
- "description": "Overrides default dot color",
382
- "fieldName": "overrideDotColor"
502
+ "default": "false",
503
+ "description": "Specify if the icon displays on the Alert",
504
+ "fieldName": "hideIcon"
505
+ },
506
+ {
507
+ "name": "dismissible",
508
+ "type": {
509
+ "text": "boolean"
510
+ },
511
+ "default": "false",
512
+ "description": "Specify if the Alert can be dismissed",
513
+ "fieldName": "dismissible"
514
+ },
515
+ {
516
+ "name": "disableAutoFocus",
517
+ "type": {
518
+ "text": "boolean"
519
+ },
520
+ "default": "false",
521
+ "description": "Prevent autofocus on show",
522
+ "fieldName": "disableAutoFocus"
523
+ },
524
+ {
525
+ "name": "disableCloseOnEscape",
526
+ "type": {
527
+ "text": "boolean"
528
+ },
529
+ "default": "false",
530
+ "description": "Prevent Escape from closing",
531
+ "fieldName": "disableCloseOnEscape"
383
532
  }
384
533
  ],
385
534
  "superclass": {
386
535
  "name": "LitElement",
387
536
  "package": "lit"
388
537
  },
389
- "tagName": "bm-badge-dot",
538
+ "tagName": "bm-alert",
390
539
  "customElement": true
391
540
  }
392
541
  ],
393
542
  "exports": [
394
543
  {
395
544
  "kind": "js",
396
- "name": "BmBadgeDot",
545
+ "name": "BmAlert",
397
546
  "declaration": {
398
- "name": "BmBadgeDot",
399
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
547
+ "name": "BmAlert",
548
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
400
549
  }
401
550
  },
402
551
  {
403
552
  "kind": "custom-element-definition",
404
- "name": "bm-badge-dot",
553
+ "name": "bm-alert",
405
554
  "declaration": {
406
- "name": "BmBadgeDot",
407
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
555
+ "name": "BmAlert",
556
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
408
557
  }
409
558
  }
410
559
  ]
411
560
  },
412
561
  {
413
562
  "kind": "javascript-module",
414
- "path": "libs/web-components/src/lib/BadgeDot/index.ts",
563
+ "path": "libs/web-components/src/lib/Alert/index.ts",
415
564
  "declarations": [],
416
565
  "exports": [
417
566
  {
@@ -419,7 +568,7 @@
419
568
  "name": "*",
420
569
  "declaration": {
421
570
  "name": "*",
422
- "package": "./BadgeDot"
571
+ "package": "./Alert"
423
572
  }
424
573
  }
425
574
  ]
@@ -581,49 +730,181 @@
581
730
  },
582
731
  {
583
732
  "kind": "javascript-module",
584
- "path": "libs/web-components/src/lib/Box/Box.ts",
733
+ "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
585
734
  "declarations": [
586
735
  {
587
736
  "kind": "class",
588
- "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow",
589
- "name": "BmBox",
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",
590
739
  "slots": [
591
740
  {
592
- "description": "Provide content for the Box",
741
+ "description": "Provide text for the BadgeDot",
593
742
  "name": "default"
594
743
  }
595
744
  ],
596
745
  "members": [
597
746
  {
598
747
  "kind": "field",
599
- "name": "backgroundColor",
748
+ "name": "theme",
600
749
  "type": {
601
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
750
+ "text": "'light' | 'dark' | undefined"
602
751
  },
603
- "description": "Specify the background color of a Box",
604
- "attribute": "backgroundColor"
752
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
753
+ "attribute": "theme"
605
754
  },
606
755
  {
607
756
  "kind": "field",
608
- "name": "borderColor",
757
+ "name": "appearance",
609
758
  "type": {
610
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
759
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
611
760
  },
612
- "description": "Specify the border color of a Box",
613
- "attribute": "borderColor"
761
+ "default": "'infoPrimary'",
762
+ "description": "Specify the appearance of the BadgeDot",
763
+ "attribute": "appearance"
614
764
  },
615
765
  {
616
766
  "kind": "field",
617
- "name": "borderWidth",
767
+ "name": "emphasis",
618
768
  "type": {
619
- "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
769
+ "text": "'strong' | 'subtle'"
620
770
  },
621
- "description": "Specify the border width of a Box",
622
- "attribute": "borderWidth"
771
+ "default": "'strong'",
772
+ "description": "Specify the emphasis of the BadgeDot",
773
+ "attribute": "emphasis"
623
774
  },
624
775
  {
625
776
  "kind": "field",
626
- "name": "borderRadius",
777
+ "name": "overrideDotColor",
778
+ "type": {
779
+ "text": "string | undefined"
780
+ },
781
+ "description": "Overrides default dot color",
782
+ "attribute": "overrideDotColor"
783
+ }
784
+ ],
785
+ "attributes": [
786
+ {
787
+ "name": "theme",
788
+ "type": {
789
+ "text": "'light' | 'dark' | undefined"
790
+ },
791
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
792
+ "fieldName": "theme"
793
+ },
794
+ {
795
+ "name": "appearance",
796
+ "type": {
797
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
798
+ },
799
+ "default": "'infoPrimary'",
800
+ "description": "Specify the appearance of the BadgeDot",
801
+ "fieldName": "appearance"
802
+ },
803
+ {
804
+ "name": "emphasis",
805
+ "type": {
806
+ "text": "'strong' | 'subtle'"
807
+ },
808
+ "default": "'strong'",
809
+ "description": "Specify the emphasis of the BadgeDot",
810
+ "fieldName": "emphasis"
811
+ },
812
+ {
813
+ "name": "overrideDotColor",
814
+ "type": {
815
+ "text": "string | undefined"
816
+ },
817
+ "description": "Overrides default dot color",
818
+ "fieldName": "overrideDotColor"
819
+ }
820
+ ],
821
+ "superclass": {
822
+ "name": "LitElement",
823
+ "package": "lit"
824
+ },
825
+ "tagName": "bm-badge-dot",
826
+ "customElement": true
827
+ }
828
+ ],
829
+ "exports": [
830
+ {
831
+ "kind": "js",
832
+ "name": "BmBadgeDot",
833
+ "declaration": {
834
+ "name": "BmBadgeDot",
835
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
836
+ }
837
+ },
838
+ {
839
+ "kind": "custom-element-definition",
840
+ "name": "bm-badge-dot",
841
+ "declaration": {
842
+ "name": "BmBadgeDot",
843
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
844
+ }
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "kind": "javascript-module",
850
+ "path": "libs/web-components/src/lib/BadgeDot/index.ts",
851
+ "declarations": [],
852
+ "exports": [
853
+ {
854
+ "kind": "js",
855
+ "name": "*",
856
+ "declaration": {
857
+ "name": "*",
858
+ "package": "./BadgeDot"
859
+ }
860
+ }
861
+ ]
862
+ },
863
+ {
864
+ "kind": "javascript-module",
865
+ "path": "libs/web-components/src/lib/Box/Box.ts",
866
+ "declarations": [
867
+ {
868
+ "kind": "class",
869
+ "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow",
870
+ "name": "BmBox",
871
+ "slots": [
872
+ {
873
+ "description": "Provide content for the Box",
874
+ "name": "default"
875
+ }
876
+ ],
877
+ "members": [
878
+ {
879
+ "kind": "field",
880
+ "name": "backgroundColor",
881
+ "type": {
882
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
883
+ },
884
+ "description": "Specify the background color of a Box",
885
+ "attribute": "backgroundColor"
886
+ },
887
+ {
888
+ "kind": "field",
889
+ "name": "borderColor",
890
+ "type": {
891
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
892
+ },
893
+ "description": "Specify the border color of a Box",
894
+ "attribute": "borderColor"
895
+ },
896
+ {
897
+ "kind": "field",
898
+ "name": "borderWidth",
899
+ "type": {
900
+ "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
901
+ },
902
+ "description": "Specify the border width of a Box",
903
+ "attribute": "borderWidth"
904
+ },
905
+ {
906
+ "kind": "field",
907
+ "name": "borderRadius",
627
908
  "type": {
628
909
  "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
629
910
  },
@@ -1283,557 +1564,698 @@
1283
1564
  },
1284
1565
  {
1285
1566
  "kind": "javascript-module",
1286
- "path": "libs/web-components/src/lib/Avatar/Avatar.ts",
1567
+ "path": "libs/web-components/src/lib/Button/Button.ts",
1287
1568
  "declarations": [
1288
1569
  {
1289
1570
  "kind": "class",
1290
- "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** ",
1291
- "name": "BmAvatar",
1571
+ "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1572
+ "name": "BmButton",
1292
1573
  "slots": [
1293
1574
  {
1294
- "description": "Customize the default icon",
1295
- "name": "icon"
1575
+ "description": "Provide content for the Button",
1576
+ "name": "default"
1577
+ },
1578
+ {
1579
+ "description": "Specify if the Button displays icon before the text",
1580
+ "name": "iconBefore"
1581
+ },
1582
+ {
1583
+ "description": "Specify if the Button displays icon after the text",
1584
+ "name": "iconAfter"
1296
1585
  }
1297
1586
  ],
1298
1587
  "members": [
1299
1588
  {
1300
1589
  "kind": "field",
1301
- "name": "appearance",
1302
- "type": {
1303
- "text": "'accent' | 'neutral' | undefined"
1304
- },
1305
- "default": "'neutral'",
1306
- "description": "Specify the appearance of the Avatar",
1307
- "attribute": "appearance"
1308
- },
1309
- {
1310
- "kind": "field",
1311
- "name": "name",
1590
+ "name": "formAssociated",
1312
1591
  "type": {
1313
- "text": "string | undefined"
1592
+ "text": "boolean"
1314
1593
  },
1315
- "description": "Specify a name to display initials in the Avatar",
1316
- "attribute": "name"
1594
+ "static": true,
1595
+ "default": "true"
1317
1596
  },
1318
1597
  {
1319
1598
  "kind": "field",
1320
- "name": "src",
1599
+ "name": "appearance",
1321
1600
  "type": {
1322
- "text": "string | undefined"
1601
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1323
1602
  },
1324
- "description": "Pass an image to the Avatar",
1325
- "attribute": "src"
1603
+ "default": "'accent'",
1604
+ "description": "Specify the appearance of a Button",
1605
+ "attribute": "appearance"
1326
1606
  },
1327
1607
  {
1328
1608
  "kind": "field",
1329
- "name": "alt",
1609
+ "name": "kind",
1330
1610
  "type": {
1331
- "text": "string | undefined"
1611
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1332
1612
  },
1333
- "description": "Specify alt for image",
1334
- "attribute": "alt"
1613
+ "default": "'filled'",
1614
+ "description": "Specify the kind of Button",
1615
+ "attribute": "kind"
1335
1616
  },
1336
1617
  {
1337
1618
  "kind": "field",
1338
1619
  "name": "size",
1339
1620
  "type": {
1340
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
1621
+ "text": "'sm' | 'md' | 'lg'"
1341
1622
  },
1342
1623
  "default": "'md'",
1343
- "description": "Specify the size of the Avatar",
1624
+ "description": "Specify the size of a Button",
1344
1625
  "attribute": "size"
1345
1626
  },
1346
1627
  {
1347
1628
  "kind": "field",
1348
1629
  "name": "disabled",
1349
1630
  "type": {
1350
- "text": "boolean | undefined"
1631
+ "text": "boolean"
1351
1632
  },
1352
1633
  "default": "false",
1353
- "description": "Specify if the Avatar is disabled",
1634
+ "description": "Specify if the Button is disabled",
1354
1635
  "attribute": "disabled"
1355
1636
  },
1356
1637
  {
1357
1638
  "kind": "field",
1358
- "name": "shape",
1639
+ "name": "fluid",
1359
1640
  "type": {
1360
- "text": "'circle' | 'square' | undefined"
1641
+ "text": "boolean"
1361
1642
  },
1362
- "default": "'circle'",
1363
- "description": "Specify the shape of the Avatar",
1364
- "attribute": "shape"
1643
+ "default": "false",
1644
+ "description": "Specify if Button is fluid",
1645
+ "attribute": "fluid"
1365
1646
  },
1366
1647
  {
1367
1648
  "kind": "field",
1368
- "name": "isInteractive",
1649
+ "name": "width",
1369
1650
  "type": {
1370
- "text": "boolean"
1651
+ "text": "string | undefined"
1371
1652
  },
1372
- "default": "false",
1373
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
1374
- "attribute": "isInteractive"
1653
+ "description": "Specify the width of a Button",
1654
+ "attribute": "width"
1375
1655
  },
1376
1656
  {
1377
1657
  "kind": "field",
1378
- "name": "isFocusable",
1658
+ "name": "height",
1379
1659
  "type": {
1380
- "text": "boolean"
1660
+ "text": "string | undefined"
1381
1661
  },
1382
- "default": "false",
1383
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
1384
- "attribute": "isFocusable"
1662
+ "description": "Specify the height of a Button",
1663
+ "attribute": "height"
1385
1664
  },
1386
1665
  {
1387
1666
  "kind": "field",
1388
- "name": "withBorder",
1667
+ "name": "theme",
1389
1668
  "type": {
1390
- "text": "boolean"
1669
+ "text": "'light' | 'dark' | undefined"
1391
1670
  },
1392
- "default": "false",
1393
- "attribute": "withBorder"
1394
- }
1395
- ],
1396
- "attributes": [
1671
+ "description": "Specify the theme of the Button",
1672
+ "attribute": "theme"
1673
+ },
1397
1674
  {
1398
- "name": "appearance",
1675
+ "kind": "field",
1676
+ "name": "iconOnly",
1399
1677
  "type": {
1400
- "text": "'accent' | 'neutral' | undefined"
1678
+ "text": "boolean | undefined"
1401
1679
  },
1402
- "default": "'neutral'",
1403
- "description": "Specify the appearance of the Avatar",
1404
- "fieldName": "appearance"
1680
+ "description": "Specify if the icon displays without text",
1681
+ "attribute": "iconOnly"
1405
1682
  },
1406
1683
  {
1407
- "name": "name",
1684
+ "kind": "field",
1685
+ "name": "type",
1408
1686
  "type": {
1409
- "text": "string | undefined"
1687
+ "text": "string"
1410
1688
  },
1411
- "description": "Specify a name to display initials in the Avatar",
1412
- "fieldName": "name"
1689
+ "default": "'button'",
1690
+ "attribute": "type"
1413
1691
  },
1414
1692
  {
1415
- "name": "src",
1693
+ "kind": "field",
1694
+ "name": "formContext",
1416
1695
  "type": {
1417
- "text": "string | undefined"
1696
+ "text": "BmFormContext"
1697
+ }
1698
+ }
1699
+ ],
1700
+ "attributes": [
1701
+ {
1702
+ "name": "appearance",
1703
+ "type": {
1704
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1418
1705
  },
1419
- "description": "Pass an image to the Avatar",
1420
- "fieldName": "src"
1706
+ "default": "'accent'",
1707
+ "description": "Specify the appearance of a Button",
1708
+ "fieldName": "appearance"
1421
1709
  },
1422
1710
  {
1423
- "name": "alt",
1711
+ "name": "kind",
1424
1712
  "type": {
1425
- "text": "string | undefined"
1713
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1426
1714
  },
1427
- "description": "Specify alt for image",
1428
- "fieldName": "alt"
1715
+ "default": "'filled'",
1716
+ "description": "Specify the kind of Button",
1717
+ "fieldName": "kind"
1429
1718
  },
1430
1719
  {
1431
1720
  "name": "size",
1432
1721
  "type": {
1433
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
1722
+ "text": "'sm' | 'md' | 'lg'"
1434
1723
  },
1435
1724
  "default": "'md'",
1436
- "description": "Specify the size of the Avatar",
1725
+ "description": "Specify the size of a Button",
1437
1726
  "fieldName": "size"
1438
1727
  },
1439
1728
  {
1440
1729
  "name": "disabled",
1441
1730
  "type": {
1442
- "text": "boolean | undefined"
1731
+ "text": "boolean"
1443
1732
  },
1444
1733
  "default": "false",
1445
- "description": "Specify if the Avatar is disabled",
1734
+ "description": "Specify if the Button is disabled",
1446
1735
  "fieldName": "disabled"
1447
1736
  },
1448
1737
  {
1449
- "name": "shape",
1738
+ "name": "fluid",
1450
1739
  "type": {
1451
- "text": "'circle' | 'square' | undefined"
1740
+ "text": "boolean"
1452
1741
  },
1453
- "default": "'circle'",
1454
- "description": "Specify the shape of the Avatar",
1455
- "fieldName": "shape"
1742
+ "default": "false",
1743
+ "description": "Specify if Button is fluid",
1744
+ "fieldName": "fluid"
1456
1745
  },
1457
1746
  {
1458
- "name": "isInteractive",
1747
+ "name": "width",
1459
1748
  "type": {
1460
- "text": "boolean"
1749
+ "text": "string | undefined"
1461
1750
  },
1462
- "default": "false",
1463
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
1464
- "fieldName": "isInteractive"
1751
+ "description": "Specify the width of a Button",
1752
+ "fieldName": "width"
1465
1753
  },
1466
1754
  {
1467
- "name": "isFocusable",
1755
+ "name": "height",
1468
1756
  "type": {
1469
- "text": "boolean"
1757
+ "text": "string | undefined"
1470
1758
  },
1471
- "default": "false",
1472
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
1473
- "fieldName": "isFocusable"
1759
+ "description": "Specify the height of a Button",
1760
+ "fieldName": "height"
1474
1761
  },
1475
1762
  {
1476
- "name": "withBorder",
1763
+ "name": "theme",
1477
1764
  "type": {
1478
- "text": "boolean"
1765
+ "text": "'light' | 'dark' | undefined"
1479
1766
  },
1480
- "default": "false",
1481
- "fieldName": "withBorder"
1767
+ "description": "Specify the theme of the Button",
1768
+ "fieldName": "theme"
1769
+ },
1770
+ {
1771
+ "name": "iconOnly",
1772
+ "type": {
1773
+ "text": "boolean | undefined"
1774
+ },
1775
+ "description": "Specify if the icon displays without text",
1776
+ "fieldName": "iconOnly"
1777
+ },
1778
+ {
1779
+ "name": "type",
1780
+ "type": {
1781
+ "text": "string"
1782
+ },
1783
+ "default": "'button'",
1784
+ "fieldName": "type"
1482
1785
  }
1483
1786
  ],
1484
1787
  "superclass": {
1485
1788
  "name": "LitElement",
1486
1789
  "package": "lit"
1487
1790
  },
1488
- "tagName": "bm-avatar",
1791
+ "tagName": "bm-button",
1489
1792
  "customElement": true
1490
1793
  }
1491
1794
  ],
1492
1795
  "exports": [
1493
1796
  {
1494
1797
  "kind": "js",
1495
- "name": "BmAvatar",
1798
+ "name": "BmButton",
1496
1799
  "declaration": {
1497
- "name": "BmAvatar",
1498
- "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
1800
+ "name": "BmButton",
1801
+ "module": "libs/web-components/src/lib/Button/Button.ts"
1499
1802
  }
1500
1803
  },
1501
1804
  {
1502
1805
  "kind": "custom-element-definition",
1503
- "name": "bm-avatar",
1806
+ "name": "bm-button",
1504
1807
  "declaration": {
1505
- "name": "BmAvatar",
1506
- "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
1808
+ "name": "BmButton",
1809
+ "module": "libs/web-components/src/lib/Button/Button.ts"
1507
1810
  }
1508
1811
  }
1509
1812
  ]
1510
1813
  },
1511
1814
  {
1512
1815
  "kind": "javascript-module",
1513
- "path": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts",
1514
- "declarations": [
1515
- {
1516
- "kind": "variable",
1517
- "name": "AvatarGroupCtx"
1518
- }
1519
- ],
1816
+ "path": "libs/web-components/src/lib/Button/index.ts",
1817
+ "declarations": [],
1520
1818
  "exports": [
1521
1819
  {
1522
1820
  "kind": "js",
1523
- "name": "AvatarGroupCtx",
1821
+ "name": "*",
1524
1822
  "declaration": {
1525
- "name": "AvatarGroupCtx",
1526
- "module": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts"
1823
+ "name": "*",
1824
+ "package": "./Button"
1527
1825
  }
1528
1826
  }
1529
1827
  ]
1530
1828
  },
1531
1829
  {
1532
1830
  "kind": "javascript-module",
1533
- "path": "libs/web-components/src/lib/Avatar/AvatarGroup.ts",
1831
+ "path": "libs/web-components/src/lib/Avatar/Avatar.ts",
1534
1832
  "declarations": [
1535
1833
  {
1536
1834
  "kind": "class",
1537
- "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.",
1538
- "name": "BmAvatarGroup",
1835
+ "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** ",
1836
+ "name": "BmAvatar",
1539
1837
  "slots": [
1540
1838
  {
1541
- "description": "Add Avatars to create a group",
1542
- "name": "default"
1839
+ "description": "Customize the default icon",
1840
+ "name": "icon"
1543
1841
  }
1544
1842
  ],
1545
1843
  "members": [
1546
1844
  {
1547
1845
  "kind": "field",
1548
- "name": "wrapping",
1846
+ "name": "appearance",
1549
1847
  "type": {
1550
- "text": "boolean"
1848
+ "text": "'accent' | 'neutral' | undefined"
1551
1849
  },
1552
- "default": "false",
1553
- "description": "Specify if the AvatarGroup wraps",
1554
- "attribute": "wrapping"
1850
+ "default": "'neutral'",
1851
+ "description": "Specify the appearance of the Avatar",
1852
+ "attribute": "appearance"
1555
1853
  },
1556
1854
  {
1557
1855
  "kind": "field",
1558
- "name": "maxCount",
1856
+ "name": "name",
1559
1857
  "type": {
1560
- "text": "number"
1858
+ "text": "string | undefined"
1561
1859
  },
1562
- "default": "5",
1563
- "description": "Specify the max number of avatars displayed in the group.",
1564
- "attribute": "maxCount",
1565
- "reflects": true
1860
+ "description": "Specify a name to display initials in the Avatar",
1861
+ "attribute": "name"
1862
+ },
1863
+ {
1864
+ "kind": "field",
1865
+ "name": "src",
1866
+ "type": {
1867
+ "text": "string | undefined"
1868
+ },
1869
+ "description": "Pass an image to the Avatar",
1870
+ "attribute": "src"
1871
+ },
1872
+ {
1873
+ "kind": "field",
1874
+ "name": "alt",
1875
+ "type": {
1876
+ "text": "string | undefined"
1877
+ },
1878
+ "description": "Specify alt for image",
1879
+ "attribute": "alt"
1566
1880
  },
1567
1881
  {
1568
1882
  "kind": "field",
1569
1883
  "name": "size",
1570
1884
  "type": {
1571
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1885
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
1572
1886
  },
1573
1887
  "default": "'md'",
1574
- "description": "Specify the size of all Avatars",
1888
+ "description": "Specify the size of the Avatar",
1575
1889
  "attribute": "size"
1576
1890
  },
1577
1891
  {
1578
1892
  "kind": "field",
1579
- "name": "layout",
1893
+ "name": "disabled",
1580
1894
  "type": {
1581
- "text": "'stacked' | 'spaced' | undefined"
1895
+ "text": "boolean | undefined"
1582
1896
  },
1583
- "default": "'stacked'",
1584
- "description": "Specify the kind of the group.",
1585
- "attribute": "layout"
1897
+ "default": "false",
1898
+ "description": "Specify if the Avatar is disabled",
1899
+ "attribute": "disabled"
1900
+ },
1901
+ {
1902
+ "kind": "field",
1903
+ "name": "shape",
1904
+ "type": {
1905
+ "text": "'circle' | 'square' | undefined"
1906
+ },
1907
+ "default": "'circle'",
1908
+ "description": "Specify the shape of the Avatar",
1909
+ "attribute": "shape"
1910
+ },
1911
+ {
1912
+ "kind": "field",
1913
+ "name": "isInteractive",
1914
+ "type": {
1915
+ "text": "boolean"
1916
+ },
1917
+ "default": "false",
1918
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
1919
+ "attribute": "isInteractive"
1920
+ },
1921
+ {
1922
+ "kind": "field",
1923
+ "name": "isFocusable",
1924
+ "type": {
1925
+ "text": "boolean"
1926
+ },
1927
+ "default": "false",
1928
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
1929
+ "attribute": "isFocusable"
1930
+ },
1931
+ {
1932
+ "kind": "field",
1933
+ "name": "withBorder",
1934
+ "type": {
1935
+ "text": "boolean"
1936
+ },
1937
+ "default": "false",
1938
+ "attribute": "withBorder"
1586
1939
  }
1587
1940
  ],
1588
1941
  "attributes": [
1589
1942
  {
1590
- "name": "wrapping",
1943
+ "name": "appearance",
1591
1944
  "type": {
1592
- "text": "boolean"
1945
+ "text": "'accent' | 'neutral' | undefined"
1593
1946
  },
1594
- "default": "false",
1595
- "description": "Specify if the AvatarGroup wraps",
1596
- "fieldName": "wrapping"
1947
+ "default": "'neutral'",
1948
+ "description": "Specify the appearance of the Avatar",
1949
+ "fieldName": "appearance"
1597
1950
  },
1598
1951
  {
1599
- "name": "maxCount",
1952
+ "name": "name",
1600
1953
  "type": {
1601
- "text": "number"
1954
+ "text": "string | undefined"
1602
1955
  },
1603
- "default": "5",
1604
- "description": "Specify the max number of avatars displayed in the group.",
1605
- "fieldName": "maxCount"
1956
+ "description": "Specify a name to display initials in the Avatar",
1957
+ "fieldName": "name"
1958
+ },
1959
+ {
1960
+ "name": "src",
1961
+ "type": {
1962
+ "text": "string | undefined"
1963
+ },
1964
+ "description": "Pass an image to the Avatar",
1965
+ "fieldName": "src"
1966
+ },
1967
+ {
1968
+ "name": "alt",
1969
+ "type": {
1970
+ "text": "string | undefined"
1971
+ },
1972
+ "description": "Specify alt for image",
1973
+ "fieldName": "alt"
1606
1974
  },
1607
1975
  {
1608
1976
  "name": "size",
1609
1977
  "type": {
1610
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1978
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
1611
1979
  },
1612
1980
  "default": "'md'",
1613
- "description": "Specify the size of all Avatars",
1981
+ "description": "Specify the size of the Avatar",
1614
1982
  "fieldName": "size"
1615
1983
  },
1616
1984
  {
1617
- "name": "layout",
1985
+ "name": "disabled",
1618
1986
  "type": {
1619
- "text": "'stacked' | 'spaced' | undefined"
1987
+ "text": "boolean | undefined"
1620
1988
  },
1621
- "default": "'stacked'",
1622
- "description": "Specify the kind of the group.",
1623
- "fieldName": "layout"
1989
+ "default": "false",
1990
+ "description": "Specify if the Avatar is disabled",
1991
+ "fieldName": "disabled"
1992
+ },
1993
+ {
1994
+ "name": "shape",
1995
+ "type": {
1996
+ "text": "'circle' | 'square' | undefined"
1997
+ },
1998
+ "default": "'circle'",
1999
+ "description": "Specify the shape of the Avatar",
2000
+ "fieldName": "shape"
2001
+ },
2002
+ {
2003
+ "name": "isInteractive",
2004
+ "type": {
2005
+ "text": "boolean"
2006
+ },
2007
+ "default": "false",
2008
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
2009
+ "fieldName": "isInteractive"
2010
+ },
2011
+ {
2012
+ "name": "isFocusable",
2013
+ "type": {
2014
+ "text": "boolean"
2015
+ },
2016
+ "default": "false",
2017
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
2018
+ "fieldName": "isFocusable"
2019
+ },
2020
+ {
2021
+ "name": "withBorder",
2022
+ "type": {
2023
+ "text": "boolean"
2024
+ },
2025
+ "default": "false",
2026
+ "fieldName": "withBorder"
1624
2027
  }
1625
2028
  ],
1626
2029
  "superclass": {
1627
2030
  "name": "LitElement",
1628
2031
  "package": "lit"
1629
2032
  },
1630
- "tagName": "bm-avatar-group",
2033
+ "tagName": "bm-avatar",
1631
2034
  "customElement": true
1632
2035
  }
1633
2036
  ],
1634
2037
  "exports": [
1635
2038
  {
1636
2039
  "kind": "js",
1637
- "name": "BmAvatarGroup",
2040
+ "name": "BmAvatar",
1638
2041
  "declaration": {
1639
- "name": "BmAvatarGroup",
1640
- "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
2042
+ "name": "BmAvatar",
2043
+ "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
1641
2044
  }
1642
2045
  },
1643
2046
  {
1644
2047
  "kind": "custom-element-definition",
1645
- "name": "bm-avatar-group",
2048
+ "name": "bm-avatar",
1646
2049
  "declaration": {
1647
- "name": "BmAvatarGroup",
1648
- "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
2050
+ "name": "BmAvatar",
2051
+ "module": "libs/web-components/src/lib/Avatar/Avatar.ts"
1649
2052
  }
1650
2053
  }
1651
2054
  ]
1652
2055
  },
1653
2056
  {
1654
2057
  "kind": "javascript-module",
1655
- "path": "libs/web-components/src/lib/Avatar/index.ts",
1656
- "declarations": [],
1657
- "exports": [
2058
+ "path": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts",
2059
+ "declarations": [
1658
2060
  {
1659
- "kind": "js",
1660
- "name": "*",
1661
- "declaration": {
1662
- "name": "*",
1663
- "package": "./Avatar"
1664
- }
1665
- },
2061
+ "kind": "variable",
2062
+ "name": "AvatarGroupCtx"
2063
+ }
2064
+ ],
2065
+ "exports": [
1666
2066
  {
1667
2067
  "kind": "js",
1668
- "name": "*",
2068
+ "name": "AvatarGroupCtx",
1669
2069
  "declaration": {
1670
- "name": "*",
1671
- "package": "./AvatarGroup"
2070
+ "name": "AvatarGroupCtx",
2071
+ "module": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts"
1672
2072
  }
1673
2073
  }
1674
2074
  ]
1675
2075
  },
1676
2076
  {
1677
2077
  "kind": "javascript-module",
1678
- "path": "libs/web-components/src/lib/Button/Button.ts",
2078
+ "path": "libs/web-components/src/lib/Avatar/AvatarGroup.ts",
1679
2079
  "declarations": [
1680
2080
  {
1681
2081
  "kind": "class",
1682
- "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1683
- "name": "BmButton",
2082
+ "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.",
2083
+ "name": "BmAvatarGroup",
1684
2084
  "slots": [
1685
2085
  {
1686
- "description": "Provide content for the Button",
2086
+ "description": "Add Avatars to create a group",
1687
2087
  "name": "default"
1688
- },
1689
- {
1690
- "description": "Specify if the Button displays icon before the text",
1691
- "name": "iconBefore"
1692
- },
1693
- {
1694
- "description": "Specify if the Button displays icon after the text",
1695
- "name": "iconAfter"
1696
2088
  }
1697
2089
  ],
1698
2090
  "members": [
1699
2091
  {
1700
2092
  "kind": "field",
1701
- "name": "formAssociated",
2093
+ "name": "wrapping",
1702
2094
  "type": {
1703
2095
  "text": "boolean"
1704
2096
  },
1705
- "static": true,
1706
- "default": "true"
1707
- },
1708
- {
1709
- "kind": "field",
1710
- "name": "appearance",
1711
- "type": {
1712
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1713
- },
1714
- "default": "'accent'",
1715
- "description": "Specify the appearance of a Button",
1716
- "attribute": "appearance"
2097
+ "default": "false",
2098
+ "description": "Specify if the AvatarGroup wraps",
2099
+ "attribute": "wrapping"
1717
2100
  },
1718
2101
  {
1719
2102
  "kind": "field",
1720
- "name": "kind",
2103
+ "name": "maxCount",
1721
2104
  "type": {
1722
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
2105
+ "text": "number"
1723
2106
  },
1724
- "default": "'filled'",
1725
- "description": "Specify the kind of Button",
1726
- "attribute": "kind"
2107
+ "default": "5",
2108
+ "description": "Specify the max number of avatars displayed in the group.",
2109
+ "attribute": "maxCount",
2110
+ "reflects": true
1727
2111
  },
1728
2112
  {
1729
2113
  "kind": "field",
1730
2114
  "name": "size",
1731
2115
  "type": {
1732
- "text": "'sm' | 'md' | 'lg'"
2116
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1733
2117
  },
1734
2118
  "default": "'md'",
1735
- "description": "Specify the size of a Button",
2119
+ "description": "Specify the size of all Avatars",
1736
2120
  "attribute": "size"
1737
2121
  },
1738
2122
  {
1739
2123
  "kind": "field",
1740
- "name": "disabled",
2124
+ "name": "layout",
1741
2125
  "type": {
1742
- "text": "boolean"
2126
+ "text": "'stacked' | 'spaced' | undefined"
1743
2127
  },
1744
- "default": "false",
1745
- "description": "Specify if the Button is disabled",
1746
- "attribute": "disabled"
1747
- },
2128
+ "default": "'stacked'",
2129
+ "description": "Specify the kind of the group.",
2130
+ "attribute": "layout"
2131
+ }
2132
+ ],
2133
+ "attributes": [
1748
2134
  {
1749
- "kind": "field",
1750
- "name": "fluid",
2135
+ "name": "wrapping",
1751
2136
  "type": {
1752
2137
  "text": "boolean"
1753
2138
  },
1754
2139
  "default": "false",
1755
- "description": "Specify if Button is fluid",
1756
- "attribute": "fluid"
2140
+ "description": "Specify if the AvatarGroup wraps",
2141
+ "fieldName": "wrapping"
1757
2142
  },
1758
2143
  {
1759
- "kind": "field",
1760
- "name": "width",
2144
+ "name": "maxCount",
1761
2145
  "type": {
1762
- "text": "string | undefined"
2146
+ "text": "number"
1763
2147
  },
1764
- "description": "Specify the width of a Button",
1765
- "attribute": "width"
2148
+ "default": "5",
2149
+ "description": "Specify the max number of avatars displayed in the group.",
2150
+ "fieldName": "maxCount"
1766
2151
  },
1767
2152
  {
1768
- "kind": "field",
1769
- "name": "height",
2153
+ "name": "size",
1770
2154
  "type": {
1771
- "text": "string | undefined"
2155
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1772
2156
  },
1773
- "description": "Specify the height of a Button",
1774
- "attribute": "height"
2157
+ "default": "'md'",
2158
+ "description": "Specify the size of all Avatars",
2159
+ "fieldName": "size"
1775
2160
  },
1776
2161
  {
1777
- "kind": "field",
1778
- "name": "theme",
2162
+ "name": "layout",
1779
2163
  "type": {
1780
- "text": "'light' | 'dark' | undefined"
2164
+ "text": "'stacked' | 'spaced' | undefined"
1781
2165
  },
1782
- "description": "Specify the theme of the Button",
1783
- "attribute": "theme"
1784
- },
2166
+ "default": "'stacked'",
2167
+ "description": "Specify the kind of the group.",
2168
+ "fieldName": "layout"
2169
+ }
2170
+ ],
2171
+ "superclass": {
2172
+ "name": "LitElement",
2173
+ "package": "lit"
2174
+ },
2175
+ "tagName": "bm-avatar-group",
2176
+ "customElement": true
2177
+ }
2178
+ ],
2179
+ "exports": [
2180
+ {
2181
+ "kind": "js",
2182
+ "name": "BmAvatarGroup",
2183
+ "declaration": {
2184
+ "name": "BmAvatarGroup",
2185
+ "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
2186
+ }
2187
+ },
2188
+ {
2189
+ "kind": "custom-element-definition",
2190
+ "name": "bm-avatar-group",
2191
+ "declaration": {
2192
+ "name": "BmAvatarGroup",
2193
+ "module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
2194
+ }
2195
+ }
2196
+ ]
2197
+ },
2198
+ {
2199
+ "kind": "javascript-module",
2200
+ "path": "libs/web-components/src/lib/Avatar/index.ts",
2201
+ "declarations": [],
2202
+ "exports": [
2203
+ {
2204
+ "kind": "js",
2205
+ "name": "*",
2206
+ "declaration": {
2207
+ "name": "*",
2208
+ "package": "./Avatar"
2209
+ }
2210
+ },
2211
+ {
2212
+ "kind": "js",
2213
+ "name": "*",
2214
+ "declaration": {
2215
+ "name": "*",
2216
+ "package": "./AvatarGroup"
2217
+ }
2218
+ }
2219
+ ]
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": [
1785
2230
  {
1786
2231
  "kind": "field",
1787
- "name": "iconOnly",
2232
+ "name": "size",
1788
2233
  "type": {
1789
- "text": "boolean | undefined"
2234
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1790
2235
  },
1791
- "description": "Specify if the icon displays without text",
1792
- "attribute": "iconOnly"
2236
+ "default": "'md'",
2237
+ "description": "Specify the size of the CloseButton",
2238
+ "attribute": "size"
1793
2239
  },
1794
2240
  {
1795
2241
  "kind": "field",
1796
- "name": "type",
2242
+ "name": "disabled",
1797
2243
  "type": {
1798
- "text": "string"
2244
+ "text": "boolean"
1799
2245
  },
1800
- "default": "'button'",
1801
- "attribute": "type"
1802
- },
1803
- {
1804
- "kind": "field",
1805
- "name": "formContext",
1806
- "type": {
1807
- "text": "BmFormContext"
1808
- }
2246
+ "default": "false",
2247
+ "description": "Specify if the CloseButton is disabled",
2248
+ "attribute": "disabled"
1809
2249
  }
1810
2250
  ],
1811
2251
  "attributes": [
1812
- {
1813
- "name": "appearance",
1814
- "type": {
1815
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1816
- },
1817
- "default": "'accent'",
1818
- "description": "Specify the appearance of a Button",
1819
- "fieldName": "appearance"
1820
- },
1821
- {
1822
- "name": "kind",
1823
- "type": {
1824
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1825
- },
1826
- "default": "'filled'",
1827
- "description": "Specify the kind of Button",
1828
- "fieldName": "kind"
1829
- },
1830
2252
  {
1831
2253
  "name": "size",
1832
2254
  "type": {
1833
- "text": "'sm' | 'md' | 'lg'"
2255
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1834
2256
  },
1835
2257
  "default": "'md'",
1836
- "description": "Specify the size of a Button",
2258
+ "description": "Specify the size of the CloseButton",
1837
2259
  "fieldName": "size"
1838
2260
  },
1839
2261
  {
@@ -1842,89 +2264,40 @@
1842
2264
  "text": "boolean"
1843
2265
  },
1844
2266
  "default": "false",
1845
- "description": "Specify if the Button is disabled",
2267
+ "description": "Specify if the CloseButton is disabled",
1846
2268
  "fieldName": "disabled"
1847
- },
1848
- {
1849
- "name": "fluid",
1850
- "type": {
1851
- "text": "boolean"
1852
- },
1853
- "default": "false",
1854
- "description": "Specify if Button is fluid",
1855
- "fieldName": "fluid"
1856
- },
1857
- {
1858
- "name": "width",
1859
- "type": {
1860
- "text": "string | undefined"
1861
- },
1862
- "description": "Specify the width of a Button",
1863
- "fieldName": "width"
1864
- },
1865
- {
1866
- "name": "height",
1867
- "type": {
1868
- "text": "string | undefined"
1869
- },
1870
- "description": "Specify the height of a Button",
1871
- "fieldName": "height"
1872
- },
1873
- {
1874
- "name": "theme",
1875
- "type": {
1876
- "text": "'light' | 'dark' | undefined"
1877
- },
1878
- "description": "Specify the theme of the Button",
1879
- "fieldName": "theme"
1880
- },
1881
- {
1882
- "name": "iconOnly",
1883
- "type": {
1884
- "text": "boolean | undefined"
1885
- },
1886
- "description": "Specify if the icon displays without text",
1887
- "fieldName": "iconOnly"
1888
- },
1889
- {
1890
- "name": "type",
1891
- "type": {
1892
- "text": "string"
1893
- },
1894
- "default": "'button'",
1895
- "fieldName": "type"
1896
2269
  }
1897
2270
  ],
1898
2271
  "superclass": {
1899
2272
  "name": "LitElement",
1900
2273
  "package": "lit"
1901
2274
  },
1902
- "tagName": "bm-button",
2275
+ "tagName": "bm-close-button",
1903
2276
  "customElement": true
1904
2277
  }
1905
2278
  ],
1906
2279
  "exports": [
1907
2280
  {
1908
2281
  "kind": "js",
1909
- "name": "BmButton",
2282
+ "name": "BmCloseButton",
1910
2283
  "declaration": {
1911
- "name": "BmButton",
1912
- "module": "libs/web-components/src/lib/Button/Button.ts"
2284
+ "name": "BmCloseButton",
2285
+ "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
1913
2286
  }
1914
2287
  },
1915
2288
  {
1916
2289
  "kind": "custom-element-definition",
1917
- "name": "bm-button",
2290
+ "name": "bm-close-button",
1918
2291
  "declaration": {
1919
- "name": "BmButton",
1920
- "module": "libs/web-components/src/lib/Button/Button.ts"
2292
+ "name": "BmCloseButton",
2293
+ "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
1921
2294
  }
1922
2295
  }
1923
2296
  ]
1924
2297
  },
1925
2298
  {
1926
2299
  "kind": "javascript-module",
1927
- "path": "libs/web-components/src/lib/Button/index.ts",
2300
+ "path": "libs/web-components/src/lib/CloseButton/index.ts",
1928
2301
  "declarations": [],
1929
2302
  "exports": [
1930
2303
  {
@@ -1932,34 +2305,34 @@
1932
2305
  "name": "*",
1933
2306
  "declaration": {
1934
2307
  "name": "*",
1935
- "package": "./Button"
2308
+ "package": "./CloseButton"
1936
2309
  }
1937
2310
  }
1938
2311
  ]
1939
2312
  },
1940
2313
  {
1941
2314
  "kind": "javascript-module",
1942
- "path": "libs/web-components/src/lib/Alert/Alert.ts",
2315
+ "path": "libs/web-components/src/lib/EmptyState/EmptyState.ts",
1943
2316
  "declarations": [
1944
2317
  {
1945
2318
  "kind": "class",
1946
- "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",
1947
- "name": "BmAlert",
2319
+ "description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent",
2320
+ "name": "BmEmptyState",
1948
2321
  "slots": [
1949
2322
  {
1950
- "description": "Specify a different icon for the Alert",
2323
+ "description": "Specify an icon for EmptyState",
1951
2324
  "name": "icon"
1952
2325
  },
1953
2326
  {
1954
- "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
2327
+ "description": "Specify heading text for EmptyState",
1955
2328
  "name": "heading"
1956
2329
  },
1957
2330
  {
1958
- "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
2331
+ "description": "Specify body text for EmptyState",
1959
2332
  "name": "body"
1960
2333
  },
1961
2334
  {
1962
- "description": "Specify if actions display on the Alert",
2335
+ "description": "Add actions to EmptyState",
1963
2336
  "name": "actions"
1964
2337
  }
1965
2338
  ],
@@ -1970,7 +2343,7 @@
1970
2343
  "type": {
1971
2344
  "text": "string | undefined"
1972
2345
  },
1973
- "description": "Specify the heading text for Alert",
2346
+ "description": "Specify heading text for EmptyState",
1974
2347
  "attribute": "heading"
1975
2348
  },
1976
2349
  {
@@ -1979,28 +2352,17 @@
1979
2352
  "type": {
1980
2353
  "text": "string | undefined"
1981
2354
  },
1982
- "description": "Specify the body text for Alert",
2355
+ "description": "Specify body text for EmptyState",
1983
2356
  "attribute": "body"
1984
2357
  },
1985
2358
  {
1986
2359
  "kind": "field",
1987
- "name": "size",
1988
- "type": {
1989
- "text": "'sm' | 'md'"
1990
- },
1991
- "default": "'sm'",
1992
- "description": "Specify the size of the Alert",
1993
- "attribute": "size"
1994
- },
1995
- {
1996
- "kind": "field",
1997
- "name": "fullWidth",
2360
+ "name": "actions",
1998
2361
  "type": {
1999
- "text": "boolean"
2362
+ "text": "HTMLSlotElement | undefined"
2000
2363
  },
2001
- "default": "false",
2002
- "description": "Specify if the Alert has no border radius",
2003
- "attribute": "fullWidth"
2364
+ "description": "Specify action for EmptyState",
2365
+ "attribute": "actions"
2004
2366
  },
2005
2367
  {
2006
2368
  "kind": "field",
@@ -2008,74 +2370,8 @@
2008
2370
  "type": {
2009
2371
  "text": "'light' | 'dark' | undefined"
2010
2372
  },
2011
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
2373
+ "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
2012
2374
  "attribute": "theme"
2013
- },
2014
- {
2015
- "kind": "field",
2016
- "name": "appearance",
2017
- "type": {
2018
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
2019
- },
2020
- "default": "'infoPrimary'",
2021
- "description": "Specify the appearance of the Alert",
2022
- "attribute": "appearance"
2023
- },
2024
- {
2025
- "kind": "field",
2026
- "name": "hidden",
2027
- "type": {
2028
- "text": "boolean"
2029
- },
2030
- "default": "false",
2031
- "description": "Specify if the Alert is hidden",
2032
- "attribute": "hidden"
2033
- },
2034
- {
2035
- "kind": "field",
2036
- "name": "hideIcon",
2037
- "type": {
2038
- "text": "boolean"
2039
- },
2040
- "default": "false",
2041
- "description": "Specify if the icon displays on the Alert",
2042
- "attribute": "hideIcon"
2043
- },
2044
- {
2045
- "kind": "field",
2046
- "name": "dismissible",
2047
- "type": {
2048
- "text": "boolean"
2049
- },
2050
- "default": "false",
2051
- "description": "Specify if the Alert can be dismissed",
2052
- "attribute": "dismissible"
2053
- },
2054
- {
2055
- "kind": "field",
2056
- "name": "disableAutoFocus",
2057
- "type": {
2058
- "text": "boolean"
2059
- },
2060
- "default": "false",
2061
- "description": "Prevent autofocus on show",
2062
- "attribute": "disableAutoFocus"
2063
- },
2064
- {
2065
- "kind": "field",
2066
- "name": "disableCloseOnEscape",
2067
- "type": {
2068
- "text": "boolean"
2069
- },
2070
- "default": "false",
2071
- "description": "Prevent Escape from closing",
2072
- "attribute": "disableCloseOnEscape"
2073
- }
2074
- ],
2075
- "events": [
2076
- {
2077
- "description": "Dispatched when the Alert has been dismissed",
2078
- "name": "bm-dismiss"
2079
2375
  }
2080
2376
  ],
2081
2377
  "attributes": [
@@ -2084,7 +2380,7 @@
2084
2380
  "type": {
2085
2381
  "text": "string | undefined"
2086
2382
  },
2087
- "description": "Specify the heading text for Alert",
2383
+ "description": "Specify heading text for EmptyState",
2088
2384
  "fieldName": "heading"
2089
2385
  },
2090
2386
  {
@@ -2092,212 +2388,56 @@
2092
2388
  "type": {
2093
2389
  "text": "string | undefined"
2094
2390
  },
2095
- "description": "Specify the body text for Alert",
2391
+ "description": "Specify body text for EmptyState",
2096
2392
  "fieldName": "body"
2097
2393
  },
2098
2394
  {
2099
- "name": "size",
2100
- "type": {
2101
- "text": "'sm' | 'md'"
2102
- },
2103
- "default": "'sm'",
2104
- "description": "Specify the size of the Alert",
2105
- "fieldName": "size"
2106
- },
2107
- {
2108
- "name": "fullWidth",
2395
+ "name": "actions",
2109
2396
  "type": {
2110
- "text": "boolean"
2397
+ "text": "HTMLSlotElement | undefined"
2111
2398
  },
2112
- "default": "false",
2113
- "description": "Specify if the Alert has no border radius",
2114
- "fieldName": "fullWidth"
2399
+ "description": "Specify action for EmptyState",
2400
+ "fieldName": "actions"
2115
2401
  },
2116
2402
  {
2117
2403
  "name": "theme",
2118
2404
  "type": {
2119
2405
  "text": "'light' | 'dark' | undefined"
2120
2406
  },
2121
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
2407
+ "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
2122
2408
  "fieldName": "theme"
2123
- },
2124
- {
2125
- "name": "appearance",
2126
- "type": {
2127
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
2128
- },
2129
- "default": "'infoPrimary'",
2130
- "description": "Specify the appearance of the Alert",
2131
- "fieldName": "appearance"
2132
- },
2133
- {
2134
- "name": "hidden",
2135
- "type": {
2136
- "text": "boolean"
2137
- },
2138
- "default": "false",
2139
- "description": "Specify if the Alert is hidden",
2140
- "fieldName": "hidden"
2141
- },
2142
- {
2143
- "name": "hideIcon",
2144
- "type": {
2145
- "text": "boolean"
2146
- },
2147
- "default": "false",
2148
- "description": "Specify if the icon displays on the Alert",
2149
- "fieldName": "hideIcon"
2150
- },
2151
- {
2152
- "name": "dismissible",
2153
- "type": {
2154
- "text": "boolean"
2155
- },
2156
- "default": "false",
2157
- "description": "Specify if the Alert can be dismissed",
2158
- "fieldName": "dismissible"
2159
- },
2160
- {
2161
- "name": "disableAutoFocus",
2162
- "type": {
2163
- "text": "boolean"
2164
- },
2165
- "default": "false",
2166
- "description": "Prevent autofocus on show",
2167
- "fieldName": "disableAutoFocus"
2168
- },
2169
- {
2170
- "name": "disableCloseOnEscape",
2171
- "type": {
2172
- "text": "boolean"
2173
- },
2174
- "default": "false",
2175
- "description": "Prevent Escape from closing",
2176
- "fieldName": "disableCloseOnEscape"
2177
- }
2178
- ],
2179
- "superclass": {
2180
- "name": "LitElement",
2181
- "package": "lit"
2182
- },
2183
- "tagName": "bm-alert",
2184
- "customElement": true
2185
- }
2186
- ],
2187
- "exports": [
2188
- {
2189
- "kind": "js",
2190
- "name": "BmAlert",
2191
- "declaration": {
2192
- "name": "BmAlert",
2193
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
2194
- }
2195
- },
2196
- {
2197
- "kind": "custom-element-definition",
2198
- "name": "bm-alert",
2199
- "declaration": {
2200
- "name": "BmAlert",
2201
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
2202
- }
2203
- }
2204
- ]
2205
- },
2206
- {
2207
- "kind": "javascript-module",
2208
- "path": "libs/web-components/src/lib/Alert/index.ts",
2209
- "declarations": [],
2210
- "exports": [
2211
- {
2212
- "kind": "js",
2213
- "name": "*",
2214
- "declaration": {
2215
- "name": "*",
2216
- "package": "./Alert"
2217
- }
2218
- }
2219
- ]
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
2409
  }
2270
2410
  ],
2271
2411
  "superclass": {
2272
2412
  "name": "LitElement",
2273
2413
  "package": "lit"
2274
2414
  },
2275
- "tagName": "bm-close-button",
2415
+ "tagName": "bm-empty-state",
2276
2416
  "customElement": true
2277
2417
  }
2278
2418
  ],
2279
2419
  "exports": [
2280
2420
  {
2281
2421
  "kind": "js",
2282
- "name": "BmCloseButton",
2422
+ "name": "BmEmptyState",
2283
2423
  "declaration": {
2284
- "name": "BmCloseButton",
2285
- "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2424
+ "name": "BmEmptyState",
2425
+ "module": "libs/web-components/src/lib/EmptyState/EmptyState.ts"
2286
2426
  }
2287
2427
  },
2288
2428
  {
2289
2429
  "kind": "custom-element-definition",
2290
- "name": "bm-close-button",
2430
+ "name": "bm-empty-state",
2291
2431
  "declaration": {
2292
- "name": "BmCloseButton",
2293
- "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2432
+ "name": "BmEmptyState",
2433
+ "module": "libs/web-components/src/lib/EmptyState/EmptyState.ts"
2294
2434
  }
2295
2435
  }
2296
2436
  ]
2297
2437
  },
2298
2438
  {
2299
2439
  "kind": "javascript-module",
2300
- "path": "libs/web-components/src/lib/CloseButton/index.ts",
2440
+ "path": "libs/web-components/src/lib/EmptyState/index.ts",
2301
2441
  "declarations": [],
2302
2442
  "exports": [
2303
2443
  {
@@ -2305,7 +2445,7 @@
2305
2445
  "name": "*",
2306
2446
  "declaration": {
2307
2447
  "name": "*",
2308
- "package": "./CloseButton"
2448
+ "package": "./EmptyState"
2309
2449
  }
2310
2450
  }
2311
2451
  ]
@@ -2505,57 +2645,71 @@
2505
2645
  },
2506
2646
  {
2507
2647
  "kind": "javascript-module",
2508
- "path": "libs/web-components/src/lib/EmptyState/EmptyState.ts",
2648
+ "path": "libs/web-components/src/lib/HelperText/HelperText.ts",
2509
2649
  "declarations": [
2510
2650
  {
2511
2651
  "kind": "class",
2512
- "description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent",
2513
- "name": "BmEmptyState",
2652
+ "description": "### Attributes:\n- **appearance** - Specify the appearance of the HelperText\n- **size** - Specify the size of the HelperText\n- **disabled** - Specify if the message is disabled for HelpText\n- **hideIcon** - Specify if the icon displays on the HelperText\n- **text** - Add or customize content in the HelperText\n- **theme** - Specify the theme of the HelperText. By default it inherits the theme from the parent",
2653
+ "name": "BmHelperText",
2514
2654
  "slots": [
2515
2655
  {
2516
- "description": "Specify an icon for EmptyState",
2517
- "name": "icon"
2518
- },
2519
- {
2520
- "description": "Specify heading text for EmptyState",
2521
- "name": "heading"
2522
- },
2523
- {
2524
- "description": "Specify body text for EmptyState",
2525
- "name": "body"
2656
+ "description": "Add or customize content in the HelperText",
2657
+ "name": "default"
2526
2658
  },
2527
2659
  {
2528
- "description": "Add actions to EmptyState",
2529
- "name": "actions"
2660
+ "description": "Specify a different icon for the HelperText",
2661
+ "name": "icon"
2530
2662
  }
2531
2663
  ],
2532
2664
  "members": [
2533
2665
  {
2534
2666
  "kind": "field",
2535
- "name": "heading",
2667
+ "name": "appearance",
2536
2668
  "type": {
2537
- "text": "string | undefined"
2669
+ "text": "'positive' | 'warning' | 'negative' | 'info'"
2538
2670
  },
2539
- "description": "Specify heading text for EmptyState",
2540
- "attribute": "heading"
2671
+ "default": "'info'",
2672
+ "description": "Specify the appearance of the HelperText",
2673
+ "attribute": "appearance"
2541
2674
  },
2542
2675
  {
2543
2676
  "kind": "field",
2544
- "name": "body",
2677
+ "name": "size",
2545
2678
  "type": {
2546
- "text": "string | undefined"
2679
+ "text": "'sm' | 'md'"
2547
2680
  },
2548
- "description": "Specify body text for EmptyState",
2549
- "attribute": "body"
2681
+ "default": "'sm'",
2682
+ "description": "Specify the size of the HelperText",
2683
+ "attribute": "size"
2550
2684
  },
2551
2685
  {
2552
2686
  "kind": "field",
2553
- "name": "actions",
2687
+ "name": "disabled",
2554
2688
  "type": {
2555
- "text": "HTMLSlotElement | undefined"
2689
+ "text": "boolean"
2556
2690
  },
2557
- "description": "Specify action for EmptyState",
2558
- "attribute": "actions"
2691
+ "default": "false",
2692
+ "description": "Specify if the message is disabled for HelpText",
2693
+ "attribute": "disabled"
2694
+ },
2695
+ {
2696
+ "kind": "field",
2697
+ "name": "hideIcon",
2698
+ "type": {
2699
+ "text": "boolean"
2700
+ },
2701
+ "default": "false",
2702
+ "description": "Specify if the icon displays on the HelperText",
2703
+ "attribute": "hideIcon"
2704
+ },
2705
+ {
2706
+ "kind": "field",
2707
+ "name": "text",
2708
+ "type": {
2709
+ "text": "string | undefined"
2710
+ },
2711
+ "description": "Add or customize content in the HelperText",
2712
+ "attribute": "text"
2559
2713
  },
2560
2714
  {
2561
2715
  "kind": "field",
@@ -2563,41 +2717,61 @@
2563
2717
  "type": {
2564
2718
  "text": "'light' | 'dark' | undefined"
2565
2719
  },
2566
- "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
2720
+ "description": "Specify the theme of the HelperText. By default it inherits the theme from the parent",
2567
2721
  "attribute": "theme"
2568
2722
  }
2569
2723
  ],
2570
2724
  "attributes": [
2571
2725
  {
2572
- "name": "heading",
2726
+ "name": "appearance",
2573
2727
  "type": {
2574
- "text": "string | undefined"
2728
+ "text": "'positive' | 'warning' | 'negative' | 'info'"
2575
2729
  },
2576
- "description": "Specify heading text for EmptyState",
2577
- "fieldName": "heading"
2730
+ "default": "'info'",
2731
+ "description": "Specify the appearance of the HelperText",
2732
+ "fieldName": "appearance"
2578
2733
  },
2579
2734
  {
2580
- "name": "body",
2735
+ "name": "size",
2581
2736
  "type": {
2582
- "text": "string | undefined"
2737
+ "text": "'sm' | 'md'"
2583
2738
  },
2584
- "description": "Specify body text for EmptyState",
2585
- "fieldName": "body"
2739
+ "default": "'sm'",
2740
+ "description": "Specify the size of the HelperText",
2741
+ "fieldName": "size"
2586
2742
  },
2587
2743
  {
2588
- "name": "actions",
2744
+ "name": "disabled",
2589
2745
  "type": {
2590
- "text": "HTMLSlotElement | undefined"
2746
+ "text": "boolean"
2591
2747
  },
2592
- "description": "Specify action for EmptyState",
2593
- "fieldName": "actions"
2748
+ "default": "false",
2749
+ "description": "Specify if the message is disabled for HelpText",
2750
+ "fieldName": "disabled"
2751
+ },
2752
+ {
2753
+ "name": "hideIcon",
2754
+ "type": {
2755
+ "text": "boolean"
2756
+ },
2757
+ "default": "false",
2758
+ "description": "Specify if the icon displays on the HelperText",
2759
+ "fieldName": "hideIcon"
2760
+ },
2761
+ {
2762
+ "name": "text",
2763
+ "type": {
2764
+ "text": "string | undefined"
2765
+ },
2766
+ "description": "Add or customize content in the HelperText",
2767
+ "fieldName": "text"
2594
2768
  },
2595
2769
  {
2596
2770
  "name": "theme",
2597
2771
  "type": {
2598
2772
  "text": "'light' | 'dark' | undefined"
2599
2773
  },
2600
- "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
2774
+ "description": "Specify the theme of the HelperText. By default it inherits the theme from the parent",
2601
2775
  "fieldName": "theme"
2602
2776
  }
2603
2777
  ],
@@ -2605,188 +2779,14 @@
2605
2779
  "name": "LitElement",
2606
2780
  "package": "lit"
2607
2781
  },
2608
- "tagName": "bm-empty-state",
2782
+ "tagName": "bm-helper-text",
2609
2783
  "customElement": true
2610
2784
  }
2611
2785
  ],
2612
2786
  "exports": [
2613
2787
  {
2614
2788
  "kind": "js",
2615
- "name": "BmEmptyState",
2616
- "declaration": {
2617
- "name": "BmEmptyState",
2618
- "module": "libs/web-components/src/lib/EmptyState/EmptyState.ts"
2619
- }
2620
- },
2621
- {
2622
- "kind": "custom-element-definition",
2623
- "name": "bm-empty-state",
2624
- "declaration": {
2625
- "name": "BmEmptyState",
2626
- "module": "libs/web-components/src/lib/EmptyState/EmptyState.ts"
2627
- }
2628
- }
2629
- ]
2630
- },
2631
- {
2632
- "kind": "javascript-module",
2633
- "path": "libs/web-components/src/lib/EmptyState/index.ts",
2634
- "declarations": [],
2635
- "exports": [
2636
- {
2637
- "kind": "js",
2638
- "name": "*",
2639
- "declaration": {
2640
- "name": "*",
2641
- "package": "./EmptyState"
2642
- }
2643
- }
2644
- ]
2645
- },
2646
- {
2647
- "kind": "javascript-module",
2648
- "path": "libs/web-components/src/lib/HelperText/HelperText.ts",
2649
- "declarations": [
2650
- {
2651
- "kind": "class",
2652
- "description": "### Attributes:\n- **appearance** - Specify the appearance of the HelperText\n- **size** - Specify the size of the HelperText\n- **disabled** - Specify if the message is disabled for HelpText\n- **hideIcon** - Specify if the icon displays on the HelperText\n- **text** - Add or customize content in the HelperText\n- **theme** - Specify the theme of the HelperText. By default it inherits the theme from the parent",
2653
- "name": "BmHelperText",
2654
- "slots": [
2655
- {
2656
- "description": "Add or customize content in the HelperText",
2657
- "name": "default"
2658
- },
2659
- {
2660
- "description": "Specify a different icon for the HelperText",
2661
- "name": "icon"
2662
- }
2663
- ],
2664
- "members": [
2665
- {
2666
- "kind": "field",
2667
- "name": "appearance",
2668
- "type": {
2669
- "text": "'positive' | 'warning' | 'negative' | 'info'"
2670
- },
2671
- "default": "'info'",
2672
- "description": "Specify the appearance of the HelperText",
2673
- "attribute": "appearance"
2674
- },
2675
- {
2676
- "kind": "field",
2677
- "name": "size",
2678
- "type": {
2679
- "text": "'sm' | 'md'"
2680
- },
2681
- "default": "'sm'",
2682
- "description": "Specify the size of the HelperText",
2683
- "attribute": "size"
2684
- },
2685
- {
2686
- "kind": "field",
2687
- "name": "disabled",
2688
- "type": {
2689
- "text": "boolean"
2690
- },
2691
- "default": "false",
2692
- "description": "Specify if the message is disabled for HelpText",
2693
- "attribute": "disabled"
2694
- },
2695
- {
2696
- "kind": "field",
2697
- "name": "hideIcon",
2698
- "type": {
2699
- "text": "boolean"
2700
- },
2701
- "default": "false",
2702
- "description": "Specify if the icon displays on the HelperText",
2703
- "attribute": "hideIcon"
2704
- },
2705
- {
2706
- "kind": "field",
2707
- "name": "text",
2708
- "type": {
2709
- "text": "string | undefined"
2710
- },
2711
- "description": "Add or customize content in the HelperText",
2712
- "attribute": "text"
2713
- },
2714
- {
2715
- "kind": "field",
2716
- "name": "theme",
2717
- "type": {
2718
- "text": "'light' | 'dark' | undefined"
2719
- },
2720
- "description": "Specify the theme of the HelperText. By default it inherits the theme from the parent",
2721
- "attribute": "theme"
2722
- }
2723
- ],
2724
- "attributes": [
2725
- {
2726
- "name": "appearance",
2727
- "type": {
2728
- "text": "'positive' | 'warning' | 'negative' | 'info'"
2729
- },
2730
- "default": "'info'",
2731
- "description": "Specify the appearance of the HelperText",
2732
- "fieldName": "appearance"
2733
- },
2734
- {
2735
- "name": "size",
2736
- "type": {
2737
- "text": "'sm' | 'md'"
2738
- },
2739
- "default": "'sm'",
2740
- "description": "Specify the size of the HelperText",
2741
- "fieldName": "size"
2742
- },
2743
- {
2744
- "name": "disabled",
2745
- "type": {
2746
- "text": "boolean"
2747
- },
2748
- "default": "false",
2749
- "description": "Specify if the message is disabled for HelpText",
2750
- "fieldName": "disabled"
2751
- },
2752
- {
2753
- "name": "hideIcon",
2754
- "type": {
2755
- "text": "boolean"
2756
- },
2757
- "default": "false",
2758
- "description": "Specify if the icon displays on the HelperText",
2759
- "fieldName": "hideIcon"
2760
- },
2761
- {
2762
- "name": "text",
2763
- "type": {
2764
- "text": "string | undefined"
2765
- },
2766
- "description": "Add or customize content in the HelperText",
2767
- "fieldName": "text"
2768
- },
2769
- {
2770
- "name": "theme",
2771
- "type": {
2772
- "text": "'light' | 'dark' | undefined"
2773
- },
2774
- "description": "Specify the theme of the HelperText. By default it inherits the theme from the parent",
2775
- "fieldName": "theme"
2776
- }
2777
- ],
2778
- "superclass": {
2779
- "name": "LitElement",
2780
- "package": "lit"
2781
- },
2782
- "tagName": "bm-helper-text",
2783
- "customElement": true
2784
- }
2785
- ],
2786
- "exports": [
2787
- {
2788
- "kind": "js",
2789
- "name": "BmHelperText",
2789
+ "name": "BmHelperText",
2790
2790
  "declaration": {
2791
2791
  "name": "BmHelperText",
2792
2792
  "module": "libs/web-components/src/lib/HelperText/HelperText.ts"
@@ -6423,139 +6423,248 @@
6423
6423
  },
6424
6424
  {
6425
6425
  "kind": "javascript-module",
6426
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts",
6426
+ "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
6427
+ "declarations": [
6428
+ {
6429
+ "kind": "variable",
6430
+ "name": "bmFormInitials",
6431
+ "type": {
6432
+ "text": "BmFormContext"
6433
+ },
6434
+ "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
6435
+ },
6436
+ {
6437
+ "kind": "variable",
6438
+ "name": "bmFormContext"
6439
+ }
6440
+ ],
6441
+ "exports": [
6442
+ {
6443
+ "kind": "js",
6444
+ "name": "bmFormInitials",
6445
+ "declaration": {
6446
+ "name": "bmFormInitials",
6447
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
6448
+ }
6449
+ },
6450
+ {
6451
+ "kind": "js",
6452
+ "name": "bmFormContext",
6453
+ "declaration": {
6454
+ "name": "bmFormContext",
6455
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
6456
+ }
6457
+ }
6458
+ ]
6459
+ },
6460
+ {
6461
+ "kind": "javascript-module",
6462
+ "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
6427
6463
  "declarations": [
6428
6464
  {
6429
6465
  "kind": "class",
6430
- "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded",
6431
- "name": "BmFileUploadButton",
6432
- "slots": [
6433
- {
6434
- "description": "Specify text for the Button",
6435
- "name": "default",
6436
- "inheritedFrom": {
6437
- "name": "BmButton",
6438
- "module": "libs/web-components/src/lib/Button/Button.ts"
6439
- }
6440
- },
6441
- {
6442
- "description": "Specify if the Button displays icon before the text",
6443
- "name": "iconBefore",
6444
- "inheritedFrom": {
6445
- "name": "BmButton",
6446
- "module": "libs/web-components/src/lib/Button/Button.ts"
6447
- }
6448
- },
6449
- {
6450
- "description": "Specify if the Button displays icon after the text",
6451
- "name": "iconAfter",
6452
- "inheritedFrom": {
6453
- "name": "BmButton",
6454
- "module": "libs/web-components/src/lib/Button/Button.ts"
6455
- }
6456
- }
6457
- ],
6466
+ "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
6467
+ "name": "FormField",
6458
6468
  "members": [
6459
6469
  {
6460
6470
  "kind": "field",
6461
- "name": "error",
6471
+ "name": "formAssociated",
6462
6472
  "type": {
6463
- "text": "boolean | undefined"
6473
+ "text": "boolean"
6464
6474
  },
6465
- "description": "Specify if FileUpload is in error state",
6466
- "attribute": "error"
6475
+ "static": true,
6476
+ "default": "true"
6467
6477
  },
6468
6478
  {
6469
6479
  "kind": "field",
6470
- "name": "accept",
6480
+ "name": "id",
6471
6481
  "type": {
6472
- "text": "string | undefined"
6482
+ "text": "string"
6473
6483
  },
6474
- "description": "Specify the accepted file types",
6475
- "attribute": "accept"
6484
+ "default": "''",
6485
+ "attribute": "id"
6476
6486
  },
6477
6487
  {
6478
6488
  "kind": "field",
6479
- "name": "multiple",
6489
+ "name": "name",
6480
6490
  "type": {
6481
- "text": "boolean | undefined"
6491
+ "text": "string"
6482
6492
  },
6483
- "description": "Specify if multiple files can be uploaded",
6484
- "attribute": "multiple"
6493
+ "default": "''",
6494
+ "attribute": "name"
6485
6495
  },
6486
6496
  {
6487
6497
  "kind": "field",
6488
- "name": "appearance",
6498
+ "name": "value",
6489
6499
  "type": {
6490
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
6500
+ "text": "string"
6491
6501
  },
6492
- "default": "'neutral-subtle'",
6493
- "description": "Specify the appearance of a Button",
6494
- "attribute": "appearance",
6495
- "inheritedFrom": {
6496
- "name": "BmButton",
6497
- "module": "libs/web-components/src/lib/Button/Button.ts"
6498
- }
6502
+ "default": "''",
6503
+ "attribute": "value"
6499
6504
  },
6500
6505
  {
6501
6506
  "kind": "field",
6502
- "name": "kind",
6507
+ "name": "validationRules",
6503
6508
  "type": {
6504
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
6509
+ "text": "Array<FormValidator>"
6505
6510
  },
6506
- "default": "'outline'",
6507
- "description": "Specify the kind of Button",
6508
- "attribute": "kind",
6509
- "inheritedFrom": {
6510
- "name": "BmButton",
6511
- "module": "libs/web-components/src/lib/Button/Button.ts"
6512
- }
6511
+ "default": "[]",
6512
+ "attribute": "validationRules"
6513
6513
  },
6514
6514
  {
6515
6515
  "kind": "field",
6516
- "name": "size",
6516
+ "name": "inputAriaLabel",
6517
6517
  "type": {
6518
- "text": "'sm' | 'md' | 'lg'"
6518
+ "text": "string | undefined"
6519
6519
  },
6520
- "default": "'md'",
6521
- "description": "Specify the size of a Button",
6522
- "attribute": "size",
6523
- "inheritedFrom": {
6524
- "name": "BmButton",
6525
- "module": "libs/web-components/src/lib/Button/Button.ts"
6520
+ "attribute": "input-aria-label"
6521
+ },
6522
+ {
6523
+ "kind": "field",
6524
+ "name": "formContext",
6525
+ "type": {
6526
+ "text": "BmFormContext"
6527
+ }
6528
+ },
6529
+ {
6530
+ "kind": "method",
6531
+ "name": "formAssociatedCallback",
6532
+ "return": {
6533
+ "type": {
6534
+ "text": "void"
6535
+ }
6536
+ }
6537
+ },
6538
+ {
6539
+ "kind": "method",
6540
+ "name": "formResetCallback",
6541
+ "return": {
6542
+ "type": {
6543
+ "text": "void"
6544
+ }
6526
6545
  }
6527
6546
  },
6547
+ {
6548
+ "kind": "method",
6549
+ "name": "finalizeAssociatedCallback",
6550
+ "return": {
6551
+ "type": {
6552
+ "text": "FinalizeAssociatedResult"
6553
+ }
6554
+ },
6555
+ "parameters": [
6556
+ {
6557
+ "name": "ctxValue",
6558
+ "type": {
6559
+ "text": "string"
6560
+ }
6561
+ }
6562
+ ]
6563
+ }
6564
+ ],
6565
+ "attributes": [
6566
+ {
6567
+ "name": "id",
6568
+ "type": {
6569
+ "text": "string"
6570
+ },
6571
+ "default": "''",
6572
+ "fieldName": "id"
6573
+ },
6574
+ {
6575
+ "name": "name",
6576
+ "type": {
6577
+ "text": "string"
6578
+ },
6579
+ "default": "''",
6580
+ "fieldName": "name"
6581
+ },
6582
+ {
6583
+ "name": "value",
6584
+ "type": {
6585
+ "text": "string"
6586
+ },
6587
+ "default": "''",
6588
+ "fieldName": "value"
6589
+ },
6590
+ {
6591
+ "name": "validationRules",
6592
+ "type": {
6593
+ "text": "Array<FormValidator>"
6594
+ },
6595
+ "default": "[]",
6596
+ "fieldName": "validationRules"
6597
+ },
6598
+ {
6599
+ "name": "input-aria-label",
6600
+ "type": {
6601
+ "text": "string | undefined"
6602
+ },
6603
+ "fieldName": "inputAriaLabel"
6604
+ }
6605
+ ],
6606
+ "superclass": {
6607
+ "name": "LitElement",
6608
+ "package": "lit"
6609
+ },
6610
+ "customElement": true
6611
+ }
6612
+ ],
6613
+ "exports": [
6614
+ {
6615
+ "kind": "js",
6616
+ "name": "FormField",
6617
+ "declaration": {
6618
+ "name": "FormField",
6619
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
6620
+ }
6621
+ }
6622
+ ]
6623
+ },
6624
+ {
6625
+ "kind": "javascript-module",
6626
+ "path": "libs/web-components/src/lib/wip/Form/Form.ts",
6627
+ "declarations": [
6628
+ {
6629
+ "kind": "class",
6630
+ "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
6631
+ "name": "BmForm",
6632
+ "slots": [
6633
+ {
6634
+ "description": "Add controls to the Form",
6635
+ "name": "slot"
6636
+ }
6637
+ ],
6638
+ "members": [
6528
6639
  {
6529
6640
  "kind": "field",
6530
- "name": "iconOnly",
6641
+ "name": "validationMode",
6531
6642
  "type": {
6532
- "text": "boolean | undefined"
6643
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
6533
6644
  },
6534
- "description": "Specify if the icon displays without text",
6535
- "attribute": "iconOnly",
6536
- "default": "false",
6537
- "inheritedFrom": {
6538
- "name": "BmButton",
6539
- "module": "libs/web-components/src/lib/Button/Button.ts"
6540
- }
6645
+ "default": "'onBlur'",
6646
+ "description": "Specify if validation runs on change or when loosing focus",
6647
+ "attribute": "validationMode"
6541
6648
  },
6542
6649
  {
6543
6650
  "kind": "field",
6544
- "name": "iconBefore",
6545
- "default": "unsafeSVG(Upload)"
6651
+ "name": "initialValues",
6652
+ "type": {
6653
+ "text": "Record<string, FormValue>"
6654
+ },
6655
+ "default": "{}",
6656
+ "description": "Specify initial values on Form controls based on their names",
6657
+ "attribute": "initialValues"
6546
6658
  },
6547
6659
  {
6548
6660
  "kind": "field",
6549
- "name": "formAssociated",
6661
+ "name": "required",
6550
6662
  "type": {
6551
6663
  "text": "boolean"
6552
6664
  },
6553
- "static": true,
6554
- "default": "true",
6555
- "inheritedFrom": {
6556
- "name": "BmButton",
6557
- "module": "libs/web-components/src/lib/Button/Button.ts"
6558
- }
6665
+ "default": "false",
6666
+ "description": "Specify if input is a required",
6667
+ "attribute": "required"
6559
6668
  },
6560
6669
  {
6561
6670
  "kind": "field",
@@ -6564,176 +6673,551 @@
6564
6673
  "text": "boolean"
6565
6674
  },
6566
6675
  "default": "false",
6567
- "description": "Specify if the Button is disabled",
6568
- "attribute": "disabled",
6569
- "inheritedFrom": {
6570
- "name": "BmButton",
6571
- "module": "libs/web-components/src/lib/Button/Button.ts"
6572
- }
6676
+ "description": "Specify if input is a disabled",
6677
+ "attribute": "disabled"
6573
6678
  },
6574
6679
  {
6575
6680
  "kind": "field",
6576
- "name": "fluid",
6681
+ "name": "readOnly",
6577
6682
  "type": {
6578
6683
  "text": "boolean"
6579
6684
  },
6580
6685
  "default": "false",
6581
- "description": "Specify if Button is fluid",
6582
- "attribute": "fluid",
6583
- "inheritedFrom": {
6584
- "name": "BmButton",
6585
- "module": "libs/web-components/src/lib/Button/Button.ts"
6586
- }
6686
+ "description": "Specify if input is a read only",
6687
+ "attribute": "readOnly"
6587
6688
  },
6588
6689
  {
6589
6690
  "kind": "field",
6590
- "name": "width",
6691
+ "name": "action",
6591
6692
  "type": {
6592
6693
  "text": "string | undefined"
6593
6694
  },
6594
- "description": "Specify the width of a Button",
6595
- "attribute": "width",
6596
- "inheritedFrom": {
6597
- "name": "BmButton",
6598
- "module": "libs/web-components/src/lib/Button/Button.ts"
6599
- }
6695
+ "attribute": "action"
6600
6696
  },
6601
6697
  {
6602
6698
  "kind": "field",
6603
- "name": "height",
6699
+ "name": "method",
6604
6700
  "type": {
6605
6701
  "text": "string | undefined"
6606
6702
  },
6607
- "description": "Specify the height of a Button",
6608
- "attribute": "height",
6609
- "inheritedFrom": {
6610
- "name": "BmButton",
6611
- "module": "libs/web-components/src/lib/Button/Button.ts"
6612
- }
6703
+ "attribute": "method"
6613
6704
  },
6614
6705
  {
6615
6706
  "kind": "field",
6616
- "name": "theme",
6707
+ "name": "target",
6617
6708
  "type": {
6618
- "text": "'light' | 'dark' | undefined"
6709
+ "text": "string | undefined"
6619
6710
  },
6620
- "description": "Specify the theme of the Button",
6621
- "attribute": "theme",
6622
- "inheritedFrom": {
6623
- "name": "BmButton",
6624
- "module": "libs/web-components/src/lib/Button/Button.ts"
6625
- }
6711
+ "attribute": "target"
6626
6712
  },
6627
6713
  {
6628
6714
  "kind": "field",
6629
- "name": "type",
6715
+ "name": "enctype",
6630
6716
  "type": {
6631
- "text": "string"
6717
+ "text": "string | undefined"
6632
6718
  },
6633
- "default": "'button'",
6634
- "attribute": "type",
6635
- "inheritedFrom": {
6636
- "name": "BmButton",
6637
- "module": "libs/web-components/src/lib/Button/Button.ts"
6638
- }
6719
+ "attribute": "enctype"
6639
6720
  },
6640
6721
  {
6641
6722
  "kind": "field",
6642
- "name": "formContext",
6723
+ "name": "formMeta",
6724
+ "type": {
6725
+ "text": "Record<string, FieldMeta>"
6726
+ },
6727
+ "default": "{}"
6728
+ },
6729
+ {
6730
+ "kind": "field",
6731
+ "name": "formRef"
6732
+ },
6733
+ {
6734
+ "kind": "field",
6735
+ "name": "formContext",
6643
6736
  "type": {
6644
6737
  "text": "BmFormContext"
6645
6738
  },
6739
+ "privacy": "public",
6740
+ "default": "bmFormInitials"
6741
+ }
6742
+ ],
6743
+ "events": [
6744
+ {
6745
+ "description": "Validates the inputs and submits the form",
6746
+ "name": "submit"
6747
+ }
6748
+ ],
6749
+ "attributes": [
6750
+ {
6751
+ "name": "validationMode",
6752
+ "type": {
6753
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
6754
+ },
6755
+ "default": "'onBlur'",
6756
+ "description": "Specify if validation runs on change or when loosing focus",
6757
+ "fieldName": "validationMode"
6758
+ },
6759
+ {
6760
+ "name": "initialValues",
6761
+ "type": {
6762
+ "text": "Record<string, FormValue>"
6763
+ },
6764
+ "default": "{}",
6765
+ "description": "Specify initial values on Form controls based on their names",
6766
+ "fieldName": "initialValues"
6767
+ },
6768
+ {
6769
+ "name": "required",
6770
+ "type": {
6771
+ "text": "boolean"
6772
+ },
6773
+ "default": "false",
6774
+ "description": "Specify if input is a required",
6775
+ "fieldName": "required"
6776
+ },
6777
+ {
6778
+ "name": "disabled",
6779
+ "type": {
6780
+ "text": "boolean"
6781
+ },
6782
+ "default": "false",
6783
+ "description": "Specify if input is a disabled",
6784
+ "fieldName": "disabled"
6785
+ },
6786
+ {
6787
+ "name": "readOnly",
6788
+ "type": {
6789
+ "text": "boolean"
6790
+ },
6791
+ "default": "false",
6792
+ "description": "Specify if input is a read only",
6793
+ "fieldName": "readOnly"
6794
+ },
6795
+ {
6796
+ "name": "action",
6797
+ "type": {
6798
+ "text": "string | undefined"
6799
+ },
6800
+ "fieldName": "action"
6801
+ },
6802
+ {
6803
+ "name": "method",
6804
+ "type": {
6805
+ "text": "string | undefined"
6806
+ },
6807
+ "fieldName": "method"
6808
+ },
6809
+ {
6810
+ "name": "target",
6811
+ "type": {
6812
+ "text": "string | undefined"
6813
+ },
6814
+ "fieldName": "target"
6815
+ },
6816
+ {
6817
+ "name": "enctype",
6818
+ "type": {
6819
+ "text": "string | undefined"
6820
+ },
6821
+ "fieldName": "enctype"
6822
+ }
6823
+ ],
6824
+ "superclass": {
6825
+ "name": "LitElement",
6826
+ "package": "lit"
6827
+ },
6828
+ "summary": "`bm-form`",
6829
+ "tagName": "bm-form",
6830
+ "customElement": true
6831
+ }
6832
+ ],
6833
+ "exports": [
6834
+ {
6835
+ "kind": "js",
6836
+ "name": "validators",
6837
+ "declaration": {
6838
+ "name": "validators",
6839
+ "package": "@viasat/beam-shared/components/form"
6840
+ }
6841
+ },
6842
+ {
6843
+ "kind": "js",
6844
+ "name": "BmForm",
6845
+ "declaration": {
6846
+ "name": "BmForm",
6847
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
6848
+ }
6849
+ },
6850
+ {
6851
+ "kind": "custom-element-definition",
6852
+ "name": "bm-form",
6853
+ "declaration": {
6854
+ "name": "BmForm",
6855
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
6856
+ }
6857
+ }
6858
+ ]
6859
+ },
6860
+ {
6861
+ "kind": "javascript-module",
6862
+ "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
6863
+ "declarations": [
6864
+ {
6865
+ "kind": "function",
6866
+ "name": "createId",
6867
+ "return": {
6868
+ "type": {
6869
+ "text": "string"
6870
+ }
6871
+ }
6872
+ }
6873
+ ],
6874
+ "exports": [
6875
+ {
6876
+ "kind": "js",
6877
+ "name": "createId",
6878
+ "declaration": {
6879
+ "name": "createId",
6880
+ "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
6881
+ }
6882
+ }
6883
+ ]
6884
+ },
6885
+ {
6886
+ "kind": "javascript-module",
6887
+ "path": "libs/web-components/src/lib/wip/Form/index.ts",
6888
+ "declarations": [],
6889
+ "exports": [
6890
+ {
6891
+ "kind": "js",
6892
+ "name": "*",
6893
+ "declaration": {
6894
+ "name": "*",
6895
+ "package": "./Form"
6896
+ }
6897
+ },
6898
+ {
6899
+ "kind": "js",
6900
+ "name": "*",
6901
+ "declaration": {
6902
+ "name": "*",
6903
+ "package": "./Form.decorator"
6904
+ }
6905
+ }
6906
+ ]
6907
+ },
6908
+ {
6909
+ "kind": "javascript-module",
6910
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts",
6911
+ "declarations": [
6912
+ {
6913
+ "kind": "class",
6914
+ "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded",
6915
+ "name": "BmFileUploadButton",
6916
+ "slots": [
6917
+ {
6918
+ "description": "Specify text for the Button",
6919
+ "name": "default",
6920
+ "inheritedFrom": {
6921
+ "name": "BmButton",
6922
+ "module": "libs/web-components/src/lib/Button/Button.ts"
6923
+ }
6924
+ },
6925
+ {
6926
+ "description": "Specify if the Button displays icon before the text",
6927
+ "name": "iconBefore",
6928
+ "inheritedFrom": {
6929
+ "name": "BmButton",
6930
+ "module": "libs/web-components/src/lib/Button/Button.ts"
6931
+ }
6932
+ },
6933
+ {
6934
+ "description": "Specify if the Button displays icon after the text",
6935
+ "name": "iconAfter",
6646
6936
  "inheritedFrom": {
6647
6937
  "name": "BmButton",
6648
6938
  "module": "libs/web-components/src/lib/Button/Button.ts"
6649
6939
  }
6650
6940
  }
6651
6941
  ],
6652
- "attributes": [
6942
+ "members": [
6653
6943
  {
6944
+ "kind": "field",
6654
6945
  "name": "error",
6655
6946
  "type": {
6656
6947
  "text": "boolean | undefined"
6657
6948
  },
6658
6949
  "description": "Specify if FileUpload is in error state",
6659
- "fieldName": "error"
6950
+ "attribute": "error"
6660
6951
  },
6661
6952
  {
6953
+ "kind": "field",
6662
6954
  "name": "accept",
6663
6955
  "type": {
6664
6956
  "text": "string | undefined"
6665
6957
  },
6666
6958
  "description": "Specify the accepted file types",
6667
- "fieldName": "accept"
6959
+ "attribute": "accept"
6668
6960
  },
6669
6961
  {
6962
+ "kind": "field",
6670
6963
  "name": "multiple",
6671
6964
  "type": {
6672
6965
  "text": "boolean | undefined"
6673
6966
  },
6674
6967
  "description": "Specify if multiple files can be uploaded",
6675
- "fieldName": "multiple"
6968
+ "attribute": "multiple"
6676
6969
  },
6677
6970
  {
6971
+ "kind": "field",
6678
6972
  "name": "appearance",
6679
6973
  "type": {
6680
6974
  "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
6681
6975
  },
6682
- "default": "'accent'",
6976
+ "default": "'neutral-subtle'",
6683
6977
  "description": "Specify the appearance of a Button",
6684
- "fieldName": "appearance",
6978
+ "attribute": "appearance",
6685
6979
  "inheritedFrom": {
6686
6980
  "name": "BmButton",
6687
6981
  "module": "libs/web-components/src/lib/Button/Button.ts"
6688
6982
  }
6689
6983
  },
6690
6984
  {
6985
+ "kind": "field",
6691
6986
  "name": "kind",
6692
6987
  "type": {
6693
6988
  "text": "'filled' | 'outline' | 'ghost' | 'bare'"
6694
6989
  },
6695
- "default": "'filled'",
6990
+ "default": "'outline'",
6696
6991
  "description": "Specify the kind of Button",
6697
- "fieldName": "kind",
6992
+ "attribute": "kind",
6698
6993
  "inheritedFrom": {
6699
6994
  "name": "BmButton",
6700
6995
  "module": "libs/web-components/src/lib/Button/Button.ts"
6701
6996
  }
6702
6997
  },
6703
6998
  {
6999
+ "kind": "field",
6704
7000
  "name": "size",
6705
7001
  "type": {
6706
7002
  "text": "'sm' | 'md' | 'lg'"
6707
7003
  },
6708
7004
  "default": "'md'",
6709
7005
  "description": "Specify the size of a Button",
6710
- "fieldName": "size",
7006
+ "attribute": "size",
6711
7007
  "inheritedFrom": {
6712
7008
  "name": "BmButton",
6713
7009
  "module": "libs/web-components/src/lib/Button/Button.ts"
6714
7010
  }
6715
7011
  },
6716
7012
  {
6717
- "name": "disabled",
7013
+ "kind": "field",
7014
+ "name": "iconOnly",
6718
7015
  "type": {
6719
- "text": "boolean"
7016
+ "text": "boolean | undefined"
6720
7017
  },
7018
+ "description": "Specify if the icon displays without text",
7019
+ "attribute": "iconOnly",
6721
7020
  "default": "false",
6722
- "description": "Specify if the Button is disabled",
6723
- "fieldName": "disabled",
6724
7021
  "inheritedFrom": {
6725
7022
  "name": "BmButton",
6726
7023
  "module": "libs/web-components/src/lib/Button/Button.ts"
6727
7024
  }
6728
7025
  },
6729
7026
  {
6730
- "name": "fluid",
7027
+ "kind": "field",
7028
+ "name": "iconBefore",
7029
+ "default": "unsafeSVG(Upload)"
7030
+ },
7031
+ {
7032
+ "kind": "field",
7033
+ "name": "formAssociated",
6731
7034
  "type": {
6732
7035
  "text": "boolean"
6733
7036
  },
6734
- "default": "false",
6735
- "description": "Specify if Button is fluid",
6736
- "fieldName": "fluid",
7037
+ "static": true,
7038
+ "default": "true",
7039
+ "inheritedFrom": {
7040
+ "name": "BmButton",
7041
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7042
+ }
7043
+ },
7044
+ {
7045
+ "kind": "field",
7046
+ "name": "disabled",
7047
+ "type": {
7048
+ "text": "boolean"
7049
+ },
7050
+ "default": "false",
7051
+ "description": "Specify if the Button is disabled",
7052
+ "attribute": "disabled",
7053
+ "inheritedFrom": {
7054
+ "name": "BmButton",
7055
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7056
+ }
7057
+ },
7058
+ {
7059
+ "kind": "field",
7060
+ "name": "fluid",
7061
+ "type": {
7062
+ "text": "boolean"
7063
+ },
7064
+ "default": "false",
7065
+ "description": "Specify if Button is fluid",
7066
+ "attribute": "fluid",
7067
+ "inheritedFrom": {
7068
+ "name": "BmButton",
7069
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7070
+ }
7071
+ },
7072
+ {
7073
+ "kind": "field",
7074
+ "name": "width",
7075
+ "type": {
7076
+ "text": "string | undefined"
7077
+ },
7078
+ "description": "Specify the width of a Button",
7079
+ "attribute": "width",
7080
+ "inheritedFrom": {
7081
+ "name": "BmButton",
7082
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7083
+ }
7084
+ },
7085
+ {
7086
+ "kind": "field",
7087
+ "name": "height",
7088
+ "type": {
7089
+ "text": "string | undefined"
7090
+ },
7091
+ "description": "Specify the height of a Button",
7092
+ "attribute": "height",
7093
+ "inheritedFrom": {
7094
+ "name": "BmButton",
7095
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7096
+ }
7097
+ },
7098
+ {
7099
+ "kind": "field",
7100
+ "name": "theme",
7101
+ "type": {
7102
+ "text": "'light' | 'dark' | undefined"
7103
+ },
7104
+ "description": "Specify the theme of the Button",
7105
+ "attribute": "theme",
7106
+ "inheritedFrom": {
7107
+ "name": "BmButton",
7108
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7109
+ }
7110
+ },
7111
+ {
7112
+ "kind": "field",
7113
+ "name": "type",
7114
+ "type": {
7115
+ "text": "string"
7116
+ },
7117
+ "default": "'button'",
7118
+ "attribute": "type",
7119
+ "inheritedFrom": {
7120
+ "name": "BmButton",
7121
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7122
+ }
7123
+ },
7124
+ {
7125
+ "kind": "field",
7126
+ "name": "formContext",
7127
+ "type": {
7128
+ "text": "BmFormContext"
7129
+ },
7130
+ "inheritedFrom": {
7131
+ "name": "BmButton",
7132
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7133
+ }
7134
+ }
7135
+ ],
7136
+ "attributes": [
7137
+ {
7138
+ "name": "error",
7139
+ "type": {
7140
+ "text": "boolean | undefined"
7141
+ },
7142
+ "description": "Specify if FileUpload is in error state",
7143
+ "fieldName": "error"
7144
+ },
7145
+ {
7146
+ "name": "accept",
7147
+ "type": {
7148
+ "text": "string | undefined"
7149
+ },
7150
+ "description": "Specify the accepted file types",
7151
+ "fieldName": "accept"
7152
+ },
7153
+ {
7154
+ "name": "multiple",
7155
+ "type": {
7156
+ "text": "boolean | undefined"
7157
+ },
7158
+ "description": "Specify if multiple files can be uploaded",
7159
+ "fieldName": "multiple"
7160
+ },
7161
+ {
7162
+ "name": "appearance",
7163
+ "type": {
7164
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
7165
+ },
7166
+ "default": "'accent'",
7167
+ "description": "Specify the appearance of a Button",
7168
+ "fieldName": "appearance",
7169
+ "inheritedFrom": {
7170
+ "name": "BmButton",
7171
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7172
+ }
7173
+ },
7174
+ {
7175
+ "name": "kind",
7176
+ "type": {
7177
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
7178
+ },
7179
+ "default": "'filled'",
7180
+ "description": "Specify the kind of Button",
7181
+ "fieldName": "kind",
7182
+ "inheritedFrom": {
7183
+ "name": "BmButton",
7184
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7185
+ }
7186
+ },
7187
+ {
7188
+ "name": "size",
7189
+ "type": {
7190
+ "text": "'sm' | 'md' | 'lg'"
7191
+ },
7192
+ "default": "'md'",
7193
+ "description": "Specify the size of a Button",
7194
+ "fieldName": "size",
7195
+ "inheritedFrom": {
7196
+ "name": "BmButton",
7197
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7198
+ }
7199
+ },
7200
+ {
7201
+ "name": "disabled",
7202
+ "type": {
7203
+ "text": "boolean"
7204
+ },
7205
+ "default": "false",
7206
+ "description": "Specify if the Button is disabled",
7207
+ "fieldName": "disabled",
7208
+ "inheritedFrom": {
7209
+ "name": "BmButton",
7210
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7211
+ }
7212
+ },
7213
+ {
7214
+ "name": "fluid",
7215
+ "type": {
7216
+ "text": "boolean"
7217
+ },
7218
+ "default": "false",
7219
+ "description": "Specify if Button is fluid",
7220
+ "fieldName": "fluid",
6737
7221
  "inheritedFrom": {
6738
7222
  "name": "BmButton",
6739
7223
  "module": "libs/web-components/src/lib/Button/Button.ts"
@@ -7391,591 +7875,50 @@
7391
7875
  },
7392
7876
  {
7393
7877
  "kind": "field",
7394
- "name": "fileLimit",
7395
- "type": {
7396
- "text": "number | undefined"
7397
- },
7398
- "description": "Specify how many files can be uploaded",
7399
- "attribute": "fileLimit"
7400
- },
7401
- {
7402
- "kind": "field",
7403
- "name": "maxFileSize",
7404
- "type": {
7405
- "text": "number | undefined"
7406
- },
7407
- "description": "Specify the maximum file size that can be uploaded",
7408
- "attribute": "maxFileSize"
7409
- },
7410
- {
7411
- "kind": "field",
7412
- "name": "required",
7413
- "type": {
7414
- "text": "boolean | undefined"
7415
- },
7416
- "description": "Specify if FileUpload is a required input",
7417
- "default": "false",
7418
- "attribute": "required"
7419
- },
7420
- {
7421
- "kind": "field",
7422
- "name": "readOnly",
7423
- "type": {
7424
- "text": "boolean | undefined"
7425
- },
7426
- "description": "Specify if FileUpload is in read-only state",
7427
- "attribute": "readOnly"
7428
- },
7429
- {
7430
- "kind": "field",
7431
- "name": "hideRequiredMarker",
7432
- "type": {
7433
- "text": "boolean | undefined"
7434
- },
7435
- "description": "Specify if FileUpload displays with an asterisk",
7436
- "default": "false",
7437
- "attribute": "hideRequiredMarker"
7438
- },
7439
- {
7440
- "kind": "field",
7441
- "name": "validationRules",
7442
- "type": {
7443
- "text": "Array<FormValidator>"
7444
- },
7445
- "default": "[]",
7446
- "attribute": "validationRules",
7447
- "description": "Specify form validation rules for FileUpload",
7448
- "inheritedFrom": {
7449
- "name": "FormField",
7450
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7451
- }
7452
- },
7453
- {
7454
- "kind": "field",
7455
- "name": "fluid",
7456
- "type": {
7457
- "text": "boolean | undefined"
7458
- },
7459
- "description": "Specify if FileUpload is fluid",
7460
- "default": "false",
7461
- "attribute": "fluid"
7462
- },
7463
- {
7464
- "kind": "field",
7465
- "name": "width",
7466
- "type": {
7467
- "text": "string | undefined"
7468
- },
7469
- "description": "Specify the width of FileUpload",
7470
- "attribute": "width"
7471
- },
7472
- {
7473
- "kind": "field",
7474
- "name": "theme",
7475
- "type": {
7476
- "text": "'light' | 'dark' | undefined"
7477
- },
7478
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7479
- "attribute": "theme"
7480
- },
7481
- {
7482
- "kind": "field",
7483
- "name": "formContext",
7484
- "type": {
7485
- "text": "BmFormContext"
7486
- },
7487
- "inheritedFrom": {
7488
- "name": "FormField",
7489
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7490
- }
7491
- },
7492
- {
7493
- "kind": "field",
7494
- "name": "pickerRef"
7495
- },
7496
- {
7497
- "kind": "method",
7498
- "name": "formAssociatedCallback",
7499
- "return": {
7500
- "type": {
7501
- "text": "void"
7502
- }
7503
- },
7504
- "inheritedFrom": {
7505
- "name": "FormField",
7506
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7507
- }
7508
- },
7509
- {
7510
- "kind": "method",
7511
- "name": "formResetCallback",
7512
- "return": {
7513
- "type": {
7514
- "text": "void"
7515
- }
7516
- },
7517
- "inheritedFrom": {
7518
- "name": "FormField",
7519
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7520
- }
7521
- },
7522
- {
7523
- "kind": "field",
7524
- "name": "formAssociated",
7525
- "type": {
7526
- "text": "boolean"
7527
- },
7528
- "static": true,
7529
- "default": "true",
7530
- "inheritedFrom": {
7531
- "name": "FormField",
7532
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7533
- }
7534
- },
7535
- {
7536
- "kind": "field",
7537
- "name": "id",
7538
- "type": {
7539
- "text": "string"
7540
- },
7541
- "default": "''",
7542
- "attribute": "id",
7543
- "inheritedFrom": {
7544
- "name": "FormField",
7545
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7546
- }
7547
- },
7548
- {
7549
- "kind": "field",
7550
- "name": "name",
7551
- "type": {
7552
- "text": "string"
7553
- },
7554
- "default": "''",
7555
- "attribute": "name",
7556
- "inheritedFrom": {
7557
- "name": "FormField",
7558
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7559
- }
7560
- },
7561
- {
7562
- "kind": "field",
7563
- "name": "value",
7564
- "type": {
7565
- "text": "string"
7566
- },
7567
- "default": "''",
7568
- "attribute": "value",
7569
- "inheritedFrom": {
7570
- "name": "FormField",
7571
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7572
- }
7573
- },
7574
- {
7575
- "kind": "field",
7576
- "name": "inputAriaLabel",
7577
- "type": {
7578
- "text": "string | undefined"
7579
- },
7580
- "attribute": "input-aria-label",
7581
- "inheritedFrom": {
7582
- "name": "FormField",
7583
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7584
- }
7585
- },
7586
- {
7587
- "kind": "method",
7588
- "name": "finalizeAssociatedCallback",
7589
- "return": {
7590
- "type": {
7591
- "text": "FinalizeAssociatedResult"
7592
- }
7593
- },
7594
- "parameters": [
7595
- {
7596
- "name": "ctxValue",
7597
- "type": {
7598
- "text": "string"
7599
- }
7600
- }
7601
- ],
7602
- "inheritedFrom": {
7603
- "name": "FormField",
7604
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7605
- }
7606
- }
7607
- ],
7608
- "events": [
7609
- {
7610
- "description": "Dispatched when a file is uploaded. Preventing default on this event will make upload asynchronous",
7611
- "name": "bm-selected"
7612
- }
7613
- ],
7614
- "attributes": [
7615
- {
7616
- "name": "accept",
7617
- "type": {
7618
- "text": "string | undefined"
7619
- },
7620
- "description": "Specify what types of files can be uploaded",
7621
- "fieldName": "accept"
7622
- },
7623
- {
7624
- "name": "error",
7625
- "type": {
7626
- "text": "string | boolean | undefined"
7627
- },
7628
- "description": "Specify error text and display error state of FileUpload",
7629
- "fieldName": "error"
7630
- },
7631
- {
7632
- "name": "disabled",
7633
- "type": {
7634
- "text": "boolean | undefined"
7635
- },
7636
- "default": "false",
7637
- "description": "Specify if FileUpload is in disabled state",
7638
- "fieldName": "disabled"
7639
- },
7640
- {
7641
- "name": "multiple",
7642
- "type": {
7643
- "text": "boolean | undefined"
7644
- },
7645
- "description": "Specify if more than one file can be can be uploaded",
7646
- "default": "false",
7647
- "fieldName": "multiple"
7648
- },
7649
- {
7650
- "name": "fileLimit",
7651
- "type": {
7652
- "text": "number | undefined"
7653
- },
7654
- "description": "Specify how many files can be uploaded",
7655
- "fieldName": "fileLimit"
7656
- },
7657
- {
7658
- "name": "maxFileSize",
7659
- "type": {
7660
- "text": "number | undefined"
7661
- },
7662
- "description": "Specify the maximum file size that can be uploaded",
7663
- "fieldName": "maxFileSize"
7664
- },
7665
- {
7666
- "name": "required",
7667
- "type": {
7668
- "text": "boolean | undefined"
7669
- },
7670
- "description": "Specify if FileUpload is a required input",
7671
- "default": "false",
7672
- "fieldName": "required"
7673
- },
7674
- {
7675
- "name": "readOnly",
7676
- "type": {
7677
- "text": "boolean | undefined"
7678
- },
7679
- "description": "Specify if FileUpload is in read-only state",
7680
- "fieldName": "readOnly"
7681
- },
7682
- {
7683
- "name": "hideRequiredMarker",
7684
- "type": {
7685
- "text": "boolean | undefined"
7686
- },
7687
- "description": "Specify if FileUpload displays with an asterisk",
7688
- "default": "false",
7689
- "fieldName": "hideRequiredMarker"
7690
- },
7691
- {
7692
- "name": "validationRules",
7693
- "type": {
7694
- "text": "Array<FormValidator>"
7695
- },
7696
- "default": "[]",
7697
- "fieldName": "validationRules",
7698
- "description": "Specify form validation rules for FileUpload",
7699
- "inheritedFrom": {
7700
- "name": "FormField",
7701
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7702
- }
7703
- },
7704
- {
7705
- "name": "fluid",
7706
- "type": {
7707
- "text": "boolean | undefined"
7708
- },
7709
- "description": "Specify if FileUpload is fluid",
7710
- "default": "false",
7711
- "fieldName": "fluid"
7712
- },
7713
- {
7714
- "name": "width",
7715
- "type": {
7716
- "text": "string | undefined"
7717
- },
7718
- "description": "Specify the width of FileUpload",
7719
- "fieldName": "width"
7720
- },
7721
- {
7722
- "name": "theme",
7723
- "type": {
7724
- "text": "'light' | 'dark' | undefined"
7725
- },
7726
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7727
- "fieldName": "theme"
7728
- },
7729
- {
7730
- "name": "id",
7731
- "type": {
7732
- "text": "string"
7733
- },
7734
- "default": "''",
7735
- "fieldName": "id",
7736
- "inheritedFrom": {
7737
- "name": "FormField",
7738
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7739
- }
7740
- },
7741
- {
7742
- "name": "name",
7743
- "type": {
7744
- "text": "string"
7745
- },
7746
- "default": "''",
7747
- "fieldName": "name",
7748
- "inheritedFrom": {
7749
- "name": "FormField",
7750
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7751
- }
7752
- },
7753
- {
7754
- "name": "value",
7755
- "type": {
7756
- "text": "string"
7757
- },
7758
- "default": "''",
7759
- "fieldName": "value",
7760
- "inheritedFrom": {
7761
- "name": "FormField",
7762
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7763
- }
7764
- },
7765
- {
7766
- "name": "input-aria-label",
7767
- "type": {
7768
- "text": "string | undefined"
7769
- },
7770
- "fieldName": "inputAriaLabel",
7771
- "inheritedFrom": {
7772
- "name": "FormField",
7773
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7774
- }
7775
- }
7776
- ],
7777
- "superclass": {
7778
- "name": "FormField",
7779
- "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
7780
- },
7781
- "tagName": "bm-file-upload",
7782
- "customElement": true
7783
- }
7784
- ],
7785
- "exports": [
7786
- {
7787
- "kind": "js",
7788
- "name": "BmFileUploadFileSelectedEvent",
7789
- "declaration": {
7790
- "name": "BmFileUploadFileSelectedEvent",
7791
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7792
- }
7793
- },
7794
- {
7795
- "kind": "js",
7796
- "name": "BmFileUpload",
7797
- "declaration": {
7798
- "name": "BmFileUpload",
7799
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7800
- }
7801
- },
7802
- {
7803
- "kind": "custom-element-definition",
7804
- "name": "bm-file-upload",
7805
- "declaration": {
7806
- "name": "BmFileUpload",
7807
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7808
- }
7809
- }
7810
- ]
7811
- },
7812
- {
7813
- "kind": "javascript-module",
7814
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts",
7815
- "declarations": [
7816
- {
7817
- "kind": "variable",
7818
- "name": "fileUploadContext"
7819
- }
7820
- ],
7821
- "exports": [
7822
- {
7823
- "kind": "js",
7824
- "name": "fileUploadContext",
7825
- "declaration": {
7826
- "name": "fileUploadContext",
7827
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts"
7828
- }
7829
- }
7830
- ]
7831
- },
7832
- {
7833
- "kind": "javascript-module",
7834
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts",
7835
- "declarations": [
7836
- {
7837
- "kind": "variable",
7838
- "name": "fileUploadListContext"
7839
- }
7840
- ],
7841
- "exports": [
7842
- {
7843
- "kind": "js",
7844
- "name": "fileUploadListContext",
7845
- "declaration": {
7846
- "name": "fileUploadListContext",
7847
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts"
7848
- }
7849
- }
7850
- ]
7851
- },
7852
- {
7853
- "kind": "javascript-module",
7854
- "path": "libs/web-components/src/lib/wip/FileUpload/index.ts",
7855
- "declarations": [],
7856
- "exports": [
7857
- {
7858
- "kind": "js",
7859
- "name": "*",
7860
- "declaration": {
7861
- "name": "*",
7862
- "package": "./FileUpload"
7863
- }
7864
- },
7865
- {
7866
- "kind": "js",
7867
- "name": "*",
7868
- "declaration": {
7869
- "name": "*",
7870
- "package": "./FileUpload.Button"
7871
- }
7872
- },
7873
- {
7874
- "kind": "js",
7875
- "name": "*",
7876
- "declaration": {
7877
- "name": "*",
7878
- "package": "./FileUpload.Dropzone"
7879
- }
7880
- },
7881
- {
7882
- "kind": "js",
7883
- "name": "*",
7884
- "declaration": {
7885
- "name": "*",
7886
- "package": "./FileUpload.List"
7887
- }
7888
- },
7889
- {
7890
- "kind": "js",
7891
- "name": "*",
7892
- "declaration": {
7893
- "name": "*",
7894
- "package": "./FileUpload.List.Item"
7895
- }
7896
- }
7897
- ]
7898
- },
7899
- {
7900
- "kind": "javascript-module",
7901
- "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
7902
- "declarations": [
7903
- {
7904
- "kind": "variable",
7905
- "name": "bmFormInitials",
7906
- "type": {
7907
- "text": "BmFormContext"
7908
- },
7909
- "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
7910
- },
7911
- {
7912
- "kind": "variable",
7913
- "name": "bmFormContext"
7914
- }
7915
- ],
7916
- "exports": [
7917
- {
7918
- "kind": "js",
7919
- "name": "bmFormInitials",
7920
- "declaration": {
7921
- "name": "bmFormInitials",
7922
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7923
- }
7924
- },
7925
- {
7926
- "kind": "js",
7927
- "name": "bmFormContext",
7928
- "declaration": {
7929
- "name": "bmFormContext",
7930
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7931
- }
7932
- }
7933
- ]
7934
- },
7935
- {
7936
- "kind": "javascript-module",
7937
- "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
7938
- "declarations": [
7939
- {
7940
- "kind": "class",
7941
- "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
7942
- "name": "FormField",
7943
- "members": [
7944
- {
7945
- "kind": "field",
7946
- "name": "formAssociated",
7878
+ "name": "fileLimit",
7947
7879
  "type": {
7948
- "text": "boolean"
7880
+ "text": "number | undefined"
7949
7881
  },
7950
- "static": true,
7951
- "default": "true"
7882
+ "description": "Specify how many files can be uploaded",
7883
+ "attribute": "fileLimit"
7952
7884
  },
7953
7885
  {
7954
7886
  "kind": "field",
7955
- "name": "id",
7887
+ "name": "maxFileSize",
7956
7888
  "type": {
7957
- "text": "string"
7889
+ "text": "number | undefined"
7958
7890
  },
7959
- "default": "''",
7960
- "attribute": "id"
7891
+ "description": "Specify the maximum file size that can be uploaded",
7892
+ "attribute": "maxFileSize"
7961
7893
  },
7962
7894
  {
7963
7895
  "kind": "field",
7964
- "name": "name",
7896
+ "name": "required",
7965
7897
  "type": {
7966
- "text": "string"
7898
+ "text": "boolean | undefined"
7967
7899
  },
7968
- "default": "''",
7969
- "attribute": "name"
7900
+ "description": "Specify if FileUpload is a required input",
7901
+ "default": "false",
7902
+ "attribute": "required"
7970
7903
  },
7971
7904
  {
7972
7905
  "kind": "field",
7973
- "name": "value",
7906
+ "name": "readOnly",
7974
7907
  "type": {
7975
- "text": "string"
7908
+ "text": "boolean | undefined"
7976
7909
  },
7977
- "default": "''",
7978
- "attribute": "value"
7910
+ "description": "Specify if FileUpload is in read-only state",
7911
+ "attribute": "readOnly"
7912
+ },
7913
+ {
7914
+ "kind": "field",
7915
+ "name": "hideRequiredMarker",
7916
+ "type": {
7917
+ "text": "boolean | undefined"
7918
+ },
7919
+ "description": "Specify if FileUpload displays with an asterisk",
7920
+ "default": "false",
7921
+ "attribute": "hideRequiredMarker"
7979
7922
  },
7980
7923
  {
7981
7924
  "kind": "field",
@@ -7984,23 +7927,56 @@
7984
7927
  "text": "Array<FormValidator>"
7985
7928
  },
7986
7929
  "default": "[]",
7987
- "attribute": "validationRules"
7930
+ "attribute": "validationRules",
7931
+ "description": "Specify form validation rules for FileUpload",
7932
+ "inheritedFrom": {
7933
+ "name": "FormField",
7934
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7935
+ }
7988
7936
  },
7989
7937
  {
7990
7938
  "kind": "field",
7991
- "name": "inputAriaLabel",
7939
+ "name": "fluid",
7940
+ "type": {
7941
+ "text": "boolean | undefined"
7942
+ },
7943
+ "description": "Specify if FileUpload is fluid",
7944
+ "default": "false",
7945
+ "attribute": "fluid"
7946
+ },
7947
+ {
7948
+ "kind": "field",
7949
+ "name": "width",
7992
7950
  "type": {
7993
7951
  "text": "string | undefined"
7994
7952
  },
7995
- "attribute": "input-aria-label"
7953
+ "description": "Specify the width of FileUpload",
7954
+ "attribute": "width"
7955
+ },
7956
+ {
7957
+ "kind": "field",
7958
+ "name": "theme",
7959
+ "type": {
7960
+ "text": "'light' | 'dark' | undefined"
7961
+ },
7962
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7963
+ "attribute": "theme"
7996
7964
  },
7997
7965
  {
7998
7966
  "kind": "field",
7999
7967
  "name": "formContext",
8000
7968
  "type": {
8001
7969
  "text": "BmFormContext"
7970
+ },
7971
+ "inheritedFrom": {
7972
+ "name": "FormField",
7973
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8002
7974
  }
8003
7975
  },
7976
+ {
7977
+ "kind": "field",
7978
+ "name": "pickerRef"
7979
+ },
8004
7980
  {
8005
7981
  "kind": "method",
8006
7982
  "name": "formAssociatedCallback",
@@ -8008,6 +7984,10 @@
8008
7984
  "type": {
8009
7985
  "text": "void"
8010
7986
  }
7987
+ },
7988
+ "inheritedFrom": {
7989
+ "name": "FormField",
7990
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8011
7991
  }
8012
7992
  },
8013
7993
  {
@@ -8017,349 +7997,345 @@
8017
7997
  "type": {
8018
7998
  "text": "void"
8019
7999
  }
8000
+ },
8001
+ "inheritedFrom": {
8002
+ "name": "FormField",
8003
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8020
8004
  }
8021
8005
  },
8022
8006
  {
8023
- "kind": "method",
8024
- "name": "finalizeAssociatedCallback",
8025
- "return": {
8026
- "type": {
8027
- "text": "FinalizeAssociatedResult"
8028
- }
8007
+ "kind": "field",
8008
+ "name": "formAssociated",
8009
+ "type": {
8010
+ "text": "boolean"
8029
8011
  },
8030
- "parameters": [
8031
- {
8032
- "name": "ctxValue",
8033
- "type": {
8034
- "text": "string"
8035
- }
8036
- }
8037
- ]
8038
- }
8039
- ],
8040
- "attributes": [
8012
+ "static": true,
8013
+ "default": "true",
8014
+ "inheritedFrom": {
8015
+ "name": "FormField",
8016
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8017
+ }
8018
+ },
8041
8019
  {
8020
+ "kind": "field",
8042
8021
  "name": "id",
8043
8022
  "type": {
8044
8023
  "text": "string"
8045
8024
  },
8046
8025
  "default": "''",
8047
- "fieldName": "id"
8026
+ "attribute": "id",
8027
+ "inheritedFrom": {
8028
+ "name": "FormField",
8029
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8030
+ }
8048
8031
  },
8049
8032
  {
8033
+ "kind": "field",
8050
8034
  "name": "name",
8051
8035
  "type": {
8052
8036
  "text": "string"
8053
8037
  },
8054
8038
  "default": "''",
8055
- "fieldName": "name"
8039
+ "attribute": "name",
8040
+ "inheritedFrom": {
8041
+ "name": "FormField",
8042
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8043
+ }
8056
8044
  },
8057
8045
  {
8046
+ "kind": "field",
8058
8047
  "name": "value",
8059
8048
  "type": {
8060
8049
  "text": "string"
8061
8050
  },
8062
8051
  "default": "''",
8063
- "fieldName": "value"
8052
+ "attribute": "value",
8053
+ "inheritedFrom": {
8054
+ "name": "FormField",
8055
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8056
+ }
8064
8057
  },
8065
8058
  {
8066
- "name": "validationRules",
8059
+ "kind": "field",
8060
+ "name": "inputAriaLabel",
8067
8061
  "type": {
8068
- "text": "Array<FormValidator>"
8062
+ "text": "string | undefined"
8069
8063
  },
8070
- "default": "[]",
8071
- "fieldName": "validationRules"
8064
+ "attribute": "input-aria-label",
8065
+ "inheritedFrom": {
8066
+ "name": "FormField",
8067
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8068
+ }
8072
8069
  },
8073
8070
  {
8074
- "name": "input-aria-label",
8075
- "type": {
8076
- "text": "string | undefined"
8071
+ "kind": "method",
8072
+ "name": "finalizeAssociatedCallback",
8073
+ "return": {
8074
+ "type": {
8075
+ "text": "FinalizeAssociatedResult"
8076
+ }
8077
8077
  },
8078
- "fieldName": "inputAriaLabel"
8078
+ "parameters": [
8079
+ {
8080
+ "name": "ctxValue",
8081
+ "type": {
8082
+ "text": "string"
8083
+ }
8084
+ }
8085
+ ],
8086
+ "inheritedFrom": {
8087
+ "name": "FormField",
8088
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8089
+ }
8079
8090
  }
8080
8091
  ],
8081
- "superclass": {
8082
- "name": "LitElement",
8083
- "package": "lit"
8084
- },
8085
- "customElement": true
8086
- }
8087
- ],
8088
- "exports": [
8089
- {
8090
- "kind": "js",
8091
- "name": "FormField",
8092
- "declaration": {
8093
- "name": "FormField",
8094
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8095
- }
8096
- }
8097
- ]
8098
- },
8099
- {
8100
- "kind": "javascript-module",
8101
- "path": "libs/web-components/src/lib/wip/Form/Form.ts",
8102
- "declarations": [
8103
- {
8104
- "kind": "class",
8105
- "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
8106
- "name": "BmForm",
8107
- "slots": [
8092
+ "events": [
8108
8093
  {
8109
- "description": "Add controls to the Form",
8110
- "name": "slot"
8094
+ "description": "Dispatched when a file is uploaded. Preventing default on this event will make upload asynchronous",
8095
+ "name": "bm-selected"
8111
8096
  }
8112
8097
  ],
8113
- "members": [
8114
- {
8115
- "kind": "field",
8116
- "name": "validationMode",
8117
- "type": {
8118
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8119
- },
8120
- "default": "'onBlur'",
8121
- "description": "Specify if validation runs on change or when loosing focus",
8122
- "attribute": "validationMode"
8123
- },
8124
- {
8125
- "kind": "field",
8126
- "name": "initialValues",
8127
- "type": {
8128
- "text": "Record<string, FormValue>"
8129
- },
8130
- "default": "{}",
8131
- "description": "Specify initial values on Form controls based on their names",
8132
- "attribute": "initialValues"
8133
- },
8134
- {
8135
- "kind": "field",
8136
- "name": "required",
8137
- "type": {
8138
- "text": "boolean"
8139
- },
8140
- "default": "false",
8141
- "description": "Specify if input is a required",
8142
- "attribute": "required"
8143
- },
8144
- {
8145
- "kind": "field",
8146
- "name": "disabled",
8147
- "type": {
8148
- "text": "boolean"
8149
- },
8150
- "default": "false",
8151
- "description": "Specify if input is a disabled",
8152
- "attribute": "disabled"
8153
- },
8154
- {
8155
- "kind": "field",
8156
- "name": "readOnly",
8157
- "type": {
8158
- "text": "boolean"
8159
- },
8160
- "default": "false",
8161
- "description": "Specify if input is a read only",
8162
- "attribute": "readOnly"
8163
- },
8098
+ "attributes": [
8164
8099
  {
8165
- "kind": "field",
8166
- "name": "action",
8100
+ "name": "accept",
8167
8101
  "type": {
8168
8102
  "text": "string | undefined"
8169
8103
  },
8170
- "attribute": "action"
8104
+ "description": "Specify what types of files can be uploaded",
8105
+ "fieldName": "accept"
8171
8106
  },
8172
8107
  {
8173
- "kind": "field",
8174
- "name": "method",
8108
+ "name": "error",
8175
8109
  "type": {
8176
- "text": "string | undefined"
8110
+ "text": "string | boolean | undefined"
8177
8111
  },
8178
- "attribute": "method"
8112
+ "description": "Specify error text and display error state of FileUpload",
8113
+ "fieldName": "error"
8179
8114
  },
8180
8115
  {
8181
- "kind": "field",
8182
- "name": "target",
8116
+ "name": "disabled",
8183
8117
  "type": {
8184
- "text": "string | undefined"
8118
+ "text": "boolean | undefined"
8185
8119
  },
8186
- "attribute": "target"
8120
+ "default": "false",
8121
+ "description": "Specify if FileUpload is in disabled state",
8122
+ "fieldName": "disabled"
8187
8123
  },
8188
8124
  {
8189
- "kind": "field",
8190
- "name": "enctype",
8125
+ "name": "multiple",
8191
8126
  "type": {
8192
- "text": "string | undefined"
8127
+ "text": "boolean | undefined"
8193
8128
  },
8194
- "attribute": "enctype"
8129
+ "description": "Specify if more than one file can be can be uploaded",
8130
+ "default": "false",
8131
+ "fieldName": "multiple"
8195
8132
  },
8196
8133
  {
8197
- "kind": "field",
8198
- "name": "formMeta",
8134
+ "name": "fileLimit",
8199
8135
  "type": {
8200
- "text": "Record<string, FieldMeta>"
8136
+ "text": "number | undefined"
8201
8137
  },
8202
- "default": "{}"
8138
+ "description": "Specify how many files can be uploaded",
8139
+ "fieldName": "fileLimit"
8203
8140
  },
8204
8141
  {
8205
- "kind": "field",
8206
- "name": "formRef"
8142
+ "name": "maxFileSize",
8143
+ "type": {
8144
+ "text": "number | undefined"
8145
+ },
8146
+ "description": "Specify the maximum file size that can be uploaded",
8147
+ "fieldName": "maxFileSize"
8207
8148
  },
8208
8149
  {
8209
- "kind": "field",
8210
- "name": "formContext",
8150
+ "name": "required",
8211
8151
  "type": {
8212
- "text": "BmFormContext"
8152
+ "text": "boolean | undefined"
8213
8153
  },
8214
- "privacy": "public",
8215
- "default": "bmFormInitials"
8216
- }
8217
- ],
8218
- "events": [
8154
+ "description": "Specify if FileUpload is a required input",
8155
+ "default": "false",
8156
+ "fieldName": "required"
8157
+ },
8219
8158
  {
8220
- "description": "Validates the inputs and submits the form",
8221
- "name": "submit"
8222
- }
8223
- ],
8224
- "attributes": [
8159
+ "name": "readOnly",
8160
+ "type": {
8161
+ "text": "boolean | undefined"
8162
+ },
8163
+ "description": "Specify if FileUpload is in read-only state",
8164
+ "fieldName": "readOnly"
8165
+ },
8225
8166
  {
8226
- "name": "validationMode",
8167
+ "name": "hideRequiredMarker",
8227
8168
  "type": {
8228
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8169
+ "text": "boolean | undefined"
8229
8170
  },
8230
- "default": "'onBlur'",
8231
- "description": "Specify if validation runs on change or when loosing focus",
8232
- "fieldName": "validationMode"
8171
+ "description": "Specify if FileUpload displays with an asterisk",
8172
+ "default": "false",
8173
+ "fieldName": "hideRequiredMarker"
8233
8174
  },
8234
8175
  {
8235
- "name": "initialValues",
8176
+ "name": "validationRules",
8236
8177
  "type": {
8237
- "text": "Record<string, FormValue>"
8178
+ "text": "Array<FormValidator>"
8238
8179
  },
8239
- "default": "{}",
8240
- "description": "Specify initial values on Form controls based on their names",
8241
- "fieldName": "initialValues"
8180
+ "default": "[]",
8181
+ "fieldName": "validationRules",
8182
+ "description": "Specify form validation rules for FileUpload",
8183
+ "inheritedFrom": {
8184
+ "name": "FormField",
8185
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8186
+ }
8242
8187
  },
8243
8188
  {
8244
- "name": "required",
8189
+ "name": "fluid",
8245
8190
  "type": {
8246
- "text": "boolean"
8191
+ "text": "boolean | undefined"
8247
8192
  },
8193
+ "description": "Specify if FileUpload is fluid",
8248
8194
  "default": "false",
8249
- "description": "Specify if input is a required",
8250
- "fieldName": "required"
8195
+ "fieldName": "fluid"
8251
8196
  },
8252
8197
  {
8253
- "name": "disabled",
8198
+ "name": "width",
8254
8199
  "type": {
8255
- "text": "boolean"
8200
+ "text": "string | undefined"
8256
8201
  },
8257
- "default": "false",
8258
- "description": "Specify if input is a disabled",
8259
- "fieldName": "disabled"
8202
+ "description": "Specify the width of FileUpload",
8203
+ "fieldName": "width"
8260
8204
  },
8261
8205
  {
8262
- "name": "readOnly",
8206
+ "name": "theme",
8263
8207
  "type": {
8264
- "text": "boolean"
8208
+ "text": "'light' | 'dark' | undefined"
8265
8209
  },
8266
- "default": "false",
8267
- "description": "Specify if input is a read only",
8268
- "fieldName": "readOnly"
8210
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8211
+ "fieldName": "theme"
8269
8212
  },
8270
8213
  {
8271
- "name": "action",
8214
+ "name": "id",
8272
8215
  "type": {
8273
- "text": "string | undefined"
8216
+ "text": "string"
8274
8217
  },
8275
- "fieldName": "action"
8218
+ "default": "''",
8219
+ "fieldName": "id",
8220
+ "inheritedFrom": {
8221
+ "name": "FormField",
8222
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8223
+ }
8276
8224
  },
8277
8225
  {
8278
- "name": "method",
8226
+ "name": "name",
8279
8227
  "type": {
8280
- "text": "string | undefined"
8228
+ "text": "string"
8281
8229
  },
8282
- "fieldName": "method"
8230
+ "default": "''",
8231
+ "fieldName": "name",
8232
+ "inheritedFrom": {
8233
+ "name": "FormField",
8234
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8235
+ }
8283
8236
  },
8284
8237
  {
8285
- "name": "target",
8238
+ "name": "value",
8286
8239
  "type": {
8287
- "text": "string | undefined"
8240
+ "text": "string"
8288
8241
  },
8289
- "fieldName": "target"
8242
+ "default": "''",
8243
+ "fieldName": "value",
8244
+ "inheritedFrom": {
8245
+ "name": "FormField",
8246
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8247
+ }
8290
8248
  },
8291
8249
  {
8292
- "name": "enctype",
8250
+ "name": "input-aria-label",
8293
8251
  "type": {
8294
8252
  "text": "string | undefined"
8295
8253
  },
8296
- "fieldName": "enctype"
8254
+ "fieldName": "inputAriaLabel",
8255
+ "inheritedFrom": {
8256
+ "name": "FormField",
8257
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8258
+ }
8297
8259
  }
8298
8260
  ],
8299
8261
  "superclass": {
8300
- "name": "LitElement",
8301
- "package": "lit"
8262
+ "name": "FormField",
8263
+ "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8302
8264
  },
8303
- "summary": "`bm-form`",
8304
- "tagName": "bm-form",
8265
+ "tagName": "bm-file-upload",
8305
8266
  "customElement": true
8306
8267
  }
8307
8268
  ],
8308
8269
  "exports": [
8309
8270
  {
8310
8271
  "kind": "js",
8311
- "name": "validators",
8272
+ "name": "BmFileUploadFileSelectedEvent",
8312
8273
  "declaration": {
8313
- "name": "validators",
8314
- "package": "@viasat/beam-shared/components/form"
8274
+ "name": "BmFileUploadFileSelectedEvent",
8275
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8315
8276
  }
8316
8277
  },
8317
8278
  {
8318
8279
  "kind": "js",
8319
- "name": "BmForm",
8280
+ "name": "BmFileUpload",
8320
8281
  "declaration": {
8321
- "name": "BmForm",
8322
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8282
+ "name": "BmFileUpload",
8283
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8323
8284
  }
8324
8285
  },
8325
8286
  {
8326
8287
  "kind": "custom-element-definition",
8327
- "name": "bm-form",
8288
+ "name": "bm-file-upload",
8328
8289
  "declaration": {
8329
- "name": "BmForm",
8330
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8290
+ "name": "BmFileUpload",
8291
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8331
8292
  }
8332
8293
  }
8333
8294
  ]
8334
8295
  },
8335
8296
  {
8336
8297
  "kind": "javascript-module",
8337
- "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
8298
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts",
8338
8299
  "declarations": [
8339
8300
  {
8340
- "kind": "function",
8341
- "name": "createId",
8342
- "return": {
8343
- "type": {
8344
- "text": "string"
8345
- }
8301
+ "kind": "variable",
8302
+ "name": "fileUploadContext"
8303
+ }
8304
+ ],
8305
+ "exports": [
8306
+ {
8307
+ "kind": "js",
8308
+ "name": "fileUploadContext",
8309
+ "declaration": {
8310
+ "name": "fileUploadContext",
8311
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts"
8346
8312
  }
8347
8313
  }
8314
+ ]
8315
+ },
8316
+ {
8317
+ "kind": "javascript-module",
8318
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts",
8319
+ "declarations": [
8320
+ {
8321
+ "kind": "variable",
8322
+ "name": "fileUploadListContext"
8323
+ }
8348
8324
  ],
8349
8325
  "exports": [
8350
8326
  {
8351
8327
  "kind": "js",
8352
- "name": "createId",
8328
+ "name": "fileUploadListContext",
8353
8329
  "declaration": {
8354
- "name": "createId",
8355
- "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
8330
+ "name": "fileUploadListContext",
8331
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts"
8356
8332
  }
8357
8333
  }
8358
8334
  ]
8359
8335
  },
8360
8336
  {
8361
8337
  "kind": "javascript-module",
8362
- "path": "libs/web-components/src/lib/wip/Form/index.ts",
8338
+ "path": "libs/web-components/src/lib/wip/FileUpload/index.ts",
8363
8339
  "declarations": [],
8364
8340
  "exports": [
8365
8341
  {
@@ -8367,7 +8343,7 @@
8367
8343
  "name": "*",
8368
8344
  "declaration": {
8369
8345
  "name": "*",
8370
- "package": "./Form"
8346
+ "package": "./FileUpload"
8371
8347
  }
8372
8348
  },
8373
8349
  {
@@ -8375,7 +8351,31 @@
8375
8351
  "name": "*",
8376
8352
  "declaration": {
8377
8353
  "name": "*",
8378
- "package": "./Form.decorator"
8354
+ "package": "./FileUpload.Button"
8355
+ }
8356
+ },
8357
+ {
8358
+ "kind": "js",
8359
+ "name": "*",
8360
+ "declaration": {
8361
+ "name": "*",
8362
+ "package": "./FileUpload.Dropzone"
8363
+ }
8364
+ },
8365
+ {
8366
+ "kind": "js",
8367
+ "name": "*",
8368
+ "declaration": {
8369
+ "name": "*",
8370
+ "package": "./FileUpload.List"
8371
+ }
8372
+ },
8373
+ {
8374
+ "kind": "js",
8375
+ "name": "*",
8376
+ "declaration": {
8377
+ "name": "*",
8378
+ "package": "./FileUpload.List.Item"
8379
8379
  }
8380
8380
  }
8381
8381
  ]