@sps-woodland/growler 8.50.2 → 8.51.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 CHANGED
@@ -1,3 +1,32 @@
1
1
  ## [@sps-woodland/growler](https://github.com/SPSCommerce/woodland/tree/master/packages/@sps-woodland/growler#readme)
2
2
 
3
- SPS Woodland Design System growler component and hook
3
+ SPS Woodland Design System growler component and hook.
4
+
5
+ > **Heads up — this is a wrapper package.** The component source now lives in
6
+ > [`@sps-woodland/core`](../react). This package re-exports from the
7
+ > mono-package so existing imports keep working, but new code should prefer the
8
+ > mono-package paths.
9
+
10
+ ### Preferred imports (mono-package)
11
+
12
+ ```ts
13
+ import {
14
+ Growler,
15
+ GrowlerListProvider,
16
+ GrowlerEmitter,
17
+ growl,
18
+ useGrowler,
19
+ } from "@sps-woodland/core/growler";
20
+
21
+ import "@sps-woodland/core/growler/style.css";
22
+ ```
23
+
24
+ The growler family is barrel-only — there are no flat subpaths, since the
25
+ wrapper API has never differentiated them.
26
+
27
+ ### Legacy imports (still supported)
28
+
29
+ ```ts
30
+ import { Growler, GrowlerListProvider, GrowlerEmitter, growl } from "@sps-woodland/growler";
31
+ import "@sps-woodland/growler/style.css";
32
+ ```
package/lib/index.d.ts CHANGED
@@ -1,4 +1,2 @@
1
- export * from "./Growler";
2
- export * from "./GrowlerListProvider";
1
+ export * from "@sps-woodland/core/growler";
3
2
  export * from "./manifest";
4
- export { GrowlerEmitter, growl, type GrowlOptions } from "./sonner";