g-ui-core 0.0.11 → 0.0.12
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 +2 -8
- package/vue/index.d.ts +0 -17
- package/vue/index.ts +0 -17
- package/vue/src/components.ts +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "g-ui-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "G-UI Web Components built with Stencil",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist/",
|
|
15
15
|
"loader/",
|
|
16
|
-
"vue/",
|
|
17
16
|
"types.d.ts"
|
|
18
17
|
],
|
|
19
18
|
"exports": {
|
|
@@ -27,10 +26,6 @@
|
|
|
27
26
|
"require": "./loader/index.cjs.js",
|
|
28
27
|
"types": "./loader/index.d.ts"
|
|
29
28
|
},
|
|
30
|
-
"./vue": {
|
|
31
|
-
"import": "./vue/index.js",
|
|
32
|
-
"types": "./vue/index.d.ts"
|
|
33
|
-
},
|
|
34
29
|
"./dist/*": "./dist/*",
|
|
35
30
|
"./dist/components": {
|
|
36
31
|
"types": "./dist/types/components.d.ts",
|
|
@@ -48,8 +43,7 @@
|
|
|
48
43
|
"storybook:dev": "concurrently -k -n stencil,sb -c cyan,magenta \"stencil build --watch\" \"storybook dev -p 6006\""
|
|
49
44
|
},
|
|
50
45
|
"dependencies": {
|
|
51
|
-
"@stencil/core": "^4.43.5"
|
|
52
|
-
"@stencil/vue-output-target": "^0.14.0"
|
|
46
|
+
"@stencil/core": "^4.43.5"
|
|
53
47
|
},
|
|
54
48
|
"devDependencies": {
|
|
55
49
|
"@stencil/react-output-target": "^1.6.0",
|
package/vue/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { AllowedComponentProps, ComponentCustomProps, VNodeProps } from 'vue'
|
|
2
|
-
import type { JSX } from 'g-ui-core'
|
|
3
|
-
|
|
4
|
-
type GButtonProps = JSX.GButton
|
|
5
|
-
|
|
6
|
-
export declare const GButton: new () => {
|
|
7
|
-
$props: AllowedComponentProps & ComponentCustomProps & VNodeProps & GButtonProps
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare const plugin: { install: (app: any) => void }
|
|
11
|
-
export default plugin
|
|
12
|
-
|
|
13
|
-
declare module '@vue/runtime-core' {
|
|
14
|
-
export interface GlobalComponents {
|
|
15
|
-
GButton: GButtonProps
|
|
16
|
-
}
|
|
17
|
-
}
|
package/vue/index.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import './src/components'
|
|
2
|
-
import { defineCustomElements } from '../loader'
|
|
3
|
-
|
|
4
|
-
export function applyPolyfills() {
|
|
5
|
-
return Promise.resolve()
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const plugin = {
|
|
9
|
-
install(app: any) {
|
|
10
|
-
const original = app.config?.compilerOptions?.isCustomElement
|
|
11
|
-
app.config.compilerOptions.isCustomElement = (tag: string) =>
|
|
12
|
-
tag.startsWith('g-') || (typeof original === 'function' && original(tag))
|
|
13
|
-
defineCustomElements()
|
|
14
|
-
},
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export default plugin
|
package/vue/src/components.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* auto-generated vue proxies */
|
|
4
|
-
import { defineContainer, type StencilVueComponent } from '@stencil/vue-output-target/runtime';
|
|
5
|
-
|
|
6
|
-
import type { JSX } from 'g-ui-core';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export const GButton: StencilVueComponent<JSX.GButton> = /*@__PURE__*/ defineContainer<JSX.GButton>('g-button', undefined, [
|
|
13
|
-
'type',
|
|
14
|
-
'size',
|
|
15
|
-
'plain',
|
|
16
|
-
'text',
|
|
17
|
-
'bg',
|
|
18
|
-
'link',
|
|
19
|
-
'round',
|
|
20
|
-
'circle',
|
|
21
|
-
'dashed',
|
|
22
|
-
'loading',
|
|
23
|
-
'loadingIcon',
|
|
24
|
-
'disabled',
|
|
25
|
-
'icon',
|
|
26
|
-
'autofocus',
|
|
27
|
-
'nativeType',
|
|
28
|
-
'autoInsertSpace',
|
|
29
|
-
'color',
|
|
30
|
-
'dark',
|
|
31
|
-
'tag',
|
|
32
|
-
'label'
|
|
33
|
-
]);
|
|
34
|
-
|
|
35
|
-
|