@chem-po/react-web 0.0.8 → 0.0.9

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 (78) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +46 -48
  4. package/dist/index.d.ts +46 -48
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/package.json +3 -3
  8. package/src/components/auth/SignIn.tsx +1 -1
  9. package/src/components/box/CollapseHorizontal.tsx +1 -0
  10. package/src/components/box/ContentBox.tsx +1 -1
  11. package/src/components/box/ExpandOnMount.tsx +1 -1
  12. package/src/components/box/FullSizeContainer.tsx +1 -1
  13. package/src/components/box/MobileFrame/index.tsx +1 -1
  14. package/src/components/button/Toggle.tsx +1 -1
  15. package/src/components/button/ViewButton.tsx +1 -1
  16. package/src/components/feed/FeedContentPane.tsx +1 -1
  17. package/src/components/feed/MediaFeedBackground.tsx +1 -1
  18. package/src/components/feed/MediaFeedRefresh.tsx +1 -1
  19. package/src/components/feed/MediaFeedSwipeUp.tsx +1 -0
  20. package/src/components/feed/context.tsx +1 -1
  21. package/src/components/form/Condition.tsx +1 -1
  22. package/src/components/form/Field.tsx +1 -1
  23. package/src/components/form/Form.tsx +1 -1
  24. package/src/components/form/FormFooter.tsx +1 -0
  25. package/src/components/form/UploadProgress/index.tsx +1 -1
  26. package/src/components/form/input/Editable.tsx +1 -1
  27. package/src/components/form/input/InputSlider.tsx +1 -0
  28. package/src/components/form/input/OptionalTag.tsx +1 -1
  29. package/src/components/form/input/StandaloneInput.tsx +1 -1
  30. package/src/components/form/input/boolean/index.tsx +1 -1
  31. package/src/components/form/input/color/index.tsx +1 -1
  32. package/src/components/form/input/date/index.tsx +1 -1
  33. package/src/components/form/input/datetime/index.tsx +1 -1
  34. package/src/components/form/input/file.tsx +4 -4
  35. package/src/components/form/input/input.tsx +1 -1
  36. package/src/components/form/input/multipleSelect/index.tsx +1 -1
  37. package/src/components/form/input/number/index.tsx +1 -1
  38. package/src/components/form/input/select/index.tsx +1 -1
  39. package/src/components/form/input/socialMedia/index.tsx +8 -1
  40. package/src/components/form/input/text/index.tsx +1 -1
  41. package/src/components/form/input/text/textarea.tsx +1 -1
  42. package/src/components/form/input/time/index.tsx +1 -1
  43. package/src/components/form/view/file.tsx +1 -1
  44. package/src/components/form/view/index.tsx +1 -1
  45. package/src/components/form/view/multipleSelect.tsx +1 -1
  46. package/src/components/form/view/select.tsx +1 -1
  47. package/src/components/list/Body/InfiniteScrollGridBody.tsx +1 -1
  48. package/src/components/list/Body/InfiniteScrollListBody.tsx +1 -1
  49. package/src/components/list/Body/ListBody.tsx +1 -0
  50. package/src/components/list/Body/PagedGridBody.tsx +1 -1
  51. package/src/components/list/Body/PagedListBody.tsx +1 -1
  52. package/src/components/list/DataList.tsx +1 -0
  53. package/src/components/list/ListContainer.tsx +1 -0
  54. package/src/components/list/ListContent.tsx +1 -1
  55. package/src/components/list/ListCreate.tsx +1 -1
  56. package/src/components/list/ListFilters.tsx +1 -1
  57. package/src/components/list/ListFooter.tsx +1 -1
  58. package/src/components/list/ListHeader.tsx +1 -1
  59. package/src/components/list/ListItem/ListCell.tsx +1 -1
  60. package/src/components/list/ListItem/ListRow.tsx +1 -1
  61. package/src/components/list/ListItemView.tsx +1 -1
  62. package/src/components/list/ListSort.tsx +1 -1
  63. package/src/components/list/NoItems.tsx +1 -1
  64. package/src/components/loading/CircularProgress.tsx +1 -0
  65. package/src/components/loading/Loading.tsx +1 -1
  66. package/src/components/loading/LoadingImage.tsx +1 -1
  67. package/src/components/loading/LoadingSwitch.tsx +1 -1
  68. package/src/components/media/PlayButton.tsx +1 -0
  69. package/src/components/modal/DefaultModal.tsx +1 -1
  70. package/src/components/modal/DesktopModal.tsx +1 -0
  71. package/src/components/modal/MobileModal.tsx +1 -1
  72. package/src/components/nav/NavBar.tsx +1 -1
  73. package/src/components/overlay/ImageViewOverlay.tsx +1 -1
  74. package/src/components/overlay/MobileOverlay.tsx +1 -0
  75. package/src/components/text/GradientText/index.tsx +1 -0
  76. package/src/components/text/NumberTicker.tsx +1 -1
  77. package/src/components/theme/colorMode/DarkModeToggle.tsx +1 -1
  78. package/src/components/view/ErrorView.tsx +1 -0
package/dist/index.d.cts CHANGED
@@ -1,24 +1,22 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import React, { PropsWithChildren, FC, ReactNode, JSX, MouseEvent, CSSProperties } from 'react';
2
2
  import * as _chakra_ui_react from '@chakra-ui/react';
3
3
  import { CenterProps, FlexProps, StackProps, BoxProps, IconButtonProps, CircularProgressProps, ImageProps, ButtonProps, ModalProps, ModalContentProps } from '@chakra-ui/react';
4
- import * as react from 'react';
5
- import react__default, { PropsWithChildren, FC, ReactNode, JSX, MouseEvent, CSSProperties } from 'react';
6
4
  import { View, ListField, IFormElement, DataViewProps, FieldMap, FieldMapFormProps, Field, FieldFormProps, FormProps, EditableProps, ListProviderProps, ThemedAsset } from '@chem-po/react';
7
5
  import { AnyObject, WithId, FetchFeedFunction, FileValue, InputRef, ImageViewOptions, SpotifyTrack } from '@chem-po/core';
8
6
 
9
7
  interface SignInProps {
10
8
  layout?: 'row' | 'column';
11
9
  }
12
- declare const SignIn: ({ layout }: SignInProps) => react_jsx_runtime.JSX.Element;
13
- declare const AbsoluteLogin: (props: SignInProps) => react_jsx_runtime.JSX.Element;
10
+ declare const SignIn: ({ layout }: SignInProps) => React.JSX.Element;
11
+ declare const AbsoluteLogin: (props: SignInProps) => React.JSX.Element;
14
12
 
15
13
  declare const CollapseHorizontal: ({ width, children, active, duration, ...props }: CenterProps & {
16
14
  width: number;
17
15
  active: boolean;
18
16
  duration?: number;
19
- }) => react_jsx_runtime.JSX.Element;
17
+ }) => React.JSX.Element;
20
18
 
21
- declare const ContentBox: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLDivElement>>;
19
+ declare const ContentBox: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
22
20
 
23
21
  declare const Expandable: ({ header, children, initExpanded, nested, alwaysExpanded, headerProps, iconColor, footer, isOpen: isOpenProp, onClose: onCloseProp, onOpen: onOpenProp, ...stackProps }: PropsWithChildren<StackProps & {
24
22
  header: string | FC<{
@@ -37,7 +35,7 @@ declare const Expandable: ({ header, children, initExpanded, nested, alwaysExpan
37
35
  onClose?: () => void;
38
36
  iconColor?: string;
39
37
  onOpen?: () => void;
40
- }>) => react_jsx_runtime.JSX.Element;
38
+ }>) => React.JSX.Element;
41
39
 
42
40
  declare const ExpandOnMount: FC<BoxProps & {
43
41
  in?: boolean;
@@ -51,13 +49,13 @@ declare const FullSizeContainer: ({ children, ...props }: Omit<BoxProps, "childr
51
49
  width: number;
52
50
  height: number;
53
51
  }>;
54
- }) => react_jsx_runtime.JSX.Element;
55
- declare const FullSizeProvider: ({ children, ...props }: BoxProps) => react_jsx_runtime.JSX.Element;
52
+ }) => React.JSX.Element;
53
+ declare const FullSizeProvider: ({ children, ...props }: BoxProps) => React.JSX.Element;
56
54
 
57
55
  declare const MobileFrame: ({ children, navBarChildren, views, }: PropsWithChildren<{
58
56
  views: View[];
59
57
  navBarChildren?: ReactNode;
60
- }>) => react_jsx_runtime.JSX.Element;
58
+ }>) => React.JSX.Element;
61
59
 
62
60
  declare const DeleteConfirmAlert: ({ confirmActive, onCancel, onConfirm, body, actionName, actionLoading, itemName, }: {
63
61
  confirmActive: boolean;
@@ -67,8 +65,8 @@ declare const DeleteConfirmAlert: ({ confirmActive, onCancel, onConfirm, body, a
67
65
  actionLoading?: boolean;
68
66
  actionName?: string;
69
67
  itemName: string;
70
- }) => react_jsx_runtime.JSX.Element;
71
- declare const DeleteButton: react__default.FC<Partial<IconButtonProps> & {
68
+ }) => React.JSX.Element;
69
+ declare const DeleteButton: React.FC<Partial<IconButtonProps> & {
72
70
  onDelete: (() => Promise<any>) | (() => void);
73
71
  itemName: string;
74
72
  actionName?: string;
@@ -89,7 +87,7 @@ interface ToggleProps<Option extends string> {
89
87
  size?: number;
90
88
  onChange: (value: Option) => Promise<void> | void;
91
89
  }
92
- declare const Toggle: <Option extends string>({ value, onChange, size, options, }: ToggleProps<Option>) => react_jsx_runtime.JSX.Element;
90
+ declare const Toggle: <Option extends string>({ value, onChange, size, options, }: ToggleProps<Option>) => JSX.Element;
93
91
 
94
92
  declare const ViewButton: FC<{
95
93
  onClick: (e: MouseEvent) => void;
@@ -118,7 +116,7 @@ interface MediaFeedProps<T extends AnyObject = AnyObject> {
118
116
  RenderItem: (item: WithId<T>) => JSX.Element;
119
117
  }
120
118
 
121
- declare const MediaFeed: <T extends AnyObject = AnyObject>({ fetch, collection: collectionPath, RenderItem, authRequired, getBackgroundUrl, getBackgroundValue, limit, defaultBackground, swipeDisabled, children, }: PropsWithChildren<MediaFeedProps<T>>) => react_jsx_runtime.JSX.Element;
119
+ declare const MediaFeed: <T extends AnyObject = AnyObject>({ fetch, collection: collectionPath, RenderItem, authRequired, getBackgroundUrl, getBackgroundValue, limit, defaultBackground, swipeDisabled, children, }: PropsWithChildren<MediaFeedProps<T>>) => React.JSX.Element;
122
120
 
123
121
  declare const ListFieldInput: FC<{
124
122
  field: ListField;
@@ -127,17 +125,17 @@ declare const ListFieldInput: FC<{
127
125
  declare const FormElement: ({ field, name, }: {
128
126
  field: IFormElement;
129
127
  name: string;
130
- }) => react_jsx_runtime.JSX.Element;
128
+ }) => React.JSX.Element;
131
129
  declare const DataView: ({ field, value, onClose, onDelete, onSubmit, itemName, storagePath, path, }: DataViewProps & {
132
130
  path?: string;
133
- }) => react_jsx_runtime.JSX.Element;
134
- declare const FieldMapForm: <F extends FieldMap>({ onSubmit: submit, onBack, field, value, buttonText, renderFooter, storagePath, }: FieldMapFormProps<F>) => react_jsx_runtime.JSX.Element;
135
- declare const FieldForm: <F extends Field | ListField>({ onSubmit, field, value, ...props }: FieldFormProps<F>) => react_jsx_runtime.JSX.Element;
136
- declare const Form: <F extends IFormElement>({ field, ...props }: FormProps<F>) => react_jsx_runtime.JSX.Element;
131
+ }) => React.JSX.Element;
132
+ declare const FieldMapForm: <F extends FieldMap>({ onSubmit: submit, onBack, field, value, buttonText, renderFooter, storagePath, }: FieldMapFormProps<F>) => React.JSX.Element;
133
+ declare const FieldForm: <F extends Field | ListField>({ onSubmit, field, value, ...props }: FieldFormProps<F>) => React.JSX.Element;
134
+ declare const Form: <F extends IFormElement>({ field, ...props }: FormProps<F>) => React.JSX.Element;
137
135
 
138
- declare const Editable: <T extends Field>({ value: initValue, field, onSubmit, storagePath, style, onEditClose, onEditOpen, }: EditableProps<CSSProperties, T>) => react_jsx_runtime.JSX.Element;
136
+ declare const Editable: <T extends Field>({ value: initValue, field, onSubmit, storagePath, style, onEditClose, onEditOpen, }: EditableProps<CSSProperties, T>) => React.JSX.Element;
139
137
 
140
- declare const StandaloneInput: react.ForwardRefExoticComponent<{
138
+ declare const StandaloneInput: React.ForwardRefExoticComponent<{
141
139
  onChange: (v?: any) => void;
142
140
  value?: any;
143
141
  field: Field;
@@ -146,7 +144,7 @@ declare const StandaloneInput: react.ForwardRefExoticComponent<{
146
144
  theme?: "basic" | "detailed";
147
145
  inEditable?: boolean;
148
146
  style?: CSSProperties;
149
- } & react.RefAttributes<InputRef>>;
147
+ } & React.RefAttributes<InputRef>>;
150
148
 
151
149
  declare const FileView: ({ value, hasUpload, noLabel, loading, imageOptions, }: {
152
150
  value?: FileValue | null;
@@ -154,14 +152,14 @@ declare const FileView: ({ value, hasUpload, noLabel, loading, imageOptions, }:
154
152
  noLabel?: boolean;
155
153
  loading?: boolean;
156
154
  imageOptions?: ImageViewOptions;
157
- }) => react_jsx_runtime.JSX.Element;
155
+ }) => React.JSX.Element;
158
156
 
159
157
  declare const FieldView: ({ field, value, noLabel, style, }: {
160
158
  field: Field;
161
159
  value: any;
162
160
  noLabel?: boolean;
163
161
  style?: CSSProperties;
164
- }) => react_jsx_runtime.JSX.Element;
162
+ }) => React.JSX.Element;
165
163
 
166
164
  interface DataListHeaderProps {
167
165
  onResize: (size: {
@@ -188,13 +186,13 @@ type ListViewProps<T extends AnyObject> = ListProviderProps<T> & {
188
186
  };
189
187
  type ListContentProps<T extends AnyObject> = Omit<ListViewProps<T>, 'list' | 'basePath' | 'flexProps'>;
190
188
 
191
- declare const DataList: <T extends AnyObject>({ list, basePath, flexProps, infiniteScroll, ...rest }: ListViewProps<T>) => react_jsx_runtime.JSX.Element;
189
+ declare const DataList: <T extends AnyObject>({ list, basePath, flexProps, infiniteScroll, ...rest }: ListViewProps<T>) => React.JSX.Element;
192
190
 
193
- declare const ListContainer: (props: FlexProps) => react_jsx_runtime.JSX.Element;
191
+ declare const ListContainer: (props: FlexProps) => React.JSX.Element;
194
192
 
195
- declare const ListContent: <T extends AnyObject>({ modals, noFooter, headerProps, footerProps, }: ListContentProps<T>) => react_jsx_runtime.JSX.Element;
193
+ declare const ListContent: <T extends AnyObject>({ modals, noFooter, headerProps, footerProps, }: ListContentProps<T>) => React.JSX.Element;
196
194
 
197
- declare const CircularProgress: (props: CircularProgressProps) => react_jsx_runtime.JSX.Element;
195
+ declare const CircularProgress: (props: CircularProgressProps) => React.JSX.Element;
198
196
 
199
197
  declare const LottieLoadingLogo: ({ size, isLoading, speed, inFeed, asset, }: {
200
198
  size?: number | string;
@@ -203,22 +201,22 @@ declare const LottieLoadingLogo: ({ size, isLoading, speed, inFeed, asset, }: {
203
201
  asset: ThemedAsset;
204
202
  inFeed?: boolean;
205
203
  speed?: number;
206
- }) => react_jsx_runtime.JSX.Element;
204
+ }) => React.JSX.Element;
207
205
  declare const LoadingLogo: ({ isLoading, size, inFeed, }: {
208
206
  isLoading: boolean;
209
207
  size?: number | string;
210
208
  inFeed?: boolean;
211
- }) => react_jsx_runtime.JSX.Element;
209
+ }) => React.JSX.Element;
212
210
  declare const Loading: ({ text, inBox, stackProps, }: {
213
211
  text?: string;
214
212
  inBox?: boolean;
215
213
  stackProps?: StackProps;
216
- }) => react_jsx_runtime.JSX.Element;
214
+ }) => React.JSX.Element;
217
215
  declare const LoadingOverlay: ({ isLoading, text, inFeed, ...props }: {
218
216
  isLoading: boolean;
219
217
  text?: string;
220
218
  inFeed?: boolean;
221
- } & CenterProps) => react_jsx_runtime.JSX.Element;
219
+ } & CenterProps) => React.JSX.Element;
222
220
 
223
221
  interface LoadingImageProps {
224
222
  src?: string | null;
@@ -229,13 +227,13 @@ interface LoadingImageProps {
229
227
  buttonFullView?: boolean;
230
228
  imageProps?: Omit<ImageProps, 'onLoad'>;
231
229
  }
232
- declare const LoadingImage: ({ src, loadingOverride, alt, onLoad, width, height, noFullView, buttonFullView, imageProps, ...boxProps }: LoadingImageProps & Omit<BoxProps, "onLoad">) => react_jsx_runtime.JSX.Element;
230
+ declare const LoadingImage: ({ src, loadingOverride, alt, onLoad, width, height, noFullView, buttonFullView, imageProps, ...boxProps }: LoadingImageProps & Omit<BoxProps, "onLoad">) => React.JSX.Element;
233
231
 
234
232
  declare const LoadingSwitch: ({ value, label, onChange, }: {
235
233
  value: boolean;
236
234
  label: string;
237
235
  onChange: (updated: boolean) => Promise<void>;
238
- }) => react_jsx_runtime.JSX.Element;
236
+ }) => React.JSX.Element;
239
237
 
240
238
  declare const PlayButton: ({ media, size, opacity, buttonProps, }: {
241
239
  media: WithId<SpotifyTrack> | null;
@@ -243,47 +241,47 @@ declare const PlayButton: ({ media, size, opacity, buttonProps, }: {
243
241
  opacity?: number;
244
242
  withThumbnail?: boolean;
245
243
  buttonProps?: ButtonProps;
246
- }) => react_jsx_runtime.JSX.Element;
244
+ }) => React.JSX.Element;
247
245
 
248
246
  type DefaultModalProps = PropsWithChildren<Omit<ModalProps, 'render'>> & {
249
247
  contentProps?: ModalContentProps;
250
248
  onContentMounted?: (mounted: boolean) => void;
251
249
  };
252
250
 
253
- declare const DefaultModal: (props: DefaultModalProps) => react_jsx_runtime.JSX.Element;
251
+ declare const DefaultModal: (props: DefaultModalProps) => React.JSX.Element;
254
252
 
255
- declare const DesktopModal: ({ children, isOpen, contentProps, ...props }: DefaultModalProps) => react_jsx_runtime.JSX.Element;
253
+ declare const DesktopModal: ({ children, isOpen, contentProps, ...props }: DefaultModalProps) => React.JSX.Element;
256
254
 
257
255
  declare const MobileOverlayBackground: ({ onClick }: {
258
256
  onClick?: () => void;
259
- }) => react_jsx_runtime.JSX.Element;
260
- declare const MobileModal: ({ isOpen, onClose, children, contentProps, onContentMounted, closeOnOverlayClick, }: DefaultModalProps) => react_jsx_runtime.JSX.Element | null;
257
+ }) => React.JSX.Element;
258
+ declare const MobileModal: ({ isOpen, onClose, children, contentProps, onContentMounted, closeOnOverlayClick, }: DefaultModalProps) => React.JSX.Element | null;
261
259
 
262
260
  declare const NAV_BAR_HEIGHT = 50;
263
261
  declare const NavBar: ({ selectedView, children, }: PropsWithChildren<{
264
262
  selectedView?: View | null;
265
- }>) => react_jsx_runtime.JSX.Element;
263
+ }>) => React.JSX.Element;
266
264
 
267
265
  declare const ImageViewOverlay: ({ src, onClose }: {
268
266
  src: string;
269
267
  onClose: () => void;
270
- }) => react_jsx_runtime.JSX.Element;
268
+ }) => React.JSX.Element;
271
269
 
272
- declare const MobileOverlay: (props: FlexProps) => react_jsx_runtime.JSX.Element;
270
+ declare const MobileOverlay: (props: FlexProps) => React.JSX.Element;
273
271
 
274
272
  declare const NumberTicker: ({ value, duration }: {
275
273
  value: number;
276
274
  duration?: number;
277
- }) => react_jsx_runtime.JSX.Element;
275
+ }) => React.JSX.Element;
278
276
 
279
- declare const DarkModeToggle: () => react_jsx_runtime.JSX.Element;
280
- declare const AbsoluteDarkModeToggle: (props: FlexProps) => react_jsx_runtime.JSX.Element;
277
+ declare const DarkModeToggle: () => React.JSX.Element;
278
+ declare const AbsoluteDarkModeToggle: (props: FlexProps) => React.JSX.Element;
281
279
 
282
280
  declare const ErrorView: ({ message }: {
283
281
  message?: string;
284
- }) => react_jsx_runtime.JSX.Element;
282
+ }) => React.JSX.Element;
285
283
 
286
- declare const RedirectView: react__default.FC<{
284
+ declare const RedirectView: React.FC<{
287
285
  loading?: boolean;
288
286
  }>;
289
287
 
package/dist/index.d.ts CHANGED
@@ -1,24 +1,22 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import React, { PropsWithChildren, FC, ReactNode, JSX, MouseEvent, CSSProperties } from 'react';
2
2
  import * as _chakra_ui_react from '@chakra-ui/react';
3
3
  import { CenterProps, FlexProps, StackProps, BoxProps, IconButtonProps, CircularProgressProps, ImageProps, ButtonProps, ModalProps, ModalContentProps } from '@chakra-ui/react';
4
- import * as react from 'react';
5
- import react__default, { PropsWithChildren, FC, ReactNode, JSX, MouseEvent, CSSProperties } from 'react';
6
4
  import { View, ListField, IFormElement, DataViewProps, FieldMap, FieldMapFormProps, Field, FieldFormProps, FormProps, EditableProps, ListProviderProps, ThemedAsset } from '@chem-po/react';
7
5
  import { AnyObject, WithId, FetchFeedFunction, FileValue, InputRef, ImageViewOptions, SpotifyTrack } from '@chem-po/core';
8
6
 
9
7
  interface SignInProps {
10
8
  layout?: 'row' | 'column';
11
9
  }
12
- declare const SignIn: ({ layout }: SignInProps) => react_jsx_runtime.JSX.Element;
13
- declare const AbsoluteLogin: (props: SignInProps) => react_jsx_runtime.JSX.Element;
10
+ declare const SignIn: ({ layout }: SignInProps) => React.JSX.Element;
11
+ declare const AbsoluteLogin: (props: SignInProps) => React.JSX.Element;
14
12
 
15
13
  declare const CollapseHorizontal: ({ width, children, active, duration, ...props }: CenterProps & {
16
14
  width: number;
17
15
  active: boolean;
18
16
  duration?: number;
19
- }) => react_jsx_runtime.JSX.Element;
17
+ }) => React.JSX.Element;
20
18
 
21
- declare const ContentBox: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLDivElement>>;
19
+ declare const ContentBox: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
22
20
 
23
21
  declare const Expandable: ({ header, children, initExpanded, nested, alwaysExpanded, headerProps, iconColor, footer, isOpen: isOpenProp, onClose: onCloseProp, onOpen: onOpenProp, ...stackProps }: PropsWithChildren<StackProps & {
24
22
  header: string | FC<{
@@ -37,7 +35,7 @@ declare const Expandable: ({ header, children, initExpanded, nested, alwaysExpan
37
35
  onClose?: () => void;
38
36
  iconColor?: string;
39
37
  onOpen?: () => void;
40
- }>) => react_jsx_runtime.JSX.Element;
38
+ }>) => React.JSX.Element;
41
39
 
42
40
  declare const ExpandOnMount: FC<BoxProps & {
43
41
  in?: boolean;
@@ -51,13 +49,13 @@ declare const FullSizeContainer: ({ children, ...props }: Omit<BoxProps, "childr
51
49
  width: number;
52
50
  height: number;
53
51
  }>;
54
- }) => react_jsx_runtime.JSX.Element;
55
- declare const FullSizeProvider: ({ children, ...props }: BoxProps) => react_jsx_runtime.JSX.Element;
52
+ }) => React.JSX.Element;
53
+ declare const FullSizeProvider: ({ children, ...props }: BoxProps) => React.JSX.Element;
56
54
 
57
55
  declare const MobileFrame: ({ children, navBarChildren, views, }: PropsWithChildren<{
58
56
  views: View[];
59
57
  navBarChildren?: ReactNode;
60
- }>) => react_jsx_runtime.JSX.Element;
58
+ }>) => React.JSX.Element;
61
59
 
62
60
  declare const DeleteConfirmAlert: ({ confirmActive, onCancel, onConfirm, body, actionName, actionLoading, itemName, }: {
63
61
  confirmActive: boolean;
@@ -67,8 +65,8 @@ declare const DeleteConfirmAlert: ({ confirmActive, onCancel, onConfirm, body, a
67
65
  actionLoading?: boolean;
68
66
  actionName?: string;
69
67
  itemName: string;
70
- }) => react_jsx_runtime.JSX.Element;
71
- declare const DeleteButton: react__default.FC<Partial<IconButtonProps> & {
68
+ }) => React.JSX.Element;
69
+ declare const DeleteButton: React.FC<Partial<IconButtonProps> & {
72
70
  onDelete: (() => Promise<any>) | (() => void);
73
71
  itemName: string;
74
72
  actionName?: string;
@@ -89,7 +87,7 @@ interface ToggleProps<Option extends string> {
89
87
  size?: number;
90
88
  onChange: (value: Option) => Promise<void> | void;
91
89
  }
92
- declare const Toggle: <Option extends string>({ value, onChange, size, options, }: ToggleProps<Option>) => react_jsx_runtime.JSX.Element;
90
+ declare const Toggle: <Option extends string>({ value, onChange, size, options, }: ToggleProps<Option>) => JSX.Element;
93
91
 
94
92
  declare const ViewButton: FC<{
95
93
  onClick: (e: MouseEvent) => void;
@@ -118,7 +116,7 @@ interface MediaFeedProps<T extends AnyObject = AnyObject> {
118
116
  RenderItem: (item: WithId<T>) => JSX.Element;
119
117
  }
120
118
 
121
- declare const MediaFeed: <T extends AnyObject = AnyObject>({ fetch, collection: collectionPath, RenderItem, authRequired, getBackgroundUrl, getBackgroundValue, limit, defaultBackground, swipeDisabled, children, }: PropsWithChildren<MediaFeedProps<T>>) => react_jsx_runtime.JSX.Element;
119
+ declare const MediaFeed: <T extends AnyObject = AnyObject>({ fetch, collection: collectionPath, RenderItem, authRequired, getBackgroundUrl, getBackgroundValue, limit, defaultBackground, swipeDisabled, children, }: PropsWithChildren<MediaFeedProps<T>>) => React.JSX.Element;
122
120
 
123
121
  declare const ListFieldInput: FC<{
124
122
  field: ListField;
@@ -127,17 +125,17 @@ declare const ListFieldInput: FC<{
127
125
  declare const FormElement: ({ field, name, }: {
128
126
  field: IFormElement;
129
127
  name: string;
130
- }) => react_jsx_runtime.JSX.Element;
128
+ }) => React.JSX.Element;
131
129
  declare const DataView: ({ field, value, onClose, onDelete, onSubmit, itemName, storagePath, path, }: DataViewProps & {
132
130
  path?: string;
133
- }) => react_jsx_runtime.JSX.Element;
134
- declare const FieldMapForm: <F extends FieldMap>({ onSubmit: submit, onBack, field, value, buttonText, renderFooter, storagePath, }: FieldMapFormProps<F>) => react_jsx_runtime.JSX.Element;
135
- declare const FieldForm: <F extends Field | ListField>({ onSubmit, field, value, ...props }: FieldFormProps<F>) => react_jsx_runtime.JSX.Element;
136
- declare const Form: <F extends IFormElement>({ field, ...props }: FormProps<F>) => react_jsx_runtime.JSX.Element;
131
+ }) => React.JSX.Element;
132
+ declare const FieldMapForm: <F extends FieldMap>({ onSubmit: submit, onBack, field, value, buttonText, renderFooter, storagePath, }: FieldMapFormProps<F>) => React.JSX.Element;
133
+ declare const FieldForm: <F extends Field | ListField>({ onSubmit, field, value, ...props }: FieldFormProps<F>) => React.JSX.Element;
134
+ declare const Form: <F extends IFormElement>({ field, ...props }: FormProps<F>) => React.JSX.Element;
137
135
 
138
- declare const Editable: <T extends Field>({ value: initValue, field, onSubmit, storagePath, style, onEditClose, onEditOpen, }: EditableProps<CSSProperties, T>) => react_jsx_runtime.JSX.Element;
136
+ declare const Editable: <T extends Field>({ value: initValue, field, onSubmit, storagePath, style, onEditClose, onEditOpen, }: EditableProps<CSSProperties, T>) => React.JSX.Element;
139
137
 
140
- declare const StandaloneInput: react.ForwardRefExoticComponent<{
138
+ declare const StandaloneInput: React.ForwardRefExoticComponent<{
141
139
  onChange: (v?: any) => void;
142
140
  value?: any;
143
141
  field: Field;
@@ -146,7 +144,7 @@ declare const StandaloneInput: react.ForwardRefExoticComponent<{
146
144
  theme?: "basic" | "detailed";
147
145
  inEditable?: boolean;
148
146
  style?: CSSProperties;
149
- } & react.RefAttributes<InputRef>>;
147
+ } & React.RefAttributes<InputRef>>;
150
148
 
151
149
  declare const FileView: ({ value, hasUpload, noLabel, loading, imageOptions, }: {
152
150
  value?: FileValue | null;
@@ -154,14 +152,14 @@ declare const FileView: ({ value, hasUpload, noLabel, loading, imageOptions, }:
154
152
  noLabel?: boolean;
155
153
  loading?: boolean;
156
154
  imageOptions?: ImageViewOptions;
157
- }) => react_jsx_runtime.JSX.Element;
155
+ }) => React.JSX.Element;
158
156
 
159
157
  declare const FieldView: ({ field, value, noLabel, style, }: {
160
158
  field: Field;
161
159
  value: any;
162
160
  noLabel?: boolean;
163
161
  style?: CSSProperties;
164
- }) => react_jsx_runtime.JSX.Element;
162
+ }) => React.JSX.Element;
165
163
 
166
164
  interface DataListHeaderProps {
167
165
  onResize: (size: {
@@ -188,13 +186,13 @@ type ListViewProps<T extends AnyObject> = ListProviderProps<T> & {
188
186
  };
189
187
  type ListContentProps<T extends AnyObject> = Omit<ListViewProps<T>, 'list' | 'basePath' | 'flexProps'>;
190
188
 
191
- declare const DataList: <T extends AnyObject>({ list, basePath, flexProps, infiniteScroll, ...rest }: ListViewProps<T>) => react_jsx_runtime.JSX.Element;
189
+ declare const DataList: <T extends AnyObject>({ list, basePath, flexProps, infiniteScroll, ...rest }: ListViewProps<T>) => React.JSX.Element;
192
190
 
193
- declare const ListContainer: (props: FlexProps) => react_jsx_runtime.JSX.Element;
191
+ declare const ListContainer: (props: FlexProps) => React.JSX.Element;
194
192
 
195
- declare const ListContent: <T extends AnyObject>({ modals, noFooter, headerProps, footerProps, }: ListContentProps<T>) => react_jsx_runtime.JSX.Element;
193
+ declare const ListContent: <T extends AnyObject>({ modals, noFooter, headerProps, footerProps, }: ListContentProps<T>) => React.JSX.Element;
196
194
 
197
- declare const CircularProgress: (props: CircularProgressProps) => react_jsx_runtime.JSX.Element;
195
+ declare const CircularProgress: (props: CircularProgressProps) => React.JSX.Element;
198
196
 
199
197
  declare const LottieLoadingLogo: ({ size, isLoading, speed, inFeed, asset, }: {
200
198
  size?: number | string;
@@ -203,22 +201,22 @@ declare const LottieLoadingLogo: ({ size, isLoading, speed, inFeed, asset, }: {
203
201
  asset: ThemedAsset;
204
202
  inFeed?: boolean;
205
203
  speed?: number;
206
- }) => react_jsx_runtime.JSX.Element;
204
+ }) => React.JSX.Element;
207
205
  declare const LoadingLogo: ({ isLoading, size, inFeed, }: {
208
206
  isLoading: boolean;
209
207
  size?: number | string;
210
208
  inFeed?: boolean;
211
- }) => react_jsx_runtime.JSX.Element;
209
+ }) => React.JSX.Element;
212
210
  declare const Loading: ({ text, inBox, stackProps, }: {
213
211
  text?: string;
214
212
  inBox?: boolean;
215
213
  stackProps?: StackProps;
216
- }) => react_jsx_runtime.JSX.Element;
214
+ }) => React.JSX.Element;
217
215
  declare const LoadingOverlay: ({ isLoading, text, inFeed, ...props }: {
218
216
  isLoading: boolean;
219
217
  text?: string;
220
218
  inFeed?: boolean;
221
- } & CenterProps) => react_jsx_runtime.JSX.Element;
219
+ } & CenterProps) => React.JSX.Element;
222
220
 
223
221
  interface LoadingImageProps {
224
222
  src?: string | null;
@@ -229,13 +227,13 @@ interface LoadingImageProps {
229
227
  buttonFullView?: boolean;
230
228
  imageProps?: Omit<ImageProps, 'onLoad'>;
231
229
  }
232
- declare const LoadingImage: ({ src, loadingOverride, alt, onLoad, width, height, noFullView, buttonFullView, imageProps, ...boxProps }: LoadingImageProps & Omit<BoxProps, "onLoad">) => react_jsx_runtime.JSX.Element;
230
+ declare const LoadingImage: ({ src, loadingOverride, alt, onLoad, width, height, noFullView, buttonFullView, imageProps, ...boxProps }: LoadingImageProps & Omit<BoxProps, "onLoad">) => React.JSX.Element;
233
231
 
234
232
  declare const LoadingSwitch: ({ value, label, onChange, }: {
235
233
  value: boolean;
236
234
  label: string;
237
235
  onChange: (updated: boolean) => Promise<void>;
238
- }) => react_jsx_runtime.JSX.Element;
236
+ }) => React.JSX.Element;
239
237
 
240
238
  declare const PlayButton: ({ media, size, opacity, buttonProps, }: {
241
239
  media: WithId<SpotifyTrack> | null;
@@ -243,47 +241,47 @@ declare const PlayButton: ({ media, size, opacity, buttonProps, }: {
243
241
  opacity?: number;
244
242
  withThumbnail?: boolean;
245
243
  buttonProps?: ButtonProps;
246
- }) => react_jsx_runtime.JSX.Element;
244
+ }) => React.JSX.Element;
247
245
 
248
246
  type DefaultModalProps = PropsWithChildren<Omit<ModalProps, 'render'>> & {
249
247
  contentProps?: ModalContentProps;
250
248
  onContentMounted?: (mounted: boolean) => void;
251
249
  };
252
250
 
253
- declare const DefaultModal: (props: DefaultModalProps) => react_jsx_runtime.JSX.Element;
251
+ declare const DefaultModal: (props: DefaultModalProps) => React.JSX.Element;
254
252
 
255
- declare const DesktopModal: ({ children, isOpen, contentProps, ...props }: DefaultModalProps) => react_jsx_runtime.JSX.Element;
253
+ declare const DesktopModal: ({ children, isOpen, contentProps, ...props }: DefaultModalProps) => React.JSX.Element;
256
254
 
257
255
  declare const MobileOverlayBackground: ({ onClick }: {
258
256
  onClick?: () => void;
259
- }) => react_jsx_runtime.JSX.Element;
260
- declare const MobileModal: ({ isOpen, onClose, children, contentProps, onContentMounted, closeOnOverlayClick, }: DefaultModalProps) => react_jsx_runtime.JSX.Element | null;
257
+ }) => React.JSX.Element;
258
+ declare const MobileModal: ({ isOpen, onClose, children, contentProps, onContentMounted, closeOnOverlayClick, }: DefaultModalProps) => React.JSX.Element | null;
261
259
 
262
260
  declare const NAV_BAR_HEIGHT = 50;
263
261
  declare const NavBar: ({ selectedView, children, }: PropsWithChildren<{
264
262
  selectedView?: View | null;
265
- }>) => react_jsx_runtime.JSX.Element;
263
+ }>) => React.JSX.Element;
266
264
 
267
265
  declare const ImageViewOverlay: ({ src, onClose }: {
268
266
  src: string;
269
267
  onClose: () => void;
270
- }) => react_jsx_runtime.JSX.Element;
268
+ }) => React.JSX.Element;
271
269
 
272
- declare const MobileOverlay: (props: FlexProps) => react_jsx_runtime.JSX.Element;
270
+ declare const MobileOverlay: (props: FlexProps) => React.JSX.Element;
273
271
 
274
272
  declare const NumberTicker: ({ value, duration }: {
275
273
  value: number;
276
274
  duration?: number;
277
- }) => react_jsx_runtime.JSX.Element;
275
+ }) => React.JSX.Element;
278
276
 
279
- declare const DarkModeToggle: () => react_jsx_runtime.JSX.Element;
280
- declare const AbsoluteDarkModeToggle: (props: FlexProps) => react_jsx_runtime.JSX.Element;
277
+ declare const DarkModeToggle: () => React.JSX.Element;
278
+ declare const AbsoluteDarkModeToggle: (props: FlexProps) => React.JSX.Element;
281
279
 
282
280
  declare const ErrorView: ({ message }: {
283
281
  message?: string;
284
- }) => react_jsx_runtime.JSX.Element;
282
+ }) => React.JSX.Element;
285
283
 
286
- declare const RedirectView: react__default.FC<{
284
+ declare const RedirectView: React.FC<{
287
285
  loading?: boolean;
288
286
  }>;
289
287