@momo-webplatform/mobase 0.2.18 → 0.2.19
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/index.cjs +17 -13
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +10 -2
- package/dist/esm/index.d.ts +10 -2
- package/dist/esm/index.js +19 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
3
3
|
import { AccordionSingleProps, AccordionMultipleProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps } from '@radix-ui/react-accordion';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
@@ -454,9 +454,17 @@ interface HeaderNavigationProps {
|
|
|
454
454
|
* Service info
|
|
455
455
|
*/
|
|
456
456
|
serviceInfo: ServiceInfo;
|
|
457
|
+
/**
|
|
458
|
+
* Right Navigation
|
|
459
|
+
*/
|
|
460
|
+
navigationRight?: ReactElement;
|
|
461
|
+
/**
|
|
462
|
+
* Has Download App
|
|
463
|
+
*/
|
|
464
|
+
hasDownloadApp?: Boolean;
|
|
457
465
|
}
|
|
458
466
|
declare const HeaderNavigation: {
|
|
459
|
-
({ className, dataMenu, serviceInfo }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
|
|
467
|
+
({ className, dataMenu, serviceInfo, hasDownloadApp, navigationRight }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
|
|
460
468
|
displayName: string;
|
|
461
469
|
};
|
|
462
470
|
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
3
3
|
import { AccordionSingleProps, AccordionMultipleProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps } from '@radix-ui/react-accordion';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -454,9 +454,17 @@ interface HeaderNavigationProps {
|
|
|
454
454
|
* Service info
|
|
455
455
|
*/
|
|
456
456
|
serviceInfo: ServiceInfo;
|
|
457
|
+
/**
|
|
458
|
+
* Right Navigation
|
|
459
|
+
*/
|
|
460
|
+
navigationRight?: ReactElement;
|
|
461
|
+
/**
|
|
462
|
+
* Has Download App
|
|
463
|
+
*/
|
|
464
|
+
hasDownloadApp?: Boolean;
|
|
457
465
|
}
|
|
458
466
|
declare const HeaderNavigation: {
|
|
459
|
-
({ className, dataMenu, serviceInfo }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
|
|
467
|
+
({ className, dataMenu, serviceInfo, hasDownloadApp, navigationRight }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
|
|
460
468
|
displayName: string;
|
|
461
469
|
};
|
|
462
470
|
|