@statistikzh/leu 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,678 @@
1
+ import type { DefineComponent } from "vue";
2
+
3
+ import type { LeuAccordion } from "../Accordion.js";
4
+ import type { LeuBreadcrumb } from "../Breadcrumb.js";
5
+ import type { LeuButton } from "../Button.js";
6
+ import type { LeuButtonGroup, CustomEvent } from "../ButtonGroup.js";
7
+ import type { LeuCheckbox } from "../Checkbox.js";
8
+ import type { LeuCheckboxGroup } from "../CheckboxGroup.js";
9
+ import type { LeuChipGroup } from "../ChipGroup.js";
10
+ import type { LeuChipLink } from "../ChipLink.js";
11
+ import type { LeuChipRemovable } from "../ChipRemovable.js";
12
+ import type { LeuChipSelectable, CustomEvent } from "../ChipSelectable.js";
13
+ import type { LeuDropdown } from "../Dropdown.js";
14
+ import type { LeuInput, CustomEvent } from "../Input.js";
15
+ import type { LeuMenu } from "../Menu.js";
16
+ import type { LeuMenuItem } from "../MenuItem.js";
17
+ import type { LeuPagination, CustomEvent } from "../Pagination.js";
18
+ import type { LeuPopup } from "../Popup.js";
19
+ import type { LeuRadio } from "../Radio.js";
20
+ import type { LeuRadioGroup } from "../RadioGroup.js";
21
+ import type { LeuScrollTop } from "../ScrollTop.js";
22
+ import type { LeuSelect } from "../Select.js";
23
+ import type { LeuTable } from "../Table.js";
24
+ import type { LeuVisuallyHidden } from "../VisuallyHidden.js";
25
+
26
+ type LeuAccordionProps = {
27
+ /** The heading level of the accordion title. Must be between 1 and 6. */
28
+ "heading-level"?: LeuAccordion["headingLevel"];
29
+ /** The prefix of the accordion label. e.g. "01" */
30
+ "label-prefix"?: LeuAccordion["labelPrefix"];
31
+ /** The expanded state of the accordion. */
32
+ open?: LeuAccordion["open"];
33
+ /** The label (title) of the accordion. */
34
+ label?: LeuAccordion["label"];
35
+ };
36
+
37
+ type LeuBreadcrumbProps = {
38
+ /** Object array with { label, href } */
39
+ items?: LeuBreadcrumb["items"];
40
+ /** invert color on dark background */
41
+ inverted?: LeuBreadcrumb["inverted"];
42
+ /** */
43
+ _hiddenItems?: LeuBreadcrumb["_hiddenItems"];
44
+ /** */
45
+ _showBackOnly?: LeuBreadcrumb["_showBackOnly"];
46
+ /** */
47
+ _isRecalculating?: LeuBreadcrumb["_isRecalculating"];
48
+ /** */
49
+ _isDropdownOpen?: LeuBreadcrumb["_isDropdownOpen"];
50
+ /** */
51
+ _handleResize?: LeuBreadcrumb["_handleResize"];
52
+ /** */
53
+ _closeDropdown?: LeuBreadcrumb["_closeDropdown"];
54
+ /** */
55
+ resizeObserver?: LeuBreadcrumb["resizeObserver"];
56
+ };
57
+
58
+ type LeuButtonProps = {
59
+ /** */
60
+ label?: LeuButton["label"];
61
+ /** */
62
+ icon?: LeuButton["icon"];
63
+ /** Only taken into account if Label and no Icon is set */
64
+ iconPosition?: LeuButton["iconPosition"];
65
+ /** */
66
+ size?: LeuButton["size"];
67
+ /** */
68
+ variant?: LeuButton["variant"];
69
+ /** */
70
+ type?: LeuButton["type"];
71
+ /** */
72
+ componentRole?: LeuButton["componentRole"];
73
+ /** */
74
+ disabled?: LeuButton["disabled"];
75
+ /** Only taken into account if no Label and an Icon is set */
76
+ round?: LeuButton["round"];
77
+ /** */
78
+ active?: LeuButton["active"];
79
+ /** will be used on dark Background */
80
+ inverted?: LeuButton["inverted"];
81
+ /** Only taken into account if variant is "ghost" */
82
+ expanded?: LeuButton["expanded"];
83
+ /** Alters the shape of the button to be full width of its parent container */
84
+ fluid?: LeuButton["fluid"];
85
+ };
86
+
87
+ type LeuButtonGroupProps = {
88
+ /** The value of the currenty selected (active) button */
89
+ value?: LeuButtonGroup["value"];
90
+ /** */
91
+ _items?: LeuButtonGroup["_items"];
92
+ /** When the value of the group changes by clicking a button */
93
+ onInput?: (e: CustomEvent<CustomEvent>) => void;
94
+ };
95
+
96
+ type LeuCheckboxProps = {
97
+ /** */
98
+ checked?: LeuCheckbox["checked"];
99
+ /** */
100
+ disabled?: LeuCheckbox["disabled"];
101
+ /** */
102
+ identifier?: LeuCheckbox["identifier"];
103
+ /** */
104
+ value?: LeuCheckbox["value"];
105
+ /** */
106
+ name?: LeuCheckbox["name"];
107
+ /** */
108
+ label?: LeuCheckbox["label"];
109
+ /** */
110
+ checkIcon?: LeuCheckbox["checkIcon"];
111
+ };
112
+
113
+ type LeuCheckboxGroupProps = {
114
+ /** */
115
+ orientation?: LeuCheckboxGroup["orientation"];
116
+ /** */
117
+ label?: LeuCheckboxGroup["label"];
118
+ /** */
119
+ value?: LeuCheckboxGroup["value"];
120
+ /** */
121
+ items?: LeuCheckboxGroup["items"];
122
+ };
123
+
124
+ type LeuChipGroupProps = {
125
+ /** */
126
+ inverted?: LeuChipGroup["inverted"];
127
+ /** */
128
+ "selection-mode"?: LeuChipGroup["selectionMode"];
129
+ /** */
130
+ "heading-level"?: LeuChipGroup["headingLevel"];
131
+ /** */
132
+ label?: LeuChipGroup["label"];
133
+ /** */
134
+ value?: LeuChipGroup["value"];
135
+ };
136
+
137
+ type LeuChipLinkProps = {
138
+ /** */
139
+ ""?: LeuChipLink[""];
140
+ /** The size of the chip */
141
+ size?: LeuChipLink["size"];
142
+ /** */
143
+ href?: LeuChipLink["href"];
144
+ /** */
145
+ inverted?: LeuChipLink["inverted"];
146
+ /** */
147
+ label?: LeuChipLink["label"];
148
+ /** */
149
+ ""?: LeuChipLink[""];
150
+ };
151
+
152
+ type LeuChipRemovableProps = {
153
+ /** */
154
+ ""?: LeuChipRemovable[""];
155
+ /** */
156
+ inverted?: LeuChipRemovable["inverted"];
157
+ /** */
158
+ label?: LeuChipRemovable["label"];
159
+ /** */
160
+ ""?: LeuChipRemovable[""];
161
+ /** Dispatched when the user clicks on the chip */
162
+ onRemove?: (e: CustomEvent<never>) => void;
163
+ };
164
+
165
+ type LeuChipSelectableProps = {
166
+ /** */
167
+ ""?: LeuChipSelectable[""];
168
+ /** The size of the chip. Not supported for radio variant. */
169
+ size?: LeuChipSelectable["size"];
170
+ /** The variant of the chip. Has an effect not only on the visual appearance but also on the behavior.
171
+ - `toggle`: The chip behaves like a toggle button.
172
+ - `radio`: The chip behaves like a radio button. */
173
+ variant?: LeuChipSelectable["variant"];
174
+ /** */
175
+ selected?: LeuChipSelectable["selected"];
176
+ /** */
177
+ value?: LeuChipSelectable["value"];
178
+ /** */
179
+ inverted?: LeuChipSelectable["inverted"];
180
+ /** */
181
+ label?: LeuChipSelectable["label"];
182
+ /** */
183
+ ""?: LeuChipSelectable[""];
184
+ /** */
185
+ onInput?: (e: CustomEvent<CustomEvent>) => void;
186
+ };
187
+
188
+ type LeuDropdownProps = {
189
+ /** */
190
+ label?: LeuDropdown["label"];
191
+ /** */
192
+ expanded?: LeuDropdown["expanded"];
193
+ /** */
194
+ _documentClickHandler?: LeuDropdown["_documentClickHandler"];
195
+ /** */
196
+ _handleMenuItemClick?: LeuDropdown["_handleMenuItemClick"];
197
+ /** */
198
+ menuItems?: LeuDropdown["menuItems"];
199
+ };
200
+
201
+ type LeuInputProps = {
202
+ /** Disables the input element. */
203
+ disabled?: LeuInput["disabled"];
204
+ /** Marks the input element as required. */
205
+ required?: LeuInput["required"];
206
+ /** Adds a button to clear the input element. */
207
+ clearable?: LeuInput["clearable"];
208
+ /** The value of the input element. */
209
+ value?: LeuInput["value"];
210
+ /** The name of the input element. */
211
+ name?: LeuInput["name"];
212
+ /** A custom error that is completely independent of the validity state. Useful for displaying server side errors. */
213
+ error?: LeuInput["error"];
214
+ /** The label of the input element. */
215
+ label?: LeuInput["label"];
216
+ /** A prefix that relates to the value of the input (e.g. CHF). */
217
+ prefix?: LeuInput["prefix"];
218
+ /** A suffix that relates to the value of the input (e.g. mm). */
219
+ suffix?: LeuInput["suffix"];
220
+ /** The size of the input element. */
221
+ size?: LeuInput["size"];
222
+ /** The icon that is displayed at the end of the input element. */
223
+ icon?: LeuInput["icon"];
224
+ /** A regular expression that the value is checked against. */
225
+ pattern?: LeuInput["pattern"];
226
+ /** The type of the input element. */
227
+ type?: LeuInput["type"];
228
+ /** The minimum value of the input element. */
229
+ min?: LeuInput["min"];
230
+ /** The maximum value of the input element. */
231
+ max?: LeuInput["max"];
232
+ /** The maximum length of the input element. */
233
+ maxlength?: LeuInput["maxlength"];
234
+ /** The minimum length of the input element. */
235
+ minlength?: LeuInput["minlength"];
236
+ /** Custom validation messages. The key is the name of the validity state and the value is the message. */
237
+ validationMessages?: LeuInput["validationMessages"];
238
+ /** Disables the browser's validation. */
239
+ novalidate?: LeuInput["novalidate"];
240
+ /** The step value of the input element. */
241
+ step?: LeuInput["step"];
242
+ /** */
243
+ _validity?: LeuInput["_validity"];
244
+
245
+ /** Dispatched when the value of the input element changes. */
246
+ onInput?: (e: CustomEvent<CustomEvent>) => void;
247
+ /** Dispatched when the value of the input element changes and the input element loses focus. */
248
+ onChange?: (e: CustomEvent<CustomEvent>) => void;
249
+ };
250
+
251
+ type LeuMenuProps = {};
252
+
253
+ type LeuMenuItemProps = {
254
+ /** Can be either an icon name or a text
255
+ If no icon with this value is found, it will be displayed as text.
256
+ If the value is "EMPTY", an empty placeholder with the size of an icon will be displayed. */
257
+ before?: LeuMenuItem["before"];
258
+ /** Can be either an icon name or a text
259
+ If no icon with this value is found, it will be displayed as text
260
+ If the value is "EMPTY", an empty placeholder with the size of an icon will be displayed. */
261
+ after?: LeuMenuItem["after"];
262
+ /** */
263
+ active?: LeuMenuItem["active"];
264
+ /** A programmatic way to highlight the menu item like it is hovered.
265
+ This is just a visual effect and does not change the active state. */
266
+ highlighted?: LeuMenuItem["highlighted"];
267
+ /** */
268
+ disabled?: LeuMenuItem["disabled"];
269
+ /** */
270
+ label?: LeuMenuItem["label"];
271
+ /** */
272
+ href?: LeuMenuItem["href"];
273
+ };
274
+
275
+ type LeuPaginationProps = {
276
+ /** */
277
+ defaultPage?: LeuPagination["defaultPage"];
278
+ /** */
279
+ itemsPerPage?: LeuPagination["itemsPerPage"];
280
+ /** */
281
+ numOfItems?: LeuPagination["numOfItems"];
282
+ /** Internal page state that contains an
283
+ already clamped page number. Should only
284
+ be accessed through the `page` getter and
285
+ setter. */
286
+ _page?: LeuPagination["_page"];
287
+ /** */
288
+ page?: LeuPagination["page"];
289
+ /** */
290
+ startIndex?: LeuPagination["startIndex"];
291
+ /** */
292
+ endIndex?: LeuPagination["endIndex"];
293
+ /** */
294
+ _maxPage?: LeuPagination["_maxPage"];
295
+ /** */
296
+ onLeupagechange?: (e: CustomEvent<CustomEvent>) => void;
297
+ };
298
+
299
+ type LeuPopupProps = {
300
+ /** */
301
+ anchor?: LeuPopup["anchor"];
302
+ /** */
303
+ active?: LeuPopup["active"];
304
+ /** */
305
+ placement?: LeuPopup["placement"];
306
+ /** */
307
+ flip?: LeuPopup["flip"];
308
+ /** */
309
+ shift?: LeuPopup["shift"];
310
+ /** */
311
+ shiftPadding?: LeuPopup["shiftPadding"];
312
+ /** */
313
+ matchSize?: LeuPopup["matchSize"];
314
+ /** */
315
+ autoSize?: LeuPopup["autoSize"];
316
+ /** */
317
+ autoSizePadding?: LeuPopup["autoSizePadding"];
318
+ /** */
319
+ popupEl?: LeuPopup["popupEl"];
320
+ /** */
321
+ anchorEl?: LeuPopup["anchorEl"];
322
+ /** */
323
+ cleanup?: LeuPopup["cleanup"];
324
+ };
325
+
326
+ type LeuRadioProps = {
327
+ /** */
328
+ checked?: LeuRadio["checked"];
329
+ /** */
330
+ disabled?: LeuRadio["disabled"];
331
+ /** */
332
+ identifier?: LeuRadio["identifier"];
333
+ /** */
334
+ value?: LeuRadio["value"];
335
+ /** */
336
+ name?: LeuRadio["name"];
337
+ /** */
338
+ label?: LeuRadio["label"];
339
+ };
340
+
341
+ type LeuRadioGroupProps = {
342
+ /** */
343
+ orientation?: LeuRadioGroup["orientation"];
344
+ /** */
345
+ label?: LeuRadioGroup["label"];
346
+ /** */
347
+ value?: LeuRadioGroup["value"];
348
+ /** */
349
+ handleFocusIn?: LeuRadioGroup["handleFocusIn"];
350
+ /** */
351
+ handleKeyDown?: LeuRadioGroup["handleKeyDown"];
352
+ /** */
353
+ handleInput?: LeuRadioGroup["handleInput"];
354
+ /** */
355
+ _currentIndex?: LeuRadioGroup["_currentIndex"];
356
+ /** */
357
+ items?: LeuRadioGroup["items"];
358
+ };
359
+
360
+ type LeuScrollTopProps = {
361
+ /** */
362
+ _showButton?: LeuScrollTop["_showButton"];
363
+ /** */
364
+ scroll?: LeuScrollTop["scroll"];
365
+ };
366
+
367
+ type LeuSelectProps = {
368
+ /** */
369
+ open?: LeuSelect["open"];
370
+ /** */
371
+ label?: LeuSelect["label"];
372
+ /** */
373
+ options?: LeuSelect["options"];
374
+ /** */
375
+ value?: LeuSelect["value"];
376
+ /** */
377
+ clearable?: LeuSelect["clearable"];
378
+ /** */
379
+ disabled?: LeuSelect["disabled"];
380
+ /** */
381
+ filterable?: LeuSelect["filterable"];
382
+ /** */
383
+ multiple?: LeuSelect["multiple"];
384
+ /** */
385
+ optionFilter?: LeuSelect["optionFilter"];
386
+ /** */
387
+ menuRef?: LeuSelect["menuRef"];
388
+ /** */
389
+ optionFilterRef?: LeuSelect["optionFilterRef"];
390
+ /** */
391
+ toggleButtonRef?: LeuSelect["toggleButtonRef"];
392
+ };
393
+
394
+ type LeuTableProps = {
395
+ /** */
396
+ columns?: LeuTable["columns"];
397
+ /** */
398
+ data?: LeuTable["data"];
399
+ /** */
400
+ firstColumnSticky?: LeuTable["firstColumnSticky"];
401
+ /** */
402
+ itemsPerPage?: LeuTable["itemsPerPage"];
403
+ /** */
404
+ sortIndex?: LeuTable["sortIndex"];
405
+ /** */
406
+ sortOrderAsc?: LeuTable["sortOrderAsc"];
407
+ /** */
408
+ width?: LeuTable["width"];
409
+ /** */
410
+ _shadowLeft?: LeuTable["_shadowLeft"];
411
+ /** */
412
+ _shadowRight?: LeuTable["_shadowRight"];
413
+ /** */
414
+ _page?: LeuTable["_page"];
415
+ /** */
416
+ _columns?: LeuTable["_columns"];
417
+ /** */
418
+ _sortedData?: LeuTable["_sortedData"];
419
+ /** */
420
+ _data?: LeuTable["_data"];
421
+ /** */
422
+ _resizeObserver?: LeuTable["_resizeObserver"];
423
+ };
424
+
425
+ type LeuVisuallyHiddenProps = {};
426
+
427
+ export type CustomElements = {
428
+ /**
429
+ *
430
+ * ---
431
+ *
432
+ *
433
+ * ### **Slots:**
434
+ * - **content** - The content of the accordion. No styles will be applied to the content.
435
+ */
436
+ "leu-accordion": DefineComponent<LeuAccordionProps>;
437
+
438
+ /**
439
+ * A Breadcrumb Navigation.
440
+ *
441
+ * The breadcrumbs can be displayed in two different layouts.
442
+ * Only the back link (the last item / parent of the current page)
443
+ * is displayed when…
444
+ * - … the width of the container is smaller
445
+ * than the BACK_ONLY_BREAKPOINT.
446
+ * - … less then two breadcrumb items could be displayed
447
+ * without overflowing the container.
448
+ *
449
+ * Otherwise as many items as possible are displayed in an inline list
450
+ * without overflowing the container. The remaining items are displayed
451
+ * in a dropdown menu.
452
+ *
453
+ * In order to determine the exact numbers of items that have to be
454
+ * hidden inside the dropdown, all of them have to be rendered first.
455
+ * 1. Render all items
456
+ * 2. Calculate (measure) the number of items that can be displayed
457
+ * without overflowing the container.
458
+ * 3. Updating the state (_hiddeItems) which will trigger a rerender
459
+ * 4. Render the items again with the new state.
460
+ *
461
+ * This results in multiple updates scheduled one after another. Lit
462
+ * will also print a waring in the console beacause of that.
463
+ * It's no a nice behaviour but the only one that works without
464
+ * having duplicate and hidden markup to derive the sizes from that.
465
+ * ---
466
+ *
467
+ *
468
+ * ### **Methods:**
469
+ * - **renderDropdown(): __** - Render the dropdown menu
470
+ */
471
+ "leu-breadcrumb": DefineComponent<LeuBreadcrumbProps>;
472
+
473
+ /**
474
+ *
475
+ * ---
476
+ *
477
+ */
478
+ "leu-button": DefineComponent<LeuButtonProps>;
479
+
480
+ /**
481
+ *
482
+ * ---
483
+ *
484
+ *
485
+ * ### **Events:**
486
+ * - **input** - When the value of the group changes by clicking a button
487
+ *
488
+ * ### **Slots:**
489
+ * - _default_ - Slot for the buttons
490
+ */
491
+ "leu-button-group": DefineComponent<LeuButtonGroupProps>;
492
+
493
+ /**
494
+ *
495
+ * ---
496
+ *
497
+ */
498
+ "leu-checkbox": DefineComponent<LeuCheckboxProps>;
499
+
500
+ /**
501
+ *
502
+ * ---
503
+ *
504
+ */
505
+ "leu-checkbox-group": DefineComponent<LeuCheckboxGroupProps>;
506
+
507
+ /**
508
+ *
509
+ * ---
510
+ *
511
+ *
512
+ * ### **Slots:**
513
+ * - _default_ - Place leu-chip-* elements inside this slot
514
+ *
515
+ * ### **CSS Properties:**
516
+ * - **--leu-chip-group-gap** - The gap between the chips _(default: undefined)_
517
+ */
518
+ "leu-chip-group": DefineComponent<LeuChipGroupProps>;
519
+
520
+ /**
521
+ *
522
+ * ---
523
+ *
524
+ *
525
+ * ### **Slots:**
526
+ * - _default_ - The content of the chip
527
+ */
528
+ "leu-chip-link": DefineComponent<LeuChipLinkProps>;
529
+
530
+ /**
531
+ *
532
+ * ---
533
+ *
534
+ *
535
+ * ### **Events:**
536
+ * - **remove** - Dispatched when the user clicks on the chip
537
+ *
538
+ * ### **Slots:**
539
+ * - _default_ - The content of the chip
540
+ */
541
+ "leu-chip-removable": DefineComponent<LeuChipRemovableProps>;
542
+
543
+ /**
544
+ * A chip component that can be selected.
545
+ * ---
546
+ *
547
+ *
548
+ * ### **Events:**
549
+ * - **input** - undefined
550
+ *
551
+ * ### **Slots:**
552
+ * - _default_ - The content of the chip
553
+ */
554
+ "leu-chip-selectable": DefineComponent<LeuChipSelectableProps>;
555
+
556
+ /**
557
+ *
558
+ * ---
559
+ *
560
+ */
561
+ "leu-dropdown": DefineComponent<LeuDropdownProps>;
562
+
563
+ /**
564
+ * A text input element.
565
+ * ---
566
+ *
567
+ *
568
+ * ### **Events:**
569
+ * - **input** - Dispatched when the value of the input element changes.
570
+ * - **change** - Dispatched when the value of the input element changes and the input element loses focus.
571
+ *
572
+ * ### **Methods:**
573
+ * - **getValidationMessages(): _Object_** - Merge custom and default validation messages.
574
+ * A validation message can be a function or a string.
575
+ * If it s a function, the function is called with the corresponding
576
+ * attribute value as argument.
577
+ * e.g.
578
+ * `tooLong(this.maxlength)`
579
+ * This way the framework user can create reasonable validation messages
580
+ * - **renderErrorMessages(validityState: _ValidityState_, validationMessages: _Object_, idRef: _String_): __** - Creates an error list with an item for the given validity state.
581
+ */
582
+ "leu-input": DefineComponent<LeuInputProps>;
583
+
584
+ /**
585
+ *
586
+ * ---
587
+ *
588
+ */
589
+ "leu-menu": DefineComponent<LeuMenuProps>;
590
+
591
+ /**
592
+ *
593
+ * ---
594
+ *
595
+ *
596
+ * ### **Slots:**
597
+ * - _default_ - The label of the menu item
598
+ */
599
+ "leu-menu-item": DefineComponent<LeuMenuItemProps>;
600
+
601
+ /**
602
+ *
603
+ * ---
604
+ *
605
+ *
606
+ * ### **Events:**
607
+ * - **leu:pagechange** - undefined
608
+ */
609
+ "leu-pagination": DefineComponent<LeuPaginationProps>;
610
+
611
+ /**
612
+ *
613
+ * ---
614
+ *
615
+ */
616
+ "leu-popup": DefineComponent<LeuPopupProps>;
617
+
618
+ /**
619
+ *
620
+ * ---
621
+ *
622
+ */
623
+ "leu-radio": DefineComponent<LeuRadioProps>;
624
+
625
+ /**
626
+ *
627
+ * ---
628
+ *
629
+ */
630
+ "leu-radio-group": DefineComponent<LeuRadioGroupProps>;
631
+
632
+ /**
633
+ *
634
+ * ---
635
+ *
636
+ */
637
+ "leu-scroll-top": DefineComponent<LeuScrollTopProps>;
638
+
639
+ /**
640
+ *
641
+ * ---
642
+ *
643
+ *
644
+ * ### **Methods:**
645
+ * - **selectOption(option: _*_)** - Adds or replaces the given option in the options array.
646
+ *
647
+ * ### **Slots:**
648
+ * - **before** - Optional content the appears before the option list
649
+ * - **after** - Optional content the appears after the option list
650
+ */
651
+ "leu-select": DefineComponent<LeuSelectProps>;
652
+
653
+ /**
654
+ *
655
+ * ---
656
+ *
657
+ */
658
+ "leu-table": DefineComponent<LeuTableProps>;
659
+
660
+ /**
661
+ *
662
+ * ---
663
+ *
664
+ */
665
+ "leu-visually-hidden": DefineComponent<LeuVisuallyHiddenProps>;
666
+ };
667
+
668
+ declare module "vue" {
669
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
670
+ interface GlobalComponents extends CustomElements {}
671
+ }
672
+
673
+ declare global {
674
+ namespace JSX {
675
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
676
+ interface IntrinsicElements extends CustomElements {}
677
+ }
678
+ }