@bysages/svelte 0.0.0 → 0.0.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
@@ -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" });
package/dist/index.d.mts CHANGED
@@ -56,6 +56,7 @@ import { Tour as Tour$1, TourInteractOutsideEvent, TourPointerDownOutsideEvent,
56
56
  import { TreeView as TreeView$1, TreeViewCheckedChangeDetails, TreeViewExpandedChangeDetails, TreeViewFocusChangeDetails, TreeViewSelectionChangeDetails } from "@ark-ui/svelte/tree-view";
57
57
  import { HTMLAnchorAttributes, HTMLAttributes, HTMLButtonAttributes } from "svelte/elements";
58
58
  import { JSONSchema7, JSONSchema7 as JSONSchema7$1 } from "json-schema";
59
+ export * from "@bysages/core";
59
60
  //#endregion
60
61
  //#region src/components/accordion/index.d.ts
61
62
  /** Ark's Accordion, dressed in the paper-and-ink system: a ruled sheet
@@ -82,6 +83,8 @@ interface ReasoningProps extends HTMLAttributes<HTMLDivElement> {
82
83
  }
83
84
  interface ToolProps extends HTMLAttributes<HTMLDivElement> {
84
85
  name: string;
86
+ /** Friendlier trigger words than the raw tool name. */
87
+ label?: string;
85
88
  status?: ToolStatus;
86
89
  input?: string;
87
90
  output?: string;