@oneplatformdev/hooks 0.1.0-50 → 0.1.0-51

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.0-51 (2025-09-16)
2
+
3
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
4
+
1
5
  ## 0.1.0-50 (2025-09-15)
2
6
 
3
7
  This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/hooks",
3
- "version": "0.1.0-50",
3
+ "version": "0.1.0-51",
4
4
  "description": "React hook library",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -9,7 +9,7 @@ type Size = {
9
9
  /** The options for the ResizeObserver. */
10
10
  type UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {
11
11
  /** The ref of the element to observe. */
12
- ref: RefObject<T>;
12
+ ref: RefObject<T | undefined | null>;
13
13
  /**
14
14
  * When using `onResize`, the hook doesn't re-render on element size changes; it delegates handling to the provided callback.
15
15
  * @default undefined
@@ -1 +1 @@
1
- {"version":3,"file":"useResizeObserver.d.ts","sourceRoot":"","sources":["../../src/useResizeObserver/useResizeObserver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,wCAAwC;AACxC,KAAK,IAAI,GAAG;IACV,yCAAyC;IACzC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,0CAA0C;IAC1C,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,0CAA0C;AAC1C,KAAK,wBAAwB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACnE,yCAAyC;IACzC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;IACjB;;;OAGG;IACH,QAAQ,CAAC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