@fluid-topics/ft-toggle 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.
@@ -156,12 +156,14 @@ const Y=Symbol.for(""),_=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
156
156
  vertical-align: inherit;
157
157
  }
158
158
  `,Co=[Object.keys(V).map((t=>function(t){const o=V[t];return r.css`
159
- font-family: ${o.fontFamily};
160
- font-size: ${o.fontSize};
161
- font-weight: ${o.fontWeight};
162
- letter-spacing: ${o.letterSpacing};
163
- line-height: ${o.lineHeight};
164
- text-transform: ${o.textCase};
159
+ .ft-typography--${r.unsafeCSS(t)} {
160
+ font-family: ${o.fontFamily};
161
+ font-size: ${o.fontSize};
162
+ font-weight: ${o.fontWeight};
163
+ letter-spacing: ${o.letterSpacing};
164
+ line-height: ${o.lineHeight};
165
+ text-transform: ${o.textCase};
166
+ }
165
167
  `}(t)))];var xo=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 Io extends o.FtLitElement{constructor(){super(...arguments),this.variant=X.body1}render(){return this.element?T`
166
168
  <${M(this.element)}
167
169
  class="ft-typography ft-typography--${this.variant}">
@@ -242,12 +242,14 @@ const Ut=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e)
242
242
  vertical-align: inherit;
243
243
  }
244
244
  `,ie=[Object.keys(gt).map((t=>function(t){const o=gt[t];return d`
245
- font-family: ${o.fontFamily};
246
- font-size: ${o.fontSize};
247
- font-weight: ${o.fontWeight};
248
- letter-spacing: ${o.letterSpacing};
249
- line-height: ${o.lineHeight};
250
- text-transform: ${o.textCase};
245
+ .ft-typography--${h(t)} {
246
+ font-family: ${o.fontFamily};
247
+ font-size: ${o.fontSize};
248
+ font-weight: ${o.fontWeight};
249
+ letter-spacing: ${o.letterSpacing};
250
+ line-height: ${o.lineHeight};
251
+ text-transform: ${o.textCase};
252
+ }
251
253
  `}(t)))];var ne=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 le extends Ct{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Ft`
252
254
  <${$t(this.element)}
253
255
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-toggle",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "A simple toggle 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
  }