@fluid-topics/ft-resizer 1.3.45 → 1.3.46

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.
@@ -51,7 +51,7 @@
51
51
  ${(0,y.unsafeHTML)(this.resolvedIcon)}
52
52
  <slot ?hidden=${a}></slot>
53
53
  </i>
54
- `}get textContent(){var t,a;return(a=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(r=>r.textContent).join("").trim())!==null&&a!==void 0?a:""}update(t){super.update(t),["value","variant"].some(a=>t.has(a))&&this.resolveIcon()}resolveIcon(){var t,a;let r=this.value||this.textContent;switch(this.variant){case f.file_format:this.resolvedIcon=(t=i[r.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:r;break;case f.material:this.resolvedIcon=this.value||T.nothing;break;default:this.resolvedIcon=(a=u[r.replace("-","_").toUpperCase()])!==null&&a!==void 0?a:r;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};m.elementDefinitions={};m.styles=B;N([(0,_.property)()],m.prototype,"variant",void 0);N([(0,_.property)()],m.prototype,"value",void 0);N([(0,_.property)({reflect:!0,attribute:"aria-hidden"})],m.prototype,"ariaHidden",void 0);N([(0,_.state)()],m.prototype,"resolvedIcon",void 0);N([(0,_.query)("slot")],m.prototype,"slottedContent",void 0);(0,K.customElement)("ft-icon")(m);var Y=o(R()),h=o(L()),w={colorOutline:h.FtCssVariableFactory.external(h.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:h.FtCssVariableFactory.external(h.designSystemVariables.colorOnSurfaceMedium,"Design system")},X=Y.css`
54
+ `}getTextContent(){var t,a;return(a=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(r=>r.textContent).join("").trim())!==null&&a!==void 0?a:""}update(t){super.update(t),["value","variant"].some(a=>t.has(a))&&this.resolveIcon()}resolveIcon(){var t,a;let r=this.value||this.getTextContent();switch(this.variant){case f.file_format:this.resolvedIcon=(t=i[r.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:r;break;case f.material:this.resolvedIcon=this.value||T.nothing;break;default:this.resolvedIcon=(a=u[r.replace("-","_").toUpperCase()])!==null&&a!==void 0?a:r;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};m.elementDefinitions={};m.styles=B;N([(0,_.property)()],m.prototype,"variant",void 0);N([(0,_.property)()],m.prototype,"value",void 0);N([(0,_.property)({reflect:!0,attribute:"aria-hidden"})],m.prototype,"ariaHidden",void 0);N([(0,_.state)()],m.prototype,"resolvedIcon",void 0);N([(0,_.query)("slot")],m.prototype,"slottedContent",void 0);(0,K.customElement)("ft-icon")(m);var Y=o(R()),h=o(L()),w={colorOutline:h.FtCssVariableFactory.external(h.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:h.FtCssVariableFactory.external(h.designSystemVariables.colorOnSurfaceMedium,"Design system")},X=Y.css`
55
55
  :host {
56
56
  display: block;
57
57
  }
@@ -135,7 +135,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
135
135
  ${Xr(this.resolvedIcon)}
136
136
  <slot ?hidden=${o}></slot>
137
137
  </i>
138
- `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case he.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case he.material:this.resolvedIcon=this.value||W;break;default:this.resolvedIcon=(o=Lr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};te.elementDefinitions={};te.styles=Ds;Yt([P()],te.prototype,"variant",void 0);Yt([P()],te.prototype,"value",void 0);Yt([P({reflect:!0,attribute:"aria-hidden"})],te.prototype,"ariaHidden",void 0);Yt([q()],te.prototype,"resolvedIcon",void 0);Yt([Kr("slot")],te.prototype,"slottedContent",void 0);Dt("ft-icon")(te);var ks={colorOutline:r.external(ur.colorOutline,"Design system"),colorOnSurfaceMedium:r.external(ur.colorOnSurfaceMedium,"Design system")},Ms=z`
138
+ `}getTextContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.getTextContent();switch(this.variant){case he.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case he.material:this.resolvedIcon=this.value||W;break;default:this.resolvedIcon=(o=Lr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};te.elementDefinitions={};te.styles=Ds;Yt([P()],te.prototype,"variant",void 0);Yt([P()],te.prototype,"value",void 0);Yt([P({reflect:!0,attribute:"aria-hidden"})],te.prototype,"ariaHidden",void 0);Yt([q()],te.prototype,"resolvedIcon",void 0);Yt([Kr("slot")],te.prototype,"slottedContent",void 0);Dt("ft-icon")(te);var ks={colorOutline:r.external(ur.colorOutline,"Design system"),colorOnSurfaceMedium:r.external(ur.colorOnSurfaceMedium,"Design system")},Ms=z`
139
139
  :host {
140
140
  display: block;
141
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-resizer",
3
- "version": "1.3.45",
3
+ "version": "1.3.46",
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.3.45",
23
- "@fluid-topics/ft-wc-utils": "1.3.45",
22
+ "@fluid-topics/ft-icon": "1.3.46",
23
+ "@fluid-topics/ft-wc-utils": "1.3.46",
24
24
  "lit": "3.1.0"
25
25
  },
26
- "gitHead": "3fd3d1375535575f012653afcbcb81dc3c25b7c7"
26
+ "gitHead": "d6cf25d6ed0dead8c7aff4f94a493c35d12f1392"
27
27
  }