@cagatayfdn/flora-components 0.0.93 → 0.0.94

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
@@ -1377,7 +1377,9 @@ export declare function useDisclosure(isOpenInit?: boolean): {
1377
1377
  onToggle: () => void;
1378
1378
  };
1379
1379
 
1380
- export declare function useDrawer(): (string | ((id: string) => void))[];
1380
+ declare type UseDrawer = [(id: string) => void, (id: string) => void, string];
1381
+
1382
+ export declare function useDrawer(): UseDrawer;
1381
1383
 
1382
1384
  export declare const useDrawerContext: () => DrawerContextType;
1383
1385
 
package/dist/index.d.ts CHANGED
@@ -1377,7 +1377,9 @@ export declare function useDisclosure(isOpenInit?: boolean): {
1377
1377
  onToggle: () => void;
1378
1378
  };
1379
1379
 
1380
- export declare function useDrawer(): (string | ((id: string) => void))[];
1380
+ declare type UseDrawer = [(id: string) => void, (id: string) => void, string];
1381
+
1382
+ export declare function useDrawer(): UseDrawer;
1381
1383
 
1382
1384
  export declare const useDrawerContext: () => DrawerContextType;
1383
1385
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.93",
3
+ "version": "0.0.94",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",