@genesislcap/foundation-entity-management 14.183.0 → 14.183.2

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":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAmDlB,CAAC"}
1
+ {"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAuDlB,CAAC"}
@@ -12,6 +12,16 @@ export const styles = css `
12
12
  contain: content;
13
13
  }
14
14
 
15
+ :host::part(header) {
16
+ display: flex;
17
+ justify-content: space-between;
18
+ align-items: center;
19
+ }
20
+
21
+ :host([modal-position='centre']) .edit-modal {
22
+ overflow-y: auto;
23
+ }
24
+
15
25
  .container {
16
26
  display: flex;
17
27
  flex-direction: column;
@@ -30,12 +40,6 @@ export const styles = css `
30
40
  margin-left: 1px;
31
41
  }
32
42
 
33
- :host::part(header) {
34
- display: flex;
35
- justify-content: space-between;
36
- align-items: center;
37
- }
38
-
39
43
  .header-title {
40
44
  color: var(--neutral-foreground-rest);
41
45
  font-size: var(--type-ramp-plus-4-font-size);
@@ -55,7 +59,7 @@ export const styles = css `
55
59
  width: 500px;
56
60
  }
57
61
 
58
- :host([modal-position='centre']) .edit-modal {
59
- overflow-y: auto;
62
+ .add-button {
63
+ margin-right: calc(var(--design-unit) * 2px);
60
64
  }
61
65
  `;
@@ -11,7 +11,7 @@ Form;
11
11
  export const defaultHeader = (prefix) => html `
12
12
  <h3 class="header-title">${(x) => x.title}</h3>
13
13
  ${when((x) => x.createEvent, html `
14
- <${prefix}-button appearance="neutral" @click=${(x, y) => x.createEntity()}>
14
+ <${prefix}-button class="add-button" appearance="neutral" @click=${(x, y) => x.createEntity()}>
15
15
  <${prefix}-icon size="lg" name="plus"></${prefix}-icon>
16
16
  Add
17
17
  </${prefix}-button>
@@ -29,7 +29,7 @@ export const searchBarHeader = (prefix) => html `
29
29
  @selectionChange=${(x, ctx) => x.searchChanged(customEvent(ctx))}
30
30
  ></${prefix}-search-bar>
31
31
  ${when((x) => x.createEvent, html `
32
- <${prefix}-button appearance="neutral" @click=${(x, y) => x.createEntity()}>
32
+ <${prefix}-button class="add-button" appearance="neutral" @click=${(x, y) => x.createEntity()}>
33
33
  <${prefix}-icon size="lg" name="plus"></${prefix}-icon>
34
34
  Add
35
35
  </${prefix}-button>
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.183.0",
4
+ "version": "14.183.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -43,29 +43,29 @@
43
43
  "test:debug": "genx test --debug"
44
44
  },
45
45
  "devDependencies": {
46
- "@genesislcap/foundation-testing": "14.183.0",
47
- "@genesislcap/genx": "14.183.0",
48
- "@genesislcap/rollup-builder": "14.183.0",
49
- "@genesislcap/ts-builder": "14.183.0",
50
- "@genesislcap/uvu-playwright-builder": "14.183.0",
51
- "@genesislcap/vite-builder": "14.183.0",
52
- "@genesislcap/webpack-builder": "14.183.0",
46
+ "@genesislcap/foundation-testing": "14.183.2",
47
+ "@genesislcap/genx": "14.183.2",
48
+ "@genesislcap/rollup-builder": "14.183.2",
49
+ "@genesislcap/ts-builder": "14.183.2",
50
+ "@genesislcap/uvu-playwright-builder": "14.183.2",
51
+ "@genesislcap/vite-builder": "14.183.2",
52
+ "@genesislcap/webpack-builder": "14.183.2",
53
53
  "rimraf": "^3.0.2"
54
54
  },
55
55
  "dependencies": {
56
56
  "@ag-grid-community/core": "29.2.0",
57
- "@genesislcap/foundation-comms": "14.183.0",
58
- "@genesislcap/foundation-errors": "14.183.0",
59
- "@genesislcap/foundation-events": "14.183.0",
60
- "@genesislcap/foundation-forms": "14.183.0",
61
- "@genesislcap/foundation-logger": "14.183.0",
62
- "@genesislcap/foundation-login": "14.183.0",
63
- "@genesislcap/foundation-notifications": "14.183.0",
64
- "@genesislcap/foundation-ui": "14.183.0",
65
- "@genesislcap/foundation-utils": "14.183.0",
66
- "@genesislcap/foundation-zero": "14.183.0",
67
- "@genesislcap/foundation-zero-grid-pro": "14.183.0",
68
- "@genesislcap/grid-pro": "14.183.0",
57
+ "@genesislcap/foundation-comms": "14.183.2",
58
+ "@genesislcap/foundation-errors": "14.183.2",
59
+ "@genesislcap/foundation-events": "14.183.2",
60
+ "@genesislcap/foundation-forms": "14.183.2",
61
+ "@genesislcap/foundation-logger": "14.183.2",
62
+ "@genesislcap/foundation-login": "14.183.2",
63
+ "@genesislcap/foundation-notifications": "14.183.2",
64
+ "@genesislcap/foundation-ui": "14.183.2",
65
+ "@genesislcap/foundation-utils": "14.183.2",
66
+ "@genesislcap/foundation-zero": "14.183.2",
67
+ "@genesislcap/foundation-zero-grid-pro": "14.183.2",
68
+ "@genesislcap/grid-pro": "14.183.2",
69
69
  "@microsoft/fast-components": "^2.30.6",
70
70
  "@microsoft/fast-element": "^1.12.0",
71
71
  "@microsoft/fast-foundation": "^2.49.4",
@@ -81,5 +81,5 @@
81
81
  "access": "public"
82
82
  },
83
83
  "customElements": "dist/custom-elements.json",
84
- "gitHead": "deecb5a173b5b6bd7042a7699ddb7d24e32d1ce8"
84
+ "gitHead": "fcec30e0c7127ead30b2eee7ac82eddf25d75daf"
85
85
  }