@hhgtech/hhg-components 1.20.18 → 1.20.20
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/organisms/navigationProfileButton/index.d.ts +3 -2
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +3 -2
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +1 -0
- package/build/components/organisms/userProfileNavigation/index.d.ts +3 -2
- package/build/components.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{index-ebb97544.js → index-531e1c32.js} +1 -1
- package/build/esm/{index-1e2a2588.js → index-778e68d4.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/{index-abaa6a66.js → index-1e0e049a.js} +1 -1
- package/build/{index-143c02dc.js → index-e05c1de0.js} +1 -1
- package/build/index.js +1 -1
- package/build/navigation.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { SiteType, UserInfo } from 'src/interfaces/types';
|
|
2
|
+
import { LOCALE, SiteType, UserInfo } from 'src/interfaces/types';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
userInfo: UserInfo;
|
|
5
5
|
siteType: SiteType;
|
|
@@ -19,5 +19,6 @@ export declare type Props = {
|
|
|
19
19
|
style?: CSSProperties;
|
|
20
20
|
userProfileRouterPush?: (s: string) => void;
|
|
21
21
|
isLoading?: boolean;
|
|
22
|
+
locale: LOCALE;
|
|
22
23
|
};
|
|
23
|
-
export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, isLoading, }: Props) => JSX.Element;
|
|
24
|
+
export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, isLoading, locale, }: Props) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { UserInfo } from 'interfaces/types';
|
|
2
|
+
import { LOCALE, UserInfo } from 'interfaces/types';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
SSO_URL?: string;
|
|
5
5
|
UP_BASEPATH?: string;
|
|
@@ -16,6 +16,7 @@ export declare type Props = {
|
|
|
16
16
|
isUserProfileNavigatorMenuHidden?: boolean;
|
|
17
17
|
isMyHealthEnabled?: boolean;
|
|
18
18
|
togetherApiDomain?: string;
|
|
19
|
+
locale: LOCALE;
|
|
19
20
|
};
|
|
20
|
-
declare const ProfilePopup: ({ SSO_URL, UP_BASEPATH, isOpen, targetAvatar, userInfo, enableCare, enableTogether, enableEcom, closePopup, siteType, dispatchLogout, userProfileRouterPush, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, togetherApiDomain, }: Props) => JSX.Element;
|
|
21
|
+
declare const ProfilePopup: ({ SSO_URL, UP_BASEPATH, isOpen, targetAvatar, userInfo, enableCare, enableTogether, enableEcom, closePopup, siteType, dispatchLogout, userProfileRouterPush, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, togetherApiDomain, locale, }: Props) => JSX.Element;
|
|
21
22
|
export { ProfilePopup };
|
|
@@ -5,3 +5,4 @@ export declare const StyledTitle: import("styled-components").StyledComponent<"p
|
|
|
5
5
|
export declare const StyledDes: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
6
|
export declare const StyledContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export declare const StyledContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const StyledWrapName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LocaleType } from 'interfaces/types';
|
|
2
|
+
import { LOCALE, LocaleType } from 'interfaces/types';
|
|
3
3
|
import { UserInfo } from '../navigationLayout/types';
|
|
4
4
|
import { NavHeader } from './navHeader';
|
|
5
5
|
import { UserProfileMenuCard, UserProfileTheme } from './types';
|
|
@@ -28,6 +28,7 @@ export declare type UserProfileNavigationProps = {
|
|
|
28
28
|
ENABLE_COMMUNITY_PROFILE_MENU_LOCALES?: LocaleType[];
|
|
29
29
|
ENABLE_ECOM_PROFILE_MENU_LOCALES?: LocaleType[];
|
|
30
30
|
userProfileRouterPush?: (s: string) => void;
|
|
31
|
+
locale: LOCALE;
|
|
31
32
|
};
|
|
32
|
-
declare const UserProfileNavigation: ({ SSO_URL, UP_BASEPATH, themeName, cardUrls, enableCare, enableTogether, enableEcom, userInfo, togetherApiDomain, userPostsNumber, onClickNavigationCard, onClickMyProfileButton, onClickMenuItem, onClickLogout, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, }: UserProfileNavigationProps) => JSX.Element;
|
|
33
|
+
declare const UserProfileNavigation: ({ SSO_URL, UP_BASEPATH, themeName, cardUrls, enableCare, enableTogether, enableEcom, userInfo, togetherApiDomain, userPostsNumber, onClickNavigationCard, onClickMyProfileButton, onClickMenuItem, onClickLogout, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, locale, }: UserProfileNavigationProps) => JSX.Element;
|
|
33
34
|
export { UserProfileNavigation, NavHeader as UserProfileNavigationHeader, UserStats as UserProfileNavigationStats, };
|
package/build/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-1e0e049a.js"),r=require("./index-3474408b.js"),o=require("./index-b71b4420.js"),t=require("./index-94e56980.js"),a=require("./index-e05c1de0.js"),i=require("./index-e6f9ac7f.js"),s=require("./index.styled-af1f423b.js"),n=require("./index-389edd10.js"),p=require("./index.styled-a613a33c.js");require("react"),require("./tslib.es6-f7929e76.js"),require("./useTranslations-9e64b19e.js"),require("styled-components"),require("./translationsContext-e97f3b58.js"),require("string-format"),require("react-range"),require("./theme-fe7c279c.js"),require("react-id-generator"),require("date-fns"),require("react-day-picker/DayPickerInput"),require("lodash"),require("keen-slider/react"),require("react-dom"),require("./constants-ea7b35a2.js"),require("./useOutsideClick-528bfd6c.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./lazyLoad-0454885d.js"),require("vanilla-lazyload"),require("lodash/debounce"),require("react-loading-skeleton"),require("./translationsProvider-e3bdfdcc.js"),require("./cookieHelper-612b90fa.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("slugify"),require("./core-8fcc56eb.js"),require("smoothscroll-polyfill"),require("./routing-9fbc897b.js"),require("./useScrollbarSize-586f6706.js"),exports.Alert=e.Alert,exports.AmpNextPage=e.AmpNextPage,exports.ArticleCard=e.ArticleCard,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DatePicker=e.DatePicker,exports.DateRangePicker=e.DateRangePicker,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Footer=e.Footer,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.Layout=e.Layout,exports.NavigationBar=e.NavigationBar,exports.NavigationLayout=e.NavigationLayout,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.SiteWide=e.SiteWide,exports.Slider=e.Slider,exports.StatisticCard=e.StatisticCard,exports.StickySponsoredBy=e.StickySponsoredBy,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Popup=r.Popup,exports.Button=o.Button,exports.Heading=o.Heading,exports.Divider=t.Divider,exports.Dropdown=t.Dropdown,exports.DoctorInfo=a.DoctorInfo,exports.Flag=a.Flag,exports.LanguageSwitcher=a.LanguageSwitcher,exports.MobileBottomNavigation=a.MobileBottomNavigation,exports.MobileBottomNavigationIcon=a.MobileBottomNavigationIcon,exports.NavigationLogoutPopup=a.NavigationLogoutPopup,exports.NavigationProfileButton=a.NavigationProfileButton,exports.NavigationV2=a.NavigationV2,exports.ProfilePopup=a.ProfilePopup,exports.Radio=a.Radio,exports.RadioGroup=a.RadioGroup,exports.ScrollList=a.ScrollList,exports.SurveyQuestionCard=a.SurveyQuestionCard,exports.UserProfileNavigation=a.UserProfileNavigation,exports.UserProfileNavigationHeader=a.NavHeader,exports.UserProfileNavigationStats=a.UserStats,exports.defaultTranslation=a.defaultTranslation,exports.getNavMenuContent=a.getNavMenuContent,exports.getNavMenuContentWithCache=a.getNavMenuContentWithCache,exports.Input=i.Input,exports.Container=s.Container,exports.Label=s.Label,exports.Logo=s.Logo,exports.Menu=s.Menu,exports.PureInput=s.PureInput,exports.Text=s.Text,exports.TextArea=s.TextArea,exports.TextDivider=s.TextDivider,exports.Icon=n.Icon,exports.Modal=n.Modal,exports.RadioImageGroup=n.RadioImageGroup,exports.Drawer=p.Drawer;
|
package/build/esm/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as Alert,t as AmpNextPage,f as ArticleCard,B as Badge,a as BorderHeading,g as Breadcrumbs,l as Carousel,h as CategoryCard,C as Checkbox,i as CheckboxGroup,r as CookieAcceptConfirm,D as DatePicker,u as DateRangePicker,F as FileDropdown,q as FloatButtonGroup,E as Footer,G as Grid,I as IconText,L as Layout,y as NavigationBar,N as NavigationLayout,P as Pagination,e as Progress,j as ProgressBar,R as RateStars,s as SeoHead,S as Shadow,v as ShareContainer,w as ShareDrawer,k as SideMenu,x as SiteWide,b as Slider,m as StatisticCard,z as StickySponsoredBy,p as SurveyThankyouCard,n as Table,o as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-
|
|
1
|
+
export{A as Alert,t as AmpNextPage,f as ArticleCard,B as Badge,a as BorderHeading,g as Breadcrumbs,l as Carousel,h as CategoryCard,C as Checkbox,i as CheckboxGroup,r as CookieAcceptConfirm,D as DatePicker,u as DateRangePicker,F as FileDropdown,q as FloatButtonGroup,E as Footer,G as Grid,I as IconText,L as Layout,y as NavigationBar,N as NavigationLayout,P as Pagination,e as Progress,j as ProgressBar,R as RateStars,s as SeoHead,S as Shadow,v as ShareContainer,w as ShareDrawer,k as SideMenu,x as SiteWide,b as Slider,m as StatisticCard,z as StickySponsoredBy,p as SurveyThankyouCard,n as Table,o as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-778e68d4.js";export{A as Avatar,P as Popup}from"./index-73638a82.js";export{B as Button,H as Heading}from"./index-9ee79492.js";export{D as Divider,a as Dropdown}from"./index-f92f5049.js";export{D as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,c as MobileBottomNavigationIcon,i as NavigationLogoutPopup,j as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,R as Radio,a as RadioGroup,S as ScrollList,b as SurveyQuestionCard,U as UserProfileNavigation,f as UserProfileNavigationHeader,h as UserProfileNavigationStats,e as defaultTranslation,g as getNavMenuContent,d as getNavMenuContentWithCache}from"./index-531e1c32.js";export{I as Input}from"./index-38ea4462.js";export{C as Container,L as Label,a as Logo,M as Menu,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./index.styled-df180c76.js";export{I as Icon,M as Modal,R as RadioImageGroup}from"./index-613a8df5.js";export{D as Drawer}from"./index.styled-ecba7a5d.js";import"react";import"./tslib.es6-6ae0d506.js";import"./useTranslations-e61cf3ed.js";import"styled-components";import"./translationsContext-65bea19b.js";import"string-format";import"react-range";import"./theme-82709ce4.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"lodash";import"keen-slider/react";import"react-dom";import"./constants-dc22740c.js";import"./useOutsideClick-6004483a.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./lazyLoad-d80d3fd1.js";import"vanilla-lazyload";import"lodash/debounce";import"react-loading-skeleton";import"./translationsProvider-b1af0026.js";import"./cookieHelper-0e8521c3.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"slugify";import"./core-286f158c.js";import"smoothscroll-polyfill";import"./routing-f63546d5.js";import"./useScrollbarSize-99db33e1.js";
|