@aquera/nile-elements 0.1.14 → 0.1.15

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.1.14",
6
+ "version": "0.1.15",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -216,7 +216,7 @@ export class NileCheckbox extends NileElement {
216
216
  @blur=${this.handleBlur}
217
217
  @focus=${this.handleFocus}
218
218
  />
219
-
219
+
220
220
  <span
221
221
  part="control${this.checked ? ' control--checked' : ''}${this
222
222
  .indeterminate
@@ -249,24 +249,17 @@ export class NileCheckbox extends NileElement {
249
249
  `
250
250
  : ''}
251
251
  </span>
252
-
252
+
253
253
  <div part="label" class="checkbox__label">
254
254
  ${typeof this.label === 'boolean' ? '' : this.label}
255
255
  <slot></slot>
256
256
  </div>
257
257
  </label>
258
-
258
+
259
259
  ${hasHelpText
260
- ? html`
261
- <nile-tooltip content="${this.helpText}" placement="bottom">
262
- <nile-icon
263
- name="question"
264
- class="checkbox__helptext-icon"
265
- ></nile-icon>
266
- </nile-tooltip>
267
- `
260
+ ? html` <nile-form-help-text>${this.helpText}</nile-form-help-text> `
268
261
  : ``}
269
-
262
+
270
263
  ${hasErrorMessage
271
264
  ? html`
272
265
  <nile-form-error-message