@statistikzh/leu 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/Accordion.d.ts +1 -1
  3. package/dist/Accordion.js +1 -1
  4. package/dist/Breadcrumb.d.ts +1 -1
  5. package/dist/Breadcrumb.js +1 -1
  6. package/dist/Button.d.ts +1 -1
  7. package/dist/Button.js +2 -2
  8. package/dist/ButtonGroup.d.ts +1 -1
  9. package/dist/ButtonGroup.js +1 -1
  10. package/dist/Checkbox.d.ts +1 -1
  11. package/dist/Checkbox.js +1 -1
  12. package/dist/CheckboxGroup.d.ts +1 -1
  13. package/dist/CheckboxGroup.js +1 -1
  14. package/dist/Chip.d.ts +1 -1
  15. package/dist/Chip.js +1 -1
  16. package/dist/ChipGroup.d.ts +1 -1
  17. package/dist/ChipGroup.js +1 -1
  18. package/dist/ChipLink.js +1 -1
  19. package/dist/ChipRemovable.js +1 -1
  20. package/dist/ChipSelectable.js +1 -1
  21. package/dist/Dialog.d.ts +1 -1
  22. package/dist/Dialog.js +2 -2
  23. package/dist/Dropdown.d.ts +1 -1
  24. package/dist/Dropdown.js +2 -2
  25. package/dist/Icon.d.ts +1 -1
  26. package/dist/Icon.js +1 -1
  27. package/dist/Input.d.ts +1 -1
  28. package/dist/Input.js +1 -1
  29. package/dist/{LeuElement-6fbc0dee.d.ts → LeuElement-78b4a998.d.ts} +1 -1
  30. package/dist/LeuElement-78b4a998.d.ts.map +1 -0
  31. package/dist/{LeuElement-6fbc0dee.js → LeuElement-78b4a998.js} +1 -1
  32. package/dist/Menu.d.ts +1 -1
  33. package/dist/Menu.js +1 -1
  34. package/dist/MenuItem.d.ts +1 -1
  35. package/dist/MenuItem.js +1 -1
  36. package/dist/Pagination.d.ts +1 -1
  37. package/dist/Pagination.js +2 -2
  38. package/dist/Popup.d.ts +1 -1
  39. package/dist/Popup.js +1 -1
  40. package/dist/Radio.d.ts +1 -1
  41. package/dist/Radio.js +1 -1
  42. package/dist/RadioGroup.d.ts +1 -1
  43. package/dist/RadioGroup.js +1 -1
  44. package/dist/Range.d.ts +60 -0
  45. package/dist/Range.d.ts.map +1 -0
  46. package/dist/Range.js +414 -0
  47. package/dist/ScrollTop.d.ts +1 -1
  48. package/dist/ScrollTop.js +2 -2
  49. package/dist/Select.d.ts +1 -1
  50. package/dist/Select.js +2 -2
  51. package/dist/Spinner.d.ts +1 -1
  52. package/dist/Spinner.js +1 -1
  53. package/dist/Table.d.ts +1 -1
  54. package/dist/Table.js +2 -2
  55. package/dist/VisuallyHidden.d.ts +1 -1
  56. package/dist/VisuallyHidden.js +1 -1
  57. package/dist/{hasSlotController-04d0dfa2.d.ts → hasSlotController-fd1950b4.d.ts} +1 -1
  58. package/dist/{hasSlotController-04d0dfa2.d.ts.map → hasSlotController-fd1950b4.d.ts.map} +1 -1
  59. package/dist/{hasSlotController-04d0dfa2.js → hasSlotController-fd1950b4.js} +1 -1
  60. package/dist/index.js +2 -2
  61. package/dist/leu-accordion.js +1 -1
  62. package/dist/leu-breadcrumb.js +1 -1
  63. package/dist/leu-button-group.js +1 -1
  64. package/dist/leu-button.js +2 -2
  65. package/dist/leu-checkbox-group.js +1 -1
  66. package/dist/leu-checkbox.js +1 -1
  67. package/dist/leu-chip-group.js +1 -1
  68. package/dist/leu-chip-link.js +1 -1
  69. package/dist/leu-chip-removable.js +1 -1
  70. package/dist/leu-chip-selectable.js +1 -1
  71. package/dist/leu-dialog.js +2 -2
  72. package/dist/leu-dropdown.js +2 -2
  73. package/dist/leu-icon.js +1 -1
  74. package/dist/leu-input.js +1 -1
  75. package/dist/leu-menu-item.js +1 -1
  76. package/dist/leu-menu.js +1 -1
  77. package/dist/leu-pagination.js +2 -2
  78. package/dist/leu-popup.js +1 -1
  79. package/dist/leu-radio-group.js +1 -1
  80. package/dist/leu-radio.js +1 -1
  81. package/dist/leu-range.d.ts +3 -0
  82. package/dist/leu-range.d.ts.map +1 -0
  83. package/dist/leu-range.js +7 -0
  84. package/dist/leu-scroll-top.js +2 -2
  85. package/dist/leu-select.js +2 -2
  86. package/dist/leu-spinner.js +1 -1
  87. package/dist/leu-table.js +2 -2
  88. package/dist/leu-visually-hidden.js +1 -1
  89. package/dist/vscode.html-custom-data.json +20 -0
  90. package/dist/vue/index.d.ts +41 -0
  91. package/dist/web-types.json +45 -1
  92. package/package.json +1 -1
  93. package/src/components/range/Range.js +237 -0
  94. package/src/components/range/leu-range.js +5 -0
  95. package/src/components/range/range.css +181 -0
  96. package/src/components/range/stories/range-slider.stories.js +142 -0
  97. package/src/components/range/test/range-test.js +24 -0
  98. package/dist/LeuElement-6fbc0dee.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.0](https://github.com/statistikZH/leu/compare/v0.10.0...v0.11.0) (2024-10-07)
4
+
5
+
6
+ ### Features
7
+
8
+ * **range:** implement range element ([2a87ed0](https://github.com/statistikZH/leu/commit/2a87ed0095e67b6e01dbc888f151e36cb82ad44d))
9
+
3
10
  ## [0.10.0](https://github.com/statistikZH/leu/compare/v0.9.0...v0.10.0) (2024-09-12)
4
11
 
5
12
 
@@ -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-6fbc0dee.js';
31
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
67
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
44
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-04d0dfa2.js';
6
+ import { H as HasSlotController } from './hasSlotController-fd1950b4.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-6fbc0dee.js';
23
+ import { L as LeuElement } from './LeuElement-78b4a998.js';
24
24
  //# sourceMappingURL=ButtonGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
2
2
  import { css, html } from 'lit';
3
3
 
4
4
  var css_248z = css`:host,
@@ -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-6fbc0dee.js';
13
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
13
+ import { L as LeuElement } from './LeuElement-78b4a998.js';
14
14
  //# sourceMappingURL=CheckboxGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
4
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
2
2
  import { css } from 'lit';
3
3
 
4
4
  var css_248z = css`:host,
@@ -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-6fbc0dee.js';
35
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty } from './LeuElement-78b4a998.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-6fbc0dee.js';
16
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-04d0dfa2.js';
5
+ import { H as HasSlotController } from './hasSlotController-fd1950b4.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-6fbc0dee.js';
18
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-04d0dfa2.js';
4
+ import { H as HasSlotController } from './hasSlotController-fd1950b4.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-6fbc0dee.js';
115
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
148
+ import { L as LeuElement } from './LeuElement-78b4a998.js';
149
149
  import { nothing } from 'lit';
150
150
  //# sourceMappingURL=Input.d.ts.map
package/dist/Input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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';
@@ -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-6fbc0dee.d.ts.map
7
+ //# sourceMappingURL=LeuElement-78b4a998.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeuElement-78b4a998.d.ts","sourceRoot":"","sources":["LeuElement-78b4a998.js"],"names":[],"mappings":"AA+BA;IACE,8EAcC;CACF;AA7CD,sEAaC;2BAf0B,KAAK"}
@@ -46,7 +46,7 @@ class LeuElement extends LitElement {
46
46
  }
47
47
  }
48
48
  }
49
- _defineProperty(LeuElement, "version", "0.10.0");
49
+ _defineProperty(LeuElement, "version", "0.11.0");
50
50
  _defineProperty(LeuElement, "dependencies", {});
51
51
 
52
52
  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-6fbc0dee.js';
28
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
40
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
33
+ import { L as LeuElement } from './LeuElement-78b4a998.js';
34
34
  //# sourceMappingURL=Pagination.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-04d0dfa2.js';
9
+ import './hasSlotController-fd1950b4.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-6fbc0dee.js';
35
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
13
+ import { L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.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-6fbc0dee.js';
19
+ import { L as LeuElement } from './LeuElement-78b4a998.js';
20
20
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, L as LeuElement } from './LeuElement-6fbc0dee.js';
1
+ import { _ as _defineProperty, L as LeuElement } from './LeuElement-78b4a998.js';
2
2
  import { css, html } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
 
@@ -0,0 +1,60 @@
1
+ /**
2
+ * @tagname leu-range
3
+ */
4
+ export class LeuRange extends LeuElement {
5
+ defaultValue: number[];
6
+ min: number;
7
+ max: number;
8
+ step: number;
9
+ name: string;
10
+ label: string;
11
+ disabled: boolean;
12
+ multiple: boolean;
13
+ updated(): void;
14
+ _updateStyles(): void;
15
+ /**
16
+ * Sets the value of the underlying input element(s).
17
+ * The value has to be an array if "multiple" range is used.
18
+ * Otherwise it has to be a string.
19
+ * @param {string | Array} value
20
+ */
21
+ set value(value: string | any[]);
22
+ get value(): string | any[];
23
+ get valueAsArray(): number[];
24
+ get valueLow(): string | number;
25
+ get valueHigh(): string | number;
26
+ /**
27
+ * @returns {HTMLInputElement | null}
28
+ */
29
+ _getBaseInput(): HTMLInputElement | null;
30
+ /**
31
+ * @returns {HTMLInputElement | null}
32
+ */
33
+ _getGhostInput(): HTMLInputElement | null;
34
+ /**
35
+ *
36
+ * @param {number} _index
37
+ * @param {InputEvent & {target: HTMLInputElement}} _e
38
+ */
39
+ _handleInput(_index: number, _e: InputEvent & {
40
+ target: HTMLInputElement;
41
+ }): void;
42
+ /**
43
+ *
44
+ * @param {number} value
45
+ * @returns {number}
46
+ */
47
+ _getNormalizedValue(value: number): number;
48
+ _getNormalizedRange(): number[];
49
+ /**
50
+ * Determine if the "click" (pointer event) is closer the
51
+ * the value of the other input element. Swap the values if this is the case.
52
+ * @param {PointerEvent & {target: HTMLInputElement}} e
53
+ */
54
+ _handlePointerDown(e: PointerEvent & {
55
+ target: HTMLInputElement;
56
+ }): void;
57
+ render(): import("lit-html").TemplateResult<1>;
58
+ }
59
+ import { L as LeuElement } from './LeuElement-78b4a998.js';
60
+ //# sourceMappingURL=Range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["Range.js"],"names":[],"mappings":"AA2MA;;GAEG;AACH;IAGI,uBAAwB;IACxB,YAAY;IACZ,YAAc;IACd,aAAa;IACb,aAAc;IACd,cAAe;IACf,kBAAqB;IACrB,kBAAqB;IAEvB,gBAEC;IACD,sBAYC;IAMD;;;;;OAKG;IACH,iCAWC;IAtBD,4BAGC;IAoBD,6BAEC;IACD,gCAMC;IACD,iCAMC;IAED;;OAEG;IACH,iBAFa,gBAAgB,GAAG,IAAI,CAInC;IAED;;OAEG;IACH,kBAFa,gBAAgB,GAAG,IAAI,CAInC;IAED;;;;OAIG;IACH,qBAHW,MAAM,MACN,UAAU,GAAG;QAAC,MAAM,EAAE,gBAAgB,CAAA;KAAC,QAIjD;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,MAAM,CAIlB;IACD,gCAKC;IAED;;;;OAIG;IACH,sBAFW,YAAY,GAAG;QAAC,MAAM,EAAE,gBAAgB,CAAA;KAAC,QAanD;IACD,+CAyCC;CACF;gCApXqD,0BAA0B"}