@fluid-topics/ft-dialog 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.
@@ -106,12 +106,14 @@ const j=Symbol.for(""),P=t=>{if((null==t?void 0:t.r)===j)return null==t?void 0:t
106
106
  vertical-align: inherit;
107
107
  }
108
108
  `,uo=[Object.keys(J).map((t=>function(t){const o=J[t];return e.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--${e.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 mo,xo,Oo=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 vo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Y.body1}render(){return this.element?_`
116
118
  <${M(this.element)}
117
119
  class="ft-typography ft-typography--${this.variant}">
@@ -200,12 +200,14 @@ var ht,ut;let yt=class extends U{constructor(){super(...arguments),this.renderOp
200
200
  vertical-align: inherit;
201
201
  }
202
202
  `,le=[Object.keys(Ot).map((t=>function(t){const o=Ot[t];return m`
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};
203
+ .ft-typography--${b(t)} {
204
+ font-family: ${o.fontFamily};
205
+ font-size: ${o.fontSize};
206
+ font-weight: ${o.fontWeight};
207
+ letter-spacing: ${o.letterSpacing};
208
+ line-height: ${o.lineHeight};
209
+ text-transform: ${o.textCase};
210
+ }
209
211
  `}(t)))];var se=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 ce extends kt{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?jt`
210
212
  <${At(this.element)}
211
213
  class="ft-typography ft-typography--${this.variant}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-dialog",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "A simple dialog component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.0.60",
23
- "@fluid-topics/ft-icon": "1.0.60",
24
- "@fluid-topics/ft-typography": "1.0.60",
25
- "@fluid-topics/ft-wc-utils": "1.0.60",
22
+ "@fluid-topics/ft-button": "1.0.61",
23
+ "@fluid-topics/ft-icon": "1.0.61",
24
+ "@fluid-topics/ft-typography": "1.0.61",
25
+ "@fluid-topics/ft-wc-utils": "1.0.61",
26
26
  "lit": "2.7.2"
27
27
  },
28
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
28
+ "gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
29
29
  }