@statistikzh/leu 0.3.0 → 0.5.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 (295) hide show
  1. package/.github/workflows/deploy-github-pages.yaml +33 -0
  2. package/.storybook/main.js +27 -1
  3. package/.storybook/manager-head.html +1 -0
  4. package/.storybook/manager.js +9 -0
  5. package/.storybook/preview-head.html +1 -1
  6. package/.storybook/preview.js +59 -6
  7. package/.storybook/static/logo.svg +19 -0
  8. package/.storybook/theme.js +7 -0
  9. package/CHANGELOG.md +54 -0
  10. package/README.md +1 -1
  11. package/custom-elements-manifest.config.js +46 -0
  12. package/dist/Accordion.d.ts +31 -0
  13. package/dist/Accordion.d.ts.map +1 -0
  14. package/dist/Accordion.js +257 -0
  15. package/dist/Breadcrumb.d.ts +69 -0
  16. package/dist/Breadcrumb.d.ts.map +1 -0
  17. package/dist/Breadcrumb.js +392 -0
  18. package/dist/Button-da11d064.d.ts +84 -0
  19. package/dist/Button-da11d064.d.ts.map +1 -0
  20. package/dist/Button-da11d064.js +542 -0
  21. package/dist/Button.d.ts +2 -0
  22. package/dist/Button.d.ts.map +1 -0
  23. package/dist/Button.js +6 -423
  24. package/dist/ButtonGroup.d.ts +24 -0
  25. package/dist/ButtonGroup.d.ts.map +1 -0
  26. package/dist/ButtonGroup.js +72 -43
  27. package/dist/Checkbox.d.ts +13 -0
  28. package/dist/Checkbox.d.ts.map +1 -0
  29. package/dist/Checkbox.js +101 -84
  30. package/dist/CheckboxGroup.d.ts +13 -0
  31. package/dist/CheckboxGroup.d.ts.map +1 -0
  32. package/dist/CheckboxGroup.js +41 -37
  33. package/dist/Chip.d.ts +5 -0
  34. package/dist/Chip.d.ts.map +1 -0
  35. package/dist/{Chip-5f70d04f.js → Chip.js} +21 -6
  36. package/dist/ChipGroup.d.ts +28 -0
  37. package/dist/ChipGroup.d.ts.map +1 -0
  38. package/dist/ChipGroup.js +64 -10
  39. package/dist/ChipLink.d.ts +15 -0
  40. package/dist/ChipLink.d.ts.map +1 -0
  41. package/dist/ChipLink.js +4 -7
  42. package/dist/ChipRemovable.d.ts +13 -0
  43. package/dist/ChipRemovable.d.ts.map +1 -0
  44. package/dist/ChipRemovable.js +5 -8
  45. package/dist/ChipSelectable.d.ts +22 -0
  46. package/dist/ChipSelectable.d.ts.map +1 -0
  47. package/dist/ChipSelectable.js +8 -11
  48. package/dist/Dropdown.d.ts +15 -0
  49. package/dist/Dropdown.d.ts.map +1 -0
  50. package/dist/Dropdown.js +73 -26
  51. package/dist/Input.d.ts +154 -0
  52. package/dist/Input.d.ts.map +1 -0
  53. package/dist/Input.js +42 -35
  54. package/dist/Menu.d.ts +8 -0
  55. package/dist/Menu.d.ts.map +1 -0
  56. package/dist/Menu.js +2 -5
  57. package/dist/MenuItem.d.ts +21 -0
  58. package/dist/MenuItem.d.ts.map +1 -0
  59. package/dist/MenuItem.js +32 -17
  60. package/dist/Pagination.d.ts +27 -0
  61. package/dist/Pagination.d.ts.map +1 -0
  62. package/dist/Pagination.js +121 -89
  63. package/dist/Popup.d.ts +18 -0
  64. package/dist/Popup.d.ts.map +1 -0
  65. package/dist/Popup.js +215 -0
  66. package/dist/Radio.d.ts +12 -0
  67. package/dist/Radio.d.ts.map +1 -0
  68. package/dist/Radio.js +9 -8
  69. package/dist/RadioGroup.d.ts +20 -0
  70. package/dist/RadioGroup.d.ts.map +1 -0
  71. package/dist/RadioGroup.js +41 -39
  72. package/dist/ScrollTop.d.ts +19 -0
  73. package/dist/ScrollTop.d.ts.map +1 -0
  74. package/dist/ScrollTop.js +122 -0
  75. package/dist/Select.d.ts +98 -0
  76. package/dist/Select.d.ts.map +1 -0
  77. package/dist/Select.js +79 -122
  78. package/dist/Table.d.ts +48 -0
  79. package/dist/Table.d.ts.map +1 -0
  80. package/dist/Table.js +141 -121
  81. package/dist/VisuallyHidden.d.ts +8 -0
  82. package/dist/VisuallyHidden.d.ts.map +1 -0
  83. package/dist/VisuallyHidden.js +28 -0
  84. package/dist/_rollupPluginBabelHelpers-20f659f4.d.ts +3 -0
  85. package/dist/_rollupPluginBabelHelpers-20f659f4.d.ts.map +1 -0
  86. package/dist/{defineElement-ba770aed.js → _rollupPluginBabelHelpers-20f659f4.js} +1 -15
  87. package/dist/defineElement-40372b4b.d.ts +9 -0
  88. package/dist/defineElement-40372b4b.d.ts.map +1 -0
  89. package/dist/defineElement-40372b4b.js +15 -0
  90. package/dist/icon-03e86700.d.ts +11 -0
  91. package/dist/icon-03e86700.d.ts.map +1 -0
  92. package/dist/index.js.d.ts +21 -0
  93. package/dist/index.js.d.ts.map +1 -0
  94. package/dist/index.js.js +42 -0
  95. package/dist/leu-accordion.d.ts +3 -0
  96. package/dist/leu-accordion.d.ts.map +1 -0
  97. package/dist/leu-accordion.js +9 -0
  98. package/dist/leu-breadcrumb.d.ts +3 -0
  99. package/dist/leu-breadcrumb.d.ts.map +1 -0
  100. package/dist/leu-breadcrumb.js +23 -0
  101. package/dist/leu-button-group.d.ts +3 -0
  102. package/dist/leu-button-group.d.ts.map +1 -0
  103. package/dist/leu-button-group.js +6 -6
  104. package/dist/leu-button.d.ts +3 -0
  105. package/dist/leu-button.d.ts.map +1 -0
  106. package/dist/leu-button.js +7 -3
  107. package/dist/leu-checkbox-group.d.ts +3 -0
  108. package/dist/leu-checkbox-group.d.ts.map +1 -0
  109. package/dist/leu-checkbox-group.js +6 -3
  110. package/dist/leu-checkbox.d.ts +3 -0
  111. package/dist/leu-checkbox.d.ts.map +1 -0
  112. package/dist/leu-checkbox.js +6 -3
  113. package/dist/leu-chip-group.d.ts +3 -0
  114. package/dist/leu-chip-group.d.ts.map +1 -0
  115. package/dist/leu-chip-group.js +7 -3
  116. package/dist/leu-chip-link.d.ts +3 -0
  117. package/dist/leu-chip-link.d.ts.map +1 -0
  118. package/dist/leu-chip-link.js +7 -4
  119. package/dist/leu-chip-removable.d.ts +3 -0
  120. package/dist/leu-chip-removable.d.ts.map +1 -0
  121. package/dist/leu-chip-removable.js +7 -4
  122. package/dist/leu-chip-selectable.d.ts +3 -0
  123. package/dist/leu-chip-selectable.d.ts.map +1 -0
  124. package/dist/leu-chip-selectable.js +7 -4
  125. package/dist/leu-dropdown.d.ts +3 -0
  126. package/dist/leu-dropdown.d.ts.map +1 -0
  127. package/dist/leu-dropdown.js +15 -4
  128. package/dist/leu-input.d.ts +3 -0
  129. package/dist/leu-input.d.ts.map +1 -0
  130. package/dist/leu-input.js +7 -3
  131. package/dist/leu-menu-item.d.ts +3 -0
  132. package/dist/leu-menu-item.d.ts.map +1 -0
  133. package/dist/leu-menu-item.js +8 -3
  134. package/dist/leu-menu.d.ts +3 -0
  135. package/dist/leu-menu.d.ts.map +1 -0
  136. package/dist/leu-menu.js +6 -3
  137. package/dist/leu-pagination.d.ts +3 -0
  138. package/dist/leu-pagination.d.ts.map +1 -0
  139. package/dist/leu-pagination.js +12 -4
  140. package/dist/leu-popup.d.ts +3 -0
  141. package/dist/leu-popup.d.ts.map +1 -0
  142. package/dist/leu-popup.js +9 -0
  143. package/dist/leu-radio-group.d.ts +3 -0
  144. package/dist/leu-radio-group.d.ts.map +1 -0
  145. package/dist/leu-radio-group.js +6 -3
  146. package/dist/leu-radio.d.ts +3 -0
  147. package/dist/leu-radio.d.ts.map +1 -0
  148. package/dist/leu-radio.js +6 -3
  149. package/dist/leu-scroll-top.d.ts +3 -0
  150. package/dist/leu-scroll-top.d.ts.map +1 -0
  151. package/dist/leu-scroll-top.js +14 -0
  152. package/dist/leu-select.d.ts +3 -0
  153. package/dist/leu-select.d.ts.map +1 -0
  154. package/dist/leu-select.js +16 -4
  155. package/dist/leu-table.d.ts +3 -0
  156. package/dist/leu-table.d.ts.map +1 -0
  157. package/dist/leu-table.js +13 -4
  158. package/dist/leu-visually-hidden.d.ts +3 -0
  159. package/dist/leu-visually-hidden.d.ts.map +1 -0
  160. package/dist/leu-visually-hidden.js +8 -0
  161. package/dist/theme.css +386 -2
  162. package/dist/utils-65469421.d.ts +16 -0
  163. package/dist/utils-65469421.d.ts.map +1 -0
  164. package/dist/utils-65469421.js +35 -0
  165. package/index.js +3 -0
  166. package/package.json +47 -17
  167. package/postcss.config.cjs +2 -0
  168. package/rollup.config.js +21 -40
  169. package/scripts/generate-component/templates/[Name].js +0 -5
  170. package/scripts/generate-component/templates/[name].css +3 -3
  171. package/scripts/generate-component/templates/[namespace]-[name].js +5 -2
  172. package/scripts/postcss-leu-font-styles.cjs +160 -0
  173. package/src/components/accordion/Accordion.js +0 -6
  174. package/src/components/accordion/accordion.css +2 -2
  175. package/src/components/accordion/leu-accordion.js +5 -2
  176. package/src/components/accordion/stories/accordion.stories.js +8 -4
  177. package/src/components/accordion/test/accordion.test.js +95 -3
  178. package/src/components/breadcrumb/Breadcrumb.js +311 -0
  179. package/src/components/breadcrumb/breadcrumb.css +103 -0
  180. package/src/components/breadcrumb/leu-breadcrumb.js +6 -0
  181. package/src/components/breadcrumb/stories/breadcrumb.stories.js +73 -0
  182. package/src/components/breadcrumb/test/breadcrumb.test.js +141 -0
  183. package/src/components/button/Button.js +76 -20
  184. package/src/components/button/button.css +13 -5
  185. package/src/components/button/leu-button.js +5 -2
  186. package/src/components/button/stories/button.stories.js +79 -105
  187. package/src/components/button/test/button.test.js +184 -3
  188. package/src/components/button-group/ButtonGroup.js +76 -40
  189. package/src/components/button-group/leu-button-group.js +5 -2
  190. package/src/components/button-group/stories/button-group.stories.js +19 -6
  191. package/src/components/button-group/test/button-group.test.js +87 -4
  192. package/src/components/checkbox/Checkbox.js +6 -85
  193. package/src/components/checkbox/CheckboxGroup.js +8 -38
  194. package/src/components/checkbox/checkbox-group.css +29 -0
  195. package/src/components/checkbox/checkbox.css +76 -0
  196. package/src/components/checkbox/leu-checkbox-group.js +5 -2
  197. package/src/components/checkbox/leu-checkbox.js +5 -2
  198. package/src/components/checkbox/stories/checkbox-group.stories.js +44 -21
  199. package/src/components/checkbox/stories/checkbox.stories.js +7 -1
  200. package/src/components/checkbox/test/checkbox-group.test.js +124 -0
  201. package/src/components/checkbox/test/checkbox.test.js +72 -59
  202. package/src/components/chip/Chip.js +1 -0
  203. package/src/components/chip/ChipGroup.js +42 -7
  204. package/src/components/chip/ChipLink.js +1 -6
  205. package/src/components/chip/ChipRemovable.js +2 -7
  206. package/src/components/chip/ChipSelectable.js +5 -10
  207. package/src/components/chip/chip-group.css +12 -2
  208. package/src/components/chip/chip.css +14 -3
  209. package/src/components/chip/exports.js +4 -10
  210. package/src/components/chip/leu-chip-group.js +5 -2
  211. package/src/components/chip/leu-chip-link.js +5 -2
  212. package/src/components/chip/leu-chip-removable.js +5 -2
  213. package/src/components/chip/leu-chip-selectable.js +5 -2
  214. package/src/components/chip/stories/chip-group.stories.js +110 -44
  215. package/src/components/chip/stories/chip-link.stories.js +16 -4
  216. package/src/components/chip/stories/chip-removable.stories.js +15 -4
  217. package/src/components/chip/stories/chip-selectable.stories.js +13 -3
  218. package/src/components/chip/test/chip-group.test.js +124 -0
  219. package/src/components/chip/test/chip-link.test.js +58 -0
  220. package/src/components/chip/test/chip-removable.test.js +79 -0
  221. package/src/components/chip/test/chip-selectable.test.js +95 -0
  222. package/src/components/chip/test/chip.test.js +1 -1
  223. package/src/components/dropdown/Dropdown.js +72 -24
  224. package/src/components/dropdown/dropdown.css +1 -2
  225. package/src/components/dropdown/leu-dropdown.js +5 -2
  226. package/src/components/dropdown/stories/dropdown.stories.js +11 -5
  227. package/src/components/dropdown/test/dropdown.test.js +6 -6
  228. package/src/components/icon/icon.js +1 -1
  229. package/src/components/icon/test/icon.test.js +66 -0
  230. package/src/components/input/Input.js +25 -28
  231. package/src/components/input/input.css +11 -8
  232. package/src/components/input/leu-input.js +5 -2
  233. package/src/components/input/stories/input.stories.js +21 -2
  234. package/src/components/input/test/input.test.js +432 -4
  235. package/src/components/menu/Menu.js +0 -5
  236. package/src/components/menu/MenuItem.js +20 -13
  237. package/src/components/menu/leu-menu-item.js +5 -2
  238. package/src/components/menu/leu-menu.js +5 -2
  239. package/src/components/menu/menu-item.css +7 -4
  240. package/src/components/menu/stories/menu-item.stories.js +13 -4
  241. package/src/components/menu/stories/menu.stories.js +11 -5
  242. package/src/components/menu/test/menu-item.test.js +180 -0
  243. package/src/components/menu/test/menu.test.js +10 -2
  244. package/src/components/pagination/Pagination.js +118 -99
  245. package/src/components/pagination/leu-pagination.js +5 -2
  246. package/src/components/pagination/pagination.css +6 -1
  247. package/src/components/pagination/stories/pagination.stories.js +30 -9
  248. package/src/components/pagination/test/pagination.test.js +191 -5
  249. package/src/components/popup/Popup.js +200 -0
  250. package/src/components/popup/leu-popup.js +6 -0
  251. package/src/components/popup/popup.css +27 -0
  252. package/src/components/popup/stories/popup.stories.js +58 -0
  253. package/src/components/popup/test/popup.test.js +29 -0
  254. package/src/components/radio/Radio.js +2 -6
  255. package/src/components/radio/RadioGroup.js +6 -38
  256. package/src/components/radio/leu-radio-group.js +5 -2
  257. package/src/components/radio/leu-radio.js +5 -2
  258. package/src/components/radio/radio-group.css +29 -0
  259. package/src/components/radio/radio.css +1 -1
  260. package/src/components/radio/stories/radio-group.stories.js +38 -19
  261. package/src/components/radio/stories/radio.stories.js +7 -1
  262. package/src/components/radio/test/radio-group.test.js +86 -0
  263. package/src/components/radio/test/radio.test.js +108 -17
  264. package/src/components/scroll-top/ScrollTop.js +87 -0
  265. package/src/components/scroll-top/leu-scroll-top.js +6 -0
  266. package/src/components/scroll-top/scroll-top.css +34 -0
  267. package/src/components/scroll-top/stories/scroll-top.stories.js +217 -0
  268. package/src/components/scroll-top/test/scroll-top.test.js +22 -0
  269. package/src/components/select/Select.js +58 -37
  270. package/src/components/select/leu-select.js +5 -2
  271. package/src/components/select/select.css +15 -15
  272. package/src/components/select/stories/select.stories.js +15 -168
  273. package/src/components/select/test/fixtures.js +162 -0
  274. package/src/components/select/test/select.test.js +236 -12
  275. package/src/components/table/Table.js +43 -118
  276. package/src/components/table/leu-table.js +5 -2
  277. package/src/components/table/stories/table.stories.js +20 -10
  278. package/src/components/table/table.css +99 -0
  279. package/src/components/table/test/table.test.js +1 -1
  280. package/src/components/visually-hidden/VisuallyHidden.js +13 -0
  281. package/src/components/visually-hidden/leu-visually-hidden.js +6 -0
  282. package/src/components/visually-hidden/stories/visually-hidden.stories.js +22 -0
  283. package/src/components/visually-hidden/test/visually-hidden.test.js +36 -0
  284. package/src/components/visually-hidden/visually-hidden.css +10 -0
  285. package/src/lib/defineElement.js +1 -1
  286. package/src/lib/hasSlotController.js +5 -3
  287. package/src/lib/utils.js +35 -0
  288. package/src/styles/custom-properties.css +6 -2
  289. package/src/styles/font-definitions.json +202 -0
  290. package/stylelint.config.mjs +2 -0
  291. package/tsconfig.build.json +21 -0
  292. package/tsconfig.json +16 -0
  293. package/{web-dev-server-storybook.config.mjs → web-dev-server.config.mjs} +1 -2
  294. package/web-test-runner.config.mjs +15 -2
  295. package/dist/index.js +0 -26
package/dist/Table.js CHANGED
@@ -1,11 +1,120 @@
1
- import { _ as _defineProperty, d as defineElement } from './defineElement-ba770aed.js';
1
+ import { _ as _defineProperty } from './_rollupPluginBabelHelpers-20f659f4.js';
2
2
  import { css, LitElement, html, nothing } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
4
  import { styleMap } from 'lit/directives/style-map.js';
5
5
  import { createRef, ref } from 'lit/directives/ref.js';
6
6
  import { I as Icon } from './icon-03e86700.js';
7
- import { definePaginationElements } from './Pagination.js';
8
- import './Button.js';
7
+ import './leu-pagination.js';
8
+ import './defineElement-40372b4b.js';
9
+ import './Pagination.js';
10
+ import 'lit/directives/live.js';
11
+ import './leu-button.js';
12
+ import './Button-da11d064.js';
13
+ import 'lit/directives/if-defined.js';
14
+ import './leu-visually-hidden.js';
15
+ import './VisuallyHidden.js';
16
+
17
+ var css_248z = css`:host {
18
+ position: relative;
19
+ display: block;
20
+ }
21
+
22
+ div.scroll {
23
+ display: inline-block;
24
+ width: 100%;
25
+ overflow: auto;
26
+ }
27
+
28
+ div.shadow {
29
+ position: absolute;
30
+ left: 0;
31
+ top: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ pointer-events: none;
35
+ z-index: 1;
36
+ }
37
+
38
+ div.pagination {
39
+ height: calc(100% - 66px);
40
+ }
41
+
42
+ table {
43
+ width: 100%;
44
+ border-spacing: 0;
45
+ color: rgba(0, 0, 0, 0.6);
46
+ font-size: 16px;
47
+ font-family: var(--leu-font-family-regular);
48
+ line-height: 1.5;
49
+ }
50
+
51
+ td {
52
+ padding: 12px;
53
+ }
54
+
55
+ th {
56
+ padding: 16px 16px 8px;
57
+ text-align: left;
58
+ font-size: 12px;
59
+ font-weight: normal;
60
+ font-family: var(--leu-font-family-black);
61
+ background: var(--table-even-row-bg);
62
+ }
63
+
64
+ td:first-child,
65
+ th:first-child {
66
+ left: 0;
67
+ background: inherit;
68
+ z-index: 1;
69
+ }
70
+
71
+ tr {
72
+ background: #fff;
73
+ }
74
+
75
+ tbody tr:nth-child(odd) {
76
+ background: var(--leu-color-black-5);
77
+ }
78
+
79
+ button {
80
+ background: none;
81
+ cursor: pointer;
82
+ line-height: 1.5;
83
+ padding: 0;
84
+ border: 0;
85
+ width: 100%;
86
+ display: flex;
87
+ align-items: flex-center;
88
+ font-size: inherit;
89
+ font-family: inherit;
90
+ }
91
+
92
+ thead svg {
93
+ display: inline-block;
94
+ color: var(--leu-color-accent-blue);
95
+ padding: 0;
96
+ }
97
+
98
+ table.sticky td:first-child,
99
+ table.sticky th:first-child {
100
+ position: sticky;
101
+ }
102
+
103
+ div.shadow-left table.sticky td:first-child,
104
+ div.shadow-left table.sticky th:first-child {
105
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
106
+ -webkit-clip-path: inset(0 -15px 0 0);
107
+ clip-path: inset(0 -15px 0 0);
108
+ }
109
+
110
+ div.shadow-left {
111
+ box-shadow: inset 5px 0 5px -5px rgba(0, 0, 0, 0.5);
112
+ }
113
+
114
+ div.shadow-right {
115
+ box-shadow: inset -5px 0 5px -5px rgba(0, 0, 0, 0.5);
116
+ }
117
+ `;
9
118
 
10
119
  /**
11
120
  * @tagname leu-table
@@ -20,7 +129,7 @@ class LeuTable extends LitElement {
20
129
  /** @type {boolean} */
21
130
  this.firstColumnSticky = false;
22
131
  /** @type {number} */
23
- this.itemsOnAPage = null;
132
+ this.itemsPerPage = null;
24
133
  /** @type {number} */
25
134
  this.sortIndex = null;
26
135
  /** @type {boolean} */
@@ -38,13 +147,25 @@ class LeuTable extends LitElement {
38
147
  this._shadowRight = false;
39
148
  /** @internal */
40
149
  this._scrollRef = createRef();
150
+
41
151
  /** @internal */
42
- this._min = 0;
43
- /** @internal */
44
- this._max = null;
152
+ this._page = 1;
153
+ this._resizeObserver = new ResizeObserver(() => {
154
+ this.shadowToggle(this._scrollRef.value);
155
+ });
156
+ }
157
+ disconnectedCallback() {
158
+ this._resizeObserver.disconnect();
159
+ }
160
+ attributeChangedCallback(name, oldVal, newVal) {
161
+ super.attributeChangedCallback(name, oldVal, newVal);
162
+ if (name === "itemsperpage" || name === "data") {
163
+ this._page = 1;
164
+ }
45
165
  }
46
166
  firstUpdated() {
47
167
  this.shadowToggle(this._scrollRef.value);
168
+ this._resizeObserver.observe(this._scrollRef.value);
48
169
  }
49
170
  shadowToggle(target) {
50
171
  this._shadowLeft = target.scrollLeftMax > 0 && target.scrollLeft > 0;
@@ -91,7 +212,7 @@ class LeuTable extends LitElement {
91
212
  return this.data.sort(this.sortOrderAsc ? col.sort.asc : col.sort.desc);
92
213
  }
93
214
  get _data() {
94
- return this.itemsOnAPage && this.itemsOnAPage > 0 ? this._sortedData.slice(this._min, this._max) : this._sortedData;
215
+ return this.itemsPerPage && this.itemsPerPage > 0 ? this._sortedData.slice((this._page - 1) * this.itemsPerPage, this._page * this.itemsPerPage) : this._sortedData;
95
216
  }
96
217
  render() {
97
218
  const scrollClasses = {
@@ -101,12 +222,12 @@ class LeuTable extends LitElement {
101
222
  const shadowClassesLeft = {
102
223
  shadow: true,
103
224
  "shadow-left": !this.firstColumnSticky && this._shadowLeft,
104
- pagination: this.itemsOnAPage > 0
225
+ pagination: this.itemsPerPage > 0
105
226
  };
106
227
  const shadowClassesRight = {
107
228
  shadow: true,
108
229
  "shadow-right": this._shadowRight,
109
- pagination: this.itemsOnAPage > 0
230
+ pagination: this.itemsPerPage > 0
110
231
  };
111
232
  const stickyClass = {
112
233
  sticky: this.firstColumnSticky
@@ -142,17 +263,13 @@ class LeuTable extends LitElement {
142
263
  <div class=${classMap(shadowClassesRight)}></div>
143
264
  </div>
144
265
 
145
- ${this.itemsOnAPage > 0 ? html`
266
+ ${this.itemsPerPage > 0 ? html`
146
267
  <leu-pagination
147
- .dataLength=${this._sortedData.length}
148
- .itemsOnAPage=${this.itemsOnAPage}
149
- @range-updated=${e => {
150
- this._min = e.detail.min;
151
- this._max = e.detail.max;
152
- // after render
153
- setTimeout(() => {
154
- this.shadowToggle(this._scrollRef.value);
155
- }, 0);
268
+ .numOfItems=${this._sortedData.length}
269
+ .itemsPerPage=${this.itemsPerPage}
270
+ page=${this._page}
271
+ @leu:pagechange=${e => {
272
+ this._page = e.detail.page;
156
273
  }}
157
274
  >
158
275
  </leu-pagination>
@@ -160,93 +277,7 @@ class LeuTable extends LitElement {
160
277
  `;
161
278
  }
162
279
  }
163
- _defineProperty(LeuTable, "styles", css`
164
- :host {
165
- position: relative;
166
- display: block;
167
- }
168
- div.scroll {
169
- display: inline-block;
170
- width: 100%;
171
- overflow: auto;
172
- }
173
- div.shadow {
174
- position: absolute;
175
- left: 0;
176
- top: 0;
177
- width: 100%;
178
- height: 100%;
179
- pointer-events: none;
180
- z-index: 1;
181
- }
182
- div.pagination {
183
- height: calc(100% - 66px);
184
- }
185
- table {
186
- width: 100%;
187
- border-spacing: 0;
188
- color: rgb(0 0 0 / 60%);
189
- font-size: 16px;
190
- font-family: var(--leu-font-regular);
191
- line-height: 1.5;
192
- }
193
- td {
194
- padding: 12px;
195
- }
196
- th {
197
- padding: 16px 16px 8px;
198
- text-align: left;
199
- font-size: 12px;
200
- font-weight: normal;
201
- font-family: var(--leu-font-black);
202
- background: var(--table-even-row-bg);
203
- }
204
- td:first-child,
205
- th:first-child {
206
- left: 0;
207
- background: inherit;
208
- z-index: 1;
209
- }
210
- tr {
211
- background: #fff;
212
- }
213
- tbody tr:nth-child(odd) {
214
- background: var(--leu-color-black-5);
215
- }
216
- button {
217
- background: none;
218
- cursor: pointer;
219
- line-height: 1.5;
220
- padding: 0;
221
- border: 0;
222
- width: 100%;
223
- display: flex;
224
- align-items: flex-center;
225
- font-size: inherit;
226
- font-family: inherit;
227
- }
228
- thead svg {
229
- display: inline-block;
230
- color: var(--leu-color-accent-blue);
231
- padding: 0;
232
- }
233
-
234
- table.sticky td:first-child,
235
- table.sticky th:first-child {
236
- position: sticky;
237
- }
238
- div.shadow-left table.sticky td:first-child,
239
- div.shadow-left table.sticky th:first-child {
240
- box-shadow: 0 0 5px rgb(0 0 0 / 50%);
241
- clip-path: inset(0 -15px 0 0);
242
- }
243
- div.shadow-left {
244
- box-shadow: inset 5px 0 5px -5px rgb(0 0 0 / 50%);
245
- }
246
- div.shadow-right {
247
- box-shadow: inset -5px 0 5px -5px rgb(0 0 0 / 50%);
248
- }
249
- `);
280
+ _defineProperty(LeuTable, "styles", css_248z);
250
281
  _defineProperty(LeuTable, "properties", {
251
282
  columns: {
252
283
  type: Array
@@ -258,7 +289,7 @@ _defineProperty(LeuTable, "properties", {
258
289
  type: Boolean,
259
290
  reflect: true
260
291
  },
261
- itemsOnAPage: {
292
+ itemsPerPage: {
262
293
  type: Number,
263
294
  reflect: true
264
295
  },
@@ -275,25 +306,14 @@ _defineProperty(LeuTable, "properties", {
275
306
  reflect: true
276
307
  },
277
308
  _shadowLeft: {
278
- type: Boolean,
279
309
  state: true
280
310
  },
281
311
  _shadowRight: {
282
- type: Boolean,
283
312
  state: true
284
313
  },
285
- _min: {
286
- type: Number,
287
- state: true
288
- },
289
- _max: {
290
- type: Number,
314
+ _page: {
291
315
  state: true
292
316
  }
293
317
  });
294
- function defineTableElements() {
295
- definePaginationElements();
296
- defineElement("table", LeuTable);
297
- }
298
318
 
299
- export { LeuTable, defineTableElements };
319
+ export { LeuTable };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @tagname leu-visually-hidden
3
+ */
4
+ export class LeuVisuallyHidden extends LitElement {
5
+ render(): import("lit-html").TemplateResult<1>;
6
+ }
7
+ import { LitElement } from 'lit';
8
+ //# sourceMappingURL=VisuallyHidden.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["VisuallyHidden.js"],"names":[],"mappings":"AAiBA;;GAEG;AACH;IACE,+CAEC;CACF;2BAvBqC,KAAK"}
@@ -0,0 +1,28 @@
1
+ import { _ as _defineProperty } from './_rollupPluginBabelHelpers-20f659f4.js';
2
+ import { css, LitElement, html } from 'lit';
3
+
4
+ var css_248z = css`:host {
5
+ margin: -1px !important;
6
+ padding: 0 !important;
7
+ }
8
+ :host {
9
+ clip: rect(0 0 0 0);
10
+ border: 0;
11
+ height: 1px;
12
+ overflow: hidden;
13
+ position: absolute;
14
+ width: 1px;
15
+ }
16
+ `;
17
+
18
+ /**
19
+ * @tagname leu-visually-hidden
20
+ */
21
+ class LeuVisuallyHidden extends LitElement {
22
+ render() {
23
+ return html`<slot></slot>`;
24
+ }
25
+ }
26
+ _defineProperty(LeuVisuallyHidden, "styles", css_248z);
27
+
28
+ export { LeuVisuallyHidden };
@@ -0,0 +1,3 @@
1
+ export { _defineProperty as _ };
2
+ declare function _defineProperty(obj: any, key: any, value: any): any;
3
+ //# sourceMappingURL=_rollupPluginBabelHelpers-20f659f4.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_rollupPluginBabelHelpers-20f659f4.d.ts","sourceRoot":"","sources":["_rollupPluginBabelHelpers-20f659f4.js"],"names":[],"mappings":";AAAA,sEAaC"}
@@ -27,18 +27,4 @@ function _toPropertyKey(arg) {
27
27
  return typeof key === "symbol" ? key : String(key);
28
28
  }
29
29
 
30
- /**
31
- * Adds a definition for a custom element to the custom element
32
- * registry if it isn't defined before. Prefixes the name with `leu-`.
33
- * @param {string} name
34
- * @param {HTMLElement} constructor
35
- */
36
- function defineElement(name, constructor) {
37
- if (!customElements.get(`leu-${name}`)) {
38
- customElements.define(`leu-${name}`, constructor);
39
- } else {
40
- console.info(`leu-${name} is already defined`);
41
- }
42
- }
43
-
44
- export { _defineProperty as _, defineElement as d };
30
+ export { _defineProperty as _ };
@@ -0,0 +1,9 @@
1
+ export { defineElement as d };
2
+ /**
3
+ * Adds a definition for a custom element to the custom element
4
+ * registry if it isn't defined before. Prefixes the name with `leu-`.
5
+ * @param {string} name
6
+ * @param {CustomElementConstructor} constructor
7
+ */
8
+ declare function defineElement(name: string, constructor: CustomElementConstructor): void;
9
+ //# sourceMappingURL=defineElement-40372b4b.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defineElement-40372b4b.d.ts","sourceRoot":"","sources":["defineElement-40372b4b.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,qCAHW,MAAM,eACN,wBAAwB,QAQlC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Adds a definition for a custom element to the custom element
3
+ * registry if it isn't defined before. Prefixes the name with `leu-`.
4
+ * @param {string} name
5
+ * @param {CustomElementConstructor} constructor
6
+ */
7
+ function defineElement(name, constructor) {
8
+ if (!customElements.get(`leu-${name}`)) {
9
+ customElements.define(`leu-${name}`, constructor);
10
+ } else {
11
+ console.info(`leu-${name} is already defined`);
12
+ }
13
+ }
14
+
15
+ export { defineElement as d };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Returns an (ZhWeb) icon with a default size of 24px.
3
+ * The CSS color is inherited from the parent object.
4
+ * @param {'addNew'|'angleDropDown'|'angleDropup'|'angleLeft'|'angleRight'|'arrowDown'|'arrowLeft'|'arrowRight'|'arrowUp'|'calendar'|'caution'|'chatMessage'|'check'|'check1'|'clear'|'close'|'conference'|'confirm'|'confirmPlain'|'delete'|'documents'|'download'|'edit'|'email'|'file'|'fileOutline'|'files'|'filter'|'floppy'|'forward'|'getInformation'|'hide'|'home'|'layer1'|'layer11'|'link'|'list'|'lock'|'location'|'login'|'logout'|'map'|'mapLocateMe'|'mapLocation'|'mapNavigation'|'mapPin'|'menu'|'menuOverflow'|'minus'|'openMail'|'overflow'|'paperplane'|'paragraph'|'phoneCall'|'pin'|'plus'|'print'|'remove'|'resizeText'|'search'|'show'|'time'|'upload'|'cc'|'fastForward'|'fastRewind'|'fullScreen'|'next'|'pause'|'play'|'playButton'|'previews'|'skipNext'|'skipPrevious'|'stop'|'comment'|'facebook'|'google'|'instagram'|'kununu'|'like'|'linkedin'|'love'|'repost'|'share'|'snapchat'|'twitter'|'user'|'users'|'vote'|'xing'|'youtube'|'youtubeLogo'|'smileyThrilled'|'smileySmile'|'smileyIndifferent'|'smileySad'|'smileyDevastated'} name
5
+ * @param {number} size
6
+ * @returns TemplateResult<1>
7
+ */
8
+ declare function Icon(name: 'addNew' | 'angleDropDown' | 'angleDropup' | 'angleLeft' | 'angleRight' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'calendar' | 'caution' | 'chatMessage' | 'check' | 'check1' | 'clear' | 'close' | 'conference' | 'confirm' | 'confirmPlain' | 'delete' | 'documents' | 'download' | 'edit' | 'email' | 'file' | 'fileOutline' | 'files' | 'filter' | 'floppy' | 'forward' | 'getInformation' | 'hide' | 'home' | 'layer1' | 'layer11' | 'link' | 'list' | 'lock' | 'location' | 'login' | 'logout' | 'map' | 'mapLocateMe' | 'mapLocation' | 'mapNavigation' | 'mapPin' | 'menu' | 'menuOverflow' | 'minus' | 'openMail' | 'overflow' | 'paperplane' | 'paragraph' | 'phoneCall' | 'pin' | 'plus' | 'print' | 'remove' | 'resizeText' | 'search' | 'show' | 'time' | 'upload' | 'cc' | 'fastForward' | 'fastRewind' | 'fullScreen' | 'next' | 'pause' | 'play' | 'playButton' | 'previews' | 'skipNext' | 'skipPrevious' | 'stop' | 'comment' | 'facebook' | 'google' | 'instagram' | 'kununu' | 'like' | 'linkedin' | 'love' | 'repost' | 'share' | 'snapchat' | 'twitter' | 'user' | 'users' | 'vote' | 'xing' | 'youtube' | 'youtubeLogo' | 'smileyThrilled' | 'smileySmile' | 'smileyIndifferent' | 'smileySad' | 'smileyDevastated', size?: number): import("lit-html").TemplateResult<1>;
9
+ declare const ICON_NAMES: string[];
10
+ export { Icon as I, ICON_NAMES as a };
11
+ //# sourceMappingURL=icon-03e86700.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-03e86700.d.ts","sourceRoot":"","sources":["icon-03e86700.js"],"names":[],"mappings":"AAiHA;;;;;;GAMG;AACH,4BAJW,QAAQ,GAAC,eAAe,GAAC,aAAa,GAAC,WAAW,GAAC,YAAY,GAAC,WAAW,GAAC,WAAW,GAAC,YAAY,GAAC,SAAS,GAAC,UAAU,GAAC,SAAS,GAAC,aAAa,GAAC,OAAO,GAAC,QAAQ,GAAC,OAAO,GAAC,OAAO,GAAC,YAAY,GAAC,SAAS,GAAC,cAAc,GAAC,QAAQ,GAAC,WAAW,GAAC,UAAU,GAAC,MAAM,GAAC,OAAO,GAAC,MAAM,GAAC,aAAa,GAAC,OAAO,GAAC,QAAQ,GAAC,QAAQ,GAAC,SAAS,GAAC,gBAAgB,GAAC,MAAM,GAAC,MAAM,GAAC,QAAQ,GAAC,SAAS,GAAC,MAAM,GAAC,MAAM,GAAC,MAAM,GAAC,UAAU,GAAC,OAAO,GAAC,QAAQ,GAAC,KAAK,GAAC,aAAa,GAAC,aAAa,GAAC,eAAe,GAAC,QAAQ,GAAC,MAAM,GAAC,cAAc,GAAC,OAAO,GAAC,UAAU,GAAC,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,WAAW,GAAC,KAAK,GAAC,MAAM,GAAC,OAAO,GAAC,QAAQ,GAAC,YAAY,GAAC,QAAQ,GAAC,MAAM,GAAC,MAAM,GAAC,QAAQ,GAAC,IAAI,GAAC,aAAa,GAAC,YAAY,GAAC,YAAY,GAAC,MAAM,GAAC,OAAO,GAAC,MAAM,GAAC,YAAY,GAAC,UAAU,GAAC,UAAU,GAAC,cAAc,GAAC,MAAM,GAAC,SAAS,GAAC,UAAU,GAAC,QAAQ,GAAC,WAAW,GAAC,QAAQ,GAAC,MAAM,GAAC,UAAU,GAAC,MAAM,GAAC,QAAQ,GAAC,OAAO,GAAC,UAAU,GAAC,SAAS,GAAC,MAAM,GAAC,OAAO,GAAC,MAAM,GAAC,MAAM,GAAC,SAAS,GAAC,aAAa,GAAC,gBAAgB,GAAC,aAAa,GAAC,mBAAmB,GAAC,WAAW,GAAC,kBAAkB,SACv/B,MAAM,wCAgBhB;AAxBD,mCAA0C"}
@@ -0,0 +1,21 @@
1
+ export { LeuAccordion } from "./Accordion.js";
2
+ export { LeuBreadcrumb } from "./Breadcrumb.js";
3
+ export { LeuButtonGroup } from "./ButtonGroup.js";
4
+ export { LeuCheckbox } from "./Checkbox.js";
5
+ export { LeuCheckboxGroup } from "./CheckboxGroup.js";
6
+ export { LeuChipGroup } from "./ChipGroup.js";
7
+ export { LeuChipLink } from "./ChipLink.js";
8
+ export { LeuChipRemovable } from "./ChipRemovable.js";
9
+ export { LeuChipSelectable } from "./ChipSelectable.js";
10
+ export { LeuDropdown } from "./Dropdown.js";
11
+ export { LeuMenu } from "./Menu.js";
12
+ export { LeuMenuItem } from "./MenuItem.js";
13
+ export { LeuPagination } from "./Pagination.js";
14
+ export { LeuPopup } from "./Popup.js";
15
+ export { LeuRadio } from "./Radio.js";
16
+ export { LeuRadioGroup } from "./RadioGroup.js";
17
+ export { LeuSelect } from "./Select.js";
18
+ export { LeuTable } from "./Table.js";
19
+ export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from "./Button-da11d064.js";
20
+ export { LeuInput, SIZE_TYPES } from "./Input.js";
21
+ //# sourceMappingURL=index.js.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js.d.ts","sourceRoot":"","sources":["index.js.js"],"names":[],"mappings":""}
@@ -0,0 +1,42 @@
1
+ export { LeuAccordion } from './Accordion.js';
2
+ export { LeuBreadcrumb } from './Breadcrumb.js';
3
+ export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from './Button-da11d064.js';
4
+ export { LeuButtonGroup } from './ButtonGroup.js';
5
+ export { LeuCheckbox } from './Checkbox.js';
6
+ export { LeuCheckboxGroup } from './CheckboxGroup.js';
7
+ export { LeuChipGroup } from './ChipGroup.js';
8
+ export { LeuChipLink } from './ChipLink.js';
9
+ export { LeuChipRemovable } from './ChipRemovable.js';
10
+ export { LeuChipSelectable } from './ChipSelectable.js';
11
+ export { LeuDropdown } from './Dropdown.js';
12
+ export { LeuInput, SIZE_TYPES } from './Input.js';
13
+ export { LeuMenu } from './Menu.js';
14
+ export { LeuMenuItem } from './MenuItem.js';
15
+ export { LeuPagination } from './Pagination.js';
16
+ export { LeuPopup } from './Popup.js';
17
+ export { LeuRadio } from './Radio.js';
18
+ export { LeuRadioGroup } from './RadioGroup.js';
19
+ export { LeuSelect } from './Select.js';
20
+ export { LeuTable } from './Table.js';
21
+ import './_rollupPluginBabelHelpers-20f659f4.js';
22
+ import 'lit';
23
+ import 'lit/static-html.js';
24
+ import 'lit/directives/ref.js';
25
+ import 'lit/directives/class-map.js';
26
+ import './icon-03e86700.js';
27
+ import './leu-menu.js';
28
+ import './defineElement-40372b4b.js';
29
+ import './leu-menu-item.js';
30
+ import './leu-popup.js';
31
+ import './leu-visually-hidden.js';
32
+ import './VisuallyHidden.js';
33
+ import './utils-65469421.js';
34
+ import 'lit/directives/if-defined.js';
35
+ import './Chip.js';
36
+ import './leu-button.js';
37
+ import 'lit/directives/live.js';
38
+ import '@floating-ui/dom';
39
+ import 'lit/directives/map.js';
40
+ import './leu-input.js';
41
+ import 'lit/directives/style-map.js';
42
+ import './leu-pagination.js';
@@ -0,0 +1,3 @@
1
+ export { LeuAccordion };
2
+ import { LeuAccordion } from './Accordion.js';
3
+ //# sourceMappingURL=leu-accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leu-accordion.d.ts","sourceRoot":"","sources":["leu-accordion.js"],"names":[],"mappings":";6BAC6B,gBAAgB"}
@@ -0,0 +1,9 @@
1
+ import { d as defineElement } from './defineElement-40372b4b.js';
2
+ import { LeuAccordion } from './Accordion.js';
3
+ import './_rollupPluginBabelHelpers-20f659f4.js';
4
+ import 'lit';
5
+ import 'lit/static-html.js';
6
+
7
+ defineElement("accordion", LeuAccordion);
8
+
9
+ export { LeuAccordion };
@@ -0,0 +1,3 @@
1
+ export { LeuBreadcrumb };
2
+ import { LeuBreadcrumb } from './Breadcrumb.js';
3
+ //# sourceMappingURL=leu-breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leu-breadcrumb.d.ts","sourceRoot":"","sources":["leu-breadcrumb.js"],"names":[],"mappings":";8BAC8B,iBAAiB"}
@@ -0,0 +1,23 @@
1
+ import { d as defineElement } from './defineElement-40372b4b.js';
2
+ import { LeuBreadcrumb } from './Breadcrumb.js';
3
+ import './_rollupPluginBabelHelpers-20f659f4.js';
4
+ import 'lit';
5
+ import 'lit/directives/ref.js';
6
+ import 'lit/directives/class-map.js';
7
+ import './icon-03e86700.js';
8
+ import './leu-menu.js';
9
+ import './Menu.js';
10
+ import './leu-menu-item.js';
11
+ import './MenuItem.js';
12
+ import 'lit/static-html.js';
13
+ import 'lit/directives/if-defined.js';
14
+ import './leu-popup.js';
15
+ import './Popup.js';
16
+ import '@floating-ui/dom';
17
+ import './leu-visually-hidden.js';
18
+ import './VisuallyHidden.js';
19
+ import './utils-65469421.js';
20
+
21
+ defineElement("breadcrumb", LeuBreadcrumb);
22
+
23
+ export { LeuBreadcrumb };
@@ -0,0 +1,3 @@
1
+ export { LeuButtonGroup };
2
+ import { LeuButtonGroup } from './ButtonGroup.js';
3
+ //# sourceMappingURL=leu-button-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leu-button-group.d.ts","sourceRoot":"","sources":["leu-button-group.js"],"names":[],"mappings":";+BAC+B,kBAAkB"}
@@ -1,8 +1,8 @@
1
- import { defineButtonGroupElements } from './ButtonGroup.js';
2
- import './defineElement-ba770aed.js';
1
+ import { d as defineElement } from './defineElement-40372b4b.js';
2
+ import { LeuButtonGroup } from './ButtonGroup.js';
3
+ import './_rollupPluginBabelHelpers-20f659f4.js';
3
4
  import 'lit';
4
- import './Button.js';
5
- import 'lit/directives/class-map.js';
6
- import './icon-03e86700.js';
7
5
 
8
- defineButtonGroupElements();
6
+ defineElement("button-group", LeuButtonGroup);
7
+
8
+ export { LeuButtonGroup };
@@ -0,0 +1,3 @@
1
+ export { LeuButton };
2
+ import { L as LeuButton } from './Button-da11d064.js';
3
+ //# sourceMappingURL=leu-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leu-button.d.ts","sourceRoot":"","sources":["leu-button.js"],"names":[],"mappings":";+BAC+B,sBAAsB"}
@@ -1,7 +1,11 @@
1
- import { defineButtonElements } from './Button.js';
2
- import './defineElement-ba770aed.js';
1
+ import { d as defineElement } from './defineElement-40372b4b.js';
2
+ import { L as LeuButton } from './Button-da11d064.js';
3
+ import './_rollupPluginBabelHelpers-20f659f4.js';
3
4
  import 'lit';
4
5
  import 'lit/directives/class-map.js';
6
+ import 'lit/directives/if-defined.js';
5
7
  import './icon-03e86700.js';
6
8
 
7
- defineButtonElements();
9
+ defineElement("button", LeuButton);
10
+
11
+ export { LeuButton };
@@ -0,0 +1,3 @@
1
+ export { LeuCheckboxGroup };
2
+ import { LeuCheckboxGroup } from './CheckboxGroup.js';
3
+ //# sourceMappingURL=leu-checkbox-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leu-checkbox-group.d.ts","sourceRoot":"","sources":["leu-checkbox-group.js"],"names":[],"mappings":";iCACiC,oBAAoB"}
@@ -1,6 +1,9 @@
1
- import { defineCheckboxGroupElements } from './CheckboxGroup.js';
2
- import './defineElement-ba770aed.js';
1
+ import { d as defineElement } from './defineElement-40372b4b.js';
2
+ import { LeuCheckboxGroup } from './CheckboxGroup.js';
3
+ import './_rollupPluginBabelHelpers-20f659f4.js';
3
4
  import 'lit';
4
5
  import 'lit/directives/class-map.js';
5
6
 
6
- defineCheckboxGroupElements();
7
+ defineElement("checkbox-group", LeuCheckboxGroup);
8
+
9
+ export { LeuCheckboxGroup };
@@ -0,0 +1,3 @@
1
+ export { LeuCheckbox };
2
+ import { LeuCheckbox } from './Checkbox.js';
3
+ //# sourceMappingURL=leu-checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leu-checkbox.d.ts","sourceRoot":"","sources":["leu-checkbox.js"],"names":[],"mappings":";4BAC4B,eAAe"}