-
-
Notifications
You must be signed in to change notification settings - Fork 26
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 #146 from NiceNode/ui-redesign
UI/UX major redesign
- Loading branch information
Showing
443 changed files
with
32,109 additions
and
42,973 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Package | ||
|
||
on: [pull_request] | ||
|
||
# asar is disabled for pm2 & electron build to work | ||
# with asar disabled, hard links needs to be disabled | ||
env: | ||
USE_HARD_LINKS: false | ||
|
||
jobs: | ||
package: | ||
timeout-minutes: 25 | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js and NPM | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
|
||
- name: npm install | ||
run: | | ||
npm install | ||
# This dependency wasn't needed until suddenly on Dec. 2, 2022 | ||
- name: install dmg-license | ||
run: | | ||
if [ "$RUNNER_OS" == "macOS" ]; then | ||
npm i dmg-license | ||
else | ||
exit 0 | ||
fi | ||
shell: bash | ||
|
||
- name: npm package | ||
env: | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: | | ||
npm run package |
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 |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
|
||
npx lint-staged | ||
npm run lint | ||
npm exec tsc | ||
npm run postinstall | ||
npm run test | ||
npm run test-precommit |
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,6 @@ | ||
import { addons } from '@storybook/addons'; | ||
import niceNodeTheme from './niceNodeTheme'; | ||
|
||
addons.setConfig({ | ||
theme: niceNodeTheme, | ||
}); |
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,9 @@ | ||
import { create } from '@storybook/theming'; | ||
|
||
export default create({ | ||
base: 'light', | ||
brandTitle: 'NiceNode UI Components', | ||
brandUrl: 'https://nndesign.netlify.app/', | ||
brandImage: 'https://www.nicenode.xyz/img/icon.png', | ||
brandTarget: '_self', | ||
}); |
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,11 +1,23 @@ | ||
import '../src/renderer/assets/sass/app.scss'; | ||
import '../src/renderer/reset.css'; | ||
import '../src/renderer/Generics/redesign/globalStyle.css'; | ||
import '../src/renderer/i18n'; | ||
|
||
import RedesignContainer from '../src/renderer/Generics/redesign/RedesignContainer'; | ||
|
||
export const parameters = { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
actions: { argTypesRegex: '^on[A-Z].*' }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/, | ||
}, | ||
}, | ||
} | ||
}; | ||
|
||
export const decorators = [ | ||
(Story) => ( | ||
<RedesignContainer> | ||
<Story /> | ||
</RedesignContainer> | ||
), | ||
]; |
Oops, something went wrong.