Commit 527e29e5 authored by David Yang's avatar David Yang

fix: 安装 HeroUI Pro 并修复勾选框兼容性

parent e5ddb116
......@@ -11,21 +11,42 @@
"@ant-design/icons": "^6.3.2",
"@headlessui/react": "^2.2.10",
"@heroicons/react": "^2.2.0",
"@heroui-pro/react": "file:../project_manager_new/node_modules/@heroui-pro/react",
"@heroui-pro/react": "1.0.0-beta.8",
"@heroui/react": "^3.2.2",
"@heroui/styles": "^3.2.2",
"@internationalized/date": "^3.12.2",
"@number-flow/react": ">=0.5.0",
"@react-aria/utils": ">=3.34.1",
"@tailwindcss/postcss": "^4.2.0",
"@tiptap/core": ">=3.23.6",
"@tiptap/extension-link": ">=3.23.6",
"@tiptap/extension-underline": ">=3.23.6",
"@tiptap/extensions": ">=3.23.6",
"@tiptap/pm": ">=3.23.6",
"@tiptap/react": ">=3.23.6",
"@tiptap/starter-kit": ">=3.23.6",
"@tiptap/suggestion": ">=3.23.6",
"@umijs/max": "^4.5.3",
"clsx": "^2.1.1",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.20",
"echarts": "^6.0.0",
"echarts-for-react": "^3.0.6",
"embla-carousel": ">=8.6.0",
"embla-carousel-react": ">=8.6.0",
"maplibre-gl": ">=6.0.0",
"marked": ">=18.0.0",
"motion": "^12.23.11",
"react": "^19.2.7",
"react-aria-components": "^1.19.0",
"react-dom": "^19.2.7",
"react-markdown": ">=10.1.0",
"react-resizable-panels": ">=4.10.0",
"recharts": ">=2.0.0",
"remark-breaks": ">=4.0.0",
"remark-gfm": ">=4.0.0",
"shiki": ">=4.0.0",
"streamdown": ">=2.5.0",
"tailwind-merge": "^3.6.0",
"tailwind-variants": "^3.2.2",
"tailwindcss": "^4.2.0",
......@@ -37,5 +58,11 @@
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"typescript": "^5.0.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"@heroui-pro/react",
"@zowe/secrets-for-zowe-sdk"
]
}
}
This diff is collapsed.
......@@ -22,6 +22,7 @@ export function Checkbox({
disabled,
indeterminate,
onChange,
slot = null,
...props
}) {
return (
......@@ -32,6 +33,7 @@ export function Checkbox({
isIndeterminate={indeterminate}
isSelected={checked}
onChange={onChange}
slot={slot}
>
<HeroCheckbox.Content>
<HeroCheckbox.Control>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment