@genesislcap/foundation-entity-management 14.194.0 → 14.194.1-alpha-d6fd42b.0

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.
@@ -343,6 +343,15 @@
343
343
  "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
344
344
  "privacy": "public"
345
345
  },
346
+ {
347
+ "kind": "field",
348
+ "name": "blockScrollingOnContextMenu",
349
+ "type": {
350
+ "text": "boolean"
351
+ },
352
+ "default": "false",
353
+ "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
354
+ },
346
355
  {
347
356
  "kind": "field",
348
357
  "name": "gridOptions",
@@ -796,6 +805,15 @@
796
805
  "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
797
806
  "fieldName": "persistColumnStateKey"
798
807
  },
808
+ {
809
+ "name": "block-scrolling-on-context-menu",
810
+ "type": {
811
+ "text": "boolean"
812
+ },
813
+ "default": "false",
814
+ "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
815
+ "fieldName": "blockScrollingOnContextMenu"
816
+ },
799
817
  {
800
818
  "name": "size-columns-to-fit",
801
819
  "type": {
@@ -917,55 +935,6 @@
917
935
  }
918
936
  ]
919
937
  },
920
- {
921
- "kind": "javascript-module",
922
- "path": "src/layouts/default.ts",
923
- "declarations": [
924
- {
925
- "kind": "variable",
926
- "name": "loginLayout",
927
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
928
- },
929
- {
930
- "kind": "variable",
931
- "name": "defaultLayout",
932
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
933
- }
934
- ],
935
- "exports": [
936
- {
937
- "kind": "js",
938
- "name": "loginLayout",
939
- "declaration": {
940
- "name": "loginLayout",
941
- "module": "src/layouts/default.ts"
942
- }
943
- },
944
- {
945
- "kind": "js",
946
- "name": "defaultLayout",
947
- "declaration": {
948
- "name": "defaultLayout",
949
- "module": "src/layouts/default.ts"
950
- }
951
- }
952
- ]
953
- },
954
- {
955
- "kind": "javascript-module",
956
- "path": "src/layouts/index.ts",
957
- "declarations": [],
958
- "exports": [
959
- {
960
- "kind": "js",
961
- "name": "*",
962
- "declaration": {
963
- "name": "*",
964
- "package": "./default"
965
- }
966
- }
967
- ]
968
- },
969
938
  {
970
939
  "kind": "javascript-module",
971
940
  "path": "src/list/index.ts",
@@ -1153,6 +1122,14 @@
1153
1122
  "text": "GridProCaseType"
1154
1123
  }
1155
1124
  },
1125
+ {
1126
+ "kind": "field",
1127
+ "name": "blockScrollingOnContextMenu",
1128
+ "type": {
1129
+ "text": "boolean"
1130
+ },
1131
+ "default": "false"
1132
+ },
1156
1133
  {
1157
1134
  "kind": "field",
1158
1135
  "name": "grid",
@@ -1394,6 +1371,14 @@
1394
1371
  "text": "GridProCaseType"
1395
1372
  },
1396
1373
  "fieldName": "headerCaseType"
1374
+ },
1375
+ {
1376
+ "name": "block-scrolling-on-context-menu",
1377
+ "type": {
1378
+ "text": "boolean"
1379
+ },
1380
+ "default": "false",
1381
+ "fieldName": "blockScrollingOnContextMenu"
1397
1382
  }
1398
1383
  ],
1399
1384
  "mixins": [
@@ -1429,6 +1414,55 @@
1429
1414
  }
1430
1415
  ]
1431
1416
  },
1417
+ {
1418
+ "kind": "javascript-module",
1419
+ "path": "src/layouts/default.ts",
1420
+ "declarations": [
1421
+ {
1422
+ "kind": "variable",
1423
+ "name": "loginLayout",
1424
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1425
+ },
1426
+ {
1427
+ "kind": "variable",
1428
+ "name": "defaultLayout",
1429
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1430
+ }
1431
+ ],
1432
+ "exports": [
1433
+ {
1434
+ "kind": "js",
1435
+ "name": "loginLayout",
1436
+ "declaration": {
1437
+ "name": "loginLayout",
1438
+ "module": "src/layouts/default.ts"
1439
+ }
1440
+ },
1441
+ {
1442
+ "kind": "js",
1443
+ "name": "defaultLayout",
1444
+ "declaration": {
1445
+ "name": "defaultLayout",
1446
+ "module": "src/layouts/default.ts"
1447
+ }
1448
+ }
1449
+ ]
1450
+ },
1451
+ {
1452
+ "kind": "javascript-module",
1453
+ "path": "src/layouts/index.ts",
1454
+ "declarations": [],
1455
+ "exports": [
1456
+ {
1457
+ "kind": "js",
1458
+ "name": "*",
1459
+ "declaration": {
1460
+ "name": "*",
1461
+ "package": "./default"
1462
+ }
1463
+ }
1464
+ ]
1465
+ },
1432
1466
  {
1433
1467
  "kind": "javascript-module",
1434
1468
  "path": "src/main/index.ts",
@@ -1896,6 +1930,19 @@
1896
1930
  "module": "src/entities/entities.ts"
1897
1931
  }
1898
1932
  },
1933
+ {
1934
+ "kind": "field",
1935
+ "name": "blockScrollingOnContextMenu",
1936
+ "type": {
1937
+ "text": "boolean"
1938
+ },
1939
+ "default": "false",
1940
+ "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
1941
+ "inheritedFrom": {
1942
+ "name": "EntityManagement",
1943
+ "module": "src/entities/entities.ts"
1944
+ }
1945
+ },
1899
1946
  {
1900
1947
  "kind": "field",
1901
1948
  "name": "gridOptions",
@@ -2534,6 +2581,19 @@
2534
2581
  "module": "src/entities/entities.ts"
2535
2582
  }
2536
2583
  },
2584
+ {
2585
+ "name": "block-scrolling-on-context-menu",
2586
+ "type": {
2587
+ "text": "boolean"
2588
+ },
2589
+ "default": "false",
2590
+ "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
2591
+ "fieldName": "blockScrollingOnContextMenu",
2592
+ "inheritedFrom": {
2593
+ "name": "EntityManagement",
2594
+ "module": "src/entities/entities.ts"
2595
+ }
2596
+ },
2537
2597
  {
2538
2598
  "name": "size-columns-to-fit",
2539
2599
  "type": {
@@ -79,7 +79,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
79
79
  onfullscreenchange: (this: Element, ev: Event) => any;
80
80
  onfullscreenerror: (this: Element, ev: Event) => any;
81
81
  outerHTML: string;
82
- readonly ownerDocument: Document;
82
+ readonly ownerDocument: Document; /**
83
+ * The configuration which is used when interacting with the resource on the backend
84
+ *
85
+ * @remarks
86
+ *
87
+ * Handles the configuration such as how many rows of entities to fetch at a time
88
+ * @public
89
+ */
83
90
  readonly part: DOMTokenList;
84
91
  readonly prefix: string;
85
92
  readonly scrollHeight: number;
@@ -482,6 +489,12 @@ export declare class EntityManagement extends EntityManagement_base {
482
489
  * @public
483
490
  */
484
491
  persistColumnStateKey: string;
492
+ /**
493
+ * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
494
+ * @remarks Defaults to false
495
+ * @alpha
496
+ */
497
+ blockScrollingOnContextMenu: boolean;
485
498
  /**
486
499
  * GridOptions to be passed down from application
487
500
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,OAAO,EACP,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EACL,eAAe,EAGf,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAIL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAKjC;;;;;;;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AI/C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;OAIG;IACI,YAAY;IASnB;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKjB,IACI,eAAe,0EAElB;IAEM,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAe9D,kBAAkB,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;IAKpD,mBAAmB,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;IAiB9C,cAAc,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAIrC,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAgC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;CAkB3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAKnD;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAwD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
1
+ {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAKnD;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAyD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
@@ -355,6 +355,7 @@ export declare class List extends List_base {
355
355
  hideEdit: boolean;
356
356
  hideDelete: boolean;
357
357
  headerCaseType: GridProCaseType;
358
+ blockScrollingOnContextMenu: boolean;
358
359
  grid: ZeroGridPro;
359
360
  datasource: GridProGenesisDatasource;
360
361
  gridOptions: GridOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAA4B,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAClG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKpE,qBAKa,IAAK,SAAQ,SAA2B;IACnD;;;OAGG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AErC,iBAAiB;YA6DH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,eAAe,4EA0D3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
1
+ {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,eAAe,4EA2D3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
@@ -87,6 +87,12 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
87
87
  * @public
88
88
  */
89
89
  this.enableRowFlashing = false;
90
+ /**
91
+ * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
92
+ * @remarks Defaults to false
93
+ * @alpha
94
+ */
95
+ this.blockScrollingOnContextMenu = false;
90
96
  /**
91
97
  * Array with renderers used by foundation-forms
92
98
  * @public
@@ -470,6 +476,9 @@ __decorate([
470
476
  __decorate([
471
477
  attr({ attribute: 'persist-column-state-key' })
472
478
  ], EntityManagement.prototype, "persistColumnStateKey", void 0);
479
+ __decorate([
480
+ attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
481
+ ], EntityManagement.prototype, "blockScrollingOnContextMenu", void 0);
473
482
  __decorate([
474
483
  observable
475
484
  ], EntityManagement.prototype, "gridOptions", void 0);
@@ -65,6 +65,7 @@ export const getPrefixedEntities = (prefix) => html `
65
65
  hide-edit=${(x) => x.hideEdit}
66
66
  hide-delete=${(x) => x.hideDelete}
67
67
  header-case-type=${(x) => x.headerCaseType}
68
+ block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
68
69
  >
69
70
  <slot name="header" slot="header">${defaultHeader}</slot>
70
71
  </entity-list>
@@ -25,6 +25,7 @@ let List = class List extends LifecycleMixin(FASTElement) {
25
25
  this.enableRowFlashing = false;
26
26
  this.hideEdit = false;
27
27
  this.hideDelete = false;
28
+ this.blockScrollingOnContextMenu = false;
28
29
  this.actionButtonsConfig = [];
29
30
  this.edit = (e) => {
30
31
  this.$emit('edit-entity', e);
@@ -183,6 +184,9 @@ __decorate([
183
184
  __decorate([
184
185
  attr({ attribute: 'header-case-type' })
185
186
  ], List.prototype, "headerCaseType", void 0);
187
+ __decorate([
188
+ attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
189
+ ], List.prototype, "blockScrollingOnContextMenu", void 0);
186
190
  __decorate([
187
191
  observable
188
192
  ], List.prototype, "gridOptions", void 0);
@@ -24,6 +24,7 @@ export const getPrefixedList = (prefix) => html `
24
24
  enable-cell-flashing=${(x) => x.enableCellFlashing}
25
25
  enable-row-flashing=${(x) => x.enableRowFlashing}
26
26
  header-case-type=${(x) => x.headerCaseType}
27
+ block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
27
28
  >
28
29
  <grid-pro-genesis-datasource
29
30
  ${ref('datasource')}
@@ -180,6 +180,12 @@ export declare class EntityManagement extends EntityManagement_base {
180
180
  * @public
181
181
  */
182
182
  persistColumnStateKey: string;
183
+ /**
184
+ * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
185
+ * @remarks Defaults to false
186
+ * @alpha
187
+ */
188
+ blockScrollingOnContextMenu: boolean;
183
189
  /**
184
190
  * GridOptions to be passed down from application
185
191
  * @public
@@ -380,7 +386,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
380
386
  onfullscreenchange: (this: Element, ev: Event) => any;
381
387
  onfullscreenerror: (this: Element, ev: Event) => any;
382
388
  outerHTML: string;
383
- readonly ownerDocument: Document;
389
+ readonly ownerDocument: Document; /**
390
+ * The configuration which is used when interacting with the resource on the backend
391
+ *
392
+ * @remarks
393
+ *
394
+ * Handles the configuration such as how many rows of entities to fetch at a time
395
+ * @public
396
+ */
384
397
  readonly part: DOMTokenList;
385
398
  readonly prefix: string;
386
399
  readonly scrollHeight: number;
@@ -46,6 +46,8 @@ export class EntityManagement extends EntityManagement_base {
46
46
  asyncAdd: boolean;
47
47
  asyncRemove: boolean;
48
48
  asyncUpdate: boolean;
49
+ // @alpha
50
+ blockScrollingOnContextMenu: boolean;
49
51
  // (undocumented)
50
52
  closeModal(): void;
51
53
  columns: ColDef[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-entity-management",
3
3
  "description": "Genesis Foundation Entity Management",
4
- "version": "14.194.0",
4
+ "version": "14.194.1-alpha-d6fd42b.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -52,29 +52,29 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@genesislcap/foundation-testing": "14.194.0",
56
- "@genesislcap/genx": "14.194.0",
57
- "@genesislcap/rollup-builder": "14.194.0",
58
- "@genesislcap/ts-builder": "14.194.0",
59
- "@genesislcap/uvu-playwright-builder": "14.194.0",
60
- "@genesislcap/vite-builder": "14.194.0",
61
- "@genesislcap/webpack-builder": "14.194.0",
55
+ "@genesislcap/foundation-testing": "14.194.1-alpha-d6fd42b.0",
56
+ "@genesislcap/genx": "14.194.1-alpha-d6fd42b.0",
57
+ "@genesislcap/rollup-builder": "14.194.1-alpha-d6fd42b.0",
58
+ "@genesislcap/ts-builder": "14.194.1-alpha-d6fd42b.0",
59
+ "@genesislcap/uvu-playwright-builder": "14.194.1-alpha-d6fd42b.0",
60
+ "@genesislcap/vite-builder": "14.194.1-alpha-d6fd42b.0",
61
+ "@genesislcap/webpack-builder": "14.194.1-alpha-d6fd42b.0",
62
62
  "rimraf": "^5.0.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "@ag-grid-community/core": "29.2.0",
66
- "@genesislcap/foundation-comms": "14.194.0",
67
- "@genesislcap/foundation-errors": "14.194.0",
68
- "@genesislcap/foundation-events": "14.194.0",
69
- "@genesislcap/foundation-forms": "14.194.0",
70
- "@genesislcap/foundation-logger": "14.194.0",
71
- "@genesislcap/foundation-login": "14.194.0",
72
- "@genesislcap/foundation-notifications": "14.194.0",
73
- "@genesislcap/foundation-ui": "14.194.0",
74
- "@genesislcap/foundation-utils": "14.194.0",
75
- "@genesislcap/foundation-zero": "14.194.0",
76
- "@genesislcap/foundation-zero-grid-pro": "14.194.0",
77
- "@genesislcap/grid-pro": "14.194.0",
66
+ "@genesislcap/foundation-comms": "14.194.1-alpha-d6fd42b.0",
67
+ "@genesislcap/foundation-errors": "14.194.1-alpha-d6fd42b.0",
68
+ "@genesislcap/foundation-events": "14.194.1-alpha-d6fd42b.0",
69
+ "@genesislcap/foundation-forms": "14.194.1-alpha-d6fd42b.0",
70
+ "@genesislcap/foundation-logger": "14.194.1-alpha-d6fd42b.0",
71
+ "@genesislcap/foundation-login": "14.194.1-alpha-d6fd42b.0",
72
+ "@genesislcap/foundation-notifications": "14.194.1-alpha-d6fd42b.0",
73
+ "@genesislcap/foundation-ui": "14.194.1-alpha-d6fd42b.0",
74
+ "@genesislcap/foundation-utils": "14.194.1-alpha-d6fd42b.0",
75
+ "@genesislcap/foundation-zero": "14.194.1-alpha-d6fd42b.0",
76
+ "@genesislcap/foundation-zero-grid-pro": "14.194.1-alpha-d6fd42b.0",
77
+ "@genesislcap/grid-pro": "14.194.1-alpha-d6fd42b.0",
78
78
  "@microsoft/fast-components": "^2.30.6",
79
79
  "@microsoft/fast-element": "^1.12.0",
80
80
  "@microsoft/fast-foundation": "^2.49.4",
@@ -90,5 +90,5 @@
90
90
  "access": "public"
91
91
  },
92
92
  "customElements": "dist/custom-elements.json",
93
- "gitHead": "8820d1e55e6cd53e293e819bb3a629c70fda5b76"
93
+ "gitHead": "26de38b3c3751ed3ac03f0738602ad19960b0f27"
94
94
  }