@vue-ui-kit/ant 2.0.3 → 2.0.5
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.
- package/README.md +9 -2
- package/dist/cjs/index.js +3 -3
- package/dist/declarations/antProxy.d.ts +21 -1
- package/dist/es/index.js +3233 -2867
- package/dist/packages/components/PCanvasGrid.vue.d.ts +697 -1
- package/dist/packages/components/PCanvasTable.vue.d.ts +4 -1
- package/dist/packages/components/PGrid.vue.d.ts +1559 -2
- package/dist/packages/components/RenderItemSlots.d.ts +2 -2
- package/dist/packages/utils/config.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/style.scss +17 -6
- package/package.json +3 -5
- package/src/declarations/antProxy.ts +26 -1
- package/src/packages/components/PCanvasGrid.vue +529 -2
- package/src/packages/components/PCanvasTable.vue +34 -11
- package/src/packages/components/PGrid.vue +2 -2
- package/src/packages/styles/index.scss +17 -6
- package/src/packages/utils/config.ts +16 -1
package/README.md
CHANGED
|
@@ -28,9 +28,12 @@ import Antd from 'ant-design-vue';
|
|
|
28
28
|
import UIKit from '@vue-ui-kit/ant';
|
|
29
29
|
|
|
30
30
|
// Import styles - choose one of the following methods:
|
|
31
|
-
// Method 1: Import SCSS source files (
|
|
31
|
+
// Method 1: Import SCSS source files (for development, allows variable override)
|
|
32
32
|
import '@vue-ui-kit/ant/style.scss';
|
|
33
33
|
|
|
34
|
+
// Method 1.1: Import compiled SCSS file (for production, standalone file)
|
|
35
|
+
// import '@vue-ui-kit/ant/dist/style.scss';
|
|
36
|
+
|
|
34
37
|
// Method 2: Import compiled CSS file
|
|
35
38
|
// import '@vue-ui-kit/ant/style.css';
|
|
36
39
|
|
|
@@ -69,6 +72,8 @@ If you encounter issues with the standard import, try these alternatives:
|
|
|
69
72
|
|
|
70
73
|
```scss
|
|
71
74
|
// In your main.scss file
|
|
75
|
+
@use '@vue-ui-kit/ant/dist/style.scss';
|
|
76
|
+
// or
|
|
72
77
|
@import '@vue-ui-kit/ant/dist/style.scss';
|
|
73
78
|
```
|
|
74
79
|
|
|
@@ -117,8 +122,10 @@ import '@vue-ui-kit/ant/dist/style.css';
|
|
|
117
122
|
### 方法3: SCSS @use 语法
|
|
118
123
|
|
|
119
124
|
```scss
|
|
125
|
+
// 开发环境(源码文件)
|
|
120
126
|
@use '@vue-ui-kit/ant/style.scss';
|
|
121
|
-
|
|
127
|
+
|
|
128
|
+
// 生产环境(编译后的独立文件)
|
|
122
129
|
@use '@vue-ui-kit/ant/dist/style.scss';
|
|
123
130
|
```
|
|
124
131
|
|