@aquera/nile-elements 0.0.5-6 → 0.0.5-7

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.5-6",
6
+ "version": "0.0.5-7",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -239,11 +239,14 @@ export class NileCheckbox extends NileElement {
239
239
  </label>
240
240
 
241
241
  ${hasHelpText
242
- ? html` <nile-icon name="question" @click=${this.toggleHelpText} class="checkbox__helptext-icon"></nile-icon> `
243
- : ``}
244
-
245
- ${hasHelpText && this.showHelpText
246
- ? html` <nile-form-help-text>${this.helpText}</nile-form-help-text> `
242
+ ? html`
243
+ <nile-tooltip content="${this.helpText}" placement="bottom">
244
+ <nile-icon
245
+ name="question"
246
+ class="checkbox__helptext-icon"
247
+ ></nile-icon>
248
+ </nile-tooltip>
249
+ `
247
250
  : ``}
248
251
 
249
252
  ${hasErrorMessage