@cocoar/ui-overlay 0.1.0-beta.70

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 ADDED
@@ -0,0 +1,18 @@
1
+ # @cocoar/ui-overlay
2
+
3
+ Overlay primitives for the Cocoar Design System.
4
+
5
+ This library provides an Angular-first overlay foundation (specs, builders, service, refs) that higher-level UI components (tooltips, popovers, menus, dialogs) can build on.
6
+
7
+ ## Quick start
8
+
9
+ - Define an immutable spec via `Overlay.define(...)` / `Overlay.fork(...)`
10
+ - Open it via `CoarOverlayService.open(spec, inputs)`
11
+ - Use presets like `coarMenuPreset`, `coarModalPreset`, `coarTooltipPreset` for common behaviors
12
+
13
+ ## App-level policy (DI)
14
+
15
+ Consuming apps can provide `COAR_OVERLAY_SPEC_RESOLVERS` (multi provider) to apply global defaults/policies at open-time.
16
+ This is useful when plugins or shared libraries should inherit app behavior without importing app presets.
17
+
18
+ See the consuming guide: [docs/consuming/overlay.md](../../../docs/consuming/overlay.md)