@invopop/popui 0.0.35 → 0.0.37

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.
@@ -56,7 +56,7 @@ function scrollIntoView() {
56
56
  <td>
57
57
  <button
58
58
  bind:this={checkboxButton}
59
- class="px-5 h-[40px] flex items-center outline-none group cursor-default"
59
+ class="px-5 h-[36px] flex items-center outline-none group cursor-default"
60
60
  on:click|stopPropagation={() => {
61
61
  dispatch('checked', checked)
62
62
  }}
@@ -36,7 +36,10 @@ $:
36
36
  });
37
37
  </script>
38
38
 
39
- <span class="{tagStyles} rounded text-sm inline-flex items-center font-medium gap-1 box-border h-5">
39
+ <span
40
+ class:h-5={Boolean(label)}
41
+ class="{tagStyles} rounded text-sm inline-flex items-center font-medium gap-1 box-border"
42
+ >
40
43
  {#if dot}
41
44
  <span class="{dotStyles} w-2 h-2 rounded-sm" />
42
45
  {/if}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.35",
4
+ "version": "0.0.37",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",
@@ -26,6 +26,10 @@
26
26
  "types": "./dist/index.d.ts",
27
27
  "svelte": "./dist/index.js"
28
28
  },
29
+ "./types": {
30
+ "types": "./dist/types.d.ts",
31
+ "default": "./dist/types.d.ts"
32
+ },
29
33
  "./twTheme.js": "./dist/tw.theme.js",
30
34
  "./package.json": "./dist/package.json"
31
35
  },