@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
|
@@ -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,
|
|
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 {};
|
|
@@ -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 {};
|
|
@@ -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(
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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) =>
|
|
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 {};
|