@fluid-topics/ft-in-product-help 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.
@@ -317,12 +317,14 @@
317
317
  vertical-align: inherit;
318
318
  }
319
319
  `,Yt=[Object.keys(U).map((t=>function(t){const o=U[t];return e.css`
320
- font-family: ${o.fontFamily};
321
- font-size: ${o.fontSize};
322
- font-weight: ${o.fontWeight};
323
- letter-spacing: ${o.letterSpacing};
324
- line-height: ${o.lineHeight};
325
- text-transform: ${o.textCase};
320
+ .ft-typography--${e.unsafeCSS(t)} {
321
+ font-family: ${o.fontFamily};
322
+ font-size: ${o.fontSize};
323
+ font-weight: ${o.fontWeight};
324
+ letter-spacing: ${o.letterSpacing};
325
+ line-height: ${o.lineHeight};
326
+ text-transform: ${o.textCase};
327
+ }
326
328
  `}(t)))],_t={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Vt=e.css`
327
329
  :host {
328
330
  line-height: 0;
@@ -630,7 +632,7 @@ const jo=Symbol.for(""),To=t=>{if((null==t?void 0:t.r)===jo)return null==t?void
630
632
  </ft-tooltip>
631
633
  `:t}resolveIcon(){return this.loading?e.html`
632
634
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
633
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}se.elementDefinitions={"ft-ripple":lo,"ft-tooltip":le,"ft-typography":Jo,"ft-icon":b,"ft-loader":ce},pe([r.property({type:String,reflect:!0})],se.prototype,"role",void 0),pe([r.property()],se.prototype,"type",void 0),pe([r.property({type:Boolean})],se.prototype,"disabled",void 0),pe([r.property()],se.prototype,"label",void 0),pe([r.property()],se.prototype,"icon",void 0),pe([r.property()],se.prototype,"iconVariant",void 0),pe([r.property({type:Boolean})],se.prototype,"trailingIcon",void 0),pe([r.property({type:Boolean})],se.prototype,"loading",void 0),pe([r.property()],se.prototype,"tooltipPosition",void 0),pe([r.property({type:Boolean})],se.prototype,"hideTooltip",void 0),pe([r.property({type:Boolean})],se.prototype,"forceTooltip",void 0),pe([r.query(".ft-button")],se.prototype,"button",void 0),pe([r.query(".ft-button--label slot")],se.prototype,"slottedContent",void 0);var fe=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 de extends se{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}de.styles=[o.safariEllipsisFix,io],fe([r.property({type:Boolean})],de.prototype,"primary",void 0),fe([r.property({type:Boolean})],de.prototype,"outlined",void 0),fe([r.property({type:Boolean})],de.prototype,"disabled",void 0),fe([r.property({type:Boolean})],de.prototype,"dense",void 0),fe([r.property({type:Boolean})],de.prototype,"round",void 0);const he=[e.css`
635
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}se.elementDefinitions={"ft-ripple":lo,"ft-tooltip":le,"ft-typography":Jo,"ft-icon":b,"ft-loader":ce},pe([r.property({type:String,reflect:!0})],se.prototype,"role",void 0),pe([r.property()],se.prototype,"type",void 0),pe([r.property({type:Boolean})],se.prototype,"disabled",void 0),pe([r.property()],se.prototype,"label",void 0),pe([r.property()],se.prototype,"icon",void 0),pe([r.property()],se.prototype,"iconVariant",void 0),pe([r.property({type:Boolean})],se.prototype,"trailingIcon",void 0),pe([r.property({type:Boolean})],se.prototype,"loading",void 0),pe([r.property()],se.prototype,"tooltipPosition",void 0),pe([r.property({type:Boolean})],se.prototype,"hideTooltip",void 0),pe([r.property({type:Boolean})],se.prototype,"forceTooltip",void 0),pe([r.query(".ft-button")],se.prototype,"button",void 0),pe([r.query(".ft-button--label slot")],se.prototype,"slottedContent",void 0);var fe=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 de extends se{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}de.styles=[o.safariEllipsisFix,io],fe([r.property({type:Boolean})],de.prototype,"primary",void 0),fe([r.property({type:Boolean})],de.prototype,"outlined",void 0),fe([r.property({type:Boolean})],de.prototype,"dense",void 0),fe([r.property({type:Boolean})],de.prototype,"round",void 0);const he=[e.css`
634
636
  :host {
635
637
  display: inline-block;
636
638
  max-width: 100%;
@@ -429,12 +429,14 @@ const oo=jt(class extends Tt{constructor(t){var o;if(super(t),t.type!==Ht||"clas
429
429
  vertical-align: inherit;
430
430
  }
431
431
  `,Re=[Object.keys(vt).map((t=>function(t){const o=vt[t];return b`
432
- font-family: ${o.fontFamily};
433
- font-size: ${o.fontSize};
434
- font-weight: ${o.fontWeight};
435
- letter-spacing: ${o.letterSpacing};
436
- line-height: ${o.lineHeight};
437
- text-transform: ${o.textCase};
432
+ .ft-typography--${g(t)} {
433
+ font-family: ${o.fontFamily};
434
+ font-size: ${o.fontSize};
435
+ font-weight: ${o.fontWeight};
436
+ letter-spacing: ${o.letterSpacing};
437
+ line-height: ${o.lineHeight};
438
+ text-transform: ${o.textCase};
439
+ }
438
440
  `}(t)))],Ee={color:bt.extend("--ft-loader-color","",St.colorPrimary),size:bt.create("--ft-loader-size","","SIZE","80px")},Ie=b`
439
441
  :host {
440
442
  line-height: 0;
@@ -748,7 +750,7 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
748
750
  </ft-tooltip>
749
751
  `:t}resolveIcon(){return this.loading?Y`
750
752
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Y`
751
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:J}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ar.elementDefinitions={"ft-ripple":De,"ft-tooltip":rr,"ft-typography":Ve,"ft-icon":to,"ft-loader":ir},nr([r({type:String,reflect:!0})],ar.prototype,"role",void 0),nr([r()],ar.prototype,"type",void 0),nr([r({type:Boolean})],ar.prototype,"disabled",void 0),nr([r()],ar.prototype,"label",void 0),nr([r()],ar.prototype,"icon",void 0),nr([r()],ar.prototype,"iconVariant",void 0),nr([r({type:Boolean})],ar.prototype,"trailingIcon",void 0),nr([r({type:Boolean})],ar.prototype,"loading",void 0),nr([r()],ar.prototype,"tooltipPosition",void 0),nr([r({type:Boolean})],ar.prototype,"hideTooltip",void 0),nr([r({type:Boolean})],ar.prototype,"forceTooltip",void 0),nr([a(".ft-button")],ar.prototype,"button",void 0),nr([a(".ft-button--label slot")],ar.prototype,"slottedContent",void 0);var lr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sr extends ar{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}sr.styles=[Wt,Be],lr([r({type:Boolean})],sr.prototype,"primary",void 0),lr([r({type:Boolean})],sr.prototype,"outlined",void 0),lr([r({type:Boolean})],sr.prototype,"disabled",void 0),lr([r({type:Boolean})],sr.prototype,"dense",void 0),lr([r({type:Boolean})],sr.prototype,"round",void 0);const cr=[b`
753
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:J}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ar.elementDefinitions={"ft-ripple":De,"ft-tooltip":rr,"ft-typography":Ve,"ft-icon":to,"ft-loader":ir},nr([r({type:String,reflect:!0})],ar.prototype,"role",void 0),nr([r()],ar.prototype,"type",void 0),nr([r({type:Boolean})],ar.prototype,"disabled",void 0),nr([r()],ar.prototype,"label",void 0),nr([r()],ar.prototype,"icon",void 0),nr([r()],ar.prototype,"iconVariant",void 0),nr([r({type:Boolean})],ar.prototype,"trailingIcon",void 0),nr([r({type:Boolean})],ar.prototype,"loading",void 0),nr([r()],ar.prototype,"tooltipPosition",void 0),nr([r({type:Boolean})],ar.prototype,"hideTooltip",void 0),nr([r({type:Boolean})],ar.prototype,"forceTooltip",void 0),nr([a(".ft-button")],ar.prototype,"button",void 0),nr([a(".ft-button--label slot")],ar.prototype,"slottedContent",void 0);var lr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sr extends ar{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}sr.styles=[Wt,Be],lr([r({type:Boolean})],sr.prototype,"primary",void 0),lr([r({type:Boolean})],sr.prototype,"outlined",void 0),lr([r({type:Boolean})],sr.prototype,"dense",void 0),lr([r({type:Boolean})],sr.prototype,"round",void 0);const cr=[b`
752
754
  :host {
753
755
  display: inline-block;
754
756
  max-width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-in-product-help",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "Embeddable fluid-topics iframe",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.0.60",
22
+ "@fluid-topics/ft-wc-utils": "1.0.62",
23
23
  "lit": "2.7.2"
24
24
  },
25
- "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
25
+ "gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
26
26
  }