@fluid-topics/ft-resizer 1.0.0-alpha.0 → 1.0.0

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.
@@ -33,6 +33,7 @@
33
33
 
34
34
  /* Ugly fix because font is broken */
35
35
  font-size: calc(0.75 * ${a});
36
+ line-height: ${a};
36
37
  position: relative;
37
38
  top: -4%;
38
39
  justify-content: center;
@@ -46,7 +47,7 @@
46
47
  font-family: ${l}, "Material Icons", sans-serif;
47
48
  }
48
49
  `;var h;!function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"}(h||(h={}));var p=function(e,t,i,s){for(var x,o=arguments.length,n=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(x=e[a])&&(n=(o<3?x(n):o>3?x(t,i,n):x(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class d extends t.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const e=this.variant&&Object.values(h).includes(this.variant)?this.variant:h.fluid_topics,t=e!==h.material||!!this.value;return i.html`
49
- <i class="ft-icon ${"ft-icon--"+e}">
50
+ <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
50
51
  ${x.unsafeHTML(this.resolvedIcon)}
51
52
  <slot ?hidden=${t}></slot>
52
53
  </i>
@@ -136,6 +136,7 @@ const Ct=2;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
136
136
 
137
137
  /* Ugly fix because font is broken */
138
138
  font-size: calc(0.75 * ${Ut});
139
+ line-height: ${Ut};
139
140
  position: relative;
140
141
  top: -4%;
141
142
  justify-content: center;
@@ -149,7 +150,7 @@ const Ct=2;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
149
150
  font-family: ${At}, "Material Icons", sans-serif;
150
151
  }
151
152
  `;var _t;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(_t||(_t={}));var Dt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Tt extends wt{constructor(){super(...arguments),this.resolvedIcon=J}render(){const t=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,e=t!==_t.material||!!this.value;return V`
152
- <i class="ft-icon ${"ft-icon--"+t}">
153
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
153
154
  ${Rt(this.resolvedIcon)}
154
155
  <slot ?hidden=${e}></slot>
155
156
  </i>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-resizer",
3
- "version": "1.0.0-alpha.0",
3
+ "version": "1.0.0",
4
4
  "description": "small",
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-icon": "1.0.0-alpha.0",
23
- "@fluid-topics/ft-wc-utils": "1.0.0-alpha.0",
22
+ "@fluid-topics/ft-icon": "1.0.0",
23
+ "@fluid-topics/ft-wc-utils": "1.0.0",
24
24
  "lit": "2.7.2"
25
25
  },
26
- "gitHead": "e20baae36b79d721b948090d552affaf92c4f12f"
26
+ "gitHead": "90895771e0ea740f1a0d972b9fd3796051757255"
27
27
  }