@genesislcap/foundation-ui 14.114.2 → 14.115.1

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.
@@ -777,47 +777,6 @@
777
777
  }
778
778
  ]
779
779
  },
780
- {
781
- "kind": "javascript-module",
782
- "path": "src/_common/icons.ts",
783
- "declarations": [
784
- {
785
- "kind": "function",
786
- "name": "closeIcon",
787
- "parameters": [
788
- {
789
- "name": "slot",
790
- "default": "'start'"
791
- }
792
- ]
793
- }
794
- ],
795
- "exports": [
796
- {
797
- "kind": "js",
798
- "name": "closeIcon",
799
- "declaration": {
800
- "name": "closeIcon",
801
- "module": "src/_common/icons.ts"
802
- }
803
- }
804
- ]
805
- },
806
- {
807
- "kind": "javascript-module",
808
- "path": "src/_common/index.ts",
809
- "declarations": [],
810
- "exports": [
811
- {
812
- "kind": "js",
813
- "name": "*",
814
- "declaration": {
815
- "name": "*",
816
- "package": "./icons"
817
- }
818
- }
819
- ]
820
- },
821
780
  {
822
781
  "kind": "javascript-module",
823
782
  "path": "src/_config/index.ts",
@@ -1984,6 +1943,47 @@
1984
1943
  }
1985
1944
  ]
1986
1945
  },
1946
+ {
1947
+ "kind": "javascript-module",
1948
+ "path": "src/_common/icons.ts",
1949
+ "declarations": [
1950
+ {
1951
+ "kind": "function",
1952
+ "name": "closeIcon",
1953
+ "parameters": [
1954
+ {
1955
+ "name": "slot",
1956
+ "default": "'start'"
1957
+ }
1958
+ ]
1959
+ }
1960
+ ],
1961
+ "exports": [
1962
+ {
1963
+ "kind": "js",
1964
+ "name": "closeIcon",
1965
+ "declaration": {
1966
+ "name": "closeIcon",
1967
+ "module": "src/_common/icons.ts"
1968
+ }
1969
+ }
1970
+ ]
1971
+ },
1972
+ {
1973
+ "kind": "javascript-module",
1974
+ "path": "src/_common/index.ts",
1975
+ "declarations": [],
1976
+ "exports": [
1977
+ {
1978
+ "kind": "js",
1979
+ "name": "*",
1980
+ "declaration": {
1981
+ "name": "*",
1982
+ "package": "./icons"
1983
+ }
1984
+ }
1985
+ ]
1986
+ },
1987
1987
  {
1988
1988
  "kind": "javascript-module",
1989
1989
  "path": "src/anchor/anchor.styles.ts",
@@ -13033,188 +13033,6 @@
13033
13033
  "declarations": [],
13034
13034
  "exports": []
13035
13035
  },
13036
- {
13037
- "kind": "javascript-module",
13038
- "path": "src/disclosure/disclosure.styles.ts",
13039
- "declarations": [
13040
- {
13041
- "kind": "function",
13042
- "name": "foundationDisclosureStyles",
13043
- "return": {
13044
- "type": {
13045
- "text": "ElementStyles"
13046
- }
13047
- },
13048
- "parameters": [
13049
- {
13050
- "name": "context",
13051
- "type": {
13052
- "text": "ElementDefinitionContext"
13053
- }
13054
- },
13055
- {
13056
- "name": "definition",
13057
- "type": {
13058
- "text": "FoundationElementDefinition"
13059
- }
13060
- }
13061
- ]
13062
- }
13063
- ],
13064
- "exports": [
13065
- {
13066
- "kind": "js",
13067
- "name": "foundationDisclosureStyles",
13068
- "declaration": {
13069
- "name": "foundationDisclosureStyles",
13070
- "module": "src/disclosure/disclosure.styles.ts"
13071
- }
13072
- }
13073
- ]
13074
- },
13075
- {
13076
- "kind": "javascript-module",
13077
- "path": "src/disclosure/disclosure.template.ts",
13078
- "declarations": [
13079
- {
13080
- "kind": "function",
13081
- "name": "foundationDisclosureTemplate",
13082
- "return": {
13083
- "type": {
13084
- "text": "ViewTemplate<Disclosure>"
13085
- }
13086
- },
13087
- "parameters": [
13088
- {
13089
- "name": "context",
13090
- "type": {
13091
- "text": "ElementDefinitionContext"
13092
- }
13093
- },
13094
- {
13095
- "name": "definition",
13096
- "type": {
13097
- "text": "FoundationElementDefinition"
13098
- }
13099
- }
13100
- ]
13101
- }
13102
- ],
13103
- "exports": [
13104
- {
13105
- "kind": "js",
13106
- "name": "foundationDisclosureTemplate",
13107
- "declaration": {
13108
- "name": "foundationDisclosureTemplate",
13109
- "module": "src/disclosure/disclosure.template.ts"
13110
- }
13111
- }
13112
- ]
13113
- },
13114
- {
13115
- "kind": "javascript-module",
13116
- "path": "src/disclosure/disclosure.ts",
13117
- "declarations": [
13118
- {
13119
- "kind": "class",
13120
- "description": "",
13121
- "name": "Disclosure",
13122
- "superclass": {
13123
- "name": "FASTDisclosure",
13124
- "package": "@microsoft/fast-foundation"
13125
- },
13126
- "tagName": "%%prefix%%-disclosure",
13127
- "customElement": true
13128
- },
13129
- {
13130
- "kind": "variable",
13131
- "name": "foundationDisclosureShadowOptions",
13132
- "type": {
13133
- "text": "ShadowRootInit"
13134
- },
13135
- "default": "undefined"
13136
- },
13137
- {
13138
- "kind": "variable",
13139
- "name": "defaultDisclosureConfig",
13140
- "type": {
13141
- "text": "object"
13142
- },
13143
- "default": "{}"
13144
- },
13145
- {
13146
- "kind": "variable",
13147
- "name": "foundationDisclosure",
13148
- "description": "The Foundation Disclosure",
13149
- "privacy": "public"
13150
- }
13151
- ],
13152
- "exports": [
13153
- {
13154
- "kind": "js",
13155
- "name": "Disclosure",
13156
- "declaration": {
13157
- "name": "Disclosure",
13158
- "module": "src/disclosure/disclosure.ts"
13159
- }
13160
- },
13161
- {
13162
- "kind": "js",
13163
- "name": "foundationDisclosureShadowOptions",
13164
- "declaration": {
13165
- "name": "foundationDisclosureShadowOptions",
13166
- "module": "src/disclosure/disclosure.ts"
13167
- }
13168
- },
13169
- {
13170
- "kind": "js",
13171
- "name": "defaultDisclosureConfig",
13172
- "declaration": {
13173
- "name": "defaultDisclosureConfig",
13174
- "module": "src/disclosure/disclosure.ts"
13175
- }
13176
- },
13177
- {
13178
- "kind": "js",
13179
- "name": "foundationDisclosure",
13180
- "declaration": {
13181
- "name": "foundationDisclosure",
13182
- "module": "src/disclosure/disclosure.ts"
13183
- }
13184
- }
13185
- ]
13186
- },
13187
- {
13188
- "kind": "javascript-module",
13189
- "path": "src/disclosure/index.ts",
13190
- "declarations": [],
13191
- "exports": [
13192
- {
13193
- "kind": "js",
13194
- "name": "*",
13195
- "declaration": {
13196
- "name": "*",
13197
- "package": "./disclosure.template"
13198
- }
13199
- },
13200
- {
13201
- "kind": "js",
13202
- "name": "*",
13203
- "declaration": {
13204
- "name": "*",
13205
- "package": "./disclosure.styles"
13206
- }
13207
- },
13208
- {
13209
- "kind": "js",
13210
- "name": "*",
13211
- "declaration": {
13212
- "name": "*",
13213
- "package": "./disclosure"
13214
- }
13215
- }
13216
- ]
13217
- },
13218
13036
  {
13219
13037
  "kind": "javascript-module",
13220
13038
  "path": "src/dialog/dialog.styles.ts",
@@ -13917,6 +13735,188 @@
13917
13735
  }
13918
13736
  ]
13919
13737
  },
13738
+ {
13739
+ "kind": "javascript-module",
13740
+ "path": "src/disclosure/disclosure.styles.ts",
13741
+ "declarations": [
13742
+ {
13743
+ "kind": "function",
13744
+ "name": "foundationDisclosureStyles",
13745
+ "return": {
13746
+ "type": {
13747
+ "text": "ElementStyles"
13748
+ }
13749
+ },
13750
+ "parameters": [
13751
+ {
13752
+ "name": "context",
13753
+ "type": {
13754
+ "text": "ElementDefinitionContext"
13755
+ }
13756
+ },
13757
+ {
13758
+ "name": "definition",
13759
+ "type": {
13760
+ "text": "FoundationElementDefinition"
13761
+ }
13762
+ }
13763
+ ]
13764
+ }
13765
+ ],
13766
+ "exports": [
13767
+ {
13768
+ "kind": "js",
13769
+ "name": "foundationDisclosureStyles",
13770
+ "declaration": {
13771
+ "name": "foundationDisclosureStyles",
13772
+ "module": "src/disclosure/disclosure.styles.ts"
13773
+ }
13774
+ }
13775
+ ]
13776
+ },
13777
+ {
13778
+ "kind": "javascript-module",
13779
+ "path": "src/disclosure/disclosure.template.ts",
13780
+ "declarations": [
13781
+ {
13782
+ "kind": "function",
13783
+ "name": "foundationDisclosureTemplate",
13784
+ "return": {
13785
+ "type": {
13786
+ "text": "ViewTemplate<Disclosure>"
13787
+ }
13788
+ },
13789
+ "parameters": [
13790
+ {
13791
+ "name": "context",
13792
+ "type": {
13793
+ "text": "ElementDefinitionContext"
13794
+ }
13795
+ },
13796
+ {
13797
+ "name": "definition",
13798
+ "type": {
13799
+ "text": "FoundationElementDefinition"
13800
+ }
13801
+ }
13802
+ ]
13803
+ }
13804
+ ],
13805
+ "exports": [
13806
+ {
13807
+ "kind": "js",
13808
+ "name": "foundationDisclosureTemplate",
13809
+ "declaration": {
13810
+ "name": "foundationDisclosureTemplate",
13811
+ "module": "src/disclosure/disclosure.template.ts"
13812
+ }
13813
+ }
13814
+ ]
13815
+ },
13816
+ {
13817
+ "kind": "javascript-module",
13818
+ "path": "src/disclosure/disclosure.ts",
13819
+ "declarations": [
13820
+ {
13821
+ "kind": "class",
13822
+ "description": "",
13823
+ "name": "Disclosure",
13824
+ "superclass": {
13825
+ "name": "FASTDisclosure",
13826
+ "package": "@microsoft/fast-foundation"
13827
+ },
13828
+ "tagName": "%%prefix%%-disclosure",
13829
+ "customElement": true
13830
+ },
13831
+ {
13832
+ "kind": "variable",
13833
+ "name": "foundationDisclosureShadowOptions",
13834
+ "type": {
13835
+ "text": "ShadowRootInit"
13836
+ },
13837
+ "default": "undefined"
13838
+ },
13839
+ {
13840
+ "kind": "variable",
13841
+ "name": "defaultDisclosureConfig",
13842
+ "type": {
13843
+ "text": "object"
13844
+ },
13845
+ "default": "{}"
13846
+ },
13847
+ {
13848
+ "kind": "variable",
13849
+ "name": "foundationDisclosure",
13850
+ "description": "The Foundation Disclosure",
13851
+ "privacy": "public"
13852
+ }
13853
+ ],
13854
+ "exports": [
13855
+ {
13856
+ "kind": "js",
13857
+ "name": "Disclosure",
13858
+ "declaration": {
13859
+ "name": "Disclosure",
13860
+ "module": "src/disclosure/disclosure.ts"
13861
+ }
13862
+ },
13863
+ {
13864
+ "kind": "js",
13865
+ "name": "foundationDisclosureShadowOptions",
13866
+ "declaration": {
13867
+ "name": "foundationDisclosureShadowOptions",
13868
+ "module": "src/disclosure/disclosure.ts"
13869
+ }
13870
+ },
13871
+ {
13872
+ "kind": "js",
13873
+ "name": "defaultDisclosureConfig",
13874
+ "declaration": {
13875
+ "name": "defaultDisclosureConfig",
13876
+ "module": "src/disclosure/disclosure.ts"
13877
+ }
13878
+ },
13879
+ {
13880
+ "kind": "js",
13881
+ "name": "foundationDisclosure",
13882
+ "declaration": {
13883
+ "name": "foundationDisclosure",
13884
+ "module": "src/disclosure/disclosure.ts"
13885
+ }
13886
+ }
13887
+ ]
13888
+ },
13889
+ {
13890
+ "kind": "javascript-module",
13891
+ "path": "src/disclosure/index.ts",
13892
+ "declarations": [],
13893
+ "exports": [
13894
+ {
13895
+ "kind": "js",
13896
+ "name": "*",
13897
+ "declaration": {
13898
+ "name": "*",
13899
+ "package": "./disclosure.template"
13900
+ }
13901
+ },
13902
+ {
13903
+ "kind": "js",
13904
+ "name": "*",
13905
+ "declaration": {
13906
+ "name": "*",
13907
+ "package": "./disclosure.styles"
13908
+ }
13909
+ },
13910
+ {
13911
+ "kind": "js",
13912
+ "name": "*",
13913
+ "declaration": {
13914
+ "name": "*",
13915
+ "package": "./disclosure"
13916
+ }
13917
+ }
13918
+ ]
13919
+ },
13920
13920
  {
13921
13921
  "kind": "javascript-module",
13922
13922
  "path": "src/divider/divider.styles.ts",
@@ -39438,6 +39438,233 @@
39438
39438
  }
39439
39439
  ]
39440
39440
  },
39441
+ {
39442
+ "kind": "javascript-module",
39443
+ "path": "src/_config/styles/colors.ts",
39444
+ "declarations": [
39445
+ {
39446
+ "kind": "variable",
39447
+ "name": "defaultFillColor"
39448
+ },
39449
+ {
39450
+ "kind": "variable",
39451
+ "name": "fuiDefaultCardFillColor"
39452
+ },
39453
+ {
39454
+ "kind": "variable",
39455
+ "name": "fuiDefaultCardPalette"
39456
+ },
39457
+ {
39458
+ "kind": "variable",
39459
+ "name": "fuiNeutralSwatch"
39460
+ },
39461
+ {
39462
+ "kind": "variable",
39463
+ "name": "fuiNeutralPalette"
39464
+ },
39465
+ {
39466
+ "kind": "variable",
39467
+ "name": "fuiAccentSwatch"
39468
+ },
39469
+ {
39470
+ "kind": "variable",
39471
+ "name": "fuiAccentPalette"
39472
+ }
39473
+ ],
39474
+ "exports": [
39475
+ {
39476
+ "kind": "js",
39477
+ "name": "defaultFillColor",
39478
+ "declaration": {
39479
+ "name": "defaultFillColor",
39480
+ "module": "src/_config/styles/colors.ts"
39481
+ }
39482
+ },
39483
+ {
39484
+ "kind": "js",
39485
+ "name": "fuiDefaultCardFillColor",
39486
+ "declaration": {
39487
+ "name": "fuiDefaultCardFillColor",
39488
+ "module": "src/_config/styles/colors.ts"
39489
+ }
39490
+ },
39491
+ {
39492
+ "kind": "js",
39493
+ "name": "fuiDefaultCardPalette",
39494
+ "declaration": {
39495
+ "name": "fuiDefaultCardPalette",
39496
+ "module": "src/_config/styles/colors.ts"
39497
+ }
39498
+ },
39499
+ {
39500
+ "kind": "js",
39501
+ "name": "fuiNeutralSwatch",
39502
+ "declaration": {
39503
+ "name": "fuiNeutralSwatch",
39504
+ "module": "src/_config/styles/colors.ts"
39505
+ }
39506
+ },
39507
+ {
39508
+ "kind": "js",
39509
+ "name": "fuiNeutralPalette",
39510
+ "declaration": {
39511
+ "name": "fuiNeutralPalette",
39512
+ "module": "src/_config/styles/colors.ts"
39513
+ }
39514
+ },
39515
+ {
39516
+ "kind": "js",
39517
+ "name": "fuiAccentSwatch",
39518
+ "declaration": {
39519
+ "name": "fuiAccentSwatch",
39520
+ "module": "src/_config/styles/colors.ts"
39521
+ }
39522
+ },
39523
+ {
39524
+ "kind": "js",
39525
+ "name": "fuiAccentPalette",
39526
+ "declaration": {
39527
+ "name": "fuiAccentPalette",
39528
+ "module": "src/_config/styles/colors.ts"
39529
+ }
39530
+ }
39531
+ ]
39532
+ },
39533
+ {
39534
+ "kind": "javascript-module",
39535
+ "path": "src/_config/styles/directives.ts",
39536
+ "declarations": [
39537
+ {
39538
+ "kind": "class",
39539
+ "description": "",
39540
+ "name": "CSSVarsTokenMapper",
39541
+ "members": [
39542
+ {
39543
+ "kind": "method",
39544
+ "name": "createTokenPartial",
39545
+ "privacy": "private",
39546
+ "return": {
39547
+ "type": {
39548
+ "text": "CSSDirective"
39549
+ }
39550
+ },
39551
+ "parameters": [
39552
+ {
39553
+ "name": "key",
39554
+ "type": {
39555
+ "text": "string"
39556
+ }
39557
+ },
39558
+ {
39559
+ "name": "value",
39560
+ "type": {
39561
+ "text": "CSSDesignToken<Swatch | string>"
39562
+ }
39563
+ }
39564
+ ]
39565
+ },
39566
+ {
39567
+ "kind": "method",
39568
+ "name": "createTokensCSS",
39569
+ "privacy": "private",
39570
+ "return": {
39571
+ "type": {
39572
+ "text": "ComposableStyles[]"
39573
+ }
39574
+ }
39575
+ },
39576
+ {
39577
+ "kind": "method",
39578
+ "name": "createCSS",
39579
+ "privacy": "public"
39580
+ }
39581
+ ],
39582
+ "superclass": {
39583
+ "name": "CSSDirective",
39584
+ "package": "@microsoft/fast-element"
39585
+ }
39586
+ }
39587
+ ],
39588
+ "exports": [
39589
+ {
39590
+ "kind": "js",
39591
+ "name": "CSSVarsTokenMapper",
39592
+ "declaration": {
39593
+ "name": "CSSVarsTokenMapper",
39594
+ "module": "src/_config/styles/directives.ts"
39595
+ }
39596
+ }
39597
+ ]
39598
+ },
39599
+ {
39600
+ "kind": "javascript-module",
39601
+ "path": "src/_config/styles/fonts.ts",
39602
+ "declarations": [
39603
+ {
39604
+ "kind": "function",
39605
+ "name": "mixinFoundationFontFamily",
39606
+ "parameters": [
39607
+ {
39608
+ "name": "style",
39609
+ "default": "'normal'"
39610
+ },
39611
+ {
39612
+ "name": "weight",
39613
+ "default": "'normal'"
39614
+ }
39615
+ ]
39616
+ }
39617
+ ],
39618
+ "exports": [
39619
+ {
39620
+ "kind": "js",
39621
+ "name": "mixinFoundationFontFamily",
39622
+ "declaration": {
39623
+ "name": "mixinFoundationFontFamily",
39624
+ "module": "src/_config/styles/fonts.ts"
39625
+ }
39626
+ }
39627
+ ]
39628
+ },
39629
+ {
39630
+ "kind": "javascript-module",
39631
+ "path": "src/_config/styles/index.ts",
39632
+ "declarations": [],
39633
+ "exports": [
39634
+ {
39635
+ "kind": "js",
39636
+ "name": "*",
39637
+ "declaration": {
39638
+ "name": "*",
39639
+ "package": "./colors"
39640
+ }
39641
+ },
39642
+ {
39643
+ "kind": "js",
39644
+ "name": "*",
39645
+ "declaration": {
39646
+ "name": "*",
39647
+ "package": "./directives"
39648
+ }
39649
+ },
39650
+ {
39651
+ "kind": "js",
39652
+ "name": "*",
39653
+ "declaration": {
39654
+ "name": "*",
39655
+ "package": "./external"
39656
+ }
39657
+ },
39658
+ {
39659
+ "kind": "js",
39660
+ "name": "*",
39661
+ "declaration": {
39662
+ "name": "*",
39663
+ "package": "./fonts"
39664
+ }
39665
+ }
39666
+ ]
39667
+ },
39441
39668
  {
39442
39669
  "kind": "javascript-module",
39443
39670
  "path": "src/_config/tokens/custom.ts",
@@ -40434,233 +40661,6 @@
40434
40661
  }
40435
40662
  ]
40436
40663
  },
40437
- {
40438
- "kind": "javascript-module",
40439
- "path": "src/_config/styles/colors.ts",
40440
- "declarations": [
40441
- {
40442
- "kind": "variable",
40443
- "name": "defaultFillColor"
40444
- },
40445
- {
40446
- "kind": "variable",
40447
- "name": "fuiDefaultCardFillColor"
40448
- },
40449
- {
40450
- "kind": "variable",
40451
- "name": "fuiDefaultCardPalette"
40452
- },
40453
- {
40454
- "kind": "variable",
40455
- "name": "fuiNeutralSwatch"
40456
- },
40457
- {
40458
- "kind": "variable",
40459
- "name": "fuiNeutralPalette"
40460
- },
40461
- {
40462
- "kind": "variable",
40463
- "name": "fuiAccentSwatch"
40464
- },
40465
- {
40466
- "kind": "variable",
40467
- "name": "fuiAccentPalette"
40468
- }
40469
- ],
40470
- "exports": [
40471
- {
40472
- "kind": "js",
40473
- "name": "defaultFillColor",
40474
- "declaration": {
40475
- "name": "defaultFillColor",
40476
- "module": "src/_config/styles/colors.ts"
40477
- }
40478
- },
40479
- {
40480
- "kind": "js",
40481
- "name": "fuiDefaultCardFillColor",
40482
- "declaration": {
40483
- "name": "fuiDefaultCardFillColor",
40484
- "module": "src/_config/styles/colors.ts"
40485
- }
40486
- },
40487
- {
40488
- "kind": "js",
40489
- "name": "fuiDefaultCardPalette",
40490
- "declaration": {
40491
- "name": "fuiDefaultCardPalette",
40492
- "module": "src/_config/styles/colors.ts"
40493
- }
40494
- },
40495
- {
40496
- "kind": "js",
40497
- "name": "fuiNeutralSwatch",
40498
- "declaration": {
40499
- "name": "fuiNeutralSwatch",
40500
- "module": "src/_config/styles/colors.ts"
40501
- }
40502
- },
40503
- {
40504
- "kind": "js",
40505
- "name": "fuiNeutralPalette",
40506
- "declaration": {
40507
- "name": "fuiNeutralPalette",
40508
- "module": "src/_config/styles/colors.ts"
40509
- }
40510
- },
40511
- {
40512
- "kind": "js",
40513
- "name": "fuiAccentSwatch",
40514
- "declaration": {
40515
- "name": "fuiAccentSwatch",
40516
- "module": "src/_config/styles/colors.ts"
40517
- }
40518
- },
40519
- {
40520
- "kind": "js",
40521
- "name": "fuiAccentPalette",
40522
- "declaration": {
40523
- "name": "fuiAccentPalette",
40524
- "module": "src/_config/styles/colors.ts"
40525
- }
40526
- }
40527
- ]
40528
- },
40529
- {
40530
- "kind": "javascript-module",
40531
- "path": "src/_config/styles/directives.ts",
40532
- "declarations": [
40533
- {
40534
- "kind": "class",
40535
- "description": "",
40536
- "name": "CSSVarsTokenMapper",
40537
- "members": [
40538
- {
40539
- "kind": "method",
40540
- "name": "createTokenPartial",
40541
- "privacy": "private",
40542
- "return": {
40543
- "type": {
40544
- "text": "CSSDirective"
40545
- }
40546
- },
40547
- "parameters": [
40548
- {
40549
- "name": "key",
40550
- "type": {
40551
- "text": "string"
40552
- }
40553
- },
40554
- {
40555
- "name": "value",
40556
- "type": {
40557
- "text": "CSSDesignToken<Swatch | string>"
40558
- }
40559
- }
40560
- ]
40561
- },
40562
- {
40563
- "kind": "method",
40564
- "name": "createTokensCSS",
40565
- "privacy": "private",
40566
- "return": {
40567
- "type": {
40568
- "text": "ComposableStyles[]"
40569
- }
40570
- }
40571
- },
40572
- {
40573
- "kind": "method",
40574
- "name": "createCSS",
40575
- "privacy": "public"
40576
- }
40577
- ],
40578
- "superclass": {
40579
- "name": "CSSDirective",
40580
- "package": "@microsoft/fast-element"
40581
- }
40582
- }
40583
- ],
40584
- "exports": [
40585
- {
40586
- "kind": "js",
40587
- "name": "CSSVarsTokenMapper",
40588
- "declaration": {
40589
- "name": "CSSVarsTokenMapper",
40590
- "module": "src/_config/styles/directives.ts"
40591
- }
40592
- }
40593
- ]
40594
- },
40595
- {
40596
- "kind": "javascript-module",
40597
- "path": "src/_config/styles/fonts.ts",
40598
- "declarations": [
40599
- {
40600
- "kind": "function",
40601
- "name": "mixinFoundationFontFamily",
40602
- "parameters": [
40603
- {
40604
- "name": "style",
40605
- "default": "'normal'"
40606
- },
40607
- {
40608
- "name": "weight",
40609
- "default": "'normal'"
40610
- }
40611
- ]
40612
- }
40613
- ],
40614
- "exports": [
40615
- {
40616
- "kind": "js",
40617
- "name": "mixinFoundationFontFamily",
40618
- "declaration": {
40619
- "name": "mixinFoundationFontFamily",
40620
- "module": "src/_config/styles/fonts.ts"
40621
- }
40622
- }
40623
- ]
40624
- },
40625
- {
40626
- "kind": "javascript-module",
40627
- "path": "src/_config/styles/index.ts",
40628
- "declarations": [],
40629
- "exports": [
40630
- {
40631
- "kind": "js",
40632
- "name": "*",
40633
- "declaration": {
40634
- "name": "*",
40635
- "package": "./colors"
40636
- }
40637
- },
40638
- {
40639
- "kind": "js",
40640
- "name": "*",
40641
- "declaration": {
40642
- "name": "*",
40643
- "package": "./directives"
40644
- }
40645
- },
40646
- {
40647
- "kind": "js",
40648
- "name": "*",
40649
- "declaration": {
40650
- "name": "*",
40651
- "package": "./external"
40652
- }
40653
- },
40654
- {
40655
- "kind": "js",
40656
- "name": "*",
40657
- "declaration": {
40658
- "name": "*",
40659
- "package": "./fonts"
40660
- }
40661
- }
40662
- ]
40663
- },
40664
40664
  {
40665
40665
  "kind": "javascript-module",
40666
40666
  "path": "src/_config/values/color.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"notification-listener.d.ts","sourceRoot":"","sources":["../../../src/notification-listener/notification-listener.ts"],"names":[],"mappings":"AAKA,OAAO,EAOL,WAAW,EAEZ,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,eAAO,MAAM,2CAA2C,EAAE,cAGzD,CAAC;AAEF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,iBAAiB;IAC7C,oBAAoB,EAAG,WAAW,CAAC;IAE/C;;;;OAIG;IACmC,YAAY,MAAC;IACnD;;;OAGG;IACuE,YAAY,SAAK;IAC3F;;;OAGG;IACS,YAAY,EAAE,WAAW,EAAE,CAAM;IAEjC,OAAO,CAAC,UAAU,CAAa;IACrC,iBAAiB;IAyBvB,OAAO,CAAC,kBAAkB;CAqC3B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;+BAIzC,CAAC"}
1
+ {"version":3,"file":"notification-listener.d.ts","sourceRoot":"","sources":["../../../src/notification-listener/notification-listener.ts"],"names":[],"mappings":"AAOA,OAAO,EAKL,WAAW,EAEZ,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,eAAO,MAAM,2CAA2C,EAAE,cAGzD,CAAC;AAEF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,iBAAiB;IAC7C,oBAAoB,EAAG,WAAW,CAAC;IAE/C;;;;OAIG;IACmC,YAAY,MAAC;IACnD;;;OAGG;IACuE,YAAY,SAAK;IAC3F;;;OAGG;IACS,YAAY,EAAE,WAAW,EAAE,CAAM;IAEjC,OAAO,CAAC,UAAU,CAAa;IACrC,iBAAiB;IAyBvB,OAAO,CAAC,kBAAkB;CAiC3B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;+BAIzC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { __awaiter } from "tslib";
2
- import { getErrorBuilder, showNotification } from '@genesislcap/foundation-errors';
2
+ import { showNotification } from '@genesislcap/foundation-notifications';
3
3
  import { logger } from '../utils';
4
4
  export const createFormData = (files) => {
5
5
  const formData = new FormData();
@@ -35,11 +35,11 @@ export const downloadFile = (url, filename, authToken, method = 'GET', showNotif
35
35
  else {
36
36
  const error = yield res.json();
37
37
  showNotifications
38
- ? showNotification(getErrorBuilder()
39
- .withTitle(error === null || error === void 0 ? void 0 : error.MESSAGE_TYPE)
40
- .withErrorDetails((_a = error === null || error === void 0 ? void 0 : error.DETAILS) === null || _a === void 0 ? void 0 : _a.ERROR)
41
- .withNotification({ autoClose: true, closeTimeout: 5000, type: 'warning' })
42
- .build(), 'zero')
38
+ ? showNotification({
39
+ title: error === null || error === void 0 ? void 0 : error.MESSAGE_TYPE,
40
+ body: (_a = error === null || error === void 0 ? void 0 : error.DETAILS) === null || _a === void 0 ? void 0 : _a.ERROR,
41
+ config: { toast: { autoClose: true, closeTimeout: 5000, type: 'warning' } },
42
+ }, 'zero')
43
43
  : '';
44
44
  logger.error(error || 'An error occurred while downloading the file.');
45
45
  }
@@ -54,11 +54,11 @@ export const downloadFile = (url, filename, authToken, method = 'GET', showNotif
54
54
  a.click();
55
55
  a.remove();
56
56
  showNotifications
57
- ? showNotification(getErrorBuilder()
58
- .withTitle('Success')
59
- .withErrorDetails('File downloaded successfully')
60
- .withNotification({ autoClose: true, closeTimeout: 5000, type: 'success' })
61
- .build(), 'zero')
57
+ ? showNotification({
58
+ title: 'Success',
59
+ body: 'File downloaded successfully',
60
+ config: { toast: { autoClose: true, closeTimeout: 5000, type: 'success' } },
61
+ }, 'zero')
62
62
  : '';
63
63
  logger.info('File downloaded successfully');
64
64
  }
@@ -1,6 +1,7 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Datasource, dataServerResultFilter, } from '@genesislcap/foundation-comms';
3
- import { NotificationEvent, showNotification, getNotificationBuilder, getToastBuilder, } from '@genesislcap/foundation-notifications';
3
+ import { showNotificationToast } from '@genesislcap/foundation-notifications';
4
+ import { NotificationEvent, showNotification, } from '@genesislcap/foundation-notifications';
4
5
  import { attr, nullableNumberConverter, observable } from '@microsoft/fast-element';
5
6
  import { FoundationElement } from '@microsoft/fast-foundation';
6
7
  import { foundationNotificationListenerTemplate as template } from './notification-listener.template';
@@ -60,18 +61,19 @@ export class NotificationListener extends FoundationElement {
60
61
  if (this.toastButtons && this.toastButtons.length > 0) {
61
62
  buttons = this.toastButtons.filter(({ condition }) => !!condition ? condition({ details: row }) : true);
62
63
  }
63
- showNotification(getNotificationBuilder()
64
- .withTitle(title)
65
- .withBody(message)
66
- .withCreatedAt(createdAt)
67
- .withToast(getToastBuilder()
68
- .withDetails(row)
69
- .withType(type === null || type === void 0 ? void 0 : type.toLowerCase())
70
- .withButtons(buttons)
71
- .withAutoClose((_a = !!expiry) !== null && _a !== void 0 ? _a : !!this.closeTimeout)
72
- .withCloseTimeout(expiry !== null && expiry !== void 0 ? expiry : this.closeTimeout)
73
- .build())
74
- .build(), this.tagName, this.notificationListener);
64
+ const toastStructure = {
65
+ title: title,
66
+ body: message,
67
+ createdAt: createdAt,
68
+ toast: {
69
+ details: row,
70
+ type: type === null || type === void 0 ? void 0 : type.toLowerCase(),
71
+ buttons: buttons,
72
+ autoClose: (_a = !!expiry) !== null && _a !== void 0 ? _a : !!this.closeTimeout,
73
+ closeTimeout: expiry !== null && expiry !== void 0 ? expiry : this.closeTimeout,
74
+ },
75
+ };
76
+ showNotificationToast(toastStructure, this.tagName);
75
77
  });
76
78
  }
77
79
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.114.2",
4
+ "version": "14.115.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -74,8 +74,8 @@
74
74
  "test:debug": "genx test --debug"
75
75
  },
76
76
  "devDependencies": {
77
- "@genesislcap/foundation-testing": "14.114.2",
78
- "@genesislcap/genx": "14.114.2",
77
+ "@genesislcap/foundation-testing": "14.115.1",
78
+ "@genesislcap/genx": "14.115.1",
79
79
  "copyfiles": "^2.4.1",
80
80
  "rimraf": "^3.0.2",
81
81
  "rxjs": "^7.5.4"
@@ -86,12 +86,12 @@
86
86
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
87
87
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
88
88
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
89
- "@genesislcap/foundation-comms": "14.114.2",
90
- "@genesislcap/foundation-criteria": "14.114.2",
91
- "@genesislcap/foundation-errors": "14.114.2",
92
- "@genesislcap/foundation-logger": "14.114.2",
93
- "@genesislcap/foundation-notifications": "14.114.2",
94
- "@genesislcap/foundation-utils": "14.114.2",
89
+ "@genesislcap/foundation-comms": "14.115.1",
90
+ "@genesislcap/foundation-criteria": "14.115.1",
91
+ "@genesislcap/foundation-errors": "14.115.1",
92
+ "@genesislcap/foundation-logger": "14.115.1",
93
+ "@genesislcap/foundation-notifications": "14.115.1",
94
+ "@genesislcap/foundation-utils": "14.115.1",
95
95
  "@microsoft/fast-colors": "^5.1.4",
96
96
  "@microsoft/fast-components": "^2.21.3",
97
97
  "@microsoft/fast-element": "^1.7.0",
@@ -113,5 +113,5 @@
113
113
  "access": "public"
114
114
  },
115
115
  "customElements": "dist/custom-elements.json",
116
- "gitHead": "02163870a122149dde27eefaec7554e06362e3a1"
116
+ "gitHead": "5cb024728e6fef3451c1e6ccf1e1dd92f26d3f03"
117
117
  }