@ethlete/core 5.0.0-next.6 → 5.0.0-next.60

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +686 -0
  2. package/README.md +28 -4
  3. package/fesm2022/ethlete-core.mjs +8020 -3527
  4. package/fesm2022/ethlete-core.mjs.map +1 -1
  5. package/generators/devtools-about/generator.js +122 -0
  6. package/generators/devtools-about/schema.json +25 -0
  7. package/generators/generators.json +26 -5
  8. package/generators/migrate-provider-shape/migration-scope.js +35 -0
  9. package/generators/migrate-provider-shape/migration.js +50 -0
  10. package/generators/migrate-provider-shape/provider-shape.js +284 -0
  11. package/generators/migrate-provider-shape/schema.json +26 -0
  12. package/generators/migrate-surface-interaction-swatch/interaction-swatch.js +63 -0
  13. package/generators/migrate-surface-interaction-swatch/migration.js +36 -0
  14. package/generators/migrate-surface-interaction-swatch/schema.json +26 -0
  15. package/generators/migrate-to-v5/color-naming.js +170 -0
  16. package/generators/migrate-to-v5/create-provider.js +14 -14
  17. package/generators/migrate-to-v5/migration.js +11 -1
  18. package/generators/migrate-to-v5/removed-exports.js +93 -0
  19. package/generators/migrate-to-v5/router-state-service.js +33 -8
  20. package/generators/migrate-to-v5/schema.json +10 -0
  21. package/generators/migrate-to-v5/viewport-service.js +41 -60
  22. package/generators/tailwind-4-color-theme/generator.js +608 -0
  23. package/generators/tailwind-4-color-theme/schema.json +44 -0
  24. package/generators/tailwind-4-surface-theme/generator.js +599 -0
  25. package/generators/tailwind-4-surface-theme/schema.json +48 -0
  26. package/migrations/seo-directive-removed.md +80 -0
  27. package/migrations/surface-theme-regenerate.md +20 -0
  28. package/migrations.json +43 -0
  29. package/package.json +25 -14
  30. package/types/ethlete-core.d.ts +3329 -1774
  31. package/generators/tailwind-4-theme/generator.js +0 -490
  32. package/generators/tailwind-4-theme/schema.json +0 -32
package/README.md CHANGED
@@ -1,7 +1,31 @@
1
- # core
1
+ # @ethlete/core
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ Angular framework primitives for the Ethlete SDK - signal-based DOM observation, the surface/color theming systems, the animation and overlay engines, and a toolbox of directives, pipes and utilities. Component-less; every other `@ethlete/*` UI library builds on it.
4
4
 
5
- ## Running unit tests
5
+ ## Installation
6
6
 
7
- Run `nx test core` to execute the unit tests.
7
+ ```bash
8
+ yarn add @ethlete/core
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import { injectCurrentBreakpoint, signalHostElementDimensions } from '@ethlete/core';
15
+
16
+ @Component({/* … */})
17
+ export class ExampleComponent {
18
+ breakpoint = injectCurrentBreakpoint();
19
+ dimensions = signalHostElementDimensions();
20
+ }
21
+ ```
22
+
23
+ ## Documentation
24
+
25
+ Full guides on the docs site:
26
+
27
+ - [Overview](https://ethlete-sdk-docs.web.app/core/)
28
+ - [Element signals](https://ethlete-sdk-docs.web.app/core/element-signals) & [signal utilities](https://ethlete-sdk-docs.web.app/core/signal-utils)
29
+ - [Theming](https://ethlete-sdk-docs.web.app/core/theming)
30
+ - [Animations](https://ethlete-sdk-docs.web.app/core/animations) & [overlay runtime](https://ethlete-sdk-docs.web.app/core/overlay-runtime)
31
+ - [Providers](https://ethlete-sdk-docs.web.app/core/providers), [SEO](https://ethlete-sdk-docs.web.app/core/seo) & [utilities](https://ethlete-sdk-docs.web.app/core/utilities)