@hhgtech/hhg-components 1.21.0-beta-5 → 1.21.0-beta-6
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 +4 -1
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +1 -3
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +1 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +2 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +1 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +2 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +1 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +1 -3
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +2 -3
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +1 -3
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +1 -3
- package/build/components.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{index-189f272b.js → index-d3b34d55.js} +1 -1
- package/build/esm/{index-b50ebfb0.js → index-f56f7491.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ba8d723d.js → index.styled-169c15a3.js} +1 -1
- package/build/esm/{index.styled-77f732ff.js → index.styled-1980b2f2.js} +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-64519714.js → types-9f351c4a.js} +1 -1
- package/build/{index-735d23d3.js → index-70d4d246.js} +1 -1
- package/build/{index-0b344a69.js → index-c4bf43c2.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-f6bbf854.js → index.styled-f655bbed.js} +1 -1
- package/build/{index.styled-4a735e4e.js → index.styled-f78f9da1.js} +1 -1
- package/build/navigation.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-1988c0ac.js → types-49d8d717.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import ArrowDoorIcon from './arrowDoor.svg';
|
|
2
2
|
import ArrowRightGray from './arrowRightGray.svg';
|
|
3
|
+
import CategoriesMBIcon from './categories-mb.svg';
|
|
3
4
|
import Check from './check.svg';
|
|
4
5
|
import ChevronDown from './chevronDown.svg';
|
|
5
6
|
import chevronRight from './chevronRight.svg';
|
|
@@ -9,12 +10,14 @@ import ChevronRightWhiteIcon from './chevronRightWhite.svg';
|
|
|
9
10
|
import ChevronUpBlue from './chevronUpBlue.svg';
|
|
10
11
|
import CloseLightIcon from './closeLight.svg';
|
|
11
12
|
import CloseWhiteIcon from './closeWhite.svg';
|
|
13
|
+
import CommunityMBIcon from './community-mb.svg';
|
|
12
14
|
import CommunityIcon from './community.svg';
|
|
13
15
|
import DiscoverIcon from './discover.png';
|
|
14
16
|
import FacebookIcon from './facebook.svg';
|
|
15
17
|
import HamburgerMenuIcon from './hamburgerMenu.svg';
|
|
16
18
|
import HamburgerMenuIconNew from './hamburgerMenuNew.svg';
|
|
17
19
|
import HamburgerMenuIconNewWithSearch from './hamburgerMenuNewWithSearch.svg';
|
|
20
|
+
import HealthToolsMBIcon from './healthtools-mb.svg';
|
|
18
21
|
import HealthToolsIcon from './healthTools.png';
|
|
19
22
|
import HelloCareIcon from './helloCare-thumbnail.png';
|
|
20
23
|
import InfoLightIcon from './info-light.svg';
|
|
@@ -30,4 +33,4 @@ import StarHalfIcon from './StarHalfIcon';
|
|
|
30
33
|
import TogetherIcon from './together.png';
|
|
31
34
|
import YoutubeIcon from './youtube.svg';
|
|
32
35
|
import ZaloIcon from './zalo.png';
|
|
33
|
-
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, chevronRightPink, ArrowRightGray, };
|
|
36
|
+
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, chevronRightPink, ArrowRightGray, CategoriesMBIcon, HealthToolsMBIcon, CommunityMBIcon, };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from 'src/interfaces/types';
|
|
3
2
|
export declare type Props = {
|
|
4
3
|
hrefViewMore?: string;
|
|
5
|
-
siteType?: SiteType;
|
|
6
4
|
titleBtnViewMore?: string;
|
|
7
5
|
UrlFE?: string;
|
|
8
6
|
onClosePopup?: () => void;
|
|
@@ -14,5 +12,5 @@ export declare type Props = {
|
|
|
14
12
|
}[];
|
|
15
13
|
headingTitle?: string;
|
|
16
14
|
};
|
|
17
|
-
declare const Categories: ({ hrefViewMore,
|
|
15
|
+
declare const Categories: ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, }: Props) => JSX.Element;
|
|
18
16
|
export { Categories };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from 'src/interfaces/types';
|
|
3
2
|
export declare type dataType = {
|
|
4
3
|
link: string;
|
|
5
4
|
nameViewMore: string;
|
|
@@ -11,7 +10,6 @@ export declare type Props = {
|
|
|
11
10
|
viewMore?: string;
|
|
12
11
|
link?: string;
|
|
13
12
|
dataEventAction?: string;
|
|
14
|
-
siteType?: SiteType;
|
|
15
13
|
};
|
|
16
|
-
declare const Spotlights: ({ title, viewMore, children, link, dataEventAction,
|
|
14
|
+
declare const Spotlights: ({ title, viewMore, children, link, dataEventAction, }: Props) => JSX.Element;
|
|
17
15
|
export { Spotlights };
|
package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Hospital } from 'src/care/interfaces/types';
|
|
3
|
-
import {
|
|
3
|
+
import { Specialty } from '../../../types';
|
|
4
4
|
export declare type Props = {
|
|
5
5
|
careSpecialties: Specialty[];
|
|
6
6
|
spotlights: Hospital[];
|
|
7
7
|
onClose?: () => void;
|
|
8
8
|
isOpen?: boolean;
|
|
9
|
-
siteType: SiteType;
|
|
10
9
|
};
|
|
11
|
-
declare const MenuCareList: ({ careSpecialties, isOpen, onClose,
|
|
10
|
+
declare const MenuCareList: ({ careSpecialties, isOpen, onClose, spotlights, }: Props) => JSX.Element;
|
|
12
11
|
export { MenuCareList };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from 'src/interfaces/types';
|
|
3
2
|
import { SpotlightSummary } from '../../../types';
|
|
4
3
|
export declare type Props = {
|
|
5
4
|
spotlightsList: SpotlightSummary[];
|
|
6
5
|
hrefViewMore?: string;
|
|
7
|
-
siteType?: SiteType;
|
|
8
6
|
};
|
|
9
|
-
declare const CategorySpotlights: ({ spotlightsList, hrefViewMore
|
|
7
|
+
declare const CategorySpotlights: ({ spotlightsList, hrefViewMore }: Props) => JSX.Element;
|
|
10
8
|
export { CategorySpotlights };
|
package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Category,
|
|
2
|
+
import { Category, SpotlightSummary } from '../../../types';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
categories: Category[];
|
|
5
5
|
onClose?: () => void;
|
|
6
6
|
isOpen?: boolean;
|
|
7
|
-
siteType: SiteType;
|
|
8
7
|
spotlightsList: SpotlightSummary[];
|
|
9
8
|
};
|
|
10
|
-
declare const MenuCategoriesList: ({ categories, spotlightsList, onClose, isOpen,
|
|
9
|
+
declare const MenuCategoriesList: ({ categories, spotlightsList, onClose, isOpen, }: Props) => JSX.Element;
|
|
11
10
|
export { MenuCategoriesList };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from 'src/interfaces/types';
|
|
3
2
|
import { Post } from 'src/together/interfaces/types';
|
|
4
3
|
export declare type Props = {
|
|
5
4
|
spotlights: Post[];
|
|
6
|
-
siteType?: SiteType;
|
|
7
5
|
};
|
|
8
|
-
declare const CommunitySpotlights: ({ spotlights
|
|
6
|
+
declare const CommunitySpotlights: ({ spotlights }: Props) => JSX.Element;
|
|
9
7
|
export { CommunitySpotlights };
|
package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Community, Post } from 'src/together/interfaces/types';
|
|
3
|
-
import { SiteType } from '../../../types';
|
|
4
3
|
export declare type Props = {
|
|
5
4
|
communities: Community[];
|
|
6
5
|
spotlights: Post[];
|
|
7
6
|
onClose?: () => void;
|
|
8
|
-
siteType: SiteType;
|
|
9
7
|
isOpen?: boolean;
|
|
10
8
|
};
|
|
11
|
-
declare const MenuCommunitiesList: ({ communities, onClose,
|
|
9
|
+
declare const MenuCommunitiesList: ({ communities, onClose, isOpen, spotlights, }: Props) => JSX.Element;
|
|
12
10
|
export { MenuCommunitiesList };
|
package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { LocaleType } from 'interfaces/types';
|
|
3
|
-
import { HealthTool
|
|
3
|
+
import { HealthTool } from '../../../types';
|
|
4
4
|
export declare type Props = {
|
|
5
5
|
healthTools?: HealthTool[];
|
|
6
6
|
spotlightHealthTools?: HealthTool[];
|
|
7
7
|
onClose?: () => void;
|
|
8
8
|
isOpen?: boolean;
|
|
9
9
|
locale: LocaleType;
|
|
10
|
-
siteType: SiteType;
|
|
11
10
|
};
|
|
12
|
-
declare const MenuHealthToolsList: ({ locale, onClose, isOpen,
|
|
11
|
+
declare const MenuHealthToolsList: ({ locale, onClose, isOpen, spotlightHealthTools, healthTools, }: Props) => JSX.Element;
|
|
13
12
|
export { MenuHealthToolsList };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from 'src/interfaces/types';
|
|
3
2
|
import { HealthTool } from '../../../types';
|
|
4
3
|
export declare type Props = {
|
|
5
4
|
spotlightHealthTools?: HealthTool[];
|
|
6
5
|
hrefViewMore?: string;
|
|
7
|
-
siteType?: SiteType;
|
|
8
6
|
};
|
|
9
|
-
declare const ToolSpotlights: ({
|
|
7
|
+
declare const ToolSpotlights: ({ hrefViewMore, spotlightHealthTools }: Props) => JSX.Element;
|
|
10
8
|
export { ToolSpotlights };
|
package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from 'src/interfaces/types';
|
|
3
2
|
export declare type Props = {
|
|
4
3
|
title?: string;
|
|
5
4
|
description?: string;
|
|
6
5
|
cta?: string;
|
|
7
6
|
link?: string;
|
|
8
7
|
icon?: string;
|
|
9
|
-
siteType?: SiteType;
|
|
10
8
|
};
|
|
11
|
-
declare const SpotlightNoData: ({ title, link, description, cta, icon
|
|
9
|
+
declare const SpotlightNoData: ({ title, link, description, cta, icon }: Props) => JSX.Element;
|
|
12
10
|
export { SpotlightNoData };
|
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-c4bf43c2.js"),r=require("./index.styled-f78f9da1.js"),o=require("./index.styled-d1d9e4d3.js"),t=require("./index.styled-f655bbed.js"),a=require("./index-70d4d246.js"),i=require("./constants-2bc629e6.js"),s=require("./index.styled-1f1d46b9.js"),n=require("./index-c13dadfa.js");require("react"),require("./tslib.es6-f7929e76.js"),require("./useTranslations-e724fe88.js"),require("styled-components"),require("./translationsContext-1968f8ef.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("./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-20e81149.js"),require("./cookieHelper-612b90fa.js"),require("smoothscroll-polyfill"),require("./routing-551dcd55.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("slugify"),require("./core-8fcc56eb.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.DoctorInfo=r.DoctorInfo,exports.MobileBottomNavigation=r.MobileBottomNavigation,exports.MobileBottomNavigationIcon=r.MobileBottomNavigationIcon,exports.Popup=r.Popup,exports.Radio=r.Radio,exports.RadioGroup=r.RadioGroup,exports.ScrollList=r.ScrollList,exports.SurveyQuestionCard=r.SurveyQuestionCard,exports.defaultTranslation=r.defaultTranslation,exports.Button=o.Button,exports.Drawer=o.Drawer,exports.Heading=o.Heading,exports.Divider=t.Divider,exports.Dropdown=t.Dropdown,exports.Flag=a.Flag,exports.LanguageSwitcher=a.LanguageSwitcher,exports.NavigationLogoutPopup=a.NavigationLogoutPopup,exports.NavigationProfileButton=a.NavigationProfileButton,exports.NavigationV2=a.NavigationV2,exports.ProfilePopup=a.ProfilePopup,exports.UserProfileNavigation=a.UserProfileNavigation,exports.UserProfileNavigationHeader=a.NavHeader,exports.UserProfileNavigationStats=a.UserStats,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;
|
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-d3b34d55.js";export{A as Avatar,D as DoctorInfo,M as MobileBottomNavigation,c as MobileBottomNavigationIcon,P as Popup,R as Radio,a as RadioGroup,S as ScrollList,b as SurveyQuestionCard,d as defaultTranslation}from"./index.styled-1980b2f2.js";export{B as Button,D as Drawer,H as Heading}from"./index.styled-fe88e285.js";export{D as Divider,a as Dropdown}from"./index.styled-169c15a3.js";export{F as Flag,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-f56f7491.js";export{I as Input}from"./constants-ce3040d6.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-fd2b61d7.js";export{I as Icon,M as Modal,R as RadioImageGroup}from"./index-9ebddd0b.js";import"react";import"./tslib.es6-6ae0d506.js";import"./useTranslations-0b650088.js";import"styled-components";import"./translationsContext-78f42743.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"./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-f1cbf200.js";import"./cookieHelper-0e8521c3.js";import"smoothscroll-polyfill";import"./routing-085dd063.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"slugify";import"./core-286f158c.js";import"./useScrollbarSize-99db33e1.js";
|