de706817d0
- @vue-tui/runtime 0.1.0 -> 0.1.1 (ships #215's runtime changes). - @vue-tui/vite 0.0.0 -> 0.1.1 — first publish (the #215 plugin replacing @vue-tui/cli). - @vue-tui/components 0.0.0 -> 0.1.1 — first publish (#229; Spinner). First-publish readiness (runtime already had everything): - @vue-tui/vite: add LICENSE + README, list LICENSE in files. - @vue-tui/components: was `private: true` (wouldn't publish at all) — remove it and add publishConfig.access=public; add prepublishOnly (was MISSING — publish would not have auto-built dist); add LICENSE + README; change the @vue-tui/runtime peer from workspace:* (would publish as an exact `0.1.1` peer) to workspace:^ (^0.1.1). Publish flow verified for all three via `pnpm publish --dry-run` + `pnpm pack`: prepublishOnly auto-builds dist; the tarball ships LICENSE + README + dist (components also ships types: dist/index.d.mts); catalog:/workspace: are fully resolved (no literal strings; vite & components peer @vue-tui/runtime -> ^0.1.1). Publish with `pnpm publish` (NOT npm — npm ships literal catalog:). Order: runtime first, then vite + components (their peer points at ^0.1.1). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vue-tui/components
High-level Vue components for vue-tui, composed from
@vue-tui/runtime primitives.
Early days — the component set is small and growing. Currently:
Spinner.
Install
npm install @vue-tui/components
# peer deps: @vue-tui/runtime, vue ^3.4
Spinner
An animated loading spinner.
<script setup lang="ts">
import { Spinner } from "@vue-tui/components";
</script>
<template>
<Spinner type="dots" label="Loading" color="green" />
</template>
Props
| prop | type | default | description |
|---|---|---|---|
type |
preset name (e.g. "dots", "line") |
"dots" |
a built-in spinner animation |
frames |
string[] |
— | custom animation frames (overrides type) |
interval |
number |
preset's | ms between frames |
color |
string |
— | chalk color for the spinner glyph |
label |
string |
— | text shown next to the spinner |
License
MIT