@make-software/csprclick-ui 1.10.1 → 1.10.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.
- package/README.md +1 -0
- package/dist/cjs/lib/index.js +1 -1
- package/dist/cjs/lib/lib/TopBar/components/AccountCardMenuItem.d.ts +4 -1
- package/dist/index.d.ts +5 -2
- package/dist/lib/index.js +1 -1
- package/package.json +1 -1
- /package/dist/cjs/lib/assets/icons/{website-link.svg → ic-ext-link.svg} +0 -0
- /package/dist/lib/assets/icons/{website-link.svg → ic-ext-link.svg} +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export interface AccountCardMenuItemProps {
|
|
2
|
+
onViewAccountClick?: () => void;
|
|
3
|
+
}
|
|
1
4
|
export declare const AccountCardMenuItem: {
|
|
2
|
-
(): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
({ onViewAccountClick }: AccountCardMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
6
|
/**
|
|
4
7
|
We need this line, to distinguish AccountCardMenuItem as React.Node in array of React.Nodes.
|
|
5
8
|
To filter and put AccountCardMenuItem in the very top of React.Nodes array
|
package/dist/index.d.ts
CHANGED
|
@@ -489,8 +489,11 @@ declare const CopyHashMenuItem: () => react_jsx_runtime.JSX.Element;
|
|
|
489
489
|
|
|
490
490
|
declare const ViewAccountOnExplorerMenuItem: (props: any) => react_jsx_runtime.JSX.Element;
|
|
491
491
|
|
|
492
|
+
interface AccountCardMenuItemProps {
|
|
493
|
+
onViewAccountClick?: () => void;
|
|
494
|
+
}
|
|
492
495
|
declare const AccountCardMenuItem: {
|
|
493
|
-
(): react_jsx_runtime.JSX.Element;
|
|
496
|
+
({ onViewAccountClick }: AccountCardMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
494
497
|
/**
|
|
495
498
|
We need this line, to distinguish AccountCardMenuItem as React.Node in array of React.Nodes.
|
|
496
499
|
To filter and put AccountCardMenuItem in the very top of React.Nodes array
|
|
@@ -508,4 +511,4 @@ interface AccountIdenticonProps {
|
|
|
508
511
|
declare const AccountIdenticon: ({ hex, size }: AccountIdenticonProps) => react_jsx_runtime.JSX.Element;
|
|
509
512
|
|
|
510
513
|
export { AccountCardMenuItem, AccountIdenticon, AccountMenuItem, BannerLink, BuyCSPRMenuItem, CURRENCY, CUSTOM, CanvasContainer, ClickModal, ClickProvider, ClickUI, CopyHashMenuItem, CsprClickThemes, CurrencyType, DefaultThemes, LANGUAGE, Lang, MODAL_ACTIONS, NETWORK, OneClickSignInInner, SignIn, ThemeModeType, TopBar, ViewAccountOnExplorerMenuItem, buildTheme, clickStyleguide, useClickBadge, useClickRef };
|
|
511
|
-
export type { AccountMenuItemProps, BadgeBackgroundColor, BadgeProps, BuildThemeProps, Currency, CurrencySettings, CustomTopBarMenuItem, CustomTopBarMenuSettings, LanguageSettings, Network, NetworkSettings, Options, Provider, SignInSceneProps, TopBarSettings };
|
|
514
|
+
export type { AccountCardMenuItemProps, AccountMenuItemProps, BadgeBackgroundColor, BadgeProps, BuildThemeProps, Currency, CurrencySettings, CustomTopBarMenuItem, CustomTopBarMenuSettings, LanguageSettings, Network, NetworkSettings, Options, Provider, SignInSceneProps, TopBarSettings };
|