@hhgtech/hhg-components 1.19.0-beta-3 → 1.19.0-beta-5
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/assets/svg/index.d.ts +5 -9
- package/build/cache/core.d.ts +7 -0
- package/build/cache/index.d.ts +1 -0
- package/build/cache.js +2 -0
- package/build/cache.js.map +1 -0
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +2 -1
- package/build/care.js +1 -1
- package/build/components/atoms/flag/icons/cambodia.d.ts +2 -2
- package/build/components/atoms/flag/icons/india.d.ts +2 -2
- package/build/components/atoms/flag/icons/indonesia.d.ts +5 -3
- package/build/components/atoms/flag/icons/philippines.d.ts +2 -2
- package/build/components/atoms/flag/index.d.ts +2 -1
- package/build/components/atoms/index.d.ts +6 -3
- package/build/components/atoms/input/index.d.ts +4 -12
- package/build/components/atoms/pureInput/index.d.ts +1 -0
- package/build/components/atoms/text/index.d.ts +4 -1
- package/build/components/molecules/articleCard/index.d.ts +2 -1
- package/build/components/molecules/dateRangePicker/calendar/index.d.ts +9 -0
- package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -0
- package/build/components/molecules/dateRangePicker/index.d.ts +13 -0
- package/build/components/molecules/dateRangePicker/index.styled.d.ts +2 -0
- package/build/components/molecules/dateRangePicker/types.d.ts +4 -0
- package/build/components/molecules/dateRangePicker/utils.d.ts +2 -0
- package/build/components/molecules/index.d.ts +18 -8
- package/build/components/organisms/index.d.ts +1 -1
- package/build/components/organisms/navigationLayout/navigationBar/index.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/components/organisms/navigationV2/index.d.ts +2 -0
- package/build/components.js +1 -1
- package/build/cookieHelper-40ab50eb.js +2 -0
- package/build/cookieHelper-40ab50eb.js.map +1 -0
- package/build/core-8fcc56eb.js +2 -0
- package/build/core-8fcc56eb.js.map +1 -0
- package/build/core.d.ts +1 -0
- package/build/core.js +1 -1
- package/build/esm/assets/svg/index.d.ts +5 -9
- package/build/esm/cache/core.d.ts +7 -0
- package/build/esm/cache/index.d.ts +1 -0
- package/build/esm/cache.js +2 -0
- package/build/esm/cache.js.map +1 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +2 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/flag/icons/cambodia.d.ts +2 -2
- package/build/esm/components/atoms/flag/icons/india.d.ts +2 -2
- package/build/esm/components/atoms/flag/icons/indonesia.d.ts +5 -3
- package/build/esm/components/atoms/flag/icons/philippines.d.ts +2 -2
- package/build/esm/components/atoms/flag/index.d.ts +2 -1
- package/build/esm/components/atoms/index.d.ts +6 -3
- package/build/esm/components/atoms/input/index.d.ts +4 -12
- package/build/esm/components/atoms/pureInput/index.d.ts +1 -0
- package/build/esm/components/atoms/text/index.d.ts +4 -1
- package/build/esm/components/molecules/articleCard/index.d.ts +2 -1
- package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +9 -0
- package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -0
- package/build/esm/components/molecules/dateRangePicker/index.d.ts +13 -0
- package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/dateRangePicker/types.d.ts +4 -0
- package/build/esm/components/molecules/dateRangePicker/utils.d.ts +2 -0
- package/build/esm/components/molecules/index.d.ts +18 -8
- package/build/esm/components/organisms/index.d.ts +1 -1
- package/build/esm/components/organisms/navigationLayout/navigationBar/index.d.ts +1 -1
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/esm/components/organisms/navigationV2/index.d.ts +2 -0
- package/build/esm/components.js +1 -1
- package/build/esm/cookieHelper-caf76f93.js +2 -0
- package/build/esm/cookieHelper-caf76f93.js.map +1 -0
- package/build/esm/core-3d8a3f90.js +2 -0
- package/build/esm/core-3d8a3f90.js.map +1 -0
- package/build/esm/core.d.ts +1 -0
- package/build/esm/core.js +1 -1
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +3 -4
- package/build/esm/hooks/useFbDataLayer.d.ts +2 -0
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-2e9c7339.js → index-0348b56b.js} +2 -2
- package/build/esm/{index-2e9c7339.js.map → index-0348b56b.js.map} +1 -1
- package/build/esm/index-680f53de.js +2 -0
- package/build/esm/index-680f53de.js.map +1 -0
- package/build/esm/index-dda5ff2a.js +2 -0
- package/build/esm/index-dda5ff2a.js.map +1 -0
- package/build/esm/{index-e3983194.js → index-f799fba8.js} +2 -2
- package/build/esm/{index-e3983194.js.map → index-f799fba8.js.map} +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-64f8f6e8.js +2 -0
- package/build/esm/index.styled-64f8f6e8.js.map +1 -0
- package/build/esm/misc/utils.d.ts +11 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-b0b4655d.js +2 -0
- package/build/esm/{translationsContext-977d7bc4.js.map → translationsContext-b0b4655d.js.map} +1 -1
- package/build/esm/translationsProvider-a15863c9.js +2 -0
- package/build/esm/{translationsProvider-94e1d5d1.js.map → translationsProvider-a15863c9.js.map} +1 -1
- package/build/esm/types-26f12b26.js +2 -0
- package/build/esm/types-26f12b26.js.map +1 -0
- package/build/esm/{types-f59e54c0.js → types-5c8ce743.js} +2 -2
- package/build/esm/{types-f59e54c0.js.map → types-5c8ce743.js.map} +1 -1
- package/build/esm/useFbDataLayer-58443cc1.js +2 -0
- package/build/esm/useFbDataLayer-58443cc1.js.map +1 -0
- package/build/esm/useOutsideClick-6004483a.js +2 -0
- package/build/esm/useOutsideClick-6004483a.js.map +1 -0
- package/build/esm/useTranslations-0c13f2cb.js +2 -0
- package/build/esm/useTranslations-0c13f2cb.js.map +1 -0
- package/build/hooks/useCSSFocusPopupHelper.d.ts +3 -4
- package/build/hooks/useFbDataLayer.d.ts +2 -0
- package/build/i18n.js +1 -1
- package/build/index-4fa610b1.js +2 -0
- package/build/index-4fa610b1.js.map +1 -0
- package/build/index-5b032a36.js +2 -0
- package/build/index-5b032a36.js.map +1 -0
- package/build/{index-1db4ad2d.js → index-8b1e9d3e.js} +2 -2
- package/build/{index-1db4ad2d.js.map → index-8b1e9d3e.js.map} +1 -1
- package/build/{index-467d1dc9.js → index-eed59e93.js} +2 -2
- package/build/{index-467d1dc9.js.map → index-eed59e93.js.map} +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-89837cca.js +2 -0
- package/build/index.styled-89837cca.js.map +1 -0
- package/build/misc/utils.d.ts +11 -1
- package/build/navigation.js +1 -1
- package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/translationsContext-351bc1a7.js +2 -0
- package/build/{translationsContext-63e3e5ec.js.map → translationsContext-351bc1a7.js.map} +1 -1
- package/build/translationsProvider-eb4d9fd6.js +2 -0
- package/build/{translationsProvider-4f6e12c9.js.map → translationsProvider-eb4d9fd6.js.map} +1 -1
- package/build/{types-9741aa58.js → types-5985800a.js} +2 -2
- package/build/{types-9741aa58.js.map → types-5985800a.js.map} +1 -1
- package/build/types-df74aec0.js +2 -0
- package/build/types-df74aec0.js.map +1 -0
- package/build/useFbDataLayer-508d5450.js +2 -0
- package/build/useFbDataLayer-508d5450.js.map +1 -0
- package/build/useOutsideClick-528bfd6c.js +2 -0
- package/build/useOutsideClick-528bfd6c.js.map +1 -0
- package/build/useTranslations-29326df5.js +2 -0
- package/build/useTranslations-29326df5.js.map +1 -0
- package/package.json +22 -53
- package/build/cookieHelper-dda8dbe1.js +0 -2
- package/build/cookieHelper-dda8dbe1.js.map +0 -1
- package/build/esm/cookieHelper-6f220950.js +0 -2
- package/build/esm/cookieHelper-6f220950.js.map +0 -1
- package/build/esm/index-19ea8cf0.js +0 -2
- package/build/esm/index-19ea8cf0.js.map +0 -1
- package/build/esm/index-d055a48d.js +0 -2
- package/build/esm/index-d055a48d.js.map +0 -1
- package/build/esm/index.styled-1585c8b9.js +0 -2
- package/build/esm/index.styled-1585c8b9.js.map +0 -1
- package/build/esm/translationsContext-977d7bc4.js +0 -2
- package/build/esm/translationsProvider-94e1d5d1.js +0 -2
- package/build/esm/types-4a772485.js +0 -2
- package/build/esm/types-4a772485.js.map +0 -1
- package/build/esm/types-9b8cf2f7.js +0 -2
- package/build/esm/types-9b8cf2f7.js.map +0 -1
- package/build/esm/useTranslations-824bc4ba.js +0 -2
- package/build/esm/useTranslations-824bc4ba.js.map +0 -1
- package/build/index-23709986.js +0 -2
- package/build/index-23709986.js.map +0 -1
- package/build/index-c75ec8f5.js +0 -2
- package/build/index-c75ec8f5.js.map +0 -1
- package/build/index.styled-86510d9f.js +0 -2
- package/build/index.styled-86510d9f.js.map +0 -1
- package/build/translationsContext-63e3e5ec.js +0 -2
- package/build/translationsProvider-4f6e12c9.js +0 -2
- package/build/types-105cb1d7.js +0 -2
- package/build/types-105cb1d7.js.map +0 -1
- package/build/types-521f641a.js +0 -2
- package/build/types-521f641a.js.map +0 -1
- package/build/useTranslations-0aa60f65.js +0 -2
- package/build/useTranslations-0aa60f65.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import ArrowDoorIcon from './arrowDoor.svg';
|
|
2
|
-
import BgItem from './bg-carditem.svg';
|
|
3
2
|
import Check from './check.svg';
|
|
4
3
|
import ChevronDown from './chevronDown.svg';
|
|
5
4
|
import chevronRight from './chevronRight.svg';
|
|
@@ -9,14 +8,13 @@ import ChevronUpBlue from './chevronUpBlue.svg';
|
|
|
9
8
|
import CloseLightIcon from './closeLight.svg';
|
|
10
9
|
import CloseWhiteIcon from './closeWhite.svg';
|
|
11
10
|
import CommunityIcon from './community.svg';
|
|
12
|
-
import DiscoverIcon from './discover.
|
|
11
|
+
import DiscoverIcon from './discover.png';
|
|
13
12
|
import FacebookIcon from './facebook.svg';
|
|
14
13
|
import HamburgerMenuIcon from './hamburgerMenu.svg';
|
|
15
14
|
import HamburgerMenuIconNew from './hamburgerMenuNew.svg';
|
|
16
15
|
import HamburgerMenuIconNewWithSearch from './hamburgerMenuNewWithSearch.svg';
|
|
17
|
-
import HealthToolsIcon from './healthTools.
|
|
18
|
-
import HelloCareIcon from './helloCare-thumbnail.
|
|
19
|
-
import HelloTogetherIcon from './helloTogether-service-icon.svg';
|
|
16
|
+
import HealthToolsIcon from './healthTools.png';
|
|
17
|
+
import HelloCareIcon from './helloCare-thumbnail.png';
|
|
20
18
|
import InfoLightIcon from './info-light.svg';
|
|
21
19
|
import InstagramIcon from './instagram.svg';
|
|
22
20
|
import LinkedInIcon from './linkedin.svg';
|
|
@@ -27,9 +25,7 @@ import SpotlightIcon from './Spotlight.svg';
|
|
|
27
25
|
import StarEmptyIcon from './StarEmptyIcon';
|
|
28
26
|
import StarFullIcon from './StarFullIcon';
|
|
29
27
|
import StarHalfIcon from './StarHalfIcon';
|
|
30
|
-
import TogetherIcon from './together.
|
|
31
|
-
import TwitterIcon from './twitter.svg';
|
|
32
|
-
import UserIcon from './userIcon.svg';
|
|
28
|
+
import TogetherIcon from './together.png';
|
|
33
29
|
import YoutubeIcon from './youtube.svg';
|
|
34
30
|
import ZaloIcon from './zalo.png';
|
|
35
|
-
export { StarEmptyIcon, StarFullIcon, StarHalfIcon, FacebookIcon, InstagramIcon, LinkedInIcon,
|
|
31
|
+
export { StarEmptyIcon, StarFullIcon, StarHalfIcon, FacebookIcon, InstagramIcon, LinkedInIcon, ZaloIcon, YoutubeIcon, CloseLightIcon, DiscoverIcon, HealthToolsIcon, HelloCareIcon, HamburgerMenuIcon, HamburgerMenuIconNew, SehatBadge, CloseWhiteIcon, InfoLightIcon, ChevronDown, ChevronUpBlue, Check, TogetherIcon, LockIcon, ChevronRightWhiteIcon, chevronRightActive, chevronRight, ArrowDoorIcon, LoginIcon, HamburgerMenuIconNewWithSearch, CommunityIcon, SpotlightIcon, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare type CacheItem<T = any> = {
|
|
2
|
+
data: T;
|
|
3
|
+
time: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const getCachedItem: <T>(key: string) => CacheItem<T>;
|
|
6
|
+
export declare const setCachedItem: (key: string, value: any) => void;
|
|
7
|
+
export declare const getDataWithCache: <T>(key: string, dataGetter?: () => T | Promise<T>, validator?: (data: T) => boolean, cacheTime?: number) => Promise<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './core';
|
package/build/cache.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-8fcc56eb.js");require("./tslib.es6-f7929e76.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
|
|
2
|
+
//# sourceMappingURL=cache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -3,5 +3,5 @@ export declare const StyledSearchBarWrapper: import("styled-components").StyledC
|
|
|
3
3
|
export declare const StyledSearchBarMobileWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const StyledSearchBarMobileModalHeader: import("styled-components").StyledComponent<"section", any, {}, never>;
|
|
5
5
|
export declare const StyledHiddenInputMobile: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
6
|
-
export declare const StyledInput: import("styled-components").StyledComponent<({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label,
|
|
6
|
+
export declare const StyledInput: import("styled-components").StyledComponent<({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, className, onChange, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, enterKeyHint, ...rest }: import("../../../../components/atoms/input").Props) => JSX.Element, any, {}, never>;
|
|
7
7
|
export declare const CareSearchGlobalStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -3,4 +3,4 @@ export declare const StyledTopBar: import("styled-components").StyledComponent<"
|
|
|
3
3
|
export declare const StyledTopBarHeaderRight: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const StyledTopBarIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const StyledTopbarHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const StyledTopbarHeadingText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
|
|
6
|
+
export declare const StyledTopbarHeadingText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
|
|
@@ -8,4 +8,4 @@ export declare const StyledItemsWrapper: import("styled-components").StyledCompo
|
|
|
8
8
|
isShown?: boolean;
|
|
9
9
|
isMore?: boolean;
|
|
10
10
|
}, never>;
|
|
11
|
-
export declare const StyledSeeMore: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: import("../../../../../components/atoms/text").Props) => JSX.Element, any, {}, never>;
|
|
11
|
+
export declare const StyledSeeMore: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: import("../../../../../components/atoms/text").Props) => JSX.Element, any, {}, never>;
|
package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const StyledResult: import("styled-components").StyledComponent<"
|
|
|
4
4
|
export declare const StyledRoundedIconWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
5
5
|
type: SearchBarSectionApi['type'];
|
|
6
6
|
}, never>;
|
|
7
|
-
export declare const StyledText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
|
|
7
|
+
export declare const StyledText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
|
|
8
8
|
export declare const StyledPictureWrapper: import("styled-components").StyledComponent<"figure", any, {}, never>;
|
|
9
9
|
export declare const StyledLocationPin: import("styled-components").StyledComponent<"svg", any, {}, never>;
|
|
10
10
|
export declare const StyledImageSkeletonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -14,5 +14,6 @@ export declare type Props = {
|
|
|
14
14
|
renderSearchResults: () => React.ReactNode;
|
|
15
15
|
trackingAttributes?: GATrackingCode;
|
|
16
16
|
onSearch?: (info: SearchClick) => void;
|
|
17
|
+
initalSearchValue?: string;
|
|
17
18
|
};
|
|
18
|
-
export declare function SearchInputs({ isMobile, state, dispatch, debouncedFetchCitiesByKeyword, debouncedFetchSearchResults, focusLocationInput, focusSearchInput, renderLocationResults, renderSearchResults, trackingAttributes, onSearch, }: Props): JSX.Element;
|
|
19
|
+
export declare function SearchInputs({ isMobile, state, dispatch, debouncedFetchCitiesByKeyword, debouncedFetchSearchResults, focusLocationInput, focusSearchInput, renderLocationResults, renderSearchResults, trackingAttributes, onSearch, initalSearchValue, }: Props): JSX.Element;
|
package/build/care.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-df74aec0.js"),r=require("./constants-ea7b35a2.js");require("./tslib.es6-f7929e76.js"),require("react"),require("./theme-79e84625.js"),require("./cookieHelper-40ab50eb.js"),require("styled-components"),require("./useTranslations-29326df5.js"),require("./translationsContext-351bc1a7.js"),require("lodash/debounce"),require("react-range"),require("react-loading-skeleton"),require("react-id-generator"),require("lodash/shuffle"),require("./useOutsideClick-528bfd6c.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.CareTypes=e.types,exports.CareConstants=r.constants;
|
|
2
2
|
//# sourceMappingURL=care.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type Props =
|
|
1
|
+
import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
|
|
2
|
+
export declare type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
3
3
|
export declare const CambodiaRoundIcon: (props: Props) => JSX.Element;
|
|
4
4
|
export declare const CambodiaSquareIcon: (props: Props) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type Props =
|
|
1
|
+
import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
|
|
2
|
+
export declare type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
3
3
|
export declare const IndiaRoundIcon: (props: Props) => JSX.Element;
|
|
4
4
|
export declare const IndiaSquareIcon: (props: Props) => JSX.Element;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
-
export declare type Props = SVGProps<SVGSVGElement
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare type Props = SVGProps<SVGSVGElement> & {
|
|
3
|
+
isTesting?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const IndonesiaRoundIcon: ({ isTesting, ...rest }: Props) => JSX.Element;
|
|
6
|
+
export declare const IndonesiaSquareIcon: ({ isTesting, ...rest }: Props) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type Props =
|
|
1
|
+
import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
|
|
2
|
+
export declare type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
3
3
|
export declare const PhilippinesRoundIcon: (props: Props) => JSX.Element;
|
|
4
4
|
export declare const PhilippinesSquareIcon: (props: Props) => JSX.Element;
|
|
@@ -7,6 +7,7 @@ declare type Props = {
|
|
|
7
7
|
width: number;
|
|
8
8
|
height: number;
|
|
9
9
|
rounded?: boolean;
|
|
10
|
+
isTesting?: boolean;
|
|
10
11
|
};
|
|
11
|
-
declare const Flag: ({ country, language, rounded, height, width }: Props) => JSX.Element;
|
|
12
|
+
declare const Flag: ({ country, language, rounded, height, width, isTesting, }: Props) => JSX.Element;
|
|
12
13
|
export { Flag };
|
|
@@ -5,7 +5,8 @@ export { BorderHeading } from './borderHeading';
|
|
|
5
5
|
export { Button } from './button';
|
|
6
6
|
export { Divider } from './divider';
|
|
7
7
|
export { FileDropdown } from './fileDropdown';
|
|
8
|
-
export { Flag
|
|
8
|
+
export { Flag } from './flag';
|
|
9
|
+
export type { FlagCountryType } from './flag';
|
|
9
10
|
export { Grid } from './grid';
|
|
10
11
|
export { Heading } from './heading';
|
|
11
12
|
export { Input } from './input';
|
|
@@ -17,7 +18,8 @@ export { Radio } from './radio';
|
|
|
17
18
|
export { Shadow } from './shadow';
|
|
18
19
|
export { Slider } from './slider';
|
|
19
20
|
export { Tag } from './tag';
|
|
20
|
-
export { Text
|
|
21
|
+
export { Text } from './text';
|
|
22
|
+
export type { TextSize, TextType } from './text';
|
|
21
23
|
export { Toggle } from './toggle';
|
|
22
24
|
export { UnderlinedLink } from './underlinedLink';
|
|
23
25
|
export { Uploader } from './uploader';
|
|
@@ -26,5 +28,6 @@ export { Container } from './container';
|
|
|
26
28
|
export { Checkbox } from './checkbox';
|
|
27
29
|
export { TextDivider } from './textDivider';
|
|
28
30
|
export { RateStars } from './rateStars';
|
|
29
|
-
export { Icon
|
|
31
|
+
export { Icon } from './icons';
|
|
32
|
+
export type { IconProps } from './icons';
|
|
30
33
|
export { Progress } from './progress';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
import { GATrackingCode } from 'care/components/organisms/bookingSearchBar/types';
|
|
3
|
-
import { CSSProperties } from 'styled-components';
|
|
4
3
|
export declare type Props = {
|
|
5
4
|
value: string;
|
|
6
5
|
name: string;
|
|
7
6
|
size: 'lg' | 'md' | 'sm';
|
|
7
|
+
readOnly?: boolean;
|
|
8
8
|
isNumerousKeyboard?: boolean;
|
|
9
9
|
autoComplete?: 'on' | 'off';
|
|
10
10
|
errorMessage?: string;
|
|
@@ -12,21 +12,13 @@ export declare type Props = {
|
|
|
12
12
|
onActionClick?: () => void;
|
|
13
13
|
displayIcon?: JSX.Element;
|
|
14
14
|
label?: string | JSX.Element;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
className?: string;
|
|
17
15
|
onChange?: (v: string) => void;
|
|
18
|
-
onKeyPress?: (e: React.KeyboardEvent) => void;
|
|
19
|
-
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
20
|
-
onFocus?: (e: React.FocusEvent) => void;
|
|
21
|
-
onBlur?: (e: React.FocusEvent) => void;
|
|
22
16
|
isDisabled?: boolean;
|
|
23
17
|
CustomInput?: JSX.Element;
|
|
24
|
-
style?: CSSProperties;
|
|
25
18
|
type?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | 'number';
|
|
26
19
|
inputClassName?: string;
|
|
27
20
|
trackingAttributes?: GATrackingCode;
|
|
28
|
-
readOnly?: boolean;
|
|
29
21
|
enterKeyHint?: React.InputHTMLAttributes<HTMLInputElement>['enterKeyHint'];
|
|
30
|
-
}
|
|
31
|
-
declare const Input: ({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label,
|
|
22
|
+
} & Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'name' | 'value'>;
|
|
23
|
+
declare const Input: ({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, className, onChange, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, enterKeyHint, ...rest }: Props) => JSX.Element;
|
|
32
24
|
export { Input };
|
|
@@ -14,6 +14,7 @@ export declare type CustomInputProps = {
|
|
|
14
14
|
type?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | 'number';
|
|
15
15
|
isNumerousKeyboard?: boolean;
|
|
16
16
|
enterKeyHint?: React.InputHTMLAttributes<HTMLInputElement>['enterKeyHint'];
|
|
17
|
+
nativeOnChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
17
18
|
};
|
|
18
19
|
export declare type Props = Omit<React.DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'size' | 'autoComplete' | 'type' | 'onChange' | 'enterKeyHint'> & CustomInputProps;
|
|
19
20
|
declare const PureInput: React.ForwardRefExoticComponent<Pick<Props, "accept" | "alt" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "pattern" | "key" | "placeholder" | "readOnly" | "required" | "src" | "step" | "value" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof CustomInputProps> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -24,6 +24,9 @@ export declare type Props = {
|
|
|
24
24
|
* upcase
|
|
25
25
|
*/
|
|
26
26
|
isUppercase?: boolean;
|
|
27
|
+
dangerouslySetInnerHTML?: {
|
|
28
|
+
__html: string;
|
|
29
|
+
};
|
|
27
30
|
};
|
|
28
|
-
declare const Text: ({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: Props) => JSX.Element;
|
|
31
|
+
declare const Text: ({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: Props) => JSX.Element;
|
|
29
32
|
export { Text };
|
|
@@ -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 };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateRangeInterval } from '../types';
|
|
3
|
+
export declare type Props = {
|
|
4
|
+
value?: DateRangeInterval | null;
|
|
5
|
+
onChange: (value: DateRangeInterval | null) => void;
|
|
6
|
+
minDate?: Date;
|
|
7
|
+
maxDate?: Date;
|
|
8
|
+
};
|
|
9
|
+
export declare function DateRangePickerCalendar(props: Props): JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const StyledCalendarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const StyledCalendarCellsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledCalendarHead: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const StyledCalendarGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const StyledCalendarDaysOfWeek: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const StyledCalendarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const StyledCalendarDayLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const StyledCalendarMonthSeparator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const StyledCalendarDaysWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
export declare const StyledCalendarMonthWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const StyledCalendarDateGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const StyledCalendarDayNumberWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const StyledCalendarDayNumber: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Props as PureInputProps } from 'src/components/atoms/pureInput';
|
|
3
|
+
import { DateRangeInterval } from './types';
|
|
4
|
+
export declare type DateRangePickerProps = {
|
|
5
|
+
value: DateRangeInterval | null;
|
|
6
|
+
onChange: (value: DateRangeInterval | null) => void;
|
|
7
|
+
inputSize?: PureInputProps['size'];
|
|
8
|
+
name?: string;
|
|
9
|
+
minDate?: Date;
|
|
10
|
+
maxDate?: Date;
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function DateRangePicker({ inputSize, name, value, minDate, maxDate, onChange, className, }: DateRangePickerProps): JSX.Element;
|
|
@@ -3,12 +3,14 @@ export { Breadcrumbs } from './breadcrumbs';
|
|
|
3
3
|
export { CategoryCard } from './categoryCard';
|
|
4
4
|
export { CheckboxGroup } from './checkboxGroup';
|
|
5
5
|
export { DatePicker } from './datePicker';
|
|
6
|
-
export { Dropdown
|
|
6
|
+
export { Dropdown } from './dropdown';
|
|
7
|
+
export type { Option as DropdownOption } from './dropdown';
|
|
7
8
|
export { IconText } from './iconText';
|
|
8
9
|
export { Popup } from './popup';
|
|
9
10
|
export { Modal } from './modal';
|
|
10
11
|
export { ProgressBar } from './progressBar';
|
|
11
|
-
export { RadioGroup
|
|
12
|
+
export { RadioGroup } from './radioGroup';
|
|
13
|
+
export type { RadioGroupOption } from './radioGroup';
|
|
12
14
|
export * as SideMenu from './sidemenu';
|
|
13
15
|
export { ScrollList } from './scrollList';
|
|
14
16
|
export { Carousel } from './carousel';
|
|
@@ -17,10 +19,18 @@ export * as Table from './table';
|
|
|
17
19
|
export { Tabs } from './tabs';
|
|
18
20
|
export { DoctorInfo } from './doctorInfo';
|
|
19
21
|
export { SurveyQuestionCard, SurveyThankyouCard } from './surveyQuestionCard';
|
|
20
|
-
export { FloatButtonGroup
|
|
22
|
+
export { FloatButtonGroup } from './floatButtonGroup';
|
|
23
|
+
export type { FloatButtonGroupType } from './floatButtonGroup';
|
|
21
24
|
export { CookieAcceptConfirm } from './cookieAcceptConfirm';
|
|
22
|
-
export { MobileBottomNavigation
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
25
|
+
export { MobileBottomNavigation } from './mobileBottomNavigation';
|
|
26
|
+
export type { MobileBottomNavigationProps } from './mobileBottomNavigation';
|
|
27
|
+
export { MobileBottomNavigationIcon } from './mobileBottomNavigation/MobileBottomNavigationIcon';
|
|
28
|
+
export type { MobileBottomNavigationIconProps } from './mobileBottomNavigation/MobileBottomNavigationIcon';
|
|
29
|
+
export { SeoHead } from './seoHead';
|
|
30
|
+
export type { SEOData as SeoHeadSEOData, Props as SeoHeadProps, } from './seoHead';
|
|
31
|
+
export { LanguageSwitcher } from './languageSwitcher';
|
|
32
|
+
export type { Props as LanguageSwitcherProps } from './languageSwitcher';
|
|
33
|
+
export { AmpNextPage } from './ampNextPage';
|
|
34
|
+
export type { Props as AmpNextPageProps } from './ampNextPage';
|
|
35
|
+
export { DateRangePicker, DateRangePickerProps } from './dateRangePicker/';
|
|
36
|
+
export type { DateRangeInterval } from './dateRangePicker/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { NavigationLayout } from './navigationLayout/languageWrapper';
|
|
2
|
-
export { NavigationV2, Props as NavigationV2Props, getNavMenuContent, NavMenuContentType, } from './navigationV2';
|
|
2
|
+
export { NavigationV2, Props as NavigationV2Props, getNavMenuContent, getNavMenuContentWithCache, NavMenuContentType, } from './navigationV2';
|
|
3
3
|
export { Layout } from './navigationLayout/layout';
|
|
4
4
|
export { SiteWide } from './navigationLayout/siteWide';
|
|
5
5
|
export { NavigationBar } from './navigationLayout/navigationBar';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './NavigationBar.types';
|
|
3
|
-
export { Props } from './NavigationBar.types';
|
|
3
|
+
export type { Props } from './NavigationBar.types';
|
|
4
4
|
export declare const useHeaderHeightHook: ({ hasSponsoredBanners, isSiteWide, isSponsored, isShowingSiteWideBanner, isMobile, }: {
|
|
5
5
|
hasSponsoredBanners?: boolean;
|
|
6
6
|
isSiteWide?: boolean;
|
|
@@ -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,7 +52,9 @@ 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>;
|
|
59
|
+
export declare const getNavMenuContentWithCache: (locale?: string) => Promise<NavMenuContentType>;
|
|
58
60
|
export { NavigationV2 };
|
package/build/components.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-5b032a36.js"),r=require("./index.styled-89837cca.js"),o=require("./index-eed59e93.js"),t=require("./index-4fa610b1.js"),a=require("./cookieHelper-40ab50eb.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("./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("react-loading-skeleton"),require("./translationsProvider-eb4d9fd6.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),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.DateRangePicker=e.DateRangePicker,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
|