@phillips/seldon 1.79.0 → 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.
Files changed (160) hide show
  1. package/dist/build/buildUtils.d.ts +1 -0
  2. package/dist/build/buildUtils.test.d.ts +1 -0
  3. package/dist/components/Accordion/Accordion.d.ts +1 -1
  4. package/dist/components/Accordion/Accordion.stories.d.ts +18 -0
  5. package/dist/components/Accordion/Accordion.test.d.ts +1 -0
  6. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  7. package/dist/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  8. package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +16 -0
  9. package/dist/components/Breadcrumb/Breadcrumb.test.d.ts +1 -0
  10. package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
  11. package/dist/components/Button/Button.d.ts +1 -1
  12. package/dist/components/Button/Button.stories.d.ts +31 -0
  13. package/dist/components/Button/Button.test.d.ts +1 -0
  14. package/dist/components/Carousel/Carousel.d.ts +3 -3
  15. package/dist/components/Carousel/Carousel.stories.d.ts +22 -0
  16. package/dist/components/Carousel/Carousel.test.d.ts +1 -0
  17. package/dist/components/Carousel/CarouselContent.d.ts +1 -1
  18. package/dist/components/Carousel/CarouselDots.d.ts +1 -1
  19. package/dist/components/Carousel/CarouselItem.d.ts +1 -1
  20. package/dist/components/Carousel/utils.d.ts +3 -3
  21. package/dist/components/Collapsible/Collapsible.d.ts +1 -1
  22. package/dist/components/Collapsible/Collapsible.stories.d.ts +28 -0
  23. package/dist/components/Collapsible/Collapsible.test.d.ts +1 -0
  24. package/dist/components/Collapsible/CollapsibleContent.d.ts +1 -1
  25. package/dist/components/Collapsible/CollapsibleTrigger.d.ts +1 -1
  26. package/dist/components/ContentPeek/ContentPeek.d.ts +1 -1
  27. package/dist/components/ContentPeek/ContentPeek.stories.d.ts +33 -0
  28. package/dist/components/ContentPeek/ContentPeek.test.d.ts +1 -0
  29. package/dist/components/DatePicker/DatePicker.d.ts +90 -0
  30. package/dist/components/DatePicker/DatePicker.stories.d.ts +360 -0
  31. package/dist/components/DatePicker/DatePicker.test.d.ts +1 -0
  32. package/dist/components/Detail/Detail.d.ts +1 -1
  33. package/dist/components/Detail/Detail.stories.d.ts +14 -0
  34. package/dist/components/Detail/Detail.test.d.ts +1 -0
  35. package/dist/components/Drawer/Drawer.d.ts +1 -1
  36. package/dist/components/Drawer/Drawer.stories.d.ts +14 -0
  37. package/dist/components/Drawer/Drawer.test.d.ts +1 -0
  38. package/dist/components/Drawer/index.d.ts +1 -0
  39. package/dist/components/Dropdown/Dropdown.d.ts +2 -2
  40. package/dist/components/Dropdown/Dropdown.stories.d.ts +24 -0
  41. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
  42. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  43. package/dist/components/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
  44. package/dist/components/Grid/Grid.stories.d.ts +14 -0
  45. package/dist/components/Grid/Grid.test.d.ts +1 -0
  46. package/dist/components/GridItem/GridItem.d.ts +1 -1
  47. package/dist/components/GridItem/GridItem.stories.d.ts +30 -0
  48. package/dist/components/GridItem/GridItem.test.d.ts +1 -0
  49. package/dist/components/GridItem/gridItemUtils.d.ts +1 -1
  50. package/dist/components/IconButton/IconButton.stories.d.ts +33 -0
  51. package/dist/components/IconButton/IconButton.test.d.ts +1 -0
  52. package/dist/components/Input/Input.stories.d.ts +324 -0
  53. package/dist/components/Input/Input.test.d.ts +1 -0
  54. package/dist/components/Link/Link.stories.d.ts +40 -0
  55. package/dist/components/Link/Link.test.d.ts +1 -0
  56. package/dist/components/Link/utils.test.d.ts +1 -0
  57. package/dist/components/LinkBlock/LinkBlock.stories.d.ts +28 -0
  58. package/dist/components/LinkBlock/LinkBlock.test.d.ts +1 -0
  59. package/dist/components/LinkList/LinkList.d.ts +2 -2
  60. package/dist/components/LinkList/LinkList.stories.d.ts +21 -0
  61. package/dist/components/LinkList/LinkList.test.d.ts +1 -0
  62. package/dist/components/Modal/Modal.d.ts +1 -1
  63. package/dist/components/Modal/Modal.stories.d.ts +11 -0
  64. package/dist/components/Modal/Modal.test.d.ts +1 -0
  65. package/dist/components/Navigation/Navigation.d.ts +1 -1
  66. package/dist/components/Navigation/Navigation.stories.d.ts +15 -0
  67. package/dist/components/Navigation/Navigation.test.d.ts +1 -0
  68. package/dist/components/Navigation/NavigationItem/NavigationItem.d.ts +1 -1
  69. package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +8 -0
  70. package/dist/components/Navigation/NavigationItem/NavigationItem.test.d.ts +1 -0
  71. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.d.ts +1 -1
  72. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.test.d.ts +1 -0
  73. package/dist/components/Navigation/NavigationList/NavigationList.test.d.ts +1 -0
  74. package/dist/components/PageContentWrapper/PageContentWrapper.d.ts +1 -2
  75. package/dist/components/PageContentWrapper/PageContentWrapper.stories.d.ts +6 -0
  76. package/dist/components/PageContentWrapper/PageContentWrapper.test.d.ts +1 -0
  77. package/dist/components/Pagination/Pagination.d.ts +1 -1
  78. package/dist/components/Pagination/Pagination.stories.d.ts +99 -0
  79. package/dist/components/Pagination/Pagination.test.d.ts +1 -0
  80. package/dist/components/Pagination/utils.d.ts +1 -1
  81. package/dist/components/PinchZoom/PinchZoom.stories.d.ts +13 -0
  82. package/dist/components/PinchZoom/PinchZoom.test.d.ts +1 -0
  83. package/dist/components/Row/Row.d.ts +2 -2
  84. package/dist/components/Row/Row.stories.d.ts +12 -0
  85. package/dist/components/Row/Row.test.d.ts +1 -0
  86. package/dist/components/Search/Search.d.ts +2 -2
  87. package/dist/components/Search/Search.js +110 -117
  88. package/dist/components/Search/Search.stories.d.ts +17 -0
  89. package/dist/components/Search/Search.test.d.ts +1 -0
  90. package/dist/components/Search/SearchButton.d.ts +1 -1
  91. package/dist/components/Search/SearchResults/SearchResults.d.ts +2 -1
  92. package/dist/components/Search/SearchResults/SearchResults.js +25 -15
  93. package/dist/components/Search/SearchResults/SearchResults.test.d.ts +1 -0
  94. package/dist/components/SeldonImage/SeldonImage.d.ts +1 -1
  95. package/dist/components/SeldonImage/SeldonImage.stories.d.ts +36 -0
  96. package/dist/components/SeldonImage/SeldonImage.test.d.ts +1 -0
  97. package/dist/components/Select/Select.d.ts +1 -1
  98. package/dist/components/Select/Select.stories.d.ts +92 -0
  99. package/dist/components/Select/Select.test.d.ts +1 -0
  100. package/dist/components/SplitPanel/SplitPanel.stories.d.ts +12 -0
  101. package/dist/components/SplitPanel/SplitPanel.test.d.ts +1 -0
  102. package/dist/components/Tabs/TabTrigger.d.ts +1 -1
  103. package/dist/components/Tabs/Tabs.stories.d.ts +19 -0
  104. package/dist/components/Tabs/Tabs.test.d.ts +1 -0
  105. package/dist/components/Tabs/TabsContainer.d.ts +1 -1
  106. package/dist/components/Tabs/TabsContent.d.ts +1 -1
  107. package/dist/components/Text/Text.d.ts +1 -1
  108. package/dist/components/Text/Text.stories.d.ts +36 -0
  109. package/dist/components/Text/Text.test.d.ts +1 -0
  110. package/dist/components/Text/utils.test.d.ts +1 -0
  111. package/dist/components/TextSymbol/TextSymbol.stories.d.ts +22 -0
  112. package/dist/components/TextSymbol/TextSymbol.test.d.ts +1 -0
  113. package/dist/components/Toggle/Toggle.stories.d.ts +97 -0
  114. package/dist/components/Toggle/Toggle.test.d.ts +1 -0
  115. package/dist/components/Video/Video.stories.d.ts +14 -0
  116. package/dist/components/Video/Video.test.d.ts +1 -0
  117. package/dist/components/Video/index.d.ts +1 -0
  118. package/dist/design/colors-tokens/ColorCard.d.ts +20 -0
  119. package/dist/pages/Page.stories.d.ts +12 -0
  120. package/dist/patterns/DetailList/DetailList.d.ts +1 -1
  121. package/dist/patterns/DetailList/DetailList.stories.d.ts +7 -0
  122. package/dist/patterns/DetailList/DetailList.test.d.ts +1 -0
  123. package/dist/patterns/DetailList/utils.test.d.ts +1 -0
  124. package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +10 -0
  125. package/dist/patterns/HeroBanner/HeroBanner.test.d.ts +1 -0
  126. package/dist/patterns/LanguageSelector/LanguageSelector.d.ts +1 -1
  127. package/dist/patterns/LanguageSelector/LanguageSelector.stories.d.ts +22 -0
  128. package/dist/patterns/LanguageSelector/LanguageSelector.test.d.ts +1 -0
  129. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.d.ts +1 -1
  130. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.stories.d.ts +33 -0
  131. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.test.d.ts +1 -0
  132. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.d.ts +1 -1
  133. package/dist/patterns/SaleHeaderBanner/SaleHeaderCountdown.d.ts +1 -1
  134. package/dist/patterns/Social/Social.stories.d.ts +13 -0
  135. package/dist/patterns/Social/Social.test.d.ts +1 -0
  136. package/dist/patterns/Subscribe/Subscribe.stories.d.ts +21 -0
  137. package/dist/patterns/Subscribe/Subscribe.test.d.ts +1 -0
  138. package/dist/patterns/UserManagement/UserManagement.d.ts +1 -1
  139. package/dist/patterns/UserManagement/UserManagement.stories.d.ts +16 -0
  140. package/dist/patterns/UserManagement/UserManagement.test.d.ts +1 -0
  141. package/dist/patterns/ViewingsList/StatefulViewingsList.d.ts +1 -1
  142. package/dist/patterns/ViewingsList/ViewingsList.d.ts +1 -1
  143. package/dist/patterns/ViewingsList/ViewingsList.stories.d.ts +116 -0
  144. package/dist/patterns/ViewingsList/ViewingsList.test.d.ts +1 -0
  145. package/dist/patterns/ViewingsList/ViewingsListCard.d.ts +1 -1
  146. package/dist/patterns/ViewingsList/ViewingsListCard.stories.d.ts +46 -0
  147. package/dist/patterns/ViewingsList/utils.d.ts +51 -0
  148. package/dist/providers/SeldonProvider/SeldonProvider.stories.d.ts +6 -0
  149. package/dist/providers/SeldonProvider/SeldonProvider.test.d.ts +1 -0
  150. package/dist/providers/SeldonProvider/utils.d.ts +1 -1
  151. package/dist/scss/components/TextSymbol/_textSymbol.scss +3 -1
  152. package/dist/site-furniture/Footer/Footer.stories.d.ts +7 -0
  153. package/dist/site-furniture/Footer/Footer.test.d.ts +1 -0
  154. package/dist/site-furniture/Header/Header.d.ts +1 -2
  155. package/dist/site-furniture/Header/Header.stories.d.ts +33 -0
  156. package/dist/site-furniture/Header/Header.test.d.ts +1 -0
  157. package/dist/utils/hooks.d.ts +1 -1
  158. package/dist/utils/index.d.ts +2 -2
  159. package/dist/utils/testUtils.d.ts +2 -0
  160. package/package.json +4 -4
@@ -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, { ComponentProps } from '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("react").ForwardRefExoticComponent<Omit<LanguageSelectorProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
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
+ };
@@ -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("react").ForwardRefExoticComponent<Omit<SaleHeaderBannerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
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;
@@ -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("react").ForwardRefExoticComponent<Omit<SaleHeaderBrowseAuctionsProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
6
+ declare const SaleHeaderBrowseAuctions: import('react').ForwardRefExoticComponent<Omit<SaleHeaderBrowseAuctionsProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
7
7
  export default SaleHeaderBrowseAuctions;
@@ -4,5 +4,5 @@ export interface SaleHeaderCountdownProps extends ComponentProps<'div'> {
4
4
  daysLabel?: string;
5
5
  hoursLabel?: string;
6
6
  }
7
- declare const SaleHeaderCountdown: import("react").ForwardRefExoticComponent<Omit<SaleHeaderCountdownProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ declare const SaleHeaderCountdown: import('react').ForwardRefExoticComponent<Omit<SaleHeaderCountdownProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
8
8
  export default SaleHeaderCountdown;
@@ -0,0 +1,13 @@
1
+ import { SocialProps } from './Social';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ className, children, titleText, buttonText, onSubscribeClick, ...props }: SocialProps) => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: SocialProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ id: string;
11
+ children: import("react/jsx-runtime").JSX.Element;
12
+ };
13
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ import { SubscribeProps } from './Subscribe';
2
+ import { SubscriptionState } from './types';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ autoFocus, blurb, buttonText, buttonProps, className, element: Element, inputLabelText, inputPlaceholder, title, loadingText, invalidText, errorText, successText, privacyText, subscriptionState, ...props }: SubscribeProps) => import("react/jsx-runtime").JSX.Element;
6
+ };
7
+ export default meta;
8
+ export declare const Playground: {
9
+ (props: SubscribeProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ autoFocus: boolean;
12
+ id: string;
13
+ title: string;
14
+ onSubmit: (e: React.FormEvent<HTMLFormElement>) => void;
15
+ blurb: string;
16
+ subscriptionState: SubscriptionState;
17
+ invalidText: string;
18
+ warn: boolean;
19
+ successText: string;
20
+ };
21
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -27,5 +27,5 @@ export interface UserManagementProps extends ComponentProps<'div'> {
27
27
  */
28
28
  accountLabel?: ReactNode;
29
29
  }
30
- declare const UserManagement: import("react").ForwardRefExoticComponent<Omit<UserManagementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
30
+ declare const UserManagement: import('react').ForwardRefExoticComponent<Omit<UserManagementProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
31
31
  export default UserManagement;
@@ -0,0 +1,16 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<Omit<import('./UserManagement').UserManagementProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ parameters: {
6
+ docs: {
7
+ story: {
8
+ height: string;
9
+ };
10
+ };
11
+ layout: string;
12
+ };
13
+ };
14
+ export default meta;
15
+ type Story = StoryObj<typeof meta>;
16
+ export declare const Playground: Story;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
1
  import { ViewingsListCardProps } from './ViewingsListCard';
3
2
  import { I18nObject } from './ViewingsList';
3
+ import * as React from 'react';
4
4
  export interface StatefulViewingsListProps extends Record<string, unknown> {
5
5
  /**
6
6
  * Existing viewings to populate the list
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { ViewingsListCardProps } from './ViewingsListCard';
2
+ import * as React from 'react';
3
3
  export interface I18nObject {
4
4
  address1Label?: string;
5
5
  addressUrlLabel?: string;
@@ -0,0 +1,116 @@
1
+ import { StatefulViewingsListProps } from './StatefulViewingsList';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ defaultViewing, i18n, validate, onDelete, onSave, ...props }: StatefulViewingsListProps) => import("react/jsx-runtime").JSX.Element;
5
+ argTypes: {
6
+ defaultViewing: {
7
+ control: "object";
8
+ };
9
+ title: {
10
+ control: {
11
+ type: "text";
12
+ };
13
+ };
14
+ id: {
15
+ control: {
16
+ type: "text";
17
+ };
18
+ };
19
+ };
20
+ };
21
+ export default meta;
22
+ export declare const Playground: {
23
+ (props: StatefulViewingsListProps): import("react/jsx-runtime").JSX.Element;
24
+ args: {
25
+ cardTitle: string;
26
+ id: string;
27
+ title: string;
28
+ };
29
+ };
30
+ export declare const WithViewing: {
31
+ (props: StatefulViewingsListProps): import("react/jsx-runtime").JSX.Element;
32
+ args: {
33
+ cardTitle: string;
34
+ defaultViewing: {
35
+ address1: string;
36
+ address2: string;
37
+ address3: string;
38
+ addressUrl: string;
39
+ enableOnSite: string;
40
+ id: string;
41
+ invalidFields: undefined;
42
+ location: string;
43
+ previewDates: string;
44
+ previewHours1: string;
45
+ previewHours2: string;
46
+ previewLabelValue: string;
47
+ previewToggleLabel: string;
48
+ previewOn: string;
49
+ viewingDates: string;
50
+ viewingHours1: string;
51
+ viewingHours2: string;
52
+ viewingLabelValue: string;
53
+ emailLabel: string;
54
+ emailLinkLabel: string;
55
+ emailToggleLabel: string;
56
+ }[];
57
+ id: string;
58
+ title: string;
59
+ };
60
+ };
61
+ export declare const WithTranslatedStrings: {
62
+ (props: StatefulViewingsListProps): import("react/jsx-runtime").JSX.Element;
63
+ args: {
64
+ cardTitle: string;
65
+ defaultViewing: {
66
+ address1: string;
67
+ address2: string;
68
+ address3: string;
69
+ addressUrl: string;
70
+ enableOnSite: string;
71
+ id: string;
72
+ invalidFields: undefined;
73
+ location: string;
74
+ previewDates: string;
75
+ previewHours1: string;
76
+ previewHours2: string;
77
+ previewLabelValue: string;
78
+ previewToggleLabel: string;
79
+ previewOn: string;
80
+ viewingDates: string;
81
+ viewingHours1: string;
82
+ viewingHours2: string;
83
+ viewingLabelValue: string;
84
+ emailLabel: string;
85
+ emailLinkLabel: string;
86
+ emailToggleLabel: string;
87
+ }[];
88
+ id: string;
89
+ i18n: {
90
+ address1Label: string;
91
+ addressUrlLabel: string;
92
+ address2Label: string;
93
+ address3Label: string;
94
+ addViewingsBtnLabel: string;
95
+ cancelBtnLabel: string;
96
+ deleteBtnLabel: string;
97
+ editBtnLabel: string;
98
+ enableOnSiteToggleLabel: string;
99
+ locationLabel: string;
100
+ saveBtnLabel: string;
101
+ previewDatesLabel: string;
102
+ previewHours1Label: string;
103
+ previewHours2Label: string;
104
+ previewLabel: string;
105
+ previewToggleLabel: string;
106
+ viewingLabel: string;
107
+ viewingDatesLabel: string;
108
+ viewingHours1Label: string;
109
+ viewingHours2Label: string;
110
+ emailLabel: string;
111
+ emailLinkLabel: string;
112
+ emailToggleLabel: string;
113
+ };
114
+ title: string;
115
+ };
116
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { ViewingsListCardFormProps } from './ViewingsListCardForm';
2
+ import * as React from 'react';
3
3
  export interface ViewingsListCardProps extends ViewingsListCardFormProps, Record<string, unknown> {
4
4
  /**
5
5
  * Title of card
@@ -0,0 +1,46 @@
1
+ import { ViewingsListCardProps } from './ViewingsListCard';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ address1, address1Label, addressUrl, addressUrlLabel, address2, address2Label, address3, address3Label, cancelBtnLabel, cardTitle, deleteBtnLabel, editBtnLabel, isEditState: editState, enableOnSite, enableOnSiteToggleLabel, email, emailLabel, emailLink, emailLinkLabel, emailOn, emailToggleLabel, id, invalidFields, location, locationLabel, onCancel, onEdit, onDelete, onSave, previewDates, previewDatesLabel, previewHours1, previewHours1Label, previewHours2, previewHours2Label, previewLabel, previewLabelValue, previewOn, previewToggleLabel, saveBtnLabel, viewingLabel, viewingLabelValue, viewingDates, viewingDatesLabel, viewingHours1, viewingHours1Label, viewingHours2, viewingHours2Label, }: ViewingsListCardProps) => import("react/jsx-runtime").JSX.Element;
5
+ parameters: {
6
+ controls: {
7
+ sort: string;
8
+ expanded: boolean;
9
+ };
10
+ };
11
+ argTypes: {
12
+ enableOnSite: {
13
+ options: string[];
14
+ control: {
15
+ type: "select";
16
+ };
17
+ };
18
+ previewOn: {
19
+ options: string[];
20
+ control: {
21
+ type: "select";
22
+ };
23
+ };
24
+ };
25
+ };
26
+ export default meta;
27
+ export declare const ViewingsListCardStory: {
28
+ (props: ViewingsListCardProps): import("react/jsx-runtime").JSX.Element;
29
+ args: {
30
+ id: string;
31
+ cardTitle: string;
32
+ location: string;
33
+ locationLabel: string;
34
+ onSave: (e: React.MouseEvent<HTMLElement>) => void;
35
+ };
36
+ };
37
+ export declare const Playground: {
38
+ (props: ViewingsListCardProps): import("react/jsx-runtime").JSX.Element;
39
+ args: {
40
+ cardTitle: string;
41
+ id: string;
42
+ location: string;
43
+ locationLabel: string;
44
+ onSave: (e: React.MouseEvent<HTMLElement>) => void;
45
+ };
46
+ };