@fluid-topics/ft-tooltip 1.0.60 → 1.0.62

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.
@@ -106,12 +106,14 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
106
106
  vertical-align: inherit;
107
107
  }
108
108
  `,Oo=[Object.keys(q).map((t=>function(t){const o=q[t];return r.css`
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};
109
+ .ft-typography--${r.unsafeCSS(t)} {
110
+ font-family: ${o.fontFamily};
111
+ font-size: ${o.fontSize};
112
+ font-weight: ${o.fontWeight};
113
+ letter-spacing: ${o.letterSpacing};
114
+ line-height: ${o.lineHeight};
115
+ text-transform: ${o.textCase};
116
+ }
115
117
  `}(t)))];var No=function(t,o,r,e){for(var a,i=arguments.length,n=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,r,n):a(o,r))||n);return i>3&&n&&Object.defineProperty(o,r,n),n};class So extends o.FtLitElement{constructor(){super(...arguments),this.variant=_.body1}render(){return this.element?Y`
116
118
  <${P(this.element)}
117
119
  class="ft-typography ft-typography--${this.variant}">
@@ -197,12 +197,14 @@ const Wt=Symbol.for(""),Lt=t=>{if((null==t?void 0:t.r)===Wt)return null==t?void
197
197
  vertical-align: inherit;
198
198
  }
199
199
  `,re=[Object.keys(mt).map((t=>function(t){const o=mt[t];return u`
200
- font-family: ${o.fontFamily};
201
- font-size: ${o.fontSize};
202
- font-weight: ${o.fontWeight};
203
- letter-spacing: ${o.letterSpacing};
204
- line-height: ${o.lineHeight};
205
- text-transform: ${o.textCase};
200
+ .ft-typography--${g(t)} {
201
+ font-family: ${o.fontFamily};
202
+ font-size: ${o.fontSize};
203
+ font-weight: ${o.fontWeight};
204
+ letter-spacing: ${o.letterSpacing};
205
+ line-height: ${o.lineHeight};
206
+ text-transform: ${o.textCase};
207
+ }
206
208
  `}(t)))];var ae=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 ie extends Ut{constructor(){super(...arguments),this.variant=Zt.body1}render(){return this.element?$t`
207
209
  <${kt(this.element)}
208
210
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-tooltip",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "A simple tooltip component",
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-typography": "1.0.60",
23
- "@fluid-topics/ft-wc-utils": "1.0.60",
22
+ "@fluid-topics/ft-typography": "1.0.62",
23
+ "@fluid-topics/ft-wc-utils": "1.0.62",
24
24
  "lit": "2.7.2"
25
25
  },
26
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
26
+ "gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
27
27
  }