@statistikzh/leu 0.14.4 → 0.15.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.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/Accordion.js +2 -30
- package/dist/Button.d.ts +56 -68
- package/dist/Button.js +74 -52
- package/dist/ButtonGroup.d.ts +9 -9
- package/dist/ButtonGroup.js +30 -20
- package/dist/ChartWrapper.d.ts +38 -0
- package/dist/ChartWrapper.js +153 -0
- package/dist/Checkbox.d.ts +6 -21
- package/dist/Checkbox.js +17 -9
- package/dist/CheckboxGroup.d.ts +13 -14
- package/dist/CheckboxGroup.js +18 -11
- package/dist/Chip.js +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.js +1 -1
- package/dist/Dropdown.js +3 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.js +1 -1
- package/dist/{LeuElement-x8UlIDDl.js → LeuElement-BhAmogDy.js} +1 -1
- package/dist/Menu.js +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Pagination.d.ts +40 -28
- package/dist/Pagination.js +39 -14
- package/dist/Placeholder.d.ts +27 -0
- package/dist/Placeholder.js +90 -0
- package/dist/Popup.js +1 -1
- package/dist/Radio.d.ts +6 -21
- package/dist/Radio.js +17 -9
- package/dist/RadioGroup.d.ts +28 -23
- package/dist/RadioGroup.js +29 -16
- package/dist/Range.js +1 -1
- package/dist/ScrollTop.d.ts +0 -1
- package/dist/ScrollTop.js +3 -1
- package/dist/Select.js +3 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.d.ts +0 -1
- package/dist/Table.js +3 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/_tslib-CNEFicEt.js +30 -0
- package/dist/components/button/Button.d.ts +55 -67
- package/dist/components/button/Button.d.ts.map +1 -1
- package/dist/components/button/stories/button.stories.d.ts.map +1 -1
- package/dist/components/button-group/ButtonGroup.d.ts +9 -9
- package/dist/components/button-group/ButtonGroup.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +6 -21
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/CheckboxGroup.d.ts +13 -14
- package/dist/components/checkbox/CheckboxGroup.d.ts.map +1 -1
- package/dist/components/icon/stories/icon.stories.d.ts +10 -0
- package/dist/components/icon/stories/icon.stories.d.ts.map +1 -1
- package/dist/components/pagination/Pagination.d.ts +40 -27
- package/dist/components/pagination/Pagination.d.ts.map +1 -1
- package/dist/components/pagination/stories/pagination.stories.d.ts +10 -2
- package/dist/components/pagination/stories/pagination.stories.d.ts.map +1 -1
- package/dist/components/placeholder/Placeholder.d.ts +23 -0
- package/dist/components/placeholder/Placeholder.d.ts.map +1 -0
- package/dist/components/placeholder/leu-placeholder.d.ts +3 -0
- package/dist/components/placeholder/leu-placeholder.d.ts.map +1 -0
- package/dist/components/placeholder/stories/placeholder.stories.d.ts +27 -0
- package/dist/components/placeholder/stories/placeholder.stories.d.ts.map +1 -0
- package/dist/components/placeholder/test/placeholder.test.d.ts +2 -0
- package/dist/components/placeholder/test/placeholder.test.d.ts.map +1 -0
- package/dist/components/radio/Radio.d.ts +6 -21
- package/dist/components/radio/Radio.d.ts.map +1 -1
- package/dist/components/radio/RadioGroup.d.ts +28 -23
- package/dist/components/radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/visualization/ChartWrapper.d.ts +34 -0
- package/dist/components/visualization/ChartWrapper.d.ts.map +1 -0
- package/dist/components/visualization/leu-chart-wrapper.d.ts +3 -0
- package/dist/components/visualization/leu-chart-wrapper.d.ts.map +1 -0
- package/dist/components/visualization/stories/chart-wrapper.stories.d.ts +28 -0
- package/dist/components/visualization/stories/chart-wrapper.stories.d.ts.map +1 -0
- package/dist/components/visualization/test/chart-wrapper.test.d.ts +2 -0
- package/dist/components/visualization/test/chart-wrapper.test.d.ts.map +1 -0
- package/dist/index.js +3 -2
- package/dist/leu-accordion.js +2 -1
- package/dist/leu-button-group.js +8 -1
- package/dist/leu-button.d.ts +0 -1
- package/dist/leu-button.js +3 -1
- package/dist/leu-chart-wrapper.d.ts +6 -0
- package/dist/leu-chart-wrapper.js +11 -0
- package/dist/leu-checkbox-group.js +5 -1
- package/dist/leu-checkbox.js +3 -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 +1 -1
- package/dist/leu-dropdown.js +3 -1
- 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.d.ts +0 -1
- package/dist/leu-pagination.js +3 -1
- package/dist/leu-placeholder.d.ts +4 -0
- package/dist/leu-placeholder.js +7 -0
- package/dist/leu-popup.js +1 -1
- package/dist/leu-radio-group.js +4 -1
- package/dist/leu-radio.js +3 -1
- package/dist/leu-range.js +1 -1
- package/dist/leu-scroll-top.d.ts +0 -1
- package/dist/leu-scroll-top.js +3 -1
- package/dist/leu-select.js +3 -1
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.d.ts +0 -1
- package/dist/leu-table.js +3 -1
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/lib/a11y.d.ts +2 -2
- package/dist/vscode.html-custom-data.json +92 -22
- package/dist/vue/index.d.ts +78 -38
- package/dist/web-types.json +208 -66
- package/package.json +1 -1
- package/release-please-config.json +0 -2
- package/scripts/generate-component/templates/stories/[name].stories.ts +17 -4
- package/src/components/button/Button.ts +95 -79
- package/src/components/button/stories/button.stories.ts +5 -6
- package/src/components/button-group/ButtonGroup.ts +18 -13
- package/src/components/checkbox/Checkbox.ts +13 -15
- package/src/components/checkbox/CheckboxGroup.ts +20 -16
- package/src/components/icon/stories/icon.stories.ts +27 -0
- package/src/components/pagination/Pagination.ts +45 -32
- package/src/components/pagination/stories/pagination.stories.ts +28 -17
- package/src/components/placeholder/Placeholder.ts +33 -0
- package/src/components/placeholder/leu-placeholder.ts +5 -0
- package/src/components/placeholder/placeholder.css +59 -0
- package/src/components/placeholder/stories/placeholder.stories.ts +34 -0
- package/src/components/placeholder/test/placeholder.test.ts +31 -0
- package/src/components/radio/Radio.ts +13 -15
- package/src/components/radio/RadioGroup.ts +42 -28
- package/src/components/visualization/ChartWrapper.ts +75 -0
- package/src/components/visualization/chart-wrapper.css +78 -0
- package/src/components/visualization/leu-chart-wrapper.ts +5 -0
- package/src/components/visualization/stories/chart-wrapper.stories.ts +52 -0
- package/src/components/visualization/test/chart-wrapper.test.ts +74 -0
- package/src/lib/a11y.ts +2 -2
package/dist/leu-chip-group.js
CHANGED
package/dist/leu-chip-link.js
CHANGED
package/dist/leu-dialog.js
CHANGED
|
@@ -2,7 +2,7 @@ import { LeuDialog } from './Dialog.js';
|
|
|
2
2
|
import 'lit';
|
|
3
3
|
import 'lit/directives/ref.js';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
|
-
import './LeuElement-
|
|
5
|
+
import './LeuElement-BhAmogDy.js';
|
|
6
6
|
import './hasSlotController-Bm2tipvG.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
|
package/dist/leu-dropdown.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { LeuDropdown } from './Dropdown.js';
|
|
2
2
|
import 'lit';
|
|
3
3
|
import 'lit/directives/ref.js';
|
|
4
|
-
import './LeuElement-
|
|
4
|
+
import './LeuElement-BhAmogDy.js';
|
|
5
5
|
import './hasSlotController-Bm2tipvG.js';
|
|
6
6
|
import './Button.js';
|
|
7
|
+
import './_tslib-CNEFicEt.js';
|
|
7
8
|
import 'lit/directives/class-map.js';
|
|
8
9
|
import 'lit/directives/if-defined.js';
|
|
10
|
+
import 'lit/decorators.js';
|
|
9
11
|
import './Icon.js';
|
|
10
12
|
import './Menu.js';
|
|
11
13
|
import './MenuItem.js';
|
package/dist/leu-icon.js
CHANGED
package/dist/leu-input.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'lit/directives/class-map.js';
|
|
|
4
4
|
import 'lit/directives/if-defined.js';
|
|
5
5
|
import 'lit/directives/live.js';
|
|
6
6
|
import 'lit/directives/ref.js';
|
|
7
|
-
import './LeuElement-
|
|
7
|
+
import './LeuElement-BhAmogDy.js';
|
|
8
8
|
import './Icon.js';
|
|
9
9
|
|
|
10
10
|
LeuInput.define("leu-input");
|
package/dist/leu-menu-item.js
CHANGED
package/dist/leu-menu.js
CHANGED
package/dist/leu-pagination.d.ts
CHANGED
package/dist/leu-pagination.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { LeuPagination } from './Pagination.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
3
4
|
import 'lit/directives/live.js';
|
|
4
|
-
import '
|
|
5
|
+
import 'lit/decorators.js';
|
|
6
|
+
import './LeuElement-BhAmogDy.js';
|
|
5
7
|
import './Button.js';
|
|
6
8
|
import 'lit/directives/class-map.js';
|
|
7
9
|
import 'lit/directives/if-defined.js';
|
package/dist/leu-popup.js
CHANGED
package/dist/leu-radio-group.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { LeuRadioGroup } from './RadioGroup.js';
|
|
2
|
+
import './_tslib-CNEFicEt.js';
|
|
2
3
|
import 'lit';
|
|
3
4
|
import 'lit/directives/class-map.js';
|
|
4
|
-
import '
|
|
5
|
+
import 'lit/decorators.js';
|
|
6
|
+
import './LeuElement-BhAmogDy.js';
|
|
7
|
+
import './Radio.js';
|
|
5
8
|
|
|
6
9
|
LeuRadioGroup.define("leu-radio-group");
|
|
7
10
|
|
package/dist/leu-radio.js
CHANGED
package/dist/leu-range.js
CHANGED
package/dist/leu-scroll-top.d.ts
CHANGED
package/dist/leu-scroll-top.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { LeuScrollTop } from './ScrollTop.js';
|
|
2
2
|
import 'lit';
|
|
3
3
|
import 'lit/directives/class-map.js';
|
|
4
|
-
import './LeuElement-
|
|
4
|
+
import './LeuElement-BhAmogDy.js';
|
|
5
5
|
import './Button.js';
|
|
6
|
+
import './_tslib-CNEFicEt.js';
|
|
6
7
|
import 'lit/directives/if-defined.js';
|
|
8
|
+
import 'lit/decorators.js';
|
|
7
9
|
import './Icon.js';
|
|
8
10
|
import './hasSlotController-Bm2tipvG.js';
|
|
9
11
|
|
package/dist/leu-select.js
CHANGED
|
@@ -3,9 +3,11 @@ import 'lit';
|
|
|
3
3
|
import 'lit/directives/class-map.js';
|
|
4
4
|
import 'lit/directives/ref.js';
|
|
5
5
|
import 'lit/directives/if-defined.js';
|
|
6
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-BhAmogDy.js';
|
|
7
7
|
import './hasSlotController-Bm2tipvG.js';
|
|
8
8
|
import './Button.js';
|
|
9
|
+
import './_tslib-CNEFicEt.js';
|
|
10
|
+
import 'lit/decorators.js';
|
|
9
11
|
import './Icon.js';
|
|
10
12
|
import './Menu.js';
|
|
11
13
|
import './MenuItem.js';
|
package/dist/leu-spinner.js
CHANGED
package/dist/leu-table.d.ts
CHANGED
package/dist/leu-table.js
CHANGED
|
@@ -3,10 +3,12 @@ import 'lit';
|
|
|
3
3
|
import 'lit/directives/class-map.js';
|
|
4
4
|
import 'lit/directives/style-map.js';
|
|
5
5
|
import 'lit/directives/ref.js';
|
|
6
|
-
import './LeuElement-
|
|
6
|
+
import './LeuElement-BhAmogDy.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './Pagination.js';
|
|
9
|
+
import './_tslib-CNEFicEt.js';
|
|
9
10
|
import 'lit/directives/live.js';
|
|
11
|
+
import 'lit/decorators.js';
|
|
10
12
|
import './Button.js';
|
|
11
13
|
import 'lit/directives/if-defined.js';
|
|
12
14
|
import './hasSlotController-Bm2tipvG.js';
|
package/dist/lib/a11y.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* All roles that are associated with a aria-checked attribute
|
|
3
|
-
* @
|
|
3
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-checked
|
|
4
4
|
*/
|
|
5
5
|
export declare const ARIA_CHECKED_ROLES: readonly ["checkbox", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch"];
|
|
6
6
|
/**
|
|
7
7
|
* All roles that are associated with a aria-selected attribute
|
|
8
|
-
* @
|
|
8
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected
|
|
9
9
|
*/
|
|
10
10
|
export declare const ARIA_SELECTED_ROLES: readonly ["gridcell", "option", "row", "tab", "columnheader", "rowheader", "treeitem"];
|
|
11
11
|
//# sourceMappingURL=a11y.d.ts.map
|
|
@@ -38,38 +38,63 @@
|
|
|
38
38
|
"name": "leu-button",
|
|
39
39
|
"description": "\n---\n\n\n### **Slots:**\n - **before** - The icon to display before the label\n- **after** - The icon to display after the label\n- _default_ - The label of the button or the icon if no label is set",
|
|
40
40
|
"attributes": [
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
{
|
|
42
|
+
"name": "label",
|
|
43
|
+
"description": "`aria-label` of the underlying button elements.\nUse it to provide a label when only an icon is visible.",
|
|
44
|
+
"values": []
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "size",
|
|
48
|
+
"description": "The size of the button.",
|
|
49
|
+
"values": [{ "name": "regular" }, { "name": "small" }]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "variant",
|
|
53
|
+
"description": "The visual variant of the button.",
|
|
54
|
+
"values": [
|
|
55
|
+
{ "name": "primary" },
|
|
56
|
+
{ "name": "secondary" },
|
|
57
|
+
{ "name": "ghost" }
|
|
58
|
+
]
|
|
59
|
+
},
|
|
44
60
|
{
|
|
45
61
|
"name": "type",
|
|
62
|
+
"description": "The `type` of the underlying button element.",
|
|
46
63
|
"values": [
|
|
47
64
|
{ "name": "button" },
|
|
48
65
|
{ "name": "submit" },
|
|
49
66
|
{ "name": "reset" }
|
|
50
67
|
]
|
|
51
68
|
},
|
|
52
|
-
{
|
|
53
|
-
|
|
69
|
+
{
|
|
70
|
+
"name": "componentRole",
|
|
71
|
+
"description": "The `role` of the underlying button element.",
|
|
72
|
+
"values": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "disabled",
|
|
76
|
+
"description": "Whether the button is disabled or not.",
|
|
77
|
+
"values": []
|
|
78
|
+
},
|
|
54
79
|
{
|
|
55
80
|
"name": "round",
|
|
56
|
-
"description": "
|
|
81
|
+
"description": "Whether the button should be round.\nCan only be applied when the button contains an icon without a visible label.",
|
|
82
|
+
"values": []
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "active",
|
|
86
|
+
"description": "Whether the button is active or not.\nDepending on the `componentRole`, it applies `aria-checked` or `aria-selected` to the underlying button element.",
|
|
57
87
|
"values": []
|
|
58
88
|
},
|
|
59
|
-
{ "name": "active", "values": [] },
|
|
60
89
|
{
|
|
61
90
|
"name": "inverted",
|
|
62
|
-
"description": "
|
|
91
|
+
"description": "Wheter the colors should be inverted. For use on dark backgrounds.",
|
|
63
92
|
"values": []
|
|
64
93
|
},
|
|
65
94
|
{
|
|
66
95
|
"name": "expanded",
|
|
67
|
-
"description": "
|
|
68
|
-
"values": [
|
|
69
|
-
{ "name": "(\"true\"" },
|
|
70
|
-
{ "name": "false" },
|
|
71
|
-
{ "name": "undefined)" }
|
|
72
|
-
]
|
|
96
|
+
"description": "Whether the button is expanded or not.\nOnly has an effect on the variant `ghost` to show an expanding icon.\nIf the property is not set, the icon will not be shown.\nIf it is set, the icon will either show an expanded or collapsed state.",
|
|
97
|
+
"values": [{ "name": "true" }, { "name": "false" }]
|
|
73
98
|
},
|
|
74
99
|
{
|
|
75
100
|
"name": "fluid",
|
|
@@ -86,7 +111,7 @@
|
|
|
86
111
|
},
|
|
87
112
|
{
|
|
88
113
|
"name": "leu-button-group",
|
|
89
|
-
"description": "
|
|
114
|
+
"description": "A radio input-like button group component.\nIt allows only one button to be active at a time.\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",
|
|
90
115
|
"attributes": [],
|
|
91
116
|
"references": [
|
|
92
117
|
{
|
|
@@ -113,13 +138,18 @@
|
|
|
113
138
|
},
|
|
114
139
|
{
|
|
115
140
|
"name": "leu-checkbox-group",
|
|
116
|
-
"description": "\n---\n",
|
|
141
|
+
"description": "\n---\n\n\n### **Slots:**\n - _default_ - Place the checkboxes inside the default slot.",
|
|
117
142
|
"attributes": [
|
|
118
143
|
{
|
|
119
144
|
"name": "orientation",
|
|
145
|
+
"description": "Defines how the checkboxes should be aligned.",
|
|
120
146
|
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
121
147
|
},
|
|
122
|
-
{
|
|
148
|
+
{
|
|
149
|
+
"name": "label",
|
|
150
|
+
"description": "The label of the checkbox group",
|
|
151
|
+
"values": []
|
|
152
|
+
}
|
|
123
153
|
],
|
|
124
154
|
"references": [
|
|
125
155
|
{
|
|
@@ -449,9 +479,16 @@
|
|
|
449
479
|
"description": "\n---\n\n\n### **Events:**\n - **leu:pagechange**",
|
|
450
480
|
"attributes": [
|
|
451
481
|
{ "name": "defaultPage", "values": [] },
|
|
452
|
-
{
|
|
453
|
-
|
|
454
|
-
|
|
482
|
+
{
|
|
483
|
+
"name": "itemsPerPage",
|
|
484
|
+
"description": "Number of items per page.",
|
|
485
|
+
"values": []
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "numOfItems",
|
|
489
|
+
"description": "Total number of items to paginate.",
|
|
490
|
+
"values": []
|
|
491
|
+
}
|
|
455
492
|
],
|
|
456
493
|
"references": [
|
|
457
494
|
{
|
|
@@ -460,6 +497,17 @@
|
|
|
460
497
|
}
|
|
461
498
|
]
|
|
462
499
|
},
|
|
500
|
+
{
|
|
501
|
+
"name": "leu-placeholder",
|
|
502
|
+
"description": "* A placeholder to display when no content is available.\n---\n\n\n### **Slots:**\n - **title** - The placeholders title. Use a heading tag (h1-6) depeneding on your context.\n- **description** - A description of the placeholder. Content is wrapped in a `<p>` tag by the component.\n- **cta** - A call to action button like \"Reload\" or \"Create\". Add a single `<leu-button>`.",
|
|
503
|
+
"attributes": [],
|
|
504
|
+
"references": [
|
|
505
|
+
{
|
|
506
|
+
"name": "Documentation",
|
|
507
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/placeholder"
|
|
508
|
+
}
|
|
509
|
+
]
|
|
510
|
+
},
|
|
463
511
|
{
|
|
464
512
|
"name": "leu-popup",
|
|
465
513
|
"description": "\n---\n",
|
|
@@ -513,13 +561,18 @@
|
|
|
513
561
|
},
|
|
514
562
|
{
|
|
515
563
|
"name": "leu-radio-group",
|
|
516
|
-
"description": "
|
|
564
|
+
"description": "Handles a group of radio buttons, allowing only one to be selected at a time. It provides keyboard navigation and manages focus within the group.\n---\n\n\n### **Slots:**\n - _default_ - Place the radio buttons inside the default slot.",
|
|
517
565
|
"attributes": [
|
|
518
566
|
{
|
|
519
567
|
"name": "orientation",
|
|
568
|
+
"description": "Defines how the radio buttons should be aligned.",
|
|
520
569
|
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
521
570
|
},
|
|
522
|
-
{
|
|
571
|
+
{
|
|
572
|
+
"name": "label",
|
|
573
|
+
"description": "The label of the radio group",
|
|
574
|
+
"values": []
|
|
575
|
+
}
|
|
523
576
|
],
|
|
524
577
|
"references": [
|
|
525
578
|
{
|
|
@@ -647,6 +700,23 @@
|
|
|
647
700
|
}
|
|
648
701
|
]
|
|
649
702
|
},
|
|
703
|
+
{
|
|
704
|
+
"name": "leu-chart-wrapper",
|
|
705
|
+
"description": "A wrapper element for charts.\n---\n\n\n### **Slots:**\n - **title** - The title of the chart. Use a heading tag (h2-4) depending on your context.\n- **description** - A description of the chart. Content is wrapped in a `<p>` tag by the component.\n- **chart** - The actual chart\n- **caption** - A caption for the chart, e.g. a source or explanation of the data.\n- **download** - A download button or dropdown to export the chart in different formats.",
|
|
706
|
+
"attributes": [
|
|
707
|
+
{
|
|
708
|
+
"name": "pending",
|
|
709
|
+
"description": "Whether the chart is currently loading or not.\nWhen set to `true`, a spinner will be shown in the chart container.",
|
|
710
|
+
"values": []
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"references": [
|
|
714
|
+
{
|
|
715
|
+
"name": "Documentation",
|
|
716
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/chart-wrapper"
|
|
717
|
+
}
|
|
718
|
+
]
|
|
719
|
+
},
|
|
650
720
|
{
|
|
651
721
|
"name": "leu-visually-hidden",
|
|
652
722
|
"description": "\n---\n",
|