@sohanemon/utils 2.1.2 → 3.0.1

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.
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  export { Icon as Iconify } from '@iconify/react';
3
4
  export function TailwindIndicator() {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useEffect, useLayoutEffect, useMemo, useRef, useState, } from 'react';
2
3
  export const useClickOutside = (callback = () => alert('clicked outside')) => {
3
4
  const ref = useRef(null);
package/dist/index.d.ts CHANGED
@@ -1,3 +1 @@
1
- export * from './components';
2
1
  export * from './functions';
3
- export * from './hooks';
package/dist/index.js CHANGED
@@ -1,3 +1 @@
1
- export * from './components';
2
1
  export * from './functions';
3
- export * from './hooks';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sohanemon/utils",
3
- "version": "2.1.2",
3
+ "version": "3.0.1",
4
4
  "description": "",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./dist/index.js",