uikit-react-public 0.38.0 → 0.38.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.
@@ -1,6 +1,5 @@
1
1
  interface PanelProps {
2
- zIndex?: number;
3
2
  children: React.ReactNode;
4
3
  }
5
- declare const Panel: ({ zIndex, children, }: PanelProps) => import("react").JSX.Element;
4
+ declare const Panel: ({ children }: PanelProps) => import("react").JSX.Element;
6
5
  export default Panel;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, RefObject, ReactElement } from 'react';
2
- import { Placement, FlipOptions, ShiftOptions } from '@floating-ui/react-dom';
2
+ import { Placement, FlipOptions, ShiftOptions, Strategy } from '@floating-ui/react-dom';
3
3
  export declare const NAME = "ucl-overlay";
4
4
  type OverlaySizeOptions = {
5
5
  padding?: number;
@@ -13,6 +13,7 @@ export type OverlaySize = {
13
13
  export interface OverlayProps extends HTMLAttributes<HTMLDivElement> {
14
14
  reference: RefObject<HTMLElement | null>;
15
15
  placement?: Placement;
16
+ strategy?: Strategy;
16
17
  blanket?: boolean;
17
18
  flip?: boolean | FlipOptions;
18
19
  shift?: boolean | ShiftOptions;
@@ -42,6 +42,7 @@ declare const meta: {
42
42
  decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
43
43
  reference: import('react').RefObject<HTMLElement | null>;
44
44
  placement?: import('@floating-ui/utils').Placement | undefined;
45
+ strategy?: import('@floating-ui/utils').Strategy | undefined;
45
46
  blanket?: boolean | undefined;
46
47
  flip?: boolean | {
47
48
  padding?: import('@floating-ui/utils').Padding | undefined;