react-frontend-common-components 0.0.50 → 0.0.52
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.ts +3 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/app-image-box/app-image-box.tsx +4 -2
- package/src/components/app-modal/app-modal.css +0 -1
- package/src/components/app-sidebar/app-sidebar.tsx +14 -3
package/dist/index.d.ts
CHANGED
@@ -45,6 +45,7 @@ declare const AppButton: ({ type, size, className, handleClick, icon, text, disa
|
|
45
45
|
|
46
46
|
interface SidebarProps {
|
47
47
|
links: {
|
48
|
+
onClick: (() => void) | undefined;
|
48
49
|
label: string;
|
49
50
|
path: string;
|
50
51
|
icon: React$1.ReactNode;
|
@@ -139,8 +140,9 @@ interface AppImageBoxProps {
|
|
139
140
|
text?: string;
|
140
141
|
image: ImageType;
|
141
142
|
className?: string;
|
143
|
+
handleClick?: MouseEventHandler<HTMLElement>;
|
142
144
|
}
|
143
|
-
declare const AppImageBox: ({ width, height, text, image, className, }: AppImageBoxProps) => react_jsx_runtime.JSX.Element;
|
145
|
+
declare const AppImageBox: ({ width, height, text, image, className, handleClick, }: AppImageBoxProps) => react_jsx_runtime.JSX.Element;
|
144
146
|
|
145
147
|
interface AppAvatarProps extends AvatarProps {
|
146
148
|
fallbackIcon?: React$1.ReactNode;
|