@invopop/popui 0.0.8 → 0.0.9

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.
@@ -159,7 +159,10 @@ function selectRange(to) {
159
159
  <!-- if table is selectable we need to add an extra header with a checkbox -->
160
160
  <th scope="col" class="bg-white sticky top-0 z-10 rounded-tr-md">
161
161
  {#if !hideSelectAll}
162
- <label class="pl-5 pr-3 h-[40px] flex items-center" for={undefined}>
162
+ <!-- svelte-ignore a11y-click-events-have-key-events -->
163
+ <!-- svelte-ignore a11y-label-has-associated-control -->
164
+ <!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
165
+ <label class="pl-5 pr-3 h-[40px] flex items-center" on:click|stopPropagation>
163
166
  <InputCheckbox
164
167
  checked={allChecked}
165
168
  {indeterminate}
@@ -17,6 +17,7 @@ declare const __propDef: {
17
17
  hideSelectAll?: boolean | undefined;
18
18
  };
19
19
  events: {
20
+ click: MouseEvent;
20
21
  orderBy: CustomEvent<any>;
21
22
  action: CustomEvent<any>;
22
23
  copied: CustomEvent<any>;
@@ -36,8 +36,10 @@ $:
36
36
  >
37
37
  {#if selectable}
38
38
  <td>
39
- <!-- for hack is needed in order to be used with the custom checkbox and silence the linter -->
40
- <label class="pl-5 pr-1.5 h-[40px] flex items-center" for={undefined}>
39
+ <!-- svelte-ignore a11y-click-events-have-key-events -->
40
+ <!-- svelte-ignore a11y-label-has-associated-control -->
41
+ <!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
42
+ <label class="pl-5 pr-1.5 h-[40px] flex items-center" on:click|stopPropagation>
41
43
  <InputCheckbox
42
44
  {checked}
43
45
  on:change={(event) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.8",
4
+ "version": "0.0.9",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",