@fluid-topics/ft-reader-title 1.0.60 → 1.0.61

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.
@@ -105,12 +105,14 @@ const _=Symbol.for(""),T=t=>{if((null==t?void 0:t.r)===_)return null==t?void 0:t
105
105
  vertical-align: inherit;
106
106
  }
107
107
  `,Oo=[Object.keys(ot).map((t=>function(t){const o=ot[t];return r.css`
108
- font-family: ${o.fontFamily};
109
- font-size: ${o.fontSize};
110
- font-weight: ${o.fontWeight};
111
- letter-spacing: ${o.letterSpacing};
112
- line-height: ${o.lineHeight};
113
- text-transform: ${o.textCase};
108
+ .ft-typography--${r.unsafeCSS(t)} {
109
+ font-family: ${o.fontFamily};
110
+ font-size: ${o.fontSize};
111
+ font-weight: ${o.fontWeight};
112
+ letter-spacing: ${o.letterSpacing};
113
+ line-height: ${o.lineHeight};
114
+ text-transform: ${o.textCase};
115
+ }
114
116
  `}(t)))];var No=function(t,o,r,e){for(var a,n=arguments.length,i=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,r,i):a(o,r))||i);return n>3&&i&&Object.defineProperty(o,r,i),i};class So extends o.FtLitElement{constructor(){super(...arguments),this.variant=J.body1}render(){return this.element?q`
115
117
  <${j(this.element)}
116
118
  class="ft-typography ft-typography--${this.variant}">
@@ -185,12 +185,14 @@ var st,pt;let ft=class extends w{constructor(){super(...arguments),this.renderOp
185
185
  vertical-align: inherit;
186
186
  }
187
187
  `,se=[Object.keys(ut).map((t=>function(t){const o=ut[t];return y`
188
- font-family: ${o.fontFamily};
189
- font-size: ${o.fontSize};
190
- font-weight: ${o.fontWeight};
191
- letter-spacing: ${o.letterSpacing};
192
- line-height: ${o.lineHeight};
193
- text-transform: ${o.textCase};
188
+ .ft-typography--${d(t)} {
189
+ font-family: ${o.fontFamily};
190
+ font-size: ${o.fontSize};
191
+ font-weight: ${o.fontWeight};
192
+ letter-spacing: ${o.letterSpacing};
193
+ line-height: ${o.lineHeight};
194
+ text-transform: ${o.textCase};
195
+ }
194
196
  `}(t)))];var pe=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class fe extends wt{constructor(){super(...arguments),this.variant=Tt.body1}render(){return this.element?jt`
195
197
  <${Pt(this.element)}
196
198
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-title",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Title for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-reader-context": "1.0.60",
23
- "@fluid-topics/ft-wc-utils": "1.0.60",
22
+ "@fluid-topics/ft-reader-context": "1.0.61",
23
+ "@fluid-topics/ft-wc-utils": "1.0.61",
24
24
  "lit": "2.7.2"
25
25
  },
26
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
26
+ "gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
27
27
  }