@statistikzh/leu 0.15.0 → 0.15.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.
Files changed (86) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +9 -0
  3. package/dist/Accordion.js +1 -1
  4. package/dist/Button.js +1 -1
  5. package/dist/ButtonGroup.js +1 -1
  6. package/dist/ChartWrapper.js +40 -29
  7. package/dist/Checkbox.js +1 -1
  8. package/dist/CheckboxGroup.js +1 -1
  9. package/dist/Chip.js +1 -1
  10. package/dist/ChipGroup.js +1 -1
  11. package/dist/ChipLink.js +1 -1
  12. package/dist/ChipRemovable.js +1 -1
  13. package/dist/ChipSelectable.js +1 -1
  14. package/dist/Dialog.js +1 -1
  15. package/dist/Dropdown.js +1 -1
  16. package/dist/Icon.js +1 -1
  17. package/dist/Input.js +1 -1
  18. package/dist/{LeuElement-BhAmogDy.js → LeuElement-B84x5CPL.js} +1 -1
  19. package/dist/Menu.js +1 -1
  20. package/dist/MenuItem.js +1 -1
  21. package/dist/Pagination.js +1 -1
  22. package/dist/Placeholder.js +1 -1
  23. package/dist/Popup.js +1 -1
  24. package/dist/Radio.js +1 -1
  25. package/dist/RadioGroup.js +1 -1
  26. package/dist/Range.js +1 -1
  27. package/dist/ScrollTop.js +1 -1
  28. package/dist/Select.js +1 -1
  29. package/dist/Spinner.js +1 -1
  30. package/dist/Table.js +1 -1
  31. package/dist/VisuallyHidden.js +1 -1
  32. package/dist/components/{visualization → chart-wrapper}/ChartWrapper.d.ts.map +1 -1
  33. package/dist/components/{visualization → chart-wrapper}/leu-chart-wrapper.d.ts.map +1 -1
  34. package/dist/components/{visualization → chart-wrapper}/stories/chart-wrapper.stories.d.ts +19 -0
  35. package/dist/components/{visualization → chart-wrapper}/stories/chart-wrapper.stories.d.ts.map +1 -1
  36. package/dist/components/chart-wrapper/test/chart-wrapper.test.d.ts.map +1 -0
  37. package/dist/index.d.ts +1 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +3 -1
  40. package/dist/leu-accordion.js +1 -1
  41. package/dist/leu-button-group.js +1 -1
  42. package/dist/leu-button.js +1 -1
  43. package/dist/leu-chart-wrapper.js +1 -1
  44. package/dist/leu-checkbox-group.js +1 -1
  45. package/dist/leu-checkbox.js +1 -1
  46. package/dist/leu-chip-group.js +1 -1
  47. package/dist/leu-chip-link.js +1 -1
  48. package/dist/leu-chip-removable.js +1 -1
  49. package/dist/leu-chip-selectable.js +1 -1
  50. package/dist/leu-dialog.js +1 -1
  51. package/dist/leu-dropdown.js +1 -1
  52. package/dist/leu-icon.js +1 -1
  53. package/dist/leu-input.js +1 -1
  54. package/dist/leu-menu-item.js +1 -1
  55. package/dist/leu-menu.js +1 -1
  56. package/dist/leu-pagination.js +1 -1
  57. package/dist/leu-placeholder.js +1 -1
  58. package/dist/leu-popup.js +1 -1
  59. package/dist/leu-radio-group.js +1 -1
  60. package/dist/leu-radio.js +1 -1
  61. package/dist/leu-range.js +1 -1
  62. package/dist/leu-scroll-top.js +1 -1
  63. package/dist/leu-select.js +1 -1
  64. package/dist/leu-spinner.js +1 -1
  65. package/dist/leu-table.js +1 -1
  66. package/dist/leu-visually-hidden.js +1 -1
  67. package/dist/theme.css +18 -18
  68. package/dist/vscode.html-custom-data.json +21 -21
  69. package/dist/vue/index.d.ts +36 -36
  70. package/dist/web-types.json +60 -60
  71. package/package.json +1 -1
  72. package/release-please-config.json +1 -0
  73. package/scripts/postcss-leu-font-styles.cjs +10 -10
  74. package/src/components/{visualization → chart-wrapper}/ChartWrapper.ts +13 -10
  75. package/src/components/{visualization → chart-wrapper}/chart-wrapper.css +20 -11
  76. package/src/components/{visualization → chart-wrapper}/stories/chart-wrapper.stories.ts +7 -1
  77. package/src/components/{visualization → chart-wrapper}/test/chart-wrapper.test.ts +13 -10
  78. package/src/docs/contributing.mdx +1 -1
  79. package/src/index.ts +1 -0
  80. package/src/styles/theme.css +89 -1
  81. package/dist/components/visualization/test/chart-wrapper.test.d.ts.map +0 -1
  82. package/src/styles/custom-properties.css +0 -89
  83. /package/dist/components/{visualization → chart-wrapper}/ChartWrapper.d.ts +0 -0
  84. /package/dist/components/{visualization → chart-wrapper}/leu-chart-wrapper.d.ts +0 -0
  85. /package/dist/components/{visualization → chart-wrapper}/test/chart-wrapper.test.d.ts +0 -0
  86. /package/src/components/{visualization → chart-wrapper}/leu-chart-wrapper.ts +0 -0
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.15.0"
2
+ ".": "0.15.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.15.1](https://github.com/statistikZH/leu/compare/leu-v0.15.0...leu-v0.15.1) (2025-07-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **chart-wrapper:** fix directory name and add export ([9ec09fb](https://github.com/statistikZH/leu/commit/9ec09fbd715ee71977f52632627ca10a77115f53))
9
+ * **chart-wrapper:** reset user agent default styling ([f1cd090](https://github.com/statistikZH/leu/commit/f1cd0900a096a7ac5cc60faffc6c56ebf9363909))
10
+ * **theme:** explicitly define a font weight to avoid font synthesis ([2605cc9](https://github.com/statistikZH/leu/commit/2605cc9105c1b0e9439f272d09b5ec7d5f81ba33))
11
+
3
12
  ## [0.15.0](https://github.com/statistikZH/leu/compare/leu-v0.14.4...leu-v0.15.0) (2025-07-03)
4
13
 
5
14
 
package/dist/Accordion.js CHANGED
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, nothing } from 'lit';
3
3
  import { unsafeStatic, html } from 'lit/static-html.js';
4
4
  import { property } from 'lit/decorators.js';
5
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
5
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
6
 
7
7
  var css_248z = css`:host {
8
8
  --accordion-font-regular: var(--leu-font-family-regular);
package/dist/Button.js CHANGED
@@ -4,7 +4,7 @@ import { classMap } from 'lit/directives/class-map.js';
4
4
  import { ifDefined } from 'lit/directives/if-defined.js';
5
5
  import { property } from 'lit/decorators.js';
6
6
  import { LeuIcon } from './Icon.js';
7
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
7
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
8
8
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
9
9
 
10
10
  /**
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
  import { LeuButton } from './Button.js';
4
4
  import './_tslib-CNEFicEt.js';
5
5
  import 'lit/directives/class-map.js';
@@ -1,77 +1,85 @@
1
1
  import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, nothing, html } from 'lit';
3
3
  import { property } from 'lit/decorators.js';
4
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
4
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
5
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
6
6
  import { LeuSpinner } from './Spinner.js';
7
7
 
8
- var css_248z = css`.title::slotted(h2) {
8
+ var css_248z = css`.chart-wrapper {
9
+ display: block;
10
+ width: 100%;
11
+ margin: 0;
12
+ }
13
+ .chart-wrapper__title::slotted(h2) {
14
+ color: var(--leu-color-black-100);
9
15
  font: var(--leu-t-curve-large-black-font);
10
16
  margin: 0 0 0.75rem;
11
17
  }
12
18
  @media (min-width: 840px) {
13
- .title::slotted(h2) {
19
+ .chart-wrapper__title::slotted(h2) {
14
20
  margin: 0 0 1.25rem;
15
21
  }
16
22
  }
17
23
  @media (min-width: 1280px) {
18
- .title::slotted(h2) {
24
+ .chart-wrapper__title::slotted(h2) {
19
25
  margin: 0 0 1.5rem;
20
26
  }
21
27
  }
22
- .title::slotted(h3) {
28
+ .chart-wrapper__title::slotted(h3) {
29
+ color: var(--leu-color-black-100);
23
30
  font: var(--leu-t-curve-medium-black-font);
24
31
  margin: 0 0 0.5rem;
25
32
  }
26
- .title::slotted(h4) {
33
+ .chart-wrapper__title::slotted(h4) {
34
+ color: var(--leu-color-black-100);
27
35
  font: var(--leu-t-curve-regular-black-font);
28
36
  margin: 0 0 0.5rem;
29
37
  }
30
- .description,
31
- .chart {
38
+ .chart-wrapper__description,
39
+ .chart-wrapper__chart {
32
40
  display: block;
33
41
  margin-bottom: 0.75rem;
34
42
  }
35
43
  @media (min-width: 840px) {
36
- .description,
37
- .chart {
44
+ .chart-wrapper__description,
45
+ .chart-wrapper__chart {
38
46
  margin-bottom: 1.25rem;
39
47
  }
40
48
  }
41
49
  @media (min-width: 1280px) {
42
- .description,
43
- .chart {
50
+ .chart-wrapper__description,
51
+ .chart-wrapper__chart {
44
52
  margin-bottom: 1.5rem;
45
53
  }
46
54
  }
47
- .description {
55
+ .chart-wrapper__description {
48
56
  font: var(--leu-t-curve-small-regular-font);
49
57
  color: var(--leu-color-black-60);
50
58
  }
51
- .caption {
59
+ .chart-wrapper__caption {
52
60
  font: var(--leu-t-curve-tiny-regular-font);
53
61
  color: var(--leu-color-black-60);
54
62
  }
55
- .ruler {
63
+ .chart-wrapper__ruler {
56
64
  display: block;
57
65
  border: none;
58
66
  border-top: 1px solid var(--leu-color-black-transp-20);
59
67
  margin: 0.75rem 0;
60
68
  }
61
69
  @media (min-width: 1280px) {
62
- .ruler {
70
+ .chart-wrapper__ruler {
63
71
  margin-top: 1rem;
64
72
  margin-bottom: 1rem;
65
73
  }
66
74
  }
67
- .download {
75
+ .chart-wrapper__download {
68
76
  display: block;
69
77
  margin-left: -0.5rem;
70
78
  }
71
- .chart-container {
79
+ .chart-wrapper__container {
72
80
  position: relative;
73
81
  }
74
- .spinner-container {
82
+ .chart-wrapper__spinner-container {
75
83
  position: absolute;
76
84
  top: 0;
77
85
  left: 0;
@@ -112,27 +120,30 @@ class LeuChartWrapper extends LeuElement {
112
120
  const hasCaption = this.hasSlotController.test("caption");
113
121
  const hasDownload = this.hasSlotController.test("download");
114
122
  return html `
115
- <figure>
116
- <slot name="title" class="title"></slot>
123
+ <figure class="chart-wrapper">
124
+ <slot name="title" class="chart-wrapper__title"></slot>
117
125
  ${hasDescription
118
- ? html `<slot name="description" class="description"></slot>`
126
+ ? html `<slot
127
+ name="description"
128
+ class="chart-wrapper__description"
129
+ ></slot>`
119
130
  : nothing}
120
- <div class="chart-container">
121
- <slot name="chart" class="chart"></slot>
131
+ <div class="chart-wrapper__container">
132
+ <slot name="chart" class="chart-wrapper__chart"></slot>
122
133
  ${this.pending
123
- ? html `<div class="spinner-container">
124
- <leu-spinner class="spinner"></leu-spinner>
134
+ ? html `<div class="chart-wrapper__spinner-container">
135
+ <leu-spinner class="chart-wrapper__spinner"></leu-spinner>
125
136
  </div>`
126
137
  : nothing}
127
138
  </div>
128
139
  ${hasCaption
129
140
  ? html `<figcaption>
130
- <slot name="caption" class="caption"></slot>
141
+ <slot name="caption" class="chart-wrapper__caption"></slot>
131
142
  </figcaption>`
132
143
  : nothing}
133
- <hr class="ruler" />
144
+ <hr class="chart-wrapper__ruler" />
134
145
  ${hasDownload
135
- ? html `<slot name="download" class="download"></slot>`
146
+ ? html `<slot name="download" class="chart-wrapper__download"></slot>`
136
147
  : nothing}
137
148
  </figure>
138
149
  `;
package/dist/Checkbox.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, html } from 'lit';
3
3
  import { property } from 'lit/decorators.js';
4
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
4
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
5
  import { LeuIcon } from './Icon.js';
6
6
 
7
7
  var css_248z = css`:host {
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { property } from 'lit/decorators.js';
5
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
5
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
6
  import { LeuCheckbox } from './Checkbox.js';
7
7
  import './Icon.js';
8
8
 
package/dist/Chip.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
1
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
2
2
  import { css } from 'lit';
3
3
 
4
4
  var css_248z = css`:host *::before,
package/dist/ChipGroup.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { unsafeStatic, html } from 'lit/static-html.js';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
  import { css } from 'lit';
4
4
 
5
5
  var css_248z = css`.label {
package/dist/ChipLink.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { LeuChipBase } from './Chip.js';
3
- import './LeuElement-BhAmogDy.js';
3
+ import './LeuElement-B84x5CPL.js';
4
4
 
5
5
  const SIZES = {
6
6
  regular: "regular",
@@ -1,7 +1,7 @@
1
1
  import { html } from 'lit';
2
2
  import { LeuChipBase } from './Chip.js';
3
3
  import { LeuIcon } from './Icon.js';
4
- import './LeuElement-BhAmogDy.js';
4
+ import './LeuElement-B84x5CPL.js';
5
5
 
6
6
  /**
7
7
  * @slot - The content of the chip
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { LeuChipBase } from './Chip.js';
3
- import './LeuElement-BhAmogDy.js';
3
+ import './LeuElement-B84x5CPL.js';
4
4
 
5
5
  const SIZES = {
6
6
  small: "small",
package/dist/Dialog.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { css, nothing, html } from 'lit';
2
2
  import { createRef, ref } from 'lit/directives/ref.js';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
4
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
5
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
6
6
  import { LeuIcon } from './Icon.js';
7
7
 
package/dist/Dropdown.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, nothing, html } from 'lit';
2
2
  import { createRef, ref } from 'lit/directives/ref.js';
3
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
3
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
4
4
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
5
5
  import { LeuButton } from './Button.js';
6
6
  import { LeuMenu } from './Menu.js';
package/dist/Icon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html, svg } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  display: contents;
package/dist/Input.js CHANGED
@@ -3,7 +3,7 @@ import { classMap } from 'lit/directives/class-map.js';
3
3
  import { ifDefined } from 'lit/directives/if-defined.js';
4
4
  import { live } from 'lit/directives/live.js';
5
5
  import { createRef, ref } from 'lit/directives/ref.js';
6
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
6
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
7
7
  import { LeuIcon } from './Icon.js';
8
8
 
9
9
  var css_248z = css`:host {
@@ -35,7 +35,7 @@ class LeuElement extends LitElement {
35
35
  }
36
36
  }
37
37
  }
38
- LeuElement.version = "0.15.0";
38
+ LeuElement.version = "0.15.1";
39
39
  LeuElement.dependencies = {};
40
40
  LeuElement.styles = css_248z;
41
41
 
package/dist/Menu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
  import { LeuMenuItem } from './MenuItem.js';
4
4
  import 'lit/directives/if-defined.js';
5
5
  import './Icon.js';
package/dist/MenuItem.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, html, nothing } from 'lit';
2
2
  import { ifDefined } from 'lit/directives/if-defined.js';
3
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
3
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
4
4
  import { LeuIcon } from './Icon.js';
5
5
 
6
6
  var css_248z = css`:host {
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, html } from 'lit';
3
3
  import { live } from 'lit/directives/live.js';
4
4
  import { property, state } from 'lit/decorators.js';
5
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
5
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
6
  import { LeuButton } from './Button.js';
7
7
  import { LeuVisuallyHidden } from './VisuallyHidden.js';
8
8
  import { LeuIcon } from './Icon.js';
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  --placeholder-font-regular: var(--leu-font-family-regular);
package/dist/Popup.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, html } from 'lit';
2
2
  import { autoUpdate, size, flip, shift, computePosition } from '@floating-ui/dom';
3
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
3
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
4
4
 
5
5
  var css_248z = css`:host {
6
6
  --popup-font-regular: var(--leu-font-family-regular);
package/dist/Radio.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, html } from 'lit';
3
3
  import { property } from 'lit/decorators.js';
4
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
4
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
5
5
 
6
6
  var css_248z = css`:host {
7
7
  --radio-color: var(--leu-color-black-40);
@@ -2,7 +2,7 @@ import { _ as __decorate } from './_tslib-CNEFicEt.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { property } from 'lit/decorators.js';
5
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
5
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
6
  import { LeuRadio } from './Radio.js';
7
7
 
8
8
  var css_248z = css`:host {
package/dist/Range.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  --range-color: var(--leu-color-black-40);
package/dist/ScrollTop.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { css, html } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
3
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
4
4
  import { LeuButton } from './Button.js';
5
5
  import { LeuIcon } from './Icon.js';
6
6
  import './_tslib-CNEFicEt.js';
package/dist/Select.js CHANGED
@@ -2,7 +2,7 @@ import { css, nothing, html } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
3
  import { createRef, ref } from 'lit/directives/ref.js';
4
4
  import { ifDefined } from 'lit/directives/if-defined.js';
5
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
5
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
6
  import { H as HasSlotController } from './hasSlotController-Bm2tipvG.js';
7
7
  import { LeuButton } from './Button.js';
8
8
  import { LeuMenu } from './Menu.js';
package/dist/Spinner.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
 
4
4
  var css_248z = css`@keyframes leu-spinner-rotate {
5
5
  from {
package/dist/Table.js CHANGED
@@ -2,7 +2,7 @@ import { css, html, nothing } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
3
  import { styleMap } from 'lit/directives/style-map.js';
4
4
  import { createRef, ref } from 'lit/directives/ref.js';
5
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
5
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
6
6
  import { LeuIcon } from './Icon.js';
7
7
  import { LeuPagination } from './Pagination.js';
8
8
  import './_tslib-CNEFicEt.js';
@@ -1,5 +1,5 @@
1
1
  import { css, html } from 'lit';
2
- import { L as LeuElement } from './LeuElement-BhAmogDy.js';
2
+ import { L as LeuElement } from './LeuElement-B84x5CPL.js';
3
3
 
4
4
  var css_248z = css`:host {
5
5
  clip: rect(0 0 0 0);
@@ -1 +1 @@
1
- {"version":3,"file":"ChartWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/visualization/ChartWrapper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAGpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD;;;;;;;;GAQG;AACH,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,YAAY;;MAElB;IAED;;;OAGG;IAEH,OAAO,EAAE,OAAO,CAAQ;IAExB,iBAAiB,oBAIf;IAEF,MAAM;CA+BP"}
1
+ {"version":3,"file":"ChartWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/chart-wrapper/ChartWrapper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAGpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD;;;;;;;;GAQG;AACH,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,YAAY;;MAElB;IAED;;;OAGG;IAEH,OAAO,EAAE,OAAO,CAAQ;IAExB,iBAAiB,oBAIf;IAEF,MAAM;CAkCP"}
@@ -1 +1 @@
1
- {"version":3,"file":"leu-chart-wrapper.d.ts","sourceRoot":"","sources":["../../../src/components/visualization/leu-chart-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"leu-chart-wrapper.d.ts","sourceRoot":"","sources":["../../../src/components/chart-wrapper/leu-chart-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -25,4 +25,23 @@ export declare const Regular: {
25
25
  globals?: import("@storybook/csf").Globals;
26
26
  story?: Omit<import("@storybook/csf").StoryAnnotations<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper, Partial<LeuChartWrapper>>, "story">;
27
27
  };
28
+ export declare const Pending: {
29
+ args: {
30
+ pending: boolean;
31
+ };
32
+ decorators?: import("@storybook/csf").DecoratorFunction<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper> | import("@storybook/csf").DecoratorFunction<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>[];
33
+ parameters?: import("@storybook/csf").Parameters;
34
+ argTypes?: Partial<import("@storybook/csf").ArgTypes<LeuChartWrapper>>;
35
+ loaders?: import("@storybook/csf").LoaderFunction<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper> | import("@storybook/csf").LoaderFunction<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>[];
36
+ beforeEach?: import("@storybook/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper> | import("@storybook/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>[];
37
+ experimental_afterEach?: import("@storybook/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper> | import("@storybook/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>[];
38
+ render?: import("@storybook/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>;
39
+ tags?: import("@storybook/csf").Tag[];
40
+ mount?: (context: import("@storybook/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>) => () => Promise<import("@storybook/csf").Canvas>;
41
+ name?: import("@storybook/csf").StoryName;
42
+ storyName?: import("@storybook/csf").StoryName;
43
+ play?: import("@storybook/csf").PlayFunction<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper>;
44
+ globals?: import("@storybook/csf").Globals;
45
+ story?: Omit<import("@storybook/csf").StoryAnnotations<import("@storybook/web-components").WebComponentsRenderer, LeuChartWrapper, Partial<LeuChartWrapper>>, "story">;
46
+ };
28
47
  //# sourceMappingURL=chart-wrapper.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chart-wrapper.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/visualization/stories/chart-wrapper.stories.ts"],"names":[],"mappings":"AAGA,OAAO,gCAAgC,CAAA;AACvC,OAAO,yBAAyB,CAAA;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;;;;AAKpD,wBAG2B;AAgC3B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAMnB,CAAA"}
1
+ {"version":3,"file":"chart-wrapper.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-wrapper/stories/chart-wrapper.stories.ts"],"names":[],"mappings":"AAGA,OAAO,gCAAgC,CAAA;AACvC,OAAO,yBAAyB,CAAA;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;;;;AAKpD,wBAG2B;AAgC3B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAKnB,CAAA;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAKnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-wrapper.test.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-wrapper/test/chart-wrapper.test.ts"],"names":[],"mappings":"AAGA,OAAO,yBAAyB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./components/accordion/Accordion.js";
2
2
  export * from "./components/button/Button.js";
3
3
  export * from "./components/button-group/ButtonGroup.js";
4
+ export * from "./components/chart-wrapper/ChartWrapper.js";
4
5
  export * from "./components/checkbox/Checkbox.js";
5
6
  export * from "./components/checkbox/CheckboxGroup.js";
6
7
  export * from "./components/chip/exports.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0CAA0C,CAAA;AACxD,cAAc,mCAAmC,CAAA;AACjD,cAAc,wCAAwC,CAAA;AACtD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uCAAuC,CAAA;AACrD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kCAAkC,CAAA;AAChD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0CAA0C,CAAA;AACxD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,mCAAmC,CAAA;AACjD,cAAc,wCAAwC,CAAA;AACtD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uCAAuC,CAAA;AACrD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kCAAkC,CAAA;AAChD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export { LeuAccordion } from './Accordion.js';
2
2
  export { LeuButton } from './Button.js';
3
3
  export { LeuButtonGroup } from './ButtonGroup.js';
4
+ export { LeuChartWrapper } from './ChartWrapper.js';
4
5
  export { LeuCheckbox } from './Checkbox.js';
5
6
  export { LeuCheckboxGroup } from './CheckboxGroup.js';
6
7
  export { LeuChipGroup } from './ChipGroup.js';
@@ -17,7 +18,7 @@ export { LeuRadio } from './Radio.js';
17
18
  export { LeuRadioGroup } from './RadioGroup.js';
18
19
  export { LeuSelect } from './Select.js';
19
20
  export { LeuTable } from './Table.js';
20
- export { L as LeuElement } from './LeuElement-BhAmogDy.js';
21
+ export { L as LeuElement } from './LeuElement-B84x5CPL.js';
21
22
  import './_tslib-CNEFicEt.js';
22
23
  import 'lit';
23
24
  import 'lit/static-html.js';
@@ -26,6 +27,7 @@ import 'lit/directives/class-map.js';
26
27
  import 'lit/directives/if-defined.js';
27
28
  import './Icon.js';
28
29
  import './hasSlotController-Bm2tipvG.js';
30
+ import './Spinner.js';
29
31
  import './Chip.js';
30
32
  import 'lit/directives/ref.js';
31
33
  import 'lit/directives/live.js';
@@ -3,7 +3,7 @@ import './_tslib-CNEFicEt.js';
3
3
  import 'lit';
4
4
  import 'lit/static-html.js';
5
5
  import 'lit/decorators.js';
6
- import './LeuElement-BhAmogDy.js';
6
+ import './LeuElement-B84x5CPL.js';
7
7
 
8
8
  LeuAccordion.define("leu-accordion");
9
9
 
@@ -1,6 +1,6 @@
1
1
  import { LeuButtonGroup } from './ButtonGroup.js';
2
2
  import 'lit';
3
- import './LeuElement-BhAmogDy.js';
3
+ import './LeuElement-B84x5CPL.js';
4
4
  import './Button.js';
5
5
  import './_tslib-CNEFicEt.js';
6
6
  import 'lit/directives/class-map.js';
@@ -5,7 +5,7 @@ import 'lit/directives/class-map.js';
5
5
  import 'lit/directives/if-defined.js';
6
6
  import 'lit/decorators.js';
7
7
  import './Icon.js';
8
- import './LeuElement-BhAmogDy.js';
8
+ import './LeuElement-B84x5CPL.js';
9
9
  import './hasSlotController-Bm2tipvG.js';
10
10
 
11
11
  LeuButton.define("leu-button");
@@ -2,7 +2,7 @@ import { LeuChartWrapper } from './ChartWrapper.js';
2
2
  import './_tslib-CNEFicEt.js';
3
3
  import 'lit';
4
4
  import 'lit/decorators.js';
5
- import './LeuElement-BhAmogDy.js';
5
+ import './LeuElement-B84x5CPL.js';
6
6
  import './hasSlotController-Bm2tipvG.js';
7
7
  import './Spinner.js';
8
8
 
@@ -3,7 +3,7 @@ import './_tslib-CNEFicEt.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
  import 'lit/decorators.js';
6
- import './LeuElement-BhAmogDy.js';
6
+ import './LeuElement-B84x5CPL.js';
7
7
  import './Checkbox.js';
8
8
  import './Icon.js';
9
9
 
@@ -2,7 +2,7 @@ import { LeuCheckbox } from './Checkbox.js';
2
2
  import './_tslib-CNEFicEt.js';
3
3
  import 'lit';
4
4
  import 'lit/decorators.js';
5
- import './LeuElement-BhAmogDy.js';
5
+ import './LeuElement-B84x5CPL.js';
6
6
  import './Icon.js';
7
7
 
8
8
  LeuCheckbox.define("leu-checkbox");
@@ -1,6 +1,6 @@
1
1
  import { LeuChipGroup } from './ChipGroup.js';
2
2
  import 'lit/static-html.js';
3
- import './LeuElement-BhAmogDy.js';
3
+ import './LeuElement-B84x5CPL.js';
4
4
  import 'lit';
5
5
 
6
6
  LeuChipGroup.define("leu-chip-group");
@@ -1,7 +1,7 @@
1
1
  import { LeuChipLink } from './ChipLink.js';
2
2
  import 'lit';
3
3
  import './Chip.js';
4
- import './LeuElement-BhAmogDy.js';
4
+ import './LeuElement-B84x5CPL.js';
5
5
 
6
6
  LeuChipLink.define("leu-chip-link");
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { LeuChipRemovable } from './ChipRemovable.js';
2
2
  import 'lit';
3
3
  import './Chip.js';
4
- import './LeuElement-BhAmogDy.js';
4
+ import './LeuElement-B84x5CPL.js';
5
5
  import './Icon.js';
6
6
 
7
7
  LeuChipRemovable.define("leu-chip-removable");
@@ -1,7 +1,7 @@
1
1
  import { LeuChipSelectable } from './ChipSelectable.js';
2
2
  import 'lit';
3
3
  import './Chip.js';
4
- import './LeuElement-BhAmogDy.js';
4
+ import './LeuElement-B84x5CPL.js';
5
5
 
6
6
  LeuChipSelectable.define("leu-chip-selectable");
7
7
 
@@ -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-BhAmogDy.js';
5
+ import './LeuElement-B84x5CPL.js';
6
6
  import './hasSlotController-Bm2tipvG.js';
7
7
  import './Icon.js';
8
8