@dappworks/kit 0.4.181 → 0.4.183

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/dev.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { S as Store, R as RootStore } from './root-C3lZnoCI.js';
2
- import React__default from 'react';
2
+ import React from 'react';
3
3
  import 'typed-emitter';
4
4
 
5
5
  declare class DevTool implements Store {
@@ -7,7 +7,7 @@ declare class DevTool implements Store {
7
7
  stype: string;
8
8
  provider: ({ rootStore }: {
9
9
  rootStore: RootStore;
10
- }) => React__default.JSX.Element;
10
+ }) => React.JSX.Element;
11
11
  disabled?: boolean;
12
12
  autoObservable?: boolean;
13
13
  isOpen: boolean;
@@ -19,7 +19,7 @@ declare class DevTool implements Store {
19
19
  }
20
20
  declare const DevToolProvider: (({ rootStore }: {
21
21
  rootStore: RootStore;
22
- }) => React__default.JSX.Element) & {
22
+ }) => React.JSX.Element) & {
23
23
  displayName: string;
24
24
  };
25
25
 
@@ -1,5 +1,5 @@
1
1
  import { S as Store, R as RootStore } from './root-C3lZnoCI.js';
2
- import React__default, { ReactNode, HTMLAttributeAnchorTarget } from 'react';
2
+ import React$1, { ReactNode, HTMLAttributeAnchorTarget } from 'react';
3
3
  import 'typed-emitter';
4
4
 
5
5
  declare class SlotPlugin implements Store {
@@ -176,7 +176,7 @@ declare class JSONViewPlugin implements Store {
176
176
  JSONView: {
177
177
  Test: {
178
178
  name: string;
179
- render: () => React__default.JSX.Element;
179
+ render: () => React$1.JSX.Element;
180
180
  };
181
181
  };
182
182
  onNewStore({ rootStore, store }: {
@@ -184,7 +184,7 @@ declare class JSONViewPlugin implements Store {
184
184
  store: Store;
185
185
  }): void;
186
186
  crawl(store: Store): void;
187
- static JSONView: (props: JSONViewType) => React__default.JSX.Element;
187
+ static JSONView: (props: JSONViewType) => React$1.JSX.Element;
188
188
  }
189
189
 
190
190
  export { AsyncStorage, Collection, type DataGroup, type Engine, type JSONDataType, JSONViewPlugin, type JSONViewType, SlotPlugin, type StorageParams, StoragePlugin, jwt };
package/dist/form.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import React__default, { Dispatch, SetStateAction, ReactNode } from 'react';
1
+ import React$1, { Dispatch, SetStateAction, ReactNode } from 'react';
2
2
  import { TabsProps, ButtonProps, CheckboxProps, SlotsToClasses, InputSlots, InputProps, SelectSlots, SelectProps, SelectedItems, DatePickerProps, ModalSlots } from '@nextui-org/react';
3
3
  import { UiSchema, RJSFSchema, WidgetProps, Widget } from '@rjsf/utils';
4
4
  import * as _rjsf_validator_ajv8_lib_validator from '@rjsf/validator-ajv8/lib/validator';
@@ -54,13 +54,13 @@ type SubmitButtonProps<T> = ButtonProps & {
54
54
  };
55
55
  type CombFormsCustomRender<T> = (formStates: {
56
56
  [F in keyof T]?: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>;
57
- }) => React__default.ReactNode;
57
+ }) => React$1.ReactNode;
58
58
  type CombFormsCustomRenderMap<T> = {
59
59
  Top?: CombFormsCustomRender<T>;
60
60
  SubmitButtonBefore?: CombFormsCustomRender<T>;
61
61
  SubmitButtonAfter?: CombFormsCustomRender<T>;
62
62
  };
63
- type SubformCustomRender<T> = (formKey: FormKey<T>, formState: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>) => React__default.ReactNode;
63
+ type SubformCustomRender<T> = (formKey: FormKey<T>, formState: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>) => React$1.ReactNode;
64
64
  type SubformCustomRenderMap<T> = {
65
65
  Top?: SubformCustomRender<T>;
66
66
  SubmitButtonBefore?: SubformCustomRender<T>;
@@ -139,7 +139,7 @@ type JSONFormProps<T = FormDataType> = {
139
139
  onBatchSubmit?: (formData: T, setLoading: Dispatch<SetStateAction<boolean>>) => void;
140
140
  };
141
141
  };
142
- declare const JSONForm: <T extends FormDataType>(props: JSONFormProps<T>) => React__default.JSX.Element;
142
+ declare const JSONForm: <T extends FormDataType>(props: JSONFormProps<T>) => React$1.JSX.Element;
143
143
 
144
144
  type Options$6 = {
145
145
  className?: string;
@@ -156,7 +156,7 @@ interface CheckboxWidgetUIOptions {
156
156
  "ui:widget": (props: CheckboxWidgetProps) => JSX.Element;
157
157
  "ui:options": Options$6;
158
158
  }
159
- declare function CheckboxWidget({ onChange, options, label, value, disabled, uiSchema }: CheckboxWidgetProps): React__default.JSX.Element;
159
+ declare function CheckboxWidget({ onChange, options, label, value, disabled, uiSchema }: CheckboxWidgetProps): React$1.JSX.Element;
160
160
 
161
161
  type Options$5 = {
162
162
  editorHeight?: string;
@@ -183,7 +183,7 @@ type EditorWidgetUIOptions = {
183
183
  "ui:widget": (props: EditorWidgetProps) => JSX.Element;
184
184
  "ui:options": Options$5;
185
185
  };
186
- declare const EditorWidget: ({ label, options, value, required, uiSchema, disabled, onChange }: EditorWidgetProps) => React__default.JSX.Element;
186
+ declare const EditorWidget: ({ label, options, value, required, uiSchema, disabled, onChange }: EditorWidgetProps) => React$1.JSX.Element;
187
187
 
188
188
  type Options$4 = {
189
189
  className?: string;
@@ -208,7 +208,7 @@ interface InputWidgetUIOptions {
208
208
  "ui:widget": (props: InputWidgetProps) => JSX.Element;
209
209
  "ui:options": Options$4;
210
210
  }
211
- declare function InputWidget(props: InputWidgetProps): React__default.JSX.Element;
211
+ declare function InputWidget(props: InputWidgetProps): React$1.JSX.Element;
212
212
 
213
213
  type Options$3 = {
214
214
  className?: string;
@@ -229,7 +229,7 @@ interface SelectWidgetUIOptions {
229
229
  "ui:widget": (props: SelectWidgetProps) => JSX.Element;
230
230
  "ui:options": Options$3;
231
231
  }
232
- declare function SelectWidget(props: SelectWidgetProps): React__default.JSX.Element;
232
+ declare function SelectWidget(props: SelectWidgetProps): React$1.JSX.Element;
233
233
 
234
234
  type Options$2 = {
235
235
  className?: string;
@@ -243,7 +243,7 @@ type Options$2 = {
243
243
  renderValue?: (items: SelectedItems<{
244
244
  label: string;
245
245
  value: string;
246
- }>) => React__default.ReactNode;
246
+ }>) => React$1.ReactNode;
247
247
  };
248
248
  interface MultipleSelectWidgetProps extends WidgetProps {
249
249
  options: Options$2;
@@ -252,7 +252,7 @@ interface MultipleSelectWidgetUIOptions {
252
252
  'ui:widget': (props: MultipleSelectWidgetProps) => JSX.Element;
253
253
  'ui:options': Options$2;
254
254
  }
255
- declare function MultipleSelectWidget(props: MultipleSelectWidgetProps): React__default.JSX.Element;
255
+ declare function MultipleSelectWidget(props: MultipleSelectWidgetProps): React$1.JSX.Element;
256
256
 
257
257
  type Options$1 = {
258
258
  className?: string;
@@ -276,7 +276,7 @@ interface TextareaWidgetUIOptions {
276
276
  'ui:widget': (props: TextareaWidgetProps) => JSX.Element;
277
277
  'ui:options': Options$1;
278
278
  }
279
- declare function TextareaWidget(props: TextareaWidgetProps): React__default.JSX.Element;
279
+ declare function TextareaWidget(props: TextareaWidgetProps): React$1.JSX.Element;
280
280
 
281
281
  type Options = {
282
282
  className?: string;
@@ -296,19 +296,19 @@ interface DatePickerWidgetUIOptions {
296
296
  'ui:widget': (props: DatePickerWidgetProps) => string | Widget<any, RJSFSchema, any> | undefined;
297
297
  'ui:options': Options;
298
298
  }
299
- declare function DatePickerWidget({ label, options, value, required, disabled, uiSchema, onChange }: DatePickerWidgetProps): React__default.JSX.Element;
299
+ declare function DatePickerWidget({ label, options, value, required, disabled, uiSchema, onChange }: DatePickerWidgetProps): React$1.JSX.Element;
300
300
 
301
301
  interface Props {
302
302
  formState: JSONSchemaFormState<any>;
303
303
  children?: any;
304
304
  }
305
- declare const JSONSchemaForm: (({ children, formState }: Props) => React__default.JSX.Element) & {
305
+ declare const JSONSchemaForm: (({ children, formState }: Props) => React$1.JSX.Element) & {
306
306
  displayName: string;
307
307
  };
308
308
 
309
309
  declare class ComplexFormModalStore<T extends FormDataType> implements Store {
310
310
  sid: string;
311
- provider: () => React__default.JSX.Element;
311
+ provider: () => React$1.JSX.Element;
312
312
  isOpen: boolean;
313
313
  title: string;
314
314
  formData?: T;
@@ -340,7 +340,7 @@ declare class FormModalStore<T = {
340
340
  [key: string]: any;
341
341
  }> implements Store {
342
342
  sid: string;
343
- provider: () => React__default.JSX.Element;
343
+ provider: () => React$1.JSX.Element;
344
344
  isOpen: boolean;
345
345
  title: string;
346
346
  form: JSONSchemaFormState<T>;
package/dist/index.d.mts CHANGED
@@ -4,7 +4,7 @@ export { P as PromiseState } from './PromiseState-DdfQCVl2.js';
4
4
  export { B as BigNumberState, P as PromiseHook, S as StorageState } from './StorageState-qzikHBY8.js';
5
5
  import BigNumber from 'bignumber.js';
6
6
  export { P as PaginationState } from './PaginationState-Bmrrw0ky.js';
7
- import React__default from 'react';
7
+ import React from 'react';
8
8
  import 'typed-emitter';
9
9
  import 'events';
10
10
  import 'mobx';
@@ -49,8 +49,8 @@ declare class ObjectPool {
49
49
  }
50
50
 
51
51
  declare const AppProvider: (({ children }: {
52
- children?: React__default.ReactNode;
53
- }) => React__default.JSX.Element) & {
52
+ children?: React.ReactNode;
53
+ }) => React.JSX.Element) & {
54
54
  displayName: string;
55
55
  };
56
56
 
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
  import { S as Store } from './root-C3lZnoCI.js';
3
3
  import 'typed-emitter';
4
4
 
@@ -8,7 +8,7 @@ declare class DevInspectorPlugin implements Store {
8
8
  autoObservable: boolean;
9
9
  disabled: boolean;
10
10
  constructor(args?: Partial<DevInspectorPlugin>);
11
- provider: () => React__default.JSX.Element;
11
+ provider: () => React.JSX.Element;
12
12
  }
13
13
 
14
14
  export { DevInspectorPlugin };
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
  import { SpinnerProps, PaginationProps } from '@nextui-org/react';
3
3
  import { P as PaginationState } from './PaginationState-Bmrrw0ky.js';
4
4
 
@@ -12,7 +12,7 @@ type TableClassNames = {
12
12
  };
13
13
  type HeaderKeys<T extends Record<string, any>> = Array<keyof T | '$actions'>;
14
14
  type ColumnConfig<T> = {
15
- label?: React__default.ReactNode;
15
+ label?: React.ReactNode;
16
16
  width?: number;
17
17
  hidden?: boolean;
18
18
  sortable?: boolean;
@@ -67,11 +67,11 @@ type CollapsedTableConfig<T> = {
67
67
  }[];
68
68
  collapsedHandlerPosition?: 'left' | 'right';
69
69
  collapsedHandlerBoxCss?: string;
70
- openedIcon?: React__default.ReactNode;
71
- closedIcon?: React__default.ReactNode;
70
+ openedIcon?: React.ReactNode;
71
+ closedIcon?: React.ReactNode;
72
72
  onRowClick?: (item: any) => void;
73
73
  rowCss?: string | ((item: any) => string | undefined);
74
- emptyContent?: React__default.ReactNode;
74
+ emptyContent?: React.ReactNode;
75
75
  };
76
76
  type VirtualizedOptions = {
77
77
  isVirtualized?: boolean;
@@ -100,15 +100,15 @@ interface JSONTableProps<T extends Record<string, any>> {
100
100
  asCard?: boolean;
101
101
  cardOptions?: CardOptions;
102
102
  autoScrollToTop?: boolean;
103
- emptyContent?: React__default.ReactNode;
103
+ emptyContent?: React.ReactNode;
104
104
  isLoading?: boolean;
105
105
  loadingOptions?: LoadingOptions;
106
- loadingContent?: React__default.ReactNode;
106
+ loadingContent?: React.ReactNode;
107
107
  isHeaderSticky?: boolean;
108
108
  sortingUIOptions?: SortingUIOptions;
109
109
  collapsedTableConfig?: CollapsedTableConfig<T>;
110
110
  virtualizedOptions?: VirtualizedOptions;
111
111
  }
112
- declare const JSONTable: <T extends Record<string, any>>(props: JSONTableProps<T>) => React__default.JSX.Element;
112
+ declare const JSONTable: <T extends Record<string, any>>(props: JSONTableProps<T>) => React.JSX.Element;
113
113
 
114
114
  export { type CardOptions, type CollapsedTableConfig, type ColumnOptions, type HeaderKeys, JSONTable, type LoadingOptions, type SortingUIOptions };
@@ -1,14 +1,14 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
  import { ValueFormatter, CurveType, Color, CustomTooltipProps } from '@tremor/react';
3
3
 
4
4
  interface ChartBox {
5
- title?: React__default.ReactNode;
5
+ title?: React.ReactNode;
6
6
  description?: string;
7
7
  error?: string;
8
8
  data?: {
9
9
  [key: string]: any;
10
10
  }[];
11
- children?: React__default.ReactNode;
11
+ children?: React.ReactNode;
12
12
  gridH?: number;
13
13
  numColSpanMd?: number;
14
14
  className?: string;
@@ -16,7 +16,7 @@ interface ChartBox {
16
16
  contentClassName?: string;
17
17
  chartClassName?: string;
18
18
  }
19
- declare const ChartBox: ({ title, description, error, children, className, headerClassName, contentClassName }: ChartBox) => React__default.JSX.Element;
19
+ declare const ChartBox: ({ title, description, error, children, className, headerClassName, contentClassName }: ChartBox) => React.JSX.Element;
20
20
 
21
21
  type BarChartCard = ChartBox & {
22
22
  type?: 'BarChartCard';
@@ -28,7 +28,7 @@ type BarChartCard = ChartBox & {
28
28
  stack?: boolean;
29
29
  showAnimation?: boolean;
30
30
  };
31
- declare const BarChartCard: (props: BarChartCard) => React__default.JSX.Element;
31
+ declare const BarChartCard: (props: BarChartCard) => React.JSX.Element;
32
32
 
33
33
  type LineChartCard = ChartBox & {
34
34
  type?: 'LineChartCard';
@@ -45,9 +45,9 @@ type LineChartCard = ChartBox & {
45
45
  showAnimation?: boolean;
46
46
  autoMinValue?: boolean;
47
47
  valueFormatter?: ValueFormatter;
48
- customTooltip?: React__default.ComponentType<CustomTooltipProps>;
48
+ customTooltip?: React.ComponentType<CustomTooltipProps>;
49
49
  };
50
- declare const LineChartCard: (props: LineChartCard) => React__default.JSX.Element;
50
+ declare const LineChartCard: (props: LineChartCard) => React.JSX.Element;
51
51
 
52
52
  type AreaChartCard = ChartBox & {
53
53
  type?: 'AreaChartCard';
@@ -65,9 +65,9 @@ type AreaChartCard = ChartBox & {
65
65
  showAnimation?: boolean;
66
66
  autoMinValue?: boolean;
67
67
  valueFormatter?: ValueFormatter;
68
- customTooltip?: React__default.ComponentType<CustomTooltipProps>;
68
+ customTooltip?: React.ComponentType<CustomTooltipProps>;
69
69
  };
70
- declare const AreaChartCard: (props: AreaChartCard) => React__default.JSX.Element;
70
+ declare const AreaChartCard: (props: AreaChartCard) => React.JSX.Element;
71
71
 
72
72
  type DonutChartCard = ChartBox & {
73
73
  type?: 'DonutChartCard';
@@ -78,13 +78,13 @@ type DonutChartCard = ChartBox & {
78
78
  variant?: 'donut' | 'pie';
79
79
  showAnimation?: boolean;
80
80
  };
81
- declare const DonutChartCard: (props: DonutChartCard) => React__default.JSX.Element;
81
+ declare const DonutChartCard: (props: DonutChartCard) => React.JSX.Element;
82
82
 
83
83
  type CountCard = ChartBox & {
84
84
  type?: 'CountCard';
85
85
  summedColumnIndex?: string;
86
86
  };
87
- declare const CountCard: (props: CountCard) => React__default.JSX.Element;
87
+ declare const CountCard: (props: CountCard) => React.JSX.Element;
88
88
 
89
89
  type TableCard = ChartBox & {
90
90
  type?: 'TableCard';
@@ -95,7 +95,7 @@ type TableCard = ChartBox & {
95
95
  };
96
96
  };
97
97
  };
98
- declare const TableCard: (props: TableCard) => React__default.JSX.Element;
98
+ declare const TableCard: (props: TableCard) => React.JSX.Element;
99
99
 
100
100
  type KPICard = ChartBox & {
101
101
  type?: 'KPICard';
@@ -108,14 +108,14 @@ type KPICard = ChartBox & {
108
108
  valueFormatter?: ValueFormatter;
109
109
  loading?: boolean;
110
110
  };
111
- declare const KPICard: (props: KPICard) => React__default.JSX.Element;
111
+ declare const KPICard: (props: KPICard) => React.JSX.Element;
112
112
 
113
113
  type JSONMetricsViewType = AreaChartCard | LineChartCard | BarChartCard | DonutChartCard | CountCard | TableCard | KPICard;
114
114
  declare const JSONMetricsView: ({ data }: {
115
115
  data: JSONMetricsViewType[];
116
- }) => React__default.JSX.Element;
116
+ }) => React.JSX.Element;
117
117
  declare const MetricsView: ({ data }: {
118
118
  data: JSONMetricsViewType;
119
- }) => React__default.JSX.Element;
119
+ }) => React.JSX.Element;
120
120
 
121
121
  export { JSONMetricsView, type JSONMetricsViewType, MetricsView };
@@ -1,5 +1,5 @@
1
1
  import { S as Store } from './root-C3lZnoCI.js';
2
- import React__default from 'react';
2
+ import React from 'react';
3
3
  import { SlotsToClasses, ModalSlots, ButtonProps, SpinnerProps } from '@nextui-org/react';
4
4
  import { T as ThemeType } from './index-CUKoRIdy.js';
5
5
  import * as react_hot_toast from 'react-hot-toast';
@@ -9,7 +9,7 @@ import 'events';
9
9
 
10
10
  declare class ConfirmStore implements Store {
11
11
  sid: string;
12
- provider: () => React__default.JSX.Element;
12
+ provider: () => React.JSX.Element;
13
13
  isOpen: boolean;
14
14
  title?: string;
15
15
  description?: string;
@@ -29,7 +29,7 @@ declare class ConfirmStore implements Store {
29
29
 
30
30
  declare class ToastPlugin implements Store {
31
31
  sid: string;
32
- provider: () => React__default.JSX.Element;
32
+ provider: () => React.JSX.Element;
33
33
  success: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
34
34
  error: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
35
35
  loading: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
@@ -45,7 +45,7 @@ declare class ToastPlugin implements Store {
45
45
 
46
46
  declare class DialogStore implements Store {
47
47
  sid: string;
48
- provider: () => React__default.JSX.Element;
48
+ provider: () => React.JSX.Element;
49
49
  isOpen: boolean;
50
50
  placement: "center" | "auto" | "top" | "bottom" | "top-center" | "bottom-center";
51
51
  title: string;
@@ -53,7 +53,7 @@ declare class DialogStore implements Store {
53
53
  className: string;
54
54
  classNames?: SlotsToClasses<ModalSlots>;
55
55
  theme: ThemeType;
56
- content: React__default.ReactNode | ((props: any) => React__default.ReactNode);
56
+ content: React.ReactNode | ((props: any) => React.ReactNode);
57
57
  isDismissable: boolean;
58
58
  constructor(args?: Partial<DialogStore>);
59
59
  setData(v: Partial<DialogStore>): void;
@@ -64,15 +64,15 @@ declare class DialogStore implements Store {
64
64
 
65
65
  type GroupOptions = {
66
66
  args?: any[];
67
- title: React__default.ReactNode;
67
+ title: React.ReactNode;
68
68
  }[];
69
69
  type DialogContentUIProps = {
70
70
  className?: string;
71
71
  itemClassName?: string;
72
72
  numberClassName?: string;
73
73
  spinnerProps?: SpinnerProps;
74
- SuccessIcon?: React__default.ReactNode;
75
- FailureIcon?: React__default.ReactNode;
74
+ SuccessIcon?: React.ReactNode;
75
+ FailureIcon?: React.ReactNode;
76
76
  };
77
77
  type StepUIProps = {
78
78
  className?: string;
@@ -81,8 +81,8 @@ type StepUIProps = {
81
81
  numberClassName?: string;
82
82
  activatedNumberClassName?: string;
83
83
  spinnerProps?: SpinnerProps;
84
- SuccessIcon?: React__default.ReactNode;
85
- FailureIcon?: React__default.ReactNode;
84
+ SuccessIcon?: React.ReactNode;
85
+ FailureIcon?: React.ReactNode;
86
86
  };
87
87
 
88
88
  declare class PromiseStateGroup {
@@ -108,7 +108,7 @@ declare class PromiseStateGroup {
108
108
  }>;
109
109
  onNext(): void;
110
110
  onPrevious(): void;
111
- render(props?: StepUIProps): React__default.JSX.Element;
111
+ render(props?: StepUIProps): React.JSX.Element;
112
112
  }
113
113
 
114
114
  export { ConfirmStore, DialogStore, PromiseStateGroup, ToastPlugin };
package/dist/ui.d.mts CHANGED
@@ -1,29 +1,29 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
  import { SlotsToClasses } from '@nextui-org/react';
3
3
 
4
4
  declare const PanelCard: ({ className, title, content }: {
5
5
  className?: string;
6
- title: React__default.ReactNode;
7
- content?: React__default.ReactNode;
8
- }) => React__default.JSX.Element;
6
+ title: React.ReactNode;
7
+ content?: React.ReactNode;
8
+ }) => React.JSX.Element;
9
9
 
10
10
  declare const Copy: ({ className, value, iconSize, iconClassName }: {
11
11
  className?: string;
12
12
  value: string;
13
13
  iconSize?: number;
14
14
  iconClassName?: string;
15
- }) => React__default.JSX.Element;
15
+ }) => React.JSX.Element;
16
16
 
17
17
  declare function JSONHighlight({ jsonStr, className }: {
18
18
  jsonStr: string;
19
19
  className?: string;
20
- }): React__default.JSX.Element;
20
+ }): React.JSX.Element;
21
21
 
22
22
  declare const SkeletonBox: ({ line, className, skClassName, skClassNames }: {
23
23
  line?: number;
24
24
  className?: string;
25
25
  skClassName?: string;
26
26
  skClassNames?: SlotsToClasses<"base" | "content">;
27
- }) => React__default.JSX.Element;
27
+ }) => React.JSX.Element;
28
28
 
29
29
  export { Copy, JSONHighlight, PanelCard, SkeletonBox };
package/dist/wallet.d.mts CHANGED
@@ -1,5 +1,4 @@
1
- import * as React from 'react';
2
- import React__default from 'react';
1
+ import React from 'react';
3
2
  import { a as PromiseHookData, B as BigNumberState, S as StorageState } from './StorageState-qzikHBY8.js';
4
3
  import { S as Store } from './root-C3lZnoCI.js';
5
4
  import { WalletClient, PublicClient, HttpTransport, TransactionReceipt } from 'viem';
@@ -15,10 +14,10 @@ import 'bignumber.js';
15
14
  import 'typed-emitter';
16
15
 
17
16
  declare const WalletProvider: (({ children, theme, appName }: {
18
- children: React__default.ReactNode;
17
+ children: React.ReactNode;
19
18
  theme?: "dark" | "light";
20
19
  appName?: string;
21
- }) => React__default.JSX.Element) & {
20
+ }) => React.JSX.Element) & {
22
21
  displayName: string;
23
22
  };
24
23
 
@@ -160,4 +159,8 @@ declare class WalletConfigStore implements Store {
160
159
  get rainbowKitConfig(): wagmi.Config<_rainbow_me_rainbowkit_dist_config_getDefaultConfig._chains, _rainbow_me_rainbowkit_dist_config_getDefaultConfig._transports>;
161
160
  }
162
161
 
163
- export { type AddressMode, type NetworkObject, WalletConfigStore, WalletHistoryStore, WalletProvider, WalletRpcStore, WalletStore, type WalletTransactionHistoryType, iotex, iotexTestnet };
162
+ declare const RpcList: (() => React.JSX.Element) & {
163
+ displayName: string;
164
+ };
165
+
166
+ export { type AddressMode, type NetworkObject, RpcList, WalletConfigStore, WalletHistoryStore, WalletProvider, WalletRpcStore, WalletStore, type WalletTransactionHistoryType, iotex, iotexTestnet };