-
Notifications
You must be signed in to change notification settings - Fork 56
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 #761 from invariant-labs/dev
update staging
- Loading branch information
Showing
455 changed files
with
43,100 additions
and
51,454 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ dist | |
vite.config.ts | ||
.eslintrc.js | ||
storybook-static | ||
vitest.config.ts | ||
node_modules |
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,59 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:react-hooks/recommended', | ||
'plugin:storybook/recommended' | ||
], | ||
ignorePatterns: [ | ||
'dist', | ||
'.eslintrc.cjs', | ||
'node_modules', | ||
'node_modules/@invariant-labs/sdk-eclipse/**' | ||
], | ||
parserOptions: { | ||
project: './tsconfig.json' | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['react-refresh', 'react-hooks'], | ||
rules: { | ||
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], | ||
indent: 'off', | ||
'@typescript-eslint/indent': 'off', | ||
'multiline-ternary': 'off', | ||
'@typescript-eslint/no-unused-vars': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/prefer-reduce-type-parameter': 'off', | ||
'@typescript-eslint/strict-boolean-expressions': 'off', | ||
'@typescript-eslint/space-before-function-paren': 'off', | ||
'@typescript-eslint/prefer-nullish-coalescing': 'off', | ||
'@typescript-eslint/member-delimiter-style': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'generator-star-spacing': ['error', { before: false, after: true }], | ||
'yield-star-spacing': ['error', { before: false, after: true }], | ||
'react-hooks/exhaustive-deps': 'off', | ||
'react-hooks/rules-of-hooks': 'error', | ||
'@typescript-eslint/no-unused-vars': [ | ||
'error', | ||
{ | ||
varsIgnorePattern: '^_', | ||
argsIgnorePattern: '^_' | ||
} | ||
], | ||
'no-extra-semi': 'off', | ||
'no-empty': 'off' | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['**/*.stories.tsx'], | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': 'off', | ||
'import/no-unresolved': 'off', | ||
'react-hooks/rules-of-hooks': 'off', | ||
'storybook/story-exports': 'off' | ||
} | ||
} | ||
] | ||
} |
This file was deleted.
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
permissions: write-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Install Vercel CLI | ||
run: npm install -g [email protected] | ||
- name: Deploy to Vercel Action | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
permissions: write-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Install Vercel CLI | ||
run: npm install -g [email protected] | ||
- name: Deploy to Vercel Action | ||
|
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 |
---|---|---|
|
@@ -9,9 +9,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- name: install | ||
|
@@ -26,7 +26,7 @@ jobs: | |
permissions: write-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Install Vercel CLI | ||
run: npm install -g [email protected] | ||
- name: Deploy to Vercel Action | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignore artifacts: | ||
build | ||
coverage |
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,15 +1,4 @@ | ||
import React from 'react' | ||
import { StylesProvider } from '@material-ui/styles' | ||
import { Provider } from 'react-redux' | ||
import { ThemeProvider } from '@storybook/theming' | ||
import { theme } from '../src/static/theme' | ||
|
||
export const withMaterialStyles = storyFn => ( | ||
<StylesProvider injectFirst>{storyFn()}</StylesProvider> | ||
) | ||
|
||
export const withStore = store => storyFn => <Provider store={store}>{storyFn()}</Provider> | ||
export default { | ||
withStore, | ||
withMaterialStyles | ||
} |
This file was deleted.
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,28 @@ | ||
import type { StorybookConfig } from '@storybook/react-vite' | ||
|
||
const config: StorybookConfig = { | ||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
|
||
addons: [ | ||
'@storybook/addon-onboarding', | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'@chromatic-com/storybook', | ||
'@storybook/addon-interactions', | ||
'@storybook/addon-viewport', | ||
'@storybook/react-vite', | ||
'@storybook/addon-themes', | ||
'storybook-addon-remix-react-router', | ||
'@storybook/addon-actions' | ||
], | ||
typescript: { | ||
reactDocgen: 'react-docgen-typescript' | ||
}, | ||
framework: { | ||
name: '@storybook/react-vite', | ||
options: {} | ||
}, | ||
|
||
docs: {} | ||
} | ||
export default config |
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,12 +1,12 @@ | ||
<style type="text/css"> | ||
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap'); | ||
|
||
* { | ||
min-width: 0; | ||
min-height: 0; | ||
max-width: 100%; | ||
} | ||
* { | ||
min-width: 0; | ||
min-height: 0; | ||
max-width: 100%; | ||
} | ||
</style> | ||
<script> | ||
window.global = window | ||
</script> | ||
</script> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.