@statistikzh/leu 0.11.1 → 0.12.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/CHANGELOG.md +14 -0
- package/README.md +7 -14
- package/dist/Accordion.d.ts +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/Breadcrumb.d.ts +1 -1
- package/dist/Breadcrumb.js +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.d.ts +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/CheckboxGroup.d.ts +1 -1
- package/dist/CheckboxGroup.js +1 -1
- package/dist/Chip.d.ts +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ChipGroup.d.ts +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.d.ts +1 -1
- package/dist/Dialog.js +2 -2
- package/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.d.ts +1 -1
- package/dist/Input.d.ts.map +1 -1
- package/dist/Input.js +2 -1
- package/dist/{LeuElement-e092765a.d.ts → LeuElement-b9109dcb.d.ts} +1 -1
- package/dist/LeuElement-b9109dcb.d.ts.map +1 -0
- package/dist/{LeuElement-e092765a.js → LeuElement-b9109dcb.js} +1 -1
- package/dist/Menu.d.ts +1 -1
- package/dist/Menu.js +1 -1
- package/dist/MenuItem.d.ts +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/Popup.d.ts +1 -1
- package/dist/Popup.js +1 -1
- package/dist/Radio.d.ts +1 -1
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/Range.d.ts +1 -1
- package/dist/Range.js +1 -1
- package/dist/ScrollTop.d.ts +1 -1
- package/dist/ScrollTop.js +2 -2
- package/dist/Select.d.ts +1 -1
- package/dist/Select.js +2 -2
- package/dist/Spinner.d.ts +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.d.ts +1 -1
- package/dist/Table.d.ts.map +1 -1
- package/dist/Table.js +6 -3
- package/dist/VisuallyHidden.d.ts +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/{hasSlotController-d1f26756.d.ts → hasSlotController-16f26398.d.ts} +1 -1
- package/dist/{hasSlotController-d1f26756.d.ts.map → hasSlotController-16f26398.d.ts.map} +1 -1
- package/dist/{hasSlotController-d1f26756.js → hasSlotController-16f26398.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/leu-accordion.js +1 -1
- package/dist/leu-breadcrumb.js +1 -1
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.js +2 -2
- 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 +2 -2
- package/dist/leu-dropdown.js +2 -2
- 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-pagination.js +2 -2
- 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 +2 -2
- package/dist/leu-select.js +2 -2
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.js +2 -2
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +112 -112
- package/dist/vue/index.d.ts +157 -157
- package/dist/web-types.json +216 -216
- package/package.json +1 -1
- package/src/components/input/input.css +1 -0
- package/src/components/table/Table.js +5 -1
- package/src/components/table/stories/table.stories.js +6 -1
- package/src/components/table/table.css +1 -0
- package/dist/LeuElement-e092765a.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.1](https://github.com/statistikZH/leu/compare/v0.12.0...v0.12.1) (2024-12-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **input:** define explicit height of native input field to ensure consistent height of the element ([63527d8](https://github.com/statistikZH/leu/commit/63527d86c1e311fccefd2c2dcff50bcd2d6d6ed7))
|
|
9
|
+
|
|
10
|
+
## [0.12.0](https://github.com/statistikZH/leu/compare/v0.11.1...v0.12.0) (2024-12-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add headerStyle function ([#248](https://github.com/statistikZH/leu/issues/248)) ([385f3ea](https://github.com/statistikZH/leu/commit/385f3ea003735216e1c0227d7dfd64e7c33e67b7))
|
|
16
|
+
|
|
3
17
|
## [0.11.1](https://github.com/statistikZH/leu/compare/v0.11.0...v0.11.1) (2024-11-25)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -113,11 +113,11 @@ At the same time they're not set in stone. If the there is a good reason to chan
|
|
|
113
113
|
|
|
114
114
|
### Naming
|
|
115
115
|
|
|
116
|
-
Every element
|
|
116
|
+
Every element or custom property that will be globally available has to be prefixed with `leu`.
|
|
117
117
|
|
|
118
118
|
```js
|
|
119
119
|
/* Custom elements */
|
|
120
|
-
class LeuRadio extends
|
|
120
|
+
class LeuRadio extends LeuElement {
|
|
121
121
|
...
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -125,12 +125,7 @@ window.customElements.define("leu-input", LeuInput)
|
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
```css
|
|
128
|
-
/* CSS
|
|
129
|
-
.leu-radio-group {
|
|
130
|
-
...;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/* CSS custom property */
|
|
128
|
+
/* CSS custom property of the theme */
|
|
134
129
|
:root {
|
|
135
130
|
--leu-color-black-0: #000;
|
|
136
131
|
}
|
|
@@ -138,10 +133,10 @@ window.customElements.define("leu-input", LeuInput)
|
|
|
138
133
|
|
|
139
134
|
### Scoped styles
|
|
140
135
|
|
|
141
|
-
All CSS declarations
|
|
142
|
-
The only exceptions are `@font-face` statements and custom property declarations.
|
|
136
|
+
All CSS declarations have to live inside a custom element. This way we ensure that the styles won't interfere with the environment they're loaded into.
|
|
143
137
|
Styles that are shared between components should be defined as global custom properties inside the `styles/custom-properties.css`.
|
|
144
|
-
When a global custom property is used inside a component it
|
|
138
|
+
When a global custom property is used inside a component it could be a good practice to assign them to a local custom property with a semantic naming.
|
|
139
|
+
This only make a sense when the component has a certain complexity and the global custom property are used multiple times.
|
|
145
140
|
|
|
146
141
|
```css
|
|
147
142
|
:host {
|
|
@@ -180,13 +175,11 @@ Thanks to the following people who have contributed to this project
|
|
|
180
175
|
Dan Büschlen <br>
|
|
181
176
|
dan.bueschlen@statistik.ji.zh.ch <br>
|
|
182
177
|
|
|
183
|
-

|
|
184
|
-
|
|
185
178
|
## License
|
|
186
179
|
|
|
187
180
|
This project uses the following license: <br>
|
|
188
181
|
|
|
189
|
-
- Code license: [Copyright (c) <
|
|
182
|
+
- Code license: [Copyright (c) <2024> <Statistisches Amt Kanton Zürich>](LICENSE)
|
|
190
183
|
|
|
191
184
|
## Guidelines for contributing
|
|
192
185
|
|
package/dist/Accordion.d.ts
CHANGED
|
@@ -28,5 +28,5 @@ export class LeuAccordion extends LeuElement {
|
|
|
28
28
|
_handleToggleClick(): void;
|
|
29
29
|
render(): import("lit-html").TemplateResult;
|
|
30
30
|
}
|
|
31
|
-
import { L as LeuElement } from './LeuElement-
|
|
31
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
32
32
|
//# sourceMappingURL=Accordion.d.ts.map
|
package/dist/Accordion.js
CHANGED
package/dist/Breadcrumb.d.ts
CHANGED
|
@@ -64,6 +64,6 @@ export class LeuBreadcrumb extends LeuElement {
|
|
|
64
64
|
renderDropdown(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
65
65
|
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
66
66
|
}
|
|
67
|
-
import { L as LeuElement } from './LeuElement-
|
|
67
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
68
68
|
import { nothing } from 'lit';
|
|
69
69
|
//# sourceMappingURL=Breadcrumb.d.ts.map
|
package/dist/Breadcrumb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, nothing, html } from 'lit';
|
|
3
3
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
4
4
|
import { classMap } from 'lit/directives/class-map.js';
|
package/dist/Button.d.ts
CHANGED
|
@@ -41,6 +41,6 @@ export class LeuButton extends LeuElement {
|
|
|
41
41
|
hasTextContent(): boolean;
|
|
42
42
|
render(): import("lit-html").TemplateResult<1>;
|
|
43
43
|
}
|
|
44
|
-
import { L as LeuElement } from './LeuElement-
|
|
44
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
45
45
|
import { nothing } from 'lit';
|
|
46
46
|
//# sourceMappingURL=Button.d.ts.map
|
package/dist/Button.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
5
5
|
import { LeuIcon } from './Icon.js';
|
|
6
|
-
import { H as HasSlotController } from './hasSlotController-
|
|
6
|
+
import { H as HasSlotController } from './hasSlotController-16f26398.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* All roles that are associated with a aria-checked attribute
|
package/dist/ButtonGroup.d.ts
CHANGED
|
@@ -20,5 +20,5 @@ export class LeuButtonGroup extends LeuElement {
|
|
|
20
20
|
_handleButtonClick(button: any): void;
|
|
21
21
|
render(): import("lit-html").TemplateResult<1>;
|
|
22
22
|
}
|
|
23
|
-
import { L as LeuElement } from './LeuElement-
|
|
23
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
24
24
|
//# sourceMappingURL=ButtonGroup.d.ts.map
|
package/dist/ButtonGroup.js
CHANGED
package/dist/Checkbox.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export class LeuCheckbox extends LeuElement {
|
|
|
10
10
|
handleInput(event: any): void;
|
|
11
11
|
render(): import("lit-html").TemplateResult<1>;
|
|
12
12
|
}
|
|
13
|
-
import { L as LeuElement } from './LeuElement-
|
|
13
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
14
14
|
//# sourceMappingURL=Checkbox.d.ts.map
|
package/dist/Checkbox.js
CHANGED
package/dist/CheckboxGroup.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export class LeuCheckboxGroup extends LeuElement {
|
|
|
10
10
|
handleItems(): void;
|
|
11
11
|
render(): import("lit-html").TemplateResult<1>;
|
|
12
12
|
}
|
|
13
|
-
import { L as LeuElement } from './LeuElement-
|
|
13
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
14
14
|
//# sourceMappingURL=CheckboxGroup.d.ts.map
|
package/dist/CheckboxGroup.js
CHANGED
package/dist/Chip.d.ts
CHANGED
package/dist/Chip.js
CHANGED
package/dist/ChipGroup.d.ts
CHANGED
package/dist/ChipGroup.js
CHANGED
package/dist/ChipLink.js
CHANGED
package/dist/ChipRemovable.js
CHANGED
package/dist/ChipSelectable.js
CHANGED
package/dist/Dialog.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export class LeuDialog extends LeuElement {
|
|
|
13
13
|
close(): void;
|
|
14
14
|
render(): import("lit-html").TemplateResult<1>;
|
|
15
15
|
}
|
|
16
|
-
import { L as LeuElement } from './LeuElement-
|
|
16
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
17
17
|
//# sourceMappingURL=Dialog.d.ts.map
|
package/dist/Dialog.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
4
4
|
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
-
import { H as HasSlotController } from './hasSlotController-
|
|
5
|
+
import { H as HasSlotController } from './hasSlotController-16f26398.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = css`/* figma https://www.figma.com/design/d6Pv21UVUbnBs3AdcZijHmbN/KTZH-Design-System?node-id=21161-186812&t=8VgDy9avMRG5aL7s-0 */
|
package/dist/Dropdown.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ export class LeuDropdown extends LeuElement {
|
|
|
15
15
|
_getMenu(): any;
|
|
16
16
|
render(): import("lit-html").TemplateResult<1>;
|
|
17
17
|
}
|
|
18
|
-
import { L as LeuElement } from './LeuElement-
|
|
18
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
19
19
|
//# sourceMappingURL=Dropdown.d.ts.map
|
package/dist/Dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
4
|
-
import { H as HasSlotController } from './hasSlotController-
|
|
4
|
+
import { H as HasSlotController } from './hasSlotController-16f26398.js';
|
|
5
5
|
import { LeuButton } from './Button.js';
|
|
6
6
|
import { LeuMenu } from './Menu.js';
|
|
7
7
|
import { LeuMenuItem } from './MenuItem.js';
|
package/dist/Icon.d.ts
CHANGED
|
@@ -112,5 +112,5 @@ export class LeuIcon extends LeuElement {
|
|
|
112
112
|
name: any | "";
|
|
113
113
|
render(): import("lit-html").TemplateResult<1>;
|
|
114
114
|
}
|
|
115
|
-
import { L as LeuElement } from './LeuElement-
|
|
115
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
116
116
|
//# sourceMappingURL=Icon.d.ts.map
|
package/dist/Icon.js
CHANGED
package/dist/Input.d.ts
CHANGED
|
@@ -145,6 +145,6 @@ export const SIZES: Readonly<{
|
|
|
145
145
|
SMALL: "small";
|
|
146
146
|
REGULAR: "regular";
|
|
147
147
|
}>;
|
|
148
|
-
import { L as LeuElement } from './LeuElement-
|
|
148
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
149
149
|
import { nothing } from 'lit';
|
|
150
150
|
//# sourceMappingURL=Input.d.ts.map
|
package/dist/Input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["Input.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["Input.js"],"names":[],"mappings":"AA6SA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IACE,kEAKC;IAGC,kBAAqB;IACrB,kBAAqB;IACrB,mBAAsB;IAEtB,kCAAkC;IAClC,MADW,OAAO,GAAG,SAAS,CACL;IACzB,aAAkB;IAClB,eAAqB;IACrB,uBAA4B;IAC5B,oBAAuB;IACvB,cAAe;IAEf,gBAAgB;IAChB,oBAAqB;IAErB;;;OAGG;IACH,WAFU,OAAO,uBAAuB,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAEnC;IAE9B,4BAKC;IAED;;;;;;;;;;OAUG;IACH,2BAIC;IAED;;;;;;OAMG;IACH,mBAKC;IAED;;;;;;OAMG;IACH,sBAEC;IAED;;;;;;;;OAQG;IACH,qBAMC;IAED;;;;;;;OAOG;IACH,oBAOC;IAED;;;;;;;;OAQG;IACH,cAWC;IAED;;;;;;;OAOG;IACH,cAUC;IAED;;;;;;;;;;OAUG;IACH,6BAgBC;IAED;;;OAGG;IACH,uBAFa,OAAO,KAAK,EAAE,cAAc,iBAAU,CAgBlD;IAED;;;;;;OAMG;IACH,2BAsBC;IACD,qBAKC;IACD,+CA2CC;CACF;AAjVD;;;GAGG;gCAxRmD,0BAA0B;wBAC7C,KAAK"}
|
package/dist/Input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, nothing, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
@@ -97,6 +97,7 @@ var css_248z = css`:host {
|
|
|
97
97
|
padding-top: 2rem;
|
|
98
98
|
|
|
99
99
|
padding-bottom: 1rem;
|
|
100
|
+
height: calc(4.5rem - var(--input-border-width) * 2);
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
.input:focus-visible {
|
|
@@ -4,4 +4,4 @@ declare class LeuElement extends LitElement {
|
|
|
4
4
|
declare function _defineProperty(obj: any, key: any, value: any): any;
|
|
5
5
|
import { LitElement } from 'lit';
|
|
6
6
|
export { LeuElement as L, _defineProperty as _ };
|
|
7
|
-
//# sourceMappingURL=LeuElement-
|
|
7
|
+
//# sourceMappingURL=LeuElement-b9109dcb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeuElement-b9109dcb.d.ts","sourceRoot":"","sources":["LeuElement-b9109dcb.js"],"names":[],"mappings":"AAsCA;IACE,8EAcC;CACF;AApDD,sEAaC;2BAf+B,KAAK"}
|
|
@@ -53,7 +53,7 @@ class LeuElement extends LitElement {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
_defineProperty(LeuElement, "version", "0.
|
|
56
|
+
_defineProperty(LeuElement, "version", "0.12.1");
|
|
57
57
|
_defineProperty(LeuElement, "dependencies", {});
|
|
58
58
|
_defineProperty(LeuElement, "styles", css_248z);
|
|
59
59
|
|
package/dist/Menu.d.ts
CHANGED
|
@@ -25,6 +25,6 @@ export class LeuMenu extends LeuElement {
|
|
|
25
25
|
updated(changedProperties: any): void;
|
|
26
26
|
render(): import("lit-html").TemplateResult<1>;
|
|
27
27
|
}
|
|
28
|
-
import { L as LeuElement } from './LeuElement-
|
|
28
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
29
29
|
import { LeuMenuItem } from './MenuItem.js';
|
|
30
30
|
//# sourceMappingURL=Menu.d.ts.map
|
package/dist/Menu.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { LeuMenuItem } from './MenuItem.js';
|
|
4
4
|
import 'lit/directives/if-defined.js';
|
package/dist/MenuItem.d.ts
CHANGED
|
@@ -37,6 +37,6 @@ export class LeuMenuItem extends LeuElement {
|
|
|
37
37
|
_renderBeforeSlotDefault(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
38
38
|
render(): import("lit-html").TemplateResult<1>;
|
|
39
39
|
}
|
|
40
|
-
import { L as LeuElement } from './LeuElement-
|
|
40
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
41
41
|
import { nothing } from 'lit';
|
|
42
42
|
//# sourceMappingURL=MenuItem.d.ts.map
|
package/dist/MenuItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
4
|
import { LeuIcon } from './Icon.js';
|
package/dist/Pagination.d.ts
CHANGED
|
@@ -30,5 +30,5 @@ export class LeuPagination extends LeuElement {
|
|
|
30
30
|
_handleKeyDown(event: any): void;
|
|
31
31
|
render(): import("lit-html").TemplateResult<1>;
|
|
32
32
|
}
|
|
33
|
-
import { L as LeuElement } from './LeuElement-
|
|
33
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
34
34
|
//# sourceMappingURL=Pagination.d.ts.map
|
package/dist/Pagination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { live } from 'lit/directives/live.js';
|
|
4
4
|
import { LeuButton } from './Button.js';
|
|
@@ -6,7 +6,7 @@ import { LeuVisuallyHidden } from './VisuallyHidden.js';
|
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
import 'lit/directives/class-map.js';
|
|
8
8
|
import 'lit/directives/if-defined.js';
|
|
9
|
-
import './hasSlotController-
|
|
9
|
+
import './hasSlotController-16f26398.js';
|
|
10
10
|
|
|
11
11
|
var css_248z = css`:host {
|
|
12
12
|
margin-top: 16px;
|
package/dist/Popup.d.ts
CHANGED
|
@@ -32,5 +32,5 @@ export class LeuPopup extends LeuElement {
|
|
|
32
32
|
handleAnchorChange(): void;
|
|
33
33
|
render(): import("lit-html").TemplateResult<1>;
|
|
34
34
|
}
|
|
35
|
-
import { L as LeuElement } from './LeuElement-
|
|
35
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
36
36
|
//# sourceMappingURL=Popup.d.ts.map
|
package/dist/Popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { autoUpdate, size, flip, shift, computePosition } from '@floating-ui/dom';
|
|
4
4
|
|
package/dist/Radio.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export class LeuRadio extends LeuElement {
|
|
|
10
10
|
handleInput(event: any): void;
|
|
11
11
|
render(): import("lit-html").TemplateResult<1>;
|
|
12
12
|
}
|
|
13
|
-
import { L as LeuElement } from './LeuElement-
|
|
13
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
14
14
|
//# sourceMappingURL=Radio.d.ts.map
|
package/dist/Radio.js
CHANGED
package/dist/RadioGroup.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export class LeuRadioGroup extends LeuElement {
|
|
|
16
16
|
initializeIndex(): void;
|
|
17
17
|
render(): import("lit-html").TemplateResult<1>;
|
|
18
18
|
}
|
|
19
|
-
import { L as LeuElement } from './LeuElement-
|
|
19
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
20
20
|
//# sourceMappingURL=RadioGroup.d.ts.map
|
package/dist/RadioGroup.js
CHANGED
package/dist/Range.d.ts
CHANGED
|
@@ -56,5 +56,5 @@ export class LeuRange extends LeuElement {
|
|
|
56
56
|
}): void;
|
|
57
57
|
render(): import("lit-html").TemplateResult<1>;
|
|
58
58
|
}
|
|
59
|
-
import { L as LeuElement } from './LeuElement-
|
|
59
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
60
60
|
//# sourceMappingURL=Range.d.ts.map
|
package/dist/Range.js
CHANGED
package/dist/ScrollTop.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ export class LeuScrollTop extends LeuElement {
|
|
|
15
15
|
_scrollListener: Function;
|
|
16
16
|
render(): import("lit-html").TemplateResult<1>;
|
|
17
17
|
}
|
|
18
|
-
import { L as LeuElement } from './LeuElement-
|
|
18
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
19
19
|
//# sourceMappingURL=ScrollTop.d.ts.map
|
package/dist/ScrollTop.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { LeuButton } from './Button.js';
|
|
5
5
|
import { LeuIcon } from './Icon.js';
|
|
6
6
|
import { t as throttle } from './utils-65469421.js';
|
|
7
7
|
import 'lit/directives/if-defined.js';
|
|
8
|
-
import './hasSlotController-
|
|
8
|
+
import './hasSlotController-16f26398.js';
|
|
9
9
|
|
|
10
10
|
var css_248z = css`.scroll-top {
|
|
11
11
|
overflow: hidden;
|
package/dist/Select.d.ts
CHANGED
|
@@ -131,6 +131,6 @@ export class LeuSelect extends LeuElement {
|
|
|
131
131
|
_renderToggleButton(): import("lit-html").TemplateResult<1>;
|
|
132
132
|
render(): import("lit-html").TemplateResult<1>;
|
|
133
133
|
}
|
|
134
|
-
import { L as LeuElement } from './LeuElement-
|
|
134
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
135
135
|
import { nothing } from 'lit';
|
|
136
136
|
//# sourceMappingURL=Select.d.ts.map
|
package/dist/Select.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, nothing, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
5
5
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
6
|
-
import { H as HasSlotController } from './hasSlotController-
|
|
6
|
+
import { H as HasSlotController } from './hasSlotController-16f26398.js';
|
|
7
7
|
import { LeuButton } from './Button.js';
|
|
8
8
|
import { LeuMenu } from './Menu.js';
|
|
9
9
|
import { LeuMenuItem } from './MenuItem.js';
|
package/dist/Spinner.d.ts
CHANGED
package/dist/Spinner.js
CHANGED
package/dist/Table.d.ts
CHANGED
|
@@ -40,5 +40,5 @@ export class LeuTable extends LeuElement {
|
|
|
40
40
|
get _data(): any[];
|
|
41
41
|
render(): import("lit-html").TemplateResult<1>;
|
|
42
42
|
}
|
|
43
|
-
import { L as LeuElement } from './LeuElement-
|
|
43
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
44
44
|
//# sourceMappingURL=Table.d.ts.map
|
package/dist/Table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["Table.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["Table.js"],"names":[],"mappings":"AAsHA;;GAEG;AACH;IAGI,oBAAoB;IACpB,eAAiB;IACjB,oBAAoB;IACpB,YAAc;IACd,sBAAsB;IACtB,mBADW,OAAO,CACY;IAC9B,qBAAqB;IACrB,cADW,MAAM,CACO;IACxB,qBAAqB;IACrB,WADW,MAAM,CACI;IACrB,sBAAsB;IACtB,cADW,OAAO,CACO;IACzB,qBAAqB;IACrB,OADW,MAAM,CACA;IAEjB,gBAAgB;IAChB,qBAAwB;IACxB,gBAAgB;IAChB,sBAAyB;IACzB,gBAAgB;IAChB,8DAA6B;IAE7B,gBAAgB;IAChB,cAAc;IACd,gCAEE;IAKJ,oEAKC;IACD,qBAGC;IACD,gCAGC;IACD,8BAEC;IACD,8GAQC;IACD,4BAEC;IACD,0BAQC;IAFG,kBAAsB;IAG1B,sDAIC;IACD,0DAEC;IACD,sBAEC;IACD,yBAMC;IACD,mBAEC;IACD,+CA+DC;CACF;gCAtRqD,0BAA0B"}
|
package/dist/Table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { styleMap } from 'lit/directives/style-map.js';
|
|
@@ -8,7 +8,7 @@ import { LeuPagination } from './Pagination.js';
|
|
|
8
8
|
import 'lit/directives/live.js';
|
|
9
9
|
import './Button.js';
|
|
10
10
|
import 'lit/directives/if-defined.js';
|
|
11
|
-
import './hasSlotController-
|
|
11
|
+
import './hasSlotController-16f26398.js';
|
|
12
12
|
import './VisuallyHidden.js';
|
|
13
13
|
|
|
14
14
|
var css_248z = css`:host {
|
|
@@ -84,6 +84,7 @@ button {
|
|
|
84
84
|
align-items: flex-center;
|
|
85
85
|
font-size: inherit;
|
|
86
86
|
font-family: inherit;
|
|
87
|
+
color: inherit;
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
thead leu-icon {
|
|
@@ -238,7 +239,9 @@ class LeuTable extends LeuElement {
|
|
|
238
239
|
<table class=${classMap(stickyClass)}>
|
|
239
240
|
<thead>
|
|
240
241
|
<tr>
|
|
241
|
-
${this._columns.map(col => html`<th
|
|
242
|
+
${this._columns.map(col => html`<th
|
|
243
|
+
style=${col.headerStyle ? styleMap(col.headerStyle()) : nothing}
|
|
244
|
+
>
|
|
242
245
|
${col.sort ? html`<button @click=${_ => this.sortClick(col)}>
|
|
243
246
|
<span>${col.name}</span>
|
|
244
247
|
${this.sortArrow(col)}
|
package/dist/VisuallyHidden.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
export class LeuVisuallyHidden extends LeuElement {
|
|
5
5
|
render(): import("lit-html").TemplateResult<1>;
|
|
6
6
|
}
|
|
7
|
-
import { L as LeuElement } from './LeuElement-
|
|
7
|
+
import { L as LeuElement } from './LeuElement-b9109dcb.js';
|
|
8
8
|
//# sourceMappingURL=VisuallyHidden.d.ts.map
|
package/dist/VisuallyHidden.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasSlotController-
|
|
1
|
+
{"version":3,"file":"hasSlotController-16f26398.d.ts","sourceRoot":"","sources":["hasSlotController-16f26398.js"],"names":[],"mappings":";;;;iCASa,OAAO,KAAK,EAAE,kBAAkB;AAP7C;;;GAGG;AAEH;;;;GAIG;AACH;IACE,uCAcC;IAHC,UAAgB;IAEhB,eAA0B;IAG5B;;;OAGG;IACH,uBAeC;IAED;;;;OAIG;IACH,qBAEC;IAED;;;OAGG;IACH,gCAEC;IACD,sBAEC;IACD,yBAEC;CACF"}
|