@fluid-topics/ft-reader-topic-metadata 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.
@@ -109,12 +109,14 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
109
109
  vertical-align: inherit;
110
110
  }
111
111
  `,No=[Object.keys(ct).map((t=>function(t){const o=ct[t];return e.css`
112
- font-family: ${o.fontFamily};
113
- font-size: ${o.fontSize};
114
- font-weight: ${o.fontWeight};
115
- letter-spacing: ${o.letterSpacing};
116
- line-height: ${o.lineHeight};
117
- text-transform: ${o.textCase};
112
+ .ft-typography--${e.unsafeCSS(t)} {
113
+ font-family: ${o.fontFamily};
114
+ font-size: ${o.fontSize};
115
+ font-weight: ${o.fontWeight};
116
+ letter-spacing: ${o.letterSpacing};
117
+ line-height: ${o.lineHeight};
118
+ text-transform: ${o.textCase};
119
+ }
118
120
  `}(t)))];var So=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class $o extends o.FtLitElement{constructor(){super(...arguments),this.variant=rt.body1}render(){return this.element?it`
119
121
  <${ot(this.element)}
120
122
  class="ft-typography ft-typography--${this.variant}">
@@ -199,12 +199,14 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
199
199
  vertical-align: inherit;
200
200
  }
201
201
  `,ve=[Object.keys(xt).map((t=>function(t){const o=xt[t];return b`
202
- font-family: ${o.fontFamily};
203
- font-size: ${o.fontSize};
204
- font-weight: ${o.fontWeight};
205
- letter-spacing: ${o.letterSpacing};
206
- line-height: ${o.lineHeight};
207
- text-transform: ${o.textCase};
202
+ .ft-typography--${g(t)} {
203
+ font-family: ${o.fontFamily};
204
+ font-size: ${o.fontSize};
205
+ font-weight: ${o.fontWeight};
206
+ letter-spacing: ${o.letterSpacing};
207
+ line-height: ${o.lineHeight};
208
+ text-transform: ${o.textCase};
209
+ }
208
210
  `}(t)))];var xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oe extends It{constructor(){super(...arguments),this.variant=lo.body1}render(){return this.element?ao`
209
211
  <${ro(this.element)}
210
212
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-topic-metadata",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Metadata of a topic in integrated reader.",
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": "1.0.60",
22
+ "@fluid-topics/ft-wc-utils": "1.0.61",
23
23
  "lit": "2.7.2"
24
24
  },
25
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
25
+ "gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
26
26
  }