@goodhood-web/ui 3.3.0-development.3 → 3.3.0-development.5

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.
@@ -0,0 +1,5 @@
1
+ import { ButtonProps } from '../Button/Button.types';
2
+ declare const CarouselNavigation: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "children" | "className" | "ref"> & {
3
+ direction: "left" | "right";
4
+ } & import('react').RefAttributes<HTMLButtonElement>>;
5
+ export default CarouselNavigation;
@@ -0,0 +1,4 @@
1
+ import { ButtonProps } from '../Button/Button.types';
2
+ export type CarouselNavigationProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & {
3
+ direction: 'left' | 'right';
4
+ };
@@ -0,0 +1 @@
1
+ export declare const GalleryPlaceholder: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { CarouselIndicatorProps } from './CarouselIndicator.types';
2
+ export declare const CarouselIndicator: ({ currentStep, hasContainer, maxDots, onDotClick, totalSteps, type, }: CarouselIndicatorProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CarouselIndicator;
@@ -0,0 +1,18 @@
1
+ type BaseCarouselIndicatorProps = {
2
+ currentStep: number;
3
+ hasContainer?: boolean;
4
+ maxDots?: number;
5
+ onDotClick?: (index: number) => void;
6
+ totalSteps: number;
7
+ type: 'dots' | 'numbers';
8
+ };
9
+ export type CarouselIndicatorDotsProps = BaseCarouselIndicatorProps & {
10
+ maxDots: number;
11
+ onDotClick?: (index: number) => void;
12
+ type: 'dots';
13
+ };
14
+ export type CarouselIndicatorNumbersProps = BaseCarouselIndicatorProps & {
15
+ type: 'numbers';
16
+ };
17
+ export type CarouselIndicatorProps = CarouselIndicatorDotsProps | CarouselIndicatorNumbersProps;
18
+ export {};
@@ -389,6 +389,12 @@ declare const iconsMap: {
389
389
  desc?: string;
390
390
  descId?: string;
391
391
  }>;
392
+ readonly photo_upload: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
393
+ title?: string;
394
+ titleId?: string;
395
+ desc?: string;
396
+ descId?: string;
397
+ }>;
392
398
  readonly pin: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
393
399
  title?: string;
394
400
  titleId?: string;
@@ -239,6 +239,12 @@ declare const IconsMap: {
239
239
  desc?: string;
240
240
  descId?: string;
241
241
  }>;
242
+ readonly photo_upload: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
243
+ title?: string;
244
+ titleId?: string;
245
+ desc?: string;
246
+ descId?: string;
247
+ }>;
242
248
  readonly pin: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
243
249
  title?: string;
244
250
  titleId?: string;
@@ -302,6 +302,12 @@ declare const iconsMap: {
302
302
  desc?: string;
303
303
  descId?: string;
304
304
  }>;
305
+ readonly photo_upload: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
306
+ title?: string;
307
+ titleId?: string;
308
+ desc?: string;
309
+ descId?: string;
310
+ }>;
305
311
  readonly pin: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
306
312
  title?: string;
307
313
  titleId?: string;
@@ -1,3 +1,3 @@
1
1
  import { SheetProps } from './Sheet.types';
2
- declare const Sheet: ({ ariaLabel, ariaLabelledBy, closeButtonText, onClose, open, sheetBody, sheetFooter, sheetHeader, }: SheetProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Sheet: ({ ariaLabel, ariaLabelledBy, breakpoint, cancelButtonText, content, contentClassName, defaultHeaderTitle, footer, header, onDismiss, onPrimaryAction, open, primaryButtonText, sheetClassName, stickyFooter, }: SheetProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Sheet;
@@ -1,13 +1,21 @@
1
- import { ReactElement } from 'react';
2
- import { CardBodyProps } from '../../../Molecules/Card/CardBody/CardBody.types';
3
- import { CardHeaderProps } from '../../../Molecules/Card/CardHeader/CardHeader.types';
4
- export interface SheetProps {
1
+ import { ReactNode } from 'react';
2
+ export type SheetBreakpoint = '690' | '800';
3
+ interface SheetBaseProps {
5
4
  ariaLabel?: string;
6
5
  ariaLabelledBy?: string;
7
- closeButtonText?: string;
8
- onClose?: () => void;
6
+ breakpoint?: SheetBreakpoint;
7
+ cancelButtonText?: string;
8
+ content?: ReactNode;
9
+ contentClassName?: string;
10
+ defaultHeaderTitle?: string;
11
+ footer?: ReactNode;
12
+ header?: ReactNode;
13
+ onDismiss?: () => void;
14
+ onPrimaryAction?: () => void;
9
15
  open: boolean;
10
- sheetBody?: ReactElement<CardBodyProps>;
11
- sheetFooter?: ReactElement<CardHeaderProps>;
12
- sheetHeader?: ReactElement<CardHeaderProps>;
16
+ primaryButtonText?: string;
17
+ sheetClassName?: string;
18
+ stickyFooter?: boolean;
13
19
  }
20
+ export type SheetProps = SheetBaseProps;
21
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.3.0-development.3",
3
+ "version": "3.3.0-development.5",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",