@fluid-topics/ft-reader-toc 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 X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
105
105
  vertical-align: inherit;
106
106
  }
107
107
  `,Co=[Object.keys(at).map((t=>function(t){const o=at[t];return e.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--${e.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 $o=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class wo extends o.FtLitElement{constructor(){super(...arguments),this.variant=ot.body1}render(){return this.element?tt`
115
117
  <${J(this.element)}
116
118
  class="ft-typography ft-typography--${this.variant}">
@@ -209,12 +209,14 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
209
209
  vertical-align: inherit;
210
210
  }
211
211
  `,De=[Object.keys(St).map((t=>function(t){const o=St[t];return m`
212
- font-family: ${o.fontFamily};
213
- font-size: ${o.fontSize};
214
- font-weight: ${o.fontWeight};
215
- letter-spacing: ${o.letterSpacing};
216
- line-height: ${o.lineHeight};
217
- text-transform: ${o.textCase};
212
+ .ft-typography--${b(t)} {
213
+ font-family: ${o.fontFamily};
214
+ font-size: ${o.fontSize};
215
+ font-weight: ${o.fontWeight};
216
+ letter-spacing: ${o.letterSpacing};
217
+ line-height: ${o.lineHeight};
218
+ text-transform: ${o.textCase};
219
+ }
218
220
  `}(t)))];var Me=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class He extends Wt{constructor(){super(...arguments),this.variant=wo.body1}render(){return this.element?So`
219
221
  <${Oo(this.element)}
220
222
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "1.0.60",
23
- "@fluid-topics/ft-reader-context": "1.0.60",
24
- "@fluid-topics/ft-size-watcher": "1.0.60",
25
- "@fluid-topics/ft-typography": "1.0.60",
26
- "@fluid-topics/ft-wc-utils": "1.0.60",
22
+ "@fluid-topics/ft-icon": "1.0.61",
23
+ "@fluid-topics/ft-reader-context": "1.0.61",
24
+ "@fluid-topics/ft-size-watcher": "1.0.61",
25
+ "@fluid-topics/ft-typography": "1.0.61",
26
+ "@fluid-topics/ft-wc-utils": "1.0.61",
27
27
  "lit": "2.7.2"
28
28
  },
29
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
29
+ "gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
30
30
  }