@xplortech/apollo-vue 2.11.0 → 3.0.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/AGENTS.md +8 -2
- package/README.md +13 -1
- package/css/apollo.css +1 -13345
- package/css/core.css +1 -0
- package/css/reset.css +1 -0
- package/css/tailwind-theme.css +1 -0
- package/css/typography.css +1 -0
- package/css/variables/apollo.css +1 -0
- package/css/variables/field-edge.css +1 -0
- package/css/vendor/flatpickr.css +1 -0
- package/dist/components.d.ts +6 -0
- package/dist/components.js +1004 -140
- package/dist/components.js.map +1 -1
- package/dist/plugin.js +2 -6
- package/dist/plugin.js.map +1 -1
- package/package.json +14 -11
package/AGENTS.md
CHANGED
|
@@ -12,8 +12,10 @@ See the root [AGENTS.md](https://github.com/xplor/apollo/blob/main/AGENTS.md) fo
|
|
|
12
12
|
|------|---------|
|
|
13
13
|
| Build | `nx build @xplortech/apollo-vue` |
|
|
14
14
|
| TypeScript compile | `nx tsc @xplortech/apollo-vue` |
|
|
15
|
-
| Tests (
|
|
16
|
-
| Tests (
|
|
15
|
+
| Tests (smoke) | `nx test @xplortech/apollo-vue` |
|
|
16
|
+
| Tests (Vitest unit) | `nx test:unit @xplortech/apollo-vue` |
|
|
17
|
+
| Tests (SSR runtime) | `nx test:ssr @xplortech/apollo-vue` (requires `nx build @xplortech/apollo-core`) |
|
|
18
|
+
| Tests (watch) | `npm run test:watch -w @xplortech/apollo-vue` |
|
|
17
19
|
| Clean | `nx clean @xplortech/apollo-vue` |
|
|
18
20
|
|
|
19
21
|
There is no per-package lint target; lint runs at the workspace level via `npm run lint`.
|
|
@@ -24,3 +26,7 @@ There is no per-package lint target; lint runs at the workspace level via `npm r
|
|
|
24
26
|
|
|
25
27
|
- Usage, `v-model`, and registration patterns: [README.md](./README.md)
|
|
26
28
|
- Depends on `@xplortech/apollo-core` for custom elements and loader
|
|
29
|
+
|
|
30
|
+
## CSS proxy files
|
|
31
|
+
|
|
32
|
+
Committed one-line `@import` proxies under `css/` re-export `@xplortech/apollo-core` modular CSS without an `exports` field (subpaths resolve by file path). Per-component treeshake CSS is **not** proxied — consumers import `@xplortech/apollo-core/css/components/*` directly.
|
package/README.md
CHANGED
|
@@ -12,12 +12,24 @@ npm install @xplortech/apollo-vue @xplortech/apollo-core
|
|
|
12
12
|
|
|
13
13
|
Peer dependencies: **Vue 3+** and **TypeScript 5+**.
|
|
14
14
|
|
|
15
|
-
Import
|
|
15
|
+
Import the full stylesheet once in your app (backwards-compatible bundle):
|
|
16
16
|
|
|
17
17
|
```ts
|
|
18
18
|
import '@xplortech/apollo-vue/css/apollo.css';
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
For modular CSS (brand theming and treeshaking), import from the proxy paths exposed by this package:
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import '@xplortech/apollo-vue/css/variables/apollo.css';
|
|
25
|
+
import '@xplortech/apollo-vue/css/core.css';
|
|
26
|
+
import '@xplortech/apollo-vue/css/tailwind-theme.css'; // when using Tailwind v4 with Apollo theme tokens
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Other modular entry points: `reset.css`, `typography.css`, `variables/field-edge.css`, and `vendor/flatpickr.css`.
|
|
30
|
+
|
|
31
|
+
Per-component CSS for treeshaking is not proxied here — import directly from `@xplortech/apollo-core/css/components/*` (for example `@xplortech/apollo-core/css/components/button.css`).
|
|
32
|
+
|
|
21
33
|
## Registering components
|
|
22
34
|
|
|
23
35
|
### Option A — global plugin (registers custom elements)
|