@fluid-topics/ft-select 0.1.8 → 0.1.9

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.
@@ -101,7 +101,11 @@ const U=t=>({_$litStatic$:t}),P=new Map,G=(t=>(e,...i)=>{var r;const o=i.length;
101
101
  line-height: ${Gt};
102
102
  text-transform: ${Vt};
103
103
  }
104
- `;let ee=class extends a.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}getStyles(){return[Zt,Lt,qt,Wt,Kt,Xt,Yt,Jt,Qt,te]}getTemplate(){return this.element?G`
104
+ `;let ee=class extends a.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}getStyles(){return[Zt,Lt,qt,Wt,Kt,Xt,Yt,Jt,Qt,te,e.css`
105
+ .ft-typography {
106
+ vertical-align: inherit;
107
+ }
108
+ `]}getTemplate(){return this.element?G`
105
109
  <${U(this.element)}
106
110
  class="ft-typography ft-typography--${this.variant}">
107
111
  <slot></slot>
@@ -201,11 +205,11 @@ const U=t=>({_$litStatic$:t}),P=new Map,G=(t=>(e,...i)=>{var r;const o=i.length;
201
205
  }
202
206
 
203
207
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
204
- padding: 4px;
208
+ padding: 2px 4px;
205
209
  z-index: ${re.raisedZIndex};
206
210
  background-color: ${re.colorSurface};
207
211
  border-radius: ${re.borderRadiusS};
208
- top: calc(var(--ft-typography-caption-line-height) / -2);
212
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
209
213
  }
210
214
 
211
215
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
@@ -185,7 +185,11 @@ const Nt=t=>({_$litStatic$:t}),At=new Map,Mt=(t=>(e,...i)=>{var r;const o=i.leng
185
185
  line-height: ${Me};
186
186
  text-transform: ${Fe};
187
187
  }
188
- `;let He=class extends Et{constructor(){super(...arguments),this.variant=Ft.body1}getStyles(){return[Te,ze,Ue,je,_e,De,Be,Ie,Pe,Le]}getTemplate(){return this.element?Mt`
188
+ `;let He=class extends Et{constructor(){super(...arguments),this.variant=Ft.body1}getStyles(){return[Te,ze,Ue,je,_e,De,Be,Ie,Pe,Le,s`
189
+ .ft-typography {
190
+ vertical-align: inherit;
191
+ }
192
+ `]}getTemplate(){return this.element?Mt`
189
193
  <${Nt(this.element)}
190
194
  class="ft-typography ft-typography--${this.variant}">
191
195
  <slot></slot>
@@ -285,11 +289,11 @@ const Nt=t=>({_$litStatic$:t}),At=new Map,Mt=(t=>(e,...i)=>{var r;const o=i.leng
285
289
  }
286
290
 
287
291
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
288
- padding: 4px;
292
+ padding: 2px 4px;
289
293
  z-index: ${Ve.raisedZIndex};
290
294
  background-color: ${Ve.colorSurface};
291
295
  border-radius: ${Ve.borderRadiusS};
292
- top: calc(var(--ft-typography-caption-line-height) / -2);
296
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
293
297
  }
294
298
 
295
299
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-select",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Value selector for a predefined list of choices",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-input-label": "^0.1.8",
23
- "@fluid-topics/ft-ripple": "^0.1.8",
24
- "@fluid-topics/ft-typography": "^0.1.8",
25
- "@fluid-topics/ft-wc-utils": "^0.1.8",
22
+ "@fluid-topics/ft-input-label": "^0.1.9",
23
+ "@fluid-topics/ft-ripple": "^0.1.9",
24
+ "@fluid-topics/ft-typography": "^0.1.9",
25
+ "@fluid-topics/ft-wc-utils": "^0.1.9",
26
26
  "@material/mwc-icon": "^0.25.3",
27
27
  "lit": "^2.0.2"
28
28
  },
29
- "gitHead": "45fdf008556920bbd5fcc2e766c273aed959178d"
29
+ "gitHead": "9f649211936b1529bf691190603f2f721d2a72bd"
30
30
  }