From c41116de6e4deb27692e662d2eba07d392bd6279 Mon Sep 17 00:00:00 2001 From: Kar Rui Lau Date: Wed, 31 Jul 2024 12:36:58 +0800 Subject: [PATCH] fix: add tailwind-variants package --- package-lock.json | 29 +++++++++++++++++++++++++++-- packages/components/package.json | 3 ++- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6059a8d8d6..f0250b57dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30710,6 +30710,30 @@ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==" }, + "node_modules/tailwind-merge": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.4.0.tgz", + "integrity": "sha512-49AwoOQNKdqKPd9CViyH5wJoSKsCDjUlzL8DxuGp3P1FsGY36NJDAa18jLZcaHAUUuTj+JB8IAo8zWgBNvBF7A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/dcastil" + } + }, + "node_modules/tailwind-variants": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tailwind-variants/-/tailwind-variants-0.2.1.tgz", + "integrity": "sha512-2xmhAf4UIc3PijOUcJPA1LP4AbxhpcHuHM2C26xM0k81r0maAO6uoUSHl3APmvHZcY5cZCY/bYuJdfFa4eGoaw==", + "dependencies": { + "tailwind-merge": "^2.2.0" + }, + "engines": { + "node": ">=16.x", + "pnpm": ">=7.x" + }, + "peerDependencies": { + "tailwindcss": "*" + } + }, "node_modules/tailwindcss": { "version": "3.4.4", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz", @@ -34441,7 +34465,8 @@ "js-md5": "^0.8.3", "markdown-to-jsx": "^7.4.7", "minisearch": "^6.3.0", - "react-icons": "^5.2.0" + "react-icons": "^5.2.0", + "tailwind-variants": "^0.2.1" }, "devDependencies": { "@isomer/eslint-config": "*", @@ -34627,7 +34652,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-react": "^7.34.3", - "eslint-plugin-react-hooks": "*", + "eslint-plugin-react-hooks": "beta", "typescript-eslint": "^7.15.0" }, "devDependencies": { diff --git a/packages/components/package.json b/packages/components/package.json index 193c06149c..f81baef426 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -103,7 +103,8 @@ "js-md5": "^0.8.3", "markdown-to-jsx": "^7.4.7", "minisearch": "^6.3.0", - "react-icons": "^5.2.0" + "react-icons": "^5.2.0", + "tailwind-variants": "^0.2.1" }, "prettier": "@isomer/prettier-config" }