@orderly.network/ui-scaffold 2.6.3 → 2.7.0
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/index.d.mts +9 -16
- package/dist/index.d.ts +9 -16
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -97,18 +97,18 @@ type MainNavClassNames = {
|
|
|
97
97
|
|
|
98
98
|
declare const LeftNavWidget: FC<LeftNavProps>;
|
|
99
99
|
|
|
100
|
-
type BottomNavProps$1 = {
|
|
101
|
-
mainMenus?: BottomNavItem[];
|
|
102
|
-
current?: string;
|
|
103
|
-
onRouteChange?: RouterAdapter["onRouteChange"];
|
|
104
|
-
};
|
|
105
100
|
type BottomNavItem = {
|
|
106
101
|
name: string;
|
|
107
102
|
href: string;
|
|
108
103
|
activeIcon: ReactNode;
|
|
109
104
|
inactiveIcon: ReactNode;
|
|
110
105
|
};
|
|
111
|
-
|
|
106
|
+
type BottomNavProps$1 = {
|
|
107
|
+
mainMenus?: BottomNavItem[];
|
|
108
|
+
current?: string;
|
|
109
|
+
onRouteChange?: RouterAdapter["onRouteChange"];
|
|
110
|
+
};
|
|
111
|
+
declare const BottomNavWidget: react__default.FC<BottomNavProps$1>;
|
|
112
112
|
|
|
113
113
|
type FooterReturns = {
|
|
114
114
|
wsStatus: WsNetworkStatus;
|
|
@@ -227,7 +227,7 @@ type BottomNavProps = {
|
|
|
227
227
|
current?: string | string[];
|
|
228
228
|
onRouteChange?: RouterAdapter["onRouteChange"];
|
|
229
229
|
};
|
|
230
|
-
declare const BottomNav:
|
|
230
|
+
declare const BottomNav: react__default.FC<BottomNavProps>;
|
|
231
231
|
|
|
232
232
|
declare const useLeftNavState: () => {};
|
|
233
233
|
type LeftNavState = ReturnType<typeof useLeftNavState>;
|
|
@@ -319,7 +319,7 @@ type MainNavMobileProps = {
|
|
|
319
319
|
} & MainNavWidgetProps;
|
|
320
320
|
declare const MainNavMobile: FC<MainNavMobileProps>;
|
|
321
321
|
|
|
322
|
-
declare const AccountSummaryWidget:
|
|
322
|
+
declare const AccountSummaryWidget: react__default.FC;
|
|
323
323
|
|
|
324
324
|
declare const ChainMenuWidget: () => react_jsx_runtime.JSX.Element;
|
|
325
325
|
|
|
@@ -393,17 +393,10 @@ type AnnouncementScriptOptions = {
|
|
|
393
393
|
};
|
|
394
394
|
type AnnouncementScriptReturn = ReturnType<typeof useAnnouncementScript>;
|
|
395
395
|
declare const useAnnouncementScript: (options?: AnnouncementScriptOptions) => {
|
|
396
|
-
mutiLine: boolean;
|
|
397
|
-
contentRef: react__default.RefObject<HTMLDivElement>;
|
|
398
396
|
maintenanceDialogInfo: string | undefined;
|
|
399
|
-
tips:
|
|
400
|
-
currentIndex: number;
|
|
401
|
-
currentTip: any;
|
|
397
|
+
tips: API.AnnouncementRow[];
|
|
402
398
|
closeTips: () => void;
|
|
403
|
-
nextTips: () => void;
|
|
404
|
-
prevTips: () => void;
|
|
405
399
|
showAnnouncement: boolean;
|
|
406
|
-
isAnimating: boolean;
|
|
407
400
|
};
|
|
408
401
|
|
|
409
402
|
type AnnouncementProps = AnnouncementScriptReturn & {
|
package/dist/index.d.ts
CHANGED
|
@@ -97,18 +97,18 @@ type MainNavClassNames = {
|
|
|
97
97
|
|
|
98
98
|
declare const LeftNavWidget: FC<LeftNavProps>;
|
|
99
99
|
|
|
100
|
-
type BottomNavProps$1 = {
|
|
101
|
-
mainMenus?: BottomNavItem[];
|
|
102
|
-
current?: string;
|
|
103
|
-
onRouteChange?: RouterAdapter["onRouteChange"];
|
|
104
|
-
};
|
|
105
100
|
type BottomNavItem = {
|
|
106
101
|
name: string;
|
|
107
102
|
href: string;
|
|
108
103
|
activeIcon: ReactNode;
|
|
109
104
|
inactiveIcon: ReactNode;
|
|
110
105
|
};
|
|
111
|
-
|
|
106
|
+
type BottomNavProps$1 = {
|
|
107
|
+
mainMenus?: BottomNavItem[];
|
|
108
|
+
current?: string;
|
|
109
|
+
onRouteChange?: RouterAdapter["onRouteChange"];
|
|
110
|
+
};
|
|
111
|
+
declare const BottomNavWidget: react__default.FC<BottomNavProps$1>;
|
|
112
112
|
|
|
113
113
|
type FooterReturns = {
|
|
114
114
|
wsStatus: WsNetworkStatus;
|
|
@@ -227,7 +227,7 @@ type BottomNavProps = {
|
|
|
227
227
|
current?: string | string[];
|
|
228
228
|
onRouteChange?: RouterAdapter["onRouteChange"];
|
|
229
229
|
};
|
|
230
|
-
declare const BottomNav:
|
|
230
|
+
declare const BottomNav: react__default.FC<BottomNavProps>;
|
|
231
231
|
|
|
232
232
|
declare const useLeftNavState: () => {};
|
|
233
233
|
type LeftNavState = ReturnType<typeof useLeftNavState>;
|
|
@@ -319,7 +319,7 @@ type MainNavMobileProps = {
|
|
|
319
319
|
} & MainNavWidgetProps;
|
|
320
320
|
declare const MainNavMobile: FC<MainNavMobileProps>;
|
|
321
321
|
|
|
322
|
-
declare const AccountSummaryWidget:
|
|
322
|
+
declare const AccountSummaryWidget: react__default.FC;
|
|
323
323
|
|
|
324
324
|
declare const ChainMenuWidget: () => react_jsx_runtime.JSX.Element;
|
|
325
325
|
|
|
@@ -393,17 +393,10 @@ type AnnouncementScriptOptions = {
|
|
|
393
393
|
};
|
|
394
394
|
type AnnouncementScriptReturn = ReturnType<typeof useAnnouncementScript>;
|
|
395
395
|
declare const useAnnouncementScript: (options?: AnnouncementScriptOptions) => {
|
|
396
|
-
mutiLine: boolean;
|
|
397
|
-
contentRef: react__default.RefObject<HTMLDivElement>;
|
|
398
396
|
maintenanceDialogInfo: string | undefined;
|
|
399
|
-
tips:
|
|
400
|
-
currentIndex: number;
|
|
401
|
-
currentTip: any;
|
|
397
|
+
tips: API.AnnouncementRow[];
|
|
402
398
|
closeTips: () => void;
|
|
403
|
-
nextTips: () => void;
|
|
404
|
-
prevTips: () => void;
|
|
405
399
|
showAnnouncement: boolean;
|
|
406
|
-
isAnimating: boolean;
|
|
407
400
|
};
|
|
408
401
|
|
|
409
402
|
type AnnouncementProps = AnnouncementScriptReturn & {
|