@statistikzh/leu 0.16.0 → 0.18.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 +18 -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 +3 -1
- package/dist/ChipSelectable.js +1 -1
- package/dist/Dialog.js +3 -1
- package/dist/Dropdown.js +1 -1
- package/dist/Icon.d.ts +130 -2
- package/dist/Icon.js +96 -69
- package/dist/Input.js +3 -1
- package/dist/{LeuElement-C0BZ_nPB.js → LeuElement-DlQXnrk8.js} +1 -1
- package/dist/Menu.js +3 -1
- package/dist/MenuItem.js +3 -1
- package/dist/Message.js +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/Placeholder.js +1 -1
- package/dist/Popup.js +1 -1
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/Range.js +1 -1
- package/dist/ScrollTop.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.js +2 -2
- package/dist/Tag.d.ts +17 -0
- package/dist/Tag.js +75 -0
- package/dist/VisuallyHidden.js +1 -1
- package/dist/components/icon/Icon.d.ts +5 -2
- package/dist/components/icon/Icon.d.ts.map +1 -1
- package/dist/components/icon/paths.d.ts +48 -23
- package/dist/components/icon/paths.d.ts.map +1 -1
- package/dist/components/icon/stories/icon.stories.d.ts.map +1 -1
- package/dist/components/tag/Tag.d.ts +13 -0
- package/dist/components/tag/Tag.d.ts.map +1 -0
- package/dist/components/tag/leu-tag.d.ts +3 -0
- package/dist/components/tag/leu-tag.d.ts.map +1 -0
- package/dist/components/tag/stories/tag.stories.d.ts +136 -0
- package/dist/components/tag/stories/tag.stories.d.ts.map +1 -0
- package/dist/components/tag/test/tag.test.d.ts +2 -0
- package/dist/components/tag/test/tag.test.d.ts.map +1 -0
- 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 +3 -1
- package/dist/leu-chip-selectable.js +1 -1
- package/dist/leu-dialog.js +3 -1
- package/dist/leu-dropdown.js +1 -1
- package/dist/leu-icon.js +3 -1
- package/dist/leu-input.js +3 -1
- package/dist/leu-menu-item.js +3 -1
- package/dist/leu-menu.js +3 -1
- package/dist/leu-message.js +1 -1
- package/dist/leu-pagination.js +1 -1
- package/dist/leu-placeholder.js +1 -1
- package/dist/leu-popup.js +1 -1
- package/dist/leu-radio-group.js +1 -1
- package/dist/leu-radio.js +1 -1
- package/dist/leu-range.js +1 -1
- package/dist/leu-scroll-top.js +1 -1
- package/dist/leu-select.js +1 -1
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.js +3 -3
- package/dist/leu-tag.d.ts +4 -0
- package/dist/leu-tag.js +9 -0
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +21 -1
- package/dist/vue/index.d.ts +20 -0
- package/dist/web-types.json +30 -2
- package/package.json +1 -1
- package/src/components/icon/Icon.ts +7 -10
- package/src/components/icon/paths.ts +126 -77
- package/src/components/icon/stories/icon.stories.ts +5 -0
- package/src/components/icon/test/icon.test.ts +5 -4
- package/src/components/tag/Tag.ts +28 -0
- package/src/components/tag/leu-tag.ts +5 -0
- package/src/components/tag/stories/tag.stories.ts +107 -0
- package/src/components/tag/tag.css +42 -0
- package/src/components/tag/test/tag.test.ts +28 -0
- package/src/docs/theme.mdx +49 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.0](https://github.com/statistikZH/leu/compare/leu-v0.17.0...leu-v0.18.0) (2025-09-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **icon:** These icons have been removed or renamed. Use the folllowing replacement: angleDropup --> angleDropUp documents --> files mapLocation --> map openEmail --> emailOpen previews --> previous users --> userMultiple
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **icon:** update and add new icons ([#301](https://github.com/statistikZH/leu/issues/301)) ([f474580](https://github.com/statistikZH/leu/commit/f4745804abdaaa65f0822f4300039af2a9f1250e))
|
|
13
|
+
|
|
14
|
+
## [0.17.0](https://github.com/statistikZH/leu/compare/leu-v0.16.0...leu-v0.17.0) (2025-09-09)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **tag:** implement a tag component ([354e7b7](https://github.com/statistikZH/leu/commit/354e7b7a790add93431e411be7471c75499c077e))
|
|
20
|
+
|
|
3
21
|
## [0.16.0](https://github.com/statistikZH/leu/compare/leu-v0.15.1...leu-v0.16.0) (2025-07-31)
|
|
4
22
|
|
|
5
23
|
|
package/dist/Accordion.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, nothing } from 'lit';
|
|
3
3
|
import { unsafeStatic, html } from 'lit/static-html.js';
|
|
4
4
|
import { property } from 'lit/decorators.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
6
6
|
|
|
7
7
|
var css_248z = css`:host {
|
|
8
8
|
--accordion-font-regular: var(--leu-font-family-regular);
|
package/dist/Button.js
CHANGED
|
@@ -4,7 +4,7 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
5
5
|
import { property } from 'lit/decorators.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
|
-
import { L as LeuElement } from './LeuElement-
|
|
7
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
8
8
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css, html } from 'lit';
|
|
2
|
-
import { L as LeuElement } from './LeuElement-
|
|
2
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
3
3
|
import { LeuButton } from './Button.js';
|
|
4
4
|
import './_tslib-CNEFicEt.js';
|
|
5
5
|
import 'lit/directives/class-map.js';
|
package/dist/ChartWrapper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, nothing, html } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
5
5
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import { LeuSpinner } from './Spinner.js';
|
|
7
7
|
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
5
5
|
import { LeuIcon } from './Icon.js';
|
|
6
6
|
|
|
7
7
|
var css_248z = css`:host {
|
package/dist/CheckboxGroup.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
|
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { property } from 'lit/decorators.js';
|
|
5
|
-
import { L as LeuElement } from './LeuElement-
|
|
5
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
6
6
|
import { LeuCheckbox } from './Checkbox.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
|
package/dist/Chip.js
CHANGED
package/dist/ChipGroup.js
CHANGED
package/dist/ChipLink.js
CHANGED
package/dist/ChipRemovable.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
2
|
import { LeuChipBase } from './Chip.js';
|
|
3
3
|
import { LeuIcon } from './Icon.js';
|
|
4
|
-
import './LeuElement-
|
|
4
|
+
import './LeuElement-DlQXnrk8.js';
|
|
5
|
+
import './_tslib-CNEFicEt.js';
|
|
6
|
+
import 'lit/decorators.js';
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* @slot - The content of the chip
|
package/dist/ChipSelectable.js
CHANGED
package/dist/Dialog.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { css, nothing, html } from 'lit';
|
|
2
2
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
|
-
import { L as LeuElement } from './LeuElement-
|
|
4
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
5
5
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import { LeuIcon } from './Icon.js';
|
|
7
|
+
import './_tslib-CNEFicEt.js';
|
|
8
|
+
import 'lit/decorators.js';
|
|
7
9
|
|
|
8
10
|
var css_248z = css`/* figma https://www.figma.com/design/d6Pv21UVUbnBs3AdcZijHmbN/KTZH-Design-System?node-id=21161-186812&t=8VgDy9avMRG5aL7s-0 */
|
|
9
11
|
:host {
|
package/dist/Dropdown.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, nothing, html } from 'lit';
|
|
2
2
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
3
|
-
import { L as LeuElement } from './LeuElement-
|
|
3
|
+
import { L as LeuElement } from './LeuElement-DlQXnrk8.js';
|
|
4
4
|
import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
|
|
5
5
|
import { LeuButton } from './Button.js';
|
|
6
6
|
import { LeuMenu } from './Menu.js';
|
package/dist/Icon.d.ts
CHANGED
|
@@ -2,6 +2,132 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { L as LeuElement } from './LeuElement.d-BevHqLUu.js';
|
|
4
4
|
|
|
5
|
+
type IconPathName = keyof typeof paths;
|
|
6
|
+
declare const paths: {
|
|
7
|
+
addNew: string;
|
|
8
|
+
alert: string;
|
|
9
|
+
angleDropDown: string;
|
|
10
|
+
angleDropUp: string;
|
|
11
|
+
angleLeft: string;
|
|
12
|
+
angleRight: string;
|
|
13
|
+
arrowDown: string;
|
|
14
|
+
arrowLeft: string;
|
|
15
|
+
arrowRight: string;
|
|
16
|
+
arrowUp: string;
|
|
17
|
+
backward: string;
|
|
18
|
+
block: string;
|
|
19
|
+
calendar: string;
|
|
20
|
+
camera: string;
|
|
21
|
+
caution: string;
|
|
22
|
+
cc: string;
|
|
23
|
+
chart: string;
|
|
24
|
+
chatMessage: string;
|
|
25
|
+
check: string;
|
|
26
|
+
clear: string;
|
|
27
|
+
close: string;
|
|
28
|
+
comment: string;
|
|
29
|
+
conference: string;
|
|
30
|
+
confirm: string;
|
|
31
|
+
confirmPlain: string;
|
|
32
|
+
conversation: string;
|
|
33
|
+
copy: string;
|
|
34
|
+
delete: string;
|
|
35
|
+
download: string;
|
|
36
|
+
earth: string;
|
|
37
|
+
edit: string;
|
|
38
|
+
email: string;
|
|
39
|
+
file: string;
|
|
40
|
+
fileCsv: string;
|
|
41
|
+
fileOutline: string;
|
|
42
|
+
filePdf: string;
|
|
43
|
+
fileXml: string;
|
|
44
|
+
files: string;
|
|
45
|
+
filter: string;
|
|
46
|
+
floppy: string;
|
|
47
|
+
folder: string;
|
|
48
|
+
forward: string;
|
|
49
|
+
getInformation: string;
|
|
50
|
+
hide: string;
|
|
51
|
+
home: string;
|
|
52
|
+
image: string;
|
|
53
|
+
income: string;
|
|
54
|
+
launch: string;
|
|
55
|
+
levelUp: string;
|
|
56
|
+
like: string;
|
|
57
|
+
link: string;
|
|
58
|
+
list: string;
|
|
59
|
+
location: string;
|
|
60
|
+
lock: string;
|
|
61
|
+
login: string;
|
|
62
|
+
logout: string;
|
|
63
|
+
love: string;
|
|
64
|
+
emailOpen: string;
|
|
65
|
+
map: string;
|
|
66
|
+
mapLocateMe: string;
|
|
67
|
+
mapNavigation: string;
|
|
68
|
+
mapPin: string;
|
|
69
|
+
menu: string;
|
|
70
|
+
menuOverflow: string;
|
|
71
|
+
minus: string;
|
|
72
|
+
money: string;
|
|
73
|
+
moneyIncome: string;
|
|
74
|
+
organisation: string;
|
|
75
|
+
overflow: string;
|
|
76
|
+
paperplane: string;
|
|
77
|
+
paragraph: string;
|
|
78
|
+
passport: string;
|
|
79
|
+
phoneCall: string;
|
|
80
|
+
piechart: string;
|
|
81
|
+
pill: string;
|
|
82
|
+
pin: string;
|
|
83
|
+
plus: string;
|
|
84
|
+
print: string;
|
|
85
|
+
refresh: string;
|
|
86
|
+
remove: string;
|
|
87
|
+
repost: string;
|
|
88
|
+
resizeText: string;
|
|
89
|
+
search: string;
|
|
90
|
+
securities: string;
|
|
91
|
+
setting: string;
|
|
92
|
+
share: string;
|
|
93
|
+
show: string;
|
|
94
|
+
smileyDevastated: string;
|
|
95
|
+
smileyIndifferent: string;
|
|
96
|
+
smileySad: string;
|
|
97
|
+
smileySmile: string;
|
|
98
|
+
smileyThrilled: string;
|
|
99
|
+
swissId: string;
|
|
100
|
+
time: string;
|
|
101
|
+
upload: string;
|
|
102
|
+
user: string;
|
|
103
|
+
userMultiple: string;
|
|
104
|
+
vote: string;
|
|
105
|
+
zoom: string;
|
|
106
|
+
zoomOut: string;
|
|
107
|
+
fastForward: string;
|
|
108
|
+
fastRewind: string;
|
|
109
|
+
fullScreen: string;
|
|
110
|
+
next: string;
|
|
111
|
+
pause: string;
|
|
112
|
+
play: string;
|
|
113
|
+
playButton: string;
|
|
114
|
+
previous: string;
|
|
115
|
+
skipNext: string;
|
|
116
|
+
skipPrevious: string;
|
|
117
|
+
stop: string;
|
|
118
|
+
facebook: string;
|
|
119
|
+
google: string;
|
|
120
|
+
instagram: string;
|
|
121
|
+
kununu: string;
|
|
122
|
+
linkedin: string;
|
|
123
|
+
snapchat: string;
|
|
124
|
+
tiktok: string;
|
|
125
|
+
twitter: string;
|
|
126
|
+
xing: string;
|
|
127
|
+
youtube: string;
|
|
128
|
+
youtubeLogo: string;
|
|
129
|
+
};
|
|
130
|
+
|
|
5
131
|
/**
|
|
6
132
|
* A component to render all defined zhWeb icons.
|
|
7
133
|
* The `fill` of the icon is set to `currentColor` and
|
|
@@ -9,7 +135,6 @@ import { L as LeuElement } from './LeuElement.d-BevHqLUu.js';
|
|
|
9
135
|
* If the icon name is not found, a placeholder will be displayed.
|
|
10
136
|
*
|
|
11
137
|
* @tagname leu-icon
|
|
12
|
-
* @prop {import("./paths").IconPathName} name - The name of the icon to display.
|
|
13
138
|
* @cssprop --leu-icon-size - The size of the icon.
|
|
14
139
|
*/
|
|
15
140
|
declare class LeuIcon extends LeuElement {
|
|
@@ -20,7 +145,10 @@ declare class LeuIcon extends LeuElement {
|
|
|
20
145
|
reflect: boolean;
|
|
21
146
|
};
|
|
22
147
|
};
|
|
23
|
-
|
|
148
|
+
/**
|
|
149
|
+
* The name of the icon to display.
|
|
150
|
+
*/
|
|
151
|
+
name: IconPathName | "";
|
|
24
152
|
render(): lit_html.TemplateResult<1>;
|
|
25
153
|
}
|
|
26
154
|
|