@statistikzh/leu 0.15.1 → 0.16.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.
Files changed (82) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +7 -0
  3. package/dist/Accordion.js +1 -1
  4. package/dist/Button.js +1 -1
  5. package/dist/ButtonGroup.js +1 -1
  6. package/dist/ChartWrapper.js +1 -1
  7. package/dist/Checkbox.js +1 -1
  8. package/dist/CheckboxGroup.js +1 -1
  9. package/dist/Chip.js +1 -1
  10. package/dist/ChipGroup.js +1 -1
  11. package/dist/ChipLink.js +1 -1
  12. package/dist/ChipRemovable.js +1 -1
  13. package/dist/ChipSelectable.js +1 -1
  14. package/dist/Dialog.js +1 -1
  15. package/dist/Dropdown.js +1 -1
  16. package/dist/Icon.js +1 -1
  17. package/dist/Input.js +1 -1
  18. package/dist/{LeuElement-B84x5CPL.js → LeuElement-C0BZ_nPB.js} +1 -1
  19. package/dist/Menu.js +1 -1
  20. package/dist/MenuItem.js +1 -1
  21. package/dist/Message.d.ts +63 -0
  22. package/dist/Message.js +268 -0
  23. package/dist/Pagination.js +1 -1
  24. package/dist/Placeholder.js +1 -1
  25. package/dist/Popup.js +1 -1
  26. package/dist/Radio.js +1 -1
  27. package/dist/RadioGroup.js +1 -1
  28. package/dist/Range.js +1 -1
  29. package/dist/ScrollTop.js +1 -1
  30. package/dist/Select.js +1 -1
  31. package/dist/Spinner.js +1 -1
  32. package/dist/Table.js +1 -1
  33. package/dist/VisuallyHidden.js +1 -1
  34. package/dist/components/message/Message.d.ts +59 -0
  35. package/dist/components/message/Message.d.ts.map +1 -0
  36. package/dist/components/message/leu-message.d.ts +3 -0
  37. package/dist/components/message/leu-message.d.ts.map +1 -0
  38. package/dist/components/message/stories/message.stories.d.ts +179 -0
  39. package/dist/components/message/stories/message.stories.d.ts.map +1 -0
  40. package/dist/components/message/test/message.test.d.ts +2 -0
  41. package/dist/components/message/test/message.test.d.ts.map +1 -0
  42. package/dist/index.js +1 -1
  43. package/dist/leu-accordion.js +1 -1
  44. package/dist/leu-button-group.js +1 -1
  45. package/dist/leu-button.js +1 -1
  46. package/dist/leu-chart-wrapper.js +1 -1
  47. package/dist/leu-checkbox-group.js +1 -1
  48. package/dist/leu-checkbox.js +1 -1
  49. package/dist/leu-chip-group.js +1 -1
  50. package/dist/leu-chip-link.js +1 -1
  51. package/dist/leu-chip-removable.js +1 -1
  52. package/dist/leu-chip-selectable.js +1 -1
  53. package/dist/leu-dialog.js +1 -1
  54. package/dist/leu-dropdown.js +1 -1
  55. package/dist/leu-icon.js +1 -1
  56. package/dist/leu-input.js +1 -1
  57. package/dist/leu-menu-item.js +1 -1
  58. package/dist/leu-menu.js +1 -1
  59. package/dist/leu-message.d.ts +5 -0
  60. package/dist/leu-message.js +12 -0
  61. package/dist/leu-pagination.js +1 -1
  62. package/dist/leu-placeholder.js +1 -1
  63. package/dist/leu-popup.js +1 -1
  64. package/dist/leu-radio-group.js +1 -1
  65. package/dist/leu-radio.js +1 -1
  66. package/dist/leu-range.js +1 -1
  67. package/dist/leu-scroll-top.js +1 -1
  68. package/dist/leu-select.js +1 -1
  69. package/dist/leu-spinner.js +1 -1
  70. package/dist/leu-table.js +1 -1
  71. package/dist/leu-visually-hidden.js +1 -1
  72. package/dist/vscode.html-custom-data.json +48 -11
  73. package/dist/vue/index.d.ts +52 -20
  74. package/dist/web-types.json +109 -28
  75. package/package.json +1 -1
  76. package/src/components/message/Message.ts +118 -0
  77. package/src/components/message/leu-message.ts +5 -0
  78. package/src/components/message/message.css +163 -0
  79. package/src/components/message/stories/message.mdx +76 -0
  80. package/src/components/message/stories/message.stories.ts +149 -0
  81. package/src/components/message/test/message.test.ts +96 -0
  82. package/src/styles/custom-media.css +1 -0
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.15.1"
2
+ ".": "0.16.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.16.0](https://github.com/statistikZH/leu/compare/leu-v0.15.1...leu-v0.16.0) (2025-07-31)
4
+
5
+
6
+ ### Features
7
+
8
+ * **message:** implement message component ([#298](https://github.com/statistikZH/leu/issues/298)) ([18372de](https://github.com/statistikZH/leu/commit/18372de960057ea00f79af17cf575ace9fd955c6))
9
+
3
10
  ## [0.15.1](https://github.com/statistikZH/leu/compare/leu-v0.15.0...leu-v0.15.1) (2025-07-03)
4
11
 
5
12
 
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-B84x5CPL.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.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-B84x5CPL.js';
7
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
8
8
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
9
9
 
10
10
  /**
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
  import { LeuButton } from './Button.js';
4
4
  import './_tslib-CNEFicEt.js';
5
5
  import 'lit/directives/class-map.js';
@@ -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-B84x5CPL.js';
4
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.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-B84x5CPL.js';
4
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
5
5
  import { LeuIcon } from './Icon.js';
6
6
 
7
7
  var css_248z = css`:host {
@@ -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-B84x5CPL.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
6
6
  import { LeuCheckbox } from './Checkbox.js';
7
7
  import './Icon.js';
8
8
 
package/dist/Chip.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
1
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
2
2
  import { css } from 'lit';
3
3
 
4
4
  var css_248z = css`:host *::before,
package/dist/ChipGroup.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { unsafeStatic, html } from 'lit/static-html.js';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
  import { css } from 'lit';
4
4
 
5
5
  var css_248z = css`.label {
package/dist/ChipLink.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { LeuChipBase } from './Chip.js';
3
- import './LeuElement-B84x5CPL.js';
3
+ import './LeuElement-C0BZ_nPB.js';
4
4
 
5
5
  const SIZES = {
6
6
  regular: "regular",
@@ -1,7 +1,7 @@
1
1
  import { html } from 'lit';
2
2
  import { LeuChipBase } from './Chip.js';
3
3
  import { LeuIcon } from './Icon.js';
4
- import './LeuElement-B84x5CPL.js';
4
+ import './LeuElement-C0BZ_nPB.js';
5
5
 
6
6
  /**
7
7
  * @slot - The content of the chip
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { LeuChipBase } from './Chip.js';
3
- import './LeuElement-B84x5CPL.js';
3
+ import './LeuElement-C0BZ_nPB.js';
4
4
 
5
5
  const SIZES = {
6
6
  small: "small",
package/dist/Dialog.js CHANGED
@@ -1,7 +1,7 @@
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-B84x5CPL.js';
4
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
5
5
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
6
6
  import { LeuIcon } from './Icon.js';
7
7
 
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-B84x5CPL.js';
3
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html, svg } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  display: contents;
package/dist/Input.js CHANGED
@@ -3,7 +3,7 @@ import { classMap } from 'lit/directives/class-map.js';
3
3
  import { ifDefined } from 'lit/directives/if-defined.js';
4
4
  import { live } from 'lit/directives/live.js';
5
5
  import { createRef, ref } from 'lit/directives/ref.js';
6
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
7
7
  import { LeuIcon } from './Icon.js';
8
8
 
9
9
  var css_248z = css`:host {
@@ -35,7 +35,7 @@ class LeuElement extends LitElement {
35
35
  }
36
36
  }
37
37
  }
38
- LeuElement.version = "0.15.1";
38
+ LeuElement.version = "0.16.0";
39
39
  LeuElement.dependencies = {};
40
40
  LeuElement.styles = css_248z;
41
41
 
package/dist/Menu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
  import { LeuMenuItem } from './MenuItem.js';
4
4
  import 'lit/directives/if-defined.js';
5
5
  import './Icon.js';
package/dist/MenuItem.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, html, nothing } from 'lit';
2
2
  import { ifDefined } from 'lit/directives/if-defined.js';
3
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
4
4
  import { LeuIcon } from './Icon.js';
5
5
 
6
6
  var css_248z = css`:host {
@@ -0,0 +1,63 @@
1
+ import * as lit_html from 'lit-html';
2
+ import * as lit from 'lit';
3
+ import { L as LeuElement } from './LeuElement.d-BevHqLUu.js';
4
+ import { LeuIcon } from './Icon.js';
5
+
6
+ /**
7
+ * @tagname leu-message
8
+ * @cssprop --leu-message-accent-color - Sets the color of the message. According to the design system, it is only allowd for `info`
9
+ * @slot [default] - The content of the message. The title of the message should marked up with a `<strong>` tag.
10
+ * @slot cta - A call to action button that is only allowed for `size=large`
11
+ * @fires leu:remove - Fired when the close button is clicked.
12
+ */
13
+ declare class LeuMessage extends LeuElement {
14
+ static styles: lit.CSSResultGroup[];
15
+ /**
16
+ * @internal
17
+ */
18
+ static shadowRootOptions: {
19
+ delegatesFocus: boolean;
20
+ mode: ShadowRootMode;
21
+ serializable?: boolean;
22
+ slotAssignment?: SlotAssignmentMode;
23
+ customElements?: CustomElementRegistry;
24
+ registry?: CustomElementRegistry;
25
+ };
26
+ /**
27
+ * @internal
28
+ */
29
+ static dependencies: {
30
+ "leu-icon": typeof LeuIcon;
31
+ };
32
+ /**
33
+ * @internal
34
+ */
35
+ static iconToTypeMap: {
36
+ info: string;
37
+ error: string;
38
+ success: string;
39
+ warning: string;
40
+ };
41
+ /**
42
+ * The type of the message. `error` and `success` will be displayed as filled boxes.
43
+ */
44
+ type: "error" | "success" | "info" | "warning";
45
+ /**
46
+ * The size of the message. A call to action button is only allowed for `large` messages.
47
+ */
48
+ size: "regular" | "large";
49
+ /**
50
+ * Wheter the message is removable or not. The component will not remove itself when the close button is clicked.
51
+ */
52
+ removable: boolean;
53
+ /**
54
+ * Wheter the message is used as a popup or not. This will add a drop shadow but will not position the message absolutely.
55
+ */
56
+ popup: boolean;
57
+ private hasSlotController;
58
+ protected renderIcon(): lit_html.TemplateResult<1>;
59
+ protected handleRemove(): void;
60
+ render(): lit_html.TemplateResult<1>;
61
+ }
62
+
63
+ export { LeuMessage };
@@ -0,0 +1,268 @@
1
+ import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
+ import { css, html, nothing } from 'lit';
3
+ import { property } from 'lit/decorators.js';
4
+ import { classMap } from 'lit/directives/class-map.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
6
+ import { LeuIcon } from './Icon.js';
7
+ import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
8
+
9
+ var css_248z = css`:host {
10
+ font-family: var(--leu-font-family-regular);
11
+ }
12
+ .message {
13
+ position: relative;
14
+ display: flex;
15
+ flex-flow: row nowrap;
16
+ align-items: center;
17
+
18
+ padding: var(--_padding);
19
+ border-radius: 0.25rem;
20
+ overflow: hidden;
21
+
22
+ background-color: var(--leu-color-black-0);
23
+ color: var(--_accent-color);
24
+ }
25
+ .message::before {
26
+ content: "";
27
+ position: absolute;
28
+ top: 0;
29
+ left: 0;
30
+ width: 0.25rem;
31
+ height: 100%;
32
+ background-color: var(--_accent-color);
33
+ }
34
+ .message--error {
35
+ --_accent-color: var(--leu-message-accent-color, var(--leu-color-func-red));
36
+ }
37
+ .message--warning {
38
+ --_accent-color: var(--leu-message-accent-color, var(--leu-color-func-red));
39
+ }
40
+ .message--success {
41
+ --_accent-color: var(--leu-message-accent-color, var(--leu-color-func-green));
42
+ }
43
+ .message--info {
44
+ --_accent-color: var(
45
+ --leu-message-accent-color,
46
+ var(--leu-color-accent-violet)
47
+ );
48
+ }
49
+ .message--filled {
50
+ background-color: var(--_accent-color);
51
+ color: var(--leu-color-black-0);
52
+ }
53
+ .message--filled::before {
54
+ content: none;
55
+ }
56
+ .message--regular {
57
+ --_padding: 0.75rem;
58
+ --_icon-size: 24px;
59
+ }
60
+ @media (min-width: 1024px) {
61
+ .message--regular {
62
+ --_padding: 1rem;
63
+ }
64
+ }
65
+ .message--large {
66
+ --_padding: 1rem;
67
+ --_icon-size: 32px;
68
+ }
69
+ @media (max-width: 599px) {
70
+ .message--large {
71
+ flex-flow: column;
72
+ align-items: start;
73
+ gap: 0.75rem;
74
+ }
75
+ }
76
+ @media (min-width: 600px) {
77
+ .message--large {
78
+ --_padding: 1.25rem;
79
+ }
80
+ }
81
+ @media (min-width: 1024px) {
82
+ .message--large {
83
+ --_padding: 1.5rem;
84
+ }
85
+ }
86
+ .message--popup {
87
+ box-shadow: var(--leu-box-shadow-regular);
88
+ }
89
+ .message__icon {
90
+ --leu-icon-size: var(--_icon-size);
91
+
92
+ display: block;
93
+ flex: 0 0 min-content;
94
+ }
95
+ .message__content {
96
+ flex: 1 1 auto;
97
+ font: var(--leu-t-curve-small-regular-font);
98
+ margin: 0 0.5rem;
99
+ }
100
+ @media (min-width: 600px) {
101
+ .message__content {
102
+ margin-left: 0.75rem;
103
+ margin-right: 0.75rem;
104
+ }
105
+ }
106
+ @media (min-width: 1024px) {
107
+ .message__content {
108
+ margin-left: 1rem;
109
+ margin-right: 1rem;
110
+ }
111
+ }
112
+ @media (max-width: 599px) {
113
+ .message--large .message__content {
114
+ margin-left: 0;
115
+ margin-right: 0;
116
+ }
117
+ }
118
+ .message__content ::slotted(strong) {
119
+ font-family: var(--leu-font-family-black);
120
+ font-weight: normal;
121
+ }
122
+ .message__cta {
123
+ display: block;
124
+ flex: 0 0 min-content;
125
+ margin-right: 0.5rem;
126
+ }
127
+ .message__remove {
128
+ flex: 0 0 min-content;
129
+ border: none;
130
+ background: none;
131
+ padding: 0;
132
+ color: var(--leu-color-black-60);
133
+ cursor: pointer;
134
+ }
135
+ .message__remove:where(:hover, :focus-visible) {
136
+ color: var(--leu-color-black-40);
137
+ }
138
+ .message--filled .message__remove {
139
+ color: var(--leu-color-black-0);
140
+ }
141
+ .message--filled .message__remove:where(:hover, :focus-visible) {
142
+ color: var(--leu-color-white-transp-70);
143
+ }
144
+ .message--large .message__remove {
145
+ position: absolute;
146
+ top: var(--_padding);
147
+ right: var(--_padding);
148
+ }
149
+ @media (min-width: 600px) {
150
+ .message--large .message__remove {
151
+ position: static;
152
+ top: auto;
153
+ right: auto;
154
+ bottom: auto;
155
+ left: auto;
156
+ }
157
+ }
158
+ .message__remove-icon {
159
+ --leu-icon-size: 1.5rem;
160
+ }
161
+ `;
162
+
163
+ /**
164
+ * @tagname leu-message
165
+ * @cssprop --leu-message-accent-color - Sets the color of the message. According to the design system, it is only allowd for `info`
166
+ * @slot [default] - The content of the message. The title of the message should marked up with a `<strong>` tag.
167
+ * @slot cta - A call to action button that is only allowed for `size=large`
168
+ * @fires leu:remove - Fired when the close button is clicked.
169
+ */
170
+ class LeuMessage extends LeuElement {
171
+ constructor() {
172
+ super(...arguments);
173
+ /**
174
+ * The type of the message. `error` and `success` will be displayed as filled boxes.
175
+ */
176
+ this.type = "success";
177
+ /**
178
+ * The size of the message. A call to action button is only allowed for `large` messages.
179
+ */
180
+ this.size = "regular";
181
+ /**
182
+ * Wheter the message is removable or not. The component will not remove itself when the close button is clicked.
183
+ */
184
+ this.removable = false;
185
+ /**
186
+ * Wheter the message is used as a popup or not. This will add a drop shadow but will not position the message absolutely.
187
+ */
188
+ this.popup = false;
189
+ this.hasSlotController = new HasSlotController(this, ["cta"]);
190
+ }
191
+ renderIcon() {
192
+ const name = LeuMessage.iconToTypeMap[this.type];
193
+ return html `<leu-icon class="message__icon" name=${name}></leu-icon>`;
194
+ }
195
+ handleRemove() {
196
+ this.dispatchEvent(new CustomEvent("leu:remove", {
197
+ bubbles: true,
198
+ composed: true,
199
+ }));
200
+ }
201
+ render() {
202
+ const hasCta = this.hasSlotController.test("cta");
203
+ const classes = classMap({
204
+ message: true,
205
+ "message--filled": this.type === "error" || this.type === "success",
206
+ "message--popup": this.popup,
207
+ [`message--${this.size}`]: true,
208
+ [`message--${this.type}`]: true,
209
+ });
210
+ return html `
211
+ <div class="${classes}">
212
+ ${this.renderIcon()}
213
+ <p class="message__content">
214
+ <slot></slot>
215
+ </p>
216
+ ${hasCta
217
+ ? html `<slot class="message__cta" name="cta"></slot>`
218
+ : nothing}
219
+ ${this.removable
220
+ ? html `<button
221
+ class="message__remove"
222
+ aria-label="Meldung schliessen"
223
+ @click=${this.handleRemove}
224
+ >
225
+ <leu-icon class="message__remove-icon" name="close"></leu-icon>
226
+ </button>`
227
+ : nothing}
228
+ </div>
229
+ `;
230
+ }
231
+ }
232
+ LeuMessage.styles = [LeuElement.styles, css_248z];
233
+ /**
234
+ * @internal
235
+ */
236
+ LeuMessage.shadowRootOptions = {
237
+ ...LeuElement.shadowRootOptions,
238
+ delegatesFocus: true,
239
+ };
240
+ /**
241
+ * @internal
242
+ */
243
+ LeuMessage.dependencies = {
244
+ "leu-icon": LeuIcon,
245
+ };
246
+ /**
247
+ * @internal
248
+ */
249
+ LeuMessage.iconToTypeMap = {
250
+ info: "getInformation",
251
+ error: "caution",
252
+ success: "confirm",
253
+ warning: "caution",
254
+ };
255
+ __decorate([
256
+ property({ type: String, reflect: true })
257
+ ], LeuMessage.prototype, "type", void 0);
258
+ __decorate([
259
+ property({ type: String, reflect: true })
260
+ ], LeuMessage.prototype, "size", void 0);
261
+ __decorate([
262
+ property({ type: Boolean, reflect: true })
263
+ ], LeuMessage.prototype, "removable", void 0);
264
+ __decorate([
265
+ property({ type: Boolean, reflect: true })
266
+ ], LeuMessage.prototype, "popup", void 0);
267
+
268
+ export { LeuMessage };
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, html } from 'lit';
3
3
  import { live } from 'lit/directives/live.js';
4
4
  import { property, state } from 'lit/decorators.js';
5
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
6
6
  import { LeuButton } from './Button.js';
7
7
  import { LeuVisuallyHidden } from './VisuallyHidden.js';
8
8
  import { LeuIcon } from './Icon.js';
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  --placeholder-font-regular: var(--leu-font-family-regular);
package/dist/Popup.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, html } from 'lit';
2
2
  import { autoUpdate, size, flip, shift, computePosition } from '@floating-ui/dom';
3
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
4
4
 
5
5
  var css_248z = css`:host {
6
6
  --popup-font-regular: var(--leu-font-family-regular);
package/dist/Radio.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-B84x5CPL.js';
4
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
5
5
 
6
6
  var css_248z = css`:host {
7
7
  --radio-color: var(--leu-color-black-40);
@@ -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-B84x5CPL.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
6
6
  import { LeuRadio } from './Radio.js';
7
7
 
8
8
  var css_248z = css`:host {
package/dist/Range.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  --range-color: var(--leu-color-black-40);
package/dist/ScrollTop.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, html } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
4
4
  import { LeuButton } from './Button.js';
5
5
  import { LeuIcon } from './Icon.js';
6
6
  import './_tslib-CNEFicEt.js';
package/dist/Select.js CHANGED
@@ -2,7 +2,7 @@ import { css, nothing, html } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
3
  import { createRef, ref } from 'lit/directives/ref.js';
4
4
  import { ifDefined } from 'lit/directives/if-defined.js';
5
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
6
6
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
7
7
  import { LeuButton } from './Button.js';
8
8
  import { LeuMenu } from './Menu.js';
package/dist/Spinner.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
 
4
4
  var css_248z = css`@keyframes leu-spinner-rotate {
5
5
  from {
package/dist/Table.js CHANGED
@@ -2,7 +2,7 @@ import { css, html, nothing } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
3
  import { styleMap } from 'lit/directives/style-map.js';
4
4
  import { createRef, ref } from 'lit/directives/ref.js';
5
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
6
6
  import { LeuIcon } from './Icon.js';
7
7
  import { LeuPagination } from './Pagination.js';
8
8
  import './_tslib-CNEFicEt.js';
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
+ import { L as LeuElement } from './LeuElement-C0BZ_nPB.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  clip: rect(0 0 0 0);