@sky.ui.pro/core 0.0.32 → 0.0.35
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 +107 -107
- package/dist/stub/index.js +2 -2
- package/package.json +2 -2
- package/dist/stub/index.d.ts +0 -3
package/README.md
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
# @sky.ui.pro/core
|
|
2
|
-
|
|
3
|
-
Pro-tier Lit web components for Sky UI. Extends the free catalog with advanced inputs, navigation, and layout components.
|
|
4
|
-
|
|
5
|
-
Requires an active Sky UI Pro subscription. Install alongside `@sky.ui/core` when your app uses both tiers.
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npx sky.ui.pro login
|
|
11
|
-
npx sky.ui.pro install
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Or install manually, then hydrate:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npm install "@sky.ui.pro/core"
|
|
18
|
-
npx sky.ui.pro install --framework=core
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
> Quote scoped names (`"@sky.ui/…"`) — required in PowerShell. See [powershell-scoped-packages.md](https://gitlab.com/sky_ui/sky-ui/-/blob/main/docs/powershell-scoped-packages.md).
|
|
22
|
-
|
|
23
|
-
For CI/CD:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
SKY_UI_AUTH_TOKEN=sk_ci_… npx sky.ui.pro install --yes --framework=core
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Manage tokens on your [Sky UI account](https://library.sky-ui.com/account). No `.npmrc` file is required.
|
|
30
|
-
|
|
31
|
-
| Token | Use |
|
|
32
|
-
|-------|-----|
|
|
33
|
-
| Personal (`sk_pt_…`) | Local development and MCP |
|
|
34
|
-
| CI/CD (`sk_ci_…`) | Pipelines (`SKY_UI_AUTH_TOKEN`) |
|
|
35
|
-
|
|
36
|
-
Peer dependencies match `@sky.ui/core` (`lit`, `@lit-labs/motion`, `@lit-labs/virtualizer`, `@lit/context`, `d3`, `three`). Runtime peers are required so Vite does not stub them as empty modules.
|
|
37
|
-
|
|
38
|
-
## Quick start
|
|
39
|
-
|
|
40
|
-
```js
|
|
41
|
-
import { SkyKanban } from '@sky.ui.pro/core';
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
```html
|
|
45
|
-
<sky-kanban></sky-kanban>
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Import only the Pro components you use for tree-shaken production bundles.
|
|
49
|
-
|
|
50
|
-
Per-component paths are also supported:
|
|
51
|
-
|
|
52
|
-
```js
|
|
53
|
-
import '@sky.ui.pro/core/sky-kanban';
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Auto-import resolvers
|
|
57
|
-
|
|
58
|
-
Use resolvers from `@sky.ui.pro/core/auto-import` with `unplugin-vue-components` or your bundler's component plugin, alongside the free-tier setup in [`@sky.ui/core`](https://www.npmjs.com/package/@sky.ui/core).
|
|
59
|
-
|
|
60
|
-
## Bundler plugins (Vite, Webpack, Rollup)
|
|
61
|
-
|
|
62
|
-
Pro packages mirror the free-tier plugin surface. Bundler plugins auto-import components and **validate your access token at build/dev time** (no runtime checks in shipped apps).
|
|
63
|
-
|
|
64
|
-
**Vite** (`@sky.ui.pro/core/vite`):
|
|
65
|
-
|
|
66
|
-
```js
|
|
67
|
-
import { SkyUIProMainVitePlugin } from '@sky.ui.pro/core/vite';
|
|
68
|
-
|
|
69
|
-
export default {
|
|
70
|
-
plugins: [
|
|
71
|
-
SkyUIProMainVitePlugin({
|
|
72
|
-
mode: 'auto-import', // or 'vue' with unplugin-vue-components
|
|
73
|
-
}),
|
|
74
|
-
],
|
|
75
|
-
};
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
**Webpack** (`@sky.ui.pro/core/webpack`): `SkyUIProMainWebpackPlugin()`
|
|
79
|
-
|
|
80
|
-
**Rollup** (`@sky.ui.pro/core/rollup`): `SkyUIProMainRollupPlugin({ mode: 'auto-import' })`
|
|
81
|
-
|
|
82
|
-
Vue / React Pro wrappers expose the same three bundlers at `@sky.ui.pro/vue/vite|webpack|rollup` and `@sky.ui.pro/react/vite|webpack|rollup`.
|
|
83
|
-
|
|
84
|
-
For resolver-only setup, use `@sky.ui.pro/core/auto-import` with `unplugin-vue-components`, alongside [`@sky.ui/core`](https://www.npmjs.com/package/@sky.ui/core) bundler plugins for free components.
|
|
85
|
-
|
|
86
|
-
## Framework wrappers
|
|
87
|
-
|
|
88
|
-
| Package | Description |
|
|
89
|
-
|---------|-------------|
|
|
90
|
-
| [`@sky.ui.pro/vue`](https://www.npmjs.com/package/@sky.ui.pro/vue) | Vue 3 SFC wrappers |
|
|
91
|
-
| [`@sky.ui.pro/react`](https://www.npmjs.com/package/@sky.ui.pro/react) | React wrappers |
|
|
92
|
-
|
|
93
|
-
Free-tier equivalents: [`@sky.ui/vue`](https://www.npmjs.com/package/@sky.ui/vue), [`@sky.ui/react`](https://www.npmjs.com/package/@sky.ui/react).
|
|
94
|
-
|
|
95
|
-
## Custom Elements Manifest
|
|
96
|
-
|
|
97
|
-
Component metadata is published at `@sky.ui.pro/core/custom-elements.json`.
|
|
98
|
-
|
|
99
|
-
## Updates window
|
|
100
|
-
|
|
101
|
-
Annual plans include one year of updates. You keep using versions released during your active window even after it ends; renew to receive newer releases.
|
|
102
|
-
|
|
103
|
-
## License
|
|
104
|
-
|
|
105
|
-
[Sky UI Pro Commercial License](https://unpkg.com/@sky.ui.pro/core/LICENSE.md) — requires an active Sky UI Pro subscription.
|
|
106
|
-
|
|
107
|
-
Documentation: [library.sky-ui.com](https://library.sky-ui.com)
|
|
1
|
+
# @sky.ui.pro/core
|
|
2
|
+
|
|
3
|
+
Pro-tier Lit web components for Sky UI. Extends the free catalog with advanced inputs, navigation, and layout components.
|
|
4
|
+
|
|
5
|
+
Requires an active Sky UI Pro subscription. Install alongside `@sky.ui/core` when your app uses both tiers.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx sky.ui.pro login
|
|
11
|
+
npx sky.ui.pro install
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Or install manually, then hydrate:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install "@sky.ui.pro/core"
|
|
18
|
+
npx sky.ui.pro install --framework=core
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
> Quote scoped names (`"@sky.ui/…"`) — required in PowerShell. See [powershell-scoped-packages.md](https://gitlab.com/sky_ui/sky-ui/-/blob/main/docs/powershell-scoped-packages.md).
|
|
22
|
+
|
|
23
|
+
For CI/CD:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
SKY_UI_AUTH_TOKEN=sk_ci_… npx sky.ui.pro install --yes --framework=core
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Manage tokens on your [Sky UI account](https://library.sky-ui.com/account). No `.npmrc` file is required.
|
|
30
|
+
|
|
31
|
+
| Token | Use |
|
|
32
|
+
|-------|-----|
|
|
33
|
+
| Personal (`sk_pt_…`) | Local development and MCP |
|
|
34
|
+
| CI/CD (`sk_ci_…`) | Pipelines (`SKY_UI_AUTH_TOKEN`) |
|
|
35
|
+
|
|
36
|
+
Peer dependencies match `@sky.ui/core` (`lit`, `@lit-labs/motion`, `@lit-labs/virtualizer`, `@lit/context`, `d3`, `three`). Runtime peers are required so Vite does not stub them as empty modules.
|
|
37
|
+
|
|
38
|
+
## Quick start
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
import { SkyKanban } from '@sky.ui.pro/core';
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<sky-kanban></sky-kanban>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Import only the Pro components you use for tree-shaken production bundles.
|
|
49
|
+
|
|
50
|
+
Per-component paths are also supported:
|
|
51
|
+
|
|
52
|
+
```js
|
|
53
|
+
import '@sky.ui.pro/core/sky-kanban';
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Auto-import resolvers
|
|
57
|
+
|
|
58
|
+
Use resolvers from `@sky.ui.pro/core/auto-import` with `unplugin-vue-components` or your bundler's component plugin, alongside the free-tier setup in [`@sky.ui/core`](https://www.npmjs.com/package/@sky.ui/core).
|
|
59
|
+
|
|
60
|
+
## Bundler plugins (Vite, Webpack, Rollup)
|
|
61
|
+
|
|
62
|
+
Pro packages mirror the free-tier plugin surface. Bundler plugins auto-import components and **validate your access token at build/dev time** (no runtime checks in shipped apps).
|
|
63
|
+
|
|
64
|
+
**Vite** (`@sky.ui.pro/core/vite`):
|
|
65
|
+
|
|
66
|
+
```js
|
|
67
|
+
import { SkyUIProMainVitePlugin } from '@sky.ui.pro/core/vite';
|
|
68
|
+
|
|
69
|
+
export default {
|
|
70
|
+
plugins: [
|
|
71
|
+
SkyUIProMainVitePlugin({
|
|
72
|
+
mode: 'auto-import', // or 'vue' with unplugin-vue-components
|
|
73
|
+
}),
|
|
74
|
+
],
|
|
75
|
+
};
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Webpack** (`@sky.ui.pro/core/webpack`): `SkyUIProMainWebpackPlugin()`
|
|
79
|
+
|
|
80
|
+
**Rollup** (`@sky.ui.pro/core/rollup`): `SkyUIProMainRollupPlugin({ mode: 'auto-import' })`
|
|
81
|
+
|
|
82
|
+
Vue / React Pro wrappers expose the same three bundlers at `@sky.ui.pro/vue/vite|webpack|rollup` and `@sky.ui.pro/react/vite|webpack|rollup`.
|
|
83
|
+
|
|
84
|
+
For resolver-only setup, use `@sky.ui.pro/core/auto-import` with `unplugin-vue-components`, alongside [`@sky.ui/core`](https://www.npmjs.com/package/@sky.ui/core) bundler plugins for free components.
|
|
85
|
+
|
|
86
|
+
## Framework wrappers
|
|
87
|
+
|
|
88
|
+
| Package | Description |
|
|
89
|
+
|---------|-------------|
|
|
90
|
+
| [`@sky.ui.pro/vue`](https://www.npmjs.com/package/@sky.ui.pro/vue) | Vue 3 SFC wrappers |
|
|
91
|
+
| [`@sky.ui.pro/react`](https://www.npmjs.com/package/@sky.ui.pro/react) | React wrappers |
|
|
92
|
+
|
|
93
|
+
Free-tier equivalents: [`@sky.ui/vue`](https://www.npmjs.com/package/@sky.ui/vue), [`@sky.ui/react`](https://www.npmjs.com/package/@sky.ui/react).
|
|
94
|
+
|
|
95
|
+
## Custom Elements Manifest
|
|
96
|
+
|
|
97
|
+
Component metadata is published at `@sky.ui.pro/core/custom-elements.json`.
|
|
98
|
+
|
|
99
|
+
## Updates window
|
|
100
|
+
|
|
101
|
+
Annual plans include one year of updates. You keep using versions released during your active window even after it ends; renew to receive newer releases.
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
[Sky UI Pro Commercial License](https://unpkg.com/@sky.ui.pro/core/LICENSE.md) — requires an active Sky UI Pro subscription.
|
|
106
|
+
|
|
107
|
+
Documentation: [library.sky-ui.com](https://library.sky-ui.com)
|
package/dist/stub/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Placeholder until sky.ui.pro CLI hydrates the full package from the private registry. */
|
|
2
|
-
export default {};
|
|
1
|
+
/** Placeholder until sky.ui.pro CLI hydrates the full package from the private registry. */
|
|
2
|
+
export default {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sky.ui.pro/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"description": "Sky UI Pro web components — run npx sky.ui.pro install after npm install.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sky-ui",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"CHANGELOG.md"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@sky.ui/core": "^0.0.
|
|
31
|
+
"@sky.ui/core": "^0.0.35",
|
|
32
32
|
"lit": ">=3 <4"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
package/dist/stub/index.d.ts
DELETED