@goodhood-web/ui 1.6.0-development.5 → 1.6.0-development.6

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,8 +1,8 @@
1
1
  import { ButtonProps } from '../Button/Button.types';
2
- import { default as React } from 'react';
2
+ import { ReactNode } from 'react';
3
3
 
4
4
  export interface ButtonPrimaryProps extends Omit<ButtonProps, 'children'> {
5
- children?: React.ReactNode;
5
+ children?: ReactNode;
6
6
  color?: 'highlight' | 'primary' | 'transparent';
7
7
  loading?: boolean;
8
8
  size?: 'tiny' | 'small' | 'medium' | 'large';
@@ -3,5 +3,5 @@ type MarkdownProps = {
3
3
  inline?: boolean;
4
4
  text: string;
5
5
  };
6
- declare function Markdown({ text }: MarkdownProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function Markdown({ className, text }: MarkdownProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default Markdown;
@@ -1,5 +1,4 @@
1
1
  import { BackdropProps } from './Backdrop.types';
2
- import { default as React } from 'react';
3
2
 
4
- declare const Backdrop: React.ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const Backdrop: import('react').ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
4
  export default Backdrop;
@@ -1,7 +1,8 @@
1
1
  import { IconProps } from '../Icon/Icon.types';
2
+ import { ReactElement } from 'react';
2
3
 
3
4
  export type PlaceholderThumbnailProps = {
4
5
  className?: string;
5
- icon: React.ReactElement<IconProps>;
6
+ icon: ReactElement<IconProps>;
6
7
  size: 'small' | 'large';
7
8
  };
@@ -1,4 +1,4 @@
1
1
  import { PopupProps } from './Popup.types';
2
2
 
3
- declare const Popup: ({ anchor, children, id, offset, open, placement }: PopupProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Popup: ({ anchor, children, container, id, offset, open, placement, }: PopupProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Popup;
@@ -4,6 +4,7 @@ import { PopupPlacement } from '@mui/base';
4
4
  export interface PopupProps {
5
5
  anchor?: HTMLElement | null;
6
6
  children: ReactNode;
7
+ container?: HTMLElement | null;
7
8
  id?: string;
8
9
  offset?: 'sm' | 'md' | 'lg' | 'xl';
9
10
  open: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.6.0-development.5",
3
+ "version": "1.6.0-development.6",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {