@bysages/svelte 0.0.0 → 0.1.1

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 CHANGED
@@ -4,11 +4,11 @@
4
4
  ![npm downloads](https://img.shields.io/npm/dw/@bysages/svelte)
5
5
  ![npm license](https://img.shields.io/npm/l/@bysages/svelte)
6
6
 
7
- > By Sages Elements for Svelte — 70+ accessible component families, headless by construction, dressed by the paper-and-ink style layer.
7
+ > By Sages Elements for Svelte — 90+ accessible component families, headless by construction, dressed by the paper-and-ink style layer.
8
8
 
9
9
  ## Features
10
10
 
11
- - 🧩 **70+ families** — actions, forms, overlays, navigation, data, layout, and an AI conversation family on ai-sdk formats
11
+ - 🧩 **90+ families** — actions, forms, overlays, navigation, data, layout, and an AI conversation family on ai-sdk formats
12
12
  - 🏛️ **Headless inside** — interaction, state, ARIA, and positioning come from proven headless state machines; wrappers add API narrowing and style injection, no DOM of their own
13
13
  - 🎨 **Token-styled** — every visual value is a CSS custom property from `@bysages/core`; light/dark, accent pigments, contrast and density tiers are data, never hardcoded styles
14
14
  - 📦 **Container-driven** — components respond to `@container`, not the viewport; the same component composes in a sidebar, a card, or a page
@@ -18,27 +18,27 @@
18
18
 
19
19
  ```bash
20
20
  # pnpm
21
- pnpm add @bysages/svelte @bysages/core
21
+ pnpm add @bysages/svelte
22
22
 
23
23
  # npm
24
- npm install @bysages/svelte @bysages/core
24
+ npm install @bysages/svelte
25
25
 
26
26
  # yarn
27
- yarn add @bysages/svelte @bysages/core
27
+ yarn add @bysages/svelte
28
28
 
29
29
  # bun
30
- bun add @bysages/svelte @bysages/core
30
+ bun add @bysages/svelte
31
31
  ```
32
32
 
33
33
  ## Quick Start
34
34
 
35
- Import the token stylesheet once, theme the document, then use the components:
35
+ Theme the document, then use the components — the component import
36
+ carries the whole token layer in with it:
36
37
 
37
38
  ```ts
38
39
  // main.ts
39
- import "@bysages/tokens/css";
40
40
  import { mount } from "svelte";
41
- import { applyTheme } from "@bysages/core";
41
+ import { applyTheme } from "@bysages/svelte";
42
42
  import App from "./App.svelte";
43
43
 
44
44
  applyTheme({ mode: "system", accent: "ink" });