-
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.
feat(dashboard): sign in using extension. (#11)
* feat(dashboard): sign in using extension. * feat(dashboard): sign in using extension. * feat(dashboard): sign in using extension. * feat(dashboard): sign in using extension.
- Loading branch information
Showing
21 changed files
with
921 additions
and
228 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
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ npm run lint | |
All kind of contribution is highly welcomed. | ||
|
||
You can contribute to source code by checking [open issues](https://github.com/dezh-tech/mongostr/issues?q=is%3Aissue%20state%3Aopen%20). Please make sure you comment on that specific issue and inform everyone that you are working on it. | ||
You can [open an issue](https://github.com/dezh-tech/mongostr/issues/new?template=Blank+issue) to report a bug or suggest a feature. | ||
You can [open an issue](https://github.com/dezh-tech/mongostr/issues/new?template=Blank+issue) to report a bug or suggest a feature. | ||
|
||
Also, donations and financial support for the development process are possible using Bitcoin and Lightning: | ||
|
||
|
@@ -42,7 +42,7 @@ Also, donations and financial support for the development process are possible u | |
bc1qa0z44j7m0v0rx85q0cag5juhxdshnmnrxnlr32 | ||
``` | ||
|
||
**lightning**: | ||
**lightning**: | ||
|
||
``` | ||
[email protected] | ||
|
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 |
---|---|---|
|
@@ -30,5 +30,8 @@ export default ts.config( | |
parser: ts.parser | ||
} | ||
} | ||
}, | ||
{ | ||
ignores: ['src/lib/components/ui'] | ||
} | ||
); |
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 |
---|---|---|
@@ -1,16 +1,17 @@ | ||
import { tv } from 'tailwind-variants'; | ||
export { default as Badge } from './badge.svelte'; | ||
export const badgeVariants = tv({ | ||
base: 'focus:ring-ring inline-flex select-none items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2', | ||
variants: { | ||
variant: { | ||
default: 'bg-primary text-primary-foreground hover:bg-primary/80 border-transparent', | ||
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80 border-transparent', | ||
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/80 border-transparent', | ||
outline: 'text-foreground' | ||
} | ||
}, | ||
defaultVariants: { | ||
variant: 'default' | ||
} | ||
base: 'focus:ring-ring inline-flex select-none items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2', | ||
variants: { | ||
variant: { | ||
default: 'bg-primary text-primary-foreground hover:bg-primary/80 border-transparent', | ||
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80 border-transparent', | ||
destructive: | ||
'bg-destructive text-destructive-foreground hover:bg-destructive/80 border-transparent', | ||
outline: 'text-foreground' | ||
} | ||
}, | ||
defaultVariants: { | ||
variant: 'default' | ||
} | ||
}); |
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 |
---|---|---|
@@ -1,28 +1,31 @@ | ||
import { tv } from 'tailwind-variants'; | ||
import Root from './button.svelte'; | ||
const buttonVariants = tv({ | ||
base: 'ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', | ||
variants: { | ||
variant: { | ||
default: 'bg-primary text-primary-foreground hover:bg-primary/90', | ||
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90', | ||
outline: 'border-input bg-background hover:bg-accent hover:text-accent-foreground border', | ||
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', | ||
ghost: 'hover:bg-accent hover:text-accent-foreground', | ||
link: 'text-primary underline-offset-4 hover:underline' | ||
}, | ||
size: { | ||
default: 'h-10 px-4 py-2', | ||
sm: 'h-9 rounded-md px-3', | ||
lg: 'h-11 rounded-md px-8', | ||
icon: 'h-10 w-10' | ||
} | ||
}, | ||
defaultVariants: { | ||
variant: 'default', | ||
size: 'default' | ||
} | ||
base: 'ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', | ||
variants: { | ||
variant: { | ||
default: 'bg-primary text-primary-foreground hover:bg-primary/90', | ||
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90', | ||
outline: 'border-input bg-background hover:bg-accent hover:text-accent-foreground border', | ||
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', | ||
ghost: 'hover:bg-accent hover:text-accent-foreground', | ||
link: 'text-primary underline-offset-4 hover:underline' | ||
}, | ||
size: { | ||
default: 'h-10 px-4 py-2', | ||
sm: 'h-9 rounded-md px-3', | ||
lg: 'h-11 rounded-md px-8', | ||
icon: 'h-10 w-10' | ||
} | ||
}, | ||
defaultVariants: { | ||
variant: 'default', | ||
size: 'default' | ||
} | ||
}); | ||
export { Root, | ||
// | ||
Root as Button, buttonVariants }; | ||
export { | ||
Root, | ||
// | ||
Root as Button, | ||
buttonVariants | ||
}; |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import Root from './input.svelte'; | ||
export { Root, | ||
// | ||
Root as Input }; | ||
export { | ||
Root, | ||
// | ||
Root as Input | ||
}; |
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.