@fluid-topics/ft-reader-feedback 1.0.29 → 1.0.30

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.
@@ -685,8 +685,6 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
685
685
  color: ${Ct.selectedTextColor};
686
686
  }
687
687
  `;var Fe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Le extends CustomEvent{constructor(){super("option-change",{bubbles:!0,composed:!0})}}class Pe extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}updated(t){super.updated(t),t.has("selected")&&this.dispatchEvent(new Le)}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(i.html`
688
- <input id="input" type="radio" class="ft-switch-option--input"
689
- .checked=${this.selected}>
690
688
  <label part="label" for="input" class=${n.classMap(t)}
691
689
  @click=${this.onChange}>
692
690
  <div class="ft-switch-option--content">
@@ -700,6 +698,8 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
700
698
  ${this.resolveIcon()}
701
699
  </div>
702
700
  </label>
701
+ <input id="input" type="radio" class="ft-switch-option--input"
702
+ .checked=${this.selected}>
703
703
  `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:i.html`
704
704
  <ft-tooltip part="tooltip"
705
705
  text="${this.getLabel()}"
@@ -797,8 +797,6 @@ const Ao=yo(class extends go{constructor(t){var e;if(super(t),t.type!==vo||"clas
797
797
  color: ${no.selectedTextColor};
798
798
  }
799
799
  `;var Do=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Bo extends CustomEvent{constructor(){super("option-change",{bubbles:!0,composed:!0})}}class Lo extends It{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}updated(t){super.updated(t),t.has("selected")&&this.dispatchEvent(new Bo)}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(tt`
800
- <input id="input" type="radio" class="ft-switch-option--input"
801
- .checked=${this.selected}>
802
800
  <label part="label" for="input" class=${Ao(t)}
803
801
  @click=${this.onChange}>
804
802
  <div class="ft-switch-option--content">
@@ -812,6 +810,8 @@ const Ao=yo(class extends go{constructor(t){var e;if(super(t),t.type!==vo||"clas
812
810
  ${this.resolveIcon()}
813
811
  </div>
814
812
  </label>
813
+ <input id="input" type="radio" class="ft-switch-option--input"
814
+ .checked=${this.selected}>
815
815
  `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:tt`
816
816
  <ft-tooltip part="tooltip"
817
817
  text="${this.getLabel()}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-feedback",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Feedback forms for a map and its topics in an integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-app-context": "1.0.29",
23
- "@fluid-topics/ft-reader-context": "1.0.29",
24
- "@fluid-topics/ft-wc-utils": "1.0.29",
22
+ "@fluid-topics/ft-app-context": "1.0.30",
23
+ "@fluid-topics/ft-reader-context": "1.0.30",
24
+ "@fluid-topics/ft-wc-utils": "1.0.30",
25
25
  "lit": "2.7.2"
26
26
  },
27
- "gitHead": "42bc522b00a0462c9515187000553c7d120b22b5"
27
+ "gitHead": "72be58696ee1a1c080a094809e9c20e47d9ead73"
28
28
  }