skygraph-vue 0.5.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/LICENSE +21 -0
- package/README.md +36 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/package.json +75 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 SkyGraph Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# skygraph-vue
|
|
2
|
+
|
|
3
|
+
SkyGraph for Vue 3 — components, composables and the matching CSS bundle
|
|
4
|
+
in a single package.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm install skygraph-vue
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
```vue
|
|
11
|
+
<script setup lang="ts">
|
|
12
|
+
import { SgForm, SgField, SgSubmitButton } from 'skygraph-vue'
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<SgForm :default-values="{ email: '' }">
|
|
17
|
+
<SgField name="email" label="Email" />
|
|
18
|
+
<SgSubmitButton>Submit</SgSubmitButton>
|
|
19
|
+
</SgForm>
|
|
20
|
+
</template>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
That's it — no extra `@skygraph/styles` import, no separate `@skygraph/core`
|
|
24
|
+
install. The styles are pulled in automatically as a side effect of
|
|
25
|
+
importing from `skygraph-vue`.
|
|
26
|
+
|
|
27
|
+
## What's inside
|
|
28
|
+
|
|
29
|
+
`skygraph-vue` re-exports the full public API of `@skygraph/vue` and
|
|
30
|
+
ships the same `@skygraph/core` runtime plus the shared CSS. Existing
|
|
31
|
+
imports from `@skygraph/core` / `@skygraph/vue` / `@skygraph/styles`
|
|
32
|
+
keep working — this package is purely additive.
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
MIT
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@skygraph/styles");const t=require("@skygraph/vue");Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,kBAAkB,CAAA;AAEzB,cAAc,eAAe,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "skygraph-vue",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "SkyGraph for Vue 3 — components, composables and styles in a single install",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./styles": {
|
|
17
|
+
"default": "@skygraph/styles"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"./dist/index.js",
|
|
25
|
+
"./dist/index.cjs"
|
|
26
|
+
],
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"author": "Ruslan Sinkevich",
|
|
31
|
+
"homepage": "https://skygraph.ruslansinkevich.ru/vue/",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/RuslanSinkevich/skygraph-public.git",
|
|
35
|
+
"directory": "packages/skygraph-vue"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/RuslanSinkevich/skygraph-public/issues"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"vue",
|
|
42
|
+
"vue3",
|
|
43
|
+
"composables",
|
|
44
|
+
"ui",
|
|
45
|
+
"form",
|
|
46
|
+
"table",
|
|
47
|
+
"tree",
|
|
48
|
+
"design-system",
|
|
49
|
+
"skygraph"
|
|
50
|
+
],
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@skygraph/core": "0.4.0",
|
|
53
|
+
"@skygraph/styles": "0.1.0",
|
|
54
|
+
"@skygraph/vue": "0.5.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"vue": "^3.4.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
61
|
+
"rimraf": "^5.0.0",
|
|
62
|
+
"typescript": "^5.4.0",
|
|
63
|
+
"vite": "^5.4.0",
|
|
64
|
+
"vite-plugin-dts": "^4.0.0",
|
|
65
|
+
"vitest": "^2.0.0",
|
|
66
|
+
"vue": "^3.4.0",
|
|
67
|
+
"vue-tsc": "^2.0.0"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"build": "vite build",
|
|
71
|
+
"test": "vitest run --passWithNoTests",
|
|
72
|
+
"typecheck": "vue-tsc --noEmit",
|
|
73
|
+
"clean": "rimraf dist"
|
|
74
|
+
}
|
|
75
|
+
}
|