@vandeurenglenn/lite-elements 0.3.39 → 0.3.41

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.
@@ -31,8 +31,8 @@ import{_ as e,a as t,e as s}from"./custom-element-BOdKJYdz.js";import{a as o,i a
31
31
  dialog {
32
32
  pointer-events: none;
33
33
  border: none;
34
- min-width: var('--custom-dialog-min-width', 280px);
35
- max-width: var('--custom-dialog-max-width', 560px);
34
+ min-width: var(--custom-dialog-min-width, 280px);
35
+ max-width: var(--custom-dialog-max-width, 560px);
36
36
  width: fit-content;
37
37
  border-radius: var(--md-sys-shape-corner-extra-large);
38
38
  background-color: var(--md-sys-color-surface-container-high);
@@ -17,6 +17,8 @@ import{_ as e,a as t,e as s}from"./custom-element-BOdKJYdz.js";import{a as o,x a
17
17
  max-width: var(--custom-pane-width);
18
18
  transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
19
19
  var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
20
+
21
+ --custom-pane-footer-height: 54px;
20
22
  }
21
23
 
22
24
  :host([left]) {
@@ -63,13 +65,13 @@ import{_ as e,a as t,e as s}from"./custom-element-BOdKJYdz.js";import{a as o,x a
63
65
  }
64
66
 
65
67
  .content {
66
- height: 100%;
68
+ height: calc(100% - var(--custom-pane-footer-height));
67
69
  width: 100%;
68
70
  overflow-y: auto;
69
71
  }
70
72
 
71
73
  .footer {
72
- height: 54px;
74
+ height: var(--custom-pane-footer-height);
73
75
  }
74
76
 
75
77
  :host([right]) custom-icon-button {
package/exports/dialog.js CHANGED
@@ -127,8 +127,8 @@ let CustomDialog = (() => {
127
127
  dialog {
128
128
  pointer-events: none;
129
129
  border: none;
130
- min-width: var('--custom-dialog-min-width', 280px);
131
- max-width: var('--custom-dialog-max-width', 560px);
130
+ min-width: var(--custom-dialog-min-width, 280px);
131
+ max-width: var(--custom-dialog-max-width, 560px);
132
132
  width: fit-content;
133
133
  border-radius: var(--md-sys-shape-corner-extra-large);
134
134
  background-color: var(--md-sys-color-surface-container-high);
package/exports/pane.js CHANGED
@@ -94,6 +94,8 @@ let CustomPane = (() => {
94
94
  max-width: var(--custom-pane-width);
95
95
  transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
96
96
  var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
97
+
98
+ --custom-pane-footer-height: 54px;
97
99
  }
98
100
 
99
101
  :host([left]) {
@@ -140,13 +142,13 @@ let CustomPane = (() => {
140
142
  }
141
143
 
142
144
  .content {
143
- height: 100%;
145
+ height: calc(100% - var(--custom-pane-footer-height));
144
146
  width: 100%;
145
147
  overflow-y: auto;
146
148
  }
147
149
 
148
150
  .footer {
149
- height: 54px;
151
+ height: var(--custom-pane-footer-height);
150
152
  }
151
153
 
152
154
  :host([right]) custom-icon-button {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vandeurenglenn/lite-elements",
3
- "version": "0.3.39",
3
+ "version": "0.3.41",
4
4
  "description": "set of lite elements following Material Design 3 spec",
5
5
  "type": "module",
6
6
  "scripts": {