-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tabs and refactor alert table component
- Loading branch information
Showing
11 changed files
with
1,155 additions
and
1,629 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 |
---|---|---|
@@ -1,86 +1,85 @@ | ||
{ | ||
"name": "alert-hub", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"start": "vite", | ||
"build": "vite build", | ||
"generate": "graphql-codegen --config codegen.yml && eslint --fix generated/types.ts", | ||
"lint:js": "eslint src", | ||
"lint:css": "stylelint \"./src/**/*.css\"", | ||
"lint:unused": "unimported", | ||
"lint": "yarn lint:js && yarn lint:css && yarn lint:unused", | ||
"test": "vitest", | ||
"test:coverage": "vitest run --coverage", | ||
"typecheck": "tsc" | ||
}, | ||
"dependencies": { | ||
"@apollo/client": "^3.9.9", | ||
"@graphql-codegen/cli": "^5.0.2", | ||
"@graphql-codegen/introspection": "^4.0.3", | ||
"@graphql-codegen/typescript": "^4.0.6", | ||
"@graphql-codegen/typescript-operations": "^4.2.0", | ||
"@ifrc-go/icons": "^1.3.3", | ||
"@ifrc-go/ui": "^1.0.0", | ||
"@sentry/react": "^7.81.1", | ||
"@togglecorp/fujs": "^2.1.1", | ||
"@togglecorp/re-map": "^0.2.0-beta-6", | ||
"@togglecorp/toggle-form": "^2.0.4", | ||
"graphql": "^16.8.1", | ||
"mapbox-gl": "^1.13.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.22.3" | ||
}, | ||
"devDependencies": { | ||
"@eslint/eslintrc": "^2.0.3", | ||
"@julr/vite-plugin-validate-env": "^1.0.1", | ||
"@types/mapbox-gl": "^1.13.0", | ||
"@types/node": "^20.1.3", | ||
"@types/react": "^18.0.28", | ||
"@types/react-dom": "^18.2.22", | ||
"@types/react-router-dom": "^5.3.3", | ||
"@typescript-eslint/eslint-plugin": "^5.59.5", | ||
"@typescript-eslint/parser": "^5.59.5", | ||
"@vitejs/plugin-react-swc": "^3.5.0", | ||
"autoprefixer": "^10.4.14", | ||
"cross-var": "^1.1.0", | ||
"dotenv-cli": "^7.2.1", | ||
"eslint": "^8.40.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-import-resolver-typescript": "^3.5.5", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-import-exports-imports-resolver": "^1.0.1", | ||
"eslint-plugin-import-newlines": "^1.3.4", | ||
"eslint-plugin-jsx-a11y": "^6.7.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.3.4", | ||
"eslint-plugin-simple-import-sort": "^10.0.0", | ||
"fast-glob": "^3.3.0", | ||
"happy-dom": "^9.18.3", | ||
"postcss": "^8.3.0", | ||
"postcss-nested": "^6.0.1", | ||
"postcss-normalize": "^10.0.1", | ||
"postcss-preset-env": "^8.3.2", | ||
"postinstall-postinstall": "^2.1.0", | ||
"rollup-plugin-visualizer": "^5.9.0", | ||
"stylelint": "^15.6.1", | ||
"stylelint-config-concentric": "^2.0.2", | ||
"stylelint-config-recommended": "^12.0.0", | ||
"stylelint-no-unused-selectors": "git+https://github.com/toggle-corp/stylelint-no-unused-selectors#e0831e1", | ||
"stylelint-value-no-unknown-custom-properties": "^4.0.0", | ||
"surge": "^0.23.1", | ||
"typescript": "^5.0.4", | ||
"unimported": "1.28.0", | ||
"vite": "^5.0.10", | ||
"vite-plugin-checker": "^0.6.2", | ||
"vite-plugin-compression2": "^0.11.0", | ||
"vite-plugin-radar": "^0.9.2", | ||
"vite-plugin-svgr": "^4.2.0", | ||
"vite-plugin-webfont-dl": "^3.9.1", | ||
"vite-tsconfig-paths": "^4.2.2", | ||
"vitest": "^1.1.0" | ||
} | ||
"name": "ifrc-alert-hub", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"start": "vite", | ||
"build": "vite build", | ||
"generate": "graphql-codegen --config codegen.yml && eslint --fix generated/types.ts", | ||
"lint:js": "eslint src", | ||
"lint:css": "stylelint \"./src/**/*.css\"", | ||
"lint:unused": "unimported", | ||
"lint": "yarn lint:js && yarn lint:css && yarn lint:unused", | ||
"lint:fix": "yarn lint:js --fix && yarn lint:css --fix", | ||
"test": "vitest", | ||
"test:coverage": "vitest run --coverage", | ||
"typecheck": "tsc" | ||
}, | ||
"dependencies": { | ||
"@apollo/client": "^3.9.9", | ||
"@graphql-codegen/introspection": "^4.0.3", | ||
"@graphql-codegen/typescript-operations": "^4.2.0", | ||
"@ifrc-go/icons": "^1.3.3", | ||
"@ifrc-go/ui": "^1.0.0", | ||
"@mapbox/mapbox-gl-draw": "^1.4.3", | ||
"@sentry/react": "^7.81.1", | ||
"@togglecorp/fujs": "^2.1.1", | ||
"@togglecorp/re-map": "^0.2.0-beta-6", | ||
"graphql": "^16.8.1", | ||
"mapbox-gl": "^1.13.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.22.3" | ||
}, | ||
"devDependencies": { | ||
"@eslint/eslintrc": "^3.0.2", | ||
"@julr/vite-plugin-validate-env": "^1.0.1", | ||
"@types/mapbox-gl": "^1.13.0", | ||
"@types/node": "^20.1.3", | ||
"@types/react": "^18.0.28", | ||
"@types/react-dom": "^18.2.22", | ||
"@types/react-router-dom": "^5.3.3", | ||
"@typescript-eslint/eslint-plugin": "^7.4.0", | ||
"@typescript-eslint/parser": "^7.4.0", | ||
"@vitejs/plugin-react-swc": "^3.5.0", | ||
"autoprefixer": "^10.4.19", | ||
"cross-var": "^1.1.0", | ||
"dotenv-cli": "^7.2.1", | ||
"eslint": "^8.40.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-import-resolver-typescript": "^3.5.5", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-import-exports-imports-resolver": "^1.0.1", | ||
"eslint-plugin-import-newlines": "^1.3.4", | ||
"eslint-plugin-jsx-a11y": "^6.7.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.6", | ||
"eslint-plugin-simple-import-sort": "^12.0.0", | ||
"fast-glob": "^3.3.0", | ||
"happy-dom": "^14.3.8", | ||
"postcss": "^8.4.38", | ||
"postcss-nested": "^6.0.1", | ||
"postcss-normalize": "^10.0.1", | ||
"postcss-preset-env": "^9.5.2", | ||
"postinstall-postinstall": "^2.1.0", | ||
"rollup-plugin-visualizer": "^5.9.0", | ||
"stylelint": "^15.11.0", | ||
"stylelint-config-concentric-order": "^5.2.0", | ||
"stylelint-config-recommended": "^14.0.0", | ||
"stylelint-no-unused-selectors": "git+https://github.com/toggle-corp/stylelint-no-unused-selectors#e0831e1", | ||
"stylelint-value-no-unknown-custom-properties": "^5.0.0", | ||
"surge": "^0.23.1", | ||
"typescript": "^5.4.3", | ||
"unimported": "1.31.1", | ||
"vite": "^5.2.6", | ||
"vite-plugin-checker": "^0.6.2", | ||
"vite-plugin-compression2": "^1.0.0", | ||
"vite-plugin-radar": "^0.9.2", | ||
"vite-plugin-svgr": "^4.2.0", | ||
"vite-plugin-webfont-dl": "^3.9.1", | ||
"vite-tsconfig-paths": "^4.2.2", | ||
"vitest": "^1.1.0" | ||
} | ||
} |
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,5 @@ | ||
export type SetValueArg<T> = T | ((value: T | undefined) => T); | ||
|
||
export type EntriesAsList<T> = { | ||
[K in keyof T]-?: [SetValueArg<T[K]>, K, ...unknown[]]; | ||
}[keyof T]; |
This file was deleted.
Oops, something went wrong.
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
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.