g-ui-core 0.0.5 → 0.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "g-ui-core",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "G-UI Web Components built with Stencil",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
package/vue/main.d.ts CHANGED
@@ -1,2 +1,10 @@
1
- /// <reference path="./index.d.ts" />
1
+ import type { Components } from '../dist/types/components'
2
+
3
+ // g-button 在 Vue 模板中的 props 类型(Volar 智能提示)
4
+ declare module '@vue/runtime-core' {
5
+ export interface GlobalComponents {
6
+ GButton: Partial<Components.GButton>
7
+ }
8
+ }
9
+
2
10
  export * from '../dist/types/index'
package/vue/global.d.ts DELETED
File without changes