@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,324 @@
1
+ import { InputProps } from './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 DateTimeInput: {
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
+ warn: boolean;
21
+ warnText: string;
22
+ size: string;
23
+ type: string;
24
+ };
25
+ };
26
+ export declare const RadioInput: {
27
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
28
+ args: {
29
+ playgroundWidth: number;
30
+ className: string;
31
+ placeholder: string;
32
+ inline: boolean;
33
+ invalid: boolean;
34
+ invalidText: string;
35
+ disabled: boolean;
36
+ warn: boolean;
37
+ warnText: string;
38
+ size: string;
39
+ type: string;
40
+ };
41
+ };
42
+ export declare const CheckboxInput: {
43
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
44
+ args: {
45
+ playgroundWidth: number;
46
+ className: string;
47
+ placeholder: string;
48
+ inline: boolean;
49
+ invalid: boolean;
50
+ invalidText: string;
51
+ disabled: boolean;
52
+ warn: boolean;
53
+ warnText: string;
54
+ size: string;
55
+ type: string;
56
+ };
57
+ argTypes: {
58
+ className: {
59
+ control: {
60
+ type: string;
61
+ };
62
+ };
63
+ defaultValue: {
64
+ control: {
65
+ type: string;
66
+ };
67
+ };
68
+ disabled: {
69
+ control: {
70
+ type: string;
71
+ };
72
+ };
73
+ invalid: {
74
+ control: {
75
+ type: string;
76
+ };
77
+ };
78
+ invalidText: {
79
+ control: {
80
+ type: string;
81
+ };
82
+ };
83
+ labelText: {
84
+ control: {
85
+ type: string;
86
+ };
87
+ };
88
+ onChange: {
89
+ action: string;
90
+ };
91
+ onClick: {
92
+ action: string;
93
+ };
94
+ placeholder: {
95
+ control: {
96
+ type: string;
97
+ };
98
+ };
99
+ playgroundWidth: {
100
+ control: {
101
+ type: string;
102
+ min: number;
103
+ max: number;
104
+ step: number;
105
+ };
106
+ };
107
+ size: {
108
+ options: string[];
109
+ control: {
110
+ type: string;
111
+ };
112
+ };
113
+ type: {
114
+ control: {
115
+ type: string;
116
+ };
117
+ };
118
+ value: {
119
+ control: {
120
+ type: string;
121
+ };
122
+ };
123
+ warn: {
124
+ control: {
125
+ type: string;
126
+ };
127
+ };
128
+ warnText: {
129
+ control: {
130
+ type: string;
131
+ };
132
+ };
133
+ };
134
+ };
135
+ export declare const RangeInput: {
136
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
137
+ args: {
138
+ playgroundWidth: number;
139
+ className: string;
140
+ placeholder: string;
141
+ invalid: boolean;
142
+ invalidText: string;
143
+ disabled: boolean;
144
+ defaultValue: string;
145
+ labelText: string;
146
+ min: number;
147
+ max: number;
148
+ size: string;
149
+ step: number;
150
+ type: string;
151
+ warn: boolean;
152
+ warnText: string;
153
+ };
154
+ argTypes: {
155
+ className: {
156
+ control: {
157
+ type: string;
158
+ };
159
+ };
160
+ defaultValue: {
161
+ control: {
162
+ type: string;
163
+ };
164
+ };
165
+ disabled: {
166
+ control: {
167
+ type: string;
168
+ };
169
+ };
170
+ invalid: {
171
+ control: {
172
+ type: string;
173
+ };
174
+ };
175
+ invalidText: {
176
+ control: {
177
+ type: string;
178
+ };
179
+ };
180
+ labelText: {
181
+ control: {
182
+ type: string;
183
+ };
184
+ };
185
+ onChange: {
186
+ action: string;
187
+ };
188
+ onClick: {
189
+ action: string;
190
+ };
191
+ placeholder: {
192
+ control: {
193
+ type: string;
194
+ };
195
+ };
196
+ playgroundWidth: {
197
+ control: {
198
+ type: string;
199
+ min: number;
200
+ max: number;
201
+ step: number;
202
+ };
203
+ };
204
+ size: {
205
+ options: string[];
206
+ control: {
207
+ type: string;
208
+ };
209
+ };
210
+ type: {
211
+ control: {
212
+ type: string;
213
+ };
214
+ };
215
+ value: {
216
+ control: {
217
+ type: string;
218
+ };
219
+ };
220
+ warn: {
221
+ control: {
222
+ type: string;
223
+ };
224
+ };
225
+ warnText: {
226
+ control: {
227
+ type: string;
228
+ };
229
+ };
230
+ };
231
+ };
232
+ export declare const Playground: {
233
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
234
+ args: {
235
+ playgroundWidth: number;
236
+ className: string;
237
+ placeholder: string;
238
+ invalid: boolean;
239
+ invalidText: string;
240
+ disabled: boolean;
241
+ defaultValue: string;
242
+ labelText: string;
243
+ warn: boolean;
244
+ warnText: string;
245
+ size: string;
246
+ };
247
+ argTypes: {
248
+ className: {
249
+ control: {
250
+ type: string;
251
+ };
252
+ };
253
+ defaultValue: {
254
+ control: {
255
+ type: string;
256
+ };
257
+ };
258
+ disabled: {
259
+ control: {
260
+ type: string;
261
+ };
262
+ };
263
+ invalid: {
264
+ control: {
265
+ type: string;
266
+ };
267
+ };
268
+ invalidText: {
269
+ control: {
270
+ type: string;
271
+ };
272
+ };
273
+ labelText: {
274
+ control: {
275
+ type: string;
276
+ };
277
+ };
278
+ onChange: {
279
+ action: string;
280
+ };
281
+ onClick: {
282
+ action: string;
283
+ };
284
+ placeholder: {
285
+ control: {
286
+ type: string;
287
+ };
288
+ };
289
+ playgroundWidth: {
290
+ control: {
291
+ type: string;
292
+ min: number;
293
+ max: number;
294
+ step: number;
295
+ };
296
+ };
297
+ size: {
298
+ options: string[];
299
+ control: {
300
+ type: string;
301
+ };
302
+ };
303
+ type: {
304
+ control: {
305
+ type: string;
306
+ };
307
+ };
308
+ value: {
309
+ control: {
310
+ type: string;
311
+ };
312
+ };
313
+ warn: {
314
+ control: {
315
+ type: string;
316
+ };
317
+ };
318
+ warnText: {
319
+ control: {
320
+ type: string;
321
+ };
322
+ };
323
+ };
324
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,40 @@
1
+ import { LinkProps } from './Link';
2
+ import { LinkVariants } from './types';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ children, className, element: Element, variant, href, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
6
+ };
7
+ export default meta;
8
+ interface StoryProps extends LinkProps {
9
+ playgroundWidth: string;
10
+ }
11
+ export declare const Playground: {
12
+ ({ playgroundWidth, children, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
13
+ args: {
14
+ children: string;
15
+ href: string;
16
+ variant: LinkVariants;
17
+ };
18
+ argTypes: {
19
+ variant: {
20
+ options: typeof LinkVariants;
21
+ control: {
22
+ type: string;
23
+ };
24
+ };
25
+ };
26
+ };
27
+ export declare const CustomLink: {
28
+ ({ playgroundWidth, children, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
29
+ args: {
30
+ children: string;
31
+ href: string;
32
+ };
33
+ };
34
+ export declare const ExternalLink: {
35
+ ({ playgroundWidth, children, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
36
+ args: {
37
+ children: string;
38
+ href: string;
39
+ };
40
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,28 @@
1
+ import { LinkProps } from '../Link/Link';
2
+ import { LinkBlockProps } from './LinkBlock';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ linkProps, description, className: classNameProp, ...props }: LinkBlockProps) => import("react/jsx-runtime").JSX.Element;
6
+ };
7
+ export default meta;
8
+ export declare const Playground: {
9
+ (props: LinkBlockProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ linkProps: {
12
+ children: string;
13
+ href: string;
14
+ };
15
+ description: string;
16
+ };
17
+ };
18
+ export declare const CustomLinkBlock: {
19
+ (props: LinkBlockProps): import("react/jsx-runtime").JSX.Element;
20
+ args: {
21
+ linkProps: {
22
+ children: string;
23
+ href: string;
24
+ element: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
25
+ };
26
+ description: string;
27
+ };
28
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
- import LinkBlock, { type LinkBlockProps } from '../LinkBlock/LinkBlock';
2
- import React from 'react';
1
+ import { default as LinkBlock, LinkBlockProps } from '../LinkBlock/LinkBlock';
2
+ import { default as React } from 'react';
3
3
  import { GridProps } from '../Grid/Grid';
4
4
  export interface LinkListProps extends GridProps<HTMLUListElement> {
5
5
  /** These children should be an array of LinkBlock components */
@@ -0,0 +1,21 @@
1
+ import { LinkListProps } from './LinkList';
2
+ import { LinkBlockProps } from '../LinkBlock/LinkBlock';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ children, className, ...props }: LinkListProps) => import("react/jsx-runtime").JSX.Element;
6
+ };
7
+ export default meta;
8
+ export declare const Playground: {
9
+ ({ children }: LinkListProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ children: import('react').ReactElement<LinkBlockProps, ({ linkProps, description, className: classNameProp, ...props }: LinkBlockProps) => import("react/jsx-runtime").JSX.Element>[];
12
+ };
13
+ };
14
+ export declare const IrregularLinkList: {
15
+ ({ linkCount }: {
16
+ linkCount: number;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ args: {
19
+ linkCount: number;
20
+ };
21
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import ReactModal from 'react-modal';
1
+ import { default as ReactModal } from 'react-modal';
2
2
  export interface ModalProps extends ReactModal.Props {
3
3
  /**
4
4
  * Boolean to determine if the modal is open
@@ -0,0 +1,11 @@
1
+ declare const meta: {
2
+ title: string;
3
+ component: ({ children, className, overlayClassName, isOpen, onClose, appElementSelector, style, ...props }: import('./Modal').ModalProps) => import("react/jsx-runtime").JSX.Element | null;
4
+ };
5
+ export default meta;
6
+ export declare const Playground: {
7
+ (): import("react/jsx-runtime").JSX.Element;
8
+ args: {
9
+ id: string;
10
+ };
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import React, { ComponentProps } from 'react';
1
+ import { default as React, ComponentProps } from 'react';
2
2
  export interface NavigationProps extends ComponentProps<'nav'> {
3
3
  /**
4
4
  * Optional visible state
@@ -0,0 +1,15 @@
1
+ declare const meta: {
2
+ title: string;
3
+ component: import('react').ForwardRefExoticComponent<Omit<import('./Navigation').NavigationProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
4
+ tags: string[];
5
+ parameters: {
6
+ docs: {
7
+ story: {
8
+ height: string;
9
+ };
10
+ };
11
+ layout: string;
12
+ };
13
+ };
14
+ export default meta;
15
+ export declare const Playground: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -40,5 +40,5 @@ export interface NavigationItemProps extends ComponentProps<'li'> {
40
40
  *
41
41
  * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-languageselector--overview)
42
42
  */
43
- declare const NavigationItem: import("react").ForwardRefExoticComponent<Omit<NavigationItemProps, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
43
+ declare const NavigationItem: import('react').ForwardRefExoticComponent<Omit<NavigationItemProps, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
44
44
  export default NavigationItem;
@@ -0,0 +1,8 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<Omit<import('./NavigationItem').NavigationItemProps, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const Playground: Story;
@@ -1,4 +1,4 @@
1
- import React, { ComponentProps } from 'react';
1
+ import { default as React, ComponentProps } from 'react';
2
2
  export interface NavigationItemTriggerProps extends ComponentProps<'li'> {
3
3
  /**
4
4
  * Label for the navigation item
@@ -1,5 +1,4 @@
1
- import { ComponentProps } from 'react';
2
- import React from 'react';
1
+ import { ComponentProps, default as React } from 'react';
3
2
  export interface PageContentWrapperProps extends ComponentProps<'div'> {
4
3
  /**
5
4
  * Contents on a page that are flanked by a Page/Margin in figma
@@ -0,0 +1,6 @@
1
+ declare const meta: {
2
+ title: string;
3
+ component: import('react').ForwardRefExoticComponent<Omit<import('./PageContentWrapper').PageContentWrapperProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
4
+ };
5
+ export default meta;
6
+ export declare const Playground: () => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import React, { ComponentProps } from 'react';
1
+ import { default as React, ComponentProps } from 'react';
2
2
  export type PaginationOptionValue = string | number;
3
3
  export interface PaginationOption {
4
4
  /**
@@ -0,0 +1,99 @@
1
+ import { PaginationProps } from './Pagination';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ className, onChange, variant, options, value, isDisabled, previousLabel, nextLabel, selectLabel, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export default meta;
7
+ interface StoryProps extends PaginationProps {
8
+ playgroundWidth: string;
9
+ }
10
+ export declare const Playground: {
11
+ ({ playgroundWidth, onChange, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
12
+ args: {
13
+ playgroundWidth: number;
14
+ className: string;
15
+ isDisabled: boolean;
16
+ onChange: (selectedValue: string) => void;
17
+ };
18
+ argTypes: {
19
+ disabled: {
20
+ control: {
21
+ type: string;
22
+ };
23
+ };
24
+ onChange: {
25
+ action: string;
26
+ };
27
+ onClick: {
28
+ action: string;
29
+ };
30
+ playgroundWidth: {
31
+ control: {
32
+ type: string;
33
+ min: number;
34
+ max: number;
35
+ step: number;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ export declare const StringOptionsPlayground: {
41
+ ({ playgroundWidth, onChange, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
42
+ args: {
43
+ playgroundWidth: number;
44
+ className: string;
45
+ isDisabled: boolean;
46
+ onChange: (selectedValue: string) => void;
47
+ };
48
+ argTypes: {
49
+ disabled: {
50
+ control: {
51
+ type: string;
52
+ };
53
+ };
54
+ onChange: {
55
+ action: string;
56
+ };
57
+ onClick: {
58
+ action: string;
59
+ };
60
+ playgroundWidth: {
61
+ control: {
62
+ type: string;
63
+ min: number;
64
+ max: number;
65
+ step: number;
66
+ };
67
+ };
68
+ };
69
+ };
70
+ export declare const AsyncPlayground: {
71
+ ({ playgroundWidth, onChange, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
72
+ args: {
73
+ playgroundWidth: number;
74
+ className: string;
75
+ isDisabled: boolean;
76
+ onChange: (selectedValue: string) => void;
77
+ };
78
+ argTypes: {
79
+ disabled: {
80
+ control: {
81
+ type: string;
82
+ };
83
+ };
84
+ onChange: {
85
+ action: string;
86
+ };
87
+ onClick: {
88
+ action: string;
89
+ };
90
+ playgroundWidth: {
91
+ control: {
92
+ type: string;
93
+ min: number;
94
+ max: number;
95
+ step: number;
96
+ };
97
+ };
98
+ };
99
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,3 @@
1
1
  import { PaginationOption, PaginationOptionValue } from './Pagination';
2
2
  export declare const determineOptionValue: (option: PaginationOption | PaginationOptionValue) => string | number;
3
- export declare const findOptionFromSelectString: (options: (PaginationOption | PaginationOptionValue)[], value: string) => PaginationOptionValue | PaginationOption | undefined;
3
+ export declare const findOptionFromSelectString: (options: (PaginationOption | PaginationOptionValue)[], value: string) => PaginationOption | PaginationOptionValue | undefined;
@@ -0,0 +1,13 @@
1
+ import { PinchZoomProps } from './PinchZoom';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<PinchZoomProps>;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: PinchZoomProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {};
10
+ argTypes: {};
11
+ };
12
+ export declare const ZoomCarousel: () => import("react/jsx-runtime").JSX.Element;
13
+ export declare const CarouselWithZoomModal: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export {};