@statistikzh/leu 0.11.1 → 0.12.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.
- package/CHANGELOG.md +14 -0
- package/README.md +7 -14
- package/dist/Accordion.d.ts +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/Breadcrumb.d.ts +1 -1
- package/dist/Breadcrumb.js +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.d.ts +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/CheckboxGroup.d.ts +1 -1
- package/dist/CheckboxGroup.js +1 -1
- package/dist/Chip.d.ts +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ChipGroup.d.ts +1 -1
- package/dist/ChipGroup.js +1 -1
- package/dist/ChipLink.js +1 -1
- package/dist/ChipRemovable.js +1 -1
- package/dist/ChipSelectable.js +1 -1
- package/dist/Dialog.d.ts +1 -1
- package/dist/Dialog.js +2 -2
- package/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.d.ts +1 -1
- package/dist/Input.d.ts.map +1 -1
- package/dist/Input.js +2 -1
- package/dist/{LeuElement-e092765a.d.ts → LeuElement-b9109dcb.d.ts} +1 -1
- package/dist/LeuElement-b9109dcb.d.ts.map +1 -0
- package/dist/{LeuElement-e092765a.js → LeuElement-b9109dcb.js} +1 -1
- package/dist/Menu.d.ts +1 -1
- package/dist/Menu.js +1 -1
- package/dist/MenuItem.d.ts +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/Popup.d.ts +1 -1
- package/dist/Popup.js +1 -1
- package/dist/Radio.d.ts +1 -1
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/Range.d.ts +1 -1
- package/dist/Range.js +1 -1
- package/dist/ScrollTop.d.ts +1 -1
- package/dist/ScrollTop.js +2 -2
- package/dist/Select.d.ts +1 -1
- package/dist/Select.js +2 -2
- package/dist/Spinner.d.ts +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.d.ts +1 -1
- package/dist/Table.d.ts.map +1 -1
- package/dist/Table.js +6 -3
- package/dist/VisuallyHidden.d.ts +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/{hasSlotController-d1f26756.d.ts → hasSlotController-16f26398.d.ts} +1 -1
- package/dist/{hasSlotController-d1f26756.d.ts.map → hasSlotController-16f26398.d.ts.map} +1 -1
- package/dist/{hasSlotController-d1f26756.js → hasSlotController-16f26398.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/leu-accordion.js +1 -1
- package/dist/leu-breadcrumb.js +1 -1
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.js +2 -2
- 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 +1 -1
- package/dist/leu-chip-selectable.js +1 -1
- package/dist/leu-dialog.js +2 -2
- package/dist/leu-dropdown.js +2 -2
- package/dist/leu-icon.js +1 -1
- package/dist/leu-input.js +1 -1
- package/dist/leu-menu-item.js +1 -1
- package/dist/leu-menu.js +1 -1
- package/dist/leu-pagination.js +2 -2
- 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 +2 -2
- package/dist/leu-select.js +2 -2
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.js +2 -2
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +112 -112
- package/dist/vue/index.d.ts +157 -157
- package/dist/web-types.json +216 -216
- package/package.json +1 -1
- package/src/components/input/input.css +1 -0
- package/src/components/table/Table.js +5 -1
- package/src/components/table/stories/table.stories.js +6 -1
- package/src/components/table/table.css +1 -0
- package/dist/LeuElement-e092765a.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -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-
|
|
21
|
+
import './LeuElement-b9109dcb.js';
|
|
22
22
|
import 'lit';
|
|
23
23
|
import 'lit/static-html.js';
|
|
24
24
|
import 'lit/directives/ref.js';
|
|
@@ -27,7 +27,7 @@ import './utils-65469421.js';
|
|
|
27
27
|
import './Icon.js';
|
|
28
28
|
import './VisuallyHidden.js';
|
|
29
29
|
import 'lit/directives/if-defined.js';
|
|
30
|
-
import './hasSlotController-
|
|
30
|
+
import './hasSlotController-16f26398.js';
|
|
31
31
|
import './Chip.js';
|
|
32
32
|
import 'lit/directives/live.js';
|
|
33
33
|
import '@floating-ui/dom';
|
package/dist/leu-accordion.js
CHANGED
package/dist/leu-breadcrumb.js
CHANGED
package/dist/leu-button-group.js
CHANGED
package/dist/leu-button.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LeuButton } from './Button.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
5
|
import 'lit/directives/if-defined.js';
|
|
6
6
|
import './Icon.js';
|
|
7
|
-
import './hasSlotController-
|
|
7
|
+
import './hasSlotController-16f26398.js';
|
|
8
8
|
|
|
9
9
|
LeuButton.define("leu-button");
|
|
10
10
|
|
package/dist/leu-checkbox.js
CHANGED
package/dist/leu-chip-group.js
CHANGED
package/dist/leu-chip-link.js
CHANGED
package/dist/leu-dialog.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LeuDialog } from './Dialog.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/ref.js';
|
|
5
5
|
import 'lit/directives/class-map.js';
|
|
6
|
-
import './hasSlotController-
|
|
6
|
+
import './hasSlotController-16f26398.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
|
|
9
9
|
LeuDialog.define("leu-dialog");
|
package/dist/leu-dropdown.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LeuDropdown } from './Dropdown.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/ref.js';
|
|
5
|
-
import './hasSlotController-
|
|
5
|
+
import './hasSlotController-16f26398.js';
|
|
6
6
|
import './Button.js';
|
|
7
7
|
import 'lit/directives/class-map.js';
|
|
8
8
|
import 'lit/directives/if-defined.js';
|
package/dist/leu-icon.js
CHANGED
package/dist/leu-input.js
CHANGED
package/dist/leu-menu-item.js
CHANGED
package/dist/leu-menu.js
CHANGED
package/dist/leu-pagination.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LeuPagination } from './Pagination.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/live.js';
|
|
5
5
|
import './Button.js';
|
|
6
6
|
import 'lit/directives/class-map.js';
|
|
7
7
|
import 'lit/directives/if-defined.js';
|
|
8
8
|
import './Icon.js';
|
|
9
|
-
import './hasSlotController-
|
|
9
|
+
import './hasSlotController-16f26398.js';
|
|
10
10
|
import './VisuallyHidden.js';
|
|
11
11
|
|
|
12
12
|
LeuPagination.define("leu-pagination");
|
package/dist/leu-popup.js
CHANGED
package/dist/leu-radio-group.js
CHANGED
package/dist/leu-radio.js
CHANGED
package/dist/leu-range.js
CHANGED
package/dist/leu-scroll-top.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LeuScrollTop } from './ScrollTop.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
5
|
import './Button.js';
|
|
6
6
|
import 'lit/directives/if-defined.js';
|
|
7
7
|
import './Icon.js';
|
|
8
|
-
import './hasSlotController-
|
|
8
|
+
import './hasSlotController-16f26398.js';
|
|
9
9
|
import './utils-65469421.js';
|
|
10
10
|
|
|
11
11
|
LeuScrollTop.define("leu-scroll-top");
|
package/dist/leu-select.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LeuSelect } from './Select.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.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 './hasSlotController-
|
|
7
|
+
import './hasSlotController-16f26398.js';
|
|
8
8
|
import './Button.js';
|
|
9
9
|
import './Icon.js';
|
|
10
10
|
import './Menu.js';
|
package/dist/leu-spinner.js
CHANGED
package/dist/leu-table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LeuTable } from './Table.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-b9109dcb.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
5
|
import 'lit/directives/style-map.js';
|
|
@@ -9,7 +9,7 @@ import './Pagination.js';
|
|
|
9
9
|
import 'lit/directives/live.js';
|
|
10
10
|
import './Button.js';
|
|
11
11
|
import 'lit/directives/if-defined.js';
|
|
12
|
-
import './hasSlotController-
|
|
12
|
+
import './hasSlotController-16f26398.js';
|
|
13
13
|
import './VisuallyHidden.js';
|
|
14
14
|
|
|
15
15
|
LeuTable.define("leu-table");
|
|
@@ -35,46 +35,28 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"name": "leu-
|
|
39
|
-
"description": "\n---\n",
|
|
38
|
+
"name": "leu-breadcrumb",
|
|
39
|
+
"description": "A Breadcrumb Navigation.\n\nThe breadcrumbs can be displayed in two different layouts.\nOnly the back link (the last item / parent of the current page)\nis displayed when…\n- … the width of the container is smaller\n than the BACK_ONLY_BREAKPOINT.\n- … less then two breadcrumb items could be displayed\n without overflowing the container.\n\nOtherwise as many items as possible are displayed in an inline list\nwithout overflowing the container. The remaining items are displayed\nin a dropdown menu.\n\nIn order to determine the exact numbers of items that have to be\nhidden inside the dropdown, all of them have to be rendered first.\n1. Render all items\n2. Calculate (measure) the number of items that can be displayed\n without overflowing the container.\n3. Updating the state (_hiddeItems) which will trigger a rerender\n4. Render the items again with the new state.\n\nThis results in multiple updates scheduled one after another. Lit\nwill also print a waring in the console beacause of that.\nIt's no a nice behaviour but the only one that works without\nhaving duplicate and hidden markup to derive the sizes from that.\n---\n\n\n### **Methods:**\n - **renderDropdown(): __** - Render the dropdown menu",
|
|
40
40
|
"attributes": [
|
|
41
|
-
{ "name": "checked", "values": [] },
|
|
42
|
-
{ "name": "disabled", "values": [] },
|
|
43
|
-
{ "name": "value", "values": [] },
|
|
44
|
-
{ "name": "name", "values": [] }
|
|
45
|
-
],
|
|
46
|
-
"references": [
|
|
47
41
|
{
|
|
48
|
-
"name": "
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "leu-checkbox-group",
|
|
55
|
-
"description": "\n---\n",
|
|
56
|
-
"attributes": [
|
|
42
|
+
"name": "items",
|
|
43
|
+
"description": "Object array with { label, href }",
|
|
44
|
+
"values": [{ "name": "Array" }]
|
|
45
|
+
},
|
|
57
46
|
{
|
|
58
|
-
"name": "
|
|
59
|
-
"
|
|
47
|
+
"name": "inverted",
|
|
48
|
+
"description": "invert color on dark background",
|
|
49
|
+
"values": []
|
|
60
50
|
},
|
|
61
|
-
{ "name": "
|
|
51
|
+
{ "name": "_hiddenItems", "values": [] },
|
|
52
|
+
{ "name": "_showBackOnly", "values": [] },
|
|
53
|
+
{ "name": "_isRecalculating", "values": [] },
|
|
54
|
+
{ "name": "_isDropdownOpen", "values": [] }
|
|
62
55
|
],
|
|
63
56
|
"references": [
|
|
64
57
|
{
|
|
65
58
|
"name": "Documentation",
|
|
66
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "leu-button-group",
|
|
72
|
-
"description": "\n---\n\n\n### **Events:**\n - **input** - When the value of the group changes by clicking a button\n\n### **Slots:**\n - _default_ - Slot for the buttons",
|
|
73
|
-
"attributes": [],
|
|
74
|
-
"references": [
|
|
75
|
-
{
|
|
76
|
-
"name": "Documentation",
|
|
77
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/button-group"
|
|
59
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/breadcrumb"
|
|
78
60
|
}
|
|
79
61
|
]
|
|
80
62
|
},
|
|
@@ -129,74 +111,46 @@
|
|
|
129
111
|
]
|
|
130
112
|
},
|
|
131
113
|
{
|
|
132
|
-
"name": "leu-
|
|
133
|
-
"description": "\n---\n",
|
|
134
|
-
"attributes": [
|
|
135
|
-
{ "name": "label", "values": [] },
|
|
136
|
-
{ "name": "sublabel", "values": [] },
|
|
137
|
-
{ "name": "open", "values": [] }
|
|
138
|
-
],
|
|
139
|
-
"references": [
|
|
140
|
-
{
|
|
141
|
-
"name": "Documentation",
|
|
142
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/dialog"
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "leu-breadcrumb",
|
|
148
|
-
"description": "A Breadcrumb Navigation.\n\nThe breadcrumbs can be displayed in two different layouts.\nOnly the back link (the last item / parent of the current page)\nis displayed when…\n- … the width of the container is smaller\n than the BACK_ONLY_BREAKPOINT.\n- … less then two breadcrumb items could be displayed\n without overflowing the container.\n\nOtherwise as many items as possible are displayed in an inline list\nwithout overflowing the container. The remaining items are displayed\nin a dropdown menu.\n\nIn order to determine the exact numbers of items that have to be\nhidden inside the dropdown, all of them have to be rendered first.\n1. Render all items\n2. Calculate (measure) the number of items that can be displayed\n without overflowing the container.\n3. Updating the state (_hiddeItems) which will trigger a rerender\n4. Render the items again with the new state.\n\nThis results in multiple updates scheduled one after another. Lit\nwill also print a waring in the console beacause of that.\nIt's no a nice behaviour but the only one that works without\nhaving duplicate and hidden markup to derive the sizes from that.\n---\n\n\n### **Methods:**\n - **renderDropdown(): __** - Render the dropdown menu",
|
|
149
|
-
"attributes": [
|
|
150
|
-
{
|
|
151
|
-
"name": "items",
|
|
152
|
-
"description": "Object array with { label, href }",
|
|
153
|
-
"values": [{ "name": "Array" }]
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"name": "inverted",
|
|
157
|
-
"description": "invert color on dark background",
|
|
158
|
-
"values": []
|
|
159
|
-
},
|
|
160
|
-
{ "name": "_hiddenItems", "values": [] },
|
|
161
|
-
{ "name": "_showBackOnly", "values": [] },
|
|
162
|
-
{ "name": "_isRecalculating", "values": [] },
|
|
163
|
-
{ "name": "_isDropdownOpen", "values": [] }
|
|
164
|
-
],
|
|
114
|
+
"name": "leu-button-group",
|
|
115
|
+
"description": "\n---\n\n\n### **Events:**\n - **input** - When the value of the group changes by clicking a button\n\n### **Slots:**\n - _default_ - Slot for the buttons",
|
|
116
|
+
"attributes": [],
|
|
165
117
|
"references": [
|
|
166
118
|
{
|
|
167
119
|
"name": "Documentation",
|
|
168
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/
|
|
120
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/button-group"
|
|
169
121
|
}
|
|
170
122
|
]
|
|
171
123
|
},
|
|
172
124
|
{
|
|
173
|
-
"name": "leu-
|
|
125
|
+
"name": "leu-checkbox",
|
|
174
126
|
"description": "\n---\n",
|
|
175
127
|
"attributes": [
|
|
176
|
-
{ "name": "
|
|
177
|
-
{ "name": "
|
|
128
|
+
{ "name": "checked", "values": [] },
|
|
129
|
+
{ "name": "disabled", "values": [] },
|
|
130
|
+
{ "name": "value", "values": [] },
|
|
131
|
+
{ "name": "name", "values": [] }
|
|
178
132
|
],
|
|
179
133
|
"references": [
|
|
180
134
|
{
|
|
181
135
|
"name": "Documentation",
|
|
182
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/
|
|
136
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/checkbox"
|
|
183
137
|
}
|
|
184
138
|
]
|
|
185
139
|
},
|
|
186
140
|
{
|
|
187
|
-
"name": "leu-
|
|
188
|
-
"description": "
|
|
141
|
+
"name": "leu-checkbox-group",
|
|
142
|
+
"description": "\n---\n",
|
|
189
143
|
"attributes": [
|
|
190
144
|
{
|
|
191
|
-
"name": "
|
|
192
|
-
"
|
|
193
|
-
|
|
194
|
-
}
|
|
145
|
+
"name": "orientation",
|
|
146
|
+
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
147
|
+
},
|
|
148
|
+
{ "name": "label", "values": [] }
|
|
195
149
|
],
|
|
196
150
|
"references": [
|
|
197
151
|
{
|
|
198
152
|
"name": "Documentation",
|
|
199
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/
|
|
153
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/checkbox-group"
|
|
200
154
|
}
|
|
201
155
|
]
|
|
202
156
|
},
|
|
@@ -296,6 +250,52 @@
|
|
|
296
250
|
}
|
|
297
251
|
]
|
|
298
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"name": "leu-dialog",
|
|
255
|
+
"description": "\n---\n",
|
|
256
|
+
"attributes": [
|
|
257
|
+
{ "name": "label", "values": [] },
|
|
258
|
+
{ "name": "sublabel", "values": [] },
|
|
259
|
+
{ "name": "open", "values": [] }
|
|
260
|
+
],
|
|
261
|
+
"references": [
|
|
262
|
+
{
|
|
263
|
+
"name": "Documentation",
|
|
264
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/dialog"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "leu-dropdown",
|
|
270
|
+
"description": "\n---\n",
|
|
271
|
+
"attributes": [
|
|
272
|
+
{ "name": "label", "values": [] },
|
|
273
|
+
{ "name": "expanded", "values": [] }
|
|
274
|
+
],
|
|
275
|
+
"references": [
|
|
276
|
+
{
|
|
277
|
+
"name": "Documentation",
|
|
278
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/dropdown"
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "leu-icon",
|
|
284
|
+
"description": "A component to render all defined zhWeb icons.\nThe `fill` of the icon is set to `currentColor` and\ncan be overriden by setting the css `color` property.\nIf the icon name is not found, a placeholder will be displayed.\n---\n\n\n### **CSS Properties:**\n - **--leu-icon-size** - The size of the icon. _(default: undefined)_",
|
|
285
|
+
"attributes": [
|
|
286
|
+
{
|
|
287
|
+
"name": "name",
|
|
288
|
+
"description": "The name of the icon to display.",
|
|
289
|
+
"values": [{ "name": "IconPathName" }]
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"references": [
|
|
293
|
+
{
|
|
294
|
+
"name": "Documentation",
|
|
295
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/icon"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
299
|
{
|
|
300
300
|
"name": "leu-input",
|
|
301
301
|
"description": "A text input element.\n---\n\n\n### **Events:**\n - **input** - Dispatched when the value of the input element changes.\n- **change** - Dispatched when the value of the input element changes and the input element loses focus.\n\n### **Methods:**\n - **getValidationMessages(): _Object_** - Merge custom and default validation messages.\nA validation message can be a function or a string.\nIf it s a function, the function is called with the corresponding\nattribute value as argument.\ne.g.\n`tooLong(this.maxlength)`\nThis way the framework user can create reasonable validation messages\n- **renderErrorMessages(): _TemplateResult | nothing_** - Creates an error list with an item for the given validity state.",
|
|
@@ -489,6 +489,41 @@
|
|
|
489
489
|
}
|
|
490
490
|
]
|
|
491
491
|
},
|
|
492
|
+
{
|
|
493
|
+
"name": "leu-popup",
|
|
494
|
+
"description": "\n---\n",
|
|
495
|
+
"attributes": [
|
|
496
|
+
{ "name": "anchor", "values": [{ "name": "HTMLElement" }] },
|
|
497
|
+
{ "name": "active", "values": [] },
|
|
498
|
+
{ "name": "placement", "values": [{ "name": "Placement" }] },
|
|
499
|
+
{ "name": "flip", "values": [] },
|
|
500
|
+
{ "name": "shift", "values": [] },
|
|
501
|
+
{ "name": "shiftPadding", "values": [] },
|
|
502
|
+
{
|
|
503
|
+
"name": "matchSize",
|
|
504
|
+
"values": [
|
|
505
|
+
{ "name": "width" },
|
|
506
|
+
{ "name": "height" },
|
|
507
|
+
{ "name": "both" }
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "autoSize",
|
|
512
|
+
"values": [
|
|
513
|
+
{ "name": "width" },
|
|
514
|
+
{ "name": "height" },
|
|
515
|
+
{ "name": "both" }
|
|
516
|
+
]
|
|
517
|
+
},
|
|
518
|
+
{ "name": "autoSizePadding", "values": [] }
|
|
519
|
+
],
|
|
520
|
+
"references": [
|
|
521
|
+
{
|
|
522
|
+
"name": "Documentation",
|
|
523
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/popup"
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
492
527
|
{
|
|
493
528
|
"name": "leu-radio",
|
|
494
529
|
"description": "\n---\n",
|
|
@@ -542,41 +577,6 @@
|
|
|
542
577
|
}
|
|
543
578
|
]
|
|
544
579
|
},
|
|
545
|
-
{
|
|
546
|
-
"name": "leu-popup",
|
|
547
|
-
"description": "\n---\n",
|
|
548
|
-
"attributes": [
|
|
549
|
-
{ "name": "anchor", "values": [{ "name": "HTMLElement" }] },
|
|
550
|
-
{ "name": "active", "values": [] },
|
|
551
|
-
{ "name": "placement", "values": [{ "name": "Placement" }] },
|
|
552
|
-
{ "name": "flip", "values": [] },
|
|
553
|
-
{ "name": "shift", "values": [] },
|
|
554
|
-
{ "name": "shiftPadding", "values": [] },
|
|
555
|
-
{
|
|
556
|
-
"name": "matchSize",
|
|
557
|
-
"values": [
|
|
558
|
-
{ "name": "width" },
|
|
559
|
-
{ "name": "height" },
|
|
560
|
-
{ "name": "both" }
|
|
561
|
-
]
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "autoSize",
|
|
565
|
-
"values": [
|
|
566
|
-
{ "name": "width" },
|
|
567
|
-
{ "name": "height" },
|
|
568
|
-
{ "name": "both" }
|
|
569
|
-
]
|
|
570
|
-
},
|
|
571
|
-
{ "name": "autoSizePadding", "values": [] }
|
|
572
|
-
],
|
|
573
|
-
"references": [
|
|
574
|
-
{
|
|
575
|
-
"name": "Documentation",
|
|
576
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/popup"
|
|
577
|
-
}
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
580
|
{
|
|
581
581
|
"name": "leu-scroll-top",
|
|
582
582
|
"description": "\n---\n",
|