@fluid-topics/ft-text-area 0.1.8 → 0.1.11

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,Wt,qt,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,Wt,qt,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>
@@ -251,11 +255,11 @@ var ee=function(t,e){return ee=Object.setPrototypeOf||{__proto__:[]}instanceof A
251
255
  }
252
256
 
253
257
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
254
- padding: 4px;
258
+ padding: 2px 4px;
255
259
  z-index: ${ue.raisedZIndex};
256
260
  background-color: ${ue.colorSurface};
257
261
  border-radius: ${ue.borderRadiusS};
258
- top: calc(var(--ft-typography-caption-line-height) / -2);
262
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
259
263
  }
260
264
 
261
265
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
@@ -180,7 +180,11 @@ const bt=t=>({_$litStatic$:t}),xt=new Map,wt=(t=>(e,...i)=>{var r;const o=i.leng
180
180
  line-height: ${we};
181
181
  text-transform: ${$e};
182
182
  }
183
- `;let Fe=class extends mt{constructor(){super(...arguments),this.variant=$t.body1}getStyles(){return[Oe,Se,Ee,ke,Re,Ce,Ne,ze,Ae,Me]}getTemplate(){return this.element?wt`
183
+ `;let Fe=class extends mt{constructor(){super(...arguments),this.variant=$t.body1}getStyles(){return[Oe,Se,Ee,ke,Re,Ce,Ne,ze,Ae,Me,a`
184
+ .ft-typography {
185
+ vertical-align: inherit;
186
+ }
187
+ `]}getTemplate(){return this.element?wt`
184
188
  <${bt(this.element)}
185
189
  class="ft-typography ft-typography--${this.variant}">
186
190
  <slot></slot>
@@ -330,11 +334,11 @@ var Te=function(t,e){return Te=Object.setPrototypeOf||{__proto__:[]}instanceof A
330
334
  }
331
335
 
332
336
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
333
- padding: 4px;
337
+ padding: 2px 4px;
334
338
  z-index: ${Ze.raisedZIndex};
335
339
  background-color: ${Ze.colorSurface};
336
340
  border-radius: ${Ze.borderRadiusS};
337
- top: calc(var(--ft-typography-caption-line-height) / -2);
341
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
338
342
  }
339
343
 
340
344
  .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-area",
3
- "version": "0.1.8",
3
+ "version": "0.1.11",
4
4
  "description": "A fluidtopics text field",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-resizer": "^0.1.8",
23
- "@fluid-topics/ft-ripple": "^0.1.8",
24
- "@fluid-topics/ft-wc-utils": "^0.1.8",
22
+ "@fluid-topics/ft-resizer": "^0.1.11",
23
+ "@fluid-topics/ft-ripple": "^0.1.11",
24
+ "@fluid-topics/ft-wc-utils": "^0.1.11",
25
25
  "lit": "^2.0.2"
26
26
  },
27
- "gitHead": "45fdf008556920bbd5fcc2e766c273aed959178d"
27
+ "gitHead": "58da96e373802fca9767059a895dc5e525f743ae"
28
28
  }