@delightui/components 0.1.9 → 0.1.10
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/cjs/App.d.ts +1 -1
- package/dist/cjs/components/molecules/Nav/NavLink/NavLink.types.d.ts +2 -1
- package/dist/cjs/components/molecules/TabItem/TabItem.types.d.ts +7 -3
- package/dist/cjs/library.css +25175 -6340
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/App.d.ts +1 -1
- package/dist/esm/components/molecules/Nav/NavLink/NavLink.types.d.ts +2 -1
- package/dist/esm/components/molecules/TabItem/TabItem.types.d.ts +7 -3
- package/dist/esm/library.css +25175 -6340
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1037,7 +1037,7 @@ type NavItemProps = LiHTMLAttributes<HTMLElement> & {};
|
|
|
1037
1037
|
|
|
1038
1038
|
declare const NavItem: (props: NavItemProps) => React$1.JSX.Element;
|
|
1039
1039
|
|
|
1040
|
-
type NavLinkProps = Omit<LinkProps, 'to'> & {
|
|
1040
|
+
type NavLinkProps = Omit<LinkProps, 'to'> & Pick<ButtonProps, 'size' | 'style' | 'type'> & {
|
|
1041
1041
|
/**
|
|
1042
1042
|
* The destination URL or path for the navigation link.
|
|
1043
1043
|
* If the URL starts with "https", it will be treated as an external link and rendered as an <a> tag.
|
|
@@ -1279,7 +1279,7 @@ interface TabContentProps {
|
|
|
1279
1279
|
|
|
1280
1280
|
declare const TabContent: (props: TabContentProps) => React$1.JSX.Element | null;
|
|
1281
1281
|
|
|
1282
|
-
|
|
1282
|
+
type TabItemProps = Omit<HTMLAttributes<HTMLButtonElement>, 'style'> & {
|
|
1283
1283
|
/**
|
|
1284
1284
|
* The tabs value.
|
|
1285
1285
|
* @remarks
|
|
@@ -1296,7 +1296,11 @@ interface TabItemProps extends ButtonProps {
|
|
|
1296
1296
|
* True means that this tab will be displayed initially
|
|
1297
1297
|
*/
|
|
1298
1298
|
defaultTab?: boolean;
|
|
1299
|
-
|
|
1299
|
+
/**
|
|
1300
|
+
* Click event handler for the button.
|
|
1301
|
+
*/
|
|
1302
|
+
onClick?: (event?: MouseEvent<HTMLElement>) => void;
|
|
1303
|
+
};
|
|
1300
1304
|
|
|
1301
1305
|
declare const TabItem: (props: TabItemProps) => React$1.JSX.Element;
|
|
1302
1306
|
|