enjanga-components-library 1.0.31 → 1.0.33

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/dist/index.d.mts CHANGED
@@ -245,8 +245,8 @@ interface UseContainerSizeOptions {
245
245
  customBreakpoints?: Partial<Record<SizeClass, number>>;
246
246
  defaultSize?: SizeClass;
247
247
  }
248
- declare const useContainerSize: (options?: UseContainerSizeOptions) => {
249
- containerRef: react.RefObject<HTMLDivElement | null>;
248
+ declare const useContainerSize: <T extends HTMLElement>(options?: UseContainerSizeOptions) => {
249
+ containerRef: react.RefObject<T | null>;
250
250
  activeBreakpoint: SizeClass;
251
251
  };
252
252
 
package/dist/index.d.ts CHANGED
@@ -245,8 +245,8 @@ interface UseContainerSizeOptions {
245
245
  customBreakpoints?: Partial<Record<SizeClass, number>>;
246
246
  defaultSize?: SizeClass;
247
247
  }
248
- declare const useContainerSize: (options?: UseContainerSizeOptions) => {
249
- containerRef: react.RefObject<HTMLDivElement | null>;
248
+ declare const useContainerSize: <T extends HTMLElement>(options?: UseContainerSizeOptions) => {
249
+ containerRef: react.RefObject<T | null>;
250
250
  activeBreakpoint: SizeClass;
251
251
  };
252
252
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enjanga-components-library",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Reusable component library for Next.js 13+ projects with Carbon design system.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",