@seed-ship/mcp-ui-solid 4.3.5 → 4.3.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/dist/components/UIResourceRenderer.cjs +1 -1
- package/dist/components/UIResourceRenderer.cjs.map +1 -1
- package/dist/components/UIResourceRenderer.js +1 -1
- package/dist/components/UIResourceRenderer.js.map +1 -1
- package/package.json +1 -1
- package/src/components/UIResourceRenderer.tsx +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -686,7 +686,7 @@ function TableRenderer(props: {
|
|
|
686
686
|
value={searchQuery()}
|
|
687
687
|
onInput={(e) => handleSearch(e.currentTarget.value)}
|
|
688
688
|
placeholder={searchPlaceholder()}
|
|
689
|
-
class="w-full pl-8 pr-8 py-1.5 text-sm border border-gray-200 dark:border-gray-600 rounded-md bg-white dark:bg-gray-700 text-gray-900 dark:text-white placeholder-gray-400 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 outline-none"
|
|
689
|
+
class="w-full max-w-xs min-w-[200px] pl-8 pr-8 py-1.5 text-sm border border-gray-200 dark:border-gray-600 rounded-md bg-white dark:bg-gray-700 text-gray-900 dark:text-white placeholder-gray-400 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 outline-none"
|
|
690
690
|
/>
|
|
691
691
|
<Show when={searchQuery()}>
|
|
692
692
|
<button
|
|
@@ -722,13 +722,13 @@ function TableRenderer(props: {
|
|
|
722
722
|
class="min-w-full divide-y divide-gray-200 dark:divide-gray-700 border-separate border-spacing-0"
|
|
723
723
|
aria-labelledby={tableParams.title ? `${tableId}-title` : undefined}
|
|
724
724
|
>
|
|
725
|
-
<thead class="bg-gray-50 dark:bg-gray-900
|
|
725
|
+
<thead class="bg-gray-50 dark:bg-gray-900 sticky top-0 z-10">
|
|
726
726
|
<tr>
|
|
727
727
|
<For each={tableParams.columns}>
|
|
728
728
|
{(column: any) => (
|
|
729
729
|
<th
|
|
730
730
|
scope="col"
|
|
731
|
-
class="px-6 py-3 text-left text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider border-b border-gray-200 dark:border-gray-700 first:pl-6 last:pr-6 bg-gray-50 dark:bg-gray-900
|
|
731
|
+
class="px-6 py-3 text-left text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider border-b border-gray-200 dark:border-gray-700 first:pl-6 last:pr-6 bg-gray-50 dark:bg-gray-900 cursor-pointer select-none hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"
|
|
732
732
|
style={column.width ? { width: column.width } : {}}
|
|
733
733
|
on:click={() => handleSort(column.key)}
|
|
734
734
|
title={`Sort by ${column.label}`}
|