@sky.ui.ultra/core 0.0.44 → 0.0.45

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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -53,6 +53,19 @@ Per-component paths are also supported:
53
53
  import '@sky.ui.ultra/core/sky-table';
54
54
  ```
55
55
 
56
+ ## CAD Kit (explicit opt-in)
57
+
58
+ `sky-model-viewer` remains in the normal Core package. Its 130+ MB CAD runtime is downloaded only when your application explicitly imports the CAD entry point:
59
+
60
+ ```js
61
+ import '@sky.ui.ultra/core/sky-model-viewer';
62
+ import '@sky.ui.ultra/core/sky-model-viewer/cad-kit';
63
+ ```
64
+
65
+ When you use an Ultra Vite, Webpack, or Rollup plugin, simply run your normal `npm run dev` or build command after adding the import. The plugin scans local source before module resolution and fetches the matching CAD payload only for that explicit import. The access token stays in the Node build process; the payload is verified against the private registry integrity value before it is installed. Set `autoHydrateCadKit: false` in the plugin options for locked-down environments, then use `npx sky.ui.ultra install` as the manual fallback. Installing `@sky.ui.ultra/core`, `@sky.ui.ultra/vue`, or `@sky.ui.ultra/react` alone does not download it.
66
+
67
+ Use `@sky.ui.ultra/core/sky-model-viewer/cad-kit/single-thread` when your deployment does not use cross-origin isolation.
68
+
56
69
  ## Auto-import resolvers
57
70
 
58
71
  `SkyUIUltraMainVitePlugin` alone stacks **free + Pro + Ultra** Main resolvers and per-file kebab `<sky-*>` CE auto-import. You do not need a separate Free/Pro core plugin.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sky.ui.ultra/core",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "description": "Sky UI Ultra web components — run npx sky.ui.ultra install after npm install.",
5
5
  "keywords": [
6
6
  "sky-ui",
@@ -28,8 +28,8 @@
28
28
  "CHANGELOG.md"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@sky.ui/core": "^0.0.44",
32
- "@sky.ui.pro/core": "^0.0.44",
31
+ "@sky.ui/core": "^0.0.45",
32
+ "@sky.ui.pro/core": "^0.0.45",
33
33
  "lit": ">=3 <4"
34
34
  },
35
35
  "peerDependenciesMeta": {