@genesislcap/rapid-design-system 15.111.1-GENC-2045.1 → 15.111.2

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.
@@ -804,6 +804,86 @@
804
804
  }
805
805
  ]
806
806
  },
807
+ {
808
+ "kind": "javascript-module",
809
+ "path": "src/_config/configure.ts",
810
+ "declarations": [
811
+ {
812
+ "kind": "function",
813
+ "name": "configureRapidDesignSystem",
814
+ "return": {
815
+ "type": {
816
+ "text": "void"
817
+ }
818
+ },
819
+ "parameters": [
820
+ {
821
+ "name": "provider",
822
+ "type": {
823
+ "text": "HTMLElement"
824
+ }
825
+ },
826
+ {
827
+ "name": "config",
828
+ "type": {
829
+ "text": "Partial<DesignTokensConfig>"
830
+ }
831
+ }
832
+ ],
833
+ "description": "Extends configureDesignSystem with support for the `secondary`, `tertiary`, `error`,\n`success`, and `warning` color palettes.\n\nPass any of these entries under `design_tokens.color` in your config to override the defaults.\nOmitting any of them is safe — existing apps are unaffected and each token falls back to its\nbuilt-in default.",
834
+ "privacy": "public"
835
+ }
836
+ ],
837
+ "exports": [
838
+ {
839
+ "kind": "js",
840
+ "name": "configureRapidDesignSystem",
841
+ "declaration": {
842
+ "name": "configureRapidDesignSystem",
843
+ "module": "src/_config/configure.ts"
844
+ }
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "kind": "javascript-module",
850
+ "path": "src/_config/index.ts",
851
+ "declarations": [],
852
+ "exports": [
853
+ {
854
+ "kind": "js",
855
+ "name": "*",
856
+ "declaration": {
857
+ "name": "*",
858
+ "package": "./configure"
859
+ }
860
+ },
861
+ {
862
+ "kind": "js",
863
+ "name": "*",
864
+ "declaration": {
865
+ "name": "*",
866
+ "package": "./styles"
867
+ }
868
+ },
869
+ {
870
+ "kind": "js",
871
+ "name": "*",
872
+ "declaration": {
873
+ "name": "*",
874
+ "package": "./tokens"
875
+ }
876
+ },
877
+ {
878
+ "kind": "js",
879
+ "name": "*",
880
+ "declaration": {
881
+ "name": "*",
882
+ "package": "./values"
883
+ }
884
+ }
885
+ ]
886
+ },
807
887
  {
808
888
  "kind": "javascript-module",
809
889
  "path": "src/accordion/accordion.styles.ts",
@@ -952,86 +1032,6 @@
952
1032
  }
953
1033
  ]
954
1034
  },
955
- {
956
- "kind": "javascript-module",
957
- "path": "src/_config/configure.ts",
958
- "declarations": [
959
- {
960
- "kind": "function",
961
- "name": "configureRapidDesignSystem",
962
- "return": {
963
- "type": {
964
- "text": "void"
965
- }
966
- },
967
- "parameters": [
968
- {
969
- "name": "provider",
970
- "type": {
971
- "text": "HTMLElement"
972
- }
973
- },
974
- {
975
- "name": "config",
976
- "type": {
977
- "text": "Partial<DesignTokensConfig>"
978
- }
979
- }
980
- ],
981
- "description": "Extends configureDesignSystem with support for the `secondary`, `tertiary`, `error`,\n`success`, and `warning` color palettes.\n\nPass any of these entries under `design_tokens.color` in your config to override the defaults.\nOmitting any of them is safe — existing apps are unaffected and each token falls back to its\nbuilt-in default.",
982
- "privacy": "public"
983
- }
984
- ],
985
- "exports": [
986
- {
987
- "kind": "js",
988
- "name": "configureRapidDesignSystem",
989
- "declaration": {
990
- "name": "configureRapidDesignSystem",
991
- "module": "src/_config/configure.ts"
992
- }
993
- }
994
- ]
995
- },
996
- {
997
- "kind": "javascript-module",
998
- "path": "src/_config/index.ts",
999
- "declarations": [],
1000
- "exports": [
1001
- {
1002
- "kind": "js",
1003
- "name": "*",
1004
- "declaration": {
1005
- "name": "*",
1006
- "package": "./configure"
1007
- }
1008
- },
1009
- {
1010
- "kind": "js",
1011
- "name": "*",
1012
- "declaration": {
1013
- "name": "*",
1014
- "package": "./styles"
1015
- }
1016
- },
1017
- {
1018
- "kind": "js",
1019
- "name": "*",
1020
- "declaration": {
1021
- "name": "*",
1022
- "package": "./tokens"
1023
- }
1024
- },
1025
- {
1026
- "kind": "js",
1027
- "name": "*",
1028
- "declaration": {
1029
- "name": "*",
1030
- "package": "./values"
1031
- }
1032
- }
1033
- ]
1034
- },
1035
1035
  {
1036
1036
  "kind": "javascript-module",
1037
1037
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -5402,103 +5402,180 @@
5402
5402
  },
5403
5403
  {
5404
5404
  "kind": "javascript-module",
5405
- "path": "src/banner/banner.styles.ts",
5405
+ "path": "src/badge/badge.styles.ts",
5406
5406
  "declarations": [
5407
5407
  {
5408
- "kind": "variable",
5409
- "name": "rapidBannerStyles",
5410
- "default": "css`\n ${foundationBannerStyles}\n :host {\n --banner-height: calc(\n ((var(--design-unit) + 2) * var(--base-height-multiplier)) +\n (var(--design-unit) * var(--design-unit)) * 1px\n );\n }\n\n .banner {\n background-color: var(--neutral-layer-1);\n color: var(--neutral-foreground-rest);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content {\n font-size: var(--type-ramp-base-font-size);\n font-family: var(--body-font);\n line-height: var(--type-ramp-base-line-height);\n }\n`"
5408
+ "kind": "function",
5409
+ "name": "rapidBadgeStyles",
5410
+ "return": {
5411
+ "type": {
5412
+ "text": "ElementStyles"
5413
+ }
5414
+ },
5415
+ "parameters": [
5416
+ {
5417
+ "name": "context",
5418
+ "type": {
5419
+ "text": "ElementDefinitionContext"
5420
+ }
5421
+ },
5422
+ {
5423
+ "name": "definition",
5424
+ "type": {
5425
+ "text": "FoundationElementDefinition"
5426
+ }
5427
+ }
5428
+ ]
5411
5429
  }
5412
5430
  ],
5413
5431
  "exports": [
5414
5432
  {
5415
5433
  "kind": "js",
5416
- "name": "rapidBannerStyles",
5434
+ "name": "rapidBadgeStyles",
5417
5435
  "declaration": {
5418
- "name": "rapidBannerStyles",
5419
- "module": "src/banner/banner.styles.ts"
5436
+ "name": "rapidBadgeStyles",
5437
+ "module": "src/badge/badge.styles.ts"
5420
5438
  }
5421
5439
  }
5422
5440
  ]
5423
5441
  },
5424
5442
  {
5425
5443
  "kind": "javascript-module",
5426
- "path": "src/banner/banner.ts",
5444
+ "path": "src/badge/badge.template.ts",
5427
5445
  "declarations": [
5428
5446
  {
5429
- "kind": "variable",
5430
- "name": "rapidBannerShadowOptions",
5431
- "default": "foundationBannerShadowOptions"
5432
- },
5447
+ "kind": "function",
5448
+ "name": "rapidBadgeTemplate",
5449
+ "return": {
5450
+ "type": {
5451
+ "text": "ViewTemplate<Badge>"
5452
+ }
5453
+ },
5454
+ "parameters": [
5455
+ {
5456
+ "name": "context",
5457
+ "type": {
5458
+ "text": "ElementDefinitionContext"
5459
+ }
5460
+ },
5461
+ {
5462
+ "name": "definition",
5463
+ "type": {
5464
+ "text": "FoundationElementDefinition"
5465
+ }
5466
+ }
5467
+ ]
5468
+ }
5469
+ ],
5470
+ "exports": [
5471
+ {
5472
+ "kind": "js",
5473
+ "name": "rapidBadgeTemplate",
5474
+ "declaration": {
5475
+ "name": "rapidBadgeTemplate",
5476
+ "module": "src/badge/badge.template.ts"
5477
+ }
5478
+ }
5479
+ ]
5480
+ },
5481
+ {
5482
+ "kind": "javascript-module",
5483
+ "path": "src/badge/badge.ts",
5484
+ "declarations": [
5433
5485
  {
5434
5486
  "kind": "class",
5435
5487
  "description": "",
5436
- "name": "Banner",
5488
+ "name": "Badge",
5437
5489
  "superclass": {
5438
- "name": "FoundationBanner",
5490
+ "name": "FoundationBadge",
5439
5491
  "package": "@genesislcap/foundation-ui"
5440
5492
  },
5441
- "tagName": "%%prefix%%-banner",
5493
+ "tagName": "%%prefix%%-badge",
5442
5494
  "customElement": true,
5443
- "members": [
5495
+ "attributes": [
5444
5496
  {
5445
- "kind": "field",
5446
- "name": "banner",
5497
+ "name": "fill",
5447
5498
  "type": {
5448
- "text": "HTMLElement"
5499
+ "text": "string"
5449
5500
  },
5450
- "privacy": "public",
5501
+ "description": "Indicates the badge should have a filled style.",
5502
+ "fieldName": "fill",
5451
5503
  "inheritedFrom": {
5452
- "name": "Banner",
5453
- "module": "src/banner/banner.ts"
5504
+ "name": "Badge",
5505
+ "module": "src/badge/badge.ts"
5454
5506
  }
5455
5507
  },
5456
5508
  {
5457
- "kind": "field",
5458
- "name": "dismissAnimation",
5509
+ "name": "color",
5459
5510
  "type": {
5460
- "text": "'banner-delete' | ''"
5511
+ "text": "string"
5461
5512
  },
5462
- "default": "''",
5513
+ "description": "Indicates the badge should have a filled style.",
5514
+ "fieldName": "color",
5463
5515
  "inheritedFrom": {
5464
- "name": "Banner",
5465
- "module": "src/banner/banner.ts"
5516
+ "name": "Badge",
5517
+ "module": "src/badge/badge.ts"
5466
5518
  }
5467
5519
  },
5520
+ {
5521
+ "type": {
5522
+ "text": "boolean"
5523
+ },
5524
+ "description": "Indicates the element should be circular",
5525
+ "fieldName": "circular",
5526
+ "inheritedFrom": {
5527
+ "name": "Badge",
5528
+ "module": "src/badge/badge.ts"
5529
+ }
5530
+ }
5531
+ ],
5532
+ "members": [
5468
5533
  {
5469
5534
  "kind": "field",
5470
- "name": "notification",
5535
+ "name": "fill",
5471
5536
  "type": {
5472
- "text": "NotificationStructure"
5537
+ "text": "string"
5473
5538
  },
5539
+ "privacy": "public",
5540
+ "description": "Indicates the badge should have a filled style.",
5474
5541
  "inheritedFrom": {
5475
- "name": "Banner",
5476
- "module": "src/banner/banner.ts"
5542
+ "name": "Badge",
5543
+ "module": "src/badge/badge.ts"
5477
5544
  }
5478
5545
  },
5479
5546
  {
5480
- "kind": "method",
5481
- "name": "dismiss",
5547
+ "kind": "field",
5548
+ "name": "color",
5549
+ "type": {
5550
+ "text": "string"
5551
+ },
5482
5552
  "privacy": "public",
5483
- "return": {
5484
- "type": {
5485
- "text": "Promise<void>"
5486
- }
5553
+ "description": "Indicates the badge should have a filled style.",
5554
+ "inheritedFrom": {
5555
+ "name": "Badge",
5556
+ "module": "src/badge/badge.ts"
5557
+ }
5558
+ },
5559
+ {
5560
+ "kind": "field",
5561
+ "name": "circular",
5562
+ "type": {
5563
+ "text": "boolean"
5487
5564
  },
5488
- "description": "Dismiss the Banner from display.",
5565
+ "privacy": "public",
5566
+ "description": "Indicates the element should be circular",
5489
5567
  "inheritedFrom": {
5490
- "name": "Banner",
5491
- "module": "src/banner/banner.ts"
5568
+ "name": "Badge",
5569
+ "module": "src/badge/badge.ts"
5492
5570
  }
5493
5571
  },
5494
5572
  {
5495
- "kind": "method",
5496
- "name": "dismissNotification",
5573
+ "kind": "field",
5574
+ "name": "generateBadgeStyle",
5497
5575
  "privacy": "public",
5498
- "description": "Dismiss the Banner (NotificationStructure) from display.",
5499
5576
  "inheritedFrom": {
5500
- "name": "Banner",
5501
- "module": "src/banner/banner.ts"
5577
+ "name": "Badge",
5578
+ "module": "src/badge/badge.ts"
5502
5579
  }
5503
5580
  },
5504
5581
  {
@@ -5510,8 +5587,8 @@
5510
5587
  "privacy": "private",
5511
5588
  "default": "void 0",
5512
5589
  "inheritedFrom": {
5513
- "name": "FoundationElement",
5514
- "module": "src/foundation-element/foundation-element.ts"
5590
+ "name": "Badge",
5591
+ "module": "src/badge/badge.ts"
5515
5592
  }
5516
5593
  },
5517
5594
  {
@@ -5523,8 +5600,8 @@
5523
5600
  "privacy": "public",
5524
5601
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5525
5602
  "inheritedFrom": {
5526
- "name": "FoundationElement",
5527
- "module": "src/foundation-element/foundation-element.ts"
5603
+ "name": "Badge",
5604
+ "module": "src/badge/badge.ts"
5528
5605
  }
5529
5606
  },
5530
5607
  {
@@ -5536,8 +5613,8 @@
5536
5613
  "privacy": "public",
5537
5614
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
5538
5615
  "inheritedFrom": {
5539
- "name": "FoundationElement",
5540
- "module": "src/foundation-element/foundation-element.ts"
5616
+ "name": "Badge",
5617
+ "module": "src/badge/badge.ts"
5541
5618
  }
5542
5619
  },
5543
5620
  {
@@ -5550,8 +5627,8 @@
5550
5627
  }
5551
5628
  },
5552
5629
  "inheritedFrom": {
5553
- "name": "FoundationElement",
5554
- "module": "src/foundation-element/foundation-element.ts"
5630
+ "name": "Badge",
5631
+ "module": "src/badge/badge.ts"
5555
5632
  }
5556
5633
  },
5557
5634
  {
@@ -5563,8 +5640,8 @@
5563
5640
  "privacy": "public",
5564
5641
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
5565
5642
  "inheritedFrom": {
5566
- "name": "FoundationElement",
5567
- "module": "src/foundation-element/foundation-element.ts"
5643
+ "name": "Badge",
5644
+ "module": "src/badge/badge.ts"
5568
5645
  }
5569
5646
  },
5570
5647
  {
@@ -5577,8 +5654,8 @@
5577
5654
  }
5578
5655
  },
5579
5656
  "inheritedFrom": {
5580
- "name": "FoundationElement",
5581
- "module": "src/foundation-element/foundation-element.ts"
5657
+ "name": "Badge",
5658
+ "module": "src/badge/badge.ts"
5582
5659
  }
5583
5660
  },
5584
5661
  {
@@ -5608,57 +5685,47 @@
5608
5685
  ],
5609
5686
  "description": "Defines an element registry function with a set of element definition defaults.",
5610
5687
  "inheritedFrom": {
5611
- "name": "FoundationElement",
5612
- "module": "src/foundation-element/foundation-element.ts"
5688
+ "name": "Badge",
5689
+ "module": "src/badge/badge.ts"
5613
5690
  }
5614
5691
  }
5615
5692
  ]
5616
5693
  },
5617
5694
  {
5618
5695
  "kind": "variable",
5619
- "name": "rapidBanner",
5620
- "description": "The Rapid Banner",
5621
- "privacy": "public"
5696
+ "name": "rapidBadge"
5622
5697
  }
5623
5698
  ],
5624
5699
  "exports": [
5625
5700
  {
5626
5701
  "kind": "js",
5627
- "name": "rapidBannerShadowOptions",
5628
- "declaration": {
5629
- "name": "rapidBannerShadowOptions",
5630
- "module": "src/banner/banner.ts"
5631
- }
5632
- },
5633
- {
5634
- "kind": "js",
5635
- "name": "Banner",
5702
+ "name": "Badge",
5636
5703
  "declaration": {
5637
- "name": "Banner",
5638
- "module": "src/banner/banner.ts"
5704
+ "name": "Badge",
5705
+ "module": "src/badge/badge.ts"
5639
5706
  }
5640
5707
  },
5641
5708
  {
5642
5709
  "kind": "js",
5643
- "name": "rapidBanner",
5710
+ "name": "rapidBadge",
5644
5711
  "declaration": {
5645
- "name": "rapidBanner",
5646
- "module": "src/banner/banner.ts"
5712
+ "name": "rapidBadge",
5713
+ "module": "src/badge/badge.ts"
5647
5714
  }
5648
5715
  }
5649
5716
  ]
5650
5717
  },
5651
5718
  {
5652
5719
  "kind": "javascript-module",
5653
- "path": "src/banner/index.ts",
5720
+ "path": "src/badge/index.ts",
5654
5721
  "declarations": [],
5655
5722
  "exports": [
5656
5723
  {
5657
5724
  "kind": "js",
5658
- "name": "rapidBannerTemplate",
5725
+ "name": "*",
5659
5726
  "declaration": {
5660
- "name": "foundationBannerTemplate",
5661
- "package": "@genesislcap/foundation-ui"
5727
+ "name": "*",
5728
+ "package": "./badge"
5662
5729
  }
5663
5730
  },
5664
5731
  {
@@ -5666,7 +5733,7 @@
5666
5733
  "name": "*",
5667
5734
  "declaration": {
5668
5735
  "name": "*",
5669
- "package": "./banner"
5736
+ "package": "./badge.styles"
5670
5737
  }
5671
5738
  },
5672
5739
  {
@@ -5674,187 +5741,110 @@
5674
5741
  "name": "*",
5675
5742
  "declaration": {
5676
5743
  "name": "*",
5677
- "package": "./banner.styles"
5744
+ "package": "./badge.template"
5678
5745
  }
5679
5746
  }
5680
5747
  ]
5681
5748
  },
5682
5749
  {
5683
5750
  "kind": "javascript-module",
5684
- "path": "src/badge/badge.styles.ts",
5751
+ "path": "src/banner/banner.styles.ts",
5685
5752
  "declarations": [
5686
5753
  {
5687
- "kind": "function",
5688
- "name": "rapidBadgeStyles",
5689
- "return": {
5690
- "type": {
5691
- "text": "ElementStyles"
5692
- }
5693
- },
5694
- "parameters": [
5695
- {
5696
- "name": "context",
5697
- "type": {
5698
- "text": "ElementDefinitionContext"
5699
- }
5700
- },
5701
- {
5702
- "name": "definition",
5703
- "type": {
5704
- "text": "FoundationElementDefinition"
5705
- }
5706
- }
5707
- ]
5754
+ "kind": "variable",
5755
+ "name": "rapidBannerStyles",
5756
+ "default": "css`\n ${foundationBannerStyles}\n :host {\n --banner-height: calc(\n ((var(--design-unit) + 2) * var(--base-height-multiplier)) +\n (var(--design-unit) * var(--design-unit)) * 1px\n );\n }\n\n .banner {\n background-color: var(--neutral-layer-1);\n color: var(--neutral-foreground-rest);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content {\n font-size: var(--type-ramp-base-font-size);\n font-family: var(--body-font);\n line-height: var(--type-ramp-base-line-height);\n }\n`"
5708
5757
  }
5709
5758
  ],
5710
5759
  "exports": [
5711
5760
  {
5712
5761
  "kind": "js",
5713
- "name": "rapidBadgeStyles",
5762
+ "name": "rapidBannerStyles",
5714
5763
  "declaration": {
5715
- "name": "rapidBadgeStyles",
5716
- "module": "src/badge/badge.styles.ts"
5764
+ "name": "rapidBannerStyles",
5765
+ "module": "src/banner/banner.styles.ts"
5717
5766
  }
5718
5767
  }
5719
5768
  ]
5720
5769
  },
5721
5770
  {
5722
5771
  "kind": "javascript-module",
5723
- "path": "src/badge/badge.template.ts",
5772
+ "path": "src/banner/banner.ts",
5724
5773
  "declarations": [
5725
5774
  {
5726
- "kind": "function",
5727
- "name": "rapidBadgeTemplate",
5728
- "return": {
5729
- "type": {
5730
- "text": "ViewTemplate<Badge>"
5731
- }
5732
- },
5733
- "parameters": [
5734
- {
5735
- "name": "context",
5736
- "type": {
5737
- "text": "ElementDefinitionContext"
5738
- }
5739
- },
5740
- {
5741
- "name": "definition",
5742
- "type": {
5743
- "text": "FoundationElementDefinition"
5744
- }
5745
- }
5746
- ]
5747
- }
5748
- ],
5749
- "exports": [
5750
- {
5751
- "kind": "js",
5752
- "name": "rapidBadgeTemplate",
5753
- "declaration": {
5754
- "name": "rapidBadgeTemplate",
5755
- "module": "src/badge/badge.template.ts"
5756
- }
5757
- }
5758
- ]
5759
- },
5760
- {
5761
- "kind": "javascript-module",
5762
- "path": "src/badge/badge.ts",
5763
- "declarations": [
5775
+ "kind": "variable",
5776
+ "name": "rapidBannerShadowOptions",
5777
+ "default": "foundationBannerShadowOptions"
5778
+ },
5764
5779
  {
5765
5780
  "kind": "class",
5766
5781
  "description": "",
5767
- "name": "Badge",
5782
+ "name": "Banner",
5768
5783
  "superclass": {
5769
- "name": "FoundationBadge",
5784
+ "name": "FoundationBanner",
5770
5785
  "package": "@genesislcap/foundation-ui"
5771
5786
  },
5772
- "tagName": "%%prefix%%-badge",
5787
+ "tagName": "%%prefix%%-banner",
5773
5788
  "customElement": true,
5774
- "attributes": [
5775
- {
5776
- "name": "fill",
5777
- "type": {
5778
- "text": "string"
5779
- },
5780
- "description": "Indicates the badge should have a filled style.",
5781
- "fieldName": "fill",
5782
- "inheritedFrom": {
5783
- "name": "Badge",
5784
- "module": "src/badge/badge.ts"
5785
- }
5786
- },
5789
+ "members": [
5787
5790
  {
5788
- "name": "color",
5791
+ "kind": "field",
5792
+ "name": "banner",
5789
5793
  "type": {
5790
- "text": "string"
5794
+ "text": "HTMLElement"
5791
5795
  },
5792
- "description": "Indicates the badge should have a filled style.",
5793
- "fieldName": "color",
5796
+ "privacy": "public",
5794
5797
  "inheritedFrom": {
5795
- "name": "Badge",
5796
- "module": "src/badge/badge.ts"
5798
+ "name": "Banner",
5799
+ "module": "src/banner/banner.ts"
5797
5800
  }
5798
5801
  },
5799
- {
5800
- "type": {
5801
- "text": "boolean"
5802
- },
5803
- "description": "Indicates the element should be circular",
5804
- "fieldName": "circular",
5805
- "inheritedFrom": {
5806
- "name": "Badge",
5807
- "module": "src/badge/badge.ts"
5808
- }
5809
- }
5810
- ],
5811
- "members": [
5812
5802
  {
5813
5803
  "kind": "field",
5814
- "name": "fill",
5804
+ "name": "dismissAnimation",
5815
5805
  "type": {
5816
- "text": "string"
5806
+ "text": "'banner-delete' | ''"
5817
5807
  },
5818
- "privacy": "public",
5819
- "description": "Indicates the badge should have a filled style.",
5808
+ "default": "''",
5820
5809
  "inheritedFrom": {
5821
- "name": "Badge",
5822
- "module": "src/badge/badge.ts"
5810
+ "name": "Banner",
5811
+ "module": "src/banner/banner.ts"
5823
5812
  }
5824
5813
  },
5825
5814
  {
5826
5815
  "kind": "field",
5827
- "name": "color",
5816
+ "name": "notification",
5828
5817
  "type": {
5829
- "text": "string"
5818
+ "text": "NotificationStructure"
5830
5819
  },
5831
- "privacy": "public",
5832
- "description": "Indicates the badge should have a filled style.",
5833
5820
  "inheritedFrom": {
5834
- "name": "Badge",
5835
- "module": "src/badge/badge.ts"
5821
+ "name": "Banner",
5822
+ "module": "src/banner/banner.ts"
5836
5823
  }
5837
5824
  },
5838
5825
  {
5839
- "kind": "field",
5840
- "name": "circular",
5841
- "type": {
5842
- "text": "boolean"
5843
- },
5826
+ "kind": "method",
5827
+ "name": "dismiss",
5844
5828
  "privacy": "public",
5845
- "description": "Indicates the element should be circular",
5829
+ "return": {
5830
+ "type": {
5831
+ "text": "Promise<void>"
5832
+ }
5833
+ },
5834
+ "description": "Dismiss the Banner from display.",
5846
5835
  "inheritedFrom": {
5847
- "name": "Badge",
5848
- "module": "src/badge/badge.ts"
5836
+ "name": "Banner",
5837
+ "module": "src/banner/banner.ts"
5849
5838
  }
5850
5839
  },
5851
5840
  {
5852
- "kind": "field",
5853
- "name": "generateBadgeStyle",
5841
+ "kind": "method",
5842
+ "name": "dismissNotification",
5854
5843
  "privacy": "public",
5844
+ "description": "Dismiss the Banner (NotificationStructure) from display.",
5855
5845
  "inheritedFrom": {
5856
- "name": "Badge",
5857
- "module": "src/badge/badge.ts"
5846
+ "name": "Banner",
5847
+ "module": "src/banner/banner.ts"
5858
5848
  }
5859
5849
  },
5860
5850
  {
@@ -5866,8 +5856,8 @@
5866
5856
  "privacy": "private",
5867
5857
  "default": "void 0",
5868
5858
  "inheritedFrom": {
5869
- "name": "Badge",
5870
- "module": "src/badge/badge.ts"
5859
+ "name": "FoundationElement",
5860
+ "module": "src/foundation-element/foundation-element.ts"
5871
5861
  }
5872
5862
  },
5873
5863
  {
@@ -5879,8 +5869,8 @@
5879
5869
  "privacy": "public",
5880
5870
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5881
5871
  "inheritedFrom": {
5882
- "name": "Badge",
5883
- "module": "src/badge/badge.ts"
5872
+ "name": "FoundationElement",
5873
+ "module": "src/foundation-element/foundation-element.ts"
5884
5874
  }
5885
5875
  },
5886
5876
  {
@@ -5892,8 +5882,8 @@
5892
5882
  "privacy": "public",
5893
5883
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
5894
5884
  "inheritedFrom": {
5895
- "name": "Badge",
5896
- "module": "src/badge/badge.ts"
5885
+ "name": "FoundationElement",
5886
+ "module": "src/foundation-element/foundation-element.ts"
5897
5887
  }
5898
5888
  },
5899
5889
  {
@@ -5906,8 +5896,8 @@
5906
5896
  }
5907
5897
  },
5908
5898
  "inheritedFrom": {
5909
- "name": "Badge",
5910
- "module": "src/badge/badge.ts"
5899
+ "name": "FoundationElement",
5900
+ "module": "src/foundation-element/foundation-element.ts"
5911
5901
  }
5912
5902
  },
5913
5903
  {
@@ -5919,8 +5909,8 @@
5919
5909
  "privacy": "public",
5920
5910
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
5921
5911
  "inheritedFrom": {
5922
- "name": "Badge",
5923
- "module": "src/badge/badge.ts"
5912
+ "name": "FoundationElement",
5913
+ "module": "src/foundation-element/foundation-element.ts"
5924
5914
  }
5925
5915
  },
5926
5916
  {
@@ -5933,8 +5923,8 @@
5933
5923
  }
5934
5924
  },
5935
5925
  "inheritedFrom": {
5936
- "name": "Badge",
5937
- "module": "src/badge/badge.ts"
5926
+ "name": "FoundationElement",
5927
+ "module": "src/foundation-element/foundation-element.ts"
5938
5928
  }
5939
5929
  },
5940
5930
  {
@@ -5964,47 +5954,57 @@
5964
5954
  ],
5965
5955
  "description": "Defines an element registry function with a set of element definition defaults.",
5966
5956
  "inheritedFrom": {
5967
- "name": "Badge",
5968
- "module": "src/badge/badge.ts"
5957
+ "name": "FoundationElement",
5958
+ "module": "src/foundation-element/foundation-element.ts"
5969
5959
  }
5970
5960
  }
5971
5961
  ]
5972
5962
  },
5973
5963
  {
5974
5964
  "kind": "variable",
5975
- "name": "rapidBadge"
5965
+ "name": "rapidBanner",
5966
+ "description": "The Rapid Banner",
5967
+ "privacy": "public"
5976
5968
  }
5977
5969
  ],
5978
5970
  "exports": [
5979
5971
  {
5980
5972
  "kind": "js",
5981
- "name": "Badge",
5973
+ "name": "rapidBannerShadowOptions",
5982
5974
  "declaration": {
5983
- "name": "Badge",
5984
- "module": "src/badge/badge.ts"
5975
+ "name": "rapidBannerShadowOptions",
5976
+ "module": "src/banner/banner.ts"
5985
5977
  }
5986
5978
  },
5987
5979
  {
5988
5980
  "kind": "js",
5989
- "name": "rapidBadge",
5981
+ "name": "Banner",
5990
5982
  "declaration": {
5991
- "name": "rapidBadge",
5992
- "module": "src/badge/badge.ts"
5983
+ "name": "Banner",
5984
+ "module": "src/banner/banner.ts"
5985
+ }
5986
+ },
5987
+ {
5988
+ "kind": "js",
5989
+ "name": "rapidBanner",
5990
+ "declaration": {
5991
+ "name": "rapidBanner",
5992
+ "module": "src/banner/banner.ts"
5993
5993
  }
5994
5994
  }
5995
5995
  ]
5996
5996
  },
5997
5997
  {
5998
5998
  "kind": "javascript-module",
5999
- "path": "src/badge/index.ts",
5999
+ "path": "src/banner/index.ts",
6000
6000
  "declarations": [],
6001
6001
  "exports": [
6002
6002
  {
6003
6003
  "kind": "js",
6004
- "name": "*",
6004
+ "name": "rapidBannerTemplate",
6005
6005
  "declaration": {
6006
- "name": "*",
6007
- "package": "./badge"
6006
+ "name": "foundationBannerTemplate",
6007
+ "package": "@genesislcap/foundation-ui"
6008
6008
  }
6009
6009
  },
6010
6010
  {
@@ -6012,7 +6012,7 @@
6012
6012
  "name": "*",
6013
6013
  "declaration": {
6014
6014
  "name": "*",
6015
- "package": "./badge.styles"
6015
+ "package": "./banner"
6016
6016
  }
6017
6017
  },
6018
6018
  {
@@ -6020,7 +6020,7 @@
6020
6020
  "name": "*",
6021
6021
  "declaration": {
6022
6022
  "name": "*",
6023
- "package": "./badge.template"
6023
+ "package": "./banner.styles"
6024
6024
  }
6025
6025
  }
6026
6026
  ]
@@ -196,23 +196,23 @@ export declare const Avatar: React.ForwardRefExoticComponent<
196
196
  >;
197
197
  export type AvatarRef = AvatarWC;
198
198
 
199
- export declare const Banner: React.ForwardRefExoticComponent<
199
+ export declare const Badge: React.ForwardRefExoticComponent<
200
200
  React.PropsWithChildren<
201
- Omit<PublicOf<BannerWC>, 'children' | 'style'> &
201
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
202
202
  HTMLWCProps & {
203
203
  }
204
- > & React.RefAttributes<BannerWC>
204
+ > & React.RefAttributes<BadgeWC>
205
205
  >;
206
- export type BannerRef = BannerWC;
206
+ export type BadgeRef = BadgeWC;
207
207
 
208
- export declare const Badge: React.ForwardRefExoticComponent<
208
+ export declare const Banner: React.ForwardRefExoticComponent<
209
209
  React.PropsWithChildren<
210
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
210
+ Omit<PublicOf<BannerWC>, 'children' | 'style'> &
211
211
  HTMLWCProps & {
212
212
  }
213
- > & React.RefAttributes<BadgeWC>
213
+ > & React.RefAttributes<BannerWC>
214
214
  >;
215
- export type BadgeRef = BadgeWC;
215
+ export type BannerRef = BannerWC;
216
216
 
217
217
  export declare const Breadcrumb: React.ForwardRefExoticComponent<
218
218
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -173,14 +173,14 @@ const Avatar = React.forwardRef(function Avatar(props, ref) {
173
173
  return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
174
174
  });
175
175
 
176
- const Banner = React.forwardRef(function Banner(props, ref) {
176
+ const Badge = React.forwardRef(function Badge(props, ref) {
177
177
  const { children, ...rest } = props;
178
- return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
178
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
179
179
  });
180
180
 
181
- const Badge = React.forwardRef(function Badge(props, ref) {
181
+ const Banner = React.forwardRef(function Banner(props, ref) {
182
182
  const { children, ...rest } = props;
183
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
183
+ return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
184
184
  });
185
185
 
186
186
  const Breadcrumb = React.forwardRef(function Breadcrumb(props, ref) {
@@ -1039,8 +1039,8 @@ module.exports = {
1039
1039
  Anchor,
1040
1040
  AnchoredRegion,
1041
1041
  Avatar,
1042
- Banner,
1043
1042
  Badge,
1043
+ Banner,
1044
1044
  Breadcrumb,
1045
1045
  BreadcrumbItem,
1046
1046
  Button,
package/dist/react.mjs CHANGED
@@ -171,14 +171,14 @@ export const Avatar = React.forwardRef(function Avatar(props, ref) {
171
171
  return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
172
172
  });
173
173
 
174
- export const Banner = React.forwardRef(function Banner(props, ref) {
174
+ export const Badge = React.forwardRef(function Badge(props, ref) {
175
175
  const { children, ...rest } = props;
176
- return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
176
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
177
177
  });
178
178
 
179
- export const Badge = React.forwardRef(function Badge(props, ref) {
179
+ export const Banner = React.forwardRef(function Banner(props, ref) {
180
180
  const { children, ...rest } = props;
181
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
181
+ return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
182
182
  });
183
183
 
184
184
  export const Breadcrumb = React.forwardRef(function Breadcrumb(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "15.111.1-GENC-2045.1",
4
+ "version": "15.111.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -37,12 +37,12 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
40
- "@genesislcap/foundation-testing": "15.111.1-GENC-2045.1",
41
- "@genesislcap/genx": "15.111.1-GENC-2045.1",
42
- "@genesislcap/ts-builder": "15.111.1-GENC-2045.1",
43
- "@genesislcap/uvu-playwright-builder": "15.111.1-GENC-2045.1",
44
- "@genesislcap/vite-builder": "15.111.1-GENC-2045.1",
45
- "@genesislcap/webpack-builder": "15.111.1-GENC-2045.1",
40
+ "@genesislcap/foundation-testing": "15.111.2",
41
+ "@genesislcap/genx": "15.111.2",
42
+ "@genesislcap/ts-builder": "15.111.2",
43
+ "@genesislcap/uvu-playwright-builder": "15.111.2",
44
+ "@genesislcap/vite-builder": "15.111.2",
45
+ "@genesislcap/webpack-builder": "15.111.2",
46
46
  "flexlayout-react": "0.10.8"
47
47
  },
48
48
  "peerDependencies": {
@@ -54,9 +54,9 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@genesislcap/foundation-logger": "15.111.1-GENC-2045.1",
58
- "@genesislcap/foundation-ui": "15.111.1-GENC-2045.1",
59
- "@genesislcap/foundation-utils": "15.111.1-GENC-2045.1",
57
+ "@genesislcap/foundation-logger": "15.111.2",
58
+ "@genesislcap/foundation-ui": "15.111.2",
59
+ "@genesislcap/foundation-utils": "15.111.2",
60
60
  "@microsoft/fast-colors": "5.3.1",
61
61
  "@microsoft/fast-components": "2.30.6",
62
62
  "@microsoft/fast-element": "1.14.0",