@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.
Files changed (126) hide show
  1. package/.eslintrc.json +4 -1
  2. package/CHANGELOG.md +30 -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.d.ts.map +1 -1
  7. package/dist/Breadcrumb.js +3 -1
  8. package/dist/{Button-9692e403.d.ts → Button-3adfb3ed.d.ts} +2 -2
  9. package/dist/Button-3adfb3ed.d.ts.map +1 -0
  10. package/dist/{Button-9692e403.js → Button-3adfb3ed.js} +1 -1
  11. package/dist/Button.d.ts +1 -1
  12. package/dist/Button.js +2 -2
  13. package/dist/ButtonGroup.d.ts +1 -1
  14. package/dist/ButtonGroup.d.ts.map +1 -1
  15. package/dist/ButtonGroup.js +1 -1
  16. package/dist/Checkbox.d.ts +1 -1
  17. package/dist/Checkbox.d.ts.map +1 -1
  18. package/dist/Checkbox.js +3 -1
  19. package/dist/CheckboxGroup.d.ts +3 -2
  20. package/dist/CheckboxGroup.d.ts.map +1 -1
  21. package/dist/CheckboxGroup.js +6 -3
  22. package/dist/Chip.d.ts +1 -1
  23. package/dist/Chip.d.ts.map +1 -1
  24. package/dist/Chip.js +19 -17
  25. package/dist/ChipGroup.d.ts +8 -2
  26. package/dist/ChipGroup.d.ts.map +1 -1
  27. package/dist/ChipGroup.js +32 -5
  28. package/dist/ChipLink.js +1 -1
  29. package/dist/ChipRemovable.d.ts +7 -0
  30. package/dist/ChipRemovable.d.ts.map +1 -1
  31. package/dist/ChipRemovable.js +23 -3
  32. package/dist/ChipSelectable.d.ts +9 -1
  33. package/dist/ChipSelectable.d.ts.map +1 -1
  34. package/dist/ChipSelectable.js +23 -11
  35. package/dist/Dropdown.d.ts +1 -1
  36. package/dist/Dropdown.d.ts.map +1 -1
  37. package/dist/Dropdown.js +2 -2
  38. package/dist/Icon.d.ts +98 -2
  39. package/dist/Icon.d.ts.map +1 -1
  40. package/dist/Icon.js +1 -1
  41. package/dist/Input.d.ts +7 -2
  42. package/dist/Input.d.ts.map +1 -1
  43. package/dist/Input.js +16 -3
  44. package/dist/{LeuElement-6de6f209.d.ts → LeuElement-a20c5fd6.d.ts} +2 -2
  45. package/dist/LeuElement-a20c5fd6.d.ts.map +1 -0
  46. package/dist/LeuElement-a20c5fd6.js +52 -0
  47. package/dist/Menu.d.ts +2 -2
  48. package/dist/Menu.js +1 -1
  49. package/dist/MenuItem.d.ts +2 -2
  50. package/dist/MenuItem.js +4 -4
  51. package/dist/Pagination.d.ts +1 -1
  52. package/dist/Pagination.js +2 -2
  53. package/dist/Popup.d.ts +1 -1
  54. package/dist/Popup.d.ts.map +1 -1
  55. package/dist/Popup.js +3 -1
  56. package/dist/Radio.d.ts +1 -1
  57. package/dist/Radio.d.ts.map +1 -1
  58. package/dist/Radio.js +3 -1
  59. package/dist/RadioGroup.d.ts +1 -1
  60. package/dist/RadioGroup.d.ts.map +1 -1
  61. package/dist/RadioGroup.js +22 -10
  62. package/dist/ScrollTop.d.ts +1 -1
  63. package/dist/ScrollTop.js +2 -2
  64. package/dist/Select.d.ts +1 -1
  65. package/dist/Select.d.ts.map +1 -1
  66. package/dist/Select.js +4 -2
  67. package/dist/Table.d.ts +1 -1
  68. package/dist/Table.d.ts.map +1 -1
  69. package/dist/Table.js +4 -3
  70. package/dist/VisuallyHidden.d.ts +1 -1
  71. package/dist/VisuallyHidden.d.ts.map +1 -1
  72. package/dist/VisuallyHidden.js +5 -3
  73. package/dist/index.d.ts +2 -2
  74. package/dist/index.js +3 -3
  75. package/dist/leu-accordion.js +1 -1
  76. package/dist/leu-breadcrumb.js +1 -1
  77. package/dist/leu-button-group.js +1 -1
  78. package/dist/leu-button.d.ts +1 -1
  79. package/dist/leu-button.js +2 -2
  80. package/dist/leu-checkbox-group.js +1 -1
  81. package/dist/leu-checkbox.js +1 -1
  82. package/dist/leu-chip-group.js +1 -1
  83. package/dist/leu-chip-link.js +1 -1
  84. package/dist/leu-chip-removable.js +1 -1
  85. package/dist/leu-chip-selectable.js +1 -1
  86. package/dist/leu-dropdown.js +2 -2
  87. package/dist/leu-icon.js +1 -1
  88. package/dist/leu-input.js +1 -1
  89. package/dist/leu-menu-item.js +1 -1
  90. package/dist/leu-menu.js +1 -1
  91. package/dist/leu-pagination.js +2 -2
  92. package/dist/leu-popup.js +1 -1
  93. package/dist/leu-radio-group.js +1 -1
  94. package/dist/leu-radio.js +1 -1
  95. package/dist/leu-scroll-top.js +2 -2
  96. package/dist/leu-select.js +2 -2
  97. package/dist/leu-table.js +2 -2
  98. package/dist/leu-visually-hidden.js +1 -1
  99. package/dist/vscode.html-custom-data.json +32 -8
  100. package/dist/vue/index.d.ts +29 -9
  101. package/dist/web-types.json +236 -235
  102. package/package.json +4 -3
  103. package/rollup.config.js +9 -0
  104. package/src/components/checkbox/CheckboxGroup.js +3 -2
  105. package/src/components/checkbox/stories/checkbox-group.stories.js +3 -3
  106. package/src/components/chip/ChipGroup.js +28 -4
  107. package/src/components/chip/ChipRemovable.js +18 -0
  108. package/src/components/chip/ChipSelectable.js +24 -10
  109. package/src/components/chip/chip.css +16 -16
  110. package/src/components/chip/stories/chip-group.stories.js +6 -9
  111. package/src/components/chip/stories/chip-removable.stories.js +6 -2
  112. package/src/components/chip/stories/chip-selectable.stories.js +1 -1
  113. package/src/components/chip/test/chip-group.test.js +67 -0
  114. package/src/components/chip/test/chip-removable.test.js +36 -2
  115. package/src/components/chip/test/chip-selectable.test.js +18 -8
  116. package/src/components/input/Input.js +14 -1
  117. package/src/components/input/stories/input.stories.js +3 -3
  118. package/src/components/input/test/input.test.js +20 -0
  119. package/src/components/menu/MenuItem.js +1 -1
  120. package/src/components/menu/menu-item.css +2 -2
  121. package/src/components/radio/RadioGroup.js +15 -11
  122. package/src/components/radio/stories/radio-group.stories.js +3 -3
  123. package/src/lib/LeuElement.js +19 -11
  124. package/dist/Button-9692e403.d.ts.map +0 -1
  125. package/dist/LeuElement-6de6f209.d.ts.map +0 -1
  126. package/dist/LeuElement-6de6f209.js +0 -43
@@ -1,13 +1,15 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-6de6f209.js';
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 {
5
+ margin: -1px !important;
6
+ padding: 0 !important;
7
+ }
8
+ :host {
5
9
  clip: rect(0 0 0 0);
6
10
  border: 0;
7
11
  height: 1px;
8
- margin: -1px !important;
9
12
  overflow: hidden;
10
- padding: 0 !important;
11
13
  position: absolute;
12
14
  width: 1px;
13
15
  }
package/dist/index.d.ts CHANGED
@@ -8,7 +8,6 @@ export { LeuChipLink } from "./ChipLink.js";
8
8
  export { LeuChipRemovable } from "./ChipRemovable.js";
9
9
  export { LeuChipSelectable } from "./ChipSelectable.js";
10
10
  export { LeuDropdown } from "./Dropdown.js";
11
- export { LeuInput } from "./Input.js";
12
11
  export { LeuMenu } from "./Menu.js";
13
12
  export { LeuMenuItem } from "./MenuItem.js";
14
13
  export { LeuPagination } from "./Pagination.js";
@@ -17,5 +16,6 @@ export { LeuRadio } from "./Radio.js";
17
16
  export { LeuRadioGroup } from "./RadioGroup.js";
18
17
  export { LeuSelect } from "./Select.js";
19
18
  export { LeuTable } from "./Table.js";
20
- export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from "./Button-9692e403.js";
19
+ export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from "./Button-3adfb3ed.js";
20
+ export { LeuInput, SIZES } from "./Input.js";
21
21
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { LeuAccordion } from './Accordion.js';
2
2
  export { LeuBreadcrumb } from './Breadcrumb.js';
3
- export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from './Button-9692e403.js';
3
+ export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from './Button-3adfb3ed.js';
4
4
  export { LeuButtonGroup } from './ButtonGroup.js';
5
5
  export { LeuCheckbox } from './Checkbox.js';
6
6
  export { LeuCheckboxGroup } from './CheckboxGroup.js';
@@ -9,7 +9,7 @@ export { LeuChipLink } from './ChipLink.js';
9
9
  export { LeuChipRemovable } from './ChipRemovable.js';
10
10
  export { LeuChipSelectable } from './ChipSelectable.js';
11
11
  export { LeuDropdown } from './Dropdown.js';
12
- export { LeuInput } from './Input.js';
12
+ export { LeuInput, SIZES } from './Input.js';
13
13
  export { LeuMenu } from './Menu.js';
14
14
  export { LeuMenuItem } from './MenuItem.js';
15
15
  export { LeuPagination } from './Pagination.js';
@@ -18,7 +18,7 @@ export { LeuRadio } from './Radio.js';
18
18
  export { LeuRadioGroup } from './RadioGroup.js';
19
19
  export { LeuSelect } from './Select.js';
20
20
  export { LeuTable } from './Table.js';
21
- import './LeuElement-6de6f209.js';
21
+ import './LeuElement-a20c5fd6.js';
22
22
  import 'lit';
23
23
  import 'lit/static-html.js';
24
24
  import 'lit/directives/ref.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuAccordion } from './Accordion.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/static-html.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuBreadcrumb } from './Breadcrumb.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/ref.js';
5
5
  import 'lit/directives/class-map.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuButtonGroup } from './ButtonGroup.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuButtonGroup.define("leu-button-group");
@@ -1,3 +1,3 @@
1
1
  export { LeuButton };
2
- import { L as LeuButton } from './Button-9692e403.js';
2
+ import { L as LeuButton } from './Button-3adfb3ed.js';
3
3
  //# sourceMappingURL=leu-button.d.ts.map
@@ -1,5 +1,5 @@
1
- import { L as LeuButton } from './Button-9692e403.js';
2
- import './LeuElement-6de6f209.js';
1
+ import { L as LeuButton } from './Button-3adfb3ed.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
  import 'lit/directives/if-defined.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuCheckboxGroup } from './CheckboxGroup.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuCheckbox } from './Checkbox.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import './Icon.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuChipGroup } from './ChipGroup.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/static-html.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuChipLink } from './ChipLink.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import './Chip.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuChipRemovable } from './ChipRemovable.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import './Chip.js';
5
5
  import './Icon.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuChipSelectable } from './ChipSelectable.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import './Chip.js';
5
5
 
@@ -1,8 +1,8 @@
1
1
  import { LeuDropdown } from './Dropdown.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/ref.js';
5
- import './Button-9692e403.js';
5
+ import './Button-3adfb3ed.js';
6
6
  import 'lit/directives/class-map.js';
7
7
  import 'lit/directives/if-defined.js';
8
8
  import './Icon.js';
package/dist/leu-icon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuIcon } from './Icon.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuIcon.define("leu-icon");
package/dist/leu-input.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuInput } from './Input.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
  import 'lit/directives/if-defined.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuMenuItem } from './MenuItem.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/if-defined.js';
5
5
  import './Icon.js';
package/dist/leu-menu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuMenu } from './Menu.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import './MenuItem.js';
5
5
  import 'lit/directives/if-defined.js';
@@ -1,8 +1,8 @@
1
1
  import { LeuPagination } from './Pagination.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/live.js';
5
- import './Button-9692e403.js';
5
+ import './Button-3adfb3ed.js';
6
6
  import 'lit/directives/class-map.js';
7
7
  import 'lit/directives/if-defined.js';
8
8
  import './Icon.js';
package/dist/leu-popup.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuPopup } from './Popup.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import '@floating-ui/dom';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuRadioGroup } from './RadioGroup.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
 
package/dist/leu-radio.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuRadio } from './Radio.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuRadio.define("leu-radio");
@@ -1,8 +1,8 @@
1
1
  import { LeuScrollTop } from './ScrollTop.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
- import './Button-9692e403.js';
5
+ import './Button-3adfb3ed.js';
6
6
  import 'lit/directives/if-defined.js';
7
7
  import './Icon.js';
8
8
  import './utils-65469421.js';
@@ -1,10 +1,10 @@
1
1
  import { LeuSelect } from './Select.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
  import 'lit/directives/ref.js';
6
6
  import 'lit/directives/if-defined.js';
7
- import './Button-9692e403.js';
7
+ import './Button-3adfb3ed.js';
8
8
  import './Icon.js';
9
9
  import './Menu.js';
10
10
  import './MenuItem.js';
package/dist/leu-table.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuTable } from './Table.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
  import 'lit/directives/style-map.js';
@@ -7,7 +7,7 @@ import 'lit/directives/ref.js';
7
7
  import './Icon.js';
8
8
  import './Pagination.js';
9
9
  import 'lit/directives/live.js';
10
- import './Button-9692e403.js';
10
+ import './Button-3adfb3ed.js';
11
11
  import 'lit/directives/if-defined.js';
12
12
  import './VisuallyHidden.js';
13
13
 
@@ -1,5 +1,5 @@
1
1
  import { LeuVisuallyHidden } from './VisuallyHidden.js';
2
- import './LeuElement-6de6f209.js';
2
+ import './LeuElement-a20c5fd6.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuVisuallyHidden.define("leu-visually-hidden");
@@ -141,7 +141,10 @@
141
141
  "name": "leu-checkbox-group",
142
142
  "description": "\n---\n",
143
143
  "attributes": [
144
- { "name": "orientation", "values": [] },
144
+ {
145
+ "name": "orientation",
146
+ "values": [{ "name": "horizontal" }, { "name": "vertical" }]
147
+ },
145
148
  { "name": "label", "values": [] }
146
149
  ],
147
150
  "references": [
@@ -178,6 +181,7 @@
178
181
  "name": "leu-chip-link",
179
182
  "description": "\n---\n\n\n### **Slots:**\n - _default_ - The content of the chip",
180
183
  "attributes": [
184
+ { "name": "", "values": [] },
181
185
  {
182
186
  "name": "size",
183
187
  "description": "The size of the chip",
@@ -195,8 +199,16 @@
195
199
  },
196
200
  {
197
201
  "name": "leu-chip-removable",
198
- "description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Slots:**\n - _default_ - The content of the chip",
199
- "attributes": [{ "name": "inverted", "values": [] }],
202
+ "description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Methods:**\n - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content\n\n### **Slots:**\n - _default_ - The content of the chip",
203
+ "attributes": [
204
+ { "name": "", "values": [] },
205
+ {
206
+ "name": "value",
207
+ "description": "The value of the chip.",
208
+ "values": []
209
+ },
210
+ { "name": "inverted", "values": [] }
211
+ ],
200
212
  "references": [
201
213
  {
202
214
  "name": "Documentation",
@@ -206,8 +218,9 @@
206
218
  },
207
219
  {
208
220
  "name": "leu-chip-selectable",
209
- "description": "A chip component that can be selected.\n---\n\n\n### **Events:**\n - **input**\n\n### **Slots:**\n - _default_ - The content of the chip",
221
+ "description": "A chip component that can be selected.\n---\n\n\n### **Events:**\n - **input** - undefined\n\n### **Methods:**\n - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content\n\n### **Slots:**\n - _default_ - The content of the chip",
210
222
  "attributes": [
223
+ { "name": "", "values": [] },
211
224
  {
212
225
  "name": "size",
213
226
  "description": "The size of the chip. Not supported for radio variant.",
@@ -218,8 +231,16 @@
218
231
  "description": "`toggle` or `radio`. Determines if only one or multiple chips can be selected.",
219
232
  "values": [{ "name": "keyof typeof VARIANTS" }]
220
233
  },
221
- { "name": "selected", "values": [] },
222
- { "name": "value", "values": [] },
234
+ {
235
+ "name": "checked",
236
+ "description": "Whether the chip is selected.",
237
+ "values": []
238
+ },
239
+ {
240
+ "name": "value",
241
+ "description": "The value of the chip.",
242
+ "values": []
243
+ },
223
244
  { "name": "inverted", "values": [] }
224
245
  ],
225
246
  "references": [
@@ -434,7 +455,7 @@
434
455
  },
435
456
  {
436
457
  "name": "leu-pagination",
437
- "description": "\n---\n\n\n### **Events:**\n - **leu:pagechange**",
458
+ "description": "\n---\n\n\n### **Events:**\n - **leu:pagechange** - undefined",
438
459
  "attributes": [
439
460
  { "name": "defaultPage", "values": [] },
440
461
  { "name": "itemsPerPage", "values": [{ "name": "Number" }] },
@@ -503,7 +524,10 @@
503
524
  "name": "leu-radio-group",
504
525
  "description": "\n---\n",
505
526
  "attributes": [
506
- { "name": "orientation", "values": [] },
527
+ {
528
+ "name": "orientation",
529
+ "values": [{ "name": "horizontal" }, { "name": "vertical" }]
530
+ },
507
531
  { "name": "label", "values": [] }
508
532
  ],
509
533
  "references": [
@@ -121,39 +121,52 @@ type LeuChipGroupProps = {
121
121
  "heading-level"?: LeuChipGroup["headingLevel"];
122
122
  /** */
123
123
  label?: LeuChipGroup["label"];
124
- /** */
124
+ /** Checks the items with the given values.
125
+ If the selectionMode is single, only the first item with the given value is checked. */
125
126
  value?: LeuChipGroup["value"];
126
127
  };
127
128
 
128
129
  type LeuChipLinkProps = {
130
+ /** */
131
+ ""?: LeuChipLink[""];
129
132
  /** The size of the chip */
130
133
  size?: LeuChipLink["size"];
131
134
  /** */
132
135
  href?: LeuChipLink["href"];
133
136
  /** */
134
137
  inverted?: LeuChipLink["inverted"];
138
+ /** */
139
+ ""?: LeuChipLink[""];
135
140
  };
136
141
 
137
142
  type LeuChipRemovableProps = {
143
+ /** */
144
+ ""?: LeuChipRemovable[""];
145
+ /** The value of the chip. */
146
+ value?: LeuChipRemovable["value"];
138
147
  /** */
139
148
  inverted?: LeuChipRemovable["inverted"];
140
-
149
+ /** */
150
+ ""?: LeuChipRemovable[""];
141
151
  /** Dispatched when the user clicks on the chip */
142
152
  onRemove?: (e: CustomEvent<never>) => void;
143
153
  };
144
154
 
145
155
  type LeuChipSelectableProps = {
156
+ /** */
157
+ ""?: LeuChipSelectable[""];
146
158
  /** The size of the chip. Not supported for radio variant. */
147
159
  size?: LeuChipSelectable["size"];
148
160
  /** `toggle` or `radio`. Determines if only one or multiple chips can be selected. */
149
161
  variant?: LeuChipSelectable["variant"];
150
- /** */
151
- selected?: LeuChipSelectable["selected"];
152
- /** */
162
+ /** Whether the chip is selected. */
163
+ checked?: LeuChipSelectable["checked"];
164
+ /** The value of the chip. */
153
165
  value?: LeuChipSelectable["value"];
154
166
  /** */
155
167
  inverted?: LeuChipSelectable["inverted"];
156
-
168
+ /** */
169
+ ""?: LeuChipSelectable[""];
157
170
  /** */
158
171
  onInput?: (e: CustomEvent<CustomEvent>) => void;
159
172
  };
@@ -224,7 +237,8 @@ type LeuInputProps = {
224
237
  step?: LeuInput["step"];
225
238
  /** */
226
239
  _validity?: LeuInput["_validity"];
227
-
240
+ /** */
241
+ valueAsNumber?: LeuInput["valueAsNumber"];
228
242
  /** Dispatched when the value of the input element changes. */
229
243
  onInput?: (e: CustomEvent<CustomEvent>) => void;
230
244
  /** Dispatched when the value of the input element changes and the input element loses focus. */
@@ -518,6 +532,9 @@ export type CustomElements = {
518
532
  * ### **Events:**
519
533
  * - **remove** - Dispatched when the user clicks on the chip
520
534
  *
535
+ * ### **Methods:**
536
+ * - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content
537
+ *
521
538
  * ### **Slots:**
522
539
  * - _default_ - The content of the chip
523
540
  */
@@ -529,7 +546,10 @@ export type CustomElements = {
529
546
  *
530
547
  *
531
548
  * ### **Events:**
532
- * - **input**
549
+ * - **input** - undefined
550
+ *
551
+ * ### **Methods:**
552
+ * - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content
533
553
  *
534
554
  * ### **Slots:**
535
555
  * - _default_ - The content of the chip
@@ -603,7 +623,7 @@ export type CustomElements = {
603
623
  *
604
624
  *
605
625
  * ### **Events:**
606
- * - **leu:pagechange**
626
+ * - **leu:pagechange** - undefined
607
627
  */
608
628
  "leu-pagination": DefineComponent<LeuPaginationProps>;
609
629