-
Notifications
You must be signed in to change notification settings - Fork 10
Feat/settings components #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 12 commits
fdb2a4e
b298fb2
171db6c
669aeb3
b2aebbd
37e0ab6
080bfa3
940d22b
6a81a16
4137cce
541f85d
9eb16fb
bf7ce8d
8af34af
bd10b37
484b36f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,106 +1,113 @@ | ||
| { | ||
| "name": "@wedevs/plugin-ui", | ||
| "version": "2.0.0", | ||
| "description": "Scoped, themeable UI components for WordPress plugins - ShadCN style", | ||
| "main": "dist/index.js", | ||
| "module": "dist/index.js", | ||
| "types": "dist/index.d.ts", | ||
| "sideEffects": [ | ||
| "**/*.css" | ||
| ], | ||
| "exports": { | ||
| ".": { | ||
| "import": "./dist/index.js", | ||
| "require": "./dist/index.js", | ||
| "types": "./dist/index.d.ts" | ||
| }, | ||
| "./components/ui": { | ||
| "import": "./dist/components/ui/index.js", | ||
| "require": "./dist/components/ui/index.js", | ||
| "types": "./dist/components/ui/index.d.ts" | ||
| }, | ||
| "./providers": { | ||
| "import": "./dist/providers/index.js", | ||
| "require": "./dist/providers/index.js", | ||
| "types": "./dist/providers/index.d.ts" | ||
| }, | ||
| "./themes": { | ||
| "import": "./dist/themes/index.js", | ||
| "require": "./dist/themes/index.js", | ||
| "types": "./dist/themes/index.d.ts" | ||
| }, | ||
| "./utils": { | ||
| "import": "./dist/utils/index.js", | ||
| "require": "./dist/utils/index.js", | ||
| "types": "./dist/utils/index.d.ts" | ||
| }, | ||
| "./styles.css": "./dist/styles.css" | ||
| "name": "@wedevs/plugin-ui", | ||
| "version": "2.0.0", | ||
| "description": "Scoped, themeable UI components for WordPress plugins - ShadCN style", | ||
| "main": "dist/index.js", | ||
| "module": "dist/index.js", | ||
| "types": "dist/index.d.ts", | ||
| "sideEffects": [ | ||
| "**/*.css" | ||
| ], | ||
| "exports": { | ||
| ".": { | ||
| "import": "./dist/index.js", | ||
| "require": "./dist/index.js", | ||
| "types": "./dist/index.d.ts" | ||
| }, | ||
| "files": [ | ||
| "dist", | ||
| "src" | ||
| ], | ||
| "scripts": { | ||
| "build": "npm run build:wp && npm run build:types", | ||
| "build:wp": "wp-scripts build --config webpack.config.js", | ||
| "build:types": "tsc --emitDeclarationOnly", | ||
| "start": "wp-scripts start --config webpack.config.js", | ||
| "storybook": "storybook dev -p 6006", | ||
| "build-storybook": "storybook build", | ||
| "lint": "eslint src --ext .ts,.tsx", | ||
| "typecheck": "tsc --noEmit", | ||
| "prepare": "npm run build" | ||
| "./components/ui": { | ||
| "import": "./dist/components/ui/index.js", | ||
| "require": "./dist/components/ui/index.js", | ||
| "types": "./dist/components/ui/index.d.ts" | ||
| }, | ||
| "peerDependencies": { | ||
| "react": ">=17.0.0", | ||
| "react-dom": ">=17.0.0" | ||
| "./providers": { | ||
| "import": "./dist/providers/index.js", | ||
| "require": "./dist/providers/index.js", | ||
| "types": "./dist/providers/index.d.ts" | ||
| }, | ||
| "dependencies": { | ||
| "@base-ui/react": "^1.1.0", | ||
| "@wordpress/dataviews": "^11.3.0", | ||
| "class-variance-authority": "^0.7.1", | ||
| "clsx": "^2.1.1", | ||
| "input-otp": "^1.4.2", | ||
| "lucide-react": "^0.563.0", | ||
| "tailwind-merge": "^2.6.1", | ||
| "tw-animate-css": "^1.4.0" | ||
| "./themes": { | ||
| "import": "./dist/themes/index.js", | ||
| "require": "./dist/themes/index.js", | ||
| "types": "./dist/themes/index.d.ts" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/preset-react": "^7.26.0", | ||
| "@babel/preset-typescript": "^7.26.0", | ||
| "@chromatic-com/storybook": "^5.0.0", | ||
| "@storybook/addon-a11y": "^10.2.7", | ||
| "@storybook/addon-docs": "^10.2.7", | ||
| "@storybook/addon-themes": "^10.2.7", | ||
| "@storybook/react": "^10.2.0", | ||
| "@storybook/react-webpack5": "^10.2.0", | ||
| "@tailwindcss/postcss": "^4.1.18", | ||
| "@types/react": "^18.0.0", | ||
| "@types/react-dom": "^18.0.0", | ||
| "@wordpress/scripts": "^30.25.0", | ||
| "autoprefixer": "^10.4.23", | ||
| "babel-loader": "^9.2.0", | ||
| "postcss": "^8.5.6", | ||
| "postcss-cli": "^11.0.1", | ||
| "postcss-loader": "^8.1.1", | ||
| "storybook": "^10.2.0", | ||
| "tailwindcss": "^4.1.18", | ||
| "typescript": "^5.0.0" | ||
| "./utils": { | ||
| "import": "./dist/utils/index.js", | ||
| "require": "./dist/utils/index.js", | ||
| "types": "./dist/utils/index.d.ts" | ||
| }, | ||
| "keywords": [ | ||
| "wordpress", | ||
| "ui", | ||
| "components", | ||
| "react", | ||
| "shadcn", | ||
| "tailwind", | ||
| "wedevs", | ||
| "theming" | ||
| ], | ||
| "author": "weDevs", | ||
| "license": "GPL-2.0-or-later", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/getdokan/plugin-ui.git" | ||
| } | ||
| } | ||
| "./settings": { | ||
| "import": "./dist/components/settings/index.js", | ||
| "require": "./dist/components/settings/index.js", | ||
| "types": "./dist/components/settings/index.d.ts" | ||
| }, | ||
| "./styles.css": "./dist/styles.css" | ||
| }, | ||
| "files": [ | ||
| "dist", | ||
| "src" | ||
| ], | ||
| "scripts": { | ||
| "build": "npm run build:wp && npm run build:types", | ||
| "build:wp": "wp-scripts build --config webpack.config.js", | ||
| "build:types": "tsc --emitDeclarationOnly", | ||
| "start": "wp-scripts start --config webpack.config.js", | ||
| "storybook": "storybook dev -p 6006", | ||
| "build-storybook": "storybook build", | ||
| "lint": "eslint src --ext .ts,.tsx", | ||
| "typecheck": "tsc --noEmit", | ||
| "prepare": "npm run build" | ||
| }, | ||
| "peerDependencies": { | ||
| "react": ">=18.0.0", | ||
| "react-dom": ">=18.0.0" | ||
| }, | ||
| "dependencies": { | ||
| "@base-ui/react": "^1.1.0", | ||
| "@wordpress/dataviews": "^11.3.0", | ||
| "class-variance-authority": "^0.7.1", | ||
| "clsx": "^2.1.1", | ||
| "input-otp": "^1.4.2", | ||
| "lucide-react": "^0.563.0", | ||
| "tailwind-merge": "^2.6.1", | ||
| "tw-animate-css": "^1.4.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/preset-react": "^7.26.0", | ||
| "@babel/preset-typescript": "^7.26.0", | ||
| "@chromatic-com/storybook": "^5.0.0", | ||
| "@storybook/addon-a11y": "^10.2.7", | ||
| "@storybook/addon-docs": "^10.2.7", | ||
| "@storybook/addon-themes": "^10.2.7", | ||
| "@storybook/react": "^10.2.0", | ||
| "@storybook/react-webpack5": "^10.2.0", | ||
| "@tailwindcss/postcss": "^4.1.18", | ||
| "@types/react": "^18.0.0", | ||
| "@types/react-dom": "^18.0.0", | ||
| "@wordpress/scripts": "^30.25.0", | ||
| "babel-loader": "^9.2.0", | ||
| "postcss": "^8.5.6", | ||
| "postcss-cli": "^11.0.1", | ||
| "postcss-loader": "^8.1.1", | ||
| "storybook": "^10.2.0", | ||
| "tailwindcss": "^4.1.18", | ||
| "typescript": "^5.0.0" | ||
| }, | ||
| "engines": { | ||
| "node": ">=22" | ||
| }, | ||
|
Comment on lines
+94
to
+96
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Node 20 LTS is still in its maintenance window (until April 2026). Since consumers install this package via npm, the engine constraint will block installation on Node 20 unless 🤖 Prompt for AI Agents |
||
| "keywords": [ | ||
| "wordpress", | ||
| "ui", | ||
| "components", | ||
| "react", | ||
| "shadcn", | ||
| "tailwind", | ||
| "wedevs", | ||
| "theming" | ||
| ], | ||
| "author": "weDevs", | ||
| "license": "GPL-2.0-or-later", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/getdokan/plugin-ui.git" | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.