@design.estate/dees-catalog 3.46.0 → 3.47.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "3.46.0",
3
+ "version": "3.47.0",
4
4
  "private": false,
5
5
  "description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
6
6
  "main": "dist_ts_web/index.js",
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
19
  "@design.estate/dees-domtools": "^2.3.9",
20
- "@design.estate/dees-element": "^2.1.6",
20
+ "@design.estate/dees-element": "^2.2.1",
21
21
  "@design.estate/dees-wcctools": "^3.8.0",
22
22
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
23
23
  "@fortawesome/free-brands-svg-icons": "^7.2.0",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '3.46.0',
6
+ version: '3.47.0',
7
7
  description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
8
8
  }
@@ -219,11 +219,13 @@ export class DeesAppui extends DeesElement {
219
219
  .maingrid > dees-appui-mainmenu {
220
220
  position: relative;
221
221
  z-index: 3;
222
+ min-height: 0;
222
223
  }
223
224
 
224
225
  .maingrid > dees-appui-secondarymenu {
225
226
  position: relative;
226
227
  z-index: 2;
228
+ min-height: 0;
227
229
  }
228
230
 
229
231
  .maingrid > dees-appui-maincontent {
@@ -10,6 +10,7 @@ import {
10
10
  css,
11
11
  unsafeCSS,
12
12
  cssManager,
13
+ containerResponsive,
13
14
  } from '@design.estate/dees-element';
14
15
  import type { TemplateResult } from '@design.estate/dees-element';
15
16
 
@@ -93,6 +94,7 @@ export interface IStatsTile {
93
94
  actions?: plugins.tsclass.website.IMenuItem[];
94
95
  }
95
96
 
97
+ @containerResponsive()
96
98
  @customElement('dees-statsgrid')
97
99
  export class DeesStatsGrid extends DeesElement {
98
100
  public static demo = demoFunc;
@@ -801,6 +803,33 @@ export class DeesStatsGrid extends DeesElement {
801
803
  z-index: 1000;
802
804
  }
803
805
  `,
806
+ // Container-responsive: when this statsgrid is narrow
807
+ cssManager.cssForPhablet(css`
808
+ :host {
809
+ --tile-padding: 12px;
810
+ --value-font-size: 22px;
811
+ --title-font-size: 12px;
812
+ --grid-gap: 8px;
813
+ }
814
+ .stats-grid {
815
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
816
+ gap: 8px;
817
+ }
818
+ .stats-tile {
819
+ grid-column: span 1 !important;
820
+ }
821
+ `, this),
822
+ cssManager.cssForPhone(css`
823
+ :host {
824
+ --tile-padding: 10px;
825
+ --value-font-size: 20px;
826
+ --header-spacing: 8px;
827
+ }
828
+ .stats-grid {
829
+ grid-template-columns: 1fr;
830
+ gap: 6px;
831
+ }
832
+ `, this),
804
833
  ];
805
834
 
806
835
  constructor() {