@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
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
...restProps}: SelectProps = $props();
|
|
55
55
|
|
|
56
56
|
const sizeMap = {
|
|
57
|
-
sm: "text-sm
|
|
58
|
-
md: "text-base
|
|
59
|
-
lg: "text-lg
|
|
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}
|