@julien-wiegandt/open-ui 0.1.54 → 0.1.56

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.
@@ -1,22 +1,6 @@
1
1
  import { Color, Radius } from '../../theme/types';
2
2
  import { default as React } from 'react';
3
3
  import { MarginProps, PaddingProps } from '../common/types';
4
- export declare const getPlacementStyle: (props: {
5
- popoverSize: {
6
- height: number;
7
- width: number;
8
- };
9
- childrenSize: {
10
- height: number;
11
- width: number;
12
- };
13
- gap: number;
14
- }) => Record<NonNullable<PopoverStyleProps["placement"]>, {
15
- top: string;
16
- left: string;
17
- right: string;
18
- bottom: string;
19
- }>;
20
4
  export type PopoverStyleProps = {
21
5
  color: Color;
22
6
  content: React.ReactNode;
@@ -11,17 +11,7 @@ export declare const StyledPopover: import('styled-components/dist/types').IStyl
11
11
  minWidth?: string;
12
12
  minheight?: string;
13
13
  hoverstyle?: import('styled-components/dist/types').Styles<object>;
14
- } & import('../common/types').MarginProps & import('../common/types').PaddingProps & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>, Omit<PopoverStyleProps, "body"> & {
15
- popoverSize: {
16
- height: number;
17
- width: number;
18
- };
19
- childrenSize: {
20
- height: number;
21
- width: number;
22
- };
23
- placement: NonNullable<PopoverStyleProps["placement"]>;
24
- }>> & string & Omit<import('react').ForwardRefExoticComponent<{
14
+ } & import('../common/types').MarginProps & import('../common/types').PaddingProps & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>, Omit<PopoverStyleProps, "content" | "children" | "body">>> & string & Omit<import('react').ForwardRefExoticComponent<{
25
15
  elevation?: import('../..').Elevation;
26
16
  direction?: import('../flex').FlexDirection;
27
17
  gap?: string | number;