@hhgtech/hhg-components 1.21.33 → 1.21.34
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/molecules/dueDateCalculator/dueDateFormConception.d.ts +2 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +2 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +2 -1
- package/build/components/molecules/dueDateCalculator/index.d.ts +2 -1
- package/build/components/molecules/dueDateCalculator/index.styled.d.ts +0 -3
- package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +2 -1
- package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +2 -1
- package/build/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +2 -1
- package/build/components/molecules/ovulationCalculator/index.d.ts +2 -1
- package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +2 -1
- package/build/components/molecules/toolBannerCard/index.d.ts +2 -2
- package/build/components/molecules/weightGainForm/index.styled.d.ts +0 -1
- package/build/components/organisms/heroBannerHealthTool/healthToolBanner.d.ts +2 -2
- package/build/components/organisms/heroBannerHealthTool/index.d.ts +2 -3
- package/build/components.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/index-463a8401.js +1 -0
- package/build/esm/index-ab040301.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/index-3430df2d.js +1 -0
- package/build/index-d0b10781.js +1 -0
- package/build/index.js +1 -1
- package/build/navigation.js +1 -1
- package/package.json +1 -1
- package/build/esm/index-3b622315.js +0 -1
- package/build/esm/index-5452fa8b.js +0 -1
- package/build/index-8b361239.js +0 -1
- package/build/index-d2dbcaa7.js +0 -1
|
@@ -4,6 +4,7 @@ import { DueDateInfoType } from '../embeddedHeathToolCards/due-date/dueDate';
|
|
|
4
4
|
type Props = {
|
|
5
5
|
locale?: LocaleType;
|
|
6
6
|
onClick?: (info: DueDateInfoType, redirectQuery?: string) => void;
|
|
7
|
+
isSide?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const DueDateFormConception: ({ locale, onClick }: Props) => JSX.Element;
|
|
9
|
+
declare const DueDateFormConception: ({ locale, onClick, isSide }: Props) => JSX.Element;
|
|
9
10
|
export { DueDateFormConception };
|
|
@@ -4,6 +4,7 @@ import { DueDateInfoType } from '../embeddedHeathToolCards/due-date/dueDate';
|
|
|
4
4
|
type Props = {
|
|
5
5
|
locale?: LocaleType;
|
|
6
6
|
onClick?: (info: DueDateInfoType, redirectQuery?: string) => void;
|
|
7
|
+
isSide?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const DueDateFormIVF: ({ locale, onClick }: Props) => JSX.Element;
|
|
9
|
+
declare const DueDateFormIVF: ({ locale, onClick, isSide }: Props) => JSX.Element;
|
|
9
10
|
export { DueDateFormIVF };
|
|
@@ -4,6 +4,7 @@ import { DueDateInfoType } from '../embeddedHeathToolCards/due-date/dueDate';
|
|
|
4
4
|
type Props = {
|
|
5
5
|
locale?: LocaleType;
|
|
6
6
|
onClick?: (info: DueDateInfoType, redirectQuery?: string) => void;
|
|
7
|
+
isSide?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const DueDateFormLastPeriod: ({ locale, onClick }: Props) => JSX.Element;
|
|
9
|
+
declare const DueDateFormLastPeriod: ({ locale, onClick, isSide }: Props) => JSX.Element;
|
|
9
10
|
export { DueDateFormLastPeriod };
|
|
@@ -10,6 +10,7 @@ export type Props = {
|
|
|
10
10
|
onSubmitDueDate?: (info: DueDateInfoType, redirectQuery?: string) => void;
|
|
11
11
|
locale?: LocaleType;
|
|
12
12
|
controlledSubmit?: boolean;
|
|
13
|
+
isSide?: boolean;
|
|
13
14
|
};
|
|
14
|
-
declare const DueDateCalculator: ({ onSubmitDueDate, locale }: Props) => JSX.Element;
|
|
15
|
+
declare const DueDateCalculator: ({ onSubmitDueDate, locale, isSide }: Props) => JSX.Element;
|
|
15
16
|
export { DueDateCalculator };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledMethodContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
2
|
export declare const StyledMethodSwitcherContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledMethodCardWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const StyledCategoryCard: import("styled-components").StyledComponent<({ imgBanner, label, className, style, href, dataEventCategory, dataEventAction, dataEventLabel, }: import("../categoryCard").Props) => JSX.Element, any, {}, never>;
|
|
6
3
|
export declare const StyledLastPeriodFormContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
4
|
export declare const StyledScrollLinkContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
5
|
export declare const StyledImageIcon: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
@@ -46,11 +46,12 @@ export type Props = {
|
|
|
46
46
|
onSubmitDueDate?: (info: DueDateInfoType, redirectLink?: string) => void;
|
|
47
47
|
dueDatePageInfo: DueDateInfo;
|
|
48
48
|
expertUrl?: string;
|
|
49
|
+
isSide?: boolean;
|
|
49
50
|
};
|
|
50
51
|
export type DueDateInfoType = {
|
|
51
52
|
startDate: Date;
|
|
52
53
|
dueDate: Date;
|
|
53
54
|
otherInfo: OtherInfo;
|
|
54
55
|
};
|
|
55
|
-
declare const DueDateCardEmbed: ({ isMobile, locale, onSubmitDueDate, dueDatePageInfo, expertUrl, }: Props) => JSX.Element;
|
|
56
|
+
declare const DueDateCardEmbed: ({ isMobile, locale, onSubmitDueDate, dueDatePageInfo, expertUrl, isSide, }: Props) => JSX.Element;
|
|
56
57
|
export { DueDateCardEmbed };
|
|
@@ -17,6 +17,7 @@ export type Props = {
|
|
|
17
17
|
locale?: LocaleType;
|
|
18
18
|
onSubmitOvulation?: (info: OvulationInfoType) => void;
|
|
19
19
|
isMobile?: boolean;
|
|
20
|
+
isSide?: boolean;
|
|
20
21
|
};
|
|
21
22
|
export type OvulationInfoType = {
|
|
22
23
|
method: OvulationCalculatorType;
|
|
@@ -24,5 +25,5 @@ export type OvulationInfoType = {
|
|
|
24
25
|
cycle: number;
|
|
25
26
|
periodLength: number;
|
|
26
27
|
};
|
|
27
|
-
export declare const OvulationCardEmbed: ({ onSubmitOvulation, locale, ovulationPageInfo, ovulationContent,
|
|
28
|
+
export declare const OvulationCardEmbed: ({ onSubmitOvulation, locale, ovulationPageInfo, ovulationContent, isSide, }: Props) => JSX.Element;
|
|
28
29
|
export {};
|
|
@@ -14,5 +14,6 @@ export type Props = {
|
|
|
14
14
|
onClick?: (type: string, cycleValue?: number) => void;
|
|
15
15
|
inputErrorMessage?: InputError;
|
|
16
16
|
isMobile?: boolean;
|
|
17
|
+
isSide?: boolean;
|
|
17
18
|
};
|
|
18
|
-
export declare const PWGCardEmbed: ({ locale, onClick, inputErrorMessage, pwgContent, onFormChange, info, isMobile, }: Props) => JSX.Element;
|
|
19
|
+
export declare const PWGCardEmbed: ({ locale, onClick, inputErrorMessage, pwgContent, onFormChange, info, isMobile, isSide, }: Props) => JSX.Element;
|
|
@@ -9,6 +9,7 @@ export declare enum OvulationCalculatorType {
|
|
|
9
9
|
export type Props = {
|
|
10
10
|
locale?: LocaleType;
|
|
11
11
|
onSubmitOvulation?: (info: OvulationInfoType) => void;
|
|
12
|
+
isSide?: boolean;
|
|
12
13
|
};
|
|
13
|
-
declare const OvulationCalculator: ({ locale, onSubmitOvulation }: Props) => JSX.Element;
|
|
14
|
+
declare const OvulationCalculator: ({ locale, onSubmitOvulation, isSide }: Props) => JSX.Element;
|
|
14
15
|
export { OvulationCalculator };
|
|
@@ -7,6 +7,7 @@ type Props = {
|
|
|
7
7
|
cycle: number;
|
|
8
8
|
periodLength: number;
|
|
9
9
|
}) => void;
|
|
10
|
+
isSide?: boolean;
|
|
10
11
|
};
|
|
11
|
-
declare const OvulationForm: ({ locale, onSubmit }: Props) => JSX.Element;
|
|
12
|
+
declare const OvulationForm: ({ locale, onSubmit, isSide }: Props) => JSX.Element;
|
|
12
13
|
export { OvulationForm };
|
|
@@ -8,7 +8,7 @@ export type Props = {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
isMobile?: boolean;
|
|
10
10
|
icon?: JSX.Element;
|
|
11
|
-
|
|
11
|
+
isSide?: boolean;
|
|
12
12
|
};
|
|
13
|
-
declare const ToolsBannerCard: ({ className, heading, isMobile, bannerUrl, bannerUrlLarge, medicalReview, icon, style, }: Props) => JSX.Element;
|
|
13
|
+
declare const ToolsBannerCard: ({ className, heading, isMobile, bannerUrl, bannerUrlLarge, medicalReview, icon, isSide, style, }: Props) => JSX.Element;
|
|
14
14
|
export { ToolsBannerCard };
|
|
@@ -9,7 +9,6 @@ export declare const StyledHeading: import("styled-components").StyledComponent<
|
|
|
9
9
|
export declare const StyledIllustrator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export declare const StyledChart: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
11
|
export declare const StyledShareSocial: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
-
export declare const StyledSignUp: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
12
|
export declare const StyledTab: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
13
|
export declare const StyledTabContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
14
|
export declare const StyledButtonGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -8,7 +8,7 @@ export type Props = {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
reviewedBy?: OvulationInfo['reviewedBy'];
|
|
10
10
|
reviewedDate?: OvulationInfo['reviewedDate'];
|
|
11
|
-
|
|
11
|
+
isSide?: boolean;
|
|
12
12
|
isAmp?: boolean;
|
|
13
13
|
};
|
|
14
14
|
type OvulationContent = {
|
|
@@ -20,5 +20,5 @@ type OvulationContent = {
|
|
|
20
20
|
reviewed_by?: ReviewedUserApi;
|
|
21
21
|
reviewed_date: string;
|
|
22
22
|
};
|
|
23
|
-
declare const HealthToolHeroBanner: ({ backgroundDesktopSrc, backgroundMobileSrc, title, className,
|
|
23
|
+
declare const HealthToolHeroBanner: ({ backgroundDesktopSrc, backgroundMobileSrc, title, className, isSide, isAmp, ovulationContent, }: Props) => JSX.Element;
|
|
24
24
|
export { HealthToolHeroBanner };
|
|
@@ -4,10 +4,9 @@ export type Props = {
|
|
|
4
4
|
title: string;
|
|
5
5
|
backgroundSrc: string;
|
|
6
6
|
className?: string;
|
|
7
|
-
isMobile?: boolean;
|
|
8
7
|
reviewedSection?: ReactNode;
|
|
9
|
-
isEmbed?: boolean;
|
|
10
8
|
isAmp?: boolean;
|
|
9
|
+
isSide?: boolean;
|
|
11
10
|
};
|
|
12
|
-
declare const HeroBanner: ({ src, title, backgroundSrc, className, reviewedSection, isAmp, }: Props) => JSX.Element;
|
|
11
|
+
declare const HeroBanner: ({ src, title, backgroundSrc, className, reviewedSection, isAmp, isSide, }: Props) => JSX.Element;
|
|
13
12
|
export { HeroBanner };
|
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-d0b10781.js"),r=require("./index-58a865b2.js"),o=require("./index-87446aae.js"),t=require("./index-3b32ee06.js"),a=require("./index-3430df2d.js"),i=require("./index-2336acea.js"),s=require("./index-881a797a.js"),n=require("./index.styled-255effb2.js"),d=require("./index-5c5b6326.js"),p=require("./index.styled-af412198.js");require("react"),require("./tslib.es6-e6f346c4.js"),require("./screenSizeContext-78ac9057.js"),require("styled-components"),require("vanilla-lazyload"),require("lodash"),require("./theme-696d81a9.js"),require("react-id-generator"),require("keen-slider/react"),require("./gAssets.js"),require("./index-d28c27ca.js"),require("./isProduction-32e6a55a.js"),require("react-range"),require("date-fns"),require("./Locale-11b51016.js"),require("@mantine/core"),require("./translationsContext-2d7ea471.js"),require("string-format"),require("lodash/debounce"),require("./useTranslations-60d001df.js"),require("./en-PH-bc11cfc2.js"),require("./useHealthToolCache-ae750aac.js"),require("./getDynamicHealthTool-1d292d71.js"),require("./core-97cd306c.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("./getSocialList-19da0f19.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("./cookieHelper-612b90fa.js"),require("slugify"),require("react-day-picker/DayPickerInput"),require("react-dom"),require("smoothscroll-polyfill"),require("./types-2b3bdf79.js"),require("./constants-ca5ea110.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.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Footer=e.Footer,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,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.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.ToolsBannerCard=e.ToolsBannerCard,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Dropdown=r.Dropdown,exports.Popup=r.Popup,exports.Button=o.Button,exports.Divider=t.Divider,exports.DatePicker=a.DatePicker,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.Slider=a.Slider,exports.SurveyQuestionCard=a.SurveyQuestionCard,exports.UserProfileNavigation=a.UserProfileNavigation,exports.UserProfileNavigationHeader=a.NavHeader,exports.UserProfileNavigationStats=a.UserStats,exports.getNavMenuContent=a.getNavMenuContent,exports.getNavMenuContentWithCache=a.getNavMenuContentWithCache,exports.Heading=i.Heading,exports.Input=s.Input,exports.Container=n.Container,exports.Label=n.Label,exports.Logo=n.Logo,exports.Menu=n.Menu,exports.PureInput=n.PureInput,exports.Text=n.Text,exports.TextArea=n.TextArea,exports.TextDivider=n.TextDivider,exports.Icon=d.Icon,exports.Modal=d.Modal,exports.NewBabyProfileRadio=d.NewBabyProfileRadio,exports.RadioImageGroup=d.RadioImageGroup,exports.Drawer=p.Drawer;
|
package/build/esm/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as Alert,
|
|
1
|
+
export{A as Alert,u as AmpNextPage,e as ArticleCard,B as Badge,a as BorderHeading,f as Breadcrumbs,k as Carousel,g as CategoryCard,C as Checkbox,h as CheckboxGroup,q as CookieAcceptConfirm,v as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,p as FloatButtonGroup,y as Footer,G as Grid,I as IconText,O as OvulationCardEmbed,t as PWGCardEmbed,P as Pagination,d as Progress,i as ProgressBar,R as RateStars,r as SeoHead,S as Shadow,w as ShareContainer,x as ShareDrawer,j as SideMenu,l as StatisticCard,o as SurveyThankyouCard,m as Table,n as Tabs,T as Tag,b as Toggle,s as ToolsBannerCard,U as UnderlinedLink,c as Uploader}from"./index-ab040301.js";export{A as Avatar,D as Dropdown,P as Popup}from"./index-b8fa74ac.js";export{B as Button}from"./index-1013d3f5.js";export{D as Divider}from"./index-e62b5d9c.js";export{D as DatePicker,c as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,e as MobileBottomNavigationIcon,j as NavigationLogoutPopup,k as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,R as Radio,a as RadioGroup,b as ScrollList,S as Slider,d as SurveyQuestionCard,U as UserProfileNavigation,h as UserProfileNavigationHeader,i as UserProfileNavigationStats,g as getNavMenuContent,f as getNavMenuContentWithCache}from"./index-463a8401.js";export{H as Heading}from"./index-2e2fc9a7.js";export{I as Input}from"./index-df0ab41e.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-0ef0a0dd.js";export{I as Icon,M as Modal,N as NewBabyProfileRadio,R as RadioImageGroup}from"./index-454fe8ff.js";export{D as Drawer}from"./index.styled-5f98744d.js";import"react";import"./tslib.es6-dcf36680.js";import"./screenSizeContext-f2090394.js";import"styled-components";import"vanilla-lazyload";import"lodash";import"./theme-a50a1aa5.js";import"react-id-generator";import"keen-slider/react";import"./gAssets.js";import"./index-9dd60ba6.js";import"./isProduction-6fc0946c.js";import"react-range";import"date-fns";import"./Locale-69030fff.js";import"@mantine/core";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./useTranslations-3e47eecc.js";import"./en-PH-71017453.js";import"./useHealthToolCache-74a46d69.js";import"./getDynamicHealthTool-831ea86d.js";import"./core-3b861395.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"./getSocialList-e91ed860.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"./cookieHelper-0e8521c3.js";import"slugify";import"react-day-picker/DayPickerInput";import"react-dom";import"smoothscroll-polyfill";import"./types-f57c9932.js";import"./constants-a0a981fa.js";import"./useScrollbarSize-99db33e1.js";
|