@statistikzh/leu 0.11.0 → 0.11.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 (146) hide show
  1. package/.github/workflows/deploy-github-pages.yaml +2 -2
  2. package/.github/workflows/release-please.yml +1 -1
  3. package/CHANGELOG.md +8 -0
  4. package/dist/Accordion.d.ts +1 -1
  5. package/dist/Accordion.d.ts.map +1 -1
  6. package/dist/Accordion.js +22 -30
  7. package/dist/Breadcrumb.d.ts +1 -1
  8. package/dist/Breadcrumb.d.ts.map +1 -1
  9. package/dist/Breadcrumb.js +3 -8
  10. package/dist/Button.d.ts +1 -1
  11. package/dist/Button.js +3 -3
  12. package/dist/ButtonGroup.d.ts +1 -1
  13. package/dist/ButtonGroup.d.ts.map +1 -1
  14. package/dist/ButtonGroup.js +3 -8
  15. package/dist/Checkbox.d.ts +1 -1
  16. package/dist/Checkbox.js +2 -2
  17. package/dist/CheckboxGroup.d.ts +1 -1
  18. package/dist/CheckboxGroup.js +2 -2
  19. package/dist/Chip.d.ts +1 -1
  20. package/dist/Chip.d.ts.map +1 -1
  21. package/dist/Chip.js +3 -5
  22. package/dist/ChipGroup.d.ts +1 -1
  23. package/dist/ChipGroup.js +2 -2
  24. package/dist/ChipLink.js +1 -1
  25. package/dist/ChipRemovable.js +1 -1
  26. package/dist/ChipSelectable.js +1 -1
  27. package/dist/Dialog.d.ts +1 -1
  28. package/dist/Dialog.d.ts.map +1 -1
  29. package/dist/Dialog.js +3 -7
  30. package/dist/Dropdown.d.ts +1 -1
  31. package/dist/Dropdown.d.ts.map +1 -1
  32. package/dist/Dropdown.js +4 -9
  33. package/dist/Icon.d.ts +1 -1
  34. package/dist/Icon.js +2 -2
  35. package/dist/Input.d.ts +1 -1
  36. package/dist/Input.d.ts.map +1 -1
  37. package/dist/Input.js +3 -8
  38. package/dist/{LeuElement-78b4a998.d.ts → LeuElement-e092765a.d.ts} +1 -1
  39. package/dist/LeuElement-e092765a.d.ts.map +1 -0
  40. package/dist/{LeuElement-78b4a998.js → LeuElement-e092765a.js} +10 -2
  41. package/dist/Menu.d.ts +1 -1
  42. package/dist/Menu.d.ts.map +1 -1
  43. package/dist/Menu.js +3 -8
  44. package/dist/MenuItem.d.ts +1 -1
  45. package/dist/MenuItem.d.ts.map +1 -1
  46. package/dist/MenuItem.js +3 -8
  47. package/dist/Pagination.d.ts +1 -1
  48. package/dist/Pagination.js +3 -3
  49. package/dist/Popup.d.ts +1 -1
  50. package/dist/Popup.d.ts.map +1 -1
  51. package/dist/Popup.js +3 -8
  52. package/dist/Radio.d.ts +1 -1
  53. package/dist/Radio.js +2 -2
  54. package/dist/RadioGroup.d.ts +1 -1
  55. package/dist/RadioGroup.js +2 -2
  56. package/dist/Range.d.ts +1 -1
  57. package/dist/Range.d.ts.map +1 -1
  58. package/dist/Range.js +2 -3
  59. package/dist/ScrollTop.d.ts +1 -1
  60. package/dist/ScrollTop.js +3 -3
  61. package/dist/Select.d.ts +1 -1
  62. package/dist/Select.d.ts.map +1 -1
  63. package/dist/Select.js +4 -9
  64. package/dist/Spinner.d.ts +1 -1
  65. package/dist/Spinner.js +2 -2
  66. package/dist/Table.d.ts +1 -1
  67. package/dist/Table.js +3 -3
  68. package/dist/VisuallyHidden.d.ts +1 -1
  69. package/dist/VisuallyHidden.js +2 -2
  70. package/dist/{hasSlotController-fd1950b4.d.ts → hasSlotController-d1f26756.d.ts} +1 -1
  71. package/dist/{hasSlotController-fd1950b4.d.ts.map → hasSlotController-d1f26756.d.ts.map} +1 -1
  72. package/dist/{hasSlotController-fd1950b4.js → hasSlotController-d1f26756.js} +1 -1
  73. package/dist/index.js +2 -2
  74. package/dist/leu-accordion.js +1 -1
  75. package/dist/leu-breadcrumb.js +1 -1
  76. package/dist/leu-button-group.js +1 -1
  77. package/dist/leu-button.js +2 -2
  78. package/dist/leu-checkbox-group.js +1 -1
  79. package/dist/leu-checkbox.js +1 -1
  80. package/dist/leu-chip-group.js +1 -1
  81. package/dist/leu-chip-link.js +1 -1
  82. package/dist/leu-chip-removable.js +1 -1
  83. package/dist/leu-chip-selectable.js +1 -1
  84. package/dist/leu-dialog.js +2 -2
  85. package/dist/leu-dropdown.js +2 -2
  86. package/dist/leu-icon.js +1 -1
  87. package/dist/leu-input.js +1 -1
  88. package/dist/leu-menu-item.js +1 -1
  89. package/dist/leu-menu.js +1 -1
  90. package/dist/leu-pagination.js +2 -2
  91. package/dist/leu-popup.js +1 -1
  92. package/dist/leu-radio-group.js +1 -1
  93. package/dist/leu-radio.js +1 -1
  94. package/dist/leu-range.js +1 -1
  95. package/dist/leu-scroll-top.js +2 -2
  96. package/dist/leu-select.js +2 -2
  97. package/dist/leu-spinner.js +1 -1
  98. package/dist/leu-table.js +2 -2
  99. package/dist/leu-visually-hidden.js +1 -1
  100. package/dist/vscode.html-custom-data.json +112 -112
  101. package/dist/vue/index.d.ts +157 -157
  102. package/dist/web-types.json +216 -216
  103. package/package.json +1 -1
  104. package/scripts/generate-component/templates/[Name].js +1 -1
  105. package/scripts/generate-component/templates/[name].css +0 -5
  106. package/src/components/accordion/Accordion.js +10 -6
  107. package/src/components/accordion/accordion.css +9 -22
  108. package/src/components/breadcrumb/Breadcrumb.js +1 -1
  109. package/src/components/breadcrumb/breadcrumb.css +0 -5
  110. package/src/components/button/Button.js +1 -1
  111. package/src/components/button-group/ButtonGroup.js +1 -1
  112. package/src/components/button-group/button-group.css +0 -5
  113. package/src/components/checkbox/Checkbox.js +1 -1
  114. package/src/components/checkbox/CheckboxGroup.js +1 -1
  115. package/src/components/chip/Chip.js +1 -1
  116. package/src/components/chip/ChipGroup.js +1 -1
  117. package/src/components/chip/chip.css +0 -2
  118. package/src/components/dialog/Dialog.js +1 -1
  119. package/src/components/dialog/dialog.css +0 -5
  120. package/src/components/dropdown/Dropdown.js +1 -1
  121. package/src/components/dropdown/dropdown.css +0 -5
  122. package/src/components/icon/Icon.js +1 -1
  123. package/src/components/input/Input.js +1 -1
  124. package/src/components/input/input.css +0 -5
  125. package/src/components/menu/Menu.js +1 -1
  126. package/src/components/menu/MenuItem.js +1 -1
  127. package/src/components/menu/menu-item.css +0 -5
  128. package/src/components/menu/menu.css +0 -5
  129. package/src/components/pagination/Pagination.js +1 -1
  130. package/src/components/popup/Popup.js +1 -1
  131. package/src/components/popup/popup.css +0 -5
  132. package/src/components/radio/Radio.js +1 -1
  133. package/src/components/radio/RadioGroup.js +1 -1
  134. package/src/components/range/Range.js +1 -1
  135. package/src/components/range/range.css +0 -1
  136. package/src/components/scroll-top/ScrollTop.js +1 -1
  137. package/src/components/select/Select.js +1 -1
  138. package/src/components/select/select.css +0 -5
  139. package/src/components/spinner/Spinner.js +1 -1
  140. package/src/components/table/Table.js +1 -1
  141. package/src/components/visually-hidden/VisuallyHidden.js +1 -1
  142. package/src/lib/LeuElement.js +3 -0
  143. package/src/styles/common-styles.css +5 -0
  144. package/src/styles/style.stories.js +1 -0
  145. package/web-dev-server.config.mjs +1 -0
  146. package/dist/LeuElement-78b4a998.d.ts.map +0 -1
@@ -21,12 +21,12 @@ jobs:
21
21
  - uses: actions/checkout@v4
22
22
 
23
23
  # Set up Node
24
- - uses: actions/setup-node@v3
24
+ - uses: actions/setup-node@v4
25
25
  with:
26
26
  node-version: "20.x"
27
27
 
28
28
  #👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
29
- - uses: bitovi/github-actions-storybook-to-github-pages@v1.0.2
29
+ - uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
30
30
  with:
31
31
  build_command: npm run storybook:build # default: npm run build-storybook
32
32
  path: docs # default: dist/storybook
@@ -13,7 +13,7 @@ jobs:
13
13
  release-please:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - uses: google-github-actions/release-please-action@v4
16
+ - uses: googleapis/release-please-action@v4
17
17
  id: release
18
18
  with:
19
19
  release-type: node
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.1](https://github.com/statistikZH/leu/compare/v0.11.0...v0.11.1) (2024-11-25)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * :bug: implemented font-feature-settings for all components ([#243](https://github.com/statistikZH/leu/issues/243)) ([4ce502f](https://github.com/statistikZH/leu/commit/4ce502f51e1387d83d5ec8fdea56cc692f4631c4))
9
+ * fixed transition animation in accordion to match zhweb ([#245](https://github.com/statistikZH/leu/issues/245)) ([11950f1](https://github.com/statistikZH/leu/commit/11950f14220ee0b2e6315188e453b817f0f528ba))
10
+
3
11
  ## [0.11.0](https://github.com/statistikZH/leu/compare/v0.10.0...v0.11.0) (2024-10-07)
4
12
 
5
13
 
@@ -28,5 +28,5 @@ export class LeuAccordion extends LeuElement {
28
28
  _handleToggleClick(): void;
29
29
  render(): import("lit-html").TemplateResult;
30
30
  }
31
- import { L as LeuElement } from './LeuElement-78b4a998.js';
31
+ import { L as LeuElement } from './LeuElement-e092765a.js';
32
32
  //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["Accordion.js"],"names":[],"mappings":"AA+JA;;;;;;;;;GASG;AACH;IAGI,qBAAqB;IACrB,cAAiB;IACjB,cAAe;IACf,oBAAqB;IAGvB;;;;;;OAMG;IACH,kBAHa,MAAM,CASlB;IAED;;;OAGG;IACH,2BAEC;IACD,4CA2BC;CAEF;gCArOqD,0BAA0B"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["Accordion.js"],"names":[],"mappings":"AAmJA;;;;;;;;;GASG;AACH;IAGI,qBAAqB;IACrB,cAAiB;IACjB,cAAe;IACf,oBAAqB;IAGvB;;;;;;OAMG;IACH,kBAHa,MAAM,CASlB;IAED;;;OAGG;IACH,2BAEC;IACD,4CA+BC;CAEF;gCA7NqD,0BAA0B"}
package/dist/Accordion.js CHANGED
@@ -1,12 +1,8 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, nothing } from 'lit';
3
3
  import { html, unsafeStatic } from 'lit/static-html.js';
4
4
 
5
- var css_248z = css`:host,
6
- :host * {
7
- box-sizing: border-box;
8
- }
9
- :host {
5
+ var css_248z = css`:host {
10
6
  --accordion-font-regular: var(--leu-font-family-regular);
11
7
  --accordion-font-black: var(--leu-font-family-black);
12
8
 
@@ -20,18 +16,11 @@ var css_248z = css`:host,
20
16
 
21
17
  --transition: 0.1s ease;
22
18
 
23
- font-family: var(--chip-font-regular);
24
-
25
- position: relative;
26
- display: grid;
27
- grid-template-rows: auto 0fr;
19
+ font-family: var(--leu-font-family-regular);
28
20
 
29
- transition: grid-template-rows 0.1s ease;
21
+ font-family: var(--accordion-font-regular);
30
22
 
31
- transition: grid-template-rows var(--transition);
32
- }
33
- :host([open]) {
34
- grid-template-rows: auto 1fr;
23
+ position: relative;
35
24
  }
36
25
  .heading {
37
26
  margin: 0;
@@ -110,14 +99,16 @@ var css_248z = css`:host,
110
99
  display: block;
111
100
  flex-grow: 1;
112
101
  }
102
+ .contentwrapper {
103
+ display: grid;
104
+ grid-template-rows: 1fr;
105
+ transition: grid-template-rows var(--transition);
106
+ }
113
107
  .content {
114
108
  overflow: hidden;
115
- transition: visibility var(--transition), opacity var(--transition);
116
109
  }
117
- .content[hidden] {
118
- display: block;
119
- visibility: hidden;
120
- opacity: 0;
110
+ .contentwrapper[hidden] {
111
+ grid-template-rows: 0fr;
121
112
  }
122
113
  slot[name="content"] {
123
114
  display: block;
@@ -134,9 +125,6 @@ slot[name="content"] {
134
125
  }
135
126
  }
136
127
  .divider {
137
- position: absolute;
138
- top: 100%;
139
- left: 0;
140
128
 
141
129
  width: 100%;
142
130
  height: 1px;
@@ -207,7 +195,7 @@ class LeuAccordion extends LeuElement {
207
195
  id="toggle"
208
196
  type="button"
209
197
  class="button"
210
- aria-controls="content"
198
+ aria-controls="contentwrapper"
211
199
  aria-expanded="${this.open}"
212
200
  @click=${this._handleToggleClick}
213
201
  >
@@ -216,19 +204,23 @@ class LeuAccordion extends LeuElement {
216
204
  <div class="plus"></div>
217
205
  </button></${unsafeStatic(hTag)}>
218
206
  <div
219
- id="content"
220
- class="content"
207
+ id="contentwrapper"
208
+ class="contentwrapper"
209
+ ?hidden=${!this.open}
221
210
  aria-labelledby="toggle"
222
211
  role="region"
223
- ?hidden=${!this.open}
224
212
  >
225
- <slot name="content"></slot>
213
+ <div
214
+ class="content"
215
+ >
216
+ <slot name="content"></slot>
217
+ </div>
226
218
  </div>
227
219
  <hr class="divider" />`;
228
220
  }
229
221
  /* eslint-enable lit/binding-positions, lit/no-invalid-html */
230
222
  }
231
- _defineProperty(LeuAccordion, "styles", css_248z);
223
+ _defineProperty(LeuAccordion, "styles", [LeuElement.styles, css_248z]);
232
224
  /** @internal */
233
225
  _defineProperty(LeuAccordion, "shadowRootOptions", {
234
226
  ...LeuElement.shadowRootOptions,
@@ -64,6 +64,6 @@ export class LeuBreadcrumb extends LeuElement {
64
64
  renderDropdown(): import("lit-html").TemplateResult<1> | typeof nothing;
65
65
  render(): import("lit-html").TemplateResult<1> | typeof nothing;
66
66
  }
67
- import { L as LeuElement } from './LeuElement-78b4a998.js';
67
+ import { L as LeuElement } from './LeuElement-e092765a.js';
68
68
  import { nothing } from 'lit';
69
69
  //# sourceMappingURL=Breadcrumb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["Breadcrumb.js"],"names":[],"mappings":"AAyHA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH;IAOM,yBAA+C;IAO7C,uBAAyB;IACzB,0BAA6B;IAY7B,qBAAqB;IASvB,yBAA4C;IAW9C,aAAe;IACf,wDAAwD;IACxD,UADW,OAAO,CACG;IAErB,gBAAgB;IAChB,iEAAgC;IAehC,+BAEQ;IAEV,qBAEC;IACD,+CAOC;IAOD,gBAAgB;IAChB,sBAEC;IAED,gBAAgB;IAChB,4BAEC;IACD;;;;;OAKG;IACH,eAFa,IAAI,CA4BhB;IACD;;;OAGG;IACH,wEAqCC;IACD,gEAmCC;CACF;gCA3WqD,0BAA0B;wBAC7C,KAAK"}
1
+ {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["Breadcrumb.js"],"names":[],"mappings":"AAoHA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH;IAOM,yBAA+C;IAO7C,uBAAyB;IACzB,0BAA6B;IAY7B,qBAAqB;IASvB,yBAA4C;IAW9C,aAAe;IACf,wDAAwD;IACxD,UADW,OAAO,CACG;IAErB,gBAAgB;IAChB,iEAAgC;IAehC,+BAEQ;IAEV,qBAEC;IACD,+CAOC;IAOD,gBAAgB;IAChB,sBAEC;IAED,gBAAgB;IAChB,4BAEC;IACD;;;;;OAKG;IACH,eAFa,IAAI,CA4BhB;IACD;;;OAGG;IACH,wEAqCC;IACD,gEAmCC;CACF;gCAtWqD,0BAA0B;wBAC7C,KAAK"}
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, nothing, html } from 'lit';
3
3
  import { createRef, ref } from 'lit/directives/ref.js';
4
4
  import { classMap } from 'lit/directives/class-map.js';
@@ -11,12 +11,7 @@ import { LeuVisuallyHidden } from './VisuallyHidden.js';
11
11
  import 'lit/directives/if-defined.js';
12
12
  import '@floating-ui/dom';
13
13
 
14
- var css_248z = css`:host,
15
- :host * {
16
- box-sizing: border-box;
17
- }
18
-
19
- :host {
14
+ var css_248z = css`:host {
20
15
  --breadcrumb-font-regular: var(--leu-font-family-regular);
21
16
  --breadcrumb-font-black: var(--leu-font-family-black);
22
17
 
@@ -369,7 +364,7 @@ _defineProperty(LeuBreadcrumb, "dependencies", {
369
364
  "leu-popup": LeuPopup,
370
365
  "leu-visually-hidden": LeuVisuallyHidden
371
366
  });
372
- _defineProperty(LeuBreadcrumb, "styles", css_248z);
367
+ _defineProperty(LeuBreadcrumb, "styles", [LeuElement.styles, css_248z]);
373
368
  _defineProperty(LeuBreadcrumb, "properties", {
374
369
  items: {
375
370
  type: Array
package/dist/Button.d.ts CHANGED
@@ -41,6 +41,6 @@ export class LeuButton extends LeuElement {
41
41
  hasTextContent(): boolean;
42
42
  render(): import("lit-html").TemplateResult<1>;
43
43
  }
44
- import { L as LeuElement } from './LeuElement-78b4a998.js';
44
+ import { L as LeuElement } from './LeuElement-e092765a.js';
45
45
  import { nothing } from 'lit';
46
46
  //# sourceMappingURL=Button.d.ts.map
package/dist/Button.js CHANGED
@@ -1,9 +1,9 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html, nothing } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { ifDefined } from 'lit/directives/if-defined.js';
5
5
  import { LeuIcon } from './Icon.js';
6
- import { H as HasSlotController } from './hasSlotController-fd1950b4.js';
6
+ import { H as HasSlotController } from './hasSlotController-d1f26756.js';
7
7
 
8
8
  /**
9
9
  * All roles that are associated with a aria-checked attribute
@@ -415,7 +415,7 @@ class LeuButton extends LeuElement {
415
415
  _defineProperty(LeuButton, "dependencies", {
416
416
  "leu-icon": LeuIcon
417
417
  });
418
- _defineProperty(LeuButton, "styles", css_248z);
418
+ _defineProperty(LeuButton, "styles", [LeuElement.styles, css_248z]);
419
419
  /**
420
420
  * @internal
421
421
  */
@@ -20,5 +20,5 @@ export class LeuButtonGroup extends LeuElement {
20
20
  _handleButtonClick(button: any): void;
21
21
  render(): import("lit-html").TemplateResult<1>;
22
22
  }
23
- import { L as LeuElement } from './LeuElement-78b4a998.js';
23
+ import { L as LeuElement } from './LeuElement-e092765a.js';
24
24
  //# sourceMappingURL=ButtonGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["ButtonGroup.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AACH;IAME;;;OAGG;IACH,oCAFa,MAAM,CAIlB;IATC,cAAgB;IAclB,4BAMC;IAVD,oBAGC;IAQD,0BA+BC;IAED;;OAEG;IACH,sCAWC;IACD,+CAMC;CACF;gCApGqD,0BAA0B"}
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["ButtonGroup.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH;IAME;;;OAGG;IACH,oCAFa,MAAM,CAIlB;IATC,cAAgB;IAclB,4BAMC;IAVD,oBAGC;IAQD,0BA+BC;IAED;;OAEG;IACH,sCAWC;IACD,+CAMC;CACF;gCA/FqD,0BAA0B"}
@@ -1,12 +1,7 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
- var css_248z = css`:host,
5
- :host * {
6
- box-sizing: border-box;
7
- }
8
-
9
- .group {
4
+ var css_248z = css`.group {
10
5
  display: flex;
11
6
  gap: 0.5rem;
12
7
  flex-wrap: wrap;
@@ -99,6 +94,6 @@ class LeuButtonGroup extends LeuElement {
99
94
  `;
100
95
  }
101
96
  }
102
- _defineProperty(LeuButtonGroup, "styles", css_248z);
97
+ _defineProperty(LeuButtonGroup, "styles", [LeuElement.styles, css_248z]);
103
98
 
104
99
  export { LeuButtonGroup };
@@ -10,5 +10,5 @@ export class LeuCheckbox extends LeuElement {
10
10
  handleInput(event: any): void;
11
11
  render(): import("lit-html").TemplateResult<1>;
12
12
  }
13
- import { L as LeuElement } from './LeuElement-78b4a998.js';
13
+ import { L as LeuElement } from './LeuElement-e092765a.js';
14
14
  //# sourceMappingURL=Checkbox.d.ts.map
package/dist/Checkbox.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html } from 'lit';
3
3
  import { LeuIcon } from './Icon.js';
4
4
 
@@ -135,7 +135,7 @@ class LeuCheckbox extends LeuElement {
135
135
  _defineProperty(LeuCheckbox, "dependencies", {
136
136
  "leu-icon": LeuIcon
137
137
  });
138
- _defineProperty(LeuCheckbox, "styles", css_248z);
138
+ _defineProperty(LeuCheckbox, "styles", [LeuElement.styles, css_248z]);
139
139
  /** @internal */
140
140
  _defineProperty(LeuCheckbox, "shadowRootOptions", {
141
141
  ...LeuElement.shadowRootOptions,
@@ -10,5 +10,5 @@ export class LeuCheckboxGroup extends LeuElement {
10
10
  handleItems(): void;
11
11
  render(): import("lit-html").TemplateResult<1>;
12
12
  }
13
- import { L as LeuElement } from './LeuElement-78b4a998.js';
13
+ import { L as LeuElement } from './LeuElement-e092765a.js';
14
14
  //# sourceMappingURL=CheckboxGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
 
@@ -67,7 +67,7 @@ class LeuCheckboxGroup extends LeuElement {
67
67
  `;
68
68
  }
69
69
  }
70
- _defineProperty(LeuCheckboxGroup, "styles", css_248z);
70
+ _defineProperty(LeuCheckboxGroup, "styles", [LeuElement.styles, css_248z]);
71
71
  _defineProperty(LeuCheckboxGroup, "properties", {
72
72
  orientation: {
73
73
  type: String,
package/dist/Chip.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export class LeuChipBase extends LeuElement {
2
2
  inverted: boolean;
3
3
  }
4
- import { L as LeuElement } from './LeuElement-78b4a998.js';
4
+ import { L as LeuElement } from './LeuElement-e092765a.js';
5
5
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["Chip.js"],"names":[],"mappings":"AAwJA;IAGI,kBAAqB;CAExB;gCA7JqD,0BAA0B"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["Chip.js"],"names":[],"mappings":"AAsJA;IAGI,kBAAqB;CAExB;gCA3JqD,0BAA0B"}
package/dist/Chip.js CHANGED
@@ -1,9 +1,7 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css } from 'lit';
3
3
 
4
- var css_248z = css`:host,
5
- :host *,
6
- :host *::before,
4
+ var css_248z = css`:host *::before,
7
5
  :host *::after {
8
6
  box-sizing: border-box;
9
7
  }
@@ -156,7 +154,7 @@ class LeuChipBase extends LeuElement {
156
154
  this.inverted = false;
157
155
  }
158
156
  }
159
- _defineProperty(LeuChipBase, "styles", css_248z);
157
+ _defineProperty(LeuChipBase, "styles", [LeuElement.styles, css_248z]);
160
158
  /** @internal */
161
159
  _defineProperty(LeuChipBase, "shadowRootOptions", {
162
160
  ...LeuElement.shadowRootOptions,
@@ -32,5 +32,5 @@ export const SELECTION_MODES: Readonly<{
32
32
  multiple: "multiple";
33
33
  none: "none";
34
34
  }>;
35
- import { L as LeuElement } from './LeuElement-78b4a998.js';
35
+ import { L as LeuElement } from './LeuElement-e092765a.js';
36
36
  //# sourceMappingURL=ChipGroup.d.ts.map
package/dist/ChipGroup.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { html, unsafeStatic } from 'lit/static-html.js';
3
3
  import { css } from 'lit';
4
4
 
@@ -132,7 +132,7 @@ class LeuChipGroup extends LeuElement {
132
132
  `;
133
133
  }
134
134
  }
135
- _defineProperty(LeuChipGroup, "styles", css_248z);
135
+ _defineProperty(LeuChipGroup, "styles", [LeuElement.styles, css_248z]);
136
136
  _defineProperty(LeuChipGroup, "properties", {
137
137
  inverted: {
138
138
  type: Boolean,
package/dist/ChipLink.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty } from './LeuElement-e092765a.js';
2
2
  import { html } from 'lit';
3
3
  import { LeuChipBase } from './Chip.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty } from './LeuElement-e092765a.js';
2
2
  import { html } from 'lit';
3
3
  import { LeuChipBase } from './Chip.js';
4
4
  import { LeuIcon } from './Icon.js';
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty } from './LeuElement-e092765a.js';
2
2
  import { html } from 'lit';
3
3
  import { LeuChipBase } from './Chip.js';
4
4
 
package/dist/Dialog.d.ts CHANGED
@@ -13,5 +13,5 @@ export class LeuDialog extends LeuElement {
13
13
  close(): void;
14
14
  render(): import("lit-html").TemplateResult<1>;
15
15
  }
16
- import { L as LeuElement } from './LeuElement-78b4a998.js';
16
+ import { L as LeuElement } from './LeuElement-e092765a.js';
17
17
  //# sourceMappingURL=Dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["Dialog.js"],"names":[],"mappings":"AA2KA;;GAEG;AACH;IASI,8DAA6B;IAE7B,qBAAqB;IACrB,OADW,MAAM,CACF;IACf,qBAAqB;IACrB,UADW,MAAM,CACC;IAClB,sBAAsB;IACtB,MADW,OAAO,CACD;IAEnB,aAEC;IACD,cAEC;IACD,+CAiCC;CACF;gCAxOqD,0BAA0B"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["Dialog.js"],"names":[],"mappings":"AAuKA;;GAEG;AACH;IASI,8DAA6B;IAE7B,qBAAqB;IACrB,OADW,MAAM,CACF;IACf,qBAAqB;IACrB,UADW,MAAM,CACC;IAClB,sBAAsB;IACtB,MADW,OAAO,CACD;IAEnB,aAEC;IACD,cAEC;IACD,+CAiCC;CACF;gCApOqD,0BAA0B"}
package/dist/Dialog.js CHANGED
@@ -1,15 +1,11 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html, nothing } from 'lit';
3
3
  import { createRef, ref } from 'lit/directives/ref.js';
4
4
  import { classMap } from 'lit/directives/class-map.js';
5
- import { H as HasSlotController } from './hasSlotController-fd1950b4.js';
5
+ import { H as HasSlotController } from './hasSlotController-d1f26756.js';
6
6
  import { LeuIcon } from './Icon.js';
7
7
 
8
8
  var css_248z = css`/* figma https://www.figma.com/design/d6Pv21UVUbnBs3AdcZijHmbN/KTZH-Design-System?node-id=21161-186812&t=8VgDy9avMRG5aL7s-0 */
9
- :host,
10
- :host * {
11
- box-sizing: border-box;
12
- }
13
9
  :host {
14
10
  --dialog-font-regular: var(--leu-font-family-regular);
15
11
  --dialog-font-black: var(--leu-font-family-black);
@@ -234,7 +230,7 @@ class LeuDialog extends LeuElement {
234
230
  _defineProperty(LeuDialog, "dependencies", {
235
231
  "leu-icon": LeuIcon
236
232
  });
237
- _defineProperty(LeuDialog, "styles", css_248z);
233
+ _defineProperty(LeuDialog, "styles", [LeuElement.styles, css_248z]);
238
234
  _defineProperty(LeuDialog, "shadowRootOptions", {
239
235
  ...LeuElement.shadowRootOptions,
240
236
  delegatesFocus: true
@@ -15,5 +15,5 @@ export class LeuDropdown extends LeuElement {
15
15
  _getMenu(): any;
16
16
  render(): import("lit-html").TemplateResult<1>;
17
17
  }
18
- import { L as LeuElement } from './LeuElement-78b4a998.js';
18
+ import { L as LeuElement } from './LeuElement-e092765a.js';
19
19
  //# sourceMappingURL=Dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["Dropdown.js"],"names":[],"mappings":"AAmCA;;GAEG;AACH;IAMQ,kBAAqB;IAqBzB,cAAe;IAGf,kEAAkE;IAClE,YADW,OAAO,oBAAoB,EAAE,GAAG,CAAC,iBAAiB,CAAC,CACjC;IAkB/B,gCAIC;IACD,iDAYC;IACD,2BAEC;IAED;;OAEG;IACH,gBAEC;IACD,+CA6BC;CACF;gCAjJqD,0BAA0B"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["Dropdown.js"],"names":[],"mappings":"AA8BA;;GAEG;AACH;IAMQ,kBAAqB;IAqBzB,cAAe;IAGf,kEAAkE;IAClE,YADW,OAAO,oBAAoB,EAAE,GAAG,CAAC,iBAAiB,CAAC,CACjC;IAkB/B,gCAIC;IACD,iDAYC;IACD,2BAEC;IAED;;OAEG;IACH,gBAEC;IACD,+CA6BC;CACF;gCA5IqD,0BAA0B"}
package/dist/Dropdown.js CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html, nothing } from 'lit';
3
3
  import { createRef, ref } from 'lit/directives/ref.js';
4
- import { H as HasSlotController } from './hasSlotController-fd1950b4.js';
4
+ import { H as HasSlotController } from './hasSlotController-d1f26756.js';
5
5
  import { LeuButton } from './Button.js';
6
6
  import { LeuMenu } from './Menu.js';
7
7
  import { LeuMenuItem } from './MenuItem.js';
@@ -11,12 +11,7 @@ import 'lit/directives/if-defined.js';
11
11
  import './Icon.js';
12
12
  import '@floating-ui/dom';
13
13
 
14
- var css_248z = css`:host,
15
- :host * {
16
- box-sizing: border-box;
17
- }
18
-
19
- :host {
14
+ var css_248z = css`:host {
20
15
  position: relative;
21
16
  }
22
17
 
@@ -150,7 +145,7 @@ _defineProperty(LeuDropdown, "dependencies", {
150
145
  "leu-menu-item": LeuMenuItem,
151
146
  "leu-popup": LeuPopup
152
147
  });
153
- _defineProperty(LeuDropdown, "styles", css_248z);
148
+ _defineProperty(LeuDropdown, "styles", [LeuElement.styles, css_248z]);
154
149
  _defineProperty(LeuDropdown, "properties", {
155
150
  label: {
156
151
  type: String,
package/dist/Icon.d.ts CHANGED
@@ -112,5 +112,5 @@ export class LeuIcon extends LeuElement {
112
112
  name: any | "";
113
113
  render(): import("lit-html").TemplateResult<1>;
114
114
  }
115
- import { L as LeuElement } from './LeuElement-78b4a998.js';
115
+ import { L as LeuElement } from './LeuElement-e092765a.js';
116
116
  //# sourceMappingURL=Icon.d.ts.map
package/dist/Icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html, svg } from 'lit';
3
3
 
4
4
  var css_248z = css`svg,
@@ -154,7 +154,7 @@ class LeuIcon extends LeuElement {
154
154
  `;
155
155
  }
156
156
  }
157
- _defineProperty(LeuIcon, "styles", css_248z);
157
+ _defineProperty(LeuIcon, "styles", [LeuElement.styles, css_248z]);
158
158
  _defineProperty(LeuIcon, "properties", {
159
159
  name: {
160
160
  type: String,
package/dist/Input.d.ts CHANGED
@@ -145,6 +145,6 @@ export const SIZES: Readonly<{
145
145
  SMALL: "small";
146
146
  REGULAR: "regular";
147
147
  }>;
148
- import { L as LeuElement } from './LeuElement-78b4a998.js';
148
+ import { L as LeuElement } from './LeuElement-e092765a.js';
149
149
  import { nothing } from 'lit';
150
150
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["Input.js"],"names":[],"mappings":"AAiTA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IACE,kEAKC;IAGC,kBAAqB;IACrB,kBAAqB;IACrB,mBAAsB;IAEtB,kCAAkC;IAClC,MADW,OAAO,GAAG,SAAS,CACL;IACzB,aAAkB;IAClB,eAAqB;IACrB,uBAA4B;IAC5B,oBAAuB;IACvB,cAAe;IAEf,gBAAgB;IAChB,oBAAqB;IAErB;;;OAGG;IACH,WAFU,OAAO,uBAAuB,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAEnC;IAE9B,4BAKC;IAED;;;;;;;;;;OAUG;IACH,2BAIC;IAED;;;;;;OAMG;IACH,mBAKC;IAED;;;;;;OAMG;IACH,sBAEC;IAED;;;;;;;;OAQG;IACH,qBAMC;IAED;;;;;;;OAOG;IACH,oBAOC;IAED;;;;;;;;OAQG;IACH,cAWC;IAED;;;;;;;OAOG;IACH,cAUC;IAED;;;;;;;;;;OAUG;IACH,6BAgBC;IAED;;;OAGG;IACH,uBAFa,OAAO,KAAK,EAAE,cAAc,iBAAU,CAgBlD;IAED;;;;;;OAMG;IACH,2BAsBC;IACD,qBAKC;IACD,+CA2CC;CACF;AAjVD;;;GAGG;gCA5RmD,0BAA0B;wBAC7C,KAAK"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["Input.js"],"names":[],"mappings":"AA4SA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IACE,kEAKC;IAGC,kBAAqB;IACrB,kBAAqB;IACrB,mBAAsB;IAEtB,kCAAkC;IAClC,MADW,OAAO,GAAG,SAAS,CACL;IACzB,aAAkB;IAClB,eAAqB;IACrB,uBAA4B;IAC5B,oBAAuB;IACvB,cAAe;IAEf,gBAAgB;IAChB,oBAAqB;IAErB;;;OAGG;IACH,WAFU,OAAO,uBAAuB,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAEnC;IAE9B,4BAKC;IAED;;;;;;;;;;OAUG;IACH,2BAIC;IAED;;;;;;OAMG;IACH,mBAKC;IAED;;;;;;OAMG;IACH,sBAEC;IAED;;;;;;;;OAQG;IACH,qBAMC;IAED;;;;;;;OAOG;IACH,oBAOC;IAED;;;;;;;;OAQG;IACH,cAWC;IAED;;;;;;;OAOG;IACH,cAUC;IAED;;;;;;;;;;OAUG;IACH,6BAgBC;IAED;;;OAGG;IACH,uBAFa,OAAO,KAAK,EAAE,cAAc,iBAAU,CAgBlD;IAED;;;;;;OAMG;IACH,2BAsBC;IACD,qBAKC;IACD,+CA2CC;CACF;AAjVD;;;GAGG;gCAvRmD,0BAA0B;wBAC7C,KAAK"}
package/dist/Input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, nothing, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { ifDefined } from 'lit/directives/if-defined.js';
@@ -6,12 +6,7 @@ import { live } from 'lit/directives/live.js';
6
6
  import { createRef, ref } from 'lit/directives/ref.js';
7
7
  import { LeuIcon } from './Icon.js';
8
8
 
9
- var css_248z = css`:host,
10
- :host * {
11
- box-sizing: border-box;
12
- }
13
-
14
- :host {
9
+ var css_248z = css`:host {
15
10
  --input-color: var(--leu-color-black-100);
16
11
  --input-color-disabled: var(--leu-color-black-20);
17
12
  --input-color-invalid: var(--leu-color-func-red);
@@ -620,7 +615,7 @@ class LeuInput extends LeuElement {
620
615
  _defineProperty(LeuInput, "dependencies", {
621
616
  "leu-icon": LeuIcon
622
617
  });
623
- _defineProperty(LeuInput, "styles", css_248z);
618
+ _defineProperty(LeuInput, "styles", [LeuElement.styles, css_248z]);
624
619
  /**
625
620
  * @internal
626
621
  */
@@ -4,4 +4,4 @@ declare class LeuElement extends LitElement {
4
4
  declare function _defineProperty(obj: any, key: any, value: any): any;
5
5
  import { LitElement } from 'lit';
6
6
  export { LeuElement as L, _defineProperty as _ };
7
- //# sourceMappingURL=LeuElement-78b4a998.d.ts.map
7
+ //# sourceMappingURL=LeuElement-e092765a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeuElement-e092765a.d.ts","sourceRoot":"","sources":["LeuElement-e092765a.js"],"names":[],"mappings":"AAsCA;IACE,8EAcC;CACF;AApDD,sEAaC;2BAf+B,KAAK"}
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit';
1
+ import { css, LitElement } from 'lit';
2
2
 
3
3
  function _defineProperty(obj, key, value) {
4
4
  key = _toPropertyKey(key);
@@ -29,6 +29,13 @@ function _toPropertyKey(arg) {
29
29
  return typeof key === "symbol" ? key : String(key);
30
30
  }
31
31
 
32
+ var css_248z = css`:host,
33
+ :host * {
34
+ box-sizing: border-box;
35
+ font-feature-settings: var(--leu-t-font-feature-settings);
36
+ }
37
+ `;
38
+
32
39
  class LeuElement extends LitElement {
33
40
  static define(name, constructor = this, options = {}) {
34
41
  Object.entries(this.dependencies).forEach(([n, c]) => c.define(n));
@@ -46,7 +53,8 @@ class LeuElement extends LitElement {
46
53
  }
47
54
  }
48
55
  }
49
- _defineProperty(LeuElement, "version", "0.11.0");
56
+ _defineProperty(LeuElement, "version", "0.11.1");
50
57
  _defineProperty(LeuElement, "dependencies", {});
58
+ _defineProperty(LeuElement, "styles", css_248z);
51
59
 
52
60
  export { LeuElement as L, _defineProperty as _ };
package/dist/Menu.d.ts CHANGED
@@ -25,6 +25,6 @@ export class LeuMenu extends LeuElement {
25
25
  updated(changedProperties: any): void;
26
26
  render(): import("lit-html").TemplateResult<1>;
27
27
  }
28
- import { L as LeuElement } from './LeuElement-78b4a998.js';
28
+ import { L as LeuElement } from './LeuElement-e092765a.js';
29
29
  import { LeuMenuItem } from './MenuItem.js';
30
30
  //# sourceMappingURL=Menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["Menu.js"],"names":[],"mappings":"0BA8Ba,QAAQ,GAAG,UAAU,GAAG,MAAM;AAD3C;;GAEG;AAEH;;;GAGG;AACH;IAII,0BAA0B;IAC1B,SADW,WAAW,CACD;IACrB,WAAsB;IAaxB,0BAGC;IACD,0BAmBC;IAED;;;OAGG;IACH,gBAFa,OAAO,YAAY,EAAE,WAAW,EAAE,CAO9C;IACD,qCAEC;IACD,iCAgBC;IACD,gCAaC;IACD,4BAGC;IACD,qBAEC;IACD,sCAIC;IACD,+CAEC;CACF;gCA5IqD,0BAA0B;4BAEpD,eAAe"}
1
+ {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["Menu.js"],"names":[],"mappings":"0BAyBa,QAAQ,GAAG,UAAU,GAAG,MAAM;AAD3C;;GAEG;AAEH;;;GAGG;AACH;IAII,0BAA0B;IAC1B,SADW,WAAW,CACD;IACrB,WAAsB;IAaxB,0BAGC;IACD,0BAmBC;IAED;;;OAGG;IACH,gBAFa,OAAO,YAAY,EAAE,WAAW,EAAE,CAO9C;IACD,qCAEC;IACD,iCAgBC;IACD,gCAaC;IACD,4BAGC;IACD,qBAEC;IACD,sCAIC;IACD,+CAEC;CACF;gCAvIqD,0BAA0B;4BAEpD,eAAe"}
package/dist/Menu.js CHANGED
@@ -1,15 +1,10 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-e092765a.js';
2
2
  import { css, html } from 'lit';
3
3
  import { LeuMenuItem } from './MenuItem.js';
4
4
  import 'lit/directives/if-defined.js';
5
5
  import './Icon.js';
6
6
 
7
- var css_248z = css`:host,
8
- :host * {
9
- box-sizing: border-box;
10
- }
11
-
12
- :host {
7
+ var css_248z = css`:host {
13
8
  --menu-divider-color: var(--leu-color-black-transp-20);
14
9
  }
15
10
 
@@ -139,7 +134,7 @@ class LeuMenu extends LeuElement {
139
134
  return html`<slot></slot>`;
140
135
  }
141
136
  }
142
- _defineProperty(LeuMenu, "styles", css_248z);
137
+ _defineProperty(LeuMenu, "styles", [LeuElement.styles, css_248z]);
143
138
  _defineProperty(LeuMenu, "shadowRootOptions", {
144
139
  ...LeuElement.shadowRootOptions,
145
140
  delegatesFocus: true