@statistikzh/leu 0.6.0 → 0.8.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/.eslintrc.json +4 -1
- package/CHANGELOG.md +30 -0
- package/dist/Accordion.d.ts +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/Breadcrumb.d.ts +1 -1
- package/dist/Breadcrumb.d.ts.map +1 -1
- package/dist/Breadcrumb.js +3 -1
- package/dist/{Button-9692e403.d.ts → Button-3adfb3ed.d.ts} +2 -2
- package/dist/Button-3adfb3ed.d.ts.map +1 -0
- package/dist/{Button-9692e403.js → Button-3adfb3ed.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.d.ts.map +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.d.ts.map +1 -1
- package/dist/Checkbox.js +3 -1
- package/dist/CheckboxGroup.d.ts +3 -2
- package/dist/CheckboxGroup.d.ts.map +1 -1
- package/dist/CheckboxGroup.js +6 -3
- package/dist/Chip.d.ts +1 -1
- package/dist/Chip.d.ts.map +1 -1
- package/dist/Chip.js +19 -17
- package/dist/ChipGroup.d.ts +8 -2
- package/dist/ChipGroup.d.ts.map +1 -1
- package/dist/ChipGroup.js +32 -5
- package/dist/ChipLink.js +1 -1
- package/dist/ChipRemovable.d.ts +7 -0
- package/dist/ChipRemovable.d.ts.map +1 -1
- package/dist/ChipRemovable.js +23 -3
- package/dist/ChipSelectable.d.ts +9 -1
- package/dist/ChipSelectable.d.ts.map +1 -1
- package/dist/ChipSelectable.js +23 -11
- package/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/Icon.d.ts +98 -2
- package/dist/Icon.d.ts.map +1 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.d.ts +7 -2
- package/dist/Input.d.ts.map +1 -1
- package/dist/Input.js +16 -3
- package/dist/{LeuElement-6de6f209.d.ts → LeuElement-a20c5fd6.d.ts} +2 -2
- package/dist/LeuElement-a20c5fd6.d.ts.map +1 -0
- package/dist/LeuElement-a20c5fd6.js +52 -0
- package/dist/Menu.d.ts +2 -2
- package/dist/Menu.js +1 -1
- package/dist/MenuItem.d.ts +2 -2
- package/dist/MenuItem.js +4 -4
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/Popup.d.ts +1 -1
- package/dist/Popup.d.ts.map +1 -1
- package/dist/Popup.js +3 -1
- package/dist/Radio.d.ts +1 -1
- package/dist/Radio.d.ts.map +1 -1
- package/dist/Radio.js +3 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.d.ts.map +1 -1
- package/dist/RadioGroup.js +22 -10
- package/dist/ScrollTop.d.ts +1 -1
- package/dist/ScrollTop.js +2 -2
- package/dist/Select.d.ts +1 -1
- package/dist/Select.d.ts.map +1 -1
- package/dist/Select.js +4 -2
- package/dist/Table.d.ts +1 -1
- package/dist/Table.d.ts.map +1 -1
- package/dist/Table.js +4 -3
- package/dist/VisuallyHidden.d.ts +1 -1
- package/dist/VisuallyHidden.d.ts.map +1 -1
- package/dist/VisuallyHidden.js +5 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- 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.d.ts +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-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-scroll-top.js +2 -2
- package/dist/leu-select.js +2 -2
- package/dist/leu-table.js +2 -2
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +32 -8
- package/dist/vue/index.d.ts +29 -9
- package/dist/web-types.json +236 -235
- package/package.json +4 -3
- package/rollup.config.js +9 -0
- package/src/components/checkbox/CheckboxGroup.js +3 -2
- package/src/components/checkbox/stories/checkbox-group.stories.js +3 -3
- package/src/components/chip/ChipGroup.js +28 -4
- package/src/components/chip/ChipRemovable.js +18 -0
- package/src/components/chip/ChipSelectable.js +24 -10
- package/src/components/chip/chip.css +16 -16
- package/src/components/chip/stories/chip-group.stories.js +6 -9
- package/src/components/chip/stories/chip-removable.stories.js +6 -2
- package/src/components/chip/stories/chip-selectable.stories.js +1 -1
- package/src/components/chip/test/chip-group.test.js +67 -0
- package/src/components/chip/test/chip-removable.test.js +36 -2
- package/src/components/chip/test/chip-selectable.test.js +18 -8
- package/src/components/input/Input.js +14 -1
- package/src/components/input/stories/input.stories.js +3 -3
- package/src/components/input/test/input.test.js +20 -0
- package/src/components/menu/MenuItem.js +1 -1
- package/src/components/menu/menu-item.css +2 -2
- package/src/components/radio/RadioGroup.js +15 -11
- package/src/components/radio/stories/radio-group.stories.js +3 -3
- package/src/lib/LeuElement.js +19 -11
- package/dist/Button-9692e403.d.ts.map +0 -1
- package/dist/LeuElement-6de6f209.d.ts.map +0 -1
- package/dist/LeuElement-6de6f209.js +0 -43
package/dist/Icon.d.ts
CHANGED
|
@@ -1,4 +1,100 @@
|
|
|
1
|
-
export type IconPathName =
|
|
1
|
+
export type IconPathName = keyof {
|
|
2
|
+
addNew: string;
|
|
3
|
+
angleDropDown: string;
|
|
4
|
+
angleDropup: string;
|
|
5
|
+
angleLeft: string;
|
|
6
|
+
angleRight: string;
|
|
7
|
+
arrowDown: string;
|
|
8
|
+
arrowLeft: string;
|
|
9
|
+
arrowRight: string;
|
|
10
|
+
arrowUp: string;
|
|
11
|
+
calendar: string;
|
|
12
|
+
caution: string;
|
|
13
|
+
chatMessage: string;
|
|
14
|
+
check: string;
|
|
15
|
+
clear: string;
|
|
16
|
+
close: string;
|
|
17
|
+
conference: string;
|
|
18
|
+
confirm: string;
|
|
19
|
+
confirmPlain: string;
|
|
20
|
+
delete: string;
|
|
21
|
+
documents: string;
|
|
22
|
+
download: string;
|
|
23
|
+
edit: string;
|
|
24
|
+
email: string;
|
|
25
|
+
file: string;
|
|
26
|
+
fileOutline: string;
|
|
27
|
+
files: string;
|
|
28
|
+
filter: string;
|
|
29
|
+
floppy: string;
|
|
30
|
+
forward: string;
|
|
31
|
+
getInformation: string;
|
|
32
|
+
hide: string;
|
|
33
|
+
home: string;
|
|
34
|
+
link: string;
|
|
35
|
+
list: string;
|
|
36
|
+
lock: string;
|
|
37
|
+
location: string;
|
|
38
|
+
login: string;
|
|
39
|
+
logout: string;
|
|
40
|
+
map: string;
|
|
41
|
+
mapLocateMe: string;
|
|
42
|
+
mapLocation: string;
|
|
43
|
+
mapNavigation: string;
|
|
44
|
+
mapPin: string;
|
|
45
|
+
menu: string;
|
|
46
|
+
menuOverflow: string;
|
|
47
|
+
minus: string;
|
|
48
|
+
openMail: string;
|
|
49
|
+
overflow: string;
|
|
50
|
+
paperplane: string;
|
|
51
|
+
paragraph: string;
|
|
52
|
+
phoneCall: string;
|
|
53
|
+
pin: string;
|
|
54
|
+
plus: string;
|
|
55
|
+
print: string;
|
|
56
|
+
remove: string;
|
|
57
|
+
resizeText: string;
|
|
58
|
+
search: string;
|
|
59
|
+
show: string;
|
|
60
|
+
time: string;
|
|
61
|
+
upload: string;
|
|
62
|
+
cc: string;
|
|
63
|
+
fastForward: string;
|
|
64
|
+
fastRewind: string;
|
|
65
|
+
fullScreen: string;
|
|
66
|
+
next: string;
|
|
67
|
+
pause: string;
|
|
68
|
+
play: string;
|
|
69
|
+
playButton: string;
|
|
70
|
+
previews: string;
|
|
71
|
+
skipNext: string;
|
|
72
|
+
skipPrevious: string;
|
|
73
|
+
stop: string;
|
|
74
|
+
comment: string;
|
|
75
|
+
facebook: string;
|
|
76
|
+
google: string;
|
|
77
|
+
instagram: string;
|
|
78
|
+
kununu: string;
|
|
79
|
+
like: string;
|
|
80
|
+
linkedin: string;
|
|
81
|
+
love: string;
|
|
82
|
+
repost: string;
|
|
83
|
+
share: string;
|
|
84
|
+
snapchat: string;
|
|
85
|
+
twitter: string;
|
|
86
|
+
user: string;
|
|
87
|
+
users: string;
|
|
88
|
+
vote: string;
|
|
89
|
+
xing: string;
|
|
90
|
+
youtube: string;
|
|
91
|
+
youtubeLogo: string;
|
|
92
|
+
smileyThrilled: string;
|
|
93
|
+
smileySmile: string;
|
|
94
|
+
smileyIndifferent: string;
|
|
95
|
+
smileySad: string;
|
|
96
|
+
smileyDevastated: string;
|
|
97
|
+
};
|
|
2
98
|
/**
|
|
3
99
|
* A component to render all defined zhWeb icons.
|
|
4
100
|
* The `fill` of the icon is set to `currentColor` and
|
|
@@ -16,5 +112,5 @@ export class LeuIcon extends LeuElement {
|
|
|
16
112
|
name: any | "";
|
|
17
113
|
render(): import("lit-html").TemplateResult<1>;
|
|
18
114
|
}
|
|
19
|
-
import { L as LeuElement } from './LeuElement-
|
|
115
|
+
import { L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
20
116
|
//# sourceMappingURL=Icon.d.ts.map
|
package/dist/Icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["Icon.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["Icon.js"],"names":[],"mappings":"2BAca;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAW;AAwGxB;;;;;;;;;GASG;AACH;IAII;;OAEG;IACH,MAFU,MAAiC,EAAE,CAE/B;IAEhB,+CAiBC;CACF;gCA3JqD,0BAA0B"}
|
package/dist/Icon.js
CHANGED
package/dist/Input.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export class LeuInput extends LeuElement {
|
|
|
38
38
|
_validity: any;
|
|
39
39
|
validationMessages: {};
|
|
40
40
|
novalidate: boolean;
|
|
41
|
+
value: string;
|
|
41
42
|
/** @internal */
|
|
42
43
|
_identifier: string;
|
|
43
44
|
/**
|
|
@@ -45,6 +46,7 @@ export class LeuInput extends LeuElement {
|
|
|
45
46
|
* @type {import("lit/directives/ref.js").Ref<HTMLInputElement>}
|
|
46
47
|
*/
|
|
47
48
|
_inputRef: import("lit/directives/ref.js").Ref<HTMLInputElement>;
|
|
49
|
+
get valueAsNumber(): number;
|
|
48
50
|
/**
|
|
49
51
|
* Method for handling the click event of the wrapper element.
|
|
50
52
|
* Redirect every click on the wrapper to the input element.
|
|
@@ -83,7 +85,6 @@ export class LeuInput extends LeuElement {
|
|
|
83
85
|
* @returns {void}
|
|
84
86
|
*/
|
|
85
87
|
private handleChange;
|
|
86
|
-
value: any;
|
|
87
88
|
/**
|
|
88
89
|
* Method for handling the input event of the input element.
|
|
89
90
|
* Sets the value property and dispatches an input event so that
|
|
@@ -140,6 +141,10 @@ export class LeuInput extends LeuElement {
|
|
|
140
141
|
isInvalid(): boolean;
|
|
141
142
|
render(): import("lit-html").TemplateResult<1>;
|
|
142
143
|
}
|
|
143
|
-
|
|
144
|
+
export const SIZES: Readonly<{
|
|
145
|
+
SMALL: "small";
|
|
146
|
+
REGULAR: "regular";
|
|
147
|
+
}>;
|
|
148
|
+
import { L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
144
149
|
import { nothing } from 'lit';
|
|
145
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":"AA+SA;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;gCA1RmD,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-a20c5fd6.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';
|
|
@@ -38,6 +38,7 @@ var css_248z = css`:host,
|
|
|
38
38
|
--input-font-black: var(--leu-font-family-black);
|
|
39
39
|
|
|
40
40
|
display: block;
|
|
41
|
+
font-family: var(--leu-font-family-regular);
|
|
41
42
|
font-family: var(--input-font-regular);
|
|
42
43
|
}
|
|
43
44
|
|
|
@@ -276,6 +277,11 @@ var css_248z = css`:host,
|
|
|
276
277
|
}
|
|
277
278
|
`;
|
|
278
279
|
|
|
280
|
+
const SIZES = Object.freeze({
|
|
281
|
+
SMALL: "small",
|
|
282
|
+
REGULAR: "regular"
|
|
283
|
+
});
|
|
284
|
+
|
|
279
285
|
/**
|
|
280
286
|
* TODO:
|
|
281
287
|
* - Add section to docs about how to mark up suffix and prefix for screenreaders
|
|
@@ -338,11 +344,12 @@ class LeuInput extends LeuElement {
|
|
|
338
344
|
this.clearable = false;
|
|
339
345
|
|
|
340
346
|
/** @type {"small" | "regular"} */
|
|
341
|
-
this.size =
|
|
347
|
+
this.size = SIZES.REGULAR;
|
|
342
348
|
this.type = "text";
|
|
343
349
|
this._validity = null;
|
|
344
350
|
this.validationMessages = {};
|
|
345
351
|
this.novalidate = false;
|
|
352
|
+
this.value = "";
|
|
346
353
|
|
|
347
354
|
/** @internal */
|
|
348
355
|
this._identifier = "";
|
|
@@ -353,6 +360,12 @@ class LeuInput extends LeuElement {
|
|
|
353
360
|
*/
|
|
354
361
|
this._inputRef = createRef();
|
|
355
362
|
}
|
|
363
|
+
get valueAsNumber() {
|
|
364
|
+
if (this.value === "") {
|
|
365
|
+
return NaN;
|
|
366
|
+
}
|
|
367
|
+
return Number(this.value);
|
|
368
|
+
}
|
|
356
369
|
|
|
357
370
|
/**
|
|
358
371
|
* Method for handling the click event of the wrapper element.
|
|
@@ -699,4 +712,4 @@ _defineProperty(LeuInput, "properties", {
|
|
|
699
712
|
}
|
|
700
713
|
});
|
|
701
714
|
|
|
702
|
-
export { LeuInput };
|
|
715
|
+
export { LeuInput, SIZES };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare class LeuElement extends LitElement {
|
|
2
2
|
static define(name: any, constructor?: typeof LeuElement, options?: {}): void;
|
|
3
3
|
}
|
|
4
|
-
declare function _defineProperty(
|
|
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-a20c5fd6.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeuElement-a20c5fd6.d.ts","sourceRoot":"","sources":["LeuElement-a20c5fd6.js"],"names":[],"mappings":"AA+BA;IACE,8EAcC;CACF;AA7CD,sEAaC;2BAf0B,KAAK"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
function _defineProperty(obj, key, value) {
|
|
4
|
+
key = _toPropertyKey(key);
|
|
5
|
+
if (key in obj) {
|
|
6
|
+
Object.defineProperty(obj, key, {
|
|
7
|
+
value: value,
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true
|
|
11
|
+
});
|
|
12
|
+
} else {
|
|
13
|
+
obj[key] = value;
|
|
14
|
+
}
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
function _toPrimitive(input, hint) {
|
|
18
|
+
if (typeof input !== "object" || input === null) return input;
|
|
19
|
+
var prim = input[Symbol.toPrimitive];
|
|
20
|
+
if (prim !== undefined) {
|
|
21
|
+
var res = prim.call(input, hint || "default");
|
|
22
|
+
if (typeof res !== "object") return res;
|
|
23
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
24
|
+
}
|
|
25
|
+
return (hint === "string" ? String : Number)(input);
|
|
26
|
+
}
|
|
27
|
+
function _toPropertyKey(arg) {
|
|
28
|
+
var key = _toPrimitive(arg, "string");
|
|
29
|
+
return typeof key === "symbol" ? key : String(key);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
class LeuElement extends LitElement {
|
|
33
|
+
static define(name, constructor = this, options = {}) {
|
|
34
|
+
Object.entries(this.dependencies).forEach(([n, c]) => c.define(n));
|
|
35
|
+
const currentlyRegisteredConstructor = customElements.get(name);
|
|
36
|
+
if (currentlyRegisteredConstructor === undefined) {
|
|
37
|
+
customElements.define(name, constructor, options);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
if (currentlyRegisteredConstructor !== constructor) {
|
|
41
|
+
console.warn(`The custom element with the name <${name}> is already registered with a different constructor. This can happen when the same element has been loaded from different modules (e.g. multiple CDN requests or bundles).`);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (currentlyRegisteredConstructor.version !== constructor.version) {
|
|
45
|
+
console.warn(`The custom element with the name <${name}> is already defined with the same constructor but a different version (${currentlyRegisteredConstructor.version}).`);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
_defineProperty(LeuElement, "version", "0.8.0");
|
|
50
|
+
_defineProperty(LeuElement, "dependencies", {});
|
|
51
|
+
|
|
52
|
+
export { LeuElement as L, _defineProperty as _ };
|
package/dist/Menu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type SelectsType =
|
|
1
|
+
export type SelectsType = 'single' | 'multiple' | 'none';
|
|
2
2
|
/**
|
|
3
3
|
* @typedef {'single' | 'multiple' | 'none'} SelectsType
|
|
4
4
|
*/
|
|
@@ -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-a20c5fd6.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-a20c5fd6.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type MenuItemRole =
|
|
1
|
+
export type MenuItemRole = 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'none';
|
|
2
2
|
/**
|
|
3
3
|
* @typedef {'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'none'} MenuItemRole
|
|
4
4
|
*/
|
|
@@ -34,5 +34,5 @@ export class LeuMenuItem extends LeuElement {
|
|
|
34
34
|
_renderButton(content: any): import("lit-html").TemplateResult<1>;
|
|
35
35
|
render(): import("lit-html").TemplateResult<1>;
|
|
36
36
|
}
|
|
37
|
-
import { L as LeuElement } from './LeuElement-
|
|
37
|
+
import { L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
38
38
|
//# 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-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
4
|
import { LeuIcon } from './Icon.js';
|
|
@@ -11,10 +11,10 @@ var css_248z = css`:host,
|
|
|
11
11
|
:host {
|
|
12
12
|
--background: var(--leu-color-black-0);
|
|
13
13
|
--background-hover: var(--leu-color-black-10);
|
|
14
|
-
--background-active: var(--leu-color-
|
|
14
|
+
--background-active: var(--leu-color-func-cyan);
|
|
15
15
|
--background-disabled: var(--leu-color-black-black-0);
|
|
16
16
|
--color: var(--leu-color-black-transp-60);
|
|
17
|
-
--color-active: var(--leu-color-black-
|
|
17
|
+
--color-active: var(--leu-color-black-100);
|
|
18
18
|
--color-disabled: var(--leu-color-black-transp-20);
|
|
19
19
|
--font-regular: var(--leu-font-family-regular);
|
|
20
20
|
--font-black: var(--leu-font-family-black);
|
|
@@ -137,7 +137,7 @@ class LeuMenuItem extends LeuElement {
|
|
|
137
137
|
* @returns {string}
|
|
138
138
|
*/
|
|
139
139
|
getValue() {
|
|
140
|
-
return this.value || this.
|
|
140
|
+
return this.value || this.textContent.trim();
|
|
141
141
|
}
|
|
142
142
|
_getAria() {
|
|
143
143
|
const commonAttributes = {
|
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-a20c5fd6.js';
|
|
34
34
|
//# sourceMappingURL=Pagination.d.ts.map
|
package/dist/Pagination.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { live } from 'lit/directives/live.js';
|
|
4
|
-
import { L as LeuButton } from './Button-
|
|
4
|
+
import { L as LeuButton } from './Button-3adfb3ed.js';
|
|
5
5
|
import { LeuVisuallyHidden } from './VisuallyHidden.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
import 'lit/directives/class-map.js';
|
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-a20c5fd6.js';
|
|
36
36
|
//# sourceMappingURL=Popup.d.ts.map
|
package/dist/Popup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["Popup.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["Popup.js"],"names":[],"mappings":"wBAyCa,KAAK,GAAC,WAAW,GAAC,SAAS,GAAC,QAAQ,GAAC,cAAc,GAAC,YAAY,GAAC,MAAM,GAAC,YAAY,GAAC,UAAU,GAAC,OAAO,GAAC,aAAa,GAAC,WAAW;AAD9I;;GAEG;AAEH;;GAEG;AACH;IAGI,cAAoB;IACpB,oBAAwB;IACxB,cAAiB;IACjB,eAAkB;IAClB,gBAAmB;IAEnB,wBAAwB;IACxB,WADW,SAAS,CACM;IAE1B,0CAA0C;IAC1C,WADW,OAAO,GAAG,QAAQ,GAAG,MAAM,CACZ;IAE1B,0CAA0C;IAC1C,UADW,OAAO,GAAG,QAAQ,GAAG,MAAM,CACb;IACzB,qBAAqB;IACrB,wBAAwB;IAExB,mCAAmC;IACnC,QADW,MAAM,GAAG,WAAW,CACR;IAMzB,sCAcC;IAED;;OAEG;IACH,2BAEC;IACD,cAKC;IACD,aAIC;IACD,mBAiEC;IACD,2BAiBC;IACD,+CAOC;CACF;gCAvMqD,0BAA0B"}
|
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-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { autoUpdate, size, flip, shift, computePosition } from '@floating-ui/dom';
|
|
4
4
|
|
|
@@ -11,6 +11,8 @@ var css_248z = css`:host,
|
|
|
11
11
|
--popup-font-regular: var(--leu-font-family-regular);
|
|
12
12
|
--popup-font-black: var(--leu-font-family-black);
|
|
13
13
|
|
|
14
|
+
font-family: var(--leu-font-family-regular);
|
|
15
|
+
|
|
14
16
|
font-family: var(--popup-font-regular);
|
|
15
17
|
}
|
|
16
18
|
|
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-a20c5fd6.js';
|
|
14
14
|
//# sourceMappingURL=Radio.d.ts.map
|
package/dist/Radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["Radio.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["Radio.js"],"names":[],"mappings":"AAgGA;;GAEG;AACH;IAGI,iBAAoB;IACpB,kBAAqB;IACrB,aAAc;IACd,cAAe;IAEjB,+BAIC;IACD,8BAEC;IACD,+CAeC;CACF;gCAnIqD,0BAA0B"}
|
package/dist/Radio.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
|
|
4
4
|
var css_248z = css`:host {
|
|
@@ -15,6 +15,8 @@ var css_248z = css`:host {
|
|
|
15
15
|
align-items: flex-start;
|
|
16
16
|
gap: 0.5rem;
|
|
17
17
|
|
|
18
|
+
font-family: var(--leu-font-family-regular);
|
|
19
|
+
|
|
18
20
|
font-family: var(--radio-font-regular);
|
|
19
21
|
}
|
|
20
22
|
|
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-a20c5fd6.js';
|
|
20
20
|
//# sourceMappingURL=RadioGroup.d.ts.map
|
package/dist/RadioGroup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["RadioGroup.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["RadioGroup.js"],"names":[],"mappings":"AAqCA;;GAEG;AACH;IAKM,sBAAiD;IA2BnD,oBAA+B;IAE/B,aAAe;IAEjB,iBAGC;IAUD,0BAaC;IACD,6BAMC;IACD,yBAEC;IACD,qCAIC;IACD,yDAaC;IACD,oBAQC;IACD,oBAIC;IACD,wBAIC;IACD,+CAWC;CACF;gCAnKqD,0BAA0B"}
|
package/dist/RadioGroup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
|
|
@@ -6,6 +6,8 @@ var css_248z = css`:host {
|
|
|
6
6
|
--group-font-regular: var(--leu-font-family-regular);
|
|
7
7
|
--group-font-black: var(--leu-font-family-black);
|
|
8
8
|
|
|
9
|
+
font-family: var(--leu-font-family-regular);
|
|
10
|
+
|
|
9
11
|
font-family: var(--group-font-regular);
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -39,6 +41,7 @@ var css_248z = css`:host {
|
|
|
39
41
|
class LeuRadioGroup extends LeuElement {
|
|
40
42
|
constructor() {
|
|
41
43
|
super();
|
|
44
|
+
/** @type {"horizontal" | "vertical"} */
|
|
42
45
|
_defineProperty(this, "handleFocusIn", e => {
|
|
43
46
|
this._currentIndex = this.items.indexOf(e.target);
|
|
44
47
|
});
|
|
@@ -63,13 +66,11 @@ class LeuRadioGroup extends LeuElement {
|
|
|
63
66
|
this.setTabIndex();
|
|
64
67
|
});
|
|
65
68
|
_defineProperty(this, "handleInput", e => {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
});
|
|
70
|
-
}
|
|
69
|
+
this.items.forEach(item => {
|
|
70
|
+
item.checked = item === e.target; // eslint-disable-line no-param-reassign
|
|
71
|
+
});
|
|
71
72
|
});
|
|
72
|
-
this.orientation = "
|
|
73
|
+
this.orientation = "horizontal";
|
|
73
74
|
this._currentIndex = 0;
|
|
74
75
|
this.items = [];
|
|
75
76
|
}
|
|
@@ -87,12 +88,23 @@ class LeuRadioGroup extends LeuElement {
|
|
|
87
88
|
this.removeEventListeners();
|
|
88
89
|
}
|
|
89
90
|
addEventListeners() {
|
|
90
|
-
|
|
91
|
+
/**
|
|
92
|
+
* It is technically possible to add an event listener to the host element
|
|
93
|
+
* before it is connected to the dom. In that case the outside event listener would
|
|
94
|
+
* be called before the following event listener. But at this point multiple
|
|
95
|
+
* radio buttons could be selected at the same time because `handleInput` hasn't been
|
|
96
|
+
* called yet. That's why we use the capture phase.
|
|
97
|
+
*/
|
|
98
|
+
this.addEventListener("input", this.handleInput, {
|
|
99
|
+
capture: true
|
|
100
|
+
});
|
|
91
101
|
this.addEventListener("focusin", this.handleFocusIn);
|
|
92
102
|
this.addEventListener("keydown", this.handleKeyDown);
|
|
93
103
|
}
|
|
94
104
|
removeEventListeners() {
|
|
95
|
-
this.removeEventListener("input", this.handleInput
|
|
105
|
+
this.removeEventListener("input", this.handleInput, {
|
|
106
|
+
capture: true
|
|
107
|
+
});
|
|
96
108
|
this.removeEventListener("focusin", this.handleFocusIn);
|
|
97
109
|
this.removeEventListener("keydown", this.handleKeyDown);
|
|
98
110
|
}
|
|
@@ -140,7 +152,7 @@ class LeuRadioGroup extends LeuElement {
|
|
|
140
152
|
render() {
|
|
141
153
|
const fieldsetClasses = {
|
|
142
154
|
fieldset: "true",
|
|
143
|
-
"fieldset--vertical": this.orientation === "
|
|
155
|
+
"fieldset--vertical": this.orientation === "vertical"
|
|
144
156
|
};
|
|
145
157
|
return html`
|
|
146
158
|
<fieldset class=${classMap(fieldsetClasses)}>
|
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-a20c5fd6.js';
|
|
19
19
|
//# sourceMappingURL=ScrollTop.d.ts.map
|
package/dist/ScrollTop.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
|
-
import { L as LeuButton } from './Button-
|
|
4
|
+
import { L as LeuButton } from './Button-3adfb3ed.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';
|
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-a20c5fd6.js';
|
|
135
135
|
import { nothing } from 'lit';
|
|
136
136
|
//# sourceMappingURL=Select.d.ts.map
|
package/dist/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["Select.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["Select.js"],"names":[],"mappings":"AA6PA;;;;;;;;;;;;;GAaG;AACH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmDC;IACD,wCAKC;IA4BC,cAAiB;IACjB,kBAAqB;IAErB,kBAAqB;IACrB,mBAAsB;IACtB,oBAAuB;IACvB,aAAe;IACf,cAAe;IACf,aAAc;IAEd,gBAAgB;IAChB,sBAAuB;IAEvB,gBAAgB;IAChB,2BAA6B;IAE7B,gBAAgB;IAChB,6BAAgC;IAEhC,gBAAgB;IAChB,sBAAuB;IAEvB;;OAEG;IACH,kBAFU,OAAO,oBAAoB,EAAE,GAAG,KAAmC,CAE1C;IACnC;;OAEG;IACH,kBAFU,OAAO,oBAAoB,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAE1B;IAEnC;;OAEG;IACH,UAFU,OAAO,oBAAoB,EAAE,GAAG,KAAgC,CAE/C;IAU7B,sCAoBC;IAED;;;;OAIG;IACH,8CA0BC;IACD;;;OAGG;IACH,4BAFW,aAAa,iBAcvB;IAED;;;OAGG;IACH,iCAFW,aAAa,QAQvB;IAED;;;OAGG;IACH,oBAFa,uBAAgB,CAO5B;IACD,wBAMC;IACD,yBAMC;IACD,8BAOC;IACD,wBAIC;IACD,uBAMC;IACD,qCAEC;IAED;;;;OAIG;IACH,4CAEC;IACD,uCAoBC;IAED;;OAEG;IACH,uCAIC;IACD,4EAaC;IACD,4EAeC;IACD,4DAmCC;IACD,+CAmDC;CACF;gCA7qBqD,0BAA0B;wBAC7C,KAAK"}
|
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-a20c5fd6.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, L as LeuButton } from './Button-
|
|
6
|
+
import { H as HasSlotController, L as LeuButton } from './Button-3adfb3ed.js';
|
|
7
7
|
import { LeuMenu } from './Menu.js';
|
|
8
8
|
import { LeuMenuItem } from './MenuItem.js';
|
|
9
9
|
import { LeuIcon } from './Icon.js';
|
|
@@ -53,6 +53,8 @@ var css_248z = css`:host,
|
|
|
53
53
|
position: relative;
|
|
54
54
|
display: block;
|
|
55
55
|
|
|
56
|
+
font-family: var(--leu-font-family-regular);
|
|
57
|
+
|
|
56
58
|
font-family: var(--select-font-regular);
|
|
57
59
|
}
|
|
58
60
|
|
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-a20c5fd6.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":"AAoHA;;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,+CA6DC;CACF;gCAlRqD,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-a20c5fd6.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';
|
|
@@ -6,7 +6,7 @@ import { createRef, ref } from 'lit/directives/ref.js';
|
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
7
|
import { LeuPagination } from './Pagination.js';
|
|
8
8
|
import 'lit/directives/live.js';
|
|
9
|
-
import './Button-
|
|
9
|
+
import './Button-3adfb3ed.js';
|
|
10
10
|
import 'lit/directives/if-defined.js';
|
|
11
11
|
import './VisuallyHidden.js';
|
|
12
12
|
|
|
@@ -101,7 +101,8 @@ table.sticky th:first-child {
|
|
|
101
101
|
div.shadow-left table.sticky td:first-child,
|
|
102
102
|
div.shadow-left table.sticky th:first-child {
|
|
103
103
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
|
104
|
-
clip-path: inset(0 -15px 0 0);
|
|
104
|
+
-webkit-clip-path: inset(0 -15px 0 0);
|
|
105
|
+
clip-path: inset(0 -15px 0 0);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
div.shadow-left {
|
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-a20c5fd6.js';
|
|
8
8
|
//# sourceMappingURL=VisuallyHidden.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["VisuallyHidden.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["VisuallyHidden.js"],"names":[],"mappings":"AAiBA;;GAEG;AACH;IACE,+CAEC;CACF;gCAxBqD,0BAA0B"}
|