@genesislcap/foundation-entity-management 15.87.0 → 15.88.1-GENC-0.7

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.
@@ -131,7 +131,7 @@
131
131
  {
132
132
  "kind": "variable",
133
133
  "name": "styles",
134
- "default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host::part(before-header),\n :host::part(before-footer) {\n justify-content: flex-start;\n }\n\n :host::part(header),\n :host::part(footer) {\n margin-left: auto;\n }\n\n :host::part(header),\n :host::part(after-header),\n :host::part(footer),\n :host::part(after-footer) {\n display: flex;\n user-select: none;\n }\n\n div.footer-container {\n display: flex;\n align-items: center;\n }\n\n div.header-container {\n display: flex;\n align-items: center;\n }\n\n slot[name='before-header']:not(:has(::slotted(*))),\n slot[name='after-header']:not(:has(::slotted(*))),\n slot[name='before-footer']:not(:has(::slotted(*))),\n slot[name='after-footer']:not(:has(::slotted(*))) {\n display: none;\n }\n\n :host::part(after-header),\n :host::part(after-footer) {\n justify-content: flex-end;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n min-height: 400px;\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex: 1;\n justify-content: flex-end;\n }\n\n .search-container rapid-search-bar {\n width: 500px;\n margin-left: calc(var(--design-unit) * 4px);\n }\n\n .custom-buttons,\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .custom-buttons-wrapper,\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .custom-buttons-wrapper-column,\n .custom-buttons-wrapper-top,\n .crud-buttons-wrapper-column,\n .crud-buttons-wrapper-top {\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n\n .custom-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .filter-button {\n margin-left: calc(var(--design-unit) * 2px);\n }\n\n .main-content {\n height: 100%;\n display: flex;\n }\n\n .filters-modal {\n overflow-y: auto;\n }\n\n .filters-modal foundation-filters {\n min-height: 400px;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .grid-content-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n }\n`",
134
+ "default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host::part(before-header),\n :host::part(before-footer) {\n justify-content: flex-start;\n }\n\n :host::part(header),\n :host::part(footer) {\n margin-left: auto;\n }\n\n :host::part(header),\n :host::part(after-header),\n :host::part(footer),\n :host::part(after-footer) {\n display: flex;\n user-select: none;\n }\n\n div.footer-container {\n display: flex;\n align-items: center;\n }\n\n div.header-container {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n }\n\n slot[name='before-header']:not(:has(::slotted(*))),\n slot[name='after-header']:not(:has(::slotted(*))),\n slot[name='before-footer']:not(:has(::slotted(*))),\n slot[name='after-footer']:not(:has(::slotted(*))) {\n display: none;\n }\n\n :host::part(after-header),\n :host::part(after-footer) {\n justify-content: flex-end;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n min-height: 400px;\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex: 1;\n justify-content: flex-end;\n flex-wrap: wrap;\n }\n\n /*\n * Fills the rest of the title's row, so the toolbar only wraps when it doesn't fit. Filling\n * leaves the part's auto margin no room, so flex-end keeps slotted content right-aligned.\n */\n slot[name='header'] {\n flex: auto;\n justify-content: flex-end;\n }\n\n /* Shrinks in narrow containers so the toolbar wraps instead of clipping its trailing buttons. */\n .search-container [part='search-bar'] {\n flex: 0 1 500px;\n min-width: 200px;\n max-width: calc(100% - calc(var(--design-unit) * 4px));\n margin-left: calc(var(--design-unit) * 4px);\n }\n\n .custom-buttons,\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .custom-buttons-wrapper,\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .search-container .custom-buttons-wrapper,\n .search-container .custom-buttons,\n .search-container .crud-buttons-wrapper,\n .search-container .crud-buttons {\n flex-wrap: wrap;\n }\n\n .custom-buttons-wrapper-column,\n .custom-buttons-wrapper-top,\n .crud-buttons-wrapper-column,\n .crud-buttons-wrapper-top {\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n\n .custom-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .filter-button {\n margin-left: calc(var(--design-unit) * 2px);\n }\n\n .main-content {\n height: 100%;\n display: flex;\n }\n\n .filters-modal {\n overflow-y: auto;\n }\n\n .filters-modal foundation-filters {\n min-height: 400px;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .grid-content-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n }\n`",
135
135
  "description": "Defines the css of the entity component as an ElementStyles object"
136
136
  }
137
137
  ],
@@ -3024,55 +3024,6 @@
3024
3024
  }
3025
3025
  ]
3026
3026
  },
3027
- {
3028
- "kind": "javascript-module",
3029
- "path": "src/layouts/default.ts",
3030
- "declarations": [
3031
- {
3032
- "kind": "variable",
3033
- "name": "loginLayout",
3034
- "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
3035
- },
3036
- {
3037
- "kind": "variable",
3038
- "name": "defaultLayout",
3039
- "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
3040
- }
3041
- ],
3042
- "exports": [
3043
- {
3044
- "kind": "js",
3045
- "name": "loginLayout",
3046
- "declaration": {
3047
- "name": "loginLayout",
3048
- "module": "src/layouts/default.ts"
3049
- }
3050
- },
3051
- {
3052
- "kind": "js",
3053
- "name": "defaultLayout",
3054
- "declaration": {
3055
- "name": "defaultLayout",
3056
- "module": "src/layouts/default.ts"
3057
- }
3058
- }
3059
- ]
3060
- },
3061
- {
3062
- "kind": "javascript-module",
3063
- "path": "src/layouts/index.ts",
3064
- "declarations": [],
3065
- "exports": [
3066
- {
3067
- "kind": "js",
3068
- "name": "*",
3069
- "declaration": {
3070
- "name": "*",
3071
- "package": "./default"
3072
- }
3073
- }
3074
- ]
3075
- },
3076
3027
  {
3077
3028
  "kind": "javascript-module",
3078
3029
  "path": "src/list/index.ts",
@@ -3873,6 +3824,55 @@
3873
3824
  }
3874
3825
  ]
3875
3826
  },
3827
+ {
3828
+ "kind": "javascript-module",
3829
+ "path": "src/layouts/default.ts",
3830
+ "declarations": [
3831
+ {
3832
+ "kind": "variable",
3833
+ "name": "loginLayout",
3834
+ "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
3835
+ },
3836
+ {
3837
+ "kind": "variable",
3838
+ "name": "defaultLayout",
3839
+ "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
3840
+ }
3841
+ ],
3842
+ "exports": [
3843
+ {
3844
+ "kind": "js",
3845
+ "name": "loginLayout",
3846
+ "declaration": {
3847
+ "name": "loginLayout",
3848
+ "module": "src/layouts/default.ts"
3849
+ }
3850
+ },
3851
+ {
3852
+ "kind": "js",
3853
+ "name": "defaultLayout",
3854
+ "declaration": {
3855
+ "name": "defaultLayout",
3856
+ "module": "src/layouts/default.ts"
3857
+ }
3858
+ }
3859
+ ]
3860
+ },
3861
+ {
3862
+ "kind": "javascript-module",
3863
+ "path": "src/layouts/index.ts",
3864
+ "declarations": [],
3865
+ "exports": [
3866
+ {
3867
+ "kind": "js",
3868
+ "name": "*",
3869
+ "declaration": {
3870
+ "name": "*",
3871
+ "package": "./default"
3872
+ }
3873
+ }
3874
+ ]
3875
+ },
3876
3876
  {
3877
3877
  "kind": "javascript-module",
3878
3878
  "path": "src/main/index.ts",
@@ -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,iDAuJlB,CAAC"}
1
+ {"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDA4KlB,CAAC"}
@@ -54,6 +54,7 @@ export const styles = css `
54
54
  div.header-container {
55
55
  display: flex;
56
56
  align-items: center;
57
+ flex-wrap: wrap;
57
58
  }
58
59
 
59
60
  slot[name='before-header']:not(:has(::slotted(*))),
@@ -97,10 +98,23 @@ export const styles = css `
97
98
  gap: calc(var(--design-unit) * 2px);
98
99
  flex: 1;
99
100
  justify-content: flex-end;
101
+ flex-wrap: wrap;
100
102
  }
101
103
 
102
- .search-container rapid-search-bar {
103
- width: 500px;
104
+ /*
105
+ * Fills the rest of the title's row, so the toolbar only wraps when it doesn't fit. Filling
106
+ * leaves the part's auto margin no room, so flex-end keeps slotted content right-aligned.
107
+ */
108
+ slot[name='header'] {
109
+ flex: auto;
110
+ justify-content: flex-end;
111
+ }
112
+
113
+ /* Shrinks in narrow containers so the toolbar wraps instead of clipping its trailing buttons. */
114
+ .search-container [part='search-bar'] {
115
+ flex: 0 1 500px;
116
+ min-width: 200px;
117
+ max-width: calc(100% - calc(var(--design-unit) * 4px));
104
118
  margin-left: calc(var(--design-unit) * 4px);
105
119
  }
106
120
 
@@ -117,6 +131,13 @@ export const styles = css `
117
131
  justify-content: flex-end;
118
132
  }
119
133
 
134
+ .search-container .custom-buttons-wrapper,
135
+ .search-container .custom-buttons,
136
+ .search-container .crud-buttons-wrapper,
137
+ .search-container .crud-buttons {
138
+ flex-wrap: wrap;
139
+ }
140
+
120
141
  .custom-buttons-wrapper-column,
121
142
  .custom-buttons-wrapper-top,
122
143
  .crud-buttons-wrapper-column,
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": "15.87.0",
4
+ "version": "15.88.1-GENC-0.7",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -49,31 +49,31 @@
49
49
  }
50
50
  },
51
51
  "devDependencies": {
52
- "@genesislcap/foundation-testing": "15.87.0",
53
- "@genesislcap/genx": "15.87.0",
54
- "@genesislcap/ts-builder": "15.87.0",
55
- "@genesislcap/uvu-playwright-builder": "15.87.0",
56
- "@genesislcap/vite-builder": "15.87.0",
57
- "@genesislcap/webpack-builder": "15.87.0"
52
+ "@genesislcap/foundation-testing": "15.88.1-GENC-0.7",
53
+ "@genesislcap/genx": "15.88.1-GENC-0.7",
54
+ "@genesislcap/ts-builder": "15.88.1-GENC-0.7",
55
+ "@genesislcap/uvu-playwright-builder": "15.88.1-GENC-0.7",
56
+ "@genesislcap/vite-builder": "15.88.1-GENC-0.7",
57
+ "@genesislcap/webpack-builder": "15.88.1-GENC-0.7"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@ag-grid-community/core": "29.2.0",
61
61
  "ag-grid-community": "36.2.0"
62
62
  },
63
63
  "dependencies": {
64
- "@genesislcap/foundation-ai": "15.87.0",
65
- "@genesislcap/foundation-auth": "15.87.0",
66
- "@genesislcap/foundation-comms": "15.87.0",
67
- "@genesislcap/foundation-errors": "15.87.0",
68
- "@genesislcap/foundation-events": "15.87.0",
69
- "@genesislcap/foundation-forms": "15.87.0",
70
- "@genesislcap/foundation-logger": "15.87.0",
71
- "@genesislcap/foundation-notifications": "15.87.0",
72
- "@genesislcap/foundation-ui": "15.87.0",
73
- "@genesislcap/foundation-utils": "15.87.0",
74
- "@genesislcap/grid-pro": "15.87.0",
75
- "@genesislcap/rapid-design-system": "15.87.0",
76
- "@genesislcap/web-core": "15.87.0",
64
+ "@genesislcap/foundation-ai": "15.88.1-GENC-0.7",
65
+ "@genesislcap/foundation-auth": "15.88.1-GENC-0.7",
66
+ "@genesislcap/foundation-comms": "15.88.1-GENC-0.7",
67
+ "@genesislcap/foundation-errors": "15.88.1-GENC-0.7",
68
+ "@genesislcap/foundation-events": "15.88.1-GENC-0.7",
69
+ "@genesislcap/foundation-forms": "15.88.1-GENC-0.7",
70
+ "@genesislcap/foundation-logger": "15.88.1-GENC-0.7",
71
+ "@genesislcap/foundation-notifications": "15.88.1-GENC-0.7",
72
+ "@genesislcap/foundation-ui": "15.88.1-GENC-0.7",
73
+ "@genesislcap/foundation-utils": "15.88.1-GENC-0.7",
74
+ "@genesislcap/grid-pro": "15.88.1-GENC-0.7",
75
+ "@genesislcap/rapid-design-system": "15.88.1-GENC-0.7",
76
+ "@genesislcap/web-core": "15.88.1-GENC-0.7",
77
77
  "change-case": "^4.1.2"
78
78
  },
79
79
  "repository": {