@fluid-topics/ft-switch 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.
@@ -223,12 +223,14 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
223
223
  vertical-align: inherit;
224
224
  }
225
225
  `,$o=[Object.keys(pt).map((t=>function(t){const o=pt[t];return e.css`
226
- font-family: ${o.fontFamily};
227
- font-size: ${o.fontSize};
228
- font-weight: ${o.fontWeight};
229
- letter-spacing: ${o.letterSpacing};
230
- line-height: ${o.lineHeight};
231
- text-transform: ${o.textCase};
226
+ .ft-typography--${e.unsafeCSS(t)} {
227
+ font-family: ${o.fontFamily};
228
+ font-size: ${o.fontSize};
229
+ font-weight: ${o.fontWeight};
230
+ letter-spacing: ${o.letterSpacing};
231
+ line-height: ${o.lineHeight};
232
+ text-transform: ${o.textCase};
233
+ }
232
234
  `}(t)))];var Uo=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 Ro extends o.FtLitElement{constructor(){super(...arguments),this.variant=at.body1}render(){return this.element?it`
233
235
  <${et(this.element)}
234
236
  class="ft-typography ft-typography--${this.variant}">
@@ -329,12 +329,14 @@ const qt=Symbol.for(""),Xt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void
329
329
  vertical-align: inherit;
330
330
  }
331
331
  `,xe=[Object.keys(Ot).map((t=>function(t){const o=Ot[t];return b`
332
- font-family: ${o.fontFamily};
333
- font-size: ${o.fontSize};
334
- font-weight: ${o.fontWeight};
335
- letter-spacing: ${o.letterSpacing};
336
- line-height: ${o.lineHeight};
337
- text-transform: ${o.textCase};
332
+ .ft-typography--${u(t)} {
333
+ font-family: ${o.fontFamily};
334
+ font-size: ${o.fontSize};
335
+ font-weight: ${o.fontWeight};
336
+ letter-spacing: ${o.letterSpacing};
337
+ line-height: ${o.lineHeight};
338
+ text-transform: ${o.textCase};
339
+ }
338
340
  `}(t)))];var Oe=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 ve extends $t{constructor(){super(...arguments),this.variant=eo.body1}render(){return this.element?oo`
339
341
  <${Qt(this.element)}
340
342
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-switch",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "two-state",
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-ripple": "1.0.60",
24
- "@fluid-topics/ft-tooltip": "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.62",
23
+ "@fluid-topics/ft-ripple": "1.0.62",
24
+ "@fluid-topics/ft-tooltip": "1.0.62",
25
+ "@fluid-topics/ft-typography": "1.0.62",
26
+ "@fluid-topics/ft-wc-utils": "1.0.62",
27
27
  "lit": "2.7.2"
28
28
  },
29
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
29
+ "gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
30
30
  }