@glasshome/ui 1.26.0 → 1.26.1
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/solid/index.js +1 -1
- package/package.json +1 -1
- package/src/solid/data-table.tsx +1 -1
package/dist/solid/index.js
CHANGED
|
@@ -14037,7 +14037,7 @@ function Px(e) {
|
|
|
14037
14037
|
},
|
|
14038
14038
|
"data-slot": "table-sort-header",
|
|
14039
14039
|
get class() {
|
|
14040
|
-
return O("text-muted-foreground hover:text-foreground h-auto gap-1 px-1.5 py-0.5 text-xs font-medium", e.align === "end"
|
|
14040
|
+
return O("text-muted-foreground hover:text-foreground h-auto gap-1 px-1.5 py-0.5 text-xs font-medium", e.align === "end" ? "justify-end" : "justify-start", e.class);
|
|
14041
14041
|
},
|
|
14042
14042
|
get "aria-label"() {
|
|
14043
14043
|
return `Sort by ${e.label}`;
|
package/package.json
CHANGED
package/src/solid/data-table.tsx
CHANGED
|
@@ -209,7 +209,7 @@ export function TableSortHeader(props: {
|
|
|
209
209
|
data-slot="table-sort-header"
|
|
210
210
|
class={cn(
|
|
211
211
|
"text-muted-foreground hover:text-foreground h-auto gap-1 px-1.5 py-0.5 text-xs font-medium",
|
|
212
|
-
props.align === "end"
|
|
212
|
+
props.align === "end" ? "justify-end" : "justify-start",
|
|
213
213
|
props.class,
|
|
214
214
|
)}
|
|
215
215
|
aria-label={`Sort by ${props.label}`}
|