@genesislcap/foundation-zero-grid-pro 14.44.0 → 14.46.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.
@@ -1 +1 @@
1
- {"version":3,"file":"action.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/action.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA0B,MAAM,uBAAuB,CAAC;AAG/E;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,cAAc;CAAG;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;+BAc/B,CAAC"}
1
+ {"version":3,"file":"action.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/action.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA0B,MAAM,uBAAuB,CAAC;AAG/E;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,cAAc;CAAG;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;+BAwB/B,CAAC"}
@@ -19,11 +19,20 @@ export const zeroAgActionRenderer = ZeroAgActionRenderer.compose({
19
19
  `,
20
20
  template: html `
21
21
  <div class="action-container" part="action-container">
22
- <zero-button class="action-renderer"
23
- part="action-renderer"
24
- data-test-id="${(x) => x.dataTestId}"
25
- ?disabled=${(x) => { var _a; return x.pendingAction || x.isDisabled((_a = x.params) === null || _a === void 0 ? void 0 : _a.data); }}
26
- appearance="${(x) => x.params.appearance}"
27
- @click=${(x) => x.clickHandler()}">${(x) => x.params.actionName}</zero-button>
28
- </div>`,
22
+ <zero-button
23
+ class="action-renderer"
24
+ part="action-renderer"
25
+ data-test-id="${(x) => x.dataTestId}"
26
+ ?disabled=${(x) => { var _a; return x.pendingAction || x.isDisabled((_a = x.params) === null || _a === void 0 ? void 0 : _a.data); }}
27
+ appearance="${(x) => x.params.appearance}"
28
+ @click=${(x) => x.clickHandler()}
29
+ >
30
+ ${(x) => x.params.contentTemplate
31
+ ? html `
32
+ ${x.params.contentTemplate}
33
+ `
34
+ : x.params.actionName}
35
+ </zero-button>
36
+ </div>
37
+ `,
29
38
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero-grid-pro",
3
3
  "description": "Genesis Foundation Zero Grid Pro",
4
- "version": "14.44.0",
4
+ "version": "14.46.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -24,14 +24,14 @@
24
24
  "serve": "genx serve"
25
25
  },
26
26
  "devDependencies": {
27
- "@genesislcap/genx": "^14.44.0"
27
+ "@genesislcap/genx": "^14.46.0"
28
28
  },
29
29
  "dependencies": {
30
- "@genesislcap/foundation-comms": "^14.44.0",
31
- "@genesislcap/foundation-ui": "^14.44.0",
32
- "@genesislcap/foundation-utils": "^14.44.0",
33
- "@genesislcap/foundation-zero": "^14.44.0",
34
- "@genesislcap/grid-pro": "^14.44.0",
30
+ "@genesislcap/foundation-comms": "^14.46.0",
31
+ "@genesislcap/foundation-ui": "^14.46.0",
32
+ "@genesislcap/foundation-utils": "^14.46.0",
33
+ "@genesislcap/foundation-zero": "^14.46.0",
34
+ "@genesislcap/grid-pro": "^14.46.0",
35
35
  "@microsoft/fast-colors": "^5.1.4",
36
36
  "@microsoft/fast-components": "^2.21.3",
37
37
  "@microsoft/fast-element": "^1.7.0",
@@ -53,5 +53,5 @@
53
53
  "access": "public"
54
54
  },
55
55
  "customElements": "dist/custom-elements.json",
56
- "gitHead": "077e749b309b7cce6982ec9c85255036e5f254dc"
56
+ "gitHead": "aaaf1e3338854f98d7a05fbf4f5bba0a015a8cd7"
57
57
  }