@orderly.network/ui-scaffold 2.6.2 → 2.6.3
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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +12 -43
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -120,7 +120,7 @@ type FooterProps = {
|
|
|
120
120
|
discordUrl?: string;
|
|
121
121
|
trailing?: ReactNode;
|
|
122
122
|
};
|
|
123
|
-
declare const FooterWidget:
|
|
123
|
+
declare const FooterWidget: react__default.FC<FooterProps>;
|
|
124
124
|
|
|
125
125
|
declare const Footer: FC<FooterReturns & FooterProps>;
|
|
126
126
|
|
|
@@ -146,7 +146,7 @@ type SideBarProps = {
|
|
|
146
146
|
};
|
|
147
147
|
declare const SideBar: react__default.FC<SideBarProps>;
|
|
148
148
|
|
|
149
|
-
declare const SideNavbarWidget:
|
|
149
|
+
declare const SideNavbarWidget: react__default.FC<Partial<SideBarProps>>;
|
|
150
150
|
|
|
151
151
|
type RouteOption = {
|
|
152
152
|
href: string;
|
|
@@ -220,7 +220,7 @@ type ScaffoldProps = {
|
|
|
220
220
|
bottomNav?: string;
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
-
declare const Scaffold:
|
|
223
|
+
declare const Scaffold: react__default.FC<PropsWithChildren<ScaffoldProps>>;
|
|
224
224
|
|
|
225
225
|
type BottomNavProps = {
|
|
226
226
|
mainMenus?: BottomNavItem[];
|
|
@@ -307,7 +307,7 @@ type MainNavWidgetProps = {
|
|
|
307
307
|
scanQRCode?: ReactNode;
|
|
308
308
|
}) => ReactNode;
|
|
309
309
|
};
|
|
310
|
-
declare const MainNavWidget:
|
|
310
|
+
declare const MainNavWidget: react__default.FC<PropsWithChildren<MainNavWidgetProps>>;
|
|
311
311
|
|
|
312
312
|
type MainNavMobileProps = {
|
|
313
313
|
current?: string;
|
|
@@ -478,7 +478,7 @@ declare const LanguageSwitcherWidget: (props: LanguageSwitcherWidgetProps) => re
|
|
|
478
478
|
type LanguageSwitcherProps = LanguageSwitcherScriptReturn;
|
|
479
479
|
declare const LanguageSwitcher: FC<LanguageSwitcherProps>;
|
|
480
480
|
|
|
481
|
-
declare const ScanQRCodeWidget:
|
|
481
|
+
declare const ScanQRCodeWidget: react__default.FC;
|
|
482
482
|
|
|
483
483
|
type UseScanQRCodeScriptReturn = ReturnType<typeof useScanQRCodeScript>;
|
|
484
484
|
declare const useScanQRCodeScript: () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ type FooterProps = {
|
|
|
120
120
|
discordUrl?: string;
|
|
121
121
|
trailing?: ReactNode;
|
|
122
122
|
};
|
|
123
|
-
declare const FooterWidget:
|
|
123
|
+
declare const FooterWidget: react__default.FC<FooterProps>;
|
|
124
124
|
|
|
125
125
|
declare const Footer: FC<FooterReturns & FooterProps>;
|
|
126
126
|
|
|
@@ -146,7 +146,7 @@ type SideBarProps = {
|
|
|
146
146
|
};
|
|
147
147
|
declare const SideBar: react__default.FC<SideBarProps>;
|
|
148
148
|
|
|
149
|
-
declare const SideNavbarWidget:
|
|
149
|
+
declare const SideNavbarWidget: react__default.FC<Partial<SideBarProps>>;
|
|
150
150
|
|
|
151
151
|
type RouteOption = {
|
|
152
152
|
href: string;
|
|
@@ -220,7 +220,7 @@ type ScaffoldProps = {
|
|
|
220
220
|
bottomNav?: string;
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
-
declare const Scaffold:
|
|
223
|
+
declare const Scaffold: react__default.FC<PropsWithChildren<ScaffoldProps>>;
|
|
224
224
|
|
|
225
225
|
type BottomNavProps = {
|
|
226
226
|
mainMenus?: BottomNavItem[];
|
|
@@ -307,7 +307,7 @@ type MainNavWidgetProps = {
|
|
|
307
307
|
scanQRCode?: ReactNode;
|
|
308
308
|
}) => ReactNode;
|
|
309
309
|
};
|
|
310
|
-
declare const MainNavWidget:
|
|
310
|
+
declare const MainNavWidget: react__default.FC<PropsWithChildren<MainNavWidgetProps>>;
|
|
311
311
|
|
|
312
312
|
type MainNavMobileProps = {
|
|
313
313
|
current?: string;
|
|
@@ -478,7 +478,7 @@ declare const LanguageSwitcherWidget: (props: LanguageSwitcherWidgetProps) => re
|
|
|
478
478
|
type LanguageSwitcherProps = LanguageSwitcherScriptReturn;
|
|
479
479
|
declare const LanguageSwitcher: FC<LanguageSwitcherProps>;
|
|
480
480
|
|
|
481
|
-
declare const ScanQRCodeWidget:
|
|
481
|
+
declare const ScanQRCodeWidget: react__default.FC;
|
|
482
482
|
|
|
483
483
|
type UseScanQRCodeScriptReturn = ReturnType<typeof useScanQRCodeScript>;
|
|
484
484
|
declare const useScanQRCodeScript: () => {
|