@obosbbl/grunnmuren-react 1.13.1 → 1.14.0-beta.0
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/dist/Accordion/Accordion.d.ts +7 -7
- package/dist/Accordion/stories/Accordion.stories.d.ts +2 -3
- package/dist/Alert/Alert.d.ts +1 -1
- package/dist/Alert/stories/Alert.stories.d.ts +1 -2
- package/dist/Banner/Banner.d.ts +1 -1
- package/dist/Banner/BannerImage.d.ts +1 -1
- package/dist/Banner/stories/Banner.stories.d.ts +1 -2
- package/dist/Button/stories/Button.stories.d.ts +1 -2
- package/dist/Campaign/stories/Campaign.stories.d.ts +2 -3
- package/dist/Card/stories/Card.stories.d.ts +3 -4
- package/dist/Checkbox/stories/Checkbox.stories.d.ts +1 -2
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/Chip/stories/Chip.stories.d.ts +1 -2
- package/dist/Footer/Footer.d.ts +1 -1
- package/dist/Footer/stories/Footer.stories.d.ts +1 -2
- package/dist/Form/Form.d.ts +2 -2
- package/dist/Form/FormError.d.ts +1 -1
- package/dist/Form/FormErrorMessage.d.ts +1 -1
- package/dist/Form/FormHelperText.d.ts +1 -1
- package/dist/Form/FormLabel.d.ts +1 -1
- package/dist/Form/FormSuccess.d.ts +1 -1
- package/dist/Form/MultiStep/FormStep.d.ts +16 -0
- package/dist/Form/MultiStep/FormStepContext.d.ts +13 -0
- package/dist/Form/MultiStep/FormStepHeader.d.ts +18 -0
- package/dist/Form/MultiStep/index.d.ts +3 -0
- package/dist/Form/index.d.ts +1 -0
- package/dist/Form/stories/Form.stories.d.ts +7 -7
- package/dist/Hero/stories/Hero.stories.d.ts +2 -3
- package/dist/Input/stories/Input.stories.d.ts +1 -2
- package/dist/Link/Link.d.ts +1 -1
- package/dist/Navbar/Navbar.d.ts +1 -1
- package/dist/Navbar/NavbarCollapsible.d.ts +1 -1
- package/dist/Navbar/NavbarContent.d.ts +1 -1
- package/dist/Navbar/NavbarExpandedMobileContent.d.ts +1 -1
- package/dist/Navbar/NavbarItems.d.ts +1 -1
- package/dist/Navbar/NavbarMenuButton.d.ts +1 -2
- package/dist/Navbar/stories/Navbar.stories.d.ts +1 -2
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Pagination/stories/Pagination.stories.d.ts +1 -2
- package/dist/Radio/stories/Radio.stories.d.ts +5 -6
- package/dist/Select/stories/Select.stories.d.ts +1 -2
- package/dist/Snackbar/Snackbar.d.ts +1 -1
- package/dist/Snackbar/SnackbarButton.d.ts +1 -1
- package/dist/Snackbar/SnackbarContent.d.ts +1 -1
- package/dist/Snackbar/stories/Snackbar.stories.d.ts +2 -3
- package/dist/StepList/StepList.d.ts +3 -3
- package/dist/StepList/stories/StepList.stories.d.ts +2 -3
- package/dist/TextArea/stories/TextArea.stories.d.ts +1 -2
- package/dist/TextField/stories/TextField.stories.d.ts +2 -3
- package/dist/__stories__/Icon.stories.d.ts +1 -2
- package/dist/__stories__/PageLayout.stories.d.ts +1 -2
- package/dist/__stories__/Typography.stories.d.ts +2 -3
- package/dist/grunnmuren.mjs +642 -452
- package/package.json +15 -15
|
@@ -2,17 +2,17 @@ import React from 'react';
|
|
|
2
2
|
interface AccordionProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
}
|
|
4
4
|
export declare const Accordion: {
|
|
5
|
-
(props: AccordionProps): JSX.Element;
|
|
6
|
-
Item: (props: AccordionItemProps) => JSX.Element;
|
|
7
|
-
Header: <T extends React.ElementType<any> = "h3">(props: AccordionHeaderProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, "as">) => JSX.Element;
|
|
8
|
-
Content: (props: AccordionContentProps) => JSX.Element;
|
|
5
|
+
(props: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
Item: (props: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
Header: <T extends React.ElementType<any> = "h3">(props: AccordionHeaderProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, "as">) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
Content: (props: AccordionContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
};
|
|
10
10
|
export interface AccordionItemProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
11
11
|
defaultOpen?: boolean;
|
|
12
12
|
open?: boolean;
|
|
13
13
|
onChange?: (open: boolean) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare const AccordionItem: (props: AccordionItemProps) => JSX.Element;
|
|
15
|
+
export declare const AccordionItem: (props: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
interface AccordionHeaderProps<T extends React.ElementType> {
|
|
17
17
|
/**
|
|
18
18
|
* The heading element that wraps the accordion item's button. Should always be an element with `role="heading"`
|
|
@@ -20,8 +20,8 @@ interface AccordionHeaderProps<T extends React.ElementType> {
|
|
|
20
20
|
* @default h3 */
|
|
21
21
|
as?: T;
|
|
22
22
|
}
|
|
23
|
-
export declare const AccordionHeader: <T extends React.ElementType<any> = "h3">(props: AccordionHeaderProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, "as">) => JSX.Element;
|
|
23
|
+
export declare const AccordionHeader: <T extends React.ElementType<any> = "h3">(props: AccordionHeaderProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, "as">) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
interface AccordionContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
25
25
|
}
|
|
26
|
-
export declare const AccordionContent: (props: AccordionContentProps) => JSX.Element;
|
|
26
|
+
export declare const AccordionContent: (props: AccordionContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,5 +5,5 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default _default;
|
|
9
|
-
export declare const Controlled: () => JSX.Element;
|
|
10
|
-
export declare const Uncontrolled: () => JSX.Element;
|
|
8
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Uncontrolled: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/Alert/Alert.d.ts
CHANGED
package/dist/Banner/Banner.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export interface BannerImageProps extends React.ComponentPropsWithoutRef<'img'>
|
|
|
3
3
|
width: number;
|
|
4
4
|
height: number;
|
|
5
5
|
}
|
|
6
|
-
export declare const BannerImage: (props: BannerImageProps) => JSX.Element;
|
|
6
|
+
export declare const BannerImage: (props: BannerImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const Composition: {
|
|
3
2
|
readonly Text: "Text";
|
|
4
3
|
readonly Icon: "Icon";
|
|
@@ -29,4 +28,4 @@ export declare const Default: (props: {
|
|
|
29
28
|
composition: CompositionValue;
|
|
30
29
|
disabled: boolean;
|
|
31
30
|
loading: boolean;
|
|
32
|
-
}) => JSX.Element;
|
|
31
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,5 +5,5 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default _default;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
10
|
-
export declare const WithCustomImageComponent: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const WithCustomImageComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CardProps } from '../../';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
@@ -16,19 +15,19 @@ declare const _default: {
|
|
|
16
15
|
};
|
|
17
16
|
export default _default;
|
|
18
17
|
export declare const Default: {
|
|
19
|
-
(props: CardProps<'div'>): JSX.Element;
|
|
18
|
+
(props: CardProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
args: {
|
|
21
20
|
bgColor: string;
|
|
22
21
|
};
|
|
23
22
|
};
|
|
24
23
|
export declare const Link: {
|
|
25
|
-
(props: CardProps<'div'>): JSX.Element;
|
|
24
|
+
(props: CardProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
26
25
|
args: {
|
|
27
26
|
bgColor: string;
|
|
28
27
|
};
|
|
29
28
|
};
|
|
30
29
|
export declare const CardList: {
|
|
31
|
-
(): JSX.Element;
|
|
30
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
32
31
|
parameters: {
|
|
33
32
|
layout: string;
|
|
34
33
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,4 +5,4 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/Chip/Chip.d.ts
CHANGED
package/dist/Footer/Footer.d.ts
CHANGED
package/dist/Form/Form.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface FormProps extends React.ComponentPropsWithoutRef<'form'> {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
heading?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const Form: (props: FormProps) => JSX.Element;
|
|
6
|
+
export declare const Form: (props: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export interface FormHeadingProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
8
8
|
}
|
|
9
|
-
export declare const FormHeading: (props: FormHeadingProps) => JSX.Element;
|
|
9
|
+
export declare const FormHeading: (props: FormHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Form/FormError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface FormErrorProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const FormError: (props: FormErrorProps) => JSX.Element;
|
|
4
|
+
export declare const FormError: (props: FormErrorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export interface FormErrorMessageProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const FormErrorMessage: (props: FormErrorMessageProps) => JSX.Element;
|
|
5
|
+
export declare const FormErrorMessage: (props: FormErrorMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export interface FormHelperTextProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const FormHelperText: (props: FormHelperTextProps) => JSX.Element;
|
|
5
|
+
export declare const FormHelperText: (props: FormHelperTextProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Form/FormLabel.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export interface LabelProps extends React.ComponentPropsWithoutRef<'label'> {
|
|
|
4
4
|
isRequired?: boolean;
|
|
5
5
|
isInvalid?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const FormLabel: (props: LabelProps) => JSX.Element;
|
|
7
|
+
export declare const FormLabel: (props: LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface FormSuccessProps extends React.ComponentPropsWithoutRef<'div'>
|
|
|
3
3
|
heading?: string;
|
|
4
4
|
text?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const FormSuccess: (props: FormSuccessProps) => JSX.Element;
|
|
6
|
+
export declare const FormSuccess: (props: FormSuccessProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormEventHandler } from 'react';
|
|
2
|
+
import { FormProps } from '..';
|
|
3
|
+
interface FormStepProps extends FormProps {
|
|
4
|
+
step: number;
|
|
5
|
+
heading: string;
|
|
6
|
+
formStatus: FormStatus;
|
|
7
|
+
onSubmit: FormEventHandler<HTMLFormElement>;
|
|
8
|
+
}
|
|
9
|
+
export interface FormStepData<T> {
|
|
10
|
+
formId: string;
|
|
11
|
+
status: FormStatus;
|
|
12
|
+
formData?: T;
|
|
13
|
+
}
|
|
14
|
+
export type FormStatus = 'blank' | 'completed';
|
|
15
|
+
export declare const FormStep: (props: FormStepProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type FieldValues = Record<string, unknown>;
|
|
3
|
+
export declare function useFormStepContext<FormStepData extends FieldValues>(formStep: number): {
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
activeStep: number;
|
|
6
|
+
setActiveStep: (step: number) => void;
|
|
7
|
+
previousFormStep: () => Promise<void>;
|
|
8
|
+
submitAndNextFormStep: (formValues: FormStepData) => void;
|
|
9
|
+
formData: any;
|
|
10
|
+
};
|
|
11
|
+
export declare function FormStepProvider({ children }: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { FormStatus } from './FormStep';
|
|
3
|
+
export interface FormStepHeaderProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
collapsed: boolean;
|
|
6
|
+
step: number;
|
|
7
|
+
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
formStatus: FormStatus;
|
|
10
|
+
}
|
|
11
|
+
export declare const FormStepHeader: (props: FormStepHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export interface FormStepHeaderContentProps {
|
|
13
|
+
collapsed: boolean;
|
|
14
|
+
step: number;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
formStatus: FormStatus;
|
|
17
|
+
}
|
|
18
|
+
export declare const FormStepHeaderContent: (props: FormStepHeaderContentProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Form/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,9 +5,10 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Label: () => JSX.Element;
|
|
10
|
-
export declare const ErrorMessage: () => JSX.Element;
|
|
11
|
-
export declare const Success: () => JSX.Element;
|
|
12
|
-
export declare const HelperText: () => JSX.Element;
|
|
13
|
-
export declare const Form: () => JSX.Element;
|
|
14
|
-
export declare const FormError: () => JSX.Element;
|
|
8
|
+
export declare const Label: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const ErrorMessage: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Success: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const HelperText: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Form: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const FormError: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const MultiStep: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { HeroProps } from '../../';
|
|
3
2
|
declare const metadata: {
|
|
4
3
|
title: string;
|
|
@@ -18,14 +17,14 @@ declare const metadata: {
|
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
19
|
export default metadata;
|
|
21
|
-
export declare function WithImage(props: HeroProps): JSX.Element;
|
|
20
|
+
export declare function WithImage(props: HeroProps): import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
export declare namespace WithImage {
|
|
23
22
|
var args: {
|
|
24
23
|
readonly contentPosition: "below-center";
|
|
25
24
|
readonly bgColor: "white";
|
|
26
25
|
};
|
|
27
26
|
}
|
|
28
|
-
export declare function WithoutImage(props: HeroProps): JSX.Element;
|
|
27
|
+
export declare function WithoutImage(props: HeroProps): import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export declare namespace WithoutImage {
|
|
30
29
|
var args: {
|
|
31
30
|
contentPosition: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,4 +5,4 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/Link/Link.d.ts
CHANGED
package/dist/Navbar/Navbar.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export interface NavbarCollapsibleProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const NavbarCollapsible: (props: NavbarCollapsibleProps) => JSX.Element;
|
|
6
|
+
export declare const NavbarCollapsible: (props: NavbarCollapsibleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface NavbarContentProps {
|
|
|
4
4
|
logo: React.ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const NavbarContent: (props: NavbarContentProps) => JSX.Element;
|
|
7
|
+
export declare const NavbarContent: (props: NavbarContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface NavbarExpandedMobileContentProps {
|
|
|
6
6
|
* Helper component that only renders when the navbar is expanded and on a small screen
|
|
7
7
|
* Simplifies having a totally different navbar layout than on desktop
|
|
8
8
|
*/
|
|
9
|
-
export declare const NavbarExpandedMobileContent: (props: NavbarExpandedMobileContentProps) => JSX.Element | null;
|
|
9
|
+
export declare const NavbarExpandedMobileContent: (props: NavbarExpandedMobileContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,4 +3,4 @@ export interface NavbarItemsProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const NavbarItems: (props: NavbarItemsProps) => JSX.Element;
|
|
6
|
+
export declare const NavbarItems: (props: NavbarItemsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,5 +19,5 @@ interface BasePaginationProps extends Omit<React.ComponentPropsWithoutRef<'nav'>
|
|
|
19
19
|
onChange?: (page: number) => void;
|
|
20
20
|
}
|
|
21
21
|
type PaginationProps = RequireAtLeastOne<BasePaginationProps, 'aria-label' | 'aria-labelledby'>;
|
|
22
|
-
export declare const Pagination: (props: PaginationProps) => JSX.Element;
|
|
22
|
+
export declare const Pagination: (props: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -18,7 +17,7 @@ export default metadata;
|
|
|
18
17
|
export declare const Default: {
|
|
19
18
|
(props: {
|
|
20
19
|
pageCount: number;
|
|
21
|
-
}): JSX.Element;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
args: {
|
|
23
22
|
pageCount: number;
|
|
24
23
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,8 +5,8 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Uncontrolled: () => JSX.Element;
|
|
10
|
-
export declare const Controlled: () => JSX.Element;
|
|
11
|
-
export declare const WithLabelAndHelpText: () => JSX.Element;
|
|
12
|
-
export declare const WithLongLabelThatBreaksLines: () => JSX.Element;
|
|
13
|
-
export declare const WithErrorText: () => JSX.Element;
|
|
8
|
+
export declare const Uncontrolled: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const WithLabelAndHelpText: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const WithLongLabelThatBreaksLines: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const WithErrorText: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SelectProps } from '../';
|
|
3
2
|
declare const metadata: {
|
|
4
3
|
title: string;
|
|
@@ -24,4 +23,4 @@ declare const metadata: {
|
|
|
24
23
|
};
|
|
25
24
|
};
|
|
26
25
|
export default metadata;
|
|
27
|
-
export declare const Default: (props: SelectProps) => JSX.Element;
|
|
26
|
+
export declare const Default: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface SnackbarButtonProps extends React.ComponentPropsWithoutRef<'but
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const SnackbarButton: (props: SnackbarButtonProps) => JSX.Element;
|
|
6
|
+
export declare const SnackbarButton: (props: SnackbarButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export interface SnackbarContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const SnackbarContent: (props: SnackbarContentProps) => JSX.Element;
|
|
5
|
+
export declare const SnackbarContent: (props: SnackbarContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,5 +5,5 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
10
|
-
export declare const SnackbarWithContent: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const SnackbarWithContent: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,8 +12,8 @@ export interface StepListProps extends React.ComponentPropsWithoutRef<'ol'> {
|
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
}
|
|
14
14
|
declare const StepList: {
|
|
15
|
-
(props: StepListProps): JSX.Element;
|
|
16
|
-
Item: (props: StepListItemProps) => JSX.Element;
|
|
15
|
+
(props: StepListProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
Item: (props: StepListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
};
|
|
18
18
|
export interface StepListItemProps extends React.ComponentPropsWithoutRef<'li'> {
|
|
19
19
|
/** Content for the StepListItem's bullet */
|
|
@@ -21,5 +21,5 @@ export interface StepListItemProps extends React.ComponentPropsWithoutRef<'li'>
|
|
|
21
21
|
/** @private this is set by the parent StepList component */
|
|
22
22
|
align?: Alignment;
|
|
23
23
|
}
|
|
24
|
-
export declare const StepListItem: (props: StepListItemProps) => JSX.Element;
|
|
24
|
+
export declare const StepListItem: (props: StepListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export { StepList };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { StepListProps } from '../..';
|
|
3
2
|
declare const metadata: {
|
|
4
3
|
title: string;
|
|
@@ -16,5 +15,5 @@ declare const metadata: {
|
|
|
16
15
|
};
|
|
17
16
|
};
|
|
18
17
|
export default metadata;
|
|
19
|
-
export declare const Numbered: (props: StepListProps) => JSX.Element;
|
|
20
|
-
export declare const Icons: (props: StepListProps) => JSX.Element;
|
|
18
|
+
export declare const Numbered: (props: StepListProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const Icons: (props: StepListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,4 +5,4 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,5 +5,5 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
10
|
-
export declare const Validation: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Validation: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,4 +5,4 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default _default;
|
|
9
|
-
export declare function Icons(): JSX.Element;
|
|
8
|
+
export declare function Icons(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const metadata: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,5 +5,5 @@ declare const metadata: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default metadata;
|
|
9
|
-
export declare const Default: () => JSX.Element;
|
|
10
|
-
export declare const Prose: () => JSX.Element;
|
|
8
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Prose: () => import("react/jsx-runtime").JSX.Element;
|