@hashrytech/quick-components-kit 0.19.4 → 0.19.6

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @hashrytech/quick-components-kit
2
2
 
3
+ ## 0.19.6
4
+
5
+ ### Patch Changes
6
+
7
+ - patch: removing padding from select
8
+
9
+ ## 0.19.5
10
+
11
+ ### Patch Changes
12
+
13
+ - patch: removing span for button
14
+
3
15
  ## 0.19.4
4
16
 
5
17
  ### Patch Changes
@@ -27,7 +27,7 @@
27
27
  {#if loadingIcon && loading}
28
28
  <span class="shrink-0 animate-spin font-semibold">{@render loadingIcon()}</span>
29
29
  {:else if icon}
30
- <span>{@render icon()}</span>
30
+ {@render icon()}
31
31
  {/if}
32
32
  {@render children?.()}
33
33
  </button>
@@ -54,9 +54,9 @@
54
54
  ...restProps}: SelectProps = $props();
55
55
 
56
56
  const sizeMap = {
57
- sm: "text-sm py-1 h-[2.05rem]",
58
- md: "text-base py-2 h-[2.375rem]",
59
- lg: "text-lg py-3 h-[2.8rem]",
57
+ sm: "text-sm h-[2.05rem]",
58
+ md: "text-base h-[2.375rem]",
59
+ lg: "text-lg h-[2.8rem]",
60
60
  };
61
61
 
62
62
  const directionClass = {
@@ -78,7 +78,7 @@
78
78
  {/if}
79
79
 
80
80
  <select {id} name={name ?? id} bind:value {disabled} onchange={onchange}
81
- class={twMerge("rounded-primary border border-primary-input-border focus:border-primary-focus focus:ring-primary-focus placeholder:opacity-50 disabled:bg-neutral-300/30 disabled:border-neutral-300/30",
81
+ class={twMerge("rounded-primary border border-primary-input-border focus:border-primary-focus focus:ring-primary-focus placeholder:opacity-50 disabled:bg-neutral-300/30 disabled:border-neutral-300/30 py-0",
82
82
  sizeMap[size], error ? "bg-red-50 border-red-300" : "", restProps.class)}>
83
83
  {@render optionsSnippet?.()}
84
84
  {#each options as option}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hashrytech/quick-components-kit.git"
7
7
  },
8
- "version": "0.19.4",
8
+ "version": "0.19.6",
9
9
  "license": "MIT",
10
10
  "author": "Hashry Tech",
11
11
  "files": [