@fluid-topics/ft-typography 0.1.7 → 0.1.10

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.
@@ -239,7 +239,12 @@ let FtTypography = class FtTypography extends FtLitElement {
239
239
  FtTypographyCaption,
240
240
  FtTypographyBreadcrumb,
241
241
  FtTypographyOverline,
242
- FtTypographyButton
242
+ FtTypographyButton,
243
+ css `
244
+ .ft-typography {
245
+ vertical-align: inherit;
246
+ }
247
+ `
243
248
  ];
244
249
  }
245
250
  getTemplate() {
@@ -101,7 +101,11 @@ const j=t=>({_$litStatic$:t}),k=new Map,C=(t=>(i,...e)=>{var o;const n=e.length;
101
101
  line-height: ${it.lineHeight};
102
102
  text-transform: ${it.textTransform};
103
103
  }
104
- `;t.FtTypography=class extends o.FtLitElement{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}getStyles(){return[et,ot,nt,rt,st,ht,lt,ft,at,pt]}getTemplate(){return this.element?C`
104
+ `;t.FtTypography=class extends o.FtLitElement{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}getStyles(){return[et,ot,nt,rt,st,ht,lt,ft,at,pt,i.css`
105
+ .ft-typography {
106
+ vertical-align: inherit;
107
+ }
108
+ `]}getTemplate(){return this.element?C`
105
109
  <${j(this.element)}
106
110
  class="ft-typography ft-typography--${this.variant}">
107
111
  <slot></slot>
@@ -147,7 +147,11 @@ const et=t=>({_$litStatic$:t}),it=new Map,nt=(t=>(e,...i)=>{var n;const o=i.leng
147
147
  line-height: ${Rt.lineHeight};
148
148
  text-transform: ${Rt.textTransform};
149
149
  }
150
- `;var At;t.FtTypography=class extends ht{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}getStyles(){return[Et,Ct,Mt,Ft,Ut,Tt,zt,jt,kt,Lt]}getTemplate(){return this.element?nt`
150
+ `;var At;t.FtTypography=class extends ht{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}getStyles(){return[Et,Ct,Mt,Ft,Ut,Tt,zt,jt,kt,Lt,s`
151
+ .ft-typography {
152
+ vertical-align: inherit;
153
+ }
154
+ `]}getTemplate(){return this.element?nt`
151
155
  <${et(this.element)}
152
156
  class="ft-typography ft-typography--${this.variant}">
153
157
  <slot></slot>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-typography",
3
- "version": "0.1.7",
3
+ "version": "0.1.10",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "^0.1.7",
22
+ "@fluid-topics/ft-wc-utils": "^0.1.10",
23
23
  "lit": "^2.0.2"
24
24
  },
25
- "gitHead": "78397cca67971191c46739cfb6c87481aaa65745"
25
+ "gitHead": "af9249642eff7416fb4aa6371f82cb3f99086cec"
26
26
  }