@statistikzh/leu 0.19.1 → 0.20.0
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 +14 -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.d.ts +1 -0
- package/dist/Dropdown.js +1 -1
- package/dist/FileInput.d.ts +7 -1
- package/dist/FileInput.js +18 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.js +1 -1
- package/dist/{LeuElement-CRdVLttR.js → LeuElement-C1c3TgrG.js} +1 -1
- package/dist/Menu.d.ts +2 -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.d.ts +22 -46
- package/dist/Popup.js +40 -31
- package/dist/ProgressBar.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.d.ts +3 -2
- 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/file-input/FileInput.d.ts +7 -1
- package/dist/components/file-input/FileInput.d.ts.map +1 -1
- package/dist/components/menu/Menu.d.ts +2 -1
- package/dist/components/menu/Menu.d.ts.map +1 -1
- package/dist/components/popup/Popup.d.ts +21 -46
- package/dist/components/popup/Popup.d.ts.map +1 -1
- package/dist/components/popup/stories/popup.stories.d.ts +9 -0
- package/dist/components/popup/stories/popup.stories.d.ts.map +1 -1
- package/dist/components/select/Select.d.ts +2 -2
- package/dist/components/select/Select.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.d.ts +1 -0
- package/dist/leu-dropdown.js +1 -1
- package/dist/leu-file-input.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.d.ts +1 -0
- package/dist/leu-popup.js +3 -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 +1 -1
- package/dist/leu-scroll-top.js +1 -1
- package/dist/leu-select.d.ts +1 -0
- 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/vscode.html-custom-data.json +17 -13
- package/dist/vue/index.d.ts +29 -27
- package/dist/web-types.json +48 -50
- package/package.json +1 -1
- package/src/components/file-input/FileInput.ts +25 -2
- package/src/components/menu/Menu.ts +2 -2
- package/src/components/popup/Popup.ts +49 -44
- package/src/components/popup/stories/popup.stories.ts +49 -0
- package/src/components/popup/test/popup.test.ts +39 -3
- package/src/components/select/Select.ts +2 -2
package/dist/VisuallyHidden.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { PropertyValues } from "lit";
|
|
1
2
|
import { LeuElement } from "../../lib/LeuElement.js";
|
|
2
3
|
import { LeuButton } from "../../index.js";
|
|
3
4
|
import { LeuIcon } from "../icon/leu-icon.js";
|
|
4
5
|
import { LeuVisuallyHidden } from "../visually-hidden/VisuallyHidden.js";
|
|
6
|
+
/**
|
|
7
|
+
* @todo Pluralize text when multiple files are allowed
|
|
8
|
+
* @todo Hide dropzone when not multiple and already filled
|
|
9
|
+
*/
|
|
5
10
|
/**
|
|
6
11
|
* @tagname leu-file-input
|
|
7
12
|
*/
|
|
@@ -39,8 +44,9 @@ export declare class LeuFileInput extends LeuElement {
|
|
|
39
44
|
constructor();
|
|
40
45
|
get form(): HTMLFormElement;
|
|
41
46
|
get name(): string;
|
|
42
|
-
updated(changedProperties:
|
|
47
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
43
48
|
protected handleInput(): void;
|
|
49
|
+
private handleChange;
|
|
44
50
|
formResetCallback(): void;
|
|
45
51
|
protected updateFormValue(): void;
|
|
46
52
|
protected removeFile(fileToRemove: File): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/file-input/FileInput.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/file-input/FileInput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAA;AAKnD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAGpD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AAExE;;;GAGG;AAEH;;GAEG;AACH,qBAAa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,YAAY;;;;MAIlB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,cAAc,UAAO;IAE5B,SAAS,CAAC,SAAS,EAAE,gBAAgB,CAAA;IAGrC,KAAK,EAAE,MAAM,CAAK;IAElB,0MAA0M;IAE1M,MAAM,EAAE,MAAM,CAAK;IAEnB,0CAA0C;IAE1C,QAAQ,EAAE,OAAO,CAAQ;IAEzB,oDAAoD;IAEpD,QAAQ,EAAE,OAAO,CAAQ;IAEzB,0CAA0C;IAE1C,QAAQ,EAAE,OAAO,CAAQ;IAEzB,6EAA6E;IAE7E,OAAO,EAAE,QAAQ,GAAG,aAAa,CAAW;IAGrC,KAAK,EAAE,IAAI,EAAE,CAAK;IAGzB,OAAO,CAAC,UAAU,CAAiB;IAGnC,KAAK,EAAE,gBAAgB,CAAA;;IAQvB,IAAI,IAAI,oBAEP;IAED,IAAI,IAAI,WAEP;IAED,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAU/C,SAAS,CAAC,WAAW;IAarB,OAAO,CAAC,YAAY;IAKb,iBAAiB;IAKxB,SAAS,CAAC,eAAe;IAYzB,SAAS,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI;IAgBvC,SAAS,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM;IAY5C,SAAS,CAAC,eAAe,UAAW,SAAS,UAQ5C;IAGD,SAAS,CAAC,cAAc,UAAW,SAAS,UAK3C;IAED,SAAS,CAAC,eAAe,UAAW,SAAS,UAM5C;IAED,SAAS,CAAC,UAAU,UAAW,SAAS,UAcvC;IAED,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IA4BnC,MAAM;CAkEP"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropertyValues } from "lit";
|
|
1
2
|
import { LeuElement } from "../../lib/LeuElement.js";
|
|
2
3
|
import { LeuMenuItem } from "./MenuItem.js";
|
|
3
4
|
/**
|
|
@@ -38,7 +39,7 @@ export declare class LeuMenu extends LeuElement {
|
|
|
38
39
|
setCurrentItem(index: any): any;
|
|
39
40
|
focusItem(index: any): void;
|
|
40
41
|
firstUpdated(): void;
|
|
41
|
-
updated(changedProperties:
|
|
42
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
42
43
|
render(): import("lit-html").TemplateResult<1>;
|
|
43
44
|
}
|
|
44
45
|
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/Menu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/Menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAI3C;;GAEG;AAEH;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;MAEhB;;IAWD,iBAAiB;IAUjB,oBAAoB;IAKpB,iBAAiB;IAKjB,iBAAiB;IAuBjB;;;OAGG;IACH,YAAY;IAOZ,mBAAmB;IAInB,cAAc,CAAC,KAAK,KAAA;IAqBpB,cAAc,CAAC,KAAK,KAAA;IAkBpB,SAAS,CAAC,KAAK,KAAA;IAMf,YAAY;IAIZ,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAM/C,MAAM;CAGP"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { PropertyValues } from "lit";
|
|
2
|
+
import { Placement } from "@floating-ui/dom";
|
|
1
3
|
import { LeuElement } from "../../lib/LeuElement.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
export interface VirtualElement {
|
|
5
|
+
getBoundingClientRect: () => DOMRect;
|
|
6
|
+
contextElement?: Element;
|
|
7
|
+
}
|
|
5
8
|
/**
|
|
6
9
|
* @tagname leu-popup
|
|
7
10
|
*/
|
|
@@ -15,50 +18,22 @@ export declare class LeuPopup extends LeuElement {
|
|
|
15
18
|
customElements?: CustomElementRegistry;
|
|
16
19
|
registry?: CustomElementRegistry;
|
|
17
20
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
reflect: boolean;
|
|
31
|
-
};
|
|
32
|
-
shift: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
reflect: boolean;
|
|
35
|
-
};
|
|
36
|
-
shiftPadding: {
|
|
37
|
-
type: NumberConstructor;
|
|
38
|
-
reflect: boolean;
|
|
39
|
-
};
|
|
40
|
-
matchSize: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
reflect: boolean;
|
|
43
|
-
};
|
|
44
|
-
autoSize: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
reflect: boolean;
|
|
47
|
-
};
|
|
48
|
-
autoSizePadding: {
|
|
49
|
-
type: NumberConstructor;
|
|
50
|
-
reflect: boolean;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
constructor();
|
|
21
|
+
anchor: Element | string | VirtualElement;
|
|
22
|
+
active: boolean;
|
|
23
|
+
placement?: Placement;
|
|
24
|
+
flip: boolean;
|
|
25
|
+
shift: boolean;
|
|
26
|
+
shiftPadding: number;
|
|
27
|
+
matchSize?: "width" | "height" | "both";
|
|
28
|
+
autoSize?: "width" | "height" | "both";
|
|
29
|
+
autoSizePadding: number;
|
|
30
|
+
private anchorEl;
|
|
31
|
+
private cleanup;
|
|
54
32
|
disconnectedCallback(): void;
|
|
55
|
-
updated(changedProperties:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
get popupEl(): Element;
|
|
60
|
-
start(): void;
|
|
61
|
-
stop(): void;
|
|
33
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
34
|
+
protected get popupEl(): HTMLDivElement;
|
|
35
|
+
protected start(): void;
|
|
36
|
+
protected stop(): void;
|
|
62
37
|
reposition(): void;
|
|
63
38
|
handleAnchorChange(): void;
|
|
64
39
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/popup/Popup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/popup/Popup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAE1C,OAAO,EAIL,SAAS,EAGV,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAIpD,MAAM,WAAW,cAAc;IAC7B,qBAAqB,EAAE,MAAM,OAAO,CAAA;IACpC,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAWD;;GAEG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAEW,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,cAAc,CAAA;IAGrD,MAAM,EAAE,OAAO,CAAQ;IAGvB,SAAS,CAAC,EAAE,SAAS,CAAA;IAGrB,IAAI,EAAE,OAAO,CAAQ;IAGrB,KAAK,EAAE,OAAO,CAAQ;IAGtB,YAAY,EAAE,MAAM,CAAI;IAGxB,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAEI,QAAQ,CAAC,EAChD,OAAO,GACP,QAAQ,GACR,MAAM,CAAA;IAEiC,eAAe,EAAE,MAAM,CAAI;IAEtE,OAAO,CAAC,QAAQ,CAAgB;IAEhC,OAAO,CAAC,OAAO,CAA2C;IAE1D,oBAAoB;IAKpB,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAkB/C,SAAS,KAAK,OAAO,mBAEpB;IAED,SAAS,CAAC,KAAK;IAQf,SAAS,CAAC,IAAI;IAOP,UAAU;IAmFjB,kBAAkB;IAsBlB,MAAM;CAQP"}
|
|
@@ -14,4 +14,13 @@ declare const _default: {
|
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
|
16
16
|
export declare const Regular: any;
|
|
17
|
+
export declare const VirtualElement: {
|
|
18
|
+
render: (args?: {}) => import("lit-html").TemplateResult<1>;
|
|
19
|
+
args: {
|
|
20
|
+
active: boolean;
|
|
21
|
+
placement: string;
|
|
22
|
+
flip: boolean;
|
|
23
|
+
shift: boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
17
26
|
//# sourceMappingURL=popup.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/popup/stories/popup.stories.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAA;AACxB,OAAO,4BAA4B,CAAA;;;;;;;;;;;;;AAEnC,wBAwBC;AAqBD,eAAO,MAAM,OAAO,KAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"popup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/popup/stories/popup.stories.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAA;AACxB,OAAO,4BAA4B,CAAA;;;;;;;;;;;;;AAEnC,wBAwBC;AAqBD,eAAO,MAAM,OAAO,KAAoB,CAAA;AAQxC,eAAO,MAAM,cAAc;;;;;;;;CA+C1B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nothing } from "lit";
|
|
1
|
+
import { nothing, PropertyValues } from "lit";
|
|
2
2
|
import { LeuElement } from "../../lib/LeuElement.js";
|
|
3
3
|
import { HasSlotController } from "../../lib/hasSlotController.js";
|
|
4
4
|
import { LeuButton } from "../button/Button.js";
|
|
@@ -84,7 +84,7 @@ export declare class LeuSelect extends LeuElement {
|
|
|
84
84
|
constructor();
|
|
85
85
|
connectedCallback(): void;
|
|
86
86
|
disconnectedCallback(): void;
|
|
87
|
-
updated(changedProperties:
|
|
87
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
88
88
|
/**
|
|
89
89
|
* Apply the current state to the menu items.
|
|
90
90
|
* - Set the active property when the value property has changed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/select/Select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/select/Select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKnD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAI5C;;;;;;;;;;;;;GAaG;AACH,qBAAa,SAAU,SAAQ,UAAU;IACvC,MAAM,CAAC,YAAY;;;;;;;MAOlB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwBpB;IAED,MAAM,CAAC,cAAc,CAAC,MAAM,KAAA;IAO5B;;OAEG;IACH,iBAAiB,oBAAmD;;IAyCpE,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IA4B/C;;;;OAIG;IACG,gBAAgB,CAAC,OAAO,KAAA;IA6C9B;;;;;OAKG;IACH,qBAAqB;IAQrB;;;;OAIG;IACH,oBAAoB,uBAInB;IAED;;;OAGG;IACH,cAAc,uBAIb;IAED;;;OAGG;IACG,oBAAoB,CAAC,KAAK,KAAA;IAiBhC;;;OAGG;IACH,yBAAyB,CAAC,KAAK,KAAA;IAQ/B;;;OAGG;IACH,gBAAgB;IAQhB,eAAe;IAQf,gBAAgB;IAQhB,WAAW,CAAC,KAAK,KAAA;IAUjB,eAAe;IAMf,cAAc;IASd,kBAAkB,CAAC,KAAK,KAAA;IAIxB;;;;OAIG;IACH,WAAW,CAAC,aAAa,KAAA;IAIzB,oBAAoB,CAAC,KAAK,KAAA;IA8B1B,kBAAkB;IAgBlB,kBAAkB;IAkBlB,mBAAmB;IAwCnB,MAAM;CAqDP"}
|
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-C1c3TgrG.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-C1c3TgrG.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-C1c3TgrG.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-C1c3TgrG.js';
|
|
6
6
|
import './hasSlotController-Bm2tipvG.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './_tslib-CNEFicEt.js';
|
package/dist/leu-dropdown.d.ts
CHANGED
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-C1c3TgrG.js';
|
|
5
5
|
import './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import './Button.js';
|
|
7
7
|
import './_tslib-CNEFicEt.js';
|
package/dist/leu-file-input.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'lit';
|
|
|
4
4
|
import 'lit/decorators.js';
|
|
5
5
|
import 'lit/directives/if-defined.js';
|
|
6
6
|
import 'lit/directives/class-map.js';
|
|
7
|
-
import './LeuElement-
|
|
7
|
+
import './LeuElement-C1c3TgrG.js';
|
|
8
8
|
import './Accordion.js';
|
|
9
9
|
import 'lit/static-html.js';
|
|
10
10
|
import './Button.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-C1c3TgrG.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-C1c3TgrG.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.d.ts
CHANGED
package/dist/leu-popup.js
CHANGED
package/dist/leu-progress-bar.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-C1c3TgrG.js';
|
|
5
5
|
import './Button.js';
|
|
6
6
|
import './_tslib-CNEFicEt.js';
|
|
7
7
|
import 'lit/directives/if-defined.js';
|
package/dist/leu-select.d.ts
CHANGED
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-C1c3TgrG.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-C1c3TgrG.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './_tslib-CNEFicEt.js';
|
|
9
9
|
import 'lit/decorators.js';
|
package/dist/leu-tag.js
CHANGED
|
@@ -34,6 +34,17 @@
|
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"name": "leu-button-group",
|
|
39
|
+
"description": "A radio input-like button group component.\nIt allows only one button to be active at a time.\n---\n\n\n### **Events:**\n - **input** - When the value of the group changes by clicking a button\n\n### **Slots:**\n - _default_ - Slot for the buttons",
|
|
40
|
+
"attributes": [],
|
|
41
|
+
"references": [
|
|
42
|
+
{
|
|
43
|
+
"name": "Documentation",
|
|
44
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/button-group"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
37
48
|
{
|
|
38
49
|
"name": "leu-button",
|
|
39
50
|
"description": "\n---\n\n\n### **Slots:**\n - **before** - The icon to display before the label\n- **after** - The icon to display after the label\n- _default_ - The label of the button or the icon if no label is set",
|
|
@@ -109,17 +120,6 @@
|
|
|
109
120
|
}
|
|
110
121
|
]
|
|
111
122
|
},
|
|
112
|
-
{
|
|
113
|
-
"name": "leu-button-group",
|
|
114
|
-
"description": "A radio input-like button group component.\nIt allows only one button to be active at a time.\n---\n\n\n### **Events:**\n - **input** - When the value of the group changes by clicking a button\n\n### **Slots:**\n - _default_ - Slot for the buttons",
|
|
115
|
-
"attributes": [],
|
|
116
|
-
"references": [
|
|
117
|
-
{
|
|
118
|
-
"name": "Documentation",
|
|
119
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/button-group"
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
123
|
{
|
|
124
124
|
"name": "leu-chart-wrapper",
|
|
125
125
|
"description": "A wrapper element for charts.\n---\n\n\n### **Slots:**\n - **title** - The title of the chart. Use a heading tag (h2-4) depending on your context.\n- **description** - A description of the chart. Content is wrapped in a `<p>` tag by the component.\n- **chart** - The actual chart\n- **caption** - A caption for the chart, e.g. a source or explanation of the data.\n- **download** - A download button or dropdown to export the chart in different formats.",
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
301
|
"name": "leu-file-input",
|
|
302
|
-
"description": "\n---\n",
|
|
302
|
+
"description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**",
|
|
303
303
|
"attributes": [
|
|
304
304
|
{ "name": "label", "values": [] },
|
|
305
305
|
{
|
|
@@ -604,7 +604,10 @@
|
|
|
604
604
|
"name": "leu-popup",
|
|
605
605
|
"description": "\n---\n",
|
|
606
606
|
"attributes": [
|
|
607
|
-
{
|
|
607
|
+
{
|
|
608
|
+
"name": "anchor",
|
|
609
|
+
"values": [{ "name": "Element" }, { "name": "VirtualElement" }]
|
|
610
|
+
},
|
|
608
611
|
{ "name": "active", "values": [] },
|
|
609
612
|
{ "name": "placement", "values": [{ "name": "Placement" }] },
|
|
610
613
|
{ "name": "flip", "values": [] },
|
|
@@ -621,6 +624,7 @@
|
|
|
621
624
|
{
|
|
622
625
|
"name": "autoSize",
|
|
623
626
|
"values": [
|
|
627
|
+
{ "name": "" },
|
|
624
628
|
{ "name": "width" },
|
|
625
629
|
{ "name": "height" },
|
|
626
630
|
{ "name": "both" }
|