@vandeurenglenn/lite-elements 0.3.60 → 0.3.62

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.
@@ -9,6 +9,7 @@ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as o,i as a,x as s,s
9
9
  position: relative;
10
10
  pointer-events: auto;
11
11
  cursor: pointer;
12
+ overflow: hidden;
12
13
 
13
14
  --elevation-level: 0;
14
15
  }
@@ -25,8 +26,8 @@ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as o,i as a,x as s,s
25
26
  cursor: pointer;
26
27
  border-radius: inherit;
27
28
  padding: 0;
28
- width: inherit;
29
- height: inherit;
29
+ width: 100%;
30
+ height: 100%;
30
31
  display: flex;
31
32
  position: relative;
32
33
  pointer-events: none;
@@ -35,6 +36,7 @@ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as o,i as a,x as s,s
35
36
  .label {
36
37
  flex: 1;
37
38
  text-align: end;
39
+ font-size: inherit;
38
40
  }
39
41
 
40
42
  .label,
@@ -104,6 +106,9 @@ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as o,i as a,x as s,s
104
106
  :host([has-label]) .label {
105
107
  padding-left: 24px;
106
108
  padding-right: 24px;
109
+ align-items: center;
110
+ display: flex;
111
+ justify-content: center;
107
112
  }
108
113
 
109
114
  :host([has-icon]:not([has-label])) {
package/exports/button.js CHANGED
@@ -60,6 +60,7 @@ let CustomButton = (() => {
60
60
  position: relative;
61
61
  pointer-events: auto;
62
62
  cursor: pointer;
63
+ overflow: hidden;
63
64
 
64
65
  --elevation-level: 0;
65
66
  }
@@ -76,8 +77,8 @@ let CustomButton = (() => {
76
77
  cursor: pointer;
77
78
  border-radius: inherit;
78
79
  padding: 0;
79
- width: inherit;
80
- height: inherit;
80
+ width: 100%;
81
+ height: 100%;
81
82
  display: flex;
82
83
  position: relative;
83
84
  pointer-events: none;
@@ -86,6 +87,7 @@ let CustomButton = (() => {
86
87
  .label {
87
88
  flex: 1;
88
89
  text-align: end;
90
+ font-size: inherit;
89
91
  }
90
92
 
91
93
  .label,
@@ -155,6 +157,9 @@ let CustomButton = (() => {
155
157
  :host([has-label]) .label {
156
158
  padding-left: 24px;
157
159
  padding-right: 24px;
160
+ align-items: center;
161
+ display: flex;
162
+ justify-content: center;
158
163
  }
159
164
 
160
165
  :host([has-icon]:not([has-label])) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vandeurenglenn/lite-elements",
3
- "version": "0.3.60",
3
+ "version": "0.3.62",
4
4
  "description": "set of lite elements following Material Design 3 spec",
5
5
  "type": "module",
6
6
  "scripts": {