@genesislcap/foundation-zero 15.64.0 → 15.64.1-FUI-2629.6

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.
@@ -1888,6 +1888,18 @@
1888
1888
  "module": "src/actions-menu/actions-menu.ts"
1889
1889
  }
1890
1890
  },
1891
+ {
1892
+ "name": "icon-name",
1893
+ "type": {
1894
+ "text": "string"
1895
+ },
1896
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1897
+ "fieldName": "iconName",
1898
+ "inheritedFrom": {
1899
+ "name": "ActionsMenu",
1900
+ "module": "src/actions-menu/actions-menu.ts"
1901
+ }
1902
+ },
1891
1903
  {
1892
1904
  "name": "open",
1893
1905
  "type": {
@@ -1948,6 +1960,18 @@
1948
1960
  "module": "src/actions-menu/actions-menu.ts"
1949
1961
  }
1950
1962
  },
1963
+ {
1964
+ "kind": "field",
1965
+ "name": "actionsResolver",
1966
+ "type": {
1967
+ "text": "ActionMenuItemsResolver | undefined"
1968
+ },
1969
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`.",
1970
+ "inheritedFrom": {
1971
+ "name": "ActionsMenu",
1972
+ "module": "src/actions-menu/actions-menu.ts"
1973
+ }
1974
+ },
1951
1975
  {
1952
1976
  "kind": "field",
1953
1977
  "name": "isVertical",
@@ -2018,6 +2042,18 @@
2018
2042
  "module": "src/actions-menu/actions-menu.ts"
2019
2043
  }
2020
2044
  },
2045
+ {
2046
+ "kind": "field",
2047
+ "name": "iconName",
2048
+ "type": {
2049
+ "text": "string"
2050
+ },
2051
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2052
+ "inheritedFrom": {
2053
+ "name": "ActionsMenu",
2054
+ "module": "src/actions-menu/actions-menu.ts"
2055
+ }
2056
+ },
2021
2057
  {
2022
2058
  "kind": "field",
2023
2059
  "name": "open",
@@ -2098,6 +2134,32 @@
2098
2134
  "module": "src/actions-menu/actions-menu.ts"
2099
2135
  }
2100
2136
  },
2137
+ {
2138
+ "kind": "field",
2139
+ "name": "positionTracker",
2140
+ "type": {
2141
+ "text": "AnchoredPopoverPositionTracker | undefined"
2142
+ },
2143
+ "privacy": "private",
2144
+ "inheritedFrom": {
2145
+ "name": "ActionsMenu",
2146
+ "module": "src/actions-menu/actions-menu.ts"
2147
+ }
2148
+ },
2149
+ {
2150
+ "kind": "field",
2151
+ "name": "focusMenuOnOpen",
2152
+ "type": {
2153
+ "text": "boolean"
2154
+ },
2155
+ "privacy": "private",
2156
+ "default": "false",
2157
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce.",
2158
+ "inheritedFrom": {
2159
+ "name": "ActionsMenu",
2160
+ "module": "src/actions-menu/actions-menu.ts"
2161
+ }
2162
+ },
2101
2163
  {
2102
2164
  "kind": "method",
2103
2165
  "name": "updateMenuPosition",
@@ -2107,6 +2169,24 @@
2107
2169
  "module": "src/actions-menu/actions-menu.ts"
2108
2170
  }
2109
2171
  },
2172
+ {
2173
+ "kind": "method",
2174
+ "name": "startTrackingPosition",
2175
+ "privacy": "private",
2176
+ "inheritedFrom": {
2177
+ "name": "ActionsMenu",
2178
+ "module": "src/actions-menu/actions-menu.ts"
2179
+ }
2180
+ },
2181
+ {
2182
+ "kind": "method",
2183
+ "name": "stopTrackingPosition",
2184
+ "privacy": "private",
2185
+ "inheritedFrom": {
2186
+ "name": "ActionsMenu",
2187
+ "module": "src/actions-menu/actions-menu.ts"
2188
+ }
2189
+ },
2110
2190
  {
2111
2191
  "kind": "method",
2112
2192
  "name": "definitionChanged",
@@ -2147,6 +2227,45 @@
2147
2227
  "module": "src/actions-menu/actions-menu.ts"
2148
2228
  }
2149
2229
  },
2230
+ {
2231
+ "kind": "method",
2232
+ "name": "onPopoverToggle",
2233
+ "parameters": [
2234
+ {
2235
+ "name": "event",
2236
+ "type": {
2237
+ "text": "Event"
2238
+ }
2239
+ }
2240
+ ],
2241
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`.",
2242
+ "inheritedFrom": {
2243
+ "name": "ActionsMenu",
2244
+ "module": "src/actions-menu/actions-menu.ts"
2245
+ }
2246
+ },
2247
+ {
2248
+ "kind": "method",
2249
+ "name": "onIconOpenerKeydown",
2250
+ "return": {
2251
+ "type": {
2252
+ "text": "boolean"
2253
+ }
2254
+ },
2255
+ "parameters": [
2256
+ {
2257
+ "name": "event",
2258
+ "type": {
2259
+ "text": "KeyboardEvent"
2260
+ }
2261
+ }
2262
+ ],
2263
+ "description": "Opens the icon-only opener from the keyboard, as a native button would.",
2264
+ "inheritedFrom": {
2265
+ "name": "ActionsMenu",
2266
+ "module": "src/actions-menu/actions-menu.ts"
2267
+ }
2268
+ },
2150
2269
  {
2151
2270
  "kind": "method",
2152
2271
  "name": "onActionMenuItemClick",
@@ -2163,6 +2282,54 @@
2163
2282
  "module": "src/actions-menu/actions-menu.ts"
2164
2283
  }
2165
2284
  },
2285
+ {
2286
+ "kind": "method",
2287
+ "name": "isActionDisabled",
2288
+ "return": {
2289
+ "type": {
2290
+ "text": "boolean"
2291
+ }
2292
+ },
2293
+ "parameters": [
2294
+ {
2295
+ "name": "action",
2296
+ "type": {
2297
+ "text": "ActionMenuItem"
2298
+ }
2299
+ }
2300
+ ],
2301
+ "description": "Resolves an action's `isDisabled` for the current row.",
2302
+ "inheritedFrom": {
2303
+ "name": "ActionsMenu",
2304
+ "module": "src/actions-menu/actions-menu.ts"
2305
+ }
2306
+ },
2307
+ {
2308
+ "kind": "field",
2309
+ "name": "resolvedActions",
2310
+ "type": {
2311
+ "text": "ActionMenuItem[]"
2312
+ },
2313
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2314
+ "readonly": true,
2315
+ "inheritedFrom": {
2316
+ "name": "ActionsMenu",
2317
+ "module": "src/actions-menu/actions-menu.ts"
2318
+ }
2319
+ },
2320
+ {
2321
+ "kind": "field",
2322
+ "name": "hasVisibleActions",
2323
+ "type": {
2324
+ "text": "boolean"
2325
+ },
2326
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2327
+ "readonly": true,
2328
+ "inheritedFrom": {
2329
+ "name": "ActionsMenu",
2330
+ "module": "src/actions-menu/actions-menu.ts"
2331
+ }
2332
+ },
2166
2333
  {
2167
2334
  "kind": "field",
2168
2335
  "name": "allActions",
@@ -5841,103 +6008,180 @@
5841
6008
  },
5842
6009
  {
5843
6010
  "kind": "javascript-module",
5844
- "path": "src/banner/banner.styles.ts",
6011
+ "path": "src/badge/badge.styles.ts",
5845
6012
  "declarations": [
5846
6013
  {
5847
- "kind": "variable",
5848
- "name": "zeroBannerStyles",
5849
- "default": "css`\n ${foundationBannerStyles}\n .banner {\n background-color: ${neutralLayer1};\n }\n`"
6014
+ "kind": "function",
6015
+ "name": "zeroBadgeStyles",
6016
+ "return": {
6017
+ "type": {
6018
+ "text": "ElementStyles"
6019
+ }
6020
+ },
6021
+ "parameters": [
6022
+ {
6023
+ "name": "context",
6024
+ "type": {
6025
+ "text": "ElementDefinitionContext"
6026
+ }
6027
+ },
6028
+ {
6029
+ "name": "definition",
6030
+ "type": {
6031
+ "text": "FoundationElementDefinition"
6032
+ }
6033
+ }
6034
+ ]
5850
6035
  }
5851
6036
  ],
5852
6037
  "exports": [
5853
6038
  {
5854
6039
  "kind": "js",
5855
- "name": "zeroBannerStyles",
6040
+ "name": "zeroBadgeStyles",
5856
6041
  "declaration": {
5857
- "name": "zeroBannerStyles",
5858
- "module": "src/banner/banner.styles.ts"
6042
+ "name": "zeroBadgeStyles",
6043
+ "module": "src/badge/badge.styles.ts"
5859
6044
  }
5860
6045
  }
5861
6046
  ]
5862
6047
  },
5863
6048
  {
5864
6049
  "kind": "javascript-module",
5865
- "path": "src/banner/banner.ts",
6050
+ "path": "src/badge/badge.template.ts",
5866
6051
  "declarations": [
5867
6052
  {
5868
- "kind": "variable",
5869
- "name": "zeroBannerShadowOptions",
5870
- "default": "foundationBannerShadowOptions"
5871
- },
6053
+ "kind": "function",
6054
+ "name": "zeroBadgeTemplate",
6055
+ "return": {
6056
+ "type": {
6057
+ "text": "ViewTemplate<Badge>"
6058
+ }
6059
+ },
6060
+ "parameters": [
6061
+ {
6062
+ "name": "context",
6063
+ "type": {
6064
+ "text": "ElementDefinitionContext"
6065
+ }
6066
+ },
6067
+ {
6068
+ "name": "definition",
6069
+ "type": {
6070
+ "text": "FoundationElementDefinition"
6071
+ }
6072
+ }
6073
+ ]
6074
+ }
6075
+ ],
6076
+ "exports": [
6077
+ {
6078
+ "kind": "js",
6079
+ "name": "zeroBadgeTemplate",
6080
+ "declaration": {
6081
+ "name": "zeroBadgeTemplate",
6082
+ "module": "src/badge/badge.template.ts"
6083
+ }
6084
+ }
6085
+ ]
6086
+ },
6087
+ {
6088
+ "kind": "javascript-module",
6089
+ "path": "src/badge/badge.ts",
6090
+ "declarations": [
5872
6091
  {
5873
6092
  "kind": "class",
5874
6093
  "description": "",
5875
- "name": "Banner",
6094
+ "name": "Badge",
5876
6095
  "superclass": {
5877
- "name": "FoundationBanner",
6096
+ "name": "FoundationBadge",
5878
6097
  "package": "@genesislcap/foundation-ui"
5879
6098
  },
5880
- "tagName": "%%prefix%%-banner",
6099
+ "tagName": "%%prefix%%-badge",
5881
6100
  "customElement": true,
5882
- "members": [
6101
+ "attributes": [
5883
6102
  {
5884
- "kind": "field",
5885
- "name": "banner",
6103
+ "name": "fill",
5886
6104
  "type": {
5887
- "text": "HTMLElement"
6105
+ "text": "string"
5888
6106
  },
5889
- "privacy": "public",
6107
+ "description": "Indicates the badge should have a filled style.",
6108
+ "fieldName": "fill",
5890
6109
  "inheritedFrom": {
5891
- "name": "Banner",
5892
- "module": "src/banner/banner.ts"
6110
+ "name": "Badge",
6111
+ "module": "src/badge/badge.ts"
5893
6112
  }
5894
6113
  },
5895
6114
  {
5896
- "kind": "field",
5897
- "name": "dismissAnimation",
6115
+ "name": "color",
5898
6116
  "type": {
5899
- "text": "'banner-delete' | ''"
6117
+ "text": "string"
5900
6118
  },
5901
- "default": "''",
6119
+ "description": "Indicates the badge should have a filled style.",
6120
+ "fieldName": "color",
5902
6121
  "inheritedFrom": {
5903
- "name": "Banner",
5904
- "module": "src/banner/banner.ts"
6122
+ "name": "Badge",
6123
+ "module": "src/badge/badge.ts"
5905
6124
  }
5906
6125
  },
5907
6126
  {
5908
- "kind": "field",
5909
- "name": "notification",
5910
6127
  "type": {
5911
- "text": "NotificationStructure"
6128
+ "text": "boolean"
5912
6129
  },
6130
+ "description": "Indicates the element should be circular",
6131
+ "fieldName": "circular",
5913
6132
  "inheritedFrom": {
5914
- "name": "Banner",
5915
- "module": "src/banner/banner.ts"
6133
+ "name": "Badge",
6134
+ "module": "src/badge/badge.ts"
6135
+ }
6136
+ }
6137
+ ],
6138
+ "members": [
6139
+ {
6140
+ "kind": "field",
6141
+ "name": "fill",
6142
+ "type": {
6143
+ "text": "string"
6144
+ },
6145
+ "privacy": "public",
6146
+ "description": "Indicates the badge should have a filled style.",
6147
+ "inheritedFrom": {
6148
+ "name": "Badge",
6149
+ "module": "src/badge/badge.ts"
5916
6150
  }
5917
6151
  },
5918
6152
  {
5919
- "kind": "method",
5920
- "name": "dismiss",
6153
+ "kind": "field",
6154
+ "name": "color",
6155
+ "type": {
6156
+ "text": "string"
6157
+ },
5921
6158
  "privacy": "public",
5922
- "return": {
5923
- "type": {
5924
- "text": "Promise<void>"
5925
- }
6159
+ "description": "Indicates the badge should have a filled style.",
6160
+ "inheritedFrom": {
6161
+ "name": "Badge",
6162
+ "module": "src/badge/badge.ts"
6163
+ }
6164
+ },
6165
+ {
6166
+ "kind": "field",
6167
+ "name": "circular",
6168
+ "type": {
6169
+ "text": "boolean"
5926
6170
  },
5927
- "description": "Dismiss the Banner from display.",
6171
+ "privacy": "public",
6172
+ "description": "Indicates the element should be circular",
5928
6173
  "inheritedFrom": {
5929
- "name": "Banner",
5930
- "module": "src/banner/banner.ts"
6174
+ "name": "Badge",
6175
+ "module": "src/badge/badge.ts"
5931
6176
  }
5932
6177
  },
5933
6178
  {
5934
- "kind": "method",
5935
- "name": "dismissNotification",
6179
+ "kind": "field",
6180
+ "name": "generateBadgeStyle",
5936
6181
  "privacy": "public",
5937
- "description": "Dismiss the Banner (NotificationStructure) from display.",
5938
6182
  "inheritedFrom": {
5939
- "name": "Banner",
5940
- "module": "src/banner/banner.ts"
6183
+ "name": "Badge",
6184
+ "module": "src/badge/badge.ts"
5941
6185
  }
5942
6186
  },
5943
6187
  {
@@ -5949,8 +6193,8 @@
5949
6193
  "privacy": "private",
5950
6194
  "default": "void 0",
5951
6195
  "inheritedFrom": {
5952
- "name": "FoundationElement",
5953
- "module": "src/foundation-element/foundation-element.ts"
6196
+ "name": "Badge",
6197
+ "module": "src/badge/badge.ts"
5954
6198
  }
5955
6199
  },
5956
6200
  {
@@ -5962,8 +6206,8 @@
5962
6206
  "privacy": "public",
5963
6207
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5964
6208
  "inheritedFrom": {
5965
- "name": "FoundationElement",
5966
- "module": "src/foundation-element/foundation-element.ts"
6209
+ "name": "Badge",
6210
+ "module": "src/badge/badge.ts"
5967
6211
  }
5968
6212
  },
5969
6213
  {
@@ -5975,8 +6219,8 @@
5975
6219
  "privacy": "public",
5976
6220
  "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.",
5977
6221
  "inheritedFrom": {
5978
- "name": "FoundationElement",
5979
- "module": "src/foundation-element/foundation-element.ts"
6222
+ "name": "Badge",
6223
+ "module": "src/badge/badge.ts"
5980
6224
  }
5981
6225
  },
5982
6226
  {
@@ -5989,8 +6233,8 @@
5989
6233
  }
5990
6234
  },
5991
6235
  "inheritedFrom": {
5992
- "name": "FoundationElement",
5993
- "module": "src/foundation-element/foundation-element.ts"
6236
+ "name": "Badge",
6237
+ "module": "src/badge/badge.ts"
5994
6238
  }
5995
6239
  },
5996
6240
  {
@@ -6002,8 +6246,8 @@
6002
6246
  "privacy": "public",
6003
6247
  "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.",
6004
6248
  "inheritedFrom": {
6005
- "name": "FoundationElement",
6006
- "module": "src/foundation-element/foundation-element.ts"
6249
+ "name": "Badge",
6250
+ "module": "src/badge/badge.ts"
6007
6251
  }
6008
6252
  },
6009
6253
  {
@@ -6016,8 +6260,8 @@
6016
6260
  }
6017
6261
  },
6018
6262
  "inheritedFrom": {
6019
- "name": "FoundationElement",
6020
- "module": "src/foundation-element/foundation-element.ts"
6263
+ "name": "Badge",
6264
+ "module": "src/badge/badge.ts"
6021
6265
  }
6022
6266
  },
6023
6267
  {
@@ -6047,57 +6291,47 @@
6047
6291
  ],
6048
6292
  "description": "Defines an element registry function with a set of element definition defaults.",
6049
6293
  "inheritedFrom": {
6050
- "name": "FoundationElement",
6051
- "module": "src/foundation-element/foundation-element.ts"
6294
+ "name": "Badge",
6295
+ "module": "src/badge/badge.ts"
6052
6296
  }
6053
6297
  }
6054
6298
  ]
6055
6299
  },
6056
6300
  {
6057
6301
  "kind": "variable",
6058
- "name": "zeroBanner",
6059
- "description": "The Zero Banner",
6060
- "privacy": "public"
6302
+ "name": "zeroBadge"
6061
6303
  }
6062
6304
  ],
6063
6305
  "exports": [
6064
6306
  {
6065
6307
  "kind": "js",
6066
- "name": "zeroBannerShadowOptions",
6067
- "declaration": {
6068
- "name": "zeroBannerShadowOptions",
6069
- "module": "src/banner/banner.ts"
6070
- }
6071
- },
6072
- {
6073
- "kind": "js",
6074
- "name": "Banner",
6308
+ "name": "Badge",
6075
6309
  "declaration": {
6076
- "name": "Banner",
6077
- "module": "src/banner/banner.ts"
6310
+ "name": "Badge",
6311
+ "module": "src/badge/badge.ts"
6078
6312
  }
6079
6313
  },
6080
6314
  {
6081
6315
  "kind": "js",
6082
- "name": "zeroBanner",
6316
+ "name": "zeroBadge",
6083
6317
  "declaration": {
6084
- "name": "zeroBanner",
6085
- "module": "src/banner/banner.ts"
6318
+ "name": "zeroBadge",
6319
+ "module": "src/badge/badge.ts"
6086
6320
  }
6087
6321
  }
6088
6322
  ]
6089
6323
  },
6090
6324
  {
6091
6325
  "kind": "javascript-module",
6092
- "path": "src/banner/index.ts",
6326
+ "path": "src/badge/index.ts",
6093
6327
  "declarations": [],
6094
6328
  "exports": [
6095
6329
  {
6096
6330
  "kind": "js",
6097
- "name": "zeroBannerTemplate",
6331
+ "name": "*",
6098
6332
  "declaration": {
6099
- "name": "foundationBannerTemplate",
6100
- "package": "@genesislcap/foundation-ui"
6333
+ "name": "*",
6334
+ "package": "./badge"
6101
6335
  }
6102
6336
  },
6103
6337
  {
@@ -6105,7 +6339,7 @@
6105
6339
  "name": "*",
6106
6340
  "declaration": {
6107
6341
  "name": "*",
6108
- "package": "./banner"
6342
+ "package": "./badge.styles"
6109
6343
  }
6110
6344
  },
6111
6345
  {
@@ -6113,187 +6347,110 @@
6113
6347
  "name": "*",
6114
6348
  "declaration": {
6115
6349
  "name": "*",
6116
- "package": "./banner.styles"
6350
+ "package": "./badge.template"
6117
6351
  }
6118
6352
  }
6119
6353
  ]
6120
6354
  },
6121
6355
  {
6122
6356
  "kind": "javascript-module",
6123
- "path": "src/badge/badge.styles.ts",
6357
+ "path": "src/banner/banner.styles.ts",
6124
6358
  "declarations": [
6125
6359
  {
6126
- "kind": "function",
6127
- "name": "zeroBadgeStyles",
6128
- "return": {
6129
- "type": {
6130
- "text": "ElementStyles"
6131
- }
6132
- },
6133
- "parameters": [
6134
- {
6135
- "name": "context",
6136
- "type": {
6137
- "text": "ElementDefinitionContext"
6138
- }
6139
- },
6140
- {
6141
- "name": "definition",
6142
- "type": {
6143
- "text": "FoundationElementDefinition"
6144
- }
6145
- }
6146
- ]
6360
+ "kind": "variable",
6361
+ "name": "zeroBannerStyles",
6362
+ "default": "css`\n ${foundationBannerStyles}\n .banner {\n background-color: ${neutralLayer1};\n }\n`"
6147
6363
  }
6148
6364
  ],
6149
6365
  "exports": [
6150
6366
  {
6151
6367
  "kind": "js",
6152
- "name": "zeroBadgeStyles",
6368
+ "name": "zeroBannerStyles",
6153
6369
  "declaration": {
6154
- "name": "zeroBadgeStyles",
6155
- "module": "src/badge/badge.styles.ts"
6370
+ "name": "zeroBannerStyles",
6371
+ "module": "src/banner/banner.styles.ts"
6156
6372
  }
6157
6373
  }
6158
6374
  ]
6159
6375
  },
6160
6376
  {
6161
6377
  "kind": "javascript-module",
6162
- "path": "src/badge/badge.template.ts",
6378
+ "path": "src/banner/banner.ts",
6163
6379
  "declarations": [
6164
6380
  {
6165
- "kind": "function",
6166
- "name": "zeroBadgeTemplate",
6167
- "return": {
6168
- "type": {
6169
- "text": "ViewTemplate<Badge>"
6170
- }
6171
- },
6172
- "parameters": [
6173
- {
6174
- "name": "context",
6175
- "type": {
6176
- "text": "ElementDefinitionContext"
6177
- }
6178
- },
6179
- {
6180
- "name": "definition",
6181
- "type": {
6182
- "text": "FoundationElementDefinition"
6183
- }
6184
- }
6185
- ]
6186
- }
6187
- ],
6188
- "exports": [
6189
- {
6190
- "kind": "js",
6191
- "name": "zeroBadgeTemplate",
6192
- "declaration": {
6193
- "name": "zeroBadgeTemplate",
6194
- "module": "src/badge/badge.template.ts"
6195
- }
6196
- }
6197
- ]
6198
- },
6199
- {
6200
- "kind": "javascript-module",
6201
- "path": "src/badge/badge.ts",
6202
- "declarations": [
6381
+ "kind": "variable",
6382
+ "name": "zeroBannerShadowOptions",
6383
+ "default": "foundationBannerShadowOptions"
6384
+ },
6203
6385
  {
6204
6386
  "kind": "class",
6205
6387
  "description": "",
6206
- "name": "Badge",
6388
+ "name": "Banner",
6207
6389
  "superclass": {
6208
- "name": "FoundationBadge",
6390
+ "name": "FoundationBanner",
6209
6391
  "package": "@genesislcap/foundation-ui"
6210
6392
  },
6211
- "tagName": "%%prefix%%-badge",
6393
+ "tagName": "%%prefix%%-banner",
6212
6394
  "customElement": true,
6213
- "attributes": [
6214
- {
6215
- "name": "fill",
6216
- "type": {
6217
- "text": "string"
6218
- },
6219
- "description": "Indicates the badge should have a filled style.",
6220
- "fieldName": "fill",
6221
- "inheritedFrom": {
6222
- "name": "Badge",
6223
- "module": "src/badge/badge.ts"
6224
- }
6225
- },
6395
+ "members": [
6226
6396
  {
6227
- "name": "color",
6397
+ "kind": "field",
6398
+ "name": "banner",
6228
6399
  "type": {
6229
- "text": "string"
6400
+ "text": "HTMLElement"
6230
6401
  },
6231
- "description": "Indicates the badge should have a filled style.",
6232
- "fieldName": "color",
6402
+ "privacy": "public",
6233
6403
  "inheritedFrom": {
6234
- "name": "Badge",
6235
- "module": "src/badge/badge.ts"
6404
+ "name": "Banner",
6405
+ "module": "src/banner/banner.ts"
6236
6406
  }
6237
6407
  },
6238
- {
6239
- "type": {
6240
- "text": "boolean"
6241
- },
6242
- "description": "Indicates the element should be circular",
6243
- "fieldName": "circular",
6244
- "inheritedFrom": {
6245
- "name": "Badge",
6246
- "module": "src/badge/badge.ts"
6247
- }
6248
- }
6249
- ],
6250
- "members": [
6251
6408
  {
6252
6409
  "kind": "field",
6253
- "name": "fill",
6410
+ "name": "dismissAnimation",
6254
6411
  "type": {
6255
- "text": "string"
6412
+ "text": "'banner-delete' | ''"
6256
6413
  },
6257
- "privacy": "public",
6258
- "description": "Indicates the badge should have a filled style.",
6414
+ "default": "''",
6259
6415
  "inheritedFrom": {
6260
- "name": "Badge",
6261
- "module": "src/badge/badge.ts"
6416
+ "name": "Banner",
6417
+ "module": "src/banner/banner.ts"
6262
6418
  }
6263
6419
  },
6264
6420
  {
6265
6421
  "kind": "field",
6266
- "name": "color",
6422
+ "name": "notification",
6267
6423
  "type": {
6268
- "text": "string"
6424
+ "text": "NotificationStructure"
6269
6425
  },
6270
- "privacy": "public",
6271
- "description": "Indicates the badge should have a filled style.",
6272
6426
  "inheritedFrom": {
6273
- "name": "Badge",
6274
- "module": "src/badge/badge.ts"
6427
+ "name": "Banner",
6428
+ "module": "src/banner/banner.ts"
6275
6429
  }
6276
6430
  },
6277
6431
  {
6278
- "kind": "field",
6279
- "name": "circular",
6280
- "type": {
6281
- "text": "boolean"
6282
- },
6432
+ "kind": "method",
6433
+ "name": "dismiss",
6283
6434
  "privacy": "public",
6284
- "description": "Indicates the element should be circular",
6435
+ "return": {
6436
+ "type": {
6437
+ "text": "Promise<void>"
6438
+ }
6439
+ },
6440
+ "description": "Dismiss the Banner from display.",
6285
6441
  "inheritedFrom": {
6286
- "name": "Badge",
6287
- "module": "src/badge/badge.ts"
6442
+ "name": "Banner",
6443
+ "module": "src/banner/banner.ts"
6288
6444
  }
6289
6445
  },
6290
6446
  {
6291
- "kind": "field",
6292
- "name": "generateBadgeStyle",
6447
+ "kind": "method",
6448
+ "name": "dismissNotification",
6293
6449
  "privacy": "public",
6450
+ "description": "Dismiss the Banner (NotificationStructure) from display.",
6294
6451
  "inheritedFrom": {
6295
- "name": "Badge",
6296
- "module": "src/badge/badge.ts"
6452
+ "name": "Banner",
6453
+ "module": "src/banner/banner.ts"
6297
6454
  }
6298
6455
  },
6299
6456
  {
@@ -6305,8 +6462,8 @@
6305
6462
  "privacy": "private",
6306
6463
  "default": "void 0",
6307
6464
  "inheritedFrom": {
6308
- "name": "Badge",
6309
- "module": "src/badge/badge.ts"
6465
+ "name": "FoundationElement",
6466
+ "module": "src/foundation-element/foundation-element.ts"
6310
6467
  }
6311
6468
  },
6312
6469
  {
@@ -6318,8 +6475,8 @@
6318
6475
  "privacy": "public",
6319
6476
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
6320
6477
  "inheritedFrom": {
6321
- "name": "Badge",
6322
- "module": "src/badge/badge.ts"
6478
+ "name": "FoundationElement",
6479
+ "module": "src/foundation-element/foundation-element.ts"
6323
6480
  }
6324
6481
  },
6325
6482
  {
@@ -6331,8 +6488,8 @@
6331
6488
  "privacy": "public",
6332
6489
  "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.",
6333
6490
  "inheritedFrom": {
6334
- "name": "Badge",
6335
- "module": "src/badge/badge.ts"
6491
+ "name": "FoundationElement",
6492
+ "module": "src/foundation-element/foundation-element.ts"
6336
6493
  }
6337
6494
  },
6338
6495
  {
@@ -6345,8 +6502,8 @@
6345
6502
  }
6346
6503
  },
6347
6504
  "inheritedFrom": {
6348
- "name": "Badge",
6349
- "module": "src/badge/badge.ts"
6505
+ "name": "FoundationElement",
6506
+ "module": "src/foundation-element/foundation-element.ts"
6350
6507
  }
6351
6508
  },
6352
6509
  {
@@ -6358,8 +6515,8 @@
6358
6515
  "privacy": "public",
6359
6516
  "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.",
6360
6517
  "inheritedFrom": {
6361
- "name": "Badge",
6362
- "module": "src/badge/badge.ts"
6518
+ "name": "FoundationElement",
6519
+ "module": "src/foundation-element/foundation-element.ts"
6363
6520
  }
6364
6521
  },
6365
6522
  {
@@ -6372,8 +6529,8 @@
6372
6529
  }
6373
6530
  },
6374
6531
  "inheritedFrom": {
6375
- "name": "Badge",
6376
- "module": "src/badge/badge.ts"
6532
+ "name": "FoundationElement",
6533
+ "module": "src/foundation-element/foundation-element.ts"
6377
6534
  }
6378
6535
  },
6379
6536
  {
@@ -6403,47 +6560,57 @@
6403
6560
  ],
6404
6561
  "description": "Defines an element registry function with a set of element definition defaults.",
6405
6562
  "inheritedFrom": {
6406
- "name": "Badge",
6407
- "module": "src/badge/badge.ts"
6563
+ "name": "FoundationElement",
6564
+ "module": "src/foundation-element/foundation-element.ts"
6408
6565
  }
6409
6566
  }
6410
6567
  ]
6411
6568
  },
6412
6569
  {
6413
6570
  "kind": "variable",
6414
- "name": "zeroBadge"
6571
+ "name": "zeroBanner",
6572
+ "description": "The Zero Banner",
6573
+ "privacy": "public"
6415
6574
  }
6416
6575
  ],
6417
6576
  "exports": [
6418
6577
  {
6419
6578
  "kind": "js",
6420
- "name": "Badge",
6579
+ "name": "zeroBannerShadowOptions",
6421
6580
  "declaration": {
6422
- "name": "Badge",
6423
- "module": "src/badge/badge.ts"
6581
+ "name": "zeroBannerShadowOptions",
6582
+ "module": "src/banner/banner.ts"
6424
6583
  }
6425
6584
  },
6426
6585
  {
6427
6586
  "kind": "js",
6428
- "name": "zeroBadge",
6587
+ "name": "Banner",
6429
6588
  "declaration": {
6430
- "name": "zeroBadge",
6431
- "module": "src/badge/badge.ts"
6589
+ "name": "Banner",
6590
+ "module": "src/banner/banner.ts"
6591
+ }
6592
+ },
6593
+ {
6594
+ "kind": "js",
6595
+ "name": "zeroBanner",
6596
+ "declaration": {
6597
+ "name": "zeroBanner",
6598
+ "module": "src/banner/banner.ts"
6432
6599
  }
6433
6600
  }
6434
6601
  ]
6435
6602
  },
6436
6603
  {
6437
6604
  "kind": "javascript-module",
6438
- "path": "src/badge/index.ts",
6605
+ "path": "src/banner/index.ts",
6439
6606
  "declarations": [],
6440
6607
  "exports": [
6441
6608
  {
6442
6609
  "kind": "js",
6443
- "name": "*",
6610
+ "name": "zeroBannerTemplate",
6444
6611
  "declaration": {
6445
- "name": "*",
6446
- "package": "./badge"
6612
+ "name": "foundationBannerTemplate",
6613
+ "package": "@genesislcap/foundation-ui"
6447
6614
  }
6448
6615
  },
6449
6616
  {
@@ -6451,7 +6618,7 @@
6451
6618
  "name": "*",
6452
6619
  "declaration": {
6453
6620
  "name": "*",
6454
- "package": "./badge.styles"
6621
+ "package": "./banner"
6455
6622
  }
6456
6623
  },
6457
6624
  {
@@ -6459,7 +6626,7 @@
6459
6626
  "name": "*",
6460
6627
  "declaration": {
6461
6628
  "name": "*",
6462
- "package": "./badge.template"
6629
+ "package": "./banner.styles"
6463
6630
  }
6464
6631
  }
6465
6632
  ]
@@ -200,23 +200,23 @@ export declare const Avatar: React.ForwardRefExoticComponent<
200
200
  >;
201
201
  export type AvatarRef = AvatarWC;
202
202
 
203
- export declare const Banner: React.ForwardRefExoticComponent<
203
+ export declare const Badge: React.ForwardRefExoticComponent<
204
204
  React.PropsWithChildren<
205
- Omit<PublicOf<BannerWC>, 'children' | 'style'> &
205
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
206
206
  HTMLWCProps & {
207
207
  }
208
- > & React.RefAttributes<BannerWC>
208
+ > & React.RefAttributes<BadgeWC>
209
209
  >;
210
- export type BannerRef = BannerWC;
210
+ export type BadgeRef = BadgeWC;
211
211
 
212
- export declare const Badge: React.ForwardRefExoticComponent<
212
+ export declare const Banner: React.ForwardRefExoticComponent<
213
213
  React.PropsWithChildren<
214
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
214
+ Omit<PublicOf<BannerWC>, 'children' | 'style'> &
215
215
  HTMLWCProps & {
216
216
  }
217
- > & React.RefAttributes<BadgeWC>
217
+ > & React.RefAttributes<BannerWC>
218
218
  >;
219
- export type BadgeRef = BadgeWC;
219
+ export type BannerRef = BannerWC;
220
220
 
221
221
  export declare const Breadcrumb: React.ForwardRefExoticComponent<
222
222
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -178,14 +178,14 @@ const Avatar = React.forwardRef(function Avatar(props, ref) {
178
178
  return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
179
179
  });
180
180
 
181
- const Banner = React.forwardRef(function Banner(props, ref) {
181
+ const Badge = React.forwardRef(function Badge(props, ref) {
182
182
  const { children, ...rest } = props;
183
- return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
183
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
184
184
  });
185
185
 
186
- const Badge = React.forwardRef(function Badge(props, ref) {
186
+ const Banner = React.forwardRef(function Banner(props, ref) {
187
187
  const { children, ...rest } = props;
188
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
188
+ return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
189
189
  });
190
190
 
191
191
  const Breadcrumb = React.forwardRef(function Breadcrumb(props, ref) {
@@ -1071,8 +1071,8 @@ module.exports = {
1071
1071
  Anchor,
1072
1072
  AnchoredRegion,
1073
1073
  Avatar,
1074
- Banner,
1075
1074
  Badge,
1075
+ Banner,
1076
1076
  Breadcrumb,
1077
1077
  BreadcrumbItem,
1078
1078
  Button,
package/dist/react.mjs CHANGED
@@ -176,14 +176,14 @@ export const Avatar = React.forwardRef(function Avatar(props, ref) {
176
176
  return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
177
177
  });
178
178
 
179
- export const Banner = React.forwardRef(function Banner(props, ref) {
179
+ export const Badge = React.forwardRef(function Badge(props, ref) {
180
180
  const { children, ...rest } = props;
181
- return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
181
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
182
182
  });
183
183
 
184
- export const Badge = React.forwardRef(function Badge(props, ref) {
184
+ export const Banner = React.forwardRef(function Banner(props, ref) {
185
185
  const { children, ...rest } = props;
186
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
186
+ return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
187
187
  });
188
188
 
189
189
  export const Breadcrumb = React.forwardRef(function Breadcrumb(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "15.64.0",
4
+ "version": "15.64.1-FUI-2629.6",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -70,17 +70,17 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
73
- "@genesislcap/genx": "15.64.0",
74
- "@genesislcap/ts-builder": "15.64.0",
75
- "@genesislcap/uvu-playwright-builder": "15.64.0",
76
- "@genesislcap/vite-builder": "15.64.0",
77
- "@genesislcap/webpack-builder": "15.64.0"
73
+ "@genesislcap/genx": "15.64.1-FUI-2629.6",
74
+ "@genesislcap/ts-builder": "15.64.1-FUI-2629.6",
75
+ "@genesislcap/uvu-playwright-builder": "15.64.1-FUI-2629.6",
76
+ "@genesislcap/vite-builder": "15.64.1-FUI-2629.6",
77
+ "@genesislcap/webpack-builder": "15.64.1-FUI-2629.6"
78
78
  },
79
79
  "dependencies": {
80
- "@genesislcap/foundation-comms": "15.64.0",
81
- "@genesislcap/foundation-logger": "15.64.0",
82
- "@genesislcap/foundation-ui": "15.64.0",
83
- "@genesislcap/foundation-utils": "15.64.0",
80
+ "@genesislcap/foundation-comms": "15.64.1-FUI-2629.6",
81
+ "@genesislcap/foundation-logger": "15.64.1-FUI-2629.6",
82
+ "@genesislcap/foundation-ui": "15.64.1-FUI-2629.6",
83
+ "@genesislcap/foundation-utils": "15.64.1-FUI-2629.6",
84
84
  "@microsoft/fast-colors": "5.3.1",
85
85
  "@microsoft/fast-components": "2.30.6",
86
86
  "@microsoft/fast-element": "1.14.0",