@oliasoft-open-source/react-ui-library 9.5.2-beta-5 → 9.6.0-beta-2
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/global.css +1 -1
- package/dist/index.d.ts +4 -10
- package/dist/index.js +244 -260
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
2
|
import { Color as Color_2 } from 'react-aria-components/ColorPicker';
|
|
3
|
-
import { ComponentProps } from 'react';
|
|
4
|
-
import { ComponentType } from 'react';
|
|
5
3
|
import { Context } from 'react';
|
|
6
4
|
import { CSSProperties } from 'react';
|
|
7
5
|
import { default as default_2 } from 'react';
|
|
@@ -16,7 +14,6 @@ import { Id } from 'react-toastify';
|
|
|
16
14
|
import { JSX } from 'react/jsx-runtime';
|
|
17
15
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
18
16
|
import { KeyboardEventHandler } from 'react';
|
|
19
|
-
import { MemoExoticComponent } from 'react';
|
|
20
17
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
21
18
|
import { MouseEventHandler } from 'react';
|
|
22
19
|
import { MutableRefObject } from 'react';
|
|
@@ -1271,6 +1268,7 @@ export declare interface IPopoverProps {
|
|
|
1271
1268
|
closeOnOutsideClick?: boolean;
|
|
1272
1269
|
fullWidth?: boolean;
|
|
1273
1270
|
showCloseButton?: boolean;
|
|
1271
|
+
showArrow?: boolean;
|
|
1274
1272
|
testId?: string;
|
|
1275
1273
|
disabled?: boolean;
|
|
1276
1274
|
isOpen?: boolean;
|
|
@@ -2130,7 +2128,7 @@ declare type Placement = 'top-start' | 'top-center' | 'top-end' | 'right-start'
|
|
|
2130
2128
|
|
|
2131
2129
|
export declare const PopConfirm: ({ children, placement, closeOnOutsideClick, fullWidth, title, cancelText, onClickCancel, okText, onClickOk, disableConfirmButton, testId, }: IPopConfirmProps) => JSX.Element;
|
|
2132
2130
|
|
|
2133
|
-
export declare const Popover: ({ children, content, placement, closeOnOutsideClick, fullWidth, showCloseButton, testId, disabled, isOpen: externalIsOpen, onToggle: externalOnToggle, toggleOnTriggerClick, isNonModal, restoreTriggerFocusOnClose, }: IPopoverProps) => JSX.Element | null;
|
|
2131
|
+
export declare const Popover: ({ children, content, placement, closeOnOutsideClick, fullWidth, showCloseButton, showArrow, testId, disabled, isOpen: externalIsOpen, onToggle: externalOnToggle, toggleOnTriggerClick, isNonModal, restoreTriggerFocusOnClose, }: IPopoverProps) => JSX.Element | null;
|
|
2134
2132
|
|
|
2135
2133
|
export declare const Portal: ({ id, children }: IPortalProps) => ReactPortal | null;
|
|
2136
2134
|
|
|
@@ -2477,12 +2475,8 @@ declare type ViewType = typeof SPLIT_VIEW | typeof UNIFIED_VIEW;
|
|
|
2477
2475
|
|
|
2478
2476
|
export declare const widthOfCharacters: (characterCount: number) => string;
|
|
2479
2477
|
|
|
2480
|
-
export declare const withChainableErrorBoundary: (options?: ErrorBoundaryOptions) => <
|
|
2478
|
+
export declare const withChainableErrorBoundary: (options?: ErrorBoundaryOptions) => <T extends default_2.JSXElementConstructor<any>>(Component: T) => T;
|
|
2481
2479
|
|
|
2482
|
-
export declare const withErrorBoundary: <T extends
|
|
2483
|
-
|
|
2484
|
-
export declare const withErrorBoundaryv2: <T extends ComponentType<any>>(Component: T, options?: ErrorBoundaryOptions) => MemoExoticComponent<(props: ComponentProps<T>) => JSX.Element>;
|
|
2485
|
-
|
|
2486
|
-
export declare function withErrorBoundaryv3<P extends object>(Component: ComponentType<P>, options?: ErrorBoundaryOptions): ComponentType<P>;
|
|
2480
|
+
export declare const withErrorBoundary: <T extends default_2.JSXElementConstructor<any>>(Component: T, options?: ErrorBoundaryOptions) => T;
|
|
2487
2481
|
|
|
2488
2482
|
export { }
|