@statistikzh/leu 0.8.0 → 0.10.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 (139) hide show
  1. package/.github/workflows/release-please.yml +3 -3
  2. package/CHANGELOG.md +34 -0
  3. package/dist/Accordion.d.ts +1 -1
  4. package/dist/Accordion.js +1 -1
  5. package/dist/Breadcrumb.d.ts +1 -1
  6. package/dist/Breadcrumb.js +1 -1
  7. package/dist/Button.d.ts +45 -1
  8. package/dist/Button.d.ts.map +1 -1
  9. package/dist/Button.js +473 -6
  10. package/dist/ButtonGroup.d.ts +1 -1
  11. package/dist/ButtonGroup.js +1 -1
  12. package/dist/Checkbox.d.ts +1 -1
  13. package/dist/Checkbox.js +2 -2
  14. package/dist/CheckboxGroup.d.ts +1 -1
  15. package/dist/CheckboxGroup.js +1 -1
  16. package/dist/Chip.d.ts +1 -1
  17. package/dist/Chip.js +1 -1
  18. package/dist/ChipGroup.d.ts +1 -1
  19. package/dist/ChipGroup.js +2 -2
  20. package/dist/ChipLink.js +1 -1
  21. package/dist/ChipRemovable.js +1 -1
  22. package/dist/ChipSelectable.js +1 -1
  23. package/dist/Dialog.d.ts +17 -0
  24. package/dist/Dialog.d.ts.map +1 -0
  25. package/dist/Dialog.js +255 -0
  26. package/dist/Dropdown.d.ts +1 -1
  27. package/dist/Dropdown.d.ts.map +1 -1
  28. package/dist/Dropdown.js +4 -3
  29. package/dist/Icon.d.ts +1 -1
  30. package/dist/Icon.js +1 -1
  31. package/dist/Input.d.ts +1 -1
  32. package/dist/Input.d.ts.map +1 -1
  33. package/dist/Input.js +3 -1
  34. package/dist/{LeuElement-a20c5fd6.d.ts → LeuElement-6fbc0dee.d.ts} +1 -1
  35. package/dist/LeuElement-6fbc0dee.d.ts.map +1 -0
  36. package/dist/{LeuElement-a20c5fd6.js → LeuElement-6fbc0dee.js} +1 -1
  37. package/dist/Menu.d.ts +1 -1
  38. package/dist/Menu.js +1 -1
  39. package/dist/MenuItem.d.ts +5 -1
  40. package/dist/MenuItem.d.ts.map +1 -1
  41. package/dist/MenuItem.js +18 -3
  42. package/dist/Pagination.d.ts +1 -1
  43. package/dist/Pagination.d.ts.map +1 -1
  44. package/dist/Pagination.js +3 -2
  45. package/dist/Popup.d.ts +1 -1
  46. package/dist/Popup.js +1 -1
  47. package/dist/Radio.d.ts +1 -1
  48. package/dist/Radio.js +2 -2
  49. package/dist/RadioGroup.d.ts +1 -1
  50. package/dist/RadioGroup.js +1 -1
  51. package/dist/ScrollTop.d.ts +1 -1
  52. package/dist/ScrollTop.d.ts.map +1 -1
  53. package/dist/ScrollTop.js +3 -2
  54. package/dist/Select.d.ts +1 -1
  55. package/dist/Select.d.ts.map +1 -1
  56. package/dist/Select.js +10 -5
  57. package/dist/Spinner.d.ts +9 -0
  58. package/dist/Spinner.d.ts.map +1 -0
  59. package/dist/Spinner.js +53 -0
  60. package/dist/Table.d.ts +1 -1
  61. package/dist/Table.d.ts.map +1 -1
  62. package/dist/Table.js +3 -2
  63. package/dist/VisuallyHidden.d.ts +1 -1
  64. package/dist/VisuallyHidden.js +1 -1
  65. package/dist/hasSlotController-04d0dfa2.d.ts +38 -0
  66. package/dist/hasSlotController-04d0dfa2.d.ts.map +1 -0
  67. package/dist/hasSlotController-04d0dfa2.js +75 -0
  68. package/dist/index.d.ts +1 -1
  69. package/dist/index.js +3 -2
  70. package/dist/leu-accordion.js +1 -1
  71. package/dist/leu-breadcrumb.js +1 -1
  72. package/dist/leu-button-group.js +1 -1
  73. package/dist/leu-button.d.ts +1 -1
  74. package/dist/leu-button.d.ts.map +1 -1
  75. package/dist/leu-button.js +3 -2
  76. package/dist/leu-checkbox-group.js +1 -1
  77. package/dist/leu-checkbox.js +1 -1
  78. package/dist/leu-chip-group.js +1 -1
  79. package/dist/leu-chip-link.js +1 -1
  80. package/dist/leu-chip-removable.js +1 -1
  81. package/dist/leu-chip-selectable.js +1 -1
  82. package/dist/leu-dialog.d.ts +3 -0
  83. package/dist/leu-dialog.d.ts.map +1 -0
  84. package/dist/leu-dialog.js +11 -0
  85. package/dist/leu-dropdown.js +3 -2
  86. package/dist/leu-icon.js +1 -1
  87. package/dist/leu-input.js +1 -1
  88. package/dist/leu-menu-item.js +1 -1
  89. package/dist/leu-menu.js +1 -1
  90. package/dist/leu-pagination.js +3 -2
  91. package/dist/leu-popup.js +1 -1
  92. package/dist/leu-radio-group.js +1 -1
  93. package/dist/leu-radio.js +1 -1
  94. package/dist/leu-scroll-top.js +3 -2
  95. package/dist/leu-select.js +3 -2
  96. package/dist/leu-spinner.d.ts +3 -0
  97. package/dist/leu-spinner.d.ts.map +1 -0
  98. package/dist/leu-spinner.js +7 -0
  99. package/dist/leu-table.js +3 -2
  100. package/dist/leu-visually-hidden.js +1 -1
  101. package/dist/theme.css +370 -217
  102. package/dist/vscode.html-custom-data.json +31 -0
  103. package/dist/vue/index.d.ts +34 -0
  104. package/dist/web-types.json +47 -1
  105. package/package.json +1 -1
  106. package/rollup.config.js +4 -1
  107. package/scripts/generate-component/templates/[namespace]-[name].js +1 -2
  108. package/scripts/postcss-leu-font-styles.cjs +29 -35
  109. package/src/components/button/button.css +2 -3
  110. package/src/components/checkbox/Checkbox.js +1 -1
  111. package/src/components/checkbox/stories/checkbox.stories.js +7 -2
  112. package/src/components/chip/chip-group.css +1 -1
  113. package/src/components/dialog/Dialog.js +100 -0
  114. package/src/components/dialog/dialog.css +162 -0
  115. package/src/components/dialog/leu-dialog.js +5 -0
  116. package/src/components/dialog/stories/dialog.stories.js +144 -0
  117. package/src/components/dialog/test/dialog.test.js +85 -0
  118. package/src/components/dropdown/Dropdown.js +1 -1
  119. package/src/components/dropdown/test/dropdown.test.js +20 -3
  120. package/src/components/input/input.css +2 -0
  121. package/src/components/menu/MenuItem.js +21 -2
  122. package/src/components/menu/stories/menu-item.stories.js +18 -8
  123. package/src/components/menu/test/menu-item.test.js +23 -0
  124. package/src/components/radio/Radio.js +1 -1
  125. package/src/components/radio/stories/radio.stories.js +7 -1
  126. package/src/components/select/Select.js +8 -6
  127. package/src/components/select/test/select.test.js +30 -0
  128. package/src/components/spinner/Spinner.js +31 -0
  129. package/src/components/spinner/leu-spinner.js +5 -0
  130. package/src/components/spinner/spinner.css +20 -0
  131. package/src/components/spinner/stories/spinner.stories.js +29 -0
  132. package/src/components/spinner/test/spinner.test.js +30 -0
  133. package/src/styles/custom-properties.css +35 -3
  134. package/src/styles/font-definitions.json +27 -19
  135. package/src/styles/style.stories.js +61 -0
  136. package/dist/Button-3adfb3ed.d.ts +0 -83
  137. package/dist/Button-3adfb3ed.d.ts.map +0 -1
  138. package/dist/Button-3adfb3ed.js +0 -545
  139. package/dist/LeuElement-a20c5fd6.d.ts.map +0 -1
@@ -1,545 +0,0 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-a20c5fd6.js';
2
- import { css, html, nothing } from 'lit';
3
- import { classMap } from 'lit/directives/class-map.js';
4
- import { ifDefined } from 'lit/directives/if-defined.js';
5
- import { LeuIcon } from './Icon.js';
6
-
7
- /**
8
- * Thanks Shoelace!
9
- * Source: https://github.com/shoelace-style/shoelace/blob/next/src/internal/slot.ts
10
- */
11
-
12
- /**
13
- * A reactive controller that determines when slots exist.
14
- * @typedef {import("lit").ReactiveController} ReactiveController
15
- * @implements {ReactiveController}
16
- */
17
- class HasSlotController {
18
- constructor(host, slotNames) {
19
- /**
20
- * @private
21
- * @param {Event} event
22
- */
23
- _defineProperty(this, "handleSlotChange", event => {
24
- const slot = event.target;
25
- if (slot instanceof HTMLSlotElement && (this.slotNames.includes("[default]") && !slot.name || slot.name && this.slotNames.includes(slot.name))) {
26
- this.host.requestUpdate();
27
- }
28
- });
29
- this.host = host;
30
- host.addController(this);
31
- this.slotNames = slotNames;
32
- }
33
-
34
- /**
35
- * @private
36
- * @returns {Boolean}
37
- */
38
- hasDefaultSlot() {
39
- return [...this.host.childNodes].some(node => {
40
- if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== "") {
41
- return true;
42
- }
43
- if (node.nodeType === node.ELEMENT_NODE) {
44
- const el = node;
45
-
46
- // If it doesn't have a slot attribute, it's part of the default slot
47
- if (!el.hasAttribute("slot")) {
48
- return true;
49
- }
50
- }
51
- return false;
52
- });
53
- }
54
-
55
- /**
56
- * @private
57
- * @param {String} name
58
- * @returns {Boolean}
59
- */
60
- hasNamedSlot(name) {
61
- return this.host.querySelector(`:scope > [slot="${name}"]`) !== null;
62
- }
63
-
64
- /**
65
- * @param {String} slotName
66
- * @returns {Boolean}
67
- */
68
- test(slotName) {
69
- return slotName === "[default]" ? this.hasDefaultSlot() : this.hasNamedSlot(slotName);
70
- }
71
- hostConnected() {
72
- this.host.shadowRoot.addEventListener("slotchange", this.handleSlotChange);
73
- }
74
- hostDisconnected() {
75
- this.host.shadowRoot.removeEventListener("slotchange", this.handleSlotChange);
76
- }
77
- }
78
-
79
- /**
80
- * All roles that are associated with a aria-checked attribute
81
- * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-checked
82
- */
83
- const ARIA_CHECKED_ROLES = ["checkbox", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch"];
84
-
85
- /**
86
- * All roles that are associated with a aria-selected attribute
87
- * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected
88
- */
89
- const ARIA_SELECTED_ROLES = ["gridcell", "option", "row", "tab", "columnheader", "rowheader", "treeitem"];
90
-
91
- var css_248z = css`:host {
92
- display: inline-block;
93
- }
94
-
95
- button {
96
- font-family: var(--leu-font-family-black);
97
- text-align: center;
98
- -webkit-appearance: none;
99
- -moz-appearance: none;
100
- appearance: none;
101
- transition: background 0.1s ease;
102
- cursor: pointer;
103
- border: 1px solid transparent;
104
- border-radius: 2px;
105
-
106
- max-width: 100%;
107
- display: flex;
108
- align-items: center;
109
- -moz-column-gap: 8px;
110
- column-gap: 8px;
111
- }
112
-
113
- .content {
114
- flex: 1 1 0;
115
- overflow: hidden;
116
- text-overflow: ellipsis;
117
- white-space: nowrap;
118
- }
119
-
120
- button.round {
121
- border-radius: 50%;
122
- }
123
-
124
- button:disabled {
125
- cursor: not-allowed;
126
- }
127
-
128
- button:focus-visible {
129
- border: 1px solid var(--leu-color-black-0);
130
- outline: 2px solid var(--leu-color-func-cyan);
131
- }
132
-
133
- button.inverted:focus-visible {
134
- border: 1px solid var(--leu-color-black-100);
135
- outline: 2px solid var(--leu-color-black-0);
136
- }
137
-
138
- :host([fluid]) button {
139
- width: 100%;
140
- justify-content: center;
141
- }
142
-
143
- /* size - regular */
144
-
145
- button.regular {
146
- padding: 12px 24px;
147
- font-size: 16px;
148
- line-height: 24px;
149
- }
150
-
151
- button.regular.icon-only {
152
- padding: 12px;
153
- }
154
-
155
- /* size - small */
156
-
157
- button.small {
158
- padding: 6px 24px;
159
- font-size: 14px;
160
- line-height: 20px;
161
-
162
- --leu-icon-size: 1rem;
163
- }
164
-
165
- button.small.icon-only {
166
- padding: 8px;
167
- }
168
-
169
- /* primary */
170
-
171
- button.primary {
172
- color: var(--leu-color-black-0);
173
- background: var(--leu-color-black-100);
174
- }
175
-
176
- button.primary:hover {
177
- color: var(--leu-color-black-0);
178
- background: var(--leu-color-black-transp-80);
179
- }
180
-
181
- button.primary.active {
182
- color: var(--leu-color-black-0);
183
- background: var(--leu-color-black-100);
184
- }
185
-
186
- button.primary.active:hover {
187
- background: var(--leu-color-black-transp-80);
188
- }
189
-
190
- button.primary:disabled {
191
- color: var(--leu-color-black-0);
192
- background: var(--leu-color-black-transp-20);
193
- }
194
-
195
- /* secondary */
196
-
197
- button.secondary {
198
- color: var(--leu-color-black-transp-60);
199
- background: var(--leu-color-black-transp-10);
200
- }
201
-
202
- button.secondary:hover {
203
- color: var(--leu-color-black-100);
204
- background: var(--leu-color-black-transp-20);
205
- }
206
-
207
- button.secondary.active {
208
- color: var(--leu-color-black-0);
209
- background: var(--leu-color-black-100);
210
- }
211
-
212
- button.secondary.active:hover {
213
- background: var(--leu-color-black-transp-80);
214
- }
215
-
216
- button.secondary:disabled {
217
- color: var(--leu-color-black-transp-20);
218
- background: var(--leu-color-black-transp-5);
219
- }
220
-
221
- /* ghost */
222
-
223
- button.ghost {
224
- --leu-icon-size: 1rem;
225
-
226
- background: transparent;
227
- padding: 0 0.5rem;
228
- color: var(--leu-color-black-60);
229
- font-family: var(--leu-font-family-regular);
230
- }
231
-
232
- button.ghost:hover {
233
- color: var(--leu-color-black-100);
234
- }
235
-
236
- button.ghost.active {
237
- color: var(--leu-color-black-100);
238
- }
239
-
240
- button.ghost:disabled {
241
- color: var(--leu-color-black-20);
242
- }
243
-
244
- /* primary + inverted */
245
-
246
- button.primary.inverted {
247
- color: var(--leu-color-black-100);
248
- background: var(--leu-color-black-0);
249
- }
250
-
251
- button.primary.inverted:hover {
252
- color: var(--leu-color-black-100);
253
- background: var(--leu-color-white-transp-70);
254
- }
255
-
256
- button.primary.inverted.active {
257
- color: var(--leu-color-black-0);
258
- background: var(--leu-color-black-100);
259
- }
260
-
261
- button.primary.inverted:disabled {
262
- color: var(--leu-color-black-40);
263
- background: var(--leu-color-white-transp-70);
264
- }
265
-
266
- /* secondary + inverted */
267
-
268
- button.secondary.inverted {
269
- color: var(--leu-color-black-0);
270
- background: var(--leu-color-black-transp-20);
271
- }
272
-
273
- button.secondary.inverted:hover {
274
- color: var(--leu-color-black-0);
275
- background: var(--leu-color-black-transp-40);
276
- }
277
-
278
- button.secondary.inverted.active {
279
- color: var(--leu-color-black-100);
280
- background: var(--leu-color-black-0);
281
- }
282
-
283
- button.secondary.inverted:disabled {
284
- color: var(--leu-color-white-transp-70);
285
- background: var(--leu-color-black-transp-10);
286
- }
287
-
288
- /* ghost + inverted */
289
-
290
- button.ghost.inverted {
291
- color: var(--leu-color-black-0);
292
- }
293
-
294
- button.ghost.inverted:hover {
295
- color: var(--leu-color-white-transp-70);
296
- }
297
-
298
- button.ghost.inverted.active {
299
- color: var(--leu-color-black-0);
300
- }
301
-
302
- button.ghost.inverted:disabled {
303
- color: var(--leu-color-black-20);
304
- }
305
-
306
- /* icon-wrapper */
307
-
308
- .icon-wrapper leu-icon {
309
- display: block;
310
- }
311
-
312
- .ghost.icon-before .icon-wrapper--before,
313
- .ghost.icon-after .icon-wrapper--after {
314
- display: block;
315
- padding: 0.5rem;
316
- border-radius: 50%;
317
- background: var(--leu-color-black-transp-10);
318
- }
319
-
320
- .ghost.active .icon-wrapper--before, .ghost.active .icon-wrapper--after {
321
- background: var(--leu-color-black-100);
322
- color: var(--leu-color-black-0);
323
- }
324
-
325
- .ghost:disabled .icon-wrapper--before {
326
- background: var(--leu-color-black-transp-5);
327
- }
328
-
329
- .ghost:disabled .icon-wrapper--after {
330
- background: var(--leu-color-black-transp-5);
331
- }
332
-
333
- /* inverted */
334
-
335
- .ghost.inverted .icon-wrapper--before, .ghost.inverted .icon-wrapper--after {
336
- background: var(--leu-color-black-transp-20);
337
- }
338
-
339
- .ghost.inverted:hover .icon-wrapper--before, .ghost.inverted:hover .icon-wrapper--after {
340
- background: var(--leu-color-black-transp-40);
341
- color: var(--leu-color-black-0);
342
- }
343
-
344
- .ghost.inverted:disabled .icon-wrapper--before {
345
- background: var(--leu-color-black-transp-20);
346
- color: var(--leu-color-white-transp-70);
347
- }
348
-
349
- .ghost.inverted:disabled .icon-wrapper--after {
350
- background: var(--leu-color-black-transp-20);
351
- color: var(--leu-color-white-transp-70);
352
- }
353
-
354
- .ghost.active.inverted .icon-wrapper--before, .ghost.active.inverted .icon-wrapper--after {
355
- background: var(--leu-color-black-0);
356
- color: var(--leu-color-black-100);
357
- }
358
-
359
- /* Expanded icon */
360
-
361
- .icon-wrapper--expanded {
362
- transition: transform 0.1s ease;
363
- }
364
-
365
- :host([expanded="open"]) .icon-wrapper--expanded {
366
- transform: rotate(180deg);
367
- }
368
- `;
369
-
370
- /*
371
- Design: https://www.figma.com/file/d6Pv21UVUbnBs3AdcZijHmbN/KTZH-Design-System?type=design&node-id=4-1444&mode=design&t=xu5Vii8jXKKCKDez-0
372
- Live Demo: zh.ch
373
- */
374
-
375
- const BUTTON_VARIANTS = ["primary", "secondary", "ghost"];
376
- Object.freeze(BUTTON_VARIANTS);
377
- const BUTTON_SIZES = ["regular", "small"];
378
- Object.freeze(BUTTON_SIZES);
379
- const BUTTON_TYPES = ["button", "submit", "reset"];
380
- Object.freeze(BUTTON_TYPES);
381
- const BUTTON_EXPANDED_OPTIONS = ["true", "false"];
382
- Object.freeze(BUTTON_EXPANDED_OPTIONS);
383
-
384
- /**
385
- * @tagname leu-button
386
- * @slot before - The icon to display before the label
387
- * @slot after - The icon to display after the label
388
- * @slot - The label of the button or the icon if no label is set
389
- */
390
- class LeuButton extends LeuElement {
391
- constructor() {
392
- super();
393
- /** @type {string} */
394
- /**
395
- * @internal
396
- */
397
- _defineProperty(this, "hasSlotController", new HasSlotController(this, ["before", "after", "[default]"]));
398
- this.label = null;
399
- /** @type {string} */
400
- this.size = "regular";
401
- /** @type {string} */
402
- this.variant = "primary";
403
- /** @type {"button" | "submit" | "reset"} */
404
- this.type = "button";
405
-
406
- /** @type {string} */
407
- this.componentRole = undefined;
408
-
409
- /** @type {boolean} */
410
- this.disabled = false;
411
- /** @type {boolean} - Only taken into account if no Label and an Icon is set */
412
- this.round = false;
413
- /** @type {boolean} */
414
- this.active = false;
415
- /** @type {boolean} - will be used on dark Background */
416
- this.inverted = false;
417
-
418
- /** @type {boolean} - Alters the shape of the button to be full width of its parent container */
419
- this.fluid = false;
420
-
421
- /**
422
- * Only taken into account if variant is "ghost"
423
- * @type {("true" | "false" | undefined)}
424
- */
425
- this.expanded = undefined;
426
- }
427
- renderExpandingIcon() {
428
- if (typeof this.expanded !== "undefined" && this.variant === "ghost") {
429
- return html`<div class="icon-wrapper icon-wrapper--expanded">
430
- <leu-icon name="angleDropDown" size="24"></leu-icon>
431
- </div>`;
432
- }
433
- return nothing;
434
- }
435
- getAriaAttributes() {
436
- const attributes = {
437
- role: this.componentRole,
438
- label: this.label
439
- };
440
- if (this.componentRole) {
441
- if (ARIA_CHECKED_ROLES.includes(this.componentRole)) {
442
- attributes.checked = this.active ? "true" : "false";
443
- } else if (ARIA_SELECTED_ROLES.includes(this.componentRole)) {
444
- attributes.selected = this.active ? "true" : "false";
445
- }
446
- }
447
- return attributes;
448
- }
449
- hasTextContent() {
450
- return Array.from(this.childNodes).some(node => node.nodeType === node.TEXT_NODE && node.textContent.trim() !== "");
451
- }
452
- render() {
453
- const hasTextContent = this.hasTextContent();
454
- const hasIconDefault = Boolean(this.querySelector("leu-icon"));
455
- const hasIconBefore = this.hasSlotController.test("before");
456
- const hasIconAfter = this.hasSlotController.test("after");
457
- const aria = this.getAriaAttributes();
458
- const cssClasses = {
459
- "icon-only": hasIconDefault && !hasTextContent,
460
- "icon-before": hasIconBefore,
461
- "icon-after": hasIconAfter,
462
- round: this.round,
463
- active: this.active,
464
- inverted: this.inverted,
465
- [this.variant]: true,
466
- [this.size]: true
467
- };
468
- return html`
469
- <button
470
- aria-label=${ifDefined(aria.label)}
471
- aria-selected=${ifDefined(aria.selected)}
472
- aria-checked=${ifDefined(aria.checked)}
473
- aria-expanded=${ifDefined(this.expanded)}
474
- role=${ifDefined(aria.role)}
475
- class=${classMap(cssClasses)}
476
- ?disabled=${this.disabled}
477
- type=${this.type}
478
- >
479
- <slot name="before" class="icon-wrapper icon-wrapper--before"></slot>
480
- <span class="content"><slot></slot></span>
481
- <slot name="after" class="icon-wrapper icon-wrapper--after"></slot>
482
- ${this.renderExpandingIcon()}
483
- </button>
484
- `;
485
- }
486
- }
487
- _defineProperty(LeuButton, "dependencies", {
488
- "leu-icon": LeuIcon
489
- });
490
- _defineProperty(LeuButton, "styles", css_248z);
491
- /**
492
- * @internal
493
- */
494
- _defineProperty(LeuButton, "shadowRootOptions", {
495
- ...LeuElement.shadowRootOptions,
496
- delegatesFocus: true
497
- });
498
- _defineProperty(LeuButton, "properties", {
499
- label: {
500
- type: String,
501
- reflect: true
502
- },
503
- size: {
504
- type: String,
505
- reflect: true
506
- },
507
- variant: {
508
- type: String,
509
- reflect: true
510
- },
511
- type: {
512
- type: String,
513
- reflect: true
514
- },
515
- componentRole: {
516
- type: String,
517
- reflect: true
518
- },
519
- disabled: {
520
- type: Boolean,
521
- reflect: true
522
- },
523
- round: {
524
- type: Boolean,
525
- reflect: true
526
- },
527
- active: {
528
- type: Boolean,
529
- reflect: true
530
- },
531
- inverted: {
532
- type: Boolean,
533
- reflect: true
534
- },
535
- expanded: {
536
- type: String,
537
- reflect: true
538
- },
539
- fluid: {
540
- type: Boolean,
541
- reflect: true
542
- }
543
- });
544
-
545
- export { BUTTON_VARIANTS as B, HasSlotController as H, LeuButton as L, BUTTON_SIZES as a, BUTTON_TYPES as b, BUTTON_EXPANDED_OPTIONS as c };
@@ -1 +0,0 @@
1
- {"version":3,"file":"LeuElement-a20c5fd6.d.ts","sourceRoot":"","sources":["LeuElement-a20c5fd6.js"],"names":[],"mappings":"AA+BA;IACE,8EAcC;CACF;AA7CD,sEAaC;2BAf0B,KAAK"}