@statistikzh/leu 0.22.0 → 0.22.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/.github/workflows/release-please.yml +1 -2
- package/.nvmrc +1 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +9 -0
- package/README.md +15 -10
- package/dist/Accordion.js +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/ChartWrapper.js +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/CheckboxGroup.js +1 -1
- package/dist/Chip.d.ts +1 -7
- package/dist/Chip.js +7 -5
- package/dist/ChipGroup.d.ts +17 -36
- package/dist/ChipGroup.js +35 -33
- package/dist/ChipLink.d.ts +5 -21
- package/dist/ChipLink.js +14 -15
- package/dist/ChipRemovable.d.ts +4 -15
- package/dist/ChipRemovable.js +7 -9
- package/dist/ChipSelectable.d.ts +14 -37
- package/dist/ChipSelectable.js +24 -28
- package/dist/Dialog.d.ts +7 -18
- package/dist/Dialog.js +15 -18
- package/dist/Dropdown.d.ts +16 -28
- package/dist/Dropdown.js +22 -23
- package/dist/FileInput.d.ts +2 -1
- package/dist/FileInput.js +19 -5
- package/dist/Icon.d-itcQ94ym.d.ts +151 -0
- package/dist/Icon.d.ts +4 -156
- package/dist/Icon.js +1 -4
- package/dist/Input.d.ts +73 -141
- package/dist/Input.js +91 -88
- package/dist/{LeuElement-BooZrClI.js → LeuElement-DfsEye-A.js} +1 -1
- package/dist/Menu.d.ts +2 -8
- package/dist/Menu.js +7 -9
- package/dist/MenuItem.d.ts +31 -59
- package/dist/MenuItem.js +30 -33
- package/dist/Message.d.ts +1 -1
- package/dist/Message.js +1 -1
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/Placeholder.js +1 -1
- package/dist/Popup.js +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/Range.d.ts +22 -65
- package/dist/Range.js +36 -37
- package/dist/ScrollTop.d.ts +5 -7
- package/dist/ScrollTop.js +10 -15
- package/dist/Select.d.ts +2 -1
- package/dist/Select.js +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.d.ts +1 -1
- package/dist/Table.js +1 -1
- package/dist/Tag.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/components/chart-wrapper/leu-chart-wrapper.d.ts +5 -0
- package/dist/components/chart-wrapper/leu-chart-wrapper.d.ts.map +1 -1
- package/dist/components/chip/Chip.d.ts +1 -7
- package/dist/components/chip/Chip.d.ts.map +1 -1
- package/dist/components/chip/ChipGroup.d.ts +15 -35
- package/dist/components/chip/ChipGroup.d.ts.map +1 -1
- package/dist/components/chip/ChipLink.d.ts +4 -20
- package/dist/components/chip/ChipLink.d.ts.map +1 -1
- package/dist/components/chip/ChipRemovable.d.ts +3 -14
- package/dist/components/chip/ChipRemovable.d.ts.map +1 -1
- package/dist/components/chip/ChipSelectable.d.ts +13 -36
- package/dist/components/chip/ChipSelectable.d.ts.map +1 -1
- package/dist/components/chip/stories/chip-group.stories.d.ts +1 -1
- package/dist/components/chip/stories/chip-group.stories.d.ts.map +1 -1
- package/dist/components/chip/stories/chip-link.stories.d.ts.map +1 -1
- package/dist/components/chip/stories/chip-selectable.stories.d.ts.map +1 -1
- package/dist/components/dialog/Dialog.d.ts +5 -17
- package/dist/components/dialog/Dialog.d.ts.map +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +14 -27
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/file-input/FileInput.d.ts +1 -0
- package/dist/components/file-input/FileInput.d.ts.map +1 -1
- package/dist/components/file-input/leu-file-input.d.ts +5 -0
- package/dist/components/file-input/leu-file-input.d.ts.map +1 -1
- package/dist/components/file-input/stories/file-input.stories.d.ts +4 -0
- package/dist/components/file-input/stories/file-input.stories.d.ts.map +1 -1
- package/dist/components/icon/Icon.d.ts +0 -6
- package/dist/components/icon/Icon.d.ts.map +1 -1
- package/dist/components/input/Input.d.ts +73 -140
- package/dist/components/input/Input.d.ts.map +1 -1
- package/dist/components/menu/Menu.d.ts +1 -7
- package/dist/components/menu/Menu.d.ts.map +1 -1
- package/dist/components/menu/MenuItem.d.ts +30 -57
- package/dist/components/menu/MenuItem.d.ts.map +1 -1
- package/dist/components/message/leu-message.d.ts +5 -0
- package/dist/components/message/leu-message.d.ts.map +1 -1
- package/dist/components/placeholder/leu-placeholder.d.ts +5 -0
- package/dist/components/placeholder/leu-placeholder.d.ts.map +1 -1
- package/dist/components/progress-bar/leu-progress-bar.d.ts +5 -0
- package/dist/components/progress-bar/leu-progress-bar.d.ts.map +1 -1
- package/dist/components/range/Range.d.ts +22 -65
- package/dist/components/range/Range.d.ts.map +1 -1
- package/dist/components/scroll-top/ScrollTop.d.ts +4 -6
- package/dist/components/scroll-top/ScrollTop.d.ts.map +1 -1
- package/dist/components/tag/leu-tag.d.ts +5 -0
- package/dist/components/tag/leu-tag.d.ts.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -4
- package/dist/leu-accordion.js +1 -1
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.d.ts +1 -1
- package/dist/leu-button.js +1 -1
- package/dist/leu-chart-wrapper.d.ts +10 -1
- package/dist/leu-chart-wrapper.js +1 -1
- package/dist/leu-checkbox-group.js +1 -1
- package/dist/leu-checkbox.d.ts +1 -1
- package/dist/leu-checkbox.js +1 -1
- package/dist/leu-chip-group.d.ts +2 -0
- package/dist/leu-chip-group.js +5 -1
- package/dist/leu-chip-link.js +3 -1
- package/dist/leu-chip-removable.d.ts +1 -1
- package/dist/leu-chip-removable.js +3 -3
- package/dist/leu-chip-selectable.js +3 -1
- package/dist/leu-dialog.d.ts +2 -1
- package/dist/leu-dialog.js +3 -3
- package/dist/leu-dropdown.d.ts +2 -1
- package/dist/leu-dropdown.js +3 -3
- package/dist/leu-file-input.d.ts +11 -2
- package/dist/leu-file-input.js +11 -4
- package/dist/leu-icon.d.ts +1 -1
- package/dist/leu-icon.js +1 -1
- package/dist/leu-input.d.ts +2 -1
- package/dist/leu-input.js +3 -3
- package/dist/leu-menu-item.d.ts +2 -2
- package/dist/leu-menu-item.js +3 -3
- package/dist/leu-menu.d.ts +1 -1
- package/dist/leu-menu.js +3 -3
- package/dist/leu-message.d.ts +11 -2
- package/dist/leu-message.js +1 -1
- package/dist/leu-pagination.d.ts +1 -1
- package/dist/leu-pagination.js +1 -1
- package/dist/leu-placeholder.d.ts +10 -1
- package/dist/leu-placeholder.js +1 -1
- package/dist/leu-popup.js +1 -1
- package/dist/leu-progress-bar.d.ts +10 -1
- package/dist/leu-progress-bar.js +1 -1
- package/dist/leu-radio-group.js +1 -1
- package/dist/leu-radio.js +1 -1
- package/dist/leu-range.js +3 -1
- package/dist/leu-scroll-top.d.ts +1 -1
- package/dist/leu-scroll-top.js +3 -3
- package/dist/leu-select.d.ts +2 -1
- package/dist/leu-select.js +1 -1
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.d.ts +1 -1
- package/dist/leu-table.js +1 -1
- package/dist/leu-tag.d.ts +10 -1
- package/dist/leu-tag.js +1 -1
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +126 -123
- package/dist/vue/index.d.ts +129 -146
- package/dist/web-types.json +340 -345
- package/package.json +1 -1
- package/scripts/generate-component/templates/[namespace]-[name].ts +6 -0
- package/src/components/chart-wrapper/leu-chart-wrapper.ts +6 -0
- package/src/components/chip/Chip.ts +3 -9
- package/src/components/chip/ChipGroup.ts +26 -39
- package/src/components/chip/ChipLink.ts +7 -18
- package/src/components/chip/ChipRemovable.ts +4 -11
- package/src/components/chip/ChipSelectable.ts +21 -35
- package/src/components/chip/stories/chip-group.stories.ts +4 -7
- package/src/components/chip/stories/chip-link.stories.ts +2 -4
- package/src/components/chip/stories/chip-selectable.stories.ts +4 -6
- package/src/components/chip/test/chip-group.test.ts +34 -31
- package/src/components/dialog/Dialog.ts +9 -22
- package/src/components/dropdown/Dropdown.ts +19 -26
- package/src/components/file-input/FileInput.ts +12 -1
- package/src/components/file-input/leu-file-input.ts +6 -0
- package/src/components/file-input/stories/file-input.stories.ts +7 -0
- package/src/components/icon/Icon.ts +0 -4
- package/src/components/input/Input.ts +108 -105
- package/src/components/menu/Menu.ts +3 -12
- package/src/components/menu/MenuItem.ts +37 -41
- package/src/components/message/leu-message.ts +6 -0
- package/src/components/placeholder/leu-placeholder.ts +6 -0
- package/src/components/progress-bar/leu-progress-bar.ts +6 -0
- package/src/components/range/Range.ts +51 -59
- package/src/components/scroll-top/ScrollTop.ts +8 -15
- package/src/components/tag/leu-tag.ts +6 -0
- package/src/index.ts +11 -0
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import { nothing } from "lit";
|
|
1
|
+
import { nothing, TemplateResult } from "lit";
|
|
2
2
|
import { LeuElement } from "../../lib/LeuElement.js";
|
|
3
3
|
import { LeuIcon } from "../icon/Icon.js";
|
|
4
|
-
|
|
5
|
-
* @typedef {'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'none'} MenuItemRole
|
|
6
|
-
*/
|
|
4
|
+
type MenuItemRole = "menuitem" | "menuitemcheckbox" | "menuitemradio" | "option" | "none";
|
|
7
5
|
/**
|
|
8
6
|
* @tagname leu-menu-item
|
|
9
7
|
* @slot - The label of the menu item
|
|
10
|
-
* @property {boolean} active - Defines if the item is selected or checked
|
|
11
|
-
* @property {boolean} multipleSelection - If the item is part of a multiple selection. Renders a checkmark before the label when active
|
|
12
|
-
* @property {boolean} disabled - Disables the underlying button or link
|
|
13
|
-
* @property {string} value - The value of the item. It must not contain commas. See `getValue()`
|
|
14
|
-
* @property {string} href - The href of the underlying link
|
|
15
|
-
* @property {boolean} tabbable - If the item should be focusable. Will be reflected as `tabindex` to the underlying button or link
|
|
16
|
-
* @property {MenuItemRole} componentRole - The role of the item. This will be reflected as `role` to the underlying button or link. Default is `'menuitem'.`
|
|
17
8
|
*/
|
|
18
9
|
export declare class LeuMenuItem extends LeuElement {
|
|
19
10
|
static dependencies: {
|
|
@@ -31,58 +22,40 @@ export declare class LeuMenuItem extends LeuElement {
|
|
|
31
22
|
customElements?: CustomElementRegistry;
|
|
32
23
|
registry?: CustomElementRegistry;
|
|
33
24
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
tabbable: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
reflect: boolean;
|
|
51
|
-
};
|
|
52
|
-
href: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
reflect: boolean;
|
|
55
|
-
};
|
|
56
|
-
value: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
reflect: boolean;
|
|
59
|
-
};
|
|
60
|
-
componentRole: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
reflect: boolean;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
constructor();
|
|
25
|
+
/** Defines if the item is selected or checked */
|
|
26
|
+
active: boolean;
|
|
27
|
+
/** If the item is part of a multiple selection. Renders a checkmark before the label when active */
|
|
28
|
+
multipleSelection: boolean;
|
|
29
|
+
/** Disables the underlying button or link */
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
/** If the item should be focusable. Will be reflected as `tabindex` to the underlying button or link */
|
|
32
|
+
tabbable: boolean;
|
|
33
|
+
/** The href of the underlying link */
|
|
34
|
+
href: string;
|
|
35
|
+
/** The value of the item. It must not contain commas. See `getValue()` */
|
|
36
|
+
value: string;
|
|
37
|
+
/** The role of the item. This will be reflected as `role` to the underlying button or link. Default is `'menuitem'.` */
|
|
38
|
+
componentRole: MenuItemRole;
|
|
66
39
|
connectedCallback(): void;
|
|
67
40
|
disconnectedCallback(): void;
|
|
68
|
-
_handleClick(event:
|
|
41
|
+
protected _handleClick(event: MouseEvent): void;
|
|
69
42
|
/**
|
|
70
43
|
* Returns the value of the item. If `value` is not set, it will return the inner text
|
|
71
|
-
* @returns {string}
|
|
72
44
|
*/
|
|
73
|
-
getValue():
|
|
74
|
-
_getAria(): {
|
|
75
|
-
disabled:
|
|
45
|
+
getValue(): string;
|
|
46
|
+
protected _getAria(): {
|
|
47
|
+
disabled: boolean;
|
|
76
48
|
} | {
|
|
77
|
-
checked:
|
|
78
|
-
selected:
|
|
79
|
-
role:
|
|
80
|
-
disabled:
|
|
49
|
+
checked: boolean;
|
|
50
|
+
selected: boolean;
|
|
51
|
+
role: "option" | "menuitem" | "menuitemcheckbox" | "menuitemradio";
|
|
52
|
+
disabled: boolean;
|
|
81
53
|
};
|
|
82
|
-
_getTabIndex(): 0 | -1;
|
|
83
|
-
_renderLink(content:
|
|
84
|
-
_renderButton(content:
|
|
85
|
-
_renderBeforeSlotDefault(): typeof nothing |
|
|
86
|
-
render():
|
|
54
|
+
protected _getTabIndex(): 0 | -1;
|
|
55
|
+
protected _renderLink(content: TemplateResult): TemplateResult<1>;
|
|
56
|
+
protected _renderButton(content: TemplateResult): TemplateResult<1>;
|
|
57
|
+
_renderBeforeSlotDefault(): typeof nothing | TemplateResult<1>;
|
|
58
|
+
render(): TemplateResult<1>;
|
|
87
59
|
}
|
|
60
|
+
export {};
|
|
88
61
|
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAInD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAIzC,KAAK,YAAY,GACb,UAAU,GACV,kBAAkB,GAClB,eAAe,GACf,QAAQ,GACR,MAAM,CAAA;AAEV;;;GAGG;AACH,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,iDAAiD;IAEjD,MAAM,EAAE,OAAO,CAAQ;IAEvB,oGAAoG;IAEpG,iBAAiB,EAAE,OAAO,CAAQ;IAElC,6CAA6C;IAE7C,QAAQ,EAAE,OAAO,CAAQ;IAEzB,wGAAwG;IAExG,QAAQ,EAAE,OAAO,CAAA;IAEjB,sCAAsC;IAEtC,IAAI,EAAE,MAAM,CAAA;IAEZ,0EAA0E;IAE1E,KAAK,EAAE,MAAM,CAAA;IAEb,wHAAwH;IAExH,aAAa,EAAE,YAAY,CAAa;IAExC,iBAAiB;IAKjB,oBAAoB;IAKpB,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU;IAOxC;;OAEG;IACH,QAAQ;IAIR,SAAS,CAAC,QAAQ;;;;;;;;IAqBlB,SAAS,CAAC,YAAY;IAQtB,SAAS,CAAC,WAAW,CAAC,OAAO,EAAE,cAAc;IAe7C,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,cAAc;IAe/C,wBAAwB;IAUxB,MAAM;CAWP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leu-message.d.ts","sourceRoot":"","sources":["../../../src/components/message/leu-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"leu-message.d.ts","sourceRoot":"","sources":["../../../src/components/message/leu-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,CAAA;AAIrB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leu-placeholder.d.ts","sourceRoot":"","sources":["../../../src/components/placeholder/leu-placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"leu-placeholder.d.ts","sourceRoot":"","sources":["../../../src/components/placeholder/leu-placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,OAAO,EAAE,cAAc,EAAE,CAAA;AAIzB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,cAAc,CAAA;KAClC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leu-progress-bar.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/leu-progress-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"leu-progress-bar.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/leu-progress-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,OAAO,EAAE,cAAc,EAAE,CAAA;AAIzB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,cAAc,CAAA;KACnC;CACF"}
|
|
@@ -12,84 +12,41 @@ export declare class LeuRange extends LeuElement {
|
|
|
12
12
|
customElements?: CustomElementRegistry;
|
|
13
13
|
registry?: CustomElementRegistry;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
min: {
|
|
24
|
-
type: NumberConstructor;
|
|
25
|
-
reflect: boolean;
|
|
26
|
-
};
|
|
27
|
-
max: {
|
|
28
|
-
type: NumberConstructor;
|
|
29
|
-
reflect: boolean;
|
|
30
|
-
};
|
|
31
|
-
step: {
|
|
32
|
-
type: NumberConstructor;
|
|
33
|
-
reflect: boolean;
|
|
34
|
-
};
|
|
35
|
-
name: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
reflect: boolean;
|
|
38
|
-
};
|
|
39
|
-
label: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
reflect: boolean;
|
|
42
|
-
};
|
|
43
|
-
disabled: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
reflect: boolean;
|
|
46
|
-
};
|
|
47
|
-
multiple: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
reflect: boolean;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
constructor();
|
|
15
|
+
defaultValue: number[];
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
step: number;
|
|
19
|
+
name: string;
|
|
20
|
+
label: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
multiple: boolean;
|
|
53
23
|
updated(): void;
|
|
54
|
-
|
|
55
|
-
|
|
24
|
+
protected get _inputs(): HTMLInputElement[];
|
|
25
|
+
protected _updateStyles(): void;
|
|
26
|
+
get value(): string | Array<string>;
|
|
56
27
|
/**
|
|
57
28
|
* Sets the value of the underlying input element(s).
|
|
58
29
|
* The value has to be an array if "multiple" range is used.
|
|
59
30
|
* Otherwise it has to be a string.
|
|
60
|
-
* @param {string | Array} value
|
|
61
31
|
*/
|
|
62
|
-
set value(value: string);
|
|
32
|
+
set value(value: string | Array<string>);
|
|
63
33
|
get valueAsArray(): number[];
|
|
64
34
|
get valueLow(): string | number;
|
|
65
35
|
get valueHigh(): string | number;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
_getGhostInput(): Element;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @param {number} _index
|
|
77
|
-
* @param {InputEvent & {target: HTMLInputElement}} _e
|
|
78
|
-
*/
|
|
79
|
-
_handleInput(_index: any, _e: any): void;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @param {number} value
|
|
83
|
-
* @returns {number}
|
|
84
|
-
*/
|
|
85
|
-
_getNormalizedValue(value: any): number;
|
|
86
|
-
_getNormalizedRange(): number[];
|
|
36
|
+
protected _getBaseInput(): HTMLInputElement;
|
|
37
|
+
protected _getGhostInput(): HTMLInputElement;
|
|
38
|
+
protected _handleInput(_index: number, _e: InputEvent & {
|
|
39
|
+
target: HTMLInputElement;
|
|
40
|
+
}): void;
|
|
41
|
+
protected _getNormalizedValue(value: number): number;
|
|
42
|
+
protected _getNormalizedRange(): number[];
|
|
87
43
|
/**
|
|
88
44
|
* Determine if the "click" (pointer event) is closer the
|
|
89
45
|
* the value of the other input element. Swap the values if this is the case.
|
|
90
|
-
* @param {PointerEvent & {target: HTMLInputElement}} e
|
|
91
46
|
*/
|
|
92
|
-
_handlePointerDown(e:
|
|
47
|
+
protected _handlePointerDown(e: PointerEvent & {
|
|
48
|
+
target: HTMLInputElement;
|
|
49
|
+
}): void;
|
|
93
50
|
render(): import("lit-html").TemplateResult<1>;
|
|
94
51
|
}
|
|
95
52
|
//# sourceMappingURL=Range.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/components/range/Range.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/components/range/Range.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAapD;;GAEG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAGD,YAAY,WAAO;IAGnB,GAAG,EAAE,MAAM,CAAI;IAGf,GAAG,EAAE,MAAM,CAAM;IAGjB,IAAI,EAAE,MAAM,CAAI;IAGhB,IAAI,EAAE,MAAM,CAAK;IAGjB,KAAK,EAAE,MAAM,CAAK;IAGlB,QAAQ,EAAE,OAAO,CAAQ;IAGzB,QAAQ,EAAE,OAAO,CAAQ;IAEzB,OAAO;IAIP,SAAS,KAAK,OAAO,uBAIpB;IAED,SAAS,CAAC,aAAa;IAmBvB,IAAI,KAAK,IASQ,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAPtC;IAED;;;;OAIG;IACH,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,EAYtC;IAED,IAAI,YAAY,aAEf;IAED,IAAI,QAAQ,oBAQX;IAED,IAAI,SAAS,oBAQZ;IAED,SAAS,CAAC,aAAa;IAIvB,SAAS,CAAC,cAAc;IAIxB,SAAS,CAAC,YAAY,CACpB,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,UAAU,GAAG;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE;IAK/C,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,MAAM;IAI3C,SAAS,CAAC,mBAAmB;IAU7B;;;OAGG;IACH,SAAS,CAAC,kBAAkB,CAAC,CAAC,EAAE,YAAY,GAAG;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE;IAkB3E,MAAM;CAgDP"}
|
|
@@ -10,12 +10,10 @@ export declare class LeuScrollTop extends LeuElement {
|
|
|
10
10
|
"leu-icon": typeof LeuIcon;
|
|
11
11
|
};
|
|
12
12
|
static styles: import("lit").CSSResultGroup[];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
constructor();
|
|
13
|
+
protected _showButton: boolean;
|
|
14
|
+
protected _prevYPos: number;
|
|
15
|
+
protected _scrollDown: boolean;
|
|
16
|
+
protected _scrollListener: EventListener;
|
|
19
17
|
scroll: () => void;
|
|
20
18
|
connectedCallback(): void;
|
|
21
19
|
disconnectedCallback(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollTop.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-top/ScrollTop.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScrollTop.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-top/ScrollTop.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAMzC;;GAEG;AACH,qBAAa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,YAAY;;;MAGlB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAG3C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAQ;IAEtC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAI;IAE/B,SAAS,CAAC,WAAW,EAAE,OAAO,CAAQ;IAEtC,SAAS,CAAC,eAAe,EAAE,aAAa,CAAA;IAExC,MAAM,aAkBL;IAED,iBAAiB;IAMjB,oBAAoB;IAKpB,MAAM,CAAC,WAAW;IAQlB,MAAM;CAiBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leu-tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/leu-tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"leu-tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/leu-tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,MAAM,EAAE,CAAA;AAIjB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAA;KAClB;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,15 +5,26 @@ export * from "./components/chart-wrapper/ChartWrapper.js";
|
|
|
5
5
|
export * from "./components/checkbox/Checkbox.js";
|
|
6
6
|
export * from "./components/checkbox/CheckboxGroup.js";
|
|
7
7
|
export * from "./components/chip/exports.js";
|
|
8
|
+
export * from "./components/dialog/Dialog.js";
|
|
8
9
|
export * from "./components/dropdown/Dropdown.js";
|
|
10
|
+
export * from "./components/file-input/FileInput.js";
|
|
11
|
+
export * from "./components/icon/Icon.js";
|
|
9
12
|
export * from "./components/input/Input.js";
|
|
10
13
|
export * from "./components/menu/Menu.js";
|
|
11
14
|
export * from "./components/menu/MenuItem.js";
|
|
15
|
+
export * from "./components/message/Message.js";
|
|
12
16
|
export * from "./components/pagination/Pagination.js";
|
|
17
|
+
export * from "./components/placeholder/Placeholder.js";
|
|
13
18
|
export * from "./components/popup/Popup.js";
|
|
19
|
+
export * from "./components/progress-bar/ProgressBar.js";
|
|
14
20
|
export * from "./components/radio/Radio.js";
|
|
15
21
|
export * from "./components/radio/RadioGroup.js";
|
|
22
|
+
export * from "./components/range/Range.js";
|
|
23
|
+
export * from "./components/scroll-top/ScrollTop.js";
|
|
16
24
|
export * from "./components/select/Select.js";
|
|
25
|
+
export * from "./components/spinner/Spinner.js";
|
|
17
26
|
export * from "./components/table/Table.js";
|
|
27
|
+
export * from "./components/tag/Tag.js";
|
|
28
|
+
export * from "./components/visually-hidden/VisuallyHidden.js";
|
|
18
29
|
export * from "./lib/LeuElement.js";
|
|
19
30
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0CAA0C,CAAA;AACxD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,mCAAmC,CAAA;AACjD,cAAc,wCAAwC,CAAA;AACtD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uCAAuC,CAAA;AACrD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kCAAkC,CAAA;AAChD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0CAA0C,CAAA;AACxD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,mCAAmC,CAAA;AACjD,cAAc,wCAAwC,CAAA;AACtD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,mCAAmC,CAAA;AACjD,cAAc,sCAAsC,CAAA;AACpD,cAAc,2BAA2B,CAAA;AACzC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,0CAA0C,CAAA;AACxD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sCAAsC,CAAA;AACpD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,qBAAqB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -8,29 +8,38 @@ export { LeuChipGroup } from './ChipGroup.js';
|
|
|
8
8
|
export { LeuChipLink } from './ChipLink.js';
|
|
9
9
|
export { LeuChipRemovable } from './ChipRemovable.js';
|
|
10
10
|
export { LeuChipSelectable } from './ChipSelectable.js';
|
|
11
|
+
export { LeuDialog } from './Dialog.js';
|
|
11
12
|
export { LeuDropdown } from './Dropdown.js';
|
|
13
|
+
export { LeuFileInput } from './FileInput.js';
|
|
14
|
+
export { LeuIcon } from './Icon.js';
|
|
12
15
|
export { LeuInput, SIZES } from './Input.js';
|
|
13
16
|
export { LeuMenu } from './Menu.js';
|
|
14
17
|
export { LeuMenuItem } from './MenuItem.js';
|
|
18
|
+
export { LeuMessage } from './Message.js';
|
|
15
19
|
export { LeuPagination } from './Pagination.js';
|
|
20
|
+
export { LeuPlaceholder } from './Placeholder.js';
|
|
16
21
|
export { LeuPopup } from './Popup.js';
|
|
22
|
+
export { LeuProgressBar } from './ProgressBar.js';
|
|
17
23
|
export { LeuRadio } from './Radio.js';
|
|
18
24
|
export { LeuRadioGroup } from './RadioGroup.js';
|
|
25
|
+
export { LeuRange } from './Range.js';
|
|
26
|
+
export { LeuScrollTop } from './ScrollTop.js';
|
|
19
27
|
export { LeuSelect } from './Select.js';
|
|
28
|
+
export { LeuSpinner } from './Spinner.js';
|
|
20
29
|
export { LeuTable } from './Table.js';
|
|
21
|
-
export {
|
|
30
|
+
export { LeuTag } from './Tag.js';
|
|
31
|
+
export { LeuVisuallyHidden } from './VisuallyHidden.js';
|
|
32
|
+
export { L as LeuElement } from './LeuElement-DfsEye-A.js';
|
|
22
33
|
import './_tslib-CNEFicEt.js';
|
|
23
34
|
import 'lit';
|
|
24
35
|
import 'lit/static-html.js';
|
|
25
36
|
import 'lit/decorators.js';
|
|
26
37
|
import 'lit/directives/class-map.js';
|
|
27
38
|
import 'lit/directives/if-defined.js';
|
|
28
|
-
import './Icon.js';
|
|
29
39
|
import './hasSlotController-Bm2tipvG.js';
|
|
30
|
-
import './Spinner.js';
|
|
31
40
|
import './Chip.js';
|
|
32
41
|
import 'lit/directives/ref.js';
|
|
42
|
+
import './leu-icon.js';
|
|
33
43
|
import 'lit/directives/live.js';
|
|
34
|
-
import './VisuallyHidden.js';
|
|
35
44
|
import '@floating-ui/dom';
|
|
36
45
|
import 'lit/directive.js';
|
package/dist/leu-accordion.js
CHANGED
package/dist/leu-button-group.js
CHANGED
package/dist/leu-button.d.ts
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-DfsEye-A.js';
|
|
9
9
|
import './hasSlotController-Bm2tipvG.js';
|
|
10
10
|
|
|
11
11
|
LeuButton.define("leu-button");
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { LeuChartWrapper } from './ChartWrapper.js';
|
|
2
2
|
import 'lit-html';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import './LeuElement.d-BevHqLUu.js';
|
|
5
5
|
import './hasSlotController.d-emXwVXWF.js';
|
|
6
6
|
import './Spinner.js';
|
|
7
|
+
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
"leu-chart-wrapper": LeuChartWrapper;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=leu-chart-wrapper.d.ts.map
|
|
14
|
+
|
|
15
|
+
export { LeuChartWrapper };
|
|
@@ -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-DfsEye-A.js';
|
|
6
6
|
import './hasSlotController-Bm2tipvG.js';
|
|
7
7
|
import './Spinner.js';
|
|
8
8
|
|
package/dist/leu-checkbox.d.ts
CHANGED
package/dist/leu-checkbox.js
CHANGED
package/dist/leu-chip-group.d.ts
CHANGED
package/dist/leu-chip-group.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { LeuChipGroup } from './ChipGroup.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit/static-html.js';
|
|
3
|
-
import '
|
|
4
|
+
import 'lit/decorators.js';
|
|
5
|
+
import './LeuElement-DfsEye-A.js';
|
|
4
6
|
import 'lit';
|
|
7
|
+
import './ChipSelectable.js';
|
|
8
|
+
import './Chip.js';
|
|
5
9
|
|
|
6
10
|
LeuChipGroup.define("leu-chip-group");
|
|
7
11
|
|
package/dist/leu-chip-link.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { LeuChipLink } from './ChipLink.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
4
|
+
import 'lit/decorators.js';
|
|
3
5
|
import './Chip.js';
|
|
4
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-DfsEye-A.js';
|
|
5
7
|
|
|
6
8
|
LeuChipLink.define("leu-chip-link");
|
|
7
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LeuChipRemovable } from './ChipRemovable.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
4
|
+
import 'lit/decorators.js';
|
|
3
5
|
import './Chip.js';
|
|
4
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-DfsEye-A.js';
|
|
5
7
|
import './Icon.js';
|
|
6
|
-
import './_tslib-CNEFicEt.js';
|
|
7
|
-
import 'lit/decorators.js';
|
|
8
8
|
|
|
9
9
|
LeuChipRemovable.define("leu-chip-removable");
|
|
10
10
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { LeuChipSelectable } from './ChipSelectable.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
4
|
+
import 'lit/decorators.js';
|
|
3
5
|
import './Chip.js';
|
|
4
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-DfsEye-A.js';
|
|
5
7
|
|
|
6
8
|
LeuChipSelectable.define("leu-chip-selectable");
|
|
7
9
|
|
package/dist/leu-dialog.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { LeuDialog } from './Dialog.js';
|
|
2
2
|
import 'lit-html';
|
|
3
|
+
import 'lit-html/directives/ref.js';
|
|
3
4
|
import 'lit';
|
|
4
5
|
import './LeuElement.d-BevHqLUu.js';
|
|
5
6
|
import './hasSlotController.d-emXwVXWF.js';
|
|
6
|
-
import './Icon.js';
|
|
7
|
+
import './Icon.d-itcQ94ym.js';
|
|
7
8
|
|
|
8
9
|
declare global {
|
|
9
10
|
interface HTMLElementTagNameMap {
|
package/dist/leu-dialog.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LeuDialog } from './Dialog.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
3
4
|
import 'lit/directives/ref.js';
|
|
4
5
|
import 'lit/directives/class-map.js';
|
|
5
|
-
import '
|
|
6
|
+
import 'lit/decorators.js';
|
|
7
|
+
import './LeuElement-DfsEye-A.js';
|
|
6
8
|
import './hasSlotController-Bm2tipvG.js';
|
|
7
9
|
import './Icon.js';
|
|
8
|
-
import './_tslib-CNEFicEt.js';
|
|
9
|
-
import 'lit/decorators.js';
|
|
10
10
|
|
|
11
11
|
LeuDialog.define("leu-dialog");
|
|
12
12
|
|
package/dist/leu-dropdown.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { LeuDropdown } from './Dropdown.js';
|
|
2
2
|
import 'lit-html';
|
|
3
|
+
import 'lit-html/directives/ref.js';
|
|
3
4
|
import 'lit';
|
|
4
5
|
import './LeuElement.d-BevHqLUu.js';
|
|
5
6
|
import './hasSlotController.d-emXwVXWF.js';
|
|
6
7
|
import './Button.js';
|
|
7
|
-
import './Icon.js';
|
|
8
|
+
import './Icon.d-itcQ94ym.js';
|
|
8
9
|
import './Menu.js';
|
|
9
10
|
import './MenuItem.js';
|
|
10
11
|
import './Popup.js';
|
package/dist/leu-dropdown.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LeuDropdown } from './Dropdown.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
3
4
|
import 'lit/directives/ref.js';
|
|
4
|
-
import '
|
|
5
|
+
import 'lit/decorators.js';
|
|
6
|
+
import './LeuElement-DfsEye-A.js';
|
|
5
7
|
import './hasSlotController-Bm2tipvG.js';
|
|
6
8
|
import './Button.js';
|
|
7
|
-
import './_tslib-CNEFicEt.js';
|
|
8
9
|
import 'lit/directives/class-map.js';
|
|
9
10
|
import 'lit/directives/if-defined.js';
|
|
10
|
-
import 'lit/decorators.js';
|
|
11
11
|
import './Icon.js';
|
|
12
12
|
import './Menu.js';
|
|
13
13
|
import './MenuItem.js';
|