@statistikzh/leu 0.18.0 → 0.18.1
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/Accordion.js +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/ChartWrapper.js +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/CheckboxGroup.js +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ChipGroup.js +1 -1
- package/dist/ChipLink.js +1 -1
- package/dist/ChipRemovable.js +1 -1
- package/dist/ChipSelectable.js +1 -1
- package/dist/Dialog.js +1 -1
- package/dist/Dropdown.js +1 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.d.ts +0 -9
- package/dist/Input.js +4 -23
- package/dist/{LeuElement-DlQXnrk8.js → LeuElement-DgiuzsX9.js} +1 -1
- package/dist/Menu.js +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Message.js +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/Placeholder.js +1 -1
- package/dist/Popup.js +1 -1
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/Range.js +1 -1
- package/dist/ScrollTop.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/Tag.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/components/input/Input.d.ts +0 -9
- package/dist/components/input/Input.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/leu-accordion.js +1 -1
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.js +1 -1
- package/dist/leu-chart-wrapper.js +1 -1
- package/dist/leu-checkbox-group.js +1 -1
- package/dist/leu-checkbox.js +1 -1
- package/dist/leu-chip-group.js +1 -1
- package/dist/leu-chip-link.js +1 -1
- package/dist/leu-chip-removable.js +1 -1
- package/dist/leu-chip-selectable.js +1 -1
- package/dist/leu-dialog.js +1 -1
- package/dist/leu-dropdown.js +1 -1
- package/dist/leu-icon.js +1 -1
- package/dist/leu-input.js +1 -1
- package/dist/leu-menu-item.js +1 -1
- package/dist/leu-menu.js +1 -1
- package/dist/leu-message.js +1 -1
- package/dist/leu-pagination.js +1 -1
- package/dist/leu-placeholder.js +1 -1
- package/dist/leu-popup.js +1 -1
- package/dist/leu-radio-group.js +1 -1
- package/dist/leu-radio.js +1 -1
- package/dist/leu-range.js +1 -1
- package/dist/leu-scroll-top.js +1 -1
- package/dist/leu-select.js +1 -1
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.js +1 -1
- package/dist/leu-tag.js +1 -1
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
- package/src/components/input/Input.ts +3 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.1](https://github.com/statistikZH/leu/compare/leu-v0.18.0...leu-v0.18.1) (2025-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* release 0.18.1 ([e857924](https://github.com/statistikZH/leu/commit/e8579242a7c6e87dae7b9228baba6bd3ef62cf5d))
|
|
9
|
+
|
|
3
10
|
## [0.18.0](https://github.com/statistikZH/leu/compare/leu-v0.17.0...leu-v0.18.0) (2025-09-10)
|
|
4
11
|
|
|
5
12
|
|
package/dist/Accordion.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, nothing } from 'lit';
|
|
3
3
|
import { unsafeStatic, html } from 'lit/static-html.js';
|
|
4
4
|
import { property } from 'lit/decorators.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
|
|
7
7
|
var css_248z = css`:host {
|
|
8
8
|
--accordion-font-regular: var(--leu-font-family-regular);
|
package/dist/Button.js
CHANGED
|
@@ -4,7 +4,7 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
5
5
|
import { property } from 'lit/decorators.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
|
-
import { L as LeuElement } from './LeuElement-
|
|
7
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
8
8
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css, html } from 'lit';
|
|
2
|
-
import { L as LeuElement } from './LeuElement-
|
|
2
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
3
3
|
import { LeuButton } from './Button.js';
|
|
4
4
|
import './_tslib-CNEFicEt.js';
|
|
5
5
|
import 'lit/directives/class-map.js';
|
package/dist/ChartWrapper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, nothing, html } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
5
5
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import { LeuSpinner } from './Spinner.js';
|
|
7
7
|
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
5
5
|
import { LeuIcon } from './Icon.js';
|
|
6
6
|
|
|
7
7
|
var css_248z = css`:host {
|
package/dist/CheckboxGroup.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { property } from 'lit/decorators.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import { LeuCheckbox } from './Checkbox.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
|
package/dist/Chip.js
CHANGED
package/dist/ChipGroup.js
CHANGED
package/dist/ChipLink.js
CHANGED
package/dist/ChipRemovable.js
CHANGED
package/dist/ChipSelectable.js
CHANGED
package/dist/Dialog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css, nothing, html } from 'lit';
|
|
2
2
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
5
5
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
import './_tslib-CNEFicEt.js';
|
package/dist/Dropdown.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, nothing, html } from 'lit';
|
|
2
2
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
3
|
-
import { L as LeuElement } from './LeuElement-
|
|
3
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
4
4
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
5
5
|
import { LeuButton } from './Button.js';
|
|
6
6
|
import { LeuMenu } from './Menu.js';
|
package/dist/Icon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, html, svg } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
5
5
|
|
|
6
6
|
var css_248z = css`:host {
|
|
7
7
|
display: contents;
|
package/dist/Input.d.ts
CHANGED
|
@@ -197,15 +197,6 @@ declare class LeuInput extends LeuElement {
|
|
|
197
197
|
* @fires {CustomEvent} change
|
|
198
198
|
*/
|
|
199
199
|
clear(): void;
|
|
200
|
-
/**
|
|
201
|
-
* Method for getting the id of the input element.
|
|
202
|
-
* If the id attribute is set, the value of the id attribute is returned.
|
|
203
|
-
* Otherwise a random id is generated and returned.
|
|
204
|
-
*
|
|
205
|
-
* @private
|
|
206
|
-
* @returns {string} id
|
|
207
|
-
*/
|
|
208
|
-
getId(): any;
|
|
209
200
|
/**
|
|
210
201
|
* Merge custom and default validation messages.
|
|
211
202
|
* A validation message can be a function or a string.
|
package/dist/Input.js
CHANGED
|
@@ -3,7 +3,7 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
|
3
3
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
4
|
import { live } from 'lit/directives/live.js';
|
|
5
5
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
6
|
-
import { L as LeuElement } from './LeuElement-
|
|
6
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
7
7
|
import { LeuIcon } from './Icon.js';
|
|
8
8
|
import './_tslib-CNEFicEt.js';
|
|
9
9
|
import 'lit/decorators.js';
|
|
@@ -448,25 +448,6 @@ class LeuInput extends LeuElement {
|
|
|
448
448
|
this.dispatchEvent(new CustomEvent("input", { bubbles: true, composed: true }));
|
|
449
449
|
this.dispatchEvent(new CustomEvent("change", { bubbles: true, composed: true }));
|
|
450
450
|
}
|
|
451
|
-
/**
|
|
452
|
-
* Method for getting the id of the input element.
|
|
453
|
-
* If the id attribute is set, the value of the id attribute is returned.
|
|
454
|
-
* Otherwise a random id is generated and returned.
|
|
455
|
-
*
|
|
456
|
-
* @private
|
|
457
|
-
* @returns {string} id
|
|
458
|
-
*/
|
|
459
|
-
getId() {
|
|
460
|
-
const id = this.getAttribute("id");
|
|
461
|
-
if (id !== null && id !== "") {
|
|
462
|
-
return id;
|
|
463
|
-
}
|
|
464
|
-
if (this._identifier !== "") {
|
|
465
|
-
return this._identifier;
|
|
466
|
-
}
|
|
467
|
-
this._identifier = crypto.randomUUID();
|
|
468
|
-
return this._identifier;
|
|
469
|
-
}
|
|
470
451
|
/**
|
|
471
452
|
* Merge custom and default validation messages.
|
|
472
453
|
* A validation message can be a function or a string.
|
|
@@ -523,7 +504,7 @@ class LeuInput extends LeuElement {
|
|
|
523
504
|
errorMessages = [this.error, errorMessages];
|
|
524
505
|
}
|
|
525
506
|
return html `
|
|
526
|
-
<ul class="error" aria-errormessage
|
|
507
|
+
<ul class="error" aria-errormessage="input">
|
|
527
508
|
${errorMessages.map((message) => html `<li class="error-message">${message}</li>`)}
|
|
528
509
|
</ul>
|
|
529
510
|
`;
|
|
@@ -574,7 +555,7 @@ class LeuInput extends LeuElement {
|
|
|
574
555
|
>
|
|
575
556
|
<input
|
|
576
557
|
class="input"
|
|
577
|
-
id="input
|
|
558
|
+
id="input"
|
|
578
559
|
type=${this.type}
|
|
579
560
|
name=${this.name}
|
|
580
561
|
@change=${this.handleChange}
|
|
@@ -593,7 +574,7 @@ class LeuInput extends LeuElement {
|
|
|
593
574
|
ref=${ref(this._inputRef)}
|
|
594
575
|
aria-invalid=${isInvalid}
|
|
595
576
|
/>
|
|
596
|
-
<label for="input
|
|
577
|
+
<label for="input" class="label">${this.label}</label>
|
|
597
578
|
${this.prefix
|
|
598
579
|
? html `<div class="prefix" .aria-hidden=${true}>${this.prefix}</div>`
|
|
599
580
|
: nothing}
|
package/dist/Menu.js
CHANGED
package/dist/MenuItem.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, html, nothing } from 'lit';
|
|
2
2
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
3
|
-
import { L as LeuElement } from './LeuElement-
|
|
3
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
4
4
|
import { LeuIcon } from './Icon.js';
|
|
5
5
|
import './_tslib-CNEFicEt.js';
|
|
6
6
|
import 'lit/decorators.js';
|
package/dist/Message.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
4
|
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
8
8
|
|
package/dist/Pagination.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { live } from 'lit/directives/live.js';
|
|
4
4
|
import { property, state } from 'lit/decorators.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import { LeuButton } from './Button.js';
|
|
7
7
|
import { LeuVisuallyHidden } from './VisuallyHidden.js';
|
|
8
8
|
import { LeuIcon } from './Icon.js';
|
package/dist/Placeholder.js
CHANGED
package/dist/Popup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, html } from 'lit';
|
|
2
2
|
import { autoUpdate, size, flip, shift, computePosition } from '@floating-ui/dom';
|
|
3
|
-
import { L as LeuElement } from './LeuElement-
|
|
3
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
4
4
|
|
|
5
5
|
var css_248z = css`:host {
|
|
6
6
|
--popup-font-regular: var(--leu-font-family-regular);
|
package/dist/Radio.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
5
5
|
|
|
6
6
|
var css_248z = css`:host {
|
|
7
7
|
--radio-color: var(--leu-color-black-40);
|
package/dist/RadioGroup.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { property } from 'lit/decorators.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import { LeuRadio } from './Radio.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = css`:host {
|
package/dist/Range.js
CHANGED
package/dist/ScrollTop.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, html } from 'lit';
|
|
2
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
3
|
-
import { L as LeuElement } from './LeuElement-
|
|
3
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
4
4
|
import { LeuButton } from './Button.js';
|
|
5
5
|
import { LeuIcon } from './Icon.js';
|
|
6
6
|
import './_tslib-CNEFicEt.js';
|
package/dist/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import { css, nothing, html } from 'lit';
|
|
|
2
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
3
3
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
7
7
|
import { LeuButton } from './Button.js';
|
|
8
8
|
import { LeuMenu } from './Menu.js';
|
package/dist/Spinner.js
CHANGED
package/dist/Table.js
CHANGED
|
@@ -2,7 +2,7 @@ import { css, html, nothing } from 'lit';
|
|
|
2
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
3
3
|
import { styleMap } from 'lit/directives/style-map.js';
|
|
4
4
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
import { LeuPagination } from './Pagination.js';
|
|
8
8
|
import './_tslib-CNEFicEt.js';
|
package/dist/Tag.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
5
5
|
|
|
6
6
|
var css_248z = css`:host {
|
|
7
7
|
/* --tag-font-regular: var(--leu-font-family-regular);
|
package/dist/VisuallyHidden.js
CHANGED
|
@@ -194,15 +194,6 @@ export declare class LeuInput extends LeuElement {
|
|
|
194
194
|
* @fires {CustomEvent} change
|
|
195
195
|
*/
|
|
196
196
|
clear(): void;
|
|
197
|
-
/**
|
|
198
|
-
* Method for getting the id of the input element.
|
|
199
|
-
* If the id attribute is set, the value of the id attribute is returned.
|
|
200
|
-
* Otherwise a random id is generated and returned.
|
|
201
|
-
*
|
|
202
|
-
* @private
|
|
203
|
-
* @returns {string} id
|
|
204
|
-
*/
|
|
205
|
-
getId(): any;
|
|
206
197
|
/**
|
|
207
198
|
* Merge custom and default validation messages.
|
|
208
199
|
* A validation message can be a function or a string.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/input/Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAA;AAMnC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAIzC,eAAO,MAAM,KAAK;;;EAGhB,CAAA;AAuBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BhB;IAED,MAAM,CAAC,mBAAmB,CAAC,OAAO,KAAA,EAAE,aAAa,KAAA;;IAkCjD,IAAI,aAAa,WAKhB;IAED;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,KAAK,KAAA;IAMxB;;;;;;OAMG;IACH,UAAU,CAAC,KAAK,KAAA;IAQhB;;;;;;OAMG;IACH,aAAa,CAAC,KAAK,KAAA;IAInB;;;;;;;;OAQG;IACH,YAAY,CAAC,KAAK,KAAA;IASlB;;;;;;;OAOG;IACH,WAAW,CAAC,KAAK,KAAA;IAUjB;;;;;;;;OAQG;IACH,KAAK;IAaL
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/input/Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAA;AAMnC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAIzC,eAAO,MAAM,KAAK;;;EAGhB,CAAA;AAuBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BhB;IAED,MAAM,CAAC,mBAAmB,CAAC,OAAO,KAAA,EAAE,aAAa,KAAA;;IAkCjD,IAAI,aAAa,WAKhB;IAED;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,KAAK,KAAA;IAMxB;;;;;;OAMG;IACH,UAAU,CAAC,KAAK,KAAA;IAQhB;;;;;;OAMG;IACH,aAAa,CAAC,KAAK,KAAA;IAInB;;;;;;;;OAQG;IACH,YAAY,CAAC,KAAK,KAAA;IASlB;;;;;;;OAOG;IACH,WAAW,CAAC,KAAK,KAAA;IAUjB;;;;;;;;OAQG;IACH,KAAK;IAaL;;;;;;;;;;OAUG;IACH,qBAAqB;IA6BrB,SAAS;IAUT;;;OAGG;IACH,aAAa;IAIb;;;OAGG;IACH,mBAAmB;IAyBnB;;;;;;OAMG;IACH,kBAAkB;IA2BlB,MAAM;CAiDP"}
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { LeuRadio } from './Radio.js';
|
|
|
18
18
|
export { LeuRadioGroup } from './RadioGroup.js';
|
|
19
19
|
export { LeuSelect } from './Select.js';
|
|
20
20
|
export { LeuTable } from './Table.js';
|
|
21
|
-
export { L as LeuElement } from './LeuElement-
|
|
21
|
+
export { L as LeuElement } from './LeuElement-DgiuzsX9.js';
|
|
22
22
|
import './_tslib-CNEFicEt.js';
|
|
23
23
|
import 'lit';
|
|
24
24
|
import 'lit/static-html.js';
|
package/dist/leu-accordion.js
CHANGED
package/dist/leu-button-group.js
CHANGED
package/dist/leu-button.js
CHANGED
|
@@ -5,7 +5,7 @@ import 'lit/directives/class-map.js';
|
|
|
5
5
|
import 'lit/directives/if-defined.js';
|
|
6
6
|
import 'lit/decorators.js';
|
|
7
7
|
import './Icon.js';
|
|
8
|
-
import './LeuElement-
|
|
8
|
+
import './LeuElement-DgiuzsX9.js';
|
|
9
9
|
import './hasSlotController-Bm2tipvG.js';
|
|
10
10
|
|
|
11
11
|
LeuButton.define("leu-button");
|
|
@@ -2,7 +2,7 @@ import { LeuChartWrapper } from './ChartWrapper.js';
|
|
|
2
2
|
import './_tslib-CNEFicEt.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/decorators.js';
|
|
5
|
-
import './LeuElement-
|
|
5
|
+
import './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import './hasSlotController-Bm2tipvG.js';
|
|
7
7
|
import './Spinner.js';
|
|
8
8
|
|
package/dist/leu-checkbox.js
CHANGED
package/dist/leu-chip-group.js
CHANGED
package/dist/leu-chip-link.js
CHANGED
package/dist/leu-dialog.js
CHANGED
|
@@ -2,7 +2,7 @@ import { LeuDialog } from './Dialog.js';
|
|
|
2
2
|
import 'lit';
|
|
3
3
|
import 'lit/directives/ref.js';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
|
-
import './LeuElement-
|
|
5
|
+
import './LeuElement-DgiuzsX9.js';
|
|
6
6
|
import './hasSlotController-Bm2tipvG.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './_tslib-CNEFicEt.js';
|
package/dist/leu-dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LeuDropdown } from './Dropdown.js';
|
|
2
2
|
import 'lit';
|
|
3
3
|
import 'lit/directives/ref.js';
|
|
4
|
-
import './LeuElement-
|
|
4
|
+
import './LeuElement-DgiuzsX9.js';
|
|
5
5
|
import './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import './Button.js';
|
|
7
7
|
import './_tslib-CNEFicEt.js';
|
package/dist/leu-icon.js
CHANGED
package/dist/leu-input.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'lit/directives/class-map.js';
|
|
|
4
4
|
import 'lit/directives/if-defined.js';
|
|
5
5
|
import 'lit/directives/live.js';
|
|
6
6
|
import 'lit/directives/ref.js';
|
|
7
|
-
import './LeuElement-
|
|
7
|
+
import './LeuElement-DgiuzsX9.js';
|
|
8
8
|
import './Icon.js';
|
|
9
9
|
import './_tslib-CNEFicEt.js';
|
|
10
10
|
import 'lit/decorators.js';
|
package/dist/leu-menu-item.js
CHANGED
package/dist/leu-menu.js
CHANGED
package/dist/leu-message.js
CHANGED
package/dist/leu-pagination.js
CHANGED
|
@@ -3,7 +3,7 @@ import './_tslib-CNEFicEt.js';
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/live.js';
|
|
5
5
|
import 'lit/decorators.js';
|
|
6
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-DgiuzsX9.js';
|
|
7
7
|
import './Button.js';
|
|
8
8
|
import 'lit/directives/class-map.js';
|
|
9
9
|
import 'lit/directives/if-defined.js';
|
package/dist/leu-placeholder.js
CHANGED
package/dist/leu-popup.js
CHANGED
package/dist/leu-radio-group.js
CHANGED
package/dist/leu-radio.js
CHANGED
package/dist/leu-range.js
CHANGED
package/dist/leu-scroll-top.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LeuScrollTop } from './ScrollTop.js';
|
|
2
2
|
import 'lit';
|
|
3
3
|
import 'lit/directives/class-map.js';
|
|
4
|
-
import './LeuElement-
|
|
4
|
+
import './LeuElement-DgiuzsX9.js';
|
|
5
5
|
import './Button.js';
|
|
6
6
|
import './_tslib-CNEFicEt.js';
|
|
7
7
|
import 'lit/directives/if-defined.js';
|
package/dist/leu-select.js
CHANGED
|
@@ -3,7 +3,7 @@ import 'lit';
|
|
|
3
3
|
import 'lit/directives/class-map.js';
|
|
4
4
|
import 'lit/directives/ref.js';
|
|
5
5
|
import 'lit/directives/if-defined.js';
|
|
6
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-DgiuzsX9.js';
|
|
7
7
|
import './hasSlotController-Bm2tipvG.js';
|
|
8
8
|
import './Button.js';
|
|
9
9
|
import './_tslib-CNEFicEt.js';
|
package/dist/leu-spinner.js
CHANGED
package/dist/leu-table.js
CHANGED
|
@@ -3,7 +3,7 @@ import 'lit';
|
|
|
3
3
|
import 'lit/directives/class-map.js';
|
|
4
4
|
import 'lit/directives/style-map.js';
|
|
5
5
|
import 'lit/directives/ref.js';
|
|
6
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-DgiuzsX9.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './_tslib-CNEFicEt.js';
|
|
9
9
|
import 'lit/decorators.js';
|
package/dist/leu-tag.js
CHANGED
package/dist/web-types.json
CHANGED
package/package.json
CHANGED
|
@@ -250,29 +250,6 @@ export class LeuInput extends LeuElement {
|
|
|
250
250
|
)
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
/**
|
|
254
|
-
* Method for getting the id of the input element.
|
|
255
|
-
* If the id attribute is set, the value of the id attribute is returned.
|
|
256
|
-
* Otherwise a random id is generated and returned.
|
|
257
|
-
*
|
|
258
|
-
* @private
|
|
259
|
-
* @returns {string} id
|
|
260
|
-
*/
|
|
261
|
-
getId() {
|
|
262
|
-
const id = this.getAttribute("id")
|
|
263
|
-
|
|
264
|
-
if (id !== null && id !== "") {
|
|
265
|
-
return id
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
if (this._identifier !== "") {
|
|
269
|
-
return this._identifier
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
this._identifier = crypto.randomUUID()
|
|
273
|
-
return this._identifier
|
|
274
|
-
}
|
|
275
|
-
|
|
276
253
|
/**
|
|
277
254
|
* Merge custom and default validation messages.
|
|
278
255
|
* A validation message can be a function or a string.
|
|
@@ -352,7 +329,7 @@ export class LeuInput extends LeuElement {
|
|
|
352
329
|
}
|
|
353
330
|
|
|
354
331
|
return html`
|
|
355
|
-
<ul class="error" aria-errormessage
|
|
332
|
+
<ul class="error" aria-errormessage="input">
|
|
356
333
|
${errorMessages.map(
|
|
357
334
|
(message) => html`<li class="error-message">${message}</li>`,
|
|
358
335
|
)}
|
|
@@ -412,7 +389,7 @@ export class LeuInput extends LeuElement {
|
|
|
412
389
|
>
|
|
413
390
|
<input
|
|
414
391
|
class="input"
|
|
415
|
-
id="input
|
|
392
|
+
id="input"
|
|
416
393
|
type=${this.type}
|
|
417
394
|
name=${this.name}
|
|
418
395
|
@change=${this.handleChange}
|
|
@@ -431,7 +408,7 @@ export class LeuInput extends LeuElement {
|
|
|
431
408
|
ref=${ref(this._inputRef)}
|
|
432
409
|
aria-invalid=${isInvalid}
|
|
433
410
|
/>
|
|
434
|
-
<label for="input
|
|
411
|
+
<label for="input" class="label">${this.label}</label>
|
|
435
412
|
${this.prefix
|
|
436
413
|
? html`<div class="prefix" .aria-hidden=${true}>${this.prefix}</div>`
|
|
437
414
|
: nothing}
|