elseware-ui 2.3.0 → 2.4.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/build/components/data-display/video/youtube-video-player/YoutubeVideoPlayer.d.ts +1 -3
- package/build/components/navigation/header-nav/HeaderNavItem.d.ts +1 -1
- package/build/components/navigation/header-nav/HeaderNavItemTitle.d.ts +1 -1
- package/build/components/navigation/menu/MenuGroup.d.ts +1 -1
- package/build/components/navigation/menu/MenuItem.d.ts +1 -1
- package/build/components/navigation/menu/MenuItemTitle.d.ts +1 -1
- package/build/components/surfaces/accordion/Accordion.d.ts +2 -1
- package/build/index.es.js +129 -114
- package/build/index.js +129 -114
- package/package.json +1 -1
- package/build/components/data-display/typography/link/Link.d.ts +0 -13
- package/build/components/general/header-navbar/HeaderNavbar.d.ts +0 -9
- package/build/components/general/sidebar/SidebarToggler.d.ts +0 -5
- package/build/components/layout/layout/Sider.d.ts +0 -9
- package/build/utils/hooks/components/useSider.d.ts +0 -7
- package/build/utils/useClickOutside.d.ts +0 -5
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/// <reference types="@types/react" />
|
|
2
|
-
import React from "react";
|
|
3
1
|
interface YoutubeVideoPlayerProps {
|
|
4
2
|
videoUrl: string;
|
|
5
3
|
width?: number;
|
|
6
4
|
height?: number;
|
|
7
5
|
}
|
|
8
|
-
declare
|
|
6
|
+
declare function YoutubeVideoPlayer({ videoUrl, width, height, }: YoutubeVideoPlayerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
7
|
export default YoutubeVideoPlayer;
|
|
@@ -9,4 +9,4 @@ export interface HeaderNavItemProps {
|
|
|
9
9
|
onClick?: () => void;
|
|
10
10
|
styles?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles }: HeaderNavItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles, }: HeaderNavItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface HeaderNavItemTitleProps {
|
|
|
7
7
|
badge?: React.ReactNode;
|
|
8
8
|
styles?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles }: HeaderNavItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles, }: HeaderNavItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export interface MenuGroupProps {
|
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
styles?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const MenuGroup: ({ icon, name, badge, to, styles, children }: MenuGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const MenuGroup: ({ icon, name, badge, to, styles, children, }: MenuGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export interface MenuItemProps {
|
|
|
14
14
|
onClick?: () => void;
|
|
15
15
|
styles?: string;
|
|
16
16
|
}
|
|
17
|
-
export declare const MenuItem: ({ icon, name, badge, to, onClick, styles }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const MenuItem: ({ icon, name, badge, to, onClick, styles, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface MenuItemTitleProps {
|
|
|
6
6
|
badge?: React.ReactNode;
|
|
7
7
|
styles?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const MenuItemTitle: ({ icon, name, badge, styles }: MenuItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const MenuItemTitle: ({ icon, name, badge, styles, }: MenuItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,6 +6,7 @@ export interface AccordionProps {
|
|
|
6
6
|
expandIcon?: ReactNode;
|
|
7
7
|
collapseIcon?: ReactNode;
|
|
8
8
|
defaultCollapse?: boolean;
|
|
9
|
+
toggleOnSummaryClick?: boolean;
|
|
9
10
|
}
|
|
10
|
-
declare function Accordion({ summary, expandIcon, collapseIcon, children, defaultCollapse, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function Accordion({ summary, expandIcon, collapseIcon, children, defaultCollapse, toggleOnSummaryClick, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export default Accordion;
|