@elmethis/vue 0.20.0 → 0.22.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/README.md +3 -4
- package/lib/fixtures/advanced-rag-pipeline.html +1 -1
- package/lib/index.vue.cjs +3 -3
- package/lib/index.vue.mjs +193 -205
- package/lib/style.css +1 -1
- package/lib-types/components/a2ui/catalog/basic-catalog.d.ts.map +1 -1
- package/lib-types/components/a2ui/catalog/catalog.d.ts +1 -2
- package/lib-types/components/a2ui/catalog/catalog.d.ts.map +1 -1
- package/lib-types/components/a2ui/component-host.d.ts +3 -4
- package/lib-types/components/a2ui/component-host.d.ts.map +1 -1
- package/lib-types/components/a2ui/elm-a2ui.d.ts +1 -2
- package/lib-types/components/a2ui/elm-a2ui.d.ts.map +1 -1
- package/lib-types/components/containments/elm-modal.d.ts.map +1 -1
- package/lib-types/hooks/use-bindable-signal.d.ts +3 -4
- package/lib-types/hooks/use-bindable-signal.d.ts.map +1 -1
- package/lib-types/hooks/use-clipboard.d.ts +2 -2
- package/lib-types/hooks/use-elmethis-theme.d.ts +1 -3
- package/lib-types/hooks/use-elmethis-theme.d.ts.map +1 -1
- package/lib-types/index.d.ts.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Vue 3 component library for elmethis.
|
|
4
4
|
|
|
5
|
-
Components and hooks
|
|
6
|
-
lead/base-reference implementation:
|
|
5
|
+
Components and hooks follow the shared Elmethis component surface:
|
|
7
6
|
|
|
8
7
|
- design tokens come from `@elmethis/core` (`import "@elmethis/core/tokens.css"`);
|
|
9
8
|
- theming is native via CSS `light-dark()` + `color-scheme`;
|
|
@@ -13,8 +12,8 @@ lead/base-reference implementation:
|
|
|
13
12
|
## Authoring style
|
|
14
13
|
|
|
15
14
|
Components are authored in **TSX**, not single-file `.vue` components, to keep
|
|
16
|
-
the surface aligned with the
|
|
17
|
-
|
|
15
|
+
the surface aligned with the React and Solid siblings. Each component is a
|
|
16
|
+
`defineComponent` whose `setup`
|
|
18
17
|
returns a render function:
|
|
19
18
|
|
|
20
19
|
```tsx
|