@hhgtech/hhg-components 1.18.78 → 1.18.80

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.
Files changed (32) hide show
  1. package/build/components/molecules/articleCard/index.d.ts +2 -1
  2. package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
  3. package/build/components/organisms/navigationV2/index.d.ts +1 -0
  4. package/build/components.js +1 -1
  5. package/build/esm/components/molecules/articleCard/index.d.ts +2 -1
  6. package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
  7. package/build/esm/components/organisms/navigationV2/index.d.ts +1 -0
  8. package/build/esm/components.js +1 -1
  9. package/build/esm/i18n.js +1 -1
  10. package/build/esm/{index-76197a9f.js → index-2153d0cf.js} +2 -2
  11. package/build/esm/{index-76197a9f.js.map → index-2153d0cf.js.map} +1 -1
  12. package/build/esm/index-ac188516.js +2 -0
  13. package/build/esm/index-ac188516.js.map +1 -0
  14. package/build/esm/index.js +1 -1
  15. package/build/esm/navigation.js +1 -1
  16. package/build/esm/translationsProvider-a15863c9.js +2 -0
  17. package/build/esm/{translationsProvider-f28d870f.js.map → translationsProvider-a15863c9.js.map} +1 -1
  18. package/build/i18n.js +1 -1
  19. package/build/{index-f179ca25.js → index-302b81e6.js} +2 -2
  20. package/build/{index-f179ca25.js.map → index-302b81e6.js.map} +1 -1
  21. package/build/{index-443d9fcf.js → index-35b524e6.js} +2 -2
  22. package/build/index-35b524e6.js.map +1 -0
  23. package/build/index.js +1 -1
  24. package/build/navigation.js +1 -1
  25. package/build/translationsProvider-eb4d9fd6.js +2 -0
  26. package/build/{translationsProvider-6123686d.js.map → translationsProvider-eb4d9fd6.js.map} +1 -1
  27. package/package.json +1 -1
  28. package/build/esm/index-626ebf85.js +0 -2
  29. package/build/esm/index-626ebf85.js.map +0 -1
  30. package/build/esm/translationsProvider-f28d870f.js +0 -2
  31. package/build/index-443d9fcf.js.map +0 -1
  32. package/build/translationsProvider-6123686d.js +0 -2
@@ -41,6 +41,7 @@ export declare type Props = {
41
41
  dataEventActionForBookmark?: string;
42
42
  dataEventLabelForBookmark?: string;
43
43
  onClickCategoryName?: (e: React.MouseEvent) => void;
44
+ articleLinkTarget?: React.HTMLAttributeAnchorTarget;
44
45
  };
45
- declare const ArticleCard: ({ articleLink, authorLink, authorName, avatarImg, banner, categoryLink, categoryName, className, dataEventActionForBanner, dataEventActionForBookmark, dataEventActionForCategory, dataEventActionForTitle, dataEventCategoryForBanner, dataEventCategoryForBookmark, dataEventCategoryForCategory, dataEventCategoryForTitle, dataEventLabelForBanner, dataEventLabelForBookmark, dataEventLabelForCategory, dataEventLabelForTitle, direction, hasAffiliate, isBookmark, isBookmarkDisplayed, isMobile, onBookmark, onClickCategoryName, section, size, specialty, style, styleBanner, styleLabel, styleTitle, text, title, type, uploadTime, }: Props) => JSX.Element;
46
+ declare const ArticleCard: ({ articleLink, authorLink, authorName, avatarImg, banner, categoryLink, categoryName, className, dataEventActionForBanner, dataEventActionForBookmark, dataEventActionForCategory, dataEventActionForTitle, dataEventCategoryForBanner, dataEventCategoryForBookmark, dataEventCategoryForCategory, dataEventCategoryForTitle, dataEventLabelForBanner, dataEventLabelForBookmark, dataEventLabelForCategory, dataEventLabelForTitle, direction, hasAffiliate, isBookmark, isBookmarkDisplayed, isMobile, onBookmark, onClickCategoryName, section, size, specialty, style, styleBanner, styleLabel, styleTitle, text, title, type, uploadTime, articleLinkTarget, }: Props) => JSX.Element;
46
47
  export { ArticleCard };
@@ -18,5 +18,6 @@ export declare type Props = {
18
18
  onLogout?: () => void;
19
19
  style?: CSSProperties;
20
20
  userProfileRouterPush?: (s: string) => void;
21
+ isLoading?: boolean;
21
22
  };
22
- export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, }: Props) => JSX.Element;
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;
@@ -52,6 +52,7 @@ export declare type Props = {
52
52
  currentUrl?: string;
53
53
  isFirstLogin?: boolean;
54
54
  userProfileRouterPush?: (s: string) => void;
55
+ isUserLoading?: boolean;
55
56
  };
56
57
  declare const NavigationV2: (props: Props) => JSX.Element;
57
58
  export declare const getNavMenuContent: (locale: any) => Promise<NavMenuContentType>;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-443d9fcf.js"),r=require("./index.styled-52495b2b.js"),o=require("./index-83861d2f.js"),t=require("./index-f179ca25.js"),a=require("./cookieHelper-ad9f483b.js");require("react"),require("./tslib.es6-f7929e76.js"),require("./useTranslations-29326df5.js"),require("styled-components"),require("./translationsContext-351bc1a7.js"),require("react-range"),require("./theme-79e84625.js"),require("react-id-generator"),require("date-fns"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-586f6706.js"),require("lodash/debounce"),require("react-dom"),require("lodash"),require("./constants-ea7b35a2.js"),require("react-loading-skeleton"),require("./translationsProvider-6123686d.js"),require("date-fns/locale/en-US"),require("date-fns/locale/hi"),require("date-fns/locale/id"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./core-8fcc56eb.js"),require("smoothscroll-polyfill"),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.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Footer=e.Footer,exports.Grid=e.Grid,exports.Icon=e.Icon,exports.IconText=e.IconText,exports.Layout=e.Layout,exports.Modal=e.Modal,exports.NavigationBar=e.NavigationBar,exports.NavigationLayout=e.NavigationLayout,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.Radio=e.Radio,exports.RadioGroup=e.RadioGroup,exports.RateStars=e.RateStars,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,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.Button=r.Button,exports.Heading=r.Heading,exports.Popup=r.Popup,exports.Divider=o.Divider,exports.Dropdown=o.Dropdown,exports.DoctorInfo=t.DoctorInfo,exports.Flag=t.Flag,exports.LanguageSwitcher=t.LanguageSwitcher,exports.MobileBottomNavigation=t.MobileBottomNavigation,exports.MobileBottomNavigationIcon=t.MobileBottomNavigationIcon,exports.NavigationLogoutPopup=t.NavigationLogoutPopup,exports.NavigationProfileButton=t.NavigationProfileButton,exports.NavigationV2=t.NavigationV2,exports.ProfilePopup=t.ProfilePopup,exports.ScrollList=t.ScrollList,exports.SurveyQuestionCard=t.SurveyQuestionCard,exports.UserProfileNavigation=t.UserProfileNavigation,exports.UserProfileNavigationHeader=t.NavHeader,exports.UserProfileNavigationStats=t.UserStats,exports.defaultTranslation=t.defaultTranslation,exports.getNavMenuContent=t.getNavMenuContent,exports.getNavMenuContentWithCache=t.getNavMenuContentWithCache,exports.Container=a.Container,exports.Input=a.Input,exports.Label=a.Label,exports.Logo=a.Logo,exports.PureInput=a.PureInput,exports.Text=a.Text,exports.TextArea=a.TextArea,exports.TextDivider=a.TextDivider;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-35b524e6.js"),r=require("./index.styled-52495b2b.js"),o=require("./index-83861d2f.js"),t=require("./index-302b81e6.js"),a=require("./cookieHelper-ad9f483b.js");require("react"),require("./tslib.es6-f7929e76.js"),require("./useTranslations-29326df5.js"),require("styled-components"),require("./translationsContext-351bc1a7.js"),require("react-range"),require("./theme-79e84625.js"),require("react-id-generator"),require("date-fns"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-586f6706.js"),require("lodash/debounce"),require("react-dom"),require("lodash"),require("./constants-ea7b35a2.js"),require("react-loading-skeleton"),require("./translationsProvider-eb4d9fd6.js"),require("date-fns/locale/en-US"),require("date-fns/locale/hi"),require("date-fns/locale/id"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./core-8fcc56eb.js"),require("smoothscroll-polyfill"),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.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Footer=e.Footer,exports.Grid=e.Grid,exports.Icon=e.Icon,exports.IconText=e.IconText,exports.Layout=e.Layout,exports.Modal=e.Modal,exports.NavigationBar=e.NavigationBar,exports.NavigationLayout=e.NavigationLayout,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.Radio=e.Radio,exports.RadioGroup=e.RadioGroup,exports.RateStars=e.RateStars,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,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.Button=r.Button,exports.Heading=r.Heading,exports.Popup=r.Popup,exports.Divider=o.Divider,exports.Dropdown=o.Dropdown,exports.DoctorInfo=t.DoctorInfo,exports.Flag=t.Flag,exports.LanguageSwitcher=t.LanguageSwitcher,exports.MobileBottomNavigation=t.MobileBottomNavigation,exports.MobileBottomNavigationIcon=t.MobileBottomNavigationIcon,exports.NavigationLogoutPopup=t.NavigationLogoutPopup,exports.NavigationProfileButton=t.NavigationProfileButton,exports.NavigationV2=t.NavigationV2,exports.ProfilePopup=t.ProfilePopup,exports.ScrollList=t.ScrollList,exports.SurveyQuestionCard=t.SurveyQuestionCard,exports.UserProfileNavigation=t.UserProfileNavigation,exports.UserProfileNavigationHeader=t.NavHeader,exports.UserProfileNavigationStats=t.UserStats,exports.defaultTranslation=t.defaultTranslation,exports.getNavMenuContent=t.getNavMenuContent,exports.getNavMenuContentWithCache=t.getNavMenuContentWithCache,exports.Container=a.Container,exports.Input=a.Input,exports.Label=a.Label,exports.Logo=a.Logo,exports.PureInput=a.PureInput,exports.Text=a.Text,exports.TextArea=a.TextArea,exports.TextDivider=a.TextDivider;
2
2
  //# sourceMappingURL=components.js.map
@@ -41,6 +41,7 @@ export declare type Props = {
41
41
  dataEventActionForBookmark?: string;
42
42
  dataEventLabelForBookmark?: string;
43
43
  onClickCategoryName?: (e: React.MouseEvent) => void;
44
+ articleLinkTarget?: React.HTMLAttributeAnchorTarget;
44
45
  };
45
- declare const ArticleCard: ({ articleLink, authorLink, authorName, avatarImg, banner, categoryLink, categoryName, className, dataEventActionForBanner, dataEventActionForBookmark, dataEventActionForCategory, dataEventActionForTitle, dataEventCategoryForBanner, dataEventCategoryForBookmark, dataEventCategoryForCategory, dataEventCategoryForTitle, dataEventLabelForBanner, dataEventLabelForBookmark, dataEventLabelForCategory, dataEventLabelForTitle, direction, hasAffiliate, isBookmark, isBookmarkDisplayed, isMobile, onBookmark, onClickCategoryName, section, size, specialty, style, styleBanner, styleLabel, styleTitle, text, title, type, uploadTime, }: Props) => JSX.Element;
46
+ declare const ArticleCard: ({ articleLink, authorLink, authorName, avatarImg, banner, categoryLink, categoryName, className, dataEventActionForBanner, dataEventActionForBookmark, dataEventActionForCategory, dataEventActionForTitle, dataEventCategoryForBanner, dataEventCategoryForBookmark, dataEventCategoryForCategory, dataEventCategoryForTitle, dataEventLabelForBanner, dataEventLabelForBookmark, dataEventLabelForCategory, dataEventLabelForTitle, direction, hasAffiliate, isBookmark, isBookmarkDisplayed, isMobile, onBookmark, onClickCategoryName, section, size, specialty, style, styleBanner, styleLabel, styleTitle, text, title, type, uploadTime, articleLinkTarget, }: Props) => JSX.Element;
46
47
  export { ArticleCard };
@@ -18,5 +18,6 @@ export declare type Props = {
18
18
  onLogout?: () => void;
19
19
  style?: CSSProperties;
20
20
  userProfileRouterPush?: (s: string) => void;
21
+ isLoading?: boolean;
21
22
  };
22
- export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, }: Props) => JSX.Element;
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;
@@ -52,6 +52,7 @@ export declare type Props = {
52
52
  currentUrl?: string;
53
53
  isFirstLogin?: boolean;
54
54
  userProfileRouterPush?: (s: string) => void;
55
+ isUserLoading?: boolean;
55
56
  };
56
57
  declare const NavigationV2: (props: Props) => JSX.Element;
57
58
  export declare const getNavMenuContent: (locale: any) => Promise<NavMenuContentType>;
@@ -1,2 +1,2 @@
1
- export{A as Alert,w as AmpNextPage,g as ArticleCard,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,u as CookieAcceptConfirm,D as DatePicker,F as FileDropdown,t as FloatButtonGroup,E as Footer,G as Grid,I as Icon,k as IconText,L as Layout,M as Modal,y as NavigationBar,N as NavigationLayout,P as Pagination,f as Progress,l as ProgressBar,R as Radio,m as RadioGroup,e as RateStars,v as SeoHead,S as Shadow,n as SideMenu,x as SiteWide,b as Slider,p as StatisticCard,z as StickySponsoredBy,s as SurveyThankyouCard,q as Table,r as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-626ebf85.js";export{A as Avatar,B as Button,H as Heading,P as Popup}from"./index.styled-b2d0d822.js";export{D as Divider,a as Dropdown}from"./index-0158922a.js";export{D as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,b as MobileBottomNavigationIcon,h as NavigationLogoutPopup,i as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,S as ScrollList,a as SurveyQuestionCard,U as UserProfileNavigation,e as UserProfileNavigationHeader,f as UserProfileNavigationStats,d as defaultTranslation,g as getNavMenuContent,c as getNavMenuContentWithCache}from"./index-76197a9f.js";export{C as Container,I as Input,L as Label,a as Logo,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./cookieHelper-f562a7b9.js";import"react";import"./tslib.es6-fd0a5c98.js";import"./useTranslations-0c13f2cb.js";import"styled-components";import"./translationsContext-b0b4655d.js";import"react-range";import"./theme-d85b3a33.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-99db33e1.js";import"lodash/debounce";import"react-dom";import"lodash";import"./constants-dc22740c.js";import"react-loading-skeleton";import"./translationsProvider-f28d870f.js";import"date-fns/locale/en-US";import"date-fns/locale/hi";import"date-fns/locale/id";import"date-fns/locale/ms";import"date-fns/locale/th";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./core-3d8a3f90.js";import"smoothscroll-polyfill";
1
+ export{A as Alert,w as AmpNextPage,g as ArticleCard,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,u as CookieAcceptConfirm,D as DatePicker,F as FileDropdown,t as FloatButtonGroup,E as Footer,G as Grid,I as Icon,k as IconText,L as Layout,M as Modal,y as NavigationBar,N as NavigationLayout,P as Pagination,f as Progress,l as ProgressBar,R as Radio,m as RadioGroup,e as RateStars,v as SeoHead,S as Shadow,n as SideMenu,x as SiteWide,b as Slider,p as StatisticCard,z as StickySponsoredBy,s as SurveyThankyouCard,q as Table,r as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-ac188516.js";export{A as Avatar,B as Button,H as Heading,P as Popup}from"./index.styled-b2d0d822.js";export{D as Divider,a as Dropdown}from"./index-0158922a.js";export{D as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,b as MobileBottomNavigationIcon,h as NavigationLogoutPopup,i as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,S as ScrollList,a as SurveyQuestionCard,U as UserProfileNavigation,e as UserProfileNavigationHeader,f as UserProfileNavigationStats,d as defaultTranslation,g as getNavMenuContent,c as getNavMenuContentWithCache}from"./index-2153d0cf.js";export{C as Container,I as Input,L as Label,a as Logo,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./cookieHelper-f562a7b9.js";import"react";import"./tslib.es6-fd0a5c98.js";import"./useTranslations-0c13f2cb.js";import"styled-components";import"./translationsContext-b0b4655d.js";import"react-range";import"./theme-d85b3a33.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-99db33e1.js";import"lodash/debounce";import"react-dom";import"lodash";import"./constants-dc22740c.js";import"react-loading-skeleton";import"./translationsProvider-a15863c9.js";import"date-fns/locale/en-US";import"date-fns/locale/hi";import"date-fns/locale/id";import"date-fns/locale/ms";import"date-fns/locale/th";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./core-3d8a3f90.js";import"smoothscroll-polyfill";
2
2
  //# sourceMappingURL=components.js.map
package/build/esm/i18n.js CHANGED
@@ -1,2 +1,2 @@
1
- export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-f28d870f.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-b0b4655d.js";import"./tslib.es6-fd0a5c98.js";import"react";
1
+ export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-a15863c9.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-b0b4655d.js";import"./tslib.es6-fd0a5c98.js";import"react";
2
2
  //# sourceMappingURL=i18n.js.map