Skip to content

Commit

Permalink
Update elements web components (#144)
Browse files Browse the repository at this point in the history
Signed-off-by: Nik Nasr <[email protected]>
  • Loading branch information
nikrooz authored Jan 15, 2025
1 parent bcff536 commit 644754a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/web-ui/public/elements-web-components.min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions libs/features/invocations-route/src/lib/invocations.route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ function Component() {
return (
<SnapshotTimeProvider lastSnapshot={dataUpdatedAt}>
<div className="flex flex-col flex-auto gap-2">
<Footnote data={data} isFetching={isFetching} />

<Table
aria-label="Invocations"
sortDescriptor={sortDescriptor}
Expand Down Expand Up @@ -424,7 +426,6 @@ function Component() {
)}
</TableBody>
</Table>
<Footnote data={data} isFetching={isFetching} />
</div>
<LayoutOutlet zone={LayoutZone.Toolbar}>
<Form
Expand Down Expand Up @@ -473,7 +474,7 @@ function Component() {
</QueryBuilder>
<SubmitButton
isPending={isFetching}
className="absolute right-1 top-1 bottom-1 rounded-lg py-0"
className="absolute right-1 top-1 bottom-1 rounded-lg py-0 disabled:bg-gray-400 disabled:text-gray-200"
>
Query
</SubmitButton>
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/button/src/lib/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const styles = tv({
variants: {
variant: {
primary:
'bg-gradient-to-b from-blue-600/90 to-blue-600 disabled:bg-gray-400 disabled:shadow-none disabled:drop-shadow-none disabled:text-gray-200 hover:from-blue-700 hover:to-blue-700 pressed:from-blue-800 pressed:to-blue-800 text-white shadow-[inset_0_1px_0_0_rgba(255,255,255,0.2)] drop-shadow-sm hover:shadow-none pressed:shadow-none',
'bg-gradient-to-b from-blue-600/90 to-blue-600 disabled:shadow-none disabled:drop-shadow-none hover:from-blue-700 hover:to-blue-700 pressed:from-blue-800 pressed:to-blue-800 text-white shadow-[inset_0_1px_0_0_rgba(255,255,255,0.2)] drop-shadow-sm hover:shadow-none pressed:shadow-none',
secondary: 'bg-white hover:bg-gray-100 pressed:bg-gray-200 text-gray-800',
destructive:
'bg-gradient-to-b from-red-700/95 to-red-700 shadow-[inset_0_1px_0_0_rgba(255,255,255,0.15)] drop-shadow-sm hover:from-red-800 hover:to-red-800 pressed:from-red-900 pressed:to-red-900 text-white hover:shadow-none pressed:shadow-none',
Expand Down

0 comments on commit 644754a

Please sign in to comment.