@statistikzh/leu 0.12.0 → 0.12.2

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 (91) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +7 -14
  3. package/dist/Accordion.d.ts +1 -1
  4. package/dist/Accordion.js +1 -1
  5. package/dist/Breadcrumb.d.ts +1 -1
  6. package/dist/Breadcrumb.js +1 -1
  7. package/dist/Button.d.ts +1 -1
  8. package/dist/Button.js +2 -2
  9. package/dist/ButtonGroup.d.ts +1 -1
  10. package/dist/ButtonGroup.js +1 -1
  11. package/dist/Checkbox.d.ts +1 -1
  12. package/dist/Checkbox.js +1 -1
  13. package/dist/CheckboxGroup.d.ts +1 -1
  14. package/dist/CheckboxGroup.js +1 -1
  15. package/dist/Chip.d.ts +1 -1
  16. package/dist/Chip.js +1 -1
  17. package/dist/ChipGroup.d.ts +1 -1
  18. package/dist/ChipGroup.js +1 -1
  19. package/dist/ChipLink.js +1 -1
  20. package/dist/ChipRemovable.js +1 -1
  21. package/dist/ChipSelectable.js +1 -1
  22. package/dist/Dialog.d.ts +1 -1
  23. package/dist/Dialog.js +2 -2
  24. package/dist/Dropdown.d.ts +1 -1
  25. package/dist/Dropdown.js +2 -2
  26. package/dist/Icon.d.ts +1 -1
  27. package/dist/Icon.js +1 -1
  28. package/dist/Input.d.ts +1 -1
  29. package/dist/Input.d.ts.map +1 -1
  30. package/dist/Input.js +6 -1
  31. package/dist/{LeuElement-d661ef10.d.ts → LeuElement-519af050.d.ts} +1 -1
  32. package/dist/LeuElement-519af050.d.ts.map +1 -0
  33. package/dist/{LeuElement-d661ef10.js → LeuElement-519af050.js} +1 -1
  34. package/dist/Menu.d.ts +1 -1
  35. package/dist/Menu.js +1 -1
  36. package/dist/MenuItem.d.ts +1 -1
  37. package/dist/MenuItem.js +1 -1
  38. package/dist/Pagination.d.ts +1 -1
  39. package/dist/Pagination.js +2 -2
  40. package/dist/Popup.d.ts +1 -1
  41. package/dist/Popup.js +1 -1
  42. package/dist/Radio.d.ts +1 -1
  43. package/dist/Radio.js +1 -1
  44. package/dist/RadioGroup.d.ts +1 -1
  45. package/dist/RadioGroup.js +1 -1
  46. package/dist/Range.d.ts +1 -1
  47. package/dist/Range.js +1 -1
  48. package/dist/ScrollTop.d.ts +1 -1
  49. package/dist/ScrollTop.js +2 -2
  50. package/dist/Select.d.ts +1 -1
  51. package/dist/Select.js +2 -2
  52. package/dist/Spinner.d.ts +1 -1
  53. package/dist/Spinner.js +1 -1
  54. package/dist/Table.d.ts +1 -1
  55. package/dist/Table.js +2 -2
  56. package/dist/VisuallyHidden.d.ts +1 -1
  57. package/dist/VisuallyHidden.js +1 -1
  58. package/dist/{hasSlotController-bfe693e4.d.ts → hasSlotController-bf769658.d.ts} +1 -1
  59. package/dist/{hasSlotController-bfe693e4.d.ts.map → hasSlotController-bf769658.d.ts.map} +1 -1
  60. package/dist/{hasSlotController-bfe693e4.js → hasSlotController-bf769658.js} +1 -1
  61. package/dist/index.js +2 -2
  62. package/dist/leu-accordion.js +1 -1
  63. package/dist/leu-breadcrumb.js +1 -1
  64. package/dist/leu-button-group.js +1 -1
  65. package/dist/leu-button.js +2 -2
  66. package/dist/leu-checkbox-group.js +1 -1
  67. package/dist/leu-checkbox.js +1 -1
  68. package/dist/leu-chip-group.js +1 -1
  69. package/dist/leu-chip-link.js +1 -1
  70. package/dist/leu-chip-removable.js +1 -1
  71. package/dist/leu-chip-selectable.js +1 -1
  72. package/dist/leu-dialog.js +2 -2
  73. package/dist/leu-dropdown.js +2 -2
  74. package/dist/leu-icon.js +1 -1
  75. package/dist/leu-input.js +1 -1
  76. package/dist/leu-menu-item.js +1 -1
  77. package/dist/leu-menu.js +1 -1
  78. package/dist/leu-pagination.js +2 -2
  79. package/dist/leu-popup.js +1 -1
  80. package/dist/leu-radio-group.js +1 -1
  81. package/dist/leu-radio.js +1 -1
  82. package/dist/leu-range.js +1 -1
  83. package/dist/leu-scroll-top.js +2 -2
  84. package/dist/leu-select.js +2 -2
  85. package/dist/leu-spinner.js +1 -1
  86. package/dist/leu-table.js +2 -2
  87. package/dist/leu-visually-hidden.js +1 -1
  88. package/dist/web-types.json +1 -1
  89. package/package.json +1 -1
  90. package/src/components/input/input.css +5 -0
  91. package/dist/LeuElement-d661ef10.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.2](https://github.com/statistikZH/leu/compare/v0.12.1...v0.12.2) (2024-12-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **input:** define an explicit height for small sized input ([b25bedb](https://github.com/statistikZH/leu/commit/b25bedb7aa85cc798e571faa4ad32c4ef6bb14f2))
9
+
10
+ ## [0.12.1](https://github.com/statistikZH/leu/compare/v0.12.0...v0.12.1) (2024-12-04)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **input:** define explicit height of native input field to ensure consistent height of the element ([63527d8](https://github.com/statistikZH/leu/commit/63527d86c1e311fccefd2c2dcff50bcd2d6d6ed7))
16
+
3
17
  ## [0.12.0](https://github.com/statistikZH/leu/compare/v0.11.1...v0.12.0) (2024-12-02)
4
18
 
5
19
 
package/README.md CHANGED
@@ -113,11 +113,11 @@ At the same time they're not set in stone. If the there is a good reason to chan
113
113
 
114
114
  ### Naming
115
115
 
116
- Every element, class or custom property that will be globally available has to be prefixed with `leu`.
116
+ Every element or custom property that will be globally available has to be prefixed with `leu`.
117
117
 
118
118
  ```js
119
119
  /* Custom elements */
120
- class LeuRadio extends LitElement {
120
+ class LeuRadio extends LeuElement {
121
121
  ...
122
122
  }
123
123
 
@@ -125,12 +125,7 @@ window.customElements.define("leu-input", LeuInput)
125
125
  ```
126
126
 
127
127
  ```css
128
- /* CSS class */
129
- .leu-radio-group {
130
- ...;
131
- }
132
-
133
- /* CSS custom property */
128
+ /* CSS custom property of the theme */
134
129
  :root {
135
130
  --leu-color-black-0: #000;
136
131
  }
@@ -138,10 +133,10 @@ window.customElements.define("leu-input", LeuInput)
138
133
 
139
134
  ### Scoped styles
140
135
 
141
- All CSS declarations should, whenever possible, always live inside a custom element. This way we ensure that the styles won't interfere with the environment they're loaded into.
142
- The only exceptions are `@font-face` statements and custom property declarations.
136
+ All CSS declarations have to live inside a custom element. This way we ensure that the styles won't interfere with the environment they're loaded into.
143
137
  Styles that are shared between components should be defined as global custom properties inside the `styles/custom-properties.css`.
144
- When a global custom property is used inside a component it should always be assigned to a local custom property in the `:host` declaration block.
138
+ When a global custom property is used inside a component it could be a good practice to assign them to a local custom property with a semantic naming.
139
+ This only make a sense when the component has a certain complexity and the global custom property are used multiple times.
145
140
 
146
141
  ```css
147
142
  :host {
@@ -180,13 +175,11 @@ Thanks to the following people who have contributed to this project
180
175
  Dan Büschlen <br>
181
176
  dan.bueschlen@statistik.ji.zh.ch <br>
182
177
 
183
- ![Twitter Follow](https://img.shields.io/twitter/follow/statistik_zh?style=social)
184
-
185
178
  ## License
186
179
 
187
180
  This project uses the following license: <br>
188
181
 
189
- - Code license: [Copyright (c) <2023> <Statistisches Amt Kanton Zürich>](LICENSE)
182
+ - Code license: [Copyright (c) <2024> <Statistisches Amt Kanton Zürich>](LICENSE)
190
183
 
191
184
  ## Guidelines for contributing
192
185
 
@@ -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-d661ef10.js';
31
+ import { L as LeuElement } from './LeuElement-519af050.js';
32
32
  //# sourceMappingURL=Accordion.d.ts.map
package/dist/Accordion.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, nothing } from 'lit';
3
3
  import { html, unsafeStatic } from 'lit/static-html.js';
4
4
 
@@ -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-d661ef10.js';
67
+ import { L as LeuElement } from './LeuElement-519af050.js';
68
68
  import { nothing } from 'lit';
69
69
  //# sourceMappingURL=Breadcrumb.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.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';
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-d661ef10.js';
44
+ import { L as LeuElement } from './LeuElement-519af050.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-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.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-bfe693e4.js';
6
+ import { H as HasSlotController } from './hasSlotController-bf769658.js';
7
7
 
8
8
  /**
9
9
  * All roles that are associated with a aria-checked attribute
@@ -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-d661ef10.js';
23
+ import { L as LeuElement } from './LeuElement-519af050.js';
24
24
  //# sourceMappingURL=ButtonGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
4
  var css_248z = css`.group {
@@ -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-d661ef10.js';
13
+ import { L as LeuElement } from './LeuElement-519af050.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-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { LeuIcon } from './Icon.js';
4
4
 
@@ -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-d661ef10.js';
13
+ import { L as LeuElement } from './LeuElement-519af050.js';
14
14
  //# sourceMappingURL=CheckboxGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
 
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-d661ef10.js';
4
+ import { L as LeuElement } from './LeuElement-519af050.js';
5
5
  //# sourceMappingURL=Chip.d.ts.map
package/dist/Chip.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css } from 'lit';
3
3
 
4
4
  var css_248z = css`:host *::before,
@@ -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-d661ef10.js';
35
+ import { L as LeuElement } from './LeuElement-519af050.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-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { html, unsafeStatic } from 'lit/static-html.js';
3
3
  import { css } from 'lit';
4
4
 
package/dist/ChipLink.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty } from './LeuElement-519af050.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-d661ef10.js';
1
+ import { _ as _defineProperty } from './LeuElement-519af050.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-d661ef10.js';
1
+ import { _ as _defineProperty } from './LeuElement-519af050.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-d661ef10.js';
16
+ import { L as LeuElement } from './LeuElement-519af050.js';
17
17
  //# sourceMappingURL=Dialog.d.ts.map
package/dist/Dialog.js CHANGED
@@ -1,8 +1,8 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.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-bfe693e4.js';
5
+ import { H as HasSlotController } from './hasSlotController-bf769658.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 */
@@ -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-d661ef10.js';
18
+ import { L as LeuElement } from './LeuElement-519af050.js';
19
19
  //# sourceMappingURL=Dropdown.d.ts.map
package/dist/Dropdown.js CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.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-bfe693e4.js';
4
+ import { H as HasSlotController } from './hasSlotController-bf769658.js';
5
5
  import { LeuButton } from './Button.js';
6
6
  import { LeuMenu } from './Menu.js';
7
7
  import { LeuMenuItem } from './MenuItem.js';
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-d661ef10.js';
115
+ import { L as LeuElement } from './LeuElement-519af050.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-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html, svg } from 'lit';
3
3
 
4
4
  var css_248z = css`svg,
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-d661ef10.js';
148
+ import { L as LeuElement } from './LeuElement-519af050.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":"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"}
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"}
package/dist/Input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.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';
@@ -32,6 +32,9 @@ var css_248z = css`:host {
32
32
  --input-font-regular: var(--leu-font-family-regular);
33
33
  --input-font-black: var(--leu-font-family-black);
34
34
 
35
+ --input-height: 4.5rem;
36
+ --input-height-small: 3rem;
37
+
35
38
  display: block;
36
39
  font-family: var(--leu-font-family-regular);
37
40
  font-family: var(--input-font-regular);
@@ -97,6 +100,7 @@ var css_248z = css`:host {
97
100
  padding-top: 2rem;
98
101
 
99
102
  padding-bottom: 1rem;
103
+ height: calc(var(--input-height) - var(--input-border-width) * 2);
100
104
  }
101
105
 
102
106
  .input:focus-visible {
@@ -104,6 +108,7 @@ var css_248z = css`:host {
104
108
  }
105
109
 
106
110
  :host([size="small"]) .input {
111
+ --input-height: var(--input-height-small);
107
112
  padding-top: 0.75rem;
108
113
  padding-bottom: 0.75rem;
109
114
  }
@@ -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-d661ef10.d.ts.map
7
+ //# sourceMappingURL=LeuElement-519af050.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeuElement-519af050.d.ts","sourceRoot":"","sources":["LeuElement-519af050.js"],"names":[],"mappings":"AAsCA;IACE,8EAcC;CACF;AApDD,sEAaC;2BAf+B,KAAK"}
@@ -53,7 +53,7 @@ class LeuElement extends LitElement {
53
53
  }
54
54
  }
55
55
  }
56
- _defineProperty(LeuElement, "version", "0.12.0");
56
+ _defineProperty(LeuElement, "version", "0.12.2");
57
57
  _defineProperty(LeuElement, "dependencies", {});
58
58
  _defineProperty(LeuElement, "styles", css_248z);
59
59
 
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-d661ef10.js';
28
+ import { L as LeuElement } from './LeuElement-519af050.js';
29
29
  import { LeuMenuItem } from './MenuItem.js';
30
30
  //# sourceMappingURL=Menu.d.ts.map
package/dist/Menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { LeuMenuItem } from './MenuItem.js';
4
4
  import 'lit/directives/if-defined.js';
@@ -37,6 +37,6 @@ export class LeuMenuItem extends LeuElement {
37
37
  _renderBeforeSlotDefault(): import("lit-html").TemplateResult<1> | typeof nothing;
38
38
  render(): import("lit-html").TemplateResult<1>;
39
39
  }
40
- import { L as LeuElement } from './LeuElement-d661ef10.js';
40
+ import { L as LeuElement } from './LeuElement-519af050.js';
41
41
  import { nothing } from 'lit';
42
42
  //# sourceMappingURL=MenuItem.d.ts.map
package/dist/MenuItem.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html, nothing } from 'lit';
3
3
  import { ifDefined } from 'lit/directives/if-defined.js';
4
4
  import { LeuIcon } from './Icon.js';
@@ -30,5 +30,5 @@ export class LeuPagination extends LeuElement {
30
30
  _handleKeyDown(event: any): void;
31
31
  render(): import("lit-html").TemplateResult<1>;
32
32
  }
33
- import { L as LeuElement } from './LeuElement-d661ef10.js';
33
+ import { L as LeuElement } from './LeuElement-519af050.js';
34
34
  //# sourceMappingURL=Pagination.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { live } from 'lit/directives/live.js';
4
4
  import { LeuButton } from './Button.js';
@@ -6,7 +6,7 @@ import { LeuVisuallyHidden } from './VisuallyHidden.js';
6
6
  import { LeuIcon } from './Icon.js';
7
7
  import 'lit/directives/class-map.js';
8
8
  import 'lit/directives/if-defined.js';
9
- import './hasSlotController-bfe693e4.js';
9
+ import './hasSlotController-bf769658.js';
10
10
 
11
11
  var css_248z = css`:host {
12
12
  margin-top: 16px;
package/dist/Popup.d.ts CHANGED
@@ -32,5 +32,5 @@ export class LeuPopup extends LeuElement {
32
32
  handleAnchorChange(): void;
33
33
  render(): import("lit-html").TemplateResult<1>;
34
34
  }
35
- import { L as LeuElement } from './LeuElement-d661ef10.js';
35
+ import { L as LeuElement } from './LeuElement-519af050.js';
36
36
  //# sourceMappingURL=Popup.d.ts.map
package/dist/Popup.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { autoUpdate, size, flip, shift, computePosition } from '@floating-ui/dom';
4
4
 
package/dist/Radio.d.ts CHANGED
@@ -10,5 +10,5 @@ export class LeuRadio 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-d661ef10.js';
13
+ import { L as LeuElement } from './LeuElement-519af050.js';
14
14
  //# sourceMappingURL=Radio.d.ts.map
package/dist/Radio.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
4
  var css_248z = css`:host {
@@ -16,5 +16,5 @@ export class LeuRadioGroup extends LeuElement {
16
16
  initializeIndex(): void;
17
17
  render(): import("lit-html").TemplateResult<1>;
18
18
  }
19
- import { L as LeuElement } from './LeuElement-d661ef10.js';
19
+ import { L as LeuElement } from './LeuElement-519af050.js';
20
20
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
 
package/dist/Range.d.ts CHANGED
@@ -56,5 +56,5 @@ export class LeuRange extends LeuElement {
56
56
  }): void;
57
57
  render(): import("lit-html").TemplateResult<1>;
58
58
  }
59
- import { L as LeuElement } from './LeuElement-d661ef10.js';
59
+ import { L as LeuElement } from './LeuElement-519af050.js';
60
60
  //# sourceMappingURL=Range.d.ts.map
package/dist/Range.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
4
  var css_248z = css`:host {
@@ -15,5 +15,5 @@ export class LeuScrollTop extends LeuElement {
15
15
  _scrollListener: Function;
16
16
  render(): import("lit-html").TemplateResult<1>;
17
17
  }
18
- import { L as LeuElement } from './LeuElement-d661ef10.js';
18
+ import { L as LeuElement } from './LeuElement-519af050.js';
19
19
  //# sourceMappingURL=ScrollTop.d.ts.map
package/dist/ScrollTop.js CHANGED
@@ -1,11 +1,11 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { LeuButton } from './Button.js';
5
5
  import { LeuIcon } from './Icon.js';
6
6
  import { t as throttle } from './utils-65469421.js';
7
7
  import 'lit/directives/if-defined.js';
8
- import './hasSlotController-bfe693e4.js';
8
+ import './hasSlotController-bf769658.js';
9
9
 
10
10
  var css_248z = css`.scroll-top {
11
11
  overflow: hidden;
package/dist/Select.d.ts CHANGED
@@ -131,6 +131,6 @@ export class LeuSelect extends LeuElement {
131
131
  _renderToggleButton(): import("lit-html").TemplateResult<1>;
132
132
  render(): import("lit-html").TemplateResult<1>;
133
133
  }
134
- import { L as LeuElement } from './LeuElement-d661ef10.js';
134
+ import { L as LeuElement } from './LeuElement-519af050.js';
135
135
  import { nothing } from 'lit';
136
136
  //# sourceMappingURL=Select.d.ts.map
package/dist/Select.js CHANGED
@@ -1,9 +1,9 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, nothing, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { createRef, ref } from 'lit/directives/ref.js';
5
5
  import { ifDefined } from 'lit/directives/if-defined.js';
6
- import { H as HasSlotController } from './hasSlotController-bfe693e4.js';
6
+ import { H as HasSlotController } from './hasSlotController-bf769658.js';
7
7
  import { LeuButton } from './Button.js';
8
8
  import { LeuMenu } from './Menu.js';
9
9
  import { LeuMenuItem } from './MenuItem.js';
package/dist/Spinner.d.ts CHANGED
@@ -5,5 +5,5 @@
5
5
  export class LeuSpinner extends LeuElement {
6
6
  render(): import("lit-html").TemplateResult<1>;
7
7
  }
8
- import { L as LeuElement } from './LeuElement-d661ef10.js';
8
+ import { L as LeuElement } from './LeuElement-519af050.js';
9
9
  //# sourceMappingURL=Spinner.d.ts.map
package/dist/Spinner.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
4
  var css_248z = css`@keyframes leu-spinner-rotate {
package/dist/Table.d.ts CHANGED
@@ -40,5 +40,5 @@ export class LeuTable extends LeuElement {
40
40
  get _data(): any[];
41
41
  render(): import("lit-html").TemplateResult<1>;
42
42
  }
43
- import { L as LeuElement } from './LeuElement-d661ef10.js';
43
+ import { L as LeuElement } from './LeuElement-519af050.js';
44
44
  //# sourceMappingURL=Table.d.ts.map
package/dist/Table.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html, nothing } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { styleMap } from 'lit/directives/style-map.js';
@@ -8,7 +8,7 @@ import { LeuPagination } from './Pagination.js';
8
8
  import 'lit/directives/live.js';
9
9
  import './Button.js';
10
10
  import 'lit/directives/if-defined.js';
11
- import './hasSlotController-bfe693e4.js';
11
+ import './hasSlotController-bf769658.js';
12
12
  import './VisuallyHidden.js';
13
13
 
14
14
  var css_248z = css`:host {
@@ -4,5 +4,5 @@
4
4
  export class LeuVisuallyHidden extends LeuElement {
5
5
  render(): import("lit-html").TemplateResult<1>;
6
6
  }
7
- import { L as LeuElement } from './LeuElement-d661ef10.js';
7
+ import { L as LeuElement } from './LeuElement-519af050.js';
8
8
  //# sourceMappingURL=VisuallyHidden.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-519af050.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
4
  var css_248z = css`:host {
@@ -35,4 +35,4 @@ declare class HasSlotController implements ReactiveController {
35
35
  hostConnected(): void;
36
36
  hostDisconnected(): void;
37
37
  }
38
- //# sourceMappingURL=hasSlotController-bfe693e4.d.ts.map
38
+ //# sourceMappingURL=hasSlotController-bf769658.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hasSlotController-bfe693e4.d.ts","sourceRoot":"","sources":["hasSlotController-bfe693e4.js"],"names":[],"mappings":";;;;iCASa,OAAO,KAAK,EAAE,kBAAkB;AAP7C;;;GAGG;AAEH;;;;GAIG;AACH;IACE,uCAcC;IAHC,UAAgB;IAEhB,eAA0B;IAG5B;;;OAGG;IACH,uBAeC;IAED;;;;OAIG;IACH,qBAEC;IAED;;;OAGG;IACH,gCAEC;IACD,sBAEC;IACD,yBAEC;CACF"}
1
+ {"version":3,"file":"hasSlotController-bf769658.d.ts","sourceRoot":"","sources":["hasSlotController-bf769658.js"],"names":[],"mappings":";;;;iCASa,OAAO,KAAK,EAAE,kBAAkB;AAP7C;;;GAGG;AAEH;;;;GAIG;AACH;IACE,uCAcC;IAHC,UAAgB;IAEhB,eAA0B;IAG5B;;;OAGG;IACH,uBAeC;IAED;;;;OAIG;IACH,qBAEC;IAED;;;OAGG;IACH,gCAEC;IACD,sBAEC;IACD,yBAEC;CACF"}
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './LeuElement-d661ef10.js';
1
+ import { _ as _defineProperty } from './LeuElement-519af050.js';
2
2
 
3
3
  /**
4
4
  * Thanks Shoelace!
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-d661ef10.js';
21
+ import './LeuElement-519af050.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-bfe693e4.js';
30
+ import './hasSlotController-bf769658.js';
31
31
  import './Chip.js';
32
32
  import 'lit/directives/live.js';
33
33
  import '@floating-ui/dom';
@@ -1,5 +1,5 @@
1
1
  import { LeuAccordion } from './Accordion.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/static-html.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuBreadcrumb } from './Breadcrumb.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/ref.js';
5
5
  import 'lit/directives/class-map.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuButtonGroup } from './ButtonGroup.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuButtonGroup.define("leu-button-group");
@@ -1,10 +1,10 @@
1
1
  import { LeuButton } from './Button.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.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-bfe693e4.js';
7
+ import './hasSlotController-bf769658.js';
8
8
 
9
9
  LeuButton.define("leu-button");
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { LeuCheckboxGroup } from './CheckboxGroup.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuCheckbox } from './Checkbox.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import './Icon.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuChipGroup } from './ChipGroup.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/static-html.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuChipLink } from './ChipLink.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import './Chip.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuChipRemovable } from './ChipRemovable.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import './Chip.js';
5
5
  import './Icon.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuChipSelectable } from './ChipSelectable.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import './Chip.js';
5
5
 
@@ -1,9 +1,9 @@
1
1
  import { LeuDialog } from './Dialog.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/ref.js';
5
5
  import 'lit/directives/class-map.js';
6
- import './hasSlotController-bfe693e4.js';
6
+ import './hasSlotController-bf769658.js';
7
7
  import './Icon.js';
8
8
 
9
9
  LeuDialog.define("leu-dialog");
@@ -1,8 +1,8 @@
1
1
  import { LeuDropdown } from './Dropdown.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/ref.js';
5
- import './hasSlotController-bfe693e4.js';
5
+ import './hasSlotController-bf769658.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
@@ -1,5 +1,5 @@
1
1
  import { LeuIcon } from './Icon.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuIcon.define("leu-icon");
package/dist/leu-input.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuInput } from './Input.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
  import 'lit/directives/if-defined.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuMenuItem } from './MenuItem.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/if-defined.js';
5
5
  import './Icon.js';
package/dist/leu-menu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuMenu } from './Menu.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import './MenuItem.js';
5
5
  import 'lit/directives/if-defined.js';
@@ -1,12 +1,12 @@
1
1
  import { LeuPagination } from './Pagination.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.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-bfe693e4.js';
9
+ import './hasSlotController-bf769658.js';
10
10
  import './VisuallyHidden.js';
11
11
 
12
12
  LeuPagination.define("leu-pagination");
package/dist/leu-popup.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuPopup } from './Popup.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import '@floating-ui/dom';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LeuRadioGroup } from './RadioGroup.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
  import 'lit/directives/class-map.js';
5
5
 
package/dist/leu-radio.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuRadio } from './Radio.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuRadio.define("leu-radio");
package/dist/leu-range.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuRange } from './Range.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuRange.define("leu-range");
@@ -1,11 +1,11 @@
1
1
  import { LeuScrollTop } from './ScrollTop.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.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-bfe693e4.js';
8
+ import './hasSlotController-bf769658.js';
9
9
  import './utils-65469421.js';
10
10
 
11
11
  LeuScrollTop.define("leu-scroll-top");
@@ -1,10 +1,10 @@
1
1
  import { LeuSelect } from './Select.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.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-bfe693e4.js';
7
+ import './hasSlotController-bf769658.js';
8
8
  import './Button.js';
9
9
  import './Icon.js';
10
10
  import './Menu.js';
@@ -1,5 +1,5 @@
1
1
  import { LeuSpinner } from './Spinner.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuSpinner.define("leu-spinner");
package/dist/leu-table.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LeuTable } from './Table.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.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-bfe693e4.js';
12
+ import './hasSlotController-bf769658.js';
13
13
  import './VisuallyHidden.js';
14
14
 
15
15
  LeuTable.define("leu-table");
@@ -1,5 +1,5 @@
1
1
  import { LeuVisuallyHidden } from './VisuallyHidden.js';
2
- import './LeuElement-d661ef10.js';
2
+ import './LeuElement-519af050.js';
3
3
  import 'lit';
4
4
 
5
5
  LeuVisuallyHidden.define("leu-visually-hidden");
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@statistikzh/leu",
4
- "version": "0.12.0",
4
+ "version": "0.12.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UI component library of the canton of zurich",
4
4
  "license": "MIT",
5
5
  "author": "statistikzh",
6
- "version": "0.12.0",
6
+ "version": "0.12.2",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.js",
@@ -24,6 +24,9 @@
24
24
  --input-font-regular: var(--leu-font-family-regular);
25
25
  --input-font-black: var(--leu-font-family-black);
26
26
 
27
+ --input-height: 4.5rem;
28
+ --input-height-small: 3rem;
29
+
27
30
  display: block;
28
31
  font-family: var(--input-font-regular);
29
32
  }
@@ -78,6 +81,7 @@
78
81
  background: var(--leu-color-black-0);
79
82
 
80
83
  padding-block: 2rem 1rem;
84
+ height: calc(var(--input-height) - var(--input-border-width) * 2);
81
85
  }
82
86
 
83
87
  .input:focus-visible {
@@ -85,6 +89,7 @@
85
89
  }
86
90
 
87
91
  :host([size="small"]) .input {
92
+ --input-height: var(--input-height-small);
88
93
  padding-block: 0.75rem;
89
94
  }
90
95
 
@@ -1 +0,0 @@
1
- {"version":3,"file":"LeuElement-d661ef10.d.ts","sourceRoot":"","sources":["LeuElement-d661ef10.js"],"names":[],"mappings":"AAsCA;IACE,8EAcC;CACF;AApDD,sEAaC;2BAf+B,KAAK"}