y200subcontrols 0.1.34 → 0.1.351
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.
|
@@ -24,7 +24,7 @@ function handleSortChanged() {
|
|
|
24
24
|
</script>
|
|
25
25
|
|
|
26
26
|
<DataTableCell isHeader={true} {width} {breakpoint} {extendedCss} {colspan}>
|
|
27
|
-
<button type="button" class="flex space-x-2 w-full" on:click={handleSortChanged}>
|
|
27
|
+
<button type="button" class="flex space-x-2 w-full text-left" on:click={handleSortChanged}>
|
|
28
28
|
|
|
29
29
|
<div class="flex-grow flex-shrink-0 ">
|
|
30
30
|
<slot />
|
|
@@ -78,7 +78,10 @@ onMount(() => {
|
|
|
78
78
|
{#if labelText}
|
|
79
79
|
<label
|
|
80
80
|
for={id}
|
|
81
|
-
class="inline-block mb-1 text-slate-600 dark:text-neutral-200 font-thin
|
|
81
|
+
class="inline-block mb-1 text-slate-600 dark:text-neutral-200 font-thin
|
|
82
|
+
{size === 'lg' ? 'text-lg' : ''}
|
|
83
|
+
{size === 'sm' ? 'text-sm' : ''}
|
|
84
|
+
"
|
|
82
85
|
>
|
|
83
86
|
{labelText}
|
|
84
87
|
{#if required}
|
|
@@ -96,7 +99,7 @@ onMount(() => {
|
|
|
96
99
|
type="text"
|
|
97
100
|
{required}
|
|
98
101
|
{autocomplete}
|
|
99
|
-
class="border peer block w-full rounded shadow-sm bg-white text-neutral-900
|
|
102
|
+
class="border peer block w-full rounded shadow-sm bg-white text-neutral-900
|
|
100
103
|
{size === 'sm' ? 'py-1 px-2 text-sm' : ''}
|
|
101
104
|
{size === 'md' ? 'py-1.5 px-2 text-base' : ''}
|
|
102
105
|
{size === 'lg' ? 'py-2 px-2 text-lg' : ''}
|