@oliasoft-open-source/react-ui-library 6.13.0 → 6.14.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/components/button/button.d.ts +3 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/popover/popover.stories.d.ts +1 -0
- package/dist/components/popover/popover.stories.d.ts.map +1 -1
- package/dist/components/popover/popover.test-case.stories.d.ts +18 -0
- package/dist/components/popover/popover.test-case.stories.d.ts.map +1 -0
- package/dist/global.css +1 -1
- package/dist/helpers/overlay-trigger/index.d.ts +5 -0
- package/dist/helpers/overlay-trigger/index.d.ts.map +1 -0
- package/dist/helpers/overlay-trigger/overlay-trigger-child.d.ts +28 -0
- package/dist/helpers/overlay-trigger/overlay-trigger-child.d.ts.map +1 -0
- package/dist/helpers/overlay-trigger/utils.d.ts +30 -0
- package/dist/helpers/overlay-trigger/utils.d.ts.map +1 -0
- package/dist/index.js +2561 -2489
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export interface IButtonProps {
|
|
|
19
19
|
loading?: boolean;
|
|
20
20
|
name?: string | null;
|
|
21
21
|
onClick?: (evt: MouseEvent<HTMLButtonElement>) => void;
|
|
22
|
+
/** @deprecated */
|
|
22
23
|
pill?: boolean;
|
|
23
24
|
round?: boolean;
|
|
24
25
|
small?: boolean;
|
|
@@ -30,10 +31,11 @@ export interface IButtonProps {
|
|
|
30
31
|
warning?: string;
|
|
31
32
|
testId?: string;
|
|
32
33
|
tooltip?: ReactNode | string;
|
|
34
|
+
/** @deprecated */
|
|
33
35
|
inverted?: boolean;
|
|
34
36
|
component?: React.ElementType;
|
|
35
37
|
url?: string;
|
|
36
38
|
tabIndex?: number;
|
|
37
39
|
}
|
|
38
|
-
export declare const Button:
|
|
40
|
+
export declare const Button: React.ForwardRefExoticComponent<IButtonProps & React.RefAttributes<HTMLElement>>;
|
|
39
41
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAqB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMlE,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAqB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMlE,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B;AAaD,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACvD,kBAAkB;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,kBAAkB;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,MAAM,kFAgIlB,CAAC"}
|
|
@@ -14,5 +14,5 @@ export interface IPopoverProps {
|
|
|
14
14
|
onToggle?: (isOpen: boolean) => void;
|
|
15
15
|
toggleOnTriggerClick?: boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare const Popover: (
|
|
17
|
+
export declare const Popover: ({ children, content, placement, closeOnOutsideClick, fullWidth, showCloseButton, testId, disabled, isOpen: externalIsOpen, onToggle: externalOnToggle, toggleOnTriggerClick, }: IPopoverProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
18
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.tsx"],"names":[],"mappings":"AAAA,OAAc,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.tsx"],"names":[],"mappings":"AAAA,OAAc,EAIZ,SAAS,EAMV,MAAM,OAAO,CAAC;AAOf,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAanD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,eAAO,MAAM,OAAO,GAAI,gLAYrB,aAAa,mDA6Hf,CAAC"}
|
|
@@ -5,6 +5,7 @@ export default _default;
|
|
|
5
5
|
export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IPopoverProps>;
|
|
6
6
|
export declare const InputTrigger: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IPopoverProps>;
|
|
7
7
|
export declare const CloseButton: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IPopoverProps>;
|
|
8
|
+
export declare const Placement: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IPopoverProps>;
|
|
8
9
|
export declare const Disabled: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IPopoverProps>;
|
|
9
10
|
export declare const ExternalControl: StoryFn<IPopoverProps>;
|
|
10
11
|
//# sourceMappingURL=popover.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.stories.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAW,MAAM,WAAW,CAAC;wBA6C9C,IAAI;AAhBT,wBAgBU;AAIV,eAAO,MAAM,OAAO,iHAAoB,CAAC;AAEzC,eAAO,MAAM,YAAY,iHAAoB,CAAC;AAK9C,eAAO,MAAM,WAAW,iHAAoB,CAAC;AAM7C,eAAO,MAAM,QAAQ,iHAAoB,CAAC;AAK1C,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,aAAa,CAelD,CAAC"}
|
|
1
|
+
{"version":3,"file":"popover.stories.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAW,MAAM,WAAW,CAAC;wBA6C9C,IAAI;AAhBT,wBAgBU;AAIV,eAAO,MAAM,OAAO,iHAAoB,CAAC;AAEzC,eAAO,MAAM,YAAY,iHAAoB,CAAC;AAK9C,eAAO,MAAM,WAAW,iHAAoB,CAAC;AAM7C,eAAO,MAAM,SAAS,iHAAoB,CAAC;AAM3C,eAAO,MAAM,QAAQ,iHAAoB,CAAC;AAK1C,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,aAAa,CAelD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/react-vite';
|
|
2
|
+
import { IPopoverProps } from './popover';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Test: StoryFn<IPopoverProps>;
|
|
6
|
+
export declare const TestFlipNearViewportEdge: {
|
|
7
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
play({ canvasElement, }: {
|
|
9
|
+
canvasElement: HTMLElement;
|
|
10
|
+
}): Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export declare const TestFlipNearViewportBottom: {
|
|
13
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
play({ canvasElement, }: {
|
|
15
|
+
canvasElement: HTMLElement;
|
|
16
|
+
}): Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=popover.test-case.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAW,MAAM,WAAW,CAAC;wBAQ9C,IAAI;AAJT,wBAIU;AAEV,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,aAAa,CAAmC,CAAC;AAkD5E,eAAO,MAAM,wBAAwB;;6BAalC;QACD,aAAa,EAAE,WAAW,CAAC;KAC5B;CALA,CAAC;AAmBF,eAAO,MAAM,0BAA0B;;6BAapC;QACD,aAAa,EAAE,WAAW,CAAC;KAC5B;CALA,CAAC"}
|