diff --git a/client/deno.jsonc b/client/deno.jsonc index bf1351b..44565ba 100644 --- a/client/deno.jsonc +++ b/client/deno.jsonc @@ -9,6 +9,11 @@ "jsxImportSource": "react", "jsxImportSourceTypes": "@types/react" }, + "patch": [ + "./mdui_patched", + ], + "nodeModulesDir": "auto", + "unstable": ["npm-patch"], "imports": { "@deno/vite-plugin": "npm:@deno/vite-plugin@1.0.5", "@types/react": "npm:@types/react@18.3.1", diff --git a/client/mdui_patched/LICENSE b/client/mdui_patched/LICENSE new file mode 100644 index 0000000..3b1c3b0 --- /dev/null +++ b/client/mdui_patched/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016-present zdhxiong@gmail.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/client/mdui_patched/README.md b/client/mdui_patched/README.md new file mode 100644 index 0000000..8829ae3 --- /dev/null +++ b/client/mdui_patched/README.md @@ -0,0 +1,49 @@ +# mdui + +[](https://badge.fury.io/gh/zdhxiong%2Fmdui) +[](https://www.npmjs.com/package/mdui) +[](https://cdnjs.com/libraries/mdui) + +[官网](https://www.mdui.org) | [文档](https://www.mdui.org/docs/2/) + +使用 Web Components 实现,遵循 Material You 设计规范的 Web 前端组件库。 + +* **Web Components**:mdui 组件全部使用 Web Components 开发,使用组件就像使用 `