-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4249 from signalco-io/next
Next
- Loading branch information
Showing
25 changed files
with
431 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from 'react'; | ||
import { cx } from '@signalco/ui-primitives/cx'; | ||
import { Button } from '@signalco/ui-primitives/Button'; | ||
import { spaceBackgroundGradients } from './Dashboards'; | ||
|
||
export function BackgroundSelector({ value, onChange }: { value?: string; onChange: (background: string | undefined) => void; }) { | ||
return ( | ||
<div className="grid grid-cols-[repeat(auto-fit,40px)] gap-2"> | ||
<Button | ||
className={cx( | ||
'h-10 w-10 rounded-full transition-all border', | ||
!value && 'ring-2 ring-primary/80 ring-offset-2' | ||
)} | ||
style={{ | ||
backgroundImage: 'linear-gradient(-45deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 49%, rgba(255,0,0,1) 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 100%)' | ||
}} | ||
onClick={() => onChange(undefined)} /> | ||
{Object.keys(spaceBackgroundGradients).map((key) => ( | ||
<Button | ||
key={key} | ||
className={cx( | ||
'h-10 w-10 rounded-full transition-all border', | ||
value === key && 'ring-2 ring-primary/80 ring-offset-2' | ||
)} | ||
style={{ | ||
backgroundImage: spaceBackgroundGradients[key] | ||
}} | ||
onClick={() => onChange(key)} /> | ||
))} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,6 @@ | |
"test": "turbo run test" | ||
}, | ||
"devDependencies": { | ||
"turbo": "1.11.2" | ||
"turbo": "1.11.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-uier – ./web/apps/uier
uier.io
signalco-uier.vercel.app
next.uier.io
signalco-uier-signalco.vercel.app
signalco-uier-git-main-signalco.vercel.app
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-web – ./web/apps/web
signalco-web-git-main-signalco.vercel.app
signalco-web-signalco.vercel.app
www.signalco.io
signalco.dev
signalco.vercel.app
signalco.io
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-doprocess – ./web/apps/doprocess
signalco-doprocess-git-main-signalco.vercel.app
signalco-doprocess-signalco.vercel.app
www.doprocess.app
doprocess.app
doprocess.signalco.io
signalco-doprocess.vercel.app
doprocess.signalco.dev
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-brandgrab – ./web/apps/brandgrab
signalco-brandgrab-signalco.vercel.app
signalco-brandgrab.vercel.app
brandgrab.io
signalco-brandgrab-git-main-signalco.vercel.app
brandgrab.signalco.io
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-app – ./web/apps/app
signalco-app-signalco.vercel.app
signalco-app.vercel.app
signalco-app-git-main-signalco.vercel.app
app.signalco.io
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-slco – ./web/apps/slco
signalco-slco-git-main-signalco.vercel.app
signalco-slco.vercel.app
signalco-slco-signalco.vercel.app
slco.signalco.io
slco.io
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-ui-docs – ./web/apps/ui-docs
signalco-ui-docs-git-main-signalco.vercel.app
ui.signalco.io
signalco-ui-docs.vercel.app
signalco-ui-docs-signalco.vercel.app
465d904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
signalco-blog – ./web/apps/blog
signalco-blog-git-main-signalco.vercel.app
signalco-blog-signalco.vercel.app
signalco-blog.vercel.app
blog.signalco.io