@hrnec06/react_utils 1.11.6 → 1.11.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hrnec06/react_utils",
3
- "version": "1.11.6",
3
+ "version": "1.11.8",
4
4
  "description": "React utilities",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
@@ -57,7 +57,7 @@ export default function SmoothExpander({
57
57
  <div
58
58
  ref={ref}
59
59
  className={clsx(
60
- "absolute top-0 left-0",
60
+ "absolute top-0 left-0 w-full",
61
61
  )}
62
62
  >
63
63
  {children}
package/src/index.ts CHANGED
@@ -36,6 +36,7 @@ import SmoothExpander from "./components/UI/SmoothExpander/SmoothExpander";
36
36
 
37
37
  import * as util from './lib/utils';
38
38
  import ContextError from "./lib/errors/ContextError";
39
+ import createContext from "./lib/createContext";
39
40
 
40
41
  export {
41
42
  // Hooks
@@ -84,5 +85,6 @@ export {
84
85
 
85
86
  // Utilities
86
87
  util,
87
- ContextError
88
+ ContextError,
89
+ createContext,
88
90
  };