@phillips/seldon 1.79.1 → 1.79.2
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/build/buildUtils.d.ts +1 -0
- package/dist/build/buildUtils.test.d.ts +1 -0
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.stories.d.ts +18 -0
- package/dist/components/Accordion/Accordion.test.d.ts +1 -0
- package/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +16 -0
- package/dist/components/Breadcrumb/Breadcrumb.test.d.ts +1 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +31 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/Carousel/Carousel.d.ts +3 -3
- package/dist/components/Carousel/Carousel.stories.d.ts +22 -0
- package/dist/components/Carousel/Carousel.test.d.ts +1 -0
- package/dist/components/Carousel/CarouselContent.d.ts +1 -1
- package/dist/components/Carousel/CarouselDots.d.ts +1 -1
- package/dist/components/Carousel/CarouselItem.d.ts +1 -1
- package/dist/components/Carousel/utils.d.ts +3 -3
- package/dist/components/Collapsible/Collapsible.d.ts +1 -1
- package/dist/components/Collapsible/Collapsible.stories.d.ts +28 -0
- package/dist/components/Collapsible/Collapsible.test.d.ts +1 -0
- package/dist/components/Collapsible/CollapsibleContent.d.ts +1 -1
- package/dist/components/Collapsible/CollapsibleTrigger.d.ts +1 -1
- package/dist/components/ContentPeek/ContentPeek.d.ts +1 -1
- package/dist/components/ContentPeek/ContentPeek.stories.d.ts +33 -0
- package/dist/components/ContentPeek/ContentPeek.test.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +90 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +360 -0
- package/dist/components/DatePicker/DatePicker.test.d.ts +1 -0
- package/dist/components/Detail/Detail.d.ts +1 -1
- package/dist/components/Detail/Detail.stories.d.ts +14 -0
- package/dist/components/Detail/Detail.test.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +1 -1
- package/dist/components/Drawer/Drawer.stories.d.ts +14 -0
- package/dist/components/Drawer/Drawer.test.d.ts +1 -0
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.stories.d.ts +24 -0
- package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
- package/dist/components/Grid/Grid.stories.d.ts +14 -0
- package/dist/components/Grid/Grid.test.d.ts +1 -0
- package/dist/components/GridItem/GridItem.d.ts +1 -1
- package/dist/components/GridItem/GridItem.stories.d.ts +30 -0
- package/dist/components/GridItem/GridItem.test.d.ts +1 -0
- package/dist/components/GridItem/gridItemUtils.d.ts +1 -1
- package/dist/components/IconButton/IconButton.stories.d.ts +33 -0
- package/dist/components/IconButton/IconButton.test.d.ts +1 -0
- package/dist/components/Input/Input.stories.d.ts +324 -0
- package/dist/components/Input/Input.test.d.ts +1 -0
- package/dist/components/Link/Link.stories.d.ts +40 -0
- package/dist/components/Link/Link.test.d.ts +1 -0
- package/dist/components/Link/utils.test.d.ts +1 -0
- package/dist/components/LinkBlock/LinkBlock.stories.d.ts +28 -0
- package/dist/components/LinkBlock/LinkBlock.test.d.ts +1 -0
- package/dist/components/LinkList/LinkList.d.ts +2 -2
- package/dist/components/LinkList/LinkList.stories.d.ts +21 -0
- package/dist/components/LinkList/LinkList.test.d.ts +1 -0
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.stories.d.ts +11 -0
- package/dist/components/Modal/Modal.test.d.ts +1 -0
- package/dist/components/Navigation/Navigation.d.ts +1 -1
- package/dist/components/Navigation/Navigation.stories.d.ts +15 -0
- package/dist/components/Navigation/Navigation.test.d.ts +1 -0
- package/dist/components/Navigation/NavigationItem/NavigationItem.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +8 -0
- package/dist/components/Navigation/NavigationItem/NavigationItem.test.d.ts +1 -0
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.d.ts +1 -1
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.test.d.ts +1 -0
- package/dist/components/Navigation/NavigationList/NavigationList.test.d.ts +1 -0
- package/dist/components/PageContentWrapper/PageContentWrapper.d.ts +1 -2
- package/dist/components/PageContentWrapper/PageContentWrapper.stories.d.ts +6 -0
- package/dist/components/PageContentWrapper/PageContentWrapper.test.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts +99 -0
- package/dist/components/Pagination/Pagination.test.d.ts +1 -0
- package/dist/components/Pagination/utils.d.ts +1 -1
- package/dist/components/PinchZoom/PinchZoom.stories.d.ts +13 -0
- package/dist/components/PinchZoom/PinchZoom.test.d.ts +1 -0
- package/dist/components/Row/Row.d.ts +2 -2
- package/dist/components/Row/Row.stories.d.ts +12 -0
- package/dist/components/Row/Row.test.d.ts +1 -0
- package/dist/components/Search/Search.d.ts +2 -2
- package/dist/components/Search/Search.stories.d.ts +17 -0
- package/dist/components/Search/Search.test.d.ts +1 -0
- package/dist/components/Search/SearchButton.d.ts +1 -1
- package/dist/components/Search/SearchResults/SearchResults.test.d.ts +1 -0
- package/dist/components/SeldonImage/SeldonImage.d.ts +1 -1
- package/dist/components/SeldonImage/SeldonImage.stories.d.ts +36 -0
- package/dist/components/SeldonImage/SeldonImage.test.d.ts +1 -0
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.stories.d.ts +92 -0
- package/dist/components/Select/Select.test.d.ts +1 -0
- package/dist/components/SplitPanel/SplitPanel.stories.d.ts +12 -0
- package/dist/components/SplitPanel/SplitPanel.test.d.ts +1 -0
- package/dist/components/Tabs/TabTrigger.d.ts +1 -1
- package/dist/components/Tabs/Tabs.stories.d.ts +19 -0
- package/dist/components/Tabs/Tabs.test.d.ts +1 -0
- package/dist/components/Tabs/TabsContainer.d.ts +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/Text/Text.stories.d.ts +36 -0
- package/dist/components/Text/Text.test.d.ts +1 -0
- package/dist/components/Text/utils.test.d.ts +1 -0
- package/dist/components/TextSymbol/TextSymbol.stories.d.ts +22 -0
- package/dist/components/TextSymbol/TextSymbol.test.d.ts +1 -0
- package/dist/components/Toggle/Toggle.stories.d.ts +97 -0
- package/dist/components/Toggle/Toggle.test.d.ts +1 -0
- package/dist/components/Video/Video.stories.d.ts +14 -0
- package/dist/components/Video/Video.test.d.ts +1 -0
- package/dist/components/Video/index.d.ts +1 -0
- package/dist/design/colors-tokens/ColorCard.d.ts +20 -0
- package/dist/pages/Page.stories.d.ts +12 -0
- package/dist/patterns/DetailList/DetailList.d.ts +1 -1
- package/dist/patterns/DetailList/DetailList.stories.d.ts +7 -0
- package/dist/patterns/DetailList/DetailList.test.d.ts +1 -0
- package/dist/patterns/DetailList/utils.test.d.ts +1 -0
- package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +10 -0
- package/dist/patterns/HeroBanner/HeroBanner.test.d.ts +1 -0
- package/dist/patterns/LanguageSelector/LanguageSelector.d.ts +1 -1
- package/dist/patterns/LanguageSelector/LanguageSelector.stories.d.ts +22 -0
- package/dist/patterns/LanguageSelector/LanguageSelector.test.d.ts +1 -0
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.d.ts +1 -1
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.stories.d.ts +33 -0
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.test.d.ts +1 -0
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.d.ts +1 -1
- package/dist/patterns/SaleHeaderBanner/SaleHeaderCountdown.d.ts +1 -1
- package/dist/patterns/Social/Social.stories.d.ts +13 -0
- package/dist/patterns/Social/Social.test.d.ts +1 -0
- package/dist/patterns/Subscribe/Subscribe.stories.d.ts +21 -0
- package/dist/patterns/Subscribe/Subscribe.test.d.ts +1 -0
- package/dist/patterns/UserManagement/UserManagement.d.ts +1 -1
- package/dist/patterns/UserManagement/UserManagement.stories.d.ts +16 -0
- package/dist/patterns/UserManagement/UserManagement.test.d.ts +1 -0
- package/dist/patterns/ViewingsList/StatefulViewingsList.d.ts +1 -1
- package/dist/patterns/ViewingsList/ViewingsList.d.ts +1 -1
- package/dist/patterns/ViewingsList/ViewingsList.stories.d.ts +116 -0
- package/dist/patterns/ViewingsList/ViewingsList.test.d.ts +1 -0
- package/dist/patterns/ViewingsList/ViewingsListCard.d.ts +1 -1
- package/dist/patterns/ViewingsList/ViewingsListCard.stories.d.ts +46 -0
- package/dist/patterns/ViewingsList/utils.d.ts +51 -0
- package/dist/providers/SeldonProvider/SeldonProvider.stories.d.ts +6 -0
- package/dist/providers/SeldonProvider/SeldonProvider.test.d.ts +1 -0
- package/dist/providers/SeldonProvider/utils.d.ts +1 -1
- package/dist/scss/components/TextSymbol/_textSymbol.scss +3 -1
- package/dist/site-furniture/Footer/Footer.stories.d.ts +7 -0
- package/dist/site-furniture/Footer/Footer.test.d.ts +1 -0
- package/dist/site-furniture/Header/Header.d.ts +1 -2
- package/dist/site-furniture/Header/Header.stories.d.ts +33 -0
- package/dist/site-furniture/Header/Header.test.d.ts +1 -0
- package/dist/utils/hooks.d.ts +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/testUtils.d.ts +2 -0
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { PaddingTokens } from '../../utils';
|
|
3
|
-
import GridItem,
|
|
3
|
+
import { default as GridItem, GridItemProps } from '../GridItem/GridItem';
|
|
4
4
|
export interface RowProps extends React.HTMLAttributes<HTMLElement> {
|
|
5
5
|
/** These children can be an array of GridItem components */
|
|
6
6
|
children: React.ReactElement<GridItemProps, typeof GridItem> | React.ReactElement<GridItemProps, typeof GridItem>[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RowProps } from './Row';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ children, element: CustomElement, padding, className, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Playground: {
|
|
8
|
+
({ children, ...props }: RowProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
children: import("react/jsx-runtime").JSX.Element[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SearchResultsProps } from './SearchResults/SearchResults';
|
|
3
3
|
export interface SearchProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { SearchProps } from './Search';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: SearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
docs: {
|
|
8
|
+
story: {
|
|
9
|
+
height: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
layout: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
export declare const Playground: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,4 +4,4 @@ export declare const SearchButton: ({ state, isSearchExpanded, setIsSearchExpand
|
|
|
4
4
|
testId: string;
|
|
5
5
|
isSearchExpanded: boolean;
|
|
6
6
|
setIsSearchExpanded: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
} & Pick<SearchProps, "
|
|
7
|
+
} & Pick<SearchProps, "state" | "searchButtonText" | "onCancel"> & ComponentProps<"button">) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -43,5 +43,5 @@ export interface SeldonImageProps extends ComponentProps<'div'> {
|
|
|
43
43
|
*
|
|
44
44
|
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-seldonimage--overview)
|
|
45
45
|
*/
|
|
46
|
-
declare const SeldonImage: import(
|
|
46
|
+
declare const SeldonImage: import('react').ForwardRefExoticComponent<Omit<SeldonImageProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
47
47
|
export default SeldonImage;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SeldonImageProps } from './SeldonImage';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<SeldonImageProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Playground: {
|
|
8
|
+
(props: SeldonImageProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
src: string;
|
|
11
|
+
aspectRatio: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {};
|
|
14
|
+
};
|
|
15
|
+
export declare const CircleImage: {
|
|
16
|
+
(props: SeldonImageProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
args: {
|
|
18
|
+
src: string;
|
|
19
|
+
aspectRatio: string;
|
|
20
|
+
objectFit: string;
|
|
21
|
+
imageStyle: {
|
|
22
|
+
borderRadius: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
argTypes: {};
|
|
26
|
+
};
|
|
27
|
+
export declare const BlurBackground: {
|
|
28
|
+
(props: SeldonImageProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
args: {
|
|
30
|
+
src: string;
|
|
31
|
+
aspectRatio: string;
|
|
32
|
+
objectFit: string;
|
|
33
|
+
hasBlurBackground: boolean;
|
|
34
|
+
};
|
|
35
|
+
argTypes: {};
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { SelectProps } from './Select';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<SelectProps, "ref"> & import('react').RefAttributes<HTMLSelectElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
interface StoryProps extends SelectProps {
|
|
8
|
+
playgroundWidth: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Playground: {
|
|
11
|
+
({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
args: {
|
|
13
|
+
playgroundWidth: number;
|
|
14
|
+
className: string;
|
|
15
|
+
defaultValue: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
invalid: boolean;
|
|
18
|
+
invalidText: string;
|
|
19
|
+
labelText: string;
|
|
20
|
+
readOnly: boolean;
|
|
21
|
+
size: string;
|
|
22
|
+
warn: boolean;
|
|
23
|
+
warnText: string;
|
|
24
|
+
};
|
|
25
|
+
argTypes: {
|
|
26
|
+
defaultValue: {
|
|
27
|
+
control: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
disabled: {
|
|
32
|
+
control: {
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
invalid: {
|
|
37
|
+
control: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
invalidText: {
|
|
42
|
+
control: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
labelText: {
|
|
47
|
+
control: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
onChange: {
|
|
52
|
+
action: string;
|
|
53
|
+
};
|
|
54
|
+
onClick: {
|
|
55
|
+
action: string;
|
|
56
|
+
};
|
|
57
|
+
playgroundWidth: {
|
|
58
|
+
control: {
|
|
59
|
+
type: string;
|
|
60
|
+
min: number;
|
|
61
|
+
max: number;
|
|
62
|
+
step: number;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
options: string[];
|
|
67
|
+
control: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
value: {
|
|
72
|
+
control: {
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
readOnly: {
|
|
77
|
+
control: {
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
warn: {
|
|
82
|
+
control: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
warnText: {
|
|
87
|
+
control: {
|
|
88
|
+
type: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SplitPanelProps } from './SplitPanel';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ children, className, element: Element, hasBorder, ...props }: SplitPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Playground: {
|
|
8
|
+
(props: SplitPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,5 +21,5 @@ export interface TabTriggerProps extends ComponentProps<'div'> {
|
|
|
21
21
|
* @param {TabTriggerProps} props - The props for the TabTrigger component.
|
|
22
22
|
* @returns {JSX.Element} The rendered TabTrigger component.
|
|
23
23
|
*/
|
|
24
|
-
declare const TabTrigger: import(
|
|
24
|
+
declare const TabTrigger: import('react').ForwardRefExoticComponent<Omit<TabTriggerProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
25
25
|
export default TabTrigger;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TabsContainerProps } from './TabsContainer';
|
|
2
|
+
import { TabContentProps } from './TabsContent';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<TabsContainerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const Playground: {
|
|
9
|
+
(props: TabsContainerProps & TabContentProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
tabs: {
|
|
12
|
+
label: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
argTypes: {};
|
|
17
|
+
};
|
|
18
|
+
export declare const BrowseTabSelected: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const ComponentLabels: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -43,5 +43,5 @@ export interface TabsContainerProps extends ComponentProps<'div'> {
|
|
|
43
43
|
*
|
|
44
44
|
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-tabs--overview)
|
|
45
45
|
*/
|
|
46
|
-
declare const TabsContainer: import(
|
|
46
|
+
declare const TabsContainer: import('react').ForwardRefExoticComponent<Omit<TabsContainerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
47
47
|
export default TabsContainer;
|
|
@@ -19,5 +19,5 @@ export interface TabContentProps extends ComponentProps<'div'> {
|
|
|
19
19
|
* @param {TabContentProps} props - The props for the TabContent component.
|
|
20
20
|
* @returns {JSX.Element} The rendered TabContent component.
|
|
21
21
|
*/
|
|
22
|
-
declare const TabsContent: import(
|
|
22
|
+
declare const TabsContent: import('react').ForwardRefExoticComponent<Omit<TabContentProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
23
23
|
export default TabsContent;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TextProps } from './Text';
|
|
2
|
+
import { TextVariants } from './types';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ children, className, element: CustomElement, variant, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const Playground: {
|
|
9
|
+
(props: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
children: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
variant: {
|
|
15
|
+
options: typeof TextVariants;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const SuperScript: {
|
|
23
|
+
(props: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
args: {
|
|
25
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
variant: TextVariants;
|
|
27
|
+
};
|
|
28
|
+
argTypes: {
|
|
29
|
+
variant: {
|
|
30
|
+
options: typeof TextVariants;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TextSymbolProps } from './TextSymbol';
|
|
2
|
+
import { TextSymbolVariants } from './types';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ children, variant, className, ...props }: TextSymbolProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const Playground: {
|
|
9
|
+
(props: TextSymbolProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
children: string;
|
|
12
|
+
variant: TextSymbolVariants;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
variant: {
|
|
16
|
+
options: typeof TextSymbolVariants;
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { InputProps } from '../Input/Input';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<InputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
interface StoryProps extends InputProps {
|
|
8
|
+
playgroundWidth: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const CheckboxInput: {
|
|
11
|
+
({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
args: {
|
|
13
|
+
playgroundWidth: number;
|
|
14
|
+
className: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
inline: boolean;
|
|
17
|
+
invalid: boolean;
|
|
18
|
+
invalidText: string;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
warn: boolean;
|
|
21
|
+
warnText: string;
|
|
22
|
+
size: string;
|
|
23
|
+
};
|
|
24
|
+
argTypes: {
|
|
25
|
+
className: {
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
defaultValue: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
invalid: {
|
|
41
|
+
control: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
invalidText: {
|
|
46
|
+
control: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
labelText: {
|
|
51
|
+
control: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
onChange: {
|
|
56
|
+
action: string;
|
|
57
|
+
};
|
|
58
|
+
onClick: {
|
|
59
|
+
action: string;
|
|
60
|
+
};
|
|
61
|
+
placeholder: {
|
|
62
|
+
control: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
playgroundWidth: {
|
|
67
|
+
control: {
|
|
68
|
+
type: string;
|
|
69
|
+
min: number;
|
|
70
|
+
max: number;
|
|
71
|
+
step: number;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
size: {
|
|
75
|
+
options: string[];
|
|
76
|
+
control: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
text: {};
|
|
81
|
+
value: {
|
|
82
|
+
control: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
warn: {
|
|
87
|
+
control: {
|
|
88
|
+
type: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
warnText: {
|
|
92
|
+
control: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VideoProps } from './Video';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ aspectRatio, className, videoSource, ...props }: VideoProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Playground: {
|
|
8
|
+
(props: VideoProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
aspectRatio: number;
|
|
11
|
+
videoSource: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {};
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Video, type VideoProps } from './Video';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface ColorCardProps {
|
|
2
|
+
/**
|
|
3
|
+
* Name of the color token without the $
|
|
4
|
+
*/
|
|
5
|
+
label: string;
|
|
6
|
+
/**
|
|
7
|
+
* Hex value of the color token
|
|
8
|
+
*/
|
|
9
|
+
hex: string;
|
|
10
|
+
/**
|
|
11
|
+
* Where is this token used?
|
|
12
|
+
*/
|
|
13
|
+
usage: string;
|
|
14
|
+
/**
|
|
15
|
+
* class to add to color card container
|
|
16
|
+
*/
|
|
17
|
+
className: string;
|
|
18
|
+
}
|
|
19
|
+
declare const ColorCard: ({ label, hex, usage, className }: ColorCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default ColorCard;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const LoggedOut: Story;
|
|
12
|
+
export declare const LoggedIn: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React,
|
|
1
|
+
import { default as React, ComponentProps } from 'react';
|
|
2
2
|
import { DetailListAlignment } from './types';
|
|
3
3
|
import { DetailComponent } from '../../components/Detail';
|
|
4
4
|
export interface DetailListProps extends ComponentProps<'dl'> {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DetailListProps } from './DetailList';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<DetailListProps, "ref"> & import('react').RefAttributes<HTMLDListElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Playground: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { HeroBannerProps } from './HeroBanner';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ prehead, date, headerText, subHeadText, association, background, className, ...props }: HeroBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Playground: Story;
|
|
10
|
+
export declare const SimpleHeroBanner: (props: HeroBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -32,5 +32,5 @@ export interface LanguageSelectorProps extends ComponentProps<'div'> {
|
|
|
32
32
|
*
|
|
33
33
|
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-languageselector--overview)
|
|
34
34
|
*/
|
|
35
|
-
declare const LanguageSelector: import(
|
|
35
|
+
declare const LanguageSelector: import('react').ForwardRefExoticComponent<Omit<LanguageSelectorProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
36
36
|
export default LanguageSelector;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LanguageSelectorProps } from './LanguageSelector';
|
|
2
|
+
import { SupportedLanguages } from '../../types/commonTypes';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<LanguageSelectorProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const Playground: {
|
|
9
|
+
(props: LanguageSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
currentLanguage: SupportedLanguages;
|
|
12
|
+
onLanguageChange: (language: SupportedLanguages) => void;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
currentLanguage: {
|
|
16
|
+
options: SupportedLanguages[];
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -45,5 +45,5 @@ export interface SaleHeaderBannerProps extends ComponentProps<'div'> {
|
|
|
45
45
|
*
|
|
46
46
|
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/patterns-saleheaderbanner--overview)
|
|
47
47
|
*/
|
|
48
|
-
declare const SaleHeaderBanner: import(
|
|
48
|
+
declare const SaleHeaderBanner: import('react').ForwardRefExoticComponent<Omit<SaleHeaderBannerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
49
49
|
export default SaleHeaderBanner;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SaleHeaderBannerProps } from './SaleHeaderBanner';
|
|
2
|
+
import { AuctionState } from './types';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<SaleHeaderBannerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const Playground: {
|
|
9
|
+
(props: SaleHeaderBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
auctionTitle: string;
|
|
12
|
+
occurrenceInformation: {
|
|
13
|
+
occurrenceLabel: string;
|
|
14
|
+
date: string;
|
|
15
|
+
}[];
|
|
16
|
+
location: string;
|
|
17
|
+
auctionState: AuctionState;
|
|
18
|
+
imageSrcUrl: string;
|
|
19
|
+
};
|
|
20
|
+
argTypes: {
|
|
21
|
+
auctionState: {
|
|
22
|
+
options: AuctionState[];
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const PreSale: (props: SaleHeaderBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const PreSaleTwoOccurrences: (props: SaleHeaderBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare const PreSaleThreeOccurrences: (props: SaleHeaderBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare const OpenForBidding: (props: SaleHeaderBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const Closed: (props: SaleHeaderBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,5 +3,5 @@ export interface SaleHeaderBrowseAuctionsProps extends ComponentProps<'div'> {
|
|
|
3
3
|
ctaLabel?: string;
|
|
4
4
|
ctaText?: string;
|
|
5
5
|
}
|
|
6
|
-
declare const SaleHeaderBrowseAuctions: import(
|
|
6
|
+
declare const SaleHeaderBrowseAuctions: import('react').ForwardRefExoticComponent<Omit<SaleHeaderBrowseAuctionsProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
7
7
|
export default SaleHeaderBrowseAuctions;
|