@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.
- package/index.d.ts +4 -1
- package/index.js +40 -40
- package/index.mjs +5430 -5288
- package/lib/Atoms/Buttons/CarouselNavigation/CarouselNavigation.d.ts +5 -0
- package/lib/Atoms/Buttons/CarouselNavigation/CarouselNavigation.types.d.ts +4 -0
- package/lib/Atoms/Content/GalleryPlaceholder/GalleryPlaceholder.d.ts +1 -0
- package/lib/Atoms/Progress/CarouselIndicator/CarouselIndicator.d.ts +3 -0
- package/lib/Atoms/Progress/CarouselIndicator/CarouselIndicator.types.d.ts +18 -0
- package/lib/Base/Icon/icons/index.d.ts +6 -0
- package/lib/Base/Icon/icons/outline/24x24/index.d.ts +6 -0
- package/lib/Base/Icon/icons/outline/index.d.ts +6 -0
- package/lib/Organisms/Modals/Sheet/Sheet.d.ts +1 -1
- package/lib/Organisms/Modals/Sheet/Sheet.types.d.ts +17 -9
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -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 @@
|
|
|
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,
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
8
|
-
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
primaryButtonText?: string;
|
|
17
|
+
sheetClassName?: string;
|
|
18
|
+
stickyFooter?: boolean;
|
|
13
19
|
}
|
|
20
|
+
export type SheetProps = SheetBaseProps;
|
|
21
|
+
export {};
|