mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-20 06:28:14 -04:00
* WIP Create Indexer Rule UI + Backend api fix * Complete IndexerEditor UI for creating new rules - WIP testing to ensure all rules are parsed correctly - Add utilities to satisfy the TypeScript typechecker - Introduce a utility function to facilitate extracting information from an RSPCError - Modify AddLocationDialog to utilize the aforementioned utility function * Validation and submit logic is now functional - Reorganize UI for improved user flow - Implement validation and error messaging, replace some bare inputs with form inputs, and fix styling issues - Resolve issues with post-processing of rules during submission - Wrap editable portion of component in a `FormProvider` due to the `Form` being in a `Portal` - Add specialized `ErrorMessage` component to `@sd/ui` library - Update `AddLocationDialog` and `FormField` to utilize the new `ErrorMessage` component * Fix submit not waiting for confirmation from backend - Reset form after submit - Disable form while submiting - Update form related dependencies * Implement deleting an indexer rule - Modify indexer rule api route to disallow deleting default rules * Fix form reset on error - Minor style adjustments
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"name": "@sd/ui",
|
|
"version": "0.0.0",
|
|
"license": "GPL-3.0-only",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./src/forms": "./src/forms/index.ts",
|
|
"./postcss": "./style/postcss.config.js",
|
|
"./tailwind": "./style/tailwind.js",
|
|
"./style": "./style/index.js",
|
|
"./style/style.scss": "./style/style.scss",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint src --cache",
|
|
"typecheck": "tsc -b",
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^1.7.3",
|
|
"@headlessui/tailwindcss": "^0.1.1",
|
|
"@hookform/error-message": "^2.0.1",
|
|
"@hookform/resolvers": "^3.1.0",
|
|
"@radix-ui/react-checkbox": "^1.0.3",
|
|
"@radix-ui/react-context-menu": "^1.0.0",
|
|
"@radix-ui/react-dialog": "^1.0.0",
|
|
"@radix-ui/react-dropdown-menu": "^1.0.0",
|
|
"@radix-ui/react-popover": "^1.0.3",
|
|
"@radix-ui/react-radio-group": "^1.1.0",
|
|
"@radix-ui/react-select": "^1.1.2",
|
|
"@radix-ui/react-switch": "^1.0.1",
|
|
"@radix-ui/react-tabs": "^1.0.1",
|
|
"@sd/assets": "workspace:*",
|
|
"@tailwindcss/forms": "^0.5.3",
|
|
"class-variance-authority": "^0.4.0",
|
|
"clsx": "^1.2.1",
|
|
"phosphor-react": "^1.4.1",
|
|
"postcss": "^8.4.17",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-loading-icons": "^1.1.0",
|
|
"react-router-dom": "6.9.0",
|
|
"react-spring": "^9.5.5",
|
|
"tailwindcss-radix": "^2.6.0",
|
|
"use-debounce": "^9.0.4",
|
|
"zod": "^3.21.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.19.3",
|
|
"@sd/config": "workspace:*",
|
|
"@tailwindcss/line-clamp": "^0.4.2",
|
|
"@tailwindcss/typography": "^0.5.7",
|
|
"@types/node": "^18.15.1",
|
|
"@types/react": "^18.0.21",
|
|
"@types/react-dom": "^18.0.6",
|
|
"autoprefixer": "^10.4.12",
|
|
"babel-loader": "^8.2.5",
|
|
"sass": "^1.55.0",
|
|
"sass-loader": "^13.0.2",
|
|
"style-loader": "^3.3.1",
|
|
"tailwindcss": "^3.1.8",
|
|
"tailwindcss-animate": "^1.0.5",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|