@ldkj/web-ui 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. package/README.md +31 -31
  2. package/index.cjs +12 -12
  3. package/index.js +1307 -1304
  4. package/package.json +1 -1
  5. package/reset.css +11 -11
  6. package/style.css +1 -1
package/README.md CHANGED
@@ -1,31 +1,31 @@
1
- # @ldkj/web-ui
2
-
3
- 由 shadcn-ui, Tailwind CSS 和 VitePress 构建的企业级 React 组件库.
4
-
5
- ## 立即开始
6
-
7
- ```bash
8
- pnpm add @ldkj/web-ui
9
- ```
10
-
11
- ## 使用示例
12
-
13
- ```tsx
14
- import "@ldkj/web-ui/style.css";
15
- import { Button, Chip } from "@ldkj/web-ui";
16
-
17
- // 可选:如需启用设计系统基础重置(全局样式),再额外引入
18
- // import "@ldkj/web-ui/reset.css";
19
-
20
- export default function App() {
21
- return (
22
- <div className="p-4">
23
- <Button variant="primary">Hello World</Button>
24
- <Chip variant="success" size="sm">
25
- Ready
26
- </Chip>
27
- </div>
28
- );
29
- }
30
- ```
31
-
1
+ # @ldkj/web-ui
2
+
3
+ 由 shadcn-ui, Tailwind CSS 和 VitePress 构建的企业级 React 组件库.
4
+
5
+ ## 立即开始
6
+
7
+ ```bash
8
+ pnpm add @ldkj/web-ui
9
+ ```
10
+
11
+ ## 使用示例
12
+
13
+ ```tsx
14
+ import "@ldkj/web-ui/style.css";
15
+ import { Button, Chip } from "@ldkj/web-ui";
16
+
17
+ // 可选:如需启用设计系统基础重置(全局样式),再额外引入
18
+ // import "@ldkj/web-ui/reset.css";
19
+
20
+ export default function App() {
21
+ return (
22
+ <div className="p-4">
23
+ <Button variant="primary">Hello World</Button>
24
+ <Chip variant="success" size="sm">
25
+ Ready
26
+ </Chip>
27
+ </div>
28
+ );
29
+ }
30
+ ```
31
+