@elmethis/react 0.22.0 → 0.24.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 +10 -11
- package/lib/fixtures/advanced-rag-pipeline.html +1 -1
- package/lib/index.react.cjs +4 -4
- package/lib/index.react.mjs +163 -163
- package/lib/style.css +1 -1
- package/lib-types/components/containments/elm-modal.d.ts.map +1 -1
- package/lib-types/components/containments/elm-toggle.d.ts +1 -2
- package/lib-types/components/containments/elm-toggle.d.ts.map +1 -1
- package/lib-types/components/containments/elm-tooltip.d.ts +2 -2
- package/lib-types/components/containments/elm-tooltip.d.ts.map +1 -1
- package/lib-types/hooks/use-auto-animate.d.ts +1 -2
- package/lib-types/hooks/use-auto-animate.d.ts.map +1 -1
- package/lib-types/hooks/use-bindable-signal.d.ts +2 -4
- package/lib-types/hooks/use-bindable-signal.d.ts.map +1 -1
- package/lib-types/hooks/use-bindable-store.d.ts +1 -3
- package/lib-types/hooks/use-bindable-store.d.ts.map +1 -1
- package/lib-types/hooks/use-clipboard.d.ts +2 -2
- package/lib-types/hooks/use-debounced-signal.d.ts +3 -6
- package/lib-types/hooks/use-debounced-signal.d.ts.map +1 -1
- package/lib-types/hooks/use-debounced-store.d.ts +3 -5
- package/lib-types/hooks/use-debounced-store.d.ts.map +1 -1
- package/lib-types/hooks/use-delayed-signal.d.ts +1 -2
- package/lib-types/hooks/use-delayed-signal.d.ts.map +1 -1
- package/lib-types/hooks/use-elmethis-theme.d.ts.map +1 -1
- package/lib-types/hooks/use-storage.d.ts +2 -5
- package/lib-types/hooks/use-storage.d.ts.map +1 -1
- package/lib-types/hooks/use-throttled-queue.d.ts +2 -6
- package/lib-types/hooks/use-throttled-queue.d.ts.map +1 -1
- package/lib-types/hooks/use-throttled-signal.d.ts +3 -5
- package/lib-types/hooks/use-throttled-signal.d.ts.map +1 -1
- package/lib-types/hooks/use-throttled-store.d.ts +3 -7
- package/lib-types/hooks/use-throttled-store.d.ts.map +1 -1
- package/lib-types/index.d.ts.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
React 19 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`;
|
|
@@ -12,15 +11,15 @@ lead/base-reference implementation:
|
|
|
12
11
|
|
|
13
12
|
## Scripts
|
|
14
13
|
|
|
15
|
-
| Script
|
|
16
|
-
|
|
|
17
|
-
| `pnpm dev`
|
|
18
|
-
| `pnpm build`
|
|
19
|
-
| `pnpm test.unit`
|
|
20
|
-
| `pnpm test.browser`
|
|
21
|
-
| `pnpm lint`
|
|
22
|
-
| `pnpm lint.css`
|
|
23
|
-
| `pnpm fmt`
|
|
14
|
+
| Script | Purpose |
|
|
15
|
+
| ------------------- | --------------------------------------------------- |
|
|
16
|
+
| `pnpm dev` | Storybook dev server (port 19221) |
|
|
17
|
+
| `pnpm build` | Build the library (`vite build`) + types (`tsc`) |
|
|
18
|
+
| `pnpm test.unit` | Unit specs (happy-dom + React Testing Library, SSR) |
|
|
19
|
+
| `pnpm test.browser` | Browser specs (real Chromium via Playwright) |
|
|
20
|
+
| `pnpm lint` | ESLint |
|
|
21
|
+
| `pnpm lint.css` | Stylelint |
|
|
22
|
+
| `pnpm fmt` | Prettier |
|
|
24
23
|
|
|
25
24
|
## Testing layers
|
|
26
25
|
|