@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,360 @@
1
+ import { DatePickerProps } from './DatePicker';
2
+ import * as React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: React.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
6
+ };
7
+ export default meta;
8
+ interface StoryProps extends DatePickerProps {
9
+ playgroundWidth: string;
10
+ }
11
+ export declare const WithDefaultDates: {
12
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
13
+ args: {
14
+ playgroundWidth: number;
15
+ className: string;
16
+ defaultValue: Date[];
17
+ disabled: boolean;
18
+ invalid: boolean;
19
+ invalidText: string;
20
+ labelText: string;
21
+ placeholder: string;
22
+ readOnly: boolean;
23
+ size: string;
24
+ warn: boolean;
25
+ warnText: string;
26
+ };
27
+ argTypes: {
28
+ allowInput: {
29
+ control: {
30
+ type: string;
31
+ };
32
+ };
33
+ className: {
34
+ control: {
35
+ type: string;
36
+ };
37
+ };
38
+ defaultValue: {
39
+ control: {
40
+ type: string;
41
+ };
42
+ };
43
+ disabled: {
44
+ control: {
45
+ type: string;
46
+ };
47
+ };
48
+ enableTime: {
49
+ control: {
50
+ type: string;
51
+ };
52
+ };
53
+ invalid: {
54
+ control: {
55
+ type: string;
56
+ };
57
+ };
58
+ invalidText: {
59
+ control: {
60
+ type: string;
61
+ };
62
+ };
63
+ labelText: {
64
+ control: {
65
+ type: string;
66
+ };
67
+ };
68
+ locale: {
69
+ options: string[];
70
+ control: {
71
+ type: string;
72
+ };
73
+ };
74
+ onChange: {
75
+ action: string;
76
+ };
77
+ onClick: {
78
+ action: string;
79
+ };
80
+ placeholder: {
81
+ control: {
82
+ type: string;
83
+ };
84
+ };
85
+ playgroundWidth: {
86
+ control: {
87
+ type: string;
88
+ min: number;
89
+ max: number;
90
+ step: number;
91
+ };
92
+ };
93
+ readOnly: {
94
+ control: {
95
+ type: string;
96
+ };
97
+ };
98
+ size: {
99
+ options: string[];
100
+ control: {
101
+ type: string;
102
+ };
103
+ };
104
+ type: {
105
+ options: string[];
106
+ control: {
107
+ type: string;
108
+ };
109
+ };
110
+ value: {
111
+ control: {
112
+ type: string;
113
+ };
114
+ };
115
+ warn: {
116
+ control: {
117
+ type: string;
118
+ };
119
+ };
120
+ warnText: {
121
+ control: {
122
+ type: string;
123
+ };
124
+ };
125
+ };
126
+ };
127
+ export declare const WithTimePicker: {
128
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
129
+ args: {
130
+ playgroundWidth: number;
131
+ className: string;
132
+ defaultValue: undefined;
133
+ disabled: boolean;
134
+ enableTime: boolean;
135
+ invalid: boolean;
136
+ invalidText: string;
137
+ labelText: string;
138
+ placeholder: string;
139
+ readOnly: boolean;
140
+ size: string;
141
+ warn: boolean;
142
+ warnText: string;
143
+ };
144
+ argTypes: {
145
+ allowInput: {
146
+ control: {
147
+ type: string;
148
+ };
149
+ };
150
+ className: {
151
+ control: {
152
+ type: string;
153
+ };
154
+ };
155
+ defaultValue: {
156
+ control: {
157
+ type: string;
158
+ };
159
+ };
160
+ disabled: {
161
+ control: {
162
+ type: string;
163
+ };
164
+ };
165
+ enableTime: {
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
+ locale: {
186
+ options: string[];
187
+ control: {
188
+ type: string;
189
+ };
190
+ };
191
+ onChange: {
192
+ action: string;
193
+ };
194
+ onClick: {
195
+ action: string;
196
+ };
197
+ placeholder: {
198
+ control: {
199
+ type: string;
200
+ };
201
+ };
202
+ playgroundWidth: {
203
+ control: {
204
+ type: string;
205
+ min: number;
206
+ max: number;
207
+ step: number;
208
+ };
209
+ };
210
+ readOnly: {
211
+ control: {
212
+ type: string;
213
+ };
214
+ };
215
+ size: {
216
+ options: string[];
217
+ control: {
218
+ type: string;
219
+ };
220
+ };
221
+ type: {
222
+ options: string[];
223
+ control: {
224
+ type: string;
225
+ };
226
+ };
227
+ value: {
228
+ control: {
229
+ type: string;
230
+ };
231
+ };
232
+ warn: {
233
+ control: {
234
+ type: string;
235
+ };
236
+ };
237
+ warnText: {
238
+ control: {
239
+ type: string;
240
+ };
241
+ };
242
+ };
243
+ };
244
+ export declare const Playground: {
245
+ ({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
246
+ args: {
247
+ playgroundWidth: number;
248
+ className: string;
249
+ defaultValue: undefined;
250
+ allowInput: boolean;
251
+ disabled: boolean;
252
+ invalid: boolean;
253
+ invalidText: string;
254
+ labelText: string;
255
+ placeholder: string;
256
+ readOnly: boolean;
257
+ size: string;
258
+ warn: boolean;
259
+ warnText: string;
260
+ };
261
+ argTypes: {
262
+ allowInput: {
263
+ control: {
264
+ type: string;
265
+ };
266
+ };
267
+ className: {
268
+ control: {
269
+ type: string;
270
+ };
271
+ };
272
+ defaultValue: {
273
+ control: {
274
+ type: string;
275
+ };
276
+ };
277
+ disabled: {
278
+ control: {
279
+ type: string;
280
+ };
281
+ };
282
+ enableTime: {
283
+ control: {
284
+ type: string;
285
+ };
286
+ };
287
+ invalid: {
288
+ control: {
289
+ type: string;
290
+ };
291
+ };
292
+ invalidText: {
293
+ control: {
294
+ type: string;
295
+ };
296
+ };
297
+ labelText: {
298
+ control: {
299
+ type: string;
300
+ };
301
+ };
302
+ locale: {
303
+ options: string[];
304
+ control: {
305
+ type: string;
306
+ };
307
+ };
308
+ onChange: {
309
+ action: string;
310
+ };
311
+ onClick: {
312
+ action: string;
313
+ };
314
+ placeholder: {
315
+ control: {
316
+ type: string;
317
+ };
318
+ };
319
+ playgroundWidth: {
320
+ control: {
321
+ type: string;
322
+ min: number;
323
+ max: number;
324
+ step: number;
325
+ };
326
+ };
327
+ readOnly: {
328
+ control: {
329
+ type: string;
330
+ };
331
+ };
332
+ size: {
333
+ options: string[];
334
+ control: {
335
+ type: string;
336
+ };
337
+ };
338
+ type: {
339
+ options: string[];
340
+ control: {
341
+ type: string;
342
+ };
343
+ };
344
+ value: {
345
+ control: {
346
+ type: string;
347
+ };
348
+ };
349
+ warn: {
350
+ control: {
351
+ type: string;
352
+ };
353
+ };
354
+ warnText: {
355
+ control: {
356
+ type: string;
357
+ };
358
+ };
359
+ };
360
+ };
@@ -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 DetailProps extends ComponentProps<'div'> {
3
3
  label: React.ReactNode;
4
4
  value: React.ReactNode;
@@ -0,0 +1,14 @@
1
+ import { DetailProps } from './Detail';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<Omit<DetailProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: DetailProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ label: string;
11
+ value: import("react/jsx-runtime").JSX.Element;
12
+ };
13
+ argTypes: {};
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface DrawerProps extends React.HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * Whether the drawer is open or not
@@ -0,0 +1,14 @@
1
+ import { DrawerProps } from './Drawer';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ className, isOpen, onClose, children, ...props }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: DrawerProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ children: string;
11
+ isOpen: boolean;
12
+ };
13
+ argTypes: {};
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default as Drawer, type DrawerProps } from './Drawer';
@@ -1,6 +1,6 @@
1
- import React, { ComponentPropsWithoutRef } from 'react';
2
- import * as DropdownSelect from '@radix-ui/react-select';
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
3
2
  import { DropdownItem } from './types';
3
+ import * as DropdownSelect from '@radix-ui/react-select';
4
4
  export interface DropdownProps extends Omit<DropdownSelect.SelectProps, 'defaultValue' | 'dir'>, ComponentPropsWithoutRef<'div'> {
5
5
  /**
6
6
  * All options to be listed in the dropdown
@@ -0,0 +1,24 @@
1
+ import { DropdownProps } from './Dropdown';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<DropdownProps & import('react').RefAttributes<HTMLButtonElement>>;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ ({ value, ...props }: DropdownProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ options: {
11
+ label: string;
12
+ value: string;
13
+ }[];
14
+ value: string;
15
+ };
16
+ argTypes: {
17
+ value: {
18
+ options: string[];
19
+ control: {
20
+ type: string;
21
+ };
22
+ };
23
+ };
24
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -28,6 +28,6 @@ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, State> {
28
28
  hasError: boolean;
29
29
  };
30
30
  componentDidCatch(error: Error, info: React.ErrorInfo): void;
31
- render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
31
+ render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
32
32
  }
33
33
  export default ErrorBoundary;
@@ -0,0 +1,14 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as Grid, GridProps } from './Grid';
3
+ declare const meta: Meta<typeof Grid>;
4
+ export default meta;
5
+ interface MyFuncProps {
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const Playground: {
9
+ ({ element, ...props }: GridProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ className: string;
12
+ element: ({ children, ...props }: MyFuncProps) => import("react/jsx-runtime").JSX.Element;
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { GridItemAlign } from './types';
3
3
  export interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  /**
@@ -0,0 +1,30 @@
1
+ import { GridItemProps } from './GridItem';
2
+ import { GridItemAlign } from './types';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ children, xs, sm, md, lg, align, element: Element, className, ...props }: GridItemProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ };
7
+ export default meta;
8
+ export declare const Playground: {
9
+ ({ children, ...props }: GridItemProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ children: import("react/jsx-runtime").JSX.Element;
12
+ };
13
+ argTypes: {
14
+ align: {
15
+ options: typeof GridItemAlign;
16
+ control: {
17
+ type: string;
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export declare const CenteredGridItem: {
23
+ (props: GridItemProps): import("react/jsx-runtime").JSX.Element;
24
+ args: {
25
+ sm: number;
26
+ md: number;
27
+ lg: number;
28
+ };
29
+ };
30
+ export declare const LeftAndRightGridItems: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
1
  import { GridItemProps } from './GridItem';
2
2
  import { GridItemAlign } from './types';
3
- export declare const determineColumnSpanClassName: (breakpoint: GridItemAlign, columnSpan: number, align?: GridItemProps['align']) => string;
3
+ export declare const determineColumnSpanClassName: (breakpoint: GridItemAlign, columnSpan: number, align?: GridItemProps["align"]) => string;
4
4
  export declare const validateColumnSpans: (columnSpans: number[]) => boolean;
@@ -0,0 +1,33 @@
1
+ import { ButtonVariants } from '../Button/types';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ children, size, variant, isDisabled, className, ...props }: import('./IconButton').IconButtonProps) => import("react/jsx-runtime").JSX.Element;
5
+ argTypes: {
6
+ size: {
7
+ options: string[];
8
+ control: {
9
+ type: "select";
10
+ };
11
+ };
12
+ variant: {
13
+ options: ButtonVariants[];
14
+ control: {
15
+ type: "select";
16
+ };
17
+ };
18
+ isDisabled: {
19
+ control: {
20
+ type: "boolean";
21
+ };
22
+ };
23
+ children: {
24
+ control: false;
25
+ };
26
+ };
27
+ };
28
+ export default meta;
29
+ export declare const Playground: {
30
+ args: {
31
+ children: import("react/jsx-runtime").JSX.Element;
32
+ };
33
+ };
@@ -0,0 +1 @@
1
+ export {};