@genesislcap/foundation-ui 14.218.2-alpha-cf014c8.0 → 14.218.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.
@@ -817,6 +817,82 @@
817
817
  }
818
818
  ]
819
819
  },
820
+ {
821
+ "kind": "javascript-module",
822
+ "path": "src/_common/icons.ts",
823
+ "declarations": [
824
+ {
825
+ "kind": "function",
826
+ "name": "closeIcon",
827
+ "parameters": [
828
+ {
829
+ "name": "slot",
830
+ "default": "'start'"
831
+ },
832
+ {
833
+ "name": "fill",
834
+ "default": "'#879ba6'"
835
+ }
836
+ ]
837
+ }
838
+ ],
839
+ "exports": [
840
+ {
841
+ "kind": "js",
842
+ "name": "closeIcon",
843
+ "declaration": {
844
+ "name": "closeIcon",
845
+ "module": "src/_common/icons.ts"
846
+ }
847
+ }
848
+ ]
849
+ },
850
+ {
851
+ "kind": "javascript-module",
852
+ "path": "src/_common/index.ts",
853
+ "declarations": [],
854
+ "exports": [
855
+ {
856
+ "kind": "js",
857
+ "name": "*",
858
+ "declaration": {
859
+ "name": "*",
860
+ "package": "./icons"
861
+ }
862
+ }
863
+ ]
864
+ },
865
+ {
866
+ "kind": "javascript-module",
867
+ "path": "src/_config/index.ts",
868
+ "declarations": [],
869
+ "exports": [
870
+ {
871
+ "kind": "js",
872
+ "name": "*",
873
+ "declaration": {
874
+ "name": "*",
875
+ "package": "./styles"
876
+ }
877
+ },
878
+ {
879
+ "kind": "js",
880
+ "name": "*",
881
+ "declaration": {
882
+ "name": "*",
883
+ "package": "./tokens"
884
+ }
885
+ },
886
+ {
887
+ "kind": "js",
888
+ "name": "*",
889
+ "declaration": {
890
+ "name": "*",
891
+ "package": "./values"
892
+ }
893
+ }
894
+ ]
895
+ },
820
896
  {
821
897
  "kind": "javascript-module",
822
898
  "path": "src/accordion/accordion.styles.ts",
@@ -2472,82 +2548,6 @@
2472
2548
  }
2473
2549
  ]
2474
2550
  },
2475
- {
2476
- "kind": "javascript-module",
2477
- "path": "src/_common/icons.ts",
2478
- "declarations": [
2479
- {
2480
- "kind": "function",
2481
- "name": "closeIcon",
2482
- "parameters": [
2483
- {
2484
- "name": "slot",
2485
- "default": "'start'"
2486
- },
2487
- {
2488
- "name": "fill",
2489
- "default": "'#879ba6'"
2490
- }
2491
- ]
2492
- }
2493
- ],
2494
- "exports": [
2495
- {
2496
- "kind": "js",
2497
- "name": "closeIcon",
2498
- "declaration": {
2499
- "name": "closeIcon",
2500
- "module": "src/_common/icons.ts"
2501
- }
2502
- }
2503
- ]
2504
- },
2505
- {
2506
- "kind": "javascript-module",
2507
- "path": "src/_common/index.ts",
2508
- "declarations": [],
2509
- "exports": [
2510
- {
2511
- "kind": "js",
2512
- "name": "*",
2513
- "declaration": {
2514
- "name": "*",
2515
- "package": "./icons"
2516
- }
2517
- }
2518
- ]
2519
- },
2520
- {
2521
- "kind": "javascript-module",
2522
- "path": "src/_config/index.ts",
2523
- "declarations": [],
2524
- "exports": [
2525
- {
2526
- "kind": "js",
2527
- "name": "*",
2528
- "declaration": {
2529
- "name": "*",
2530
- "package": "./styles"
2531
- }
2532
- },
2533
- {
2534
- "kind": "js",
2535
- "name": "*",
2536
- "declaration": {
2537
- "name": "*",
2538
- "package": "./tokens"
2539
- }
2540
- },
2541
- {
2542
- "kind": "js",
2543
- "name": "*",
2544
- "declaration": {
2545
- "name": "*",
2546
- "package": "./values"
2547
- }
2548
- }
2549
- ]
2550
- },
2551
2551
  {
2552
2552
  "kind": "javascript-module",
2553
2553
  "path": "src/anchored-region/anchor-region.template.ts",
@@ -14939,89 +14939,251 @@
14939
14939
  },
14940
14940
  {
14941
14941
  "kind": "javascript-module",
14942
- "path": "src/error-banner/error-banner.template.ts",
14942
+ "path": "src/dropdown-menu/dropdown-menu.styles.ts",
14943
14943
  "declarations": [
14944
14944
  {
14945
14945
  "kind": "function",
14946
- "name": "getPrefixedErrorBanner",
14946
+ "name": "dropdownMenuBaseStyles",
14947
+ "return": {
14948
+ "type": {
14949
+ "text": "ElementStyles"
14950
+ }
14951
+ },
14947
14952
  "parameters": [
14948
14953
  {
14949
14954
  "name": "prefix",
14950
14955
  "type": {
14951
14956
  "text": "string"
14952
14957
  }
14958
+ },
14959
+ {
14960
+ "name": "context",
14961
+ "type": {
14962
+ "text": "ElementDefinitionContext"
14963
+ }
14964
+ },
14965
+ {
14966
+ "name": "definition",
14967
+ "type": {
14968
+ "text": "FoundationElementDefinition"
14969
+ }
14953
14970
  }
14954
14971
  ]
14955
14972
  },
14956
14973
  {
14957
- "kind": "variable",
14958
- "name": "foundationErrorBannerTemplate",
14959
- "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
14974
+ "kind": "function",
14975
+ "name": "foundationDropdownMenuStyles",
14976
+ "return": {
14977
+ "type": {
14978
+ "text": "ElementStyles"
14979
+ }
14980
+ },
14981
+ "parameters": [
14982
+ {
14983
+ "name": "context",
14984
+ "type": {
14985
+ "text": "ElementDefinitionContext"
14986
+ }
14987
+ },
14988
+ {
14989
+ "name": "definition",
14990
+ "type": {
14991
+ "text": "FoundationElementDefinition"
14992
+ }
14993
+ }
14994
+ ]
14960
14995
  }
14961
14996
  ],
14962
14997
  "exports": [
14963
14998
  {
14964
14999
  "kind": "js",
14965
- "name": "getPrefixedErrorBanner",
15000
+ "name": "dropdownMenuBaseStyles",
14966
15001
  "declaration": {
14967
- "name": "getPrefixedErrorBanner",
14968
- "module": "src/error-banner/error-banner.template.ts"
15002
+ "name": "dropdownMenuBaseStyles",
15003
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
14969
15004
  }
14970
15005
  },
14971
15006
  {
14972
15007
  "kind": "js",
14973
- "name": "foundationErrorBannerTemplate",
15008
+ "name": "foundationDropdownMenuStyles",
14974
15009
  "declaration": {
14975
- "name": "foundationErrorBannerTemplate",
14976
- "module": "src/error-banner/error-banner.template.ts"
15010
+ "name": "foundationDropdownMenuStyles",
15011
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
14977
15012
  }
14978
15013
  }
14979
15014
  ]
14980
15015
  },
14981
15016
  {
14982
15017
  "kind": "javascript-module",
14983
- "path": "src/error-banner/error-banner.ts",
15018
+ "path": "src/dropdown-menu/dropdown-menu.template.ts",
14984
15019
  "declarations": [
14985
15020
  {
14986
- "kind": "variable",
14987
- "name": "foundationErrorBannerShadowOptions",
14988
- "type": {
14989
- "text": "ShadowRootInit"
14990
- },
14991
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
14992
- },
14993
- {
14994
- "kind": "class",
14995
- "description": "",
14996
- "name": "ErrorBanner",
14997
- "members": [
14998
- {
14999
- "kind": "field",
15000
- "name": "banner",
15001
- "type": {
15002
- "text": "HTMLElement & { dismiss: () => Promise<void> }"
15003
- },
15004
- "privacy": "public"
15005
- },
15021
+ "kind": "function",
15022
+ "name": "extractMenuItems",
15023
+ "parameters": [
15006
15024
  {
15007
- "kind": "field",
15008
- "name": "error",
15025
+ "name": "items",
15009
15026
  "type": {
15010
- "text": "ErrorStructure"
15027
+ "text": "DropdownMenuItem[]"
15011
15028
  }
15012
15029
  },
15013
15030
  {
15014
- "kind": "field",
15015
- "name": "notification",
15031
+ "name": "prefix",
15016
15032
  "type": {
15017
- "text": "NotificationStructure"
15033
+ "text": "string"
15018
15034
  }
15019
- },
15035
+ }
15036
+ ]
15037
+ },
15038
+ {
15039
+ "kind": "function",
15040
+ "name": "getDropdownMenuTemplate",
15041
+ "parameters": [
15020
15042
  {
15021
- "kind": "method",
15022
- "name": "dismiss",
15023
- "privacy": "public",
15024
- "description": "Dismiss the Error Banner from display."
15043
+ "name": "prefix"
15044
+ }
15045
+ ]
15046
+ },
15047
+ {
15048
+ "kind": "variable",
15049
+ "name": "foundationDropdownMenuTemplate",
15050
+ "default": "html<DropdownMenu>`\n ${(x) => getDropdownMenuTemplate(getPrefix(x))}\n`"
15051
+ }
15052
+ ],
15053
+ "exports": [
15054
+ {
15055
+ "kind": "js",
15056
+ "name": "extractMenuItems",
15057
+ "declaration": {
15058
+ "name": "extractMenuItems",
15059
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
15060
+ }
15061
+ },
15062
+ {
15063
+ "kind": "js",
15064
+ "name": "getDropdownMenuTemplate",
15065
+ "declaration": {
15066
+ "name": "getDropdownMenuTemplate",
15067
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
15068
+ }
15069
+ },
15070
+ {
15071
+ "kind": "js",
15072
+ "name": "foundationDropdownMenuTemplate",
15073
+ "declaration": {
15074
+ "name": "foundationDropdownMenuTemplate",
15075
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
15076
+ }
15077
+ }
15078
+ ]
15079
+ },
15080
+ {
15081
+ "kind": "javascript-module",
15082
+ "path": "src/dropdown-menu/dropdown-menu.ts",
15083
+ "declarations": [
15084
+ {
15085
+ "kind": "class",
15086
+ "description": "",
15087
+ "name": "DropdownMenu",
15088
+ "members": [
15089
+ {
15090
+ "kind": "field",
15091
+ "name": "items",
15092
+ "type": {
15093
+ "text": "DropdownMenuItem[]"
15094
+ }
15095
+ },
15096
+ {
15097
+ "kind": "field",
15098
+ "name": "autoClose",
15099
+ "type": {
15100
+ "text": "boolean"
15101
+ },
15102
+ "default": "true"
15103
+ },
15104
+ {
15105
+ "kind": "field",
15106
+ "name": "disabled",
15107
+ "type": {
15108
+ "text": "boolean"
15109
+ },
15110
+ "default": "false"
15111
+ },
15112
+ {
15113
+ "kind": "field",
15114
+ "name": "classNames",
15115
+ "type": {
15116
+ "text": "string"
15117
+ }
15118
+ },
15119
+ {
15120
+ "kind": "field",
15121
+ "name": "name",
15122
+ "type": {
15123
+ "text": "string"
15124
+ },
15125
+ "default": "'Dropdown Menu'"
15126
+ },
15127
+ {
15128
+ "kind": "field",
15129
+ "name": "open",
15130
+ "type": {
15131
+ "text": "boolean"
15132
+ },
15133
+ "default": "false"
15134
+ },
15135
+ {
15136
+ "kind": "field",
15137
+ "name": "buttonAppearance",
15138
+ "type": {
15139
+ "text": "string"
15140
+ }
15141
+ },
15142
+ {
15143
+ "kind": "field",
15144
+ "name": "dropdownMenu",
15145
+ "type": {
15146
+ "text": "HTMLElement"
15147
+ }
15148
+ },
15149
+ {
15150
+ "kind": "field",
15151
+ "name": "clickOutside",
15152
+ "privacy": "private"
15153
+ },
15154
+ {
15155
+ "kind": "method",
15156
+ "name": "handleClickOutside",
15157
+ "privacy": "private",
15158
+ "parameters": [
15159
+ {
15160
+ "name": "event",
15161
+ "type": {
15162
+ "text": "MouseEvent"
15163
+ }
15164
+ }
15165
+ ]
15166
+ },
15167
+ {
15168
+ "kind": "method",
15169
+ "name": "openChanged",
15170
+ "privacy": "protected"
15171
+ },
15172
+ {
15173
+ "kind": "method",
15174
+ "name": "toggleDropdownMenuVisibility"
15175
+ },
15176
+ {
15177
+ "kind": "method",
15178
+ "name": "onDropdownMenuItemClick"
15179
+ },
15180
+ {
15181
+ "kind": "field",
15182
+ "name": "allItems",
15183
+ "type": {
15184
+ "text": "DropdownMenuItem[]"
15185
+ },
15186
+ "readonly": true
15025
15187
  },
15026
15188
  {
15027
15189
  "kind": "field",
@@ -15135,161 +15297,119 @@
15135
15297
  }
15136
15298
  }
15137
15299
  ],
15300
+ "attributes": [
15301
+ {
15302
+ "name": "auto-close",
15303
+ "type": {
15304
+ "text": "boolean"
15305
+ },
15306
+ "default": "true",
15307
+ "fieldName": "autoClose"
15308
+ },
15309
+ {
15310
+ "name": "disable-button",
15311
+ "type": {
15312
+ "text": "boolean"
15313
+ },
15314
+ "default": "false",
15315
+ "fieldName": "disabled"
15316
+ },
15317
+ {
15318
+ "name": "name",
15319
+ "type": {
15320
+ "text": "string"
15321
+ },
15322
+ "default": "'Dropdown Menu'",
15323
+ "fieldName": "name"
15324
+ },
15325
+ {
15326
+ "name": "open",
15327
+ "type": {
15328
+ "text": "boolean"
15329
+ },
15330
+ "default": "false",
15331
+ "fieldName": "open"
15332
+ },
15333
+ {
15334
+ "name": "buttonAppearance",
15335
+ "type": {
15336
+ "text": "string"
15337
+ },
15338
+ "fieldName": "buttonAppearance"
15339
+ }
15340
+ ],
15138
15341
  "superclass": {
15139
15342
  "name": "FoundationElement",
15140
15343
  "package": "@microsoft/fast-foundation"
15141
15344
  },
15142
- "tagName": "%%prefix%%-error-banner",
15143
- "deprecated": "true",
15345
+ "tagName": "%%prefix%%-dropdown-menu",
15144
15346
  "customElement": true
15145
15347
  },
15146
15348
  {
15147
15349
  "kind": "variable",
15148
- "name": "foundationErrorBanner",
15149
- "description": "The Foundation Error Banner",
15350
+ "name": "foundationDropdownMenu",
15351
+ "description": "The Foundation Dropdown Menu",
15150
15352
  "privacy": "public"
15151
15353
  }
15152
15354
  ],
15153
15355
  "exports": [
15154
15356
  {
15155
15357
  "kind": "js",
15156
- "name": "foundationErrorBannerShadowOptions",
15157
- "declaration": {
15158
- "name": "foundationErrorBannerShadowOptions",
15159
- "module": "src/error-banner/error-banner.ts"
15160
- }
15161
- },
15162
- {
15163
- "kind": "js",
15164
- "name": "ErrorBanner",
15165
- "declaration": {
15166
- "name": "ErrorBanner",
15167
- "module": "src/error-banner/error-banner.ts"
15168
- }
15169
- },
15170
- {
15171
- "kind": "js",
15172
- "name": "foundationErrorBanner",
15173
- "declaration": {
15174
- "name": "foundationErrorBanner",
15175
- "module": "src/error-banner/error-banner.ts"
15176
- }
15177
- }
15178
- ]
15179
- },
15180
- {
15181
- "kind": "javascript-module",
15182
- "path": "src/error-banner/index.ts",
15183
- "declarations": [],
15184
- "exports": [
15185
- {
15186
- "kind": "js",
15187
- "name": "*",
15358
+ "name": "DropdownMenu",
15188
15359
  "declaration": {
15189
- "name": "*",
15190
- "package": "./error-banner.template"
15360
+ "name": "DropdownMenu",
15361
+ "module": "src/dropdown-menu/dropdown-menu.ts"
15191
15362
  }
15192
15363
  },
15193
15364
  {
15194
15365
  "kind": "js",
15195
- "name": "*",
15366
+ "name": "foundationDropdownMenu",
15196
15367
  "declaration": {
15197
- "name": "*",
15198
- "package": "./error-banner"
15199
- }
15200
- }
15201
- ]
15202
- },
15203
- {
15204
- "kind": "javascript-module",
15205
- "path": "src/dropdown-menu/dropdown-menu.styles.ts",
15206
- "declarations": [
15207
- {
15208
- "kind": "function",
15209
- "name": "dropdownMenuBaseStyles",
15210
- "return": {
15211
- "type": {
15212
- "text": "ElementStyles"
15213
- }
15214
- },
15215
- "parameters": [
15216
- {
15217
- "name": "prefix",
15218
- "type": {
15219
- "text": "string"
15220
- }
15221
- },
15222
- {
15223
- "name": "context",
15224
- "type": {
15225
- "text": "ElementDefinitionContext"
15226
- }
15227
- },
15228
- {
15229
- "name": "definition",
15230
- "type": {
15231
- "text": "FoundationElementDefinition"
15232
- }
15233
- }
15234
- ]
15235
- },
15236
- {
15237
- "kind": "function",
15238
- "name": "foundationDropdownMenuStyles",
15239
- "return": {
15240
- "type": {
15241
- "text": "ElementStyles"
15242
- }
15243
- },
15244
- "parameters": [
15245
- {
15246
- "name": "context",
15247
- "type": {
15248
- "text": "ElementDefinitionContext"
15249
- }
15250
- },
15251
- {
15252
- "name": "definition",
15253
- "type": {
15254
- "text": "FoundationElementDefinition"
15255
- }
15256
- }
15257
- ]
15368
+ "name": "foundationDropdownMenu",
15369
+ "module": "src/dropdown-menu/dropdown-menu.ts"
15370
+ }
15258
15371
  }
15259
- ],
15372
+ ]
15373
+ },
15374
+ {
15375
+ "kind": "javascript-module",
15376
+ "path": "src/dropdown-menu/index.ts",
15377
+ "declarations": [],
15260
15378
  "exports": [
15261
15379
  {
15262
15380
  "kind": "js",
15263
- "name": "dropdownMenuBaseStyles",
15381
+ "name": "*",
15264
15382
  "declaration": {
15265
- "name": "dropdownMenuBaseStyles",
15266
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
15383
+ "name": "*",
15384
+ "package": "./dropdown-menu.styles"
15267
15385
  }
15268
15386
  },
15269
15387
  {
15270
15388
  "kind": "js",
15271
- "name": "foundationDropdownMenuStyles",
15389
+ "name": "*",
15272
15390
  "declaration": {
15273
- "name": "foundationDropdownMenuStyles",
15274
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
15391
+ "name": "*",
15392
+ "package": "./dropdown-menu.template"
15393
+ }
15394
+ },
15395
+ {
15396
+ "kind": "js",
15397
+ "name": "*",
15398
+ "declaration": {
15399
+ "name": "*",
15400
+ "package": "./dropdown-menu"
15275
15401
  }
15276
15402
  }
15277
15403
  ]
15278
15404
  },
15279
15405
  {
15280
15406
  "kind": "javascript-module",
15281
- "path": "src/dropdown-menu/dropdown-menu.template.ts",
15407
+ "path": "src/error-banner/error-banner.template.ts",
15282
15408
  "declarations": [
15283
15409
  {
15284
15410
  "kind": "function",
15285
- "name": "extractMenuItems",
15411
+ "name": "getPrefixedErrorBanner",
15286
15412
  "parameters": [
15287
- {
15288
- "name": "items",
15289
- "type": {
15290
- "text": "DropdownMenuItem[]"
15291
- }
15292
- },
15293
15413
  {
15294
15414
  "name": "prefix",
15295
15415
  "type": {
@@ -15298,155 +15418,75 @@
15298
15418
  }
15299
15419
  ]
15300
15420
  },
15301
- {
15302
- "kind": "function",
15303
- "name": "getDropdownMenuTemplate",
15304
- "parameters": [
15305
- {
15306
- "name": "prefix"
15307
- }
15308
- ]
15309
- },
15310
15421
  {
15311
15422
  "kind": "variable",
15312
- "name": "foundationDropdownMenuTemplate",
15313
- "default": "html<DropdownMenu>`\n ${(x) => getDropdownMenuTemplate(getPrefix(x))}\n`"
15423
+ "name": "foundationErrorBannerTemplate",
15424
+ "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
15314
15425
  }
15315
15426
  ],
15316
15427
  "exports": [
15317
15428
  {
15318
15429
  "kind": "js",
15319
- "name": "extractMenuItems",
15320
- "declaration": {
15321
- "name": "extractMenuItems",
15322
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
15323
- }
15324
- },
15325
- {
15326
- "kind": "js",
15327
- "name": "getDropdownMenuTemplate",
15430
+ "name": "getPrefixedErrorBanner",
15328
15431
  "declaration": {
15329
- "name": "getDropdownMenuTemplate",
15330
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
15432
+ "name": "getPrefixedErrorBanner",
15433
+ "module": "src/error-banner/error-banner.template.ts"
15331
15434
  }
15332
15435
  },
15333
15436
  {
15334
15437
  "kind": "js",
15335
- "name": "foundationDropdownMenuTemplate",
15438
+ "name": "foundationErrorBannerTemplate",
15336
15439
  "declaration": {
15337
- "name": "foundationDropdownMenuTemplate",
15338
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
15440
+ "name": "foundationErrorBannerTemplate",
15441
+ "module": "src/error-banner/error-banner.template.ts"
15339
15442
  }
15340
15443
  }
15341
15444
  ]
15342
15445
  },
15343
15446
  {
15344
15447
  "kind": "javascript-module",
15345
- "path": "src/dropdown-menu/dropdown-menu.ts",
15448
+ "path": "src/error-banner/error-banner.ts",
15346
15449
  "declarations": [
15450
+ {
15451
+ "kind": "variable",
15452
+ "name": "foundationErrorBannerShadowOptions",
15453
+ "type": {
15454
+ "text": "ShadowRootInit"
15455
+ },
15456
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
15457
+ },
15347
15458
  {
15348
15459
  "kind": "class",
15349
15460
  "description": "",
15350
- "name": "DropdownMenu",
15461
+ "name": "ErrorBanner",
15351
15462
  "members": [
15352
15463
  {
15353
15464
  "kind": "field",
15354
- "name": "items",
15355
- "type": {
15356
- "text": "DropdownMenuItem[]"
15357
- }
15358
- },
15359
- {
15360
- "kind": "field",
15361
- "name": "autoClose",
15362
- "type": {
15363
- "text": "boolean"
15364
- },
15365
- "default": "true"
15366
- },
15367
- {
15368
- "kind": "field",
15369
- "name": "disabled",
15370
- "type": {
15371
- "text": "boolean"
15372
- },
15373
- "default": "false"
15374
- },
15375
- {
15376
- "kind": "field",
15377
- "name": "classNames",
15378
- "type": {
15379
- "text": "string"
15380
- }
15381
- },
15382
- {
15383
- "kind": "field",
15384
- "name": "name",
15385
- "type": {
15386
- "text": "string"
15387
- },
15388
- "default": "'Dropdown Menu'"
15389
- },
15390
- {
15391
- "kind": "field",
15392
- "name": "open",
15465
+ "name": "banner",
15393
15466
  "type": {
15394
- "text": "boolean"
15467
+ "text": "HTMLElement & { dismiss: () => Promise<void> }"
15395
15468
  },
15396
- "default": "false"
15469
+ "privacy": "public"
15397
15470
  },
15398
15471
  {
15399
15472
  "kind": "field",
15400
- "name": "buttonAppearance",
15473
+ "name": "error",
15401
15474
  "type": {
15402
- "text": "string"
15475
+ "text": "ErrorStructure"
15403
15476
  }
15404
15477
  },
15405
15478
  {
15406
15479
  "kind": "field",
15407
- "name": "dropdownMenu",
15480
+ "name": "notification",
15408
15481
  "type": {
15409
- "text": "HTMLElement"
15482
+ "text": "NotificationStructure"
15410
15483
  }
15411
15484
  },
15412
- {
15413
- "kind": "field",
15414
- "name": "clickOutside",
15415
- "privacy": "private"
15416
- },
15417
- {
15418
- "kind": "method",
15419
- "name": "handleClickOutside",
15420
- "privacy": "private",
15421
- "parameters": [
15422
- {
15423
- "name": "event",
15424
- "type": {
15425
- "text": "MouseEvent"
15426
- }
15427
- }
15428
- ]
15429
- },
15430
- {
15431
- "kind": "method",
15432
- "name": "openChanged",
15433
- "privacy": "protected"
15434
- },
15435
- {
15436
- "kind": "method",
15437
- "name": "toggleDropdownMenuVisibility"
15438
- },
15439
15485
  {
15440
15486
  "kind": "method",
15441
- "name": "onDropdownMenuItemClick"
15442
- },
15443
- {
15444
- "kind": "field",
15445
- "name": "allItems",
15446
- "type": {
15447
- "text": "DropdownMenuItem[]"
15448
- },
15449
- "readonly": true
15487
+ "name": "dismiss",
15488
+ "privacy": "public",
15489
+ "description": "Dismiss the Error Banner from display."
15450
15490
  },
15451
15491
  {
15452
15492
  "kind": "field",
@@ -15560,83 +15600,51 @@
15560
15600
  }
15561
15601
  }
15562
15602
  ],
15563
- "attributes": [
15564
- {
15565
- "name": "auto-close",
15566
- "type": {
15567
- "text": "boolean"
15568
- },
15569
- "default": "true",
15570
- "fieldName": "autoClose"
15571
- },
15572
- {
15573
- "name": "disable-button",
15574
- "type": {
15575
- "text": "boolean"
15576
- },
15577
- "default": "false",
15578
- "fieldName": "disabled"
15579
- },
15580
- {
15581
- "name": "name",
15582
- "type": {
15583
- "text": "string"
15584
- },
15585
- "default": "'Dropdown Menu'",
15586
- "fieldName": "name"
15587
- },
15588
- {
15589
- "name": "open",
15590
- "type": {
15591
- "text": "boolean"
15592
- },
15593
- "default": "false",
15594
- "fieldName": "open"
15595
- },
15596
- {
15597
- "name": "buttonAppearance",
15598
- "type": {
15599
- "text": "string"
15600
- },
15601
- "fieldName": "buttonAppearance"
15602
- }
15603
- ],
15604
15603
  "superclass": {
15605
15604
  "name": "FoundationElement",
15606
15605
  "package": "@microsoft/fast-foundation"
15607
15606
  },
15608
- "tagName": "%%prefix%%-dropdown-menu",
15607
+ "tagName": "%%prefix%%-error-banner",
15608
+ "deprecated": "true",
15609
15609
  "customElement": true
15610
15610
  },
15611
15611
  {
15612
15612
  "kind": "variable",
15613
- "name": "foundationDropdownMenu",
15614
- "description": "The Foundation Dropdown Menu",
15613
+ "name": "foundationErrorBanner",
15614
+ "description": "The Foundation Error Banner",
15615
15615
  "privacy": "public"
15616
15616
  }
15617
15617
  ],
15618
15618
  "exports": [
15619
15619
  {
15620
15620
  "kind": "js",
15621
- "name": "DropdownMenu",
15621
+ "name": "foundationErrorBannerShadowOptions",
15622
15622
  "declaration": {
15623
- "name": "DropdownMenu",
15624
- "module": "src/dropdown-menu/dropdown-menu.ts"
15623
+ "name": "foundationErrorBannerShadowOptions",
15624
+ "module": "src/error-banner/error-banner.ts"
15625
15625
  }
15626
15626
  },
15627
15627
  {
15628
15628
  "kind": "js",
15629
- "name": "foundationDropdownMenu",
15629
+ "name": "ErrorBanner",
15630
15630
  "declaration": {
15631
- "name": "foundationDropdownMenu",
15632
- "module": "src/dropdown-menu/dropdown-menu.ts"
15631
+ "name": "ErrorBanner",
15632
+ "module": "src/error-banner/error-banner.ts"
15633
+ }
15634
+ },
15635
+ {
15636
+ "kind": "js",
15637
+ "name": "foundationErrorBanner",
15638
+ "declaration": {
15639
+ "name": "foundationErrorBanner",
15640
+ "module": "src/error-banner/error-banner.ts"
15633
15641
  }
15634
15642
  }
15635
15643
  ]
15636
15644
  },
15637
15645
  {
15638
15646
  "kind": "javascript-module",
15639
- "path": "src/dropdown-menu/index.ts",
15647
+ "path": "src/error-banner/index.ts",
15640
15648
  "declarations": [],
15641
15649
  "exports": [
15642
15650
  {
@@ -15644,15 +15652,7 @@
15644
15652
  "name": "*",
15645
15653
  "declaration": {
15646
15654
  "name": "*",
15647
- "package": "./dropdown-menu.styles"
15648
- }
15649
- },
15650
- {
15651
- "kind": "js",
15652
- "name": "*",
15653
- "declaration": {
15654
- "name": "*",
15655
- "package": "./dropdown-menu.template"
15655
+ "package": "./error-banner.template"
15656
15656
  }
15657
15657
  },
15658
15658
  {
@@ -15660,7 +15660,7 @@
15660
15660
  "name": "*",
15661
15661
  "declaration": {
15662
15662
  "name": "*",
15663
- "package": "./dropdown-menu"
15663
+ "package": "./error-banner"
15664
15664
  }
15665
15665
  }
15666
15666
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../src/stepper/stepper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEhF,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAI5C,MAAM,MAAM,UAAU,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,CAAA;CAAE,CAAC;AAEhD;;GAEG;AACH,qBAAa,OAAQ,SAAQ,iBAAiB;IACgB,gBAAgB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IAC5E,WAAW,EAAE,eAAe,CAA4B;IAC9D,kBAAkB,IAAI,IAAI;IAOpB,QAAQ,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAQ7C,IAAI,EAAE,UAAU,EAAE,GAAG,WAAW,EAAE,CAAC;IAC/C,WAAW,IAAI,IAAI;IAWP,SAAS,EAAE,WAAW,EAAE,CAAC;IACrC,gBAAgB,IAAI,IAAI;IAUZ,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,aAAa,SAAK;IAClB,cAAc,EAAE,MAAM,CAAK;IAEvC,SAAS,EAAE,WAAW,CAAC;IACvB,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,WAAW,CAAgB;IAEnC,iBAAiB,IAAI,IAAI;IAQzB,OAAO,CAAC,cAAc;IAStB,eAAe,CAAC,SAAS,KAAA;IAczB,IAAc,oBAAoB,YAEjC;IAED,IAAc,UAAU,YAEvB;IAED,IAAc,eAAe,YAkB5B;IAED,OAAO,IAAI,IAAI;IAIf,QAAQ,IAAI,IAAI;IAqChB,YAAY,IAAI,IAAI;IAQpB,SAAS,CAAC,OAAO,QAAO,IAAI,CA8B1B;IAEF,gBAAgB,aAWd;IAEF,OAAO,CAAC,YAAY,CAUlB;IAEF,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,mBAAmB;CAG5B;AAGD,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE,eAAO,MAAM,oBAAoB,IAAK,CAAC;AAEvC;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
1
+ {"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../src/stepper/stepper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEhF,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAI5C,MAAM,MAAM,UAAU,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,CAAA;CAAE,CAAC;AAEhD;;GAEG;AACH,qBAAa,OAAQ,SAAQ,iBAAiB;IACgB,gBAAgB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IAC5E,WAAW,EAAE,eAAe,CAA4B;IAC9D,kBAAkB,IAAI,IAAI;IAOpB,QAAQ,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAQ7C,IAAI,EAAE,UAAU,EAAE,GAAG,WAAW,EAAE,CAAC;IAC/C,WAAW,IAAI,IAAI;IAWP,SAAS,EAAE,WAAW,EAAE,CAAC;IACrC,gBAAgB,IAAI,IAAI;IAUZ,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,aAAa,SAAK;IAClB,cAAc,EAAE,MAAM,CAAK;IAEvC,SAAS,EAAE,WAAW,CAAC;IACvB,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,WAAW,CAAgB;IAEnC,iBAAiB,IAAI,IAAI;IAQzB,OAAO,CAAC,cAAc;IAStB,eAAe,CAAC,SAAS,KAAA;IAUzB,IAAc,oBAAoB,YAEjC;IAED,IAAc,UAAU,YAEvB;IAED,IAAc,eAAe,YAkB5B;IAED,OAAO,IAAI,IAAI;IAIf,QAAQ,IAAI,IAAI;IAqChB,YAAY,IAAI,IAAI;IAQpB,SAAS,CAAC,OAAO,QAAO,IAAI,CA8B1B;IAEF,gBAAgB,aAWd;IAEF,OAAO,CAAC,YAAY,CAUlB;IAEF,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,mBAAmB;CAG5B;AAGD,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE,eAAO,MAAM,oBAAoB,IAAK,CAAC;AAEvC;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
@@ -117,10 +117,6 @@ export class Stepper extends FoundationElement {
117
117
  }
118
118
  this.activetab = this.tabs[stepIndex];
119
119
  this.activeid = this.tabIds[stepIndex];
120
- this.$emit('step-click', {
121
- activetab: this.activetab,
122
- activeid: this.activeid,
123
- });
124
120
  }
125
121
  }
126
122
  get disabledPreviousStep() {
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.218.2-alpha-cf014c8.0",
4
+ "version": "14.218.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.218.2-alpha-cf014c8.0",
87
- "@genesislcap/genx": "14.218.2-alpha-cf014c8.0",
88
- "@genesislcap/rollup-builder": "14.218.2-alpha-cf014c8.0",
89
- "@genesislcap/ts-builder": "14.218.2-alpha-cf014c8.0",
90
- "@genesislcap/uvu-playwright-builder": "14.218.2-alpha-cf014c8.0",
91
- "@genesislcap/vite-builder": "14.218.2-alpha-cf014c8.0",
92
- "@genesislcap/webpack-builder": "14.218.2-alpha-cf014c8.0",
86
+ "@genesislcap/foundation-testing": "14.218.2",
87
+ "@genesislcap/genx": "14.218.2",
88
+ "@genesislcap/rollup-builder": "14.218.2",
89
+ "@genesislcap/ts-builder": "14.218.2",
90
+ "@genesislcap/uvu-playwright-builder": "14.218.2",
91
+ "@genesislcap/vite-builder": "14.218.2",
92
+ "@genesislcap/webpack-builder": "14.218.2",
93
93
  "copyfiles": "^2.4.1",
94
94
  "rimraf": "^5.0.0",
95
95
  "rxjs": "^7.5.4"
@@ -100,13 +100,13 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/foundation-comms": "14.218.2-alpha-cf014c8.0",
104
- "@genesislcap/foundation-criteria": "14.218.2-alpha-cf014c8.0",
105
- "@genesislcap/foundation-errors": "14.218.2-alpha-cf014c8.0",
106
- "@genesislcap/foundation-logger": "14.218.2-alpha-cf014c8.0",
107
- "@genesislcap/foundation-notifications": "14.218.2-alpha-cf014c8.0",
108
- "@genesislcap/foundation-user": "14.218.2-alpha-cf014c8.0",
109
- "@genesislcap/foundation-utils": "14.218.2-alpha-cf014c8.0",
103
+ "@genesislcap/foundation-comms": "14.218.2",
104
+ "@genesislcap/foundation-criteria": "14.218.2",
105
+ "@genesislcap/foundation-errors": "14.218.2",
106
+ "@genesislcap/foundation-logger": "14.218.2",
107
+ "@genesislcap/foundation-notifications": "14.218.2",
108
+ "@genesislcap/foundation-user": "14.218.2",
109
+ "@genesislcap/foundation-utils": "14.218.2",
110
110
  "@microsoft/fast-colors": "^5.3.1",
111
111
  "@microsoft/fast-components": "^2.30.6",
112
112
  "@microsoft/fast-element": "^1.12.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "a88776f6e4a179234c43ca1e013cfbc8e39d8fc9"
131
+ "gitHead": "4a9ced163c8b35ad4361a13540cdb242c854d2e7"
132
132
  }