@fluid-topics/ft-text-field 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 M=t=>({_$litStatic$:t}),U=new Map,V=(t=>(e,...i)=>{var r;const a=i.length;
101
101
  line-height: ${Vt};
102
102
  text-transform: ${Pt};
103
103
  }
104
- `;let te=class extends a.FtLitElement{constructor(){super(...arguments),this.variant=P.body1}getStyles(){return[Gt,Zt,Lt,qt,Wt,Kt,Xt,Yt,Jt,Qt]}getTemplate(){return this.element?V`
104
+ `;let te=class extends a.FtLitElement{constructor(){super(...arguments),this.variant=P.body1}getStyles(){return[Gt,Zt,Lt,qt,Wt,Kt,Xt,Yt,Jt,Qt,e.css`
105
+ .ft-typography {
106
+ vertical-align: inherit;
107
+ }
108
+ `]}getTemplate(){return this.element?V`
105
109
  <${M(this.element)}
106
110
  class="ft-typography ft-typography--${this.variant}">
107
111
  <slot></slot>
@@ -201,11 +205,11 @@ const M=t=>({_$litStatic$:t}),U=new Map,V=(t=>(e,...i)=>{var r;const a=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: ${ie.raisedZIndex};
206
210
  background-color: ${ie.colorSurface};
207
211
  border-radius: ${ie.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 {
@@ -180,7 +180,11 @@ const vt=t=>({_$litStatic$:t}),gt=new Map,bt=(t=>(e,...i)=>{var r;const o=i.leng
180
180
  line-height: ${be};
181
181
  text-transform: ${xe};
182
182
  }
183
- `;let Me=class extends ht{constructor(){super(...arguments),this.variant=xt.body1}getStyles(){return[we,$e,Oe,Se,Ee,ke,Re,Ce,Ne,Ae]}getTemplate(){return this.element?bt`
183
+ `;let Me=class extends ht{constructor(){super(...arguments),this.variant=xt.body1}getStyles(){return[we,$e,Oe,Se,Ee,ke,Re,Ce,Ne,Ae,a`
184
+ .ft-typography {
185
+ vertical-align: inherit;
186
+ }
187
+ `]}getTemplate(){return this.element?bt`
184
188
  <${vt(this.element)}
185
189
  class="ft-typography ft-typography--${this.variant}">
186
190
  <slot></slot>
@@ -280,11 +284,11 @@ const vt=t=>({_$litStatic$:t}),gt=new Map,bt=(t=>(e,...i)=>{var r;const o=i.leng
280
284
  }
281
285
 
282
286
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
283
- padding: 4px;
287
+ padding: 2px 4px;
284
288
  z-index: ${Te.raisedZIndex};
285
289
  background-color: ${Te.colorSurface};
286
290
  border-radius: ${Te.borderRadiusS};
287
- top: calc(var(--ft-typography-caption-line-height) / -2);
291
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
288
292
  }
289
293
 
290
294
  .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-text-field",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "A fluidtopics text field",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
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
  "lit": "^2.0.2"
27
27
  },
28
- "gitHead": "45fdf008556920bbd5fcc2e766c273aed959178d"
28
+ "gitHead": "9f649211936b1529bf691190603f2f721d2a72bd"
29
29
  }