x-next 1.13.0 → 1.15.0
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/AI_CODING.md +6 -5
- package/AI_USAGE/catalog.md +108 -105
- package/AI_USAGE/components/alert-api.md +48 -0
- package/AI_USAGE/components/alert.md +222 -3
- package/AI_USAGE/components/bar-chart-api.md +177 -0
- package/AI_USAGE/components/bar-chart.md +297 -3
- package/AI_USAGE/components/boxicons.md +147 -0
- package/AI_USAGE/components/button-api.md +144 -0
- package/AI_USAGE/components/button.md +447 -3
- package/AI_USAGE/components/charts.md +81 -0
- package/AI_USAGE/components/checkbox-api.md +145 -0
- package/AI_USAGE/components/checkbox.md +365 -3
- package/AI_USAGE/components/color-picker-api.md +52 -0
- package/AI_USAGE/components/color-picker.md +211 -3
- package/AI_USAGE/components/config-provider-api.md +38 -0
- package/AI_USAGE/components/config-provider.md +250 -3
- package/AI_USAGE/components/date-picker-api.md +1114 -0
- package/AI_USAGE/components/date-picker.md +378 -3
- package/AI_USAGE/components/dialog-api.md +142 -0
- package/AI_USAGE/components/dialog.md +284 -3
- package/AI_USAGE/components/draggable-api.md +146 -0
- package/AI_USAGE/components/draggable.md +259 -0
- package/AI_USAGE/components/drawer-api.md +78 -0
- package/AI_USAGE/components/drawer.md +256 -0
- package/AI_USAGE/components/dropdown-api.md +529 -0
- package/AI_USAGE/components/dropdown.md +392 -3
- package/AI_USAGE/components/empty-api.md +36 -0
- package/AI_USAGE/components/empty.md +227 -3
- package/AI_USAGE/components/finicon.md +88 -0
- package/AI_USAGE/components/form-api.md +524 -0
- package/AI_USAGE/components/form.md +454 -0
- package/AI_USAGE/components/grid-api.md +527 -0
- package/AI_USAGE/components/grid.md +224 -0
- package/AI_USAGE/components/heatmap-api.md +122 -0
- package/AI_USAGE/components/heatmap.md +220 -0
- package/AI_USAGE/components/icon-api.md +4707 -0
- package/AI_USAGE/components/icon.md +257 -0
- package/AI_USAGE/components/image-api.md +440 -0
- package/AI_USAGE/components/image.md +465 -0
- package/AI_USAGE/components/input-api.md +184 -0
- package/AI_USAGE/components/input-number-api.md +66 -0
- package/AI_USAGE/components/input-number.md +294 -0
- package/AI_USAGE/components/input-tag-api.md +114 -0
- package/AI_USAGE/components/input-tag.md +482 -0
- package/AI_USAGE/components/input.md +293 -3
- package/AI_USAGE/components/layout-api.md +147 -0
- package/AI_USAGE/components/layout.md +230 -0
- package/AI_USAGE/components/line-chart-api.md +197 -0
- package/AI_USAGE/components/line-chart.md +306 -3
- package/AI_USAGE/components/link-api.md +42 -0
- package/AI_USAGE/components/link.md +197 -0
- package/AI_USAGE/components/menu-api.md +516 -0
- package/AI_USAGE/components/menu.md +268 -0
- package/AI_USAGE/components/message-api.md +215 -0
- package/AI_USAGE/components/message-box-api.md +108 -0
- package/AI_USAGE/components/message-box.md +268 -3
- package/AI_USAGE/components/message.md +231 -3
- package/AI_USAGE/components/network-api.md +91 -0
- package/AI_USAGE/components/network.md +378 -0
- package/AI_USAGE/components/notification-api.md +236 -0
- package/AI_USAGE/components/notification.md +275 -3
- package/AI_USAGE/components/pagination-api.md +62 -0
- package/AI_USAGE/components/pagination.md +380 -3
- package/AI_USAGE/components/pie-chart-api.md +109 -0
- package/AI_USAGE/components/pie-chart.md +245 -3
- package/AI_USAGE/components/popconfirm-api.md +75 -0
- package/AI_USAGE/components/popconfirm.md +231 -3
- package/AI_USAGE/components/popover-api.md +75 -0
- package/AI_USAGE/components/popover.md +208 -3
- package/AI_USAGE/components/popup-api.md +75 -0
- package/AI_USAGE/components/popup.md +52 -0
- package/AI_USAGE/components/progress-api.md +44 -0
- package/AI_USAGE/components/progress.md +248 -3
- package/AI_USAGE/components/radio-api.md +165 -0
- package/AI_USAGE/components/radio.md +259 -3
- package/AI_USAGE/components/rate-api.md +54 -0
- package/AI_USAGE/components/rate.md +233 -3
- package/AI_USAGE/components/resize-box-api.md +56 -0
- package/AI_USAGE/components/resize-box.md +231 -0
- package/AI_USAGE/components/scrollbar-api.md +77 -0
- package/AI_USAGE/components/scrollbar.md +218 -0
- package/AI_USAGE/components/select-api.md +758 -0
- package/AI_USAGE/components/select.md +640 -3
- package/AI_USAGE/components/skeleton-api.md +85 -0
- package/AI_USAGE/components/skeleton.md +150 -0
- package/AI_USAGE/components/slider-api.md +51 -0
- package/AI_USAGE/components/slider.md +233 -3
- package/AI_USAGE/components/space-api.md +38 -0
- package/AI_USAGE/components/space.md +145 -0
- package/AI_USAGE/components/spin-api.md +43 -0
- package/AI_USAGE/components/spin.md +205 -0
- package/AI_USAGE/components/steps-api.md +111 -0
- package/AI_USAGE/components/steps.md +201 -3
- package/AI_USAGE/components/switch-api.md +58 -0
- package/AI_USAGE/components/switch.md +290 -3
- package/AI_USAGE/components/table-api.md +2919 -0
- package/AI_USAGE/components/table.md +1457 -0
- package/AI_USAGE/components/tabs-api.md +135 -0
- package/AI_USAGE/components/tabs.md +308 -3
- package/AI_USAGE/components/tag-api.md +124 -0
- package/AI_USAGE/components/tag.md +292 -0
- package/AI_USAGE/components/textarea-api.md +55 -0
- package/AI_USAGE/components/textarea.md +326 -3
- package/AI_USAGE/components/time-picker-api.md +137 -0
- package/AI_USAGE/components/time-picker.md +271 -3
- package/AI_USAGE/components/time-range-selector-api.md +44 -0
- package/AI_USAGE/components/time-range-selector.md +355 -0
- package/AI_USAGE/components/timeline-api.md +93 -0
- package/AI_USAGE/components/timeline.md +312 -0
- package/AI_USAGE/components/tooltip-api.md +77 -0
- package/AI_USAGE/components/tooltip.md +182 -0
- package/AI_USAGE/components/tree-select-api.md +498 -0
- package/AI_USAGE/components/tree-select.md +744 -0
- package/AI_USAGE/components/trend-chart-api.md +119 -0
- package/AI_USAGE/components/trend-chart.md +335 -0
- package/AI_USAGE/components/trigger-api.md +124 -0
- package/AI_USAGE/components/trigger.md +185 -0
- package/AI_USAGE/components/upload-api.md +200 -0
- package/AI_USAGE/components/upload.md +711 -3
- package/AI_USAGE/components/watermark-api.md +87 -0
- package/AI_USAGE/components/watermark.md +200 -0
- package/AI_USAGE/core.md +1 -1
- package/AI_USAGE/index.md +36 -7
- package/AI_USAGE/recipes/form-on-demand.md +1 -1
- package/AI_USAGE.md +34972 -5
- package/CHANGELOG.md +39 -0
- package/dist/_props/css.d.ts +2 -1
- package/dist/_utils/inherit-component-type.d.ts +11 -0
- package/dist/components/bar-chart/BarChart.d.ts +1 -1
- package/dist/components/bar-chart/index.d.ts +3 -3
- package/dist/components/date-picker/index.d.ts +420 -5
- package/dist/components/form-input/index.d.ts +617 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/layout/index.d.ts +689 -1
- package/dist/components/line-chart/LineChart.d.ts +1 -1
- package/dist/components/line-chart/index.d.ts +3 -3
- package/dist/components/line-chart/interface.d.ts +2 -2
- package/dist/components/menu/index.d.ts +786 -1
- package/dist/components/tree-select/TreeNode.vue.d.ts +478 -0
- package/dist/components/tree-select/TreeSelect.d.ts +1549 -0
- package/dist/components/tree-select/TreeSelectDropdown.vue.d.ts +569 -0
- package/dist/components/tree-select/hooks/use-tree-select.d.ts +92 -0
- package/dist/components/tree-select/index.d.ts +3321 -0
- package/dist/components/tree-select/interface.d.ts +203 -0
- package/dist/components/tree-select/utils.d.ts +64 -0
- package/dist/es/_styles/palette-aliases.js +3 -0
- package/dist/es/_utils/inherit-component-type.js +6 -0
- package/dist/es/components/_components/feedback-icon/index.vue2.js +10 -10
- package/dist/es/components/button/Button.js +9 -9
- package/dist/es/components/date-picker/index.js +18 -17
- package/dist/es/components/drawer/src/Drawer.vue.js +6 -6
- package/dist/es/components/form-input/index.js +12 -11
- package/dist/es/components/form-switch/Switch.vue2.js +18 -18
- package/dist/es/components/image/Image.vue2.js +13 -13
- package/dist/es/components/image/ImagePreview.vue2.js +33 -33
- package/dist/es/components/index.js +55 -52
- package/dist/es/components/layout/index.js +10 -9
- package/dist/es/components/link/Link.vue2.js +12 -12
- package/dist/es/components/menu/hooks/use-level.js +5 -5
- package/dist/es/components/menu/index.js +13 -10
- package/dist/es/components/message/message.vue2.js +13 -13
- package/dist/es/components/spin/Spin.js +28 -28
- package/dist/es/components/tag/Tag.vue2.js +22 -22
- package/dist/es/components/timeline/src/Timeline.js +7 -7
- package/dist/es/components/tree-select/TreeNode.vue.js +91 -0
- package/dist/es/components/tree-select/TreeNode.vue2.js +162 -0
- package/dist/es/components/tree-select/TreeSelect.js +865 -0
- package/dist/es/components/tree-select/TreeSelectDropdown.vue.js +57 -0
- package/dist/es/components/tree-select/TreeSelectDropdown.vue2.js +79 -0
- package/dist/es/components/tree-select/hooks/use-tree-select.js +376 -0
- package/dist/es/components/tree-select/index.js +13 -0
- package/dist/es/components/tree-select/utils.js +181 -0
- package/dist/es/icons/animation/animation-loading.js +2 -2
- package/dist/es/index.js +71 -68
- package/dist/es/style.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/style/base.css +1 -1
- package/dist/style/dependencies.json +10 -0
- package/dist/style/drawer.css +1 -1
- package/dist/style/table.css +1 -1
- package/dist/style/tree-select.css +1 -0
- package/dist/style/tree-select.js +8 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +11 -5
- package/volar.d.ts +2 -0
package/dist/types.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ declare module 'vue' {
|
|
|
92
92
|
XBarChart: (typeof import('x-next'))['BarChart'];
|
|
93
93
|
XLineChart: (typeof import('x-next'))['LineChart'];
|
|
94
94
|
XPieChart: (typeof import('x-next'))['PieChart'];
|
|
95
|
+
XTreeSelect: (typeof import('x-next'))['TreeSelect'];
|
|
96
|
+
XTreeSelectDropdown: (typeof import('x-next'))['TreeSelectDropdown'];
|
|
95
97
|
}
|
|
96
98
|
}
|
|
97
99
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-next",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Vue 3 and TypeScript component library for enterprise applications.",
|
|
6
6
|
"keywords": [
|
|
@@ -84,8 +84,9 @@
|
|
|
84
84
|
"AI_USAGE"
|
|
85
85
|
],
|
|
86
86
|
"scripts": {
|
|
87
|
-
"build": "
|
|
88
|
-
"
|
|
87
|
+
"build": "pnpm run build:dist && pnpm run sync:ai-usage",
|
|
88
|
+
"build:dist": "node script/build-palette.js && node script/build-palette-aliases.js && node script/build-theme-dark.js && vue-tsc && vite build && vite build --config vite.icons.config.ts && node script/build-component-styles.js",
|
|
89
|
+
"check": "pnpm run check:volar && pnpm run lint && pnpm run check:type-debt && pnpm run check:icon-actions && pnpm run check:icons && pnpm run build:dist && pnpm run check:ai-usage && pnpm run test:ai-usage && pnpm run test:coverage && pnpm run docs:build:site && pnpm run check:doc-style && pnpm run check:boxicons-icons && pnpm run check:palette && pnpm run check:style-colors && pnpm run check:compiled-css && pnpm run check:style-tokens && pnpm run check:contrast && pnpm run check:locale && pnpm run check:doc-api && pnpm run check:runtime-debug && pnpm run check:package && pnpm run check:bundle-size",
|
|
89
90
|
"check:bundle-size": "node script/check-bundle-size.js",
|
|
90
91
|
"check:audit": "node script/check-security-audit.js",
|
|
91
92
|
"check:doc-style": "node script/check-doc-style-leaks.js",
|
|
@@ -101,14 +102,18 @@
|
|
|
101
102
|
"check:type-debt": "node script/check-type-debt.js",
|
|
102
103
|
"check:volar": "node script/check-volar-declarations.js",
|
|
103
104
|
"dev": "vite",
|
|
104
|
-
"docs:build": "
|
|
105
|
+
"docs:build": "pnpm run build && pnpm run docs:build:site",
|
|
106
|
+
"docs:build:site": "vitepress build src/docs",
|
|
105
107
|
"docs:dev": "vitepress dev src/docs",
|
|
106
108
|
"docs:preview": "vitepress preview src/docs",
|
|
107
109
|
"gen-volar-dts": "esbuild script/gen-component-declaration.js --bundle --platform=node --tsconfig=tsconfig.esbuild.json | node",
|
|
108
110
|
"lint": "eslint src/packages script vite.config.ts vite.icons.config.ts vitest.config.ts eslint.config.js",
|
|
109
111
|
"preview": "vite preview",
|
|
110
112
|
"generate:ai-usage": "node script/generate-ai-usage.js",
|
|
111
|
-
"
|
|
113
|
+
"import:ai-usage-docs": "node script/ai-usage/import-docs.js",
|
|
114
|
+
"sync:ai-usage": "pnpm run import:ai-usage-docs && pnpm run generate:ai-usage && pnpm run check:ai-usage",
|
|
115
|
+
"check:ai-usage-docs": "node script/ai-usage/import-docs.js --check",
|
|
116
|
+
"check:ai-usage": "node script/ai-usage/import-docs.js --check && node script/generate-ai-usage.js --check && node script/check-ai-usage.js",
|
|
112
117
|
"test:ai-usage": "node script/test-ai-usage.js",
|
|
113
118
|
"prepack": "pnpm run check:ai-usage",
|
|
114
119
|
"release": "npm publish --access=public",
|
|
@@ -118,6 +123,7 @@
|
|
|
118
123
|
"sync:lucide-icons": "node script/sync-lucide-icons.js",
|
|
119
124
|
"test:coverage": "vitest run --coverage",
|
|
120
125
|
"test:table": "vitest run src/packages/components/table/__tests__",
|
|
126
|
+
"test:css-color": "node script/test-css-color-consumer.js",
|
|
121
127
|
"test:unit": "vitest run",
|
|
122
128
|
"check:contrast": "node script/check-contrast.js",
|
|
123
129
|
"build:palette": "node script/build-palette.js && node script/build-palette-aliases.js && node script/build-theme-dark.js",
|
package/volar.d.ts
CHANGED
|
@@ -93,6 +93,8 @@ declare module 'vue' {
|
|
|
93
93
|
XBarChart: (typeof import('x-next'))['BarChart']
|
|
94
94
|
XLineChart: (typeof import('x-next'))['LineChart']
|
|
95
95
|
XPieChart: (typeof import('x-next'))['PieChart']
|
|
96
|
+
XTreeSelect: (typeof import('x-next'))['TreeSelect']
|
|
97
|
+
XTreeSelectDropdown: (typeof import('x-next'))['TreeSelectDropdown']
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
export {}
|