@genesislcap/foundation-ui 15.57.0 → 15.58.1-FUI-2629.4
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.
- package/dist/custom-elements.json +982 -800
- package/dist/dts/actions-menu/actions-menu.d.ts +34 -2
- package/dist/dts/actions-menu/actions-menu.d.ts.map +1 -1
- package/dist/dts/actions-menu/actions-menu.styles.d.ts.map +1 -1
- package/dist/dts/actions-menu/actions-menu.template.d.ts.map +1 -1
- package/dist/dts/filter-bar/filter-bar.utils.d.ts +1 -1
- package/dist/dts/react.d.ts +13 -13
- package/dist/dts/utils/index.d.ts +1 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/popover-position.d.ts +26 -0
- package/dist/dts/utils/popover-position.d.ts.map +1 -0
- package/dist/esm/actions-menu/actions-menu.js +74 -12
- package/dist/esm/actions-menu/actions-menu.styles.js +74 -5
- package/dist/esm/actions-menu/actions-menu.template.js +49 -5
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/popover-position.js +70 -0
- package/dist/foundation-ui.api.json +276 -10
- package/dist/foundation-ui.d.ts +34 -3
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +17 -17
|
@@ -279,7 +279,25 @@
|
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
"kind": "Content",
|
|
282
|
-
"text": "{\n name: string | ((rowData: any) => string);\n callback: (rowData: any) => void | any;\n isDisabled?: (rowData: any) => boolean;\n color?: string;\n
|
|
282
|
+
"text": "{\n name: string | ((rowData: any) => string);\n callback: (rowData: any) => void | any;\n isDisabled?: boolean | ((rowData: any) => boolean);\n color?: string;\n icon?: {\n variant?: "
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "Reference",
|
|
286
|
+
"text": "IconStyle",
|
|
287
|
+
"canonicalReference": "@fortawesome/fontawesome-common-types!IconStyle:type"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"kind": "Content",
|
|
291
|
+
"text": ";\n name: string;\n size?: "
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "Reference",
|
|
295
|
+
"text": "FaSize",
|
|
296
|
+
"canonicalReference": "@genesislcap/foundation-ui!FaSize:type"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "Content",
|
|
300
|
+
"text": ";\n };\n}"
|
|
283
301
|
},
|
|
284
302
|
{
|
|
285
303
|
"kind": "Content",
|
|
@@ -291,7 +309,47 @@
|
|
|
291
309
|
"name": "ActionMenuItem",
|
|
292
310
|
"typeTokenRange": {
|
|
293
311
|
"startIndex": 1,
|
|
294
|
-
"endIndex":
|
|
312
|
+
"endIndex": 6
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"kind": "TypeAlias",
|
|
317
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItems:type",
|
|
318
|
+
"docComment": "/**\n * The actions shown by the Actions Menu: a fixed array, or a function of the row data returning one (for row-scoped eligibility/permission filtering).\n *\n * @public\n */\n",
|
|
319
|
+
"excerptTokens": [
|
|
320
|
+
{
|
|
321
|
+
"kind": "Content",
|
|
322
|
+
"text": "export type ActionMenuItems = "
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"kind": "Reference",
|
|
326
|
+
"text": "ActionMenuItem",
|
|
327
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItem:type"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "Content",
|
|
331
|
+
"text": "[] | ((rowData: any) => "
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"kind": "Reference",
|
|
335
|
+
"text": "ActionMenuItem",
|
|
336
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItem:type"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "Content",
|
|
340
|
+
"text": "[])"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"kind": "Content",
|
|
344
|
+
"text": ";"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"fileUrlPath": "src/actions-menu/actions-menu.ts",
|
|
348
|
+
"releaseTag": "Public",
|
|
349
|
+
"name": "ActionMenuItems",
|
|
350
|
+
"typeTokenRange": {
|
|
351
|
+
"startIndex": 1,
|
|
352
|
+
"endIndex": 5
|
|
295
353
|
}
|
|
296
354
|
},
|
|
297
355
|
{
|
|
@@ -330,12 +388,8 @@
|
|
|
330
388
|
},
|
|
331
389
|
{
|
|
332
390
|
"kind": "Reference",
|
|
333
|
-
"text": "
|
|
334
|
-
"canonicalReference": "@genesislcap/foundation-ui!
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"kind": "Content",
|
|
338
|
-
"text": "[]"
|
|
391
|
+
"text": "ActionMenuItems",
|
|
392
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItems:type"
|
|
339
393
|
},
|
|
340
394
|
{
|
|
341
395
|
"kind": "Content",
|
|
@@ -348,7 +402,7 @@
|
|
|
348
402
|
"name": "actions",
|
|
349
403
|
"propertyTypeTokenRange": {
|
|
350
404
|
"startIndex": 1,
|
|
351
|
-
"endIndex":
|
|
405
|
+
"endIndex": 2
|
|
352
406
|
},
|
|
353
407
|
"isStatic": false,
|
|
354
408
|
"isProtected": false,
|
|
@@ -870,6 +924,85 @@
|
|
|
870
924
|
"isProtected": false,
|
|
871
925
|
"isAbstract": false
|
|
872
926
|
},
|
|
927
|
+
{
|
|
928
|
+
"kind": "Property",
|
|
929
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#iconName:member",
|
|
930
|
+
"docComment": "/**\n * When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis` for an icon-only \"kebab\" opener).\n */\n",
|
|
931
|
+
"excerptTokens": [
|
|
932
|
+
{
|
|
933
|
+
"kind": "Content",
|
|
934
|
+
"text": "iconName: "
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"kind": "Content",
|
|
938
|
+
"text": "string"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"kind": "Content",
|
|
942
|
+
"text": ";"
|
|
943
|
+
}
|
|
944
|
+
],
|
|
945
|
+
"isReadonly": false,
|
|
946
|
+
"isOptional": false,
|
|
947
|
+
"releaseTag": "Public",
|
|
948
|
+
"name": "iconName",
|
|
949
|
+
"propertyTypeTokenRange": {
|
|
950
|
+
"startIndex": 1,
|
|
951
|
+
"endIndex": 2
|
|
952
|
+
},
|
|
953
|
+
"isStatic": false,
|
|
954
|
+
"isProtected": false,
|
|
955
|
+
"isAbstract": false
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"kind": "Method",
|
|
959
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#isActionDisabled:member(1)",
|
|
960
|
+
"docComment": "/**\n * Resolves an action's `isDisabled` flag or row-data function for the current row.\n */\n",
|
|
961
|
+
"excerptTokens": [
|
|
962
|
+
{
|
|
963
|
+
"kind": "Content",
|
|
964
|
+
"text": "isActionDisabled(action: "
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"kind": "Reference",
|
|
968
|
+
"text": "ActionMenuItem",
|
|
969
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItem:type"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"kind": "Content",
|
|
973
|
+
"text": "): "
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"kind": "Content",
|
|
977
|
+
"text": "boolean"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "Content",
|
|
981
|
+
"text": ";"
|
|
982
|
+
}
|
|
983
|
+
],
|
|
984
|
+
"isStatic": false,
|
|
985
|
+
"returnTypeTokenRange": {
|
|
986
|
+
"startIndex": 3,
|
|
987
|
+
"endIndex": 4
|
|
988
|
+
},
|
|
989
|
+
"releaseTag": "Public",
|
|
990
|
+
"isProtected": false,
|
|
991
|
+
"overloadIndex": 1,
|
|
992
|
+
"parameters": [
|
|
993
|
+
{
|
|
994
|
+
"parameterName": "action",
|
|
995
|
+
"parameterTypeTokenRange": {
|
|
996
|
+
"startIndex": 1,
|
|
997
|
+
"endIndex": 2
|
|
998
|
+
},
|
|
999
|
+
"isOptional": false
|
|
1000
|
+
}
|
|
1001
|
+
],
|
|
1002
|
+
"isOptional": false,
|
|
1003
|
+
"isAbstract": false,
|
|
1004
|
+
"name": "isActionDisabled"
|
|
1005
|
+
},
|
|
873
1006
|
{
|
|
874
1007
|
"kind": "Property",
|
|
875
1008
|
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#isVertical:member",
|
|
@@ -978,6 +1111,104 @@
|
|
|
978
1111
|
"isAbstract": false,
|
|
979
1112
|
"name": "onActionMenuItemClick"
|
|
980
1113
|
},
|
|
1114
|
+
{
|
|
1115
|
+
"kind": "Method",
|
|
1116
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#onIconOpenerKeydown:member(1)",
|
|
1117
|
+
"docComment": "/**\n * Opens the icon-only opener from the keyboard, as a native button would.\n */\n",
|
|
1118
|
+
"excerptTokens": [
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "Content",
|
|
1121
|
+
"text": "onIconOpenerKeydown(event: "
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"kind": "Reference",
|
|
1125
|
+
"text": "KeyboardEvent",
|
|
1126
|
+
"canonicalReference": "!KeyboardEvent:interface"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"kind": "Content",
|
|
1130
|
+
"text": "): "
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"kind": "Content",
|
|
1134
|
+
"text": "boolean"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"kind": "Content",
|
|
1138
|
+
"text": ";"
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
"isStatic": false,
|
|
1142
|
+
"returnTypeTokenRange": {
|
|
1143
|
+
"startIndex": 3,
|
|
1144
|
+
"endIndex": 4
|
|
1145
|
+
},
|
|
1146
|
+
"releaseTag": "Public",
|
|
1147
|
+
"isProtected": false,
|
|
1148
|
+
"overloadIndex": 1,
|
|
1149
|
+
"parameters": [
|
|
1150
|
+
{
|
|
1151
|
+
"parameterName": "event",
|
|
1152
|
+
"parameterTypeTokenRange": {
|
|
1153
|
+
"startIndex": 1,
|
|
1154
|
+
"endIndex": 2
|
|
1155
|
+
},
|
|
1156
|
+
"isOptional": false
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"isOptional": false,
|
|
1160
|
+
"isAbstract": false,
|
|
1161
|
+
"name": "onIconOpenerKeydown"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"kind": "Method",
|
|
1165
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#onPopoverToggle:member(1)",
|
|
1166
|
+
"docComment": "/**\n * Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes the vertical menu without going through `toggleActionsMenuVisibility()`.\n */\n",
|
|
1167
|
+
"excerptTokens": [
|
|
1168
|
+
{
|
|
1169
|
+
"kind": "Content",
|
|
1170
|
+
"text": "onPopoverToggle(event: "
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"kind": "Reference",
|
|
1174
|
+
"text": "Event",
|
|
1175
|
+
"canonicalReference": "!Event:interface"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"kind": "Content",
|
|
1179
|
+
"text": "): "
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"kind": "Content",
|
|
1183
|
+
"text": "void"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"kind": "Content",
|
|
1187
|
+
"text": ";"
|
|
1188
|
+
}
|
|
1189
|
+
],
|
|
1190
|
+
"isStatic": false,
|
|
1191
|
+
"returnTypeTokenRange": {
|
|
1192
|
+
"startIndex": 3,
|
|
1193
|
+
"endIndex": 4
|
|
1194
|
+
},
|
|
1195
|
+
"releaseTag": "Public",
|
|
1196
|
+
"isProtected": false,
|
|
1197
|
+
"overloadIndex": 1,
|
|
1198
|
+
"parameters": [
|
|
1199
|
+
{
|
|
1200
|
+
"parameterName": "event",
|
|
1201
|
+
"parameterTypeTokenRange": {
|
|
1202
|
+
"startIndex": 1,
|
|
1203
|
+
"endIndex": 2
|
|
1204
|
+
},
|
|
1205
|
+
"isOptional": false
|
|
1206
|
+
}
|
|
1207
|
+
],
|
|
1208
|
+
"isOptional": false,
|
|
1209
|
+
"isAbstract": false,
|
|
1210
|
+
"name": "onPopoverToggle"
|
|
1211
|
+
},
|
|
981
1212
|
{
|
|
982
1213
|
"kind": "Property",
|
|
983
1214
|
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#open:member",
|
|
@@ -1039,6 +1270,41 @@
|
|
|
1039
1270
|
"isAbstract": false,
|
|
1040
1271
|
"name": "openChanged"
|
|
1041
1272
|
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "Property",
|
|
1275
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#resolvedActions:member",
|
|
1276
|
+
"docComment": "",
|
|
1277
|
+
"excerptTokens": [
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "Content",
|
|
1280
|
+
"text": "get resolvedActions(): "
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"kind": "Reference",
|
|
1284
|
+
"text": "ActionMenuItem",
|
|
1285
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItem:type"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "Content",
|
|
1289
|
+
"text": "[]"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"kind": "Content",
|
|
1293
|
+
"text": ";"
|
|
1294
|
+
}
|
|
1295
|
+
],
|
|
1296
|
+
"isReadonly": true,
|
|
1297
|
+
"isOptional": false,
|
|
1298
|
+
"releaseTag": "Public",
|
|
1299
|
+
"name": "resolvedActions",
|
|
1300
|
+
"propertyTypeTokenRange": {
|
|
1301
|
+
"startIndex": 1,
|
|
1302
|
+
"endIndex": 3
|
|
1303
|
+
},
|
|
1304
|
+
"isStatic": false,
|
|
1305
|
+
"isProtected": false,
|
|
1306
|
+
"isAbstract": false
|
|
1307
|
+
},
|
|
1042
1308
|
{
|
|
1043
1309
|
"kind": "Property",
|
|
1044
1310
|
"canonicalReference": "@genesislcap/foundation-ui!ActionsMenu#rowData:member",
|
|
@@ -54125,7 +54391,7 @@
|
|
|
54125
54391
|
},
|
|
54126
54392
|
{
|
|
54127
54393
|
"kind": "Content",
|
|
54128
|
-
"text": "\"boolean\" | \"number\" | \"
|
|
54394
|
+
"text": "\"boolean\" | \"number\" | \"text\" | \"date\" | \"enum\""
|
|
54129
54395
|
}
|
|
54130
54396
|
],
|
|
54131
54397
|
"fileUrlPath": "src/filter-bar/filter-bar.utils.ts",
|
package/dist/foundation-ui.d.ts
CHANGED
|
@@ -310,21 +310,39 @@ export declare class AccordionItem extends AccordionItem_2 {
|
|
|
310
310
|
export declare type ActionMenuItem = {
|
|
311
311
|
name: string | ((rowData: any) => string);
|
|
312
312
|
callback: (rowData: any) => void | any;
|
|
313
|
-
|
|
313
|
+
/** A fixed flag, or a function of the row data (the grid row from the cell params). */
|
|
314
|
+
isDisabled?: boolean | ((rowData: any) => boolean);
|
|
314
315
|
color?: string;
|
|
316
|
+
icon?: {
|
|
317
|
+
variant?: IconStyle;
|
|
318
|
+
name: string;
|
|
319
|
+
size?: FaSize;
|
|
320
|
+
};
|
|
315
321
|
};
|
|
316
322
|
|
|
323
|
+
/**
|
|
324
|
+
* The actions shown by the Actions Menu: a fixed array, or a function of the row data returning
|
|
325
|
+
* one (for row-scoped eligibility/permission filtering).
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
export declare type ActionMenuItems = ActionMenuItem[] | ((rowData: any) => ActionMenuItem[]);
|
|
329
|
+
|
|
317
330
|
/**
|
|
318
331
|
* @tagname %%prefix%%-actions-menu
|
|
319
332
|
*/
|
|
320
333
|
export declare class ActionsMenu extends FoundationElement {
|
|
321
|
-
actions:
|
|
334
|
+
actions: ActionMenuItems;
|
|
322
335
|
isVertical: boolean;
|
|
323
336
|
addDefaultActions: boolean;
|
|
324
337
|
autoCloseOnAction: boolean;
|
|
325
338
|
classNames: string;
|
|
326
339
|
definition: any;
|
|
327
340
|
name: string;
|
|
341
|
+
/**
|
|
342
|
+
* When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`
|
|
343
|
+
* for an icon-only "kebab" opener).
|
|
344
|
+
*/
|
|
345
|
+
iconName: string;
|
|
328
346
|
open: boolean;
|
|
329
347
|
buttonAppearance: string;
|
|
330
348
|
hideDisabled: boolean;
|
|
@@ -332,12 +350,25 @@ export declare class ActionsMenu extends FoundationElement {
|
|
|
332
350
|
singleOption: ActionMenuItem;
|
|
333
351
|
actionsMenu: HTMLElement;
|
|
334
352
|
actionsOpener: HTMLElement;
|
|
353
|
+
private positionTracker?;
|
|
335
354
|
disconnectedCallback(): void;
|
|
336
355
|
private updateMenuPosition;
|
|
356
|
+
private startTrackingPosition;
|
|
357
|
+
private stopTrackingPosition;
|
|
337
358
|
protected definitionChanged(oldValue: any, newValue: any): void;
|
|
338
359
|
protected openChanged(): void;
|
|
339
360
|
toggleActionsMenuVisibility(): void;
|
|
361
|
+
/**
|
|
362
|
+
* Syncs `open` when the native `popover="auto"` light-dismiss (outside click / Escape) closes
|
|
363
|
+
* the vertical menu without going through `toggleActionsMenuVisibility()`.
|
|
364
|
+
*/
|
|
365
|
+
onPopoverToggle(event: Event): void;
|
|
366
|
+
/** Opens the icon-only opener from the keyboard, as a native button would. */
|
|
367
|
+
onIconOpenerKeydown(event: KeyboardEvent): boolean;
|
|
340
368
|
onActionMenuItemClick(callback: (rowData: any) => void | any): void;
|
|
369
|
+
/** Resolves an action's `isDisabled` flag or row-data function for the current row. */
|
|
370
|
+
isActionDisabled(action: ActionMenuItem): boolean;
|
|
371
|
+
get resolvedActions(): ActionMenuItem[];
|
|
341
372
|
get allActions(): ActionMenuItem[];
|
|
342
373
|
get rowData(): any;
|
|
343
374
|
getLabel(name: string | ((rowData: any) => string)): string;
|
|
@@ -5480,7 +5511,7 @@ export declare class Listbox extends Listbox_2 {
|
|
|
5480
5511
|
export declare class ListboxOption extends ListboxOption_2 {
|
|
5481
5512
|
}
|
|
5482
5513
|
|
|
5483
|
-
export declare const mapType: (TYPE: string) => "boolean" | "number" | "
|
|
5514
|
+
export declare const mapType: (TYPE: string) => "boolean" | "number" | "text" | "date" | "enum";
|
|
5484
5515
|
|
|
5485
5516
|
export declare const MAX_DAYS = 31;
|
|
5486
5517
|
|
package/dist/react.cjs
CHANGED
|
@@ -113,9 +113,9 @@ function _mergeRefs(...refs) {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
const
|
|
116
|
+
const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
117
117
|
const { children, ...rest } = props;
|
|
118
|
-
return React.createElement(customElements.getName(
|
|
118
|
+
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
119
119
|
});
|
|
120
120
|
|
|
121
121
|
const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
@@ -123,6 +123,11 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
|
123
123
|
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
+
const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
127
|
+
const { children, ...rest } = props;
|
|
128
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
129
|
+
});
|
|
130
|
+
|
|
126
131
|
const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
|
|
127
132
|
const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
|
|
128
133
|
const _innerRef = React.useRef(null);
|
|
@@ -150,11 +155,6 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
|
|
|
150
155
|
return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
|
|
151
156
|
});
|
|
152
157
|
|
|
153
|
-
const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
154
|
-
const { children, ...rest } = props;
|
|
155
|
-
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
156
|
-
});
|
|
157
|
-
|
|
158
158
|
const Anchor = React.forwardRef(function Anchor(props, ref) {
|
|
159
159
|
const { children, ...rest } = props;
|
|
160
160
|
return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
|
|
@@ -1143,11 +1143,11 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
|
|
|
1143
1143
|
});
|
|
1144
1144
|
|
|
1145
1145
|
module.exports = {
|
|
1146
|
-
|
|
1146
|
+
AccordionItem,
|
|
1147
1147
|
ActionsMenu,
|
|
1148
|
+
Accordion,
|
|
1148
1149
|
AiCriteriaSearch,
|
|
1149
1150
|
AiIndicator,
|
|
1150
|
-
AccordionItem,
|
|
1151
1151
|
Anchor,
|
|
1152
1152
|
AnchoredRegion,
|
|
1153
1153
|
Avatar,
|
package/dist/react.mjs
CHANGED
|
@@ -111,9 +111,9 @@ function _mergeRefs(...refs) {
|
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
export const
|
|
114
|
+
export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
115
115
|
const { children, ...rest } = props;
|
|
116
|
-
return React.createElement(customElements.getName(
|
|
116
|
+
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
117
117
|
});
|
|
118
118
|
|
|
119
119
|
export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
@@ -121,6 +121,11 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
|
121
121
|
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
+
export const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
125
|
+
const { children, ...rest } = props;
|
|
126
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
127
|
+
});
|
|
128
|
+
|
|
124
129
|
export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
|
|
125
130
|
const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
|
|
126
131
|
const _innerRef = React.useRef(null);
|
|
@@ -148,11 +153,6 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
|
|
|
148
153
|
return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
|
|
149
154
|
});
|
|
150
155
|
|
|
151
|
-
export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
152
|
-
const { children, ...rest } = props;
|
|
153
|
-
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
154
|
-
});
|
|
155
|
-
|
|
156
156
|
export const Anchor = React.forwardRef(function Anchor(props, ref) {
|
|
157
157
|
const { children, ...rest } = props;
|
|
158
158
|
return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.58.1-FUI-2629.4",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@genesislcap/foundation-testing": "15.
|
|
86
|
-
"@genesislcap/genx": "15.
|
|
87
|
-
"@genesislcap/ts-builder": "15.
|
|
88
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
89
|
-
"@genesislcap/vite-builder": "15.
|
|
90
|
-
"@genesislcap/webpack-builder": "15.
|
|
85
|
+
"@genesislcap/foundation-testing": "15.58.1-FUI-2629.4",
|
|
86
|
+
"@genesislcap/genx": "15.58.1-FUI-2629.4",
|
|
87
|
+
"@genesislcap/ts-builder": "15.58.1-FUI-2629.4",
|
|
88
|
+
"@genesislcap/uvu-playwright-builder": "15.58.1-FUI-2629.4",
|
|
89
|
+
"@genesislcap/vite-builder": "15.58.1-FUI-2629.4",
|
|
90
|
+
"@genesislcap/webpack-builder": "15.58.1-FUI-2629.4",
|
|
91
91
|
"copyfiles": "^2.4.1"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
@@ -96,16 +96,16 @@
|
|
|
96
96
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
97
97
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
98
98
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
99
|
-
"@genesislcap/expression-builder": "15.
|
|
100
|
-
"@genesislcap/foundation-ai": "15.
|
|
101
|
-
"@genesislcap/foundation-comms": "15.
|
|
102
|
-
"@genesislcap/foundation-criteria": "15.
|
|
103
|
-
"@genesislcap/foundation-errors": "15.
|
|
104
|
-
"@genesislcap/foundation-events": "15.
|
|
105
|
-
"@genesislcap/foundation-logger": "15.
|
|
106
|
-
"@genesislcap/foundation-notifications": "15.
|
|
107
|
-
"@genesislcap/foundation-user": "15.
|
|
108
|
-
"@genesislcap/foundation-utils": "15.
|
|
99
|
+
"@genesislcap/expression-builder": "15.58.1-FUI-2629.4",
|
|
100
|
+
"@genesislcap/foundation-ai": "15.58.1-FUI-2629.4",
|
|
101
|
+
"@genesislcap/foundation-comms": "15.58.1-FUI-2629.4",
|
|
102
|
+
"@genesislcap/foundation-criteria": "15.58.1-FUI-2629.4",
|
|
103
|
+
"@genesislcap/foundation-errors": "15.58.1-FUI-2629.4",
|
|
104
|
+
"@genesislcap/foundation-events": "15.58.1-FUI-2629.4",
|
|
105
|
+
"@genesislcap/foundation-logger": "15.58.1-FUI-2629.4",
|
|
106
|
+
"@genesislcap/foundation-notifications": "15.58.1-FUI-2629.4",
|
|
107
|
+
"@genesislcap/foundation-user": "15.58.1-FUI-2629.4",
|
|
108
|
+
"@genesislcap/foundation-utils": "15.58.1-FUI-2629.4",
|
|
109
109
|
"@microsoft/fast-colors": "5.3.1",
|
|
110
110
|
"@microsoft/fast-components": "2.30.6",
|
|
111
111
|
"@microsoft/fast-element": "1.14.0",
|