@theroutingcompany/components 0.0.117-alpha.0 → 0.0.117-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theroutingcompany/components",
3
- "version": "0.0.117-alpha.0",
3
+ "version": "0.0.117-alpha.1",
4
4
  "description": "The Routing Company Components",
5
5
  "main": "./dist/trc-components.umd.js",
6
6
  "module": "./dist/trc-components.es.js",
@@ -33,7 +33,7 @@ type UseDrawerProps = {
33
33
  triggerToggle?: boolean;
34
34
  id?: string;
35
35
  };
36
- export declare function useDrawer({ initialOpen, triggerToggle, id, }?: UseDrawerProps): {
36
+ export type UseDrawerState = {
37
37
  isOpen: boolean;
38
38
  toggleDrawer: () => void;
39
39
  openDrawer: () => void;
@@ -54,3 +54,4 @@ export declare function useDrawer({ initialOpen, triggerToggle, id, }?: UseDrawe
54
54
  [key: string]: unknown;
55
55
  };
56
56
  };
57
+ export declare function useDrawer({ initialOpen, triggerToggle, id, }?: UseDrawerProps): UseDrawerState;