@genesislcap/foundation-ui 14.234.1 → 14.234.2-FUI-2287.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.
@@ -39858,7 +39858,7 @@
39858
39858
  },
39859
39859
  {
39860
39860
  "kind": "javascript-module",
39861
- "path": "src/toast/index.ts",
39861
+ "path": "src/toolbar/index.ts",
39862
39862
  "declarations": [],
39863
39863
  "exports": [
39864
39864
  {
@@ -39866,7 +39866,7 @@
39866
39866
  "name": "*",
39867
39867
  "declaration": {
39868
39868
  "name": "*",
39869
- "package": "./toast.styles"
39869
+ "package": "./toolbar.template"
39870
39870
  }
39871
39871
  },
39872
39872
  {
@@ -39874,7 +39874,7 @@
39874
39874
  "name": "*",
39875
39875
  "declaration": {
39876
39876
  "name": "*",
39877
- "package": "./toast.template"
39877
+ "package": "./toolbar.styles"
39878
39878
  }
39879
39879
  },
39880
39880
  {
@@ -39882,121 +39882,192 @@
39882
39882
  "name": "*",
39883
39883
  "declaration": {
39884
39884
  "name": "*",
39885
- "package": "./toast"
39885
+ "package": "./toolbar"
39886
39886
  }
39887
39887
  }
39888
39888
  ]
39889
39889
  },
39890
39890
  {
39891
39891
  "kind": "javascript-module",
39892
- "path": "src/toast/toast.styles.ts",
39892
+ "path": "src/toolbar/toolbar.styles.ts",
39893
39893
  "declarations": [
39894
39894
  {
39895
- "kind": "variable",
39896
- "name": "foundationToastStyles",
39897
- "type": {
39898
- "text": "ElementStyles"
39895
+ "kind": "function",
39896
+ "name": "foundationToolbarStyles",
39897
+ "return": {
39898
+ "type": {
39899
+ "text": "ElementStyles"
39900
+ }
39899
39901
  },
39900
- "default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .close-icon svg {\n cursor: pointer;\n }\n`"
39902
+ "parameters": [
39903
+ {
39904
+ "name": "context",
39905
+ "type": {
39906
+ "text": "ElementDefinitionContext"
39907
+ }
39908
+ },
39909
+ {
39910
+ "name": "definition",
39911
+ "type": {
39912
+ "text": "FoundationElementDefinition"
39913
+ }
39914
+ }
39915
+ ]
39901
39916
  }
39902
39917
  ],
39903
39918
  "exports": [
39904
39919
  {
39905
39920
  "kind": "js",
39906
- "name": "foundationToastStyles",
39921
+ "name": "foundationToolbarStyles",
39907
39922
  "declaration": {
39908
- "name": "foundationToastStyles",
39909
- "module": "src/toast/toast.styles.ts"
39923
+ "name": "foundationToolbarStyles",
39924
+ "module": "src/toolbar/toolbar.styles.ts"
39910
39925
  }
39911
39926
  }
39912
39927
  ]
39913
39928
  },
39914
39929
  {
39915
39930
  "kind": "javascript-module",
39916
- "path": "src/toast/toast.template.ts",
39931
+ "path": "src/toolbar/toolbar.template.ts",
39917
39932
  "declarations": [
39918
39933
  {
39919
- "kind": "variable",
39920
- "name": "foundationToastTemplate",
39921
- "type": {
39922
- "text": "ViewTemplate<Toast>"
39934
+ "kind": "function",
39935
+ "name": "foundationToolbarTemplate",
39936
+ "return": {
39937
+ "type": {
39938
+ "text": "ViewTemplate<Toolbar>"
39939
+ }
39923
39940
  },
39924
- "default": "html`\n <div role=\"alert\" aria-live=\"polite\" class=\"toast ${(x) => x.deleteAnimation}\" ${ref('toast')}>\n <div class=\"content-wrapper\">\n <div part=\"top\" class=\"top\">\n <slot name=\"top\"></slot>\n <div class=\"close-icon\" @click=${(x) => x.close()}>${closeIcon()}</div>\n </div>\n <div part=\"content\" class=\"content\">\n <slot name=\"content\"></slot>\n </div>\n <div part=\"date\" class=\"date\">\n <slot name=\"date\"></slot>\n </div>\n <div part=\"bottom\" class=\"bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </div>\n`"
39941
+ "parameters": [
39942
+ {
39943
+ "name": "context",
39944
+ "type": {
39945
+ "text": "ElementDefinitionContext"
39946
+ }
39947
+ },
39948
+ {
39949
+ "name": "definition",
39950
+ "type": {
39951
+ "text": "FoundationElementDefinition"
39952
+ }
39953
+ }
39954
+ ]
39925
39955
  }
39926
39956
  ],
39927
39957
  "exports": [
39928
39958
  {
39929
39959
  "kind": "js",
39930
- "name": "foundationToastTemplate",
39960
+ "name": "foundationToolbarTemplate",
39931
39961
  "declaration": {
39932
- "name": "foundationToastTemplate",
39933
- "module": "src/toast/toast.template.ts"
39962
+ "name": "foundationToolbarTemplate",
39963
+ "module": "src/toolbar/toolbar.template.ts"
39934
39964
  }
39935
39965
  }
39936
39966
  ]
39937
39967
  },
39938
39968
  {
39939
39969
  "kind": "javascript-module",
39940
- "path": "src/toast/toast.ts",
39970
+ "path": "src/toolbar/toolbar.ts",
39941
39971
  "declarations": [
39942
- {
39943
- "kind": "variable",
39944
- "name": "foundationToastShadowOptions",
39945
- "type": {
39946
- "text": "ShadowRootInit"
39947
- },
39948
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
39949
- },
39950
- {
39951
- "kind": "variable",
39952
- "name": "defaultToastConfig",
39953
- "type": {
39954
- "text": "object"
39955
- },
39956
- "default": "{}"
39957
- },
39958
39972
  {
39959
39973
  "kind": "class",
39960
39974
  "description": "",
39961
- "name": "Toast",
39962
- "members": [
39975
+ "name": "Toolbar",
39976
+ "superclass": {
39977
+ "name": "FASTToolbar",
39978
+ "package": "@microsoft/fast-components"
39979
+ },
39980
+ "tagName": "%%prefix%%-toolbar",
39981
+ "customElement": true,
39982
+ "attributes": [
39963
39983
  {
39964
- "kind": "field",
39965
- "name": "toast",
39984
+ "name": "orientation",
39966
39985
  "type": {
39967
- "text": "HTMLElement"
39986
+ "text": "Orientation"
39968
39987
  },
39969
- "privacy": "public"
39988
+ "description": "The orientation of the toolbar.",
39989
+ "fieldName": "orientation",
39990
+ "inheritedFrom": {
39991
+ "name": "Toolbar",
39992
+ "module": "src/toolbar/toolbar.ts"
39993
+ }
39994
+ }
39995
+ ],
39996
+ "members": [
39997
+ {
39998
+ "kind": "field",
39999
+ "name": "activeIndex",
40000
+ "inheritedFrom": {
40001
+ "name": "Toolbar",
40002
+ "module": "src/toolbar/toolbar.ts"
40003
+ }
39970
40004
  },
39971
40005
  {
39972
40006
  "kind": "field",
39973
- "name": "deleteAnimation",
40007
+ "name": "orientation",
39974
40008
  "type": {
39975
- "text": "string"
40009
+ "text": "Orientation"
39976
40010
  },
39977
- "default": "''"
40011
+ "privacy": "public",
40012
+ "description": "The orientation of the toolbar.",
40013
+ "inheritedFrom": {
40014
+ "name": "Toolbar",
40015
+ "module": "src/toolbar/toolbar.ts"
40016
+ }
39978
40017
  },
39979
40018
  {
39980
- "kind": "field",
39981
- "name": "closeTimeout",
39982
- "type": {
39983
- "text": "number"
40019
+ "kind": "method",
40020
+ "name": "slottedItemsChanged",
40021
+ "privacy": "protected",
40022
+ "return": {
40023
+ "type": {
40024
+ "text": "void"
40025
+ }
39984
40026
  },
39985
- "default": "10000"
40027
+ "inheritedFrom": {
40028
+ "name": "Toolbar",
40029
+ "module": "src/toolbar/toolbar.ts"
40030
+ }
39986
40031
  },
39987
40032
  {
39988
40033
  "kind": "field",
39989
- "name": "autoClose",
40034
+ "name": "childItems",
39990
40035
  "type": {
39991
- "text": "boolean"
40036
+ "text": "Element[]"
39992
40037
  },
39993
- "default": "false"
40038
+ "privacy": "public",
40039
+ "inheritedFrom": {
40040
+ "name": "Toolbar",
40041
+ "module": "src/toolbar/toolbar.ts"
40042
+ }
39994
40043
  },
39995
40044
  {
39996
40045
  "kind": "method",
39997
- "name": "close",
39998
- "privacy": "public",
39999
- "description": "Remove the toast from display."
40046
+ "name": "childItemsChanged",
40047
+ "privacy": "protected",
40048
+ "return": {
40049
+ "type": {
40050
+ "text": "void"
40051
+ }
40052
+ },
40053
+ "parameters": [
40054
+ {
40055
+ "name": "prev",
40056
+ "type": {
40057
+ "text": "undefined | Element[]"
40058
+ }
40059
+ },
40060
+ {
40061
+ "name": "next",
40062
+ "type": {
40063
+ "text": "Element[]"
40064
+ }
40065
+ }
40066
+ ],
40067
+ "inheritedFrom": {
40068
+ "name": "Toolbar",
40069
+ "module": "src/toolbar/toolbar.ts"
40070
+ }
40000
40071
  },
40001
40072
  {
40002
40073
  "kind": "field",
@@ -40109,77 +40180,69 @@
40109
40180
  "module": "src/foundation-element/foundation-element.ts"
40110
40181
  }
40111
40182
  }
40112
- ],
40113
- "attributes": [
40114
- {
40115
- "name": "close-timeout",
40116
- "type": {
40117
- "text": "number"
40118
- },
40119
- "default": "10000",
40120
- "fieldName": "closeTimeout"
40121
- },
40122
- {
40123
- "name": "auto-close",
40124
- "type": {
40125
- "text": "boolean"
40126
- },
40127
- "default": "false",
40128
- "fieldName": "autoClose"
40129
- }
40130
- ],
40131
- "superclass": {
40132
- "name": "FoundationElement",
40133
- "package": "@microsoft/fast-foundation"
40183
+ ]
40184
+ },
40185
+ {
40186
+ "kind": "variable",
40187
+ "name": "foundationToolbarShadowOptions",
40188
+ "type": {
40189
+ "text": "ShadowRootInit"
40134
40190
  },
40135
- "tagName": "%%prefix%%-toast",
40136
- "customElement": true
40191
+ "default": "undefined"
40137
40192
  },
40138
40193
  {
40139
40194
  "kind": "variable",
40140
- "name": "foundationToast",
40141
- "description": "The Foundation Toast",
40195
+ "name": "defaultToolbarConfig",
40196
+ "type": {
40197
+ "text": "object"
40198
+ },
40199
+ "default": "{}"
40200
+ },
40201
+ {
40202
+ "kind": "variable",
40203
+ "name": "foundationToolbar",
40204
+ "description": "The Foundation Toolbar",
40142
40205
  "privacy": "public"
40143
40206
  }
40144
40207
  ],
40145
40208
  "exports": [
40146
40209
  {
40147
40210
  "kind": "js",
40148
- "name": "foundationToastShadowOptions",
40211
+ "name": "Toolbar",
40149
40212
  "declaration": {
40150
- "name": "foundationToastShadowOptions",
40151
- "module": "src/toast/toast.ts"
40213
+ "name": "Toolbar",
40214
+ "module": "src/toolbar/toolbar.ts"
40152
40215
  }
40153
40216
  },
40154
40217
  {
40155
40218
  "kind": "js",
40156
- "name": "defaultToastConfig",
40219
+ "name": "foundationToolbarShadowOptions",
40157
40220
  "declaration": {
40158
- "name": "defaultToastConfig",
40159
- "module": "src/toast/toast.ts"
40221
+ "name": "foundationToolbarShadowOptions",
40222
+ "module": "src/toolbar/toolbar.ts"
40160
40223
  }
40161
40224
  },
40162
40225
  {
40163
40226
  "kind": "js",
40164
- "name": "Toast",
40227
+ "name": "defaultToolbarConfig",
40165
40228
  "declaration": {
40166
- "name": "Toast",
40167
- "module": "src/toast/toast.ts"
40229
+ "name": "defaultToolbarConfig",
40230
+ "module": "src/toolbar/toolbar.ts"
40168
40231
  }
40169
40232
  },
40170
40233
  {
40171
40234
  "kind": "js",
40172
- "name": "foundationToast",
40235
+ "name": "foundationToolbar",
40173
40236
  "declaration": {
40174
- "name": "foundationToast",
40175
- "module": "src/toast/toast.ts"
40237
+ "name": "foundationToolbar",
40238
+ "module": "src/toolbar/toolbar.ts"
40176
40239
  }
40177
40240
  }
40178
40241
  ]
40179
40242
  },
40180
40243
  {
40181
40244
  "kind": "javascript-module",
40182
- "path": "src/toolbar/index.ts",
40245
+ "path": "src/toast/index.ts",
40183
40246
  "declarations": [],
40184
40247
  "exports": [
40185
40248
  {
@@ -40187,7 +40250,7 @@
40187
40250
  "name": "*",
40188
40251
  "declaration": {
40189
40252
  "name": "*",
40190
- "package": "./toolbar.template"
40253
+ "package": "./toast.styles"
40191
40254
  }
40192
40255
  },
40193
40256
  {
@@ -40195,7 +40258,7 @@
40195
40258
  "name": "*",
40196
40259
  "declaration": {
40197
40260
  "name": "*",
40198
- "package": "./toolbar.styles"
40261
+ "package": "./toast.template"
40199
40262
  }
40200
40263
  },
40201
40264
  {
@@ -40203,192 +40266,121 @@
40203
40266
  "name": "*",
40204
40267
  "declaration": {
40205
40268
  "name": "*",
40206
- "package": "./toolbar"
40269
+ "package": "./toast"
40207
40270
  }
40208
40271
  }
40209
40272
  ]
40210
40273
  },
40211
40274
  {
40212
40275
  "kind": "javascript-module",
40213
- "path": "src/toolbar/toolbar.styles.ts",
40276
+ "path": "src/toast/toast.styles.ts",
40214
40277
  "declarations": [
40215
40278
  {
40216
- "kind": "function",
40217
- "name": "foundationToolbarStyles",
40218
- "return": {
40219
- "type": {
40220
- "text": "ElementStyles"
40221
- }
40279
+ "kind": "variable",
40280
+ "name": "foundationToastStyles",
40281
+ "type": {
40282
+ "text": "ElementStyles"
40222
40283
  },
40223
- "parameters": [
40224
- {
40225
- "name": "context",
40226
- "type": {
40227
- "text": "ElementDefinitionContext"
40228
- }
40229
- },
40230
- {
40231
- "name": "definition",
40232
- "type": {
40233
- "text": "FoundationElementDefinition"
40234
- }
40235
- }
40236
- ]
40284
+ "default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .close-icon svg {\n cursor: pointer;\n }\n`"
40237
40285
  }
40238
40286
  ],
40239
40287
  "exports": [
40240
40288
  {
40241
40289
  "kind": "js",
40242
- "name": "foundationToolbarStyles",
40290
+ "name": "foundationToastStyles",
40243
40291
  "declaration": {
40244
- "name": "foundationToolbarStyles",
40245
- "module": "src/toolbar/toolbar.styles.ts"
40292
+ "name": "foundationToastStyles",
40293
+ "module": "src/toast/toast.styles.ts"
40246
40294
  }
40247
40295
  }
40248
40296
  ]
40249
40297
  },
40250
40298
  {
40251
40299
  "kind": "javascript-module",
40252
- "path": "src/toolbar/toolbar.template.ts",
40300
+ "path": "src/toast/toast.template.ts",
40253
40301
  "declarations": [
40254
40302
  {
40255
- "kind": "function",
40256
- "name": "foundationToolbarTemplate",
40257
- "return": {
40258
- "type": {
40259
- "text": "ViewTemplate<Toolbar>"
40260
- }
40303
+ "kind": "variable",
40304
+ "name": "foundationToastTemplate",
40305
+ "type": {
40306
+ "text": "ViewTemplate<Toast>"
40261
40307
  },
40262
- "parameters": [
40263
- {
40264
- "name": "context",
40265
- "type": {
40266
- "text": "ElementDefinitionContext"
40267
- }
40268
- },
40269
- {
40270
- "name": "definition",
40271
- "type": {
40272
- "text": "FoundationElementDefinition"
40273
- }
40274
- }
40275
- ]
40308
+ "default": "html`\n <div role=\"alert\" aria-live=\"polite\" class=\"toast ${(x) => x.deleteAnimation}\" ${ref('toast')}>\n <div class=\"content-wrapper\">\n <div part=\"top\" class=\"top\">\n <slot name=\"top\"></slot>\n <div class=\"close-icon\" @click=${(x) => x.close()}>${closeIcon()}</div>\n </div>\n <div part=\"content\" class=\"content\">\n <slot name=\"content\"></slot>\n </div>\n <div part=\"date\" class=\"date\">\n <slot name=\"date\"></slot>\n </div>\n <div part=\"bottom\" class=\"bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </div>\n`"
40276
40309
  }
40277
40310
  ],
40278
40311
  "exports": [
40279
40312
  {
40280
40313
  "kind": "js",
40281
- "name": "foundationToolbarTemplate",
40314
+ "name": "foundationToastTemplate",
40282
40315
  "declaration": {
40283
- "name": "foundationToolbarTemplate",
40284
- "module": "src/toolbar/toolbar.template.ts"
40316
+ "name": "foundationToastTemplate",
40317
+ "module": "src/toast/toast.template.ts"
40285
40318
  }
40286
40319
  }
40287
40320
  ]
40288
40321
  },
40289
40322
  {
40290
40323
  "kind": "javascript-module",
40291
- "path": "src/toolbar/toolbar.ts",
40324
+ "path": "src/toast/toast.ts",
40292
40325
  "declarations": [
40326
+ {
40327
+ "kind": "variable",
40328
+ "name": "foundationToastShadowOptions",
40329
+ "type": {
40330
+ "text": "ShadowRootInit"
40331
+ },
40332
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
40333
+ },
40334
+ {
40335
+ "kind": "variable",
40336
+ "name": "defaultToastConfig",
40337
+ "type": {
40338
+ "text": "object"
40339
+ },
40340
+ "default": "{}"
40341
+ },
40293
40342
  {
40294
40343
  "kind": "class",
40295
40344
  "description": "",
40296
- "name": "Toolbar",
40297
- "superclass": {
40298
- "name": "FASTToolbar",
40299
- "package": "@microsoft/fast-components"
40300
- },
40301
- "tagName": "%%prefix%%-toolbar",
40302
- "customElement": true,
40303
- "attributes": [
40304
- {
40305
- "name": "orientation",
40306
- "type": {
40307
- "text": "Orientation"
40308
- },
40309
- "description": "The orientation of the toolbar.",
40310
- "fieldName": "orientation",
40311
- "inheritedFrom": {
40312
- "name": "Toolbar",
40313
- "module": "src/toolbar/toolbar.ts"
40314
- }
40315
- }
40316
- ],
40345
+ "name": "Toast",
40317
40346
  "members": [
40318
40347
  {
40319
40348
  "kind": "field",
40320
- "name": "activeIndex",
40321
- "inheritedFrom": {
40322
- "name": "Toolbar",
40323
- "module": "src/toolbar/toolbar.ts"
40324
- }
40349
+ "name": "toast",
40350
+ "type": {
40351
+ "text": "HTMLElement"
40352
+ },
40353
+ "privacy": "public"
40325
40354
  },
40326
40355
  {
40327
40356
  "kind": "field",
40328
- "name": "orientation",
40357
+ "name": "deleteAnimation",
40329
40358
  "type": {
40330
- "text": "Orientation"
40359
+ "text": "string"
40331
40360
  },
40332
- "privacy": "public",
40333
- "description": "The orientation of the toolbar.",
40334
- "inheritedFrom": {
40335
- "name": "Toolbar",
40336
- "module": "src/toolbar/toolbar.ts"
40337
- }
40361
+ "default": "''"
40338
40362
  },
40339
40363
  {
40340
- "kind": "method",
40341
- "name": "slottedItemsChanged",
40342
- "privacy": "protected",
40343
- "return": {
40344
- "type": {
40345
- "text": "void"
40346
- }
40364
+ "kind": "field",
40365
+ "name": "closeTimeout",
40366
+ "type": {
40367
+ "text": "number"
40347
40368
  },
40348
- "inheritedFrom": {
40349
- "name": "Toolbar",
40350
- "module": "src/toolbar/toolbar.ts"
40351
- }
40369
+ "default": "10000"
40352
40370
  },
40353
40371
  {
40354
40372
  "kind": "field",
40355
- "name": "childItems",
40373
+ "name": "autoClose",
40356
40374
  "type": {
40357
- "text": "Element[]"
40375
+ "text": "boolean"
40358
40376
  },
40359
- "privacy": "public",
40360
- "inheritedFrom": {
40361
- "name": "Toolbar",
40362
- "module": "src/toolbar/toolbar.ts"
40363
- }
40377
+ "default": "false"
40364
40378
  },
40365
40379
  {
40366
40380
  "kind": "method",
40367
- "name": "childItemsChanged",
40368
- "privacy": "protected",
40369
- "return": {
40370
- "type": {
40371
- "text": "void"
40372
- }
40373
- },
40374
- "parameters": [
40375
- {
40376
- "name": "prev",
40377
- "type": {
40378
- "text": "undefined | Element[]"
40379
- }
40380
- },
40381
- {
40382
- "name": "next",
40383
- "type": {
40384
- "text": "Element[]"
40385
- }
40386
- }
40387
- ],
40388
- "inheritedFrom": {
40389
- "name": "Toolbar",
40390
- "module": "src/toolbar/toolbar.ts"
40391
- }
40381
+ "name": "close",
40382
+ "privacy": "public",
40383
+ "description": "Remove the toast from display."
40392
40384
  },
40393
40385
  {
40394
40386
  "kind": "field",
@@ -40501,62 +40493,70 @@
40501
40493
  "module": "src/foundation-element/foundation-element.ts"
40502
40494
  }
40503
40495
  }
40504
- ]
40505
- },
40506
- {
40507
- "kind": "variable",
40508
- "name": "foundationToolbarShadowOptions",
40509
- "type": {
40510
- "text": "ShadowRootInit"
40511
- },
40512
- "default": "undefined"
40513
- },
40514
- {
40515
- "kind": "variable",
40516
- "name": "defaultToolbarConfig",
40517
- "type": {
40518
- "text": "object"
40496
+ ],
40497
+ "attributes": [
40498
+ {
40499
+ "name": "close-timeout",
40500
+ "type": {
40501
+ "text": "number"
40502
+ },
40503
+ "default": "10000",
40504
+ "fieldName": "closeTimeout"
40505
+ },
40506
+ {
40507
+ "name": "auto-close",
40508
+ "type": {
40509
+ "text": "boolean"
40510
+ },
40511
+ "default": "false",
40512
+ "fieldName": "autoClose"
40513
+ }
40514
+ ],
40515
+ "superclass": {
40516
+ "name": "FoundationElement",
40517
+ "package": "@microsoft/fast-foundation"
40519
40518
  },
40520
- "default": "{}"
40519
+ "tagName": "%%prefix%%-toast",
40520
+ "customElement": true
40521
40521
  },
40522
40522
  {
40523
40523
  "kind": "variable",
40524
- "name": "foundationToolbar",
40525
- "description": "The Foundation Toolbar",
40524
+ "name": "foundationToast",
40525
+ "description": "The Foundation Toast",
40526
40526
  "privacy": "public"
40527
40527
  }
40528
40528
  ],
40529
40529
  "exports": [
40530
40530
  {
40531
40531
  "kind": "js",
40532
- "name": "Toolbar",
40532
+ "name": "foundationToastShadowOptions",
40533
40533
  "declaration": {
40534
- "name": "Toolbar",
40535
- "module": "src/toolbar/toolbar.ts"
40534
+ "name": "foundationToastShadowOptions",
40535
+ "module": "src/toast/toast.ts"
40536
40536
  }
40537
40537
  },
40538
40538
  {
40539
40539
  "kind": "js",
40540
- "name": "foundationToolbarShadowOptions",
40540
+ "name": "defaultToastConfig",
40541
40541
  "declaration": {
40542
- "name": "foundationToolbarShadowOptions",
40543
- "module": "src/toolbar/toolbar.ts"
40542
+ "name": "defaultToastConfig",
40543
+ "module": "src/toast/toast.ts"
40544
40544
  }
40545
40545
  },
40546
40546
  {
40547
40547
  "kind": "js",
40548
- "name": "defaultToolbarConfig",
40548
+ "name": "Toast",
40549
40549
  "declaration": {
40550
- "name": "defaultToolbarConfig",
40551
- "module": "src/toolbar/toolbar.ts"
40550
+ "name": "Toast",
40551
+ "module": "src/toast/toast.ts"
40552
40552
  }
40553
40553
  },
40554
40554
  {
40555
40555
  "kind": "js",
40556
- "name": "foundationToolbar",
40556
+ "name": "foundationToast",
40557
40557
  "declaration": {
40558
- "name": "foundationToolbar",
40559
- "module": "src/toolbar/toolbar.ts"
40558
+ "name": "foundationToast",
40559
+ "module": "src/toast/toast.ts"
40560
40560
  }
40561
40561
  }
40562
40562
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"options-datasource.d.ts","sourceRoot":"","sources":["../../../src/options-datasource/options-datasource.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAqB,MAAM,UAAU,CAAC;AAG7D,qBAGa,iBAAkB,SAAQ,cAAc;IACf,UAAU,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAyB;IAC1B,kBAAkB,UAAS;IAC7E,cAAc,MAAC;IAEf,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC;IAClD,2BAA2B,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAQ9C,8BAA8B,EAAE,OAAO,CAAS;IAEhD,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAQ;IAElC,SAAS,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAEnD,OAAO,CAAC,cAAc,CAAiB;IAEjC,iBAAiB;IAkBvB,oBAAoB;IAQpB,OAAO,CAAC,sBAAsB,CAI5B;IAEF,mBAAmB,mBAQjB;IAEF,SAAS;IAcH,sBAAsB;IAY5B,SAAS,IAAI,IAAI;IAUjB,OAAO,CAAC,aAAa;IAYrB,iBAAiB,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE;IA8CtC,eAAe;IAcf,aAAa;IAMb,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,IAAI;IAI9C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;IAI7C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;CAG9C"}
1
+ {"version":3,"file":"options-datasource.d.ts","sourceRoot":"","sources":["../../../src/options-datasource/options-datasource.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAqB,MAAM,UAAU,CAAC;AAG7D,qBAGa,iBAAkB,SAAQ,cAAc;IACf,UAAU,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAyB;IAC1B,kBAAkB,UAAS;IAC7E,cAAc,MAAC;IAEf,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC;IAClD,2BAA2B,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAQ9C,8BAA8B,EAAE,OAAO,CAAS;IAEhD,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAQ;IAElC,SAAS,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAEnD,OAAO,CAAC,cAAc,CAAiB;IAEjC,iBAAiB;IAkBvB,oBAAoB;IAQpB,OAAO,CAAC,sBAAsB,CAI5B;IAEF,mBAAmB,mBAQjB;IAEF,SAAS;IAcH,sBAAsB;IAY5B,SAAS,IAAI,IAAI;IAUjB,OAAO,CAAC,aAAa;IAYrB,iBAAiB,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE;IA0DtC,eAAe;IAcf,aAAa;IAMb,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,IAAI;IAI9C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;IAI7C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;CAG9C"}
@@ -136,6 +136,16 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
136
136
  }
137
137
  }
138
138
  else {
139
+ if (this.allowCustomOptions &&
140
+ this.initialSelectedValue &&
141
+ (!this.initalSelectedValueInitialized ||
142
+ (this.select instanceof FASTComboBox && !this.select.async))) {
143
+ this.resetCombobox();
144
+ DOM.queueUpdate(() => {
145
+ this.select.value = String(this.initialSelectedValue);
146
+ });
147
+ this.initalSelectedValueInitialized = true;
148
+ }
139
149
  const option = document.createElement(this.optionElement);
140
150
  option.textContent = this.emptyDataLabel;
141
151
  option.value = '';
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.234.1",
4
+ "version": "14.234.2-FUI-2287.1",
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.234.1",
87
- "@genesislcap/genx": "14.234.1",
88
- "@genesislcap/rollup-builder": "14.234.1",
89
- "@genesislcap/ts-builder": "14.234.1",
90
- "@genesislcap/uvu-playwright-builder": "14.234.1",
91
- "@genesislcap/vite-builder": "14.234.1",
92
- "@genesislcap/webpack-builder": "14.234.1",
86
+ "@genesislcap/foundation-testing": "14.234.2-FUI-2287.1",
87
+ "@genesislcap/genx": "14.234.2-FUI-2287.1",
88
+ "@genesislcap/rollup-builder": "14.234.2-FUI-2287.1",
89
+ "@genesislcap/ts-builder": "14.234.2-FUI-2287.1",
90
+ "@genesislcap/uvu-playwright-builder": "14.234.2-FUI-2287.1",
91
+ "@genesislcap/vite-builder": "14.234.2-FUI-2287.1",
92
+ "@genesislcap/webpack-builder": "14.234.2-FUI-2287.1",
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.234.1",
104
- "@genesislcap/foundation-criteria": "14.234.1",
105
- "@genesislcap/foundation-errors": "14.234.1",
106
- "@genesislcap/foundation-logger": "14.234.1",
107
- "@genesislcap/foundation-notifications": "14.234.1",
108
- "@genesislcap/foundation-user": "14.234.1",
109
- "@genesislcap/foundation-utils": "14.234.1",
103
+ "@genesislcap/foundation-comms": "14.234.2-FUI-2287.1",
104
+ "@genesislcap/foundation-criteria": "14.234.2-FUI-2287.1",
105
+ "@genesislcap/foundation-errors": "14.234.2-FUI-2287.1",
106
+ "@genesislcap/foundation-logger": "14.234.2-FUI-2287.1",
107
+ "@genesislcap/foundation-notifications": "14.234.2-FUI-2287.1",
108
+ "@genesislcap/foundation-user": "14.234.2-FUI-2287.1",
109
+ "@genesislcap/foundation-utils": "14.234.2-FUI-2287.1",
110
110
  "@microsoft/fast-colors": "5.3.1",
111
111
  "@microsoft/fast-components": "2.30.6",
112
112
  "@microsoft/fast-element": "1.14.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "c3d0d51ddd1f3040ec3d9b75f9fdb016d25f6586"
131
+ "gitHead": "468fa88bf46320932163001b770cc2236dc7ba08"
132
132
  }