indicator-ui 1.1.115 → 1.1.116

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.
@@ -0,0 +1 @@
1
+ export * from './useDrawerV2';
@@ -0,0 +1,12 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { PolyPropsWithInstanceRef } from '../../../../types';
3
+ type PropsType<T extends ElementType> = PolyPropsWithInstanceRef<T, React.ComponentRef<T>, {
4
+ isOpen?: boolean;
5
+ className?: string;
6
+ }>;
7
+ export declare function useDrawerV2<T extends ElementType>(props: PropsType<T>): {
8
+ Component: React.ElementType;
9
+ wrapperRef: React.RefObject<Element | null>;
10
+ otherProps: Omit<PropsType<T>, "as" | "instanceRef" | "className" | "isOpen">;
11
+ };
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,6 @@
1
+ import { useDrawerV2 } from '../hooks';
2
+ import { default as React, ElementType } from 'react';
3
+ type PropsType<T extends ElementType> = Parameters<typeof useDrawerV2<T>>[number];
4
+ export declare function DrawerV2(props: PropsType<'div'>): React.JSX.Element;
5
+ export declare function DrawerV2<T extends ElementType>(props: PropsType<T>): React.JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './DrawerV2';
@@ -0,0 +1 @@
1
+ export * from './DrawerV2';
@@ -28,6 +28,7 @@ export * from './Dropdown';
28
28
  export * from './Breadcrumbs';
29
29
  export * from './ConditionalFallback';
30
30
  export * from './Drawer';
31
+ export * from './DrawerV2';
31
32
  export * from './formFields';
32
33
  export * from './DropdownV2';
33
34
  export * from './MediaViewerV2';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.1.115",
14
+ "version": "1.1.116",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",